FMS V14 Uyeno Web App Security Report 2023-01-31 17-23-33

Generated with ZAP on Tue 31 Jan 2023, at 17:23:33

Contents

About this report

Report description

This is a Zap Security Report

Report parameters

Contexts

No contexts were selected, so all contexts were included by default.

Sites

The following sites were included:

  • https://optimizationguide-pa.googleapis.com
  • https://maps.gstatic.com
  • https://fonts.gstatic.com
  • https://maps.googleapis.com
  • https://fmsv14apitest.infotracktelematics.com:5001
  • https://content-autofill.googleapis.com
  • https://accounts.google.com
  • https://cdnjs.cloudflare.com
  • https://location.services.mozilla.com
  • https://shavar.services.mozilla.com
  • https://fonts.googleapis.com
  • https://firefox.settings.services.mozilla.com
  • https://uyenotest.infotracktelematics.com

(If no sites were selected, all sites were included by default.)

An included site must also be within one of the included contexts for its data to be included in the report.

Risk levels

Included: High, Medium, Low, Informational

Excluded: None

Confidence levels

Included: User Confirmed, High, Medium, Low, False Positive

Excluded: None

Summaries

Alert counts by risk and confidence

This table shows the number of alerts for each level of risk and confidence included in the report.

(The percentages in brackets represent the count as a percentage of the total number of alerts included in the report, rounded to one decimal place.)

Confidence
User Confirmed High Medium Low False Positive Total
Risk High 0
(0.0%)
0
(0.0%)
0
(0.0%)
0
(0.0%)
0
(0.0%)
0
(0.0%)
Medium 0
(0.0%)
1
(6.7%)
3
(20.0%)
0
(0.0%)
0
(0.0%)
4
(26.7%)
Low 0
(0.0%)
2
(13.3%)
2
(13.3%)
1
(6.7%)
0
(0.0%)
5
(33.3%)
Informational 0
(0.0%)
1
(6.7%)
3
(20.0%)
2
(13.3%)
0
(0.0%)
6
(40.0%)
Total 0
(0.0%)
4
(26.7%)
8
(53.3%)
3
(20.0%)
0
(0.0%)
15
(100%)

Alert counts by site and risk

This table shows, for each site for which one or more alerts were raised, the number of alerts raised at each risk level.

Alerts with a confidence level of "False Positive" have been excluded from these counts.

(The numbers in brackets are the number of alerts raised for the site at or above that risk level.)

Risk
High
(= High)
Medium
(>= Medium)
Low
(>= Low)
Informational
(>= Informational)
Site https://maps.googleapis.com 0
(0)
0
(0)
0
(0)
1
(1)
https://fmsv14apitest.infotracktelematics.com:5001 0
(0)
0
(0)
1
(1)
1
(2)
https://shavar.services.mozilla.com 0
(0)
0
(0)
1
(1)
0
(1)
https://firefox.settings.services.mozilla.com 0
(0)
1
(1)
0
(1)
1
(2)
https://uyenotest.infotracktelematics.com 0
(0)
3
(3)
3
(6)
3
(9)

Alert counts by alert type

This table shows the number of alerts of each alert type, together with the alert type's risk level.

(The percentages in brackets represent each count as a percentage, rounded to one decimal place, of the total number of alerts included in this report.)

Alert type Risk Count
Content Security Policy (CSP) Header Not Set Medium 6
(40.0%)
Cross-Domain Misconfiguration Medium 36
(240.0%)
Missing Anti-clickjacking Header Medium 6
(40.0%)
Vulnerable JS Library Medium 1
(6.7%)
Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) Low 26
(173.3%)
Server Leaks Version Information via "Server" HTTP Response Header Field Low 7
(46.7%)
Strict-Transport-Security Header Not Set Low 77
(513.3%)
Timestamp Disclosure - Unix Low 65
(433.3%)
X-Content-Type-Options Header Missing Low 44
(293.3%)
Information Disclosure - Sensitive Information in URL Informational 15
(100.0%)
Information Disclosure - Suspicious Comments Informational 32
(213.3%)
Modern Web Application Informational 3
(20.0%)
Re-examine Cache-control Directives Informational 32
(213.3%)
Retrieved from Cache Informational 50
(333.3%)
Username Hash Found Informational 2
(13.3%)
Total 15

Alerts

  1. Risk=Medium, Confidence=High (1)

    1. https://uyenotest.infotracktelematics.com (1)

      1. Content Security Policy (CSP) Header Not Set (1)
        1. GET https://uyenotest.infotracktelematics.com/login-test
          Alert tags
          Alert description

          Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site defacement or distribution of malware. CSP provides a set of standard HTTP headers that allow website owners to declare approved sources of content that browsers should be allowed to load on that page — covered types are JavaScript, CSS, HTML frames, fonts, images and embeddable objects such as Java applets, ActiveX, audio and video files.

          Request
          Request line and header section (480 bytes)
          GET https://uyenotest.infotracktelematics.com/login-test HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Upgrade-Insecure-Requests: 1
          Sec-Fetch-Dest: document
          Sec-Fetch-Mode: navigate
          Sec-Fetch-Site: none
          Sec-Fetch-User: ?1
          
          
          Request body (0 bytes)
          Response
          Status line and header section (239 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: text/html
          Content-Length: 3352
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-d18"
          Accept-Ranges: bytes
          
          
          Response body (3352 bytes)
          <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./assets/logo_mc.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Fleet Management System"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><title>FMS</title><link href="/static/css/2.14f01493.chunk.css" rel="stylesheet"><link href="/static/css/main.1a2dea67.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"fe722aaa",4:"e0fdadd1",5:"876bc555"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this.webpackJsonpclient=this.webpackJsonpclient||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.43b88232.chunk.js"></script><script src="/static/js/main.4d38df23.chunk.js"></script></body></html>
          Solution

          Ensure that your web server, application server, load balancer, etc. is configured to set the Content-Security-Policy header, to achieve optimal browser support: "Content-Security-Policy" for Chrome 25+, Firefox 23+ and Safari 7+, "X-Content-Security-Policy" for Firefox 4.0+ and Internet Explorer 10+, and "X-WebKit-CSP" for Chrome 14+ and Safari 6+.

  2. Risk=Medium, Confidence=Medium (3)

    1. https://firefox.settings.services.mozilla.com (1)

      1. Cross-Domain Misconfiguration (1)
        1. GET https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?collection=query-stripping&bucket=main&_expected=0
          Alert tags
          Alert description

          Web browser data loading may be possible, due to a Cross Origin Resource Sharing (CORS) misconfiguration on the web server

          Other info

          The CORS misconfiguration on the web server permits cross-domain read requests from arbitrary third party domains, using unauthenticated APIs on this domain. Web browser implementations do not permit arbitrary third parties to read the response from authenticated APIs, however. This reduces the risk somewhat. This misconfiguration could be used by an attacker to access data that is available in an unauthenticated manner, but which uses some other form of security, such as IP address white-listing.

          Request
          Request line and header section (447 bytes)
          GET https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?collection=query-stripping&bucket=main&_expected=0 HTTP/1.1
          Host: firefox.settings.services.mozilla.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: */*
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Sec-Fetch-Dest: empty
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: cross-site
          
          
          Request body (0 bytes)
          Response
          Status line and header section (522 bytes)
          HTTP/1.1 200 OK
          Access-Control-Allow-Origin: *
          Access-Control-Expose-Headers: Content-Length, Retry-After, Backoff, Content-Type, Alert
          Content-Security-Policy: default-src 'none'; frame-ancestors 'none'; base-uri 'none';
          Strict-Transport-Security: max-age=31536000
          X-Content-Type-Options: nosniff
          Content-Length: 223
          Via: 1.1 google
          Date: Tue, 31 Jan 2023 09:20:41 GMT
          Last-Modified: Tue, 31 Jan 2023 08:57:13 GMT
          Content-Type: application/json
          Age: 3287
          Cache-Control: max-age=3600,public
          Alt-Svc: clear
          
          
          Response body (223 bytes)
          {"metadata":{},"timestamp":1675155433200,"changes":[{"id":"651e8969-24fa-eb4a-aa3d-d64b894cbe9a","last_modified":1667238122278,"bucket":"main","collection":"query-stripping","host":"firefox.settings.services.mozilla.com"}]}
          Evidence
          Access-Control-Allow-Origin: *
          Solution

          Ensure that sensitive data is not available in an unauthenticated manner (using IP address white-listing, for instance).

          Configure the "Access-Control-Allow-Origin" HTTP header to a more restrictive set of domains, or remove all CORS headers entirely, to allow the web browser to enforce the Same Origin Policy (SOP) in a more restrictive manner.

    2. https://uyenotest.infotracktelematics.com (2)

      1. Missing Anti-clickjacking Header (1)
        1. GET https://uyenotest.infotracktelematics.com/login-test
          Alert tags
          Alert description

          The response does not include either Content-Security-Policy with 'frame-ancestors' directive or X-Frame-Options to protect against 'ClickJacking' attacks.

          Request
          Request line and header section (480 bytes)
          GET https://uyenotest.infotracktelematics.com/login-test HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Upgrade-Insecure-Requests: 1
          Sec-Fetch-Dest: document
          Sec-Fetch-Mode: navigate
          Sec-Fetch-Site: none
          Sec-Fetch-User: ?1
          
          
          Request body (0 bytes)
          Response
          Status line and header section (239 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: text/html
          Content-Length: 3352
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-d18"
          Accept-Ranges: bytes
          
          
          Response body (3352 bytes)
          <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./assets/logo_mc.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Fleet Management System"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><title>FMS</title><link href="/static/css/2.14f01493.chunk.css" rel="stylesheet"><link href="/static/css/main.1a2dea67.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"fe722aaa",4:"e0fdadd1",5:"876bc555"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this.webpackJsonpclient=this.webpackJsonpclient||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.43b88232.chunk.js"></script><script src="/static/js/main.4d38df23.chunk.js"></script></body></html>
          Parameter
          X-Frame-Options
          Solution

          Modern Web browsers support the Content-Security-Policy and X-Frame-Options HTTP headers. Ensure one of them is set on all web pages returned by your site/app.

          If you expect the page to be framed only by pages on your server (e.g. it's part of a FRAMESET) then you'll want to use SAMEORIGIN, otherwise if you never expect the page to be framed, you should use DENY. Alternatively consider implementing Content Security Policy's "frame-ancestors" directive.

      2. Vulnerable JS Library (1)
        1. GET https://uyenotest.infotracktelematics.com/static/js/2.43b88232.chunk.js
          Alert tags
          Alert description

          The identified library moment.js, version 2.29.1 is vulnerable.

          Other info

          CVE-2022-31129

          CVE-2022-24785

          Request
          Request line and header section (434 bytes)
          GET https://uyenotest.infotracktelematics.com/static/js/2.43b88232.chunk.js HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: */*
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Referer: https://uyenotest.infotracktelematics.com/login-test
          Sec-Fetch-Dest: script
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: same-origin
          
          
          Request body (0 bytes)
          Response
          Status line and header section (258 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: application/javascript
          Content-Length: 5719486
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-5745be"
          Accept-Ranges: bytes
          
          
          Response body (5719486 bytes)
          /*! For license information please see 2.43b88232.chunk.js.LICENSE.txt */
          (this.webpackJsonpclient=this.webpackJsonpclient||[]).push([[2],[function(t,e,r){"use strict";t.exports=r(928)},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(506);var i=r(277),o=r(507);function a(t,e){return Object(n.a)(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(1);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},function(t,e,r){(function(t){t.exports=function(){"use strict";var e,r;function n(){return e.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var r,n=[];for(r=0;r<t.length;++r)n.push(e(t[r],r));return n}function h(t,e){for(var r in e)a(e,r)&&(t[r]=e[r]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,r,n){return Se(t,e,r,n,!0).utc()}function p(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=p(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function b(t){var e=d(NaN);return null!=t?h(p(e),t):p(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,r=Object(this),n=r.length>>>0;for(e=0;e<n;e++)if(e in r&&t.call(this,r[e],e,r))return!0;return!1};var v=n.momentProperties=[],g=!1;function y(t,e){var r,n,i;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=p(e)),c(e._locale)||(t._locale=e._locale),v.length>0)for(r=0;r<v.length;r++)c(i=e[n=v[r]])||(t[n]=i);return t}function w(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,n.updateOffset(this),g=!1)}function x(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function O(t){!1===n.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function _(t,e){var r=!0;return h((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,t),r){var i,o,s,c=[];for(o=0;o<arguments.length;o++){if(i="","object"===typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];c.push(i)}O(t+"\nArguments: "+Array.prototype.slice.call(c).join("")+"\n"+(new Error).stack),r=!1}return e.apply(this,arguments)}),e)}var S,k={};function E(t,e){null!=n.deprecationHandler&&n.deprecationHandler(t,e),k[t]||(O(e),k[t]=!0)}function M(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,e){var r,n=h({},t);for(r in e)a(e,r)&&(o(t[r])&&o(e[r])?(n[r]={},h(n[r],t[r]),h(n[r],e[r])):null!=e[r]?n[r]=e[r]:delete n[r]);for(r in t)a(t,r)&&!a(e,r)&&o(t[r])&&(n[r]=h({},n[r]));return n}function j(t){null!=t&&this.set(t)}function A(t,e,r){var n=""+Math.abs(t),i=e-n.length;return(t>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,r=[];for(e in t)a(t,e)&&r.push(e);return r};var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},R={};function L(t,e,r,n){var i=n;"string"===typeof n&&(i=function(){return this[n]()}),t&&(R[t]=i),e&&(R[e[0]]=function(){return A(i.apply(this,arguments),e[1],e[2])}),r&&(R[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function I(t,e){return t.isValid()?(e=N(e,t.localeData()),D[e]=D[e]||function(t){var e,r,n,i=t.match(T);for(e=0,r=i.length;e<r;e++)R[i[e]]?i[e]=R[i[e]]:i[e]=(n=i[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,o="";for(n=0;n<r;n++)o+=M(i[n])?i[n].call(e,t):i[n];return o}}(e),D[e](t)):t.localeData().invalidDate()}function N(t,e){var r=5;function n(t){return e.longDateFormat(t)||t}for(P.lastIndex=0;r>=0&&P.test(t);)t=t.replace(P,n),P.lastIndex=0,r-=1;return t}var F={};function B(t,e){var r=t.toLowerCase();F[r]=F[r+"s"]=F[e]=t}function z(t){return"string"===typeof t?F[t]||F[t.toLowerCase()]:void 0}function H(t){var e,r,n={};for(r in t)a(t,r)&&(e=z(r))&&(n[e]=t[r]);return n}var U={};function W(t,e){U[t]=e}function q(t){return t%4===0&&t%100!==0||t%400===0}function V(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function G(t){var e=+t,r=0;return 0!==e&&isFinite(e)&&(r=V(e)),r}function Y(t,e){return function(r){return null!=r?($(this,t,r),n.updateOffset(this,e),this):X(this,t)}}function X(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function $(t,e,r){t.isValid()&&!isNaN(r)&&("FullYear"===e&&q(t.year())&&1===t.month()&&29===t.date()?(r=G(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),xt(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}var K,Z=/\d/,J=/\d\d/,Q=/\d{3}/,tt=/\d{4}/,et=/[+-]?\d{6}/,rt=/\d\d?/,nt=/\d\d\d\d?/,it=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,at=/\d{1,4}/,st=/[+-]?\d{1,6}/,ct=/\d+/,ut=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,ft=/Z|[+-]\d\d(?::?\d\d)?/gi,ht=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function dt(t,e,r){K[t]=M(e)?e:function(t,n){return t&&r?r:e}}function pt(t,e){return a(K,t)?K[t](e._strict,e._locale):new RegExp(mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,r,n,i){return e||r||n||i}))))}function mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var bt,vt={};function gt(t,e){var r,n=e;for("string"===typeof t&&(t=[t]),u(e)&&(n=function(t,r){r[e]=G(t)}),r=0;r<t.length;r++)vt[t[r]]=n}function yt(t,e){gt(t,(function(t,r,n,i){n._w=n._w||{},e(t,n._w,n,i)}))}function wt(t,e,r){null!=e&&a(vt,t)&&vt[t](e,r._a,r,t)}function xt(t,e){if(isNaN(t)||isNaN(e))return NaN;var r,n=(e%(r=12)+r)%r;return t+=(e-n)/12,1===n?q(t)?29:28:31-n%7%2}bt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},L("M",["MM",2],"Mo",(function(){return this.month()+1})),L("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),L("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),B("month","M"),W("month",8),dt("M",rt),dt("MM",rt,J),dt("MMM",(function(t,e){return e.monthsShortRegex(t)})),dt("MMMM",(function(t,e){return e.monthsRegex(t)})),gt(["M","MM"],(function(t,e){e[1]=G(t)-1})),gt(["MMM","MMMM"],(function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);null!=i?e[1]=i:p(r).invalidMonth=t}));var Ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),_t="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),St=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=ht,Et=ht;function Mt(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===e?-1!==(i=bt.call(this._shortMonthsParse,a))?i:null:-1!==(i=bt.call(this._longMonthsParse,a))?i:null:"MMM"===e?-1!==(i=bt.call(this._shortMonthsParse,a))||-1!==(i=bt.call(this._longMonthsParse,a))?i:null:-1!==(i=bt.call(this._longMonthsParse,a))||-1!==(i=bt.call(this._shortMonthsParse,a))?i:null}function Ct(t,e){var r;if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=G(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return r=Math.min(t.date(),xt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function jt(t){return null!=t?(Ct(this,t),n.updateOffset(this,!0),this):X(this,"Month")}function At(){function t(t,e){return e.length-t.length}var e,r,n=[],i=[],o=[];for(e=0;e<12;e++)r=d([2e3,e]),n.push(this.monthsShort(r,"")),i.push(this.months(r,"")),o.push(this.months(r,"")),o.push(this.monthsShort(r,""));for(n.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)n[e]=mt(n[e]),i[e]=mt(i[e]);for(e=0;e<24;e++)o[e]=mt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Tt(t){return q(t)?366:365}L("Y",0,0,(function(){var t=this.year();return t<=9999?A(t,4):"+"+t})),L(0,["YY",2],0,(function(){return this.year()%100})),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),B("year","y"),W("year",1),dt("Y",ut),dt("YY",rt,J),dt("YYYY",at,tt),dt("YYYYY",st,et),dt("YYYYYY",st,et),gt(["YYYYY","YYYYYY"],0),gt("YYYY",(function(t,e){e[0]=2===t.length?n.parseTwoDigitYear(t):G(t)})),gt("YY",(function(t,e){e[0]=n.parseTwoDigitYear(t)})),gt("Y",(function(t,e){e[0]=parseInt(t,10)})),n.parseTwoDigitYear=function(t){return G(t)+(G(t)>68?1900:2e3)};var Pt=Y("FullYear",!0);function Dt(t,e,r,n,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,n,i,o,a),s}function Rt(t){var e,r;return t<100&&t>=0?((r=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Lt(t,e,r){var n=7+e-r;return-(7+Rt(t,0,n).getUTCDay()-e)%7+n-1}function It(t,e,r,n,i){var o,a,s=1+7*(e-1)+(7+r-n)%7+Lt(t,n,i);return s<=0?a=Tt(o=t-1)+s:s>Tt(t)?(o=t+1,a=s-Tt(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Nt(t,e,r){var n,i,o=Lt(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Ft(i=t.year()-1,e,r):a>Ft(t.year(),e,r)?(n=a-Ft(t.year(),e,r),i=t.year()+1):(i=t.year(),n=a),{week:n,year:i}}function Ft(t,e,r){var n=Lt(t,e,r),i=Lt(t+1,e,r);return(Tt(t)-n+i)/7}function Bt(t,e){return t.slice(e,7).concat(t.slice(0,e))}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),W("week",5),W("isoWeek",5),dt("w",rt),dt("ww",rt,J),dt("W",rt),dt("WW",rt,J),yt(["w","ww","W","WW"],(function(t,e,r,n){e[n.substr(0,1)]=G(t)})),L("d",0,"do","day"),L("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),L("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),L("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),dt("d",rt),dt("e",rt),dt("E",rt),dt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),dt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),dt("dddd",(function(t,e){return e.weekdaysRegex(t)})),yt(["dd","ddd","dddd"],(function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);null!=i?e.d=i:p(r).invalidWeekday=t})),yt(["d","e","E"],(function(t,e,r,n){e[n]=G(t)}));var zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ht="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ut="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wt=ht,qt=ht,Vt=ht;function Gt(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===e?-1!==(i=bt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=bt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=bt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=bt.call(this._weekdaysParse,a))||-1!==(i=bt.call(this._shortWeekdaysParse,a))||-1!==(i=bt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=bt.call(this._shortWeekdaysParse,a))||-1!==(i=bt.call(this._weekdaysParse,a))||-1!==(i=bt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=bt.call(this._minWeekdaysParse,a))||-1!==(i=bt.call(this._weekdaysParse,a))||-1!==(i=bt.call(this._shortWeekdaysParse,a))?i:null}function Yt(){function t(t,e){return e.length-t.length}var e,r,n,i,o,a=[],s=[],c=[],u=[];for(e=0;e<7;e++)r=d([2e3,1]).day(e),n=mt(this.weekdaysMin(r,"")),i=mt(this.weekdaysShort(r,"")),o=mt(this.weekdays(r,"")),a.push(n),s.push(i),c.push(o),u.push(n),u.push(i),u.push(o);a.sort(t),s.sort(t),c.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xt(){return this.hours()%12||12}function $t(t,e){L(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Kt(t,e){return e._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Xt),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+Xt.apply(this)+A(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+Xt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),$t("a",!0),$t("A",!1),B("hour","h"),W("hour",13),dt("a",Kt),dt("A",Kt),dt("H",rt),dt("h",rt),dt("k",rt),dt("HH",rt,J),dt("hh",rt,J),dt("kk",rt,J),dt("hmm",nt),dt("hmmss",it),dt("Hmm",nt),dt("Hmmss",it),gt(["H","HH"],3),gt(["k","kk"],(function(t,e,r){var n=G(t);e[3]=24===n?0:n})),gt(["a","A"],(function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t})),gt(["h","hh"],(function(t,e,r){e[3]=G(t),p(r).bigHour=!0})),gt("hmm",(function(t,e,r){var n=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n)),p(r).bigHour=!0})),gt("hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n,2)),e[5]=G(t.substr(i)),p(r).bigHour=!0})),gt("Hmm",(function(t,e,r){var n=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n))})),gt("Hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n,2)),e[5]=G(t.substr(i))}));var Zt,Jt=Y("Hours",!0),Qt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ot,monthsShort:_t,week:{dow:0,doy:6},weekdays:zt,weekdaysMin:Ut,weekdaysShort:Ht,meridiemParse:/[ap]\.?m?\.?/i},te={},ee={};function re(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function ne(t){return t?t.toLowerCase().replace("_","-"):t}function ie(e){var r=null;if(void 0===te[e]&&"undefined"!==typeof t&&t&&t.exports)try{r=Zt._abbr,function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),oe(r)}catch(n){te[e]=null}return te[e]}function oe(t,e){var r;return t&&((r=c(e)?se(t):ae(t,e))?Zt=r:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Zt._abbr}function ae(t,e){if(null!==e){var r,n=Qt;if(e.abbr=t,null!=te[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=te[t]._config;else if(null!=e.parentLocale)if(null!=te[e.parentLocale])n=te[e.parentLocale]._config;else{if(null==(r=ie(e.parentLocale)))return ee[e.parentLocale]||(ee[e.parentLocale]=[]),ee[e.parentLocale].push({name:t,config:e}),null;n=r._config}return te[t]=new j(C(n,e)),ee[t]&&ee[t].forEach((function(t){ae(t.name,t.config)})),oe(t),te[t]}return delete te[t],null}function se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Zt;if(!i(t)){if(e=ie(t))return e;t=[t]}return function(t){for(var e,r,n,i,o=0;o<t.length;){for(e=(i=ne(t[o]).split("-")).length,r=(r=ne(t[o+1]))?r.split("-"):null;e>0;){if(n=ie(i.slice(0,e).join("-")))return n;if(r&&r.length>=e&&re(i,r)>=e-1)break;e--}o++}return Zt}(t)}function ce(t){var e,r=t._a;return r&&-2===p(t).overflow&&(e=r[1]<0||r[1]>11?1:r[2]<1||r[2]>xt(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}var ue=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,le=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fe=/Z|[+-]\d\d(?::?\d\d)?/,he=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],de=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pe=/^\/?Date\((-?\d+)/i,me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ve(t){var e,r,n,i,o,a,s=t._i,c=ue.exec(s)||le.exec(s);if(c){for(p(t).iso=!0,e=0,r=he.length;e<r;e++)if(he[e][1].exec(c[1])){i=he[e][0],n=!1!==he[e][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(e=0,r=de.length;e<r;e++)if(de[e][1].exec(c[3])){o=(c[2]||" ")+de[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(c[4]){if(!fe.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),Oe(t)}else t._isValid=!1}function ge(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ye(t){var e,r=me.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){if(e=function(t,e,r,n,i,o){var a=[ge(t),_t.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}(r[4],r[3],r[2],r[5],r[6],r[7]),!function(t,e,r){return!t||Ht.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(p(r).weekdayMismatch=!0,r._isValid=!1,!1)}(r[1],e,t))return;t._a=e,t._tzm=function(t,e,r){if(t)return be[t];if(e)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}(r[8],r[9],r[10]),t._d=Rt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function we(t,e,r){return null!=t?t:null!=e?e:r}function xe(t){var e,r,i,o,a,s=[];if(!t._d){for(i=function(t){var e=new Date(n.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,r,n,i,o,a,s,c,u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,r=we(e.GG,t._a[0],Nt(ke(),1,4).year),n=we(e.W,1),((i=we(e.E,1))<1||i>7)&&(c=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,u=Nt(ke(),o,a),r=we(e.gg,t._a[0],u.year),n=we(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(c=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(c=!0)):i=o),n<1||n>Ft(r,o,a)?p(t)._overflowWeeks=!0:null!=c?p(t)._overflowWeekday=!0:(s=It(r,n,i,o,a),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=we(t._a[0],i[0]),(t._dayOfYear>Tt(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),r=Rt(a,0,t._dayOfYear),t._a[1]=r.getUTCMonth(),t._a[2]=r.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:Dt).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==o&&(p(t).weekdayMismatch=!0)}}function Oe(t){if(t._f!==n.ISO_8601)if(t._f!==n.RFC_2822){t._a=[],p(t).empty=!0;var e,r,i,o,a,s,c=""+t._i,u=c.length,l=0;for(i=N(t._f,t._locale).match(T)||[],e=0;e<i.length;e++)o=i[e],(r=(c.match(pt(o,t))||[])[0])&&((a=c.substr(0,c.indexOf(r))).length>0&&p(t).unusedInput.push(a),c=c.slice(c.indexOf(r)+r.length),l+=r.length),R[o]?(r?p(t).empty=!1:p(t).unusedTokens.push(o),wt(o,r,t)):t._strict&&!r&&p(t).unusedTokens.push(o);p(t).charsLeftOver=u-l,c.length>0&&p(t).unusedInput.push(c),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,r){var n;return null==r?e:null!=t.meridiemHour?t.meridiemHour(e,r):null!=t.isPM?((n=t.isPM(r))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=p(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),xe(t),ce(t)}else ye(t);else ve(t)}function _e(t){var e=t._i,r=t._f;return t._locale=t._locale||se(t._l),null===e||void 0===r&&""===e?b({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new w(ce(e)):(l(e)?t._d=e:i(r)?function(t){var e,r,n,i,o,a,s=!1;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,a=!1,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Oe(e),m(e)&&(a=!0),o+=p(e).charsLeftOver,o+=10*p(e).unusedTokens.length,p(e).score=o,s?o<n&&(n=o,r=e):(null==n||o<n||a)&&(n=o,r=e,a&&(s=!0));h(t,r||e)}(t):r?Oe(t):function(t){var e=t._i;c(e)?t._d=new Date(n.now()):l(e)?t._d=new Date(e.valueOf()):"string"===typeof e?function(t){var e=pe.exec(t._i);null===e?(ve(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:n.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):i(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),xe(t)):o(e)?function(t){if(!t._d){var e=H(t._i),r=void 0===e.day?e.date:e.day;t._a=f([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),xe(t)}}(t):u(e)?t._d=new Date(e):n.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function Se(t,e,r,n,a){var c={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(o(t)&&s(t)||i(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=r,c._i=t,c._f=e,c._strict=n,function(t){var e=new w(ce(_e(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}(c)}function ke(t,e,r,n){return Se(t,e,r,n,!1)}n.createFromInputFallback=_("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var Ee=_("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()})),Me=_("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:b()}));function Ce(t,e){var r,n;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return ke();for(r=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](r)||(r=e[n]);return r}var je=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ae(t){var e=H(t),r=e.year||0,n=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,u=e.minute||0,l=e.second||0,f=e.millisecond||0;this._isValid=function(t){var e,r,n=!1;for(e in t)if(a(t,e)&&(-1===bt.call(je,e)||null!=t[e]&&isNaN(t[e])))return!1;for(r=0;r<je.length;++r)if(t[je[r]]){if(n)return!1;parseFloat(t[je[r]])!==G(t[je[r]])&&(n=!0)}return!0}(e),this._milliseconds=+f+1e3*l+6e4*u+1e3*c*60*60,this._days=+s+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=se(),this._bubble()}function Te(t){return t instanceof Ae}function Pe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function De(t,e){L(t,0,0,(function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+A(~~(t/60),2)+e+A(~~t%60,2)}))}De("Z",":"),De("ZZ",""),dt("Z",ft),dt("ZZ",ft),gt(["Z","ZZ"],(function(t,e,r){r._useUTC=!0,r._tzm=Le(ft,t)}));var Re=/([\+\-]|\d\d)/gi;function Le(t,e){var r,n,i=(e||"").match(t);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(Re)||["-",0,0])[1]+G(r[2]))?0:"+"===r[0]?n:-n}function Ie(t,e){var r,i;return e._isUTC?(r=e.clone(),i=(x(t)||l(t)?t.valueOf():ke(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):ke(t).local()}function Ne(t){return-Math.round(t._d.getTimezoneOffset())}function Fe(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function He(t,e){var r,n,i,o=t,s=null;return Te(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(s=Be.exec(t))?(r="-"===s[1]?-1:1,o={y:0,d:G(s[2])*r,h:G(s[3])*r,m:G(s[4])*r,s:G(s[5])*r,ms:G(Pe(1e3*s[6]))*r}):(s=ze.exec(t))?(r="-"===s[1]?-1:1,o={y:Ue(s[2],r),M:Ue(s[3],r),w:Ue(s[4],r),d:Ue(s[5],r),h:Ue(s[6],r),m:Ue(s[7],r),s:Ue(s[8],r)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=function(t,e){var r;return t.isValid()&&e.isValid()?(e=Ie(e,t),t.isBefore(e)?r=We(t,e):((r=We(e,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}(ke(o.from),ke(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),n=new Ae(o),Te(t)&&a(t,"_locale")&&(n._locale=t._locale),Te(t)&&a(t,"_isValid")&&(n._isValid=t._isValid),n}function Ue(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function We(t,e){var r={};return r.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function qe(t,e){return function(r,n){var i;return null===n||isNaN(+n)||(E(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),Ve(this,He(r,n),t),this}}function Ve(t,e,r,i){var o=e._milliseconds,a=Pe(e._days),s=Pe(e._months);t.isValid()&&(i=null==i||i,s&&Ct(t,X(t,"Month")+s*r),a&&$(t,"Date",X(t,"Date")+a*r),o&&t._d.setTime(t._d.valueOf()+o*r),i&&n.updateOffset(t,a||s))}He.fn=Ae.prototype,He.invalid=function(){return He(NaN)};var Ge=qe(1,"add"),Ye=qe(-1,"subtract");function Xe(t){return"string"===typeof t||t instanceof String}function $e(t){return x(t)||l(t)||Xe(t)||u(t)||function(t){var e=i(t),r=!1;return e&&(r=0===t.filter((function(e){return!u(e)&&Xe(t)})).length),e&&r}(t)||function(t){var e,r,n=o(t)&&!s(t),i=!1,c=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<c.length;e+=1)r=c[e],i=i||a(t,r);return n&&i}(t)||null===t||void 0===t}function Ke(t){var e,r=o(t)&&!s(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<i.length;e+=1)n=n||a(t,i[e]);return r&&n}function Ze(t,e){if(t.date()<e.date())return-Ze(e,t);var r=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(r,"months");return-(r+(e-n<0?(e-n)/(n-t.clone().add(r-1,"months")):(e-n)/(t.clone().add(r+1,"months")-n)))||0}function Je(t){var e;return void 0===t?this._locale._abbr:(null!=(e=se(t))&&(this._locale=e),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qe=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function tr(){return this._locale}function er(t,e){return(t%e+e)%e}function rr(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-126227808e5:new Date(t,e,r).valueOf()}function nr(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-126227808e5:Date.UTC(t,e,r)}function ir(t,e){return e.erasAbbrRegex(t)}function or(){var t,e,r=[],n=[],i=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)n.push(mt(a[t].name)),r.push(mt(a[t].abbr)),i.push(mt(a[t].narrow)),o.push(mt(a[t].name)),o.push(mt(a[t].abbr)),o.push(mt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ar(t,e){L(0,[t,t.length],0,e)}function sr(t,e,r,n,i){var o;return null==t?Nt(this,n,i).year:(e>(o=Ft(t,n,i))&&(e=o),cr.call(this,t,e,r,n,i))}function cr(t,e,r,n,i){var o=It(t,e,r,n,i),a=Rt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),dt("N",ir),dt("NN",ir),dt("NNN",ir),dt("NNNN",(function(t,e){return e.erasNameRegex(t)})),dt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),gt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?p(r).era=i:p(r).invalidEra=t})),dt("y",ct),dt("yy",ct),dt("yyy",ct),dt("yyyy",ct),dt("yo",(function(t,e){return e._eraYearOrdinalRegex||ct})),gt(["y","yy","yyy","yyyy"],0),gt(["yo"],(function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[0]=r._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),dt("G",ut),dt("g",ut),dt("GG",rt,J),dt("gg",rt,J),dt("GGGG",at,tt),dt("gggg",at,tt),dt("GGGGG",st,et),dt("ggggg",st,et),yt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,r,n){e[n.substr(0,2)]=G(t)})),yt(["gg","GG"],(function(t,e,r,i){e[i]=n.parseTwoDigitYear(t)})),L("Q",0,"Qo","quarter"),B("quarter","Q"),W("quarter",7),dt("Q",Z),gt("Q",(function(t,e){e[1]=3*(G(t)-1)})),L("D",["DD",2],"Do","date"),B("date","D"),W("date",9),dt("D",rt),dt("DD",rt,J),dt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),gt(["D","DD"],2),gt("Do",(function(t,e){e[2]=G(t.match(rt)[0])}));var ur=Y("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),W("dayOfYear",4),dt("DDD",ot),dt("DDDD",Q),gt(["DDD","DDDD"],(function(t,e,r){r._dayOfYear=G(t)})),L("m",["mm",2],0,"minute"),B("minute","m"),W("minute",14),dt("m",rt),dt("mm",rt,J),gt(["m","mm"],4);var lr=Y("Minutes",!1);L("s",["ss",2],0,"second"),B("second","s"),W("second",15),dt("s",rt),dt("ss",rt,J),gt(["s","ss"],5);var fr,hr,dr=Y("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),W("millisecond",16),dt("S",ot,Z),dt("SS",ot,J),dt("SSS",ot,Q),fr="SSSS";fr.length<=9;fr+="S")dt(fr,ct);function pr(t,e){e[6]=G(1e3*("0."+t))}for(fr="S";fr.length<=9;fr+="S")gt(fr,pr);hr=Y("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var mr=w.prototype;function br(t){return t}mr.add=Ge,mr.calendar=function(t,e){1===arguments.length&&(arguments[0]?$e(arguments[0])?(t=arguments[0],e=void 0):Ke(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||ke(),i=Ie(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=e&&(M(e[o])?e[o].call(this,r):e[o]);return this.format(a||this.localeData().calendar(o,this,ke(r)))},mr.clone=function(){return new w(this)},mr.diff=function(t,e,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=Ie(t,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),e=z(e)){case"year":o=Ze(this,n)/12;break;case"month":o=Ze(this,n);break;case"quarter":o=Ze(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:V(o)},mr.endOf=function(t){var e,r;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-er(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-er(e,1e3)-1}return this._d.setTime(e),n.updateOffset(this,!0),this},mr.format=function(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var e=I(this,t);return this.localeData().postformat(e)},mr.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||ke(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mr.fromNow=function(t){return this.from(ke(),t)},mr.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||ke(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mr.toNow=function(t){return this.to(ke(),t)},mr.get=function(t){return M(this[t=z(t)])?this[t]():this},mr.invalidAt=function(){return p(this).overflow},mr.isAfter=function(t,e){var r=x(t)?t:ke(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf())},mr.isBefore=function(t,e){var r=x(t)?t:ke(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf())},mr.isBetween=function(t,e,r,n){var i=x(t)?t:ke(t),o=x(e)?e:ke(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r)))},mr.isSame=function(t,e){var r,n=x(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf()))},mr.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},mr.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},mr.isValid=function(){return m(this)},mr.lang=Qe,mr.locale=Je,mr.localeData=tr,mr.max=Me,mr.min=Ee,mr.parsingFlags=function(){return h({},p(this))},mr.set=function(t,e){if("object"===typeof t){var r,n=function(t){var e,r=[];for(e in t)a(t,e)&&r.push({unit:e,priority:U[e]});return r.sort((function(t,e){return t.priority-e.priority})),r}(t=H(t));for(r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(M(this[t=z(t)]))return this[t](e);return this},mr.startOf=function(t){var e,r;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=er(e,6e4);break;case"second":e=this._d.valueOf(),e-=er(e,1e3)}return this._d.setTime(e),n.updateOffset(this,!0),this},mr.subtract=Ye,mr.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},mr.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},mr.toDate=function(){return new Date(this.valueOf())},mr.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?I(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(r,"Z")):I(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,r,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!==typeof Symbol&&null!=Symbol.for&&(mr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),mr.toJSON=function(){return this.isValid()?this.toISOString():null},mr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mr.unix=function(){return Math.floor(this.valueOf()/1e3)},mr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mr.eraName=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].name;if(n[t].until<=r&&r<=n[t].since)return n[t].name}return""},mr.eraNarrow=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].narrow;if(n[t].until<=r&&r<=n[t].since)return n[t].narrow}return""},mr.eraAbbr=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].abbr;if(n[t].until<=r&&r<=n[t].since)return n[t].abbr}return""},mr.eraYear=function(){var t,e,r,i,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=o[t].since<=o[t].until?1:-1,i=this.clone().startOf("day").valueOf(),o[t].since<=i&&i<=o[t].until||o[t].until<=i&&i<=o[t].since)return(this.year()-n(o[t].since).year())*r+o[t].offset;return this.year()},mr.year=Pt,mr.isLeapYear=function(){return q(this.year())},mr.weekYear=function(t){return sr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mr.isoWeekYear=function(t){return sr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mr.quarter=mr.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mr.month=jt,mr.daysInMonth=function(){return xt(this.year(),this.month())},mr.week=mr.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mr.isoWeek=mr.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mr.weeksInYear=function(){var t=this.localeData()._week;return Ft(this.year(),t.dow,t.doy)},mr.weeksInWeekYear=function(){var t=this.localeData()._week;return Ft(this.weekYear(),t.dow,t.doy)},mr.isoWeeksInYear=function(){return Ft(this.year(),1,4)},mr.isoWeeksInISOWeekYear=function(){return Ft(this.isoWeekYear(),1,4)},mr.date=ur,mr.day=mr.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!==typeof t?t:isNaN(t)?"number"===typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mr.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mr.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mr.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mr.hour=mr.hours=Jt,mr.minute=mr.minutes=lr,mr.second=mr.seconds=dr,mr.millisecond=mr.milliseconds=hr,mr.utcOffset=function(t,e,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(null===(t=Le(ft,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&e&&(i=Ne(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!e||this._changeInProgress?Ve(this,He(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ne(this)},mr.utc=function(t){return this.utcOffset(0,t)},mr.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this},mr.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=Le(lt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mr.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?ke(t).utcOffset():0,(this.utcOffset()-t)%60===0)},mr.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mr.isLocal=function(){return!!this.isValid()&&!this._isUTC},mr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mr.isUtc=Fe,mr.isUTC=Fe,mr.zoneAbbr=function(){return this._isUTC?"UTC":""},mr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mr.dates=_("dates accessor is deprecated. Use date instead.",ur),mr.months=_("months accessor is deprecated. Use month instead",jt),mr.years=_("years accessor is deprecated. Use year instead",Pt),mr.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),mr.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return y(e,this),(e=_e(e))._a?(t=e._isUTC?d(e._a):ke(e._a),this._isDSTShifted=this.isValid()&&function(t,e,r){var n,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(n=0;n<i;n++)(r&&t[n]!==e[n]||!r&&G(t[n])!==G(e[n]))&&a++;return a+o}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var vr=j.prototype;function gr(t,e,r,n){var i=se(),o=d().set(n,e);return i[r](o,t)}function yr(t,e,r){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return gr(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=gr(t,n,r,"month");return i}function wr(t,e,r,n){"boolean"===typeof t?(u(e)&&(r=e,e=void 0),e=e||""):(r=e=t,t=!1,u(e)&&(r=e,e=void 0),e=e||"");var i,o=se(),a=t?o._week.dow:0,s=[];if(null!=r)return gr(e,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=gr(e,(i+a)%7,n,"day");return s}vr.calendar=function(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return M(n)?n.call(e,r):n},vr.longDateFormat=function(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(T).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},vr.invalidDate=function(){return this._invalidDate},vr.ordinal=function(t){return this._ordinal.replace("%d",t)},vr.preparse=br,vr.postformat=br,vr.relativeTime=function(t,e,r,n){var i=this._relativeTime[r];return M(i)?i(t,e,r,n):i.replace(/%d/i,t)},vr.pastFuture=function(t,e){var r=this._relativeTime[t>0?"future":"past"];return M(r)?r(e):r.replace(/%s/i,e)},vr.set=function(t){var e,r;for(r in t)a(t,r)&&(M(e=t[r])?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vr.eras=function(t,e){var r,i,o,a=this._eras||se("en")._eras;for(r=0,i=a.length;r<i;++r){switch(typeof a[r].since){case"string":o=n(a[r].since).startOf("day"),a[r].since=o.valueOf()}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":o=n(a[r].until).startOf("day").valueOf(),a[r].until=o.valueOf()}}return a},vr.erasParse=function(t,e,r){var n,i,o,a,s,c=this.eras();for(t=t.toUpperCase(),n=0,i=c.length;n<i;++n)if(o=c[n].name.toUpperCase(),a=c[n].abbr.toUpperCase(),s=c[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(a===t)return c[n];break;case"NNNN":if(o===t)return c[n];break;case"NNNNN":if(s===t)return c[n]}else if([o,a,s].indexOf(t)>=0)return c[n]},vr.erasConvertYear=function(t,e){var r=t.since<=t.until?1:-1;return void 0===e?n(t.since).year():n(t.since).year()+(e-t.offset)*r},vr.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||or.call(this),t?this._erasAbbrRegex:this._erasRegex},vr.erasNameRegex=function(t){return a(this,"_erasNameRegex")||or.call(this),t?this._erasNameRegex:this._erasRegex},vr.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||or.call(this),t?this._erasNarrowRegex:this._erasRegex},vr.months=function(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||St).test(e)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},vr.monthsShort=function(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[St.test(e)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vr.monthsParse=function(t,e,r){var n,i,o;if(this._monthsParseExact)return Mt.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=d([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(r&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}},vr.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||At.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},vr.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||At.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},vr.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},vr.firstDayOfYear=function(){return this._week.doy},vr.firstDayOfWeek=function(){return this._week.dow},vr.weekdays=function(t,e){var r=i(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Bt(r,this._week.dow):t?r[t.day()]:r},vr.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},vr.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},vr.weekdaysParse=function(t,e,r){var n,i,o;if(this._weekdaysParseExact)return Gt.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=d([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(r&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(r&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}},vr.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},vr.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vr.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vr.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},vr.meridiem=function(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===G(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=_("moment.lang is deprecated. Use moment.locale instead.",oe),n.langData=_("moment.langData is deprecated. Use moment.localeData instead.",se);var xr=Math.abs;function Or(t,e,r,n){var i=He(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function _r(t){return t<0?Math.floor(t):Math.ceil(t)}function Sr(t){return 4800*t/146097}function kr(t){return 146097*t/4800}function Er(t){return function(){return this.as(t)}}var Mr=Er("ms"),Cr=Er("s"),jr=Er("m"),Ar=Er("h"),Tr=Er("d"),Pr=Er("w"),Dr=Er("M"),Rr=Er("Q"),Lr=Er("y");function Ir(t){return function(){return this.isValid()?this._data[t]:NaN}}var Nr=Ir("milliseconds"),Fr=Ir("seconds"),Br=Ir("minutes"),zr=Ir("hours"),Hr=Ir("days"),Ur=Ir("months"),Wr=Ir("years"),qr=Math.round,Vr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gr(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}var Yr=Math.abs;function Xr(t){return(t>0)-(t<0)||+t}function $r(){if(!this.isValid())return this.localeData().invalidDate();var t,e,r,n,i,o,a,s,c=Yr(this._milliseconds)/1e3,u=Yr(this._days),l=Yr(this._months),f=this.asSeconds();return f?(t=V(c/60),e=V(t/60),c%=60,t%=60,r=V(l/12),l%=12,n=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=Xr(this._months)!==Xr(f)?"-":"",a=Xr(this._days)!==Xr(f)?"-":"",s=Xr(this._milliseconds)!==Xr(f)?"-":"",i+"P"+(r?o+r+"Y":"")+(l?o+l+"M":"")+(u?a+u+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+n+"S":"")):"P0D"}var Kr=Ae.prototype;return Kr.isValid=function(){return this._isValid},Kr.abs=function(){var t=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),t.milliseconds=xr(t.milliseconds),t.seconds=xr(t.seconds),t.minutes=xr(t.minutes),t.hours=xr(t.hours),t.months=xr(t.months),t.years=xr(t.years),this},Kr.add=function(t,e){return Or(this,t,e,1)},Kr.subtract=function(t,e){return Or(this,t,e,-1)},Kr.as=function(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if("month"===(t=z(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,r=this._months+Sr(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(kr(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Kr.asMilliseconds=Mr,Kr.asSeconds=Cr,Kr.asMinutes=jr,Kr.asHours=Ar,Kr.asDays=Tr,Kr.asWeeks=Pr,Kr.asMonths=Dr,Kr.asQuarters=Rr,Kr.asYears=Lr,Kr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Kr._bubble=function(){var t,e,r,n,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*_r(kr(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=V(o/1e3),c.seconds=t%60,e=V(t/60),c.minutes=e%60,r=V(e/60),c.hours=r%24,a+=V(r/24),i=V(Sr(a)),s+=i,a-=_r(kr(i)),n=V(s/12),s%=12,c.days=a,c.months=s,c.years=n,this},Kr.clone=function(){return He(this)},Kr.get=function(t){return t=z(t),this.isValid()?this[t+"s"]():NaN},Kr.milliseconds=Nr,Kr.seconds=Fr,Kr.minutes=Br,Kr.hours=zr,Kr.days=Hr,Kr.weeks=function(){return V(this.days()/7)},Kr.months=Ur,Kr.years=Wr,Kr.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=Vr;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(i=t),"object"===typeof e&&(o=Object.assign({},Vr,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=this.localeData(),n=function(t,e,r,n){var i=He(t).abs(),o=qr(i.as("s")),a=qr(i.as("m")),s=qr(i.as("h")),c=qr(i.as("d")),u=qr(i.as("M")),l=qr(i.as("w")),f=qr(i.as("y")),h=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||c<=1&&["d"]||c<r.d&&["dd",c];return null!=r.w&&(h=h||l<=1&&["w"]||l<r.w&&["ww",l]),(h=h||u<=1&&["M"]||u<r.M&&["MM",u]||f<=1&&["y"]||["yy",f])[2]=e,h[3]=+t>0,h[4]=n,Gr.apply(null,h)}(this,!i,o,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},Kr.toISOString=$r,Kr.toString=$r,Kr.toJSON=$r,Kr.locale=Je,Kr.localeData=tr,Kr.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$r),Kr.lang=Qe,L("X",0,0,"unix"),L("x",0,0,"valueOf"),dt("x",ut),dt("X",/[+-]?\d+(\.\d{1,3})?/),gt("X",(function(t,e,r){r._d=new Date(1e3*parseFloat(t))})),gt("x",(function(t,e,r){r._d=new Date(G(t))})),n.version="2.29.1",e=ke,n.fn=mr,n.min=function(){var t=[].slice.call(arguments,0);return Ce("isBefore",t)},n.max=function(){var t=[].slice.call(arguments,0);return Ce("isAfter",t)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=d,n.unix=function(t){return ke(1e3*t)},n.months=function(t,e){return yr(t,e,"months")},n.isDate=l,n.locale=oe,n.invalid=b,n.duration=He,n.isMoment=x,n.weekdays=function(t,e,r){return wr(t,e,r,"weekdays")},n.parseZone=function(){return ke.apply(null,arguments).parseZone()},n.localeData=se,n.isDuration=Te,n.monthsShort=function(t,e){return yr(t,e,"monthsShort")},n.weekdaysMin=function(t,e,r){return wr(t,e,r,"weekdaysMin")},n.defineLocale=ae,n.updateLocale=function(t,e){if(null!=e){var r,n,i=Qt;null!=te[t]&&null!=te[t].parentLocale?te[t].set(C(te[t]._config,e)):(null!=(n=ie(t))&&(i=n._config),e=C(i,e),null==n&&(e.abbr=t),(r=new j(e)).parentLocale=te[t],te[t]=r),oe(t)}else null!=te[t]&&(null!=te[t].parentLocale?(te[t]=te[t].parentLocale,t===oe()&&oe(t)):null!=te[t]&&delete te[t]);return te[t]},n.locales=function(){return S(te)},n.weekdaysShort=function(t,e,r){return wr(t,e,r,"weekdaysShort")},n.normalizeUnits=z,n.relativeTimeRounding=function(t){return void 0===t?qr:"function"===typeof t&&(qr=t,!0)},n.relativeTimeThreshold=function(t,e){return void 0!==Vr[t]&&(void 0===e?Vr[t]:(Vr[t]=e,"s"===t&&(Vr.ss=e-1),!0))},n.calendarFormat=function(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},n.prototype=mr,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}()}).call(this,r(203)(t))},function(t,e,r){"use strict";t.exports=r(1177)},function(t,e,r){"use strict";r.d(e,"a",(function(){return lt})),r.d(e,"f",(function(){return yt})),r.d(e,"c",(function(){return xt})),r.d(e,"b",(function(){return kt})),r.d(e,"d",(function(){return Wt})),r.d(e,"e",(function(){return U}));var n,i,o=r(19),a=r(45),s=r(46);try{n=Map}catch(Gt){}try{i=Set}catch(Gt){}function c(t){return function t(e,r,o){if(!e||"object"!==typeof e||"function"===typeof e)return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(c);if(n&&e instanceof n)return new Map(Array.from(e.entries()));if(i&&e instanceof i)return new Set(Array.from(e.values()));if(e instanceof Object){r.push(e);var a=Object.create(e);for(var s in o.push(a),e){var u=r.findIndex((function(t){return t===e[s]}));a[s]=u>-1?o[u]:t(e[s],r,o)}return a}return e}(t,[],[])}var u=Object.prototype.toString,l=Error.prototype.toString,f=RegExp.prototype.toString,h="undefined"!==typeof Symbol?Symbol.prototype.toString:function(){return""},d=/^Symbol\((.*)\)(.*)$/;function p(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}function m(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t||!0===t||!1===t)return""+t;var r=typeof t;if("number"===r)return p(t);if("string"===r)return e?'"'.concat(t,'"'):t;if("function"===r)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===r)return h.call(t).replace(d,"Symbol($1)");var n=u.call(t).slice(8,-1);return"Date"===n?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===n||t instanceof Error?"["+l.call(t)+"]":"RegExp"===n?f.call(t):null}function b(t,e){var r=m(t,e);return null!==r?r:JSON.stringify(t,(function(t,r){var n=m(this[t],e);return null!==n?n:r}),2)}var v={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(t){var e=t.path,r=t.type,n=t.value,i=t.originalValue,o=null!=i&&i!==n,a="".concat(e," must be a `").concat(r,"` type, ")+"but the final value was: `".concat(b(n,!0),"`")+(o?" (cast from the value `".concat(b(i,!0),"`)."):".");return null===n&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},g={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},y={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},w={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},x={isValue:"${path} field must be ${value}"},O={noUnknown:"${path} field has unspecified keys: ${unknown}"},_={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must be have ${length} items"},S=(Object.assign(Object.create(null),{mixed:v,string:g,number:y,date:w,object:O,array:_,boolean:x}),r(328)),k=r.n(S),E=function(t){return t&&t.__isYupSchema__},M=function(){function t(e,r){if(Object(a.a)(this,t),this.refs=e,this.refs=e,"function"!==typeof r){if(!k()(r,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!r.then&&!r.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=r.is,i=r.then,o=r.otherwise,s="function"===typeof n?n:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.every((function(t){return t===n}))};this.fn=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.pop(),a=e.pop(),c=s.apply(void 0,e)?i:o;if(c)return"function"===typeof c?c(a):a.concat(c.resolve(n))}}else this.fn=r}return Object(s.a)(t,[{key:"resolve",value:function(t,e){var r=this.refs.map((function(t){return t.getValue(null==e?void 0:e.value,null==e?void 0:e.parent,null==e?void 0:e.context)})),n=this.fn.apply(t,r.concat(t,e));if(void 0===n||n===t)return t;if(!E(n))throw new TypeError("conditions must return a schema object");return n.resolve(e)}}]),t}(),C=r(319),j=r(95),A=r(96),T=r(432);function P(t){return null==t?[]:[].concat(t)}function D(){return(D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var R=/\$\{\s*(\w+)\s*\}/g,L=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(t,n,i,s){var c;return Object(a.a)(this,r),(c=e.call(this)).name="ValidationError",c.value=n,c.path=i,c.type=s,c.errors=[],c.inner=[],P(t).forEach((function(t){var e;r.isError(t)?((e=c.errors).push.apply(e,Object(o.a)(t.errors)),c.inner=c.inner.concat(t.inner.length?t.inner:t)):c.errors.push(t)})),c.message=c.errors.length>1?"".concat(c.errors.length," errors occurred"):c.errors[0],Error.captureStackTrace&&Error.captureStackTrace(Object(C.a)(c),r),c}return Object(s.a)(r,null,[{key:"formatError",value:function(t,e){var r=e.label||e.path||"this";return r!==e.path&&(e=D({},e,{path:r})),"string"===typeof t?t.replace(R,(function(t,r){return b(e[r])})):"function"===typeof t?t(e):t}},{key:"isError",value:function(t){return t&&"ValidationError"===t.name}}]),r}(Object(T.a)(Error));function I(t,e){var r=t.endEarly,n=t.tests,i=t.args,a=t.value,s=t.errors,c=t.sort,u=t.path,l=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(e),f=n.length,h=[];if(s=s||[],!f)return s.length?l(new L(s,a,u)):l(null,a);for(var d=0;d<n.length;d++){(0,n[d])(i,(function(t){if(t){if(!L.isError(t))return l(t,a);if(r)return t.value=a,l(t,a);h.push(t)}if(--f<=0){if(h.length&&(c&&h.sort(c),s.length&&h.push.apply(h,Object(o.a)(s)),s=h),s.length)return void l(new L(s,a,u),a);l(null,a)}}))}}var N=r(364),F=r.n(N),B=r(280),z="$",H=".";function U(t,e){return new W(t,e)}var W=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(a.a)(this,t),"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===z,this.isValue=this.key[0]===H,this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?z:this.isValue?H:"";this.path=this.key.slice(n.length),this.getter=this.path&&Object(B.getter)(this.path,!0),this.map=r.map}return Object(s.a)(t,[{key:"getValue",value:function(t,e,r){var n=this.isContext?r:this.isValue?t:e;return this.getter&&(n=this.getter(n||{})),this.map&&(n=this.map(n)),n}},{key:"cast",value:function(t,e){return this.getValue(t,null==e?void 0:e.parent,null==e?void 0:e.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(t){return t&&t.__isYupRef}}]),t}();function q(){return(q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function V(t){function e(e,r){var n=e.value,i=e.path,o=void 0===i?"":i,a=e.label,s=e.options,c=e.originalValue,u=e.sync,l=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(e,["value","path","label","options","originalValue","sync"]),f=t.name,h=t.test,d=t.params,p=t.message,m=s.parent,b=s.context;function v(t){return W.isRef(t)?t.getValue(n,m,b):t}function g(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=F()(q({value:n,originalValue:c,label:a,path:t.path||o},d,t.params),v),r=new L(L.formatError(t.message||p,e),n,e.path,t.type||f);return r.params=e,r}var y=q({path:o,parent:m,type:f,createError:g,resolve:v,options:s,originalValue:c},l);if(u){var w;try{var x;if("function"===typeof(null==(x=w=h.call(y,n,y))?void 0:x.then))throw new Error('Validation test of type: "'.concat(y.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(O){return void r(O)}L.isError(w)?r(w):w?r(null,w):r(g())}else try{Promise.resolve(h.call(y,n,y)).then((function(t){L.isError(t)?r(t):t?r(null,t):r(g())}))}catch(O){r(O)}}return e.OPTIONS=t,e}W.prototype.__isYupRef=!0;var G=function(t){return t.substr(0,t.length-1).substr(1)};function Y(t,e,r){var n,i,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return e?(Object(B.forEach)(e,(function(s,c,u){var l=c?G(s):s;if((t=t.resolve({context:a,parent:n,value:r})).innerType){var f=u?parseInt(l,10):0;if(r&&f>=r.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(s,", in the path: ").concat(e,". ")+"because there is no value at that index. ");n=r,r=r&&r[f],t=t.innerType}if(!u){if(!t.fields||!t.fields[l])throw new Error("The schema does not contain the path: ".concat(e,". ")+"(failed at: ".concat(o,' which is a type: "').concat(t._type,'")'));n=r,r=r&&r[l],t=t.fields[l]}i=l,o=c?"["+s+"]":"."+s})),{schema:t,parent:n,parentPath:i}):{parent:n,parentPath:e,schema:t}}var X=r(3),$=r(29),K=function(){function t(){Object(a.a)(this,t),this.list=new Set,this.refs=new Map}return Object(s.a)(t,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var t,e=[],r=Object($.a)(this.list);try{for(r.s();!(t=r.n()).done;){var n=t.value;e.push(n)}}catch(s){r.e(s)}finally{r.f()}var i,o=Object($.a)(this.refs);try{for(o.s();!(i=o.n()).done;){var a=Object(X.a)(i.value,2)[1];e.push(a.describe())}}catch(s){o.e(s)}finally{o.f()}return e}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"add",value:function(t){W.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}},{key:"delete",value:function(t){W.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}},{key:"has",value:function(t,e){if(this.list.has(t))return!0;for(var r,n=this.refs.values();!(r=n.next()).done;)if(e(r.value)===t)return!0;return!1}},{key:"clone",value:function(){var e=new t;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}},{key:"merge",value:function(t,e){var r=this.clone();return t.list.forEach((function(t){return r.add(t)})),t.refs.forEach((function(t){return r.add(t)})),e.list.forEach((function(t){return r.delete(t)})),e.refs.forEach((function(t){return r.delete(t)})),r}}]),t}();function Z(){return(Z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var J=function(){function t(e){var r=this;Object(a.a)(this,t),this.deps=[],this.conditions=[],this._whitelist=new K,this._blacklist=new K,this.exclusiveTests=Object.create(null),this.tests=[],this.transforms=[],this.withMutation((function(){r.typeError(v.notType)})),this.type=(null==e?void 0:e.type)||"mixed",this.spec=Z({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}return Object(s.a)(t,[{key:"_type",get:function(){return this.type}},{key:"_typeCheck",value:function(t){return!0}},{key:"clone",value:function(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;var e=Object.create(Object.getPrototypeOf(this));return e.type=this.type,e._typeError=this._typeError,e._whitelistError=this._whitelistError,e._blacklistError=this._blacklistError,e._whitelist=this._whitelist.clone(),e._blacklist=this._blacklist.clone(),e.exclusiveTests=Z({},this.exclusiveTests),e.deps=Object(o.a)(this.deps),e.conditions=Object(o.a)(this.conditions),e.tests=Object(o.a)(this.tests),e.transforms=Object(o.a)(this.transforms),e.spec=c(Z({},this.spec,t)),e}},{key:"label",value:function(t){var e=this.clone();return e.spec.label=t,e}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},arguments.length<=0?void 0:arguments[0]),t}},{key:"withMutation",value:function(t){var e=this._mutate;this._mutate=!0;var r=t(this);return this._mutate=e,r}},{key:"concat",value:function(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(t.type));var e=t.clone(),r=Z({},this.spec,e.spec);return e.spec=r,e._typeError||(e._typeError=this._typeError),e._whitelistError||(e._whitelistError=this._whitelistError),e._blacklistError||(e._blacklistError=this._blacklistError),e._whitelist=this._whitelist.merge(t._whitelist,t._blacklist),e._blacklist=this._blacklist.merge(t._blacklist,t._whitelist),e.tests=this.tests,e.exclusiveTests=this.exclusiveTests,e.withMutation((function(e){t.tests.forEach((function(t){e.test(t.OPTIONS)}))})),e}},{key:"isType",value:function(t){return!(!this.spec.nullable||null!==t)||this._typeCheck(t)}},{key:"resolve",value:function(t){var e=this;if(e.conditions.length){var r=e.conditions;(e=e.clone()).conditions=[],e=(e=r.reduce((function(e,r){return r.resolve(e,t)}),e)).resolve(t)}return e}},{key:"cast",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.resolve(Z({value:t},e)),n=r._cast(t,e);if(void 0!==t&&!1!==e.assert&&!0!==r.isType(n)){var i=b(t),o=b(n);throw new TypeError("The value of ".concat(e.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(r._type,'". \n\n')+"attempted value: ".concat(i," \n")+(o!==i?"result of cast: ".concat(o):""))}return n}},{key:"_cast",value:function(t,e){var r=this,n=void 0===t?t:this.transforms.reduce((function(e,n){return n.call(r,e,t,r)}),t);return void 0===n&&(n=this.getDefault()),n}},{key:"_validate",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=r.sync,o=r.path,a=r.from,s=void 0===a?[]:a,c=r.originalValue,u=void 0===c?t:c,l=r.strict,f=void 0===l?this.spec.strict:l,h=r.abortEarly,d=void 0===h?this.spec.abortEarly:h,p=t;f||(p=this._cast(p,Z({assert:!1},r)));var m={value:p,path:o,options:r,originalValue:u,schema:this,label:this.spec.label,sync:i,from:s},b=[];this._typeError&&b.push(this._typeError),this._whitelistError&&b.push(this._whitelistError),this._blacklistError&&b.push(this._blacklistError),I({args:m,value:p,path:o,sync:i,tests:b,endEarly:d},(function(t){t?n(t,p):I({tests:e.tests,args:m,path:o,sync:i,value:p,endEarly:d},n)}))}},{key:"validate",value:function(t,e,r){var n=this.resolve(Z({},e,{value:t}));return"function"===typeof r?n._validate(t,e,r):new Promise((function(r,i){return n._validate(t,e,(function(t,e){t?i(t):r(e)}))}))}},{key:"validateSync",value:function(t,e){var r;return this.resolve(Z({},e,{value:t}))._validate(t,Z({},e,{sync:!0}),(function(t,e){if(t)throw t;r=e})),r}},{key:"isValid",value:function(t,e){return this.validate(t,e).then((function(){return!0}),(function(t){if(L.isError(t))return!1;throw t}))}},{key:"isValidSync",value:function(t,e){try{return this.validateSync(t,e),!0}catch(r){if(L.isError(r))return!1;throw r}}},{key:"_getDefault",value:function(){var t=this.spec.default;return null==t?t:"function"===typeof t?t.call(this):c(t)}},{key:"getDefault",value:function(t){return this.resolve(t||{})._getDefault()}},{key:"default",value:function(t){if(0===arguments.length)return this._getDefault();var e=this.clone({default:t});return e}},{key:"strict",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strict=t,e}},{key:"_isPresent",value:function(t){return null!=t}},{key:"defined",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.defined;return this.test({message:t,name:"defined",exclusive:!0,test:function(t){return void 0!==t}})}},{key:"required",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.required;return this.clone({presence:"required"}).withMutation((function(e){return e.test({message:t,name:"required",exclusive:!0,test:function(t){return this.schema._isPresent(t)}})}))}},{key:"notRequired",value:function(){var t=this.clone({presence:"optional"});return t.tests=t.tests.filter((function(t){return"required"!==t.OPTIONS.name})),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone({nullable:!1!==t});return e}},{key:"transform",value:function(t){var e=this.clone();return e.transforms.push(t),e}},{key:"test",value:function(){var t;if(void 0===(t=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(t.message=v.default),"function"!==typeof t.test)throw new TypeError("`test` is a required parameters");var e=this.clone(),r=V(t),n=t.exclusive||t.name&&!0===e.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(e.exclusiveTests[t.name]=!!t.exclusive),e.tests=e.tests.filter((function(e){if(e.OPTIONS.name===t.name){if(n)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),e.tests.push(r),e}},{key:"when",value:function(t,e){Array.isArray(t)||"string"===typeof t||(e=t,t=".");var r=this.clone(),n=P(t).map((function(t){return new W(t)}));return n.forEach((function(t){t.isSibling&&r.deps.push(t.key)})),r.conditions.push(new M(n,e)),r}},{key:"typeError",value:function(t){var e=this.clone();return e._typeError=V({message:t,name:"typeError",test:function(t){return!(void 0!==t&&!this.schema.isType(t))||this.createError({params:{type:this.schema._type}})}}),e}},{key:"oneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.oneOf,r=this.clone();return t.forEach((function(t){r._whitelist.add(t),r._blacklist.delete(t)})),r._whitelistError=V({message:e,name:"oneOf",test:function(t){if(void 0===t)return!0;var e=this.schema._whitelist;return!!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),r}},{key:"notOneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.notOneOf,r=this.clone();return t.forEach((function(t){r._blacklist.add(t),r._whitelist.delete(t)})),r._blacklistError=V({message:e,name:"notOneOf",test:function(t){var e=this.schema._blacklist;return!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),r}},{key:"strip",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strip=t,e}},{key:"describe",value:function(){var t=this.clone(),e=t.spec,r=e.label;return{meta:e.meta,label:r,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(t){return{name:t.OPTIONS.name,params:t.OPTIONS.params}})).filter((function(t,e,r){return r.findIndex((function(e){return e.name===t.name}))===e}))}}}]),t}();J.prototype.__isYupSchema__=!0;for(var Q=function(){var t=et[tt];J.prototype["".concat(t,"At")]=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Y(this,e,r,n.context),o=i.parent,a=i.parentPath,s=i.schema;return s[t](o&&o[a],Z({},n,{parent:o,path:e}))}},tt=0,et=["validate","validateSync"];tt<et.length;tt++)Q();for(var rt=0,nt=["equals","is"];rt<nt.length;rt++){var it=nt[rt];J.prototype[it]=J.prototype.oneOf}for(var ot=0,at=["not","nope"];ot<at.length;ot++){var st=at[ot];J.prototype[st]=J.prototype.notOneOf}J.prototype.optional=J.prototype.notRequired;var ct=J;ct.prototype;var ut=function(t){return null==t};function lt(){return new ft}var ft=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"boolean"})).withMutation((function(){t.transform((function(t){if(!this.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return t instanceof Boolean&&(t=t.valueOf()),"boolean"===typeof t}},{key:"isTrue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test:function(t){return ut(t)||!0===t}})}},{key:"isFalse",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test:function(t){return ut(t)||!1===t}})}}]),r}(J);lt.prototype=ft.prototype;var ht=r(111),dt=r(98),pt=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,mt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,bt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,vt=function(t){return ut(t)||t===t.trim()},gt={}.toString();function yt(){return new wt}var wt=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"string"})).withMutation((function(){t.transform((function(t){if(this.isType(t))return t;if(Array.isArray(t))return t;var e=null!=t&&t.toString?t.toString():t;return e===gt?t:e}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return t instanceof String&&(t=t.valueOf()),"string"===typeof t}},{key:"_isPresent",value:function(t){return Object(ht.a)(Object(dt.a)(r.prototype),"_isPresent",this).call(this,t)&&!!t.length}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return ut(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return ut(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.max;return this.test({name:"max",exclusive:!0,message:e,params:{max:t},test:function(e){return ut(e)||e.length<=this.resolve(t)}})}},{key:"matches",value:function(t,e){var r,n,i=!1;if(e)if("object"===typeof e){var o=e.excludeEmptyString;i=void 0!==o&&o,r=e.message,n=e.name}else r=e;return this.test({name:n||"matches",message:r||g.matches,params:{regex:t},test:function(e){return ut(e)||""===e&&i||-1!==e.search(t)}})}},{key:"email",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.email;return this.matches(pt,{name:"email",message:t,excludeEmptyString:!0})}},{key:"url",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.url;return this.matches(mt,{name:"url",message:t,excludeEmptyString:!0})}},{key:"uuid",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.uuid;return this.matches(bt,{name:"uuid",message:t,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(t){return null===t?"":t}))}},{key:"trim",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.trim;return this.transform((function(t){return null!=t?t.trim():t})).test({message:t,name:"trim",test:vt})}},{key:"lowercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.lowercase;return this.transform((function(t){return ut(t)?t:t.toLowerCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return ut(t)||t===t.toLowerCase()}})}},{key:"uppercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.uppercase;return this.transform((function(t){return ut(t)?t:t.toUpperCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return ut(t)||t===t.toUpperCase()}})}}]),r}(J);yt.prototype=wt.prototype;function xt(){return new Ot}var Ot=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"number"})).withMutation((function(){t.transform((function(t){var e=t;if("string"===typeof e){if(""===(e=e.replace(/\s/g,"")))return NaN;e=+e}return this.isType(e)?e:parseFloat(e)}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return t instanceof Number&&(t=t.valueOf()),"number"===typeof t&&!function(t){return t!=+t}(t)}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return ut(e)||e>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.max;return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return ut(e)||e<=this.resolve(t)}})}},{key:"lessThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.lessThan;return this.test({message:e,name:"max",exclusive:!0,params:{less:t},test:function(e){return ut(e)||e<this.resolve(t)}})}},{key:"moreThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.moreThan;return this.test({message:e,name:"min",exclusive:!0,params:{more:t},test:function(e){return ut(e)||e>this.resolve(t)}})}},{key:"positive",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.positive;return this.moreThan(0,t)}},{key:"negative",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.negative;return this.lessThan(0,t)}},{key:"integer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.integer;return this.test({name:"integer",message:t,test:function(t){return ut(t)||Number.isInteger(t)}})}},{key:"truncate",value:function(){return this.transform((function(t){return ut(t)?t:0|t}))}},{key:"round",value:function(t){var e,r=["ceil","floor","round","trunc"];if("trunc"===(t=(null==(e=t)?void 0:e.toLowerCase())||"round"))return this.truncate();if(-1===r.indexOf(t.toLowerCase()))throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform((function(e){return ut(e)?e:Math[t](e)}))}}]),r}(J);xt.prototype=Ot.prototype;var _t=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var St=new Date("");function kt(){return new Et}var Et=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"date"})).withMutation((function(){t.transform((function(t){return this.isType(t)?t:(t=function(t){var e,r,n=[1,4,5,6,7,10,11],i=0;if(r=_t.exec(t)){for(var o,a=0;o=n[a];++a)r[o]=+r[o]||0;r[2]=(+r[2]||1)-1,r[3]=+r[3]||1,r[7]=r[7]?String(r[7]).substr(0,3):0,void 0!==r[8]&&""!==r[8]||void 0!==r[9]&&""!==r[9]?("Z"!==r[8]&&void 0!==r[9]&&(i=60*r[10]+r[11],"+"===r[9]&&(i=0-i)),e=Date.UTC(r[1],r[2],r[3],r[4],r[5]+i,r[6],r[7])):e=+new Date(r[1],r[2],r[3],r[4],r[5],r[6],r[7])}else e=Date.parse?Date.parse(t):NaN;return e}(t),isNaN(t)?St:new Date(t))}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return e=t,"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(t.getTime());var e}},{key:"prepareParam",value:function(t,e){var r;if(W.isRef(t))r=t;else{var n=this.cast(t);if(!this._typeCheck(n))throw new TypeError("`".concat(e,"` must be a Date or a value that can be `cast()` to a Date"));r=n}return r}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.min,r=this.prepareParam(t,"min");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(t){return ut(t)||t>=this.resolve(r)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.max,r=this.prepareParam(t,"max");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(t){return ut(t)||t<=this.resolve(r)}})}}]),r}(J);Et.INVALID_DATE=St,kt.prototype=Et.prototype,kt.INVALID_DATE=St;var Mt=r(647),Ct=r.n(Mt),jt=r(816),At=r.n(jt),Tt=r(817),Pt=r.n(Tt),Dt=r(818),Rt=r.n(Dt);function Lt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],n=[];function i(t,i){var o=Object(B.split)(t)[0];~n.indexOf(o)||n.push(o),~e.indexOf("".concat(i,"-").concat(o))||r.push([i,o])}var o=function(e){if(k()(t,e)){var r=t[e];~n.indexOf(e)||n.push(e),W.isRef(r)&&r.isSibling?i(r.path,e):E(r)&&"deps"in r&&r.deps.forEach((function(t){return i(t,e)}))}};for(var a in t)o(a);return Rt.a.array(n,r).reverse()}function It(t,e){var r=1/0;return t.some((function(t,n){var i;if(-1!==(null==(i=e.path)?void 0:i.indexOf(t)))return r=n,!0})),r}function Nt(t){return function(e,r){return It(t,e)-It(t,r)}}function Ft(){return(Ft=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var Bt=function(t){return"[object Object]"===Object.prototype.toString.call(t)};function zt(t,e){var r=Object.keys(t.fields);return Object.keys(e).filter((function(t){return-1===r.indexOf(t)}))}var Ht=Nt([]),Ut=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(t){var n;return Object(a.a)(this,r),(n=e.call(this,{type:"object"})).fields=Object.create(null),n._sortErrors=Ht,n._nodes=[],n._excludedEdges=[],n.withMutation((function(){n.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null})),t&&n.shape(t)})),n}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return Bt(t)||"function"===typeof t}},{key:"_cast",value:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Object(ht.a)(Object(dt.a)(r.prototype),"_cast",this).call(this,t,i);if(void 0===o)return this.getDefault();if(!this._typeCheck(o))return o;var a,s=this.fields,c=null!=(e=i.stripUnknown)?e:this.spec.noUnknown,u=this._nodes.concat(Object.keys(o).filter((function(t){return-1===n._nodes.indexOf(t)}))),l={},f=Ft({},i,{parent:l,__validating:i.__validating||!1}),h=!1,d=Object($.a)(u);try{for(d.s();!(a=d.n()).done;){var p=a.value,m=s[p],b=k()(o,p);if(m){var v=void 0,g=o[p];f.path=(i.path?"".concat(i.path,"."):"")+p;var y="spec"in(m=m.resolve({value:g,context:i.context,parent:l}))?m.spec:void 0,w=null==y?void 0:y.strict;if(null==y?void 0:y.strip){h=h||p in o;continue}void 0!==(v=i.__validating&&w?o[p]:m.cast(o[p],f))&&(l[p]=v)}else b&&!c&&(l[p]=o[p]);l[p]!==o[p]&&(h=!0)}}catch(x){d.e(x)}finally{d.f()}return h?l:o}},{key:"_validate",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,a=[],s=n.sync,c=n.from,u=void 0===c?[]:c,l=n.originalValue,f=void 0===l?t:l,h=n.abortEarly,d=void 0===h?this.spec.abortEarly:h,p=n.recursive,m=void 0===p?this.spec.recursive:p;u=[{schema:this,value:f}].concat(Object(o.a)(u)),n.__validating=!0,n.originalValue=f,n.from=u,Object(ht.a)(Object(dt.a)(r.prototype),"_validate",this).call(this,t,n,(function(t,r){if(t){if(!L.isError(t)||d)return void i(t,r);a.push(t)}if(m&&Bt(r)){f=f||r;var o=e._nodes.map((function(t){return function(i,o){var a=-1===t.indexOf(".")?(n.path?"".concat(n.path,"."):"")+t:"".concat(n.path||"",'["').concat(t,'"]'),s=e.fields[t];s&&"validate"in s?s.validate(r[t],Ft({},n,{path:a,from:u,strict:!0,parent:r,originalValue:f[t]}),o):o(null)}}));I({sync:s,tests:o,value:r,errors:a,endEarly:d,sort:e._sortErrors,path:n.path},i)}else i(a[0]||null,r)}))}},{key:"clone",value:function(t){var e=Object(ht.a)(Object(dt.a)(r.prototype),"clone",this).call(this,t);return e.fields=Ft({},this.fields),e._nodes=this._nodes,e._excludedEdges=this._excludedEdges,e._sortErrors=this._sortErrors,e}},{key:"concat",value:function(t){for(var e=Object(ht.a)(Object(dt.a)(r.prototype),"concat",this).call(this,t),n=e.fields,i=0,o=Object.entries(this.fields);i<o.length;i++){var a=Object(X.a)(o[i],2),s=a[0],c=a[1],u=n[s];void 0===u?n[s]=c:u instanceof J&&c instanceof J&&(n[s]=c.concat(u))}return e.withMutation((function(){return e.shape(n)}))}},{key:"getDefaultFromShape",value:function(){var t=this,e={};return this._nodes.forEach((function(r){var n=t.fields[r];e[r]="default"in n?n.getDefault():void 0})),e}},{key:"_getDefault",value:function(){return"default"in this.spec?Object(ht.a)(Object(dt.a)(r.prototype),"_getDefault",this).call(this):this._nodes.length?this.getDefaultFromShape():void 0}},{key:"shape",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=this.clone(),n=Object.assign(r.fields,t);if(r.fields=n,r._sortErrors=Nt(Object.keys(n)),e.length){Array.isArray(e[0])||(e=[e]);var i=e.map((function(t){var e=Object(X.a)(t,2),r=e[0],n=e[1];return"".concat(r,"-").concat(n)}));r._excludedEdges=r._excludedEdges.concat(i)}return r._nodes=Lt(n,r._excludedEdges),r}},{key:"pick",value:function(t){var e,r={},n=Object($.a)(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;this.fields[i]&&(r[i]=this.fields[i])}}catch(o){n.e(o)}finally{n.f()}return this.clone().withMutation((function(t){return t.fields={},t.shape(r)}))}},{key:"omit",value:function(t){var e=this.clone(),r=e.fields;e.fields={};var n,i=Object($.a)(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;delete r[o]}}catch(a){i.e(a)}finally{i.f()}return e.withMutation((function(){return e.shape(r)}))}},{key:"from",value:function(t,e,r){var n=Object(B.getter)(t,!0);return this.transform((function(i){if(null==i)return i;var o=i;return k()(i,t)&&(o=Ft({},i),r||delete o[t],o[e]=n(i)),o}))}},{key:"noUnknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;"string"===typeof t&&(e=t,t=!0);var r=this.test({name:"noUnknown",exclusive:!0,message:e,test:function(e){if(null==e)return!0;var r=zt(this.schema,e);return!t||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return r.spec.noUnknown=t,r}},{key:"unknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;return this.noUnknown(!t,e)}},{key:"transformKeys",value:function(t){return this.transform((function(e){return e&&Pt()(e,(function(e,r){return t(r)}))}))}},{key:"camelCase",value:function(){return this.transformKeys(At.a)}},{key:"snakeCase",value:function(){return this.transformKeys(Ct.a)}},{key:"constantCase",value:function(){return this.transformKeys((function(t){return Ct()(t).toUpperCase()}))}},{key:"describe",value:function(){var t=Object(ht.a)(Object(dt.a)(r.prototype),"describe",this).call(this);return t.fields=F()(this.fields,(function(t){return t.describe()})),t}}]),r}(J);function Wt(t){return new Ut(t)}function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}Wt.prototype=Ut.prototype;var Vt=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(t){var n;return Object(a.a)(this,r),(n=e.call(this,{type:"array"})).innerType=t,n.withMutation((function(){n.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null}))})),n}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return Array.isArray(t)}},{key:"_subType",get:function(){return this.innerType}},{key:"_cast",value:function(t,e){var n=this,i=Object(ht.a)(Object(dt.a)(r.prototype),"_cast",this).call(this,t,e);if(!this._typeCheck(i)||!this.innerType)return i;var o=!1,a=i.map((function(t,r){var i=n.innerType.cast(t,qt({},e,{path:"".concat(e.path||"","[").concat(r,"]")}));return i!==t&&(o=!0),i}));return o?a:i}},{key:"_validate",value:function(t){var e,n,i=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,s=[],c=o.sync,u=o.path,l=this.innerType,f=null!=(e=o.abortEarly)?e:this.spec.abortEarly,h=null!=(n=o.recursive)?n:this.spec.recursive,d=null!=o.originalValue?o.originalValue:t;Object(ht.a)(Object(dt.a)(r.prototype),"_validate",this).call(this,t,o,(function(t,e){if(t){if(!L.isError(t)||f)return void a(t,e);s.push(t)}if(h&&l&&i._typeCheck(e)){d=d||e;for(var r=new Array(e.length),n=function(t){var n=e[t],i="".concat(o.path||"","[").concat(t,"]"),a=qt({},o,{path:i,strict:!0,parent:e,index:t,originalValue:d[t]});r[t]=function(t,e){return l.validate(n,a,e)}},p=0;p<e.length;p++)n(p);I({sync:c,path:u,value:e,errors:s,endEarly:f,tests:r},a)}else a(s[0]||null,e)}))}},{key:"clone",value:function(t){var e=Object(ht.a)(Object(dt.a)(r.prototype),"clone",this).call(this,t);return e.innerType=this.innerType,e}},{key:"concat",value:function(t){var e=Object(ht.a)(Object(dt.a)(r.prototype),"concat",this).call(this,t);return e.innerType=this.innerType,t.innerType&&(e.innerType=e.innerType?e.innerType.concat(t.innerType):t.innerType),e}},{key:"of",value:function(t){var e=this.clone();if(!E(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+b(t));return e.innerType=t,e}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return ut(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t,e){return e=e||_.min,this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return ut(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t,e){return e=e||_.max,this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return ut(e)||e.length<=this.resolve(t)}})}},{key:"ensure",value:function(){var t=this;return this.default((function(){return[]})).transform((function(e,r){return t._typeCheck(e)?e:null==r?[]:[].concat(r)}))}},{key:"compact",value:function(t){var e=t?function(e,r,n){return!t(e,r,n)}:function(t){return!!t};return this.transform((function(t){return null!=t?t.filter(e):t}))}},{key:"describe",value:function(){var t=Object(ht.a)(Object(dt.a)(r.prototype),"describe",this).call(this);return this.innerType&&(t.innerType=this.innerType.describe()),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return Object(ht.a)(Object(dt.a)(r.prototype),"nullable",this).call(this,t)}},{key:"defined",value:function(){return Object(ht.a)(Object(dt.a)(r.prototype),"defined",this).call(this)}},{key:"required",value:function(t){return Object(ht.a)(Object(dt.a)(r.prototype),"required",this).call(this,t)}}]),r}(J);Vt.prototype},function(t,e,r){"use strict";function n(t){var e,r,i="";if("string"===typeof t||"number"===typeof t)i+=t;else if("object"===typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=n(t[e]))&&(i&&(i+=" "),i+=r);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}e.a=function(){for(var t,e,r=0,i="";r<arguments.length;)(t=arguments[r++])&&(e=n(t))&&(i&&(i+=" "),i+=e);return i}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i.v})),r.d(e,"b",(function(){return i.l})),r.d(e,"c",(function(){return i.u})),r.d(e,"d",(function(){return l}));r(93),r(2);var n=r(57),i=r(25),o=(r(490),function(t){return{done:!0,value:t}}),a={};function s(t){return Object(n.b)(t)?"channel":Object(n.l)(t)?String(t):Object(n.d)(t)?t.name:String(t)}function c(t,e,r){var n,s,c,u=e;function l(e,r){if(u===a)return o(e);if(r&&!s)throw u=a,r;n&&n(e);var i=r?t[s](r):t[u]();return u=i.nextState,c=i.effect,n=i.stateUpdater,s=i.errorState,u===a?o(e):c}return Object(i.M)(l,(function(t){return l(null,t)}),r)}function u(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a,u,l={done:!1,value:Object(i.i)(t)},f=function(t){return{done:!1,value:i.j.apply(void 0,[e].concat(n,[t]))}},h=function(t){return{done:!1,value:Object(i.k)(t)}},d=function(t){return a=t},p=function(t){return u=t};return c({q1:function(){return{nextState:"q2",effect:l,stateUpdater:p}},q2:function(){return a?{nextState:"q3",effect:h(a)}:{nextState:"q1",effect:f(u),stateUpdater:d}},q3:function(){return{nextState:"q1",effect:f(u),stateUpdater:d}}},"q1","takeLatest("+s(t)+", "+e.name+")")}function l(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return i.j.apply(void 0,[u,t,e].concat(n))}},function(t,e,r){t.exports=r(934)()},function(t,e,r){"use strict";r.d(e,"a",(function(){return f})),r.d(e,"b",(function(){return z})),r.d(e,"c",(function(){return V})),r.d(e,"d",(function(){return $}));var n=r(0),i=r.n(n),o=(r(10),i.a.createContext(null));var a=function(t){t()},s={notify:function(){}};function c(){var t=a,e=null,r=null;return{clear:function(){e=null,r=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],r=e;r;)t.push(r),r=r.next;return t},subscribe:function(t){var n=!0,i=r={callback:t,next:null,prev:r};return i.prev?i.prev.next=i:e=i,function(){n&&null!==e&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var u=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=s,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=c())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=s)},t}(),l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect;var f=function(t){var e=t.store,r=t.context,a=t.children,s=Object(n.useMemo)((function(){var t=new u(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),c=Object(n.useMemo)((function(){return e.getState()}),[e]);l((function(){var t=s.subscription;return t.trySubscribe(),c!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[s,c]);var f=r||o;return i.a.createElement(f.Provider,{value:s},a)},h=r(2),d=r(14),p=r(183),m=r.n(p),b=r(276),v=[],g=[null,null];function y(t,e){var r=t[1];return[e.payload,r+1]}function w(t,e,r){l((function(){return t.apply(void 0,e)}),r)}function x(t,e,r,n,i,o,a){t.current=n,e.current=i,r.current=!1,o.current&&(o.current=null,a())}function O(t,e,r,n,i,o,a,s,c,u){if(t){var l=!1,f=null,h=function(){if(!l){var t,r,h=e.getState();try{t=n(h,i.current)}catch(d){r=d,f=d}r||(f=null),t===o.current?a.current||c():(o.current=t,s.current=t,a.current=!0,u({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=h,r.trySubscribe(),h();return function(){if(l=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}}var _=function(){return[null,0]};function S(t,e){void 0===e&&(e={});var r=e,a=r.getDisplayName,s=void 0===a?function(t){return"ConnectAdvanced("+t+")"}:a,c=r.methodName,l=void 0===c?"connectAdvanced":c,f=r.renderCountProp,p=void 0===f?void 0:f,S=r.shouldHandleStateChanges,k=void 0===S||S,E=r.storeKey,M=void 0===E?"store":E,C=(r.withRef,r.forwardRef),j=void 0!==C&&C,A=r.context,T=void 0===A?o:A,P=Object(d.a)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),D=T;return function(e){var r=e.displayName||e.name||"Component",o=s(r),a=Object(h.a)({},P,{getDisplayName:s,methodName:l,renderCountProp:p,shouldHandleStateChanges:k,storeKey:M,displayName:o,wrappedComponentName:r,WrappedComponent:e}),c=P.pure;var f=c?n.useMemo:function(t){return t()};function S(r){var o=Object(n.useMemo)((function(){var t=r.reactReduxForwardedRef,e=Object(d.a)(r,["reactReduxForwardedRef"]);return[r.context,t,e]}),[r]),s=o[0],c=o[1],l=o[2],p=Object(n.useMemo)((function(){return s&&s.Consumer&&Object(b.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:D}),[s,D]),m=Object(n.useContext)(p),S=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(m)&&Boolean(m.store);var E=S?r.store:m.store,M=Object(n.useMemo)((function(){return function(e){return t(e.dispatch,a)}(E)}),[E]),C=Object(n.useMemo)((function(){if(!k)return g;var t=new u(E,S?null:m.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[E,S,m]),j=C[0],A=C[1],T=Object(n.useMemo)((function(){return S?m:Object(h.a)({},m,{subscription:j})}),[S,m,j]),P=Object(n.useReducer)(y,v,_),R=P[0][0],L=P[1];if(R&&R.error)throw R.error;var I=Object(n.useRef)(),N=Object(n.useRef)(l),F=Object(n.useRef)(),B=Object(n.useRef)(!1),z=f((function(){return F.current&&l===N.current?F.current:M(E.getState(),l)}),[E,R,l]);w(x,[N,I,B,l,z,F,A]),w(O,[k,E,j,M,N,I,B,F,A,L],[E,j,M]);var H=Object(n.useMemo)((function(){return i.a.createElement(e,Object(h.a)({},z,{ref:c}))}),[c,e,z]);return Object(n.useMemo)((function(){return k?i.a.createElement(p.Provider,{value:T},H):H}),[p,H,T])}var E=c?i.a.memo(S):S;if(E.WrappedComponent=e,E.displayName=S.displayName=o,j){var C=i.a.forwardRef((function(t,e){return i.a.createElement(E,Object(h.a)({},t,{reactReduxForwardedRef:e}))}));return C.displayName=o,C.WrappedComponent=e,m()(C,e)}return m()(E,e)}}function k(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function E(t,e){if(k(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(e,r[i])||!k(t[r[i]],e[r[i]]))return!1;return!0}function M(t){return function(e,r){var n=t(e,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function C(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function j(t,e){return function(e,r){r.displayName;var n=function(t,e){return n.dependsOnOwnProps?n.mapToProps(t,e):n.mapToProps(t)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,r){n.mapToProps=t,n.dependsOnOwnProps=C(t);var i=n(e,r);return"function"===typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=C(i),i=n(e,r)),i},n}}var A=[function(t){return"function"===typeof t?j(t):void 0},function(t){return t?void 0:M((function(t){return{dispatch:t}}))},function(t){return t&&"object"===typeof t?M((function(e){return function(t,e){var r={},n=function(n){var i=t[n];"function"===typeof i&&(r[n]=function(){return e(i.apply(void 0,arguments))})};for(var i in t)n(i);return r}(t,e)})):void 0}];var T=[function(t){return"function"===typeof t?j(t):void 0},function(t){return t?void 0:M((function(){return{}}))}];function P(t,e,r){return Object(h.a)({},r,t,e)}var D=[function(t){return"function"===typeof t?function(t){return function(e,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(e,r,s){var c=t(e,r,s);return a?i&&o(c,n)||(n=c):(a=!0,n=c),n}}}(t):void 0},function(t){return t?void 0:function(){return P}}];function R(t,e,r,n){return function(i,o){return r(t(i,o),e(n,o),o)}}function L(t,e,r,n,i){var o,a,s,c,u,l=i.areStatesEqual,f=i.areOwnPropsEqual,h=i.areStatePropsEqual,d=!1;function p(i,d){var p=!f(d,a),m=!l(i,o);return o=i,a=d,p&&m?(s=t(o,a),e.dependsOnOwnProps&&(c=e(n,a)),u=r(s,c,a)):p?(t.dependsOnOwnProps&&(s=t(o,a)),e.dependsOnOwnProps&&(c=e(n,a)),u=r(s,c,a)):m?function(){var e=t(o,a),n=!h(e,s);return s=e,n&&(u=r(s,c,a)),u}():u}return function(i,l){return d?p(i,l):(s=t(o=i,a=l),c=e(n,a),u=r(s,c,a),d=!0,u)}}function I(t,e){var r=e.initMapStateToProps,n=e.initMapDispatchToProps,i=e.initMergeProps,o=Object(d.a)(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(t,o),s=n(t,o),c=i(t,o);return(o.pure?L:R)(a,s,c,t,o)}function N(t,e,r){for(var n=e.length-1;n>=0;n--){var i=e[n](t);if(i)return i}return function(e,n){throw new Error("Invalid value of type "+typeof t+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function F(t,e){return t===e}function B(t){var e=void 0===t?{}:t,r=e.connectHOC,n=void 0===r?S:r,i=e.mapStateToPropsFactories,o=void 0===i?T:i,a=e.mapDispatchToPropsFactories,s=void 0===a?A:a,c=e.mergePropsFactories,u=void 0===c?D:c,l=e.selectorFactory,f=void 0===l?I:l;return function(t,e,r,i){void 0===i&&(i={});var a=i,c=a.pure,l=void 0===c||c,p=a.areStatesEqual,m=void 0===p?F:p,b=a.areOwnPropsEqual,v=void 0===b?E:b,g=a.areStatePropsEqual,y=void 0===g?E:g,w=a.areMergedPropsEqual,x=void 0===w?E:w,O=Object(d.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=N(t,o,"mapStateToProps"),S=N(e,s,"mapDispatchToProps"),k=N(r,u,"mergeProps");return n(f,Object(h.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:_,initMapDispatchToProps:S,initMergeProps:k,pure:l,areStatesEqual:m,areOwnPropsEqual:v,areStatePropsEqual:y,areMergedPropsEqual:x},O))}}var z=B();function H(){return Object(n.useContext)(o)}function U(t){void 0===t&&(t=o);var e=t===o?H:function(){return Object(n.useContext)(t)};return function(){return e().store}}var W=U();function q(t){void 0===t&&(t=o);var e=t===o?W:U(t);return function(){return e().dispatch}}var V=q(),G=function(t,e){return t===e};function Y(t){void 0===t&&(t=o);var e=t===o?H:function(){return Object(n.useContext)(t)};return function(t,r){void 0===r&&(r=G);var i=e(),o=function(t,e,r,i){var o,a=Object(n.useReducer)((function(t){return t+1}),0)[1],s=Object(n.useMemo)((function(){return new u(r,i)}),[r,i]),c=Object(n.useRef)(),f=Object(n.useRef)(),h=Object(n.useRef)(),d=Object(n.useRef)(),p=r.getState();try{if(t!==f.current||p!==h.current||c.current){var m=t(p);o=void 0!==d.current&&e(m,d.current)?d.current:m}else o=d.current}catch(b){throw c.current&&(b.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),b}return l((function(){f.current=t,h.current=p,d.current=o,c.current=void 0})),l((function(){function t(){try{var t=r.getState(),n=f.current(t);if(e(n,d.current))return;d.current=n,h.current=t}catch(b){c.current=b}a()}return s.onStateChange=t,s.trySubscribe(),t(),function(){return s.tryUnsubscribe()}}),[r,s]),o}(t,r,i.store,i.subscription);return Object(n.useDebugValue)(o),o}}var X,$=Y(),K=r(76);X=K.unstable_batchedUpdates,a=X},function(t,e,r){t.exports=r(1181)},function(t,e,r){"use strict";r.d(e,"b",(function(){return _})),r.d(e,"c",(function(){return S}));var n=r(19),i=r(2),o=r(14),a=r(548),s=r(1322),c=r(1406),u=r(884),l=["variant"];function f(t){return 0===t.length}function h(t){var e=t.variant,r=Object(o.a)(t,l),n=e||"";return Object.keys(r).sort().forEach((function(e){n+="color"===e?f(n)?t[e]:Object(u.a)(t[e]):"".concat(f(n)?e:Object(u.a)(e)).concat(Object(u.a)(t[e].toString()))})),n}var d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],p=["theme"],m=["theme"];function b(t){return 0===Object.keys(t).length}var v=function(t,e){return e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null},g=function(t,e){var r=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(r=e.components[t].variants);var n={};return r.forEach((function(t){var e=h(t.props);n[e]=t.style})),n},y=function(t,e,r,n){var i,o,a=t.ownerState,s=void 0===a?{}:a,c=[],u=null==r||null==(i=r.components)||null==(o=i[n])?void 0:o.variants;return u&&u.forEach((function(r){var n=!0;Object.keys(r.props).forEach((function(e){s[e]!==r.props[e]&&t[e]!==r.props[e]&&(n=!1)})),n&&c.push(e[h(r.props)])})),c};function w(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}var x=Object(s.a)();var O=r(284),_=function(t){return w(t)&&"classes"!==t},S=w,k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,r=void 0===e?x:e,s=t.rootShouldForwardProp,u=void 0===s?w:s,l=t.slotShouldForwardProp,f=void 0===l?w:l;return function(t){var e,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=s.name,h=s.slot,x=s.skipVariantsResolver,O=s.skipSx,_=s.overridesResolver,S=Object(o.a)(s,d),k=void 0!==x?x:h&&"Root"!==h||!1,E=O||!1;var M=w;"Root"===h?M=u:h&&(M=f);var C=Object(a.a)(t,Object(i.a)({shouldForwardProp:M,label:e},S)),j=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),s=1;s<e;s++)a[s-1]=arguments[s];var u=a?a.map((function(t){return"function"===typeof t&&t.__emotion_real!==t?function(e){var n=e.theme,a=Object(o.a)(e,p);return t(Object(i.a)({theme:b(n)?r:n},a))}:t})):[],f=t;l&&_&&u.push((function(t){var e=b(t.theme)?r:t.theme,n=v(l,e);return n?_(t,n):null})),l&&!k&&u.push((function(t){var e=b(t.theme)?r:t.theme;return y(t,g(l,e),e,l)})),E||u.push((function(t){var e=b(t.theme)?r:t.theme;return Object(c.a)(Object(i.a)({},t,{theme:e}))}));var h=u.length-a.length;if(Array.isArray(t)&&h>0){var d=new Array(h).fill("");(f=[].concat(Object(n.a)(t),Object(n.a)(d))).raw=[].concat(Object(n.a)(t.raw),Object(n.a)(d))}else"function"===typeof t&&(f=function(e){var n=e.theme,a=Object(o.a)(e,m);return t(Object(i.a)({theme:b(n)?r:n},a))});var w=C.apply(void 0,[f].concat(Object(n.a)(u)));return w};return j}}({defaultTheme:O.a,rootShouldForwardProp:_});e.a=k},function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}r.d(e,"a",(function(){return n}))},,,function(t,e,r){"use strict";r.d(e,"j",(function(){return d})),r.d(e,"i",(function(){return p})),r.d(e,"h",(function(){return m})),r.d(e,"g",(function(){return b})),r.d(e,"k",(function(){return g})),r.d(e,"d",(function(){return y})),r.d(e,"b",(function(){return w})),r.d(e,"e",(function(){return x})),r.d(e,"f",(function(){return O})),r.d(e,"a",(function(){return _})),r.d(e,"c",(function(){return S}));var n=r(114),i=r.n(n),o=r(68),a=r.n(o),s=r(300),c=r.n(s),u=r(645),l=r.n(u),f=r(301),h=r.n(f),d=function(t){return 0===t?0:t>0?1:-1},p=function(t){return h()(t)&&t.indexOf("%")===t.length-1},m=function(t){return l()(t)&&!c()(t)},b=function(t){return m(t)||h()(t)},v=0,g=function(t){var e=++v;return"".concat(t||"").concat(e)},y=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!m(t)&&!h()(t))return n;if(p(t)){var o=t.indexOf("%");r=e*parseFloat(t.slice(0,o))/100}else r=+t;return c()(r)&&(r=n),i&&r>e&&(r=e),r},w=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},x=function(t){if(!a()(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1},O=function(t,e){return m(t)&&m(e)?function(r){return t+r*(e-t)}:function(){return e}};function _(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"===typeof e?e(t):i()(t,e))===r})):null}var S=function(t){if(!t||!t.length)return null;for(var e=t.length,r=0,n=0,i=0,o=0,a=1/0,s=-1/0,c=0;c<e;c++)r+=t[c].cx,n+=t[c].cy,i+=t[c].cx*t[c].cy,o+=t[c].cx*t[c].cx,a=Math.min(a,t[c].cx),s=Math.max(s,t[c].cx);var u=e*o!==r*r?(e*i-r*n)/(e*o-r*r):0;return{xmin:a,xmax:s,a:u,b:(n-u*r)/e}}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(423);var i=r(513),o=r(277);function a(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(14);function i(t,e){if(null==t)return{};var r,i,o=Object(n.a)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}},function(t,e,r){"use strict";(function(t,n,i){r.d(e,"a",(function(){return as})),r.d(e,"b",(function(){return qo})),r.d(e,"c",(function(){return Ji})),r.d(e,"d",(function(){return Yo})),r.d(e,"e",(function(){return mr})),r.d(e,"f",(function(){return ft}));var o,a,s=r(12),c=r.n(s),u=r(1),l=r(19),f=r(45),h=r(46),d=r(95),p=r(96),m=r(3),b=r(0),v=r.n(b),g=r(10),y=r.n(g),w=r(339),x=r(340),O=r(78),_=r(13),S=r(147),k=r(22),E=r(141),M=r(210),C=r(156),j=r(72),A=r(49),T=r(115),P=r(24),D=r(155),R=r(195),L=r(67),I=r(8),N=r(443),F=r(145),B=r(305),z=r(563),H=r(889),U=r(1312),W=r(894),q=r(890),V=r(561),G=r(892),Y=r(562),X=r(179),$=r(888),K=(r(1325),r(1318)),Z=r(662),J=r(384),Q=r(146),tt=r(1319),et=r(341),rt=r(1327),nt=r(1311),it=r(444),ot=r(661),at=r(1328),st=r(1321),ct=r(260),ut=r(128);(a=o||(o={})).resize="resize",a.debouncedResize="debouncedResize",a.viewportInnerSizeChange="viewportInnerSizeChange",a.componentError="componentError",a.unmount="unmount",a.cellModeChange="cellModeChange",a.cellClick="cellClick",a.cellDoubleClick="cellDoubleClick",a.cellMouseDown="cellMouseDown",a.cellMouseUp="cellMouseUp",a.cellKeyDown="cellKeyDown",a.cellFocusIn="cellFocusIn",a.cellFocusOut="cellFocusOut",a.cellDragEnter="cellDragEnter",a.cellDragOver="cellDragOver",a.editCellPropsChange="editCellPropsChange",a.cellEditCommit="cellEditCommit",a.cellEditStart="cellEditStart",a.cellEditStop="cellEditStop",a.rowEditStart="rowEditStart",a.rowEditStop="rowEditStop",a.rowEditCommit="rowEditCommit",a.cellNavigationKeyDown="cellNavigationKeyDown",a.rowClick="rowClick",a.rowDoubleClick="rowDoubleClick",a.editRowsModelChange="editRowsModelChange",a.columnHeaderBlur="columnHeaderBlur",a.columnHeaderFocus="columnHeaderFocus",a.columnHeaderNavigationKeyDown="columnHeaderNavigationKeyDown",a.columnHeaderKeyDown="columnHeaderKeyDown",a.columnHeaderClick="columnHeaderClick",a.columnHeaderDoubleClick="columnHeaderDoubleClick",a.columnHeaderOver="columnHeaderOver",a.columnHeaderOut="columnHeaderOut",a.columnHeaderEnter="columnHeaderEnter",a.columnHeaderLeave="columnHeaderLeave",a.columnHeaderDragStart="columnHeaderDragStart",a.columnHeaderDragOver="columnHeaderDragOver",a.columnHeaderDragEnter="columnHeaderDragEnter",a.columnHeaderDragEnd="columnHeaderDragEnd",a.selectionChange="selectionChange",a.headerSelectionCheckboxChange="headerSelectionCheckboxChange",a.rowSelectionCheckboxChange="rowSelectionCheckboxChange",a.pageChange="pageChange",a.pageSizeChange="pageSizeChange",a.rowsScroll="rowsScroll",a.rowsScrollEnd="rowsScrollEnd",a.columnSeparatorMouseDown="columnSeparatorMouseDown",a.columnResize="columnResize",a.columnWidthChange="columnWidthChange",a.columnResizeStart="columnResizeStart",a.columnResizeStop="columnResizeStop",a.columnOrderChange="columnOrderChange",a.rowsSet="rowsSet",a.rowExpansionChange="rowExpansionChange",a.visibleRowsSet="visibleRowsSet",a.columnsChange="columnsChange",a.preProcessorRegister="preProcessorRegister",a.preProcessorUnregister="preProcessorUnregister",a.rowGroupsPreProcessingChange="rowGroupsPreProcessingChange",a.sortModelChange="sortModelChange",a.filterModelChange="filterModelChange",a.stateChange="stateChange",a.columnVisibilityChange="columnVisibilityChange";var lt=b.createContext(void 0);function ft(){var t=b.useContext(lt);if(void 0===t)throw new Error(["MUI: Could not find the data grid context.","It looks like you rendered your component outside of a DataGrid or DataGridPro parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return t}function ht(t){return Object(w.a)("MuiDataGrid",t)}var dt=Object(x.a)("MuiDataGrid",["actionsCell","autoHeight","booleanCell","cell--editable","cell--editing","cell--textCenter","cell--textLeft","cell--textRight","cell--withRenderer","cell","cellCheckbox","checkboxInput","columnHeader--alignCenter","columnHeader--alignLeft","columnHeader--alignRight","columnHeader--dragging","columnHeader--moving","columnHeader--numeric","columnHeader--sortable","columnHeader--sorted","columnHeader","columnHeaderCheckbox","columnHeaderDraggableContainer","columnHeaderDropZone","columnHeaderTitle","columnHeaderTitleContainer","columnHeaders","columnHeadersInner","columnHeadersInner--scrollable","columnSeparator--resizable","columnSeparator--resizing","columnSeparator","columnsPanel","columnsPanelRow","panel","panelHeader","panelWrapper","panelContent","panelFooter","paper","editBooleanCell","editInputCell","filterForm","filterIcon","footerContainer","iconButtonContainer","iconSeparator","main","menu","menuIcon","menuIconButton","menuOpen","menuList","overlay","root","row--editable","row--editing","row","rowCount","scrollArea--left","scrollArea--right","scrollArea","selectedRowCount","sortIcon","toolbarContainer","toolbarFilterList","virtualScroller","virtualScrollerContent","virtualScrollerRenderZone","withBorder","treeDataGroupingCell","treeDataGroupingCellToggle"]),pt=b.createContext(void 0),mt=function(){var t=b.useContext(pt);if(!t)throw new Error("MUI: useGridRootProps should only be used inside the DataGrid/DataGridPro component.");return t},bt=Object(_.a)("div",{name:"MuiDataGrid",slot:"Main",overridesResolver:function(t,e){return e.main}})((function(){return{position:"relative",flexGrow:1,display:"flex",flexDirection:"column"}}));function vt(t){var e=function(t){var e=t.classes;return Object(O.a)({root:["main"]},ht,e)}({classes:mt().classes});return b.createElement(bt,{className:e.root},t.children)}function gt(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}function yt(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}c((n=n.apply(t,e||[])).next())}))}var wt=b.forwardRef((function(t,e){var r=t.children,n=t.defaultHeight,i=void 0===n?null:n,o=t.defaultWidth,a=void 0===o?null:o,s=t.disableHeight,c=void 0!==s&&s,u=t.disableWidth,l=void 0!==u&&u,f=t.nonce,h=t.onResize,d=t.style,p=gt(t,["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style"]),v=b.useState({height:i,width:a}),g=Object(m.a)(v,2),y=g[0],w=g[1],x=b.useRef(null),O=b.useRef(null),_=Object(E.a)((function(){if(O.current){var t=O.current.offsetHeight||0,e=O.current.offsetWidth||0,r=Object(M.a)(O.current).getComputedStyle(O.current),n=parseInt(r.paddingLeft,10)||0,i=parseInt(r.paddingRight,10)||0,o=t-(parseInt(r.paddingTop,10)||0)-(parseInt(r.paddingBottom,10)||0),a=e-n-i;(!c&&y.height!==o||!l&&y.width!==a)&&(w({height:o,width:a}),h&&h({height:o,width:a}))}}));Object(C.a)((function(){var t;if(O.current=x.current.parentElement,O){var e=Object(M.a)(null!==(t=O.current)&&void 0!==t?t:void 0),r=function(t,e){var r=function(t){var e=t.__resizeTriggers__,r=e.firstElementChild,n=e.lastElementChild,i=r.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,i.style.width=r.offsetWidth+1+"px",i.style.height=r.offsetHeight+1+"px",r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight},n=function(t){if(!(t.target.className.indexOf("contract-trigger")<0&&t.target.className.indexOf("expand-trigger")<0)){var n=this;r(this),this.__resizeRAF__&&e.cancelAnimationFrame(this.__resizeRAF__),this.__resizeRAF__=e.requestAnimationFrame((function(){(function(t){return t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(e){e.call(n,t)})))}))}},i=!1,o="",a="animationstart",s="Webkit Moz O ms".split(" "),c="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),u=document.createElement("fakeelement");if(void 0!==u.style.animationName&&(i=!0),!1===i)for(var l=0;l<s.length;l++)if(void 0!==u.style[s[l]+"AnimationName"]){o="-"+s[l].toLowerCase()+"-",a=c[l],i=!0;break}var f="@"+o+"keyframes resizeanim { from { opacity: 0; } to { opacity: 0; } } ",h=o+"animation: 1ms resizeanim; ";return{addResizeListener:function(i,o){if(!i.__resizeTriggers__){var s=i.ownerDocument,c=e.getComputedStyle(i);c&&"static"==c.position&&(i.style.position="relative"),function(e){if(!e.getElementById("muiDetectElementResize")){var r=(f||"")+".Mui-resizeTriggers { "+(h||"")+'visibility: hidden; opacity: 0; } .Mui-resizeTriggers, .Mui-resizeTriggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .Mui-resizeTriggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=e.head||e.getElementsByTagName("head")[0],i=e.createElement("style");i.id="muiDetectElementResize",i.type="text/css",null!=t&&i.setAttribute("nonce",t),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(e.createTextNode(r)),n.appendChild(i)}}(s),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=s.createElement("div")).className="Mui-resizeTriggers",i.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',i.appendChild(i.__resizeTriggers__),r(i),i.addEventListener("scroll",n,!0),a&&(i.__resizeTriggers__.__animationListener__=function(t){"resizeanim"==t.animationName&&r(i)},i.__resizeTriggers__.addEventListener(a,i.__resizeTriggers__.__animationListener__))}i.__resizeListeners__.push(o)},removeResizeListener:function(t,e){if(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),!t.__resizeListeners__.length){t.removeEventListener("scroll",n,!0),t.__resizeTriggers__.__animationListener__&&(t.__resizeTriggers__.removeEventListener(a,t.__resizeTriggers__.__animationListener__),t.__resizeTriggers__.__animationListener__=null);try{t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__)}catch(t){}}}}}(f,e);return r.addResizeListener(O.current,_),_(),function(){r.removeResizeListener(O.current,_)}}}),[f,_]);var S={overflow:"visible"},k={};c||(S.height=0,k.height=y.height),l||(S.width=0,k.width=y.width);var A=Object(j.a)(x,e);return b.createElement("div",Object.assign({ref:A,style:Object.assign(Object.assign({},S),d)},p),null===y.height&&null===y.width?null:r(k))}));function xt(t,e){return t===e||t!=t&&e!=e}function Ot(t,e){for(var r=t.length;r--;)if(xt(t[r][0],e))return r;return-1}var _t=Array.prototype.splice;function St(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}St.prototype.clear=function(){this.__data__=[],this.size=0},St.prototype.delete=function(t){var e=this.__data__,r=Ot(e,t);return!(r<0)&&(r==e.length-1?e.pop():_t.call(e,r,1),--this.size,!0)},St.prototype.get=function(t){var e=this.__data__,r=Ot(e,t);return r<0?void 0:e[r][1]},St.prototype.has=function(t){return Ot(this.__data__,t)>-1},St.prototype.set=function(t,e){var r=this.__data__,n=Ot(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};var kt="object"==typeof t&&t&&t.Object===Object&&t,Et="object"==typeof self&&self&&self.Object===Object&&self,Mt=kt||Et||Function("return this")(),Ct=Mt.Symbol,jt=Object.prototype,At=jt.hasOwnProperty,Tt=jt.toString,Pt=Ct?Ct.toStringTag:void 0,Dt=Object.prototype.toString,Rt=Ct?Ct.toStringTag:void 0;function Lt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Rt&&Rt in Object(t)?function(t){var e=At.call(t,Pt),r=t[Pt];try{t[Pt]=void 0;var n=!0}catch(t){}var i=Tt.call(t);return n&&(e?t[Pt]=r:delete t[Pt]),i}(t):function(t){return Dt.call(t)}(t)}function It(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Nt(t){if(!It(t))return!1;var e=Lt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var Ft,Bt=Mt["__core-js_shared__"],zt=(Ft=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||""))?"Symbol(src)_1."+Ft:"",Ht=Function.prototype.toString;function Ut(t){if(null!=t){try{return Ht.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Wt=/^\[object .+?Constructor\]$/,qt=Function.prototype,Vt=Object.prototype,Gt=qt.toString,Yt=Vt.hasOwnProperty,Xt=RegExp("^"+Gt.call(Yt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $t(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!It(t)||(e=t,zt&&zt in e))&&(Nt(t)?Xt:Wt).test(Ut(t));var e}(r)?r:void 0}var Kt=$t(Mt,"Map"),Zt=$t(Object,"create"),Jt=Object.prototype.hasOwnProperty,Qt=Object.prototype.hasOwnProperty;function te(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ee(t,e){var r,n,i=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof e?"string":"hash"]:i.map}function re(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ne(t){var e=this.__data__=new St(t);this.size=e.size}function ie(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new re;++e<r;)this.add(t[e])}function oe(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function ae(t,e,r,n,i,o){var a=1&r,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var l=-1,f=!0,h=2&r?new ie:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var d=t[l],p=e[l];if(n)var m=a?n(p,d,l,e,t,o):n(d,p,l,t,e,o);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!oe(e,(function(t,e){if(a=e,!h.has(a)&&(d===t||i(d,t,r,n,o)))return h.push(e);var a}))){f=!1;break}}else if(d!==p&&!i(d,p,r,n,o)){f=!1;break}}return o.delete(t),o.delete(e),f}te.prototype.clear=function(){this.__data__=Zt?Zt(null):{},this.size=0},te.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},te.prototype.get=function(t){var e=this.__data__;if(Zt){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Jt.call(e,t)?e[t]:void 0},te.prototype.has=function(t){var e=this.__data__;return Zt?void 0!==e[t]:Qt.call(e,t)},te.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Zt&&void 0===e?"__lodash_hash_undefined__":e,this},re.prototype.clear=function(){this.size=0,this.__data__={hash:new te,map:new(Kt||St),string:new te}},re.prototype.delete=function(t){var e=ee(this,t).delete(t);return this.size-=e?1:0,e},re.prototype.get=function(t){return ee(this,t).get(t)},re.prototype.has=function(t){return ee(this,t).has(t)},re.prototype.set=function(t,e){var r=ee(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},ne.prototype.clear=function(){this.__data__=new St,this.size=0},ne.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},ne.prototype.get=function(t){return this.__data__.get(t)},ne.prototype.has=function(t){return this.__data__.has(t)},ne.prototype.set=function(t,e){var r=this.__data__;if(r instanceof St){var n=r.__data__;if(!Kt||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new re(n)}return r.set(t,e),this.size=r.size,this},ie.prototype.add=ie.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ie.prototype.has=function(t){return this.__data__.has(t)};var se=Mt.Uint8Array;function ce(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function ue(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var le=Ct?Ct.prototype:void 0,fe=le?le.valueOf:void 0,he=Array.isArray,de=Object.prototype.propertyIsEnumerable,pe=Object.getOwnPropertySymbols,me=pe?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a)&&(o[i++]=a)}return o}(pe(t),(function(e){return de.call(t,e)})))}:function(){return[]};function be(t){return null!=t&&"object"==typeof t}function ve(t){return be(t)&&"[object Arguments]"==Lt(t)}var ge=Object.prototype,ye=ge.hasOwnProperty,we=ge.propertyIsEnumerable,xe=ve(function(){return arguments}())?ve:function(t){return be(t)&&ye.call(t,"callee")&&!we.call(t,"callee")},Oe="object"==typeof exports&&exports&&!exports.nodeType&&exports,_e=Oe&&"object"==typeof n&&n&&!n.nodeType&&n,Se=_e&&_e.exports===Oe?Mt.Buffer:void 0,ke=(Se?Se.isBuffer:void 0)||function(){return!1},Ee=/^(?:0|[1-9]\d*)$/;function Me(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Ee.test(t))&&t>-1&&t%1==0&&t<e}function Ce(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var je={};je["[object Float32Array]"]=je["[object Float64Array]"]=je["[object Int8Array]"]=je["[object Int16Array]"]=je["[object Int32Array]"]=je["[object Uint8Array]"]=je["[object Uint8ClampedArray]"]=je["[object Uint16Array]"]=je["[object Uint32Array]"]=!0,je["[object Arguments]"]=je["[object Array]"]=je["[object ArrayBuffer]"]=je["[object Boolean]"]=je["[object DataView]"]=je["[object Date]"]=je["[object Error]"]=je["[object Function]"]=je["[object Map]"]=je["[object Number]"]=je["[object Object]"]=je["[object RegExp]"]=je["[object Set]"]=je["[object String]"]=je["[object WeakMap]"]=!1;var Ae,Te="object"==typeof exports&&exports&&!exports.nodeType&&exports,Pe=Te&&"object"==typeof n&&n&&!n.nodeType&&n,De=Pe&&Pe.exports===Te&&kt.process,Re=function(){try{return De&&De.binding&&De.binding("util")}catch(a){}}(),Le=Re&&Re.isTypedArray,Ie=Le?(Ae=Le,function(t){return Ae(t)}):function(t){return be(t)&&Ce(t.length)&&!!je[Lt(t)]},Ne=Object.prototype.hasOwnProperty;var Fe=Object.prototype,Be=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),ze=Object.prototype.hasOwnProperty;function He(t){return null!=(e=t)&&Ce(e.length)&&!Nt(e)?function(t,e){var r=he(t),n=!r&&xe(t),i=!r&&!n&&ke(t),o=!r&&!n&&!i&&Ie(t),a=r||n||i||o,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=s.length;for(var u in t)!e&&!Ne.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Me(u,c))||s.push(u);return s}(t):function(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||Fe))return Be(t);var e,r,n=[];for(var i in Object(t))ze.call(t,i)&&"constructor"!=i&&n.push(i);return n}(t);var e}function Ue(t){return function(t,e,r){var n=e(t);return he(t)?n:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(n,r(t))}(t,He,me)}var We=Object.prototype.hasOwnProperty,qe=$t(Mt,"DataView"),Ve=$t(Mt,"Promise"),Ge=$t(Mt,"Set"),Ye=$t(Mt,"WeakMap"),Xe=Ut(qe),$e=Ut(Kt),Ke=Ut(Ve),Ze=Ut(Ge),Je=Ut(Ye),Qe=Lt;(qe&&"[object DataView]"!=Qe(new qe(new ArrayBuffer(1)))||Kt&&"[object Map]"!=Qe(new Kt)||Ve&&"[object Promise]"!=Qe(Ve.resolve())||Ge&&"[object Set]"!=Qe(new Ge)||Ye&&"[object WeakMap]"!=Qe(new Ye))&&(Qe=function(t){var e=Lt(t),r="[object Object]"==e?t.constructor:void 0,n=r?Ut(r):"";if(n)switch(n){case Xe:return"[object DataView]";case $e:return"[object Map]";case Ke:return"[object Promise]";case Ze:return"[object Set]";case Je:return"[object WeakMap]"}return e});var tr=Qe,er="[object Object]",rr=Object.prototype.hasOwnProperty;function nr(t,e,r,n,i){return t===e||(null==t||null==e||!be(t)&&!be(e)?t!=t&&e!=e:function(t,e,r,n,i,o){var a=he(t),s=he(e),c=a?"[object Array]":tr(t),u=s?"[object Array]":tr(e),l=(c="[object Arguments]"==c?er:c)==er,f=(u="[object Arguments]"==u?er:u)==er,h=c==u;if(h&&ke(t)){if(!ke(e))return!1;a=!0,l=!1}if(h&&!l)return o||(o=new ne),a||Ie(t)?ae(t,e,r,n,i,o):function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new se(t),new se(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=ce;case"[object Set]":var c=1&n;if(s||(s=ue),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;n|=2,a.set(t,e);var l=ae(s(t),s(e),n,i,o,a);return a.delete(t),l;case"[object Symbol]":if(fe)return fe.call(t)==fe.call(e)}return!1}(t,e,c,r,n,i,o);if(!(1&r)){var d=l&&rr.call(t,"__wrapped__"),p=f&&rr.call(e,"__wrapped__");if(d||p){var m=d?t.value():t,b=p?e.value():e;return o||(o=new ne),i(m,b,r,n,o)}}return!!h&&(o||(o=new ne),function(t,e,r,n,i,o){var a=1&r,s=Ue(t),c=s.length;if(c!=Ue(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:We.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<c;){var p=t[l=s[u]],m=e[l];if(n)var b=a?n(m,p,l,e,t,o):n(p,m,l,t,e,o);if(!(void 0===b?p===m||i(p,m,r,n,o):b)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(h=!1)}return o.delete(t),o.delete(e),h}(t,e,r,n,i,o))}(t,e,r,n,nr,i))}function ir(t){return"function"==typeof t}function or(){try{var t="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(t,t),window.localStorage.removeItem(t),!0}catch(a){return!1}}function ar(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function sr(t,e){var r=b.useRef(null);if(r.current)return r.current;var n=t.current.getLogger(e);return r.current=n,n}function cr(t,e,r){var n=sr(t,"useGridApiMethod"),i=b.useRef(e),o=b.useState(Object.keys(e)),a=Object(m.a)(o,1)[0],s=b.useCallback((function(){t.current&&a.forEach((function(e){t.current.hasOwnProperty(e)||(n.debug("Adding ".concat(r,".").concat(e," to apiRef")),t.current[e]=function(){var t;return(t=i.current)[e].apply(t,arguments)})}))}),[a,r,t,n]);b.useEffect((function(){i.current=e}),[e]),b.useEffect((function(){s()}),[s]),s()}var ur=function(t){!function(t){var e=sr(t,"useGridApi"),r=b.useState(),n=Object(m.a)(r,2)[1];t.current.state||(e.info("Initialising state."),t.current.state={},t.current.forceUpdate=n);var i=b.useCallback((function(e){var r;r=ir(e)?e(t.current.state):e,t.current.state=r,n((function(){return r})),t.current.publishEvent(o.stateChange,r)}),[t]);cr(t,{setState:i},"GridStateApi"),t.current}(t);var e=b.useCallback((function(){return t.current.forceUpdate((function(){return t.current.state}))}),[t]),r=b.useCallback((function(e){var r=e(t.current.state);if(t.current.state===r)return!1;var n=t.current.unstable_applyControlStateConstraint(r),i=n.ignoreSetState,a=n.postUpdate;return i||(t.current.state=r,t.current.publishEvent&&t.current.publishEvent(o.stateChange,r)),a(),!i}),[t]);return[t.current.state,r,e]},lr=function(t,e){var r=ur(t);return e(Object(m.a)(r,1)[0])},fr=function(t){return t.rows},hr=Object(L.a)(fr,(function(t){return t.totalRowCount})),dr=Object(L.a)(fr,(function(t){return t.totalTopLevelRowCount})),pr=Object(L.a)(fr,(function(t){return t.idRowsLookup})),mr=Object(L.a)(fr,(function(t){return t.tree})),br=Object(L.a)(fr,(function(t){return t.treeDepth})),vr=Object(L.a)(fr,(function(t){return t.ids})),gr=function(t){return t.sorting},yr=Object(L.a)(gr,(function(t){return t.sortedRows})),wr=Object(L.a)(yr,pr,(function(t,e){return t.map((function(t){return{id:t,model:e[t]}}))})),xr=Object(L.a)(gr,(function(t){return t.sortModel})),Or=Object(L.a)(xr,(function(t){return t.reduce((function(e,r,n){return e[r.field]={sortDirection:r.sort,sortIndex:t.length>1?n+1:void 0},e}),{})})),_r=function(t){return t.columns},Sr=function(t){return t.columns.all},kr=function(t){return t.columns.lookup},Er=Object(L.a)(Sr,kr,(function(t,e){return t.map((function(t){return e[t]}))})),Mr=Object(L.a)(Er,(function(t){return t.filter((function(t){return null!=t.field&&!t.hide}))})),Cr=Object(L.a)(Mr,(function(t){var e=[];return{totalWidth:t.reduce((function(t,r){return e.push(t),t+r.computedWidth}),0),positions:e}})),jr=Object(L.a)(Er,(function(t){return t.filter((function(t){return t.filterable}))})),Ar=Object(L.a)(jr,(function(t){return t.map((function(t){return t.field}))})),Tr=Object(L.a)(Mr,(function(t){return t.length})),Pr=Object(L.a)(Cr,(function(t){return t.totalWidth})),Dr=function(t){return t.filter},Rr=Object(L.a)(Dr,(function(t){return t.filterModel})),Lr=Object(L.a)(Dr,(function(t){return t.visibleRowsLookup})),Ir=(Object(L.a)(Dr,(function(t){return t.filteredDescendantCountLookup})),Object(L.a)(Lr,wr,(function(t,e){return e.filter((function(e){return!1!==t[e.id]}))}))),Nr=Object(L.a)(Ir,(function(t){return t.map((function(t){return t.id}))})),Fr=Object(L.a)(Ir,mr,br,(function(t,e,r){return r<2?t:t.filter((function(t){var r;return 0===(null===(r=e[t.id])||void 0===r?void 0:r.depth)}))})),Br=Object(L.a)(Ir,(function(t){return t.length})),zr=Object(L.a)(Fr,(function(t){return t.length})),Hr=Object(L.a)(Rr,kr,(function(t,e){var r;return null===(r=t.items)||void 0===r?void 0:r.filter((function(t){var r,n;if(!t.columnField)return!1;var i=e[t.columnField];if(!(null==i?void 0:i.filterOperators)||0===(null===(r=null==i?void 0:i.filterOperators)||void 0===r?void 0:r.length))return!1;var o=i.filterOperators.find((function(e){return e.value===t.operatorValue}));return!!o&&(!o.InputComponent||null!=t.value&&""!==(null===(n=t.value)||void 0===n?void 0:n.toString()))}))})),Ur=Object(L.a)(Hr,(function(t){return t.reduce((function(t,e){return t[e.columnField]?t[e.columnField].push(e):t[e.columnField]=[e],t}),{})}));function Wr(){var t,e,r,n=ft(),i=mt(),o=lr(n,hr),a=lr(n,Br),s=!i.loading&&0===o,c=!i.loading&&o>0&&0===a;return s?b.createElement(i.components.NoRowsOverlay,Object.assign({},null===(t=i.componentsProps)||void 0===t?void 0:t.noRowsOverlay)):c?b.createElement(i.components.NoResultsOverlay,Object.assign({},null===(e=i.componentsProps)||void 0===e?void 0:e.noResultsOverlay)):i.loading?b.createElement(i.components.LoadingOverlay,Object.assign({},null===(r=i.componentsProps)||void 0===r?void 0:r.loadingOverlay)):null}var qr=function(t){return t.selection},Vr=Object(L.a)(qr,(function(t){return t.length})),Gr=Object(L.a)(qr,pr,(function(t,e){return new Map(t.map((function(t){return[t,e[t]]})))})),Yr=Object(L.a)(qr,(function(t){return t.reduce((function(t,e){return t[e]=e,t}),{})})),Xr=function(t){return t.density},$r=Object(L.a)(Xr,(function(t){return t.value})),Kr=Object(L.a)(Xr,(function(t){return t.rowHeight})),Zr=Object(L.a)(Xr,(function(t){return t.headerHeight}));function Jr(t){var e=t.children,r=t.VirtualScrollerComponent,n=t.ColumnHeadersComponent,i=ft(),a=mt(),s=lr(i,qr),c=lr(i,Zr),u=b.useState(a.disableVirtualization),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useCallback((function(){h(!0)}),[]),p=b.useCallback((function(){h(!1)}),[]);i.current.unstable_disableVirtualization=d,i.current.unstable_enableVirtualization=p;var v=b.useRef(null),g=b.useRef(null),y=b.useRef(null),w=b.useRef(null);i.current.columnHeadersContainerElementRef=g,i.current.columnHeadersElementRef=v,i.current.windowRef=y,i.current.renderingZoneRef=w;var x=b.useCallback((function(t){return i.current.publishEvent(o.resize,t)}),[i]),O=b.useMemo((function(){return"function"==typeof a.isRowSelectable?s.filter((function(t){return a.isRowSelectable(i.current.getRowParams(t))})):s}),[i,a.isRowSelectable,s]),_=b.useMemo((function(){return O.reduce((function(t,e){return t[e]=e,t}),{})}),[O]);return b.createElement(vt,null,b.createElement(Wr,null),b.createElement(n,{ref:g,innerRef:v}),b.createElement(wt,{nonce:a.nonce,disableHeight:a.autoHeight,onResize:x},(function(t){var e={width:t.width,height:t.height?t.height-c:"auto",marginTop:c};return b.createElement(r,{ref:y,style:e,selectionLookup:_,disableVirtualization:f})})),e)}var Qr=function(t){Object(d.a)(r,t);var e=Object(p.a)(r);function r(){return Object(f.a)(this,r),e.apply(this,arguments)}return Object(h.a)(r,[{key:"componentDidCatch",value:function(t,e){this.props.api.current&&(this.logError(t),this.props.api.current.showError({error:t,errorInfo:e}))}},{key:"logError",value:function(t,e){this.props.logger.error("An unexpected error occurred. Error: ".concat(t&&t.message,". "),t,e)}},{key:"render",value:function(){var t;return this.props.hasError||(null===(t=this.state)||void 0===t?void 0:t.hasError)?this.props.render(this.props.componentProps||this.state):this.props.children}}],[{key:"getDerivedStateFromError",value:function(t){return{hasError:!0,error:t}}}]),r}(b.Component);function tn(t){var e=t.children,r=ft(),n=sr(r,"GridErrorHandler"),i=mt(),o=ur(r),a=Object(m.a)(o,1)[0];return b.createElement(Qr,{hasError:null!=a.error,componentProps:a.error,api:r,logger:n,render:function(t){var e;return b.createElement(vt,null,b.createElement(i.components.ErrorOverlay,Object.assign({},t,null===(e=i.componentsProps)||void 0===e?void 0:e.errorOverlay)))}},e)}function en(){var t,e=ft(),r=mt(),n=b.useRef(null);return e.current.footerRef=n,r.hideFooter?null:b.createElement("div",{ref:n},b.createElement(r.components.Footer,Object.assign({},null===(t=r.componentsProps)||void 0===t?void 0:t.footer)))}function rn(){var t,e=ft(),r=mt(),n=b.useRef(null);return e.current.headerRef=n,b.createElement("div",{ref:n},b.createElement(r.components.Header,Object.assign({},null===(t=r.componentsProps)||void 0===t?void 0:t.header)))}function nn(t){var e=t.item,r=t.applyValue,n=t.apiRef,i=t.focusElementRef,o=gt(t,["item","applyValue","apiRef","focusElementRef"]),a=b.useState(e.value||""),s=Object(m.a)(a,2),c=s[0],u=s[1],l=b.useCallback((function(t){var n=t.target.value;u(n),r(Object.assign(Object.assign({},e),{value:n}))}),[r,e]);return b.useEffect((function(){u(e.value||"")}),[e.value]),b.createElement(N.a,Object.assign({label:n.current.getLocaleText("filterPanelInputLabel"),value:c,onChange:l,variant:"standard",select:!0,SelectProps:{native:!0},InputLabelProps:{shrink:!0},inputRef:i},o),b.createElement("option",{value:""},n.current.getLocaleText("filterValueAny")),b.createElement("option",{value:"true"},n.current.getLocaleText("filterValueTrue")),b.createElement("option",{value:"false"},n.current.getLocaleText("filterValueFalse")))}var on=Object(A.a)(b.createElement("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward"),an=Object(A.a)(b.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),sn=Object(A.a)(b.createElement("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight"),cn=Object(A.a)(b.createElement("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandMore"),un=Object(A.a)(b.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList"),ln=Object(A.a)(b.createElement("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"}),"FilterAlt"),fn=(Object(A.a)(b.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search"),Object(A.a)(b.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu"),Object(A.a)(b.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle"),Object(A.a)(b.createElement("path",{d:"M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"}),"ColumnIcon")),hn=Object(A.a)(b.createElement("path",{d:"M11 19V5h2v14z"}),"Separator"),dn=Object(A.a)(b.createElement("path",{d:"M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"}),"ViewHeadline"),pn=Object(A.a)(b.createElement("path",{d:"M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"}),"TableRows"),mn=Object(A.a)(b.createElement("path",{d:"M4 18h17v-6H4v6zM4 5v6h17V5H4z"}),"ViewStream"),bn=Object(A.a)(b.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"TripleDotsVertical"),vn=Object(A.a)(b.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),gn=Object(A.a)(b.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),yn=Object(A.a)(b.createElement("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Load"),wn=Object(A.a)(b.createElement("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"Drag"),xn=Object(A.a)(b.createElement("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),On=Object(A.a)(b.createElement("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),_n=Object(A.a)(b.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");function Sn(t){var e,r=t.item,n=t.applyValue,i=t.type,o=t.apiRef,a=t.focusElementRef,s=gt(t,["item","applyValue","type","apiRef","focusElementRef"]),c=b.useRef(),u=b.useState(null!==(e=r.value)&&void 0!==e?e:""),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useState(!1),p=Object(m.a)(d,2),v=p[0],g=p[1],y=Object(T.a)(),w=b.useCallback((function(t){var e=t.target.value;clearTimeout(c.current),h(String(e)),g(!0),c.current=setTimeout((function(){n(Object.assign(Object.assign({},r),{value:e})),g(!1)}),500)}),[n,r]);b.useEffect((function(){return function(){clearTimeout(c.current)}}),[]),b.useEffect((function(){var t,e=null!==(t=r.value)&&void 0!==t?t:"";h(String(e))}),[r.value]);var x=Object.assign(Object.assign(Object.assign({},v?{endAdornment:b.createElement(yn,null)}:{}),{max:"datetime-local"===i?"9999-12-31T23:59":"9999-12-31"}),s.InputProps);return b.createElement(N.a,Object.assign({id:y,label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:w,type:i||"text",variant:"standard",InputLabelProps:{shrink:!0},inputRef:a},s,{InputProps:x}))}var kn=/(\d+)-(\d+)-(\d+)/,En=/(\d+)-(\d+)-(\d+)T(\d+):(\d+)/;function Mn(t,e,r,n){if(!t.value)return null;var i=t.value.match(r?En:kn).slice(1).map(Number),o=Object(m.a)(i,5),a=o[0],s=o[1],c=o[2],u=o[3],l=o[4],f=new Date(a,s-1,c,u||0,l||0).getTime();return function(t){var i=t.value;if(!i)return!1;var o=i instanceof Date?i:new Date(i.toString());if(n)return e(o.getTime(),f);var a=(i instanceof Date?new Date(o):o).setHours(r?o.getHours():0,r?o.getMinutes():0,0,0);return e(a,f)}}var Cn=function(t){return[{value:"is",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t===e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"not",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t!==e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"after",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t>e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"onOrAfter",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t>=e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"before",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t<e}),t,!t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"onOrBefore",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t<=e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"isEmpty",getApplyFilterFn:function(){return function(t){return null==t.value}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){return null!=t.value}}}]},jn=function(t,e){var r=t.valueOptions,n=t.valueFormatter,i=t.field;return[""].concat("function"==typeof r?Object(l.a)(r({field:i})):Object(l.a)(r||[])).map((function(t){return"object"==typeof t?b.createElement("option",{key:t.value,value:t.value},t.label):b.createElement("option",{key:t,value:t},n&&""!==t?n({value:t,field:i,api:e}):t)}))};function An(t){var e,r=t.item,n=t.applyValue,i=t.type,o=t.apiRef,a=t.focusElementRef,s=gt(t,["item","applyValue","type","apiRef","focusElementRef"]),c=b.useRef(),u=b.useState(null!==(e=r.value)&&void 0!==e?e:""),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useState(!1),p=Object(m.a)(d,2),v=p[0],g=p[1],y=Object(T.a)(),w="singleSelect"===i?{select:!0,SelectProps:{native:!0},children:jn(o.current.getColumn(r.columnField),o.current)}:{},x=b.useCallback((function(t){var e=t.target.value;if("singleSelect"===i){var a=o.current.getColumn(r.columnField),s="function"==typeof a.valueOptions?a.valueOptions({field:a.field}):a.valueOptions;e=s.map((function(t){return"object"==typeof t?t.value:t})).find((function(t){return String(t)===e}))}clearTimeout(c.current),h(String(e)),g(!0),c.current=setTimeout((function(){n(Object.assign(Object.assign({},r),{value:e})),g(!1)}),500)}),[o,n,r,i]);b.useEffect((function(){return function(){clearTimeout(c.current)}}),[]),b.useEffect((function(){var t,e=null!==(t=r.value)&&void 0!==t?t:"";h(String(e))}),[r.value]);var O=v?{endAdornment:b.createElement(yn,null)}:s.InputProps;return b.createElement(N.a,Object.assign({id:y,label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:x,type:i||"text",variant:"standard",InputProps:O,InputLabelProps:{shrink:!0},inputRef:a},w,s))}var Tn=function(t){return null==t?null:Number(t)};function Pn(t){var e,r=t.item,n=t.applyValue,i=t.type,o=t.apiRef,a=t.focusElementRef,s=gt(t,["item","applyValue","type","apiRef","focusElementRef"]),c=b.useState(null!==(e=r.value)&&void 0!==e?e:""),u=Object(m.a)(c,2),f=u[0],h=u[1],d=Object(T.a)(),p=b.useCallback((function(t){var e=t.target.value,i=o.current.getColumn(r.columnField),a="function"==typeof i.valueOptions?i.valueOptions({field:i.field}):i.valueOptions;e=a.map((function(t){return"object"==typeof t?t.value:t})).find((function(t){return String(t)===e})),h(String(e)),n(Object.assign(Object.assign({},r),{value:e}))}),[o,n,r]);return b.useEffect((function(){var t,e=null!==(t=r.value)&&void 0!==t?t:"";h(String(e))}),[r.value]),b.createElement(N.a,Object.assign({id:d,label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:p,type:i||"text",variant:"standard",InputLabelProps:{shrink:!0},inputRef:a,select:!0,SelectProps:{native:!0}},s),function(t,e){var r=t.valueOptions,n=t.valueFormatter,i=t.field;return[""].concat("function"==typeof r?Object(l.a)(r({field:i})):Object(l.a)(r||[])).map((function(t){return"object"==typeof t?b.createElement("option",{key:t.value,value:t.value},t.label):b.createElement("option",{key:t,value:t},n&&""!==t?n({value:t,field:i,api:e}):t)}))}(o.current.getColumn(r.columnField),o.current))}var Dn=Object(_.a)(F.c,{name:"MuiDataGrid",slot:"EditInputCell",overridesResolver:function(t,e){return e.editInputCell}})((function(t){var e=t.theme;return Object.assign(Object.assign({},e.typography.body2),{padding:"1px 0","& input":{padding:"0 16px",height:"100%"}})}));function Rn(t){var e=t.id,r=t.value,n=(t.formattedValue,t.api),i=t.field,o=(t.row,t.rowNode,t.colDef),a=(t.cellMode,t.isEditable,t.tabIndex,t.hasFocus),s=(t.getValue,gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue"])),c=b.useRef(),u=b.useState(r),l=Object(m.a)(u,2),f=l[0],h=l[1],d=function(t){var e=t.classes;return Object(O.a)({root:["editInputCell"]},ht,e)}({classes:mt().classes}),p=b.useCallback((function(t){var r=t.target.value;h(r),n.setEditCellValue({id:e,field:i,value:r},t)}),[n,i,e]);return b.useEffect((function(){h(r)}),[r]),Object(C.a)((function(){a&&c.current.focus()}),[a]),b.createElement(Dn,Object.assign({inputRef:c,className:d.root,fullWidth:!0,type:"number"===o.type?o.type:"text",value:f||"",onChange:p},s))}var Ln=function(t,e){var r=t.indexOf(e);return e&&-1!==r&&r+1!==t.length?t[r+1]:t[0]},In=function(t,e){return null==t&&null!=e?-1:null==e&&null!=t?1:null==t&&null==e?0:null},Nn=new Intl.Collator,Fn=function(t,e){var r=In(t,e);return null!==r?r:Number(t)-Number(e)},Bn=function(t,e){var r=In(t,e);return null!==r?r:t>e?1:t<e?-1:0},zn={width:100,minWidth:50,hide:!1,sortable:!0,resizable:!0,filterable:!0,sortComparator:function(t,e){var r=In(t,e);return null!==r?r:"string"==typeof t?Nn.compare(t.toString(),e.toString()):t-e},type:"string",align:"left",filterOperators:[{value:"contains",getApplyFilterFn:function(t){if(!t.value)return null;var e=new RegExp(ar(t.value),"i");return function(t){var r=t.value;return e.test(r&&r.toString()||"")}},InputComponent:An},{value:"equals",getApplyFilterFn:function(t){if(!t.value)return null;var e=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return function(r){var n=r.value;return 0===e.compare(t.value,n&&n.toString()||"")}},InputComponent:An},{value:"startsWith",getApplyFilterFn:function(t){if(!t.value)return null;var e=new RegExp("^".concat(ar(t.value),".*$"),"i");return function(t){var r=t.value;return e.test(r&&r.toString()||"")}},InputComponent:An},{value:"endsWith",getApplyFilterFn:function(t){if(!t.value)return null;var e=new RegExp(".*".concat(ar(t.value),"$"),"i");return function(t){var r=t.value;return e.test(r&&r.toString()||"")}},InputComponent:An},{value:"isEmpty",getApplyFilterFn:function(){return function(t){var e=t.value;return""===e||null==e}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){var e=t.value;return""!==e&&null!=e}}}],renderEditCell:function(t){return b.createElement(Rn,Object.assign({},t))}},Hn=Object(_.a)(q.a,{name:"MuiDataGrid",slot:"Menu",overridesResolver:function(t,e){return e.menu}})((function(t){var e=t.theme;return Object(u.a)({zIndex:e.zIndex.modal},"& .".concat(dt.menuList),{outline:0})})),Un={"bottom-start":"top left","bottom-end":"top right"},Wn=function(t){var e=t.open,r=t.target,n=t.onClickAway,i=t.children,o=t.position,a=t.className,s=gt(t,["open","target","onClickAway","children","position","className"]),c=b.useRef(r),u=b.useRef(e),l=function(t){var e=t.classes;return Object(O.a)({root:["menu"]},ht,e)}({classes:mt().classes});return b.useEffect((function(){u.current&&c.current&&c.current.focus(),u.current=e,c.current=r}),[e,r]),b.createElement(Hn,Object.assign({className:Object(I.a)(a,l.root),open:e,anchorEl:r,transition:!0,placement:o},s),(function(t){var e=t.TransitionProps,r=t.placement;return b.createElement(H.a,{onClickAway:n},b.createElement(U.a,Object.assign({},e,{style:{transformOrigin:Un[r]}}),b.createElement(W.a,null,i)))}))},qn=function(t){var e=b.useState(!1),r=Object(m.a)(e,2),n=r[0],i=r[1],o=b.useRef(null),a=Object(T.a)(),s=Object(T.a)(),c=mt(),u=t.colDef,l=t.id,f=t.api,h=t.position,d=void 0===h?"bottom-end":h;if(!function(t){return"function"==typeof t.getActions}(u))throw new Error("MUI: Missing the `getActions` property in the `GridColDef`.");var p=function(){return i(!1)},v=u.getActions(f.getRowParams(l)),g=v.filter((function(t){return!t.props.showInMenu})),y=v.filter((function(t){return t.props.showInMenu}));return b.createElement("div",{className:dt.actionsCell},g.map((function(t,e){return b.cloneElement(t,{key:e})})),y.length>0&&b.createElement(B.a,{ref:o,id:s,"aria-label":f.getLocaleText("actionsCellMore"),"aria-controls":a,"aria-expanded":n?"true":void 0,"aria-haspopup":"true",size:"small",onClick:function(t){t.stopPropagation(),i(!0)}},b.createElement(c.components.MoreActionsIcon,{fontSize:"small"})),y.length>0&&b.createElement(Wn,{id:a,onClickAway:p,onClick:p,open:n,target:o.current,position:d,"aria-labelledby":s},b.createElement(z.a,{className:dt.menuList},y.map((function(t,e){return b.cloneElement(t,{key:e})})))))},Vn=Object.assign(Object.assign({},zn),{sortable:!1,filterable:!1,width:100,align:"center",headerAlign:"center",headerName:"",disableColumnMenu:!0,disableExport:!0,renderCell:function(t){return b.createElement(qn,Object.assign({},t))}}),Gn=b.memo((function(t){t.id;var e=t.value,r=(t.formattedValue,t.api),n=(t.field,t.row,t.rowNode,t.colDef,t.cellMode,t.isEditable,t.hasFocus,t.tabIndex,t.getValue,gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","hasFocus","tabIndex","getValue"])),i=mt(),o=function(t){var e=t.classes;return Object(O.a)({root:["booleanCell"]},ht,e)}({classes:i.classes}),a=b.useMemo((function(){return e?i.components.BooleanCellTrueIcon:i.components.BooleanCellFalseIcon}),[i.components.BooleanCellFalseIcon,i.components.BooleanCellTrueIcon,e]);return b.createElement(a,Object.assign({fontSize:"small",className:o.root,titleAccess:r.getLocaleText(e?"booleanCellTrueLabel":"booleanCellFalseLabel"),"data-value":Boolean(e)},n))}));function Yn(t){var e=t.id,r=t.value,n=(t.formattedValue,t.api),i=t.field,o=(t.row,t.rowNode,t.colDef,t.cellMode,t.isEditable,t.tabIndex,t.className),a=(t.getValue,t.hasFocus),s=gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus"]),c=b.useRef(null),u=Object(T.a)(),l=b.useState(r),f=Object(m.a)(l,2),h=f[0],d=f[1],p=function(t){var e=t.classes;return Object(O.a)({root:["editBooleanCell"]},ht,e)}({classes:mt().classes}),v=b.useCallback((function(t){var r=t.target.checked;d(r),n.setEditCellValue({id:e,field:i,value:r},t)}),[n,i,e]);return b.useEffect((function(){d(r)}),[r]),Object(C.a)((function(){a&&c.current.focus()}),[a]),b.createElement("label",Object.assign({htmlFor:u,className:Object(I.a)(p.root,o)},s),b.createElement(G.a,{id:u,inputRef:c,checked:Boolean(h),onChange:v,size:"small"}))}var Xn=Object.assign(Object.assign({},zn),{type:"boolean",align:"center",headerAlign:"center",renderCell:function(t){return b.createElement(Gn,Object.assign({},t))},renderEditCell:function(t){return b.createElement(Yn,Object.assign({},t))},sortComparator:Fn,valueFormatter:function(t){var e=t.value,r=t.api;return e?r.getLocaleText("booleanCellTrueLabel"):r.getLocaleText("booleanCellFalseLabel")},filterOperators:[{value:"is",getApplyFilterFn:function(t){if(!t.value)return null;var e="true"===t.value;return function(t){var r=t.value;return Boolean(r)===e}},InputComponent:nn}]}),$n=function(t){return"Escape"===t},Kn=function(t){return"Enter"===t},Zn=function(t){return"Tab"===t},Jn=function(t){return" "===t},Qn=function(t){return"Delete"===t||"Backspace"===t},ti=/^((?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])|(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF])(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])|(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF])|(?:[0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9])|[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]|(?:[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA])|(?:[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]))$/i,ei=function(t){return ti.test(t)},ri=["Enter","Escape","Tab"],ni=["Enter","Tab"],ii=function(t){return ni.indexOf(t)>-1},oi=function(t){return function(t){return"Home"===t||"End"===t}(t)||function(t){return 0===t.indexOf("Arrow")}(t)||function(t){return 0===t.indexOf("Page")}(t)||Jn(t)},ai=function(t){return!!t.key},si=function(t){return Zn(t)||$n(t)},ci=b.forwardRef((function(t,e){var r,n=t.field,i=t.id,a=t.value,s=t.tabIndex,c=t.hasFocus,u=ft(),l=mt(),f=function(t){var e=t.classes;return Object(O.a)({root:["checkboxInput"]},ht,e)}({classes:l.classes}),h=b.useRef(null),d=Object(j.a)(h,e),p=u.current.getCellElement(i,n);b.useLayoutEffect((function(){0===s&&p&&(p.tabIndex=-1)}),[p,s]),b.useLayoutEffect((function(){c&&h.current&&h.current.querySelector("input").focus()}),[c]);var m=b.useCallback((function(e){Jn(e.key)&&e.stopPropagation(),oi(e.key)&&!e.shiftKey&&u.current.publishEvent(o.cellNavigationKeyDown,t,e)}),[u,t]),v=!l.isRowSelectable||l.isRowSelectable(u.current.getRowParams(i));return b.createElement(l.components.BaseCheckbox,Object.assign({ref:d,tabIndex:s,checked:!!a,onChange:function(t){var e={value:t.target.checked,id:i};u.current.publishEvent(o.rowSelectionCheckboxChange,e,t)},onClick:function(t){t.stopPropagation()},className:f.root,color:"primary",inputProps:{"aria-label":"Select Row checkbox"},onKeyDown:m,disabled:!v},null===(r=l.componentsProps)||void 0===r?void 0:r.baseCheckbox))})),ui=b.memo(ci),li=function(t){return t.focus},fi=Object(L.a)(li,(function(t){return t.cell})),hi=Object(L.a)(li,(function(t){return t.columnHeader})),di=function(t){return t.tabIndex},pi=Object(L.a)(di,(function(t){return t.cell})),mi=Object(L.a)(di,(function(t){return t.columnHeader})),bi=function(t){return t.pagination},vi=Object(L.a)(bi,(function(t){return t.page})),gi=Object(L.a)(bi,(function(t){return t.pageSize})),yi=Object(L.a)(bi,mr,br,Ir,Fr,(function(t,e,r,n,i){var o=i.length,a=Math.min(t.pageSize*t.page,o-1),s=Math.min(a+t.pageSize-1,o-1);if(-1===a||-1===s)return null;if(r<2)return{firstRowIndex:a,lastRowIndex:s};for(var c=i[a],u=s-a+1,l=n.findIndex((function(t){return t.id===c.id})),f=l,h=0;f<n.length&&h<=u;){var d=e[n[f].id].depth;(h<u||d>0)&&(f+=1),0===d&&(h+=1)}return{firstRowIndex:l,lastRowIndex:f-1}})),wi=Object(L.a)(Ir,yi,(function(t,e){return e?t.slice(e.firstRowIndex,e.lastRowIndex+1):[]})),xi=Object(L.a)(Nr,yi,(function(t,e){return e?t.slice(e.firstRowIndex,e.lastRowIndex+1):[]})),Oi=b.forwardRef((function(t,e){var r,n=b.useState(!1),i=Object(m.a)(n,2)[1],a=ft(),s=mt(),c=function(t){var e=t.classes;return Object(O.a)({root:["checkboxInput"]},ht,e)}({classes:s.classes}),u=lr(a,mi),l=lr(a,qr),f=lr(a,Nr),h=lr(a,xi),d=b.useMemo((function(){return"function"==typeof s.isRowSelectable?l.filter((function(t){return s.isRowSelectable(a.current.getRowParams(t))})):l}),[a,s.isRowSelectable,l]),p=b.useMemo((function(){return(s.pagination&&s.checkboxSelectionVisibleOnly?h:f).reduce((function(t,e){return t[e]=!0,t}),{})}),[s.pagination,s.checkboxSelectionVisibleOnly,h,f]),v=b.useMemo((function(){return d.filter((function(t){return p[t]})).length}),[d,p]),g=v>0&&v<Object.keys(p).length,y=v>0,w=null!==u&&u.field===t.field?0:-1;b.useLayoutEffect((function(){var e=a.current.getColumnHeaderElement(t.field);0===w&&e&&(e.tabIndex=-1)}),[w,a,t.field]);var x=b.useCallback((function(e){Jn(e.key)&&e.stopPropagation(),oi(e.key)&&!e.shiftKey&&a.current.publishEvent(o.columnHeaderNavigationKeyDown,t,e)}),[a,t]),_=b.useCallback((function(){i((function(t){return!t}))}),[]);return b.useEffect((function(){return a.current.subscribeEvent(o.selectionChange,_)}),[a,_]),b.createElement(s.components.BaseCheckbox,Object.assign({ref:e,indeterminate:g,checked:y,onChange:function(t){var e={value:t.target.checked};a.current.publishEvent(o.headerSelectionCheckboxChange,e)},className:c.root,color:"primary",inputProps:{"aria-label":"Select All Rows checkbox"},tabIndex:w,onKeyDown:x},null===(r=s.componentsProps)||void 0===r?void 0:r.baseCheckbox))})),_i=Object.assign(Object.assign({},Xn),{field:"__check__",type:"checkboxSelection",width:50,resizable:!1,sortable:!1,filterable:!1,disableColumnMenu:!0,disableReorder:!0,disableExport:!0,valueGetter:function(t){return void 0!==Yr(t.api.state)[t.id]},renderHeader:function(t){return b.createElement(Oi,Object.assign({},t))},renderCell:function(t){return b.createElement(ui,Object.assign({},t))}});function Si(t){var e,r,n=t.id,i=t.value,o=(t.formattedValue,t.api),a=t.field,s=(t.row,t.rowNode,t.colDef),c=(t.cellMode,t.isEditable,t.tabIndex,t.hasFocus),u=(t.getValue,gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue"])),l="dateTime"===s.type,f=b.useRef(),h=b.useMemo((function(){var t,e;return e=null==(t=null==i?null:i instanceof Date?i:new Date((null!=i?i:"").toString()))||Number.isNaN(t.getTime())?"":new Date(t.getTime()-60*t.getTimezoneOffset()*1e3).toISOString().substr(0,l?16:10),{parsed:t,formatted:e}}),[i,l]),d=b.useState(h),p=Object(m.a)(d,2),v=p[0],g=p[1],y=function(t){var e=t.classes;return Object(O.a)({root:["editInputCell"]},ht,e)}({classes:mt().classes}),w=b.useCallback((function(t){var e,r=t.target.value;if(""===r)e=null;else{var i=r.split("T"),s=Object(m.a)(i,2),c=s[0],u=s[1],l=c.split("-"),f=Object(m.a)(l,3),h=f[0],d=f[1],p=f[2];if((e=new Date).setFullYear(Number(h)),e.setMonth(Number(d)-1),e.setDate(Number(p)),e.setHours(0,0,0,0),u){var b=u.split(":"),v=Object(m.a)(b,2),y=v[0],w=v[1];e.setHours(Number(y),Number(w),0,0)}}g({parsed:e,formatted:r}),o.setEditCellValue({id:n,field:a,value:e},t)}),[o,a,n]);return h.parsed!==v.parsed&&(null===(e=h.parsed)||void 0===e?void 0:e.getTime())!==(null===(r=v.parsed)||void 0===r?void 0:r.getTime())&&g(h),Object(C.a)((function(){c&&f.current.focus()}),[c]),b.createElement(F.c,Object.assign({inputRef:f,fullWidth:!0,className:y.root,type:l?"datetime-local":"date",value:v.formatted,onChange:w},u))}var ki=function(t){return b.createElement(Si,Object.assign({},t))};var Ei,Mi,Ci,ji=Object.assign(Object.assign({},zn),{type:"date",sortComparator:Bn,valueFormatter:function(t){var e=t.value;return e instanceof Date?e.toLocaleDateString():e},filterOperators:Cn(),renderEditCell:ki}),Ai=Object.assign(Object.assign({},zn),{type:"dateTime",sortComparator:Bn,valueFormatter:function(t){var e=t.value;return e instanceof Date?e.toLocaleString():e},filterOperators:Cn(!0),renderEditCell:ki}),Ti=Object.assign(Object.assign({},zn),{type:"number",align:"right",headerAlign:"right",sortComparator:Fn,valueParser:function(t){return""===t?null:Number(t)},valueFormatter:function(t){var e=t.value;return e&&function(t){return"number"==typeof t}(e)&&e.toLocaleString()||e},filterOperators:[{label:"=",value:"=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return Tn(r)===t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:"!=",value:"!=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return Tn(r)!==t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:">",value:">",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)>t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:">=",value:">=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)>=t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:"<",value:"<",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)<t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:"<=",value:"<=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)<=t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{value:"isEmpty",getApplyFilterFn:function(){return function(t){return null==t.value}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){return null!=t.value}}}]});!function(t){t.Cell="cell",t.Row="row"}(Ei||(Ei={})),function(t){t.Edit="edit",t.View="view"}(Mi||(Mi={})),function(t){t.Edit="edit",t.View="view"}(Ci||(Ci={}));var Pi=function(t){return"object"==typeof t?b.createElement(X.a,{key:t.value,value:t.value},t.label):b.createElement(X.a,{key:t,value:t},t)};function Di(t){var e,r=this,n=t.id,i=t.value,a=(t.formattedValue,t.api),s=t.field,u=t.row,l=(t.rowNode,t.colDef),f=(t.cellMode,t.isEditable,t.tabIndex,t.className,t.getValue,t.hasFocus),h=t.error,d=gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","error"]),p=b.useRef(),v=b.useRef(),g=mt(),y=b.useState("cell"===g.editMode),w=Object(m.a)(y,2),x=w[0],O=w[1];return e="function"==typeof l.valueOptions?l.valueOptions({id:n,row:u,field:s}):l.valueOptions,l.valueFormatter&&(e=e.map((function(t){if("object"==typeof t)return t;var e={field:s,api:a,value:t};return{value:t,label:String(l.valueFormatter(e))}}))),Object(C.a)((function(){f&&v.current.focus()}),[f]),b.createElement(Y.a,Object.assign({ref:p,inputRef:v,value:i,onChange:function(t){return yt(r,void 0,void 0,c.a.mark((function e(){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(O(!1),a.setEditCellValue({id:n,field:s,value:t.target.value},t),g.editMode!==Ei.Row){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Promise.resolve(a.commitCellChange({id:n,field:s},t));case 4:if(e.t0=e.sent,!e.t0){e.next=7;break}e.t0=(a.setCellMode(n,s,"view"),t.key);case 7:if(!e.t0){e.next=10;break}r=a.getCellParams(n,s),a.publishEvent(o.cellNavigationKeyDown,r,t);case 10:case"end":return e.stop()}}),e)})))},open:x,onOpen:function(){O(!0)},MenuProps:{onClose:function(t,e){g.editMode!==Ei.Row?("backdropClick"===e||$n(t.key))&&a.setCellMode(n,s,"view"):O(!1)}},error:h,fullWidth:!0},d),e.map(Pi))}var Ri,Li,Ii,Ni=Object.assign(Object.assign({},zn),{type:"singleSelect",renderEditCell:function(t){return b.createElement(Di,Object.assign({},t))},filterOperators:[{value:"is",getApplyFilterFn:function(t){return null==t.value||""===t.value?null:function(e){var r=e.value;return"object"==typeof r?t.value===r.value:t.value===r}},InputComponent:Pn},{value:"not",getApplyFilterFn:function(t){return null==t.value||""===t.value?null:function(e){var r=e.value;return"object"==typeof r?t.value!==r.value:t.value!==r}},InputComponent:Pn}]}),Fi=function(){var t={string:zn,number:Ti,date:ji,dateTime:Ai,boolean:Xn,singleSelect:Ni,actions:Vn};return t.__default__=zn,t},Bi="client",zi="server";!function(t){t.And="and",t.Or="or"}(Ri||(Ri={})),function(t){t.Compact="compact",t.Standard="standard",t.Comfortable="comfortable"}(Li||(Li={}));var Hi,Ui=Object(_.a)("div",{name:"MuiDataGrid",slot:"Root",overridesResolver:function(t,e){return[Object(u.a)({},"&.".concat(dt.autoHeight),e.autoHeight),Object(u.a)({},"& .".concat(dt.editBooleanCell),e.editBooleanCell),Object(u.a)({},"& .".concat(dt["cell--editing"]),e["cell--editing"]),Object(u.a)({},"& .".concat(dt["cell--textCenter"]),e["cell--textCenter"]),Object(u.a)({},"& .".concat(dt["cell--textLeft"]),e["cell--textLeft"]),Object(u.a)({},"& .".concat(dt["cell--textRight"]),e["cell--textRight"]),Object(u.a)({},"& .".concat(dt["cell--withRenderer"]),e["cell--withRenderer"]),Object(u.a)({},"& .".concat(dt.cell),e.cell),Object(u.a)({},"& .".concat(dt.cellCheckbox),e.cellCheckbox),Object(u.a)({},"& .".concat(dt.checkboxInput),e.checkboxInput),Object(u.a)({},"& .".concat(dt["columnHeader--alignCenter"]),e["columnHeader--alignCenter"]),Object(u.a)({},"& .".concat(dt["columnHeader--alignLeft"]),e["columnHeader--alignLeft"]),Object(u.a)({},"& .".concat(dt["columnHeader--alignRight"]),e["columnHeader--alignRight"]),Object(u.a)({},"& .".concat(dt["columnHeader--dragging"]),e["columnHeader--dragging"]),Object(u.a)({},"& .".concat(dt["columnHeader--moving"]),e["columnHeader--moving"]),Object(u.a)({},"& .".concat(dt["columnHeader--numeric"]),e["columnHeader--numeric"]),Object(u.a)({},"& .".concat(dt["columnHeader--sortable"]),e["columnHeader--sortable"]),Object(u.a)({},"& .".concat(dt["columnHeader--sorted"]),e["columnHeader--sorted"]),Object(u.a)({},"& .".concat(dt.columnHeader),e.columnHeader),Object(u.a)({},"& .".concat(dt.columnHeaderCheckbox),e.columnHeaderCheckbox),Object(u.a)({},"& .".concat(dt.columnHeaderDraggableContainer),e.columnHeaderDraggableContainer),Object(u.a)({},"& .".concat(dt.columnHeaderTitleContainer),e.columnHeaderTitleContainer),Object(u.a)({},"& .".concat(dt["columnSeparator--resizable"]),e["columnSeparator--resizable"]),Object(u.a)({},"& .".concat(dt["columnSeparator--resizing"]),e["columnSeparator--resizing"]),Object(u.a)({},"& .".concat(dt.columnSeparator),e.columnSeparator),Object(u.a)({},"& .".concat(dt.filterIcon),e.filterIcon),Object(u.a)({},"& .".concat(dt.iconSeparator),e.iconSeparator),Object(u.a)({},"& .".concat(dt.menuIcon),e.menuIcon),Object(u.a)({},"& .".concat(dt.menuIconButton),e.menuIconButton),Object(u.a)({},"& .".concat(dt.menuOpen),e.menuOpen),Object(u.a)({},"& .".concat(dt.menuList),e.menuList),Object(u.a)({},"& .".concat(dt["row--editable"]),e["row--editable"]),Object(u.a)({},"& .".concat(dt["row--editing"]),e["row--editing"]),Object(u.a)({},"& .".concat(dt.row),e.row),Object(u.a)({},"& .".concat(dt.sortIcon),e.sortIcon),Object(u.a)({},"& .".concat(dt.withBorder),e.withBorder),Object(u.a)({},"& .".concat(dt.treeDataGroupingCell),e.treeDataGroupingCell),Object(u.a)({},"& .".concat(dt.treeDataGroupingCellToggle),e.treeDataGroupingCellToggle),e.root]}})((function(t){var e,r,n=t.theme,i="light"===n.palette.mode?Object(S.e)(Object(S.a)(n.palette.divider,1),.88):Object(S.b)(Object(S.a)(n.palette.divider,1),.68);return Object.assign(Object.assign({flex:1,boxSizing:"border-box",position:"relative",border:"1px solid ".concat(i),borderRadius:n.shape.borderRadius,color:n.palette.text.primary},n.typography.body2),(r={outline:"none",height:"100%",display:"flex",flexDirection:"column"},Object(u.a)(r,"&.".concat(dt.autoHeight),{height:"auto"}),Object(u.a)(r,"& .".concat(dt.columnHeader,", & .").concat(dt.cell),{WebkitTapHighlightColor:"transparent",lineHeight:null,padding:"0 10px",boxSizing:"border-box"}),Object(u.a)(r,"& .".concat(dt.columnHeader,":focus-within, & .").concat(dt.cell,":focus-within"),{outline:"solid ".concat(Object(S.a)(n.palette.primary.main,.5)," 1px"),outlineWidth:1,outlineOffset:-1}),Object(u.a)(r,"& .".concat(dt.columnHeader,":focus, & .").concat(dt.cell,":focus"),{outline:"solid ".concat(n.palette.primary.main," 1px")}),Object(u.a)(r,"& .".concat(dt.columnHeaderCheckbox,", & .").concat(dt.cellCheckbox),{padding:0,justifyContent:"center",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt.columnHeader),{position:"relative",display:"flex",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt["columnHeader--sorted"]," .").concat(dt.iconButtonContainer),{visibility:"visible",width:"auto"}),Object(u.a)(r,"& .".concat(dt.columnHeader,":not(.").concat(dt["columnHeader--sorted"],") .").concat(dt.sortIcon),{opacity:0,transition:n.transitions.create(["opacity"],{duration:n.transitions.duration.shorter})}),Object(u.a)(r,"& .".concat(dt.columnHeader,":not(.").concat(dt["columnHeader--sorted"],"):hover .").concat(dt.sortIcon),{opacity:.5}),Object(u.a)(r,"& .".concat(dt.columnHeaderTitleContainer),{display:"flex",alignItems:"center",minWidth:0,flex:1,whiteSpace:"nowrap",overflow:"hidden",padding:"0 6px"}),Object(u.a)(r,"& .".concat(dt.sortIcon,", & .").concat(dt.filterIcon),{fontSize:"inherit"}),Object(u.a)(r,"& .".concat(dt["columnHeader--sortable"]),{cursor:"pointer"}),Object(u.a)(r,"& .".concat(dt["columnHeader--alignCenter"]," .").concat(dt.columnHeaderTitleContainer),{justifyContent:"center"}),Object(u.a)(r,"& .".concat(dt["columnHeader--alignRight"]," .").concat(dt.columnHeaderDraggableContainer,", & .").concat(dt["columnHeader--alignRight"]," .").concat(dt.columnHeaderTitleContainer),{flexDirection:"row-reverse"}),Object(u.a)(r,"& .".concat(dt["columnHeader--alignCenter"]," .").concat(dt.menuIcon,", & .").concat(dt["columnHeader--alignRight"]," .").concat(dt.menuIcon),{marginRight:"auto",marginLeft:-6}),Object(u.a)(r,"& .".concat(dt["columnHeader--moving"]),{backgroundColor:n.palette.action.hover}),Object(u.a)(r,"& .".concat(dt.columnSeparator),{position:"absolute",right:-12,zIndex:100,display:"flex",flexDirection:"column",justifyContent:"center",color:i}),Object(u.a)(r,"& .".concat(dt["columnSeparator--resizable"]),Object(u.a)({cursor:"col-resize",touchAction:"none","&:hover":{color:n.palette.text.primary,"@media (hover: none)":{color:i}}},"&.".concat(dt["columnSeparator--resizing"]),{color:n.palette.text.primary})),Object(u.a)(r,"& .".concat(dt.iconSeparator),{color:"inherit"}),Object(u.a)(r,"& .".concat(dt.menuIcon),{width:0,visibility:"hidden",fontSize:20,marginRight:-6,display:"flex",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt.columnHeader,":hover"),(e={},Object(u.a)(e,"& .".concat(dt.iconButtonContainer),{visibility:"visible",width:"auto"}),Object(u.a)(e,"& .".concat(dt.menuIcon),{width:"auto",visibility:"visible"}),e)),Object(u.a)(r,".".concat(dt.menuOpen),{visibility:"visible"}),Object(u.a)(r,"& .".concat(dt.row),{display:"flex",width:"fit-content","&:hover":{backgroundColor:n.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},"&.Mui-selected":{backgroundColor:Object(S.a)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(S.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(S.a)(n.palette.primary.main,n.palette.action.selectedOpacity)}}}}),Object(u.a)(r,"& .".concat(dt.cell),{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",borderBottom:"1px solid ".concat(i)}),Object(u.a)(r,"& .".concat(dt.cell,".").concat(dt["cell--editing"]),{padding:1,display:"flex",boxShadow:n.shadows[2],backgroundColor:n.palette.background.paper,"&:focus-within":{outline:"solid ".concat(n.palette.primary.main," 1px"),outlineOffset:"-1px"}}),Object(u.a)(r,"& .".concat(dt["row--editing"]),{boxShadow:n.shadows[2]}),Object(u.a)(r,"& .".concat(dt["row--editing"]," .").concat(dt.cell),{boxShadow:n.shadows[0],backgroundColor:n.palette.background.paper}),Object(u.a)(r,"& .".concat(dt.editBooleanCell),{display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center"}),Object(u.a)(r,"& .".concat(dt.booleanCell,'[data-value="true"]'),{color:n.palette.text.secondary}),Object(u.a)(r,"& .".concat(dt.booleanCell,'[data-value="false"]'),{color:n.palette.text.disabled}),Object(u.a)(r,"& .".concat(dt.actionsCell),{display:"inline-flex",alignItems:"center",gridGap:n.spacing(1)}),Object(u.a)(r,"& .".concat(dt["cell--withRenderer"]),{display:"flex",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt.withBorder),{borderRight:"1px solid ".concat(i)}),Object(u.a)(r,"& .".concat(dt["cell--textLeft"]),{textAlign:"left"}),Object(u.a)(r,"& .".concat(dt["cell--textLeft"],".").concat(dt["cell--withRenderer"],", & .").concat(dt["cell--textLeft"],".").concat(dt["cell--editing"]),{justifyContent:"flex-start"}),Object(u.a)(r,"& .".concat(dt["cell--textRight"]),{textAlign:"right"}),Object(u.a)(r,"& .".concat(dt["cell--textRight"],".").concat(dt["cell--withRenderer"],", & .").concat(dt["cell--textRight"],".").concat(dt["cell--editing"]),{justifyContent:"flex-end"}),Object(u.a)(r,"& .".concat(dt["cell--textCenter"]),{textAlign:"center"}),Object(u.a)(r,"& .".concat(dt["cell--textCenter"],".").concat(dt["cell--withRenderer"],", & .").concat(dt["cell--textCenter"],".").concat(dt["cell--editing"]),{justifyContent:"center"}),Object(u.a)(r,"& .".concat(dt.columnHeaderDraggableContainer),{display:"flex",width:"100%"}),Object(u.a)(r,"& .".concat(dt["columnHeader--dragging"]),{background:n.palette.background.paper,padding:"0 12px",borderRadius:n.shape.borderRadius,opacity:n.palette.action.disabledOpacity}),Object(u.a)(r,"& .".concat(dt.treeDataGroupingCell),{display:"flex",alignItems:"center",width:"100%"}),Object(u.a)(r,"& .".concat(dt.treeDataGroupingCellToggle),{flex:"0 0 28px",alignSelf:"stretch",marginRight:n.spacing(2)}),r))})),Wi=b.forwardRef((function(t,e){var r,n=mt(),i=t.children,o=t.className,a=gt(t,["children","className"]),s=ft(),c=lr(s,Tr),l=lr(s,hr),f=b.useRef(null),h=Object(j.a)(f,e);return s.current.rootElementRef=f,b.createElement(K.a,null,b.createElement(Ui,Object.assign({ref:h,className:Object(I.a)(o,null===(r=n.classes)||void 0===r?void 0:r.root,dt.root,Object(u.a)({},dt.autoHeight,n.autoHeight)),role:"grid","aria-colcount":c,"aria-rowcount":l,"aria-multiselectable":!n.disableMultipleSelection,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"]},a),i))})),qi=Object(_.a)("div",{name:"MuiDataGrid",slot:"FooterContainer",overridesResolver:function(t,e){return e.footerContainer}})((function(){return{display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:52}})),Vi=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["footerContainer"]},ht,e)}({classes:mt().classes});return b.createElement(qi,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))}));function Gi(t,e,r,n){var i=b.useRef(null),o=b.useRef();if(o.current=r,!i.current&&o.current){i.current=t.current.subscribeEvent(e,(function(t,e,r){var n;e.defaultMuiPrevented||null===(n=o.current)||void 0===n||n.call(o,t,e,r)}),n)}else!o.current&&i.current&&(i.current(),i.current=null);b.useEffect((function(){if(!i.current&&o.current){i.current=t.current.subscribeEvent(e,(function(t,e,r){var n;e.defaultMuiPrevented||null===(n=o.current)||void 0===n||n.call(o,t,e,r)}),n)}return function(){var t;null===(t=i.current)||void 0===t||t.call(i),i.current=null}}),[t,e,n])}!function(t){t.DataGrid="DataGrid",t.DataGridPro="DataGridPro"}(Hi||(Hi={}));var Yi={isFirst:!0};function Xi(t,e,r){Gi(t,e,r,Yi)}var $i=Object(_.a)("div",{name:"MuiDataGrid",slot:"Overlay",overridesResolver:function(t,e){return e.overlay}})((function(t){var e=t.theme;return{display:"flex",position:"absolute",top:0,left:0,right:0,bottom:0,alignSelf:"center",alignItems:"center",justifyContent:"center",backgroundColor:Object(S.a)(e.palette.background.default,e.palette.action.disabledOpacity)}})),Ki=b.forwardRef((function(t,e){var r,n,i=t.className,a=t.style,s=gt(t,["className","style"]),c=ft(),u=mt(),l=function(t){var e=t.classes;return Object(O.a)({root:["overlay"]},ht,e)}({classes:u.classes}),f=lr(c,Zr),h=b.useState((function(){var t,e;return null!==(e=null===(t=c.current.getRootDimensions())||void 0===t?void 0:t.viewportInnerSize)&&void 0!==e?e:null})),d=Object(m.a)(h,2),p=d[0],v=d[1];Gi(c,o.viewportInnerSizeChange,(function(){var t,e;return v(null!==(e=null===(t=c.current.getRootDimensions())||void 0===t?void 0:t.viewportInnerSize)&&void 0!==e?e:null)}));var g=null!==(r=null==p?void 0:p.height)&&void 0!==r?r:0;return u.autoHeight&&0===g&&(g="auto"),b.createElement($i,Object.assign({ref:e,className:Object(I.a)(l.root,i),style:Object.assign({height:g,width:null!==(n=null==p?void 0:p.width)&&void 0!==n?n:0,top:f,position:"absolute",left:0},a)},s))})),Zi=Object(_.a)("div",{name:"MuiDataGrid",slot:"ToolbarContainer",overridesResolver:function(t,e){return e.toolbarContainer}})((function(t){return{display:"flex",alignItems:"center",padding:t.theme.spacing(.5,.5,0)}})),Ji=b.forwardRef((function(t,e){var r=t.className,n=t.children,i=gt(t,["className","children"]),o=function(t){var e=t.classes;return Object(O.a)({root:["toolbarContainer"]},ht,e)}({classes:mt().classes});return n?b.createElement(Zi,Object.assign({ref:e,className:Object(I.a)(r,o.root)},i),n):null})),Qi=Object(_.a)("div",{name:"MuiDataGrid",slot:"IconButtonContainer",overridesResolver:function(t,e){return e.iconButtonContainer}})((function(){return{display:"flex",visibility:"hidden",width:0}})),to=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["iconButtonContainer"]},ht,e)}({classes:mt().classes});return b.createElement(Qi,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))})),eo=b.memo((function(t){var e=t.direction,r=t.index,n=ft(),i=mt(),o=function(t){var e=t.classes;return Object(O.a)({icon:["sortIcon"]},ht,e)}(Object.assign(Object.assign({},t),{classes:i.classes})),a=function(t,e,r){var n=t.ColumnUnsortedIcon;return"asc"===e?n=t.ColumnSortedAscendingIcon:"desc"===e&&(n=t.ColumnSortedDescendingIcon),n?b.createElement(n,{fontSize:"small",className:r}):null}(i.components,e,o.icon);if(!a)return null;var s=b.createElement(B.a,{tabIndex:-1,"aria-label":n.current.getLocaleText("columnHeaderSortIconLabel"),title:n.current.getLocaleText("columnHeaderSortIconLabel"),size:"small"},a);return b.createElement(to,null,null!=r&&b.createElement(Z.a,{badgeContent:r,color:"default"},s),null==r&&s)}));function ro(t){return null!=t&&t.classList.contains(dt.columnHeader)}function no(t){return t.replace(/["\\]/g,"\\$&")}function io(t,e){return t.querySelector(".".concat(dt.row,'[data-id="').concat(no(String(e)),'"]'))}var oo=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnHeaderTitle",overridesResolver:function(t,e){return e.columnHeaderTitle}})((function(t){return{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:t.theme.typography.fontWeightMedium}})),ao=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["columnHeaderTitle"]},ht,e)}({classes:mt().classes});return b.createElement(oo,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))}));function so(t){var e=t.label,r=t.description,n=t.columnWidth,i=b.useRef(null),o=b.useState(""),a=Object(m.a)(o,2),s=a[0],c=a[1];return b.useEffect((function(){if(!r&&i&&i.current){var t=(n=i.current).scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth;c(t?e:"")}var n}),[i,n,r,e]),b.createElement(J.a,{title:r||s},b.createElement(ao,{ref:i},e))}var co,uo=b.memo((function(t){t.resizable,t.resizing;var e=t.height,r=gt(t,["resizable","resizing","height"]),n=mt(),i=function(t){var e=t.resizable,r=t.resizing,n=t.classes;return Object(O.a)({root:["columnSeparator",e&&"columnSeparator--resizable",r&&"columnSeparator--resizing"],icon:["iconSeparator"]},ht,n)}(Object.assign(Object.assign({},t),{classes:n.classes})),o=b.useCallback((function(t){t.preventDefault(),t.stopPropagation()}),[]);return b.createElement("div",Object.assign({className:i.root,style:{minHeight:e,opacity:n.showColumnRightBorder?0:1}},r,{onClick:o}),b.createElement(n.components.ColumnResizeIcon,{className:i.icon}))})),lo=b.memo((function(t){var e=t.column,r=t.open,n=t.columnMenuId,i=t.columnMenuButtonId,o=t.iconButtonRef,a=ft(),s=mt(),c=function(t){var e=t.classes,r=t.open;return Object(O.a)({root:["menuIcon",r&&"menuOpen"],button:["menuIconButton"]},ht,e)}(Object.assign(Object.assign({},t),{classes:s.classes})),u=b.useCallback((function(t){t.preventDefault(),t.stopPropagation(),a.current.toggleColumnMenu(e.field)}),[a,e.field]);return b.createElement("div",{className:c.root},b.createElement(B.a,{ref:o,tabIndex:-1,className:c.button,"aria-label":a.current.getLocaleText("columnMenuLabel"),title:a.current.getLocaleText("columnMenuLabel"),size:"small",onClick:u,"aria-expanded":r?"true":void 0,"aria-haspopup":"true","aria-controls":n,id:i},b.createElement(s.components.ColumnMenuIcon,{fontSize:"small"})))})),fo=function(t){return t.preferencePanel};function ho(t){var e=t.counter,r=ft(),n=mt(),i=function(t){var e=t.classes;return Object(O.a)({icon:["filterIcon"]},ht,e)}(Object.assign(Object.assign({},t),{classes:n.classes})),o=b.useCallback((function(t){t.preventDefault(),t.stopPropagation();var e=fo(r.current.state),n=e.open,i=e.openedPanelValue;n&&i===co.filters?r.current.hideFilterPanel():r.current.showFilterPanel()}),[r]);if(!e)return null;var a=b.createElement(B.a,{onClick:o,color:"default","aria-label":r.current.getLocaleText("columnHeaderFiltersLabel"),size:"small",tabIndex:-1},b.createElement(n.components.ColumnFilteredIcon,{className:i.icon,fontSize:"small"}));return b.createElement(J.a,{title:r.current.getLocaleText("columnHeaderFiltersTooltipActive")(e),enterDelay:1e3},b.createElement(to,null,e>1&&b.createElement(Z.a,{badgeContent:e,color:"default"},a),1===e&&a))}function po(t){var e=t.columnMenuId,r=t.columnMenuButtonId,n=t.ContentComponent,i=t.contentComponentProps,o=t.field,a=t.open,s=t.target,c=ft(),u=c.current.getColumn(o),l=b.useCallback((function(t){t.stopPropagation(),c.current.hideColumnMenu()}),[c]);return s?b.createElement(Wn,{placement:"bottom-"+("right"===u.align?"start":"end"),open:a,target:s,onClickAway:l},b.createElement(n,Object.assign({currentColumn:u,hideMenu:l,open:a,id:e,labelledby:r},i))):null}function mo(t){var e,r,n,i=t.column,a=t.columnMenuOpen,s=t.colIndex,c=t.headerHeight,u=t.isResizing,l=t.isLastColumn,f=t.sortDirection,h=t.sortIndex,d=t.filterItemsCounter,p=t.hasFocus,m=t.tabIndex,v=t.extendRowFullWidth,g=ft(),y=mt(),w=b.useRef(null),x=Object(T.a)(),_=Object(T.a)(),S=b.useRef(null),k=null!==(e=g.current.getRootDimensions())&&void 0!==e?e:{hasScrollX:!1,hasScrollY:!1},E=k.hasScrollX,M=k.hasScrollY,C=null;i.renderHeader&&(C=i.renderHeader(g.current.getColumnHeaderParams(i.field)));var j,A=b.useCallback((function(t){return function(e){e.currentTarget.contains(e.target)&&g.current.publishEvent(t,g.current.getColumnHeaderParams(i.field),e)}}),[g,i.field]),P={onClick:A(o.columnHeaderClick),onDoubleClick:A(o.columnHeaderDoubleClick),onMouseOver:A(o.columnHeaderOver),onMouseOut:A(o.columnHeaderOut),onMouseEnter:A(o.columnHeaderEnter),onMouseLeave:A(o.columnHeaderLeave),onKeyDown:A(o.columnHeaderKeyDown),onFocus:A(o.columnHeaderFocus),onBlur:A(o.columnHeaderBlur)},D={onDragStart:A(o.columnHeaderDragStart),onDragEnter:A(o.columnHeaderDragEnter),onDragOver:A(o.columnHeaderDragOver),onDragEnd:A(o.columnHeaderDragEnd)},R=l?!(l&&E&&!M)&&!v:y.showColumnRightBorder,L=function(t){var e=t.column,r=t.classes,n=t.isDragging,i=t.sortDirection,o=t.showRightBorder,a=null!=i,s="number"===e.type,c={root:["columnHeader","left"===e.headerAlign&&"columnHeader--alignLeft","center"===e.headerAlign&&"columnHeader--alignCenter","right"===e.headerAlign&&"columnHeader--alignRight",e.sortable&&"columnHeader--sortable",n&&"columnHeader--moving",a&&"columnHeader--sorted",s&&"columnHeader--numeric",o&&"withBorder"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"]};return Object(O.a)(c,ht,r)}(Object.assign(Object.assign({},t),{classes:y.classes,showRightBorder:R})),N=i.computedWidth;null!=f&&(j="asc"===f?"ascending":"descending");var F=!y.disableColumnMenu&&!i.disableColumnMenu&&b.createElement(lo,{column:i,columnMenuId:x,columnMenuButtonId:_,open:a,iconButtonRef:S}),B=b.createElement(b.Fragment,null,!y.disableColumnFilter&&b.createElement(ho,{counter:d}),i.sortable&&!i.hideSortIcons&&b.createElement(eo,{direction:f,index:h}));b.useLayoutEffect((function(){var t=g.current.state.columnMenu;if(p&&!t.open){var e=w.current.querySelector('[tabindex="0"]');e?e.focus():w.current.focus()}}));var z="function"==typeof i.headerClassName?i.headerClassName({field:i.field,colDef:i}):i.headerClassName;return b.createElement("div",Object.assign({ref:w,className:Object(I.a)(L.root,z),"data-field":i.field,style:{width:N,minWidth:N,maxWidth:N},role:"columnheader",tabIndex:m,"aria-colindex":s+1,"aria-sort":j},P),b.createElement("div",Object.assign({className:L.draggableContainer,draggable:!y.disableColumnReorder&&!i.disableReorder},D),b.createElement("div",{className:L.titleContainer},C||b.createElement(so,{label:null!==(r=i.headerName)&&void 0!==r?r:i.field,description:i.description,columnWidth:N}),B),F),b.createElement(uo,{resizable:!y.disableColumnResize&&!!i.resizable,resizing:u,height:c,onMouseDown:A(o.columnSeparatorMouseDown)}),b.createElement(po,{columnMenuId:x,columnMenuButtonId:_,field:i.field,open:a,target:S.current,ContentComponent:y.components.ColumnMenu,contentComponentProps:null===(n=y.componentsProps)||void 0===n?void 0:n.columnMenu}))}!function(t){t.filters="filters",t.columns="columns"}(co||(co={}));var bo=function(t){var e=t.onClick,r=ft(),n=mt(),i=b.useCallback((function(t){e(t),r.current.showPreferences(co.columns)}),[r,e]);return n.disableColumnSelector?null:b.createElement(X.a,{onClick:i},r.current.getLocaleText("columnMenuShowColumns"))},vo=function(t){var e=t.column,r=t.onClick,n=ft(),i=mt(),o=b.useCallback((function(t){r(t),n.current.showFilterPanel(null==e?void 0:e.field)}),[n,null==e?void 0:e.field,r]);return i.disableColumnFilter||!(null==e?void 0:e.filterable)?null:b.createElement(X.a,{onClick:o},n.current.getLocaleText("columnMenuFilter"))},go=b.forwardRef((function(t,e){var r=t.hideMenu,n=(t.currentColumn,t.open),i=t.id,o=t.labelledby,a=t.className,s=t.children,c=gt(t,["hideMenu","currentColumn","open","id","labelledby","className","children"]),u=b.useCallback((function(t){Zn(t.key)&&t.preventDefault(),si(t.key)&&r(t)}),[r]);return b.createElement(z.a,Object.assign({id:i,ref:e,className:Object(I.a)(dt.menuList,a),"aria-labelledby":o,onKeyDown:u,autoFocus:n},c),s)})),yo=function(t){var e=t.column,r=t.onClick,n=ft(),i=mt(),o=b.useRef(),a=b.useCallback((function(t){r(t),o.current=setTimeout((function(){n.current.setColumnVisibility(null==e?void 0:e.field,!1)}),100)}),[n,null==e?void 0:e.field,r]);return b.useEffect((function(){return function(){return clearTimeout(o.current)}}),[]),i.disableColumnSelector?null:b.createElement(X.a,{onClick:a},n.current.getLocaleText("columnMenuHideColumn"))},wo=function(t){var e=t.column,r=t.onClick,n=ft(),i=lr(n,xr),o=b.useMemo((function(){if(!e)return null;var t=i.find((function(t){return t.field===e.field}));return null==t?void 0:t.sort}),[e,i]),a=b.useCallback((function(t){r(t);var i=t.currentTarget.getAttribute("data-value")||null;n.current.sortColumn(e,i)}),[n,e,r]);return e&&e.sortable?b.createElement(b.Fragment,null,b.createElement(X.a,{onClick:a,disabled:null==o},n.current.getLocaleText("columnMenuUnsort")),b.createElement(X.a,{onClick:a,"data-value":"asc",disabled:"asc"===o},n.current.getLocaleText("columnMenuSortAsc")),b.createElement(X.a,{onClick:a,"data-value":"desc",disabled:"desc"===o},n.current.getLocaleText("columnMenuSortDesc"))):null},xo=b.forwardRef((function(t,e){var r=t.hideMenu,n=t.currentColumn;return b.createElement(go,Object.assign({ref:e},t),b.createElement(wo,{onClick:r,column:n}),b.createElement(vo,{onClick:r,column:n}),b.createElement(yo,{onClick:r,column:n}),b.createElement(bo,{onClick:r,column:n}))})),Oo=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelContent",overridesResolver:function(t,e){return e.panelContent}})({display:"flex",flexDirection:"column",overflow:"auto",flex:"1 1",maxHeight:400});function _o(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelContent"]},ht,e)}({classes:mt().classes});return b.createElement(Oo,Object.assign({className:Object(I.a)(e,n.root)},r))}var So=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelFooter",overridesResolver:function(t,e){return e.panelFooter}})((function(t){return{padding:t.theme.spacing(.5),display:"flex",justifyContent:"space-between"}}));function ko(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelFooter"]},ht,e)}({classes:mt().classes});return b.createElement(So,Object.assign({className:Object(I.a)(e,n.root)},r))}var Eo=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelHeader",overridesResolver:function(t,e){return e.panelHeader}})((function(t){return{padding:t.theme.spacing(1)}}));function Mo(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelHeader"]},ht,e)}({classes:mt().classes});return b.createElement(Eo,Object.assign({className:Object(I.a)(e,n.root)},r))}var Co=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelWrapper",overridesResolver:function(t,e){return e.panelWrapper}})({display:"flex",flexDirection:"column",flex:1,"&:focus":{outline:0}}),jo=function(){return!0};function Ao(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelWrapper"]},ht,e)}({classes:mt().classes});return b.createElement(nt.a,{open:!0,disableEnforceFocus:!0,isEnabled:jo},b.createElement(Co,Object.assign({tabIndex:-1,className:Object(I.a)(e,n.root)},r)))}var To=!1;"undefined"!=typeof i&&void 0!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).GRID_EXPERIMENTAL_ENABLED&&or()&&window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED")?To="true"===window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED"):"undefined"!=typeof i&&(To="true"===Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).GRID_EXPERIMENTAL_ENABLED);var Po=To,Do={noRowsLabel:"No rows",noResultsOverlayLabel:"No results found.",errorOverlayDefaultLabel:"An error occurred.",toolbarDensity:"Density",toolbarDensityLabel:"Density",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comfortable",toolbarColumns:"Columns",toolbarColumnsLabel:"Select columns",toolbarFilters:"Filters",toolbarFiltersLabel:"Show filters",toolbarFiltersTooltipHide:"Hide filters",toolbarFiltersTooltipShow:"Show filters",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" active filters":" active filter")},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Download as CSV",toolbarExportPrint:"Print",columnsPanelTextFieldLabel:"Find column",columnsPanelTextFieldPlaceholder:"Column title",columnsPanelDragIconLabel:"Reorder column",columnsPanelShowAllButton:"Show all",columnsPanelHideAllButton:"Hide all",filterPanelAddFilter:"Add filter",filterPanelDeleteIconLabel:"Delete",filterPanelOperators:"Operators",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"Columns",filterPanelInputLabel:"Value",filterPanelInputPlaceholder:"Filter value",filterOperatorContains:"contains",filterOperatorEquals:"equals",filterOperatorStartsWith:"starts with",filterOperatorEndsWith:"ends with",filterOperatorIs:"is",filterOperatorNot:"is not",filterOperatorAfter:"is after",filterOperatorOnOrAfter:"is on or after",filterOperatorBefore:"is before",filterOperatorOnOrBefore:"is on or before",filterOperatorIsEmpty:"is empty",filterOperatorIsNotEmpty:"is not empty",filterValueAny:"any",filterValueTrue:"true",filterValueFalse:"false",columnMenuLabel:"Menu",columnMenuShowColumns:"Show columns",columnMenuFilter:"Filter",columnMenuHideColumn:"Hide",columnMenuUnsort:"Unsort",columnMenuSortAsc:"Sort by ASC",columnMenuSortDesc:"Sort by DESC",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" active filters":" active filter")},columnHeaderFiltersLabel:"Show filters",columnHeaderSortIconLabel:"Sort",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" rows selected":" row selected")},footerTotalRows:"Total Rows:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," of ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Checkbox selection",booleanCellTrueLabel:"true",booleanCellFalseLabel:"false",actionsCellMore:"more",treeDataGroupingHeaderName:"Group",treeDataExpand:"see children",treeDataCollapse:"hide children",MuiTablePagination:{}},Ro=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnsPanel",overridesResolver:function(t,e){return e.columnsPanel}})((function(){return{padding:"8px 0px 8px 8px"}})),Lo=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnsPanelRow",overridesResolver:function(t,e){return e.columnsPanelRow}})((function(t){var e=t.theme;return Object(u.a)({display:"flex",justifyContent:"space-between",padding:"1px 8px 1px 7px"},"& .".concat(Q.a.root),{marginRight:e.spacing(.5)})})),Io=Object(_.a)(B.a)({justifyContent:"flex-end"});var No=Object(x.a)("MuiDataGrid",["panel","paper"]),Fo=Object(_.a)(q.a,{name:"MuiDataGrid",slot:"Panel",overridesResolver:function(t,e){return e.panel}})((function(t){return{zIndex:t.theme.zIndex.modal}})),Bo=Object(_.a)(W.a,{name:"MuiDataGrid",slot:"Paper",overridesResolver:function(t,e){return e.paper}})((function(t){return{backgroundColor:t.theme.palette.background.paper,minWidth:300,maxHeight:450,display:"flex"}})),zo=b.forwardRef((function(t,e){var r,n=t.children,i=t.className,o=t.open,a=(t.classes,gt(t,["children","className","open","classes"])),s=ft(),c=No,u=b.useState(!1),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useCallback((function(){s.current.hidePreferences()}),[s]),p=b.useCallback((function(t){$n(t.key)&&s.current.hidePreferences()}),[s]),v=null===(r=s.current.columnHeadersContainerElementRef)||void 0===r?void 0:r.current;return v?b.createElement(Fo,Object.assign({ref:e,placement:"bottom-start",className:Object(I.a)(i,c.panel),open:o,anchorEl:v,modifiers:[{name:"flip",enabled:!1},{name:"isPlaced",enabled:!0,phase:"main",fn:function(){h(!0)}}]},a),b.createElement(H.a,{onClickAway:d},b.createElement(Bo,{className:c.paper,elevation:8,onKeyDown:p},f&&n))):null})),Ho=b.forwardRef((function(t,e){var r,n,i,o=ft(),a=lr(o,Er),s=mt(),c=lr(o,fo),u=c.openedPanelValue===co.columns,l=!c.openedPanelValue||!u;return b.createElement(s.components.Panel,Object.assign({ref:e,open:a.length>0&&c.open},null===(r=s.componentsProps)||void 0===r?void 0:r.panel,t),!s.disableColumnSelector&&u&&b.createElement(s.components.ColumnsPanel,Object.assign({},null===(n=s.componentsProps)||void 0===n?void 0:n.columnsPanel)),!s.disableColumnFilter&&l&&b.createElement(s.components.FilterPanel,Object.assign({},null===(i=s.componentsProps)||void 0===i?void 0:i.filterPanel)))})),Uo=Object(_.a)("div",{name:"MuiDataGrid",slot:"FilterForm",overridesResolver:function(t,e){return e.filterForm}})((function(t){return{display:"flex",justifyContent:"space-around",padding:t.theme.spacing(1)}}));function Wo(t){var e,r=t.item,n=t.hasMultipleFilters,i=t.deleteFilter,o=t.applyFilterChanges,a=t.multiFilterOperator,s=t.showMultiFilterOperators,c=t.disableMultiFilterOperator,u=t.applyMultiFilterOperatorChanges,l=t.focusElementRef,f=ft(),h=lr(f,jr),d=Object(T.a)(),p=Object(T.a)(),m=Object(T.a)(),v=Object(T.a)(),g=Object(T.a)(),y=Object(T.a)(),w=mt(),x=function(t){var e=t.classes;return Object(O.a)({root:["filterForm"]},ht,e)}({classes:w.classes}),_=b.useRef(null),S=b.useRef(null),k=r.columnField?f.current.getColumn(r.columnField):null,E=b.useMemo((function(){var t;return r.operatorValue&&k?null===(t=k.filterOperators)||void 0===t?void 0:t.find((function(t){return t.value===r.operatorValue})):null}),[r,k]),M=b.useCallback((function(t){var e=t.target.value,n=f.current.getColumn(e).filterOperators[0];o(Object.assign(Object.assign({},r),{value:void 0,columnField:e,operatorValue:n.value}))}),[f,o,r]),C=b.useCallback((function(t){var e=t.target.value;o(Object.assign(Object.assign({},r),{operatorValue:e}))}),[o,r]),j=b.useCallback((function(t){var e=t.target.value===Ri.And.toString()?Ri.And:Ri.Or;u(e)}),[u]);return b.useImperativeHandle(l,(function(){return{focus:function(){var t;(null==E?void 0:E.InputComponent)?null===(t=null==_?void 0:_.current)||void 0===t||t.focus():S.current.focus()}}}),[E]),b.createElement(Uo,{className:x.root},b.createElement(it.a,{variant:"standard",sx:{flexShrink:0,justifyContent:"flex-end",marginRight:.5,marginBottom:.2}},b.createElement(B.a,{"aria-label":f.current.getLocaleText("filterPanelDeleteIconLabel"),title:f.current.getLocaleText("filterPanelDeleteIconLabel"),onClick:function(){w.disableMultipleColumnsFiltering?o(Object.assign(Object.assign({},r),{value:void 0})):i(r)},size:"small"},b.createElement(vn,{fontSize:"small"}))),b.createElement(it.a,{variant:"standard",sx:{minWidth:60,display:n?"block":"none",visibility:s?"visible":"hidden"}},b.createElement(ot.a,{htmlFor:d,id:p},f.current.getLocaleText("filterPanelOperators")),b.createElement(Y.a,{labelId:p,id:d,value:a,onChange:j,disabled:!!c,native:!0},b.createElement("option",{key:Ri.And.toString(),value:Ri.And.toString()},f.current.getLocaleText("filterPanelOperatorAnd")),b.createElement("option",{key:Ri.Or.toString(),value:Ri.Or.toString()},f.current.getLocaleText("filterPanelOperatorOr")))),b.createElement(it.a,{variant:"standard",sx:{width:150}},b.createElement(ot.a,{htmlFor:m,id:v},f.current.getLocaleText("filterPanelColumns")),b.createElement(Y.a,{labelId:v,id:m,value:r.columnField||"",onChange:M,native:!0},h.map((function(t){return b.createElement("option",{key:t.field,value:t.field},t.headerName||t.field)})))),b.createElement(it.a,{variant:"standard",sx:{width:120}},b.createElement(ot.a,{htmlFor:g,id:y},f.current.getLocaleText("filterPanelOperators")),b.createElement(Y.a,{labelId:y,id:g,value:r.operatorValue,onChange:C,native:!0,inputRef:S},null===(e=null==k?void 0:k.filterOperators)||void 0===e?void 0:e.map((function(t){return b.createElement("option",{key:t.value,value:t.value},t.label||f.current.getLocaleText("filterOperator".concat(Object(P.a)(t.value))))})))),b.createElement(it.a,{variant:"standard",sx:{width:190}},(null==E?void 0:E.InputComponent)?b.createElement(E.InputComponent,Object.assign({apiRef:f,item:r,applyValue:o,focusElementRef:_},E.InputComponentProps)):null))}var qo=b.forwardRef((function(t,e){var r=t.onClick,n=gt(t,["onClick"]),i=ft(),o=mt(),a=lr(i,fo),s=a.open,c=a.openedPanelValue;return o.disableColumnSelector?null:b.createElement(et.a,Object.assign({ref:e,size:"small",color:"primary","aria-label":i.current.getLocaleText("toolbarColumnsLabel"),startIcon:b.createElement(o.components.ColumnSelectorIcon,null)},n,{onClick:function(t){s&&c===co.columns?i.current.hidePreferences():i.current.showPreferences(co.columns),null==r||r(t)}}),i.current.getLocaleText("toolbarColumns"))})),Vo=b.forwardRef((function(t,e){var r=t.onClick,n=gt(t,["onClick"]),i=ft(),o=mt(),a=lr(i,$r),s=Object(T.a)(),c=Object(T.a)(),u=b.useState(!1),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useRef(null),p=Object(j.a)(e,d),v=[{icon:b.createElement(o.components.DensityCompactIcon,null),label:i.current.getLocaleText("toolbarDensityCompact"),value:Li.Compact},{icon:b.createElement(o.components.DensityStandardIcon,null),label:i.current.getLocaleText("toolbarDensityStandard"),value:Li.Standard},{icon:b.createElement(o.components.DensityComfortableIcon,null),label:i.current.getLocaleText("toolbarDensityComfortable"),value:Li.Comfortable}],g=b.useMemo((function(){switch(a){case Li.Compact:return b.createElement(o.components.DensityCompactIcon,null);case Li.Comfortable:return b.createElement(o.components.DensityComfortableIcon,null);default:return b.createElement(o.components.DensityStandardIcon,null)}}),[a,o]),y=function(){return h(!1)};if(o.disableDensitySelector)return null;var w=v.map((function(t,e){return b.createElement(X.a,{key:e,onClick:function(){return e=t.value,i.current.setDensity(e),void h(!1);var e},selected:t.value===a},b.createElement($.a,null,t.icon),t.label)}));return b.createElement(b.Fragment,null,b.createElement(et.a,Object.assign({ref:p,color:"primary",size:"small",startIcon:g,"aria-label":i.current.getLocaleText("toolbarDensityLabel"),"aria-expanded":f?"true":void 0,"aria-haspopup":"menu","aria-labelledby":c,id:s},n,{onClick:function(t){h(!0),null==r||r(t)}}),i.current.getLocaleText("toolbarDensity")),b.createElement(Wn,{open:f,target:d.current,onClickAway:y,position:"bottom-start"},b.createElement(z.a,{id:c,className:dt.menuList,"aria-labelledby":s,onKeyDown:function(t){Zn(t.key)&&t.preventDefault(),si(t.key)&&y()},autoFocusItem:f},w)))})),Go=Object(_.a)("ul",{name:"MuiDataGrid",slot:"ToolbarFilterList",overridesResolver:function(t,e){return e.toolbarFilterList}})((function(t){var e=t.theme;return{margin:e.spacing(1,1,.5),padding:e.spacing(0,1)}})),Yo=b.forwardRef((function(t,e){var r=t.componentsProps,n=void 0===r?{}:r,i=gt(t,["componentsProps"]),o=n.button||{},a=ft(),s=mt(),c=lr(a,Hr),u=lr(a,kr),l=lr(a,fo),f=function(t){var e=t.classes;return Object(O.a)({root:["toolbarFilterList"]},ht,e)}({classes:s.classes}),h=b.useMemo((function(){return l.open?a.current.getLocaleText("toolbarFiltersTooltipHide"):0===c.length?a.current.getLocaleText("toolbarFiltersTooltipShow"):b.createElement("div",null,a.current.getLocaleText("toolbarFiltersTooltipActive")(c.length),b.createElement(Go,{className:f.root},c.map((function(t,e){return Object.assign({},u[t.columnField]&&b.createElement("li",{key:e},"".concat(u[t.columnField].headerName||t.columnField,"\n                  ").concat(function(t){return u[t.columnField].filterOperators.find((function(e){return e.value===t.operatorValue})).label||a.current.getLocaleText("filterOperator".concat(Object(P.a)(t.operatorValue))).toString()}(t),"\n                  ").concat(t.value)))}))))}),[a,l.open,c,u,f]);return s.disableColumnFilter?null:b.createElement(J.a,Object.assign({title:h,enterDelay:1e3},i),b.createElement(et.a,Object.assign({ref:e,size:"small",color:"primary","aria-label":a.current.getLocaleText("toolbarFiltersLabel"),startIcon:b.createElement(Z.a,{badgeContent:c.length,color:"primary"},b.createElement(s.components.OpenFilterButtonIcon,null))},o,{onClick:function(t){var e,r=l.open,n=l.openedPanelValue;r&&n===co.filters?a.current.hideFilterPanel():a.current.showFilterPanel(),null===(e=o.onClick)||void 0===e||e.call(o,t)}}),a.current.getLocaleText("toolbarFilters")))})),Xo=b.forwardRef((function(t,e){var r=t.csvOptions,n=t.printOptions,i=t.onClick,o=gt(t,["csvOptions","printOptions","onClick"]),a=ft(),s=mt(),c=Object(T.a)(),u=Object(T.a)(),l=b.useState(!1),f=Object(m.a)(l,2),h=f[0],d=f[1],p=b.useRef(null),v=Object(j.a)(e,p),g=[{label:a.current.getLocaleText("toolbarExportCSV"),format:"csv",formatOptions:r},{label:a.current.getLocaleText("toolbarExportPrint"),format:"print",formatOptions:n}],y=function(){return d(!1)},w=function(t){return function(){switch(t.format){case"csv":a.current.exportDataAsCsv(t.formatOptions);break;case"print":a.current.exportDataAsPrint(t.formatOptions)}d(!1)}};return b.createElement(b.Fragment,null,b.createElement(et.a,Object.assign({ref:v,color:"primary",size:"small",startIcon:b.createElement(s.components.ExportIcon,null),"aria-expanded":h?"true":void 0,"aria-label":a.current.getLocaleText("toolbarExportLabel"),"aria-haspopup":"menu","aria-labelledby":u,id:c},o,{onClick:function(t){d(!0),null==i||i(t)}}),a.current.getLocaleText("toolbarExport")),b.createElement(Wn,{open:h,target:p.current,onClickAway:y,position:"bottom-start"},b.createElement(z.a,{id:u,className:dt.menuList,"aria-labelledby":c,onKeyDown:function(t){Zn(t.key)&&t.preventDefault(),si(t.key)&&y()},autoFocusItem:h},g.map((function(t,e){return b.createElement(X.a,{key:e,onClick:w(t)},t.label)})))))})),$o=(b.forwardRef((function(t,e){var r=gt(t,["className"]),n=mt();return n.disableColumnFilter&&n.disableColumnSelector&&n.disableDensitySelector?null:b.createElement(Ji,Object.assign({ref:e},r),b.createElement(qo,null),b.createElement(Yo,null),b.createElement(Vo,null),b.createElement(Xo,null))})),Object(_.a)("div",{name:"MuiDataGrid",slot:"RowCount",overridesResolver:function(t,e){return e.rowCount}})((function(t){return{alignItems:"center",display:"flex",margin:t.theme.spacing(0,2)}}))),Ko=b.forwardRef((function(t,e){var r=t.className,n=t.rowCount,i=t.visibleRowCount,o=gt(t,["className","rowCount","visibleRowCount"]),a=ft(),s=function(t){var e=t.classes;return Object(O.a)({root:["rowCount"]},ht,e)}({classes:mt().classes});if(0===n)return null;var c=i<n?a.current.getLocaleText("footerTotalVisibleRows")(i,n):n.toLocaleString();return b.createElement($o,Object.assign({ref:e,className:Object(I.a)(s.root,r)},o),a.current.getLocaleText("footerTotalRows")," ",c)})),Zo=Object(_.a)("div",{name:"MuiDataGrid",slot:"SelectedRowCount",overridesResolver:function(t,e){return e.selectedRowCount}})((function(t){var e=t.theme;return Object(u.a)({alignItems:"center",display:"flex",margin:e.spacing(0,2),visibility:"hidden",width:0,height:0},e.breakpoints.up("sm"),{visibility:"visible",width:"auto",height:"auto"})})),Jo=b.forwardRef((function(t,e){var r=t.className,n=t.selectedRowCount,i=gt(t,["className","selectedRowCount"]),o=ft(),a=function(t){var e=t.classes;return Object(O.a)({root:["selectedRowCount"]},ht,e)}({classes:mt().classes}),s=o.current.getLocaleText("footerRowSelected")(n);return b.createElement(Zo,Object.assign({ref:e,className:Object(I.a)(a.root,r)},i),s)})),Qo=b.forwardRef((function(t,e){var r,n=ft(),i=mt(),o=lr(n,dr),a=lr(n,Vr),s=lr(n,zr),c=!i.hideFooterSelectedRowCount&&a>0?b.createElement(Jo,{selectedRowCount:a}):b.createElement("div",null),u=i.hideFooterRowCount||i.pagination?null:b.createElement(Ko,{rowCount:o,visibleRowCount:s}),l=i.pagination&&!i.hideFooterPagination&&i.components.Pagination&&b.createElement(i.components.Pagination,Object.assign({},null===(r=i.componentsProps)||void 0===r?void 0:r.pagination));return b.createElement(Vi,Object.assign({ref:e},t),c,u,l)})),ta=b.forwardRef((function(t,e){var r,n,i=mt();return b.createElement("div",Object.assign({ref:e},t),b.createElement(i.components.PreferencesPanel,Object.assign({},null===(r=i.componentsProps)||void 0===r?void 0:r.preferencesPanel)),i.components.Toolbar&&b.createElement(i.components.Toolbar,Object.assign({},null===(n=i.componentsProps)||void 0===n?void 0:n.toolbar)))})),ea=b.forwardRef((function(t,e){return b.createElement(Ki,Object.assign({ref:e},t),b.createElement(at.a,null))})),ra=b.forwardRef((function(t,e){var r=ft().current.getLocaleText("noRowsLabel");return b.createElement(Ki,Object.assign({ref:e},t),r)})),na=Object(_.a)(st.a)((function(t){var e,r=t.theme;return e={},Object(u.a)(e,"& .".concat(ct.a.selectLabel),Object(u.a)({display:"none"},r.breakpoints.up("sm"),{display:"block"})),Object(u.a)(e,"& .".concat(ct.a.input),Object(u.a)({display:"none"},r.breakpoints.up("sm"),{display:"inline-flex"})),e})),ia=b.forwardRef((function(t,e){var r,n=ft(),i=mt(),o=lr(n,bi),a=b.useMemo((function(){return Math.floor(o.rowCount/(o.pageSize||1))}),[o.rowCount,o.pageSize]),s=b.useCallback((function(t){var e=Number(t.target.value);n.current.setPageSize(e)}),[n]),c=b.useCallback((function(t,e){n.current.setPage(e)}),[n]);return b.createElement(na,Object.assign({ref:e,component:"div",count:o.rowCount,page:o.page<=a?o.page:a,rowsPerPageOptions:(null===(r=i.rowsPerPageOptions)||void 0===r?void 0:r.includes(o.pageSize))?i.rowsPerPageOptions:[],rowsPerPage:o.pageSize,onPageChange:c,onRowsPerPageChange:s},n.current.getLocaleText("MuiTablePagination"),t))})),oa=function(t){var e=t.width,r=t.height;if(!e||!r)return null;var n={width:e,height:r};return b.createElement("div",{className:"MuiDataGrid-cell",style:n})};var aa,sa=Object(_.a)("div",{name:"MuiDataGrid",slot:"ScrollArea",overridesResolver:function(t,e){return[Object(u.a)({},"&.".concat(dt["scrollArea--left"]),e["scrollArea--left"]),Object(u.a)({},"&.".concat(dt["scrollArea--right"]),e["scrollArea--right"]),e.scrollArea]}})((function(){var t;return t={position:"absolute",top:0,zIndex:101,width:20,bottom:0},Object(u.a)(t,"&.".concat(dt["scrollArea--left"]),{left:0}),Object(u.a)(t,"&.".concat(dt["scrollArea--right"]),{right:0}),t})),ca=b.memo((function(t){var e=t.scrollDirection,r=b.useRef(null),n=ft(),i=b.useRef(),a=b.useState(!1),s=Object(m.a)(a,2),c=s[0],u=s[1],l=lr(n,Zr),f=b.useRef({left:0,top:0}),h=mt(),d=function(t){var e=t.scrollDirection,r=t.classes;return Object(O.a)({root:["scrollArea","scrollArea--".concat(e)]},ht,r)}(Object.assign(Object.assign({},t),{classes:h.classes})),p=b.useCallback((function(t){f.current=t}),[]),v=b.useCallback((function(t){var o;if("left"===e)o=t.clientX-r.current.getBoundingClientRect().right;else{if("right"!==e)throw new Error("MUI: Wrong drag direction");o=Math.max(1,t.clientX-r.current.getBoundingClientRect().left)}o=1.5*(o-1)+1,clearTimeout(i.current),i.current=setTimeout((function(){n.current.scroll({left:f.current.left+o,top:f.current.top})}))}),[e,n]);b.useEffect((function(){return function(){clearTimeout(i.current)}}),[]);var g=b.useCallback((function(){u((function(t){return!t}))}),[]);return Gi(n,o.rowsScroll,p),Gi(n,o.columnHeaderDragStart,g),Gi(n,o.columnHeaderDragEnd,g),c?b.createElement(sa,{ref:r,className:Object(I.a)(d.root),onDragOver:v,style:{height:l}}):null})),ua=function(t){return t.columnMenu};Object(L.a)((function(t){return t.columnReorder}),(function(t){return t.dragCol})),Object(L.a)((function(t){return t.columnResize}),(function(t){return t.resizingColumnField}));!function(t){t.hydrateColumns="hydrateColumns"}(aa||(aa={}));var la=function(t){var e=b.useRef(!0);e.current&&(e.current=!1,t())},fa=function(t,e){var r={},n=0,i=e;if(t.all.forEach((function(e){var o,a,s=Object.assign({},t.lookup[e]);if(s.hide)s.computedWidth=0;else{var c,u=null!==(o=s.minWidth)&&void 0!==o?o:zn.minWidth;s.flex&&s.flex>0?(n+=s.flex,c=u):c=Math.max(null!==(a=s.width)&&void 0!==a?a:zn.width,u),i-=c,s.computedWidth=c}r[e]=s})),n>0&&i>0){var o=i/n;t.all.forEach((function(t){var e=r[t];!e.hide&&e.flex&&e.flex>0&&(r[t].computedWidth+=o*e.flex)}))}return Object.assign(Object.assign({},t),{lookup:r})},ha=function(t){var e,r,n,i,o,a=t.columnsToUpsert,s=t.columnsTypes,c=t.apiRef;if(t.reset)o={all:[],lookup:{}};else{var u=_r(c.current.state);o={all:Object(l.a)(u.all),lookup:Object.assign({},u.lookup)}}a.forEach((function(t){null==o.lookup[t.field]?(o.lookup[t.field]=Object.assign(Object.assign({},function(t,e){return e?t[e]:t.__default__}(s,t.type)),t),o.all.push(t.field)):o.lookup[t.field]=Object.assign(Object.assign({},o.lookup[t.field]),t)}));var f=c.current.unstable_applyPreProcessors(aa.hydrateColumns,o);return fa(f,null!==(i=null===(n=null===(r=(e=c.current).getRootDimensions)||void 0===r?void 0:r.call(e))||void 0===n?void 0:n.viewportInnerSize.width)&&void 0!==i?i:0)},da=function(t){return t.editRows},pa=function(){function t(){Object(f.a)(this,t),this.maxListeners=10,this.warnOnce=!1,this.events={}}return Object(h.a)(t,[{key:"on",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.events[t];n||(n={highPriority:new Map,regular:new Map},this.events[t]=n),r.isFirst?n.highPriority.set(e,!0):n.regular.set(e,!0)}},{key:"removeListener",value:function(t,e){this.events[t]&&(this.events[t].regular.delete(e),this.events[t].highPriority.delete(e))}},{key:"removeAllListeners",value:function(){this.events={}}},{key:"emit",value:function(t){var e=this.events[t];if(e){for(var r=Array.from(e.highPriority.keys()),n=Array.from(e.regular.keys()),i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(var s=r.length-1;s>=0;s-=1){var c=r[s];e.highPriority.has(c)&&c.apply(this,o)}for(var u=0;u<n.length;u+=1){var l=n[u];e.regular.has(l)&&l.apply(this,o)}}}},{key:"once",value:function(t,e){var r=this;this.on(t,(function n(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r.removeListener(t,n),e.apply(r,o)}))}}]),t}();var ma=function(t,e,r,n,i){var a=sr(t,"useNativeEventListener"),s=b.useState(!1),c=Object(m.a)(s,2),u=c[0],l=c[1],f=b.useRef(n),h=b.useCallback((function(t){return f.current&&f.current(t)}),[]);b.useEffect((function(){f.current=n}),[n]),b.useEffect((function(){var n;if((n=ir(e)?e():e&&e.current?e.current:null)&&h&&r&&!u){a.debug("Binding native ".concat(r," event")),n.addEventListener(r,h,i);var s=n;l(!0);t.current.subscribeEvent(o.unmount,(function(){a.debug("Clearing native ".concat(r," event")),s.removeEventListener(r,h,i)}))}}),[e,h,r,u,a,i,t])},ba={autoHeight:!1,autoPageSize:!1,checkboxSelection:!1,checkboxSelectionVisibleOnly:!1,columnBuffer:3,rowBuffer:3,columnThreshold:3,rowThreshold:3,density:Li.Standard,disableExtendRowFullWidth:!1,disableColumnFilter:!1,disableColumnMenu:!1,disableColumnReorder:!1,disableColumnResize:!1,disableColumnSelector:!1,disableDensitySelector:!1,disableMultipleColumnsFiltering:!1,disableChildrenFiltering:!1,disableMultipleSelection:!1,disableMultipleColumnsSorting:!1,disableChildrenSorting:!1,disableSelectionOnClick:!1,disableVirtualization:!1,editMode:Ei.Cell,filterMode:Bi,headerHeight:56,hideFooter:!1,hideFooterPagination:!1,hideFooterRowCount:!1,hideFooterSelectedRowCount:!1,logger:console,logLevel:"error",pagination:!1,paginationMode:Bi,rowHeight:52,rowsPerPageOptions:[25,50,100],treeData:!1,defaultGroupingExpansionDepth:0,scrollEndThreshold:80,showCellRightBorder:!1,showColumnRightBorder:!1,sortingOrder:["asc","desc",null],sortingMode:Bi,throttleRowsMs:0},va=b.memo((function(t){var e=mt(),r="asc"===Object(m.a)(e.sortingOrder,1)[0]?e.components.ColumnSortedAscendingIcon:e.components.ColumnSortedDescendingIcon;return r?b.createElement(r,Object.assign({},t)):null})),ga=b.forwardRef((function(t,e){var r=t.message,n=(t.hasError,t.errorInfo,gt(t,["message","hasError","errorInfo"])),i=ft().current.getLocaleText("errorOverlayDefaultLabel");return b.createElement(Ki,Object.assign({ref:e},n),r||i)})),ya=b.forwardRef((function(t,e){var r=ft().current.getLocaleText("noResultsOverlayLabel");return b.createElement(Ki,Object.assign({ref:e},t),r)})),wa={BooleanCellTrueIcon:On,BooleanCellFalseIcon:vn,ColumnMenuIcon:bn,OpenFilterButtonIcon:un,ColumnFilteredIcon:ln,ColumnSelectorIcon:fn,ColumnUnsortedIcon:va,ColumnSortedAscendingIcon:on,ColumnSortedDescendingIcon:an,ColumnResizeIcon:hn,DensityCompactIcon:dn,DensityStandardIcon:pn,DensityComfortableIcon:mn,ExportIcon:xn,MoreActionsIcon:_n,TreeDataCollapseIcon:cn,TreeDataExpandIcon:sn},xa=Object.assign(Object.assign({},wa),{Cell:function(t){var e=t.align,r=t.children,n=t.colIndex,i=t.cellMode,a=t.field,s=t.formattedValue,c=t.hasFocus,u=t.height,l=t.isEditable,f=t.rowId,h=t.tabIndex,d=t.value,p=t.width,m=t.className,v=t.showRightBorder,g=(t.extendRowFullWidth,t.row,t.onClick),y=t.onDoubleClick,w=t.onMouseDown,x=t.onMouseUp,_=t.onKeyDown,S=t.onDragEnter,k=t.onDragOver,E=gt(t,["align","children","colIndex","cellMode","field","formattedValue","hasFocus","height","isEditable","rowId","tabIndex","value","width","className","showRightBorder","extendRowFullWidth","row","onClick","onDoubleClick","onMouseDown","onMouseUp","onKeyDown","onDragEnter","onDragOver"]),M=null==s?d:s,C=b.useRef(null),j=ft(),A=function(t){var e=t.align,r=t.showRightBorder,n=t.isEditable,i=t.classes,o={root:["cell","cell--text".concat(Object(P.a)(e)),n&&"cell--editable",r&&"withBorder"]};return Object(O.a)(o,ht,i)}({align:e,showRightBorder:v,isEditable:l,classes:mt().classes}),T=b.useCallback((function(t){return function(e){var r=j.current.getCellParams(f,a||"");j.current.publishEvent(t,r,e),x&&x(e)}}),[j,a,x,f]),R=b.useCallback((function(t,e){return function(r){if(r.currentTarget.contains(r.target)&&j.current.getRow(f)){var n=j.current.getCellParams(f,a||"");j.current.publishEvent(t,n,r),e&&e(r)}}}),[j,a,f]),L={minWidth:p,maxWidth:p,minHeight:u,maxHeight:u,lineHeight:u-1+"px"};return b.useLayoutEffect((function(){if(c&&i!==Mi.Edit){var t=Object(D.a)(j.current.rootElementRef.current);if(C.current&&!C.current.contains(t.activeElement)){var e=C.current.querySelector('[tabindex="0"]')||C.current;if(void 0===Ii&&document.createElement("div").focus({get preventScroll(){return Ii=!0,!1}}),Ii)e.focus({preventScroll:!0});else{var r=j.current.getScrollPosition();e.focus(),j.current.scroll(r)}}}})),b.createElement("div",Object.assign({ref:C,className:Object(I.a)(m,A.root),role:"cell","data-field":a,"data-colindex":n,"aria-colindex":n+1,style:L,tabIndex:"view"!==i&&l?-1:h,onClick:R(o.cellClick,g),onDoubleClick:R(o.cellDoubleClick,y),onMouseDown:R(o.cellMouseDown,w),onMouseUp:T(o.cellMouseUp),onKeyDown:R(o.cellKeyDown,_),onDragEnter:R(o.cellDragEnter,S),onDragOver:R(o.cellDragOver,k)},E),null!=r?r:null==M?void 0:M.toString())},BaseCheckbox:G.a,ColumnMenu:xo,ErrorOverlay:ga,Footer:Qo,Header:ta,Toolbar:null,PreferencesPanel:Ho,LoadingOverlay:ea,NoResultsOverlay:ya,NoRowsOverlay:ra,Pagination:ia,FilterPanel:function(){var t=ft(),e=mt(),r=lr(t,Rr),n=lr(t,jr),i=b.useRef(null),o=b.useCallback((function(e){t.current.upsertFilterItem(e)}),[t]),a=b.useCallback((function(e){t.current.setFilterLinkOperator(e)}),[t]),s=b.useCallback((function(){var t=n.find((function(t){var e;return null===(e=t.filterOperators)||void 0===e?void 0:e.length}));return t?{columnField:t.field,operatorValue:t.filterOperators[0].value,id:Math.round(1e5*Math.random())}:null}),[n]),c=b.useMemo((function(){if(r.items.length)return r.items;var t=s();return t?[t]:[]}),[r.items,s]),u=c.length>1,f=b.useCallback((function(e){t.current.deleteFilterItem(e)}),[t]);return b.useEffect((function(){c.length>0&&i.current.focus()}),[c.length]),b.createElement(Ao,null,b.createElement(_o,null,c.map((function(t,e){return b.createElement(Wo,{key:null==t.id?e:t.id,item:t,applyFilterChanges:o,deleteFilter:f,hasMultipleFilters:u,showMultiFilterOperators:e>0,multiFilterOperator:r.linkOperator,disableMultiFilterOperator:1!==e,applyMultiFilterOperatorChanges:a,focusElementRef:e===c.length-1?i:null})}))),!e.disableMultipleColumnsFiltering&&b.createElement(ko,null,b.createElement(et.a,{onClick:function(){var e=s();e&&t.current.setFilterModel(Object.assign(Object.assign({},r),{items:[].concat(Object(l.a)(c),[e])}))},startIcon:b.createElement(gn,null),color:"primary"},t.current.getLocaleText("filterPanelAddFilter"))))},ColumnsPanel:function(){var t=ft(),e=b.useRef(null),r=lr(t,Er),n=mt(),i=b.useState(""),o=Object(m.a)(i,2),a=o[0],s=o[1],c=function(t){var e=t.classes;return Object(O.a)({root:["columnsPanel"],columnsPanelRow:["columnsPanelRow"]},ht,e)}({classes:n.classes}),u=b.useCallback((function(e){var r=e.target.name,n=t.current.getColumn(r);t.current.setColumnVisibility(r,!!n.hide)}),[t]),l=b.useCallback((function(e){t.current.updateColumns(r.map((function(t){return t.hide=e,t})))}),[t,r]),f=b.useCallback((function(){return l(!1)}),[l]),h=b.useCallback((function(){return l(!0)}),[l]),d=b.useCallback((function(t){s(t.target.value)}),[]),p=b.useMemo((function(){return a?r.filter((function(t){return t.field.toLowerCase().indexOf(a.toLowerCase())>-1||t.headerName&&t.headerName.toLowerCase().indexOf(a.toLowerCase())>-1})):r}),[r,a]);return b.useEffect((function(){e.current.focus()}),[]),b.createElement(Ao,null,b.createElement(Mo,null,b.createElement(N.a,{label:t.current.getLocaleText("columnsPanelTextFieldLabel"),placeholder:t.current.getLocaleText("columnsPanelTextFieldPlaceholder"),inputRef:e,value:a,onChange:d,variant:"standard",fullWidth:!0})),b.createElement(_o,null,b.createElement(Ro,{className:c.root},p.map((function(e){return b.createElement(Lo,{className:c.columnsPanelRow,key:e.field},b.createElement(rt.a,{control:b.createElement(tt.a,{checked:!e.hide,onClick:u,name:e.field,color:"primary",size:"small"}),label:e.headerName||e.field}),!n.disableColumnReorder&&Po&&b.createElement(Io,{draggable:!0,"aria-label":t.current.getLocaleText("columnsPanelDragIconLabel"),title:t.current.getLocaleText("columnsPanelDragIconLabel"),size:"small",disabled:!0},b.createElement(wn,null)))})))),b.createElement(ko,null,b.createElement(et.a,{onClick:h,color:"primary"},t.current.getLocaleText("columnsPanelHideAllButton")),b.createElement(et.a,{onClick:f,color:"primary"},t.current.getLocaleText("columnsPanelShowAllButton"))))},Panel:zo,Row:function(t){for(var e,r,n,i,a=t.selected,s=t.rowId,c=(t.row,t.index),u=t.style,l=t.rowHeight,f=t.className,h=t.visibleColumns,d=t.renderedColumns,p=t.containerWidth,m=t.firstColumnToRender,v=(t.lastColumnToRender,t.cellFocus),g=t.cellTabIndex,y=t.editRowsState,w=t.onClick,x=t.onDoubleClick,_=gt(t,["selected","rowId","row","index","style","rowHeight","className","visibleColumns","renderedColumns","containerWidth","firstColumnToRender","lastColumnToRender","cellFocus","cellTabIndex","editRowsState","onClick","onDoubleClick"]),S=c+2,k=ft(),E=mt(),M=lr(k,Cr),C=null!==(e=k.current.getRootDimensions())&&void 0!==e?e:{hasScrollX:!1,hasScrollY:!1},j=C.hasScrollX,A=C.hasScrollY,T=function(t){var e=t.editable,r=t.editing,n=t.selected,i=t.classes;return Object(O.a)({root:["row",n&&"selected",e&&"row--editable",r&&"row--editing"]},ht,i)}({selected:a,classes:E.classes,editing:k.current.getRowMode(s)===Ci.Edit,editable:E.editMode===Ei.Row}),P=b.useCallback((function(t,e){return function(r){(1!==r.target.nodeType||r.currentTarget.contains(r.target))&&k.current.getRow(s)&&(k.current.publishEvent(t,k.current.getRowParams(s),r),e&&e(r))}}),[k,s]),D=Object.assign({maxHeight:l,minHeight:l},u),R="function"==typeof E.getRowClassName&&E.getRowClassName(k.current.getRowParams(s)),L=[],N=0;N<d.length;N+=1){var F=d[N],B=m+N,z=B===h.length-1,H=z?!(z&&j&&!A)&&E.disableExtendRowFullWidth:E.showCellRightBorder,U=k.current.getCellParams(s,F.field),W=[];F.cellClassName&&W.push(Object(I.a)("function"==typeof F.cellClassName?F.cellClassName(U):F.cellClassName));var q=y[s]?y[s][F.field]:null,V=null;if(null==q&&F.renderCell&&(V=F.renderCell(Object.assign(Object.assign({},U),{api:k.current})),W.push(Object(I.a)(dt["cell--withRenderer"],null===(r=E.classes)||void 0===r?void 0:r["cell--withRenderer"]))),null!=q&&F.renderEditCell){var G=Object.assign(Object.assign(Object.assign({},U),q),{api:k.current});V=F.renderEditCell(G),W.push(Object(I.a)(dt["cell--editing"],null===(n=E.classes)||void 0===n?void 0:n["cell--editing"]))}E.getCellClassName&&W.push(E.getCellClassName(U));var Y=null!==v&&v.id===s&&v.field===F.field,X=null!==g&&g.id===s&&g.field===F.field&&"view"===U.cellMode?0:-1;L.push(b.createElement(E.components.Cell,Object.assign({key:N,value:U.value,field:F.field,width:F.computedWidth,rowId:s,height:l,showRightBorder:H,formattedValue:U.formattedValue,align:F.align||"left",cellMode:U.cellMode,colIndex:B,isEditable:U.isEditable,hasFocus:Y,tabIndex:X,className:Object(I.a)(W)},null===(i=E.componentsProps)||void 0===i?void 0:i.cell),V))}var $=p-M.totalWidth;return b.createElement("div",Object.assign({"data-id":s,"data-rowindex":c,role:"row",className:Object(I.a)(R,T.root,f),"aria-rowindex":S,"aria-selected":a,style:D,onClick:P(o.rowClick,w),onDoubleClick:P(o.rowDoubleClick,x)},_),L,$>0&&b.createElement(oa,{width:$,height:l}))}}),Oa=function(t,e){var r;return{components:{MuiDataGrid:{defaultProps:{localeText:Object.assign(Object.assign({},t),{MuiTablePagination:(null===(r=null==e?void 0:e.components)||void 0===r?void 0:r.MuiTablePagination.defaultProps)||{}})}}}}},_a=(Oa({noRowsLabel:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0635\u0641\u0648\u0641",noResultsOverlayLabel:"\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0646\u062a\u0627\u0626\u062c.",errorOverlayDefaultLabel:"\u062d\u062f\u062b \u062e\u0637\u0623.",toolbarDensity:"\u0643\u062b\u0627\u0641\u0629",toolbarDensityLabel:"\u0643\u062b\u0627\u0641\u0629",toolbarDensityCompact:"\u0645\u062f\u0645\u062c",toolbarDensityStandard:"\u0627\u0644\u0645\u0639\u064a\u0627\u0631",toolbarDensityComfortable:"\u0645\u0631\u064a\u062d",toolbarColumns:"\u0627\u0644\u0623\u0639\u0645\u062f\u0629",toolbarColumnsLabel:"\u062d\u062f\u062f \u0627\u0644\u0623\u0639\u0645\u062f\u0629",toolbarFilters:"\u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersLabel:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipHide:"\u0625\u062e\u0641\u0627\u0621 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipShow:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipActive:function(t){return"".concat(t," \u0641\u0644\u0627\u062a\u0631 \u0646\u0634\u0637\u0629")},toolbarExport:"\u062a\u0635\u062f\u064a\u0631",toolbarExportLabel:"\u062a\u0635\u062f\u064a\u0631",toolbarExportCSV:"\u062a\u0646\u0632\u064a\u0644 \u0643\u0645\u0644\u0641 CSV",columnsPanelTextFieldLabel:"\u0627\u064a\u062c\u0627\u062f \u0639\u0645\u0648\u062f",columnsPanelTextFieldPlaceholder:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0639\u0645\u0648\u062f",columnsPanelDragIconLabel:"\u0625\u0639\u0627\u062f\u0629 \u062a\u0631\u062a\u064a\u0628 \u0627\u0644\u0639\u0645\u0648\u062f",columnsPanelShowAllButton:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644",columnsPanelHideAllButton:"\u0627\u062e\u0641\u0627\u0621 \u0627\u0644\u0643\u0644",filterPanelAddFilter:"\u0627\u0636\u0641 \u0641\u0644\u062a\u0631",filterPanelDeleteIconLabel:"\u062d\u0630\u0641",filterPanelOperators:"\u0627\u0644\u0639\u0627\u0645\u0644\u064a\u0646",filterPanelOperatorAnd:"\u0648",filterPanelOperatorOr:"\u0627\u0648",filterPanelColumns:"\u0627\u0644\u0623\u0639\u0645\u062f\u0629",filterPanelInputLabel:"\u0642\u064a\u0645\u0629",filterPanelInputPlaceholder:"\u0642\u064a\u0645\u0629 \u0627\u0644\u062a\u0635\u0641\u064a\u0629",filterOperatorContains:"\u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649",filterOperatorEquals:"\u064a\u0633\u0627\u0648\u064a",filterOperatorStartsWith:"\u064a\u0628\u062f\u0623 \u0628",filterOperatorEndsWith:"\u064a\u0646\u062a\u0647\u064a \u0628\u0640",filterOperatorIs:"\u064a\u0643\u0648\u0646",filterOperatorNot:"\u0644\u064a\u0633",filterOperatorAfter:"\u064a\u0643\u0648\u0646 \u0628\u0639\u062f",filterOperatorOnOrAfter:"\u0641\u064a \u0623\u0648 \u0628\u0639\u062f",filterOperatorBefore:"\u064a\u0643\u0648\u0646",filterOperatorOnOrBefore:"\u0641\u064a \u0623\u0648 \u0642\u0628\u0644",filterOperatorIsEmpty:"\u0641\u0627\u0631\u063a",filterOperatorIsNotEmpty:"\u0644\u064a\u0633 \u0641\u0627\u0631\u063a\u0627",filterValueAny:"\u0623\u064a",filterValueTrue:"\u0635\u062d\u064a\u062d",filterValueFalse:"\u062e\u0627\u0637\u0626\u0629",columnMenuLabel:"\u0627\u0644\u0642\u0627\u0626\u0645\u0629",columnMenuShowColumns:"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0623\u0639\u0645\u062f\u0629",columnMenuFilter:"\u0641\u0644\u062a\u0631",columnMenuHideColumn:"\u0625\u062e\u0641\u0627\u0621",columnMenuUnsort:"\u063a\u064a\u0631 \u0645\u0631\u062a\u0628",columnMenuSortAsc:"\u0627\u0644\u062a\u0631\u062a\u064a\u0628 \u062d\u0633\u0628 ASC",columnMenuSortDesc:"\u0627\u0644\u062a\u0631\u062a\u064a\u0628 \u062d\u0633\u0628 DESC",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," \u0641\u0644\u0627\u062a\u0631 \u0646\u0634\u0637\u0629")},columnHeaderFiltersLabel:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",columnHeaderSortIconLabel:"\u062a\u0631\u062a\u064a\u0628",footerRowSelected:function(t){return"".concat(t.toLocaleString()," \u0635\u0641\u0648\u0641 \u0645\u062e\u062a\u0627\u0631\u0629")},footerTotalRows:"\u0625\u062c\u0645\u0627\u0644\u064a \u0627\u0644\u0635\u0641\u0648\u0641:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u0645\u0646 ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u062a\u062d\u062f\u064a\u062f",booleanCellTrueLabel:"\u0635\u062d\u064a\u062d",booleanCellFalseLabel:"\u062e\u0627\u0637\u0626\u0629"},ut.a),Oa({noRowsLabel:"\u041d\u044f\u043c\u0430 \u0440\u0435\u0434\u043e\u0432\u0435",errorOverlayDefaultLabel:"\u0412\u044a\u0437\u043d\u0438\u043a\u043d\u0430 \u0433\u0440\u0435\u0448\u043a\u0430.",toolbarDensity:"\u0413\u044a\u0441\u0442\u043e\u0442\u0430",toolbarDensityLabel:"\u0413\u044a\u0441\u0442\u043e\u0442\u0430",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430",toolbarColumns:"\u041a\u043e\u043b\u043e\u043d\u0438",toolbarColumnsLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0438",toolbarFilters:"\u0424\u0438\u043b\u0442\u0440\u0438",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipHide:"\u0421\u043a\u0440\u0438\u0439 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipActive:function(t){return"".concat(t," \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u0444\u0438\u043b\u0442\u0440\u0438")},columnsPanelTextFieldLabel:"\u041d\u0430\u043c\u0435\u0440\u0438 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043b\u0430\u0432\u0438\u0435 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelDragIconLabel:"\u041f\u0440\u0435\u043d\u0430\u0440\u0435\u0434\u0438 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0412\u0441\u0438\u0447\u043a\u0438",columnsPanelHideAllButton:"\u0421\u043a\u0440\u0438\u0439 \u0412\u0441\u0438\u0447\u043a\u0438",filterPanelAddFilter:"\u0414\u043e\u0431\u0430\u0432\u0438 \u0424\u0438\u043b\u0442\u044a\u0440",filterPanelDeleteIconLabel:"\u0418\u0437\u0442\u0440\u0438\u0439",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438",filterPanelOperatorAnd:"\u0418",filterPanelOperatorOr:"\u0418\u043b\u0438",filterPanelColumns:"\u041a\u043e\u043b\u043e\u043d\u0438",filterPanelInputLabel:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442",filterPanelInputPlaceholder:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442 \u043d\u0430 \u0444\u0438\u043b\u0442\u044a\u0440\u0430",filterOperatorContains:"\u0441\u044a\u0434\u044a\u0440\u0436\u0430",filterOperatorEquals:"\u0440\u0430\u0432\u043d\u043e",filterOperatorStartsWith:"\u0437\u0430\u043f\u043e\u0447\u0432\u0430 \u0441",filterOperatorEndsWith:"\u0437\u0430\u0432\u044a\u0440\u0448\u0432\u0430 \u0441",filterOperatorIs:"\u0435",filterOperatorNot:"\u043d\u0435 \u0435",filterOperatorAfter:"\u0435 \u0441\u043b\u0435\u0434",filterOperatorOnOrAfter:"\u0435 \u043d\u0430 \u0438\u043b\u0438 \u0441\u043b\u0435\u0434",filterOperatorBefore:"\u0435 \u043f\u0440\u0435\u0434\u0438",filterOperatorOnOrBefore:"\u0435 \u043d\u0430 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u0438",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0436\u0438 \u043a\u043e\u043b\u043e\u043d\u0438\u0442\u0435",columnMenuFilter:"\u0424\u0438\u043b\u0442\u0440\u0438",columnMenuHideColumn:"\u0421\u043a\u0440\u0438\u0439",columnMenuUnsort:"\u041e\u0442\u043c\u0435\u043d\u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435\u0442\u043e",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439 \u043f\u043e \u0432\u044a\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439 \u043f\u043e \u043d\u0438\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u0444\u0438\u043b\u0442\u0440\u0438")},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u0438\u0437\u0431\u0440\u0430\u043d\u0438 \u0440\u0435\u0434\u043e\u0432\u0435":" \u0438\u0437\u0431\u0440\u0430\u043d \u0440\u0435\u0434")},footerTotalRows:"\u041e\u0431\u0449\u043e R\u0435\u0434\u043e\u0432\u0435:"},ut.b),Oa({noRowsLabel:"\u017d\xe1dn\xe9 z\xe1znamy",noResultsOverlayLabel:"Nena\u0161li se \u017eadn\xe9 v\xfdsledky.",errorOverlayDefaultLabel:"Stala sa nep\u0159edv\xeddan\xe1 chyba.",toolbarDensity:"Hustota",toolbarDensityLabel:"Hustota",toolbarDensityCompact:"Kompaktn\xed",toolbarDensityStandard:"Standartn\xed",toolbarDensityComfortable:"Komfortn\xed",toolbarColumns:"Sloupce",toolbarColumnsLabel:"Vybrat sloupec",toolbarFilters:"Filtry",toolbarFiltersLabel:"Zobrazit filtry",toolbarFiltersTooltipHide:"Skr\xfdt filtry",toolbarFiltersTooltipShow:"Zobrazit filtry",toolbarFiltersTooltipActive:function(t){var e="aktivn\xedch filtr\u016f";return t>1&&t<5?e="aktivn\xed filtry":1===t&&(e="aktivn\xed filtr"),"".concat(t," ").concat(e)},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"St\xe1hnout jako CSV",columnsPanelTextFieldLabel:"Naj\xedt sloupec",columnsPanelTextFieldPlaceholder:"N\xe1zev sloupce",columnsPanelDragIconLabel:"Uspo\u0159\xe1dat sloupce",columnsPanelShowAllButton:"Zobrazit v\u0161e",columnsPanelHideAllButton:"Skr\xfdt v\u0161e",filterPanelAddFilter:"P\u0159idat filtr",filterPanelDeleteIconLabel:"Odstranit",filterPanelOperators:"Oper\xe1tory",filterPanelOperatorAnd:"A",filterPanelOperatorOr:"Nebo",filterPanelColumns:"Sloupce",filterPanelInputLabel:"Hodnota",filterPanelInputPlaceholder:"Hodnota filtru",filterOperatorContains:"obsahuje",filterOperatorEquals:"rovn\xe1 se",filterOperatorStartsWith:"za\u010d\xedn\xe1 s",filterOperatorEndsWith:"kon\u010d\xed na",filterOperatorIs:"je",filterOperatorNot:"nen\xed",filterOperatorAfter:"je po",filterOperatorOnOrAfter:"je na nebo po",filterOperatorBefore:"je p\u0159ed",filterOperatorOnOrBefore:"je na nebo d\u0159\xedve",filterValueAny:"jak\xfdkoliv",filterValueTrue:"ano",filterValueFalse:"ne",columnMenuLabel:"Menu",columnMenuShowColumns:"Zobrazit sloupce",columnMenuFilter:"Filtr",columnMenuHideColumn:"Skr\xfdt",columnMenuUnsort:"Zru\u0161it filtry",columnMenuSortAsc:"Se\u0159adit vzestupn\u011b",columnMenuSortDesc:"Se\u0159adit sestupn\u011b",columnHeaderFiltersTooltipActive:function(t){var e="aktivn\xedch filtr\u016f";return t>1&&t<5?e="aktivn\xed filtry":1===t&&(e="aktivn\xed filtr"),"".concat(t," ").concat(e)},columnHeaderFiltersLabel:"Zobrazit filtry",columnHeaderSortIconLabel:"Filtrovat",footerRowSelected:function(t){var e="vybran\xfdch z\xe1znam\u016f";return t>1&&t<5?e="vybran\xe9 z\xe1znamy":1===t&&(e="vybran\xfd z\xe1znam"),"".concat(t," ").concat(e)},footerTotalRows:"Celkem \u0159\xe1dk\u016f:",checkboxSelectionHeaderName:"V\xfdb\u011br \u0159\xe1dku",booleanCellTrueLabel:"ano",booleanCellFalseLabel:"ne"},ut.c),Oa({noRowsLabel:"Keine Eintr\xe4ge",noResultsOverlayLabel:"Keine Ergebnisse gefunden.",errorOverlayDefaultLabel:"Ein unerwarteter Fehler ist aufgetreten.",toolbarDensity:"Zeilenh\xf6he",toolbarDensityLabel:"Zeilenh\xf6he",toolbarDensityCompact:"Kompakt",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Breit",toolbarColumns:"Spalten",toolbarColumnsLabel:"Zeige Spaltenauswahl",toolbarFilters:"Filter",toolbarFiltersLabel:"Zeige Filter",toolbarFiltersTooltipHide:"Verberge Filter",toolbarFiltersTooltipShow:"Zeige Filter",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" aktive Filter":" aktiver Filter")},toolbarExport:"Exportieren",toolbarExportLabel:"Exportieren",toolbarExportCSV:"Download als CSV",toolbarExportPrint:"Drucken",columnsPanelTextFieldLabel:"Finde Spalte",columnsPanelTextFieldPlaceholder:"Spalten\xfcberschrift",columnsPanelDragIconLabel:"Spalte umsortieren",columnsPanelShowAllButton:"Zeige alle",columnsPanelHideAllButton:"Verberge alle",filterPanelAddFilter:"Filter hinzuf\xfcgen",filterPanelDeleteIconLabel:"L\xf6schen",filterPanelOperators:"Operatoren",filterPanelOperatorAnd:"Und",filterPanelOperatorOr:"Oder",filterPanelColumns:"Spalten",filterPanelInputLabel:"Wert",filterPanelInputPlaceholder:"Wert filtern",filterOperatorContains:"enth\xe4lt",filterOperatorEquals:"ist gleich",filterOperatorStartsWith:"beginnt mit",filterOperatorEndsWith:"endet mit",filterOperatorIs:"ist",filterOperatorNot:"ist nicht",filterOperatorAfter:"ist nach",filterOperatorOnOrAfter:"ist am oder nach",filterOperatorBefore:"ist vor",filterOperatorOnOrBefore:"ist am oder vor",filterOperatorIsEmpty:"ist leer",filterOperatorIsNotEmpty:"ist nicht leer",filterValueAny:"Beliebig",filterValueTrue:"Ja",filterValueFalse:"Nein",columnMenuLabel:"Men\xfc",columnMenuShowColumns:"Zeige alle Spalten",columnMenuFilter:"Filter",columnMenuHideColumn:"Verbergen",columnMenuUnsort:"Sortierung deaktivieren",columnMenuSortAsc:"Sortiere aufsteigend",columnMenuSortDesc:"Sortiere absteigend",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" aktive Filter":" aktiver Filter")},columnHeaderFiltersLabel:"Zeige Filter",columnHeaderSortIconLabel:"Sortieren",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" Eintr\xe4ge ausgew\xe4hlt":" Eintrag ausgew\xe4hlt")},footerTotalRows:"Gesamt:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," von ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Checkbox Auswahl",booleanCellTrueLabel:"Ja",booleanCellFalseLabel:"Nein",actionsCellMore:"Mehr",treeDataGroupingHeaderName:"Gruppe",treeDataExpand:"Kinder einblenden",treeDataCollapse:"Kinder ausblenden"},ut.d),Oa({noRowsLabel:"\u0394\u03b5\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03c5\u03bd \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2",noResultsOverlayLabel:"\u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03b1\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1.",errorOverlayDefaultLabel:"\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03b1\u03c0\u03c1\u03cc\u03b2\u03bb\u03b5\u03c0\u03c4\u03bf \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1.",toolbarDensity:"\u038e\u03c8\u03bf\u03c2 \u03c3\u03b5\u03b9\u03c1\u03ac\u03c2",toolbarDensityLabel:"\u038e\u03c8\u03bf\u03c2 \u03c3\u03b5\u03b9\u03c1\u03ac\u03c2",toolbarDensityCompact:"\u03a3\u03c5\u03bc\u03c0\u03b1\u03b3\u03ae\u03c2",toolbarDensityStandard:"\u03a0\u03c1\u03bf\u03ba\u03b1\u03b8\u03bf\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf",toolbarDensityComfortable:"\u03a0\u03bb\u03b1\u03c4\u03cd",toolbarColumns:"\u03a3\u03c4\u03ae\u03bb\u03b5\u03c2",toolbarColumnsLabel:"\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c3\u03c4\u03ae\u03bb\u03b5\u03c2",toolbarFilters:"\u03a6\u03af\u03bb\u03c4\u03c1\u03b1",toolbarFiltersLabel:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipHide:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipShow:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c6\u03af\u03bb\u03c4\u03c1\u03b1":" \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc \u03c6\u03af\u03bb\u03c4\u03c1\u03bf")},toolbarExport:"\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae",toolbarExportLabel:"\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae",toolbarExportCSV:"\u039b\u03ae\u03c8\u03b7 \u03c9\u03c2 CSV",columnsPanelTextFieldLabel:"\u0395\u03cd\u03c1\u03b5\u03c3\u03b7 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelTextFieldPlaceholder:"\u0395\u03c0\u03b9\u03ba\u03b5\u03c6\u03b1\u03bb\u03af\u03b4\u03b1 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelDragIconLabel:"\u0391\u03bd\u03b1\u03b4\u03b9\u03ac\u03c4\u03b1\u03be\u03b7 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelShowAllButton:"\u03a0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae \u03cc\u03bb\u03c9\u03bd",columnsPanelHideAllButton:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7 \u03cc\u03bb\u03c9\u03bd",filterPanelAddFilter:"\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5",filterPanelDeleteIconLabel:"\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae",filterPanelOperators:"\u03a4\u03b5\u03bb\u03b5\u03c3\u03c4\u03ad\u03c2",filterPanelOperatorAnd:"\u039a\u03b1\u03af",filterPanelOperatorOr:"\u0389",filterPanelColumns:"\u03a3\u03c4\u03ae\u03bb\u03b5\u03c2",filterPanelInputLabel:"\u03a4\u03b9\u03bc\u03ae",filterPanelInputPlaceholder:"\u03a4\u03b9\u03bc\u03ae \u03c6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5",filterOperatorContains:"\u03c0\u03b5\u03c1\u03b9\u03ad\u03c7\u03b5\u03b9",filterOperatorEquals:"\u03b9\u03c3\u03bf\u03cd\u03c4\u03b1\u03b9",filterOperatorStartsWith:"\u03be\u03b5\u03ba\u03b9\u03bd\u03ac\u03b5\u03b9 \u03bc\u03b5",filterOperatorEndsWith:"\u03c4\u03b5\u03bb\u03b5\u03b9\u03ce\u03bd\u03b5\u03b9 \u03bc\u03b5",filterOperatorIs:"\u03b5\u03af\u03bd\u03b1\u03b9",filterOperatorNot:"\u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9",filterOperatorAfter:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03c4\u03ac",filterOperatorOnOrAfter:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03af\u03c3\u03bf \u03ae \u03bc\u03b5\u03c4\u03ac",filterOperatorBefore:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03c1\u03b9\u03bd",filterOperatorOnOrBefore:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03af\u03c3\u03bf \u03ae \u03c0\u03c1\u03b9\u03bd",filterOperatorIsEmpty:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03b5\u03bd\u03cc",filterOperatorIsNotEmpty:"\u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03b5\u03bd\u03cc",columnMenuLabel:"\u039c\u03b5\u03bd\u03bf\u03cd",columnMenuShowColumns:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bb\u03ce\u03bd",columnMenuFilter:"\u03a6\u03af\u03bb\u03c4\u03c1\u03bf",columnMenuHideColumn:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7",columnMenuUnsort:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7\u03c2",columnMenuSortAsc:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03b1\u03cd\u03be\u03bf\u03c5\u03c3\u03b1 \u03c3\u03b5\u03b9\u03c1\u03ac",columnMenuSortDesc:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03c6\u03b8\u03af\u03bd\u03bf\u03c5\u03c3\u03b1 \u03c3\u03b5\u03b9\u03c1\u03ac",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c6\u03af\u03bb\u03c4\u03c1\u03b1":" \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc \u03c6\u03af\u03bb\u03c4\u03c1\u03bf")},columnHeaderFiltersLabel:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",columnHeaderSortIconLabel:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ad\u03c2":" \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae")},footerTotalRows:"\u03a3\u03cd\u03bd\u03bf\u03bb\u03bf \u0393\u03c1\u03b1\u03bc\u03bc\u03ce\u03bd:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u03b1\u03c0\u03cc ").concat(e.toLocaleString())},actionsCellMore:"\u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b1"}),Oa(Do,ut.e),Oa({noRowsLabel:"Sin filas",errorOverlayDefaultLabel:"Ha ocurrido un error.",toolbarDensity:"Densidad",toolbarDensityLabel:"Densidad",toolbarDensityCompact:"Compacta",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comoda",toolbarColumns:"Columnas",toolbarColumnsLabel:"Seleccionar columnas",toolbarFilters:"Filtros",toolbarFiltersLabel:"Mostrar filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Mostrar filtros",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtros activos":" filtro activo")},toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Descargar como CSV",columnsPanelTextFieldLabel:"Columna de b\xfasqueda",columnsPanelTextFieldPlaceholder:"T\xedtulo de columna",columnsPanelDragIconLabel:"Reorder columna",columnsPanelShowAllButton:"Mostrar todo",columnsPanelHideAllButton:"Ocultar todo",filterPanelAddFilter:"Agregar filtro",filterPanelDeleteIconLabel:"Borrar",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"Y",filterPanelOperatorOr:"O",filterPanelColumns:"Columnas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Valor de filtro",filterOperatorContains:"contiene",filterOperatorEquals:"es igual",filterOperatorStartsWith:"comienza con",filterOperatorEndsWith:"termina con",filterOperatorIs:"es",filterOperatorNot:"no es",filterOperatorAfter:"es posterior",filterOperatorOnOrAfter:"es en o posterior",filterOperatorBefore:"es anterior",filterOperatorOnOrBefore:"es en o anterior",filterOperatorIsEmpty:"est\xe1 vac\xedo",filterOperatorIsNotEmpty:"no esta vac\xedo",columnMenuLabel:"Men\xfa",columnMenuShowColumns:"Mostrar columnas",columnMenuFilter:"Filtro",columnMenuHideColumn:"Ocultar",columnMenuUnsort:"Desordenar",columnMenuSortAsc:"Ordenar ASC",columnMenuSortDesc:"Ordenar DESC",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtros activos":" filtro activo")},columnHeaderFiltersLabel:"Mostrar filtros",columnHeaderSortIconLabel:"Ordenar",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" filas seleccionadas":" fila seleccionada")},footerTotalRows:"Filas Totales:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," de ").concat(e.toLocaleString())},actionsCellMore:"m\xe1s"},ut.f),Oa({noRowsLabel:"\u0628\u062f\u0648\u0646 \u0633\u0637\u0631",noResultsOverlayLabel:"\u0646\u062a\u06cc\u062c\u0647 \u0627\u06cc \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f.",errorOverlayDefaultLabel:"\u062e\u0637\u0627\u06cc\u06cc \u0631\u0648\u06cc \u062f\u0627\u062f.",toolbarDensity:"\u062a\u0631\u0627\u06a9\u0645",toolbarDensityLabel:"\u062a\u0631\u0627\u06a9\u0645",toolbarDensityCompact:"\u0641\u0634\u0631\u062f\u0647",toolbarDensityStandard:"\u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f",toolbarDensityComfortable:"\u0631\u0627\u062d\u062a",toolbarColumns:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627",toolbarColumnsLabel:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f",toolbarFilters:"\u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersLabel:"\u0646\u0645\u0627\u06cc\u0634 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersTooltipHide:"\u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersTooltipShow:"\u0646\u0645\u0627\u06cc\u0634 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0641\u0639\u0627\u0644":" \u0641\u06cc\u0644\u062a\u0631 \u0641\u0639\u0627\u0644")},toolbarExport:"\u062e\u0631\u0648\u062c\u06cc",toolbarExportLabel:"\u062e\u0631\u0648\u062c\u06cc",toolbarExportCSV:"\u062f\u0627\u0646\u0644\u0648\u062f \u0628\u0647\u200c\u0635\u0648\u0631\u062a CSV",columnsPanelTextFieldLabel:"\u067e\u06cc\u062f\u0627\u06a9\u0631\u062f\u0646 \u0633\u062a\u0648\u0646",columnsPanelTextFieldPlaceholder:"\u0639\u0646\u0648\u0627\u0646 \u0633\u062a\u0648\u0646",columnsPanelDragIconLabel:"\u062c\u0627\u200c\u0628\u0647\u200c\u062c\u0627\u06cc\u06cc \u0633\u062a\u0648\u0646",columnsPanelShowAllButton:"\u0646\u0645\u0627\u06cc\u0634 \u0647\u0645\u0647",columnsPanelHideAllButton:"\u0645\u062e\u0641\u06cc \u0647\u0645\u0647",filterPanelAddFilter:"\u0627\u0641\u0632\u0648\u062f\u0646 \u0641\u06cc\u0644\u062a\u0631",filterPanelDeleteIconLabel:"\u062d\u0630\u0641",filterPanelOperators:"\u0639\u0645\u0644\u06af\u0631\u0647\u0627",filterPanelOperatorAnd:"\u0648",filterPanelOperatorOr:"\u06cc\u0627",filterPanelColumns:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627",filterPanelInputLabel:"\u0645\u0642\u062f\u0627\u0631",filterPanelInputPlaceholder:"\u0641\u06cc\u0644\u062a\u0631 \u0645\u0642\u062f\u0627\u0631",filterOperatorContains:"\u0634\u0627\u0645\u0644",filterOperatorEquals:"\u0645\u0633\u0627\u0648\u06cc",filterOperatorStartsWith:"\u0634\u0631\u0648\u0639 \u0628\u0627",filterOperatorEndsWith:"\u067e\u0627\u06cc\u0627\u0646 \u0628\u0627",filterOperatorIs:"\u0647\u0633\u062a",filterOperatorNot:"\u0646\u06cc\u0633\u062a",filterOperatorAfter:"\u0628\u0639\u062f \u0627\u0632",filterOperatorOnOrAfter:"\u0645\u0639\u0627\u062f\u0644 \u06cc\u0627 \u0628\u0639\u062f\u0634",filterOperatorBefore:"\u0642\u0628\u0644\u0634",filterOperatorOnOrBefore:"\u0645\u0639\u0627\u062f\u0644 \u06cc\u0627 \u0642\u0628\u0644\u0634",filterOperatorIsEmpty:"\u062e\u0627\u0644\u06cc \u0627\u0633\u062a",filterOperatorIsNotEmpty:"\u062e\u0627\u0644\u06cc \u0646\u06cc\u0633\u062a",filterValueAny:"\u0647\u0631\u0686\u06cc\u0632\u06cc",filterValueTrue:"\u0635\u062d\u06cc\u062d",filterValueFalse:"\u063a\u0644\u0637",columnMenuLabel:"\u0641\u0647\u0631\u0633\u062a",columnMenuShowColumns:"\u0646\u0645\u0627\u06cc\u0634 \u0633\u062a\u0648\u0646\u200c\u0647\u0627",columnMenuFilter:"\u0641\u06cc\u0644\u062a\u0631",columnMenuHideColumn:"\u0645\u062e\u0641\u06cc",columnMenuUnsort:"\u0646\u0627\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646",columnMenuSortAsc:"\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646 \u0635\u0639\u0648\u062f\u06cc",columnMenuSortDesc:"\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646 \u0646\u0632\u0648\u0644\u06cc",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0641\u06cc\u0644\u062a\u0631\u200c\u0647\u0627\u06cc \u0641\u0639\u0627\u0644":" \u0641\u06cc\u0644\u062a\u0631 \u0641\u0639\u0627\u0644")},columnHeaderFiltersLabel:"\u0646\u0645\u0627\u06cc\u0634 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",columnHeaderSortIconLabel:"\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u0633\u0637\u0631\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647":" \u0633\u0637\u0631 \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647")},footerTotalRows:"\u0645\u062c\u0645\u0648\u0639 \u0633\u0637\u0631\u0647\u0627:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u0627\u0632 ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u0627\u0646\u062a\u062e\u0627\u0628 \u0686\u06a9\u200c\u0628\u0627\u06a9\u0633",booleanCellTrueLabel:"\u0635\u062d\u06cc\u062d",booleanCellFalseLabel:"\u063a\u0644\u0637",actionsCellMore:"\u0628\u06cc\u0634\u062a\u0631"},ut.g),Oa({noRowsLabel:"Pas de r\xe9sultats",noResultsOverlayLabel:"Aucun r\xe9sultat.",errorOverlayDefaultLabel:"Une erreur est apparue.",toolbarDensity:"Densit\xe9",toolbarDensityLabel:"Densit\xe9",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Confortable",toolbarColumns:"Colonnes",toolbarColumnsLabel:"Choisir les colonnes",toolbarFilters:"Filtres",toolbarFiltersLabel:"Afficher les filtres",toolbarFiltersTooltipHide:"Cacher les filtres",toolbarFiltersTooltipShow:"Afficher les filtres",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtres actifs":" filtre actif")},toolbarExport:"Exporter",toolbarExportLabel:"Exporter",toolbarExportCSV:"T\xe9l\xe9charger en CSV",columnsPanelTextFieldLabel:"Chercher colonne",columnsPanelTextFieldPlaceholder:"Titre de la colonne",columnsPanelDragIconLabel:"R\xe9organiser la colonne",columnsPanelShowAllButton:"Tout afficher",columnsPanelHideAllButton:"Tout cacher",filterPanelAddFilter:"Ajouter un filtre",filterPanelDeleteIconLabel:"Supprimer",filterPanelOperators:"Op\xe9rateurs",filterPanelOperatorAnd:"Et",filterPanelOperatorOr:"Ou",filterPanelColumns:"Colonnes",filterPanelInputLabel:"Valeur",filterPanelInputPlaceholder:"Filtrer la valeur",filterOperatorContains:"contient",filterOperatorEquals:"\xe9gal \xe0",filterOperatorStartsWith:"commence par",filterOperatorEndsWith:"se termine par",filterOperatorIs:"est",filterOperatorNot:"n'est pas",filterOperatorAfter:"post\xe9rieur",filterOperatorOnOrAfter:"\xe9gal ou post\xe9rieur",filterOperatorBefore:"ant\xe9rieur",filterOperatorOnOrBefore:"\xe9gal ou ant\xe9rieur",filterOperatorIsEmpty:"est vide",filterOperatorIsNotEmpty:"n'est pas vide",columnMenuLabel:"Menu",columnMenuShowColumns:"Afficher les colonnes",columnMenuFilter:"Filtrer",columnMenuHideColumn:"Cacher",columnMenuUnsort:"Annuler le tri",columnMenuSortAsc:"Tri ascendant",columnMenuSortDesc:"Tri descendant",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtres actifs":" filtre actif")},columnHeaderFiltersLabel:"Afficher les filtres",columnHeaderSortIconLabel:"Trier",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" lignes s\xe9lectionn\xe9es":" ligne s\xe9lectionn\xe9e")},footerTotalRows:"Lignes totales :",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," sur ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"S\xe9lection",actionsCellMore:"Plus",treeDataGroupingHeaderName:"Groupe",treeDataExpand:"afficher les enfants",treeDataCollapse:"masquer les enfants"},ut.h),Oa({noRowsLabel:"\u05d0\u05d9\u05df \u05e9\u05d5\u05e8\u05d5\u05ea",noResultsOverlayLabel:"\u05dc\u05d0 \u05e0\u05de\u05e6\u05d0\u05d5 \u05ea\u05d5\u05e6\u05d0\u05d5\u05ea.",errorOverlayDefaultLabel:"\u05d0\u05d9\u05e8\u05e2\u05d4 \u05e9\u05d2\u05d9\u05d0\u05d4.",toolbarDensity:"\u05e6\u05e4\u05d9\u05e4\u05d5\u05ea",toolbarDensityLabel:"\u05e6\u05e4\u05d9\u05e4\u05d5\u05ea",toolbarDensityCompact:"\u05d3\u05d7\u05d5\u05e1\u05d4",toolbarDensityStandard:"\u05e8\u05d2\u05d9\u05dc\u05d4",toolbarDensityComfortable:"\u05d0\u05d5\u05d5\u05e8\u05d9\u05e8\u05d9\u05ea",toolbarColumns:"\u05e2\u05de\u05d5\u05d3\u05d5\u05ea",toolbarColumnsLabel:"\u05d1\u05d7\u05e8 \u05e2\u05de\u05d5\u05d3\u05d5\u05ea",toolbarFilters:"\u05e1\u05d9\u05e0\u05d5\u05df",toolbarFiltersLabel:"\u05d4\u05e6\u05d2 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",toolbarFiltersTooltipHide:"\u05d4\u05e1\u05ea\u05e8 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",toolbarFiltersTooltipShow:"\u05d4\u05e6\u05d2 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",toolbarFiltersTooltipActive:function(t){return 1!==t?"".concat(t," \u05de\u05e1\u05e0\u05e0\u05d9\u05dd \u05e4\u05e2\u05d9\u05dc\u05d9\u05dd"):"\u05de\u05e1\u05e0\u05df \u05d0\u05d7\u05d3 \u05e4\u05e2\u05d9\u05dc"},toolbarExport:"\u05d9\u05d9\u05e6\u05d5\u05d0",toolbarExportLabel:"\u05d9\u05d9\u05e6\u05d5\u05d0",toolbarExportCSV:"\u05d4\u05d5\u05e8\u05d3\u05d4 \u05db- CSV",toolbarExportPrint:"\u05d4\u05d3\u05e4\u05e1\u05d4",columnsPanelTextFieldLabel:"\u05d7\u05e4\u05e9 \u05e2\u05de\u05d5\u05d3\u05d4",columnsPanelTextFieldPlaceholder:"\u05db\u05d5\u05ea\u05e8\u05ea \u05e2\u05de\u05d5\u05d3\u05d4",columnsPanelDragIconLabel:"\u05e1\u05d3\u05e8 \u05e2\u05de\u05d5\u05d3\u05d5\u05ea \u05de\u05d7\u05d3\u05e9",columnsPanelShowAllButton:"\u05d4\u05e6\u05d2 \u05d4\u05db\u05dc",columnsPanelHideAllButton:"\u05d4\u05e1\u05ea\u05e8 \u05d4\u05db\u05dc",filterPanelAddFilter:"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e1\u05e0\u05df",filterPanelDeleteIconLabel:"\u05de\u05d7\u05e7",filterPanelOperators:"\u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8",filterPanelOperatorAnd:"\u05d5\u05d2\u05dd",filterPanelOperatorOr:"\u05d0\u05d5",filterPanelColumns:"\u05e2\u05de\u05d5\u05d3\u05d5\u05ea",filterPanelInputLabel:"\u05e2\u05e8\u05da",filterPanelInputPlaceholder:"\u05e2\u05e8\u05da \u05de\u05e1\u05e0\u05df",filterOperatorContains:"\u05de\u05db\u05d9\u05dc",filterOperatorEquals:"\u05e9\u05d5\u05d5\u05d4",filterOperatorStartsWith:"\u05de\u05ea\u05d7\u05d9\u05dc \u05d1-",filterOperatorEndsWith:"\u05e0\u05d2\u05de\u05e8 \u05d1-",filterOperatorIs:"\u05d4\u05d9\u05e0\u05d5",filterOperatorNot:"\u05d0\u05d9\u05e0\u05d5",filterOperatorAfter:"\u05d0\u05d7\u05e8\u05d9",filterOperatorOnOrAfter:"\u05d1- \u05d0\u05d5 \u05d0\u05d7\u05e8\u05d9",filterOperatorBefore:"\u05dc\u05e4\u05e0\u05d9",filterOperatorOnOrBefore:"\u05d1- \u05d0\u05d5 \u05dc\u05e4\u05e0\u05d9",filterOperatorIsEmpty:"\u05e8\u05d9\u05e7",filterOperatorIsNotEmpty:"\u05d0\u05d9\u05e0\u05d5 \u05e8\u05d9\u05e7",filterValueAny:"\u05db\u05dc \u05e2\u05e8\u05da",filterValueTrue:"\u05db\u05df",filterValueFalse:"\u05dc\u05d0",columnMenuLabel:"\u05ea\u05e4\u05e8\u05d9\u05d8",columnMenuShowColumns:"\u05d4\u05e6\u05d2 \u05e2\u05de\u05d5\u05d3\u05d5\u05ea",columnMenuFilter:"\u05e1\u05e0\u05df",columnMenuHideColumn:"\u05d4\u05e1\u05ea\u05e8",columnMenuUnsort:"\u05d1\u05d8\u05dc \u05de\u05d9\u05d5\u05df",columnMenuSortAsc:"\u05de\u05d9\u05d9\u05df \u05d1\u05e1\u05d3\u05e8 \u05e2\u05d5\u05dc\u05d4",columnMenuSortDesc:"\u05de\u05d9\u05d9\u05df \u05d1\u05e1\u05d3\u05e8 \u05d9\u05d5\u05e8\u05d3",columnHeaderFiltersTooltipActive:function(t){return 1!==t?"".concat(t," \u05de\u05e1\u05e0\u05e0\u05d9\u05dd \u05e4\u05e2\u05d9\u05dc\u05d9\u05dd"):"\u05de\u05e1\u05e0\u05df \u05d0\u05d7\u05d3 \u05e4\u05e2\u05d9\u05dc"},columnHeaderFiltersLabel:"\u05d4\u05e6\u05d2 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",columnHeaderSortIconLabel:"\u05de\u05d9\u05d9\u05df",footerRowSelected:function(t){return 1!==t?"".concat(t.toLocaleString()," \u05e9\u05d5\u05e8\u05d5\u05ea \u05e0\u05d1\u05d7\u05e8\u05d5"):"\u05e9\u05d5\u05e8\u05d4 \u05d0\u05d7\u05ea \u05e0\u05d1\u05d7\u05e8\u05d4"},footerTotalRows:"\u05e1\u05da \u05d4\u05db\u05dc \u05e9\u05d5\u05e8\u05d5\u05ea: ",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u05de\u05ea\u05d5\u05da ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u05d1\u05d7\u05d9\u05e8\u05d4",booleanCellTrueLabel:"\u05db\u05df",booleanCellFalseLabel:"\u05dc\u05d0",actionsCellMore:"\u05e2\u05d5\u05d3",treeDataGroupingHeaderName:"\u05e7\u05d1\u05e5",treeDataExpand:"\u05d4\u05e8\u05d7\u05d1",treeDataCollapse:"\u05d4\u05e1\u05ea\u05e8"},ut.i),Oa({noRowsLabel:"Nessun record",noResultsOverlayLabel:"Nessun record trovato.",errorOverlayDefaultLabel:"Si \xe8 verificato un errore.",toolbarDensity:"Densit\xe0",toolbarDensityLabel:"Densit\xe0",toolbarDensityCompact:"Compatta",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comoda",toolbarColumns:"Colonne",toolbarColumnsLabel:"Seleziona le colonne",toolbarFilters:"Filtri",toolbarFiltersLabel:"Mostra i filtri",toolbarFiltersTooltipHide:"Nascondi i filtri",toolbarFiltersTooltipShow:"Mostra i filtri",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtri attivi":" filtro attivo")},toolbarExport:"Esporta",toolbarExportLabel:"Esporta",toolbarExportCSV:"Esporta in CSV",columnsPanelTextFieldLabel:"Cerca colonna",columnsPanelTextFieldPlaceholder:"Titolo della colonna",columnsPanelDragIconLabel:"Riordina la colonna",columnsPanelShowAllButton:"Mostra tutto",columnsPanelHideAllButton:"Nascondi tutto",filterPanelAddFilter:"Aggiungi un filtro",filterPanelDeleteIconLabel:"Rimuovi",filterPanelOperators:"Operatori",filterPanelOperatorAnd:"E (and)",filterPanelOperatorOr:"O (or)",filterPanelColumns:"Colonne",filterPanelInputLabel:"Valore",filterPanelInputPlaceholder:"Filtra il valore",filterOperatorContains:"contiene",filterOperatorEquals:"uguale a",filterOperatorStartsWith:"comincia per",filterOperatorEndsWith:"termina per",filterOperatorIs:"uguale a",filterOperatorNot:"diversa da",filterOperatorAfter:"dopo il",filterOperatorOnOrAfter:"a partire dal",filterOperatorBefore:"prima del",filterOperatorOnOrBefore:"fino al",filterOperatorIsEmpty:"\xe8 vuoto",filterOperatorIsNotEmpty:"non \xe8 vuoto",columnMenuLabel:"Menu",columnMenuShowColumns:"Mostra le colonne",columnMenuFilter:"Filtra",columnMenuHideColumn:"Nascondi",columnMenuUnsort:"Annulla l'ordinamento",columnMenuSortAsc:"Ordinamento crescente",columnMenuSortDesc:"Ordinamento decrescente",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtri attivi":" filtro attivo")},columnHeaderFiltersLabel:"Mostra i filtri",columnHeaderSortIconLabel:"Ordina",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" record selezionati":" record selezionato")},footerTotalRows:"Record totali:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," di ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Seleziona",actionsCellMore:"pi\xf9"},ut.j),Oa({noRowsLabel:"\u884c\u304c\u3042\u308a\u307e\u305b\u3093\u3002",noResultsOverlayLabel:"\u7d50\u679c\u304c\u3042\u308a\u307e\u305b\u3093\u3002",errorOverlayDefaultLabel:"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002",toolbarDensity:"\u884c\u9593\u9694",toolbarDensityLabel:"\u884c\u9593\u9694",toolbarDensityCompact:"\u30b3\u30f3\u30d1\u30af\u30c8",toolbarDensityStandard:"\u6a19\u6e96",toolbarDensityComfortable:"\u3072\u308d\u3081",toolbarColumns:"\u5217\u4e00\u89a7",toolbarColumnsLabel:"\u5217\u9078\u629e",toolbarFilters:"\u30d5\u30a3\u30eb\u30bf\u30fc",toolbarFiltersLabel:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",toolbarFiltersTooltipHide:"\u30d5\u30a3\u30eb\u30bf\u30fc\u975e\u8868\u793a",toolbarFiltersTooltipShow:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",toolbarFiltersTooltipActive:function(t){return"".concat(t,"\u4ef6\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u4e2d")},toolbarExport:"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",toolbarExportLabel:"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",toolbarExportCSV:"CSV\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",columnsPanelTextFieldLabel:"\u5217\u691c\u7d22",columnsPanelTextFieldPlaceholder:"\u691c\u7d22\u30af\u30a8\u30ea\u3092\u5165\u529b...",columnsPanelDragIconLabel:"\u5217\u4e26\u3079\u66ff\u3048",columnsPanelShowAllButton:"\u3059\u3079\u3066\u8868\u793a",columnsPanelHideAllButton:"\u3059\u3079\u3066\u975e\u8868\u793a",filterPanelAddFilter:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8ffd\u52a0",filterPanelDeleteIconLabel:"\u524a\u9664",filterPanelOperators:"\u30aa\u30da\u30ec\u30fc\u30bf",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"\u5217",filterPanelInputLabel:"\u5024",filterPanelInputPlaceholder:"\u5024\u3092\u5165\u529b...",filterOperatorContains:"...\u3092\u542b\u3080",filterOperatorEquals:"...\u306b\u7b49\u3057\u3044",filterOperatorStartsWith:"...\u3067\u59cb\u307e\u308b",filterOperatorEndsWith:"...\u3067\u7d42\u308f\u308b",filterOperatorIs:"...\u3067\u3042\u308b",filterOperatorNot:"...\u3067\u306a\u3044",filterOperatorAfter:"...\u3088\u308a\u5f8c\u308d",filterOperatorOnOrAfter:"...\u4ee5\u964d",filterOperatorBefore:"...\u3088\u308a\u524d",filterOperatorOnOrBefore:"...\u4ee5\u524d",filterOperatorIsEmpty:"...\u7a7a\u3067\u3042\u308b",filterOperatorIsNotEmpty:"...\u7a7a\u3067\u306a\u3044",columnMenuLabel:"\u30e1\u30cb\u30e5\u30fc",columnMenuShowColumns:"\u5217\u8868\u793a",columnMenuFilter:"\u30d5\u30a3\u30eb\u30bf\u30fc",columnMenuHideColumn:"\u5217\u975e\u8868\u793a",columnMenuUnsort:"\u30bd\u30fc\u30c8\u89e3\u9664",columnMenuSortAsc:"\u6607\u9806\u30bd\u30fc\u30c8",columnMenuSortDesc:"\u964d\u9806\u30bd\u30fc\u30c8",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,"\u4ef6\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u4e2d")},columnHeaderFiltersLabel:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",columnHeaderSortIconLabel:"\u30bd\u30fc\u30c8",footerRowSelected:function(t){return"".concat(t,"\u884c\u3092\u9078\u629e\u4e2d")},footerTotalRows:"\u7dcf\u884c\u6570:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9",booleanCellTrueLabel:"\u771f",booleanCellFalseLabel:"\u507d"},ut.k),Oa({noRowsLabel:"\ud589\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.",noResultsOverlayLabel:"\uacb0\uacfc\uac12\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.",errorOverlayDefaultLabel:"\uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.",toolbarDensity:"\ub77c\uc778 \uac04\uaca9",toolbarDensityLabel:"\ub77c\uc778 \uac04\uaca9",toolbarDensityCompact:"\uc881\uac8c",toolbarDensityStandard:"\uae30\ubcf8",toolbarDensityComfortable:"\ub113\uac8c",toolbarColumns:"\uc5f4 \ubaa9\ub85d",toolbarColumnsLabel:"\uc5f4 \uc120\ud0dd",toolbarFilters:"\ud544\ud130",toolbarFiltersLabel:"\ud544\ud130 \ud45c\uc2dc",toolbarFiltersTooltipHide:"\ud544\ud130 \uc228\uae30\uae30",toolbarFiltersTooltipShow:"\ud544\ud130 \ud45c\uc2dc",toolbarFiltersTooltipActive:function(t){return"".concat(t,"\uac74\uc758 \ud544\ud130\ub97c \uc801\uc6a9\uc911")},toolbarExport:"\ub0b4\ubcf4\ub0b4\uae30",toolbarExportLabel:"\ub0b4\ubcf4\ub0b4\uae30",toolbarExportCSV:"CSV\ub2e4\uc6b4\ub85c\ub4dc",toolbarExportPrint:"\ud504\ub9b0\ud2b8",columnsPanelTextFieldLabel:"\uc5f4 \uac80\uc0c9",columnsPanelTextFieldPlaceholder:"\uc5f4 \uc774\ub984",columnsPanelDragIconLabel:"\uc5f4 \uc815\ub82c",columnsPanelShowAllButton:"\ubaa8\ub450 \ubcf4\uae30",columnsPanelHideAllButton:"\ubaa8\ub450 \uc228\uae30\uae30",filterPanelAddFilter:"\ud544\ud130 \ucd94\uac00",filterPanelDeleteIconLabel:"\uc0ad\uc81c",filterPanelOperators:"\uc5f0\uc0b0\uc790",filterPanelOperatorAnd:"\uadf8\ub9ac\uace0",filterPanelOperatorOr:"\ub610\ub294",filterPanelColumns:"\ubaa9\ub85d",filterPanelInputLabel:"\uac12",filterPanelInputPlaceholder:"\uac12 \uc785\ub825",filterOperatorContains:"\ud3ec\ud568\ud558\ub294",filterOperatorEquals:"\uac12\uc774 \uac19\uc740",filterOperatorStartsWith:"\uc2dc\uc791\ud558\ub294",filterOperatorEndsWith:"\ub05d\ub098\ub294",filterOperatorIs:"~\uc778",filterOperatorNot:"~\uc544\ub2cc",filterOperatorAfter:"\ub354 \uc774\ud6c4",filterOperatorOnOrAfter:"\uc774\ud6c4",filterOperatorBefore:"\ub354 \uc774\uc804",filterOperatorOnOrBefore:"\uc774\uc804",filterOperatorIsEmpty:"\uac12\uc774 \uc5c6\ub294",filterOperatorIsNotEmpty:"\uac12\uc774 \uc788\ub294",filterValueAny:"\uc544\ubb34\uac12",filterValueTrue:"\ucc38",filterValueFalse:"\uac70\uc9d3",columnMenuLabel:"\uba54\ub274",columnMenuShowColumns:"\uc5f4 \ud45c\uc2dc",columnMenuFilter:"\ud544\ud130",columnMenuHideColumn:"\uc5f4 \uc228\uae30\uae30",columnMenuUnsort:"\uc815\ub82c \ud574\uc81c",columnMenuSortAsc:"\uc624\ub984\ucc28\uc21c \uc815\ub82c",columnMenuSortDesc:"\ub0b4\ub9bc\ucc28\uc21c \uc815\ub82c",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,"\uac74\uc758 \ud544\ud130\ub97c \uc801\uc6a9\uc911")},columnHeaderFiltersLabel:"\ud544\ud130 \ud45c\uc2dc",columnHeaderSortIconLabel:"\uc815\ub82c",footerRowSelected:function(t){return"".concat(t,"\ud589 \uc120\ud0dd\uc911")},footerTotalRows:"\ucd1d \ud589\uc218:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\uc120\ud0dd",booleanCellTrueLabel:"\ucc38",booleanCellFalseLabel:"\uac70\uc9d3",actionsCellMore:"\ub354\ubcf4\uae30",treeDataGroupingHeaderName:"\uadf8\ub8f9",treeDataExpand:"\ud558\uc704\ub178\ub4dc \ud3bc\uce58\uae30",treeDataCollapse:"\ud558\uc704\ub178\ub4dc \uc811\uae30"},ut.l),Oa({noRowsLabel:"Geen resultaten.",errorOverlayDefaultLabel:"Er deed zich een fout voor.",toolbarDensity:"Grootte",toolbarDensityLabel:"Grootte",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Normaal",toolbarDensityComfortable:"Breed",toolbarColumns:"Kolommen",toolbarColumnsLabel:"Kies kolommen",toolbarFilters:"Filters",toolbarFiltersLabel:"Toon filters",toolbarFiltersTooltipHide:"Verberg filters",toolbarFiltersTooltipShow:"Toon filters",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" actieve filters":" filter actief")},columnsPanelTextFieldLabel:"Zoek kolom",columnsPanelTextFieldPlaceholder:"Kolomtitel",columnsPanelDragIconLabel:"Kolom herschikken",columnsPanelShowAllButton:"Alles tonen",columnsPanelHideAllButton:"Alles verbergen",filterPanelAddFilter:"Filter toevoegen",filterPanelDeleteIconLabel:"Verwijderen",filterPanelOperators:"Operatoren",filterPanelOperatorAnd:"En",filterPanelOperatorOr:"Of",filterPanelColumns:"Kolommen",filterPanelInputLabel:"Waarde",filterPanelInputPlaceholder:"Filter waarde",filterOperatorContains:"bevat",filterOperatorEquals:"gelijk aan",filterOperatorStartsWith:"begint met",filterOperatorEndsWith:"eindigt met",filterOperatorIs:"is",filterOperatorNot:"is niet",filterOperatorAfter:"is voor",filterOperatorOnOrAfter:"is gelijk of er voor",filterOperatorBefore:"is na",filterOperatorOnOrBefore:"is gelijk of er na",columnMenuLabel:"Menu",columnMenuShowColumns:"Toon kolommen",columnMenuFilter:"Filteren",columnMenuHideColumn:"Verbergen",columnMenuUnsort:"Annuleer sortering",columnMenuSortAsc:"Oplopend sorteren",columnMenuSortDesc:"Aflopend sorteren",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" actieve filters":" filter actief")},columnHeaderFiltersLabel:"Toon filters",columnHeaderSortIconLabel:"Sorteren",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" rijen geselecteerd":" rij geselecteerd")},footerTotalRows:"Totaal:"},ut.m),Oa({noRowsLabel:"Brak danych",noResultsOverlayLabel:"Nie znaleziono wynik\xf3w.",errorOverlayDefaultLabel:"Wyst\u0105pi\u0142 b\u0142\u0105d.",toolbarDensity:"Wysoko\u015b\u0107 rz\u0119du",toolbarDensityLabel:"Wysoko\u015b\u0107 rz\u0119du",toolbarDensityCompact:"Kompakt",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Komfort",toolbarColumns:"Kolumny",toolbarColumnsLabel:"Zaznacz kolumny",toolbarFilters:"Filtry",toolbarFiltersLabel:"Poka\u017c filtry",toolbarFiltersTooltipHide:"Ukryj filtry",toolbarFiltersTooltipShow:"Poka\u017c filtry",toolbarFiltersTooltipActive:function(t){return"Liczba aktywnych filtr\xf3w: ".concat(t)},toolbarExport:"Eksportuj",toolbarExportLabel:"Eksportuj",toolbarExportCSV:"Pobierz jako plik CSV",columnsPanelTextFieldLabel:"Znajd\u017a kolumn\u0119",columnsPanelTextFieldPlaceholder:"Tytu\u0142 kolumny",columnsPanelDragIconLabel:"Zmie\u0144 kolejno\u015b\u0107 kolumn",columnsPanelShowAllButton:"Poka\u017c wszystko",columnsPanelHideAllButton:"Ukryj wszystko",filterPanelAddFilter:"Dodaj filtr",filterPanelDeleteIconLabel:"Usu\u0144",filterPanelOperators:"Operator",filterPanelOperatorAnd:"I",filterPanelOperatorOr:"Lub",filterPanelColumns:"Kolumny",filterPanelInputLabel:"Warto\u015b\u0107",filterPanelInputPlaceholder:"Filtrowana warto\u015b\u0107",filterOperatorContains:"zawiera",filterOperatorEquals:"r\xf3wna si\u0119",filterOperatorStartsWith:"zaczyna si\u0119 od",filterOperatorEndsWith:"ko\u0144czy si\u0119 na",filterOperatorIs:"r\xf3wna si\u0119",filterOperatorNot:"r\xf3\u017cne",filterOperatorAfter:"wi\u0119ksze ni\u017c",filterOperatorOnOrAfter:"wi\u0119ksze lub r\xf3wne",filterOperatorBefore:"mniejsze ni\u017c",filterOperatorOnOrBefore:"mniejsze lub r\xf3wne",filterOperatorIsEmpty:"jest pusty",filterOperatorIsNotEmpty:"nie jest pusty",columnMenuLabel:"Menu",columnMenuShowColumns:"Poka\u017c wszystkie kolumny",columnMenuFilter:"Filtr",columnMenuHideColumn:"Ukryj",columnMenuUnsort:"Anuluj sortowanie",columnMenuSortAsc:"Sortuj rosn\u0105co",columnMenuSortDesc:"Sortuj malej\u0105co",columnHeaderFiltersTooltipActive:function(t){return"Liczba aktywnych filtr\xf3w: ".concat(t)},columnHeaderFiltersLabel:"Poka\u017c filtry",columnHeaderSortIconLabel:"Sortuj",footerRowSelected:function(t){return"Liczba wybranych wierszy: ".concat(t.toLocaleString())},footerTotalRows:"\u0141\u0105czna liczba wierszy:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," z ").concat(e.toLocaleString())},actionsCellMore:"wi\u0119cej"},ut.n),Oa({noRowsLabel:"Nenhuma linha",noResultsOverlayLabel:"Nenhum resultado encontrado.",errorOverlayDefaultLabel:"Ocorreu um erro.",toolbarDensity:"Densidade",toolbarDensityLabel:"Densidade",toolbarDensityCompact:"Compacto",toolbarDensityStandard:"Padr\xe3o",toolbarDensityComfortable:"Confort\xe1vel",toolbarColumns:"Colunas",toolbarColumnsLabel:"Exibir seletor de colunas",toolbarFilters:"Filtros",toolbarFiltersLabel:"Exibir filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Exibir filtros",toolbarFiltersTooltipActive:function(t){return"".concat(t," ").concat(1!==t?"filtros":"filtro"," ").concat(1!==t?"ativos":"ativo")},toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Baixar como CSV",toolbarExportPrint:"Print",columnsPanelTextFieldLabel:"Localizar coluna",columnsPanelTextFieldPlaceholder:"T\xedtulo da coluna",columnsPanelDragIconLabel:"Reordenar Coluna",columnsPanelShowAllButton:"Mostrar todas",columnsPanelHideAllButton:"Ocultar todas",filterPanelAddFilter:"Adicionar filtro",filterPanelDeleteIconLabel:"Excluir",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"E",filterPanelOperatorOr:"Ou",filterPanelColumns:"Colunas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Filtrar valor",filterOperatorContains:"cont\xe9m",filterOperatorEquals:"\xe9 igual a",filterOperatorStartsWith:"come\xe7a com",filterOperatorEndsWith:"termina com",filterOperatorIs:"\xe9",filterOperatorNot:"n\xe3o \xe9",filterOperatorAfter:"ap\xf3s",filterOperatorOnOrAfter:"em ou ap\xf3s",filterOperatorBefore:"antes de",filterOperatorOnOrBefore:"em ou antes de",filterOperatorIsEmpty:"est\xe1 vazio",filterOperatorIsNotEmpty:"n\xe3o est\xe1 vazio",filterValueAny:"qualquer",filterValueTrue:"verdadeiro",filterValueFalse:"falso",columnMenuLabel:"Menu",columnMenuShowColumns:"Exibir colunas",columnMenuFilter:"Filtrar",columnMenuHideColumn:"Ocultar",columnMenuUnsort:"Desfazer ordena\xe7\xe3o",columnMenuSortAsc:"Ordenar do menor para o maior",columnMenuSortDesc:"Ordenar do maior para o menor",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," ").concat(1!==t?"filtros":"filtro"," ").concat(1!==t?"ativos":"ativo")},columnHeaderFiltersLabel:"Exibir Filtros",columnHeaderSortIconLabel:"Ordenar",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" linhas selecionadas":" linha selecionada")},footerTotalRows:"Total de linhas:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," de ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Sele\xe7\xe3o",booleanCellTrueLabel:"sim",booleanCellFalseLabel:"n\xe3o",actionsCellMore:"mais"},ut.o),Oa({noRowsLabel:"\u041d\u0435\u0442 \u0441\u0442\u0440\u043e\u043a",noResultsOverlayLabel:"\u0414\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u044b.",errorOverlayDefaultLabel:"\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0430.",toolbarDensity:"\u0412\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0438",toolbarDensityLabel:"\u0412\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0438",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430\u044f",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430\u044f",toolbarColumns:"\u0421\u0442\u043e\u043b\u0431\u0446\u044b",toolbarColumnsLabel:"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b",toolbarFilters:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipHide:"\u0421\u043a\u0440\u044b\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipActive:function(t){var e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",r=t%10;return r>1&&r<5?e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u0430":1===r&&(e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440"),"".concat(t," ").concat(e)},toolbarExport:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportLabel:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportCSV:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 CSV",toolbarExportPrint:"\u041f\u0435\u0447\u0430\u0442\u044c",columnsPanelTextFieldLabel:"\u041d\u0430\u0439\u0442\u0438 \u0441\u0442\u043e\u043b\u0431\u0435\u0446",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u043e\u043b\u0431\u0446\u0430",columnsPanelDragIconLabel:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0442\u043e\u043b\u0431\u0446\u0430",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435",columnsPanelHideAllButton:"\u0421\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435",filterPanelAddFilter:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440",filterPanelDeleteIconLabel:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b",filterPanelOperatorAnd:"\u0418",filterPanelOperatorOr:"\u0418\u043b\u0438",filterPanelColumns:"\u0421\u0442\u043e\u043b\u0431\u0446\u044b",filterPanelInputLabel:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435",filterPanelInputPlaceholder:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0430",filterOperatorContains:"\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442",filterOperatorEquals:"\u0440\u0430\u0432\u0435\u043d",filterOperatorStartsWith:"\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441",filterOperatorEndsWith:"\u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430",filterOperatorIs:"\u0440\u0430\u0432\u0435\u043d",filterOperatorNot:"\u043d\u0435 \u0440\u0430\u0432\u0435\u043d",filterOperatorAfter:"\u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c",filterOperatorOnOrAfter:"\u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e",filterOperatorBefore:"\u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u043c",filterOperatorOnOrBefore:"\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e",filterOperatorIsEmpty:"\u043f\u0443\u0441\u0442\u043e\u0439",filterOperatorIsNotEmpty:"\u043d\u0435 \u043f\u0443\u0441\u0442\u043e\u0439",filterValueAny:"\u043b\u044e\u0431\u043e\u0439",filterValueTrue:"\u0438\u0441\u0442\u0438\u043d\u0430",filterValueFalse:"\u043b\u043e\u0436\u044c",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b",columnMenuFilter:"\u0424\u0438\u043b\u044c\u0442\u0440",columnMenuHideColumn:"\u0421\u043a\u0440\u044b\u0442\u044c",columnMenuUnsort:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044e",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044e",columnHeaderFiltersTooltipActive:function(t){var e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",r=t%10;return r>1&&r<5?e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u0430":1===r&&(e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440"),"".concat(t," ").concat(e)},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",footerRowSelected:function(t){var e="\u0441\u0442\u0440\u043e\u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043e",r=t%10;return r>1&&r<5?e="\u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b":1===r&&(e="\u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"),"".concat(t," ").concat(e)},footerTotalRows:"\u0412\u0441\u0435\u0433\u043e \u0441\u0442\u0440\u043e\u043a:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u0438\u0437 ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u0412\u044b\u0431\u043e\u0440 \u0444\u043b\u0430\u0436\u043a\u0430",booleanCellTrueLabel:"\u0438\u0441\u0442\u0438\u043d\u0430",booleanCellFalseLabel:"\u043b\u043e\u0436\u044c",actionsCellMore:"\u0435\u0449\u0451",treeDataGroupingHeaderName:"\u0413\u0440\u0443\u043f\u043f\u0430",treeDataExpand:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b",treeDataCollapse:"\u0441\u043a\u0440\u044b\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b"},ut.p),Oa({noRowsLabel:"\u017diadne z\xe1znamy",noResultsOverlayLabel:"Nena\u0161li sa \u017eadne v\xfdsledky.",errorOverlayDefaultLabel:"Stala sa nepredv\xeddan\xe1 chyba.",toolbarDensity:"Hustota",toolbarDensityLabel:"Hustota",toolbarDensityCompact:"Kompaktn\xe1",toolbarDensityStandard:"\u0160tandartn\xe1",toolbarDensityComfortable:"Komfortn\xe1",toolbarColumns:"St\u013apce",toolbarColumnsLabel:"Vybra\u0165 st\u013apce",toolbarFilters:"Filtre",toolbarFiltersLabel:"Zobrazi\u0165 filtre",toolbarFiltersTooltipHide:"Skry\u0165 filtre ",toolbarFiltersTooltipShow:"Zobrazi\u0165 filtre",toolbarFiltersTooltipActive:function(t){var e="akt\xedvnych filtrov";return t>1&&t<5?e="akt\xedvne filtre":1===t&&(e="akt\xedvny filter"),"".concat(t," ").concat(e)},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Stiahnu\u0165 ako CSV",columnsPanelTextFieldLabel:"N\xe1js\u0165 st\u013apec",columnsPanelTextFieldPlaceholder:"N\xe1zov st\u013apca",columnsPanelDragIconLabel:"Usporiad\u0165 st\u013apce",columnsPanelShowAllButton:"Zobrazi\u0165 v\u0161etko",columnsPanelHideAllButton:"Skry\u0165 v\u0161etko",filterPanelAddFilter:"Prida\u0165 filter",filterPanelDeleteIconLabel:"Odstr\xe1ni\u0165",filterPanelOperators:"Oper\xe1tory",filterPanelOperatorAnd:"A",filterPanelOperatorOr:"Alebo",filterPanelColumns:"St\u013apce",filterPanelInputLabel:"Hodnota",filterPanelInputPlaceholder:"Hodnota filtra",filterOperatorContains:"obsahuje",filterOperatorEquals:"rovn\xe1 sa",filterOperatorStartsWith:"za\u010d\xedna s",filterOperatorEndsWith:"kon\u010d\xed na",filterOperatorIs:"je",filterOperatorNot:"nie je",filterOperatorAfter:"je po",filterOperatorOnOrAfter:"je na alebo po",filterOperatorBefore:"je pred",filterOperatorOnOrBefore:"je na alebo sk\xf4r",filterValueAny:"ak\xfdko\u013evek",filterValueTrue:"\xe1no",filterValueFalse:"nie",columnMenuLabel:"Menu",columnMenuShowColumns:"Zobrazi\u0165 st\u013apce",columnMenuFilter:"Filter",columnMenuHideColumn:"Skry\u0165",columnMenuUnsort:"Zru\u0161i\u0165 filtre",columnMenuSortAsc:"Zoradi\u0165 vzostupne",columnMenuSortDesc:"Zoradi\u0165 zostupne",columnHeaderFiltersTooltipActive:function(t){var e="akt\xedvnych filtrov";return t>1&&t<5?e="akt\xedvne filtre":1===t&&(e="akt\xedvny filter"),"".concat(t," ").concat(e)},columnHeaderFiltersLabel:"Zobrazi\u0165 filtre",columnHeaderSortIconLabel:"Filtrova\u0165",footerRowSelected:function(t){var e="vybran\xfdch z\xe1znamov";return t>1&&t<5?e="vybran\xe9 z\xe1znamy":1===t&&(e="vybran\xfd z\xe1znam"),"".concat(t," ").concat(e)},footerTotalRows:"Riadkov spolu:",checkboxSelectionHeaderName:"V\xfdber riadku",booleanCellTrueLabel:"\xe1no",booleanCellFalseLabel:"nie"},ut.q),Oa({noRowsLabel:"Sat\u0131r yok",errorOverlayDefaultLabel:"Bir hata olu\u015ftu.",toolbarDensity:"Yo\u011funluk",toolbarDensityLabel:"Yo\u011funluk",toolbarDensityCompact:"S\u0131k\u0131",toolbarDensityStandard:"Standart",toolbarDensityComfortable:"Rahat",toolbarColumns:"S\xfctunlar",toolbarColumnsLabel:"S\xfctun se\xe7",toolbarFilters:"Filtreler",toolbarFiltersLabel:"Filtreleri g\xf6ster",toolbarFiltersTooltipHide:"Filtreleri gizle",toolbarFiltersTooltipShow:"Filtreleri g\xf6ster",toolbarFiltersTooltipActive:function(t){return"".concat(t," aktif filtre")},toolbarExport:"D\u0131\u015fa aktar",toolbarExportLabel:"D\u0131\u015fa aktar",toolbarExportCSV:"CSV olarak aktar",columnsPanelTextFieldLabel:"S\xfctun ara",columnsPanelTextFieldPlaceholder:"S\xfctun ad\u0131",columnsPanelDragIconLabel:"S\xfctunlar\u0131 yeniden s\u0131rala",columnsPanelShowAllButton:"Hepsini g\xf6ster",columnsPanelHideAllButton:"Hepsini gizle",filterPanelAddFilter:"Filtre Ekle",filterPanelDeleteIconLabel:"Kald\u0131r",filterPanelOperators:"Operat\xf6r",filterPanelOperatorAnd:"Ve",filterPanelOperatorOr:"Veya",filterPanelColumns:"S\xfctunlar",filterPanelInputLabel:"De\u011fer",filterPanelInputPlaceholder:"Filtre de\u011feri",filterOperatorContains:"i\xe7erir",filterOperatorEquals:"e\u015fittir",filterOperatorStartsWith:"ile ba\u015flar",filterOperatorEndsWith:"ile biter",filterOperatorIs:"e\u015fittir",filterOperatorNot:"e\u015fit de\u011fildir",filterOperatorAfter:"b\xfcy\xfck",filterOperatorOnOrAfter:"b\xfcy\xfck e\u015fit",filterOperatorBefore:"k\xfc\xe7\xfck",filterOperatorOnOrBefore:"k\xfc\xe7\xfck e\u015fit",filterOperatorIsEmpty:"bo\u015f",filterOperatorIsNotEmpty:"dolu",columnMenuLabel:"Men\xfc",columnMenuShowColumns:"S\xfctunlar\u0131 g\xf6ster",columnMenuFilter:"Filtre uygula",columnMenuHideColumn:"Gizle",columnMenuUnsort:"S\u0131ralama",columnMenuSortAsc:"S\u0131rala - Artan",columnMenuSortDesc:"S\u0131rala - Azalan",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," filtre aktif")},columnHeaderFiltersLabel:"Filtreleri g\xf6ster",columnHeaderSortIconLabel:"S\u0131rala",footerRowSelected:function(t){return"".concat(t.toLocaleString()," sat\u0131r se\xe7ildi")},footerTotalRows:"Toplam Sat\u0131r:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())}},ut.r),Oa({noRowsLabel:"\u041d\u0435\u043c\u0430\u0454 \u0440\u044f\u0434\u043a\u0456\u0432",errorOverlayDefaultLabel:"\u0412\u0438\u044f\u0432\u043b\u0435\u043d\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443.",toolbarDensity:"\u0412\u0438\u0441\u043e\u0442\u0430 \u0440\u044f\u0434\u043a\u0430",toolbarDensityLabel:"\u0412\u0438\u0441\u043e\u0442\u0430 \u0440\u044f\u0434\u043a\u0430",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0438\u0439",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u0439",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0438\u0439",toolbarColumns:"\u0421\u0442\u043e\u0432\u043f\u0446\u0456",toolbarColumnsLabel:"\u0412\u0438\u0434\u0456\u043b\u0456\u0442\u044c \u0441\u0442\u043e\u0432\u043f\u0446\u0456",toolbarFilters:"\u0424\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipHide:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0430\u043a\u0442\u0438\u0432\u043d\u0456 \u0444\u0456\u043b\u044c\u0442\u0440\u0438":" \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0444\u0456\u043b\u044c\u0442\u0440")},toolbarExport:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportLabel:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportCSV:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0456 CSV",columnsPanelTextFieldLabel:"\u0417\u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u043e\u0432\u043f\u0446\u044f",columnsPanelDragIconLabel:"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0442\u043e\u0432\u043f\u0446\u044f",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0443\u0441\u0456",columnsPanelHideAllButton:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438 \u0443\u0441\u0456",filterPanelAddFilter:"\u0414\u043e\u0434\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440",filterPanelDeleteIconLabel:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438",filterPanelOperatorAnd:"\u0406",filterPanelOperatorOr:"\u0410\u0431\u043e",filterPanelColumns:"\u0421\u0442\u043e\u0432\u043f\u0446\u0456",filterPanelInputLabel:"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f",filterPanelInputPlaceholder:"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0444\u0456\u043b\u044c\u0442\u0440\u0430",filterOperatorContains:"\u043c\u0456\u0441\u0442\u0438\u0442\u044c",filterOperatorEquals:"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorStartsWith:"\u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f \u0437",filterOperatorEndsWith:"\u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430",filterOperatorIs:"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorNot:"\u043d\u0435",filterOperatorAfter:"\u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0456\u0436",filterOperatorOnOrAfter:"\u0431\u0456\u043b\u044c\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorBefore:"\u043c\u0435\u043d\u0448\u0435 \u043d\u0456\u0436",filterOperatorOnOrBefore:"\u043c\u0435\u043d\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterValueAny:"\u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439",filterValueTrue:"\u043f\u0440\u0430\u0432\u0434\u0430",filterValueFalse:"\u043f\u043e\u043c\u0438\u043b\u043a\u043e\u0432\u0438\u0439",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0446\u0456",columnMenuFilter:"\u0424\u0456\u043b\u044c\u0442\u0440",columnMenuHideColumn:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438",columnMenuUnsort:"\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u0441\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u043d\u044f",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0437\u0440\u043e\u0441\u0442\u0430\u043d\u043d\u044f\u043c",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0441\u043f\u0430\u0434\u0430\u043d\u043d\u044f\u043c",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0430\u043a\u0442\u0438\u0432\u043d\u0456 \u0444\u0456\u043b\u044c\u0442\u0440\u0438":" \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0444\u0456\u043b\u044c\u0442\u0440")},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u0432\u0438\u0431\u0440\u0430\u043d\u0456 \u0440\u044f\u0434\u043a\u0438":" \u0432\u0438\u0431\u0440\u0430\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a")},footerTotalRows:"\u0412\u0441\u044c\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0456\u0432:",checkboxSelectionHeaderName:"\u0412\u0438\u0431\u0456\u0440 \u043f\u0440\u0430\u043f\u043e\u0440\u0446\u044f",booleanCellTrueLabel:"\u043f\u0440\u0430\u0432\u0434\u0430",booleanCellFalseLabel:"\u043f\u043e\u043c\u0438\u043b\u043a\u043e\u0432\u0438\u0439"},ut.s),Oa({noRowsLabel:"Kh\xf4ng c\xf3 d\u1eef li\u1ec7u",noResultsOverlayLabel:"Kh\xf4ng t\xecm th\u1ea5y k\u1ebft qu\u1ea3.",errorOverlayDefaultLabel:"C\xf3 l\u1ed7i x\u1ea3y ra.",toolbarDensity:"\u0110\u1ed9 gi\xe3n",toolbarDensityLabel:"\u0110\u1ed9 gi\xe3n",toolbarDensityCompact:"Trung b\xecnh",toolbarDensityStandard:"Ti\xeau chu\u1ea9n",toolbarDensityComfortable:"R\u1ed9ng",toolbarColumns:"C\u1ed9t",toolbarColumnsLabel:"Ch\u1ecdn c\u1ed9t",toolbarFilters:"B\u1ed9 l\u1ecdc",toolbarFiltersLabel:"Hi\u1ec3n th\u1ecb b\u1ed9 l\u1ecdc",toolbarFiltersTooltipHide:"\u1ea8n",toolbarFiltersTooltipShow:"Hi\u1ec7n",toolbarFiltersTooltipActive:function(t){return"".concat(t," b\u1ed9 l\u1ecdc ho\u1ea1t \u0111\u1ed9ng")},toolbarExport:"Xu\u1ea5t",toolbarExportLabel:"Xu\u1ea5t",toolbarExportCSV:"Xu\u1ea5t CSV",columnsPanelTextFieldLabel:"T\xecm ki\u1ebfm",columnsPanelTextFieldPlaceholder:"Ti\xeau \u0111\u1ec1 c\u1ed9t",columnsPanelDragIconLabel:"S\u1eafp x\u1ebfp",columnsPanelShowAllButton:"Hi\u1ec7n t\u1ea5t c\u1ea3",columnsPanelHideAllButton:"\u1ea8n t\u1ea5t c\u1ea3",filterPanelAddFilter:"Th\xeam b\u1ed9 l\u1ecdc",filterPanelDeleteIconLabel:"X\xf3a",filterPanelOperators:"To\xe1n t\u1eed",filterPanelOperatorAnd:"V\xe0",filterPanelOperatorOr:"Ho\u1eb7c",filterPanelColumns:"C\u1ed9t",filterPanelInputLabel:"Gi\xe1 tr\u1ecb",filterPanelInputPlaceholder:"L\u1ecdc gi\xe1 tr\u1ecb",filterOperatorContains:"Ch\u1ee9a",filterOperatorEquals:"B\u1eb1ng",filterOperatorStartsWith:"B\u1eaft \u0111\u1ea7u b\u1eb1ng",filterOperatorEndsWith:"K\u1ebft th\xfac b\u1eb1ng",filterOperatorIs:"L\xe0",filterOperatorNot:"Kh\xf4ng l\xe0",filterOperatorAfter:"Tr\u01b0\u1edbc",filterOperatorBefore:"Sau",filterOperatorIsEmpty:"R\u1ed7ng",filterOperatorIsNotEmpty:"Kh\xe1c r\u1ed7ng",columnMenuLabel:"Danh m\u1ee5c",columnMenuShowColumns:"Danh s\xe1ch c\u1ed9t",columnMenuFilter:"B\u1ed9 l\u1ecdc",columnMenuHideColumn:"\u1ea8n c\u1ed9t",columnMenuUnsort:"B\u1ecf s\u1eafp x\u1ebfp",columnMenuSortAsc:"S\u1eafp x\u1ebfp t\u0103ng d\u1ea7n",columnMenuSortDesc:"S\u1eafp x\u1ebfp gi\u1ea3m d\u1ea7n",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," b\u1ed9 l\u1ecdc ho\u1ea1t \u0111\u1ed9ng")},columnHeaderFiltersLabel:"B\u1ed9 l\u1ecdc",columnHeaderSortIconLabel:"S\u1eafp x\u1ebfp",footerRowSelected:function(t){return"".concat(t.toLocaleString()," h\xe0ng \u0111\xe3 ch\u1ecdn")},footerTotalRows:"T\u1ed5ng:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},actionsCellMore:"Th\xeam"},ut.t),Oa({noRowsLabel:"\u6ca1\u6709\u6570\u636e\u3002",noResultsOverlayLabel:"\u672a\u627e\u5230\u6570\u636e\u3002",errorOverlayDefaultLabel:"\u53d1\u751f\u9519\u8bef\u3002",toolbarDensity:"\u8868\u683c\u5bc6\u5ea6",toolbarDensityLabel:"\u8868\u683c\u5bc6\u5ea6",toolbarDensityCompact:"\u7d27\u5bc6",toolbarDensityStandard:"\u6807\u51c6",toolbarDensityComfortable:"\u7a00\u758f",toolbarColumns:"\u5217",toolbarColumnsLabel:"\u9009\u62e9\u5217",toolbarFilters:"\u7b5b\u9009\u5668",toolbarFiltersLabel:"\u663e\u793a\u7b5b\u9009\u5668",toolbarFiltersTooltipHide:"\u9690\u85cf\u7b5b\u9009\u5668",toolbarFiltersTooltipShow:"\u663e\u793a\u7b5b\u9009\u5668",toolbarFiltersTooltipActive:function(t){return"".concat(t," \u4e2a\u7b5b\u9009\u5668")},toolbarExport:"\u5bfc\u51fa",toolbarExportLabel:"\u5bfc\u51fa",toolbarExportCSV:"\u5bfc\u51fa\u81f3CSV",columnsPanelTextFieldLabel:"\u641c\u7d22\u5217",columnsPanelTextFieldPlaceholder:"\u5217\u540d",columnsPanelDragIconLabel:"\u91cd\u6392\u5e8f\u5217",columnsPanelShowAllButton:"\u663e\u793a\u6240\u6709",columnsPanelHideAllButton:"\u9690\u85cf\u6240\u6709",filterPanelAddFilter:"\u6dfb\u52a0\u7b5b\u9009\u5668",filterPanelDeleteIconLabel:"\u5220\u9664",filterPanelOperators:"\u64cd\u4f5c\u5668",filterPanelOperatorAnd:"\u4e0e",filterPanelOperatorOr:"\u6216",filterPanelColumns:"\u5217",filterPanelInputLabel:"\u503c",filterPanelInputPlaceholder:"\u7b5b\u9009\u503c",filterOperatorContains:"\u5305\u542b",filterOperatorEquals:"\u7b49\u4e8e",filterOperatorStartsWith:"\u5f00\u59cb\u4e8e",filterOperatorEndsWith:"\u7ed3\u675f\u4e8e",filterOperatorIs:"\u662f",filterOperatorNot:"\u4e0d\u662f",filterOperatorAfter:"\u5728\u540e\u9762",filterOperatorOnOrAfter:"\u6b63\u5728\u540e\u9762",filterOperatorBefore:"\u5728\u524d\u9762",filterOperatorOnOrBefore:"\u6b63\u5728\u524d\u9762",filterOperatorIsEmpty:"\u4e3a\u7a7a",filterOperatorIsNotEmpty:"\u4e0d\u4e3a\u7a7a",filterValueAny:"\u4efb\u4f55",filterValueTrue:"\u771f",filterValueFalse:"\u5047",columnMenuLabel:"\u83dc\u5355",columnMenuShowColumns:"\u663e\u793a",columnMenuFilter:"\u7b5b\u9009\u5668",columnMenuHideColumn:"\u9690\u85cf",columnMenuUnsort:"\u6062\u590d\u9ed8\u8ba4",columnMenuSortAsc:"\u5347\u5e8f",columnMenuSortDesc:"\u964d\u5e8f",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," \u4e2a\u7b5b\u9009\u5668")},columnHeaderFiltersLabel:"\u663e\u793a\u7b5b\u9009\u5668",columnHeaderSortIconLabel:"\u6392\u5e8f",footerRowSelected:function(t){return"\u5171\u9009\u4e2d\u4e86".concat(t.toLocaleString(),"\u884c")},footerTotalRows:"\u6240\u6709\u884c:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u591a\u9009\u6846",booleanCellTrueLabel:"\u771f",booleanCellFalseLabel:"\u5047"},ut.u),function(t){var e=t.apiRef,r=t.props,n=t.children;return b.createElement(pt.Provider,{value:r},b.createElement(lt.Provider,{value:e},n))}),Sa=or()&&null!=window.localStorage.getItem("DEBUG"),ka=function(){},Ea={debug:ka,info:ka,warn:ka,error:ka},Ma=["debug","info","warn","error"];function Ca(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:console,n=Ma.indexOf(e);if(-1===n)throw new Error("MUI: Log level ".concat(e," not recognized."));return Ma.reduce((function(e,i,o){return e[i]=o>=n?function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var a=n[0],s=n.slice(1);r[i].apply(r,["MUI: ".concat(t," - ").concat(a)].concat(Object(l.a)(s)))}:ka,e}),{})}function ja(t){var e=document.createElement("span");e.style.whiteSpace="pre",e.style.userSelect="all",e.style.opacity="0px",e.textContent=t,document.body.appendChild(e);var r=document.createRange();r.selectNode(e);var n=window.getSelection();n.removeAllRanges(),n.addRange(r);try{document.execCommand("copy")}finally{document.body.removeChild(e)}}var Aa=function(t,e){var r=b.useRef(!1);r.current||(t.current.state=e(t.current.state),r.current=!0)};var Ta=function(t,e,r){switch(t){case Li.Compact:return{value:t,headerHeight:Math.floor(.7*e),rowHeight:Math.floor(.7*r)};case Li.Comfortable:return{value:t,headerHeight:Math.floor(1.3*e),rowHeight:Math.floor(1.3*r)};default:return{value:t,headerHeight:e,rowHeight:r}}},Pa=function(t,e){if("string"==typeof t){var r=t.replace(/"/g,'""');return r.includes(e)?'"'.concat(r,'"'):r}return t};var Da=function(t){var e=sr(t,"useGridCsvExport"),r=lr(t,Mr),n=lr(t,Nr),i=lr(t,Er),o=b.useCallback((function(o){var a,s;e.debug("Get data as CSV"),s=(null==o?void 0:o.fields)?o.fields.map((function(t){return i.find((function(e){return e.field===t}))})).filter((function(t){return!!t})):((null==o?void 0:o.allColumns)?i:r).filter((function(t){return!t.disableExport}));var c=t.current.getSelectedRows();return function(t){var e=t.columns,r=t.rowIds,n=t.getCellParams,i=t.delimiterCharacter,o=t.includeHeaders,a=r.reduce((function(t,r){return"".concat(t).concat(function(t,e,r,n){return e.map((function(e){return Pa(r(t,e.field).formattedValue,n)}))}(r,e,n,i).join(i),"\r\n")}),"").trim();return o?"".concat("".concat(e.filter((function(t){return t.field!==_i.field})).map((function(t){return Pa(t.headerName||t.field,i)})).join(i),"\r\n"),a).trim():a}({columns:s,rowIds:c.size>0?n.filter((function(t){return c.has(t)})):n,getCellParams:t.current.getCellParams,delimiterCharacter:(null==o?void 0:o.delimiter)||",",includeHeaders:null===(a=null==o?void 0:o.includeHeaders)||void 0===a||a})}),[e,r,i,n,t]),a=b.useCallback((function(t){e.debug("Export data as CSV");var r=o(t);!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title,n="".concat(r,".").concat(e);if("download"in HTMLAnchorElement.prototype){var i=URL.createObjectURL(t),o=document.createElement("a");return o.href=i,o.download=n,o.click(),void setTimeout((function(){URL.revokeObjectURL(i)}))}throw new Error("MUI: exportAs not supported")}(new Blob([(null==t?void 0:t.utf8WithBom)?new Uint8Array([239,187,191]):"",r],{type:"text/csv"}),"csv",null==t?void 0:t.fileName)}),[e,o]);cr(t,{getDataAsCsv:o,exportDataAsCsv:a},"GridCsvExportApi")},Ra=function(t){if(t.items.length>1&&t.items.find((function(t){return null==t.id})))throw new Error("MUI: The 'id' field is required on `filterModel.items` when you use multiple filters.")},La=function(t,e){var r,n;return e.pagination&&"client"===e.paginationMode?(n=yi(t),r=wi(t)):n=0===(r=Ir(t)).length?null:{firstRowIndex:0,lastRowIndex:r.length-1},{rows:r,range:n}},Ia=function(t,e){var r=ur(t),n=Object(m.a)(r,1)[0],i=La(n,e);return b.useMemo((function(){return{rows:i.rows,range:i.range}}),[i.rows,i.range])},Na=function(t,e){return e>0&&t>0?Math.ceil(t/e):0},Fa=function(t){return t.pageCount?Object.assign(Object.assign({},t),{page:Math.max(Math.min(t.page,t.pageCount-1),0)}):t};function Ba(t){return"function"==typeof t.then}function za(t,e,r){var n=e?e(t):t.id;return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"A row was provided without id in the rows prop:";if(null==t)throw new Error(["MUI: The data grid component requires all rows to have a unique id property.",r,JSON.stringify(e)].join("\n"))}(n,t,r),n}var Ha=function(t){var e,r=t.prevState,n=t.rows,i=t.props,o=null!=i?i:r.props;if(n){e={idRowsLookup:{},ids:[]};for(var a=0;a<n.length;a+=1){var s=n[a],c=za(s,o.getRowId);e.idRowsLookup[c]=s,e.ids.push(c)}}else e=r.value;return{value:e,props:o,rowsBeforePartialUpdates:null!=n?n:r.rowsBeforePartialUpdates}},Ua=function(t,e){var r=t.state,n=r.props.rowCount,i=void 0===n?0:n,o=r.value,a=e.current.unstable_groupRows(o),s=Object.values(a.tree).filter((function(t){return null==t.parent})).length,c=i>a.ids.length?i:a.ids.length,u=i>s?i:s;return Object.assign(Object.assign({},a),{totalRowCount:c,totalTopLevelRowCount:u})};function Wa(t){var e=t.clientHeight,r=t.scrollTop,n=t.offsetHeight,i=t.offsetTop,o=i+n;return o-e>r?o-e:i<r?i:void 0}var qa=function(t,e){(function(t,e){(function(t,e){t.current.getLogger=b.useCallback((function(t){return Sa?Ca(t,"debug",e.logger):e.logLevel?Ca(t,e.logLevel.toString(),e.logger):Ea}),[e.logLevel,e.logger])})(t,e),function(t,e){var r=sr(t,"useApi"),n=b.useCallback((function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],s=n[2],c=void 0===s?{}:s;if(c.defaultMuiPrevented=!1,!function(t){return void 0!==t.isPropagationStopped}(c)||!c.isPropagationStopped()){var u=e.signature===Hi.DataGridPro?{api:t.current}:{};t.current.unstable_eventManager.emit(o,a,c,u)}}),[t,e.signature]),i=b.useCallback((function(e,n,i){r.debug("Binding ".concat(e," event")),t.current.unstable_eventManager.on(e,n,i);var o=t.current;return function(){r.debug("Clearing ".concat(e," event")),o.unstable_eventManager.removeListener(e,n)}}),[t,r]),a=b.useCallback((function(e){t.current.publishEvent(o.componentError,e)}),[t]);cr(t,{subscribeEvent:i,publishEvent:n,showError:a},"GridCoreApi"),b.useEffect((function(){r.debug("Initializing grid api.");var e=t.current;return function(){r.info("Unmounting Grid component. Clearing all events listeners."),e.publishEvent(o.unmount),e.unstable_eventManager.removeAllListeners()}}),[r,t])}(t,e),function(t,e){var r=ur(t),n=Object(m.a)(r,2)[1],i=b.useCallback((function(t){n((function(e){return Object.assign(Object.assign({},e),{error:t})}))}),[n]);b.useEffect((function(){i(e.error)}),[i,e.error]),Gi(t,o.componentError,i)}(t,e),function(t,e){var r=v.a.useRef({}),n=v.a.useCallback((function(t){var e=t.stateId,n=gt(t,["stateId"]);r.current[e]=Object.assign(Object.assign({},n),{stateId:e})}),[]),i=v.a.useCallback((function(n){var i=!1,o=[],a=r.current;if(Object.keys(a).forEach((function(e){var r=a[e],s=r.stateSelector(t.current.state),c=r.stateSelector(n);c!==s&&(c!==r.propModel&&o.push(r.stateId),void 0!==r.propModel&&c!==r.propModel&&(i=!0))})),o.length>1)throw new Error("You're not allowed to update several sub-state in one transaction. You already updated ".concat(o[0],", therefore, you're not allowed to update ").concat(o.join(", ")," in the same transaction."));return{ignoreSetState:i,postUpdate:function(){o.forEach((function(r){var i=a[r],o=a[r].stateSelector(n);if(i.propOnChange){var s=e.signature===Hi.DataGridPro?{api:t.current}:{};i.propOnChange(o,s)}t.current.publishEvent(i.changeEvent,o)}))}}}),[t,e.signature]);cr(t,{unstable_updateControlState:n,unstable_applyControlStateConstraint:i},"controlStateApi")}(t,e),function(t){var e=b.useRef({}),r=b.useCallback((function(r,n,i){e.current[r]||(e.current[r]={});var a=e.current[r],s=a[n];return s&&s===i||(e.current[r]=Object.assign(Object.assign({},a),Object(u.a)({},n,i)),t.current.publishEvent(o.preProcessorRegister,r)),function(){var i=e.current[r],a=n;i[a];var s=gt(i,["symbol"==typeof a?a:a+""]);e.current[r]=s,t.current.publishEvent(o.preProcessorUnregister,r)}}),[t]),n=b.useCallback((function(t,r,n){return e.current[t]?Object.values(e.current[t]).reduce((function(t,e){return e(t,n)}),r):r}),[]);cr(t,{unstable_registerPreProcessor:r,unstable_applyPreProcessors:n},"GridPreProcessing")}(t),function(t){var e=b.useRef(new Map),r=b.useCallback((function(r,n){var i;(null!==(i=e.current.get(r))&&void 0!==i?i:null)!==n&&(e.current.set(r,n),t.current.publishEvent(o.rowGroupsPreProcessingChange))}),[t]),n=b.useCallback((function(){for(var t=null,r=Array.from(e.current.values());!t&&r.length;){var n=r.shift();n&&(t=n.apply(void 0,arguments))}return t||function(t){for(var e=t.ids,r=t.idRowsLookup,n={},i=0;i<e.length;i+=1){var o=e[i];n[o]={id:o,depth:0,parent:null,groupingKey:"",groupingField:null}}return{tree:n,treeDepth:1,idRowsLookup:r,ids:e}}.apply(void 0,arguments)}),[]);cr(t,{unstable_registerRowGroupsBuilder:r,unstable_groupRows:n},"GridRowGroupsPreProcessing")}(t),function(t,e){cr(t,{getLocaleText:b.useCallback((function(t){if(null==e.localeText[t])throw new Error("Missing translation for key ".concat(t,"."));return e.localeText[t]}),[e.localeText])},"LocaleTextApi")}(t,e)})(t,e),function(t,e){var r=sr(t,"useGridSelection"),n=b.useMemo((function(){return null==e.selectionModel||Array.isArray(e.selectionModel)?e.selectionModel:[e.selectionModel]}),[e.selectionModel]);Aa(t,(function(t){return Object.assign(Object.assign({},t),{selection:null!=n?n:[]})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2],u=function(t){var e=t.classes;return b.useMemo((function(){return Object(O.a)({cellCheckbox:["cellCheckbox"],columnHeaderCheckbox:["columnHeaderCheckbox"]},ht,e)}),[e])}({classes:e.classes}),f=b.useRef(null);t.current.unstable_updateControlState({stateId:"selection",propModel:n,propOnChange:e.onSelectionModelChange,stateSelector:qr,changeEvent:o.selectionChange});var h=e.checkboxSelection,d=e.disableMultipleSelection,p=e.disableSelectionOnClick,v=e.isRowSelectable,g=!d||h,y=b.useCallback((function(){return Gr(t.current.state)}),[t]),w=b.useCallback((function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!v||v(t.current.getRowParams(e)))if(f.current=e,i)r.debug("Setting selection for row ".concat(e)),t.current.setSelectionModel(n?[e]:[]);else{r.debug("Toggling selection for row ".concat(e));var o=qr(t.current.state).filter((function(t){return t!==e}));n&&o.push(e),(o.length<2||g)&&t.current.setSelectionModel(o)}}),[t,v,r,g]),x=b.useCallback((function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.debug("Setting selection for several rows");var o,a=v?e.filter((function(e){return v(t.current.getRowParams(e))})):e;if(i)o=n?a:[];else{var s=Object.assign({},Yr(t.current.state));a.forEach((function(t){n?s[t]=t:delete s[t]})),o=Object.values(s)}(o.length<2||g)&&t.current.setSelectionModel(o)}),[t,v,r,g]),_=b.useCallback((function(e){var n=e.startId,i=e.endId,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0;if(t.current.getRow(n)&&t.current.getRow(i)){r.debug("Expanding selection from row ".concat(n," to row ").concat(i));var s=Nr(t.current.state),c=s.indexOf(n),u=s.indexOf(i),l=c>u?[u,c]:[c,u],f=Object(m.a)(l,2),h=f[0],d=f[1],p=s.slice(h,d+1);t.current.selectRows(p,o,a)}}),[t,r]),S=b.useCallback((function(e){var r,n=e,i=null!==(r=f.current)&&void 0!==r?r:e,o=t.current.isRowSelected(e);if(o){var a=Nr(t.current.state),s=a.findIndex((function(t){return t===i})),c=a.findIndex((function(t){return t===n}));n=s>c?a[c+1]:a[c-1]}f.current=e,t.current.selectRowRange({startId:i,endId:n},!o)}),[t]),k=b.useCallback((function(e){qr(t.current.state)!==e&&(r.debug("Setting selection model"),s((function(t){return Object.assign(Object.assign({},t),{selection:e})})),c())}),[t,s,c,r]),E=b.useCallback((function(e){return qr(t.current.state).includes(e)}),[t]),M=b.useCallback((function(){var e=qr(t.current.state),r=pr(t.current.state),n=Object.assign({},Yr(t.current.state)),i=!1;e.forEach((function(t){r[t]||(delete n[t],i=!0)})),i&&t.current.setSelectionModel(Object.values(n))}),[t]),C=b.useCallback((function(e,r){if(!p){var n=r.metaKey||r.ctrlKey;if(r.shiftKey&&(g||h))S(e.id);else!g||!h&&!n?t.current.selectRow(e.id,!n&&!h||!t.current.isRowSelected(e.id),!0):t.current.selectRow(e.id,!t.current.isRowSelected(e.id),!1)}}),[t,S,g,p,h]),j=b.useCallback((function(t,e){var r;g&&e.shiftKey&&(null===(r=window.getSelection())||void 0===r||r.removeAllRanges())}),[g]),A=b.useCallback((function(e,r){r.nativeEvent.shiftKey?S(e.id):t.current.selectRow(e.id,e.value)}),[t,S]),T=b.useCallback((function(r){var n=e.checkboxSelectionVisibleOnly&&e.pagination?xi(t.current.state):Nr(t.current.state);t.current.selectRows(n,r.value)}),[t,e.checkboxSelectionVisibleOnly,e.pagination]);Gi(t,o.visibleRowsSet,M),Gi(t,o.rowClick,C),Gi(t,o.rowSelectionCheckboxChange,A),Gi(t,o.headerSelectionCheckboxChange,T),Gi(t,o.cellMouseDown,j),cr(t,{selectRow:w,selectRows:x,selectRowRange:_,setSelectionModel:k,getSelectedRows:y,isRowSelected:E},"GridSelectionApi"),b.useEffect((function(){void 0!==n&&t.current.setSelectionModel(n)}),[t,n]);var P=null!=n;b.useEffect((function(){if(!P){var e=qr(t.current.state);if(v){var r=e.filter((function(e){return v(t.current.getRowParams(e))}));r.length<e.length&&t.current.setSelectionModel(r)}}}),[t,v,P]);var D=b.useCallback((function(){t.current.unstable_registerPreProcessor(aa.hydrateColumns,"selection",(function(r){var n=Object.assign(Object.assign({},_i),{cellClassName:u.cellCheckbox,headerClassName:u.columnHeaderCheckbox,headerName:t.current.getLocaleText("checkboxSelectionHeaderName")}),i=e.checkboxSelection,o=null!=r.lookup[n.field];return i&&!o?(r.lookup[n.field]=n,r.all=[n.field].concat(Object(l.a)(r.all))):!i&&o&&(delete r.lookup[n.field],r.all=r.all.filter((function(t){return t!==n.field}))),r}))}),[t,e.checkboxSelection,u]);la((function(){D()}));var R=b.useRef(!0);b.useEffect((function(){R.current?R.current=!1:D()}),[D])}(t,e),function(t,e){var r=sr(t,"useGridColumns"),n=b.useMemo((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign(Object.assign({},Fi()),t),r={};return Object.entries(e).forEach((function(t){var n=Object(m.a)(t,2),i=n[0],o=n[1];o=Object.assign(Object.assign({},e[o.extendType||"__default__"]),o),r[i]=o})),r}(e.columnTypes)}),[e.columnTypes]);Aa(t,(function(r){var i=ha({apiRef:t,columnsTypes:n,columnsToUpsert:e.columns,reset:!0});return Object.assign(Object.assign({},r),{columns:i})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2],u=b.useCallback((function(e){r.debug("Updating columns state."),s((function(t){return Object.assign(Object.assign({},t),{columns:e})})),c(),t.current.publishEvent(o.columnsChange,e.all)}),[r,s,c,t]),f=b.useCallback((function(e){return kr(t.current.state)[e]}),[t]),h=b.useCallback((function(){return Er(t.current.state)}),[t]),d=b.useCallback((function(){return Mr(t.current.state)}),[t]),p=b.useCallback((function(){return Cr(t.current.state)}),[t]),v=b.useCallback((function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(r?Mr(t.current.state):Er(t.current.state)).findIndex((function(t){return t.field===e}))}),[t]),g=b.useCallback((function(e){var r=v(e);return Cr(t.current.state).positions[r]}),[t,v]),y=b.useCallback((function(e){var r=ha({apiRef:t,columnsTypes:n,columnsToUpsert:e,reset:!1});u(r)}),[t,u,n]),w=b.useCallback((function(t){return y([t])}),[y]),x=b.useCallback((function(e,r){var n=f(e),i=Object.assign(Object.assign({},n),{hide:!r});y([i]);var a={field:e,colDef:i,isVisible:r};t.current.publishEvent(o.columnVisibilityChange,a)}),[t,f,y]),O=b.useCallback((function(e,n){var i=Sr(t.current.state),a=i.findIndex((function(t){return t===e}));if(a!==n){r.debug("Moving column ".concat(e," to index ").concat(n));var s=Object(l.a)(i);s.splice(n,0,s.splice(a,1)[0]),u(Object.assign(Object.assign({},_r(t.current.state)),{all:s}));var c={field:e,element:t.current.getColumnHeaderElement(e),colDef:t.current.getColumn(e),targetIndex:n,oldIndex:a};t.current.publishEvent(o.columnOrderChange,c)}}),[t,r,u]),_=b.useCallback((function(e,n){r.debug("Updating column ".concat(e," width to ").concat(n));var i=t.current.getColumn(e),a=Object.assign(Object.assign({},i),{width:n});t.current.updateColumns([a]),t.current.publishEvent(o.columnWidthChange,{element:t.current.getColumnHeaderElement(e),colDef:a,width:n})}),[t,r]);cr(t,{getColumn:f,getAllColumns:h,getColumnIndex:v,getColumnPosition:g,getVisibleColumns:d,getColumnsMeta:p,updateColumn:w,updateColumns:y,setColumnVisibility:x,setColumnIndex:O,setColumnWidth:_},"ColApi");var S=b.useRef(!0);b.useEffect((function(){if(S.current)S.current=!1;else{r.info("GridColumns have changed, new length ".concat(e.columns.length));var i=ha({apiRef:t,columnsTypes:n,columnsToUpsert:e.columns,reset:!0});u(i)}}),[r,t,u,e.columns,n]);var k=b.useCallback((function(e){if(e===aa.hydrateColumns){r.info("Columns pre-processing have changed, regenerating the columns");var i=ha({apiRef:t,columnsTypes:n,columnsToUpsert:[],reset:!1});u(i)}}),[t,r,u,n]),E=b.useRef(null);Gi(t,o.preProcessorRegister,k),Gi(t,o.viewportInnerSizeChange,(function(e){E.current!==e.width&&(E.current=e.width,u(fa(_r(t.current.state),e.width)))})),Xi(t,o.columnVisibilityChange,e.onColumnVisibilityChange)}(t,e),function(t,e){var r=sr(t,"useGridRows"),n=b.useRef({state:{value:{idRowsLookup:{},ids:[]},props:{rowCount:void 0,getRowId:void 0},rowsBeforePartialUpdates:[]},timeout:null,lastUpdateMs:0});Aa(t,(function(r){return n.current.state=Ha({rows:e.rows,props:{rowCount:e.rowCount,getRowId:e.getRowId},prevState:n.current.state}),n.current.lastUpdateMs=Date.now(),Object.assign(Object.assign({},r),{rows:Ua(n.current,t)})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2],f=b.useCallback((function(e){var r;return null!==(r=pr(t.current.state)[e])&&void 0!==r?r:null}),[t]),h=b.useCallback((function(r,i){var a=function(){n.current.timeout=null,n.current.lastUpdateMs=Date.now(),s((function(e){return Object.assign(Object.assign({},e),{rows:Ua(n.current,t)})})),t.current.publishEvent(o.rowsSet),c()};if(n.current.timeout&&clearTimeout(n.current.timeout),n.current.state=r,n.current.timeout=null,i){var u=e.throttleRowsMs-(Date.now()-n.current.lastUpdateMs);u>0?n.current.timeout=setTimeout(a,u):a()}else a()}),[t,c,s,n,e.throttleRowsMs]),d=b.useCallback((function(t){r.debug("Updating all rows, new length ".concat(t.length)),h(Ha({rows:t,prevState:n.current.state}),!0)}),[r,h]),p=b.useCallback((function(r){if(e.signature===Hi.DataGrid&&r.length>1)throw new Error(["MUI: You can't update several rows at once in `apiRef.current.updateRows` on the DataGrid.","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n"));var i=new Map;r.forEach((function(t){var r=za(t,e.getRowId,"A row was provided without id when calling updateRows():");i.has(r)?i.set(r,Object.assign(Object.assign({},i.get(r)),t)):i.set(r,t)}));var o=[],a={idRowsLookup:Object.assign({},n.current.state.value.idRowsLookup),ids:Object(l.a)(n.current.state.value.ids)};i.forEach((function(e,r){return"delete"===e._action?(delete a.idRowsLookup[r],void o.push(r)):t.current.getRow(r)?void(a.idRowsLookup[r]=Object.assign(Object.assign({},t.current.getRow(r)),e)):(a.idRowsLookup[r]=e,void a.ids.push(r))})),o.length>0&&(a.ids=a.ids.filter((function(t){return!o.includes(t)})));var s=Object.assign(Object.assign({},n.current.state),{value:a});h(s,!0)}),[t,e.getRowId,h,e.signature]),v=b.useCallback((function(){var e=vr(t.current.state),r=pr(t.current.state);return new Map(e.map((function(t){return[t,r[t]]})))}),[t]),g=b.useCallback((function(){return hr(t.current.state)}),[t]),y=b.useCallback((function(){return vr(t.current.state)}),[t]),w=b.useCallback((function(e,r){var n=t.current.getRowNode(e);if(!n)throw new Error("MUI: No row with id #".concat(e," found"));var i=Object.assign(Object.assign({},n),{childrenExpanded:r});s((function(t){return Object.assign(Object.assign({},t),{rows:Object.assign(Object.assign({},t.rows),{tree:Object.assign(Object.assign({},t.rows.tree),Object(u.a)({},e,i))})})})),c(),t.current.publishEvent(o.rowExpansionChange,i)}),[t,s,c]),x=b.useCallback((function(e){var r;return null!==(r=mr(t.current.state)[e])&&void 0!==r?r:null}),[t]);b.useEffect((function(){return function(){null!==n.current.timeout&&clearTimeout(n.current.timeout)}}),[]);var O=b.useRef(!0);b.useEffect((function(){O.current?O.current=!1:n.current.state.rowsBeforePartialUpdates!==e.rows&&(r.debug("Updating all rows, new length ".concat(e.rows.length)),h(Ha({rows:e.rows,props:{rowCount:e.rowCount,getRowId:e.getRowId},prevState:n.current.state}),!1))}),[e.rows,e.rowCount,e.getRowId,r,h]);var _=b.useCallback((function(){var t;r.info("Row grouping pre-processing have changed, regenerating the row tree"),t=n.current.state.rowsBeforePartialUpdates===e.rows?void 0:e.rows,h(Ha({rows:t,props:{rowCount:e.rowCount,getRowId:e.getRowId},prevState:n.current.state}),!1)}),[r,h,e.rowCount,e.getRowId,e.rows]);Gi(t,o.rowGroupsPreProcessingChange,_),cr(t,{getRow:f,getRowModels:v,getRowsCount:g,getAllRowIds:y,setRows:d,updateRows:p,setRowChildrenExpansion:w,getRowNode:x},"GridRowApi")}(t,e),function(t){var e=b.useCallback((function(e){return{field:e,colDef:t.current.getColumn(e)}}),[t]),r=b.useCallback((function(e){var r=t.current.getRow(e);if(!r)throw new Error("No row with id #".concat(e," found"));return{id:e,columns:t.current.getAllColumns(),row:r,getValue:t.current.getCellValue}}),[t]),n=b.useCallback((function(e,r){var n=t.current.getRow(e),i=t.current.getRowNode(e);if(!n||!i)throw new Error("No row with id #".concat(e," found"));var o=fi(t.current.state),a=pi(t.current.state);return{id:e,field:r,row:n,rowNode:i,value:n[r],colDef:t.current.getColumn(r),cellMode:t.current.getCellMode(e,r),getValue:t.current.getCellValue,api:t.current,hasFocus:null!==o&&o.field===r&&o.id===e,tabIndex:a&&a.field===r&&a.id===e?0:-1}}),[t]),i=b.useCallback((function(e,r){var n=t.current.getColumn(r),i=t.current.getCellValue(e,r),o=t.current.getRow(e),a=t.current.getRowNode(e);if(!o||!a)throw new Error("No row with id #".concat(e," found"));var s=fi(t.current.state),c=pi(t.current.state),u={id:e,field:r,row:o,rowNode:a,colDef:n,cellMode:t.current.getCellMode(e,r),getValue:t.current.getCellValue,hasFocus:null!==s&&s.field===r&&s.id===e,tabIndex:c&&c.field===r&&c.id===e?0:-1,value:i,formattedValue:i};return n.valueFormatter&&(u.formattedValue=n.valueFormatter({id:e,field:u.field,value:u.value,api:t.current})),u.isEditable=n&&t.current.isCellEditable(u),u}),[t]),o=b.useCallback((function(e,r){var i=t.current.getColumn(r);if(!i||!i.valueGetter){var o=t.current.getRow(e);if(!o)throw new Error("No row with id #".concat(e," found"));return o[r]}return i.valueGetter(n(e,r))}),[t,n]),a=b.useCallback((function(e){return t.current.rootElementRef.current?function(t,e){return t.querySelector('[role="columnheader"][data-field="'.concat(no(e),'"]'))}(t.current.rootElementRef.current,e):null}),[t]),s=b.useCallback((function(e){return t.current.rootElementRef.current?io(t.current.rootElementRef.current,e):null}),[t]),c=b.useCallback((function(e,r){return t.current.rootElementRef.current?function(t,e){var r=e.field,n=io(t,e.id);return n?n.querySelector(".".concat(dt.cell,'[data-field="').concat(no(r),'"]')):null}(t.current.rootElementRef.current,{id:e,field:r}):null}),[t]);cr(t,{getCellValue:o,getCellParams:i,getCellElement:c,getRowParams:r,getRowElement:s,getColumnHeaderParams:e,getColumnHeaderElement:a},"GridParamsApi")}(t),function(t,e){var r=this,n=sr(t,"useGridEditRows");Aa(t,(function(t){return Object.assign(Object.assign({},t),{editRows:{}})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],l=a[2],f=b.useRef(null),h=b.useRef(null),d=lr(t,Er);t.current.unstable_updateControlState({stateId:"editRows",propModel:e.editRowsModel,propOnChange:e.onEditRowsModelChange,stateSelector:da,changeEvent:o.editRowsModelChange});var p=function(n,i){return yt(r,void 0,void 0,c.a.mark((function r(){var a=this;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.t0=n.cellMode!==Mi.View,!r.t0){r.next=9;break}if(e.editMode!==Ei.Row){r.next=6;break}h.current=null,f.current=setTimeout((function(){return yt(a,void 0,void 0,c.a.mark((function e(){var r,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((null===(r=h.current)||void 0===r?void 0:r.id)===n.id){e.next=5;break}return e.next=3,t.current.commitRowChange(n.id,i);case 3:a=t.current.getRowParams(n.id),t.current.publishEvent(o.rowEditStop,a,i);case 5:case"end":return e.stop()}}),e)})))})),r.next=9;break;case 6:return r.next=8,t.current.commitCellChange(n,i);case 8:t.current.publishEvent(o.cellEditStop,n,i);case 9:case"end":return r.stop()}}),r)})))},v=b.useCallback((function(t){h.current=t}),[]),g=Object(E.a)((function(t,e){p(t,e)})),y=Object(E.a)((function(){var e=t.current.state.focus.cell;if(e){var r=t.current.getCellParams(e.id,e.field);p(r,{})}})),w=b.useCallback((function(e,r,i){var a=t.current.getCellMode(e,r)===Mi.Edit;i===Mi.Edit&&a||i===Mi.View&&!a||(n.debug("Switching cell id: ".concat(e," field: ").concat(r," to mode: ").concat(i)),s((function(n){var o=Object.assign({},n.editRows);return o[e]=Object.assign({},o[e]),i===Mi.Edit?o[e][r]={value:t.current.getCellValue(e,r)}:(delete o[e][r],Object.keys(o[e]).length||delete o[e]),Object.assign(Object.assign({},n),{editRows:o})})),l(),t.current.publishEvent(o.cellModeChange,t.current.getCellParams(e,r)))}),[t,l,n,s]),x=b.useCallback((function(e,r){var n=t.current.getRowMode(e)===Ci.Edit;r===Ci.Edit&&n||r===Ci.View&&!n||(s((function(n){var i=Object.assign({},n.editRows);return r===Ci.Edit?(i[e]={},d.forEach((function(r){var n=t.current.getCellParams(e,r.field);n.isEditable&&(i[e][r.field]={value:n.value})}))):delete i[e],Object.assign(Object.assign({},n),{editRows:i})})),l())}),[t,d,l,s]),O=b.useCallback((function(r){return e.editMode===Ei.Cell?Ci.View:t.current.state.editRows[r]?Ci.Edit:Ci.View}),[t,e.editMode]),_=b.useCallback((function(e,r){var n=t.current.state.editRows;return n[e]&&n[e][r]?Mi.Edit:Mi.View}),[t]),S=b.useCallback((function(t){return!!t.colDef.editable&&!!t.colDef.renderEditCell&&(!e.isCellEditable||e.isCellEditable(t))}),[e.isCellEditable]),k=b.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={id:e.id,field:e.field,props:{value:e.value}};t.current.publishEvent(o.editCellPropsChange,n,r)}),[t]),M=b.useCallback((function(e){var r=e.id,i=e.field,o=e.props;n.debug("Setting cell props on id: ".concat(r," field: ").concat(i)),s((function(e){var n=t.current.getColumn(i),a=n.valueParser?n.valueParser(o.value,t.current.getCellParams(r,i)):o.value,s=Object.assign({},e.editRows);return s[r]=Object.assign({},e.editRows[r]),s[r][i]=Object.assign(Object.assign({},o),{value:a}),Object.assign(Object.assign({},e),{editRows:s})})),l()}),[t,l,n,s]),C=b.useCallback((function(n){var i=t.current.getRow(n.id);if("row"===e.editMode){var o=t.current.getEditRowsModel()[n.id];Object.keys(o).forEach((function(e){return yt(r,void 0,void 0,c.a.mark((function r(){var a,s,u;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(a=t.current.getColumn(e)).preProcessEditCellProps){r.next=9;break}return s=e===n.field?n.props:o[e],r.next=5,Promise.resolve(a.preProcessEditCellProps({id:n.id,row:i,props:s}));case 5:u=r.sent,M({id:n.id,field:e,props:u}),r.next=10;break;case 9:e===n.field&&M(n);case 10:case"end":return r.stop()}}),r)})))}))}else{var a=t.current.getColumn(n.field),s=a.preProcessEditCellProps?a.preProcessEditCellProps({id:n.id,row:i,props:n.props}):n.props;Ba(s)?s.then((function(t){M(Object.assign(Object.assign({},n),{props:t}))})):M(Object.assign(Object.assign({},n),{props:s}))}}),[t,e.editMode,M]),j=b.useCallback((function(e){da(t.current.state)!==e&&(n.debug("Setting editRows model"),s((function(t){return Object.assign(Object.assign({},t),{editRows:e})})),l())}),[t,l,n,s]),A=b.useCallback((function(){return t.current.state.editRows}),[t]),T=b.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.id,i=e.field,a=t.current.getEditRowsModel();if(!a[n]||!a[n][i])throw new Error("MUI: Cell at id: ".concat(n," and field: ").concat(i," is not in edit mode."));var s=a[n][i],c=t.current.getColumn(i),u=t.current.getRow(n),l=Object.assign(Object.assign({},e),{value:s.value}),f=!!s.error;if(!f&&"function"==typeof c.preProcessEditCellProps){var h=c.preProcessEditCellProps({id:n,row:u,props:s});if(Ba(h))return h.then((function(e){return M({id:n,field:i,props:e}),!e.error&&(t.current.publishEvent(o.cellEditCommit,l,r),!0)}));M({id:n,field:i,props:h}),f=!!h.error}return!f&&(t.current.publishEvent(o.cellEditCommit,l,r),!0)}),[t,M]),P=b.useCallback((function(r){if(e.editMode===Ei.Row)throw new Error("MUI: You can't commit changes when the edit mode is 'row'.");var i=r.id,o=r.field,a=t.current.getEditRowsModel()[i][o].value;n.debug("Setting cell id: ".concat(i," field: ").concat(o," to value: ").concat(null==a?void 0:a.toString()));var s=t.current.getRow(i);if(s){var c=t.current.getColumn(r.field),l=Object.assign(Object.assign({},s),Object(u.a)({},o,a));c.valueSetter&&(l=c.valueSetter({row:s,value:a})),t.current.updateRows([l])}}),[t,n,e.editMode]),D=b.useCallback((function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.editMode===Ei.Cell)throw new Error("MUI: You can't commit changes when the edit mode is 'cell'.");var a=t.current.getEditRowsModel()[n];if(!a)throw new Error("MUI: Row at id: ".concat(n," is not being edited."));if(Object.values(a).some((function(t){return!!t.error})))return!1;var s=Object.keys(a).filter((function(e){return"function"==typeof t.current.getColumn(e).preProcessEditCellProps}));if(s.length>0){var u=t.current.getRow(n),l=s.map((function(e){return yt(r,void 0,void 0,c.a.mark((function r(){var i,o;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=t.current.getColumn(e),r.next=3,Promise.resolve(i.preProcessEditCellProps({id:n,row:u,props:a[e]}));case 3:return o=r.sent,r.abrupt("return",(M({id:n,field:e,props:o}),o.error));case 5:case"end":return r.stop()}}),r)})))}));return Promise.all(l).then((function(e){return!e.some((function(t){return!!t}))&&(t.current.publishEvent(o.rowEditCommit,n,i),!0)}))}return t.current.publishEvent(o.rowEditCommit,n,i),!0}),[t,e.editMode,M]),R=b.useCallback((function(t,e){t.isEditable&&(w(t.id,t.field,Mi.Edit),ai(e)&&ei(e.key)&&M({id:t.id,field:t.field,props:{value:""}}))}),[M,w]),L=b.useCallback((function(e){t.current.setRowMode(e.id,Ci.Edit)}),[t]),I=b.useCallback((function(e,r){t.current.setRowMode(e.id,Ci.View),"Enter"===r.key&&t.current.publishEvent(o.cellNavigationKeyDown,e,r)}),[t]),N=b.useCallback((function(e){var r=t.current.getEditRowsModel()[e];if(!r)throw new Error("MUI: Row at id: ".concat(e," is not being edited."));var n=t.current.getRow(e);if(n){var i=Object.assign({},n);Object.keys(r).forEach((function(e){var n=t.current.getColumn(e),o=r[e].value;n.valueSetter?i=n.valueSetter({row:i,value:o}):i[e]=o})),t.current.updateRows([i])}}),[t]),F=b.useCallback((function(t,e){var r=e.detail>1;t.isEditable&&t.cellMode===Mi.View&&r&&e.preventDefault()}),[]),B=b.useCallback((function(n,i){return yt(r,void 0,void 0,c.a.mark((function r(){var a,s,u,l,f,h,d,p;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=n.id,s=n.field,u=n.cellMode,n.isEditable){r.next=3;break}return r.abrupt("return");case 3:if(l=u===Mi.Edit,e.editMode!==Ei.Row){r.next=7;break}return f=t.current.getRowParams(n.id),r.abrupt("return",void(l?"Enter"===i.key?(t.current.commitRowChange(n.id),t.current.publishEvent(o.rowEditStop,f,i)):"Escape"===i.key&&t.current.publishEvent(o.rowEditStop,f,i):"Enter"===i.key&&t.current.publishEvent(o.rowEditStart,f,i)));case 7:if(h=i.ctrlKey||i.metaKey||i.altKey,!l&&(d=i.key,Kn(d)||Qn(d)||ei(d))&&!h&&t.current.publishEvent(o.cellEditStart,n,i),!l&&Qn(i.key)&&(t.current.setEditCellValue({id:a,field:s,value:""}),t.current.commitCellChange({id:a,field:s},i),t.current.publishEvent(o.cellEditStop,n,i)),!l||!ii(i.key)){r.next=14;break}return p={id:a,field:s},r.next=12,t.current.commitCellChange(p,i);case 12:if(r.sent){r.next=14;break}return r.abrupt("return");case 14:l&&function(t){return ri.indexOf(t)>-1}(i.key)&&t.current.publishEvent(o.cellEditStop,n,i);case 15:case"end":return r.stop()}}),r)})))}),[t,e.editMode]),z=b.useCallback((function(e,r){w(e.id,e.field,Mi.View),ai(r)&&(ii(r.key)?t.current.publishEvent(o.cellNavigationKeyDown,e,r):("Escape"===r.key||Qn(r.key))&&t.current.setCellFocus(e.id,e.field))}),[t,w]),H=b.useCallback((function(r,n){if(r.isEditable)if(e.editMode===Ei.Row){var i=t.current.getRowParams(r.id);t.current.publishEvent(o.rowEditStart,i,n)}else t.current.publishEvent(o.cellEditStart,r,n)}),[t,e.editMode]);Gi(t,o.cellKeyDown,B),Gi(t,o.cellMouseDown,F),Gi(t,o.cellDoubleClick,H),Gi(t,o.cellFocusOut,g),Gi(t,o.cellFocusIn,v),Gi(t,o.columnHeaderDragStart,y),Gi(t,o.editCellPropsChange,C),Gi(t,o.cellEditStart,R),Gi(t,o.cellEditStop,z),Gi(t,o.cellEditCommit,P),Gi(t,o.rowEditStart,L),Gi(t,o.rowEditStop,I),Gi(t,o.rowEditCommit,N),Xi(t,o.editCellPropsChange,e.onEditCellPropsChange),Xi(t,o.cellEditCommit,e.onCellEditCommit),Xi(t,o.cellEditStart,e.onCellEditStart),Xi(t,o.cellEditStop,e.onCellEditStop),Xi(t,o.rowEditCommit,e.onRowEditCommit),Xi(t,o.rowEditStart,e.onRowEditStart),Xi(t,o.rowEditStop,e.onRowEditStop),cr(t,{setCellMode:w,getCellMode:_,setRowMode:x,getRowMode:O,isCellEditable:S,commitCellChange:T,commitRowChange:D,setEditRowsModel:j,getEditRowsModel:A,setEditCellValue:k},"EditRowApi"),b.useEffect((function(){void 0!==e.editRowsModel&&t.current.setEditRowsModel(e.editRowsModel)}),[t,e.editRowsModel])}(t,e),function(t,e){var r=sr(t,"useGridFocus");Aa(t,(function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null},tabIndex:{cell:null,columnHeader:null}})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2],c=b.useRef(null),u=b.useCallback((function(e,n){t.current.getRow(e)&&(a((function(t){return r.debug("Focusing on cell with id=".concat(e," and field=").concat(n)),Object.assign(Object.assign({},t),{tabIndex:{cell:{id:e,field:n},columnHeader:null},focus:{cell:{id:e,field:n},columnHeader:null}})})),s(),t.current.publishEvent(o.cellFocusIn,t.current.getCellParams(e,n)))}),[t,s,r,a]),l=b.useCallback((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.current.state.focus.cell;i&&t.current.publishEvent(o.cellFocusOut,t.current.getCellParams(i.id,i.field),n),a((function(t){return r.debug("Focusing on column header with colIndex=".concat(e)),Object.assign(Object.assign({},t),{tabIndex:{columnHeader:{field:e},cell:null},focus:{columnHeader:{field:e},cell:null}})})),s()}),[t,s,r,a]),f=b.useCallback((function(e){var r=e.id,n=e.field;t.current.setCellFocus(r,n)}),[t]),h=b.useCallback((function(e,r){"Enter"===r.key||"Tab"===r.key||oi(r.key)||t.current.setCellFocus(e.id,e.field)}),[t]),d=b.useCallback((function(e,r){var n=e.field;r.target===r.currentTarget&&t.current.setColumnHeaderFocus(n,r)}),[t]),p=b.useCallback((function(){r.debug("Clearing focus"),a((function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null}})}))}),[r,a]),v=b.useCallback((function(t){c.current=t}),[]),g=b.useCallback((function(e){var r=c.current;c.current=null;var n=t.current.state.focus.cell;if(n){if((null==r?void 0:r.id)!==n.id||(null==r?void 0:r.field)!==n.field){var i=t.current.getCellElement(n.id,n.field);(null==i?void 0:i.contains(e.target))||t.current.getRow(n.id)&&(t.current.publishEvent(o.cellFocusOut,t.current.getCellParams(n.id,n.field),e),r?t.current.setCellFocus(r.id,r.field):(a((function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null}})})),s()))}}else r&&t.current.setCellFocus(r.id,r.field)}),[t,s,a]),y=b.useCallback((function(e){if("view"!==e.cellMode){var r=t.current.state.focus.cell;(null==r?void 0:r.id)===e.id&&(null==r?void 0:r.field)===e.field||t.current.setCellFocus(e.id,e.field)}}),[t]);cr(t,{setCellFocus:u,setColumnHeaderFocus:l},"GridFocusApi"),b.useEffect((function(){var e=t.current.state.focus.cell;e&&(t.current.getRow(e.id)||a((function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null}})})))}),[t,a,e.rows]),b.useEffect((function(){var e=Object(D.a)(t.current.rootElementRef.current);return e.addEventListener("click",g),function(){e.removeEventListener("click",g)}}),[t,g]),Gi(t,o.columnHeaderBlur,p),Gi(t,o.cellDoubleClick,f),Gi(t,o.cellMouseUp,v),Gi(t,o.cellKeyDown,h),Gi(t,o.cellModeChange,y),Gi(t,o.columnHeaderFocus,d)}(t,e),function(t,e){var r=sr(t,"useGridSorting");Aa(t,(function(t){var r,n,i,o;return Object.assign(Object.assign({},t),{sorting:{sortModel:null!==(o=null!==(r=e.sortModel)&&void 0!==r?r:null===(i=null===(n=e.initialState)||void 0===n?void 0:n.sorting)||void 0===i?void 0:i.sortModel)&&void 0!==o?o:[],sortedRows:[]}})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2];t.current.unstable_updateControlState({stateId:"sortModel",propModel:e.sortModel,propOnChange:e.onSortModelChange,stateSelector:xr,changeEvent:o.sortModelChange});var c=b.useCallback((function(e,r){var n=xr(t.current.state),i=n.findIndex((function(t){return t.field===e})),o=Object(l.a)(n);return i>-1?r?o.splice(i,1,r):o.splice(i,1):o=[].concat(Object(l.a)(n),[r]),o}),[t]),u=b.useCallback((function(r,n){var i=xr(t.current.state).find((function(t){return t.field===r.field}));if(i){var o=void 0===n?Ln(e.sortingOrder,i.sort):n;return null==o?void 0:Object.assign(Object.assign({},i),{sort:o})}return{field:r.field,sort:void 0===n?Ln(e.sortingOrder):n}}),[t,e.sortingOrder]),f=b.useCallback((function(e,r){return{id:e,field:r,value:t.current.getCellValue(e,r),api:t.current}}),[t]),h=b.useCallback((function(t){return function(e,r){return t.reduce((function(t,n,i){if(0!==t)return t;var o=n.comparator,a=e[i],s=r[i];return o(a.value,s.value,a,s)}),0)}}),[]),d=b.useCallback((function(e){return e.map((function(e){var r=t.current.getColumn(e.field);if(!r)throw new Error("Error sorting: column with field '".concat(e.field,"' not found. "));var n="desc"===e.sort?function(t,e,n,i){return-1*r.sortComparator(t,e,n,i)}:r.sortComparator;return{field:r.field,comparator:n}}))}),[t]),p=b.useCallback((function(){if(e.sortingMode===zi)return r.debug("Skipping sorting rows as sortingMode = server"),void a((function(t){return Object.assign(Object.assign({},t),{sorting:Object.assign(Object.assign({},t.sorting),{sortedRows:vr(t)})})}));a((function(t){var r=vr(t),n=mr(t),i=br(t)>1,o=xr(t),a=d(o),s=h(a),c=function(t){return t.map((function(t){return{value:t,params:a.map((function(e){return f(t.id,e.field)}))}})).sort((function(t,e){return s(t.params,e.params)})).map((function(t){return t.value.id}))},u=[];if(i){for(var p=new Map([[null,[]]]),m=0;m<r.length;m+=1){var b=n[r[m]],v=p.get(b.parent);v||(v=[],p.set(b.parent,v)),v.push(b)}var g=new Map;p.forEach((function(t,r){0===t.length?g.set(r,[]):t[0].depth>0&&e.disableChildrenSorting||0===a.length?g.set(r,t.map((function(t){return t.id}))):g.set(r,c(t))}));!function t(e,r){u=[].concat(Object(l.a)(u.slice(0,e)),Object(l.a)(r),Object(l.a)(u.slice(e)));var n=0;return r.forEach((function(r){n+=1;var i=g.get(r);if(null==i?void 0:i.length){var o=t(e+n,i);n+=o}})),n}(0,g.get(null))}else u=0===a.length?r:c(Object.values(n));return Object.assign(Object.assign({},t),{sorting:Object.assign(Object.assign({},t.sorting),{sortedRows:u})})})),s()}),[r,f,a,s,d,h,e.sortingMode,e.disableChildrenSorting]),v=b.useCallback((function(e){xr(t.current.state)!==e&&(r.debug("Setting sort model"),a((function(t){return Object.assign(Object.assign({},t),{sorting:Object.assign(Object.assign({},t.sorting),{sortModel:e})})})),s(),t.current.applySorting())}),[t,a,s,r]),g=b.useCallback((function(r,n,i){if(r.sortable){var o,a=u(r,n);o=!i||e.disableMultipleColumnsSorting?a?[a]:[]:c(r.field,a),t.current.setSortModel(o)}}),[t,c,u,e.disableMultipleColumnsSorting]),y=b.useCallback((function(){return xr(t.current.state)}),[t]),w=b.useCallback((function(){return wr(t.current.state).map((function(t){return t.model}))}),[t]),x=b.useCallback((function(){return yr(t.current.state)}),[t]),O=b.useCallback((function(e){return t.current.getSortedRowIds().indexOf(e)}),[t]),_=b.useCallback((function(e){return t.current.getSortedRowIds()[e]}),[t]);cr(t,{getSortModel:y,getSortedRows:w,getSortedRowIds:x,getRowIndex:O,getRowIdFromRowIndex:_,setSortModel:v,sortColumn:g,applySorting:p},"GridSortApi"),b.useEffect((function(){void 0!==e.sortModel&&t.current.setSortModel(e.sortModel)}),[t,e.sortModel]);var S=b.useRef(!0);b.useEffect((function(){S.current?S.current=!1:t.current.applySorting()}),[t,e.disableChildrenSorting]),la((function(){return t.current.applySorting()}));var k=b.useCallback((function(t,e){var r=t.colDef,n=e.shiftKey||e.metaKey||e.ctrlKey;g(r,void 0,n)}),[g]),E=b.useCallback((function(t,e){var r=t.colDef;!Kn(e.key)||e.ctrlKey||e.metaKey||g(r,void 0,e.shiftKey)}),[g]),M=b.useCallback((function(){var e=xr(t.current.state),r=Er(t.current.state);if(e.length>0){var n=e.filter((function(t){return r.find((function(e){return e.field===t.field}))}));n.length<e.length&&t.current.setSortModel(n)}}),[t]);Gi(t,o.columnHeaderClick,k),Gi(t,o.columnHeaderKeyDown,E),Gi(t,o.rowsSet,t.current.applySorting),Gi(t,o.columnsChange,M)}(t,e),function(t,e){var r=sr(t,"useGridPreferencesPanel");Aa(t,(function(t){var r,n;return Object.assign(Object.assign({},t),{preferencePanel:null!==(n=null===(r=e.initialState)||void 0===r?void 0:r.preferencePanel)&&void 0!==n?n:{open:!1}})}));var n=ur(t),i=Object(m.a)(n,3),o=i[1],a=i[2],s=b.useRef(),c=b.useRef(),u=b.useCallback((function(){r.debug("Hiding Preferences Panel"),o((function(t){return Object.assign(Object.assign({},t),{preferencePanel:{open:!1}})})),a()}),[a,r,o]),l=b.useCallback((function(){c.current=setTimeout((function(){return clearTimeout(s.current)}),0)}),[]),f=b.useCallback((function(){s.current=setTimeout(u,100)}),[u]);cr(t,{showPreferences:b.useCallback((function(t){r.debug("Opening Preferences Panel"),l(),o((function(e){return Object.assign(Object.assign({},e),{preferencePanel:Object.assign(Object.assign({},e.preferencePanel),{open:!0,openedPanelValue:t})})})),a()}),[l,a,r,o]),hidePreferences:f},"ColumnMenuApi"),b.useEffect((function(){return function(){clearTimeout(s.current),clearTimeout(c.current)}}),[])}(t,e),function(t,e){var r=sr(t,"useGridFilter");Aa(t,(function(t){var r,n,i,o;return e.filterModel&&Ra(e.filterModel),Object.assign(Object.assign({},t),{filter:{filterModel:null!==(o=null!==(r=e.filterModel)&&void 0!==r?r:null===(i=null===(n=e.initialState)||void 0===n?void 0:n.filter)||void 0===i?void 0:i.filterModel)&&void 0!==o?o:{items:[],linkOperator:Ri.And},visibleRowsLookup:{},filteredDescendantCountLookup:{}}})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2];t.current.unstable_updateControlState({stateId:"filter",propModel:e.filterModel,propOnChange:e.onFilterModelChange,stateSelector:Rr,changeEvent:o.filterModelChange});var c=b.useCallback((function(e){var r=e.items,n=e.linkOperator,i=void 0===n?Ri.And:n,o=r.map((function(e){if(!e.columnField||!e.operatorValue)return null;var r=t.current.getColumn(e.columnField);if(!r)return null;var n=r.valueParser?r.valueParser(e.value):e.value,i=Object.assign(Object.assign({},e),{value:n}),o=r.filterOperators;if(!(null==o?void 0:o.length))throw new Error("MUI: No filter operators found for column '".concat(r.field,"'."));var a=o.find((function(t){return t.value===i.operatorValue}));if(!a)throw new Error("MUI: No filter operator found for column '".concat(r.field,"' and operator value '").concat(i.operatorValue,"'."));var s=a.getApplyFilterFn(i,r);return"function"!=typeof s?null:function(e){var r=t.current.getCellParams(e,i.columnField);return s(r)}})).filter((function(t){return!!t}));return 0===o.length?null:function(t){return i===Ri.And?o.every((function(e){return e(t)})):o.some((function(e){return e(t)}))}}),[t]),u=b.useCallback((function(){a((function(t){var r=Rr(t),n=vr(t),i=mr(t),o=br(t)>1,a=e.filterMode===Bi?c(r):null,s={},u={};if(o)for(var l=function t(r,n,o){var c,l,f=e.disableChildrenFiltering&&r.depth>0;l=f?null:!a||a(r.id);var h,d=0;switch(null===(c=r.children)||void 0===c||c.forEach((function(e){var a=i[e],s=t(a,null!=l?l:n,o&&!!r.childrenExpanded);d+=s})),l){case!0:h=!0;break;case!1:h=d>0;break;default:h=n}return s[r.id]=h&&o,h?(u[r.id]=d,d+1):0},f=Object.values(i),h=0;h<f.length;h+=1){var d=f[h];0===d.depth&&l(d,!0,!0)}else if(e.filterMode===Bi&&a)for(var p=0;p<n.length;p+=1){var m=n[p];s[m]=a(m)}return Object.assign(Object.assign({},t),{filter:Object.assign(Object.assign({},t.filter),{visibleRowsLookup:s,filteredDescendantCountLookup:u})})})),t.current.publishEvent(o.visibleRowsSet),s()}),[t,a,s,e.filterMode,c,e.disableChildrenFiltering]),f=b.useCallback((function(e){var r=Object.assign({},e);if(null==r.id&&(r.id=Math.round(1e5*Math.random())),null==r.operatorValue){var n=t.current.getColumn(r.columnField);r.operatorValue=n&&n.filterOperators[0].value}return r}),[t]),h=b.useCallback((function(e){var r=Rr(t.current.state),n=Object(l.a)(r.items),i=n.findIndex((function(t){return t.id===e.id})),o=f(e);-1===i?n.push(o):n[i]=o,t.current.setFilterModel(Object.assign(Object.assign({},r),{items:n}))}),[t,f]),d=b.useCallback((function(e){var r=Rr(t.current.state),n=r.items.filter((function(t){return t.id!==e.id}));n.length!==r.items.length&&t.current.setFilterModel(Object.assign(Object.assign({},r),{items:n}))}),[t]),p=b.useCallback((function(n){if(r.debug("Displaying filter panel"),n){var i,o=Rr(t.current.state),a=o.items.filter((function(t){return void 0!==t.value}));i=a.find((function(t){return t.columnField===n}))?a:e.disableMultipleColumnsFiltering?[f({columnField:n})]:[].concat(Object(l.a)(a),[f({columnField:n})]),t.current.setFilterModel(Object.assign(Object.assign({},o),{items:i}))}t.current.showPreferences(co.filters)}),[t,r,f,e.disableMultipleColumnsFiltering]),v=b.useCallback((function(){r.debug("Hiding filter panel"),t.current.hidePreferences()}),[t,r]),g=b.useCallback((function(e){var r=Rr(t.current.state);r.linkOperator!==e&&t.current.setFilterModel(Object.assign(Object.assign({},r),{linkOperator:e}))}),[t]),y=b.useCallback((function(n){Rr(t.current.state)!==n&&(Ra(n),n.items.length>1&&e.disableMultipleColumnsFiltering&&(n.items=[n.items[0]]),r.debug("Setting filter model"),a((function(t){return Object.assign(Object.assign({},t),{filter:Object.assign(Object.assign({},t.filter),{filterModel:n})})})),t.current.unstable_applyFilters())}),[t,r,a,e.disableMultipleColumnsFiltering]),w=b.useCallback((function(){var e=Ir(t.current.state);return new Map(e.map((function(t){return[t.id,t.model]})))}),[t]);cr(t,{setFilterLinkOperator:g,unstable_applyFilters:u,deleteFilterItem:d,upsertFilterItem:h,setFilterModel:y,showFilterPanel:p,hideFilterPanel:v,getVisibleRowModels:w},"FilterApi");var x=b.useCallback((function(){r.debug("onColUpdated - GridColumns changed, applying filters");var e=Rr(t.current.state),n=Ar(t.current.state),i=e.items.filter((function(t){return t.columnField&&n.includes(t.columnField)}));i.length<e.items.length&&t.current.setFilterModel(Object.assign(Object.assign({},e),{items:i}))}),[t,r]);b.useEffect((function(){void 0!==e.filterModel&&t.current.setFilterModel(e.filterModel)}),[t,r,e.filterModel]);var O=b.useRef(!0);b.useEffect((function(){O.current?O.current=!1:t.current.unstable_applyFilters()}),[t,e.disableChildrenFiltering]),la((function(){return t.current.unstable_applyFilters()})),Gi(t,o.rowsSet,t.current.unstable_applyFilters),Gi(t,o.rowExpansionChange,t.current.unstable_applyFilters),Gi(t,o.columnsChange,x)}(t,e),function(t,e){var r=sr(t,"useDensity");Aa(t,(function(t){return Object.assign(Object.assign({},t),{density:Ta(e.density,e.headerHeight,e.rowHeight)})}));var n=ur(t),i=Object(m.a)(n,3),o=i[1],a=i[2],s=b.useCallback((function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.headerHeight,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.rowHeight;r.debug("Set grid density to ".concat(t)),o((function(e){var r=Xr(e),o=Ta(t,n,i);return nr(r,o)?e:Object.assign(Object.assign({},e),{density:o})})),a()}),[r,o,a,e.headerHeight,e.rowHeight]);b.useEffect((function(){t.current.setDensity(e.density,e.headerHeight,e.rowHeight)}),[t,e.density,e.rowHeight,e.headerHeight]),cr(t,{setDensity:s},"GridDensityApi")}(t,e),function(t,e){var r=sr(t,"useGridPageSize"),n=lr(t,Kr);Aa(t,(function(t){var r;return Object.assign(Object.assign({},t),{pagination:{pageSize:null!==(r=e.pageSize)&&void 0!==r?r:e.autoPageSize?0:100}})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2];t.current.unstable_updateControlState({stateId:"pageSize",propModel:e.pageSize,propOnChange:e.onPageSizeChange,stateSelector:gi,changeEvent:o.pageSizeChange});var u=b.useCallback((function(e){e!==gi(t.current.state)&&(r.debug("Setting page size to ".concat(e)),s((function(t){return Object.assign(Object.assign({},t),{pagination:Object.assign(Object.assign({},t.pagination),{pageSize:e})})})),c())}),[t,s,c,r]);b.useEffect((function(){null==e.pageSize||e.autoPageSize||t.current.setPageSize(e.pageSize)}),[t,e.autoPageSize,e.pageSize]),cr(t,{setPageSize:u},"GridPageSizeApi");var l=b.useCallback((function(){var r=t.current.getRootDimensions();if(e.autoPageSize&&r){var i=Math.floor(r.viewportInnerSize.height/n);t.current.setPageSize(i)}}),[t,e.autoPageSize,n]);b.useEffect((function(){l()}),[l]),Gi(t,o.viewportInnerSizeChange,l)}(t,e),function(t,e){var r=sr(t,"useGridPage");Aa(t,(function(t){var r,n,i;return Object.assign(Object.assign({},t),{pagination:Object.assign(Object.assign({},t.pagination),{page:null!==(r=e.page)&&void 0!==r?r:0,pageCount:Na(null!==(n=e.rowCount)&&void 0!==n?n:0,t.pagination.pageSize),rowCount:null!==(i=e.rowCount)&&void 0!==i?i:0})})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2],c=lr(t,zr);t.current.unstable_updateControlState({stateId:"page",propModel:e.page,propOnChange:e.onPageChange,stateSelector:vi,changeEvent:o.pageChange});var u=b.useCallback((function(t){r.debug("Setting page to ".concat(t)),a((function(e){return Object.assign(Object.assign({},e),{pagination:Fa(Object.assign(Object.assign({},e.pagination),{page:t}))})})),s()}),[a,s,r]);b.useEffect((function(){a((function(t){var r=void 0!==e.rowCount?e.rowCount:c,n=Na(r,t.pagination.pageSize),i=null==e.page?t.pagination.page:e.page;return Object.assign(Object.assign({},t),{pagination:Fa(Object.assign(Object.assign({},t.pagination),{page:i,rowCount:r,pageCount:n}))})})),s()}),[a,s,c,e.rowCount,e.page,t]),Gi(t,o.pageSizeChange,(function(t){a((function(e){var r=Na(e.pagination.rowCount,t);return Object.assign(Object.assign({},e),{pagination:Fa(Object.assign(Object.assign({},e.pagination),{pageCount:r,page:e.pagination.page}))})})),s()})),cr(t,{setPage:u},"GridPageApi")}(t,e),function(t,e){var r=sr(t,"useGridScroll"),n=t.current.columnHeadersElementRef,i=t.current.windowRef,o=lr(t,Kr),a=lr(t,bi),s=lr(t,hr),c=lr(t,Mr),u=lr(t,Cr),l=b.useCallback((function(n){if(0===s||0===c.length)return!1;r.debug("Scrolling to cell at row ".concat(n.rowIndex,", col: ").concat(n.colIndex," "));var l={};if(null!=n.colIndex&&(l.left=Wa({clientHeight:i.current.clientWidth,scrollTop:i.current.scrollLeft,offsetHeight:c[n.colIndex].computedWidth,offsetTop:u.positions[n.colIndex]})),null!=n.rowIndex){var f=e.pagination?n.rowIndex-a.page*a.pageSize:n.rowIndex;l.top=Wa({clientHeight:i.current.clientHeight,scrollTop:i.current.scrollTop,offsetHeight:o,offsetTop:o*f})}return(void 0!==typeof l.left||void 0!==typeof l.top)&&(t.current.scroll(l),!0)}),[s,c,r,t,e.pagination,a.page,a.pageSize,i,u.positions,o]),f=b.useCallback((function(t){i.current&&null!=t.left&&n.current&&(n.current.scrollLeft=t.left,i.current.scrollLeft=t.left,r.debug("Scrolling left: ".concat(t.left))),i.current&&null!=t.top&&(i.current.scrollTop=t.top,r.debug("Scrolling top: ".concat(t.top))),r.debug("Scrolling, updating container, and viewport")}),[i,n,r]),h=b.useCallback((function(){return(null==i?void 0:i.current)?{top:i.current.scrollTop,left:i.current.scrollLeft}:{top:0,left:0}}),[i]);cr(t,{scroll:f,scrollToIndexes:l,getScrollPosition:h},"GridScrollApi");var d=b.useCallback((function(t){t.target.scrollLeft=0,t.target.scrollTop=0}),[]);ma(t,(function(){var e,r,n;return null===(n=null===(r=null===(e=t.current)||void 0===e?void 0:e.renderingZoneRef)||void 0===r?void 0:r.current)||void 0===n?void 0:n.parentElement}),"scroll",d)}(t,e),function(t){var e=sr(t,"useGridColumnMenu");Aa(t,(function(t){return Object.assign(Object.assign({},t),{columnMenu:{open:!1}})}));var r=ur(t),n=Object(m.a)(r,3),i=n[1],a=n[2],s=lr(t,ua),c=b.useCallback((function(r){i((function(t){return t.columnMenu.open&&t.columnMenu.field===r?t:(e.debug("Opening Column Menu"),Object.assign(Object.assign({},t),{columnMenu:{open:!0,field:r}}))}))&&(t.current.hidePreferences(),a())}),[t,a,e,i]),u=b.useCallback((function(){i((function(t){return t.columnMenu.open||void 0!==t.columnMenu.field?(e.debug("Hiding Column Menu"),Object.assign(Object.assign({},t),{columnMenu:Object.assign(Object.assign({},t.columnMenu),{open:!1,field:void 0})})):t}))&&a()}),[a,e,i]),l=b.useCallback((function(t){e.debug("Toggle Column Menu"),s.open&&s.field===t?u():c(t)}),[e,c,u,s]);cr(t,{showColumnMenu:c,hideColumnMenu:u,toggleColumnMenu:l},"ColumnMenuApi"),Gi(t,o.columnResizeStart,u),Gi(t,o.rowsScroll,u)}(t),function(t){var e=b.useCallback((function(e,r){t.current.publishEvent(o.cellNavigationKeyDown,e,r);var n=t.current.state.focus.cell;if(n){var i,a,s=(i=r.target,a=dt.row,i.closest(".".concat(a))),c=Number(s.getAttribute("data-rowindex")),u=Nr(t.current.state)[c];u!==n.id&&t.current.selectRowRange({startId:u,endId:n.id},!t.current.isRowSelected(n.id))}}),[t]),r=b.useCallback((function(r,n){if(null!=(i=n.target)&&i.classList.contains(dt.cell)){var i,a=t.current.getCellParams(r.id,r.field);if(a.cellMode!==Mi.Edit){if(Jn(n.key)&&n.shiftKey)return n.preventDefault(),void t.current.selectRow(a.id,!t.current.isRowSelected(a.id),!1);if(!oi(n.key)||n.shiftKey)return oi(n.key)&&n.shiftKey?(n.preventDefault(),void e(a,n)):void("c"===n.key.toLowerCase()&&(n.ctrlKey||n.metaKey)||"a"===n.key.toLowerCase()&&(n.ctrlKey||n.metaKey)&&(n.preventDefault(),t.current.selectRows(t.current.getAllRowIds(),!0)));t.current.publishEvent(o.cellNavigationKeyDown,a,n)}}}),[t,e]),n=b.useCallback((function(e,r){ro(r.target)&&(Jn(r.key)&&ro(r.target)&&r.preventDefault(),!oi(r.key)||Jn(r.key)||r.shiftKey?Kn(r.key)&&(r.ctrlKey||r.metaKey)&&t.current.toggleColumnMenu(e.field):t.current.publishEvent(o.columnHeaderNavigationKeyDown,e,r))}),[t]);Gi(t,o.cellKeyDown,r),Gi(t,o.columnHeaderKeyDown,n)}(t),function(t,e){var r=sr(t,"useGridKeyboardNavigation"),n=lr(t,Tr),i=lr(t,Ir),a=Ia(t,e),s=b.useCallback((function(e,n){r.debug("Navigating to cell row ".concat(n,", col ").concat(e)),t.current.scrollToIndexes({colIndex:e,rowIndex:n});var o=t.current.getVisibleColumns()[e].field,a=i[n];t.current.setCellFocus(a.id,o)}),[t,r,i]),c=b.useCallback((function(e,n){r.debug("Navigating to header col ".concat(e)),t.current.scrollToIndexes({colIndex:e});var i=t.current.getVisibleColumns()[e].field;t.current.setColumnHeaderFocus(i,n)}),[t,r]),u=b.useCallback((function(e,r){r.preventDefault();var o=t.current.getRootDimensions();if(a.range&&o){var u=t.current.unstable_getViewportPageSize(),l=e.field?t.current.getColumnIndex(e.field):0,f=i.findIndex((function(t){return t.id===e.id})),h=a.range.firstRowIndex,d=a.range.lastRowIndex,p=n-1;switch(r.key){case"ArrowDown":case"Enter":f<d&&s(l,f+1);break;case"ArrowUp":f>h?s(l,f-1):c(l,r);break;case"ArrowRight":l<p&&s(l+1,f);break;case"ArrowLeft":l>0&&s(l-1,f);break;case"Tab":r.shiftKey&&l>0?s(l-1,f):!r.shiftKey&&l<p&&s(l+1,f);break;case"PageDown":case" ":f<d&&s(l,Math.min(f+u,d));break;case"PageUp":f-u>=h?s(l,f-u):c(l,r);break;case"Home":r.ctrlKey||r.metaKey||r.shiftKey?s(0,h):s(0,f);break;case"End":r.ctrlKey||r.metaKey||r.shiftKey?s(p,d):s(p,f)}}}),[t,i,n,a,s,c]),l=b.useCallback((function(e,r){var i,o,u,l;if(r.preventDefault(),t.current.getRootDimensions()){var f=t.current.unstable_getViewportPageSize(),h=e.field?t.current.getColumnIndex(e.field):0,d=null!==(o=null===(i=a.range)||void 0===i?void 0:i.firstRowIndex)&&void 0!==o?o:null,p=null!==(l=null===(u=a.range)||void 0===u?void 0:u.lastRowIndex)&&void 0!==l?l:null,m=n-1;switch(r.key){case"ArrowDown":case"Enter":null!==d&&s(h,d);break;case"ArrowRight":h<m&&c(h+1,r);break;case"ArrowLeft":h>0&&c(h-1,r);break;case"PageDown":null!==d&&null!==p&&s(h,Math.min(d+f,p));break;case"Home":c(0,r);break;case"End":c(m,r)}}}),[t,n,a,s,c]);Gi(t,o.cellNavigationKeyDown,u),Gi(t,o.columnHeaderNavigationKeyDown,l)}(t,e),Da(t),function(t,e){var r=sr(t,"useGridPrintExport"),n=ur(t),i=Object(m.a)(n,2),o=i[0],a=i[1],s=lr(t,Kr),u=lr(t,Zr),f=lr(t,Br),h=lr(t,Er),d=b.useRef(null),p=b.useRef(),v=b.useRef([]);b.useEffect((function(){d.current=Object(D.a)(t.current.rootElementRef.current)}),[t]);var g=b.useCallback((function(e,r){return new Promise((function(n){e||r?(t.current.updateColumns(h.map((function(t){return t.hide&&v.current.push(t.field),r?(t.hide=!1,t):(t.hide=!(null==e?void 0:e.includes(t.field))||t.disableExport,t)}))),n()):n()}))}),[h,t]),y=b.useCallback((function(t){var e=document.createElement("iframe");return e.id="grid-print-window",e.src=window.location.href,e.style.position="absolute",e.style.width="0px",e.style.height="0px",e.title=t||document.title,e}),[]),w=b.useCallback((function(e,r){var n,i,o,a,c,h,p=Object.assign({copyStyles:!0,hideToolbar:!1,hideFooter:!1},r);e.onload=null;var m=e.contentDocument||(null===(i=e.contentWindow)||void 0===i?void 0:i.document);if(m){var b=t.current.rootElementRef.current,v=b.cloneNode(!0),g=v.querySelector(".".concat(dt.virtualScroller));g.style.height="auto",g.style.width="auto",g.parentElement.style.width="auto",g.parentElement.style.height="auto",v.querySelector(".".concat(dt.columnHeaders)).firstChild.style.width="100%";var y=(null===(o=b.querySelector(".".concat(dt.toolbarContainer)))||void 0===o?void 0:o.clientHeight)||0,w=(null===(a=b.querySelector(".".concat(dt.footerContainer)))||void 0===a?void 0:a.clientHeight)||0;p.hideToolbar&&(null===(c=v.querySelector(".".concat(dt.toolbarContainer)))||void 0===c||c.remove(),y=0),p.hideFooter&&(null===(h=v.querySelector(".".concat(dt.footerContainer)))||void 0===h||h.remove(),w=0),v.style.height="".concat(f*s+u+y+w,"px"),m.body.innerHTML="",m.body.appendChild(v);var x="function"==typeof p.pageStyle?p.pageStyle():p.pageStyle;if("string"==typeof x){var O=m.createElement("style");O.appendChild(m.createTextNode(x)),m.head.appendChild(O)}if(p.bodyClassName&&(n=m.body.classList).add.apply(n,Object(l.a)(p.bodyClassName.split(" "))),p.copyStyles)for(var _=d.current.querySelectorAll("style, link[rel='stylesheet']"),S=0;S<_.length;S+=1){var k=_[S];if("STYLE"===k.tagName){var E=m.createElement(k.tagName),M=k.sheet;if(M){for(var C="",j=0;j<M.cssRules.length;j+=1)"string"==typeof M.cssRules[j].cssText&&(C+="".concat(M.cssRules[j].cssText,"\r\n"));E.appendChild(m.createTextNode(C)),m.head.appendChild(E)}}else if(k.getAttribute("href")){for(var A=m.createElement(k.tagName),T=0;T<k.attributes.length;T+=1){var P=k.attributes[T];P&&A.setAttribute(P.nodeName,P.nodeValue||"")}m.head.appendChild(A)}}e.contentWindow.print()}}),[t,d,f,s,u]),x=b.useCallback((function(e){d.current.body.removeChild(e),a((function(t){return Object.assign(Object.assign({},t),p.current)})),t.current.unstable_enableVirtualization(),v.current.length&&t.current.updateColumns(h.map((function(t){return t.hide=v.current.includes(t.field),t}))),p.current=null,v.current=[]}),[h,t,a]),O=b.useCallback((function(n){return yt(void 0,void 0,void 0,c.a.mark((function i(){var a;return c.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(r.debug("Export data as Print"),t.current.rootElementRef.current){i.next=2;break}throw new Error("MUI: No grid root element available.");case 2:return p.current=o,e.pagination&&t.current.setPageSize(f),i.next=6,g(null==n?void 0:n.fields,null==n?void 0:n.allColumns);case 6:t.current.unstable_disableVirtualization(),a=y(null==n?void 0:n.fileName),d.current.body.appendChild(a),a.onload=function(){return w(a,n)},a.contentWindow.onafterprint=function(){return x(a)};case 9:case"end":return i.stop()}}),i)})))}),[f,e,r,t,o,y,w,x,g]);cr(t,{exportDataAsPrint:O},"GridPrintExportApi")}(t,e),function(t){var e=b.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0!==t.current.getSelectedRows().size){var r=t.current.getDataAsCsv({includeHeaders:e,delimiter:"\t"});navigator.clipboard?navigator.clipboard.writeText(r).catch((function(){ja(r)})):ja(r)}}),[t]),r=b.useCallback((function(e){var r,n=e.ctrlKey||e.metaKey||e.altKey;"c"===e.key.toLowerCase()&&n&&""===(null===(r=window.getSelection())||void 0===r?void 0:r.toString())&&t.current.unstable_copySelectedRowsToClipboard(e.altKey)}),[t]);ma(t,t.current.rootElementRef,"keydown",r),cr(t,{unstable_copySelectedRowsToClipboard:e},"GridClipboardApi")}(t),function(t,e){var r=sr(t,"useResizeContainer"),n=b.useRef(!1),i=b.useRef(null),a=b.useRef(null),s=lr(t,Kr),c=lr(t,Zr),u=b.useCallback((function(){var r,n=null===(r=t.current.rootElementRef)||void 0===r?void 0:r.current,u=Pr(t.current.state);if(i.current){var l;if(null!=e.scrollbarSize)l=e.scrollbarSize;else if(u&&n){var f=Object(D.a)(n).createElement("div");f.style.width="99px",f.style.height="99px",f.style.position="absolute",f.style.overflow="scroll",f.className="scrollDiv",n.appendChild(f),l=f.offsetWidth-f.clientWidth,n.removeChild(f)}else l=0;var h=La(t.current.state,{pagination:e.pagination,paginationMode:e.paginationMode}).rows.length*s,d={width:i.current.width,height:e.autoHeight?h:i.current.height-c},p=function(t){var e=t.content,r=t.container,n=t.scrollBarSize,i=e.width>r.width,o=e.height>r.height,a=!1,s=!1;return(i||o)&&(a=i,(s=e.height+(a?n:0)>r.height)&&(a=e.width+n>r.width)),{hasScrollX:a,hasScrollY:s}}({content:{width:Math.round(u),height:h},container:d,scrollBarSize:l}),m=p.hasScrollX,b=p.hasScrollY,v={viewportOuterSize:d,viewportInnerSize:{height:d.height-(m?l:0),width:d.width-(b?l:0)},hasScrollX:m,hasScrollY:b},g=a.current;a.current=v,v.viewportInnerSize.width===(null==g?void 0:g.viewportInnerSize.width)&&v.viewportInnerSize.height===(null==g?void 0:g.viewportInnerSize.height)||t.current.publishEvent(o.viewportInnerSizeChange,v.viewportInnerSize)}}),[t,e.scrollbarSize,e.autoHeight,e.pagination,e.paginationMode,c,s]),l=b.useCallback((function(){u(),t.current.publishEvent(o.debouncedResize,i.current)}),[t,u]),f=b.useCallback((function(){return a.current}),[]),h=b.useCallback((function(){var r=t.current.getRootDimensions();if(!r)return 0;var n=La(t.current.state,{pagination:e.pagination,paginationMode:e.paginationMode}),i=Math.floor(r.viewportInnerSize.height/Kr(t.current.state));return Math.min(i,n.rows.length)}),[t,e.pagination,e.paginationMode]);cr(t,{resize:l,getRootDimensions:f,unstable_getViewportPageSize:h},"GridDimensionsApi");var d=b.useMemo((function(){return Object(R.a)(l,60)}),[l]),p=b.useRef(!0),m=b.useCallback((function(t){i.current=t;var o=/jsdom/.test(window.navigator.userAgent);return 0!==t.height||n.current||e.autoHeight||o||(r.warn(["The parent of the grid has an empty height.","You need to make sure the container has an intrinsic height.","The grid displays with a height of 0px.","","You can find a solution in the docs:","https://mui.com/components/data-grid/layout/"].join("\n")),n.current=!0),0!==t.width||n.current||o||(r.warn(["The parent of the grid has an empty width.","You need to make sure the container has an intrinsic width.","The grid displays with a width of 0px.","","You can find a solution in the docs:","https://mui.com/components/data-grid/layout/"].join("\n")),n.current=!0),p.current?(l(),void(p.current=!1)):void d()}),[e.autoHeight,d,r,l]);Object(C.a)((function(){return u()}),[u]),Xi(t,o.visibleRowsSet,u),Xi(t,o.pageChange,u),Xi(t,o.pageSizeChange,u),Xi(t,o.columnsChange,u),Gi(t,o.resize,m),Xi(t,o.debouncedResize,e.onResize)}(t,e),function(t,e){Xi(t,o.columnHeaderClick,e.onColumnHeaderClick),Xi(t,o.columnHeaderDoubleClick,e.onColumnHeaderDoubleClick),Xi(t,o.columnHeaderOver,e.onColumnHeaderOver),Xi(t,o.columnHeaderOut,e.onColumnHeaderOut),Xi(t,o.columnHeaderEnter,e.onColumnHeaderEnter),Xi(t,o.columnHeaderLeave,e.onColumnHeaderLeave),Xi(t,o.columnOrderChange,e.onColumnOrderChange),Xi(t,o.cellClick,e.onCellClick),Xi(t,o.cellDoubleClick,e.onCellDoubleClick),Xi(t,o.cellKeyDown,e.onCellKeyDown),Xi(t,o.cellFocusOut,e.onCellFocusOut),Xi(t,o.rowDoubleClick,e.onRowDoubleClick),Xi(t,o.rowClick,e.onRowClick),Xi(t,o.componentError,e.onError),Xi(t,o.stateChange,e.onStateChange)}(t,e)},Va={apiRef:void 0,disableColumnResize:!0,disableColumnReorder:!0,disableMultipleColumnsFiltering:!0,disableMultipleColumnsSorting:!0,disableMultipleSelection:!0,disableChildrenFiltering:void 0,disableChildrenSorting:void 0,getTreeDataPath:void 0,groupingColDef:void 0,throttleRowsMs:void 0,hideFooterRowCount:!1,pagination:!0,onRowsScrollEnd:void 0,checkboxSelectionVisibleOnly:!1,scrollEndThreshold:void 0,defaultGroupingExpansionDepth:void 0,treeData:void 0,signature:"DataGrid"},Ga=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnHeaders",overridesResolver:function(t,e){return e.columnHeaders}})((function(t){var e=t.theme;return{position:"absolute",top:0,left:0,right:0,overflow:"hidden",display:"flex",alignItems:"center",borderBottom:"1px solid ".concat("light"===e.palette.mode?Object(S.e)(Object(S.a)(e.palette.divider,1),.88):Object(S.b)(Object(S.a)(e.palette.divider,1),.68))}})),Ya=b.forwardRef((function(t,e){t.innerRef;var r=t.className,n=gt(t,["innerRef","className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["columnHeaders"]},ht,e)}({classes:mt().classes});return b.createElement(Ga,Object.assign({ref:e,className:Object(I.a)(r,i.root)},n))})),Xa=Object(_.a)("div",{name:"MuiDataGrid",slot:"columnHeadersInner",overridesResolver:function(t,e){return[Object(u.a)({},"&.".concat(dt.columnHeaderDropZone),e.columnHeaderDropZone),e.columnHeadersInner]}})((function(){var t;return t={display:"flex",alignItems:"center"},Object(u.a)(t,"&.".concat(dt.columnHeaderDropZone," .").concat(dt.columnHeaderDraggableContainer),{cursor:"move"}),Object(u.a)(t,"&.".concat(dt["columnHeadersInner--scrollable"]," .").concat(dt.columnHeader,":last-child"),{borderRight:"none"}),t})),$a=b.forwardRef((function(t,e){var r,n,i=t.isDragging,o=t.className,a=gt(t,["isDragging","className"]),s=ft(),c=mt(),u=function(t){var e=t.isDragging,r=t.hasScrollX,n=t.classes;return Object(O.a)({root:["columnHeadersInner",e&&"columnHeaderDropZone",r&&"columnHeadersInner--scrollable"]},ht,n)}({isDragging:i,hasScrollX:null!==(n=null===(r=s.current.getRootDimensions())||void 0===r?void 0:r.hasScrollX)&&void 0!==n&&n,classes:c.classes});return b.createElement(Xa,Object.assign({ref:e,className:Object(I.a)(o,u.root)},a))})),Ka=b.forwardRef((function(t,e){var r=t.innerRef,n=(t.className,gt(t,["innerRef","className"])),i=function(t){var e=t.innerRef,r=b.useState(""),n=Object(m.a)(r,2),i=n[0],a=n[1],s=b.useState(""),c=Object(m.a)(s,2),u=c[0],l=c[1],f=ft(),h=lr(f,Mr),d=lr(f,Cr),p=lr(f,mi),v=lr(f,pi),g=lr(f,hi),y=lr(f,Zr),w=lr(f,Ur),x=lr(f,Or),O=lr(f,ua),_=mt(),S=b.useRef(null),k=Object(j.a)(e,S),E=b.useState(null),M=Object(m.a)(E,2),C=M[0],A=M[1],T=b.useRef(C),P=b.useRef(0),D=b.useMemo((function(){if(null==C)return[];var t=Math.max(C.firstColumnIndex-_.columnBuffer,0),e=Math.min(C.lastColumnIndex+_.columnBuffer,h.length);return h.slice(t,e)}),[C,_.columnBuffer,h]);b.useEffect((function(){f.current.columnHeadersContainerElementRef.current.scrollLeft=0}),[f]);var R=b.useCallback((function(t){var e=Math.max(t.firstColumnIndex-_.columnBuffer,0),r=e>0?P.current-d.positions[e]:P.current;S.current.style.transform="translate3d(".concat(-r,"px, 0px, 0px)")}),[d.positions,_.columnBuffer]),L=b.useCallback((function(t){var e,r,n=t.left,i=t.renderContext,o=void 0===i?null:i;S.current&&(P.current===n&&(null===(e=T.current)||void 0===e?void 0:e.firstColumnIndex)===(null==o?void 0:o.firstColumnIndex)&&(null===(r=T.current)||void 0===r?void 0:r.lastColumnIndex)===(null==o?void 0:o.lastColumnIndex)||(P.current=n,o===T.current&&T.current||(A(o),T.current=o),o&&R(o)))}),[R]),I=b.useCallback((function(t){return l(t.field)}),[]),N=b.useCallback((function(){return l("")}),[]),F=b.useCallback((function(t){return a(t.field)}),[]),B=b.useCallback((function(){return a("")}),[]);Gi(f,o.columnResizeStart,I),Gi(f,o.columnResizeStop,N),Gi(f,o.columnHeaderDragStart,F),Gi(f,o.columnHeaderDragEnd,B),Gi(f,o.rowsScroll,L);var z={minHeight:y,maxHeight:y,lineHeight:"".concat(y,"px")};return{renderContext:C,isDragging:!!i,getColumns:function(){if(!C)return null;for(var t=[],e=Math.max(C.firstColumnIndex-_.columnBuffer,0),r=0;r<D.length;r+=1){var n=D[r],o=e+r,a=0===o,s=!(null===p&&null===v),c=null!==p&&p.field===n.field||a&&!s?0:-1,l=null!==g&&g.field===n.field,f=O.open&&O.field===n.field;t.push(b.createElement(mo,Object.assign({key:r},x[n.field],{columnMenuOpen:f,filterItemsCounter:w[n.field]&&w[n.field].length,headerHeight:y,isDragging:n.field===i,column:n,colIndex:o,isResizing:u===n.field,isLastColumn:o===t.length-1,extendRowFullWidth:!_.disableExtendRowFullWidth,hasFocus:l,tabIndex:c})))}return t},getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({style:z},t)},getInnerProps:function(){return{ref:k,"aria-rowindex":1,role:"row"}}}}({innerRef:r}),a=i.isDragging,s=i.getRootProps,c=i.getInnerProps,u=i.getColumns;return b.createElement(Ya,Object.assign({ref:e},s(n)),b.createElement(ca,{scrollDirection:"left"}),b.createElement($a,Object.assign({isDragging:a},c()),u()),b.createElement(ca,{scrollDirection:"right"}))})),Za=Object(_.a)("div",{name:"MuiDataGrid",slot:"VirtualScroller",overridesResolver:function(t,e){return e.virtualScroller}})({overflow:"auto","@media print":{overflow:"hidden"}}),Ja=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["virtualScroller"]},ht,e)}({classes:mt().classes});return b.createElement(Za,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))})),Qa=Object(_.a)("div",{name:"MuiDataGrid",slot:"VirtualScrollerContent",overridesResolver:function(t,e){return e.virtualScrollerContent}})({position:"relative",overflow:"hidden"}),ts=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["virtualScrollerContent"]},ht,e)}({classes:mt().classes});return b.createElement(Qa,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))})),es=Object(_.a)("div",{name:"MuiDataGrid",slot:"VirtualScrollerRenderZone",overridesResolver:function(t,e){return e.virtualScrollerRenderZone}})({position:"absolute"}),rs=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["virtualScrollerRenderZone"]},ht,e)}({classes:mt().classes});return b.createElement(es,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))}));function ns(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(e.length<=0)return-1;if(r>=n)return r;var i=r+Math.floor((n-r)/2);return t<=e[i]?ns(t,e,r,i):ns(t,e,i+1,n)}var is=b.forwardRef((function(t,e){var r=t.className,n=t.selectionLookup,i=t.disableVirtualization,a=gt(t,["className","selectionLookup","disableVirtualization"]),s=function(t){var e=t.ref,r=t.selectionLookup,n=t.disableVirtualization,i=ft(),a=mt(),s=lr(i,Mr),c=lr(i,Cr),u=lr(i,Kr),l=lr(i,fi),f=lr(i,pi),h=lr(i,da),d=Ia(i,a),p=b.useRef(null),v=b.useRef(null),g=Object(j.a)(e,v),y=b.useState(null),w=Object(m.a)(y,2),x=w[0],O=w[1],_=b.useRef(x),S=b.useRef({top:0,left:0}),k=b.useState(null),E=Object(m.a)(k,2),M=E[0],C=E[1],A=b.useRef(c.totalWidth),T=b.useCallback((function(){if(n)return{firstRowIndex:0,lastRowIndex:d.rows.length,firstColumnIndex:0,lastColumnIndex:s.length};var t=S.current,e=t.top,r=t.left,o=a.autoHeight?d.rows.length:Math.floor(v.current.clientHeight/u),c=Math.floor(e/u),l=c+o,f=Cr(i.current.state).positions;return{firstRowIndex:c,lastRowIndex:l,firstColumnIndex:ns(r,f),lastColumnIndex:ns(r+M,f)}}),[i,M,a.autoHeight,n,u,d.rows.length,s.length]);b.useEffect((function(){n?p.current.style.transform="translate3d(0px, 0px, 0px)":(v.current.scrollLeft=0,v.current.scrollTop=0),C(v.current.clientWidth)}),[n]),b.useEffect((function(){if(null!=M){var t=T();_.current=t,O(t);var e=S.current,r={top:e.top,left:e.left,renderContext:t};i.current.publishEvent(o.rowsScroll,r)}}),[i,T,M]);var P=b.useCallback((function(){v.current&&C(v.current.clientWidth)}),[]);Gi(i,o.resize,P);var D=function(t){var e=t.currentTarget,r=e.scrollTop,s=e.scrollLeft;if(S.current.top=r,S.current.left=s,!(s<0||r<0)&&_.current){var l=n?_.current:T(),f=Math.abs(l.firstRowIndex-_.current.firstRowIndex),h=Math.abs(l.firstColumnIndex-_.current.firstColumnIndex),d=f>=a.rowThreshold||h>=a.columnThreshold||A.current!==c.totalWidth;if(i.current.publishEvent(o.rowsScroll,{top:r,left:s,renderContext:d?l:_.current}),d){O(l),_.current=l,A.current=c.totalWidth;var m=Math.max(l.firstRowIndex-a.rowBuffer,0)*u,b=Math.max(l.firstColumnIndex-a.columnBuffer,0),v=c.positions[b];p.current.style.transform="translate3d(".concat(v,"px, ").concat(m,"px, 0px)")}}},R={width:M&&c.totalWidth>M?c.totalWidth:"auto",height:Math.max(d.rows.length*u,1)};return a.autoHeight&&0===d.rows.length&&(R.height=2*u),{getRows:function(){var t;if(!d.range||!x||null==M)return null;for(var e=n?0:a.rowBuffer,i=n?0:a.columnBuffer,o=Math.max(x.firstRowIndex-e,0),c=Math.min(x.lastRowIndex+e,d.rows.length),p=Math.max(x.firstColumnIndex-i,0),m=Math.min(x.lastColumnIndex+i,s.length),v=d.rows.slice(o,c),g=s.slice(p,m),y=[],w=0;w<v.length;w+=1){var O=v[w],_=O.id,S=O.model;y.push(b.createElement(a.components.Row,Object.assign({key:w,row:S,rowId:_,rowHeight:u,cellFocus:l,cellTabIndex:f,editRowsState:h,renderedColumns:g,visibleColumns:s,firstColumnToRender:p,lastColumnToRender:m,selected:void 0!==r[_],index:d.range.firstRowIndex+x.firstRowIndex+w,containerWidth:M},null===(t=a.componentsProps)||void 0===t?void 0:t.row)))}return y},getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({ref:g,onScroll:D},t)},getContentProps:function(){return{style:R}},getRenderZone:function(){return{ref:p}}}}({ref:e,selectionLookup:n,disableVirtualization:i}),c=s.getRootProps,u=s.getContentProps,l=s.getRenderZone,f=s.getRows;return b.createElement(Ja,Object.assign({className:r},c(a)),b.createElement(ts,Object.assign({},u()),b.createElement(rs,Object.assign({},l()),f())))})),os=b.forwardRef((function(t,e){var r=function(t){if(t.pageSize>100)throw new Error("'props.pageSize' cannot exceed 100 in DataGrid.");var e=Object(k.a)({props:t,name:"MuiDataGrid"});return function(t){var e=b.useMemo((function(){return Object.assign(Object.assign({},Do),t.localeText)}),[t.localeText]),r=b.useMemo((function(){var e=t.components;if(!e)return Object.assign({},xa);var r={};return Object.keys(xa).forEach((function(t){r[t]=void 0===e[t]?xa[t]:e[t]})),r}),[t.components]);return b.useMemo((function(){return Object.assign(Object.assign(Object.assign({},ba),t),{localeText:e,components:r})}),[t,e,r])}(b.useMemo((function(){return Object.assign(Object.assign({},e),Va)}),[e]))}(t),n=function(){var t=arguments.length<=0?void 0:arguments[0],e=b.useRef();return e.current||(e.current={unstable_eventManager:new pa}),b.useImperativeHandle(t,(function(){return e.current}),[e]),e}();return qa(n,r),b.createElement(_a,{apiRef:n,props:r},b.createElement(Wi,{className:r.className,style:r.style,sx:r.sx,ref:e},b.createElement(tn,null,b.createElement(rn,null),b.createElement(Jr,{ColumnHeadersComponent:Ka,VirtualScrollerComponent:is}),b.createElement(en,null))))})),as=b.memo(os);os.propTypes={"aria-label":y.a.string,"aria-labelledby":y.a.string,autoHeight:y.a.bool,autoPageSize:y.a.bool,checkboxSelection:y.a.bool,classes:y.a.object,columnBuffer:y.a.number,columns:Object(V.a)(y.a.array.isRequired,(function(t){return t.columns&&t.columns.some((function(t){return t.resizable}))?new Error(["MUI: `column.resizable = true` is not a valid prop.","Column resizing is not available in the MIT version.","","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n")):null})),columnThreshold:y.a.number,columnTypes:y.a.object,components:y.a.object,componentsProps:y.a.object,density:y.a.oneOf(["comfortable","compact","standard"]),disableColumnFilter:y.a.bool,disableColumnMenu:y.a.bool,disableColumnSelector:y.a.bool,disableDensitySelector:y.a.bool,disableExtendRowFullWidth:y.a.bool,disableSelectionOnClick:y.a.bool,disableVirtualization:y.a.bool,editMode:y.a.oneOf(["cell","row"]),editRowsModel:y.a.object,error:y.a.any,filterMode:y.a.oneOf(["client","server"]),filterModel:Object(V.a)(y.a.any,(function(t){return null!=t.filterModel&&t.filterModel.items.length>1?new Error(["MUI: `<DataGrid filterModel={model} />` is not a valid prop. `model.items` has more than 1 item.","Only single filter is available in the MIT version.","","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n")):null})),getCellClassName:y.a.func,getRowClassName:y.a.func,getRowId:y.a.func,headerHeight:y.a.number,hideFooter:y.a.bool,hideFooterPagination:y.a.bool,hideFooterSelectedRowCount:y.a.bool,initialState:y.a.object,isCellEditable:y.a.func,isRowSelectable:y.a.func,loading:y.a.bool,localeText:y.a.object,logger:y.a.shape({debug:y.a.func.isRequired,error:y.a.func.isRequired,info:y.a.func.isRequired,warn:y.a.func.isRequired}),logLevel:y.a.oneOf(["debug","error","info","warn",!1]),nonce:y.a.string,onCellClick:y.a.func,onCellDoubleClick:y.a.func,onCellEditCommit:y.a.func,onCellEditStart:y.a.func,onCellEditStop:y.a.func,onCellFocusOut:y.a.func,onCellKeyDown:y.a.func,onColumnHeaderClick:y.a.func,onColumnHeaderDoubleClick:y.a.func,onColumnHeaderEnter:y.a.func,onColumnHeaderLeave:y.a.func,onColumnHeaderOut:y.a.func,onColumnHeaderOver:y.a.func,onColumnOrderChange:y.a.func,onColumnResize:y.a.func,onColumnVisibilityChange:y.a.func,onColumnWidthChange:y.a.func,onEditCellPropsChange:y.a.func,onEditRowsModelChange:y.a.func,onError:y.a.func,onFilterModelChange:y.a.func,onPageChange:y.a.func,onPageSizeChange:y.a.func,onResize:y.a.func,onRowClick:y.a.func,onRowDoubleClick:y.a.func,onRowEditCommit:y.a.func,onRowEditStart:y.a.func,onRowEditStop:y.a.func,onSelectionModelChange:y.a.func,onSortModelChange:y.a.func,onStateChange:y.a.func,page:y.a.number,pageSize:Object(V.a)(y.a.number,(function(t){return t.pageSize&&t.pageSize>100?new Error(["MUI: `<DataGrid pageSize={".concat(t.pageSize,"} />` is not a valid prop."),"Only page size below 100 is available in the MIT version.","","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n")):null})),pagination:function(t){return!1===t.pagination?new Error(["MUI: `<DataGrid pagination={false} />` is not a valid prop.","Infinite scrolling is not available in the MIT version.","","You need to upgrade to the DataGridPro component to disable the pagination."].join("\n")):null},paginationMode:y.a.oneOf(["client","server"]),rowBuffer:y.a.number,rowCount:y.a.number,rowHeight:y.a.number,rows:y.a.arrayOf(y.a.object).isRequired,rowsPerPageOptions:y.a.arrayOf(y.a.number),rowThreshold:y.a.number,scrollbarSize:y.a.number,selectionModel:Object(V.a)(y.a.oneOfType([y.a.number,y.a.string,y.a.array]),(function(t){return!t.checkboxSelection&&Array.isArray(t.selectionModel)&&t.selectionModel.length>1?new Error(["MUI: `<DataGrid selectionModel={".concat(JSON.stringify(t.selectionModel),"} />` is not a valid prop."),"selectionModel can only be of 1 item in DataGrid.","","You need to upgrade to the DataGridPro component to unlock multiple selection."].join("\n")):null})),showCellRightBorder:y.a.bool,showColumnRightBorder:y.a.bool,sortingMode:y.a.oneOf(["client","server"]),sortingOrder:y.a.arrayOf(y.a.oneOf(["asc","desc"])),sortModel:y.a.arrayOf(y.a.shape({field:y.a.string.isRequired,sort:y.a.oneOf(["asc","desc"])})),sx:y.a.oneOfType([y.a.arrayOf(y.a.oneOfType([y.a.func,y.a.object])),y.a.func,y.a.object])}}).call(this,r(120),r(466)(t),r(112))},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(2);var i=r(426);function o(t){var e=t.props,r=t.name,o=t.defaultTheme;return function(t){var e=t.theme,r=t.name,i=t.props;if(!e||!e.components||!e.components[r]||!e.components[r].defaultProps)return i;var o,a=Object(n.a)({},i),s=e.components[r].defaultProps;for(o in s)void 0===a[o]&&(a[o]=s[o]);return a}({theme:Object(i.a)(o),name:r,props:e})}var a=r(284);function s(t){return o({props:t.props,name:t.name,defaultTheme:a.a})}},,function(t,e,r){"use strict";var n=r(884);e.a=n.a},function(t,e,r){"use strict";r.d(e,"a",(function(){return L})),r.d(e,"b",(function(){return g})),r.d(e,"c",(function(){return N})),r.d(e,"d",(function(){return x})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return B})),r.d(e,"g",(function(){return G})),r.d(e,"h",(function(){return z})),r.d(e,"i",(function(){return $})),r.d(e,"j",(function(){return et})),r.d(e,"k",(function(){return rt})),r.d(e,"l",(function(){return tt})),r.d(e,"m",(function(){return nt})),r.d(e,"n",(function(){return R})),r.d(e,"o",(function(){return T})),r.d(e,"p",(function(){return I})),r.d(e,"q",(function(){return U})),r.d(e,"r",(function(){return D})),r.d(e,"s",(function(){return it})),r.d(e,"t",(function(){return J})),r.d(e,"u",(function(){return K})),r.d(e,"v",(function(){return Z})),r.d(e,"w",(function(){return F})),r.d(e,"x",(function(){return H})),r.d(e,"y",(function(){return l})),r.d(e,"z",(function(){return W})),r.d(e,"A",(function(){return P})),r.d(e,"B",(function(){return q})),r.d(e,"C",(function(){return V})),r.d(e,"D",(function(){return Y})),r.d(e,"E",(function(){return y})),r.d(e,"F",(function(){return E})),r.d(e,"G",(function(){return s})),r.d(e,"H",(function(){return k})),r.d(e,"I",(function(){return w})),r.d(e,"J",(function(){return A})),r.d(e,"K",(function(){return p})),r.d(e,"L",(function(){return f})),r.d(e,"M",(function(){return v})),r.d(e,"N",(function(){return d})),r.d(e,"O",(function(){return S})),r.d(e,"P",(function(){return c})),r.d(e,"Q",(function(){return h})),r.d(e,"R",(function(){return M})),r.d(e,"S",(function(){return _})),r.d(e,"T",(function(){return O}));var n=r(93),i=r(2),o=r(57),a=r(490),s=function(t){return function(){return t}}(!0),c=function(){};var u=function(t){return t};"function"===typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;function l(t,e,r){if(!e(t))throw new Error(r)}var f=function(t,e){Object(i.a)(t,e),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach((function(r){t[r]=e[r]}))},h=function(t,e){var r;return(r=[]).concat.apply(r,e.map(t))};function d(t,e){var r=t.indexOf(e);r>=0&&t.splice(r,1)}function p(t){var e=!1;return function(){e||(e=!0,t())}}var m=function(t){throw t},b=function(t){return{value:t,done:!0}};function v(t,e,r){void 0===e&&(e=m),void 0===r&&(r="iterator");var n={meta:{name:r},next:t,throw:e,return:b,isSagaIterator:!0};return"undefined"!==typeof Symbol&&(n[Symbol.iterator]=function(){return n}),n}function g(t,e){var r=e.sagaStack;console.error(t),console.error(r)}var y=function(t){return new Error("\n  redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n  in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n  Error: "+t+"\n")},w=function(t){return Array.apply(null,new Array(t))},x=function(t){return function(e){return t(Object.defineProperty(e,n.f,{value:!0}))}},O=function(t){return t===n.k},_=function(t){return t===n.j},S=function(t){return O(t)||_(t)};function k(t,e){var r=Object.keys(t),n=r.length;var i,a=0,s=Object(o.a)(t)?w(n):{},u={};return r.forEach((function(t){var r=function(r,o){i||(o||S(r)?(e.cancel(),e(r,o)):(s[t]=r,++a===n&&(i=!0,e(s))))};r.cancel=c,u[t]=r})),e.cancel=function(){i||(i=!0,r.forEach((function(t){return u[t].cancel()})))},u}function E(t){return{name:t.name||"anonymous",location:M(t)}}function M(t){return t[n.g]}var C={isEmpty:s,put:c,take:c};function j(t,e){void 0===t&&(t=10);var r=new Array(t),n=0,i=0,o=0,a=function(e){r[i]=e,i=(i+1)%t,n++},s=function(){if(0!=n){var e=r[o];return r[o]=null,n--,o=(o+1)%t,e}},c=function(){for(var t=[];n;)t.push(s());return t};return{isEmpty:function(){return 0==n},put:function(s){var u;if(n<t)a(s);else switch(e){case 1:throw new Error("Channel's Buffer overflow!");case 3:r[i]=s,o=i=(i+1)%t;break;case 4:u=2*t,r=c(),n=r.length,i=r.length,o=0,r.length=u,t=u,a(s)}},take:s,flush:c}}var A=function(){return C},T=function(t){return j(t,3)},P=function(t){return j(t,4)},D="TAKE",R="PUT",L="ALL",I="RACE",N="CALL",F="CPS",B="FORK",z="JOIN",H="CANCEL",U="SELECT",W="ACTION_CHANNEL",q="CANCELLED",V="FLUSH",G="GET_CONTEXT",Y="SET_CONTEXT",X=function(t,e){var r;return(r={})[n.c]=!0,r.combinator=!1,r.type=t,r.payload=e,r};function $(t,e){return void 0===t&&(t="*"),Object(o.i)(t)?X(D,{pattern:t}):Object(o.f)(t)&&Object(o.g)(e)&&Object(o.i)(e)?X(D,{channel:t,pattern:e}):Object(o.b)(t)?X(D,{channel:t}):void 0}function K(t,e){return Object(o.n)(e)&&(e=t,t=void 0),X(R,{channel:t,action:e})}function Z(t){var e=X(L,t);return e.combinator=!0,e}function J(t){var e=X(I,t);return e.combinator=!0,e}function Q(t,e){var r,n=null;return Object(o.d)(t)?r=t:(Object(o.a)(t)?(n=t[0],r=t[1]):(n=t.context,r=t.fn),n&&Object(o.k)(r)&&Object(o.d)(n[r])&&(r=n[r])),{context:n,fn:r,args:e}}function tt(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return X(N,Q(t,r))}function et(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return X(B,Q(t,r))}function rt(t){return void 0===t&&(t=n.h),X(H,t)}function nt(t,e){return X(W,{pattern:t,buffer:e})}var it=tt.bind(null,a.a)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=r.n(o),s=(r(10),r(183)),c=r.n(s),u=r(891),l=r(1400),f=r(656),h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var o=e.defaultTheme,s=e.withTheme,h=void 0!==s&&s,d=e.name,p=Object(i.a)(e,["defaultTheme","withTheme","name"]);var m=d,b=Object(u.a)(t,Object(n.a)({defaultTheme:o,Component:r,name:d||r.displayName,classNamePrefix:m},p)),v=a.a.forwardRef((function(t,e){t.classes;var s,c=t.innerRef,u=Object(i.a)(t,["classes","innerRef"]),p=b(Object(n.a)({},r.defaultProps,t)),m=u;return("string"===typeof d||h)&&(s=Object(f.a)()||o,d&&(m=Object(l.a)({theme:s,name:d,props:u})),h&&!m.theme&&(m.theme=s)),a.a.createElement(r,Object(n.a)({ref:c||e,classes:p},m))}));return c()(v,r),v}},d=r(282);e.a=function(t,e){return h(t,Object(n.a)({defaultTheme:d.a},e))}},,,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(277);function i(t){if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=Object(n.a)(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"d",(function(){return i})),r.d(e,"e",(function(){return o})),r.d(e,"h",(function(){return a})),r.d(e,"i",(function(){return s})),r.d(e,"k",(function(){return c})),r.d(e,"l",(function(){return u})),r.d(e,"f",(function(){return l})),r.d(e,"j",(function(){return f})),r.d(e,"g",(function(){return h})),r.d(e,"m",(function(){return d})),r.d(e,"b",(function(){return p})),r.d(e,"c",(function(){return m}));var n=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,c=Math.sin,u=Math.sqrt,l=1e-12,f=Math.PI,h=f/2,d=2*f;function p(t){return t>1?0:t<-1?f:Math.acos(t)}function m(t){return t>=1?h:t<=-1?-h:Math.asin(t)}},,function(t,e){t.exports=function(t){return null==t}},function(t,e,r){"use strict";r.d(e,"w",(function(){return bt})),r.d(e,"m",(function(){return vt})),r.d(e,"b",(function(){return gt})),r.d(e,"q",(function(){return yt})),r.d(e,"p",(function(){return wt})),r.d(e,"h",(function(){return xt})),r.d(e,"g",(function(){return Ot})),r.d(e,"a",(function(){return _t})),r.d(e,"z",(function(){return kt})),r.d(e,"n",(function(){return Et})),r.d(e,"x",(function(){return Mt})),r.d(e,"l",(function(){return Ct})),r.d(e,"t",(function(){return jt})),r.d(e,"d",(function(){return At})),r.d(e,"A",(function(){return Tt})),r.d(e,"c",(function(){return Pt})),r.d(e,"e",(function(){return Dt})),r.d(e,"C",(function(){return Rt})),r.d(e,"r",(function(){return Nt})),r.d(e,"u",(function(){return Ft})),r.d(e,"k",(function(){return Bt})),r.d(e,"j",(function(){return zt})),r.d(e,"i",(function(){return Ht})),r.d(e,"s",(function(){return Ut})),r.d(e,"o",(function(){return Wt})),r.d(e,"B",(function(){return Gt})),r.d(e,"f",(function(){return Yt})),r.d(e,"y",(function(){return Xt})),r.d(e,"v",(function(){return $t}));var n=r(207),i=r.n(n),o=r(370),a=r.n(o),s=r(300),c=r.n(s),u=r(281),l=r.n(u),f=r(301),h=r.n(f),d=r(68),p=r.n(d),m=r(243),b=r.n(m),v=r(438),g=r.n(v),y=r(861),w=r.n(y),x=r(44),O=r.n(x),_=r(114),S=r.n(_),k=r(36),E=r.n(k),M=r(99),C=r.n(M);function j(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var T=function(t){return t},P={"@@functional/placeholder":!0},D=function(t){return t===P},R=function(t){return function e(){return 0===arguments.length||1===arguments.length&&D(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},L=function(t){return function t(e,r){return 1===e?r:R((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(t){return t!==P})).length;return a>=e?r.apply(void 0,i):t(e-a,R((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map((function(t){return D(t)?e.shift():t}));return r.apply(void 0,j(o).concat(e))})))}))}(t.length,t)},I=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},N=L((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),F=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return T;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(t,e){return e(t)}),i.apply(void 0,arguments))}},B=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},z=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every((function(t,r){return t===e[r]}))?r:(e=i,r=t.apply(void 0,i))}};var H={rangeStep:function(t,e,r){for(var n=new C.a(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new C.a(t).abs().log(10).toNumber())+1},interpolateNumber:L((function(t,e,r){var n=+t;return n+r*(+e-n)})),uninterpolateNumber:L((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),uninterpolateTruncation:L((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))}))};function U(t){return function(t){if(Array.isArray(t))return V(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||q(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||q(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(t,e){if(t){if("string"===typeof t)return V(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(t,e):void 0}}function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function G(t){var e=W(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Y(t,e,r){if(t.lte(0))return new C.a(0);var n=H.getDigitCount(t.toNumber()),i=new C.a(10).pow(n),o=t.div(i),a=1!==n?.05:.1,s=new C.a(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?s:new C.a(Math.ceil(s))}function X(t,e,r){var n=1,i=new C.a(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new C.a(10).pow(H.getDigitCount(t)-1),i=new C.a(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new C.a(Math.floor(t)))}else 0===t?i=new C.a(Math.floor((e-1)/2)):r||(i=new C.a(Math.floor(t)));var a=Math.floor((e-1)/2);return F(N((function(t){return i.add(new C.a(t-a).mul(n)).toNumber()})),I)(0,e)}function $(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new C.a(0),tickMin:new C.a(0),tickMax:new C.a(0)};var o,a=Y(new C.a(e).sub(t).div(r-1),n,i);o=t<=0&&e>=0?new C.a(0):(o=new C.a(t).add(e).div(2)).sub(new C.a(o).mod(a));var s=Math.ceil(o.sub(t).div(a).toNumber()),c=Math.ceil(new C.a(e).sub(o).div(a).toNumber()),u=s+c+1;return u>r?$(t,e,r,n,i+1):(u<r&&(c=e>0?c+(r-u):c,s=e>0?s:s+(r-u)),{step:a,tickMin:o.sub(new C.a(s).mul(a)),tickMax:o.add(new C.a(c).mul(a))})}var K=z((function(t){var e=W(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=G([r,n]),c=W(s,2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var f=l===1/0?[u].concat(U(I(0,i-1).map((function(){return 1/0})))):[].concat(U(I(0,i-1).map((function(){return-1/0}))),[l]);return r>n?B(f):f}if(u===l)return X(u,i,o);var h=$(u,l,a,o),d=h.step,p=h.tickMin,m=h.tickMax,b=H.rangeStep(p,m.add(new C.a(.1).mul(d)),d);return r>n?B(b):b})),Z=(z((function(t){var e=W(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=G([r,n]),c=W(s,2),u=c[0],l=c[1];if(u===-1/0||l===1/0)return[r,n];if(u===l)return X(u,i,o);var f=Y(new C.a(l).sub(u).div(a-1),o,0),h=F(N((function(t){return new C.a(u).add(new C.a(t).mul(f)).toNumber()})),I),d=h(0,a).filter((function(t){return t>=u&&t<=l}));return r>n?B(d):d})),z((function(t,e){var r=W(t,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=G([n,i]),s=W(a,2),c=s[0],u=s[1];if(c===-1/0||u===1/0)return[n,i];if(c===u)return[c];var l=Math.max(e,2),f=Y(new C.a(u).sub(c).div(l-1),o,0),h=[].concat(U(H.rangeStep(new C.a(c),new C.a(u).sub(new C.a(.99).mul(f)),f)),[u]);return n>i?B(h):h}))),J=r(625),Q=r(152),tt=r(359),et=r(788),rt=r(205),nt=r(789),it=r(790),ot=r(787),at=r(204),st=r(17),ct=r(433),ut=r(74),lt=r(42);function ft(t){return function(t){if(Array.isArray(t))return ht(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return ht(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ht(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(r),!0).forEach((function(e){mt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function bt(t,e,r){return E()(t)||E()(e)?r:Object(st.g)(e)?S()(t,e,r):O()(e)?e(t):r}function vt(t,e,r,n){var i=w()(t,(function(t){return bt(t,e)}));if("number"===r){var o=i.filter((function(t){return Object(st.h)(t)||parseFloat(t)}));return o.length?[g()(o),b()(o)]:[1/0,-1/0]}return(n?i.filter((function(t){return!E()(t)})):i).map((function(t){return Object(st.g)(t)||t instanceof Date?t:""}))}var gt=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(e=null===r||void 0===r?void 0:r.length)&&void 0!==e?e:0;if(a>1){if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var s=i.range,c=0;c<a;c++){var u=c>0?n[c-1].coordinate:n[a-1].coordinate,l=n[c].coordinate,f=c>=a-1?n[0].coordinate:n[c+1].coordinate,h=void 0;if(Object(st.j)(l-u)!==Object(st.j)(f-l)){var d=[];if(Object(st.j)(f-l)===Object(st.j)(s[1]-s[0])){h=f;var p=l+s[1]-s[0];d[0]=Math.min(p,(p+u)/2),d[1]=Math.max(p,(p+u)/2)}else{h=u;var m=f+s[1]-s[0];d[0]=Math.min(l,(m+l)/2),d[1]=Math.max(l,(m+l)/2)}var b=[Math.min(l,(h+l)/2),Math.max(l,(h+l)/2)];if(t>b[0]&&t<=b[1]||t>=d[0]&&t<=d[1]){o=n[c].index;break}}else{var v=Math.min(u,f),g=Math.max(u,f);if(t>(v+l)/2&&t<=(g+l)/2){o=n[c].index;break}}}else for(var y=0;y<a;y++)if(0===y&&t<=(r[y].coordinate+r[y+1].coordinate)/2||y>0&&y<a-1&&t>(r[y].coordinate+r[y-1].coordinate)/2&&t<=(r[y].coordinate+r[y+1].coordinate)/2||y===a-1&&t>(r[y].coordinate+r[y-1].coordinate)/2){o=r[y].index;break}}else o=0;return o},yt=function(t){var e,r=t.type.displayName,n=t.props,i=n.stroke,o=n.fill;switch(r){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},wt=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Object(ut.b)(r,ct.a.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map((function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(n||[]).map((function(t){var e=t.item,r=e.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:yt(e),value:i||n,payload:e.props}})),pt(pt(pt({},a.props),ct.a.getWithHeight(a,i)),{},{payload:e,item:a})):null},xt=function(t){var e=t.barSize,r=t.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,s=o.length;a<s;a++)for(var c=n[o[a]].stackGroups,u=Object.keys(c),l=0,f=u.length;l<f;l++){var h=c[u[l]],d=h.items,p=h.cateAxisId,m=d.filter((function(t){return Object(ut.c)(t.type).indexOf("Bar")>=0}));if(m&&m.length){var b=m[0].props.barSize,v=m[0].props[p];i[v]||(i[v]=[]),i[v].push({item:m[0],stackList:m.slice(1),barSize:E()(b)?e:b})}}return i},Ot=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,s=o.length;if(s<1)return null;var c,u=Object(st.d)(e,n,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=n/s,h=o.reduce((function(t,e){return t+e.barSize||0}),0);(h+=(s-1)*u)>=n&&(h-=(s-1)*u,u=0),h>=n&&f>0&&(l=!0,h=s*(f*=.9));var d={offset:((n-h)/2>>0)-u,size:0};c=o.reduce((function(t,e){var r=[].concat(ft(t),[{item:e.item,position:{offset:d.offset+d.size+u,size:l?f:e.barSize}}]);return d=r[r.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:d})})),r}),[])}else{var p=Object(st.d)(r,n,0,!0);n-2*p-(s-1)*u<=0&&(u=0);var m=(n-2*p-(s-1)*u)/s;m>1&&(m>>=0);var b=a===+a?Math.min(m,a):m;c=o.reduce((function(t,e,r){var n=[].concat(ft(t),[{item:e.item,position:{offset:p+(m+u)*r+(m-b)/2,size:b}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:n[n.length-1].position})})),n}),[])}return c},_t=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,s=o-(a.left||0)-(a.right||0),c=wt({children:i,legendWidth:s}),u=t;if(c){var l=n||{},f=c.align,h=c.verticalAlign,d=c.layout;("vertical"===d||"horizontal"===d&&"center"===h)&&Object(st.h)(t[f])&&(u=pt(pt({},t),{},mt({},f,u[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&Object(st.h)(t[h])&&(u=pt(pt({},t),{},mt({},h,u[h]+(l.height||0))))}return u},St=function(t,e,r,n){var i=e.props.children,o=Object(ut.a)(i,"ErrorBar").filter((function(t){var e=t.props.direction;return!(!E()(e)&&!E()(n))||n.indexOf(e)>=0}));if(o&&o.length){var a=o.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=bt(e,r,0),i=p()(n)?[g()(n),b()(n)]:[n,n],o=a.reduce((function(t,r){var n=bt(e,r,0),o=i[0]-Math.abs(p()(n)?n[0]:n),a=i[1]+Math.abs(p()(n)?n[1]:n);return[Math.min(o,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]}),[1/0,-1/0])}return null},kt=function(t,e,r,n){var i=e.map((function(e){return St(t,e,r,n)})).filter((function(t){return!E()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null},Et=function(t,e,r,n){var i=e.map((function(e){var i=e.props.dataKey;return"number"===r&&i&&St(t,e,i)||vt(t,i,r,n)}));if("number"===r)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(t,e){for(var r=0,n=e.length;r<n;r++)o[e[r]]||(o[e[r]]=!0,t.push(e[r]));return t}),[])},Mt=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},Ct=function(t,e,r){var n,i,o=t.map((function(t){return t.coordinate===e&&(n=!0),t.coordinate===r&&(i=!0),t.coordinate}));return n||o.push(e),i||o.push(r),o},jt=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,s=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/2:0;return s="angleAxis"===t.axisType?2*Object(st.j)(a[0]-a[1])*s:s,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=i?i.indexOf(t):t;return{coordinate:n(e)+s,value:t,offset:s}})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+s,value:t,index:e,offset:s}})):n.ticks&&!r?n.ticks(t.tickCount).map((function(t){return{coordinate:n(t)+s,value:t,offset:s}})):n.domain().map((function(t,e){return{coordinate:n(t)+s,value:i?i[t]:t,index:e,offset:s}}))},At=function(t,e,r){var n;return O()(r)?n=r:O()(e)&&(n=e),O()(t)||n?function(e,r,i,o){O()(t)&&t(e,r,i,o),O()(n)&&n(e,r,i,o)}:null},Tt=function(t,e,r){var n=t.scale,i=t.type,o=t.layout,a=t.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:J.a(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Q.a(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:J.b(),realScaleType:"point"}:"category"===i?{scale:J.a(),realScaleType:"band"}:{scale:Q.a(),realScaleType:"linear"};if(h()(n)){var s="scale".concat(l()(n));return{scale:(tt[s]||J.b)(),realScaleType:tt[s]?s:"point"}}return O()(n)?{scale:n}:{scale:J.b(),realScaleType:"point"}},Pt=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),s=t(e[r-1]);(a<i||a>o||s<i||s>o)&&t.domain([e[0],e[r-1]])}},Dt=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},Rt=function(t,e){if(!e||2!==e.length||!Object(st.h)(e[0])||!Object(st.h)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!Object(st.h)(t[0])||t[0]<r)&&(i[0]=r),(!Object(st.h)(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i},Lt={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var s=c()(t[a][r][1])?t[a][r][0]:t[a][r][1];s>=0?(t[a][r][0]=i,t[a][r][1]=i+s,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+s,o=t[a][r][1])}},expand:et.a,none:rt.a,silhouette:nt.a,wiggle:it.a,positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=c()(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},It=function(t,e,r){var n=e.map((function(t){return t.props.dataKey}));return Object(ot.a)().keys(n).value((function(t,e){return+bt(t,e,0)})).order(at.a).offset(Lt[r])(t)},Nt=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce((function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[r],s=t[a]||{hasStack:!1,stackGroups:{}};if(Object(st.g)(o)){var c=s.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};c.items.push(e),s.hasStack=!0,s.stackGroups[o]=c}else s.stackGroups[Object(st.k)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return pt(pt({},t),{},mt({},a,s))}),{});return Object.keys(a).reduce((function(e,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(e,o){var a=s.stackGroups[o];return pt(pt({},e),{},mt({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:It(t,a.items,i)}))}),{})),pt(pt({},e),{},mt({},o,s))}),{})},Ft=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,s=r||e.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var c=t.domain();if(!c.length)return null;var u=K(c,i,a);return t.domain(function(t,e){return"number"===e?[g()(t),b()(t)]:t}(u,n)),{niceTicks:u}}if(i&&"number"===n){var l=t.domain();return{niceTicks:Z(l,i,a)}}return null},Bt=function(t){var e=t.axis,r=t.ticks,n=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!E()(i[e.dataKey])){var s=Object(st.a)(r,"value",i[e.dataKey]);if(s)return s.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var c=bt(i,E()(a)?e.dataKey:a);return E()(c)?null:e.scale(c)},zt=function(t){var e=t.axis,r=t.ticks,n=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var s=bt(o,e.dataKey,e.domain[a]);return E()(s)?null:e.scale(s)-i/2+n},Ht=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]},Ut=function(t,e){var r=t.props.stackId;if(Object(st.g)(r)){var n=e[r];if(n&&n.items.length){for(var i=-1,o=0,a=n.items.length;o<a;o++)if(n.items[o]===t){i=o;break}return i>=0?n.stackedData[i]:null}}return null},Wt=function(t,e,r){return Object.keys(t).reduce((function(n,i){var o=t[i].stackedData.reduce((function(t,n){var i=n.slice(e,r+1).reduce((function(t,e){return[g()(e.concat([t[0]]).filter(st.h)),b()(e.concat([t[1]]).filter(st.h))]}),[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},qt=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Vt=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Gt=function(t,e,r){if(!p()(t))return e;var n=[];if(Object(st.h)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(qt.test(t[0])){var i=+qt.exec(t[0])[1];n[0]=e[0]-i}else O()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(Object(st.h)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(Vt.test(t[1])){var o=+Vt.exec(t[1])[1];n[1]=e[1]+o}else O()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},Yt=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=a()(e,(function(t){return t.coordinate})),o=1/0,s=1,c=i.length;s<c;s++){var u=i[s],l=i[s-1];o=Math.min((u.coordinate||0)-(l.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},Xt=function(t,e,r){return t&&t.length?i()(t,S()(r,"type.defaultProps.domain"))?e:t:e},$t=function(t,e){var r=t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,s=r.tooltipType,c=r.chartType;return pt(pt({},Object(lt.c)(t)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:yt(t),value:bt(e,n),type:s,payload:e,chartType:c})}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(519);function i(t){if("string"!==typeof t)throw new Error(Object(n.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return h})),r.d(e,"c",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"e",(function(){return E})),r.d(e,"f",(function(){return M})),r.d(e,"g",(function(){return b})),r.d(e,"h",(function(){return v})),r.d(e,"i",(function(){return C})),r.d(e,"j",(function(){return g}));var n=r(241),i=(r(10),r(0));function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r,n=arguments[e];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var a=function(t){return t};function s(t,e){if(!t)throw Error(e)}var c=Object(i.createContext)({static:!1}),u=Object(i.createContext)({outlet:null,params:a({}),pathname:"",route:null});function l(t){var e=t.to,r=t.replace,n=t.state;m()||s(!1);var o=v();return Object(i.useEffect)((function(){o(e,{replace:r,state:n})})),null}function f(){return Object(i.useContext)(u).outlet}function h(t){return void 0===(t=t.element)?Object(i.createElement)(f,null):t}function d(t){var e=t.children;e=void 0===e?null:e;var r=t.action;r=void 0===r?n.a.Pop:r;var o=t.location,a=t.navigator;return t=void 0!==(t=t.static)&&t,m()&&s(!1),Object(i.createElement)(c.Provider,{children:e,value:{action:r,location:o,navigator:a,static:t}})}function p(t){var e=t.basename;return e=void 0===e?"":e,y(t=function t(e){var r=[];return i.Children.forEach(e,(function(e){if(Object(i.isValidElement)(e))if(e.type===i.Fragment)r.push.apply(r,t(e.props.children));else{var n={path:e.props.path||"/",caseSensitive:!0===e.props.caseSensitive,element:e};e.props.children&&((e=t(e.props.children)).length&&(n.children=e)),r.push(n)}})),r}(t.children),e)}function m(){return null!=Object(i.useContext)(c).location}function b(){return m()||s(!1),Object(i.useContext)(c).location}function v(){m()||s(!1);var t=Object(i.useContext)(c).navigator,e=Object(i.useContext)(u).pathname,r=Object(i.useRef)(!1);return Object(i.useEffect)((function(){r.current=!0})),Object(i.useCallback)((function(n,i){void 0===i&&(i={}),r.current&&("number"===typeof n?t.go(n):(n=_(n,e),(i.replace?t.replace:t.push)(n,i.state)))}),[t,e])}function g(t){var e=Object(i.useContext)(u).pathname;return Object(i.useMemo)((function(){return _(t,e)}),[t,e])}function y(t,e){void 0===e&&(e="");var r=Object(i.useContext)(u),s=r.route,c=r.pathname,l=r.params;e=e?S([c,e]):c;var f=b();return(s=Object(i.useMemo)((function(){return function(t,e,r){if(void 0===r&&(r=""),"string"===typeof e&&(e=Object(n.f)(e)),e=e.pathname||"/",r){if(r=r.replace(/^\/*/,"/").replace(/\/+$/,""),!e.startsWith(r))return null;e=e===r?"/":e.slice(r.length)}!function(t){var e=t.reduce((function(t,e){return t[e=e[0]]=function(t){var e=(t=t.split("/")).length;return t.some(x)&&(e+=-2),t.filter((function(t){return!x(t)})).reduce((function(t,e){return t+(w.test(e)?2:""===e?1:10)}),e)}(e),t}),{});!function(t,e){var r=t.slice(0);t.sort((function(t,n){return e(t,n)||r.indexOf(t)-r.indexOf(n)}))}(t,(function(t,r){var n=t[2];t=e[t[0]];var i=r[2];return t!==(r=e[r[0]])?r-t:function(t,e){return t.length===e.length&&t.slice(0,-1).every((function(t,r){return t===e[r]}))?t[t.length-1]-e[e.length-1]:0}(n,i)}))}(t=function t(e,r,n,i,o){return void 0===r&&(r=[]),void 0===n&&(n=""),void 0===i&&(i=[]),void 0===o&&(o=[]),e.forEach((function(e,a){var s=S([n,e.path]),c=i.concat(e);a=o.concat(a),e.children&&t(e.children,r,s,c,a),r.push([s,c,a])})),r}(t));var i=null;for(r=0;null==i&&r<t.length;++r)t:{i=e;for(var s=t[r][1],c="/",u={},l=[],f=0;f<s.length;++f){var h=s[f],d="/"===c?i:i.slice(c.length)||"/";if(!(d=O({path:h.path,caseSensitive:h.caseSensitive,end:f===s.length-1},d))){i=null;break t}c=S([c,d.pathname]),u=o({},u,{},d.params),l.push({route:h,pathname:c,params:a(u)})}i=l}return i}(t,f,e)}),[f,t,e]))?s.reduceRight((function(t,r){var n=r.pathname,s=r.route;return Object(i.createElement)(u.Provider,{children:s.element,value:{outlet:t,params:a(o({},l,{},r.params)),pathname:S([e,n]),route:s}})}),null):null}var w=/^:\w+$/;function x(t){return"*"===t}function O(t,e){"string"===typeof t&&(t={path:t});var r=t;t=r.path;var n=r.caseSensitive;if(r=function(t,e,r){var n=[],i="^("+t.replace(/^\/*/,"/").replace(/\/?\*?$/,"").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(t,e){return n.push(e),"([^\\/]+)"}))+")";return t.endsWith("*")?(t.endsWith("/*")&&(i+="\\/?"),n.push("*"),i+="(.*)"):r&&(i+="\\/?"),r&&(i+="$"),[new RegExp(i,e?void 0:"i"),n]}(t,void 0!==n&&n,void 0===(r=r.end)||r),n=r[1],!(r=e.match(r[0])))return null;e=r[1];var i=r.slice(2);return n=n.reduce((function(t,e,r){r=i[r];try{var n=decodeURIComponent(r.replace(/\+/g," "))}catch(o){n=r}return t[e]=n,t}),{}),{path:t,pathname:e,params:n}}function _(t,e){void 0===e&&(e="/");var r="string"===typeof t?Object(n.f)(t):t;t=r.pathname;var i=r.search;return i=void 0===i?"":i,r=void 0===(r=r.hash)?"":r,{pathname:t?k(t,t.startsWith("/")?"/":e):e,search:i,hash:r}}function S(t){return t.join("/").replace(/\/\/+/g,"/")}function k(t,e){var r=e.replace(/\/+$/,"").replace(/\/\/+/g,"/").split("/");return t.replace(/\/\/+/g,"/").split("/").forEach((function(t){".."===t?1<r.length&&r.pop():"."!==t&&r.push(t)})),1<r.length?S(r):"/"}function E(t,e){void 0===e&&(e=!0),m()||s(!1);var r=Object(i.useContext)(c).navigator;Object(i.useEffect)((function(){if(e){var n=r.block((function(e){var r=o({},e,{retry:function(){n(),e.retry()}});t(r)}));return n}}),[r,t,e])}function M(t){m()||s(!1);var e=Object(i.useContext)(c).navigator;return t=g(t),e.createHref(t)}function C(){return Object(i.useContext)(u).params}},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(1),i=r(884),o=r(126);function a(t,e){return e&&"string"===typeof e?e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t):null}function s(t,e,r){var n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"===typeof t?t(r):Array.isArray(t)?t[r]||i:a(t,r)||i,e&&(n=e(n)),n}e.a=function(t){var e=t.prop,r=t.cssProperty,c=void 0===r?t.prop:r,u=t.themeKey,l=t.transform,f=function(t){if(null==t[e])return null;var r=t[e],f=a(t.theme,u)||{};return Object(o.b)(t,r,(function(t){var r=s(f,l,t);return t===r&&"string"===typeof t&&(r=s(f,l,"".concat(e).concat("default"===t?"":Object(i.a)(t)),t)),!1===c?r:Object(n.a)({},c,r)}))};return f.propTypes={},f.filterProps=[e],f}},function(t,e,r){"use strict";r.d(e,"c",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"b",(function(){return h}));var n=r(150),i=r.n(n),o=r(0);function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=["viewBox","children"],c=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],u=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],l=function(t,e,r){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var n=t;if(Object(o.isValidElement)(t)&&(n=t.props),!i()(n))return null;var a={};return Object.keys(n).forEach((function(t){(c.includes(t)||r&&s.includes(t)||e&&u.includes(t))&&(a[t]=n[t])})),a},f=function(t,e){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var r=t;if(Object(o.isValidElement)(t)&&(r=t.props),!i()(r))return null;var n={};return Object.keys(r).forEach((function(t){u.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},h=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach((function(i){var o=t[i];u.includes(i)&&"function"===typeof o&&(n||(n={}),n[i]=function(t,e,r){return function(n){return t(e,r,n),null}}(o,e,r))})),n}},,function(t,e,r){var n=r(263),i=r(150);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}r.d(e,"a",(function(){return i}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return nr}));var n=r(0),i=r(259),o=r.n(i),a=function(t){return function(t){return!!t&&"object"===typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===s}(t)}(t)};var s="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?l((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function u(t,e,r){return t.concat(e).map((function(t){return c(t,r)}))}function l(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||u,r.isMergeableObject=r.isMergeableObject||a;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):function(t,e,r){var n={};return r.isMergeableObject(t)&&Object.keys(t).forEach((function(e){n[e]=c(t[e],r)})),Object.keys(e).forEach((function(i){r.isMergeableObject(e[i])&&t[i]?n[i]=l(t[i],e[i],r):n[i]=c(e[i],r)})),n}(t,e,r):c(e,r)}l.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return l(t,r,e)}),{})};var f=l,h=r(160),d=r(510),p=Object(d.a)(Object.getPrototypeOf,Object),m=r(153),b=Function.prototype,v=Object.prototype,g=b.toString,y=v.hasOwnProperty,w=g.call(Object);var x=function(t){if(!Object(m.a)(t)||"[object Object]"!=Object(h.a)(t))return!1;var e=p(t);if(null===e)return!0;var r=y.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&g.call(r)==w};var O=function(){this.__data__=[],this.size=0};var _=function(t,e){return t===e||t!==t&&e!==e};var S=function(t,e){for(var r=t.length;r--;)if(_(t[r][0],e))return r;return-1},k=Array.prototype.splice;var E=function(t){var e=this.__data__,r=S(e,t);return!(r<0)&&(r==e.length-1?e.pop():k.call(e,r,1),--this.size,!0)};var M=function(t){var e=this.__data__,r=S(e,t);return r<0?void 0:e[r][1]};var C=function(t){return S(this.__data__,t)>-1};var j=function(t,e){var r=this.__data__,n=S(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function A(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}A.prototype.clear=O,A.prototype.delete=E,A.prototype.get=M,A.prototype.has=C,A.prototype.set=j;var T=A;var P=function(){this.__data__=new T,this.size=0};var D=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};var R=function(t){return this.__data__.get(t)};var L=function(t){return this.__data__.has(t)},I=r(295),N=r(172),F=Object(N.a)(Object,"create");var B=function(){this.__data__=F?F(null):{},this.size=0};var z=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},H=Object.prototype.hasOwnProperty;var U=function(t){var e=this.__data__;if(F){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return H.call(e,t)?e[t]:void 0},W=Object.prototype.hasOwnProperty;var q=function(t){var e=this.__data__;return F?void 0!==e[t]:W.call(e,t)};var V=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=F&&void 0===e?"__lodash_hash_undefined__":e,this};function G(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}G.prototype.clear=B,G.prototype.delete=z,G.prototype.get=U,G.prototype.has=q,G.prototype.set=V;var Y=G;var X=function(){this.size=0,this.__data__={hash:new Y,map:new(I.a||T),string:new Y}};var $=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var K=function(t,e){var r=t.__data__;return $(e)?r["string"==typeof e?"string":"hash"]:r.map};var Z=function(t){var e=K(this,t).delete(t);return this.size-=e?1:0,e};var J=function(t){return K(this,t).get(t)};var Q=function(t){return K(this,t).has(t)};var tt=function(t,e){var r=K(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function et(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}et.prototype.clear=X,et.prototype.delete=Z,et.prototype.get=J,et.prototype.has=Q,et.prototype.set=tt;var rt=et;var nt=function(t,e){var r=this.__data__;if(r instanceof T){var n=r.__data__;if(!I.a||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new rt(n)}return r.set(t,e),this.size=r.size,this};function it(t){var e=this.__data__=new T(t);this.size=e.size}it.prototype.clear=P,it.prototype.delete=D,it.prototype.get=R,it.prototype.has=L,it.prototype.set=nt;var ot=it;var at=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t},st=function(){try{var t=Object(N.a)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();var ct=function(t,e,r){"__proto__"==e&&st?st(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},ut=Object.prototype.hasOwnProperty;var lt=function(t,e,r){var n=t[e];ut.call(t,e)&&_(n,r)&&(void 0!==r||e in t)||ct(t,e,r)};var ft=function(t,e,r,n){var i=!r;r||(r={});for(var o=-1,a=e.length;++o<a;){var s=e[o],c=n?n(r[s],t[s],s,r,t):void 0;void 0===c&&(c=t[s]),i?ct(r,s,c):lt(r,s,c)}return r},ht=r(512),dt=r(550),pt=r(167),mt=r(360),bt=/^(?:0|[1-9]\d*)$/;var vt=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&bt.test(t))&&t>-1&&t%1==0&&t<e},gt=r(551),yt=Object.prototype.hasOwnProperty;var wt=function(t,e){var r=Object(pt.default)(t),n=!r&&Object(dt.a)(t),i=!r&&!n&&Object(mt.a)(t),o=!r&&!n&&!i&&Object(gt.a)(t),a=r||n||i||o,s=a?Object(ht.a)(t.length,String):[],c=s.length;for(var u in t)!e&&!yt.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||vt(u,c))||s.push(u);return s},xt=r(549),Ot=r(361);var _t=function(t){return Object(Ot.a)(t)?wt(t):Object(xt.a)(t)};var St=function(t,e){return t&&ft(e,_t(e),t)},kt=r(184),Et=r(279);var Mt=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e},Ct=Object.prototype.hasOwnProperty;var jt=function(t){if(!Object(kt.a)(t))return Mt(t);var e=Object(Et.a)(t),r=[];for(var n in t)("constructor"!=n||!e&&Ct.call(t,n))&&r.push(n);return r};var At=function(t){return Object(Ot.a)(t)?wt(t,!0):jt(t)};var Tt=function(t,e){return t&&ft(e,At(e),t)},Pt=r(815);var Dt=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};var Rt=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o};var Lt=function(){return[]},It=Object.prototype.propertyIsEnumerable,Nt=Object.getOwnPropertySymbols,Ft=Nt?function(t){return null==t?[]:(t=Object(t),Rt(Nt(t),(function(e){return It.call(t,e)})))}:Lt;var Bt=function(t,e){return ft(t,Ft(t),e)};var zt=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t},Ht=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)zt(e,Ft(t)),t=p(t);return e}:Lt;var Ut=function(t,e){return ft(t,Ht(t),e)};var Wt=function(t,e,r){var n=e(t);return Object(pt.default)(t)?n:zt(n,r(t))};var qt=function(t){return Wt(t,_t,Ft)};var Vt=function(t){return Wt(t,At,Ht)},Gt=r(293),Yt=Object.prototype.hasOwnProperty;var Xt=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&Yt.call(t,"index")&&(r.index=t.index,r.input=t.input),r},$t=r(136).a.Uint8Array;var Kt=function(t){var e=new t.constructor(t.byteLength);return new $t(e).set(new $t(t)),e};var Zt=function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)},Jt=/\w*$/;var Qt=function(t){var e=new t.constructor(t.source,Jt.exec(t));return e.lastIndex=t.lastIndex,e},te=r(198),ee=te.a?te.a.prototype:void 0,re=ee?ee.valueOf:void 0;var ne=function(t){return re?Object(re.call(t)):{}};var ie=function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};var oe=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Kt(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Zt(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ie(t,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Qt(t);case"[object Set]":return new n;case"[object Symbol]":return ne(t)}},ae=Object.create,se=function(){function t(){}return function(e){if(!Object(kt.a)(e))return{};if(ae)return ae(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var ce=function(t){return"function"!=typeof t.constructor||Object(Et.a)(t)?{}:se(p(t))};var ue=function(t){return Object(m.a)(t)&&"[object Map]"==Object(Gt.a)(t)},le=r(362),fe=r(255),he=fe.a&&fe.a.isMap,de=he?Object(le.a)(he):ue;var pe=function(t){return Object(m.a)(t)&&"[object Set]"==Object(Gt.a)(t)},me=fe.a&&fe.a.isSet,be=me?Object(le.a)(me):pe,ve={};ve["[object Arguments]"]=ve["[object Array]"]=ve["[object ArrayBuffer]"]=ve["[object DataView]"]=ve["[object Boolean]"]=ve["[object Date]"]=ve["[object Float32Array]"]=ve["[object Float64Array]"]=ve["[object Int8Array]"]=ve["[object Int16Array]"]=ve["[object Int32Array]"]=ve["[object Map]"]=ve["[object Number]"]=ve["[object Object]"]=ve["[object RegExp]"]=ve["[object Set]"]=ve["[object String]"]=ve["[object Symbol]"]=ve["[object Uint8Array]"]=ve["[object Uint8ClampedArray]"]=ve["[object Uint16Array]"]=ve["[object Uint32Array]"]=!0,ve["[object Error]"]=ve["[object Function]"]=ve["[object WeakMap]"]=!1;var ge=function t(e,r,n,i,o,a){var s,c=1&r,u=2&r,l=4&r;if(n&&(s=o?n(e,i,o,a):n(e)),void 0!==s)return s;if(!Object(kt.a)(e))return e;var f=Object(pt.default)(e);if(f){if(s=Xt(e),!c)return Dt(e,s)}else{var h=Object(Gt.a)(e),d="[object Function]"==h||"[object GeneratorFunction]"==h;if(Object(mt.a)(e))return Object(Pt.a)(e,c);if("[object Object]"==h||"[object Arguments]"==h||d&&!o){if(s=u||d?{}:ce(e),!c)return u?Ut(e,Tt(s,e)):Bt(e,St(s,e))}else{if(!ve[h])return o?e:{};s=oe(e,h,c)}}a||(a=new ot);var p=a.get(e);if(p)return p;a.set(e,s),be(e)?e.forEach((function(i){s.add(t(i,r,n,i,e,a))})):de(e)&&e.forEach((function(i,o){s.set(o,t(i,r,n,o,e,a))}));var m=f?void 0:(l?u?Vt:qt:u?At:_t)(e);return at(m||e,(function(i,o){m&&(i=e[o=i]),lt(s,o,t(i,r,n,o,e,a))})),s};var ye=function(t){return ge(t,4)};var we=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i},xe=r(278);function Oe(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Oe.Cache||rt),r}Oe.Cache=rt;var _e=Oe;var Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ke=/\\(\\)?/g,Ee=function(t){var e=_e(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Se,(function(t,r,n,i){e.push(n?i.replace(ke,"$1"):r||t)})),e}));var Me=function(t){if("string"==typeof t||Object(xe.a)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},Ce=te.a?te.a.prototype:void 0,je=Ce?Ce.toString:void 0;var Ae=function t(e){if("string"==typeof e)return e;if(Object(pt.default)(e))return we(e,t)+"";if(Object(xe.a)(e))return je?je.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};var Te=function(t){return null==t?"":Ae(t)};var Pe=function(t){return Object(pt.default)(t)?we(t,Me):Object(xe.a)(t)?[t]:Dt(Ee(Te(t)))},De=r(176),Re=r(183),Le=r.n(Re);var Ie=function(t){return ge(t,5)};function Ne(){return(Ne=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Fe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Be(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}function ze(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var He=function(t){return Array.isArray(t)&&0===t.length},Ue=function(t){return"function"===typeof t},We=function(t){return null!==t&&"object"===typeof t},qe=function(t){return String(Math.floor(Number(t)))===t},Ve=function(t){return"[object String]"===Object.prototype.toString.call(t)},Ge=function(t){return 0===n.Children.count(t)},Ye=function(t){return We(t)&&Ue(t.then)};function Xe(t,e,r,n){void 0===n&&(n=0);for(var i=Pe(e);t&&n<i.length;)t=t[i[n++]];return void 0===t?r:t}function $e(t,e,r){for(var n=ye(t),i=n,o=0,a=Pe(e);o<a.length-1;o++){var s=a[o],c=Xe(t,a.slice(0,o+1));if(c&&(We(c)||Array.isArray(c)))i=i[s]=ye(c);else{var u=a[o+1];i=i[s]=qe(u)&&Number(u)>=0?[]:{}}}return(0===o?t:i)[a[o]]===r?t:(void 0===r?delete i[a[o]]:i[a[o]]=r,0===o&&void 0===r&&delete n[a[o]],n)}function Ke(t,e,r,n){void 0===r&&(r=new WeakMap),void 0===n&&(n={});for(var i=0,o=Object.keys(t);i<o.length;i++){var a=o[i],s=t[a];We(s)?r.get(s)||(r.set(s,!0),n[a]=Array.isArray(s)?[]:{},Ke(s,e,r,n[a])):n[a]=e}return n}var Ze=Object(n.createContext)(void 0);Ze.displayName="FormikContext";Ze.Provider;var Je=Ze.Consumer;function Qe(){var t=Object(n.useContext)(Ze);return t||Object(De.a)(!1),t}function tr(t,e){switch(e.type){case"SET_VALUES":return Ne({},t,{values:e.payload});case"SET_TOUCHED":return Ne({},t,{touched:e.payload});case"SET_ERRORS":return o()(t.errors,e.payload)?t:Ne({},t,{errors:e.payload});case"SET_STATUS":return Ne({},t,{status:e.payload});case"SET_ISSUBMITTING":return Ne({},t,{isSubmitting:e.payload});case"SET_ISVALIDATING":return Ne({},t,{isValidating:e.payload});case"SET_FIELD_VALUE":return Ne({},t,{values:$e(t.values,e.payload.field,e.payload.value)});case"SET_FIELD_TOUCHED":return Ne({},t,{touched:$e(t.touched,e.payload.field,e.payload.value)});case"SET_FIELD_ERROR":return Ne({},t,{errors:$e(t.errors,e.payload.field,e.payload.value)});case"RESET_FORM":return Ne({},t,e.payload);case"SET_FORMIK_STATE":return e.payload(t);case"SUBMIT_ATTEMPT":return Ne({},t,{touched:Ke(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Ne({},t,{isSubmitting:!1});default:return t}}var er={},rr={};function nr(t){var e=t.validateOnChange,r=void 0===e||e,i=t.validateOnBlur,a=void 0===i||i,s=t.validateOnMount,c=void 0!==s&&s,u=t.isInitialValid,l=t.enableReinitialize,h=void 0!==l&&l,d=t.onSubmit,p=Be(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=Ne({validateOnChange:r,validateOnBlur:a,validateOnMount:c,onSubmit:d},p),b=Object(n.useRef)(m.initialValues),v=Object(n.useRef)(m.initialErrors||er),g=Object(n.useRef)(m.initialTouched||rr),y=Object(n.useRef)(m.initialStatus),w=Object(n.useRef)(!1),O=Object(n.useRef)({});Object(n.useEffect)((function(){return w.current=!0,function(){w.current=!1}}),[]);var _=Object(n.useReducer)(tr,{values:m.initialValues,errors:m.initialErrors||er,touched:m.initialTouched||rr,status:m.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),S=_[0],k=_[1],E=Object(n.useCallback)((function(t,e){return new Promise((function(r,n){var i=m.validate(t,e);null==i?r(er):Ye(i)?i.then((function(t){r(t||er)}),(function(t){n(t)})):r(i)}))}),[m.validate]),M=Object(n.useCallback)((function(t,e){var r=m.validationSchema,n=Ue(r)?r(e):r,i=e&&n.validateAt?n.validateAt(e,t):function(t,e,r,n){void 0===r&&(r=!1);void 0===n&&(n={});var i=function t(e){var r=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=String(n);!0===Array.isArray(e[i])?r[i]=e[i].map((function(e){return!0===Array.isArray(e)||x(e)?t(e):""!==e?e:void 0})):x(e[i])?r[i]=t(e[i]):r[i]=""!==e[i]?e[i]:void 0}return r}(t);return e[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}(t,n);return new Promise((function(t,e){i.then((function(){t(er)}),(function(r){"ValidationError"===r.name?t(function(t){var e={};if(t.inner){if(0===t.inner.length)return $e(e,t.path,t.message);var r=t.inner,n=Array.isArray(r),i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var a=o;Xe(e,a.path)||(e=$e(e,a.path,a.message))}}return e}(r)):e(r)}))}))}),[m.validationSchema]),C=Object(n.useCallback)((function(t,e){return new Promise((function(r){return r(O.current[t].validate(e))}))}),[]),j=Object(n.useCallback)((function(t){var e=Object.keys(O.current).filter((function(t){return Ue(O.current[t].validate)})),r=e.length>0?e.map((function(e){return C(e,Xe(t,e))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(r).then((function(t){return t.reduce((function(t,r,n){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(t=$e(t,e[n],r)),t}),{})}))}),[C]),A=Object(n.useCallback)((function(t){return Promise.all([j(t),m.validationSchema?M(t):{},m.validate?E(t):{}]).then((function(t){var e=t[0],r=t[1],n=t[2];return f.all([e,r,n],{arrayMerge:ir})}))}),[m.validate,m.validationSchema,j,E,M]),T=ar((function(t){return void 0===t&&(t=S.values),k({type:"SET_ISVALIDATING",payload:!0}),A(t).then((function(t){return w.current&&(k({type:"SET_ISVALIDATING",payload:!1}),k({type:"SET_ERRORS",payload:t})),t}))}));Object(n.useEffect)((function(){c&&!0===w.current&&o()(b.current,m.initialValues)&&T(b.current)}),[c,T]);var P=Object(n.useCallback)((function(t){var e=t&&t.values?t.values:b.current,r=t&&t.errors?t.errors:v.current?v.current:m.initialErrors||{},n=t&&t.touched?t.touched:g.current?g.current:m.initialTouched||{},i=t&&t.status?t.status:y.current?y.current:m.initialStatus;b.current=e,v.current=r,g.current=n,y.current=i;var o=function(){k({type:"RESET_FORM",payload:{isSubmitting:!!t&&!!t.isSubmitting,errors:r,touched:n,status:i,values:e,isValidating:!!t&&!!t.isValidating,submitCount:t&&t.submitCount&&"number"===typeof t.submitCount?t.submitCount:0}})};if(m.onReset){var a=m.onReset(S.values,Z);Ye(a)?a.then(o):o()}else o()}),[m.initialErrors,m.initialStatus,m.initialTouched]);Object(n.useEffect)((function(){!0!==w.current||o()(b.current,m.initialValues)||(h&&(b.current=m.initialValues,P()),c&&T(b.current))}),[h,m.initialValues,P,c,T]),Object(n.useEffect)((function(){h&&!0===w.current&&!o()(v.current,m.initialErrors)&&(v.current=m.initialErrors||er,k({type:"SET_ERRORS",payload:m.initialErrors||er}))}),[h,m.initialErrors]),Object(n.useEffect)((function(){h&&!0===w.current&&!o()(g.current,m.initialTouched)&&(g.current=m.initialTouched||rr,k({type:"SET_TOUCHED",payload:m.initialTouched||rr}))}),[h,m.initialTouched]),Object(n.useEffect)((function(){h&&!0===w.current&&!o()(y.current,m.initialStatus)&&(y.current=m.initialStatus,k({type:"SET_STATUS",payload:m.initialStatus}))}),[h,m.initialStatus,m.initialTouched]);var D=ar((function(t){if(O.current[t]&&Ue(O.current[t].validate)){var e=Xe(S.values,t),r=O.current[t].validate(e);return Ye(r)?(k({type:"SET_ISVALIDATING",payload:!0}),r.then((function(t){return t})).then((function(e){k({type:"SET_FIELD_ERROR",payload:{field:t,value:e}}),k({type:"SET_ISVALIDATING",payload:!1})}))):(k({type:"SET_FIELD_ERROR",payload:{field:t,value:r}}),Promise.resolve(r))}return m.validationSchema?(k({type:"SET_ISVALIDATING",payload:!0}),M(S.values,t).then((function(t){return t})).then((function(e){k({type:"SET_FIELD_ERROR",payload:{field:t,value:e[t]}}),k({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),R=Object(n.useCallback)((function(t,e){var r=e.validate;O.current[t]={validate:r}}),[]),L=Object(n.useCallback)((function(t){delete O.current[t]}),[]),I=ar((function(t,e){return k({type:"SET_TOUCHED",payload:t}),(void 0===e?a:e)?T(S.values):Promise.resolve()})),N=Object(n.useCallback)((function(t){k({type:"SET_ERRORS",payload:t})}),[]),F=ar((function(t,e){var n=Ue(t)?t(S.values):t;return k({type:"SET_VALUES",payload:n}),(void 0===e?r:e)?T(n):Promise.resolve()})),B=Object(n.useCallback)((function(t,e){k({type:"SET_FIELD_ERROR",payload:{field:t,value:e}})}),[]),z=ar((function(t,e,n){return k({type:"SET_FIELD_VALUE",payload:{field:t,value:e}}),(void 0===n?r:n)?T($e(S.values,t,e)):Promise.resolve()})),H=Object(n.useCallback)((function(t,e){var r,n=e,i=t;if(!Ve(t)){t.persist&&t.persist();var o=t.target?t.target:t.currentTarget,a=o.type,s=o.name,c=o.id,u=o.value,l=o.checked,f=(o.outerHTML,o.options),h=o.multiple;n=e||(s||c),i=/number|range/.test(a)?(r=parseFloat(u),isNaN(r)?"":r):/checkbox/.test(a)?function(t,e,r){if("boolean"===typeof t)return Boolean(e);var n=[],i=!1,o=-1;if(Array.isArray(t))n=t,o=t.indexOf(r),i=o>=0;else if(!r||"true"==r||"false"==r)return Boolean(e);if(e&&r&&!i)return n.concat(r);if(!i)return n;return n.slice(0,o).concat(n.slice(o+1))}(Xe(S.values,n),l,u):f&&h?function(t){return Array.from(t).filter((function(t){return t.selected})).map((function(t){return t.value}))}(f):u}n&&z(n,i)}),[z,S.values]),U=ar((function(t){if(Ve(t))return function(e){return H(e,t)};H(t)})),W=ar((function(t,e,r){return void 0===e&&(e=!0),k({type:"SET_FIELD_TOUCHED",payload:{field:t,value:e}}),(void 0===r?a:r)?T(S.values):Promise.resolve()})),q=Object(n.useCallback)((function(t,e){t.persist&&t.persist();var r=t.target,n=r.name,i=r.id,o=(r.outerHTML,e||(n||i));W(o,!0)}),[W]),V=ar((function(t){if(Ve(t))return function(e){return q(e,t)};q(t)})),G=Object(n.useCallback)((function(t){Ue(t)?k({type:"SET_FORMIK_STATE",payload:t}):k({type:"SET_FORMIK_STATE",payload:function(){return t}})}),[]),Y=Object(n.useCallback)((function(t){k({type:"SET_STATUS",payload:t})}),[]),X=Object(n.useCallback)((function(t){k({type:"SET_ISSUBMITTING",payload:t})}),[]),$=ar((function(){return k({type:"SUBMIT_ATTEMPT"}),T().then((function(t){var e=t instanceof Error;if(!e&&0===Object.keys(t).length){var r;try{if(void 0===(r=J()))return}catch(n){throw n}return Promise.resolve(r).then((function(t){return w.current&&k({type:"SUBMIT_SUCCESS"}),t})).catch((function(t){if(w.current)throw k({type:"SUBMIT_FAILURE"}),t}))}if(w.current&&(k({type:"SUBMIT_FAILURE"}),e))throw t}))})),K=ar((function(t){t&&t.preventDefault&&Ue(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&Ue(t.stopPropagation)&&t.stopPropagation(),$().catch((function(t){console.warn("Warning: An unhandled error was caught from submitForm()",t)}))})),Z={resetForm:P,validateForm:T,validateField:D,setErrors:N,setFieldError:B,setFieldTouched:W,setFieldValue:z,setStatus:Y,setSubmitting:X,setTouched:I,setValues:F,setFormikState:G,submitForm:$},J=ar((function(){return d(S.values,Z)})),Q=ar((function(t){t&&t.preventDefault&&Ue(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&Ue(t.stopPropagation)&&t.stopPropagation(),P()})),tt=Object(n.useCallback)((function(t){return{value:Xe(S.values,t),error:Xe(S.errors,t),touched:!!Xe(S.touched,t),initialValue:Xe(b.current,t),initialTouched:!!Xe(g.current,t),initialError:Xe(v.current,t)}}),[S.errors,S.touched,S.values]),et=Object(n.useCallback)((function(t){return{setValue:function(e,r){return z(t,e,r)},setTouched:function(e,r){return W(t,e,r)},setError:function(e){return B(t,e)}}}),[z,W,B]),rt=Object(n.useCallback)((function(t){var e=We(t),r=e?t.name:t,n=Xe(S.values,r),i={name:r,value:n,onChange:U,onBlur:V};if(e){var o=t.type,a=t.value,s=t.as,c=t.multiple;"checkbox"===o?void 0===a?i.checked=!!n:(i.checked=!(!Array.isArray(n)||!~n.indexOf(a)),i.value=a):"radio"===o?(i.checked=n===a,i.value=a):"select"===s&&c&&(i.value=i.value||[],i.multiple=!0)}return i}),[V,U,S.values]),nt=Object(n.useMemo)((function(){return!o()(b.current,S.values)}),[b.current,S.values]),it=Object(n.useMemo)((function(){return"undefined"!==typeof u?nt?S.errors&&0===Object.keys(S.errors).length:!1!==u&&Ue(u)?u(m):u:S.errors&&0===Object.keys(S.errors).length}),[u,nt,S.errors,m]);return Ne({},S,{initialValues:b.current,initialErrors:v.current,initialTouched:g.current,initialStatus:y.current,handleBlur:V,handleChange:U,handleReset:Q,handleSubmit:K,resetForm:P,setErrors:N,setFormikState:G,setFieldTouched:W,setFieldValue:z,setFieldError:B,setStatus:Y,setSubmitting:X,setTouched:I,setValues:F,submitForm:$,validateForm:T,validateField:D,isValid:it,dirty:nt,unregisterField:L,registerField:R,getFieldProps:rt,getFieldMeta:tt,getFieldHelpers:et,validateOnBlur:a,validateOnChange:r,validateOnMount:c})}function ir(t,e,r){var n=t.slice();return e.forEach((function(e,i){if("undefined"===typeof n[i]){var o=!1!==r.clone&&r.isMergeableObject(e);n[i]=o?f(Array.isArray(e)?[]:{},e,r):e}else r.isMergeableObject(e)?n[i]=f(t[i],e,r):-1===t.indexOf(e)&&n.push(e)})),n}var or="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect;function ar(t){var e=Object(n.useRef)(t);return or((function(){e.current=t})),Object(n.useCallback)((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.current.apply(void 0,r)}),[])}function sr(t){var e=function(e){return Object(n.createElement)(Je,null,(function(r){return r||Object(De.a)(!1),Object(n.createElement)(t,Object.assign({},e,{formik:r}))}))},r=t.displayName||t.name||t.constructor&&t.constructor.name||"Component";return e.WrappedComponent=t,e.displayName="FormikConnect("+r+")",Le()(e,t)}Object(n.forwardRef)((function(t,e){var r=t.action,i=Be(t,["action"]),o=null!=r?r:"#",a=Qe(),s=a.handleReset,c=a.handleSubmit;return Object(n.createElement)("form",Object.assign({onSubmit:c,ref:e,onReset:s,action:o},i))})).displayName="Form";var cr=function(t,e,r){var n=ur(t);return n.splice(e,0,r),n},ur=function(t){if(t){if(Array.isArray(t))return[].concat(t);var e=Object.keys(t).map((function(t){return parseInt(t)})).reduce((function(t,e){return e>t?e:t}),0);return Array.from(Ne({},t,{length:e+1}))}return[]},lr=function(t){function e(e){var r;return(r=t.call(this,e)||this).updateArrayField=function(t,e,n){var i=r.props,o=i.name;(0,i.formik.setFormikState)((function(r){var i="function"===typeof n?n:t,a="function"===typeof e?e:t,s=$e(r.values,o,t(Xe(r.values,o))),c=n?i(Xe(r.errors,o)):void 0,u=e?a(Xe(r.touched,o)):void 0;return He(c)&&(c=void 0),He(u)&&(u=void 0),Ne({},r,{values:s,errors:n?$e(r.errors,o,c):r.errors,touched:e?$e(r.touched,o,u):r.touched})}))},r.push=function(t){return r.updateArrayField((function(e){return[].concat(ur(e),[Ie(t)])}),!1,!1)},r.handlePush=function(t){return function(){return r.push(t)}},r.swap=function(t,e){return r.updateArrayField((function(r){return function(t,e,r){var n=ur(t),i=n[e];return n[e]=n[r],n[r]=i,n}(r,t,e)}),!0,!0)},r.handleSwap=function(t,e){return function(){return r.swap(t,e)}},r.move=function(t,e){return r.updateArrayField((function(r){return function(t,e,r){var n=ur(t),i=n[e];return n.splice(e,1),n.splice(r,0,i),n}(r,t,e)}),!0,!0)},r.handleMove=function(t,e){return function(){return r.move(t,e)}},r.insert=function(t,e){return r.updateArrayField((function(r){return cr(r,t,e)}),(function(e){return cr(e,t,null)}),(function(e){return cr(e,t,null)}))},r.handleInsert=function(t,e){return function(){return r.insert(t,e)}},r.replace=function(t,e){return r.updateArrayField((function(r){return function(t,e,r){var n=ur(t);return n[e]=r,n}(r,t,e)}),!1,!1)},r.handleReplace=function(t,e){return function(){return r.replace(t,e)}},r.unshift=function(t){var e=-1;return r.updateArrayField((function(r){var n=r?[t].concat(r):[t];return e<0&&(e=n.length),n}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r})),e},r.handleUnshift=function(t){return function(){return r.unshift(t)}},r.handleRemove=function(t){return function(){return r.remove(t)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(ze(r)),r.pop=r.pop.bind(ze(r)),r}Fe(e,t);var r=e.prototype;return r.componentDidUpdate=function(t){this.props.validateOnChange&&this.props.formik.validateOnChange&&!o()(Xe(t.formik.values,t.name),Xe(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(t){var e;return this.updateArrayField((function(r){var n=r?ur(r):[];return e||(e=n[t]),Ue(n.splice)&&n.splice(t,1),n}),!0,!0),e},r.pop=function(){var t;return this.updateArrayField((function(e){var r=e;return t||(t=r&&r.pop&&r.pop()),r}),!0,!0),t},r.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},e=this.props,r=e.component,i=e.render,o=e.children,a=e.name,s=Ne({},t,{form:Be(e.formik,["validate","validationSchema"]),name:a});return r?Object(n.createElement)(r,s):i?i(s):o?"function"===typeof o?o(s):Ge(o)?null:n.Children.only(o):null},e}(n.Component);lr.defaultProps={validateOnChange:!0};n.Component,n.Component},,function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(2),i=r(0),o=r(893),a=r(6);function s(t,e){var r=function(r,i){return Object(a.jsx)(o.a,Object(n.a)({"data-testid":"".concat(e,"Icon"),ref:i},r,{children:t}))};return r.muiName=o.a.muiName,i.memo(i.forwardRef(r))}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";r.r(e),function(t){r.d(e,"AcroForm",(function(){return Mt})),r.d(e,"AcroFormAppearance",(function(){return kt})),r.d(e,"AcroFormButton",(function(){return gt})),r.d(e,"AcroFormCheckBox",(function(){return Ot})),r.d(e,"AcroFormChoiceField",(function(){return pt})),r.d(e,"AcroFormComboBox",(function(){return bt})),r.d(e,"AcroFormEditBox",(function(){return vt})),r.d(e,"AcroFormListBox",(function(){return mt})),r.d(e,"AcroFormPasswordField",(function(){return St})),r.d(e,"AcroFormPushButton",(function(){return yt})),r.d(e,"AcroFormRadioButton",(function(){return wt})),r.d(e,"AcroFormTextField",(function(){return _t})),r.d(e,"GState",(function(){return L})),r.d(e,"ShadingPattern",(function(){return N})),r.d(e,"TilingPattern",(function(){return F})),r.d(e,"jsPDF",(function(){return B}));var n=r(101),i=r.n(n),o=r(436),a=function(){return"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:this}();function s(){a.console&&"function"==typeof a.console.log&&a.console.log.apply(a.console,arguments)}var c={log:s,warn:function(t){a.console&&("function"==typeof a.console.warn?a.console.warn.apply(a.console,arguments):s.call(null,arguments))},error:function(t){a.console&&("function"==typeof a.console.error?a.console.error.apply(a.console,arguments):s(t))}};function u(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){p(n.response,e,r)},n.onerror=function(){c.error("could not download file")},n.send()}function l(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function f(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var h,d,p=a.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==a?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,e,r){var n=a.URL||a.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener","string"==typeof t?(i.href=t,i.origin!==location.origin?l(i.href)?u(t,e,r):f(i,i.target="_blank"):f(i)):(i.href=n.createObjectURL(t),setTimeout((function(){n.revokeObjectURL(i.href)}),4e4),setTimeout((function(){f(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download","string"==typeof t)if(l(t))u(t,e,r);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout((function(){f(n)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!==i()(e)&&(c.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,r),e)}:function(t,e,r,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof t)return u(t,e,r);var o="application/octet-stream"===t.type,s=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||o&&s)&&"object"===("undefined"==typeof FileReader?"undefined":i()(FileReader))){var l=new FileReader;l.onloadend=function(){var t=l.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=t:location=t,n=null},l.readAsDataURL(t)}else{var f=a.URL||a.webkitURL,h=f.createObjectURL(t);n?n.location=h:location.href=h,n=null,setTimeout((function(){f.revokeObjectURL(h)}),4e4)}});function m(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,o=r[n].process,a=i.exec(t);a&&(e=o(a),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}function b(t,e){var r=t[0],n=t[1],i=t[2],o=t[3];r=g(r,n,i,o,e[0],7,-680876936),o=g(o,r,n,i,e[1],12,-389564586),i=g(i,o,r,n,e[2],17,606105819),n=g(n,i,o,r,e[3],22,-1044525330),r=g(r,n,i,o,e[4],7,-176418897),o=g(o,r,n,i,e[5],12,1200080426),i=g(i,o,r,n,e[6],17,-1473231341),n=g(n,i,o,r,e[7],22,-45705983),r=g(r,n,i,o,e[8],7,1770035416),o=g(o,r,n,i,e[9],12,-1958414417),i=g(i,o,r,n,e[10],17,-42063),n=g(n,i,o,r,e[11],22,-1990404162),r=g(r,n,i,o,e[12],7,1804603682),o=g(o,r,n,i,e[13],12,-40341101),i=g(i,o,r,n,e[14],17,-1502002290),r=y(r,n=g(n,i,o,r,e[15],22,1236535329),i,o,e[1],5,-165796510),o=y(o,r,n,i,e[6],9,-1069501632),i=y(i,o,r,n,e[11],14,643717713),n=y(n,i,o,r,e[0],20,-373897302),r=y(r,n,i,o,e[5],5,-701558691),o=y(o,r,n,i,e[10],9,38016083),i=y(i,o,r,n,e[15],14,-660478335),n=y(n,i,o,r,e[4],20,-405537848),r=y(r,n,i,o,e[9],5,568446438),o=y(o,r,n,i,e[14],9,-1019803690),i=y(i,o,r,n,e[3],14,-187363961),n=y(n,i,o,r,e[8],20,1163531501),r=y(r,n,i,o,e[13],5,-1444681467),o=y(o,r,n,i,e[2],9,-51403784),i=y(i,o,r,n,e[7],14,1735328473),r=w(r,n=y(n,i,o,r,e[12],20,-1926607734),i,o,e[5],4,-378558),o=w(o,r,n,i,e[8],11,-2022574463),i=w(i,o,r,n,e[11],16,1839030562),n=w(n,i,o,r,e[14],23,-35309556),r=w(r,n,i,o,e[1],4,-1530992060),o=w(o,r,n,i,e[4],11,1272893353),i=w(i,o,r,n,e[7],16,-155497632),n=w(n,i,o,r,e[10],23,-1094730640),r=w(r,n,i,o,e[13],4,681279174),o=w(o,r,n,i,e[0],11,-358537222),i=w(i,o,r,n,e[3],16,-722521979),n=w(n,i,o,r,e[6],23,76029189),r=w(r,n,i,o,e[9],4,-640364487),o=w(o,r,n,i,e[12],11,-421815835),i=w(i,o,r,n,e[15],16,530742520),r=x(r,n=w(n,i,o,r,e[2],23,-995338651),i,o,e[0],6,-198630844),o=x(o,r,n,i,e[7],10,1126891415),i=x(i,o,r,n,e[14],15,-1416354905),n=x(n,i,o,r,e[5],21,-57434055),r=x(r,n,i,o,e[12],6,1700485571),o=x(o,r,n,i,e[3],10,-1894986606),i=x(i,o,r,n,e[10],15,-1051523),n=x(n,i,o,r,e[1],21,-2054922799),r=x(r,n,i,o,e[8],6,1873313359),o=x(o,r,n,i,e[15],10,-30611744),i=x(i,o,r,n,e[6],15,-1560198380),n=x(n,i,o,r,e[13],21,1309151649),r=x(r,n,i,o,e[4],6,-145523070),o=x(o,r,n,i,e[11],10,-1120210379),i=x(i,o,r,n,e[2],15,718787259),n=x(n,i,o,r,e[9],21,-343485551),t[0]=j(r,t[0]),t[1]=j(n,t[1]),t[2]=j(i,t[2]),t[3]=j(o,t[3])}function v(t,e,r,n,i,o){return e=j(j(e,t),j(n,o)),j(e<<i|e>>>32-i,r)}function g(t,e,r,n,i,o,a){return v(e&r|~e&n,t,e,i,o,a)}function y(t,e,r,n,i,o,a){return v(e&n|r&~n,t,e,i,o,a)}function w(t,e,r,n,i,o,a){return v(e^r^n,t,e,i,o,a)}function x(t,e,r,n,i,o,a){return v(r^(e|~n),t,e,i,o,a)}function O(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)b(n,_(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(b(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,b(n,i),n}function _(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}h=a.atob.bind(a),d=a.btoa.bind(a);var S="0123456789abcdef".split("");function k(t){for(var e="",r=0;r<4;r++)e+=S[t>>8*r+4&15]+S[t>>8*r&15];return e}function E(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function M(t){return O(t).map(E).join("")}var C="5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e<t.length;e++)t[e]=k(t[e]);return t.join("")}(O("hello"));function j(t,e){if(C){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}return t+e&4294967295}function A(t,e){var r,n,i,o;if(t!==r){for(var a=(i=t,o=1+(256/t.length>>0),new Array(o+1).join(i)),s=[],c=0;c<256;c++)s[c]=c;var u=0;for(c=0;c<256;c++){var l=s[c];u=(u+l+a.charCodeAt(c))%256,s[c]=s[u],s[u]=l}r=t,n=s}else s=n;var f=e.length,h=0,d=0,p="";for(c=0;c<f;c++)d=(d+(l=s[h=(h+1)%256]))%256,s[h]=s[d],s[d]=l,a=s[(s[h]+s[d])%256],p+=String.fromCharCode(e.charCodeAt(c)^a);return p}var T={print:4,modify:8,copy:16,"annot-forms":32};function P(t,e,r,n){this.v=1,this.r=2;var i=192;t.forEach((function(t){if(void 0!==T.perm)throw new Error("Invalid permission: "+t);i+=T[t]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var o=(e+this.padding).substr(0,32),a=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=M(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=A(this.encryptionKey,this.padding)}function D(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,n=0;n<r;n++){var i=t.charCodeAt(n);e+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):t[n]}return e}function R(t){if("object"!==i()(t))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,r,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof r||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var i=Math.random().toString(35);return e[t][i]=[r,!!n],i},this.unsubscribe=function(t){for(var r in e)if(e[r][t])return delete e[r][t],0===Object.keys(e[r]).length&&delete e[r],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var o in e[r]){var s=e[r][o];try{s[0].apply(t,n)}catch(r){a.console&&c.error("jsPDF PubSub Error",r.message,r)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function L(t){if(!(this instanceof L))return new L(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function I(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function N(t,e,r,n,i){if(!(this instanceof N))return new N(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,I.call(this,n,i)}function F(t,e,r,n,i){if(!(this instanceof F))return new F(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,I.call(this,n,i)}function B(t){var e,r="string"==typeof arguments[0]?arguments[0]:"p",n=arguments[1],o=arguments[2],s=arguments[3],u=[],l=1,f=16,h="S",b=null;"object"===i()(t=t||{})&&(r=t.orientation,n=t.unit||n,o=t.format||o,s=t.compress||t.compressPdf||s,null!==(b=t.encryption||null)&&(b.userPassword=b.userPassword||"",b.ownerPassword=b.ownerPassword||"",b.userPermissions=b.userPermissions||[]),l="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(f=t.floatPrecision),h=t.defaultPathOperation||"S"),u=t.filters||(!0===s?["FlateEncode"]:u),n=n||"mm",r=(""+(r||"P")).toLowerCase();var v=t.putOnlyUsedFonts||!1,g={},y={internal:{},__private__:{}};y.__private__.PubSub=R;var w="1.3",x=y.__private__.getPdfVersion=function(){return w};y.__private__.setPdfVersion=function(t){w=t};var O={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};y.__private__.getPageFormats=function(){return O};var _=y.__private__.getPageFormat=function(t){return O[t]};o=o||"a4";var S={COMPAT:"compat",ADVANCED:"advanced"},k=S.COMPAT;function E(){this.saveGraphicsState(),ft(new Vt(Et,0,0,-Et,0,Br()*Et).toString()+" cm"),this.setFontSize(this.getFontSize()/Et),h="n",k=S.ADVANCED}function M(){this.restoreGraphicsState(),h="S",k=S.COMPAT}var C=y.__private__.combineFontStyleAndFontWeight=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&(t=400==e||"normal"===e?"italic"===t?"italic":"normal":700!=e&&"bold"!==e||"normal"!==t?(700==e?"bold":e)+""+t:"bold"),t};y.advancedAPI=function(t){var e=k===S.COMPAT;return e&&E.call(this),"function"!=typeof t||(t(this),e&&M.call(this)),this},y.compatAPI=function(t){var e=k===S.ADVANCED;return e&&M.call(this),"function"!=typeof t||(t(this),e&&E.call(this)),this},y.isAdvancedAPI=function(){return k===S.ADVANCED};var j,A=function(t){if(k!==S.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},T=y.roundToPrecision=y.__private__.roundToPrecision=function(t,r){var n=e||r;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};j=y.hpf=y.__private__.hpf="number"==typeof f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return T(t,f)}:"smart"===f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return T(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return T(t,16)};var I=y.f2=y.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return T(t,2)},z=y.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return T(t,3)},H=y.scale=y.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return k===S.COMPAT?t*Et:k===S.ADVANCED?t:void 0},U=function(t){return k===S.COMPAT?Br()-t:k===S.ADVANCED?t:void 0},W=function(t){return H(U(t))};y.__private__.setPrecision=y.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var q,V="00000000000000000000000000000000",G=y.__private__.getFileId=function(){return V},Y=y.__private__.setFileId=function(t){return V=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():V.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==b&&(Ye=new P(b.userPermissions,b.userPassword,b.ownerPassword,V)),V};y.setFileId=function(t){return Y(t),this},y.getFileId=function(){return G()};var X=y.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),o=[r,Q(n),"'",Q(i),"'"].join("");return["D:",t.getFullYear(),Q(t.getMonth()+1),Q(t.getDate()),Q(t.getHours()),Q(t.getMinutes()),Q(t.getSeconds()),o].join("")},$=y.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),o=parseInt(t.substr(12,2),10),a=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,o,a,0)},K=y.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=X(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return q=e},Z=y.__private__.getCreationDate=function(t){var e=q;return"jsDate"===t&&(e=$(q)),e};y.setCreationDate=function(t){return K(t),this},y.getCreationDate=function(t){return Z(t)};var J,Q=y.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},tt=y.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},et=0,rt=[],nt=[],it=0,ot=[],at=[],st=!1,ct=nt,ut=function(){et=0,it=0,nt=[],rt=[],ot=[],Qt=Kt(),te=Kt()};y.__private__.setCustomOutputDestination=function(t){st=!0,ct=t};var lt=function(t){st||(ct=t)};y.__private__.resetCustomOutputDestination=function(){st=!1,ct=nt};var ft=y.__private__.out=function(t){return t=t.toString(),it+=t.length+1,ct.push(t),ct},ht=y.__private__.write=function(t){return ft(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},dt=y.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},pt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];y.__private__.getStandardFonts=function(){return pt};var mt=t.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(t){return mt=k===S.ADVANCED?t/Et:t,this};var bt,vt=y.__private__.getFontSize=y.getFontSize=function(){return k===S.COMPAT?mt:mt*Et},gt=t.R2L||!1;y.__private__.setR2L=y.setR2L=function(t){return gt=t,this},y.__private__.getR2L=y.getR2L=function(){return gt};var yt,wt=y.__private__.setZoomMode=function(t){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(t))bt=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');bt=t}else bt=parseInt(t,10)};y.__private__.getZoomMode=function(){return bt};var xt,Ot=y.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');yt=t};y.__private__.getPageMode=function(){return yt};var _t=y.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');xt=t};y.__private__.getLayoutMode=function(){return xt},y.__private__.setDisplayMode=y.setDisplayMode=function(t,e,r){return wt(t),_t(e),Ot(r),this};var St={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(t){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return St[t]},y.__private__.getDocumentProperties=function(){return St},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(t){for(var e in St)St.hasOwnProperty(e)&&t[e]&&(St[e]=t[e]);return this},y.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return St[t]=e};var kt,Et,Mt,Ct,jt,At={},Tt={},Pt=[],Dt={},Rt={},Lt={},It={},Nt=null,Ft=0,Bt=[],zt=new R(y),Ht=t.hotfixes||[],Ut={},Wt={},qt=[],Vt=function t(e,r,n,i,o,a){if(!(this instanceof t))return new t(e,r,n,i,o,a);isNaN(e)&&(e=1),isNaN(r)&&(r=0),isNaN(n)&&(n=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(a)&&(a=0),this._matrix=[e,r,n,i,o,a]};Object.defineProperty(Vt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Vt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Vt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Vt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Vt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(j).join(t)},Vt.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,o=t.tx*this.sx+t.ty*this.shx+this.tx,a=t.tx*this.shy+t.ty*this.sy+this.ty;return new Vt(e,r,n,i,o,a)},Vt.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(t*t+e*e),s=(t/=a)*r+(e/=a)*n;r-=t*s,n-=e*s;var c=Math.sqrt(r*r+n*n);return s/=c,t*(n/=c)<e*(r/=c)&&(t=-t,e=-e,s=-s,a=-a),{scale:new Vt(a,0,0,c,0,0),translate:new Vt(1,0,0,1,i,o),rotate:new Vt(t,e,-e,t,0,0),skew:new Vt(1,0,s,1,0,0)}},Vt.prototype.toString=function(t){return this.join(" ")},Vt.prototype.inversed=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty,a=1/(t*n-e*r),s=n*a,c=-e*a,u=-r*a,l=t*a;return new Vt(s,c,u,l,-s*i-u*o,-c*i-l*o)},Vt.prototype.applyToPoint=function(t){var e=t.x*this.sx+t.y*this.shx+this.tx,r=t.x*this.shy+t.y*this.sy+this.ty;return new Tr(e,r)},Vt.prototype.applyToRectangle=function(t){var e=this.applyToPoint(t),r=this.applyToPoint(new Tr(t.x+t.w,t.y+t.h));return new Pr(e.x,e.y,r.x-e.x,r.y-e.y)},Vt.prototype.clone=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty;return new Vt(t,e,r,n,i,o)},y.Matrix=Vt;var Gt=y.matrixMult=function(t,e){return e.multiply(t)},Yt=new Vt(1,0,0,1,0,0);y.unitMatrix=y.identityMatrix=Yt;var Xt=function(t,e){if(!Rt[t]){var r=(e instanceof N?"Sh":"P")+(Object.keys(Dt).length+1).toString(10);e.id=r,Rt[t]=r,Dt[r]=e,zt.publish("addPattern",e)}};y.ShadingPattern=N,y.TilingPattern=F,y.addShadingPattern=function(t,e){return A("addShadingPattern()"),Xt(t,e),this},y.beginTilingPattern=function(t){A("beginTilingPattern()"),Rr(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},y.endTilingPattern=function(t,e){A("endTilingPattern()"),e.stream=at[J].join("\n"),Xt(t,e),zt.publish("endTilingPattern",e),qt.pop().restore()};var $t=y.__private__.newObject=function(){var t=Kt();return Zt(t,!0),t},Kt=y.__private__.newObjectDeferred=function(){return et++,rt[et]=function(){return it},et},Zt=function(t,e){return e="boolean"==typeof e&&e,rt[t]=it,e&&ft(t+" 0 obj"),t},Jt=y.__private__.newAdditionalObject=function(){var t={objId:Kt(),content:""};return ot.push(t),t},Qt=Kt(),te=Kt(),ee=y.__private__.decodeColorString=function(t){var e=t.split(" ");if(2!==e.length||"g"!==e[1]&&"G"!==e[1])5!==e.length||"k"!==e[4]&&"K"!==e[4]||(e=[(1-e[0])*(1-e[3]),(1-e[1])*(1-e[3]),(1-e[2])*(1-e[3]),"r"]);else{var r=parseFloat(e[0]);e=[r,r,r,"r"]}for(var n="#",i=0;i<3;i++)n+=("0"+Math.floor(255*parseFloat(e[i])).toString(16)).slice(-2);return n},re=y.__private__.encodeColorString=function(t){var e;"string"==typeof t&&(t={ch1:t});var r=t.ch1,n=t.ch2,o=t.ch3,a=t.ch4,s="draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var c=new m(r);if(c.ok)r=c.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var u=parseInt(r.substr(1),16);r=u>>16&255,n=u>>8&255,o=255&u}if(void 0===n||void 0===a&&r===n&&n===o)if("string"==typeof r)e=r+" "+s[0];else switch(t.precision){case 2:e=I(r/255)+" "+s[0];break;case 3:default:e=z(r/255)+" "+s[0]}else if(void 0===a||"object"===i()(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof r)e=[r,n,o,s[1]].join(" ");else switch(t.precision){case 2:e=[I(r/255),I(n/255),I(o/255),s[1]].join(" ");break;default:case 3:e=[z(r/255),z(n/255),z(o/255),s[1]].join(" ")}}else if("string"==typeof r)e=[r,n,o,a,s[2]].join(" ");else switch(t.precision){case 2:e=[I(r),I(n),I(o),I(a),s[2]].join(" ");break;case 3:default:e=[z(r),z(n),z(o),z(a),s[2]].join(" ")}return e},ne=y.__private__.getFilters=function(){return u},ie=y.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||ne(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=e.length,a=t.objectId,s=function(t){return t};if(null!==b&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==b&&(s=Ye.encryptor(a,0));var c={};!0===r&&(r=["FlateEncode"]);var u=t.additionalKeyValues||[],l=(c=void 0!==B.API.processDataByFilters?B.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(u.push({key:"Length",value:c.data.length}),!0===i&&u.push({key:"Length1",value:o})),0!=l.length)if(l.split("/").length-1==1)u.push({key:"Filter",value:l});else{u.push({key:"Filter",value:"["+l+"]"});for(var f=0;f<u.length;f+=1)if("DecodeParms"===u[f].key){for(var h=[],d=0;d<c.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(u[f].value),u[f].value="["+h.join(" ")+"]"}}ft("<<");for(var p=0;p<u.length;p++)ft("/"+u[p].key+" "+u[p].value);ft(">>"),0!==c.data.length&&(ft("stream"),ft(s(c.data)),ft("endstream"))},oe=y.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Zt(n,!0),ft("<</Type /Page"),ft("/Parent "+t.rootDictionaryObjId+" 0 R"),ft("/Resources "+t.resourceDictionaryObjId+" 0 R"),ft("/MediaBox ["+parseFloat(j(t.mediaBox.bottomLeftX))+" "+parseFloat(j(t.mediaBox.bottomLeftY))+" "+j(t.mediaBox.topRightX)+" "+j(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&ft("/CropBox ["+j(t.cropBox.bottomLeftX)+" "+j(t.cropBox.bottomLeftY)+" "+j(t.cropBox.topRightX)+" "+j(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&ft("/BleedBox ["+j(t.bleedBox.bottomLeftX)+" "+j(t.bleedBox.bottomLeftY)+" "+j(t.bleedBox.topRightX)+" "+j(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&ft("/TrimBox ["+j(t.trimBox.bottomLeftX)+" "+j(t.trimBox.bottomLeftY)+" "+j(t.trimBox.topRightX)+" "+j(t.trimBox.topRightY)+"]"),null!==t.artBox&&ft("/ArtBox ["+j(t.artBox.bottomLeftX)+" "+j(t.artBox.bottomLeftY)+" "+j(t.artBox.topRightX)+" "+j(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&ft("/UserUnit "+t.userUnit),zt.publish("putPage",{objId:n,pageContext:Bt[e],pageNumber:e,page:r}),ft("/Contents "+i+" 0 R"),ft(">>"),ft("endobj");var o=r.join("\n");return k===S.ADVANCED&&(o+="\nQ"),Zt(i,!0),ie({data:o,filters:ne(),objectId:i}),ft("endobj"),n},ae=y.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=Ft;t++)Bt[t].objId=Kt(),Bt[t].contentsObjId=Kt();for(t=1;t<=Ft;t++)r.push(oe({number:t,data:at[t],objId:Bt[t].objId,contentsObjId:Bt[t].contentsObjId,mediaBox:Bt[t].mediaBox,cropBox:Bt[t].cropBox,bleedBox:Bt[t].bleedBox,trimBox:Bt[t].trimBox,artBox:Bt[t].artBox,userUnit:Bt[t].userUnit,rootDictionaryObjId:Qt,resourceDictionaryObjId:te}));Zt(Qt,!0),ft("<</Type /Pages");var n="/Kids [";for(e=0;e<Ft;e++)n+=r[e]+" 0 R ";ft(n+"]"),ft("/Count "+Ft),ft(">>"),ft("endobj"),zt.publish("postPutPages")},se=function(t){zt.publish("putFont",{font:t,out:ft,newObject:$t,putStream:ie}),!0!==t.isAlreadyPutted&&(t.objectNumber=$t(),ft("<<"),ft("/Type /Font"),ft("/BaseFont /"+D(t.postScriptName)),ft("/Subtype /Type1"),"string"==typeof t.encoding&&ft("/Encoding /"+t.encoding),ft("/FirstChar 32"),ft("/LastChar 255"),ft(">>"),ft("endobj"))},ce=function(){for(var t in At)At.hasOwnProperty(t)&&(!1===v||!0===v&&g.hasOwnProperty(t))&&se(At[t])},ue=function(t){t.objectNumber=$t();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[j(t.x),j(t.y),j(t.x+t.width),j(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");ie({data:r,additionalKeyValues:e,objectId:t.objectNumber}),ft("endobj")},le=function(){for(var t in Ut)Ut.hasOwnProperty(t)&&ue(Ut[t])},fe=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var o={offset:0,color:t[0].color};t.unshift(o)}if(1!=t[t.length-1].offset){var a={offset:1,color:t[t.length-1].color};t.push(a)}for(var s="",c=0,u=0;u<n.length;u++){for(r=n[u];r>t[c+1].offset;)c++;var l=t[c].offset,f=(r-l)/(t[c+1].offset-l),h=t[c].color,d=t[c+1].color;s+=tt(Math.round((1-f)*h[0]+f*d[0]).toString(16))+tt(Math.round((1-f)*h[1]+f*d[1]).toString(16))+tt(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return s.trim()},he=function(t,e){e||(e=21);var r=$t(),n=fe(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ie({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),ft("endobj"),t.objectNumber=$t(),ft("<< /ShadingType "+t.type),ft("/ColorSpace /DeviceRGB");var o="/Coords ["+j(parseFloat(t.coords[0]))+" "+j(parseFloat(t.coords[1]))+" ";2===t.type?o+=j(parseFloat(t.coords[2]))+" "+j(parseFloat(t.coords[3])):o+=j(parseFloat(t.coords[2]))+" "+j(parseFloat(t.coords[3]))+" "+j(parseFloat(t.coords[4]))+" "+j(parseFloat(t.coords[5])),ft(o+="]"),t.matrix&&ft("/Matrix ["+t.matrix.toString()+"]"),ft("/Function "+r+" 0 R"),ft("/Extend [true true]"),ft(">>"),ft("endobj")},de=function(t,e){var r=Kt(),n=$t();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(j).join(" ")+"]"}),i.push({key:"XStep",value:j(t.xStep)}),i.push({key:"YStep",value:j(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ie({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),ft("endobj")},pe=function(t){var e;for(e in Dt)Dt.hasOwnProperty(e)&&(Dt[e]instanceof N?he(Dt[e]):Dt[e]instanceof F&&de(Dt[e],t))},me=function(t){for(var e in t.objectNumber=$t(),ft("<<"),t)switch(e){case"opacity":ft("/ca "+I(t[e]));break;case"stroke-opacity":ft("/CA "+I(t[e]))}ft(">>"),ft("endobj")},be=function(){var t;for(t in Lt)Lt.hasOwnProperty(t)&&me(Lt[t])},ve=function(){for(var t in ft("/XObject <<"),Ut)Ut.hasOwnProperty(t)&&Ut[t].objectNumber>=0&&ft("/"+t+" "+Ut[t].objectNumber+" 0 R");zt.publish("putXobjectDict"),ft(">>")},ge=function(){Ye.oid=$t(),ft("<<"),ft("/Filter /Standard"),ft("/V "+Ye.v),ft("/R "+Ye.r),ft("/U <"+Ye.toHexString(Ye.U)+">"),ft("/O <"+Ye.toHexString(Ye.O)+">"),ft("/P "+Ye.P),ft(">>"),ft("endobj")},ye=function(){for(var t in ft("/Font <<"),At)At.hasOwnProperty(t)&&(!1===v||!0===v&&g.hasOwnProperty(t))&&ft("/"+t+" "+At[t].objectNumber+" 0 R");ft(">>")},we=function(){if(Object.keys(Dt).length>0){for(var t in ft("/Shading <<"),Dt)Dt.hasOwnProperty(t)&&Dt[t]instanceof N&&Dt[t].objectNumber>=0&&ft("/"+t+" "+Dt[t].objectNumber+" 0 R");zt.publish("putShadingPatternDict"),ft(">>")}},xe=function(t){if(Object.keys(Dt).length>0){for(var e in ft("/Pattern <<"),Dt)Dt.hasOwnProperty(e)&&Dt[e]instanceof y.TilingPattern&&Dt[e].objectNumber>=0&&Dt[e].objectNumber<t&&ft("/"+e+" "+Dt[e].objectNumber+" 0 R");zt.publish("putTilingPatternDict"),ft(">>")}},Oe=function(){if(Object.keys(Lt).length>0){var t;for(t in ft("/ExtGState <<"),Lt)Lt.hasOwnProperty(t)&&Lt[t].objectNumber>=0&&ft("/"+t+" "+Lt[t].objectNumber+" 0 R");zt.publish("putGStateDict"),ft(">>")}},_e=function(t){Zt(t.resourcesOid,!0),ft("<<"),ft("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ye(),we(),xe(t.objectOid),Oe(),ve(),ft(">>"),ft("endobj")},Se=function(){var t=[];ce(),be(),le(),pe(t),zt.publish("putResources"),t.forEach(_e),_e({resourcesOid:te,objectOid:Number.MAX_SAFE_INTEGER}),zt.publish("postPutResources")},ke=function(){zt.publish("putAdditionalObjects");for(var t=0;t<ot.length;t++){var e=ot[t];Zt(e.objId,!0),ft(e.content),ft("endobj")}zt.publish("postPutAdditionalObjects")},Ee=function(t){Tt[t.fontName]=Tt[t.fontName]||{},Tt[t.fontName][t.fontStyle]=t.id},Me=function(t,e,r,n,i){var o={id:"F"+(Object.keys(At).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return zt.publish("addFont",{font:o,instance:this}),At[o.id]=o,Ee(o),o.id},Ce=function(t){for(var e=0,r=pt.length;e<r;e++){var n=Me.call(this,t[e][0],t[e][1],t[e][2],pt[e][3],!0);!1===v&&(g[n]=!0);var i=t[e][0].split("-");Ee({id:n,fontName:i[0],fontStyle:i[1]||""})}zt.publish("addFonts",{fonts:At,dictionary:Tt})},je=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var e=t.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var r="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!a.console)throw new Error(r);a.console.error(r,t),a.alert&&alert(r)}},t.foo.bar=t,t.foo},Ae=function(t,e){var r,n,i,o,a,s,c,u,l;if(i=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&At[kt].metadata&&At[kt].metadata[i]&&At[kt].metadata[i].encoding&&(o=At[kt].metadata[i].encoding,!a&&At[kt].encoding&&(a=At[kt].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(c=!1,s=[],r=0,n=t.length;r<n;r++)(u=a[t.charCodeAt(r)])?s.push(String.fromCharCode(u)):s.push(t[r]),s[r].charCodeAt(0)>>8&&(c=!0);t=s.join("")}for(r=t.length;void 0===c&&0!==r;)t.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return t;for(s=e.noBOM?[]:[254,255],r=0,n=t.length;r<n;r++){if((l=(u=t.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(l),s.push(u-(l<<8))}return String.fromCharCode.apply(void 0,s)},Te=y.__private__.pdfEscape=y.pdfEscape=function(t,e){return Ae(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Pe=y.__private__.beginPage=function(t){at[++Ft]=[],Bt[Ft]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},Le(Ft),lt(at[J])},De=function(t,e){var n,i,a;switch(r=e||r,"string"==typeof t&&(n=_(t.toLowerCase()),Array.isArray(n)&&(i=n[0],a=n[1])),Array.isArray(t)&&(i=t[0]*Et,a=t[1]*Et),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>14400)&&(c.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),o=[i,a],r.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}Pe(o),pr(hr),ft(Or),0!==Cr&&ft(Cr+" J"),0!==jr&&ft(jr+" j"),zt.publish("addPage",{pageNumber:Ft})},Re=function(t){t>0&&t<=Ft&&(at.splice(t,1),Bt.splice(t,1),Ft--,J>Ft&&(J=Ft),this.setPage(J))},Le=function(t){t>0&&t<=Ft&&(J=t)},Ie=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return at.length-1},Ne=function(t,e,r){var n,i=void 0;return r=r||{},t=void 0!==t?t:At[kt].fontName,e=void 0!==e?e:At[kt].fontStyle,n=t.toLowerCase(),void 0!==Tt[n]&&void 0!==Tt[n][e]?i=Tt[n][e]:void 0!==Tt[t]&&void 0!==Tt[t][e]?i=Tt[t][e]:!1===r.disableWarning&&c.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||r.noFallback||null==(i=Tt.times[e])&&(i=Tt.times.normal),i},Fe=y.__private__.putInfo=function(){var t=$t(),e=function(t){return t};for(var r in null!==b&&(e=Ye.encryptor(t,0)),ft("<<"),ft("/Producer ("+Te(e("jsPDF "+B.version))+")"),St)St.hasOwnProperty(r)&&St[r]&&ft("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+Te(e(St[r]))+")");ft("/CreationDate ("+Te(e(q))+")"),ft(">>"),ft("endobj")},Be=y.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Qt;switch($t(),ft("<<"),ft("/Type /Catalog"),ft("/Pages "+e+" 0 R"),bt||(bt="fullwidth"),bt){case"fullwidth":ft("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ft("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ft("/OpenAction [3 0 R /Fit]");break;case"original":ft("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+bt;"%"===r.substr(r.length-1)&&(bt=parseInt(bt)/100),"number"==typeof bt&&ft("/OpenAction [3 0 R /XYZ null null "+I(bt)+"]")}switch(xt||(xt="continuous"),xt){case"continuous":ft("/PageLayout /OneColumn");break;case"single":ft("/PageLayout /SinglePage");break;case"two":case"twoleft":ft("/PageLayout /TwoColumnLeft");break;case"tworight":ft("/PageLayout /TwoColumnRight")}yt&&ft("/PageMode /"+yt),zt.publish("putCatalog"),ft(">>"),ft("endobj")},ze=y.__private__.putTrailer=function(){ft("trailer"),ft("<<"),ft("/Size "+(et+1)),ft("/Root "+et+" 0 R"),ft("/Info "+(et-1)+" 0 R"),null!==b&&ft("/Encrypt "+Ye.oid+" 0 R"),ft("/ID [ <"+V+"> <"+V+"> ]"),ft(">>")},He=y.__private__.putHeader=function(){ft("%PDF-"+w),ft("%\xba\xdf\xac\xe0")},Ue=y.__private__.putXRef=function(){var t="0000000000";ft("xref"),ft("0 "+(et+1)),ft("0000000000 65535 f ");for(var e=1;e<=et;e++)"function"==typeof rt[e]?ft((t+rt[e]()).slice(-10)+" 00000 n "):void 0!==rt[e]?ft((t+rt[e]).slice(-10)+" 00000 n "):ft("0000000000 00000 n ")},We=y.__private__.buildDocument=function(){ut(),lt(nt),zt.publish("buildDocument"),He(),ae(),ke(),Se(),null!==b&&ge(),Fe(),Be();var t=it;return Ue(),ze(),ft("startxref"),ft(""+t),ft("%%EOF"),lt(at[J]),nt.join("\n")},qe=y.__private__.getBlob=function(t){return new Blob([dt(t)],{type:"application/pdf"})},Ve=y.output=y.__private__.output=je((function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return We();case"save":y.save(e.filename);break;case"arraybuffer":return dt(We());case"blob":return qe(We());case"bloburi":case"bloburl":if(void 0!==a.URL&&"function"==typeof a.URL.createObjectURL)return a.URL&&a.URL.createObjectURL(qe(We()))||void 0;c.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=We();try{r=d(n)}catch(t){r=d(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+e.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';e.pdfObjectUrl&&(i=e.pdfObjectUrl,o="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+i+'"'+o+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(e)+");<\/script></body></html>",u=a.open();return null!==u&&u.document.write(s),u}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(e.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+e.filename+'" width="500px" height="400px" /></body></html>',f=a.open();if(null!==f){f.document.write(l);var h=this;f.document.documentElement.querySelector("#pdfViewer").onload=function(){f.document.title=e.filename,f.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.output("bloburl"))}}return f}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(a))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var p='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",e)+'"></iframe></body></html>',m=a.open();if(null!==m&&(m.document.write(p),m.document.title=e.filename),m||"undefined"==typeof safari)return m;break;case"datauri":case"dataurl":return a.document.location.href=this.output("datauristring",e);default:return null}})),Ge=function(t){return!0===Array.isArray(Ht)&&Ht.indexOf(t)>-1};switch(n){case"pt":Et=1;break;case"mm":Et=72/25.4;break;case"cm":Et=72/2.54;break;case"in":Et=72;break;case"px":Et=1==Ge("px_scaling")?.75:96/72;break;case"pc":case"em":Et=12;break;case"ex":Et=6;break;default:if("number"!=typeof n)throw new Error("Invalid unit: "+n);Et=n}var Ye=null;K(),Y();var Xe=function(t){return null!==b?Ye.encryptor(t,0):function(t){return t}},$e=y.__private__.getPageInfo=y.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Bt[t].objId,pageNumber:t,pageContext:Bt[t]}},Ke=y.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in Bt)if(Bt[e].objId===t)break;return $e(e)},Ze=y.__private__.getCurrentPageInfo=y.getCurrentPageInfo=function(){return{objId:Bt[J].objId,pageNumber:J,pageContext:Bt[J]}};y.addPage=function(){return De.apply(this,arguments),this},y.setPage=function(){return Le.apply(this,arguments),lt.call(this,at[J]),this},y.insertPage=function(t){return this.addPage(),this.movePage(J,t),this},y.movePage=function(t,e){var r,n;if(t>e){r=at[t],n=Bt[t];for(var i=t;i>e;i--)at[i]=at[i-1],Bt[i]=Bt[i-1];at[e]=r,Bt[e]=n,this.setPage(e)}else if(t<e){r=at[t],n=Bt[t];for(var o=t;o<e;o++)at[o]=at[o+1],Bt[o]=Bt[o+1];at[e]=r,Bt[e]=n,this.setPage(e)}return this},y.deletePage=function(){return Re.apply(this,arguments),this},y.__private__.text=y.text=function(t,e,r,n,o){var a,s,c,u,l,f,h,d,p,m=(n=n||{}).scope||this;if("number"==typeof t&&"number"==typeof e&&("string"==typeof r||Array.isArray(r))){var b=r;r=e,e=t,t=b}if(arguments[3]instanceof Vt==0?(c=arguments[4],u=arguments[5],"object"===i()(h=arguments[3])&&null!==h||("string"==typeof c&&(u=c,c=null),"string"==typeof h&&(u=h,h=null),"number"==typeof h&&(c=h,h=null),n={flags:h,angle:c,align:u})):(A("The transform parameter of text() with a Matrix value"),p=o),isNaN(e)||isNaN(r)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return m;var v="",y=!1,w="number"==typeof n.lineHeightFactor?n.lineHeightFactor:fr,x=m.internal.scaleFactor;function O(t){return t=t.split("\t").join(Array(n.TabLen||9).join(" ")),Te(t,h)}function _(t){for(var e,r=t.concat(),n=[],i=r.length;i--;)"string"==typeof(e=r.shift())?n.push(e):Array.isArray(t)&&(1===e.length||void 0===e[1]&&void 0===e[2])?n.push(e[0]):n.push([e[0],e[1],e[2]]);return n}function E(t,e){var r;if("string"==typeof t)r=e(t)[0];else if(Array.isArray(t)){for(var n,i,o=t.concat(),a=[],s=o.length;s--;)"string"==typeof(n=o.shift())?a.push(e(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(i=e(n[0],n[1],n[2]),a.push([i[0],i[1],i[2]]));r=a}return r}var M=!1,C=!0;if("string"==typeof t)M=!0;else if(Array.isArray(t)){var T=t.concat();s=[];for(var P,D=T.length;D--;)("string"!=typeof(P=T.shift())||Array.isArray(P)&&"string"!=typeof P[0])&&(C=!1);M=C}if(!1===M)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var R=mt/m.internal.scaleFactor,L=R*(w-1);switch(n.baseline){case"bottom":r-=L;break;case"top":r+=R-L;break;case"hanging":r+=R-2*L;break;case"middle":r+=R/2-L}if((f=n.maxWidth||0)>0&&("string"==typeof t?t=m.splitTextToSize(t,f):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(m.splitTextToSize(e,f))}),[]))),a={text:t,x:e,y:r,options:n,mutex:{pdfEscape:Te,activeFontKey:kt,fonts:At,activeFontSize:mt}},zt.publish("preProcessText",a),t=a.text,c=(n=a.options).angle,p instanceof Vt==0&&c&&"number"==typeof c){c*=Math.PI/180,0===n.rotationDirection&&(c=-c),k===S.ADVANCED&&(c=-c);var I=Math.cos(c),N=Math.sin(c);p=new Vt(I,N,-N,I,0,0)}else c&&c instanceof Vt&&(p=c);k!==S.ADVANCED||p||(p=Yt),void 0!==(l=n.charSpace||Er)&&(v+=j(H(l))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(d=n.horizontalScale)&&(v+=j(100*d)+" Tz\n"),n.lang;var F=-1,B=void 0!==n.renderingMode?n.renderingMode:n.stroke,z=m.internal.getCurrentPageInfo().pageContext;switch(B){case 0:case!1:case"fill":F=0;break;case 1:case!0:case"stroke":F=1;break;case 2:case"fillThenStroke":F=2;break;case 3:case"invisible":F=3;break;case 4:case"fillAndAddForClipping":F=4;break;case 5:case"strokeAndAddPathForClipping":F=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":F=6;break;case 7:case"addToPathForClipping":F=7}var U=void 0!==z.usedRenderingMode?z.usedRenderingMode:-1;-1!==F?v+=F+" Tr\n":-1!==U&&(v+="0 Tr\n"),-1!==F&&(z.usedRenderingMode=F),u=n.align||"left";var W,q=mt*w,V=m.internal.pageSize.getWidth(),G=At[kt];l=n.charSpace||Er,f=n.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},n.flags);var Y=[];if("[object Array]"===Object.prototype.toString.call(t)){var X;s=_(t),"left"!==u&&(W=s.map((function(t){return m.getStringUnitWidth(t,{font:G,charSpace:l,fontSize:mt,doKerning:!1})*mt/x})));var $,K=0;if("right"===u){e-=W[0],t=[],D=s.length;for(var Z=0;Z<D;Z++)0===Z?($=gr(e),X=yr(r)):($=H(K-W[Z]),X=-q),t.push([s[Z],$,X]),K=W[Z]}else if("center"===u){e-=W[0]/2,t=[],D=s.length;for(var J=0;J<D;J++)0===J?($=gr(e),X=yr(r)):($=H((K-W[J])/2),X=-q),t.push([s[J],$,X]),K=W[J]}else if("left"===u){t=[],D=s.length;for(var Q=0;Q<D;Q++)t.push(s[Q])}else{if("justify"!==u)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');t=[],D=s.length,f=0!==f?f:V;for(var tt=0;tt<D;tt++)X=0===tt?yr(r):-q,$=0===tt?gr(e):0,tt<D-1?Y.push(j(H((f-W[tt])/(s[tt].split(" ").length-1)))):Y.push(0),t.push([s[tt],$,X])}}var et="boolean"==typeof n.R2L?n.R2L:gt;!0===et&&(t=E(t,(function(t,e,r){return[t.split("").reverse().join(""),e,r]}))),a={text:t,x:e,y:r,options:n,mutex:{pdfEscape:Te,activeFontKey:kt,fonts:At,activeFontSize:mt}},zt.publish("postProcessText",a),t=a.text,y=a.mutex.isHex||!1;var rt=At[kt].encoding;"WinAnsiEncoding"!==rt&&"StandardEncoding"!==rt||(t=E(t,(function(t,e,r){return[O(t),e,r]}))),s=_(t),t=[];for(var nt,it,ot,at=0,st=1,ct=Array.isArray(s[0])?st:at,ut="",lt=function(t,e,r){var i="";return r instanceof Vt?(r="number"==typeof n.angle?Gt(r,new Vt(1,0,0,1,t,e)):Gt(new Vt(1,0,0,1,t,e),r),k===S.ADVANCED&&(r=Gt(new Vt(1,0,0,-1,0,0),r)),i=r.join(" ")+" Tm\n"):i=j(t)+" "+j(e)+" Td\n",i},ht=0;ht<s.length;ht++){switch(ut="",ct){case st:ot=(y?"<":"(")+s[ht][0]+(y?">":")"),nt=parseFloat(s[ht][1]),it=parseFloat(s[ht][2]);break;case at:ot=(y?"<":"(")+s[ht]+(y?">":")"),nt=gr(e),it=yr(r)}void 0!==Y&&void 0!==Y[ht]&&(ut=Y[ht]+" Tw\n"),0===ht?t.push(ut+lt(nt,it,p)+ot):ct===at?t.push(ut+ot):ct===st&&t.push(ut+lt(nt,it,p)+ot)}t=ct===at?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var dt="BT\n/";return dt+=kt+" "+mt+" Tf\n",dt+=j(mt*w)+" TL\n",dt+=Sr+"\n",dt+=v,dt+=t,ft(dt+="ET"),g[kt]=!0,m};var Je=y.__private__.clip=y.clip=function(t){return ft("evenodd"===t?"W*":"W"),this};y.clipEvenOdd=function(){return Je("evenodd")},y.__private__.discardPath=y.discardPath=function(){return ft("n"),this};var Qe=y.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};y.__private__.setDefaultPathOperation=y.setDefaultPathOperation=function(t){return Qe(t)&&(h=t),this};var tr=y.__private__.getStyle=y.getStyle=function(t){var e=h;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},er=y.close=function(){return ft("h"),this};y.stroke=function(){return ft("S"),this},y.fill=function(t){return rr("f",t),this},y.fillEvenOdd=function(t){return rr("f*",t),this},y.fillStroke=function(t){return rr("B",t),this},y.fillStrokeEvenOdd=function(t){return rr("B*",t),this};var rr=function(t,e){"object"===i()(e)?or(e,t):ft(t)},nr=function(t){null===t||k===S.ADVANCED&&void 0===t||(t=tr(t),ft(t))};function ir(t,e,r,n,i){var o=new F(e||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var a=t+"$$"+this.cloneIndex+++"$$";return Xt(a,o),o}var or=function(t,e){var r=Rt[t.key],n=Dt[r];if(n instanceof N)ft("q"),ft(ar(e)),n.gState&&y.setGState(n.gState),ft(t.matrix.toString()+" cm"),ft("/"+r+" sh"),ft("Q");else if(n instanceof F){var i=new Vt(1,0,0,-1,0,Br());t.matrix&&(i=i.multiply(t.matrix||Yt),r=ir.call(n,t.key,t.boundingBox,t.xStep,t.yStep,i).id),ft("q"),ft("/Pattern cs"),ft("/"+r+" scn"),n.gState&&y.setGState(n.gState),ft(e),ft("Q")}},ar=function(t){switch(t){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},sr=y.moveTo=function(t,e){return ft(j(H(t))+" "+j(W(e))+" m"),this},cr=y.lineTo=function(t,e){return ft(j(H(t))+" "+j(W(e))+" l"),this},ur=y.curveTo=function(t,e,r,n,i,o){return ft([j(H(t)),j(W(e)),j(H(r)),j(W(n)),j(H(i)),j(W(o)),"c"].join(" ")),this};y.__private__.line=y.line=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Qe(i))throw new Error("Invalid arguments passed to jsPDF.line");return k===S.COMPAT?this.lines([[r-t,n-e]],t,e,[1,1],i||"S"):this.lines([[r-t,n-e]],t,e,[1,1]).stroke()},y.__private__.lines=y.lines=function(t,e,r,n,i,o){var a,s,c,u,l,f,h,d,p,m,b,v;if("number"==typeof t&&(v=r,r=e,e=t,t=v),n=n||[1,1],o=o||!1,isNaN(e)||isNaN(r)||!Array.isArray(t)||!Array.isArray(n)||!Qe(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(sr(e,r),a=n[0],s=n[1],u=t.length,m=e,b=r,c=0;c<u;c++)2===(l=t[c]).length?(m=l[0]*a+m,b=l[1]*s+b,cr(m,b)):(f=l[0]*a+m,h=l[1]*s+b,d=l[2]*a+m,p=l[3]*s+b,m=l[4]*a+m,b=l[5]*s+b,ur(f,h,d,p,m,b));return o&&er(),nr(i),this},y.path=function(t){for(var e=0;e<t.length;e++){var r=t[e],n=r.c;switch(r.op){case"m":sr(n[0],n[1]);break;case"l":cr(n[0],n[1]);break;case"c":ur.apply(this,n);break;case"h":er()}}return this},y.__private__.rect=y.rect=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Qe(i))throw new Error("Invalid arguments passed to jsPDF.rect");return k===S.COMPAT&&(n=-n),ft([j(H(t)),j(W(e)),j(H(r)),j(H(n)),"re"].join(" ")),nr(i),this},y.__private__.triangle=y.triangle=function(t,e,r,n,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||!Qe(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-t,n-e],[i-r,o-n],[t-i,e-o]],t,e,[1,1],a,!0),this},y.__private__.roundedRect=y.roundedRect=function(t,e,r,n,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||!Qe(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*r),o=Math.min(o,.5*n),this.lines([[r-2*i,0],[i*s,0,i,o-o*s,i,o],[0,n-2*o],[0,o*s,-i*s,o,-i,o],[2*i-r,0],[-i*s,0,-i,-o*s,-i,-o],[0,2*o-n],[0,-o*s,i*s,-o,i,-o]],t+i,e,[1,1],a,!0),this},y.__private__.ellipse=y.ellipse=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Qe(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*r,a=4/3*(Math.SQRT2-1)*n;return sr(t+r,e),ur(t+r,e-a,t+o,e-n,t,e-n),ur(t-o,e-n,t-r,e-a,t-r,e),ur(t-r,e+a,t-o,e+n,t,e+n),ur(t+o,e+n,t+r,e+a,t+r,e),nr(i),this},y.__private__.circle=y.circle=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||!Qe(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,e,r,r,n)},y.setFont=function(t,e,r){return r&&(e=C(e,r)),kt=Ne(t,e,{disableWarning:!1}),this};var lr=y.__private__.getFont=y.getFont=function(){return At[Ne.apply(y,arguments)]};y.__private__.getFontList=y.getFontList=function(){var t,e,r={};for(t in Tt)if(Tt.hasOwnProperty(t))for(e in r[t]=[],Tt[t])Tt[t].hasOwnProperty(e)&&r[t].push(e);return r},y.addFont=function(t,e,r,n,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(r=C(r,n)),i=i||"Identity-H",Me.call(this,t,e,r,i)};var fr,hr=t.lineWidth||.200025,dr=y.__private__.getLineWidth=y.getLineWidth=function(){return hr},pr=y.__private__.setLineWidth=y.setLineWidth=function(t){return hr=t,ft(j(H(t))+" w"),this};y.__private__.setLineDash=B.API.setLineDash=B.API.setLineDashPattern=function(t,e){if(t=t||[],e=e||0,isNaN(e)||!Array.isArray(t))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return t=t.map((function(t){return j(H(t))})).join(" "),e=j(H(e)),ft("["+t+"] "+e+" d"),this};var mr=y.__private__.getLineHeight=y.getLineHeight=function(){return mt*fr};y.__private__.getLineHeight=y.getLineHeight=function(){return mt*fr};var br=y.__private__.setLineHeightFactor=y.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&(fr=t),this},vr=y.__private__.getLineHeightFactor=y.getLineHeightFactor=function(){return fr};br(t.lineHeight);var gr=y.__private__.getHorizontalCoordinate=function(t){return H(t)},yr=y.__private__.getVerticalCoordinate=function(t){return k===S.ADVANCED?t:Bt[J].mediaBox.topRightY-Bt[J].mediaBox.bottomLeftY-H(t)},wr=y.__private__.getHorizontalCoordinateString=y.getHorizontalCoordinateString=function(t){return j(gr(t))},xr=y.__private__.getVerticalCoordinateString=y.getVerticalCoordinateString=function(t){return j(yr(t))},Or=t.strokeColor||"0 G";y.__private__.getStrokeColor=y.getDrawColor=function(){return ee(Or)},y.__private__.setStrokeColor=y.setDrawColor=function(t,e,r,n){return Or=re({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),ft(Or),this};var _r=t.fillColor||"0 g";y.__private__.getFillColor=y.getFillColor=function(){return ee(_r)},y.__private__.setFillColor=y.setFillColor=function(t,e,r,n){return _r=re({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),ft(_r),this};var Sr=t.textColor||"0 g",kr=y.__private__.getTextColor=y.getTextColor=function(){return ee(Sr)};y.__private__.setTextColor=y.setTextColor=function(t,e,r,n){return Sr=re({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var Er=t.charSpace,Mr=y.__private__.getCharSpace=y.getCharSpace=function(){return parseFloat(Er||0)};y.__private__.setCharSpace=y.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Er=t,this};var Cr=0;y.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},y.__private__.setLineCap=y.setLineCap=function(t){var e=y.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Cr=e,ft(e+" J"),this};var jr=0;y.__private__.setLineJoin=y.setLineJoin=function(t){var e=y.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return jr=e,ft(e+" j"),this},y.__private__.setLineMiterLimit=y.__private__.setMiterLimit=y.setLineMiterLimit=y.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ft(j(H(t))+" M"),this},y.GState=L,y.setGState=function(t){(t="string"==typeof t?Lt[It[t]]:Ar(null,t)).equals(Nt)||(ft("/"+t.id+" gs"),Nt=t)};var Ar=function(t,e){if(!t||!It[t]){var r=!1;for(var n in Lt)if(Lt.hasOwnProperty(n)&&Lt[n].equals(e)){r=!0;break}if(r)e=Lt[n];else{var i="GS"+(Object.keys(Lt).length+1).toString(10);Lt[i]=e,e.id=i}return t&&(It[t]=e.id),zt.publish("addGState",e),e}};y.addGState=function(t,e){return Ar(t,e),this},y.saveGraphicsState=function(){return ft("q"),Pt.push({key:kt,size:mt,color:Sr}),this},y.restoreGraphicsState=function(){ft("Q");var t=Pt.pop();return kt=t.key,mt=t.size,Sr=t.color,Nt=null,this},y.setCurrentTransformationMatrix=function(t){return ft(t.toString()+" cm"),this},y.comment=function(t){return ft("#"+t),this};var Tr=function(t,e){var r=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var n=e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(t){isNaN(t)||(n=parseFloat(t))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(t){i=t.toString()}}),this},Pr=function(t,e,r,n){Tr.call(this,t,e),this.type="rect";var i=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}});var o=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(t){isNaN(t)||(o=parseFloat(t))}}),this},Dr=function(){this.page=Ft,this.currentPage=J,this.pages=at.slice(0),this.pagesContext=Bt.slice(0),this.x=Mt,this.y=Ct,this.matrix=jt,this.width=Nr(J),this.height=Br(J),this.outputDestination=ct,this.id="",this.objectNumber=-1};Dr.prototype.restore=function(){Ft=this.page,J=this.currentPage,Bt=this.pagesContext,at=this.pages,Mt=this.x,Ct=this.y,jt=this.matrix,Fr(J,this.width),zr(J,this.height),ct=this.outputDestination};var Rr=function(t,e,r,n,i){qt.push(new Dr),Ft=J=0,at=[],Mt=t,Ct=e,jt=i,Pe([r,n])},Lr=function(t){if(Wt[t])qt.pop().restore();else{var e=new Dr,r="Xo"+(Object.keys(Ut).length+1).toString(10);e.id=r,Wt[t]=r,Ut[r]=e,zt.publish("addFormObject",e),qt.pop().restore()}};for(var Ir in y.beginFormObject=function(t,e,r,n,i){return Rr(t,e,r,n,i),this},y.endFormObject=function(t){return Lr(t),this},y.doFormObject=function(t,e){var r=Ut[Wt[t]];return ft("q"),ft(e.toString()+" cm"),ft("/"+r.id+" Do"),ft("Q"),this},y.getFormObject=function(t){var e=Ut[Wt[t]];return{x:e.x,y:e.y,width:e.width,height:e.height,matrix:e.matrix}},y.save=function(t,e){return t=t||"generated.pdf",(e=e||{}).returnPromise=e.returnPromise||!1,!1===e.returnPromise?(p(qe(We()),t),"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),this):new Promise((function(e,r){try{var n=p(qe(We()),t);"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),e(n)}catch(t){r(t.message)}}))},B.API)B.API.hasOwnProperty(Ir)&&("events"===Ir&&B.API.events.length?function(t,e){var r,n,i;for(i=e.length-1;-1!==i;i--)r=e[i][0],n=e[i][1],t.subscribe.apply(t,[r].concat("function"==typeof n?[n]:n))}(zt,B.API.events):y[Ir]=B.API[Ir]);var Nr=y.getPageWidth=function(t){return(Bt[t=t||J].mediaBox.topRightX-Bt[t].mediaBox.bottomLeftX)/Et},Fr=y.setPageWidth=function(t,e){Bt[t].mediaBox.topRightX=e*Et+Bt[t].mediaBox.bottomLeftX},Br=y.getPageHeight=function(t){return(Bt[t=t||J].mediaBox.topRightY-Bt[t].mediaBox.bottomLeftY)/Et},zr=y.setPageHeight=function(t,e){Bt[t].mediaBox.topRightY=e*Et+Bt[t].mediaBox.bottomLeftY};return y.internal={pdfEscape:Te,getStyle:tr,getFont:lr,getFontSize:vt,getCharSpace:Mr,getTextColor:kr,getLineHeight:mr,getLineHeightFactor:vr,getLineWidth:dr,write:ht,getHorizontalCoordinate:gr,getVerticalCoordinate:yr,getCoordinateString:wr,getVerticalCoordinateString:xr,collections:{},newObject:$t,newAdditionalObject:Jt,newObjectDeferred:Kt,newObjectDeferredBegin:Zt,getFilters:ne,putStream:ie,events:zt,scaleFactor:Et,pageSize:{getWidth:function(){return Nr(J)},setWidth:function(t){Fr(J,t)},getHeight:function(){return Br(J)},setHeight:function(t){zr(J,t)}},encryptionOptions:b,encryption:Ye,getEncryptor:Xe,output:Ve,getNumberOfPages:Ie,pages:at,out:ft,f2:I,f3:z,getPageInfo:$e,getPageInfoByObjId:Ke,getCurrentPageInfo:Ze,getPDFVersion:x,Point:Tr,Rectangle:Pr,Matrix:Vt,hasHotfix:Ge},Object.defineProperty(y.internal.pageSize,"width",{get:function(){return Nr(J)},set:function(t){Fr(J,t)},enumerable:!0,configurable:!0}),Object.defineProperty(y.internal.pageSize,"height",{get:function(){return Br(J)},set:function(t){zr(J,t)},enumerable:!0,configurable:!0}),Ce.call(y,pt),kt="F1",De(o,r),zt.publish("initialized"),y}P.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},P.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},P.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},P.prototype.processOwnerPassword=function(t,e){return A(M(e).substr(0,5),t)},P.prototype.encryptor=function(t,e){var r=M(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return A(r,t)}},L.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||i()(t)!==i()(this))return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return 0===n},B.API={events:[]},B.version="2.5.1";var z=B.API,H=1,U=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},W=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},q=function(t){return t.toFixed(2)},V=function(t){return t.toFixed(5)};z.__acroform__={};var G=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},Y=function(t){return t*H},X=function(t){var e=new ft,r=kt.internal.getHeight(t)||0,n=kt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(q(n)),Number(q(r))],e},$=z.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<e},K=z.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<e)},Z=z.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(t&1<<e)?0:1},J=z.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Z(t,e-1)},Q=z.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return $(t,e-1)},tt=z.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return K(t,e-1)},et=z.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,i=t[0],o=t[1],a=t[2],s=t[3],c={};return c.lowerLeft_X=r(i)||0,c.lowerLeft_Y=n(o+s)||0,c.upperRight_X=r(i+a)||0,c.upperRight_Y=n(o)||0,[Number(q(c.lowerLeft_X)),Number(q(c.lowerLeft_Y)),Number(q(c.upperRight_X)),Number(q(c.upperRight_Y))]},rt=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,n=nt(t,r),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+q(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push("Q"),e.push("EMC");var o=X(t);return o.scope=t.scope,o.stream=e.join("\n"),o}},nt=function(t,e){var r=0===t.fontSize?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},i=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" ");i=t.multiline?i.map((function(t){return t.split("\n")})):i.map((function(t){return[t]}));var o=r,a=kt.internal.getHeight(t)||0;a=a<0?-a:a;var s=kt.internal.getWidth(t)||0;s=s<0?-s:s;var c=function(e,r,n){if(e+1<i.length){var o=r+" "+i[e+1][0];return it(o,t,n).width<=s-4}return!1};o++;t:for(;o>0;){e="",o--;var u,l,f=it("3",t,o).height,h=t.multiline?a-o:(a-f)/2,d=h+=2,p=0,m=0,b=0;if(o<=0){e="(...) Tj\n",e+="% Width of Text: "+it(e,t,o=12).width+", FieldWidth:"+s+"\n";break}for(var v="",g=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var w=!1;if(1!==i[y].length&&b!==i[y].length-1){if((f+2)*(g+2)+2>a)continue t;v+=i[y][b],w=!0,m=y,y--}else{v=" "==(v+=i[y][b]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var x=parseInt(y),O=c(x,v,o),_=y>=i.length-1;if(O&&!_){v+=" ",b=0;continue}if(O||_){if(_)m=x;else if(t.multiline&&(f+2)*(g+2)+2>a)continue t}else{if(!t.multiline)continue t;if((f+2)*(g+2)+2>a)continue t;m=x}}for(var S="",k=p;k<=m;k++){var E=i[k];if(t.multiline){if(k===m){S+=E[b]+" ",b=(b+1)%E.length;continue}if(k===p){S+=E[E.length-1]+" ";continue}}S+=E[0]+" "}switch(S=" "==S.substr(S.length-1)?S.substr(0,S.length-1):S,l=it(S,t,o).width,t.textAlign){case"right":u=s-l-2;break;case"center":u=(s-l)/2;break;case"left":default:u=2}e+=q(u)+" "+q(d)+" Td\n",e+="("+U(S)+") Tj\n",e+=-q(u)+" 0 Td\n",d=-(o+2),l=0,p=w?m:m+1,g++,v=""}break}return n.text=e,n.fontSize=o,n},it=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},ot={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},at=function(t,e){var r={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===r.type&&t.object===r.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},st=function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(dt.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(ot)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");H=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new ht,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",(function(){var e;(e=t).internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})),t.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];n.objId=void 0,n.hasAnnotation&&at(n,t)}}(t)})),t.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)})),t.internal.events.subscribe("postPutPages",(function(e){!function(t,e){var r=!t;for(var n in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(n)){var o=t[n],a=[],s=o.Rect;if(o.Rect&&(o.Rect=et(o.Rect,e)),e.internal.newObjectDeferredBegin(o.objId,!0),o.DA=kt.createDefaultAppearanceStream(o),"object"===i()(o)&&"function"==typeof o.getKeyValueListForStream&&(a=o.getKeyValueListForStream()),o.Rect=s,o.hasAppearanceStream&&!o.appearanceStreamContent){var c=rt(o);a.push({key:"AP",value:"<</N "+c+">>"}),e.internal.acroformPlugin.xForms.push(c)}if(o.appearanceStreamContent){var u="";for(var l in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(l)){var f=o.appearanceStreamContent[l];if(u+="/"+l+" ",u+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var n in f)if(f.hasOwnProperty(n)){var h=f[n];"function"==typeof h&&(h=h.call(e,o)),u+="/"+n+" "+h+" ",e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=f)&&(h=h.call(e,o)),u+="/"+n+" "+h,e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h);u+=">>"}a.push({key:"AP",value:"<<\n"+u+">>"})}e.internal.putStream({additionalKeyValues:a,objectId:o.objId}),e.internal.out("endobj")}r&&function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,o=t[r];e.internal.newObjectDeferredBegin(o.objId,!0),"object"===i()(o)&&"function"==typeof o.putStream&&o.putStream(),delete t[n]}}(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}},ct=z.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(t){return t};if(Array.isArray(t)){for(var o="[",a=0;a<t.length;a++)switch(0!==a&&(o+=" "),i()(t[a])){case"boolean":case"number":case"object":o+=t[a].toString();break;case"string":"/"!==t[a].substr(0,1)?(void 0!==e&&r&&(n=r.internal.getEncryptor(e)),o+="("+U(n(t[a].toString()))+")"):o+=t[a].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ut=function(t,e,r){var n=function(t){return t};return void 0!==e&&r&&(n=r.internal.getEncryptor(e)),(t=t||"").toString(),"("+U(n(t))+")"},lt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};lt.prototype.toString=function(){return this.objId+" 0 R"},lt.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},lt.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter((function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"scope"!=t&&"objId"!=t&&"_"!=t.substring(0,1)}));for(var r in e)if(!1===Object.getOwnPropertyDescriptor(this,e[r]).configurable){var n=e[r],i=this[n];i&&(Array.isArray(i)?t.push({key:n,value:ct(i,this.objId,this.scope)}):i instanceof lt?(i.scope=this.scope,t.push({key:n,value:i.objId+" 0 R"})):"function"!=typeof i&&t.push({key:n,value:i}))}return t};var ft=function(){lt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};G(ft,lt);var ht=function(){lt.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+U(e(t))+")"}},set:function(e){t=e}})};G(ht,lt);var dt=function t(){lt.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(e,3))},set:function(t){!0===Boolean(t)?this.F=Q(e,3):this.F=tt(e,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');r=t}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==n.length)return n},set:function(t){n=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(t){n[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(t){n[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(t){n[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(t){n[3]=t}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof xt)return;o="FieldObject"+t.FieldNum++}var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+U(e(o))+")"},set:function(t){o=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(t){o=t}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(t){s=t}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(t){c=t}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/H:u},set:function(t){u=t}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(t){l=t}});var f="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!f||this instanceof xt||this instanceof _t))return ut(f,this.objId,this.scope)},set:function(t){t=t.toString(),f=t}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof gt==0?ut(h,this.objId,this.scope):h},set:function(t){t=t.toString(),h=this instanceof gt==0?"("===t.substr(0,1)?W(t.substr(1,t.length-2)):W(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof gt==1?W(h.substr(1,h.length-1)):h},set:function(t){t=t.toString(),h=this instanceof gt==1?"/"+t:t}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof gt==0?ut(d,this.objId,this.scope):d},set:function(t){t=t.toString(),d=this instanceof gt==0?"("===t.substr(0,1)?W(t.substr(1,t.length-2)):W(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof gt==1?W(d.substr(1,d.length-1)):d},set:function(t){t=t.toString(),d=this instanceof gt==1?"/"+t:t}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var p,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(t){t=Boolean(t),m=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(t){p=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,1):this.Ff=tt(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,2):this.Ff=tt(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,3):this.Ff=tt(this.Ff,3)}});var b=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==b)return b},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');b=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(b){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:b=2;break;case"center":case 1:b=1;break;case"left":case 0:default:b=0}}})};G(dt,lt);var pt=function(){dt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ct(e,this.objId,this.scope)},set:function(t){var r,n;n=[],"string"==typeof(r=t)&&(n=function(t,e,r){r||(r=1);for(var n,i=[];n=e.exec(t);)i.push(n[r]);return i}(r,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,18):this.Ff=tt(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=Q(this.Ff,19):this.Ff=tt(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=Q(this.Ff,20),e.sort()):this.Ff=tt(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,22):this.Ff=tt(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,23):this.Ff=tt(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,27):this.Ff=tt(this.Ff,27)}}),this.hasAppearanceStream=!1};G(pt,dt);var mt=function(){pt.call(this),this.fontName="helvetica",this.combo=!1};G(mt,pt);var bt=function(){mt.call(this),this.combo=!0};G(bt,mt);var vt=function(){bt.call(this),this.edit=!0};G(vt,bt);var gt=function(){dt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,15):this.Ff=tt(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,16):this.Ff=tt(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,17):this.Ff=tt(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,26):this.Ff=tt(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var r,n=[];for(r in n.push("<<"),e)n.push("/"+r+" ("+U(t(e[r]))+")");return n.push(">>"),n.join("\n")}},set:function(t){"object"===i()(t)&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};G(gt,dt);var yt=function(){gt.call(this),this.pushButton=!0};G(yt,gt);var wt=function(){gt.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};G(wt,gt);var xt=function(){var t,e;dt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,r=[];for(e in r.push("<<"),n)r.push("/"+e+" ("+U(t(n[e]))+")");return r.push(">>"),r.join("\n")},set:function(t){"object"===i()(t)&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){"string"==typeof t&&(n.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(t){r="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=kt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};G(xt,dt),wt.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},wt.prototype.createOption=function(t){var e=new xt;return e.Parent=this,e.optionName=t,this.Kids.push(e),Et.call(this.scope,e),e};var Ot=function(){gt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=kt.CheckBox.createAppearanceStream()};G(Ot,gt);var _t=function(){dt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,13):this.Ff=tt(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,21):this.Ff=tt(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,23):this.Ff=tt(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,24):this.Ff=tt(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,25):this.Ff=tt(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,26):this.Ff=tt(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};G(_t,dt);var St=function(){_t.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,14):this.Ff=tt(this.Ff,14)}}),this.password=!0};G(St,_t);var kt={CheckBox:{createAppearanceStream:function(){return{N:{On:kt.CheckBox.YesNormal},D:{On:kt.CheckBox.YesPushDown,Off:kt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),o=nt(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+q(o.fontSize)+" Tf "+i),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=X(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],o=kt.internal.getHeight(t),a=kt.internal.getWidth(t),s=nt(t,t.caption);return i.push("1 g"),i.push("0 0 "+q(a)+" "+q(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+q(a-1)+" "+q(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+q(s.fontSize)+" Tf "+n),i.push(s.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:kt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=kt.RadioButton.Circle.YesNormal,e.D[t]=kt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.getWidth(t)<=kt.internal.getHeight(t)?kt.internal.getWidth(t)/4:kt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=kt.internal.Bezier_C,o=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.getWidth(t)<=kt.internal.getHeight(t)?kt.internal.getWidth(t)/4:kt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*kt.internal.Bezier_C).toFixed(5)),a=Number((n*kt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.getWidth(t)<=kt.internal.getHeight(t)?kt.internal.getWidth(t)/4:kt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*kt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:kt.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=kt.RadioButton.Cross.YesNormal,e.D[t]=kt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+q(kt.internal.getWidth(t)-2)+" "+q(kt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(q(n.x1.x)+" "+q(n.x1.y)+" m"),r.push(q(n.x2.x)+" "+q(n.x2.y)+" l"),r.push(q(n.x4.x)+" "+q(n.x4.y)+" m"),r.push(q(n.x3.x)+" "+q(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var r=kt.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+q(kt.internal.getWidth(t)-2)+" "+q(kt.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(q(r.x1.x)+" "+q(r.x1.y)+" m"),n.push(q(r.x2.x)+" "+q(r.x2.y)+" l"),n.push(q(r.x4.x)+" "+q(r.x4.y)+" m"),n.push(q(r.x3.x)+" "+q(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};kt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=kt.internal.getWidth(t),r=kt.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},kt.internal.getWidth=function(t){var e=0;return"object"===i()(t)&&(e=Y(t.Rect[2])),e},kt.internal.getHeight=function(t){var e=0;return"object"===i()(t)&&(e=Y(t.Rect[3])),e};var Et=z.addField=function(t){if(st(this,t),!(t instanceof dt))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};z.AcroFormChoiceField=pt,z.AcroFormListBox=mt,z.AcroFormComboBox=bt,z.AcroFormEditBox=vt,z.AcroFormButton=gt,z.AcroFormPushButton=yt,z.AcroFormRadioButton=wt,z.AcroFormCheckBox=Ot,z.AcroFormTextField=_t,z.AcroFormPasswordField=St,z.AcroFormAppearance=kt,z.AcroForm={ChoiceField:pt,ListBox:mt,ComboBox:bt,EditBox:vt,Button:gt,PushButton:yt,RadioButton:wt,CheckBox:Ot,TextField:_t,PasswordField:St,Appearance:kt},B.AcroForm={ChoiceField:pt,ListBox:mt,ComboBox:bt,EditBox:vt,Button:gt,PushButton:yt,RadioButton:wt,CheckBox:Ot,TextField:_t,PasswordField:St,Appearance:kt};var Mt=B.AcroForm;function Ct(t){return t.reduce((function(t,e,r){return t[e]=r,t}),{})}!function(t){t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(t,n){var i,o,a,s,c,u=e;if("RGBA"===(n=n||e)||void 0!==t.data&&t.data instanceof Uint8ClampedArray&&"height"in t&&"width"in t)return"RGBA";if(S(t))for(c in r)for(a=r[c],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t[o]){s=!1;break}if(!0===s){u=c;break}}else for(c in r)for(a=r[c],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t.charCodeAt(o)){s=!1;break}if(!0===s){u=c;break}}return u===e&&n!==e&&(u=n),u},o=function t(e){for(var r=this.internal.write,n=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:e.width}),o.push({key:"Height",value:e.height}),e.colorSpace===g.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===g.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var a="",s=0,c=e.transparency.length;s<c;s++)a+=e.transparency[s]+" "+e.transparency[s]+" ";o.push({key:"Mask",value:"["+a+"]"})}void 0!==e.sMask&&o.push({key:"SMask",value:e.objectId+1+" 0 R"});var u=void 0!==e.filter?["/"+e.filter]:void 0;if(n({data:e.data,additionalKeyValues:o,alreadyAppliedFilters:u,objectId:e.objectId}),r("endobj"),"sMask"in e&&void 0!==e.sMask){var l="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,f={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:l,data:e.sMask};"filter"in e&&(f.filter=e.filter),t.call(this,f)}if(e.colorSpace===g.INDEXED){var h=this.internal.newObject();n({data:E(new Uint8Array(e.palette)),objectId:h}),r("endobj")}},a=function(){var t=this.internal.collections.addImage_images;for(var e in t)o.call(this,t[e])},s=function(){var t,e=this.internal.collections.addImage_images,r=this.internal.write;for(var n in e)r("/I"+(t=e[n]).index,t.objectId,"0","R")},c=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var t=this.internal.collections.addImage_images;return c.call(this),t},l=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(e){return"function"==typeof t["process"+e.toUpperCase()]},d=function(t){return"object"===i()(t)&&1===t.nodeType},p=function(e,r){if("IMG"===e.nodeName&&e.hasAttribute("src")){var n=""+e.getAttribute("src");if(0===n.indexOf("data:image/"))return h(unescape(n).split("base64,").pop());var i=t.loadFile(n,!0);if(void 0!==i)return i}if("CANVAS"===e.nodeName){if(0===e.width||0===e.height)throw new Error("Given canvas must have data. Canvas width: "+e.width+", height: "+e.height);var o;switch(r){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;case"JPEG":case"JPG":default:o="image/jpeg"}return h(e.toDataURL(o,1).split("base64,").pop())}},m=function(t){var e=this.internal.collections.addImage_images;if(e)for(var r in e)if(t===e[r].alias)return e[r]},b=function(t,e,r){return t||e||(t=-96,e=-96),t<0&&(t=-1*r.width*72/t/this.internal.scaleFactor),e<0&&(e=-1*r.height*72/e/this.internal.scaleFactor),0===t&&(t=e*r.width/r.height),0===e&&(e=t*r.height/r.width),[t,e]},v=function(t,e,r,n,i,o){var a=b.call(this,r,n,i),s=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=u.call(this);if(r=a[0],n=a[1],l[i.index]=i,o){o*=Math.PI/180;var f=Math.cos(o),h=Math.sin(o),d=function(t){return t.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(t),c(e+n),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(t),c(e+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},g=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=t.__addimage__.sHashCode=function(t){var e,r,n=0;if("string"==typeof t)for(r=t.length,e=0;e<r;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;else if(S(t))for(r=t.byteLength/2,e=0;e<r;e++)n=(n<<5)-n+t[e],n|=0;return n},x=t.__addimage__.validateStringAsBase64=function(t){(t=t||"").toString().trim();var e=!0;return 0===t.length&&(e=!1),t.length%4!=0&&(e=!1),!1===/^[A-Za-z0-9+/]+$/.test(t.substr(0,t.length-2))&&(e=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(t.substr(-2))&&(e=!1),e},O=t.__addimage__.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),r=null;if(2===e.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(e[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:e[1]})}return r},_=t.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};t.__addimage__.isArrayBuffer=function(t){return _()&&t instanceof ArrayBuffer};var S=t.__addimage__.isArrayBufferView=function(t){return _()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},k=t.__addimage__.binaryStringToUint8Array=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r},E=t.__addimage__.arrayBufferToBinaryString=function(t){for(var e="",r=S(t)?t:new Uint8Array(t),n=0;n<r.length;n+=8192)e+=String.fromCharCode.apply(null,r.subarray(n,n+8192));return e};t.addImage=function(){var t,r,n,o,a,s,u,l,f;if("number"==typeof arguments[1]?(r=e,n=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],u=arguments[5],l=arguments[6],f=arguments[7]):(r=arguments[1],n=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],u=arguments[6],l=arguments[7],f=arguments[8]),"object"===i()(t=arguments[0])&&!d(t)&&"imageData"in t){var h=t;t=h.imageData,r=h.format||r||e,n=h.x||n||0,o=h.y||o||0,a=h.w||h.width||a,s=h.h||h.height||s,u=h.alias||u,l=h.compression||l,f=h.rotation||h.angle||f}var p=this.internal.getFilters();if(void 0===l&&-1!==p.indexOf("FlateEncode")&&(l="SLOW"),isNaN(n)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var m=M.call(this,t,r,u,l);return v.call(this,n,o,a,s,m,f),this};var M=function(r,i,o,a){var s,c,u;if("string"==typeof r&&n(r)===e){r=unescape(r);var h=C(r,!1);(""!==h||void 0!==(h=t.loadFile(r,!0)))&&(r=h)}if(d(r)&&(r=p(r,i)),i=n(r,i),!f(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(u=o)||0===u.length)&&(o=function(t){return"string"==typeof t||S(t)?w(t):S(t.data)?w(t.data):null}(r)),(s=m.call(this,o))||(_()&&(r instanceof Uint8Array||"RGBA"===i||(c=r,r=k(r))),s=this["process"+i.toUpperCase()](r,l.call(this),o,function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:y.NONE}(a),c)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},C=t.__addimage__.convertBase64ToBinaryString=function(t,e){var r;e="boolean"!=typeof e||e;var n,i="";if("string"==typeof t){n=null!==(r=O(t))?r.data:t;try{i=h(n)}catch(t){if(e)throw x(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};t.getImageProperties=function(r){var i,o,a="";if(d(r)&&(r=p(r)),"string"==typeof r&&n(r)===e&&(""===(a=C(r,!1))&&(a=t.loadFile(r)||""),r=a),o=n(r),!f(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!_()||r instanceof Uint8Array||(r=k(r)),!(i=this["process"+o.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=o,i}}(B.API),function(t){var e=function(t){if(void 0!==t&&""!=t)return!0};B.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(t){for(var r,n,i,o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(t.objId),c=t.pageContext.annotations,u=!1,l=0;l<c.length&&!u;l++)switch((r=c[l]).type){case"link":(e(r.options.url)||e(r.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(0!=u){this.internal.write("/Annots [");for(var f=0;f<c.length;f++){r=c[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(t.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),b=this.internal.getEncryptor(p.objId),v=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+o(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+h(b(r.contents))+")",i+=" /Popup "+m.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+h(b(v))+") >>",p.content=i;var g=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+o(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+g,r.open&&(i+=" /Open true"),i+=" >>",m.content=i,this.internal.write(p.objId,"0 R",m.objId,"0 R");break;case"freetext":n="/Rect ["+o(r.bounds.x)+" "+a(r.bounds.y)+" "+o(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(d(r.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var x=a(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+x+" "+r.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},t.link=function(t,e,r,n,i){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(t),y:s(e),w:a(t+r),h:s(e+n)},options:i,type:"link"})},t.textWithLink=function(t,e,r,n){var i,o,a=this.getTextWidth(t),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==n.maxWidth){o=n.maxWidth;var c=this.splitTextToSize(t,o).length;i=Math.ceil(s*c)}else o=a,i=s;return this.text(t,e,r,n),r+=.2*s,"center"===n.align&&(e-=a/2),"right"===n.align&&(e-=a),this.link(e,r-s,o,i,n),a},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(B.API),function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},a=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(t){return a(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=3};var l=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return a(t)&&o(t)&&4==e[t.charCodeAt(0)].length},f=t.__arabicParser__.resolveLigatures=function(t){var e=0,n=r,i="",o=0;for(e=0;e<t.length;e+=1)void 0!==n[t.charCodeAt(e)]?(o++,"number"==typeof(n=n[t.charCodeAt(e)])&&(i+=String.fromCharCode(n),n=r,o=0),e===t.length-1&&(n=r,i+=t.charAt(e-(o-1)),e-=o-1,o=0)):(n=r,i+=t.charAt(e-o),e-=o,o=0);return i};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==n[t.charCodeAt(0)]};var h=t.__arabicParser__.getCorrectForm=function(t,e,r){return a(t)?!1===o(t)?-1:!u(t)||!a(e)&&!a(r)||!a(r)&&s(e)||s(t)&&!a(e)||s(t)&&c(e)||s(t)&&s(e)?0:l(t)&&a(e)&&!s(e)&&a(r)&&u(r)?3:s(t)||!a(r)?1:2:-1},d=function(t){var r=0,n=0,i=0,o="",s="",c="",u=(t=t||"").split("\\s+"),l=[];for(r=0;r<u.length;r+=1){for(l.push(""),n=0;n<u[r].length;n+=1)o=u[r][n],s=u[r][n-1],c=u[r][n+1],a(o)?(i=h(o,s,c),l[r]+=-1!==i?String.fromCharCode(e[o.charCodeAt(0)][i]):o):l[r]+=o;l[r]=f(l[r])}return l.join(" ")},p=t.__arabicParser__.processArabic=t.processArabic=function(){var t,e="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(e)){var n=0;for(r=[],n=0;n<e.length;n+=1)Array.isArray(e[n])?r.push([d(e[n][0]),e[n][1],e[n][2]]):r.push([d(e[n])]);t=r}else t=d(e);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",p])}(B.API),B.API.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}))}return this},function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(t){r=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(t){n=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var r;if("2d"!==(t=t||"2d"))return null;for(r in e)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=e[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(B.API),function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(t){o=t}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(t){a=t}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){n.call(this);var r=(e=e||{}).fontSize||this.getFontSize(),i=e.font||this.getFont(),o=e.scaleFactor||this.internal.scaleFactor,a=0,s=0,c=0,u=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}var l=e.maxWidth;l>0?"string"==typeof t?t=this.splitTextToSize(t,l):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(u.splitTextToSize(e,l))}),[])):t=Array.isArray(t)?t:[t];for(var f=0;f<t.length;f++)a<(c=this.getStringUnitWidth(t[f],{font:i})*r)&&(a=c);return 0!==a&&(s=t.length),{w:a/=o,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/o,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var t=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var t;t=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||e,c=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===t.lineNumber?(t.x=(i.x||0)+(i.width||0),t.y=i.y||0):i.y+i.height+t.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=s.top,u&&c&&(this.printHeaderRow(t.lineNumber,!0),t.y+=c[0].height)):t.y=i.y+i.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===r?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-o,t.y+o,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+o,{align:"center",baseline:"top",maxWidth:t.width-o-o}):this.text(t.text,t.x+o,t.y+o,{align:"left",baseline:"top",maxWidth:t.width-o-o})),this.internal.__cell__.lastCell=t,this};t.table=function(t,r,u,l,f){if(n.call(this),!u)throw new Error("No data for PDF table.");var h,d,p,m,b=[],v=[],g=[],y={},w={},x=[],O=[],_=(f=f||{}).autoSize||!1,S=!1!==f.printHeaders,k=f.css&&void 0!==f.css["font-size"]?16*f.css["font-size"]:f.fontSize||12,E=f.margins||Object.assign({width:this.getPageWidth()},e),M="number"==typeof f.padding?f.padding:3,C=f.headerBackgroundColor||"#c8c8c8",j=f.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=S,this.internal.__cell__.margins=E,this.internal.__cell__.table_font_size=k,this.internal.__cell__.padding=M,this.internal.__cell__.headerBackgroundColor=C,this.internal.__cell__.headerTextColor=j,this.setFontSize(k),null==l)v=b=Object.keys(u[0]),g=b.map((function(){return"left"}));else if(Array.isArray(l)&&"object"===i()(l[0]))for(b=l.map((function(t){return t.name})),v=l.map((function(t){return t.prompt||t.name||""})),g=l.map((function(t){return t.align||"left"})),h=0;h<l.length;h+=1)w[l[h].name]=l[h].width*(19.049976/25.4);else Array.isArray(l)&&"string"==typeof l[0]&&(v=b=l,g=b.map((function(){return"left"})));if(_||Array.isArray(l)&&"string"==typeof l[0])for(h=0;h<b.length;h+=1){for(y[m=b[h]]=u.map((function(t){return t[m]})),this.setFont(void 0,"bold"),x.push(this.getTextDimensions(v[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=y[m],this.setFont(void 0,"normal"),p=0;p<d.length;p+=1)x.push(this.getTextDimensions(d[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[m]=Math.max.apply(null,x)+M+M,x=[]}if(S){var A={};for(h=0;h<b.length;h+=1)A[b[h]]={},A[b[h]].text=v[h],A[b[h]].align=g[h];var T=c.call(this,A,w);O=b.map((function(e){return new a(t,r,w[e],T,A[e].text,void 0,A[e].align)})),this.setTableHeaderRow(O),this.printHeaderRow(1,!1)}var P=l.reduce((function(t,e){return t[e.name]=e.align,t}),{});for(h=0;h<u.length;h+=1){"rowStart"in f&&f.rowStart instanceof Function&&f.rowStart({row:h,data:u[h]},this);var D=c.call(this,u[h],w);for(p=0;p<b.length;p+=1){var R=u[h][b[p]];"cellStart"in f&&f.cellStart instanceof Function&&f.cellStart({row:h,col:p,data:R},this),s.call(this,new a(t,r,w[b[p]],D,R,h+2,P[b[p]]))}}return this.internal.__cell__.table_x=t,this.internal.__cell__.table_y=r,this};var c=function(t,e){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(t).map((function(n){var i=t[n];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,e[n]-r-r)}),this).map((function(t){return this.getLineHeightFactor()*t.length*n/i+r+r}),this).reduce((function(t,e){return Math.max(t,e)}),0)};t.setTableHeaderRow=function(t){n.call(this),this.internal.__cell__.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1){i=this.internal.__cell__.tableHeaderRow[u].clone(),e&&(i.y=this.internal.__cell__.margins.top||0,c.push(i)),i.lineNumber=t;var l=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,i),this.setTextColor(l)}c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),r=!1}}(B.API);var jt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},At=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tt=Ct(At),Pt=[100,200,300,400,500,600,700,800,900],Dt=Ct(Pt);function Rt(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(t){return jt[t=t||"normal"]?t:"normal"}(t.style),n=function(t){if(!t)return 400;if("number"==typeof t)return t>=100&&t<=900&&t%100==0?t:400;if(/^\d00$/.test(t))return parseInt(t);switch(t){case"bold":return 700;case"normal":default:return 400}}(t.weight),i=function(t){return"number"==typeof Tt[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function Lt(t,e,r,n){var i;for(i=r;i>=0&&i<e.length;i+=n)if(t[e[i]])return t[e[i]];for(i=r;i>=0&&i<e.length;i-=n)if(t[e[i]])return t[e[i]]}var It={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Nt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ft(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Bt(t){return t.trimLeft()}function zt(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function Ht(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===e?null:[e[0],t.substring(e[0].length)]}var Ut,Wt,qt,Vt,Gt=["times"];!function(t){var e,r,n,o,a,s,u,l,f,h=function(t){return t=t||{},this.isStrokeTransparent=t.isStrokeTransparent||!1,this.strokeOpacity=t.strokeOpacity||1,this.strokeStyle=t.strokeStyle||"#000000",this.fillStyle=t.fillStyle||"#000000",this.isFillTransparent=t.isFillTransparent||!1,this.fillOpacity=t.fillOpacity||1,this.font=t.font||"10px sans-serif",this.textBaseline=t.textBaseline||"alphabetic",this.textAlign=t.textAlign||"left",this.lineWidth=t.lineWidth||1,this.lineJoin=t.lineJoin||"miter",this.lineCap=t.lineCap||"butt",this.path=t.path||[],this.transform=void 0!==t.transform?t.transform.clone():new l,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new s,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new s,this.lineDashOffset=t.lineDashOffset||0,this.lineDash=t.lineDash||[],this.margin=t.margin||[0,0,0,0],this.prevPageLastElemOffset=t.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new d(this),e=this.internal.f2,r=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,u=this.internal.Rectangle,l=this.internal.Matrix,f=new h}]);var d=function(t){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var e=t;Object.defineProperty(this,"pdf",{get:function(){return e}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(t){r=Boolean(t)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(t){n=Boolean(t)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(t){isNaN(t)||(i=t)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(t){isNaN(t)||(o=t)}}),Object.defineProperty(this,"margin",{get:function(){return f.margin},set:function(t){var e;"number"==typeof t?e=[t,t,t,t]:((e=new Array(4))[0]=t[0],e[1]=t.length>=2?t[1]:e[0],e[2]=t.length>=3?t[2]:e[0],e[3]=t.length>=4?t[3]:e[1]),f.margin=e}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(t){a=t}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(t){s=t}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(t){c=t}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(t){t instanceof h&&(f=t)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(t){f.path=t}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(t){u=t}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(t){var e;e=p(t),this.ctx.fillStyle=e.style,this.ctx.isFillTransparent=0===e.a,this.ctx.fillOpacity=e.a,this.pdf.setFillColor(e.r,e.g,e.b,{a:e.a}),this.pdf.setTextColor(e.r,e.g,e.b,{a:e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(t){var e=p(t);this.ctx.strokeStyle=e.style,this.ctx.isStrokeTransparent=0===e.a,this.ctx.strokeOpacity=e.a,0===e.a?this.pdf.setDrawColor(255,255,255):(e.a,this.pdf.setDrawColor(e.r,e.g,e.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(t){-1!==["butt","round","square"].indexOf(t)&&(this.ctx.lineCap=t,this.pdf.setLineCap(t))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(t){isNaN(t)||(this.ctx.lineWidth=t,this.pdf.setLineWidth(t))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(t){-1!==["bevel","round","miter"].indexOf(t)&&(this.ctx.lineJoin=t,this.pdf.setLineJoin(t))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(t){isNaN(t)||(this.ctx.miterLimit=t,this.pdf.setMiterLimit(t))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(t){this.ctx.textBaseline=t}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(t){-1!==["right","end","center","left","start"].indexOf(t)&&(this.ctx.textAlign=t)}});var l=null;function d(t,e){if(null===l){var r=function(t){var e=[];return Object.keys(t).forEach((function(r){t[r].forEach((function(t){var n=null;switch(t){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:t},e.push(n))}))})),e}(t.getFontList());l=function(t){for(var e={},r=0;r<t.length;++r){var n=Rt(t[r]),i=n.family,o=n.stretch,a=n.style,s=n.weight;e[i]=e[i]||{},e[i][o]=e[i][o]||{},e[i][o][a]=e[i][o][a]||{},e[i][o][a][s]=n}return e}(r.concat(e))}return l}var m=null;Object.defineProperty(this,"fontFaces",{get:function(){return m},set:function(t){l=null,m=t}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(t){var e;if(this.ctx.font=t,null!==(e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(t))){var r=e[1],n=(e[2],e[3]),i=e[4],o=(e[5],e[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===a?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(t){var e,r,n=[],i=t.trim();if(""===i)return Gt;if(i in Nt)return[Nt[i]];for(;""!==i;){switch(r=null,e=(i=Bt(i)).charAt(0)){case'"':case"'":r=zt(i.substring(1),e);break;default:r=Ht(i)}if(null===r)return Gt;if(n.push(r[0]),""!==(i=Bt(r[1]))&&","!==i.charAt(0))return Gt;i=i.replace(/^,/,"")}return n}(o);if(this.fontFaces){var c=function(t,e,r){for(var n=(r=r||{}).defaultFontFamily||"times",i=Object.assign({},It,r.genericFontFamilies||{}),o=null,a=null,s=0;s<e.length;++s)if(i[(o=Rt(e[s])).family]&&(o.family=i[o.family]),t.hasOwnProperty(o.family)){a=t[o.family];break}if(!(a=a||t[n]))throw new Error("Could not find a font-family for the rule '"+Ft(o)+"' and default family '"+n+"'.");if(a=function(t,e){if(e[t])return e[t];var r=Tt[t],n=r<=Tt.normal?-1:1,i=Lt(e,At,r,n);if(!i)throw new Error("Could not find a matching font-stretch value for "+t);return i}(o.stretch,a),a=function(t,e){if(e[t])return e[t];for(var r=jt[t],n=0;n<r.length;++n)if(e[r[n]])return e[r[n]];throw new Error("Could not find a matching font-style for "+t)}(o.style,a),!(a=function(t,e){if(e[t])return e[t];if(400===t&&e[500])return e[500];if(500===t&&e[400])return e[400];var r=Dt[t],n=Lt(e,Pt,r,t<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+t);return n}(o.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Ft(o)+"'.");return a}(d(this.pdf,this.fontFaces),s.map((function(t){return{family:t,stretch:"normal",weight:n,style:r}})));this.pdf.setFont(c.ref.name,c.ref.style)}else{var u="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(u="bold"),"italic"===r&&(u+="italic"),0===u.length&&(u="normal");for(var l="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],u,{noFallback:!0,disableWarning:!0})){l=s[h];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))l=s[h],u="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){l=s[h],u="normal";break}}if(""===l)for(var p=0;p<s.length;p++)if(f[s[p]]){l=f[s[p]];break}l=""===l?"Times":l,this.pdf.setFont(l,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(t){this.ctx.globalCompositeOperation=t}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(t){this.ctx.globalAlpha=t}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(t){this.ctx.lineDashOffset=t,z.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(t){this.ctx.lineDash=t,z.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};d.prototype.setLineDash=function(t){this.lineDash=t},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){_.call(this,"fill",!1)},d.prototype.stroke=function(){_.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(t,e)},d.prototype.closePath=function(){var t=new s(0,0),e=0;for(e=this.path.length-1;-1!==e;e--)if("begin"===this.path[e].type&&"object"===i()(this.path[e+1])&&"number"==typeof this.path[e+1].x){t=new s(this.path[e+1].x,this.path[e+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(t.x,t.y)},d.prototype.lineTo=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),_.call(this,null,!0)},d.prototype.quadraticCurveTo=function(t,e,r,n){if(isNaN(r)||isNaN(n)||isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new s(r,n)),o=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new s(i.x,i.y)},d.prototype.bezierCurveTo=function(t,e,r,n,i,o){if(isNaN(i)||isNaN(o)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(i,o)),u=this.ctx.transform.applyToPoint(new s(t,e)),l=this.ctx.transform.applyToPoint(new s(r,n));this.path.push({type:"bct",x1:u.x,y1:u.y,x2:l.x,y2:l.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},d.prototype.arc=function(t,e,r,n,i,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i))throw c.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(t,e));t=a.x,e=a.y;var u=this.ctx.transform.applyToPoint(new s(0,r)),l=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(u.x-l.x,2)+Math.pow(u.y-l.y,2))}Math.abs(i-n)>=2*Math.PI&&(n=0,i=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:r,startAngle:n,endAngle:i,counterclockwise:o})},d.prototype.arcTo=function(t,e,r,n,i){throw new Error("arcTo not implemented.")},d.prototype.rect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+r,e),this.lineTo(t+r,e+n),this.lineTo(t,e+n),this.lineTo(t,e),this.lineTo(t+r,e),this.lineTo(t,e)},d.prototype.fillRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!b.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,r,n),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},d.prototype.strokeRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");v.call(this)||(this.beginPath(),this.rect(t,e,r,n),this.stroke())},d.prototype.clearRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,r,n))},d.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},d.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(e),t&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(t){var e,r,n,i;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))e=0,r=0,n=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==o)e=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))e=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof t&&"#"!==t.charAt(0)){var a=new m(t);t=a.ok?a.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,r=t.substring(2,3),r+=r,n=t.substring(3,4),n+=n):(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7)),e=parseInt(e,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:e,g:r,b:n,a:i,style:t}},b=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},v=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(t,e,r,n){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw c.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(n=isNaN(n)?void 0:n,!b.call(this)){var i=N(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:t,x:e,y:r,scale:o,angle:i,align:this.textAlign,maxWidth:n})}},d.prototype.strokeText=function(t,e,r,n){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw c.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!v.call(this)){n=isNaN(n)?void 0:n;var i=N(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:t,x:e,y:r,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:n})}},d.prototype.measureText=function(t){if("string"!=typeof t)throw c.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,r=this.pdf.internal.scaleFactor,n=e.internal.getFontSize(),i=e.getStringUnitWidth(t)*n/e.internal.scaleFactor,o=function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this};return new o({width:i*=Math.round(96*r/72*1e4)/1e4})},d.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new l(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.rotate=function(t){if(isNaN(t))throw c.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var e=new l(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(e)},d.prototype.translate=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new l(1,0,0,1,t,e);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.transform=function(t,e,r,n,i,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o))throw c.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new l(t,e,r,n,i,o);this.ctx.transform=this.ctx.transform.multiply(a)},d.prototype.setTransform=function(t,e,r,n,i,o){t=isNaN(t)?1:t,e=isNaN(e)?0:e,r=isNaN(r)?0:r,n=isNaN(n)?1:n,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new l(t,e,r,n,i,o)};var g=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(t,e,r,n,i,o,a,s,c){var f=this.pdf.getImageProperties(t),h=1,d=1,p=1,m=1;void 0!==n&&void 0!==s&&(p=s/n,m=c/i,h=f.width/n*s/n,d=f.height/i*c/i),void 0===o&&(o=e,a=r,e=0,r=0),void 0!==n&&void 0===s&&(s=n,c=i),void 0===n&&void 0===s&&(s=f.width,c=f.height);for(var b,v=this.ctx.transform.decompose(),w=N(v.rotate.shx),_=new l,k=(_=(_=(_=_.multiply(v.translate)).multiply(v.skew)).multiply(v.scale)).applyToRectangle(new u(o-e*p,a-r*m,n*h,i*d)),E=y.call(this,k),M=[],C=0;C<E.length;C+=1)-1===M.indexOf(E[C])&&M.push(E[C]);if(O(M),this.autoPaging)for(var j=M[0],A=M[M.length-1],T=j;T<A+1;T++){this.pdf.setPage(T);var P=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],D=1===T?this.posY+this.margin[0]:this.margin[0],R=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],L=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],I=1===T?0:R+(T-2)*L;if(0!==this.ctx.clip_path.length){var F=this.path;b=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(b,this.posX+this.margin[3],-I+D+this.ctx.prevPageLastElemOffset),S.call(this,"fill",!0),this.path=F}var B=JSON.parse(JSON.stringify(k));B=x([B],this.posX+this.margin[3],-I+D+this.ctx.prevPageLastElemOffset)[0];var z=(T>j||T<A)&&g.call(this);z&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],P,L,null).clip().discardPath()),this.pdf.addImage(t,"JPEG",B.x,B.y,B.w,B.h,null,null,w),z&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(t,"JPEG",k.x,k.y,k.w,k.h,null,null,w)};var y=function(t,e,r){var n=[];e=e||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(t.type){default:case"mt":case"lt":n.push(Math.floor((t.y+i)/r)+1);break;case"arc":n.push(Math.floor((t.y+i-t.radius)/r)+1),n.push(Math.floor((t.y+i+t.radius)/r)+1);break;case"qct":var o=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);n.push(Math.floor((o.y+i)/r)+1),n.push(Math.floor((o.y+o.h+i)/r)+1);break;case"bct":var a=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);n.push(Math.floor((a.y+i)/r)+1),n.push(Math.floor((a.y+a.h+i)/r)+1);break;case"rect":n.push(Math.floor((t.y+i)/r)+1),n.push(Math.floor((t.y+t.h+i)/r)+1)}for(var s=0;s<n.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<n[s];)w.call(this);return n},w=function(){var t=this.fillStyle,e=this.strokeStyle,r=this.font,n=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=e,this.font=r,this.lineCap=n,this.lineWidth=i,this.lineJoin=o},x=function(t,e,r){for(var n=0;n<t.length;n++)switch(t[n].type){case"bct":t[n].x2+=e,t[n].y2+=r;case"qct":t[n].x1+=e,t[n].y1+=r;case"mt":case"lt":case"arc":default:t[n].x+=e,t[n].y+=r}return t},O=function(t){return t.sort((function(t,e){return t-e}))},_=function(t,e){for(var r,n,i=this.fillStyle,o=this.strokeStyle,a=this.lineCap,s=this.lineWidth,c=Math.abs(s*this.ctx.transform.scaleX),u=this.lineJoin,l=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<f.length;d++)if(void 0!==f[d].x)for(var p=y.call(this,f[d]),m=0;m<p.length;m+=1)-1===h.indexOf(p[m])&&h.push(p[m]);for(var b=0;b<h.length;b++)for(;this.pdf.internal.getNumberOfPages()<h[b];)w.call(this);if(O(h),this.autoPaging)for(var v=h[0],_=h[h.length-1],k=v;k<_+1;k++){this.pdf.setPage(k),this.fillStyle=i,this.strokeStyle=o,this.lineCap=a,this.lineWidth=c,this.lineJoin=u;var E=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],M=1===k?this.posY+this.margin[0]:this.margin[0],C=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],j=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],A=1===k?0:C+(k-2)*j;if(0!==this.ctx.clip_path.length){var T=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(r,this.posX+this.margin[3],-A+M+this.ctx.prevPageLastElemOffset),S.call(this,t,!0),this.path=T}if(n=JSON.parse(JSON.stringify(l)),this.path=x(n,this.posX+this.margin[3],-A+M+this.ctx.prevPageLastElemOffset),!1===e||0===k){var P=(k>v||k<_)&&g.call(this);P&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],E,j,null).clip().discardPath()),S.call(this,t,e),P&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=c,S.call(this,t,e),this.lineWidth=s;this.path=l},S=function(t,e){if(("stroke"!==t||e||!v.call(this))&&("stroke"===t||e||!b.call(this))){for(var r,n,i=[],o=this.path,a=0;a<o.length;a++){var s=o[a];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var c=i.length;if(o[a-1]&&!isNaN(o[a-1].x)&&(r=[s.x-o[a-1].x,s.y-o[a-1].y],c>0))for(;c>=0;c--)if(!0!==i[c-1].close&&!0!==i[c-1].begin){i[c-1].deltas.push(r),i[c-1].abs.push(s);break}break;case"bct":r=[s.x1-o[a-1].x,s.y1-o[a-1].y,s.x2-o[a-1].x,s.y2-o[a-1].y,s.x-o[a-1].x,s.y-o[a-1].y],i[i.length-1].deltas.push(r);break;case"qct":var u=o[a-1].x+2/3*(s.x1-o[a-1].x),l=o[a-1].y+2/3*(s.y1-o[a-1].y),f=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),d=s.x,p=s.y;r=[u-o[a-1].x,l-o[a-1].y,f-o[a-1].x,h-o[a-1].y,d-o[a-1].x,p-o[a-1].y],i[i.length-1].deltas.push(r);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}n=e?null:"stroke"===t?"stroke":"fill";for(var m=!1,g=0;g<i.length;g++)if(i[g].arc)for(var y=i[g].abs,w=0;w<y.length;w++){var x=y[w];"arc"===x.type?M.call(this,x.x,x.y,x.radius,x.startAngle,x.endAngle,x.counterclockwise,void 0,e,!m):P.call(this,x.x,x.y),m=!0}else if(!0===i[g].close)this.pdf.internal.out("h"),m=!1;else if(!0!==i[g].begin){var O=i[g].start.x,_=i[g].start.y;D.call(this,i[g].deltas,O,_),m=!0}n&&C.call(this,n),e&&j.call(this)}},k=function(t){var e=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=e*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-r;case"top":return t+e-r;case"hanging":return t+e-2*r;case"middle":return t+e/2-r;case"ideographic":return t;case"alphabetic":default:return t}},E=function(t){return t+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(t,e){this.colorStops.push([t,e])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var M=function(t,e,r,n,i,o,a,s,c){for(var u=L.call(this,r,n,i,o),l=0;l<u.length;l++){var f=u[l];0===l&&(c?A.call(this,f.x1+t,f.y1+e):P.call(this,f.x1+t,f.y1+e)),R.call(this,t,e,f.x2,f.y2,f.x3,f.y3,f.x4,f.y4)}s?j.call(this):C.call(this,a)},C=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},j=function(){this.pdf.clip(),this.pdf.discardPath()},A=function(t,e){this.pdf.internal.out(r(t)+" "+n(e)+" m")},T=function(t){var e;switch(t.align){case"right":case"end":e="right";break;case"center":e="center";break;case"left":case"start":default:e="left"}var r=this.pdf.getTextDimensions(t.text),n=k.call(this,t.y),i=E.call(this,n)-r.h,o=this.ctx.transform.applyToPoint(new s(t.x,n)),a=this.ctx.transform.decompose(),c=new l;c=(c=(c=c.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var f,h,d,p=this.ctx.transform.applyToRectangle(new u(t.x,n,r.w,r.h)),m=c.applyToRectangle(new u(t.x,i,r.w,r.h)),b=y.call(this,m),v=[],w=0;w<b.length;w+=1)-1===v.indexOf(b[w])&&v.push(b[w]);if(O(v),this.autoPaging)for(var _=v[0],M=v[v.length-1],C=_;C<M+1;C++){this.pdf.setPage(C);var j=1===C?this.posY+this.margin[0]:this.margin[0],A=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],T=this.pdf.internal.pageSize.height-this.margin[2],P=T-this.margin[0],D=this.pdf.internal.pageSize.width-this.margin[1],R=D-this.margin[3],L=1===C?0:A+(C-2)*P;if(0!==this.ctx.clip_path.length){var I=this.path;f=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(f,this.posX+this.margin[3],-1*L+j),S.call(this,"fill",!0),this.path=I}var N=x([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-L+j+this.ctx.prevPageLastElemOffset)[0];t.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale);var F="text"!==this.autoPaging;if(F||N.y+N.h<=T){if(F||N.y>=j&&N.x<=D){var B=F?t.text:this.pdf.splitTextToSize(t.text,t.maxWidth||D-N.x)[0],z=x([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-L+j+this.ctx.prevPageLastElemOffset)[0],H=F&&(C>_||C<M)&&g.call(this);H&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],R,P,null).clip().discardPath()),this.pdf.text(B,z.x,z.y,{angle:t.angle,align:e,renderingMode:t.renderingMode}),H&&this.pdf.restoreGraphicsState()}}else N.y<T&&(this.ctx.prevPageLastElemOffset+=T-N.y);t.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=d)}else t.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale),this.pdf.text(t.text,o.x+this.posX,o.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=d)},P=function(t,e,i,o){i=i||0,o=o||0,this.pdf.internal.out(r(t+i)+" "+n(e+o)+" l")},D=function(t,e,r){return this.pdf.lines(t,e,r,null,null)},R=function(t,r,n,i,s,c,u,l){this.pdf.internal.out([e(o(n+t)),e(a(i+r)),e(o(s+t)),e(a(c+r)),e(o(u+t)),e(a(l+r)),"c"].join(" "))},L=function(t,e,r,n){for(var i=2*Math.PI,o=Math.PI/2;e>r;)e-=i;var a=Math.abs(r-e);a<i&&n&&(a=i-a);for(var s=[],c=n?-1:1,u=e;a>1e-5;){var l=u+c*Math.min(a,o);s.push(I.call(this,t,u,l)),a-=Math.abs(l-u),u=l}return s},I=function(t,e,r){var n=(r-e)/2,i=t*Math.cos(n),o=t*Math.sin(n),a=i,s=-o,c=a*a+s*s,u=c+a*i+s*o,l=4/3*(Math.sqrt(2*c*u)-u)/(a*o-s*i),f=a-l*s,h=s+l*a,d=f,p=-h,m=n+e,b=Math.cos(m),v=Math.sin(m);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:f*b-h*v,y2:f*v+h*b,x3:d*b-p*v,y3:d*v+p*b,x4:t*Math.cos(r),y4:t*Math.sin(r)}},N=function(t){return 180*t/Math.PI},F=function(t,e,r,n,i,o){var a=t+.5*(r-t),s=e+.5*(n-e),c=i+.5*(r-i),l=o+.5*(n-o),f=Math.min(t,i,a,c),h=Math.max(t,i,a,c),d=Math.min(e,o,s,l),p=Math.max(e,o,s,l);return new u(f,d,h-f,p-d)},B=function(t,e,r,n,i,o,a,s){var c,l,f,h,d,p,m,b,v,g,y,w,x,O,_=r-t,S=n-e,k=i-r,E=o-n,M=a-i,C=s-o;for(l=0;l<41;l++)v=(m=(f=t+(c=l/40)*_)+c*((d=r+c*k)-f))+c*(d+c*(i+c*M-d)-m),g=(b=(h=e+c*S)+c*((p=n+c*E)-h))+c*(p+c*(o+c*C-p)-b),0==l?(y=v,w=g,x=v,O=g):(y=Math.min(y,v),w=Math.min(w,g),x=Math.max(x,v),O=Math.max(O,g));return new u(Math.round(y),Math.round(w),Math.round(x-y),Math.round(O-w))},z=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var t,e,r=(t=this.ctx.lineDash,e=this.ctx.lineDashOffset,JSON.stringify({lineDash:t,lineDashOffset:e}));this.prevLineDash!==r&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=r)}}}(B.API),function(t){var e=function(t){var e,r,n,i,o,a,s,c,u,l;for(/[^\x00-\xFF]/.test(t),r=[],n=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>n;n+=4)0!==(o=(t.charCodeAt(n)<<24)+(t.charCodeAt(n+1)<<16)+(t.charCodeAt(n+2)<<8)+t.charCodeAt(n+3))?(a=(o=((o=((o=((o=(o-(l=o%85))/85)-(u=o%85))/85)-(c=o%85))/85)-(s=o%85))/85)%85,r.push(a+33,s+33,c+33,u+33,l+33)):r.push(122);return function(t,e){for(var r=e;r>0;r--)t.pop()}(r,e.length),String.fromCharCode.apply(String,r)+"~>"},r=function(t){var e,r,n,i,o,a=String,s="length",c=255,u="charCodeAt",l="slice",f="replace";for(t[l](-2),t=t[l](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),n=[],i=0,o=(t+=e="uuuuu"[l](t[s]%5||5))[s];o>i;i+=5)r=52200625*(t[u](i)-33)+614125*(t[u](i+1)-33)+7225*(t[u](i+2)-33)+85*(t[u](i+3)-33)+(t[u](i+4)-33),n.push(c&r>>24,c&r>>16,c&r>>8,c&r);return function(t,e){for(var r=e;r>0;r--)t.pop()}(n,e[s]),a.fromCharCode.apply(a,n)},n=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var r="",n=0;n<t.length;n+=2)r+=String.fromCharCode("0x"+(t[n]+t[n+1]));return r},i=function(t){for(var e=new Uint8Array(t.length),r=t.length;r--;)e[r]=t.charCodeAt(r);return(e=Object(o.b)(e)).reduce((function(t,e){return t+String.fromCharCode(e)}),"")};t.processDataByFilters=function(t,o){var a=0,s=t||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),a=0;a<o.length;a+=1)switch(o[a]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=e(s),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)})).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[a]+'" is not implemented')}return{data:s,reverseChain:c.reverse().join(" ")}}}(B.API),(Vt=B.API).loadFile=function(t,e,r){return function(t,e,r){e=!1!==e,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(t,e,r){var n=new XMLHttpRequest,i=0,o=function(t){var e=t.length,r=[],n=String.fromCharCode;for(i=0;i<e;i+=1)r.push(n(255&t.charCodeAt(i)));return r.join("")};if(n.open("GET",t,!e),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(n.onload=function(){200===n.status?r(o(this.responseText)):r(void 0)}),n.send(null),e&&200===n.status)return o(n.responseText)}(t,e,r)}catch(t){}return n}(t,e,r)},Vt.loadImageFile=Vt.loadFile,function(t){function e(){return(a.html2canvas?Promise.resolve(a.html2canvas):r.e(5).then(r.t.bind(null,1329,7))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function n(){return(a.DOMPurify?Promise.resolve(a.DOMPurify):r.e(4).then(r.t.bind(null,1330,7))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var o=function(t){var e=i()(t);return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},s=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},c=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return(n=n.setProgress(1,t,1,[t])).set(e)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(t,e){return t.__proto__=e||c.prototype,t},c.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},c.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(o(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(n).then((function(e){return this.set({src:s("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},c.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},c.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=function t(e,r){for(var n=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),i=e.firstChild;i;i=i.nextSibling)!0!==r&&1===i.nodeType&&"SCRIPT"===i.nodeName||n.appendChild(t(i,r));return 1===e.nodeType&&("CANVAS"===e.nodeName?(n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(n.value=e.value),n.addEventListener("load",(function(){n.scrollTop=e.scrollTop,n.scrollLeft=e.scrollLeft}),!0)),n}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(s("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},c.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},c.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:n,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,e.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.margin=this.opt.margin,e.context2d.fontFaces=r,r)for(var o=0;o<r.length;++o){var a=r[o],s=a.src.find((function(t){return"truetype"===t.format}));s&&e.addFont(s.url,a.ref.name,a.ref.style)}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,e.context2d.save(!0),t(this.prop.container,i)})).then((function(t){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t}))},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},c.prototype.output=function(t,e,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},c.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},c.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+t+'" is not supported.'}}))},c.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},c.prototype.set=function(t){if("object"!==o(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in c.template.prop)return function(){this.prop[e]=t[e]};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e]}}}),this);return this.then((function(){return this.thenList(e)}))},c.prototype.get=function(t,e){return this.then((function(){var r=t in c.template.prop?this.prop[t]:this.opt[t];return e?e(r):r}))},c.prototype.setMargin=function(t){return this.then((function(){switch(o(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t})).then(this.setPageSize)},c.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||B.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t}))},c.prototype.setProgress=function(t,e,r,n){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(t,e,r,n){return this.setProgress(t?this.progress.val+t:null,e||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},c.prototype.then=function(t,e){var r=this;return this.thenCore(t,e,(function(t,e){return r.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return r.updateProgress(null,t),e})).then(t,e).then((function(t){return r.updateProgress(1),t}))}))},c.prototype.thenCore=function(t,e,r){r=r||Promise.prototype.then,t&&(t=t.bind(this)),e&&(e=e.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:c.convert(Object.assign({},this),Promise.prototype),i=r.call(n,t,e);return c.convert(i,this.__proto__)},c.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},c.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t)})),e},c.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return c.convert(e,this)},c.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},c.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,B.getPageSize=function(t,e,r){if("object"===i()(t)){var n=t;t=n.orientation,e=n.unit||e,r=n.format||r}e=e||"mm",r=r||"a4",t=(""+(t||"P")).toLowerCase();var o,a=(""+r).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(e){case"pt":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+e}var c,u=0,l=0;if(s.hasOwnProperty(a))u=s[a][1]/o,l=s[a][0]/o;else try{u=r[1],l=r[0]}catch(Vt){throw new Error("Invalid format: "+r)}if("p"===t||"portrait"===t)t="p",l>u&&(c=l,l=u,u=c);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",u>l&&(c=l,l=u,u=c)}return{width:l,height:u,unit:e,k:o,orientation:t}},t.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(Rt):null;var r=new c(e);return e.worker?r:r.from(t).doCallback()}}(B.API),B.API.addJS=function(t){return qt=t,this.internal.events.subscribe("postPutResources",(function(){Ut=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ut+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Wt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+qt+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ut&&void 0!==Wt&&this.internal.out("/Names <</JavaScript "+Ut+" 0 R>>")})),this},function(t){var e;t.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),i=0;i<n.length;i++){var o=n[i],a=r.exec(o);if(null!=a){var s=a[1];t.internal.newObjectDeferredBegin(s,!1)}t.internal.write(o)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,u=[];for(i=0;i<c;i++){var l=t.internal.newObject();u.push(l);var f=t.internal.getPageInfo(i+1);t.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=t.internal.newObject();for(t.internal.write("<< /Names [ "),i=0;i<u.length;i++)t.internal.write("(page_"+(i+1)+")"+u[i]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+h+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,r){var n={title:e,options:r,children:[]};return null==t&&(t=this.root),t.children.push(n),n},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var r=0;r<e.children.length;r++)this.genIds_r(e.children[r])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<e.children.length;n++){var i=e.children[n];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(e)),n>0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[n+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<e.children.length;s++)this.renderItems(e.children[s])},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var r=0;r<e.children.length;r++)t.count++,this.count_r(t,e.children[r]);return t.count}}])}(B.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(t,r,n,i,o,a){var s,c=this.decode.DCT_DECODE,u=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=o||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,(s=function(t){for(var r,n=256*t.charCodeAt(4)+t.charCodeAt(5),i=t.length,o={width:0,height:0,numcomponents:1},a=4;a<i;a+=2){if(a+=n,-1!==e.indexOf(t.charCodeAt(a+1))){r=256*t.charCodeAt(a+5)+t.charCodeAt(a+6),o={width:256*t.charCodeAt(a+7)+t.charCodeAt(a+8),height:r,numcomponents:t.charCodeAt(a+9)};break}n=256*t.charCodeAt(a+2)+t.charCodeAt(a+3)}return o}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}u={data:t,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:c,index:r,alias:n}}return u}}(B.API);var Yt,Xt,$t,Kt,Zt,Jt=function(){var t,e,r;function n(t){var e,r,n,i,o,a,s,c,u,l,f,h,d,p;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(e=this.readUInt32(),u=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,a.delay=1e3*o/i,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===u&&(this.pos+=4,e-=4),t=(null!=a?a.data:void 0)||this.imgData,h=0;0<=e?h<e:h>e;0<=e?++h:--h)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((l=n-this.transparency.indexed.length)>0)for(d=0;0<=l?d<l:d>l;0<=l?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":s=(f=this.read(e)).indexOf(0),c=String.fromCharCode.apply(String,f.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)r.push(this.data[this.pos++]);return r},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*e),n=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function a(o,a,s,c){var u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A=Math.ceil((i.width-o)/s),T=Math.ceil((i.height-a)/c),P=i.width==A&&i.height==T;for(O=e*A,w=P?r:new Uint8Array(O*T),p=t.length,x=0,l=0;x<T&&n<p;){switch(t[n++]){case 0:for(h=k=0;k<O;h=k+=1)w[l++]=t[n++];break;case 1:for(h=E=0;E<O;h=E+=1)u=t[n++],d=h<e?0:w[l-e],w[l++]=(u+d)%256;break;case 2:for(h=M=0;M<O;h=M+=1)u=t[n++],f=(h-h%e)/e,_=x&&w[(x-1)*O+f*e+h%e],w[l++]=(_+u)%256;break;case 3:for(h=C=0;C<O;h=C+=1)u=t[n++],f=(h-h%e)/e,d=h<e?0:w[l-e],_=x&&w[(x-1)*O+f*e+h%e],w[l++]=(u+Math.floor((d+_)/2))%256;break;case 4:for(h=j=0;j<O;h=j+=1)u=t[n++],f=(h-h%e)/e,d=h<e?0:w[l-e],0===x?_=S=0:(_=w[(x-1)*O+f*e+h%e],S=f&&w[(x-1)*O+(f-1)*e+h%e]),m=d+_-S,b=Math.abs(m-d),g=Math.abs(m-_),y=Math.abs(m-S),v=b<=g&&b<=y?d:g<=y?_:S,w[l++]=(u+v)%256;break;default:throw new Error("Invalid filter algorithm: "+t[n-1])}if(!P){var D=((a+x*c)*i.width+o)*e,R=x*O;for(h=0;h<A;h+=1){for(var L=0;L<e;L+=1)r[D++]=w[R++];D+=(s-1)*e}}x++}}return t=Object(o.a)(t),1==i.interlaceMethod?(a(0,0,8,8),a(4,0,8,8),a(0,4,4,8),a(2,0,4,4),a(0,2,2,4),a(1,0,2,2),a(0,1,1,2)):a(0,0,1,1),r},n.prototype.decodePalette=function(){var t,e,r,n,i,o,a,s,c;for(r=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+r.length),n=0,t=0,e=a=0,s=r.length;a<s;e=a+=3)i[n++]=r[e],i[n++]=r[e+1],i[n++]=r[e+2],i[n++]=null!=(c=o[t++])?c:255;return i},n.prototype.copyToImageData=function(t,e){var r,n,i,o,a,s,c,u,l,f,h;if(n=this.colors,l=null,r=this.hasAlphaChannel,this.palette.length&&(l=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),u=(i=t.data||t).length,a=l||e,o=s=0,1===n)for(;o<u;)c=l?4*e[o/4]:s,f=a[c++],i[o++]=f,i[o++]=f,i[o++]=f,i[o++]=r?a[c++]:255,s=c;else for(;o<u;)c=l?4*e[o/4]:s,i[o++]=a[c++],i[o++]=a[c++],i[o++]=a[c++],i[o++]=r?a[c++]:255,s=c},n.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var i=function(){if("[object Window]"===Object.prototype.toString.call(a)){try{e=a.document.createElement("canvas"),r=e.getContext("2d")}catch(t){return!1}return!0}return!1};return i(),t=function(t){var n;if(!0===i())return r.width=t.width,r.height=t.height,r.clearRect(0,0,t.width,t.height),r.putImageData(t,0,0),(n=new Image).src=e.toDataURL(),n;throw new Error("This method requires a Browser with Canvas-capability.")},n.prototype.decodeFrames=function(e){var r,n,i,o,a,s,c,u;if(this.animation){for(u=[],n=a=0,s=(c=this.animation.frames).length;a<s;n=++a)r=c[n],i=e.createImageData(r.width,r.height),o=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(i,o),r.imageData=i,u.push(r.image=t(i));return u}},n.prototype.renderFrame=function(t,e){var r,n,i;return r=(n=this.animation.frames)[e],i=n[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?t.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&t.putImageData(i.imageData,i.xOffset,i.yOffset),0===r.blendOp&&t.clearRect(r.xOffset,r.yOffset,r.width,r.height),t.drawImage(r.image,r.xOffset,r.yOffset)},n.prototype.animate=function(t){var e,r,n,i,o,a,s=this;return r=0,a=this.animation,i=a.numFrames,n=a.frames,o=a.numPlays,(e=function(){var a,c;if(a=r++%i,c=n[a],s.renderFrame(t,a),i>1&&r/i<o)return s.animation._timeout=setTimeout(e,c.delay)})()},n.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},n.prototype.render=function(t){var e,r;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(r=e.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),e.putImageData(r,0,0))},n}();function Qt(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],o=i>>7,a=1<<1+(7&i);t[e++],t[e++];var s=null,c=null;o&&(s=e,c=a,e+=3*a);var u=!0,l=[],f=0,h=null,d=0,p=null;for(this.width=r,this.height=n;u&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(11!==t[e]||78==t[e+1]&&69==t[e+2]&&84==t[e+3]&&83==t[e+4]&&67==t[e+5]&&65==t[e+6]&&80==t[e+7]&&69==t[e+8]&&50==t[e+9]&&46==t[e+10]&&48==t[e+11]&&3==t[e+12]&&1==t[e+13]&&0==t[e+16])e+=14,p=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((M=t[e++])>=0))throw Error("Invalid block size");if(0===M)break;e+=M}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var m=t[e++];f=t[e++]|t[e++]<<8,h=t[e++],0==(1&m)&&(h=null),d=m>>2&7,e++;break;case 254:for(;;){if(!((M=t[e++])>=0))throw Error("Invalid block size");if(0===M)break;e+=M}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var b=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,g=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,w=t[e++],x=w>>6&1,O=1<<1+(7&w),_=s,S=c,k=!1;w>>7&&(k=!0,_=e,S=O,e+=3*O);var E=e;for(e++;;){var M;if(!((M=t[e++])>=0))throw Error("Invalid block size");if(0===M)break;e+=M}l.push({x:b,y:v,width:g,height:y,has_local_palette:k,palette_offset:_,palette_size:S,data_offset:E,data_length:e-E,transparent_index:h,interlaced:!!x,delay:f,disposal:d});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return l.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=l.length)throw new Error("Frame index out of range.");return l[t]},this.decodeAndBlitFrameBGRA=function(e,n){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);te(t,i.data_offset,a,o);var s=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var u=i.width,l=r-u,f=u,h=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=h,m=4*l;!0===i.interlaced&&(m+=4*r*7);for(var b=8,v=0,g=a.length;v<g;++v){var y=a[v];if(0===f&&(f=u,(p+=m)>=d&&(m=4*l+4*r*(b-1),p=h+(u+l)*(b<<1),b>>=1)),y===c)p+=4;else{var w=t[s+3*y],x=t[s+3*y+1],O=t[s+3*y+2];n[p++]=O,n[p++]=x,n[p++]=w,n[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(e,n){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);te(t,i.data_offset,a,o);var s=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var u=i.width,l=r-u,f=u,h=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=h,m=4*l;!0===i.interlaced&&(m+=4*r*7);for(var b=8,v=0,g=a.length;v<g;++v){var y=a[v];if(0===f&&(f=u,(p+=m)>=d&&(m=4*l+4*r*(b-1),p=h+(u+l)*(b<<1),b>>=1)),y===c)p+=4;else{var w=t[s+3*y],x=t[s+3*y+1],O=t[s+3*y+2];n[p++]=w,n[p++]=x,n[p++]=O,n[p++]=255}--f}}}function te(t,e,r,n){for(var i=t[e++],o=1<<i,a=o+1,s=a+1,u=i+1,l=(1<<u)-1,f=0,h=0,d=0,p=t[e++],m=new Int32Array(4096),b=null;;){for(;f<16&&0!==p;)h|=t[e++]<<f,f+=8,1===p?p=t[e++]:--p;if(f<u)break;var v=h&l;if(h>>=u,f-=u,v!==o){if(v===a)break;for(var g=v<s?v:b,y=0,w=g;w>o;)w=m[w]>>8,++y;var x=w;if(d+y+(g!==v?1:0)>n)return void c.log("Warning, gif stream longer than expected.");r[d++]=x;var O=d+=y;for(g!==v&&(r[d++]=x),w=g;y--;)w=m[w],r[--O]=255&w,w>>=8;null!==b&&s<4096&&(m[s++]=b<<8|x,s>=l+1&&u<12&&(++u,l=l<<1|1)),b=v}else s=a+1,l=(1<<(u=i+1))-1,b=null}return d!==n&&c.log("Warning, gif stream shorter than expected."),r}function ee(t){var e,r,n,i,o,a=Math.floor,s=new Array(64),c=new Array(64),u=new Array(64),l=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),m=[],b=0,v=7,g=new Array(64),y=new Array(64),w=new Array(64),x=new Array(256),O=new Array(2048),_=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],S=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],k=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],M=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],C=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],j=[0,1,2,3,4,5,6,7,8,9,10,11],A=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],T=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function P(t,e){for(var r=0,n=0,i=new Array,o=1;o<=16;o++){for(var a=1;a<=t[o];a++)i[e[n]]=[],i[e[n]][0]=r,i[e[n]][1]=o,n++,r++;r*=2}return i}function D(t){for(var e=t[0],r=t[1]-1;r>=0;)e&1<<r&&(b|=1<<v),r--,--v<0&&(255==b?(R(255),R(0)):R(b),v=7,b=0)}function R(t){m.push(t)}function L(t){R(t>>8&255),R(255&t)}function I(t,e,r,n,i){for(var o,a=i[0],s=i[240],c=function(t,e){var r,n,i,o,a,s,c,u,l,f,h=0;for(l=0;l<8;++l){r=t[h],n=t[h+1],i=t[h+2],o=t[h+3],a=t[h+4],s=t[h+5],c=t[h+6];var p=r+(u=t[h+7]),m=r-u,b=n+c,v=n-c,g=i+s,y=i-s,w=o+a,x=o-a,O=p+w,_=p-w,S=b+g,k=b-g;t[h]=O+S,t[h+4]=O-S;var E=.707106781*(k+_);t[h+2]=_+E,t[h+6]=_-E;var M=.382683433*((O=x+y)-(k=v+m)),C=.5411961*O+M,j=1.306562965*k+M,A=.707106781*(S=y+v),T=m+A,P=m-A;t[h+5]=P+C,t[h+3]=P-C,t[h+1]=T+j,t[h+7]=T-j,h+=8}for(h=0,l=0;l<8;++l){r=t[h],n=t[h+8],i=t[h+16],o=t[h+24],a=t[h+32],s=t[h+40],c=t[h+48];var D=r+(u=t[h+56]),R=r-u,L=n+c,I=n-c,N=i+s,F=i-s,B=o+a,z=o-a,H=D+B,U=D-B,W=L+N,q=L-N;t[h]=H+W,t[h+32]=H-W;var V=.707106781*(q+U);t[h+16]=U+V,t[h+48]=U-V;var G=.382683433*((H=z+F)-(q=I+R)),Y=.5411961*H+G,X=1.306562965*q+G,$=.707106781*(W=F+I),K=R+$,Z=R-$;t[h+40]=Z+Y,t[h+24]=Z-Y,t[h+8]=K+X,t[h+56]=K-X,h++}for(l=0;l<64;++l)f=t[l]*e[l],d[l]=f>0?f+.5|0:f-.5|0;return d}(t,e),u=0;u<64;++u)p[_[u]]=c[u];var l=p[0]-r;r=p[0],0==l?D(n[0]):(D(n[h[o=32767+l]]),D(f[o]));for(var m=63;m>0&&0==p[m];)m--;if(0==m)return D(a),r;for(var b,v=1;v<=m;){for(var g=v;0==p[v]&&v<=m;)++v;var y=v-g;if(y>=16){b=y>>4;for(var w=1;w<=b;++w)D(s);y&=15}o=32767+p[v],D(i[(y<<4)+h[o]]),D(f[o]),v++}return 63!=m&&D(a),r}function N(t){t=Math.min(Math.max(t,1),100),o!=t&&(function(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=a((e[r]*t+50)/100);n=Math.min(Math.max(n,1),255),s[_[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var f=a((i[o]*t+50)/100);f=Math.min(Math.max(f,1),255),c[_[o]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var m=0;m<8;m++)u[d]=1/(s[_[d]]*h[p]*h[m]*8),l[d]=1/(c[_[d]]*h[p]*h[m]*8),d++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),o=t)}this.encode=function(t,o){o&&N(o),m=new Array,b=0,v=7,L(65496),L(65504),L(16),R(74),R(70),R(73),R(70),R(0),R(1),R(1),R(0),L(1),L(1),R(0),R(0),function(){L(65499),L(132),R(0);for(var t=0;t<64;t++)R(s[t]);R(1);for(var e=0;e<64;e++)R(c[e])}(),function(t,e){L(65472),L(17),R(8),L(e),L(t),R(3),R(1),R(17),R(0),R(2),R(17),R(1),R(3),R(17),R(1)}(t.width,t.height),function(){L(65476),L(418),R(0);for(var t=0;t<16;t++)R(S[t+1]);for(var e=0;e<=11;e++)R(k[e]);R(16);for(var r=0;r<16;r++)R(E[r+1]);for(var n=0;n<=161;n++)R(M[n]);R(1);for(var i=0;i<16;i++)R(C[i+1]);for(var o=0;o<=11;o++)R(j[o]);R(17);for(var a=0;a<16;a++)R(A[a+1]);for(var s=0;s<=161;s++)R(T[s])}(),L(65498),L(12),R(3),R(1),R(0),R(2),R(17),R(3),R(17),R(0),R(63),R(0);var a=0,f=0,h=0;b=0,v=7,this.encode.displayName="_encode_";for(var d,p,x,_,P,F,B,z,H,U=t.data,W=t.width,q=t.height,V=4*W,G=0;G<q;){for(d=0;d<V;){for(P=V*G+d,B=-1,z=0,H=0;H<64;H++)F=P+(z=H>>3)*V+(B=4*(7&H)),G+z>=q&&(F-=V*(G+1+z-q)),d+B>=V&&(F-=d+B-V+4),p=U[F++],x=U[F++],_=U[F++],g[H]=(O[p]+O[x+256>>0]+O[_+512>>0]>>16)-128,y[H]=(O[p+768>>0]+O[x+1024>>0]+O[_+1280>>0]>>16)-128,w[H]=(O[p+1280>>0]+O[x+1536>>0]+O[_+1792>>0]>>16)-128;a=I(g,u,a,e,n),f=I(y,l,f,r,i),h=I(w,l,h,r,i),d+=32}G+=8}if(v>=0){var Y=[];Y[1]=v+1,Y[0]=(1<<v+1)-1,D(Y)}return L(65497),new Uint8Array(m)},t=t||50,function(){for(var t=String.fromCharCode,e=0;e<256;e++)x[e]=t(e)}(),e=P(S,k),r=P(C,j),n=P(E,M),i=P(A,T),function(){for(var t=1,e=2,r=1;r<=15;r++){for(var n=t;n<e;n++)h[32767+n]=r,f[32767+n]=[],f[32767+n][1]=r,f[32767+n][0]=n;for(var i=-(e-1);i<=-t;i++)h[32767+i]=r,f[32767+i]=[],f[32767+i][1]=r,f[32767+i][0]=e-1+i;t<<=1,e<<=1}}(),function(){for(var t=0;t<256;t++)O[t]=19595*t,O[t+256>>0]=38470*t,O[t+512>>0]=7471*t+32768,O[t+768>>0]=-11059*t,O[t+1024>>0]=-21709*t,O[t+1280>>0]=32768*t+8421375,O[t+1536>>0]=-27439*t,O[t+1792>>0]=-5329*t}(),N(t)}function re(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function ne(t){function e(t){if(!t)throw Error("assert :P")}function r(t,e,r){for(var n=0;4>n;n++)if(t[e+n]!=r.charCodeAt(n))return!0;return!1}function n(t,e,r,n,i){for(var o=0;o<i;o++)t[e+o]=r[n+o]}function i(t,e,r,n){for(var i=0;i<n;i++)t[e+i]=r}function o(t){return new Int32Array(t)}function a(t,e){for(var r=[],n=0;n<t;n++)r.push(new e);return r}function s(t,e){var r=[];return function t(r,n,i){for(var o=i[n],a=0;a<o&&(r.push(i.length>n+1?[]:new e),!(i.length<n+1));a++)t(r[a],n+1,i)}(r,0,t),r}var c=function(){var t=this;function c(t,e){for(var r=1<<e-1>>>0;t&r;)r>>>=1;return r?(t&r-1)+r:t}function u(t,r,n,i,o){e(!(i%n));do{t[r+(i-=n)]=o}while(0<i)}function l(t,r,n,i,a){if(e(2328>=a),512>=a)var s=o(512);else if(null==(s=o(a)))return 0;return function(t,r,n,i,a,s){var l,h,d=r,p=1<<n,m=o(16),b=o(16);for(e(0!=a),e(null!=i),e(null!=t),e(0<n),h=0;h<a;++h){if(15<i[h])return 0;++m[i[h]]}if(m[0]==a)return 0;for(b[1]=0,l=1;15>l;++l){if(m[l]>1<<l)return 0;b[l+1]=b[l]+m[l]}for(h=0;h<a;++h)l=i[h],0<i[h]&&(s[b[l]++]=h);if(1==b[15])return(i=new f).g=0,i.value=s[0],u(t,d,1,p,i),p;var v,g=-1,y=p-1,w=0,x=1,O=1,_=1<<n;for(h=0,l=1,a=2;l<=n;++l,a<<=1){if(x+=O<<=1,0>(O-=m[l]))return 0;for(;0<m[l];--m[l])(i=new f).g=l,i.value=s[h++],u(t,d+w,a,_,i),w=c(w,l)}for(l=n+1,a=2;15>=l;++l,a<<=1){if(x+=O<<=1,0>(O-=m[l]))return 0;for(;0<m[l];--m[l]){if(i=new f,(w&y)!=g){for(d+=_,v=1<<(g=l)-n;15>g&&!(0>=(v-=m[g]));)++g,v<<=1;p+=_=1<<(v=g-n),t[r+(g=w&y)].g=v+n,t[r+g].value=d-r-g}i.g=l-n,i.value=s[h++],u(t,d+(w>>n),a,_,i),w=c(w,l)}}return x!=2*b[15]-1?0:p}(t,r,n,i,a,s)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=a(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Fr,h)}function p(t,r,n,i){e(null!=t),e(null!=r),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=r,t.pa=n,t.Jd=r,t.Yc=n+i,t.Zc=4<=i?n+i-4+1:n,E(t)}function m(t,e){for(var r=0;0<e--;)r|=C(t,128)<<e;return r}function b(t,e){var r=m(t,e);return M(t)?-r:r}function v(t,r,n,i){var o,a=0;for(e(null!=t),e(null!=r),e(4294967288>i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4<i&&(i=4),o=0;o<i;++o)a+=r[n+o]<<8*o;t.Ra=a,t.bb=i,t.oa=r,t.pa=n}function g(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<Hr-8>>>0,++t.bb,t.u-=8;_(t)&&(t.h=1,t.u=0)}function y(t,r){if(e(0<=r),!t.h&&r<=zr){var n=O(t)&Br[r];return t.u+=r,g(t),n}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function x(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function O(t){return t.Ra>>>(t.u&Hr-1)>>>0}function _(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Hr}function S(t,e){t.u=e,t.h=_(t)}function k(t){t.u>=Ur&&(e(t.u>=Ur),g(t))}function E(t){e(null!=t&&null!=t.oa),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function M(t){return m(t,1)}function C(t,e){var r=t.Ca;0>t.b&&E(t);var n=t.b,i=r*e>>>8,o=(t.I>>>n>i)+0;for(o?(r-=i,t.I-=i+1<<n>>>0):r=i+1,n=r,i=0;256<=n;)i+=8,n>>=8;return n=7^i+Wr[n],t.b-=n,t.Ca=(r<<n)-1,o}function j(t,e,r){t[e+0]=r>>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r>>0&255}function A(t,e){return t[e+0]<<0|t[e+1]<<8}function T(t,e){return A(t,e)|t[e+2]<<16}function P(t,e){return A(t,e)|A(t,e+2)<<16}function D(t,r){var n=1<<r;return e(null!=t),e(0<r),t.X=o(n),null==t.X?0:(t.Mb=32-r,t.Xa=r,1)}function R(t,r){e(null!=t),e(null!=r),e(t.Xa==r.Xa),n(r.X,0,t.X,0,1<<r.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function I(t,r,n,i){e(null!=n),e(null!=i);var o=n[0],a=i[0];return 0==o&&(o=(t*a+r/2)/r),0==a&&(a=(r*o+t/2)/t),0>=o||0>=a?0:(n[0]=o,i[0]=a,1)}function N(t,e){return t+(1<<e)-1>>>e}function F(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function B(e,r){t[r]=function(r,n,i,o,a,s,c){var u;for(u=0;u<a;++u){var l=t[e](s[c+u-1],i,o+u);s[c+u]=F(r[n+u],l)}}}function z(){this.ud=this.hd=this.jd=0}function H(t,e){return((4278124286&(t^e))>>>1)+(t&e)>>>0}function U(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function W(t,e){return U(t+(t-e+.5>>1))}function q(t,e,r){return Math.abs(e-r)-Math.abs(t-r)}function V(t,e,r,n,i,o,a){for(n=o[a-1],r=0;r<i;++r)o[a+r]=n=F(t[e+r],n)}function G(t,e,r,n,i){var o;for(o=0;o<r;++o){var a=t[e+o],s=a>>8&255,c=16711935&(c=(c=16711935&a)+((s<<16)+s));n[i+o]=(4278255360&a)+c>>>0}}function Y(t,e){e.jd=t>>0&255,e.hd=t>>8&255,e.ud=t>>16&255}function X(t,e,r,n,i,o){var a;for(a=0;a<n;++a){var s=e[r+a],c=s>>>8,u=s,l=255&(l=(l=s>>>16)+((t.jd<<24>>24)*(c<<24>>24)>>>5));u=255&(u=(u+=(t.hd<<24>>24)*(c<<24>>24)>>>5)+((t.ud<<24>>24)*(l<<24>>24)>>>5)),i[o+a]=(4278255360&s)+(l<<16)+u}}function $(e,r,n,i,o){t[r]=function(t,e,r,n,a,s,c,u,l){for(n=c;n<u;++n)for(c=0;c<l;++c)a[s++]=o(r[i(t[e++])])},t[e]=function(e,r,a,s,c,u,l){var f=8>>e.b,h=e.Ea,d=e.K[0],p=e.w;if(8>f)for(e=(1<<e.b)-1,p=(1<<f)-1;r<a;++r){var m,b=0;for(m=0;m<h;++m)m&e||(b=i(s[c++])),u[l++]=o(d[b&p]),b>>=f}else t["VP8LMapColor"+n](s,c,d,p,u,l,r,a,h)}}function K(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=o>>0&255}}function Z(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=o>>0&255,n[i++]=o>>24&255}}function J(t,e,r,n,i){for(r=e+r;e<r;){var o=(a=t[e++])>>16&240|a>>12&15,a=a>>0&240|a>>28&15;n[i++]=o,n[i++]=a}}function Q(t,e,r,n,i){for(r=e+r;e<r;){var o=(a=t[e++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;n[i++]=o,n[i++]=a}}function tt(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>0&255,n[i++]=o>>8&255,n[i++]=o>>16&255}}function et(t,e,r,i,o,a){if(0==a)for(r=e+r;e<r;)j(i,((a=t[e++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),o+=32;else n(i,o,t,e,r)}function rt(e,r){t[r][0]=t[e+"0"],t[r][1]=t[e+"1"],t[r][2]=t[e+"2"],t[r][3]=t[e+"3"],t[r][4]=t[e+"4"],t[r][5]=t[e+"5"],t[r][6]=t[e+"6"],t[r][7]=t[e+"7"],t[r][8]=t[e+"8"],t[r][9]=t[e+"9"],t[r][10]=t[e+"10"],t[r][11]=t[e+"11"],t[r][12]=t[e+"12"],t[r][13]=t[e+"13"],t[r][14]=t[e+"0"],t[r][15]=t[e+"0"]}function nt(t){return t==Wn||t==qn||t==Vn||t==Gn}function it(){this.eb=[],this.size=this.A=this.fb=0}function ot(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function at(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new ot,this.sd=null}function st(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ct(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ut(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function lt(t,e){var r=t.T,i=e.ba.f.RGBA,o=i.eb,a=i.fb+t.ka*i.A,s=vi[e.ba.S],c=t.y,u=t.O,l=t.f,f=t.N,h=t.ea,d=t.W,p=e.cc,m=e.dc,b=e.Mc,v=e.Nc,g=t.ka,y=t.ka+t.T,w=t.U,x=w+1>>1;for(0==g?s(c,u,null,null,l,f,h,d,l,f,h,d,o,a,null,null,w):(s(e.ec,e.fc,c,u,p,m,b,v,l,f,h,d,o,a-i.A,o,a,w),++r);g+2<y;g+=2)p=l,m=f,b=h,v=d,f+=t.Rc,d+=t.Rc,a+=2*i.A,s(c,(u+=2*t.fa)-t.fa,c,u,p,m,b,v,l,f,h,d,o,a-i.A,o,a,w);return u+=t.fa,t.j+y<t.o?(n(e.ec,e.fc,c,u,w),n(e.cc,e.dc,l,f,x),n(e.Mc,e.Nc,h,d,x),r--):1&y||s(c,u,null,null,l,f,h,d,l,f,h,d,o,a+i.A,null,null,w),r}function ft(t,r,n){var i=t.F,o=[t.J];if(null!=i){var a=t.U,s=r.ba.S,c=s==zn||s==Vn;r=r.ba.f.RGBA;var u=[0],l=t.ka;u[0]=t.T,t.Kb&&(0==l?--u[0]:(--l,o[0]-=t.width),t.j+t.ka+t.T==t.o&&(u[0]=t.o-t.j-l));var f=r.eb;l=r.fb+l*r.A,t=kn(i,o[0],t.width,a,u,f,l+(c?0:3),r.A),e(n==u),t&&nt(s)&&_n(f,l,c,a,u,r.A)}return 0}function ht(t){var e=t.ma,r=e.ba.S,n=11>r,i=r==Nn||r==Bn||r==zn||r==Hn||12==r||nt(r);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Lr(e.Oa,t,i?11:12))return 0;if(i&&nt(r)&&gr(),t.da)alert("todo:use_scaling");else{if(n){if(e.Ib=ut,t.Kb){if(r=t.U+1>>1,e.memory=o(t.U+2*r),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+r,e.Ib=lt,gr()}}else alert("todo:EmitYUV");i&&(e.Jb=ft,n&&br())}if(n&&!Ti){for(t=0;256>t;++t)Pi[t]=89858*(t-128)+Ei>>ki,Li[t]=-22014*(t-128)+Ei,Ri[t]=-45773*(t-128),Di[t]=113618*(t-128)+Ei>>ki;for(t=Mi;t<Ci;++t)e=76283*(t-16)+Ei>>ki,Ii[t-Mi]=Vt(e,255),Ni[t-Mi]=Vt(e+8>>4,15);Ti=1}return 1}function dt(t){var r=t.ma,n=t.U,i=t.T;return e(!(1&t.ka)),0>=n||0>=i?0:(n=r.Ib(t,r),null!=r.Jb&&r.Jb(t,r,n),r.Dc+=n,1)}function pt(t){t.ma.memory=null}function mt(t,e,r,n){return 47!=y(t,8)?0:(e[0]=y(t,14)+1,r[0]=y(t,14)+1,n[0]=y(t,1),0!=y(t,3)?0:!t.h)}function bt(t,e){if(4>t)return t+1;var r=t-2>>1;return(2+(1&t)<<r)+y(e,r)+1}function vt(t,e){return 120<e?e-120:1<=(r=((r=Jn[e-1])>>4)*t+(8-(15&r)))?r:1;var r}function gt(t,e,r){var n=O(r),i=t[e+=255&n].g-8;return 0<i&&(S(r,r.u+8),n=O(r),e+=t[e].value,e+=n&(1<<i)-1),S(r,r.u+t[e].g),t[e].value}function yt(t,r,n){return n.g+=t.g,n.value+=t.value<<r>>>0,e(8>=n.g),t.g}function wt(t,r,n){var i=t.xc;return e((r=0==i?0:t.vc[t.md*(n>>i)+(r>>i)])<t.Wb),t.Ya[r]}function xt(t,r,i,o){var a=t.ab,s=t.c*r,c=t.C;r=c+r;var u=i,l=o;for(o=t.Ta,i=t.Ua;0<a--;){var f=t.gc[a],h=c,d=r,p=u,m=l,b=(l=o,u=i,f.Ea);switch(e(h<d),e(d<=f.nc),f.hc){case 2:Gr(p,m,(d-h)*b,l,u);break;case 0:var v=h,g=d,y=l,w=u,x=(E=f).Ea;0==v&&(qr(p,m,null,null,1,y,w),V(p,m+1,0,0,x-1,y,w+1),m+=x,w+=x,++v);for(var O=1<<E.b,_=O-1,S=N(x,E.b),k=E.K,E=E.w+(v>>E.b)*S;v<g;){var M=k,C=E,j=1;for(Vr(p,m,y,w-x,1,y,w);j<x;){var A=(j&~_)+O;A>x&&(A=x),(0,Zr[M[C++]>>8&15])(p,m+ +j,y,w+j-x,A-j,y,w+j),j=A}m+=x,w+=x,++v&_||(E+=S)}d!=f.nc&&n(l,u-b,l,u+(d-h-1)*b,b);break;case 1:for(b=p,g=m,x=(p=f.Ea)-(w=p&~(y=(m=1<<f.b)-1)),v=N(p,f.b),O=f.K,f=f.w+(h>>f.b)*v;h<d;){for(_=O,S=f,k=new z,E=g+w,M=g+p;g<E;)Y(_[S++],k),Jr(k,b,g,m,l,u),g+=m,u+=m;g<M&&(Y(_[S++],k),Jr(k,b,g,x,l,u),g+=x,u+=x),++h&y||(f+=v)}break;case 3:if(p==l&&m==u&&0<f.b){for(g=l,p=b=u+(d-h)*b-(w=(d-h)*N(f.Ea,f.b)),m=l,y=u,v=[],w=(x=w)-1;0<=w;--w)v[w]=m[y+w];for(w=x-1;0<=w;--w)g[p+w]=v[w];Yr(f,h,d,l,b,l,u)}else Yr(f,h,d,p,m,l,u)}u=o,l=i}l!=i&&n(o,i,u,l,s)}function Ot(t,r){var n=t.V,i=t.Ba+t.c*t.C,o=r-t.C;if(e(r<=t.l.o),e(16>=o),0<o){var a=t.l,s=t.Ta,c=t.Ua,u=a.width;if(xt(t,o,n,i),o=c=[c],e((n=t.C)<(i=r)),e(a.v<a.va),i>a.o&&(i=a.o),n<a.j){var l=a.j-n;n=a.j,o[0]+=l*u}if(n>=i?n=0:(o[0]+=4*a.v,a.ka=n-a.j,a.U=a.va-a.v,a.T=i-n,n=1),n){if(c=c[0],11>(n=t.ca).S){var f=n.f.RGBA,h=(i=n.S,o=a.U,a=a.T,l=f.eb,f.A),d=a;for(f=f.fb+t.Ma*f.A;0<d--;){var p=s,m=c,b=o,v=l,g=f;switch(i){case In:Qr(p,m,b,v,g);break;case Nn:tn(p,m,b,v,g);break;case Wn:tn(p,m,b,v,g),_n(v,g,0,b,1,0);break;case Fn:nn(p,m,b,v,g);break;case Bn:et(p,m,b,v,g,1);break;case qn:et(p,m,b,v,g,1),_n(v,g,0,b,1,0);break;case zn:et(p,m,b,v,g,0);break;case Vn:et(p,m,b,v,g,0),_n(v,g,1,b,1,0);break;case Hn:en(p,m,b,v,g);break;case Gn:en(p,m,b,v,g),Sn(v,g,b,1,0);break;case Un:rn(p,m,b,v,g);break;default:e(0)}c+=u,f+=h}t.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=n.height)}}t.C=r,e(t.C<=t.i)}function _t(t){var e;if(0<t.ua)return 0;for(e=0;e<t.Wb;++e){var r=t.Ya[e].G,n=t.Ya[e].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function St(t,r,n,i,o,a){if(0!=t.Z){var s=t.qd,c=t.rd;for(e(null!=bi[t.Z]);r<n;++r)bi[t.Z](s,c,i,o,i,o,a),s=i,c=o,o+=a;t.qd=s,t.rd=c}}function kt(t,r){var n=t.l.ma,i=0==n.Z||1==n.Z?t.l.j:t.C;if(i=t.C<i?i:t.C,e(r<=t.l.o),r>i){var o=t.l.width,a=n.ca,s=n.tb+o*i,c=t.V,u=t.Ba+t.c*i,l=t.gc;e(1==t.ab),e(3==l[0].hc),$r(l[0],i,r,c,u,a,s),St(n,i,r,a,s,o)}t.C=t.Ma=r}function Et(t,r,n,i,o,a,s){var c=t.$/i,u=t.$%i,l=t.m,f=t.s,h=n+t.$,d=h;o=n+i*o;var p=n+i*a,m=280+f.ua,b=t.Pb?c:16777216,v=0<f.ua?f.Wa:null,g=f.wc,y=h<p?wt(f,u,c):null;e(t.C<a),e(p<=o);var w=!1;t:for(;;){for(;w||h<p;){var x=0;if(c>=b){var E=h-n;e((b=t).Pb),b.wd=b.m,b.xd=E,0<b.s.ua&&R(b.s.Wa,b.s.vb),b=c+ti}if(u&g||(y=wt(f,u,c)),e(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if(k(l),y.jc){x=l,E=r;var M=h,C=y.pd[O(x)&Fr-1];e(y.jc),256>C.g?(S(x,x.u+C.g),E[M]=C.value,x=0):(S(x,x.u+C.g-256),e(256<=C.value),x=C.value),0==x&&(w=!0)}else x=gt(y.G[0],y.H[0],l);if(l.h)break;if(w||256>x){if(!w)if(y.nd)r[h]=(y.qb|x<<8)>>>0;else{if(k(l),w=gt(y.G[1],y.H[1],l),k(l),E=gt(y.G[2],y.H[2],l),M=gt(y.G[3],y.H[3],l),l.h)break;r[h]=(M<<24|w<<16|x<<8|E)>>>0}if(w=!1,++h,++u>=i&&(u=0,++c,null!=s&&c<=a&&!(c%16)&&s(t,c),null!=v))for(;d<h;)x=r[d++],v.X[(506832829*x&4294967295)>>>v.Mb]=x}else if(280>x){if(x=bt(x-256,l),E=gt(y.G[4],y.H[4],l),k(l),E=vt(i,E=bt(E,l)),l.h)break;if(h-n<E||o-h<x)break t;for(M=0;M<x;++M)r[h+M]=r[h+M-E];for(h+=x,u+=x;u>=i;)u-=i,++c,null!=s&&c<=a&&!(c%16)&&s(t,c);if(e(h<=o),u&g&&(y=wt(f,u,c)),null!=v)for(;d<h;)x=r[d++],v.X[(506832829*x&4294967295)>>>v.Mb]=x}else{if(!(x<m))break t;for(w=x-280,e(null!=v);d<h;)x=r[d++],v.X[(506832829*x&4294967295)>>>v.Mb]=x;x=h,e(!(w>>>(E=v).Xa)),r[x]=E.X[w],w=!0}w||e(l.h==_(l))}if(t.Pb&&l.h&&h<o)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&R(t.s.vb,t.s.Wa);else{if(l.h)break t;null!=s&&s(t,c>a?a:c),t.a=0,t.$=h-n}return 1}return t.a=3,0}function Mt(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var r=t.Wa;null!=r&&(r.X=null),t.vb=null,e(null!=t)}function Ct(){var e=new ar;return null==e?null:(e.a=0,e.xb=mi,rt("Predictor","VP8LPredictors"),rt("Predictor","VP8LPredictors_C"),rt("PredictorAdd","VP8LPredictorsAdd"),rt("PredictorAdd","VP8LPredictorsAdd_C"),Gr=G,Jr=X,Qr=K,tn=Z,en=J,rn=Q,nn=tt,t.VP8LMapColor32b=Xr,t.VP8LMapColor8b=Kr,e)}function jt(t,r,n,s,c){var u=1,h=[t],p=[r],m=s.m,b=s.s,v=null,g=0;t:for(;;){if(n)for(;u&&y(m,1);){var w=h,x=p,_=s,E=1,M=_.m,C=_.gc[_.ab],j=y(M,2);if(_.Oc&1<<j)u=0;else{switch(_.Oc|=1<<j,C.hc=j,C.Ea=w[0],C.nc=x[0],C.K=[null],++_.ab,e(4>=_.ab),j){case 0:case 1:C.b=y(M,3)+2,E=jt(N(C.Ea,C.b),N(C.nc,C.b),0,_,C.K),C.K=C.K[0];break;case 3:var A,T=y(M,8)+1,P=16<T?0:4<T?1:2<T?2:3;if(w[0]=N(C.Ea,P),C.b=P,A=E=jt(T,1,0,_,C.K)){var R,L=T,I=C,B=1<<(8>>I.b),z=o(B);if(null==z)A=0;else{var H=I.K[0],U=I.w;for(z[0]=I.K[0][0],R=1;R<1*L;++R)z[R]=F(H[U+R],z[R-1]);for(;R<4*B;++R)z[R]=0;I.K[0]=null,I.K[0]=z,A=1}}E=A;break;case 2:break;default:e(0)}u=E}}if(h=h[0],p=p[0],u&&y(m,1)&&!(u=1<=(g=y(m,4))&&11>=g)){s.a=3;break t}var W;if(W=u)e:{var q,V,G,Y=s,X=h,$=p,K=g,Z=n,J=Y.m,Q=Y.s,tt=[null],et=1,rt=0,nt=Qn[K];r:for(;;){if(Z&&y(J,1)){var it=y(J,3)+2,ot=N(X,it),at=N($,it),st=ot*at;if(!jt(ot,at,0,Y,tt))break r;for(tt=tt[0],Q.xc=it,q=0;q<st;++q){var ct=tt[q]>>8&65535;tt[q]=ct,ct>=et&&(et=ct+1)}}if(J.h)break r;for(V=0;5>V;++V){var ut=$n[V];!V&&0<K&&(ut+=1<<K),rt<ut&&(rt=ut)}var lt=a(et*nt,f),ft=et,ht=a(ft,d);if(null==ht)var dt=null;else e(65536>=ft),dt=ht;var pt=o(rt);if(null==dt||null==pt||null==lt){Y.a=1;break r}var mt=lt;for(q=G=0;q<et;++q){var bt=dt[q],vt=bt.G,gt=bt.H,wt=0,xt=1,Ot=0;for(V=0;5>V;++V){ut=$n[V],vt[V]=mt,gt[V]=G,!V&&0<K&&(ut+=1<<K);n:{var _t,St=ut,kt=Y,Ct=pt,At=mt,Tt=G,Pt=0,Dt=kt.m,Rt=y(Dt,1);if(i(Ct,0,0,St),Rt){var Lt=y(Dt,1)+1,It=y(Dt,1),Nt=y(Dt,0==It?1:8);Ct[Nt]=1,2==Lt&&(Ct[Nt=y(Dt,8)]=1);var Ft=1}else{var Bt=o(19),zt=y(Dt,4)+4;if(19<zt){kt.a=3;var Ht=0;break n}for(_t=0;_t<zt;++_t)Bt[Zn[_t]]=y(Dt,3);var Ut=void 0,Wt=void 0,qt=kt,Vt=Bt,Gt=St,Yt=Ct,Xt=0,$t=qt.m,Kt=8,Zt=a(128,f);i:for(;l(Zt,0,7,Vt,19);){if(y($t,1)){var Jt=2+2*y($t,3);if((Ut=2+y($t,Jt))>Gt)break i}else Ut=Gt;for(Wt=0;Wt<Gt&&Ut--;){k($t);var Qt=Zt[0+(127&O($t))];S($t,$t.u+Qt.g);var te=Qt.value;if(16>te)Yt[Wt++]=te,0!=te&&(Kt=te);else{var ee=16==te,re=te-16,ne=Xn[re],ie=y($t,Yn[re])+ne;if(Wt+ie>Gt)break i;for(var oe=ee?Kt:0;0<ie--;)Yt[Wt++]=oe}}Xt=1;break i}Xt||(qt.a=3),Ft=Xt}(Ft=Ft&&!Dt.h)&&(Pt=l(At,Tt,8,Ct,St)),Ft&&0!=Pt?Ht=Pt:(kt.a=3,Ht=0)}if(0==Ht)break r;if(xt&&1==Kn[V]&&(xt=0==mt[G].g),wt+=mt[G].g,G+=Ht,3>=V){var ae,se=pt[0];for(ae=1;ae<ut;++ae)pt[ae]>se&&(se=pt[ae]);Ot+=se}}if(bt.nd=xt,bt.Qb=0,xt&&(bt.qb=(vt[3][gt[3]+0].value<<24|vt[1][gt[1]+0].value<<16|vt[2][gt[2]+0].value)>>>0,0==wt&&256>vt[0][gt[0]+0].value&&(bt.Qb=1,bt.qb+=vt[0][gt[0]+0].value<<8)),bt.jc=!bt.Qb&&6>Ot,bt.jc){var ce,ue=bt;for(ce=0;ce<Fr;++ce){var le=ce,fe=ue.pd[le],he=ue.G[0][ue.H[0]+le];256<=he.value?(fe.g=he.g+256,fe.value=he.value):(fe.g=0,fe.value=0,le>>=yt(he,8,fe),le>>=yt(ue.G[1][ue.H[1]+le],16,fe),le>>=yt(ue.G[2][ue.H[2]+le],0,fe),yt(ue.G[3][ue.H[3]+le],24,fe))}}}Q.vc=tt,Q.Wb=et,Q.Ya=dt,Q.yc=lt,W=1;break e}W=0}if(!(u=W)){s.a=3;break t}if(0<g){if(b.ua=1<<g,!D(b.Wa,g)){s.a=1,u=0;break t}}else b.ua=0;var de=s,pe=h,me=p,be=de.s,ve=be.xc;if(de.c=pe,de.i=me,be.md=N(pe,ve),be.wc=0==ve?-1:(1<<ve)-1,n){s.xb=pi;break t}if(null==(v=o(h*p))){s.a=1,u=0;break t}u=(u=Et(s,v,0,h,p,p,null))&&!m.h;break t}return u?(null!=c?c[0]=v:(e(null==v),e(n)),s.$=0,n||Mt(b)):Mt(b),u}function At(t,r){var n=t.c*t.i,i=n+r+16*r;return e(t.c<=r),t.V=o(i),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+n+r,1)}function Tt(t,r){var n=t.C,i=r-n,o=t.V,a=t.Ba+t.c*n;for(e(r<=t.l.o);0<i;){var s=16<i?16:i,c=t.l.ma,u=t.l.width,l=u*s,f=c.ca,h=c.tb+u*n,d=t.Ta,p=t.Ua;xt(t,s,o,a),En(d,p,f,h,l),St(c,n,n+s,f,h,u),i-=s,o+=s*t.c,n+=s}e(n==r),t.C=t.Ma=r}function Pt(){this.ub=this.yd=this.td=this.Rb=0}function Dt(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Rt(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Lt(){this.Yb=function(){var t=[];return function t(e,r,n){for(var i=n[r],o=0;o<i&&(e.push(n.length>r+1?[]:0),!(n.length<r+1));o++)t(e[o],r+1,n)}(t,0,[3,11]),t}()}function It(){this.jb=o(3),this.Wc=s([4,8],Lt),this.Xc=s([4,17],Lt)}function Nt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Ft(){this.ld=this.La=this.dd=this.tc=0}function Bt(){this.Na=this.la=0}function zt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ht(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ut(){this.uc=this.M=this.Nb=0,this.wa=Array(new Ft),this.Y=0,this.ya=Array(new Ht),this.aa=0,this.l=new Gt}function Wt(){this.y=o(16),this.f=o(8),this.ea=o(8)}function qt(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Pt,this.Kc=new Dt,this.ed=new Nt,this.Qa=new Rt,this.Ic=this.$c=this.Aa=0,this.D=new Ut,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,w),this.ia=0,this.pb=a(4,zt),this.Pa=new It,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Wt),this.Hd=0,this.rb=Array(new Bt),this.sb=0,this.wa=Array(new Ft),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ht),this.L=this.aa=0,this.gd=s([4,2],Ft),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Vt(t,e){return 0>t?0:t>e?e:t}function Gt(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Yt(){var t=new qt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ni||(ni=Zt)),t}function Xt(t,e,r){return 0==t.a&&(t.a=e,t.sc=r,t.cb=0),0}function $t(t,e,r){return 3<=r&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Kt(t,r){if(null==t)return 0;if(t.a=0,t.sc="OK",null==r)return Xt(t,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,o=r.w,a=r.ha;if(4>a)return Xt(t,7,"Truncated header.");var s=n[o+0]|n[o+1]<<8|n[o+2]<<16,c=t.Od;if(c.Rb=!(1&s),c.td=s>>1&7,c.yd=s>>4&1,c.ub=s>>5,3<c.td)return Xt(t,3,"Incorrect keyframe parameters.");if(!c.yd)return Xt(t,4,"Frame not displayable.");o+=3,a-=3;var u=t.Kc;if(c.Rb){if(7>a)return Xt(t,7,"cannot parse picture header");if(!$t(n,o,a))return Xt(t,3,"Bad code word");u.c=16383&(n[o+4]<<8|n[o+3]),u.Td=n[o+4]>>6,u.i=16383&(n[o+6]<<8|n[o+5]),u.Ud=n[o+6]>>6,o+=7,a-=7,t.za=u.c+15>>4,t.Ub=u.i+15>>4,r.width=u.c,r.height=u.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,i((s=t.Pa).jb,0,255,s.jb.length),e(null!=(s=t.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(c.ub>a)return Xt(t,7,"bad partition length");p(s=t.m,n,o,c.ub),o+=c.ub,a-=c.ub,c.Rb&&(u.Ld=M(s),u.Kd=M(s)),u=t.Qa;var l,f=t.Pa;if(e(null!=s),e(null!=u),u.Cb=M(s),u.Cb){if(u.Bb=M(s),M(s)){for(u.Fb=M(s),l=0;4>l;++l)u.Zb[l]=M(s)?b(s,7):0;for(l=0;4>l;++l)u.Lb[l]=M(s)?b(s,6):0}if(u.Bb)for(l=0;3>l;++l)f.jb[l]=M(s)?m(s,8):255}else u.Bb=0;if(s.Ka)return Xt(t,3,"cannot parse segment header");if((u=t.ed).zd=M(s),u.Tb=m(s,6),u.wb=m(s,3),u.Pc=M(s),u.Pc&&M(s)){for(f=0;4>f;++f)M(s)&&(u.vd[f]=b(s,6));for(f=0;4>f;++f)M(s)&&(u.od[f]=b(s,6))}if(t.L=0==u.Tb?0:u.zd?1:2,s.Ka)return Xt(t,3,"cannot parse filter header");var h=a;if(a=l=o,o=l+h,u=h,t.Xb=(1<<m(t.m,2))-1,h<3*(f=t.Xb))n=7;else{for(l+=3*f,u-=3*f,h=0;h<f;++h){var d=n[a+0]|n[a+1]<<8|n[a+2]<<16;d>u&&(d=u),p(t.Jc[+h],n,l,d),l+=d,u-=d,a+=3}p(t.Jc[+f],n,l,u),n=l<o?0:5}if(0!=n)return Xt(t,n,"cannot parse partitions");for(n=m(l=t.m,7),a=M(l)?b(l,4):0,o=M(l)?b(l,4):0,u=M(l)?b(l,4):0,f=M(l)?b(l,4):0,l=M(l)?b(l,4):0,h=t.Qa,d=0;4>d;++d){if(h.Cb){var v=h.Zb[d];h.Fb||(v+=n)}else{if(0<d){t.pb[d]=t.pb[0];continue}v=n}var g=t.pb[d];g.Sc[0]=ei[Vt(v+a,127)],g.Sc[1]=ri[Vt(v+0,127)],g.Eb[0]=2*ei[Vt(v+o,127)],g.Eb[1]=101581*ri[Vt(v+u,127)]>>16,8>g.Eb[1]&&(g.Eb[1]=8),g.Qc[0]=ei[Vt(v+f,117)],g.Qc[1]=ri[Vt(v+l,127)],g.lc=v+l}if(!c.Rb)return Xt(t,4,"Not a key frame.");for(M(s),c=t.Pa,n=0;4>n;++n){for(a=0;8>a;++a)for(o=0;3>o;++o)for(u=0;11>u;++u)f=C(s,ui[n][a][o][u])?m(s,8):si[n][a][o][u],c.Wc[n][a].Yb[o][u]=f;for(a=0;17>a;++a)c.Xc[n][a]=c.Wc[n][li[a]]}return t.kc=M(s),t.kc&&(t.Bd=m(s,8)),t.cb=1}function Zt(t,e,r,n,i,o,a){var s=e[i].Yb[r];for(r=0;16>i;++i){if(!C(t,s[r+0]))return i;for(;!C(t,s[r+1]);)if(s=e[++i].Yb[0],r=0,16==i)return 16;var c=e[i+1].Yb;if(C(t,s[r+2])){var u=t,l=0;if(C(u,(h=s)[(f=r)+3]))if(C(u,h[f+6])){for(s=0,f=2*(l=C(u,h[f+8]))+(h=C(u,h[f+9+l])),l=0,h=ii[f];h[s];++s)l+=l+C(u,h[s]);l+=3+(8<<f)}else C(u,h[f+7])?(l=7+2*C(u,165),l+=C(u,145)):l=5+C(u,159);else l=C(u,h[f+4])?3+C(u,h[f+5]):2;s=c[2]}else l=1,s=c[1];c=a+oi[i],0>(u=t).b&&E(u);var f,h=u.b,d=(f=u.Ca>>1)-(u.I>>h)>>31;--u.b,u.Ca+=d,u.Ca|=1,u.I-=(f+1&d)<<h,o[c]=((l^d)-d)*n[(0<i)+0]}return 16}function Jt(t){var e=t.rb[t.sb-1];e.la=0,e.Na=0,i(t.zc,0,0,t.zc.length),t.ja=0}function Qt(t,r){if(null==t)return 0;if(null==r)return Xt(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Kt(t,r))return 0;if(e(t.cb),null==r.ac||r.ac(r)){r.ob&&(t.L=0);var s=Bi[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=r.v-s>>4,t.zb=r.j-s>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=r.o+15+s>>4,t.Hb=r.va+15+s>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var c=t.ed;for(s=0;4>s;++s){var u;if(t.Qa.Cb){var l=t.Qa.Lb[s];t.Qa.Fb||(l+=c.Tb)}else l=c.Tb;for(u=0;1>=u;++u){var f=t.gd[s][u],h=l;if(c.Pc&&(h+=c.vd[0],u&&(h+=c.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<c.wb&&(d=4<c.wb?d>>2:d>>1)>9-c.wb&&(d=9-c.wb),1>d&&(d=1),f.dd=d,f.tc=2*h+d,f.ld=40<=h?2:15<=h?1:0}else f.tc=0;f.La=u}}}s=0}else Xt(t,6,"Frame setup failed"),s=t.a;if(s=0==s){if(s){t.$c=0,0<t.Aa||(t.Ic=Hi);t:{s=t.Ic,c=4*(d=t.za);var p=32*d,m=d+1,b=0<t.L?d*(0<t.Aa?2:1):0,v=(2==t.Aa?2:1)*d;if((f=c+832+(u=3*(16*s+Bi[t.L])/2*p)+(l=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=f)s=0;else{if(f>t.Vb){if(t.Vb=0,t.Ec=o(f),t.Fc=0,null==t.Ec){s=Xt(t,1,"no memory during frame initialization.");break t}t.Vb=f}f=t.Ec,h=t.Fc,t.Ac=f,t.Bc=h,h+=c,t.Gd=a(p,Wt),t.Hd=0,t.rb=a(m+1,Bt),t.sb=1,t.wa=b?a(b,Ft):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=d),e(!0),t.oc=f,t.pc=h,h+=832,t.ya=a(v,Ht),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=d),t.R=16*d,t.B=8*d,d=(p=Bi[t.L])*t.R,p=p/2*t.B,t.sa=f,t.ta=h+d,t.qa=t.sa,t.ra=t.ta+16*s*t.R+p,t.Ha=t.qa,t.Ia=t.ra+8*s*t.B+p,t.$c=0,h+=u,t.mb=l?f:null,t.nb=l?h:null,e(h+l<=t.Fc+t.Vb),Jt(t),i(t.Ac,t.Bc,0,c),s=1}}if(s){if(r.ka=0,r.y=t.sa,r.O=t.ta,r.f=t.qa,r.N=t.ra,r.ea=t.Ha,r.Vd=t.Ia,r.fa=t.R,r.Rc=t.B,r.F=null,r.J=0,!Tn){for(s=-255;255>=s;++s)Mn[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Cn[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)jn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)An[255+s]=0>s?0:255<s?255:s;Tn=1}on=ue,an=oe,cn=ae,un=se,ln=ce,sn=ie,fn=Xe,hn=$e,dn=Je,pn=Qe,mn=Ke,bn=Ze,vn=tr,gn=er,yn=Ue,wn=We,xn=qe,On=Ve,hi[0]=Se,hi[1]=fe,hi[2]=Oe,hi[3]=_e,hi[4]=ke,hi[5]=Me,hi[6]=Ee,hi[7]=Ce,hi[8]=Ae,hi[9]=je,fi[0]=ve,fi[1]=de,fi[2]=pe,fi[3]=me,fi[4]=ge,fi[5]=ye,fi[6]=we,di[0]=Re,di[1]=he,di[2]=Te,di[3]=Pe,di[4]=Ie,di[5]=Le,di[6]=Ne,s=1}else s=0}s&&(s=function(t,r){for(t.M=0;t.M<t.Va;++t.M){var a,s=t.Jc[t.M&t.Xb],c=t.m,u=t;for(a=0;a<u.za;++a){var l=c,f=u,h=f.Ac,d=f.Bc+4*a,p=f.zc,m=f.ya[f.aa+a];if(f.Qa.Bb?m.$b=C(l,f.Pa.jb[0])?2+C(l,f.Pa.jb[2]):C(l,f.Pa.jb[1]):m.$b=0,f.kc&&(m.Ad=C(l,f.Bd)),m.Za=!C(l,145)+0,m.Za){var b=m.Ob,v=0;for(f=0;4>f;++f){var g,y=p[0+f];for(g=0;4>g;++g){y=ci[h[d+g]][y];for(var w=ai[C(l,y[0])];0<w;)w=ai[2*w+C(l,y[w])];y=-w,h[d+g]=y}n(b,v,h,d,4),v+=4,p[0+f]=y}}else y=C(l,156)?C(l,128)?1:3:C(l,163)?2:0,m.Ob[0]=y,i(h,d,y,4),i(p,0,y,4);m.Dd=C(l,142)?C(l,114)?C(l,183)?1:3:2:0}if(u.m.Ka)return Xt(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(u=s,l=(c=t).rb[c.sb-1],h=c.rb[c.sb+c.ja],a=c.ya[c.aa+c.ja],d=c.kc?a.Ad:0)l.la=h.la=0,a.Za||(l.Na=h.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var x,O;if(l=h,h=u,d=c.Pa.Xc,p=c.ya[c.aa+c.ja],m=c.pb[p.$b],f=p.ad,b=0,v=c.rb[c.sb-1],y=g=0,i(f,b,0,384),p.Za)var _=0,S=d[3];else{w=o(16);var k=l.Na+v.Na;if(k=ni(h,d[1],k,m.Eb,0,w,0),l.Na=v.Na=(0<k)+0,1<k)on(w,0,f,b);else{var E=w[0]+3>>3;for(w=0;256>w;w+=16)f[b+w]=E}_=1,S=d[0]}var M=15&l.la,j=15&v.la;for(w=0;4>w;++w){var A=1&j;for(E=O=0;4>E;++E)M=M>>1|(A=(k=ni(h,S,k=A+(1&M),m.Sc,_,f,b))>_)<<7,O=O<<2|(3<k?3:1<k?2:0!=f[b+0]),b+=16;M>>=4,j=j>>1|A<<7,g=(g<<8|O)>>>0}for(S=M,_=j>>4,x=0;4>x;x+=2){for(O=0,M=l.la>>4+x,j=v.la>>4+x,w=0;2>w;++w){for(A=1&j,E=0;2>E;++E)k=A+(1&M),M=M>>1|(A=0<(k=ni(h,d[2],k,m.Qc,0,f,b)))<<3,O=O<<2|(3<k?3:1<k?2:0!=f[b+0]),b+=16;M>>=2,j=j>>1|A<<5}y|=O<<4*x,S|=M<<4<<x,_|=(240&j)<<x}l.la=S,v.la=_,p.Hc=g,p.Gc=y,p.ia=43690&y?0:m.ia,d=!(g|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[a.$b][a.Za],c.wa[c.Y+c.ja].La|=!d),u.Ka)return Xt(t,7,"Premature end-of-file encountered.")}if(Jt(t),c=r,u=1,a=(s=t).D,l=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(a.M=s.M,a.uc=l,Dr(s,a),u=1,a=(O=s.D).Nb,l=(y=Bi[s.L])*s.R,h=y/2*s.B,w=16*a*s.R,E=8*a*s.B,d=s.sa,p=s.ta-l+w,m=s.qa,f=s.ra-h+E,b=s.Ha,v=s.Ia-h+E,j=0==(M=O.M),g=M>=s.Va-1,2==s.Aa&&Dr(s,O),O.uc)for(A=(k=s).D.M,e(k.D.uc),O=k.yb;O<k.Hb;++O){_=O,S=A;var T=(P=(H=k).D).Nb;x=H.R;var P=P.wa[P.Y+_],D=H.sa,R=H.ta+16*T*x+16*_,L=P.dd,I=P.tc;if(0!=I)if(e(3<=I),1==H.L)0<_&&wn(D,R,x,I+4),P.La&&On(D,R,x,I),0<S&&yn(D,R,x,I+4),P.La&&xn(D,R,x,I);else{var N=H.B,F=H.qa,B=H.ra+8*T*N+8*_,z=H.Ha,H=H.Ia+8*T*N+8*_;T=P.ld,0<_&&(hn(D,R,x,I+4,L,T),pn(F,B,z,H,N,I+4,L,T)),P.La&&(bn(D,R,x,I,L,T),gn(F,B,z,H,N,I,L,T)),0<S&&(fn(D,R,x,I+4,L,T),dn(F,B,z,H,N,I+4,L,T)),P.La&&(mn(D,R,x,I,L,T),vn(F,B,z,H,N,I,L,T))}}if(s.ia&&alert("todo:DitherRow"),null!=c.put){if(O=16*M,M=16*(M+1),j?(c.y=s.sa,c.O=s.ta+w,c.f=s.qa,c.N=s.ra+E,c.ea=s.Ha,c.W=s.Ia+E):(O-=y,c.y=d,c.O=p,c.f=m,c.N=f,c.ea=b,c.W=v),g||(M-=y),M>c.o&&(M=c.o),c.F=null,c.J=null,null!=s.Fa&&0<s.Fa.length&&O<M&&(c.J=fr(s,c,O,M-O),c.F=s.mb,null==c.F&&0==c.F.length)){u=Xt(s,3,"Could not decode alpha data.");break t}O<c.j&&(y=c.j-O,O=c.j,e(!(1&y)),c.O+=s.R*y,c.N+=s.B*(y>>1),c.W+=s.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),O<M&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=O-c.j,c.U=c.va-c.v,c.T=M-O,u=c.put(c))}a+1!=s.Ic||g||(n(s.sa,s.ta-l,d,p+16*s.R,l),n(s.qa,s.ra-h,m,f+8*s.B,h),n(s.Ha,s.Ia-h,b,v+8*s.B,h))}if(!u)return Xt(t,6,"Output aborted.")}return 1}(t,r)),null!=r.bc&&r.bc(r),s&=1}return s?(t.cb=0,s):0}function te(t,e,r,n,i){i=t[e+r+32*n]+(i>>3),t[e+r+32*n]=-256&i?0>i?0:255:i}function ee(t,e,r,n,i,o){te(t,e,0,r,n+i),te(t,e,1,r,n+o),te(t,e,2,r,n-o),te(t,e,3,r,n-i)}function re(t){return(20091*t>>16)+t}function ne(t,e,r,n){var i,a=0,s=o(16);for(i=0;4>i;++i){var c=t[e+0]+t[e+8],u=t[e+0]-t[e+8],l=(35468*t[e+4]>>16)-re(t[e+12]),f=re(t[e+4])+(35468*t[e+12]>>16);s[a+0]=c+f,s[a+1]=u+l,s[a+2]=u-l,s[a+3]=c-f,a+=4,e++}for(i=a=0;4>i;++i)c=(t=s[a+0]+4)+s[a+8],u=t-s[a+8],l=(35468*s[a+4]>>16)-re(s[a+12]),te(r,n,0,0,c+(f=re(s[a+4])+(35468*s[a+12]>>16))),te(r,n,1,0,u+l),te(r,n,2,0,u-l),te(r,n,3,0,c-f),a++,n+=32}function ie(t,e,r,n){var i=t[e+0]+4,o=35468*t[e+4]>>16,a=re(t[e+4]),s=35468*t[e+1]>>16;ee(r,n,0,i+a,t=re(t[e+1]),s),ee(r,n,1,i+o,t,s),ee(r,n,2,i-o,t,s),ee(r,n,3,i-a,t,s)}function oe(t,e,r,n,i){ne(t,e,r,n),i&&ne(t,e+16,r,n+4)}function ae(t,e,r,n){an(t,e+0,r,n,1),an(t,e+32,r,n+128,1)}function se(t,e,r,n){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(r,n,e,i,t)}function ce(t,e,r,n){t[e+0]&&un(t,e+0,r,n),t[e+16]&&un(t,e+16,r,n+4),t[e+32]&&un(t,e+32,r,n+128),t[e+48]&&un(t,e+48,r,n+128+4)}function ue(t,e,r,n){var i,a=o(16);for(i=0;4>i;++i){var s=t[e+0+i]+t[e+12+i],c=t[e+4+i]+t[e+8+i],u=t[e+4+i]-t[e+8+i],l=t[e+0+i]-t[e+12+i];a[0+i]=s+c,a[8+i]=s-c,a[4+i]=l+u,a[12+i]=l-u}for(i=0;4>i;++i)s=(t=a[0+4*i]+3)+a[3+4*i],c=a[1+4*i]+a[2+4*i],u=a[1+4*i]-a[2+4*i],l=t-a[3+4*i],r[n+0]=s+c>>3,r[n+16]=l+u>>3,r[n+32]=s-c>>3,r[n+48]=l-u>>3,n+=64}function le(t,e,r){var n,i=e-32,o=Rn,a=255-t[i-1];for(n=0;n<r;++n){var s,c=o,u=a+t[e-1];for(s=0;s<r;++s)t[e+s]=c[u+t[i+s]];e+=32}}function fe(t,e){le(t,e,4)}function he(t,e){le(t,e,8)}function de(t,e){le(t,e,16)}function pe(t,e){var r;for(r=0;16>r;++r)n(t,e+32*r,t,e-32,16)}function me(t,e){var r;for(r=16;0<r;--r)i(t,e,t[e-1],16),e+=32}function be(t,e,r){var n;for(n=0;16>n;++n)i(e,r+32*n,t,16)}function ve(t,e){var r,n=16;for(r=0;16>r;++r)n+=t[e-1+32*r]+t[e+r-32];be(n>>5,t,e)}function ge(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e-1+32*r];be(n>>4,t,e)}function ye(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e+r-32];be(n>>4,t,e)}function we(t,e){be(128,t,e)}function xe(t,e,r){return t+2*e+r+2>>2}function Oe(t,e){var r,i=e-32;for(i=new Uint8Array([xe(t[i-1],t[i+0],t[i+1]),xe(t[i+0],t[i+1],t[i+2]),xe(t[i+1],t[i+2],t[i+3]),xe(t[i+2],t[i+3],t[i+4])]),r=0;4>r;++r)n(t,e+32*r,i,0,i.length)}function _e(t,e){var r=t[e-1],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96];j(t,e+0,16843009*xe(t[e-1-32],r,n)),j(t,e+32,16843009*xe(r,n,i)),j(t,e+64,16843009*xe(n,i,o)),j(t,e+96,16843009*xe(i,o,o))}function Se(t,e){var r,n=4;for(r=0;4>r;++r)n+=t[e+r-32]+t[e-1+32*r];for(n>>=3,r=0;4>r;++r)i(t,e+32*r,n,4)}function ke(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],c=t[e+2-32],u=t[e+3-32];t[e+0+96]=xe(n,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=xe(r,n,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=xe(o,r,n),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=xe(a,o,r),t[e+3+64]=t[e+2+32]=t[e+1+0]=xe(s,a,o),t[e+3+32]=t[e+2+0]=xe(c,s,a),t[e+3+0]=xe(u,c,s)}function Ee(t,e){var r=t[e+1-32],n=t[e+2-32],i=t[e+3-32],o=t[e+4-32],a=t[e+5-32],s=t[e+6-32],c=t[e+7-32];t[e+0+0]=xe(t[e+0-32],r,n),t[e+1+0]=t[e+0+32]=xe(r,n,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=xe(n,i,o),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=xe(i,o,a),t[e+3+32]=t[e+2+64]=t[e+1+96]=xe(o,a,s),t[e+3+64]=t[e+2+96]=xe(a,s,c),t[e+3+96]=xe(s,c,c)}function Me(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],c=t[e+2-32],u=t[e+3-32];t[e+0+0]=t[e+1+64]=o+a+1>>1,t[e+1+0]=t[e+2+64]=a+s+1>>1,t[e+2+0]=t[e+3+64]=s+c+1>>1,t[e+3+0]=c+u+1>>1,t[e+0+96]=xe(i,n,r),t[e+0+64]=xe(n,r,o),t[e+0+32]=t[e+1+96]=xe(r,o,a),t[e+1+32]=t[e+2+96]=xe(o,a,s),t[e+2+32]=t[e+3+96]=xe(a,s,c),t[e+3+32]=xe(s,c,u)}function Ce(t,e){var r=t[e+0-32],n=t[e+1-32],i=t[e+2-32],o=t[e+3-32],a=t[e+4-32],s=t[e+5-32],c=t[e+6-32],u=t[e+7-32];t[e+0+0]=r+n+1>>1,t[e+1+0]=t[e+0+64]=n+i+1>>1,t[e+2+0]=t[e+1+64]=i+o+1>>1,t[e+3+0]=t[e+2+64]=o+a+1>>1,t[e+0+32]=xe(r,n,i),t[e+1+32]=t[e+0+96]=xe(n,i,o),t[e+2+32]=t[e+1+96]=xe(i,o,a),t[e+3+32]=t[e+2+96]=xe(o,a,s),t[e+3+64]=xe(a,s,c),t[e+3+96]=xe(s,c,u)}function je(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96];t[e+0+0]=r+n+1>>1,t[e+2+0]=t[e+0+32]=n+i+1>>1,t[e+2+32]=t[e+0+64]=i+o+1>>1,t[e+1+0]=xe(r,n,i),t[e+3+0]=t[e+1+32]=xe(n,i,o),t[e+3+32]=t[e+1+64]=xe(i,o,o),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=o}function Ae(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96],a=t[e-1-32],s=t[e+0-32],c=t[e+1-32],u=t[e+2-32];t[e+0+0]=t[e+2+32]=r+a+1>>1,t[e+0+32]=t[e+2+64]=n+r+1>>1,t[e+0+64]=t[e+2+96]=i+n+1>>1,t[e+0+96]=o+i+1>>1,t[e+3+0]=xe(s,c,u),t[e+2+0]=xe(a,s,c),t[e+1+0]=t[e+3+32]=xe(r,a,s),t[e+1+32]=t[e+3+64]=xe(n,r,a),t[e+1+64]=t[e+3+96]=xe(i,n,r),t[e+1+96]=xe(o,i,n)}function Te(t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,t,e-32,8)}function Pe(t,e){var r;for(r=0;8>r;++r)i(t,e,t[e-1],8),e+=32}function De(t,e,r){var n;for(n=0;8>n;++n)i(e,r+32*n,t,8)}function Re(t,e){var r,n=8;for(r=0;8>r;++r)n+=t[e+r-32]+t[e-1+32*r];De(n>>4,t,e)}function Le(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e+r-32];De(n>>3,t,e)}function Ie(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e-1+32*r];De(n>>3,t,e)}function Ne(t,e){De(128,t,e)}function Fe(t,e,r){var n=t[e-r],i=t[e+0],o=3*(i-n)+Pn[1020+t[e-2*r]-t[e+r]],a=Dn[112+(o+4>>3)];t[e-r]=Rn[255+n+Dn[112+(o+3>>3)]],t[e+0]=Rn[255+i-a]}function Be(t,e,r,n){var i=t[e+0],o=t[e+r];return Ln[255+t[e-2*r]-t[e-r]]>n||Ln[255+o-i]>n}function ze(t,e,r,n){return 4*Ln[255+t[e-r]-t[e+0]]+Ln[255+t[e-2*r]-t[e+r]]<=n}function He(t,e,r,n,i){var o=t[e-3*r],a=t[e-2*r],s=t[e-r],c=t[e+0],u=t[e+r],l=t[e+2*r],f=t[e+3*r];return 4*Ln[255+s-c]+Ln[255+a-u]>n?0:Ln[255+t[e-4*r]-o]<=i&&Ln[255+o-a]<=i&&Ln[255+a-s]<=i&&Ln[255+f-l]<=i&&Ln[255+l-u]<=i&&Ln[255+u-c]<=i}function Ue(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)ze(t,e+n,r,i)&&Fe(t,e+n,r)}function We(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)ze(t,e+n*r,1,i)&&Fe(t,e+n*r,1)}function qe(t,e,r,n){var i;for(i=3;0<i;--i)Ue(t,e+=4*r,r,n)}function Ve(t,e,r,n){var i;for(i=3;0<i;--i)We(t,e+=4,r,n)}function Ge(t,e,r,n,i,o,a,s){for(o=2*o+1;0<i--;){if(He(t,e,r,o,a))if(Be(t,e,r,s))Fe(t,e,r);else{var c=t,u=e,l=r,f=c[u-2*l],h=c[u-l],d=c[u+0],p=c[u+l],m=c[u+2*l],b=27*(g=Pn[1020+3*(d-h)+Pn[1020+f-p]])+63>>7,v=18*g+63>>7,g=9*g+63>>7;c[u-3*l]=Rn[255+c[u-3*l]+g],c[u-2*l]=Rn[255+f+v],c[u-l]=Rn[255+h+b],c[u+0]=Rn[255+d-b],c[u+l]=Rn[255+p-v],c[u+2*l]=Rn[255+m-g]}e+=n}}function Ye(t,e,r,n,i,o,a,s){for(o=2*o+1;0<i--;){if(He(t,e,r,o,a))if(Be(t,e,r,s))Fe(t,e,r);else{var c=t,u=e,l=r,f=c[u-l],h=c[u+0],d=c[u+l],p=Dn[112+(4+(m=3*(h-f))>>3)],m=Dn[112+(m+3>>3)],b=p+1>>1;c[u-2*l]=Rn[255+c[u-2*l]+b],c[u-l]=Rn[255+f+m],c[u+0]=Rn[255+h-p],c[u+l]=Rn[255+d-b]}e+=n}}function Xe(t,e,r,n,i,o){Ge(t,e,r,1,16,n,i,o)}function $e(t,e,r,n,i,o){Ge(t,e,1,r,16,n,i,o)}function Ke(t,e,r,n,i,o){var a;for(a=3;0<a;--a)Ye(t,e+=4*r,r,1,16,n,i,o)}function Ze(t,e,r,n,i,o){var a;for(a=3;0<a;--a)Ye(t,e+=4,1,r,16,n,i,o)}function Je(t,e,r,n,i,o,a,s){Ge(t,e,i,1,8,o,a,s),Ge(r,n,i,1,8,o,a,s)}function Qe(t,e,r,n,i,o,a,s){Ge(t,e,1,i,8,o,a,s),Ge(r,n,1,i,8,o,a,s)}function tr(t,e,r,n,i,o,a,s){Ye(t,e+4*i,i,1,8,o,a,s),Ye(r,n+4*i,i,1,8,o,a,s)}function er(t,e,r,n,i,o,a,s){Ye(t,e+4,1,i,8,o,a,s),Ye(r,n+4,1,i,8,o,a,s)}function rr(){this.ba=new at,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ct,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ir(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function or(){this.ua=0,this.Wa=new L,this.vb=new L,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function ar(){this.xb=this.a=0,this.l=new Gt,this.ca=new at,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new x,this.Pb=0,this.wd=new x,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new or,this.ab=0,this.gc=a(4,ir),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cr(t,e,r,n,i,o,a){for(t=null==t?0:t[e+0],e=0;e<a;++e)i[o+e]=t+r[n+e]&255,t=i[o+e]}function ur(t,e,r,n,i,o,a){var s;if(null==t)cr(null,null,r,n,i,o,a);else for(s=0;s<a;++s)i[o+s]=t[e+s]+r[n+s]&255}function lr(t,e,r,n,i,o,a){if(null==t)cr(null,null,r,n,i,o,a);else{var s,c=t[e+0],u=c,l=c;for(s=0;s<a;++s)u=l+(c=t[e+s])-u,l=r[n+s]+(-256&u?0>u?0:255:u)&255,u=c,i[o+s]=l}}function fr(t,r,i,a){var s=r.width,c=r.o;if(e(null!=t&&null!=r),0>i||0>=a||i+a>c)return null;if(!t.Cc){if(null==t.ga){var u;if(t.ga=new sr,(u=null==t.ga)||(u=r.width*r.o,e(0==t.Gb.length),t.Gb=o(u),t.Uc=0,null==t.Gb?u=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,u=1),u=!u),!u){u=t.ga;var l=t.Fa,f=t.P,h=t.qc,d=t.mb,p=t.nb,m=f+1,b=h-1,g=u.l;if(e(null!=l&&null!=d&&null!=r),bi[0]=null,bi[1]=cr,bi[2]=ur,bi[3]=lr,u.ca=d,u.tb=p,u.c=r.width,u.i=r.height,e(0<u.c&&0<u.i),1>=h)r=0;else if(u.$a=l[f+0]>>0&3,u.Z=l[f+0]>>2&3,u.Lc=l[f+0]>>4&3,f=l[f+0]>>6&3,0>u.$a||1<u.$a||4<=u.Z||1<u.Lc||f)r=0;else if(g.put=dt,g.ac=ht,g.bc=pt,g.ma=u,g.width=r.width,g.height=r.height,g.Da=r.Da,g.v=r.v,g.va=r.va,g.j=r.j,g.o=r.o,u.$a)t:{e(1==u.$a),r=Ct();e:for(;;){if(null==r){r=0;break t}if(e(null!=u),u.mc=r,r.c=u.c,r.i=u.i,r.l=u.l,r.l.ma=u,r.l.width=u.c,r.l.height=u.i,r.a=0,v(r.m,l,m,b),!jt(u.c,u.i,1,r,null))break e;if(1==r.ab&&3==r.gc[0].hc&&_t(r.s)?(u.ic=1,l=r.c*r.i,r.Ta=null,r.Ua=0,r.V=o(l),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(u.ic=0,r=At(r,u.c)),!r)break e;r=1;break t}u.mc=null,r=0}else r=b>=u.c*u.i;u=!r}if(u)return null;1!=t.ga.Lc?t.Ga=0:a=c-i}e(null!=t.ga),e(i+a<=c);t:{if(r=(l=t.ga).c,c=l.l.o,0==l.$a){if(m=t.rc,b=t.Vc,g=t.Fa,f=t.P+1+i*r,h=t.mb,d=t.nb+i*r,e(f<=t.P+t.qc),0!=l.Z)for(e(null!=bi[l.Z]),u=0;u<a;++u)bi[l.Z](m,b,g,f,h,d,r),m=h,b=d,d+=r,f+=r;else for(u=0;u<a;++u)n(h,d,g,f,r),m=h,b=d,d+=r,f+=r;t.rc=m,t.Vc=b}else{if(e(null!=l.mc),r=i+a,e(null!=(u=l.mc)),e(r<=u.i),u.C>=r)r=1;else if(l.ic||br(),l.ic){l=u.V,m=u.Ba,b=u.c;var y=u.i,w=(g=1,f=u.$/b,h=u.$%b,d=u.m,p=u.s,u.$),x=b*y,O=b*r,S=p.wc,E=w<O?wt(p,h,f):null;e(w<=x),e(r<=y),e(_t(p));e:for(;;){for(;!d.h&&w<O;){if(h&S||(E=wt(p,h,f)),e(null!=E),k(d),256>(y=gt(E.G[0],E.H[0],d)))l[m+w]=y,++w,++h>=b&&(h=0,++f<=r&&!(f%16)&&kt(u,f));else{if(!(280>y)){g=0;break e}y=bt(y-256,d);var M,C=gt(E.G[4],E.H[4],d);if(k(d),!(w>=(C=vt(b,C=bt(C,d)))&&x-w>=y)){g=0;break e}for(M=0;M<y;++M)l[m+w+M]=l[m+w+M-C];for(w+=y,h+=y;h>=b;)h-=b,++f<=r&&!(f%16)&&kt(u,f);w<O&&h&S&&(E=wt(p,h,f))}e(d.h==_(d))}kt(u,f>r?r:f);break e}!g||d.h&&w<x?(g=0,u.a=d.h?5:3):u.$=w,r=g}else r=Et(u,u.V,u.Ba,u.c,u.i,r,Tt);if(!r){a=0;break t}}i+a>=c&&(t.Cc=1),a=1}if(!a)return null;if(t.Cc&&(null!=(a=t.ga)&&(a.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+i*s}function hr(t,e,r,n,i,o){for(;0<i--;){var a,s=t,c=e+(r?1:0),u=t,l=e+(r?0:3);for(a=0;a<n;++a){var f=u[l+4*a];255!=f&&(f*=32897,s[c+4*a+0]=s[c+4*a+0]*f>>23,s[c+4*a+1]=s[c+4*a+1]*f>>23,s[c+4*a+2]=s[c+4*a+2]*f>>23)}e+=o}}function dr(t,e,r,n,i){for(;0<n--;){var o;for(o=0;o<r;++o){var a=t[e+2*o+0],s=15&(u=t[e+2*o+1]),c=4369*s,u=(240&u|u>>4)*c>>16;t[e+2*o+0]=(240&a|a>>4)*c>>16&240|(15&a|a<<4)*c>>16>>4&15,t[e+2*o+1]=240&u|s}e+=i}}function pr(t,e,r,n,i,o,a,s){var c,u,l=255;for(u=0;u<i;++u){for(c=0;c<n;++c){var f=t[e+c];o[a+4*c]=f,l&=f}e+=r,a+=s}return 255!=l}function mr(t,e,r,n,i){var o;for(o=0;o<i;++o)r[n+o]=t[e+o]>>8}function br(){_n=hr,Sn=dr,kn=pr,En=mr}function vr(r,n,i){t[r]=function(t,r,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y){var w,x=y-1>>1,O=s[c+0]|u[l+0]<<16,_=f[h+0]|d[p+0]<<16;e(null!=t);var S=3*O+_+131074>>2;for(n(t[r+0],255&S,S>>16,m,b),null!=o&&(S=3*_+O+131074>>2,n(o[a+0],255&S,S>>16,v,g)),w=1;w<=x;++w){var k=s[c+w]|u[l+w]<<16,E=f[h+w]|d[p+w]<<16,M=O+k+_+E+524296,C=M+2*(k+_)>>3;S=C+O>>1,O=(M=M+2*(O+E)>>3)+k>>1,n(t[r+2*w-1],255&S,S>>16,m,b+(2*w-1)*i),n(t[r+2*w-0],255&O,O>>16,m,b+(2*w-0)*i),null!=o&&(S=M+_>>1,O=C+E>>1,n(o[a+2*w-1],255&S,S>>16,v,g+(2*w-1)*i),n(o[a+2*w+0],255&O,O>>16,v,g+(2*w+0)*i)),O=k,_=E}1&y||(S=3*O+_+131074>>2,n(t[r+y-1],255&S,S>>16,m,b+(y-1)*i),null!=o&&(S=3*_+O+131074>>2,n(o[a+y-1],255&S,S>>16,v,g+(y-1)*i)))}}function gr(){vi[In]=gi,vi[Nn]=wi,vi[Fn]=yi,vi[Bn]=xi,vi[zn]=Oi,vi[Hn]=_i,vi[Un]=Si,vi[Wn]=wi,vi[qn]=xi,vi[Vn]=Oi,vi[Gn]=_i}function yr(t){return t&~Ai?0>t?0:255:t>>ji}function wr(t,e){return yr((19077*t>>8)+(26149*e>>8)-14234)}function xr(t,e,r){return yr((19077*t>>8)-(6419*e>>8)-(13320*r>>8)+8708)}function Or(t,e){return yr((19077*t>>8)+(33050*e>>8)-17685)}function _r(t,e,r,n,i){n[i+0]=wr(t,r),n[i+1]=xr(t,e,r),n[i+2]=Or(t,e)}function Sr(t,e,r,n,i){n[i+0]=Or(t,e),n[i+1]=xr(t,e,r),n[i+2]=wr(t,r)}function kr(t,e,r,n,i){var o=xr(t,e,r);e=o<<3&224|Or(t,e)>>3,n[i+0]=248&wr(t,r)|o>>5,n[i+1]=e}function Er(t,e,r,n,i){var o=240&Or(t,e)|15;n[i+0]=240&wr(t,r)|xr(t,e,r)>>4,n[i+1]=o}function Mr(t,e,r,n,i){n[i+0]=255,_r(t,e,r,n,i+1)}function Cr(t,e,r,n,i){Sr(t,e,r,n,i),n[i+3]=255}function jr(t,e,r,n,i){_r(t,e,r,n,i),n[i+3]=255}function Vt(t,e){return 0>t?0:t>e?e:t}function Ar(e,r,n){t[e]=function(t,e,i,o,a,s,c,u,l){for(var f=u+(-2&l)*n;u!=f;)r(t[e+0],i[o+0],a[s+0],c,u),r(t[e+1],i[o+0],a[s+0],c,u+n),e+=2,++o,++s,u+=2*n;1&l&&r(t[e+0],i[o+0],a[s+0],c,u)}}function Tr(t,e,r){return 0==r?0==t?0==e?6:5:0==e?4:0:r}function Pr(t,e,r,n,i){switch(t>>>30){case 3:an(e,r,n,i,0);break;case 2:sn(e,r,n,i);break;case 1:un(e,r,n,i)}}function Dr(t,e){var r,o,a=e.M,s=e.Nb,c=t.oc,u=t.pc+40,l=t.oc,f=t.pc+584,h=t.oc,d=t.pc+600;for(r=0;16>r;++r)c[u+32*r-1]=129;for(r=0;8>r;++r)l[f+32*r-1]=129,h[d+32*r-1]=129;for(0<a?c[u-1-32]=l[f-1-32]=h[d-1-32]=129:(i(c,u-32-1,127,21),i(l,f-32-1,127,9),i(h,d-32-1,127,9)),o=0;o<t.za;++o){var p=e.ya[e.aa+o];if(0<o){for(r=-1;16>r;++r)n(c,u+32*r-4,c,u+32*r+12,4);for(r=-1;8>r;++r)n(l,f+32*r-4,l,f+32*r+4,4),n(h,d+32*r-4,h,d+32*r+4,4)}var m=t.Gd,b=t.Hd+o,v=p.ad,g=p.Hc;if(0<a&&(n(c,u-32,m[b].y,0,16),n(l,f-32,m[b].f,0,8),n(h,d-32,m[b].ea,0,8)),p.Za){var y=c,w=u-32+16;for(0<a&&(o>=t.za-1?i(y,w,m[b].y[15],4):n(y,w,m[b+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,g<<=2)y=c,w=u+Fi[r],hi[p.Ob[r]](y,w),Pr(g,v,16*+r,y,w)}else if(y=Tr(o,a,p.Ob[0]),fi[y](c,u),0!=g)for(r=0;16>r;++r,g<<=2)Pr(g,v,16*+r,c,u+Fi[r]);for(r=p.Gc,y=Tr(o,a,p.Dd),di[y](l,f),di[y](h,d),g=v,y=l,w=f,255&(p=r>>0)&&(170&p?cn(g,256,y,w):ln(g,256,y,w)),p=h,g=d,255&(r>>=8)&&(170&r?cn(v,320,p,g):ln(v,320,p,g)),a<t.Ub-1&&(n(m[b].y,0,c,u+480,16),n(m[b].f,0,l,f+224,8),n(m[b].ea,0,h,d+224,8)),r=8*s*t.B,m=t.sa,b=t.ta+16*o+16*s*t.R,v=t.qa,p=t.ra+8*o+r,g=t.Ha,y=t.Ia+8*o+r,r=0;16>r;++r)n(m,b+r*t.R,c,u+32*r,16);for(r=0;8>r;++r)n(v,p+r*t.B,l,f+32*r,8),n(g,y+r*t.B,h,d+32*r,8)}}function Rr(t,n,i,o,a,s,c,u,l){var f=[0],h=[0],d=0,p=null!=l?l.kd:0,m=null!=l?l:new nr;if(null==t||12>i)return 7;m.data=t,m.w=n,m.ha=i,n=[n],i=[i],m.gb=[m.gb];t:{var b=n,g=i,y=m.gb;if(e(null!=t),e(null!=g),e(null!=y),y[0]=0,12<=g[0]&&!r(t,b[0],"RIFF")){if(r(t,b[0]+8,"WEBP")){y=3;break t}var w=P(t,b[0]+4);if(12>w||4294967286<w){y=3;break t}if(p&&w>g[0]-8){y=7;break t}y[0]=w,b[0]+=12,g[0]-=12}y=0}if(0!=y)return y;for(w=0<m.gb[0],i=i[0];;){t:{var O=t;g=n,y=i;var _=f,S=h,k=b=[0];if((C=d=[d])[0]=0,8>y[0])y=7;else{if(!r(O,g[0],"VP8X")){if(10!=P(O,g[0]+4)){y=3;break t}if(18>y[0]){y=7;break t}var E=P(O,g[0]+8),M=1+T(O,g[0]+12);if(2147483648<=M*(O=1+T(O,g[0]+15))){y=3;break t}null!=k&&(k[0]=E),null!=_&&(_[0]=M),null!=S&&(S[0]=O),g[0]+=18,y[0]-=18,C[0]=1}y=0}}if(d=d[0],b=b[0],0!=y)return y;if(g=!!(2&b),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&b)),null!=c&&(c[0]=g),null!=u&&(u[0]=0),c=f[0],b=h[0],d&&g&&null==l){y=0;break}if(4>i){y=7;break}if(w&&d||!w&&!d&&!r(t,n[0],"ALPH")){i=[i],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];t:{E=t,y=n,w=i;var C=m.gb;_=m.na,S=m.P,k=m.Sa,M=22,e(null!=E),e(null!=w),O=y[0];var j=w[0];for(e(null!=_),e(null!=k),_[0]=null,S[0]=null,k[0]=0;;){if(y[0]=O,w[0]=j,8>j){y=7;break t}var A=P(E,O+4);if(4294967286<A){y=3;break t}var D=8+A+1&-2;if(M+=D,0<C&&M>C){y=3;break t}if(!r(E,O,"VP8 ")||!r(E,O,"VP8L")){y=0;break t}if(j[0]<D){y=7;break t}r(E,O,"ALPH")||(_[0]=E,S[0]=O+8,k[0]=A),O+=D,j-=D}}if(i=i[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=y)break}i=[i],m.Ja=[m.Ja],m.xa=[m.xa];t:if(C=t,y=n,w=i,_=m.gb[0],S=m.Ja,k=m.xa,E=y[0],O=!r(C,E,"VP8 "),M=!r(C,E,"VP8L"),e(null!=C),e(null!=w),e(null!=S),e(null!=k),8>w[0])y=7;else{if(O||M){if(C=P(C,E+4),12<=_&&C>_-12){y=3;break t}if(p&&C>w[0]-8){y=7;break t}S[0]=C,y[0]+=8,w[0]-=8,k[0]=M}else k[0]=5<=w[0]&&47==C[E+0]&&!(C[E+4]>>5),S[0]=w[0];y=0}if(i=i[0],m.Ja=m.Ja[0],m.xa=m.xa[0],n=n[0],0!=y)break;if(4294967286<m.Ja)return 3;if(null==u||g||(u[0]=m.xa?2:1),c=[c],b=[b],m.xa){if(5>i){y=7;break}u=c,p=b,g=s,null==t||5>i?t=0:5<=i&&47==t[n+0]&&!(t[n+4]>>5)?(w=[0],C=[0],_=[0],v(S=new x,t,n,i),mt(S,w,C,_)?(null!=u&&(u[0]=w[0]),null!=p&&(p[0]=C[0]),null!=g&&(g[0]=_[0]),t=1):t=0):t=0}else{if(10>i){y=7;break}u=b,null==t||10>i||!$t(t,n+3,i-3)?t=0:(p=t[n+0]|t[n+1]<<8|t[n+2]<<16,g=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=m.Ja||!g||!t?t=0:(c&&(c[0]=g),u&&(u[0]=t),t=1))}if(!t)return 3;if(c=c[0],b=b[0],d&&(f[0]!=c||h[0]!=b))return 3;null!=l&&(l[0]=m,l.offset=n-l.w,e(4294967286>n-l.w),e(l.offset==l.ha-i));break}return 0==y||7==y&&d&&null==l?(null!=s&&(s[0]|=null!=m.na&&0<m.na.length),null!=o&&(o[0]=c),null!=a&&(a[0]=b),0):y}function Lr(t,e,r){var n=e.width,i=e.height,o=0,a=0,s=n,c=i;if(e.Da=null!=t&&0<t.Da,e.Da&&(s=t.cd,c=t.bd,o=t.v,a=t.j,11>r||(o&=-2,a&=-2),0>o||0>a||0>=s||0>=c||o+s>n||a+c>i))return 0;if(e.v=o,e.j=a,e.va=o+s,e.o=a+c,e.U=s,e.T=c,e.da=null!=t&&0<t.da,e.da){if(!I(s,c,r=[t.ib],o=[t.hb]))return 0;e.ib=r[0],e.hb=o[0]}return e.ob=null!=t&&t.ob,e.Kb=null==t||!t.Sd,e.da&&(e.ob=e.ib<3*n/4&&e.hb<3*i/4,e.Kb=0),1}function Ir(t){if(null==t)return 2;if(11>t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else e=t.f.kb,t=t.height,e.O+=(t-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function Nr(t,e,r,n){if(null==n||0>=t||0>=e)return 2;if(null!=r){if(r.Da){var i=r.cd,a=r.bd,s=-2&r.v,c=-2&r.j;if(0>s||0>c||0>=i||0>=a||s+i>t||c+a>e)return 2;t=i,e=a}if(r.da){if(!I(t,e,i=[r.ib],a=[r.hb]))return 2;t=i[0],e=a[0]}}n.width=t,n.height=e;t:{var u=n.width,l=n.height;if(t=n.S,0>=u||0>=l||!(t>=In&&13>t))t=2;else{if(0>=n.Rd&&null==n.sd){s=a=i=e=0;var f=(c=u*Ui[t])*l;if(11>t||(a=(l+1)/2*(e=(u+1)/2),12==t&&(s=(i=u)*l)),null==(l=o(f+2*a+s))){t=1;break t}n.sd=l,11>t?((u=n.f.RGBA).eb=l,u.fb=0,u.A=c,u.size=f):((u=n.f.kb).y=l,u.O=0,u.fa=c,u.Fd=f,u.f=l,u.N=0+f,u.Ab=e,u.Cd=a,u.ea=l,u.W=0+f+a,u.Db=e,u.Ed=a,12==t&&(u.F=l,u.J=0+f+2*a),u.Tc=s,u.lb=i)}if(e=1,i=n.S,a=n.width,s=n.height,i>=In&&13>i)if(11>i)t=n.f.RGBA,e&=(c=Math.abs(t.A))*(s-1)+a<=t.size,e&=c>=a*Ui[i],e&=null!=t.eb;else{t=n.f.kb,c=(a+1)/2,f=(s+1)/2,u=Math.abs(t.fa),l=Math.abs(t.Ab);var h=Math.abs(t.Db),d=Math.abs(t.lb),p=d*(s-1)+a;e&=u*(s-1)+a<=t.Fd,e&=l*(f-1)+c<=t.Cd,e=(e&=h*(f-1)+c<=t.Ed)&u>=a&l>=c&h>=c,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=d>=a,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=r&&r.fd&&(t=Ir(n)),t}var Fr=64,Br=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],zr=24,Hr=32,Ur=8,Wr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,r){return e[r+0]},t.Predictor3=function(t,e,r){return e[r+1]},t.Predictor4=function(t,e,r){return e[r-1]},t.Predictor5=function(t,e,r){return H(H(t,e[r+1]),e[r+0])},t.Predictor6=function(t,e,r){return H(t,e[r-1])},t.Predictor7=function(t,e,r){return H(t,e[r+0])},t.Predictor8=function(t,e,r){return H(e[r-1],e[r+0])},t.Predictor9=function(t,e,r){return H(e[r+0],e[r+1])},t.Predictor10=function(t,e,r){return H(H(t,e[r-1]),H(e[r+0],e[r+1]))},t.Predictor11=function(t,e,r){var n=e[r+0];return 0>=q(n>>24&255,t>>24&255,(e=e[r-1])>>24&255)+q(n>>16&255,t>>16&255,e>>16&255)+q(n>>8&255,t>>8&255,e>>8&255)+q(255&n,255&t,255&e)?n:t},t.Predictor12=function(t,e,r){var n=e[r+0];return(U((t>>24&255)+(n>>24&255)-((e=e[r-1])>>24&255))<<24|U((t>>16&255)+(n>>16&255)-(e>>16&255))<<16|U((t>>8&255)+(n>>8&255)-(e>>8&255))<<8|U((255&t)+(255&n)-(255&e)))>>>0},t.Predictor13=function(t,e,r){var n=e[r-1];return(W((t=H(t,e[r+0]))>>24&255,n>>24&255)<<24|W(t>>16&255,n>>16&255)<<16|W(t>>8&255,n>>8&255)<<8|W(t>>0&255,n>>0&255))>>>0};var qr=t.PredictorAdd0;t.PredictorAdd1=V,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var Vr=t.PredictorAdd2;$("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),$("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}));var Gr,Yr=t.ColorIndexInverseTransform,Xr=t.MapARGB,$r=t.VP8LColorIndexInverseTransformAlpha,Kr=t.MapAlpha,Zr=t.VP8LPredictorsAdd=[];Zr.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Jr,Qr,tn,en,rn,nn,on,an,sn,cn,un,ln,fn,hn,dn,pn,mn,bn,vn,gn,yn,wn,xn,On,_n,Sn,kn,En,Mn=o(511),Cn=o(2041),jn=o(225),An=o(767),Tn=0,Pn=Cn,Dn=jn,Rn=An,Ln=Mn,In=0,Nn=1,Fn=2,Bn=3,zn=4,Hn=5,Un=6,Wn=7,qn=8,Vn=9,Gn=10,Yn=[2,3,7],Xn=[3,3,11],$n=[280,256,256,256,40],Kn=[0,1,1,1,0],Zn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ri=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ai=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ci=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ui=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],li=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],fi=[],hi=[],di=[],pi=1,mi=2,bi=[],vi=[];vr("UpsampleRgbLinePair",_r,3),vr("UpsampleBgrLinePair",Sr,3),vr("UpsampleRgbaLinePair",jr,4),vr("UpsampleBgraLinePair",Cr,4),vr("UpsampleArgbLinePair",Mr,4),vr("UpsampleRgba4444LinePair",Er,2),vr("UpsampleRgb565LinePair",kr,2);var gi=t.UpsampleRgbLinePair,yi=t.UpsampleBgrLinePair,wi=t.UpsampleRgbaLinePair,xi=t.UpsampleBgraLinePair,Oi=t.UpsampleArgbLinePair,_i=t.UpsampleRgba4444LinePair,Si=t.UpsampleRgb565LinePair,ki=16,Ei=1<<ki-1,Mi=-227,Ci=482,ji=6,Ai=(256<<ji)-1,Ti=0,Pi=o(256),Di=o(256),Ri=o(256),Li=o(256),Ii=o(Ci-Mi),Ni=o(Ci-Mi);Ar("YuvToRgbRow",_r,3),Ar("YuvToBgrRow",Sr,3),Ar("YuvToRgbaRow",jr,4),Ar("YuvToBgraRow",Cr,4),Ar("YuvToArgbRow",Mr,4),Ar("YuvToRgba4444Row",Er,2),Ar("YuvToRgb565Row",kr,2);var Fi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Bi=[0,2,8],zi=[8,7,6,4,4,2,2,2,1,1,1,1],Hi=1;this.WebPDecodeRGBA=function(t,r,n,i,o){var a=Nn,s=new rr,c=new at;s.ba=c,c.S=a,c.width=[c.width],c.height=[c.height];var u=c.width,l=c.height,f=new st;if(null==f||null==t)var h=2;else e(null!=f),h=Rr(t,r,n,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?u=0:(null!=u&&(u[0]=f.width[0]),null!=l&&(l[0]=f.height[0]),u=1),u){c.width=c.width[0],c.height=c.height[0],null!=i&&(i[0]=c.width),null!=o&&(o[0]=c.height);t:{if(i=new Gt,(o=new nr).data=t,o.w=r,o.ha=n,o.kd=1,r=[0],e(null!=o),(0==(t=Rr(o.data,o.w,o.ha,null,null,null,r,null,o))||7==t)&&r[0]&&(t=4),0==(r=t)){if(e(null!=s),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=dt,i.ac=ht,i.bc=pt,i.ma=s,o.xa){if(null==(t=Ct())){s=1;break t}if(function(t,r){var n=[0],i=[0],o=[0];e:for(;;){if(null==t)return 0;if(null==r)return t.a=2,0;if(t.l=r,t.a=0,v(t.m,r.data,r.w,r.ha),!mt(t.m,n,i,o)){t.a=3;break e}if(t.xb=mi,r.width=n[0],r.height=i[0],!jt(n[0],i[0],1,t,null))break e;return 1}return e(0!=t.a),0}(t,i)){if(i=0==(r=Nr(i.width,i.height,s.Oa,s.ba))){e:{i=t;r:for(;;){if(null==i){i=0;break e}if(e(null!=i.s.yc),e(null!=i.s.Ya),e(0<i.s.Wb),e(null!=(n=i.l)),e(null!=(o=n.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,e(null!=i.ca),!Lr(o.Oa,n,Bn)){i.a=2;break r}if(!At(i,n.width))break r;if(n.da)break r;if((n.da||nt(i.ca.S))&&br(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&br()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!D(i.s.vb,i.s.Wa.Xa)){i.a=1;break r}i.xb=0}if(!Et(i,i.V,i.Ba,i.c,i.i,n.o,Ot))break r;o.Dc=i.Ma,i=1;break e}e(0!=i.a),i=0}i=!i}i&&(r=t.a)}else r=t.a}else{if(null==(t=new Yt)){s=1;break t}if(t.Fa=o.na,t.P=o.P,t.qc=o.Sa,Kt(t,i)){if(0==(r=Nr(i.width,i.height,s.Oa,s.ba))){if(t.Aa=0,n=s.Oa,e(null!=(o=t)),null!=n){if(0<(u=0>(u=n.Md)?0:100<u?255:255*u/100)){for(l=f=0;4>l;++l)12>(h=o.pb[l]).lc&&(h.ia=u*zi[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=n.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qt(t,i)||(r=t.a)}}else r=t.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Ir(s.ba))}s=r}a=0!=s?null:11>a?c.f.RGBA.eb:c.f.kb.y}else a=null;return a};var Ui=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(t,e){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(t[e++]);return r}function l(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16)>>>0}function f(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}new c;var h=[0],d=[0],p=[],m=new c,b=t,v=function(t,e){var r={},n=0,i=!1,o=0,a=0;if(r.frames=[],!function(t,e,r,n){for(var i=0;i<4;i++)if(t[e+i]!="RIFF".charCodeAt(i))return!0;return!1}(t,e)){var s,c;for(f(t,e+=4),e+=8;e<t.length;){var h=u(t,e),d=f(t,e+=4);e+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(v=r.frames[n]).src_off=i?a:e-8,v.src_size=o+d+8,n++,i&&(i=!1,o=0,a=0);break;case"VP8X":(v=r.header={}).feature_flags=t[e];var m=e+4;v.canvas_width=1+l(t,m),m+=3,v.canvas_height=1+l(t,m),m+=3;break;case"ALPH":i=!0,o=p+8,a=e-8;break;case"ANIM":(v=r.header).bgcolor=f(t,e),m=e+4,v.loop_count=(s=t)[(c=m)+0]<<0|s[c+1]<<8,m+=2;break;case"ANMF":var b,v;(v=r.frames[n]={}).offset_x=2*l(t,e),e+=3,v.offset_y=2*l(t,e),e+=3,v.width=1+l(t,e),e+=3,v.height=1+l(t,e),e+=3,v.duration=l(t,e),e+=3,b=t[e++],v.dispose=1&b,v.blend=b>>1&1}"ANMF"!=h&&(e+=p)}return r}}(b,0);v.response=b,v.rgbaoutput=!0,v.dataurl=!1;var g=v.header?v.header:null,y=v.frames?v.frames:null;if(g){g.loop_counter=g.loop_count,h=[g.canvas_height],d=[g.canvas_width];for(var w=0;w<y.length&&0!=y[w].blend;w++);}var x=y[0],O=m.WebPDecodeRGBA(b,x.src_off,x.src_size,d,h);x.rgba=O,x.imgwidth=d[0],x.imgheight=h[0];for(var _=0;_<d[0]*h[0]*4;_++)p[_]=O[_];return this.width=d,this.height=h,this.data=p,this}!function(t){var e=function(e,n,u,l){var f=4,h=a;switch(l){case t.image_compression.FAST:f=1,h=i;break;case t.image_compression.MEDIUM:f=6,h=s;break;case t.image_compression.SLOW:f=9,h=c}e=r(e,n,u,h);var d=Object(o.b)(e,{level:f});return t.__addimage__.arrayBufferToBinaryString(d)},r=function(t,e,r,n){for(var i,o,a,s=t.length/e,c=new Uint8Array(t.length+s),u=l(),h=0;h<s;h+=1){if(a=h*e,i=t.subarray(a,a+e),n)c.set(n(i,r,o),a+h);else{for(var d,p=u.length,m=[];d<p;d+=1)m[d]=u[d](i,r,o);var b=f(m.concat());c.set(m[b],a+h)}o=i}return c},n=function(t){var e=Array.apply([],t);return e.unshift(0),e},i=function(t,e){var r,n=[],i=t.length;n[0]=1;for(var o=0;o<i;o+=1)r=t[o-e]||0,n[o+1]=t[o]-r+256&255;return n},a=function(t,e,r){var n,i=[],o=t.length;i[0]=2;for(var a=0;a<o;a+=1)n=r&&r[a]||0,i[a+1]=t[a]-n+256&255;return i},s=function(t,e,r){var n,i,o=[],a=t.length;o[0]=3;for(var s=0;s<a;s+=1)n=t[s-e]||0,i=r&&r[s]||0,o[s+1]=t[s]+256-(n+i>>>1)&255;return o},c=function(t,e,r){var n,i,o,a,s=[],c=t.length;s[0]=4;for(var l=0;l<c;l+=1)n=t[l-e]||0,i=r&&r[l]||0,o=r&&r[l-e]||0,a=u(n,i,o),s[l+1]=t[l]-a+256&255;return s},u=function(t,e,r){if(t===e&&e===r)return t;var n=Math.abs(e-r),i=Math.abs(t-r),o=Math.abs(t+e-r-r);return n<=i&&n<=o?t:i<=o?e:r},l=function(){return[n,i,a,s,c]},f=function(t){var e=t.map((function(t){return t.reduce((function(t,e){return t+Math.abs(e)}),0)}));return e.indexOf(Math.min.apply(null,e))};t.processPNG=function(r,n,i,a){var s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O=this.decode.FLATE_DECODE,_="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(u=new Jt(r)).imgData,c=u.bits,s=u.colorSpace,f=u.colors,-1!==[4,6].indexOf(u.colorType)){if(8===u.bits){m=(p=32==u.pixelBitlength?new Uint32Array(u.decodePixels().buffer):16==u.pixelBitlength?new Uint16Array(u.decodePixels().buffer):new Uint8Array(u.decodePixels().buffer)).length,v=new Uint8Array(m*u.colors),b=new Uint8Array(m);var S,k=u.pixelBitlength-u.bits;for(w=0,x=0;w<m;w++){for(y=p[w],S=0;S<k;)v[x++]=y>>>S&255,S+=u.bits;b[w]=y>>>S&255}}if(16===u.bits){m=(p=new Uint32Array(u.decodePixels().buffer)).length,v=new Uint8Array(m*(32/u.pixelBitlength)*u.colors),b=new Uint8Array(m*(32/u.pixelBitlength)),g=u.colors>1,w=0,x=0;for(var E=0;w<m;)y=p[w++],v[x++]=y>>>0&255,g&&(v[x++]=y>>>16&255,y=p[w++],v[x++]=y>>>0&255),b[E++]=y>>>16&255;c=8}a!==t.image_compression.NONE&&"function"==typeof o.b?(r=e(v,u.width*u.colors,u.colors,a),d=e(b,u.width,1,a)):(r=v,d=b,O=void 0)}if(3===u.colorType&&(s=this.color_spaces.INDEXED,h=u.palette,u.transparency.indexed)){var M=u.transparency.indexed,C=0;for(w=0,m=M.length;w<m;++w)C+=M[w];if((C/=255)===m-1&&-1!==M.indexOf(0))l=[M.indexOf(0)];else if(C!==m){for(p=u.decodePixels(),b=new Uint8Array(p.length),w=0,m=p.length;w<m;w++)b[w]=M[p[w]];d=e(b,u.width,1)}}var j=function(e){var r;switch(e){case t.image_compression.FAST:r=11;break;case t.image_compression.MEDIUM:r=13;break;case t.image_compression.SLOW:r=14;break;default:r=12}return r}(a);return O===this.decode.FLATE_DECODE&&(_="/Predictor "+j+" "),_+="/Colors "+f+" /BitsPerComponent "+c+" /Columns "+u.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:i,data:r,index:n,filter:O,decodeParameters:_,transparency:l,palette:h,sMask:d,predictor:j,width:u.width,height:u.height,bitsPerComponent:c,colorSpace:s}}}}(B.API),function(t){t.processGIF89A=function(e,r,n,i){var o=new Qt(e),a=o.width,s=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var u={data:c,width:a,height:s},l=new ee(100).encode(u,100);return t.processJPEG.call(this,l,r,n,i)},t.processGIF87A=t.processGIF89A}(B.API),re.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},re.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(t){c.log("bit decode error:"+t)}},re.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var c=this.palette[o>>7-s&1];this.data[a+4*s]=c.blue,this.data[a+4*s+1]=c.green,this.data[a+4*s+2]=c.red,this.data[a+4*s+3]=255}0!==r&&(this.pos+=4-r)}},re.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<t;i++){var o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+2*i*4,s=o>>4,c=15&o,u=this.palette[s];if(this.data[a]=u.blue,this.data[a+1]=u.green,this.data[a+2]=u.red,this.data[a+3]=255,2*i+1>=this.width)break;u=this.palette[c],this.data[a+4]=u.blue,this.data[a+4+1]=u.green,this.data[a+4+2]=u.red,this.data[a+4+3]=255}0!==e&&(this.pos+=4-e)}},re.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*n;if(i<this.palette.length){var a=this.palette[i];this.data[o]=a.red,this.data[o+1]=a.green,this.data[o+2]=a.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==t&&(this.pos+=4-t)}},re.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&e)/e*255|0,s=(o>>5&e)/e*255|0,c=(o>>10&e)/e*255|0,u=o>>15?255:0,l=n*this.width*4+4*i;this.data[l]=c,this.data[l+1]=s,this.data[l+2]=a,this.data[l+3]=u}this.pos+=t}},re.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&e)/e*255|0,c=(a>>5&r)/r*255|0,u=(a>>11)/e*255|0,l=i*this.width*4+4*o;this.data[l]=u,this.data[l+1]=c,this.data[l+2]=s,this.data[l+3]=255}this.pos+=t}},re.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*r;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=n,this.data[a+3]=255}this.pos+=this.width%4}},re.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*r;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=a}},re.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,r,n,i){var o=new re(e,!1),a=o.width,s=o.height,c={data:o.getData(),width:a,height:s},u=new ee(100).encode(c,100);return t.processJPEG.call(this,u,r,n,i)}}(B.API),ne.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,r,n,i){var o=new ne(e,!1),a=o.width,s=o.height,c={data:o.getData(),width:a,height:s},u=new ee(100).encode(c,100);return t.processJPEG.call(this,u,r,n,i)}}(B.API),B.API.processRGBA=function(t,e,r){for(var n=t.data,i=n.length,o=new Uint8Array(i/4*3),a=new Uint8Array(i/4),s=0,c=0,u=0;u<i;u+=4){var l=n[u],f=n[u+1],h=n[u+2],d=n[u+3];o[s++]=l,o[s++]=f,o[s++]=h,a[c++]=d}var p=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:p,index:e,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},B.API.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]&&(this.internal.languageSettings.languageCode=t,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},Yt=B.API,Xt=Yt.getCharWidthsArray=function(t,e){var r,n,o=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),s=e.charSpace||this.internal.getCharSpace(),c=e.widths?e.widths:o.metadata.Unicode.widths,u=c.fof?c.fof:1,l=e.kerning?e.kerning:o.metadata.Unicode.kerning,f=l.fof?l.fof:1,h=!1!==e.doKerning,d=0,p=t.length,m=0,b=c[0]||u,v=[];for(r=0;r<p;r++)n=t.charCodeAt(r),"function"==typeof o.metadata.widthOfString?v.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(n))+s*(1e3/a)||0)/1e3):(d=h&&"object"===i()(l[n])&&!isNaN(parseInt(l[n][m],10))?l[n][m]/f:0,v.push((c[n]||b)/u+d)),m=n;return v},$t=Yt.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return Yt.processArabic&&(t=Yt.processArabic(t)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(t,r,i)/r:Xt.apply(this,arguments).reduce((function(t,e){return t+e}),0)},Kt=function(t,e,r,n){for(var i=[],o=0,a=t.length,s=0;o!==a&&s+e[o]<r;)s+=e[o],o++;i.push(t.slice(0,o));var c=o;for(s=0;o!==a;)s+e[o]>n&&(i.push(t.slice(c,o)),s=0,c=o),s+=e[o],o++;return c!==o&&i.push(t.slice(c,o)),i},Zt=function(t,e,r){r||(r={});var n,i,o,a,s,c,u,l=[],f=[l],h=r.textIndent||0,d=0,p=0,m=t.split(" "),b=Xt.apply(this,[" ",r])[0];if(c=-1===r.lineIndent?m[0].length+2:r.lineIndent||0){var v=Array(c).join(" "),g=[];m.map((function(t){(t=t.split(/\s*\n/)).length>1?g=g.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):g.push(t[0])})),m=g,c=$t.apply(this,[v,r])}for(o=0,a=m.length;o<a;o++){var y=0;if(n=m[o],c&&"\n"==n[0]&&(n=n.substr(1),y=1),h+d+(p=(i=Xt.apply(this,[n,r])).reduce((function(t,e){return t+e}),0))>e||y){if(p>e){for(s=Kt.apply(this,[n,i,e-(h+d),e]),l.push(s.shift()),l=[s.pop()];s.length;)f.push([s.shift()]);p=i.slice(n.length-(l[0]?l[0].length:0)).reduce((function(t,e){return t+e}),0)}else l=[n];f.push(l),h=p+c,d=b}else l.push(n),h+=d+p,d=b}return u=c?function(t,e){return(e?v:"")+t.join(" ")}:function(t){return t.join(" ")},f.map(u)},Yt.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),o=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle);return e.metadata.Unicode?{widths:e.metadata.Unicode.widths||{0:1},kerning:e.metadata.Unicode.kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var a=1*this.internal.scaleFactor*e/i;o.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=r.lineIndent;var s,c,u=[];for(s=0,c=n.length;s<c;s++)u=u.concat(Zt.apply(this,[n[s],a,o]));return u},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",r={},n={},o=0;o<e.length;o++)r[e[o]]="0123456789abcdef"[o],n["0123456789abcdef"[o]]=e[o];var a=function(t){return"0x"+parseInt(t,10).toString(16)},s=t.__fontmetrics__.compress=function(t){var e,r,o,c,u=["{"];for(var l in t){if(e=t[l],isNaN(parseInt(l,10))?r="'"+l+"'":(l=parseInt(l,10),r=(r=a(l).slice(2)).slice(0,-1)+n[r.slice(-1)]),"number"==typeof e)e<0?(o=a(e).slice(3),c="-"):(o=a(e).slice(2),c=""),o=c+o.slice(0,-1)+n[o.slice(-1)];else{if("object"!==i()(e))throw new Error("Don't know what to do with value type "+i()(e)+".");o=s(e)}u.push(r+o)}return u.push("}"),u.join("")},c=t.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var e,n,i,o,a={},s=1,c=a,u=[],l="",f="",h=t.length-1,d=1;d<h;d+=1)"'"==(o=t[d])?e?(i=e.join(""),e=void 0):e=[]:e?e.push(o):"{"==o?(u.push([c,i]),c={},i=void 0):"}"==o?((n=u.pop())[0][n[1]]=c,i=void 0,c=n[0]):"-"==o?s=-1:void 0===i?r.hasOwnProperty(o)?(l+=r[o],i=parseInt(l,16)*s,s=1,l=""):l+=o:r.hasOwnProperty(o)?(f+=r[o],c[i]=parseInt(f,16)*s,s=1,i=void 0,f=""):f+=o;return a},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},f={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":c("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(t){var e=t.font,r=f.Unicode[e.postScriptName];r&&(e.metadata.Unicode={},e.metadata.Unicode.widths=r.widths,e.metadata.Unicode.kerning=r.kerning);var n=l.Unicode[e.postScriptName];n&&(e.metadata.Unicode.encoding=n,e.encoding=n.codePages[0])}])}(B.API),function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r};t.API.events.push(["addFont",function(r){var n=void 0,i=r.font,o=r.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(n=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?e(n):e(h(n)),r.metadata=t.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(i,n)}}])}(B),function(t){function e(){return(a.canvg?Promise.resolve(a.canvg):r.e(3).then(r.bind(null,1331))).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}B.API.addSvgAsImage=function(t,r,n,i,o,a,s,u){if(isNaN(r)||isNaN(n))throw c.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw c.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=i,l.height=o;var f=l.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,l.width,l.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(f,t,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){d.addImage(l.toDataURL("image/jpeg",1),r,n,i,o,s,u)}))}}(),B.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},B.API.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var n,o,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],l=0,f=0,h=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===t||!0===e){var p=c.length;for(h=0;h<p;h+=1)r[c[h]].value=r[c[h]].defaultValue,r[c[h]].explicitSet=!1}if("object"===i()(t))for(o in t)if(a=t[o],d(c,o)&&void 0!==a){if("boolean"===r[o].type&&"boolean"==typeof a)r[o].value=a;else if("name"===r[o].type&&d(r[o].valueSet,a))r[o].value=a;else if("integer"===r[o].type&&Number.isInteger(a))r[o].value=a;else if("array"===r[o].type){for(l=0;l<a.length;l+=1)if(n=!0,1===a[l].length&&"number"==typeof a[l][0])u.push(String(a[l]-1));else if(a[l].length>1){for(f=0;f<a[l].length;f+=1)"number"!=typeof a[l][f]&&(n=!1);!0===n&&u.push([a[l][0]-1,a[l][1]-1].join(" "))}r[o].value="["+u.join(" ")+"]"}else r[o].value=r[o].defaultValue;r[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in r)!0===r[t].explicitSet&&("name"===r[t].type?e.push("/"+t+" /"+r[t].value):e.push("/"+t+" "+r[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},function(t){var e=function(){var t='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',e=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(t)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),a=r.length+n.length+i.length+e.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(e+r+n+i+o),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(B.API),function(t){var e=t.API,r=e.pdfEscape16=function(t,e){for(var r,n=e.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=t.length;a<s;++a){if(r=e.metadata.characterToGlyph(t.charCodeAt(a)),e.metadata.glyIdsUsed.push(r),e.metadata.toUnicode[r]=t.charCodeAt(a),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(e.metadata.widthOfGlyph(r),10)])),"0"==r)return o.join("");r=r.toString(16),o.push(i[4-r.length],r)}return o.join("")},n=function(t){var e,r,n,i,o,a,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],a=0,s=(r=Object.keys(t).sort((function(t,e){return t-e}))).length;a<s;a++)e=r[a],n.length>=100&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),n.push("<"+e+"><"+i+">"));return n.length&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,o=e.newObject,a=e.putStream;if(r.metadata instanceof t.API.TTFFont&&"Identity-H"===r.encoding){for(var s=r.metadata.Unicode.widths,c=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",l=0;l<c.length;l++)u+=String.fromCharCode(c[l]);var f=o();a({data:u,addLength1:!0,objectId:f}),i("endobj");var h=o();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var d=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+D(r.fontName)),i("/FontFile2 "+f+" 0 R"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/Flags "+r.metadata.flags),i("/StemV "+r.metadata.stemV),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i(">>"),i("endobj");var p=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+D(r.fontName)),i("/FontDescriptor "+d+" 0 R"),i("/W "+t.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+r.encoding+")"),i(">>"),i(">>"),i("endobj"),r.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+D(r.fontName)),i("/Encoding /"+r.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]),e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,o=e.newObject,a=e.putStream;if(r.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var s=r.metadata.rawData,c="",u=0;u<s.length;u++)c+=String.fromCharCode(s[u]);var l=o();a({data:c,addLength1:!0,objectId:l}),i("endobj");var f=o();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:f}),i("endobj");var h=o();i("<<"),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i("/StemV "+r.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+l+" 0 R"),i("/Flags 96"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/FontName /"+D(r.fontName)),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i(">>"),i("endobj"),r.objectNumber=o();for(var d=0;d<r.metadata.hmtx.widths.length;d++)r.metadata.hmtx.widths[d]=parseInt(r.metadata.hmtx.widths[d]*(1e3/r.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+f+" 0 R/BaseFont/"+D(r.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,n=t.text||"",i=t.x,o=t.y,a=t.options||{},s=t.mutex||{},c=s.pdfEscape,u=s.activeFontKey,l=s.fonts,f=u,h="",d=0,p="",m=l[f].encoding;if("Identity-H"!==l[f].encoding)return{text:n,x:i,y:o,options:a,mutex:s};for(p=n,f=u,Array.isArray(n)&&(p=n[0]),d=0;d<p.length;d+=1)l[f].metadata.hasOwnProperty("cmap")&&(e=l[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),e||p[d].charCodeAt(0)<256&&l[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var b="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===m?b=c(h,f).split("").map((function(t){return t.charCodeAt(0).toString(16)})).join(""):"Identity-H"===m&&(b=r(h,l[f])),s.isHex=!0,{text:b,x:i,y:o,options:a,mutex:s}};e.events.push(["postProcessText",function(t){var e=t.text||"",r=[],n={text:e,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(e)){var o=0;for(o=0;o<e.length;o+=1)Array.isArray(e[o])&&3===e[o].length?r.push([i(Object.assign({},n,{text:e[o][0]})).text,e[o][1],e[o][2]]):r.push(i(Object.assign({},n,{text:e[o]})).text);t.text=r}else t.text=i(Object.assign({},n,{text:e})).text}])}(B),function(t){var e=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]},t.addFileToVFS=function(t,r){return e.call(this),this.internal.vFS[t]=r,this},t.getFileFromVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(B.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var r,n,i,o,a,s,c,u=e,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],m=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),b=!1,v=0;this.__bidiEngine__={};var g=function(t){var e=t.charCodeAt(),r=e>>8,n=d[r];return void 0!==n?u[256*n+(255&e)]:252===r||253===r?"AL":m.test(r)?"L":8===r?"R":"N"},y=function(t){for(var e,r=0;r<t.length;r++){if("L"===(e=g(t.charAt(r))))return!1;if("R"===e)return!0}return!1},w=function(t,e,a,s){var c,u,l,f,h=e[s];switch(h){case"L":case"R":b=!1;break;case"N":case"AN":break;case"EN":b&&(h="AN");break;case"AL":b=!0,h="R";break;case"WS":h="N";break;case"CS":s<1||s+1>=e.length||"EN"!==(c=a[s-1])&&"AN"!==c||"EN"!==(u=e[s+1])&&"AN"!==u?h="N":b&&(u="AN"),h=u===c?u:"N";break;case"ES":h="EN"===(c=s>0?a[s-1]:"B")&&s+1<e.length&&"EN"===e[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){h="EN";break}if(b){h="N";break}for(l=s+1,f=e.length;l<f&&"ET"===e[l];)l++;h=l<f&&"EN"===e[l]?"EN":"N";break;case"NSM":if(i&&!o){for(f=e.length,l=s+1;l<f&&"NSM"===e[l];)l++;if(l<f){var d=t[s],p=d>=1425&&d<=2303||64286===d;if(c=e[l],p&&("R"===c||"AL"===c)){h="R";break}}}h=s<1||"B"===(c=e[s-1])?"N":a[s-1];break;case"B":b=!1,r=!0,h=v;break;case"S":n=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":b=!1;break;case"BN":h="N"}return h},x=function(t,e,r){var n=t.split("");return r&&O(n,r,{hiLevel:v}),n.reverse(),e&&e.reverse(),n.join("")},O=function(t,e,i){var o,a,s,c,u,d=-1,p=t.length,m=0,y=[],x=v?f:l,O=[];for(b=!1,r=!1,n=!1,a=0;a<p;a++)O[a]=g(t[a]);for(s=0;s<p;s++){if(u=m,y[s]=w(t,O,y,s),o=240&(m=x[u][h[y[s]]]),m&=15,e[s]=c=x[m][5],o>0)if(16===o){for(a=d;a<s;a++)e[a]=1;d=-1}else d=-1;if(x[m][6])-1===d&&(d=s);else if(d>-1){for(a=d;a<s;a++)e[a]=c;d=-1}"B"===O[s]&&(e[s]=0),i.hiLevel|=c}n&&function(t,e,r){for(var n=0;n<r;n++)if("S"===t[n]){e[n]=v;for(var i=n-1;i>=0&&"WS"===t[i];i--)e[i]=v}}(O,e,p)},_=function(t,e,n,i,o){if(!(o.hiLevel<t)){if(1===t&&1===v&&!r)return e.reverse(),void(n&&n.reverse());for(var a,s,c,u,l=e.length,f=0;f<l;){if(i[f]>=t){for(c=f+1;c<l&&i[c]>=t;)c++;for(u=f,s=c-1;u<s;u++,s--)a=e[u],e[u]=e[s],e[s]=a,n&&(a=n[u],n[u]=n[s],n[s]=a);f=c}f++}}},S=function(t,e,r){var n=t.split(""),i={hiLevel:v};return r||(r=[]),O(n,r,i),function(t,e,r){if(0!==r.hiLevel&&c)for(var n,i=0;i<t.length;i++)1===e[i]&&(n=p.indexOf(t[i]))>=0&&(t[i]=p[n+1])}(n,r,i),_(2,n,e,r,i),_(1,n,e,r,i),n.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,r){if(function(t,e){if(e)for(var r=0;r<t.length;r++)e[r]=r;void 0===o&&(o=y(t)),void 0===s&&(s=y(t))}(t,e),i||!a||s)if(i&&a&&o^s)v=o?1:0,t=x(t,e,r);else if(!i&&a&&s)v=o?1:0,t=S(t,e,r),t=x(t,e);else if(!i||o||a||s){if(i&&!a&&o^s)t=x(t,e),o?(v=0,t=S(t,e,r)):(v=1,t=S(t,e,r),t=x(t,e));else if(i&&o&&!a&&s)v=1,t=S(t,e,r),t=x(t,e);else if(!i&&!a&&o^s){var n=c;o?(v=1,t=S(t,e,r),v=0,c=!1,t=S(t,e,r),c=n):(v=0,t=S(t,e,r),t=x(t,e),v=1,c=!1,t=S(t,e,r),c=n,t=x(t,e))}}else v=0,t=S(t,e,r);else v=o?1:0,t=S(t,e,r);return t},this.__bidiEngine__.setOptions=function(t){t&&(i=t.isInputVisual,a=t.isOutputVisual,o=t.isInputRtl,s=t.isOutputRtl,c=t.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var e=t.text,n=(t.x,t.y,t.options||{}),i=(t.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(e)){var o=0;for(i=[],o=0;o<e.length;o+=1)"[object Array]"===Object.prototype.toString.call(e[o])?i.push([r.doBidiReorder(e[o][0]),e[o][1],e[o][2]]):i.push([r.doBidiReorder(e[o])]);t.text=i}else t.text=r.doBidiReorder(e);r.setOptions({isInputVisual:!0})}])}(B),B.API.TTFFont=function(){function t(t){var e;if(this.rawData=t,e=this.contents=new oe(t),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new Se(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new ae(this.contents),this.head=new ue(this),this.name=new be(this),this.cmap=new fe(this),this.toUnicode={},this.hhea=new he(this),this.maxp=new ve(this),this.hmtx=new ge(this),this.post=new pe(this),this.os2=new de(this),this.loca=new _e(this),this.glyf=new we(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var t,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var e,r,n,i;for(i=[],e=0,r=(n=this.bbox).length;e<r;e++)t=n[e],i.push(Math.round(t*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),0!=(32768&(e=n>>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,r){var n,i,o,a;for(o=0,i=0,a=(t=""+t).length;0<=a?i<a:i>a;i=0<=a?++i:--i)n=t.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return o*(e/1e3)},t.prototype.lineHeight=function(t,e){var r;return null==e&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},t}();var ie,oe=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(t){var e,r,n;for(n=[],e=0,r=t.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(t.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,r,n,i,o,a,s;return t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*o+256*a+s},t.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(t){var e,r,n,i;for(i=[],r=0,n=t.length;r<n;r++)e=t[r],i.push(this.writeByte(e));return i},t}(),ae=function(){var t;function e(t){var e,r,n;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var r,n,i,o,a,s,c,u,l,f,h,d,p;for(p in h=Object.keys(e).length,s=Math.log(2),l=16*Math.floor(Math.log(h)/s),o=Math.floor(l/s),u=16*h-l,(n=new oe).writeInt(this.scalarType),n.writeShort(h),n.writeShort(l),n.writeShort(o),n.writeShort(u),i=16*h,c=n.pos+i,a=null,d=[],e)for(f=e[p],n.writeString(p),n.writeInt(t(f)),n.writeInt(c),n.writeInt(f.length),d=d.concat(f),"head"===p&&(a=c),c+=f.length;c%4;)d.push(0),c++;return n.write(d),r=2981146554-t(n.data),n.pos=a+8,n.writeUInt32(r),n.data},t=function(t){var e,r,n,i;for(t=ye.call(t);t.length%4;)t.push(0);for(n=new oe(t),r=0,e=0,i=t.length;e<i;e=e+=4)r+=n.readUInt32();return 4294967295&r},e}(),se={}.hasOwnProperty,ce=function(t,e){for(var r in e)se.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};ie=function(){function t(t){var e;this.file=t,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var ue=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="head",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},e.prototype.encode=function(t){var e;return(e=new oe).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(t),e.writeShort(this.glyphDataFormat),e.data},e}(),le=function(){function t(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),l=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=t.readByte();break;case 4:for(h=t.readUInt16(),f=h/2,t.pos+=6,i=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),t.pos+=2,p=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),c=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),u=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),n=(this.length-t.pos+this.offset)/2,a=function(){var e,r;for(r=[],s=e=0;0<=n?e<n:e>n;s=0<=n?++e:--e)r.push(t.readUInt16());return r}(),s=b=0,g=i.length;b<g;s=++b)for(m=i[s],r=v=d=p[s];d<=m?v<=m:v>=m;r=d<=m?++v:--v)0===u[s]?o=r+c[s]:0!==(o=a[u[s]/2+(r-d)-(f-s)]||0)&&(o+=c[s]),this.codeMap[r]=65535&o}t.pos=l}return t.encode=function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A,T,P,D,R,L,I,N,F,B,z,H,U,W,q,V,G,Y;switch(j=new oe,o=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(p=0,m=function(){var t=[];for(d=0;d<256;++d)t.push(0);return t}(),v={0:0},i={},A=0,R=o.length;A<R;A++)null==v[q=t[n=o[A]]]&&(v[q]=++p),i[n]={old:t[n],new:v[t[n]]},m[n]=v[t[n]];return j.writeUInt16(1),j.writeUInt16(0),j.writeUInt32(12),j.writeUInt16(0),j.writeUInt16(262),j.writeUInt16(0),j.write(m),{charMap:i,subtable:j.data,maxGlyphID:p+1};case"unicode":for(M=[],l=[],g=0,v={},r={},b=c=null,T=0,L=o.length;T<L;T++)null==v[w=t[n=o[T]]]&&(v[w]=++g),r[n]={old:w,new:v[w]},a=v[w]-n,null!=b&&a===c||(b&&l.push(b),M.push(n),c=a),b=n;for(b&&l.push(b),l.push(65535),M.push(65535),k=2*(S=M.length),_=2*Math.pow(Math.log(S)/Math.LN2,2),f=Math.log(_/2)/Math.LN2,O=2*S-_,s=[],x=[],h=[],d=P=0,I=M.length;P<I;d=++P){if(E=M[d],u=l[d],65535===E){s.push(0),x.push(0);break}if(E-(C=r[E].new)>=32768)for(s.push(0),x.push(2*(h.length+S-d)),n=D=E;E<=u?D<=u:D>=u;n=E<=u?++D:--D)h.push(r[n].new);else s.push(C-E),x.push(0)}for(j.writeUInt16(3),j.writeUInt16(1),j.writeUInt32(12),j.writeUInt16(4),j.writeUInt16(16+8*S+2*h.length),j.writeUInt16(0),j.writeUInt16(k),j.writeUInt16(_),j.writeUInt16(f),j.writeUInt16(O),U=0,N=l.length;U<N;U++)n=l[U],j.writeUInt16(n);for(j.writeUInt16(0),W=0,F=M.length;W<F;W++)n=M[W],j.writeUInt16(n);for(V=0,B=s.length;V<B;V++)a=s[V],j.writeUInt16(a);for(G=0,z=x.length;G<z;G++)y=x[G],j.writeUInt16(y);for(Y=0,H=h.length;Y<H;Y++)p=h[Y],j.writeUInt16(p);return{charMap:r,subtable:j.data,maxGlyphID:g+1}}},t}(),fe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="cmap",e.prototype.parse=function(t){var e,r,n;for(t.pos=this.offset,this.version=t.readUInt16(),n=t.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e=new le(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var r,n;return null==e&&(e="macroman"),r=le.encode(t,e),(n=new oe).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(),he=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(),de=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(t.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(t.readInt());return r}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(t.readInt());return r}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(),pe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="post",e.prototype.parse=function(t){var e,r,n;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:break;case 131072:var i;for(r=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],n=[];t.pos<this.offset+this.length;)e=t.readByte(),n.push(this.names.push(t.readString(e)));return n;case 151552:return r=t.readUInt16(),this.offsets=t.read(r);case 196608:break;case 262144:return this.map=function(){var e,r,n;for(n=[],i=e=0,r=this.file.maxp.numGlyphs;0<=r?e<r:e>r;i=0<=r?++e:--e)n.push(t.readUInt32());return n}.call(this)}},e}(),me=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},be=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="name",e.prototype.parse=function(t){var e,r,n,i,o,a,s,c,u,l,f;for(t.pos=this.offset,t.readShort(),e=t.readShort(),a=t.readShort(),r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+a+t.readShort()});for(s={},i=u=0,l=r.length;u<l;i=++u)n=r[i],t.pos=n.offset,c=t.readString(n.length),o=new me(c,n),null==s[f=n.nameID]&&(s[f]=[]),s[n.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(),ve=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},e}(),ge=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="hmtx",e.prototype.parse=function(t){var e,r,n,i,o,a,s;for(t.pos=this.offset,this.metrics=[],e=0,a=this.file.hhea.numberOfMetrics;0<=a?e<a:e>a;e=0<=a?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,i;for(i=[],e=r=0;0<=n?r<n:r>n;e=0<=n?++r:--r)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.metrics).length;t<e;t++)i=r[t],n.push(i.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],e=o=0;0<=n?o<n:o>n;e=0<=n?++o:--o)s.push(this.widths.push(r));return s},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(),ye=[].slice,we=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,r,n,i,o,a,s,c,u,l;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(t),0===(n=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+r,o=(a=new oe(e.read(n))).readShort(),c=a.readShort(),l=a.readShort(),s=a.readShort(),u=a.readShort(),this.cache[t]=-1===o?new Oe(a,c,l,s,u):new xe(a,o,c,l,s,u),this.cache[t]))},e.prototype.encode=function(t,e,r){var n,i,o,a,s;for(o=[],i=[],a=0,s=e.length;a<s;a++)n=t[e[a]],i.push(o.length),n&&(o=o.concat(n.encode(r)));return i.push(o.length),{table:o,offsets:i}},e}(),xe=function(){function t(t,e,r,n,i,o){this.raw=t,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=o,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),Oe=function(){function t(t,e,r,n,i){var o,a;for(this.raw=t,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;a=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&a;)o.pos+=1&a?4:2,128&a?o.pos+=8:64&a?o.pos+=4:8&a&&(o.pos+=2)}return t.prototype.encode=function(){var t,e,r;for(e=new oe(ye.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)e.pos=this.glyphOffsets[t];return e.data},t}(),_e=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="loca",e.prototype.parse=function(t){var e,r;return t.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=0===e?function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=2)n.push(2*t.readUInt16());return n}.call(this):function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=4)n.push(t.readUInt32());return n}.call(this)},e.prototype.indexOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},e.prototype.encode=function(t,e){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,o=0;o<r.length;++o)if(r[o]=n,i<e.length&&e[i]==o){++i,r[o]=n;var a=this.offsets[o],s=this.offsets[o+1]-a;s>0&&(n+=s)}for(var c=new Array(4*r.length),u=0;u<r.length;++u)c[4*u+3]=255&r[u],c[4*u+2]=(65280&r[u])>>8,c[4*u+1]=(16711680&r[u])>>16,c[4*u]=(4278190080&r[u])>>24;return c},e}(),Se=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,t={},i=this.subset)r=i[e],t[e]=n[r];return t},t.prototype.glyphsFor=function(t){var e,r,n,i,o,a,s;for(n={},o=0,a=t.length;o<a;o++)n[i=t[o]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(null!=(r=n[i])?r.compound:void 0)&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in s=this.glyphsFor(e))r=s[i],n[i]=r;return n},t.prototype.encode=function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b;for(n in r=fe.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(t),h={0:0},b=r.charMap)h[(s=b[n]).old]=s.new;for(d in f=r.maxGlyphID,o)d in h||(h[d]=f++);return u=function(t){var e,r;for(e in r={},t)r[t[e]]=e;return r}(h),l=Object.keys(u).sort((function(t,e){return t-e})),p=function(){var t,e,r;for(r=[],t=0,e=l.length;t<e;t++)a=l[t],r.push(u[a]);return r}(),i=this.font.glyf.encode(o,p,h),c=this.font.loca.encode(i.offsets,p),m={cmap:this.font.cmap.raw(),glyf:i.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(m["OS/2"]=this.font.os2.raw()),this.font.directory.encode(m)},t}();B.API.PDFObject=function(){var t;function e(){}return t=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},e.convert=function(r){var n,i,o,a;if(Array.isArray(r))return"["+function(){var t,i,o;for(o=[],t=0,i=r.length;t<i;t++)n=r[t],o.push(e.convert(n));return o}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(i in o=["<<"],r)a=r[i],o.push("/"+i+" "+e.convert(a));return o.push(">>"),o.join("\n")}return""+r},e}(),e.default=B}.call(this,r(120))},function(t,e,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&t.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&t.push(s);else t.push(n.toString())}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},,function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return d})),r.d(e,"c",(function(){return v})),r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return f})),r.d(e,"f",(function(){return b})),r.d(e,"g",(function(){return o})),r.d(e,"h",(function(){return u})),r.d(e,"i",(function(){return h})),r.d(e,"j",(function(){return l})),r.d(e,"k",(function(){return s})),r.d(e,"l",(function(){return p})),r.d(e,"m",(function(){return m})),r.d(e,"n",(function(){return i}));var n=r(93),i=function(t){return null===t||void 0===t},o=function(t){return null!==t&&void 0!==t},a=function(t){return"function"===typeof t},s=function(t){return"string"===typeof t},c=Array.isArray,u=function(t){return t&&!c(t)&&"object"===typeof t},l=function(t){return t&&a(t.then)},f=function(t){return t&&a(t.next)&&a(t.throw)},h=function t(e){return e&&(s(e)||m(e)||a(e)||c(e)&&e.every(t))},d=function(t){return t&&a(t.take)&&a(t.close)},p=function(t){return a(t)&&t.hasOwnProperty("toString")},m=function(t){return Boolean(t)&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype},b=function(t){return d(t)&&t[n.e]},v=function(t){return t&&t[n.c]}},,function(t,e,r){"use strict";e.a=function(t){return function(){return t}}},function(t,e,r){"use strict";r.d(e,"e",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"f",(function(){return s})),r.d(e,"d",(function(){return c})),r.d(e,"g",(function(){return u}));var n=1e3,i=60*n,o=60*i,a=24*o,s=7*a,c=30*a,u=365*a},function(t,e,r){"use strict";function n(t,e){return function(){return null}}r.r(e),r.d(e,"chainPropTypes",(function(){return n})),r.d(e,"deepmerge",(function(){return i.a})),r.d(e,"elementAcceptingRef",(function(){return c})),r.d(e,"elementTypeAcceptingRef",(function(){return u})),r.d(e,"exactProp",(function(){return l})),r.d(e,"formatMuiErrorMessage",(function(){return f.a})),r.d(e,"getDisplayName",(function(){return g})),r.d(e,"HTMLElementType",(function(){return y})),r.d(e,"ponyfillGlobal",(function(){return w})),r.d(e,"refType",(function(){return x}));var i=r(515),o=r(10),a=r.n(o);var s=(a.a.element,function(){return null});s.isRequired=(a.a.element.isRequired,function(){return null});var c=s;var u=(o.elementType,function(){return null});r(73),r(2);function l(t){return t}var f=r(519),h=r(217),d=r(651),p=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function m(t){var e="".concat(t).match(p);return e&&e[1]||""}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.displayName||t.name||m(t)||e}function v(t,e,r){var n=b(e);return t.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}function g(t){if(null!=t){if("string"===typeof t)return t;if("function"===typeof t)return b(t,"Component");if("object"===Object(h.a)(t))switch(t.$$typeof){case d.ForwardRef:return v(t,t.render,"ForwardRef");case d.Memo:return v(t,t.type,"memo");default:return}}}function y(t,e,r,n,i){return null}var w="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),x=a.a.oneOfType([a.a.func,a.a.object])},function(t,e,r){"use strict";r.d(e,"d",(function(){return s})),r.d(e,"c",(function(){return u})),r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return f})),r.d(e,"e",(function(){return h}));var n=r(519);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),r)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map((function(t){return t+t}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),r=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error(Object(n.a)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:r,values:i=i.map((function(t){return parseFloat(t)}))}}function a(t){var e=t.type,r=t.values;return-1!==e.indexOf("rgb")?r=r.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(e,"(").concat(r.join(", "),")")}function s(t,e){var r=c(t),n=c(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function c(t){var e="hsl"===(t=o(t)).type?o(function(t){var e=(t=o(t)).values,r=e[0],n=e[1]/100,i=e[2]/100,s=n*Math.min(i,1-i),c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+r/30)%12;return i-s*Math.max(Math.min(e-3,9-e,1),-1)},u="rgb",l=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===t.type&&(u+="a",l.push(e[3])),a({type:u,values:l})}(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return c(t)>.5?f(t,e):h(t,e)}function l(t,e){return t=o(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,a(t)}function f(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]*=1-e;return a(t)}function h(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;return a(t)}},function(t,e,r){"use strict";function n(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void r(u)}s.done?e(c):Promise.resolve(c).then(n,i)}function i(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}r.d(e,"a",(function(){return i}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(169);function o(t,e){return n.useMemo((function(){return null==t&&null==e?null:function(r){Object(i.a)(t,r),Object(i.a)(e,r)}}),[t,e])}},,function(t,e,r){var n,i,o;i=[e,r(1223),r(1227),r(1228),r(1231),r(1232),r(1233),r(1234),r(1235),r(0),r(10),r(76),r(314),r(1237)],void 0===(o="function"===typeof(n=function(t,e,r,n,i,o,a,s,c,u,l,f,h,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Map=t.Rectangle=t.Circle=t.Polyline=t.Polygon=t.HeatMap=t.InfoWindow=t.Marker=t.GoogleApiWrapper=void 0,Object.defineProperty(t,"GoogleApiWrapper",{enumerable:!0,get:function(){return e.wrapper}}),Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return r.Marker}}),Object.defineProperty(t,"InfoWindow",{enumerable:!0,get:function(){return n.InfoWindow}}),Object.defineProperty(t,"HeatMap",{enumerable:!0,get:function(){return i.HeatMap}}),Object.defineProperty(t,"Polygon",{enumerable:!0,get:function(){return o.Polygon}}),Object.defineProperty(t,"Polyline",{enumerable:!0,get:function(){return a.Polyline}}),Object.defineProperty(t,"Circle",{enumerable:!0,get:function(){return s.Circle}}),Object.defineProperty(t,"Rectangle",{enumerable:!0,get:function(){return c.Rectangle}});var p=v(u),m=v(l),b=v(f);function v(t){return t&&t.__esModule?t:{default:t}}var g=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),y={position:"absolute",width:"100%",height:"100%"},w={position:"absolute",left:0,right:0,bottom:0,top:0},x=["ready","click","dragend","recenter","bounds_changed","center_changed","dblclick","dragstart","heading_change","idle","maptypeid_changed","mousemove","mouseout","mouseover","projection_changed","resize","rightclick","tilesloaded","tilt_changed","zoom_changed"],O=t.Map=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));if(!t.hasOwnProperty("google"))throw new Error("You must include a `google` prop");return r.listeners={},r.state={currentLocation:{lat:r.props.initialCenter.lat,lng:r.props.initialCenter.lng}},r.mapRef=p.default.createRef(),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),g(e,[{key:"componentDidMount",value:function(){var t=this;this.props.centerAroundCurrentLocation&&navigator&&navigator.geolocation&&(this.geoPromise=(0,d.makeCancelable)(new Promise((function(t,e){navigator.geolocation.getCurrentPosition(t,e)}))),this.geoPromise.promise.then((function(e){var r=e.coords;t.setState({currentLocation:{lat:r.latitude,lng:r.longitude}})})).catch((function(t){return t}))),this.loadMap()}},{key:"componentDidUpdate",value:function(t,e){t.google!==this.props.google&&this.loadMap(),this.props.visible!==t.visible&&this.restyleMap(),this.props.zoom!==t.zoom&&this.map.setZoom(this.props.zoom),this.props.center!==t.center&&this.setState({currentLocation:this.props.center}),e.currentLocation!==this.state.currentLocation&&this.recenterMap(),this.props.bounds&&this.props.bounds!==t.bounds&&this.map.fitBounds(this.props.bounds)}},{key:"componentWillUnmount",value:function(){var t=this,e=this.props.google;this.geoPromise&&this.geoPromise.cancel(),Object.keys(this.listeners).forEach((function(r){e.maps.event.removeListener(t.listeners[r])}))}},{key:"loadMap",value:function(){var t=this;if(this.props&&this.props.google){var e=this.props.google.maps,r=this.mapRef.current,n=b.default.findDOMNode(r),i=this.state.currentLocation,o=new e.LatLng(i.lat,i.lng),a=this.props.google.maps.MapTypeId||{},s=String(this.props.mapType).toUpperCase(),c=Object.assign({},{mapTypeId:a[s],center:o,zoom:this.props.zoom,maxZoom:this.props.maxZoom,minZoom:this.props.minZoom,clickableIcons:!!this.props.clickableIcons,disableDefaultUI:this.props.disableDefaultUI,zoomControl:this.props.zoomControl,zoomControlOptions:this.props.zoomControlOptions,mapTypeControl:this.props.mapTypeControl,mapTypeControlOptions:this.props.mapTypeControlOptions,scaleControl:this.props.scaleControl,streetViewControl:this.props.streetViewControl,streetViewControlOptions:this.props.streetViewControlOptions,panControl:this.props.panControl,rotateControl:this.props.rotateControl,fullscreenControl:this.props.fullscreenControl,scrollwheel:this.props.scrollwheel,draggable:this.props.draggable,draggableCursor:this.props.draggableCursor,keyboardShortcuts:this.props.keyboardShortcuts,disableDoubleClickZoom:this.props.disableDoubleClickZoom,noClear:this.props.noClear,styles:this.props.styles,gestureHandling:this.props.gestureHandling});Object.keys(c).forEach((function(t){null===c[t]&&delete c[t]})),this.map=new e.Map(n,c),x.forEach((function(e){t.listeners[e]=t.map.addListener(e,t.handleEvent(e))})),e.event.trigger(this.map,"ready"),this.forceUpdate()}}},{key:"handleEvent",value:function(t){var e=this,r=void 0,n="on"+(0,h.camelize)(t);return function(t){r&&(clearTimeout(r),r=null),r=setTimeout((function(){e.props[n]&&e.props[n](e.props,e.map,t)}),0)}}},{key:"recenterMap",value:function(){var t=this.map,e=this.props.google;if(e){var r=e.maps;if(t){var n=this.state.currentLocation;n instanceof e.maps.LatLng||(n=new e.maps.LatLng(n.lat,n.lng)),t.setCenter(n),r.event.trigger(t,"recenter")}}}},{key:"restyleMap",value:function(){this.map&&this.props.google.maps.event.trigger(this.map,"resize")}},{key:"renderChildren",value:function(){var t=this,e=this.props.children;if(e)return p.default.Children.map(e,(function(e){if(e)return p.default.cloneElement(e,{map:t.map,google:t.props.google,mapCenter:t.state.currentLocation})}))}},{key:"render",value:function(){var t=Object.assign({},w,this.props.style,{display:this.props.visible?"inherit":"none"}),e=Object.assign({},y,this.props.containerStyle);return p.default.createElement("div",{style:e,className:this.props.className},p.default.createElement("div",{style:t,ref:this.mapRef},"Loading map..."),this.renderChildren())}}]),e}(p.default.Component);O.propTypes={google:m.default.object,zoom:m.default.number,centerAroundCurrentLocation:m.default.bool,center:m.default.object,initialCenter:m.default.object,className:m.default.string,style:m.default.object,containerStyle:m.default.object,visible:m.default.bool,mapType:m.default.string,maxZoom:m.default.number,minZoom:m.default.number,clickableIcons:m.default.bool,disableDefaultUI:m.default.bool,zoomControl:m.default.bool,zoomControlOptions:m.default.object,mapTypeControl:m.default.bool,mapTypeControlOptions:m.default.bool,scaleControl:m.default.bool,streetViewControl:m.default.bool,streetViewControlOptions:m.default.object,panControl:m.default.bool,rotateControl:m.default.bool,fullscreenControl:m.default.bool,scrollwheel:m.default.bool,draggable:m.default.bool,draggableCursor:m.default.string,keyboardShortcuts:m.default.bool,disableDoubleClickZoom:m.default.bool,noClear:m.default.bool,styles:m.default.array,gestureHandling:m.default.string,bounds:m.default.object},x.forEach((function(t){return O.propTypes[(0,h.camelize)(t)]=m.default.func})),O.defaultProps={zoom:14,initialCenter:{lat:37.774929,lng:-122.419416},center:{},centerAroundCurrentLocation:!1,style:{},containerStyle:{},visible:!0},t.default=O})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=function(t,e){return t===e};function i(t,e){var r="object"===typeof e?e:{equalityCheck:e},i=r.equalityCheck,o=void 0===i?n:i,a=r.maxSize,s=void 0===a?1:a,c=r.resultEqualityCheck,u=function(t){return function(e,r){if(null===e||null===r||e.length!==r.length)return!1;for(var n=e.length,i=0;i<n;i++)if(!t(e[i],r[i]))return!1;return!0}}(o),l=1===s?function(t){var e;return{get:function(r){return e&&t(e.key,r)?e.value:"NOT_FOUND"},put:function(t,r){e={key:t,value:r}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}(u):function(t,e){var r=[];function n(t){var n=r.findIndex((function(r){return e(t,r.key)}));if(n>-1){var i=r[n];return n>0&&(r.splice(n,1),r.unshift(i)),i.value}return"NOT_FOUND"}return{get:n,put:function(e,i){"NOT_FOUND"===n(e)&&(r.unshift({key:e,value:i}),r.length>t&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(s,u);function f(){var e=l.get(arguments);if("NOT_FOUND"===e){if(e=t.apply(null,arguments),c){var r=l.getEntries(),n=r.find((function(t){return c(t.value,e)}));n&&(e=n.value)}l.put(arguments,e)}return e}return f.clearCache=function(){return l.clear()},f}function o(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every((function(t){return"function"===typeof t}))){var r=e.map((function(t){return"function"===typeof t?"function "+(t.name||"unnamed")+"()":typeof t})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return e}function a(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a,s=0,c={memoizeOptions:void 0},u=n.pop();if("object"===typeof u&&(c=u,u=n.pop()),"function"!==typeof u)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof u+"]");var l=c,f=l.memoizeOptions,h=void 0===f?r:f,d=Array.isArray(h)?h:[h],p=o(n),m=t.apply(void 0,[function(){return s++,u.apply(null,arguments)}].concat(d)),b=t((function(){for(var t=[],e=p.length,r=0;r<e;r++)t.push(p[r].apply(null,arguments));return a=m.apply(null,t)}));return Object.assign(b,{resultFunc:u,memoizedResultFunc:m,dependencies:p,lastResult:function(){return a},recomputations:function(){return s},resetRecomputations:function(){return s=0}}),b};return i}var s=a(i)},function(t,e){var r=Array.isArray;t.exports=r},,,function(t,e,r){var n=r(121),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";var n=r(441);e.a=n.a},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"c",(function(){return v})),r.d(e,"a",(function(){return x})),r.d(e,"b",(function(){return O})),r.d(e,"h",(function(){return _})),r.d(e,"e",(function(){return E})),r.d(e,"g",(function(){return C})),r.d(e,"d",(function(){return j})),r.d(e,"f",(function(){return A}));var n=r(301),i=r.n(n),o=r(114),a=r.n(o),s=r(36),c=r.n(s),u=r(68),l=r.n(u),f=r(0),h=r(276),d=r(17),p=r(302);function m(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var b={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},v=function(t){return"string"===typeof t?t:t?t.displayName||t.name||"Component":""},g=null,y=null,w=function t(e){if(e===g&&l()(y))return y;var r=[];return f.Children.forEach(e,(function(e){c()(e)||(Object(h.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))})),y=r,g=e,r},x=function(t,e){var r=[],n=[];return n=l()(e)?e.map((function(t){return v(t)})):[v(e)],w(t).forEach((function(t){var e=a()(t,"type.displayName")||a()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r},O=function(t,e){var r=x(t,e);return r&&r[0]},_=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!Object(d.h)(r)||r<=0||!Object(d.h)(n)||n<=0)},S=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],k=function(t){return t&&t.type&&i()(t.type)&&S.indexOf(t.type)>=0},E=function t(e,r){if(e===r)return!0;var n=f.Children.count(e);if(n!==f.Children.count(r))return!1;if(0===n)return!0;if(1===n)return M(l()(e)?e[0]:e,l()(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],a=r[i];if(l()(o)||l()(a)){if(!t(o,a))return!1}else if(!M(o,a))return!1}return!0},M=function(t,e){if(c()(t)&&c()(e))return!0;if(!c()(t)&&!c()(e)){var r=t.props||{},n=r.children,i=m(r,["children"]),o=e.props||{},a=o.children,s=m(o,["children"]);return n&&a?Object(p.a)(i,s)&&E(n,a):!n&&!a&&Object(p.a)(i,s)}return!1},C=function(t,e){var r=[],n={};return w(t).forEach((function(t,i){if(k(t))r.push(t);else if(t){var o=v(t.type),a=e[o]||{},s=a.handler,c=a.once;if(s&&(!c||!n[o])){var u=s(t,o,i);r.push(u),n[o]=!0}}})),r},j=function(t){var e=t&&t.type;return e&&b[e]?b[e]:null},A=function(t,e){return w(e).indexOf(t)}},,function(t,e,r){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}(),t.exports=r(929)},,function(t,e,r){"use strict";function n(t,e,r){var n={};return Object.keys(t).forEach((function(i){n[i]=t[i].reduce((function(t,n){return n&&(r&&r[n]&&t.push(r[n]),t.push(e(n))),t}),[]).join(" ")})),n}r.d(e,"a",(function(){return n}))},,function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function l(t){var e=t.children,r=t.className,n=u(t,["children","className"]),o=a()("recharts-layer",r);return i.a.createElement("g",c({className:o},Object(s.c)(n,!0)),e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return h}));var n=r(0),i=r.n(n),o={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5,fullscreen:6},a=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],s=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],c=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"],u="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},l="fullscreenEnabled"in u&&Object.keys(o)||a[0]in u&&a||s[0]in u&&s||c[0]in u&&c||[],f={requestFullscreen:function(t){return t[l[o.requestFullscreen]]()},requestFullscreenFunction:function(t){return t[l[o.requestFullscreen]]},get exitFullscreen(){return u[l[o.exitFullscreen]].bind(u)},get fullscreenPseudoClass(){return":"+l[o.fullscreen]},addEventListener:function(t,e,r){return u.addEventListener(l[o[t]],e,r)},removeEventListener:function(t,e,r){return u.removeEventListener(l[o[t]],e,r)},get fullscreenEnabled(){return Boolean(u[l[o.fullscreenEnabled]])},set fullscreenEnabled(t){},get fullscreenElement(){return u[l[o.fullscreenElement]]},set fullscreenElement(t){},get onfullscreenchange(){return u[("on"+l[o.fullscreenchange]).toLowerCase()]},set onfullscreenchange(t){return u[("on"+l[o.fullscreenchange]).toLowerCase()]=t},get onfullscreenerror(){return u[("on"+l[o.fullscreenerror]).toLowerCase()]},set onfullscreenerror(t){return u[("on"+l[o.fullscreenerror]).toLowerCase()]=t}};function h(){var t=Object(n.useState)(!1),e=t[0],r=t[1],i=Object(n.useRef)(null);Object(n.useEffect)((function(){var t=function(){r(f.fullscreenElement===i.current)};return f.addEventListener("fullscreenchange",t),function(){return f.removeEventListener("fullscreenchange",t)}}),[]);var o=Object(n.useCallback)((function(){return f.fullscreenElement?f.exitFullscreen().then((function(){return f.requestFullscreen(i.current)})):i.current?f.requestFullscreen(i.current):void 0}),[]),a=Object(n.useCallback)((function(){return f.fullscreenElement===i.current?f.exitFullscreen():Promise.resolve()}),[]);return Object(n.useMemo)((function(){return{active:e,enter:o,exit:a,node:i}}),[e,o,a])}var d=function(t){var e=t.handle,r=t.onChange,o=t.children,a=t.className,s=[];return a&&s.push(a),s.push("fullscreen"),e.active&&s.push("fullscreen-enabled"),Object(n.useEffect)((function(){r&&r(e.active,e)}),[e.active]),i.a.createElement("div",{className:s.join(" "),ref:e.node,style:e.active?{height:"100%",width:"100%"}:void 0},o)}},,,,,,function(t,e,r){"use strict";function n(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function i(t,e){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof e?this.interpolator(e):this.range(e)}return this}r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}))},,,,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(354)},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return c})),r.d(e,"f",(function(){return u})),r.d(e,"g",(function(){return p})),r.d(e,"h",(function(){return l})),r.d(e,"i",(function(){return f})),r.d(e,"j",(function(){return h})),r.d(e,"k",(function(){return d}));var n=function(t){return"@@redux-saga/"+t},i=n("CANCEL_PROMISE"),o=n("CHANNEL_END"),a=n("IO"),s=n("MATCH"),c=n("MULTICAST"),u=n("SAGA_ACTION"),l=n("SELF_CANCELLATION"),f=n("TASK"),h=n("TASK_CANCEL"),d=n("TERMINATE"),p=n("LOCATION")},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=new Date,i=new Date;function o(t,e,r,a){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(r){return t(r=new Date(r-1)),e(r,1),t(r),r},s.round=function(t){var e=s(t),r=s.ceil(t);return t-e<r-t?e:r},s.offset=function(t,r){return e(t=new Date(+t),null==r?1:Math.floor(r)),t},s.range=function(r,n,i){var o,a=[];if(r=s.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return a;do{a.push(o=new Date(+r)),e(r,i),t(r)}while(o<r&&r<n);return a},s.filter=function(r){return o((function(e){if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)}),(function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}))},r&&(s.count=function(e,o){return n.setTime(+e),i.setTime(+o),t(n),t(i),Math.floor(r(n,i))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(a?function(e){return a(e)%t===0}:function(e){return s.count(0,e)%t===0}):s:null}),s}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(363);function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Object(n.a)(t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(98),i=r(514),o=r(813);function a(t){return function(){var e,r=Object(n.a)(t);if(Object(i.a)()){var a=Object(n.a)(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return Object(o.a)(this,e)}}},,function(t,e,r){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){var n;!function(i){"use strict";var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",u=c+"Invalid argument: ",l=c+"Exponent out of range: ",f=Math.floor,h=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=1e7,m=f(1286742750677284.5),b={};function v(t,e){var r,n,i,o,a,c,u,l,f=t.constructor,h=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),s?M(e,h):e;if(u=t.d,l=e.d,a=t.e,i=e.e,u=u.slice(),o=a-i){for(o<0?(n=u,o=-o,c=l.length):(n=l,i=a,c=u.length),o>(c=(a=Math.ceil(h/7))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=u.length)-(o=l.length)<0&&(o=c,n=l,l=u,u=n),r=0;o;)r=(u[--o]=u[o]+l[o]+r)/p|0,u[o]%=p;for(r&&(u.unshift(r),++i),c=u.length;0==u[--c];)u.pop();return e.d=u,e.e=i,s?M(e,h):e}function g(t,e,r){if(t!==~~t||t<e||t>r)throw Error(u+t)}function y(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=S(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=S(r))}else if(0===a)return"0";for(;a%10===0;)a/=10;return o+a}b.absoluteValue=b.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},b.comparedTo=b.cmp=function(t){var e,r,n,i,o=this;if(t=new o.constructor(t),o.s!==t.s)return o.s||-t.s;if(o.e!==t.e)return o.e>t.e^o.s<0?1:-1;for(e=0,r=(n=o.d.length)<(i=t.d.length)?n:i;e<r;++e)if(o.d[e]!==t.d[e])return o.d[e]>t.d[e]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},b.decimalPlaces=b.dp=function(){var t=this,e=t.d.length-1,r=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},b.dividedBy=b.div=function(t){return w(this,new this.constructor(t))},b.dividedToIntegerBy=b.idiv=function(t){var e=this.constructor;return M(w(this,new e(t),0,1),e.precision)},b.equals=b.eq=function(t){return!this.cmp(t)},b.exponent=function(){return O(this)},b.greaterThan=b.gt=function(t){return this.cmp(t)>0},b.greaterThanOrEqualTo=b.gte=function(t){return this.cmp(t)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(t){return this.cmp(t)<0},b.lessThanOrEqualTo=b.lte=function(t){return this.cmp(t)<1},b.logarithm=b.log=function(t){var e,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(o))throw Error(c+"NaN");if(r.s<1)throw Error(c+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(s=!1,e=w(k(r,a),k(t,a),a),s=!0,M(e,i))},b.minus=b.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?C(e,t):v(e,(t.s=-t.s,t))},b.modulo=b.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(!(t=new n(t)).s)throw Error(c+"NaN");return r.s?(s=!1,e=w(r,t,0,1).times(t),s=!0,r.minus(e)):M(new n(r),i)},b.naturalExponential=b.exp=function(){return x(this)},b.naturalLogarithm=b.ln=function(){return k(this)},b.negated=b.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},b.plus=b.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?v(e,t):C(e,(t.s=-t.s,t))},b.precision=b.sd=function(t){var e,r,n,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(u+t);if(e=O(i)+1,r=7*(n=i.d.length-1)+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},b.squareRoot=b.sqrt=function(){var t,e,r,n,i,o,a,u=this,l=u.constructor;if(u.s<1){if(!u.s)return new l(0);throw Error(c+"NaN")}for(t=O(u),s=!1,0==(i=Math.sqrt(+u))||i==1/0?(((e=y(u.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(w(u,o,a+2)).times(.5),y(o.d).slice(0,a)===(e=y(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(M(o,r+1,0),o.times(o).eq(u)){n=o;break}}else if("9999"!=e)break;a+=4}return s=!0,M(n,r)},b.times=b.mul=function(t){var e,r,n,i,o,a,c,u,l,f=this,h=f.constructor,d=f.d,m=(t=new h(t)).d;if(!f.s||!t.s)return new h(0);for(t.s*=f.s,r=f.e+t.e,(u=d.length)<(l=m.length)&&(o=d,d=m,m=o,a=u,u=l,l=a),o=[],n=a=u+l;n--;)o.push(0);for(n=l;--n>=0;){for(e=0,i=u+n;i>n;)c=o[i]+m[n]*d[i-n-1]+e,o[i--]=c%p|0,e=c/p|0;o[i]=(o[i]+e)%p|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,s?M(t,h.precision):t},b.toDecimalPlaces=b.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(g(t,0,1e9),void 0===e?e=n.rounding:g(e,0,8),M(r,t+O(r)+1,e))},b.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=j(n,!0):(g(t,0,1e9),void 0===e?e=i.rounding:g(e,0,8),r=j(n=M(new i(n),t+1,e),!0,t+1)),r},b.toFixed=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?j(i):(g(t,0,1e9),void 0===e?e=o.rounding:g(e,0,8),r=j((n=M(new o(i),t+O(i)+1,e)).abs(),!1,t+O(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},b.toInteger=b.toint=function(){var t=this,e=t.constructor;return M(new e(t),O(t)+1,e.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(t){var e,r,n,i,a,u,l=this,h=l.constructor,d=+(t=new h(t));if(!t.s)return new h(o);if(!(l=new h(l)).s){if(t.s<1)throw Error(c+"Infinity");return l}if(l.eq(o))return l;if(n=h.precision,t.eq(o))return M(l,n);if(u=(e=t.e)>=(r=t.d.length-1),a=l.s,u){if((r=d<0?-d:d)<=9007199254740991){for(i=new h(o),e=Math.ceil(n/7+4),s=!1;r%2&&A((i=i.times(l)).d,e),0!==(r=f(r/2));)A((l=l.times(l)).d,e);return s=!0,t.s<0?new h(o).div(i):M(i,n)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,l.s=1,s=!1,i=t.times(k(l,n+12)),s=!0,(i=x(i)).s=a,i},b.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?n=j(i,(r=O(i))<=o.toExpNeg||r>=o.toExpPos):(g(t,1,1e9),void 0===e?e=o.rounding:g(e,0,8),n=j(i=M(new o(i),t,e),t<=(r=O(i))||r<=o.toExpNeg,t)),n},b.toSignificantDigits=b.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(g(t,1,1e9),void 0===e?e=r.rounding:g(e,0,8)),M(new r(this),t,e)},b.toString=b.valueOf=b.val=b.toJSON=function(){var t=this,e=O(t),r=t.constructor;return j(t,e<=r.toExpNeg||e>=r.toExpPos)};var w=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%p|0,n=r/p|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=n*p+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,a){var s,u,l,f,h,d,m,b,v,g,y,w,x,_,S,k,E,C,j=n.constructor,A=n.s==i.s?1:-1,T=n.d,P=i.d;if(!n.s)return new j(n);if(!i.s)throw Error(c+"Division by zero");for(u=n.e-i.e,E=P.length,S=T.length,b=(m=new j(A)).d=[],l=0;P[l]==(T[l]||0);)++l;if(P[l]>(T[l]||0)&&--u,(w=null==o?o=j.precision:a?o+(O(n)-O(i))+1:o)<0)return new j(0);if(w=w/7+2|0,l=0,1==E)for(f=0,P=P[0],w++;(l<S||f)&&w--;l++)x=f*p+(T[l]||0),b[l]=x/P|0,f=x%P|0;else{for((f=p/(P[0]+1)|0)>1&&(P=t(P,f),T=t(T,f),E=P.length,S=T.length),_=E,g=(v=T.slice(0,E)).length;g<E;)v[g++]=0;(C=P.slice()).unshift(0),k=P[0],P[1]>=p/2&&++k;do{f=0,(s=e(P,v,E,g))<0?(y=v[0],E!=g&&(y=y*p+(v[1]||0)),(f=y/k|0)>1?(f>=p&&(f=p-1),1==(s=e(h=t(P,f),v,d=h.length,g=v.length))&&(f--,r(h,E<d?C:P,d))):(0==f&&(s=f=1),h=P.slice()),(d=h.length)<g&&h.unshift(0),r(v,h,g),-1==s&&(s=e(P,v,E,g=v.length))<1&&(f++,r(v,E<g?C:P,g)),g=v.length):0===s&&(f++,v=[0]),b[l++]=f,s&&v[0]?v[g++]=T[_]||0:(v=[T[_]],g=1)}while((_++<S||void 0!==v[0])&&w--)}return b[0]||b.shift(),m.e=u,M(m,a?o+O(m)+1:o)}}();function x(t,e){var r,n,i,a,c,u=0,f=0,d=t.constructor,p=d.precision;if(O(t)>16)throw Error(l+O(t));if(!t.s)return new d(o);for(null==e?(s=!1,c=p):c=e,a=new d(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(c+=Math.log(h(2,f))/Math.LN10*2+5|0,r=n=i=new d(o),d.precision=c;;){if(n=M(n.times(t),c),r=r.times(++u),y((a=i.plus(w(n,r,c))).d).slice(0,c)===y(i.d).slice(0,c)){for(;f--;)i=M(i.times(i),c);return d.precision=p,null==e?(s=!0,M(i,p)):i}i=a}}function O(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function _(t,e,r){if(e>t.LN10.sd())throw s=!0,r&&(t.precision=r),Error(c+"LN10 precision limit exceeded");return M(new t(t.LN10),e)}function S(t){for(var e="";t--;)e+="0";return e}function k(t,e){var r,n,i,a,u,l,f,h,d,p=1,m=t,b=m.d,v=m.constructor,g=v.precision;if(m.s<1)throw Error(c+(m.s?"NaN":"-Infinity"));if(m.eq(o))return new v(0);if(null==e?(s=!1,h=g):h=e,m.eq(10))return null==e&&(s=!0),_(v,h);if(h+=10,v.precision=h,n=(r=y(b)).charAt(0),a=O(m),!(Math.abs(a)<15e14))return f=_(v,h+2,g).times(a+""),m=k(new v(n+"."+r.slice(1)),h-10).plus(f),v.precision=g,null==e?(s=!0,M(m,g)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=y((m=m.times(t)).d)).charAt(0),p++;for(a=O(m),n>1?(m=new v("0."+r),a++):m=new v(n+"."+r.slice(1)),l=u=m=w(m.minus(o),m.plus(o),h),d=M(m.times(m),h),i=3;;){if(u=M(u.times(d),h),y((f=l.plus(w(u,new v(i),h))).d).slice(0,h)===y(l.d).slice(0,h))return l=l.times(2),0!==a&&(l=l.plus(_(v,h+2,g).times(a+""))),l=w(l,new v(p),h),v.precision=g,null==e?(s=!0,M(l,g)):l;l=f,i+=2}}function E(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,r=r-n-1,t.e=f(r/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),s&&(t.e>m||t.e<-m))throw Error(l+r)}else t.s=0,t.e=0,t.d=[0];return t}function M(t,e,r){var n,i,o,a,c,u,d,b,v=t.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=7,i=e,d=v[b=0];else{if((b=Math.ceil((n+1)/7))>=(o=v.length))return t;for(d=o=v[b],a=1;o>=10;o/=10)a++;i=(n%=7)-7+a}if(void 0!==r&&(c=d/(o=h(10,a-i-1))%10|0,u=e<0||void 0!==v[b+1]||d%o,u=r<4?(c||u)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||u||6==r&&(n>0?i>0?d/h(10,a-i):0:v[b-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return u?(o=O(t),v.length=1,e=e-o-1,v[0]=h(10,(7-e%7)%7),t.e=f(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=b,o=1,b--):(v.length=b+1,o=h(10,7-n),v[b]=i>0?(d/h(10,a-i)%h(10,i)|0)*o:0),u)for(;;){if(0==b){(v[0]+=o)==p&&(v[0]=1,++t.e);break}if(v[b]+=o,v[b]!=p)break;v[b--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(s&&(t.e>m||t.e<-m))throw Error(l+O(t));return t}function C(t,e){var r,n,i,o,a,c,u,l,f,h,d=t.constructor,m=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),s?M(e,m):e;if(u=t.d,h=e.d,n=e.e,l=t.e,u=u.slice(),a=l-n){for((f=a<0)?(r=u,a=-a,c=h.length):(r=h,n=l,c=u.length),a>(i=Math.max(Math.ceil(m/7),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=u.length)<(c=h.length))&&(c=i),i=0;i<c;i++)if(u[i]!=h[i]){f=u[i]<h[i];break}a=0}for(f&&(r=u,u=h,h=r,e.s=-e.s),c=u.length,i=h.length-c;i>0;--i)u[c++]=0;for(i=h.length;i>a;){if(u[--i]<h[i]){for(o=i;o&&0===u[--o];)u[o]=p-1;--u[o],u[i]+=p}u[i]-=h[i]}for(;0===u[--c];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,s?M(e,m):e):new d(0)}function j(t,e,r){var n,i=O(t),o=y(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+S(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+S(-i-1)+o,r&&(n=r-a)>0&&(o+=S(n))):i>=a?(o+=S(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+S(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=S(n))),t.s<0?"-"+o:o}function A(t,e){if(t.length>e)return t.length=e,!0}function T(t){if(!t||"object"!==typeof t)throw Error(c+"Object expected");var e,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]])){if(!(f(n)===n&&n>=i[e+1]&&n<=i[e+2]))throw Error(u+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(u+r+": "+n);this[r]=new this(n)}return this}(a=function t(e){var r,n,i;function o(t){var e=this;if(!(e instanceof o))return new o(t);if(e.constructor=o,t instanceof o)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"===typeof t){if(0*t!==0)throw Error(u+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):E(e,t.toString())}if("string"!==typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!d.test(t))throw Error(u+t);E(e,t)}if(o.prototype=b,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=T,void 0===e&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=function(){return a}.call(e,r,e,t))||(t.exports=n)}()},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");e.default=a},function(t,e){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e,r){"use strict";r.d(e,"c",(function(){return u})),r.d(e,"a",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"b",(function(){return m}));var n=r(316),i=r(274),o=r(175),a=r(784);var s=r(333),c=[0,1];function u(t){return t}function l(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r});var r}function f(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=l(i,n),o=r(a,o)):(n=l(n,i),o=r(o,a)),function(t){return o(n(t))}}function h(t,e,r){var i=Math.min(t.length,e.length)-1,o=new Array(i),a=new Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<i;)o[s]=l(t[s],t[s+1]),a[s]=r(e[s],e[s+1]);return function(e){var r=Object(n.d)(t,e,1,i)-1;return a[r](o[r](e))}}function d(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function p(){var t,e,r,n,l,d,p=c,m=c,b=i.a,v=u;function g(){var t=Math.min(p.length,m.length);return v!==u&&(v=function(t,e){var r;return t>e&&(r=t,t=e,e=r),function(r){return Math.max(t,Math.min(e,r))}}(p[0],p[t-1])),n=t>2?h:f,l=d=null,y}function y(e){return null==e||isNaN(e=+e)?r:(l||(l=n(p.map(t),m,b)))(t(v(e)))}return y.invert=function(r){return v(e((d||(d=n(m,p.map(t),o.a)))(r)))},y.domain=function(t){return arguments.length?(p=Array.from(t,s.a),g()):p.slice()},y.range=function(t){return arguments.length?(m=Array.from(t),g()):m.slice()},y.rangeRound=function(t){return m=Array.from(t),b=a.a,g()},y.clamp=function(t){return arguments.length?(v=!!t||u,g()):v!==u},y.interpolate=function(t){return arguments.length?(b=t,g()):b},y.unknown=function(t){return arguments.length?(r=t,y):r},function(r,n){return t=r,e=n,g()}}function m(){return p()(u,u)}},function(t,e,r){"use strict";r.d(e,"g",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"k",(function(){return c})),r.d(e,"m",(function(){return u})),r.d(e,"i",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"e",(function(){return h})),r.d(e,"h",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"l",(function(){return m})),r.d(e,"n",(function(){return b})),r.d(e,"j",(function(){return v})),r.d(e,"b",(function(){return g})),r.d(e,"f",(function(){return y}));var n=r(94),i=r(60);function o(t){return Object(n.a)((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/i.f}))}var a=o(0),s=o(1),c=o(2),u=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=s.range,m=c.range,b=u.range,v=l.range,g=f.range,y=h.range},function(t,e,r){"use strict";r.d(e,"g",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"k",(function(){return c})),r.d(e,"m",(function(){return u})),r.d(e,"i",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"e",(function(){return h})),r.d(e,"h",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"l",(function(){return m})),r.d(e,"n",(function(){return b})),r.d(e,"j",(function(){return v})),r.d(e,"b",(function(){return g})),r.d(e,"f",(function(){return y}));var n=r(94),i=r(60);function o(t){return Object(n.a)((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.f}))}var a=o(0),s=o(1),c=o(2),u=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=s.range,m=c.range,b=u.range,v=l.range,g=f.range,y=h.range},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"Launch");e.default=a},function(t,e,r){"use strict";e.a=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}},,function(t,e,r){"use strict";r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return s}));var n=r(377);function i(t,e){return function(r){return t+r*e}}function o(t,e){var r=e-t;return r?i(t,r>180||r<-180?r-360*Math.round(r/360):r):Object(n.a)(isNaN(t)?e:t)}function a(t){return 1===(t=+t)?s:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):Object(n.a)(isNaN(e)?r:e)}}function s(t,e){var r=e-t;return r?i(t,r):Object(n.a)(isNaN(t)?e:t)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(98);function i(t,e,r){return(i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(n.a)(t)););return t}(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}},function(t,e){var r,n,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"===typeof setTimeout?setTimeout:o}catch(t){r=o}try{n="function"===typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var c,u=[],l=!1,f=-1;function h(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var t=s(h);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new p(t,e)),1!==u.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},,function(t,e,r){var n=r(594);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},function(t,e,r){"use strict";var n=r(1309);e.a=n.a},function(t,e,r){"use strict";r.d(e,"f",(function(){return n.d})),r.d(e,"i",(function(){return n.c})),r.d(e,"h",(function(){return n.b})),r.d(e,"g",(function(){return n.a})),r.d(e,"d",(function(){return i.a})),r.d(e,"j",(function(){return o.a})),r.d(e,"k",(function(){return a.a})),r.d(e,"l",(function(){return h})),r.d(e,"m",(function(){return d})),r.d(e,"n",(function(){return p})),r.d(e,"o",(function(){return v})),r.d(e,"s",(function(){return g.a})),r.d(e,"a",(function(){return y.a})),r.d(e,"v",(function(){return y.c})),r.d(e,"t",(function(){return y.b})),r.d(e,"y",(function(){return I})),r.d(e,"A",(function(){return N})),r.d(e,"C",(function(){return z})),r.d(e,"D",(function(){return H})),r.d(e,"Y",(function(){return F})),r.d(e,"Z",(function(){return B})),r.d(e,"z",(function(){return G})),r.d(e,"e",(function(){return Q})),r.d(e,"B",(function(){return Q})),r.d(e,"ib",(function(){return et})),r.d(e,"jb",(function(){return rt})),r.d(e,"kb",(function(){return J.a})),r.d(e,"I",(function(){return nt.a})),r.d(e,"J",(function(){return it})),r.d(e,"K",(function(){return ot})),r.d(e,"L",(function(){return at})),r.d(e,"M",(function(){return st.a})),r.d(e,"N",(function(){return ct.a})),r.d(e,"O",(function(){return ut})),r.d(e,"P",(function(){return Z})),r.d(e,"Q",(function(){return lt})),r.d(e,"R",(function(){return q})),r.d(e,"S",(function(){return tt.a})),r.d(e,"T",(function(){return tt.b})),r.d(e,"U",(function(){return ht.a})),r.d(e,"V",(function(){return dt.a})),r.d(e,"F",(function(){return pt})),r.d(e,"G",(function(){return mt})),r.d(e,"w",(function(){return bt})),r.d(e,"x",(function(){return vt})),r.d(e,"ab",(function(){return gt})),r.d(e,"bb",(function(){return yt})),r.d(e,"cb",(function(){return wt})),r.d(e,"gb",(function(){return xt})),r.d(e,"nb",(function(){return K.a})),r.d(e,"lb",(function(){return K.b})),r.d(e,"mb",(function(){return K.c})),r.d(e,"ob",(function(){return Ot})),r.d(e,"qb",(function(){return b})),r.d(e,"rb",(function(){return St})),r.d(e,"r",(function(){return kt})),r.d(e,"db",(function(){return Et})),r.d(e,"u",(function(){return Mt})),r.d(e,"H",(function(){return Ct})),r.d(e,"W",(function(){return jt})),r.d(e,"X",(function(){return At})),r.d(e,"eb",(function(){return V})),r.d(e,"p",(function(){return Tt})),r.d(e,"q",(function(){return Pt})),r.d(e,"E",(function(){return Rt})),r.d(e,"fb",(function(){return It})),r.d(e,"hb",(function(){return Lt})),r.d(e,"pb",(function(){return Nt})),r.d(e,"b",(function(){return j})),r.d(e,"c",(function(){return A}));var n=r(316),i=r(108),o=r(365),a=r(272),s=r(19);function c(t){return 0|t.length}function u(t){return!(t>0)}function l(t){return"object"!==typeof t||"length"in t?t:Array.from(t)}function f(t){return function(e){return t.apply(void 0,Object(s.a)(e))}}function h(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n="function"===typeof e[e.length-1]&&f(e.pop()),i=(e=e.map(l)).map(c),o=e.length-1,a=new Array(o+1).fill(0),s=[];if(o<0||i.some(u))return s;for(;;){s.push(a.map((function(t,r){return e[r][t]})));for(var h=o;++a[h]===i[h];){if(0===h)return n?s.map(n):s;a[h--]=0}}}function d(t,e){var r=0,n=0;return Float64Array.from(t,void 0===e?function(t){return r+=+t||0}:function(i){return r+=+e(i,n++,t)||0})}var p=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},m=r(29);function b(t,e){var r,n=0,i=0,o=0;if(void 0===e){var a,s=Object(m.a)(t);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=c&&(c=+c)>=c&&(o+=(r=c-i)*(c-(i+=r/++n)))}}catch(d){s.e(d)}finally{s.f()}}else{var u,l=-1,f=Object(m.a)(t);try{for(f.s();!(u=f.n()).done;){var h=u.value;null!=(h=e(h,++l,t))&&(h=+h)>=h&&(o+=(r=h-i)*(h-(i+=r/++n)))}}catch(d){f.e(d)}finally{f.f()}}if(n>1)return o/(n-1)}function v(t,e){var r=b(t,e);return r?Math.sqrt(r):r}var g=r(366),y=r(481),w=r(3),x=r(45),O=r(46),_=r(319),S=r(111),k=r(98),E=r(95),M=r(96),C=r(432),j=function(t){Object(E.a)(r,t);var e=Object(M.a)(r);function r(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(Object(x.a)(this,r),n=e.call(this),Object.defineProperties(Object(_.a)(n),{_intern:{value:new Map},_key:{value:i}}),null!=t){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=Object(w.a)(o.value,2),c=s[0],u=s[1];n.set(c,u)}}catch(l){a.e(l)}finally{a.f()}}return n}return Object(O.a)(r,[{key:"get",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"get",this).call(this,T(this,t))}},{key:"has",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"has",this).call(this,T(this,t))}},{key:"set",value:function(t,e){return Object(S.a)(Object(k.a)(r.prototype),"set",this).call(this,P(this,t),e)}},{key:"delete",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"delete",this).call(this,D(this,t))}}]),r}(Object(C.a)(Map)),A=function(t){Object(E.a)(r,t);var e=Object(M.a)(r);function r(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(Object(x.a)(this,r),n=e.call(this),Object.defineProperties(Object(_.a)(n),{_intern:{value:new Map},_key:{value:i}}),null!=t){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;n.add(s)}}catch(c){a.e(c)}finally{a.f()}}return n}return Object(O.a)(r,[{key:"has",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"has",this).call(this,T(this,t))}},{key:"add",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"add",this).call(this,P(this,t))}},{key:"delete",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"delete",this).call(this,D(this,t))}}]),r}(Object(C.a)(Set));function T(t,e){var r=t._intern,n=(0,t._key)(e);return r.has(n)?r.get(n):e}function P(t,e){var r=t._intern,n=(0,t._key)(e);return r.has(n)?r.get(n):(r.set(n,e),e)}function D(t,e){var r=t._intern,n=(0,t._key)(e);return r.has(n)&&(e=r.get(e),r.delete(n)),e}function R(t){return null!==t&&"object"===typeof t?t.valueOf():t}var L=function(t){return t};function I(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,L,L,r)}function N(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,Array.from,L,r)}function F(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return W(t,L,e,n)}function B(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return W(t,Array.from,e,n)}function z(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,L,U,r)}function H(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,Array.from,U,r)}function U(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function W(t,e,r,n){return function t(i,o){if(o>=n.length)return r(i);var a,s=new j,c=n[o++],u=-1,l=Object(m.a)(i);try{for(l.s();!(a=l.n()).done;){var f=a.value,h=c(f,++u,i),d=s.get(h);d?d.push(f):s.set(h,[f])}}catch(x){l.e(x)}finally{l.f()}var p,b=Object(m.a)(s);try{for(b.s();!(p=b.n()).done;){var v=Object(w.a)(p.value,2),g=v[0],y=v[1];s.set(g,t(y,o))}}catch(x){b.e(x)}finally{b.f()}return e(s)}(t,0)}var q=function(t,e){return Array.from(e,(function(e){return t[e]}))};function V(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);var o=r,a=Object(w.a)(o,1),s=a[0],c=void 0===s?i.a:s;if(1===c.length||r.length>1){var u=Uint32Array.from(t,(function(t,e){return e}));return r.length>1?(r=r.map((function(e){return t.map(e)})),u.sort((function(t,e){var n,o=Object(m.a)(r);try{for(o.s();!(n=o.n()).done;){var a=n.value,s=Object(i.a)(a[t],a[e]);if(s)return s}}catch(c){o.e(c)}finally{o.f()}}))):(c=t.map(c),u.sort((function(t,e){return Object(i.a)(c[t],c[e])}))),q(t,u)}return t.sort(c)}function G(t,e,r){return(1===e.length?V(F(t,e,r),(function(t,e){var r=Object(w.a)(t,2),n=r[0],o=r[1],a=Object(w.a)(e,2),s=a[0],c=a[1];return Object(i.a)(o,c)||Object(i.a)(n,s)})):V(I(t,r),(function(t,r){var n=Object(w.a)(t,2),o=n[0],a=n[1],s=Object(w.a)(r,2),c=s[0],u=s[1];return e(a,u)||Object(i.a)(o,c)}))).map((function(t){return Object(w.a)(t,1)[0]}))}var Y=Array.prototype,X=Y.slice,$=(Y.map,function(t){return function(){return t}}),K=r(173);function Z(t,e,r){for(var n;;){var i=Object(K.b)(t,e,r);if(i===n||0===i||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),n=i}}var J=r(492),Q=function(){var t=L,e=g.a,r=J.a;function i(i){Array.isArray(i)||(i=Array.from(i));var o,a,s=i.length,c=new Array(s);for(o=0;o<s;++o)c[o]=t(i[o],o,i);var u=e(c),l=u[0],f=u[1],h=r(c,l,f);if(!Array.isArray(h)){var d=f,p=+h;if(e===g.a){var m=Z(l,f,p),b=Object(w.a)(m,2);l=b[0],f=b[1]}if((h=Object(K.a)(l,f,p))[h.length-1]>=f)if(d>=f&&e===g.a){var v=Object(K.b)(l,f,p);isFinite(v)&&(v>0?f=(Math.floor(f/v)+1)*v:v<0&&(f=(Math.ceil(f*-v)+1)/-v))}else h.pop()}for(var y=h.length;h[0]<=l;)h.shift(),--y;for(;h[y-1]>f;)h.pop(),--y;var x,O=new Array(y+1);for(o=0;o<=y;++o)(x=O[o]=[]).x0=o>0?h[o-1]:l,x.x1=o<y?h[o]:f;for(o=0;o<s;++o)l<=(a=c[o])&&a<=f&&O[Object(n.d)(h,a,0,y)].push(i[o]);return O}return i.value=function(e){return arguments.length?(t="function"===typeof e?e:$(e),i):t},i.domain=function(t){return arguments.length?(e="function"===typeof t?t:$([t[0],t[1]]),i):e},i.thresholds=function(t){return arguments.length?(r="function"===typeof t?t:Array.isArray(t)?$(X.call(t)):$(t),i):r},i},tt=r(273),et=function(t,e,r){return Math.ceil((r-e)/(2*(Object(tt.a)(t,.75)-Object(tt.a)(t,.25))*Math.pow(Object(a.a)(t),-1/3)))},rt=function(t,e,r){return Math.ceil((r-e)/(3.5*v(t)*Math.pow(Object(a.a)(t),-1/3)))},nt=r(414);function it(t,e){var r,n=-1,i=-1;if(void 0===e){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;++i,null!=s&&(r<s||void 0===r&&s>=s)&&(r=s,n=i)}}catch(f){a.e(f)}finally{a.f()}}else{var c,u=Object(m.a)(t);try{for(u.s();!(c=u.n()).done;){var l=c.value;null!=(l=e(l,++i,t))&&(r<l||void 0===r&&l>=l)&&(r=l,n=i)}}catch(f){u.e(f)}finally{u.f()}}return n}function ot(t,e){var r=0,n=0;if(void 0===e){var i,o=Object(m.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(a=+a)>=a&&(++r,n+=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(m.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(l=+l)>=l&&(++r,n+=l)}}catch(f){u.e(f)}finally{u.f()}}if(r)return n/r}var at=function(t,e){return Object(tt.a)(t,.5,e)},st=r(783),ct=r(321);function ut(t,e){var r,n=-1,i=-1;if(void 0===e){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;++i,null!=s&&(r>s||void 0===r&&s>=s)&&(r=s,n=i)}}catch(f){a.e(f)}finally{a.f()}}else{var c,u=Object(m.a)(t);try{for(u.s();!(c=u.n()).done;){var l=c.value;null!=(l=e(l,++i,t))&&(r>l||void 0===r&&l>=l)&&(r=l,n=i)}}catch(f){u.e(f)}finally{u.f()}}return n}function lt(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ft,i=[],o=!1,a=Object(m.a)(t);try{for(a.s();!(r=a.n()).done;){var s=r.value;o&&i.push(n(e,s)),e=s,o=!0}}catch(c){a.e(c)}finally{a.f()}return i}function ft(t,e){return[t,e]}var ht=r(493),dt=r(635);function pt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a,n=!1;if(1===r.length){var o,a,s=Object(m.a)(t);try{for(s.s();!(a=s.n()).done;){var c=a.value,u=r(c);(n?Object(i.a)(u,o)<0:0===Object(i.a)(u,u))&&(e=c,o=u,n=!0)}}catch(d){s.e(d)}finally{s.f()}}else{var l,f=Object(m.a)(t);try{for(f.s();!(l=f.n()).done;){var h=l.value;(n?r(h,e)<0:0===r(h,h))&&(e=h,n=!0)}}catch(d){f.e(d)}finally{f.f()}}return e}function mt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;if(1===r.length)return ut(t,r);var n,o=-1,a=-1,s=Object(m.a)(t);try{for(s.s();!(n=s.n()).done;){var c=n.value;++a,(o<0?0===r(c,c):r(c,e)<0)&&(e=c,o=a)}}catch(u){s.e(u)}finally{s.f()}return o}function bt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a,n=!1;if(1===r.length){var o,a,s=Object(m.a)(t);try{for(s.s();!(a=s.n()).done;){var c=a.value,u=r(c);(n?Object(i.a)(u,o)>0:0===Object(i.a)(u,u))&&(e=c,o=u,n=!0)}}catch(d){s.e(d)}finally{s.f()}}else{var l,f=Object(m.a)(t);try{for(f.s();!(l=f.n()).done;){var h=l.value;(n?r(h,e)>0:0===r(h,h))&&(e=h,n=!0)}}catch(d){f.e(d)}finally{f.f()}}return e}function vt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;if(1===r.length)return it(t,r);var n,o=-1,a=-1,s=Object(m.a)(t);try{for(s.s();!(n=s.n()).done;){var c=n.value;++a,(o<0?0===r(c,c):r(c,e)>0)&&(e=c,o=a)}}catch(u){s.e(u)}finally{s.f()}return o}function gt(t,e){var r=mt(t,e);return r<0?void 0:r}var yt=wt(Math.random);function wt(t){return function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=n-(r=+r);i;){var o=t()*i--|0,a=e[i+r];e[i+r]=e[o+r],e[o+r]=a}return e}}function xt(t,e){var r=0;if(void 0===e){var n,i=Object(m.a)(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;(o=+o)&&(r+=o)}}catch(l){i.e(l)}finally{i.f()}}else{var a,s=-1,c=Object(m.a)(t);try{for(c.s();!(a=c.n()).done;){var u=a.value;(u=+e(u,++s,t))&&(r+=u)}}catch(l){c.e(l)}finally{c.f()}}return r}var Ot=function(t){if(!(i=t.length))return[];for(var e=-1,r=Object(ct.a)(t,_t),n=new Array(r);++e<r;)for(var i,o=-1,a=n[e]=new Array(i);++o<i;)a[o]=t[o][e];return n};function _t(t){return t.length}var St=function(){return Ot(arguments)};function kt(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var r,n=-1,i=Object(m.a)(t);try{for(i.s();!(r=i.n()).done;){if(!e(r.value,++n,t))return!1}}catch(o){i.e(o)}finally{i.f()}return!0}function Et(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var r,n=-1,i=Object(m.a)(t);try{for(i.s();!(r=i.n()).done;){if(e(r.value,++n,t))return!0}}catch(o){i.e(o)}finally{i.f()}return!1}function Mt(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var r,n=[],i=-1,o=Object(m.a)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;e(a,++i,t)&&n.push(a)}}catch(s){o.e(s)}finally{o.f()}return n}function Ct(t,e){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!==typeof e)throw new TypeError("mapper is not a function");return Array.from(t,(function(r,n){return e(r,n,t)}))}function jt(t,e,r){if("function"!==typeof e)throw new TypeError("reducer is not a function");var n,i,o=t[Symbol.iterator](),a=-1;if(arguments.length<3){var s=o.next();if(n=s.done,r=s.value,n)return;++a}for(;n=(c=o.next()).done,i=c.value,!n;){var c;r=e(r,i,++a,t)}return r}function At(t){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()}function Tt(t){t=new Set(t);for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a,s=o[i],c=Object(m.a)(s);try{for(c.s();!(a=c.n()).done;){var u=a.value;t.delete(u)}}catch(l){c.e(l)}finally{c.f()}}return t}function Pt(t,e){var r,n=e[Symbol.iterator](),i=new Set,o=Object(m.a)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(i.has(a))return!1;for(var s=void 0,c=void 0;s=(u=n.next()).value,c=u.done,u;){var u;if(c)break;if(Object.is(a,s))return!1;i.add(s)}}}catch(l){o.e(l)}finally{o.f()}return!0}function Dt(t){return t instanceof Set?t:new Set(t)}function Rt(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];t=new Set(t),r=r.map(Dt);var i,o=Object(m.a)(t);try{t:for(o.s();!(i=o.n()).done;){var a,s=i.value,c=Object(m.a)(r);try{for(c.s();!(a=c.n()).done;){var u=a.value;if(!u.has(s)){t.delete(s);continue t}}}catch(l){c.e(l)}finally{c.f()}}}catch(l){o.e(l)}finally{o.f()}return t}function Lt(t,e){var r,n=t[Symbol.iterator](),i=new Set,o=Object(m.a)(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(!i.has(a))for(var s=void 0,c=void 0;s=(u=n.next()).value,c=u.done,u;){var u;if(c)return!1;if(i.add(s),Object.is(a,s))break}}}catch(l){o.e(l)}finally{o.f()}return!0}function It(t,e){return Lt(e,t)}function Nt(){for(var t=new Set,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a,s=o[i],c=Object(m.a)(s);try{for(c.s();!(a=c.n()).done;){var u=a.value;t.add(u)}}catch(l){c.e(l)}finally{c.f()}}return t}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"d",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"e",(function(){return w})),r.d(e,"h",(function(){return _})),r.d(e,"g",(function(){return S})),r.d(e,"b",(function(){return k})),r.d(e,"f",(function(){return T}));var n=r(177);function i(){}var o=.7,a=1/o,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),h=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),m=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),b=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function g(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function w(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?x(e):3===r?new k(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?O(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?O(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new k(e[1],e[2],e[3],1):(e=h.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?O(e[1],e[2],e[3],e[4]):(e=p.exec(t))?O(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=m.exec(t))?j(e[1],e[2]/100,e[3]/100,1):(e=b.exec(t))?j(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?x(v[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function x(t){return new k(t>>16&255,t>>8&255,255&t,1)}function O(t,e,r,n){return n<=0&&(t=e=r=NaN),new k(t,e,r,n)}function _(t){return t instanceof i||(t=w(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function S(t,e,r,n){return 1===arguments.length?_(t):new k(t,e,r,null==n?1:n)}function k(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function E(){return"#"+C(this.r)+C(this.g)+C(this.b)}function M(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function C(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function j(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new P(t,e,r,n)}function A(t){if(t instanceof P)return new P(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new P;if(t instanceof P)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),a=Math.max(e,r,n),s=NaN,c=a-o,u=(a+o)/2;return c?(s=e===a?(r-n)/c+6*(r<n):r===a?(n-e)/c+2:(e-r)/c+4,c/=u<.5?a+o:2-a-o,s*=60):c=u>0&&u<1?0:s,new P(s,c,u,t.opacity)}function T(t,e,r,n){return 1===arguments.length?A(t):new P(t,e,r,null==n?1:n)}function P(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function D(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Object(n.a)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:g,formatHex:g,formatHsl:function(){return A(this).formatHsl()},formatRgb:y,toString:y}),Object(n.a)(k,S,Object(n.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:M,toString:M})),Object(n.a)(P,T,Object(n.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new P(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new P(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new k(D(t>=240?t-240:t+120,i,n),D(t,i,n),D(t<120?t+240:t-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return c})),r.d(e,"b",(function(){return f}));r(36),r(17),r(37);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=Math.PI/180,s=function(t){return 180*t/Math.PI},c=function(t,e,r,n){return{x:t+Math.cos(-a*n)*r,y:e+Math.sin(-a*n)*r}},u=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,u=Math.acos(c);return n>o&&(u=2*Math.PI-u),{radius:a,angle:s(u),angleInRadian:u}},l=function(t,e){var r=e.startAngle,n=e.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return t+360*Math.min(i,o)},f=function(t,e){var r=t.x,n=t.y,o=u({x:r,y:n},e),a=o.radius,s=o.angle,c=e.innerRadius,f=e.outerRadius;if(a<c||a>f)return!1;if(0===a)return!0;var h,d=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:e-360*o,endAngle:r-360*o}}(e),p=d.startAngle,m=d.endAngle,b=s;if(p<=m){for(;b>m;)b-=360;for(;b<p;)b+=360;h=b>=p&&b<=m}else{for(;b>p;)b-=360;for(;b<m;)b+=360;h=b>=m&&b<=p}return h?i(i({},e),{},{radius:a,angle:l(b,e)}):null}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";(function(t){var n=r(1023),i=r(1024),o=r(706);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(t,e,r);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return u(this,t,e,r)}function u(t,e,r,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=h(t,e);return t}(t,e,r,n):"string"===typeof e?function(t,e,r){"string"===typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(e,r),i=(t=s(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(c.isBuffer(e)){var r=0|d(e.length);return 0===(t=s(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||(n=e.length)!==n?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e){if(l(e),t=s(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e){var r=e.length<0?0:0|d(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(t).length;default:if(n)return z(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return E(this,e,r);case"ascii":return M(this,e,r);case"latin1":case"binary":return C(this,e,r);case"base64":return k(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,i);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,i){var o,a=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(t,o+h)!==u(e,h)){f=!1;break}if(f)return o}return-1}function y(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function w(t,e,r,n){return U(z(e,t.length-r),t,r,n)}function x(t,e,r,n){return U(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function O(t,e,r,n){return x(t,e,r,n)}function _(t,e,r,n){return U(H(e),t,r,n)}function S(t,e,r,n){return U(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function k(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function E(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,c,u=t[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128===(192&(o=t[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return u(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return function(t,e,r,n){return l(e),e<=0?s(t,e):void 0!==r?"string"===typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},c.allocUnsafe=function(t){return f(null,t)},c.allocUnsafeSlow=function(t){return f(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)b(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?E(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,r,n,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(n,i),l=t.slice(e,r),f=0;f<s;++f)if(u[f]!==l[f]){o=u[f],a=l[f];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return y(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":return x(this,t,e,r);case"latin1":case"binary":return O(this,t,e,r);case"base64":return _(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function C(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function j(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=B(t[o]);return i}function A(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function T(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,r,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function D(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function R(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function L(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function I(t,e,r,n,o){return o||L(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function N(t,e,r,n,o){return o||L(t,0,r,8),i.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=c.prototype;else{var i=e-t;r=new c(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},c.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||T(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return I(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return I(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return N(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return N(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},c.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=c.isBuffer(t)?t:z(new c(t,n).toString()),s=a.length;for(o=0;o<r-e;++o)this[o+e]=a[o%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function H(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function U(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(120))},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r(0);var n=r(426),i=r(284);function o(){return Object(n.a)(i.a)}},,function(t,e,r){"use strict";function n(t){return t&&t.ownerDocument||document}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(823);var i=r(517),o=r(824);function a(t,e){return Object(n.a)(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,r){"use strict";r.d(e,"e",(function(){return n})),r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"d",(function(){return c}));r(19),r(2),r(10),r(558),r(236);var n={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(n[t],"px)")}};function o(t,e,r){var o=t.theme||{};if(Array.isArray(e)){var a=o.breakpoints||i;return e.reduce((function(t,n,i){return t[a.up(a.keys[i])]=r(e[i]),t}),{})}if("object"===typeof e){var s=o.breakpoints||i;return Object.keys(e).reduce((function(t,i){if(-1!==Object.keys(s.values||n).indexOf(i)){t[s.up(i)]=r(e[i],i)}else{var o=i;t[o]=e[o]}return t}),{})}return r(e)}function a(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=null==e||null==(t=e.keys)?void 0:t.reduce((function(t,r){return t[e.up(r)]={},t}),{});return r||{}}function s(t,e){return t.reduce((function(t,e){var r=t[e];return(!r||0===Object.keys(r).length)&&delete t[e],t}),e)}function c(t){var e,r=t.values,n=t.breakpoints,i=t.base||function(t,e){if("object"!==typeof t)return{};var r={},n=Object.keys(e);return Array.isArray(t)?n.forEach((function(e,n){n<t.length&&(r[e]=!0)})):n.forEach((function(e){null!=t[e]&&(r[e]=!0)})),r}(r,n),o=Object.keys(i);return 0===o.length?r:o.reduce((function(t,n,i){return Array.isArray(r)?(t[n]=null!=r[i]?r[i]:r[e],e=i):(t[n]=null!=r[n]?r[n]:r[e]||r,e=n),t}),{})}},function(t,e,r){"use strict";var n;!function(i,o){t.exports?(o.default=o,t.exports=i.document?o(i):o):void 0===(n=function(){return o(i)}.call(e,r,e,t))||(t.exports=n)}("undefined"!==typeof window?window:this,(function(t){function e(t,e,r,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,r))}var r={};return e(r,"Core/Globals.js",[],(function(){var e,r,n="undefined"!==typeof t?t:"undefined"!==typeof window?window:{};return(r=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",r.product="Highcharts",r.version="9.3.2",r.win=n,r.doc=r.win.document,r.svg=r.doc&&r.doc.createElementNS&&!!r.doc.createElementNS(r.SVG_NS,"svg").createSVGRect,r.userAgent=r.win.navigator&&r.win.navigator.userAgent||"",r.isChrome=-1!==r.userAgent.indexOf("Chrome"),r.isFirefox=-1!==r.userAgent.indexOf("Firefox"),r.isMS=/(edge|msie|trident)/i.test(r.userAgent)&&!r.win.opera,r.isSafari=!r.isChrome&&-1!==r.userAgent.indexOf("Safari"),r.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(r.userAgent),r.isWebKit=-1!==r.userAgent.indexOf("AppleWebKit"),r.deg2rad=2*Math.PI/360,r.hasBidiBug=r.isFirefox&&4>parseInt(r.userAgent.split("Firefox/")[1],10),r.hasTouch=!!r.win.TouchEvent,r.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],r.noop=function(){},r.supportsPassiveEvents=function(){var t=!1;if(!r.isMS){var e=Object.defineProperty({},"passive",{get:function(){t=!0}});r.win.addEventListener&&r.win.removeEventListener&&(r.win.addEventListener("testPassive",r.noop,e),r.win.removeEventListener("testPassive",r.noop,e))}return t}(),r.charts=[],r.dateFormats={},r.seriesTypes={},r.symbolSizes={},r.chartCount=0,e})),e(r,"Core/Utilities.js",[r["Core/Globals.js"]],(function(t){function e(r,n,i,o){var a=n?"Highcharts error":"Highcharts warning";32===r&&(r=a+": Deprecated member");var s=c(r),u=s?a+" #"+r+": www.highcharts.com/errors/"+r+"/":r.toString();if("undefined"!==typeof o){var l="";s&&(u+="?"),m(o,(function(t,e){l+="\n - "+e+": "+t,s&&(u+=encodeURI(e)+"="+encodeURI(t))})),u+=l}v(t,"displayError",{chart:i,code:r,message:u,params:o},(function(){if(n)throw Error(u);w.console&&-1===e.messages.indexOf(u)&&console.warn(u)})),e.messages.push(u)}function r(t,e){return parseInt(t,e||10)}function n(t){return"string"===typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!!t&&"object"===typeof t&&(!e||!i(t))}function a(t){return o(t)&&"number"===typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function c(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function u(t){return"undefined"!==typeof t&&null!==t}function l(t,e,r){var i;return n(e)?u(r)?t.setAttribute(e,r):t&&t.getAttribute&&((i=t.getAttribute(e))||"class"!==e||(i=t.getAttribute(e+"Name"))):m(e,(function(e,r){u(e)?t.setAttribute(r,e):t.removeAttribute(r)})),i}function f(t,e){var r;for(r in t||(t={}),e)t[r]=e[r];return t}function h(){for(var t=arguments,e=t.length,r=0;r<e;r++){var n=t[r];if("undefined"!==typeof n&&null!==n)return n}}function d(e,r){t.isMS&&!t.svg&&r&&"undefined"!==typeof r.opacity&&(r.filter="alpha(opacity="+100*r.opacity+")"),f(e.style,r)}function p(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,r){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(r||t[n],t[n],n,t)}function b(e,r,n){function i(r,n){var i=e.removeEventListener||t.removeEventListenerPolyfill;i&&i.call(e,r,n,!1)}function o(t){var n;if(e.nodeName){if(r){var o={};o[r]=!0}else o=t;m(o,(function(e,r){if(t[r])for(n=t[r].length;n--;)i(r,t[r][n].fn)}))}}var a="function"===typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;r?(a=s[r]||[],n?(s[r]=a.filter((function(t){return n!==t.fn})),i(r,n)):(o(s),s[r]=[])):(o(s),delete a.hcEvents)}}function v(e,r,n,i){if(n=n||{},y.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=y.createEvent("Events");o.initEvent(r,!0,!0),n=f(o,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(r,n)}else if(e.hcEvents){n.target||f(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:r}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[r]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[r])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,n)&&n.preventDefault()}))}i&&!n.defaultPrevented&&i.call(e,n)}var g=t.charts,y=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var r,n=t.length;for(r=0;r<n;r++)if(e(t[r],r))return t[r]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(r,n){t[n]=function(t){var i;return e(32,!1,void 0,((i={})["Highcharts."+n]="use Array."+r,i)),Array.prototype[r].apply(t,[].slice.call(arguments,1))}}));var O,_=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(O?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):g[l(this[0],"data-highcharts-chart")]}),x={addEvent:function(e,r,n,i){void 0===i&&(i={});var o="function"===typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,r,n,!!t.supportsPassiveEvents&&{passive:void 0===i.passive?-1!==r.indexOf("touch"):i.passive,capture:!1}),o[r]||(o[r]=[]),o[r].push({fn:n,order:"number"===typeof i.order?i.order:1/0}),o[r].sort((function(t,e){return t.order-e.order})),function(){b(e,r,n)}},arrayMax:function(t){for(var e=t.length,r=t[0];e--;)t[e]>r&&(r=t[e]);return r},arrayMin:function(t){for(var e=t.length,r=t[0];e--;)t[e]<r&&(r=t[e]);return r},attr:l,clamp:function(t,e,r){return t>e?t<r?t:r:e},cleanRecursively:function t(e,r){var n={};return m(e,(function(i,a){o(e[a],!0)&&!e.nodeType&&r[a]?(i=t(e[a],r[a]),Object.keys(i).length&&(n[a]=i)):(o(e[a])||e[a]!==r[a])&&(n[a]=e[a])})),n},clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){u(t)&&clearTimeout(t)})),correctFloat:p,createElement:function(t,e,r,n,i){return t=y.createElement(t),e&&f(t,e),i&&d(t,{padding:"0",border:"none",margin:"0"}),r&&d(t,r),n&&n.appendChild(t),t},css:d,defined:u,destroyObjectProperties:function(t,e){m(t,(function(r,n){r&&r!==e&&r.destroy&&r.destroy(),delete t[n]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var r=t.length;r--;)if(t[r]===e){t.splice(r,1);break}},error:e,extend:f,extendClass:function(t,e){var r=function(){};return f(r.prototype=new t,e),r},find:x,fireEvent:v,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&u(e);){var r=t.shift();if("undefined"===typeof r||"__proto__"===r)return;if(!u(e=e[r])||"function"===typeof e||"number"===typeof e.nodeType||e===w)return}return e},getStyle:function n(i,o,a){var s=t.getStyle||n;if("width"===o)return o=Math.min(i.offsetWidth,i.scrollWidth),(a=i.getBoundingClientRect&&i.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(i,"padding-left",!0)||0)-(s(i,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(s(i,"padding-top",!0)||0)-(s(i,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),i=w.getComputedStyle(i,void 0)){var c=i.getPropertyValue(o);h(a,"opacity"!==o)&&(c=r(c))}return c},inArray:function(t,r,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),r.indexOf(t,n)},isArray:i,isClass:s,isDOMElement:a,isFunction:function(t){return"function"===typeof t},isNumber:c,isObject:o,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,r={},n=function t(e,r){return"object"!==typeof e&&(e={}),m(r,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!o(n,!0)||s(n)||a(n)?e[i]=r[i]:e[i]=t(e[i]||{},n))})),e};!0===e[0]&&(r=e[1],e=Array.prototype.slice.call(e,2));var i=e.length;for(t=0;t<i;t++)r=n(r,e[t]);return r},normalizeTickInterval:function(t,e,r,n,i){var o=t,a=t/(r=h(r,1));for(e||(e=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===r?e=e.filter((function(t){return 0===t%1})):.1>=r&&(e=[1/r]))),n=0;n<e.length&&(o=e[n],!(i&&o*r>=t||!i&&a<=(e[n]+(e[n+1]||e[n]))/2));n++);return p(o*r,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=y.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,r){return Array((e||2)+1-String(t).replace("-","").length).join(r||"0")+t},pick:h,pInt:r,relativeLength:function(t,e,r){return/%$/.test(t)?e*parseFloat(t)/100+(r||0):parseFloat(t)},removeEvent:b,splat:function(t){return i(t)?t:[t]},stableSort:function(t,e){var r,n,i=t.length;for(n=0;n<i;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(r=e(t,n))?t.safeI-n.safeI:r})),n=0;n<i;n++)delete t[n].safeI},syncTimeout:function(t,e,r){return 0<e?setTimeout(t,e,r):(t.call(0,r),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:_,useSerialIds:function(t){return O=h(t,O)},wrap:function(t,e,r){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,i=this;return i.proceed=function(){n.apply(i,arguments.length?arguments:e)},t.unshift(n),t=r.apply(this,t),i.proceed=null,t}}}})),e(r,"Core/Chart/ChartDefaults.js",[],(function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(r,"Core/Color/Color.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.isNumber,n=e.merge,i=e.pInt;return e=function(){function e(r){this.rgba=[NaN,NaN,NaN,NaN],this.input=r;var n=t.Color;return n&&n!==e?new n(r):this instanceof e?void this.init(r):new e(r)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var r;if("object"===typeof t&&"undefined"!==typeof t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"===typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var n=t.length,i=parseInt(t.substr(1),16);7===n?r=[(16711680&i)>>16,(65280&i)>>8,255&i,1]:4===n&&(r=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!r)for(i=e.parsers.length;i--&&!r;){var o=e.parsers[i];(n=o.regex.exec(t))&&(r=o.parse(n))}}r&&(this.rgba=r)},e.prototype.get=function(t){var e=this.input,i=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var o=n(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,r){o.stops[r]=[o.stops[r][0],e.get(t)]})),o}return i&&r(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?""+i[3]:"rgba("+i.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(r(t)&&0!==t)for(var n=0;3>n;n++)e[n]+=i(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,i=t.rgba;return r(n[0])&&r(i[0])?((t=1!==i[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(i[0]+(n[0]-i[0])*(1-e))+","+Math.round(i[1]+(n[1]-i[1])*(1-e))+","+Math.round(i[2]+(n[2]-i[2])*(1-e))+(t?","+(i[3]+(n[3]-i[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),1]}}],e.None=new e(""),e}()})),e(r,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(r,"Core/Time.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.win,n=e.defined,i=e.error,o=e.extend,a=e.isObject,s=e.merge,c=e.objectEach,u=e.pad,l=e.pick,f=e.splat,h=e.timeUnits,d=t.isSafari&&r.Intl&&r.Intl.DateTimeFormat.prototype.formatRange,p=t.isSafari&&r.Intl&&!r.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=r.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var r=e.getTime(),n=r-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(r),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,r){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0===this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](r);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](r),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||d&&"FullYear"===t?e["setUTC"+t](r):e["set"+t](r)},e.prototype.update=function(t){var e=l(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||r.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,r,n,i,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var c=this.getTimezoneOffset(a);s!==c?a+=c-s:s-36e5!==this.getTimezoneOffset(a-36e5)||p||(a-=36e5)}else a=new this.Date(t,e,l(r,1),l(n,0),l(i,0),l(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.getTimezoneOffset,o=e.moment||r.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};i(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,r,i){if(!n(r)||isNaN(r))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=l(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(r),f=this.get("Hours",s),h=this.get("Day",s),d=this.get("Date",s),p=this.get("Month",s),m=this.get("FullYear",s),b=t.defaultOptions.lang,v=b&&b.weekdays,g=b&&b.shortWeekdays;return s=o({a:g?g[h]:v[h].substr(0,3),A:v[h],d:u(d),e:u(d,2," "),w:h,b:b.shortMonths[p],B:b.months[p],m:u(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:u(f),k:f,I:u(f%12||12),l:f%12||12,M:u(this.get("Minutes",s)),p:12>f?"AM":"PM",P:12>f?"am":"pm",S:u(s.getSeconds()),L:u(Math.floor(r%1e3),3)},t.dateFormats),c(s,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"===typeof t?t.call(a,r):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=f(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,r,i){var a,s=this,c=[],u={},f=new s.Date(e),d=t.unitRange,p=t.count||1;if(i=l(i,1),n(e)){if(s.set("Milliseconds",f,d>=h.second?0:p*Math.floor(s.get("Milliseconds",f)/p)),d>=h.second&&s.set("Seconds",f,d>=h.minute?0:p*Math.floor(s.get("Seconds",f)/p)),d>=h.minute&&s.set("Minutes",f,d>=h.hour?0:p*Math.floor(s.get("Minutes",f)/p)),d>=h.hour&&s.set("Hours",f,d>=h.day?0:p*Math.floor(s.get("Hours",f)/p)),d>=h.day&&s.set("Date",f,d>=h.month?1:Math.max(1,p*Math.floor(s.get("Date",f)/p))),d>=h.month){s.set("Month",f,d>=h.year?0:p*Math.floor(s.get("Month",f)/p));var m=s.get("FullYear",f)}d>=h.year&&s.set("FullYear",f,m-m%p),d===h.week&&(m=s.get("Day",f),s.set("Date",f,s.get("Date",f)-m+i+(m<i?-7:0))),m=s.get("FullYear",f),i=s.get("Month",f);var b=s.get("Date",f),v=s.get("Hours",f);for(e=f.getTime(),!s.variableTimezone&&s.useUTC||!n(r)||(a=r-e>4*h.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(r)),e=f.getTime(),f=1;e<r;)c.push(e),e=d===h.year?s.makeTime(m+f*p,0):d===h.month?s.makeTime(m,i+f*p):!a||d!==h.day&&d!==h.week?a&&d===h.hour&&1<p?s.makeTime(m,i,b,v+f*p):e+d*p:s.makeTime(m,i,b+f*p*(d===h.day?1:7)),f++;c.push(e),d<=h.hour&&1e4>c.length&&c.forEach((function(t){0===t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(u[t]="day")}))}return c.info=o(t,{higherRanks:u,totalRange:d*p}),c},e.prototype.getDateFormat=function(t,e,r,n){var i=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in h){if(t===h.week&&+this.dateFormat("%w",e)===r&&"00:00:00.000"===i.substr(6)){var s="week";break}if(h[s]>t){s=a;break}if(o[s]&&i.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}if(s)var c=this.resolveDTLFormat(n[s]).main;return c},e}()})),e(r,"Core/DefaultOptions.js",[r["Core/Chart/ChartDefaults.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Color/Palettes.js"],r["Core/Time.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){e=e.parse;var a=o.merge,s={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:r.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:r.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var c=new i(a(s.global,s.time));return t={defaultOptions:s,defaultTime:c,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(r.time?r.time.update(a(s.global,s.time,t.global,t.time)):r.time=c),s}}})),e(r,"Core/Animation/Fx.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=t.parse,i=e.win,o=r.isNumber,a=r.objectEach;return function(){function t(t,e,r){this.pos=NaN,this.options=e,this.elem=t,this.prop=r}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var r=this.now||0,n=[];if(1!==r&&e&&t)if(e.length===t.length&&1>r)for(var i=0;i<t.length;i++){for(var a=e[i],s=t[i],c=[],u=0;u<s.length;u++){var l=a[u],f=s[u];o(l)&&o(f)&&("A"!==s[0]||4!==u&&5!==u)?c[u]=l+r*(f-l):c[u]=f}n.push(c)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,r=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,r,null,!0):t.style[e]=r+this.unit,n&&n.call(t,r,this)},t.prototype.run=function(e,r,n){var o=this,a=o.options,s=function t(e){return!t.stopped&&o.step(e)},c=i.requestAnimationFrame||function(t){setTimeout(t,13)};e!==r||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=r,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&c((function e(){for(var r=0;r<t.timers.length;r++)t.timers[r]()||t.timers.splice(r--,1);t.timers.length&&c(e)}))):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,r=this.options,n=this.elem,i=r.complete,o=r.duration,s=r.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var c=s[this.prop]=!0;a(s,(function(t){!0!==t&&(c=!1)})),c&&i&&i.call(n),t=!1}else this.pos=r.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,r){function n(t,e){for(;t.length<h;){var r=t[0],n=e[h-t.length];n&&"M"===r[0]&&(t[0]="C"===n[0]?["C",r[1],r[2],r[1],r[2],r[1],r[2]]:["L",r[1],r[2]]),t.unshift(r),c&&(r=t.pop(),t.push(t[t.length-1],r))}}function i(t,e){for(;t.length<h;)if("C"===(e=t[Math.floor(t.length/u)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),c){var r=t[Math.floor(t.length/u)].slice();t.splice(t.length/2,0,e,r)}else t.push(e)}var a=t.startX,s=t.endX;r=r.slice();var c=t.isArea,u=c?2:1;if(!(e=e&&e.slice()))return[r,r];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var l=t;break}if(a[0]===s[s.length-a.length+t]){l=t;var f=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){l=a.length-t;break}}"undefined"===typeof l&&(e=[])}if(e.length&&o(l)){var h=r.length+l*u;f?(n(e,r),i(r,e)):(n(r,e),i(e,r))}return[e,r]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(r,"Core/Animation/AnimationUtilities.js",[r["Core/Animation/Fx.js"],r["Core/Utilities.js"]],(function(t,e){function r(t){return c(t)?u({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,r){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||r&&r!==t.timers[n].prop||(t.timers[n].stopped=!0)}var i=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,c=e.isObject,u=e.merge,l=e.objectEach,f=e.pick;return{animate:function(e,r,i){var f,h,d,p="";if(!c(i)){var m=arguments;i={duration:m[2],easing:m[3],complete:m[4]}}s(i.duration)||(i.duration=400),i.easing="function"===typeof i.easing?i.easing:Math[i.easing]||Math.easeInOutSine,i.curAnim=u(r),l(r,(function(s,c){n(e,c),d=new t(e,i,c),h=void 0,"d"===c&&a(r.d)?(d.paths=d.initPath(e,e.pathArray,r.d),d.toD=r.d,f=0,h=1):e.attr?f=e.attr(c):(f=parseFloat(o(e,c))||0,"opacity"!==c&&(p="px")),h||(h=s),"string"===typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),d.run(f,h,p)}))},animObject:r,getDeferredAnimation:function(t,e,n){var o=r(e),a=0,s=0;return(n?[n]:t.series).forEach((function(t){t=r(t.options.animation),a=e&&i(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=f(t,e.options.chart.animation,!0)},stop:n}})),e(r,"Core/Renderer/HTML/AST.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.SVG_NS,n=e.attr,i=e.createElement,o=e.error,a=e.isFunction,s=e.isString,c=e.objectEach,u=e.splat,l=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),f=l?l.createHTML(""):"";try{var h=!!(new DOMParser).parseFromString(f,"text/html")}catch(d){h=!1}return a=function(){function e(t){this.nodes="string"===typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return c(t,(function(r,n){var i=!0;-1===e.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=s(r)&&e.allowedReferences.some((function(t){return 0===r.indexOf(t)}))),i||(o("Highcharts warning: Invalid attribute '"+n+"' in config"),delete t[n])})),t},e.setElementHTML=function(t,r){t.innerHTML=e.emptyHTML,r&&new e(r).addToDOM(t)},e.prototype.addToDOM=function(i){return function i(a,s){var l;return u(a).forEach((function(a){var u=a.tagName,f=a.textContent?t.doc.createTextNode(a.textContent):void 0;if(u)if("#text"===u)var h=f;else if(-1!==e.allowedTags.indexOf(u)){u=t.doc.createElementNS("svg"===u?r:s.namespaceURI||r,u);var d=a.attributes||{};c(a,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(d[e]=t)})),n(u,e.filterUserAttributes(d)),f&&u.appendChild(f),i(a.children||[],u),h=u}else o("Highcharts warning: Invalid tagName "+u+" in config");h&&s.appendChild(h),l=h})),l}(this.nodes,i)},e.prototype.parseMarkup=function(t){var e=[];if(t=t.trim(),h)t=(new DOMParser).parseFromString(l?l.createHTML(t):t,"text/html");else{var r=i("div");r.innerHTML=t,t={body:r}}return[].forEach.call(t.body.childNodes,(function(t){return function t(e,r){var n=e.nodeName.toLowerCase(),i={tagName:n};if("#text"===n&&(i.textContent=e.textContent||""),n=e.attributes){var o={};[].forEach.call(n,(function(t){o[t.name]=t.value})),i.attributes=o}if(e.childNodes.length){var a=[];[].forEach.call(e.childNodes,(function(e){t(e,a)})),a.length&&(i.children=a)}r.push(i)}(t,e)})),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=f,e}()})),e(r,"Core/FormatUtilities.js",[r["Core/DefaultOptions.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e,r,i){t=+t||0,e=+e;var o=n.lang,u=(t.toString().split(".")[1]||"").split("e")[0].length,l=t.toString().split("e"),f=e;if(-1===e)e=Math.min(u,20);else if(a(e)){if(e&&l[1]&&0>l[1]){var h=e+ +l[1];0<=h?(l[0]=(+l[0]).toExponential(h).split("e")[0],e=h):(l[0]=l[0].split(".")[0]||0,t=20>e?(l[0]*Math.pow(10,l[1])).toFixed(e):0,l[1]=0)}}else e=2;h=(Math.abs(l[1]?l[0]:t)+Math.pow(10,-Math.max(e,u)-1)).toFixed(e);var d=3<(u=String(c(h))).length?u.length%3:0;return r=s(r,o.decimalPoint),i=s(i,o.thousandsSep),t=(0>t?"-":"")+(d?u.substr(0,d)+i:""),t=0>+l[1]&&!f?"0":t+u.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=r+h.slice(-e)),l[1]&&0!==+t&&(t+="e"+l[1]),t}var n=t.defaultOptions,i=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,c=e.pInt;return{dateFormat:function(t,e,r){return i.dateFormat(t,e,r)},format:function(t,e,a){var s="{",c=!1,u=/f$/,l=/\.([0-9])/,f=n.lang,h=a&&a.time||i;a=a&&a.numberFormatter||r;for(var d=[];t;){var p=t.indexOf(s);if(-1===p)break;var m=t.slice(0,p);if(c){if(m=m.split(":"),s=o(m.shift()||"",e),m.length&&"number"===typeof s)if(m=m.join(":"),u.test(m)){var b=parseInt((m.match(l)||["","-1"])[1],10);null!==s&&(s=a(s,b,f.decimalPoint,-1<m.indexOf(",")?f.thousandsSep:""))}else s=h.dateFormat(m,s);d.push(s)}else d.push(m);t=t.slice(p+1),s=(c=!c)?"}":"{"}return d.push(t),d.join("")},numberFormat:r}})),e(r,"Core/Renderer/RendererUtilities.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.clamp,n=t.pick,i=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,c=e,u=c.reducedLen||o,l=function(t,e){return(e.rank||0)-(t.rank||0)},f=function(t,e){return t.target-e.target},h=!0,d=[],p=0;for(s=e.length;s--;)p+=e[s].size;if(p>u){for(i(e,l),p=s=0;p<=u;)p+=e[s].size,s++;d=e.splice(s-1,e.length)}for(i(e,f),e=e.map((function(t){return{size:t.size,targets:[t.target],align:n(t.align,.5)}}));h;){for(s=e.length;s--;)u=e[s],l=(Math.min.apply(0,u.targets)+Math.max.apply(0,u.targets))/2,u.pos=r(l-u.size*u.align,0,o-u.size);for(s=e.length,h=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),h=!0)}return c.push.apply(c,d),s=0,e.some((function(e){var r=0;return(e.targets||[]).some((function(){return c[s].pos=e.pos+r,"undefined"!==typeof a&&Math.abs(c[s].pos-c[s].target)>a?(c.slice(0,s+1).forEach((function(t){return delete t.pos})),c.reducedLen=(c.reducedLen||o)-.1*o,c.reducedLen>.1*o&&t(c,o,a),!0):(r+=c[s].size,s++,!1)}))})),i(c,f),c}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGElement.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.animate,a=t.animObject,s=t.stop,c=n.deg2rad,u=n.doc,l=n.noop,f=n.svg,h=n.SVG_NS,d=n.win,p=i.addEvent,m=i.attr,b=i.createElement,v=i.css,g=i.defined,y=i.erase,w=i.extend,x=i.fireEvent,O=i.isArray,_=i.isFunction,S=i.isNumber,k=i.isString,E=i.merge,M=i.objectEach,C=i.pick,j=i.pInt,A=i.syncTimeout,T=i.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=h,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,r){r.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,r=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(r),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var r=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===r.indexOf(e)&&t.push(e),t}),r?[r]:[]).join(" "))!==r&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,r){var n,i,o,a={},s=this.renderer,c=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!r||k(r))&&(this.alignTo=n=r||"renderer",y(c,this),c.push(this),r=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),r=C(r,s[n],"scrollablePlotBox"===n?s.plotBox:void 0,s),n=t.align;var u=t.verticalAlign;return s=(r.x||0)+(t.x||0),c=(r.y||0)+(t.y||0),"right"===n?i=1:"center"===n&&(i=2),i&&(s+=(r.width-(t.width||0))/i),a[e?"translateX":"x"]=Math.round(s),"bottom"===u?o=1:"middle"===u&&(o=2),o&&(c+=(r.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(c),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,r){var n=this,i=a(C(e,this.renderer.globalAnimation,!0));return e=i.defer,C(u.hidden,u.msHidden,u.webkitHidden,!1)&&(i.duration=0),0!==i.duration?(r&&(i.complete=r),A((function(){n.element&&o(n,t,i)}),e)):(this.attr(t,void 0,r),M(t,(function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var r=t.split(" ");if(t=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,r){return 2*Number(e)+r})),this.removeTextOutline();var i=u.createElementNS(h,"tspan");m(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":r,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),i.appendChild(e)}));var o=u.createElementNS(h,"tspan");o.textContent="\u200b",["x","y"].forEach((function(t){var r=e.getAttribute(t);r&&o.setAttribute(t,r)})),i.appendChild(o),e.insertBefore(i,e.firstChild)}},t.prototype.attr=function(t,e,r,n){var i,o,a,c=this.element,u=this.symbolCustomAttribs,l=this;if("string"===typeof t&&"undefined"!==typeof e){var f=t;(t={})[f]=e}return"string"===typeof t?l=(this[t+"Getter"]||this._defaultGetter).call(this,t,c):(M(t,(function(e,r){o=!1,n||s(this,r),this.symbolName&&-1!==u.indexOf(r)&&(i||(this.symbolAttr(t),i=!0),o=!0),!this.rotation||"x"!==r&&"y"!==r||(this.doTransform=!0),o||((a=this[r+"Setter"]||this._defaultSetter).call(this,e,r,c),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(r)&&this.updateShadows(r,e,a))}),this),this.afterSetters()),r&&r.call(this),l},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var r=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+r,t.y=Math.floor(t.y||this.y||0)+r,t.width=Math.floor((t.width||this.width||0)-2*r),t.height=Math.floor((t.height||this.height||0)-2*r),g(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var i,o,a,s,c,u,l,f,h,d,p,m=this.renderer,b=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],c=m.gradients,u=t.stops,h=n.radialReference,O(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!g(a.gradientUnits)&&(s=a,a=E(a,m.getRadialAttr(h,s),{gradientUnits:"userSpaceOnUse"})),M(a,(function(t,e){"id"!==e&&b.push(e,t)})),M(u,(function(t){b.push(t)})),b=b.join(","),c[b])d=c[b].attr("id");else{a.id=d=T();var v=c[b]=m.createElement(o).attr(a).add(m.defs);v.radAttr=s,v.stops=[],u.forEach((function(t){0===t[1].indexOf("rgba")?(i=r.parse(t[1]),l=i.get("rgb"),f=i.get("a")):(l=t[1],f=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":f}).add(v),v.stops.push(t)}))}p="url("+m.url+"#"+d+")",n.setAttribute(e,p),n.gradient=b,t.toString=function(){return p}}}))},t.prototype.css=function(t){var e=this.styles,r={},n=this.element,i=["textOutline","textOverflow","width"],o="",a=!e;if(t&&t.color&&(t.fill=t.color),e&&M(t,(function(t,n){e&&e[n]!==t&&(r[n]=t,a=!0)})),a){if(e&&(t=w(e,r)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var s=this.textWidth=j(t.width);if(this.styles=t,s&&!f&&this.renderer.forExport&&delete t.width,n.namespaceURI===this.SVG_NS){var c=function(t,e){return"-"+e.toLowerCase()};M(t,(function(t,e){-1===i.indexOf(e)&&(o+=e.replace(/([A-Z])/g,c)+":"+t+";")})),o&&m(n,"style",o)}else v(n,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var r=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=r.length;t--;)r[t]=""+j(r[t])*C(e,NaN);t=r.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},r=t.renderer,n=e.ownerSVGElement,i=r.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&n){var o=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),r.styledMode||t.destroyShadows();i&&i.div&&0===i.div.childNodes.length;)e=i.parentGroup,t.safeRemoveChild(i.div),delete i.div,i=e;t.alignTo&&y(r.alignedObjects,t),M(t,(function(e,r){t[r]&&t[r].parentGroup===t&&t[r].destroy&&t[r].destroy(),delete t[r]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var r=t.getElementsByTagName("text")[0];if(r){if(r.removeAttribute("dx"),r.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&r.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)r.appendChild(t[0]);r.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,r){O(t)&&("string"===typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,r){return e&&e.join?(r?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(r.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:C(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,r){"string"===typeof t?r.setAttribute(e,t):t&&this.complexColor(t,e,r)},t.prototype.getBBox=function(e,r){var n=this.renderer,i=this.element,o=this.styles,a=this.textStr,s=n.cache,u=n.cacheKeys,l=i.namespaceURI===this.SVG_NS;r=C(r,this.rotation,0);var f,h=n.styledMode?i&&t.prototype.getStyle.call(i,"font-size"):o&&o.fontSize;if(g(a)){var d=a.toString();-1===d.indexOf("<")&&(d=d.replace(/[0-9]/g,"0")),d+=["",r,h,this.textWidth,o&&o.textOverflow,o&&o.fontWeight].join()}if(d&&!e&&(f=s[d]),!f){if(l||n.forExport){try{var p=this.fakeTS&&function(t){var e=i.querySelector(".highcharts-text-outline");e&&v(e,{display:t})};_(p)&&p("none"),f=i.getBBox?w({},i.getBBox()):{width:i.offsetWidth,height:i.offsetHeight},_(p)&&p("")}catch(m){}(!f||0>f.width)&&(f={width:0,height:0})}else f=this.htmlGetBBox();if(n.isSVG&&(e=f.width,n=f.height,l&&(f.height=n={"11px,17":14,"13px,20":16}[(h||"")+","+Math.round(n)]||n),r&&(l=r*c,f.width=Math.abs(n*Math.sin(l))+Math.abs(e*Math.cos(l)),f.height=Math.abs(n*Math.cos(l))+Math.abs(e*Math.sin(l)))),d&&(""===a||0<f.height)){for(;250<u.length;)delete s[u.shift()];s[d]||u.push(d),s[d]=f}}return f},t.prototype.getStyle=function(t){return d.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?b(e):u.createElementNS(this.SVG_NS,e),this.renderer=t,x(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var r=this.onEvents;return r[t]&&r[t](),r[t]=p(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,r){this.opacity=t=Number(Number(t).toFixed(3)),r.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,r){var n=this.element,i=this.text?this.text.element:n,o={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,c=!s;r=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},r);var u=e.filterUserAttributes(r.attributes);if(t&&r&&r.enabled){s&&null===s.element.parentNode?(c=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(u.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var f=s.element;if((r=t.element.getAttribute("id"))||t.element.setAttribute("id",r=T()),c)for(i.setAttribute("y",0),S(u.dx)&&i.setAttribute("x",-u.dx),t=[].slice.call(i.childNodes),c=0;c<t.length;c++){var h=t[c];h.nodeType!==d.Node.TEXT_NODE&&"tspan"!==h.nodeName||f.appendChild(h)}a&&s&&s.add({element:i}),f.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+r),g(u.dy)&&(f.parentNode.setAttribute("dy",u.dy),delete u.dy),g(u.dx)&&(f.parentNode.setAttribute("dx",u.dx),delete u.dx),M(u,(function(t,e){f.setAttribute(o[e]||e,t)})),n.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=l}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,r){var n,i=[],o=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},c=!1;if(!0===t?n=s:"object"===typeof t&&(n=w(s,t)),n&&(n&&a&&M(n,(function(t,e){t!==a[e]&&(c=!0)})),c&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var u=n.opacity/n.width,l=this.parentInverted?"translate("+n.offsetY+", "+n.offsetX+")":"translate("+n.offsetX+", "+n.offsetY+")";for(s=1;s<=n.width;s++){var f=o.cloneNode(!1),h=2*n.width+1-2*s;m(f,{stroke:t.color||"#000000","stroke-opacity":u*s,"stroke-width":h,transform:l,fill:"none"}),f.setAttribute("class",(f.getAttribute("class")||"")+" highcharts-shadow"),r&&(m(f,"height",Math.max(m(f,"height")-h,0)),f.cutHeight=h),e?e.element.appendChild(f):o.parentNode&&o.parentNode.insertBefore(f,o),i.push(f)}this.shadows=i}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,r,n){this[r]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===r&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=j(t);else if(""!==t){var r=u.createElementNS(h,"rect");m(r,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(r),e=r.getBBox().width,r.parentNode.removeChild(r)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(r){e[r]=C(t[r],e[r])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,r=e.getElementsByTagName("title")[0]||u.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(r,e.firstChild):e.appendChild(r),r.textContent=String(C(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,r){var n=this.shadows;if(n)for(var i=n.length;i--;)r.call(n[i],"height"===t?Math.max(e-(n[i].cutHeight||0),0):"d"===t?this.d:e,t,n[i])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,r=this.inverted,n=this.rotation,i=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;r&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],g(i)&&a.push("matrix("+i.join(",")+")"),r?a.push("rotate(90) scale(-1,1)"):n&&a.push("rotate("+n+" "+C(this.rotationOriginX,o.getAttribute("x"),0)+" "+C(this.rotationOriginY,o.getAttribute("y")||0)+")"),(g(t)||g(e))&&a.push("scale("+C(t,1)+" "+C(e,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,r){"inherit"===t?r.removeAttribute(e):this[e]!==t&&r.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var r=this.renderer,n=this.parentGroup,i=(n||r).element||r.box,o=this.element;r=i===r.box;var a,s=!1,c=this.added;if(g(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(c=!1)):g(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,c){for((t=this.zIndex)&&n&&(n.handleZ=!0),a=(e=i.childNodes).length-1;0<=a&&!s;a--){c=(n=e[a]).getAttribute("data-z-index");var u=!g(c);n!==o&&(0>t&&u&&!r&&!a?(i.insertBefore(o,e[a]),s=!0):(j(c)<=t||u&&(!g(t)||0<=t))&&(i.insertBefore(o,e[a+1]||null),s=!0))}s||(i.insertBefore(o,e[r?3:0]||null),s=!0)}return s},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(r,"Core/Renderer/RendererRegistry.js",[r["Core/Globals.js"]],(function(t){var e;return function(e){var r;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=r),e.rendererTypes[t]||e.rendererTypes[r]},e.registerRendererType=function(n,i,o){e.rendererTypes[n]=i,r&&!o||(r=n,t.Renderer=i)}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGLabel.js",[r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=e.defined,i=e.extend,o=e.isNumber,a=e.merge,s=e.pick,c=e.removeEvent;return function(e){function u(t,r,n,i,o,a,s,c,l,f){var h,d=e.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=r,d.x=n,d.y=i,d.anchorX=a,d.anchorY=s,d.baseline=l,d.className=f,d.addClass("button"===f?"highcharts-no-tooltip":"highcharts-label"),f&&d.addClass("highcharts-"+f),d.text=t.text(void 0,0,0,c).attr({zIndex:1}),"string"===typeof o&&((h=/^url\((.*?)\)$/.test(o))||d.renderer.symbols[o])&&(d.symbolKey=o),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||h,d.deferredAttr={},d.alignFactor=0,d}return r(u,e),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){if(e){var r={};e=a(e),u.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(r[t]=e[t],delete e[t])})),this.text.css(r);var n="width"in r;"fontSize"in r||"fontWeight"in r?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},u.prototype.destroy=function(){c(this.element,"mouseenter"),c(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},r=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?u.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*r,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=r+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((r=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),r.add(this)),r=this.getCrispAdjust(),e.x=r,e.y=(this.baseline?-this.baselineOffset:0)+r,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(i(e,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,r=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),r===t.x&&e===t.y||(t.attr("x",r),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=r,t.y=e},u.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u}(t)})),e(r,"Core/Renderer/SVG/Symbols.js",[r["Core/Utilities.js"]],(function(t){function e(t,e,r,n,o){var s=[];if(o){var c=o.start||0,u=a(o.r,r);r=a(o.r,n||r);var l=(o.end||0)-.001;n=o.innerR;var f=a(o.open,.001>Math.abs((o.end||0)-c-2*Math.PI)),h=Math.cos(c),d=Math.sin(c),p=Math.cos(l),m=Math.sin(l);c=a(o.longArc,.001>l-c-Math.PI?0:1),s.push(["M",t+u*h,e+r*d],["A",u,r,0,c,a(o.clockwise,1),t+u*p,e+r*m]),i(n)&&s.push(f?["M",t+n*p,e+n*m]:["L",t+n*p,e+n*m],["A",n,n,0,c,i(o.clockwise)?1-o.clockwise:0,t+n*h,e+n*d]),f||s.push(["Z"])}return s}function r(t,e,r,i,o){return o&&o.r?n(t,e,r,i,o):[["M",t,e],["L",t+r,e],["L",t+r,e+i],["L",t,e+i],["Z"]]}function n(t,e,r,n,i){return[["M",t+(i=i&&i.r||0),e],["L",t+r-i,e],["C",t+r,e,t+r,e,t+r,e+i],["L",t+r,e+n-i],["C",t+r,e+n,t+r,e+n,t+r-i,e+n],["L",t+i,e+n],["C",t,e+n,t,e+n,t,e+n-i],["L",t,e+i],["C",t,e,t,e,t+i,e]]}var i=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,r,i,a){var s=Math.min(a&&a.r||0,r,i),c=s+6,u=a&&a.anchorX;a=a&&a.anchorY||0;var l=n(t,e,r,i,{r:s});return o(u)?(t+u>=r?a>e+c&&a<e+i-c?l.splice(3,1,["L",t+r,a-6],["L",t+r+6,a],["L",t+r,a+6],["L",t+r,e+i-s]):l.splice(3,1,["L",t+r,i/2],["L",u,a],["L",t+r,i/2],["L",t+r,e+i-s]):0>=t+u?a>e+c&&a<e+i-c?l.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):l.splice(7,1,["L",t,i/2],["L",u,a],["L",t,i/2],["L",t,e+s]):a&&a>i&&u>t+c&&u<t+r-c?l.splice(5,1,["L",u+6,e+i],["L",u,e+i+6],["L",u-6,e+i],["L",t+s,e+i]):a&&0>a&&u>t+c&&u<t+r-c&&l.splice(1,1,["L",u-6,e],["L",u,e-6],["L",u+6,e],["L",r-s,e]),l):l},circle:function(t,r,n,i){return e(t+n/2,r+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n/2],["L",t+r/2,e+n],["L",t,e+n/2],["Z"]]},rect:r,roundedRect:n,square:r,triangle:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,r,n){return[["M",t,e],["L",t+r,e],["L",t+r/2,e+n],["Z"]]}}})),e(r,"Core/Renderer/SVG/TextBuilder.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.doc,i=e.SVG_NS,o=e.win,a=r.attr,s=r.isString,c=r.objectEach,u=r.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,r=e.element,i=e.renderer,o=u(e.textStr,"").toString(),a=-1!==o.indexOf("<"),c=r.childNodes;i=this.width&&!e.added&&i.box;var l=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==e.textCache){for(e.textCache=l,delete e.actualWidth,l=c.length;l--;)r.removeChild(c[l]);a||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(i&&i.appendChild(r),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(r.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),i&&i.removeChild(r)):r.appendChild(n.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,r=this.svgElement,s=a(r.element,"x");for(r.firstLineMetrics=void 0;(t=r.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)r.element.removeChild(t);[].forEach.call(r.element.querySelectorAll("tspan.highcharts-br"),(function(t,n){t.nextSibling&&t.previousSibling&&(0===n&&1===t.previousSibling.nodeType&&(r.firstLineMetrics=r.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var c=this.width||0;if(c){var u=function(t,o){var u=t.textContent||"",l=u.replace(/([^\^])-/g,"$1- ").split(" "),f=!e.noWrap&&(1<l.length||1<r.element.childNodes.length),h=e.getLineHeight(o),d=0,p=r.actualWidth;if(e.ellipsis)u&&e.truncate(t,u,void 0,0,Math.max(0,c-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"\u2026"}));else if(f){for(u=[],f=[];o.firstChild&&o.firstChild!==t;)f.push(o.firstChild),o.removeChild(o.firstChild);for(;l.length;)l.length&&!e.noWrap&&0<d&&(u.push(t.textContent||""),t.textContent=l.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,l,0===d&&p||0,c,(function(t,e){return l.slice(0,e).join(" ").replace(/- /g,"-")})),p=r.actualWidth,d++;f.forEach((function(e){o.insertBefore(e,t)})),u.forEach((function(e){o.insertBefore(n.createTextNode(e),t),(e=n.createElementNS(i,"tspan")).textContent="\u200b",a(e,{dy:h,x:s}),o.insertBefore(e,t)}))}};!function t(e){[].slice.call(e.childNodes).forEach((function(n){n.nodeType===o.Node.TEXT_NODE?u(n,e):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(r.actualWidth=0),t(n))}))}(r.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this;t.forEach((function r(n,i){var o=n.attributes;o=void 0===o?{}:o;var a=n.children,c=n.tagName,u=e.renderer.styledMode;"b"===c||"strong"===c?u?o.class="highcharts-strong":o.style="font-weight:bold;"+(o.style||""):"i"!==c&&"em"!==c||(u?o.class="highcharts-emphasized":o.style="font-style:italic;"+(o.style||"")),s(o.style)&&(o.style=o.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===c?(o.class="highcharts-br",n.textContent="\u200b",(i=t[i+1])&&i.textContent&&(i.textContent=i.textContent.replace(/^ +/gm,""))):"a"===c&&a&&a.some((function(t){return"#text"===t.tagName}))&&(n.children=[{children:a,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(n.tagName="tspan"),n.attributes=o,a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(r)}))},e.prototype.truncate=function(t,e,r,n,i,o){var a,s=this.svgElement,c=s.renderer,u=s.rotation,l=[],f=r?1:0,h=(e||r||"").length,d=h,p=function(i,a){a=a||i;var u=t.parentNode;if(u&&"undefined"===typeof l[a])if(u.getSubStringLength)try{l[a]=n+u.getSubStringLength(0,r?a+1:a)}catch(f){}else c.getSpanWidth&&(t.textContent=o(e||r,i),l[a]=n+c.getSpanWidth(s,t));return l[a]};s.rotation=0;var m=p(t.textContent.length);if(n+m>i){for(;f<=h;)d=Math.ceil((f+h)/2),r&&(a=o(r,d)),m=p(d,a&&a.length-1),f===h?f=h+1:m>i?h=d-1:f=d;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=a||o(e||r,d))}r&&r.splice(0,d),s.actualWidth=m,s.rotation=u},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(r,n){e&&-1!==e.indexOf(r)||(t=t.toString().replace(new RegExp(r,"g"),n))})),t},e}()})),e(r,"Core/Renderer/SVG/SVGRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGLabel.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Renderer/SVG/TextBuilder.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u,l=r.charts,f=r.deg2rad,h=r.doc,d=r.isFirefox,p=r.isMS,m=r.isWebKit,b=r.noop,v=r.SVG_NS,g=r.symbolSizes,y=r.win,w=c.addEvent,x=c.attr,O=c.createElement,_=c.css,S=c.defined,k=c.destroyObjectProperties,E=c.extend,M=c.isArray,C=c.isNumber,j=c.isObject,A=c.isString,T=c.merge,P=c.pick,D=c.pInt,R=c.uniqueKey;return r=function(){function r(t,e,r,n,i,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,r,n,i,o,a)}return r.prototype.init=function(t,e,r,n,i,o,a){var s,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;a||c.css(this.getStyle(n)),t.appendChild(u),x(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&x(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 9.3.2")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,r,!1),d&&t.getBoundingClientRect&&((e=function(){_(t,{left:0,top:0}),s=t.getBoundingClientRect(),_(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=w(y,"resize",e))},r.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},r.prototype.getReferenceURL=function(){if((d||m)&&h.getElementsByTagName("base").length){if(!S(u)){var e=R();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(h.body),_(e,{position:"fixed",top:0,left:0,zIndex:9e5});var r=h.elementFromPoint(6,6);u="hitme"===(r&&r.id),h.body.removeChild(e)}if(u)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},r.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},r.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},r.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},r.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},r.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},r.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},r.prototype.buildText=function(t){new s(t).buildSVG()},r.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},r.prototype.button=function(e,r,n,i,o,a,s,c,u,l){var f=this.label(e,r,n,u,void 0,void 0,l,void 0,"button"),h=this.styledMode,d=0,m=o?T(o):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),f.attr(T({padding:8,r:2},m)),!h){var b=(m=T({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;var v=(a=T(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||{}))).style;delete a.style;var g=(s=T(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||{}))).style;delete s.style;var y=(c=T(m,{style:{color:"#cccccc"}},t.filterUserAttributes(c||{}))).style;delete c.style}return w(f.element,p?"mouseover":"mouseenter",(function(){3!==d&&f.setState(1)})),w(f.element,p?"mouseout":"mouseleave",(function(){3!==d&&f.setState(d)})),f.setState=function(t){1!==t&&(f.state=d=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),h||f.attr([m,a,s,c][t||0]).css([b,v,g,y][t||0])},h||f.attr(m).css(E({cursor:"default"},b)),f.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==d&&i.call(f,t)}))},r.prototype.crispLine=function(t,e,r){void 0===r&&(r="round");var n=t[0],i=t[1];return S(n[1])&&n[1]===i[1]&&(n[1]=i[1]=Math[r](n[1])-e%2/2),S(n[2])&&n[2]===i[2]&&(n[2]=i[2]=Math[r](n[2])+e%2/2),t},r.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:j(t)&&E(e,t),this.createElement("path").attr(e)},r.prototype.circle=function(t,e,r){return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:r},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,r){r.setAttribute("c"+e,t)},e.attr(t)},r.prototype.arc=function(t,e,r,n,i,o){return j(t)?(e=(n=t).y,r=n.r,t=n.x):n={innerR:n,start:i,end:o},(t=this.symbol("arc",t,e,r,r,n)).r=r,t},r.prototype.rect=function(t,e,r,n,i,o){i=j(t)?t.r:i;var a=this.createElement("rect");return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(r,0),height:Math.max(n,0)},this.styledMode||("undefined"!==typeof o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),i&&(t.r=i),a.rSetter=function(t,e,r){a.r=t,x(r,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},r.prototype.setSize=function(t,e,r){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(r,!0)?void 0:0}),this.alignElements()},r.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},r.prototype.image=function(t,e,r,n,i,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};C(e)&&(a.x=e),C(r)&&(a.y=r),C(n)&&(a.width=n),C(i)&&(a.height=i);var c=this.createElement("image").attr(a);return e=function(e){s(c.element,t),o.call(c,e)},o?(s(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r=new y.Image,w(r,"load",e),r.src=t,r.complete&&e({})):s(c.element,t),c},r.prototype.symbol=function(t,e,r,n,i,o){var a,s=this,c=/^url\((.*?)\)$/,u=c.test(t),f=!u&&(this.symbols[t]?t:"circle"),d=f&&this.symbols[f];if(d){"number"===typeof e&&(a=d.call(this.symbols,Math.round(e||0),Math.round(r||0),n||0,i||0,o));var p=this.path(a);s.styledMode||p.attr("fill","none"),E(p,{symbolName:f||void 0,x:e,y:r,width:n,height:i}),o&&E(p,o)}else if(u){var m=t.match(c)[1],b=p=this.image(m);b.imgwidth=P(g[m]&&g[m].width,o&&o.width),b.imgheight=P(g[m]&&g[m].height,o&&o.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){b[t+"Setter"]=function(t,e){var r=this["img"+e];this[e]=t,S(r)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(r=Math.round(r*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,r),this.alignByTranslate||(t=((this[e]||0)-r)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),S(e)&&b.attr({x:e,y:r}),b.isImg=!0,S(b.imgwidth)&&S(b.imgheight)?v(b):(b.attr({width:0,height:0}),O("img",{onload:function(){var t=l[s.chartIndex];0===this.width&&(_(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this)),g[m]={width:this.width,height:this.height},b.imgwidth=this.width,b.imgheight=this.height,b.element&&v(b),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return p},r.prototype.clipRect=function(t,e,r,n){var i=R()+"-",o=this.createElement("clipPath").attr({id:i}).add(this.defs);return(t=this.rect(t,e,r,n,0).add(o)).id=i,t.clipPath=o,t.count=0,t},r.prototype.text=function(t,e,r,n){var i={};return!n||!this.allowHTML&&this.forExport?(i.x=Math.round(e||0),r&&(i.y=Math.round(r)),S(t)&&(i.text=t),t=this.createElement("text").attr(i),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,r){for(var n,i=r.getElementsByTagName("tspan"),o=r.getAttribute(e),a=0;a<i.length;a++)(n=i[a]).getAttribute(e)===o&&n.setAttribute(e,t);r.setAttribute(e,t)}),t):this.html(t,e,r)},r.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&i.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?D(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},r.prototype.rotCorr=function(t,e,r){var n=t;return e&&r&&(n=Math.max(n*Math.cos(e*f),4)),{x:-t/3*Math.sin(e*f),y:n}},r.prototype.pathToSegments=function(t){for(var e=[],r=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i<t.length;i++)A(r[0])&&C(t[i])&&r.length===n[r[0].toUpperCase()]&&t.splice(i,0,r[0].replace("M","L").replace("m","l")),"string"===typeof t[i]&&(r.length&&e.push(r.slice(0)),r.length=0),r.push(t[i]);return e.push(r.slice(0)),e},r.prototype.label=function(t,e,r,n,i,a,s,c,u){return new o(this,t,e,r,n,i,a,s,c,u)},r.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},r}(),E(r.prototype,{Element:i,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:b}),n.registerRendererType("svg",r,!0),r})),e(r,"Core/Renderer/HTML/HTMLElement.js",[r["Core/Globals.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,c=r.css,u=r.defined,l=r.extend,f=r.pick,h=r.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var r=e.prototype,n=t.prototype;n.getSpanCorrection=r.getSpanCorrection,n.htmlCss=r.htmlCss,n.htmlGetBBox=r.htmlGetBBox,n.htmlUpdateTransform=r.htmlUpdateTransform,n.setSpanRotation=r.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,r){this.xCorr=-t*r,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,r=f(e&&t.width,void 0);if(e){delete t.width,this.textWidth=r;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=l(this.styles,t),c(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,r=this.translateX||0,n=this.translateY||0,i=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],l=this.styles;if(l=l&&l.whiteSpace,c(e,{marginLeft:r,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){c(t,{marginLeft:r+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(r){t.invertChild(r,e)})),"SPAN"===e.tagName){var f=this.rotation,d=this.textWidth&&h(this.textWidth),p=[f,a,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,d!==this.oldTextWidth){if(this.textPxLength)var b=this.textPxLength;else c(e,{width:"",whiteSpace:l||"nowrap"}),b=e.offsetWidth;(d>this.oldTextWidth||b>d)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(c(e,{width:b>d||f?d+"px":"auto",display:"block",whiteSpace:l||"normal"}),this.oldTextWidth=d,m=!0)}this.hasBoxWidthChanged=m,p!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!u(f)||f===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(f,s,m),this.getSpanCorrection(!u(f)&&this.textPxLength||e.offsetWidth,m,s,f,a)),c(e,{left:i+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=p,this.oldRotation=f,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,r){var n={},u=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":i?"MozTransform":s.opera?"-o-transform":void 0;u&&(n[u]=n.transform="rotate("+t+"deg)",n[u+(i?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+r+"px",c(this.element,n))},e.composedClasses=[],e}(e)})),e(r,"Core/Renderer/HTML/HTMLRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.attr,a=n.createElement,s=n.extend,c=n.pick;return function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return i(n,r),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(r,n,i){var u=this.createElement("span"),l=u.element,f=u.renderer,h=f.isSVG,d=function(t,r){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(i,o,a){var s=t.div?t.div.style:r;e.prototype[n+"Setter"].call(this,i,o,a),s&&(s[o]=i)}})),t.addedSetters=!0};return u.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,c(e,"")),this.textStr=e,u.doTransform=!0)},h&&d(u,u.element.style),u.xSetter=u.ySetter=u.alignSetter=u.rotationSetter=function(t,e){"align"===e?u.alignValue=u.textAlign=t:u[e]=t,u.doTransform=!0},u.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},u.attr({text:r,x:Math.round(n),y:Math.round(i)}).css({position:"absolute"}),f.styledMode||u.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),l.style.whiteSpace="nowrap",u.css=u.htmlCss,h&&(u.add=function(t){var e=f.box.parentNode,r=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)r.push(t),t=t.parentGroup;r.reverse().forEach((function(t){function i(e,r){t[r]=e,"translateX"===r?h.left=e+"px":h.top=e+"px",t.doTransform=!0}var c,l=o(t.element,"class"),f=t.styles||{},h=(n=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:f.cursor,pointerEvents:f.pointerEvents,visibility:t.visibility},n||e)).style;s(t,{classSetter:(c=n,function(t){this.element.setAttribute("class",t),c.className=t}),on:function(){return r[0].div&&u.on.apply({element:r[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:i,translateYSetter:i}),t.addedSetters||d(t)}))}}else n=e;return n.appendChild(l),u.added=!0,u.alignOnAdd&&u.htmlUpdateTransform(),u}),u},n.composedClasses=[],n}(r)})),e(r,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(r,"Core/Foundation.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.isFunction,i=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},i(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(o(t,i,t.eventOptions[i]),delete t.eventOptions[i]),n(e)&&(t.eventOptions[i]=e,r(t,i,e)))}))}}(e||(e={})),e})),e(r,"Core/Axis/Tick.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.deg2rad,i=r.clamp,o=r.correctFloat,a=r.defined,s=r.destroyObjectProperties,c=r.extend,u=r.fireEvent,l=r.isNumber,f=r.merge,h=r.objectEach,d=r.pick;return e=function(){function e(t,e,r,n,i){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=r||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,u(this,"init"),r||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,r=e.axis,n=r.options,i=r.chart,s=r.categories,f=r.logarithmic,h=r.names,p=e.pos,m=d(e.options&&e.options.labels,n.labels),b=r.tickPositions,v=p===b[0],g=p===b[b.length-1],y=(!m.step||1===m.step)&&1===r.tickInterval;b=b.info;var w,x=e.label;if(s=this.parameters.category||(s?d(s[p],h[p],p):p),f&&l(s)&&(s=o(f.lin2log(s))),r.dateTime)if(b)var O=i.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&b.higherRanks[p]||b.unitName]),_=O.main;else l(s)&&(_=r.dateTime.getXDateFormat(s,n.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=g;var S={axis:r,chart:i,dateTimeLabelFormat:_,isFirst:v,isLast:g,pos:p,tick:e,tickPositionInfo:b,value:s};u(this,"labelFormat",S);var k=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=r.defaultLabelFormatter.call(e),t.format(m.format,e,i)):r.defaultLabelFormatter.call(e,e)};n=k.call(S,S);var E=O&&O.list;e.shortenLabel=E?function(){for(w=0;w<E.length;w++)if(c(S,{dateTimeLabelFormat:E[w]}),x.attr({text:k.call(S,S)}),x.getBBox().width<r.getSlotWidth(e)-2*m.padding)return;x.attr({text:""})}:void 0,y&&r._addedPlotLB&&e.moveLabel(n,m),a(x)||e.movedLabel?x&&x.textStr!==n&&!y&&(!x.textWidth||m.style.width||x.styles.width||x.css({width:null}),x.attr({text:n}),x.textPxLength=x.getBBox().width):(e.label=x=e.createLabel({x:0,y:0},n,m),e.rotation=0)},e.prototype.createLabel=function(t,e,r){var n=this.axis,i=n.chart;return(t=a(e)&&r.enabled?i.renderer.text(e,t.x,t.y,r.useHTML).add(n.labelGroup):null)&&(i.styledMode||t.css(f(r.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,r,n){var a=this.axis,s=a.chart,c=n&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+r,null,null,n)+a.transB):a.left+a.offset+(a.opposite?(n&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?c-a.bottom+a.offset-(a.opposite?a.height:0):o(c-a.translate(e+r,null,null,n)-a.transB)}).y=i(t.y,-1e5,1e5),u(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,r,i,o,s,c,l){var f=this.axis,h=f.transA,d=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,p=f.staggerLines,m=f.tickRotCorr||{x:0,y:0},b=i||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),v={},g=o.y;return a(g)||(g=0===f.side?r.rotation?-8:-r.getBBox().height:2===f.side?m.y+8:Math.cos(r.rotation*n)*(m.y-r.getBBox(!1,0).height/2)),t=t+o.x+b+m.x-(s&&i?s*h*(d?-1:1):0),e=e+g-(s&&!i?s*h*(d?1:-1):0),p&&(r=c/(l||1)%p,f.opposite&&(r=p-r-1),e+=f.labelOffset/p*r),v.x=t,v.y=Math.round(e),u(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:c}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,r,n,i,o){return o.crispLine([["M",t,e],["L",t+(i?0:-r),e+(i?r:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,r=e.options.labels,i=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=d(e.labelLeft,Math.min(e.pos,a[3]));a=d(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var c,u=this.label,l=this.rotation,f={left:0,center:.5,right:1}[e.labelAlign||u.attr("align")],h=u.getBBox().width,p=e.getSlotWidth(this),m={},b=p,v=1;l||"justify"!==r.overflow?0>l&&i-f*h<s?c=Math.round(i/Math.cos(l*n)-s):0<l&&i+f*h>a&&(c=Math.round((o-i)/Math.cos(l*n))):(o=i+(1-f)*h,i-f*h<s?b=t.x+b*(1-f)-s:o>a&&(b=a-t.x+b*f,v=-1),(b=Math.min(p,b))<p&&"center"===e.labelAlign&&(t.x+=v*(p-b-f*(p-Math.min(h,b)))),(h>b||e.autoRotation&&(u.styles||{}).width)&&(c=b)),c&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(c)+"px",(r.style||{}).textOverflow||(m.textOverflow="ellipsis"),u.css(m)))},e.prototype.moveLabel=function(t,e){var r=this,n=r.label,i=r.axis,o=i.reversed,a=!1;if(n&&n.textStr===t?(r.movedLabel=n,a=!0,delete r.label):h(i.ticks,(function(e){a||e.isNew||e===r||!e.label||e.label.textStr!==t||(r.movedLabel=e.label,a=!0,e.labelPos=r.movedLabel.xy,delete e.label)})),!a&&(r.labelPos||n)){var s=r.labelPos||n.xy;n=i.horiz?o?0:i.width+i.left:s.x,i=i.horiz?s.y:o?i.width+i.left:0,r.movedLabel=r.createLabel({x:n,y:i},t,e),r.movedLabel&&r.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,r){var n=this.axis,i=n.horiz,o=this.pos,a=d(this.tickmarkOffset,n.tickmarkOffset);a=(o=this.getPosition(i,o,a,e)).x;var s=o.y;n=i&&a===n.pos+n.len||!i&&s===n.pos?-1:1,i=d(r,this.label&&this.label.newOpacity,1),r=d(r,1),this.isActive=!0,this.renderGridLine(e,r,n),this.renderMark(o,r,n),this.renderLabel(o,e,i,t),this.isNew=!1,u(this,"afterRender")},e.prototype.renderGridLine=function(t,e,r){var n=this.axis,i=n.options,o={},a=this.pos,s=this.type,c=d(this.tickmarkOffset,n.tickmarkOffset),u=n.chart.renderer,l=this.gridLine,f=i.gridLineWidth,h=i.gridLineColor,p=i.gridLineDashStyle;"minor"===this.type&&(f=i.minorGridLineWidth,h=i.minorGridLineColor,p=i.minorGridLineDashStyle),l||(n.chart.styledMode||(o.stroke=h,o["stroke-width"]=f||0,o.dashstyle=p),s||(o.zIndex=1),t&&(e=0),this.gridLine=l=u.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(n.gridGroup)),l&&(r=n.getPlotLinePath({value:a+c,lineWidth:l.strokeWidth()*r,force:"pass",old:t}))&&l[t||this.isNew?"attr":"animate"]({d:r,opacity:e})},e.prototype.renderMark=function(t,e,r){var n=this.axis,i=n.options,o=n.chart.renderer,a=this.type,s=n.tickSize(a?a+"Tick":"tick"),c=t.x;t=t.y;var u=d(i["minor"!==a?"tickWidth":"minorTickWidth"],!a&&n.isXAxis?1:0);i=i["minor"!==a?"tickColor":"minorTickColor"];var l=this.mark,f=!l;s&&(n.opposite&&(s[0]=-s[0]),l||(this.mark=l=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||l.attr({stroke:i,"stroke-width":u})),l[f?"attr":"animate"]({d:this.getMarkPath(c,t,s[0],l.strokeWidth()*r,n.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,r,n){var i=this.axis,o=i.horiz,a=i.options,s=this.label,c=a.labels,u=c.step;i=d(this.tickmarkOffset,i.tickmarkOffset);var f=t.x;t=t.y;var h=!0;s&&l(f)&&(s.xy=t=this.getLabelPosition(f,t,s,o,c,i,n,u),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?h=!1:!o||c.step||c.rotation||e||0===r||this.handleOverflow(t),u&&n%u&&(h=!1),h&&l(t.y)?(t.opacity=r,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,r=e.reversed;if(t&&!this.isNew){var n=e.horiz?r?e.left:e.width+e.left:t.xy.x;r=e.horiz?t.xy.y:r?e.width+e.top:e.top,t.animate({x:n,y:r,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(r,"Core/Axis/Axis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/AxisDefaults.js"],r["Core/Color/Color.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Axis/Tick.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s){var c=t.animObject,u=n.defaultOptions,l=i.registerEventOptions,f=o.deg2rad,h=s.arrayMax,d=s.arrayMin,p=s.clamp,m=s.correctFloat,b=s.defined,v=s.destroyObjectProperties,g=s.erase,y=s.error,w=s.extend,x=s.fireEvent,O=s.getMagnitude,_=s.isArray,S=s.isNumber,k=s.isString,E=s.merge,M=s.normalizeTickInterval,C=s.objectEach,j=s.pick,A=s.relativeLength,T=s.removeEvent,P=s.splat,D=s.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var r=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!r:r,this.isXAxis=r,this.coll=this.coll||(r?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),this.opposite=j(e.opposite,this.opposite),this.side=j(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,i=n.labels,o=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=j(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===o||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=j(n.crosshair,P(t.options.tooltip.crosshairs)[r?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(r?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&r&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=S(i.rotation)?i.rotation:void 0,l(this,n),x(this,"afterInit")},t.prototype.setOptions=function(t){this.options=E(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],E(u[this.coll],t)),x(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var r=S(this.value)?this.value:NaN,n=e.chart.time,i=this.dateTimeLabelFormat,o=u.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(r):e.tickInterval,c=a&&a.length;if(e.categories)var l=""+this.value;else if(i)l=n.dateFormat(i,r);else if(c&&1e3<=s)for(;c--&&"undefined"===typeof l;)s>=(e=Math.pow(o,c+1))&&0===10*r%e&&null!==a[c]&&0!==r&&(l=t(r/e,-1)+a[c]);return"undefined"===typeof l&&(l=1e4<=Math.abs(r)?t(r,-1):t(r,-1,void 0,"")),l},t.prototype.getSeriesExtremes=function(){var t,e=this,r=e.chart;x(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!r.options.chart.ignoreHiddenSeries){var i=n.options,o=i.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((i=n.xData).length){i=e.logarithmic?i.filter(e.validatePositiveValue):i;var a=(t=n.getXExtremes(i)).min,s=t.max;S(a)||a instanceof Date||(i=i.filter(S),a=(t=n.getXExtremes(i)).min,s=t.max),i.length&&(e.dataMin=Math.min(j(e.dataMin,a),a),e.dataMax=Math.max(j(e.dataMax,s),s))}}else n=n.applyExtremes(),S(n.dataMin)&&(a=n.dataMin,e.dataMin=Math.min(j(e.dataMin,a),a)),S(n.dataMax)&&(s=n.dataMax,e.dataMax=Math.max(j(e.dataMax,s),s)),b(o)&&(e.threshold=o),(!i.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,r,n,i,o){var a=this.linkedParent||this,s=n&&a.old?a.old.min:a.min,c=a.minPixelPadding;i=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&i)&&a.lin2val;var u=1,l=0;return(n=n&&a.old?a.old.transA:a.transA)||(n=a.transA),r&&(u*=-1,l=a.len),a.reversed&&(l-=(u*=-1)*(a.sector||a.len)),e?(t=(t*u+l-c)/n+s,i&&(t=a.lin2val(t))):(i&&(t=a.val2lin(t)),t=S(s)?u*(t-s)*n+l+u*c+(S(o)?n*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,r){return("pass"!==y&&t<e||t>r)&&(y?t=p(t,e,r):a=!0),t}var r,n,i,o,a,s=this,c=s.chart,u=s.left,l=s.top,f=t.old,h=t.value,d=t.lineWidth,m=f&&c.oldChartHeight||c.chartHeight,b=f&&c.oldChartWidth||c.chartWidth,v=s.transB,g=t.translatedValue,y=t.force;return t={value:h,lineWidth:d,old:f,force:y,acrossPanes:t.acrossPanes,translatedValue:g},x(this,"getPlotLinePath",t,(function(t){g=j(g,s.translate(h,null,null,f)),g=p(g,-1e5,1e5),r=i=Math.round(g+v),n=o=Math.round(m-g-v),S(g)?s.horiz?(n=l,o=m-s.bottom,r=i=e(r,u,u+s.width)):(r=u,i=b-s.right,n=o=e(n,l,l+s.height)):(a=!0,y=!1),t.path=a&&!y?null:c.renderer.crispLine([["M",r,n],["L",i,o]],d||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,r){var n=m(Math.floor(e/t)*t);r=m(Math.ceil(r/t)*t);var i,o=[];if(m(n+t)===n&&(i=20),this.single)return[e];for(e=n;e<=r&&(o.push(e),(e=m(e+t,i))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?j(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,r=this.minorTickInterval,n=this.pointRangePadding||0,i=this.min-n,o=(n=this.max+n)-i,a=[];if(o&&o/r<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,n){e&&a.push.apply(a,s.getLogTickPositions(r,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(r),i,n,t.startOfWeek));else for(t=i+(e[0]-i)%r;t<=n&&t!==a[0];t+=r)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,r,n,i=this.options,o=this.logarithmic,a=this.min,s=this.max,c=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!o&&(b(i.min)||b(i.max)||b(i.floor)||b(i.ceiling)?this.minRange=null:(this.series.forEach((function(i){if(r=i.xData,n=i.xIncrement?1:r.length-1,1<r.length)for(t=n;0<t;t--)e=r[t]-r[t-1],(!c||e<c)&&(c=e)})),this.minRange=Math.min(5*c,this.dataMax-this.dataMin))),s-a<this.minRange){var u=this.dataMax-this.dataMin>=this.minRange,l=this.minRange,f=(l-s+a)/2;f=[a-f,j(i.min,a-f)],u&&(f[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=h(f))+l,j(i.max,a+l)],u&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=d(s))-a<l&&(f[0]=s-l,f[1]=j(i.min,s-l),a=h(f))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var r=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&b(r)&&n&&(t=b(t)?Math.min(t,r):r)})),t},t.prototype.nameToX=function(t){var e=_(this.categories),r=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,b(n)||(n=this.options.uniqueNames?e?r.indexOf(t.name):j(r.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e)var i=r.length}else i=n;return"undefined"!==typeof i&&(this.names[i]=t.name,this.names.keys[t.name]=i),i},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(r,n){if(r&&r.options&&"undefined"!==typeof r.name){var i=t.nameToX(r);"undefined"!==typeof i&&i!==r.x&&(r.x=i,e.xData[n]=i)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,r=t.linkedParent,n=!!t.categories,i=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,c=t.transA;if(i||n||o){var u=t.getClosest();r?(a=r.minPointOffset,s=r.pointRangePadding):t.series.forEach((function(e){var r=n?1:i?j(e.options.pointRange,u,0):t.axisPointRange||0,c=e.options.pointPlacement;o=Math.max(o,r),t.single&&!n||(e=e.is("xrange")?!i:i,a=Math.max(a,e&&k(c)?0:r/2),s=Math.max(s,e&&"on"===c?0:r))})),r=t.ordinal&&t.ordinal.slope&&u?t.ordinal.slope/u:1,t.minPointOffset=a*=r,t.pointRangePadding=s*=r,t.pointRange=Math.min(o,t.single&&n?1:e),i&&(t.closestPointRange=u)}t.translationSlope=t.transA=c=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=c*a,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,r=this.logarithmic,n=this.options,i=this.isXAxis,o=this.isLinked,a=n.tickPixelInterval,s=this.categories,c=this.softThreshold,u=n.maxPadding,l=n.minPadding,f=S(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,h=S(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var d=j(this.userMin,n.min),p=j(this.userMax,n.max);if(o){this.linkedParent=e[this.coll][n.linkedTo];var v=this.linkedParent.getExtremes();this.min=j(v.min,v.dataMin),this.max=j(v.max,v.dataMax),n.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(c&&b(h))if(this.dataMin>=h)v=h,l=0;else if(this.dataMax<=h){var g=h;u=0}this.min=j(d,v,this.dataMin),this.max=j(p,g,this.dataMax)}if(r&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,j(this.dataMin,this.min))&&y(10,1,e),this.min=m(r.log2lin(this.min),16),this.max=m(r.log2lin(this.max),16)),this.range&&b(this.max)&&(this.userMin=this.min=d=Math.max(this.dataMin,this.minFromRange()),this.userMax=p=this.max,this.range=null),x(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&b(this.min)&&b(this.max)&&(e=this.max-this.min)&&(!b(d)&&l&&(this.min-=e*l),!b(p)&&u&&(this.max+=e*u)),S(this.userMin)||(S(n.softMin)&&n.softMin<this.min&&(this.min=d=n.softMin),S(n.floor)&&(this.min=Math.max(this.min,n.floor))),S(this.userMax)||(S(n.softMax)&&n.softMax>this.max&&(this.max=p=n.softMax),S(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),c&&b(this.dataMin)&&(h=h||0,!b(d)&&this.min<h&&this.dataMin>=h?this.min=this.options.minRange?Math.min(h,this.max-this.minRange):h:!b(p)&&this.max>h&&this.dataMax<=h&&(this.max=this.options.minRange?Math.max(h,this.min+this.minRange):h)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(b(this.options.min)?this.max=this.min:b(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:o&&this.linkedParent&&!f&&a===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:j(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),i&&!t){var w=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(w)})),x(this,"postProcessData",{hasExtemesChanged:w})}this.setAxisTranslation(),x(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=j(n.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!f&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||f||(this.tickInterval=M(this.tickInterval,void 0,O(this.tickInterval),j(n.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,r=this.getMinorTickInterval(),n=this.hasVerticalPanning(),i="colorAxis"===this.coll,o=(i||!n)&&t.startOnTick;n=(i||!n)&&t.endOnTick,i=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=r=e&&e.slice(),!r&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?r=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(r=[this.min,this.max],y(19,!1,this.chart)),r.length>this.len&&((r=[r[0],r.pop()])[0]===r[1]&&(r.length=1)),this.tickPositions=r,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=r=i),this.paddedTicks=r.slice(0),this.trimTicks(r,o,n),this.isLinked||(this.single&&2>r.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||i||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,r){var n=t[0],i=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-o>t[0];)t.shift();if(r)this.max=i;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&b(n)&&!this.options.tickPositions&&t.push((i+n)/2)}},t.prototype.alignToOthers=function(){var t,e={},r=this.options;return!1!==this.chart.options.chart.alignTicks&&r.alignTicks&&!1!==r.startOnTick&&!1!==r.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(r){var n=r.options;n=[r.horiz?n.left:n.top,n.width,n.height,n.pane].join(),r.series.length&&(e[n]?t=!0:e[n]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,r=t.tickAmount;!b(t.tickInterval)&&!r&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(r=2),!r&&this.alignToOthers()&&(r=Math.ceil(this.len/e)+1),4>r&&(this.finalTickAmt=r,r=5),this.tickAmount=r},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,r=this.tickPositions,n=this.tickAmount,i=this.finalTickAmt,o=r&&r.length,a=j(this.threshold,this.softThreshold?0:null);if(this.hasData()&&S(this.min)&&S(this.max)){if(o<n){for(;r.length<n;)r.length%2||this.min===a?r.push(m(r[r.length-1]+e)):r.unshift(m(r[0]-e));this.transA*=(o-1)/(n-1),this.min=t.startOnTick?r[0]:Math.min(this.min,r[0]),this.max=t.endOnTick?r[r.length-1]:Math.max(this.max,r[r.length-1])}else o>n&&(this.tickInterval*=2,this.setTickPositions());if(b(i)){for(e=t=r.length;e--;)(3===i&&1===e%2||2>=i&&0<e&&e<t-1)&&r.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(r){t=t||r.isDirtyData||r.isDirty,e=e||r.xAxis&&r.xAxis.isDirty||!1})),this.setAxisSize();var r=this.len!==(this.old&&this.old.len);r||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=r||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,r,n,i){var o=this,a=o.chart;r=j(r,!0),o.series.forEach((function(t){delete t.kdTree})),i=w(i,{min:t,max:e}),x(o,"setExtremes",i,(function(){o.userMin=t,o.userMax=e,o.eventArgs=i,r&&a.redraw(n)}))},t.prototype.zoom=function(t,e){var r=this,n=this.dataMin,i=this.dataMax,o=this.options,a=Math.min(n,j(o.min,n)),s=Math.max(i,j(o.max,i));return x(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===r.min&&o===r.max||(r.allowZoomOutside||(b(n)&&(e<a&&(e=a),e>s&&(e=s)),b(i)&&(o<a&&(o=a),o>s&&(o=s))),r.displayBtn="undefined"!==typeof e||"undefined"!==typeof o,r.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,r=e.offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(A(j(e.width,t.plotWidth-r[3]+r[1]),t.plotWidth)),o=this.height=Math.round(A(j(e.height,t.plotHeight-r[0]+r[2]),t.plotHeight)),a=this.top=Math.round(A(j(e.top,t.plotTop+r[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(A(j(e.left,t.plotLeft+r[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-i-e,this.len=Math.max(n?i:o,0),this.pos=n?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,r=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=r:1/0===t?t=e:r>t?t=r:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(j(t,0)-90*this.side+720)%360;return x(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,r=j(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(r&&n){"inside"===e[t+"Position"]&&(n=-n);var i=[n,r]}return x(this,"afterTickSize",t={tickSize:i}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,r=this.options.labels,n=this.horiz,i=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/i),a=r.rotation,s=this.labelMetrics(),c=Math.max(this.max-this.min,0),u=function(t){var e=t/(o||1);return(e=1<e?Math.ceil(e):1)*i>c&&1/0!==t&&1/0!==o&&c&&(e=Math.ceil(c/i)),m(e*i)},l=i,h=Number.MAX_VALUE;if(n){if(!r.staggerLines&&!r.step)if(S(a))var d=[a];else o<r.autoRotationLimit&&(d=r.autoRotation);d&&d.forEach((function(r){if(r===a||r&&-90<=r&&90>=r){var n=(e=u(Math.abs(s.h/Math.sin(f*r))))+Math.abs(r/360);n<h&&(h=n,t=r,l=e)}}))}else r.step||(l=u(s.h));return this.autoRotation=d,this.labelRotation=j(t,S(a)?a:0),l},t.prototype.getSlotWidth=function(t){var e=this.chart,r=this.horiz,n=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(r&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/i;if(!r){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,r=this.tickPositions,n=this.ticks,i=this.options.labels,o=i.style,a=this.horiz,s=this.getSlotWidth(),c=Math.max(1,Math.round(s-2*i.padding)),u={},l=this.labelMetrics(),f=o.textOverflow,h=0;if(k(i.rotation)||(u.rotation=i.rotation||0),r.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>h&&(h=t.label.textPxLength)})),this.maxLabelLength=h,this.autoRotation)h>c&&h>l.h?u.rotation=this.labelRotation:this.labelRotation=0;else if(s){var d=c;if(!f){var p="clip";for(c=r.length;!a&&c--;){var m=r[c];(m=n[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/r.length-(l.h-l.f)&&(m.specificTextOverflow="ellipsis"))}}}u.rotation&&(d=h>.5*t.chartHeight?.33*t.chartHeight:h,f||(p="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(u.align=this.labelAlign),r.forEach((function(t){var e=(t=n[t])&&t.label,r=o.width,i={};e&&(e.attr(u),t.shortenLabel?t.shortenLabel():d&&!r&&"nowrap"!==o.whiteSpace&&(d<e.textPxLength||"SPAN"===e.element.tagName)?(i.width=d+"px",f||(i.textOverflow=e.specificTextOverflow||p),e.css(i)):e.styles&&e.styles.width&&!i.width&&!r&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=u.rotation)}),this),this.tickRotCorr=e.rotCorr(l.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&b(this.min)&&b(this.max)},t.prototype.addTitle=function(t){var e,r=this.chart.renderer,n=this.horiz,i=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=r.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,r=e.chart,n=e.horiz,i=e.options,o=e.side,a=e.ticks,s=e.tickPositions,c=e.coll,u=e.axisParent,l=r.renderer,f=r.inverted&&!e.isZAxis?[1,0,3,2][o]:o,h=e.hasData(),d=i.title,p=i.labels,m=r.axisOffset;r=r.clipOffset;var v,g=[-1,1,1,-1][o],y=i.className,w=0,O=0,_=0;if(e.showAxis=v=h||i.showEmpty,e.staggerLines=e.horiz&&p.staggerLines||void 0,!e.axisGroup){var S=function(e,r,n){return l.g(e).attr({zIndex:n}).addClass("highcharts-"+c.toLowerCase()+r+" "+(t.isRadial?"highcharts-radial-axis"+r+" ":"")+(y||"")).add(u)};e.gridGroup=S("grid","-grid",i.gridZIndex),e.axisGroup=S("axis","",i.zIndex),e.labelGroup=S("axis-labels","-labels",p.zIndex)}if(h||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,j(p.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){_=Math.max(a[t].getLabelSize(),_)})),e.staggerLines&&(_*=e.staggerLines),e.labelOffset=_*(e.opposite?-1:1)):C(a,(function(t,e){t.destroy(),delete a[e]})),d&&d.text&&!1!==d.enabled&&(e.addTitle(v),v&&!1!==d.reserveSpace)){e.titleOffset=w=e.axisTitle.getBBox()[n?"height":"width"];var k=d.offset;O=b(k)?0:j(d.margin,n?5:10)}e.renderLine(),e.offset=g*j(i.offset,m[o]?m[o]+(i.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},d=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,h=Math.abs(_)+O,_&&(h=h-d+g*(n?j(p.y,e.tickRotCorr.y+8*g):p.x)),e.axisTitleMargin=j(k,h),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==c&&(n=this.tickSize("tick"),m[o]=Math.max(m[o],(e.axisTitleMargin||0)+w+g*e.offset,h,s&&s.length&&n?n[0]+g*e.offset:0),i=!e.axisLine||i.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),r[f]=Math.max(r[f],i)),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,r=this.opposite,n=this.offset,i=this.horiz,o=this.left+(r?this.width:0)+n;return n=e.chartHeight-this.bottom-(r?this.height:0)+n,r&&(t*=-1),e.renderer.crispLine([["M",i?this.left:o,i?n:this.top],["L",i?e.chartWidth-this.right:o,i?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,r=this.top,n=this.len,i=this.options.title,o=t?e:r,a=this.opposite,s=this.offset,c=i.x,u=i.y,l=this.axisTitle,f=this.chart.renderer.fontMetrics(i.style.fontSize,l);return l=Math.max(l.getBBox(null,0).height-f.h-1,0),n={low:o+(t?0:n),middle:o+n/2,high:o+(t?n:0)}[i.align],e=(t?r+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-l,l,f.f,-l][this.side],t={x:t?n+c:e+(a?this.width:0)+s+c,y:t?e+u-(a?this.height:0)+s:n+u},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var r=this.minorTicks;r[t]||(r[t]=new a(this,t,"minor")),e&&r[t].isNew&&r[t].render(null,!0),r[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,r){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new a(this,t)),r&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,r=this,n=r.chart,i=r.logarithmic,s=r.options,u=r.isLinked,l=r.tickPositions,f=r.axisTitle,h=r.ticks,d=r.minorTicks,p=r.alternateBands,m=s.stackLabels,b=s.alternateGridColor,v=r.tickmarkOffset,g=r.axisLine,y=r.showAxis,w=c(n.renderer.globalAnimation);if(r.labelEdge.length=0,r.overlap=!1,[h,d,p].forEach((function(t){C(t,(function(t){t.isActive=!1}))})),r.hasData()||u){var O=r.chart.hasRendered&&r.old&&S(r.old.min);r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach((function(t){r.renderMinorTick(t,O)})),l.length&&(l.forEach((function(t,e){r.renderTick(t,e,O)})),v&&(0===r.min||r.single)&&(h[-1]||(h[-1]=new a(r,-1,null,!0)),h[-1].render(-1))),b&&l.forEach((function(a,s){e="undefined"!==typeof l[s+1]?l[s+1]+v:r.max-v,0===s%2&&a<r.max&&e<=r.max+(n.polar?-v:v)&&(p[a]||(p[a]=new o.PlotLineOrBand(r)),t=a+v,p[a].options={from:i?i.lin2log(t):t,to:i?i.lin2log(e):e,color:b,className:"highcharts-alternate-grid"},p[a].render(),p[a].isActive=!0)})),r._addedPlotLB||(r._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)})))}[h,d,p].forEach((function(t){var e=[],r=w.duration;C(t,(function(t,r){t.isActive||(t.render(r,!1,0),t.isActive=!1,e.push(r))})),D((function(){for(var r=e.length;r--;)t[e[r]]&&!t[e[r]].isActive&&(t[e[r]].destroy(),delete t[e[r]])}),t!==p&&n.hasRendered&&r?r:0)})),g&&(g[g.isPlaced?"animate":"attr"]({d:this.getLinePath(g.strokeWidth())}),g.isPlaced=!0,g[y?"show":"hide"](y)),f&&y&&(s=r.getTitlePosition(),S(s.y)?(f[f.isNew?"attr":"animate"](s),f.isNew=!1):(f.attr("y",-9999),f.isNew=!0)),m&&m.enabled&&r.stacking&&r.stacking.renderStackTotals(),r.old={len:r.len,max:r.max,min:r.min,transA:r.transA,userMax:r.userMax,userMin:r.userMin},r.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,r=e.plotLinesAndBands,n=this.eventOptions;if(x(this,"destroy",{keepEvents:t}),t||T(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){v(t)})),r)for(t=r.length;t--;)r[t].destroy();for(var i in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[i]=e.plotLinesAndBandsGroups[i].destroy();C(e,(function(t,r){-1===e.getKeepProps().indexOf(r)&&delete e[r]})),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,i=this.crosshair,o=j(i&&i.snap,!0),a=this.chart,s=this.cross;if(x(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),i&&!1!==(b(e)||!o)){if(o?b(e)&&(n=j("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),b(n)){var c={value:e&&(this.isXAxis?e.x:j(e.stackY,e.y)),translatedValue:n};a.polar&&w(c,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),c=this.getPlotLinePath(c)||null}if(!b(c))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(i.className||"")).attr({zIndex:j(i.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:i.color||(o?r.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":j(i.width,1)}).css({"pointer-events":"none"}),i.dashStyle&&s.attr({dashstyle:i.dashStyle}))),s.show().attr({d:c}),o&&!i.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var r=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(r,t),r.isDirtyBox=!0,j(e,!0)&&r.redraw()},t.prototype.remove=function(t){for(var e=this.chart,r=this.coll,n=this.series,i=n.length;i--;)n[i]&&n[i].remove(!1);g(e.axes,this),g(e[r],this),e[r].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,j(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(r,"Core/Axis/DateTimeAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new c(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,r(t,"init",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var r=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=r[r.length-1];var a,s=o[e[0]],c=e[1];for(a=0;a<r.length&&(e=r[a],s=o[e[0]],c=e[1],!(r[a+1]&&t<=(s*c[c.length-1]+o[r[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(c=[1,2,5]),{unitRange:s,count:t=i(t/s,c,"year"===e[0]?Math.max(n(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var r=this.axis;return r.closestPointRange?r.chart.time.getDateFormat(r.closestPointRange,t,r.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/LogarithmicAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new c(this))}function a(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("logarithmic"),r(t,"init",e),r(t,"afterInit",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,r,a){var s=this.axis,c=s.len,u=s.options,l=[];if(a||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),l=s.getLinearTickPositions(t,e,r);else if(.08<=t){var f,h=Math.floor(e),d=u=void 0;for(c=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];h<r+1&&!d;h++){var p=c.length;for(f=0;f<p&&!d;f++){var m=this.log2lin(this.lin2log(h)*c[f]);m>e&&(!a||u<=r)&&"undefined"!==typeof u&&l.push(u),u>r&&(d=!0),u=m}}}else e=this.lin2log(e),r=this.lin2log(r),t=a?s.getMinorTickInterval():u.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,u.tickPixelInterval/(a?5:1)*(r-e)/((a?c/s.tickPositions.length:c)||1)),t=i(t,void 0,n(t)),l=s.getLinearTickPositions(t,e,r).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),l},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.erase,n=t.extend,i=t.isNumber;return function(t){var e,o=[];t.compose=function(t,r){return e||(e=t),-1===o.indexOf(r)&&(o.push(r),n(r.prototype,a.prototype)),r};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,r){void 0===r&&(r=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:r.acrossPanes}),o=[],a=this.horiz;if(e=!i(this.min)||!i(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:r.acrossPanes}),r=1,t&&n){if(e){var s=t.toString()===n.toString();r=0}for(e=0;e<t.length;e+=2){var c=t[e],u=t[e+1],l=n[e],f=n[e+1];"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==f[0]&&"L"!==f[0]||(a&&l[1]===c[1]?(l[1]+=r,f[1]+=r):a||l[2]!==c[2]||(l[2]+=r,f[2]+=r),o.push(["M",c[1],c[2]],["L",u[1],u[2]],["L",f[1],f[2]],["L",l[1],l[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,r){var n=this,i=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)}))),r){var a=i[r]||[];a.push(t),i[r]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,i=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[n.plotLines||[],i.plotLines||[],n.plotBands||[],i.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&r(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[r["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.arrayMax,n=e.arrayMin,i=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,c=e.merge,u=e.objectEach,l=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(r){return t.compose(e,r)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,r=e.horiz,n=e.logarithmic,o=t.options,a=o.color,f=l(o.zIndex,0),h=o.events,d={},p=e.chart.renderer,m=o.label,b=t.label,v=o.to,g=o.from,y=o.value,w=t.svgElem,x=[],O=i(g)&&i(v);x=i(y);var _=!w,S={class:"highcharts-plot-"+(O?"band ":"line ")+(o.className||"")},k=O?"bands":"lines";if(n&&(g=n.log2lin(g),v=n.log2lin(v),y=n.log2lin(y)),e.chart.styledMode||(x?(S.stroke=a||"#999999",S["stroke-width"]=l(o.width,1),o.dashStyle&&(S.dashstyle=o.dashStyle)):O&&(S.fill=a||"#e6ebf5",o.borderWidth&&(S.stroke=o.borderColor,S["stroke-width"]=o.borderWidth))),d.zIndex=f,k+="-"+f,(n=e.plotLinesAndBandsGroups[k])||(e.plotLinesAndBandsGroups[k]=n=p.g("plot-"+k).attr(d).add()),_&&(t.svgElem=w=p.path().attr(S).add(n)),x)x=e.getPlotLinePath({value:y,lineWidth:w.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!O)return;x=e.getPlotBandPath(g,v,o)}return!t.eventsAdded&&h&&(u(h,(function(e,r){w.on(r,(function(e){h[r].apply(t,[e])}))})),t.eventsAdded=!0),(_||!w.d)&&x&&x.length?w.attr({d:x}):w&&(x?(w.show(!0),w.animate({d:x})):w.d&&(w.hide(),b&&(t.label=b=b.destroy()))),m&&(i(m.text)||i(m.formatter))&&x&&x.length&&0<e.width&&0<e.height&&!x.isFlat?(m=c({align:r&&O&&"center",x:r?!O&&4:10,verticalAlign:!r&&O&&"middle",y:r?O?16:10:O?6:-4,rotation:r&&!O&&90},m),this.renderLabel(m,x,O,f)):b&&b.hide(),t},e.prototype.renderLabel=function(t,e,i,o){var a=this.axis,s=a.chart.renderer,u=this.label;u||(this.label=u=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||u.css(c({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=n(o),s=n(e),u.align(t,!1,{x:i,y:s,width:r(o)-i,height:r(e)-s}),u.alignValue&&"left"!==u.alignValue||u.css({width:(90===u.rotation?a.height-(u.alignAttr.y-a.top):a.width-(u.alignAttr.x-a.left))+"px"}),u.show(!0)},e.prototype.getLabelText=function(t){return i(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(r,"Core/Tooltip.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.format,a=e.doc,s=r.distribute,c=i.addEvent,u=i.clamp,l=i.css,f=i.defined,h=i.discardElement,d=i.extend,p=i.fireEvent,m=i.isArray,b=i.isNumber,v=i.isString,g=i.merge,y=i.pick,w=i.splat,x=i.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var r=e&&e.tt;r&&(!r.isActive||t?e.tt=r.destroy():r.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||w(this),r=[t.tooltipFooterHeaderFormatter(e[0])];return(r=r.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),r},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),h(this.container)),i.clearTimeout(this.hideTimer),i.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var r,n,i=this.chart,o=i.pointer,a=i.inverted,s=i.plotTop,c=i.plotLeft,u=0,l=0;return t=w(t),this.followPointer&&e?("undefined"===typeof e.chartX&&(e=o.normalize(e)),o=[e.chartX-c,e.chartY-s]):t[0].tooltipPos?o=t[0].tooltipPos:(t.forEach((function(t){r=t.series.yAxis,n=t.series.xAxis,u+=t.plotX||0,l+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&r&&(a?(u+=s+i.plotHeight-n.len-n.pos,l+=c+i.plotWidth-r.len-r.pos):(u+=n.pos-c,l+=r.pos-s))})),u/=t.length,l/=t.length,o=[a?i.plotWidth-l:u,a?i.plotHeight-u:l],this.shared&&1<t.length&&e&&(a?o[0]=e.chartX-c:o[1]=e.chartY-s)),o.map(Math.round)},t.prototype.getLabel=function(){var t,r=this,i=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s="tooltip"+(f(o.className)?" "+o.className:""),u=o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),h=function(){r.inContact=!0},d=function(t){var e=r.chart.hoverSeries;r.inContact=r.shouldStickOnContact()&&r.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!r.inContact&&e&&e.onMouseOut&&e.onMouseOut()},p=this.chart.renderer;if(r.label){var m=!r.label.hasClass("highcharts-label");(a&&!m||!a&&m)&&r.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var b=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",l(t,{position:"absolute",top:"1px",pointerEvents:u,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),c(t,"mouseenter",h),c(t,"mouseleave",d),e.doc.body.appendChild(t),this.renderer=p=new b(t,0,0,m,void 0,void 0,p.styledMode)}if(a?this.label=p.g(s):(this.label=p.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,s).attr({padding:o.padding,r:o.borderRadius}),i||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:u}).shadow(o.shadow)),i&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),r.outside&&!r.split){var v=this.label,g=v.xSetter,y=v.ySetter;v.xSetter=function(e){g.call(v,r.distance),t.style.left=e+"px"},v.ySetter=function(e){y.call(v,r.distance),t.style.top=e+"px"}}this.label.on("mouseenter",h).on("mouseleave",d).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,r){var n,i=this.chart,o=this.distance,s={},c=i.inverted&&r.h||0,u=this.outside,l=u?a.documentElement.clientWidth-2*o:i.chartWidth,f=u?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):i.chartHeight,h=i.pointer.getChartPosition(),d=function(n){var a="x"===n;return[n,a?l:f,a?t:e].concat(u?[a?t*h.scaleX:e*h.scaleY,a?h.left-o+(r.plotX+i.plotLeft)*h.scaleX:h.top-o+(r.plotY+i.plotTop)*h.scaleY,0,a?l:f]:[a?t:e,a?r.plotX+i.plotLeft:r.plotY+i.plotTop,a?i.plotLeft:i.plotTop,a?i.plotLeft+i.plotWidth:i.plotTop+i.plotHeight])},p=d("y"),m=d("x");d=!!r.negative,!i.polar&&i.hoverSeries&&i.hoverSeries.yAxis&&i.hoverSeries.yAxis.reversed&&(d=!d);var b=!this.followPointer&&y(r.ttBelow,!i.inverted===d),v=function(t,e,r,n,i,a,l){var f=u?"y"===t?o*h.scaleY:o*h.scaleX:o,d=(r-n)/2,p=n<i-o,m=i+o+n<e,v=i-f-r+d;if(i=i+f-d,b&&m)s[t]=i;else if(!b&&p)s[t]=v;else if(p)s[t]=Math.min(l-n,0>v-c?v:v-c);else{if(!m)return!1;s[t]=Math.max(a,i+c+r>e?i:i+c)}},g=function(t,e,r,n,i){var a;return i<o||i>e-o?a=!1:s[t]=i<r/2?1:i>e-n/2?e-n-2:i-r/2,a},w=function(t){var e=p;p=m,m=e,n=t};return(i.inverted||1<this.len)&&w(),function t(){!1!==v.apply(0,p)?!1!==g.apply(0,m)||n||(w(!0),t()):n?s.x=s.y=0:(w(!0),t())}(),s},t.prototype.hide=function(t){var e=this;i.clearTimeout(this.hideTimer),t=y(t,this.options.hideDelay),this.isHidden||(this.hideTimer=x((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=y(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,r,n){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),c=o.followPointer||1<o.len;d(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:c?void 0:s?(2*a.anchorX+r)/3:r,anchorY:c?void 0:s?(a.anchorY+n)/2:n}),o.getLabel().attr(a),o.drawTracker(),s&&(i.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,r,n)}),32))},t.prototype.refresh=function(t,e){var r=this.chart,n=this.options,o=w(t),a=o[0],s=[],c=n.formatter||this.defaultFormatter,u=this.shared,l=r.styledMode,f={};if(n.enabled){i.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var h=(t=this.getAnchor(t,e))[0],d=t[1];if(u&&this.allowShared?(r.pointer.applyInactiveState(o),o.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(f={x:a.category,y:a.y}).points=s):f=a.getLabelConfig(),this.len=s.length,c=c.call(f,this),u=a.series,this.distance=y(u.tooltipOptions.distance,16),!1===c)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(c,o);else{var b=h,v=d;if(e&&r.pointer.isDirectTouch&&(b=e.chartX-r.plotLeft,v=e.chartY-r.plotTop),!r.polar&&!1!==u.options.clip&&!o.some((function(t){return t.series.shouldShowTooltip(b,v)})))return void this.hide();e=this.getLabel(),n.style.width&&!l||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:c&&c.join?c.join(""):c}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(a.colorIndex,u.colorIndex)),l||e.attr({stroke:n.borderColor||a.color||u.color||"#666666"}),this.updatePosition({plotX:h,plotY:d,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}p(this,"refresh")}},t.prototype.renderSplit=function(t,e){function r(t,e,r,i,o){return void 0===o&&(o=!0),r?(e=j?0:D,t=u(t-i/2,E.left,E.right-i-(n.outside?A:0))):(e-=T,t=u(t=o?t-i-_:t+_,o?t:E.left,E.right)),{x:t,y:e}}var n=this,i=n.chart,o=n.chart,c=o.chartWidth,l=o.chartHeight,f=o.plotHeight,h=o.plotLeft,p=o.plotTop,m=o.pointer,b=o.scrollablePixelsY;b=void 0===b?0:b;var g=o.scrollablePixelsX,w=o.scrollingContainer,x=(w=void 0===w?{scrollLeft:0,scrollTop:0}:w).scrollLeft;w=w.scrollTop;var O=o.styledMode,_=n.distance,S=n.options,k=n.options.positioner,E=n.outside&&"number"!==typeof g?a.documentElement.getBoundingClientRect():{left:x,right:x+c,top:w,bottom:w+l},M=n.getLabel(),C=this.renderer||i.renderer,j=!(!i.xAxis[0]||!i.xAxis[0].opposite),A=(i=m.getChartPosition()).left;i=i.top;var T=p+w,P=0,D=f-b;v(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,i,o){if(!1!==i&&""!==i){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:f,series:{}}).isHeader,s=a?n:o.series;i=i.toString();var c=s.tt,l=o.isHeader,d=o.series,m="highcharts-color-"+y(o.colorIndex,d.colorIndex,"none");if(c||(c={padding:S.padding,r:S.borderRadius},O||(c.fill=S.backgroundColor,c["stroke-width"]=S.borderWidth),c=C.label("",0,0,S[l?"headerShape":"shape"],void 0,void 0,S.useHTML).addClass((l?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(c).add(M)),c.isActive=!0,c.attr({text:i}),O||c.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||o.color||d.color||"#333333"}),i=(l=(s=s.tt=c).getBBox()).width+s.strokeWidth(),a&&(P=l.height,D+=P,j&&(T-=P)),d=void 0===(d=o.plotX)?0:d,m=void 0===(m=o.plotY)?0:m,c=o.series,o.isHeader){d=h+d;var b=p+f/2}else{var v=c.xAxis,g=c.yAxis;d=v.pos+u(d,-_,v.len+_),c.shouldShowTooltip(0,g.pos-p+m,{ignoreX:!0})&&(b=g.pos+m)}d=u(d,E.left-_,E.right+_),"number"===typeof b?(l=l.height+1,m=k?k.call(n,i,l,o):r(d,b,a,i),t.push({align:k?0:void 0,anchorX:d,anchorY:b,boxWidth:i,point:o,rank:y(m.rank,a?1:0),size:l,target:m.y,tt:s,x:m.x})):s.isActive=!1}return t}),[]),!k&&t.some((function(t){var e=(n.outside?A:0)+t.anchorX;return e<E.left&&e+t.boxWidth<E.right||e<A-E.left+t.boxWidth&&E.right-e>e}))&&(t=t.map((function(t){var e=r(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return d(t,{target:e.y,x:e.x})}))),n.cleanSplit(),s(t,D);var R=A,L=A;t.forEach((function(t){var e=t.x,r=t.boxWidth;(t=t.isHeader)||(n.outside&&A+e<R&&(R=A+e),!t&&n.outside&&R+r>L&&(L=A+e))})),t.forEach((function(t){var e=t.x,r=t.anchorX,i=t.pos,o=t.point.isHeader;if(i={visibility:"undefined"===typeof i?"hidden":"inherit",x:e,y:i+T,anchorX:r,anchorY:t.anchorY},n.outside&&e<r){var a=A-R;0<a&&(o||(i.x=e+a,i.anchorX=r+a),o&&(i.x=(L-R)/2,i.anchorX=r+a))}t.tt.attr(i)})),t=n.container,b=n.renderer,n.outside&&t&&b&&(o=M.getBBox(),b.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=R+"px",t.style.top=i+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,r=this.shared?t.hoverPoints:t.hoverPoint;if(e&&r){var n={x:0,y:0,width:0,height:0};r=this.getAnchor(r);var i=e.getBBox();r[0]+=t.plotLeft-e.translateX,r[1]+=t.plotTop-e.translateY,n.x=Math.min(0,r[0]),n.y=Math.min(0,r[1]),n.width=0>r[0]?Math.max(Math.abs(r[0]),i.width-r[0]):Math.max(Math.abs(r[0]),i.width),n.height=0>r[1]?Math.max(Math.abs(r[1]),i.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),i.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var r=t.series,n=r.tooltipOptions,i=r.xAxis,a=i&&i.dateTime;i={isFooter:e,labelConfig:t};var s=n.xDateFormat,c=n[e?"footerFormat":"headerFormat"];return p(this,"headerFormatter",i,(function(e){a&&!s&&b(t.key)&&(s=a.getXDateFormat(t.key,n.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+s+"}")})),r.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=o(c,{point:t,series:r},this.chart)})),i.text},t.prototype.update=function(t){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,g(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,r=this.options,n=e.pointer,i=this.getLabel();n=n.getChartPosition();var o=(r.positioner||this.getPosition).call(this,i.width,i.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(r=r.borderWidth+2*this.distance,this.renderer.setSize(i.width+r,i.height+r,!1),1===n.scaleX&&1===n.scaleY||(l(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),a*=n.scaleX,t*=n.scaleY),a+=n.left-o.x,t+=n.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}()})),e(r,"Core/Series/Point.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=e.animObject,a=r.defaultOptions,s=n.format,c=i.addEvent,u=i.defined,l=i.erase,f=i.extend,h=i.fireEvent,d=i.getNestedProperty,p=i.isArray,m=i.isFunction,b=i.isNumber,v=i.isObject,g=i.merge,y=i.objectEach,w=i.pick,x=i.syncTimeout,O=i.removeEvent,_=i.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},r=t.getGraphicalProps();r.singular.forEach((function(r){t[r]=t[r].animate("dataLabel"===r?{x:t[r].startXPos,y:t[r].startYPos,opacity:0}:e)})),r.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(f({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,r){var n=this.series,i=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),f(this,t),this.options=this.options?f(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=e.prototype.getNestedProperty.call(this,i)),this.formatPrefix=(this.isNull=w(this.isValid&&!this.isValid(),null===this.x||!b(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof r&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"===typeof this.x&&n?this.x="undefined"===typeof r?n.autoIncrement():r:b(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(i in(e.graphic||e.dataLabel||e.dataLabels)&&(O(e),e.destroyElements()),e)e[i]=null}var e=this,r=e.series,n=r.chart;r=r.options.dataSorting;var i,a=n.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),a&&(e.setState(),l(a,e),a.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),x(t,s.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,r){var n=this,i=this.series.options;(i.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&i.allowPointSelect&&(r=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(n,t,e,r)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,r=this,n=[],i={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var o=n[e];r[o]&&i.singular.push(o)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&r[n]&&i.plural.push(n)})),i},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?d(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var r,n=0;for(r=e[n];this[t]>=r.value;)r=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=r&&r.color&&!this.options.color?r.color:this.nonZonedColor,r},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,r){return this.series=t,this.applyOptions(e,r),this.id=u(this.id)?this.id:_(),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var r=this.series,n=r.options.keys,i=n||r.pointArrayMap||["y"],o=i.length,a={},s=0,c=0;if(b(t)||null===t)a[i[0]]=t;else if(p(t))for(!n&&t.length>o&&("string"===(r=typeof t[0])?a.name=t[0]:"number"===r&&(a.x=t[0]),s++);c<o;)n&&"undefined"===typeof t[s]||(0<i[c].indexOf(".")?e.prototype.setNestedProperty(a,t[s],i[c]):a[i[c]]=t[s]),s++,c++;else"object"===typeof t&&(a=t,t.dataLabels&&(r._hasPointLabels=!0),t.marker&&(r._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,r=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var n=(r=t.options.colors||t.chart.options.colors)[t.colorCounter];r=r.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===r&&(t.colorCounter=0)}else e||(n=t.color),e=t.colorIndex;this.colorIndex=w(this.options.colorIndex,e),this.color=w(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,r){return r.split(".").reduce((function(t,r,n,i){return t[r]=i.length-1===n?e:v(t[r],!0)?t[r]:{},t[r]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,r=e.tooltipOptions,n=w(r.valueDecimals,""),i=r.valuePrefix||"",o=r.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(i||o)&&(t=t.replace(RegExp(e+"}","g"),i+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,r,n){function i(){a.applyOptions(t);var n=c&&a.hasDummyGraphic;n=null===a.y?!n:n,c&&n&&(a.graphic=c.destroy(),delete a.hasDummyGraphic),v(t,!0)&&(c&&c.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(a.graphic=c.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),l.data[o]=v(l.data[o],!0)||v(t,!0)?a.options:w(t,l.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(u.isDirtyBox=!0),"point"===l.legendType&&(u.isDirtyLegend=!0),e&&u.redraw(r)}var o,a=this,s=a.series,c=a.graphic,u=s.chart,l=s.options;e=w(e,!0),!1===n?i():a.firePointEvent("update",{options:t},i)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var r=this,n=r.series,i=n.chart;this.selectedStaging=t=w(t,!r.selected),r.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){r.selected=r.options.selected=t,n.options.data[n.data.indexOf(r)]=r.options,r.setState(t&&"select"),e||i.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==r&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(i.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,r=e.pointer;t=t?r.normalize(t):r.getChartCoordinatesFromPoint(this,e.inverted),r.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=g(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,r){m(e)&&c(t,r,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,r){var n,i=this.series,o=this.state,s=i.options.states[e||"normal"]||{},c=a.plotOptions[i.type].marker&&i.options.marker,u=c&&!1===c.enabled,l=c&&c.states&&c.states[e||"normal"]||{},d=!1===l.enabled,p=this.marker||{},m=i.chart,v=c&&i.markerAttribs,g=i.halo,y=i.stateMarkerGraphic;if(!((e=e||"")===this.state&&!r||this.selected&&"select"!==e||!1===s.enabled||e&&(d||u&&!1===l.enabled)||e&&p.states&&p.states[e]&&!1===p.states[e].enabled)){if(this.state=e,v&&(n=i.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=i.pointAttribs(this,e),O=w(m.options.chart.animation,s.animation);i.options.inactiveOtherPoints&&b(x.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:x.opacity},O)})),this.connector&&this.connector.animate({opacity:x.opacity},O)),this.graphic.animate(x,O)}n&&this.graphic.animate(n,w(m.options.chart.animation,l.animation,c.animation)),y&&y.hide()}else e&&l&&(o=p.symbol||i.symbol,y&&y.currentSymbol!==o&&(y=y.destroy()),n&&(y?y[r?"animate":"attr"]({x:n.x,y:n.y}):o&&(i.stateMarkerGraphic=y=m.renderer.symbol(o,n.x,n.y,n.width,n.height).add(i.markerGroup),y.currentSymbol=o)),!m.styledMode&&y&&"inactive"!==this.state&&y.attr(i.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,n=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==n&&!this.isCluster?(g||(i.halo=g=m.renderer.path().add(y.parentGroup)),g.show()[r?"animate":"attr"]({d:this.haloPath(s.size)}),g.attr({class:"highcharts-halo highcharts-color-"+w(this.colorIndex,i.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),g.point=this,m.styledMode||g.attr(f({fill:this.color||i.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):g&&g.point&&g.point.haloPath&&g.animate({d:g.point.haloPath(0)},null,g.hide),h(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()})),e(r,"Core/Pointer.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Tooltip.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=t.parse,o=e.charts,a=e.noop,s=n.addEvent,c=n.attr,u=n.css,l=n.defined,f=n.extend,h=n.find,d=n.fireEvent,p=n.isNumber,m=n.isObject,b=n.objectEach,v=n.offset,g=n.pick,y=n.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,r=[];(t||[]).forEach((function(t){e=t.series,r.push(e),e.linkedParent&&r.push(e.linkedParent),e.linkedSeries&&(r=r.concat(e.linkedSeries)),e.navigatorSeries&&r.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===r.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var r=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(r.tooltipTimeout),b(r,(function(t,e){r[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,r=e.options.chart,n=this.zoomHor,o=this.zoomVert,a=e.plotLeft,s=e.plotTop,c=e.plotWidth,u=e.plotHeight,l=this.mouseDownX||0,f=this.mouseDownY||0,h=m(r.panning)?r.panning&&r.panning.enabled:r.panning,d=r.panKey&&t[r.panKey+"Key"],p=t.chartX,b=t.chartY,v=this.selectionMarker;if((!v||!v.touch)&&(p<a?p=a:p>a+c&&(p=a+c),b<s?b=s:b>s+u&&(b=s+u),this.hasDragged=Math.sqrt(Math.pow(l-p,2)+Math.pow(f-b,2)),10<this.hasDragged)){var g=e.isInsidePlot(l-a,f-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!g||d||v||(this.selectionMarker=v=e.renderer.rect(a,s,n?1:c,o?1:u,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||v.attr({fill:r.selectionMarkerFill||i("#335cad").setOpacity(.25).get()})),v&&n&&(n=p-l,v.attr({width:Math.abs(n),x:(0<n?0:n)+l})),v&&o&&(n=b-f,v.attr({height:Math.abs(n),y:(0<n?0:n)+f})),g&&!v&&h&&e.pan(t,r.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,r=this.chart,n=this.hasPinched;if(this.selectionMarker){var i=this.selectionMarker,o=i.attr?i.attr("x"):i.x,a=i.attr?i.attr("y"):i.y,s=i.attr?i.attr("width"):i.width,c=i.attr?i.attr("height"):i.height,h={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:c},m=!!r.mapView;(this.hasDragged||n)&&(r.axes.forEach((function(r){if(r.zoomEnabled&&l(r.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[r.coll]])&&p(o)&&p(a)){var i=r.horiz,u="touchend"===t.type?r.minPixelPadding:0,f=r.toValue((i?o:a)+u);i=r.toValue((i?o+s:a+c)-u),h[r.coll].push({axis:r,min:Math.min(f,i),max:Math.max(f,i)}),m=!0}})),m&&d(r,"selection",h,(function(t){r.zoom(f(t,n?{animation:!1}:null))}))),p(r.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}r&&p(r.index)&&(u(r.container,{cursor:r._cursor}),r.cancelClick=10<this.hasDragged,r.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,r){var n,i=this.chart,o=i.hoverPoint;return i=i.tooltip,o&&i&&i.isStickyOnContact()?o:(t.forEach((function(t){var i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(r,i),(i=m(t,!0)&&t.series)&&!(i=!m(n,!0))){i=n.distX-t.distX;var o=n.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);i=0<(0!==i&&e?i:0!==o?o:0!==a?a:n.series.index>t.series.index?-1:1)}i&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var r=t.series,n=r.xAxis;r=r.yAxis;var i=t.shapeArgs;if(n&&r){var o=g(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&i&&p(i.x)&&p(i.y)&&(o=i.x,a=i.y),e?{chartX:r.len+r.pos-a,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:a+r.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var r=t.offsetWidth;return t=t.offsetHeight,2<r&&2<t&&(this.chartPosition.scaleX=e.width/r,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(r){e[r.isXAxis?"xAxis":"yAxis"].push({axis:r,value:r.toValue(t[r.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,r,n,i,o){var a=[];n=!(!n||!t);var s={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:i};d(this,"beforeGetHoverData",s);var c=e&&!e.stickyTracking?[e]:r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&t.stickyTracking})),u=n||!o?t:this.findNearestKDPoint(c,i,o);return e=u&&u.series,u&&(i&&!e.noSharedTooltip?(c=r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=h(t.points,(function(t){return t.x===u.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(u)),d(this,"afterGetHoverData",s={hoverPoint:u}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var r;t;){if(r=c(t,"class")){if(-1!==r.indexOf(e))return!0;if(-1!==r.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},r&&(t.tooltip=new r(t,e.tooltip),this.followTouchMove=g(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var r=t.touches,n=r?r.length?r.item(0):g(r.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),r=n.pageX-e.left,n=n.pageY-e.top,r/=e.scaleX,n/=e.scaleY,f(t,{chartX:Math.round(r),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,r=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,i=e.plotTop;e.cancelClick||(r&&this.inClass(t.target,"highcharts-tracker")?(d(r.series,"click",f(t,{point:r})),e.hoverPoint&&r.firePointEvent("click",t)):(f(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-i,{visiblePlotOnly:!0})&&d(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var r=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||r)&&(this.zoomOption(t),r&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var r=o[g(t.hoverChartIndex,-1)],n=this.chart.tooltip;n&&n.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),r&&(e.relatedTarget||e.toElement)&&(r.pointer.reset(),r.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,r=this.chartPosition;t=this.normalize(t,r);var n=e.tooltip;!r||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,r=e.chart,n=e.pinchDown,i=t.touches||[],o=i.length,s=e.lastValidTouch,c=e.hasZoom,u={},l=1===o&&(e.inClass(t.target,"highcharts-tracker")&&r.runTrackerClick||e.runChartClick),h={},p=e.selectionMarker;1<o?e.initiated=!0:1===o&&this.followTouchMove&&(e.initiated=!1),c&&e.initiated&&!l&&!1!==t.cancelable&&t.preventDefault(),[].map.call(i,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(i,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[n[0].chartX,n[1]&&n[1].chartX],s.y=[n[0].chartY,n[1]&&n[1].chartY],r.axes.forEach((function(t){if(t.zoomEnabled){var e=r.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,i=t.toPixels(Math.min(g(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(g(t.options.max,t.dataMax),t.dataMax)),a=Math.max(i,o);e.min=Math.min(t.pos,Math.min(i,o)-n),e.max=Math.max(t.pos+t.len,a+n)}})),e.res=!0):e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):n.length&&(d(r,"touchpan",{originalEvent:t},(function(){p||(e.selectionMarker=p=f({destroy:a,touch:!0},r.plotBox)),e.pinchTranslate(n,i,u,p,h,s),e.hasPinched=c,e.scaleGroups(u,h)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,r,n,i,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,r,n,i,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,r,n,i,o)},t.prototype.pinchTranslateDirection=function(t,e,r,n,i,o,a,s){var c=this.chart,u=t?"x":"y",l=t?"X":"Y",f="chart"+l,h=t?"width":"height",d=c["plot"+(t?"Left":"Top")],p=c.inverted,m=c.bounds[t?"h":"v"],b=1===e.length,v=e[0][f],g=!b&&e[1][f];e=function(){"number"===typeof _&&20<Math.abs(v-g)&&(x=s||Math.abs(O-_)/Math.abs(v-g)),w=(d-O)/x+v,y=c["plot"+(t?"Width":"Height")]/x};var y,w,x=s||1,O=r[0][f],_=!b&&r[1][f];if(e(),(r=w)<m.min){r=m.min;var S=!0}else r+y>m.max&&(r=m.max-y,S=!0);S?(O-=.8*(O-a[u][0]),"number"===typeof _&&(_-=.8*(_-a[u][1])),e()):a[u]=[O,_],p||(o[u]=w-d,o[h]=y),o=p?1/x:x,i[h]=y,i[u]=r,n[p?t?"scaleY":"scaleX":"scale"+l]=x,n["translate"+l]=o*d+(O-o*v)},t.prototype.reset=function(t,e){var r=this.chart,n=r.hoverSeries,i=r.hoverPoint,o=r.hoverPoints,a=r.tooltip,s=a&&a.shared?o:i;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):i&&(i.setState(i.state,!0),r.axes.forEach((function(t){t.crosshair&&i.series[t.coll]===t&&t.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(t){t.setState()})),n&&n.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),r.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=r.hoverPoints=r.hoverPoint=null)},t.prototype.runPointActions=function(e,r){var n=this.chart,i=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,a=!!i&&i.shared,c=r||n.hoverPoint,u=c&&c.series||n.hoverSeries;c=(r=this.getHoverData(c,u,n.series,(!e||"touchmove"!==e.type)&&(!!r||u&&u.directTouch&&this.isDirectTouch),a,e)).hoverPoint,u=r.hoverSeries;var l=r.hoverPoints;if(r=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,a=a&&u&&!u.noSharedTooltip,c&&(c!==n.hoverPoint||i&&i.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===l.indexOf(t)&&t.setState()})),n.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(l),(l||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!c.series)return;n.hoverPoints=l,n.hoverPoint=c,c.firePointEvent("mouseOver"),i&&i.refresh(a?l:c,e)}else r&&i&&!i.isHidden&&(c=i.getAnchor([{}],e),n.isInsidePlot(c[0],c[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(n.container.ownerDocument,"mousemove",(function(e){var r=o[t.hoverChartIndex];r&&r.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var r,i=g((t.crosshair||{}).snap,!0);i&&((r=n.hoverPoint)&&r.series[t.coll]===t||(r=h(l,(function(e){return e.series[t.coll]===t})))),r||!i?t.drawCrosshair(e,r):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var r=this.chart;r.series.forEach((function(n){var i=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||r.mapView)&&(n.group.attr(i),n.markerGroup&&(n.markerGroup.attr(i),n.markerGroup.clip(e?r.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(i))})),r.clipRect.attr(e||r.clipBox)},t.prototype.setDOMEvents=function(){var r=this,n=this.chart.container,i=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete r.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var r=this.chart,n=e.charts[g(t.hoverChartIndex,-1)];n&&n!==r&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=r.index)},t.prototype.touch=function(t,e){var r=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),r.isInsidePlot(t.chartX-r.plotLeft,t.chartY-r.plotTop,{visiblePlotOnly:!0})&&!r.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));g(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,r=e.options.chart;e=e.inverted;var n=r.zoomType||"";/touch/.test(t.type)&&(n=g(r.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=r=/y/.test(n),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},t}()})),e(r,"Core/MSPointer.js",[r["Core/Globals.js"],r["Core/Pointer.js"],r["Core/Utilities.js"]],(function(t,e,r){function n(){var t=[];return t.item=function(t){return this[t]},h(p,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function i(t,r,i,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[r]({type:i,target:t.currentTarget,preventDefault:c,touches:n()}))}var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.charts,s=t.doc,c=t.noop,u=t.win,l=r.addEvent,f=r.css,h=r.objectEach,d=r.removeEvent,p={},m=!!u.PointerEvent;return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return o(r,e),r.isRequired=function(){return!(t.hasTouch||!u.PointerEvent&&!u.MSPointerEvent)},r.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},r.prototype.destroy=function(){this.batchMSEvents(d),e.prototype.destroy.call(this)},r.prototype.init=function(t,r){e.prototype.init.call(this,t,r),this.hasZoom&&f(t.container,{"-ms-touch-action":"none","touch-action":"none"})},r.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},r.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY},p[t.pointerId].target||(p[t.pointerId].target=t.currentTarget)}))},r.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",(function(t){delete p[t.pointerId]}))},r.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},r}(e)})),e(r,"Core/Legend/Legend.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Point.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.animObject,s=t.setAnimation,c=e.format;t=r.isFirefox;var u=r.marginNames;r=r.win;var l=i.distribute,f=o.addEvent,h=o.createElement,d=o.css,p=o.defined,m=o.discardElement,b=o.find,v=o.fireEvent,g=o.isNumber,y=o.merge,w=o.pick,x=o.relativeLength,O=o.stableSort,_=o.syncTimeout;return i=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),f(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=f(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=w(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=w(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var r=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,w(e,!0)&&r.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var r=this.options,n=t.legendItem,i=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;r=e?r.itemStyle.color:a;var s=e&&t.color||a,c=t.options&&t.options.marker,u={fill:s};n&&n.css({fill:r,color:r}),i&&i.attr({stroke:s}),o&&(c&&o.isMarker&&(u=t.pointAttribs(),e||(u.stroke=u.fill=a)),o.attr(u))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,r=this.options,n=r.symbolPadding,i=!r.rtl,o=t._legendItemPos;r=o[0],o=o[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(n={translateX:i?r:this.legendWidth-r-2*n-4,translateY:o},i=function(){v(e,"afterPositionItem",{item:t})},p(s.translateY)?s.animate(n,void 0,i):(s.attr(n),i())),a&&(a.x=r,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,r=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach((function(i){var o=i.checkbox;if(o){var a=n+r+o.y+(this.scrollOffset||0)+3;d(o,{left:t.translateX+i.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>n-6&&a<n+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,r=t.title,n=0;r.text&&(this.title||(this.title=this.chart.renderer.label(r.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(r.style),this.title.add(this.group)),r.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?c(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,r=e.renderer,n=this.options,i=this.symbolWidth,o=n.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,c="horizontal"===n.layout?w(n.itemDistance,20):0,u=!n.rtl,l=!t.series,f=!l&&t.series.drawLegendSymbol?t.series:t,h=f.options,d=this.createCheckboxForItem&&h&&h.showCheckbox,p=n.useHTML,m=t.options.className,b=t.legendItem;h=i+o+c+(d?20:0),b||(t.legendGroup=r.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(l?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=b=r.text("",u?i+o:-o,this.baseline||0,p),e.styledMode||b.css(y(t.visible?a:s)),b.attr({align:u?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=r.fontMetrics(e.styledMode?12:a.fontSize,b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=w(n.symbolWidth,Math.max(this.symbolHeight,16)),h=this.symbolWidth+o+c+(d?20:0),u&&b.attr("x",this.symbolWidth+o))),f.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,b,p)),d&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||b.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-h+"px"}),this.setText(t),e=b.getBBox(),r=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+h,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*r?e.height:r))},t.prototype.layoutItem=function(t){var e=this.options,r=this.padding,n="horizontal"===e.layout,i=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=n?w(e.itemDistance,20):0,c=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>c?this.maxItemWidth:t.itemWidth,n&&this.itemX-r+e>c&&(this.itemX=r,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=a+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-r-(t.checkbox?0:s):e)+r,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var r=e&&e.options;e&&w(r.showInLegend,!p(r.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===r.legendType?e.data:e)))})),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var r=this.chart,n=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(i)&&!p(t[a])&&(r[u[a]]=Math.max(r[u[a]],r.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*n[a%2?"x":"y"]+w(n.margin,12)+e[a]+(r.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],r="left"===this.options.align;this.allItems.forEach((function(n){var i,o=r;if(n.yAxis){n.xAxis.options.reversed&&(o=!o),n.points&&(i=b(o?n.points:n.points.slice(0).reverse(),(function(t){return g(t.plotY)}))),o=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var a=n.yAxis.top-t.plotTop;n.visible?(i=i?i.plotY:n.yAxis.height,i+=a-.3*o):i=a+n.yAxis.height,e.push({target:i,size:o,item:n})}}),this),l(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,r=this.options,n=this.padding,i=this.getAllItems(),o=this.group,a=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(r.width,t.spacingBox.width-n);var s=t.spacingBox.width-2*n-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(r.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),O(i,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),r.reversed&&i.reverse(),this.allItems=i,this.display=s=!!i.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,i.forEach(this.renderItem,this),i.forEach(this.layoutItem,this),i=(this.widthOption||this.offsetWidth)+n;var c=this.lastItemY+this.lastLineHeight+this.titleHeight;c=this.handleOverflow(c),c+=n,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(o),a.isNew=!0),t.styledMode||a.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0<i&&0<c&&(a[a.isNew?"attr":"animate"](a.crisp.call({},{x:0,y:0,width:i,height:c},a.strokeWidth())),a.isNew=!1),a[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(i=c=0),this.legendWidth=i,this.legendHeight=c,s&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,r=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=y(t,{y:n})),this.group.align(y(r,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":r.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,r,n=this,i=this.chart,o=i.renderer,a=this.options,s=a.y,c="top"===a.verticalAlign,u=this.padding,l=a.maxHeight,f=a.navigation,h=w(f.animation,!0),d=f.arrowSize||12,p=this.pages,m=this.allItems,b=function(t){"number"===typeof t?y.attr({height:t}):y&&(n.clipRect=y.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},v=function(t){return n[t]=o.circle(0,0,1.3*d).translate(d/2,d/2).add(g),i.styledMode||n[t].attr("fill","rgba(0,0,0,0.0001)"),n[t]};s=i.spacingBox.height+(c?-s:s)-u;var g=this.nav,y=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),l&&(s=Math.min(s,l)),p.length=0,t&&0<s&&t>s&&!1!==f.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-u,0),this.currentPage=w(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,n){var i=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),a=p.length;(!a||i-p[a-1]>e&&(r||i)!==p[a-1])&&(p.push(r||i),a++),t.pageIx=a-1,r&&(m[n-1].pageIx=a-1),n===m.length-1&&i+o-p[a-1]>e&&o<=e&&(p.push(i),t.pageIx=a),i!==r&&(r=i)})),y||(y=n.clipRect=o.clipRect(0,u,9999,0),n.contentGroup.clip(y)),b(e),g||(this.nav=g=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,d,d).add(g),v("upTracker").on("click",(function(){n.scroll(-1,h)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(f.style),this.pager.add(g),this.down=o.symbol("triangle-down",0,0,d,d).add(g),v("downTracker").on("click",(function(){n.scroll(1,h)}))),n.scroll(0),t=s):g&&(b(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var r=this,n=this.chart,i=this.pages,o=i.length,c=this.clipHeight,u=this.options.navigation,l=this.pager,f=this.padding,h=this.currentPage+t;h>o&&(h=o),0<h&&("undefined"!==typeof e&&s(e,n),this.nav.attr({translateX:f,translateY:c+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),l.attr({text:h+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===h?u.inactiveColor:u.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===o?u.inactiveColor:u.activeColor}),this.downTracker.css({cursor:h===o?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),t=a(w(e,n.renderer.globalAnimation,!0)),_((function(){v(r,"afterScroll",{currentPage:h})}),t.duration))},t.prototype.setItemEvents=function(t,e,r){var i=this,o=i.chart.renderer.boxWrapper,a=t instanceof n,s="highcharts-legend-"+(a?"point":"series")+"-active",c=i.chart.styledMode,u=function(e){i.allItems.forEach((function(r){t!==r&&[r].concat(r.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(r?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(r){r&&r.on("mouseover",(function(){t.visible&&u("inactive"),t.setState("hover"),t.visible&&o.addClass(s),c||e.css(i.options.itemHoverStyle)})).on("mouseout",(function(){i.chart.styledMode||e.css(y(t.visible?i.itemStyle:i.itemHiddenStyle)),u(""),o.removeClass(s),t.setState()})).on("click",(function(e){var r=function(){t.setVisible&&t.setVisible(),u(t.visible?"inactive":"")};o.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,r):v(t,"legendItemClick",e,r)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=h("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),f(t.checkbox,"click",(function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(r.navigator&&r.navigator.userAgent)||t)&&i(o.prototype,"positionItem",(function(t,e){var r=this,n=function(){e._legendItemPos&&t.call(r,e)};n(),r.bubbleLegend||setTimeout(n)})),o})),e(r,"Core/Series/SeriesRegistry.js",[r["Core/Globals.js"],r["Core/DefaultOptions.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=e.defaultOptions,a=n.error,s=n.extendClass,c=n.merge;return function(e){function n(t,n){var i=o.plotOptions||{},a=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=r),n.prototype.type=t,a&&(i[t]=a),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,r){void 0===r&&(r={});var n=t.options.chart;n=r.type||n.type||n.defaultSeriesType||"";var i=e.seriesTypes[n];return e||a(17,!0,t,{missingModuleFor:n}),"function"===typeof(n=new i).init&&n.init(t,r),n},e.registerSeriesType=n,e.seriesType=function(t,i,a,u,l){var f=o.plotOptions||{};return i=i||"",f[t]=c(f[i],a),n(t,s(e.seriesTypes[i]||function(){},u)),e.seriesTypes[t].prototype.type=t,l&&(e.seriesTypes[t].prototype.pointClass=s(r,l)),e.seriesTypes[t]}}(i||(i={})),i})),e(r,"Core/Chart/Chart.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/FormatUtilities.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/Legend.js"],r["Core/MSPointer.js"],r["Core/DefaultOptions.js"],r["Core/Pointer.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Time.js"],r["Core/Utilities.js"],r["Core/Renderer/HTML/AST.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p){var m=t.animate,b=t.animObject,v=t.setAnimation,g=r.numberFormat,y=n.registerEventOptions,w=i.charts,x=i.doc,O=i.marginNames,_=i.svg,S=i.win,k=s.defaultOptions,E=s.defaultTime,M=l.seriesTypes,C=d.addEvent,j=d.attr,A=d.cleanRecursively,T=d.createElement,P=d.css,D=d.defined,R=d.discardElement,L=d.erase,I=d.error,N=d.extend,F=d.find,B=d.fireEvent,z=d.getStyle,H=d.isArray,U=d.isNumber,W=d.isObject,q=d.isString,V=d.merge,G=d.objectEach,Y=d.pick,X=d.pInt,$=d.relativeLength,K=d.removeEvent,Z=d.splat,J=d.syncTimeout,Q=d.uniqueKey;return t=function(){function t(t,e,r){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,r)}return t.chart=function(e,r,n){return new t(e,r,n)},t.prototype.getArgs=function(t,e,r){q(t)||t.nodeName?(this.renderTo=t,this.init(e,r)):this.init(t,e)},t.prototype.init=function(t,e){var r=t.plotOptions||{};B(this,"init",{args:arguments},(function(){var n=V(k,t),o=n.chart;G(n.plotOptions,(function(t,e){W(t)&&(t.tooltip=r[e]&&V(r[e].tooltip)||void 0)})),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):i.time,this.numberFormatter=o.numberFormatter||g,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=w.length,w.push(this),i.chartCount++,y(this,o),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,B(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var r=M[e];return r||I(17,!0,this,{missingModuleFor:e}),"function"===typeof(e=new r).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var r=e.length;t<r;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,r){void 0===r&&(r={});var n=this.inverted,i=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,c=0,u=0;r.visiblePlotOnly&&this.scrollingContainer&&(c=(u=this.scrollingContainer).scrollLeft,u=u.scrollTop);var l=r.series;if(i=r.visiblePlotOnly&&s||i,t={x:s=r.inverted?e:t,y:e=r.inverted?t:e,isInsidePlot:!0},!r.ignoreX){var f=l&&(n?l.yAxis:l.xAxis)||{pos:o,len:1/0};(s=r.paneCoordinates?f.pos+s:o+s)>=Math.max(c+o,f.pos)&&s<=Math.min(c+o+i.width,f.pos+f.len)||(t.isInsidePlot=!1)}return!r.ignoreY&&t.isInsidePlot&&(n=l&&(n?l.xAxis:l.yAxis)||{pos:a,len:1/0},(r=r.paneCoordinates?n.pos+e:a+e)>=Math.max(u+a,n.pos)&&r<=Math.min(u+a+i.height,n.pos+n.len)||(t.isInsidePlot=!1)),B(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){B(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],r=this.series,n=this.pointer,i=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),c=[],u=this.isDirtyBox,l=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=r.length;t--;){var f=r[t];if(f.options.stacking||f.options.centerInCategory){var h=!0;if(f.isDirty){var d=!0;break}}}if(d)for(t=r.length;t--;)(f=r[t]).options.stacking&&(f.isDirty=!0);r.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),l=!0):o&&(o.labelFormatter||o.labelFormat)&&(l=!0)),t.isDirtyData&&B(t,"updatedData")})),l&&i&&i.options.enabled&&(i.render(),this.isDirtyLegend=!1),h&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(u=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,c.push((function(){B(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(u||h)&&t.redraw()})),u&&this.drawChartBox(),B(this,"predraw"),r.forEach((function(t){(u||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),a.draw(),B(this,"redraw"),B(this,"render"),s&&this.temporaryDisplay(!0),c.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var r=this.series,n=F(this.axes,e)||F(this.series,e),i=0;!n&&i<r.length;i++)n=F(r[i].points||[],e);return n},t.prototype.getAxes=function(){var t=this,r=this.options,n=r.xAxis=Z(r.xAxis||{});r=r.yAxis=Z(r.yAxis||{}),B(this,"getAxes"),n.forEach((function(t,e){t.index=e,t.isX=!0})),r.forEach((function(t,e){t.index=e})),n.concat(r).forEach((function(r){new e(t,r)})),B(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){Y(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,r){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(r)},t.prototype.applyDescription=function(t,e){var r=this,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=V(!this.styledMode&&{style:n},this.options[t],e);var i=this[t];i&&e&&(this[t]=i=i.destroy()),n&&!i&&((i=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}).add()).update=function(e){r[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||i.css(n.style),this[t]=i)},t.prototype.layOutTitles=function(t){var e=[0,0,0],r=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var i,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(i=a.style&&a.style.fontSize),i=r.fontMetrics(i,o).b,o.css({width:(a.width||n.width+(a.widthAdjust||0))+"px"});var c=Math.round(o.getBBox(a.useHTML).height);o.align(N({y:"bottom"===s?i:t+i,height:c},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+c):"bottom"===s&&(e[2]=Math.ceil(e[2]+c)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var i=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var r=this.renderTo;D(e)||(this.containerWidth=z(r,"width")),D(t)||(this.containerHeight=z(r,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,$(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==x.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,r=e.chart,n=Q(),i=this.renderTo;i||(this.renderTo=i=r.renderTo),q(i)&&(this.renderTo=i=x.getElementById(i)),i||I(13,!0,this);var o=X(j(i,"data-highcharts-chart"));U(o)&&w[o]&&w[o].hasRendered&&w[o].destroy(),j(i,"data-highcharts-chart",this.index),i.innerHTML=p.emptyHTML,r.skipClone||i.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(i,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:o+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},r.style||{})),this.container=n=T("div",{id:n},t,i),this._cursor=n.style.cursor,this.renderer=new(r.renderer||!_?u.getRendererType(r.renderer):f)(n,o,a,void 0,r.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(r.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(r.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,r=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!D(r[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!D(r[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(r,e),B(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],r=t.colorAxis,n=t.margin,i=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?i(t.axes):r&&r.length&&i(r),O.forEach((function(r,i){D(n[i])||(t[r]+=e[i])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,r=e.options.chart,n=e.renderTo,i=D(r.width)&&D(r.height),o=r.width||z(n,"width");r=r.height||z(n,"height"),n=t?t.target:S,delete e.pointer.chartPosition,i||e.isPrinting||!o||!r||n!==S&&n!==x||(o===e.containerWidth&&r===e.containerHeight||(d.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=r)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=C(S,"resize",(function(t){e.options&&e.reflow(t)})),C(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,r){var n=this,i=n.renderer;n.isResizing+=1,v(r,n),r=i.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,"undefined"!==typeof t&&(n.options.chart.width=t),"undefined"!==typeof e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(r?m:P)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},r),n.setChartSize(!0),i.setSize(n.chartWidth,n.chartHeight,r),n.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(r),n.oldChartHeight=null,B(n,"resize"),J((function(){n&&B(n,"endResize",null,(function(){--n.isResizing}))}),b(r).duration)},t.prototype.setChartSize=function(t){var e,r,n,i,o=this.inverted,a=this.renderer,s=this.chartWidth,c=this.chartHeight,u=this.options.chart,l=this.spacing,f=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=r=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=i=Math.max(0,Math.round(c-r-this.marginBottom)),this.plotSizeX=o?i:n,this.plotSizeY=o?n:i,this.plotBorderWidth=u.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:c-l[0]-l[2]},this.plotBox=a.plotBox={x:e,y:r,width:n,height:i},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,f[3])/2),c=Math.ceil(Math.max(o,f[0])/2),this.clipBox={x:s,y:c,width:Math.floor(this.plotSizeX-Math.max(o,f[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,f[2])/2-c))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){B(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(r){var n=e[r],i=W(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((function(n,o){t[r][o]=Y(e[r+n],i[o])}))})),O.forEach((function(e,r){t[e]=Y(t.margin[r],t.spacing[r])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,r=this.renderer,n=this.chartWidth,i=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,c=e.plotBackgroundColor,u=e.plotBackgroundImage,l=this.plotLeft,f=this.plotTop,h=this.plotWidth,d=this.plotHeight,p=this.plotBox,m=this.clipRect,b=this.clipBox,v=this.chartBackground,g=this.plotBackground,y=this.plotBorder,w="animate";if(v||(this.chartBackground=v=r.rect().addClass("highcharts-background").add(),w="attr"),o)var x=t=v.strokeWidth();else t=(x=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(x||v["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=x),v.attr(s).shadow(e.shadow);v[w]({x:t/2,y:t/2,width:n-t-x%2,height:i-t-x%2,r:e.borderRadius}),w="animate",g||(w="attr",this.plotBackground=g=r.rect().addClass("highcharts-plot-background").add()),g[w](p),o||(g.attr({fill:c||"none"}).shadow(e.plotShadow),u&&(a?(u!==a.attr("href")&&a.attr("href",u),a.animate(p)):this.plotBGImage=r.image(u,l,f,h,d).add())),m?m.animate({width:b.width,height:b.height}):this.clipRect=r.clipRect(b),w="animate",y||(w="attr",this.plotBorder=y=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[w](y.crisp({x:l,y:f,width:h,height:d},-y.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,r,n=this,i=n.options.chart,o=n.options.series;["inverted","angular","polar"].forEach((function(a){for(e=M[i.type||i.defaultSeriesType],r=i[a]||e&&e.prototype[a],t=o&&o.length;!r&&t--;)(e=M[o[t].type])&&e.prototype[a]&&(r=!0);n[a]=r}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var r=e.options.linkedTo;q(r)&&(r=":previous"===r?t.series[e.index-1]:t.get(r))&&r.linkedParent!==e&&(r.linkedSeries.push(e),e.linkedParent=r,r.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,r.options.visible,e.visible))})),B(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(r){var n=N(e.style,r.style),i=X(n.left)+t.plotLeft,o=X(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(r.html,i,o).attr({zIndex:2}).css(n).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,r=this.renderer,n=this.options,i=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new o(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var c=1.1<n/this.plotWidth,u=1.05<s/this.plotHeight;(c||u)&&(t.forEach((function(t){(t.horiz&&c||!t.horiz&&u)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?i(t):e&&e.length&&i(e),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,r=V(!0,this.options.credits,t);r.enabled&&!this.credits&&(this.credits=this.renderer.text(r.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){r.href&&(S.location.href=r.href)})).attr({align:r.position.align,zIndex:8}),e.styledMode||this.credits.css(r.style),this.credits.add().align(r.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,r=e.axes,n=e.series,o=e.container,a=o&&o.parentNode;for(B(e,"destroy"),e.renderer.forExport?L(w,e):w[e.index]=void 0,i.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=r.length;t--;)r[t]=r[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var r=e[t];r&&r.destroy&&(e[t]=r.destroy())})),o&&(o.innerHTML=p.emptyHTML,K(o),a&&R(o)),G(e,(function(t,r){delete e[r]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(H(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),B(t,"beforeRender"),c&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new c(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),B(this,"load"),B(this,"render"),D(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,r){var n,i=this;return t&&(e=Y(e,!0),B(i,"addSeries",{options:t},(function(){n=i.initSeries(t),i.isDirtyLegend=!0,i.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),B(i,"afterAddSeries",{series:n}),e&&i.redraw(r)}))),n},t.prototype.addAxis=function(t,e,r,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:r,animation:n})},t.prototype.addColorAxis=function(t,e,r){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:r})},t.prototype.createAxis=function(t,r){return t=new e(this,V(r.axis,{index:this[t].length,isX:"xAxis"===t})),Y(r.redraw,!0)&&this.redraw(r.animation),t},t.prototype.showLoading=function(t){var e=this,r=e.options,n=r.loading,i=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=T("span",{className:"highcharts-loading-inner"},null,o),C(e,"redraw",i)),o.className="highcharts-loading",p.setElementHTML(a,Y(t,r.lang.loading,"")),e.styledMode||(P(o,N(n.style,{zIndex:10})),P(a,n.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),m(o,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,i()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,r,n){var i,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,u=[];B(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=A(t,a.options),a.userOptions=V(a.userOptions,t);var l=t.chart;if(l){if(V(!0,a.options.chart,l),"className"in l&&a.setClassName(l.className),"reflow"in l&&a.setReflow(l.reflow),"inverted"in l||"polar"in l||"type"in l){a.propFromSeries();var f=!0}"alignTicks"in l&&(f=!0),"events"in l&&y(this,l),G(l,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(i=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(c?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&l.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===E&&(this.time=new h(t.time)),V(!0,a.options.time,t.time)),G(t,(function(e,r){a[r]&&"function"===typeof a[r].update?a[r].update(e,!1):"function"===typeof a[s[r]]?a[s[r]](e):"colors"!==r&&-1===a.collectionsWithUpdate.indexOf(r)&&V(!0,a.options[r],t[r]),"chart"!==r&&-1!==a.propsRequireUpdateSeries.indexOf(r)&&(i=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var n=[];a[e].forEach((function(t,e){t.options.isInternal||n.push(Y(t.options.index,e))})),Z(t[e]).forEach((function(t,i){var o,s=D(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][n?n[i]:i])&&s&&D(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),r&&(o.touched=!0)),!o&&r&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),r&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:u.push(t)}))}})),u.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),f&&a.axes.forEach((function(t){t.update({},!1)})),i&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),f=l&&l.width,l=l&&(q(l.height)?$(l.height,f||a.chartWidth):l.height),o||U(f)&&f!==a.chartWidth||U(l)&&l!==a.chartHeight?a.setSize(f,l,n):Y(e,!0)&&a.redraw(n),B(a,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,r=k.lang,n=e.options.chart.resetZoomButton,i=n.theme,o=i.states,a="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";B(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(r.resetZoom,null,null,t,i,o&&o.hover).attr({align:n.position.align,title:r.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,a)})),B(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){B(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,r=this,n=r.pointer,i=r.inverted?n.mouseDownX:n.mouseDownY,o=!1;!t||t.resetSelection?(r.axes.forEach((function(t){e=t.zoom()})),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=r.inverted?a.left:a.top,c=r.inverted?s+a.width:s+a.height,u=a.isXAxis,l=!1;(!u&&i>=s&&i<=c||u||!D(i))&&(l=!0),n[u?"zoomX":"zoomY"]&&l&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))}));var a=r.resetZoomButton;o&&!a?r.showResetZoom():!o&&W(a)&&(r.resetZoomButton=a.destroy()),e&&r.redraw(Y(r.options.chart.animation,t&&t.animation,100>r.pointCount))},t.prototype.pan=function(t,e){var r=this,n=r.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var i=r.options.chart,o=r.options.mapNavigation&&r.options.mapNavigation.enabled;i&&i.panning&&(i.panning=e);var a,s=e.type;B(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=r.xAxis;"xy"===s?e=e.concat(r.yAxis):"y"===s&&(e=r.yAxis);var i={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,c=t[n?"chartX":"chartY"],u=r[n=n?"mouseDownX":"mouseDownY"],l=e.minPointOffset||0,f=e.reversed&&!r.inverted||!e.reversed&&r.inverted?-1:1,h=e.getExtremes(),d=e.toValue(u-c,!0)+l*f,p=e.toValue(u+e.len-c,!0)-(l*f||e.isXAxis&&e.pointRangePadding||0),m=p<d;f=e.hasVerticalPanning(),u=m?p:d,d=m?d:p;var b=e.panningState;!f||e.isXAxis||b&&!b.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),b||(b={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),U(e.dataMin)&&U(e.dataMax)&&(b.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,b.startMin),b.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,b.startMax))})),f=Math.min(Y(b&&b.startMin,h.dataMin),l?h.min:e.toValue(e.toPixels(h.min)-e.minPixelPadding)),p=Math.max(Y(b&&b.startMax,h.dataMax),l?h.max:e.toValue(e.toPixels(h.max)+e.minPixelPadding)),e.panningState=b,e.isOrdinal||(0<(l=f-u)&&(d+=l,u=f),0<(l=d-p)&&(d=p,u-=l),e.series.length&&u!==h.min&&d!==h.max&&u>=f&&d<=p&&(e.setExtremes(u,d,!1,!1,{trigger:"pan"}),r.resetZoomButton||o||u===f||d===p||!s.match("y")||(r.showResetZoom(),e.displayBtn=!1),a=!0),i[n]=c)}})),G(i,(function(t,e){r[e]=t})),a&&r.redraw(!1),P(r.container,{cursor:"move"})}))},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(r,"Core/Legend/LegendSymbol.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.merge,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,i=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,c=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var u={},l=e.marker;this.chart.styledMode||(u={"stroke-width":e.lineWidth||0},e.dashStyle&&(u.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",i,t]]).addClass("highcharts-graph").attr(u).add(c),l&&!1!==l.enabled&&i&&(e=Math.min(n(l.radius,a),a),0===this.symbol.indexOf("url")&&(l=r(l,{width:o,height:o}),e=0),this.legendSymbol=i=s.symbol(this.symbol,i/2-e,t-e,2*e,2*e,l).addClass("highcharts-point").add(c),i.isMarker=!0)},t.drawRectangle=function(t,e){var r=t.symbolHeight,i=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(i?(t.symbolWidth-r)/2:0,t.baseline-r+1,i?r:t.symbolWidth,r,n(t.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(r,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(r,"Core/Series/Series.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Point.js"],r["Core/Series/SeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c,u){var l=t.animObject,f=t.setAnimation,h=e.defaultOptions,d=r.registerEventOptions,p=n.hasTouch,m=n.svg,b=n.win,v=s.seriesTypes,g=u.addEvent,y=u.arrayMax,w=u.arrayMin,x=u.clamp,O=u.cleanRecursively,_=u.correctFloat,S=u.defined,k=u.erase,E=u.error,M=u.extend,C=u.find,j=u.fireEvent,A=u.getNestedProperty,T=u.isArray,P=u.isNumber,D=u.isString,R=u.merge,L=u.objectEach,I=u.pick,N=u.removeEvent,F=u.splat,B=u.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){j(this,"init",{options:e});var r=this,n=t.series;this.eventsToUnbind=[],r.chart=t,r.options=r.setOptions(e),e=r.options,r.linkedSeries=[],r.bindAxes(),M(r,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),d(this,e);var i,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(i=n[n.length-1]),r._i=I(i&&i._i,-1)+1,r.opacity=r.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(e.data,!1),j(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,r=this.options.index;if(P(r)){for(e=t.length;e--;)if(r>=I(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return I(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,r=e.options,n=e.chart;j(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(i){var o=0;n[i].forEach((function(n){t=n.options,(r[i]===o&&!t.isInternal||"undefined"!==typeof r[i]&&r[i]===t.id||"undefined"===typeof r[i]&&0===t.index)&&(e.insert(n.series),e[i]=n,n.isDirty=!0),t.isInternal||o++})),e[i]||e.optionalAxis===i||E(18,!0,n)}))})),j(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var r=t.series,n=arguments,i=P(e)?function(n){var i="y"===n&&r.toYData?r.toYData(t):t[n];r[n+"Data"][e]=i}:function(t){Array.prototype[e].apply(r[t+"Data"],Array.prototype.slice.call(n,2))};r.parallelArrays.forEach(i)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,r=this.options,n=r.pointIntervalUnit,i=r.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=I(a,r.pointStart,0),this.pointInterval=e=I(this.pointInterval,r.pointInterval,1),i&&P(t)&&(e*=t),n&&(r=new o.Date(a),"day"===n?o.set("Date",r,o.get("Date",r)+e):"month"===n?o.set("Month",r,o.get("Month",r)+e):"year"===n&&o.set("FullYear",r,o.get("FullYear",r)+e),e=r.getTime()-a),i&&P(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;M(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,r=e.options,n=r.plotOptions,i=e.userOptions||{};t=R(t),e=e.styledMode;var o={plotOptions:n,userOptions:t};j(this,"setOptions",o);var a=o.plotOptions[this.type],s=i.plotOptions||{};return this.userOptions=o.userOptions,i=R(a,n.series,i.plotOptions&&i.plotOptions[this.type],t),this.tooltipOptions=R(h.tooltip,h.plotOptions.series&&h.plotOptions.series.tooltip,h.plotOptions[this.type].tooltip,r.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=I(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||i.stickyTracking),null===a.marker&&delete i.marker,this.zoneAxis=i.zoneAxis,n=this.zones=(i.zones||[]).slice(),!i.negativeColor&&!i.negativeFillColor||i.zones||(r={value:i[this.zoneAxis+"Threshold"]||i.threshold||0,className:"highcharts-negative"},e||(r.color=i.negativeColor,r.fillColor=i.negativeFillColor),n.push(r)),n.length&&S(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),j(this,"afterSetOptions",{options:i}),i},t.prototype.getName=function(){return I(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,r){var n=this.chart,i=this.userOptions,o=t+"Index",a=t+"Counter",s=r?r.length:I(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var c=I(i[o],i["_"+o]);S(c)||(n.series.length||(n[a]=0),i["_"+o]=c=n[a]%s,n[a]+=1),r&&(e=r[c])}"undefined"!==typeof c&&(this[o]=c),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var r,n,i=t.id,a=t.x,s=this.points,c=this.options.dataSorting;if(i)(c=this.chart.get(i))instanceof o&&(r=c);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(r=function(e){return!e.touched&&e.index===t.index},c&&c.matchByName?r=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(r=function(e){return!e.touched&&e.options.x===t.x}),!(r=C(s,r))))return;if(r){var u=r&&r.index;"undefined"!==typeof u&&(n=!0)}return"undefined"===typeof u&&P(a)&&(u=this.xData.indexOf(a,e)),-1!==u&&"undefined"!==typeof u&&this.cropped&&(u=u>=this.cropStart?u-this.cropStart:u),!n&&P(u)&&s[u]&&s[u].touched&&(u=void 0),u},t.prototype.updateData=function(t,e){var r,n,i,o=this.options,a=o.dataSorting,s=this.points,c=[],u=this.requireSorting,l=t.length===s.length,f=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=S(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},f=n.x;n.id||P(f)?(-1===(n=this.findPointIndex(n,i))||"undefined"===typeof n?c.push(t):s[n]&&t!==o.data[n]?(s[n].update(t,!1,null,!1),s[n].touched=!0,u&&(i=n+1)):s[n]&&(s[n].touched=!0),(!l||e!==n||a&&a.enabled||this.hasDerivedData)&&(r=!0)):c.push(t)}),this),r)for(t=s.length;t--;)(n=s[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!l||a&&a.enabled?f=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),c.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!f&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,r,n){var i=this,o=i.points,a=o&&o.length||0,s=i.options,c=i.chart,u=s.dataSorting,l=i.xAxis,f=s.turboThreshold,h=this.xData,d=this.yData,p=i.pointArrayMap;p=p&&p.length;var m,b=s.keys,v=0,g=1,y=null,w=(t=t||[]).length;if(e=I(e,!0),u&&u.enabled&&(t=this.sortData(t)),!1!==n&&w&&a&&!i.cropped&&!i.hasGroupedData&&i.visible&&!i.isSeriesBoosting&&(m=this.updateData(t,r)),!m){if(i.xIncrement=null,i.colorCounter=0,this.parallelArrays.forEach((function(t){i[t+"Data"].length=0})),f&&w>f)if(y=i.getFirstValidPoint(t),P(y))for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else if(T(y))if(p)if(y.length===p)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else for(r=0;r<w;r++)n=t[r],h[r]=n[0],d[r]=n.slice(1,p+1);else if(b&&(v=0<=(v=b.indexOf("x"))?v:0,g=0<=(g=b.indexOf("y"))?g:1),1===y.length&&(g=0),v===g)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r][g];else for(r=0;r<w;r++)n=t[r],h[r]=n[v],d[r]=n[g];else E(12,!1,c);else for(r=0;r<w;r++)"undefined"!==typeof t[r]&&(n={series:i},i.pointClass.prototype.applyOptions.apply(n,[t[r]]),i.updateParallelArrays(n,r));for(d&&D(d[0])&&E(14,!0,c),i.data=[],i.options.data=i.userOptions.data=t,r=a;r--;)o[r]&&o[r].destroy&&o[r].destroy();l&&(l.minRange=l.userMinRange),i.isDirty=c.isDirtyBox=!0,i.isDirtyData=!!o,r=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&c.redraw(r)},t.prototype.sortData=function(t){var e=this,r=e.options.dataSorting.sortKey||"y",n=function(t,e){return S(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(r,i){t[i]=n(e,r),t[i].index=i}),this),t.concat().sort((function(t,e){return t=A(r,t),(e=A(r,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var r=e.options,i=r.data;r.dataSorting&&r.dataSorting.enabled||!i||(i.forEach((function(r,o){i[o]=n(e,r),t[o]&&(i[o].x=t[o].x,i[o].index=o)})),e.setData(i,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,r=this.options,n=r.cropThreshold,i=t||this.getExtremesFromAll||r.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,r=!(!e||!e.logarithmic);var a=0,s=this.xData,c=this.yData,u=this.requireSorting,l=!1,f=s.length;if(e){var h=(l=e.getExtremes()).min,d=l.max;l=e.categories&&!e.names.length}if(o&&this.sorted&&!i&&(!n||f>n||this.forceCrop))if(s[f-1]<h||s[0]>d)s=[],c=[];else if(this.yData&&(s[0]<h||s[f-1]>d)){var p=this.cropData(this.xData,this.yData,h,d);s=p.xData,c=p.yData,a=p.start,p=!0}for(n=s.length||1;--n;)if(0<(e=r?t(s[n])-t(s[n-1]):s[n]-s[n-1])&&("undefined"===typeof m||e<m))var m=e;else 0>e&&u&&!l&&(E(15,!1,this.chart),u=!1);return{xData:s,yData:c,cropped:p,cropStart:a,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,j(this,"afterProcessData")},t.prototype.cropData=function(t,e,r,n,i){var o,a=t.length,s=0,c=a;for(i=I(i,this.cropShoulder),o=0;o<a;o++)if(t[o]>=r){s=Math.max(0,o-i);break}for(r=o;r<a;r++)if(t[r]>n){c=r+i;break}return{xData:t.slice(s,c),yData:e.slice(s,c),start:s,end:c}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,r=this.processedXData,n=this.processedYData,i=this.pointClass,o=r.length,a=this.cropStart||0,s=this.hasGroupedData,c=t.keys,u=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var l,f,h=this.data;if(!h&&!s){var d=[];d.length=e.length,h=this.data=d}for(c&&s&&(this.options.keys=!1),f=0;f<o;f++){if(d=a+f,s){var p=(new i).init(this,[r[f]].concat(F(n[f])));p.dataGroup=this.groupMap[t+f],p.dataGroup.options&&(p.options=p.dataGroup.options,M(p,p.dataGroup.options),delete p.dataLabels)}else(p=h[d])||"undefined"===typeof e[d]||(h[d]=p=(new i).init(this,e[d],r[f]));p&&(p.index=s?t+f:d,u[f]=p)}if(this.options.keys=c,h&&(o!==(l=h.length)||s))for(f=0;f<l;f++)f!==a||s||(f+=o),h[f]&&(h[f].destroyElements(),h[f].plotX=void 0);this.data=h,this.points=u,j(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:w(t),max:y(t)}},t.prototype.getExtremes=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;n=!!n&&n.positiveValuesOnly;var s,c=0,u=0,l=0,f=(t=t||this.stackedYData||this.processedYData||[]).length;if(r){var h=r.getExtremes();c=h.min,u=h.max}for(s=0;s<f;s++){var d=i[s];h=t[s];var p=(P(h)||T(h))&&(h.length||0<h||!n);if(d=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!r||(i[s+a]||d)>=c&&(i[s-a]||d)<=u,p&&d)if(p=h.length)for(;p--;)P(h[p])&&(o[l++]=h[p]);else o[l++]=h}return t={activeYData:o,dataMin:w(o),dataMax:y(o)},j(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,r=0,n=null;null===n&&r<e;)n=t[r],r++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,r=this.options,n=r.stacking,i=this.xAxis,o=i.categories,a=this.enabledDataSorting,s=this.yAxis,c=this.points,u=c.length,l=this.pointPlacementToXValue(),f=!!l,h=r.threshold,d=r.startFromThreshold?h:0,p=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<u;t++){var b=c[t],v=b.x,g=void 0,y=void 0,w=b.y,O=b.low,k=n&&s.stacking&&s.stacking.stacks[(this.negStacks&&w<(d?0:h)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(w)||i.positiveValuesOnly&&!i.validatePositiveValue(v))&&(b.isNull=!0),b.plotX=e=_(x(i.translate(v,0,0,0,1,l,"flags"===this.type),-1e5,1e5)),n&&this.visible&&k&&k[v]){var E=this.getStackIndicator(E,v,this.index);b.isNull||(y=(g=k[v]).points[E.key])}if(T(y)&&(O=y[0],w=y[1],O===d&&E.key===k[v].base&&(O=I(P(h)&&h,s.min)),s.positiveValuesOnly&&0>=O&&(O=null),b.total=b.stackTotal=g.total,b.percentage=g.total&&b.y/g.total*100,b.stackY=w,this.irregularWidths||g.setOffset(this.pointXOffset||0,this.barW||0)),b.yBottom=S(O)?x(s.translate(O,0,1,0,1),-1e5,1e5):null,this.dataModify&&(w=this.dataModify.modifyValue(w,t)),b.plotY=void 0,P(w)&&("undefined"!==typeof(g=s.translate(w,!1,!0,!1,!0))&&(b.plotY=x(g,-1e5,1e5))),b.isInside=this.isPointInside(b),b.clientX=f?_(i.translate(v,0,0,0,1,l)):e,b.negative=b[p]<(r[p+"Threshold"]||h||0),b.category=o&&"undefined"!==typeof o[b.x]?o[b.x]:b.x,!b.isNull&&!1!==b.visible){"undefined"!==typeof M&&(m=Math.min(m,Math.abs(e-M)));var M=e}b.zone=this.zones.length?b.getZone():void 0,!b.graphic&&this.group&&a&&(b.isNew=!0)}this.closestPointRangePx=m,j(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,r){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(r||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis,n=R(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),r&&r.len!==t.plotSizeY&&(n.height=r.len),n},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,r=this.markerGroup,n=t.sharedClips;t=t.renderer;var i=this.getClipBox(),o=this.getSharedClipKey(),a=n[o];a?a.animate(i):n[o]=a=t.clipRect(i),e&&e.clip(!1===this.options.clip?void 0:a),r&&r.clip()},t.prototype.animate=function(t){var e=this.chart,r=this.group,n=this.markerGroup,i=e.inverted,o=l(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],c=e.sharedClips[a+"m"];if(t&&r)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,i&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,c=e.renderer.clipRect({x:i?(e.plotSizeX||0)+99:-99,y:i?-e.plotLeft:-e.plotTop,width:99,height:i?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=c),r.clip(s),n&&n.clip(c);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var u=o.step;n&&n.element.childNodes.length&&(o.step=function(t,e){u&&u.apply(e,arguments),c&&c.element&&c.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,r,n){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete n[r])})),this.finishedAnimating=!0,j(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,r=this.points,n=this.chart,i=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=I(i.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(t=0;t<r.length;t++){var c=r[t],u=(e=c.graphic)?"animate":"attr",l=c.marker||{},f=!!c.marker;if((s&&"undefined"===typeof l.enabled||l.enabled)&&!c.isNull&&!1!==c.visible){var h=I(l.symbol,this.symbol,"rect"),d=this.markerAttribs(c,c.selected&&"select");this.enabledDataSorting&&(c.startXPos=a.reversed?-(d.width||0):a.width);var p=!1!==c.isInside;e?e[p?"show":"hide"](p).animate(d):p&&(0<(d.width||0)||c.hasImage)&&(c.graphic=e=n.renderer.symbol(h,d.x,d.y,d.width,d.height,f?l:i).add(o),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:c.startXPos}),u="animate")),e&&"animate"===u&&e[p?"show":"hide"](p).animate(d),e&&!n.styledMode&&e[u](this.pointAttribs(c,c.selected&&"select")),e&&e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var r=this.options,n=r.marker,i=t.marker||{},o=i.symbol||n.symbol,a=I(i.radius,n.radius);return e&&(n=n.states[e],e=i.states&&i.states[e],a=I(e&&e.radius,n&&n.radius,a+(n&&n.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(a=0),t={x:r.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var r=this.options.marker,n=t&&t.options,i=n&&n.marker||{},o=n&&n.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,c=this.color;return t=I(i.lineWidth,r.lineWidth),n=1,c=o||s||a||c,o=i.fillColor||r.fillColor||c,a=i.lineColor||r.lineColor||c,e=e||"normal",r=r.states[e]||{},e=i.states&&i.states[e]||{},t=I(e.lineWidth,r.lineWidth,t+I(e.lineWidthPlus,r.lineWidthPlus,0)),o=e.fillColor||r.fillColor||o,{stroke:a=e.lineColor||r.lineColor||a,"stroke-width":t,fill:o,opacity:n=I(e.opacity,r.opacity,n)}},t.prototype.destroy=function(t){var e,r,n,i=this,o=i.chart,a=/AppleWebKit\/533/.test(b.navigator.userAgent),s=i.data||[];for(j(i,"destroy"),this.removeEvents(t),(i.axisTypes||[]).forEach((function(t){(n=i[t])&&n.series&&(k(n.series,i),n.isDirty=n.forceRedraw=!0)})),i.legendItem&&i.chart.legend.destroyItem(i),e=s.length;e--;)(r=s[e])&&r.destroy&&r.destroy();i.clips&&i.clips.forEach((function(t){return t.destroy()})),u.clearTimeout(i.animationTimeout),L(i,(function(t,e){t instanceof c&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===i&&(o.hoverSeries=void 0),k(o.series,i),o.orderSeries(),L(i,(function(e,r){t&&"hcEvents"===r||delete i[r]}))},t.prototype.applyZones=function(){var t,e,r,n,i,o,a,s,c=this,u=this.chart,l=u.renderer,f=this.zones,h=this.clips||[],d=this.graph,p=this.area,m=Math.max(u.chartWidth,u.chartHeight),b=this[(this.zoneAxis||"y")+"Axis"],v=u.inverted,g=!1;if(f.length&&(d||p)&&b&&"undefined"!==typeof b.min){var y=b.reversed,w=b.horiz;d&&!this.showLine&&d.hide(),p&&p.hide();var O=b.getExtremes();f.forEach((function(f,_){t=y?w?u.plotWidth:0:w?0:b.toPixels(O.min)||0,t=x(I(e,t),0,m),e=x(Math.round(b.toPixels(I(f.value,O.max),!0)||0),0,m),g&&(t=e=b.toPixels(O.max)),n=Math.abs(t-e),i=Math.min(t,e),o=Math.max(t,e),b.isXAxis?(r={x:v?o:i,y:0,width:n,height:m},w||(r.x=u.plotHeight-r.x)):(r={x:0,y:v?o:i,width:m,height:n},w&&(r.y=u.plotWidth-r.y)),v&&l.isVML&&(r=b.isXAxis?{x:0,y:y?i:o,height:r.width,width:u.chartWidth}:{x:r.y-u.plotLeft-u.spacingBox.x,y:0,width:r.height,height:u.chartHeight}),h[_]?h[_].animate(r):h[_]=l.clipRect(r),a=c["zone-area-"+_],s=c["zone-graph-"+_],d&&s&&s.clip(h[_]),p&&a&&a.clip(h[_]),g=f.value>O.max,c.resetZones&&0===e&&(e=void 0)})),this.clips=h}else c.visible&&(d&&d.show(!0),p&&p.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){r[e]&&(n.renderer.isVML&&r[e].attr({width:r.yAxis.len,height:r.xAxis.len}),r[e].width=r.yAxis.len,r[e].height=r.xAxis.len,r[e].invert(!r.isRadialSeries&&t))}))}var r=this,n=r.chart;r.xAxis&&(r.eventsToUnbind.push(g(n,"resize",e)),e(),r.invertGroups=e)},t.prototype.plotGroup=function(t,e,r,n,i){var o=this[t],a=!o;return r={visibility:r,zIndex:n||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(r.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(r)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis;return t.inverted&&(e=r,r=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:r?r.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,r=t.options,n=l(r.animation),i=t.visible?"inherit":"hidden",o=r.zIndex,a=t.hasRendered,s=e.seriesGroup,c=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,j(this,"render");var u=t.plotGroup("group","series",i,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",i,o,s),!1!==r.clip&&t.setClip(),t.animate&&e&&t.animate(!0),u.inverted=!!I(t.invertible,t.isCartesian)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),t.animate&&e&&t.animate(),a||(e&&n.defer&&(e+=n.defer),t.animationTimeout=B((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,j(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,r=this.group,n=this.xAxis,i=this.yAxis;r&&(t.inverted&&r.attr({width:t.plotWidth,height:t.plotHeight}),r.animate({translateX:I(n&&n.left,t.plotLeft),translateY:I(i&&i.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?r.len-t.chartY+r.pos:t.chartX-r.pos,plotY:i?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,r=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,B((function(){e.kdTree=function t(r,n,i){var o=r&&r.length;if(o){var a=e.kdAxisArray[n%i];return r.sort((function(t,e){return t[a]-e[a]})),{point:r[o=Math.floor(o/2)],left:t(r.slice(0,o),n+1,i),right:t(r.slice(o+1),n+1,i)}}}(e.getValidPoints(null,!e.directTouch),r,r),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,r){var n=this,i=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<n.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(r),this.kdTree)return function t(e,r,s,c){var u=r.point,l=n.kdAxisArray[s%c],f=u,h=S(e[i])&&S(u[i])?Math.pow(e[i]-u[i],2):null,d=S(e[o])&&S(u[o])?Math.pow(e[o]-u[o],2):null;return d=(h||0)+(d||0),u.dist=S(d)?Math.sqrt(d):Number.MAX_VALUE,u.distX=S(h)?Math.sqrt(h):Number.MAX_VALUE,h=0>(l=e[l]-u[l])?"right":"left",r[d=0>l?"left":"right"]&&(f=(d=t(e,r[d],s+1,c))[a]<f[a]?d:u),r[h]&&Math.sqrt(l*l)<f[a]&&(f=(e=t(e,r[h],s+1,c))[a]<f[a]?e:f),f}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,r=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=r.reversed?-.5:.5),P(t)?t*(e||r.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,r=this.xAxis,n=this.yAxis;return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=(n?n.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(r?r.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,r=e.trackByArea,n=[].concat(r?t.areaPath:t.graphPath),i=t.chart,o=i.pointer,a=i.renderer,s=i.options.tooltip.snap,c=t.tracker,u=function(e){i.hoverSeries!==t&&t.onMouseOver()},l="rgba(192,192,192,"+(m?1e-4:.002)+")";c?c.attr({d:n}):t.graph&&(t.tracker=a.path(n).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(r?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),i.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l,fill:r?l:"none","stroke-width":t.graph.strokeWidth()+(r?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",u).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!i.styledMode&&t.css({cursor:e.cursor}),p)&&t.on("touchstart",u)}))),j(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,r,n,i){var o=this.options,a=this.data,s=this.chart,c=this.xAxis;c=c&&c.hasNames&&c.names;var u,l=o.data,f=this.xData;e=I(e,!0);var h={series:this};this.pointClass.prototype.applyOptions.apply(h,[t]);var d=h.x,p=f.length;if(this.requireSorting&&d<f[p-1])for(u=!0;p&&f[p-1]>d;)p--;this.updateParallelArrays(h,"splice",p,0,0),this.updateParallelArrays(h,p),c&&h.name&&(c[d]=h.name),l.splice(p,0,t),u&&(this.data.splice(p,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),r&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(h,"shift"),l.shift())),!1!==i&&j(this,"addPoint",{point:h}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(n)},t.prototype.removePoint=function(t,e,r){var n=this,i=n.data,o=i[t],a=n.points,s=n.chart,c=function(){a&&a.length===i.length&&a.splice(t,1),i.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(o||{series:n},"splice",t,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&s.redraw()};f(r,s),e=I(e,!0),o?o.firePointEvent("remove",null,c):c()},t.prototype.remove=function(t,e,r,n){function i(){o.destroy(n),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),I(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==r?j(o,"remove",null,i):i()},t.prototype.update=function(t,e){t=O(t,this.userOptions),j(this,"update",{options:t});var r,n=this,i=n.chart,o=n.userOptions,a=n.initialType||n.type,s=i.options.plotOptions,c=v[a].prototype,u=n.finishedAnimating&&{animation:!1},l={},f=["eventOptions","navigatorSeries","baseSeries"],h=t.type||o.type||i.options.chart.type,d=!(this.hasDerivedData||h&&h!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(h=h||a,d&&(f.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&f.push("area","graph"),n.parallelArrays.forEach((function(t){f.push(t+"Data")})),t.data&&(t.dataSorting&&M(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=R(o,u,{index:"undefined"===typeof o.index?n.index:o.index,pointStart:I(s&&s.series&&s.series.pointStart,o.pointStart,n.xData[0])},!d&&{data:n.options.data},t),d&&t.data&&(t.data=n.options.data),(f=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(f)).forEach((function(t){f[t]=n[t],delete n[t]})),s=!1,v[h]){if(s=h!==n.type,n.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[h].prototype);else{for(r in u=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,c)n[r]=void 0;M(n,v[h].prototype),u?n.hcEvents=u:delete n.hcEvents}}else E(17,!0,i,{missingModuleFor:h});if(f.forEach((function(t){n[t]=f[t]})),n.init(i,t),d&&this.points){var p=n.options;!1===p.visible?(l.graphic=1,l.dataLabel=1):n._hasPointLabels||(t=p.marker,c=p.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(l.graphic=1),c&&!1===c.enabled&&(l.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(l).length&&t.destroyElements(l),!1===p.showInLegend&&t.legendItem&&i.legend.destroyItem(t))}),this)}n.initialType=a,i.linkSeries(),s&&n.linkedSeries.length&&(n.isDirtyData=!0),j(this,"afterUpdate"),I(e,!0)&&i.redraw(!!d&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],r=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==I(r&&r[this.type]&&r[this.type][t],r&&r.series&&r.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&j(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,r=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&j(this,"mouseOut"),!r||this.stickyTracking||r.shared&&!this.noSharedTooltip||r.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var r=this,n=r.options,i=r.graph,o=n.inactiveOtherPoints,a=n.states,s=I(a[t||"normal"]&&a[t||"normal"].animation,r.chart.options.chart.animation),c=n.lineWidth,u=0,l=n.opacity;if(t=t||"",r.state!==t&&([r.group,r.markerGroup,r.dataLabelsGroup].forEach((function(e){e&&(r.state&&e.removeClass("highcharts-series-"+r.state),t&&e.addClass("highcharts-series-"+t))})),r.state=t,!r.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(c=a[t].lineWidth||c+(a[t].lineWidthPlus||0),l=I(a[t].opacity,l)),i&&!i.dashstyle)for(n={"stroke-width":c},i.animate(n,s);r["zone-graph-"+u];)r["zone-graph-"+u].animate(n,s),u+=1;o||[r.group,r.markerGroup,r.dataLabelsGroup,r.labelBySeries].forEach((function(t){t&&t.animate({opacity:l},s)}))}e&&o&&r.points&&r.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var r=this,n=r.chart,i=r.legendItem,o=n.options.chart.ignoreHiddenSeries,a=r.visible,s=(r.visible=t=r.options.visible=r.userOptions.visible="undefined"===typeof t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){r[t]&&r[t][s]()})),n.hoverSeries!==r&&(n.hoverPoint&&n.hoverPoint.series)!==r||r.onMouseOut(),i&&n.legend.colorizeItem(r,t),r.isDirty=!0,r.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),r.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(n.isDirtyBox=!0),j(r,s),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),j(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,r){return void 0===r&&(r={}),r.series=this,r.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,r)},t.defaultOptions=a,t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(r,"Extensions/ScrollablePlotArea.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.stop,s=o.addEvent,c=o.createElement,u=o.merge,l=o.pick;s(r,"afterSetChartSize",(function(t){var r=this.options.chart.scrollablePlotArea,n=r&&r.minWidth;if(r=r&&r.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var i={1:{name:"right",value:n}}}}else r&&(this.scrollablePixelsY=n=Math.max(0,r-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,i={2:{name:"bottom",value:n}});i&&!t.skipAxes&&this.axes.forEach((function(t){i[t.side]?t.getPlotLinePath=function(){var r=i[t.side].name,n=this[r];this[r]=n-i[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[r]=n,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(r,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),r.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=c("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=c("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=c("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},r.prototype.moveFixedElements=function(){var t,e=this.container,r=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===r.SVG_NS?r.box:r.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},r.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,r=e.scrollablePlotArea,n=i.getRendererType();t?(this.fixedDiv=c("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":l(r.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(r.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*r.scrollPositionX),r.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*r.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,r=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),u=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",r,0],["L",r,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",r,u],["L",r,this.chartHeight],["L",n,this.chartHeight],["L",n,u],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(r,"Core/Axis/StackingAxis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=r.addEvent,a=r.destroyObjectProperties,s=r.fireEvent,c=r.isNumber,u=r.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;u(e,(function(t,r){a(t),e[r]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function r(){this.stacking||(this.stacking=new l(this))}var n=[];t.compose=function(t){return-1===n.indexOf(t)&&(n.push(t),o(t,"init",r),o(t,"destroy",e)),t};var l=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,r=e.series,n=e.options.reversedStacks,i=r.length;if(!e.isXAxis){for(this.usePercentage=!1,t=i;t--;){var o=r[n?t:i-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<i;t++)r[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;u(t,(function(t){u(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||u(e,(function(e){u(e,(function(r,n){c(r.touched)&&r.touched<t.stacksTouched?(r.destroy(),delete e[n]):(r.total=null,r.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,r=e.renderer,n=this.stacks;t=i(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||r.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),u(n,(function(t){u(t,(function(t){t.render(o)}))})),o.animate({opacity:1},t)},t}();t.Additions=l}(n||(n={})),n})),e(r,"Extensions/Stacking.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Axis/StackingAxis.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=r.format,c=a.correctFloat,u=a.defined,l=a.destroyObjectProperties,f=a.isArray,h=a.isNumber,d=a.objectEach,p=a.pick,m=function(){function t(t,e,r,n,i){var o=t.chart.inverted;this.axis=t,this.isNegative=r,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=i,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?r?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":r?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?r?"right":"left":"center")}return t.prototype.destroy=function(){l(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,r=this.options,n=r.format;n=n?s(n,this,e):r.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,r.shape,null,null,r.useHTML,!1,"stack-labels"),n={r:r.borderRadius||0,text:n,rotation:r.rotation,padding:p(r.padding,5),visibility:"hidden"},e.styledMode||(n.fill=r.backgroundColor,n.stroke=r.borderColor,n["stroke-width"]=r.borderWidth,this.label.css(r.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,r,n,o){var a=this.axis,s=a.chart;n=a.translate(a.stacking.usePercentage?100:n||this.total,0,0,0,1),r=a.translate(r||0),r=u(n)&&Math.abs(n-r),t=p(o,s.xAxis[0].translate(this.x))+t,a=u(n)&&this.getStackBox(s,this,t,n,e,r,a),e=this.label,r=this.isNegative,t="justify"===p(this.options.overflow,"justify");var c=this.textAlign;e&&a&&(o=e.getBBox(),n=e.padding,c="left"===c?s.inverted?-n:n:"right"===c?o.width:s.inverted&&"center"===c?o.width/2:s.inverted?r?o.width+n:-n:o.width/2,r=s.inverted?o.height/2:r?-n:o.height,this.alignOptions.x=p(this.options.x,0),this.alignOptions.y=p(this.options.y,0),a.x-=c,a.y-=r,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+c-this.alignOptions.x,e.alignAttr.y+r-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&i.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),p(!t&&this.options.crop,!0)&&((s=h(e.x)&&h(e.y)&&s.isInsidePlot(e.x-n+e.width,e.y)&&s.isInsidePlot(e.x+n,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,r,n,i,o,a){var s=e.axis.reversed,c=t.inverted,u=a.height+a.pos-(c?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:c?e?n-a.right:n-o+a.pos-t.plotLeft:r+t.xAxis[0].transB-t.plotLeft,y:c?a.height-r-i:e?u-n-o:u-n,width:c?o:i,height:c?i:o}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(r){var n=r.xAxis&&r.xAxis.options||{};!r.options.stacking||!0!==r.visible&&!1!==t.options.chart.ignoreHiddenSeries||(r.stackKey=[r.type,p(r.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())}))},o.compose(t),i.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?i.prototype.setStackedPoints.call(this,"group"):t&&d(t.stacks,(function(e,r){"group"===r.slice(-5)&&(d(e,(function(t){return t.destroy()})),delete t.stacks[r])}))},i.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var r=this.processedXData,n=this.processedYData,i=[],o=n.length,a=this.options,s=a.threshold,l=p(a.startFromThreshold&&s,0);a=a.stack;var h,d,b="-"+(t=t?this.type+","+e:this.stackKey),v=this.negStacks,g=this.yAxis,y=g.stacking.stacks,w=g.stacking.oldStacks;for(g.stacking.stacksTouched+=1,d=0;d<o;d++){var x=r[d],O=n[d],_=this.getStackIndicator(_,x,this.index),S=_.key,k=(h=v&&O<(l?0:s))?b:t;y[k]||(y[k]={}),y[k][x]||(w[k]&&w[k][x]?(y[k][x]=w[k][x],y[k][x].total=null):y[k][x]=new m(g,g.options.stackLabels,h,x,a)),k=y[k][x],null!==O?(k.points[S]=k.points[this.index]=[p(k.cumulative,l)],u(k.cumulative)||(k.base=S),k.touched=g.stacking.stacksTouched,0<_.index&&!1===this.singleStacks&&(k.points[S][0]=k.points[this.index+","+x+",0"][0])):k.points[S]=k.points[this.index]=null,"percent"===e?(h=h?t:b,v&&y[h]&&y[h][x]?(h=y[h][x],k.total=h.total=Math.max(h.total,k.total)+Math.abs(O)||0):k.total=c(k.total+(Math.abs(O)||0))):"group"===e?(f(O)&&(O=O[0]),null!==O&&(k.total=(k.total||0)+1)):k.total=c(k.total+(O||0)),k.cumulative="group"===e?(k.total||1)-1:p(k.cumulative,l)+(O||0),null!==O&&(k.points[S].push(k.cumulative),i[d]=k.cumulative,k.hasValidPoints=!0)}"percent"===e&&(g.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=i),g.stacking.oldStacks={}}},i.prototype.modifyStacks=function(){var t,e=this,r=e.stackKey,n=e.yAxis.stacking.stacks,i=e.processedXData,o=e.options.stacking;e[o+"Stacker"]&&[r,"-"+r].forEach((function(r){for(var a,s,c=i.length;c--;)a=i[c],t=e.getStackIndicator(t,a,e.index,r),(s=(a=n[r]&&n[r][a])&&a.points[t.key])&&e[o+"Stacker"](s,a,c)}))},i.prototype.percentStacker=function(t,e,r){e=e.total?100/e.total:0,t[0]=c(t[0]*e),t[1]=c(t[1]*e),this.stackedYData[r]=t[1]},i.prototype.getStackIndicator=function(t,e,r,n){return!u(t)||t.x!==e||n&&t.key!==n?t={x:e,index:0,key:n}:t.index++,t.key=[r,e,t.index].join(),t},n.StackItem=m,n.StackItem})),e(r,"Series/Line/LineSeries.js",[r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.defined,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.prototype.drawGraph=function(){var t=this,e=this.options,r=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,i=[["graph","highcharts-graph"]];n||i[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(i=t.getZonesGraphs(i)).forEach((function(i,o){var a=i[0],s=t[a],c=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:r.xMap,s.animate({d:r})):r.length&&(t[a]=s=t.chart.renderer.path(r).addClass(i[1]).attr({zIndex:1}).add(t.group)),s&&!n&&(a={stroke:i[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},i[3]?a.dashstyle=i[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[c](a).shadow(2>o&&e.shadow)),s&&(s.startX=r.xMap,s.isArea=r.isArea)}))},r.prototype.getGraphPath=function(t,e,r){var n,o=this,a=o.options,s=[],c=[],u=a.step,l=(t=t||o.points).reversed;return l&&t.reverse(),(u={right:1,center:2}[u]||u&&3)&&l&&(u=4-u),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!r))).forEach((function(l,f){var h=l.plotX,d=l.plotY,p=t[f-1];(l.leftCliff||p&&p.rightCliff)&&!r&&(n=!0),l.isNull&&!i(e)&&0<f?n=!a.connectNulls:l.isNull&&!e?n=!0:(0===f||n?f=[["M",l.plotX,l.plotY]]:o.getPointSpline?f=[o.getPointSpline(t,l,f)]:u?(f=1===u?[["L",p.plotX,d]]:2===u?[["L",(p.plotX+h)/2,p.plotY],["L",(p.plotX+h)/2,d]]:[["L",h,p.plotY]]).push(["L",h,d]):f=[["L",h,d]],c.push(l.x),u&&(c.push(l.x),2===u&&c.push(l.x)),s.push.apply(s,f),n=!1)})),s.xMap=c,o.graphPath=s},r.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,r){r=["zone-graph-"+r,"highcharts-graph highcharts-zone-graph-"+r+" "+(e.className||"")],this.chart.styledMode||r.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(r)}),this),t},r.defaultOptions=o(t.defaultOptions,{}),r}(t),e.registerSeriesType("line",r),r})),e(r,"Series/Area/AreaSeries.js",[r["Core/Color/Color.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=t.parse,a=r.seriesTypes.line;t=n.extend;var s=n.merge,c=n.objectEach,u=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,r=this.areaPath,n=this.options,i=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(t,r){i.push(["zone-area-"+r,"highcharts-area highcharts-zone-area-"+r+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])})),i.forEach((function(t){var i=t[0],a=e[i],s=a?"animate":"attr",c={};a?(a.endX=e.preventGraphAnimation?null:r.xMap,a.animate({d:r})):(c.zIndex=0,(a=e[i]=e.chart.renderer.path(r).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(c.fill=u(t[3],o(t[2]).setOpacity(u(n.fillOpacity,.75)).get())),a[s](c),a.startX=r.xMap,a.shiftUnit=n.step?2:1}))},e.prototype.getGraphPath=function(t){var e,r=a.prototype.getGraphPath,n=this.options,i=n.stacking,o=this.yAxis,s=[],c=[],l=this.index,f=o.stacking.stacks[this.stackKey],h=n.threshold,d=Math.round(o.getThreshold(n.threshold));n=u(n.connectNulls,"percent"===i);var p=function(e,r,n){var a=t[e];e=i&&f[a.x].points[l];var u=a[n+"Null"]||0;if(n=a[n+"Cliff"]||0,a=!0,n||u){var p=(u?e[0]:e[1])+n,m=e[0]+n;a=!!u}else!i&&t[r]&&t[r].isNull&&(p=m=h);"undefined"!==typeof p&&(c.push({plotX:b,plotY:null===p?d:o.getThreshold(p),isNull:a,isCliff:!0}),s.push({plotX:b,plotY:null===m?d:o.getThreshold(m),doCurve:!1}))};for(t=t||this.points,i&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){i||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,b=u(t[e].rectPlotX,t[e].plotX),v=i?u(t[e].yBottom,d):d;m&&!n||(n||p(e,e-1,"left"),m&&!i&&n||(c.push(t[e]),s.push({x:e,plotX:b,plotY:v})),n||p(e,e+1,"right"))}return e=r.call(this,c,!0,!0),s.reversed=!0,(v=(m=r.call(this,s,!0,!0))[0])&&"M"===v[0]&&(m[0]=["L",v[1],v[2]]),(m=e.concat(m)).length&&m.push(["Z"]),r=r.call(this,c,!1,n),m.xMap=e.xMap,this.areaPath=m,r},e.prototype.getStackPoints=function(t){var e=this,r=[],n=[],i=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},l=o.series,f=l.length,h=o.options.reversedStacks?1:-1,d=l.indexOf(e);if(t=t||this.points,this.options.stacking){for(var p=0;p<t.length;p++)t[p].leftNull=t[p].rightNull=void 0,s[t[p].x]=t[p];c(a,(function(t,e){null!==t.total&&n.push(e)})),n.sort((function(t,e){return t-e}));var m=l.map((function(t){return t.visible}));n.forEach((function(t,c){var p,b,v=0;if(s[t]&&!s[t].isNull)r.push(s[t]),[-1,1].forEach((function(r){var i=1===r?"rightNull":"leftNull",o=0,u=a[n[c+r]];if(u)for(var v=d;0<=v&&v<f;){var g=l[v].index;(p=u.points[g])||(g===e.index?s[t][i]=!0:m[v]&&(b=a[t].points[g])&&(o-=b[1]-b[0])),v+=h}s[t][1===r?"rightCliff":"leftCliff"]=o}));else{for(var g=d;0<=g&&g<f;){if(p=a[t].points[l[g].index]){v=p[1];break}g+=h}v=u(v,0),v=o.translate(v,0,1,0,1),r.push({isNull:!0,plotX:i.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return r},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),r.registerSeriesType("area",n),n})),e(r,"Series/Spline/SplineSeries.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=t.seriesTypes.line,i=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getPointSpline=function(t,e,r){var n=e.plotX||0,i=e.plotY||0,a=t[r-1];if(r=t[r+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!e.isCliff){t=a.plotY||0;var s=r.plotX||0;r=r.plotY||0;var c=0,u=(1.5*n+(a.plotX||0))/2.5,l=(1.5*i+t)/2.5,f=(1.5*i+r)/2.5;(s=(1.5*n+s)/2.5)!==u&&(c=(f-l)*(s-n)/(s-u)+i-f),f+=c,(l+=c)>t&&l>i?f=2*i-(l=Math.max(t,i)):l<t&&l<i&&(f=2*i-(l=Math.min(t,i))),f>r&&f>i?l=2*i-(f=Math.max(r,i)):f<r&&f<i&&(l=2*i-(f=Math.min(r,i))),e.rightContX=s,e.rightContY=f}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(u,n,0),o(l,i,0),n,i],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=i(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e})),e(r,"Series/AreaSpline/AreaSplineSeries.js",[r["Series/Area/AreaSeries.js"],r["Series/Spline/SplineSeries.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.prototype,s=i.extend,c=i.merge;return s((i=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(n,r),n.defaultOptions=c(e.defaultOptions,t.defaultOptions),n}(e)).prototype,{getGraphPath:a.getGraphPath,getStackPoints:a.getStackPoints,drawGraph:a.drawGraph,drawLegendSymbol:r.drawRectangle}),n.registerSeriesType("areaspline",i),i})),e(r,"Series/Column/ColumnSeries.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),c=t.animObject,u=e.parse,l=r.hasTouch;t=r.noop;var f=a.clamp,h=a.css,d=a.defined,p=a.extend,m=a.fireEvent,b=a.isArray,v=a.isNumber,g=a.merge,y=a.pick,w=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,r=this.yAxis,n=e.options,i=this.chart.inverted,o={},a=i?"translateX":"translateY";if(t)o.scaleY=.001,t=f(r.toPixels(n.threshold),r.pos,r.pos+r.len),i?o.translateX=t-r.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},p(c(e.options.animation),{step:function(t,n){e.group&&(o[a]=s+n.pos*(r.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,r){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,r=t.xAxis,n=t.yAxis,i=r.options.reversedStacks;i=r.reversed&&!i||!r.reversed&&i;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var r=e.yAxis,i=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===r.len&&n.pos===r.pos){if(i.stacking&&"group"!==i.stacking){o=e.stackKey,"undefined"===typeof a[o]&&(a[o]=s++);var c=a[o]}else!1!==i.grouping&&(c=s++);e.columnIndex=c}}));var c=Math.min(Math.abs(r.transA)*(r.ordinal&&r.ordinal.slope||e.pointRange||r.closestPointRange||r.tickInterval||1),r.len),u=c*e.groupPadding,l=(c-2*u)/(s||1);return e=Math.min(e.maxPointWidth||r.len,y(e.pointWidth,l*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(l-e)/2+(u+((t.columnIndex||0)+(i?1:0))*l-c/2)*(i?-1:1),paddedWidth:l,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,r,n){var i=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,i.inverted&&i.renderer.isVML&&(o+=1),this.options.crisp&&(r=Math.round(t+r)+a,r-=t=Math.round(t)+a),n=Math.round(e+n)+o,a=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+o,a&&n&&(--e,n+=1),{x:t,y:e,width:r,height:n}},e.prototype.adjustForMissingColumns=function(t,e,r,n){var i=this,o=this.options.stacking;if(!r.isNull&&1<n.columnCount){var a=0,s=0;w(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof r.x&&(t=t[r.x.toString()])){var e=t.points[i.index],n=t.total;o?(e&&(a=s),t.hasValidPoints&&s++):b(e)&&(a=e[1],s=n||0)}})),t=(r.plotX||0)+((s-1)*n.paddedWidth+e)/2-e-a*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,r=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=y(r.borderWidth,n?0:1);var o=t.xAxis,a=t.yAxis,s=r.threshold,c=t.translatedThreshold=a.getThreshold(s),u=y(r.minPointLength,5),l=t.getColumnMetrics(),h=l.width,p=t.pointXOffset=l.offset,m=t.dataMin,b=t.dataMax,g=t.barW=Math.max(h,1+2*n);e.inverted&&(c-=.5),r.pointPadding&&(g=Math.ceil(g)),i.prototype.translate.apply(t),t.points.forEach((function(n){var i=y(n.yBottom,c),w=999+Math.abs(i),x=n.plotX||0;w=f(n.plotY,-w,a.len+w);var O=Math.min(w,i),_=Math.max(w,i)-O,S=h,k=x+p,E=g;u&&Math.abs(_)<u&&(_=u,x=!a.reversed&&!n.negative||a.reversed&&n.negative,v(s)&&v(b)&&n.y===s&&b<=s&&(a.min||0)<s&&(m!==b||(a.max||0)<=s)&&(x=!x),O=Math.abs(O-c)>u?i-u:c-(x?u:0)),d(n.options.pointWidth)&&(S=E=Math.ceil(n.options.pointWidth),k-=Math.round((S-h)/2)),r.centerInCategory&&(k=t.adjustForMissingColumns(k,S,n,l)),n.barX=k,n.pointWidth=S,n.tooltipPos=e.inverted?[f(a.len+a.pos-e.plotLeft-w,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-k-E/2,_]:[o.left-e.plotLeft+k+E/2,f(w+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),_],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[k,c,E,0]:[k,O,E,_])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var r=this.options,n=this.pointAttrToOptions||{},i=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[i]||r[i]||a;n=t&&t.options.dashStyle||r.dashStyle;var c=t&&t[o]||r[o]||this[o]||0,l=y(t&&t.opacity,r.opacity,1);if(t&&this.zones.length){var f=t.getZone();a=t.options.color||f&&(f.color||t.nonZonedColor)||this.color,f&&(s=f.borderColor||s,n=f.dashStyle||n,c=f.borderWidth||c)}return e&&t&&(e=(t=g(r.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||"undefined"!==typeof e&&u(a).brighten(t.brightness).get()||a,s=t[i]||s,c=t[o]||c,n=t.dashStyle||n,l=y(t.opacity,l)),i={fill:a,stroke:s,"stroke-width":c,opacity:l},n&&(i.dashstyle=n),i},e.prototype.drawPoints=function(){var t,e=this,r=this.chart,n=e.options,i=r.renderer,o=n.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,c=!!s,u=s&&r.pointCount<o?"animate":"attr";v(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=i[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&r.hasRendered&&r.pointCount<o&&(s.attr({x:a.startXPos}),c=!0,u="animate"),s&&c&&s[u](g(t)),n.borderRadius&&s[u]({r:n.borderRadius}),r.styledMode||s[u](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,r=e.chart,n=r.pointer,i=function(t){var e=n.getPointFromEvent(t);"undefined"!==typeof e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=b(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",i).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),l&&e[t].on("touchstart",i),!r.styledMode&&e.options.cursor&&e[t].css(h).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),i.prototype.remove.apply(t,arguments)},e.defaultOptions=g(i.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(i),p(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",a),a})),e(r,"Core/Series/DataLabel.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=e.format,a=r.defined,s=r.extend,c=r.fireEvent,u=r.isArray,l=r.merge,f=r.objectEach,h=r.pick,d=r.splat;return function(t){function e(t,e,r,n,i){var o=this,a=this.chart,c=this.isCartesian&&a.inverted,u=this.enabledDataSorting,l=h(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),f=h(t.plotY,-9999),d=e.getBBox(),p=r.rotation,m=r.align,b=a.isInsidePlot(l,Math.round(f),{inverted:c,paneCoordinates:!0,series:o}),v=function(r){u&&o.xAxis&&!g&&o.setDataLabelStartPos(t,e,i,b,r)},g="justify"===h(r.overflow,u?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||u&&!g||b||h(r.inside,!!this.options.stacking)&&n&&a.isInsidePlot(l,c?n.x+1:n.y+n.height-1,{inverted:c,paneCoordinates:!0,series:o}));if(y){var w=a.renderer.fontMetrics(a.styledMode?void 0:r.style.fontSize,e).b;n=s({x:c?this.yAxis.len-f:l,y:Math.round(c?this.xAxis.len-l:f),width:0,height:0},n),s(r,{width:d.width,height:d.height}),p?(g=!1,l=a.renderer.rotCorr(w,p),v(l={x:n.x+(r.x||0)+n.width/2+l.x,y:n.y+(r.y||0)+{top:0,middle:.5,bottom:1}[r.verticalAlign]*n.height}),e[i?"attr":"animate"](l).attr({align:m}),v=180<(v=(p+720)%360)&&360>v,"left"===m?l.y-=v?d.height:0:"center"===m?(l.x-=d.width/2,l.y-=d.height/2):"right"===m&&(l.x-=d.width,l.y-=v?0:d.height),e.placed=!0,e.alignAttr=l):(v(n),e.align(r,void 0,n),l=e.alignAttr),g&&0<=n.height?this.justifyDataLabel(e,r,l,d,n,i):h(r.crop,!0)&&(y=a.isInsidePlot(l.x,l.y,{paneCoordinates:!0,series:o})&&a.isInsidePlot(l.x+d.width,l.y+d.height,{paneCoordinates:!0,series:o})),r.shape&&!p&&e[i?"attr":"animate"]({anchorX:c?a.plotWidth-t.plotY:t.plotX,anchorY:c?a.plotHeight-t.plotX:t.plotY})}i&&u&&(e.placed=!1),y||u&&!g||(e.hide(!0),e.placed=!1)}function r(){var t=this,e=t.chart,r=t.options,n=t.points,s=t.hasRendered||0,l=e.renderer,m=r.dataLabels,b=m.animation;if(b=m.defer?i(e,b,t):{defer:0,duration:0},m=p(p(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),m),c(this,"drawDataLabels"),u(m)||m.enabled||t._hasPointLabels){var v=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",m.zIndex||6);v.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&v.show(!0),s[r.animation?"animate":"attr"]({opacity:1},b)),n.forEach((function(n){d(p(m,n.dlOptions||n.options&&n.options.dataLabels)).forEach((function(i,s){var c=i.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(t,e){var r=e.filter;return!r||(e=r.operator,t=t[r.property],r=r.value,">"===e&&t>r||"<"===e&&t<r||">="===e&&t>=r||"<="===e&&t<=r||"=="===e&&t==r||"==="===e&&t===r)}(n,i),u=n.connectors?n.connectors[s]:n.connector,d=n.dataLabels?n.dataLabels[s]:n.dataLabel,p=h(i.distance,n.labelDistance),m=!d;if(c){var b=n.getLabelConfig(),g=h(i[n.formatPrefix+"Format"],i.format);b=a(g)?o(g,b,e):(i[n.formatPrefix+"Formatter"]||i.formatter).call(b,i),g=i.style;var y=i.rotation;e.styledMode||(g.color=h(i.color,g.color,t.color,"#000000"),"contrast"===g.color?(n.contrastColor=l.getContrast(n.color||t.color),g.color=!a(p)&&i.inside||0>p||r.stacking?n.contrastColor:"#000000"):delete n.contrastColor,r.cursor&&(g.cursor=r.cursor));var w={r:i.borderRadius||0,rotation:y,padding:i.padding,zIndex:1};e.styledMode||(w.fill=i.backgroundColor,w.stroke=i.borderColor,w["stroke-width"]=i.borderWidth),f(w,(function(t,e){"undefined"===typeof t&&delete w[e]}))}!d||c&&a(b)&&!!d.div===!!i.useHTML||(n.dataLabel=d=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[s]),s||delete n.dataLabel,u&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[s]))),c&&a(b)&&(d?w.text=b:(n.dataLabels=n.dataLabels||[],d=n.dataLabels[s]=y?l.text(b,0,-9999,i.useHTML).addClass("highcharts-data-label"):l.label(b,0,-9999,i.shape,null,null,i.useHTML,null,"data-label"),s||(n.dataLabel=d),d.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(i.className||"")+(i.useHTML?" highcharts-tracker":""))),d.options=i,d.attr(w),e.styledMode||d.css(g).shadow(i.shadow),d.added||d.add(v),i.textPath&&!i.useHTML&&(d.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(d)||n.graphic,i.textPath),n.dataLabelPath&&!i.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),t.alignDataLabel(n,d,i,null,m))}))}))}c(this,"afterDrawDataLabels")}function n(t,e,r,n,i,o){var a=this.chart,s=e.align,c=e.verticalAlign,u=t.box?0:t.padding||0,l=e.x;l=void 0===l?0:l;var f=e.y;f=void 0===f?0:f;var h=(r.x||0)+u;if(0>h){"right"===s&&0<=l?(e.align="left",e.inside=!0):l-=h;var d=!0}return(h=(r.x||0)+n.width-u)>a.plotWidth&&("left"===s&&0>=l?(e.align="right",e.inside=!0):l+=a.plotWidth-h,d=!0),0>(h=r.y+u)&&("bottom"===c&&0<=f?(e.verticalAlign="top",e.inside=!0):f-=h,d=!0),(h=(r.y||0)+n.height-u)>a.plotHeight&&("top"===c&&0>=f?(e.verticalAlign="bottom",e.inside=!0):f+=a.plotHeight-h,d=!0),d&&(e.x=l,e.y=f,t.placed=!o,t.align(e,void 0,i)),d}function p(t,e){var r,n=[];if(u(t)&&!u(e))n=t.map((function(t){return l(t,e)}));else if(u(e)&&!u(t))n=e.map((function(e){return l(t,e)}));else if(u(t)||u(e))for(r=Math.max(t.length,e.length);r--;)n[r]=l(t[r],e[r]);else n=l(t,e);return n}function m(t,e,r,n,i){var o=this.chart,a=o.inverted,s=this.xAxis,c=s.reversed,u=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?i.x:c?-u-t:s.width-u+t,e.startYPos=a?c?this.yAxis.height-u+t:-u-t:i.y,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(r&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var b=[];t.compose=function(t){if(-1===b.indexOf(t)){var i=t.prototype;b.push(t),i.alignDataLabel=e,i.drawDataLabels=r,i.justifyDataLabel=n,i.setDataLabelStartPos=m}}}(n||(n={})),n})),e(r,"Series/Column/ColumnDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=e.series,o=r.merge,a=r.pick;return function(e){function r(t,e,r,n,s){var c=this.chart.inverted,u=t.series,l=(u.xAxis?u.xAxis.len:this.chart.plotSizeX)||0;u=(u.yAxis?u.yAxis.len:this.chart.plotSizeY)||0;var f=t.dlBox||t.shapeArgs,h=a(t.below,t.plotY>a(this.translatedThreshold,u)),d=a(r.inside,!!this.options.stacking);f&&(0>(n=o(f)).y&&(n.height+=n.y,n.y=0),0<(f=n.y+n.height-u)&&f<n.height&&(n.height-=f),c&&(n={x:u-n.y-n.height,y:l-n.x-n.width,width:n.height,height:n.width}),d||(c?(n.x+=h?0:n.width,n.width=0):(n.y+=h?n.height:0,n.height=0))),r.align=a(r.align,!c||d?"center":h?"right":"left"),r.verticalAlign=a(r.verticalAlign,c||d?"middle":h?"top":"bottom"),i.prototype.alignDataLabel.call(this,t,e,r,n,s),r.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(i),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=r)}}(n||(n={})),n})),e(r,"Series/Bar/BarSeries.js",[r["Series/Column/ColumnSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.extend,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.defaultOptions=o(t.defaultOptions,{}),r}(t),i(r.prototype,{inverted:!0}),e.registerSeriesType("bar",r),r})),e(r,"Series/Scatter/ScatterSeries.js",[r["Series/Column/ColumnSeries.js"],r["Series/Line/LineSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.addEvent,a=n.extend,s=n.merge;return a((n=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(r,t),r.prototype.applyJitter=function(){var t=this,e=this.options.jitter,r=this.points.length;e&&this.points.forEach((function(n,i){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!n.isNull){var c=t[o+"Axis"],u=e[o]*c.transA;if(c&&!c.isLog){var l=Math.max(0,n[s]-u);c=Math.min(c.len,n[s]+u),a=1e4*Math.sin(i+a*r),n[s]=l+(c-l)*(a-Math.floor(a)),"x"===o&&(n.clientX=n.plotX)}}}))}))},r.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},r.defaultOptions=s(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),r}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(n,"afterTranslate",(function(){this.applyJitter()})),r.registerSeriesType("scatter",n),n})),e(r,"Series/CenteredUtilities.js",[r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.deg2rad,o=r.isNumber,a=r.pick,s=r.relativeLength;return function(t){t.getCenter=function(){var t=this.options,r=this.chart,n=2*(t.slicedOffset||0),i=r.plotWidth-2*n,o=r.plotHeight-2*n,c=t.center,u=Math.min(i,o),l=t.size,f=t.innerSize||0;for("string"===typeof l&&(l=parseFloat(l)),"string"===typeof f&&(f=parseFloat(f)),t=[a(c[0],"50%"),a(c[1],"50%"),a(l&&0>l?void 0:t.size,"100%"),a(f&&0>f?void 0:t.innerSize||0,"0%")],!r.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)l=t[c],r=2>c||2===c&&/%$/.test(l),t[c]=s(l,[i,o,u,t[2]][c])+(r?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=o(t)?t:0,e=o(e)&&e>t&&360>e-t?e:t+360,{start:i*(t+-90),end:i*(e+-90)}}}(n||(n={})),n})),e(r,"Series/Pie/PiePoint.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.setAnimation,o=r.addEvent,a=r.defined;t=r.extend;var s=r.isNumber,c=r.pick,u=r.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,r=this.connectorShapes,n=e.connectorShape;return r[n]&&(n=r[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=c(this.name,"Slice");var r=function(t){e.slice("select"===t.type)};return o(this,"select",r),o(this,"unselect",r),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var r=this,n=this.series,i=n.chart,o=n.options.ignoreHiddenPoint;e=c(e,o),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){r[e]&&r[e][t?"show":"hide"](t)})),this.legendItem&&i.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(n.isDirty=!0),e&&i.redraw())},e.prototype.slice=function(t,e,r){var n=this.series;i(r,n.chart),c(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,r){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],r.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,r){e=e.touchingSliceAt;var n=this.series,i=n.center[0],o=n.chart.plotWidth,a=n.chart.plotLeft;n=t.alignment;var s=this.shapeArgs.r;return r=u(r.crookDistance,1),r=["L",o="left"===n?i+s+(o+a-i-s)*(1-r):a+(i-s)*r,t.y],i=!0,("left"===n?o>t.x||o<e.x:o<t.x||o>e.x)&&(i=!1),t=[["M",t.x,t.y]],i&&t.push(r),t.push(["L",e.x,e.y]),t}}}),e})),e(r,"Series/Pie/PieSeries.js",[r["Series/CenteredUtilities.js"],r["Series/Column/ColumnSeries.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Series/Pie/PiePoint.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=t.getStartAndEndRadians;r=r.noop;var f=c.clamp,h=c.extend,d=c.fireEvent,p=c.merge,m=c.pick,b=c.relativeLength;return c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return u(e,t),e.prototype.animate=function(t){var e=this,r=e.points,n=e.startAngleRad;t||r.forEach((function(t){var r=t.graphic,i=t.shapeArgs;r&&i&&(r.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),r.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,r=this.options;if(0===this.total&&this.center){var n=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,i,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(n,i,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,r){var n=this.center,i=this.radii?this.radii[r.index]||0:n[2]/2;return t=Math.asin(f((t-n[1])/(i+r.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(i+r.labelDistance)+(0<r.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,r,n,i=this,o=i.chart,a=o.renderer,s=i.options.shadow;this.drawEmpty(),!s||i.shadowGroup||o.styledMode||(i.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(i.group)),i.points.forEach((function(c){var u={};if(e=c.graphic,!c.isNull&&e){var l=void 0;n=c.shapeArgs,t=c.getTranslate(),o.styledMode||(l=c.shadowGroup,s&&!l&&(l=c.shadowGroup=a.g("shadow").add(i.shadowGroup)),l&&l.attr(t),r=i.pointAttribs(c,c.selected&&"select")),c.delayedRendering?(e.setRadialReference(i.center).attr(n).attr(t),o.styledMode||e.attr(r).attr({"stroke-linejoin":"round"}).shadow(s,l),c.delayedRendering=!1):(e.setRadialReference(i.center),o.styledMode||p(!0,u,r),p(!0,u,n,t),e.animate(u)),e.attr({visibility:c.visible?"inherit":"hidden"}),e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,r){return"undefined"!==typeof t.angle&&(r.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=this.options,r=e.slicedOffset,n=r+(e.borderWidth||0),i=l(e.startAngle,e.endAngle),o=this.startAngleRad=i.start;i=(this.endAngleRad=i.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var c,u=a.length,f=0;for(t||(this.center=t=this.getCenter()),c=0;c<u;c++){var h=a[c],p=o+f*i;!h.isValid()||e&&!h.visible||(f+=h.percentage/100);var v=o+f*i,g={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*p)/1e3,end:Math.round(1e3*v)/1e3};h.shapeType="arc",h.shapeArgs=g,h.labelDistance=m(h.options.dataLabels&&h.options.dataLabels.distance,s),h.labelDistance=b(h.labelDistance,g.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,h.labelDistance),(v=(v+p)/2)>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),h.slicedTranslation={translateX:Math.round(Math.cos(v)*r),translateY:Math.round(Math.sin(v)*r)},g=Math.cos(v)*t[2]/2;var y=Math.sin(v)*t[2]/2;h.tooltipPos=[t[0]+.7*g,t[1]+.7*y],h.half=v<-Math.PI/2||v>Math.PI/2?1:0,h.angle=v,p=Math.min(n,h.labelDistance/5),h.labelPosition={natural:{x:t[0]+g+Math.cos(v)*h.labelDistance,y:t[1]+y+Math.sin(v)*h.labelDistance},final:{},alignment:0>h.labelDistance?"center":h.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+g+Math.cos(v)*p,y:t[1]+y+Math.sin(v)*p},touchingSliceAt:{x:t[0]+g,y:t[1]+y}}}}d(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,r=e.length,n=this.options.ignoreHiddenPoint,i=0;for(t=0;t<r;t++){var o=e[t];!o.isValid()||n&&!o.visible||(i+=o.y)}for(this.total=i,t=0;t<r;t++)(o=e[t]).percentage=0<i&&(o.visible||!n)?o.y/i*100:0,o.total=i},e.defaultOptions=p(o.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(o),h(c.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:r,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:r,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",c),c})),e(r,"Series/Pie/PieDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o,a=e.noop,s=r.distribute,c=n.series,u=i.arrayMax,l=i.clamp,f=i.defined,h=i.merge,d=i.pick,p=i.relativeLength;return function(e){function r(){var t,e,r,n,i,o,a,l,p,m,b,v,g=this,y=g.data,w=g.chart,x=g.options.dataLabels||{},O=x.connectorPadding,_=w.plotWidth,S=w.plotHeight,k=w.plotLeft,E=Math.round(w.chartWidth/3),M=g.center,C=M[2]/2,j=M[1],A=[[],[]],T=[0,0,0,0],P=g.dataLabelPositioners;g.visible&&(x.enabled||g._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),c.prototype.drawDataLabels.apply(g),y.forEach((function(t){t.dataLabel&&(t.visible?(A[t.half].push(t),t.dataLabel._pos=null,!f(x.style.width)&&!f(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>E&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),A.forEach((function(e,r){var c,u=e.length,h=[];if(u){if(g.sortByAngle(e,r-.5),0<g.maxLabelDistance){var y=Math.max(0,j-C-g.maxLabelDistance),E=Math.min(j+C+g.maxLabelDistance,w.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,j-C-t.labelDistance),t.bottom=Math.min(j+C+t.labelDistance,w.plotHeight),c=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+c/2,size:c,rank:t.y},h.push(t.distributeBox))})),s(h,y=E+c-y,y/5)}for(b=0;b<u;b++){if(t=e[b],o=t.labelPosition,n=t.dataLabel,m=!1===t.visible?"hidden":"inherit",p=y=o.natural.y,h&&f(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?m="hidden":(a=t.distributeBox.size,p=P.radialDistributionY(t))),delete t.positionIndex,x.justify)l=P.justify(t,C,M);else switch(x.alignTo){case"connectors":l=P.alignToConnectors(e,r,_,k);break;case"plotEdges":l=P.alignToPlotEdges(n,r,_,k);break;default:l=P.radialDistributionX(g,t,p,y)}n._attr={visibility:m,align:o.alignment},v=t.options.dataLabels||{},n._pos={x:l+d(v.x,x.x)+({left:O,right:-O}[o.alignment]||0),y:p+d(v.y,x.y)-10},o.final.x=l,o.final.y=p,d(x.crop,!0)&&(i=n.getBBox().width,y=null,l-i<O&&1===r?(y=Math.round(i-l+O),T[3]=Math.max(y,T[3])):l+i>_-O&&0===r&&(y=Math.round(l+i-_+O),T[1]=Math.max(y,T[1])),0>p-a/2?T[0]=Math.max(Math.round(a/2-p),T[0]):p+a/2>S&&(T[2]=Math.max(Math.round(p+a/2-S),T[2])),n.sideOverflow=y)}}})),0===u(T)||this.verifyDataLabelOverflow(T))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;(v=h(x,t.options.dataLabels),e=d(v.connectorWidth,1))&&(r=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(m=n._attr.visibility,(i=!r)&&(t.connector=r=w.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(g.dataLabelsGroup),w.styledMode||r.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),r[i?"attr":"animate"]({d:t.getConnectorPath()}),r.attr("visibility",m)):r&&(t.connector=r.destroy()))})))}function n(){this.points.forEach((function(t){var e,r=t.dataLabel;r&&t.visible&&((e=r._pos)?(r.sideOverflow&&(r._attr.width=Math.max(r.getBBox().width-r.sideOverflow,0),r.css({width:r._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),r.shortened=!0),r.attr(r._attr),r[r.moved?"animate":"attr"](e),r.moved=!0):r&&r.attr({y:-9999})),delete t.distributeBox}),this)}function i(t){var e=this.center,r=this.options,n=r.center,i=r.minSize||80,o=null!==r.size;if(!o){if(null!==n[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),i);else a=Math.max(e[2]-t[1]-t[3],i),e[0]+=(t[3]-t[1])/2;null!==n[1]?a=l(a,i,e[2]-Math.max(t[0],t[2])):(a=l(a,i,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(p(r.innerSize||0,a),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,r,n){return t.getX(r<e.top+2||r>e.bottom-2?n:r,e.half,e)},justify:function(t,e,r){return r[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,r,n){return t=t.getBBox().width,e?t+n:r-t-n},alignToConnectors:function(t,e,r,n){var i,o=0;return t.forEach((function(t){(i=t.dataLabel.getBBox().width)>o&&(o=i)})),e?o+n:r-o-n}};e.compose=function(e){t.compose(c),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=a,e.drawDataLabels=r,e.placeDataLabels=n,e.verifyDataLabelOverflow=i)}}(o||(o={})),o})),e(r,"Extensions/OverlappingDataLabels.js",[r["Core/Chart/Chart.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e){var r=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})})),i(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return r}var n=e.addEvent,i=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,c=e.pick;n(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(n){var i=n.options.dataLabels;n.visible&&(!1!==i.enabled||n._hasPointLabels)&&((i=function(n){return n.forEach((function(n){n.visible&&(o(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=c(o.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),o.allowOverlap?(i.oldOpacity=i.opacity,i.newOpacity=1,r(i,t)):e.push(i)}))}))})(n.nodes||[]),i(n.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,n,o,s=this,c=t.length,u=s.renderer,l=!1,f=function(t){var e,r,n=t.box?0:t.padding||0,i=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=u.fontMetrics(null,t.element).h);var c=t.width-2*n;return(r={left:"0",center:"0.5",right:"1"}[t.alignValue])?i=+r*c:a(t.x)&&Math.round(t.x)!==t.translateX&&(i=t.x-t.translateX),{x:o.x+(s.translateX||0)+n-(i||0),y:o.y+(s.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=f(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<c;n++){var h=(f=t[n])&&f.absoluteBox;for(e=n+1;e<c;++e){var d=(o=t[e])&&o.absoluteBox;!h||!d||f===o||0===f.newOpacity||0===o.newOpacity||d.x>=h.x+h.width||d.x+d.width<=h.x||d.y>=h.y+h.height||d.y+d.height<=h.y||((f.labelrank<o.labelrank?f:o).newOpacity=0)}}t.forEach((function(t){r(t,s)&&(l=!0)})),l&&i(s,"afterHideAllOverlappingLabels")}})),e(r,"Core/Responsive.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.extend,n=t.find,i=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,c=t.pick,u=t.splat,l=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),r(t.prototype,f.prototype)),t};var f=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,r={};return function t(r,n,a,c){var l;s(r,(function(r,s){if(!c&&-1<e.collectionsWithUpdate.indexOf(s)&&n[s])for(r=u(r),a[s]=[],l=0;l<Math.max(r.length,n[s].length);l++)n[s][l]&&(void 0===r[l]?a[s][l]=n[s][l]:(a[s][l]={},t(r[l],n[s][l],a[s][l],c+1)));else o(r)?(a[s]=i(r)?[]:{},t(r,n[s]||{},a[s],c+1)):a[s]="undefined"===typeof n[s]?null:n[s]}))}(t,this.options,r,0),r},t.prototype.matchResponsiveRule=function(t,e){var r=t.condition;(r.callback||function(){return this.chartWidth<=c(r.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=c(r.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=c(r.minWidth,0)&&this.chartHeight>=c(r.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var r=this,i=this.options.responsive,o=this.currentResponsive,s=[];!e&&i&&i.rules&&i.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=l()),r.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return n((i||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(r,"masters/highcharts.src.js",[r["Core/Globals.js"],r["Core/Utilities.js"],r["Core/DefaultOptions.js"],r["Core/Animation/Fx.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/FormatUtilities.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Renderer/HTML/HTMLElement.js"],r["Core/Renderer/HTML/HTMLRenderer.js"],r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/Axis/LogarithmicAxis.js"],r["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],r["Core/Axis/Tick.js"],r["Core/Tooltip.js"],r["Core/Series/Point.js"],r["Core/Pointer.js"],r["Core/MSPointer.js"],r["Core/Legend/Legend.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Series/Column/ColumnSeries.js"],r["Series/Column/ColumnDataLabel.js"],r["Series/Pie/PieSeries.js"],r["Series/Pie/PieDataLabel.js"],r["Core/Series/DataLabel.js"],r["Core/Responsive.js"],r["Core/Color/Color.js"],r["Core/Time.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A,T,P){return t.animate=i.animate,t.animObject=i.animObject,t.getDeferredAnimation=i.getDeferredAnimation,t.setAnimation=i.setAnimation,t.stop=i.stop,t.timers=n.timers,t.AST=o,t.Axis=h,t.Chart=O,t.chart=O.chart,t.Fx=n,t.Legend=x,t.PlotLineOrBand=m,t.Point=g,t.Pointer=w.isRequired()?w:y,t.Series=_,t.SVGElement=c,t.SVGRenderer=u,t.Tick=b,t.Time=P,t.Tooltip=v,t.Color=T,t.color=T.parse,f.compose(u),l.compose(c),t.defaultOptions=r.defaultOptions,t.getOptions=r.getOptions,t.time=r.defaultTime,t.setOptions=r.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=S.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,E.compose(k),j.compose(_),d.compose(h),p.compose(h),C.compose(M),m.compose(h),A.compose(O),t})),e(r,"Core/Axis/OrdinalAxis.js",[r["Core/Axis/Axis.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=n.addEvent,a=n.correctFloat,s=n.css,c=n.defined,u=n.error,l=n.pick,f=n.timeUnits,h=[];return function(t){function n(t,e,r,n,i,o,a){void 0===i&&(i=[]),void 0===o&&(o=0);var s,l,h={},d=this.options.tickPixelInterval,p=this.chart.time,m=[],b=0,v=[],g=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!i||3>i.length||"undefined"===typeof e)return p.getTimeTicks.apply(p,arguments);var y=i.length;for(s=0;s<y;s++){var w=s&&i[s-1]>r;if(i[s]<e&&(b=s),s===y-1||i[s+1]-i[s]>5*o||w){if(i[s]>g){for(l=p.getTimeTicks(t,i[b],i[s],n);l.length&&l[0]<=g;)l.shift();l.length&&(g=l[l.length-1]),m.push(v.length),v=v.concat(l)}b=s+1}if(w)break}if(l){if(l=l.info,a&&l.unitRange<=f.hour){for(s=v.length-1,b=1;b<s;b++)if(p.dateFormat("%d",v[b])!==p.dateFormat("%d",v[b-1])){h[v[b]]="day";var x=!0}x&&(h[v[0]]="day"),l.higherRanks=h}l.segmentStarts=m,v.info=l}else u(12,!1,this.chart);if(a&&c(d)){for(p=[],b=[],s=void 0,x=l=v.length;x--;)m=this.translate(v[x]),s&&(b[x]=s-m),p[x]=s=m;for(b.sort(),(b=b[Math.floor(b.length/2)])<.6*d&&(b=null),x=v[l-1]>r?l-1:l,s=void 0;x--;)m=p[x],l=Math.abs(s-m),s&&l<.8*d&&(null===b||l<.8*b)?(h[v[x]]&&!h[v[x+1]]?(l=x+1,s=m):l=x,v.splice(l,1)):s=m}return v}function i(t){var e=this.ordinal.positions;if(!e)return t;var r=e.length-1;if(0>t)t=e[0];else if(t>r)t=e[r];else var n=t-(r=Math.floor(t));return"undefined"!==typeof n&&"undefined"!==typeof e[r]?e[r]+(n?n*(e[r+1]-e[r]):0):t}function d(t){var e=this.ordinal,r=e.positions;if(!r)return t;var n=(t-(this.old?this.old.min:this.min))*(this.old?this.old.transA:this.transA)+this.minPixelPadding;if(0<n&&n<this.left+this.len||(e.extendedOrdinalPositions||(e.extendedOrdinalPositions=e.getExtendedPositions()),r=e.extendedOrdinalPositions),r&&r.length){if(t=e.getIndexOfPoint(n,r),e=a(t%1),0<=t&&t<r.length-1)return r[Math.floor(t)]+e*(r[Math.ceil(t)]-r[Math.floor(t)]);e=r.length,n=r[0];var i=((r=r[e-1])-n)/(e-1);return 0>t?n+i*t:r+i*(t-e)}return t}function p(e,r){var n=t.Additions.findIndexOf(e,r,!0);return e[n]===r?n:n+(r-e[n])/(e[n+1]-e[n])}function m(){this.ordinal||(this.ordinal=new t.Additions(this))}function b(){this.isXAxis&&c(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&c(this.userMin)&&(this.min+=this.options.overscroll))}function v(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function g(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function y(t){var e=this.xAxis[0],r=e.options.overscroll,n=t.originalEvent.chartX,i=this.options.chart.panning,o=!1;if(i&&"y"!==i.type&&e.options.ordinal&&e.series.length){var a=this.mouseDownX,c=e.getExtremes(),u=c.dataMax,l=c.min,f=c.max,h=this.hoverPoints,d=e.closestPointRange||e.ordinal&&e.ordinal.overscrollPointsRange;a=(a-n)/(e.translationSlope*(e.ordinal.slope||d)),d={ordinal:{positions:e.ordinal.getExtendedPositions()}};var p=e.index2val,m=e.val2lin,b=void 0,v=b=void 0,g=void 0;d.ordinal.positions?1<Math.abs(a)&&(h&&h.forEach((function(t){t.setState()})),0>a?(v=d,g=e.ordinal.positions?e:d):(v=e.ordinal.positions?e:d,g=d),u>(b=g.ordinal.positions)[b.length-1]&&b.push(u),this.fixedRange=f-l,(b=e.navigatorAxis.toFixedRange(void 0,void 0,p.apply(v,[m.apply(v,[l,!0])+a]),p.apply(g,[m.apply(g,[f,!0])+a]))).min>=Math.min(c.dataMin,l)&&b.max<=Math.max(u,f)+r&&e.setExtremes(b.min,b.max,!0,!1,{trigger:"pan"}),this.mouseDownX=n,s(this.container,{cursor:"move"})):o=!0}else o=!0;o||i&&/y/.test(i.type)?r&&(e.max=e.dataMax+r):t.preventDefault()}function w(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function x(t,e){var r=this.ordinal,n=r.positions,i=r.slope,o=r.extendedOrdinalPositions;if(!n)return t;var a=n.length;if(n[0]<=t&&n[a-1]>=t)t=p(n,t);else{if(o||(o=r.getExtendedPositions&&r.getExtendedPositions(),r.extendedOrdinalPositions=o),!o||!o.length)return t;a=o.length,i||(i=(o[a-1]-o[0])/a),n=p(o,n[0]),t>=o[0]&&t<=o[a-1]?t=p(o,t)-n:t<o[0]?t=-n-(t=o[0]-t)/i:t=(t-=o[a-1])/i+a-n}return e?t:i*(t||0)+r.offset}t.compose=function(t,e,r){if(-1===h.indexOf(t)){h.push(t);var a=t.prototype;a.getTimeTicks=n,a.index2val=i,a.lin2val=d,a.val2lin=x,a.ordinal2lin=a.val2lin,o(t,"afterInit",m),o(t,"foundExtremes",b),o(t,"afterSetScale",v),o(t,"initialAxisTranslation",g)}return-1===h.indexOf(r)&&(h.push(r),o(r,"pan",y)),-1===h.indexOf(e)&&(h.push(e),o(e,"updatedData",w)),t};var O=function(){function t(t){this.index={},this.axis=t}return t.prototype.beforeSetTickPositions=function(){var t=this.axis,e=t.ordinal,r=t.getExtremes(),n=r.min,i=r.max,o=t.isXAxis&&!!t.options.breaks;r=t.options.ordinal;var a,s,c=t.chart.options.chart.ignoreHiddenSeries,u=[],f=Number.MAX_VALUE,h=!1;if(r||o){t.series.forEach((function(t,e){if(a=[],!(c&&!1===t.visible||!1===t.takeOrdinalPosition&&!o)&&(u=u.concat(t.processedXData),d=u.length,u.sort((function(t,e){return t-e})),f=Math.min(f,l(t.closestPointRange,f)),d)){for(e=0;e<d-1;)u[e]!==u[e+1]&&a.push(u[e+1]),e++;a[0]!==u[0]&&a.unshift(u[0]),u=a}}));var d=u.length;if(2<d){var p=u[1]-u[0];for(s=d-1;s--&&!h;)u[s+1]-u[s]!==p&&(h=!0);!t.options.keepOrdinalPadding&&(u[0]-n>p||i-u[u.length-1]>p)&&(h=!0)}else t.options.overscroll&&(2===d?f=u[1]-u[0]:1===d?(f=t.options.overscroll,u=[u[0],u[0]+f]):f=e.overscrollPointsRange);h||t.forceOrdinal?(t.options.overscroll&&(e.overscrollPointsRange=f,u=u.concat(e.getOverscrollPositions())),e.positions=u,p=t.ordinal2lin(Math.max(n,u[0]),!0),s=Math.max(t.ordinal2lin(Math.min(i,u[u.length-1]),!0),1),e.slope=i=(i-n)/(s-p),e.offset=n-p*i):(e.overscrollPointsRange=l(t.closestPointRange,e.overscrollPointsRange),e.positions=t.ordinal.slope=e.offset=void 0)}t.isOrdinal=r&&h,e.groupIntervalFactor=null},t.findIndexOf=function(t,e,r){for(var n,i=0,o=t.length-1;i<o;)t[n=Math.ceil((i+o)/2)]<=e?i=n:o=n-1;return t[i]===e||r?i:-1},t.prototype.getExtendedPositions=function(){var t=this,n=t.axis,i=n.constructor.prototype,o=n.chart,a=n.series[0].currentDataGrouping,s=a?a.count+a.unitName:"raw",c=n.options.overscroll,u=n.getExtremes(),l=void 0,f=t.index;if(f||(f=t.index={}),!f[s]){var h={series:[],chart:o,forceOrdinal:!1,getExtremes:function(){return{min:u.dataMin,max:u.dataMax+c}},getGroupPixelWidth:i.getGroupPixelWidth,getTimeTicks:i.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:i.ordinal2lin,getIndexOfPoint:i.getIndexOfPoint,val2lin:i.val2lin};h.ordinal.axis=h,n.series.forEach((function(n){(l={xAxis:h,xData:n.xData.slice(),chart:o,destroyGroupedData:e.noop,getProcessedData:r.prototype.getProcessedData,applyGrouping:r.prototype.applyGrouping}).xData=l.xData.concat(t.getOverscrollPositions()),l.options={dataGrouping:a?{firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",enabled:!0,forced:!0,approximation:"open",units:[[a.unitName,[a.count]]]}:{enabled:!1}},h.series.push(l),n.processData.apply(l)})),l.closestPointRange!==l.basePointRange&&l.currentDataGrouping&&(h.forceOrdinal=!0),n.ordinal.beforeSetTickPositions.apply({axis:h}),f[s]=h.ordinal.positions}return f[s]},t.prototype.getGroupIntervalFactor=function(t,e,r){var n=(r=r.processedXData).length,i=[],o=this.groupIntervalFactor;if(!o){for(o=0;o<n-1;o++)i[o]=r[o+1]-r[o];i.sort((function(t,e){return t-e})),i=i[Math.floor(n/2)],t=Math.max(t,r[0]),e=Math.min(e,r[n-1]),this.groupIntervalFactor=o=n*i/(e-t)}return o},t.prototype.getIndexOfPoint=function(e,r){var n=this.axis,i=this.positions?this.positions[0]:0,o=n.series[0].points&&n.series[0].points[0]&&n.series[0].points[0].plotX||n.minPixelPadding;return 1<n.series.length&&n.series.forEach((function(t){t.points&&c(t.points[0])&&c(t.points[0].plotX)&&t.points[0].plotX<o&&(o=t.points[0].plotX)})),e=(e-o)/(n.translationSlope*(this.slope||n.closestPointRange||this.overscrollPointsRange)),t.findIndexOf(r,i)+e},t.prototype.getOverscrollPositions=function(){var t=this.axis,e=t.options.overscroll,r=this.overscrollPointsRange,n=[],i=t.dataMax;if(c(r))for(;i<=t.dataMax+e;)i+=r,n.push(i);return n},t.prototype.postProcessTickInterval=function(t){var e=this.axis,r=this.slope;return r?e.options.breaks?e.closestPointRange||t:t/(r/e.closestPointRange):t},t}();t.Additions=O}(i||(i={})),i})),e(r,"Series/DataModifyComposition.js",[r["Core/Axis/Axis.js"],r["Core/Series/Point.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=e.prototype.tooltipFormatter,a=n.addEvent,s=n.arrayMax,c=n.arrayMin,u=n.correctFloat,l=n.defined,f=n.isArray,h=n.isNumber,d=n.isString,p=n.pick;return function(t){function e(t,e,r){this.isXAxis||(this.series.forEach((function(r){"compare"===t&&"boolean"!==typeof e?r.setCompare(e,!1):"cumulative"!==t||d(e)||r.setCumulative(e,!1)})),p(r,!0)&&this.chart.redraw())}function r(t){var e=this,r=e.series.chart.numberFormatter,n=function(n){t=t.replace("{point."+n+"}",(0<e[n]&&"change"===n?"+":"")+r(e[n],p(e.series.tooltipOptions.changeDecimals,2)))};return l(e.change)&&n("change"),l(e.cumulativeSum)&&n("cumulativeSum"),o.apply(this,[t])}function n(){var t=this.options.compare;if("percent"===t||"value"===t||this.options.cumulative){var e=new x(this);"percent"===t||"value"===t?e.initCompare(t):e.initCumulative()}this.dataModify=e}function i(t){var e=(t=t.dataExtremes).activeYData;if(this.dataModify&&t){var r=void 0;this.options.compare?r=[this.dataModify.modifyValue(t.dataMin),this.dataModify.modifyValue(t.dataMax)]:this.options.cumulative&&f(e)&&2<=e.length&&(r=x.getCumulativeExtremes(e)),r&&(t.dataMin=c(r),t.dataMax=s(r))}}function m(t,e){this.options.compare=this.userOptions.compare=t,this.update({},p(e,!0)),!this.dataModify||"value"!==t&&"percent"!==t?this.points.forEach((function(t){delete t.change})):this.dataModify.initCompare(t)}function b(){if(this.xAxis&&this.processedYData&&this.dataModify){var t,e=this.processedXData,r=this.processedYData,n=r.length,i=!0===this.options.compareStart?0:1,o=-1;for(this.pointArrayMap&&(o=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),t=0;t<n-i;t++){var a=r[t]&&-1<o?r[t][o]:r[t];if(h(a)&&0!==a&&e[t+i]>=(this.xAxis.min||0)){this.dataModify.compareValue=a;break}}}}function v(t,e){this.setModifier("compare",t,e)}function g(t,e){t=p(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},p(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach((function(t){delete t.cumulativeSum}))}function y(t,e){this.setModifier("cumulative",t,e)}var w=[];t.compose=function(t,o,s){if(-1===w.indexOf(t)){w.push(t);var c=t.prototype;c.setCompare=m,c.setCumulative=g,a(t,"afterInit",n),a(t,"afterGetExtremes",i),a(t,"afterProcessData",b)}return-1===w.indexOf(o)&&(w.push(o),(o=o.prototype).setCompare=v,o.setModifier=e,o.setCumulative=y),-1===w.indexOf(s)&&(w.push(s),s.prototype.tooltipFormatter=r),t};var x=function(){function t(t){this.series=t}return t.prototype.modifyValue=function(){return 0},t.getCumulativeExtremes=function(t){var e=1/0,r=-1/0;return t.reduce((function(t,n){return n=t+n,e=Math.min(e,n,t),r=Math.max(r,n,t),n})),[e,r]},t.prototype.initCompare=function(t){this.modifyValue=function(e,r){null===e&&(e=0);var n=this.compareValue;return"undefined"!==typeof e&&"undefined"!==typeof n?(e="value"===t?e-n:e/n*100-(100===this.series.options.compareBase?0:100),"undefined"!==typeof r&&(r=this.series.points[r])&&(r.change=e),e):0}},t.prototype.initCumulative=function(){this.modifyValue=function(t,e){if(null===t&&(t=0),void 0!==t&&void 0!==e){var r=0<e?this.series.points[e-1]:null;return r&&r.cumulativeSum&&(t=u(r.cumulativeSum+t)),(e=this.series.points[e])&&(e.cumulativeSum=t),t}return 0}},t}();t.Additions=x}(i||(i={})),i})),e(r,"Core/Axis/BrokenAxis.js",[r["Extensions/Stacking.js"],r["Core/Utilities.js"]],(function(t,e){var r,n=e.addEvent,i=e.find,o=e.fireEvent,a=e.isArray,s=e.isNumber,c=e.pick;return function(e){function r(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function u(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function l(){var t=this.brokenAxis;if(t&&t.hasBreaks){for(var e=this.tickPositions,r=this.tickPositions.info,n=[],i=0;i<e.length;i++)t.isInAnyBreak(e[i])||n.push(e[i]);this.tickPositions=n,this.tickPositions.info=r}}function f(){this.brokenAxis||(this.brokenAxis=new v(this))}function h(){var t=this.options.connectNulls,e=this.points,r=this.xAxis,n=this.yAxis;if(this.isDirty)for(var i=e.length;i--;){var o=e[i],a=!(null===o.y&&!1===t)&&(r&&r.brokenAxis&&r.brokenAxis.isInAnyBreak(o.x,!0)||n&&n.brokenAxis&&n.brokenAxis.isInAnyBreak(o.y,!0));o.visible=!a&&!1!==o.options.visible}}function d(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,c(this.pointArrayMap,["y"]))}function p(t,e){var r,n,i,a,u=this,l=u.points;if(t&&t.brokenAxis&&t.brokenAxis.hasBreaks){var f=t.brokenAxis;e.forEach((function(e){r=f&&f.breakArray||[],n=t.isXAxis?t.min:c(u.options.threshold,t.min),l.forEach((function(u){a=c(u["stack"+e.toUpperCase()],u[e]),r.forEach((function(e){s(n)&&s(a)&&(i=!1,n<e.from&&a>e.to||n>e.from&&a<e.from?i="pointBreak":(n<e.from&&a>e.from&&a<e.to||n>e.from&&a>e.to&&a<e.from)&&(i="pointInBreak"),i&&o(t,i,{point:u,brk:e}))}))}))}))}}function m(){var e=this.currentDataGrouping,r=e&&e.gapSize;e=this.points.slice();var n,i=this.yAxis,o=this.options.gapSize,a=e.length-1;if(o&&0<a)for("value"!==this.options.gapUnit&&(o*=this.basePointRange),r&&r>o&&r>=this.basePointRange&&(o=r),n=void 0;a--;)n&&!1!==n.visible||(n=e[a+1]),r=e[a],!1!==n.visible&&!1!==r.visible&&(n.x-r.x>o&&(n=(r.x+n.x)/2,e.splice(a+1,0,{isNull:!0,x:n}),i.stacking&&this.options.stacking&&((n=i.stacking.stacks[this.stackKey][n]=new t(i,i.options.stackLabels,!1,n,this.stack)).total=0)),n=r);return this.getGraphPath(e)}var b=[];e.compose=function(t,e){if(-1===b.indexOf(t)&&(b.push(t),t.keepProps.push("brokenAxis"),n(t,"init",f),n(t,"afterInit",r),n(t,"afterSetTickPositions",l),n(t,"afterSetOptions",u)),-1===b.indexOf(e)){b.push(e);var i=e.prototype;i.drawBreaks=p,i.gappedPath=m,n(e,"afterGeneratePoints",h),n(e,"afterRender",d)}return t};var v=function(){function t(t){this.hasBreaks=!1,this.axis=t}return t.isInBreak=function(t,e){var r=t.repeat||1/0,n=t.from,i=t.to-t.from;return e=e>=n?(e-n)%r:r-(n-e)%r,t.inclusive?e<=i:e<i&&0!==e},t.lin2Val=function(e){var r,n=this.brokenAxis;if(!(n=n&&n.breakArray)||!s(e))return e;for(r=0;r<n.length;r++){var i=n[r];if(i.from>=e)break;(i.to<e||t.isInBreak(i,e))&&(e+=i.len)}return e},t.val2Lin=function(e){var r=this.brokenAxis;if(!(r=r&&r.breakArray)||!s(e))return e;var n,i=e;for(n=0;n<r.length;n++){var o=r[n];if(o.to<=e)i-=o.len;else{if(o.from>=e)break;if(t.isInBreak(o,e)){i-=e-o.from;break}}}return i},t.prototype.findBreakAt=function(t,e){return i(e,(function(e){return e.from<t&&t<e.to}))},t.prototype.isInAnyBreak=function(e,r){var n,i=this.axis,o=i.options.breaks||[],a=o.length;if(a&&s(e)){for(;a--;)if(t.isInBreak(o[a],e)){var u=!0;n||(n=c(o[a].showPoints,!i.isXAxis))}var l=u&&r?u&&!n:u}return l},t.prototype.setBreaks=function(e,r){var n=this,i=n.axis,u=a(e)&&!!e.length;i.isDirty=n.hasBreaks!==u,n.hasBreaks=u,i.options.breaks=i.userOptions.breaks=e,i.forceRedraw=!0,i.series.forEach((function(t){t.isDirty=!0})),u||i.val2lin!==t.val2Lin||(delete i.val2lin,delete i.lin2val),u&&(i.userOptions.ordinal=!1,i.lin2val=t.lin2Val,i.val2lin=t.val2Lin,i.setExtremes=function(t,e,r,o,a){if(n.hasBreaks){for(var s,c=this.options.breaks||[];s=n.findBreakAt(t,c);)t=s.to;for(;s=n.findBreakAt(e,c);)e=s.from;e<t&&(e=t)}i.constructor.prototype.setExtremes.call(this,t,e,r,o,a)},i.setAxisTranslation=function(){if(i.constructor.prototype.setAxisTranslation.call(this),n.unitLength=void 0,n.hasBreaks){var e,r,a=i.options.breaks||[],u=[],l=[],f=c(i.pointRangePadding,0),h=0,d=i.userMin||i.min,p=i.userMax||i.max;a.forEach((function(r){e=r.repeat||1/0,s(d)&&s(p)&&(t.isInBreak(r,d)&&(d+=r.to%e-d%e),t.isInBreak(r,p)&&(p-=p%e-r.from%e))})),a.forEach((function(t){if(b=t.from,e=t.repeat||1/0,s(d)&&s(p)){for(;b-e>d;)b-=e;for(;b<d;)b+=e;for(r=b;r<p;r+=e)u.push({value:r,move:"in"}),u.push({value:r+t.to-t.from,move:"out",size:t.breakSize})}})),u.sort((function(t,e){return t.value===e.value?("in"===t.move?0:1)-("in"===e.move?0:1):t.value-e.value}));var m=0,b=d;u.forEach((function(t){1===(m+="in"===t.move?1:-1)&&"in"===t.move&&(b=t.value),0===m&&s(b)&&(l.push({from:b,to:t.value,len:t.value-b-(t.size||0)}),h+=t.value-b-(t.size||0))})),n.breakArray=l,s(d)&&s(p)&&s(i.min)&&(n.unitLength=p-d-h+f,o(i,"afterBreaks"),i.staticScale?i.transA=i.staticScale:n.unitLength&&(i.transA*=(p-i.min+f)/n.unitLength),f&&(i.minPixelPadding=i.transA*(i.minPointOffset||0)),i.min=d,i.max=p)}}),c(r,!0)&&i.chart.redraw()},t}();e.Additions=v}(r||(r={})),r})),e(r,"masters/modules/broken-axis.src.js",[r["Core/Globals.js"],r["Core/Axis/BrokenAxis.js"]],(function(t,e){e.compose(t.Axis,t.Series)})),e(r,"Extensions/DataGrouping.js",[r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Point.js"],r["Core/Series/Series.js"],r["Core/Tooltip.js"],r["Core/DefaultOptions.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u=r.format,l=o.prototype;r=c.addEvent;var f=c.arrayMax,h=c.arrayMin,d=c.correctFloat,p=c.defined,m=c.error,b=c.extend,v=c.isNumber,g=c.merge,y=c.pick,w=n.approximations={sum:function(t){var e=t.length;if(!e&&t.hasNulls)var r=null;else if(e)for(r=0;e--;)r+=t[e];return r},average:function(t){var e=t.length;return t=w.sum(t),v(t)&&e&&(t=d(t/e)),t},averages:function(){var t=[];return[].forEach.call(arguments,(function(e){t.push(w.average(e))})),"undefined"===typeof t[0]?void 0:t},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},high:function(t){return t.length?f(t):t.hasNulls?null:void 0},low:function(t){return t.length?h(t):t.hasNulls?null:void 0},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},hlc:function(t,e,r){if(t=w.high(t),e=w.low(e),r=w.close(r),v(t)||v(e)||v(r))return[t,e,r]},ohlc:function(t,e,r,n){if(t=w.open(t),e=w.high(e),r=w.low(r),n=w.close(n),v(t)||v(e)||v(r)||v(n))return[t,e,r,n]},range:function(t,e){return t=w.low(t),e=w.high(e),v(t)||v(e)?[t,e]:null===t&&null===e?null:void 0}},x={approximations:w,groupData:c=function(t,e,r,n){var i,o=this,a=o.data,s=o.options&&o.options.data,c=[],u=[],l=[],f=t.length,h=!!e,d=[],m=o.pointArrayMap,b=m&&m.length,y=["x"].concat(m||["y"]),x=this.options.dataGrouping&&this.options.dataGrouping.groupAll,O=0,_=0;n="function"===typeof n?n:w[n]?w[n]:w[o.getDGApproximation&&o.getDGApproximation()||"average"],b?m.forEach((function(){d.push([])})):d.push([]);var S=b||1;for(i=0;i<=f&&!(t[i]>=r[0]);i++);for(;i<=f;i++){for(;"undefined"!==typeof r[O+1]&&t[i]>=r[O+1]||i===f;){var k=r[O];o.dataGroupInfo={start:x?_:o.cropStart+_,length:d[0].length};var E=n.apply(o,d);for(o.pointClass&&!p(o.dataGroupInfo.options)&&(o.dataGroupInfo.options=g(o.pointClass.prototype.optionsToObject.call({series:o},o.options.data[o.cropStart+_])),y.forEach((function(t){delete o.dataGroupInfo.options[t]}))),"undefined"!==typeof E&&(c.push(k),u.push(E),l.push(o.dataGroupInfo)),_=i,k=0;k<S;k++)d[k].length=0,d[k].hasNulls=!1;if(O+=1,i===f)break}if(i===f)break;if(m){k=o.options.dataGrouping&&o.options.dataGrouping.groupAll?i:o.cropStart+i,E=a&&a[k]||o.pointClass.prototype.applyOptions.apply({series:o},[s[k]]);var M=void 0;for(k=0;k<b;k++)M=E[m[k]],v(M)?d[k].push(M):null===M&&(d[k].hasNulls=!0)}else k=h?e[i]:null,v(k)?d[0].push(k):null===k&&(d[0].hasNulls=!0)}return{groupedXData:c,groupedYData:u,groupMap:l}}},O=l.generatePoints,_={groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L","%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S","%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},S={line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},k=n.defaultDataGroupingUnits=[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]];return l.getDGApproximation=function(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"},l.groupData=c,l.applyGrouping=function(t){var r,n=this.chart,i=this.options.dataGrouping,o=!1!==this.allowDG&&i&&y(i.enabled,n.options.isStock),a=this.visible||!n.options.chart.ignoreHiddenSeries,s=this.currentDataGrouping,c=!1;if(o&&!this.requireSorting&&(this.requireSorting=c=!0),t=!1===!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!o,c&&(this.requireSorting=!1),!t){this.destroyGroupedData(),o=i.groupAll?this.xData:this.processedXData;var u=i.groupAll?this.yData:this.processedYData;t=n.plotSizeX;var f=(c=this.xAxis).options.ordinal,h=this.groupPixelWidth;if(h&&o&&o.length){this.isDirty=r=!0,this.points=null;var d=c.getExtremes(),b=d.min;d=d.max,f=f&&c.ordinal&&c.ordinal.getGroupIntervalFactor(b,d,this)||1,t=c.getTimeTicks(e.Additions.prototype.normalizeTimeTickInterval(h*(d-b)/t*f,i.units||k),Math.min(b,o[0]),Math.max(d,o[o.length-1]),c.options.startOfWeek,o,this.closestPointRange),o=(h=l.groupData.apply(this,[o,u,t,i.approximation])).groupedXData,u=h.groupedYData,f=0,i&&i.smoothed&&o.length&&(i.firstAnchor="firstPoint",i.anchor="middle",i.lastAnchor="lastPoint",m(32,!1,n,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),n=o;var g=this.options.dataGrouping;if(b=this.currentDataGrouping&&this.currentDataGrouping.gapSize,g&&this.xData&&b&&this.groupMap){var w=n.length-1,x=g.anchor,O=y(g.firstAnchor,x);if(g=y(g.lastAnchor,x),x&&"start"!==x){var _=b*{middle:.5,end:1}[x];for(x=n.length-1;x--&&0<x;)n[x]+=_}if(O&&"start"!==O&&this.xData[0]>=n[0]){x=this.groupMap[0].start,_=this.groupMap[0].length;var S=void 0;v(x)&&v(_)&&(S=x+(_-1)),n[0]={middle:n[0]+.5*b,end:n[0]+b,firstPoint:this.xData[0],lastPoint:S&&this.xData[S]}[O]}g&&"start"!==g&&b&&n[w]>=d-b&&(d=this.groupMap[this.groupMap.length-1].start,n[w]={middle:n[w]+.5*b,end:n[w]+b,firstPoint:d&&this.xData[d],lastPoint:this.xData[this.xData.length-1]}[g])}for(d=1;d<t.length;d++)t.info.segmentStarts&&-1!==t.info.segmentStarts.indexOf(d)||(f=Math.max(t[d]-t[d-1],f));(d=t.info).gapSize=f,this.closestPointRange=t.info.totalRange,this.groupMap=h.groupMap,a&&(p((a=o)[0])&&v(c.min)&&v(c.dataMin)&&a[0]<c.min&&((!p(c.options.min)&&c.min<=c.dataMin||c.min===c.dataMin)&&(c.min=Math.min(a[0],c.min)),c.dataMin=Math.min(a[0],c.dataMin)),p(a[a.length-1])&&v(c.max)&&v(c.dataMax)&&a[a.length-1]>c.max&&((!p(c.options.max)&&v(c.dataMax)&&c.max>=c.dataMax||c.max===c.dataMax)&&(c.max=Math.max(a[a.length-1],c.max)),c.dataMax=Math.max(a[a.length-1],c.dataMax))),i.groupAll&&(this.allGroupedData=u,o=(i=this.cropData(o,u,c.min,c.max,1)).xData,u=i.yData,this.cropStart=i.start),this.processedXData=o,this.processedYData=u}else this.groupMap=null;this.hasGroupedData=r,this.currentDataGrouping=d,this.preventGraphAnimation=(s&&s.totalRange)!==(d&&d.totalRange)}},l.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach((function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)}),this),this.groupedData.length=0)},l.generatePoints=function(){O.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},t.prototype.applyGrouping=function(t){var e=this;e.series.forEach((function(r){r.groupPixelWidth=void 0,r.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),r.groupPixelWidth&&(r.hasProcessed=!0),r.applyGrouping(!!t.hasExtemesChanged)}))},t.prototype.getGroupPixelWidth=function(){var t,e,r=this.series,n=r.length,i=0,o=!1;for(t=n;t--;)(e=r[t].options.dataGrouping)&&(i=Math.max(i,y(e.groupPixelWidth,_.groupPixelWidth)));for(t=n;t--;)(e=r[t].options.dataGrouping)&&(n=(r[t].processedXData||r[t].data).length,(r[t].groupPixelWidth||n>this.chart.plotSizeX/i||n&&e.forced)&&(o=!0));return o?i:0},t.prototype.setDataGrouping=function(e,r){var n;if(r=y(r,!0),e||(e={forced:!1,units:null}),this instanceof t)for(n=this.series.length;n--;)this.series[n].update({dataGrouping:e},!1);else this.chart.options.series.forEach((function(t){t.dataGrouping=e}),!1);this.ordinal&&(this.ordinal.slope=void 0),r&&this.chart.redraw()},r(t,"postProcessData",t.prototype.applyGrouping),r(i,"update",(function(){if(this.dataGroup)return m(24,!1,this.series.chart),!1})),r(a,"headerFormatter",(function(t){var e=this.chart,r=e.time,n=t.labelConfig,i=n.series,o=i.tooltipOptions,a=i.options.dataGrouping,s=o.xDateFormat,c=i.xAxis,l=o[t.isFooter?"footerFormat":"headerFormat"];if(c&&"datetime"===c.options.type&&a&&v(n.key)){var f=i.currentDataGrouping;if(a=a.dateTimeLabelFormats||_.dateTimeLabelFormats,f)if(o=a[f.unitName],1===f.count)s=o[0];else{s=o[1];var h=o[2]}else!s&&a&&c.dateTime&&(s=c.dateTime.getXDateFormat(n.x,o.dateTimeLabelFormats));s=r.dateFormat(s,n.key),h&&(s+=r.dateFormat(h,n.key+f.totalRange-1)),i.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=u(l,{point:b(n.point,{key:s}),series:i},e),t.preventDefault()}})),r(o,"destroy",l.destroyGroupedData),r(o,"afterSetOptions",(function(t){t=t.options;var e=this.type,r=this.chart.options.plotOptions,n=s.defaultOptions.plotOptions[e].dataGrouping,i=this.useCommonDataGrouping&&_;if(r&&(S[e]||i)){n||(n=g(_,S[e]));var o=this.chart.rangeSelector;t.dataGrouping=g(i,n,r.series&&r.series.dataGrouping,r[e].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&o&&v(o.selected)&&o.buttonOptions[o.selected].dataGrouping)}})),r(t,"afterSetScale",(function(){this.series.forEach((function(t){t.hasProcessed=!1}))})),n.dataGrouping=x,x})),e(r,"Series/HLC/HLCPoint.js",[r["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();return function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.close=void 0,e.high=void 0,e.low=void 0,e.options=void 0,e.plotClose=void 0,e.series=void 0,e}return e(r,t),r}(t.seriesTypes.column.prototype.pointClass)})),e(r,"Series/HLC/HLCSeries.js",[r["Series/HLC/HLCPoint.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=e.seriesTypes.column,o=r.extend,a=r.merge;return o((r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.yData=void 0,e}return n(e,t),e.prototype.extendStem=function(t,e,r){var n=t[0];t=t[1],"number"===typeof n[2]&&(n[2]=Math.max(r+e,n[2])),"number"===typeof t[2]&&(t[2]=Math.min(r-e,t[2]))},e.prototype.getPointPath=function(t,e){e=e.strokeWidth();var r=t.series,n=e%2/2,i=Math.round(t.plotX)-n,o=Math.round(t.shapeArgs.width/2),a=[["M",i,Math.round(t.yBottom)],["L",i,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+n,a.push(["M",i,t],["L",i+o,t]),r.extendStem(a,e/2,t)),a},e.prototype.drawSinglePoint=function(t){var e=t.series,r=e.chart,n=t.graphic,i=!n;"undefined"!==typeof t.plotY&&(n||(t.graphic=n=r.renderer.path().add(e.group)),r.styledMode||n.attr(e.pointAttribs(t,t.selected&&"select")),e=e.getPointPath(t,n),n[i?"attr":"animate"]({d:e}).addClass(t.getClassName(),!0))},e.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.options.stacking=void 0},e.prototype.pointAttribs=function(e,r){return delete(e=t.prototype.pointAttribs.call(this,e,r)).fill,e},e.prototype.toYData=function(t){return[t.high,t.low,t.close]},e.prototype.translate=function(){var e=this,r=e.yAxis,n=this.pointArrayMap&&this.pointArrayMap.slice()||[],i=n.map((function(t){return"plot"+(t.charAt(0).toUpperCase()+t.slice(1))}));i.push("yBottom"),n.push("low"),t.prototype.translate.apply(e),e.points.forEach((function(t){n.forEach((function(n,o){null!==(n=t[n])&&(e.dataModify&&(n=e.dataModify.modifyValue(n)),t[i[o]]=r.toPixels(n,!0))})),t.tooltipPos[1]=t.plotHigh+r.pos-e.chart.plotTop}))},e.defaultOptions=a(i.defaultOptions,{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),e}(i)).prototype,{animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),r.prototype.pointClass=t,e.registerSeriesType("hlc",r),r})),e(r,"Series/OHLC/OHLCPoint.js",[r["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();return function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.open=void 0,e.options=void 0,e.plotOpen=void 0,e.series=void 0,e}return e(r,t),r.prototype.getClassName=function(){return t.prototype.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")},r.prototype.resolveUpColor=function(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)},r.prototype.resolveColor=function(){t.prototype.resolveColor.call(this),this.resolveUpColor()},r.prototype.getZone=function(){var e=t.prototype.getZone.call(this);return this.resolveUpColor(),e},r.prototype.applyOptions=function(){return t.prototype.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this},r}(t.seriesTypes.hlc.prototype.pointClass)})),e(r,"Series/OHLC/OHLCSeries.js",[r["Series/OHLC/OHLCPoint.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=e.series,o=e.seriesTypes.hlc,a=r.addEvent,s=r.extend,c=r.merge,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointPath=function(e,r){var n=t.prototype.getPointPath.call(this,e,r),i=(r=r.strokeWidth())%2/2,o=Math.round(e.plotX)-i,a=Math.round(e.shapeArgs.width/2);return null!==e.open&&(e=Math.round(e.plotOpen)+i,n.push(["M",o,e],["L",o-a,e]),t.prototype.extendStem.call(this,n,r/2,e)),n},e.prototype.pointAttribs=function(e,r){r=t.prototype.pointAttribs.call(this,e,r);var n=this.options;return delete r.fill,!e.options.color&&n.upColor&&e.open<e.close&&(r.stroke=n.upColor),r},e.prototype.toYData=function(t){return[t.open,t.high,t.low,t.close]},e.defaultOptions=c(o.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}),e}(o);return s(u.prototype,{pointArrayMap:["open","high","low","close"]}),u.prototype.pointClass=t,e.registerSeriesType("ohlc",u),a(i,"init",(function(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&s(this,{pointValKey:u.prototype.pointValKey,pointArrayMap:u.prototype.pointArrayMap,toYData:u.prototype.toYData})})),a(i,"afterSetOptions",(function(t){var e=(t=t.options).dataGrouping;e&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(e.approximation="ohlc")})),u})),e(r,"Series/Candlestick/CandlestickSeries.js",[r["Core/DefaultOptions.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.defaultOptions,o=(t=e.seriesTypes).column,a=t.ohlc,s=r.merge;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.pointAttribs=function(t,e){var r=o.prototype.pointAttribs.call(this,t,e),n=this.options,i=t.open<t.close,a=n.lineColor||this.color,s=t.color||this.color;return r["stroke-width"]=n.lineWidth,r.fill=t.options.color||i&&n.upColor||s,r.stroke=t.options.lineColor||i&&n.upLineColor||a,e&&(t=n.states[e],r.fill=t.color||r.fill,r.stroke=t.lineColor||r.stroke,r["stroke-width"]=t.lineWidth||r["stroke-width"]),r},e.prototype.drawPoints=function(){var t=this,e=t.chart,r=t.yAxis.reversed;t.points.forEach((function(n){var i=n.graphic,o=!i;if("undefined"!==typeof n.plotY){i||(n.graphic=i=e.renderer.path().add(t.group)),t.chart.styledMode||i.attr(t.pointAttribs(n,n.selected&&"select")).shadow(t.options.shadow);var a=i.strokeWidth()%2/2,s=Math.round(n.plotX)-a,c=n.plotOpen,u=n.plotClose,l=Math.min(c,u);c=Math.max(c,u);var f=Math.round(n.shapeArgs.width/2);u=r?c!==n.yBottom:Math.round(l)!==Math.round(n.plotHigh);var h=r?Math.round(l)!==Math.round(n.plotHigh):c!==n.yBottom;l=Math.round(l)+a,c=Math.round(c)+a,(a=[]).push(["M",s-f,c],["L",s-f,l],["L",s+f,l],["L",s+f,c],["Z"],["M",s,l],["L",s,u?Math.round(r?n.yBottom:n.plotHigh):l],["M",s,c],["L",s,h?Math.round(r?n.plotHigh:n.yBottom):c]),i[o?"attr":"animate"]({d:a}).addClass(n.getClassName(),!0)}}))},e.defaultOptions=s(a.defaultOptions,i.plotOptions,{states:{hover:{lineWidth:2}},tooltip:i.plotOptions.ohlc.tooltip,threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}),e}(a),e.registerSeriesType("candlestick",r),r})),e(r,"Series/Flags/FlagsPoint.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return r(e,t),e.prototype.isValid=function(){return n(this.y)||"undefined"===typeof this.y},e.prototype.hasNewShapeType=function(){var t=this.options.shape||this.series.options.shape;return this.graphic&&t&&t!==this.graphic.symbolKey},e}(t.seriesTypes.column.prototype.pointClass)})),e(r,"Series/OnSeriesComposition.js",[r["Series/Column/ColumnSeries.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.prototype,o=e.prototype,a=r.defined,s=r.stableSort;return function(t){function e(){return o.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this)}function r(){i.translate.apply(this);var t,e=this,r=e.options,n=e.chart,o=e.points,c=r.onSeries,u=(c=c&&n.get(c))&&c.options.step,l=c&&c.points,f=n.inverted,h=e.xAxis,d=e.yAxis;n=o.length-1,r=r.onKey||"y";var p,m=l&&l.length,b=0;if(c&&c.visible&&m){b=(c.pointXOffset||0)+(c.barW||0)/2;var v=c.currentDataGrouping,g=l[m-1].x+(v?v.totalRange:0);for(s(o,(function(t,e){return t.x-e.x})),r="plot"+r[0].toUpperCase()+r.substr(1);m--&&o[n];){var y=l[m];if((v=o[n]).y=y.y,y.x<=v.x&&"undefined"!==typeof y[r]){if(v.x<=g&&(v.plotY=y[r],y.x<v.x&&!u&&(p=l[m+1])&&"undefined"!==typeof p[r])){var w=(v.x-y.x)/(p.x-y.x);v.plotY+=w*(p[r]-y[r]),v.y+=w*(p.y-y.y)}if(m++,0>--n)break}}}o.forEach((function(r,n){if(r.plotX+=b,("undefined"===typeof r.plotY||f)&&(0<=r.plotX&&r.plotX<=h.len?f?(r.plotY=h.translate(r.x,0,1,0,1),r.plotX=a(r.y)?d.translate(r.y,0,0,0,1):0):r.plotY=(h.opposite?0:e.yAxis.len)+h.offset:r.shapeArgs={}),(t=o[n-1])&&t.plotX===r.plotX){"undefined"===typeof t.stackIndex&&(t.stackIndex=0);var i=t.stackIndex+1}r.stackIndex=i})),this.onSeries=c}var n=[];t.compose=function(t){if(-1===n.indexOf(t)){n.push(t);var i=t.prototype;i.getPlotBox=e,i.translate=r}return t},t.getPlotBox=e,t.translate=r}(n||(n={})),n})),e(r,"Series/Flags/FlagsSymbols.js",[r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"]],(function(t,e){function r(t){n[t+"pin"]=function(e,r,i,o,a){var s=a&&a.anchorX;a=a&&a.anchorY,"circle"===t&&o>i&&(e-=Math.round((o-i)/2),i=o);var c=n[t](e,r,i,o);if(s&&a){var u=s;"circle"===t?u=e+i/2:(e=c[0],i=c[1],"M"===e[0]&&"L"===i[0]&&(u=(e[1]+i[1])/2)),c.push(["M",u,r>a?r:r+o],["L",s,a]),c=c.concat(n.circle(s-1,a-1,2,2))}return c}}var n=e.prototype.symbols;return n.flag=function(t,e,r,i,o){var a=o&&o.anchorX||t;o=o&&o.anchorY||e;var s=n.circle(a-1,o-1,2,2);return s.push(["M",a,o],["L",t,e+i],["L",t,e],["L",t+r,e],["L",t+r,e+i],["L",t,e+i],["Z"]),s},r("circle"),r("square"),(t=t.getRendererType())!==e&&(t.prototype.symbols.circlepin=n.circlepin,t.prototype.symbols.flag=n.flag,t.prototype.symbols.squarepin=n.squarepin),n})),e(r,"Series/Flags/FlagsSeries.js",[r["Series/Flags/FlagsPoint.js"],r["Core/Globals.js"],r["Series/OnSeriesComposition.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();e=e.noop;var c=n.distribute,u=i.series,l=i.seriesTypes.column,f=a.addEvent,h=a.defined;n=a.extend;var d=a.merge,p=a.objectEach,m=a.wrap;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){t&&this.setClip()},e.prototype.drawPoints=function(){var t,e=this.points,r=this.chart,n=r.renderer,i=r.inverted,a=this.options,s=a.y,u=this.yAxis,l={},f=[];for(t=e.length;t--;){var b=e[t],v=(i?b.plotY:b.plotX)>this.xAxis.len,g=b.plotX,y=b.stackIndex,w=b.options.shape||a.shape,x=b.plotY;"undefined"!==typeof x&&(x=b.plotY+s-("undefined"!==typeof y&&y*a.stackDistance)),b.anchorX=y?void 0:b.plotX;var O=y?void 0:b.plotY,_="flag"!==w;y=b.graphic,"undefined"!==typeof x&&0<=g&&!v?(y&&b.hasNewShapeType()&&(y=y.destroy()),y||(y=b.graphic=n.label("",null,null,w,null,null,a.useHTML).addClass("highcharts-point").add(this.markerGroup),b.graphic.div&&(b.graphic.div.point=b),y.isNew=!0),y.attr({align:_?"center":"left",width:a.width,height:a.height,"text-align":a.textAlign}),r.styledMode||y.attr(this.pointAttribs(b)).css(d(a.style,b.style)).shadow(a.shadow),0<g&&(g-=y.strokeWidth()%2),w={y:x,anchorY:O},a.allowOverlapX&&(w.x=g,w.anchorX=b.anchorX),y.attr({text:b.options.title||a.title||"A"})[y.isNew?"attr":"animate"](w),a.allowOverlapX||(l[b.plotX]?l[b.plotX].size=Math.max(l[b.plotX].size,y.width):l[b.plotX]={align:_?.5:0,size:y.width,target:g,anchorX:g}),b.tooltipPos=[g,x+u.pos-r.plotTop]):y&&(b.graphic=y.destroy())}if(!a.allowOverlapX){var S=100;p(l,(function(t){t.plotX=t.anchorX,f.push(t),S=Math.max(t.size,S)})),c(f,i?u.len:this.xAxis.len,S),e.forEach((function(t){var e=t.graphic&&l[t.plotX];e&&(t.graphic[t.graphic.isNew?"attr":"animate"]({x:e.pos+e.align*e.size,anchorX:t.anchorX}),h(e.pos)?t.graphic.isNew=!1:(t.graphic.attr({x:-9999,anchorX:-9999}),t.graphic.isNew=!0))}))}a.useHTML&&m(this.markerGroup,"on",(function(t){return o.prototype.on.apply(t.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))}))},e.prototype.drawTracker=function(){var e=this.points;t.prototype.drawTracker.call(this),e.forEach((function(t){var r=t.graphic;r&&(t.unbindMouseOver&&t.unbindMouseOver(),t.unbindMouseOver=f(r.element,"mouseover",(function(){0<t.stackIndex&&!t.raised&&(t._y=r.y,r.attr({y:t._y-8}),t.raised=!0),e.forEach((function(e){e!==t&&e.raised&&e.graphic&&(e.graphic.attr({y:e._y}),e.raised=!1)}))})))}))},e.prototype.pointAttribs=function(t,e){var r=this.options,n=t&&t.color||this.color,i=r.lineColor,o=t&&t.lineWidth;return t=t&&t.fillColor||r.fillColor,e&&(t=r.states[e].fillColor,i=r.states[e].lineColor,o=r.states[e].lineWidth),{fill:t||n,stroke:i||n,"stroke-width":o||r.lineWidth||0}},e.prototype.setClip=function(){u.prototype.setClip.apply(this,arguments),!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])},e.defaultOptions=d(l.defaultOptions,{pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd6eb"}},style:{fontSize:"11px",fontWeight:"bold"}}),e}(l),r.compose(a),n(a.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:t,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:e,init:u.prototype.init,invertGroups:e}),i.registerSeriesType("flags",a),a})),e(r,"Core/Axis/ScrollbarAxis.js",[r["Core/Utilities.js"]],(function(t){var e=t.addEvent,r=t.defined,n=t.pick;return function(){function t(){}return t.compose=function(i,o){if(-1!==t.composed.indexOf(i))return i;t.composed.push(i);var a=function(t){var e=n(t.options&&t.options.min,t.min),i=n(t.options&&t.options.max,t.max);return{axisMin:e,axisMax:i,scrollMin:r(t.dataMin)?Math.min(e,t.min,t.dataMin,n(t.threshold,1/0)):e,scrollMax:r(t.dataMax)?Math.max(i,t.max,t.dataMax,n(t.threshold,-1/0)):i}};return e(i,"afterInit",(function(){var t=this;t.options&&t.options.scrollbar&&t.options.scrollbar.enabled&&(t.options.scrollbar.vertical=!t.horiz,t.options.startOnTick=t.options.endOnTick=!1,t.scrollbar=new o(t.chart.renderer,t.options.scrollbar,t.chart),e(t.scrollbar,"changed",(function(e){var n=a(t),i=n.axisMax,o=n.scrollMin,s=n.scrollMax-o;r(n.axisMin)&&r(i)&&(t.horiz&&!t.reversed||!t.horiz&&t.reversed?(n=o+s*this.to,o+=s*this.from):(n=o+s*(1-this.from),o+=s*(1-this.to)),this.shouldUpdateExtremes(e.DOMType)?t.setExtremes(o,n,!0,"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType,e):this.setRange(this.from,this.to))})))})),e(i,"afterRender",(function(){var t=a(this),e=t.scrollMin,n=t.scrollMax;t=this.scrollbar;var i=this.axisTitleMargin+(this.titleOffset||0),o=this.chart.scrollbarsOffsets,s=this.options.margin||0;t&&(this.horiz?(this.opposite||(o[1]+=i),t.position(this.left,this.top+this.height+2+o[1]-(this.opposite?s:0),this.width,this.height),this.opposite||(o[1]+=s),i=1):(this.opposite&&(o[0]+=i),t.position(t.options.opposite?this.left+this.width+2+o[0]-(this.opposite?0:s):this.opposite?0:s,this.top,this.width,this.height),this.opposite&&(o[0]+=s),i=0),o[i]+=t.size+t.options.margin,isNaN(e)||isNaN(n)||!r(this.min)||!r(this.max)||this.min===this.max?t.setRange(0,1):(o=(this.min-e)/(n-e),e=(this.max-e)/(n-e),this.horiz&&!this.reversed||!this.horiz&&this.reversed?t.setRange(o,e):t.setRange(1-e,1-o)))})),e(i,"afterGetOffset",(function(){var t=this.scrollbar&&!this.scrollbar.options.opposite;t=this.horiz?2:t?3:1;var e=this.scrollbar;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[t]+=e.size+e.options.margin)})),i},t.composed=[],t}()})),e(r,"Core/ScrollbarDefaults.js",[r["Core/Globals.js"]],(function(t){return{height:t.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:1,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"#333333",trackBackgroundColor:"#f2f2f2",trackBorderColor:"#f2f2f2",trackBorderWidth:1}})),e(r,"Core/Scrollbar.js",[r["Core/DefaultOptions.js"],r["Core/Globals.js"],r["Core/Axis/ScrollbarAxis.js"],r["Core/ScrollbarDefaults.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.defaultOptions,a=i.addEvent,s=i.correctFloat,c=i.defined,u=i.destroyObjectProperties,l=i.fireEvent,f=i.merge,h=i.pick,d=i.removeEvent;return t=function(){function t(t,e,r){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(t,e,r)}return t.compose=function(e){r.compose(e,t)},t.swapXY=function(t,e){return e&&t.forEach((function(t){for(var e,r=t.length,n=0;n<r;n+=2)"number"===typeof(e=t[n+1])&&(t[n+1]=t[n+2],t[n+2]=e)})),t},t.prototype.addEvents=function(){var t=this.options.inverted?[1,0]:[0,1],r=this.scrollbarButtons,n=this.scrollbarGroup.element,i=this.track.element,o=this.mouseDownHandler.bind(this),s=this.mouseMoveHandler.bind(this),c=this.mouseUpHandler.bind(this);t=[[r[t[0]].element,"click",this.buttonToMinClick.bind(this)],[r[t[1]].element,"click",this.buttonToMaxClick.bind(this)],[i,"click",this.trackClick.bind(this)],[n,"mousedown",o],[n.ownerDocument,"mousemove",s],[n.ownerDocument,"mouseup",c]],e.hasTouch&&t.push([n,"touchstart",o],[n.ownerDocument,"touchmove",s],[n.ownerDocument,"touchend",c]),t.forEach((function(t){a.apply(null,t)})),this._events=t},t.prototype.buttonToMaxClick=function(t){var e=(this.to-this.from)*h(this.options.step,.2);this.updatePosition(this.from+e,this.to+e),l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.buttonToMinClick=function(t){var e=s(this.to-this.from)*h(this.options.step,.2);this.updatePosition(s(this.from-e),s(this.to-e)),l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.cursorToScrollbarPosition=function(t){var e=this.options;return e=e.minWidth>this.calculatedWidth?e.minWidth:0,{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},t.prototype.destroy=function(){var t=this,e=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach((function(e){t[e]&&t[e].destroy&&(t[e]=t[e].destroy())})),e&&t===e.scrollbar&&(e.scrollbar=null,u(e.scrollbarButtons))},t.prototype.drawScrollbarButton=function(e){var r=this.renderer,n=this.scrollbarButtons,i=this.options,o=this.size,a=r.g().add(this.group);n.push(a),a=r.rect().addClass("highcharts-scrollbar-button").add(a),this.chart.styledMode||a.attr({stroke:i.buttonBorderColor,"stroke-width":i.buttonBorderWidth,fill:i.buttonBackgroundColor}),a.attr(a.crisp({x:-.5,y:-.5,width:o+1,height:o+1,r:i.buttonBorderRadius},a.strokeWidth())),a=r.path(t.swapXY([["M",o/2+(e?-1:1),o/2-3],["L",o/2+(e?-1:1),o/2+3],["L",o/2+(e?2:-2),o/2]],i.vertical)).addClass("highcharts-scrollbar-arrow").add(n[e]),this.chart.styledMode||a.attr({fill:i.buttonArrowColor})},t.prototype.init=function(t,e,r){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=f(n,o.scrollbar,e),this.chart=r,this.size=h(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},t.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},t.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),r=this.options.vertical?"chartY":"chartX",n=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][r]||(r=(e=this.cursorToScrollbarPosition(e)[r])-(r=this[r]),this.hasDragged=!0,this.updatePosition(n[0]+r,n[1]+r),this.hasDragged&&l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},t.prototype.mouseUpHandler=function(t){this.hasDragged&&l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},t.prototype.position=function(t,e,r,n){var i=this.options.vertical,o=this.rendered?"animate":"attr",a=0;this.x=t,this.y=e+this.trackBorderWidth,this.width=r,this.xOffset=this.height=n,this.yOffset=a,i?(this.width=this.yOffset=r=a=this.size,this.xOffset=e=0,this.barWidth=n-2*r,this.x=t+=this.options.margin):(this.height=this.xOffset=n=e=this.size,this.barWidth=r-2*n,this.y+=this.options.margin),this.group[o]({translateX:t,translateY:this.y}),this.track[o]({width:r,height:n}),this.scrollbarButtons[1][o]({translateX:i?0:r-e,translateY:i?n-a:0})},t.prototype.removeEvents=function(){this._events.forEach((function(t){d.apply(null,t)})),this._events.length=0},t.prototype.render=function(){var e=this.renderer,r=this.options,n=this.size,i=this.chart.styledMode,o=e.g("scrollbar").attr({zIndex:r.zIndex,translateY:-99999}).add();this.group=o,this.track=e.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:r.trackBorderRadius||0,height:n,width:n}).add(o),i||this.track.attr({fill:r.trackBackgroundColor,stroke:r.trackBorderColor,"stroke-width":r.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=e.g().add(o),this.scrollbar=e.rect().addClass("highcharts-scrollbar-thumb").attr({height:n,width:n,r:r.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=e.path(t.swapXY([["M",-3,n/4],["L",-3,2*n/3],["M",0,n/4],["L",0,2*n/3],["M",3,n/4],["L",3,2*n/3]],r.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),i||(this.scrollbar.attr({fill:r.barBackgroundColor,stroke:r.barBorderColor,"stroke-width":r.barBorderWidth}),this.scrollbarRifles.attr({stroke:r.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},t.prototype.setRange=function(t,e){var r=this.options,n=r.vertical,i=r.minWidth,o=this.barWidth,a=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(c(o)){var u=o*Math.min(e,1);t=Math.max(t,0);var l=Math.ceil(o*t);this.calculatedWidth=u=s(u-l),u<i&&(l=(o-i+u)*t,u=i),i=Math.floor(l+this.xOffset+this.yOffset),o=u/2-.5,this.from=t,this.to=e,n?(this.scrollbarGroup[a]({translateY:i}),this.scrollbar[a]({height:u}),this.scrollbarRifles[a]({translateY:o}),this.scrollbarTop=i,this.scrollbarLeft=0):(this.scrollbarGroup[a]({translateX:i}),this.scrollbar[a]({width:u}),this.scrollbarRifles[a]({translateX:o}),this.scrollbarLeft=i,this.scrollbarTop=0),12>=u?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0),!1===r.showFull&&(0>=t&&1<=e?this.group.hide():this.group.show()),this.rendered=!0}},t.prototype.shouldUpdateExtremes=function(t){return h(this.options.liveRedraw,e.svg&&!e.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===t||"touchend"===t||!c(t)},t.prototype.trackClick=function(t){var e=this.chart.pointer.normalize(t),r=this.to-this.from,n=this.y+this.scrollbarTop,i=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>n||!this.options.vertical&&e.chartX>i?this.updatePosition(this.from+r,this.to+r):this.updatePosition(this.from-r,this.to-r),l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,f(!0,this.options,t),this.chart)},t.prototype.updatePosition=function(t,e){1<e&&(t=s(1-s(e-t)),e=1),0>t&&(e=s(e-t),t=0),this.from=t,this.to=e},t.defaultOptions=n,t}(),o.scrollbar=f(!0,t.defaultOptions,o.scrollbar),t})),e(r,"Core/Axis/NavigatorAxis.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.isTouchDevice,n=e.addEvent,i=e.correctFloat,o=e.defined,a=e.isNumber,s=e.pick,c=function(){function t(t){this.axis=t}return t.prototype.destroy=function(){this.axis=void 0},t.prototype.toFixedRange=function(t,e,r,n){var c=this.axis,u=c.chart;u=u&&u.fixedRange;var l=(c.pointRange||0)/2;return t=s(r,c.translate(t,!0,!c.horiz)),e=s(n,c.translate(e,!0,!c.horiz)),c=u&&(e-t)/u,o(r)||(t=i(t+l)),o(n)||(e=i(e-l)),.7<c&&1.3>c&&(n?t=e-u:e=t+u),a(t)&&a(e)||(t=e=void 0),{min:t,max:e}},t}();return function(){function t(){}return t.compose=function(t){t.keepProps.push("navigatorAxis"),n(t,"init",(function(){this.navigatorAxis||(this.navigatorAxis=new c(this))})),n(t,"zoom",(function(t){var e=this.chart.options,n=e.navigator,i=this.navigatorAxis,a=e.chart.pinchType,s=e.rangeSelector;e=e.chart.zoomType,this.isXAxis&&(n&&n.enabled||s&&s.enabled)&&("y"===e?t.zoomed=!1:(!r&&"xy"===e||r&&"xy"===a)&&this.options.range&&(n=i.previousZoom,o(t.newMin)?i.previousZoom=[this.min,this.max]:n&&(t.newMin=n[0],t.newMax=n[1],i.previousZoom=void 0))),"undefined"!==typeof t.zoomed&&t.preventDefault()}))},t.AdditionsClass=c,t}()})),e(r,"Core/Navigator.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Axis/NavigatorAxis.js"],r["Core/DefaultOptions.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Scrollbar.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c,u,l){r=r.parse;var f=n.hasTouch,h=n.isTouchDevice,d=o.defaultOptions,p=l.addEvent,m=l.clamp,b=l.correctFloat,v=l.defined,g=l.destroyObjectProperties,y=l.erase,w=l.extend,x=l.find,O=l.isArray,_=l.isNumber,S=l.merge,k=l.pick,E=l.removeEvent,M=l.splat,C=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(e=[].filter.call(e,_),e.length)return Math[t].apply(0,e)};o="undefined"===typeof u.seriesTypes.areaspline?"line":"areaspline",w(d,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:r("#6685c2").setOpacity(.3).get(),outlineColor:"#cccccc",outlineWidth:1,series:{type:o,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#999999"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}}),a.getRendererType().prototype.symbols["navigator-handle"]=function(t,e,r,n,i){return t=(i&&i.width||0)/2,e=Math.round(t/3)+.5,[["M",-t-1,.5],["L",t,.5],["L",t,(i=i&&i.height||0)+.5],["L",-t-1,i+.5],["L",-t-1,.5],["M",-e,4],["L",-e,i-3],["M",e-1,4],["L",e-1,i-3]]};var j=function(){function e(t){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=this.chart=this.baseSeries=void 0,this.init(t)}return e.prototype.drawHandle=function(t,e,r,n){var i=this.navigatorOptions.handles.height;this.handles[e][n](r?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(t,10)+.5-i)}:{translateX:Math.round(this.left+parseInt(t,10)),translateY:Math.round(this.top+this.height/2-i/2-1)})},e.prototype.drawOutline=function(t,e,r,n){var i=this.navigatorOptions.maskInside,o=this.outline.strokeWidth(),a=o/2,s=o%2/2;o=this.outlineHeight;var c=this.scrollbarHeight||0,u=this.size,l=this.left-c,f=this.top;r?(s=[["M",(l-=a)+o,f-c-s],["L",l+o,r=f+e+s],["L",l,r],["L",l,e=f+t+s],["L",l+o,e],["L",l+o,f+u+c]],i&&s.push(["M",l+o,r-a],["L",l+o,e+a])):(s=[["M",l,f+=a],["L",t+=l+c-s,f],["L",t,f+o],["L",e+=l+c-s,f+o],["L",e,f],["L",l+u+2*c,f]],i&&s.push(["M",t-a,f],["L",e+a,f])),this.outline[n]({d:s})},e.prototype.drawMasks=function(t,e,r,n){var i=this.left,o=this.top,a=this.height;if(r)var s=[i,i,i],c=[o,o+t,o+e],u=[a,a,a],l=[t,e-t,this.size-e];else s=[i,i+t,i+e],c=[o,o,o],u=[t,e-t,this.size-e],l=[a,a,a];this.shades.forEach((function(t,e){t[n]({x:s[e],y:c[e],width:u[e],height:l[e]})}))},e.prototype.renderElements=function(){var t,e=this,r=e.navigatorOptions,n=r.maskInside,i=e.chart,o=i.renderer,a={cursor:i.inverted?"ns-resize":"ew-resize"};e.navigatorGroup=t=o.g("navigator").attr({zIndex:8,visibility:"hidden"}).add(),[!n,n,!n].forEach((function(n,s){e.shades[s]=o.rect().addClass("highcharts-navigator-mask"+(1===s?"-inside":"-outside")).add(t),i.styledMode||e.shades[s].attr({fill:n?r.maskFill:"rgba(0,0,0,0)"}).css(1===s&&a)})),e.outline=o.path().addClass("highcharts-navigator-outline").add(t),i.styledMode||e.outline.attr({"stroke-width":r.outlineWidth,stroke:r.outlineColor}),r.handles.enabled&&[0,1].forEach((function(n){if(r.handles.inverted=i.inverted,e.handles[n]=o.symbol(r.handles.symbols[n],-r.handles.width/2-1,0,r.handles.width,r.handles.height,r.handles),e.handles[n].attr({zIndex:7-n}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][n]).add(t),!i.styledMode){var s=r.handles;e.handles[n].attr({fill:s.backgroundColor,stroke:s.borderColor,"stroke-width":s.lineWidth}).css(a)}}))},e.prototype.update=function(t){(this.series||[]).forEach((function(t){t.baseSeries&&delete t.baseSeries.navigatorSeries})),this.destroy(),S(!0,this.chart.options.navigator,this.options,t),this.init(this.chart)},e.prototype.render=function(t,e,r,n){var i,o,a=this.chart,s=this.scrollbarHeight,c=this.xAxis,u=c.pointRange||0,l=c.navigatorAxis.fake?a.xAxis[0]:c,f=this.navigatorEnabled,h=this.rendered,d=a.inverted,p=a.xAxis[0].minRange,g=a.xAxis[0].options.maxRange;if(!this.hasDragged||v(r)){if(t=b(t-u/2),e=b(e+u/2),!_(t)||!_(e)){if(!h)return;r=0,n=k(c.width,l.width)}this.left=k(c.left,a.plotLeft+s+(d?a.plotWidth:0)),this.size=o=i=k(c.len,(d?a.plotHeight:a.plotWidth)-2*s),a=d?s:i+2*s,r=k(r,c.toPixels(t,!0)),n=k(n,c.toPixels(e,!0)),_(r)&&1/0!==Math.abs(r)||(r=0,n=a),t=c.toValue(r,!0),e=c.toValue(n,!0);var y=Math.abs(b(e-t));y<p?this.grabbedLeft?r=c.toPixels(e-p-u,!0):this.grabbedRight&&(n=c.toPixels(t+p+u,!0)):v(g)&&b(y-u)>g&&(this.grabbedLeft?r=c.toPixels(e-g-u,!0):this.grabbedRight&&(n=c.toPixels(t+g+u,!0))),this.zoomedMax=m(Math.max(r,n),0,o),this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(r,n),0,o),this.range=this.zoomedMax-this.zoomedMin,o=Math.round(this.zoomedMax),r=Math.round(this.zoomedMin),f&&(this.navigatorGroup.attr({visibility:"visible"}),h=h&&!this.hasDragged?"animate":"attr",this.drawMasks(r,o,d,h),this.drawOutline(r,o,d,h),this.navigatorOptions.handles.enabled&&(this.drawHandle(r,0,d,h),this.drawHandle(o,1,d,h))),this.scrollbar&&(d?(d=this.top-s,l=this.left-s+(f||!l.opposite?0:(l.titleOffset||0)+l.axisTitleMargin),s=i+2*s):(d=this.top+(f?this.height:-s),l=this.left-s),this.scrollbar.position(l,d,a,s),this.scrollbar.setRange(this.zoomedMin/(i||1),this.zoomedMax/(i||1))),this.rendered=!0}},e.prototype.addMouseEvents=function(){var t,e,r=this,n=r.chart,i=n.container,o=[];r.mouseMoveHandler=t=function(t){r.onMouseMove(t)},r.mouseUpHandler=e=function(t){r.onMouseUp(t)},(o=r.getPartsEvents("mousedown")).push(p(n.renderTo,"mousemove",t),p(i.ownerDocument,"mouseup",e)),f&&(o.push(p(n.renderTo,"touchmove",t),p(i.ownerDocument,"touchend",e)),o.concat(r.getPartsEvents("touchstart"))),r.eventsToUnbind=o,r.series&&r.series[0]&&o.push(p(r.series[0].xAxis,"foundExtremes",(function(){n.navigator.modifyNavigatorAxisExtremes()})))},e.prototype.getPartsEvents=function(t){var e=this,r=[];return["shades","handles"].forEach((function(n){e[n].forEach((function(i,o){r.push(p(i.element,t,(function(t){e[n+"Mousedown"](t,o)})))}))})),r},e.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var r=this.chart,n=this.xAxis,i=this.zoomedMin,o=this.left,a=this.size,s=this.range,c=t.chartX;if(r.inverted&&(c=t.chartY,o=this.top),1===e)this.grabbedCenter=c,this.fixedWidth=s,this.dragOffset=c-i;else{if(t=c-o-s/2,0===e)t=Math.max(0,t);else if(2===e&&t+s>=a)if(t=a-s,this.reversedExtremes){t-=s;var u=this.getUnionExtremes().dataMin}else var l=this.getUnionExtremes().dataMax;t!==i&&(this.fixedWidth=s,e=n.navigatorAxis.toFixedRange(t,t+s,u,l),v(e.min)&&r.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"}))}},e.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var r=(t=this.chart).xAxis[0],n=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=n?r.min:r.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=n?r.max:r.min),t.fixedRange=null},e.prototype.onMouseMove=function(t){var e=this,r=e.chart,i=e.left,o=e.navigatorSize,a=e.range,s=e.dragOffset,c=r.inverted;t.touches&&0===t.touches[0].pageX||(t=r.pointer.normalize(t),r=t.chartX,c&&(i=e.top,r=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,r-i,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,r-i)):e.grabbedCenter&&(e.hasDragged=!0,r<s?r=s:r>o+s-a&&(r=o+s-a),e.render(0,0,r-s,r-s+a)),e.hasDragged&&e.scrollbar&&k(e.scrollbar.options.liveRedraw,n.svg&&!h&&!this.chart.isBoosting)&&(t.DOMType=t.type,setTimeout((function(){e.onMouseUp(t)}),0)))},e.prototype.onMouseUp=function(t){var e=this.chart,r=this.xAxis,n=this.scrollbar,i=t.DOMEvent||t,o=e.inverted,a=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!n||!n.hasDragged)||"scrollbar"===t.trigger){if(n=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos)var s=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var c=this.fixedExtreme;this.zoomedMax===this.size&&(c=this.reversedExtremes?n.dataMin:n.dataMax),0===this.zoomedMin&&(s=this.reversedExtremes?n.dataMax:n.dataMin),r=r.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,s,c),v(r.min)&&e.xAxis[0].setExtremes(Math.min(r.min,r.max),Math.max(r.min,r.max),!0,!this.hasDragged&&null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:i})}"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&_(this.zoomedMin)&&_(this.zoomedMax)&&(e=Math.round(this.zoomedMin),t=Math.round(this.zoomedMax),this.shades&&this.drawMasks(e,t,o,a),this.outline&&this.drawOutline(e,t,o,a),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(e,0,o,a),this.drawHandle(t,1,o,a)))},e.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()},e.prototype.removeBaseSeriesEvents=function(){var t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&t.forEach((function(t){E(t,"updatedData",this.updatedDataHandler)}),this),t[0].xAxis&&E(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))},e.prototype.init=function(e){var r=e.options,n=r.navigator,o=n.enabled,a=r.scrollbar,c=a.enabled;r=o?n.height:0;var u=c?a.height:0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=r,this.scrollbarHeight=u,this.scrollbarEnabled=c,this.navigatorEnabled=o,this.navigatorOptions=n,this.scrollbarOptions=a,this.outlineHeight=r+u,this.opposite=k(n.opposite,!(o||!e.inverted));var l=this;o=l.baseSeries,a=e.xAxis.length,c=e.yAxis.length;var f=o&&o[0]&&o[0].xAxis||e.xAxis[0]||{options:{}};e.isDirtyBox=!0,l.navigatorEnabled?(l.xAxis=new t(e,S({breaks:f.options.breaks,ordinal:f.options.ordinal},n.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:a,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},e.inverted?{offsets:[u,0,-u,0],width:r}:{offsets:[0,-u,0,u],height:r})),l.yAxis=new t(e,S(n.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:c,isInternal:!0,reversed:k(n.yAxis&&n.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:r}:{height:r})),o||n.series.data?l.updateNavigatorSeries(!1):0===e.series.length&&(l.unbindRedraw=p(e,"beforeRedraw",(function(){0<e.series.length&&!l.series&&(l.setBaseSeries(),l.unbindRedraw())}))),l.reversedExtremes=e.inverted&&!l.xAxis.reversed||!e.inverted&&l.xAxis.reversed,l.renderElements(),l.addMouseEvents()):(l.xAxis={chart:e,navigatorAxis:{fake:!0},translate:function(t,r){var n=e.xAxis[0],i=n.getExtremes(),o=n.len-2*u,a=C("min",n.options.min,i.dataMin);return n=C("max",n.options.max,i.dataMax)-a,r?t*n/o+a:o*(t-a)/n},toPixels:function(t){return this.translate(t)},toValue:function(t){return this.translate(t,!0)}},l.xAxis.navigatorAxis.axis=l.xAxis,l.xAxis.navigatorAxis.toFixedRange=i.AdditionsClass.prototype.toFixedRange.bind(l.xAxis.navigatorAxis)),e.options.scrollbar.enabled&&(e.scrollbar=l.scrollbar=new s(e.renderer,S(e.options.scrollbar,{margin:l.navigatorEnabled?0:10,vertical:e.inverted}),e),p(l.scrollbar,"changed",(function(t){var e=l.size,r=e*this.to;e*=this.from,l.hasDragged=l.scrollbar.hasDragged,l.render(0,0,e,r),this.shouldUpdateExtremes(t.DOMType)&&setTimeout((function(){l.onMouseUp(t)}))}))),l.addBaseSeriesEvents(),l.addChartEvents()},e.prototype.getUnionExtremes=function(t){var e,r=this.chart.xAxis[0],n=this.xAxis,i=n.options,o=r.options;return t&&null===r.dataMin||(e={dataMin:k(i&&i.min,C("min",o.min,r.dataMin,n.dataMin,n.min)),dataMax:k(i&&i.max,C("max",o.max,r.dataMax,n.dataMax,n.max))}),e},e.prototype.setBaseSeries=function(t,e){var r=this.chart,n=this.baseSeries=[];t=t||r.options&&r.options.navigator.baseSeries||(r.series.length?x(r.series,(function(t){return!t.options.isInternal})).index:0),(r.series||[]).forEach((function(e,r){e.options.isInternal||!e.options.showInNavigator&&(r!==t&&e.options.id!==t||!1===e.options.showInNavigator)||n.push(e)})),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,e)},e.prototype.updateNavigatorSeries=function(t,e){var r,n,i,o=this,a=o.chart,s=o.baseSeries,c=o.navigatorOptions.series,u={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},l=o.series=(o.series||[]).filter((function(t){var e=t.baseSeries;return!(0>s.indexOf(e))||(e&&(E(e,"updatedData",o.updatedDataHandler),delete e.navigatorSeries),t.chart&&t.destroy(),!1)}));s&&s.length&&s.forEach((function(t){var f=t.navigatorSeries,h=w({color:t.color,visible:t.visible},O(c)?d.navigator.series:c);f&&!1===o.navigatorOptions.adaptToUpdatedData||(u.name="Navigator "+s.length,r=t.options||{},i=r.navigatorOptions||{},h.dataLabels=M(h.dataLabels),(n=S(r,u,h,i)).pointRange=k(h.pointRange,i.pointRange,d.plotOptions[n.type||"line"].pointRange),h=i.data||h.data,o.hasNavigatorData=o.hasNavigatorData||!!h,n.data=h||r.data&&r.data.slice(0),f&&f.options?f.update(n,e):(t.navigatorSeries=a.initSeries(n),t.navigatorSeries.baseSeries=t,l.push(t.navigatorSeries)))})),(!c.data||s&&s.length)&&!O(c)||(o.hasNavigatorData=!1,(c=M(c)).forEach((function(t,e){u.name="Navigator "+(l.length+1),(n=S(d.navigator.series,{color:a.series[e]&&!a.series[e].options.isInternal&&a.series[e].color||a.options.colors[e]||a.options.colors[0]},u,t)).data=t.data,n.data&&(o.hasNavigatorData=!0,l.push(a.initSeries(n)))}))),t&&this.addBaseSeriesEvents()},e.prototype.addBaseSeriesEvents=function(){var t=this,e=t.baseSeries||[];e[0]&&e[0].xAxis&&e[0].eventsToUnbind.push(p(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),e.forEach((function(e){e.eventsToUnbind.push(p(e,"show",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}))),e.eventsToUnbind.push(p(e,"hide",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}))),!1!==this.navigatorOptions.adaptToUpdatedData&&e.xAxis&&e.eventsToUnbind.push(p(e,"updatedData",this.updatedDataHandler)),e.eventsToUnbind.push(p(e,"remove",(function(){this.navigatorSeries&&(y(t.series,this.navigatorSeries),v(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})))}),this)},e.prototype.getBaseSeriesMin=function(t){return this.baseSeries.reduce((function(t,e){return Math.min(t,e.xData?e.xData[0]:t)}),t)},e.prototype.modifyNavigatorAxisExtremes=function(){var t,e=this.xAxis;"undefined"!==typeof e.getExtremes&&(!(t=this.getUnionExtremes(!0))||t.dataMin===e.min&&t.dataMax===e.max||(e.min=t.dataMin,e.max=t.dataMax))},e.prototype.modifyBaseAxisExtremes=function(){var t=this.chart.navigator,e=this.getExtremes(),r=e.dataMin,n=e.dataMax;e=e.max-e.min;var i=t.stickToMin,o=t.stickToMax,a=k(this.options.overscroll,0),s=t.series&&t.series[0],c=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(i)var u=r,l=r+e;o&&(l=n+a,i||(u=Math.max(r,l-e,t.getBaseSeriesMin(s&&s.xData?s.xData[0]:-Number.MAX_VALUE)))),c&&(i||o)&&_(u)&&(this.min=this.userMin=u,this.max=this.userMax=l)}t.stickToMin=t.stickToMax=null},e.prototype.updatedDataHandler=function(){var t=this.chart.navigator,e=this.navigatorSeries;t.stickToMax=t.reversedExtremes?0===Math.round(t.zoomedMin):Math.round(t.zoomedMax)>=Math.round(t.size),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},e.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);var r=t.xAxis;t=r.max;var n=r.min;return r=r.options.range,!(!_(t)||!_(n))&&(r&&0<t-e?t-e<r:n<=e)},e.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(p(this.chart,"redraw",(function(){var t=this.navigator,e=t&&(t.baseSeries&&t.baseSeries[0]&&t.baseSeries[0].xAxis||this.xAxis[0]);e&&t.render(e.min,e.max)})),p(this.chart,"getMargins",(function(){var t=this.navigator,e=t.opposite?"plotTop":"marginBottom";this.inverted&&(e=t.opposite?"marginRight":"plotLeft"),this[e]=(this[e]||0)+(t.navigatorEnabled||!this.inverted?t.outlineHeight:0)+t.navigatorOptions.margin})))},e.prototype.destroy=function(){this.removeEvents(),this.xAxis&&(y(this.chart.xAxis,this.xAxis),y(this.chart.axes,this.xAxis)),this.yAxis&&(y(this.chart.yAxis,this.yAxis),y(this.chart.axes,this.yAxis)),(this.series||[]).forEach((function(t){t.destroy&&t.destroy()})),"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach((function(t){this[t]&&this[t].destroy&&this[t].destroy(),this[t]=null}),this),[this.handles].forEach((function(t){g(t)}),this)},e}();return n.Navigator||(n.Navigator=j,i.compose(t),p(e,"beforeShowResetZoom",(function(){var t=this.options,e=t.navigator,r=t.rangeSelector;if((e&&e.enabled||r&&r.enabled)&&(!h&&"x"===t.chart.zoomType||h&&"x"===t.chart.pinchType))return!1})),p(e,"beforeRender",(function(){var t=this.options;(t.navigator.enabled||t.scrollbar.enabled)&&(this.scroller=this.navigator=new j(this))})),p(e,"afterSetChartSize",(function(){var t=this.legend,e=this.navigator;if(e){var r=t&&t.options,n=e.xAxis,i=e.yAxis,o=e.scrollbarHeight;this.inverted?(e.left=e.opposite?this.chartWidth-o-e.height:this.spacing[3]+o,e.top=this.plotTop+o):(e.left=k(n.left,this.plotLeft+o),e.top=e.navigatorOptions.top||this.chartHeight-e.height-o-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(r&&"bottom"===r.verticalAlign&&"proximate"!==r.layout&&r.enabled&&!r.floating?t.legendHeight+k(r.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),n&&i&&(this.inverted?n.options.left=i.options.left=e.left:n.options.top=i.options.top=e.top,n.setAxisSize(),i.setAxisSize())}})),p(e,"update",(function(t){var e=t.options.navigator||{},r=t.options.scrollbar||{};this.navigator||this.scroller||!e.enabled&&!r.enabled||(S(!0,this.options.navigator,e),S(!0,this.options.scrollbar,r),delete t.options.navigator,delete t.options.scrollbar)})),p(e,"afterUpdate",(function(t){this.navigator||this.scroller||!this.options.navigator.enabled&&!this.options.scrollbar.enabled||(this.scroller=this.navigator=new j(this),k(t.redraw,!0)&&this.redraw(t.animation))})),p(e,"afterAddSeries",(function(){this.navigator&&this.navigator.setBaseSeries(null,!1)})),p(c,"afterUpdate",(function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)})),e.prototype.callbacks.push((function(t){var e=t.navigator;e&&t.xAxis[0]&&(t=t.xAxis[0].getExtremes(),e.render(t.min,t.max))}))),n.Navigator=j,n.Navigator})),e(r,"Extensions/RangeSelector.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Globals.js"],r["Core/DefaultOptions.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=n.defaultOptions,s=o.addEvent,c=o.createElement,u=o.css,l=o.defined,f=o.destroyObjectProperties,h=o.discardElement,d=o.extend,p=o.find,m=o.fireEvent,b=o.isNumber,v=o.merge,g=o.objectEach,y=o.pad,w=o.pick,x=o.pInt,O=o.splat;d(a,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}),d(a.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"});var _=function(){function e(t){this.buttons=void 0,this.buttonOptions=e.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=t,this.init(t)}return e.prototype.clickButton=function(e,r){var n=this.chart,i=this.buttonOptions[e],o=n.xAxis[0],a=n.scroller&&n.scroller.getUnionExtremes()||o||{},c=a.dataMin,u=a.dataMax,f=o&&Math.round(Math.min(o.max,w(u,o.max))),h=i.type;a=i._range;var d,p=i.dataGrouping;if(null!==c&&null!==u){if(n.fixedRange=a,this.setSelected(e),p&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(o||{chart:this.chart},p,!1),this.frozenStates=i.preserveDataGrouping),"month"===h||"year"===h)if(o){h={range:i,max:f,chart:n,dataMin:c,dataMax:u};var v=o.minFromRange.call(h);b(h.newMax)&&(f=h.newMax)}else a=i;else if(a)v=Math.max(f-a,c),f=Math.min(v+a,u);else if("ytd"===h){if(!o)return void(this.deferredYTDClick=e);"undefined"===typeof u&&(c=Number.MAX_VALUE,u=Number.MIN_VALUE,n.series.forEach((function(t){t=t.xData,c=Math.min(t[0],c),u=Math.max(t[t.length-1],u)})),r=!1),v=d=(f=this.getYTDExtremes(u,c,n.time.useUTC)).min,f=f.max}else"all"===h&&o&&(n.navigator&&n.navigator.baseSeries[0]&&(n.navigator.baseSeries[0].xAxis.options.range=void 0),v=c,f=u);if(l(v)&&(v+=i._offsetMin),l(f)&&(f+=i._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=e+1),o)o.setExtremes(v,f,w(r,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:i});else{var g=O(n.options.xAxis)[0],y=g.range;g.range=a;var x=g.min;g.min=d,s(n,"load",(function(){g.range=y,g.min=x}))}m(this,"afterBtnClick")}},e.prototype.setSelected=function(t){this.selected=this.options.selected=t},e.prototype.init=function(t){var e=this,r=t.options.rangeSelector,n=r.buttons||e.defaultButtons.slice(),i=r.selected,o=function(){var t=e.minInput,r=e.maxInput;t&&t.blur&&m(t,"blur"),r&&r.blur&&m(r,"blur")};e.chart=t,e.options=r,e.buttons=[],e.buttonOptions=n,this.eventsToUnbind=[],this.eventsToUnbind.push(s(t.container,"mousedown",o)),this.eventsToUnbind.push(s(t,"resize",o)),n.forEach(e.computeButtonRange),"undefined"!==typeof i&&n[i]&&this.clickButton(i,!1),this.eventsToUnbind.push(s(t,"load",(function(){t.xAxis&&t.xAxis[0]&&s(t.xAxis[0],"setExtremes",(function(r){this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==r.trigger&&"updatedData"!==r.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)}))})))},e.prototype.updateButtonStates=function(){var t=this,e=this.chart,r=this.dropdown,n=e.xAxis[0],i=Math.round(n.max-n.min),o=!n.hasVisibleSeries,a=e.scroller&&e.scroller.getUnionExtremes()||n,s=a.dataMin,c=a.dataMax,u=(e=t.getYTDExtremes(c,s,e.time.useUTC)).min,l=e.max,f=t.selected,h=b(f),d=t.options.allButtonsEnabled,p=t.buttons;t.buttonOptions.forEach((function(e,a){var m=e._range,b=e.type,v=e.count||1,g=p[a],y=0,w=e._offsetMax-e._offsetMin;e=a===f;var x=m>c-s,O=m<n.minRange,_=!1,S=!1;m=m===i,("month"===b||"year"===b)&&i+36e5>=864e5*{month:28,year:365}[b]*v-w&&i-36e5<=864e5*{month:31,year:366}[b]*v+w?m=!0:"ytd"===b?(m=l-u+w===i,_=!e):"all"===b&&(m=n.max-n.min>=c-s,S=!e&&h&&m),b=!d&&(x||O||S||o),v=e&&m||m&&!h&&!_||e&&t.frozenStates,b?y=3:v&&(h=!0,y=2),g.state!==y&&(g.setState(y),r&&(r.options[a+1].disabled=b,2===y&&(r.selectedIndex=a+1)),0===y&&f===a&&t.setSelected())}))},e.prototype.computeButtonRange=function(t){var e=t.type,r=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*r:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*r),t._offsetMin=w(t.offsetMin,0),t._offsetMax=w(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},e.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,r=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,r.useUTC,r):0},e.prototype.setInputValue=function(t,e){var r=this.options,n=this.chart.time,i="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,i){var o=i.getAttribute("data-hc-time");o=l(o)?Number(o):void 0,l(e)&&(l(o)&&i.setAttribute("data-hc-time-previous",o),i.setAttribute("data-hc-time",e),o=e),i.value=n.dateFormat(this.inputTypeFormats[i.type]||r.inputEditDateFormat,o),t&&t.attr({text:n.dateFormat(r.inputDateFormat,o)})}},e.prototype.setInputExtremes=function(t,e,r){if(t="min"===t?this.minInput:this.maxInput){var n=this.inputTypeFormats[t.type],i=this.chart.time;n&&(e=i.dateFormat(n,e),t.min!==e&&(t.min=e),r=i.dateFormat(n,r),t.max!==r&&(t.max=r))}},e.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var r="text"===t.type,n=this.inputGroup,i=n.translateX;n=n.translateY;var o=this.options.inputBoxWidth;u(t,{width:r?e.width+(o?-2:20)+"px":"auto",height:r?e.height-2+"px":"auto",border:"2px solid silver"}),u(t,r&&o?{left:i+e.x+"px",top:n+"px"}:{left:Math.min(Math.round(e.x+i-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-e.height)/2+"px"})}},e.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&u(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},e.prototype.defaultInputDateParser=function(t,e,n){var i,o=t.split("/").join("-").split(" ").join("T");(-1===o.indexOf("T")&&(o+="T00:00"),e)?o+="Z":((i=r.isSafari)&&(i=!(6<(i=o).length&&(i.lastIndexOf("-")===i.length-6||i.lastIndexOf("+")===i.length-6))),i&&(o+=0>=(i=new Date(o).getTimezoneOffset()/60)?"+"+y(-i)+":00":"-"+y(i)+":00"));return o=Date.parse(o),b(o)||(t=t.split("-"),o=Date.UTC(x(t[0]),x(t[1])-1,x(t[2]))),n&&e&&b(o)&&(o+=n.getTimezoneOffset(o)),o},e.prototype.drawInput=function(t){function e(){var e=s.getInputValue(t),r=n.xAxis[0],i=n.scroller&&n.scroller.xAxis?n.scroller.xAxis:r,o=i.dataMin;i=i.dataMax;var a=s.maxInput,c=s.minInput;e!==Number(g.getAttribute("data-hc-time-previous"))&&b(e)&&(g.setAttribute("data-hc-time-previous",e),p&&a&&b(o)?e>Number(a.getAttribute("data-hc-time"))?e=void 0:e<o&&(e=o):c&&b(i)&&(e<Number(c.getAttribute("data-hc-time"))?e=void 0:e>i&&(e=i)),"undefined"!==typeof e&&r.setExtremes(p?e:r.min,p?r.max:e,void 0,void 0,{trigger:"rangeSelectorInput"}))}var n=this.chart,i=this.div,o=this.inputGroup,s=this,l=n.renderer.style||{},f=n.renderer,h=n.options.rangeSelector,p="min"===t,m=a.lang[p?"rangeSelectorFrom":"rangeSelectorTo"]||"";m=f.label(m,0).addClass("highcharts-range-label").attr({padding:m?2:0,height:m?h.inputBoxHeight:0}).add(o),f=f.label("",0).addClass("highcharts-range-input").attr({padding:2,width:h.inputBoxWidth,height:h.inputBoxHeight,"text-align":"center"}).on("click",(function(){s.showInput(t),s[t+"Input"].focus()})),n.styledMode||f.attr({stroke:h.inputBoxBorderColor,"stroke-width":1}),f.add(o);var g=c("input",{name:t,className:"highcharts-range-selector"},void 0,i);g.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some((function(e){return-1!==t.indexOf("%"+e)})),r="HkIlMS".split("").some((function(e){return-1!==t.indexOf("%"+e)}));return e&&r?"datetime-local":e?"date":r?"time":"text"}(h.inputDateFormat||"%b %e, %Y")),n.styledMode||(m.css(v(l,h.labelStyle)),f.css(v({color:"#333333"},l,h.inputStyle)),u(g,d({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:l.fontSize,fontFamily:l.fontFamily,top:"-9999em"},h.inputStyle))),g.onfocus=function(){s.showInput(t)},g.onblur=function(){g===r.doc.activeElement&&e(),s.hideInput(t),s.setInputValue(t),g.blur()};var y=!1;return g.onchange=function(){y||(e(),s.hideInput(t),g.blur())},g.onkeypress=function(t){13===t.keyCode&&e()},g.onkeydown=function(t){y=!0,38!==t.keyCode&&40!==t.keyCode||e()},g.onkeyup=function(){y=!1},{dateBox:f,input:g,label:m}},e.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}},e.prototype.getYTDExtremes=function(t,e,r){var n=this.chart.time,i=new n.Date(t),o=n.get("FullYear",i);return r=r?n.Date.UTC(o,0,1):+new n.Date(o,0,1),e=Math.max(e,r),i=i.getTime(),{max:Math.min(t||i,i),min:e}},e.prototype.render=function(t,e){var r=this.chart,n=r.renderer,i=r.container,o=r.options,a=o.rangeSelector,s=w(o.chart.style&&o.chart.style.zIndex,0)+1;if(o=a.inputEnabled,!1!==a.enabled){if(this.rendered||(this.group=n.g("range-selector-group").attr({zIndex:7}).add(),this.div=c("div",void 0,{position:"relative",height:0,zIndex:s}),this.buttonOptions.length&&this.renderButtons(),i.parentNode&&i.parentNode.insertBefore(this.div,i),o&&(this.inputGroup=n.g("input-group").add(this.group),n=this.drawInput("min"),this.minDateBox=n.dateBox,this.minLabel=n.label,this.minInput=n.input,n=this.drawInput("max"),this.maxDateBox=n.dateBox,this.maxLabel=n.label,this.maxInput=n.input)),o&&(this.setInputValue("min",t),this.setInputValue("max",e),t=r.scroller&&r.scroller.getUnionExtremes()||r.xAxis[0]||{},l(t.dataMin)&&l(t.dataMax)&&(r=r.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-r),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+r,t.dataMax)),this.inputGroup)){var u=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:u}),u+=e+a.inputSpacing)}}))}this.alignElements(),this.rendered=!0}},e.prototype.renderButtons=function(){var t=this,e=this.buttons,n=this.options,i=a.lang,o=this.chart.renderer,u=v(n.buttonTheme),l=u&&u.states,f=u.width||28;delete u.width,delete u.states,this.buttonGroup=o.g("range-selector-buttons").add(this.group);var h=this.dropdown=c("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);s(h,"touchstart",(function(){h.style.fontSize="16px"})),[[r.isMS?"mouseover":"mouseenter"],[r.isMS?"mouseout":"mouseleave"],["change","click"]].forEach((function(r){var n=r[0],i=r[1];s(h,n,(function(){var r=e[t.currentButtonIndex()];r&&m(r.element,i||n)}))})),this.zoomText=o.label(i&&i.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),u["stroke-width"]=w(u["stroke-width"],0)),c("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,h),this.buttonOptions.forEach((function(r,n){c("option",{textContent:r.title||r.text},void 0,h),e[n]=o.button(r.text,0,0,(function(e){var i,o=r.events&&r.events.click;o&&(i=o.call(r,e)),!1!==i&&t.clickButton(n),t.isActive=!0}),u,l&&l.hover,l&&l.select,l&&l.disabled).attr({"text-align":"center",width:f}).add(t.buttonGroup),r.title&&e[n].attr("title",r.title)}))},e.prototype.alignElements=function(){var t=this,e=this.buttonGroup,r=this.buttons,n=this.chart,i=this.group,o=this.inputGroup,a=this.options,s=this.zoomText,c=n.options,u=c.exporting&&!1!==c.exporting.enabled&&c.navigation&&c.navigation.buttonOptions;c=a.buttonPosition;var l=a.inputPosition,f=a.verticalAlign,h=function(e,r){return u&&t.titleCollision(n)&&"top"===f&&"right"===r.align&&r.y-e.getBBox().height-12<(u.y||0)+(u.height||0)+n.spacing[0]?-40:0},d=n.plotLeft;if(i&&c&&l){var p=c.x-n.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var m=0;s&&(m+=s.getBBox().width+5),r.forEach((function(t,e){m+=t.width,e!==r.length-1&&(m+=a.buttonSpacing)})),this.initialButtonGroupWidth=m}d-=n.spacing[3],this.updateButtonStates(),s=h(e,c),this.alignButtonGroup(s),i.placed=e.placed=n.hasLoaded}e=0,o&&(e=h(o,l),"left"===l.align?p=d:"right"===l.align&&(p=-Math.max(n.axisOffset[1],-e)),o.align({y:l.y,width:o.getBBox().width,align:l.align,x:l.x+p-2},!0,n.spacingBox),o.placed=n.hasLoaded),this.handleCollision(e),i.align({verticalAlign:f},!0,n.spacingBox),o=i.alignAttr.translateY,e=i.getBBox().height+20,h=0,"bottom"===f&&(h=o-(e=e+(h=(h=n.legend&&n.legend.options)&&"bottom"===h.verticalAlign&&h.enabled&&!h.floating?n.legend.legendHeight+w(h.margin,10):0)-20)-(a.floating?0:a.y)-(n.titleOffset?n.titleOffset[2]:0)-10),"top"===f?(a.floating&&(h=0),n.titleOffset&&n.titleOffset[0]&&(h=n.titleOffset[0]),h+=n.margin[0]-n.spacing[0]||0):"middle"===f&&(l.y===c.y?h=o:(l.y||c.y)&&(h=0>l.y||0>c.y?h-Math.min(l.y,c.y):o-e)),i.translate(a.x,a.y+Math.floor(h)),c=this.minInput,l=this.maxInput,o=this.dropdown,a.inputEnabled&&c&&l&&(c.style.marginTop=i.translateY+"px",l.style.marginTop=i.translateY+"px"),o&&(o.style.marginTop=i.translateY+"px")}},e.prototype.alignButtonGroup=function(t,e){var r=this.chart,n=this.buttonGroup,i=this.options.buttonPosition,o=r.plotLeft-r.spacing[3],a=i.x-r.spacing[3];"right"===i.align?a+=t-o:"center"===i.align&&(a-=o/2),n&&n.align({y:i.y,width:w(e,this.initialButtonGroupWidth),align:i.align,x:a},!0,r.spacingBox)},e.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,r=this.options,n=this.zoomText,i=e.hasLoaded?"animate":"attr",o=r.buttonPosition,a=e.plotLeft,s=a;n&&"hidden"!==n.visibility&&(n[i]({x:w(a+o.x,a)}),s+=o.x+n.getBBox().width+5),this.buttonOptions.forEach((function(e,n){"hidden"!==t[n].visibility?(t[n][i]({x:s}),s+=t[n].width+r.buttonSpacing):t[n][i]({x:a})}))},e.prototype.handleCollision=function(t){var e=this,r=this.chart,n=this.buttonGroup,i=this.inputGroup,o=this.options,a=o.buttonPosition,s=o.dropdown,c=o.inputPosition;o=function(){var t=0;return e.buttons.forEach((function(e){(e=e.getBBox()).width>t&&(t=e.width)})),t};var u=function(e){if(i&&n){var r=i.alignAttr.translateX+i.alignOptions.x-t+i.getBBox().x+2,o=i.alignOptions.width,s=n.alignAttr.translateX+n.getBBox().x;return s+e>r&&r+o>s&&a.y<c.y+i.getBBox().height}return!1},l=function(){i&&n&&i.attr({translateX:i.alignAttr.translateX+(r.axisOffset[1]>=-t?0:-t),translateY:i.alignAttr.translateY+n.getBBox().height+10})};if(n){if("always"===s)return this.collapseButtons(t),void(u(o())&&l());"never"===s&&this.expandButtons()}i&&n?c.align===a.align||u(this.initialButtonGroupWidth+20)?"responsive"===s?(this.collapseButtons(t),u(o())&&l()):l():"responsive"===s&&this.expandButtons():n&&"responsive"===s&&(this.initialButtonGroupWidth>r.plotWidth?this.collapseButtons(t):this.expandButtons())},e.prototype.collapseButtons=function(t){var e=this.buttons,r=this.buttonOptions,n=this.chart,i=this.dropdown,o=this.options,a=this.zoomText,s=n.userOptions.rangeSelector&&n.userOptions.rangeSelector.buttonTheme||{},c=function(t){return{text:t?t+" \u25be":"\u25be",width:"auto",paddingLeft:w(o.buttonTheme.paddingLeft,s.padding,8),paddingRight:w(o.buttonTheme.paddingRight,s.padding,8)}};a&&a.hide();var u=!1;r.forEach((function(t,r){2!==(r=e[r]).state?r.hide():(r.show(),r.attr(c(t.text)),u=!0)})),u||(i&&(i.selectedIndex=0),e[0].show(),e[0].attr(c(this.zoomText&&this.zoomText.textStr))),r=o.buttonPosition.align,this.positionButtons(),"right"!==r&&"center"!==r||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},e.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,r=this.options,n=this.zoomText;this.hideDropdown(),n&&n.show(),e.forEach((function(e,n){(n=t[n]).show(),n.attr({text:e.text,width:r.buttonTheme.width||28,paddingLeft:w(r.buttonTheme.paddingLeft,"unset"),paddingRight:w(r.buttonTheme.paddingRight,"unset")}),2>n.state&&n.setState(0)})),this.positionButtons()},e.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0<t.selectedIndex?t.selectedIndex-1:0},e.prototype.showDropdown=function(){var t=this.buttonGroup,e=this.buttons,r=this.chart,n=this.dropdown;if(t&&n){var i=t.translateX;t=t.translateY,e=e[this.currentButtonIndex()].getBBox(),u(n,{left:r.plotLeft+i+"px",top:t+.5+"px",width:e.width+"px",height:e.height+"px"}),this.hasVisibleDropdown=!0}},e.prototype.hideDropdown=function(){var t=this.dropdown;t&&(u(t,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},e.prototype.getHeight=function(){var t=this.options,e=this.group,r=t.y,n=t.buttonPosition.y,i=t.inputPosition.y;return t.height?t.height:(this.alignElements(),t=e?e.getBBox(!0).height+13+r:0,e=Math.min(i,n),(0>i&&0>n||0<i&&0<n)&&(t+=Math.abs(e)),t)},e.prototype.titleCollision=function(t){return!(t.options.title.text||t.options.subtitle.text)},e.prototype.update=function(t){var e=this.chart;v(!0,e.options.rangeSelector,t),this.destroy(),this.init(e),this.render()},e.prototype.destroy=function(){var t=this,r=t.minInput,n=t.maxInput;t.eventsToUnbind&&(t.eventsToUnbind.forEach((function(t){return t()})),t.eventsToUnbind=void 0),f(t.buttons),r&&(r.onfocus=r.onblur=r.onchange=null),n&&(n.onfocus=n.onblur=n.onchange=null),g(t,(function(r,n){r&&"chart"!==n&&(r instanceof i?r.destroy():r instanceof window.HTMLElement&&h(r)),r!==e.prototype[n]&&(t[n]=null)}),this)},e}();if(_.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],_.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"},t.prototype.minFromRange=function(){var t=this.range,e=t.type,r=this.max,n=this.chart.time,i=function(t,r){var i="year"===e?"FullYear":"Month",o=new n.Date(t),a=n.get(i,o);return n.set(i,o,a+r),a===n.get(i,o)&&n.set("Date",o,0),o.getTime()-t};if(b(t))var o=r-t,a=t;else o=r+i(r,-t.count),this.chart&&(this.chart.fixedRange=r-o);var s=w(this.dataMin,Number.MIN_VALUE);return b(o)||(o=s),o<=s&&(o=s,"undefined"===typeof a&&(a=i(o,t.count)),this.newMax=Math.min(o+a,this.dataMax)),b(r)||(o=void 0),o},!r.RangeSelector){var S=[],k=function(t){function e(){a&&(r=t.xAxis[0].getExtremes(),n=t.legend,o=a&&a.options.verticalAlign,b(r.min)&&a.render(r.min,r.max),n.display&&"top"===o&&o===n.options.verticalAlign&&((i=v(t.spacingBox)).y="vertical"===n.options.layout?t.plotTop:i.y+a.getHeight(),n.group.placed=!1,n.align(i)))}var r,n,i,o,a=t.rangeSelector;a&&(p(S,(function(e){return e[0]===t}))||S.push([t,[s(t.xAxis[0],"afterSetExtremes",(function(t){a&&a.render(t.min,t.max)})),s(t,"redraw",e)]]),e())};s(e,"afterGetContainer",(function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new _(this))})),s(e,"beforeRender",(function(){var t=this.axes,e=this.rangeSelector;e&&(b(e.deferredYTDClick)&&(e.clickButton(e.deferredYTDClick),delete e.deferredYTDClick),t.forEach((function(t){t.updateNames(),t.setScale()})),this.getAxisMargins(),e.render(),t=e.options.verticalAlign,e.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)))})),s(e,"update",(function(t){var e=t.options.rangeSelector;t=this.rangeSelector;var r=this.extraBottomMargin,n=this.extraTopMargin;e&&e.enabled&&!l(t)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=t=new _(this)),this.extraTopMargin=this.extraBottomMargin=!1,t&&(k(this),e=e&&e.verticalAlign||t.options&&t.options.verticalAlign,t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)),this.extraBottomMargin!==r||this.extraTopMargin!==n)&&(this.isDirtyBox=!0)})),s(e,"render",(function(){var t=this.rangeSelector;t&&!t.options.floating&&(t.render(),"bottom"===(t=t.options.verticalAlign)?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0))})),s(e,"getMargins",(function(){var t=this.rangeSelector;t&&(t=t.getHeight(),this.extraTopMargin&&(this.plotTop+=t),this.extraBottomMargin&&(this.marginBottom+=t))})),e.prototype.callbacks.push(k),s(e,"destroy",(function(){for(var t=0;t<S.length;t++){var e=S[t];if(e[0]===this){e[1].forEach((function(t){return t()})),S.splice(t,1);break}}})),r.RangeSelector=_}return _})),e(r,"Core/Chart/StockChart.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/FormatUtilities.js"],r["Core/DefaultOptions.js"],r["Core/Series/Series.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s){function c(t,e){return"xAxis"===t?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0,title:{text:null},labels:{overflow:"justify"},showLastLabel:!0}:"yAxis"===t?{labels:{y:-2},opposite:w(e.opposite,!0),showLastLabel:!(!e.categories&&"category"!==e.type),title:{text:null}}:{}}function u(t,e){if("xAxis"===t){t=h();var r={type:"datetime",categories:void 0};return w(e.navigator&&e.navigator.enabled,t.navigator.enabled,!0)&&(r.startOnTick=!1,r.endOnTick=!1),r}return{}}var l=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=n.format,h=i.getOptions;t=s.addEvent;var d=s.clamp,p=s.defined,m=s.extend,b=s.find,v=s.isNumber,g=s.isString,y=s.merge,w=s.pick,x=s.splat;return function(t){t.stockChart=function(e,r,n){return new t(e,r,n)}}((s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(e,r){var n=h(),i=e.xAxis,o=e.yAxis,a=w(e.navigator&&e.navigator.enabled,n.navigator.enabled,!0);e.xAxis=e.yAxis=void 0,a=y({chart:{panning:{enabled:!0,type:"x"},pinchType:"x"},navigator:{enabled:a},scrollbar:{enabled:w(n.scrollbar&&n.scrollbar.enabled,!0)},rangeSelector:{enabled:w(n.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:w(n.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},e,{isStock:!0}),e.xAxis=i,e.yAxis=o,a.xAxis=x(e.xAxis||{}).map((function(t,r){return y(c("xAxis",t),n.xAxis,n.xAxis&&n.xAxis[r],t,u("xAxis",e))})),a.yAxis=x(e.yAxis||{}).map((function(t,e){return y(c("yAxis",t),n.yAxis,n.yAxis&&n.yAxis[e],t)})),t.prototype.init.call(this,a,r)},e.prototype.createAxis=function(e,r){return r.axis=y(c(e,r.axis),r.axis,u(e,this.userOptions)),t.prototype.createAxis.call(this,e,r)},e}(r))||(s={})),t(o,"setOptions",(function(t){var e;this.chart.options.isStock&&(this.is("column")||this.is("columnrange")?e={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(e={marker:{enabled:!1,radius:2}}),e&&(t.plotOptions[this.type]=y(t.plotOptions[this.type],e)))})),t(e,"autoLabelAlign",(function(t){var e=this.chart,r=this.options;e=e._labelPanes=e._labelPanes||{};var n=this.options.labels;this.chart.options.isStock&&"yAxis"===this.coll&&(!e[r=r.top+","+r.height]&&n.enabled&&(15===n.x&&(n.x=0),"undefined"===typeof n.align&&(n.align="right"),e[r]=this,t.align="right",t.preventDefault()))})),t(e,"destroy",(function(){var t=this.chart,e=this.options&&this.options.top+","+this.options.height;e&&t._labelPanes&&t._labelPanes[e]===this&&delete t._labelPanes[e]})),t(e,"getPlotLinePath",(function(t){var e,r,n,i,o=this,a=this.isLinked&&!this.series?this.linkedParent.series:this.series,s=o.chart,c=s.renderer,u=o.left,l=o.top,f=[],h=[],m=t.translatedValue,y=t.value,x=t.force;if(s.options.isStock&&!1!==t.acrossPanes&&"xAxis"===o.coll||"yAxis"===o.coll){t.preventDefault(),h=function(t){var e="xAxis"===t?"yAxis":"xAxis";return t=o.options[e],v(t)?[s[e][t]]:g(t)?[s.get(t)]:a.map((function(t){return t[e]}))}(o.coll),(o.isXAxis?s.yAxis:s.xAxis).forEach((function(t){if(!p(t.options.id)||-1===t.options.id.indexOf("navigator")){var e=t.isXAxis?"yAxis":"xAxis";e=p(t.options[e])?s[e][t.options[e]]:s[e][0],o===e&&h.push(t)}}));var O=h.length?[]:[o.isXAxis?s.yAxis[0]:s.xAxis[0]];h.forEach((function(t){-1!==O.indexOf(t)||b(O,(function(e){return e.pos===t.pos&&e.len===t.len}))||O.push(t)}));var _=w(m,o.translate(y,null,null,t.old));v(_)&&(o.horiz?O.forEach((function(t){var a;r=t.pos,i=r+t.len,e=n=Math.round(_+o.transB),"pass"!==x&&(e<u||e>u+o.width)&&(x?e=n=d(e,u,u+o.width):a=!0),a||f.push(["M",e,r],["L",n,i])})):O.forEach((function(t){var a;e=t.pos,n=e+t.len,r=i=Math.round(l+o.height-_),"pass"!==x&&(r<l||r>l+o.height)&&(x?r=i=d(r,l,l+o.height):a=!0),a||f.push(["M",e,r],["L",n,i])}))),t.path=0<f.length?c.crispPolyLine(f,t.lineWidth||1):null}})),a.prototype.crispPolyLine=function(t,e){for(var r=0;r<t.length;r+=2){var n=t[r],i=t[r+1];n[1]===i[1]&&(n[1]=i[1]=Math.round(n[1])-e%2/2),n[2]===i[2]&&(n[2]=i[2]=Math.round(n[2])+e%2/2)}return t},t(e,"afterHideCrosshair",(function(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())})),t(e,"afterDrawCrosshair",(function(t){var e,r;if(this.crosshair&&this.crosshair.label&&this.crosshair.label.enabled&&this.cross&&v(this.min)&&v(this.max)){var n=this.chart,i=this.logarithmic,o=this.crosshair.label,a=this.horiz,s=this.opposite,c=this.left,u=this.top,l=this.crossLabel,h=o.format,d="",p="inside"===this.options.tickPosition,b=!1!==this.crosshair.snap,g=0,y=t.e||this.cross&&this.cross.e;t=t.point;var x=this.min,O=this.max;i&&(x=i.lin2log(x),O=i.lin2log(O)),i=a?"center":s?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center",l||(l=this.crossLabel=n.renderer.label("",0,void 0,o.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(t?t.series.colorIndex:this.series[0]&&this.series[0].colorIndex)).attr({align:o.align||i,padding:w(o.padding,8),r:w(o.borderRadius,3),zIndex:2}).add(this.labelGroup),n.styledMode||l.attr({fill:o.backgroundColor||t&&t.series&&t.series.color||"#666666",stroke:o.borderColor||"","stroke-width":o.borderWidth||0}).css(m({color:"#ffffff",fontWeight:"normal",fontSize:"11px",textAlign:"center"},o.style||{}))),a?(i=b?(t.plotX||0)+c:y.chartX,u+=s?0:this.height):(i=s?this.width+c:0,u=b?(t.plotY||0)+u:y.chartY),h||o.formatter||(this.dateTime&&(d="%b %d, %Y"),h="{value"+(d?":"+d:"")+"}"),d=b?this.isXAxis?t.x:t.y:this.toValue(a?y.chartX:y.chartY),b=t?t.series.isPointInside(t):v(d)&&d>x&&d<O,y="",h?y=f(h,{value:d},n):o.formatter&&v(d)&&(y=o.formatter.call(this,d)),l.attr({text:y,x:i,y:u,visibility:b?"visible":"hidden"}),o=l.getBBox(),v(l.y)&&(a?(p&&!s||!p&&s)&&(u=l.y-o.height):u=l.y-o.height/2),a?(e=c-o.x,r=c+this.width-o.x):(e="left"===this.labelAlign?c:0,r="right"===this.labelAlign?c+this.width:n.chartWidth),l.translateX<e&&(g=e-l.translateX),l.translateX+o.width>=r&&(g=-(l.translateX+o.width-r)),l.attr({x:i+g,y:u,anchorX:a?i:this.opposite?0:n.chartWidth,anchorY:a?this.opposite?n.chartHeight:0:u+o.height/2})}})),o.prototype.forceCropping=function(){var t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&w(e.enabled,t.options.isStock)},t(r,"update",(function(t){"scrollbar"in(t=t.options)&&this.navigator&&(y(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({},!1),delete t.scrollbar)})),s})),e(r,"masters/modules/stock.src.js",[r["Core/Globals.js"],r["Core/Axis/OrdinalAxis.js"],r["Series/DataModifyComposition.js"],r["Core/Scrollbar.js"],r["Core/Chart/StockChart.js"]],(function(t,e,r,n,i){t.Scrollbar=n,t.StockChart=t.stockChart=i.stockChart,n.compose(t.Axis),e.compose(t.Axis,t.Series,t.Chart),r.compose(t.Series,t.Axis,t.Point)})),e(r,"masters/highstock.src.js",[r["masters/highcharts.src.js"]],(function(t){return t.product="Highstock",t})),r["masters/highstock.src.js"]._modules=r,r["masters/highstock.src.js"]}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"f",(function(){return c})),r.d(e,"g",(function(){return u})),r.d(e,"h",(function(){return l})),r.d(e,"i",(function(){return f})),r.d(e,"j",(function(){return h})),r.d(e,"k",(function(){return d})),r.d(e,"l",(function(){return p})),r.d(e,"m",(function(){return m})),r.d(e,"n",(function(){return b})),r.d(e,"o",(function(){return v})),r.d(e,"p",(function(){return g})),r.d(e,"q",(function(){return y})),r.d(e,"r",(function(){return w})),r.d(e,"s",(function(){return x})),r.d(e,"t",(function(){return O})),r.d(e,"u",(function(){return _}));var n={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u0625\u0638\u0647\u0631 \u0627\u0644\u0639\u0646\u0648\u0627\u0646"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649":"last"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u064a \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629":"next"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629":"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629"},labelRowsPerPage:"\u0639\u062f\u062f \u0627\u0644\u0635\u0641\u0648\u0641 \u0641\u064a \u0627\u0644\u0635\u0641\u062d\u0629:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u0645\u0646 ").concat(-1!==n?n:" \u0623\u0643\u062b\u0631 \u0645\u0646".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," ").concat(1!==t?"\u0646\u062c\u0648\u0645":"\u0646\u062c\u0645\u0629")},emptyLabelText:"\u0641\u0627\u0631\u063a"}},MuiAutocomplete:{defaultProps:{clearText:"\u0645\u0633\u062d",closeText:"\u0625\u063a\u0644\u0627\u0642",loadingText:"\u064a\u062a\u0645 \u0627\u0644\u062a\u062d\u0645\u064a\u0644\u2026",noOptionsText:"\u0644\u0627 \u064a\u0648\u062c\u062f \u062e\u064a\u0627\u0631\u0627\u062a",openText:"\u0641\u062a\u062d"}},MuiAlert:{defaultProps:{closeText:"\u0625\u063a\u0644\u0627\u0642"}},MuiPagination:{defaultProps:{"aria-label":"\u0627\u0644\u062a\u0646\u0642\u0644 \u0639\u0628\u0631 \u0627\u0644\u0635\u0641\u062d\u0627\u062a",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u0625\u0630\u0647\u0628 \u0625\u0644\u0649 "," \u0635\u0641\u062d\u0629 ").concat(e):"first"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649":"last"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u064a \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629":"next"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629":"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629"}}}}},i={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u044a\u0442\u044f"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"last"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"next"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},labelRowsPerPage:"\u0420\u0435\u0434\u043e\u0432\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u0417\u0432\u0435\u0437\u0434").concat(1!==t?"\u0438":"\u0430")},emptyLabelText:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438"}},MuiAutocomplete:{defaultProps:{clearText:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438",closeText:"\u0417\u0430\u0442\u0432\u043e\u0440\u0438",loadingText:"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043d\u0435\u2026",noOptionsText:"\u041d\u044f\u043c\u0430 \u043d\u0430\u043b\u0438\u0447\u043d\u0438 \u043e\u043f\u0446\u0438\u0438",openText:"\u041e\u0442\u0432\u043e\u0440\u0438"}},MuiAlert:{defaultProps:{closeText:"\u0417\u0430\u0442\u0432\u043e\u0440\u0438"}},MuiPagination:{defaultProps:{"aria-label":"\u041f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u041a\u044a\u043c ","\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 ").concat(e):"first"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"last"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"next"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"}}}}},o={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Uk\xe1zat cestu"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"J\xedt na prvn\xed str\xe1nku":"last"===t?"J\xedt na posledn\xed str\xe1nku":"next"===t?"J\xedt na dal\u0161\xed str\xe1nku":"J\xedt na p\u0159edchoz\xed str\xe1nku"},labelRowsPerPage:"\u0158\xe1dk\u016f na str\xe1nce:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," z ").concat(-1!==n?n:"v\xedce ne\u017e ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t,1===t?" hv\u011bzdi\u010dka":t>=2&&t<=4?" hv\u011bzdi\u010dky":" hv\u011bzdi\u010dek")},emptyLabelText:"Pr\xe1zdn\xe9"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazat",closeText:"Zav\u0159\xedt",loadingText:"Na\u010d\xedt\xe1n\xed\u2026",noOptionsText:"\u017d\xe1dn\xe9 mo\u017enosti",openText:"Otev\u0159\xedt"}},MuiAlert:{defaultProps:{closeText:"Zav\u0159\xedt"}},MuiPagination:{defaultProps:{"aria-label":"Navigace str\xe1nkov\xe1n\xedm",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"J\xedt na ").concat(e," str\xe1nku"):"first"===t?"J\xedt na prvn\xed str\xe1nku":"last"===t?"J\xedt na posledn\xed str\xe1nku":"next"===t?"J\xedt na dal\u0161\xed str\xe1nku":"J\xedt na p\u0159edchoz\xed str\xe1nku"}}}}},a={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pfad anzeigen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Zur ersten Seite":"last"===t?"Zur letzten Seite":"next"===t?"Zur n\xe4chsten Seite":"Zur vorherigen Seite"},labelRowsPerPage:"Zeilen pro Seite:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," von ").concat(-1!==n?n:"mehr als ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," ").concat(1!==t?"Sterne":"Stern")},emptyLabelText:"Keine Wertung"}},MuiAutocomplete:{defaultProps:{clearText:"Leeren",closeText:"Schlie\xdfen",loadingText:"Wird geladen\u2026",noOptionsText:"Keine Optionen",openText:"\xd6ffnen"}},MuiAlert:{defaultProps:{closeText:"Schlie\xdfen"}},MuiPagination:{defaultProps:{"aria-label":"Navigation via Seitennummerierung",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Gehe zu ","Seite ").concat(e):"first"===t?"Zur ersten Seite":"last"===t?"Zur letzten Seite":"next"===t?"Zur n\xe4chsten Seite":"Zur vorherigen Seite"}}}}},s={},c={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar ruta"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Ir a la primera p\xe1gina":"last"===t?"Ir a la \xfaltima p\xe1gina":"next"===t?"Ir a la p\xe1gina siguiente":"Ir a la p\xe1gina anterior"},labelRowsPerPage:"Filas por p\xe1gina:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," de ").concat(-1!==n?n:"m\xe1s de ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Estrella").concat(1!==t?"s":"")},emptyLabelText:"Vac\xedo"}},MuiAutocomplete:{defaultProps:{clearText:"Limpiar",closeText:"Cerrar",loadingText:"Cargando\u2026",noOptionsText:"Sin opciones",openText:"Abierto"}},MuiAlert:{defaultProps:{closeText:"Cerrar"}},MuiPagination:{defaultProps:{"aria-label":"Paginador",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Ir a la ","p\xe1gina ").concat(e):"first"===t?"Ir a la primera p\xe1gina":"last"===t?"Ir a la \xfaltima p\xe1gina":"next"===t?"Ir a la p\xe1gina siguiente":"Ir a la p\xe1gina anterior"}}}}},u={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u0646\u0645\u0627\u06cc\u0634 \u0645\u0633\u06cc\u0631"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0627\u0648\u0644\u06cc\u0646 \u0635\u0641\u062d\u0647":"last"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0635\u0641\u062d\u0647":"next"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0628\u0639\u062f\u06cc":"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc"},labelRowsPerPage:"\u062a\u0639\u062f\u0627\u062f \u0633\u0637\u0631\u0647\u0627\u06cc \u0647\u0631 \u0635\u0641\u062d\u0647:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u0633\u062a\u0627\u0631\u0647")},emptyLabelText:"\u062e\u0627\u0644\u06cc"}},MuiAutocomplete:{defaultProps:{clearText:"\u067e\u0627\u06a9\u200c\u06a9\u0631\u062f\u0646",closeText:"\u0628\u0633\u062a\u0646",loadingText:"\u062f\u0631 \u062d\u0627\u0644 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc\u2026",noOptionsText:"\u0628\u06cc\u200c\u0646\u062a\u06cc\u062c\u0647",openText:"\u0628\u0627\u0632\u06a9\u0631\u062f\u0646"}},MuiAlert:{defaultProps:{closeText:"\u0628\u0633\u062a\u0646"}},MuiPagination:{defaultProps:{"aria-label":"\u0646\u0627\u0648\u0628\u0631\u06cc \u0635\u0641\u062d\u0647",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u0631\u0641\u062a\u0646 \u0628\u0647 ","\u0635\u0641\u062d\u0647\u0654 ").concat(e):"first"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0627\u0648\u0644\u06cc\u0646 \u0635\u0641\u062d\u0647":"last"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0635\u0641\u062d\u0647":"next"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0628\u0639\u062f\u06cc":"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc"}}}}},l={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Aller \xe0 la premi\xe8re page":"last"===t?"Aller \xe0 la derni\xe8re page":"next"===t?"Aller \xe0 la page suivante":"Aller \xe0 la page pr\xe9c\xe9dente"},labelRowsPerPage:"Lignes par page :",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," sur ").concat(-1!==n?n:"plus que ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Etoile").concat(1!==t?"s":"")},emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement\u2026",noOptionsText:"Pas de r\xe9sultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Aller \xe0 la ","page ").concat(e):"first"===t?"Aller \xe0 la premi\xe8re page":"last"===t?"Aller \xe0 la derni\xe8re page":"next"===t?"Aller \xe0 la page suivante":"Aller \xe0 la page pr\xe9c\xe9dente"}}}}},f={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u05d4\u05e6\u05d2 \u05e0\u05ea\u05d9\u05d1"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df":"last"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d0\u05d7\u05e8\u05d5\u05df":"next"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d1\u05d0":"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e7\u05d5\u05d3\u05dd"},labelRowsPerPage:"\u05e9\u05d5\u05e8\u05d5\u05ea \u05d1\u05e2\u05de\u05d5\u05d3:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u05de\u05ea\u05d5\u05da ").concat(-1!==n?n:"\u05d9\u05d5\u05ea\u05e8 \u05de ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u05db\u05d5\u05db\u05d1").concat(1!==t?"\u05d9\u05dd":"")},emptyLabelText:"\u05e8\u05d9\u05e7"}},MuiAutocomplete:{defaultProps:{clearText:"\u05e0\u05e7\u05d4",closeText:"\u05e1\u05d2\u05d5\u05e8",loadingText:"\u05d8\u05d5\u05e2\u05df\u2026",noOptionsText:"\u05d0\u05d9\u05df \u05d0\u05d5\u05e4\u05e6\u05d9\u05d5\u05ea",openText:"\u05e4\u05ea\u05d7"}},MuiAlert:{defaultProps:{closeText:"\u05e1\u05d2\u05d5\u05e8"}},MuiPagination:{defaultProps:{"aria-label":"\u05e0\u05d9\u05d5\u05d5\u05d8 \u05d1\u05e2\u05de\u05d5\u05d3\u05d9\u05dd",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u05dc ","\u05e2\u05de\u05d5\u05d3 ").concat(e):"first"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df":"last"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d0\u05d7\u05e8\u05d5\u05df":"next"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d1\u05d0":"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e7\u05d5\u05d3\u05dd"}}}}},h={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visualizza percorso"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Vai alla prima pagina":"last"===t?"Vai all'ultima pagina":"next"===t?"Vai alla pagina successiva":"Vai alla pagina precedente"},labelRowsPerPage:"Righe per pagina:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Stell").concat(1!==t?"e":"a")},emptyLabelText:"Vuoto"}},MuiAutocomplete:{defaultProps:{clearText:"Svuota",closeText:"Chiudi",loadingText:"Caricamento in corso\u2026",noOptionsText:"Nessuna opzione",openText:"Apri"}},MuiAlert:{defaultProps:{closeText:"Chiudi"}},MuiPagination:{defaultProps:{"aria-label":"Navigazione impaginata",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Vai alla ","pagina ").concat(e):"first"===t?"Vai alla prima pagina":"last"===t?"Vai all'ultima pagina":"next"===t?"Vai alla pagina successiva":"Vai alla pagina precedente"}}}}},d={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u3059\u3079\u3066\u8868\u793a"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u6700\u521d\u306e\u30da\u30fc\u30b8\u3078":"last"===t?"\u6700\u5f8c\u306e\u30da\u30fc\u30b8\u3078":"next"===t?"\u6b21\u306e\u30da\u30fc\u30b8\u3078":"\u524d\u306e\u30da\u30fc\u30b8\u3078"},labelRowsPerPage:"\u30da\u30fc\u30b8\u3042\u305f\u308a\u306e\u884c\u6570:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\uff5e").concat(r," / ").concat(-1!==n?n:"".concat(r,"\u4ee5\u4e0a"))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"\u661f".concat(t)},emptyLabelText:"\u661f\u306a\u3057"}},MuiAutocomplete:{defaultProps:{clearText:"\u30af\u30ea\u30a2",closeText:"\u9589\u3058\u308b",loadingText:"\u8aad\u307f\u8fbc\u307f\u4e2d\u2026",noOptionsText:"\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093",openText:"\u958b\u304f"}},MuiAlert:{defaultProps:{closeText:"\u9589\u3058\u308b"}},MuiPagination:{defaultProps:{"aria-label":"\u30da\u30fc\u30b8\u9078\u629e",getItemAriaLabel:function(t,e,r){return"page"===t?"\u30da\u30fc\u30b8".concat(e).concat(r?"":"\u3078"):"first"===t?"\u6700\u521d\u306e\u30da\u30fc\u30b8\u3078":"last"===t?"\u6700\u5f8c\u306e\u30da\u30fc\u30b8\u3078":"next"===t?"\u6b21\u306e\u30da\u30fc\u30b8\u3078":"\u524d\u306e\u30da\u30fc\u30b8\u3078"}}}}},p={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\uacbd\ub85c \ubcf4\uae30"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\uccab \ubc88\uc9f8 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"last"===t?"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"next"===t?"\ub2e4\uc74c \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"\uc774\uc804 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9"},labelRowsPerPage:"\ud398\uc774\uc9c0 \ub2f9 \ud589:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," / ").concat(-1!==n?n:"".concat(r,"\uac1c \uc774\uc0c1"))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \uc810")},emptyLabelText:"\ube48 \ud14d\uc2a4\ud2b8"}},MuiAutocomplete:{defaultProps:{clearText:"\uc9c0\uc6b0\uae30",closeText:"\ub2eb\uae30",loadingText:"\ubd88\ub7ec\uc624\ub294 \uc911\u2026",noOptionsText:"\uc635\uc158 \uc5c6\uc74c",openText:"\uc5f4\uae30"}},MuiAlert:{defaultProps:{closeText:"\ub2eb\uae30"}},MuiPagination:{defaultProps:{"aria-label":"\ud398\uc774\uc9c0\ub124\uc774\uc158 \ub124\ube44\uac8c\uc774\uc158",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(e," \ubc88\uc9f8 \ud398\uc774\uc9c0").concat(r?"":"\ub85c \uc774\ub3d9"):"first"===t?"\uccab \ubc88\uc9f8 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"last"===t?"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"next"===t?"\ub2e4\uc74c \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"\uc774\uc804 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9"}}}}},m={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pad tonen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Ga naar eerste pagina":"last"===t?"Ga naar laatste pagina":"next"===t?"Ga naar volgende pagina":"Ga naar vorige pagina"},labelRowsPerPage:"Regels per pagina:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," van ").concat(-1!==n?n:"meer dan ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Ster").concat(1!==t?"ren":"")},emptyLabelText:"Leeg"}},MuiAutocomplete:{defaultProps:{clearText:"Wissen",closeText:"Sluiten",loadingText:"Laden\u2026",noOptionsText:"Geen opties",openText:"Openen"}},MuiAlert:{defaultProps:{closeText:"Sluiten"}},MuiPagination:{defaultProps:{"aria-label":"Navigatie via paginering",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Ga naar ","pagina ").concat(e):"first"===t?"Ga naar eerste pagina":"last"===t?"Ga naar laatste pagina":"next"===t?"Ga naar volgende pagina":"Ga naar vorige pagina"}}}}},b={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Poka\u017c \u015bcie\u017ck\u0119"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Przejd\u017a do pierwszej strony":"last"===t?"Przejd\u017a do ostatniej strony":"next"===t?"Przejd\u017a do nast\u0119pnej strony":"Przejd\u017a do poprzedniej strony"},labelRowsPerPage:"Wierszy na stron\u0119:"}},MuiRating:{defaultProps:{getLabelText:function(t){var e="gwiazdek",r=t%10;return(t<10||t>20)&&r>1&&r<5?e="gwiazdki":1===t&&(e="gwiazdka"),"".concat(t," ").concat(e)},emptyLabelText:"Brak gwiazdek"}},MuiAutocomplete:{defaultProps:{clearText:"Wyczy\u015b\u0107",closeText:"Zamknij",loadingText:"\u0141adowanie\u2026",noOptionsText:"Brak opcji",openText:"Otw\xf3rz"}},MuiAlert:{defaultProps:{closeText:"Zamknij"}},MuiPagination:{defaultProps:{"aria-label":"Nawigacja podzia\u0142u na strony",getItemAriaLabel:function(t,e,r){return"page"===t?r?"".concat(e,". strona"):"Przejd\u017a do ".concat(e,". strony"):"first"===t?"Przejd\u017a do pierwszej strony":"last"===t?"Przejd\u017a do ostatniej strony":"next"===t?"Przejd\u017a do nast\u0119pnej strony":"Przejd\u017a do poprzedniej strony"}}}}},v={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Ir para a primeira p\xe1gina":"last"===t?"Ir para a \xfaltima p\xe1gina":"next"===t?"Ir para a pr\xf3xima p\xe1gina":"Ir para a p\xe1gina anterior"},labelRowsPerPage:"Linhas por p\xe1gina:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," de ").concat(-1!==n?n:"mais de ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Estrela").concat(1!==t?"s":"")},emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"Carregando\u2026",noOptionsText:"Sem op\xe7\xf5es",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar pela pagina\xe7\xe3o",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Ir para a ","p\xe1gina ").concat(e):"first"===t?"Ir para a primeira p\xe1gina":"last"===t?"Ir para a \xfaltima p\xe1gina":"next"===t?"Ir para a pr\xf3xima p\xe1gina":"Ir para a p\xe1gina anterior"}}}}},g={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"},labelRowsPerPage:"\u0421\u0442\u0440\u043e\u043a \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u0438\u0437 ").concat(-1!==n?n:"\u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){var e="\u0417\u0432\u0451\u0437\u0434",r=t%10;return r>1&&r<5?e="\u0417\u0432\u0435\u0437\u0434\u044b":1===r&&(e="\u0417\u0432\u0435\u0437\u0434\u0430"),"".concat(t," ").concat(e)},emptyLabelText:"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"}},MuiAutocomplete:{defaultProps:{clearText:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",closeText:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",loadingText:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u2026",noOptionsText:"\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432",openText:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c"}},MuiAlert:{defaultProps:{closeText:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"}},MuiPagination:{defaultProps:{"aria-label":"\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c",getItemAriaLabel:function(t,e,r){return"page"===t?r?"".concat(e," \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"):"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 ".concat(e," \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"):"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"}}}}},y={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Uk\xe1za\u0165 cestu "}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\xcds\u0165 na prv\xfa str\xe1nku":"last"===t?"\xcds\u0165 na posledn\xfa str\xe1nku":"next"===t?"\xcds\u0165 na \u010fa\u013e\u0161iu str\xe1nku":"\xcds\u0165 na predch\xe1dzaj\xfacu str\xe1nku"},labelRowsPerPage:"Riadkov na str\xe1nke:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," z ").concat(-1!==n?n:"viac ako ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t,1===t?" hviezdi\u010dka":t>=2&&t<=4?" hviezdi\u010dky":" hviezdi\u010diek")},emptyLabelText:"Pr\xe1zdne"}},MuiAutocomplete:{defaultProps:{clearText:"Vymaza\u0165",closeText:"Zavrie\u0165",loadingText:"Na\u010d\xedtanie\u2026",noOptionsText:"\u017diadne mo\u017enosti",openText:"Otvori\u0165"}},MuiAlert:{defaultProps:{closeText:"Zavrie\u0165"}},MuiPagination:{defaultProps:{"aria-label":"Navig\xe1cia str\xe1nkovanim",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\xcds\u0165 na ","str\xe1nku ").concat(e):"first"===t?"\xcds\u0165 na prv\xfa str\xe1nku":"last"===t?"\xcds\u0165 na posledn\xfa str\xe1nku":"next"===t?"\xcds\u0165 na \u010fa\u013e\u0161iu str\xe1nku":"\xcds\u0165 na predch\xe1dzaj\xfacu str\xe1nku"}}}}},w={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu g\xf6ster"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u0130lk sayfaya git":"last"===t?"Son sayfaya git":"next"===t?"Sonraki sayfaya git":"\xd6nceki sayfaya git"},labelRowsPerPage:"Sayfa ba\u015f\u0131na sat\u0131r:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Y\u0131ld\u0131z")},emptyLabelText:"Bo\u015f"}},MuiAutocomplete:{defaultProps:{clearText:"Temizle",closeText:"Kapat",loadingText:"Y\xfckleniyor\u2026",noOptionsText:"Se\xe7enek yok",openText:"A\xe7"}},MuiAlert:{defaultProps:{closeText:"Kapat"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(e,". ").concat(r?"sayfa":"sayfaya git"):"first"===t?"\u0130lk sayfaya git":"last"===t?"Son sayfaya git":"next"===t?"Sonraki sayfaya git":"\xd6nceki sayfaya git"}}}}},x={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0448\u043b\u044f\u0445 \u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0448\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043e\u0441\u0442\u0430\u043d\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443"},labelRowsPerPage:"\u0420\u044f\u0434\u043a\u0456\u0432 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u0446\u0456:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u0437 ").concat(-1!==n?n:"\u043f\u043e\u043d\u0430\u0434 ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){var e="\u0417\u0456\u0440\u043e\u043a",r=t%10;return r>1&&r<5?e="\u0417\u0456\u0440\u043a\u0438":1===r&&(e="\u0417\u0456\u0440\u043a\u0430"),"".concat(t," ").concat(e)},emptyLabelText:"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u0456\u0439"}},MuiAutocomplete:{defaultProps:{clearText:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438",closeText:"\u0417\u0433\u043e\u0440\u043d\u0443\u0442\u0438",loadingText:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f\u2026",noOptionsText:"\u041d\u0435\u043c\u0430\u0454 \u0432\u0430\u0440\u0456\u0430\u043d\u0442\u0456\u0432",openText:"\u0420\u043e\u0437\u0433\u043e\u0440\u043d\u0443\u0442\u0438"}},MuiAlert:{defaultProps:{closeText:"\u0417\u0433\u043e\u0440\u043d\u0443\u0442\u0438"}},MuiPagination:{defaultProps:{"aria-label":"\u041d\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430\u043c\u0438",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 ","\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 ").concat(e):"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0448\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043e\u0441\u0442\u0430\u043d\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443"}}}}},O={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"S\u1ed1 h\xe0ng m\u1ed7i trang:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," trong ").concat(-1!==n?n:"nhi\u1ec1u h\u01a1n ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," sao")},emptyLabelText:"Tr\u1ed1ng"}},MuiAutocomplete:{defaultProps:{clearText:"X\xf3a",closeText:"\u0110\xf3ng",loadingText:"\u0110ang t\u1ea3i\u2026",noOptionsText:"Kh\xf4ng c\xf3 l\u1ef1a ch\u1ecdn",openText:"M\u1edf"}},MuiAlert:{defaultProps:{closeText:"\u0110\xf3ng"}}}},_={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u5c55\u5f00"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u7b2c\u4e00\u9875":"last"===t?"\u6700\u540e\u4e00\u9875":"next"===t?"\u4e0b\u4e00\u9875":"\u4e0a\u4e00\u9875"},labelRowsPerPage:"\u6bcf\u9875\u884c\u6570:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"\u7b2c ".concat(e," \u6761\u5230\u7b2c ").concat(r," \u6761\uff0c").concat(-1!==n?"\u5171 ".concat(n," \u6761"):"\u81f3\u5c11 ".concat(r," \u6761"))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u9897\u661f")},emptyLabelText:"\u65e0\u6807\u7b7e"}},MuiAutocomplete:{defaultProps:{clearText:"\u6e05\u7a7a",closeText:"\u5173\u95ed",loadingText:"\u52a0\u8f7d\u4e2d\u2026\u2026",noOptionsText:"\u6ca1\u6709\u53ef\u7528\u9009\u9879",openText:"\u6253\u5f00"}},MuiAlert:{defaultProps:{closeText:"\u5173\u95ed"}}}}},,function(t,e,r){var n;void 0!==this||window,t.exports=(n=function(){try{return r(54)}catch(n){}}(),function(){"use strict";var t={662:function(t,e){var r,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.CellHookData=e.HookData=void 0;var i=function(t,e,r){this.table=e,this.pageNumber=e.pageNumber,this.pageCount=this.pageNumber,this.settings=e.settings,this.cursor=r,this.doc=t.getDocument()};e.HookData=i;var o=function(t){function e(e,r,n,i,o,a){var s=t.call(this,e,r,a)||this;return s.cell=n,s.row=i,s.column=o,s.section=i.section,s}return n(e,t),e}(i);e.CellHookData=o},790:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});var n=r(148),i=r(938),o=r(323),a=r(587),s=r(49),c=r(858);e.default=function(t){t.API.autoTable=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];1===e.length?t=e[0]:(console.error("Use of deprecated autoTable initiation"),(t=e[2]||{}).columns=e[0],t.body=e[1]);var n=(0,a.parseInput)(this,t),i=(0,c.createTable)(this,n);return(0,s.drawTable)(this,i),this},t.API.lastAutoTable=!1,t.API.previousAutoTable=!1,t.API.autoTable.previous=!1,t.API.autoTableText=function(t,e,r,n){(0,i.default)(t,e,r,n,this)},t.API.autoTableSetDefaults=function(t){return o.DocHandler.setDefaults(t,this),this},t.autoTableSetDefaults=function(t,e){o.DocHandler.setDefaults(t,e)},t.API.autoTableHtmlToJson=function(t,e){if(void 0===e&&(e=!1),"undefined"==typeof window)return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var r=new o.DocHandler(this),i=(0,n.parseHtml)(r,t,window,e,!1),a=i.head,s=i.body;return{columns:a[0].map((function(t){return t.content})),rows:s,data:s}},t.API.autoTableEndPosY=function(){console.error("Use of deprecated function: autoTableEndPosY. Use doc.lastAutoTable.finalY instead.");var t=this.lastAutoTable;return t&&t.finalY?t.finalY:0},t.API.autoTableAddPageContent=function(e){return console.error("Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead."),t.API.autoTable.globalDefaults||(t.API.autoTable.globalDefaults={}),t.API.autoTable.globalDefaults.addPageContent=e,this},t.API.autoTableAddPage=function(){return console.error("Use of deprecated function: autoTableAddPage. Use doc.addPage()"),this.addPage(),this}}},938:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r,n,i){n=n||{};var o=1.15,a=i.internal.scaleFactor,s=i.internal.getFontSize()/a,c="",u=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(u=(c="string"==typeof t?t.split(/\r\n|\r|\n/g):t).length||1),r+=s*(2-o),"middle"===n.valign?r-=u/2*s*o:"bottom"===n.valign&&(r-=u*s*o),"center"===n.halign||"right"===n.halign){var l=s;if("center"===n.halign&&(l*=.5),c&&u>=1){for(var f=0;f<c.length;f++)i.text(c[f],e-i.getStringUnitWidth(c[f])*l,r),r+=s*o;return i}e-=i.getStringUnitWidth(t)*l}return"justify"===n.halign?i.text(t,e,r,{maxWidth:n.maxWidth||100,align:"justify"}):i.text(t,e,r),i}},200:function(t,e){function r(t,e){var r=t>0,n=e||0===e;return r&&n?"DF":r?"S":n?"F":null}Object.defineProperty(e,"__esModule",{value:!0}),e.parseSpacing=e.getFillStyle=e.addTableBorder=e.getStringWidth=void 0,e.getStringWidth=function(t,e,r){return r.applyStyles(e,!0),(Array.isArray(t)?t:[t]).map((function(t){return r.getTextWidth(t)})).reduce((function(t,e){return Math.max(t,e)}),0)},e.addTableBorder=function(t,e,n,i){var o=e.settings.tableLineWidth,a=e.settings.tableLineColor;t.applyStyles({lineWidth:o,lineColor:a});var s=r(o,!1);s&&t.rect(n.x,n.y,e.getWidth(t.pageSize().width),i.y-n.y,s)},e.getFillStyle=r,e.parseSpacing=function(t,e){var r,n,i,o;if(t=t||e,Array.isArray(t)){if(t.length>=4)return{top:t[0],right:t[1],bottom:t[2],left:t[3]};if(3===t.length)return{top:t[0],right:t[1],bottom:t[2],left:t[1]};if(2===t.length)return{top:t[0],right:t[1],bottom:t[0],left:t[1]};t=1===t.length?t[0]:e}return"object"==typeof t?("number"==typeof t.vertical&&(t.top=t.vertical,t.bottom=t.vertical),"number"==typeof t.horizontal&&(t.right=t.horizontal,t.left=t.horizontal),{left:null!==(r=t.left)&&void 0!==r?r:e,top:null!==(n=t.top)&&void 0!==n?n:e,right:null!==(i=t.right)&&void 0!==i?i:e,bottom:null!==(o=t.bottom)&&void 0!==o?o:e}):("number"!=typeof t&&(t=e),{top:t,right:t,bottom:t,left:t})}},913:function(t,e){var r,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.getTheme=e.defaultStyles=e.HtmlRowInput=e.FONT_ROW_RATIO=void 0,e.FONT_ROW_RATIO=1.15;var i=function(t){function e(e){var r=t.call(this)||this;return r._element=e,r}return n(e,t),e}(Array);e.HtmlRowInput=i,e.defaultStyles=function(t){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/t,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}},e.getTheme=function(t){return{striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}}[t]}},259:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.parseCss=void 0;var n=r(200);function i(t,e){var r=function t(e,r){var n=r(e);return"rgba(0, 0, 0, 0)"===n||"transparent"===n||"initial"===n||"inherit"===n?null==e.parentElement?null:t(e.parentElement,r):n}(t,e);if(!r)return null;var n=r.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!n||!Array.isArray(n))return null;var i=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])];return 0===parseInt(n[4])||isNaN(i[0])||isNaN(i[1])||isNaN(i[2])?null:i}e.parseCss=function(t,e,r,o,a){var s={},c=i(e,(function(t){return a.getComputedStyle(t).backgroundColor}));null!=c&&(s.fillColor=c);var u=i(e,(function(t){return a.getComputedStyle(t).color}));null!=u&&(s.textColor=u);var l=i(e,(function(t){return a.getComputedStyle(t).borderTopColor}));null!=l&&(s.lineColor=l);var f=function(t,e){var r=[t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft],i=96/(72/e),o=(parseInt(t.lineHeight)-parseInt(t.fontSize))/e/2,a=r.map((function(t){return parseInt(t||"0")/i})),s=(0,n.parseSpacing)(a,0);return o>s.top&&(s.top=o),o>s.bottom&&(s.bottom=o),s}(o,r);f&&(s.cellPadding=f);var h=parseInt(o.borderTopWidth||"");(h=h/(96/72)/r)&&(s.lineWidth=h);var d=["left","right","center","justify"];-1!==d.indexOf(o.textAlign)&&(s.halign=o.textAlign),-1!==(d=["middle","bottom","top"]).indexOf(o.verticalAlign)&&(s.valign=o.verticalAlign);var p=parseInt(o.fontSize||"");isNaN(p)||(s.fontSize=p/(96/72));var m=function(t){var e="";return("bold"===t.fontWeight||"bolder"===t.fontWeight||parseInt(t.fontWeight)>=700)&&(e="bold"),"italic"!==t.fontStyle&&"oblique"!==t.fontStyle||(e+="italic"),e}(o);m&&(s.fontStyle=m);var b=(o.fontFamily||"").toLowerCase();return-1!==t.indexOf(b)&&(s.font=b),s}},323:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DocHandler=void 0;var r={},n=function(){function t(t){this.jsPDFDocument=t,this.userStyles={textColor:t.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:t.internal.getFontSize(),fontStyle:t.internal.getFont().fontStyle,font:t.internal.getFont().fontName}}return t.setDefaults=function(t,e){void 0===e&&(e=null),e?e.__autoTableDocumentDefaults=t:r=t},t.unifyColor=function(t){return Array.isArray(t)?t:"number"==typeof t?[t,t,t]:"string"==typeof t?[t]:null},t.prototype.applyStyles=function(e,r){var n,i,o;void 0===r&&(r=!1),e.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(e.fontStyle);var a=this.jsPDFDocument.internal.getFont(),s=a.fontStyle,c=a.fontName;if(e.font&&(c=e.font),e.fontStyle){s=e.fontStyle;var u=this.getFontList()[c];u&&-1===u.indexOf(s)&&(this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(u[0]),s=u[0])}if(this.jsPDFDocument.setFont(c,s),e.fontSize&&this.jsPDFDocument.setFontSize(e.fontSize),!r){var l=t.unifyColor(e.fillColor);l&&(n=this.jsPDFDocument).setFillColor.apply(n,l),(l=t.unifyColor(e.textColor))&&(i=this.jsPDFDocument).setTextColor.apply(i,l),(l=t.unifyColor(e.lineColor))&&(o=this.jsPDFDocument).setDrawColor.apply(o,l),"number"==typeof e.lineWidth&&this.jsPDFDocument.setLineWidth(e.lineWidth)}},t.prototype.splitTextToSize=function(t,e,r){return this.jsPDFDocument.splitTextToSize(t,e,r)},t.prototype.rect=function(t,e,r,n,i){return this.jsPDFDocument.rect(t,e,r,n,i)},t.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},t.prototype.getTextWidth=function(t){return this.jsPDFDocument.getTextWidth(t)},t.prototype.getDocument=function(){return this.jsPDFDocument},t.prototype.setPage=function(t){this.jsPDFDocument.setPage(t)},t.prototype.addPage=function(){return this.jsPDFDocument.addPage()},t.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},t.prototype.getGlobalOptions=function(){return r||{}},t.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},t.prototype.pageSize=function(){var t=this.jsPDFDocument.internal.pageSize;return null==t.width&&(t={width:t.getWidth(),height:t.getHeight()}),t},t.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},t.prototype.pageNumber=function(){var t=this.jsPDFDocument.internal.getCurrentPageInfo();return t?t.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},t}();e.DocHandler=n},148:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.parseHtml=void 0;var n=r(259),i=r(913);function o(t,e,r,o,s,c){for(var u=new i.HtmlRowInput(o),l=0;l<o.cells.length;l++){var f=o.cells[l],h=r.getComputedStyle(f);if(s||"none"!==h.display){var d=void 0;c&&(d=(0,n.parseCss)(t,f,e,h,r)),u.push({rowSpan:f.rowSpan,colSpan:f.colSpan,styles:d,_element:f,content:a(f)})}}var p=r.getComputedStyle(o);if(u.length>0&&(s||"none"!==p.display))return u}function a(t){var e=t.cloneNode(!0);return e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/ +/g," "),e.innerHTML=e.innerHTML.split(/\<br.*?\>/).map((function(t){return t.trim()})).join("\n"),e.innerText||e.textContent||""}e.parseHtml=function(t,e,r,n,i){var a,s,c;void 0===n&&(n=!1),void 0===i&&(i=!1),c="string"==typeof e?r.document.querySelector(e):e;var u=Object.keys(t.getFontList()),l=t.scaleFactor(),f=[],h=[],d=[];if(!c)return console.error("Html table could not be found with input: ",e),{head:f,body:h,foot:d};for(var p=0;p<c.rows.length;p++){var m=c.rows[p],b=null===(s=null===(a=null==m?void 0:m.parentElement)||void 0===a?void 0:a.tagName)||void 0===s?void 0:s.toLowerCase(),v=o(u,l,r,m,n,i);v&&("thead"===b?f.push(v):"tfoot"===b?d.push(v):h.push(v))}return{head:f,body:h,foot:d}}},587:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.parseInput=void 0;var n=r(148),i=r(360),o=r(200),a=r(323),s=r(291);function c(t,e,r){var n=t[0]||e[0]||r[0]||[],i=[];return Object.keys(n).filter((function(t){return"_element"!==t})).forEach((function(t){var e,r=1;"object"!=typeof(e=Array.isArray(n)?n[parseInt(t)]:n[t])||Array.isArray(e)||(r=(null==e?void 0:e.colSpan)||1);for(var o=0;o<r;o++){var a={dataKey:Array.isArray(n)?i.length:t+(o>0?"_"+o:"")};i.push(a)}})),i}e.parseInput=function(t,e){var r=new a.DocHandler(t),u=r.getDocumentOptions(),l=r.getGlobalOptions();(0,s.default)(r,l,u,e);var f,h=(0,i.assign)({},l,u,e);"undefined"!=typeof window&&(f=window);var d=function(t,e,r){for(var n={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},o=function(o){if("columnStyles"===o){var a=t[o],s=e[o],c=r[o];n.columnStyles=(0,i.assign)({},a,s,c)}else{var u=[t,e,r].map((function(t){return t[o]||{}}));n[o]=(0,i.assign)({},u[0],u[1],u[2])}},a=0,s=Object.keys(n);a<s.length;a++)o(s[a]);return n}(l,u,e),p=function(t,e,r){for(var n={didParseCell:[],willDrawCell:[],didDrawCell:[],didDrawPage:[]},i=0,o=[t,e,r];i<o.length;i++){var a=o[i];a.didParseCell&&n.didParseCell.push(a.didParseCell),a.willDrawCell&&n.willDrawCell.push(a.willDrawCell),a.didDrawCell&&n.didDrawCell.push(a.didDrawCell),a.didDrawPage&&n.didDrawPage.push(a.didDrawPage)}return n}(l,u,e),m=function(t,e){var r,n,i,a,s,c,u,l,f,h,d,p,m,b=(0,o.parseSpacing)(e.margin,40/t.scaleFactor()),v=null!==(r=function(t,e){var r=t.getLastAutoTable(),n=t.scaleFactor(),i=t.pageNumber(),o=!1;return r&&r.startPageNumber&&(o=r.startPageNumber+r.pageNumber-1===i),"number"==typeof e?e:null!=e&&!1!==e||!o||null==(null==r?void 0:r.finalY)?null:r.finalY+20/n}(t,e.startY))&&void 0!==r?r:b.top;p=!0===e.showFoot?"everyPage":!1===e.showFoot?"never":null!==(n=e.showFoot)&&void 0!==n?n:"everyPage",m=!0===e.showHead?"everyPage":!1===e.showHead?"never":null!==(i=e.showHead)&&void 0!==i?i:"everyPage";var g=null!==(a=e.useCss)&&void 0!==a&&a,y=e.theme||(g?"plain":"striped"),w=!!e.horizontalPageBreak,x=null!==(s=e.horizontalPageBreakRepeat)&&void 0!==s?s:null;return{includeHiddenHtml:null!==(c=e.includeHiddenHtml)&&void 0!==c&&c,useCss:g,theme:y,startY:v,margin:b,pageBreak:null!==(u=e.pageBreak)&&void 0!==u?u:"auto",rowPageBreak:null!==(l=e.rowPageBreak)&&void 0!==l?l:"auto",tableWidth:null!==(f=e.tableWidth)&&void 0!==f?f:"auto",showHead:m,showFoot:p,tableLineWidth:null!==(h=e.tableLineWidth)&&void 0!==h?h:0,tableLineColor:null!==(d=e.tableLineColor)&&void 0!==d?d:200,horizontalPageBreak:w,horizontalPageBreakRepeat:x}}(r,h),b=function(t,e,r){var i=e.head||[],o=e.body||[],a=e.foot||[];if(e.html){var s=e.includeHiddenHtml;if(r){var u=(0,n.parseHtml)(t,e.html,r,s,e.useCss)||{};i=u.head||i,o=u.body||i,a=u.foot||i}else console.error("Cannot parse html in non browser environment")}return{columns:e.columns||c(i,o,a),head:i,body:o,foot:a}}(r,h,f);return{id:e.tableId,content:b,hooks:p,styles:d,settings:m}}},291:function(t,e){function r(t){t.rowHeight?(console.error("Use of deprecated style rowHeight. It is renamed to minCellHeight."),t.minCellHeight||(t.minCellHeight=t.rowHeight)):t.columnWidth&&(console.error("Use of deprecated style columnWidth. It is renamed to cellWidth."),t.cellWidth||(t.cellWidth=t.columnWidth))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){for(var o=function(e){e&&"object"!=typeof e&&console.error("The options parameter should be of type object, is: "+typeof e),void 0!==e.extendWidth&&(e.tableWidth=e.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),void 0!==e.margins&&(void 0===e.margin&&(e.margin=e.margins),console.error("Use of deprecated option: margins, use margin instead.")),e.startY&&"number"!=typeof e.startY&&(console.error("Invalid value for startY option",e.startY),delete e.startY),!e.didDrawPage&&(e.afterPageContent||e.beforePageContent||e.afterPageAdd)&&(console.error("The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead"),e.didDrawPage=function(r){t.applyStyles(t.userStyles),e.beforePageContent&&e.beforePageContent(r),t.applyStyles(t.userStyles),e.afterPageContent&&e.afterPageContent(r),t.applyStyles(t.userStyles),e.afterPageAdd&&r.pageNumber>1&&r.afterPageAdd(r),t.applyStyles(t.userStyles)}),["createdHeaderCell","drawHeaderRow","drawRow","drawHeaderCell"].forEach((function(t){e[t]&&console.error('The "'+t+'" hook has changed in version 3.0, check the changelog for how to migrate.')})),[["showFoot","showFooter"],["showHead","showHeader"],["didDrawPage","addPageContent"],["didParseCell","createdCell"],["headStyles","headerStyles"]].forEach((function(t){var r=t[0],n=t[1];e[n]&&(console.error("Use of deprecated option "+n+". Use "+r+" instead"),e[r]=e[n])})),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(t){var r="string"==typeof t?t:t[0],n="string"==typeof t?t:t[1];void 0!==e[r]&&(void 0===e.styles[n]&&(e.styles[n]=e[r]),console.error("Use of deprecated option: "+r+", use the style "+n+" instead."))}));for(var n=0,i=["styles","bodyStyles","headStyles","footStyles"];n<i.length;n++)r(e[i[n]]||{});for(var o=e.columnStyles||{},a=0,s=Object.keys(o);a<s.length;a++)r(o[s[a]]||{})},a=0,s=[e,n,i];a<s.length;a++)o(s[a])}},287:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.Column=e.Cell=e.Row=e.Table=void 0;var n=r(913),i=r(662),o=r(200),a=function(){function t(t,e){this.pageNumber=1,this.pageCount=1,this.id=t.id,this.settings=t.settings,this.styles=t.styles,this.hooks=t.hooks,this.columns=e.columns,this.head=e.head,this.body=e.body,this.foot=e.foot}return t.prototype.getHeadHeight=function(t){return this.head.reduce((function(e,r){return e+r.getMaxCellHeight(t)}),0)},t.prototype.getFootHeight=function(t){return this.foot.reduce((function(e,r){return e+r.getMaxCellHeight(t)}),0)},t.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},t.prototype.callCellHooks=function(t,e,r,n,o,a){for(var s=0,c=e;s<c.length;s++){var u=!1===(0,c[s])(new i.CellHookData(t,this,r,n,o,a));if(r.text=Array.isArray(r.text)?r.text:[r.text],u)return!1}return!0},t.prototype.callEndPageHooks=function(t,e){t.applyStyles(t.userStyles);for(var r=0,n=this.hooks.didDrawPage;r<n.length;r++)(0,n[r])(new i.HookData(t,this,e))},t.prototype.getWidth=function(t){if("number"==typeof this.settings.tableWidth)return this.settings.tableWidth;if("wrap"===this.settings.tableWidth)return this.columns.reduce((function(t,e){return t+e.wrappedWidth}),0);var e=this.settings.margin;return t-e.left-e.right},t}();e.Table=a;var s=function(){function t(t,e,r,i,o){void 0===o&&(o=!1),this.height=0,this.raw=t,t instanceof n.HtmlRowInput&&(this.raw=t._element,this.element=t._element),this.index=e,this.section=r,this.cells=i,this.spansMultiplePages=o}return t.prototype.getMaxCellHeight=function(t){var e=this;return t.reduce((function(t,r){var n;return Math.max(t,(null===(n=e.cells[r.index])||void 0===n?void 0:n.height)||0)}),0)},t.prototype.hasRowSpan=function(t){var e=this;return t.filter((function(t){var r=e.cells[t.index];return!!r&&r.rowSpan>1})).length>0},t.prototype.canEntireRowFit=function(t,e){return this.getMaxCellHeight(e)<=t},t.prototype.getMinimumRowHeight=function(t,e){var r=this;return t.reduce((function(t,i){var o=r.cells[i.index];if(!o)return 0;var a=o.styles.fontSize/e.scaleFactor()*n.FONT_ROW_RATIO,s=o.padding("vertical")+a;return s>t?s:t}),0)},t}();e.Row=s;var c=function(){function t(t,e,r){var n,i;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=e,this.section=r,this.raw=t;var o=t;null==t||"object"!=typeof t||Array.isArray(t)?(this.rowSpan=1,this.colSpan=1):(this.rowSpan=t.rowSpan||1,this.colSpan=t.colSpan||1,o=null!==(i=null!==(n=t.content)&&void 0!==n?n:t.title)&&void 0!==i?i:t,t._element&&(this.raw=t._element));var a=null!=o?""+o:"";this.text=a.split(/\r\n|\r|\n/g)}return t.prototype.getTextPos=function(){var t,e;if("top"===this.styles.valign)t=this.y+this.padding("top");else if("bottom"===this.styles.valign)t=this.y+this.height-this.padding("bottom");else{var r=this.height-this.padding("vertical");t=this.y+r/2+this.padding("top")}if("right"===this.styles.halign)e=this.x+this.width-this.padding("right");else if("center"===this.styles.halign){var n=this.width-this.padding("horizontal");e=this.x+n/2+this.padding("left")}else e=this.x+this.padding("left");return{x:e,y:t}},t.prototype.getContentHeight=function(t){var e=(Array.isArray(this.text)?this.text.length:1)*(this.styles.fontSize/t*n.FONT_ROW_RATIO)+this.padding("vertical");return Math.max(e,this.styles.minCellHeight)},t.prototype.padding=function(t){var e=(0,o.parseSpacing)(this.styles.cellPadding,0);return"vertical"===t?e.top+e.bottom:"horizontal"===t?e.left+e.right:e[t]},t}();e.Cell=c;var u=function(){function t(t,e,r){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=t,this.raw=e,this.index=r}return t.prototype.getMaxCustomCellWidth=function(t){for(var e=0,r=0,n=t.allRows();r<n.length;r++){var i=n[r].cells[this.index];i&&"number"==typeof i.styles.cellWidth&&(e=Math.max(e,i.styles.cellWidth))}return e},t}();e.Column=u},360:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.assign=void 0,e.assign=function(t,e,r,n,i){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),a=1;a<arguments.length;a++){var s=arguments[a];if(null!=s)for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(o[c]=s[c])}return o}},858:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.createTable=void 0;var n=r(323),i=r(287),o=r(189),a=r(913),s=r(360);function c(t,e,r,n,o,a){var s={};return e.map((function(e,c){for(var u=0,f={},h=0,d=0,p=0,m=r;p<m.length;p++){var b=m[p];if(null==s[b.index]||0===s[b.index].left)if(0===d){var v,g={};"object"!=typeof(v=Array.isArray(e)?e[b.index-h-u]:e[b.dataKey])||Array.isArray(v)||(g=(null==v?void 0:v.styles)||{});var y=l(t,b,c,o,n,a,g),w=new i.Cell(v,y,t);f[b.dataKey]=w,f[b.index]=w,d=w.colSpan-1,s[b.index]={left:w.rowSpan-1,times:d}}else d--,h++;else s[b.index].left--,d=s[b.index].times,u++}return new i.Row(e,c,t,f)}))}function u(t,e){var r={};return t.forEach((function(t){if(null!=t.raw){var n=function(t,e){if("head"===t){if("object"==typeof e)return e.header||e.title||null;if("string"==typeof e||"number"==typeof e)return e}else if("foot"===t&&"object"==typeof e)return e.footer;return null}(e,t.raw);null!=n&&(r[t.dataKey]=n)}})),Object.keys(r).length>0?r:null}function l(t,e,r,n,i,o,c){var u,l=(0,a.getTheme)(n);"head"===t?u=i.headStyles:"body"===t?u=i.bodyStyles:"foot"===t&&(u=i.footStyles);var f=(0,s.assign)({},l.table,l[t],i.styles,u),h=i.columnStyles[e.dataKey]||i.columnStyles[e.index]||{},d="body"===t?h:{},p="body"===t&&r%2==0?(0,s.assign)({},l.alternateRow,i.alternateRowStyles):{},m=(0,a.defaultStyles)(o),b=(0,s.assign)({},m,f,p,d);return(0,s.assign)(b,c)}e.createTable=function(t,e){var r=new n.DocHandler(t),a=function(t,e){var r,n=t.content,o=function(t){return t.map((function(t,e){var r,n,o;return o="object"==typeof t&&null!==(n=null!==(r=t.dataKey)&&void 0!==r?r:t.key)&&void 0!==n?n:e,new i.Column(o,t,e)}))}(n.columns);0===n.head.length&&(r=u(o,"head"))&&n.head.push(r),0===n.foot.length&&(r=u(o,"foot"))&&n.foot.push(r);var a=t.settings.theme,s=t.styles;return{columns:o,head:c("head",n.head,o,s,a,e),body:c("body",n.body,o,s,a,e),foot:c("foot",n.foot,o,s,a,e)}}(e,r.scaleFactor()),s=new i.Table(e,a);return(0,o.calculateWidths)(r,s),r.applyStyles(r.userStyles),s}},49:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.addPage=e.drawTable=void 0;var n=r(913),i=r(200),o=r(287),a=r(323),s=r(360),c=r(938),u=r(435);function l(t,e,r){var i=t.styles.fontSize/r.scaleFactor()*n.FONT_ROW_RATIO,o=t.padding("vertical"),a=Math.floor((e-o)/i);return Math.max(0,a)}function f(t,e,r,n,i,a,c){var u=function(t,e,r,n){var i=e.settings.margin.bottom,o=e.settings.showFoot;return("everyPage"===o||"lastPage"===o&&r)&&(i+=e.getFootHeight(e.columns)),t.pageSize().height-n.y-i}(t,e,n,a);if(r.canEntireRowFit(u,c))h(t,e,r,a,c);else if(function(t,e,r,n){var i=t.pageSize().height,o=n.settings.margin,a=i-(o.top+o.bottom);"body"===e.section&&(a-=n.getHeadHeight(n.columns)+n.getFootHeight(n.columns));var s=e.getMinimumRowHeight(n.columns,t),c=s<r;if(s>a)return console.error("Will not be able to print row "+e.index+" correctly since it's minimum height is larger than page height"),!0;if(!c)return!1;var u=e.hasRowSpan(n.columns);return e.getMaxCellHeight(n.columns)>a?(u&&console.error("The content of row "+e.index+" will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported."),!0):!u&&"avoid"!==n.settings.rowPageBreak}(t,r,u,e)){var d=function(t,e,r,n){var i={};t.spansMultiplePages=!0,t.height=0;for(var a=0,c=0,u=r.columns;c<u.length;c++){var f=u[c];if(g=t.cells[f.index]){Array.isArray(g.text)||(g.text=[g.text]);var h=new o.Cell(g.raw,g.styles,g.section);(h=(0,s.assign)(h,g)).text=[];var d=l(g,e,n);g.text.length>d&&(h.text=g.text.splice(d,g.text.length));var p=n.scaleFactor();g.contentHeight=g.getContentHeight(p),g.contentHeight>=e&&(g.contentHeight=e,h.styles.minCellHeight-=e),g.contentHeight>t.height&&(t.height=g.contentHeight),h.contentHeight=h.getContentHeight(p),h.contentHeight>a&&(a=h.contentHeight),i[f.index]=h}}var m=new o.Row(t.raw,-1,t.section,i,!0);m.height=a;for(var b=0,v=r.columns;b<v.length;b++){var g;f=v[b],(h=m.cells[f.index])&&(h.height=m.height),(g=t.cells[f.index])&&(g.height=t.height)}return m}(r,u,e,t);h(t,e,r,a,c),p(t,e,i,a,c),f(t,e,d,n,i,a,c)}else p(t,e,i,a,c),f(t,e,r,n,i,a,c)}function h(t,e,r,n,i){n.x=e.settings.margin.left;for(var o=0,a=i;o<a.length;o++){var s=a[o],u=r.cells[s.index];if(u)if(t.applyStyles(u.styles),u.x=n.x,u.y=n.y,!1!==e.callCellHooks(t,e.hooks.willDrawCell,u,r,s,n)){d(t,u,n);var l=u.getTextPos();(0,c.default)(u.text,l.x,l.y,{halign:u.styles.halign,valign:u.styles.valign,maxWidth:Math.ceil(u.width-u.padding("left")-u.padding("right"))},t.getDocument()),e.callCellHooks(t,e.hooks.didDrawCell,u,r,s,n),n.x+=s.width}else n.x+=s.width;else n.x+=s.width}n.y+=r.height}function d(t,e,r){var n=e.styles;if(t.getDocument().setFillColor(t.getDocument().getFillColor()),"number"==typeof n.lineWidth){var o=(0,i.getFillStyle)(n.lineWidth,n.fillColor);o&&t.rect(e.x,r.y,e.width,e.height,o)}else if("object"==typeof n.lineWidth){t.rect(e.x,r.y,e.width,e.height,"F");var a=Object.keys(n.lineWidth),s=n.lineWidth;a.map((function(o){var a=(0,i.getFillStyle)(s[o],n.fillColor);!function(t,e,r,n,i,o){var a,s,c,u;switch(n){case"top":a=r.x,s=r.y,c=r.x+e.width,u=r.y;break;case"left":a=r.x,s=r.y,c=r.x,u=r.y+e.height;break;case"right":a=r.x+e.width,s=r.y,c=r.x+e.width,u=r.y+e.height;break;default:a=r.x,s=r.y+e.height-o,c=r.x+e.width,u=r.y+e.height-o}t.getDocument().setLineWidth(o),t.getDocument().line(a,s,c,u,i)}(t,e,r,o,a||"S",s[o])}))}}function p(t,e,r,n,o){void 0===o&&(o=[]),t.applyStyles(t.userStyles),"everyPage"===e.settings.showFoot&&e.foot.forEach((function(r){return h(t,e,r,n,o)})),e.callEndPageHooks(t,n);var a=e.settings.margin;(0,i.addTableBorder)(t,e,r,n),m(t),e.pageNumber++,e.pageCount++,n.x=a.left,n.y=a.top,r.y=a.top,"everyPage"===e.settings.showHead&&e.head.forEach((function(r){return h(t,e,r,n,o)}))}function m(t){var e=t.pageNumber();t.setPage(e+1),t.pageNumber()===e&&t.addPage()}e.drawTable=function(t,e){var r=e.settings,n=r.startY,o=r.margin,c={x:o.left,y:n},l=e.getHeadHeight(e.columns)+e.getFootHeight(e.columns),d=n+o.bottom+l;"avoid"===r.pageBreak&&(d+=e.allRows().reduce((function(t,e){return t+e.height}),0));var b=new a.DocHandler(t);("always"===r.pageBreak||null!=r.startY&&d>b.pageSize().height)&&(m(b),c.y=o.top);var v=(0,s.assign)({},c);e.startPageNumber=b.pageNumber(),!0===r.horizontalPageBreak?function(t,e,r,n){u.default.calculateAllColumnsCanFitInPage(t,e).map((function(i,o){t.applyStyles(t.userStyles),o>0?p(t,e,r,n,i.columns):function(t,e,r,n){var i=e.settings;t.applyStyles(t.userStyles),("firstPage"===i.showHead||"everyPage"===i.showHead)&&e.head.forEach((function(i){return h(t,e,i,r,n)}))}(t,e,n,i.columns),function(t,e,r,n,i){t.applyStyles(t.userStyles),e.body.forEach((function(o,a){var s=a===e.body.length-1;f(t,e,o,s,r,n,i)}))}(t,e,r,n,i.columns),function(t,e,r,n){var i=e.settings;t.applyStyles(t.userStyles),("lastPage"===i.showFoot||"everyPage"===i.showFoot)&&e.foot.forEach((function(i){return h(t,e,i,r,n)}))}(t,e,n,i.columns)}))}(b,e,v,c):(b.applyStyles(b.userStyles),"firstPage"!==r.showHead&&"everyPage"!==r.showHead||e.head.forEach((function(t){return h(b,e,t,c,e.columns)})),b.applyStyles(b.userStyles),e.body.forEach((function(t,r){var n=r===e.body.length-1;f(b,e,t,n,v,c,e.columns)})),b.applyStyles(b.userStyles),"lastPage"!==r.showFoot&&"everyPage"!==r.showFoot||e.foot.forEach((function(t){return h(b,e,t,c,e.columns)}))),(0,i.addTableBorder)(b,e,v,c),e.callEndPageHooks(b,c),e.finalY=c.y,t.lastAutoTable=e,t.previousAutoTable=e,t.autoTable&&(t.autoTable.previous=e),b.applyStyles(b.userStyles)},e.addPage=p},435:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});var n=r(200),i=function(t,e){var r=(0,n.parseSpacing)(e.settings.margin,0);return t.pageSize().width-(r.left+r.right)},o=function(t,e,r){void 0===r&&(r={});var n=i(t,e),o=e.settings.horizontalPageBreakRepeat,a=null,s=[],c=[],u=e.columns.length,l=r&&r.start?r.start:0;for(null!=o&&(a=e.columns.find((function(t){return t.dataKey===o||t.index===o})))&&(s.push(a.index),c.push(e.columns[a.index]),n-=a.wrappedWidth);l<u;)if((null==a?void 0:a.index)!==l){var f=e.columns[l].wrappedWidth;if(n<f){0!==l&&l!==r.start||(s.push(l),c.push(e.columns[l]));break}s.push(l),c.push(e.columns[l]),n-=f,l++}else l++;return{colIndexes:s,columns:c,lastIndex:l}};e.default={getColumnsCanFitInPage:o,calculateAllColumnsCanFitInPage:function(t,e){for(var r=[],n=0,i=e.columns.length;n<i;){var a=o(t,e,{start:0===n?0:n});a&&a.columns&&a.columns.length?(n=a.lastIndex,r.push(a)):n++}return r},getPageAvailableWidth:i}},189:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsize=e.resizeColumns=e.calculateWidths=void 0;var n=r(200),i=r(435);function o(t,e,r){for(var n=e,i=t.reduce((function(t,e){return t+e.wrappedWidth}),0),a=0;a<t.length;a++){var s=t[a],c=n*(s.wrappedWidth/i),u=s.width+c,l=r(s),f=u<l?l:u;e-=f-s.width,s.width=f}if(e=Math.round(1e10*e)/1e10){var h=t.filter((function(t){return!(e<0)||t.width>r(t)}));h.length&&(e=o(h,e,r))}return e}function a(t,e,r,i,o){return t.map((function(t){return function(t,e,r,i,o){var a=1e4*i.scaleFactor();if((e=Math.ceil(e*a)/a)>=(0,n.getStringWidth)(t,r,i))return t;for(;e<(0,n.getStringWidth)(t+o,r,i)&&!(t.length<=1);)t=t.substring(0,t.length-1);return t.trim()+o}(t,e,r,i,o)}))}e.calculateWidths=function(t,e){!function(t,e){var r=t.scaleFactor(),o=e.settings.horizontalPageBreak,a=i.default.getPageAvailableWidth(t,e);e.allRows().forEach((function(i){for(var s=0,c=e.columns;s<c.length;s++){var u=c[s],l=i.cells[u.index];if(l){var f=e.hooks.didParseCell;e.callCellHooks(t,f,l,i,u,null);var h=l.padding("horizontal");l.contentWidth=(0,n.getStringWidth)(l.text,l.styles,t)+h;var d=(0,n.getStringWidth)(l.text.join(" ").split(/\s+/),l.styles,t);if(l.minReadableWidth=d+l.padding("horizontal"),"number"==typeof l.styles.cellWidth)l.minWidth=l.styles.cellWidth,l.wrappedWidth=l.styles.cellWidth;else if("wrap"===l.styles.cellWidth||!0===o)l.contentWidth>a?(l.minWidth=a,l.wrappedWidth=a):(l.minWidth=l.contentWidth,l.wrappedWidth=l.contentWidth);else{var p=10/r;l.minWidth=l.styles.minCellWidth||p,l.wrappedWidth=l.contentWidth,l.minWidth>l.wrappedWidth&&(l.wrappedWidth=l.minWidth)}}}})),e.allRows().forEach((function(t){for(var r=0,n=e.columns;r<n.length;r++){var i=n[r],o=t.cells[i.index];if(o&&1===o.colSpan)i.wrappedWidth=Math.max(i.wrappedWidth,o.wrappedWidth),i.minWidth=Math.max(i.minWidth,o.minWidth),i.minReadableWidth=Math.max(i.minReadableWidth,o.minReadableWidth);else{var a=e.styles.columnStyles[i.dataKey]||e.styles.columnStyles[i.index]||{},s=a.cellWidth||a.minCellWidth;s&&"number"==typeof s&&(i.minWidth=s,i.wrappedWidth=s)}o&&(o.colSpan>1&&!i.minWidth&&(i.minWidth=o.minWidth),o.colSpan>1&&!i.wrappedWidth&&(i.wrappedWidth=o.minWidth))}}))}(t,e);var r=[],s=0;e.columns.forEach((function(t){var n=t.getMaxCustomCellWidth(e);n?t.width=n:(t.width=t.wrappedWidth,r.push(t)),s+=t.width}));var c=e.getWidth(t.pageSize().width)-s;c&&(c=o(r,c,(function(t){return Math.max(t.minReadableWidth,t.minWidth)}))),c&&(c=o(r,c,(function(t){return t.minWidth}))),c=Math.abs(c),!e.settings.horizontalPageBreak&&c>.1/t.scaleFactor()&&(c=c<1?c:Math.round(c),console.error("Of the table content, "+c+" units width could not fit page")),function(t){for(var e=t.allRows(),r=0;r<e.length;r++)for(var n=e[r],i=null,o=0,a=0,s=0;s<t.columns.length;s++){var c=t.columns[s];if((a-=1)>1&&t.columns[s+1])o+=c.width,delete n.cells[c.index];else if(i){var u=i;delete n.cells[c.index],i=null,u.width=c.width+o}else{if(!(u=n.cells[c.index]))continue;if(a=u.colSpan,o=0,u.colSpan>1){i=u,o+=c.width;continue}u.width=c.width+o}}}(e),function(t,e){for(var r={count:0,height:0},n=0,i=t.allRows();n<i.length;n++){for(var o=i[n],s=0,c=t.columns;s<c.length;s++){var u=c[s],l=o.cells[u.index];if(l){e.applyStyles(l.styles,!0);var f=l.width-l.padding("horizontal");"linebreak"===l.styles.overflow?l.text=e.splitTextToSize(l.text,f+1/e.scaleFactor(),{fontSize:l.styles.fontSize}):"ellipsize"===l.styles.overflow?l.text=a(l.text,f,l.styles,e,"..."):"hidden"===l.styles.overflow?l.text=a(l.text,f,l.styles,e,""):"function"==typeof l.styles.overflow&&(l.text=l.styles.overflow(l.text,f)),l.contentHeight=l.getContentHeight(e.scaleFactor());var h=l.contentHeight/l.rowSpan;l.rowSpan>1&&r.count*r.height<h*l.rowSpan?r={height:h,count:l.rowSpan}:r&&r.count>0&&r.height>h&&(h=r.height),h>o.height&&(o.height=h)}}r.count--}}(e,t),function(t){for(var e={},r=1,n=t.allRows(),i=0;i<n.length;i++)for(var o=n[i],a=0,s=t.columns;a<s.length;a++){var c=s[a],u=e[c.index];if(r>1)r--,delete o.cells[c.index];else if(u)u.cell.height+=o.height,r=u.cell.colSpan,delete o.cells[c.index],u.left--,u.left<=1&&delete e[c.index];else{var l=o.cells[c.index];if(!l)continue;if(l.height=o.height,l.rowSpan>1){var f=n.length-i,h=l.rowSpan>f?f:l.rowSpan;e[c.index]={cell:l,left:h,row:o}}}}}(e)},e.resizeColumns=o,e.ellipsize=a},84:function(t){if(void 0===n){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}t.exports=n}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}var i={};return function(){var t=i;Object.defineProperty(t,"__esModule",{value:!0}),t.Cell=t.Column=t.Row=t.Table=t.CellHookData=t.__drawTable=t.__createTable=t.applyPlugin=void 0;var e=r(790),n=r(587),o=r(49),a=r(858),s=r(287);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return s.Table}});var c=r(662);Object.defineProperty(t,"CellHookData",{enumerable:!0,get:function(){return c.CellHookData}});var u=r(287);function l(t){(0,e.default)(t)}Object.defineProperty(t,"Cell",{enumerable:!0,get:function(){return u.Cell}}),Object.defineProperty(t,"Column",{enumerable:!0,get:function(){return u.Column}}),Object.defineProperty(t,"Row",{enumerable:!0,get:function(){return u.Row}}),t.applyPlugin=l,t.default=function(t,e){var r=(0,n.parseInput)(t,e),i=(0,a.createTable)(t,r);(0,o.drawTable)(t,i)},t.__createTable=function(t,e){var r=(0,n.parseInput)(t,e);return(0,a.createTable)(t,r)},t.__drawTable=function(t,e){(0,o.drawTable)(t,e)};try{var f=r(84);f.jsPDF&&(f=f.jsPDF),l(f)}catch(t){}}(),i}())},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");e.default=a},function(t,e,r){"use strict";r.d(e,"c",(function(){return a})),r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return l}));var n=r(14),i=r(2),o=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function c(t){return"".concat(Math.round(t),"ms")}function u(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}function l(t){var e=Object(i.a)({},a,t.easing),r=Object(i.a)({},s,t.duration);return Object(i.a)({getAutoHeightDuration:u,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,s=void 0===a?r.standard:a,u=i.easing,l=void 0===u?e.easeInOut:u,f=i.delay,h=void 0===f?0:f;Object(n.a)(i,o);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:c(s)," ").concat(l," ").concat("string"===typeof h?h:c(h))})).join(",")}},t,{easing:e,duration:r})}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return R})),r.d(e,"b",(function(){return H})),r.d(e,"c",(function(){return L})),r.d(e,"d",(function(){return I})),r.d(e,"e",(function(){return l})),r.d(e,"f",(function(){return X})),r.d(e,"g",(function(){return j})),r.d(e,"h",(function(){return A})),r.d(e,"i",(function(){return _})),r.d(e,"j",(function(){return K})),r.d(e,"k",(function(){return $})),r.d(e,"l",(function(){return G})),r.d(e,"m",(function(){return P})),r.d(e,"n",(function(){return Y})),r.d(e,"o",(function(){return D}));var n="-ms-",i="-moz-",o="-webkit-",a="comm",s="rule",c="decl",u=Math.abs,l=String.fromCharCode;function f(t){return t.trim()}function h(t,e,r){return t.replace(e,r)}function d(t,e){return t.indexOf(e)}function p(t,e){return 0|t.charCodeAt(e)}function m(t,e,r){return t.slice(e,r)}function b(t){return t.length}function v(t){return t.length}function g(t,e){return e.push(t),t}function y(t,e){return t.map(e).join("")}var w=1,x=1,O=0,_=0,S=0,k="";function E(t,e,r,n,i,o,a){return{value:t,root:e,parent:r,type:n,props:i,children:o,line:w,column:x,length:a,return:""}}function M(t,e,r){return E(t,e.root,e.parent,r,e.props,e.children,0)}function C(){return S=_>0?p(k,--_):0,x--,10===S&&(x=1,w--),S}function j(){return S=_<O?p(k,_++):0,x++,10===S&&(x=1,w++),S}function A(){return p(k,_)}function T(){return _}function P(t,e){return m(k,t,e)}function D(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(t){return w=x=1,O=b(k=t),_=0,[]}function L(t){return k="",t}function I(t){return f(P(_-1,function t(e){for(;j();)switch(S){case e:return _;case 34:case 39:return t(34===e||39===e?e:S);case 40:41===e&&t(e);break;case 92:j()}return _}(91===t?t+2:40===t?t+1:t)))}function N(t){for(;(S=A())&&S<33;)j();return D(t)>2||D(S)>3?"":" "}function F(t,e){for(;--e&&j()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return P(t,T()+(e<6&&32==A()&&32==j()))}function B(t,e){for(;j()&&t+S!==57&&(t+S!==84||47!==A()););return"/*"+P(e,_-1)+"*"+l(47===t?t:j())}function z(t){for(;!D(A());)j();return P(t,_)}function H(t){return L(function t(e,r,n,i,o,a,s,c,u){var f=0,d=0,p=s,m=0,v=0,y=0,w=1,x=1,O=1,_=0,S="",k=o,E=a,M=i,P=S;for(;x;)switch(y=_,_=j()){case 34:case 39:case 91:case 40:P+=I(_);break;case 9:case 10:case 13:case 32:P+=N(y);break;case 92:P+=F(T()-1,7);continue;case 47:switch(A()){case 42:case 47:g(W(B(j(),T()),r,n),u);break;default:P+="/"}break;case 123*w:c[f++]=b(P)*O;case 125*w:case 59:case 0:switch(_){case 0:case 125:x=0;case 59+d:v>0&&b(P)-p&&g(v>32?q(P+";",i,n,p-1):q(h(P," ","")+";",i,n,p-2),u);break;case 59:P+=";";default:if(g(M=U(P,r,n,f,d,o,c,S,k=[],E=[],p),a),123===_)if(0===d)t(P,r,M,M,k,a,p,c,E);else switch(m){case 100:case 109:case 115:t(e,M,M,i&&g(U(e,M,M,0,0,o,c,S,o,k=[],p),E),o,E,p,c,i?k:E);break;default:t(P,M,M,M,[""],E,p,c,E)}}f=d=v=0,w=O=1,S=P="",p=s;break;case 58:p=1+b(P),v=y;default:if(w<1)if(123==_)--w;else if(125==_&&0==w++&&125==C())continue;switch(P+=l(_),_*w){case 38:O=d>0?1:(P+="\f",-1);break;case 44:c[f++]=(b(P)-1)*O,O=1;break;case 64:45===A()&&(P+=I(j())),m=A(),d=b(S=P+=z(T())),_++;break;case 45:45===y&&2==b(P)&&(w=0)}}return a}("",null,null,null,[""],t=R(t),0,[0],t))}function U(t,e,r,n,i,o,a,c,l,d,p){for(var b=i-1,g=0===i?o:[""],y=v(g),w=0,x=0,O=0;w<n;++w)for(var _=0,S=m(t,b+1,b=u(x=a[w])),k=t;_<y;++_)(k=f(x>0?g[_]+" "+S:h(S,/&\f/g,g[_])))&&(l[O++]=k);return E(t,e,r,0===i?s:c,l,d,p)}function W(t,e,r){return E(t,e,r,a,l(S),m(t,2,-2),0)}function q(t,e,r,n){return E(t,e,r,c,m(t,0,n),m(t,n+1,-1),n)}function V(t,e){switch(function(t,e){return(((e<<2^p(t,0))<<2^p(t,1))<<2^p(t,2))<<2^p(t,3)}(t,e)){case 5103:return o+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return o+t+i+t+n+t+t;case 6828:case 4268:return o+t+n+t+t;case 6165:return o+t+n+"flex-"+t+t;case 5187:return o+t+h(t,/(\w+).+(:[^]+)/,o+"box-$1$2"+n+"flex-$1$2")+t;case 5443:return o+t+n+"flex-item-"+h(t,/flex-|-self/,"")+t;case 4675:return o+t+n+"flex-line-pack"+h(t,/align-content|flex-|-self/,"")+t;case 5548:return o+t+n+h(t,"shrink","negative")+t;case 5292:return o+t+n+h(t,"basis","preferred-size")+t;case 6060:return o+"box-"+h(t,"-grow","")+o+t+n+h(t,"grow","positive")+t;case 4554:return o+h(t,/([^-])(transform)/g,"$1"+o+"$2")+t;case 6187:return h(h(h(t,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),t,"")+t;case 5495:case 3959:return h(t,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return h(h(t,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+t+t;case 4095:case 3583:case 4068:case 2532:return h(t,/(.+)-inline(.+)/,o+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(t)-1-e>6)switch(p(t,e+1)){case 109:if(45!==p(t,e+4))break;case 102:return h(t,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+i+(108==p(t,e+3)?"$3":"$2-$3"))+t;case 115:return~d(t,"stretch")?V(h(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==p(t,e+1))break;case 6444:switch(p(t,b(t)-3-(~d(t,"!important")&&10))){case 107:return h(t,":",":"+o)+t;case 101:return h(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===p(t,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+n+"$2box$3")+t}break;case 5936:switch(p(t,e+11)){case 114:return o+t+n+h(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return o+t+n+h(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return o+t+n+h(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return o+t+n+t+t}return t}function G(t,e){for(var r="",n=v(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function Y(t,e,r,n){switch(t.type){case"@import":case c:return t.return=t.return||t.value;case a:return"";case s:t.value=t.props.join(",")}return b(r=G(t.children,n))?t.return=t.value+"{"+r+"}":""}function X(t){var e=v(t);return function(r,n,i,o){for(var a="",s=0;s<e;s++)a+=t[s](r,n,i,o)||"";return a}}function $(t){return function(e){e.root||(e=e.return)&&t(e)}}function K(t,e,r,i){if(!t.return)switch(t.type){case c:t.return=V(t.value,t.length);break;case"@keyframes":return G([M(h(t.value,"@","@"+o),t,"")],i);case s:if(t.length)return y(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return G([M(h(e,/:(read-\w+)/,":-moz-$1"),t,"")],i);case"::placeholder":return G([M(h(e,/:(plac\w+)/,":"+o+"input-$1"),t,""),M(h(e,/:(plac\w+)/,":-moz-$1"),t,""),M(h(e,/:(plac\w+)/,n+"input-$1"),t,"")],i)}return""}))}}},function(t,e,r){"use strict";var n=r(508),i="object"==typeof self&&self&&self.Object===Object&&self,o=n.a||i||Function("return this")();e.a=o},,,function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(656),i=(r(0),r(282));function o(){return Object(n.a)()||i.a}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(20),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(t){return"".concat(Math.round(t),"ms")}e.a={easing:i,duration:o,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.duration,s=void 0===r?o.standard:r,c=e.easing,u=void 0===c?i.easeInOut:c,l=e.delay,f=void 0===l?0:l;Object(n.a)(e,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:a(s)," ").concat(u," ").concat("string"===typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}}},function(t,e,r){"use strict";var n=r(885);e.a=n.a},,,function(t,e,r){var n;"undefined"!=typeof self&&self,t.exports=(n=r(0),function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,r){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0});var s=r(1),c=r.n(s),u="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,l=Object(s.forwardRef)((function(t,e){var r=Object(s.useRef)(),o=Object(s.useRef)();return u((function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":a(window))&&window.Highcharts,n=t.constructorType||"chart";e?e[n]?t.options?o.current=e[n](r.current,t.options,t.callback?t.callback:void 0):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(o.current){if(!1!==t.allowChartUpdate)if(!t.immutable&&o.current){var n;(n=o.current).update.apply(n,[t.options].concat(i(t.updateArgs||[!0,!0])))}else e()}else e()})),u((function(){return function(){o.current&&(o.current.destroy(),o.current=null)}}),[]),Object(s.useImperativeHandle)(e,(function(){return{get chart(){return o.current},container:r}}),[]),c.a.createElement("div",n({},t.containerProps,{ref:r}))}));e.default=Object(s.memo)(l)},function(t,e){t.exports=n}]))},function(t,e,r){"use strict";r.d(e,"e",(function(){return j})),r.d(e,"d",(function(){return A})),r.d(e,"b",(function(){return T})),r.d(e,"a",(function(){return P}));var n=r(3),i=r(1),o=r(14),a=r(2),s=r(553),c=r(0),u=(r(10),r(8)),l=r(78),f=r(1415),h=r(252),d=r(222),p=r(285),m=r(170),b=r(13),v=r(22),g=r(24),y=r(72),w=r(156),x=r(1313),O=r(332),_=r(339),S=r(340);function k(t){return Object(_.a)("MuiInputBase",t)}var E=Object(S.a)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),M=r(6),C=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],j=function(t,e){var r=t.ownerState;return[e.root,r.formControl&&e.formControl,r.startAdornment&&e.adornedStart,r.endAdornment&&e.adornedEnd,r.error&&e.error,"small"===r.size&&e.sizeSmall,r.multiline&&e.multiline,r.color&&e["color".concat(Object(g.a)(r.color))],r.fullWidth&&e.fullWidth,r.hiddenLabel&&e.hiddenLabel]},A=function(t,e){var r=t.ownerState;return[e.input,"small"===r.size&&e.inputSizeSmall,r.multiline&&e.inputMultiline,"search"===r.type&&e.inputTypeSearch,r.startAdornment&&e.inputAdornedStart,r.endAdornment&&e.inputAdornedEnd,r.hiddenLabel&&e.inputHiddenLabel]},T=Object(b.a)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:j})((function(t){var e=t.theme,r=t.ownerState;return Object(a.a)({},e.typography.body1,Object(i.a)({color:e.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(E.disabled),{color:e.palette.text.disabled,cursor:"default"}),r.multiline&&Object(a.a)({padding:"4px 0 5px"},"small"===r.size&&{paddingTop:1}),r.fullWidth&&{width:"100%"})})),P=Object(b.a)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:A})((function(t){var e,r=t.theme,n=t.ownerState,o="light"===r.palette.mode,s={color:"currentColor",opacity:o?.42:.5,transition:r.transitions.create("opacity",{duration:r.transitions.duration.shorter})},c={opacity:"0 !important"},u={opacity:o?.42:.5};return Object(a.a)((e={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},Object(i.a)(e,"label[data-shrink=false] + .".concat(E.formControl," &"),{"&::-webkit-input-placeholder":c,"&::-moz-placeholder":c,"&:-ms-input-placeholder":c,"&::-ms-input-placeholder":c,"&:focus::-webkit-input-placeholder":u,"&:focus::-moz-placeholder":u,"&:focus:-ms-input-placeholder":u,"&:focus::-ms-input-placeholder":u}),Object(i.a)(e,"&.".concat(E.disabled),{opacity:1,WebkitTextFillColor:r.palette.text.disabled}),Object(i.a)(e,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),e),"small"===n.size&&{paddingTop:1},n.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===n.type&&{MozAppearance:"textfield"})})),D=Object(M.jsx)(x.a,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),R=c.forwardRef((function(t,e){var r=Object(v.a)({props:t,name:"MuiInputBase"}),i=r["aria-describedby"],b=r.autoComplete,x=r.autoFocus,_=r.className,S=r.components,E=void 0===S?{}:S,j=r.componentsProps,A=void 0===j?{}:j,R=r.defaultValue,L=r.disabled,I=r.endAdornment,N=r.fullWidth,F=void 0!==N&&N,B=r.id,z=r.inputComponent,H=void 0===z?"input":z,U=r.inputProps,W=void 0===U?{}:U,q=r.inputRef,V=r.maxRows,G=r.minRows,Y=r.multiline,X=void 0!==Y&&Y,$=r.name,K=r.onBlur,Z=r.onChange,J=r.onClick,Q=r.onFocus,tt=r.onKeyDown,et=r.onKeyUp,rt=r.placeholder,nt=r.readOnly,it=r.renderSuffix,ot=r.rows,at=r.startAdornment,st=r.type,ct=void 0===st?"text":st,ut=r.value,lt=Object(o.a)(r,C),ft=null!=W.value?W.value:ut,ht=c.useRef(null!=ft).current,dt=c.useRef(),pt=c.useCallback((function(t){0}),[]),mt=Object(y.a)(W.ref,pt),bt=Object(y.a)(q,mt),vt=Object(y.a)(dt,bt),gt=c.useState(!1),yt=Object(n.a)(gt,2),wt=yt[0],xt=yt[1],Ot=Object(m.a)();var _t=Object(d.a)({props:r,muiFormControl:Ot,states:["color","disabled","error","hiddenLabel","size","required","filled"]});_t.focused=Ot?Ot.focused:wt,c.useEffect((function(){!Ot&&L&&wt&&(xt(!1),K&&K())}),[Ot,L,wt,K]);var St=Ot&&Ot.onFilled,kt=Ot&&Ot.onEmpty,Et=c.useCallback((function(t){Object(O.b)(t)?St&&St():kt&&kt()}),[St,kt]);Object(w.a)((function(){ht&&Et({value:ft})}),[ft,Et,ht]);c.useEffect((function(){Et(dt.current)}),[]);var Mt=H,Ct=W;X&&"input"===Mt&&(Ct=ot?Object(a.a)({type:void 0,minRows:ot,maxRows:ot},Ct):Object(a.a)({type:void 0,maxRows:V,minRows:G},Ct),Mt=f.a);c.useEffect((function(){Ot&&Ot.setAdornedStart(Boolean(at))}),[Ot,at]);var jt=Object(a.a)({},r,{color:_t.color||"primary",disabled:_t.disabled,endAdornment:I,error:_t.error,focused:_t.focused,formControl:Ot,fullWidth:F,hiddenLabel:_t.hiddenLabel,multiline:X,size:_t.size,startAdornment:at,type:ct}),At=function(t){var e=t.classes,r=t.color,n=t.disabled,i=t.error,o=t.endAdornment,a=t.focused,s=t.formControl,c=t.fullWidth,u=t.hiddenLabel,f=t.multiline,h=t.size,d=t.startAdornment,p=t.type,m={root:["root","color".concat(Object(g.a)(r)),n&&"disabled",i&&"error",c&&"fullWidth",a&&"focused",s&&"formControl","small"===h&&"sizeSmall",f&&"multiline",d&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel"],input:["input",n&&"disabled","search"===p&&"inputTypeSearch",f&&"inputMultiline","small"===h&&"inputSizeSmall",u&&"inputHiddenLabel",d&&"inputAdornedStart",o&&"inputAdornedEnd"]};return Object(l.a)(m,k,e)}(jt),Tt=E.Root||T,Pt=A.root||{},Dt=E.Input||P;return Ct=Object(a.a)({},Ct,A.input),Object(M.jsxs)(c.Fragment,{children:[D,Object(M.jsxs)(Tt,Object(a.a)({},Pt,!Object(h.a)(Tt)&&{ownerState:Object(a.a)({},jt,Pt.ownerState)},{ref:e,onClick:function(t){dt.current&&t.currentTarget===t.target&&dt.current.focus(),J&&J(t)}},lt,{className:Object(u.a)(At.root,Pt.className,_),children:[at,Object(M.jsx)(p.a.Provider,{value:null,children:Object(M.jsx)(Dt,Object(a.a)({ownerState:jt,"aria-invalid":_t.error,"aria-describedby":i,autoComplete:b,autoFocus:x,defaultValue:R,disabled:_t.disabled,id:B,onAnimationStart:function(t){Et("mui-auto-fill-cancel"===t.animationName?dt.current:{value:"x"})},name:$,placeholder:rt,readOnly:nt,required:_t.required,rows:ot,value:ft,onKeyDown:tt,onKeyUp:et,type:ct},Ct,!Object(h.a)(Dt)&&{as:Mt,ownerState:Object(a.a)({},jt,Ct.ownerState)},{ref:vt,className:Object(u.a)(At.input,Ct.className),onBlur:function(t){K&&K(t),W.onBlur&&W.onBlur(t),Ot&&Ot.onBlur?Ot.onBlur(t):xt(!1)},onChange:function(t){if(!ht){var e=t.target||dt.current;if(null==e)throw new Error(Object(s.a)(1));Et({value:e.value})}for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];W.onChange&&W.onChange.apply(W,[t].concat(n)),Z&&Z.apply(void 0,[t].concat(n))},onFocus:function(t){_t.disabled?t.stopPropagation():(Q&&Q(t),W.onFocus&&W.onFocus(t),Ot&&Ot.onFocus?Ot.onFocus(t):xt(!0))}}))}),I,it?it(Object(a.a)({},_t,{startAdornment:at})):null]}))]})}));e.c=R},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiSwitch",t)}var a=Object(i.a)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);e.a=a},function(t,e,r){"use strict";r.d(e,"d",(function(){return c})),r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return l})),r.d(e,"e",(function(){return f})),r.d(e,"c",(function(){return h}));var n=r(553);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),r)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map((function(t){return t+t}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),r=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(Object(n.a)(9,t));var i,a=t.substring(e+1,t.length-1);if("color"===r){if(i=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(n.a)(10,i))}else a=a.split(",");return{type:r,values:a=a.map((function(t){return parseFloat(t)})),colorSpace:i}}function a(t){var e=t.type,r=t.colorSpace,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),n=-1!==e.indexOf("color")?"".concat(r," ").concat(n.join(" ")):"".concat(n.join(", ")),"".concat(e,"(").concat(n,")")}function s(t){var e="hsl"===(t=o(t)).type?o(function(t){var e=(t=o(t)).values,r=e[0],n=e[1]/100,i=e[2]/100,s=n*Math.min(i,1-i),c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+r/30)%12;return i-s*Math.max(Math.min(e-3,9-e,1),-1)},u="rgb",l=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===t.type&&(u+="a",l.push(e[3])),a({type:u,values:l})}(t)).values:t.values;return e=e.map((function(e){return"color"!==t.type&&(e/=255),e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t,e){var r=s(t),n=s(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function u(t,e){return t=o(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]="/".concat(e):t.values[3]=e,a(t)}function l(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(var r=0;r<3;r+=1)t.values[r]*=1-e;return a(t)}function f(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;else if(-1!==t.type.indexOf("color"))for(var n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return a(t)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(t)>.5?l(t,e):f(t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i="undefined"!==typeof window?n.useLayoutEffect:n.useEffect;function o(t){var e=n.useRef(t);return i((function(){e.current=t})),n.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}},function(t,e,r){"use strict";r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return m})),r.d(e,"d",(function(){return b}));var n=r(3),i=r(126),o=r(41),a=r(236);var s={m:"margin",p:"padding"},c={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){if(t.length>2){if(!u[t])return[t];t=u[t]}var e=t.split(""),r=Object(n.a)(e,2),i=r[0],o=r[1],a=s[i],l=c[o]||"";return Array.isArray(l)?l.map((function(t){return a+t})):[a+l]})),f=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[].concat(f,h);function p(t,e,r,n){var i=Object(o.b)(t,e)||r;return"number"===typeof i?function(t){return"string"===typeof t?t:i*t}:Array.isArray(i)?function(t){return"string"===typeof t?t:i[t]}:"function"===typeof i?i:function(){}}function m(t){return p(t,"spacing",8)}function b(t,e){if("string"===typeof e||null==e)return e;var r=t(Math.abs(e));return e>=0?r:"number"===typeof r?-r:"-".concat(r)}function v(t,e,r,n){if(-1===e.indexOf(r))return null;var o=function(t,e){return function(r){return t.reduce((function(t,n){return t[n]=b(e,r),t}),{})}}(l(r),n),a=t[r];return Object(i.b)(t,a,o)}function g(t,e){var r=m(t.theme);return Object.keys(t).map((function(n){return v(t,e,n,r)})).reduce(a.a,{})}function y(t){return g(t,f)}function w(t){return g(t,h)}function x(t){return g(t,d)}y.propTypes={},y.filterProps=f,w.propTypes={},w.filterProps=h,x.propTypes={},x.filterProps=d;e.c=x},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return l})),r.d(e,"c",(function(){return h})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return u}));var n=r(0),i=r(633),o=(r(2),r(413),r(634),r(209)),a=r(254),s=Object.prototype.hasOwnProperty,c=Object(n.createContext)("undefined"!==typeof HTMLElement?Object(i.a)({key:"css"}):null);c.Provider;var u=function(t){return Object(n.forwardRef)((function(e,r){var i=Object(n.useContext)(c);return t(e,i,r)}))},l=Object(n.createContext)({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=function(t,e){var r={};for(var n in e)s.call(e,n)&&(r[n]=e[n]);return r[f]=t,r},d=u((function(t,e,r){var i=t.css;"string"===typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var c=t[f],u=[i],h="";"string"===typeof t.className?h=Object(o.a)(e.registered,u,t.className):null!=t.className&&(h=t.className+" ");var d=Object(a.a)(u,void 0,Object(n.useContext)(l));Object(o.b)(e,d,"string"===typeof c);h+=e.key+"-"+d.name;var p={};for(var m in t)s.call(t,m)&&"css"!==m&&m!==f&&(p[m]=t[m]);return p.ref=r,p.className=h,Object(n.createElement)(c,p)}))},function(t,e,r){"use strict";r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return c}));var n=r(173),i=r(104),o=r(87),a=r(499);function s(t){var e=t.domain;return t.ticks=function(t){var r=e();return Object(n.a)(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Object(a.a)(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var i,o,a=e(),s=0,c=a.length-1,u=a[s],l=a[c],f=10;for(l<u&&(o=u,u=l,l=o,o=s,s=c,c=o);f-- >0;){if((o=Object(n.b)(u,l,r))===i)return a[s]=u,a[c]=l,e(a);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o}i=o}return t},t}function c(){var t=Object(i.b)();return t.copy=function(){return Object(i.a)(t,c())},o.b.apply(t,arguments),s(t)}},function(t,e,r){"use strict";e.a=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return n[t]},set:function(t,e){if("string"===typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){n[e]=t[e]}))}}}},function(t,e,r){"use strict";var n=r(304);e.a=n.a},function(t,e,r){"use strict";var n=r(338);e.a=n.a},,function(t,e,r){var n=r(101).default;function i(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(i=function(t){return t?r:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!==typeof t)return{default:t};var r=i(e);if(r&&r.has(t))return r.get(t);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=a?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(o,s,c):o[s]=t[s]}return o.default=t,r&&r.set(t,o),o},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(2),i=r(0),o=r.n(i),a=r(20),s=(r(10),r(8)),c=r(26),u=r(38),l=i.forwardRef((function(t,e){var r=t.children,o=t.classes,c=t.className,l=t.color,f=void 0===l?"inherit":l,h=t.component,d=void 0===h?"svg":h,p=t.fontSize,m=void 0===p?"medium":p,b=t.htmlColor,v=t.titleAccess,g=t.viewBox,y=void 0===g?"0 0 24 24":g,w=Object(a.a)(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(d,Object(n.a)({className:Object(s.a)(o.root,c,"inherit"!==f&&o["color".concat(Object(u.a)(f))],"default"!==m&&"medium"!==m&&o["fontSize".concat(Object(u.a)(m))]),focusable:"false",viewBox:y,color:b,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:e},w),r,v?i.createElement("title",null,v):null)}));l.muiName="SvgIcon";var f=Object(c.a)((function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(l);function h(t,e){var r=function(e,r){return o.a.createElement(f,Object(n.a)({ref:r},e),t)};return r.muiName=f.muiName,o.a.memo(o.a.forwardRef(r))}},function(t,e,r){"use strict";var n=r(198),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n.a?n.a.toStringTag:void 0;var c=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(c){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i},u=Object.prototype.toString;var l=function(t){return u.call(t)},f=n.a?n.a.toStringTag:void 0;e.a=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":f&&f in Object(t)?c(t):l(t)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}));var n=function(t){return t.scrollTop};function i(t,e){var r=t.timeout,n=t.style,i=void 0===n?{}:n;return{duration:i.transitionDuration||"number"===typeof r?r:r[e.mode]||0,delay:i.transitionDelay}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}));var n=function(t){return t.scrollTop};function i(t,e){var r,n,i=t.timeout,o=t.easing,a=t.style,s=void 0===a?{}:a;return{duration:null!=(r=s.transitionDuration)?r:"number"===typeof i?i:i[e.mode]||0,easing:null!=(n=s.transitionTimingFunction)?n:"object"===typeof o?o[e.mode]:o,delay:s.transitionDelay}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n=r(866),i=new(r.n(n).a);i.setMaxListeners&&i.setMaxListeners(10);var o="recharts.syncMouseEvents"},,,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(192)},function(t,e,r){"use strict";r.r(e);var n=Array.isArray;e.default=n},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");e.default=a},function(t,e,r){"use strict";function n(t,e){"function"===typeof t?t(e):t&&(t.current=e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(285);function o(){return n.useContext(i.a)}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined");e.default=a},function(t,e,r){"use strict";var n=r(509),i=r(136).a["__core-js_shared__"],o=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var a=function(t){return!!o&&o in t},s=r(184),c=r(258),u=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,h=l.toString,d=f.hasOwnProperty,p=RegExp("^"+h.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var m=function(t){return!(!Object(s.a)(t)||a(t))&&(Object(n.a)(t)?p:u).test(Object(c.a)(t))};var b=function(t,e){return null==t?void 0:t[e]};e.a=function(t,e){var r=b(t,e);return m(r)?r:void 0}},function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return s}));var n=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(t,e,r){var a=(e-t)/Math.max(0,r),s=Math.floor(Math.log(a)/Math.LN10),c=a/Math.pow(10,s);return s>=0?(c>=n?10:c>=i?5:c>=o?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(c>=n?10:c>=i?5:c>=o?2:1)}function s(t,e,r){var a=Math.abs(e-t)/Math.max(0,r),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),c=a/s;return c>=n?s*=10:c>=i?s*=5:c>=o&&(s*=2),e<t?-s:s}e.a=function(t,e,r){var n,i,o,s,c=-1;if(r=+r,(t=+t)===(e=+e)&&r>0)return[t];if((n=e<t)&&(i=t,t=e,e=i),0===(s=a(t,e,r))||!isFinite(s))return[];if(s>0){var u=Math.round(t/s),l=Math.round(e/s);for(u*s<t&&++u,l*s>e&&--l,o=new Array(i=l-u+1);++c<i;)o[c]=(u+c)*s}else{s=-s;var f=Math.round(t*s),h=Math.round(e*s);for(f/s<t&&++f,h/s>e&&--h,o=new Array(i=h-f+1);++c<i;)o[c]=(f+c)/s}return n&&o.reverse(),o}},function(t,e,r){"use strict";r.d(e,"b",(function(){return _}));var n=r(0),i=r.n(n),o=r(10),a=r.n(o),s=r(863),c=r(303),u=r.n(c);function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1,n=function n(i){r<0&&(r=i),i-r>e?(t(i),r=-1):u()(n)};u()(n)}function f(t){return(f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function p(){var t=function(){return null},e=!1;return{stop:function(){e=!0},start:function(r){e=!1,function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var i=h(n),o=i[0],a=i.slice(1);return"number"===typeof o?void l(r.bind(null,a),o):(r(o),void l(r.bind(null,a)))}"object"===f(n)&&t(n),"function"===typeof n&&n()}}(r)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach((function(e){v(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var g=["Webkit","Moz","O","ms"],y=["-webkit-","-moz-","-o-","-ms-"],w=["transform","transformOrigin","transition"],x=function(t){return t},O=function(t,e){return Object.keys(e).reduce((function(r,n){return b(b({},r),{},v({},n,t(n,e[n])))}),{})},_=function(t){return Object.keys(t).reduce((function(t,e){return b(b({},t),function(t,e){if(-1===w.indexOf(t))return v({},t,e);var r="transition"===t,n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),i=e;return g.reduce((function(t,o,a){return r&&(i=e.replace(/(transform|transform-origin)/gim,"".concat(y[a],"$1"))),b(b({},t),{},v({},o+n,i))}),{})}(e,t[e]))}),t)},S=function(t,e,r){return t.map((function(t){return"".concat((n=t,n.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(r);var n})).join(",")};function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||M(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||M(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){if(t){if("string"===typeof t)return C(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var j=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},A=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},T=function(t,e){return function(r){var n=j(t,e);return A(n,r)}},P=function(t,e){return function(r){var n=j(t,e),i=[].concat(E(n.map((function(t,e){return t*e})).slice(1)),[0]);return A(i,r)}},D=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var s=e[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var c=s[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),u=k(c,4);n=u[0],i=u[1],o=u[2],a=u[3]}}[n,o,i,a].every((function(t){return"number"===typeof t&&t>=0&&t<=1}));var l=T(n,o),f=T(i,a),h=P(n,o),d=function(t){return t>1?1:t<0?0:t},p=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i=l(r)-e,o=h(r);if(Math.abs(i-e)<1e-4||o<1e-4)return f(r);r=d(r-i/o)}return f(r)};return p.isStepper=!1,p},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,s=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,s=n*a/1e3+t;return Math.abs(s-e)<1e-4&&Math.abs(o)<1e-4?[e,0]:[s,o]};return s.isStepper=!0,s.dt=a,s};function L(t){return function(t){if(Array.isArray(t))return H(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||z(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach((function(e){F(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function F(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||z(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(t,e){if(t){if("string"===typeof t)return H(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(t,e):void 0}}function H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var U=function(t,e,r){return t+(e-t)*r},W=function(t){return t.from!==t.to},q=function(t,e,r,n,i){var o,a,s,l,f=(o=t,a=e,[Object.keys(o),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),h=f.reduce((function(r,n){return N(N({},r),{},F({},n,[t[n],e[n]]))}),{}),d=f.reduce((function(r,n){return N(N({},r),{},F({},n,{from:t[n],velocity:0,to:e[n]}))}),{}),p=-1,m=function(){return null};return m=r.isStepper?function(n){s||(s=n);var o=(n-s)/r.dt;d=function t(e,r,n){var i=O((function(t,r){if(W(r)){var n=B(e(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return N(N({},r),{},{from:i,velocity:o})}return r}),r);return n<1?O((function(t,e){return W(e)?N(N({},e),{},{velocity:U(e.velocity,i[t].velocity,n),from:U(e.from,i[t].from,n)}):e}),r):t(e,i,n-1)}(r,d,o),i(N(N(N({},t),e),O((function(t,e){return e.from}),d))),s=n,Object.values(d).filter(W).length&&(p=u()(m))}:function(o){l||(l=o);var a=(o-l)/n,s=O((function(t,e){return U.apply(void 0,L(e).concat([r(a)]))}),h);if(i(N(N(N({},t),e),s)),a<1)p=u()(m);else{var c=O((function(t,e){return U.apply(void 0,L(e).concat([r(1)]))}),h);i(N(N(N({},t),e),c))}},function(){return u()(m),function(){Object(c.cancel)(p)}}};function V(t){return(V="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function G(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Y(t){return function(t){if(Array.isArray(t))return X(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return X(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return X(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function K(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$(Object(r),!0).forEach((function(e){Z(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function J(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Q(t,e){return(Q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=nt(t);if(e){var i=nt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return et(this,r)}}function et(t,e){return!e||"object"!==V(e)&&"function"!==typeof e?rt(t):e}function rt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var it=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q(t,e)}(c,t);var e,r,o,a=tt(c);function c(t,e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var n=(r=a.call(this,t,e)).props,i=n.isActive,o=n.attributeName,s=n.from,u=n.to,l=n.steps,f=n.children;if(r.handleStyleChange=r.handleStyleChange.bind(rt(r)),r.changeStyle=r.changeStyle.bind(rt(r)),!i)return r.state={style:{}},"function"===typeof f&&(r.state={style:u}),et(r);if(l&&l.length)r.state={style:l[0].style};else if(s){if("function"===typeof f)return r.state={style:s},et(r);r.state={style:o?Z({},o,s):s}}else r.state={style:{}};return r}return e=c,(r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate;if(n)if(r){if(!(Object(s.deepEqual)(t.to,this.props.to)&&t.canBegin&&t.isActive)){var a=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:t.to;if(this.state&&this.state.style){var u={style:i?Z({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(K(K({},this.props),{},{from:c,begin:0}))}}else{var l={style:i?Z({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(l)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,s=t.onAnimationEnd,c=t.onAnimationStart,u=q(r,n,function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"===typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return D(n);case"spring":return R();default:if("cubic-bezier"===n.split("(")[0])return D(n)}return"function"===typeof n?n:null}(o),i,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=u()},i,s])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,s=o.duration,c=void 0===s?0:s;return this.manager.start([i].concat(Y(r.reduce((function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,s=void 0===a?"ease":a,c=n.style,u=n.properties,l=n.onAnimationEnd,f=i>0?r[i-1]:n,h=u||Object.keys(c);if("function"===typeof s||"spring"===s)return[].concat(Y(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:o,easing:s}),o]);var d=S(h,o,s),p=K(K(K({},f.style),c),{},{transition:d});return[].concat(Y(t),[p,o,l]).filter(x)}),[a,Math.max(c,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=p());var e=t.begin,r=t.duration,n=t.attributeName,i=t.to,o=t.easing,a=t.onAnimationStart,s=t.onAnimationEnd,c=t.steps,u=t.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!==typeof o&&"function"!==typeof u&&"spring"!==o)if(c.length>1)this.runStepAnimation(t);else{var f=n?Z({},n,i):i,h=S(Object.keys(f),r,o);l.start([a,e,K(K({},f),{},{transition:h}),r,s])}else this.runJSAnimation(t)}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,G(t,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),a=n.Children.count(e),s=_(this.state.style);if("function"===typeof e)return e(s);if(!r||0===a)return e;var c=function(t){var e=t.props,r=e.style,i=void 0===r?{}:r,a=e.className;return Object(n.cloneElement)(t,K(K({},o),{},{style:K(K({},i),s),className:a}))};return 1===a?c(n.Children.only(e)):i.a.createElement("div",null,n.Children.map(e,(function(t){return c(t)})))}}])&&J(e.prototype,r),o&&J(e,o),c}(n.PureComponent);it.displayName="Animate",it.propTypes={from:a.a.oneOfType([a.a.object,a.a.string]),to:a.a.oneOfType([a.a.object,a.a.string]),attributeName:a.a.string,duration:a.a.number,begin:a.a.number,easing:a.a.oneOfType([a.a.string,a.a.func]),steps:a.a.arrayOf(a.a.shape({duration:a.a.number.isRequired,style:a.a.object.isRequired,easing:a.a.oneOfType([a.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),a.a.func]),properties:a.a.arrayOf("string"),onAnimationEnd:a.a.func})),children:a.a.oneOfType([a.a.node,a.a.func]),isActive:a.a.bool,canBegin:a.a.bool,onAnimationEnd:a.a.func,shouldReAnimate:a.a.bool,onAnimationStart:a.a.func,onAnimationReStart:a.a.func},it.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var ot=it,at=r(546);function st(t){return(st="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ct(){return(ct=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ut(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ft(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lt(Object(r),!0).forEach((function(e){ht(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ht(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function mt(t,e){return(mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function bt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=gt(t);if(e){var i=gt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return vt(this,r)}}function vt(t,e){return!e||"object"!==st(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function gt(t){return(gt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"===typeof t&&isFinite(t)});var yt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,r=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)}),0):Number.isFinite(r)?r:0},wt=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mt(t,e)}(s,t);var e,r,o,a=bt(s);function s(){var t;dt(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=a.call.apply(a,[this].concat(r))).state={isActive:!1},t.handleEnter=function(e,r){var n=t.props,i=n.appearOptions,o=n.enterOptions;t.handleStyleActive(r?i:o)},t.handleExit=function(){t.handleStyleActive(t.props.leaveOptions)},t}return e=s,(r=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(ft(ft({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return yt(e)+yt(r)+yt(n)}},{key:"render",value:function(){var t=this,e=this.props,r=e.children,o=(e.appearOptions,e.enterOptions,e.leaveOptions,ut(e,["children","appearOptions","enterOptions","leaveOptions"]));return i.a.createElement(at.Transition,ct({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return i.a.createElement(ot,t.state,n.Children.only(r))}))}}])&&pt(e.prototype,r),o&&pt(e,o),s}(n.Component);wt.propTypes={appearOptions:a.a.object,enterOptions:a.a.object,leaveOptions:a.a.object,children:a.a.element};var xt=wt;function Ot(t){var e=t.component,r=t.children,o=t.appear,a=t.enter,s=t.leave;return i.a.createElement(at.TransitionGroup,{component:e},n.Children.map(r,(function(t,e){return i.a.createElement(xt,{appearOptions:o,enterOptions:a,leaveOptions:s,key:"child-".concat(e)},t)})))}Ot.propTypes={appear:a.a.object,enter:a.a.object,leave:a.a.object,children:a.a.oneOfType([a.a.array,a.a.element]),component:a.a.any},Ot.defaultProps={component:"span"};e.a=ot},function(t,e,r){"use strict";e.a=function(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}},function(t,e,r){"use strict";e.a=function(t,e){}},function(t,e,r){"use strict";function n(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}r.d(e,"b",(function(){return n})),e.a=function(t,e,r){t.prototype=e.prototype=r,r.constructor=t}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},l=o.forwardRef((function(t,e){var r=t.align,s=void 0===r?"inherit":r,l=t.classes,f=t.className,h=t.color,d=void 0===h?"initial":h,p=t.component,m=t.display,b=void 0===m?"initial":m,v=t.gutterBottom,g=void 0!==v&&v,y=t.noWrap,w=void 0!==y&&y,x=t.paragraph,O=void 0!==x&&x,_=t.variant,S=void 0===_?"body1":_,k=t.variantMapping,E=void 0===k?u:k,M=Object(i.a)(t,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=p||(O?"p":E[S]||u[S])||"span";return o.createElement(C,Object(n.a)({className:Object(a.a)(l.root,f,"inherit"!==S&&l[S],"initial"!==d&&l["color".concat(Object(c.a)(d))],w&&l.noWrap,g&&l.gutterBottom,O&&l.paragraph,"inherit"!==s&&l["align".concat(Object(c.a)(s))],"initial"!==b&&l["display".concat(Object(c.a)(b))]),ref:e},M))}));e.a=Object(s.a)((function(t){return{root:{margin:0},body2:t.typography.body2,body1:t.typography.body1,caption:t.typography.caption,button:t.typography.button,h1:t.typography.h1,h2:t.typography.h2,h3:t.typography.h3,h4:t.typography.h4,h5:t.typography.h5,h6:t.typography.h6,subtitle1:t.typography.subtitle1,subtitle2:t.typography.subtitle2,overline:t.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorTextPrimary:{color:t.palette.text.primary},colorTextSecondary:{color:t.palette.text.secondary},colorError:{color:t.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(l)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(187),d=r(1446),p=r(156),m=r(72),b=r(832),v=r(833),g=r(339),y=r(340);var w=Object(y.a)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function x(t){return Object(g.a)("MuiMenuItem",t)}var O=Object(y.a)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),_=r(6),S=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],k=Object(l.a)(d.a,{shouldForwardProp:function(t){return Object(l.b)(t)||"classes"===t},name:"MuiMenuItem",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.dense&&e.dense,r.divider&&e.divider,!r.disableGutters&&e.gutters]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({},r.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!i.disableGutters&&{paddingLeft:16,paddingRight:16},i.divider&&{borderBottom:"1px solid ".concat(r.palette.divider),backgroundClip:"padding-box"},(e={"&:hover":{textDecoration:"none",backgroundColor:r.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},Object(n.a)(e,"&.".concat(O.selected),Object(n.a)({backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity)},"&.".concat(O.focusVisible),{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)})),Object(n.a)(e,"&.".concat(O.selected,":hover"),{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity)}}),Object(n.a)(e,"&.".concat(O.focusVisible),{backgroundColor:r.palette.action.focus}),Object(n.a)(e,"&.".concat(O.disabled),{opacity:r.palette.action.disabledOpacity}),Object(n.a)(e,"& + .".concat(b.a.root),{marginTop:r.spacing(1),marginBottom:r.spacing(1)}),Object(n.a)(e,"& + .".concat(b.a.inset),{marginLeft:52}),Object(n.a)(e,"& .".concat(w.root),{marginTop:0,marginBottom:0}),Object(n.a)(e,"& .".concat(w.inset),{paddingLeft:36}),Object(n.a)(e,"& .".concat(v.a.root),{minWidth:36}),e),!i.dense&&Object(n.a)({},r.breakpoints.up("sm"),{minHeight:"auto"}),i.dense&&Object(o.a)({minHeight:32,paddingTop:4,paddingBottom:4},r.typography.body2,Object(n.a)({},"& .".concat(v.a.root," svg"),{fontSize:"1.25rem"})))})),E=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiMenuItem"}),n=r.autoFocus,u=void 0!==n&&n,l=r.component,d=void 0===l?"li":l,b=r.dense,v=void 0!==b&&b,g=r.divider,y=void 0!==g&&g,w=r.disableGutters,O=void 0!==w&&w,E=r.focusVisibleClassName,M=r.role,C=void 0===M?"menuitem":M,j=r.tabIndex,A=Object(i.a)(r,S),T=a.useContext(h.a),P={dense:v||T.dense||!1,disableGutters:O},D=a.useRef(null);Object(p.a)((function(){u&&D.current&&D.current.focus()}),[u]);var R,L=Object(o.a)({},r,{dense:P.dense,divider:y,disableGutters:O}),I=function(t){var e=t.disabled,r=t.dense,n=t.divider,i=t.disableGutters,a=t.selected,s=t.classes,u={root:["root",r&&"dense",e&&"disabled",!i&&"gutters",n&&"divider",a&&"selected"]},l=Object(c.a)(u,x,s);return Object(o.a)({},s,l)}(r),N=Object(m.a)(D,e);return r.disabled||(R=void 0!==j?j:-1),Object(_.jsx)(h.a.Provider,{value:P,children:Object(_.jsx)(k,Object(o.a)({ref:N,role:C,tabIndex:R,component:d,focusVisibleClassName:Object(s.a)(I.focusVisible,E)},A,{ownerState:L,classes:I}))})}));e.a=E},,function(t,e,r){"use strict";r.d(e,"a",(function(){return n.a})),r.d(e,"b",(function(){return i.a})),r.d(e,"c",(function(){return o.b})),r.d(e,"d",(function(){return a.a})),r.d(e,"g",(function(){return s.a})),r.d(e,"h",(function(){return c})),r.d(e,"m",(function(){return l})),r.d(e,"o",(function(){return f.a})),r.d(e,"p",(function(){return h.a})),r.d(e,"q",(function(){return d.a})),r.d(e,"u",(function(){return p.a})),r.d(e,"v",(function(){return m.a})),r.d(e,"w",(function(){return b.a})),r.d(e,"x",(function(){return b.b})),r.d(e,"y",(function(){return v.a})),r.d(e,"r",(function(){return g.a})),r.d(e,"s",(function(){return g.b})),r.d(e,"t",(function(){return g.c})),r.d(e,"k",(function(){return x})),r.d(e,"l",(function(){return O})),r.d(e,"n",(function(){return S})),r.d(e,"i",(function(){return E})),r.d(e,"j",(function(){return M})),r.d(e,"e",(function(){return C.b})),r.d(e,"f",(function(){return C.a})),r.d(e,"z",(function(){return j.a})),r.d(e,"A",(function(){return A}));var n=r(274),i=r(497),o=r(357),a=r(494),s=r(496),c=function(t){var e=t.length;return function(r){return t[Math.max(0,Math.min(e-1,Math.floor(r*e)))]}},u=r(110),l=function(t,e){var r=Object(u.c)(+t,+e);return function(t){var e=r(t);return e-360*Math.floor(e/360)}},f=r(175),h=r(286),d=r(498),p=r(784),m=r(495),b=r(630),v=r(785),g=r(318),y=r(118);function w(t){return function(e,r){var n=t((e=Object(y.f)(e)).h,(r=Object(y.f)(r)).h),i=Object(u.a)(e.s,r.s),o=Object(u.a)(e.l,r.l),a=Object(u.a)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var x=w(u.c),O=w(u.a),_=r(400);function S(t,e){var r=Object(u.a)((t=Object(_.a)(t)).l,(e=Object(_.a)(e)).l),n=Object(u.a)(t.a,e.a),i=Object(u.a)(t.b,e.b),o=Object(u.a)(t.opacity,e.opacity);return function(e){return t.l=r(e),t.a=n(e),t.b=i(e),t.opacity=o(e),t+""}}function k(t){return function(e,r){var n=t((e=Object(_.c)(e)).h,(r=Object(_.c)(r)).h),i=Object(u.a)(e.c,r.c),o=Object(u.a)(e.l,r.l),a=Object(u.a)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var E=k(u.c),M=k(u.a),C=r(624),j=r(786),A=function(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t(n/(e-1));return r}},function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return l}));var n=r(40),i=r(241),o=(r(10),r(0));function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r,n=arguments[e];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t,e){if(null==t)return{};var r,n={},i=Object.keys(t);for(r=0;r<i.length;r++){var o=i[r];0<=e.indexOf(o)||(n[o]=t[o])}return n}function c(t){var e=t.children;t=t.window;var r=Object(o.useRef)();null==r.current&&(r.current=Object(i.b)({window:t}));var a=r.current;r=(t=Object(o.useReducer)((function(t,e){return e}),{action:a.action,location:a.location}))[0];var s=t[1];return Object(o.useLayoutEffect)((function(){return a.listen(s)}),[a]),Object(o.createElement)(n.c,{children:e,action:r.action,location:r.location,navigator:a})}var u=Object(o.forwardRef)((function(t,e){var r=t.onClick,a=t.replace,c=void 0!==a&&a,u=t.state,l=t.target,f=t.to;t=s(t,["onClick","replace","state","target","to"]),a=Object(n.f)(f);var h=Object(n.h)(),d=Object(n.g)(),p=Object(n.j)(f);return Object(o.createElement)("a",Object.assign({},t,{href:a,onClick:function(t){r&&r(t),t.defaultPrevented||0!==t.button||l&&"_self"!==l||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),t=!!c||Object(i.e)(d)===Object(i.e)(p),h(f,{replace:t,state:u}))},ref:e,target:l}))})),l=Object(o.forwardRef)((function(t,e){var r=t["aria-current"],i=void 0===r?"page":r,c=void 0===(r=t.activeClassName)?"active":r;r=t.activeStyle;var l=t.caseSensitive,f=void 0!==l&&l,h=void 0===(l=t.className)?"":l,d=void 0!==(l=t.end)&&l,p=t.style;l=t.to,t=s(t,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var m=Object(n.g)(),b=Object(n.j)(l);return m=m.pathname,b=b.pathname,f||(m=m.toLowerCase(),b=b.toLowerCase()),i=(f=d?m===b:m.startsWith(b))?i:void 0,c=[h,f?c:null].filter(Boolean).join(" "),r=a({},p,{},f?r:null),Object(o.createElement)(u,Object.assign({},t,{"aria-current":i,className:c,ref:e,style:r,to:l}))}))},function(t,e,r){"use strict";var n=r(276),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(t){return n.isMemo(t)?a:s[t.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,r,n){if("string"!==typeof r){if(p){var i=d(r);i&&i!==p&&t(e,i,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=c(e),m=c(r),b=0;b<a.length;++b){var v=a[b];if(!o[v]&&(!n||!n[v])&&(!m||!m[v])&&(!s||!s[v])){var g=h(r,v);try{u(e,v,g)}catch(y){}}}}return e}},function(t,e,r){"use strict";e.a=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(234);function o(){return n.useContext(i.a)}},function(t,e,r){"use strict";function n(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce((function(t,e){return null==e?t:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n),e.apply(this,n)}}),(function(){}))}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},,,function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},function(t,e,r){"use strict";var n=e,i=r(246),o=r(190),a=r(746);n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<n.length;a++){var s,c=o.andln(i-1);o.isOdd()?(s=c>(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,c=t.andln(3)+i&3,u=e.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),a=0===(1&c)?0:3!==(n=t.andln(7)+i&7)&&5!==n||2!==u?c:-c,r[0].push(a),s=0===(1&u)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==c?u:-u,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"===typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new i(t,"hex","le")}},function(t,e,r){"use strict";r.r(e);var n=r(38);r.d(e,"capitalize",(function(){return n.a}));var i=r(186);r.d(e,"createChainedFunction",(function(){return i.a}));var o=r(159);r.d(e,"createSvgIcon",(function(){return o.a}));var a=r(270);r.d(e,"debounce",(function(){return a.a}));var s=r(193);r.d(e,"deprecatedPropType",(function(){return s.a}));var c=r(283);r.d(e,"isMuiElement",(function(){return c.a}));var u=r(124);r.d(e,"ownerDocument",(function(){return u.a}));var l=r(356);r.d(e,"ownerWindow",(function(){return l.a}));var f=r(622);r.d(e,"requirePropFactory",(function(){return f.a}));var h=r(169);r.d(e,"setRef",(function(){return h.a}));var d=r(623);r.d(e,"unsupportedProp",(function(){return d.a}));var p=r(221);r.d(e,"useControlled",(function(){return p.a}));var m=r(148);r.d(e,"useEventCallback",(function(){return m.a}));var b=r(64);r.d(e,"useForkRef",(function(){return b.a}));var v=r(488);r.d(e,"unstable_useId",(function(){return v.a}));var g=r(269);r.d(e,"useIsFocusVisible",(function(){return g.a}))},function(t,e,r){"use strict";function n(t,e){return function(){return null}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(118);r.d(e,"a",(function(){return n.e})),r.d(e,"h",(function(){return n.g})),r.d(e,"e",(function(){return n.f}));var i=r(400);r.d(e,"f",(function(){return i.a})),r.d(e,"d",(function(){return i.c})),r.d(e,"g",(function(){return i.d})),r.d(e,"c",(function(){return i.b}));var o=r(527);r.d(e,"b",(function(){return o.a}))},function(t,e,r){"use strict";var n=r(886);e.a=n.a},,function(t,e,r){"use strict";r.d(e,"a",(function(){return p})),r.d(e,"b",(function(){return h})),r.d(e,"c",(function(){return d})),r.d(e,"d",(function(){return f}));var n=r(73);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var s="function"===typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function l(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function f(t,e,r){var n;if("function"===typeof e&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error(a(0));if("function"===typeof e&&"undefined"===typeof r&&(r=e,e=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error(a(1));return r(f)(t,e)}if("function"!==typeof t)throw new Error(a(2));var i=t,o=e,c=[],h=c,d=!1;function p(){h===c&&(h=c.slice())}function m(){if(d)throw new Error(a(3));return o}function b(t){if("function"!==typeof t)throw new Error(a(4));if(d)throw new Error(a(5));var e=!0;return p(),h.push(t),function(){if(e){if(d)throw new Error(a(6));e=!1,p();var r=h.indexOf(t);h.splice(r,1),c=null}}}function v(t){if(!l(t))throw new Error(a(7));if("undefined"===typeof t.type)throw new Error(a(8));if(d)throw new Error(a(9));try{d=!0,o=i(o,t)}finally{d=!1}for(var e=c=h,r=0;r<e.length;r++){(0,e[r])()}return t}function g(t){if("function"!==typeof t)throw new Error(a(10));i=t,v({type:u.REPLACE})}function y(){var t,e=b;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(a(11));function r(){t.next&&t.next(m())}return r(),{unsubscribe:e(r)}}})[s]=function(){return this},t}return v({type:u.INIT}),(n={dispatch:v,subscribe:b,getState:m,replaceReducer:g})[s]=y,n}function h(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];0,"function"===typeof t[i]&&(r[i]=t[i])}var o,s=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(e){var r=t[e];if("undefined"===typeof r(void 0,{type:u.INIT}))throw new Error(a(12));if("undefined"===typeof r(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(r)}catch(c){o=c}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var n=!1,i={},c=0;c<s.length;c++){var u=s[c],l=r[u],f=t[u],h=l(f,e);if("undefined"===typeof h){e&&e.type;throw new Error(a(14))}i[u]=h,n=n||h!==f}return(n=n||s.length!==Object.keys(t).length)?i:t}}function d(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function p(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),n=function(){throw new Error(a(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},s=e.map((function(t){return t(i)}));return n=d.apply(void 0,s)(r.dispatch),o(o({},r),{},{dispatch:n})}}}},function(t,e,r){"use strict";var n=r(136).a.Symbol;e.a=n},function(t,e,r){"use strict";e.a=function(){}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");e.default=a},function(t,e,r){"use strict";r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return m}));var n=r(154);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u={widthCache:{},cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},f=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"];var h=function(t){return Object.keys(t).reduce((function(e,r){return"".concat(e).concat((o=r,o.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(s(t),["-",e.toLowerCase()]):[].concat(s(t),[e])}),[]).join("")),":").concat((n=r,i=t[r],f.indexOf(n)>=0&&i===+i?"".concat(i,"px"):i),";");var n,i,o}),"")},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t||null===t||n.a.isSsr)return{width:0,height:0};var r="".concat(t),i=h(e),a="".concat(r,"-").concat(i);if(u.widthCache[a])return u.widthCache[a];try{var s=document.getElementById("recharts_measurement_span");s||((s=document.createElement("span")).setAttribute("id","recharts_measurement_span"),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var c=o(o({},l),e);Object.keys(c).map((function(t){return s.style[t]=c[t],t})),s.textContent=r;var f=s.getBoundingClientRect(),d={width:f.width,height:f.height};return u.widthCache[a]=d,++u.cacheCount>2e3&&(u.cacheCount=0,u.widthCache={}),d}catch(p){return{width:0,height:0}}},p=function(t){var e=t.ownerDocument.documentElement,r={top:0,left:0};return"undefined"!==typeof t.getBoundingClientRect&&(r=t.getBoundingClientRect()),{top:r.top+window.pageYOffset-e.clientTop,left:r.left+window.pageXOffset-e.clientLeft}},m=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}},,function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";e.a=function(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}},function(t,e,r){"use strict";e.a=function(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");e.default=a},function(t,e,r){var n=r(592);t.exports=function(t,e){return n(t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return k}));var n=r(150),i=r.n(n),o=r(44),a=r.n(o),s=r(36),c=r.n(s),u=r(0),l=r.n(u),f=r(55),h=r.n(f),d=r(335),p=r(74),m=r(17),b=r(119),v=r(42);function g(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){O(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(){return(_=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var S=function(t,e,r){var n,i,o=t.position,a=t.viewBox,s=t.offset,u=t.className,f=a,d=f.cx,p=f.cy,v=f.innerRadius,g=f.outerRadius,y=f.startAngle,w=f.endAngle,x=f.clockWise,O=(v+g)/2,S=function(t,e){return Object(m.j)(e-t)*Math.min(Math.abs(e-t),360)}(y,w),k=S>=0?1:-1;"insideStart"===o?(n=y+k*s,i=x):"insideEnd"===o?(n=w-k*s,i=!x):"end"===o&&(n=w+k*s,i=x),i=S<=0?i:!i;var E=Object(b.c)(d,p,O,n),M=Object(b.c)(d,p,O,n+359*(i?1:-1)),C="M".concat(E.x,",").concat(E.y,"\n    A").concat(O,",").concat(O,",0,1,").concat(i?0:1,",\n    ").concat(M.x,",").concat(M.y),j=c()(t.id)?Object(m.k)("recharts-radial-line-"):t.id;return l.a.createElement("text",_({},r,{dominantBaseline:"central",className:h()("recharts-radial-bar-label",u)}),l.a.createElement("defs",null,l.a.createElement("path",{id:j,d:C})),l.a.createElement("textPath",{xlinkHref:"#".concat(j)},e))};function k(t){var e,r=t.viewBox,n=t.position,o=t.value,s=t.children,f=t.content,p=t.className,g=void 0===p?"":p,y=t.textBreakAll;if(!r||c()(o)&&c()(s)&&!Object(u.isValidElement)(f)&&!a()(f))return null;if(Object(u.isValidElement)(f))return Object(u.cloneElement)(f,t);if(a()(f)){if(e=Object(u.createElement)(f,t),Object(u.isValidElement)(e))return e}else e=function(t){var e=t.value,r=t.formatter,n=c()(t.children)?e:t.children;return a()(r)?r(n):n}(t);var w=function(t){return Object(m.h)(t.cx)}(r),O=Object(v.c)(t,!0);if(w&&("insideStart"===n||"insideEnd"===n||"end"===n))return S(t,e,O);var k=w?function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e,o=i.cx,a=i.cy,s=i.innerRadius,c=i.outerRadius,u=(i.startAngle+i.endAngle)/2;if("outside"===n){var l=Object(b.c)(o,a,c+r,u),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var h=(s+c)/2,d=Object(b.c)(o,a,h,u);return{x:d.x,y:d.y,textAnchor:"middle",verticalAnchor:"middle"}}(t):function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,a=e,s=a.x,c=a.y,u=a.width,l=a.height,f=l>=0?1:-1,h=f*n,d=f>0?"end":"start",p=f>0?"start":"end",b=u>=0?1:-1,v=b*n,g=b>0?"end":"start",y=b>0?"start":"end";if("top"===o)return x(x({},{x:s+u/2,y:c-f*n,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===o)return x(x({},{x:s+u/2,y:c+l+h,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(r.y+r.height-(c+l),0),width:u}:{});if("left"===o){var w={x:s-v,y:c+l/2,textAnchor:g,verticalAnchor:"middle"};return x(x({},w),r?{width:Math.max(w.x-r.x,0),height:l}:{})}if("right"===o){var O={x:s+u+v,y:c+l/2,textAnchor:y,verticalAnchor:"middle"};return x(x({},O),r?{width:Math.max(r.x+r.width-O.x,0),height:l}:{})}var _=r?{width:u,height:l}:{};return"insideLeft"===o?x({x:s+v,y:c+l/2,textAnchor:y,verticalAnchor:"middle"},_):"insideRight"===o?x({x:s+u-v,y:c+l/2,textAnchor:g,verticalAnchor:"middle"},_):"insideTop"===o?x({x:s+u/2,y:c+h,textAnchor:"middle",verticalAnchor:p},_):"insideBottom"===o?x({x:s+u/2,y:c+l-h,textAnchor:"middle",verticalAnchor:d},_):"insideTopLeft"===o?x({x:s+v,y:c+h,textAnchor:y,verticalAnchor:p},_):"insideTopRight"===o?x({x:s+u-v,y:c+h,textAnchor:g,verticalAnchor:p},_):"insideBottomLeft"===o?x({x:s+v,y:c+l-h,textAnchor:y,verticalAnchor:d},_):"insideBottomRight"===o?x({x:s+u-v,y:c+l-h,textAnchor:g,verticalAnchor:d},_):i()(o)&&(Object(m.h)(o.x)||Object(m.i)(o.x))&&(Object(m.h)(o.y)||Object(m.i)(o.y))?x({x:s+Object(m.d)(o.x,u),y:c+Object(m.d)(o.y,l),textAnchor:"end",verticalAnchor:"end"},_):x({x:s+u/2,y:c+l/2,textAnchor:"middle",verticalAnchor:"middle"},_)}(t);return l.a.createElement(d.a,_({className:h()("recharts-label",g)},O,k,{breakAll:y}),e)}k.displayName="Label",k.defaultProps={offset:5};var E=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,s=t.radius,c=t.innerRadius,u=t.outerRadius,l=t.x,f=t.y,h=t.top,d=t.left,p=t.width,b=t.height,v=t.clockWise,g=t.labelViewBox;if(g)return g;if(Object(m.h)(p)&&Object(m.h)(b)){if(Object(m.h)(l)&&Object(m.h)(f))return{x:l,y:f,width:p,height:b};if(Object(m.h)(h)&&Object(m.h)(d))return{x:h,y:d,width:p,height:b}}return Object(m.h)(l)&&Object(m.h)(f)?{x:l,y:f,width:0,height:0}:Object(m.h)(e)&&Object(m.h)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:c||0,outerRadius:u||s||a||0,clockWise:v}:t.viewBox?t.viewBox:{}},M=function(t,e){return t?!0===t?l.a.createElement(k,{key:"label-implicit",viewBox:e}):Object(m.g)(t)?l.a.createElement(k,{key:"label-implicit",viewBox:e,value:t}):Object(u.isValidElement)(t)?t.type===k?Object(u.cloneElement)(t,{key:"label-implicit",viewBox:e}):l.a.createElement(k,{key:"label-implicit",content:t,viewBox:e}):a()(t)?l.a.createElement(k,{key:"label-implicit",content:t,viewBox:e}):i()(t)?l.a.createElement(k,_({viewBox:e},t,{key:"label-implicit"})):null:null};k.parseViewBox=E,k.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,i=E(t),o=Object(p.a)(n,k.displayName).map((function(t,r){return Object(u.cloneElement)(t,{viewBox:e||i,key:"label-".concat(r)})}));if(!r)return o;var a=M(t.label,e||i);return[a].concat(g(o))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}));function n(t,e,r){var n="";return r.split(" ").forEach((function(r){void 0!==t[r]?e.push(t[r]+";"):n+=r+" "})),n}var i=function(t,e,r){var n=t.key+"-"+e.name;if(!1===r&&void 0===t.registered[n]&&(t.registered[n]=e.styles),void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+n:"",i,t.sheet,!0);i=i.next}while(void 0!==i)}}},function(t,e,r){"use strict";var n=r(660);e.a=n.a},function(t,e,r){"use strict";r.d(e,"a",(function(){return z}));var n=r(68),i=r.n(n),o=r(281),a=r.n(o),s=r(44),c=r.n(s),u=r(0),l=r.n(u),f=r(639),h=r(640),d=r(225),p=r(641),m=r(223),b=r(421),v=r(642),g=r(326),y=r(296),w=r(325),x=r(55),O=r.n(x),_=r(42),S=r(17);function k(t){return(k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(){return(E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=L(t);if(e){var i=L(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return R(this,r)}}function R(t,e){return!e||"object"!==k(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var I={curveBasisClosed:f.a,curveBasisOpen:h.a,curveBasis:d.b,curveLinearClosed:p.a,curveLinear:m.a,curveMonotoneX:b.a,curveMonotoneY:b.b,curveNatural:v.a,curveStep:g.a,curveStepAfter:g.b,curveStepBefore:g.c},N=function(t){return t.x===+t.x&&t.y===+t.y},F=function(t){return t.x},B=function(t){return t.y},z=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(s,t);var e,r,n,o=D(s);function s(){return A(this,s),o.apply(this,arguments)}return e=s,(r=[{key:"getPath",value:function(){var t,e=this.props,r=e.type,n=e.points,o=e.baseLine,s=e.layout,u=e.connectNulls,l=function(t,e){if(c()(t))return t;var r="curve".concat(a()(t));return"curveMonotone"===r&&e?I["".concat(r).concat("vertical"===e?"Y":"X")]:I[r]||m.a}(r,s),f=u?n.filter((function(t){return N(t)})):n;if(i()(o)){var h=u?o.filter((function(t){return N(t)})):o,d=f.map((function(t,e){return C(C({},t),{},{base:h[e]})}));return(t="vertical"===s?Object(y.a)().y(B).x1(F).x0((function(t){return t.base.x})):Object(y.a)().x(F).y1(B).y0((function(t){return t.base.y}))).defined(N).curve(l),t(d)}return(t="vertical"===s&&Object(S.h)(o)?Object(y.a)().y(B).x1(F).x0(o):Object(S.h)(o)?Object(y.a)().x(F).y1(B).y0(o):Object(w.a)().x(F).y(B)).defined(N).curve(l),t(f)}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.points,n=t.path,i=t.pathRef;if((!r||!r.length)&&!n)return null;var o=r&&r.length?this.getPath():n;return l.a.createElement("path",E({},Object(_.c)(this.props),Object(_.a)(this.props),{className:O()("recharts-curve",e),d:o,ref:i}))}}])&&T(e.prototype,r),n&&T(e,n),s}(u.PureComponent);z.defaultProps={type:"linear",points:[],connectNulls:!1}},,,function(t,e,r){var n=r(687),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},function(t,e,r){"use strict";var n=r(190),i=r(53);function o(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"===typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r},e.toHex=function(t){for(var e="",r=0;r<t.length;r++)e+=s(t[r].toString(16));return e},e.htonl=a,e.toHex32=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];"little"===e&&(i=a(i)),r+=c(i.toString(16))}return r},e.zero2=s,e.zero8=c,e.join32=function(t,e,r,i){var o=r-e;n(o%4===0);for(var a=new Array(o/4),s=0,c=e;s<a.length;s++,c+=4){var u;u="big"===i?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c],a[s]=u>>>0}return a},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,a=(o<n?1:0)+r+i;t[e]=a>>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,a,s){var c=0,u=e;return c+=(u=u+n>>>0)<e?1:0,c+=(u=u+o>>>0)<o?1:0,t+r+i+a+(c+=(u=u+s>>>0)<s?1:0)>>>0},e.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,a,s,c,u){var l=0,f=e;return l+=(f=f+n>>>0)<e?1:0,l+=(f=f+o>>>0)<o?1:0,l+=(f=f+s>>>0)<s?1:0,t+r+i+a+c+(l+=(f=f+u>>>0)<u?1:0)>>>0},e.sum64_5_lo=function(t,e,r,n,i,o,a,s,c,u){return e+n+o+s+u>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"a",(function(){return u}));var n,i,o,a,s,c=r(500);function u(t){return n=Object(c.a)(t),i=n.format,o=n.parse,a=n.utcFormat,s=n.utcParse,n}u({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*i.e)}),(function(t,e){return(e-t)/i.e}),(function(t){return t.getUTCSeconds()}));e.a=o;var a=o.range},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");e.default=a},function(t,e,r){"use strict";var n=r(3),i=r(0);e.a=function(t){var e=t.controlled,r=t.default,o=(t.name,t.state,i.useRef(void 0!==e).current),a=i.useState(r),s=Object(n.a)(a,2),c=s[0],u=s[1];return[o?e:c,i.useCallback((function(t){o||u(t)}),[])]}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(0);function i(t){var e=t.controlled,r=t.default,i=(t.name,t.state,n.useRef(void 0!==e).current),o=n.useState(r),a=o[0],s=o[1];return[i?e:a,n.useCallback((function(t){i||s(t)}),[])]}},function(t,e,r){"use strict";function n(t){var e=t.props,r=t.states,n=t.muiFormControl;return r.reduce((function(t,r){return t[r]=e[r],n&&"undefined"===typeof e[r]&&(t[r]=n[r]),t}),{})}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t){this._context=t}n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},e.a=function(t){return new n(t)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n}));var n=Array.prototype.slice;e.a=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}},function(t,e,r){"use strict";function n(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function i(t){this._context=t}r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){return i})),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:n(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:n(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.b=function(t){return new i(t)}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7 1.62-4.33L19.12 17h-3.24z"}),"TranslateOutlined");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"}),"AccountCircle");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m14.5 14.2 2.9 1.7-.8 1.3L13 15v-5h1.5v4.2zM22 14c0 4.41-3.59 8-8 8-2.02 0-3.86-.76-5.27-2H4c-1.15 0-2-.85-2-2V9c0-1.12.89-1.96 2-2v-.5C4 4.01 6.01 2 8.5 2c2.34 0 4.24 1.79 4.46 4.08.34-.05.69-.08 1.04-.08 4.41 0 8 3.59 8 8zM6 7h5v-.74C10.88 4.99 9.8 4 8.5 4 7.12 4 6 5.12 6 6.5V7zm14 7c0-3.31-2.69-6-6-6s-6 2.69-6 6 2.69 6 6 6 6-2.69 6-6z"}),"LockClock");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"}),"Logout");e.default=a},function(t,e,r){"use strict";var n,i;!function(o){t.exports?(o.default=o,t.exports=o):(n=[r(1242)],void 0===(i=function(t){return o(t),o.Highcharts=t,o}.apply(e,n))||(t.exports=i))}((function(t){function e(t,e,r,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,r))}e(t=t?t._modules:{},"Extensions/FullScreen.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],(function(t,e,r,n){var i=n.addEvent;return n=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"===typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this.chart,e=t.options.chart;this.isOpen&&this.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[this.browserProps.exitFullscreen](),this.unbindFullscreenEvent&&(this.unbindFullscreenEvent=this.unbindFullscreenEvent()),t.setSize(this.origWidth,this.origHeight,!1),this.origHeight=this.origWidth=void 0,e.width=this.origWidthOption,e.height=this.origHeightOption,this.origHeightOption=this.origWidthOption=void 0,this.isOpen=!1,this.setButtonText()},t.prototype.open=function(){var t=this,e=t.chart,r=e.options.chart;if(r&&(t.origWidthOption=r.width,t.origHeightOption=r.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var n=i(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())})),o=i(e,"destroy",n);t.unbindFullscreenEvent=function(){n(),o()},(r=e.renderTo[t.browserProps.requestFullscreen]())&&r.catch((function(){alert("Full screen is not supported inside a frame.")}))}},t.prototype.setButtonText=function(){var t=this.chart,e=t.exportDivElements,n=t.options.exporting,i=n&&n.buttons&&n.buttons.contextButton.menuItems;t=t.options.lang,n&&n.menuItemDefinitions&&t&&t.exitFullscreen&&t.viewFullscreen&&i&&e&&(e=e[i.indexOf("viewFullscreen")])&&r.setElementHTML(e,this.isOpen?t.exitFullscreen:n.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=n,i(t,"beforeRender",(function(){this.fullscreen=new e.Fullscreen(this)})),e.Fullscreen})),e(t,"Core/Chart/ChartNavigationComposition.js",[],(function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var r=this;this.updates.forEach((function(n){n.call(r.chart,t,e)}))},t}();t.Additions=e}(t||(t={})),t})),e(t,"Extensions/Exporting/ExportingDefaults.js",[t["Core/Globals.js"]],(function(t){return{exporting:{type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:t.isTouchDevice?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"}}}})),e(t,"Extensions/Exporting/ExportingSymbols.js",[],(function(){var t;return function(t){function e(t,e,r,n){return[["M",t,e+2.5],["L",t+r,e+2.5],["M",t,e+n/2+.5],["L",t+r,e+n/2+.5],["M",t,e+n-1.5],["L",t+r,e+n-1.5]]}function r(t,e,r,n){return t=n/3-2,(n=[]).concat(this.circle(r-t,e,t,t),this.circle(r-t,e+t+4,t,t),this.circle(r-t,e+2*(t+4),t,t))}var n=[];t.compose=function(t){-1===n.indexOf(t)&&(n.push(t),(t=t.prototype.symbols).menu=e,t.menuball=r.bind(t))}}(t||(t={})),t})),e(t,"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var r=t.doc,n=e.createElement,i=e.discardElement,o=e.merge,a=e.objectEach,s={ajax:function(t){var e=o(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},t);t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"};var r=new XMLHttpRequest;if(!e.url)return!1;r.open(e.type.toUpperCase(),e.url,!0),e.headers["Content-Type"]||r.setRequestHeader("Content-Type",t[e.dataType]||t.text),a(e.headers,(function(t,e){r.setRequestHeader(e,t)})),r.onreadystatechange=function(){if(4===r.readyState){if(200===r.status){var t=r.responseText;if("json"===e.dataType)try{t=JSON.parse(t)}catch(n){return void(e.error&&e.error(r,n))}return e.success&&e.success(t)}e.error&&e.error(r,r.responseText)}};try{e.data=JSON.stringify(e.data)}catch(n){}r.send(e.data||!0)},getJSON:function(t,e){s.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,s){var c=n("form",o({method:"post",action:t,enctype:"multipart/form-data"},s),{display:"none"},r.body);a(e,(function(t,e){n("input",{type:"hidden",name:e,value:t},null,c)})),c.submit(),i(c)}};return s})),e(t,"Extensions/Exporting/Exporting.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Extensions/Exporting/ExportingDefaults.js"],t["Extensions/Exporting/ExportingSymbols.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){e=n.defaultOptions;var u,l=a.doc,f=a.win,h=c.addEvent,d=c.css,p=c.createElement,m=c.discardElement,b=c.extend,v=c.find,g=c.fireEvent,y=c.isObject,w=c.merge,x=c.objectEach,O=c.pick,_=c.removeEvent,S=c.uniqueKey;return function(e){function n(t){var e=this,r=e.renderer,n=w(e.options.navigation.buttonOptions,t),i=n.onclick,o=n.menuItems,a=n.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==n.enabled&&n.theme){var s,c=n.theme,u=c.states,l=u&&u.hover;u=u&&u.select,e.styledMode||(c.fill=O(c.fill,"#ffffff"),c.stroke=O(c.stroke,"none")),delete c.states,i?s=function(t){t&&t.stopPropagation(),i.call(e,t)}:o&&(s=function(t){t&&t.stopPropagation(),e.contextMenu(f.menuClassName,o,f.translateX,f.translateY,f.width,f.height,f),f.setState(2)}),n.text&&n.symbol?c.paddingLeft=O(c.paddingLeft,30):n.text||b(c,{width:n.width,height:n.height,padding:0}),e.styledMode||(c["stroke-linecap"]="round",c.fill=O(c.fill,"#ffffff"),c.stroke=O(c.stroke,"none"));var f=r.button(n.text,0,0,s,c,l,u).addClass(t.className).attr({title:O(e.options.lang[n._titleKey||n.titleKey],"")});if(f.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,n.symbol){var h=r.symbol(n.symbol,n.symbolX-a/2,n.symbolY-a/2,a,a,{width:a,height:a}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(f);e.styledMode||h.attr({stroke:n.symbolStroke,fill:n.symbolFill,"stroke-width":n.symbolStrokeWidth||1})}f.add(e.exportingGroup).align(b(n,{width:f.width,x:O(n.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(f.width+n.buttonSpacing)*("right"===n.align?-1:1),e.exportSVGElements.push(f,h)}}function i(){if(this.printReverseInfo){var t=this.printReverseInfo,e=t.childNodes,r=t.origDisplay;t=t.resetParams,this.moveContainers(this.renderTo),[].forEach.call(e,(function(t,e){1===t.nodeType&&(t.style.display=r[e]||"")})),this.isPrinting=!1,t&&this.setSize.apply(this,t),delete this.printReverseInfo,W=void 0,g(this,"afterPrint")}}function u(){var t=l.body,e=this.options.exporting.printMaxWidth,r={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),g(this,"beforePrint"),e&&this.chartWidth>e&&(r.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(r.childNodes,(function(t,e){1===t.nodeType&&(r.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=r}function k(t){t.renderExporting(),h(t,"redraw",t.renderExporting),h(t,"destroy",t.destroyExport)}function E(e,r,n,i,o,a,s){var u=this,m=u.options.navigation,v=u.chartWidth,w=u.chartHeight,x="cache-"+e,O=Math.max(o,a),_=u[x];if(!_){u.exportContextMenu=u[x]=_=p("div",{className:e},{position:"absolute",zIndex:1e3,padding:O+"px",pointerEvents:"auto"},u.fixedDiv||u.container);var S=p("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},_);u.styledMode||d(S,b({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},m.menuStyle)),_.hideMenu=function(){d(_,{display:"none"}),s&&s.setState(0),u.openMenu=!1,d(u.renderTo,{overflow:"hidden"}),d(u.container,{overflow:"hidden"}),c.clearTimeout(_.hideTimer),g(u,"exportMenuHidden")},u.exportEvents.push(h(_,"mouseleave",(function(){_.hideTimer=f.setTimeout(_.hideMenu,500)})),h(_,"mouseenter",(function(){c.clearTimeout(_.hideTimer)})),h(l,"mouseup",(function(t){u.pointer.inClass(t.target,e)||_.hideMenu()})),h(_,"click",(function(){u.openMenu&&_.hideMenu()}))),r.forEach((function(e){if("string"===typeof e&&(e=u.options.exporting.menuItemDefinitions[e]),y(e,!0)){var r=void 0;e.separator?r=p("hr",void 0,void 0,S):("viewData"===e.textKey&&u.isDataTableVisible&&(e.textKey="hideData"),r=p("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),_.hideMenu(),e.onclick&&e.onclick.apply(u,arguments)}},void 0,S),t.setElementHTML(r,e.text||u.options.lang[e.textKey]),u.styledMode||(r.onmouseover=function(){d(this,m.menuItemHoverStyle)},r.onmouseout=function(){d(this,m.menuItemStyle)},d(r,b({cursor:"pointer"},m.menuItemStyle)))),u.exportDivElements.push(r)}})),u.exportDivElements.push(S,_),u.exportMenuWidth=_.offsetWidth,u.exportMenuHeight=_.offsetHeight}r={display:"block"},n+u.exportMenuWidth>v?r.right=v-n-o-O+"px":r.left=n-O+"px",i+a+u.exportMenuHeight>w&&"top"!==s.alignOptions.verticalAlign?r.bottom=w-i-O+"px":r.top=i+a-O+"px",d(_,r),d(u.renderTo,{overflow:""}),d(u.container,{overflow:""}),u.openMenu=!0,g(u,"exportMenuShown")}function M(t){var e,r=t?t.target:this,n=r.exportSVGElements,i=r.exportDivElements;t=r.exportEvents,n&&(n.forEach((function(t,i){t&&(t.onclick=t.ontouchstart=null,e="cache-"+t.menuClassName,r[e]&&delete r[e],n[i]=t.destroy())})),n.length=0),r.exportingGroup&&(r.exportingGroup.destroy(),delete r.exportingGroup),i&&(i.forEach((function(t,e){t&&(c.clearTimeout(t.hideTimer),_(t,"mouseleave"),i[e]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,m(t))})),i.length=0),t&&(t.forEach((function(t){t()})),t.length=0)}function C(t,e){e=this.getSVGForExport(t,e),t=w(this.options.exporting,t),s.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)}function j(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function A(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"===typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)}function T(t){var e,r=w(this.options,t);r.plotOptions=w(this.userOptions.plotOptions,t&&t.plotOptions),r.time=w(this.userOptions.time,t&&t.time);var n=p("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},l.body),i=this.renderTo.style.width,o=this.renderTo.style.height;i=r.exporting.sourceWidth||r.chart.width||/px$/.test(i)&&parseInt(i,10)||(r.isGantt?800:600),o=r.exporting.sourceHeight||r.chart.height||/px$/.test(o)&&parseInt(o,10)||400,b(r.chart,{animation:!1,renderTo:n,forExport:!0,renderer:"SVGRenderer",width:i,height:o}),r.exporting.enabled=!1,delete r.data,r.series=[],this.series.forEach((function(t){(e=w(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||r.series.push(e)}));var a={};this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=S()),t.options.isInternal||(a[t.coll]||(a[t.coll]=!0,r[t.coll]=[]),r[t.coll].push(w(t.userOptions,{visible:t.visible})))}));var s=new this.constructor(r,this.callback);return t&&["xAxis","yAxis","series"].forEach((function(e){var r={};t[e]&&(r[e]=t[e],s.update(r))})),this.axes.forEach((function(t){var e=v(s.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),r=t.getExtremes(),n=r.userMin;r=r.userMax,e&&("undefined"!==typeof n&&n!==e.min||"undefined"!==typeof r&&r!==e.max)&&e.setExtremes(n,r,!0,!1)})),o=s.getChartHTML(),g(this,"getSVG",{chartCopy:s}),o=this.sanitizeSVG(o,r),r=null,s.destroy(),m(n),o}function P(t,e){var r=this.options.exporting;return this.getSVG(w({chart:{borderRadius:0}},r.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||r.sourceWidth,sourceHeight:t&&t.sourceHeight||r.sourceHeight}}))}function D(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function R(){var t,r=H,n=e.inlineWhitelist,i={},o=l.createElement("iframe");d(o,{width:"1px",height:"1px",visibility:"hidden"}),l.body.appendChild(o);var s=o.contentWindow.document;s.open(),s.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>'),s.close(),function e(o){function c(t,e){if(u=l=!1,n.length){for(h=n.length;h--&&!l;)l=n[h].test(e);u=!l}for("transform"===e&&"none"===t&&(u=!0),h=r.length;h--&&!u;)u=r[h].test(e)||"function"===typeof t;u||m[e]===t&&"svg"!==o.nodeName||i[o.nodeName][e]===t||(U&&-1===U.indexOf(e)?d+=D(e)+":"+t+";":t&&o.setAttribute(D(e),t))}var u,l,h,d="";if(1===o.nodeType&&-1===q.indexOf(o.nodeName)){var p=f.getComputedStyle(o,null),m="svg"===o.nodeName?{}:f.getComputedStyle(o.parentNode,null);if(!i[o.nodeName]){t=s.getElementsByTagName("svg")[0];var b=s.createElementNS(o.namespaceURI,o.nodeName);t.appendChild(b),i[o.nodeName]=w(f.getComputedStyle(b,null)),"text"===o.nodeName&&delete i.text.fill,t.removeChild(b)}if(a.isFirefox||a.isMS)for(var v in p)c(p[v],v);else x(p,c);d&&(p=o.getAttribute("style"),o.setAttribute("style",(p?p+";":"")+d)),"svg"===o.nodeName&&o.setAttribute("stroke-width","1px"),"text"!==o.nodeName&&[].forEach.call(o.children||o.childNodes,e)}}(this.container.querySelector("svg")),t.parentNode.removeChild(t),o.parentNode.removeChild(o)}function L(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))}function I(){var t=this;t.exporting={update:function(e,r){t.isDirtyExporting=!0,w(!0,t.options.exporting,e),O(r,!0)&&t.redraw()}},r.compose(t).navigation.addUpdate((function(e,r){t.isDirtyExporting=!0,w(!0,t.options.navigation,e),O(r,!0)&&t.redraw()}))}function N(){var t=this;t.isPrinting||(W=t,a.isSafari||t.beforePrint(),setTimeout((function(){f.focus(),f.print(),a.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))}function F(){var t=this,e=t.options.exporting,r=e.buttons,n=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),n&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),x(r,(function(e){t.addButton(e)})),t.isDirtyExporting=!1)}function B(t,e){var r=t.indexOf("</svg>")+6,n=t.substr(r);return t=t.substr(0,r),e&&e.exporting&&e.exporting.allowHTML&&n&&(n='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+n.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",n+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g,"\xa0").replace(/&shy;/g,"\xad"),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t}var z=[],H=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],U="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");e.inlineWhitelist=[];var W,q=["clipPath","defs","desc"];e.compose=function(t,e){o.compose(e),-1===z.indexOf(t)&&(z.push(t),(e=t.prototype).afterPrint=i,e.exportChart=C,e.inlineStyles=R,e.print=N,e.sanitizeSVG=B,e.getChartHTML=j,e.getSVG=T,e.getSVGForExport=P,e.getFilename=A,e.moveContainers=L,e.beforePrint=u,e.contextMenu=E,e.addButton=n,e.destroyExport=M,e.renderExporting=F,e.callbacks.push(k),h(t,"init",I),a.isSafari&&a.win.matchMedia("print").addListener((function(t){W&&(t.matches?W.beforePrint():W.afterPrint())})))}}(u||(u={})),e.exporting=w(i.exporting,e.exporting),e.lang=w(i.lang,e.lang),e.navigation=w(i.navigation,e.navigation),u})),e(t,"masters/modules/exporting.src.js",[t["Core/Globals.js"],t["Extensions/Exporting/Exporting.js"],t["Core/HttpUtilities.js"]],(function(t,e,r){t.HttpUtilities=r,t.ajax=r.ajax,t.getJSON=r.getJSON,t.post=r.post,e.compose(t.Chart,t.Renderer)}))}))},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(425);var i=r(820),o=r(517);function a(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";var n=r(0);e.a=function(t,e){return n.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(0),i=n.createContext();function o(){return n.useContext(i)}e.a=i},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";var n=r(558);e.a=function(t,e){return e?Object(n.a)(t,e,{clone:!1}):t}},function(t,e,r){"use strict";var n=r(253);e.a=function(t){return(t=Object(n.b)(Math.abs(t)))?t[1]:NaN}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(n.a)((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)})):null},e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(n.a)((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,r){e.setFullYear(e.getFullYear()+r*t)})):null},e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return p})),r.d(e,"d",(function(){return m})),r.d(e,"c",(function(){return b})),r.d(e,"a",(function(){return g}));var n=r(544),i=r.n(n),o=r(364),a=r.n(o),s=r(37),c=r(74),u=r(17);function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p=function(t,e,r,n,i){var o=t.width,a=t.height,l=t.layout,f=t.children,p=Object.keys(e),m={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},b=!!Object(c.b)(f,"Bar");return p.reduce((function(o,a){var c,f,p,v,g,y=e[a],w=y.orientation,x=y.domain,O=y.padding,_=void 0===O?{}:O,S=y.mirror,k=y.reversed,E="".concat(w).concat(S?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var M=x[1]-x[0],C=1/0,j=y.categoricalDomain.sort();j.forEach((function(t,e){e>0&&(C=Math.min((t||0)-(j[e-1]||0),C))}));var A=C/M,T="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(c=A*T/2),"no-gap"===y.padding){var P=Object(u.d)(t.barCategoryGap,A*T),D=A*T/2;c=D-P-(D-P)/T*P}}f="xAxis"===n?[r.left+(_.left||0)+(c||0),r.left+r.width-(_.right||0)-(c||0)]:"yAxis"===n?"horizontal"===l?[r.top+r.height-(_.bottom||0),r.top+(_.top||0)]:[r.top+(_.top||0)+(c||0),r.top+r.height-(_.bottom||0)-(c||0)]:y.range,k&&(f=[f[1],f[0]]);var R=Object(s.A)(y,i,b),L=R.scale,I=R.realScaleType;L.domain(x).range(f),Object(s.c)(L);var N=Object(s.u)(L,h(h({},y),{},{realScaleType:I}));"xAxis"===n?(g="top"===w&&!S||"bottom"===w&&S,p=r.left,v=m[E]-g*y.height):"yAxis"===n&&(g="left"===w&&!S||"right"===w&&S,p=m[E]-g*y.width,v=r.top);var F=h(h(h({},y),N),{},{realScaleType:I,x:p,y:v,scale:L,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return F.bandSize=Object(s.f)(F,N),y.hide||"xAxis"!==n?y.hide||(m[E]+=(g?-1:1)*F.width):m[E]+=(g?-1:1)*F.height,h(h({},o),{},d({},a,F))}),{})},m=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},b=function(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;return m({x:e,y:r},{x:n,y:i})},v=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}var e,r,n;return e=t,n=[{key:"create",value:function(e){return new t(e)}}],(r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o;default:return this.scale(t)}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}])&&l(e.prototype,r),n&&l(e,n),t}();v.EPS=1e-4;var g=function(t){var e=Object.keys(t).reduce((function(e,r){return h(h({},e),{},d({},r,v.create(t[r])))}),{});return h(h({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return a()(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:i})}))},isInRange:function(t){return i()(t,(function(t,r){return e[r].isInRange(t)}))}})}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return h})),r.d(e,"c",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"e",(function(){return l})),r.d(e,"f",(function(){return f}));var n,i=r(2),o=n||(n={});o.Pop="POP",o.Push="PUSH",o.Replace="REPLACE";var a=function(t){return t};function s(t){t.preventDefault(),t.returnValue=""}function c(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function u(){return Math.random().toString(36).substr(2,8)}function l(t){var e=t.pathname,r=t.search;return(void 0===e?"/":e)+(void 0===r?"":r)+(void 0===(t=t.hash)?"":t)}function f(t){var e={};if(t){var r=t.indexOf("#");0<=r&&(e.hash=t.substr(r),t=t.substr(0,r)),0<=(r=t.indexOf("?"))&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function h(t){function e(){var t=p.location,e=m.state||{};return[e.idx,a({pathname:t.pathname,search:t.search,hash:t.hash,state:e.usr||null,key:e.key||"default"})]}function r(t){return"string"===typeof t?t:l(t)}function o(t,e){return void 0===e&&(e=null),a(Object(i.a)({},y,{},"string"===typeof t?f(t):t,{state:e,key:u()}))}function h(t){v=t,t=e(),g=t[0],y=t[1],w.call({action:v,location:y})}function d(t){m.go(t)}void 0===t&&(t={});var p=void 0===(t=t.window)?document.defaultView:t,m=p.history,b=null;p.addEventListener("popstate",(function(){if(b)x.call(b),b=null;else{var t=n.Pop,r=e(),i=r[0];if(r=r[1],x.length){if(null!=i){var o=g-i;o&&(b={action:t,location:r,retry:function(){d(-1*o)}},d(o))}}else h(t)}}));var v=n.Pop,g=(t=e())[0],y=t[1],w=c(),x=c();return null==g&&(g=0,m.replaceState(Object(i.a)({},m.state,{idx:g}),"")),{get action(){return v},get location(){return y},createHref:r,push:function t(e,i){var a=n.Push,s=o(e,i);if(!x.length||(x.call({action:a,location:s,retry:function(){t(e,i)}}),0)){var c=[{usr:s.state,key:s.key,idx:g+1},r(s)];s=c[0],c=c[1];try{m.pushState(s,"",c)}catch(u){p.location.assign(c)}h(a)}},replace:function t(e,i){var a=n.Replace,s=o(e,i);x.length&&(x.call({action:a,location:s,retry:function(){t(e,i)}}),1)||(s=[{usr:s.state,key:s.key,idx:g},r(s)],m.replaceState(s[0],"",s[1]),h(a))},go:d,back:function(){d(-1)},forward:function(){d(1)},listen:function(t){return w.push(t)},block:function(t){var e=x.push(t);return 1===x.length&&p.addEventListener("beforeunload",s),function(){e(),x.length||p.removeEventListener("beforeunload",s)}}}}function d(t){function e(){var t=f(m.location.hash.substr(1)),e=t.pathname,r=t.search;t=t.hash;var n=b.state||{};return[n.idx,a({pathname:void 0===e?"/":e,search:void 0===r?"":r,hash:void 0===t?"":t,state:n.usr||null,key:n.key||"default"})]}function r(){if(v)O.call(v),v=null;else{var t=n.Pop,r=e(),i=r[0];if(r=r[1],O.length){if(null!=i){var o=y-i;o&&(v={action:t,location:r,retry:function(){p(-1*o)}},p(o))}}else d(t)}}function o(t){var e=document.querySelector("base"),r="";return e&&e.getAttribute("href")&&(r=-1===(r=(e=m.location.href).indexOf("#"))?e:e.slice(0,r)),r+"#"+("string"===typeof t?t:l(t))}function h(t,e){return void 0===e&&(e=null),a(Object(i.a)({},w,{},"string"===typeof t?f(t):t,{state:e,key:u()}))}function d(t){g=t,t=e(),y=t[0],w=t[1],x.call({action:g,location:w})}function p(t){b.go(t)}void 0===t&&(t={});var m=void 0===(t=t.window)?document.defaultView:t,b=m.history,v=null;m.addEventListener("popstate",r),m.addEventListener("hashchange",(function(){l(e()[1])!==l(w)&&r()}));var g=n.Pop,y=(t=e())[0],w=t[1],x=c(),O=c();return null==y&&(y=0,b.replaceState(Object(i.a)({},b.state,{idx:y}),"")),{get action(){return g},get location(){return w},createHref:o,push:function t(e,r){var i=n.Push,a=h(e,r);if(!O.length||(O.call({action:i,location:a,retry:function(){t(e,r)}}),0)){var s=[{usr:a.state,key:a.key,idx:y+1},o(a)];a=s[0],s=s[1];try{b.pushState(a,"",s)}catch(c){m.location.assign(s)}d(i)}},replace:function t(e,r){var i=n.Replace,a=h(e,r);O.length&&(O.call({action:i,location:a,retry:function(){t(e,r)}}),1)||(a=[{usr:a.state,key:a.key,idx:y},o(a)],b.replaceState(a[0],"",a[1]),d(i))},go:p,back:function(){p(-1)},forward:function(){p(1)},listen:function(t){return x.push(t)},block:function(t){var e=O.push(t);return 1===O.length&&m.addEventListener("beforeunload",s),function(){e(),O.length||m.removeEventListener("beforeunload",s)}}}}function p(t){function e(t,e){return void 0===e&&(e=null),a(Object(i.a)({},b,{},"string"===typeof t?f(t):t,{state:e,key:u()}))}function r(t,e,r){return!g.length||(g.call({action:t,location:e,retry:r}),!1)}function o(t,e){m=t,b=e,v.call({action:m,location:b})}function s(t){var e=Math.min(Math.max(p+t,0),d.length-1),i=n.Pop,a=d[e];r(i,a,(function(){s(t)}))&&(p=e,o(i,a))}void 0===t&&(t={});var h=t;t=h.initialEntries,h=h.initialIndex;var d=(void 0===t?["/"]:t).map((function(t){return a(Object(i.a)({pathname:"/",search:"",hash:"",state:null,key:u()},"string"===typeof t?f(t):t))})),p=Math.min(Math.max(null==h?d.length-1:h,0),d.length-1),m=n.Pop,b=d[p],v=c(),g=c();return{get index(){return p},get action(){return m},get location(){return b},createHref:function(t){return"string"===typeof t?t:l(t)},push:function t(i,a){var s=n.Push,c=e(i,a);r(s,c,(function(){t(i,a)}))&&(p+=1,d.splice(p,d.length,c),o(s,c))},replace:function t(i,a){var s=n.Replace,c=e(i,a);r(s,c,(function(){t(i,a)}))&&(d[p]=c,o(s,c))},go:s,back:function(){s(-1)},forward:function(){s(1)},listen:function(t){return v.push(t)},block:function(t){return g.push(t)}}}},function(t,e,r){"use strict";function n(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}r.d(e,"a",(function(){return n}))},function(t,e,r){var n=r(803),i=r(1274),o=r(345);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},,function(t,e,r){var n=r(977),i=r(1001),o=r(345),a=r(68),s=r(1004);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):n(t):s(t)}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1088).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";var n=r(0),i=r.n(n),o=r(355),a=r.n(o),s=function(){return(s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};e.a=function(t){for(var e=t.url,r=t.allowFullScreen,n=t.position,o=t.display,c=t.height,u=t.width,l=t.overflow,f=t.styles,h=t.onLoad,d=t.onMouseOver,p=t.onMouseOut,m=t.scrolling,b=t.id,v=t.frameBorder,g=t.ariaHidden,y=t.sandbox,w=t.allow,x=t.className,O=t.title,_=t.ariaLabel,S=t.ariaLabelledby,k=t.name,E=t.target,M=t.loading,C=t.importance,j=t.referrerpolicy,A=t.allowpaymentrequest,T=t.src,P=a()({src:T||e,target:E||null,style:{position:n||null,display:o||"block",overflow:l||null},scrolling:m||null,allowpaymentrequest:A||null,importance:C||null,sandbox:y||null,loading:M||null,styles:f||null,name:k||null,className:x||null,referrerpolicy:j||null,title:O||null,allow:w||null,id:b||null,"aria-labelledby":S||null,"aria-hidden":g||null,"aria-label":_||null,width:u||null,height:c||null,onLoad:h||null,onMouseOver:d||null,onMouseOut:p||null}),D=Object.create(null),R=0,L=Object.keys(P);R<L.length;R++){var I=L[R];null!=P[I]&&(D[I]=P[I])}for(var N=0,F=Object.keys(D.style);N<F.length;N++){var B=F[N];null==D.style[B]&&delete D.style[B]}if(r)if("allow"in D){var z=D.allow.replace("fullscreen","");D.allow=("fullscreen "+z.trim()).trim()}else D.allow="fullscreen";return v>=0&&(D.style.hasOwnProperty("border")||(D.style.border=v)),i.a.createElement("iframe",s({},D))}},function(t,e,r){t.exports={decode:r(705),verify:r(1128),sign:r(1131),JsonWebTokenError:r(480),NotBeforeError:r(762),TokenExpiredError:r(763)}},function(t,e,r){"use strict";var n=r(515);e.a=function(t,e){return e?Object(n.a)(t,e,{clone:!1}):t}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");e.default=a},function(t,e,r){"use strict";e.a=function(t){return"string"===typeof t}},function(t,e,r){"use strict";function n(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}r.d(e,"b",(function(){return n})),e.a=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));var n=function(t){for(var e,r=0,n=0,i=t.length;i>=4;++n,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))+(59797*(e>>>16)<<16),r=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&t.charCodeAt(n+2))<<16;case 2:r^=(255&t.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},i=r(525),o=r(412),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!==typeof t},l=Object(o.a)((function(t){return c(t)?t:t.replace(a,"-$&").toLowerCase()})),f=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(s,(function(t,e,r){return d={name:e,styles:r,next:d},e}))}return 1===i.a[t]||c(t)||"number"!==typeof e||0===e?e:e+"px"};function h(t,e,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return d={name:r.name,styles:r.styles,next:d},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)d={name:n.name,styles:n.styles,next:d},n=n.next;return r.styles+";"}return function(t,e,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(t,e,r[i])+";";else for(var o in r){var a=r[o];if("object"!==typeof a)null!=e&&void 0!==e[a]?n+=o+"{"+e[a]+"}":u(a)&&(n+=l(o)+":"+f(o,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=h(t,e,a);switch(o){case"animation":case"animationName":n+=l(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var c=0;c<a.length;c++)u(a[c])&&(n+=l(o)+":"+f(o,a[c])+";")}return n}(t,e,r);case"function":if(void 0!==t){var i=d,o=r(t);return d=i,h(t,e,o)}break;case"string":}if(null==e)return r;var a=e[r];return void 0!==a?a:r}var d,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var m=function(t,e,r){if(1===t.length&&"object"===typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i=!0,o="";d=void 0;var a=t[0];null==a||void 0===a.raw?(i=!1,o+=h(r,e,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=h(r,e,t[s]),i&&(o+=a[s]);p.lastIndex=0;for(var c,u="";null!==(c=p.exec(o));)u+="-"+c[1];return{name:n(o)+u,styles:o,next:d}}},function(t,e,r){"use strict";(function(t){var n=r(508),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.a.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();e.a=s}).call(this,r(466)(t))},function(t,e,r){"use strict";function n(t){return t[0]}function i(t){return t[1]}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}))},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.default=a},function(t,e,r){"use strict";var n=Function.prototype.toString;e.a=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e,r){"use strict";var n=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;t.exports=function(t,e){try{return function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){var s,c,u,l=n(e),f=n(r);if(l&&f){if((c=e.length)!=r.length)return!1;for(s=c;0!==s--;)if(!t(e[s],r[s]))return!1;return!0}if(l!=f)return!1;var h=e instanceof Date,d=r instanceof Date;if(h!=d)return!1;if(h&&d)return e.getTime()==r.getTime();var p=e instanceof RegExp,m=r instanceof RegExp;if(p!=m)return!1;if(p&&m)return e.toString()==r.toString();var b=i(e);if((c=b.length)!==i(r).length)return!1;for(s=c;0!==s--;)if(!o.call(r,b[s]))return!1;if(a&&e instanceof Element&&r instanceof Element)return e===r;for(s=c;0!==s--;)if(("_owner"!==(u=b[s])||!e.$$typeof)&&!t(e[u],r[u]))return!1;return!0}return e!==e&&r!==r}(t,e)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||-2146828260===r.number)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiTablePagination",t)}var a=Object(i.a)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);e.a=a},,,function(t,e,r){var n=r(390),i=r(938),o=r(939),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!==t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"===typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}v(t,e,o,{once:!0}),"error"!==e&&function(t,e,r){"function"===typeof t.on&&v(t,"error",e,r)}(t,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var i,o,a,s;if(u(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),a=o[e]),void 0===a)a=o[e]=r,++t._eventsCount;else if("function"===typeof a?a=o[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(t))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return t}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):b(i,i.length)}function m(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function b(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function v(t,e,r,n){if("function"===typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[t];if(void 0===c)return!1;if("function"===typeof c)o(c,this,e);else{var u=c.length,l=b(c,u);for(r=0;r<u;++r)o(l[r],this,e)}return!0},s.prototype.addListener=function(t,e){return f(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return f(this,t,e,!0)},s.prototype.once=function(t,e){return u(e),this.on(t,d(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return u(e),this.prependListener(t,d(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,i,o,a;if(u(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){"use strict";var n=r(71).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!==typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=f,e=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){var n=r(71).Buffer,i=r(473).Transform,o=r(266).StringDecoder;function a(t){i.call(this),this.hashMode="string"===typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(53)(a,i),a.prototype.update=function(t,e,r){"string"===typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(i){n=i}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(r){e=r}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=a},function(t,e,r){"use strict";var n=r(428);r.d(e,"a",(function(){return n.a}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));var n=r(0),i=r(76),o=!0,a=!1,s=null,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function l(){o=!1}function f(){"hidden"===this.visibilityState&&a&&(o=!0)}function h(t){var e=t.target;try{return e.matches(":focus-visible")}catch(r){}return o||function(t){var e=t.type,r=t.tagName;return!("INPUT"!==r||!c[e]||t.readOnly)||("TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}(e)}function d(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function p(){return{isFocusVisible:h,onBlurVisible:d,ref:n.useCallback((function(t){var e,r=i.findDOMNode(t);null!=r&&((e=r.ownerDocument).addEventListener("keydown",u,!0),e.addEventListener("mousedown",l,!0),e.addEventListener("pointerdown",l,!0),e.addEventListener("touchstart",l,!0),e.addEventListener("visibilitychange",f,!0))}),[])}}},function(t,e,r){"use strict";function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=this,s=function(){t.apply(a,i)};clearTimeout(e),e=setTimeout(s,r)}return n.clear=function(){clearTimeout(e)},n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}),"Fullscreen");e.default=a},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(29);function i(t,e){var r=0;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(a=+a)>=a&&++r}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(n.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(l=+l)>=l&&++r}}catch(f){u.e(f)}finally{u.f()}}return r}},function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return c}));var n=r(414),i=r(321),o=r(493),a=r(427);function s(t,e,r){if(s=(t=Float64Array.from(Object(a.b)(t,r))).length){if((e=+e)<=0||s<2)return Object(i.a)(t);if(e>=1)return Object(n.a)(t);var s,c=(s-1)*e,u=Math.floor(c),l=Object(n.a)(Object(o.a)(t,u).subarray(0,u+1));return l+(Object(i.a)(t.subarray(u+1))-l)*(c-u)}}function c(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.a;if(n=t.length){if((e=+e)<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),s=+r(t[o],o,t),c=+r(t[o+1],o+1,t);return s+(c-s)*(i-o)}}},function(t,e,r){"use strict";var n=r(118),i=r(318),o=r(497),a=r(496),s=r(175),c=r(498),u=r(495),l=r(377),f=r(286);e.a=function(t,e){var r,h=typeof e;return null==e||"boolean"===h?Object(l.a)(e):("number"===h?s.a:"string"===h?(r=Object(n.e)(e))?(e=r,i.a):u.a:e instanceof n.e?i.a:e instanceof Date?a.a:Object(f.b)(e)?f.a:Array.isArray(e)?o.b:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?c.a:s.a)(t,e)}},function(t,e,r){"use strict";var n,i=r(0),o=!0,a=!1,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function u(){o=!1}function l(){"hidden"===this.visibilityState&&a&&(o=!0)}function f(t){var e=t.target;try{return e.matches(":focus-visible")}catch(r){}return o||function(t){var e=t.type,r=t.tagName;return!("INPUT"!==r||!s[e]||t.readOnly)||("TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}(e)}e.a=function(){var t=i.useCallback((function(t){var e;null!=t&&((e=t.ownerDocument).addEventListener("keydown",c,!0),e.addEventListener("mousedown",u,!0),e.addEventListener("pointerdown",u,!0),e.addEventListener("touchstart",u,!0),e.addEventListener("visibilitychange",l,!0))}),[]),e=i.useRef(!1);return{isFocusVisibleRef:e,onFocus:function(t){return!!f(t)&&(e.current=!0,!0)},onBlur:function(){return!!e.current&&(a=!0,window.clearTimeout(n),n=window.setTimeout((function(){a=!1}),100),e.current=!1,!0)},ref:t}}},function(t,e,r){"use strict";t.exports=r(936)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(423);function i(t,e){if(t){if("string"===typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},function(t,e,r){"use strict";var n=r(160),i=r(153);e.a=function(t){return"symbol"==typeof t||Object(i.a)(t)&&"[object Symbol]"==Object(n.a)(t)}},function(t,e,r){"use strict";var n=Object.prototype;e.a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,r){"use strict";function n(t){this._maxSize=t,this.clear()}n.prototype.clear=function(){this._size=0,this._values=Object.create(null)},n.prototype.get=function(t){return this._values[t]},n.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),t in this._values||this._size++,this._values[t]=e};var i=/[^.^\]^[]+|(?=\[\]|\.\.)/g,o=/^\d+$/,a=/^\d/,s=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,c=/^\s*(['"]?)(.*?)(\1)\s*$/,u=new n(512),l=new n(512),f=new n(512);function h(t){return u.get(t)||u.set(t,d(t).map((function(t){return t.replace(c,"$2")})))}function d(t){return t.match(i)}function p(t){return"string"===typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function m(t){return!p(t)&&(function(t){return t.match(a)&&!t.match(o)}(t)||function(t){return s.test(t)}(t))}t.exports={Cache:n,split:d,normalizePath:h,setter:function(t){var e=h(t);return l.get(t)||l.set(t,(function(t,r){for(var n=0,i=e.length,o=t;n<i-1;){var a=e[n];if("__proto__"===a||"constructor"===a||"prototype"===a)return t;o=o[e[n++]]}o[e[n]]=r}))},getter:function(t,e){var r=h(t);return f.get(t)||f.set(t,(function(t){for(var n=0,i=r.length;n<i;){if(null==t&&e)return;t=t[r[n++]]}return t}))},join:function(t){return t.reduce((function(t,e){return t+(p(e)||o.test(e)?"["+e+"]":(t?".":"")+e)}),"")},forEach:function(t,e,r){!function(t,e,r){var n,i,o,a,s=t.length;for(i=0;i<s;i++)(n=t[i])&&(m(n)&&(n='"'+n+'"'),a=p(n),o=!a&&/^\d+$/.test(n),e.call(r,n,a,o,i,t))}(Array.isArray(t)?t:d(t),e,r)}}},function(t,e,r){var n=r(1016)("toUpperCase");t.exports=n},function(t,e,r){"use strict";var n=r(874),i=Object(n.b)();e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(0);function i(t,e){return n.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,r){"use strict";var n=r(875),i=Object(n.a)();e.a=i},function(t,e,r){"use strict";var n=r(0),i=n.createContext();e.a=i},function(t,e,r){"use strict";function n(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}r.d(e,"b",(function(){return n})),e.a=function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");e.default=a},function(t,e,r){"use strict";var n=r(0),i=n.createContext();e.a=i},,function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return b}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42);function c(t){return(c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=m(t);if(e){var i=m(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return p(this,r)}}function p(t,e){return!e||"object"!==c(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(c,t);var e,r,n,o=d(c);function c(){return l(this,c),o.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.r,o=t.className,c=a()("recharts-dot",o);return e===+e&&r===+r&&n===+n?i.a.createElement("circle",u({},Object(s.c)(this.props),Object(s.a)(this.props),{className:c,cx:e,cy:r,r:n})):null}}])&&f(e.prototype,r),n&&f(e,n),c}(n.PureComponent)},function(t,e,r){"use strict";r.d(e,"a",(function(){return C}));var n=r(150),i=r.n(n),o=r(44),a=r.n(o),s=r(36),c=r.n(s),u=r(868),l=r.n(u),f=r(68),h=r.n(f),d=r(0),p=r.n(d),m=r(208),b=r(80),v=r(74),g=r(37),y=r(42);function w(t){return function(t){if(Array.isArray(t))return x(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O(){return(O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var M={valueAccessor:function(t){return h()(t.value)?l()(t.value):t.value}};function C(t){var e=t.data,r=t.valueAccessor,n=t.dataKey,i=t.clockWise,o=t.id,a=t.textBreakAll,s=E(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?p.a.createElement(b.a,{className:"recharts-label-list"},e.map((function(t,e){var u=c()(n)?r(t,e):Object(g.w)(t&&t.payload,n),l=c()(o)?{}:{id:"".concat(o,"-").concat(e)};return p.a.createElement(m.a,O({},Object(y.c)(t,!0),s,l,{parentViewBox:t.parentViewBox,index:e,value:u,textBreakAll:a,viewBox:m.a.parseViewBox(c()(i)?t:S(S({},t),{},{clockWise:i})),key:"label-".concat(e)}))}))):null}function j(t,e){return t?!0===t?p.a.createElement(C,{key:"labelList-implicit",data:e}):p.a.isValidElement(t)||a()(t)?p.a.createElement(C,{key:"labelList-implicit",data:e,content:t}):i()(t)?p.a.createElement(C,O({data:e},t,{key:"labelList-implicit"})):null:null}C.displayName="LabelList",C.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,i=Object(v.a)(n,C.displayName).map((function(t,r){return Object(d.cloneElement)(t,{data:e,key:"labelList-".concat(r)})}));if(!r)return i;var o=j(t.label,e);return[o].concat(w(i))},C.defaultProps=M},function(t,e,r){"use strict";var n=r(172),i=r(136),o=Object(n.a)(i.a,"DataView"),a=r(295),s=Object(n.a)(i.a,"Promise"),c=Object(n.a)(i.a,"Set"),u=Object(n.a)(i.a,"WeakMap"),l=r(160),f=r(258),h=Object(f.a)(o),d=Object(f.a)(a.a),p=Object(f.a)(s),m=Object(f.a)(c),b=Object(f.a)(u),v=l.a;(o&&"[object DataView]"!=v(new o(new ArrayBuffer(1)))||a.a&&"[object Map]"!=v(new a.a)||s&&"[object Promise]"!=v(s.resolve())||c&&"[object Set]"!=v(new c)||u&&"[object WeakMap]"!=v(new u))&&(v=function(t){var e=Object(l.a)(t),r="[object Object]"==e?t.constructor:void 0,n=r?Object(f.a)(r):"";if(n)switch(n){case h:return"[object DataView]";case d:return"[object Map]";case p:return"[object Promise]";case m:return"[object Set]";case b:return"[object WeakMap]"}return e});e.a=v},function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(172),i=r(136),o=Object(n.a)(i.a,"Map");e.a=o},function(t,e,r){"use strict";var n=r(428),i=r(224),o=r(59),a=r(223),s=r(325),c=r(256);e.a=function(t,e,r){var u=null,l=Object(o.a)(!0),f=null,h=a.a,d=null;function p(o){var a,s,c,p,m,b=(o=Object(i.a)(o)).length,v=!1,g=new Array(b),y=new Array(b);for(null==f&&(d=h(m=Object(n.a)())),a=0;a<=b;++a){if(!(a<b&&l(p=o[a],a,o))===v)if(v=!v)s=a,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),c=a-1;c>=s;--c)d.point(g[c],y[c]);d.lineEnd(),d.areaEnd()}v&&(g[a]=+t(p,a,o),y[a]=+e(p,a,o),d.point(u?+u(p,a,o):g[a],r?+r(p,a,o):y[a]))}if(m)return d=null,m+""||null}function m(){return Object(s.a)().defined(l).curve(h).context(f)}return t="function"===typeof t?t:void 0===t?c.a:Object(o.a)(+t),e="function"===typeof e?e:void 0===e?Object(o.a)(0):Object(o.a)(+e),r="function"===typeof r?r:void 0===r?c.b:Object(o.a)(+r),p.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(+e),u=null,p):t},p.x0=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(+e),p):t},p.x1=function(t){return arguments.length?(u=null==t?null:"function"===typeof t?t:Object(o.a)(+t),p):u},p.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(o.a)(+t),r=null,p):e},p.y0=function(t){return arguments.length?(e="function"===typeof t?t:Object(o.a)(+t),p):e},p.y1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:Object(o.a)(+t),p):r},p.lineX0=p.lineY0=function(){return m().x(t).y(e)},p.lineY1=function(){return m().x(t).y(r)},p.lineX1=function(){return m().x(u).y(e)},p.defined=function(t){return arguments.length?(l="function"===typeof t?t:Object(o.a)(!!t),p):l},p.curve=function(t){return arguments.length?(h=t,null!=f&&(d=h(f)),p):h},p.context=function(t){return arguments.length?(null==t?f=d=null:d=h(f=t),p):f},p}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z"}),"SwapHoriz");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M23.64 7c-.45-.34-4.93-4-11.64-4-1.5 0-2.89.19-4.15.48L18.18 13.8 23.64 7zm-6.6 8.22L3.27 1.44 2 2.72l2.05 2.06C1.91 5.76.59 6.82.36 7l11.63 14.49.01.01.01-.01 3.9-4.86 3.32 3.32 1.27-1.27-3.46-3.46z"}),"SignalWifiOff");e.default=a},function(t,e,r){var n=r(645);t.exports=function(t){return n(t)&&t!=+t}},function(t,e,r){var n=r(263),i=r(68),o=r(264);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==n(t)}},function(t,e,r){"use strict";function n(t,e){for(var r in t)if({}.hasOwnProperty.call(t,r)&&(!{}.hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if({}.hasOwnProperty.call(e,n)&&!{}.hasOwnProperty.call(t,n))return!1;return!0}r.d(e,"a",(function(){return n}))},function(t,e,r){(function(e){for(var n=r(1295),i="undefined"===typeof window?e:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],c=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],c=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!c){var l=0,f=0,h=[];s=function(t){if(0===h.length){var e=n(),r=Math.max(0,1e3/60-(e-l));l=r+e,setTimeout((function(){var t=h.slice(0);h.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(l)}catch(r){setTimeout((function(){throw r}),0)}}),Math.round(r))}return h.push({handle:++f,callback:t,cancelled:!1}),f},c=function(t){for(var e=0;e<h.length;e++)h[e].handle===t&&(h[e].cancelled=!0)}}t.exports=function(t){return s.call(i,t)},t.exports.cancel=function(){c.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=s,t.cancelAnimationFrame=c}}).call(this,r(120))},function(t,e,r){"use strict";function n(t){return t&&t.ownerDocument||document}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(1446),d=r(24),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiIconButton",t)}var v=Object(m.a)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),g=r(6),y=["edge","children","className","color","disabled","disableFocusRipple","size"],w=Object(l.a)(h.a,{name:"MuiIconButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"default"!==r.color&&e["color".concat(Object(d.a)(r.color))],r.edge&&e["edge".concat(Object(d.a)(r.edge))],e["size".concat(Object(d.a)(r.size))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!r.disableRipple&&{"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===r.edge&&{marginLeft:"small"===r.size?-3:-12},"end"===r.edge&&{marginRight:"small"===r.size?-3:-12})}),(function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&Object(o.a)({color:e.palette[r.color].main},!r.disableRipple&&{"&:hover":{backgroundColor:Object(u.a)(e.palette[r.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===r.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:e.typography.pxToRem(28)},Object(n.a)({},"&.".concat(v.disabled),{backgroundColor:"transparent",color:e.palette.action.disabled}))})),x=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiIconButton"}),n=r.edge,a=void 0!==n&&n,u=r.children,l=r.className,h=r.color,p=void 0===h?"default":h,m=r.disabled,v=void 0!==m&&m,x=r.disableFocusRipple,O=void 0!==x&&x,_=r.size,S=void 0===_?"medium":_,k=Object(i.a)(r,y),E=Object(o.a)({},r,{edge:a,color:p,disabled:v,disableFocusRipple:O,size:S}),M=function(t){var e=t.classes,r=t.disabled,n=t.color,i=t.edge,o=t.size,a={root:["root",r&&"disabled","default"!==n&&"color".concat(Object(d.a)(n)),i&&"edge".concat(Object(d.a)(i)),"size".concat(Object(d.a)(o))]};return Object(c.a)(a,b,e)}(E);return Object(g.jsx)(w,Object(o.a)({className:Object(s.a)(M.root,l),centerRipple:!0,focusRipple:!O,disabled:v,ref:e,ownerState:E},k,{children:u}))}));e.a=x},,,,,,,function(t,e,r){var n=r(946),i=r(949);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},function(t,e,r){"use strict";var n=r(474),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=f;var o=Object.create(r(393));o.inherits=r(53);var a=r(708),s=r(597);o.inherits(f,a);for(var c=i(s.prototype),u=0;u<c.length;u++){var l=c[u];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(t){if(!(this instanceof f))return new f(t);a.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=function(t){return t.split("_").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return u})),r.d(e,"c",(function(){return l}));var n=r(0),i=(r(633),r(151)),o=(r(779),r(413),r(183),r(209)),a=r(254),s=r(526),c=Object(i.e)((function(t,e){var r=t.styles,c=Object(a.a)([r],void 0,Object(n.useContext)(i.b)),u=Object(n.useRef)();return Object(n.useLayoutEffect)((function(){var t=e.key+"-global",r=new s.a({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),n=!1,i=document.querySelector('style[data-emotion="'+t+" "+c.name+'"]');return e.sheet.tags.length&&(r.before=e.sheet.tags[0]),null!==i&&(n=!0,i.setAttribute("data-emotion",t),r.hydrate([i])),u.current=[r,n],function(){r.flush()}}),[e]),Object(n.useLayoutEffect)((function(){var t=u.current,r=t[0];if(t[1])t[1]=!1;else{if(void 0!==c.next&&Object(o.b)(e,c.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}e.insert("",c,r,!1)}}),[e,c.name]),null}));function u(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Object(a.a)(e)}var l=function(){var t=u.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},function(t,e,r){"use strict";r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return u}));var n=r(108),i=r(365),o=r(427),a=Object(i.a)(n.a),s=a.right,c=a.left,u=Object(i.a)(o.a).center;e.d=s},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(n.a)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,r){e.setTime(+e+r*t)}),(function(e,r){return(r-e)/t})):i:null},e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"c",(function(){return u}));var n=r(118),i=r(357),o=r(494),a=r(110);function s(t){return function(e){var r,i,o=e.length,a=new Array(o),s=new Array(o),c=new Array(o);for(r=0;r<o;++r)i=Object(n.g)(e[r]),a[r]=i.r||0,s[r]=i.g||0,c[r]=i.b||0;return a=t(a),s=t(s),c=t(c),i.opacity=1,function(t){return i.r=a(t),i.g=s(t),i.b=c(t),i+""}}}e.a=function t(e){var r=Object(a.b)(e);function i(t,e){var i=r((t=Object(n.g)(t)).r,(e=Object(n.g)(e)).r),o=r(t.g,e.g),s=r(t.b,e.b),c=Object(a.a)(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=o(e),t.b=s(e),t.opacity=c(e),t+""}}return i.gamma=t,i}(1);var c=s(i.b),u=s(o.a)},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",(function(){return n}))},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(29);function i(t,e){var r;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(r>a||void 0===r&&a>=a)&&(r=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(n.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(r>l||void 0===r&&l>=l)&&(r=l)}}catch(f){u.e(f)}finally{u.f()}}return r}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=n.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/i.a}),(function(t){return t.getUTCDate()-1}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){return t.setHours(0,0,0,0)}),(function(t,e){return t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a}),(function(t){return t.getDate()-1}));e.b=o;var a=o.range},function(t,e,r){"use strict";var n=r(428),i=r(224),o=r(59),a=r(223),s=r(256);e.a=function(t,e){var r=Object(o.a)(!0),c=null,u=a.a,l=null;function f(o){var a,s,f,h=(o=Object(i.a)(o)).length,d=!1;for(null==c&&(l=u(f=Object(n.a)())),a=0;a<=h;++a)!(a<h&&r(s=o[a],a,o))===d&&((d=!d)?l.lineStart():l.lineEnd()),d&&l.point(+t(s,a,o),+e(s,a,o));if(f)return l=null,f+""||null}return t="function"===typeof t?t:void 0===t?s.a:Object(o.a)(t),e="function"===typeof e?e:void 0===e?s.b:Object(o.a)(e),f.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(+e),f):t},f.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(o.a)(+t),f):e},f.defined=function(t){return arguments.length?(r="function"===typeof t?t:Object(o.a)(!!t),f):r},f.curve=function(t){return arguments.length?(u=t,null!=c&&(l=u(c)),f):u},f.context=function(t){return arguments.length?(null==t?c=l=null:l=u(c=t),f):c},f}},function(t,e,r){"use strict";function n(t,e){this._context=t,this._t=e}function i(t){return new n(t,0)}function o(t){return new n(t,1)}r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return o})),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},e.a=function(t){return new n(t,.5)}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");e.default=a},function(t,e,r){var n=r(937),i=r(685);t.exports=function(t,e){return null!=t&&i(t,e,n)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(819);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Object(n.a)(t,e)}},function(t,e,r){"use strict";function n(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(n(t.value)&&""!==t.value||e&&n(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}))},,function(t,e,r){"use strict";function n(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(n(t.value)&&""!==t.value||e&&n(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}))},function(t,e,r){"use strict";function n(t){return+t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(34);e.a={draw:function(t,e){var r=Math.sqrt(e/n.j);t.moveTo(r,0),t.arc(0,0,r,0,n.m)}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return D}));var n=r(36),i=r.n(n),o=r(0),a=r.n(o),s=r(554),c=r.n(s),u=r(55),l=r.n(u),f=r(17),h=r(154),d=r(42),p=r(201);function m(t){return(m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){return(b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function v(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=_(t);if(e){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return O(this,r)}}function O(t,e){return!e||"object"!==m(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return k(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){C(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function C(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var j=/[ \f\n\r\t\v\u2028\u2029]+/,A=function(t){try{var e=[];return i()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(j)),{wordsWithComputedWidth:e.map((function(e){return{word:e,width:Object(p.c)(e,t.style).width}})),spaceWidth:t.breakAll?0:Object(p.c)("\xa0",t.style).width}}catch(r){return null}},T=function(t){return[{words:i()(t)?[]:t.toString().split(j)}]},P=function(t,e){if((t.width||t.scaleToFit)&&!h.a.isSsr&&e){var r=A(t);return r?function(t,e,r,n,i){var o=Object(f.h)(t.maxLines),a=t.children,s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce((function(t,e){var o=e.word,a=e.width,s=t[t.length-1];if(s&&(null==n||i||s.width+a+r<n))s.words.push(o),s.width+=a+r;else{var c={words:[o],width:a};t.push(c)}return t}),[])},c=s(e);if(!o)return c;for(var u,l=function(e){var r=a.slice(0,e),i=A(M(M({},t),{},{children:r+"\u2026"})).wordsWithComputedWidth,o=s(i);return[o.length>t.maxLines||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>n,o]},h=0,d=a.length-1,p=0;h<=d&&p<=a.length-1;){var m=Math.floor((h+d)/2),b=S(l(m-1),2),v=b[0],g=b[1],y=S(l(m),1)[0];if(v||y||(h=m+1),v&&y&&(d=m-1),!v&&y){u=g;break}p++}return u||c}(t,r.wordsWithComputedWidth,r.spaceWidth,t.width,t.scaleToFit):T(t.children)}return T(t.children)},D=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(o,t);var e,r,n,i=x(o);function o(){var t;g(this,o);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=i.call.apply(i,[this].concat(r))).state={},t}return e=o,n=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var r=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:P(t,r)}}return null}}],(r=[{key:"render",value:function(){var t=this.props,e=t.dx,r=t.dy,n=t.textAnchor,i=t.verticalAnchor,o=t.scaleToFit,s=t.angle,u=t.lineHeight,h=t.capHeight,p=t.className,m=t.breakAll,g=v(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),y=this.state.wordsByLines;if(!Object(f.g)(g.x)||!Object(f.g)(g.y))return null;var w,x=g.x+(Object(f.h)(e)?e:0),O=g.y+(Object(f.h)(r)?r:0);switch(i){case"start":w=c()("calc(".concat(h,")"));break;case"middle":w=c()("calc(".concat((y.length-1)/2," * -").concat(u," + (").concat(h," / 2))"));break;default:w=c()("calc(".concat(y.length-1," * -").concat(u,")"))}var _=[];if(o){var S=y[0].width,k=this.props.width;_.push("scale(".concat((Object(f.h)(k)?k/S:1)/S,")"))}return s&&_.push("rotate(".concat(s,", ").concat(x,", ").concat(O,")")),_.length&&(g.transform=_.join(" ")),a.a.createElement("text",b({},Object(d.c)(g,!0),{x:x,y:O,className:l()("recharts-text",p),textAnchor:n}),y.map((function(t,e){return a.a.createElement("tspan",{x:x,dy:0===e?w:u,key:e},t.words.join(m?"":" "))})))}}])&&y(e.prototype,r),n&&y(e,n),o}(o.Component);D.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"}},function(t,e,r){"use strict";r.d(e,"b",(function(){return g})),r.d(e,"a",(function(){return y}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(174),c=r(42);function u(t){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=b(t);if(e){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(t,e){return!e||"object"!==u(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),s=n>=0?1:-1,c=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+s*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(u,",").concat(t+c*l[0],",").concat(e)),o+="L ".concat(t+r-c*l[1],",").concat(e),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(u,",\n        ").concat(t+r,",").concat(e+s*l[1])),o+="L ".concat(t+r,",").concat(e+n-s*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(u,",\n        ").concat(t+r-c*l[2],",").concat(e+n)),o+="L ".concat(t+c*l[3],",").concat(e+n),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(u,",\n        ").concat(t,",").concat(e+n-s*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var h=Math.min(a,i);o="M ".concat(t,",").concat(e+s*h,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+c*h,",").concat(e,"\n            L ").concat(t+r-c*h,",").concat(e,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+r,",").concat(e+s*h,"\n            L ").concat(t+r,",").concat(e+n-s*h,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+r-c*h,",").concat(e+n,"\n            L ").concat(t+c*h,",").concat(e+n,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t,",").concat(e+n-s*h," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},g=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,s=e.height;if(Math.abs(a)>0&&Math.abs(s)>0){var c=Math.min(i,i+a),u=Math.max(i,i+a),l=Math.min(o,o+s),f=Math.max(o,o+s);return r>=c&&r<=u&&n>=l&&n<=f}return!1},y=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(u,t);var e,r,n,o=p(u);function u(){var t;f(this,u);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).state={totalLength:-1},t.node=void 0,t}return e=u,(r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(e){}}},{key:"render",value:function(){var t=this,e=this.props,r=e.x,n=e.y,o=e.width,u=e.height,f=e.radius,h=e.className,d=this.state.totalLength,p=this.props,m=p.animationEasing,b=p.animationDuration,g=p.animationBegin,y=p.isAnimationActive,w=p.isUpdateAnimationActive;if(r!==+r||n!==+n||o!==+o||u!==+u||0===o||0===u)return null;var x=a()("recharts-rectangle",h);return w?i.a.createElement(s.a,{canBegin:d>0,from:{width:o,height:u,x:r,y:n},to:{width:o,height:u,x:r,y:n},duration:b,animationEasing:m,isActive:w},(function(e){var r=e.width,n=e.height,o=e.x,a=e.y;return i.a.createElement(s.a,{canBegin:d>0,from:"0px ".concat(-1===d?1:d,"px"),to:"".concat(d,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:b,isActive:y,easing:m},i.a.createElement("path",l({},Object(c.c)(t.props,!0),{className:x,d:v(o,a,r,n,f),ref:function(e){t.node=e}})))})):i.a.createElement("path",l({},Object(c.c)(this.props,!0),{className:x,d:v(r,n,o,u,f)}))}}])&&h(e.prototype,r),n&&h(e,n),u}(n.PureComponent);y.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"}},function(t,e,r){t.exports=function(){var t={characters:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var r,n,i,o,a,s,c,u="",l=0;for(e=t.utf8Encode(e);l<e.length;)o=(r=e.charCodeAt(l++))>>2,a=(3&r)<<4|(n=e.charCodeAt(l++))>>4,s=(15&n)<<2|(i=e.charCodeAt(l++))>>6,c=63&i,isNaN(n)?s=c=64:isNaN(i)&&(c=64),u=u+this.characters.charAt(o)+this.characters.charAt(a)+this.characters.charAt(s)+this.characters.charAt(c);return u},utf8Encode:function(t){t=t.replace(/\r\n/g,"\n");for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}},e=function(e){return"data:image/svg+xml;base64,"+t.encode(e)};return function(t){var r;switch("string"===typeof(r=t)?"string":"undefined"!==typeof SVGElement&&r instanceof SVGElement?"element":void 0){case"string":return e(t);case"element":return function(t){var r=(new XMLSerializer).serializeToString(t);return e(r)}(t);default:return t}}}()},function(t,e,r){"use strict";var n=r(0),i="undefined"!==typeof window?n.useLayoutEffect:n.useEffect;e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(825),i={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function o(t,e){return i[e]||"".concat(n.a.generate(t),"-").concat(e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(339);function i(t,e){var r={};return e.forEach((function(e){r[e]=Object(n.a)(t,e)})),r}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(1446),d=r(24),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiButton",t)}var v=Object(m.a)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=a.createContext({}),y=r(6),w=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],x=function(t){return Object(o.a)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},O=Object(l.a)(h.a,{shouldForwardProp:function(t){return Object(l.b)(t)||"classes"===t},name:"MuiButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["".concat(r.variant).concat(Object(d.a)(r.color))],e["size".concat(Object(d.a)(r.size))],e["".concat(r.variant,"Size").concat(Object(d.a)(r.size))],"inherit"===r.color&&e.colorInherit,r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({},r.typography.button,(e={minWidth:64,padding:"6px 16px",borderRadius:r.shape.borderRadius,transition:r.transitions.create(["background-color","box-shadow","border-color","color"],{duration:r.transitions.duration.short}),"&:hover":Object(o.a)({textDecoration:"none",backgroundColor:Object(u.a)(r.palette.text.primary,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:Object(u.a)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat(r.palette[i.color].main),backgroundColor:Object(u.a)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:r.palette.grey.A100,boxShadow:r.shadows[4],"@media (hover: none)":{boxShadow:r.shadows[2],backgroundColor:r.palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:r.palette[i.color].dark,"@media (hover: none)":{backgroundColor:r.palette[i.color].main}}),"&:active":Object(o.a)({},"contained"===i.variant&&{boxShadow:r.shadows[8]})},Object(n.a)(e,"&.".concat(v.focusVisible),Object(o.a)({},"contained"===i.variant&&{boxShadow:r.shadows[6]})),Object(n.a)(e,"&.".concat(v.disabled),Object(o.a)({color:r.palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat(r.palette.action.disabledBackground)},"outlined"===i.variant&&"secondary"===i.color&&{border:"1px solid ".concat(r.palette.action.disabled)},"contained"===i.variant&&{color:r.palette.action.disabled,boxShadow:r.shadows[0],backgroundColor:r.palette.action.disabledBackground})),e),"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:r.palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid ".concat("light"===r.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===i.variant&&"inherit"!==i.color&&{color:r.palette[i.color].main,border:"1px solid ".concat(Object(u.a)(r.palette[i.color].main,.5))},"contained"===i.variant&&{color:r.palette.getContrastText(r.palette.grey[300]),backgroundColor:r.palette.grey[300],boxShadow:r.shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:r.palette[i.color].contrastText,backgroundColor:r.palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:r.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:r.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:r.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})}),(function(t){var e;return t.ownerState.disableElevation&&(e={boxShadow:"none","&:hover":{boxShadow:"none"}},Object(n.a)(e,"&.".concat(v.focusVisible),{boxShadow:"none"}),Object(n.a)(e,"&:active",{boxShadow:"none"}),Object(n.a)(e,"&.".concat(v.disabled),{boxShadow:"none"}),e)})),_=Object(l.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(t,e){var r=t.ownerState;return[e.startIcon,e["iconSize".concat(Object(d.a)(r.size))]]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},x(e))})),S=Object(l.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(t,e){var r=t.ownerState;return[e.endIcon,e["iconSize".concat(Object(d.a)(r.size))]]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},x(e))})),k=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiButton"}),n=a.useContext(g),u=n.className,l=n.color,h=n.disabled,p=n.disableElevation,m=n.disableFocusRipple,v=n.disableRipple,x=n.fullWidth,k=n.size,E=n.variant,M=r.children,C=r.className,j=r.color,A=r.component,T=void 0===A?"button":A,P=r.disabled,D=r.disableElevation,R=r.disableFocusRipple,L=r.disableRipple,I=r.endIcon,N=r.focusVisibleClassName,F=r.fullWidth,B=r.size,z=r.startIcon,H=r.type,U=r.variant,W=Object(i.a)(r,w),q=j||l||"primary",V=P||h||!1,G=D||p||!1,Y=R||m||!1,X=F||x||!1,$=B||k||"medium",K=U||E||"text",Z=L||v||!1,J=Object(o.a)({},r,{color:q,component:T,disabled:V,disableElevation:G,disableFocusRipple:Y,fullWidth:X,size:$,type:H,variant:K}),Q=function(t){var e=t.color,r=t.disableElevation,n=t.fullWidth,i=t.size,a=t.variant,s=t.classes,u={root:["root",a,"".concat(a).concat(Object(d.a)(e)),"size".concat(Object(d.a)(i)),"".concat(a,"Size").concat(Object(d.a)(i)),"inherit"===e&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat(Object(d.a)(i))],endIcon:["endIcon","iconSize".concat(Object(d.a)(i))]},l=Object(c.a)(u,b,s);return Object(o.a)({},s,l)}(J),tt=z&&Object(y.jsx)(_,{className:Q.startIcon,ownerState:J,children:z}),et=I&&Object(y.jsx)(S,{className:Q.endIcon,ownerState:J,children:I});return Object(y.jsxs)(O,Object(o.a)({ownerState:J,className:Object(s.a)(C,u),component:T,disabled:V,disableRipple:Z,focusRipple:!Y,focusVisibleClassName:Object(s.a)(Q.focusVisible,N),ref:e,type:H},W,{classes:Q,children:[tt,M,et]}))}));e.a=k},,,function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,r){"use strict";(function(e,n){var i=r(71).Buffer,o=e.crypto||e.msCrypto;o&&o.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var r=i.allocUnsafe(t);if(t>0)if(t>65536)for(var a=0;a<t;a+=65536)o.getRandomValues(r.slice(a,a+65536));else o.getRandomValues(r);if("function"===typeof e)return n.nextTick((function(){e(null,r)}));return r}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(120),r(112))},function(t,e,r){"use strict";var n={};function i(t,e,r){r||(r=Error);var i=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"===typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=t,n[t]=i}function o(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,i,a,s;if("string"===typeof e&&(i="not ",e.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(n," ").concat(o(e,"type"));else{var c=function(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(c," ").concat(n," ").concat(o(e,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=u;var i=r(714),o=r(718);r(53)(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var c=a[s];u.prototype[c]||(u.prototype[c]=o.prototype[c])}function u(t){if(!(this instanceof u))return new u(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||e.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(112))},function(t,e,r){var n=r(71).Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"===typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var c=a%i,u=Math.min(o-s,i-c),l=0;l<u;l++)r[c+l]=t[s+l];s+=u,(a+=u)%i===0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,r){"use strict";var n={};function i(t,e,r){r||(r=Error);var i=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"===typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=t,n[t]=i}function o(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,i,a,s;if("string"===typeof e&&(i="not ",e.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(n," ").concat(o(e,"type"));else{var c=function(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(c," ").concat(n," ").concat(o(e,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=u;var i=r(740),o=r(744);r(53)(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var c=a[s];u.prototype[c]||(u.prototype[c]=o.prototype[c])}function u(t){if(!(this instanceof u))return new u(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||e.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(112))},function(t,e,r){var n=r(767),i=r(769);function o(e,r){return delete t.exports[e],t.exports[e]=r,r}t.exports={Parser:n,Tokenizer:r(768),ElementType:r(398),DomHandler:i,get FeedHandler(){return o("FeedHandler",r(1148))},get Stream(){return o("Stream",r(1162))},get WritableStream(){return o("WritableStream",r(776))},get ProxyHandler(){return o("ProxyHandler",r(1164))},get DomUtils(){return o("DomUtils",r(771))},get CollectingHandler(){return o("CollectingHandler",r(1165))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var r=new i(e);return new n(r,e).end(t),r.dom},parseFeed:function(e,r){var i=new t.exports.FeedHandler(r);return new n(i,r).end(e),i.dom},createDomStream:function(t,e,r){var o=new i(t,e,r);return new n(o,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(t,e,r){"use strict";r.r(e),r.d(e,"version",(function(){return n})),r.d(e,"bisect",(function(){return i.f})),r.d(e,"bisectRight",(function(){return i.i})),r.d(e,"bisectLeft",(function(){return i.h})),r.d(e,"bisectCenter",(function(){return i.g})),r.d(e,"ascending",(function(){return i.d})),r.d(e,"bisector",(function(){return i.j})),r.d(e,"count",(function(){return i.k})),r.d(e,"cross",(function(){return i.l})),r.d(e,"cumsum",(function(){return i.m})),r.d(e,"descending",(function(){return i.n})),r.d(e,"deviation",(function(){return i.o})),r.d(e,"extent",(function(){return i.s})),r.d(e,"Adder",(function(){return i.a})),r.d(e,"fsum",(function(){return i.v})),r.d(e,"fcumsum",(function(){return i.t})),r.d(e,"group",(function(){return i.y})),r.d(e,"groups",(function(){return i.A})),r.d(e,"index",(function(){return i.C})),r.d(e,"indexes",(function(){return i.D})),r.d(e,"rollup",(function(){return i.Y})),r.d(e,"rollups",(function(){return i.Z})),r.d(e,"groupSort",(function(){return i.z})),r.d(e,"bin",(function(){return i.e})),r.d(e,"histogram",(function(){return i.B})),r.d(e,"thresholdFreedmanDiaconis",(function(){return i.ib})),r.d(e,"thresholdScott",(function(){return i.jb})),r.d(e,"thresholdSturges",(function(){return i.kb})),r.d(e,"max",(function(){return i.I})),r.d(e,"maxIndex",(function(){return i.J})),r.d(e,"mean",(function(){return i.K})),r.d(e,"median",(function(){return i.L})),r.d(e,"merge",(function(){return i.M})),r.d(e,"min",(function(){return i.N})),r.d(e,"minIndex",(function(){return i.O})),r.d(e,"nice",(function(){return i.P})),r.d(e,"pairs",(function(){return i.Q})),r.d(e,"permute",(function(){return i.R})),r.d(e,"quantile",(function(){return i.S})),r.d(e,"quantileSorted",(function(){return i.T})),r.d(e,"quickselect",(function(){return i.U})),r.d(e,"range",(function(){return i.V})),r.d(e,"least",(function(){return i.F})),r.d(e,"leastIndex",(function(){return i.G})),r.d(e,"greatest",(function(){return i.w})),r.d(e,"greatestIndex",(function(){return i.x})),r.d(e,"scan",(function(){return i.ab})),r.d(e,"shuffle",(function(){return i.bb})),r.d(e,"shuffler",(function(){return i.cb})),r.d(e,"sum",(function(){return i.gb})),r.d(e,"ticks",(function(){return i.nb})),r.d(e,"tickIncrement",(function(){return i.lb})),r.d(e,"tickStep",(function(){return i.mb})),r.d(e,"transpose",(function(){return i.ob})),r.d(e,"variance",(function(){return i.qb})),r.d(e,"zip",(function(){return i.rb})),r.d(e,"every",(function(){return i.r})),r.d(e,"some",(function(){return i.db})),r.d(e,"filter",(function(){return i.u})),r.d(e,"map",(function(){return i.H})),r.d(e,"reduce",(function(){return i.W})),r.d(e,"reverse",(function(){return i.X})),r.d(e,"sort",(function(){return i.eb})),r.d(e,"difference",(function(){return i.p})),r.d(e,"disjoint",(function(){return i.q})),r.d(e,"intersection",(function(){return i.E})),r.d(e,"subset",(function(){return i.fb})),r.d(e,"superset",(function(){return i.hb})),r.d(e,"union",(function(){return i.pb})),r.d(e,"InternMap",(function(){return i.b})),r.d(e,"InternSet",(function(){return i.c})),r.d(e,"axisTop",(function(){return d})),r.d(e,"axisRight",(function(){return p})),r.d(e,"axisBottom",(function(){return m})),r.d(e,"axisLeft",(function(){return b})),r.d(e,"brush",(function(){return Wr})),r.d(e,"brushX",(function(){return Hr})),r.d(e,"brushY",(function(){return Ur})),r.d(e,"brushSelection",(function(){return zr})),r.d(e,"chord",(function(){return tn})),r.d(e,"chordTranspose",(function(){return en})),r.d(e,"chordDirected",(function(){return rn})),r.d(e,"ribbon",(function(){return bn})),r.d(e,"ribbonArrow",(function(){return vn})),r.d(e,"color",(function(){return gn.a})),r.d(e,"rgb",(function(){return gn.h})),r.d(e,"hsl",(function(){return gn.e})),r.d(e,"lab",(function(){return gn.f})),r.d(e,"hcl",(function(){return gn.d})),r.d(e,"lch",(function(){return gn.g})),r.d(e,"gray",(function(){return gn.c})),r.d(e,"cubehelix",(function(){return gn.b})),r.d(e,"contours",(function(){return Tn})),r.d(e,"contourDensity",(function(){return Fn})),r.d(e,"Delaunay",(function(){return ui})),r.d(e,"Voronoi",(function(){return ri})),r.d(e,"dispatch",(function(){return S})),r.d(e,"drag",(function(){return gi})),r.d(e,"dragDisable",(function(){return Yt})),r.d(e,"dragEnable",(function(){return Xt})),r.d(e,"dsvFormat",(function(){return ki})),r.d(e,"csvParse",(function(){return Mi})),r.d(e,"csvParseRows",(function(){return Ci})),r.d(e,"csvFormat",(function(){return ji})),r.d(e,"csvFormatBody",(function(){return Ai})),r.d(e,"csvFormatRows",(function(){return Ti})),r.d(e,"csvFormatRow",(function(){return Pi})),r.d(e,"csvFormatValue",(function(){return Di})),r.d(e,"tsvParse",(function(){return Li})),r.d(e,"tsvParseRows",(function(){return Ii})),r.d(e,"tsvFormat",(function(){return Ni})),r.d(e,"tsvFormatBody",(function(){return Fi})),r.d(e,"tsvFormatRows",(function(){return Bi})),r.d(e,"tsvFormatRow",(function(){return zi})),r.d(e,"tsvFormatValue",(function(){return Hi})),r.d(e,"autoType",(function(){return Ui})),r.d(e,"easeLinear",(function(){return qi})),r.d(e,"easeQuad",(function(){return Yi})),r.d(e,"easeQuadIn",(function(){return Vi})),r.d(e,"easeQuadOut",(function(){return Gi})),r.d(e,"easeQuadInOut",(function(){return Yi})),r.d(e,"easeCubic",(function(){return cr})),r.d(e,"easeCubicIn",(function(){return ar})),r.d(e,"easeCubicOut",(function(){return sr})),r.d(e,"easeCubicInOut",(function(){return cr})),r.d(e,"easePoly",(function(){return Ki})),r.d(e,"easePolyIn",(function(){return Xi})),r.d(e,"easePolyOut",(function(){return $i})),r.d(e,"easePolyInOut",(function(){return Ki})),r.d(e,"easeSin",(function(){return eo})),r.d(e,"easeSinIn",(function(){return Qi})),r.d(e,"easeSinOut",(function(){return to})),r.d(e,"easeSinInOut",(function(){return eo})),r.d(e,"easeExp",(function(){return oo})),r.d(e,"easeExpIn",(function(){return no})),r.d(e,"easeExpOut",(function(){return io})),r.d(e,"easeExpInOut",(function(){return oo})),r.d(e,"easeCircle",(function(){return co})),r.d(e,"easeCircleIn",(function(){return ao})),r.d(e,"easeCircleOut",(function(){return so})),r.d(e,"easeCircleInOut",(function(){return co})),r.d(e,"easeBounce",(function(){return lo})),r.d(e,"easeBounceIn",(function(){return uo})),r.d(e,"easeBounceOut",(function(){return lo})),r.d(e,"easeBounceInOut",(function(){return fo})),r.d(e,"easeBack",(function(){return mo})),r.d(e,"easeBackIn",(function(){return ho})),r.d(e,"easeBackOut",(function(){return po})),r.d(e,"easeBackInOut",(function(){return mo})),r.d(e,"easeElastic",(function(){return go})),r.d(e,"easeElasticIn",(function(){return vo})),r.d(e,"easeElasticOut",(function(){return go})),r.d(e,"easeElasticInOut",(function(){return yo})),r.d(e,"blob",(function(){return xo})),r.d(e,"buffer",(function(){return _o})),r.d(e,"dsv",(function(){return Mo})),r.d(e,"csv",(function(){return Co})),r.d(e,"tsv",(function(){return jo})),r.d(e,"image",(function(){return Ao})),r.d(e,"json",(function(){return Po})),r.d(e,"text",(function(){return ko})),r.d(e,"xml",(function(){return Ro})),r.d(e,"html",(function(){return Lo})),r.d(e,"svg",(function(){return Io})),r.d(e,"forceCenter",(function(){return No})),r.d(e,"forceCollide",(function(){return Ko})),r.d(e,"forceLink",(function(){return Qo})),r.d(e,"forceManyBody",(function(){return ia})),r.d(e,"forceRadial",(function(){return oa})),r.d(e,"forceSimulation",(function(){return na})),r.d(e,"forceX",(function(){return aa})),r.d(e,"forceY",(function(){return sa})),r.d(e,"formatDefaultLocale",(function(){return ca.c})),r.d(e,"format",(function(){return ca.b})),r.d(e,"formatPrefix",(function(){return ca.e})),r.d(e,"formatLocale",(function(){return ca.d})),r.d(e,"formatSpecifier",(function(){return ca.f})),r.d(e,"FormatSpecifier",(function(){return ca.a})),r.d(e,"precisionFixed",(function(){return ca.g})),r.d(e,"precisionPrefix",(function(){return ca.h})),r.d(e,"precisionRound",(function(){return ca.i})),r.d(e,"geoArea",(function(){return cs})),r.d(e,"geoBounds",(function(){return Ws})),r.d(e,"geoCentroid",(function(){return ec})),r.d(e,"geoCircle",(function(){return hc})),r.d(e,"geoClipAntimeridian",(function(){return Sc})),r.d(e,"geoClipCircle",(function(){return kc})),r.d(e,"geoClipExtent",(function(){return Tc})),r.d(e,"geoClipRectangle",(function(){return Ec})),r.d(e,"geoContains",(function(){return Xc})),r.d(e,"geoDistance",(function(){return Bc})),r.d(e,"geoGraticule",(function(){return Zc})),r.d(e,"geoGraticule10",(function(){return Jc})),r.d(e,"geoInterpolate",(function(){return nu})),r.d(e,"geoLength",(function(){return Ic})),r.d(e,"geoPath",(function(){return el})),r.d(e,"geoAlbers",(function(){return yl})),r.d(e,"geoAlbersUsa",(function(){return wl})),r.d(e,"geoAzimuthalEqualArea",(function(){return Sl})),r.d(e,"geoAzimuthalEqualAreaRaw",(function(){return _l})),r.d(e,"geoAzimuthalEquidistant",(function(){return El})),r.d(e,"geoAzimuthalEquidistantRaw",(function(){return kl})),r.d(e,"geoConicConformal",(function(){return Pl})),r.d(e,"geoConicConformalRaw",(function(){return Tl})),r.d(e,"geoConicEqualArea",(function(){return gl})),r.d(e,"geoConicEqualAreaRaw",(function(){return vl})),r.d(e,"geoConicEquidistant",(function(){return Il})),r.d(e,"geoConicEquidistantRaw",(function(){return Ll})),r.d(e,"geoEqualEarth",(function(){return Wl})),r.d(e,"geoEqualEarthRaw",(function(){return Ul})),r.d(e,"geoEquirectangular",(function(){return Rl})),r.d(e,"geoEquirectangularRaw",(function(){return Dl})),r.d(e,"geoGnomonic",(function(){return Vl})),r.d(e,"geoGnomonicRaw",(function(){return ql})),r.d(e,"geoIdentity",(function(){return Gl})),r.d(e,"geoProjection",(function(){return pl})),r.d(e,"geoProjectionMutator",(function(){return ml})),r.d(e,"geoMercator",(function(){return Cl})),r.d(e,"geoMercatorRaw",(function(){return Ml})),r.d(e,"geoNaturalEarth1",(function(){return Xl})),r.d(e,"geoNaturalEarth1Raw",(function(){return Yl})),r.d(e,"geoOrthographic",(function(){return Kl})),r.d(e,"geoOrthographicRaw",(function(){return $l})),r.d(e,"geoStereographic",(function(){return Jl})),r.d(e,"geoStereographicRaw",(function(){return Zl})),r.d(e,"geoTransverseMercator",(function(){return tf})),r.d(e,"geoTransverseMercatorRaw",(function(){return Ql})),r.d(e,"geoRotation",(function(){return uc})),r.d(e,"geoStream",(function(){return Wa})),r.d(e,"geoTransform",(function(){return rl})),r.d(e,"cluster",(function(){return of})),r.d(e,"hierarchy",(function(){return uf})),r.d(e,"pack",(function(){return Rf})),r.d(e,"packSiblings",(function(){return Cf})),r.d(e,"packEnclose",(function(){return mf})),r.d(e,"partition",(function(){return zf})),r.d(e,"stratify",(function(){return Vf})),r.d(e,"tree",(function(){return Jf})),r.d(e,"treemap",(function(){return nh})),r.d(e,"treemapBinary",(function(){return ih})),r.d(e,"treemapDice",(function(){return Bf})),r.d(e,"treemapSlice",(function(){return Qf})),r.d(e,"treemapSliceDice",(function(){return oh})),r.d(e,"treemapSquarify",(function(){return rh})),r.d(e,"treemapResquarify",(function(){return ah})),r.d(e,"interpolate",(function(){return sh.a})),r.d(e,"interpolateArray",(function(){return sh.b})),r.d(e,"interpolateBasis",(function(){return sh.c})),r.d(e,"interpolateBasisClosed",(function(){return sh.d})),r.d(e,"interpolateDate",(function(){return sh.g})),r.d(e,"interpolateDiscrete",(function(){return sh.h})),r.d(e,"interpolateHue",(function(){return sh.m})),r.d(e,"interpolateNumber",(function(){return sh.o})),r.d(e,"interpolateNumberArray",(function(){return sh.p})),r.d(e,"interpolateObject",(function(){return sh.q})),r.d(e,"interpolateRound",(function(){return sh.u})),r.d(e,"interpolateString",(function(){return sh.v})),r.d(e,"interpolateTransformCss",(function(){return sh.w})),r.d(e,"interpolateTransformSvg",(function(){return sh.x})),r.d(e,"interpolateZoom",(function(){return sh.y})),r.d(e,"interpolateRgb",(function(){return sh.r})),r.d(e,"interpolateRgbBasis",(function(){return sh.s})),r.d(e,"interpolateRgbBasisClosed",(function(){return sh.t})),r.d(e,"interpolateHsl",(function(){return sh.k})),r.d(e,"interpolateHslLong",(function(){return sh.l})),r.d(e,"interpolateLab",(function(){return sh.n})),r.d(e,"interpolateHcl",(function(){return sh.i})),r.d(e,"interpolateHclLong",(function(){return sh.j})),r.d(e,"interpolateCubehelix",(function(){return sh.e})),r.d(e,"interpolateCubehelixLong",(function(){return sh.f})),r.d(e,"piecewise",(function(){return sh.z})),r.d(e,"quantize",(function(){return sh.A})),r.d(e,"path",(function(){return ch.a})),r.d(e,"polygonArea",(function(){return uh})),r.d(e,"polygonCentroid",(function(){return lh})),r.d(e,"polygonHull",(function(){return dh})),r.d(e,"polygonContains",(function(){return ph})),r.d(e,"polygonLength",(function(){return mh})),r.d(e,"quadtree",(function(){return Uo})),r.d(e,"randomUniform",(function(){return vh})),r.d(e,"randomInt",(function(){return gh})),r.d(e,"randomNormal",(function(){return yh})),r.d(e,"randomLogNormal",(function(){return wh})),r.d(e,"randomBates",(function(){return Oh})),r.d(e,"randomIrwinHall",(function(){return xh})),r.d(e,"randomExponential",(function(){return _h})),r.d(e,"randomPareto",(function(){return Sh})),r.d(e,"randomBernoulli",(function(){return kh})),r.d(e,"randomGeometric",(function(){return Eh})),r.d(e,"randomBinomial",(function(){return jh})),r.d(e,"randomGamma",(function(){return Mh})),r.d(e,"randomBeta",(function(){return Ch})),r.d(e,"randomWeibull",(function(){return Ah})),r.d(e,"randomCauchy",(function(){return Th})),r.d(e,"randomLogistic",(function(){return Ph})),r.d(e,"randomPoisson",(function(){return Dh})),r.d(e,"randomLcg",(function(){return Lh})),r.d(e,"scaleBand",(function(){return Ih.scaleBand})),r.d(e,"scalePoint",(function(){return Ih.scalePoint})),r.d(e,"scaleIdentity",(function(){return Ih.scaleIdentity})),r.d(e,"scaleLinear",(function(){return Ih.scaleLinear})),r.d(e,"scaleLog",(function(){return Ih.scaleLog})),r.d(e,"scaleSymlog",(function(){return Ih.scaleSymlog})),r.d(e,"scaleOrdinal",(function(){return Ih.scaleOrdinal})),r.d(e,"scaleImplicit",(function(){return Ih.scaleImplicit})),r.d(e,"scalePow",(function(){return Ih.scalePow})),r.d(e,"scaleSqrt",(function(){return Ih.scaleSqrt})),r.d(e,"scaleRadial",(function(){return Ih.scaleRadial})),r.d(e,"scaleQuantile",(function(){return Ih.scaleQuantile})),r.d(e,"scaleQuantize",(function(){return Ih.scaleQuantize})),r.d(e,"scaleThreshold",(function(){return Ih.scaleThreshold})),r.d(e,"scaleTime",(function(){return Ih.scaleTime})),r.d(e,"scaleUtc",(function(){return Ih.scaleUtc})),r.d(e,"scaleSequential",(function(){return Ih.scaleSequential})),r.d(e,"scaleSequentialLog",(function(){return Ih.scaleSequentialLog})),r.d(e,"scaleSequentialPow",(function(){return Ih.scaleSequentialPow})),r.d(e,"scaleSequentialSqrt",(function(){return Ih.scaleSequentialSqrt})),r.d(e,"scaleSequentialSymlog",(function(){return Ih.scaleSequentialSymlog})),r.d(e,"scaleSequentialQuantile",(function(){return Ih.scaleSequentialQuantile})),r.d(e,"scaleDiverging",(function(){return Ih.scaleDiverging})),r.d(e,"scaleDivergingLog",(function(){return Ih.scaleDivergingLog})),r.d(e,"scaleDivergingPow",(function(){return Ih.scaleDivergingPow})),r.d(e,"scaleDivergingSqrt",(function(){return Ih.scaleDivergingSqrt})),r.d(e,"scaleDivergingSymlog",(function(){return Ih.scaleDivergingSymlog})),r.d(e,"tickFormat",(function(){return Ih.tickFormat})),r.d(e,"schemeCategory10",(function(){return Fh})),r.d(e,"schemeAccent",(function(){return Bh})),r.d(e,"schemeDark2",(function(){return zh})),r.d(e,"schemePaired",(function(){return Hh})),r.d(e,"schemePastel1",(function(){return Uh})),r.d(e,"schemePastel2",(function(){return Wh})),r.d(e,"schemeSet1",(function(){return qh})),r.d(e,"schemeSet2",(function(){return Vh})),r.d(e,"schemeSet3",(function(){return Gh})),r.d(e,"schemeTableau10",(function(){return Yh})),r.d(e,"interpolateBrBG",(function(){return Kh})),r.d(e,"schemeBrBG",(function(){return $h})),r.d(e,"interpolatePRGn",(function(){return Jh})),r.d(e,"schemePRGn",(function(){return Zh})),r.d(e,"interpolatePiYG",(function(){return td})),r.d(e,"schemePiYG",(function(){return Qh})),r.d(e,"interpolatePuOr",(function(){return rd})),r.d(e,"schemePuOr",(function(){return ed})),r.d(e,"interpolateRdBu",(function(){return id})),r.d(e,"schemeRdBu",(function(){return nd})),r.d(e,"interpolateRdGy",(function(){return ad})),r.d(e,"schemeRdGy",(function(){return od})),r.d(e,"interpolateRdYlBu",(function(){return cd})),r.d(e,"schemeRdYlBu",(function(){return sd})),r.d(e,"interpolateRdYlGn",(function(){return ld})),r.d(e,"schemeRdYlGn",(function(){return ud})),r.d(e,"interpolateSpectral",(function(){return hd})),r.d(e,"schemeSpectral",(function(){return fd})),r.d(e,"interpolateBuGn",(function(){return pd})),r.d(e,"schemeBuGn",(function(){return dd})),r.d(e,"interpolateBuPu",(function(){return bd})),r.d(e,"schemeBuPu",(function(){return md})),r.d(e,"interpolateGnBu",(function(){return gd})),r.d(e,"schemeGnBu",(function(){return vd})),r.d(e,"interpolateOrRd",(function(){return wd})),r.d(e,"schemeOrRd",(function(){return yd})),r.d(e,"interpolatePuBuGn",(function(){return Od})),r.d(e,"schemePuBuGn",(function(){return xd})),r.d(e,"interpolatePuBu",(function(){return Sd})),r.d(e,"schemePuBu",(function(){return _d})),r.d(e,"interpolatePuRd",(function(){return Ed})),r.d(e,"schemePuRd",(function(){return kd})),r.d(e,"interpolateRdPu",(function(){return Cd})),r.d(e,"schemeRdPu",(function(){return Md})),r.d(e,"interpolateYlGnBu",(function(){return Ad})),r.d(e,"schemeYlGnBu",(function(){return jd})),r.d(e,"interpolateYlGn",(function(){return Pd})),r.d(e,"schemeYlGn",(function(){return Td})),r.d(e,"interpolateYlOrBr",(function(){return Rd})),r.d(e,"schemeYlOrBr",(function(){return Dd})),r.d(e,"interpolateYlOrRd",(function(){return Id})),r.d(e,"schemeYlOrRd",(function(){return Ld})),r.d(e,"interpolateBlues",(function(){return Fd})),r.d(e,"schemeBlues",(function(){return Nd})),r.d(e,"interpolateGreens",(function(){return zd})),r.d(e,"schemeGreens",(function(){return Bd})),r.d(e,"interpolateGreys",(function(){return Ud})),r.d(e,"schemeGreys",(function(){return Hd})),r.d(e,"interpolatePurples",(function(){return qd})),r.d(e,"schemePurples",(function(){return Wd})),r.d(e,"interpolateReds",(function(){return Gd})),r.d(e,"schemeReds",(function(){return Vd})),r.d(e,"interpolateOranges",(function(){return Xd})),r.d(e,"schemeOranges",(function(){return Yd})),r.d(e,"interpolateCividis",(function(){return $d})),r.d(e,"interpolateCubehelixDefault",(function(){return Jd})),r.d(e,"interpolateRainbow",(function(){return rp})),r.d(e,"interpolateWarm",(function(){return Qd})),r.d(e,"interpolateCool",(function(){return tp})),r.d(e,"interpolateSinebow",(function(){return ap})),r.d(e,"interpolateTurbo",(function(){return sp})),r.d(e,"interpolateViridis",(function(){return up})),r.d(e,"interpolateMagma",(function(){return lp})),r.d(e,"interpolateInferno",(function(){return fp})),r.d(e,"interpolatePlasma",(function(){return hp})),r.d(e,"create",(function(){return dp})),r.d(e,"creator",(function(){return kt})),r.d(e,"local",(function(){return mp})),r.d(e,"matcher",(function(){return T})),r.d(e,"namespace",(function(){return G})),r.d(e,"namespaces",(function(){return V})),r.d(e,"pointer",(function(){return Qt})),r.d(e,"pointers",(function(){return vp})),r.d(e,"select",(function(){return qt})),r.d(e,"selectAll",(function(){return gp})),r.d(e,"selection",(function(){return Wt})),r.d(e,"selector",(function(){return M})),r.d(e,"selectorAll",(function(){return A})),r.d(e,"style",(function(){return nt})),r.d(e,"window",(function(){return Q})),r.d(e,"arc",(function(){return yp.a})),r.d(e,"area",(function(){return yp.b})),r.d(e,"line",(function(){return yp.x})),r.d(e,"pie",(function(){return yp.C})),r.d(e,"areaRadial",(function(){return yp.c})),r.d(e,"radialArea",(function(){return yp.E})),r.d(e,"lineRadial",(function(){return yp.y})),r.d(e,"radialLine",(function(){return yp.F})),r.d(e,"pointRadial",(function(){return yp.D})),r.d(e,"linkHorizontal",(function(){return yp.z})),r.d(e,"linkVertical",(function(){return yp.B})),r.d(e,"linkRadial",(function(){return yp.A})),r.d(e,"symbol",(function(){return yp.S})),r.d(e,"symbols",(function(){return yp.ab})),r.d(e,"symbolCircle",(function(){return yp.T})),r.d(e,"symbolCross",(function(){return yp.U})),r.d(e,"symbolDiamond",(function(){return yp.V})),r.d(e,"symbolSquare",(function(){return yp.W})),r.d(e,"symbolStar",(function(){return yp.X})),r.d(e,"symbolTriangle",(function(){return yp.Y})),r.d(e,"symbolWye",(function(){return yp.Z})),r.d(e,"curveBasisClosed",(function(){return yp.e})),r.d(e,"curveBasisOpen",(function(){return yp.f})),r.d(e,"curveBasis",(function(){return yp.d})),r.d(e,"curveBumpX",(function(){return yp.g})),r.d(e,"curveBumpY",(function(){return yp.h})),r.d(e,"curveBundle",(function(){return yp.i})),r.d(e,"curveCardinalClosed",(function(){return yp.k})),r.d(e,"curveCardinalOpen",(function(){return yp.l})),r.d(e,"curveCardinal",(function(){return yp.j})),r.d(e,"curveCatmullRomClosed",(function(){return yp.n})),r.d(e,"curveCatmullRomOpen",(function(){return yp.o})),r.d(e,"curveCatmullRom",(function(){return yp.m})),r.d(e,"curveLinearClosed",(function(){return yp.q})),r.d(e,"curveLinear",(function(){return yp.p})),r.d(e,"curveMonotoneX",(function(){return yp.r})),r.d(e,"curveMonotoneY",(function(){return yp.s})),r.d(e,"curveNatural",(function(){return yp.t})),r.d(e,"curveStep",(function(){return yp.u})),r.d(e,"curveStepAfter",(function(){return yp.v})),r.d(e,"curveStepBefore",(function(){return yp.w})),r.d(e,"stack",(function(){return yp.G})),r.d(e,"stackOffsetExpand",(function(){return yp.I})),r.d(e,"stackOffsetDiverging",(function(){return yp.H})),r.d(e,"stackOffsetNone",(function(){return yp.J})),r.d(e,"stackOffsetSilhouette",(function(){return yp.K})),r.d(e,"stackOffsetWiggle",(function(){return yp.L})),r.d(e,"stackOrderAppearance",(function(){return yp.M})),r.d(e,"stackOrderAscending",(function(){return yp.N})),r.d(e,"stackOrderDescending",(function(){return yp.O})),r.d(e,"stackOrderInsideOut",(function(){return yp.P})),r.d(e,"stackOrderNone",(function(){return yp.Q})),r.d(e,"stackOrderReverse",(function(){return yp.R})),r.d(e,"timeInterval",(function(){return wp.g})),r.d(e,"timeMillisecond",(function(){return wp.h})),r.d(e,"timeMilliseconds",(function(){return wp.i})),r.d(e,"utcMillisecond",(function(){return wp.N})),r.d(e,"utcMilliseconds",(function(){return wp.O})),r.d(e,"timeSecond",(function(){return wp.r})),r.d(e,"timeSeconds",(function(){return wp.s})),r.d(e,"utcSecond",(function(){return wp.X})),r.d(e,"utcSeconds",(function(){return wp.Y})),r.d(e,"timeMinute",(function(){return wp.j})),r.d(e,"timeMinutes",(function(){return wp.k})),r.d(e,"timeHour",(function(){return wp.e})),r.d(e,"timeHours",(function(){return wp.f})),r.d(e,"timeDay",(function(){return wp.a})),r.d(e,"timeDays",(function(){return wp.b})),r.d(e,"timeWeek",(function(){return wp.D})),r.d(e,"timeWeeks",(function(){return wp.E})),r.d(e,"timeSunday",(function(){return wp.t})),r.d(e,"timeSundays",(function(){return wp.u})),r.d(e,"timeMonday",(function(){return wp.l})),r.d(e,"timeMondays",(function(){return wp.m})),r.d(e,"timeTuesday",(function(){return wp.z})),r.d(e,"timeTuesdays",(function(){return wp.A})),r.d(e,"timeWednesday",(function(){return wp.B})),r.d(e,"timeWednesdays",(function(){return wp.C})),r.d(e,"timeThursday",(function(){return wp.v})),r.d(e,"timeThursdays",(function(){return wp.w})),r.d(e,"timeFriday",(function(){return wp.c})),r.d(e,"timeFridays",(function(){return wp.d})),r.d(e,"timeSaturday",(function(){return wp.p})),r.d(e,"timeSaturdays",(function(){return wp.q})),r.d(e,"timeMonth",(function(){return wp.n})),r.d(e,"timeMonths",(function(){return wp.o})),r.d(e,"timeYear",(function(){return wp.F})),r.d(e,"timeYears",(function(){return wp.G})),r.d(e,"utcMinute",(function(){return wp.P})),r.d(e,"utcMinutes",(function(){return wp.Q})),r.d(e,"utcHour",(function(){return wp.L})),r.d(e,"utcHours",(function(){return wp.M})),r.d(e,"utcDay",(function(){return wp.H})),r.d(e,"utcDays",(function(){return wp.I})),r.d(e,"utcWeek",(function(){return wp.jb})),r.d(e,"utcWeeks",(function(){return wp.kb})),r.d(e,"utcSunday",(function(){return wp.Z})),r.d(e,"utcSundays",(function(){return wp.ab})),r.d(e,"utcMonday",(function(){return wp.R})),r.d(e,"utcMondays",(function(){return wp.S})),r.d(e,"utcTuesday",(function(){return wp.fb})),r.d(e,"utcTuesdays",(function(){return wp.gb})),r.d(e,"utcWednesday",(function(){return wp.hb})),r.d(e,"utcWednesdays",(function(){return wp.ib})),r.d(e,"utcThursday",(function(){return wp.bb})),r.d(e,"utcThursdays",(function(){return wp.cb})),r.d(e,"utcFriday",(function(){return wp.J})),r.d(e,"utcFridays",(function(){return wp.K})),r.d(e,"utcSaturday",(function(){return wp.V})),r.d(e,"utcSaturdays",(function(){return wp.W})),r.d(e,"utcMonth",(function(){return wp.T})),r.d(e,"utcMonths",(function(){return wp.U})),r.d(e,"utcYear",(function(){return wp.lb})),r.d(e,"utcYears",(function(){return wp.mb})),r.d(e,"utcTicks",(function(){return wp.eb})),r.d(e,"utcTickInterval",(function(){return wp.db})),r.d(e,"timeTicks",(function(){return wp.y})),r.d(e,"timeTickInterval",(function(){return wp.x})),r.d(e,"timeFormatDefaultLocale",(function(){return xp.d})),r.d(e,"timeFormat",(function(){return xp.c})),r.d(e,"timeParse",(function(){return xp.f})),r.d(e,"utcFormat",(function(){return xp.g})),r.d(e,"utcParse",(function(){return xp.h})),r.d(e,"timeFormatLocale",(function(){return xp.e})),r.d(e,"isoFormat",(function(){return xp.a})),r.d(e,"isoParse",(function(){return xp.b})),r.d(e,"now",(function(){return ce})),r.d(e,"timer",(function(){return fe})),r.d(e,"timerFlush",(function(){return he})),r.d(e,"timeout",(function(){return be})),r.d(e,"interval",(function(){return Op})),r.d(e,"transition",(function(){return nr})),r.d(e,"active",(function(){return hr})),r.d(e,"interrupt",(function(){return _e})),r.d(e,"zoom",(function(){return Np})),r.d(e,"zoomTransform",(function(){return Cp})),r.d(e,"zoomIdentity",(function(){return Mp}));var n="6.7.0",i=r(116),o=Array.prototype.slice,a=function(t){return t};function s(t){return"translate("+t+",0)"}function c(t){return"translate(0,"+t+")"}function u(t){return function(e){return+t(e)}}function l(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),function(r){return+t(r)+e}}function f(){return!this.__axis}function h(t,e){var r=[],n=null,i=null,h=6,d=6,p=3,m="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,b=1===t||4===t?-1:1,v=4===t||2===t?"x":"y",g=1===t||3===t?s:c;function y(o){var s=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,c=null==i?e.tickFormat?e.tickFormat.apply(e,r):a:i,y=Math.max(h,0)+p,w=e.range(),x=+w[0]+m,O=+w[w.length-1]+m,_=(e.bandwidth?l:u)(e.copy(),m),S=o.selection?o.selection():o,k=S.selectAll(".domain").data([null]),E=S.selectAll(".tick").data(s,e).order(),M=E.exit(),C=E.enter().append("g").attr("class","tick"),j=E.select("line"),A=E.select("text");k=k.merge(k.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(C),j=j.merge(C.append("line").attr("stroke","currentColor").attr(v+"2",b*h)),A=A.merge(C.append("text").attr("fill","currentColor").attr(v,b*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==S&&(k=k.transition(o),E=E.transition(o),j=j.transition(o),A=A.transition(o),M=M.transition(o).attr("opacity",1e-6).attr("transform",(function(t){return isFinite(t=_(t))?g(t+m):this.getAttribute("transform")})),C.attr("opacity",1e-6).attr("transform",(function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:_(t))+m)}))),M.remove(),k.attr("d",4===t||2===t?d?"M"+b*d+","+x+"H"+m+"V"+O+"H"+b*d:"M"+m+","+x+"V"+O:d?"M"+x+","+b*d+"V"+m+"H"+O+"V"+b*d:"M"+x+","+m+"H"+O),E.attr("opacity",1).attr("transform",(function(t){return g(_(t)+m)})),j.attr(v+"2",b*h),A.attr(v,b*y).text(c),S.filter(f).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),S.each((function(){this.__axis=_}))}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return r=o.call(arguments),y},y.tickArguments=function(t){return arguments.length?(r=null==t?[]:o.call(t),y):r.slice()},y.tickValues=function(t){return arguments.length?(n=null==t?null:o.call(t),y):n&&n.slice()},y.tickFormat=function(t){return arguments.length?(i=t,y):i},y.tickSize=function(t){return arguments.length?(h=d=+t,y):h},y.tickSizeInner=function(t){return arguments.length?(h=+t,y):h},y.tickSizeOuter=function(t){return arguments.length?(d=+t,y):d},y.tickPadding=function(t){return arguments.length?(p=+t,y):p},y.offset=function(t){return arguments.length?(m=+t,y):m},y}function d(t){return h(1,t)}function p(t){return h(2,t)}function m(t){return h(3,t)}function b(t){return h(4,t)}var v=r(29),g={value:function(){}};function y(){for(var t,e=0,r=arguments.length,n={};e<r;++e){if(!(t=arguments[e]+"")||t in n||/[\s.]/.test(t))throw new Error("illegal type: "+t);n[t]=[]}return new w(n)}function w(t){this._=t}function x(t,e){return t.trim().split(/^|\s+/).map((function(t){var r="",n=t.indexOf(".");if(n>=0&&(r=t.slice(n+1),t=t.slice(0,n)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:r}}))}function O(t,e){for(var r,n=0,i=t.length;n<i;++n)if((r=t[n]).name===e)return r.value}function _(t,e,r){for(var n=0,i=t.length;n<i;++n)if(t[n].name===e){t[n]=g,t=t.slice(0,n).concat(t.slice(n+1));break}return null!=r&&t.push({name:e,value:r}),t}w.prototype=y.prototype={constructor:w,on:function(t,e){var r,n=this._,i=x(t+"",n),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(r=(t=i[o]).type)n[r]=_(n[r],t.name,e);else if(null==e)for(r in n)n[r]=_(n[r],t.name,null);return this}for(;++o<a;)if((r=(t=i[o]).type)&&(r=O(n[r],t.name)))return r},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new w(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var r,n,i=new Array(r),o=0;o<r;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,r=(n=this._[t]).length;o<r;++o)n[o].value.apply(e,i)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var n=this._[t],i=0,o=n.length;i<o;++i)n[i].value.apply(e,r)}};var S=y,k=r(1);function E(){}var M=function(t){return null==t?E:function(){return this.querySelector(t)}},C=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)};function j(){return[]}var A=function(t){return null==t?j:function(){return this.querySelectorAll(t)}};var T=function(t){return function(){return this.matches(t)}};function P(t){return function(e){return e.matches(t)}}var D=Array.prototype.find;function R(){return this.firstElementChild}var L=Array.prototype.filter;function I(){return this.children}var N=function(t){return new Array(t.length)};function F(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}F.prototype={constructor:F,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var B=function(t){return function(){return t}};function z(t,e,r,n,i,o){for(var a,s=0,c=e.length,u=o.length;s<u;++s)(a=e[s])?(a.__data__=o[s],n[s]=a):r[s]=new F(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function H(t,e,r,n,i,o,a){var s,c,u,l=new Map,f=e.length,h=o.length,d=new Array(f);for(s=0;s<f;++s)(c=e[s])&&(d[s]=u=a.call(c,c.__data__,s,e)+"",l.has(u)?i[s]=c:l.set(u,c));for(s=0;s<h;++s)u=a.call(t,o[s],s,o)+"",(c=l.get(u))?(n[s]=c,c.__data__=o[s],l.delete(u)):r[s]=new F(t,o[s]);for(s=0;s<f;++s)(c=e[s])&&l.get(d[s])===c&&(i[s]=c)}function U(t){return t.__data__}function W(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var q="http://www.w3.org/1999/xhtml",V={svg:"http://www.w3.org/2000/svg",xhtml:q,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},G=function(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),V.hasOwnProperty(e)?{space:V[e],local:t}:t};function Y(t){return function(){this.removeAttribute(t)}}function X(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $(t,e){return function(){this.setAttribute(t,e)}}function K(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Z(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}function J(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}var Q=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function tt(t){return function(){this.style.removeProperty(t)}}function et(t,e,r){return function(){this.style.setProperty(t,e,r)}}function rt(t,e,r){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function nt(t,e){return t.style.getPropertyValue(e)||Q(t).getComputedStyle(t,null).getPropertyValue(e)}function it(t){return function(){delete this[t]}}function ot(t,e){return function(){this[t]=e}}function at(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}function st(t){return t.trim().split(/^|\s+/)}function ct(t){return t.classList||new ut(t)}function ut(t){this._node=t,this._names=st(t.getAttribute("class")||"")}function lt(t,e){for(var r=ct(t),n=-1,i=e.length;++n<i;)r.add(e[n])}function ft(t,e){for(var r=ct(t),n=-1,i=e.length;++n<i;)r.remove(e[n])}function ht(t){return function(){lt(this,t)}}function dt(t){return function(){ft(this,t)}}function pt(t,e){return function(){(e.apply(this,arguments)?lt:ft)(this,t)}}ut.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function mt(){this.textContent=""}function bt(t){return function(){this.textContent=t}}function vt(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function gt(){this.innerHTML=""}function yt(t){return function(){this.innerHTML=t}}function wt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function xt(){this.nextSibling&&this.parentNode.appendChild(this)}function Ot(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function _t(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===q&&e.documentElement.namespaceURI===q?e.createElement(t):e.createElementNS(r,t)}}function St(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var kt=function(t){var e=G(t);return(e.local?St:_t)(e)};function Et(){return null}function Mt(){var t=this.parentNode;t&&t.removeChild(this)}function Ct(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function jt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function At(t){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");return r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}))}function Tt(t){return function(){var e=this.__on;if(e){for(var r,n=0,i=-1,o=e.length;n<o;++n)r=e[n],t.type&&r.type!==t.type||r.name!==t.name?e[++i]=r:this.removeEventListener(r.type,r.listener,r.options);++i?e.length=i:delete this.__on}}}function Pt(t,e,r){return function(){var n,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((n=i[a]).type===t.type&&n.name===t.name)return this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=o,n.options=r),void(n.value=e);this.addEventListener(t.type,o,r),n={type:t.type,name:t.name,value:e,listener:o,options:r},i?i.push(n):this.__on=[n]}}function Dt(t,e,r){var n=Q(t),i=n.CustomEvent;"function"===typeof i?i=new i(e,r):(i=n.document.createEvent("Event"),r?(i.initEvent(e,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Rt(t,e){return function(){return Dt(this,t,e)}}function Lt(t,e){return function(){return Dt(this,t,e.apply(this,arguments))}}var It=r(12),Nt=r.n(It),Ft=Nt.a.mark(Bt);function Bt(){var t,e,r,n,i,o,a;return Nt.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:t=this._groups,e=0,r=t.length;case 1:if(!(e<r)){s.next=13;break}n=t[e],i=0,o=n.length;case 3:if(!(i<o)){s.next=10;break}if(!(a=n[i])){s.next=7;break}return s.next=7,a;case 7:++i,s.next=3;break;case 10:++e,s.next=1;break;case 13:case"end":return s.stop()}}),Ft,this)}var zt=[null];function Ht(t,e){this._groups=t,this._parents=e}function Ut(){return new Ht([[document.documentElement]],zt)}Ht.prototype=Ut.prototype=Object(k.a)({constructor:Ht,select:function(t){"function"!==typeof t&&(t=M(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var o,a,s=e[i],c=s.length,u=n[i]=new Array(c),l=0;l<c;++l)(o=s[l])&&(a=t.call(o,o.__data__,l,s))&&("__data__"in o&&(a.__data__=o.__data__),u[l]=a);return new Ht(n,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:C(e)}}(t):A(t);for(var e=this._groups,r=e.length,n=[],i=[],o=0;o<r;++o)for(var a,s=e[o],c=s.length,u=0;u<c;++u)(a=s[u])&&(n.push(t.call(a,a.__data__,u,s)),i.push(a));return new Ht(n,i)},selectChild:function(t){return this.select(null==t?R:function(t){return function(){return D.call(this.children,t)}}("function"===typeof t?t:P(t)))},selectChildren:function(t){return this.selectAll(null==t?I:function(t){return function(){return L.call(this.children,t)}}("function"===typeof t?t:P(t)))},filter:function(t){"function"!==typeof t&&(t=T(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var o,a=e[i],s=a.length,c=n[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new Ht(n,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,U);var r=e?H:z,n=this._parents,i=this._groups;"function"!==typeof t&&(t=B(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),u=0;u<o;++u){var l=n[u],f=i[u],h=f.length,d=C(t.call(l,l&&l.__data__,u,n)),p=d.length,m=s[u]=new Array(p),b=a[u]=new Array(p),v=c[u]=new Array(h);r(l,f,m,b,v,d,e);for(var g,y,w=0,x=0;w<p;++w)if(g=m[w]){for(w>=x&&(x=w+1);!(y=b[x])&&++x<p;);g._next=y||null}}return(a=new Ht(a,n))._enter=s,a._exit=c,a},enter:function(){return new Ht(this._enter||this._groups.map(N),this._parents)},exit:function(){return new Ht(this._exit||this._groups.map(N),this._parents)},join:function(t,e,r){var n=this.enter(),i=this,o=this.exit();return n="function"===typeof t?t(n):n.append(t+""),null!=e&&(i=e(i)),null==r?o.remove():r(o),n&&i?n.merge(i).order():i},merge:function(t){if(!(t instanceof Ht))throw new Error("invalid merge");for(var e=this._groups,r=t._groups,n=e.length,i=r.length,o=Math.min(n,i),a=new Array(n),s=0;s<o;++s)for(var c,u=e[s],l=r[s],f=u.length,h=a[s]=new Array(f),d=0;d<f;++d)(c=u[d]||l[d])&&(h[d]=c);for(;s<n;++s)a[s]=e[s];return new Ht(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var n,i=t[e],o=i.length-1,a=i[o];--o>=0;)(n=i[o])&&(a&&4^n.compareDocumentPosition(a)&&a.parentNode.insertBefore(n,a),a=n);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}t||(t=W);for(var r=this._groups,n=r.length,i=new Array(n),o=0;o<n;++o){for(var a,s=r[o],c=s.length,u=i[o]=new Array(c),l=0;l<c;++l)(a=s[l])&&(u[l]=a);u.sort(e)}return new Ht(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n=t[e],i=0,o=n.length;i<o;++i){var a=n[i];if(a)return a}return null},size:function(){var t,e=0,r=Object(v.a)(this);try{for(r.s();!(t=r.n()).done;){t.value;++e}}catch(n){r.e(n)}finally{r.f()}return e},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,r=0,n=e.length;r<n;++r)for(var i,o=e[r],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var r=G(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((null==e?r.local?X:Y:"function"===typeof e?r.local?J:Z:r.local?K:$)(r,e))},style:function(t,e,r){return arguments.length>1?this.each((null==e?tt:"function"===typeof e?rt:et)(t,e,null==r?"":r)):nt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?it:"function"===typeof e?at:ot)(t,e)):this.node()[t]},classed:function(t,e){var r=st(t+"");if(arguments.length<2){for(var n=ct(this.node()),i=-1,o=r.length;++i<o;)if(!n.contains(r[i]))return!1;return!0}return this.each(("function"===typeof e?pt:e?ht:dt)(r,e))},text:function(t){return arguments.length?this.each(null==t?mt:("function"===typeof t?vt:bt)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?gt:("function"===typeof t?wt:yt)(t)):this.node().innerHTML},raise:function(){return this.each(xt)},lower:function(){return this.each(Ot)},append:function(t){var e="function"===typeof t?t:kt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var r="function"===typeof t?t:kt(t),n=null==e?Et:"function"===typeof e?e:M(e);return this.select((function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)}))},remove:function(){return this.each(Mt)},clone:function(t){return this.select(t?jt:Ct)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,r){var n,i,o=At(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Pt:Tt,n=0;n<a;++n)this.each(s(o[n],e,r));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(n=0,c=s[u];n<a;++n)if((i=o[n]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"===typeof e?Lt:Rt)(t,e))}},Symbol.iterator,Bt);var Wt=Ut,qt=function(t){return"string"===typeof t?new Ht([[document.querySelector(t)]],[document.documentElement]):new Ht([[t]],zt)};function Vt(t){t.stopImmediatePropagation()}var Gt=function(t){t.preventDefault(),t.stopImmediatePropagation()},Yt=function(t){var e=t.document.documentElement,r=qt(t).on("dragstart.drag",Gt,!0);"onselectstart"in e?r.on("selectstart.drag",Gt,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function Xt(t,e){var r=t.document.documentElement,n=qt(t).on("dragstart.drag",null);e&&(n.on("click.drag",Gt,!0),setTimeout((function(){n.on("click.drag",null)}),0)),"onselectstart"in r?n.on("selectstart.drag",null):(r.style.MozUserSelect=r.__noselect,delete r.__noselect)}var $t,Kt,Zt=r(274),Jt=function(t){for(var e;e=t.sourceEvent;)t=e;return t},Qt=function(t,e){if(t=Jt(t),void 0===e&&(e=t.currentTarget),e){var r=e.ownerSVGElement||e;if(r.createSVGPoint){var n=r.createSVGPoint();return n.x=t.clientX,n.y=t.clientY,[(n=n.matrixTransform(e.getScreenCTM().inverse())).x,n.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]},te=0,ee=0,re=0,ne=0,ie=0,oe=0,ae="object"===typeof performance&&performance.now?performance:Date,se="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ce(){return ie||(se(ue),ie=ae.now()+oe)}function ue(){ie=0}function le(){this._call=this._time=this._next=null}function fe(t,e,r){var n=new le;return n.restart(t,e,r),n}function he(){ce(),++te;for(var t,e=$t;e;)(t=ie-e._time)>=0&&e._call.call(null,t),e=e._next;--te}function de(){ie=(ne=ae.now())+oe,te=ee=0;try{he()}finally{te=0,function(){var t,e,r=$t,n=1/0;for(;r;)r._call?(n>r._time&&(n=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:$t=e);Kt=t,me(n)}(),ie=0}}function pe(){var t=ae.now(),e=t-ne;e>1e3&&(oe-=e,ne=t)}function me(t){te||(ee&&(ee=clearTimeout(ee)),t-ie>24?(t<1/0&&(ee=setTimeout(de,t-ae.now()-oe)),re&&(re=clearInterval(re))):(re||(ne=ae.now(),re=setInterval(pe,1e3)),te=1,se(de)))}le.prototype=fe.prototype={constructor:le,restart:function(t,e,r){if("function"!==typeof t)throw new TypeError("callback is not a function");r=(null==r?ce():+r)+(null==e?0:+e),this._next||Kt===this||(Kt?Kt._next=this:$t=this,Kt=this),this._call=t,this._time=r,me()},stop:function(){this._call&&(this._call=null,this._time=1/0,me())}};var be=function(t,e,r){var n=new le;return e=null==e?0:+e,n.restart((function(r){n.stop(),t(r+e)}),e,r),n},ve=S("start","end","cancel","interrupt"),ge=[],ye=function(t,e,r,n,i,o){var a=t.__transition;if(a){if(r in a)return}else t.__transition={};!function(t,e,r){var n,i=t.__transition;function o(c){var u,l,f,h;if(1!==r.state)return s();for(u in i)if((h=i[u]).name===r.name){if(3===h.state)return be(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(be((function(){3===r.state&&(r.state=4,r.timer.restart(a,r.delay,r.time),a(c))})),r.state=2,r.on.call("start",t,t.__data__,r.index,r.group),2===r.state){for(r.state=3,n=new Array(f=r.tween.length),u=0,l=-1;u<f;++u)(h=r.tween[u].value.call(t,t.__data__,r.index,r.group))&&(n[++l]=h);n.length=l+1}}function a(e){for(var i=e<r.duration?r.ease.call(null,e/r.duration):(r.timer.restart(s),r.state=5,1),o=-1,a=n.length;++o<a;)n[o].call(t,i);5===r.state&&(r.on.call("end",t,t.__data__,r.index,r.group),s())}function s(){for(var n in r.state=6,r.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=r,r.timer=fe((function(t){r.state=1,r.timer.restart(o,r.delay,r.time),r.delay<=t&&o(t-r.delay)}),0,r.time)}(t,r,{name:e,index:n,group:i,on:ve,tween:ge,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})};function we(t,e){var r=Oe(t,e);if(r.state>0)throw new Error("too late; already scheduled");return r}function xe(t,e){var r=Oe(t,e);if(r.state>3)throw new Error("too late; already running");return r}function Oe(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}var _e=function(t,e){var r,n,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(r=o[i]).name===e?(n=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(n?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete o[i]):a=!1;a&&delete t.__transition}},Se=r(630);function ke(t,e){var r,n;return function(){var i=xe(this,t),o=i.tween;if(o!==r)for(var a=0,s=(n=r=o).length;a<s;++a)if(n[a].name===e){(n=n.slice()).splice(a,1);break}i.tween=n}}function Ee(t,e,r){var n,i;if("function"!==typeof r)throw new Error;return function(){var o=xe(this,t),a=o.tween;if(a!==n){i=(n=a).slice();for(var s={name:e,value:r},c=0,u=i.length;c<u;++c)if(i[c].name===e){i[c]=s;break}c===u&&i.push(s)}o.tween=i}}function Me(t,e,r){var n=t._id;return t.each((function(){var t=xe(this,n);(t.value||(t.value={}))[e]=r.apply(this,arguments)})),function(t){return Oe(t,n).value[e]}}var Ce=r(118),je=r(175),Ae=r(318),Te=r(495),Pe=function(t,e){var r;return("number"===typeof e?je.a:e instanceof Ce.e?Ae.a:(r=Object(Ce.e)(e))?(e=r,Ae.a):Te.a)(t,e)};function De(t){return function(){this.removeAttribute(t)}}function Re(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Le(t,e,r){var n,i,o=r+"";return function(){var a=this.getAttribute(t);return a===o?null:a===n?i:i=e(n=a,r)}}function Ie(t,e,r){var n,i,o=r+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===n?i:i=e(n=a,r)}}function Ne(t,e,r){var n,i,o;return function(){var a,s,c=r(this);if(null!=c)return(a=this.getAttribute(t))===(s=c+"")?null:a===n&&s===i?o:(i=s,o=e(n=a,c));this.removeAttribute(t)}}function Fe(t,e,r){var n,i,o;return function(){var a,s,c=r(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:a===n&&s===i?o:(i=s,o=e(n=a,c));this.removeAttributeNS(t.space,t.local)}}function Be(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}function ze(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}function He(t,e){var r,n;function i(){var i=e.apply(this,arguments);return i!==n&&(r=(n=i)&&ze(t,i)),r}return i._value=e,i}function Ue(t,e){var r,n;function i(){var i=e.apply(this,arguments);return i!==n&&(r=(n=i)&&Be(t,i)),r}return i._value=e,i}function We(t,e){return function(){we(this,t).delay=+e.apply(this,arguments)}}function qe(t,e){return e=+e,function(){we(this,t).delay=e}}function Ve(t,e){return function(){xe(this,t).duration=+e.apply(this,arguments)}}function Ge(t,e){return e=+e,function(){xe(this,t).duration=e}}function Ye(t,e){if("function"!==typeof e)throw new Error;return function(){xe(this,t).ease=e}}function Xe(t,e,r){var n,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?we:xe;return function(){var a=o(this,t),s=a.on;s!==n&&(i=(n=s).copy()).on(e,r),a.on=i}}var $e=Wt.prototype.constructor;function Ke(t){return function(){this.style.removeProperty(t)}}function Ze(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}function Je(t,e,r){var n,i;function o(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Ze(t,o,r)),n}return o._value=e,o}function Qe(t){return function(e){this.textContent=t.call(this,e)}}function tr(t){var e,r;function n(){var n=t.apply(this,arguments);return n!==r&&(e=(r=n)&&Qe(n)),e}return n._value=t,n}var er=0;function rr(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}function nr(t){return Wt().transition(t)}function ir(){return++er}var or=Wt.prototype;function ar(t){return t*t*t}function sr(t){return--t*t*t+1}function cr(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}rr.prototype=nr.prototype=Object(k.a)({constructor:rr,select:function(t){var e=this._name,r=this._id;"function"!==typeof t&&(t=M(t));for(var n=this._groups,i=n.length,o=new Array(i),a=0;a<i;++a)for(var s,c,u=n[a],l=u.length,f=o[a]=new Array(l),h=0;h<l;++h)(s=u[h])&&(c=t.call(s,s.__data__,h,u))&&("__data__"in s&&(c.__data__=s.__data__),f[h]=c,ye(f[h],e,r,h,f,Oe(s,r)));return new rr(o,this._parents,e,r)},selectAll:function(t){var e=this._name,r=this._id;"function"!==typeof t&&(t=A(t));for(var n=this._groups,i=n.length,o=[],a=[],s=0;s<i;++s)for(var c,u=n[s],l=u.length,f=0;f<l;++f)if(c=u[f]){for(var h,d=t.call(c,c.__data__,f,u),p=Oe(c,r),m=0,b=d.length;m<b;++m)(h=d[m])&&ye(h,e,r,m,d,p);o.push(d),a.push(c)}return new rr(o,a,e,r)},filter:function(t){"function"!==typeof t&&(t=T(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var o,a=e[i],s=a.length,c=n[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new rr(n,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,n=e.length,i=r.length,o=Math.min(n,i),a=new Array(n),s=0;s<o;++s)for(var c,u=e[s],l=r[s],f=u.length,h=a[s]=new Array(f),d=0;d<f;++d)(c=u[d]||l[d])&&(h[d]=c);for(;s<n;++s)a[s]=e[s];return new rr(a,this._parents,this._name,this._id)},selection:function(){return new $e(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,r=ir(),n=this._groups,i=n.length,o=0;o<i;++o)for(var a,s=n[o],c=s.length,u=0;u<c;++u)if(a=s[u]){var l=Oe(a,e);ye(a,t,r,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new rr(n,this._parents,t,r)},call:or.call,nodes:or.nodes,node:or.node,size:or.size,empty:or.empty,each:or.each,on:function(t,e){var r=this._id;return arguments.length<2?Oe(this.node(),r).on.on(t):this.each(Xe(r,t,e))},attr:function(t,e){var r=G(t),n="transform"===r?Se.b:Pe;return this.attrTween(t,"function"===typeof e?(r.local?Fe:Ne)(r,n,Me(this,"attr."+t,e)):null==e?(r.local?Re:De)(r):(r.local?Ie:Le)(r,n,e))},attrTween:function(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!==typeof e)throw new Error;var n=G(t);return this.tween(r,(n.local?He:Ue)(n,e))},style:function(t,e,r){var n="transform"===(t+="")?Se.a:Pe;return null==e?this.styleTween(t,function(t,e){var r,n,i;return function(){var o=nt(this,t),a=(this.style.removeProperty(t),nt(this,t));return o===a?null:o===r&&a===n?i:i=e(r=o,n=a)}}(t,n)).on("end.style."+t,Ke(t)):"function"===typeof e?this.styleTween(t,function(t,e,r){var n,i,o;return function(){var a=nt(this,t),s=r(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=nt(this,t)),a===c?null:a===n&&c===i?o:(i=c,o=e(n=a,s))}}(t,n,Me(this,"style."+t,e))).each(function(t,e){var r,n,i,o,a="style."+e,s="end."+a;return function(){var c=xe(this,t),u=c.on,l=null==c.value[a]?o||(o=Ke(e)):void 0;u===r&&i===l||(n=(r=u).copy()).on(s,i=l),c.on=n}}(this._id,t)):this.styleTween(t,function(t,e,r){var n,i,o=r+"";return function(){var a=nt(this,t);return a===o?null:a===n?i:i=e(n=a,r)}}(t,n,e),r).on("end.style."+t,null)},styleTween:function(t,e,r){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;return this.tween(n,Je(t,e,null==r?"":r))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(Me(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!==typeof t)throw new Error;return this.tween(e,tr(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var n,i=Oe(this.node(),r).tween,o=0,a=i.length;o<a;++o)if((n=i[o]).name===t)return n.value;return null}return this.each((null==e?ke:Ee)(r,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?We:qe)(e,t)):Oe(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Ve:Ge)(e,t)):Oe(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(Ye(e,t)):Oe(this.node(),e).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,e){return function(){var r=e.apply(this,arguments);if("function"!==typeof r)throw new Error;xe(this,t).ease=r}}(this._id,t))},end:function(){var t,e,r=this,n=r._id,i=r.size();return new Promise((function(o,a){var s={value:a},c={value:function(){0===--i&&o()}};r.each((function(){var r=xe(this,n),i=r.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),r.on=e})),0===i&&o()}))}},Symbol.iterator,or[Symbol.iterator]);var ur={time:null,delay:0,duration:250,ease:cr};function lr(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error("transition ".concat(e," not found"));return r}Wt.prototype.interrupt=function(t){return this.each((function(){_e(this,t)}))},Wt.prototype.transition=function(t){var e,r;t instanceof rr?(e=t._id,t=t._name):(e=ir(),(r=ur).time=ce(),t=null==t?null:t+"");for(var n=this._groups,i=n.length,o=0;o<i;++o)for(var a,s=n[o],c=s.length,u=0;u<c;++u)(a=s[u])&&ye(a,t,e,u,s,r||lr(a,e));return new rr(n,this._parents,t,e)};var fr=[null],hr=function(t,e){var r,n,i=t.__transition;if(i)for(n in e=null==e?null:e+"",i)if((r=i[n]).state>1&&r.name===e)return new rr([[t]],fr,e,+n);return null},dr=function(t){return function(){return t}};function pr(t,e){var r=e.sourceEvent,n=e.target,i=e.selection,o=e.mode,a=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:a}})}function mr(t){t.stopImmediatePropagation()}var br=function(t){t.preventDefault(),t.stopImmediatePropagation()},vr={name:"drag"},gr={name:"space"},yr={name:"handle"},wr={name:"center"},xr=Math.abs,Or=Math.max,_r=Math.min;function Sr(t){return[+t[0],+t[1]]}function kr(t){return[Sr(t[0]),Sr(t[1])]}var Er={name:"x",handles:["w","e"].map(Rr),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Mr={name:"y",handles:["n","s"].map(Rr),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Cr={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Rr),input:function(t){return null==t?null:kr(t)},output:function(t){return t}},jr={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ar={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Tr={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Pr={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Dr={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Rr(t){return{type:t}}function Lr(t){return!t.ctrlKey&&!t.button}function Ir(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Nr(){return navigator.maxTouchPoints||"ontouchstart"in this}function Fr(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Br(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function zr(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Hr(){return qr(Er)}function Ur(){return qr(Mr)}var Wr=function(){return qr(Cr)};function qr(t){var e,r=Ir,n=Lr,i=Nr,o=!0,a=S("start","brush","end"),s=6;function c(e){var r=e.property("__brush",m).selectAll(".overlay").data([Rr("overlay")]);r.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",jr.overlay).merge(r).each((function(){var t=Fr(this).extent;qt(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([Rr("selection")]).enter().append("rect").attr("class","selection").attr("cursor",jr.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var n=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));n.exit().remove(),n.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return jr[t.type]})),e.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t=qt(this),e=Fr(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,e,r){var n=t.__brush.emitter;return!n||r&&n.clean?new f(t,e,r):n}function f(t,e,r){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=r}function h(r){if((!e||r.touches)&&n.apply(this,arguments)){var i,a,s,c,f,h,d,p,m,b,g,y=this,w=r.target.__data__.type,x="selection"===(o&&r.metaKey?w="overlay":w)?vr:o&&r.altKey?wr:yr,O=t===Mr?null:Pr[w],_=t===Er?null:Dr[w],S=Fr(y),k=S.extent,E=S.selection,M=k[0][0],C=k[0][1],j=k[1][0],A=k[1][1],T=0,P=0,D=O&&_&&o&&r.shiftKey,R=Array.from(r.touches||[r],(function(t){var e=t.identifier;return(t=Qt(t,y)).point0=t.slice(),t.identifier=e,t}));if("overlay"===w){E&&(m=!0);var L=[R[0],R[1]||R[0]];S.selection=E=[[i=t===Mr?M:_r(L[0][0],L[1][0]),s=t===Er?C:_r(L[0][1],L[1][1])],[f=t===Mr?j:Or(L[0][0],L[1][0]),d=t===Er?A:Or(L[0][1],L[1][1])]],R.length>1&&H()}else i=E[0][0],s=E[0][1],f=E[1][0],d=E[1][1];a=i,c=s,h=f,p=d;var I=qt(y).attr("pointer-events","none"),N=I.selectAll(".overlay").attr("cursor",jr[w]);_e(y);var F=l(y,arguments,!0).beforestart();if(r.touches)F.moved=z,F.ended=U;else{var B=qt(r.view).on("mousemove.brush",z,!0).on("mouseup.brush",U,!0);o&&B.on("keydown.brush",W,!0).on("keyup.brush",q,!0),Yt(r.view)}u.call(y),F.start(r,x.name)}function z(t){var e,r=Object(v.a)(t.changedTouches||[t]);try{for(r.s();!(e=r.n()).done;){var n,i=e.value,o=Object(v.a)(R);try{for(o.s();!(n=o.n()).done;){var a=n.value;a.identifier===i.identifier&&(a.cur=Qt(i,y))}}catch(f){o.e(f)}finally{o.f()}}}catch(f){r.e(f)}finally{r.f()}if(D&&!b&&!g&&1===R.length){var s=R[0];xr(s.cur[0]-s[0])>xr(s.cur[1]-s[1])?g=!0:b=!0}var c,u=Object(v.a)(R);try{for(u.s();!(c=u.n()).done;){var l=c.value;l.cur&&(l[0]=l.cur[0],l[1]=l.cur[1])}}catch(f){u.e(f)}finally{u.f()}m=!0,br(t),H(t)}function H(t){var e,r=R[0],n=r.point0;switch(T=r[0]-n[0],P=r[1]-n[1],x){case gr:case vr:O&&(T=Or(M-i,_r(j-f,T)),a=i+T,h=f+T),_&&(P=Or(C-s,_r(A-d,P)),c=s+P,p=d+P);break;case yr:R[1]?(O&&(a=Or(M,_r(j,R[0][0])),h=Or(M,_r(j,R[1][0])),O=1),_&&(c=Or(C,_r(A,R[0][1])),p=Or(C,_r(A,R[1][1])),_=1)):(O<0?(T=Or(M-i,_r(j-i,T)),a=i+T,h=f):O>0&&(T=Or(M-f,_r(j-f,T)),a=i,h=f+T),_<0?(P=Or(C-s,_r(A-s,P)),c=s+P,p=d):_>0&&(P=Or(C-d,_r(A-d,P)),c=s,p=d+P));break;case wr:O&&(a=Or(M,_r(j,i-T*O)),h=Or(M,_r(j,f+T*O))),_&&(c=Or(C,_r(A,s-P*_)),p=Or(C,_r(A,d+P*_)))}h<a&&(O*=-1,e=i,i=f,f=e,e=a,a=h,h=e,w in Ar&&N.attr("cursor",jr[w=Ar[w]])),p<c&&(_*=-1,e=s,s=d,d=e,e=c,c=p,p=e,w in Tr&&N.attr("cursor",jr[w=Tr[w]])),S.selection&&(E=S.selection),b&&(a=E[0][0],h=E[1][0]),g&&(c=E[0][1],p=E[1][1]),E[0][0]===a&&E[0][1]===c&&E[1][0]===h&&E[1][1]===p||(S.selection=[[a,c],[h,p]],u.call(y),F.brush(t,x.name))}function U(t){if(mr(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500)}else Xt(t.view,m),B.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);I.attr("pointer-events","all"),N.attr("cursor",jr.overlay),S.selection&&(E=S.selection),Br(E)&&(S.selection=null,u.call(y)),F.end(t,x.name)}function W(t){switch(t.keyCode){case 16:D=O&&_;break;case 18:x===yr&&(O&&(f=h-T*O,i=a+T*O),_&&(d=p-P*_,s=c+P*_),x=wr,H());break;case 32:x!==yr&&x!==wr||(O<0?f=h-T:O>0&&(i=a-T),_<0?d=p-P:_>0&&(s=c-P),x=gr,N.attr("cursor",jr.selection),H());break;default:return}br(t)}function q(t){switch(t.keyCode){case 16:D&&(b=g=D=!1,H());break;case 18:x===wr&&(O<0?f=h:O>0&&(i=a),_<0?d=p:_>0&&(s=c),x=yr,H());break;case 32:x===gr&&(t.altKey?(O&&(f=h-T*O,i=a+T*O),_&&(d=p-P*_,s=c+P*_),x=wr):(O<0?f=h:O>0&&(i=a),_<0?d=p:_>0&&(s=c),x=yr),N.attr("cursor",jr[w]),H());break;default:return}br(t)}}function d(t){l(this,arguments).moved(t)}function p(t){l(this,arguments).ended(t)}function m(){var e=this.__brush||{selection:null};return e.extent=kr(r.apply(this,arguments)),e.dim=t,e}return c.move=function(e,r){e.tween?e.on("start.brush",(function(t){l(this,arguments).beforestart().start(t)})).on("interrupt.brush end.brush",(function(t){l(this,arguments).end(t)})).tween("brush",(function(){var e=this,n=e.__brush,i=l(e,arguments),o=n.selection,a=t.input("function"===typeof r?r.apply(this,arguments):r,n.extent),s=Object(Zt.a)(o,a);function c(t){n.selection=1===t&&null===a?null:s(t),u.call(e),i.brush()}return null!==o&&null!==a?c:c(1)})):e.each((function(){var e=this,n=arguments,i=e.__brush,o=t.input("function"===typeof r?r.apply(e,n):r,i.extent),a=l(e,n).beforestart();_e(e),i.selection=null===o?null:o,u.call(e),a.start().brush().end()}))},c.clear=function(t){c.move(t,null)},f.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0===--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,r,n){var i=qt(this.that).datum();a.call(e,this.that,new pr(e,{sourceEvent:r,target:c,selection:t.output(this.state.selection),mode:n,dispatch:a}),i)}},c.extent=function(t){return arguments.length?(r="function"===typeof t?t:dr(kr(t)),c):r},c.filter=function(t){return arguments.length?(n="function"===typeof t?t:dr(!!t),c):n},c.touchable=function(t){return arguments.length?(i="function"===typeof t?t:dr(!!t),c):i},c.handleSize=function(t){return arguments.length?(s=+t,c):s},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=a.on.apply(a,arguments);return t===a?c:t},c}var Vr=Math.abs,Gr=Math.cos,Yr=Math.sin,Xr=Math.PI,$r=Xr/2,Kr=2*Xr,Zr=Math.max;function Jr(t,e){return Array.from({length:e-t},(function(e,r){return t+r}))}function Qr(t){return function(e,r){return t(e.source.value+e.target.value,r.source.value+r.target.value)}}var tn=function(){return nn(!1,!1)};function en(){return nn(!1,!0)}function rn(){return nn(!0,!1)}function nn(t,e){var r=0,n=null,i=null,o=null;function a(a){var s,c=a.length,u=new Array(c),l=Jr(0,c),f=new Array(c*c),h=new Array(c),d=0;a=Float64Array.from({length:c*c},e?function(t,e){return a[e%c][e/c|0]}:function(t,e){return a[e/c|0][e%c]});for(var p=0;p<c;++p){for(var m=0,b=0;b<c;++b)m+=a[p*c+b]+t*a[b*c+p];d+=u[p]=m}d=Zr(0,Kr-r*c)/d,s=d?r:Kr/c;var g=0;n&&l.sort((function(t,e){return n(u[t],u[e])}));var y,w=Object(v.a)(l);try{var x=function(){var e=y.value,r=g;if(t){var n=Jr(1+~c,c).filter((function(t){return t<0?a[~t*c+e]:a[e*c+t]}));i&&n.sort((function(t,r){return i(t<0?-a[~t*c+e]:a[e*c+t],r<0?-a[~r*c+e]:a[e*c+r])}));var o,l=Object(v.a)(n);try{for(l.s();!(o=l.n()).done;){var p=o.value;if(p<0)(f[~p*c+e]||(f[~p*c+e]={source:null,target:null})).target={index:e,startAngle:g,endAngle:g+=a[~p*c+e]*d,value:a[~p*c+e]};else(f[e*c+p]||(f[e*c+p]={source:null,target:null})).source={index:e,startAngle:g,endAngle:g+=a[e*c+p]*d,value:a[e*c+p]}}}catch(S){l.e(S)}finally{l.f()}h[e]={index:e,startAngle:r,endAngle:g,value:u[e]}}else{var m=Jr(0,c).filter((function(t){return a[e*c+t]||a[t*c+e]}));i&&m.sort((function(t,r){return i(a[e*c+t],a[e*c+r])}));var b,w=Object(v.a)(m);try{for(w.s();!(b=w.n()).done;){var x=b.value,O=void 0;if(e<x?(O=f[e*c+x]||(f[e*c+x]={source:null,target:null})).source={index:e,startAngle:g,endAngle:g+=a[e*c+x]*d,value:a[e*c+x]}:((O=f[x*c+e]||(f[x*c+e]={source:null,target:null})).target={index:e,startAngle:g,endAngle:g+=a[e*c+x]*d,value:a[e*c+x]},e===x&&(O.source=O.target)),O.source&&O.target&&O.source.value<O.target.value){var _=O.source;O.source=O.target,O.target=_}}}catch(S){w.e(S)}finally{w.f()}h[e]={index:e,startAngle:r,endAngle:g,value:u[e]}}g+=s};for(w.s();!(y=w.n()).done;)x()}catch(O){w.e(O)}finally{w.f()}return(f=Object.values(f)).groups=h,o?f.sort(o):f}return a.padAngle=function(t){return arguments.length?(r=Zr(0,t),a):r},a.sortGroups=function(t){return arguments.length?(n=t,a):n},a.sortSubgroups=function(t){return arguments.length?(i=t,a):i},a.sortChords=function(t){return arguments.length?(null==t?o=null:(o=Qr(t))._=t,a):o&&o._},a}var on=r(428),an=Array.prototype.slice,sn=function(t){return function(){return t}};function cn(t){return t.source}function un(t){return t.target}function ln(t){return t.radius}function fn(t){return t.startAngle}function hn(t){return t.endAngle}function dn(){return 0}function pn(){return 10}function mn(t){var e=cn,r=un,n=ln,i=ln,o=fn,a=hn,s=dn,c=null;function u(){var u,l=e.apply(this,arguments),f=r.apply(this,arguments),h=s.apply(this,arguments)/2,d=an.call(arguments),p=+n.apply(this,(d[0]=l,d)),m=o.apply(this,d)-$r,b=a.apply(this,d)-$r,v=+i.apply(this,(d[0]=f,d)),g=o.apply(this,d)-$r,y=a.apply(this,d)-$r;if(c||(c=u=Object(on.a)()),h>1e-12&&(Vr(b-m)>2*h+1e-12?b>m?(m+=h,b-=h):(m-=h,b+=h):m=b=(m+b)/2,Vr(y-g)>2*h+1e-12?y>g?(g+=h,y-=h):(g-=h,y+=h):g=y=(g+y)/2),c.moveTo(p*Gr(m),p*Yr(m)),c.arc(0,0,p,m,b),m!==g||b!==y)if(t){var w=+t.apply(this,arguments),x=v-w,O=(g+y)/2;c.quadraticCurveTo(0,0,x*Gr(g),x*Yr(g)),c.lineTo(v*Gr(O),v*Yr(O)),c.lineTo(x*Gr(y),x*Yr(y))}else c.quadraticCurveTo(0,0,v*Gr(g),v*Yr(g)),c.arc(0,0,v,g,y);if(c.quadraticCurveTo(0,0,p*Gr(m),p*Yr(m)),c.closePath(),u)return c=null,u+""||null}return t&&(u.headRadius=function(e){return arguments.length?(t="function"===typeof e?e:sn(+e),u):t}),u.radius=function(t){return arguments.length?(n=i="function"===typeof t?t:sn(+t),u):n},u.sourceRadius=function(t){return arguments.length?(n="function"===typeof t?t:sn(+t),u):n},u.targetRadius=function(t){return arguments.length?(i="function"===typeof t?t:sn(+t),u):i},u.startAngle=function(t){return arguments.length?(o="function"===typeof t?t:sn(+t),u):o},u.endAngle=function(t){return arguments.length?(a="function"===typeof t?t:sn(+t),u):a},u.padAngle=function(t){return arguments.length?(s="function"===typeof t?t:sn(+t),u):s},u.source=function(t){return arguments.length?(e=t,u):e},u.target=function(t){return arguments.length?(r=t,u):r},u.context=function(t){return arguments.length?(c=null==t?null:t,u):c},u}var bn=function(){return mn()};function vn(){return mn(pn)}var gn=r(194),yn=r(492),wn=r(366),xn=r(173),On=r(635),_n=Array.prototype.slice,Sn=function(t,e){return t-e},kn=function(t){return function(){return t}},En=function(t,e){for(var r,n=-1,i=e.length;++n<i;)if(r=Mn(t,e[n]))return r;return 0};function Mn(t,e){for(var r=e[0],n=e[1],i=-1,o=0,a=t.length,s=a-1;o<a;s=o++){var c=t[o],u=c[0],l=c[1],f=t[s],h=f[0],d=f[1];if(Cn(c,f,e))return 0;l>n!==d>n&&r<(h-u)*(n-l)/(d-l)+u&&(i=-i)}return i}function Cn(t,e,r){var n,i,o,a;return function(t,e,r){return(e[0]-t[0])*(r[1]-t[1])===(r[0]-t[0])*(e[1]-t[1])}(t,e,r)&&(i=t[n=+(t[0]===e[0])],o=r[n],a=e[n],i<=o&&o<=a||a<=o&&o<=i)}var jn=function(){},An=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],Tn=function(){var t=1,e=1,r=yn.a,n=s;function i(t){var e=r(t);if(Array.isArray(e))e=e.slice().sort(Sn);else{var n=Object(wn.a)(t),i=n[0],a=n[1];e=Object(xn.c)(i,a,e),e=Object(On.a)(Math.floor(i/e)*e,Math.floor(a/e)*e,e)}return e.map((function(e){return o(t,e)}))}function o(r,i){var o=[],s=[];return function(r,n,i){var o,s,c,u,l,f,h=new Array,d=new Array;o=s=-1,u=r[0]>=n,An[u<<1].forEach(p);for(;++o<t-1;)c=u,u=r[o+1]>=n,An[c|u<<1].forEach(p);An[u<<0].forEach(p);for(;++s<e-1;){for(o=-1,u=r[s*t+t]>=n,l=r[s*t]>=n,An[u<<1|l<<2].forEach(p);++o<t-1;)c=u,u=r[s*t+t+o+1]>=n,f=l,l=r[s*t+o+1]>=n,An[c|u<<1|l<<2|f<<3].forEach(p);An[u|l<<3].forEach(p)}o=-1,l=r[s*t]>=n,An[l<<2].forEach(p);for(;++o<t-1;)f=l,l=r[s*t+o+1]>=n,An[l<<2|f<<3].forEach(p);function p(t){var e,r,n=[t[0][0]+o,t[0][1]+s],c=[t[1][0]+o,t[1][1]+s],u=a(n),l=a(c);(e=d[u])?(r=h[l])?(delete d[e.end],delete h[r.start],e===r?(e.ring.push(c),i(e.ring)):h[e.start]=d[r.end]={start:e.start,end:r.end,ring:e.ring.concat(r.ring)}):(delete d[e.end],e.ring.push(c),d[e.end=l]=e):(e=h[l])?(r=d[u])?(delete h[e.start],delete d[r.end],e===r?(e.ring.push(c),i(e.ring)):h[r.start]=d[e.end]={start:r.start,end:e.end,ring:r.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(n),h[e.start=u]=e):h[u]=d[l]={start:u,end:l,ring:[n,c]}}An[l<<3].forEach(p)}(r,i,(function(t){n(t,r,i),function(t){for(var e=0,r=t.length,n=t[r-1][1]*t[0][0]-t[r-1][0]*t[0][1];++e<r;)n+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return n}(t)>0?o.push([t]):s.push(t)})),s.forEach((function(t){for(var e,r=0,n=o.length;r<n;++r)if(-1!==En((e=o[r])[0],t))return void e.push(t)})),{type:"MultiPolygon",value:i,coordinates:o}}function a(e){return 2*e[0]+e[1]*(t+1)*4}function s(r,n,i){r.forEach((function(r){var o,a=r[0],s=r[1],c=0|a,u=0|s,l=n[u*t+c];a>0&&a<t&&c===a&&(o=n[u*t+c-1],r[0]=a+(i-o)/(l-o)-.5),s>0&&s<e&&u===s&&(o=n[(u-1)*t+c],r[1]=s+(i-o)/(l-o)-.5)}))}return i.contour=o,i.size=function(r){if(!arguments.length)return[t,e];var n=Math.floor(r[0]),o=Math.floor(r[1]);if(!(n>=0&&o>=0))throw new Error("invalid size");return t=n,e=o,i},i.thresholds=function(t){return arguments.length?(r="function"===typeof t?t:Array.isArray(t)?kn(_n.call(t)):kn(t),i):r},i.smooth=function(t){return arguments.length?(n=t?s:jn,i):n===s},i},Pn=r(414);function Dn(t,e,r){for(var n=t.width,i=t.height,o=1+(r<<1),a=0;a<i;++a)for(var s=0,c=0;s<n+r;++s)s<n&&(c+=t.data[s+a*n]),s>=r&&(s>=o&&(c-=t.data[s-o+a*n]),e.data[s-r+a*n]=c/Math.min(s+1,n-1+o-s,o))}function Rn(t,e,r){for(var n=t.width,i=t.height,o=1+(r<<1),a=0;a<n;++a)for(var s=0,c=0;s<i+r;++s)s<i&&(c+=t.data[a+s*n]),s>=r&&(s>=o&&(c-=t.data[a+(s-o)*n]),e.data[a+(s-r)*n]=c/Math.min(s+1,i-1+o-s,o))}function Ln(t){return t[0]}function In(t){return t[1]}function Nn(){return 1}var Fn=function(){var t=Ln,e=In,r=Nn,n=960,i=500,o=20,a=2,s=3*o,c=n+2*s>>a,u=i+2*s>>a,l=kn(20);function f(n){var i=new Float32Array(c*u),f=new Float32Array(c*u);n.forEach((function(n,o,l){var f=+t(n,o,l)+s>>a,h=+e(n,o,l)+s>>a,d=+r(n,o,l);f>=0&&f<c&&h>=0&&h<u&&(i[f+h*c]+=d)})),Dn({width:c,height:u,data:i},{width:c,height:u,data:f},o>>a),Rn({width:c,height:u,data:f},{width:c,height:u,data:i},o>>a),Dn({width:c,height:u,data:i},{width:c,height:u,data:f},o>>a),Rn({width:c,height:u,data:f},{width:c,height:u,data:i},o>>a),Dn({width:c,height:u,data:i},{width:c,height:u,data:f},o>>a),Rn({width:c,height:u,data:f},{width:c,height:u,data:i},o>>a);var d=l(i);if(!Array.isArray(d)){var p=Object(Pn.a)(i);d=Object(xn.c)(0,p,d),(d=Object(On.a)(0,Math.floor(p/d)*d,d)).shift()}return Tn().thresholds(d).size([c,u])(i).map(h)}function h(t){return t.value*=Math.pow(2,-2*a),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(m)}function m(t){t[0]=t[0]*Math.pow(2,a)-s,t[1]=t[1]*Math.pow(2,a)-s}function b(){return c=n+2*(s=3*o)>>a,u=i+2*s>>a,f}return f.x=function(e){return arguments.length?(t="function"===typeof e?e:kn(+e),f):t},f.y=function(t){return arguments.length?(e="function"===typeof t?t:kn(+t),f):e},f.weight=function(t){return arguments.length?(r="function"===typeof t?t:kn(+t),f):r},f.size=function(t){if(!arguments.length)return[n,i];var e=+t[0],r=+t[1];if(!(e>=0&&r>=0))throw new Error("invalid size");return n=e,i=r,b()},f.cellSize=function(t){if(!arguments.length)return 1<<a;if(!((t=+t)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),b()},f.thresholds=function(t){return arguments.length?(l="function"===typeof t?t:Array.isArray(t)?kn(_n.call(t)):kn(t),f):l},f.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),b()},f},Bn=r(45),zn=r(46),Hn=Math.pow(2,-52),Un=new Uint32Array(512),Wn=function(){function t(e){Object(Bn.a)(this,t);var r=e.length>>1;if(r>0&&"number"!==typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;var n=Math.max(2*r-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(r)),this._hullPrev=new Uint32Array(r),this._hullNext=new Uint32Array(r),this._hullTri=new Uint32Array(r),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(r),this._dists=new Float64Array(r),this.update()}return Object(zn.a)(t,[{key:"update",value:function(){for(var t=this.coords,e=this._hullPrev,r=this._hullNext,n=this._hullTri,i=this._hullHash,o=t.length>>1,a=1/0,s=1/0,c=-1/0,u=-1/0,l=0;l<o;l++){var f=t[2*l],h=t[2*l+1];f<a&&(a=f),h<s&&(s=h),f>c&&(c=f),h>u&&(u=h),this._ids[l]=l}for(var d,p,m,b=(a+c)/2,v=(s+u)/2,g=1/0,y=0;y<o;y++){var w=qn(b,v,t[2*y],t[2*y+1]);w<g&&(d=y,g=w)}var x=t[2*d],O=t[2*d+1];g=1/0;for(var _=0;_<o;_++)if(_!==d){var S=qn(x,O,t[2*_],t[2*_+1]);S<g&&S>0&&(p=_,g=S)}for(var k=t[2*p],E=t[2*p+1],M=1/0,C=0;C<o;C++)if(C!==d&&C!==p){var j=Xn(x,O,k,E,t[2*C],t[2*C+1]);j<M&&(m=C,M=j)}var A=t[2*m],T=t[2*m+1];if(M===1/0){for(var P=0;P<o;P++)this._dists[P]=t[2*P]-t[0]||t[2*P+1]-t[1];$n(this._ids,this._dists,0,o-1);for(var D=new Uint32Array(o),R=0,L=0,I=-1/0;L<o;L++){var N=this._ids[L];this._dists[N]>I&&(D[R++]=N,I=this._dists[N])}return this.hull=D.subarray(0,R),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(Gn(x,O,k,E,A,T)){var F=p,B=k,z=E;p=m,k=A,E=T,m=F,A=B,T=z}var H=function(t,e,r,n,i,o){var a=r-t,s=n-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c);return{x:t+(u*l-s*f)*h,y:e+(a*f-c*l)*h}}(x,O,k,E,A,T);this._cx=H.x,this._cy=H.y;for(var U=0;U<o;U++)this._dists[U]=qn(t[2*U],t[2*U+1],H.x,H.y);$n(this._ids,this._dists,0,o-1),this._hullStart=d;var W=3;r[d]=e[m]=p,r[p]=e[d]=m,r[m]=e[p]=d,n[d]=0,n[p]=1,n[m]=2,i.fill(-1),i[this._hashKey(x,O)]=d,i[this._hashKey(k,E)]=p,i[this._hashKey(A,T)]=m,this.trianglesLen=0,this._addTriangle(d,p,m,-1,-1,-1);for(var q,V,G=0;G<this._ids.length;G++){var Y=this._ids[G],X=t[2*Y],$=t[2*Y+1];if(!(G>0&&Math.abs(X-q)<=Hn&&Math.abs($-V)<=Hn)&&(q=X,V=$,Y!==d&&Y!==p&&Y!==m)){for(var K=0,Z=0,J=this._hashKey(X,$);Z<this._hashSize&&(-1===(K=i[(J+Z)%this._hashSize])||K===r[K]);Z++);for(var Q=K=e[K],tt=void 0;tt=r[Q],!Gn(X,$,t[2*Q],t[2*Q+1],t[2*tt],t[2*tt+1]);)if((Q=tt)===K){Q=-1;break}if(-1!==Q){var et=this._addTriangle(Q,Y,r[Q],-1,-1,n[Q]);n[Y]=this._legalize(et+2),n[Q]=et,W++;for(var rt=r[Q];tt=r[rt],Gn(X,$,t[2*rt],t[2*rt+1],t[2*tt],t[2*tt+1]);)et=this._addTriangle(rt,Y,tt,n[Y],-1,n[rt]),n[Y]=this._legalize(et+2),r[rt]=rt,W--,rt=tt;if(Q===K)for(;Gn(X,$,t[2*(tt=e[Q])],t[2*tt+1],t[2*Q],t[2*Q+1]);)et=this._addTriangle(tt,Y,Q,-1,n[Q],n[tt]),this._legalize(et+2),n[tt]=et,r[Q]=Q,W--,Q=tt;this._hullStart=e[Y]=Q,r[Q]=e[rt]=Y,r[Y]=rt,i[this._hashKey(X,$)]=Y,i[this._hashKey(t[2*Q],t[2*Q+1])]=Q}}}this.hull=new Uint32Array(W);for(var nt=0,it=this._hullStart;nt<W;nt++)this.hull[nt]=it,it=r[it];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}},{key:"_hashKey",value:function(t,e){return Math.floor(function(t,e){var r=t/(Math.abs(t)+Math.abs(e));return(e>0?3-r:1+r)/4}(t-this._cx,e-this._cy)*this._hashSize)%this._hashSize}},{key:"_legalize",value:function(t){for(var e=this._triangles,r=this._halfedges,n=this.coords,i=0,o=0;;){var a=r[t],s=t-t%3;if(o=s+(t+2)%3,-1!==a){var c=a-a%3,u=s+(t+1)%3,l=c+(a+2)%3,f=e[o],h=e[t],d=e[u],p=e[l];if(Yn(n[2*f],n[2*f+1],n[2*h],n[2*h+1],n[2*d],n[2*d+1],n[2*p],n[2*p+1])){e[t]=p,e[a]=f;var m=r[l];if(-1===m){var b=this._hullStart;do{if(this._hullTri[b]===l){this._hullTri[b]=t;break}b=this._hullPrev[b]}while(b!==this._hullStart)}this._link(t,m),this._link(a,r[o]),this._link(o,l);var v=c+(a+1)%3;i<Un.length&&(Un[i++]=v)}else{if(0===i)break;t=Un[--i]}}else{if(0===i)break;t=Un[--i]}}return o}},{key:"_link",value:function(t,e){this._halfedges[t]=e,-1!==e&&(this._halfedges[e]=t)}},{key:"_addTriangle",value:function(t,e,r,n,i,o){var a=this.trianglesLen;return this._triangles[a]=t,this._triangles[a+1]=e,this._triangles[a+2]=r,this._link(a,n),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}],[{key:"from",value:function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jn,i=e.length,o=new Float64Array(2*i),a=0;a<i;a++){var s=e[a];o[2*a]=r(s),o[2*a+1]=n(s)}return new t(o)}}]),t}();function qn(t,e,r,n){var i=t-r,o=e-n;return i*i+o*o}function Vn(t,e,r,n,i,o){var a=(n-e)*(i-t),s=(r-t)*(o-e);return Math.abs(a-s)>=33306690738754716e-32*Math.abs(a+s)?a-s:0}function Gn(t,e,r,n,i,o){return(Vn(i,o,t,e,r,n)||Vn(t,e,r,n,i,o)||Vn(r,n,i,o,t,e))<0}function Yn(t,e,r,n,i,o,a,s){var c=t-a,u=e-s,l=r-a,f=n-s,h=i-a,d=o-s,p=l*l+f*f,m=h*h+d*d;return c*(f*m-p*d)-u*(l*m-p*h)+(c*c+u*u)*(l*d-f*h)<0}function Xn(t,e,r,n,i,o){var a=r-t,s=n-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c),d=(u*l-s*f)*h,p=(a*f-c*l)*h;return d*d+p*p}function $n(t,e,r,n){if(n-r<=20)for(var i=r+1;i<=n;i++){for(var o=t[i],a=e[o],s=i-1;s>=r&&e[t[s]]>a;)t[s+1]=t[s--];t[s+1]=o}else{var c=r+1,u=n;Kn(t,r+n>>1,c),e[t[r]]>e[t[n]]&&Kn(t,r,n),e[t[c]]>e[t[n]]&&Kn(t,c,n),e[t[r]]>e[t[c]]&&Kn(t,r,c);for(var l=t[c],f=e[l];;){do{c++}while(e[t[c]]<f);do{u--}while(e[t[u]]>f);if(u<c)break;Kn(t,c,u)}t[r+1]=t[u],t[u]=l,n-c+1>=u-r?($n(t,e,c,n),$n(t,e,r,u-1)):($n(t,e,r,u-1),$n(t,e,c,n))}}function Kn(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Zn(t){return t[0]}function Jn(t){return t[1]}var Qn=function(){function t(){Object(Bn.a)(this,t),this._x0=this._y0=this._x1=this._y1=null,this._=""}return Object(zn.a)(t,[{key:"moveTo",value:function(t,e){this._+="M".concat(this._x0=this._x1=+t,",").concat(this._y0=this._y1=+e)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}},{key:"lineTo",value:function(t,e){this._+="L".concat(this._x1=+t,",").concat(this._y1=+e)}},{key:"arc",value:function(t,e,r){var n=(t=+t)+(r=+r),i=e=+e;if(r<0)throw new Error("negative radius");null===this._x1?this._+="M".concat(n,",").concat(i):(Math.abs(this._x1-n)>1e-6||Math.abs(this._y1-i)>1e-6)&&(this._+="L"+n+","+i),r&&(this._+="A".concat(r,",").concat(r,",0,1,1,").concat(t-r,",").concat(e,"A").concat(r,",").concat(r,",0,1,1,").concat(this._x1=n,",").concat(this._y1=i))}},{key:"rect",value:function(t,e,r,n){this._+="M".concat(this._x0=this._x1=+t,",").concat(this._y0=this._y1=+e,"h").concat(+r,"v").concat(+n,"h").concat(-r,"Z")}},{key:"value",value:function(){return this._||null}}]),t}(),ti=function(){function t(){Object(Bn.a)(this,t),this._=[]}return Object(zn.a)(t,[{key:"moveTo",value:function(t,e){this._.push([t,e])}},{key:"closePath",value:function(){this._.push(this._[0].slice())}},{key:"lineTo",value:function(t,e){this._.push([t,e])}},{key:"value",value:function(){return this._.length?this._:null}}]),t}(),ei=r(3),ri=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,960,500],n=Object(ei.a)(r,4),i=n[0],o=n[1],a=n[2],s=n[3];if(Object(Bn.a)(this,t),!((a=+a)>=(i=+i))||!((s=+s)>=(o=+o)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=a,this.xmin=i,this.ymax=s,this.ymin=o,this._init()}return Object(zn.a)(t,[{key:"update",value:function(){return this.delaunay.update(),this._init(),this}},{key:"_init",value:function(){for(var t,e,r=this.delaunay,n=r.points,i=r.hull,o=r.triangles,a=this.vectors,s=this.circumcenters=this._circumcenters.subarray(0,o.length/3*2),c=0,u=0,l=o.length;c<l;c+=3,u+=2){var f=2*o[c],h=2*o[c+1],d=2*o[c+2],p=n[f],m=n[f+1],b=n[h],v=n[h+1],g=n[d],y=n[d+1],w=b-p,x=v-m,O=g-p,_=y-m,S=w*w+x*x,k=O*O+_*_,E=2*(w*_-x*O);if(E)if(Math.abs(E)<1e-8)t=(p+g)/2,e=(m+y)/2;else{var M=1/E;t=p+(_*S-x*k)*M,e=m+(w*k-O*S)*M}else t=(p+g)/2-1e8*_,e=(m+y)/2+1e8*O;s[u]=t,s[u+1]=e}var C,j,A,T=i[i.length-1],P=4*T,D=n[2*T],R=n[2*T+1];a.fill(0);for(var L=0;L<i.length;++L)C=P,j=D,A=R,P=4*(T=i[L]),D=n[2*T],R=n[2*T+1],a[C+2]=a[P]=A-R,a[C+3]=a[P+1]=D-j}},{key:"render",value:function(t){var e=null==t?t=new Qn:void 0,r=this.delaunay,n=r.halfedges,i=r.inedges,o=r.hull,a=this.circumcenters,s=this.vectors;if(o.length<=1)return null;for(var c=0,u=n.length;c<u;++c){var l=n[c];if(!(l<c)){var f=2*Math.floor(c/3),h=2*Math.floor(l/3),d=a[f],p=a[f+1],m=a[h],b=a[h+1];this._renderSegment(d,p,m,b,t)}}for(var v,g=o[o.length-1],y=0;y<o.length;++y){v=g,g=o[y];var w=2*Math.floor(i[g]/3),x=a[w],O=a[w+1],_=4*v,S=this._project(x,O,s[_+2],s[_+3]);S&&this._renderSegment(x,O,S[0],S[1],t)}return e&&e.value()}},{key:"renderBounds",value:function(t){var e=null==t?t=new Qn:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),e&&e.value()}},{key:"renderCell",value:function(t,e){var r=null==e?e=new Qn:void 0,n=this._clip(t);if(null!==n&&n.length){e.moveTo(n[0],n[1]);for(var i=n.length;n[0]===n[i-2]&&n[1]===n[i-1]&&i>1;)i-=2;for(var o=2;o<i;o+=2)n[o]===n[o-2]&&n[o+1]===n[o-1]||e.lineTo(n[o],n[o+1]);return e.closePath(),r&&r.value()}}},{key:"cellPolygons",value:Nt.a.mark((function t(){var e,r,n,i;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.delaunay.points,r=0,n=e.length/2;case 2:if(!(r<n)){t.next=11;break}if(!(i=this.cellPolygon(r))){t.next=8;break}return i.index=r,t.next=8,i;case 8:++r,t.next=2;break;case 11:case"end":return t.stop()}}),t,this)}))},{key:"cellPolygon",value:function(t){var e=new ti;return this.renderCell(t,e),e.value()}},{key:"_renderSegment",value:function(t,e,r,n,i){var o,a=this._regioncode(t,e),s=this._regioncode(r,n);0===a&&0===s?(i.moveTo(t,e),i.lineTo(r,n)):(o=this._clipSegment(t,e,r,n,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}},{key:"contains",value:function(t,e,r){return(e=+e)===e&&(r=+r)===r&&this.delaunay._step(t,e,r)===t}},{key:"neighbors",value:Nt.a.mark((function t(e){var r,n,i,o,a,s,c,u,l;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=this._clip(e))){t.next=33;break}n=Object(v.a)(this.delaunay.neighbors(e)),t.prev=3,n.s();case 5:if((i=n.n()).done){t.next=25;break}if(o=i.value,!(a=this._clip(o))){t.next=23;break}s=0,c=r.length;case 10:if(!(s<c)){t.next=23;break}u=0,l=a.length;case 12:if(!(u<l)){t.next=20;break}if(r[s]!=a[u]||r[s+1]!=a[u+1]||r[(s+2)%c]!=a[(u+l-2)%l]||r[(s+3)%c]!=a[(u+l-1)%l]){t.next=17;break}return t.next=16,o;case 16:return t.abrupt("break",23);case 17:u+=2,t.next=12;break;case 20:s+=2,t.next=10;break;case 23:t.next=5;break;case 25:t.next=30;break;case 27:t.prev=27,t.t0=t.catch(3),n.e(t.t0);case 30:return t.prev=30,n.f(),t.finish(30);case 33:case"end":return t.stop()}}),t,this,[[3,27,30,33]])}))},{key:"_cell",value:function(t){var e=this.circumcenters,r=this.delaunay,n=r.inedges,i=r.halfedges,o=r.triangles,a=n[t];if(-1===a)return null;var s=[],c=a;do{var u=Math.floor(c/3);if(s.push(e[2*u],e[2*u+1]),o[c=c%3===2?c-2:c+1]!==t)break;c=i[c]}while(c!==a&&-1!==c);return s}},{key:"_clip",value:function(t){if(0===t&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];var e=this._cell(t);if(null===e)return null;var r=this.vectors,n=4*t;return r[n]||r[n+1]?this._clipInfinite(t,e,r[n],r[n+1],r[n+2],r[n+3]):this._clipFinite(t,e)}},{key:"_clipFinite",value:function(t,e){for(var r,n,i,o,a,s=e.length,c=null,u=e[s-2],l=e[s-1],f=this._regioncode(u,l),h=0;h<s;h+=2)if(r=u,n=l,u=e[h],l=e[h+1],i=f,f=this._regioncode(u,l),0===i&&0===f)o=a,a=0,c?c.push(u,l):c=[u,l];else{var d=void 0,p=void 0,m=void 0,b=void 0,v=void 0;if(0===i){if(null===(d=this._clipSegment(r,n,u,l,i,f)))continue;var g=d,y=Object(ei.a)(g,4);p=y[0],m=y[1],b=y[2],v=y[3]}else{if(null===(d=this._clipSegment(u,l,r,n,f,i)))continue;var w=d,x=Object(ei.a)(w,4);b=x[0],v=x[1],p=x[2],m=x[3],o=a,a=this._edgecode(p,m),o&&a&&this._edge(t,o,a,c,c.length),c?c.push(p,m):c=[p,m]}o=a,a=this._edgecode(b,v),o&&a&&this._edge(t,o,a,c,c.length),c?c.push(b,v):c=[b,v]}if(c)o=a,a=this._edgecode(c[0],c[1]),o&&a&&this._edge(t,o,a,c,c.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return c}},{key:"_clipSegment",value:function(t,e,r,n,i,o){for(;;){if(0===i&&0===o)return[t,e,r,n];if(i&o)return null;var a=void 0,s=void 0,c=i||o;8&c?(a=t+(r-t)*(this.ymax-e)/(n-e),s=this.ymax):4&c?(a=t+(r-t)*(this.ymin-e)/(n-e),s=this.ymin):2&c?(s=e+(n-e)*(this.xmax-t)/(r-t),a=this.xmax):(s=e+(n-e)*(this.xmin-t)/(r-t),a=this.xmin),i?(t=a,e=s,i=this._regioncode(t,e)):(r=a,n=s,o=this._regioncode(r,n))}}},{key:"_clipInfinite",value:function(t,e,r,n,i,o){var a,s=Array.from(e);if((a=this._project(s[0],s[1],r,n))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(t,s))for(var c,u=0,l=s.length,f=this._edgecode(s[l-2],s[l-1]);u<l;u+=2)c=f,f=this._edgecode(s[u],s[u+1]),c&&f&&(u=this._edge(t,c,f,s,u),l=s.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}},{key:"_edge",value:function(t,e,r,n,i){for(;e!==r;){var o=void 0,a=void 0;switch(e){case 5:e=4;continue;case 4:e=6,o=this.xmax,a=this.ymin;break;case 6:e=2;continue;case 2:e=10,o=this.xmax,a=this.ymax;break;case 10:e=8;continue;case 8:e=9,o=this.xmin,a=this.ymax;break;case 9:e=1;continue;case 1:e=5,o=this.xmin,a=this.ymin}n[i]===o&&n[i+1]===a||!this.contains(t,o,a)||(n.splice(i,0,o,a),i+=2)}if(n.length>4)for(var s=0;s<n.length;s+=2){var c=(s+2)%n.length,u=(s+4)%n.length;(n[s]===n[c]&&n[c]===n[u]||n[s+1]===n[c+1]&&n[c+1]===n[u+1])&&(n.splice(c,2),s-=2)}return i}},{key:"_project",value:function(t,e,r,n){var i,o,a,s=1/0;if(n<0){if(e<=this.ymin)return null;(i=(this.ymin-e)/n)<s&&(a=this.ymin,o=t+(s=i)*r)}else if(n>0){if(e>=this.ymax)return null;(i=(this.ymax-e)/n)<s&&(a=this.ymax,o=t+(s=i)*r)}if(r>0){if(t>=this.xmax)return null;(i=(this.xmax-t)/r)<s&&(o=this.xmax,a=e+(s=i)*n)}else if(r<0){if(t<=this.xmin)return null;(i=(this.xmin-t)/r)<s&&(o=this.xmin,a=e+(s=i)*n)}return[o,a]}},{key:"_edgecode",value:function(t,e){return(t===this.xmin?1:t===this.xmax?2:0)|(e===this.ymin?4:e===this.ymax?8:0)}},{key:"_regioncode",value:function(t,e){return(t<this.xmin?1:t>this.xmax?2:0)|(e<this.ymin?4:e>this.ymax?8:0)}}]),t}(),ni=Nt.a.mark(fi),ii=2*Math.PI,oi=Math.pow;function ai(t){return t[0]}function si(t){return t[1]}function ci(t,e,r){return[t+Math.sin(t+e)*r,e+Math.cos(t-e)*r]}var ui=function(){function t(e){Object(Bn.a)(this,t),this._delaunator=new Wn(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}return Object(zn.a)(t,[{key:"update",value:function(){return this._delaunator.update(),this._init(),this}},{key:"_init",value:function(){var t=this._delaunator,e=this.points;if(t.hull&&t.hull.length>2&&function(t){for(var e=t.triangles,r=t.coords,n=0;n<e.length;n+=3){var i=2*e[n],o=2*e[n+1],a=2*e[n+2];if((r[a]-r[i])*(r[o+1]-r[i+1])-(r[o]-r[i])*(r[a+1]-r[i+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:e.length/2},(function(t,e){return e})).sort((function(t,r){return e[2*t]-e[2*r]||e[2*t+1]-e[2*r+1]}));for(var r=this.collinear[0],n=this.collinear[this.collinear.length-1],i=[e[2*r],e[2*r+1],e[2*n],e[2*n+1]],o=1e-8*Math.hypot(i[3]-i[1],i[2]-i[0]),a=0,s=e.length/2;a<s;++a){var c=ci(e[2*a],e[2*a+1],o);e[2*a]=c[0],e[2*a+1]=c[1]}this._delaunator=new Wn(e)}else delete this.collinear;for(var u=this.halfedges=this._delaunator.halfedges,l=this.hull=this._delaunator.hull,f=this.triangles=this._delaunator.triangles,h=this.inedges.fill(-1),d=this._hullIndex.fill(-1),p=0,m=u.length;p<m;++p){var b=f[p%3===2?p-2:p+1];-1!==u[p]&&-1!==h[b]||(h[b]=p)}for(var v=0,g=l.length;v<g;++v)d[l[v]]=v;l.length<=2&&l.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=l[0],this.triangles[1]=l[1],this.triangles[2]=l[1],h[l[0]]=1,2===l.length&&(h[l[1]]=0))}},{key:"voronoi",value:function(t){return new ri(this,t)}},{key:"neighbors",value:Nt.a.mark((function t(e){var r,n,i,o,a,s,c,u,l,f,h;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this.inedges,n=this.hull,i=this._hullIndex,o=this.halfedges,a=this.triangles,!(s=this.collinear)){t.next=10;break}if(!((c=s.indexOf(e))>0)){t.next=6;break}return t.next=6,s[c-1];case 6:if(!(c<s.length-1)){t.next=9;break}return t.next=9,s[c+1];case 9:return t.abrupt("return");case 10:if(-1!==(u=r[e])){t.next=13;break}return t.abrupt("return");case 13:l=u,f=-1;case 14:return t.next=16,f=a[l];case 16:if(a[l=l%3===2?l-2:l+1]===e){t.next=19;break}return t.abrupt("return");case 19:if(-1!==(l=o[l])){t.next=26;break}if((h=n[(i[e]+1)%n.length])===f){t.next=25;break}return t.next=25,h;case 25:return t.abrupt("return");case 26:if(l!==u){t.next=14;break}case 27:case"end":return t.stop()}}),t,this)}))},{key:"find",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if((t=+t)!==t||(e=+e)!==e)return-1;for(var n,i=r;(n=this._step(r,t,e))>=0&&n!==r&&n!==i;)r=n;return n}},{key:"_step",value:function(t,e,r){var n=this.inedges,i=this.hull,o=this._hullIndex,a=this.halfedges,s=this.triangles,c=this.points;if(-1===n[t]||!c.length)return(t+1)%(c.length>>1);var u=t,l=oi(e-c[2*t],2)+oi(r-c[2*t+1],2),f=n[t],h=f;do{var d=s[h],p=oi(e-c[2*d],2)+oi(r-c[2*d+1],2);if(p<l&&(l=p,u=d),s[h=h%3===2?h-2:h+1]!==t)break;if(-1===(h=a[h])){if((h=i[(o[t]+1)%i.length])!==d&&oi(e-c[2*h],2)+oi(r-c[2*h+1],2)<l)return h;break}}while(h!==f);return u}},{key:"render",value:function(t){for(var e=null==t?t=new Qn:void 0,r=this.points,n=this.halfedges,i=this.triangles,o=0,a=n.length;o<a;++o){var s=n[o];if(!(s<o)){var c=2*i[o],u=2*i[s];t.moveTo(r[c],r[c+1]),t.lineTo(r[u],r[u+1])}}return this.renderHull(t),e&&e.value()}},{key:"renderPoints",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=null==t?t=new Qn:void 0,n=this.points,i=0,o=n.length;i<o;i+=2){var a=n[i],s=n[i+1];t.moveTo(a+e,s),t.arc(a,s,e,0,ii)}return r&&r.value()}},{key:"renderHull",value:function(t){var e=null==t?t=new Qn:void 0,r=this.hull,n=this.points,i=2*r[0],o=r.length;t.moveTo(n[i],n[i+1]);for(var a=1;a<o;++a){var s=2*r[a];t.lineTo(n[s],n[s+1])}return t.closePath(),e&&e.value()}},{key:"hullPolygon",value:function(){var t=new ti;return this.renderHull(t),t.value()}},{key:"renderTriangle",value:function(t,e){var r=null==e?e=new Qn:void 0,n=this.points,i=this.triangles,o=2*i[t*=3],a=2*i[t+1],s=2*i[t+2];return e.moveTo(n[o],n[o+1]),e.lineTo(n[a],n[a+1]),e.lineTo(n[s],n[s+1]),e.closePath(),r&&r.value()}},{key:"trianglePolygons",value:Nt.a.mark((function t(){var e,r,n;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.triangles,r=0,n=e.length/3;case 2:if(!(r<n)){t.next=8;break}return t.next=5,this.trianglePolygon(r);case 5:++r,t.next=2;break;case 8:case"end":return t.stop()}}),t,this)}))},{key:"trianglePolygon",value:function(t){var e=new ti;return this.renderTriangle(t,e),e.value()}}],[{key:"from",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ai,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:si,i=arguments.length>3?arguments[3]:void 0;return new t("length"in e?li(e,r,n,i):Float64Array.from(fi(e,r,n,i)))}}]),t}();function li(t,e,r,n){for(var i=t.length,o=new Float64Array(2*i),a=0;a<i;++a){var s=t[a];o[2*a]=e.call(n,s,a,t),o[2*a+1]=r.call(n,s,a,t)}return o}function fi(t,e,r,n){var i,o,a,s;return Nt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:i=0,o=Object(v.a)(t),c.prev=2,o.s();case 4:if((a=o.n()).done){c.next=13;break}return s=a.value,c.next=8,e.call(n,s,i,t);case 8:return c.next=10,r.call(n,s,i,t);case 10:++i;case 11:c.next=4;break;case 13:c.next=18;break;case 15:c.prev=15,c.t0=c.catch(2),o.e(c.t0);case 18:return c.prev=18,o.f(),c.finish(18);case 21:case"end":return c.stop()}}),ni,null,[[2,15,18,21]])}var hi=function(t){return function(){return t}};function di(t,e){var r=e.sourceEvent,n=e.subject,i=e.target,o=e.identifier,a=e.active,s=e.x,c=e.y,u=e.dx,l=e.dy,f=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:a,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:l,enumerable:!0,configurable:!0},_:{value:f}})}function pi(t){return!t.ctrlKey&&!t.button}function mi(){return this.parentNode}function bi(t,e){return null==e?{x:t.x,y:t.y}:e}function vi(){return navigator.maxTouchPoints||"ontouchstart"in this}di.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var gi=function(){var t,e,r,n,i=pi,o=mi,a=bi,s=vi,c={},u=S("start","drag","end"),l=0,f=0;function h(t){t.on("mousedown.drag",d).filter(s).on("touchstart.drag",b).on("touchmove.drag",v).on("touchend.drag touchcancel.drag",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,s){if(!n&&i.call(this,a,s)){var c=y(this,o.call(this,a,s),a,s,"mouse");c&&(qt(a.view).on("mousemove.drag",p,!0).on("mouseup.drag",m,!0),Yt(a.view),Vt(a),r=!1,t=a.clientX,e=a.clientY,c("start",a))}}function p(n){if(Gt(n),!r){var i=n.clientX-t,o=n.clientY-e;r=i*i+o*o>f}c.mouse("drag",n)}function m(t){qt(t.view).on("mousemove.drag mouseup.drag",null),Xt(t.view,r),Gt(t),c.mouse("end",t)}function b(t,e){if(i.call(this,t,e)){var r,n,a=t.changedTouches,s=o.call(this,t,e),c=a.length;for(r=0;r<c;++r)(n=y(this,s,t,e,a[r].identifier,a[r]))&&(Vt(t),n("start",t,a[r]))}}function v(t){var e,r,n=t.changedTouches,i=n.length;for(e=0;e<i;++e)(r=c[n[e].identifier])&&(Gt(t),r("drag",t,n[e]))}function g(t){var e,r,i=t.changedTouches,o=i.length;for(n&&clearTimeout(n),n=setTimeout((function(){n=null}),500),e=0;e<o;++e)(r=c[i[e].identifier])&&(Vt(t),r("end",t,i[e]))}function y(t,e,r,n,i,o){var s,f,d,p=u.copy(),m=Qt(o||r,e);if(null!=(d=a.call(t,new di("beforestart",{sourceEvent:r,target:h,identifier:i,active:l,x:m[0],y:m[1],dx:0,dy:0,dispatch:p}),n)))return s=d.x-m[0]||0,f=d.y-m[1]||0,function r(o,a,u){var b,v=m;switch(o){case"start":c[i]=r,b=l++;break;case"end":delete c[i],--l;case"drag":m=Qt(u||a,e),b=l}p.call(o,t,new di(o,{sourceEvent:a,subject:d,target:h,identifier:i,active:b,x:m[0]+s,y:m[1]+f,dx:m[0]-v[0],dy:m[1]-v[1],dispatch:p}),n)}}return h.filter=function(t){return arguments.length?(i="function"===typeof t?t:hi(!!t),h):i},h.container=function(t){return arguments.length?(o="function"===typeof t?t:hi(t),h):o},h.subject=function(t){return arguments.length?(a="function"===typeof t?t:hi(t),h):a},h.touchable=function(t){return arguments.length?(s="function"===typeof t?t:hi(!!t),h):s},h.on=function(){var t=u.on.apply(u,arguments);return t===u?h:t},h.clickDistance=function(t){return arguments.length?(f=(t=+t)*t,h):Math.sqrt(f)},h},yi={},wi={};function xi(t){return new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'})).join(",")+"}")}function Oi(t){var e=Object.create(null),r=[];return t.forEach((function(t){for(var n in t)n in e||r.push(e[n]=n)})),r}function _i(t,e){var r=t+"",n=r.length;return n<e?new Array(e-n+1).join(0)+r:r}function Si(t){var e,r=t.getUTCHours(),n=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+_i(-e,6):e>9999?"+"+_i(e,6):_i(e,4))+"-"+_i(t.getUTCMonth()+1,2)+"-"+_i(t.getUTCDate(),2)+(o?"T"+_i(r,2)+":"+_i(n,2)+":"+_i(i,2)+"."+_i(o,3)+"Z":i?"T"+_i(r,2)+":"+_i(n,2)+":"+_i(i,2)+"Z":n||r?"T"+_i(r,2)+":"+_i(n,2)+"Z":"")}var ki=function(t){var e=new RegExp('["'+t+"\n\r]"),r=t.charCodeAt(0);function n(t,e){var n,i=[],o=t.length,a=0,s=0,c=o<=0,u=!1;function l(){if(c)return wi;if(u)return u=!1,yi;var e,n,i=a;if(34===t.charCodeAt(i)){for(;a++<o&&34!==t.charCodeAt(a)||34===t.charCodeAt(++a););return(e=a)>=o?c=!0:10===(n=t.charCodeAt(a++))?u=!0:13===n&&(u=!0,10===t.charCodeAt(a)&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a<o;){if(10===(n=t.charCodeAt(e=a++)))u=!0;else if(13===n)u=!0,10===t.charCodeAt(a)&&++a;else if(n!==r)continue;return t.slice(i,e)}return c=!0,t.slice(i,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(n=l())!==wi;){for(var f=[];n!==yi&&n!==wi;)f.push(n),n=l();e&&null==(f=e(f,s++))||i.push(f)}return i}function i(e,r){return e.map((function(e){return r.map((function(t){return a(e[t])})).join(t)}))}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":t instanceof Date?Si(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var r,i,o=n(t,(function(t,n){if(r)return r(t,n-1);i=t,r=e?function(t,e){var r=xi(t);return function(n,i){return e(r(n),i,t)}}(t,e):xi(t)}));return o.columns=i||[],o},parseRows:n,format:function(e,r){return null==r&&(r=Oi(e)),[r.map(a).join(t)].concat(i(e,r)).join("\n")},formatBody:function(t,e){return null==e&&(e=Oi(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:a}},Ei=ki(","),Mi=Ei.parse,Ci=Ei.parseRows,ji=Ei.format,Ai=Ei.formatBody,Ti=Ei.formatRows,Pi=Ei.formatRow,Di=Ei.formatValue,Ri=ki("\t"),Li=Ri.parse,Ii=Ri.parseRows,Ni=Ri.format,Fi=Ri.formatBody,Bi=Ri.formatRows,zi=Ri.formatRow,Hi=Ri.formatValue;function Ui(t){for(var e in t){var r,n,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(r=+i)){if(!(n=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Wi&&n[4]&&!n[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=r;else i=null;t[e]=i}return t}var Wi=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),qi=function(t){return+t};function Vi(t){return t*t}function Gi(t){return t*(2-t)}function Yi(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Xi=function t(e){function r(t){return Math.pow(t,e)}return e=+e,r.exponent=t,r}(3),$i=function t(e){function r(t){return 1-Math.pow(1-t,e)}return e=+e,r.exponent=t,r}(3),Ki=function t(e){function r(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,r.exponent=t,r}(3),Zi=Math.PI,Ji=Zi/2;function Qi(t){return 1===+t?1:1-Math.cos(t*Ji)}function to(t){return Math.sin(t*Ji)}function eo(t){return(1-Math.cos(Zi*t))/2}function ro(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function no(t){return ro(1-+t)}function io(t){return 1-ro(t)}function oo(t){return((t*=2)<=1?ro(1-t):2-ro(t-1))/2}function ao(t){return 1-Math.sqrt(1-t*t)}function so(t){return Math.sqrt(1- --t*t)}function co(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function uo(t){return 1-lo(1-t)}function lo(t){return(t=+t)<4/11?7.5625*t*t:t<8/11?7.5625*(t-=6/11)*t+3/4:t<10/11?7.5625*(t-=9/11)*t+15/16:7.5625*(t-=21/22)*t+63/64}function fo(t){return((t*=2)<=1?1-lo(1-t):lo(t-1)+1)/2}var ho=function t(e){function r(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,r.overshoot=t,r}(1.70158),po=function t(e){function r(t){return--t*t*((t+1)*e+t)+1}return e=+e,r.overshoot=t,r}(1.70158),mo=function t(e){function r(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,r.overshoot=t,r}(1.70158),bo=2*Math.PI,vo=function t(e,r){var n=Math.asin(1/(e=Math.max(1,e)))*(r/=bo);function i(t){return e*ro(- --t)*Math.sin((n-t)/r)}return i.amplitude=function(e){return t(e,r*bo)},i.period=function(r){return t(e,r)},i}(1,.3),go=function t(e,r){var n=Math.asin(1/(e=Math.max(1,e)))*(r/=bo);function i(t){return 1-e*ro(t=+t)*Math.sin((t+n)/r)}return i.amplitude=function(e){return t(e,r*bo)},i.period=function(r){return t(e,r)},i}(1,.3),yo=function t(e,r){var n=Math.asin(1/(e=Math.max(1,e)))*(r/=bo);function i(t){return((t=2*t-1)<0?e*ro(-t)*Math.sin((n-t)/r):2-e*ro(t)*Math.sin((n+t)/r))/2}return i.amplitude=function(e){return t(e,r*bo)},i.period=function(r){return t(e,r)},i}(1,.3);function wo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var xo=function(t,e){return fetch(t,e).then(wo)};function Oo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var _o=function(t,e){return fetch(t,e).then(Oo)};function So(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var ko=function(t,e){return fetch(t,e).then(So)};function Eo(t){return function(e,r,n){return 2===arguments.length&&"function"===typeof r&&(n=r,r=void 0),ko(e,r).then((function(e){return t(e,n)}))}}function Mo(t,e,r,n){3===arguments.length&&"function"===typeof r&&(n=r,r=void 0);var i=ki(t);return ko(e,r).then((function(t){return i.parse(t,n)}))}var Co=Eo(Mi),jo=Eo(Li),Ao=function(t,e){return new Promise((function(r,n){var i=new Image;for(var o in e)i[o]=e[o];i.onerror=n,i.onload=function(){r(i)},i.src=t}))};function To(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}var Po=function(t,e){return fetch(t,e).then(To)};function Do(t){return function(e,r){return ko(e,r).then((function(e){return(new DOMParser).parseFromString(e,t)}))}}var Ro=Do("application/xml"),Lo=Do("text/html"),Io=Do("image/svg+xml"),No=function(t,e){var r,n=1;function i(){var i,o,a=r.length,s=0,c=0;for(i=0;i<a;++i)s+=(o=r[i]).x,c+=o.y;for(s=(s/a-t)*n,c=(c/a-e)*n,i=0;i<a;++i)(o=r[i]).x-=s,o.y-=c}return null==t&&(t=0),null==e&&(e=0),i.initialize=function(t){r=t},i.x=function(e){return arguments.length?(t=+e,i):t},i.y=function(t){return arguments.length?(e=+t,i):e},i.strength=function(t){return arguments.length?(n=+t,i):n},i};function Fo(t,e,r,n){if(isNaN(e)||isNaN(r))return t;var i,o,a,s,c,u,l,f,h,d=t._root,p={data:n},m=t._x0,b=t._y0,v=t._x1,g=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((u=e>=(o=(m+v)/2))?m=o:v=o,(l=r>=(a=(b+g)/2))?b=a:g=a,i=d,!(d=d[f=l<<1|u]))return i[f]=p,t;if(s=+t._x.call(null,d.data),c=+t._y.call(null,d.data),e===s&&r===c)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(u=e>=(o=(m+v)/2))?m=o:v=o,(l=r>=(a=(b+g)/2))?b=a:g=a}while((f=l<<1|u)===(h=(c>=a)<<1|s>=o));return i[h]=d,i[f]=p,t}var Bo=function(t,e,r,n,i){this.node=t,this.x0=e,this.y0=r,this.x1=n,this.y1=i};function zo(t){return t[0]}function Ho(t){return t[1]}function Uo(t,e,r){var n=new Wo(null==e?zo:e,null==r?Ho:r,NaN,NaN,NaN,NaN);return null==t?n:n.addAll(t)}function Wo(t,e,r,n,i,o){this._x=t,this._y=e,this._x0=r,this._y0=n,this._x1=i,this._y1=o,this._root=void 0}function qo(t){for(var e={data:t.data},r=e;t=t.next;)r=r.next={data:t.data};return e}var Vo=Uo.prototype=Wo.prototype;Vo.copy=function(){var t,e,r=new Wo(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return r;if(!n.length)return r._root=qo(n),r;for(t=[{source:n,target:r._root=new Array(4)}];n=t.pop();)for(var i=0;i<4;++i)(e=n.source[i])&&(e.length?t.push({source:e,target:n.target[i]=new Array(4)}):n.target[i]=qo(e));return r},Vo.add=function(t){var e=+this._x.call(null,t),r=+this._y.call(null,t);return Fo(this.cover(e,r),e,r,t)},Vo.addAll=function(t){var e,r,n,i,o=t.length,a=new Array(o),s=new Array(o),c=1/0,u=1/0,l=-1/0,f=-1/0;for(r=0;r<o;++r)isNaN(n=+this._x.call(null,e=t[r]))||isNaN(i=+this._y.call(null,e))||(a[r]=n,s[r]=i,n<c&&(c=n),n>l&&(l=n),i<u&&(u=i),i>f&&(f=i));if(c>l||u>f)return this;for(this.cover(c,u).cover(l,f),r=0;r<o;++r)Fo(this,a[r],s[r],t[r]);return this},Vo.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var r=this._x0,n=this._y0,i=this._x1,o=this._y1;if(isNaN(r))i=(r=Math.floor(t))+1,o=(n=Math.floor(e))+1;else{for(var a,s,c=i-r||1,u=this._root;r>t||t>=i||n>e||e>=o;)switch(s=(e<n)<<1|t<r,(a=new Array(4))[s]=u,u=a,c*=2,s){case 0:i=r+c,o=n+c;break;case 1:r=i-c,o=n+c;break;case 2:i=r+c,n=o-c;break;case 3:r=i-c,n=o-c}this._root&&this._root.length&&(this._root=u)}return this._x0=r,this._y0=n,this._x1=i,this._y1=o,this},Vo.data=function(){var t=[];return this.visit((function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)})),t},Vo.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Vo.find=function(t,e,r){var n,i,o,a,s,c,u,l=this._x0,f=this._y0,h=this._x1,d=this._y1,p=[],m=this._root;for(m&&p.push(new Bo(m,l,f,h,d)),null==r?r=1/0:(l=t-r,f=e-r,h=t+r,d=e+r,r*=r);c=p.pop();)if(!(!(m=c.node)||(i=c.x0)>h||(o=c.y0)>d||(a=c.x1)<l||(s=c.y1)<f))if(m.length){var b=(i+a)/2,v=(o+s)/2;p.push(new Bo(m[3],b,v,a,s),new Bo(m[2],i,v,b,s),new Bo(m[1],b,o,a,v),new Bo(m[0],i,o,b,v)),(u=(e>=v)<<1|t>=b)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-u],p[p.length-1-u]=c)}else{var g=t-+this._x.call(null,m.data),y=e-+this._y.call(null,m.data),w=g*g+y*y;if(w<r){var x=Math.sqrt(r=w);l=t-x,f=e-x,h=t+x,d=e+x,n=m.data}}return n},Vo.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,r,n,i,o,a,s,c,u,l,f,h,d=this._root,p=this._x0,m=this._y0,b=this._x1,v=this._y1;if(!d)return this;if(d.length)for(;;){if((u=o>=(s=(p+b)/2))?p=s:b=s,(l=a>=(c=(m+v)/2))?m=c:v=c,e=d,!(d=d[f=l<<1|u]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(r=e,h=f)}for(;d.data!==t;)if(n=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,n?(i?n.next=i:delete n.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(r?r[h]=d:this._root=d),this):(this._root=i,this)},Vo.removeAll=function(t){for(var e=0,r=t.length;e<r;++e)this.remove(t[e]);return this},Vo.root=function(){return this._root},Vo.size=function(){var t=0;return this.visit((function(e){if(!e.length)do{++t}while(e=e.next)})),t},Vo.visit=function(t){var e,r,n,i,o,a,s=[],c=this._root;for(c&&s.push(new Bo(c,this._x0,this._y0,this._x1,this._y1));e=s.pop();)if(!t(c=e.node,n=e.x0,i=e.y0,o=e.x1,a=e.y1)&&c.length){var u=(n+o)/2,l=(i+a)/2;(r=c[3])&&s.push(new Bo(r,u,l,o,a)),(r=c[2])&&s.push(new Bo(r,n,l,u,a)),(r=c[1])&&s.push(new Bo(r,u,i,o,l)),(r=c[0])&&s.push(new Bo(r,n,i,u,l))}return this},Vo.visitAfter=function(t){var e,r=[],n=[];for(this._root&&r.push(new Bo(this._root,this._x0,this._y0,this._x1,this._y1));e=r.pop();){var i=e.node;if(i.length){var o,a=e.x0,s=e.y0,c=e.x1,u=e.y1,l=(a+c)/2,f=(s+u)/2;(o=i[0])&&r.push(new Bo(o,a,s,l,f)),(o=i[1])&&r.push(new Bo(o,l,s,c,f)),(o=i[2])&&r.push(new Bo(o,a,f,l,u)),(o=i[3])&&r.push(new Bo(o,l,f,c,u))}n.push(e)}for(;e=n.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},Vo.x=function(t){return arguments.length?(this._x=t,this):this._x},Vo.y=function(t){return arguments.length?(this._y=t,this):this._y};var Go=function(t){return function(){return t}},Yo=function(t){return 1e-6*(t()-.5)};function Xo(t){return t.x+t.vx}function $o(t){return t.y+t.vy}var Ko=function(t){var e,r,n,i=1,o=1;function a(){for(var t,a,c,u,l,f,h,d=e.length,p=0;p<o;++p)for(a=Uo(e,Xo,$o).visitAfter(s),t=0;t<d;++t)c=e[t],f=r[c.index],h=f*f,u=c.x+c.vx,l=c.y+c.vy,a.visit(m);function m(t,e,r,o,a){var s=t.data,d=t.r,p=f+d;if(!s)return e>u+p||o<u-p||r>l+p||a<l-p;if(s.index>c.index){var m=u-s.x-s.vx,b=l-s.y-s.vy,v=m*m+b*b;v<p*p&&(0===m&&(v+=(m=Yo(n))*m),0===b&&(v+=(b=Yo(n))*b),v=(p-(v=Math.sqrt(v)))/v*i,c.vx+=(m*=v)*(p=(d*=d)/(h+d)),c.vy+=(b*=v)*p,s.vx-=m*(p=1-p),s.vy-=b*p)}}}function s(t){if(t.data)return t.r=r[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function c(){if(e){var n,i,o=e.length;for(r=new Array(o),n=0;n<o;++n)i=e[n],r[i.index]=+t(i,n,e)}}return"function"!==typeof t&&(t=Go(null==t?1:+t)),a.initialize=function(t,r){e=t,n=r,c()},a.iterations=function(t){return arguments.length?(o=+t,a):o},a.strength=function(t){return arguments.length?(i=+t,a):i},a.radius=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),c(),a):t},a};function Zo(t){return t.index}function Jo(t,e){var r=t.get(e);if(!r)throw new Error("node not found: "+e);return r}var Qo=function(t){var e,r,n,i,o,a,s=Zo,c=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},u=Go(30),l=1;function f(n){for(var i=0,s=t.length;i<l;++i)for(var c,u,f,h,d,p,m,b=0;b<s;++b)u=(c=t[b]).source,h=(f=c.target).x+f.vx-u.x-u.vx||Yo(a),d=f.y+f.vy-u.y-u.vy||Yo(a),h*=p=((p=Math.sqrt(h*h+d*d))-r[b])/p*n*e[b],d*=p,f.vx-=h*(m=o[b]),f.vy-=d*m,u.vx+=h*(m=1-m),u.vy+=d*m}function h(){if(n){var a,c,u=n.length,l=t.length,f=new Map(n.map((function(t,e){return[s(t,e,n),t]})));for(a=0,i=new Array(u);a<l;++a)(c=t[a]).index=a,"object"!==typeof c.source&&(c.source=Jo(f,c.source)),"object"!==typeof c.target&&(c.target=Jo(f,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(l);a<l;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);e=new Array(l),d(),r=new Array(l),p()}}function d(){if(n)for(var r=0,i=t.length;r<i;++r)e[r]=+c(t[r],r,t)}function p(){if(n)for(var e=0,i=t.length;e<i;++e)r[e]=+u(t[e],e,t)}return null==t&&(t=[]),f.initialize=function(t,e){n=t,a=e,h()},f.links=function(e){return arguments.length?(t=e,h(),f):t},f.id=function(t){return arguments.length?(s=t,f):s},f.iterations=function(t){return arguments.length?(l=+t,f):l},f.strength=function(t){return arguments.length?(c="function"===typeof t?t:Go(+t),d(),f):c},f.distance=function(t){return arguments.length?(u="function"===typeof t?t:Go(+t),p(),f):u},f};function ta(t){return t.x}function ea(t){return t.y}var ra=Math.PI*(3-Math.sqrt(5)),na=function(t){var e,r=1,n=.001,i=1-Math.pow(n,1/300),o=0,a=.6,s=new Map,c=fe(f),u=S("tick","end"),l=function(){var t=1;return function(){return(t=(1664525*t+1013904223)%4294967296)/4294967296}}();function f(){h(),u.call("tick",e),r<n&&(c.stop(),u.call("end",e))}function h(n){var c,u,l=t.length;void 0===n&&(n=1);for(var f=0;f<n;++f)for(r+=(o-r)*i,s.forEach((function(t){t(r)})),c=0;c<l;++c)null==(u=t[c]).fx?u.x+=u.vx*=a:(u.x=u.fx,u.vx=0),null==u.fy?u.y+=u.vy*=a:(u.y=u.fy,u.vy=0);return e}function d(){for(var e,r=0,n=t.length;r<n;++r){if((e=t[r]).index=r,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=10*Math.sqrt(.5+r),o=r*ra;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function p(e){return e.initialize&&e.initialize(t,l),e}return null==t&&(t=[]),d(),e={tick:h,restart:function(){return c.restart(f),e},stop:function(){return c.stop(),e},nodes:function(r){return arguments.length?(t=r,d(),s.forEach(p),e):t},alpha:function(t){return arguments.length?(r=+t,e):r},alphaMin:function(t){return arguments.length?(n=+t,e):n},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(o=+t,e):o},velocityDecay:function(t){return arguments.length?(a=1-t,e):1-a},randomSource:function(t){return arguments.length?(l=t,s.forEach(p),e):l},force:function(t,r){return arguments.length>1?(null==r?s.delete(t):s.set(t,p(r)),e):s.get(t)},find:function(e,r,n){var i,o,a,s,c,u=0,l=t.length;for(null==n?n=1/0:n*=n,u=0;u<l;++u)(a=(i=e-(s=t[u]).x)*i+(o=r-s.y)*o)<n&&(c=s,n=a);return c},on:function(t,r){return arguments.length>1?(u.on(t,r),e):u.on(t)}}},ia=function(){var t,e,r,n,i,o=Go(-30),a=1,s=1/0,c=.81;function u(r){var i,o=t.length,a=Uo(t,ta,ea).visitAfter(f);for(n=r,i=0;i<o;++i)e=t[i],a.visit(h)}function l(){if(t){var e,r,n=t.length;for(i=new Array(n),e=0;e<n;++e)r=t[e],i[r.index]=+o(r,e,t)}}function f(t){var e,r,n,o,a,s=0,c=0;if(t.length){for(n=o=a=0;a<4;++a)(e=t[a])&&(r=Math.abs(e.value))&&(s+=e.value,c+=r,n+=r*e.x,o+=r*e.y);t.x=n/c,t.y=o/c}else{(e=t).x=e.data.x,e.y=e.data.y;do{s+=i[e.data.index]}while(e=e.next)}t.value=s}function h(t,o,u,l){if(!t.value)return!0;var f=t.x-e.x,h=t.y-e.y,d=l-o,p=f*f+h*h;if(d*d/c<p)return p<s&&(0===f&&(p+=(f=Yo(r))*f),0===h&&(p+=(h=Yo(r))*h),p<a&&(p=Math.sqrt(a*p)),e.vx+=f*t.value*n/p,e.vy+=h*t.value*n/p),!0;if(!(t.length||p>=s)){(t.data!==e||t.next)&&(0===f&&(p+=(f=Yo(r))*f),0===h&&(p+=(h=Yo(r))*h),p<a&&(p=Math.sqrt(a*p)));do{t.data!==e&&(d=i[t.data.index]*n/p,e.vx+=f*d,e.vy+=h*d)}while(t=t.next)}}return u.initialize=function(e,n){t=e,r=n,l()},u.strength=function(t){return arguments.length?(o="function"===typeof t?t:Go(+t),l(),u):o},u.distanceMin=function(t){return arguments.length?(a=t*t,u):Math.sqrt(a)},u.distanceMax=function(t){return arguments.length?(s=t*t,u):Math.sqrt(s)},u.theta=function(t){return arguments.length?(c=t*t,u):Math.sqrt(c)},u},oa=function(t,e,r){var n,i,o,a=Go(.1);function s(t){for(var a=0,s=n.length;a<s;++a){var c=n[a],u=c.x-e||1e-6,l=c.y-r||1e-6,f=Math.sqrt(u*u+l*l),h=(o[a]-f)*i[a]*t/f;c.vx+=u*h,c.vy+=l*h}}function c(){if(n){var e,r=n.length;for(i=new Array(r),o=new Array(r),e=0;e<r;++e)o[e]=+t(n[e],e,n),i[e]=isNaN(o[e])?0:+a(n[e],e,n)}}return"function"!==typeof t&&(t=Go(+t)),null==e&&(e=0),null==r&&(r=0),s.initialize=function(t){n=t,c()},s.strength=function(t){return arguments.length?(a="function"===typeof t?t:Go(+t),c(),s):a},s.radius=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),c(),s):t},s.x=function(t){return arguments.length?(e=+t,s):e},s.y=function(t){return arguments.length?(r=+t,s):r},s},aa=function(t){var e,r,n,i=Go(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vx+=(n[o]-i.x)*r[o]*t}function a(){if(e){var o,a=e.length;for(r=new Array(a),n=new Array(a),o=0;o<a;++o)r[o]=isNaN(n[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!==typeof t&&(t=Go(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:Go(+t),a(),o):i},o.x=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),a(),o):t},o},sa=function(t){var e,r,n,i=Go(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vy+=(n[o]-i.y)*r[o]*t}function a(){if(e){var o,a=e.length;for(r=new Array(a),n=new Array(a),o=0;o<a;++o)r[o]=isNaN(n[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!==typeof t&&(t=Go(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:Go(+t),a(),o):i},o.y=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),a(),o):t},o},ca=r(482),ua=r(481),la=Math.PI,fa=la/2,ha=la/4,da=2*la,pa=180/la,ma=la/180,ba=Math.abs,va=Math.atan,ga=Math.atan2,ya=Math.cos,wa=Math.ceil,xa=Math.exp,Oa=(Math.floor,Math.hypot),_a=Math.log,Sa=Math.pow,ka=Math.sin,Ea=Math.sign||function(t){return t>0?1:t<0?-1:0},Ma=Math.sqrt,Ca=Math.tan;function ja(t){return t>1?0:t<-1?la:Math.acos(t)}function Aa(t){return t>1?fa:t<-1?-fa:Math.asin(t)}function Ta(t){return(t=ka(t/2))*t}function Pa(){}function Da(t,e){t&&La.hasOwnProperty(t.type)&&La[t.type](t,e)}var Ra={Feature:function(t,e){Da(t.geometry,e)},FeatureCollection:function(t,e){for(var r=t.features,n=-1,i=r.length;++n<i;)Da(r[n].geometry,e)}},La={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)t=r[n],e.point(t[0],t[1],t[2])},LineString:function(t,e){Ia(t.coordinates,e,0)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)Ia(r[n],e,0)},Polygon:function(t,e){Na(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)Na(r[n],e)},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,i=r.length;++n<i;)Da(r[n],e)}};function Ia(t,e,r){var n,i=-1,o=t.length-r;for(e.lineStart();++i<o;)n=t[i],e.point(n[0],n[1],n[2]);e.lineEnd()}function Na(t,e){var r=-1,n=t.length;for(e.polygonStart();++r<n;)Ia(t[r],e,1);e.polygonEnd()}var Fa,Ba,za,Ha,Ua,Wa=function(t,e){t&&Ra.hasOwnProperty(t.type)?Ra[t.type](t,e):Da(t,e)},qa=new ua.a,Va=new ua.a,Ga={point:Pa,lineStart:Pa,lineEnd:Pa,polygonStart:function(){qa=new ua.a,Ga.lineStart=Ya,Ga.lineEnd=Xa},polygonEnd:function(){var t=+qa;Va.add(t<0?da+t:t),this.lineStart=this.lineEnd=this.point=Pa},sphere:function(){Va.add(da)}};function Ya(){Ga.point=$a}function Xa(){Ka(Fa,Ba)}function $a(t,e){Ga.point=Ka,Fa=t,Ba=e,za=t*=ma,Ha=ya(e=(e*=ma)/2+ha),Ua=ka(e)}function Ka(t,e){var r=(t*=ma)-za,n=r>=0?1:-1,i=n*r,o=ya(e=(e*=ma)/2+ha),a=ka(e),s=Ua*a,c=Ha*o+s*ya(i),u=s*n*ka(i);qa.add(ga(u,c)),za=t,Ha=o,Ua=a}var Za,Ja,Qa,ts,es,rs,ns,is,os,as,ss,cs=function(t){return Va=new ua.a,Wa(t,Ga),2*Va};function us(t){return[ga(t[1],t[0]),Aa(t[2])]}function ls(t){var e=t[0],r=t[1],n=ya(r);return[n*ya(e),n*ka(e),ka(r)]}function fs(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function hs(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ds(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ps(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function ms(t){var e=Ma(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var bs={point:vs,lineStart:ys,lineEnd:ws,polygonStart:function(){bs.point=xs,bs.lineStart=Os,bs.lineEnd=_s,os=new ua.a,Ga.polygonStart()},polygonEnd:function(){Ga.polygonEnd(),bs.point=vs,bs.lineStart=ys,bs.lineEnd=ws,qa<0?(Za=-(Qa=180),Ja=-(ts=90)):os>1e-6?ts=90:os<-1e-6&&(Ja=-90),ss[0]=Za,ss[1]=Qa},sphere:function(){Za=-(Qa=180),Ja=-(ts=90)}};function vs(t,e){as.push(ss=[Za=t,Qa=t]),e<Ja&&(Ja=e),e>ts&&(ts=e)}function gs(t,e){var r=ls([t*ma,e*ma]);if(is){var n=hs(is,r),i=hs([n[1],-n[0],0],n);ms(i),i=us(i);var o,a=t-es,s=a>0?1:-1,c=i[0]*pa*s,u=ba(a)>180;u^(s*es<c&&c<s*t)?(o=i[1]*pa)>ts&&(ts=o):u^(s*es<(c=(c+360)%360-180)&&c<s*t)?(o=-i[1]*pa)<Ja&&(Ja=o):(e<Ja&&(Ja=e),e>ts&&(ts=e)),u?t<es?Ss(Za,t)>Ss(Za,Qa)&&(Qa=t):Ss(t,Qa)>Ss(Za,Qa)&&(Za=t):Qa>=Za?(t<Za&&(Za=t),t>Qa&&(Qa=t)):t>es?Ss(Za,t)>Ss(Za,Qa)&&(Qa=t):Ss(t,Qa)>Ss(Za,Qa)&&(Za=t)}else as.push(ss=[Za=t,Qa=t]);e<Ja&&(Ja=e),e>ts&&(ts=e),is=r,es=t}function ys(){bs.point=gs}function ws(){ss[0]=Za,ss[1]=Qa,bs.point=vs,is=null}function xs(t,e){if(is){var r=t-es;os.add(ba(r)>180?r+(r>0?360:-360):r)}else rs=t,ns=e;Ga.point(t,e),gs(t,e)}function Os(){Ga.lineStart()}function _s(){xs(rs,ns),Ga.lineEnd(),ba(os)>1e-6&&(Za=-(Qa=180)),ss[0]=Za,ss[1]=Qa,is=null}function Ss(t,e){return(e-=t)<0?e+360:e}function ks(t,e){return t[0]-e[0]}function Es(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Ms,Cs,js,As,Ts,Ps,Ds,Rs,Ls,Is,Ns,Fs,Bs,zs,Hs,Us,Ws=function(t){var e,r,n,i,o,a,s;if(ts=Qa=-(Za=Ja=1/0),as=[],Wa(t,bs),r=as.length){for(as.sort(ks),e=1,o=[n=as[0]];e<r;++e)Es(n,(i=as[e])[0])||Es(n,i[1])?(Ss(n[0],i[1])>Ss(n[0],n[1])&&(n[1]=i[1]),Ss(i[0],n[1])>Ss(n[0],n[1])&&(n[0]=i[0])):o.push(n=i);for(a=-1/0,e=0,n=o[r=o.length-1];e<=r;n=i,++e)i=o[e],(s=Ss(n[1],i[0]))>a&&(a=s,Za=i[0],Qa=n[1])}return as=ss=null,Za===1/0||Ja===1/0?[[NaN,NaN],[NaN,NaN]]:[[Za,Ja],[Qa,ts]]},qs={sphere:Pa,point:Vs,lineStart:Ys,lineEnd:Ks,polygonStart:function(){qs.lineStart=Zs,qs.lineEnd=Js},polygonEnd:function(){qs.lineStart=Ys,qs.lineEnd=Ks}};function Vs(t,e){t*=ma;var r=ya(e*=ma);Gs(r*ya(t),r*ka(t),ka(e))}function Gs(t,e,r){++Ms,js+=(t-js)/Ms,As+=(e-As)/Ms,Ts+=(r-Ts)/Ms}function Ys(){qs.point=Xs}function Xs(t,e){t*=ma;var r=ya(e*=ma);zs=r*ya(t),Hs=r*ka(t),Us=ka(e),qs.point=$s,Gs(zs,Hs,Us)}function $s(t,e){t*=ma;var r=ya(e*=ma),n=r*ya(t),i=r*ka(t),o=ka(e),a=ga(Ma((a=Hs*o-Us*i)*a+(a=Us*n-zs*o)*a+(a=zs*i-Hs*n)*a),zs*n+Hs*i+Us*o);Cs+=a,Ps+=a*(zs+(zs=n)),Ds+=a*(Hs+(Hs=i)),Rs+=a*(Us+(Us=o)),Gs(zs,Hs,Us)}function Ks(){qs.point=Vs}function Zs(){qs.point=Qs}function Js(){tc(Fs,Bs),qs.point=Vs}function Qs(t,e){Fs=t,Bs=e,t*=ma,e*=ma,qs.point=tc;var r=ya(e);zs=r*ya(t),Hs=r*ka(t),Us=ka(e),Gs(zs,Hs,Us)}function tc(t,e){t*=ma;var r=ya(e*=ma),n=r*ya(t),i=r*ka(t),o=ka(e),a=Hs*o-Us*i,s=Us*n-zs*o,c=zs*i-Hs*n,u=Oa(a,s,c),l=Aa(u),f=u&&-l/u;Ls.add(f*a),Is.add(f*s),Ns.add(f*c),Cs+=l,Ps+=l*(zs+(zs=n)),Ds+=l*(Hs+(Hs=i)),Rs+=l*(Us+(Us=o)),Gs(zs,Hs,Us)}var ec=function(t){Ms=Cs=js=As=Ts=Ps=Ds=Rs=0,Ls=new ua.a,Is=new ua.a,Ns=new ua.a,Wa(t,qs);var e=+Ls,r=+Is,n=+Ns,i=Oa(e,r,n);return i<1e-12&&(e=Ps,r=Ds,n=Rs,Cs<1e-6&&(e=js,r=As,n=Ts),(i=Oa(e,r,n))<1e-12)?[NaN,NaN]:[ga(r,e)*pa,Aa(n/i)*pa]},rc=function(t){return function(){return t}},nc=function(t,e){function r(r,n){return r=t(r,n),e(r[0],r[1])}return t.invert&&e.invert&&(r.invert=function(r,n){return(r=e.invert(r,n))&&t.invert(r[0],r[1])}),r};function ic(t,e){return[ba(t)>la?t+Math.round(-t/da)*da:t,e]}function oc(t,e,r){return(t%=da)?e||r?nc(sc(t),cc(e,r)):sc(t):e||r?cc(e,r):ic}function ac(t){return function(e,r){return[(e+=t)>la?e-da:e<-la?e+da:e,r]}}function sc(t){var e=ac(t);return e.invert=ac(-t),e}function cc(t,e){var r=ya(t),n=ka(t),i=ya(e),o=ka(e);function a(t,e){var a=ya(e),s=ya(t)*a,c=ka(t)*a,u=ka(e),l=u*r+s*n;return[ga(c*i-l*o,s*r-u*n),Aa(l*i+c*o)]}return a.invert=function(t,e){var a=ya(e),s=ya(t)*a,c=ka(t)*a,u=ka(e),l=u*i-c*o;return[ga(c*i+u*o,s*r+l*n),Aa(l*r-s*n)]},a}ic.invert=ic;var uc=function(t){function e(e){return(e=t(e[0]*ma,e[1]*ma))[0]*=pa,e[1]*=pa,e}return t=oc(t[0]*ma,t[1]*ma,t.length>2?t[2]*ma:0),e.invert=function(e){return(e=t.invert(e[0]*ma,e[1]*ma))[0]*=pa,e[1]*=pa,e},e};function lc(t,e,r,n,i,o){if(r){var a=ya(e),s=ka(e),c=n*r;null==i?(i=e+n*da,o=e-c/2):(i=fc(a,i),o=fc(a,o),(n>0?i<o:i>o)&&(i+=n*da));for(var u,l=i;n>0?l>o:l<o;l-=c)u=us([a,-s*ya(l),-s*ka(l)]),t.point(u[0],u[1])}}function fc(t,e){(e=ls(e))[0]-=t,ms(e);var r=ja(-e[1]);return((-e[2]<0?-r:r)+da-1e-6)%da}var hc=function(){var t,e,r=rc([0,0]),n=rc(90),i=rc(6),o={point:function(r,n){t.push(r=e(r,n)),r[0]*=pa,r[1]*=pa}};function a(){var a=r.apply(this,arguments),s=n.apply(this,arguments)*ma,c=i.apply(this,arguments)*ma;return t=[],e=oc(-a[0]*ma,-a[1]*ma,0).invert,lc(o,s,c,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(r="function"===typeof t?t:rc([+t[0],+t[1]]),a):r},a.radius=function(t){return arguments.length?(n="function"===typeof t?t:rc(+t),a):n},a.precision=function(t){return arguments.length?(i="function"===typeof t?t:rc(+t),a):i},a},dc=function(){var t,e=[];return{point:function(e,r,n){t.push([e,r,n])},lineStart:function(){e.push(t=[])},lineEnd:Pa,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var r=e;return e=[],t=null,r}}},pc=function(t,e){return ba(t[0]-e[0])<1e-6&&ba(t[1]-e[1])<1e-6};function mc(t,e,r,n){this.x=t,this.z=e,this.o=r,this.e=n,this.v=!1,this.n=this.p=null}var bc=function(t,e,r,n,i){var o,a,s=[],c=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,r,n=t[0],a=t[e];if(pc(n,a)){if(!n[2]&&!a[2]){for(i.lineStart(),o=0;o<e;++o)i.point((n=t[o])[0],n[1]);return void i.lineEnd()}a[0]+=2e-6}s.push(r=new mc(n,t,null,!0)),c.push(r.o=new mc(n,null,r,!1)),s.push(r=new mc(a,t,null,!1)),c.push(r.o=new mc(a,null,r,!0))}})),s.length){for(c.sort(e),vc(s),vc(c),o=0,a=c.length;o<a;++o)c[o].e=r=!r;for(var u,l,f=s[0];;){for(var h=f,d=!0;h.v;)if((h=h.n)===f)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,a=u.length;o<a;++o)i.point((l=u[o])[0],l[1]);else n(h.x,h.n.x,1,i);h=h.n}else{if(d)for(u=h.p.z,o=u.length-1;o>=0;--o)i.point((l=u[o])[0],l[1]);else n(h.x,h.p.x,-1,i);h=h.p}u=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}};function vc(t){if(e=t.length){for(var e,r,n=0,i=t[0];++n<e;)i.n=r=t[n],r.p=i,i=r;i.n=r=t[0],r.p=i}}function gc(t){return ba(t[0])<=la?t[0]:Ea(t[0])*((ba(t[0])+la)%da-la)}var yc=function(t,e){var r=gc(e),n=e[1],i=ka(n),o=[ka(r),-ya(r),0],a=0,s=0,c=new ua.a;1===i?n=fa+1e-6:-1===i&&(n=-fa-1e-6);for(var u=0,l=t.length;u<l;++u)if(h=(f=t[u]).length)for(var f,h,d=f[h-1],p=gc(d),m=d[1]/2+ha,b=ka(m),v=ya(m),g=0;g<h;++g,p=w,b=O,v=_,d=y){var y=f[g],w=gc(y),x=y[1]/2+ha,O=ka(x),_=ya(x),S=w-p,k=S>=0?1:-1,E=k*S,M=E>la,C=b*O;if(c.add(ga(C*k*ka(E),v*_+C*ya(E))),a+=M?S+k*da:S,M^p>=r^w>=r){var j=hs(ls(d),ls(y));ms(j);var A=hs(o,j);ms(A);var T=(M^S>=0?-1:1)*Aa(A[2]);(n>T||n===T&&(j[0]||j[1]))&&(s+=M^S>=0?1:-1)}}return(a<-1e-6||a<1e-6&&c<-1e-12)^1&s},wc=r(783),xc=function(t,e,r,n){return function(i){var o,a,s,c=e(i),u=dc(),l=e(u),f=!1,h={point:d,lineStart:m,lineEnd:b,polygonStart:function(){h.point=v,h.lineStart=g,h.lineEnd=y,a=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=m,h.lineEnd=b,a=Object(wc.a)(a);var t=yc(o,n);a.length?(f||(i.polygonStart(),f=!0),bc(a,_c,t,r,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),r(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),r(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,r){t(e,r)&&i.point(e,r)}function p(t,e){c.point(t,e)}function m(){h.point=p,c.lineStart()}function b(){h.point=d,c.lineEnd()}function v(t,e){s.push([t,e]),l.point(t,e)}function g(){l.lineStart(),s=[]}function y(){v(s[0][0],s[0][1]),l.lineEnd();var t,e,r,n,c=l.clean(),h=u.result(),d=h.length;if(s.pop(),o.push(s),s=null,d)if(1&c){if((e=(r=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<e;++t)i.point((n=r[t])[0],n[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(Oc))}return h}};function Oc(t){return t.length>1}function _c(t,e){return((t=t.x)[0]<0?t[1]-fa-1e-6:fa-t[1])-((e=e.x)[0]<0?e[1]-fa-1e-6:fa-e[1])}var Sc=xc((function(){return!0}),(function(t){var e,r=NaN,n=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?la:-la,c=ba(o-r);ba(c-la)<1e-6?(t.point(r,n=(n+a)/2>0?fa:-fa),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(s,n),t.point(o,n),e=0):i!==s&&c>=la&&(ba(r-i)<1e-6&&(r-=1e-6*i),ba(o-s)<1e-6&&(o-=1e-6*s),n=function(t,e,r,n){var i,o,a=ka(t-r);return ba(a)>1e-6?va((ka(e)*(o=ya(n))*ka(r)-ka(n)*(i=ya(e))*ka(t))/(i*o*a)):(e+n)/2}(r,n,o,a),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(s,n),e=0),t.point(r=o,n=a),i=s},lineEnd:function(){t.lineEnd(),r=n=NaN},clean:function(){return 2-e}}}),(function(t,e,r,n){var i;if(null==t)i=r*fa,n.point(-la,i),n.point(0,i),n.point(la,i),n.point(la,0),n.point(la,-i),n.point(0,-i),n.point(-la,-i),n.point(-la,0),n.point(-la,i);else if(ba(t[0]-e[0])>1e-6){var o=t[0]<e[0]?la:-la;i=r*o/2,n.point(-o,i),n.point(0,i),n.point(o,i)}else n.point(e[0],e[1])}),[-la,-fa]);var kc=function(t){var e=ya(t),r=6*ma,n=e>0,i=ba(e)>1e-6;function o(t,r){return ya(t)*ya(r)>e}function a(t,r,n){var i=[1,0,0],o=hs(ls(t),ls(r)),a=fs(o,o),s=o[0],c=a-s*s;if(!c)return!n&&t;var u=e*a/c,l=-e*s/c,f=hs(i,o),h=ps(i,u);ds(h,ps(o,l));var d=f,p=fs(h,d),m=fs(d,d),b=p*p-m*(fs(h,h)-1);if(!(b<0)){var v=Ma(b),g=ps(d,(-p-v)/m);if(ds(g,h),g=us(g),!n)return g;var y,w=t[0],x=r[0],O=t[1],_=r[1];x<w&&(y=w,w=x,x=y);var S=x-w,k=ba(S-la)<1e-6;if(!k&&_<O&&(y=O,O=_,_=y),k||S<1e-6?k?O+_>0^g[1]<(ba(g[0]-w)<1e-6?O:_):O<=g[1]&&g[1]<=_:S>la^(w<=g[0]&&g[0]<=x)){var E=ps(d,(-p+v)/m);return ds(E,h),[g,us(E)]}}}function s(e,r){var i=n?t:la-t,o=0;return e<-i?o|=1:e>i&&(o|=2),r<-i?o|=4:r>i&&(o|=8),o}return xc(o,(function(t){var e,r,c,u,l;return{lineStart:function(){u=c=!1,l=1},point:function(f,h){var d,p=[f,h],m=o(f,h),b=n?m?0:s(f,h):m?s(f+(f<0?la:-la),h):0;if(!e&&(u=c=m)&&t.lineStart(),m!==c&&(!(d=a(e,p))||pc(e,d)||pc(p,d))&&(p[2]=1),m!==c)l=0,m?(t.lineStart(),d=a(p,e),t.point(d[0],d[1])):(d=a(e,p),t.point(d[0],d[1],2),t.lineEnd()),e=d;else if(i&&e&&n^m){var v;b&r||!(v=a(p,e,!0))||(l=0,n?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1],3)))}!m||e&&pc(e,p)||t.point(p[0],p[1]),e=p,c=m,r=b},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return l|(u&&c)<<1}}}),(function(e,n,i,o){lc(o,t,r,i,e,n)}),n?[0,-t]:[-la,t-la])};function Ec(t,e,r,n){function i(i,o){return t<=i&&i<=r&&e<=o&&o<=n}function o(i,o,s,u){var l=0,f=0;if(null==i||(l=a(i,s))!==(f=a(o,s))||c(i,o)<0^s>0)do{u.point(0===l||3===l?t:r,l>1?n:e)}while((l=(l+s+4)%4)!==f);else u.point(o[0],o[1])}function a(n,i){return ba(n[0]-t)<1e-6?i>0?0:3:ba(n[0]-r)<1e-6?i>0?2:1:ba(n[1]-e)<1e-6?i>0?1:0:i>0?3:2}function s(t,e){return c(t.x,e.x)}function c(t,e){var r=a(t,1),n=a(e,1);return r!==n?r-n:0===r?e[1]-t[1]:1===r?t[0]-e[0]:2===r?t[1]-e[1]:e[0]-t[0]}return function(a){var c,u,l,f,h,d,p,m,b,v,g,y=a,w=dc(),x={point:O,lineStart:function(){x.point=_,u&&u.push(l=[]);v=!0,b=!1,p=m=NaN},lineEnd:function(){c&&(_(f,h),d&&b&&w.rejoin(),c.push(w.result()));x.point=O,b&&y.lineEnd()},polygonStart:function(){y=w,c=[],u=[],g=!0},polygonEnd:function(){var e=function(){for(var e=0,r=0,i=u.length;r<i;++r)for(var o,a,s=u[r],c=1,l=s.length,f=s[0],h=f[0],d=f[1];c<l;++c)o=h,a=d,f=s[c],h=f[0],d=f[1],a<=n?d>n&&(h-o)*(n-a)>(d-a)*(t-o)&&++e:d<=n&&(h-o)*(n-a)<(d-a)*(t-o)&&--e;return e}(),r=g&&e,i=(c=Object(wc.a)(c)).length;(r||i)&&(a.polygonStart(),r&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&bc(c,s,e,o,a),a.polygonEnd());y=a,c=u=l=null}};function O(t,e){i(t,e)&&y.point(t,e)}function _(o,a){var s=i(o,a);if(u&&l.push([o,a]),v)f=o,h=a,d=s,v=!1,s&&(y.lineStart(),y.point(o,a));else if(s&&b)y.point(o,a);else{var c=[p=Math.max(-1e9,Math.min(1e9,p)),m=Math.max(-1e9,Math.min(1e9,m))],w=[o=Math.max(-1e9,Math.min(1e9,o)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,e,r,n,i,o){var a,s=t[0],c=t[1],u=0,l=1,f=e[0]-s,h=e[1]-c;if(a=r-s,f||!(a>0)){if(a/=f,f<0){if(a<u)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>u&&(u=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>u&&(u=a)}else if(f>0){if(a<u)return;a<l&&(l=a)}if(a=n-c,h||!(a>0)){if(a/=h,h<0){if(a<u)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>u&&(u=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>u&&(u=a)}else if(h>0){if(a<u)return;a<l&&(l=a)}return u>0&&(t[0]=s+u*f,t[1]=c+u*h),l<1&&(e[0]=s+l*f,e[1]=c+l*h),!0}}}}}(c,w,t,e,r,n)?s&&(y.lineStart(),y.point(o,a),g=!1):(b||(y.lineStart(),y.point(c[0],c[1])),y.point(w[0],w[1]),s||y.lineEnd(),g=!1)}p=o,m=a,b=s}return x}}var Mc,Cc,jc,Ac,Tc=function(){var t,e,r,n=0,i=0,o=960,a=500;return r={stream:function(r){return t&&e===r?t:t=Ec(n,i,o,a)(e=r)},extent:function(s){return arguments.length?(n=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,r):[[n,i],[o,a]]}}},Pc={sphere:Pa,point:Pa,lineStart:function(){Pc.point=Rc,Pc.lineEnd=Dc},lineEnd:Pa,polygonStart:Pa,polygonEnd:Pa};function Dc(){Pc.point=Pc.lineEnd=Pa}function Rc(t,e){Cc=t*=ma,jc=ka(e*=ma),Ac=ya(e),Pc.point=Lc}function Lc(t,e){t*=ma;var r=ka(e*=ma),n=ya(e),i=ba(t-Cc),o=ya(i),a=n*ka(i),s=Ac*r-jc*n*o,c=jc*r+Ac*n*o;Mc.add(ga(Ma(a*a+s*s),c)),Cc=t,jc=r,Ac=n}var Ic=function(t){return Mc=new ua.a,Wa(t,Pc),+Mc},Nc=[null,null],Fc={type:"LineString",coordinates:Nc},Bc=function(t,e){return Nc[0]=t,Nc[1]=e,Ic(Fc)},zc={Feature:function(t,e){return Uc(t.geometry,e)},FeatureCollection:function(t,e){for(var r=t.features,n=-1,i=r.length;++n<i;)if(Uc(r[n].geometry,e))return!0;return!1}},Hc={Sphere:function(){return!0},Point:function(t,e){return Wc(t.coordinates,e)},MultiPoint:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(Wc(r[n],e))return!0;return!1},LineString:function(t,e){return qc(t.coordinates,e)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(qc(r[n],e))return!0;return!1},Polygon:function(t,e){return Vc(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(Vc(r[n],e))return!0;return!1},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,i=r.length;++n<i;)if(Uc(r[n],e))return!0;return!1}};function Uc(t,e){return!(!t||!Hc.hasOwnProperty(t.type))&&Hc[t.type](t,e)}function Wc(t,e){return 0===Bc(t,e)}function qc(t,e){for(var r,n,i,o=0,a=t.length;o<a;o++){if(0===(n=Bc(t[o],e)))return!0;if(o>0&&(i=Bc(t[o],t[o-1]))>0&&r<=i&&n<=i&&(r+n-i)*(1-Math.pow((r-n)/i,2))<1e-12*i)return!0;r=n}return!1}function Vc(t,e){return!!yc(t.map(Gc),Yc(e))}function Gc(t){return(t=t.map(Yc)).pop(),t}function Yc(t){return[t[0]*ma,t[1]*ma]}var Xc=function(t,e){return(t&&zc.hasOwnProperty(t.type)?zc[t.type]:Uc)(t,e)};function $c(t,e,r){var n=Object(On.a)(t,e-1e-6,r).concat(e);return function(t){return n.map((function(e){return[t,e]}))}}function Kc(t,e,r){var n=Object(On.a)(t,e-1e-6,r).concat(e);return function(t){return n.map((function(e){return[e,t]}))}}function Zc(){var t,e,r,n,i,o,a,s,c,u,l,f,h=10,d=h,p=90,m=360,b=2.5;function v(){return{type:"MultiLineString",coordinates:g()}}function g(){return Object(On.a)(wa(n/p)*p,r,p).map(l).concat(Object(On.a)(wa(s/m)*m,a,m).map(f)).concat(Object(On.a)(wa(e/h)*h,t,h).filter((function(t){return ba(t%p)>1e-6})).map(c)).concat(Object(On.a)(wa(o/d)*d,i,d).filter((function(t){return ba(t%m)>1e-6})).map(u))}return v.lines=function(){return g().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[l(n).concat(f(a).slice(1),l(r).reverse().slice(1),f(s).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(n=+t[0][0],r=+t[1][0],s=+t[0][1],a=+t[1][1],n>r&&(t=n,n=r,r=t),s>a&&(t=s,s=a,a=t),v.precision(b)):[[n,s],[r,a]]},v.extentMinor=function(r){return arguments.length?(e=+r[0][0],t=+r[1][0],o=+r[0][1],i=+r[1][1],e>t&&(r=e,e=t,t=r),o>i&&(r=o,o=i,i=r),v.precision(b)):[[e,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],m=+t[1],v):[p,m]},v.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],v):[h,d]},v.precision=function(h){return arguments.length?(b=+h,c=$c(o,i,90),u=Kc(e,t,b),l=$c(s,a,90),f=Kc(n,r,b),v):b},v.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Jc(){return Zc()()}var Qc,tu,eu,ru,nu=function(t,e){var r=t[0]*ma,n=t[1]*ma,i=e[0]*ma,o=e[1]*ma,a=ya(n),s=ka(n),c=ya(o),u=ka(o),l=a*ya(r),f=a*ka(r),h=c*ya(i),d=c*ka(i),p=2*Aa(Ma(Ta(o-n)+a*c*Ta(i-r))),m=ka(p),b=p?function(t){var e=ka(t*=p)/m,r=ka(p-t)/m,n=r*l+e*h,i=r*f+e*d,o=r*s+e*u;return[ga(i,n)*pa,ga(o,Ma(n*n+i*i))*pa]}:function(){return[r*pa,n*pa]};return b.distance=p,b},iu=function(t){return t},ou=new ua.a,au=new ua.a,su={point:Pa,lineStart:Pa,lineEnd:Pa,polygonStart:function(){su.lineStart=cu,su.lineEnd=fu},polygonEnd:function(){su.lineStart=su.lineEnd=su.point=Pa,ou.add(ba(au)),au=new ua.a},result:function(){var t=ou/2;return ou=new ua.a,t}};function cu(){su.point=uu}function uu(t,e){su.point=lu,Qc=eu=t,tu=ru=e}function lu(t,e){au.add(ru*t-eu*e),eu=t,ru=e}function fu(){lu(Qc,tu)}var hu=su,du=1/0,pu=du,mu=-du,bu=mu;var vu,gu,yu,wu,xu={point:function(t,e){t<du&&(du=t);t>mu&&(mu=t);e<pu&&(pu=e);e>bu&&(bu=e)},lineStart:Pa,lineEnd:Pa,polygonStart:Pa,polygonEnd:Pa,result:function(){var t=[[du,pu],[mu,bu]];return mu=bu=-(pu=du=1/0),t}},Ou=0,_u=0,Su=0,ku=0,Eu=0,Mu=0,Cu=0,ju=0,Au=0,Tu={point:Pu,lineStart:Du,lineEnd:Iu,polygonStart:function(){Tu.lineStart=Nu,Tu.lineEnd=Fu},polygonEnd:function(){Tu.point=Pu,Tu.lineStart=Du,Tu.lineEnd=Iu},result:function(){var t=Au?[Cu/Au,ju/Au]:Mu?[ku/Mu,Eu/Mu]:Su?[Ou/Su,_u/Su]:[NaN,NaN];return Ou=_u=Su=ku=Eu=Mu=Cu=ju=Au=0,t}};function Pu(t,e){Ou+=t,_u+=e,++Su}function Du(){Tu.point=Ru}function Ru(t,e){Tu.point=Lu,Pu(yu=t,wu=e)}function Lu(t,e){var r=t-yu,n=e-wu,i=Ma(r*r+n*n);ku+=i*(yu+t)/2,Eu+=i*(wu+e)/2,Mu+=i,Pu(yu=t,wu=e)}function Iu(){Tu.point=Pu}function Nu(){Tu.point=Bu}function Fu(){zu(vu,gu)}function Bu(t,e){Tu.point=zu,Pu(vu=yu=t,gu=wu=e)}function zu(t,e){var r=t-yu,n=e-wu,i=Ma(r*r+n*n);ku+=i*(yu+t)/2,Eu+=i*(wu+e)/2,Mu+=i,Cu+=(i=wu*t-yu*e)*(yu+t),ju+=i*(wu+e),Au+=3*i,Pu(yu=t,wu=e)}var Hu=Tu;function Uu(t){this._context=t}Uu.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,da)}},result:Pa};var Wu,qu,Vu,Gu,Yu,Xu=new ua.a,$u={point:Pa,lineStart:function(){$u.point=Ku},lineEnd:function(){Wu&&Zu(qu,Vu),$u.point=Pa},polygonStart:function(){Wu=!0},polygonEnd:function(){Wu=null},result:function(){var t=+Xu;return Xu=new ua.a,t}};function Ku(t,e){$u.point=Zu,qu=Gu=t,Vu=Yu=e}function Zu(t,e){Gu-=t,Yu-=e,Xu.add(Ma(Gu*Gu+Yu*Yu)),Gu=t,Yu=e}var Ju=$u;function Qu(){this._string=[]}function tl(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Qu.prototype={_radius:4.5,_circle:tl(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=tl(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var el=function(t,e){var r,n,i=4.5;function o(t){return t&&("function"===typeof i&&n.pointRadius(+i.apply(this,arguments)),Wa(t,r(n))),n.result()}return o.area=function(t){return Wa(t,r(hu)),hu.result()},o.measure=function(t){return Wa(t,r(Ju)),Ju.result()},o.bounds=function(t){return Wa(t,r(xu)),xu.result()},o.centroid=function(t){return Wa(t,r(Hu)),Hu.result()},o.projection=function(e){return arguments.length?(r=null==e?(t=null,iu):(t=e).stream,o):t},o.context=function(t){return arguments.length?(n=null==t?(e=null,new Qu):new Uu(e=t),"function"!==typeof i&&n.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"===typeof t?t:(n.pointRadius(+t),+t),o):i},o.projection(t).context(e)},rl=function(t){return{stream:nl(t)}};function nl(t){return function(e){var r=new il;for(var n in t)r[n]=t[n];return r.stream=e,r}}function il(){}function ol(t,e,r){var n=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=n&&t.clipExtent(null),Wa(r,t.stream(xu)),e(xu.result()),null!=n&&t.clipExtent(n),t}function al(t,e,r){return ol(t,(function(r){var n=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(n/(r[1][0]-r[0][0]),i/(r[1][1]-r[0][1])),a=+e[0][0]+(n-o*(r[1][0]+r[0][0]))/2,s=+e[0][1]+(i-o*(r[1][1]+r[0][1]))/2;t.scale(150*o).translate([a,s])}),r)}function sl(t,e,r){return al(t,[[0,0],e],r)}function cl(t,e,r){return ol(t,(function(r){var n=+e,i=n/(r[1][0]-r[0][0]),o=(n-i*(r[1][0]+r[0][0]))/2,a=-i*r[0][1];t.scale(150*i).translate([o,a])}),r)}function ul(t,e,r){return ol(t,(function(r){var n=+e,i=n/(r[1][1]-r[0][1]),o=-i*r[0][0],a=(n-i*(r[1][1]+r[0][1]))/2;t.scale(150*i).translate([o,a])}),r)}il.prototype={constructor:il,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var ll=ya(30*ma),fl=function(t,e){return+e?function(t,e){function r(n,i,o,a,s,c,u,l,f,h,d,p,m,b){var v=u-n,g=l-i,y=v*v+g*g;if(y>4*e&&m--){var w=a+h,x=s+d,O=c+p,_=Ma(w*w+x*x+O*O),S=Aa(O/=_),k=ba(ba(O)-1)<1e-6||ba(o-f)<1e-6?(o+f)/2:ga(x,w),E=t(k,S),M=E[0],C=E[1],j=M-n,A=C-i,T=g*j-v*A;(T*T/y>e||ba((v*j+g*A)/y-.5)>.3||a*h+s*d+c*p<ll)&&(r(n,i,o,a,s,c,M,C,k,w/=_,x/=_,O,m,b),b.point(M,C),r(M,C,k,w,x,O,u,l,f,h,d,p,m,b))}}return function(e){var n,i,o,a,s,c,u,l,f,h,d,p,m={point:b,lineStart:v,lineEnd:y,polygonStart:function(){e.polygonStart(),m.lineStart=w},polygonEnd:function(){e.polygonEnd(),m.lineStart=v}};function b(r,n){r=t(r,n),e.point(r[0],r[1])}function v(){l=NaN,m.point=g,e.lineStart()}function g(n,i){var o=ls([n,i]),a=t(n,i);r(l,f,u,h,d,p,l=a[0],f=a[1],u=n,h=o[0],d=o[1],p=o[2],16,e),e.point(l,f)}function y(){m.point=b,e.lineEnd()}function w(){v(),m.point=x,m.lineEnd=O}function x(t,e){g(n=t,e),i=l,o=f,a=h,s=d,c=p,m.point=g}function O(){r(l,f,u,h,d,p,i,o,n,a,s,c,16,e),m.lineEnd=y,y()}return m}}(t,e):function(t){return nl({point:function(e,r){e=t(e,r),this.stream.point(e[0],e[1])}})}(t)};var hl=nl({point:function(t,e){this.stream.point(t*ma,e*ma)}});function dl(t,e,r,n,i,o){if(!o)return function(t,e,r,n,i){function o(o,a){return[e+t*(o*=n),r-t*(a*=i)]}return o.invert=function(o,a){return[(o-e)/t*n,(r-a)/t*i]},o}(t,e,r,n,i);var a=ya(o),s=ka(o),c=a*t,u=s*t,l=a/t,f=s/t,h=(s*r-a*e)/t,d=(s*e+a*r)/t;function p(t,o){return[c*(t*=n)-u*(o*=i)+e,r-u*t-c*o]}return p.invert=function(t,e){return[n*(l*t-f*e+h),i*(d-f*t-l*e)]},p}function pl(t){return ml((function(){return t}))()}function ml(t){var e,r,n,i,o,a,s,c,u,l,f=150,h=480,d=250,p=0,m=0,b=0,v=0,g=0,y=0,w=1,x=1,O=null,_=Sc,S=null,k=iu,E=.5;function M(t){return c(t[0]*ma,t[1]*ma)}function C(t){return(t=c.invert(t[0],t[1]))&&[t[0]*pa,t[1]*pa]}function j(){var t=dl(f,0,0,w,x,y).apply(null,e(p,m)),n=dl(f,h-t[0],d-t[1],w,x,y);return r=oc(b,v,g),s=nc(e,n),c=nc(r,s),a=fl(s,E),A()}function A(){return u=l=null,M}return M.stream=function(t){return u&&l===t?u:u=hl(function(t){return nl({point:function(e,r){var n=t(e,r);return this.stream.point(n[0],n[1])}})}(r)(_(a(k(l=t)))))},M.preclip=function(t){return arguments.length?(_=t,O=void 0,A()):_},M.postclip=function(t){return arguments.length?(k=t,S=n=i=o=null,A()):k},M.clipAngle=function(t){return arguments.length?(_=+t?kc(O=t*ma):(O=null,Sc),A()):O*pa},M.clipExtent=function(t){return arguments.length?(k=null==t?(S=n=i=o=null,iu):Ec(S=+t[0][0],n=+t[0][1],i=+t[1][0],o=+t[1][1]),A()):null==S?null:[[S,n],[i,o]]},M.scale=function(t){return arguments.length?(f=+t,j()):f},M.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],j()):[h,d]},M.center=function(t){return arguments.length?(p=t[0]%360*ma,m=t[1]%360*ma,j()):[p*pa,m*pa]},M.rotate=function(t){return arguments.length?(b=t[0]%360*ma,v=t[1]%360*ma,g=t.length>2?t[2]%360*ma:0,j()):[b*pa,v*pa,g*pa]},M.angle=function(t){return arguments.length?(y=t%360*ma,j()):y*pa},M.reflectX=function(t){return arguments.length?(w=t?-1:1,j()):w<0},M.reflectY=function(t){return arguments.length?(x=t?-1:1,j()):x<0},M.precision=function(t){return arguments.length?(a=fl(s,E=t*t),A()):Ma(E)},M.fitExtent=function(t,e){return al(M,t,e)},M.fitSize=function(t,e){return sl(M,t,e)},M.fitWidth=function(t,e){return cl(M,t,e)},M.fitHeight=function(t,e){return ul(M,t,e)},function(){return e=t.apply(this,arguments),M.invert=e.invert&&C,j()}}function bl(t){var e=0,r=la/3,n=ml(t),i=n(e,r);return i.parallels=function(t){return arguments.length?n(e=t[0]*ma,r=t[1]*ma):[e*pa,r*pa]},i}function vl(t,e){var r=ka(t),n=(r+ka(e))/2;if(ba(n)<1e-6)return function(t){var e=ya(t);function r(t,r){return[t*e,ka(r)/e]}return r.invert=function(t,r){return[t/e,Aa(r*e)]},r}(t);var i=1+r*(2*n-r),o=Ma(i)/n;function a(t,e){var r=Ma(i-2*n*ka(e))/n;return[r*ka(t*=n),o-r*ya(t)]}return a.invert=function(t,e){var r=o-e,a=ga(t,ba(r))*Ea(r);return r*n<0&&(a-=la*Ea(t)*Ea(r)),[a/n,Aa((i-(t*t+r*r)*n*n)/(2*n))]},a}var gl=function(){return bl(vl).scale(155.424).center([0,33.6442])},yl=function(){return gl().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var wl=function(){var t,e,r,n,i,o,a=yl(),s=gl().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=gl().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(t,e){o=[t,e]}};function l(t){var e=t[0],a=t[1];return o=null,r.point(e,a),o||(n.point(e,a),o)||(i.point(e,a),o)}function f(){return t=e=null,l}return l.invert=function(t){var e=a.scale(),r=a.translate(),n=(t[0]-r[0])/e,i=(t[1]-r[1])/e;return(i>=.12&&i<.234&&n>=-.425&&n<-.214?s:i>=.166&&i<.234&&n>=-.214&&n<-.115?c:a).invert(t)},l.stream=function(r){return t&&e===r?t:t=function(t){var e=t.length;return{point:function(r,n){for(var i=-1;++i<e;)t[i].point(r,n)},sphere:function(){for(var r=-1;++r<e;)t[r].sphere()},lineStart:function(){for(var r=-1;++r<e;)t[r].lineStart()},lineEnd:function(){for(var r=-1;++r<e;)t[r].lineEnd()},polygonStart:function(){for(var r=-1;++r<e;)t[r].polygonStart()},polygonEnd:function(){for(var r=-1;++r<e;)t[r].polygonEnd()}}}([a.stream(e=r),s.stream(r),c.stream(r)])},l.precision=function(t){return arguments.length?(a.precision(t),s.precision(t),c.precision(t),f()):a.precision()},l.scale=function(t){return arguments.length?(a.scale(t),s.scale(.35*t),c.scale(t),l.translate(a.translate())):a.scale()},l.translate=function(t){if(!arguments.length)return a.translate();var e=a.scale(),o=+t[0],l=+t[1];return r=a.translate(t).clipExtent([[o-.455*e,l-.238*e],[o+.455*e,l+.238*e]]).stream(u),n=s.translate([o-.307*e,l+.201*e]).clipExtent([[o-.425*e+1e-6,l+.12*e+1e-6],[o-.214*e-1e-6,l+.234*e-1e-6]]).stream(u),i=c.translate([o-.205*e,l+.212*e]).clipExtent([[o-.214*e+1e-6,l+.166*e+1e-6],[o-.115*e-1e-6,l+.234*e-1e-6]]).stream(u),f()},l.fitExtent=function(t,e){return al(l,t,e)},l.fitSize=function(t,e){return sl(l,t,e)},l.fitWidth=function(t,e){return cl(l,t,e)},l.fitHeight=function(t,e){return ul(l,t,e)},l.scale(1070)};function xl(t){return function(e,r){var n=ya(e),i=ya(r),o=t(n*i);return o===1/0?[2,0]:[o*i*ka(e),o*ka(r)]}}function Ol(t){return function(e,r){var n=Ma(e*e+r*r),i=t(n),o=ka(i),a=ya(i);return[ga(e*o,n*a),Aa(n&&r*o/n)]}}var _l=xl((function(t){return Ma(2/(1+t))}));_l.invert=Ol((function(t){return 2*Aa(t/2)}));var Sl=function(){return pl(_l).scale(124.75).clipAngle(179.999)},kl=xl((function(t){return(t=ja(t))&&t/ka(t)}));kl.invert=Ol((function(t){return t}));var El=function(){return pl(kl).scale(79.4188).clipAngle(179.999)};function Ml(t,e){return[t,_a(Ca((fa+e)/2))]}Ml.invert=function(t,e){return[t,2*va(xa(e))-fa]};var Cl=function(){return jl(Ml).scale(961/da)};function jl(t){var e,r,n,i=pl(t),o=i.center,a=i.scale,s=i.translate,c=i.clipExtent,u=null;function l(){var o=la*a(),s=i(uc(i.rotate()).invert([0,0]));return c(null==u?[[s[0]-o,s[1]-o],[s[0]+o,s[1]+o]]:t===Ml?[[Math.max(s[0]-o,u),e],[Math.min(s[0]+o,r),n]]:[[u,Math.max(s[1]-o,e)],[r,Math.min(s[1]+o,n)]])}return i.scale=function(t){return arguments.length?(a(t),l()):a()},i.translate=function(t){return arguments.length?(s(t),l()):s()},i.center=function(t){return arguments.length?(o(t),l()):o()},i.clipExtent=function(t){return arguments.length?(null==t?u=e=r=n=null:(u=+t[0][0],e=+t[0][1],r=+t[1][0],n=+t[1][1]),l()):null==u?null:[[u,e],[r,n]]},l()}function Al(t){return Ca((fa+t)/2)}function Tl(t,e){var r=ya(t),n=t===e?ka(t):_a(r/ya(e))/_a(Al(e)/Al(t)),i=r*Sa(Al(t),n)/n;if(!n)return Ml;function o(t,e){i>0?e<1e-6-fa&&(e=1e-6-fa):e>fa-1e-6&&(e=fa-1e-6);var r=i/Sa(Al(e),n);return[r*ka(n*t),i-r*ya(n*t)]}return o.invert=function(t,e){var r=i-e,o=Ea(n)*Ma(t*t+r*r),a=ga(t,ba(r))*Ea(r);return r*n<0&&(a-=la*Ea(t)*Ea(r)),[a/n,2*va(Sa(i/o,1/n))-fa]},o}var Pl=function(){return bl(Tl).scale(109.5).parallels([30,30])};function Dl(t,e){return[t,e]}Dl.invert=Dl;var Rl=function(){return pl(Dl).scale(152.63)};function Ll(t,e){var r=ya(t),n=t===e?ka(t):(r-ya(e))/(e-t),i=r/n+t;if(ba(n)<1e-6)return Dl;function o(t,e){var r=i-e,o=n*t;return[r*ka(o),i-r*ya(o)]}return o.invert=function(t,e){var r=i-e,o=ga(t,ba(r))*Ea(r);return r*n<0&&(o-=la*Ea(t)*Ea(r)),[o/n,i-Ea(n)*Ma(t*t+r*r)]},o}var Il=function(){return bl(Ll).scale(131.154).center([0,13.9389])},Nl=1.340264,Fl=-.081106,Bl=893e-6,zl=.003796,Hl=Ma(3)/2;function Ul(t,e){var r=Aa(Hl*ka(e)),n=r*r,i=n*n*n;return[t*ya(r)/(Hl*(Nl+3*Fl*n+i*(7*Bl+9*zl*n))),r*(Nl+Fl*n+i*(Bl+zl*n))]}Ul.invert=function(t,e){for(var r,n=e,i=n*n,o=i*i*i,a=0;a<12&&(o=(i=(n-=r=(n*(Nl+Fl*i+o*(Bl+zl*i))-e)/(Nl+3*Fl*i+o*(7*Bl+9*zl*i)))*n)*i*i,!(ba(r)<1e-12));++a);return[Hl*t*(Nl+3*Fl*i+o*(7*Bl+9*zl*i))/ya(n),Aa(ka(n)/Hl)]};var Wl=function(){return pl(Ul).scale(177.158)};function ql(t,e){var r=ya(e),n=ya(t)*r;return[r*ka(t)/n,ka(e)/n]}ql.invert=Ol(va);var Vl=function(){return pl(ql).scale(144.049).clipAngle(60)},Gl=function(){var t,e,r,n,i,o,a,s=1,c=0,u=0,l=1,f=1,h=0,d=null,p=1,m=1,b=nl({point:function(t,e){var r=y([t,e]);this.stream.point(r[0],r[1])}}),v=iu;function g(){return p=s*l,m=s*f,o=a=null,y}function y(r){var n=r[0]*p,i=r[1]*m;if(h){var o=i*t-n*e;n=n*t+i*e,i=o}return[n+c,i+u]}return y.invert=function(r){var n=r[0]-c,i=r[1]-u;if(h){var o=i*t+n*e;n=n*t-i*e,i=o}return[n/p,i/m]},y.stream=function(t){return o&&a===t?o:o=b(v(a=t))},y.postclip=function(t){return arguments.length?(v=t,d=r=n=i=null,g()):v},y.clipExtent=function(t){return arguments.length?(v=null==t?(d=r=n=i=null,iu):Ec(d=+t[0][0],r=+t[0][1],n=+t[1][0],i=+t[1][1]),g()):null==d?null:[[d,r],[n,i]]},y.scale=function(t){return arguments.length?(s=+t,g()):s},y.translate=function(t){return arguments.length?(c=+t[0],u=+t[1],g()):[c,u]},y.angle=function(r){return arguments.length?(e=ka(h=r%360*ma),t=ya(h),g()):h*pa},y.reflectX=function(t){return arguments.length?(l=t?-1:1,g()):l<0},y.reflectY=function(t){return arguments.length?(f=t?-1:1,g()):f<0},y.fitExtent=function(t,e){return al(y,t,e)},y.fitSize=function(t,e){return sl(y,t,e)},y.fitWidth=function(t,e){return cl(y,t,e)},y.fitHeight=function(t,e){return ul(y,t,e)},y};function Yl(t,e){var r=e*e,n=r*r;return[t*(.8707-.131979*r+n*(n*(.003971*r-.001529*n)-.013791)),e*(1.007226+r*(.015085+n*(.028874*r-.044475-.005916*n)))]}Yl.invert=function(t,e){var r,n=e,i=25;do{var o=n*n,a=o*o;n-=r=(n*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(ba(r)>1e-6&&--i>0);return[t/(.8707+(o=n*n)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),n]};var Xl=function(){return pl(Yl).scale(175.295)};function $l(t,e){return[ya(e)*ka(t),ka(e)]}$l.invert=Ol(Aa);var Kl=function(){return pl($l).scale(249.5).clipAngle(90.000001)};function Zl(t,e){var r=ya(e),n=1+ya(t)*r;return[r*ka(t)/n,ka(e)/n]}Zl.invert=Ol((function(t){return 2*va(t)}));var Jl=function(){return pl(Zl).scale(250).clipAngle(142)};function Ql(t,e){return[_a(Ca((fa+e)/2)),-t]}Ql.invert=function(t,e){return[-e,2*va(xa(t))-fa]};var tf=function(){var t=jl(Ql),e=t.center,r=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?r([t[0],t[1],t.length>2?t[2]+90:90]):[(t=r())[0],t[1],t[2]-90]},r([0,0,90]).scale(159.155)};function ef(t,e){return t.parent===e.parent?1:2}function rf(t,e){return t+e.x}function nf(t,e){return Math.max(t,e.y)}var of=function(){var t=ef,e=1,r=1,n=!1;function i(i){var o,a=0;i.eachAfter((function(e){var r=e.children;r?(e.x=function(t){return t.reduce(rf,0)/t.length}(r),e.y=function(t){return 1+t.reduce(nf,0)}(r)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)}));var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),u=s.x-t(s,c)/2,l=c.x+t(c,s)/2;return i.eachAfter(n?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*r}:function(t){t.x=(t.x-u)/(l-u)*e,t.y=(1-(i.y?t.y/i.y:1))*r})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(n=!1,e=+t[0],r=+t[1],i):n?null:[e,r]},i.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],r=+t[1],i):n?[e,r]:null},i};function af(t){var e=0,r=t.children,n=r&&r.length;if(n)for(;--n>=0;)e+=r[n].value;else e=1;t.value=e}var sf=Nt.a.mark(cf);function cf(){var t,e,r,n,i,o;return Nt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:r=[t=this];case 1:e=r.reverse(),r=[];case 2:if(!(t=e.pop())){a.next=8;break}return a.next=5,t;case 5:if(n=t.children)for(i=0,o=n.length;i<o;++i)r.push(n[i]);a.next=2;break;case 8:if(r.length){a.next=1;break}case 9:case"end":return a.stop()}}),sf,this)}function uf(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=ff)):void 0===e&&(e=lf);for(var r,n,i,o,a,s=new pf(t),c=[s];r=c.pop();)if((i=e(r.data))&&(a=(i=Array.from(i)).length))for(r.children=i,o=a-1;o>=0;--o)c.push(n=i[o]=new pf(i[o])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(df)}function lf(t){return t.children}function ff(t){return Array.isArray(t)?t[1]:null}function hf(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function df(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function pf(t){this.data=t,this.depth=this.height=0,this.parent=null}pf.prototype=uf.prototype=Object(k.a)({constructor:pf,count:function(){return this.eachAfter(af)},each:function(t,e){var r,n=-1,i=Object(v.a)(this);try{for(i.s();!(r=i.n()).done;){var o=r.value;t.call(e,o,++n,this)}}catch(a){i.e(a)}finally{i.f()}return this},eachAfter:function(t,e){for(var r,n,i,o=this,a=[o],s=[],c=-1;o=a.pop();)if(s.push(o),r=o.children)for(n=0,i=r.length;n<i;++n)a.push(r[n]);for(;o=s.pop();)t.call(e,o,++c,this);return this},eachBefore:function(t,e){for(var r,n,i=this,o=[i],a=-1;i=o.pop();)if(t.call(e,i,++a,this),r=i.children)for(n=r.length-1;n>=0;--n)o.push(r[n]);return this},find:function(t,e){var r,n=-1,i=Object(v.a)(this);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(t.call(e,o,++n,this))return o}}catch(a){i.e(a)}finally{i.f()}},sum:function(t){return this.eachAfter((function(e){for(var r=+t(e.data)||0,n=e.children,i=n&&n.length;--i>=0;)r+=n[i].value;e.value=r}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),n=e.ancestors(),i=null;t=r.pop(),e=n.pop();for(;t===e;)i=t,t=r.pop(),e=n.pop();return i}(e,t),n=[e];e!==r;)e=e.parent,n.push(e);for(var i=n.length;t!==r;)n.splice(i,0,t),t=t.parent;return n},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(r){r!==t&&e.push({source:r.parent,target:r})})),e},copy:function(){return uf(this).eachBefore(hf)}},Symbol.iterator,cf);var mf=function(t){for(var e,r,n=0,i=(t=function(t){for(var e,r,n=t.length;n;)r=Math.random()*n--|0,e=t[n],t[n]=t[r],t[r]=e;return t}(Array.from(t))).length,o=[];n<i;)e=t[n],r&&gf(r,e)?++n:(r=wf(o=bf(o,e)),n=0);return r};function bf(t,e){var r,n;if(yf(e,t))return[e];for(r=0;r<t.length;++r)if(vf(e,t[r])&&yf(xf(t[r],e),t))return[t[r],e];for(r=0;r<t.length-1;++r)for(n=r+1;n<t.length;++n)if(vf(xf(t[r],t[n]),e)&&vf(xf(t[r],e),t[n])&&vf(xf(t[n],e),t[r])&&yf(Of(t[r],t[n],e),t))return[t[r],t[n],e];throw new Error}function vf(t,e){var r=t.r-e.r,n=e.x-t.x,i=e.y-t.y;return r<0||r*r<n*n+i*i}function gf(t,e){var r=t.r-e.r+1e-9*Math.max(t.r,e.r,1),n=e.x-t.x,i=e.y-t.y;return r>0&&r*r>n*n+i*i}function yf(t,e){for(var r=0;r<e.length;++r)if(!gf(t,e[r]))return!1;return!0}function wf(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return xf(t[0],t[1]);case 3:return Of(t[0],t[1],t[2])}var e}function xf(t,e){var r=t.x,n=t.y,i=t.r,o=e.x,a=e.y,s=e.r,c=o-r,u=a-n,l=s-i,f=Math.sqrt(c*c+u*u);return{x:(r+o+c/f*l)/2,y:(n+a+u/f*l)/2,r:(f+i+s)/2}}function Of(t,e,r){var n=t.x,i=t.y,o=t.r,a=e.x,s=e.y,c=e.r,u=r.x,l=r.y,f=r.r,h=n-a,d=n-u,p=i-s,m=i-l,b=c-o,v=f-o,g=n*n+i*i-o*o,y=g-a*a-s*s+c*c,w=g-u*u-l*l+f*f,x=d*p-h*m,O=(p*w-m*y)/(2*x)-n,_=(m*b-p*v)/x,S=(d*y-h*w)/(2*x)-i,k=(h*v-d*b)/x,E=_*_+k*k-1,M=2*(o+O*_+S*k),C=O*O+S*S-o*o,j=-(E?(M+Math.sqrt(M*M-4*E*C))/(2*E):C/M);return{x:n+O+_*j,y:i+S+k*j,r:j}}function _f(t,e,r){var n,i,o,a,s=t.x-e.x,c=t.y-e.y,u=s*s+c*c;u?(i=e.r+r.r,i*=i,a=t.r+r.r,i>(a*=a)?(n=(u+a-i)/(2*u),o=Math.sqrt(Math.max(0,a/u-n*n)),r.x=t.x-n*s-o*c,r.y=t.y-n*c+o*s):(n=(u+i-a)/(2*u),o=Math.sqrt(Math.max(0,i/u-n*n)),r.x=e.x+n*s-o*c,r.y=e.y+n*c+o*s)):(r.x=e.x+r.r,r.y=e.y)}function Sf(t,e){var r=t.r+e.r-1e-6,n=e.x-t.x,i=e.y-t.y;return r>0&&r*r>n*n+i*i}function kf(t){var e=t._,r=t.next._,n=e.r+r.r,i=(e.x*r.r+r.x*e.r)/n,o=(e.y*r.r+r.y*e.r)/n;return i*i+o*o}function Ef(t){this._=t,this.next=null,this.previous=null}function Mf(t){if(!(o=(e=t,t="object"===typeof e&&"length"in e?e:Array.from(e)).length))return 0;var e,r,n,i,o,a,s,c,u,l,f,h;if((r=t[0]).x=0,r.y=0,!(o>1))return r.r;if(n=t[1],r.x=-n.r,n.x=r.r,n.y=0,!(o>2))return r.r+n.r;_f(n,r,i=t[2]),r=new Ef(r),n=new Ef(n),i=new Ef(i),r.next=i.previous=n,n.next=r.previous=i,i.next=n.previous=r;t:for(c=3;c<o;++c){_f(r._,n._,i=t[c]),i=new Ef(i),u=n.next,l=r.previous,f=n._.r,h=r._.r;do{if(f<=h){if(Sf(u._,i._)){n=u,r.next=n,n.previous=r,--c;continue t}f+=u._.r,u=u.next}else{if(Sf(l._,i._)){(r=l).next=n,n.previous=r,--c;continue t}h+=l._.r,l=l.previous}}while(u!==l.next);for(i.previous=r,i.next=n,r.next=n.previous=n=i,a=kf(r);(i=i.next)!==n;)(s=kf(i))<a&&(r=i,a=s);n=r.next}for(r=[n._],i=n;(i=i.next)!==n;)r.push(i._);for(i=mf(r),c=0;c<o;++c)(r=t[c]).x-=i.x,r.y-=i.y;return i.r}var Cf=function(t){return Mf(t),t};function jf(t){return null==t?null:Af(t)}function Af(t){if("function"!==typeof t)throw new Error;return t}function Tf(){return 0}var Pf=function(t){return function(){return t}};function Df(t){return Math.sqrt(t.value)}var Rf=function(){var t=null,e=1,r=1,n=Tf;function i(i){return i.x=e/2,i.y=r/2,t?i.eachBefore(Lf(t)).eachAfter(If(n,.5)).eachBefore(Nf(1)):i.eachBefore(Lf(Df)).eachAfter(If(Tf,1)).eachAfter(If(n,i.r/Math.min(e,r))).eachBefore(Nf(Math.min(e,r)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=jf(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],r=+t[1],i):[e,r]},i.padding=function(t){return arguments.length?(n="function"===typeof t?t:Pf(+t),i):n},i};function Lf(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function If(t,e){return function(r){if(n=r.children){var n,i,o,a=n.length,s=t(r)*e||0;if(s)for(i=0;i<a;++i)n[i].r+=s;if(o=Mf(n),s)for(i=0;i<a;++i)n[i].r-=s;r.r=o+s}}}function Nf(t){return function(e){var r=e.parent;e.r*=t,r&&(e.x=r.x+t*e.x,e.y=r.y+t*e.y)}}var Ff=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Bf=function(t,e,r,n,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(n-e)/t.value;++s<c;)(o=a[s]).y0=r,o.y1=i,o.x0=e,o.x1=e+=o.value*u},zf=function(){var t=1,e=1,r=0,n=!1;function i(i){var o=i.height+1;return i.x0=i.y0=r,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(n){n.children&&Bf(n,n.x0,t*(n.depth+1)/e,n.x1,t*(n.depth+2)/e);var i=n.x0,o=n.y0,a=n.x1-r,s=n.y1-r;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),n.x0=i,n.y0=o,n.x1=a,n.y1=s}}(e,o)),n&&i.eachBefore(Ff),i}return i.round=function(t){return arguments.length?(n=!!t,i):n},i.size=function(r){return arguments.length?(t=+r[0],e=+r[1],i):[t,e]},i.padding=function(t){return arguments.length?(r=+t,i):r},i},Hf={depth:-1},Uf={};function Wf(t){return t.id}function qf(t){return t.parentId}var Vf=function(){var t=Wf,e=qf;function r(r){var n,i,o,a,s,c,u,l=Array.from(r),f=l.length,h=new Map;for(i=0;i<f;++i)n=l[i],s=l[i]=new pf(n),null!=(c=t(n,i,r))&&(c+="")&&(u=s.id=c,h.set(u,h.has(u)?Uf:s)),null!=(c=e(n,i,r))&&(c+="")&&(s.parent=c);for(i=0;i<f;++i)if(c=(s=l[i]).parent){if(!(a=h.get(c)))throw new Error("missing: "+c);if(a===Uf)throw new Error("ambiguous: "+c);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(o)throw new Error("multiple roots");o=s}if(!o)throw new Error("no root");if(o.parent=Hf,o.eachBefore((function(t){t.depth=t.parent.depth+1,--f})).eachBefore(df),o.parent=null,f>0)throw new Error("cycle");return o}return r.id=function(e){return arguments.length?(t=Af(e),r):t},r.parentId=function(t){return arguments.length?(e=Af(t),r):e},r};function Gf(t,e){return t.parent===e.parent?1:2}function Yf(t){var e=t.children;return e?e[0]:t.t}function Xf(t){var e=t.children;return e?e[e.length-1]:t.t}function $f(t,e,r){var n=r/(e.i-t.i);e.c-=n,e.s+=r,t.c+=n,e.z+=r,e.m+=r}function Kf(t,e,r){return t.a.parent===e.parent?t.a:r}function Zf(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Zf.prototype=Object.create(pf.prototype);var Jf=function(){var t=Gf,e=1,r=1,n=null;function i(i){var c=function(t){for(var e,r,n,i,o,a=new Zf(t,0),s=[a];e=s.pop();)if(n=e._.children)for(e.children=new Array(o=n.length),i=o-1;i>=0;--i)s.push(r=e.children[i]=new Zf(n[i],i)),r.parent=e;return(a.parent=new Zf(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),n)i.eachBefore(s);else{var u=i,l=i,f=i;i.eachBefore((function(t){t.x<u.x&&(u=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)}));var h=u===l?1:t(u,l)/2,d=h-u.x,p=e/(l.x+h+d),m=r/(f.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*m}))}return i}function o(e){var r=e.children,n=e.parent.children,i=e.i?n[e.i-1]:null;if(r){!function(t){for(var e,r=0,n=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=r,e.m+=r,r+=e.s+(n+=e.c)}(e);var o=(r[0].z+r[r.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,r,n){if(r){for(var i,o=e,a=e,s=r,c=o.parent.children[0],u=o.m,l=a.m,f=s.m,h=c.m;s=Xf(s),o=Yf(o),s&&o;)c=Yf(c),(a=Xf(a)).a=e,(i=s.z+f-o.z-u+t(s._,o._))>0&&($f(Kf(s,e,n),e,i),u+=i,l+=i),f+=s.m,u+=o.m,h+=c.m,l+=a.m;s&&!Xf(a)&&(a.t=s,a.m+=f-l),o&&!Yf(c)&&(c.t=o,c.m+=u-h,n=e)}return n}(e,i,e.parent.A||n[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*r}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(n=!1,e=+t[0],r=+t[1],i):n?null:[e,r]},i.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],r=+t[1],i):n?[e,r]:null},i},Qf=function(t,e,r,n,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(i-r)/t.value;++s<c;)(o=a[s]).x0=e,o.x1=n,o.y0=r,o.y1=r+=o.value*u},th=(1+Math.sqrt(5))/2;function eh(t,e,r,n,i,o){for(var a,s,c,u,l,f,h,d,p,m,b,v=[],g=e.children,y=0,w=0,x=g.length,O=e.value;y<x;){c=i-r,u=o-n;do{l=g[w++].value}while(!l&&w<x);for(f=h=l,b=l*l*(m=Math.max(u/c,c/u)/(O*t)),p=Math.max(h/b,b/f);w<x;++w){if(l+=s=g[w].value,s<f&&(f=s),s>h&&(h=s),b=l*l*m,(d=Math.max(h/b,b/f))>p){l-=s;break}p=d}v.push(a={value:l,dice:c<u,children:g.slice(y,w)}),a.dice?Bf(a,r,n,i,O?n+=u*l/O:o):Qf(a,r,n,O?r+=c*l/O:i,o),O-=l,y=w}return v}var rh=function t(e){function r(t,r,n,i,o){eh(e,t,r,n,i,o)}return r.ratio=function(e){return t((e=+e)>1?e:1)},r}(th),nh=function(){var t=rh,e=!1,r=1,n=1,i=[0],o=Tf,a=Tf,s=Tf,c=Tf,u=Tf;function l(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(f),i=[0],e&&t.eachBefore(Ff),t}function f(e){var r=i[e.depth],n=e.x0+r,l=e.y0+r,f=e.x1-r,h=e.y1-r;f<n&&(n=f=(n+f)/2),h<l&&(l=h=(l+h)/2),e.x0=n,e.y0=l,e.x1=f,e.y1=h,e.children&&(r=i[e.depth+1]=o(e)/2,n+=u(e)-r,l+=a(e)-r,(f-=s(e)-r)<n&&(n=f=(n+f)/2),(h-=c(e)-r)<l&&(l=h=(l+h)/2),t(e,n,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(r=+t[0],n=+t[1],l):[r,n]},l.tile=function(e){return arguments.length?(t=Af(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"===typeof t?t:Pf(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(a="function"===typeof t?t:Pf(+t),l):a},l.paddingRight=function(t){return arguments.length?(s="function"===typeof t?t:Pf(+t),l):s},l.paddingBottom=function(t){return arguments.length?(c="function"===typeof t?t:Pf(+t),l):c},l.paddingLeft=function(t){return arguments.length?(u="function"===typeof t?t:Pf(+t),l):u},l},ih=function(t,e,r,n,i){var o,a,s=t.children,c=s.length,u=new Array(c+1);for(u[0]=a=o=0;o<c;++o)u[o+1]=a+=s[o].value;!function t(e,r,n,i,o,a,c){if(e>=r-1){var l=s[e];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=c)}var f=u[e],h=n/2+f,d=e+1,p=r-1;for(;d<p;){var m=d+p>>>1;u[m]<h?d=m+1:p=m}h-u[d-1]<u[d]-h&&e+1<d&&--d;var b=u[d]-f,v=n-b;if(a-i>c-o){var g=n?(i*v+a*b)/n:a;t(e,d,b,i,o,g,c),t(d,r,v,g,o,a,c)}else{var y=n?(o*v+c*b)/n:c;t(e,d,b,i,o,a,y),t(d,r,v,i,y,a,c)}}(0,c,t.value,e,r,n,i)},oh=function(t,e,r,n,i){(1&t.depth?Qf:Bf)(t,e,r,n,i)},ah=function t(e){function r(t,r,n,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,c,u,l,f=-1,h=a.length,d=t.value;++f<h;){for(c=(s=a[f]).children,u=s.value=0,l=c.length;u<l;++u)s.value+=c[u].value;s.dice?Bf(s,r,n,i,d?n+=(o-n)*s.value/d:o):Qf(s,r,n,d?r+=(i-r)*s.value/d:i,o),d-=s.value}else t._squarify=a=eh(e,t,r,n,i,o),a.ratio=e}return r.ratio=function(e){return t((e=+e)>1?e:1)},r}(th),sh=r(181),ch=r(268),uh=function(t){for(var e,r=-1,n=t.length,i=t[n-1],o=0;++r<n;)e=i,i=t[r],o+=e[1]*i[0]-e[0]*i[1];return o/2},lh=function(t){for(var e,r,n=-1,i=t.length,o=0,a=0,s=t[i-1],c=0;++n<i;)e=s,s=t[n],c+=r=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*r,a+=(e[1]+s[1])*r;return[o/(c*=3),a/c]};function fh(t,e){return t[0]-e[0]||t[1]-e[1]}function hh(t){var e,r,n,i,o=t.length,a=[0,1],s=2;for(e=2;e<o;++e){for(;s>1&&(r=t[a[s-2]],n=t[a[s-1]],i=t[e],(n[0]-r[0])*(i[1]-r[1])-(n[1]-r[1])*(i[0]-r[0])<=0);)--s;a[s++]=e}return a.slice(0,s)}var dh=function(t){if((r=t.length)<3)return null;var e,r,n=new Array(r),i=new Array(r);for(e=0;e<r;++e)n[e]=[+t[e][0],+t[e][1],e];for(n.sort(fh),e=0;e<r;++e)i[e]=[n[e][0],-n[e][1]];var o=hh(n),a=hh(i),s=a[0]===o[0],c=a[a.length-1]===o[o.length-1],u=[];for(e=o.length-1;e>=0;--e)u.push(t[n[o[e]][2]]);for(e=+s;e<a.length-c;++e)u.push(t[n[a[e]][2]]);return u},ph=function(t,e){for(var r,n,i=t.length,o=t[i-1],a=e[0],s=e[1],c=o[0],u=o[1],l=!1,f=0;f<i;++f)r=(o=t[f])[0],(n=o[1])>s!==u>s&&a<(c-r)*(s-n)/(u-n)+r&&(l=!l),c=r,u=n;return l},mh=function(t){for(var e,r,n=-1,i=t.length,o=t[i-1],a=o[0],s=o[1],c=0;++n<i;)e=a,r=s,e-=a=(o=t[n])[0],r-=s=o[1],c+=Math.hypot(e,r);return c},bh=Math.random,vh=function t(e){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,1===arguments.length?(r=t,t=0):r-=t,function(){return e()*r+t}}return r.source=t,r}(bh),gh=function t(e){function r(t,r){return arguments.length<2&&(r=t,t=0),t=Math.floor(t),r=Math.floor(r)-t,function(){return Math.floor(e()*r+t)}}return r.source=t,r}(bh),yh=function t(e){function r(t,r){var n,i;return t=null==t?0:+t,r=null==r?1:+r,function(){var o;if(null!=n)o=n,n=null;else do{n=2*e()-1,o=2*e()-1,i=n*n+o*o}while(!i||i>1);return t+r*o*Math.sqrt(-2*Math.log(i)/i)}}return r.source=t,r}(bh),wh=function t(e){var r=yh.source(e);function n(){var t=r.apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(bh),xh=function t(e){function r(t){return(t=+t)<=0?function(){return 0}:function(){for(var r=0,n=t;n>1;--n)r+=e();return r+n*e()}}return r.source=t,r}(bh),Oh=function t(e){var r=xh.source(e);function n(t){if(0===(t=+t))return e;var n=r(t);return function(){return n()/t}}return n.source=t,n}(bh),_h=function t(e){function r(t){return function(){return-Math.log1p(-e())/t}}return r.source=t,r}(bh),Sh=function t(e){function r(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-e(),t)}}return r.source=t,r}(bh),kh=function t(e){function r(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(e()+t)}}return r.source=t,r}(bh),Eh=function t(e){function r(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?function(){return 1/0}:1===t?function(){return 1}:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-e())/t)})}return r.source=t,r}(bh),Mh=function t(e){var r=yh.source(e)();function n(t,n){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return function(){return 0};if(n=null==n?1:+n,1===t)return function(){return-Math.log1p(-e())*n};var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?function(){return Math.pow(e(),1/t)}:function(){return 1};return function(){do{do{var t=r(),s=1+o*t}while(s<=0);s*=s*s;var c=1-e()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-s+Math.log(s)));return i*s*a()*n}}return n.source=t,n}(bh),Ch=function t(e){var r=Mh.source(e);function n(t,e){var n=r(t),i=r(e);return function(){var t=n();return 0===t?0:t/(t+i())}}return n.source=t,n}(bh),jh=function t(e){var r=Eh.source(e),n=Ch.source(e);function i(t,e){return t=+t,(e=+e)>=1?function(){return t}:e<=0?function(){return 0}:function(){for(var i=0,o=t,a=e;o*a>16&&o*(1-a)>16;){var s=Math.floor((o+1)*a),c=n(s,o-s+1)();c<=a?(i+=s,o-=s,a=(a-c)/(1-c)):(o=s-1,a/=c)}for(var u=a<.5,l=r(u?a:1-a),f=l(),h=0;f<=o;++h)f+=l();return i+(u?h:o-h)}}return i.source=t,i}(bh),Ah=function t(e){function r(t,r,n){var i;return 0===(t=+t)?i=function(t){return-Math.log(t)}:(t=1/t,i=function(e){return Math.pow(e,t)}),r=null==r?0:+r,n=null==n?1:+n,function(){return r+n*i(-Math.log1p(-e()))}}return r.source=t,r}(bh),Th=function t(e){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,function(){return t+r*Math.tan(Math.PI*e())}}return r.source=t,r}(bh),Ph=function t(e){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,function(){var n=e();return t+r*Math.log(n/(1-n))}}return r.source=t,r}(bh),Dh=function t(e){var r=Mh.source(e),n=jh.source(e);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),s=r(a)();if(s>o)return i+n(a-1,o/s)();i+=a,o-=s}for(var c=-Math.log1p(-e()),u=0;c<=o;++u)c-=Math.log1p(-e());return i+u}}return i.source=t,i}(bh),Rh=1/4294967296;function Lh(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Math.random(),e=0|(0<=t&&t<1?t/Rh:Math.abs(t));return function(){return Rh*((e=1664525*e+1013904223|0)>>>0)}}var Ih=r(359),Nh=function(t){for(var e=t.length/6|0,r=new Array(e),n=0;n<e;)r[n]="#"+t.slice(6*n,6*++n);return r},Fh=Nh("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Bh=Nh("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),zh=Nh("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Hh=Nh("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Uh=Nh("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Wh=Nh("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),qh=Nh("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Vh=Nh("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Gh=Nh("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Yh=Nh("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),Xh=function(t){return Object(Ae.b)(t[t.length-1])},$h=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Nh),Kh=Xh($h),Zh=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Nh),Jh=Xh(Zh),Qh=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Nh),td=Xh(Qh),ed=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Nh),rd=Xh(ed),nd=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Nh),id=Xh(nd),od=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Nh),ad=Xh(od),sd=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Nh),cd=Xh(sd),ud=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Nh),ld=Xh(ud),fd=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Nh),hd=Xh(fd),dd=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Nh),pd=Xh(dd),md=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Nh),bd=Xh(md),vd=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Nh),gd=Xh(vd),yd=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Nh),wd=Xh(yd),xd=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Nh),Od=Xh(xd),_d=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Nh),Sd=Xh(_d),kd=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Nh),Ed=Xh(kd),Md=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Nh),Cd=Xh(Md),jd=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Nh),Ad=Xh(jd),Td=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Nh),Pd=Xh(Td),Dd=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Nh),Rd=Xh(Dd),Ld=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Nh),Id=Xh(Ld),Nd=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Nh),Fd=Xh(Nd),Bd=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Nh),zd=Xh(Bd),Hd=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Nh),Ud=Xh(Hd),Wd=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Nh),qd=Xh(Wd),Vd=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Nh),Gd=Xh(Vd),Yd=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Nh),Xd=Xh(Yd),$d=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},Kd=r(527),Zd=r(624),Jd=Object(Zd.a)(Object(Kd.a)(300,.5,0),Object(Kd.a)(-240,.5,1)),Qd=Object(Zd.a)(Object(Kd.a)(-100,.75,.35),Object(Kd.a)(80,1.5,.8)),tp=Object(Zd.a)(Object(Kd.a)(260,.75,.35),Object(Kd.a)(80,1.5,.8)),ep=Object(Kd.a)(),rp=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return ep.h=360*t-100,ep.s=1.5-1.5*e,ep.l=.8-.9*e,ep+""},np=Object(Ce.g)(),ip=Math.PI/3,op=2*Math.PI/3,ap=function(t){var e;return t=(.5-t)*Math.PI,np.r=255*(e=Math.sin(t))*e,np.g=255*(e=Math.sin(t+ip))*e,np.b=255*(e=Math.sin(t+op))*e,np+""},sp=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function cp(t){var e=t.length;return function(r){return t[Math.max(0,Math.min(e-1,Math.floor(r*e)))]}}var up=cp(Nh("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),lp=cp(Nh("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),fp=cp(Nh("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),hp=cp(Nh("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),dp=function(t){return qt(kt(t).call(document.documentElement))},pp=0;function mp(){return new bp}function bp(){this._="@"+(++pp).toString(36)}bp.prototype=mp.prototype={constructor:bp,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var vp=function(t,e){return t.target&&(t=Jt(t),void 0===e&&(e=t.currentTarget),t=t.touches||[t]),Array.from(t,(function(t){return Qt(t,e)}))},gp=function(t){return"string"===typeof t?new Ht([document.querySelectorAll(t)],[document.documentElement]):new Ht([null==t?[]:C(t)],zt)},yp=r(404),wp=r(402),xp=r(486),Op=function(t,e,r){var n=new le,i=e;return null==e?(n.restart(t,e,r),n):(n._restart=n.restart,n.restart=function(t,e,r){e=+e,r=null==r?ce():+r,n._restart((function o(a){a+=i,n._restart(o,i+=e,r),t(a)}),e,r)},n.restart(t,e,r),n)},_p=r(785),Sp=function(t){return function(){return t}};function kp(t,e){var r=e.sourceEvent,n=e.target,i=e.transform,o=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function Ep(t,e,r){this.k=t,this.x=e,this.y=r}Ep.prototype={constructor:Ep,scale:function(t){return 1===t?this:new Ep(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Ep(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Mp=new Ep(1,0,0);function Cp(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Mp;return t.__zoom}function jp(t){t.stopImmediatePropagation()}Cp.prototype=Ep.prototype;var Ap=function(t){t.preventDefault(),t.stopImmediatePropagation()};function Tp(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function Pp(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function Dp(){return this.__zoom||Mp}function Rp(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Lp(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ip(t,e,r){var n=t.invertX(e[0][0])-r[0][0],i=t.invertX(e[1][0])-r[1][0],o=t.invertY(e[0][1])-r[0][1],a=t.invertY(e[1][1])-r[1][1];return t.translate(i>n?(n+i)/2:Math.min(0,n)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var Np=function(){var t,e,r,n=Tp,i=Pp,o=Ip,a=Rp,s=Lp,c=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],l=250,f=_p.a,h=S("start","zoom","end"),d=0,p=10;function m(t){t.property("__zoom",Dp).on("wheel.zoom",O).on("mousedown.zoom",_).on("dblclick.zoom",k).filter(s).on("touchstart.zoom",E).on("touchmove.zoom",M).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(t,e){return(e=Math.max(c[0],Math.min(c[1],e)))===t.k?t:new Ep(e,t.x,t.y)}function v(t,e,r){var n=e[0]-r[0]*t.k,i=e[1]-r[1]*t.k;return n===t.x&&i===t.y?t:new Ep(t.k,n,i)}function g(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function y(t,e,r,n){t.on("start.zoom",(function(){w(this,arguments).event(n).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(n).end()})).tween("zoom",(function(){var t=this,o=arguments,a=w(t,o).event(n),s=i.apply(t,o),c=null==r?g(s):"function"===typeof r?r.apply(t,o):r,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),l=t.__zoom,h="function"===typeof e?e.apply(t,o):e,d=f(l.invert(c).concat(u/l.k),h.invert(c).concat(u/h.k));return function(t){if(1===t)t=h;else{var e=d(t),r=u/e[2];t=new Ep(r,c[0]-e[0]*r,c[1]-e[1]*r)}a.zoom(null,t)}}))}function w(t,e,r){return!r&&t.__zooming||new x(t,e)}function x(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function O(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(n.apply(this,arguments)){var s=w(this,r).event(t),l=this.__zoom,f=Math.max(c[0],Math.min(c[1],l.k*Math.pow(2,a.apply(this,arguments)))),h=Qt(t);if(s.wheel)s.mouse[0][0]===h[0]&&s.mouse[0][1]===h[1]||(s.mouse[1]=l.invert(s.mouse[0]=h)),clearTimeout(s.wheel);else{if(l.k===f)return;s.mouse=[h,l.invert(h)],_e(this),s.start()}Ap(t),s.wheel=setTimeout(d,150),s.zoom("mouse",o(v(b(l,f),s.mouse[0],s.mouse[1]),s.extent,u))}function d(){s.wheel=null,s.end()}}function _(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];if(!r&&n.apply(this,arguments)){var s=w(this,i,!0).event(t),c=qt(t.view).on("mousemove.zoom",m,!0).on("mouseup.zoom",b,!0),l=Qt(t,f),f=t.currentTarget,h=t.clientX,p=t.clientY;Yt(t.view),jp(t),s.mouse=[l,this.__zoom.invert(l)],_e(this),s.start()}function m(t){if(Ap(t),!s.moved){var e=t.clientX-h,r=t.clientY-p;s.moved=e*e+r*r>d}s.event(t).zoom("mouse",o(v(s.that.__zoom,s.mouse[0]=Qt(t,f),s.mouse[1]),s.extent,u))}function b(t){c.on("mousemove.zoom mouseup.zoom",null),Xt(t.view,s.moved),Ap(t),s.event(t).end()}}function k(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),a=1;a<e;a++)r[a-1]=arguments[a];if(n.apply(this,arguments)){var s=this.__zoom,c=Qt(t.changedTouches?t.changedTouches[0]:t,this),f=s.invert(c),h=s.k*(t.shiftKey?.5:2),d=o(v(b(s,h),c,f),i.apply(this,r),u);Ap(t),l>0?qt(this).transition().duration(l).call(y,d,c,t):qt(this).call(m.transform,d,c,t)}}function E(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(n.apply(this,arguments)){var s,c,u,l,f=r.touches,h=f.length,d=w(this,o,r.changedTouches.length===h).event(r);for(jp(r),c=0;c<h;++c)u=f[c],l=[l=Qt(u,this),this.__zoom.invert(l),u.identifier],d.touch0?d.touch1||d.touch0[2]===l[2]||(d.touch1=l,d.taps=0):(d.touch0=l,s=!0,d.taps=1+!!t);t&&(t=clearTimeout(t)),s&&(d.taps<2&&(e=l[0],t=setTimeout((function(){t=null}),500)),_e(this),d.start())}}function M(t){if(this.__zooming){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i,a,s,c,l=w(this,r).event(t),f=t.changedTouches,h=f.length;for(Ap(t),i=0;i<h;++i)a=f[i],s=Qt(a,this),l.touch0&&l.touch0[2]===a.identifier?l.touch0[0]=s:l.touch1&&l.touch1[2]===a.identifier&&(l.touch1[0]=s);if(a=l.that.__zoom,l.touch1){var d=l.touch0[0],p=l.touch0[1],m=l.touch1[0],g=l.touch1[1],y=(y=m[0]-d[0])*y+(y=m[1]-d[1])*y,x=(x=g[0]-p[0])*x+(x=g[1]-p[1])*x;a=b(a,Math.sqrt(y/x)),s=[(d[0]+m[0])/2,(d[1]+m[1])/2],c=[(p[0]+g[0])/2,(p[1]+g[1])/2]}else{if(!l.touch0)return;s=l.touch0[0],c=l.touch0[1]}l.zoom("touch",o(v(a,s,c),l.extent,u))}}function C(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];if(this.__zooming){var a,s,c=w(this,i).event(t),u=t.changedTouches,l=u.length;for(jp(t),r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),a=0;a<l;++a)s=u[a],c.touch0&&c.touch0[2]===s.identifier?delete c.touch0:c.touch1&&c.touch1[2]===s.identifier&&delete c.touch1;if(c.touch1&&!c.touch0&&(c.touch0=c.touch1,delete c.touch1),c.touch0)c.touch0[1]=this.__zoom.invert(c.touch0[0]);else if(c.end(),2===c.taps&&(s=Qt(s,this),Math.hypot(e[0]-s[0],e[1]-s[1])<p)){var f=qt(this).on("dblclick.zoom");f&&f.apply(this,arguments)}}}return m.transform=function(t,e,r,n){var i=t.selection?t.selection():t;i.property("__zoom",Dp),t!==i?y(t,e,r,n):i.interrupt().each((function(){w(this,arguments).event(n).start().zoom(null,"function"===typeof e?e.apply(this,arguments):e).end()}))},m.scaleBy=function(t,e,r,n){m.scaleTo(t,(function(){var t=this.__zoom.k,r="function"===typeof e?e.apply(this,arguments):e;return t*r}),r,n)},m.scaleTo=function(t,e,r,n){m.transform(t,(function(){var t=i.apply(this,arguments),n=this.__zoom,a=null==r?g(t):"function"===typeof r?r.apply(this,arguments):r,s=n.invert(a),c="function"===typeof e?e.apply(this,arguments):e;return o(v(b(n,c),a,s),t,u)}),r,n)},m.translateBy=function(t,e,r,n){m.transform(t,(function(){return o(this.__zoom.translate("function"===typeof e?e.apply(this,arguments):e,"function"===typeof r?r.apply(this,arguments):r),i.apply(this,arguments),u)}),null,n)},m.translateTo=function(t,e,r,n,a){m.transform(t,(function(){var t=i.apply(this,arguments),a=this.__zoom,s=null==n?g(t):"function"===typeof n?n.apply(this,arguments):n;return o(Mp.translate(s[0],s[1]).scale(a.k).translate("function"===typeof e?-e.apply(this,arguments):-e,"function"===typeof r?-r.apply(this,arguments):-r),t,u)}),n,a)},x.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=qt(this.that).datum();h.call(t,this.that,new kp(t,{sourceEvent:this.sourceEvent,target:m,type:t,transform:this.that.__zoom,dispatch:h}),e)}},m.wheelDelta=function(t){return arguments.length?(a="function"===typeof t?t:Sp(+t),m):a},m.filter=function(t){return arguments.length?(n="function"===typeof t?t:Sp(!!t),m):n},m.touchable=function(t){return arguments.length?(s="function"===typeof t?t:Sp(!!t),m):s},m.extent=function(t){return arguments.length?(i="function"===typeof t?t:Sp([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),m):i},m.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],m):[c[0],c[1]]},m.translateExtent=function(t){return arguments.length?(u[0][0]=+t[0][0],u[1][0]=+t[1][0],u[0][1]=+t[0][1],u[1][1]=+t[1][1],m):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},m.constrain=function(t){return arguments.length?(o=t,m):o},m.duration=function(t){return arguments.length?(l=+t,m):l},m.interpolate=function(t){return arguments.length?(f=t,m):f},m.on=function(){var t=h.on.apply(h,arguments);return t===h?m:t},m.clickDistance=function(t){return arguments.length?(d=(t=+t)*t,m):Math.sqrt(d)},m.tapDistance=function(t){return arguments.length?(p=+t,m):p},m}},function(t,e,r){"use strict";r.r(e),r.d(e,"capitalize",(function(){return n.a})),r.d(e,"createChainedFunction",(function(){return i.a})),r.d(e,"createSvgIcon",(function(){return o.a})),r.d(e,"debounce",(function(){return a.a})),r.d(e,"deprecatedPropType",(function(){return s})),r.d(e,"isMuiElement",(function(){return c.a})),r.d(e,"ownerDocument",(function(){return u.a})),r.d(e,"ownerWindow",(function(){return l.a})),r.d(e,"requirePropFactory",(function(){return f.a})),r.d(e,"setRef",(function(){return h})),r.d(e,"unstable_useEnhancedEffect",(function(){return d.a})),r.d(e,"unstable_useId",(function(){return p.a})),r.d(e,"unsupportedProp",(function(){return m.a})),r.d(e,"useControlled",(function(){return b.a})),r.d(e,"useEventCallback",(function(){return v.a})),r.d(e,"useForkRef",(function(){return g.a})),r.d(e,"useIsFocusVisible",(function(){return y.a})),r.d(e,"unstable_ClassNameGenerator",(function(){return w.a}));var n=r(24),i=r(491),o=r(49),a=r(195);var s=function(t,e){return function(){return null}},c=r(233),u=r(155),l=r(210),f=r(631),h=r(435).a,d=r(156),p=r(115),m=r(632),b=r(220),v=r(141),g=r(72),y=r(275),w=r(825)},function(t,e,r){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var r,s,c=a(t),u=1;u<arguments.length;u++){for(var l in r=Object(arguments[u]))i.call(r,l)&&(c[l]=r[l]);if(n){s=n(r);for(var f=0;f<s.length;f++)o.call(r,s[f])&&(c[s[f]]=r[s[f]])}}return c}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(124);function i(t){return Object(n.a)(t).defaultView||window}},function(t,e,r){"use strict";function n(t,e,r,n,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*n+a*i)/6}r.d(e,"a",(function(){return n})),e.b=function(t){var e=t.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[i],a=t[i+1],s=i>0?t[i-1]:2*o-a,c=i<e-1?t[i+2]:2*a-o;return n((r-i/e)*e,s,o,a,c)}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return s}));var n,i,o,a=r(503);function s(t){return n=Object(a.a)(t),i=n.format,o=n.formatPrefix,n}s({thousands:",",grouping:[3],currency:["$",""]})},function(t,e,r){"use strict";r.r(e),r.d(e,"scaleBand",(function(){return n.a})),r.d(e,"scalePoint",(function(){return n.b})),r.d(e,"scaleIdentity",(function(){return a})),r.d(e,"scaleLinear",(function(){return i.a})),r.d(e,"scaleLog",(function(){return y})),r.d(e,"scaleSymlog",(function(){return _})),r.d(e,"scaleOrdinal",(function(){return S.a})),r.d(e,"scaleImplicit",(function(){return S.b})),r.d(e,"scalePow",(function(){return j})),r.d(e,"scaleSqrt",(function(){return A})),r.d(e,"scaleRadial",(function(){return D})),r.d(e,"scaleQuantile",(function(){return F})),r.d(e,"scaleQuantize",(function(){return z})),r.d(e,"scaleThreshold",(function(){return H})),r.d(e,"scaleTime",(function(){return tt})),r.d(e,"scaleUtc",(function(){return st})),r.d(e,"scaleSequential",(function(){return ht})),r.d(e,"scaleSequentialLog",(function(){return dt})),r.d(e,"scaleSequentialPow",(function(){return mt})),r.d(e,"scaleSequentialSqrt",(function(){return bt})),r.d(e,"scaleSequentialSymlog",(function(){return pt})),r.d(e,"scaleSequentialQuantile",(function(){return vt})),r.d(e,"scaleDiverging",(function(){return wt})),r.d(e,"scaleDivergingLog",(function(){return xt})),r.d(e,"scaleDivergingPow",(function(){return _t})),r.d(e,"scaleDivergingSqrt",(function(){return St})),r.d(e,"scaleDivergingSymlog",(function(){return Ot})),r.d(e,"tickFormat",(function(){return kt.a}));var n=r(625),i=r(152),o=r(333);function a(t){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,o.a),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return a(t).unknown(e)},t=arguments.length?Array.from(t,o.a):[0,1],Object(i.b)(r)}var s=r(173),c=r(358);function u(t,e){var r,n=0,i=(t=t.slice()).length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}var l=r(104),f=r(87);function h(t){return Math.log(t)}function d(t){return Math.exp(t)}function p(t){return-Math.log(-t)}function m(t){return-Math.exp(-t)}function b(t){return isFinite(t)?+("1e"+t):t<0?0:t}function v(t){return function(e){return-t(-e)}}function g(t){var e,r,n=t(h,d),i=n.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),r=function(t){return 10===t?b:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=v(e),r=v(r),t(p,m)):t(h,d),n}return n.base=function(t){return arguments.length?(o=+t,a()):o},n.domain=function(t){return arguments.length?(i(t),a()):i()},n.ticks=function(t){var n,a=i(),c=a[0],u=a[a.length-1];(n=u<c)&&(d=c,c=u,u=d);var l,f,h,d=e(c),p=e(u),m=null==t?10:+t,b=[];if(!(o%1)&&p-d<m){if(d=Math.floor(d),p=Math.ceil(p),c>0){for(;d<=p;++d)for(f=1,l=r(d);f<o;++f)if(!((h=l*f)<c)){if(h>u)break;b.push(h)}}else for(;d<=p;++d)for(f=o-1,l=r(d);f>=1;--f)if(!((h=l*f)<c)){if(h>u)break;b.push(h)}2*b.length<m&&(b=Object(s.a)(c,u,m))}else b=Object(s.a)(d,p,Math.min(p-d,m)).map(r);return n?b.reverse():b},n.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!==typeof i&&(i=Object(c.b)(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/n.ticks().length);return function(t){var n=t/r(Math.round(e(t)));return n*o<o-.5&&(n*=o),n<=a?i(t):""}},n.nice=function(){return i(u(i(),{floor:function(t){return r(Math.floor(e(t)))},ceil:function(t){return r(Math.ceil(e(t)))}}))},n}function y(){var t=g(Object(l.d)()).domain([1,10]);return t.copy=function(){return Object(l.a)(t,y()).base(t.base())},f.b.apply(t,arguments),t}function w(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function x(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function O(t){var e=1,r=t(w(e),x(e));return r.constant=function(r){return arguments.length?t(w(e=+r),x(e)):e},Object(i.b)(r)}function _(){var t=O(Object(l.d)());return t.copy=function(){return Object(l.a)(t,_()).constant(t.constant())},f.b.apply(t,arguments)}var S=r(405);function k(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function E(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function M(t){return t<0?-t*t:t*t}function C(t){var e=t(l.c,l.c),r=1;function n(){return 1===r?t(l.c,l.c):.5===r?t(E,M):t(k(r),k(1/r))}return e.exponent=function(t){return arguments.length?(r=+t,n()):r},Object(i.b)(e)}function j(){var t=C(Object(l.d)());return t.copy=function(){return Object(l.a)(t,j()).exponent(t.exponent())},f.b.apply(t,arguments),t}function A(){return j.apply(null,arguments).exponent(.5)}function T(t){return Math.sign(t)*t*t}function P(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function D(){var t,e=Object(l.b)(),r=[0,1],n=!1;function a(r){var i=P(e(r));return isNaN(i)?t:n?Math.round(i):i}return a.invert=function(t){return e.invert(T(t))},a.domain=function(t){return arguments.length?(e.domain(t),a):e.domain()},a.range=function(t){return arguments.length?(e.range((r=Array.from(t,o.a)).map(T)),a):r.slice()},a.rangeRound=function(t){return a.range(t).round(!0)},a.round=function(t){return arguments.length?(n=!!t,a):n},a.clamp=function(t){return arguments.length?(e.clamp(t),a):e.clamp()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.copy=function(){return D(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},f.b.apply(a,arguments),Object(i.b)(a)}var R=r(29),L=r(273),I=r(316),N=r(108);function F(){var t,e=[],r=[],n=[];function i(){var t=0,i=Math.max(1,r.length);for(n=new Array(i-1);++t<i;)n[t-1]=Object(L.b)(e,t/i);return o}function o(e){return null==e||isNaN(e=+e)?t:r[Object(I.d)(n,e)]}return o.invertExtent=function(t){var i=r.indexOf(t);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];var r,n=Object(R.a)(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;null==o||isNaN(o=+o)||e.push(o)}}catch(a){n.e(a)}finally{n.f()}return e.sort(N.a),i()},o.range=function(t){return arguments.length?(r=Array.from(t),i()):r.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return n.slice()},o.copy=function(){return F().domain(e).range(r).unknown(t)},f.b.apply(o,arguments)}var B=r(3);function z(){var t,e=0,r=1,n=1,o=[.5],a=[0,1];function s(e){return null!=e&&e<=e?a[Object(I.d)(o,e,0,n)]:t}function c(){var t=-1;for(o=new Array(n);++t<n;)o[t]=((t+1)*r-(t-n)*e)/(n+1);return s}return s.domain=function(t){var n,i;return arguments.length?(n=t,i=Object(B.a)(n,2),e=i[0],r=i[1],e=+e,r=+r,c()):[e,r]},s.range=function(t){return arguments.length?(n=(a=Array.from(t)).length-1,c()):a.slice()},s.invertExtent=function(t){var i=a.indexOf(t);return i<0?[NaN,NaN]:i<1?[e,o[0]]:i>=n?[o[n-1],r]:[o[i-1],o[i]]},s.unknown=function(e){return arguments.length?(t=e,s):s},s.thresholds=function(){return o.slice()},s.copy=function(){return z().domain([e,r]).range(a).unknown(t)},f.b.apply(Object(i.b)(s),arguments)}function H(){var t,e=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[Object(I.d)(e,i,0,n)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),n=Math.min(e.length,r.length-1),i):e.slice()},i.range=function(t){return arguments.length?(r=Array.from(t),n=Math.min(e.length,r.length-1),i):r.slice()},i.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return H().domain(e).range(r).unknown(t)},f.b.apply(i,arguments)}var U=r(401),W=r(239),q=r(409),V=r(106),G=r(324),Y=r(410),X=r(411),$=r(218),K=r(216);function Z(t){return new Date(t)}function J(t){return t instanceof Date?+t:+new Date(+t)}function Q(t,e,r,n,i,o,a,s,c,f){var h=Object(l.b)(),d=h.invert,p=h.domain,m=f(".%L"),b=f(":%S"),v=f("%I:%M"),g=f("%I %p"),y=f("%a %d"),w=f("%b %d"),x=f("%B"),O=f("%Y");function _(t){return(c(t)<t?m:s(t)<t?b:a(t)<t?v:o(t)<t?g:n(t)<t?i(t)<t?y:w:r(t)<t?x:O)(t)}return h.invert=function(t){return new Date(d(t))},h.domain=function(t){return arguments.length?p(Array.from(t,J)):p().map(Z)},h.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},h.tickFormat=function(t,e){return null==e?_:f(e)},h.nice=function(t){var r=p();return t&&"function"===typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(u(r,t)):h},h.copy=function(){return Object(l.a)(h,Q(t,e,r,n,i,o,a,s,c,f))},h}function tt(){return f.b.apply(Q(U.b,U.a,W.a,q.a,V.g,G.b,Y.a,X.a,$.a,K.b).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var et=r(238),rt=r(406),nt=r(105),it=r(323),ot=r(407),at=r(408);function st(){return f.b.apply(Q(U.d,U.c,et.a,rt.a,nt.g,it.a,ot.a,at.a,$.a,K.d).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}var ct=r(274),ut=r(784);function lt(){var t,e,r,n,i,o=0,a=1,s=l.c,c=!1;function u(e){return null==e||isNaN(e=+e)?i:s(0===r?.5:(e=(n(e)-t)*r,c?Math.max(0,Math.min(1,e)):e))}function f(t){return function(e){var r,n,i,o;return arguments.length?(r=e,i=(n=Object(B.a)(r,2))[0],o=n[1],s=t(i,o),u):[s(0),s(1)]}}return u.domain=function(i){var s,c;return arguments.length?(s=i,c=Object(B.a)(s,2),o=c[0],a=c[1],t=n(o=+o),e=n(a=+a),r=t===e?0:1/(e-t),u):[o,a]},u.clamp=function(t){return arguments.length?(c=!!t,u):c},u.interpolator=function(t){return arguments.length?(s=t,u):s},u.range=f(ct.a),u.rangeRound=f(ut.a),u.unknown=function(t){return arguments.length?(i=t,u):i},function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),u}}function ft(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function ht(){var t=Object(i.b)(lt()(l.c));return t.copy=function(){return ft(t,ht())},f.a.apply(t,arguments)}function dt(){var t=g(lt()).domain([1,10]);return t.copy=function(){return ft(t,dt()).base(t.base())},f.a.apply(t,arguments)}function pt(){var t=O(lt());return t.copy=function(){return ft(t,pt()).constant(t.constant())},f.a.apply(t,arguments)}function mt(){var t=C(lt());return t.copy=function(){return ft(t,mt()).exponent(t.exponent())},f.a.apply(t,arguments)}function bt(){return mt.apply(null,arguments).exponent(.5)}function vt(){var t=[],e=l.c;function r(r){if(null!=r&&!isNaN(r=+r))return e((Object(I.d)(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();t=[];var n,i=Object(R.a)(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;null==o||isNaN(o=+o)||t.push(o)}}catch(a){i.e(a)}finally{i.f()}return t.sort(N.a),r},r.interpolator=function(t){return arguments.length?(e=t,r):e},r.range=function(){return t.map((function(r,n){return e(n/(t.length-1))}))},r.quantiles=function(e){return Array.from({length:e+1},(function(r,n){return Object(L.a)(t,n/e)}))},r.copy=function(){return vt(e).domain(t)},f.a.apply(r,arguments)}var gt=r(786);function yt(){var t,e,r,n,i,o,a,s=0,c=.5,u=1,f=1,h=l.c,d=!1;function p(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(f*t<f*e?n:i),h(d?Math.max(0,Math.min(1,t)):t))}function m(t){return function(e){var r,n,i,o,a;return arguments.length?(r=e,i=(n=Object(B.a)(r,3))[0],o=n[1],a=n[2],h=Object(gt.a)(t,[i,o,a]),p):[h(0),h(.5),h(1)]}}return p.domain=function(a){var l,h;return arguments.length?(l=a,h=Object(B.a)(l,3),s=h[0],c=h[1],u=h[2],t=o(s=+s),e=o(c=+c),r=o(u=+u),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),f=e<t?-1:1,p):[s,c,u]},p.clamp=function(t){return arguments.length?(d=!!t,p):d},p.interpolator=function(t){return arguments.length?(h=t,p):h},p.range=m(ct.a),p.rangeRound=m(ut.a),p.unknown=function(t){return arguments.length?(a=t,p):a},function(a){return o=a,t=a(s),e=a(c),r=a(u),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),f=e<t?-1:1,p}}function wt(){var t=Object(i.b)(yt()(l.c));return t.copy=function(){return ft(t,wt())},f.a.apply(t,arguments)}function xt(){var t=g(yt()).domain([.1,1,10]);return t.copy=function(){return ft(t,xt()).base(t.base())},f.a.apply(t,arguments)}function Ot(){var t=O(yt());return t.copy=function(){return ft(t,Ot()).constant(t.constant())},f.a.apply(t,arguments)}function _t(){var t=C(yt());return t.copy=function(){return ft(t,_t()).exponent(t.exponent())},f.a.apply(t,arguments)}function St(){return _t.apply(null,arguments).exponent(.5)}var kt=r(499)},function(t,e,r){"use strict";(function(t){var n=r(136),i=r(814),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?n.a.Buffer:void 0,c=(s?s.isBuffer:void 0)||i.a;e.a=c}).call(this,r(466)(t))},function(t,e,r){"use strict";var n=r(509),i=r(511);e.a=function(t){return null!=t&&Object(i.a)(t.length)&&!Object(n.a)(t)}},function(t,e,r){"use strict";e.a=function(t){return function(e){return t(e)}}},function(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}r.d(e,"a",(function(){return n}))},function(t,e,r){var n=r(689),i=r(591),o=r(245);t.exports=function(t,e){var r={};return e=o(e,3),i(t,(function(t,i,o){n(r,i,e(t,i,o))})),r}},function(t,e,r){"use strict";var n=r(108);e.a=function(t){var e=t,r=t;function i(t,e,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;r(t[o],e)<0?n=o+1:i=o}return n}return 1===t.length&&(e=function(e,r){return t(e)-r},r=function(t){return function(e,r){return Object(n.a)(t(e),r)}}(t)),{left:i,center:function(t,r,n,o){null==n&&(n=0),null==o&&(o=t.length);var a=i(t,r,n,o-1);return a>n&&e(t[a-1],r)>-e(t[a],r)?a-1:a},right:function(t,e,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;r(t[o],e)>0?i=o:n=o+1}return n}}}},function(t,e,r){"use strict";var n=r(29);e.a=function(t,e){var r,i;if(void 0===e){var o,a=Object(n.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;null!=s&&(void 0===r?s>=s&&(r=i=s):(r>s&&(r=s),i<s&&(i=s)))}}catch(h){a.e(h)}finally{a.f()}}else{var c,u=-1,l=Object(n.a)(t);try{for(l.s();!(c=l.n()).done;){var f=c.value;null!=(f=e(f,++u,t))&&(void 0===r?f>=f&&(r=i=f):(r>f&&(r=f),i<f&&(i=f)))}}catch(h){l.e(h)}finally{l.f()}}return[r,i]}},,function(t,e,r){(function(e){var n=r(12);t.exports=function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[a]={exports:{}};e[a][0].call(u.exports,(function(t){return i(e[a][1][t]||t)}),u,u.exports,t,e,r,n)}return r[a].exports}for(var o=!1,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(t,e,r){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function s(t){o(a,n,i,s,c,"next",t)}function c(t){o(a,n,i,s,c,"throw",t)}s(void 0)}))}}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var c=t("fs"),u=t("fast-csv"),l=t("dayjs/plugin/customParseFormat"),f=t("dayjs/plugin/utc"),h=t("dayjs").extend(l).extend(f),d=t("../utils/stream-buf"),p=t("../utils/utils").fs.exists,m={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}},b=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.workbook=e,this.worksheet=null}var e,r,o,l;return e=t,(r=[{key:"readFile",value:(l=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=r||{},t.next=3,p(e);case 3:if(t.sent){t.next=5;break}throw new Error("File not found: ".concat(e));case 5:return i=c.createReadStream(e),t.next=8,this.read(i,r);case 8:return o=t.sent,i.close(),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t,this)}))),function(t,e){return l.apply(this,arguments)})},{key:"read",value:function(t,e){var r=this;return e=e||{},new Promise((function(n,i){var o=r.workbook.addWorksheet(e.sheetName),a=e.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],s=e.map||function(t){if(""===t)return null;var e=Number(t);if(!Number.isNaN(e)&&e!==1/0)return e;var r=a.reduce((function(e,r){if(e)return e;var n=h(t,r,!0);return n.isValid()?n:null}),null);if(r)return new Date(r.valueOf());var n=m[t];return void 0!==n?n:t},c=u.parse(e.parserOptions).on("data",(function(t){o.addRow(t.map(s))})).on("end",(function(){c.emit("worksheet",o)}));c.on("worksheet",n).on("error",i),t.pipe(c)}))}},{key:"createInputStream",value:function(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"write",value:function(t,e){var r=this;return new Promise((function(n,o){e=e||{};var a=r.workbook.getWorksheet(e.sheetName||e.sheetId),s=u.format(e.formatterOptions);t.on("finish",(function(){n()})),s.on("error",o),s.pipe(t);var c=e,l=c.dateFormat,f=c.dateUTC,d=e.map||function(t){if(t){if(t.text||t.hyperlink)return t.hyperlink||t.text||"";if(t.formula||t.result)return t.result||"";if(t instanceof Date)return l?f?h.utc(t).format(l):h(t).format(l):f?h.utc(t).format():h(t).format();if(t.error)return t.error;if("object"===i(t))return JSON.stringify(t)}return t},p=void 0===e.includeEmptyRows||e.includeEmptyRows,m=1;a&&a.eachRow((function(t,e){if(p)for(;m++<e-1;)s.write([]);var r=t.values;r.shift(),s.write(r.map(d)),m=e})),s.end()}))}},{key:"writeFile",value:function(t,e){var r={encoding:(e=e||{}).encoding||"utf8"},n=c.createWriteStream(t,r);return this.write(n,e)}},{key:"writeBuffer",value:(o=a(n.mark((function t(e){var r;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new d,t.next=3,this.write(r,e);case 3:return t.abrupt("return",r.read());case 4:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})}])&&s(e.prototype,r),t}();e.exports=b},{"../utils/stream-buf":23,"../utils/utils":26,dayjs:336,"dayjs/plugin/customParseFormat":337,"dayjs/plugin/utc":338,"fast-csv":369,fs:215}],2:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=t("../utils/col-cache"),a=function(){function t(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n(this,t),r)if("string"==typeof r){var a=o.decodeAddress(r);this.nativeCol=a.col+i,this.nativeColOff=0,this.nativeRow=a.row+i,this.nativeRowOff=0}else void 0!==r.nativeCol?(this.nativeCol=r.nativeCol||0,this.nativeColOff=r.nativeColOff||0,this.nativeRow=r.nativeRow||0,this.nativeRowOff=r.nativeRowOff||0):void 0!==r.col?(this.col=r.col+i,this.row=r.row+i):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;this.worksheet=e}var e,r,a;return e=t,a=[{key:"asInstance",value:function(e){return e instanceof t||null==e?e:new t(e)}}],(r=[{key:"col",get:function(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth},set:function(t){this.nativeCol=Math.floor(t),this.nativeColOff=Math.floor((t-this.nativeCol)*this.colWidth)}},{key:"row",get:function(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight},set:function(t){this.nativeRow=Math.floor(t),this.nativeRowOff=Math.floor((t-this.nativeRow)*this.rowHeight)}},{key:"colWidth",get:function(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}},{key:"rowHeight",get:function(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}},{key:"model",get:function(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}},set:function(t){this.nativeCol=t.nativeCol,this.nativeColOff=t.nativeColOff,this.nativeRow=t.nativeRow,this.nativeRowOff=t.nativeRowOff}}])&&i(e.prototype,r),a&&i(e,a),t}();e.exports=a},{"../utils/col-cache":19}],3:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}var a=t("../utils/col-cache"),s=t("../utils/under-dash"),c=t("./enums"),u=t("../utils/shared-formula").slideFormula,l=t("./note"),f=function(){function t(e,r,i){if(n(this,t),!e||!r)throw new Error("A Cell needs a Row");this._row=e,this._column=r,a.validateAddress(i),this._address=i,this._value=S.create(t.Types.Null,this),this.style=this._mergeStyle(e.style,r.style,{}),this._mergeCount=0}return o(t,[{key:"destroy",value:function(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}},{key:"_mergeStyle",value:function(t,e,r){var n=t&&t.numFmt||e&&e.numFmt;n&&(r.numFmt=n);var i=t&&t.font||e&&e.font;i&&(r.font=i);var o=t&&t.alignment||e&&e.alignment;o&&(r.alignment=o);var a=t&&t.border||e&&e.border;a&&(r.border=a);var s=t&&t.fill||e&&e.fill;s&&(r.fill=s);var c=t&&t.protection||e&&e.protection;return c&&(r.protection=c),r}},{key:"toCsvString",value:function(){return this._value.toCsvString()}},{key:"addMergeRef",value:function(){this._mergeCount++}},{key:"releaseMergeRef",value:function(){this._mergeCount--}},{key:"merge",value:function(e,r){this._value.release(),this._value=S.create(t.Types.Merge,this,e),r||(this.style=e.style)}},{key:"unmerge",value:function(){this.type===t.Types.Merge&&(this._value.release(),this._value=S.create(t.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}},{key:"isMergedTo",value:function(e){return this._value.type===t.Types.Merge&&this._value.isMergedTo(e)}},{key:"toString",value:function(){return this.text}},{key:"_upgradeToHyperlink",value:function(e){this.type===t.Types.String&&(this._value=S.create(t.Types.Hyperlink,this,{text:this._value.value,hyperlink:e}))}},{key:"addName",value:function(t){this.workbook.definedNames.addEx(this.fullAddress,t)}},{key:"removeName",value:function(t){this.workbook.definedNames.removeEx(this.fullAddress,t)}},{key:"removeAllNames",value:function(){this.workbook.definedNames.removeAllNames(this.fullAddress)}},{key:"worksheet",get:function(){return this._row.worksheet}},{key:"workbook",get:function(){return this._row.worksheet.workbook}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(t){this.style.numFmt=t}},{key:"font",get:function(){return this.style.font},set:function(t){this.style.font=t}},{key:"alignment",get:function(){return this.style.alignment},set:function(t){this.style.alignment=t}},{key:"border",get:function(){return this.style.border},set:function(t){this.style.border=t}},{key:"fill",get:function(){return this.style.fill},set:function(t){this.style.fill=t}},{key:"protection",get:function(){return this.style.protection},set:function(t){this.style.protection=t}},{key:"address",get:function(){return this._address}},{key:"row",get:function(){return this._row.number}},{key:"col",get:function(){return this._column.number}},{key:"$col$row",get:function(){return"$".concat(this._column.letter,"$").concat(this.row)}},{key:"type",get:function(){return this._value.type}},{key:"effectiveType",get:function(){return this._value.effectiveType}},{key:"isMerged",get:function(){return this._mergeCount>0||this.type===t.Types.Merge}},{key:"master",get:function(){return this.type===t.Types.Merge?this._value.master:this}},{key:"isHyperlink",get:function(){return this._value.type===t.Types.Hyperlink}},{key:"hyperlink",get:function(){return this._value.hyperlink}},{key:"value",get:function(){return this._value.value},set:function(e){this.type!==t.Types.Merge?(this._value.release(),this._value=S.create(S.getType(e),this,e)):this._value.master.value=e}},{key:"note",get:function(){return this._comment&&this._comment.note},set:function(t){this._comment=new l(t)}},{key:"text",get:function(){return this._value.toString()}},{key:"html",get:function(){return s.escapeHtml(this.text)}},{key:"formula",get:function(){return this._value.formula}},{key:"result",get:function(){return this._value.result}},{key:"formulaType",get:function(){return this._value.formulaType}},{key:"fullAddress",get:function(){return{sheetName:this._row.worksheet.name,address:this.address,row:this.row,col:this.col}}},{key:"name",get:function(){return this.names[0]},set:function(t){this.names=[t]}},{key:"names",get:function(){return this.workbook.definedNames.getNamesEx(this.fullAddress)},set:function(t){var e=this,r=this.workbook.definedNames;r.removeAllNames(this.fullAddress),t.forEach((function(t){r.addEx(e.fullAddress,t)}))}},{key:"_dataValidations",get:function(){return this.worksheet.dataValidations}},{key:"dataValidation",get:function(){return this._dataValidations.find(this.address)},set:function(t){this._dataValidations.add(this.address,t)}},{key:"model",get:function(){var t=this._value.model;return t.style=this.style,this._comment&&(t.comment=this._comment.model),t},set:function(t){if(this._value.release(),this._value=S.create(t.type,this),this._value.model=t,t.comment)switch(t.comment.type){case"note":this._comment=l.fromModel(t.comment)}t.style?this.style=t.style:this.style={}}}]),t}();f.Types=c.ValueType;var h=function(){function t(e){n(this,t),this.model={address:e.address,type:f.Types.Null}}return o(t,[{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){}},{key:"toString",value:function(){return""}},{key:"value",get:function(){return null},set:function(t){}},{key:"type",get:function(){return f.Types.Null}},{key:"effectiveType",get:function(){return f.Types.Null}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),d=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Number,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Number}},{key:"effectiveType",get:function(){return f.Types.Number}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),p=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.String,value:r}}return o(t,[{key:"toCsvString",value:function(){return'"'.concat(this.model.value.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.String}},{key:"effectiveType",get:function(){return f.Types.String}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),m=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.String,value:r}}return o(t,[{key:"toString",value:function(){return this.model.value.richText.map((function(t){return t.text})).join("")}},{key:"toCsvString",value:function(){return'"'.concat(this.text.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.RichText}},{key:"effectiveType",get:function(){return f.Types.RichText}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),b=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Date,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value.toISOString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Date}},{key:"effectiveType",get:function(){return f.Types.Date}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),v=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Hyperlink,text:r?r.text:void 0,hyperlink:r?r.hyperlink:void 0},r&&r.tooltip&&(this.model.tooltip=r.tooltip)}return o(t,[{key:"toCsvString",value:function(){return this.model.hyperlink}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.text}},{key:"value",get:function(){var t={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(t.tooltip=this.model.tooltip),t},set:function(t){this.model={text:t.text,hyperlink:t.hyperlink},t.tooltip&&(this.model.tooltip=t.tooltip)}},{key:"text",get:function(){return this.model.text},set:function(t){this.model.text=t}},{key:"hyperlink",get:function(){return this.model.hyperlink},set:function(t){this.model.hyperlink=t}},{key:"type",get:function(){return f.Types.Hyperlink}},{key:"effectiveType",get:function(){return f.Types.Hyperlink}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),g=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Merge,master:r?r.address:void 0},this._master=r,r&&r.addMergeRef()}return o(t,[{key:"isMergedTo",value:function(t){return t===this._master}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){this._master.releaseMergeRef()}},{key:"toString",value:function(){return this.value.toString()}},{key:"value",get:function(){return this._master.value},set:function(t){t instanceof f?(this._master&&this._master.releaseMergeRef(),t.addMergeRef(),this._master=t):this._master.value=t}},{key:"master",get:function(){return this._master}},{key:"type",get:function(){return f.Types.Merge}},{key:"effectiveType",get:function(){return this._master.effectiveType}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),y=function(){function t(e,r){n(this,t),this.cell=e,this.model={address:e.address,type:f.Types.Formula,shareType:r?r.shareType:void 0,ref:r?r.ref:void 0,formula:r?r.formula:void 0,sharedFormula:r?r.sharedFormula:void 0,result:r?r.result:void 0}}return o(t,[{key:"_copyModel",value:function(t){var e={},r=function(r){var n=t[r];n&&(e[r]=n)};return r("formula"),r("result"),r("ref"),r("shareType"),r("sharedFormula"),e}},{key:"validate",value:function(t){switch(S.getType(t)){case f.Types.Null:case f.Types.String:case f.Types.Number:case f.Types.Date:break;case f.Types.Hyperlink:case f.Types.Formula:default:throw new Error("Cannot process that type of result value")}}},{key:"_getTranslatedFormula",value:function(){if(!this._translatedFormula&&this.model.sharedFormula){var t=this.cell.worksheet.findCell(this.model.sharedFormula);this._translatedFormula=t&&u(t.formula,t.address,this.model.address)}return this._translatedFormula}},{key:"toCsvString",value:function(){return"".concat(this.model.result||"")}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.result?this.model.result.toString():""}},{key:"value",get:function(){return this._copyModel(this.model)},set:function(t){this.model=this._copyModel(t)}},{key:"dependencies",get:function(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}},{key:"formula",get:function(){return this.model.formula||this._getTranslatedFormula()},set:function(t){this.model.formula=t}},{key:"formulaType",get:function(){return this.model.formula?c.FormulaType.Master:this.model.sharedFormula?c.FormulaType.Shared:c.FormulaType.None}},{key:"result",get:function(){return this.model.result},set:function(t){this.model.result=t}},{key:"type",get:function(){return f.Types.Formula}},{key:"effectiveType",get:function(){var t=this.model.result;return null==t?c.ValueType.Null:t instanceof String||"string"==typeof t?c.ValueType.String:"number"==typeof t?c.ValueType.Number:t instanceof Date?c.ValueType.Date:t.text&&t.hyperlink?c.ValueType.Hyperlink:t.formula?c.ValueType.Formula:c.ValueType.Null}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),w=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.SharedString,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.SharedString}},{key:"effectiveType",get:function(){return f.Types.SharedString}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),x=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Boolean,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value?1:0}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Boolean}},{key:"effectiveType",get:function(){return f.Types.Boolean}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),O=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Error,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.error.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Error}},{key:"effectiveType",get:function(){return f.Types.Error}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),_=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.String,value:JSON.stringify(r),rawValue:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.rawValue},set:function(t){this.model.rawValue=t,this.model.value=JSON.stringify(t)}},{key:"type",get:function(){return f.Types.String}},{key:"effectiveType",get:function(){return f.Types.String}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),S={getType:function(t){return null==t?f.Types.Null:t instanceof String||"string"==typeof t?f.Types.String:"number"==typeof t?f.Types.Number:"boolean"==typeof t?f.Types.Boolean:t instanceof Date?f.Types.Date:t.text&&t.hyperlink?f.Types.Hyperlink:t.formula||t.sharedFormula?f.Types.Formula:t.richText?f.Types.RichText:t.sharedString?f.Types.SharedString:t.error?f.Types.Error:f.Types.JSON},types:[{t:f.Types.Null,f:h},{t:f.Types.Number,f:d},{t:f.Types.String,f:p},{t:f.Types.Date,f:b},{t:f.Types.Hyperlink,f:v},{t:f.Types.Formula,f:y},{t:f.Types.Merge,f:g},{t:f.Types.JSON,f:_},{t:f.Types.SharedString,f:w},{t:f.Types.RichText,f:m},{t:f.Types.Boolean,f:x},{t:f.Types.Error,f:O}].reduce((function(t,e){return t[e.t]=e.f,t}),[]),create:function(t,e,r){var n=this.types[t];if(!n)throw new Error("Could not create Value of type ".concat(t));return new n(e,r)}};e.exports=f},{"../utils/col-cache":19,"../utils/shared-formula":22,"../utils/under-dash":25,"./enums":7,"./note":9}],4:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/under-dash"),o=t("./enums"),a=t("../utils/col-cache"),s=function(){function t(e,r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._worksheet=e,this._number=r,!1!==n&&(this.defn=n)}var e,r,s;return e=t,s=[{key:"toModel",value:function(t){var e=[],r=null;return t&&t.forEach((function(t,n){t.isDefault?r&&(r=null):r&&t.equivalentTo(r)?r.max=n+1:(r={min:n+1,max:n+1,width:void 0!==t.width?t.width:9,style:t.style,isCustomWidth:t.isCustomWidth,hidden:t.hidden,outlineLevel:t.outlineLevel,collapsed:t.collapsed},e.push(r))})),e.length?e:void 0}},{key:"fromModel",value:function(e,r){r=r||[];for(var n=[],i=1,o=0;o<r.length;){for(var a=r[o++];i<a.min;)n.push(new t(e,i++));for(;i<=a.max;)n.push(new t(e,i++,a))}return n.length?n:null}}],(r=[{key:"toString",value:function(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}},{key:"equivalentTo",value:function(t){return this.width===t.width&&this.hidden===t.hidden&&this.outlineLevel===t.outlineLevel&&i.isEqual(this.style,t.style)}},{key:"eachCell",value:function(t,e){var r=this.number;e||(e=t,t=null),this._worksheet.eachRow(t,(function(t,n){e(t.getCell(r),n)}))}},{key:"_applyStyle",value:function(t,e){return this.style[t]=e,this.eachCell((function(r){r[t]=e})),e}},{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"letter",get:function(){return a.n2l(this._number)}},{key:"isCustomWidth",get:function(){return void 0!==this.width&&9!==this.width}},{key:"defn",get:function(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}},set:function(t){t?(this.key=t.key,this.width=void 0!==t.width?t.width:9,this.outlineLevel=t.outlineLevel,t.style?this.style=t.style:this.style={},this.header=t.header,this._hidden=!!t.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}},{key:"headers",get:function(){return this._header&&this._header instanceof Array?this._header:[this._header]}},{key:"header",get:function(){return this._header},set:function(t){var e=this;void 0!==t?(this._header=t,this.headers.forEach((function(t,r){e._worksheet.getCell(r+1,e.number).value=t}))):this._header=void 0}},{key:"key",get:function(){return this._key},set:function(t){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=t,t&&this._worksheet.setColumnKey(this._key,this)}},{key:"hidden",get:function(){return!!this._hidden},set:function(t){this._hidden=t}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(t){this._outlineLevel=t}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}},{key:"isDefault",get:function(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;var t=this.style;return!t||!(t.font||t.numFmt||t.alignment||t.border||t.fill||t.protection)}},{key:"headerCount",get:function(){return this.headers.length}},{key:"values",get:function(){var t=[];return this.eachCell((function(e,r){e&&e.type!==o.ValueType.Null&&(t[r]=e.value)})),t},set:function(t){var e=this;if(t){var r=this.number,n=0;t.hasOwnProperty("0")&&(n=1),t.forEach((function(t,i){e._worksheet.getCell(i+n,r).value=t}))}}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(t){this._applyStyle("numFmt",t)}},{key:"font",get:function(){return this.style.font},set:function(t){this._applyStyle("font",t)}},{key:"alignment",get:function(){return this.style.alignment},set:function(t){this._applyStyle("alignment",t)}},{key:"protection",get:function(){return this.style.protection},set:function(t){this._applyStyle("protection",t)}},{key:"border",get:function(){return this.style.border},set:function(t){this._applyStyle("border",t)}},{key:"fill",get:function(){return this.style.fill},set:function(t){this._applyStyle("fill",t)}}])&&n(e.prototype,r),s&&n(e,s),t}();e.exports=s},{"../utils/col-cache":19,"../utils/under-dash":25,"./enums":7}],5:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e||{}}var e,r;return e=t,(r=[{key:"add",value:function(t,e){return this.model[t]=e}},{key:"find",value:function(t){return this.model[t]}},{key:"remove",value:function(t){this.model[t]=void 0}}])&&n(e.prototype,r),t}();e.exports=i},{}],6:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/under-dash"),o=t("../utils/col-cache"),a=t("../utils/cell-matrix"),s=t("./range"),c=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/,u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.matrixMap={}}var e,r;return e=t,(r=[{key:"getMatrix",value:function(t){return this.matrixMap[t]||(this.matrixMap[t]=new a)}},{key:"add",value:function(t,e){var r=o.decodeEx(t);this.addEx(r,e)}},{key:"addEx",value:function(t,e){var r=this.getMatrix(e);if(t.top)for(var n=t.left;n<=t.right;n++)for(var i=t.top;i<=t.bottom;i++){var a={sheetName:t.sheetName,address:o.n2l(n)+i,row:i,col:n};r.addCellEx(a)}else r.addCellEx(t)}},{key:"remove",value:function(t,e){var r=o.decodeEx(t);this.removeEx(r,e)}},{key:"removeEx",value:function(t,e){this.getMatrix(e).removeCellEx(t)}},{key:"removeAllNames",value:function(t){i.each(this.matrixMap,(function(e){e.removeCellEx(t)}))}},{key:"forEach",value:function(t){i.each(this.matrixMap,(function(e,r){e.forEach((function(e){t(r,e)}))}))}},{key:"getNames",value:function(t){return this.getNamesEx(o.decodeEx(t))}},{key:"getNamesEx",value:function(t){return i.map(this.matrixMap,(function(e,r){return e.findCellEx(t)&&r})).filter(Boolean)}},{key:"_explore",value:function(t,e){e.mark=!1;var r,n,i=e.sheetName,o=new s(e.row,e.col,e.row,e.col,i);function a(r,n){var a=t.findCellAt(i,r,e.col);return!(!a||!a.mark||(o[n]=r,a.mark=!1,0))}for(n=e.row-1;a(n,"top");n--);for(n=e.row+1;a(n,"bottom");n++);function c(e,r){var a=[];for(n=o.top;n<=o.bottom;n++){var s=t.findCellAt(i,n,e);if(!s||!s.mark)return!1;a.push(s)}o[r]=e;for(var c=0;c<a.length;c++)a[c].mark=!1;return!0}for(r=e.col-1;c(r,"left");r--);for(r=e.col+1;c(r,"right");r++);return o}},{key:"getRanges",value:function(t,e){var r=this;return(e=e||this.matrixMap[t])?(e.forEach((function(t){t.mark=!0})),{name:t,ranges:e.map((function(t){return t.mark&&r._explore(e,t)})).filter(Boolean).map((function(t){return t.$shortRange}))}):{name:t,ranges:[]}}},{key:"normaliseMatrix",value:function(t,e){t.forEachInSheet(e,(function(t,e,r){t&&(t.row===e&&t.col===r||(t.row=e,t.col=r,t.address=o.n2l(r)+e))}))}},{key:"spliceRows",value:function(t,e,r,n){var o=this;i.each(this.matrixMap,(function(i){i.spliceRows(t,e,r,n),o.normaliseMatrix(i,t)}))}},{key:"spliceColumns",value:function(t,e,r,n){var o=this;i.each(this.matrixMap,(function(i){i.spliceColumns(t,e,r,n),o.normaliseMatrix(i,t)}))}},{key:"model",get:function(){var t=this;return i.map(this.matrixMap,(function(e,r){return t.getRanges(r,e)})).filter((function(t){return t.ranges.length}))},set:function(t){var e=this.matrixMap={};t.forEach((function(t){var r=e[t.name]=new a;t.ranges.forEach((function(t){c.test(t.split("!").pop()||"")&&r.addCell(t)}))}))}}])&&n(e.prototype,r),t}();e.exports=u},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":25,"./range":10}],7:[function(t,e,r){"use strict";e.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/col-cache"),o=t("./anchor"),a=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.worksheet=e,this.model=r}var e,r;return e=t,(r=[{key:"model",get:function(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}},set:function(t){var e=t.type,r=t.imageId,n=t.range,a=t.hyperlinks;if(this.type=e,this.imageId=r,"image"===e)if("string"==typeof n){var s=i.decode(n);this.range={tl:new o(this.worksheet,{col:s.left,row:s.top},-1),br:new o(this.worksheet,{col:s.right,row:s.bottom},0),editAs:"oneCell"}}else this.range={tl:new o(this.worksheet,n.tl,0),br:n.br&&new o(this.worksheet,n.br,0),ext:n.ext,editAs:n.editAs,hyperlinks:a||n.hyperlinks}}}])&&n(e.prototype,r),t}();e.exports=a},{"../utils/col-cache":19,"./anchor":2}],9:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=t("../utils/under-dash"),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.note=e}var e,r,a;return e=t,a=[{key:"fromModel",value:function(e){var r=new t;return r.model=e,r}}],(r=[{key:"model",get:function(){var e=null;switch(n(this.note)){case"string":e={type:"note",note:{texts:[{text:this.note}]}};break;default:e={type:"note",note:this.note}}return o.deepMerge({},t.DEFAULT_CONFIGS,e)},set:function(t){var e=t.note,r=e.texts;1===r.length&&1===Object.keys(r[0]).length?this.note=r[0].text:this.note=e}}])&&i(e.prototype,r),a&&i(e,a),t}();a.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},e.exports=a},{"../utils/under-dash":25}],10:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=t("../utils/col-cache"),a=function(){function t(){n(this,t),this.decode(arguments)}var e,r;return e=t,(r=[{key:"setTLBR",value:function(t,e,r,n,i){if(arguments.length<4){var a=o.decodeAddress(t),s=o.decodeAddress(e);this.model={top:Math.min(a.row,s.row),left:Math.min(a.col,s.col),bottom:Math.max(a.row,s.row),right:Math.max(a.col,s.col),sheetName:r},this.setTLBR(a.row,a.col,s.row,s.col,i)}else this.model={top:Math.min(t,r),left:Math.min(e,n),bottom:Math.max(t,r),right:Math.max(e,n),sheetName:i}}},{key:"decode",value:function(e){switch(e.length){case 5:this.setTLBR(e[0],e[1],e[2],e[3],e[4]);break;case 4:this.setTLBR(e[0],e[1],e[2],e[3]);break;case 3:this.setTLBR(e[0],e[1],e[2]);break;case 2:this.setTLBR(e[0],e[1]);break;case 1:var r=e[0];if(r instanceof t)this.model={top:r.model.top,left:r.model.left,bottom:r.model.bottom,right:r.model.right,sheetName:r.sheetName};else if(r instanceof Array)this.decode(r);else if(r.top&&r.left&&r.bottom&&r.right)this.model={top:r.top,left:r.left,bottom:r.bottom,right:r.right,sheetName:r.sheetName};else{var n=o.decodeEx(r);n.top?this.model={top:n.top,left:n.left,bottom:n.bottom,right:n.right,sheetName:n.sheetName}:this.model={top:n.row,left:n.col,bottom:n.row,right:n.col,sheetName:n.sheetName}}break;case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - ".concat(e.length))}}},{key:"expand",value:function(t,e,r,n){(!this.model.top||t<this.top)&&(this.top=t),(!this.model.left||e<this.left)&&(this.left=e),(!this.model.bottom||r>this.bottom)&&(this.bottom=r),(!this.model.right||n>this.right)&&(this.right=n)}},{key:"expandRow",value:function(t){if(t){var e=t.dimensions,r=t.number;e&&this.expand(r,e.min,r,e.max)}}},{key:"expandToAddress",value:function(t){var e=o.decodeEx(t);this.expand(e.row,e.col,e.row,e.col)}},{key:"toString",value:function(){return this.range}},{key:"intersects",value:function(t){return!(t.sheetName&&this.sheetName&&t.sheetName!==this.sheetName||t.bottom<this.top||t.top>this.bottom||t.right<this.left||t.left>this.right)}},{key:"contains",value:function(t){var e=o.decodeEx(t);return this.containsEx(e)}},{key:"containsEx",value:function(t){return(!t.sheetName||!this.sheetName||t.sheetName===this.sheetName)&&t.row>=this.top&&t.row<=this.bottom&&t.col>=this.left&&t.col<=this.right}},{key:"forEachAddress",value:function(t){for(var e=this.left;e<=this.right;e++)for(var r=this.top;r<=this.bottom;r++)t(o.encodeAddress(r,e),r,e)}},{key:"top",get:function(){return this.model.top||1},set:function(t){this.model.top=t}},{key:"left",get:function(){return this.model.left||1},set:function(t){this.model.left=t}},{key:"bottom",get:function(){return this.model.bottom||1},set:function(t){this.model.bottom=t}},{key:"right",get:function(){return this.model.right||1},set:function(t){this.model.right=t}},{key:"sheetName",get:function(){return this.model.sheetName},set:function(t){this.model.sheetName=t}},{key:"_serialisedSheetName",get:function(){var t=this.model.sheetName;return t?/^[a-zA-Z0-9]*$/.test(t)?"".concat(t,"!"):"'".concat(t,"'!"):""}},{key:"tl",get:function(){return o.n2l(this.left)+this.top}},{key:"$t$l",get:function(){return"$".concat(o.n2l(this.left),"$").concat(this.top)}},{key:"br",get:function(){return o.n2l(this.right)+this.bottom}},{key:"$b$r",get:function(){return"$".concat(o.n2l(this.right),"$").concat(this.bottom)}},{key:"range",get:function(){return"".concat(this._serialisedSheetName+this.tl,":").concat(this.br)}},{key:"$range",get:function(){return"".concat(this._serialisedSheetName+this.$t$l,":").concat(this.$b$r)}},{key:"shortRange",get:function(){return this.count>1?this.range:this._serialisedSheetName+this.tl}},{key:"$shortRange",get:function(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}},{key:"count",get:function(){return(1+this.bottom-this.top)*(1+this.right-this.left)}}])&&i(e.prototype,r),t}();e.exports=a},{"../utils/col-cache":19}],11:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/under-dash"),o=t("./enums"),a=t("../utils/col-cache"),s=t("./cell"),c=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._worksheet=e,this._number=r,this._cells=[],this.style={},this.outlineLevel=0}var e,r;return e=t,(r=[{key:"commit",value:function(){this._worksheet._commitRow(this)}},{key:"destroy",value:function(){delete this._worksheet,delete this._cells,delete this.style}},{key:"findCell",value:function(t){return this._cells[t-1]}},{key:"getCellEx",value:function(t){var e=this._cells[t.col-1];if(!e){var r=this._worksheet.getColumn(t.col);e=new s(this,r,t.address),this._cells[t.col-1]=e}return e}},{key:"getCell",value:function(t){if("string"==typeof t){var e=this._worksheet.getColumnKey(t);t=e?e.number:a.l2n(t)}return this._cells[t-1]||this.getCellEx({address:a.encodeAddress(this._number,t),row:this._number,col:t})}},{key:"splice",value:function(t,e){for(var r=t+e,n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var a,s,c,u=i.length-e,l=this._cells.length;if(u<0)for(a=t+i.length;a<=l;a++)c=this._cells[a-1],(s=this._cells[a-u-1])?((c=this.getCell(a)).value=s.value,c.style=s.style,c._comment=s._comment):c&&(c.value=null,c.style={},c._comment=void 0);else if(u>0)for(a=l;a>=r;a--)(s=this._cells[a-1])?((c=this.getCell(a+u)).value=s.value,c.style=s.style,c._comment=s._comment):this._cells[a+u-1]=void 0;for(a=0;a<i.length;a++)(c=this.getCell(t+a)).value=i[a],c.style={},c._comment=void 0}},{key:"eachCell",value:function(t,e){if(e||(e=t,t=null),t&&t.includeEmpty)for(var r=this._cells.length,n=1;n<=r;n++)e(this.getCell(n),n);else this._cells.forEach((function(t,r){t&&t.type!==o.ValueType.Null&&e(t,r+1)}))}},{key:"addPageBreak",value:function(t,e){var r=this._worksheet,n=Math.max(0,t-1)||0,i=Math.max(0,e-1)||16838,o={id:this._number,max:i,man:1};n&&(o.min=n),r.rowBreaks.push(o)}},{key:"_applyStyle",value:function(t,e){return this.style[t]=e,this._cells.forEach((function(r){r&&(r[t]=e)})),e}},{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"values",get:function(){var t=[];return this._cells.forEach((function(e){e&&e.type!==o.ValueType.Null&&(t[e.col]=e.value)})),t},set:function(t){var e=this;if(this._cells=[],t)if(t instanceof Array){var r=0;t.hasOwnProperty("0")&&(r=1),t.forEach((function(t,n){void 0!==t&&(e.getCellEx({address:a.encodeAddress(e._number,n+r),row:e._number,col:n+r}).value=t)}))}else this._worksheet.eachColumnKey((function(r,n){void 0!==t[n]&&(e.getCellEx({address:a.encodeAddress(e._number,r.number),row:e._number,col:r.number}).value=t[n])}))}},{key:"hasValues",get:function(){return i.some(this._cells,(function(t){return t&&t.type!==o.ValueType.Null}))}},{key:"cellCount",get:function(){return this._cells.length}},{key:"actualCellCount",get:function(){var t=0;return this.eachCell((function(){t++})),t}},{key:"dimensions",get:function(){var t=0,e=0;return this._cells.forEach((function(r){r&&r.type!==o.ValueType.Null&&((!t||t>r.col)&&(t=r.col),e<r.col&&(e=r.col))})),t>0?{min:t,max:e}:null}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(t){this._applyStyle("numFmt",t)}},{key:"font",get:function(){return this.style.font},set:function(t){this._applyStyle("font",t)}},{key:"alignment",get:function(){return this.style.alignment},set:function(t){this._applyStyle("alignment",t)}},{key:"protection",get:function(){return this.style.protection},set:function(t){this._applyStyle("protection",t)}},{key:"border",get:function(){return this.style.border},set:function(t){this._applyStyle("border",t)}},{key:"fill",get:function(){return this.style.fill},set:function(t){this._applyStyle("fill",t)}},{key:"hidden",get:function(){return!!this._hidden},set:function(t){this._hidden=t}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(t){this._outlineLevel=t}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}},{key:"model",get:function(){var t=[],e=0,r=0;return this._cells.forEach((function(n){if(n){var i=n.model;i&&((!e||e>n.col)&&(e=n.col),r<n.col&&(r=n.col),t.push(i))}})),this.height||t.length?{cells:t,number:this.number,min:e,max:r,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null},set:function(t){var e,r=this;if(t.number!==this._number)throw new Error("Invalid row number in model");this._cells=[],t.cells.forEach((function(t){switch(t.type){case s.Types.Merge:break;default:var n;if(t.address)n=a.decodeAddress(t.address);else if(e){var i=e.row,o=e.col+1;n={row:i,col:o,address:a.encodeAddress(i,o),$col$row:"$".concat(a.n2l(o),"$").concat(i)}}e=n,r.getCellEx(n).model=t}})),t.height?this.height=t.height:delete this.height,this.hidden=t.hidden,this.outlineLevel=t.outlineLevel||0,this.style=t.style&&JSON.parse(JSON.stringify(t.style))||{}}}])&&n(e.prototype,r),t}();e.exports=c},{"../utils/col-cache":19,"../utils/under-dash":25,"./cell":3,"./enums":7}],12:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}var a=t("../utils/col-cache"),s=function(){function t(e,r,i){n(this,t),this.table=e,this.column=r,this.index=i}return o(t,[{key:"_set",value:function(t,e){this.table.cacheState(),this.column[t]=e}},{key:"name",get:function(){return this.column.name},set:function(t){this._set("name",t)}},{key:"filterButton",get:function(){return this.column.filterButton},set:function(t){this.column.filterButton=t}},{key:"style",get:function(){return this.column.style},set:function(t){this.column.style=t}},{key:"totalsRowLabel",get:function(){return this.column.totalsRowLabel},set:function(t){this._set("totalsRowLabel",t)}},{key:"totalsRowFunction",get:function(){return this.column.totalsRowFunction},set:function(t){this._set("totalsRowFunction",t)}},{key:"totalsRowResult",get:function(){return this.column.totalsRowResult},set:function(t){this._set("totalsRowResult",t)}},{key:"totalsRowFormula",get:function(){return this.column.totalsRowFormula},set:function(t){this._set("totalsRowFormula",t)}}]),t}(),c=function(){function t(e,r){n(this,t),this.worksheet=e,r&&(this.table=r,this.validate(),this.store())}return o(t,[{key:"getFormula",value:function(t){switch(t.totalsRowFunction){case"none":return null;case"average":return"SUBTOTAL(101,".concat(this.table.name,"[").concat(t.name,"])");case"countNums":return"SUBTOTAL(102,".concat(this.table.name,"[").concat(t.name,"])");case"count":return"SUBTOTAL(103,".concat(this.table.name,"[").concat(t.name,"])");case"max":return"SUBTOTAL(104,".concat(this.table.name,"[").concat(t.name,"])");case"min":return"SUBTOTAL(105,".concat(this.table.name,"[").concat(t.name,"])");case"stdDev":return"SUBTOTAL(106,".concat(this.table.name,"[").concat(t.name,"])");case"var":return"SUBTOTAL(107,".concat(this.table.name,"[").concat(t.name,"])");case"sum":return"SUBTOTAL(109,".concat(this.table.name,"[").concat(t.name,"])");case"custom":return t.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: ".concat(t.totalsRowFunction))}}},{key:"validate",value:function(){var t=this,e=this.table,r=function(t,e,r){void 0===t[e]&&(t[e]=r)};r(e,"headerRow",!0),r(e,"totalsRow",!1),r(e,"style",{}),r(e.style,"theme","TableStyleMedium2"),r(e.style,"showFirstColumn",!1),r(e.style,"showLastColumn",!1),r(e.style,"showRowStripes",!1),r(e.style,"showColumnStripes",!1);var n=function(t,e){if(!t)throw new Error(e)};n(e.ref,"Table must have ref"),n(e.columns,"Table must have column definitions"),n(e.rows,"Table must have row definitions"),e.tl=a.decodeAddress(e.ref);var i=e.tl,o=i.row,s=i.col;n(o>0,"Table must be on valid row"),n(s>0,"Table must be on valid col");var c=this.width,u=this.filterHeight,l=this.tableHeight;e.autoFilterRef=a.encode(o,s,o+u-1,s+c-1),e.tableRef=a.encode(o,s,o+l-1,s+c-1),e.columns.forEach((function(e,i){n(e.name,"Column ".concat(i," must have a name")),0===i?r(e,"totalsRowLabel","Total"):(r(e,"totalsRowFunction","none"),e.totalsRowFormula=t.getFormula(e))}))}},{key:"store",value:function(){var t=this,e=function(t,e){e&&Object.keys(e).forEach((function(r){t[r]=e[r]}))},r=this.worksheet,n=this.table,i=n.tl,o=i.row,a=i.col,s=0;if(n.headerRow){var c=r.getRow(o+s++);n.columns.forEach((function(t,r){var n=t.style,i=t.name,o=c.getCell(a+r);o.value=i,e(o,n)}))}if(n.rows.forEach((function(t){var i=r.getRow(o+s++);t.forEach((function(t,r){var o=i.getCell(a+r);o.value=t,e(o,n.columns[r].style)}))})),n.totalsRow){var u=r.getRow(o+s++);n.columns.forEach((function(r,n){var i=u.getCell(a+n);if(0===n)i.value=r.totalsRowLabel;else{var o=t.getFormula(r);i.value=o?{formula:r.totalsRowFormula,result:r.totalsRowResult}:null}e(i,r.style)}))}}},{key:"load",value:function(t){var e=this,r=this.table,n=r.tl,i=n.row,o=n.col,a=0;if(r.headerRow){var s=t.getRow(i+a++);r.columns.forEach((function(t,e){s.getCell(o+e).value=t.name}))}if(r.rows.forEach((function(e){var r=t.getRow(i+a++);e.forEach((function(t,e){r.getCell(o+e).value=t}))})),r.totalsRow){var c=t.getRow(i+a++);r.columns.forEach((function(t,r){var n=c.getCell(o+r);0===r?n.value=t.totalsRowLabel:e.getFormula(t)&&(n.value={formula:t.totalsRowFormula,result:t.totalsRowResult})}))}}},{key:"cacheState",value:function(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}},{key:"commit",value:function(){if(this._cache){this.validate();var t=a.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(var e=0;e<this._cache.tableHeight;e++)for(var r=this.worksheet.getRow(t.row+e),n=0;n<this._cache.width;n++)r.getCell(t.col+n).value=null;else{for(var i=this.tableHeight;i<this._cache.tableHeight;i++)for(var o=this.worksheet.getRow(t.row+i),s=0;s<this._cache.width;s++)o.getCell(t.col+s).value=null;for(var c=0;c<this.tableHeight;c++)for(var u=this.worksheet.getRow(t.row+c),l=this.width;l<this._cache.width;l++)u.getCell(t.col+l).value=null}this.store()}}},{key:"addRow",value:function(t,e){this.cacheState(),void 0===e?this.table.rows.push(t):this.table.rows.splice(e,0,t)}},{key:"removeRows",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.rows.splice(t,e)}},{key:"getColumn",value:function(t){var e=this.table.columns[t];return new s(this,e,t)}},{key:"addColumn",value:function(t,e,r){this.cacheState(),void 0===r?(this.table.columns.push(t),this.table.rows.forEach((function(t,r){t.push(e[r])}))):(this.table.columns.splice(r,0,t),this.table.rows.forEach((function(t,n){t.splice(r,0,e[n])})))}},{key:"removeColumns",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.columns.splice(t,e),this.table.rows.forEach((function(r){r.splice(t,e)}))}},{key:"_assign",value:function(t,e,r){this.cacheState(),t[e]=r}},{key:"width",get:function(){return this.table.columns.length}},{key:"height",get:function(){return this.table.rows.length}},{key:"filterHeight",get:function(){return this.height+(this.table.headerRow?1:0)}},{key:"tableHeight",get:function(){return this.filterHeight+(this.table.totalsRow?1:0)}},{key:"model",get:function(){return this.table},set:function(t){this.table=t}},{key:"ref",get:function(){return this.table.ref},set:function(t){this._assign(this.table,"ref",t)}},{key:"name",get:function(){return this.table.name},set:function(t){this.table.name=t}},{key:"displayName",get:function(){return this.table.displyName||this.table.name}},{key:"displayNamename",set:function(t){this.table.displayName=t}},{key:"headerRow",get:function(){return this.table.headerRow},set:function(t){this._assign(this.table,"headerRow",t)}},{key:"totalsRow",get:function(){return this.table.totalsRow},set:function(t){this._assign(this.table,"totalsRow",t)}},{key:"theme",get:function(){return this.table.style.name},set:function(t){this.table.style.name=t}},{key:"showFirstColumn",get:function(){return this.table.style.showFirstColumn},set:function(t){this.table.style.showFirstColumn=t}},{key:"showLastColumn",get:function(){return this.table.style.showLastColumn},set:function(t){this.table.style.showLastColumn=t}},{key:"showRowStripes",get:function(){return this.table.style.showRowStripes},set:function(t){this.table.style.showRowStripes=t}},{key:"showColumnStripes",get:function(){return this.table.style.showColumnStripes},set:function(t){this.table.style.showColumnStripes=t}}]),t}();e.exports=c},{"../utils/col-cache":19}],13:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("./worksheet"),o=t("./defined-names"),a=t("../xlsx/xlsx"),s=t("../csv/csv"),c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new o}var e,r;return e=t,(r=[{key:"addWorksheet",value:function(t,e){var r=this.nextId;if(t&&t.length>31&&console.warn("Worksheet name ".concat(t," exceeds 31 chars. This will be truncated")),/[*?:/\\[\]]/.test(t))throw new Error("Worksheet name ".concat(t," cannot include any of the following characters: * ? : \\ / [ ]"));if(/(^')|('$)/.test(t))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: ".concat(t));if(t=(t||"sheet".concat(r)).substring(0,31),this._worksheets.find((function(e){return e&&e.name.toLowerCase()===t.toLowerCase()})))throw new Error("Worksheet name already exists: ".concat(t));e&&("string"==typeof e?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),e={properties:{tabColor:{argb:e}}}):(e.argb||e.theme||e.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),e={properties:{tabColor:e}}));var n=this._worksheets.reduce((function(t,e){return(e&&e.orderNo)>t?e.orderNo:t}),0),o=Object.assign({},e,{id:r,name:t,orderNo:n+1,workbook:this}),a=new i(o);return this._worksheets[r]=a,a}},{key:"removeWorksheetEx",value:function(t){delete this._worksheets[t.id]}},{key:"removeWorksheet",value:function(t){var e=this.getWorksheet(t);e&&e.destroy()}},{key:"getWorksheet",value:function(t){return void 0===t?this._worksheets.find(Boolean):"number"==typeof t?this._worksheets[t]:"string"==typeof t?this._worksheets.find((function(e){return e&&e.name===t})):void 0}},{key:"eachSheet",value:function(t){this.worksheets.forEach((function(e){t(e,e.id)}))}},{key:"clearThemes",value:function(){this._themes=void 0}},{key:"addImage",value:function(t){var e=this.media.length;return this.media.push(Object.assign({},t,{type:"image"})),e}},{key:"getImage",value:function(t){return this.media[t]}},{key:"xlsx",get:function(){return this._xlsx||(this._xlsx=new a(this)),this._xlsx}},{key:"csv",get:function(){return this._csv||(this._csv=new s(this)),this._csv}},{key:"nextId",get:function(){for(var t=1;t<this._worksheets.length;t++)if(!this._worksheets[t])return t;return this._worksheets.length||1}},{key:"worksheets",get:function(){return this._worksheets.slice(1).sort((function(t,e){return t.orderNo-e.orderNo})).filter(Boolean)}},{key:"definedNames",get:function(){return this._definedNames}},{key:"model",get:function(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map((function(t){return t.model})),sheets:this.worksheets.map((function(t){return t.model})).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}},set:function(t){var e=this;this.creator=t.creator,this.lastModifiedBy=t.lastModifiedBy,this.lastPrinted=t.lastPrinted,this.created=t.created,this.modified=t.modified,this.company=t.company,this.manager=t.manager,this.title=t.title,this.subject=t.subject,this.keywords=t.keywords,this.category=t.category,this.description=t.description,this.language=t.language,this.revision=t.revision,this.contentStatus=t.contentStatus,this.properties=t.properties,this.calcProperties=t.calcProperties,this._worksheets=[],t.worksheets.forEach((function(r){var n=r.id,o=r.name,a=r.state,s=t.sheets&&t.sheets.findIndex((function(t){return t.id===n}));(e._worksheets[n]=new i({id:n,name:o,orderNo:s,state:a,workbook:e})).model=r})),this._definedNames.model=t.definedNames,this.views=t.views,this._themes=t.themes,this.media=t.media||[]}}])&&n(e.prototype,r),t}();e.exports=c},{"../csv/csv":1,"../xlsx/xlsx":141,"./defined-names":6,"./worksheet":14}],14:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var u=t("../utils/under-dash"),l=t("../utils/col-cache"),f=t("./range"),h=t("./row"),d=t("./column"),p=t("./enums"),m=t("./image"),b=t("./table"),v=t("./data-validations"),g=t("../utils/encryptor"),y=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=e||{},this.id=e.id,this.orderNo=e.orderNo,this.name=e.name||"Sheet".concat(this.id),this.state=e.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this._workbook=e.workbook,this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!e.pageSetup||!e.pageSetup.fitToWidth&&!e.pageSetup.fitToHeight||e.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.dataValidations=new v,this.views=e.views||[],this.autoFilter=e.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}var e,r;return e=t,(r=[{key:"destroy",value:function(){this._workbook.removeWorksheetEx(this)}},{key:"getColumnKey",value:function(t){return this._keys[t]}},{key:"setColumnKey",value:function(t,e){this._keys[t]=e}},{key:"deleteColumnKey",value:function(t){delete this._keys[t]}},{key:"eachColumnKey",value:function(t){u.each(this._keys,t)}},{key:"getColumn",value:function(t){if("string"==typeof t){var e=this._keys[t];if(e)return e;t=l.l2n(t)}if(this._columns||(this._columns=[]),t>this._columns.length)for(var r=this._columns.length+1;r<=t;)this._columns.push(new d(this,r++));return this._columns[t-1]}},{key:"spliceColumns",value:function(t,e){for(var r=this,n=this._rows,i=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];if(a.length>0)for(var c=function(n){var i=[t,e];a.forEach((function(t){i.push(t[n]||null)}));var o=r.getRow(n+1);o.splice.apply(o,i)},u=0;u<i;u++)c(u);else this._rows.forEach((function(r){r&&r.splice(t,e)}));var l=a.length-e,f=t+e,h=this._columns.length;if(l<0)for(var d=t+a.length;d<=h;d++)this.getColumn(d).defn=this.getColumn(d-l).defn;else if(l>0)for(var p=h;p>=f;p--)this.getColumn(p+l).defn=this.getColumn(p).defn;for(var m=t;m<t+a.length;m++)this.getColumn(m).defn=null;this.workbook.definedNames.spliceColumns(this.name,t,e,a.length)}},{key:"_commitRow",value:function(){}},{key:"findRow",value:function(t){return this._rows[t-1]}},{key:"findRows",value:function(t,e){return this._rows.slice(t-1,t-1+e)}},{key:"getRow",value:function(t){var e=this._rows[t-1];return e||(e=this._rows[t-1]=new h(this,t)),e}},{key:"getRows",value:function(t,e){if(!(e<1)){for(var r=[],n=t;n<t+e;n++)r.push(this.getRow(n));return r}}},{key:"addRow",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n",r=this._nextRow,n=this.getRow(r);return n.values=t,this._setStyleOption(r,"i"===e[0]?e:"n"),n}},{key:"addRows",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n",n=[];return t.forEach((function(t){n.push(e.addRow(t,r))})),n}},{key:"insertRow",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";return this.spliceRows(t,0,e),this._setStyleOption(t,r),this.getRow(t)}},{key:"insertRows",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";if(this.spliceRows.apply(this,[t,0].concat(a(e))),"n"!==r)for(var n=0;n<e.length;n++)"o"===r[0]&&void 0!==this.findRow(e.length+t+n)?this._copyStyle(e.length+t+n,t+n,"+"===r[1]):"i"===r[0]&&void 0!==this.findRow(t-1)&&this._copyStyle(t-1,t+n,"+"===r[1]);return this.getRows(t,e.length)}},{key:"_setStyleOption",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";"o"===e[0]&&void 0!==this.findRow(t+1)?this._copyStyle(t+1,t,"+"===e[1]):"i"===e[0]&&void 0!==this.findRow(t-1)&&this._copyStyle(t-1,t,"+"===e[1])}},{key:"_copyStyle",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getRow(t),o=this.getRow(e);o.style=Object.freeze(i({},n.style)),n.eachCell({includeEmpty:r},(function(t,e){o.getCell(e).style=Object.freeze(i({},t.style))})),o.height=n.height}},{key:"duplicateRow",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this._rows[t-1],o=new Array(e).fill(i.values);this.spliceRows.apply(this,[t+1,n?0:e].concat(a(o)));for(var s=function(e){var n=r._rows[t+e];n.style=i.style,n.height=i.height,i.eachCell({includeEmpty:!0},(function(t,e){n.getCell(e).style=t.style}))},c=0;c<e;c++)s(c)}},{key:"spliceRows",value:function(t,e){for(var r=this,n=t+e,i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];var s,c,u=o.length,l=u-e,f=this._rows.length;if(l<0)for(s=n;s<=f;s++)(c=this._rows[s-1])?function(){var t=r.getRow(s+l);t.values=c.values,t.style=c.style,t.height=c.height,c.eachCell({includeEmpty:!0},(function(e,r){t.getCell(r).style=e.style})),r._rows[s-1]=void 0}():this._rows[s+l-1]=void 0;else if(l>0)for(s=f;s>=n;s--)(c=this._rows[s-1])?function(){var t=r.getRow(s+l);t.values=c.values,t.style=c.style,t.height=c.height,c.eachCell({includeEmpty:!0},(function(e,n){if(t.getCell(n).style=e.style,"MergeValue"===e._value.constructor.name){var i=r.getRow(e._row._number+u).getCell(n),o=e._value._master,a=r.getRow(o._row._number+u).getCell(o._column._number);i.merge(a)}}))}():this._rows[s+l-1]=void 0;for(s=0;s<u;s++){var h=this.getRow(t+s);h.style={},h.values=o[s]}this.workbook.definedNames.spliceRows(this.name,t,e,u)}},{key:"eachRow",value:function(t,e){if(e||(e=t,t=void 0),t&&t.includeEmpty)for(var r=this._rows.length,n=1;n<=r;n++)e(this.getRow(n),n);else this._rows.forEach((function(t){t&&t.hasValues&&e(t,t.number)}))}},{key:"getSheetValues",value:function(){var t=[];return this._rows.forEach((function(e){e&&(t[e.number]=e.values)})),t}},{key:"findCell",value:function(t,e){var r=l.getAddress(t,e),n=this._rows[r.row-1];return n?n.findCell(r.col):void 0}},{key:"getCell",value:function(t,e){var r=l.getAddress(t,e);return this.getRow(r.row).getCellEx(r)}},{key:"mergeCells",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=new f(e);this._mergeCellsInternal(n)}},{key:"mergeCellsWithoutStyle",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=new f(e);this._mergeCellsInternal(n,!0)}},{key:"_mergeCellsInternal",value:function(t,e){u.each(this._merges,(function(e){if(e.intersects(t))throw new Error("Cannot merge already merged cells")}));for(var r=this.getCell(t.top,t.left),n=t.top;n<=t.bottom;n++)for(var i=t.left;i<=t.right;i++)(n>t.top||i>t.left)&&this.getCell(n,i).merge(r,e);this._merges[r.address]=t}},{key:"_unMergeMaster",value:function(t){var e=this._merges[t.address];if(e){for(var r=e.top;r<=e.bottom;r++)for(var n=e.left;n<=e.right;n++)this.getCell(r,n).unmerge();delete this._merges[t.address]}}},{key:"unMergeCells",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=new f(e),i=n.top;i<=n.bottom;i++)for(var o=n.left;o<=n.right;o++){var a=this.findCell(i,o);a&&(a.type===p.ValueType.Merge?this._unMergeMaster(a.master):this._merges[a.address]&&this._unMergeMaster(a))}}},{key:"fillFormula",value:function(t,e,r){var n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"shared",o=l.decode(t),a=o.top,s=o.left,c=o.bottom,u=o.right,f=u-s+1,h=l.encodeAddress(a,s),d="shared"===i;n="function"==typeof r?r:Array.isArray(r)?Array.isArray(r[0])?function(t,e){return r[t-a][e-s]}:function(t,e){return r[(t-a)*f+(e-s)]}:function(){};for(var p=!0,m=a;m<=c;m++)for(var b=s;b<=u;b++)p?(this.getCell(m,b).value={shareType:i,formula:e,ref:t,result:n(m,b)},p=!1):this.getCell(m,b).value=d?{sharedFormula:h,result:n(m,b)}:n(m,b)}},{key:"addImage",value:function(t,e){var r={type:"image",imageId:t,range:e};this._media.push(new m(this,r))}},{key:"getImages",value:function(){return this._media.filter((function(t){return"image"===t.type}))}},{key:"addBackgroundImage",value:function(t){var e={type:"background",imageId:t};this._media.push(new m(this,e))}},{key:"getBackgroundImageId",value:function(){var t=this._media.find((function(t){return"background"===t.type}));return t&&t.imageId}},{key:"protect",value:function(t,e){var r=this;return new Promise((function(n){r.sheetProtection={sheet:!0},e&&"spinCount"in e&&(e.spinCount=Number.isFinite(e.spinCount)?Math.round(Math.max(0,e.spinCount)):1e5),t&&(r.sheetProtection.algorithmName="SHA-512",r.sheetProtection.saltValue=g.randomBytes(16).toString("base64"),r.sheetProtection.spinCount=e&&"spinCount"in e?e.spinCount:1e5,r.sheetProtection.hashValue=g.convertPasswordToHash(t,"SHA512",r.sheetProtection.saltValue,r.sheetProtection.spinCount)),e&&(r.sheetProtection=Object.assign(r.sheetProtection,e),!t&&"spinCount"in e&&delete r.sheetProtection.spinCount),n()}))}},{key:"unprotect",value:function(){this.sheetProtection=null}},{key:"addTable",value:function(t){var e=new b(this,t);return this.tables[t.name]=e,e}},{key:"getTable",value:function(t){return this.tables[t]}},{key:"removeTable",value:function(t){delete this.tables[t]}},{key:"getTables",value:function(){return Object.values(this.tables)}},{key:"addConditionalFormatting",value:function(t){this.conditionalFormattings.push(t)}},{key:"removeConditionalFormatting",value:function(t){"number"==typeof t?this.conditionalFormattings.splice(t,1):this.conditionalFormattings=t instanceof Function?this.conditionalFormattings.filter(t):[]}},{key:"_parseRows",value:function(t){var e=this;this._rows=[],t.rows.forEach((function(t){var r=new h(e,t.number);e._rows[r.number-1]=r,r.model=t}))}},{key:"_parseMergeCells",value:function(t){var e=this;u.each(t.mergeCells,(function(t){e.mergeCellsWithoutStyle(t)}))}},{key:"workbook",get:function(){return this._workbook}},{key:"dimensions",get:function(){var t=new f;return this._rows.forEach((function(e){if(e){var r=e.dimensions;r&&t.expand(e.number,r.min,e.number,r.max)}})),t}},{key:"columns",get:function(){return this._columns},set:function(t){var e=this;this._headerRowCount=t.reduce((function(t,e){var r=(e.header?1:e.headers&&e.headers.length)||0;return Math.max(t,r)}),0);var r=1,n=this._columns=[];t.forEach((function(t){var i=new d(e,r++,!1);n.push(i),i.defn=t}))}},{key:"lastColumn",get:function(){return this.getColumn(this.columnCount)}},{key:"columnCount",get:function(){var t=0;return this.eachRow((function(e){t=Math.max(t,e.cellCount)})),t}},{key:"actualColumnCount",get:function(){var t=[],e=0;return this.eachRow((function(r){r.eachCell((function(r){var n=r.col;t[n]||(t[n]=!0,e++)}))})),e}},{key:"_lastRowNumber",get:function(){for(var t=this._rows,e=t.length;e>0&&void 0===t[e-1];)e--;return e}},{key:"_nextRow",get:function(){return this._lastRowNumber+1}},{key:"lastRow",get:function(){if(this._rows.length)return this._rows[this._rows.length-1]}},{key:"rowCount",get:function(){return this._lastRowNumber}},{key:"actualRowCount",get:function(){var t=0;return this.eachRow((function(){t++})),t}},{key:"hasMerges",get:function(){return u.some(this._merges,Boolean)}},{key:"tabColor",get:function(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor},set:function(t){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=t}},{key:"model",get:function(){var t={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((function(t){return t.model})),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((function(t){return t.model})),conditionalFormattings:this.conditionalFormattings};t.cols=d.toModel(this.columns);var e=t.rows=[],r=t.dimensions=new f;return this._rows.forEach((function(t){var n=t&&t.model;n&&(r.expand(n.number,n.min,n.number,n.max),e.push(n))})),t.merges=[],u.each(this._merges,(function(e){t.merges.push(e.range)})),t},set:function(t){var e=this;this.name=t.name,this._columns=d.fromModel(this,t.cols),this._parseRows(t),this._parseMergeCells(t),this.dataValidations=new v(t.dataValidations),this.properties=t.properties,this.pageSetup=t.pageSetup,this.headerFooter=t.headerFooter,this.views=t.views,this.autoFilter=t.autoFilter,this._media=t.media.map((function(t){return new m(e,t)})),this.sheetProtection=t.sheetProtection,this.tables=t.tables.reduce((function(t,e){var r=new b;return r.model=e,t[e.name]=r,t}),{}),this.conditionalFormattings=t.conditionalFormattings}}])&&c(e.prototype,r),t}();e.exports=y},{"../utils/col-cache":19,"../utils/encryptor":20,"../utils/under-dash":25,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(t,e,r){"use strict";t("core-js/modules/es.promise"),t("core-js/modules/es.object.assign"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.values"),t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.async-iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.find-index"),t("core-js/modules/es.array.find"),t("core-js/modules/es.string.from-code-point"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.number.is-nan"),t("regenerator-runtime/runtime");var n={Workbook:t("./doc/workbook")},i=t("./doc/enums");Object.keys(i).forEach((function(t){n[t]=i[t]})),e.exports=n},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":316,"core-js/modules/es.array.find-index":315,"core-js/modules/es.array.includes":317,"core-js/modules/es.array.iterator":318,"core-js/modules/es.number.is-nan":319,"core-js/modules/es.object.assign":320,"core-js/modules/es.object.keys":321,"core-js/modules/es.object.values":322,"core-js/modules/es.promise":323,"core-js/modules/es.string.from-code-point":324,"core-js/modules/es.string.includes":325,"core-js/modules/es.symbol":327,"core-js/modules/es.symbol.async-iterator":326,"regenerator-runtime/runtime":492}],16:[function(t,e,r){"use strict";var n="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");r.bufferToString=function(t){return"string"==typeof t?t:n?n.decode(t):t.toString()}},{}],17:[function(t,e,r){"use strict";var n="undefined"==typeof TextEncoder?null:new TextEncoder("utf-8"),i=t("buffer").Buffer;r.stringToBuffer=function(t){return"string"!=typeof t?t:n?i.from(n.encode(t).buffer):i.from(t)}},{buffer:216}],18:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("./under-dash"),o=t("./col-cache"),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.template=e,this.sheets={}}var e,r;return e=t,(r=[{key:"addCell",value:function(t){this.addCellEx(o.decodeEx(t))}},{key:"getCell",value:function(t){return this.findCellEx(o.decodeEx(t),!0)}},{key:"findCell",value:function(t){return this.findCellEx(o.decodeEx(t),!1)}},{key:"findCellAt",value:function(t,e,r){var n=this.sheets[t],i=n&&n[e];return i&&i[r]}},{key:"addCellEx",value:function(t){if(t.top)for(var e=t.top;e<=t.bottom;e++)for(var r=t.left;r<=t.right;r++)this.getCellAt(t.sheetName,e,r);else this.findCellEx(t,!0)}},{key:"getCellEx",value:function(t){return this.findCellEx(t,!0)}},{key:"findCellEx",value:function(t,e){var r=this.findSheet(t,e),n=this.findSheetRow(r,t,e);return this.findRowCell(n,t,e)}},{key:"getCellAt",value:function(t,e,r){var n=this.sheets[t]||(this.sheets[t]=[]),i=n[e]||(n[e]=[]);return i[r]||(i[r]={sheetName:t,address:o.n2l(r)+e,row:e,col:r})}},{key:"removeCellEx",value:function(t){var e=this.findSheet(t);if(e){var r=this.findSheetRow(e,t);r&&delete r[t.col]}}},{key:"forEachInSheet",value:function(t,e){var r=this.sheets[t];r&&r.forEach((function(t,r){t&&t.forEach((function(t,n){t&&e(t,r,n)}))}))}},{key:"forEach",value:function(t){var e=this;i.each(this.sheets,(function(r,n){e.forEachInSheet(n,t)}))}},{key:"map",value:function(t){var e=[];return this.forEach((function(r){e.push(t(r))})),e}},{key:"findSheet",value:function(t,e){var r=t.sheetName;return this.sheets[r]?this.sheets[r]:e?this.sheets[r]=[]:void 0}},{key:"findSheetRow",value:function(t,e,r){var n=e.row;return t&&t[n]?t[n]:r?t[n]=[]:void 0}},{key:"findRowCell",value:function(t,e,r){var n=e.col;return t&&t[n]?t[n]:r?t[n]=this.template?Object.assign(e,JSON.parse(JSON.stringify(this.template))):e:void 0}},{key:"spliceRows",value:function(t,e,r,n){var i=this.sheets[t];if(i){for(var o=[],a=0;a<n;a++)o.push([]);i.splice.apply(i,[e,r].concat(o))}}},{key:"spliceColumns",value:function(t,e,r,n){var o=this.sheets[t];if(o){for(var a=[],s=0;s<n;s++)a.push(null);i.each(o,(function(t){t.splice.apply(t,[e,r].concat(a))}))}}}])&&n(e.prototype,r),t}();e.exports=a},{"./col-cache":19,"./under-dash":25}],19:[function(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=/^[A-Z]+\d+$/,c={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:function(t){return t<=26?1:t<=676?2:3},_fill:function(t){var e,r,n,i,o,a=1;if(t>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&t>=1){for(;a<=26;)e=this._dictionary[a-1],this._n2l[a]=e,this._l2n[e]=a,a++;this._l2nFill=1}if(this._l2nFill<2&&t>=2){for(a=27;a<=702;)n=(r=a-27)%26,i=Math.floor(r/26),e=this._dictionary[i]+this._dictionary[n],this._n2l[a]=e,this._l2n[e]=a,a++;this._l2nFill=2}if(this._l2nFill<3&&t>=3){for(a=703;a<=16384;)n=(r=a-703)%26,i=Math.floor(r/26)%26,o=Math.floor(r/676),e=this._dictionary[o]+this._dictionary[i]+this._dictionary[n],this._n2l[a]=e,this._l2n[e]=a,a++;this._l2nFill=3}},l2n:function(t){if(this._l2n[t]||this._fill(t.length),!this._l2n[t])throw new Error("Out of bounds. Invalid column letter: ".concat(t));return this._l2n[t]},n2l:function(t){if(t<1||t>16384)throw new Error("".concat(t," is out of bounds. Excel supports columns from 1 to 16384"));return this._n2l[t]||this._fill(this._level(t)),this._n2l[t]},_hash:{},validateAddress:function(t){if(!s.test(t))throw new Error("Invalid Address: ".concat(t));return!0},decodeAddress:function(t){var e=t.length<5&&this._hash[t];if(e)return e;for(var r,n=!1,i="",o=0,a=!1,s="",c=0,u=0;u<t.length;u++)if(r=t.charCodeAt(u),!a&&r>=65&&r<=90)n=!0,i+=t[u],o=26*o+r-64;else if(r>=48&&r<=57)a=!0,s+=t[u],c=10*c+r-48;else if(a&&n&&36!==r)break;if(n){if(o>16384)throw new Error("Out of bounds. Invalid column letter: ".concat(i))}else o=void 0;a||(c=void 0);var l={address:t=i+s,col:o,row:c,$col$row:"$".concat(i,"$").concat(s)};return o<=100&&c<=100&&(this._hash[t]=l,this._hash[l.$col$row]=l),l},getAddress:function(t,e){if(e){var r=this.n2l(e)+t;return this.decodeAddress(r)}return this.decodeAddress(t)},decode:function(t){var e=t.split(":");if(2===e.length){var r=this.decodeAddress(e[0]),n=this.decodeAddress(e[1]),i={top:Math.min(r.row,n.row),left:Math.min(r.col,n.col),bottom:Math.max(r.row,n.row),right:Math.max(r.col,n.col)};return i.tl=this.n2l(i.left)+i.top,i.br=this.n2l(i.right)+i.bottom,i.dimensions="".concat(i.tl,":").concat(i.br),i}return this.decodeAddress(t)},decodeEx:function(t){var e=t.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),r=e[1]||e[2],n=e[3],i=n.split(":");if(i.length>1){var s=this.decodeAddress(i[0]),c=this.decodeAddress(i[1]),u=Math.min(s.row,c.row),l=Math.min(s.col,c.col),f=Math.max(s.row,c.row),h=Math.max(s.col,c.col);return s=this.n2l(l)+u,c=this.n2l(h)+f,{top:u,left:l,bottom:f,right:h,sheetName:r,tl:{address:s,col:l,row:u,$col$row:"$".concat(this.n2l(l),"$").concat(u),sheetName:r},br:{address:c,col:h,row:f,$col$row:"$".concat(this.n2l(h),"$").concat(f),sheetName:r},dimensions:"".concat(s,":").concat(c)}}if(n.startsWith("#"))return r?{sheetName:r,error:n}:{error:n};var d=this.decodeAddress(n);return r?function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({sheetName:r},d):d},encodeAddress:function(t,e){return c.n2l(e)+t},encode:function(){switch(arguments.length){case 2:return c.encodeAddress(arguments[0],arguments[1]);case 4:return"".concat(c.encodeAddress(arguments[0],arguments[1]),":").concat(c.encodeAddress(arguments[2],arguments[3]));default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange:function(t,e){var r=n(t,5),i=r[0],o=r[1],a=r[3],s=r[4],c=n(e,2),u=c[0],l=c[1];return u>=i&&u<=a&&l>=o&&l<=s}};e.exports=c},{}],20:[function(t,e,r){(function(r){"use strict";var n=t("crypto"),i={hash:function(t){for(var e=n.createHash(t),i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return e.update(r.concat(o)),e.digest()},convertPasswordToHash:function(t,e,i,o){if(e=e.toLowerCase(),n.getHashes().indexOf(e)<0)throw new Error("Hash algorithm '".concat(e,"' not supported!"));for(var a=r.from(t,"utf16le"),s=this.hash(e,r.from(i,"base64"),a),c=0;c<o;c++){var u=r.alloc(4);u.writeUInt32LE(c,0),s=this.hash(e,s,u)}return s.toString("base64")},randomBytes:function(t){return n.randomBytes(t)}};e.exports=i}).call(this,t("buffer").Buffer)},{buffer:216,crypto:335}],21:[function(t,e,r){"use strict";function i(t){return new a(t)}function o(t){var e,r;function n(e,r){try{var o=t[e](r),s=o.value,c=s instanceof a;Promise.resolve(c?s.wrapped:s).then((function(t){c?n("return"===e?"return":"next",t):i(o.done?"return":"normal",t)}),(function(t){n("throw",t)}))}catch(t){i("throw",t)}}function i(t,i){switch(t){case"return":e.resolve({value:i,done:!0});break;case"throw":e.reject(i);break;default:e.resolve({value:i,done:!1})}(e=e.next)?n(e.key,e.arg):r=null}this._invoke=function(t,i){return new Promise((function(o,a){var s={key:t,arg:i,resolve:o,reject:a,next:null};r?r=r.next=s:(e=r=s,n(t,i))}))},"function"!=typeof t.return&&(this.return=void 0)}function a(t){this.wrapped=t}function s(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}"function"==typeof Symbol&&Symbol.asyncIterator&&(o.prototype[Symbol.asyncIterator]=function(){return this}),o.prototype.next=function(t){return this._invoke("next",t)},o.prototype.throw=function(t){return this._invoke("throw",t)},o.prototype.return=function(t){return this._invoke("return",t)};var c=t("saxes").SaxesParser,u=t("readable-stream").PassThrough,l=t("./browser-buffer-decode").bufferToString;e.exports=function(){var t,e=(t=n.mark((function t(e){var r,o,a,f,h,d,p,m,b,v;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.pipe&&!e[Symbol.asyncIterator]&&(e=e.pipe(new u)),(r=new c).on("error",(function(t){o=t})),a=[],r.on("opentag",(function(t){return a.push({eventType:"opentag",value:t})})),r.on("text",(function(t){return a.push({eventType:"text",value:t})})),r.on("closetag",(function(t){return a.push({eventType:"closetag",value:t})})),f=!0,h=!1,t.prev=9,p=s(e);case 11:return t.next=13,i(p.next());case 13:return m=t.sent,f=m.done,t.next=17,i(m.value);case 17:if(b=t.sent,f){t.next=29;break}if(v=b,r.write(l(v)),!o){t.next=23;break}throw o;case 23:return t.next=25,a;case 25:a=[];case 26:f=!0,t.next=11;break;case 29:t.next=35;break;case 31:t.prev=31,t.t0=t.catch(9),h=!0,d=t.t0;case 35:if(t.prev=35,t.prev=36,f||null==p.return){t.next=40;break}return t.next=40,i(p.return());case 40:if(t.prev=40,!h){t.next=43;break}throw d;case 43:return t.finish(40);case 44:return t.finish(35);case 45:case"end":return t.stop()}}),t,null,[[9,31,35,45],[36,,40,44]])})),function(){return new o(t.apply(this,arguments))});return function(t){return e.apply(this,arguments)}}()},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],22:[function(t,e,r){"use strict";var n=t("./col-cache"),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,o=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;e.exports={slideFormula:function(t,e,r){var a=n.decode(e),s=n.decode(r);return t.replace(i,(function(t,e,r,i,c){if(c)return t;var u=o.exec(i);if(u){var l=u[1],f=u[2].toUpperCase(),h=u[3],d=u[4];if(f.length>3||3===f.length&&f>"XFD")return t;var p=n.l2n(f),m=parseInt(d,10);return l||(p+=s.col-a.col),h||(m+=s.row-a.row),(e||"")+(l||"")+n.n2l(p)+(h||"")+m}return t}))}}},{"./col-cache":19}],23:[function(t,e,r){(function(r,i){"use strict";function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function s(t){o(a,n,i,s,c,"next",t)}function c(t){o(a,n,i,s,c,"throw",t)}s(void 0)}))}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),t}var l=t("readable-stream"),f=t("./utils"),h=t("./string-buf"),d=function(){function t(e,r){s(this,t),this._data=e,this._encoding=r}return u(t,[{key:"copy",value:function(t,e,r,n){return this.toBuffer().copy(t,e,r,n)}},{key:"toBuffer",value:function(){return this._buffer||(this._buffer=i.from(this._data,this._encoding)),this._buffer}},{key:"length",get:function(){return this.toBuffer().length}}]),t}(),p=function(){function t(e){s(this,t),this._data=e}return u(t,[{key:"copy",value:function(t,e,r,n){return this._data._buf.copy(t,e,r,n)}},{key:"toBuffer",value:function(){return this._data.toBuffer()}},{key:"length",get:function(){return this._data.length}}]),t}(),m=function(){function t(e){s(this,t),this._data=e}return u(t,[{key:"copy",value:function(t,e,r,n){this._data.copy(t,e,r,n)}},{key:"toBuffer",value:function(){return this._data}},{key:"length",get:function(){return this._data.length}}]),t}(),b=function(){function t(e){s(this,t),this.size=e,this.buffer=i.alloc(e),this.iRead=0,this.iWrite=0}return u(t,[{key:"toBuffer",value:function(){if(0===this.iRead&&this.iWrite===this.size)return this.buffer;var t=i.alloc(this.iWrite-this.iRead);return this.buffer.copy(t,0,this.iRead,this.iWrite),t}},{key:"read",value:function(t){var e;return 0===t?null:void 0===t||t>=this.length?(e=this.toBuffer(),this.iRead=this.iWrite,e):(e=i.alloc(t),this.buffer.copy(e,0,this.iRead,t),this.iRead+=t,e)}},{key:"write",value:function(t,e,r){var n=Math.min(r,this.size-this.iWrite);return t.copy(this.buffer,this.iWrite,e,e+n),this.iWrite+=n,n}},{key:"length",get:function(){return this.iWrite-this.iRead}},{key:"eod",get:function(){return this.iRead===this.iWrite}},{key:"full",get:function(){return this.iWrite===this.size}}]),t}(),v=function(t){t=t||{},this.bufSize=t.bufSize||1048576,this.buffers=[],this.batch=t.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};f.inherits(v,l.Duplex,{toBuffer:function(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return i.concat(this.buffers.map((function(t){return t.toBuffer()})))}},_getWritableBuffer:function(){if(this.buffers.length){var t=this.buffers[this.buffers.length-1];if(!t.full)return t}var e=new b(this.bufSize);return this.buffers.push(e),e},_pipe:function(t){var e=this;return a(n.mark((function r(){var i;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=function(e){return new Promise((function(r){e.write(t.toBuffer(),(function(){r()}))}))},r.next=3,Promise.all(e.pipes.map(i));case 3:case"end":return r.stop()}}),r)})))()},_writeToBuffers:function(t){for(var e=0,r=t.length;e<r;)e+=this._getWritableBuffer().write(t,e,r-e)},write:function(t,e,o){var s=this;return a(n.mark((function a(){var c;return n.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e instanceof Function&&(o=e,e="utf8"),o=o||f.nop,!(t instanceof h)){n.next=6;break}c=new p(t),n.next=15;break;case 6:if(!(t instanceof i)){n.next=10;break}c=new m(t),n.next=15;break;case 10:if(!("string"==typeof t||t instanceof String||t instanceof ArrayBuffer)){n.next=14;break}c=new d(t,e),n.next=15;break;case 14:throw new Error("Chunk must be one of type String, Buffer or StringBuf.");case 15:if(!s.pipes.length){n.next=31;break}if(!s.batch){n.next=21;break}for(s._writeToBuffers(c);!s.corked&&s.buffers.length>1;)s._pipe(s.buffers.shift());n.next=29;break;case 21:if(s.corked){n.next=27;break}return n.next=24,s._pipe(c);case 24:o(),n.next=29;break;case 27:s._writeToBuffers(c),r.nextTick(o);case 29:n.next=34;break;case 31:s.paused||s.emit("data",c.toBuffer()),s._writeToBuffers(c),s.emit("readable");case 34:return n.abrupt("return",!0);case 35:case"end":return n.stop()}}),a)})))()},cork:function(){this.corked=!0},_flush:function(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork:function(){this.corked=!1,this._flush()},end:function(t,e,r){var n=this,i=function(t){t?r(t):(n._flush(),n.pipes.forEach((function(t){t.end()})),n.emit("finish"))};t?this.write(t,e,i):i()},read:function(t){var e;if(t){for(e=[];t&&this.buffers.length&&!this.buffers[0].eod;){var r=this.buffers[0],n=r.read(t);t-=n.length,e.push(n),r.eod&&r.full&&this.buffers.shift()}return i.concat(e)}return e=this.buffers.map((function(t){return t.toBuffer()})).filter(Boolean),this.buffers=[],i.concat(e)},setEncoding:function(t){this.encoding=t},pause:function(){this.paused=!0},resume:function(){this.paused=!1},isPaused:function(){return!!this.paused},pipe:function(t){this.pipes.push(t),!this.paused&&this.buffers.length&&this.end()},unpipe:function(t){this.pipes=this.pipes.filter((function(e){return e!==t}))},unshift:function(){throw new Error("Not Implemented")},wrap:function(){throw new Error("Not Implemented")}}),e.exports=v}).call(this,t("_process"),t("buffer").Buffer)},{"./string-buf":24,"./utils":26,_process:467,buffer:216,"readable-stream":491}],24:[function(t,e,r){(function(t){"use strict";function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var n=function(){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this._buf=t.alloc(r&&r.size||16384),this._encoding=r&&r.encoding||"utf8",this._inPos=0,this._buffer=void 0}var n,i;return n=e,(i=[{key:"toBuffer",value:function(){return this._buffer||(this._buffer=t.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}},{key:"reset",value:function(t){t=t||0,this._buffer=void 0,this._inPos=t}},{key:"_grow",value:function(e){for(var r=2*this._buf.length;r<e;)r*=2;var n=t.alloc(r);this._buf.copy(n,0),this._buf=n}},{key:"addText",value:function(t){this._buffer=void 0;for(var e=this._inPos+this._buf.write(t,this._inPos,this._encoding);e>=this._buf.length-4;)this._grow(this._inPos+t.length),e=this._inPos+this._buf.write(t,this._inPos,this._encoding);this._inPos=e}},{key:"addStringBuf",value:function(t){t.length&&(this._buffer=void 0,this.length+t.length>this.capacity&&this._grow(this.length+t.length),t._buf.copy(this._buf,this._inPos,0,t.length),this._inPos+=t.length)}},{key:"length",get:function(){return this._inPos}},{key:"capacity",get:function(){return this._buf.length}},{key:"buffer",get:function(){return this._buf}}])&&r(n.prototype,i),e}();e.exports=n}).call(this,t("buffer").Buffer)},{buffer:216}],25:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=Object.prototype.toString,o=/["&<>]/,a={each:function(t,e){t&&(Array.isArray(t)?t.forEach(e):Object.keys(t).forEach((function(r){e(t[r],r)})))},some:function(t,e){return!!t&&(Array.isArray(t)?t.some(e):Object.keys(t).some((function(r){return e(t[r],r)})))},every:function(t,e){return!t||(Array.isArray(t)?t.every(e):Object.keys(t).every((function(r){return e(t[r],r)})))},map:function(t,e){return t?Array.isArray(t)?t.map(e):Object.keys(t).map((function(r){return e(t[r],r)})):[]},keyBy:function(t,e){return t.reduce((function(t,r){return t[r[e]]=r,t}),{})},isEqual:function(t,e){var r=n(t),i=n(e),o=Array.isArray(t),s=Array.isArray(e);if(r!==i)return!1;switch(n(t)){case"object":return o||s?!(!o||!s)&&t.length===e.length&&t.every((function(t,r){var n=e[r];return a.isEqual(t,n)})):a.every(t,(function(t,r){var n=e[r];return a.isEqual(t,n)}));default:return t===e}},escapeHtml:function(t){var e=o.exec(t);if(!e)return t;for(var r="",n="",i=0,a=e.index;a<t.length;a++){switch(t.charAt(a)){case'"':n="&quot;";break;case"&":n="&amp;";break;case"'":n="&apos;";break;case"<":n="&lt;";break;case">":n="&gt;";break;default:continue}i!==a&&(r+=t.substring(i,a)),i=a+1,r+=n}return i!==a?r+t.substring(i,a):r},strcmp:function(t,e){return t<e?-1:t>e?1:0},isUndefined:function(t){return"[object Undefined]"===i.call(t)},isObject:function(t){return"[object Object]"===i.call(t)},deepMerge:function(){var t,e,r,n=arguments[0]||{},i=arguments.length;function o(i,o){t=n[o],r=Array.isArray(i),a.isObject(i)||r?(r?(r=!1,e=t&&Array.isArray(t)?t:[]):e=t&&a.isObject(t)?t:{},n[o]=a.deepMerge(e,i)):a.isUndefined(i)||(n[o]=i)}for(var s=0;s<i;s++)a.each(arguments[s],o);return n}};e.exports=a},{}],26:[function(t,r,n){(function(e,n){"use strict";var i=t("fs"),o=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,a={nop:function(){},promiseImmediate:function(t){return new Promise((function(r){e.setImmediate?n((function(){r(t)})):setTimeout((function(){r(t)}),1)}))},inherits:function(t,e,r,n){t.super_=e,n||(n=r,r=null),r&&Object.keys(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}));var i={constructor:{value:t,enumerable:!1,writable:!1,configurable:!0}};n&&Object.keys(n).forEach((function(t){i[t]=Object.getOwnPropertyDescriptor(n,t)})),t.prototype=Object.create(e.prototype,i)},dateToExcel:function(t,e){return 25569+t.getTime()/864e5-(e?1462:0)},excelToDate:function(t,e){var r=Math.round(24*(t-25569+(e?1462:0))*3600*1e3);return new Date(r)},parsePath:function(t){var e=t.lastIndexOf("/");return{path:t.substring(0,e),name:t.substring(e+1)}},getRelsPath:function(t){var e=a.parsePath(t);return"".concat(e.path,"/_rels/").concat(e.name,".rels")},xmlEncode:function(t){var e=o.exec(t);if(!e)return t;for(var r="",n="",i=0,a=e.index;a<t.length;a++){var s=t.charCodeAt(a);switch(s){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&apos;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;case 127:n="";break;default:if(s<=31&&(s<=8||s>=11&&13!==s)){n="";break}continue}i!==a&&(r+=t.substring(i,a)),i=a+1,n&&(r+=n)}return i!==a?r+t.substring(i,a):r},xmlDecode:function(t){return t.replace(/&([a-z]*);/g,(function(t){switch(t){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return t}}))},validInt:function(t){var e=parseInt(t,10);return Number.isNaN(e)?0:e},isDateFmt:function(t){return!!t&&null!==(t=(t=t.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)},fs:{exists:function(t){return new Promise((function(e){i.access(t,i.constants.F_OK,(function(t){e(!t)}))}))}},toIsoDateString:function(t){return t.toIsoString().subsstr(0,10)}};r.exports=a}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("timers").setImmediate)},{fs:215,timers:521}],27:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("./under-dash"),o=t("./utils");function a(t,e,r){t.push(" "),t.push(e),t.push('="'),t.push(o.xmlEncode(r.toString())),t.push('"')}function s(t,e){e&&i.each(e,(function(e,r){void 0!==e&&a(t,r,e)}))}var c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._xml=[],this._stack=[],this._rollbacks=[]}var e,r;return e=t,(r=[{key:"openXml",value:function(t){var e=this._xml;e.push("<?xml"),s(e,t),e.push("?>\n")}},{key:"openNode",value:function(t,e){var r=this.tos,n=this._xml;r&&this.open&&n.push(">"),this._stack.push(t),n.push("<"),n.push(t),s(n,e),this.leaf=!0,this.open=!0}},{key:"addAttribute",value:function(t,e){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");void 0!==e&&a(this._xml,t,e)}},{key:"addAttributes",value:function(t){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");s(this._xml,t)}},{key:"writeText",value:function(t){var e=this._xml;this.open&&(e.push(">"),this.open=!1),this.leaf=!1,e.push(o.xmlEncode(t.toString()))}},{key:"writeXml",value:function(t){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(t)}},{key:"closeNode",value:function(){var t=this._stack.pop(),e=this._xml;this.leaf?e.push("/>"):(e.push("</"),e.push(t),e.push(">")),this.open=!1,this.leaf=!1}},{key:"leafNode",value:function(t,e,r){this.openNode(t,e),void 0!==r&&this.writeText(r),this.closeNode()}},{key:"closeAll",value:function(){for(;this._stack.length;)this.closeNode()}},{key:"addRollback",value:function(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}},{key:"commit",value:function(){this._rollbacks.pop()}},{key:"rollback",value:function(){var t=this._rollbacks.pop();this._xml.length>t.xml&&this._xml.splice(t.xml,this._xml.length-t.xml),this._stack.length>t.stack&&this._stack.splice(t.stack,this._stack.length-t.stack),this.leaf=t.leaf,this.open=t.open}},{key:"tos",get:function(){return this._stack.length?this._stack[this._stack.length-1]:void 0}},{key:"cursor",get:function(){return this._xml.length}},{key:"xml",get:function(){return this.closeAll(),this._xml.join("")}}])&&n(e.prototype,r),t}();c.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},e.exports=c},{"./under-dash":25,"./utils":26}],28:[function(t,e,r){(function(r){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("events"),h=t("jszip"),d=t("./stream-buf"),p=t("./browser-buffer-encode").stringToBuffer,m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(m,t);var e,i,u,l,f=c(m);function m(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,m),(e=f.call(this)).options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},t),e.zip=new h,e.stream=new d,e}return e=m,(i=[{key:"append",value:function(t,e){e.hasOwnProperty("base64")&&e.base64?this.zip.file(e.name,t,{base64:!0}):(r.browser&&"string"==typeof t&&(t=p(t)),this.zip.file(e.name,t))}},{key:"finalize",value:(u=n.mark((function t(){var e;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.zip.generateAsync(this.options);case 2:e=t.sent,this.stream.end(e),this.emit("finish");case 5:case"end":return t.stop()}}),t,this)})),l=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=u.apply(t,e);function a(t){o(i,r,n,a,s,"next",t)}function s(t){o(i,r,n,a,s,"throw",t)}a(void 0)}))},function(){return l.apply(this,arguments)})},{key:"read",value:function(t){return this.stream.read(t)}},{key:"setEncoding",value:function(t){return this.stream.setEncoding(t)}},{key:"pause",value:function(){return this.stream.pause()}},{key:"resume",value:function(){return this.stream.resume()}},{key:"isPaused",value:function(){return this.stream.isPaused()}},{key:"pipe",value:function(t,e){return this.stream.pipe(t,e)}},{key:"unpipe",value:function(t){return this.stream.unpipe(t)}},{key:"unshift",value:function(t){return this.stream.unshift(t)}},{key:"wrap",value:function(t){return this.stream.wrap(t)}}])&&a(e.prototype,i),m}(f.EventEmitter);e.exports={ZipWriter:m}}).call(this,t("_process"))},{"./browser-buffer-encode":17,"./stream-buf":23,_process:467,events:367,jszip:399}],29:[function(t,e,r){"use strict";e.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},28:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"ja-jp":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":'yyyy"\ub144" mm"\uc6d4" dd"\uc77c"'},32:{"zh-tw":'hh"\u6642"mm"\u5206"',"zh-cn":'h"\u65f6"mm"\u5206"',"ja-jp":'h"\u6642"mm"\u5206"',"ko-kr":'h"\uc2dc" mm"\ubd84"'},33:{"zh-tw":'hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'h"\u6642"mm"\u5206"ss"\u79d2"',"ko-kr":'h"\uc2dc" mm"\ubd84" ss"\ucd08"'},34:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},51:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},52:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},55:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},58:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],30:[function(t,e,r){"use strict";e.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],31:[function(t,e,r){"use strict";function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw a}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function s(t){a(o,n,i,s,c,"next",t)}function c(t){a(o,n,i,s,c,"throw",t)}s(void 0)}))}}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}var l=t("../../utils/parse-sax"),f=t("../../utils/xml-stream"),h=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r,o,a,h;return e=t,r=[{key:"prepare",value:function(){}},{key:"render",value:function(){}},{key:"parseOpen",value:function(t){}},{key:"parseText",value:function(t){}},{key:"parseClose",value:function(t){}},{key:"reconcile",value:function(t,e){}},{key:"reset",value:function(){this.model=null,this.map&&Object.values(this.map).forEach((function(e){e instanceof t?e.reset():e.xform&&e.xform.reset()}))}},{key:"mergeModel",value:function(t){this.model=Object.assign(this.model||{},t)}},{key:"parse",value:(h=s(n.mark((function t(e){var r,o,a,s,c,l,f,h,d,p,m;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=!0,o=!1,t.prev=2,s=u(e);case 4:return t.next=6,s.next();case 6:return c=t.sent,r=c.done,t.next=10,c.value;case 10:if(l=t.sent,r){t.next=42;break}f=i(l),t.prev=14,f.s();case 16:if((h=f.n()).done){t.next=31;break}if(d=h.value,p=d.eventType,m=d.value,"opentag"!==p){t.next=22;break}this.parseOpen(m),t.next=29;break;case 22:if("text"!==p){t.next=26;break}this.parseText(m),t.next=29;break;case 26:if("closetag"!==p){t.next=29;break}if(this.parseClose(m.name)){t.next=29;break}return t.abrupt("return",this.model);case 29:t.next=16;break;case 31:t.next=36;break;case 33:t.prev=33,t.t0=t.catch(14),f.e(t.t0);case 36:return t.prev=36,f.f(),t.finish(36);case 39:r=!0,t.next=4;break;case 42:t.next=48;break;case 44:t.prev=44,t.t1=t.catch(2),o=!0,a=t.t1;case 48:if(t.prev=48,t.prev=49,r||null==s.return){t.next=53;break}return t.next=53,s.return();case 53:if(t.prev=53,!o){t.next=56;break}throw a;case 56:return t.finish(53);case 57:return t.finish(48);case 58:return t.abrupt("return",this.model);case 59:case"end":return t.stop()}}),t,this,[[2,44,48,58],[14,33,36,39],[49,,53,57]])}))),function(t){return h.apply(this,arguments)})},{key:"parseStream",value:(a=s(n.mark((function t(e){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.parse(l(e)));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"toXml",value:function(t){var e=new f;return this.render(e,t),e.xml}},{key:"xml",get:function(){return this.toXml(this.model)}}],o=[{key:"toAttribute",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===t){if(r)return e}else if(r||t!==e)return t.toString()}},{key:"toStringAttribute",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.toAttribute(e,r,n)}},{key:"toStringValue",value:function(t,e){return void 0===t?e:t}},{key:"toBoolAttribute",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===t){if(r)return e}else if(r||t!==e)return t?"1":"0"}},{key:"toBoolValue",value:function(t,e){return void 0===t?e:"1"===t}},{key:"toIntAttribute",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.toAttribute(e,r,n)}},{key:"toIntValue",value:function(t,e){return void 0===t?e:parseInt(t,10)}},{key:"toFloatAttribute",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.toAttribute(e,r,n)}},{key:"toFloatValue",value:function(t,e){return void 0===t?e:parseFloat(t)}}],r&&c(e.prototype,r),o&&c(e,o),t}();e.exports=h},{"../../utils/parse-sax":21,"../../utils/xml-stream":27}],32:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../base-xform"),f=t("../../../utils/col-cache"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("definedName",{name:e.name,localSheetId:e.localSheetId}),t.writeText(e.ranges.join(",")),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case"definedName":return this._parsedName=t.attributes.name,this._parsedLocalSheetId=t.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}},{key:"parseText",value:function(t){this._parsedText.push(t)}},{key:"parseClose",value:function(){return this.model={name:this._parsedName,ranges:p(this._parsedText.join(""))},void 0!==this._parsedLocalSheetId&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}])&&o(e.prototype,r),c}(l);function d(t){try{return f.decodeEx(t),!0}catch(t){return!1}}function p(t){var e=[],r=!1,n="";return t.split(",").forEach((function(t){if(t){var i=(t.match(/'/g)||[]).length;if(i){var o=i%2==0;!r&&o&&d(t)?e.push(t):r&&!o?(r=!1,d(n+t)&&e.push(n+t),n=""):(r=!0,n+="".concat(t,","))}else r?n+="".concat(t,","):d(t)&&e.push(t)}})),e}e.exports=h},{"../../../utils/col-cache":19,"../base-xform":31}],33:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/utils"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("sheet",{sheetId:e.id,name:e.name,state:e.state,"r:id":e.rId})}},{key:"parseOpen",value:function(t){return"sheet"===t.name&&(this.model={name:l.xmlDecode(t.attributes.name),id:parseInt(t.attributes.sheetId,10),state:t.attributes.state,rId:t.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/utils":26,"../base-xform":31}],34:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:e.fullCalcOnLoad?1:void 0})}},{key:"parseOpen",value:function(t){return"calcPr"===t.name&&(this.model={},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],35:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("workbookPr",{date1904:e.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}},{key:"parseOpen",value:function(t){return"workbookPr"===t.name&&(this.model={date1904:"1"===t.attributes.date1904},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],36:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){var r={xWindow:e.x||0,yWindow:e.y||0,windowWidth:e.width||12e3,windowHeight:e.height||24e3,firstSheet:e.firstSheet,activeTab:e.activeTab};e.visibility&&"visible"!==e.visibility&&(r.visibility=e.visibility),t.leafNode("workbookView",r)}},{key:"parseOpen",value:function(t){if("workbookView"===t.name){var e=this.model={},r=function(t,r,n){var i=void 0!==r?e[t]=parseInt(r,10):n;void 0!==i&&(e[t]=i)};return r("x",t.attributes.xWindow,0),r("y",t.attributes.yWindow,0),r("width",t.attributes.windowWidth,25e3),r("height",t.attributes.windowHeight,1e4),n="visibility",void 0!==(o=void 0!==(i=t.attributes.visibility)?e[n]=i:"visible")&&(e[n]=o),r("activeTab",t.attributes.activeTab,void 0),r("firstSheet",t.attributes.firstSheet,void 0),!0}var n,i,o;return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],37:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/under-dash"),l=t("../../../utils/col-cache"),f=t("../../../utils/xml-stream"),h=t("../base-xform"),d=t("../static-xform"),p=t("../list-xform"),m=t("./defined-name-xform"),b=t("./sheet-xform"),v=t("./workbook-view-xform"),g=t("./workbook-properties-xform"),y=t("./workbook-calc-properties-xform"),w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={fileVersion:s.STATIC_XFORMS.fileVersion,workbookPr:new g,bookViews:new p({tag:"bookViews",count:!1,childXform:new v}),sheets:new p({tag:"sheets",count:!1,childXform:new b}),definedNames:new p({tag:"definedNames",count:!1,childXform:new m}),calcPr:new y},t}return e=s,(r=[{key:"prepare",value:function(t){t.sheets=t.worksheets;var e=[],r=0;t.sheets.forEach((function(t){if(t.pageSetup&&t.pageSetup.printArea&&t.pageSetup.printArea.split("&&").forEach((function(n){var i=n.split(":"),o={name:"_xlnm.Print_Area",ranges:["'".concat(t.name,"'!$").concat(i[0],":$").concat(i[1])],localSheetId:r};e.push(o)})),t.pageSetup&&(t.pageSetup.printTitlesRow||t.pageSetup.printTitlesColumn)){var n=[];if(t.pageSetup.printTitlesColumn){var i=t.pageSetup.printTitlesColumn.split(":");n.push("'".concat(t.name,"'!$").concat(i[0],":$").concat(i[1]))}if(t.pageSetup.printTitlesRow){var o=t.pageSetup.printTitlesRow.split(":");n.push("'".concat(t.name,"'!$").concat(o[0],":$").concat(o[1]))}var a={name:"_xlnm.Print_Titles",ranges:n,localSheetId:r};e.push(a)}r++})),e.length&&(t.definedNames=t.definedNames.concat(e)),(t.media||[]).forEach((function(t,e){t.name=t.type+(e+1)}))}},{key:"render",value:function(t,e){t.openXml(f.StdDocAttributes),t.openNode("workbook",s.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(t),this.map.workbookPr.render(t,e.properties),this.map.bookViews.render(t,e.views),this.map.sheets.render(t,e.sheets),this.map.definedNames.render(t,e.definedNames),this.map.calcPr.render(t,e.calcProperties),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"workbook":return!0;default:return this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}},{key:"reconcile",value:function(t){var e,r=(t.workbookRels||[]).reduce((function(t,e){return t[e.Id]=e,t}),{}),n=[],i=0;(t.sheets||[]).forEach((function(o){var a=r[o.rId];a&&(e=t.worksheetHash["xl/".concat(a.Target.replace(/^(\s|\/xl\/)+/,""))])&&(e.name=o.name,e.id=o.id,e.state=o.state,n[i++]=e)}));var o=[];u.each(t.definedNames,(function(t){if("_xlnm.Print_Area"===t.name){if(e=n[t.localSheetId]){e.pageSetup||(e.pageSetup={});var r=l.decodeEx(t.ranges[0]);e.pageSetup.printArea=e.pageSetup.printArea?"".concat(e.pageSetup.printArea,"&&").concat(r.dimensions):r.dimensions}}else if("_xlnm.Print_Titles"===t.name){if(e=n[t.localSheetId]){e.pageSetup||(e.pageSetup={});var i=t.ranges.join(","),a=/\$/g,s=i.match(/\$\d+:\$\d+/);if(s&&s.length){var c=s[0];e.pageSetup.printTitlesRow=c.replace(a,"")}var u=i.match(/\$[A-Z]+:\$[A-Z]+/);if(u&&u.length){var f=u[0];e.pageSetup.printTitlesColumn=f.replace(a,"")}}}else o.push(t)})),t.definedNames=o,t.media.forEach((function(t,e){t.index=e}))}}])&&i(e.prototype,r),s}(h);w.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},w.STATIC_XFORMS={fileVersion:new d({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},e.exports=w},{"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"../static-xform":119,"./defined-name-xform":32,"./sheet-xform":33,"./workbook-calc-properties-xform":34,"./workbook-properties-xform":35,"./workbook-view-xform":36}],38:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=t("../strings/rich-text-xform"),a=t("../../../utils/utils"),s=t("../base-xform"),c=e.exports=function(t){this.model=t};a.inherits(c,s,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new o),this._richTextXform},render:function(t,e){var r=this;e=e||this.model,t.openNode("comment",{ref:e.ref,authorId:0}),t.openNode("text"),e&&e.note&&e.note.texts&&e.note.texts.forEach((function(e){r.richTextXform.render(t,e)})),t.closeNode(),t.closeNode()},parseOpen:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"comment":return this.model=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({type:"note",note:{texts:[]}},t.attributes),!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(t),!0;default:return!1}},parseText:function(t){this.parser&&this.parser.parseText(t)},parseClose:function(t){switch(t){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(t),!0}}})},{"../../../utils/utils":26,"../base-xform":31,"../strings/rich-text-xform":121}],39:[function(t,e,r){"use strict";var n=t("../../../utils/xml-stream"),i=t("../../../utils/utils"),o=t("../base-xform"),a=t("./comment-xform"),s=e.exports=function(){this.map={comment:new a}};i.inherits(s,o,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render:function(t,e){var r=this;e=e||this.model,t.openXml(n.StdDocAttributes),t.openNode("comments",s.COMMENTS_ATTRIBUTES),t.openNode("authors"),t.leafNode("author",null,"Author"),t.closeNode(),t.openNode("commentList"),e.comments.forEach((function(e){r.map.comment.render(t,e)})),t.closeNode(),t.closeNode()},parseOpen:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(t),!0;default:return!1}},parseText:function(t){this.parser&&this.parser.parseText(t)},parseClose:function(t){switch(t){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(t),!0}}})},{"../../../utils/utils":26,"../../../utils/xml-stream":27,"../base-xform":31,"./comment-xform":38}],40:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this))._model=t,e}return e=s,(r=[{key:"render",value:function(t,e,r){(e===r[2]||"x:SizeWithCells"===this.tag&&e===r[1])&&t.leafNode(this.tag)}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this._model&&this._model.tag}}])&&i(e.prototype,r),s}(t("../../base-xform"));e.exports=u},{"../../base-xform":31}],41:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this))._model=t,e}return e=s,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.text="",!0;default:return!1}}},{key:"parseText",value:function(t){this.text=t}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this._model&&this._model.tag}}])&&i(e.prototype,r),s}(t("../../base-xform"));e.exports=u},{"../../base-xform":31}],42:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"getAnchorRect",value:function(t){var e=Math.floor(t.left),r=Math.floor(68*(t.left-e)),n=Math.floor(t.top),i=Math.floor(18*(t.top-n)),o=Math.floor(t.right),a=Math.floor(68*(t.right-o)),s=Math.floor(t.bottom);return[e,r,n,i,o,a,s,Math.floor(18*(t.bottom-s))]}},{key:"getDefaultRect",value:function(t){var e=t.col,r=Math.max(t.row-2,0);return[e,6,r,14,e+2,2,r+4,16]}},{key:"render",value:function(t,e){var r=e.anchor?this.getAnchorRect(e.anchor):this.getDefaultRect(e.refAddress);t.leafNode("x:Anchor",null,r.join(", "))}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.text="",!0;default:return!1}}},{key:"parseText",value:function(t){this.text=t}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"x:Anchor"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],43:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./vml-anchor-xform"),f=t("./style/vml-protection-xform"),h=t("./style/vml-position-xform"),d=["twoCells","oneCells","absolute"],p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"x:Anchor":new l,"x:Locked":new f({tag:"x:Locked"}),"x:LockText":new f({tag:"x:LockText"}),"x:SizeWithCells":new h({tag:"x:SizeWithCells"}),"x:MoveWithCells":new h({tag:"x:MoveWithCells"})},t}return e=s,(r=[{key:"render",value:function(t,e){var r=e.note,n=r.protection,i=r.editAs;t.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(t,i,d),this.map["x:SizeWithCells"].render(t,i,d),this.map["x:Anchor"].render(t,e),this.map["x:Locked"].render(t,n.locked),t.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(t,n.lockText),t.leafNode("x:Row",null,e.refAddress.row-1),t.leafNode("x:Column",null,e.refAddress.col-1),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.normalizeModel(),!1;default:return!0}}},{key:"normalizeModel",value:function(){var t=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),e=Object.keys(t).length;this.model.editAs=d[e],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}},{key:"tag",get:function(){return"x:ClientData"}}])&&i(e.prototype,r),s}(u);e.exports=p},{"../base-xform":31,"./style/vml-position-xform":40,"./style/vml-protection-xform":41,"./vml-anchor-xform":42}],44:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("./vml-shape-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"v:shape":new f},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openXml(u.StdDocAttributes),t.openNode(this.tag,s.DRAWING_ATTRIBUTES),t.openNode("o:shapelayout",{"v:ext":"edit"}),t.leafNode("o:idmap",{"v:ext":"edit",data:1}),t.closeNode(),t.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),t.leafNode("v:stroke",{joinstyle:"miter"}),t.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),t.closeNode(),e.comments.forEach((function(e,n){r.map["v:shape"].render(t,e,n)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:return!0}}},{key:"reconcile",value:function(t,e){var r=this;t.anchors.forEach((function(t){t.br?r.map["xdr:twoCellAnchor"].reconcile(t,e):r.map["xdr:oneCellAnchor"].reconcile(t,e)}))}},{key:"tag",get:function(){return"xml"}}])&&i(e.prototype,r),s}(l);h.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},e.exports=h},{"../../../utils/xml-stream":27,"../base-xform":31,"./vml-shape-xform":45}],45:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./vml-textbox-xform"),f=t("./vml-client-data-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"v:textbox":new l,"x:ClientData":new f},t}return e=s,(r=[{key:"render",value:function(t,e,r){t.openNode("v:shape",s.V_SHAPE_ATTRIBUTES(e,r)),t.leafNode("v:fill",{color2:"infoBackground [80]"}),t.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),t.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(t,e),this.map["x:ClientData"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={margins:{insetmode:t.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}},{key:"tag",get:function(){return"v:shape"}}])&&i(e.prototype,r),s}(u);h.V_SHAPE_ATTRIBUTES=function(t,e){return{id:"_x0000_s".concat(1025+e),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":t.note.margins&&t.note.margins.insetmode}},e.exports=h},{"../base-xform":31,"./vml-client-data-xform":43,"./vml-textbox-xform":46}],46:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"conversionUnit",value:function(t,e,r){return"".concat(parseFloat(t)*e.toFixed(2)).concat(r)}},{key:"reverseConversionUnit",value:function(t){var e=this;return(t||"").split(",").map((function(t){return Number(parseFloat(e.conversionUnit(parseFloat(t),.1,"")).toFixed(2))}))}},{key:"render",value:function(t,e){var r=this,n={style:"mso-direction-alt:auto"};if(e&&e.note){var i=(e.note&&e.note.margins).inset;Array.isArray(i)&&(i=i.map((function(t){return r.conversionUnit(t,10,"mm")})).join(",")),i&&(n.inset=i)}t.openNode("v:textbox",n),t.leafNode("div",{style:"text-align:left"}),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={inset:this.reverseConversionUnit(t.attributes.inset)},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"v:textbox"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],47:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"createNewModel",value:function(t){return{}}},{key:"parseOpen",value:function(t){return this.parser=this.parser||this.map[t.name],this.parser?(this.parser.parseOpen(t),!0):t.name===this.tag&&(this.model=this.createNewModel(t),!0)}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"onParserClose",value:function(t,e){this.model[t]=e.model}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.onParserClose(t,this.parser),this.parser=void 0),!0):t!==this.tag}}])&&o(e.prototype,r),c}(t("./base-xform"));e.exports=l},{"./base-xform":31}],48:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("HeadingPairs"),t.openNode("vt:vector",{size:2,baseType:"variant"}),t.openNode("vt:variant"),t.leafNode("vt:lpstr",void 0,"Worksheets"),t.closeNode(),t.openNode("vt:variant"),t.leafNode("vt:i4",void 0,e.length),t.closeNode(),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){return"HeadingPairs"===t.name}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){return"HeadingPairs"!==t}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],49:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("TitlesOfParts"),t.openNode("vt:vector",{size:e.length,baseType:"lpstr"}),e.forEach((function(e){t.leafNode("vt:lpstr",void 0,e.name)})),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){return"TitlesOfParts"===t.name}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){return"TitlesOfParts"!==t}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],50:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("../simple/string-xform"),h=t("./app-heading-pairs-xform"),d=t("./app-titles-of-parts-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={Company:new f({tag:"Company"}),Manager:new f({tag:"Manager"}),HeadingPairs:new h,TitleOfParts:new d},t}return e=s,(r=[{key:"render",value:function(t,e){t.openXml(u.StdDocAttributes),t.openNode("Properties",s.PROPERTY_ATTRIBUTES),t.leafNode("Application",void 0,"Microsoft Excel"),t.leafNode("DocSecurity",void 0,"0"),t.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(t,e.worksheets),this.map.TitleOfParts.render(t,e.worksheets),this.map.Company.render(t,e.company||""),this.map.Manager.render(t,e.manager),t.leafNode("LinksUpToDate",void 0,"false"),t.leafNode("SharedDoc",void 0,"false"),t.leafNode("HyperlinksChanged",void 0,"false"),t.leafNode("AppVersion",void 0,"16.0300"),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"Properties":return!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}])&&i(e.prototype,r),s}(l);p.DateFormat=function(t){return t.toISOString().replace(/[.]\d{3,6}/,"")},p.DateAttrs={"xsi:type":"dcterms:W3CDTF"},p.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},e.exports=p},{"../../../utils/xml-stream":27,"../base-xform":31,"../simple/string-xform":118,"./app-heading-pairs-xform":48,"./app-titles-of-parts-xform":49}],51:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/xml-stream"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openXml(l.StdDocAttributes),t.openNode("Types",c.PROPERTY_ATTRIBUTES);var r={};(e.media||[]).forEach((function(e){if("image"===e.type){var n=e.extension;r[n]||(r[n]=!0,t.leafNode("Default",{Extension:n,ContentType:"image/".concat(n)}))}})),t.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),t.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),t.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),e.worksheets.forEach((function(e){var r="/xl/worksheets/sheet".concat(e.id,".xml");t.leafNode("Override",{PartName:r,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})})),t.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),t.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),e.sharedStrings&&e.sharedStrings.count&&t.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),e.tables&&e.tables.forEach((function(e){t.leafNode("Override",{PartName:"/xl/tables/".concat(e.target),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})})),e.drawings&&e.drawings.forEach((function(e){t.leafNode("Override",{PartName:"/xl/drawings/".concat(e.name,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})})),e.commentRefs&&(t.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),e.commentRefs.forEach((function(e){var r=e.commentName;t.leafNode("Override",{PartName:"/xl/".concat(r,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})}))),t.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),t.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),t.closeNode()}},{key:"parseOpen",value:function(){return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));f.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},e.exports=f},{"../../../utils/xml-stream":27,"../base-xform":31}],52:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("../simple/date-xform"),h=t("../simple/string-xform"),d=t("../simple/integer-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"dc:creator":new h({tag:"dc:creator"}),"dc:title":new h({tag:"dc:title"}),"dc:subject":new h({tag:"dc:subject"}),"dc:description":new h({tag:"dc:description"}),"dc:identifier":new h({tag:"dc:identifier"}),"dc:language":new h({tag:"dc:language"}),"cp:keywords":new h({tag:"cp:keywords"}),"cp:category":new h({tag:"cp:category"}),"cp:lastModifiedBy":new h({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new f({tag:"cp:lastPrinted",format:s.DateFormat}),"cp:revision":new d({tag:"cp:revision"}),"cp:version":new h({tag:"cp:version"}),"cp:contentStatus":new h({tag:"cp:contentStatus"}),"cp:contentType":new h({tag:"cp:contentType"}),"dcterms:created":new f({tag:"dcterms:created",attrs:s.DateAttrs,format:s.DateFormat}),"dcterms:modified":new f({tag:"dcterms:modified",attrs:s.DateAttrs,format:s.DateFormat})},t}return e=s,(r=[{key:"render",value:function(t,e){t.openXml(u.StdDocAttributes),t.openNode("cp:coreProperties",s.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(t,e.creator),this.map["dc:title"].render(t,e.title),this.map["dc:subject"].render(t,e.subject),this.map["dc:description"].render(t,e.description),this.map["dc:identifier"].render(t,e.identifier),this.map["dc:language"].render(t,e.language),this.map["cp:keywords"].render(t,e.keywords),this.map["cp:category"].render(t,e.category),this.map["cp:lastModifiedBy"].render(t,e.lastModifiedBy),this.map["cp:lastPrinted"].render(t,e.lastPrinted),this.map["cp:revision"].render(t,e.revision),this.map["cp:version"].render(t,e.version),this.map["cp:contentStatus"].render(t,e.contentStatus),this.map["cp:contentType"].render(t,e.contentType),this.map["dcterms:created"].render(t,e.created),this.map["dcterms:modified"].render(t,e.modified),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[t.name],this.parser)return this.parser.parseOpen(t),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}}])&&i(e.prototype,r),s}(l);p.DateFormat=function(t){return t.toISOString().replace(/[.]\d{3}/,"")},p.DateAttrs={"xsi:type":"dcterms:W3CDTF"},p.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},e.exports=p},{"../../../utils/xml-stream":27,"../base-xform":31,"../simple/date-xform":116,"../simple/integer-xform":117,"../simple/string-xform":118}],53:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("Relationship",e)}},{key:"parseOpen",value:function(t){switch(t.name){case"Relationship":return this.model=t.attributes,!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],54:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("./relationship-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={Relationship:new f},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;e=e||this._values,t.openXml(u.StdDocAttributes),t.openNode("Relationships",s.RELATIONSHIPS_ATTRIBUTES),e.forEach((function(e){r.map.Relationship.render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[t.name],this.parser)return this.parser.parseOpen(t),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(t){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}}])&&i(e.prototype,r),s}(l);h.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},e.exports=h},{"../../../utils/xml-stream":27,"../base-xform":31,"./relationship-xform":53}],55:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={range:{editAs:t.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"reconcilePicture",value:function(t,e){if(t&&t.rId){var r=e.rels[t.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(r){var n=r[1],i=e.mediaIndex[n];return e.media[i]}}}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],56:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./blip-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"a:blip":new l},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),this.map["a:blip"].render(t,e),t.openNode("a:stretch"),t.leafNode("a:fillRect"),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:blipFill"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"./blip-xform":57}],57:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":e.rId,cstate:"print"})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:embed"]},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"a:blip"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],58:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t){t.openNode(this.tag),t.leafNode("a:picLocks",{noChangeAspect:"1"}),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"xdr:cNvPicPr"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],59:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./hlink-click-xform"),f=t("./ext-lst-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"a:hlinkClick":new l,"a:extLst":new f},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag,{id:e.index,name:"Picture ".concat(e.index)}),this.map["a:hlinkClick"].render(t,e),this.map["a:extLst"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:cNvPr"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../base-xform":31,"./ext-lst-xform":62,"./hlink-click-xform":64}],60:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("../simple/integer-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.map={"xdr:col":new l({tag:"xdr:col",zero:!0}),"xdr:colOff":new l({tag:"xdr:colOff",zero:!0}),"xdr:row":new l({tag:"xdr:row",zero:!0}),"xdr:rowOff":new l({tag:"xdr:rowOff",zero:!0})},e}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),this.map["xdr:col"].render(t,e.nativeCol),this.map["xdr:colOff"].render(t,e.nativeColOff),this.map["xdr:row"].render(t,e.nativeRow),this.map["xdr:rowOff"].render(t,e.nativeRowOff),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"../simple/integer-xform":117}],61:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/col-cache"),l=t("../../../utils/xml-stream"),f=t("../base-xform"),h=t("./two-cell-anchor-xform"),d=t("./one-cell-anchor-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:twoCellAnchor":new h,"xdr:oneCellAnchor":new d},t}return e=s,(r=[{key:"prepare",value:function(t){var e=this;t.anchors.forEach((function(t,r){t.anchorType=function(t){return("string"==typeof t.range?u.decode(t.range):t.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(t),e.map[t.anchorType].prepare(t,{index:r})}))}},{key:"render",value:function(t,e){var r=this;t.openXml(l.StdDocAttributes),t.openNode(this.tag,s.DRAWING_ATTRIBUTES),e.anchors.forEach((function(e){r.map[e.anchorType].render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:return!0}}},{key:"reconcile",value:function(t,e){var r=this;t.anchors.forEach((function(t){t.br?r.map["xdr:twoCellAnchor"].reconcile(t,e):r.map["xdr:oneCellAnchor"].reconcile(t,e)}))}},{key:"tag",get:function(){return"xdr:wsDr"}}])&&i(e.prototype,r),s}(f);p.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},e.exports=p},{"../../../utils/col-cache":19,"../../../utils/xml-stream":27,"../base-xform":31,"./one-cell-anchor-xform":66,"./two-cell-anchor-xform":69}],62:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t){t.openNode(this.tag),t.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),t.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"a:extLst"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],63:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.map={},e}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag);var r=Math.floor(9525*e.width),n=Math.floor(9525*e.height);t.addAttribute("cx",r),t.addAttribute("cy",n),t.closeNode()}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.model={width:parseInt(t.attributes.cx||"0",10)/9525,height:parseInt(t.attributes.cy||"0",10)/9525},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],64:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e.hyperlinks&&e.hyperlinks.rId&&t.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":e.hyperlinks.rId,tooltip:e.hyperlinks.tooltip})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={hyperlinks:{rId:t.attributes["r:id"],tooltip:t.attributes.tooltip}},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"a:hlinkClick"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],65:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./c-nv-pr-xform"),f=t("./c-nv-pic-pr-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:cNvPr":new l,"xdr:cNvPicPr":new f},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),this.map["xdr:cNvPr"].render(t,e),this.map["xdr:cNvPicPr"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:nvPicPr"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../base-xform":31,"./c-nv-pic-pr-xform":58,"./c-nv-pr-xform":59}],66:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./base-cell-anchor-xform"),l=t("../static-xform"),f=t("./cell-position-xform"),h=t("./ext-xform"),d=t("./pic-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:from":new f({tag:"xdr:from"}),"xdr:ext":new h({tag:"xdr:ext"}),"xdr:pic":new d,"xdr:clientData":new l({tag:"xdr:clientData"})},t}return e=s,(r=[{key:"prepare",value:function(t,e){this.map["xdr:pic"].prepare(t.picture,e)}},{key:"render",value:function(t,e){t.openNode(this.tag,{editAs:e.range.editAs||"oneCell"}),this.map["xdr:from"].render(t,e.range.tl),this.map["xdr:ext"].render(t,e.range.ext),this.map["xdr:pic"].render(t,e.picture),this.map["xdr:clientData"].render(t,{}),t.closeNode()}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}},{key:"reconcile",value:function(t,e){t.medium=this.reconcilePicture(t.picture,e)}},{key:"tag",get:function(){return"xdr:oneCellAnchor"}}])&&i(e.prototype,r),s}(u);e.exports=p},{"../static-xform":119,"./base-cell-anchor-xform":55,"./cell-position-xform":60,"./ext-xform":63,"./pic-xform":67}],67:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("../static-xform"),f=t("./blip-fill-xform"),h=t("./nv-pic-pr-xform"),d=t("./sp-pr"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:nvPicPr":new h,"xdr:blipFill":new f,"xdr:spPr":new l(d)},t}return e=s,(r=[{key:"prepare",value:function(t,e){t.index=e.index+1}},{key:"render",value:function(t,e){t.openNode(this.tag),this.map["xdr:nvPicPr"].render(t,e),this.map["xdr:blipFill"].render(t,e),this.map["xdr:spPr"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"xdr:pic"}}])&&i(e.prototype,r),s}(u);e.exports=p},{"../base-xform":31,"../static-xform":119,"./blip-fill-xform":56,"./nv-pic-pr-xform":65,"./sp-pr":68}],68:[function(t,e,r){"use strict";e.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],69:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./base-cell-anchor-xform"),l=t("../static-xform"),f=t("./cell-position-xform"),h=t("./pic-xform"),d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:from":new f({tag:"xdr:from"}),"xdr:to":new f({tag:"xdr:to"}),"xdr:pic":new h,"xdr:clientData":new l({tag:"xdr:clientData"})},t}return e=s,(r=[{key:"prepare",value:function(t,e){this.map["xdr:pic"].prepare(t.picture,e)}},{key:"render",value:function(t,e){t.openNode(this.tag,{editAs:e.range.editAs||"oneCell"}),this.map["xdr:from"].render(t,e.range.tl),this.map["xdr:to"].render(t,e.range.br),this.map["xdr:pic"].render(t,e.picture),this.map["xdr:clientData"].render(t,{}),t.closeNode()}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}},{key:"reconcile",value:function(t,e){t.medium=this.reconcilePicture(t.picture,e)}},{key:"tag",get:function(){return"xdr:twoCellAnchor"}}])&&i(e.prototype,r),s}(u);e.exports=d},{"../static-xform":119,"./base-cell-anchor-xform":55,"./cell-position-xform":60,"./pic-xform":67}],70:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.always=!!t.always,e.count=t.count,e.empty=t.empty,e.$count=t.$count||"count",e.$=t.$,e.childXform=t.childXform,e.maxItems=t.maxItems,e}return e=s,(r=[{key:"prepare",value:function(t,e){var r=this.childXform;t&&t.forEach((function(t,n){e.index=n,r.prepare(t,e)}))}},{key:"render",value:function(t,e){if(this.always||e&&e.length){t.openNode(this.tag,this.$),this.count&&t.addAttribute(this.$count,e&&e.length||0);var r=this.childXform;(e||[]).forEach((function(e,n){r.render(t,e,n)})),t.closeNode()}else this.empty&&t.leafNode(this.tag)}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(t)&&(this.parser=this.childXform,!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error("Max ".concat(this.childXform.tag," count (").concat(this.maxItems,") exceeded"));return!0}return!1}},{key:"reconcile",value:function(t,e){if(t){var r=this.childXform;t.forEach((function(t){r.reconcile(t,e)}))}}}])&&i(e.prototype,r),s}(t("./base-xform"));e.exports=u},{"./base-xform":31}],71:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/col-cache"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e)if("string"==typeof e)t.leafNode("autoFilter",{ref:e});else{var r=function(t){return"string"==typeof t?t:l.getAddress(t.row,t.column).address},n=r(e.from),i=r(e.to);n&&i&&t.leafNode("autoFilter",{ref:"".concat(n,":").concat(i)})}}},{key:"parseOpen",value:function(t){"autoFilter"===t.name&&(this.model=t.attributes.ref)}},{key:"tag",get:function(){return"autoFilter"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/col-cache":19,"../base-xform":31}],72:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../../utils/utils"),h=t("../base-xform"),d=t("../../../doc/range"),p=t("../../../doc/enums"),m=t("../strings/rich-text-xform");function b(t){if(null==t)return p.ValueType.Null;if(t instanceof String||"string"==typeof t)return p.ValueType.String;if("number"==typeof t)return p.ValueType.Number;if("boolean"==typeof t)return p.ValueType.Boolean;if(t instanceof Date)return p.ValueType.Date;if(t.text&&t.hyperlink)return p.ValueType.Hyperlink;if(t.formula)return p.ValueType.Formula;if(t.error)return p.ValueType.Error;throw new Error("I could not understand type of value")}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(i,t);var e,r,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=n.call(this)).richTextXForm=new m,t}return e=i,(r=[{key:"prepare",value:function(t,e){var r=e.styles.addStyleModel(t.style||{},function(t){switch(t.type){case p.ValueType.Formula:return b(t.result);default:return t.type}}(t));switch(r&&(t.styleId=r),t.comment&&e.comments.push(o(o({},t.comment),{},{ref:t.address})),t.type){case p.ValueType.String:case p.ValueType.RichText:e.sharedStrings&&(t.ssId=e.sharedStrings.add(t.value));break;case p.ValueType.Date:e.date1904&&(t.date1904=!0);break;case p.ValueType.Hyperlink:e.sharedStrings&&void 0!==t.text&&null!==t.text&&(t.ssId=e.sharedStrings.add(t.text)),e.hyperlinks.push({address:t.address,target:t.hyperlink,tooltip:t.tooltip});break;case p.ValueType.Merge:e.merges.add(t);break;case p.ValueType.Formula:if(e.date1904&&(t.date1904=!0),"shared"===t.shareType&&(t.si=e.siFormulae++),t.formula)e.formulae[t.address]=t;else if(t.sharedFormula){var n=e.formulae[t.sharedFormula];if(!n)throw new Error("Shared Formula master must exist above and or left of clone for cell ".concat(t.address));void 0===n.si?(n.shareType="shared",n.si=e.siFormulae++,n.range=new d(n.address,t.address)):n.range&&n.range.expandToAddress(t.address),t.si=n.si}}}},{key:"renderFormula",value:function(t,e){var r=null;switch(e.shareType){case"shared":r={t:"shared",ref:e.ref||e.range.range,si:e.si};break;case"array":r={t:"array",ref:e.ref};break;default:void 0!==e.si&&(r={t:"shared",si:e.si})}switch(b(e.result)){case p.ValueType.Null:t.leafNode("f",r,e.formula);break;case p.ValueType.String:t.addAttribute("t","str"),t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result);break;case p.ValueType.Number:t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result);break;case p.ValueType.Boolean:t.addAttribute("t","b"),t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result?1:0);break;case p.ValueType.Error:t.addAttribute("t","e"),t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result.error);break;case p.ValueType.Date:t.leafNode("f",r,e.formula),t.leafNode("v",null,f.dateToExcel(e.result,e.date1904));break;default:throw new Error("I could not understand type of value")}}},{key:"render",value:function(t,e){var r=this;if(e.type!==p.ValueType.Null||e.styleId){switch(t.openNode("c"),t.addAttribute("r",e.address),e.styleId&&t.addAttribute("s",e.styleId),e.type){case p.ValueType.Null:break;case p.ValueType.Number:t.leafNode("v",null,e.value);break;case p.ValueType.Boolean:t.addAttribute("t","b"),t.leafNode("v",null,e.value?"1":"0");break;case p.ValueType.Error:t.addAttribute("t","e"),t.leafNode("v",null,e.value.error);break;case p.ValueType.String:case p.ValueType.RichText:void 0!==e.ssId?(t.addAttribute("t","s"),t.leafNode("v",null,e.ssId)):e.value&&e.value.richText?(t.addAttribute("t","inlineStr"),t.openNode("is"),e.value.richText.forEach((function(e){r.richTextXForm.render(t,e)})),t.closeNode("is")):(t.addAttribute("t","str"),t.leafNode("v",null,e.value));break;case p.ValueType.Date:t.leafNode("v",null,f.dateToExcel(e.value,e.date1904));break;case p.ValueType.Hyperlink:void 0!==e.ssId?(t.addAttribute("t","s"),t.leafNode("v",null,e.ssId)):(t.addAttribute("t","str"),t.leafNode("v",null,e.text));break;case p.ValueType.Formula:this.renderFormula(t,e);break;case p.ValueType.Merge:}t.closeNode()}}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"c":return this.model={address:t.attributes.r},this.t=t.attributes.t,t.attributes.s&&(this.model.styleId=parseInt(t.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=t.attributes.si,this.model.shareType=t.attributes.t,this.model.ref=t.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){if(this.parser)this.parser.parseText(t);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+t:t;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+t:t:this.model.value=this.model.value?this.model.value+t:t}}},{key:"parseClose",value:function(t){switch(t){case"c":var e=this.model;if(e.formula||e.shareType)e.type=p.ValueType.Formula,e.value&&("str"===this.t?e.result=f.xmlDecode(e.value):"b"===this.t?e.result=0!==parseInt(e.value,10):"e"===this.t?e.result={error:e.value}:e.result=parseFloat(e.value),e.value=void 0);else if(void 0!==e.value)switch(this.t){case"s":e.type=p.ValueType.String,e.value=parseInt(e.value,10);break;case"str":e.type=p.ValueType.String,e.value=f.xmlDecode(e.value);break;case"inlineStr":e.type=p.ValueType.String;break;case"b":e.type=p.ValueType.Boolean,e.value=0!==parseInt(e.value,10);break;case"e":e.type=p.ValueType.Error,e.value={error:e.value};break;default:e.type=p.ValueType.Number,e.value=parseFloat(e.value)}else e.styleId?e.type=p.ValueType.Null:e.type=p.ValueType.Merge;return!1;case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(t),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(t),!0)}}},{key:"reconcile",value:function(t,e){var r=t.styleId&&e.styles&&e.styles.getStyleModel(t.styleId);switch(r&&(t.style=r),void 0!==t.styleId&&(t.styleId=void 0),t.type){case p.ValueType.String:"number"==typeof t.value&&e.sharedStrings&&(t.value=e.sharedStrings.getString(t.value)),t.value.richText&&(t.type=p.ValueType.RichText);break;case p.ValueType.Number:r&&f.isDateFmt(r.numFmt)&&(t.type=p.ValueType.Date,t.value=f.excelToDate(t.value,e.date1904));break;case p.ValueType.Formula:void 0!==t.result&&r&&f.isDateFmt(r.numFmt)&&(t.result=f.excelToDate(t.result,e.date1904)),"shared"===t.shareType&&(t.ref?e.formulae[t.si]=t.address:(t.sharedFormula=e.formulae[t.si],delete t.shareType),delete t.si)}var n=e.hyperlinkMap[t.address];n&&(t.type===p.ValueType.Formula?(t.text=t.result,t.result=void 0):(t.text=t.value,t.value=void 0),t.type=p.ValueType.Hyperlink,t.hyperlink=n);var i=e.commentsMap&&e.commentsMap[t.address];i&&(t.comment=i)}},{key:"tag",get:function(){return"c"}}])&&s(e.prototype,r),i}(h);e.exports=v},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":26,"../base-xform":31,"../strings/rich-text-xform":121}],73:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../base-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,{iconSet:e.iconSet,iconId:e.iconId})}},{key:"parseOpen",value:function(t){var e=t.attributes;this.model={iconSet:e.iconSet,iconId:l.toIntValue(e.iconId)}}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"x14:cfIcon"}}])&&o(e.prototype,r),c}(l);e.exports=f},{"../../base-xform":31}],74:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("uuid").v4,l=t("../../base-xform"),f=t("../../composite-xform"),h=t("./databar-ext-xform"),d=t("./icon-set-ext-xform"),p={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(c,t);var e,r,n,s=a(c);function c(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(t=s.call(this)).map={"x14:dataBar":t.databarXform=new h,"x14:iconSet":t.iconSetXform=new d},t}return e=c,n=[{key:"isExt",value:function(t){return"dataBar"===t.type?h.isExt(t):!("iconSet"!==t.type||!t.custom&&!p[t.iconSet])}}],(r=[{key:"prepare",value:function(t){c.isExt(t)&&(t.x14Id="{".concat(u(),"}").toUpperCase())}},{key:"render",value:function(t,e){if(c.isExt(e))switch(e.type){case"dataBar":this.renderDataBar(t,e);break;case"iconSet":this.renderIconSet(t,e)}}},{key:"renderDataBar",value:function(t,e){t.openNode(this.tag,{type:"dataBar",id:e.x14Id}),this.databarXform.render(t,e),t.closeNode()}},{key:"renderIconSet",value:function(t,e){t.openNode(this.tag,{type:"iconSet",priority:e.priority,id:e.x14Id||"{".concat(u(),"}")}),this.iconSetXform.render(t,e),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{type:e.type,x14Id:e.id,priority:l.toIntValue(e.priority)}}},{key:"onParserClose",value:function(t,e){Object.assign(this.model,e.model)}},{key:"tag",get:function(){return"x14:cfRule"}}])&&i(e.prototype,r),n&&i(e,n),c}(f);e.exports=m},{"../../base-xform":31,"../../composite-xform":47,"./databar-ext-xform":78,"./icon-set-ext-xform":80,uuid:526}],75:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./f-ext-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xm:f":t.fExtXform=new l},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag,{type:e.type}),void 0!==e.value&&this.fExtXform.render(t,e.value),t.closeNode()}},{key:"createNewModel",value:function(t){return{type:t.attributes.type}}},{key:"onParserClose",value:function(t,e){switch(t){case"xm:f":this.model.value=e.model?parseFloat(e.model):0}}},{key:"tag",get:function(){return"x14:cfvo"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../../composite-xform":47,"./f-ext-xform":79}],76:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./sqref-ext-xform"),f=t("./cf-rule-ext-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xm:sqref":t.sqRef=new l,"x14:cfRule":t.cfRule=new f},t}return e=s,(r=[{key:"prepare",value:function(t,e){var r=this;t.rules.forEach((function(t){r.cfRule.prepare(t,e)}))}},{key:"render",value:function(t,e){var r=this;e.rules.some(f.isExt)&&(t.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),e.rules.filter(f.isExt).forEach((function(e){return r.cfRule.render(t,e)})),this.sqRef.render(t,e.ref),t.closeNode())}},{key:"createNewModel",value:function(){return{rules:[]}}},{key:"onParserClose",value:function(t,e){switch(t){case"xm:sqref":this.model.ref=e.model;break;case"x14:cfRule":this.model.rules.push(e.model)}}},{key:"tag",get:function(){return"x14:conditionalFormatting"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"./cf-rule-ext-xform":74,"./sqref-ext-xform":81}],77:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./cf-rule-ext-xform"),f=t("./conditional-formatting-ext-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"x14:conditionalFormatting":t.cfXform=new f},t}return e=s,(r=[{key:"hasContent",value:function(t){return void 0===t.hasExtContent&&(t.hasExtContent=t.some((function(t){return t.rules.some(l.isExt)}))),t.hasExtContent}},{key:"prepare",value:function(t,e){var r=this;t.forEach((function(t){r.cfXform.prepare(t,e)}))}},{key:"render",value:function(t,e){var r=this;this.hasContent(e)&&(t.openNode(this.tag),e.forEach((function(e){return r.cfXform.render(t,e)})),t.closeNode())}},{key:"createNewModel",value:function(){return[]}},{key:"onParserClose",value:function(t,e){this.model.push(e.model)}},{key:"tag",get:function(){return"x14:conditionalFormattings"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"./cf-rule-ext-xform":74,"./conditional-formatting-ext-xform":76}],78:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=t("../../style/color-xform"),p=t("./cfvo-ext-xform"),m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(u,t);var e,r,n,o=c(u);function u(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(t=o.call(this)).map={"x14:cfvo":t.cfvoXform=new p,"x14:borderColor":t.borderColorXform=new d("x14:borderColor"),"x14:negativeBorderColor":t.negativeBorderColorXform=new d("x14:negativeBorderColor"),"x14:negativeFillColor":t.negativeFillColorXform=new d("x14:negativeFillColor"),"x14:axisColor":t.axisColorXform=new d("x14:axisColor")},t}return e=u,n=[{key:"isExt",value:function(t){return!t.gradient}}],(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag,{minLength:f.toIntAttribute(e.minLength,0,!0),maxLength:f.toIntAttribute(e.maxLength,100,!0),border:f.toBoolAttribute(e.border,!1),gradient:f.toBoolAttribute(e.gradient,!0),negativeBarColorSameAsPositive:f.toBoolAttribute(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:f.toBoolAttribute(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:f.toAttribute(e.axisPosition,"auto"),direction:f.toAttribute(e.direction,"leftToRight")}),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),this.borderColorXform.render(t,e.borderColor),this.negativeBorderColorXform.render(t,e.negativeBorderColor),this.negativeFillColorXform.render(t,e.negativeFillColor),this.axisColorXform.render(t,e.axisColor),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{cfvo:[],minLength:f.toIntValue(e.minLength,0),maxLength:f.toIntValue(e.maxLength,100),border:f.toBoolValue(e.border,!1),gradient:f.toBoolValue(e.gradient,!0),negativeBarColorSameAsPositive:f.toBoolValue(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:f.toBoolValue(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:f.toStringValue(e.axisPosition,"auto"),direction:f.toStringValue(e.direction,"leftToRight")}}},{key:"onParserClose",value:function(t,e){var r=i(t.split(":"),2)[1];switch(r){case"cfvo":this.model.cfvo.push(e.model);break;default:this.model[r]=e.model}}},{key:"tag",get:function(){return"x14:dataBar"}}])&&a(e.prototype,r),n&&a(e,n),u}(h);e.exports=m},{"../../base-xform":31,"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-ext-xform":75}],79:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"xm:f"}}])&&o(e.prototype,r),c}(t("../../base-xform"));e.exports=l},{"../../base-xform":31}],80:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=t("./cfvo-ext-xform"),p=t("./cf-icon-ext-xform"),m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(o,t);var e,r,n=c(o);function o(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=n.call(this)).map={"x14:cfvo":t.cfvoXform=new d,"x14:cfIcon":t.cfIconXform=new p},t}return e=o,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag,{iconSet:f.toStringAttribute(e.iconSet),reverse:f.toBoolAttribute(e.reverse,!1),showValue:f.toBoolAttribute(e.showValue,!0),custom:f.toBoolAttribute(e.icons,!1)}),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),e.icons&&e.icons.forEach((function(e,n){e.iconId=n,r.cfIconXform.render(t,e)})),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{cfvo:[],iconSet:f.toStringValue(e.iconSet,"3TrafficLights"),reverse:f.toBoolValue(e.reverse,!1),showValue:f.toBoolValue(e.showValue,!0)}}},{key:"onParserClose",value:function(t,e){var r=i(t.split(":"),2)[1];switch(r){case"cfvo":this.model.cfvo.push(e.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(e.model);break;default:this.model[r]=e.model}}},{key:"tag",get:function(){return"x14:iconSet"}}])&&a(e.prototype,r),o}(h);e.exports=m},{"../../base-xform":31,"../../composite-xform":47,"./cf-icon-ext-xform":73,"./cfvo-ext-xform":75}],81:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"xm:sqref"}}])&&o(e.prototype,r),c}(t("../../base-xform"));e.exports=l},{"../../base-xform":31}],82:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=t("../../../../doc/range"),p=t("./databar-xform"),m=t("./ext-lst-ref-xform"),b=t("./formula-xform"),v=t("./color-scale-xform"),g=t("./icon-set-xform"),y={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(a,t);var e,r,n,i=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}(a);function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).map={dataBar:t.databarXform=new p,extLst:t.extLstRefXform=new m,formula:t.formulaXform=new b,colorScale:t.colorScaleXform=new v,iconSet:t.iconSetXform=new g},t}return e=a,n=[{key:"isPrimitive",value:function(t){return"iconSet"!==t.type||!t.custom&&!y[t.iconSet]}}],(r=[{key:"render",value:function(t,e){switch(e.type){case"expression":this.renderExpression(t,e);break;case"cellIs":this.renderCellIs(t,e);break;case"top10":this.renderTop10(t,e);break;case"aboveAverage":this.renderAboveAverage(t,e);break;case"dataBar":this.renderDataBar(t,e);break;case"colorScale":this.renderColorScale(t,e);break;case"iconSet":this.renderIconSet(t,e);break;case"containsText":this.renderText(t,e);break;case"timePeriod":this.renderTimePeriod(t,e)}}},{key:"renderExpression",value:function(t,e){t.openNode(this.tag,{type:"expression",dxfId:e.dxfId,priority:e.priority}),this.formulaXform.render(t,e.formulae[0]),t.closeNode()}},{key:"renderCellIs",value:function(t,e){var r=this;t.openNode(this.tag,{type:"cellIs",dxfId:e.dxfId,priority:e.priority,operator:e.operator}),e.formulae.forEach((function(e){r.formulaXform.render(t,e)})),t.closeNode()}},{key:"renderTop10",value:function(t,e){t.leafNode(this.tag,{type:"top10",dxfId:e.dxfId,priority:e.priority,percent:f.toBoolAttribute(e.percent,!1),bottom:f.toBoolAttribute(e.bottom,!1),rank:f.toIntValue(e.rank,10,!0)})}},{key:"renderAboveAverage",value:function(t,e){t.leafNode(this.tag,{type:"aboveAverage",dxfId:e.dxfId,priority:e.priority,aboveAverage:f.toBoolAttribute(e.aboveAverage,!0)})}},{key:"renderDataBar",value:function(t,e){t.openNode(this.tag,{type:"dataBar",priority:e.priority}),this.databarXform.render(t,e),this.extLstRefXform.render(t,e),t.closeNode()}},{key:"renderColorScale",value:function(t,e){t.openNode(this.tag,{type:"colorScale",priority:e.priority}),this.colorScaleXform.render(t,e),t.closeNode()}},{key:"renderIconSet",value:function(t,e){a.isPrimitive(e)&&(t.openNode(this.tag,{type:"iconSet",priority:e.priority}),this.iconSetXform.render(t,e),t.closeNode())}},{key:"renderText",value:function(t,e){t.openNode(this.tag,{type:e.operator,dxfId:e.dxfId,priority:e.priority,operator:f.toStringAttribute(e.operator,"containsText")});var r=function(t){if(t.formulae&&t.formulae[0])return t.formulae[0];var e=new d(t.ref).tl;switch(t.operator){case"containsText":return'NOT(ISERROR(SEARCH("'.concat(t.text,'",').concat(e,")))");case"containsBlanks":return"LEN(TRIM(".concat(e,"))=0");case"notContainsBlanks":return"LEN(TRIM(".concat(e,"))>0");case"containsErrors":return"ISERROR(".concat(e,")");case"notContainsErrors":return"NOT(ISERROR(".concat(e,"))");default:return}}(e);r&&this.formulaXform.render(t,r),t.closeNode()}},{key:"renderTimePeriod",value:function(t,e){t.openNode(this.tag,{type:"timePeriod",dxfId:e.dxfId,priority:e.priority,timePeriod:e.timePeriod});var r=function(t){if(t.formulae&&t.formulae[0])return t.formulae[0];var e=new d(t.ref).tl;switch(t.timePeriod){case"thisWeek":return"AND(TODAY()-ROUNDDOWN(".concat(e,",0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(").concat(e,",0)-TODAY()<=7-WEEKDAY(TODAY()))");case"lastWeek":return"AND(TODAY()-ROUNDDOWN(".concat(e,",0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(").concat(e,",0)<(WEEKDAY(TODAY())+7))");case"nextWeek":return"AND(ROUNDDOWN(".concat(e,",0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(").concat(e,",0)-TODAY()<(15-WEEKDAY(TODAY())))");case"yesterday":return"FLOOR(".concat(e,",1)=TODAY()-1");case"today":return"FLOOR(".concat(e,",1)=TODAY()");case"tomorrow":return"FLOOR(".concat(e,",1)=TODAY()+1");case"last7Days":return"AND(TODAY()-FLOOR(".concat(e,",1)<=6,FLOOR(").concat(e,",1)<=TODAY())");case"lastMonth":return"AND(MONTH(".concat(e,")=MONTH(EDATE(TODAY(),0-1)),YEAR(").concat(e,")=YEAR(EDATE(TODAY(),0-1)))");case"thisMonth":return"AND(MONTH(".concat(e,")=MONTH(TODAY()),YEAR(").concat(e,")=YEAR(TODAY()))");case"nextMonth":return"AND(MONTH(".concat(e,")=MONTH(EDATE(TODAY(),0+1)),YEAR(").concat(e,")=YEAR(EDATE(TODAY(),0+1)))");default:return}}(e);r&&this.formulaXform.render(t,r),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return o(o({},function(t){var e=t.type,r=t.operator;switch(e){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:e};default:return{type:e,operator:r}}}(e)),{},{dxfId:f.toIntValue(e.dxfId),priority:f.toIntValue(e.priority),timePeriod:e.timePeriod,percent:f.toBoolValue(e.percent),bottom:f.toBoolValue(e.bottom),rank:f.toIntValue(e.rank),aboveAverage:f.toBoolValue(e.aboveAverage)})}},{key:"onParserClose",value:function(t,e){switch(t){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,e.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(e.model)}}},{key:"tag",get:function(){return"cfRule"}}])&&s(e.prototype,r),n&&s(e,n),a}(h);e.exports=w},{"../../../../doc/range":10,"../../base-xform":31,"../../composite-xform":47,"./color-scale-xform":84,"./databar-xform":87,"./ext-lst-ref-xform":88,"./formula-xform":89,"./icon-set-xform":90}],83:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../base-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,{type:e.type,val:e.value})}},{key:"parseOpen",value:function(t){this.model={type:t.attributes.type,value:l.toFloatValue(t.attributes.val)}}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"cfvo"}}])&&o(e.prototype,r),c}(l);e.exports=f},{"../../base-xform":31}],84:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("../../style/color-xform"),f=t("./cfvo-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfvo:t.cfvoXform=new f,color:t.colorXform=new l},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),e.color.forEach((function(e){r.colorXform.render(t,e)})),t.closeNode()}},{key:"createNewModel",value:function(t){return{cfvo:[],color:[]}}},{key:"onParserClose",value:function(t,e){this.model[t].push(e.model)}},{key:"tag",get:function(){return"colorScale"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-xform":83}],85:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./cf-rule-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfRule:new l},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;e.rules.some(l.isPrimitive)&&(t.openNode(this.tag,{sqref:e.ref}),e.rules.forEach((function(n){l.isPrimitive(n)&&(n.ref=e.ref,r.map.cfRule.render(t,n))})),t.closeNode())}},{key:"createNewModel",value:function(t){return{ref:t.attributes.sqref,rules:[]}}},{key:"onParserClose",value:function(t,e){this.model.rules.push(e.model)}},{key:"tag",get:function(){return"conditionalFormatting"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../../composite-xform":47,"./cf-rule-xform":82}],86:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("./conditional-formatting-xform"),d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(o,t);var e,r,n=c(o);function o(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=n.call(this)).cfXform=new h,t}return e=o,(r=[{key:"reset",value:function(){this.model=[]}},{key:"prepare",value:function(t,e){var r=t.reduce((function(t,e){return Math.max.apply(Math,[t].concat(i(e.rules.map((function(t){return t.priority||0})))))}),1);t.forEach((function(t){t.rules.forEach((function(t){t.priority||(t.priority=r++),t.style&&(t.dxfId=e.styles.addDxfStyle(t.style))}))}))}},{key:"render",value:function(t,e){var r=this;e.forEach((function(e){r.cfXform.render(t,e)}))}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!(!this.parser||!this.parser.parseClose(t)&&(this.model.push(this.parser.model),this.parser=void 0,1))}},{key:"reconcile",value:function(t,e){t.forEach((function(t){t.rules.forEach((function(t){void 0!==t.dxfId&&(t.style=e.styles.getDxfStyle(t.dxfId),delete t.dxfId)}))}))}},{key:"tag",get:function(){return"conditionalFormatting"}}])&&a(e.prototype,r),o}(f);e.exports=d},{"../../base-xform":31,"./conditional-formatting-xform":85}],87:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("../../style/color-xform"),f=t("./cfvo-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfvo:t.cfvoXform=new f,color:t.colorXform=new l},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),this.colorXform.render(t,e.color),t.closeNode()}},{key:"createNewModel",value:function(){return{cfvo:[]}}},{key:"onParserClose",value:function(t,e){switch(t){case"cfvo":this.model.cfvo.push(e.model);break;case"color":this.model.color=e.model}}},{key:"tag",get:function(){return"dataBar"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-xform":83}],88:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=function(t){s(r,t);var e=c(r);function r(){return i(this,r),e.apply(this,arguments)}return a(r,[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"x14:id"}}]),r}(f),p=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={"x14:id":t.idXform=new d},t}return a(r,[{key:"render",value:function(t,e){t.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(t,e.x14Id),t.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){this.model.x14Id=e.model}},{key:"tag",get:function(){return"ext"}}]),r}(h),m=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={ext:new p},t}return a(r,[{key:"render",value:function(t,e){t.openNode(this.tag),this.map.ext.render(t,e),t.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){Object.assign(this.model,e.model)}},{key:"tag",get:function(){return"extLst"}}]),r}(h);e.exports=m},{"../../base-xform":31,"../../composite-xform":47}],89:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"formula"}}])&&o(e.prototype,r),c}(t("../../base-xform"));e.exports=l},{"../../base-xform":31}],90:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../base-xform"),l=t("../../composite-xform"),f=t("./cfvo-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfvo:t.cfvoXform=new f},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag,{iconSet:u.toStringAttribute(e.iconSet,"3TrafficLights"),reverse:u.toBoolAttribute(e.reverse,!1),showValue:u.toBoolAttribute(e.showValue,!0)}),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{iconSet:u.toStringValue(e.iconSet,"3TrafficLights"),reverse:u.toBoolValue(e.reverse),showValue:u.toBoolValue(e.showValue),cfvo:[]}}},{key:"onParserClose",value:function(t,e){this.model[t].push(e.model)}},{key:"tag",get:function(){return"iconSet"}}])&&i(e.prototype,r),s}(l);e.exports=h},{"../../base-xform":31,"../../composite-xform":47,"./cfvo-xform":83}],91:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t,e){var r=e.styles.addStyleModel(t.style||{});r&&(t.styleId=r)}},{key:"render",value:function(t,e){t.openNode("col"),t.addAttribute("min",e.min),t.addAttribute("max",e.max),e.width&&t.addAttribute("width",e.width),e.styleId&&t.addAttribute("style",e.styleId),e.hidden&&t.addAttribute("hidden","1"),e.bestFit&&t.addAttribute("bestFit","1"),e.outlineLevel&&t.addAttribute("outlineLevel",e.outlineLevel),e.collapsed&&t.addAttribute("collapsed","1"),t.addAttribute("customWidth","1"),t.closeNode()}},{key:"parseOpen",value:function(t){if("col"===t.name){var e=this.model={min:parseInt(t.attributes.min||"0",10),max:parseInt(t.attributes.max||"0",10),width:void 0===t.attributes.width?void 0:parseFloat(t.attributes.width||"0")};return t.attributes.style&&(e.styleId=parseInt(t.attributes.style,10)),!0!==t.attributes.hidden&&"true"!==t.attributes.hidden&&1!==t.attributes.hidden&&"1"!==t.attributes.hidden||(e.hidden=!0),t.attributes.bestFit&&(e.bestFit=!0),t.attributes.outlineLevel&&(e.outlineLevel=parseInt(t.attributes.outlineLevel,10)),t.attributes.collapsed&&(e.collapsed=!0),!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"reconcile",value:function(t,e){t.styleId&&(t.style=e.styles.getStyleModel(t.styleId))}},{key:"tag",get:function(){return"col"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],92:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d=t("../../../utils/under-dash"),p=t("../../../utils/utils"),m=t("../../../utils/col-cache"),b=t("../base-xform"),v=t("../../../doc/range");function g(t,e,r,n){var i=e[r];void 0!==i?t[r]=i:void 0!==n&&(t[r]=n)}function y(t,e,r,n){var i=e[r];void 0!==i?t[r]=function(t){switch(t){case"1":case"true":return!0;default:return!1}}(i):void 0!==n&&(t[r]=n)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){var r=function(t){var e=d.map(t,(function(t,e){return{address:e,dataValidation:t,marked:!1}})).sort((function(t,e){return d.strcmp(t.address,e.address)})),r=d.keyBy(e,"address"),n=function(e,r,n){for(var i=0;i<r;i++){var o=m.encodeAddress(e.row+i,n);if(!t[o]||!d.isEqual(t[e.address],t[o]))return!1}return!0};return e.map((function(e){if(!e.marked){var i=m.decodeEx(e.address);if(i.dimensions)return r[i.dimensions].marked=!0,f(f({},e.dataValidation),{},{sqref:e.address});for(var o=1,a=m.encodeAddress(i.row+o,i.col);t[a]&&d.isEqual(e.dataValidation,t[a]);)o++,a=m.encodeAddress(i.row+o,i.col);for(var s=1;n(i,o,i.col+s);)s++;for(var c=0;c<o;c++)for(var u=0;u<s;u++)a=m.encodeAddress(i.row+c,i.col+u),r[a].marked=!0;if(o>1||s>1){var l=i.row+(o-1),h=i.col+(s-1);return f(f({},e.dataValidation),{},{sqref:"".concat(e.address,":").concat(m.encodeAddress(l,h))})}return f(f({},e.dataValidation),{},{sqref:e.address})}return null})).filter(Boolean)}(e);r.length&&(t.openNode("dataValidations",{count:r.length}),r.forEach((function(e){t.openNode("dataValidation"),"any"!==e.type&&(t.addAttribute("type",e.type),e.operator&&"list"!==e.type&&"between"!==e.operator&&t.addAttribute("operator",e.operator),e.allowBlank&&t.addAttribute("allowBlank","1")),e.showInputMessage&&t.addAttribute("showInputMessage","1"),e.promptTitle&&t.addAttribute("promptTitle",e.promptTitle),e.prompt&&t.addAttribute("prompt",e.prompt),e.showErrorMessage&&t.addAttribute("showErrorMessage","1"),e.errorStyle&&t.addAttribute("errorStyle",e.errorStyle),e.errorTitle&&t.addAttribute("errorTitle",e.errorTitle),e.error&&t.addAttribute("error",e.error),t.addAttribute("sqref",e.sqref),(e.formulae||[]).forEach((function(r,n){t.openNode("formula".concat(n+1)),"date"===e.type?t.writeText(p.dateToExcel(new Date(r))):t.writeText(r),t.closeNode()})),t.closeNode()})),t.closeNode())}},{key:"parseOpen",value:function(t){switch(t.name){case"dataValidations":return this.model={},!0;case"dataValidation":this._address=t.attributes.sqref;var e={type:t.attributes.type||"any",formulae:[]};switch(t.attributes.type&&y(e,t.attributes,"allowBlank"),y(e,t.attributes,"showInputMessage"),y(e,t.attributes,"showErrorMessage"),e.type){case"any":case"list":case"custom":break;default:g(e,t.attributes,"operator","between")}return g(e,t.attributes,"promptTitle"),g(e,t.attributes,"prompt"),g(e,t.attributes,"errorStyle"),g(e,t.attributes,"errorTitle"),g(e,t.attributes,"error"),this._dataValidation=e,!0;case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}},{key:"parseText",value:function(t){this._formula&&this._formula.push(t)}},{key:"parseClose",value:function(t){var e=this;switch(t){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach((function(t){t.includes(":")?new v(t).forEachAddress((function(t){e.model[t]=e._dataValidation})):e.model[t]=e._dataValidation})),!0;case"formula1":case"formula2":var r=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":r=parseInt(r,10);break;case"decimal":r=parseFloat(r);break;case"date":r=p.excelToDate(parseFloat(r))}return this._dataValidation.formulae.push(r),this._formula=void 0,!0;default:return!0}}},{key:"tag",get:function(){return"dataValidations"}}])&&o(e.prototype,r),c}(b);e.exports=w},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/utils":26,"../base-xform":31}],93:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode("dimension",{ref:e})}},{key:"parseOpen",value:function(t){return"dimension"===t.name&&(this.model=t.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"dimension"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],94:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode(this.tag,{"r:id":e.rId})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"drawing"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],95:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../composite-xform"),h=t("./cf-ext/conditional-formattings-ext-xform"),d=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={"x14:conditionalFormattings":t.conditionalFormattings=new h},t}return a(r,[{key:"hasContent",value:function(t){return this.conditionalFormattings.hasContent(t.conditionalFormattings)}},{key:"prepare",value:function(t,e){this.conditionalFormattings.prepare(t.conditionalFormattings,e)}},{key:"render",value:function(t,e){t.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(t,e.conditionalFormattings),t.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){this.model[t]=e.model}},{key:"tag",get:function(){return"ext"}}]),r}(f),p=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={ext:t.ext=new d},t}return a(r,[{key:"prepare",value:function(t,e){this.ext.prepare(t,e)}},{key:"hasContent",value:function(t){return this.ext.hasContent(t)}},{key:"render",value:function(t,e){this.hasContent(e)&&(t.openNode("extLst"),this.ext.render(t,e),t.closeNode())}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){Object.assign(this.model,e.model)}},{key:"tag",get:function(){return"extLst"}}]),r}(f);e.exports=p},{"../composite-xform":47,"./cf-ext/conditional-formattings-ext-xform":77}],96:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){t.addRollback();var r=!1;t.openNode("headerFooter"),e.differentFirst&&(t.addAttribute("differentFirst","1"),r=!0),e.differentOddEven&&(t.addAttribute("differentOddEven","1"),r=!0),e.oddHeader&&"string"==typeof e.oddHeader&&(t.leafNode("oddHeader",null,e.oddHeader),r=!0),e.oddFooter&&"string"==typeof e.oddFooter&&(t.leafNode("oddFooter",null,e.oddFooter),r=!0),e.evenHeader&&"string"==typeof e.evenHeader&&(t.leafNode("evenHeader",null,e.evenHeader),r=!0),e.evenFooter&&"string"==typeof e.evenFooter&&(t.leafNode("evenFooter",null,e.evenFooter),r=!0),e.firstHeader&&"string"==typeof e.firstHeader&&(t.leafNode("firstHeader",null,e.firstHeader),r=!0),e.firstFooter&&"string"==typeof e.firstFooter&&(t.leafNode("firstFooter",null,e.firstFooter),r=!0),r?(t.closeNode(),t.commit()):t.rollback()}}},{key:"parseOpen",value:function(t){switch(t.name){case"headerFooter":return this.model={},t.attributes.differentFirst&&(this.model.differentFirst=1===parseInt(t.attributes.differentFirst,0)),t.attributes.differentOddEven&&(this.model.differentOddEven=1===parseInt(t.attributes.differentOddEven,0)),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}},{key:"parseText",value:function(t){switch(this.currentNode){case"oddHeader":this.model.oddHeader=t;break;case"oddFooter":this.model.oddFooter=t;break;case"evenHeader":this.model.evenHeader=t;break;case"evenFooter":this.model.evenFooter=t;break;case"firstHeader":this.model.firstHeader=t;break;case"firstFooter":this.model.firstFooter=t}}},{key:"parseClose",value:function(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}},{key:"tag",get:function(){return"headerFooter"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],97:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("hyperlink",{ref:e.address,"r:id":e.rId,tooltip:e.tooltip})}},{key:"parseOpen",value:function(t){return"hyperlink"===t.name&&(this.model={address:t.attributes.ref,rId:t.attributes["r:id"],tooltip:t.attributes.tooltip},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"hyperlink"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],98:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("mergeCell",{ref:e})}},{key:"parseOpen",value:function(t){return"mergeCell"===t.name&&(this.model=t.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"mergeCell"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],99:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../../../utils/under-dash"),o=t("../../../doc/range"),a=t("../../../utils/col-cache"),s=t("../../../doc/enums"),c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.merges={}}var e,r;return e=t,(r=[{key:"add",value:function(t){if(this.merges[t.master])this.merges[t.master].expandToAddress(t.address);else{var e="".concat(t.master,":").concat(t.address);this.merges[t.master]=new o(e)}}},{key:"reconcile",value:function(t,e){i.each(t,(function(t){for(var r=a.decode(t),n=r.top;n<=r.bottom;n++)for(var i=e[n-1],o=r.left;o<=r.right;o++){var c=i.cells[o-1];c?c.type===s.ValueType.Merge&&(c.master=r.tl):i.cells[o]={type:s.ValueType.Null,address:a.encodeAddress(n,o)}}}))}},{key:"getMasterAddress",value:function(t){var e=this.hash[t];return e&&e.tl}},{key:"mergeCells",get:function(){return i.map(this.merges,(function(t){return t.range}))}}])&&n(e.prototype,r),t}();e.exports=c},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":25}],100:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../base-xform"),f=function(t){return void 0!==t},h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){return!(!e||!f(e.summaryBelow)&&!f(e.summaryRight)||(t.leafNode(this.tag,{summaryBelow:f(e.summaryBelow)?Number(e.summaryBelow):void 0,summaryRight:f(e.summaryRight)?Number(e.summaryRight):void 0}),0))}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.model={summaryBelow:f(t.attributes.summaryBelow)?Boolean(Number(t.attributes.summaryBelow)):void 0,summaryRight:f(t.attributes.summaryRight)?Boolean(Number(t.attributes.summaryRight)):void 0},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"outlinePr"}}])&&o(e.prototype,r),c}(l);e.exports=h},{"../base-xform":31}],101:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("brk",e)}},{key:"parseOpen",value:function(t){return"brk"===t.name&&(this.model=t.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"brk"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],102:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={left:e.left,right:e.right,top:e.top,bottom:e.bottom,header:e.header,footer:e.footer};l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={left:parseFloat(t.attributes.left||.7),right:parseFloat(t.attributes.right||.7),top:parseFloat(t.attributes.top||.75),bottom:parseFloat(t.attributes.bottom||.75),header:parseFloat(t.attributes.header||.3),footer:parseFloat(t.attributes.footer||.3)},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageMargins"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/under-dash":25,"../base-xform":31}],103:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){return!(!e||!e.fitToPage||(t.leafNode(this.tag,{fitToPage:e.fitToPage?"1":void 0}),0))}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.model={fitToPage:"1"===t.attributes.fitToPage},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageSetUpPr"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],104:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash");function f(t){return t?"1":void 0}function h(t){switch(t){case"overThenDown":return t;default:return}}function d(t){switch(t){case"atEnd":case"asDisplyed":return t;default:return}}function p(t){switch(t){case"dash":case"blank":case"NA":return t;default:return}}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={paperSize:e.paperSize,orientation:e.orientation,horizontalDpi:e.horizontalDpi,verticalDpi:e.verticalDpi,pageOrder:h(e.pageOrder),blackAndWhite:f(e.blackAndWhite),draft:f(e.draft),cellComments:d(e.cellComments),errors:p(e.errors),scale:e.scale,fitToWidth:e.fitToWidth,fitToHeight:e.fitToHeight,firstPageNumber:e.firstPageNumber,useFirstPageNumber:f(e.firstPageNumber),usePrinterDefaults:f(e.usePrinterDefaults),copies:e.copies};l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={paperSize:(e=t.attributes.paperSize,void 0!==e?parseInt(e,10):void 0),orientation:t.attributes.orientation||"portrait",horizontalDpi:parseInt(t.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(t.attributes.verticalDpi||"4294967295",10),pageOrder:t.attributes.pageOrder||"downThenOver",blackAndWhite:"1"===t.attributes.blackAndWhite,draft:"1"===t.attributes.draft,cellComments:t.attributes.cellComments||"None",errors:t.attributes.errors||"displayed",scale:parseInt(t.attributes.scale||"100",10),fitToWidth:parseInt(t.attributes.fitToWidth||"1",10),fitToHeight:parseInt(t.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(t.attributes.firstPageNumber||"1",10),useFirstPageNumber:"1"===t.attributes.useFirstPageNumber,usePrinterDefaults:"1"===t.attributes.usePrinterDefaults,copies:parseInt(t.attributes.copies||"1",10)},!0;default:return!1}var e}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageSetup"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=m},{"../../../utils/under-dash":25,"../base-xform":31}],105:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode(this.tag,{"r:id":e.rId})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"picture"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],106:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash");function f(t){return t?"1":void 0}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={headings:f(e.showRowColHeaders),gridLines:f(e.showGridLines),horizontalCentered:f(e.horizontalCentered),verticalCentered:f(e.verticalCentered)};l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={showRowColHeaders:"1"===t.attributes.headings,showGridLines:"1"===t.attributes.gridLines,horizontalCentered:"1"===t.attributes.horizontalCentered,verticalCentered:"1"===t.attributes.verticalCentered},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"printOptions"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=h},{"../../../utils/under-dash":25,"../base-xform":31}],107:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./page-breaks-xform"),l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s);var t={tag:"rowBreaks",count:!0,childXform:new u};return n.call(this,t)}return e=s,(r=[{key:"render",value:function(t,e){if(e&&e.length){t.openNode(this.tag,this.$),this.count&&(t.addAttribute(this.$count,e.length),t.addAttribute("manualBreakCount",e.length));var r=this.childXform;e.forEach((function(e){r.render(t,e)})),t.closeNode()}else this.empty&&t.leafNode(this.tag)}}])&&i(e.prototype,r),s}(t("../list-xform"));e.exports=l},{"../list-xform":70,"./page-breaks-xform":101}],108:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./cell-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).maxItems=t&&t.maxItems,e.map={c:new l},e}return e=s,(r=[{key:"prepare",value:function(t,e){var r=e.styles.addStyleModel(t.style);r&&(t.styleId=r);var n=this.map.c;t.cells.forEach((function(t){n.prepare(t,e)}))}},{key:"render",value:function(t,e,r){t.openNode("row"),t.addAttribute("r",e.number),e.height&&(t.addAttribute("ht",e.height),t.addAttribute("customHeight","1")),e.hidden&&t.addAttribute("hidden","1"),e.min>0&&e.max>0&&e.min<=e.max&&t.addAttribute("spans","".concat(e.min,":").concat(e.max)),e.styleId&&(t.addAttribute("s",e.styleId),t.addAttribute("customFormat","1")),t.addAttribute("x14ac:dyDescent","0.25"),e.outlineLevel&&t.addAttribute("outlineLevel",e.outlineLevel),e.collapsed&&t.addAttribute("collapsed","1");var n=this.map.c;e.cells.forEach((function(e){n.render(t,e,r)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;if("row"===t.name){this.numRowsSeen+=1;var e=t.attributes.spans?t.attributes.spans.split(":").map((function(t){return parseInt(t,10)})):[void 0,void 0],r=this.model={number:parseInt(t.attributes.r,10),min:e[0],max:e[1],cells:[]};return t.attributes.s&&(r.styleId=parseInt(t.attributes.s,10)),!0!==t.attributes.hidden&&"true"!==t.attributes.hidden&&1!==t.attributes.hidden&&"1"!==t.attributes.hidden||(r.hidden=!0),t.attributes.bestFit&&(r.bestFit=!0),t.attributes.ht&&(r.height=parseFloat(t.attributes.ht)),t.attributes.outlineLevel&&(r.outlineLevel=parseInt(t.attributes.outlineLevel,10)),t.attributes.collapsed&&(r.collapsed=!0),!0}return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error("Max column count (".concat(this.maxItems,") exceeded"));this.parser=void 0}return!0}return!1}},{key:"reconcile",value:function(t,e){t.style=t.styleId?e.styles.getStyleModel(t.styleId):{},void 0!==t.styleId&&(t.styleId=void 0);var r=this.map.c;t.cells.forEach((function(t){r.reconcile(t,e)}))}},{key:"tag",get:function(){return"row"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"./cell-xform":72}],109:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={defaultRowHeight:e.defaultRowHeight,outlineLevelRow:e.outlineLevelRow,outlineLevelCol:e.outlineLevelCol,"x14ac:dyDescent":e.dyDescent};e.defaultColWidth&&(r.defaultColWidth=e.defaultColWidth),e.defaultRowHeight&&15===e.defaultRowHeight||(r.customHeight="1"),l.some(r,(function(t){return void 0!==t}))&&t.leafNode("sheetFormatPr",r)}}},{key:"parseOpen",value:function(t){return"sheetFormatPr"===t.name&&(this.model={defaultRowHeight:parseFloat(t.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(t.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(t.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(t.attributes.outlineLevelCol||"0",10)},t.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(t.attributes.defaultColWidth)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"sheetFormatPr"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/under-dash":25,"../base-xform":31}],110:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("../style/color-xform"),f=t("./page-setup-properties-xform"),h=t("./outline-properties-xform"),d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={tabColor:new l("tabColor"),pageSetUpPr:new f,outlinePr:new h},t}return e=s,(r=[{key:"render",value:function(t,e){if(e){t.addRollback(),t.openNode("sheetPr");var r=!1;r=this.map.tabColor.render(t,e.tabColor)||r,r=this.map.pageSetUpPr.render(t,e.pageSetup)||r,(r=this.map.outlinePr.render(t,e.outlineProperties)||r)?(t.closeNode(),t.commit()):t.rollback()}}},{key:"parseOpen",value:function(t){return this.parser?(this.parser.parseOpen(t),!0):t.name===this.tag?(this.reset(),!0):!!this.map[t.name]&&(this.parser=this.map[t.name],this.parser.parseOpen(t),!0)}},{key:"parseText",value:function(t){return!!this.parser&&(this.parser.parseText(t),!0)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}},{key:"tag",get:function(){return"sheetPr"}}])&&i(e.prototype,r),s}(u);e.exports=d},{"../base-xform":31,"../style/color-xform":127,"./outline-properties-xform":100,"./page-setup-properties-xform":103}],111:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash");function f(t,e){return t?e:void 0}function h(t,e){return t===e||void 0}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={sheet:f(e.sheet,"1"),selectLockedCells:!1===e.selectLockedCells?"1":void 0,selectUnlockedCells:!1===e.selectUnlockedCells?"1":void 0,formatCells:f(e.formatCells,"0"),formatColumns:f(e.formatColumns,"0"),formatRows:f(e.formatRows,"0"),insertColumns:f(e.insertColumns,"0"),insertRows:f(e.insertRows,"0"),insertHyperlinks:f(e.insertHyperlinks,"0"),deleteColumns:f(e.deleteColumns,"0"),deleteRows:f(e.deleteRows,"0"),sort:f(e.sort,"0"),autoFilter:f(e.autoFilter,"0"),pivotTables:f(e.pivotTables,"0")};e.sheet&&(r.algorithmName=e.algorithmName,r.hashValue=e.hashValue,r.saltValue=e.saltValue,r.spinCount=e.spinCount,r.objects=f(!1===e.objects,"1"),r.scenarios=f(!1===e.scenarios,"1")),l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={sheet:h(t.attributes.sheet,"1"),objects:"1"!==t.attributes.objects&&void 0,scenarios:"1"!==t.attributes.scenarios&&void 0,selectLockedCells:"1"!==t.attributes.selectLockedCells&&void 0,selectUnlockedCells:"1"!==t.attributes.selectUnlockedCells&&void 0,formatCells:h(t.attributes.formatCells,"0"),formatColumns:h(t.attributes.formatColumns,"0"),formatRows:h(t.attributes.formatRows,"0"),insertColumns:h(t.attributes.insertColumns,"0"),insertRows:h(t.attributes.insertRows,"0"),insertHyperlinks:h(t.attributes.insertHyperlinks,"0"),deleteColumns:h(t.attributes.deleteColumns,"0"),deleteRows:h(t.attributes.deleteRows,"0"),sort:h(t.attributes.sort,"0"),autoFilter:h(t.attributes.autoFilter,"0"),pivotTables:h(t.attributes.pivotTables,"0")},t.attributes.algorithmName&&(this.model.algorithmName=t.attributes.algorithmName,this.model.hashValue=t.attributes.hashValue,this.model.saltValue=t.attributes.saltValue,this.model.spinCount=parseInt(t.attributes.spinCount,10)),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"sheetProtection"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=d},{"../../../utils/under-dash":25,"../base-xform":31}],112:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/col-cache"),f=t("../base-xform"),h={frozen:"frozen",frozenSplit:"frozen",split:"split"},d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t){switch(t.state){case"frozen":case"split":break;default:t.state="normal"}}},{key:"render",value:function(t,e){t.openNode("sheetView",{workbookViewId:e.workbookViewId||0});var r,n,i,o,a=function(e,r,n){n&&t.addAttribute(e,r)};switch(a("rightToLeft","1",!0===e.rightToLeft),a("tabSelected","1",e.tabSelected),a("showRuler","0",!1===e.showRuler),a("showRowColHeaders","0",!1===e.showRowColHeaders),a("showGridLines","0",!1===e.showGridLines),a("zoomScale",e.zoomScale,e.zoomScale),a("zoomScaleNormal",e.zoomScaleNormal,e.zoomScaleNormal),a("view",e.style,e.style),e.state){case"frozen":n=e.xSplit||0,i=e.ySplit||0,r=e.topLeftCell||l.getAddress(i+1,n+1).address,o=(e.xSplit&&e.ySplit?"bottomRight":e.xSplit&&"topRight")||"bottomLeft",t.leafNode("pane",{xSplit:e.xSplit||void 0,ySplit:e.ySplit||void 0,topLeftCell:r,activePane:o,state:"frozen"}),t.leafNode("selection",{pane:o,activeCell:e.activeCell,sqref:e.activeCell});break;case"split":"topLeft"===e.activePane&&(e.activePane=void 0),t.leafNode("pane",{xSplit:e.xSplit||void 0,ySplit:e.ySplit||void 0,topLeftCell:e.topLeftCell,activePane:e.activePane}),t.leafNode("selection",{pane:e.activePane,activeCell:e.activeCell,sqref:e.activeCell});break;case"normal":e.activeCell&&t.leafNode("selection",{activeCell:e.activeCell,sqref:e.activeCell})}t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(t.attributes.workbookViewId,10),rightToLeft:"1"===t.attributes.rightToLeft,tabSelected:"1"===t.attributes.tabSelected,showRuler:!("0"===t.attributes.showRuler),showRowColHeaders:!("0"===t.attributes.showRowColHeaders),showGridLines:!("0"===t.attributes.showGridLines),zoomScale:parseInt(t.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(t.attributes.zoomScaleNormal||"100",10),style:t.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(t.attributes.xSplit||"0",10),ySplit:parseInt(t.attributes.ySplit||"0",10),topLeftCell:t.attributes.topLeftCell,activePane:t.attributes.activePane||"topLeft",state:t.attributes.state},!0;case"selection":var e=t.attributes.pane||"topLeft";return this.selections[e]={pane:e,activeCell:t.attributes.activeCell},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){var e,r;switch(t){case"sheetView":return this.sheetView&&this.pane?(e=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:h[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},"split"===this.model.state&&(e.activePane=this.pane.activePane),(r=this.selections[this.pane.activePane])&&r.activeCell&&(e.activeCell=r.activeCell),this.sheetView.style&&(e.style=this.sheetView.style)):(e=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},(r=this.selections.topLeft)&&r.activeCell&&(e.activeCell=r.activeCell),this.sheetView.style&&(e.style=this.sheetView.style)),!1;default:return!0}}},{key:"reconcile",value:function(){}},{key:"tag",get:function(){return"sheetView"}}])&&o(e.prototype,r),c}(f);e.exports=d},{"../../../utils/col-cache":19,"../base-xform":31}],113:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode(this.tag,{"r:id":e.rId})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tablePart"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],114:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/under-dash"),l=t("../../../utils/col-cache"),f=t("../../../utils/xml-stream"),h=t("../../rel-type"),d=t("./merges"),p=t("../base-xform"),m=t("../list-xform"),b=t("./row-xform"),v=t("./col-xform"),g=t("./dimension-xform"),y=t("./hyperlink-xform"),w=t("./merge-cell-xform"),x=t("./data-validations-xform"),O=t("./sheet-properties-xform"),_=t("./sheet-format-properties-xform"),S=t("./sheet-view-xform"),k=t("./sheet-protection-xform"),E=t("./page-margins-xform"),M=t("./page-setup-xform"),C=t("./print-options-xform"),j=t("./auto-filter-xform"),A=t("./picture-xform"),T=t("./drawing-xform"),P=t("./table-part-xform"),D=t("./row-breaks-xform"),R=t("./header-footer-xform"),L=t("./cf/conditional-formattings-xform"),I=t("./ext-lst-xform"),N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),e=n.call(this);var r=t||{},i=r.maxRows,o=r.maxCols;return e.map={sheetPr:new O,dimension:new g,sheetViews:new m({tag:"sheetViews",count:!1,childXform:new S}),sheetFormatPr:new _,cols:new m({tag:"cols",count:!1,childXform:new v}),sheetData:new m({tag:"sheetData",count:!1,empty:!0,childXform:new b({maxItems:o}),maxItems:i}),autoFilter:new j,mergeCells:new m({tag:"mergeCells",count:!0,childXform:new w}),rowBreaks:new D,hyperlinks:new m({tag:"hyperlinks",count:!1,childXform:new y}),pageMargins:new E,dataValidations:new x,pageSetup:new M,headerFooter:new R,printOptions:new C,picture:new A,drawing:new T,sheetProtection:new k,tableParts:new m({tag:"tableParts",count:!0,childXform:new P}),conditionalFormatting:new L,extLst:new I},e}return e=s,(r=[{key:"prepare",value:function(t,e){var r=this;e.merges=new d,t.hyperlinks=e.hyperlinks=[],t.comments=e.comments=[],e.formulae={},e.siFormulae=0,this.map.cols.prepare(t.cols,e),this.map.sheetData.prepare(t.rows,e),this.map.conditionalFormatting.prepare(t.conditionalFormattings,e),t.mergeCells=e.merges.mergeCells;var n=t.rels=[];function i(t){return"rId".concat(t.length+1)}if(t.hyperlinks.forEach((function(t){var e=i(n);t.rId=e,n.push({Id:e,Type:h.Hyperlink,Target:t.target,TargetMode:"External"})})),t.comments.length>0){var o={Id:i(n),Type:h.Comments,Target:"../comments".concat(t.id,".xml")};n.push(o);var a={Id:i(n),Type:h.VmlDrawing,Target:"../drawings/vmlDrawing".concat(t.id,".vml")};n.push(a),t.comments.forEach((function(t){t.refAddress=l.decodeAddress(t.ref)})),e.commentRefs.push({commentName:"comments".concat(t.id),vmlDrawing:"vmlDrawing".concat(t.id)})}var s,c=[];t.media.forEach((function(o){if("background"===o.type){var a=i(n);s=e.media[o.imageId],n.push({Id:a,Type:h.Image,Target:"../media/".concat(s.name,".").concat(s.extension)}),t.background={rId:a},t.image=e.media[o.imageId]}else if("image"===o.type){var u=t.drawing;s=e.media[o.imageId],u||(u=t.drawing={rId:i(n),name:"drawing".concat(++e.drawingsCount),anchors:[],rels:[]},e.drawings.push(u),n.push({Id:u.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:"../drawings/".concat(u.name,".xml")}));var l=r.preImageId===o.imageId?c[o.imageId]:c[u.rels.length];l||(l=i(u.rels),c[u.rels.length]=l,u.rels.push({Id:l,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:"../media/".concat(s.name,".").concat(s.extension)}));var f={picture:{rId:l},range:o.range};if(o.hyperlinks&&o.hyperlinks.hyperlink){var d=i(u.rels);c[u.rels.length]=d,f.picture.hyperlinks={tooltip:o.hyperlinks.tooltip,rId:d},u.rels.push({Id:d,Type:h.Hyperlink,Target:o.hyperlinks.hyperlink,TargetMode:"External"})}r.preImageId=o.imageId,u.anchors.push(f)}})),t.tables.forEach((function(t){var r=i(n);t.rId=r,n.push({Id:r,Type:h.Table,Target:"../tables/".concat(t.target)}),t.columns.forEach((function(t){var r=t.style;r&&(t.dxfId=e.styles.addDxfStyle(r))}))})),this.map.extLst.prepare(t,e)}},{key:"render",value:function(t,e){t.openXml(f.StdDocAttributes),t.openNode("worksheet",s.WORKSHEET_ATTRIBUTES);var r=e.properties?{defaultRowHeight:e.properties.defaultRowHeight,dyDescent:e.properties.dyDescent,outlineLevelCol:e.properties.outlineLevelCol,outlineLevelRow:e.properties.outlineLevelRow}:void 0;e.properties&&e.properties.defaultColWidth&&(r.defaultColWidth=e.properties.defaultColWidth);var n={outlineProperties:e.properties&&e.properties.outlineProperties,tabColor:e.properties&&e.properties.tabColor,pageSetup:e.pageSetup&&e.pageSetup.fitToPage?{fitToPage:e.pageSetup.fitToPage}:void 0},i=e.pageSetup&&e.pageSetup.margins,o={showRowColHeaders:e.pageSetup&&e.pageSetup.showRowColHeaders,showGridLines:e.pageSetup&&e.pageSetup.showGridLines,horizontalCentered:e.pageSetup&&e.pageSetup.horizontalCentered,verticalCentered:e.pageSetup&&e.pageSetup.verticalCentered},a=e.sheetProtection;this.map.sheetPr.render(t,n),this.map.dimension.render(t,e.dimensions),this.map.sheetViews.render(t,e.views),this.map.sheetFormatPr.render(t,r),this.map.cols.render(t,e.cols),this.map.sheetData.render(t,e.rows),this.map.sheetProtection.render(t,a),this.map.autoFilter.render(t,e.autoFilter),this.map.mergeCells.render(t,e.mergeCells),this.map.conditionalFormatting.render(t,e.conditionalFormattings),this.map.dataValidations.render(t,e.dataValidations),this.map.hyperlinks.render(t,e.hyperlinks),this.map.printOptions.render(t,o),this.map.pageMargins.render(t,i),this.map.pageSetup.render(t,e.pageSetup),this.map.headerFooter.render(t,e.headerFooter),this.map.rowBreaks.render(t,e.rowBreaks),this.map.drawing.render(t,e.drawing),this.map.picture.render(t,e.background),this.map.tableParts.render(t,e.tables),this.map.extLst.render(t,e),e.rels&&e.rels.forEach((function(e){e.Type===h.VmlDrawing&&t.leafNode("legacyDrawing",{"r:id":e.Id})})),t.closeNode()}},{key:"parseOpen",value:function(t){return this.parser?(this.parser.parseOpen(t),!0):"worksheet"===t.name?(u.each(this.map,(function(t){t.reset()})),!0):(this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0)}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"worksheet":var e=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(e.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(e.outlineProperties=this.map.sheetPr.model.outlineProperties);var r={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},n=Object.assign(r,this.map.pageSetup.model,this.map.printOptions.model),i=function(t,e){if(!e||!e.length)return t;if(!t||!t.length)return e;var r={},n={};return t.forEach((function(t){r[t.ref]=t,t.rules.forEach((function(t){var e=t.x14Id;e&&(n[e]=t)}))})),e.forEach((function(e){e.rules.forEach((function(i){var o=n[i.x14Id];o?function(t,e){Object.keys(e).forEach((function(r){var n=t[r],i=e[r];void 0===n&&void 0!==i&&(t[r]=i)}))}(o,i):r[e.ref]?r[e.ref].rules.push(i):t.push({ref:e.ref,rules:[i]})}))})),t}(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:e,views:this.map.sheetViews.model,pageSetup:n,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:i},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1;default:return!0}}},{key:"reconcile",value:function(t,e){var r=(t.relationships||[]).reduce((function(r,n){if(r[n.Id]=n,n.Type===h.Comments&&(t.comments=e.comments[n.Target].comments),n.Type===h.VmlDrawing&&t.comments&&t.comments.length){var i=e.vmlDrawings[n.Target].comments;t.comments.forEach((function(t,e){t.note=Object.assign({},t.note,i[e])}))}return r}),{});if(e.commentsMap=(t.comments||[]).reduce((function(t,e){return e.ref&&(t[e.ref]=e),t}),{}),e.hyperlinkMap=(t.hyperlinks||[]).reduce((function(t,e){return e.rId&&(t[e.address]=r[e.rId].Target),t}),{}),e.formulae={},t.rows=t.rows&&t.rows.filter(Boolean)||[],t.rows.forEach((function(t){t.cells=t.cells&&t.cells.filter(Boolean)||[]})),this.map.cols.reconcile(t.cols,e),this.map.sheetData.reconcile(t.rows,e),this.map.conditionalFormatting.reconcile(t.conditionalFormattings,e),t.media=[],t.drawing){var n=r[t.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(n){var i=n[1];e.drawings[i].anchors.forEach((function(e){if(e.medium){var r={type:"image",imageId:e.medium.index,range:e.range,hyperlinks:e.picture.hyperlinks};t.media.push(r)}}))}}var o=t.background&&r[t.background.rId];if(o){var a=o.Target.split("/media/")[1],s=e.mediaIndex&&e.mediaIndex[a];void 0!==s&&t.media.push({type:"background",imageId:s})}t.tables=(t.tables||[]).map((function(t){var n=r[t.rId];return e.tables[n.Target]})),delete t.relationships,delete t.hyperlinks,delete t.comments}}])&&i(e.prototype,r),s}(p);N.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},e.exports=N},{"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/xml-stream":27,"../../rel-type":30,"../base-xform":31,"../list-xform":70,"./auto-filter-xform":71,"./cf/conditional-formattings-xform":86,"./col-xform":91,"./data-validations-xform":92,"./dimension-xform":93,"./drawing-xform":94,"./ext-lst-xform":95,"./header-footer-xform":96,"./hyperlink-xform":97,"./merge-cell-xform":98,"./merges":99,"./page-margins-xform":102,"./page-setup-xform":104,"./picture-xform":105,"./print-options-xform":106,"./row-breaks-xform":107,"./row-xform":108,"./sheet-format-properties-xform":109,"./sheet-properties-xform":110,"./sheet-protection-xform":111,"./sheet-view-xform":112,"./table-part-xform":113}],115:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e}return e=s,(r=[{key:"render",value:function(t,e){e&&(t.openNode(this.tag),t.closeNode())}},{key:"parseOpen",value:function(t){t.name===this.tag&&(this.model=!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],116:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e.attrs=t.attrs,e._format=t.format||function(t){try{return Number.isNaN(t.getTime())?"":t.toISOString()}catch(t){return""}},e._parse=t.parse||function(t){return new Date(t)},e}return e=s,(r=[{key:"render",value:function(t,e){e&&(t.openNode(this.tag),this.attrs&&t.addAttributes(this.attrs),this.attr?t.addAttribute(this.attr,this._format(e)):t.writeText(this._format(e)),t.closeNode())}},{key:"parseOpen",value:function(t){t.name===this.tag&&(this.attr?this.model=this._parse(t.attributes[this.attr]):this.text=[])}},{key:"parseText",value:function(t){this.attr||this.text.push(t)}},{key:"parseClose",value:function(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],117:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e.attrs=t.attrs,e.zero=t.zero,e}return e=s,(r=[{key:"render",value:function(t,e){(e||this.zero)&&(t.openNode(this.tag),this.attrs&&t.addAttributes(this.attrs),this.attr?t.addAttribute(this.attr,e):t.writeText(e),t.closeNode())}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.attr?this.model=parseInt(t.attributes[this.attr],10):this.text=[],!0)}},{key:"parseText",value:function(t){this.attr||this.text.push(t)}},{key:"parseClose",value:function(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],118:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e.attrs=t.attrs,e}return e=s,(r=[{key:"render",value:function(t,e){void 0!==e&&(t.openNode(this.tag),this.attrs&&t.addAttributes(this.attrs),this.attr?t.addAttribute(this.attr,e):t.writeText(e),t.closeNode())}},{key:"parseOpen",value:function(t){t.name===this.tag&&(this.attr?this.model=t.attributes[this.attr]:this.text=[])}},{key:"parseText",value:function(t){this.attr||this.text.push(t)}},{key:"parseClose",value:function(){return this.attr||(this.model=this.text.join("")),!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],119:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./base-xform"),l=t("../../utils/xml-stream"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this))._model=t,e}return e=s,(r=[{key:"render",value:function(t){if(!this._xml){var e=new l;!function t(e,r){e.openNode(r.tag,r.$),r.c&&r.c.forEach((function(r){t(e,r)})),r.t&&e.writeText(r.t),e.closeNode()}(e,this._model),this._xml=e.xml}t.writeXml(this._xml)}},{key:"parseOpen",value:function(){return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this._model.tag:return!1;default:return!0}}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../../utils/xml-stream":27,"./base-xform":31}],120:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./text-xform"),l=t("./rich-text-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={r:new l,t:new u},t}return e=s,(r=[{key:"render",value:function(t,e){if(t.openNode(this.tag,{sb:e.sb||0,eb:e.eb||0}),e&&e.hasOwnProperty("richText")&&e.richText){var r=this.map.r;e.richText.forEach((function(e){r.render(t,e)}))}else e&&this.map.t.render(t,e.text);t.closeNode()}},{key:"parseOpen",value:function(t){var e=t.name;return this.parser?(this.parser.parseOpen(t),!0):e===this.tag?(this.model={sb:parseInt(t.attributes.sb,10),eb:parseInt(t.attributes.eb,10)},!0):(this.parser=this.map[e],!!this.parser&&(this.parser.parseOpen(t),!0))}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)){switch(t){case"r":var e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break;case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"rPh"}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=f},{"../base-xform":31,"./rich-text-xform":121,"./text-xform":124}],121:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./text-xform"),l=t("../style/font-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t,e}return e=s,(r=[{key:"render",value:function(t,e){e=e||this.model,t.openNode("r"),e.font&&this.fontXform.render(t,e.font),this.textXform.render(t,e.text),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(t),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){switch(t){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(t),!0}}},{key:"tag",get:function(){return"r"}},{key:"textXform",get:function(){return this._textXform||(this._textXform=new u)}},{key:"fontXform",get:function(){return this._fontXform||(this._fontXform=new l(s.FONT_OPTIONS))}}])&&i(e.prototype,r),s}(t("../base-xform"));f.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},e.exports=f},{"../base-xform":31,"../style/font-xform":130,"./text-xform":124}],122:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./text-xform"),l=t("./rich-text-xform"),f=t("./phonetic-text-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t,e.map={r:new l,t:new u,rPh:new f},e}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag),e&&e.hasOwnProperty("richText")&&e.richText?e.richText.length?e.richText.forEach((function(e){r.map.r.render(t,e)})):this.map.t.render(t,""):null!=e&&this.map.t.render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){var e=t.name;return this.parser?(this.parser.parseOpen(t),!0):e===this.tag?(this.model={},!0):(this.parser=this.map[e],!!this.parser&&(this.parser.parseOpen(t),!0))}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)){switch(t){case"r":var e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break;case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"si"}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=h},{"../base-xform":31,"./phonetic-text-xform":120,"./rich-text-xform":121,"./text-xform":124}],123:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("./shared-string-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t||{values:[],count:0},e.hash=Object.create(null),e.rich=Object.create(null),e}return e=s,(r=[{key:"getString",value:function(t){return this.model.values[t]}},{key:"add",value:function(t){return t.richText?this.addRichText(t):this.addText(t)}},{key:"addText",value:function(t){var e=this.hash[t];return void 0===e&&(e=this.hash[t]=this.model.values.length,this.model.values.push(t)),this.model.count++,e}},{key:"addRichText",value:function(t){var e=this.sharedStringXform.toXml(t),r=this.rich[e];return void 0===r&&(r=this.rich[e]=this.model.values.length,this.model.values.push(t)),this.model.count++,r}},{key:"render",value:function(t,e){e=e||this._values,t.openXml(u.StdDocAttributes),t.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:e.count,uniqueCount:e.values.length});var r=this.sharedStringXform;e.values.forEach((function(e){r.render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(t),!0;default:throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(t){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}},{key:"sharedStringXform",get:function(){return this._sharedStringXform||(this._sharedStringXform=new f)}},{key:"values",get:function(){return this.model.values}},{key:"uniqueCount",get:function(){return this.model.values.length}},{key:"count",get:function(){return this.model.count}}])&&i(e.prototype,r),s}(l);e.exports=h},{"../../../utils/xml-stream":27,"../base-xform":31,"./shared-string-xform":122}],124:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("t"),/^\s|\n|\s$/.test(e)&&t.addAttribute("xml:space","preserve"),t.writeText(e),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case"t":return this._text=[],!0;default:return!1}}},{key:"parseText",value:function(t){this._text.push(t)}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"t"}},{key:"model",get:function(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,(function(t,e){return String.fromCharCode(parseInt(e,16))}))}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],125:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../doc/enums"),f=t("../../../utils/utils"),h=t("../base-xform"),d={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce((function(t,e){return t[e]=!0,t}),{}),horizontal:function(t){return this.horizontalValues[t]?t:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce((function(t,e){return t[e]=!0,t}),{}),vertical:function(t){return"middle"===t?"center":this.verticalValues[t]?t:void 0},wrapText:function(t){return!!t||void 0},shrinkToFit:function(t){return!!t||void 0},textRotation:function(t){switch(t){case"vertical":return t;default:return(t=f.validInt(t))>=-90&&t<=90?t:void 0}},indent:function(t){return t=f.validInt(t),Math.max(0,t)},readingOrder:function(t){switch(t){case"ltr":return l.ReadingOrder.LeftToRight;case"rtl":return l.ReadingOrder.RightToLeft;default:return}}},p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.addRollback(),t.openNode("alignment");var r=!1;function n(e,n){n&&(t.addAttribute(e,n),r=!0)}n("horizontal",d.horizontal(e.horizontal)),n("vertical",d.vertical(e.vertical)),n("wrapText",!!d.wrapText(e.wrapText)&&"1"),n("shrinkToFit",!!d.shrinkToFit(e.shrinkToFit)&&"1"),n("indent",d.indent(e.indent)),n("textRotation",function(t){if(t=d.textRotation(t)){if("vertical"===t)return 255;var e=Math.round(t);if(e>=0&&e<=90)return e;if(e<0&&e>=-90)return 90-e}}(e.textRotation)),n("readingOrder",d.readingOrder(e.readingOrder)),t.closeNode(),r?t.commit():t.rollback()}},{key:"parseOpen",value:function(t){var e={},r=!1;function n(t,n,i){t&&(e[n]=i,r=!0)}n(t.attributes.horizontal,"horizontal",t.attributes.horizontal),n(t.attributes.vertical,"vertical","center"===t.attributes.vertical?"middle":t.attributes.vertical),n(t.attributes.wrapText,"wrapText",!!t.attributes.wrapText),n(t.attributes.shrinkToFit,"shrinkToFit",!!t.attributes.shrinkToFit),n(t.attributes.indent,"indent",parseInt(t.attributes.indent,10)),n(t.attributes.textRotation,"textRotation",function(t){var e=f.validInt(t);if(void 0!==e){if(255===e)return"vertical";if(e>=0&&e<=90)return e;if(e>90&&e<=180)return 90-e}}(t.attributes.textRotation)),n(t.attributes.readingOrder,"readingOrder","2"===t.attributes.readingOrder?"rtl":"ltr"),this.model=r?e:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"alignment"}}])&&o(e.prototype,r),c}(h);e.exports=p},{"../../../doc/enums":7,"../../../utils/utils":26,"../base-xform":31}],126:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),t}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d(t);if(e){var i=d(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return h(this,r)}}function h(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=t("../base-xform"),m=t("./color-xform"),b=function(t){l(r,t);var e=f(r);function r(t){var n;return s(this,r),(n=e.call(this)).name=t,n.map={color:new m},n}return u(r,[{key:"render",value:function(t,e,r){var n=e&&e.color||r||this.defaultColor;t.openNode(this.name),e&&e.style&&(t.addAttribute("style",e.style),n&&this.map.color.render(t,n)),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.name:var e=t.attributes.style;return this.model=e?{style:e}:void 0,!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.parser=void 0),!0):(t===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}},{key:"validStyle",value:function(t){return r.validStyleValues[t]}},{key:"tag",get:function(){return this.name}}]),r}(p);b.validStyleValues=["thin","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce((function(t,e){return t[e]=!0,t}),{});var v=function(t){l(r,t);var e=f(r);function r(){var t;return s(this,r),(t=e.call(this)).map={top:new b("top"),left:new b("left"),bottom:new b("bottom"),right:new b("right"),diagonal:new b("diagonal")},t}return u(r,[{key:"render",value:function(t,e){var r=e.color;function n(n,o){n&&!n.color&&e.color&&(n=i(i({},n),{},{color:e.color})),o.render(t,n,r)}t.openNode("border"),e.diagonal&&e.diagonal.style&&(e.diagonal.up&&t.addAttribute("diagonalUp","1"),e.diagonal.down&&t.addAttribute("diagonalDown","1")),n(e.left,this.map.left),n(e.right,this.map.right),n(e.top,this.map.top),n(e.bottom,this.map.bottom),n(e.diagonal,this.map.diagonal),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"border":return this.reset(),this.diagonalUp=!!t.attributes.diagonalUp,this.diagonalDown=!!t.attributes.diagonalDown,!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;if("border"===t){var e=this.model={},r=function(t,r,n){r&&(n&&Object.assign(r,n),e[t]=r)};r("left",this.map.left.model),r("right",this.map.right.model),r("top",this.map.top.model),r("bottom",this.map.bottom.model),r("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}]),r}(p);e.exports=v},{"../base-xform":31,"./color-xform":127}],127:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).name=t||"color",e}return e=s,(r=[{key:"render",value:function(t,e){return!!e&&(t.openNode(this.name),e.argb?t.addAttribute("rgb",e.argb):void 0!==e.theme?(t.addAttribute("theme",e.theme),void 0!==e.tint&&t.addAttribute("tint",e.tint)):void 0!==e.indexed?t.addAttribute("indexed",e.indexed):t.addAttribute("auto","1"),t.closeNode(),!0)}},{key:"parseOpen",value:function(t){return t.name===this.name&&(t.attributes.rgb?this.model={argb:t.attributes.rgb}:t.attributes.theme?(this.model={theme:parseInt(t.attributes.theme,10)},t.attributes.tint&&(this.model.tint=parseFloat(t.attributes.tint))):t.attributes.indexed?this.model={indexed:parseInt(t.attributes.indexed,10)}:this.model=void 0,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this.name}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],128:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./alignment-xform"),f=t("./border-xform"),h=t("./fill-xform"),d=t("./font-xform"),p=t("./numfmt-xform"),m=t("./protection-xform"),b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={alignment:new l,border:new f,fill:new h,font:new d,numFmt:new p,protection:new m},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),e.font&&this.map.font.render(t,e.font),e.numFmt&&this.map.numFmt.render(t,e.numFmt),e.fill&&this.map.fill.render(t,e.fill),e.alignment&&this.map.alignment.render(t,e.alignment),e.border&&this.map.border.render(t,e.border),e.protection&&this.map.protection.render(t,e.protection),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.parser=void 0),!0):t!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}},{key:"tag",get:function(){return"dxf"}}])&&i(e.prototype,r),s}(u);e.exports=b},{"../base-xform":31,"./alignment-xform":125,"./border-xform":126,"./fill-xform":129,"./font-xform":130,"./numfmt-xform":131,"./protection-xform":132}],129:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../base-xform"),h=t("./color-xform"),d=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={color:new h},t}return a(r,[{key:"render",value:function(t,e){t.openNode("stop"),t.addAttribute("position",e.position),this.map.color.render(t,e.color),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"stop":return this.model={position:parseFloat(t.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.model.color=this.parser.model,this.parser=void 0),!0)}},{key:"tag",get:function(){return"stop"}}]),r}(f),p=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={fgColor:new h("fgColor"),bgColor:new h("bgColor")},t}return a(r,[{key:"render",value:function(t,e){t.openNode("patternFill"),t.addAttribute("patternType",e.pattern),e.fgColor&&this.map.fgColor.render(t,e.fgColor),e.bgColor&&this.map.bgColor.render(t,e.bgColor),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"patternFill":return this.model={type:"pattern",pattern:t.attributes.patternType},!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.parser.model&&(this.model[t]=this.parser.model),this.parser=void 0),!0)}},{key:"name",get:function(){return"pattern"}},{key:"tag",get:function(){return"patternFill"}}]),r}(f),m=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={stop:new d},t}return a(r,[{key:"render",value:function(t,e){switch(t.openNode("gradientFill"),e.gradient){case"angle":t.addAttribute("degree",e.degree);break;case"path":t.addAttribute("type","path"),e.center.left&&(t.addAttribute("left",e.center.left),void 0===e.center.right&&t.addAttribute("right",e.center.left)),e.center.right&&t.addAttribute("right",e.center.right),e.center.top&&(t.addAttribute("top",e.center.top),void 0===e.center.bottom&&t.addAttribute("bottom",e.center.top)),e.center.bottom&&t.addAttribute("bottom",e.center.bottom)}var r=this.map.stop;e.stops.forEach((function(e){r.render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"gradientFill":var e=this.model={stops:[]};return t.attributes.degree?(e.gradient="angle",e.degree=parseInt(t.attributes.degree,10)):"path"===t.attributes.type&&(e.gradient="path",e.center={left:t.attributes.left?parseFloat(t.attributes.left):0,top:t.attributes.top?parseFloat(t.attributes.top):0},t.attributes.right!==t.attributes.left&&(e.center.right=t.attributes.right?parseFloat(t.attributes.right):0),t.attributes.bottom!==t.attributes.top&&(e.center.bottom=t.attributes.bottom?parseFloat(t.attributes.bottom):0)),!0;case"stop":return this.parser=this.map.stop,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}},{key:"name",get:function(){return"gradient"}},{key:"tag",get:function(){return"gradientFill"}}]),r}(f),b=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={patternFill:new p,gradientFill:new m},t}return a(r,[{key:"render",value:function(t,e){switch(t.addRollback(),t.openNode("fill"),e.type){case"pattern":this.map.patternFill.render(t,e);break;case"gradient":this.map.gradientFill.render(t,e);break;default:return void t.rollback()}t.closeNode(),t.commit()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"fill":return this.model={},!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}},{key:"validStyle",value:function(t){return r.validPatternValues[t]}},{key:"tag",get:function(){return"fill"}}]),r}(f);b.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce((function(t,e){return t[e]=!0,t}),{}),b.StopXform=d,b.PatternFillXform=p,b.GradientFillXform=m,e.exports=b},{"../base-xform":31,"./color-xform":127}],130:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./color-xform"),l=t("../simple/boolean-xform"),f=t("../simple/integer-xform"),h=t("../simple/string-xform"),d=t("./underline-xform"),p=t("../../../utils/under-dash"),m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).options=t||s.OPTIONS,e.map={b:{prop:"bold",xform:new l({tag:"b",attr:"val"})},i:{prop:"italic",xform:new l({tag:"i",attr:"val"})},u:{prop:"underline",xform:new d},charset:{prop:"charset",xform:new f({tag:"charset",attr:"val"})},color:{prop:"color",xform:new u},condense:{prop:"condense",xform:new l({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new l({tag:"extend",attr:"val"})},family:{prop:"family",xform:new f({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new l({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new h({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new h({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new l({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new l({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new f({tag:"sz",attr:"val"})}},e.map[e.options.fontNameTag]={prop:"name",xform:new h({tag:e.options.fontNameTag,attr:"val"})},e}return e=s,(r=[{key:"render",value:function(t,e){var r=this.map;t.openNode(this.options.tagName),p.each(this.map,(function(n,i){r[i].xform.render(t,e[n.prop])})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;if(this.map[t.name])return this.parser=this.map[t.name].xform,this.parser.parseOpen(t);switch(t.name){case this.options.tagName:return this.model={},!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser&&!this.parser.parseClose(t)){var e=this.map[t];return this.parser.model&&(this.model[e.prop]=this.parser.model),this.parser=void 0,!0}switch(t){case this.options.tagName:return!1;default:return!0}}},{key:"tag",get:function(){return this.options.tagName}}])&&i(e.prototype,r),s}(t("../base-xform"));m.OPTIONS={tagName:"font",fontNameTag:"name"},e.exports=m},{"../../../utils/under-dash":25,"../base-xform":31,"../simple/boolean-xform":115,"../simple/integer-xform":117,"../simple/string-xform":118,"./color-xform":127,"./underline-xform":135}],131:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u,l=t("../../../utils/under-dash"),f=t("../../defaultnumformats"),h=t("../base-xform"),d=(u={},l.each(f,(function(t,e){t.f&&(u[t.f]=parseInt(e,10))})),u),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t,e){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(r=n.call(this)).id=t,r.formatCode=e,r}return e=s,(r=[{key:"render",value:function(t,e){t.leafNode("numFmt",{numFmtId:e.id,formatCode:e.formatCode})}},{key:"parseOpen",value:function(t){switch(t.name){case"numFmt":return this.model={id:parseInt(t.attributes.numFmtId,10),formatCode:t.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"numFmt"}}])&&i(e.prototype,r),s}(h);p.getDefaultFmtId=function(t){return d[t]},p.getDefaultFmtCode=function(t){return f[t]&&f[t].f},e.exports=p},{"../../../utils/under-dash":25,"../../defaultnumformats":29,"../base-xform":31}],132:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../base-xform"),f=function(t,e){return void 0===t?e:t},h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.addRollback(),t.openNode("protection");var r=!1;function n(e,n){void 0!==n&&(t.addAttribute(e,n),r=!0)}n("locked",f(e.locked,!0)?void 0:"0"),n("hidden",f(e.hidden,!1)?"1":void 0),t.closeNode(),r?t.commit():t.rollback()}},{key:"parseOpen",value:function(t){var e={locked:!("0"===t.attributes.locked),hidden:"1"===t.attributes.hidden},r=!e.locked||e.hidden;this.model=r?e:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"protection"}}])&&o(e.prototype,r),c}(l);e.exports=h},{"../base-xform":31}],133:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./alignment-xform"),f=t("./protection-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).xfId=!(!t||!t.xfId),e.map={alignment:new l,protection:new f},e}return e=s,(r=[{key:"render",value:function(t,e){t.openNode("xf",{numFmtId:e.numFmtId||0,fontId:e.fontId||0,fillId:e.fillId||0,borderId:e.borderId||0}),this.xfId&&t.addAttribute("xfId",e.xfId||0),e.numFmtId&&t.addAttribute("applyNumberFormat","1"),e.fontId&&t.addAttribute("applyFont","1"),e.fillId&&t.addAttribute("applyFill","1"),e.borderId&&t.addAttribute("applyBorder","1"),e.alignment&&t.addAttribute("applyAlignment","1"),e.protection&&t.addAttribute("applyProtection","1"),e.alignment&&this.map.alignment.render(t,e.alignment),e.protection&&this.map.protection.render(t,e.protection),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"xf":return this.model={numFmtId:parseInt(t.attributes.numFmtId,10),fontId:parseInt(t.attributes.fontId,10),fillId:parseInt(t.attributes.fillId,10),borderId:parseInt(t.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(t.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(t),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):"xf"!==t}},{key:"tag",get:function(){return"xf"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../base-xform":31,"./alignment-xform":125,"./protection-xform":132}],134:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../../doc/enums"),h=t("../../../utils/xml-stream"),d=t("../base-xform"),p=t("../static-xform"),m=t("../list-xform"),b=t("./font-xform"),v=t("./fill-xform"),g=t("./border-xform"),y=t("./numfmt-xform"),w=t("./style-xform"),x=t("./dxf-xform"),O=function(t){s(r,t);var e=c(r);function r(t){var n;return i(this,r),(n=e.call(this)).map={numFmts:new m({tag:"numFmts",count:!0,childXform:new y}),fonts:new m({tag:"fonts",count:!0,childXform:new b,$:{"x14ac:knownFonts":1}}),fills:new m({tag:"fills",count:!0,childXform:new v}),borders:new m({tag:"borders",count:!0,childXform:new g}),cellStyleXfs:new m({tag:"cellStyleXfs",count:!0,childXform:new w}),cellXfs:new m({tag:"cellXfs",count:!0,childXform:new w({xfId:!0})}),dxfs:new m({tag:"dxfs",always:!0,count:!0,childXform:new x}),numFmt:new y,font:new b,fill:new v,border:new g,style:new w({xfId:!0}),cellStyles:r.STATIC_XFORMS.cellStyles,tableStyles:r.STATIC_XFORMS.tableStyles,extLst:r.STATIC_XFORMS.extLst},t&&n.init(),n}return a(r,[{key:"initIndex",value:function(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}},{key:"init",value:function(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}},{key:"render",value:function(t,e){e=e||this.model,t.openXml(h.StdDocAttributes),t.openNode("styleSheet",r.STYLESHEET_ATTRIBUTES),this.index?(e.numFmts&&e.numFmts.length&&(t.openNode("numFmts",{count:e.numFmts.length}),e.numFmts.forEach((function(e){t.writeXml(e)})),t.closeNode()),e.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),t.openNode("fonts",{count:e.fonts.length,"x14ac:knownFonts":1}),e.fonts.forEach((function(e){t.writeXml(e)})),t.closeNode(),t.openNode("fills",{count:e.fills.length}),e.fills.forEach((function(e){t.writeXml(e)})),t.closeNode(),t.openNode("borders",{count:e.borders.length}),e.borders.forEach((function(e){t.writeXml(e)})),t.closeNode(),this.map.cellStyleXfs.render(t,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),t.openNode("cellXfs",{count:e.styles.length}),e.styles.forEach((function(e){t.writeXml(e)})),t.closeNode()):(this.map.numFmts.render(t,e.numFmts),this.map.fonts.render(t,e.fonts),this.map.fills.render(t,e.fills),this.map.borders.render(t,e.borders),this.map.cellStyleXfs.render(t,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(t,e.styles)),r.STATIC_XFORMS.cellStyles.render(t),this.map.dxfs.render(t,e.dxfs),r.STATIC_XFORMS.tableStyles.render(t),r.STATIC_XFORMS.extLst.render(t),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){var e=this;if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"styleSheet":this.model={};var r=function(t,r){r.model&&r.model.length&&(e.model[t]=r.model)};if(r("numFmts",this.map.numFmts),r("fonts",this.map.fonts),r("fills",this.map.fills),r("borders",this.map.borders),r("styles",this.map.cellXfs),r("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){var n=this.index.numFmt;this.model.numFmts.forEach((function(t){n[t.id]=t.formatCode}))}return!1;default:return!0}}},{key:"addStyleModel",value:function(t,e){if(!t)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(t))return this.weakMap.get(t);var r={};if(e=e||f.ValueType.Number,t.numFmt)r.numFmtId=this._addNumFmtStr(t.numFmt);else switch(e){case f.ValueType.Number:r.numFmtId=this._addNumFmtStr("General");break;case f.ValueType.Date:r.numFmtId=this._addNumFmtStr("mm-dd-yy")}t.font&&(r.fontId=this._addFont(t.font)),t.border&&(r.borderId=this._addBorder(t.border)),t.fill&&(r.fillId=this._addFill(t.fill)),t.alignment&&(r.alignment=t.alignment),t.protection&&(r.protection=t.protection);var n=this._addStyle(r);return this.weakMap&&this.weakMap.set(t,n),n}},{key:"getStyleModel",value:function(t){var e=this.model.styles[t];if(!e)return null;var r=this.index.model[t];if(r)return r;if(r=this.index.model[t]={},e.numFmtId){var n=this.index.numFmt[e.numFmtId]||y.getDefaultFmtCode(e.numFmtId);n&&(r.numFmt=n)}function i(t,e,n){if(n||0===n){var i=e[n];i&&(r[t]=i)}}return i("font",this.model.fonts,e.fontId),i("border",this.model.borders,e.borderId),i("fill",this.model.fills,e.fillId),e.alignment&&(r.alignment=e.alignment),e.protection&&(r.protection=e.protection),r}},{key:"addDxfStyle",value:function(t){return this.model.dxfs.push(t),this.model.dxfs.length-1}},{key:"getDxfStyle",value:function(t){return this.model.dxfs[t]}},{key:"_addStyle",value:function(t){var e=this.map.style.toXml(t),r=this.index.style[e];return void 0===r&&(r=this.index.style[e]=this.model.styles.length,this.model.styles.push(e)),r}},{key:"_addNumFmtStr",value:function(t){var e=y.getDefaultFmtId(t);if(void 0!==e)return e;if(void 0!==(e=this.index.numFmt[t]))return e;e=this.index.numFmt[t]=164+this.model.numFmts.length;var r=this.map.numFmt.toXml({id:e,formatCode:t});return this.model.numFmts.push(r),e}},{key:"_addFont",value:function(t){var e=this.map.font.toXml(t),r=this.index.font[e];return void 0===r&&(r=this.index.font[e]=this.model.fonts.length,this.model.fonts.push(e)),r}},{key:"_addBorder",value:function(t){var e=this.map.border.toXml(t),r=this.index.border[e];return void 0===r&&(r=this.index.border[e]=this.model.borders.length,this.model.borders.push(e)),r}},{key:"_addFill",value:function(t){var e=this.map.fill.toXml(t),r=this.index.fill[e];return void 0===r&&(r=this.index.fill[e]=this.model.fills.length,this.model.fills.push(e)),r}}]),r}(d);O.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},O.STATIC_XFORMS={cellStyles:new p({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new p({tag:"dxfs",$:{count:0}}),tableStyles:new p({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new p({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};var _=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]},t}return a(r,[{key:"parseStream",value:function(t){return t.autodrain(),Promise.resolve()}},{key:"addStyleModel",value:function(t,e){switch(e){case f.ValueType.Date:return this.dateStyleId;default:return 0}}},{key:"getStyleModel",value:function(){return{}}},{key:"dateStyleId",get:function(){if(!this._dateStyleId){var t={numFmtId:y.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(t)}return this._dateStyleId}}]),r}(O);O.Mock=_,e.exports=O},{"../../../doc/enums":7,"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"../static-xform":119,"./border-xform":126,"./dxf-xform":128,"./fill-xform":129,"./font-xform":130,"./numfmt-xform":131,"./style-xform":133}],135:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t,e}return e=s,(r=[{key:"render",value:function(t,e){if(!0===(e=e||this.model))t.leafNode("u");else{var r=s.Attributes[e];r&&t.leafNode("u",r)}}},{key:"parseOpen",value:function(t){"u"===t.name&&(this.model=t.attributes.val||!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"u"}}])&&i(e.prototype,r),s}(t("../base-xform"));u.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},e.exports=u},{"../base-xform":31}],136:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./filter-column-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={filterColumn:new l},t}return e=s,(r=[{key:"prepare",value:function(t){var e=this;t.columns.forEach((function(t,r){e.map.filterColumn.prepare(t,{index:r})}))}},{key:"render",value:function(t,e){var r=this;return t.openNode(this.tag,{ref:e.autoFilterRef}),e.columns.forEach((function(e){r.map.filterColumn.render(t,e)})),t.closeNode(),!0}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:return this.model={autoFilterRef:t.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[t.name],this.parser)return this.parseOpen(t),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}},{key:"tag",get:function(){return"autoFilter"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"./filter-column-xform":137}],137:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t,e){t.colId=e.index.toString()}},{key:"render",value:function(t,e){return t.leafNode(this.tag,{colId:e.colId,hiddenButton:e.filterButton?"0":"1"}),!0}},{key:"parseOpen",value:function(t){if(t.name===this.tag){var e=t.attributes;return this.model={filterButton:"0"===e.hiddenButton},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"filterColumn"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],138:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t,e){t.id=e.index+1}},{key:"render",value:function(t,e){return t.leafNode(this.tag,{id:e.id.toString(),name:e.name,totalsRowLabel:e.totalsRowLabel,totalsRowFunction:e.totalsRowFunction,dxfId:e.dxfId}),!0}},{key:"parseOpen",value:function(t){if(t.name===this.tag){var e=t.attributes;return this.model={name:e.name,totalsRowLabel:e.totalsRowLabel,totalsRowFunction:e.totalsRowFunction,dxfId:e.dxfId},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tableColumn"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],139:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){return t.leafNode(this.tag,{name:e.theme?e.theme:void 0,showFirstColumn:e.showFirstColumn?"1":"0",showLastColumn:e.showLastColumn?"1":"0",showRowStripes:e.showRowStripes?"1":"0",showColumnStripes:e.showColumnStripes?"1":"0"}),!0}},{key:"parseOpen",value:function(t){if(t.name===this.tag){var e=t.attributes;return this.model={theme:e.name?e.name:null,showFirstColumn:"1"===e.showFirstColumn,showLastColumn:"1"===e.showLastColumn,showRowStripes:"1"===e.showRowStripes,showColumnStripes:"1"===e.showColumnStripes},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tableStyleInfo"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],140:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../../utils/xml-stream"),h=t("../base-xform"),d=t("../list-xform"),p=t("./auto-filter-xform"),m=t("./table-column-xform"),b=t("./table-style-info-xform"),v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(i,t);var e,r,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=n.call(this)).map={autoFilter:new p,tableColumns:new d({tag:"tableColumns",count:!0,empty:!0,childXform:new m}),tableStyleInfo:new b},t}return e=i,(r=[{key:"prepare",value:function(t,e){this.map.autoFilter.prepare(t),this.map.tableColumns.prepare(t.columns,e)}},{key:"render",value:function(t,e){t.openXml(f.StdDocAttributes),t.openNode(this.tag,o(o({},i.TABLE_ATTRIBUTES),{},{id:e.id,name:e.name,displayName:e.displayName||e.name,ref:e.tableRef,totalsRowCount:e.totalsRow?"1":void 0,totalsRowShown:e.totalsRow?void 0:"1",headerRowCount:e.headerRow?"1":"0"})),this.map.autoFilter.render(t,e),this.map.tableColumns.render(t,e.columns),this.map.tableStyleInfo.render(t,e.style),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;var e=t.name,r=t.attributes;switch(e){case this.tag:this.reset(),this.model={name:r.name,displayName:r.displayName||r.name,tableRef:r.ref,totalsRow:"1"===r.totalsRowCount,headerRow:"1"===r.headerRowCount};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){var e=this;if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((function(t,r){e.model.columns[r].filterButton=t.filterButton}))),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}},{key:"reconcile",value:function(t,e){t.columns.forEach((function(t){void 0!==t.dxfId&&(t.style=e.styles.getDxfStyle(t.dxfId))}))}},{key:"tag",get:function(){return"table"}}])&&s(e.prototype,r),i}(h);v.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},e.exports=v},{"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"./auto-filter-xform":136,"./table-column-xform":138,"./table-style-info-xform":139}],141:[function(t,e,r){(function(r,i){"use strict";function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function s(t){o(a,n,i,s,c,"next",t)}function c(t){o(a,n,i,s,c,"throw",t)}s(void 0)}))}}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}var u=t("fs"),l=t("jszip"),f=t("readable-stream").PassThrough,h=t("../utils/zip-stream"),d=t("../utils/stream-buf"),p=t("../utils/utils"),m=t("../utils/xml-stream"),b=t("../utils/browser-buffer-decode").bufferToString,v=t("./xform/style/styles-xform"),g=t("./xform/core/core-xform"),y=t("./xform/strings/shared-strings-xform"),w=t("./xform/core/relationships-xform"),x=t("./xform/core/content-types-xform"),O=t("./xform/core/app-xform"),_=t("./xform/book/workbook-xform"),S=t("./xform/sheet/worksheet-xform"),k=t("./xform/drawing/drawing-xform"),E=t("./xform/table/table-xform"),M=t("./xform/comment/comments-xform"),C=t("./xform/comment/vml-notes-xform"),j=t("./xml/theme1.js");function A(t,e){return new Promise((function(r,n){u.readFile(t,e,(function(t,e){t?n(t):r(e)}))}))}var T=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.workbook=e}var e,o,T,P,D,R,L,I,N,F,B,z,H,U,W,q,V,G,Y,X,$,K,Z,J,Q,tt,et;return e=t,(o=[{key:"readFile",value:(et=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.fs.exists(e);case 2:if(t.sent){t.next=4;break}throw new Error("File not found: ".concat(e));case 4:return i=u.createReadStream(e),t.prev=5,t.next=8,this.read(i,r);case 8:return o=t.sent,i.close(),t.abrupt("return",o);case 13:throw t.prev=13,t.t0=t.catch(5),i.close(),t.t0;case 17:case"end":return t.stop()}}),t,this,[[5,13]])}))),function(t,e){return et.apply(this,arguments)})},{key:"parseRels",value:function(t){return(new w).parseStream(t)}},{key:"parseWorkbook",value:function(t){return(new _).parseStream(t)}},{key:"parseSharedStrings",value:function(t){return(new y).parseStream(t)}},{key:"reconcile",value:function(t,e){var r=new _,n=new S(e),i=new k,o=new E;r.reconcile(t);var a={media:t.media,mediaIndex:t.mediaIndex};Object.keys(t.drawings).forEach((function(e){var r=t.drawings[e],n=t.drawingRels[e];n&&(a.rels=n.reduce((function(t,e){return t[e.Id]=e,t}),{}),(r.anchors||[]).forEach((function(t){var e=t.picture&&t.picture.hyperlinks;e&&a.rels[e.rId]&&(e.hyperlink=a.rels[e.rId].Target,delete e.rId)})),i.reconcile(r,a))}));var s={styles:t.styles};Object.values(t.tables).forEach((function(t){o.reconcile(t,s)}));var c={styles:t.styles,sharedStrings:t.sharedStrings,media:t.media,mediaIndex:t.mediaIndex,date1904:t.properties&&t.properties.date1904,drawings:t.drawings,comments:t.comments,tables:t.tables,vmlDrawings:t.vmlDrawings};t.worksheets.forEach((function(e){e.relationships=t.worksheetRels[e.sheetNo],n.reconcile(e,c)})),delete t.worksheetHash,delete t.worksheetRels,delete t.globalRels,delete t.sharedStrings,delete t.workbookRels,delete t.sheetDefs,delete t.styles,delete t.mediaIndex,delete t.drawings,delete t.drawingRels,delete t.vmlDrawings}},{key:"_processWorksheetEntry",value:(tt=a(n.mark((function t(e,r,i,o,a){var s,c;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=new S(o),t.next=3,s.parseStream(e);case 3:(c=t.sent).sheetNo=i,r.worksheetHash[a]=c,r.worksheets.push(c);case 7:case"end":return t.stop()}}),t)}))),function(t,e,r,n,i){return tt.apply(this,arguments)})},{key:"_processCommentEntry",value:(Q=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new M,t.next=3,o.parseStream(e);case 3:a=t.sent,r.comments["../".concat(i,".xml")]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return Q.apply(this,arguments)})},{key:"_processTableEntry",value:(J=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new E,t.next=3,o.parseStream(e);case 3:a=t.sent,r.tables["../tables/".concat(i,".xml")]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return J.apply(this,arguments)})},{key:"_processWorksheetRelsEntry",value:(Z=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new w,t.next=3,o.parseStream(e);case 3:a=t.sent,r.worksheetRels[i]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return Z.apply(this,arguments)})},{key:"_processMediaEntry",value:(K=a(n.mark((function t(e,r,i){var o,a,s;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!((o=i.lastIndexOf("."))>=1)){t.next=6;break}return a=i.substr(o+1),s=i.substr(0,o),t.next=6,new Promise((function(t,n){var o=new d;o.on("finish",(function(){r.mediaIndex[i]=r.media.length,r.mediaIndex[s]=r.media.length;var e={type:"image",name:s,extension:a,buffer:o.toBuffer()};r.media.push(e),t()})),e.on("error",(function(t){n(t)})),e.pipe(o)}));case 6:case"end":return t.stop()}}),t)}))),function(t,e,r){return K.apply(this,arguments)})},{key:"_processDrawingEntry",value:($=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new k,t.next=3,o.parseStream(e);case 3:a=t.sent,r.drawings[i]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return $.apply(this,arguments)})},{key:"_processDrawingRelsEntry",value:(X=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new w,t.next=3,o.parseStream(e);case 3:a=t.sent,r.drawingRels[i]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return X.apply(this,arguments)})},{key:"_processVmlDrawingEntry",value:(Y=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new C,t.next=3,o.parseStream(e);case 3:a=t.sent,r.vmlDrawings["../drawings/".concat(i,".vml")]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return Y.apply(this,arguments)})},{key:"_processThemeEntry",value:(G=a(n.mark((function t(e,r,i){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(t,n){var o=new d;e.on("error",n),o.on("error",n),o.on("finish",(function(){r.themes[i]=o.read().toString(),t()})),e.pipe(o)}));case 2:case"end":return t.stop()}}),t)}))),function(t,e,r){return G.apply(this,arguments)})},{key:"createInputStream",value:function(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"read",value:(V=a(n.mark((function t(e,r){var o,a,s,u,l,h,d,p;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:!e[Symbol.asyncIterator]&&e.pipe&&(e=e.pipe(new f)),o=[],a=!0,s=!1,t.prev=4,l=c(e);case 6:return t.next=8,l.next();case 8:return h=t.sent,a=h.done,t.next=12,h.value;case 12:if(d=t.sent,a){t.next=19;break}p=d,o.push(p);case 16:a=!0,t.next=6;break;case 19:t.next=25;break;case 21:t.prev=21,t.t0=t.catch(4),s=!0,u=t.t0;case 25:if(t.prev=25,t.prev=26,a||null==l.return){t.next=30;break}return t.next=30,l.return();case 30:if(t.prev=30,!s){t.next=33;break}throw u;case 33:return t.finish(30);case 34:return t.finish(25);case 35:return t.abrupt("return",this.load(i.concat(o),r));case 36:case"end":return t.stop()}}),t,this,[[4,21,25,35],[26,,30,34]])}))),function(t,e){return V.apply(this,arguments)})},{key:"load",value:(q=a(n.mark((function t(e,o){var a,s,c,u,h,d,p,m,w,x,_,S,k,E,M,C;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o&&o.base64?i.from(e.toString(),"base64"):e,s={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},t.next=4,l.loadAsync(a);case 4:c=t.sent,u=0,h=Object.values(c.files);case 6:if(!(u<h.length)){t.next=126;break}if((d=h[u]).dir){t.next=123;break}if("/"===(p=d.name)[0]&&(p=p.substr(1)),m=void 0,!p.match(/xl\/media\//)&&!p.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/)){t.next=21;break}return m=new f,t.t0=m,t.next=17,d.async("nodebuffer");case 17:t.t1=t.sent,t.t0.write.call(t.t0,t.t1),t.next=36;break;case 21:if(m=new f({writableObjectMode:!0,readableObjectMode:!0}),w=void 0,!r.browser){t.next=31;break}return t.t2=b,t.next=27,d.async("nodebuffer");case 27:t.t3=t.sent,w=(0,t.t2)(t.t3),t.next=34;break;case 31:return t.next=33,d.async("string");case 33:w=t.sent;case 34:for(x=0;x<w.length;x+=16384)m.write(w.substring(x,x+16384));case 36:m.end(),t.t4=p,t.next="_rels/.rels"===t.t4?40:"xl/workbook.xml"===t.t4?44:"xl/_rels/workbook.xml.rels"===t.t4?53:"xl/sharedStrings.xml"===t.t4?57:"xl/styles.xml"===t.t4?61:"docProps/app.xml"===t.t4?65:"docProps/core.xml"===t.t4?72:78;break;case 40:return t.next=42,this.parseRels(m);case 42:return s.globalRels=t.sent,t.abrupt("break",123);case 44:return t.next=46,this.parseWorkbook(m);case 46:return _=t.sent,s.sheets=_.sheets,s.definedNames=_.definedNames,s.views=_.views,s.properties=_.properties,s.calcProperties=_.calcProperties,t.abrupt("break",123);case 53:return t.next=55,this.parseRels(m);case 55:return s.workbookRels=t.sent,t.abrupt("break",123);case 57:return s.sharedStrings=new y,t.next=60,s.sharedStrings.parseStream(m);case 60:return t.abrupt("break",123);case 61:return s.styles=new v,t.next=64,s.styles.parseStream(m);case 64:return t.abrupt("break",123);case 65:return S=new O,t.next=68,S.parseStream(m);case 68:return k=t.sent,s.company=k.company,s.manager=k.manager,t.abrupt("break",123);case 72:return E=new g,t.next=75,E.parseStream(m);case 75:return M=t.sent,Object.assign(s,M),t.abrupt("break",123);case 78:if(!(C=p.match(/xl\/worksheets\/sheet(\d+)[.]xml/))){t.next=83;break}return t.next=82,this._processWorksheetEntry(m,s,C[1],o,p);case 82:return t.abrupt("break",123);case 83:if(!(C=p.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/))){t.next=88;break}return t.next=87,this._processWorksheetRelsEntry(m,s,C[1]);case 87:return t.abrupt("break",123);case 88:if(!(C=p.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))){t.next=93;break}return t.next=92,this._processThemeEntry(m,s,C[1]);case 92:return t.abrupt("break",123);case 93:if(!(C=p.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/))){t.next=98;break}return t.next=97,this._processMediaEntry(m,s,C[1]);case 97:return t.abrupt("break",123);case 98:if(!(C=p.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/))){t.next=103;break}return t.next=102,this._processDrawingEntry(m,s,C[1]);case 102:return t.abrupt("break",123);case 103:if(!(C=p.match(/xl\/(comments\d+)[.]xml/))){t.next=108;break}return t.next=107,this._processCommentEntry(m,s,C[1]);case 107:return t.abrupt("break",123);case 108:if(!(C=p.match(/xl\/tables\/(table\d+)[.]xml/))){t.next=113;break}return t.next=112,this._processTableEntry(m,s,C[1]);case 112:return t.abrupt("break",123);case 113:if(!(C=p.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/))){t.next=118;break}return t.next=117,this._processDrawingRelsEntry(m,s,C[1]);case 117:return t.abrupt("break",123);case 118:if(!(C=p.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/))){t.next=123;break}return t.next=122,this._processVmlDrawingEntry(m,s,C[1]);case 122:return t.abrupt("break",123);case 123:u++,t.next=6;break;case 126:return this.reconcile(s,o),this.workbook.model=s,t.abrupt("return",this.workbook);case 129:case"end":return t.stop()}}),t,this)}))),function(t,e){return q.apply(this,arguments)})},{key:"addMedia",value:(W=a(n.mark((function t(e,r){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(r.media.map(function(){var t=a(n.mark((function t(r){var i,o,a,s;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("image"!==r.type){t.next=13;break}if(i="xl/media/".concat(r.name,".").concat(r.extension),!r.filename){t.next=7;break}return t.next=5,A(r.filename);case 5:return o=t.sent,t.abrupt("return",e.append(o,{name:i}));case 7:if(!r.buffer){t.next=9;break}return t.abrupt("return",e.append(r.buffer,{name:i}));case 9:if(!r.base64){t.next=13;break}return a=r.base64,s=a.substring(a.indexOf(",")+1),t.abrupt("return",e.append(s,{name:i,base64:!0}));case 13:throw new Error("Unsupported media");case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 2:case"end":return t.stop()}}),t)}))),function(t,e){return W.apply(this,arguments)})},{key:"addDrawings",value:function(t,e){var r=new k,n=new w;e.worksheets.forEach((function(e){var i=e.drawing;if(i){r.prepare(i,{});var o=r.toXml(i);t.append(o,{name:"xl/drawings/".concat(i.name,".xml")}),o=n.toXml(i.rels),t.append(o,{name:"xl/drawings/_rels/".concat(i.name,".xml.rels")})}}))}},{key:"addTables",value:function(t,e){var r=new E;e.worksheets.forEach((function(e){e.tables.forEach((function(e){r.prepare(e,{});var n=r.toXml(e);t.append(n,{name:"xl/tables/".concat(e.target)})}))}))}},{key:"addContentTypes",value:(U=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new x,o=i.toXml(r),e.append(o,{name:"[Content_Types].xml"});case 3:case"end":return t.stop()}}),t)}))),function(t,e){return U.apply(this,arguments)})},{key:"addApp",value:(H=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new O,o=i.toXml(r),e.append(o,{name:"docProps/app.xml"});case 3:case"end":return t.stop()}}),t)}))),function(t,e){return H.apply(this,arguments)})},{key:"addCore",value:(z=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new g,e.append(i.toXml(r),{name:"docProps/core.xml"});case 2:case"end":return t.stop()}}),t)}))),function(t,e){return z.apply(this,arguments)})},{key:"addThemes",value:(B=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=r.themes||{theme1:j},Object.keys(i).forEach((function(t){var r=i[t],n="xl/theme/".concat(t,".xml");e.append(r,{name:n})}));case 2:case"end":return t.stop()}}),t)}))),function(t,e){return B.apply(this,arguments)})},{key:"addOfficeRels",value:(F=a(n.mark((function e(r){var i,o;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=new w,o=i.toXml([{Id:"rId1",Type:t.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:t.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:t.RelType.ExtenderProperties,Target:"docProps/app.xml"}]),r.append(o,{name:"_rels/.rels"});case 3:case"end":return e.stop()}}),e)}))),function(t){return F.apply(this,arguments)})},{key:"addWorkbookRels",value:(N=a(n.mark((function e(r,i){var o,a,s,c;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=1,a=[{Id:"rId".concat(o++),Type:t.RelType.Styles,Target:"styles.xml"},{Id:"rId".concat(o++),Type:t.RelType.Theme,Target:"theme/theme1.xml"}],i.sharedStrings.count&&a.push({Id:"rId".concat(o++),Type:t.RelType.SharedStrings,Target:"sharedStrings.xml"}),i.worksheets.forEach((function(e){e.rId="rId".concat(o++),a.push({Id:e.rId,Type:t.RelType.Worksheet,Target:"worksheets/sheet".concat(e.id,".xml")})})),s=new w,c=s.toXml(a),r.append(c,{name:"xl/_rels/workbook.xml.rels"});case 7:case"end":return e.stop()}}),e)}))),function(t,e){return N.apply(this,arguments)})},{key:"addSharedStrings",value:(I=a(n.mark((function t(e,r){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.sharedStrings&&r.sharedStrings.count&&e.append(r.sharedStrings.xml,{name:"xl/sharedStrings.xml"});case 1:case"end":return t.stop()}}),t)}))),function(t,e){return I.apply(this,arguments)})},{key:"addStyles",value:(L=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(i=r.styles.xml)&&e.append(i,{name:"xl/styles.xml"});case 2:case"end":return t.stop()}}),t)}))),function(t,e){return L.apply(this,arguments)})},{key:"addWorkbook",value:(R=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new _,e.append(i.toXml(r),{name:"xl/workbook.xml"});case 2:case"end":return t.stop()}}),t)}))),function(t,e){return R.apply(this,arguments)})},{key:"addWorksheets",value:(D=a(n.mark((function t(e,r){var i,o,a,s;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new S,o=new w,a=new M,s=new C,r.worksheets.forEach((function(t){var r=new m;i.render(r,t),e.append(r.xml,{name:"xl/worksheets/sheet".concat(t.id,".xml")}),t.rels&&t.rels.length&&(r=new m,o.render(r,t.rels),e.append(r.xml,{name:"xl/worksheets/_rels/sheet".concat(t.id,".xml.rels")})),t.comments.length>0&&(r=new m,a.render(r,t),e.append(r.xml,{name:"xl/comments".concat(t.id,".xml")}),r=new m,s.render(r,t),e.append(r.xml,{name:"xl/drawings/vmlDrawing".concat(t.id,".vml")}))}));case 5:case"end":return t.stop()}}),t)}))),function(t,e){return D.apply(this,arguments)})},{key:"_finalize",value:function(t){var e=this;return new Promise((function(r,n){t.on("finish",(function(){r(e)})),t.on("error",n),t.finalize()}))}},{key:"prepareModel",value:function(t,e){t.creator=t.creator||"ExcelJS",t.lastModifiedBy=t.lastModifiedBy||"ExcelJS",t.created=t.created||new Date,t.modified=t.modified||new Date,t.useSharedStrings=void 0===e.useSharedStrings||e.useSharedStrings,t.useStyles=void 0===e.useStyles||e.useStyles,t.sharedStrings=new y,t.styles=t.useStyles?new v(!0):new v.Mock;var r=new _,n=new S;r.prepare(t);var i={sharedStrings:t.sharedStrings,styles:t.styles,date1904:t.properties.date1904,drawingsCount:0,media:t.media};i.drawings=t.drawings=[],i.commentRefs=t.commentRefs=[];var o=0;t.tables=[],t.worksheets.forEach((function(e){e.tables.forEach((function(e){o++,e.target="table".concat(o,".xml"),e.id=o,t.tables.push(e)})),n.prepare(e,i)}))}},{key:"write",value:(P=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=r||{},i=this.workbook.model,(o=new h.ZipWriter(r.zip)).pipe(e),this.prepareModel(i,r),t.next=7,this.addContentTypes(o,i);case 7:return t.next=9,this.addOfficeRels(o,i);case 9:return t.next=11,this.addWorkbookRels(o,i);case 11:return t.next=13,this.addWorksheets(o,i);case 13:return t.next=15,this.addSharedStrings(o,i);case 15:return t.next=17,this.addDrawings(o,i);case 17:return t.next=19,this.addTables(o,i);case 19:return t.next=21,Promise.all([this.addThemes(o,i),this.addStyles(o,i)]);case 21:return t.next=23,this.addMedia(o,i);case 23:return t.next=25,Promise.all([this.addApp(o,i),this.addCore(o,i)]);case 25:return t.next=27,this.addWorkbook(o,i);case 27:return t.abrupt("return",this._finalize(o));case 28:case"end":return t.stop()}}),t,this)}))),function(t,e){return P.apply(this,arguments)})},{key:"writeFile",value:function(t,e){var r=this,n=u.createWriteStream(t);return new Promise((function(t,i){n.on("finish",(function(){t()})),n.on("error",(function(t){i(t)})),r.write(n,e).then((function(){n.end()}))}))}},{key:"writeBuffer",value:(T=a(n.mark((function t(e){var r;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new d,t.next=3,this.write(r,e);case 3:return t.abrupt("return",r.read());case 4:case"end":return t.stop()}}),t,this)}))),function(t){return T.apply(this,arguments)})}])&&s(e.prototype,o),t}();T.RelType=t("./rel-type"),e.exports=T}).call(this,t("_process"),t("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":23,"../utils/utils":26,"../utils/xml-stream":27,"../utils/zip-stream":28,"./rel-type":30,"./xform/book/workbook-xform":37,"./xform/comment/comments-xform":39,"./xform/comment/vml-notes-xform":44,"./xform/core/app-xform":50,"./xform/core/content-types-xform":51,"./xform/core/core-xform":52,"./xform/core/relationships-xform":54,"./xform/drawing/drawing-xform":61,"./xform/sheet/worksheet-xform":114,"./xform/strings/shared-strings-xform":123,"./xform/style/styles-xform":134,"./xform/table/table-xform":140,"./xml/theme1.js":142,_process:467,buffer:216,fs:215,jszip:399,"readable-stream":491}],142:[function(t,e,r){"use strict";e.exports='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/> <a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/> <a:font script="Hans" typeface="\u5b8b\u4f53"/> <a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/> <a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/> <a:font script="Hans" typeface="\u5b8b\u4f53"/> <a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>'},{}],143:[function(t,e,r){(function(e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.CsvFormatterStream=void 0;var u=t("stream"),l=t("./formatter"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(c,t);var r,n,s=a(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this,{writableObjectMode:t.objectMode})).hasWrittenBOM=!1,e.formatterOptions=t,e.rowFormatter=new l.RowFormatter(t),e.hasWrittenBOM=!t.writeBOM,e}return r=c,(n=[{key:"transform",value:function(t){return this.rowFormatter.rowTransform=t,this}},{key:"_transform",value:function(t,r,n){var i=this,o=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(t,(function(t,r){return t?(o=!0,n(t)):(r&&r.forEach((function(t){i.push(e.from(t,"utf8"))})),o=!0,n())}))}catch(t){if(o)throw t;n(t)}}},{key:"_flush",value:function(t){var r=this;this.rowFormatter.finish((function(n,i){return n?t(n):(i&&i.forEach((function(t){r.push(e.from(t,"utf8"))})),t())}))}}])&&i(r.prototype,n),c}(u.Transform);r.CsvFormatterStream=f}).call(this,t("buffer").Buffer)},{"./formatter":147,buffer:216,stream:506}],144:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0}),r.FormatterOptions=void 0,r.FormatterOptions=function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,t),this.objectMode=!0,this.delimiter=",",this.rowDelimiter="\n",this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\ufeff",this.alwaysWriteHeaders=!1,Object.assign(this,r||{}),void 0===(null==r?void 0:r.quoteHeaders)&&(this.quoteHeaders=this.quoteColumns),!0===(null==r?void 0:r.quote)?this.quote='"':!1===(null==r?void 0:r.quote)&&(this.quote=""),"string"!=typeof(null==r?void 0:r.escape)&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&(null===(e=r.writeHeaders)||void 0===e||e),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote="".concat(this.escape).concat(this.quote)}},{}],145:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.FieldFormatter=void 0;var o=i(t("lodash.isboolean")),a=i(t("lodash.isnil")),s=i(t("lodash.escaperegexp")),c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._headers=null,this.formatterOptions=e,null!==e.headers&&(this.headers=e.headers),this.REPLACE_REGEXP=new RegExp(e.quote,"g");var r="[".concat(e.delimiter).concat(s.default(e.rowDelimiter),"|\r|\n']");this.ESCAPE_REGEXP=new RegExp(r)}var e,r;return e=t,(r=[{key:"shouldQuote",value:function(t,e){var r=e?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return o.default(r)?r:Array.isArray(r)?r[t]:null!==this._headers&&r[this._headers[t]]}},{key:"format",value:function(t,e,r){var n="".concat(a.default(t)?"":t).replace(/\0/g,""),i=this.formatterOptions;return""!==i.quote&&-1!==n.indexOf(i.quote)?this.quoteField(n.replace(this.REPLACE_REGEXP,i.escapedQuote)):-1!==n.search(this.ESCAPE_REGEXP)||this.shouldQuote(e,r)?this.quoteField(n):n}},{key:"quoteField",value:function(t){var e=this.formatterOptions.quote;return"".concat(e).concat(t).concat(e)}},{key:"headers",set:function(t){this._headers=t}}])&&n(e.prototype,r),t}();r.FieldFormatter=c},{"lodash.escaperegexp":426,"lodash.isboolean":428,"lodash.isnil":431}],146:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.RowFormatter=void 0;var o=i(t("lodash.isfunction")),a=i(t("lodash.isequal")),s=t("./FieldFormatter"),c=t("../types"),u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.rowCount=0,this.formatterOptions=e,this.fieldFormatter=new s.FieldFormatter(e),this.headers=e.headers,this.shouldWriteHeaders=e.shouldWriteHeaders,this.hasWrittenHeaders=!1,null!==this.headers&&(this.fieldFormatter.headers=this.headers),e.transform&&(this.rowTransform=e.transform)}var e,r,i;return e=t,i=[{key:"isHashArray",value:function(t){return!!Array.isArray(t)&&Array.isArray(t[0])&&2===t[0].length}},{key:"gatherHeaders",value:function(e){return t.isHashArray(e)?e.map((function(t){return t[0]})):Array.isArray(e)?e:Object.keys(e)}},{key:"createTransform",value:function(t){return c.isSyncTransform(t)?function(e,r){var n=null;try{n=t(e)}catch(t){return r(t)}return r(null,n)}:function(e,r){t(e,r)}}}],(r=[{key:"format",value:function(t,e){var r=this;this.callTransformer(t,(function(n,i){if(n)return e(n);if(!t)return e(null);var o=[];if(i){var a=r.checkHeaders(i),s=a.shouldFormatColumns,c=a.headers;if(r.shouldWriteHeaders&&c&&!r.hasWrittenHeaders&&(o.push(r.formatColumns(c,!0)),r.hasWrittenHeaders=!0),s){var u=r.gatherColumns(i);o.push(r.formatColumns(u,!1))}}return e(null,o)}))}},{key:"finish",value:function(t){var e=[];if(this.formatterOptions.alwaysWriteHeaders&&0===this.rowCount){if(!this.headers)return t(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));e.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&e.push(this.formatterOptions.rowDelimiter),t(null,e)}},{key:"checkHeaders",value:function(e){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};var r=t.gatherHeaders(e);return this.headers=r,this.fieldFormatter.headers=r,this.shouldWriteHeaders?{shouldFormatColumns:!a.default(r,e),headers:r}:{shouldFormatColumns:!0,headers:null}}},{key:"gatherColumns",value:function(e){if(null===this.headers)throw new Error("Headers is currently null");return Array.isArray(e)?t.isHashArray(e)?this.headers.map((function(t,r){var n=e[r];return n?n[1]:""})):this.headers.map((function(t,r){return e[r]})):this.headers.map((function(t){return e[t]}))}},{key:"callTransformer",value:function(t,e){return this._rowTransform?this._rowTransform(t,e):e(null,t)}},{key:"formatColumns",value:function(t,e){var r=this,n=t.map((function(t,n){return r.fieldFormatter.format(t,n,e)})).join(this.formatterOptions.delimiter),i=this.rowCount;return this.rowCount+=1,i?[this.formatterOptions.rowDelimiter,n].join(""):n}},{key:"rowTransform",set:function(e){if(!o.default(e))throw new TypeError("The transform should be a function");this._rowTransform=t.createTransform(e)}}])&&n(e.prototype,r),i&&n(e,i),t}();r.RowFormatter=u},{"../types":149,"./FieldFormatter":145,"lodash.isequal":429,"lodash.isfunction":430}],147:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./RowFormatter");Object.defineProperty(r,"RowFormatter",{enumerable:!0,get:function(){return n.RowFormatter}});var i=t("./FieldFormatter");Object.defineProperty(r,"FieldFormatter",{enumerable:!0,get:function(){return i.FieldFormatter}})},{"./FieldFormatter":145,"./RowFormatter":146}],148:[function(t,e,r){(function(e){"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Object.defineProperty(r,"__esModule",{value:!0}),r.writeToPath=r.writeToString=r.writeToBuffer=r.writeToStream=r.write=r.format=void 0;var o=t("util"),a=t("stream"),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e}(t("fs")),c=t("./FormatterOptions"),u=t("./CsvFormatterStream");!function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||n(e,t,r)}(t("./types"),r);var l=t("./CsvFormatterStream");Object.defineProperty(r,"CsvFormatterStream",{enumerable:!0,get:function(){return l.CsvFormatterStream}});var f=t("./FormatterOptions");Object.defineProperty(r,"FormatterOptions",{enumerable:!0,get:function(){return f.FormatterOptions}}),r.format=function(t){return new u.CsvFormatterStream(new c.FormatterOptions(t))},r.write=function(t,e){var n=r.format(e),i=o.promisify((function(t,e){n.write(t,void 0,e)}));return t.reduce((function(t,e){return t.then((function(){return i(e)}))}),Promise.resolve()).then((function(){return n.end()})).catch((function(t){n.emit("error",t)})),n},r.writeToStream=function(t,e,n){return r.write(e,n).pipe(t)},r.writeToBuffer=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[],o=new a.Writable({write:function(t,e,r){i.push(t),r()}});return new Promise((function(a,s){o.on("error",s).on("finish",(function(){return a(e.concat(i))})),r.write(t,n).pipe(o)}))},r.writeToString=function(t,e){return r.writeToBuffer(t,e).then((function(t){return t.toString()}))},r.writeToPath=function(t,e,n){var i=s.createWriteStream(t,{encoding:"utf8"});return r.write(e,n).pipe(i)}}).call(this,t("buffer").Buffer)},{"./CsvFormatterStream":143,"./FormatterOptions":144,"./types":149,buffer:216,fs:215,stream:506,util:525}],149:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isSyncTransform=void 0,r.isSyncTransform=function(t){return 1===t.length}},{}],150:[function(t,e,r){(function(e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return(o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=u(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.CsvParserStream=void 0;var l=t("string_decoder"),f=t("stream"),h=t("./transforms"),d=t("./parser"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(f,t);var r,n,c=s(f);function f(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(e=c.call(this,{objectMode:t.objectMode})).lines="",e.rowCount=0,e.parsedRowCount=0,e.parsedLineCount=0,e.endEmitted=!1,e.headersEmitted=!1,e.parserOptions=t,e.parser=new d.Parser(t),e.headerTransformer=new h.HeaderTransformer(t),e.decoder=new l.StringDecoder(t.encoding),e.rowTransformerValidator=new h.RowTransformerValidator,e}return r=f,(n=[{key:"transform",value:function(t){return this.rowTransformerValidator.rowTransform=t,this}},{key:"validate",value:function(t){return this.rowTransformerValidator.rowValidator=t,this}},{key:"emit",value:function(t){var e;if("end"===t)return this.endEmitted||(this.endEmitted=!0,o(u(f.prototype),"emit",this).call(this,"end",this.rowCount)),!1;for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(e=o(u(f.prototype),"emit",this)).call.apply(e,[this,t].concat(n))}},{key:"_transform",value:function(t,e,r){if(this.hasHitRowLimit)return r();try{var n=this.lines+this.decoder.write(t),i=this.parse(n,!0);return this.processRows(i,r)}catch(t){return r(t)}}},{key:"_flush",value:function(t){if(this.hasHitRowLimit)return t();try{var e=this.lines+this.decoder.end(),r=this.parse(e,!1);return this.processRows(r,t)}catch(e){return t(e)}}},{key:"parse",value:function(t,e){if(!t)return[];var r=this.parser.parse(t,e),n=r.line,i=r.rows;return this.lines=n,i}},{key:"processRows",value:function(t,r){var n=this,i=t.length;!function o(a){var s=function(t){return t?r(t):a%100!=0?o(a+1):void e((function(){return o(a+1)}))};if(n.checkAndEmitHeaders(),a>=i||n.hasHitRowLimit)return r();if(n.parsedLineCount+=1,n.shouldSkipLine)return s();var c=t[a];n.rowCount+=1,n.parsedRowCount+=1;var u=n.rowCount;return n.transformRow(c,(function(t,e){if(t)return n.rowCount-=1,s(t);if(!e)return s(new Error("expected transform result"));if(e.isValid){if(e.row)return n.pushRow(e.row,s)}else n.emit("data-invalid",e.row,u,e.reason);return s()}))}(0)}},{key:"transformRow",value:function(t,e){var r=this;try{this.headerTransformer.transform(t,(function(n,i){return n?e(n):i?i.isValid?i.row?r.shouldEmitRows?r.rowTransformerValidator.transformAndValidate(i.row,e):r.skipRow(e):(r.rowCount-=1,r.parsedRowCount-=1,e(null,{row:null,isValid:!0})):r.shouldEmitRows?e(null,{isValid:!1,row:t}):r.skipRow(e):e(new Error("Expected result from header transform"))}))}catch(t){e(t)}}},{key:"checkAndEmitHeaders",value:function(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}},{key:"skipRow",value:function(t){return this.rowCount-=1,t(null,{row:null,isValid:!0})}},{key:"pushRow",value:function(t,e){try{this.parserOptions.objectMode?this.push(t):this.push(JSON.stringify(t)),e()}catch(t){e(t)}}},{key:"hasHitRowLimit",get:function(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}},{key:"shouldEmitRows",get:function(){return this.parsedRowCount>this.parserOptions.skipRows}},{key:"shouldSkipLine",get:function(){return this.parsedLineCount<=this.parserOptions.skipLines}}])&&i(r.prototype,n),f}(f.Transform);r.CsvParserStream=p}).call(this,t("timers").setImmediate)},{"./parser":162,"./transforms":165,stream:506,string_decoder:520,timers:521}],151:[function(t,e,r){"use strict";var n=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.ParserOptions=void 0;var i=n(t("lodash.escaperegexp")),o=n(t("lodash.isnil"));r.ParserOptions=function t(e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,e||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=i.default(this.delimiter),this.escapeChar=null!==(r=this.escape)&&void 0!==r?r:this.quote,this.supportsComments=!o.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp("([^\\s]|\\r\\n|\\n|\\r|".concat(this.escapedDelimiter,")")),this.maxRows>0&&(this.limitRows=!0)}},{"lodash.escaperegexp":426,"lodash.isnil":431}],152:[function(t,e,r){"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Object.defineProperty(r,"__esModule",{value:!0}),r.parseString=r.parseFile=r.parseStream=r.parse=void 0;var o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e}(t("fs")),a=t("stream"),s=t("./ParserOptions"),c=t("./CsvParserStream");!function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||n(e,t,r)}(t("./types"),r);var u=t("./CsvParserStream");Object.defineProperty(r,"CsvParserStream",{enumerable:!0,get:function(){return u.CsvParserStream}});var l=t("./ParserOptions");Object.defineProperty(r,"ParserOptions",{enumerable:!0,get:function(){return l.ParserOptions}}),r.parse=function(t){return new c.CsvParserStream(new s.ParserOptions(t))},r.parseStream=function(t,e){return t.pipe(new c.CsvParserStream(new s.ParserOptions(e)))},r.parseFile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.createReadStream(t).pipe(new c.CsvParserStream(new s.ParserOptions(e)))},r.parseString=function(t,e){var r=new a.Readable;return r.push(t),r.push(null),r.pipe(new c.CsvParserStream(new s.ParserOptions(e)))}},{"./CsvParserStream":150,"./ParserOptions":151,"./types":166,fs:215,stream:506}],153:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.Parser=void 0;var i=t("./Scanner"),o=t("./RowParser"),a=t("./Token"),s=/^\s*(?:''|"")?\s*(?:,\s*(?:''|"")?\s*)*$/,c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.rowParser=new o.RowParser(this.parserOptions)}var e,r,c;return e=t,c=[{key:"removeBOM",value:function(t){return t&&65279===t.charCodeAt(0)?t.slice(1):t}}],(r=[{key:"parse",value:function(e,r){var n=new i.Scanner({line:t.removeBOM(e),parserOptions:this.parserOptions,hasMoreData:r});return this.parserOptions.supportsComments?this.parseWithComments(n):this.parseWithoutComments(n)}},{key:"parseWithoutComments",value:function(t){for(var e=[],r=!0;r;)r=this.parseRow(t,e);return{line:t.line,rows:e}}},{key:"parseWithComments",value:function(t){for(var e=this.parserOptions,r=[],n=t.nextCharacterToken;null!==n;n=t.nextCharacterToken)if(a.Token.isTokenComment(n,e)){if(null===t.advancePastLine())return{line:t.lineFromCursor,rows:r};if(!t.hasMoreCharacters)return{line:t.lineFromCursor,rows:r};t.truncateToCursor()}else if(!this.parseRow(t,r))break;return{line:t.line,rows:r}}},{key:"parseRow",value:function(t,e){if(!t.nextNonSpaceToken)return!1;var r=this.rowParser.parse(t);return null!==r&&(this.parserOptions.ignoreEmpty&&s.test(r.join(""))||e.push(r),!0)}}])&&n(e.prototype,r),c&&n(e,c),t}();r.Parser=c},{"./RowParser":154,"./Scanner":155,"./Token":156}],154:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.RowParser=void 0;var i=t("./column"),o=t("./Token").Token,a=o.isTokenRowDelimiter,s=o.isTokenCarriageReturn,c=o.isTokenDelimiter,u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.columnParser=new i.ColumnParser(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){for(var e=this.parserOptions,r=t.hasMoreData,n=t,i=[],o=this.getStartToken(n,i);o;){if(a(o))return n.advancePastToken(o),!n.hasMoreCharacters&&s(o,e)&&r?null:(n.truncateToCursor(),i);if(!this.shouldSkipColumnParse(n,o,i)){var c=this.columnParser.parse(n);if(null===c)return null;i.push(c)}o=n.nextNonSpaceToken}return r?null:(n.truncateToCursor(),i)}},{key:"getStartToken",value:function(t,e){var r=t.nextNonSpaceToken;return null!==r&&c(r,this.parserOptions)?(e.push(""),t.nextNonSpaceToken):r}},{key:"shouldSkipColumnParse",value:function(t,e,r){var n=this.parserOptions;if(c(e,n)){t.advancePastToken(e);var i=t.nextCharacterToken;if(!t.hasMoreCharacters||null!==i&&a(i))return r.push(""),!0;if(null!==i&&c(i,n))return r.push(""),!0}return!1}}])&&n(e.prototype,r),t}();r.RowParser=u},{"./Token":156,"./column":161}],155:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.Scanner=void 0;var i=t("./Token"),o=/((?:\r\n)|\n|\r)/,a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cursor=0,this.line=e.line,this.lineLength=this.line.length,this.parserOptions=e.parserOptions,this.hasMoreData=e.hasMoreData,this.cursor=e.cursor||0}var e,r;return e=t,(r=[{key:"advancePastLine",value:function(){var t=o.exec(this.lineFromCursor);return t?(this.cursor+=(t.index||0)+t[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}},{key:"advanceTo",value:function(t){return this.cursor=t,this}},{key:"advanceToToken",value:function(t){return this.cursor=t.startCursor,this}},{key:"advancePastToken",value:function(t){return this.cursor=t.endCursor+1,this}},{key:"truncateToCursor",value:function(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}},{key:"hasMoreCharacters",get:function(){return this.lineLength>this.cursor}},{key:"nextNonSpaceToken",get:function(){var t=this.lineFromCursor,e=this.parserOptions.NEXT_TOKEN_REGEXP;if(-1===t.search(e))return null;var r=e.exec(t);if(null==r)return null;var n=r[1],o=this.cursor+(r.index||0);return new i.Token({token:n,startCursor:o,endCursor:o+n.length-1})}},{key:"nextCharacterToken",get:function(){var t=this.cursor;return this.lineLength<=t?null:new i.Token({token:this.line[t],startCursor:t,endCursor:t})}},{key:"lineFromCursor",get:function(){return this.line.substr(this.cursor)}}])&&n(e.prototype,r),t}();r.Scanner=a},{"./Token":156}],156:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.Token=void 0;var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.token=e.token,this.startCursor=e.startCursor,this.endCursor=e.endCursor}var e,r;return e=t,(r=[{key:"isTokenRowDelimiter",value:function(t){var e=t.token;return"\r"===e||"\n"===e||"\r\n"===e}},{key:"isTokenCarriageReturn",value:function(t,e){return t.token===e.carriageReturn}},{key:"isTokenComment",value:function(t,e){return e.supportsComments&&!!t&&t.token===e.comment}},{key:"isTokenEscapeCharacter",value:function(t,e){return t.token===e.escapeChar}},{key:"isTokenQuote",value:function(t,e){return t.token===e.quote}},{key:"isTokenDelimiter",value:function(t,e){return t.token===e.delimiter}}])&&n(e,r),t}();r.Token=i},{}],157:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ColumnFormatter=void 0,r.ColumnFormatter=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e.trim?this.format=function(t){return t.trim()}:e.ltrim?this.format=function(t){return t.trimLeft()}:e.rtrim?this.format=function(t){return t.trimRight()}:this.format=function(t){return t}}},{}],158:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.ColumnParser=void 0;var i=t("./NonQuotedColumnParser"),o=t("./QuotedColumnParser"),a=t("../Token"),s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.quotedColumnParser=new o.QuotedColumnParser(e),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){var e=t.nextNonSpaceToken;return null!==e&&a.Token.isTokenQuote(e,this.parserOptions)?(t.advanceToToken(e),this.quotedColumnParser.parse(t)):this.nonQuotedColumnParser.parse(t)}}])&&n(e.prototype,r),t}();r.ColumnParser=s},{"../Token":156,"./NonQuotedColumnParser":159,"./QuotedColumnParser":160}],159:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.NonQuotedColumnParser=void 0;var i=t("./ColumnFormatter"),o=t("../Token").Token,a=o.isTokenDelimiter,s=o.isTokenRowDelimiter,c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.columnFormatter=new i.ColumnFormatter(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){if(!t.hasMoreCharacters)return null;for(var e=this.parserOptions,r=[],n=t.nextCharacterToken;n&&!a(n,e)&&!s(n);n=t.nextCharacterToken)r.push(n.token),t.advancePastToken(n);return this.columnFormatter.format(r.join(""))}}])&&n(e.prototype,r),t}();r.NonQuotedColumnParser=c},{"../Token":156,"./ColumnFormatter":157}],160:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.QuotedColumnParser=void 0;var i=t("./ColumnFormatter"),o=t("../Token").Token,a=o.isTokenDelimiter,s=o.isTokenRowDelimiter,c=o.isTokenEscapeCharacter,u=o.isTokenQuote,l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.columnFormatter=new i.ColumnFormatter(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){if(!t.hasMoreCharacters)return null;var e=t.cursor,r=this.gatherDataBetweenQuotes(t),n=r.foundClosingQuote,i=r.col;if(!n){if(t.advanceTo(e),!t.hasMoreData)throw new Error("Parse Error: missing closing: '".concat(this.parserOptions.quote||"","' in line: at '").concat(t.lineFromCursor.replace(/[\r\n]/g,"\\n'"),"'"));return null}return this.checkForMalformedColumn(t),i}},{key:"gatherDataBetweenQuotes",value:function(t){for(var e=this.parserOptions,r=!1,n=!1,i=[],o=t.nextCharacterToken;!n&&null!==o;o=t.nextCharacterToken){var a=u(o,e);if(!r&&a)r=!0;else if(r)if(c(o,e)){t.advancePastToken(o);var s=t.nextCharacterToken;null!==s&&(u(s,e)||c(s,e))?(i.push(s.token),o=s):a?n=!0:i.push(o.token)}else a?n=!0:i.push(o.token);t.advancePastToken(o)}return{col:this.columnFormatter.format(i.join("")),foundClosingQuote:n}}},{key:"checkForMalformedColumn",value:function(t){var e=this.parserOptions,r=t.nextNonSpaceToken;if(r){var n=a(r,e),i=s(r);if(!n&&!i){var o=t.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error("Parse Error: expected: '".concat(e.escapedDelimiter,"' OR new line got: '").concat(r.token,"'. at '").concat(o))}t.advanceToToken(r)}else t.hasMoreData||t.advancePastLine()}}])&&n(e.prototype,r),t}();r.QuotedColumnParser=l},{"../Token":156,"./ColumnFormatter":157}],161:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./ColumnParser");Object.defineProperty(r,"ColumnParser",{enumerable:!0,get:function(){return n.ColumnParser}});var i=t("./NonQuotedColumnParser");Object.defineProperty(r,"NonQuotedColumnParser",{enumerable:!0,get:function(){return i.NonQuotedColumnParser}});var o=t("./QuotedColumnParser");Object.defineProperty(r,"QuotedColumnParser",{enumerable:!0,get:function(){return o.QuotedColumnParser}});var a=t("./ColumnFormatter");Object.defineProperty(r,"ColumnFormatter",{enumerable:!0,get:function(){return a.ColumnFormatter}})},{"./ColumnFormatter":157,"./ColumnParser":158,"./NonQuotedColumnParser":159,"./QuotedColumnParser":160}],162:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./Parser");Object.defineProperty(r,"Parser",{enumerable:!0,get:function(){return n.Parser}});var i=t("./RowParser");Object.defineProperty(r,"RowParser",{enumerable:!0,get:function(){return i.RowParser}});var o=t("./Scanner");Object.defineProperty(r,"Scanner",{enumerable:!0,get:function(){return o.Scanner}});var a=t("./Token");Object.defineProperty(r,"Token",{enumerable:!0,get:function(){return a.Token}});var s=t("./column");Object.defineProperty(r,"ColumnParser",{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(r,"NonQuotedColumnParser",{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(r,"QuotedColumnParser",{enumerable:!0,get:function(){return s.QuotedColumnParser}})},{"./Parser":153,"./RowParser":154,"./Scanner":155,"./Token":156,"./column":161}],163:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.HeaderTransformer=void 0;var o=i(t("lodash.isundefined")),a=i(t("lodash.isfunction")),s=i(t("lodash.uniq")),c=i(t("lodash.groupby")),u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=e,!0===e.headers?this.shouldUseFirstRow=!0:Array.isArray(e.headers)?this.setHeaders(e.headers):a.default(e.headers)&&(this.headersTransform=e.headers)}var e,r;return e=t,(r=[{key:"transform",value:function(t,e){return this.shouldMapRow(t)?e(null,this.processRow(t)):e(null,{row:null,isValid:!0})}},{key:"shouldMapRow",value:function(t){var e=this.parserOptions;if(!this.headersTransform&&e.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(t)){if(this.headersTransform)this.setHeaders(this.headersTransform(t));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(t)}return!1}return!0}},{key:"processRow",value:function(t){if(!this.headers)return{row:t,isValid:!0};var e=this.parserOptions;if(!e.discardUnmappedColumns&&t.length>this.headersLength){if(!e.strictColumnHandling)throw new Error("Unexpected Error: column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(t.length));return{row:t,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(t.length)}}return e.strictColumnHandling&&t.length<this.headersLength?{row:t,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(t.length)}:{row:this.mapHeaders(t),isValid:!0}}},{key:"mapHeaders",value:function(t){for(var e={},r=this.headers,n=this.headersLength,i=0;i<n;i+=1){var a=r[i];if(!o.default(a)){var s=t[i];o.default(s)?e[a]="":e[a]=s}}return e}},{key:"setHeaders",value:function(t){var e,r=t.filter((function(t){return!!t}));if(s.default(r).length!==r.length){var n=c.default(r),i=Object.keys(n).filter((function(t){return n[t].length>1}));throw new Error("Duplicate headers found ".concat(JSON.stringify(i)))}this.headers=t,this.receivedHeaders=!0,this.headersLength=(null===(e=this.headers)||void 0===e?void 0:e.length)||0}}])&&n(e.prototype,r),t}();r.HeaderTransformer=u},{"lodash.groupby":427,"lodash.isfunction":430,"lodash.isundefined":432,"lodash.uniq":433}],164:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.RowTransformerValidator=void 0;var i=function(t){return t&&t.__esModule?t:{default:t}}(t("lodash.isfunction")),o=t("../types"),a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._rowTransform=null,this._rowValidator=null}var e,r,a;return e=t,a=[{key:"createTransform",value:function(t){return o.isSyncTransform(t)?function(e,r){var n=null;try{n=t(e)}catch(t){return r(t)}return r(null,n)}:t}},{key:"createValidator",value:function(t){return o.isSyncValidate(t)?function(e,r){r(null,{row:e,isValid:t(e)})}:function(e,r){t(e,(function(t,n,i){return t?r(t):r(null,n?{row:e,isValid:n,reason:i}:{row:e,isValid:!1,reason:i})}))}}}],(r=[{key:"transformAndValidate",value:function(t,e){var r=this;return this.callTransformer(t,(function(t,n){return t?e(t):n?r.callValidator(n,(function(t,r){return t?e(t):r&&!r.isValid?e(null,{row:n,isValid:!1,reason:r.reason}):e(null,{row:n,isValid:!0})})):e(null,{row:null,isValid:!0})}))}},{key:"callTransformer",value:function(t,e){return this._rowTransform?this._rowTransform(t,e):e(null,t)}},{key:"callValidator",value:function(t,e){return this._rowValidator?this._rowValidator(t,e):e(null,{row:t,isValid:!0})}},{key:"rowTransform",set:function(e){if(!i.default(e))throw new TypeError("The transform should be a function");this._rowTransform=t.createTransform(e)}},{key:"rowValidator",set:function(e){if(!i.default(e))throw new TypeError("The validate should be a function");this._rowValidator=t.createValidator(e)}}])&&n(e.prototype,r),a&&n(e,a),t}();r.RowTransformerValidator=a},{"../types":166,"lodash.isfunction":430}],165:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./RowTransformerValidator");Object.defineProperty(r,"RowTransformerValidator",{enumerable:!0,get:function(){return n.RowTransformerValidator}});var i=t("./HeaderTransformer");Object.defineProperty(r,"HeaderTransformer",{enumerable:!0,get:function(){return i.HeaderTransformer}})},{"./HeaderTransformer":163,"./RowTransformerValidator":164}],166:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isSyncValidate=r.isSyncTransform=void 0,r.isSyncTransform=function(t){return 1===t.length},r.isSyncValidate=function(t){return 1===t.length}},{}],167:[function(t,e,r){"use strict";var n=r;n.bignum=t("bn.js"),n.define=t("./asn1/api").define,n.base=t("./asn1/base"),n.constants=t("./asn1/constants"),n.decoders=t("./asn1/decoders"),n.encoders=t("./asn1/encoders")},{"./asn1/api":168,"./asn1/base":170,"./asn1/constants":174,"./asn1/decoders":176,"./asn1/encoders":179,"bn.js":181}],168:[function(t,e,r){"use strict";var n=t("./encoders"),i=t("./decoders"),o=t("inherits");function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}r.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){var e=this.name;function r(t){this._initNamed(t,e)}return o(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,r){return this._getDecoder(e).decode(t,r)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},a.prototype.encode=function(t,e,r){return this._getEncoder(e).encode(t,r)}},{"./decoders":176,"./encoders":179,inherits:387}],169:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("inherits"),o=t("../base/reporter").Reporter,a=t("safer-buffer").Buffer;function s(t,e){o.call(this,e),a.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function c(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return c.isEncoderBuffer(t)||(t=new c(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=a.byteLength(t);else{if(!a.isBuffer(t))return e.error("Unsupported type: "+n(t));this.value=t,this.length=t.length}}i(s,o),r.DecoderBuffer=s,s.isDecoderBuffer=function(t){return t instanceof s||"object"===n(t)&&a.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeof t.offset&&"number"==typeof t.length&&"function"==typeof t.save&&"function"==typeof t.restore&&"function"==typeof t.isEmpty&&"function"==typeof t.readUInt8&&"function"==typeof t.skip&&"function"==typeof t.raw},s.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},s.prototype.restore=function(t){var e=new s(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,o.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var r=new s(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},r.EncoderBuffer=c,c.isEncoderBuffer=function(t){return t instanceof c||"object"===n(t)&&"EncoderBuffer"===t.constructor.name&&"number"==typeof t.length&&"function"==typeof t.join},c.prototype.join=function(t,e){return t||(t=a.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):a.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},{"../base/reporter":172,inherits:387,"safer-buffer":495}],170:[function(t,e,r){"use strict";var n=r;n.Reporter=t("./reporter").Reporter,n.DecoderBuffer=t("./buffer").DecoderBuffer,n.EncoderBuffer=t("./buffer").EncoderBuffer,n.Node=t("./node")},{"./buffer":169,"./node":171,"./reporter":172}],171:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("../base/reporter").Reporter,o=t("../base/buffer").EncoderBuffer,a=t("../base/buffer").DecoderBuffer,s=t("minimalistic-assert"),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);function l(t,e,r){var n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=l;var f=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var t=this._baseState,e={};f.forEach((function(r){e[r]=t[r]}));var r=new this.constructor(e.parent);return r._baseState=e,r},l.prototype._wrap=function(){var t=this._baseState;u.forEach((function(e){this[e]=function(){var r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},l.prototype._init=function(t){var e=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(t){var e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(s(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(s(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==n(t)||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);var n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){l.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),c.forEach((function(t){l.prototype[t]=function(){var e=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===e.tag),e.tag=t,this._useArgs(r),this}})),l.prototype.use=function(t){s(t);var e=this._baseState;return s(null===e.use),e.use=t,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(t){var e=this._baseState;return s(null===e.default),e.default=t,e.optional=!0,this},l.prototype.explicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.explicit=t,this},l.prototype.implicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.implicit=t,this},l.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},l.prototype.key=function(t){var e=this._baseState;return s(null===e.key),e.key=t,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(t){var e=this._baseState;return s(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},l.prototype.contains=function(t){var e=this._baseState;return s(null===e.use),e.contains=t,this},l.prototype._decode=function(t,e){var r=this._baseState;if(null===r.parent)return t.wrapResult(r.children[0]._decode(t,e));var n,i=r.default,o=!0,s=null;if(null!==r.key&&(s=t.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(o=this._peekTag(t,c,r.any),t.isError(o))return o}else{var u=t.save();try{null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e),o=!0}catch(t){o=!1}t.restore(u)}}if(r.obj&&o&&(n=t.enterObject()),o){if(null!==r.explicit){var l=this._decodeTag(t,r.explicit);if(t.isError(l))return l;t=l}var f=t.offset;if(null===r.use&&null===r.choice){var h;r.any&&(h=t.save());var d=this._decodeTag(t,null!==r.implicit?r.implicit:r.tag,r.any);if(t.isError(d))return d;r.any?i=t.raw(h):t=d}if(e&&e.track&&null!==r.tag&&e.track(t.path(),f,t.length,"tagged"),e&&e.track&&null!==r.tag&&e.track(t.path(),t.offset,t.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(t,e)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new a(i);i=this._getUse(r.contains,t._reporterState.obj)._decode(p,e)}}return r.obj&&o&&(i=t.leaveObject(n)),null===r.key||null===i&&!0!==o?null!==s&&t.exitKey(s):t.leaveKey(s,r.key,i),i},l.prototype._decodeGeneric=function(t,e,r){var n=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,n.args[0],r):/str$/.test(t)?this._decodeStr(e,t,r):"objid"===t&&n.args?this._decodeObjid(e,n.args[0],n.args[1],r):"objid"===t?this._decodeObjid(e,null,null,r):"gentime"===t||"utctime"===t?this._decodeTime(e,t,r):"null_"===t?this._decodeNull(e,r):"bool"===t?this._decodeBool(e,r):"objDesc"===t?this._decodeStr(e,t,r):"int"===t||"enum"===t?this._decodeInt(e,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,e._reporterState.obj)._decode(e,r):e.error("unknown tag: "+t)},l.prototype._getUse=function(t,e){var r=this._baseState;return r.useDecoder=this._use(t,e),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},l.prototype._decodeChoice=function(t,e){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=t.save(),s=r.choice[o];try{var c=s._decode(t,e);if(t.isError(c))return!1;n={type:o,value:c},i=!0}catch(e){return t.restore(a),!1}return!0}),this),i?n:t.error("Choice not matched")},l.prototype._createEncoderBuffer=function(t){return new o(t,this.reporter)},l.prototype._encode=function(t,e,r){var n=this._baseState;if(null===n.default||n.default!==t){var i=this._encodeValue(t,e,r);if(void 0!==i&&!this._skipDefault(i,e,r))return i}},l.prototype._encodeValue=function(t,e,r){var o=this._baseState;if(null===o.parent)return o.children[0]._encode(t,e||new i);var a=null;if(this.reporter=e,o.optional&&void 0===t){if(null===o.default)return;t=o.default}var s=null,c=!1;if(o.any)a=this._createEncoderBuffer(t);else if(o.choice)a=this._encodeChoice(t,e);else if(o.contains)s=this._getUse(o.contains,r)._encode(t,e),c=!0;else if(o.children)s=o.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,e,t);if(null===r._baseState.key)return e.error("Child should have a key");var i=e.enterKey(r._baseState.key);if("object"!==n(t))return e.error("Child expected, but input is not object");var o=r._encode(t[r._baseState.key],e,t);return e.leaveKey(i),o}),this).filter((function(t){return t})),s=this._createEncoderBuffer(s);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return e.error("Too many args for : "+o.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,s=this._createEncoderBuffer(t.map((function(r){var n=this._baseState;return this._getUse(n.args[0],t)._encode(r,e)}),u))}else null!==o.use?a=this._getUse(o.use,r)._encode(t,e):(s=this._encodePrimitive(o.tag,t),c=!0);if(!o.any&&null===o.choice){var l=null!==o.implicit?o.implicit:o.tag,f=null===o.implicit?"universal":"context";null===l?null===o.use&&e.error("Tag could be omitted only for .use()"):null===o.use&&(a=this._encodeComposite(l,c,f,s))}return null!==o.explicit&&(a=this._encodeComposite(o.explicit,!1,"context",a)),a},l.prototype._encodeChoice=function(t,e){var r=this._baseState,n=r.choice[t.type];return n||s(!1,t.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(t.value,e)},l.prototype._encodePrimitive=function(t,e){var r=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&r.args)return this._encodeObjid(e,r.reverseArgs[0],r.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,r.args&&r.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},l.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},l.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},{"../base/buffer":169,"../base/reporter":172,"minimalistic-assert":437}],172:[function(t,e,r){"use strict";var n=t("inherits");function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}r.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,r){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,r=e.obj;return e.obj=t,r},i.prototype.error=function(t){var e,r=this._reporterState,n=t instanceof o;if(e=n?t:new o(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},{inherits:387}],173:[function(t,e,r){"use strict";function n(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e}r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n(r.tag)},{}],174:[function(t,e,r){"use strict";var n=r;n._reverse=function(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e},n.der=t("./der")},{"./der":173}],175:[function(t,e,r){"use strict";var n=t("inherits"),i=t("bn.js"),o=t("../base/buffer").DecoderBuffer,a=t("../base/node"),s=t("../constants/der");function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){a.call(this,"der",t)}function l(t,e){var r=t.readUInt8(e);if(t.isError(r))return r;var n=s.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function f(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=t.readUInt8(r);if(t.isError(a))return a;n|=a}return n}e.exports=c,c.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},n(u,a),u.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;var n=t.save(),i=l(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(n),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||r)},u.prototype._decodeTag=function(t,e,r){var n=l(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;var i=f(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},u.prototype._skipUntilEnd=function(t,e){for(;;){var r=l(t,e);if(t.isError(r))return r;var n,i=f(t,r.primitive,e);if(t.isError(i))return i;if(n=r.primitive||null!==i?t.skip(i):this._skipUntilEnd(t,e),t.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(t,e,r,n){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=r.decode(t,"der",n);if(t.isError(a)&&o)break;i.push(a)}return i},u.prototype._decodeStr=function(t,e){if("bitstr"===e){var r=t.readUInt8();return t.isError(r)?r:{unused:r,data:t.raw()}}if("bmpstr"===e){var n=t.raw();if(n.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===e){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var s=t.raw().toString("ascii");return this._isPrintstr(s)?s:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},u.prototype._decodeObjid=function(t,e,r){for(var n,i=[],o=0,a=0;!t.isEmpty();)o<<=7,o|=127&(a=t.readUInt8()),0==(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var s=i[0]/40|0,c=i[0]%40;if(n=r?i:[s,c].concat(i.slice(1)),e){var u=e[n.join(" ")];void 0===u&&(u=e[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(t,e){var r,n,i,o,a,s,c=t.raw().toString();if("gentime"===e)r=0|c.slice(0,4),n=0|c.slice(4,6),i=0|c.slice(6,8),o=0|c.slice(8,10),a=0|c.slice(10,12),s=0|c.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|c.slice(0,2),n=0|c.slice(2,4),i=0|c.slice(4,6),o=0|c.slice(6,8),a=0|c.slice(8,10),s=0|c.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,n-1,i,o,a,s,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},u.prototype._decodeInt=function(t,e){var r=t.raw(),n=new i(r);return e&&(n=e[n.toString(10)]||n),n},u.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},{"../base/buffer":169,"../base/node":171,"../constants/der":173,"bn.js":181,inherits:387}],176:[function(t,e,r){"use strict";var n=r;n.der=t("./der"),n.pem=t("./pem")},{"./der":175,"./pem":177}],177:[function(t,e,r){"use strict";var n=t("inherits"),i=t("safer-buffer").Buffer,o=t("./der");function a(t){o.call(this,t),this.enc="pem"}n(a,o),e.exports=a,a.prototype.decode=function(t,e){for(var r=t.toString().split(/[\r\n]+/g),n=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(a);if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+n);var f=r.slice(s+1,c).join("");f.replace(/[^a-z0-9+/=]+/gi,"");var h=i.from(f,"base64");return o.prototype.decode.call(this,h,e)}},{"./der":175,inherits:387,"safer-buffer":495}],178:[function(t,e,r){"use strict";var n=t("inherits"),i=t("safer-buffer").Buffer,o=t("../base/node"),a=t("../constants/der");function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){o.call(this,"der",t)}function u(t){return t<10?"0"+t:t}e.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},n(c,o),c.prototype._encodeComposite=function(t,e,r,n){var o=function(t,e,r,n){var i;if("seqof"===t?t="seq":"setof"===t&&(t="set"),a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);i=t}return i>=31?n.error("Multi-octet tag encoding unsupported"):(e||(i|=32),i|a.tagClassByName[r||"universal"]<<6)}(t,e,r,this.reporter);if(n.length<128){var s=i.alloc(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var c=1,u=n.length;u>=256;u>>=8)c++;var l=i.alloc(2+c);l[0]=o,l[1]=128|c;for(var f=1+c,h=n.length;h>0;f--,h>>=8)l[f]=255&h;return this._createEncoderBuffer([l,n])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=i.alloc(2*t.length),n=0;n<t.length;n++)r.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},c.prototype._encodeObjid=function(t,e,r){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t)){t=t.slice();for(var o=0;o<t.length;o++)t[o]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,s=0;s<t.length;s++){var c=t[s];for(a++;c>=128;c>>=7)a++}for(var u=i.alloc(a),l=u.length-1,f=t.length-1;f>=0;f--){var h=t[f];for(u[l--]=127&h;(h>>=7)>0;)u[l--]=128|127&h}return this._createEncoderBuffer(u)},c.prototype._encodeTime=function(t,e){var r,n=new Date(t);return"gentime"===e?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=i.from(r)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var o=i.alloc(n);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var a=1,s=t;s>=256;s>>=8)a++;for(var c=new Array(a),u=c.length-1;u>=0;u--)c[u]=255&t,t>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(i.from(c))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},{"../base/node":171,"../constants/der":173,inherits:387,"safer-buffer":495}],179:[function(t,e,r){"use strict";var n=r;n.der=t("./der"),n.pem=t("./pem")},{"./der":178,"./pem":180}],180:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./der");function o(t){i.call(this,t),this.enc="pem"}n(o,i),e.exports=o,o.prototype.encode=function(t,e){for(var r=i.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+e.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+e.label+"-----"),n.join("\n")}},{"./der":178,inherits:387}],181:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(e,r){function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function a(t,e,r){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"===n(e)?e.exports=a:(void 0).BN=a,a.BN=a,a.wordSize=26;try{s=t("buffer").Buffer}catch(t){}function c(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(t){return t instanceof a||null!==t&&"object"===n(t)&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===n(t))return this._initArray(t,e,r);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&o++,16===e?this._parseHex(t,o):this._parseBase(t,e,o),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initArray=function(t,e,r){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,a,s=0;if("be"===r)for(n=t.length-1,o=0;n>=0;n-=3)a=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(n=0,o=0;n<t.length;n+=3)a=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},a.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=c(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=c(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},a.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}a.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var n=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<n|o)).toString(16);r=0!==(o=s>>>24-n&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(n+=2)>=26&&(n-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(t,e){return i(void 0!==s),this.toArrayLike(s,t,e)},a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,r){var n=this.byteLength(),o=r||Math.max(1,n);i(n<=o,"byte array longer than desired length"),i(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-n;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},a.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var n=0;n<e;n++)this.words[n]=67108863&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&67108863>>26-r),this.strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var r=t/26|0,n=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<n:this.words[r]&~(1<<n),this.strip()},a.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),a.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=a.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,n){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<n;++a)r[a]=0;i(0===o),i(0==(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),m(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){i("number"==typeof t),i(t<67108864);for(var e=0,r=0;r<this.length;r++){var n=(0|this.words[r])*t,o=(67108863&n)+(67108863&e);e>>=26,e+=n/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new a(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,r=t%26,n=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==n){for(e=this.length-1;e>=0;e--)this.words[e+n]=this.words[e];for(e=0;e<n;e++)this.words[e]=0;this.length+=n}return this.strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,r){var n;i("number"==typeof t&&t>=0),n=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(n-=a,n=Math.max(0,n),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=n);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(t,e,r){return i(0===this.negative),this.iushrn(t,e,r)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,n=1<<e;return!(this.length<=r)&&!!(this.words[r]&n)},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var n=67108863^67108863>>>e<<e;this.words[this.length-1]&=n}return this.strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,r){var n,o,a=t.length+r;this._expand(a);var s=0;for(n=0;n<t.length;n++){o=(0|this.words[n+r])+s;var c=(0|t.words[n])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[n+r]=67108863&o}for(;n<this.length-r;n++)s=(o=(0|this.words[n+r])+s)>>26,this.words[n+r]=67108863&o;if(0===s)return this.strip();for(i(-1===s),s=0,n=0;n<this.length;n++)s=(o=-(0|this.words[n])+s)>>26,this.words[n]=67108863&o;return this.negative=1,this.strip()},a.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(t,e,r){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(n=s.div.neg()),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:n,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modn(t.words[0]))}:this._wordDiv(t,e);var n,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modn=function(t){i(t<=67108863);for(var e=(1<<26)%t,r=0,n=this.length-1;n>=0;n--)r=(e*r+(0|this.words[n]))%t;return r},a.prototype.idivn=function(t){i(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*e;this.words[r]=n/t|0,e=n%t}return this.strip()},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0==(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(l),o.isub(f)),n.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),n.isub(s),o.isub(c)):(r.isub(e),s.isub(n),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n,o=new a(1),s=new a(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var f=0,h=1;0==(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s)):(r.isub(e),s.isub(o))}return(n=0===e.cmpn(1)?o:s).cmpn(0)<0&&n.iadd(t),n},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,r=(t-e)/26,n=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var o=n,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),i(t<=67108863,"Number is too big");var n=0|this.words[0];e=n===t?0:n<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new _(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},o(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(w,g),o(x,g),o(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var r=this.m.add(new a(1)).iushrn(2);return this.pow(t,r)}for(var n=this.m.subn(1),o=0;!n.isZero()&&0===n.andln(1);)o++,n.iushrn(1);i(!n.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,n),h=this.pow(t,n.addn(1).iushrn(1)),d=this.pow(t,n),p=o;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();i(b<p);var v=this.pow(f,new a(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],o=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new S(t)},o(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e)},{buffer:185}],182:[function(t,e,r){"use strict";r.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},r.toByteArray=function(t){var e,r,n=u(t),a=n[0],s=n[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,c[l++]=255&e),1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},r.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(l(t,a,a+16383>s?s:a+16383));return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],183:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(e,r){function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function a(t,e,r){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"===n(e)?e.exports=a:(void 0).BN=a,a.BN=a,a.wordSize=26;try{s=t("buffer").Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),a=0,s=e;s<o;s++){var c,u=t.charCodeAt(s)-48;n<<=4,n|=c=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,a|=c}return i(!(240&a),"Invalid character in "+t),n}function u(t,e,r,n){for(var o=0,a=0,s=Math.min(t.length,r),c=e;c<s;c++){var u=t.charCodeAt(c)-48;o*=n,a=u>=49?u-49+10:u>=17?u-17+10:u,i(u>=0&&a<n,"Invalid character"),o+=a}return o}function l(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(a.isBN=function(t){return t instanceof a||null!==t&&"object"===n(t)&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===n(t))return this._initArray(t,e,r);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&o++,16===e?this._parseHex(t,o):this._parseBase(t,e,o),"-"===t[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initArray=function(t,e,r){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,a,s=0;if("be"===r)for(n=t.length-1,o=0;n>=0;n-=3)a=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(n=0,o=0;n<t.length;n+=3)a=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},a.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=c(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=c(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this._strip()},a.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype._move=function(t){l(t,this)},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(t){a.prototype.inspect=f}else a.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}a.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var n=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<n|o)).toString(16);r=0!==(o=s>>>24-n&16777215)||a!==this.length-1?h[6-c.length]+c+r:c+r,(n+=2)>=26&&(n-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=d[t],l=p[t];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(l).toString(t);r=(f=f.idivn(l)).isZero()?m+r:h[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16,2)},s&&(a.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,r){this._strip();var n=this.byteLength(),o=r||Math.max(1,n);i(n<=o,"byte array longer than desired length"),i(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,n),a},a.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r++]=255&a,r<t.length&&(t[r++]=a>>8&255),r<t.length&&(t[r++]=a>>16&255),6===o?(r<t.length&&(t[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},a.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r--]=255&a,r>=0&&(t[r--]=a>>8&255),r>=0&&(t[r--]=a>>16&255),6===o?(r>=0&&(t[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},a.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this._strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this._strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var n=0;n<e;n++)this.words[n]=67108863&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&67108863>>26-r),this._strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var r=t/26|0,n=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<n:this.words[r]&~(1<<n),this._strip()},a.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var b=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function v(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function g(t,e,r){return v(t,e,r)}function y(t,e){this.x=t,this.y=e}Math.imul||(b=m),a.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?b(this,t,e):r<63?m(this,t,e):r<1024?v(this,t,e):g(this,t,e)},y.prototype.makeRBT=function(t){for(var e=new Array(t),r=a.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},y.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},y.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},y.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},y.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},y.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},y.prototype.convert13b=function(t,e,r,n){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<n;++a)r[a]=0;i(0===o),i(0==(-8192&o))},y.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},y.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),g(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){var e=t<0;e&&(t=-t),i("number"==typeof t),i(t<67108864);for(var r=0,n=0;n<this.length;n++){var o=(0|this.words[n])*t,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[n]=67108863&a}return 0!==r&&(this.words[n]=r,this.length++),e?this.ineg():this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=t.words[n]>>>i&1}return e}(t);if(0===e.length)return new a(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,r=t%26,n=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==n){for(e=this.length-1;e>=0;e--)this.words[e+n]=this.words[e];for(e=0;e<n;e++)this.words[e]=0;this.length+=n}return this._strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,r){var n;i("number"==typeof t&&t>=0),n=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(n-=a,n=Math.max(0,n),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=n);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(t,e,r){return i(0===this.negative),this.iushrn(t,e,r)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,n=1<<e;return!(this.length<=r)&&!!(this.words[r]&n)},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var n=67108863^67108863>>>e<<e;this.words[this.length-1]&=n}return this._strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,r){var n,o,a=t.length+r;this._expand(a);var s=0;for(n=0;n<t.length;n++){o=(0|this.words[n+r])+s;var c=(0|t.words[n])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[n+r]=67108863&o}for(;n<this.length-r;n++)s=(o=(0|this.words[n+r])+s)>>26,this.words[n+r]=67108863&o;if(0===s)return this._strip();for(i(-1===s),s=0,n=0;n<this.length;n++)s=(o=-(0|this.words[n])+s)>>26,this.words[n]=67108863&o;return this.negative=1,this._strip()},a.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(t,e,r){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(n=s.div.neg()),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:n,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modrn(t.words[0]))}:this._wordDiv(t,e);var n,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modrn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var r=(1<<26)%t,n=0,o=this.length-1;o>=0;o--)n=(r*n+(0|this.words[o]))%t;return e?-n:n},a.prototype.modn=function(t){return this.modrn(t)},a.prototype.idivn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var r=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*r;this.words[n]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0==(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(l),o.isub(f)),n.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),n.isub(s),o.isub(c)):(r.isub(e),s.isub(n),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n,o=new a(1),s=new a(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var f=0,h=1;0==(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s)):(r.isub(e),s.isub(o))}return(n=0===e.cmpn(1)?o:s).cmpn(0)<0&&n.iadd(t),n},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,r=(t-e)/26,n=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var o=n,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),i(t<=67108863,"Number is too big");var n=0|this.words[0];e=n===t?0:n<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new E(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function x(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){E.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(t,e){t.iushrn(this.n,0,e)},x.prototype.imulK=function(t){return t.imul(this.k)},o(O,x),O.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},O.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(_,x),o(S,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new O;else if("p224"===t)e=new _;else if("p192"===t)e=new S;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return w[t]=e,e},E.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},E.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},E.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(l(t,t.umod(this.m)._forceRed(this)),t)},E.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},E.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},E.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},E.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},E.prototype.isqr=function(t){return this.imul(t,t.clone())},E.prototype.sqr=function(t){return this.mul(t,t)},E.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var r=this.m.add(new a(1)).iushrn(2);return this.pow(t,r)}for(var n=this.m.subn(1),o=0;!n.isZero()&&0===n.andln(1);)o++,n.iushrn(1);i(!n.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,n),h=this.pow(t,n.addn(1).iushrn(1)),d=this.pow(t,n),p=o;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();i(b<p);var v=this.pow(f,new a(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},E.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},E.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],o=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},E.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},E.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new M(t)},o(M,E),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e)},{buffer:185}],184:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;function o(t){this.rand=t}if(e.exports=function(t){return i||(i=new o(null)),i.generate(t)},e.exports.Rand=o,o.prototype.generate=function(t){return this._rand(t)},o.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r<e.length;r++)e[r]=this.rand.getByte();return e},"object"===("undefined"==typeof self?"undefined":n(self)))self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===("undefined"==typeof window?"undefined":n(window))&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=t("crypto");if("function"!=typeof a.randomBytes)throw new Error("Not supported");o.prototype._rand=function(t){return a.randomBytes(t)}}catch(t){}},{crypto:185}],185:[function(t,e,r){},{}],186:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i<e;i++)r[i]=t.readUInt32BE(4*i);return r}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,r,n,i){for(var o,a,s,c,u=r[0],l=r[1],f=r[2],h=r[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],b=t[3]^e[3],v=4,g=1;g<i;g++)o=u[d>>>24]^l[p>>>16&255]^f[m>>>8&255]^h[255&b]^e[v++],a=u[p>>>24]^l[m>>>16&255]^f[b>>>8&255]^h[255&d]^e[v++],s=u[m>>>24]^l[b>>>16&255]^f[d>>>8&255]^h[255&p]^e[v++],c=u[b>>>24]^l[d>>>16&255]^f[p>>>8&255]^h[255&m]^e[v++],d=o,p=a,m=s,b=c;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&b])^e[v++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[b>>>8&255]<<8|n[255&d])^e[v++],s=(n[m>>>24]<<24|n[b>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^e[v++],c=(n[b>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^e[v++],[o>>>=0,a>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var l=t[a],f=t[l],h=t[f],d=257*t[u]^16843008*u;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*h^65537*f^257*l^16843008*a,o[0][u]=d<<24|d>>>8,o[1][u]=d<<16|d>>>16,o[2][u]=d<<8|d>>>24,o[3][u]=d,0===a?a=s=1:(a=l^t[t[t[h^l]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(t){this._key=i(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<n;o++){var a=i[o-1];o%e==0?(a=a<<8|a>>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e==4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-e]^a}for(var u=[],l=0;l<n;l++){var f=n-l,h=i[f-(l%4?0:4)];u[l]=l<4||f<=4?h:c.INV_SUB_MIX[0][c.SBOX[h>>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},u.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var r=a(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},{"safe-buffer":494}],187:[function(t,e,r){"use strict";var n=t("./aes"),i=t("safe-buffer").Buffer,o=t("cipher-base"),a=t("inherits"),s=t("./ghash"),c=t("buffer-xor"),u=t("./incr32");function l(t,e,r,a){o.call(this);var c=i.alloc(4,0);this._cipher=new n.AES(e);var l=this._cipher.encryptBlock(c);this._ghash=new s(l),r=function(t,e,r){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var n=new s(r),o=e.length,a=o%16;n.update(e),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var c=8*o,l=i.alloc(8);l.writeUIntBE(c,0,8),n.update(l),t._finID=n.state;var f=i.from(t._finID);return u(f),f}(this,r,l),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(l,o),l.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;i<n;++i)r+=t[i]^e[i];return r}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},l.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},e.exports=l},{"./aes":186,"./ghash":191,"./incr32":192,"buffer-xor":217,"cipher-base":218,inherits:387,"safe-buffer":494}],188:[function(t,e,r){"use strict";var n=t("./encrypter"),i=t("./decrypter"),o=t("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=i.createDecipher,r.createDecipheriv=r.Decipheriv=i.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(o)}},{"./decrypter":189,"./encrypter":190,"./modes/list.json":200}],189:[function(t,e,r){"use strict";var n=t("./authCipher"),i=t("safe-buffer").Buffer,o=t("./modes"),a=t("./streamCipher"),s=t("cipher-base"),c=t("./aes"),u=t("evp_bytestokey");function l(t,e,r){s.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(e),this._prev=i.from(r),this._mode=t,this._autopadding=!0}function f(){this.cache=i.allocUnsafe(0)}function h(t,e,r){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,r,!0):"auth"===s.type?new n(s.module,e,r,!0):new l(s.module,e,r)}t("inherits")(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return i.concat(n)},l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var r=-1;++r<e;)if(t[r+(16-e)]!==e)throw new Error("unable to decrypt data");if(16!==e)return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=i.concat([this.cache,t])},f.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(e,!1,r.key,r.iv);return h(t,n.key,n.iv)},r.createDecipheriv=h},{"./aes":186,"./authCipher":187,"./modes":199,"./streamCipher":202,"cipher-base":218,evp_bytestokey:368,inherits:387,"safe-buffer":494}],190:[function(t,e,r){"use strict";var n=t("./modes"),i=t("./authCipher"),o=t("safe-buffer").Buffer,a=t("./streamCipher"),s=t("cipher-base"),c=t("./aes"),u=t("evp_bytestokey");function l(t,e,r){s.call(this),this._cache=new h,this._cipher=new c.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}t("inherits")(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return o.concat(n)};var f=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function d(t,e,r){var s=n[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,e,r):"auth"===s.type?new i(s.module,e,r):new l(s.module,e,r)}l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=o.concat([this.cache,t])},h.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},h.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),r=-1;++r<t;)e.writeUInt8(t,r);return o.concat([this.cache,e])},r.createCipheriv=d,r.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(e,!1,r.key,r.iv);return d(t,i.key,i.iv)}},{"./aes":186,"./authCipher":187,"./modes":199,"./streamCipher":202,"cipher-base":218,evp_bytestokey:368,inherits:387,"safe-buffer":494}],191:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=n.alloc(16,0);function o(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!=(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},e.exports=a},{"safe-buffer":494}],192:[function(t,e,r){"use strict";e.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},{}],193:[function(t,e,r){"use strict";var n=t("buffer-xor");r.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},r.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},{"buffer-xor":217}],194:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("buffer-xor");function o(t,e,r){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=n.concat([t._prev,r?e:a]),a}r.encrypt=function(t,e,r){for(var i,a=n.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=e.length)){a=n.concat([a,o(t,e,r)]);break}i=t._cache.length,a=n.concat([a,o(t,e.slice(0,i),r)]),e=e.slice(i)}return a}},{"buffer-xor":217,"safe-buffer":494}],195:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t,e,r){for(var n,i,a=-1,s=0;++a<8;)n=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^n))>>a%8,t._prev=o(t._prev,r?n:i);return s}function o(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}r.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},{"safe-buffer":494}],196:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t,e,r){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:i])]),i}r.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},{"safe-buffer":494}],197:[function(t,e,r){"use strict";var n=t("buffer-xor"),i=t("safe-buffer").Buffer,o=t("../incr32");function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}r.encrypt=function(t,e){var r=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var c=a(t),u=o+16*s;t._cache.writeUInt32BE(c[0],u+0),t._cache.writeUInt32BE(c[1],u+4),t._cache.writeUInt32BE(c[2],u+8),t._cache.writeUInt32BE(c[3],u+12)}var l=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,l)}},{"../incr32":192,"buffer-xor":217,"safe-buffer":494}],198:[function(t,e,r){"use strict";r.encrypt=function(t,e){return t._cipher.encryptBlock(e)},r.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},{}],199:[function(t,e,r){"use strict";var n={ECB:t("./ecb"),CBC:t("./cbc"),CFB:t("./cfb"),CFB8:t("./cfb8"),CFB1:t("./cfb1"),OFB:t("./ofb"),CTR:t("./ctr"),GCM:t("./ctr")},i=t("./list.json");for(var o in i)i[o].module=n[i[o].mode];e.exports=i},{"./cbc":193,"./cfb":194,"./cfb1":195,"./cfb8":196,"./ctr":197,"./ecb":198,"./list.json":200,"./ofb":201}],200:[function(t,e,r){e.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],201:[function(t,e,r){(function(e){"use strict";var n=t("buffer-xor");function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}r.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,i(t)]);var o=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,o)}}).call(this,t("buffer").Buffer)},{buffer:216,"buffer-xor":217}],202:[function(t,e,r){"use strict";var n=t("./aes"),i=t("safe-buffer").Buffer,o=t("cipher-base");function a(t,e,r,a){o.call(this),this._cipher=new n.AES(e),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}t("inherits")(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},{"./aes":186,"cipher-base":218,inherits:387,"safe-buffer":494}],203:[function(t,e,r){"use strict";var n=t("browserify-des"),i=t("browserify-aes/browser"),o=t("browserify-aes/modes"),a=t("browserify-des/modes"),s=t("evp_bytestokey");function c(t,e,r){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function u(t,e,r){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}r.createCipher=r.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return c(t,i.key,i.iv)},r.createCipheriv=r.Cipheriv=c,r.createDecipher=r.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return u(t,i.key,i.iv)},r.createDecipheriv=r.Decipheriv=u,r.listCiphers=r.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},{"browserify-aes/browser":188,"browserify-aes/modes":199,"browserify-des":204,"browserify-des/modes":205,evp_bytestokey:368}],204:[function(t,e,r){"use strict";var n=t("cipher-base"),i=t("des.js"),o=t("inherits"),a=t("safe-buffer").Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(t){n.call(this);var e,r=t.mode.toLowerCase(),i=s[r];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var c=t.iv;a.isBuffer(c)||(c=a.from(c)),this._des=i.create({key:o,iv:c,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,o(c,n),c.prototype._update=function(t){return a.from(this._des.update(t))},c.prototype._final=function(){return a.from(this._des.final())}},{"cipher-base":218,"des.js":339,inherits:387,"safe-buffer":494}],205:[function(t,e,r){"use strict";r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],206:[function(t,e,r){(function(r){"use strict";var n=t("bn.js"),i=t("randombytes");function o(t,e){var i=function(t){var e=a(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(e),o=e.modulus.byteLength(),s=(n.mont(e.modulus),new n(t).mul(i.blinder).umod(e.modulus)),c=s.toRed(n.mont(e.prime1)),u=s.toRed(n.mont(e.prime2)),l=e.coefficient,f=e.prime1,h=e.prime2,d=c.redPow(e.exponent1),p=u.redPow(e.exponent2);d=d.fromRed(),p=p.fromRed();var m=d.isub(p).imul(l).umod(f);return m.imul(h),p.iadd(m),new r(p.imul(i.unblinder).umod(e.modulus).toArray(!1,o))}function a(t){for(var e=t.modulus.byteLength(),r=new n(i(e));r.cmp(t.modulus)>=0||!r.umod(t.prime1)||!r.umod(t.prime2);)r=new n(i(e));return r}e.exports=o,o.getr=a}).call(this,t("buffer").Buffer)},{"bn.js":207,buffer:216,randombytes:475}],207:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],208:[function(t,e,r){"use strict";e.exports=t("./browser/algorithms.json")},{"./browser/algorithms.json":209}],209:[function(t,e,r){e.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],210:[function(t,e,r){e.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],211:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("create-hash"),o=t("readable-stream"),a=t("inherits"),s=t("./sign"),c=t("./verify"),u=t("./algorithms.json");function l(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){return new l(t)}function d(t){return new f(t)}Object.keys(u).forEach((function(t){u[t].id=n.from(u[t].id,"hex"),u[t.toLowerCase()]=u[t]})),a(l,o.Writable),l.prototype._write=function(t,e,r){this._hash.update(t),r()},l.prototype.update=function(t,e){return"string"==typeof t&&(t=n.from(t,e)),this._hash.update(t),this},l.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=s(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},a(f,o.Writable),f.prototype._write=function(t,e,r){this._hash.update(t),r()},f.prototype.update=function(t,e){return"string"==typeof t&&(t=n.from(t,e)),this._hash.update(t),this},f.prototype.verify=function(t,e,r){"string"==typeof e&&(e=n.from(e,r)),this.end();var i=this._hash.digest();return c(e,i,t,this._signType,this._tag)},e.exports={Sign:h,Verify:d,createSign:h,createVerify:d}},{"./algorithms.json":209,"./sign":212,"./verify":213,"create-hash":331,inherits:387,"readable-stream":491,"safe-buffer":214}],212:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("create-hmac"),o=t("browserify-rsa"),a=t("elliptic").ec,s=t("bn.js"),c=t("parse-asn1"),u=t("./curves.json");function l(t,e,r,o){if((t=n.from(t.toArray())).length<e.byteLength()){var a=n.alloc(e.byteLength()-t.length);t=n.concat([a,t])}var s=r.length,c=function(t,e){t=(t=f(t,e)).mod(e);var r=n.from(t.toArray());if(r.length<e.byteLength()){var i=n.alloc(e.byteLength()-r.length);r=n.concat([i,r])}return r}(r,e),u=n.alloc(s);u.fill(1);var l=n.alloc(s);return l=i(o,l).update(u).update(n.from([0])).update(t).update(c).digest(),u=i(o,l).update(u).digest(),{k:l=i(o,l).update(u).update(n.from([1])).update(t).update(c).digest(),v:u=i(o,l).update(u).digest()}}function f(t,e){var r=new s(t),n=(t.length<<3)-e.bitLength();return n>0&&r.ishrn(n),r}function h(t,e,r){var o,a;do{for(o=n.alloc(0);8*o.length<t.bitLength();)e.v=i(r,e.k).update(e.v).digest(),o=n.concat([o,e.v]);a=f(o,t),e.k=i(r,e.k).update(e.v).update(n.from([0])).digest(),e.v=i(r,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function d(t,e,r,n){return t.toRed(s.mont(r)).redPow(e).fromRed().mod(n)}e.exports=function(t,e,r,i,p){var m=c(e);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var r=u[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var i=new a(r).keyFromPrivate(e.privateKey).sign(t);return n.from(i.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,r){for(var i,o=e.params.priv_key,a=e.params.p,c=e.params.q,u=e.params.g,p=new s(0),m=f(t,c).mod(c),b=!1,v=l(o,c,t,r);!1===b;)p=d(u,i=h(c,v,r),a,c),0===(b=i.invm(c).imul(m.add(o.mul(p))).mod(c)).cmpn(0)&&(b=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].concat(e));var r=[48,t.length+e.length+4,2,t.length];return r=r.concat(t,[2,e.length],e),n.from(r)}(p,b)}(t,m,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=n.concat([p,t]);for(var b=m.modulus.byteLength(),v=[0,1];t.length+v.length+1<b;)v.push(255);v.push(0);for(var g=-1;++g<t.length;)v.push(t[g]);return o(v,m)},e.exports.getKey=l,e.exports.makeKey=h},{"./curves.json":210,"bn.js":183,"browserify-rsa":206,"create-hmac":333,elliptic:350,"parse-asn1":459,"safe-buffer":214}],213:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("bn.js"),o=t("elliptic").ec,a=t("parse-asn1"),s=t("./curves.json");function c(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}e.exports=function(t,e,r,u,l){var f=a(r);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=r.data.p,o=r.data.q,s=r.data.g,u=r.data.pub_key,l=a.signature.decode(t,"der"),f=l.s,h=l.r;c(f,o),c(h,o);var d=i.mont(n),p=f.invm(o);return 0===s.toRed(d).redPow(new i(e).mul(p).mod(o)).fromRed().mul(u.toRed(d).redPow(h.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(h)}(t,e,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");e=n.concat([l,e]);for(var h=f.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<h;)d.push(255),p++;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=n.from(d);var b=i.mont(f.modulus);t=(t=new i(t).toRed(b)).redPow(new i(f.publicExponent)),t=n.from(t.fromRed().toArray());var v=p<8?1:0;for(h=Math.min(t.length,d.length),t.length!==d.length&&(v=1),m=-1;++m<h;)v|=t[m]^d[m];return 0===v}},{"./curves.json":210,"bn.js":183,elliptic:350,"parse-asn1":459,"safe-buffer":214}],214:[function(t,e,r){"use strict";var n=t("buffer"),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,r),r.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},{buffer:216}],215:[function(t,e,r){arguments[4][185][0].apply(r,arguments)},{dup:185}],216:[function(t,e,r){(function(e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("base64-js"),o=t("ieee754");function a(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return r.__proto__=e.prototype,r}function e(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return u(t)}return s(t,e,r)}function s(t,r,i){if("string"==typeof t)return function(t,r){if("string"==typeof r&&""!==r||(r="utf8"),!e.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var n=0|h(t,r),i=a(n),o=i.write(t,r);return o!==n&&(i=i.slice(0,o)),i}(t,r);if(ArrayBuffer.isView(t))return l(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+n(t));if(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer))return function(t,r,n){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(n||0))throw new RangeError('"length" is outside of buffer bounds');var i;return(i=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n)).__proto__=e.prototype,i}(t,r,i);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=t.valueOf&&t.valueOf();if(null!=o&&o!==t)return e.from(o,r,i);var s=function(t){if(e.isBuffer(t)){var r=0|f(t.length),n=a(r);return 0===n.length||t.copy(n,0,0,r),n}return void 0!==t.length?"number"!=typeof t.length||z(t.length)?a(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}(t);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return e.from(t[Symbol.toPrimitive]("string"),r,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+n(t))}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function u(t){return c(t),a(t<0?0:0|f(t))}function l(t){for(var e=t.length<0?0:0|f(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function f(t){if(t>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|t}function h(t,r){if(e.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+n(t));var i=t.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===i)return 0;for(var a=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return I(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return N(t).length;default:if(a)return o?-1:I(t).length;r=(""+r).toLowerCase(),a=!0}}function d(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return M(this,e,r);case"utf8":case"utf-8":return S(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return E(this,e,r);case"base64":return _(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function p(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,r,n,i,o){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),z(n=+n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof r&&(r=e.from(r,i)),e.isBuffer(r))return 0===r.length?-1:b(t,r,n,i,o);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,n):Uint8Array.prototype.lastIndexOf.call(t,r,n):b(t,[r],n,i,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){var o,a=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(t,o+h)!==u(e,h)){f=!1;break}if(f)return o}return-1}function v(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(z(s))return a;t[r+a]=s}return a}function g(t,e,r,n){return F(I(e,t.length-r),t,r,n)}function y(t,e,r,n){return F(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function w(t,e,r,n){return y(t,e,r,n)}function x(t,e,r,n){return F(N(e),t,r,n)}function O(t,e,r,n){return F(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function _(t,e,r){return 0===e&&r===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,r))}function S(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,c,u=t[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}function k(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function E(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function M(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=L(t[o]);return i}function C(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function j(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function A(t,r,n,i,o,a){if(!e.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<a)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function T(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,n,i){return e=+e,r>>>=0,i||T(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,i){return e=+e,r>>>=0,i||T(t,0,r,8),o.write(t,e,r,n,52,8),r+8}r.Buffer=e,r.SlowBuffer=function(t){return+t!=t&&(t=0),e.alloc(+t)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=2147483647,e.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),e.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(e.prototype,"parent",{enumerable:!0,get:function(){if(e.isBuffer(this))return this.buffer}}),Object.defineProperty(e.prototype,"offset",{enumerable:!0,get:function(){if(e.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&e[Symbol.species]===e&&Object.defineProperty(e,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),e.poolSize=8192,e.from=function(t,e,r){return s(t,e,r)},e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array,e.alloc=function(t,e,r){return function(t,e,r){return c(t),t<=0?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)}(t,e,r)},e.allocUnsafe=function(t){return u(t)},e.allocUnsafeSlow=function(t){return u(t)},e.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==e.prototype},e.compare=function(t,r){if(B(t,Uint8Array)&&(t=e.from(t,t.offset,t.byteLength)),B(r,Uint8Array)&&(r=e.from(r,r.offset,r.byteLength)),!e.isBuffer(t)||!e.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(t[o]!==r[o]){n=t[o],i=r[o];break}return n<i?-1:i<n?1:0},e.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return e.alloc(0);var n;if(void 0===r)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=e.allocUnsafe(r),o=0;for(n=0;n<t.length;++n){var a=t[n];if(B(a,Uint8Array)&&(a=e.from(a)),!e.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},e.byteLength=h,e.prototype._isBuffer=!0,e.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)p(this,e,e+1);return this},e.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)p(this,e,e+3),p(this,e+1,e+2);return this},e.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)p(this,e,e+7),p(this,e+1,e+6),p(this,e+2,e+5),p(this,e+3,e+4);return this},e.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?S(this,0,t):d.apply(this,arguments)},e.prototype.toLocaleString=e.prototype.toString,e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===e.compare(this,t)},e.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},e.prototype.compare=function(t,r,i,o,a){if(B(t,Uint8Array)&&(t=e.from(t,t.offset,t.byteLength)),!e.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+n(t));if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===o&&(o=0),void 0===a&&(a=this.length),r<0||i>t.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&r>=i)return 0;if(o>=a)return-1;if(r>=i)return 1;if(this===t)return 0;for(var s=(a>>>=0)-(o>>>=0),c=(i>>>=0)-(r>>>=0),u=Math.min(s,c),l=this.slice(o,a),f=t.slice(r,i),h=0;h<u;++h)if(l[h]!==f[h]){s=l[h],c=f[h];break}return s<c?-1:c<s?1:0},e.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},e.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},e.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},e.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return g(this,t,e,r);case"ascii":return y(this,t,e,r);case"latin1":case"binary":return w(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},e.prototype.slice=function(t,r){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return i.__proto__=e.prototype,i},e.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},e.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},e.prototype.readUInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),this[t]},e.prototype.readUInt16LE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]|this[t+1]<<8},e.prototype.readUInt16BE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]<<8|this[t+1]},e.prototype.readUInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},e.prototype.readUInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},e.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},e.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},e.prototype.readInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},e.prototype.readInt16LE=function(t,e){t>>>=0,e||j(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},e.prototype.readInt16BE=function(t,e){t>>>=0,e||j(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},e.prototype.readInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},e.prototype.readInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},e.prototype.readFloatLE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!0,23,4)},e.prototype.readFloatBE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!1,23,4)},e.prototype.readDoubleLE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!0,52,8)},e.prototype.readDoubleBE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!1,52,8)},e.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||A(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},e.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||A(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},e.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,1,255,0),this[e]=255&t,e+1},e.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},e.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},e.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},e.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},e.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},e.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},e.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},e.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},e.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},e.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},e.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},e.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},e.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},e.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},e.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},e.prototype.copy=function(t,r,n,i){if(!e.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var o=i-n;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,n,i);else if(this===t&&n<r&&r<i)for(var a=o-1;a>=0;--a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,i),r);return o},e.prototype.fill=function(t,r,n,i){if("string"==typeof t){if("string"==typeof r?(i=r,r=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!e.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===t.length){var o=t.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(t=o)}}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;var a;if(r>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=r;a<n;++a)this[a]=t;else{var s=e.isBuffer(t)?t:e.from(t,i),c=s.length;if(0===c)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=s[a%c]}return this};var R=/[^+/0-9A-Za-z-_]/g;function L(t){return t<16?"0"+t.toString(16):t.toString(16)}function I(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function N(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function F(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function B(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function z(t){return t!=t}}).call(this,t("buffer").Buffer)},{"base64-js":182,buffer:216,ieee754:385}],217:[function(t,e,r){(function(t){"use strict";e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),o=0;o<n;++o)i[o]=e[o]^r[o];return i}}).call(this,t("buffer").Buffer)},{buffer:216}],218:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("stream").Transform,o=t("string_decoder").StringDecoder;function a(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}t("inherits")(a,i),a.prototype.update=function(t,e,r){"string"==typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){n=t}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},e.exports=a},{inherits:387,"safe-buffer":494,stream:506,string_decoder:520}],219:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},{}],220:[function(t,e,r){var n=t("../internals/is-object");e.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},{"../internals/is-object":263}],221:[function(t,e,r){var n=t("../internals/well-known-symbol"),i=t("../internals/object-create"),o=t("../internals/object-define-property"),a=n("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(t){s[a][t]=!0}},{"../internals/object-create":276,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],222:[function(t,e,r){e.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},{}],223:[function(t,e,r){var n=t("../internals/is-object");e.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},{"../internals/is-object":263}],224:[function(t,e,r){var n=t("../internals/to-indexed-object"),i=t("../internals/to-length"),o=t("../internals/to-absolute-index"),a=function(t){return function(e,r,a){var s,c=n(e),u=i(c.length),l=o(a,u);if(t&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/to-absolute-index":304,"../internals/to-indexed-object":305,"../internals/to-length":307}],225:[function(t,e,r){var n=t("../internals/function-bind-context"),i=t("../internals/indexed-object"),o=t("../internals/to-object"),a=t("../internals/to-length"),s=t("../internals/array-species-create"),c=[].push,u=function(t){var e=1==t,r=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f;return function(d,p,m,b){for(var v,g,y=o(d),w=i(y),x=n(p,m,3),O=a(w.length),_=0,S=b||s,k=e?S(d,O):r?S(d,0):void 0;O>_;_++)if((h||_ in w)&&(g=x(v=w[_],_,y),t))if(e)k[_]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:c.call(k,v)}else if(l)return!1;return f?-1:u||l?l:k}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},{"../internals/array-species-create":227,"../internals/function-bind-context":248,"../internals/indexed-object":257,"../internals/to-length":307,"../internals/to-object":308}],226:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/fails"),o=t("../internals/has"),a=Object.defineProperty,s={},c=function(t){throw t};e.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var r=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,l=o(e,0)?e[0]:c,f=o(e,1)?e[1]:void 0;return s[t]=!!r&&!i((function(){if(u&&!n)return!0;var t={length:-1};u?a(t,1,{enumerable:!0,get:c}):t[1]=1,r.call(t,l,f)}))}},{"../internals/descriptors":240,"../internals/fails":247,"../internals/has":252}],227:[function(t,e,r){var n=t("../internals/is-object"),i=t("../internals/is-array"),o=t("../internals/well-known-symbol")("species");e.exports=function(t,e){var r;return i(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[o])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},{"../internals/is-array":261,"../internals/is-object":263,"../internals/well-known-symbol":314}],228:[function(t,e,r){var n=t("../internals/an-object");e.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},{"../internals/an-object":223}],229:[function(t,e,r){var n=t("../internals/well-known-symbol")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}e.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},{"../internals/well-known-symbol":314}],230:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],231:[function(t,e,r){var n=t("../internals/to-string-tag-support"),i=t("../internals/classof-raw"),o=t("../internals/well-known-symbol")("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:a?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n}},{"../internals/classof-raw":230,"../internals/to-string-tag-support":310,"../internals/well-known-symbol":314}],232:[function(t,e,r){var n=t("../internals/has"),i=t("../internals/own-keys"),o=t("../internals/object-get-own-property-descriptor"),a=t("../internals/object-define-property");e.exports=function(t,e){for(var r=i(e),s=a.f,c=o.f,u=0;u<r.length;u++){var l=r[u];n(t,l)||s(t,l,c(e,l))}}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/object-get-own-property-descriptor":279,"../internals/own-keys":289}],233:[function(t,e,r){var n=t("../internals/well-known-symbol")("match");e.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},{"../internals/well-known-symbol":314}],234:[function(t,e,r){var n=t("../internals/fails");e.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},{"../internals/fails":247}],235:[function(t,e,r){"use strict";var n=t("../internals/iterators-core").IteratorPrototype,i=t("../internals/object-create"),o=t("../internals/create-property-descriptor"),a=t("../internals/set-to-string-tag"),s=t("../internals/iterators"),c=function(){return this};e.exports=function(t,e,r){var u=e+" Iterator";return t.prototype=i(n,{next:o(1,r)}),a(t,u,!1,!0),s[u]=c,t}},{"../internals/create-property-descriptor":237,"../internals/iterators":268,"../internals/iterators-core":267,"../internals/object-create":276,"../internals/set-to-string-tag":298}],236:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-define-property"),o=t("../internals/create-property-descriptor");e.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"../internals/create-property-descriptor":237,"../internals/descriptors":240,"../internals/object-define-property":278}],237:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],238:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/create-iterator-constructor"),o=t("../internals/object-get-prototype-of"),a=t("../internals/object-set-prototype-of"),s=t("../internals/set-to-string-tag"),c=t("../internals/create-non-enumerable-property"),u=t("../internals/redefine"),l=t("../internals/well-known-symbol"),f=t("../internals/is-pure"),h=t("../internals/iterators"),d=t("../internals/iterators-core"),p=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,b=l("iterator"),v=function(){return this};e.exports=function(t,e,r,l,d,g,y){i(r,e,l);var w,x,O,_=function(t){if(t===d&&C)return C;if(!m&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},S=e+" Iterator",k=!1,E=t.prototype,M=E[b]||E["@@iterator"]||d&&E[d],C=!m&&M||_(d),j="Array"==e&&E.entries||M;if(j&&(w=o(j.call(new t)),p!==Object.prototype&&w.next&&(f||o(w)===p||(a?a(w,p):"function"!=typeof w[b]&&c(w,b,v)),s(w,S,!0,!0),f&&(h[S]=v))),"values"==d&&M&&"values"!==M.name&&(k=!0,C=function(){return M.call(this)}),f&&!y||E[b]===C||c(E,b,C),h[e]=C,d)if(x={values:_("values"),keys:g?C:_("keys"),entries:_("entries")},y)for(O in x)(m||k||!(O in E))&&u(E,O,x[O]);else n({target:e,proto:!0,forced:m||k},x);return x}},{"../internals/create-iterator-constructor":235,"../internals/create-non-enumerable-property":236,"../internals/export":246,"../internals/is-pure":264,"../internals/iterators":268,"../internals/iterators-core":267,"../internals/object-get-prototype-of":283,"../internals/object-set-prototype-of":287,"../internals/redefine":294,"../internals/set-to-string-tag":298,"../internals/well-known-symbol":314}],239:[function(t,e,r){var n=t("../internals/path"),i=t("../internals/has"),o=t("../internals/well-known-symbol-wrapped"),a=t("../internals/object-define-property").f;e.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/path":290,"../internals/well-known-symbol-wrapped":313}],240:[function(t,e,r){var n=t("../internals/fails");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":247}],241:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/is-object"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(t){return a?o.createElement(t):{}}},{"../internals/global":251,"../internals/is-object":263}],242:[function(t,e,r){var n=t("../internals/engine-user-agent");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},{"../internals/engine-user-agent":243}],243:[function(t,e,r){var n=t("../internals/get-built-in");e.exports=n("navigator","userAgent")||""},{"../internals/get-built-in":249}],244:[function(t,e,r){var n,i,o=t("../internals/global"),a=t("../internals/engine-user-agent"),s=o.process,c=s&&s.versions,u=c&&c.v8;u?i=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},{"../internals/engine-user-agent":243,"../internals/global":251}],245:[function(t,e,r){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],246:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/object-get-own-property-descriptor").f,o=t("../internals/create-non-enumerable-property"),a=t("../internals/redefine"),s=t("../internals/set-global"),c=t("../internals/copy-constructor-properties"),u=t("../internals/is-forced");e.exports=function(t,e){var r,l,f,h,d,p=t.target,m=t.global,b=t.stat;if(r=m?n:b?n[p]||s(p,{}):(n[p]||{}).prototype)for(l in e){if(h=e[l],f=t.noTargetGet?(d=i(r,l))&&d.value:r[l],!u(m?l:p+(b?".":"#")+l,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(t.sham||f&&f.sham)&&o(h,"sham",!0),a(r,l,h,t)}}},{"../internals/copy-constructor-properties":232,"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/is-forced":262,"../internals/object-get-own-property-descriptor":279,"../internals/redefine":294,"../internals/set-global":296}],247:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],248:[function(t,e,r){var n=t("../internals/a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},{"../internals/a-function":219}],249:[function(t,e,r){var n=t("../internals/path"),i=t("../internals/global"),o=function(t){return"function"==typeof t?t:void 0};e.exports=function(t,e){return arguments.length<2?o(n[t])||o(i[t]):n[t]&&n[t][e]||i[t]&&i[t][e]}},{"../internals/global":251,"../internals/path":290}],250:[function(t,e,r){var n=t("../internals/classof"),i=t("../internals/iterators"),o=t("../internals/well-known-symbol")("iterator");e.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},{"../internals/classof":231,"../internals/iterators":268,"../internals/well-known-symbol":314}],251:[function(t,r,n){(function(t){var e=function(t){return t&&t.Math==Math&&t};r.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||Function("return this")()}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],252:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],253:[function(t,e,r){e.exports={}},{}],254:[function(t,e,r){var n=t("../internals/global");e.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},{"../internals/global":251}],255:[function(t,e,r){var n=t("../internals/get-built-in");e.exports=n("document","documentElement")},{"../internals/get-built-in":249}],256:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/fails"),o=t("../internals/document-create-element");e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":240,"../internals/document-create-element":241,"../internals/fails":247}],257:[function(t,e,r){var n=t("../internals/fails"),i=t("../internals/classof-raw"),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},{"../internals/classof-raw":230,"../internals/fails":247}],258:[function(t,e,r){var n=t("../internals/shared-store"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return i.call(t)}),e.exports=n.inspectSource},{"../internals/shared-store":300}],259:[function(t,e,r){var n,i,o,a=t("../internals/native-weak-map"),s=t("../internals/global"),c=t("../internals/is-object"),u=t("../internals/create-non-enumerable-property"),l=t("../internals/has"),f=t("../internals/shared-key"),h=t("../internals/hidden-keys"),d=s.WeakMap;if(a){var p=new d,m=p.get,b=p.has,v=p.set;n=function(t,e){return v.call(p,t,e),e},i=function(t){return m.call(p,t)||{}},o=function(t){return b.call(p,t)}}else{var g=f("state");h[g]=!0,n=function(t,e){return u(t,g,e),e},i=function(t){return l(t,g)?t[g]:{}},o=function(t){return l(t,g)}}e.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},{"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/has":252,"../internals/hidden-keys":253,"../internals/is-object":263,"../internals/native-weak-map":272,"../internals/shared-key":299}],260:[function(t,e,r){var n=t("../internals/well-known-symbol"),i=t("../internals/iterators"),o=n("iterator"),a=Array.prototype;e.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},{"../internals/iterators":268,"../internals/well-known-symbol":314}],261:[function(t,e,r){var n=t("../internals/classof-raw");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"../internals/classof-raw":230}],262:[function(t,e,r){var n=t("../internals/fails"),i=/#|\.prototype\./,o=function(t,e){var r=s[a(t)];return r==u||r!=c&&("function"==typeof e?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},{"../internals/fails":247}],263:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],264:[function(t,e,r){e.exports=!1},{}],265:[function(t,e,r){var n=t("../internals/is-object"),i=t("../internals/classof-raw"),o=t("../internals/well-known-symbol")("match");e.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},{"../internals/classof-raw":230,"../internals/is-object":263,"../internals/well-known-symbol":314}],266:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/is-array-iterator-method"),o=t("../internals/to-length"),a=t("../internals/function-bind-context"),s=t("../internals/get-iterator-method"),c=t("../internals/call-with-safe-iteration-closing"),u=function(t,e){this.stopped=t,this.result=e};(e.exports=function(t,e,r,l,f){var h,d,p,m,b,v,g,y=a(e,r,l?2:1);if(f)h=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(i(d)){for(p=0,m=o(t.length);m>p;p++)if((b=l?y(n(g=t[p])[0],g[1]):y(t[p]))&&b instanceof u)return b;return new u(!1)}h=d.call(t)}for(v=h.next;!(g=v.call(h)).done;)if("object"==typeof(b=c(h,y,g.value,l))&&b&&b instanceof u)return b;return new u(!1)}).stop=function(t){return new u(!0,t)}},{"../internals/an-object":223,"../internals/call-with-safe-iteration-closing":228,"../internals/function-bind-context":248,"../internals/get-iterator-method":250,"../internals/is-array-iterator-method":260,"../internals/to-length":307}],267:[function(t,e,r){"use strict";var n,i,o,a=t("../internals/object-get-prototype-of"),s=t("../internals/create-non-enumerable-property"),c=t("../internals/has"),u=t("../internals/well-known-symbol"),l=t("../internals/is-pure"),f=u("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(n=i):h=!0),null==n&&(n={}),l||c(n,f)||s(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},{"../internals/create-non-enumerable-property":236,"../internals/has":252,"../internals/is-pure":264,"../internals/object-get-prototype-of":283,"../internals/well-known-symbol":314}],268:[function(t,e,r){arguments[4][253][0].apply(r,arguments)},{dup:253}],269:[function(t,e,r){var n,i,o,a,s,c,u,l,f=t("../internals/global"),h=t("../internals/object-get-own-property-descriptor").f,d=t("../internals/classof-raw"),p=t("../internals/task").set,m=t("../internals/engine-is-ios"),b=f.MutationObserver||f.WebKitMutationObserver,v=f.process,g=f.Promise,y="process"==d(v),w=h(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var t,e;for(y&&(t=v.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},y?a=function(){v.nextTick(n)}:b&&!m?(s=!0,c=document.createTextNode(""),new b(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):g&&g.resolve?(u=g.resolve(void 0),l=u.then,a=function(){l.call(u,n)}):a=function(){p.call(f,n)}),e.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},{"../internals/classof-raw":230,"../internals/engine-is-ios":242,"../internals/global":251,"../internals/object-get-own-property-descriptor":279,"../internals/task":303}],270:[function(t,e,r){var n=t("../internals/global");e.exports=n.Promise},{"../internals/global":251}],271:[function(t,e,r){var n=t("../internals/fails");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},{"../internals/fails":247}],272:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/inspect-source"),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},{"../internals/global":251,"../internals/inspect-source":258}],273:[function(t,e,r){"use strict";var n=t("../internals/a-function"),i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};e.exports.f=function(t){return new i(t)}},{"../internals/a-function":219}],274:[function(t,e,r){var n=t("../internals/is-regexp");e.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},{"../internals/is-regexp":265}],275:[function(t,e,r){"use strict";var n=t("../internals/descriptors"),i=t("../internals/fails"),o=t("../internals/object-keys"),a=t("../internals/object-get-own-property-symbols"),s=t("../internals/object-property-is-enumerable"),c=t("../internals/to-object"),u=t("../internals/indexed-object"),l=Object.assign,f=Object.defineProperty;e.exports=!l||i((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[r]||"abcdefghijklmnopqrst"!=o(l({},e)).join("")}))?function(t,e){for(var r=c(t),i=arguments.length,l=1,f=a.f,h=s.f;i>l;)for(var d,p=u(arguments[l++]),m=f?o(p).concat(f(p)):o(p),b=m.length,v=0;b>v;)d=m[v++],n&&!h.call(p,d)||(r[d]=p[d]);return r}:l},{"../internals/descriptors":240,"../internals/fails":247,"../internals/indexed-object":257,"../internals/object-get-own-property-symbols":282,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/to-object":308}],276:[function(t,e,r){var n,i=t("../internals/an-object"),o=t("../internals/object-define-properties"),a=t("../internals/enum-bug-keys"),s=t("../internals/hidden-keys"),c=t("../internals/html"),u=t("../internals/document-create-element"),l=t("../internals/shared-key")("IE_PROTO"),f=function(){},h=function(t){return"<script>"+t+"<\/script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};s[l]=!0,e.exports=Object.create||function(t,e){var r;return null!==t?(f.prototype=i(t),r=new f,f.prototype=null,r[l]=t):r=d(),void 0===e?r:o(r,e)}},{"../internals/an-object":223,"../internals/document-create-element":241,"../internals/enum-bug-keys":245,"../internals/hidden-keys":253,"../internals/html":255,"../internals/object-define-properties":277,"../internals/shared-key":299}],277:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-define-property"),o=t("../internals/an-object"),a=t("../internals/object-keys");e.exports=n?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=n.length,c=0;s>c;)i.f(t,r=n[c++],e[r]);return t}},{"../internals/an-object":223,"../internals/descriptors":240,"../internals/object-define-property":278,"../internals/object-keys":285}],278:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/ie8-dom-define"),o=t("../internals/an-object"),a=t("../internals/to-primitive"),s=Object.defineProperty;r.f=n?s:function(t,e,r){if(o(t),e=a(e,!0),o(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},{"../internals/an-object":223,"../internals/descriptors":240,"../internals/ie8-dom-define":256,"../internals/to-primitive":309}],279:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-property-is-enumerable"),o=t("../internals/create-property-descriptor"),a=t("../internals/to-indexed-object"),s=t("../internals/to-primitive"),c=t("../internals/has"),u=t("../internals/ie8-dom-define"),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,e){if(t=a(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},{"../internals/create-property-descriptor":237,"../internals/descriptors":240,"../internals/has":252,"../internals/ie8-dom-define":256,"../internals/object-property-is-enumerable":286,"../internals/to-indexed-object":305,"../internals/to-primitive":309}],280:[function(t,e,r){var n=t("../internals/to-indexed-object"),i=t("../internals/object-get-own-property-names").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(n(t))}},{"../internals/object-get-own-property-names":281,"../internals/to-indexed-object":305}],281:[function(t,e,r){var n=t("../internals/object-keys-internal"),i=t("../internals/enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},{"../internals/enum-bug-keys":245,"../internals/object-keys-internal":284}],282:[function(t,e,r){r.f=Object.getOwnPropertySymbols},{}],283:[function(t,e,r){var n=t("../internals/has"),i=t("../internals/to-object"),o=t("../internals/shared-key"),a=t("../internals/correct-prototype-getter"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(t){return t=i(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},{"../internals/correct-prototype-getter":234,"../internals/has":252,"../internals/shared-key":299,"../internals/to-object":308}],284:[function(t,e,r){var n=t("../internals/has"),i=t("../internals/to-indexed-object"),o=t("../internals/array-includes").indexOf,a=t("../internals/hidden-keys");e.exports=function(t,e){var r,s=i(t),c=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);for(;e.length>c;)n(s,r=e[c++])&&(~o(u,r)||u.push(r));return u}},{"../internals/array-includes":224,"../internals/has":252,"../internals/hidden-keys":253,"../internals/to-indexed-object":305}],285:[function(t,e,r){var n=t("../internals/object-keys-internal"),i=t("../internals/enum-bug-keys");e.exports=Object.keys||function(t){return n(t,i)}},{"../internals/enum-bug-keys":245,"../internals/object-keys-internal":284}],286:[function(t,e,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);r.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},{}],287:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/a-possible-prototype");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,o){return n(r),i(o),e?t.call(r,o):r.__proto__=o,r}}():void 0)},{"../internals/a-possible-prototype":220,"../internals/an-object":223}],288:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-keys"),o=t("../internals/to-indexed-object"),a=t("../internals/object-property-is-enumerable").f,s=function(t){return function(e){for(var r,s=o(e),c=i(s),u=c.length,l=0,f=[];u>l;)r=c[l++],n&&!a.call(s,r)||f.push(t?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},{"../internals/descriptors":240,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/to-indexed-object":305}],289:[function(t,e,r){var n=t("../internals/get-built-in"),i=t("../internals/object-get-own-property-names"),o=t("../internals/object-get-own-property-symbols"),a=t("../internals/an-object");e.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?e.concat(r(t)):e}},{"../internals/an-object":223,"../internals/get-built-in":249,"../internals/object-get-own-property-names":281,"../internals/object-get-own-property-symbols":282}],290:[function(t,e,r){var n=t("../internals/global");e.exports=n},{"../internals/global":251}],291:[function(t,e,r){e.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},{}],292:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/is-object"),o=t("../internals/new-promise-capability");e.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{"../internals/an-object":223,"../internals/is-object":263,"../internals/new-promise-capability":273}],293:[function(t,e,r){var n=t("../internals/redefine");e.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},{"../internals/redefine":294}],294:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/create-non-enumerable-property"),o=t("../internals/has"),a=t("../internals/set-global"),s=t("../internals/inspect-source"),c=t("../internals/internal-state"),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(t,e,r,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof e||o(r,"name")||i(r,"name",e),l(r).source=f.join("string"==typeof e?e:"")),t!==n?(c?!h&&t[e]&&(u=!0):delete t[e],u?t[e]=r:i(t,e,r)):u?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},{"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/has":252,"../internals/inspect-source":258,"../internals/internal-state":259,"../internals/set-global":296}],295:[function(t,e,r){e.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},{}],296:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/create-non-enumerable-property");e.exports=function(t,e){try{i(n,t,e)}catch(r){n[t]=e}return e}},{"../internals/create-non-enumerable-property":236,"../internals/global":251}],297:[function(t,e,r){"use strict";var n=t("../internals/get-built-in"),i=t("../internals/object-define-property"),o=t("../internals/well-known-symbol"),a=t("../internals/descriptors"),s=o("species");e.exports=function(t){var e=n(t),r=i.f;a&&e&&!e[s]&&r(e,s,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":240,"../internals/get-built-in":249,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],298:[function(t,e,r){var n=t("../internals/object-define-property").f,i=t("../internals/has"),o=t("../internals/well-known-symbol")("toStringTag");e.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],299:[function(t,e,r){var n=t("../internals/shared"),i=t("../internals/uid"),o=n("keys");e.exports=function(t){return o[t]||(o[t]=i(t))}},{"../internals/shared":301,"../internals/uid":311}],300:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/set-global"),o=n["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},{"../internals/global":251,"../internals/set-global":296}],301:[function(t,e,r){var n=t("../internals/is-pure"),i=t("../internals/shared-store");(e.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},{"../internals/is-pure":264,"../internals/shared-store":300}],302:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/a-function"),o=t("../internals/well-known-symbol")("species");e.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[o])?e:i(r)}},{"../internals/a-function":219,"../internals/an-object":223,"../internals/well-known-symbol":314}],303:[function(t,e,r){var n,i,o,a=t("../internals/global"),s=t("../internals/fails"),c=t("../internals/classof-raw"),u=t("../internals/function-bind-context"),l=t("../internals/html"),f=t("../internals/document-create-element"),h=t("../internals/engine-is-ios"),d=a.location,p=a.setImmediate,m=a.clearImmediate,b=a.process,v=a.MessageChannel,g=a.Dispatch,y=0,w={},x=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},O=function(t){return function(){x(t)}},_=function(t){x(t.data)},S=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};p&&m||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return w[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(y),y},m=function(t){delete w[t]},"process"==c(b)?n=function(t){b.nextTick(O(t))}:g&&g.now?n=function(t){g.now(O(t))}:v&&!h?(o=(i=new v).port2,i.port1.onmessage=_,n=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(S)||"file:"===d.protocol?n="onreadystatechange"in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),x(t)}}:function(t){setTimeout(O(t),0)}:(n=S,a.addEventListener("message",_,!1))),e.exports={set:p,clear:m}},{"../internals/classof-raw":230,"../internals/document-create-element":241,"../internals/engine-is-ios":242,"../internals/fails":247,"../internals/function-bind-context":248,"../internals/global":251,"../internals/html":255}],304:[function(t,e,r){var n=t("../internals/to-integer"),i=Math.max,o=Math.min;e.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},{"../internals/to-integer":306}],305:[function(t,e,r){var n=t("../internals/indexed-object"),i=t("../internals/require-object-coercible");e.exports=function(t){return n(i(t))}},{"../internals/indexed-object":257,"../internals/require-object-coercible":295}],306:[function(t,e,r){var n=Math.ceil,i=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},{}],307:[function(t,e,r){var n=t("../internals/to-integer"),i=Math.min;e.exports=function(t){return t>0?i(n(t),9007199254740991):0}},{"../internals/to-integer":306}],308:[function(t,e,r){var n=t("../internals/require-object-coercible");e.exports=function(t){return Object(n(t))}},{"../internals/require-object-coercible":295}],309:[function(t,e,r){var n=t("../internals/is-object");e.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":263}],310:[function(t,e,r){var n={};n[t("../internals/well-known-symbol")("toStringTag")]="z",e.exports="[object z]"===String(n)},{"../internals/well-known-symbol":314}],311:[function(t,e,r){var n=0,i=Math.random();e.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},{}],312:[function(t,e,r){var n=t("../internals/native-symbol");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":271}],313:[function(t,e,r){var n=t("../internals/well-known-symbol");r.f=n},{"../internals/well-known-symbol":314}],314:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/shared"),o=t("../internals/has"),a=t("../internals/uid"),s=t("../internals/native-symbol"),c=t("../internals/use-symbol-as-uid"),u=i("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(t){return o(u,t)||(s&&o(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},{"../internals/global":251,"../internals/has":252,"../internals/native-symbol":271,"../internals/shared":301,"../internals/uid":311,"../internals/use-symbol-as-uid":312}],315:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/array-iteration").findIndex,o=t("../internals/add-to-unscopables"),a=t("../internals/array-method-uses-to-length"),s=!0,c=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!c},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},{"../internals/add-to-unscopables":221,"../internals/array-iteration":225,"../internals/array-method-uses-to-length":226,"../internals/export":246}],316:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/array-iteration").find,o=t("../internals/add-to-unscopables"),a=t("../internals/array-method-uses-to-length"),s=!0,c=a("find");"find"in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!c},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},{"../internals/add-to-unscopables":221,"../internals/array-iteration":225,"../internals/array-method-uses-to-length":226,"../internals/export":246}],317:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/array-includes").includes,o=t("../internals/add-to-unscopables");n({target:"Array",proto:!0,forced:!t("../internals/array-method-uses-to-length")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},{"../internals/add-to-unscopables":221,"../internals/array-includes":224,"../internals/array-method-uses-to-length":226,"../internals/export":246}],318:[function(t,e,r){"use strict";var n=t("../internals/to-indexed-object"),i=t("../internals/add-to-unscopables"),o=t("../internals/iterators"),a=t("../internals/internal-state"),s=t("../internals/define-iterator"),c=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(t,e){c(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},{"../internals/add-to-unscopables":221,"../internals/define-iterator":238,"../internals/internal-state":259,"../internals/iterators":268,"../internals/to-indexed-object":305}],319:[function(t,e,r){t("../internals/export")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},{"../internals/export":246}],320:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/object-assign");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},{"../internals/export":246,"../internals/object-assign":275}],321:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/to-object"),o=t("../internals/object-keys");n({target:"Object",stat:!0,forced:t("../internals/fails")((function(){o(1)}))},{keys:function(t){return o(i(t))}})},{"../internals/export":246,"../internals/fails":247,"../internals/object-keys":285,"../internals/to-object":308}],322:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/object-to-array").values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},{"../internals/export":246,"../internals/object-to-array":288}],323:[function(t,e,r){"use strict";var n,i,o,a,s=t("../internals/export"),c=t("../internals/is-pure"),u=t("../internals/global"),l=t("../internals/get-built-in"),f=t("../internals/native-promise-constructor"),h=t("../internals/redefine"),d=t("../internals/redefine-all"),p=t("../internals/set-to-string-tag"),m=t("../internals/set-species"),b=t("../internals/is-object"),v=t("../internals/a-function"),g=t("../internals/an-instance"),y=t("../internals/classof-raw"),w=t("../internals/inspect-source"),x=t("../internals/iterate"),O=t("../internals/check-correctness-of-iteration"),_=t("../internals/species-constructor"),S=t("../internals/task").set,k=t("../internals/microtask"),E=t("../internals/promise-resolve"),M=t("../internals/host-report-errors"),C=t("../internals/new-promise-capability"),j=t("../internals/perform"),A=t("../internals/internal-state"),T=t("../internals/is-forced"),P=t("../internals/well-known-symbol"),D=t("../internals/engine-v8-version"),R=P("species"),L="Promise",I=A.get,N=A.set,F=A.getterFor(L),B=f,z=u.TypeError,H=u.document,U=u.process,W=l("fetch"),q=C.f,V=q,G="process"==y(U),Y=!!(H&&H.createEvent&&u.dispatchEvent),X=T(L,(function(){if(w(B)===String(B)){if(66===D)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!B.prototype.finally)return!0;if(D>=51&&/native code/.test(B))return!1;var t=B.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[R]=e,!(t.then((function(){}))instanceof e)})),$=X||!O((function(t){B.all(t).catch((function(){}))})),K=function(t){var e;return!(!b(t)||"function"!=typeof(e=t.then))&&e},Z=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;k((function(){for(var i=e.value,o=1==e.state,a=0;n.length>a;){var s,c,u,l=n[a++],f=o?l.ok:l.fail,h=l.resolve,d=l.reject,p=l.domain;try{f?(o||(2===e.rejection&&et(t,e),e.rejection=1),!0===f?s=i:(p&&p.enter(),s=f(i),p&&(p.exit(),u=!0)),s===l.promise?d(z("Promise-chain cycle")):(c=K(s))?c.call(s,h,d):h(s)):d(i)}catch(t){p&&!u&&p.exit(),d(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Q(t,e)}))}},J=function(t,e,r){var n,i;Y?((n=H.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},(i=u["on"+t])?i(n):"unhandledrejection"===t&&M("Unhandled promise rejection",r)},Q=function(t,e){S.call(u,(function(){var r,n=e.value;if(tt(e)&&(r=j((function(){G?U.emit("unhandledRejection",n,t):J("unhandledrejection",t,n)})),e.rejection=G||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){S.call(u,(function(){G?U.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(i){t(e,r,i,n)}},nt=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,Z(t,e,!0))},it=function t(e,r,n,i){if(!r.done){r.done=!0,i&&(r=i);try{if(e===n)throw z("Promise can't be resolved itself");var o=K(n);o?k((function(){var i={done:!1};try{o.call(n,rt(t,e,i,r),rt(nt,e,i,r))}catch(n){nt(e,i,n,r)}})):(r.value=n,r.state=1,Z(e,r,!1))}catch(n){nt(e,{done:!1},n,r)}}};X&&(B=function(t){g(this,B,L),v(t),n.call(this);var e=I(this);try{t(rt(it,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){N(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(B.prototype,{then:function(t,e){var r=F(this),n=q(_(this,B));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=G?U.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n,e=I(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(nt,t,e)},C.f=q=function(t){return t===B||t===o?new i(t):V(t)},c||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(t,e){var r=this;return new B((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(B,W.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:X},{Promise:B}),p(B,L,!1,!0),m(L),o=l(L),s({target:L,stat:!0,forced:X},{reject:function(t){var e=q(this);return e.reject.call(void 0,t),e.promise}}),s({target:L,stat:!0,forced:c||X},{resolve:function(t){return E(c&&this===o?B:this,t)}}),s({target:L,stat:!0,forced:$},{all:function(t){var e=this,r=q(e),n=r.resolve,i=r.reject,o=j((function(){var r=v(e.resolve),o=[],a=0,s=1;x(t,(function(t){var c=a++,u=!1;o.push(void 0),s++,r.call(e,t).then((function(t){u||(u=!0,o[c]=t,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(t){var e=this,r=q(e),n=r.reject,i=j((function(){var i=v(e.resolve);x(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},{"../internals/a-function":219,"../internals/an-instance":222,"../internals/check-correctness-of-iteration":229,"../internals/classof-raw":230,"../internals/engine-v8-version":244,"../internals/export":246,"../internals/get-built-in":249,"../internals/global":251,"../internals/host-report-errors":254,"../internals/inspect-source":258,"../internals/internal-state":259,"../internals/is-forced":262,"../internals/is-object":263,"../internals/is-pure":264,"../internals/iterate":266,"../internals/microtask":269,"../internals/native-promise-constructor":270,"../internals/new-promise-capability":273,"../internals/perform":291,"../internals/promise-resolve":292,"../internals/redefine":294,"../internals/redefine-all":293,"../internals/set-species":297,"../internals/set-to-string-tag":298,"../internals/species-constructor":302,"../internals/task":303,"../internals/well-known-symbol":314}],324:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/to-absolute-index"),o=String.fromCharCode,a=String.fromCodePoint;n({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,a=0;n>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}})},{"../internals/export":246,"../internals/to-absolute-index":304}],325:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/not-a-regexp"),o=t("../internals/require-object-coercible");n({target:"String",proto:!0,forced:!t("../internals/correct-is-regexp-logic")("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":233,"../internals/export":246,"../internals/not-a-regexp":274,"../internals/require-object-coercible":295}],326:[function(t,e,r){t("../internals/define-well-known-symbol")("asyncIterator")},{"../internals/define-well-known-symbol":239}],327:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/global"),o=t("../internals/get-built-in"),a=t("../internals/is-pure"),s=t("../internals/descriptors"),c=t("../internals/native-symbol"),u=t("../internals/use-symbol-as-uid"),l=t("../internals/fails"),f=t("../internals/has"),h=t("../internals/is-array"),d=t("../internals/is-object"),p=t("../internals/an-object"),m=t("../internals/to-object"),b=t("../internals/to-indexed-object"),v=t("../internals/to-primitive"),g=t("../internals/create-property-descriptor"),y=t("../internals/object-create"),w=t("../internals/object-keys"),x=t("../internals/object-get-own-property-names"),O=t("../internals/object-get-own-property-names-external"),_=t("../internals/object-get-own-property-symbols"),S=t("../internals/object-get-own-property-descriptor"),k=t("../internals/object-define-property"),E=t("../internals/object-property-is-enumerable"),M=t("../internals/create-non-enumerable-property"),C=t("../internals/redefine"),j=t("../internals/shared"),A=t("../internals/shared-key"),T=t("../internals/hidden-keys"),P=t("../internals/uid"),D=t("../internals/well-known-symbol"),R=t("../internals/well-known-symbol-wrapped"),L=t("../internals/define-well-known-symbol"),I=t("../internals/set-to-string-tag"),N=t("../internals/internal-state"),F=t("../internals/array-iteration").forEach,B=A("hidden"),z=D("toPrimitive"),H=N.set,U=N.getterFor("Symbol"),W=Object.prototype,q=i.Symbol,V=o("JSON","stringify"),G=S.f,Y=k.f,X=O.f,$=E.f,K=j("symbols"),Z=j("op-symbols"),J=j("string-to-symbol-registry"),Q=j("symbol-to-string-registry"),tt=j("wks"),et=i.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=s&&l((function(){return 7!=y(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(W,e);n&&delete W[e],Y(t,e,r),n&&t!==W&&Y(W,e,n)}:Y,it=function(t,e){var r=K[t]=y(q.prototype);return H(r,{type:"Symbol",tag:t,description:e}),s||(r.description=e),r},ot=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},at=function t(e,r,n){e===W&&t(Z,r,n),p(e);var i=v(r,!0);return p(n),f(K,i)?(n.enumerable?(f(e,B)&&e[B][i]&&(e[B][i]=!1),n=y(n,{enumerable:g(0,!1)})):(f(e,B)||Y(e,B,g(1,{})),e[B][i]=!0),nt(e,i,n)):Y(e,i,n)},st=function(t,e){p(t);var r=b(e),n=w(r).concat(ft(r));return F(n,(function(e){s&&!ct.call(r,e)||at(t,e,r[e])})),t},ct=function(t){var e=v(t,!0),r=$.call(this,e);return!(this===W&&f(K,e)&&!f(Z,e))&&(!(r||!f(this,e)||!f(K,e)||f(this,B)&&this[B][e])||r)},ut=function(t,e){var r=b(t),n=v(e,!0);if(r!==W||!f(K,n)||f(Z,n)){var i=G(r,n);return!i||!f(K,n)||f(r,B)&&r[B][n]||(i.enumerable=!0),i}},lt=function(t){var e=X(b(t)),r=[];return F(e,(function(t){f(K,t)||f(T,t)||r.push(t)})),r},ft=function(t){var e=t===W,r=X(e?Z:b(t)),n=[];return F(r,(function(t){!f(K,t)||e&&!f(W,t)||n.push(K[t])})),n};c||(C((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=P(t),r=function t(r){this===W&&t.call(Z,r),f(this,B)&&f(this[B],e)&&(this[B][e]=!1),nt(this,e,g(1,r))};return s&&rt&&nt(W,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return U(this).tag})),C(q,"withoutSetter",(function(t){return it(P(t),t)})),E.f=ct,k.f=at,S.f=ut,x.f=O.f=lt,_.f=ft,R.f=function(t){return it(D(t),t)},s&&(Y(q.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||C(W,"propertyIsEnumerable",ct,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),F(w(tt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(f(J,e))return J[e];var r=q(e);return J[e]=r,Q[r]=e,r},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(f(Q,t))return Q[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?y(t):st(y(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ut}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt,getOwnPropertySymbols:ft}),n({target:"Object",stat:!0,forced:l((function(){_.f(1)}))},{getOwnPropertySymbols:function(t){return _.f(m(t))}}),V&&n({target:"JSON",stat:!0,forced:!c||l((function(){var t=q();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e,(d(e)||void 0!==t)&&!ot(t))return h(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!ot(e))return e}),i[1]=e,V.apply(null,i)}}),q.prototype[z]||M(q.prototype,z,q.prototype.valueOf),I(q,"Symbol"),T[B]=!0},{"../internals/an-object":223,"../internals/array-iteration":225,"../internals/create-non-enumerable-property":236,"../internals/create-property-descriptor":237,"../internals/define-well-known-symbol":239,"../internals/descriptors":240,"../internals/export":246,"../internals/fails":247,"../internals/get-built-in":249,"../internals/global":251,"../internals/has":252,"../internals/hidden-keys":253,"../internals/internal-state":259,"../internals/is-array":261,"../internals/is-object":263,"../internals/is-pure":264,"../internals/native-symbol":271,"../internals/object-create":276,"../internals/object-define-property":278,"../internals/object-get-own-property-descriptor":279,"../internals/object-get-own-property-names":281,"../internals/object-get-own-property-names-external":280,"../internals/object-get-own-property-symbols":282,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/redefine":294,"../internals/set-to-string-tag":298,"../internals/shared":301,"../internals/shared-key":299,"../internals/to-indexed-object":305,"../internals/to-object":308,"../internals/to-primitive":309,"../internals/uid":311,"../internals/use-symbol-as-uid":312,"../internals/well-known-symbol":314,"../internals/well-known-symbol-wrapped":313}],328:[function(t,e,r){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t){return Object.prototype.toString.call(t)}r.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},r.isBoolean=function(t){return"boolean"==typeof t},r.isNull=function(t){return null===t},r.isNullOrUndefined=function(t){return null==t},r.isNumber=function(t){return"number"==typeof t},r.isString=function(t){return"string"==typeof t},r.isSymbol=function(t){return"symbol"===e(t)},r.isUndefined=function(t){return void 0===t},r.isRegExp=function(t){return"[object RegExp]"===n(t)},r.isObject=function(t){return"object"===e(t)&&null!==t},r.isDate=function(t){return"[object Date]"===n(t)},r.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},r.isFunction=function(t){return"function"==typeof t},r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===e(t)||void 0===t},r.isBuffer=t.isBuffer}).call(this,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":388}],329:[function(t,e,r){(function(r){"use strict";var n=t("elliptic"),i=t("bn.js");e.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(t,e,n){Array.isArray(t)||(t=t.toArray());var i=new r(t);if(n&&i.length<n){var o=new r(n-i.length);o.fill(0),i=r.concat([o,i])}return e?i.toString(e):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},a.prototype.computeSecret=function(t,e,n){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),s(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,t)},a.prototype.getPrivateKey=function(t){return s(this.keys.getPrivate(),t)},a.prototype.setPublicKey=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.keys._importPublic(t),this},a.prototype.setPrivateKey=function(t,e){e=e||"utf8",r.isBuffer(t)||(t=new r(t,e));var n=new i(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,t("buffer").Buffer)},{"bn.js":330,buffer:216,elliptic:350}],330:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],331:[function(t,e,r){"use strict";var n=t("inherits"),i=t("md5.js"),o=t("ripemd160"),a=t("sha.js"),s=t("cipher-base");function c(t){s.call(this,"digest"),this._hash=t}n(c,s),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new c(a(t))}},{"cipher-base":218,inherits:387,"md5.js":434,ripemd160:493,"sha.js":499}],332:[function(t,e,r){"use strict";var n=t("md5.js");e.exports=function(t){return(new n).update(t).digest()}},{"md5.js":434}],333:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./legacy"),o=t("cipher-base"),a=t("safe-buffer").Buffer,s=t("create-hash/md5"),c=t("ripemd160"),u=t("sha.js"),l=a.alloc(128);function f(t,e){o.call(this,"digest"),"string"==typeof e&&(e=a.from(e));var r="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>r?e=("rmd160"===t?new c:u(t)).update(e).digest():e.length<r&&(e=a.concat([e,l],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new c:u(t),this._hash.update(n)}n(f,o),f.prototype._update=function(t){this._hash.update(t)},f.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(t).digest()},e.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new f("rmd160",e):"md5"===t?new i(s,e):new f(t,e)}},{"./legacy":334,"cipher-base":218,"create-hash/md5":332,inherits:387,ripemd160:493,"safe-buffer":494,"sha.js":499}],334:[function(t,e,r){"use strict";var n=t("inherits"),i=t("safe-buffer").Buffer,o=t("cipher-base"),a=i.alloc(128);function s(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=i.concat([e,a],64));for(var r=this._ipad=i.allocUnsafe(64),n=this._opad=i.allocUnsafe(64),s=0;s<64;s++)r[s]=54^e[s],n[s]=92^e[s];this._hash=[r]}n(s,o),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},e.exports=s},{"cipher-base":218,inherits:387,"safe-buffer":494}],335:[function(t,e,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=t("randombytes"),r.createHash=r.Hash=t("create-hash"),r.createHmac=r.Hmac=t("create-hmac");var n=t("browserify-sign/algos"),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return o};var a=t("pbkdf2");r.pbkdf2=a.pbkdf2,r.pbkdf2Sync=a.pbkdf2Sync;var s=t("browserify-cipher");r.Cipher=s.Cipher,r.createCipher=s.createCipher,r.Cipheriv=s.Cipheriv,r.createCipheriv=s.createCipheriv,r.Decipher=s.Decipher,r.createDecipher=s.createDecipher,r.Decipheriv=s.Decipheriv,r.createDecipheriv=s.createDecipheriv,r.getCiphers=s.getCiphers,r.listCiphers=s.listCiphers;var c=t("diffie-hellman");r.DiffieHellmanGroup=c.DiffieHellmanGroup,r.createDiffieHellmanGroup=c.createDiffieHellmanGroup,r.getDiffieHellman=c.getDiffieHellman,r.createDiffieHellman=c.createDiffieHellman,r.DiffieHellman=c.DiffieHellman;var u=t("browserify-sign");r.createSign=u.createSign,r.Sign=u.Sign,r.createVerify=u.createVerify,r.Verify=u.Verify,r.createECDH=t("create-ecdh");var l=t("public-encrypt");r.publicEncrypt=l.publicEncrypt,r.privateEncrypt=l.privateEncrypt,r.publicDecrypt=l.publicDecrypt,r.privateDecrypt=l.privateDecrypt;var f=t("randomfill");r.randomFill=f.randomFill,r.randomFillSync=f.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":203,"browserify-sign":211,"browserify-sign/algos":208,"create-ecdh":329,"create-hash":331,"create-hmac":333,"diffie-hellman":345,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],336:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,i){"object"==(void 0===r?"undefined":n(r))&&void 0!==e?e.exports=i():(void 0).dayjs=i()}(0,(function(){var t="millisecond",e="second",r="minute",i="hour",o="day",a="week",s="month",c="quarter",u="year",l="date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,h=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},p={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+d(n,2,"0")+":"+d(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.add(n,s),o=r-i<0,a=e.add(n+(o?-1:1),s);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(n){return{M:s,y:u,w:a,d:o,D:l,h:i,m:r,s:e,ms:t,Q:c}[n]||String(n||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},b="en",v={};v[b]=m;var g=function(t){return t instanceof O},y=function(t,e,r){var n;if(!t)return b;if("string"==typeof t)v[t]&&(n=t),e&&(v[t]=e,n=t);else{var i=t.name;v[i]=t,n=i}return!r&&n&&(b=n),n||!r&&b},w=function(t,e){if(g(t))return t.clone();var r="object"==n(e)?e:{};return r.date=t,r.args=arguments,new O(r)},x=p;x.l=y,x.i=g,x.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var O=function(){function n(t){this.$L=this.$L||y(t.locale,null,!0),this.parse(t)}var d=n.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(f);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return x},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,e){var r=w(t);return this.startOf(e)<=r&&r<=this.endOf(e)},d.isAfter=function(t,e){return w(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<w(t)},d.$g=function(t,e,r){return x.u(t)?this[e]:this.set(r,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,n){var c=this,f=!!x.u(n)||n,h=x.p(t),d=function(t,e){var r=x.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return f?r:r.endOf(o)},p=function(t,e){return x.w(c.toDate()[t].apply(c.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},m=this.$W,b=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case u:return f?d(1,0):d(31,11);case s:return f?d(1,b):d(0,b+1);case a:var y=this.$locale().weekStart||0,w=(m<y?m+7:m)-y;return d(f?v-w:v+(6-w),b);case o:case l:return p(g+"Hours",0);case i:return p(g+"Minutes",1);case r:return p(g+"Seconds",2);case e:return p(g+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(n,a){var c,f=x.p(n),h="set"+(this.$u?"UTC":""),d=(c={},c[o]=h+"Date",c[l]=h+"Date",c[s]=h+"Month",c[u]=h+"FullYear",c[i]=h+"Hours",c[r]=h+"Minutes",c[e]=h+"Seconds",c[t]=h+"Milliseconds",c)[f],p=f===o?this.$D+(a-this.$W):a;if(f===s||f===u){var m=this.clone().set(l,1);m.$d[d](p),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[x.p(t)]()},d.add=function(t,n){var c,l=this;t=Number(t);var f=x.p(n),h=function(e){var r=w(l);return x.w(r.date(r.date()+Math.round(e*t)),l)};if(f===s)return this.set(s,this.$M+t);if(f===u)return this.set(u,this.$y+t);if(f===o)return h(1);if(f===a)return h(7);var d=(c={},c[r]=6e4,c[i]=36e5,c[e]=1e3,c)[f]||1,p=this.$d.getTime()+t*d;return x.w(p,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var r=t||"YYYY-MM-DDTHH:mm:ssZ",n=x.z(this),i=this.$locale(),o=this.$H,a=this.$m,s=this.$M,c=i.weekdays,u=i.months,l=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].substr(0,o)},f=function(t){return x.s(o%12||12,t,"0")},d=i.meridiem||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:x.s(s+1,2,"0"),MMM:l(i.monthsShort,s,u,3),MMMM:l(u,s),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:l(i.weekdaysMin,this.$W,c,2),ddd:l(i.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:x.s(o,2,"0"),h:f(1),hh:f(2),a:d(o,a,!0),A:d(o,a,!1),m:String(a),mm:x.s(a,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:n};return r.replace(h,(function(t,e){return e||p[t]||n.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,n,l){var f,h=x.p(n),d=w(t),p=6e4*(d.utcOffset()-this.utcOffset()),m=this-d,b=x.m(this,d);return b=(f={},f[u]=b/12,f[s]=b,f[c]=b/3,f[a]=(m-p)/6048e5,f[o]=(m-p)/864e5,f[i]=m/36e5,f[r]=m/6e4,f[e]=m/1e3,f)[h]||m,l?b:x.a(b)},d.daysInMonth=function(){return this.endOf(s).$D},d.$locale=function(){return v[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=y(t,e,!0);return n&&(r.$L=n),r},d.clone=function(){return x.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},n}(),_=O.prototype;return w.prototype=_,[["$ms",t],["$s",e],["$m",r],["$H",i],["$W",o],["$M",s],["$y",u],["$D",l]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t(e,O,w),w},w.locale=y,w.isDayjs=g,w.unix=function(t){return w(1e3*t)},w.en=v[b],w.Ls=v,w}))},{}],337:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,i){"object"==(void 0===r?"undefined":n(r))&&void 0!==e?e.exports=i():(void 0).dayjs_plugin_customParseFormat=i()}(0,(function(){var t,e=/(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,n=/\d\d?/,i=/\d*[^\s\d-:/()]+/,o=function(t){return function(e){this[t]=+e}},a=[/[+-]\d\d:?\d\d/,function(t){var e,r;(this.zone||(this.zone={})).offset=0==(r=60*(e=t.match(/([+-]|\d\d)/g))[1]+ +e[2])?0:"+"===e[0]?-r:r}],s=function(e){var r=t[e];return r&&(r.indexOf?r:r.s.concat(r.f))},c={A:[/[AP]M/,function(t){this.afternoon="PM"===t}],a:[/[ap]m/,function(t){this.afternoon="pm"===t}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[r,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[n,o("seconds")],ss:[n,o("seconds")],m:[n,o("minutes")],mm:[n,o("minutes")],H:[n,o("hours")],h:[n,o("hours")],HH:[n,o("hours")],hh:[n,o("hours")],D:[n,o("day")],DD:[r,o("day")],Do:[i,function(e){var r=t.ordinal,n=e.match(/\d+/);if(this.day=n[0],r)for(var i=1;i<=31;i+=1)r(i).replace(/\[|\]/g,"")===e&&(this.day=i)}],M:[n,o("month")],MM:[r,o("month")],MMM:[i,function(t){var e=s("months"),r=(s("monthsShort")||e.map((function(t){return t.substr(0,3)}))).indexOf(t)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[i,function(t){var e=s("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[r,function(t){t=+t,this.year=t+(t>68?1900:2e3)}],YYYY:[/\d{4}/,o("year")],Z:a,ZZ:a},u=function(t,r,n){try{var i=function(t){for(var r=t.match(e),n=r.length,i=0;i<n;i+=1){var o=r[i],a=c[o],s=a&&a[0],u=a&&a[1];r[i]=u?{regex:s,parser:u}:o.replace(/^\[|\]$/g,"")}return function(t){for(var e={},i=0,o=0;i<n;i+=1){var a=r[i];if("string"==typeof a)o+=a.length;else{var s=a.regex,c=a.parser,u=t.substr(o),l=s.exec(u)[0];c.call(e,l),t=t.replace(l,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var r=t.hours;e?r<12&&(t.hours+=12):12===r&&(t.hours=0),delete t.afternoon}}(e),e}}(r)(t),o=i.year,a=i.month,s=i.day,u=i.hours,l=i.minutes,f=i.seconds,h=i.milliseconds,d=i.zone,p=new Date,m=s||(o||a?1:p.getDate()),b=o||p.getFullYear(),v=0;o&&!a||(v=a>0?a-1:p.getMonth());var g=u||0,y=l||0,w=f||0,x=h||0;return d?new Date(Date.UTC(b,v,m,g,y,w,x+60*d.offset*1e3)):n?new Date(Date.UTC(b,v,m,g,y,w,x)):new Date(b,v,m,g,y,w,x)}catch(t){return new Date("")}};return function(e,r,n){var i=r.prototype,o=i.parse;i.parse=function(e){var r=e.date,i=e.utc,a=e.args;this.$u=i;var s=a[1];if("string"==typeof s){var c=!0===a[2],l=!0===a[3],f=c||l,h=a[2];l&&(h=a[2]),c||(t=h?n.Ls[h]:this.$locale()),this.$d=u(r,s,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),f&&r!==this.format(s)&&(this.$d=new Date(""))}else if(s instanceof Array)for(var d=s.length,p=1;p<=d;p+=1){a[1]=s[p-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===d&&(this.$d=new Date(""))}else o.call(this,e)}}}))},{}],338:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;i=function(){return function(t,e,r){var n=(new Date).getTimezoneOffset(),i=e.prototype;r.utc=function(t){return new e({date:t,utc:!0,args:arguments})},i.utc=function(){return r(this.toDate(),{locale:this.$L,utc:!0})},i.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var o=i.parse;i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var a=i.init;i.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else a.call(this)};var s=i.utcOffset;i.utcOffset=function(t,e){var r=this.$utils().u;if(r(t))return this.$u?0:r(this.$offset)?s.call(this):this.$offset;var i=Math.abs(t)<=16?60*t:t,o=this;return e?(o.$offset=i,o.$u=0===t,o):(0!==t?(o=this.local().add(i+n,"minute")).$offset=i:o=this.utc(),o)};var c=i.format;i.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,e)},i.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+n;return this.$d.valueOf()-6e4*t},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var u=i.toDate;i.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var l=i.diff;i.diff=function(t,e,n){var i=this.local(),o=r(t).local();return l.call(i,o,e,n)}}},"object"==(void 0===r?"undefined":n(r))&&void 0!==e?e.exports=i():(void 0).dayjs_plugin_utc=i()},{}],339:[function(t,e,r){"use strict";r.utils=t("./des/utils"),r.Cipher=t("./des/cipher"),r.DES=t("./des/des"),r.CBC=t("./des/cbc"),r.EDE=t("./des/ede")},{"./des/cbc":340,"./des/cipher":341,"./des/des":342,"./des/ede":343,"./des/utils":344}],340:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits"),o={};function a(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}r.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];for(o._update.call(this,a,0,r,n),s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{for(o._update.call(this,t,e,r,n),s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},{inherits:387,"minimalistic-assert":437}],341:[function(t,e,r){"use strict";var n=t("minimalistic-assert");function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var r=Math.min(this.buffer.length-this.bufferOff,t.length-e),n=0;n<r;n++)this.buffer[this.bufferOff+n]=t[e+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,r=0,n=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,r),r+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,r=0,n=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)e+=this._buffer(t,e),r+=this._flushBuffer(i,r);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},{"minimalistic-assert":437}],342:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits"),o=t("./utils"),a=t("./cipher");function s(){this.tmp=new Array(2),this.keys=null}function c(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(c,a),e.exports=c,c.create=function(t){return new c(t)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(r,i,t.tmp,0),r=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=u[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,t.keys,a)}},c.prototype._update=function(t,e,r,n){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},c.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n<t.length;n++)t[n]=r;return!0},c.prototype._unpad=function(t){for(var e=t[t.length-1],r=t.length-e;r<t.length;r++)n.equal(t[r],e);return t.slice(0,t.length-e)},c.prototype._encrypt=function(t,e,r,n,i){for(var a=e,s=r,c=0;c<t.keys.length;c+=2){var u=t.keys[c],l=t.keys[c+1];o.expand(s,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=s;s=(a^o.permute(f))>>>0,a=h}o.rip(s,a,n,i)},c.prototype._decrypt=function(t,e,r,n,i){for(var a=r,s=e,c=t.keys.length-2;c>=0;c-=2){var u=t.keys[c],l=t.keys[c+1];o.expand(a,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=a;a=(s^o.permute(f))>>>0,s=h}o.rip(a,s,n,i)}},{"./cipher":341,"./utils":344,inherits:387,"minimalistic-assert":437}],343:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits"),o=t("./cipher"),a=t("./des");function s(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function c(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(c,o),e.exports=c,c.create=function(t){return new c(t)},c.prototype._update=function(t,e,r,n){var i=this._edeState;i.ciphers[0]._update(t,e,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad},{"./cipher":341,"./des":342,inherits:387,"minimalistic-assert":437}],344:[function(t,e,r){"use strict";r.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},r.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},r.ip=function(t,e,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},r.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,c=0;c<s;c++)o<<=1,o|=t>>>n[c]&1;for(c=s;c<n.length;c++)a<<=1,a|=e>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},r.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(t,e){for(var r=0,n=0;n<4;n++)r<<=4,r|=i[64*n+(t>>>18-6*n&63)];for(n=0;n<4;n++)r<<=4,r|=i[256+64*n+(e>>>18-6*n&63)];return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(t){for(var e=0,r=0;r<o.length;r++)e<<=1,e|=t>>>o[r]&1;return e>>>0},r.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var i=[],o=0;o<e;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},{}],345:[function(t,e,r){(function(e){"use strict";var n=t("./lib/generatePrime"),i=t("./lib/primes.json"),o=t("./lib/dh"),a={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(t){var r=new e(i[t].prime,"hex"),n=new e(i[t].gen,"hex");return new o(r,n)},r.createDiffieHellman=r.DiffieHellman=function t(r,i,s,c){return e.isBuffer(i)||void 0===a[i]?t(r,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new e([2]),e.isBuffer(s)||(s=new e(s,c)),"number"==typeof r?new o(n(r,s),s,!0):(e.isBuffer(r)||(r=new e(r,i)),new o(r,s,!0)))}}).call(this,t("buffer").Buffer)},{"./lib/dh":346,"./lib/generatePrime":347,"./lib/primes.json":348,buffer:216}],346:[function(t,e,r){(function(r){"use strict";var n=t("bn.js"),i=new(t("miller-rabin")),o=new n(24),a=new n(11),s=new n(10),c=new n(3),u=new n(7),l=t("./generatePrime"),f=t("randombytes");function h(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._pub=new n(t),this}function d(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._priv=new n(t),this}e.exports=m;var p={};function m(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=d):this._primeCode=8}function b(t,e){var n=new r(t.toArray());return e?n.toString(e):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in p)return p[n];var f,h=0;if(t.isEven()||!l.simpleSieve||!l.fermatTest(t)||!i.test(t))return h+=1,h+="02"===r||"05"===r?8:4,p[n]=h,h;switch(i.test(t.shrn(1))||(h+=2),r){case"02":t.mod(o).cmp(a)&&(h+=8);break;case"05":(f=t.mod(s)).cmp(c)&&f.cmp(u)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(t){var e=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new r(e.toArray()),o=this.getPrime();if(i.length<o.length){var a=new r(o.length-i.length);a.fill(0),i=r.concat([a,i])}return i},m.prototype.getPublicKey=function(t){return b(this._pub,t)},m.prototype.getPrivateKey=function(t){return b(this._priv,t)},m.prototype.getPrime=function(t){return b(this.__prime,t)},m.prototype.getGenerator=function(t){return b(this._gen,t)},m.prototype.setGenerator=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.__gen=t,this._gen=new n(t),this}}).call(this,t("buffer").Buffer)},{"./generatePrime":347,"bn.js":349,buffer:216,"miller-rabin":435,randombytes:475}],347:[function(t,e,r){"use strict";var n=t("randombytes");e.exports=v,v.simpleSieve=m,v.fermatTest=b;var i=t("bn.js"),o=new i(24),a=new(t("miller-rabin")),s=new i(1),c=new i(2),u=new i(5),l=(new i(16),new i(8),new i(10)),f=new i(3),h=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function m(t){for(var e=function(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<e&&t[i]<=n&&r%t[i]!=0;i++);e!==i&&t[i]<=n||(t[e++]=r)}return p=t,t}(),r=0;r<e.length;r++)if(0===t.modn(e[r]))return 0===t.cmpn(e[r]);return!0}function b(t){var e=i.mont(t);return 0===c.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function v(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var r,p;for(e=new i(e);;){for(r=new i(n(Math.ceil(t/8)));r.bitLength()>t;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(c),e.cmp(c)){if(!e.cmp(u))for(;r.mod(l).cmp(f);)r.iadd(d)}else for(;r.mod(o).cmp(h);)r.iadd(d);if(m(p=r.shrn(1))&&m(r)&&b(p)&&b(r)&&a.test(p)&&a.test(r))return r}}},{"bn.js":349,"miller-rabin":435,randombytes:475}],348:[function(t,e,r){e.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],349:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],350:[function(t,e,r){"use strict";var n=r;n.version=t("../package.json").version,n.utils=t("./elliptic/utils"),n.rand=t("brorand"),n.curve=t("./elliptic/curve"),n.curves=t("./elliptic/curves"),n.ec=t("./elliptic/ec"),n.eddsa=t("./elliptic/eddsa")},{"../package.json":366,"./elliptic/curve":353,"./elliptic/curves":356,"./elliptic/ec":357,"./elliptic/eddsa":360,"./elliptic/utils":364,brorand:184}],351:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("../utils"),o=i.getNAF,a=i.getJSF,s=i.assert;function c(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(t,e){this.curve=t,this.type=e,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(t,e){s(t.precomputed);var r=t._getDoubles(),n=o(e,1,this._bitLength),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;for(var a=[],c=0;c<n.length;c+=r.step){var u=0;for(e=c+r.step-1;e>=c;e--)u=(u<<1)+n[e];a.push(u)}for(var l=this.jpoint(null,null,null),f=this.jpoint(null,null,null),h=i;h>0;h--){for(c=0;c<a.length;c++)(u=a[c])===h?f=f.mixedAdd(r.points[c]):u===-h&&(f=f.mixedAdd(r.points[c].neg()));l=l.add(f)}return l.toP()},c.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(e,r,this._bitLength),c=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(e=0;u>=0&&0===a[u];u--)e++;if(u>=0&&e++,c=c.dblp(e),u<0)break;var l=a[u];s(0!==l),c="affine"===t.type?l>0?c.mixedAdd(i[l-1>>1]):c.mixedAdd(i[-l-1>>1].neg()):l>0?c.add(i[l-1>>1]):c.add(i[-l-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,e,r,n,i){for(var s=this._wnafT1,c=this._wnafT2,u=this._wnafT3,l=0,f=0;f<n;f++){var h=(k=e[f])._getNAFPoints(t);s[f]=h.wnd,c[f]=h.points}for(f=n-1;f>=1;f-=2){var d=f-1,p=f;if(1===s[d]&&1===s[p]){var m=[e[d],null,null,e[p]];0===e[d].y.cmp(e[p].y)?(m[1]=e[d].add(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg())):0===e[d].y.cmp(e[p].y.redNeg())?(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].add(e[p].neg())):(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],v=a(r[d],r[p]);l=Math.max(v[0].length,l),u[d]=new Array(l),u[p]=new Array(l);for(var g=0;g<l;g++){var y=0|v[0][g],w=0|v[1][g];u[d][g]=b[3*(y+1)+(w+1)],u[p][g]=0,c[d]=m}}else u[d]=o(r[d],s[d],this._bitLength),u[p]=o(r[p],s[p],this._bitLength),l=Math.max(u[d].length,l),l=Math.max(u[p].length,l)}var x=this.jpoint(null,null,null),O=this._wnafT4;for(f=l;f>=0;f--){for(var _=0;f>=0;){var S=!0;for(g=0;g<n;g++)O[g]=0|u[g][f],0!==O[g]&&(S=!1);if(!S)break;_++,f--}if(f>=0&&_++,x=x.dblp(_),f<0)break;for(g=0;g<n;g++){var k,E=O[g];0!==E&&(E>0?k=c[g][E-1>>1]:E<0&&(k=c[g][-E-1>>1].neg()),x="affine"===k.type?x.mixedAdd(k):x.add(k))}}for(f=0;f<n;f++)c[f]=null;return i?x:x.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*r)return 6===t[0]?s(t[t.length-1]%2==0):7===t[0]&&s(t[t.length-1]%2==1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(t){return this.encode(t,!0)},u.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},u.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},u.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},u.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},u.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},u.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}},{"../utils":364,"bn.js":365}],352:[function(t,e,r){"use strict";var n=t("../utils"),i=t("bn.js"),o=t("inherits"),a=t("./base"),s=n.assert;function c(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function u(t,e,r,n,o){a.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),e.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(e&&!c||!e&&c)&&(s=s.redNeg()),this.point(t,s)},c.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},o(u,a.BasePoint),c.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},c.prototype.point=function(t,e,r,n){return new u(this,t,e,r,n)},u.fromJSON=function(t,e){return new u(t,e[0],e[1],e[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),c=i.redMul(a),u=o.redMul(s),l=i.redMul(s),f=a.redMul(o);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var t,e,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=(u=this.curve._mulA(i)).redAdd(o);if(this.zOne)t=n.redSub(i).redSub(o).redMul(a.redSub(this.curve.two)),e=a.redMul(u.redSub(o)),r=a.redSqr().redSub(a).redSub(a);else{var s=this.z.redSqr(),c=a.redSub(s).redISub(s);t=n.redSub(i).redISub(o).redMul(c),e=a.redMul(u.redSub(o)),r=a.redMul(c)}}else{var u=i.redAdd(o);s=this.curve._mulC(this.z).redSqr(),c=u.redSub(s).redSub(s),t=this.curve._mulC(n.redISub(u)).redMul(c),e=this.curve._mulC(u).redMul(i.redISub(o)),r=u.redMul(c)}return this.curve.point(t,e,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),c=r.redAdd(e),u=o.redMul(a),l=s.redMul(c),f=o.redMul(c),h=a.redMul(s);return this.curve.point(u,l,h,f)},u.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),u=i.redAdd(s),l=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),f=n.redMul(c).redMul(l);return this.curve.twisted?(e=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=c.redMul(u)):(e=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,e,r)},u.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},u.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},u.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},u.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],353:[function(t,e,r){"use strict";var n=r;n.base=t("./base"),n.short=t("./short"),n.mont=t("./mont"),n.edwards=t("./edwards")},{"./base":351,"./edwards":352,"./mont":354,"./short":355}],354:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("inherits"),o=t("./base"),a=t("../utils");function s(t){o.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,e,r){o.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},i(c,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new c(this,t,e)},s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,e){return new c(t,e[0],e[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),i=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(r),a=i.redMul(n),s=e.z.redMul(o.redAdd(a).redSqr()),c=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],355:[function(t,e,r){"use strict";var n=t("../utils"),i=t("bn.js"),o=t("inherits"),a=t("./base"),s=n.assert;function c(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(t,e,r,n){a.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(t,e,r,n){a.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),e.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(t){for(var e,r,n,o,a,s,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=t,d=this.n.clone(),p=new i(1),m=new i(0),b=new i(0),v=new i(1),g=0;0!==h.cmpn(0);){var y=d.div(h);u=d.sub(y.mul(h)),l=b.sub(y.mul(p));var w=v.sub(y.mul(m));if(!n&&u.cmp(f)<0)e=c.neg(),r=p,n=u.neg(),o=l;else if(n&&2==++g)break;c=u,d=h,h=u,b=p,p=l,v=m,m=w}a=u.neg(),s=l;var x=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(x)>=0&&(a=e,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),c=i.mul(r.b),u=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:c.add(u).neg()}},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],c=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),c=c.neg(!0)),n[2*o]=s,n[2*o+1]=c,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return u},o(u,a.BasePoint),c.prototype.point=function(t,e,r){return new u(this,t,e,r)},c.prototype.pointFromJSON=function(t,e){return u.fromJSON(this,t,e)},u.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(t,e,r){"string"==typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},u.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,a.BasePoint),c.prototype.jpoint=function(t,e,r){return new l(this,t,e,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=n.redMul(u),h=c.redSqr().redIAdd(l).redISub(f).redISub(f),d=c.redMul(f.redISub(h)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,d,p)},l.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),l=r.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),h=s.redMul(l.redISub(f)).redISub(i.redMul(u)),d=this.z.redMul(a);return this.curve.jpoint(f,h,d)},l.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,c=s.redSqr().redSqr(),u=a.redAdd(a);for(r=0;r<t;r++){var l=o.redSqr(),f=u.redSqr(),h=f.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),p=o.redMul(f),m=d.redSqr().redISub(p.redAdd(p)),b=p.redISub(m),v=d.redMul(b);v=v.redIAdd(v).redISub(h);var g=u.redMul(s);r+1<t&&(c=c.redMul(h)),o=m,s=g,u=v}return this.curve.jpoint(o,u.redMul(i),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=c,e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),f=this.y.redSqr(),h=f.redSqr(),d=this.x.redAdd(f).redSqr().redISub(l).redISub(h);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),b=h.redIAdd(h);b=(b=b.redIAdd(b)).redIAdd(b),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(b),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},l.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(a).redISub(a);t=c;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),f=this.y.redSqr(),h=this.x.redMul(f),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(l);var b=f.redSqr();b=(b=(b=b.redIAdd(b)).redIAdd(b)).redIAdd(b),e=d.redMul(p.redISub(t)).redISub(b)}return this.curve.jpoint(t,e,r)},l.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),c=e.redAdd(e),u=(c=c.redIAdd(c)).redMul(a),l=s.redSqr().redISub(u.redAdd(u)),f=u.redISub(l),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=s.redMul(f).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,p)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(c),l=e.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var f=this.x.redMul(s).redISub(l);f=(f=f.redIAdd(f)).redIAdd(f);var h=this.y.redMul(u.redMul(c.redISub(u)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,h,d)},l.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},l.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],356:[function(t,e,r){"use strict";var n,i=r,o=t("hash.js"),a=t("./curve"),s=t("./utils").assert;function c(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new c(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=t("./precomputed/secp256k1")}catch(t){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"./curve":353,"./precomputed/secp256k1":363,"./utils":364,"hash.js":372}],357:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("bn.js"),o=t("hmac-drbg"),a=t("../utils"),s=t("../curves"),c=t("brorand"),u=a.assert,l=t("./key"),f=t("./signature");function h(t){if(!(this instanceof h))return new h(t);"string"==typeof t&&(u(s.hasOwnProperty(t),"Unknown curve "+t),t=s[t]),t instanceof s.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}e.exports=h,h.prototype.keyPair=function(t){return new l(this,t)},h.prototype.keyFromPrivate=function(t,e){return l.fromPrivate(this,t,e)},h.prototype.keyFromPublic=function(t,e){return l.fromPublic(this,t,e)},h.prototype.genKeyPair=function(t){t||(t={});for(var e=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||c(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var a=new i(e.generate(r));if(!(a.cmp(n)>0))return a.iaddn(1),this.keyFromPrivate(a)}},h.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},h.prototype.sign=function(t,e,r,a){"object"===n(r)&&(a=r,r=null),a||(a={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new i(t,16));for(var s=this.n.byteLength(),c=e.getPrivate().toArray("be",s),u=t.toArray("be",s),l=new o({hash:this.hash,entropy:c,nonce:u,pers:a.pers,persEnc:a.persEnc||"utf8"}),h=this.n.sub(new i(1)),d=0;;d++){var p=a.k?a.k(d):new i(l.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(h)>=0)){var m=this.g.mul(p);if(!m.isInfinity()){var b=m.getX(),v=b.umod(this.n);if(0!==v.cmpn(0)){var g=p.invm(this.n).mul(v.mul(e.getPrivate()).iadd(t));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(m.getY().isOdd()?1:0)|(0!==b.cmp(v)?2:0);return a.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new f({r:v,s:g,recoveryParam:y})}}}}}},h.prototype.verify=function(t,e,r,n){t=this._truncateToN(new i(t,16)),r=this.keyFromPublic(r,n);var o=(e=new f(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(t).umod(this.n),l=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),l)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},h.prototype.recoverPubKey=function(t,e,r,n){u((3&r)===r,"The recovery param is more than two bits"),e=new f(e,n);var o=this.n,a=new i(t),s=e.r,c=e.s,l=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),l):this.curve.pointFromX(s,l);var d=e.r.invm(o),p=o.sub(a).mul(d).umod(o),m=c.mul(d).umod(o);return this.g.mulAdd(p,s,m)},h.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new f(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":356,"../utils":364,"./key":358,"./signature":359,"bn.js":365,brorand:184,"hmac-drbg":384}],358:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("../utils").assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}e.exports=o,o.fromPublic=function(t,e,r){return e instanceof o?e:new o(t,{pub:e,pubEnc:r})},o.fromPrivate=function(t,e,r){return e instanceof o?e:new o(t,{priv:e,privEnc:r})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.mul(this.priv).getX()},o.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":364,"bn.js":365}],359:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("../utils"),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function c(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=e.place;o<n;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function u(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e<r;)e++;return 0===e?t:t.slice(e)}function l(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}e.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new s;if(48!==t[r.place++])return!1;var o=c(t,r);if(!1===o)return!1;if(o+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var a=c(t,r);if(!1===a)return!1;var u=t.slice(r.place,a+r.place);if(r.place+=a,2!==t[r.place++])return!1;var l=c(t,r);if(!1===l)return!1;if(t.length!==l+r.place)return!1;var f=t.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=u(e),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,e.length),(n=n.concat(e)).push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,t)}},{"../utils":364,"bn.js":365}],360:[function(t,e,r){"use strict";var n=t("hash.js"),i=t("../curves"),o=t("../utils"),a=o.assert,s=o.parseBytes,c=t("./key"),u=t("./signature");function l(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof l))return new l(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(t,e){t=s(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},l.prototype.verify=function(t,e,r){t=s(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},l.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(t){return c.fromPublic(this,t)},l.prototype.keyFromSecret=function(t){return c.fromSecret(this,t)},l.prototype.makeSignature=function(t){return t instanceof u?t:new u(this,t)},l.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},l.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!=(128&t[e]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},l.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(t){return o.intFromLE(t)},l.prototype.isPoint=function(t){return t instanceof this.pointClass}},{"../curves":356,"../utils":364,"./key":361,"./signature":362,"hash.js":372}],361:[function(t,e,r){"use strict";var n=t("../utils"),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,n=e.slice(0,t.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},s.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},e.exports=s},{"../utils":364}],362:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("bn.js"),o=t("../utils"),a=o.assert,s=o.cachedProperty,c=o.parseBytes;function u(t,e){this.eddsa=t,"object"!==n(e)&&(e=c(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),a(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof i&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}s(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},e.exports=u},{"../utils":364,"bn.js":365}],363:[function(t,e,r){"use strict";e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],364:[function(t,e,r){"use strict";var n=r,i=t("bn.js"),o=t("minimalistic-assert"),a=t("minimalistic-crypto-utils");n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<n.length;a++){var s,c=o.andln(i-1);o.isOdd()?(s=c>(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n=0,i=0;t.cmpn(-n)>0||e.cmpn(-i)>0;){var o,a,s,c=t.andln(3)+n&3,u=e.andln(3)+i&3;3===c&&(c=-1),3===u&&(u=-1),o=0==(1&c)?0:3!==(s=t.andln(7)+n&7)&&5!==s||2!==u?c:-c,r[0].push(o),a=0==(1&u)?0:3!==(s=e.andln(7)+i&7)&&5!==s||2!==c?u:-u,r[1].push(a),2*n===o+1&&(n=1-n),2*i===a+1&&(i=1-i),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new i(t,"hex","le")}},{"bn.js":365,"minimalistic-assert":437,"minimalistic-crypto-utils":438}],365:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],366:[function(t,e,r){e.exports={_from:"elliptic@^6.5.3",_id:"elliptic@6.5.3",_inBundle:!1,_integrity:"sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",_location:"/elliptic",_phantomChildren:{},_requested:{type:"range",registry:!0,raw:"elliptic@^6.5.3",name:"elliptic",escapedName:"elliptic",rawSpec:"^6.5.3",saveSpec:null,fetchSpec:"^6.5.3"},_requiredBy:["/browserify-sign","/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",_shasum:"cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6",_spec:"elliptic@^6.5.3",_where:"/mnt/d/dev/git/exceljs/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"fedor@indutny.com"},bugs:{url:"https://github.com/indutny/elliptic/issues"},bundleDependencies:!1,dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},deprecated:!1,description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^3.0.8",grunt:"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.2",jscs:"^3.0.7",jshint:"^2.10.3",mocha:"^6.2.2"},files:["lib"],homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",name:"elliptic",repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.5.3"}},{}],367:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=Object.create||function(t){var e=function(){};return e.prototype=t,new e},o=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return r},a=Function.prototype.bind||function(t){var e=this;return function(){return e.apply(t,arguments)}};function s(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._maxListeners=void 0;var c,u=10;try{var l={};Object.defineProperty&&Object.defineProperty(l,"x",{value:0}),c=0===l.x}catch(t){c=!1}function f(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function h(t,e,r){if(e)t.call(r);else for(var n=t.length,i=O(t,n),o=0;o<n;++o)i[o].call(r)}function d(t,e,r,n){if(e)t.call(r,n);else for(var i=t.length,o=O(t,i),a=0;a<i;++a)o[a].call(r,n)}function p(t,e,r,n,i){if(e)t.call(r,n,i);else for(var o=t.length,a=O(t,o),s=0;s<o;++s)a[s].call(r,n,i)}function m(t,e,r,n,i,o){if(e)t.call(r,n,i,o);else for(var a=t.length,s=O(t,a),c=0;c<a;++c)s[c].call(r,n,i,o)}function b(t,e,r,n){if(e)t.apply(r,n);else for(var i=t.length,o=O(t,i),a=0;a<i;++a)o[a].apply(r,n)}function v(t,e,r,o){var a,s,c;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((s=t._events)?(s.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),s=t._events),c=s[e]):(s=t._events=i(null),t._eventsCount=0),c){if("function"==typeof c?c=s[e]=o?[r,c]:[c,r]:o?c.unshift(r):c.push(r),!c.warned&&(a=f(t))&&a>0&&c.length>a){c.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+c.length+' "'+String(e)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=c.length,"object"===("undefined"==typeof console?"undefined":n(console))&&console.warn&&console.warn("%s: %s",u.name,u.message)}}else c=s[e]=r,++t._eventsCount;return t}function g(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var t=new Array(arguments.length),e=0;e<t.length;++e)t[e]=arguments[e];this.listener.apply(this.target,t)}}function y(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=a.call(g,n);return i.listener=r,n.wrapFn=i,i}function w(t,e,r){var n=t._events;if(!n)return[];var i=n[e];return i?"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):O(i,i.length):[]}function x(t){var e=this._events;if(e){var r=e[t];if("function"==typeof r)return 1;if(r)return r.length}return 0}function O(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}c?Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t||t<0||t!=t)throw new TypeError('"defaultMaxListeners" must be a positive number');u=t}}):s.defaultMaxListeners=u,s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return f(this)},s.prototype.emit=function(t){var e,r,n,i,o,a,s="error"===t;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(e=arguments[1]),e instanceof Error)throw e;var c=new Error('Unhandled "error" event. ('+e+")");throw c.context=e,c}if(!(r=a[t]))return!1;var u="function"==typeof r;switch(n=arguments.length){case 1:h(r,u,this);break;case 2:d(r,u,this,arguments[1]);break;case 3:p(r,u,this,arguments[1],arguments[2]);break;case 4:m(r,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),o=1;o<n;o++)i[o-1]=arguments[o];b(r,u,this,i)}return!0},s.prototype.addListener=function(t,e){return v(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return v(this,t,e,!0)},s.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,y(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,y(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,o,a,s;if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=i(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,a=r.length-1;a>=0;a--)if(r[a]===e||r[a].listener===e){s=r[a].listener,o=a;break}if(o<0)return this;0===o?r.shift():function(t,e){for(var r=e,n=r+1,i=t.length;n<i;r+=1,n+=1)t[r]=t[n];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),n.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.removeAllListeners=function(t){var e,r,n;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=i(null),this._eventsCount=0):r[t]&&(0==--this._eventsCount?this._events=i(null):delete r[t]),this;if(0===arguments.length){var a,s=o(r);for(n=0;n<s.length;++n)"removeListener"!==(a=s[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=i(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return w(this,t,!0)},s.prototype.rawListeners=function(t){return w(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):x.call(t,e)},s.prototype.listenerCount=x,s.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],368:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("md5.js");e.exports=function(t,e,r,o){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),c=n.alloc(o||0),u=n.alloc(0);a>0||o>0;){var l=new i;l.update(u),l.update(t),e&&l.update(e),u=l.digest();var f=0;if(a>0){var h=s.length-a;f=Math.min(a,u.length),u.copy(s,h,0,f),a-=f}if(f<u.length&&o>0){var d=c.length-o,p=Math.min(o,u.length-f);u.copy(c,d,f,f+p),o-=p}}return u.fill(0),{key:s,iv:c}}},{"md5.js":434,"safe-buffer":494}],369:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("@fast-csv/format");Object.defineProperty(r,"format",{enumerable:!0,get:function(){return n.format}}),Object.defineProperty(r,"write",{enumerable:!0,get:function(){return n.write}}),Object.defineProperty(r,"writeToStream",{enumerable:!0,get:function(){return n.writeToStream}}),Object.defineProperty(r,"writeToBuffer",{enumerable:!0,get:function(){return n.writeToBuffer}}),Object.defineProperty(r,"writeToString",{enumerable:!0,get:function(){return n.writeToString}}),Object.defineProperty(r,"writeToPath",{enumerable:!0,get:function(){return n.writeToPath}}),Object.defineProperty(r,"CsvFormatterStream",{enumerable:!0,get:function(){return n.CsvFormatterStream}}),Object.defineProperty(r,"FormatterOptions",{enumerable:!0,get:function(){return n.FormatterOptions}});var i=t("@fast-csv/parse");Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(r,"parseString",{enumerable:!0,get:function(){return i.parseString}}),Object.defineProperty(r,"parseStream",{enumerable:!0,get:function(){return i.parseStream}}),Object.defineProperty(r,"parseFile",{enumerable:!0,get:function(){return i.parseFile}}),Object.defineProperty(r,"ParserOptions",{enumerable:!0,get:function(){return i.ParserOptions}}),Object.defineProperty(r,"CsvParserStream",{enumerable:!0,get:function(){return i.CsvParserStream}})},{"@fast-csv/format":148,"@fast-csv/parse":152}],370:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("readable-stream").Transform;function o(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t("inherits")(o,i),o.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer")}(t),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));for(var r=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)r[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},{inherits:387,"readable-stream":491,"safe-buffer":371}],371:[function(t,e,r){arguments[4][214][0].apply(r,arguments)},{buffer:216,dup:214}],372:[function(t,e,r){"use strict";var n=r;n.utils=t("./hash/utils"),n.common=t("./hash/common"),n.sha=t("./hash/sha"),n.ripemd=t("./hash/ripemd"),n.hmac=t("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":373,"./hash/hmac":374,"./hash/ripemd":375,"./hash/sha":376,"./hash/utils":383}],373:[function(t,e,r){"use strict";var n=t("./utils"),i=t("minimalistic-assert");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},{"./utils":383,"minimalistic-assert":437}],374:[function(t,e,r){"use strict";var n=t("./utils"),i=t("minimalistic-assert");function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}e.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},{"./utils":383,"minimalistic-assert":437}],375:[function(t,e,r){"use strict";var n=t("./utils"),i=t("./common"),o=n.rotl32,a=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function h(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(l,u),r.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],g=r,y=n,w=i,x=u,O=l,_=0;_<80;_++){var S=a(o(c(r,f(_,n,i,u),t[p[_]+e],h(_)),b[_]),l);r=l,l=u,u=o(i,10),i=n,n=S,S=a(o(c(g,f(79-_,y,w,x),t[m[_]+e],d(_)),v[_]),O),g=O,O=x,x=o(w,10),w=y,y=S}S=s(this.h[1],i,x),this.h[1]=s(this.h[2],u,O),this.h[2]=s(this.h[3],l,g),this.h[3]=s(this.h[4],r,y),this.h[4]=s(this.h[0],n,w),this.h[0]=S},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":373,"./utils":383}],376:[function(t,e,r){"use strict";r.sha1=t("./sha/1"),r.sha224=t("./sha/224"),r.sha256=t("./sha/256"),r.sha384=t("./sha/384"),r.sha512=t("./sha/512")},{"./sha/1":377,"./sha/224":378,"./sha/256":379,"./sha/384":380,"./sha/512":381}],377:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../common"),o=t("./common"),a=n.rotl32,s=n.sum32,c=n.sum32_5,u=o.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,l),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=c(a(i,5),u(p,o,l,h),d,r[n],f[p]);d=h,h=l,l=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],d)},h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":373,"../utils":383,"./common":382}],378:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./256");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},{"../utils":383,"./256":379}],379:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../common"),o=t("./common"),a=t("minimalistic-assert"),s=n.sum32,c=n.sum32_4,u=n.sum32_5,l=o.ch32,f=o.maj32,h=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,b=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}n.inherits(g,b),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=c(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],b=this.h[2],v=this.h[3],g=this.h[4],y=this.h[5],w=this.h[6],x=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var O=u(x,d(g),l(g,y,w),this.k[n],r[n]),_=s(h(i),f(i,o,b));x=w,w=y,y=g,g=s(v,O),v=b,b=o,o=i,i=s(O,_)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],b),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],g),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],x)},g.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":373,"../utils":383,"./common":382,"minimalistic-assert":437}],380:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./512");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},{"../utils":383,"./512":381}],381:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../common"),o=t("minimalistic-assert"),a=n.rotr64_hi,s=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,f=n.sum64_hi,h=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,b=n.sum64_5_lo,v=i.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function w(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function x(t,e,r,n,i,o){var a=e&n^~e&o;return a<0&&(a+=4294967296),a}function O(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function _(t,e,r,n,i,o){var a=e&n^e&o^n&o;return a<0&&(a+=4294967296),a}function S(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function k(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function E(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=4294967296),r}function M(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function C(t,e){var r=a(t,e,1)^a(t,e,8)^c(t,e,7);return r<0&&(r+=4294967296),r}function j(t,e){var r=s(t,e,1)^s(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function A(t,e){var r=a(t,e,19)^a(e,t,29)^c(t,e,6);return r<0&&(r+=4294967296),r}function T(t,e){var r=s(t,e,19)^s(e,t,29)^u(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(y,v),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=A(r[n-4],r[n-3]),o=T(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],c=C(r[n-30],r[n-29]),u=j(r[n-30],r[n-29]),l=r[n-32],f=r[n-31];r[n]=d(i,o,a,s,c,u,l,f),r[n+1]=p(i,o,a,s,c,u,l,f)}},y.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],c=this.h[4],u=this.h[5],d=this.h[6],p=this.h[7],v=this.h[8],g=this.h[9],y=this.h[10],C=this.h[11],j=this.h[12],A=this.h[13],T=this.h[14],P=this.h[15];o(this.k.length===r.length);for(var D=0;D<r.length;D+=2){var R=T,L=P,I=E(v,g),N=M(v,g),F=w(v,0,y,0,j),B=x(0,g,0,C,0,A),z=this.k[D],H=this.k[D+1],U=r[D],W=r[D+1],q=m(R,L,I,N,F,B,z,H,U,W),V=b(R,L,I,N,F,B,z,H,U,W);R=S(n,i),L=k(n,i),I=O(n,0,a,0,c),N=_(0,i,0,s,0,u);var G=f(R,L,I,N),Y=h(R,L,I,N);T=j,P=A,j=y,A=C,y=v,C=g,v=f(d,p,q,V),g=h(p,p,q,V),d=c,p=u,c=a,u=s,a=n,s=i,n=f(q,V,G,Y),i=h(q,V,G,Y)}l(this.h,0,n,i),l(this.h,2,a,s),l(this.h,4,c,u),l(this.h,6,d,p),l(this.h,8,v,g),l(this.h,10,y,C),l(this.h,12,j,A),l(this.h,14,T,P)},y.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":373,"../utils":383,"minimalistic-assert":437}],382:[function(t,e,r){"use strict";var n=t("../utils").rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function a(t,e,r){return t^e^r}r.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?a(e,r,n):2===t?o(e,r,n):void 0},r.ch32=i,r.maj32=o,r.p32=a,r.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},r.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},r.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},r.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},{"../utils":383}],383:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits");function o(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}r.inherits=i,r.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r},r.toHex=function(t){for(var e="",r=0;r<t.length;r++)e+=s(t[r].toString(16));return e},r.htonl=a,r.toHex32=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];"little"===e&&(i=a(i)),r+=c(i.toString(16))}return r},r.zero2=s,r.zero8=c,r.join32=function(t,e,r,i){var o=r-e;n(o%4==0);for(var a=new Array(o/4),s=0,c=e;s<a.length;s++,c+=4){var u;u="big"===i?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c],a[s]=u>>>0}return a},r.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(t,e){return t>>>e|t<<32-e},r.rotl32=function(t,e){return t<<e|t>>>32-e},r.sum32=function(t,e){return t+e>>>0},r.sum32_3=function(t,e,r){return t+e+r>>>0},r.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},r.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},r.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,a=(o<n?1:0)+r+i;t[e]=a>>>0,t[e+1]=o},r.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>0},r.sum64_lo=function(t,e,r,n){return e+n>>>0},r.sum64_4_hi=function(t,e,r,n,i,o,a,s){var c=0,u=e;return c+=(u=u+n>>>0)<e?1:0,c+=(u=u+o>>>0)<o?1:0,t+r+i+a+(c+=(u=u+s>>>0)<s?1:0)>>>0},r.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},r.sum64_5_hi=function(t,e,r,n,i,o,a,s,c,u){var l=0,f=e;return l+=(f=f+n>>>0)<e?1:0,l+=(f=f+o>>>0)<o?1:0,l+=(f=f+s>>>0)<s?1:0,t+r+i+a+c+(l+=(f=f+u>>>0)<u?1:0)>>>0},r.sum64_5_lo=function(t,e,r,n,i,o,a,s,c,u){return e+n+o+s+u>>>0},r.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},r.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},r.shr64_hi=function(t,e,r){return t>>>r},r.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},{inherits:387,"minimalistic-assert":437}],384:[function(t,e,r){"use strict";var n=t("hash.js"),i=t("minimalistic-crypto-utils"),o=t("minimalistic-assert");function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}e.exports=a,a.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,r,n){"string"!=typeof e&&(n=r,r=e,e=null),t=i.toArray(t,e),r=i.toArray(r,n),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},a.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(r),this._reseed++,i.encode(a,e)}},{"hash.js":372,"minimalistic-assert":437,"minimalistic-crypto-utils":438}],385:[function(t,e,r){"use strict";r.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},r.write=function(t,e,r,n,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*c-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+d]=255&a,d+=p,a/=256,u-=8);t[r+d-p]|=128*m}},{}],386:[function(t,r,n){(function(t){"use strict";var e,n,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var o=0,a=new i(l),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),e=function(){s.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)e="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){l(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(l,0)};else{var c=new t.MessageChannel;c.port1.onmessage=l,e=function(){c.port2.postMessage(0)}}var u=[];function l(){var t,e;n=!0;for(var r=u.length;r;){for(e=u,u=[],t=-1;++t<r;)e[t]();r=u.length}n=!1}r.exports=function(t){1!==u.push(t)||n||e()}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],387:[function(t,e,r){"use strict";"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},{}],388:[function(t,e,r){"use strict";function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}e.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},{}],389:[function(t,e,r){"use strict";var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],390:[function(t,e,r){"use strict";var n=t("./utils"),i=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t){for(var e,r,i,a,s,c,u,l=[],f=0,h=t.length,d=h,p="string"!==n.getTypeOf(t);f<t.length;)d=h-f,p?(e=t[f++],r=f<h?t[f++]:0,i=f<h?t[f++]:0):(e=t.charCodeAt(f++),r=f<h?t.charCodeAt(f++):0,i=f<h?t.charCodeAt(f++):0),a=e>>2,s=(3&e)<<4|r>>4,c=d>1?(15&r)<<2|i>>6:64,u=d>2?63&i:64,l.push(o.charAt(a)+o.charAt(s)+o.charAt(c)+o.charAt(u));return l.join("")},r.decode=function(t){var e,r,n,a,s,c,u=0,l=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var f,h=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&h--,t.charAt(t.length-2)===o.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|h):new Array(0|h);u<t.length;)e=o.indexOf(t.charAt(u++))<<2|(a=o.indexOf(t.charAt(u++)))>>4,r=(15&a)<<4|(s=o.indexOf(t.charAt(u++)))>>2,n=(3&s)<<6|(c=o.indexOf(t.charAt(u++))),f[l++]=e,64!==s&&(f[l++]=r),64!==c&&(f[l++]=n);return f}},{"./support":419,"./utils":421}],391:[function(t,e,r){"use strict";var n=t("./external"),i=t("./stream/DataWorker"),o=t("./stream/DataLengthProbe"),a=t("./stream/Crc32Probe");function s(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}o=t("./stream/DataLengthProbe"),s.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new a).pipe(new o("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":395,"./stream/Crc32Probe":414,"./stream/DataLengthProbe":415,"./stream/DataWorker":416}],392:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":396,"./stream/GenericWorker":417}],393:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r,n){var o=i,a=0+r;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,r,n){var o=i,a=0+r;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":421}],394:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],395:[function(t,e,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:425}],396:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),s=n?"uint8array":"array";function c(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(c,a),c.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},c.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(t){return new c("Deflate",t)},r.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":417,"./utils":421,pako:439}],397:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../stream/GenericWorker"),o=t("../utf8"),a=t("../crc32"),s=t("../signature"),c=function(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n},u=function(t,e,r,i,u,l){var f,h,d=t.file,p=t.compression,m=l!==o.utf8encode,b=n.transformTo("string",l(d.name)),v=n.transformTo("string",o.utf8encode(d.name)),g=d.comment,y=n.transformTo("string",l(g)),w=n.transformTo("string",o.utf8encode(g)),x=v.length!==d.name.length,O=w.length!==g.length,_="",S="",k="",E=d.dir,M=d.date,C={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(C.crc32=t.crc32,C.compressedSize=t.compressedSize,C.uncompressedSize=t.uncompressedSize);var j=0;e&&(j|=8),m||!x&&!O||(j|=2048);var A,T,P=0,D=0;E&&(P|=16),"UNIX"===u?(D=798,P|=(T=A=d.unixPermissions,A||(T=E?16893:33204),(65535&T)<<16)):(D=20,P|=63&(d.dosPermissions||0)),f=M.getUTCHours(),f<<=6,f|=M.getUTCMinutes(),f<<=5,f|=M.getUTCSeconds()/2,h=M.getUTCFullYear()-1980,h<<=4,h|=M.getUTCMonth()+1,h<<=5,h|=M.getUTCDate(),x&&(S=c(1,1)+c(a(b),4)+v,_+="up"+c(S.length,2)+S),O&&(k=c(1,1)+c(a(y),4)+w,_+="uc"+c(k.length,2)+k);var R="";return R+="\n\0",R+=c(j,2),R+=p.magic,R+=c(f,2),R+=c(h,2),R+=c(C.crc32,4),R+=c(C.compressedSize,4),R+=c(C.uncompressedSize,4),R+=c(b.length,2),R+=c(_.length,2),{fileRecord:s.LOCAL_FILE_HEADER+R+b+_,dirRecord:s.CENTRAL_FILE_HEADER+c(D,2)+R+c(y.length,2)+"\0\0\0\0"+c(P,4)+c(i,4)+b+_+y}},l=function(t){return s.DATA_DESCRIPTOR+c(t.crc32,4)+c(t.compressedSize,4)+c(t.uncompressedSize,4)};function f(t,e,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(f,i),f.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,i.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},f.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=u(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=u(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:l(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var r=this.bytesWritten-t,i=function(t,e,r,i,o){var a=n.transformTo("string",o(i));return s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(t,2)+c(t,2)+c(e,4)+c(r,4)+c(a.length,2)+a}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},f.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(t){var e=this._sources;if(!i.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},f.prototype.lock=function(){i.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=f},{"../crc32":393,"../signature":412,"../stream/GenericWorker":417,"../utf8":420,"../utils":421}],398:[function(t,e,r){"use strict";var n=t("../compressions"),i=t("./ZipFileWorker");r.generateWorker=function(t,e,r){var o=new i(e.streamFiles,r,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,r){a++;var i=function(t,e){var r=t||e,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,e.compression),s=r.options.compressionOptions||e.compressionOptions||{},c=r.dir,u=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:t,dir:c,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(t){o.error(t)}return o}},{"../compressions":392,"./ZipFileWorker":397}],399:[function(t,e,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var t=new n;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}n.prototype=t("./object"),n.prototype.loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.5.0",n.loadAsync=function(t,e){return(new n).loadAsync(t,e)},n.external=t("./external"),e.exports=n},{"./defaults":394,"./external":395,"./load":400,"./object":404,"./support":419}],400:[function(t,e,r){"use strict";var n=t("./utils"),i=t("./external"),o=t("./utf8"),a=(n=t("./utils"),t("./zipEntries")),s=t("./stream/Crc32Probe"),c=t("./nodejsUtils");function u(t){return new i.Promise((function(e,r){var n=t.decompressed.getContentWorker().pipe(new s);n.on("error",(function(t){r(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var r=this;return e=n.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),c.isNode&&c.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new a(e);return r.load(t),r})).then((function(t){var r=[i.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var o=0;o<n.length;o++)r.push(u(n[o]));return i.Promise.all(r)})).then((function(t){for(var n=t.shift(),i=n.files,o=0;o<i.length;o++){var a=i[o];r.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders})}return n.zipComment.length&&(r.comment=n.zipComment),r}))}},{"./external":395,"./nodejsUtils":403,"./stream/Crc32Probe":414,"./utf8":420,"./utils":421,"./zipEntries":422}],401:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../stream/GenericWorker");function o(t,e){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}n.inherits(o,i),o.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=o},{"../stream/GenericWorker":417,"../utils":421}],402:[function(t,e,r){"use strict";var n=t("readable-stream").Readable;function i(t,e,r){n.call(this,e),this._helper=t;var i=this;t.on("data",(function(t,e){i.push(t)||i._helper.pause(),r&&r(e)})).on("error",(function(t){i.emit("error",t)})).on("end",(function(){i.push(null)}))}t("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},e.exports=i},{"../utils":421,"readable-stream":405}],403:[function(t,e,r){(function(t){"use strict";e.exports={isNode:void 0!==t,newBufferFrom:function(e,r){if(t.from&&t.from!==Uint8Array.from)return t.from(e,r);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,r)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var r=new t(e);return r.fill(0),r},isBuffer:function(e){return t.isBuffer(e)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}}).call(this,t("buffer").Buffer)},{buffer:216}],404:[function(t,e,r){"use strict";var n=t("./utf8"),i=t("./utils"),o=t("./stream/GenericWorker"),a=t("./stream/StreamHelper"),s=t("./defaults"),c=t("./compressedObject"),u=t("./zipObject"),l=t("./generate"),f=t("./nodejsUtils"),h=t("./nodejs/NodejsStreamInputAdapter"),d=function(t,e,r){var n,a=i.getTypeOf(e),l=i.extend(r||{},s);l.date=l.date||new Date,null!==l.compression&&(l.compression=l.compression.toUpperCase()),"string"==typeof l.unixPermissions&&(l.unixPermissions=parseInt(l.unixPermissions,8)),l.unixPermissions&&16384&l.unixPermissions&&(l.dir=!0),l.dosPermissions&&16&l.dosPermissions&&(l.dir=!0),l.dir&&(t=m(t)),l.createFolders&&(n=p(t))&&b.call(this,n,!0);var d,v="string"===a&&!1===l.binary&&!1===l.base64;r&&void 0!==r.binary||(l.binary=!v),(e instanceof c&&0===e.uncompressedSize||l.dir||!e||0===e.length)&&(l.base64=!1,l.binary=!0,e="",l.compression="STORE",a="string"),d=e instanceof c||e instanceof o?e:f.isNode&&f.isStream(e)?new h(t,e):i.prepareContent(t,e,l.binary,l.optimizedBinaryString,l.base64);var g=new u(t,d,l);this.files[t]=g},p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},b=function(t,e){return e=void 0!==e?e:s.createFolders,t=m(t),this.files[t]||d.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function v(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var g={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,n;for(e in this.files)this.files.hasOwnProperty(e)&&(n=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,n))},filter:function(t){var e=[];return this.forEach((function(r,n){t(r,n)&&e.push(n)})),e},file:function(t,e,r){if(1===arguments.length){if(v(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var i=this.files[this.root+t];return i&&!i.dir?i:null}return t=this.root+t,d.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(v(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=b.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(t){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=i.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");i.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var s=r.comment||this.comment||"";e=l.generateWorker(this,r,s)}catch(t){(e=new o("error")).error(t)}return new a(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=g},{"./compressedObject":391,"./defaults":394,"./generate":398,"./nodejs/NodejsStreamInputAdapter":401,"./nodejsUtils":403,"./stream/GenericWorker":417,"./stream/StreamHelper":418,"./utf8":420,"./utils":421,"./zipObject":424}],405:[function(t,e,r){"use strict";e.exports=t("stream")},{stream:506}],406:[function(t,e,r){"use strict";var n=t("./DataReader");function i(t){n.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===e&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./DataReader":407}],407:[function(t,e,r){"use strict";var n=t("../utils");function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":421}],408:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./Uint8ArrayReader":410}],409:[function(t,e,r){"use strict";var n=t("./DataReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./DataReader":407}],410:[function(t,e,r){"use strict";var n=t("./ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./ArrayReader":406}],411:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),c=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new s(t):i.uint8array?new c(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new a(t)}},{"../support":419,"../utils":421,"./ArrayReader":406,"./NodeBufferReader":408,"./StringReader":409,"./Uint8ArrayReader":410}],412:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],413:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":421,"./GenericWorker":417}],414:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":393,"../utils":421,"./GenericWorker":417}],415:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,i),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":421,"./GenericWorker":417}],416:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":421,"./GenericWorker":417}],417:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=n},{}],418:[function(t,e,r){(function(r){"use strict";var n=t("../utils"),i=t("./ConvertWorker"),o=t("./GenericWorker"),a=t("../base64"),s=t("../support"),c=t("../external"),u=null;if(s.nodestream)try{u=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=r,n.checkSupport(a),this._worker=t.pipe(new i(a)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return function(t,e){return new c.Promise((function(i,o){var s=[],c=t._internalType,u=t._outputType,l=t._mimeType;t.on("data",(function(t,r){s.push(t),e&&e(r)})).on("error",(function(t){s=[],o(t)})).on("end",(function(){try{var t=function(t,e,r){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",e),r);case"base64":return a.encode(e);default:return n.transformTo(t,e)}}(u,function(t,e){var n,i=0,o=null,a=0;for(n=0;n<e.length;n++)a+=e[n].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(o=new Uint8Array(a),n=0;n<e.length;n++)o.set(e[n],i),i+=e[n].length;return o;case"nodebuffer":return r.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(c,s),l);i(t)}catch(t){o(t)}s=[]})).resume()}))}(this,t)},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,(function(t){e.call(r,t.data,t.meta)})):this._worker.on(t,(function(){n.delay(e,arguments,r)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=l}).call(this,t("buffer").Buffer)},{"../base64":390,"../external":395,"../nodejs/NodejsStreamOutputAdapter":402,"../support":419,"../utils":421,"./ConvertWorker":413,"./GenericWorker":417,buffer:216}],419:[function(t,e,r){(function(e){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer=void 0!==e,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:"application/zip"}).size}catch(t){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),r.blob=0===i.getBlob("application/zip").size}catch(t){r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch(t){r.nodestream=!1}}).call(this,t("buffer").Buffer)},{buffer:216,"readable-stream":405}],420:[function(t,e,r){"use strict";for(var n=t("./utils"),i=t("./support"),o=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),c=0;c<256;c++)s[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;function u(){a.call(this,"utf-8 decode"),this.leftOver=null}function l(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(t){return i.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var e,r,n,o,a,s=t.length,c=0;for(o=0;o<s;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=i.uint8array?new Uint8Array(c):new Array(c),a=0,o=0;a<c;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e}(t)},r.utf8decode=function(t){return i.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,i,o,a=t.length,c=new Array(2*a);for(r=0,e=0;e<a;)if((i=t[e++])<128)c[r++]=i;else if((o=s[i])>4)c[r++]=65533,e+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&e<a;)i=i<<6|63&t[e++],o--;o>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),n.applyFromCharCode(c)}(t=n.transformTo(i.uint8array?"uint8array":"array",t))},n.inherits(u,a),u.prototype.processChunk=function(t){var e=n.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=e;(e=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),e.set(o,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+s[t[r]]>e?r:e}(e),c=e;a!==e.length&&(i.uint8array?(c=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(c=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:r.utf8decode(c),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(l,a),l.prototype.processChunk=function(t){this.push({data:r.utf8encode(t.data),meta:t.meta})},r.Utf8EncodeWorker=l},{"./nodejsUtils":403,"./stream/GenericWorker":417,"./support":419,"./utils":421}],421:[function(t,e,r){"use strict";var n=t("./support"),i=t("./base64"),o=t("./nodejsUtils"),a=t("set-immediate-shim"),s=t("./external");function c(t){return t}function u(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}r.newBlob=function(t,e){r.checkSupport("blob");try{return new Blob([t],{type:e})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(t,e,r){var n=[],i=0,o=t.length;if(o<=r)return String.fromCharCode.apply(null,t);for(;i<o;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,t.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function f(t){var e=65536,n=r.getTypeOf(t),i=!0;if("uint8array"===n?i=l.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=l.applyCanBeUsed.nodebuffer),i)for(;e>1;)try{return l.stringifyByChunk(t,n,e)}catch(t){e=Math.floor(e/2)}return l.stringifyByChar(t)}function h(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}r.applyFromCharCode=f;var d={};d.string={string:c,array:function(t){return u(t,new Array(t.length))},arraybuffer:function(t){return d.string.uint8array(t).buffer},uint8array:function(t){return u(t,new Uint8Array(t.length))},nodebuffer:function(t){return u(t,o.allocBuffer(t.length))}},d.array={string:f,array:c,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},d.arraybuffer={string:function(t){return f(new Uint8Array(t))},array:function(t){return h(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:c,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},d.uint8array={string:f,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:c,nodebuffer:function(t){return o.newBufferFrom(t)}},d.nodebuffer={string:f,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return d.nodebuffer.uint8array(t).buffer},uint8array:function(t){return h(t,new Uint8Array(t.length))},nodebuffer:c},r.transformTo=function(t,e){if(e||(e=""),!t)return e;r.checkSupport(t);var n=r.getTypeOf(e);return d[n][t](e)},r.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":n.nodebuffer&&o.isBuffer(t)?"nodebuffer":n.uint8array&&t instanceof Uint8Array?"uint8array":n.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(t){if(!n[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(t){var e,r,n="";for(r=0;r<(t||"").length;r++)n+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return n},r.delay=function(t,e,r){a((function(){t.apply(r||null,e||[])}))},r.inherits=function(t,e){var r=function(){};r.prototype=e.prototype,t.prototype=new r},r.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},r.prepareContent=function(t,e,o,a,c){return s.Promise.resolve(e).then((function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new s.Promise((function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){r(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(e){var l,f=r.getTypeOf(e);return f?("arraybuffer"===f?e=r.transformTo("uint8array",e):"string"===f&&(c?e=i.decode(e):o&&!0!==a&&(e=u(l=e,n.uint8array?new Uint8Array(l.length):new Array(l.length)))),e):s.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":390,"./external":395,"./nodejsUtils":403,"./support":419,"set-immediate-shim":497}],422:[function(t,e,r){"use strict";var n=t("./reader/readerFor"),i=t("./utils"),o=t("./signature"),a=t("./zipEntry"),s=(t("./utf8"),t("./support"));function c(t){this.files=[],this.loadOptions=t}c.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(e)+", expected "+i.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",r=i.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=e-r;if(n>0)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=n(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=c},{"./reader/readerFor":411,"./signature":412,"./support":419,"./utf8":420,"./utils":421,"./zipEntry":423}],423:[function(t,e,r){"use strict";var n=t("./reader/readerFor"),i=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),c=t("./compressions"),u=t("./support");function l(t,e){this.options=t,this.loadOptions=e}l.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in c)if(c.hasOwnProperty(e)&&c[e].magic===t)return c[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<i;)e=t.readInt(2),r=t.readInt(2),n=t.readData(r),this.extraFields[e]={id:e,length:r,value:n};t.setIndex(i)},handleUTF8:function(){var t=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var o=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=n(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=n(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=l},{"./compressedObject":391,"./compressions":392,"./crc32":393,"./reader/readerFor":411,"./support":419,"./utf8":420,"./utils":421}],424:[function(t,e,r){"use strict";var n=t("./stream/StreamHelper"),i=t("./stream/DataWorker"),o=t("./utf8"),a=t("./compressedObject"),s=t("./stream/GenericWorker"),c=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};c.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw new Error("No output type specified.");var i="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var a=!this._dataBinary;a&&!i&&(e=e.pipe(new o.Utf8EncodeWorker)),!a&&i&&(e=e.pipe(new o.Utf8DecodeWorker))}catch(t){(e=new s("error")).error(t)}return new n(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof a&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),a.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof s?this._data:new i(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<u.length;f++)c.prototype[u[f]]=l;e.exports=c},{"./compressedObject":391,"./stream/DataWorker":416,"./stream/GenericWorker":417,"./stream/StreamHelper":418,"./utf8":420}],425:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("immediate");function o(){}var a={},s=["REJECTED"],c=["FULFILLED"],u=["PENDING"];function l(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,t!==o&&p(this,t)}function f(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function h(t,e,r){i((function(){var n;try{n=e(r)}catch(e){return a.reject(t,e)}n===t?a.reject(t,new TypeError("Cannot resolve promise with itself")):a.resolve(t,n)}))}function d(t){var e=t&&t.then;if(t&&("object"===n(t)||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function p(t,e){var r=!1;function n(e){r||(r=!0,a.reject(t,e))}function i(e){r||(r=!0,a.resolve(t,e))}var o=m((function(){e(i,n)}));"error"===o.status&&n(o.value)}function m(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}e.exports=l,l.prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(r){return e.resolve(t()).then((function(){return r}))}),(function(r){return e.resolve(t()).then((function(){throw r}))}))},l.prototype.catch=function(t){return this.then(null,t)},l.prototype.then=function(t,e){if("function"!=typeof t&&this.state===c||"function"!=typeof e&&this.state===s)return this;var r=new this.constructor(o);return this.state!==u?h(r,this.state===c?t:e,this.outcome):this.queue.push(new f(r,t,e)),r},f.prototype.callFulfilled=function(t){a.resolve(this.promise,t)},f.prototype.otherCallFulfilled=function(t){h(this.promise,this.onFulfilled,t)},f.prototype.callRejected=function(t){a.reject(this.promise,t)},f.prototype.otherCallRejected=function(t){h(this.promise,this.onRejected,t)},a.resolve=function(t,e){var r=m(d,e);if("error"===r.status)return a.reject(t,r.value);var n=r.value;if(n)p(t,n);else{t.state=c,t.outcome=e;for(var i=-1,o=t.queue.length;++i<o;)t.queue[i].callFulfilled(e)}return t},a.reject=function(t,e){t.state=s,t.outcome=e;for(var r=-1,n=t.queue.length;++r<n;)t.queue[r].callRejected(e);return t},l.resolve=function(t){return t instanceof this?t:a.resolve(new this(o),t)},l.reject=function(t){var e=new this(o);return a.reject(e,t)},l.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);for(var i=new Array(r),s=0,c=-1,u=new this(o);++c<r;)l(t[c],c);return u;function l(t,o){e.resolve(t).then((function(t){i[o]=t,++s!==r||n||(n=!0,a.resolve(u,i))}),(function(t){n||(n=!0,a.reject(u,t))}))}},l.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,r=!1;if(!e)return this.resolve([]);for(var n,i=-1,s=new this(o);++i<e;)n=t[i],this.resolve(n).then((function(t){r||(r=!0,a.resolve(s,t))}),(function(t){r||(r=!0,a.reject(s,t))}));return s}},{immediate:386}],426:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=/[\\^$.*+?()[\]{}|]/g,i=RegExp(n.source),o="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,a="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,s=o||a||Function("return this")(),c=Object.prototype.toString,u=s.Symbol,l=u?u.prototype:void 0,f=l?l.toString:void 0;r.exports=function(t){var r;return(t=null==(r=t)?"":function(t){if("string"==typeof t)return t;if(function(t){return"symbol"==e(t)||function(t){return!!t&&"object"==e(t)}(t)&&"[object Symbol]"==c.call(t)}(t))return f?f.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}(r))&&i.test(t)?t.replace(n,"\\$&"):t}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],427:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i="[object Arguments]",o="[object Map]",a="[object Object]",s="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,l=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[i]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m["[object Function]"]=m[o]=m["[object Number]"]=m[a]=m["[object RegExp]"]=m[s]=m["[object String]"]=m["[object WeakMap]"]=!1;var b="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,g=b||v||Function("return this")(),y="object"==(void 0===n?"undefined":e(n))&&n&&!n.nodeType&&n,w=y&&"object"==(void 0===r?"undefined":e(r))&&r&&!r.nodeType&&r,x=w&&w.exports===y&&b.process,O=function(){try{return x&&x.binding("util")}catch(t){}}(),_=O&&O.isTypedArray;function S(t,e,r,n){for(var i=-1,o=t?t.length:0;++i<o;){var a=t[i];e(n,a,r(a),t)}return n}function k(t,e){for(var r=-1,n=t?t.length:0;++r<n;)if(e(t[r],r,t))return!0;return!1}function E(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function M(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function C(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var j,A,T,P=Array.prototype,D=Function.prototype,R=Object.prototype,L=g["__core-js_shared__"],I=(j=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"",N=D.toString,F=R.hasOwnProperty,B=R.toString,z=RegExp("^"+N.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=g.Symbol,U=g.Uint8Array,W=R.propertyIsEnumerable,q=P.splice,V=(A=Object.keys,T=Object,function(t){return A(T(t))}),G=_t(g,"DataView"),Y=_t(g,"Map"),X=_t(g,"Promise"),$=_t(g,"Set"),K=_t(g,"WeakMap"),Z=_t(Object,"create"),J=Tt(G),Q=Tt(Y),tt=Tt(X),et=Tt($),rt=Tt(K),nt=H?H.prototype:void 0,it=nt?nt.valueOf:void 0,ot=nt?nt.toString:void 0;function at(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function st(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ct(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ut(t){var e=-1,r=t?t.length:0;for(this.__data__=new ct;++e<r;)this.add(t[e])}function lt(t){this.__data__=new st(t)}function ft(t,e){for(var r=t.length;r--;)if(Lt(t[r][0],e))return r;return-1}function ht(t,e,r,n){return pt(t,(function(t,i,o){e(n,t,r(t),o)})),n}at.prototype.clear=function(){this.__data__=Z?Z(null):{}},at.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},at.prototype.get=function(t){var e=this.__data__;if(Z){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return F.call(e,t)?e[t]:void 0},at.prototype.has=function(t){var e=this.__data__;return Z?void 0!==e[t]:F.call(e,t)},at.prototype.set=function(t,e){return this.__data__[t]=Z&&void 0===e?"__lodash_hash_undefined__":e,this},st.prototype.clear=function(){this.__data__=[]},st.prototype.delete=function(t){var e=this.__data__,r=ft(e,t);return!(r<0)&&(r==e.length-1?e.pop():q.call(e,r,1),!0)},st.prototype.get=function(t){var e=this.__data__,r=ft(e,t);return r<0?void 0:e[r][1]},st.prototype.has=function(t){return ft(this.__data__,t)>-1},st.prototype.set=function(t,e){var r=this.__data__,n=ft(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},ct.prototype.clear=function(){this.__data__={hash:new at,map:new(Y||st),string:new at}},ct.prototype.delete=function(t){return Ot(this,t).delete(t)},ct.prototype.get=function(t){return Ot(this,t).get(t)},ct.prototype.has=function(t){return Ot(this,t).has(t)},ct.prototype.set=function(t,e){return Ot(this,t).set(t,e),this},ut.prototype.add=ut.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ut.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.clear=function(){this.__data__=new st},lt.prototype.delete=function(t){return this.__data__.delete(t)},lt.prototype.get=function(t){return this.__data__.get(t)},lt.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof st){var n=r.__data__;if(!Y||n.length<199)return n.push([t,e]),this;r=this.__data__=new ct(n)}return r.set(t,e),this};var dt,pt=(dt=function(t,e){return t&&mt(t,e,Vt)},function(t,e){if(null==t)return t;if(!Ft(t))return dt(t,e);for(var r=t.length,n=-1,i=Object(t);++n<r&&!1!==e(i[n],n,i););return t}),mt=function(t,e,r){for(var n=-1,i=Object(t),o=r(t),a=o.length;a--;){var s=o[++n];if(!1===e(i[s],s,i))break}return t};function bt(t,e){for(var r=0,n=(e=Et(e,t)?[e]:wt(e)).length;null!=t&&r<n;)t=t[At(e[r++])];return r&&r==n?t:void 0}function vt(t,e){return null!=t&&e in Object(t)}function gt(t,e,r,n,c){return t===e||(null==t||null==e||!Ht(t)&&!Ut(e)?t!=t&&e!=e:function(t,e,r,n,c,u){var l=Nt(t),f=Nt(e),h="[object Array]",d="[object Array]";l||(h=(h=St(t))==i?a:h),f||(d=(d=St(e))==i?a:d);var p=h==a&&!E(t),m=d==a&&!E(e),b=h==d;if(b&&!p)return u||(u=new lt),l||qt(t)?xt(t,e,r,n,c,u):function(t,e,r,n,i,a,c){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!n(new U(t),new U(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Lt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case o:var u=M;case s:var l=2&a;if(u||(u=C),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;a|=1,c.set(t,e);var h=xt(u(t),u(e),n,i,a,c);return c.delete(t),h;case"[object Symbol]":if(it)return it.call(t)==it.call(e)}return!1}(t,e,h,r,n,c,u);if(!(2&c)){var v=p&&F.call(t,"__wrapped__"),g=m&&F.call(e,"__wrapped__");if(v||g){var y=v?t.value():t,w=g?e.value():e;return u||(u=new lt),r(y,w,n,c,u)}}return!!b&&(u||(u=new lt),function(t,e,r,n,i,o){var a=2&i,s=Vt(t),c=s.length;if(c!=Vt(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:F.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<c;){var p=t[l=s[u]],m=e[l];if(n)var b=a?n(m,p,l,e,t,o):n(p,m,l,t,e,o);if(!(void 0===b?p===m||r(p,m,n,i,o):b)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(h=!1)}return o.delete(t),o.delete(e),h}(t,e,r,n,c,u))}(t,e,gt,r,n,c))}function yt(t){return"function"==typeof t?t:null==t?Gt:"object"==e(t)?Nt(t)?function(t,e){return Et(t)&&Mt(e)?Ct(At(t),e):function(r){var n=function(t,e,r){var n=null==t?void 0:bt(t,e);return void 0===n?void 0:n}(r,t);return void 0===n&&n===e?function(t,e){return null!=t&&function(t,e,r){for(var n,i=-1,o=(e=Et(e,t)?[e]:wt(e)).length;++i<o;){var a=At(e[i]);if(!(n=null!=t&&r(t,a)))break;t=t[a]}return n||!!(o=t?t.length:0)&&zt(o)&&kt(a,o)&&(Nt(t)||It(t))}(t,e,vt)}(r,t):gt(e,n,void 0,3)}}(t[0],t[1]):function(t){var e=function(t){for(var e=Vt(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,Mt(i)]}return e}(t);return 1==e.length&&e[0][2]?Ct(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,n){var i=r.length,o=i;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var s=(a=r[i])[0],c=t[s],u=a[1];if(a[2]){if(void 0===c&&!(s in t))return!1}else{var l,f=new lt;if(!(void 0===l?gt(u,c,n,3,f):l))return!1}}return!0}(r,0,e)}}(t):Et(r=t)?(n=At(r),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return bt(e,t)}}(r);var r,n}function wt(t){return Nt(t)?t:jt(t)}function xt(t,e,r,n,i,o){var a=2&i,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var l=-1,f=!0,h=1&i?new ut:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var d=t[l],p=e[l];if(n)var m=a?n(p,d,l,e,t,o):n(d,p,l,t,e,o);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!k(e,(function(t,e){if(!h.has(e)&&(d===t||r(d,t,n,i,o)))return h.add(e)}))){f=!1;break}}else if(d!==p&&!r(d,p,n,i,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function Ot(t,r){var n,i,o=t.__data__;return("string"==(i=e(n=r))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function _t(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Ht(t)||function(t){return!!I&&I in t}(t))&&(Bt(t)||E(t)?z:d).test(Tt(t))}(r)?r:void 0}var St=function(t){return B.call(t)};function kt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||p.test(t))&&t>-1&&t%1==0&&t<e}function Et(t,r){if(Nt(t))return!1;var n=e(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Wt(t))||u.test(t)||!c.test(t)||null!=r&&t in Object(r)}function Mt(t){return t==t&&!Ht(t)}function Ct(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}(G&&"[object DataView]"!=St(new G(new ArrayBuffer(1)))||Y&&St(new Y)!=o||X&&"[object Promise]"!=St(X.resolve())||$&&St(new $)!=s||K&&"[object WeakMap]"!=St(new K))&&(St=function(t){var e=B.call(t),r=e==a?t.constructor:void 0,n=r?Tt(r):void 0;if(n)switch(n){case J:return"[object DataView]";case Q:return o;case tt:return"[object Promise]";case et:return s;case rt:return"[object WeakMap]"}return e});var jt=Rt((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Wt(t))return ot?ot.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var r=[];return l.test(t)&&r.push(""),t.replace(f,(function(t,e,n,i){r.push(n?i.replace(h,"$1"):e||t)})),r}));function At(t){if("string"==typeof t||Wt(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Tt(t){if(null!=t){try{return N.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Pt,Dt=(Pt=function(t,e,r){F.call(t,r)?t[r].push(e):t[r]=[e]},function(t,e){var r={};return(Nt(t)?S:ht)(t,Pt,yt(e),r)});function Rt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a),a};return r.cache=new(Rt.Cache||ct),r}function Lt(t,e){return t===e||t!=t&&e!=e}function It(t){return function(t){return Ut(t)&&Ft(t)}(t)&&F.call(t,"callee")&&(!W.call(t,"callee")||B.call(t)==i)}Rt.Cache=ct;var Nt=Array.isArray;function Ft(t){return null!=t&&zt(t.length)&&!Bt(t)}function Bt(t){var e=Ht(t)?B.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function zt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ht(t){var r=e(t);return!!t&&("object"==r||"function"==r)}function Ut(t){return!!t&&"object"==e(t)}function Wt(t){return"symbol"==e(t)||Ut(t)&&"[object Symbol]"==B.call(t)}var qt=_?function(t){return function(e){return t(e)}}(_):function(t){return Ut(t)&&zt(t.length)&&!!m[B.call(t)]};function Vt(t){return Ft(t)?function(t,e){var r=Nt(t)||It(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,i=!!n;for(var o in t)!e&&!F.call(t,o)||i&&("length"==o||kt(o,n))||r.push(o);return r}(t):function(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||R))return V(t);var e,r,n=[];for(var i in Object(t))F.call(t,i)&&"constructor"!=i&&n.push(i);return n}(t)}function Gt(t){return t}r.exports=Dt}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],428:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=Object.prototype.toString;e.exports=function(t){return!0===t||!1===t||function(t){return!!t&&"object"==n(t)}(t)&&"[object Boolean]"==i.call(t)}},{}],429:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i="[object Arguments]",o="[object Map]",a="[object Object]",s="[object Set]",c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[i]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l[o]=l["[object Number]"]=l[a]=l["[object RegExp]"]=l[s]=l["[object String]"]=l["[object WeakMap]"]=!1;var f="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,h="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,d=f||h||Function("return this")(),p="object"==(void 0===n?"undefined":e(n))&&n&&!n.nodeType&&n,m=p&&"object"==(void 0===r?"undefined":e(r))&&r&&!r.nodeType&&r,b=m&&m.exports===p,v=b&&f.process,g=function(){try{return v&&v.binding&&v.binding("util")}catch(t){}}(),y=g&&g.isTypedArray;function w(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function x(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function O(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var _,S,k,E=Array.prototype,M=Function.prototype,C=Object.prototype,j=d["__core-js_shared__"],A=M.toString,T=C.hasOwnProperty,P=(_=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",D=C.toString,R=RegExp("^"+A.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=b?d.Buffer:void 0,I=d.Symbol,N=d.Uint8Array,F=C.propertyIsEnumerable,B=E.splice,z=I?I.toStringTag:void 0,H=Object.getOwnPropertySymbols,U=L?L.isBuffer:void 0,W=(S=Object.keys,k=Object,function(t){return S(k(t))}),q=mt(d,"DataView"),V=mt(d,"Map"),G=mt(d,"Promise"),Y=mt(d,"Set"),X=mt(d,"WeakMap"),$=mt(Object,"create"),K=yt(q),Z=yt(V),J=yt(G),Q=yt(Y),tt=yt(X),et=I?I.prototype:void 0,rt=et?et.valueOf:void 0;function nt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function it(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ot(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function at(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new ot;++e<r;)this.add(t[e])}function st(t){var e=this.__data__=new it(t);this.size=e.size}function ct(t,e){for(var r=t.length;r--;)if(wt(t[r][0],e))return r;return-1}function ut(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":z&&z in Object(t)?function(t){var e=T.call(t,z),r=t[z];try{t[z]=void 0;var n=!0}catch(t){}var i=D.call(t);return n&&(e?t[z]=r:delete t[z]),i}(t):function(t){return D.call(t)}(t)}function lt(t){return Mt(t)&&ut(t)==i}function ft(t,e,r,n,c){return t===e||(null==t||null==e||!Mt(t)&&!Mt(e)?t!=t&&e!=e:function(t,e,r,n,c,u){var l=Ot(t),f=Ot(e),h=l?"[object Array]":vt(t),d=f?"[object Array]":vt(e),p=(h=h==i?a:h)==a,m=(d=d==i?a:d)==a,b=h==d;if(b&&_t(t)){if(!_t(e))return!1;l=!0,p=!1}if(b&&!p)return u||(u=new st),l||Ct(t)?ht(t,e,r,n,c,u):function(t,e,r,n,i,a,c){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new N(t),new N(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return wt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case o:var u=x;case s:var l=1&n;if(u||(u=O),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;n|=2,c.set(t,e);var h=ht(u(t),u(e),n,i,a,c);return c.delete(t),h;case"[object Symbol]":if(rt)return rt.call(t)==rt.call(e)}return!1}(t,e,h,r,n,c,u);if(!(1&r)){var v=p&&T.call(t,"__wrapped__"),g=m&&T.call(e,"__wrapped__");if(v||g){var y=v?t.value():t,w=g?e.value():e;return u||(u=new st),c(y,w,r,n,u)}}return!!b&&(u||(u=new st),function(t,e,r,n,i,o){var a=1&r,s=dt(t),c=s.length;if(c!=dt(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:T.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<c;){var p=t[l=s[u]],m=e[l];if(n)var b=a?n(m,p,l,e,t,o):n(p,m,l,t,e,o);if(!(void 0===b?p===m||i(p,m,r,n,o):b)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(h=!1)}return o.delete(t),o.delete(e),h}(t,e,r,n,c,u))}(t,e,r,n,ft,c))}function ht(t,e,r,n,i,o){var a=1&r,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var l=-1,f=!0,h=2&r?new at:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var d=t[l],p=e[l];if(n)var m=a?n(p,d,l,e,t,o):n(d,p,l,t,e,o);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!w(e,(function(t,e){if(a=e,!h.has(a)&&(d===t||i(d,t,r,n,o)))return h.push(e);var a}))){f=!1;break}}else if(d!==p&&!i(d,p,r,n,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function dt(t){return function(t,e,r){var n=e(t);return Ot(t)?n:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(n,r(t))}(t,jt,bt)}function pt(t,r){var n,i,o=t.__data__;return("string"==(i=e(n=r))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function mt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Et(t)||function(t){return!!P&&P in t}(t))&&(St(t)?R:c).test(yt(t))}(r)?r:void 0}nt.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},nt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},nt.prototype.get=function(t){var e=this.__data__;if($){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return T.call(e,t)?e[t]:void 0},nt.prototype.has=function(t){var e=this.__data__;return $?void 0!==e[t]:T.call(e,t)},nt.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=$&&void 0===e?"__lodash_hash_undefined__":e,this},it.prototype.clear=function(){this.__data__=[],this.size=0},it.prototype.delete=function(t){var e=this.__data__,r=ct(e,t);return!(r<0)&&(r==e.length-1?e.pop():B.call(e,r,1),--this.size,!0)},it.prototype.get=function(t){var e=this.__data__,r=ct(e,t);return r<0?void 0:e[r][1]},it.prototype.has=function(t){return ct(this.__data__,t)>-1},it.prototype.set=function(t,e){var r=this.__data__,n=ct(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this},ot.prototype.clear=function(){this.size=0,this.__data__={hash:new nt,map:new(V||it),string:new nt}},ot.prototype.delete=function(t){var e=pt(this,t).delete(t);return this.size-=e?1:0,e},ot.prototype.get=function(t){return pt(this,t).get(t)},ot.prototype.has=function(t){return pt(this,t).has(t)},ot.prototype.set=function(t,e){var r=pt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},at.prototype.add=at.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},at.prototype.has=function(t){return this.__data__.has(t)},st.prototype.clear=function(){this.__data__=new it,this.size=0},st.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},st.prototype.get=function(t){return this.__data__.get(t)},st.prototype.has=function(t){return this.__data__.has(t)},st.prototype.set=function(t,e){var r=this.__data__;if(r instanceof it){var n=r.__data__;if(!V||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new ot(n)}return r.set(t,e),this.size=r.size,this};var bt=H?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a)&&(o[i++]=a)}return o}(H(t),(function(e){return F.call(t,e)})))}:function(){return[]},vt=ut;function gt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||u.test(t))&&t>-1&&t%1==0&&t<e}function yt(t){if(null!=t){try{return A.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function wt(t,e){return t===e||t!=t&&e!=e}(q&&"[object DataView]"!=vt(new q(new ArrayBuffer(1)))||V&&vt(new V)!=o||G&&"[object Promise]"!=vt(G.resolve())||Y&&vt(new Y)!=s||X&&"[object WeakMap]"!=vt(new X))&&(vt=function(t){var e=ut(t),r=e==a?t.constructor:void 0,n=r?yt(r):"";if(n)switch(n){case K:return"[object DataView]";case Z:return o;case J:return"[object Promise]";case Q:return s;case tt:return"[object WeakMap]"}return e});var xt=lt(function(){return arguments}())?lt:function(t){return Mt(t)&&T.call(t,"callee")&&!F.call(t,"callee")},Ot=Array.isArray,_t=U||function(){return!1};function St(t){if(!Et(t))return!1;var e=ut(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function kt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Et(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}function Mt(t){return null!=t&&"object"==e(t)}var Ct=y?function(t){return function(e){return t(e)}}(y):function(t){return Mt(t)&&kt(t.length)&&!!l[ut(t)]};function jt(t){return null!=(e=t)&&kt(e.length)&&!St(e)?function(t,e){var r=Ot(t),n=!r&&xt(t),i=!r&&!n&&_t(t),o=!r&&!n&&!i&&Ct(t),a=r||n||i||o,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=s.length;for(var u in t)!e&&!T.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||gt(u,c))||s.push(u);return s}(t):function(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||C))return W(t);var e,r,n=[];for(var i in Object(t))T.call(t,i)&&"constructor"!=i&&n.push(i);return n}(t);var e}r.exports=function(t,e){return ft(t,e)}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],430:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,i="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,o=n||i||Function("return this")(),a=Object.prototype,s=a.hasOwnProperty,c=a.toString,u=o.Symbol,l=u?u.toStringTag:void 0;r.exports=function(t){if(!function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}(t))return!1;var r=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?function(t){var e=s.call(t,l),r=t[l];try{t[l]=void 0;var n=!0}catch(t){}var i=c.call(t);return n&&(e?t[l]=r:delete t[l]),i}(t):function(t){return c.call(t)}(t)}(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],431:[function(t,e,r){"use strict";e.exports=function(t){return null==t}},{}],432:[function(t,e,r){"use strict";e.exports=function(t){return void 0===t}},{}],433:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=/^\[object .+?Constructor\]$/,i="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,o="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,a=i||o||Function("return this")();function s(t,e){return!(!t||!t.length)&&function(t,e,r){if(e!=e)return function(t,e,r,n){for(var i=t.length,o=-1;++o<i;)if(e(t[o],o,t))return o;return-1}(t,c);for(var n=-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}(t,e)>-1}function c(t){return t!=t}function u(t,e){return t.has(e)}function l(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var f,h=Array.prototype,d=Function.prototype,p=Object.prototype,m=a["__core-js_shared__"],b=(f=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",v=d.toString,g=p.hasOwnProperty,y=p.toString,w=RegExp("^"+v.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=h.splice,O=P(a,"Map"),_=P(a,"Set"),S=P(Object,"create");function k(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function E(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function M(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function C(t){var e=-1,r=t?t.length:0;for(this.__data__=new M;++e<r;)this.add(t[e])}function j(t,e){for(var r,n,i=t.length;i--;)if((r=t[i][0])===(n=e)||r!=r&&n!=n)return i;return-1}k.prototype.clear=function(){this.__data__=S?S(null):{}},k.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},k.prototype.get=function(t){var e=this.__data__;if(S){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return g.call(e,t)?e[t]:void 0},k.prototype.has=function(t){var e=this.__data__;return S?void 0!==e[t]:g.call(e,t)},k.prototype.set=function(t,e){return this.__data__[t]=S&&void 0===e?"__lodash_hash_undefined__":e,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(t){var e=this.__data__,r=j(e,t);return!(r<0)&&(r==e.length-1?e.pop():x.call(e,r,1),!0)},E.prototype.get=function(t){var e=this.__data__,r=j(e,t);return r<0?void 0:e[r][1]},E.prototype.has=function(t){return j(this.__data__,t)>-1},E.prototype.set=function(t,e){var r=this.__data__,n=j(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},M.prototype.clear=function(){this.__data__={hash:new k,map:new(O||E),string:new k}},M.prototype.delete=function(t){return T(this,t).delete(t)},M.prototype.get=function(t){return T(this,t).get(t)},M.prototype.has=function(t){return T(this,t).has(t)},M.prototype.set=function(t,e){return T(this,t).set(t,e),this},C.prototype.add=C.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},C.prototype.has=function(t){return this.__data__.has(t)};var A=_&&1/l(new _([,-0]))[1]==1/0?function(t){return new _(t)}:function(){};function T(t,r){var n,i,o=t.__data__;return("string"==(i=e(n=r))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function P(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!D(t)||(e=t,b&&b in e))&&(function(t){var e=D(t)?y.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?w:n).test(function(t){if(null!=t){try{return v.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}(r)?r:void 0}function D(t){var r=e(t);return!!t&&("object"==r||"function"==r)}r.exports=function(t){return t&&t.length?function(t,e,r){var n=-1,i=s,o=t.length,a=!0,c=[],f=c;if(o>=200){var h=A(t);if(h)return l(h);a=!1,i=u,f=new C}else f=c;t:for(;++n<o;){var d=t[n],p=d;if(d=0!==d?d:0,a&&p==p){for(var m=f.length;m--;)if(f[m]===p)continue t;c.push(d)}else i(f,p,r)||(f!==c&&f.push(p),c.push(d))}return c}(t):[]}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],434:[function(t,e,r){"use strict";var n=t("inherits"),i=t("hash-base"),o=t("safe-buffer").Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(t,e){return t<<e|t>>>32-e}function u(t,e,r,n,i,o,a){return c(t+(e&r|~e&n)+i+o|0,a)+e|0}function l(t,e,r,n,i,o,a){return c(t+(e&n|r&~n)+i+o|0,a)+e|0}function f(t,e,r,n,i,o,a){return c(t+(e^r^n)+i+o|0,a)+e|0}function h(t,e,r,n,i,o,a){return c(t+(r^(e|~n))+i+o|0,a)+e|0}n(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,t[0],3614090360,7),o=u(o,r,n,i,t[1],3905402710,12),i=u(i,o,r,n,t[2],606105819,17),n=u(n,i,o,r,t[3],3250441966,22),r=u(r,n,i,o,t[4],4118548399,7),o=u(o,r,n,i,t[5],1200080426,12),i=u(i,o,r,n,t[6],2821735955,17),n=u(n,i,o,r,t[7],4249261313,22),r=u(r,n,i,o,t[8],1770035416,7),o=u(o,r,n,i,t[9],2336552879,12),i=u(i,o,r,n,t[10],4294925233,17),n=u(n,i,o,r,t[11],2304563134,22),r=u(r,n,i,o,t[12],1804603682,7),o=u(o,r,n,i,t[13],4254626195,12),i=u(i,o,r,n,t[14],2792965006,17),r=l(r,n=u(n,i,o,r,t[15],1236535329,22),i,o,t[1],4129170786,5),o=l(o,r,n,i,t[6],3225465664,9),i=l(i,o,r,n,t[11],643717713,14),n=l(n,i,o,r,t[0],3921069994,20),r=l(r,n,i,o,t[5],3593408605,5),o=l(o,r,n,i,t[10],38016083,9),i=l(i,o,r,n,t[15],3634488961,14),n=l(n,i,o,r,t[4],3889429448,20),r=l(r,n,i,o,t[9],568446438,5),o=l(o,r,n,i,t[14],3275163606,9),i=l(i,o,r,n,t[3],4107603335,14),n=l(n,i,o,r,t[8],1163531501,20),r=l(r,n,i,o,t[13],2850285829,5),o=l(o,r,n,i,t[2],4243563512,9),i=l(i,o,r,n,t[7],1735328473,14),r=f(r,n=l(n,i,o,r,t[12],2368359562,20),i,o,t[5],4294588738,4),o=f(o,r,n,i,t[8],2272392833,11),i=f(i,o,r,n,t[11],1839030562,16),n=f(n,i,o,r,t[14],4259657740,23),r=f(r,n,i,o,t[1],2763975236,4),o=f(o,r,n,i,t[4],1272893353,11),i=f(i,o,r,n,t[7],4139469664,16),n=f(n,i,o,r,t[10],3200236656,23),r=f(r,n,i,o,t[13],681279174,4),o=f(o,r,n,i,t[0],3936430074,11),i=f(i,o,r,n,t[3],3572445317,16),n=f(n,i,o,r,t[6],76029189,23),r=f(r,n,i,o,t[9],3654602809,4),o=f(o,r,n,i,t[12],3873151461,11),i=f(i,o,r,n,t[15],530742520,16),r=h(r,n=f(n,i,o,r,t[2],3299628645,23),i,o,t[0],4096336452,6),o=h(o,r,n,i,t[7],1126891415,10),i=h(i,o,r,n,t[14],2878612391,15),n=h(n,i,o,r,t[5],4237533241,21),r=h(r,n,i,o,t[12],1700485571,6),o=h(o,r,n,i,t[3],2399980690,10),i=h(i,o,r,n,t[10],4293915773,15),n=h(n,i,o,r,t[1],2240044497,21),r=h(r,n,i,o,t[8],1873313359,6),o=h(o,r,n,i,t[15],4264355552,10),i=h(i,o,r,n,t[6],2734768916,15),n=h(n,i,o,r,t[13],1309151649,21),r=h(r,n,i,o,t[4],4149444226,6),o=h(o,r,n,i,t[11],3174756917,10),i=h(i,o,r,n,t[2],718787259,15),n=h(n,i,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},e.exports=s},{"hash-base":370,inherits:387,"safe-buffer":494}],435:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("brorand");function o(t){this.rand=t||new i.Rand}e.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,e,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),c=0;!s.testn(c);c++);for(var u=t.shrn(c),l=s.toRed(o);e>0;e--){var f=this._randrange(new n(2),s);r&&r(f);var h=f.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(l)){for(var d=1;d<c;d++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(l))break}if(d===c)return!1}}return!0},o.prototype.getDivisor=function(t,e){var r=t.bitLength(),i=n.mont(t),o=new n(1).toRed(i);e||(e=Math.max(1,r/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var c=t.shrn(s),u=a.toRed(i);e>0;e--){var l=this._randrange(new n(2),a),f=t.gcd(l);if(0!==f.cmpn(1))return f;var h=l.toRed(i).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var d=1;d<s;d++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(t);if(0===h.cmp(u))break}if(d===s)return(h=h.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},{"bn.js":436,brorand:184}],436:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],437:[function(t,e,r){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}e.exports=n,n.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},{}],438:[function(t,e,r){"use strict";var n=r;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",r=0;r<t.length;r++)e+=i(t[r].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!=typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16));else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(t,e){return"hex"===e?o(t):t}},{}],439:[function(t,e,r){"use strict";var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":440,"./lib/inflate":441,"./lib/utils/common":442,"./lib/zlib/constants":445}],440:[function(t,e,r){"use strict";var n=t("./zlib/deflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),c=Object.prototype.toString;function u(t){if(!(this instanceof u))return new u(t);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error(a[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var l;if(l="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===c.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=n.deflateSetDictionary(this.strm,l)))throw new Error(a[r]);this._dict_set=!0}}function l(t,e){var r=new u(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}u.prototype.push=function(t,e){var r,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===c.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(r=n.deflate(s,a))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),s.avail_out=0,!0)},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=u,r.deflate=l,r.deflateRaw=function(t,e){return(e=e||{}).raw=!0,l(t,e)},r.gzip=function(t,e){return(e=e||{}).gzip=!0,l(t,e)}},{"./utils/common":442,"./utils/strings":443,"./zlib/deflate":447,"./zlib/messages":452,"./zlib/zstream":454}],441:[function(t,e,r){"use strict";var n=t("./zlib/inflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),c=t("./zlib/zstream"),u=t("./zlib/gzheader"),l=Object.prototype.toString;function f(t){if(!(this instanceof f))return new f(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=o.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=n.inflateSetDictionary(this.strm,e.dictionary))!==a.Z_OK))throw new Error(s[r])}function h(t,e){var r=new f(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}f.prototype.push=function(t,e){var r,s,c,u,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?h.input=o.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?h.input=new Uint8Array(t):h.input=t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===a.Z_BUF_ERROR&&!0===m&&(r=a.Z_OK,m=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==a.Z_STREAM_END&&(0!==h.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(c=o.utf8border(h.output,h.next_out),u=h.next_out-c,f=o.buf2string(h.output,c),h.next_out=u,h.avail_out=d-u,u&&i.arraySet(h.output,h.output,c,u,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(m=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(t){this.chunks.push(t)},f.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=f,r.inflate=h,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,h(t,e)},r.ungzip=h},{"./utils/common":442,"./utils/strings":443,"./zlib/constants":445,"./zlib/gzheader":448,"./zlib/inflate":450,"./zlib/messages":452,"./zlib/zstream":454}],442:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!==n(r))throw new TypeError(r+"must be non-object");for(var i in r)o(r,i)&&(t[i]=r[i])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var a={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),i);else for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){var e,r,n,i,o,a;for(n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(a=new Uint8Array(n),i=0,e=0,r=t.length;e<r;e++)o=t[e],a.set(o,i),i+=o.length;return a}},s={arraySet:function(t,e,r,n,i){for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,a)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,s))},r.setTyped(i)},{}],443:[function(t,e,r){"use strict";var n=t("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(t,e){if(e<65534&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",a=0;a<e;a++)r+=String.fromCharCode(t[a]);return r}a[254]=a[254]=1,r.string2buf=function(t){var e,r,i,o,a,s=t.length,c=0;for(o=0;o<s;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=new n.Buf8(c),a=0,o=0;a<c;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e},r.buf2binstring=function(t){return c(t,t.length)},r.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,i=e.length;r<i;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,n,i,o,s=e||t.length,u=new Array(2*s);for(n=0,r=0;r<s;)if((i=t[r++])<128)u[n++]=i;else if((o=a[i])>4)u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<s;)i=i<<6|63&t[r++],o--;o>1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return c(u,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}},{"./common":442}],444:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+e[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},{}],445:[function(t,e,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],446:[function(t,e,r){"use strict";var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,i){var o=n,a=i+r;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],447:[function(t,e,r){"use strict";var n,i=t("../utils/common"),o=t("./trees"),a=t("./adler32"),s=t("./crc32"),c=t("./messages");function u(t,e){return t.msg=c[e],e}function l(t){return(t<<1)-(t>4?9:0)}function f(t){for(var e=t.length;--e>=0;)t[e]=0}function h(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function d(t,e){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,h(t.strm)}function p(t,e){t.pending_buf[t.pending++]=e}function m(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function b(t,e){var r,n,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,c=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,u=t.window,l=t.w_mask,f=t.prev,h=t.strstart+258,d=u[o+a-1],p=u[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(r=e)+a]===p&&u[r+a-1]===d&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do{}while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<h);if(n=258-(h-o),o=h-258,n>a){if(t.match_start=e,a=n,n>=s)break;d=u[o+a-1],p=u[o+a]}}}while((e=f[e&l])>c&&0!=--i);return a<=t.lookahead?a:t.lookahead}function v(t){var e,r,n,o,c,u,l,f,h,d,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-262)){i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=p?n-p:0}while(--r);e=r=p;do{n=t.prev[--e],t.prev[e]=n>=p?n-p:0}while(--r);o+=p}if(0===t.strm.avail_in)break;if(u=t.strm,l=t.window,f=t.strstart+t.lookahead,h=o,d=void 0,(d=u.avail_in)>h&&(d=h),r=0===d?0:(u.avail_in-=d,i.arraySet(l,u.input,u.next_in,d,f),1===u.state.wrap?u.adler=a(u.adler,l,d,f):2===u.state.wrap&&(u.adler=s(u.adler,l,d,f)),u.next_in+=d,u.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=3)for(c=t.strstart-t.insert,t.ins_h=t.window[c],t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+3-1])&t.hash_mask,t.prev[c&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=c,c++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function g(t,e){for(var r,n;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=b(t,r)),t.match_length>=3)if(n=o._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function y(t,e){for(var r,n,i;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=b(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(d(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=o._tr_tally(t,0,t.window[t.strstart-1]))&&d(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function w(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}function x(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function O(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=0,o._tr_init(e),0):u(t,-2)}function _(t){var e,r=O(t);return 0===r&&((e=t.state).window_size=2*e.w_size,f(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function S(t,e,r,n,o,a){if(!t)return-2;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),o<1||o>9||8!==r||n<8||n>15||e<0||e>9||a<0||a>4)return u(t,-2);8===n&&(n=9);var c=new x;return t.state=c,c.strm=t,c.wrap=s,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=o+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+3-1)/3),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<o+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=e,c.strategy=a,c.method=r,_(t)}n=[new w(0,0,0,0,(function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(v(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,d(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-262&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(d(t,!1),t.strm.avail_out),1)})),new w(4,4,8,4,g),new w(4,5,16,8,g),new w(4,6,32,32,g),new w(4,4,16,16,y),new w(8,16,32,32,y),new w(8,16,128,128,y),new w(8,32,128,256,y),new w(32,128,258,1024,y),new w(32,258,258,4096,y)],r.deflateInit=function(t,e){return S(t,e,8,15,8,0)},r.deflateInit2=S,r.deflateReset=_,r.deflateResetKeep=O,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},r.deflate=function(t,e){var r,i,a,c;if(!t||!t.state||e>5||e<0)return t?u(t,-2):-2;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return u(t,0===t.avail_out?-5:-2);if(i.strm=t,r=i.last_flush,i.last_flush=e,42===i.status)if(2===i.wrap)t.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var b=8+(i.w_bits-8<<4)<<8;b|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(b|=32),b+=31-b%31,i.status=113,m(i,b),0!==i.strstart&&(m(i,t.adler>>>16),m(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),h(t),a=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),h(t),a=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),h(t),a=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===c&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&h(t),i.pending+2<=i.pending_buf_size&&(p(i,255&t.adler),p(i,t.adler>>8&255),t.adler=0,i.status=113)):i.status=113),0!==i.pending){if(h(t),0===t.avail_out)return i.last_flush=-1,0}else if(0===t.avail_in&&l(e)<=l(r)&&4!==e)return u(t,-5);if(666===i.status&&0!==t.avail_in)return u(t,-5);if(0!==t.avail_in||0!==i.lookahead||0!==e&&666!==i.status){var g=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(v(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=258){if(v(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=t.strstart+258;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);t.match_length=258-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=o._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):n[i.level].func(i,e);if(3!==g&&4!==g||(i.status=666),1===g||3===g)return 0===t.avail_out&&(i.last_flush=-1),0;if(2===g&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(f(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),h(t),0===t.avail_out))return i.last_flush=-1,0}return 4!==e?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&t.adler),p(i,t.adler>>8&255),p(i,t.adler>>16&255),p(i,t.adler>>24&255),p(i,255&t.total_in),p(i,t.total_in>>8&255),p(i,t.total_in>>16&255),p(i,t.total_in>>24&255)):(m(i,t.adler>>>16),m(i,65535&t.adler)),h(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},r.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?u(t,-2):(t.state=null,113===e?u(t,-3):0):-2},r.deflateSetDictionary=function(t,e){var r,n,o,s,c,u,l,h,d=e.length;if(!t||!t.state)return-2;if(2===(s=(r=t.state).wrap)||1===s&&42!==r.status||r.lookahead)return-2;for(1===s&&(t.adler=a(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===s&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,e,d-r.w_size,r.w_size,0),e=h,d=r.w_size),c=t.avail_in,u=t.next_in,l=t.input,t.avail_in=d,t.next_in=0,t.input=e,v(r);r.lookahead>=3;){n=r.strstart,o=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--o);r.strstart=n,r.lookahead=2,v(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=u,t.input=l,t.avail_in=c,r.wrap=s,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":442,"./adler32":444,"./crc32":446,"./messages":452,"./trees":453}],448:[function(t,e,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],449:[function(t,e,r){"use strict";e.exports=function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E;r=t.state,n=t.next_in,k=t.input,i=n+(t.avail_in-5),o=t.next_out,E=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),c=r.dmax,u=r.wsize,l=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,m=r.lencode,b=r.distcode,v=(1<<r.lenbits)-1,g=(1<<r.distbits)-1;t:do{p<15&&(d+=k[n++]<<p,p+=8,d+=k[n++]<<p,p+=8),y=m[d&v];e:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))E[o++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=m[(65535&y)+(d&(1<<w)-1)];continue e}if(32&w){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}x=65535&y,(w&=15)&&(p<w&&(d+=k[n++]<<p,p+=8),x+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=k[n++]<<p,p+=8,d+=k[n++]<<p,p+=8),y=b[d&g];r:for(;;){if(d>>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=b[(65535&y)+(d&(1<<w)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(O=65535&y,p<(w&=15)&&(d+=k[n++]<<p,(p+=8)<w&&(d+=k[n++]<<p,p+=8)),(O+=d&(1<<w)-1)>c){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=w,p-=w,O>(w=o-a)){if((w=O-w)>l&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(_=0,S=h,0===f){if(_+=u-w,w<x){x-=w;do{E[o++]=h[_++]}while(--w);_=o-O,S=E}}else if(f<w){if(_+=u+f-w,(w-=f)<x){x-=w;do{E[o++]=h[_++]}while(--w);if(_=0,f<x){x-=w=f;do{E[o++]=h[_++]}while(--w);_=o-O,S=E}}}else if(_+=f-w,w<x){x-=w;do{E[o++]=h[_++]}while(--w);_=o-O,S=E}for(;x>2;)E[o++]=S[_++],E[o++]=S[_++],E[o++]=S[_++],x-=3;x&&(E[o++]=S[_++],x>1&&(E[o++]=S[_++]))}else{_=o-O;do{E[o++]=E[_++],E[o++]=E[_++],E[o++]=E[_++],x-=3}while(x>2);x&&(E[o++]=E[_++],x>1&&(E[o++]=E[_++]))}break}}break}}while(n<i&&o<s);n-=x=p>>3,d&=(1<<(p-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=o<s?s-o+257:257-(o-s),r.hold=d,r.bits=p}},{}],450:[function(t,e,r){"use strict";var n=t("../utils/common"),i=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees");function c(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(852),e.distcode=e.distdyn=new n.Buf32(592),e.sane=1,e.back=-1,0):-2}function f(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,l(t)):-2}function h(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,f(t))):-2}function d(t,e){var r,n;return t?(n=new u,t.state=n,n.window=null,0!==(r=h(t,e))&&(t.state=null),r):-2}var p,m,b=!0;function v(t){if(b){var e;for(p=new n.Buf32(512),m=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,p,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,m,0,t.work,{bits:5}),b=!1}t.lencode=p,t.lenbits=9,t.distcode=m,t.distbits=5}function g(t,e,r,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),i>=a.wsize?(n.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),n.arraySet(a.window,e,r-i,o,a.wnext),(i-=o)?(n.arraySet(a.window,e,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}r.inflateReset=f,r.inflateReset2=h,r.inflateResetKeep=l,r.inflateInit=function(t){return d(t,15)},r.inflateInit2=d,r.inflate=function(t,e){var r,u,l,f,h,d,p,m,b,y,w,x,O,_,S,k,E,M,C,j,A,T,P,D,R=0,L=new n.Buf8(4),I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return-2;12===(r=t.state).mode&&(r.mode=13),h=t.next_out,l=t.output,p=t.avail_out,f=t.next_in,u=t.input,d=t.avail_in,m=r.hold,b=r.bits,y=d,w=p,T=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(2&r.wrap&&35615===m){r.check=0,L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0),m=0,b=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&m)<<8)+(m>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&m)){t.msg="unknown compression method",r.mode=30;break}if(b-=4,A=8+(15&(m>>>=4)),0===r.wbits)r.wbits=A;else if(A>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<A,t.adler=r.check=1,r.mode=512&m?10:12,m=0,b=0;break;case 2:for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(r.flags=m,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=m>>8&1),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0)),m=0,b=0,r.mode=3;case 3:for(;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.head&&(r.head.time=m),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,L[2]=m>>>16&255,L[3]=m>>>24&255,r.check=o(r.check,L,4,0)),m=0,b=0,r.mode=4;case 4:for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.head&&(r.head.xflags=255&m,r.head.os=m>>8),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0)),m=0,b=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.length=m,r.head&&(r.head.extra_len=m),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0)),m=0,b=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((x=r.length)>d&&(x=d),x&&(r.head&&(A=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,u,f,x,A)),512&r.flags&&(r.check=o(r.check,u,x,f)),d-=x,f+=x,r.length-=x),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break t;x=0;do{A=u[f+x++],r.head&&A&&r.length<65536&&(r.head.name+=String.fromCharCode(A))}while(A&&x<d);if(512&r.flags&&(r.check=o(r.check,u,x,f)),d-=x,f+=x,A)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break t;x=0;do{A=u[f+x++],r.head&&A&&r.length<65536&&(r.head.comment+=String.fromCharCode(A))}while(A&&x<d);if(512&r.flags&&(r.check=o(r.check,u,x,f)),d-=x,f+=x,A)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(m!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}m=0,b=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}t.adler=r.check=c(m),m=0,b=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=h,t.avail_out=p,t.next_in=f,t.avail_in=d,r.hold=m,r.bits=b,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){m>>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}switch(r.last=1&m,b-=1,3&(m>>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6===e){m>>>=2,b-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}m>>>=2,b-=2;break;case 14:for(m>>>=7&b,b-=7&b;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if((65535&m)!=(m>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&m,m=0,b=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(x=r.length){if(x>d&&(x=d),x>p&&(x=p),0===x)break t;n.arraySet(l,u,f,x,h),d-=x,f+=x,p-=x,h+=x,r.length-=x;break}r.mode=12;break;case 17:for(;b<14;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(r.nlen=257+(31&m),m>>>=5,b-=5,r.ndist=1+(31&m),m>>>=5,b-=5,r.ncode=4+(15&m),m>>>=4,b-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;b<3;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.lens[I[r.have++]]=7&m,m>>>=3,b-=3}for(;r.have<19;)r.lens[I[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},T=s(0,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,T){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;k=(R=r.lencode[m&(1<<r.lenbits)-1])>>>16&255,E=65535&R,!((S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(E<16)m>>>=S,b-=S,r.lens[r.have++]=E;else{if(16===E){for(D=S+2;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(m>>>=S,b-=S,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}A=r.lens[r.have-1],x=3+(3&m),m>>>=2,b-=2}else if(17===E){for(D=S+3;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}b-=S,A=0,x=3+(7&(m>>>=S)),m>>>=3,b-=3}else{for(D=S+7;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}b-=S,A=0,x=11+(127&(m>>>=S)),m>>>=7,b-=7}if(r.have+x>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;x--;)r.lens[r.have++]=A}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,P={bits:r.lenbits},T=s(1,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,T){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},T=s(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,T){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(d>=6&&p>=258){t.next_out=h,t.avail_out=p,t.next_in=f,t.avail_in=d,r.hold=m,r.bits=b,a(t,w),h=t.next_out,l=t.output,p=t.avail_out,f=t.next_in,u=t.input,d=t.avail_in,m=r.hold,b=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;k=(R=r.lencode[m&(1<<r.lenbits)-1])>>>16&255,E=65535&R,!((S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(k&&0==(240&k)){for(M=S,C=k,j=E;k=(R=r.lencode[j+((m&(1<<M+C)-1)>>M)])>>>16&255,E=65535&R,!(M+(S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}m>>>=M,b-=M,r.back+=M}if(m>>>=S,b-=S,r.back+=S,r.length=E,0===k){r.mode=26;break}if(32&k){r.back=-1,r.mode=12;break}if(64&k){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&k,r.mode=22;case 22:if(r.extra){for(D=r.extra;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.length+=m&(1<<r.extra)-1,m>>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;k=(R=r.distcode[m&(1<<r.distbits)-1])>>>16&255,E=65535&R,!((S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(0==(240&k)){for(M=S,C=k,j=E;k=(R=r.distcode[j+((m&(1<<M+C)-1)>>M)])>>>16&255,E=65535&R,!(M+(S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}m>>>=M,b-=M,r.back+=M}if(m>>>=S,b-=S,r.back+=S,64&k){t.msg="invalid distance code",r.mode=30;break}r.offset=E,r.extra=15&k,r.mode=24;case 24:if(r.extra){for(D=r.extra;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.offset+=m&(1<<r.extra)-1,m>>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break t;if(x=w-p,r.offset>x){if((x=r.offset-x)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}x>r.wnext?(x-=r.wnext,O=r.wsize-x):O=r.wnext-x,x>r.length&&(x=r.length),_=r.window}else _=l,O=h-r.offset,x=r.length;x>p&&(x=p),p-=x,r.length-=x;do{l[h++]=_[O++]}while(--x);0===r.length&&(r.mode=21);break;case 26:if(0===p)break t;l[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===d)break t;d--,m|=u[f++]<<b,b+=8}if(w-=p,t.total_out+=w,r.total+=w,w&&(t.adler=r.check=r.flags?o(r.check,l,w,h-w):i(r.check,l,w,h-w)),w=p,(r.flags?m:c(m))!==r.check){t.msg="incorrect data check",r.mode=30;break}m=0,b=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(m!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}m=0,b=0}r.mode=29;case 29:T=1;break t;case 30:T=-3;break t;case 31:return-4;case 32:default:return-2}return t.next_out=h,t.avail_out=p,t.next_in=f,t.avail_in=d,r.hold=m,r.bits=b,(r.wsize||w!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&g(t,t.output,t.next_out,w-t.avail_out)?(r.mode=31,-4):(y-=t.avail_in,w-=t.avail_out,t.total_in+=y,t.total_out+=w,r.total+=w,r.wrap&&w&&(t.adler=r.check=r.flags?o(r.check,l,w,t.next_out-w):i(r.check,l,w,t.next_out-w)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===y&&0===w||4===e)&&0===T&&(T=-5),T)},r.inflateEnd=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},r.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?-2:(r.head=e,e.done=!1,0):-2},r.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?-2:11===r.mode&&i(1,e,n,0)!==r.check?-3:g(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":442,"./adler32":444,"./crc32":446,"./inffast":449,"./inftrees":451}],451:[function(t,e,r){"use strict";var n=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,c,u,l,f,h){var d,p,m,b,v,g,y,w,x,O=h.bits,_=0,S=0,k=0,E=0,M=0,C=0,j=0,A=0,T=0,P=0,D=null,R=0,L=new n.Buf16(16),I=new n.Buf16(16),N=null,F=0;for(_=0;_<=15;_++)L[_]=0;for(S=0;S<c;S++)L[e[r+S]]++;for(M=O,E=15;E>=1&&0===L[E];E--);if(M>E&&(M=E),0===E)return u[l++]=20971520,u[l++]=20971520,h.bits=1,0;for(k=1;k<E&&0===L[k];k++);for(M<k&&(M=k),A=1,_=1;_<=15;_++)if(A<<=1,(A-=L[_])<0)return-1;if(A>0&&(0===t||1!==E))return-1;for(I[1]=0,_=1;_<15;_++)I[_+1]=I[_]+L[_];for(S=0;S<c;S++)0!==e[r+S]&&(f[I[e[r+S]]++]=S);if(0===t?(D=N=f,g=19):1===t?(D=i,R-=257,N=o,F-=257,g=256):(D=a,N=s,g=-1),P=0,S=0,_=k,v=l,C=M,j=0,m=-1,b=(T=1<<M)-1,1===t&&T>852||2===t&&T>592)return 1;for(;;){y=_-j,f[S]<g?(w=0,x=f[S]):f[S]>g?(w=N[F+f[S]],x=D[R+f[S]]):(w=96,x=0),d=1<<_-j,k=p=1<<C;do{u[v+(P>>j)+(p-=d)]=y<<24|w<<16|x|0}while(0!==p);for(d=1<<_-1;P&d;)d>>=1;if(0!==d?(P&=d-1,P+=d):P=0,S++,0==--L[_]){if(_===E)break;_=e[r+f[S]]}if(_>M&&(P&b)!==m){for(0===j&&(j=M),v+=k,A=1<<(C=_-j);C+j<E&&!((A-=L[C+j])<=0);)C++,A<<=1;if(T+=1<<C,1===t&&T>852||2===t&&T>592)return 1;u[m=P&b]=M<<24|C<<16|v-l|0}}return 0!==P&&(u[v+P]=_-j<<24|64<<16|0),h.bits=M,0}},{"../utils/common":442}],452:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],453:[function(t,e,r){"use strict";var n=t("../utils/common");function i(t){for(var e=t.length;--e>=0;)t[e]=0}var o=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u=new Array(576);i(u);var l=new Array(60);i(l);var f=new Array(512);i(f);var h=new Array(256);i(h);var d=new Array(29);i(d);var p,m,b,v=new Array(30);function g(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function y(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function w(t){return t<256?f[t]:f[256+(t>>>7)]}function x(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function O(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,x(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function _(t,e,r){O(t,r[2*e],r[2*e+1])}function S(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function k(t,e,r){var n,i,o=new Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function M(t){t.bi_valid>8?x(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function C(t,e,r,n){var i=2*e,o=2*r;return t[i]<t[o]||t[i]===t[o]&&n[e]<=n[r]}function j(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&C(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!C(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function A(t,e,r){var n,i,s,c,u=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*u]<<8|t.pending_buf[t.d_buf+2*u+1],i=t.pending_buf[t.l_buf+u],u++,0===n?_(t,i,e):(_(t,(s=h[i])+256+1,e),0!==(c=o[s])&&O(t,i-=d[s],c),_(t,s=w(--n),r),0!==(c=a[s])&&O(t,n-=v[s],c))}while(u<t.last_lit);_(t,256,e)}function T(t,e){var r,n,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,c=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<c;r++)0!==o[2*r]?(t.heap[++t.heap_len]=u=r,t.depth[r]=0):o[2*r+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=u,r=t.heap_len>>1;r>=1;r--)j(t,o,r);i=c;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],j(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*i]=o[2*r]+o[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=i,t.heap[1]=i++,j(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,o,a,s,c=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,m=0;for(o=0;o<=15;o++)t.bl_count[o]=0;for(c[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)(o=c[2*c[2*(n=t.heap[r])+1]+1]+1)>p&&(o=p,m++),c[2*n+1]=o,n>u||(t.bl_count[o]++,a=0,n>=d&&(a=h[n-d]),s=c[2*n],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(l[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(i=t.heap[--r])>u||(c[2*i+1]!==o&&(t.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),n--)}}(t,e),k(o,u,t.bl_count)}function P(t,e,r){var n,i,o=-1,a=e[1],s=0,c=7,u=4;for(0===a&&(c=138,u=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=e[2*(n+1)+1],++s<c&&i===a||(s<u?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(c=138,u=3):i===a?(c=6,u=3):(c=7,u=4))}function D(t,e,r){var n,i,o=-1,a=e[1],s=0,c=7,u=4;for(0===a&&(c=138,u=3),n=0;n<=r;n++)if(i=a,a=e[2*(n+1)+1],!(++s<c&&i===a)){if(s<u)do{_(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(_(t,i,t.bl_tree),s--),_(t,16,t.bl_tree),O(t,s-3,2)):s<=10?(_(t,17,t.bl_tree),O(t,s-3,3)):(_(t,18,t.bl_tree),O(t,s-11,7));s=0,o=i,0===a?(c=138,u=3):i===a?(c=6,u=3):(c=7,u=4)}}i(v);var R=!1;function L(t,e,r,i){O(t,0+(i?1:0),3),function(t,e,r,i){M(t),x(t,r),x(t,~r),n.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r)}r._tr_init=function(t){R||(function(){var t,e,r,n,i,c=new Array(16);for(r=0,n=0;n<28;n++)for(d[n]=r,t=0;t<1<<o[n];t++)h[r++]=n;for(h[r-1]=n,i=0,n=0;n<16;n++)for(v[n]=i,t=0;t<1<<a[n];t++)f[i++]=n;for(i>>=7;n<30;n++)for(v[n]=i<<7,t=0;t<1<<a[n]-7;t++)f[256+i++]=n;for(e=0;e<=15;e++)c[e]=0;for(t=0;t<=143;)u[2*t+1]=8,t++,c[8]++;for(;t<=255;)u[2*t+1]=9,t++,c[9]++;for(;t<=279;)u[2*t+1]=7,t++,c[7]++;for(;t<=287;)u[2*t+1]=8,t++,c[8]++;for(k(u,287,c),t=0;t<30;t++)l[2*t+1]=5,l[2*t]=S(t,5);p=new g(u,o,257,286,15),m=new g(l,a,0,30,15),b=new g(new Array(0),s,0,19,7)}(),R=!0),t.l_desc=new y(t.dyn_ltree,p),t.d_desc=new y(t.dyn_dtree,m),t.bl_desc=new y(t.bl_tree,b),t.bi_buf=0,t.bi_valid=0,E(t)},r._tr_stored_block=L,r._tr_flush_block=function(t,e,r,n){var i,o,a=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),T(t,t.l_desc),T(t,t.d_desc),a=function(t){var e;for(P(t,t.dyn_ltree,t.l_desc.max_code),P(t,t.dyn_dtree,t.d_desc.max_code),T(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*c[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==e?L(t,e,r,n):4===t.strategy||o===i?(O(t,2+(n?1:0),3),A(t,u,l)):(O(t,4+(n?1:0),3),function(t,e,r,n){var i;for(O(t,e-257,5),O(t,r-1,5),O(t,n-4,4),i=0;i<n;i++)O(t,t.bl_tree[2*c[i]+1],3);D(t,t.dyn_ltree,e-1),D(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),A(t,t.dyn_ltree,t.dyn_dtree)),E(t),n&&M(t)},r._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){O(t,2,3),_(t,256,u),function(t){16===t.bi_valid?(x(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":442}],454:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],455:[function(t,e,r){e.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(t,e,r){"use strict";var n=t("asn1.js");r.certificate=t("./certificate");var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));r.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));r.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));r.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));r.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));r.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));r.DSAPrivateKey=l,r.DSAparam=n.define("DSAparam",(function(){this.int()}));var f=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));r.ECPrivateKey=f;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));r.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":457,"asn1.js":167}],457:[function(t,e,r){"use strict";var n=t("asn1.js"),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=n.define("RDNSequence",(function(){this.seqof(c)})),l=n.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),f=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(l),this.key("validity").use(f),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));e.exports=p},{"asn1.js":167}],458:[function(t,e,r){"use strict";var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=t("evp_bytestokey"),s=t("browserify-aes"),c=t("safe-buffer").Buffer;e.exports=function(t,e){var r,u=t.toString(),l=u.match(n);if(l){var f="aes"+l[1],h=c.from(l[2],"hex"),d=c.from(l[3].replace(/[\r\n]/g,""),"base64"),p=a(e,h.slice(0,8),parseInt(l[1],10)).key,m=[],b=s.createDecipheriv(f,p,h);m.push(b.update(d)),m.push(b.final()),r=c.concat(m)}else{var v=u.match(o);r=c.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:r}}},{"browserify-aes":188,evp_bytestokey:368,"safe-buffer":494}],459:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("./asn1"),o=t("./aesid.json"),a=t("./fixProc"),s=t("browserify-aes"),c=t("pbkdf2"),u=t("safe-buffer").Buffer;function l(t){var e;"object"!==n(t)||u.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=u.from(t));var r,l,f=a(t,e),h=f.tag,d=f.data;switch(h){case"CERTIFICATE":l=i.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=i.PublicKey.decode(d,"der")),r=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=i.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":d=function(t,e){var r=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=o[t.algorithm.decrypt.cipher.algo.join(".")],a=t.algorithm.decrypt.cipher.iv,l=t.subjectPrivateKey,f=parseInt(i.split("-")[1],10)/8,h=c.pbkdf2Sync(e,r,n,f,"sha1"),d=s.createDecipheriv(i,h,a),p=[];return p.push(d.update(l)),p.push(d.final()),u.concat(p)}(d=i.EncryptedPrivateKey.decode(d,"der"),e);case"PRIVATE KEY":switch(r=(l=i.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:i.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=i.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=i.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+h)}}e.exports=l,l.signature=i.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":188,pbkdf2:460,"safe-buffer":494}],460:[function(t,e,r){"use strict";r.pbkdf2=t("./lib/async"),r.pbkdf2Sync=t("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(t,r,n){(function(e,n){"use strict";var i,o=t("safe-buffer").Buffer,a=t("./precondition"),s=t("./default-encoding"),c=t("./sync"),u=t("./to-buffer"),l=n.crypto&&n.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(t,e,r,n,i){return l.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return l.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:i}},t,n<<3)})).then((function(t){return o.from(t)}))}r.exports=function(t,r,p,m,b,v){"function"==typeof b&&(v=b,b=void 0);var g=f[(b=b||"sha1").toLowerCase()];if(!g||"function"!=typeof n.Promise)return e.nextTick((function(){var e;try{e=c(t,r,p,m,b)}catch(t){return v(t)}v(null,e)}));if(a(p,m),t=u(t,s,"Password"),r=u(r,s,"Salt"),"function"!=typeof v)throw new Error("No callback provided to pbkdf2");!function(t,r){t.then((function(t){e.nextTick((function(){r(null,t)}))}),(function(t){e.nextTick((function(){r(t)}))}))}(function(t){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==h[t])return h[t];var e=d(i=i||o.alloc(8),i,10,128,t).then((function(){return!0})).catch((function(){return!1}));return h[t]=e,e}(g).then((function(e){return e?d(t,r,p,m,g):c(t,r,p,m,b)})),v)}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,_process:467,"safe-buffer":494}],462:[function(t,e,r){(function(t){"use strict";var r;r=t.browser?"utf-8":t.version?parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",e.exports=r}).call(this,t("_process"))},{_process:467}],463:[function(t,e,r){"use strict";var n=Math.pow(2,30)-1;e.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!=e)throw new TypeError("Bad key length")}},{}],464:[function(t,e,r){"use strict";var n=t("create-hash/md5"),i=t("ripemd160"),o=t("sha.js"),a=t("safe-buffer").Buffer,s=t("./precondition"),c=t("./default-encoding"),u=t("./to-buffer"),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(t,e,r){var s=function(t){return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?n:function(e){return o(t).update(e).digest()}}(t),c="sha512"===t||"sha384"===t?128:64;e.length>c?e=s(e):e.length<c&&(e=a.concat([e,l],c));for(var u=a.allocUnsafe(c+f[t]),h=a.allocUnsafe(c+f[t]),d=0;d<c;d++)u[d]=54^e[d],h[d]=92^e[d];var p=a.allocUnsafe(c+r+4);u.copy(p,0,0,c),this.ipad1=p,this.ipad2=u,this.opad=h,this.alg=t,this.blocksize=c,this.hash=s,this.size=f[t]}h.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(t,e,r,n,i){s(r,n);var o=new h(i=i||"sha1",t=u(t,c,"Password"),(e=u(e,c,"Salt")).length),l=a.allocUnsafe(n),d=a.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=f[i],b=Math.ceil(n/m),v=1;v<=b;v++){d.writeUInt32BE(v,e.length);for(var g=o.run(d,o.ipad1),y=g,w=1;w<r;w++){y=o.run(y,o.ipad2);for(var x=0;x<m;x++)g[x]^=y[x]}g.copy(l,p),p+=m}return l}},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":332,ripemd160:493,"safe-buffer":494,"sha.js":499}],465:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;e.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"==typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(t,e,r){(function(t){"use strict";void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick((function(){e.apply(null,o)}))}}}:e.exports=t}).call(this,t("_process"))},{_process:467}],467:[function(t,e,r){"use strict";var n,i,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}}();var u,l=[],f=!1,h=-1;function d(){f&&u&&(f=!1,u.length?l=u.concat(l):h=-1,l.length&&p())}function p(){if(!f){var t=c(d);f=!0;for(var e=l.length;e;){for(u=l,l=[];++h<e;)u&&u[h].run();h=-1,e=l.length}u=null,f=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function b(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new m(t,e)),1!==l.length||f||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],468:[function(t,e,r){"use strict";r.publicEncrypt=t("./publicEncrypt"),r.privateDecrypt=t("./privateDecrypt"),r.privateEncrypt=function(t,e){return r.publicEncrypt(t,e,!0)},r.publicDecrypt=function(t,e){return r.privateDecrypt(t,e,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(t,e,r){"use strict";var n=t("create-hash"),i=t("safe-buffer").Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}e.exports=function(t,e){for(var r,a=i.alloc(0),s=0;a.length<e;)r=o(s++),a=i.concat([a,n("sha1").update(t).update(r).digest()]);return a.slice(0,e)}},{"create-hash":331,"safe-buffer":494}],470:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],471:[function(t,e,r){"use strict";var n=t("parse-asn1"),i=t("./mgf"),o=t("./xor"),a=t("bn.js"),s=t("browserify-rsa"),c=t("create-hash"),u=t("./withPublic"),l=t("safe-buffer").Buffer;e.exports=function(t,e,r){var f;f=t.padding?t.padding:r?1:4;var h,d=n(t),p=d.modulus.byteLength();if(e.length>p||new a(e).cmp(d.modulus)>=0)throw new Error("decryption error");h=r?u(new a(e),d):s(e,d);var m=l.alloc(p-h.length);if(h=l.concat([m,h],p),4===f)return function(t,e){var r=t.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),a=n.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),u=e.slice(a+1),f=o(s,i(u,a)),h=o(u,i(f,r-a-1));if(function(t,e){t=l.from(t),e=l.from(e);var r=0,n=t.length;t.length!==e.length&&(r++,n=Math.min(t.length,e.length));for(var i=-1;++i<n;)r+=t[i]^e[i];return r}(n,h.slice(0,a)))throw new Error("decryption error");for(var d=a;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}(d,h);if(1===f)return function(t,e,r){for(var n=e.slice(0,2),i=2,o=0;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return e.slice(i)}(0,h,r);if(3===f)return h;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":206,"create-hash":331,"parse-asn1":459,"safe-buffer":494}],472:[function(t,e,r){"use strict";var n=t("parse-asn1"),i=t("randombytes"),o=t("create-hash"),a=t("./mgf"),s=t("./xor"),c=t("bn.js"),u=t("./withPublic"),l=t("browserify-rsa"),f=t("safe-buffer").Buffer;e.exports=function(t,e,r){var h;h=t.padding?t.padding:r?1:4;var d,p=n(t);if(4===h)d=function(t,e){var r=t.modulus.byteLength(),n=e.length,u=o("sha1").update(f.alloc(0)).digest(),l=u.length,h=2*l;if(n>r-h-2)throw new Error("message too long");var d=f.alloc(r-n-h-2),p=r-l-1,m=i(l),b=s(f.concat([u,d,f.alloc(1,1),e],p),a(m,p)),v=s(m,a(b,l));return new c(f.concat([f.alloc(1),v,b],r))}(p,e);else if(1===h)d=function(t,e,r){var n,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");return n=r?f.alloc(a-o-3,255):function(t){for(var e,r=f.allocUnsafe(t),n=0,o=i(2*t),a=0;n<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(r[n++]=e);return r}(a-o-3),new c(f.concat([f.from([0,r?1:2]),n,f.alloc(1),e],a))}(p,e,r);else{if(3!==h)throw new Error("unknown padding");if((d=new c(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,p):u(d,p)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":206,"create-hash":331,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("safe-buffer").Buffer;e.exports=function(t,e){return i.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},{"bn.js":470,"safe-buffer":494}],474:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=t.length,n=-1;++n<r;)t[n]^=e[n];return t}},{}],475:[function(t,r,n){(function(e,n){"use strict";var i=t("safe-buffer").Buffer,o=n.crypto||n.msCrypto;o&&o.getRandomValues?r.exports=function(t,r){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(t);if(t>0)if(t>65536)for(var a=0;a<t;a+=65536)o.getRandomValues(n.slice(a,a+65536));else o.getRandomValues(n);return"function"==typeof r?e.nextTick((function(){r(null,n)})):n}:r.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,"safe-buffer":494}],476:[function(t,r,n){(function(e,r){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=t("safe-buffer"),a=t("randombytes"),s=o.Buffer,c=o.kMaxLength,u=r.crypto||r.msCrypto,l=Math.pow(2,32)-1;function f(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>l||t<0)throw new TypeError("offset must be a uint32");if(t>c||t>e)throw new RangeError("offset out of range")}function h(t,e,r){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>l||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>c)throw new RangeError("buffer too small")}function d(t,r,n,i){if(e.browser){var o=t.buffer,s=new Uint8Array(o,r,n);return u.getRandomValues(s),i?void e.nextTick((function(){i(null,t)})):t}if(!i)return a(n).copy(t,r),t;a(n,(function(e,n){if(e)return i(e);n.copy(t,r),i(null,t)}))}u&&u.getRandomValues||!e.browser?(n.randomFill=function(t,e,n,i){if(!(s.isBuffer(t)||t instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof e)i=e,e=0,n=t.length;else if("function"==typeof n)i=n,n=t.length-e;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return f(e,t.length),h(n,e,t.length),d(t,e,n,i)},n.randomFillSync=function(t,e,n){if(void 0===e&&(e=0),!(s.isBuffer(t)||t instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return f(e,t.length),void 0===n&&(n=t.length-e),h(n,e,t.length),d(t,e,n)}):(n.randomFill=i,n.randomFillSync=i)}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i={};function o(t,e,r){r||(r=Error);var n=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);n.prototype.name=r.name,n.prototype.code=t,i[t]=n}function a(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,r){var i,o,s;if("string"==typeof e&&(o="not ",e.substr(0,o.length)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(i," ").concat(a(e,"type"));else{var c=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+".".length>t.length)&&-1!==t.indexOf(".",r)}(t)?"property":"argument";s='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(a(e,"type"))}return s+". Received type ".concat(n(r))}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=i},{}],478:[function(t,e,r){(function(r){"use strict";var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};e.exports=u;var i=t("./_stream_readable"),o=t("./_stream_writable");t("inherits")(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var c=a[s];u.prototype[c]||(u.prototype[c]=o.prototype[c])}function u(t){if(!(this instanceof u))return new u(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||r.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,t("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:387}],479:[function(t,e,r){"use strict";e.exports=i;var n=t("./_stream_transform");function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}t("inherits")(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},{"./_stream_transform":481,inherits:387}],480:[function(t,r,n){(function(e,n){"use strict";var i;r.exports=k,k.ReadableState=S,t("events").EventEmitter;var o,a=function(t,e){return t.listeners(e).length},s=t("./internal/streams/stream"),c=t("buffer").Buffer,u=n.Uint8Array||function(){},l=t("util");o=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=t("./internal/streams/buffer_list"),m=t("./internal/streams/destroy"),b=t("./internal/streams/state").getHighWaterMark,v=t("../errors").codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t("inherits")(k,s);var O=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function S(e,r,n){i=i||t("./_stream_duplex"),e=e||{},"boolean"!=typeof n&&(n=r instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=t("string_decoder/").StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function k(e){if(i=i||t("./_stream_duplex"),!(this instanceof k))return new k(e);var r=this instanceof i;this._readableState=new S(e,this,r),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function E(t,e,r,n,i){o("readableAddChunk",e);var a,s=t._readableState;if(null===e)s.reading=!1,function(t,e){if(o("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,A(t)))}}(t,s);else if(i||(a=function(t,e){var r,n;return n=e,c.isBuffer(n)||n instanceof u||"string"==typeof e||void 0===e||t.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],e)),r}(s,e)),a)O(t,a);else if(s.objectMode||e&&e.length>0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),n)s.endEmitted?O(t,new x):M(t,s,e,!0);else if(s.ended)O(t,new y);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||0!==e.length?M(t,s,e,!1):T(t,s)):M(t,s,e,!1)}else n||(s.reading=!1,T(t,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function M(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),T(t,e)}function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var r=t._readableState;o("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(o("emitReadable",r.flowing),r.emittedReadable=!0,e.nextTick(A,t))}function A(t){var e=t._readableState;o("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,I(t)}function T(t,r){r.readingMore||(r.readingMore=!0,e.nextTick(P,t,r))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(o("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){o("readable nexttick read 0"),t.read(0)}function L(t,e){o("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),I(t),e.flowing&&!e.reading&&t.read(0)}function I(t){var e=t._readableState;for(o("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var r=t._readableState;o("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,e.nextTick(B,r,t))}function B(t,e){if(o("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function z(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(t,e){e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=c.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},k.prototype.unshift=function(t){return E(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){f||(f=t("string_decoder/").StringDecoder);var r=new f(e);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},k.prototype.read=function(t){o("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return o("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):j(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return o("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&o("length less than watermark",i=!0),e.ended||e.reading?o("reading or ended",i=!1):i&&(o("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){O(this,new w("_read()"))},k.prototype.pipe=function(t,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,r);var s=r&&!1===r.end||t===e.stdout||t===e.stderr?m:c;function c(){o("onend"),t.end()}i.endEmitted?e.nextTick(s):n.once("end",s),t.on("unpipe",(function e(r,a){o("onunpipe"),r===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,o("cleanup"),t.removeListener("close",d),t.removeListener("finish",p),t.removeListener("drain",u),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",f),l=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||u())}));var u=function(t){return function(){var e=t._readableState;o("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,I(t))}}(n);t.on("drain",u);var l=!1;function f(e){o("ondata");var r=t.write(e);o("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==z(i.pipes,t))&&!l&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(e){o("onerror",e),m(),t.removeListener("error",h),0===a(t,"error")&&O(t,e)}function d(){t.removeListener("finish",p),m()}function p(){o("onfinish"),t.removeListener("close",d),m()}function m(){o("unpipe"),n.unpipe(t)}return n.on("data",f),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",h),t.once("close",d),t.once("finish",p),t.emit("pipe",n),i.flowing||(o("pipe resume"),n.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,r){var n=s.prototype.on.call(this,t,r),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?j(this):i.reading||e.nextTick(R,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(t,r){var n=s.prototype.removeListener.call(this,t,r);return"readable"===t&&e.nextTick(D,this),n},k.prototype.removeAllListeners=function(t){var r=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||e.nextTick(D,this),r},k.prototype.resume=function(){var t=this._readableState;return t.flowing||(o("resume"),t.flowing=!t.readableListening,function(t,r){r.resumeScheduled||(r.resumeScheduled=!0,e.nextTick(L,t,r))}(this,t)),t.paused=!1,this},k.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(o("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){o("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){o("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=t("./internal/streams/async_iterator")),h(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),k._fromList=N,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,r){return void 0===d&&(d=t("./internal/streams/from")),d(k,e,r)})}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:216,events:367,inherits:387,"string_decoder/":520,util:185}],481:[function(t,e,r){"use strict";e.exports=l;var n=t("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=t("./_stream_duplex");function u(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(e,r){h(t,e,r)}))}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}t("inherits")(l,c),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new i("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,(function(t){e(t)}))}},{"../errors":477,"./_stream_duplex":478,inherits:387}],482:[function(t,r,n){(function(e,n){"use strict";function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(void 0),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var o;r.exports=k,k.WritableState=S;var a,s={deprecate:t("util-deprecate")},c=t("./internal/streams/stream"),u=t("buffer").Buffer,l=n.Uint8Array||function(){},f=t("./internal/streams/destroy"),h=t("./internal/streams/state").getHighWaterMark,d=t("../errors").codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,O=f.errorOrDestroy;function _(){}function S(r,n,a){o=o||t("./_stream_duplex"),r=r||{},"boolean"!=typeof a&&(a=n instanceof o),this.objectMode=!!r.objectMode,a&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=h(this,r,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===r.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,r){var n=t._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new b;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),r)!function(t,r,n,i,o){--r.pendingcb,n?(e.nextTick(o,i),e.nextTick(T,t,r),t._writableState.errorEmitted=!0,O(t,i)):(o(i),t._writableState.errorEmitted=!0,O(t,i),T(t,r))}(t,n,i,r,o);else{var a=j(n)||t.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||C(t,n),i?e.nextTick(M,t,n,a,o):M(t,n,a,o)}}(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(e){var r=this instanceof(o=o||t("./_stream_duplex"));if(!r&&!a.call(k,this))return new k(e);this._writableState=new S(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function E(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),T(t,e)}function C(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)o[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;o.allBuffers=c,E(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(E(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(r){e.pendingcb--,r&&O(t,r),e.prefinished=!0,t.emit("prefinish"),T(t,e)}))}function T(t,r){var n=j(r);if(n&&(function(t,r){r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,e.nextTick(A,t,r)))}(t,r),0===r.pendingcb&&(r.finished=!0,t.emit("finish"),r.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}t("inherits")(k,c),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!a.call(this,t)||this===k&&t&&t._writableState instanceof S}})):a=function(t){return t instanceof this},k.prototype.pipe=function(){O(this,new v)},k.prototype.write=function(t,r,n){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,u.isBuffer(i)||i instanceof l);return s&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=o.defaultEncoding),"function"!=typeof n&&(n=_),o.ending?function(t,r){var n=new w;O(t,n),e.nextTick(r,n)}(this,n):(s||function(t,r,n,i){var o;return null===n?o=new y:"string"==typeof n||r.objectMode||(o=new p("chunk",["string","Buffer"],n)),!o||(O(t,o),e.nextTick(i,o),!1)}(this,o,t,n))&&(o.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r)),e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,s,n,i,o);return c}(this,o,s,t,r,n)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},k.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,r){r(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,r,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),null!=t&&this.write(t,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,r,n){r.ending=!0,T(t,r),n&&(r.finished?e.nextTick(n):t.once("finish",n)),r.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=f.destroy,k.prototype._undestroy=f.undestroy,k.prototype._destroy=function(t,e){e(t)}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:216,inherits:387,"util-deprecate":522}],483:[function(t,e,r){(function(r){"use strict";var n;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=t("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var r=t[h].read();null!==r&&(t[l]=null,t[a]=null,t[s]=null,e(d(r,!1)))}}function m(t){r.nextTick(p,t)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var t=this,e=this[c];if(null!==e)return Promise.reject(e);if(this[u])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(e,n){r.nextTick((function(){t[c]?n(t[c]):e(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[u]?r(d(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[h].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),b);e.exports=function(t){var e,r=Object.create(v,(i(e={},h,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,c,{value:null,writable:!0}),i(e,u,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,t(d(n,!1))):(r[a]=t,r[s]=e)},writable:!0}),e));return r[l]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[l]=null,r[a]=null,r[s]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[u]=!0})),t.on("readable",m.bind(null,r)),r}}).call(this,t("_process"))},{"./end-of-stream":486,_process:467}],484:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=t("buffer").Buffer,s=t("util").inspect,c=s&&s.custom||"inspect";e.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n,i=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0==(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:c,value:function(t,e){return s(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,r),t}()},{buffer:216,util:185}],485:[function(t,e,r){(function(t){"use strict";function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?a._writableState?a._writableState.errorEmitted?t.nextTick(n,a):(a._writableState.errorEmitted=!0,t.nextTick(r,a,e)):t.nextTick(r,a,e):o?(t.nextTick(n,a),o(e)):t.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,t("_process"))},{_process:467}],486:[function(t,e,r){"use strict";var n=t("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function t(e,r,o){if("function"==typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,c=function(){e.writable||l()},u=e._writableState&&e._writableState.finished,l=function(){s=!1,u=!0,a||o.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!f?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!u?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",h),e.on("finish",l),!1!==r.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("end",h),e.removeListener("error",d),e.removeListener("close",p)}}},{"../../../errors":477}],487:[function(t,e,r){"use strict";e.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(t,e,r){"use strict";var n,i=t("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function c(e,r,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=t("./end-of-stream")),n(e,{readable:r,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var c=!1;return function(t){if(!s&&!c)return c=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function u(t){t()}function l(t,e){return t.pipe(e)}function f(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}e.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,r){var o=r<e.length-1;return c(t,o,r>0,(function(t){n||(n=t),t&&a.forEach(u),o||(a.forEach(u),i(n))}))}));return e.reduce(l)}},{"../../../errors":477,"./end-of-stream":486}],489:[function(t,e,r){"use strict";var n=t("../../../errors").codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},{"../../../errors":477}],490:[function(t,e,r){"use strict";e.exports=t("events").EventEmitter},{events:367}],491:[function(t,e,r){"use strict";(r=e.exports=t("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=t("./lib/_stream_writable.js"),r.Duplex=t("./lib/_stream_duplex.js"),r.Transform=t("./lib/_stream_transform.js"),r.PassThrough=t("./lib/_stream_passthrough.js"),r.finished=t("./lib/internal/streams/end-of-stream.js"),r.pipeline=t("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=function(t){var e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new S(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=l(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function h(){}function d(){}function p(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,v=b&&b(b(k([])));v&&v!==e&&r.call(v,o)&&(m=v);var g=p.prototype=h.prototype=Object.create(m);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;this._invoke=function(o,a){function s(){return new e((function(i,s){!function i(o,a,s,c){var u=l(t[o],t,a);if("throw"!==u.type){var f=u.arg,h=f.value;return h&&"object"===n(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):e.resolve(h).then((function(t){f.value=t,s(f)}),(function(t){return i("throw",t,s,c)}))}c(u.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function k(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=g.constructor=p,p.constructor=d,d.displayName=c(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new w(u(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(g),c(g,s,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===(void 0===e?"undefined":n(e))?e.exports:{});try{regeneratorRuntime=i}catch(t){Function("r","regeneratorRuntime = r")(i)}},{}],493:[function(t,e,r){"use strict";var n=t("buffer").Buffer,i=t("inherits"),o=t("hash-base"),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,r,n,i,o,a,s){return p(t+(e^r^n)+o+a|0,s)+i|0}function b(t,e,r,n,i,o,a,s){return p(t+(e&r|~e&n)+o+a|0,s)+i|0}function v(t,e,r,n,i,o,a,s){return p(t+((e|~r)^n)+o+a|0,s)+i|0}function g(t,e,r,n,i,o,a,s){return p(t+(e&n|r&~n)+o+a|0,s)+i|0}function y(t,e,r,n,i,o,a,s){return p(t+(e^(r|~n))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,x=0|this._b,O=0|this._c,_=0|this._d,S=0|this._e,k=0;k<80;k+=1){var E,M;k<16?(E=m(r,n,i,o,d,t[s[k]],f[0],u[k]),M=y(w,x,O,_,S,t[c[k]],h[0],l[k])):k<32?(E=b(r,n,i,o,d,t[s[k]],f[1],u[k]),M=g(w,x,O,_,S,t[c[k]],h[1],l[k])):k<48?(E=v(r,n,i,o,d,t[s[k]],f[2],u[k]),M=v(w,x,O,_,S,t[c[k]],h[2],l[k])):k<64?(E=g(r,n,i,o,d,t[s[k]],f[3],u[k]),M=b(w,x,O,_,S,t[c[k]],h[3],l[k])):(E=y(r,n,i,o,d,t[s[k]],f[4],u[k]),M=m(w,x,O,_,S,t[c[k]],h[4],l[k])),r=d,d=o,o=p(i,10),i=n,n=E,w=S,S=_,_=p(O,10),O=x,x=M}var C=this._b+i+_|0;this._b=this._c+o+S|0,this._c=this._d+d+w|0,this._d=this._e+r+x|0,this._e=this._a+n+O|0,this._a=C},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},e.exports=d},{buffer:216,"hash-base":370,inherits:387}],494:[function(t,e,r){"use strict";var n=t("buffer"),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,r),r.Buffer=a),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},{buffer:216}],495:[function(t,e,r){(function(r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i,o=t("buffer"),a=o.Buffer,s={};for(i in o)o.hasOwnProperty(i)&&"SlowBuffer"!==i&&"Buffer"!==i&&(s[i]=o[i]);var c=s.Buffer={};for(i in a)a.hasOwnProperty(i)&&"allocUnsafe"!==i&&"allocUnsafeSlow"!==i&&(c[i]=a[i]);if(s.Buffer.prototype=a.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(t,e,r){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+n(t));if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+n(t));return a(t,e,r)}),c.alloc||(c.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+n(t));if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var i=a(t);return e&&0!==e.length?"string"==typeof r?i.fill(e,r):i.fill(e):i.fill(0),i}),!s.kStringMaxLength)try{s.kStringMaxLength=r.binding("buffer").kStringMaxLength}catch(t){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s}).call(this,t("_process"))},{_process:467,buffer:216}],496:[function(t,e,r){"use strict";function n(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=s(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw o}}}}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){if(t){if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}Object.defineProperty(r,"__esModule",{value:!0});var u=t("xmlchars/xml/1.0/ed5"),l=t("xmlchars/xml/1.1/ed2"),f=t("xmlchars/xmlns/1.0/ed3"),h=u.isS,d=u.isChar,p=u.isNameStartChar,m=u.isNameChar,b=u.S_LIST,v=u.NAME_RE,g=l.isChar,y=f.isNCNameStartChar,w=f.isNCNameChar,x=f.NC_NAME_RE,O="http://www.w3.org/XML/1998/namespace",_="http://www.w3.org/2000/xmlns/",S={__proto__:null,xml:O,xmlns:_},k={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},E=61,M=63,C=function(t){return 34===t||39===t},j=[34,39],A=[].concat(j,[91,62]),T=[].concat(j,[60,93]),P=[E,M].concat(a(b)),D=[].concat(a(b),[62,38,60]);function R(t,e,r){switch(e){case"xml":r!==O&&t.fail("xml prefix must be bound to ".concat(O,"."));break;case"xmlns":r!==_&&t.fail("xmlns prefix must be bound to ".concat(_,"."))}switch(r){case _:t.fail(""===e?"the default namespace may not be set to ".concat(r,"."):'may not assign a prefix (even "xmlns") to the URI '.concat(_,"."));break;case O:switch(e){case"xml":break;case"":t.fail("the default namespace may not be set to ".concat(r,"."));break;default:t.fail("may not assign the xml namespace to another prefix.")}}}var L=function(t){return x.test(t)},I=function(t){return v.test(t)};r.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var N={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"},F=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.opt=null!=e?e:{},this.fragmentOpt=!!this.opt.fragment;var r=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,r){this.nameStartCheck=y,this.nameCheck=w,this.isName=L,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},S);var n=this.opt.additionalNamespaces;null!=n&&(function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];R(t,i,e[i])}}(this,n),Object.assign(this.ns,n))}else this.nameStartCheck=p,this.nameCheck=m,this.isName=I,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}var e,r;return e=t,(r=[{key:"_init",value:function(){var t;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];var e=this.fragmentOpt;this.state=e?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;var r=this.opt.defaultXMLVersion;if(void 0===r){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");r="1.0"}this.setXMLVersion(r),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(k),null===(t=this.readyHandler)||void 0===t||t.call(this)}},{key:"on",value:function(t,e){this[N[t]]=e}},{key:"off",value:function(t){this[N[t]]=void 0}},{key:"makeError",value:function(t){var e,r=null!==(e=this.fileName)&&void 0!==e?e:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+="".concat(this.line,":").concat(this.column)),r.length>0&&(r+=": "),new Error(r+t)}},{key:"fail",value:function(t){var e=this.makeError(t),r=this.errorHandler;if(void 0===r)throw e;return r(e),this}},{key:"write",value:function(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");var e=!1;null===t?(e=!0,t=""):"object"===i(t)&&(t=t.toString()),void 0!==this.carriedFromPrevious&&(t="".concat(this.carriedFromPrevious).concat(t),this.carriedFromPrevious=void 0);var r=t.length,n=t.charCodeAt(r-1);!e&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[r-1],r--,t=t.slice(0,r));var o=this.stateTable;for(this.chunk=t,this.i=0;this.i<r;)o[this.state].call(this);return this.chunkPosition+=r,e?this.end():this}},{key:"close",value:function(){return this.write(null)}},{key:"getCode10",value:function(){var t=this.chunk,e=this.i;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;var r=t.charCodeAt(e);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===t.charCodeAt(e+1)&&(this.i=e+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;var n=65536+1024*(r-55296)+(t.charCodeAt(e+1)-56320);return this.i=e+2,n>1114111&&this.fail("disallowed character."),n}},{key:"getCode11",value:function(){var t=this.chunk,e=this.i;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;var r=t.charCodeAt(e);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:var n=t.charCodeAt(e+1);10!==n&&133!==n||(this.i=e+2);case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;var i=65536+1024*(r-55296)+(t.charCodeAt(e+1)-56320);return this.i=e+2,i>1114111&&this.fail("disallowed character."),i}},{key:"getCodeNorm",value:function(){var t=this.getCode();return-2===t?10:t}},{key:"unget",value:function(){this.i=this.prevI,this.column--}},{key:"captureTo",value:function(t){for(var e=this.i,r=this.chunk;;){var n=this.getCode(),i=-2===n,o=i?10:n;if(-1===o||t.includes(o))return this.text+=r.slice(e,this.prevI),o;i&&(this.text+="".concat(r.slice(e,this.prevI),"\n"),e=this.i)}}},{key:"captureToChar",value:function(t){for(var e=this.i,r=this.chunk;;){var n=this.getCode();switch(n){case-2:this.text+="".concat(r.slice(e,this.prevI),"\n"),e=this.i,n=10;break;case-1:return this.text+=r.slice(e),!1}if(n===t)return this.text+=r.slice(e,this.prevI),!0}}},{key:"captureNameChars",value:function(){for(var t=this.chunk,e=this.i;;){var r=this.getCode();if(-1===r)return this.name+=t.slice(e),-1;if(!m(r))return this.name+=t.slice(e,this.prevI),-2===r?10:r}}},{key:"skipSpaces",value:function(){for(;;){var t=this.getCodeNorm();if(-1===t||!h(t))return t}}},{key:"setXMLVersion",value:function(t){this.currentXMLVersion=t,"1.0"===t?(this.isChar=d,this.getCode=this.getCode10):(this.isChar=g,this.getCode=this.getCode11)}},{key:"sBegin",value:function(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}},{key:"sBeginWhitespace",value:function(){var t=this.i,e=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),e){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}},{key:"sDoctype",value:function(){var t,e=this.captureTo(A);switch(e){case 62:null===(t=this.doctypeHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(e),91===e?this.state=4:C(e)&&(this.state=3,this.q=e)}}},{key:"sDoctypeQuote",value:function(){var t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}},{key:"sDTD",value:function(){var t=this.captureTo(T);-1!==t&&(this.text+=String.fromCodePoint(t),93===t?this.state=2:60===t?this.state=6:C(t)&&(this.state=5,this.q=t))}},{key:"sDTDQuoted",value:function(){var t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}},{key:"sDTDOpenWaka",value:function(){var t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case M:this.state=11;break;default:this.state=4}}},{key:"sDTDOpenWakaBang",value:function(){var t=String.fromCodePoint(this.getCodeNorm()),e=this.openWakaBang+=t;this.text+=t,"-"!==e&&(this.state="--"===e?8:4,this.openWakaBang="")}},{key:"sDTDComment",value:function(){this.captureToChar(45)&&(this.text+="-",this.state=9)}},{key:"sDTDCommentEnding",value:function(){var t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=45===t?10:8}},{key:"sDTDCommentEnded",value:function(){var t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t?this.state=4:(this.fail("malformed comment."),this.state=8)}},{key:"sDTDPI",value:function(){this.captureToChar(M)&&(this.text+="?",this.state=12)}},{key:"sDTDPIEnding",value:function(){var t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t&&(this.state=4)}},{key:"sText",value:function(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}},{key:"sEntity",value:function(){var t=this.i,e=this.chunk;t:for(;;)switch(this.getCode()){case-2:this.entity+="".concat(e.slice(t,this.prevI),"\n"),t=this.i;break;case 59:var r=this.entityReturnState,n=this.entity+e.slice(t,this.prevI);this.state=r;var i=void 0;""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),13===r&&void 0===this.textHandler||(this.text+=i);break t;case-1:this.entity+=e.slice(t);break t}}},{key:"sOpenWaka",value:function(){var t=this.getCode();if(p(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case M:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}},{key:"sOpenWakaBang",value:function(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}},{key:"sComment",value:function(){this.captureToChar(45)&&(this.state=18)}},{key:"sCommentEnding",value:function(){var t,e=this.getCodeNorm();45===e?(this.state=19,null===(t=this.commentHandler)||void 0===t||t.call(this,this.text),this.text=""):(this.text+="-".concat(String.fromCodePoint(e)),this.state=17)}},{key:"sCommentEnded",value:function(){var t=this.getCodeNorm();62!==t?(this.fail("malformed comment."),this.text+="--".concat(String.fromCodePoint(t)),this.state=17):this.state=13}},{key:"sCData",value:function(){this.captureToChar(93)&&(this.state=21)}},{key:"sCDataEnding",value:function(){var t=this.getCodeNorm();93===t?this.state=22:(this.text+="]".concat(String.fromCodePoint(t)),this.state=20)}},{key:"sCDataEnding2",value:function(){var t,e=this.getCodeNorm();switch(e){case 62:null===(t=this.cdataHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]".concat(String.fromCodePoint(e)),this.state=20}}},{key:"sPIFirstChar",value:function(){var t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===M||h(t)?(this.fail("processing instruction without a target."),this.state=t===M?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}},{key:"sPIRest",value:function(){for(var t=this.chunk,e=this.i;;){var r=this.getCodeNorm();if(-1===r)return void(this.piTarget+=t.slice(e));if(!this.nameCheck(r)){this.piTarget+=t.slice(e,this.prevI);var n=r===M;n||h(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?33:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r));break}}}},{key:"sPIBody",value:function(){if(0===this.text.length){var t=this.getCodeNorm();t===M?this.state=26:h(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(M)&&(this.state=26)}},{key:"sPIEnding",value:function(){var t,e=this.getCodeNorm();if(62===e){var r=this.piTarget;"xml"===r.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(t=this.piHandler)||void 0===t||t.call(this,{target:r,body:this.text}),this.piTarget=this.text="",this.state=13}else e===M?this.text+="?":(this.text+="?".concat(String.fromCodePoint(e)),this.state=25);this.xmlDeclPossible=!1}},{key:"sXMLDeclNameStart",value:function(){var t=this.skipSpaces();t!==M?-1!==t&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=33}},{key:"sXMLDeclName",value:function(){var t=this.captureTo(P);if(t===M)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(h(t)||t===E){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail("expected the name ".concat(this.xmlDeclExpects[0],"."));break;default:this.fail("expected one of ".concat(this.xmlDeclExpects.join(", ")))}this.state=t===E?30:29}}},{key:"sXMLDeclEq",value:function(){var t=this.getCodeNorm();if(t===M)return this.state=33,void this.fail("XML declaration is incomplete.");h(t)||(t!==E&&this.fail("value required."),this.state=30)}},{key:"sXMLDeclValueStart",value:function(){var t=this.getCodeNorm();if(t===M)return this.state=33,void this.fail("XML declaration is incomplete.");h(t)||(C(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}},{key:"sXMLDeclValue",value:function(){var t=this.captureTo([this.q,M]);if(t===M)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1!==t){var e=this.text;switch(this.text="",this.name){case"version":this.xmlDeclExpects=["encoding","standalone"];var r=e;this.xmlDecl.version=r,/^1\.[0-9]+$/.test(r)?this.opt.forceXMLVersion||this.setXMLVersion(r):this.fail("version number must match /^1\\.[0-9]+$/.");break;case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(e)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=e;break;case"standalone":"yes"!==e&&"no"!==e&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=e}this.name="",this.state=32}}},{key:"sXMLDeclSeparator",value:function(){var t=this.getCodeNorm();t!==M?(h(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}},{key:"sXMLDeclEnding",value:function(){var t;62===this.getCodeNorm()?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(t=this.xmldeclHandler)||void 0===t||t.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}},{key:"sOpenTag",value:function(){var t,e=this.captureNameChars();if(-1!==e){var r=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=r.ns=Object.create(null)),null===(t=this.openTagStartHandler)||void 0===t||t.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),e){case 62:this.openTag();break;case 47:this.state=35;break;default:h(e)||this.fail("disallowed character in tag name."),this.state=36}}}},{key:"sOpenTagSlash",value:function(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}},{key:"sAttrib",value:function(){var t=this.skipSpaces();-1!==t&&(p(t)?(this.unget(),this.state=37):62===t?this.openTag():47===t?this.state=35:this.fail("disallowed character in attribute name."))}},{key:"sAttribName",value:function(){var t=this.captureNameChars();t===E?this.state=39:h(t)?this.state=38:62===t?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==t&&this.fail("disallowed character in attribute name.")}},{key:"sAttribNameSawWhite",value:function(){var t=this.skipSpaces();switch(t){case-1:return;case E:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===t?this.openTag():p(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}},{key:"sAttribValue",value:function(){var t=this.getCodeNorm();C(t)?(this.q=t,this.state=40):h(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}},{key:"sAttribValueQuoted",value:function(){for(var t=this.q,e=this.chunk,r=this.i;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+e.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=e.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+="".concat(e.slice(r,this.prevI)," "),r=this.i;break;case 60:return this.text+=e.slice(r,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=e.slice(r))}}},{key:"sAttribValueClosed",value:function(){var t=this.getCodeNorm();h(t)?this.state=36:62===t?this.openTag():47===t?this.state=35:p(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}},{key:"sAttribValueUnquoted",value:function(){var t=this.captureTo(D);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===t?this.openTag():this.state=36}}},{key:"sCloseTag",value:function(){var t=this.captureNameChars();62===t?this.closeTag():h(t)?this.state=44:-1!==t&&this.fail("disallowed character in closing tag.")}},{key:"sCloseTagSawWhite",value:function(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}},{key:"handleTextInRoot",value:function(){var t=this.i,e=this.forbiddenState,r=this.chunk,n=this.textHandler;t:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==n){var i=this.text,o=r.slice(t,this.prevI);0!==i.length?(n(i+o),this.text=""):0!==o.length&&n(o)}e=0;break t;case 38:this.state=14,this.entityReturnState=13,void 0!==n&&(this.text+=r.slice(t,this.prevI)),e=0;break t;case 93:switch(e){case 0:e=1;break;case 1:e=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===e&&this.fail('the string "]]>" is disallowed in char data.'),e=0;break;case-2:void 0!==n&&(this.text+="".concat(r.slice(t,this.prevI),"\n")),t=this.i,e=0;break;case-1:void 0!==n&&(this.text+=r.slice(t));break t;default:e=0}this.forbiddenState=e}},{key:"handleTextOutsideRoot",value:function(){var t=this.i,e=this.chunk,r=this.textHandler,n=!1;t:for(;;){var i=this.getCode();switch(i){case 60:if(this.state=15,void 0!==r){var o=this.text,a=e.slice(t,this.prevI);0!==o.length?(r(o+a),this.text=""):0!==a.length&&r(a)}break t;case 38:this.state=14,this.entityReturnState=13,void 0!==r&&(this.text+=e.slice(t,this.prevI)),n=!0;break t;case-2:void 0!==r&&(this.text+="".concat(e.slice(t,this.prevI),"\n")),t=this.i;break;case-1:void 0!==r&&(this.text+=e.slice(t));break t;default:h(i)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}},{key:"pushAttribNS",value:function(t,e){var r,n=this.qname(t),i=n.prefix,o=n.local,a={name:t,prefix:i,local:o,value:e};if(this.attribList.push(a),null===(r=this.attributeHandler)||void 0===r||r.call(this,a),"xmlns"===i){var s=e.trim();"1.0"===this.currentXMLVersion&&""===s&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[o]=s,R(this,o,s)}else if("xmlns"===t){var c=e.trim();this.topNS[""]=c,R(this,"",c)}}},{key:"pushAttribPlain",value:function(t,e){var r,n={name:t,value:e};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}},{key:"end",value:function(){var t,e;this.sawRoot||this.fail("document must contain a root element.");for(var r=this.tags;r.length>0;){var n=r.pop();this.fail("unclosed tag: ".concat(n.name))}0!==this.state&&13!==this.state&&this.fail("unexpected end.");var i=this.text;return 0!==i.length&&(null===(t=this.textHandler)||void 0===t||t.call(this,i),this.text=""),this._closed=!0,null===(e=this.endHandler)||void 0===e||e.call(this),this._init(),this}},{key:"resolve",value:function(t){var e,r,n=this.topNS[t];if(void 0!==n)return n;for(var i=this.tags,o=i.length-1;o>=0;o--)if(void 0!==(n=i[o].ns[t]))return n;return void 0!==(n=this.ns[t])?n:null===(r=(e=this.opt).resolvePrefix)||void 0===r?void 0:r.call(e,t)}},{key:"qname",value:function(t){var e=t.indexOf(":");if(-1===e)return{prefix:"",local:t};var r=t.slice(e+1),n=t.slice(0,e);return(""===n||""===r||r.includes(":"))&&this.fail("malformed name: ".concat(t,".")),{prefix:n,local:r}}},{key:"processAttribsNS",value:function(){var t,e=this.attribList,r=this.tag,i=this.qname(r.name),o=i.prefix,a=i.local;r.prefix=o,r.local=a;var s=r.uri=null!==(t=this.resolve(o))&&void 0!==t?t:"";if(""!==o&&("xmlns"===o&&this.fail('tags may not have "xmlns" as prefix.'),""===s&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(o),".")),r.uri=o)),0!==e.length){var c,u=r.attributes,l=new Set,f=n(e);try{for(f.s();!(c=f.n()).done;){var h=c.value,d=h.name,p=h.prefix,m=h.local,b=void 0,v=void 0;""===p?(b="xmlns"===d?_:"",v=d):(void 0===(b=this.resolve(p))&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(p),".")),b=p),v="{".concat(b,"}").concat(m)),l.has(v)&&this.fail("duplicate attribute: ".concat(v,".")),l.add(v),h.uri=b,u[d]=h}}catch(t){f.e(t)}finally{f.f()}this.attribList=[]}}},{key:"processAttribsPlain",value:function(){var t,e=this.attribList,r=this.tag.attributes,i=n(e);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=o.name,s=o.value;void 0!==r[a]&&this.fail("duplicate attribute: ".concat(a,".")),r[a]=s}}catch(t){i.e(t)}finally{i.f()}this.attribList=[]}},{key:"openTag",value:function(){var t;this.processAttribs();var e=this.tags,r=this.tag;r.isSelfClosing=!1,null===(t=this.openTagHandler)||void 0===t||t.call(this,r),e.push(r),this.state=13,this.name=""}},{key:"openSelfClosingTag",value:function(){var t,e,r;this.processAttribs();var n=this.tags,i=this.tag;i.isSelfClosing=!0,null===(t=this.openTagHandler)||void 0===t||t.call(this,i),null===(e=this.closeTagHandler)||void 0===e||e.call(this,i),null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=13,this.name=""}},{key:"closeTag",value:function(){var t=this.tags,e=this.name;if(this.state=13,this.name="",""===e)return this.fail("weird empty close tag."),void(this.text+="</>");for(var r=this.closeTagHandler,n=t.length;n-- >0;){var i=this.tag=t.pop();if(this.topNS=i.ns,null==r||r(i),i.name===e)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail("unmatched closing tag: ".concat(e,".")),this.text+="</".concat(e,">"))}},{key:"parseEntity",value:function(t){if("#"!==t[0]){var e=this.ENTITIES[t];return void 0!==e?e:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),"&".concat(t,";"))}var r=NaN;return"x"===t[1]&&/^#x[0-9a-f]+$/i.test(t)?r=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(r=parseInt(t.slice(1),10)),this.isChar(r)?String.fromCodePoint(r):(this.fail("malformed character entity."),"&".concat(t,";"))}},{key:"closed",get:function(){return this._closed}},{key:"position",get:function(){return this.chunkPosition+this.i}},{key:"columnIndex",get:function(){return this.position-this.positionAtNewLine}}])&&o(e.prototype,r),t}();r.SaxesParser=F},{"xmlchars/xml/1.0/ed5":541,"xmlchars/xml/1.1/ed2":542,"xmlchars/xmlns/1.0/ed3":543}],497:[function(t,e,r){(function(t){"use strict";e.exports="function"==typeof t?t:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}}).call(this,t("timers").setImmediate)},{timers:521}],498:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var c=a%i,u=Math.min(o-s,i-c),l=0;l<u;l++)r[c+l]=t[s+l];s+=u,(a+=u)%i==0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},{"safe-buffer":494}],499:[function(t,e,r){"use strict";var n=e.exports=function(t){t=t.toLowerCase();var e=n[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e};n.sha=t("./sha"),n.sha1=t("./sha1"),n.sha224=t("./sha224"),n.sha256=t("./sha256"),n.sha384=t("./sha384"),n.sha512=t("./sha512")},{"./sha":500,"./sha1":501,"./sha224":502,"./sha256":503,"./sha384":504,"./sha512":505}],500:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<30|t>>>2}function l(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=t.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var h=0;h<80;++h){var d=~~(h/20),p=0|((e=n)<<5|e>>>27)+l(d,i,o,s)+c+r[h]+a[d];c=s,s=o,o=u(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],501:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function f(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,h=0;h<16;++h)r[h]=t.readInt32BE(4*h);for(;h<80;++h)r[h]=(e=r[h-3]^r[h-8]^r[h-14]^r[h-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=u(n)+f(p,i,o,s)+c+r[d]+a[p]|0;c=s,s=o,o=l(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],502:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./sha256"),o=t("./hash"),a=t("safe-buffer").Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}n(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},e.exports=c},{"./hash":498,"./sha256":503,inherits:387,"safe-buffer":494}],503:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function h(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,b=0|this._h,v=0;v<16;++v)r[v]=t.readInt32BE(4*v);for(;v<64;++v)r[v]=0|(((e=r[v-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[v-7]+d(r[v-15])+r[v-16];for(var g=0;g<64;++g){var y=b+h(c)+u(c,p,m)+a[g]+r[g]|0,w=f(n)+l(n,i,o)|0;b=m,m=p,p=c,c=s+y|0,s=o,o=i,i=n,n=y+w|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},c.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],504:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./sha512"),o=t("./hash"),a=t("safe-buffer").Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},e.exports=c},{"./hash":498,"./sha512":505,inherits:387,"safe-buffer":494}],505:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function h(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function v(t,e){return t>>>0<e>>>0?1:0}n(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,w=0|this._al,x=0|this._bl,O=0|this._cl,_=0|this._dl,S=0|this._el,k=0|this._fl,E=0|this._gl,M=0|this._hl,C=0;C<32;C+=2)e[C]=t.readInt32BE(4*C),e[C+1]=t.readInt32BE(4*C+4);for(;C<160;C+=2){var j=e[C-30],A=e[C-30+1],T=d(j,A),P=p(A,j),D=m(j=e[C-4],A=e[C-4+1]),R=b(A,j),L=e[C-14],I=e[C-14+1],N=e[C-32],F=e[C-32+1],B=P+I|0,z=T+L+v(B,P)|0;z=(z=z+D+v(B=B+R|0,R)|0)+N+v(B=B+F|0,F)|0,e[C]=z,e[C+1]=B}for(var H=0;H<160;H+=2){z=e[H],B=e[H+1];var U=l(r,n,i),W=l(w,x,O),q=f(r,w),V=f(w,r),G=h(s,S),Y=h(S,s),X=a[H],$=a[H+1],K=u(s,c,g),Z=u(S,k,E),J=M+Y|0,Q=y+G+v(J,M)|0;Q=(Q=(Q=Q+K+v(J=J+Z|0,Z)|0)+X+v(J=J+$|0,$)|0)+z+v(J=J+B|0,B)|0;var tt=V+W|0,et=q+U+v(tt,V)|0;y=g,M=E,g=c,E=k,c=s,k=S,s=o+Q+v(S=_+J|0,_)|0,o=i,_=O,i=n,O=x,n=r,x=w,r=Q+et+v(w=J+tt|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+O|0,this._dl=this._dl+_|0,this._el=this._el+S|0,this._fl=this._fl+k|0,this._gl=this._gl+E|0,this._hl=this._hl+M|0,this._ah=this._ah+r+v(this._al,w)|0,this._bh=this._bh+n+v(this._bl,x)|0,this._ch=this._ch+i+v(this._cl,O)|0,this._dh=this._dh+o+v(this._dl,_)|0,this._eh=this._eh+s+v(this._el,S)|0,this._fh=this._fh+c+v(this._fl,k)|0,this._gh=this._gh+g+v(this._gl,E)|0,this._hh=this._hh+y+v(this._hl,M)|0},c.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],506:[function(t,e,r){"use strict";e.exports=i;var n=t("events").EventEmitter;function i(){n.call(this)}t("inherits")(i,n),i.Readable=t("readable-stream/readable.js"),i.Writable=t("readable-stream/writable.js"),i.Duplex=t("readable-stream/duplex.js"),i.Transform=t("readable-stream/transform.js"),i.PassThrough=t("readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,t.end())}function c(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(l(),0===n.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("error",u),t.on("error",u),r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t}},{events:367,inherits:387,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],507:[function(t,e,r){"use strict";e.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(t,e,r){"use strict";var n=t("process-nextick-args"),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};e.exports=f;var o=Object.create(t("core-util-is"));o.inherits=t("inherits");var a=t("./_stream_readable"),s=t("./_stream_writable");o.inherits(f,a);for(var c=i(s.prototype),u=0;u<c.length;u++){var l=c[u];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(t){if(!(this instanceof f))return new f(t);a.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":328,inherits:387,"process-nextick-args":466}],509:[function(t,e,r){"use strict";e.exports=o;var n=t("./_stream_transform"),i=Object.create(t("core-util-is"));function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}i.inherits=t("inherits"),i.inherits(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},{"./_stream_transform":511,"core-util-is":328,inherits:387}],510:[function(t,r,n){(function(e,n){"use strict";var i=t("process-nextick-args");r.exports=y;var o,a=t("isarray");y.ReadableState=g,t("events").EventEmitter;var s=function(t,e){return t.listeners(e).length},c=t("./internal/streams/stream"),u=t("safe-buffer").Buffer,l=n.Uint8Array||function(){},f=Object.create(t("core-util-is"));f.inherits=t("inherits");var h=t("util"),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=t("./internal/streams/BufferList"),b=t("./internal/streams/destroy");f.inherits(y,c);var v=["error","close","destroy","pause","resume"];function g(e,r){e=e||{};var n=r instanceof(o=o||t("./_stream_duplex"));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=t("string_decoder/").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function y(e){if(o=o||t("./_stream_duplex"),!(this instanceof y))return new y(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(t,e,r,n,i){var o,a=t._readableState;return null===e?(a.reading=!1,function(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}}(t,a)):(i||(o=function(t,e){var r,n;return n=e,u.isBuffer(n)||n instanceof l||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):x(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?x(t,a,e,!1):k(t,a)):x(t,a,e,!1))):n||(a.reading=!1)),function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(a)}function x(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),k(t,e)}function O(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(S,t):S(t))}function S(t){d("emit readable"),t.emit("readable"),j(t)}function k(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(E,t,e))}function E(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(d("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function M(t){d("readable nexttick read 0"),t.read(0)}function C(t,e){e.reading||(d("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),j(t),e.flowing&&!e.reading&&t.read(0)}function j(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function A(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;return t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;for(t-=i.length;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=u.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}(t,e),n}(t,e.buffer,e.decoder),r);var r}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(P,e,t))}function P(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function D(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=b.destroy,y.prototype._undestroy=b.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=u.from(t,e),e=""),r=!0),w(this,t,e,!1,r)},y.prototype.unshift=function(t){return w(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return p||(p=t("string_decoder/").StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this},y.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):_(this),null;if(0===(t=O(t,e))&&e.ended)return 0===e.length&&T(this),null;var n,i=e.needReadable;return d("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",i=!0),e.ended||e.reading?d("reading or ended",i=!1):i&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=O(r,e))),null===(n=t>0?A(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&T(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,r){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,r);var c=r&&!1===r.end||t===e.stdout||t===e.stderr?g:u;function u(){d("onend"),t.end()}o.endEmitted?i.nextTick(c):n.once("end",c),t.on("unpipe",(function e(r,i){d("onunpipe"),r===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,d("cleanup"),t.removeListener("close",b),t.removeListener("finish",v),t.removeListener("drain",l),t.removeListener("error",m),t.removeListener("unpipe",e),n.removeListener("end",u),n.removeListener("end",g),n.removeListener("data",p),f=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,j(t))}}(n);t.on("drain",l);var f=!1,h=!1;function p(e){d("ondata"),h=!1,!1!==t.write(e)||h||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==D(o.pipes,t))&&!f&&(d("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function m(e){d("onerror",e),g(),t.removeListener("error",m),0===s(t,"error")&&t.emit("error",e)}function b(){t.removeListener("finish",v),g()}function v(){d("onfinish"),t.removeListener("close",b),g()}function g(){d("unpipe"),n.unpipe(t)}return n.on("data",p),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",m),t.once("close",b),t.once("finish",v),t.emit("pipe",n),o.flowing||(d("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,r);return this}var a=D(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},y.prototype.on=function(t,e){var r=c.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):i.nextTick(M,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(C,t,e))}(this,t)),this},y.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<v.length;o++)t.on(v[o],this.emit.bind(this,v[o]));return this._read=function(e){d("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=A}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":328,events:367,inherits:387,isarray:389,"process-nextick-args":466,"safe-buffer":494,"string_decoder/":520,util:185}],511:[function(t,e,r){"use strict";e.exports=a;var n=t("./_stream_duplex"),i=Object.create(t("core-util-is"));function o(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);n.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"==typeof this._flush?this._flush((function(e,r){c(t,e,r)})):c(this,null,null)}function c(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=t("inherits"),i.inherits(a,n),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},{"./_stream_duplex":508,"core-util-is":328,inherits:387}],512:[function(t,r,n){(function(e,n,i){"use strict";var o=t("process-nextick-args");function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(void 0),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}r.exports=g;var s,c=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?i:o.nextTick;g.WritableState=v;var u=Object.create(t("core-util-is"));u.inherits=t("inherits");var l,f={deprecate:t("util-deprecate")},h=t("./internal/streams/stream"),d=t("safe-buffer").Buffer,p=n.Uint8Array||function(){},m=t("./internal/streams/destroy");function b(){}function v(e,r){s=s||t("./_stream_duplex"),e=e||{};var n=r instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o.nextTick(i,n),o.nextTick(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),S(t,e))}(t,r,n,e,i);else{var a=O(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||x(t,r),n?c(w,t,r,a,i):w(t,r,a,i)}}(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(e){if(s=s||t("./_stream_duplex"),!(l.call(g,this)||this instanceof s))return new g(e);this._writableState=new v(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function y(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function w(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),S(t,e)}function x(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)i[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;i.allBuffers=c,y(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(y(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function O(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function _(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var r=O(e);return r&&(function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(_,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}u.inherits(g,h),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===g&&t&&t._writableState instanceof v}})):l=function(t){return t instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(t,e,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=t,d.isBuffer(n)||n instanceof p);return s&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"==typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof r&&(r=b),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),o.nextTick(e,r)}(this,r):(s||function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,t,r))&&(i.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=d.from(e,r)),e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else y(t,e,!1,s,n,i,o);return c}(this,i,s,t,e,r)),a},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||x(this,t))},g.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,S(t,e),r&&(e.finished?o.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":328,inherits:387,"process-nextick-args":466,"safe-buffer":494,timers:521,"util-deprecate":522}],513:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("util");e.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i=n.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=i,r=a,o.data.copy(e,r),a+=o.data.length,o=o.next;return i},t}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},{"safe-buffer":494,util:185}],514:[function(t,e,r){"use strict";var n=t("process-nextick-args");function i(t,e){t.emit("error",e)}e.exports={destroy:function(t,e){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(i,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":466}],515:[function(t,e,r){arguments[4][490][0].apply(r,arguments)},{dup:490,events:367}],516:[function(t,e,r){"use strict";e.exports=t("./readable").PassThrough},{"./readable":517}],517:[function(t,e,r){"use strict";(r=e.exports=t("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=t("./lib/_stream_writable.js"),r.Duplex=t("./lib/_stream_duplex.js"),r.Transform=t("./lib/_stream_transform.js"),r.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(t,e,r){"use strict";e.exports=t("./readable").Transform},{"./readable":517}],519:[function(t,e,r){"use strict";e.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=f,e=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}r.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},{"safe-buffer":494}],521:[function(t,e,r){(function(e,n){"use strict";var i=t("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}r.setTimeout=function(){return new u(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new u(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},r.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},r._unrefActive=r.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r.setImmediate="function"==typeof e?e:function(t){var e=c++,n=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,i((function(){s[e]&&(n?t.apply(null,n):t.call(null),r.clearImmediate(e))})),e},r.clearImmediate="function"==typeof n?n:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":467,timers:521}],522:[function(t,r,n){(function(t){"use strict";function e(e){try{if(!t.localStorage)return!1}catch(t){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}r.exports=function(t,r){if(e("noDeprecation"))return t;var n=!1;return function(){if(!n){if(e("throwDeprecation"))throw new Error(r);e("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return t.apply(this,arguments)}}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],523:[function(t,e,r){"use strict";"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},{}],524:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.exports=function(t){return t&&"object"===n(t)&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],525:[function(t,r,n){(function(e,r){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=/%[sdj%]/g;n.format=function(t){if(!g(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(c(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(t).replace(o,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),s=n[r];r<i;s=n[++r])b(s)||!x(s)?a+=" "+s:a+=" "+c(s);return a},n.deprecate=function(t,i){if(y(r.process))return function(){return n.deprecate(t,i).apply(this,arguments)};if(!0===e.noDeprecation)return t;var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(i);e.traceDeprecation?console.trace(i):console.error(i),o=!0}return t.apply(this,arguments)}};var a,s={};function c(t,e){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(e)?r.showHidden=e:e&&n._extend(r,e),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),f(r,t,r.depth)}function u(t,e){var r=c.styles[e];return r?"\x1b["+c.colors[r][0]+"m"+t+"\x1b["+c.colors[r][1]+"m":t}function l(t,e){return t}function f(t,e,r){if(t.customInspect&&e&&S(e.inspect)&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(r,t);return g(i)||(i=f(t,i,r)),i}var o=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(g(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return v(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):b(e)?t.stylize("null","null"):void 0}(t,e);if(o)return o;var a=Object.keys(e),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),_(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(e);if(0===a.length){if(S(e)){var c=e.name?": "+e.name:"";return t.stylize("[Function"+c+"]","special")}if(w(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(O(e))return t.stylize(Date.prototype.toString.call(e),"date");if(_(e))return h(e)}var u,l="",x=!1,k=["{","}"];return p(e)&&(x=!0,k=["[","]"]),S(e)&&(l=" [Function"+(e.name?": "+e.name:"")+"]"),w(e)&&(l=" "+RegExp.prototype.toString.call(e)),O(e)&&(l=" "+Date.prototype.toUTCString.call(e)),_(e)&&(l=" "+h(e)),0!==a.length||x&&0!=e.length?r<0?w(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=x?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)j(e,String(a))?o.push(d(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(t,e,r,n,i,!0))})),o}(t,e,r,s,a):a.map((function(n){return d(t,e,r,s,n,x)})),t.seen.pop(),function(t,e,r){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(u,l,k)):k[0]+l+k[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,r,n,i,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),j(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(c.value)<0?(s=b(r)?f(t,c.value,null):f(t,c.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function p(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function b(t){return null===t}function v(t){return"number"==typeof t}function g(t){return"string"==typeof t}function y(t){return void 0===t}function w(t){return x(t)&&"[object RegExp]"===k(t)}function x(t){return"object"===i(t)&&null!==t}function O(t){return x(t)&&"[object Date]"===k(t)}function _(t){return x(t)&&("[object Error]"===k(t)||t instanceof Error)}function S(t){return"function"==typeof t}function k(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}n.debuglog=function(t){if(y(a)&&(a=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!s[t])if(new RegExp("\\b"+t+"\\b","i").test(a)){var r=e.pid;s[t]=function(){var e=n.format.apply(n,arguments);console.error("%s %d: %s",t,r,e)}}else s[t]=function(){};return s[t]},n.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=p,n.isBoolean=m,n.isNull=b,n.isNullOrUndefined=function(t){return null==t},n.isNumber=v,n.isString=g,n.isSymbol=function(t){return"symbol"===i(t)},n.isUndefined=y,n.isRegExp=w,n.isObject=x,n.isDate=O,n.isError=_,n.isFunction=S,n.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===i(t)||void 0===t},n.isBuffer=t("./support/isBuffer");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var t=new Date,e=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":");return[t.getDate(),M[t.getMonth()],e].join(" ")}function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}n.log=function(){console.log("%s - %s",C(),n.format.apply(n,arguments))},n.inherits=t("inherits"),n._extend=function(t,e){if(!e||!x(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":524,_process:467,inherits:523}],526:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return f.default}});var n=h(t("./v1.js")),i=h(t("./v3.js")),o=h(t("./v4.js")),a=h(t("./v5.js")),s=h(t("./nil.js")),c=h(t("./version.js")),u=h(t("./validate.js")),l=h(t("./stringify.js")),f=h(t("./parse.js"));function h(t){return t&&t.__esModule?t:{default:t}}},{"./nil.js":528,"./parse.js":529,"./stringify.js":533,"./v1.js":534,"./v3.js":535,"./v4.js":537,"./v5.js":538,"./validate.js":539,"./version.js":540}],527:[function(t,e,r){"use strict";function n(t){return 14+(t+64>>>9<<4)+1}function i(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,n,o,a){return i((s=i(i(e,t),i(n,a)))<<(c=o)|s>>>32-c,r);var s,c}function a(t,e,r,n,i,a,s){return o(e&r|~e&n,t,e,i,a,s)}function s(t,e,r,n,i,a,s){return o(e&n|r&~n,t,e,i,a,s)}function c(t,e,r,n,i,a,s){return o(e^r^n,t,e,i,a,s)}function u(t,e,r,n,i,a,s){return o(r^(e|~n),t,e,i,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var r=0;r<e.length;++r)t[r]=e.charCodeAt(r)}return function(t){for(var e=[],r=32*t.length,n=0;n<r;n+=8){var i=t[n>>5]>>>n%32&255,o=parseInt("0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i),16);e.push(o)}return e}(function(t,e){t[e>>5]|=128<<e%32,t[n(e)-1]=e;for(var r=1732584193,o=-271733879,l=-1732584194,f=271733878,h=0;h<t.length;h+=16){var d=r,p=o,m=l,b=f;r=a(r,o,l,f,t[h],7,-680876936),f=a(f,r,o,l,t[h+1],12,-389564586),l=a(l,f,r,o,t[h+2],17,606105819),o=a(o,l,f,r,t[h+3],22,-1044525330),r=a(r,o,l,f,t[h+4],7,-176418897),f=a(f,r,o,l,t[h+5],12,1200080426),l=a(l,f,r,o,t[h+6],17,-1473231341),o=a(o,l,f,r,t[h+7],22,-45705983),r=a(r,o,l,f,t[h+8],7,1770035416),f=a(f,r,o,l,t[h+9],12,-1958414417),l=a(l,f,r,o,t[h+10],17,-42063),o=a(o,l,f,r,t[h+11],22,-1990404162),r=a(r,o,l,f,t[h+12],7,1804603682),f=a(f,r,o,l,t[h+13],12,-40341101),l=a(l,f,r,o,t[h+14],17,-1502002290),r=s(r,o=a(o,l,f,r,t[h+15],22,1236535329),l,f,t[h+1],5,-165796510),f=s(f,r,o,l,t[h+6],9,-1069501632),l=s(l,f,r,o,t[h+11],14,643717713),o=s(o,l,f,r,t[h],20,-373897302),r=s(r,o,l,f,t[h+5],5,-701558691),f=s(f,r,o,l,t[h+10],9,38016083),l=s(l,f,r,o,t[h+15],14,-660478335),o=s(o,l,f,r,t[h+4],20,-405537848),r=s(r,o,l,f,t[h+9],5,568446438),f=s(f,r,o,l,t[h+14],9,-1019803690),l=s(l,f,r,o,t[h+3],14,-187363961),o=s(o,l,f,r,t[h+8],20,1163531501),r=s(r,o,l,f,t[h+13],5,-1444681467),f=s(f,r,o,l,t[h+2],9,-51403784),l=s(l,f,r,o,t[h+7],14,1735328473),r=c(r,o=s(o,l,f,r,t[h+12],20,-1926607734),l,f,t[h+5],4,-378558),f=c(f,r,o,l,t[h+8],11,-2022574463),l=c(l,f,r,o,t[h+11],16,1839030562),o=c(o,l,f,r,t[h+14],23,-35309556),r=c(r,o,l,f,t[h+1],4,-1530992060),f=c(f,r,o,l,t[h+4],11,1272893353),l=c(l,f,r,o,t[h+7],16,-155497632),o=c(o,l,f,r,t[h+10],23,-1094730640),r=c(r,o,l,f,t[h+13],4,681279174),f=c(f,r,o,l,t[h],11,-358537222),l=c(l,f,r,o,t[h+3],16,-722521979),o=c(o,l,f,r,t[h+6],23,76029189),r=c(r,o,l,f,t[h+9],4,-640364487),f=c(f,r,o,l,t[h+12],11,-421815835),l=c(l,f,r,o,t[h+15],16,530742520),r=u(r,o=c(o,l,f,r,t[h+2],23,-995338651),l,f,t[h],6,-198630844),f=u(f,r,o,l,t[h+7],10,1126891415),l=u(l,f,r,o,t[h+14],15,-1416354905),o=u(o,l,f,r,t[h+5],21,-57434055),r=u(r,o,l,f,t[h+12],6,1700485571),f=u(f,r,o,l,t[h+3],10,-1894986606),l=u(l,f,r,o,t[h+10],15,-1051523),o=u(o,l,f,r,t[h+1],21,-2054922799),r=u(r,o,l,f,t[h+8],6,1873313359),f=u(f,r,o,l,t[h+15],10,-30611744),l=u(l,f,r,o,t[h+6],15,-1560198380),o=u(o,l,f,r,t[h+13],21,1309151649),r=u(r,o,l,f,t[h+4],6,-145523070),f=u(f,r,o,l,t[h+11],10,-1120210379),l=u(l,f,r,o,t[h+2],15,718787259),o=u(o,l,f,r,t[h+9],21,-343485551),r=i(r,d),o=i(o,p),l=i(l,m),f=i(f,b)}return[r,o,l,f]}(function(t){if(0===t.length)return[];for(var e=8*t.length,r=new Uint32Array(n(e)),i=0;i<e;i+=8)r[i>>5]|=(255&t[i/8])<<i%32;return r}(t),8*t.length))}},{}],528:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default="00000000-0000-0000-0000-000000000000"},{}],529:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=t("./validate.js"))&&n.__esModule?n:{default:n};r.default=function(t){if(!(0,i.default)(t))throw TypeError("Invalid UUID");var e,r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r}},{"./validate.js":539}],530:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],531:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)};var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16)},{}],532:[function(t,e,r){"use strict";function n(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:return e^r^n;case 2:return e&r^e&n^r&n;case 3:return e^r^n}}function i(t,e){return t<<e|t>>>32-e}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(t){var e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var o=unescape(encodeURIComponent(t));t=[];for(var a=0;a<o.length;++a)t.push(o.charCodeAt(a))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var s=t.length/4+2,c=Math.ceil(s/16),u=new Array(c),l=0;l<c;++l){for(var f=new Uint32Array(16),h=0;h<16;++h)f[h]=t[64*l+4*h]<<24|t[64*l+4*h+1]<<16|t[64*l+4*h+2]<<8|t[64*l+4*h+3];u[l]=f}u[c-1][14]=8*(t.length-1)/Math.pow(2,32),u[c-1][14]=Math.floor(u[c-1][14]),u[c-1][15]=8*(t.length-1)&4294967295;for(var d=0;d<c;++d){for(var p=new Uint32Array(80),m=0;m<16;++m)p[m]=u[d][m];for(var b=16;b<80;++b)p[b]=i(p[b-3]^p[b-8]^p[b-14]^p[b-16],1);for(var v=r[0],g=r[1],y=r[2],w=r[3],x=r[4],O=0;O<80;++O){var _=Math.floor(O/20),S=i(v,5)+n(_,g,y,w)+x+e[_]+p[O]>>>0;x=w,w=y,y=i(g,30)>>>0,g=v,v=S}r[0]=r[0]+v>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+y>>>0,r[3]=r[3]+w>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}},{}],533:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;for(var n,i=(n=t("./validate.js"))&&n.__esModule?n:{default:n},o=[],a=0;a<256;++a)o.push((a+256).toString(16).substr(1));r.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase();if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid");return r}},{"./validate.js":539}],534:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i,o=s(t("./rng.js")),a=s(t("./stringify.js"));function s(t){return t&&t.__esModule?t:{default:t}}var c=0,u=0;r.default=function(t,e,r){var s=e&&r||0,l=e||new Array(16),f=(t=t||{}).node||n,h=void 0!==t.clockseq?t.clockseq:i;if(null==f||null==h){var d=t.random||(t.rng||o.default)();null==f&&(f=n=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==h&&(h=i=16383&(d[6]<<8|d[7]))}var p=void 0!==t.msecs?t.msecs:Date.now(),m=void 0!==t.nsecs?t.nsecs:u+1,b=p-c+(m-u)/1e4;if(b<0&&void 0===t.clockseq&&(h=h+1&16383),(b<0||p>c)&&void 0===t.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=p,u=m,i=h;var v=(1e4*(268435455&(p+=122192928e5))+m)%4294967296;l[s++]=v>>>24&255,l[s++]=v>>>16&255,l[s++]=v>>>8&255,l[s++]=255&v;var g=p/4294967296*1e4&268435455;l[s++]=g>>>8&255,l[s++]=255&g,l[s++]=g>>>24&15|16,l[s++]=g>>>16&255,l[s++]=h>>>8|128,l[s++]=255&h;for(var y=0;y<6;++y)l[s+y]=f[y];return e||(0,a.default)(l)}},{"./rng.js":531,"./stringify.js":533}],535:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(t("./v35.js")),i=o(t("./md5.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a=(0,n.default)("v3",48,i.default);r.default=a},{"./md5.js":527,"./v35.js":536}],536:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e,r){function o(t,o,a,s){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}(t)),"string"==typeof o&&(o=(0,i.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var c=new Uint8Array(16+t.length);if(c.set(o),c.set(t,o.length),(c=r(c))[6]=15&c[6]|e,c[8]=63&c[8]|128,a){s=s||0;for(var u=0;u<16;++u)a[s+u]=c[u];return a}return(0,n.default)(c)}try{o.name=t}catch(t){}return o.DNS=a,o.URL=s,o},r.URL=r.DNS=void 0;var n=o(t("./stringify.js")),i=o(t("./parse.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";r.DNS=a;var s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";r.URL=s},{"./parse.js":529,"./stringify.js":533}],537:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(t("./rng.js")),i=o(t("./stringify.js"));function o(t){return t&&t.__esModule?t:{default:t}}r.default=function(t,e,r){var o=(t=t||{}).random||(t.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e){r=r||0;for(var a=0;a<16;++a)e[r+a]=o[a];return e}return(0,i.default)(o)}},{"./rng.js":531,"./stringify.js":533}],538:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(t("./v35.js")),i=o(t("./sha1.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a=(0,n.default)("v5",80,i.default);r.default=a},{"./sha1.js":532,"./v35.js":536}],539:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=t("./regex.js"))&&n.__esModule?n:{default:n};r.default=function(t){return"string"==typeof t&&i.default.test(t)}},{"./regex.js":530}],540:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=t("./validate.js"))&&n.__esModule?n:{default:n};r.default=function(t){if(!(0,i.default)(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}},{"./validate.js":539}],541:[function(t,e,r){"use strict";function n(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.CHAR="\t\n\r -\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff",r.S=" \t\r\n",r.NAME_START_CHAR=":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",r.NAME_CHAR="-"+r.NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",r.CHAR_RE=new RegExp("^["+r.CHAR+"]$","u"),r.S_RE=new RegExp("^["+r.S+"]+$","u"),r.NAME_START_CHAR_RE=new RegExp("^["+r.NAME_START_CHAR+"]$","u"),r.NAME_CHAR_RE=new RegExp("^["+r.NAME_CHAR+"]$","u"),r.NAME_RE=new RegExp("^["+r.NAME_START_CHAR+"]["+r.NAME_CHAR+"]*$","u"),r.NMTOKEN_RE=new RegExp("^["+r.NAME_CHAR+"]+$","u"),r.S_LIST=[32,10,13,9],r.isChar=function(t){return t>=32&&t<=55295||10===t||13===t||9===t||t>=57344&&t<=65533||t>=65536&&t<=1114111},r.isS=function(t){return 32===t||10===t||13===t||9===t},r.isNameStartChar=n,r.isNameChar=function(t){return n(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},{}],542:[function(t,e,r){"use strict";function n(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.CHAR="\x01-\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff",r.RESTRICTED_CHAR="\x01-\b\v\f\x0e-\x1f\x7f-\x84\x86-\x9f",r.S=" \t\r\n",r.NAME_START_CHAR=":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",r.NAME_CHAR="-"+r.NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",r.CHAR_RE=new RegExp("^["+r.CHAR+"]$","u"),r.RESTRICTED_CHAR_RE=new RegExp("^["+r.RESTRICTED_CHAR+"]$","u"),r.S_RE=new RegExp("^["+r.S+"]+$","u"),r.NAME_START_CHAR_RE=new RegExp("^["+r.NAME_START_CHAR+"]$","u"),r.NAME_CHAR_RE=new RegExp("^["+r.NAME_CHAR+"]$","u"),r.NAME_RE=new RegExp("^["+r.NAME_START_CHAR+"]["+r.NAME_CHAR+"]*$","u"),r.NMTOKEN_RE=new RegExp("^["+r.NAME_CHAR+"]+$","u"),r.S_LIST=[32,10,13,9],r.isChar=function(t){return t>=1&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},r.isRestrictedChar=function(t){return t>=1&&t<=8||11===t||12===t||t>=14&&t<=31||t>=127&&t<=132||t>=134&&t<=159},r.isCharAndNotRestricted=function(t){return 9===t||10===t||13===t||t>31&&t<127||133===t||t>159&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},r.isS=function(t){return 32===t||10===t||13===t||9===t},r.isNameStartChar=n,r.isNameChar=function(t){return n(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},{}],543:[function(t,e,r){"use strict";function n(t){return t>=65&&t<=90||95===t||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.NC_NAME_START_CHAR="A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",r.NC_NAME_CHAR="-"+r.NC_NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",r.NC_NAME_START_CHAR_RE=new RegExp("^["+r.NC_NAME_START_CHAR+"]$","u"),r.NC_NAME_CHAR_RE=new RegExp("^["+r.NC_NAME_CHAR+"]$","u"),r.NC_NAME_RE=new RegExp("^["+r.NC_NAME_START_CHAR+"]["+r.NC_NAME_CHAR+"]*$","u"),r.isNCNameStartChar=n,r.isNCNameChar=function(t){return n(t)||45===t||46===t||t>=48&&t<=57||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},{}]},{},[15])(15)}).call(this,r(120))},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined");e.default=a},function(t,e,r){var n=r(801),i=r(1261),o=r(1265),a=r(484),s=o((function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])}));t.exports=s},function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(0),i=r.n(n),o=r(80),a=r(42);function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function f(t){var e=t.offset,r=t.layout,n=t.width,u=t.dataKey,f=t.data,h=t.dataPointFormatter,d=t.xAxis,p=t.yAxis,m=l(t,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),b=Object(a.c)(m),v=f.map((function(t,a){var l=h(t,u),f=l.x,m=l.y,v=l.value,g=l.errorVal;if(!g)return null;var y,w,x=[];if(Array.isArray(g)){var O=c(g,2);y=O[0],w=O[1]}else y=w=g;if("vertical"===r){var _=d.scale,S=m+e,k=S+n,E=S-n,M=_(v-y),C=_(v+w);x.push({x1:C,y1:k,x2:C,y2:E}),x.push({x1:M,y1:S,x2:C,y2:S}),x.push({x1:M,y1:k,x2:M,y2:E})}else if("horizontal"===r){var j=p.scale,A=f+e,T=A-n,P=A+n,D=j(v-y),R=j(v+w);x.push({x1:T,y1:R,x2:P,y2:R}),x.push({x1:A,y1:D,x2:A,y2:R}),x.push({x1:T,y1:D,x2:P,y2:D})}return i.a.createElement(o.a,s({className:"recharts-errorBar",key:"bar-".concat(a)},b),x.map((function(t,e){return i.a.createElement("line",s({},t,{key:"line-".concat(e)}))})))}));return i.a.createElement(o.a,{className:"recharts-errorBars"},v)}f.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},f.displayName="ErrorBar"},function(t,e,r){"use strict";var n=/\s/;var i=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e},o=/^\s+/;var a=function(t){return t?t.slice(0,i(t)+1).replace(o,""):t},s=r(184),c=r(278),u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,f=/^0o[0-7]+$/i,h=parseInt;var d=function(t){if("number"==typeof t)return t;if(Object(c.a)(t))return NaN;if(Object(s.a)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Object(s.a)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=a(t);var r=l.test(t);return r||f.test(t)?h(t.slice(2),r?2:8):u.test(t)?NaN:+t};var p=function(t){return t?(t=d(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0};e.a=function(t){var e=p(t),r=e%1;return e===e?r?e-r:e:0}},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(24),l=r(13),f=r(220),h=r(170),d=r(1446),p=r(339),m=r(340);function b(t){return Object(p.a)("PrivateSwitchBase",t)}Object(m.a)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=r(6),g=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],y=Object(l.a)(d.a,{skipSx:!0})((function(t){var e=t.ownerState;return Object(o.a)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})})),w=Object(l.a)("input",{skipSx:!0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),x=a.forwardRef((function(t,e){var r=t.autoFocus,a=t.checked,l=t.checkedIcon,d=t.className,p=t.defaultChecked,m=t.disabled,x=t.disableFocusRipple,O=void 0!==x&&x,_=t.edge,S=void 0!==_&&_,k=t.icon,E=t.id,M=t.inputProps,C=t.inputRef,j=t.name,A=t.onBlur,T=t.onChange,P=t.onFocus,D=t.readOnly,R=t.required,L=t.tabIndex,I=t.type,N=t.value,F=Object(i.a)(t,g),B=Object(f.a)({controlled:a,default:Boolean(p),name:"SwitchBase",state:"checked"}),z=Object(n.a)(B,2),H=z[0],U=z[1],W=Object(h.a)(),q=m;W&&"undefined"===typeof q&&(q=W.disabled);var V="checkbox"===I||"radio"===I,G=Object(o.a)({},t,{checked:H,disabled:q,disableFocusRipple:O,edge:S}),Y=function(t){var e=t.classes,r=t.checked,n=t.disabled,i=t.edge,o={root:["root",r&&"checked",n&&"disabled",i&&"edge".concat(Object(u.a)(i))],input:["input"]};return Object(c.a)(o,b,e)}(G);return Object(v.jsxs)(y,Object(o.a)({component:"span",className:Object(s.a)(Y.root,d),centerRipple:!0,focusRipple:!O,disabled:q,tabIndex:null,role:void 0,onFocus:function(t){P&&P(t),W&&W.onFocus&&W.onFocus(t)},onBlur:function(t){A&&A(t),W&&W.onBlur&&W.onBlur(t)},ownerState:G,ref:e},F,{children:[Object(v.jsx)(w,Object(o.a)({autoFocus:r,checked:a,defaultChecked:p,className:Y.input,disabled:q,id:V&&E,name:j,onChange:function(t){if(!t.nativeEvent.defaultPrevented){var e=t.target.checked;U(e),T&&T(t,e)}},readOnly:D,ref:C,required:R,ownerState:G,tabIndex:L,type:I},"checkbox"===I&&void 0===N?{}:{value:N},M)),H?l:k]}))}));e.a=x},function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}r.d(e,"a",(function(){return i}))},function(t,e,r){"use strict";var n=r(0),i=r.n(n);e.a=i.a.createContext(null)},,function(t,e,r){"use strict";e.a=function(t){return function(){return t}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}));var n=Math.PI/180,i=180/Math.PI},function(t,e,r){"use strict";r.d(e,"a",(function(){return pc})),r.d(e,"b",(function(){return Ec}));var n={version:"0.18.5"},i=1200,o=1252,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],s={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},c=function(t){-1!=a.indexOf(t)&&(o=s[0]=t)};var u=function(t){i=t,c(t)};function l(){u(1200),c(1252)}function f(t){for(var e=[],r=0,n=t.length;r<n;++r)e[r]=t.charCodeAt(r);return e}function h(t){for(var e=[],r=0;r<t.length>>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r+1)+(t.charCodeAt(2*r)<<8));return e.join("")}var d,p=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return 255==e&&254==r?function(t){for(var e=[],r=0;r<t.length>>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r)+(t.charCodeAt(2*r+1)<<8));return e.join("")}(t.slice(2)):254==e&&255==r?h(t.slice(2)):65279==e?t.slice(1):t},m=function(t){return String.fromCharCode(t)},b=function(t){return String.fromCharCode(t)};var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function g(t){for(var e="",r=0,n=0,i=0,o=0,a=0,s=0,c=0,u=0;u<t.length;)o=(r=t.charCodeAt(u++))>>2,a=(3&r)<<4|(n=t.charCodeAt(u++))>>4,s=(15&n)<<2|(i=t.charCodeAt(u++))>>6,c=63&i,isNaN(n)?s=c=64:isNaN(i)&&(c=64),e+=v.charAt(o)+v.charAt(a)+v.charAt(s)+v.charAt(c);return e}function y(t){var e="",r=0,n=0,i=0,o=0,a=0,s=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<t.length;)r=v.indexOf(t.charAt(c++))<<2|(o=v.indexOf(t.charAt(c++)))>>4,e+=String.fromCharCode(r),n=(15&o)<<4|(a=v.indexOf(t.charAt(c++)))>>2,64!==a&&(e+=String.fromCharCode(n)),i=(3&a)<<6|(s=v.indexOf(t.charAt(c++))),64!==s&&(e+=String.fromCharCode(i));return e}var w=function(){return"undefined"!==typeof Buffer&&"undefined"!==typeof process&&"undefined"!==typeof process.versions&&!!process.versions.node}(),x=function(){if("undefined"!==typeof Buffer){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch(e){t=!0}return t?function(t,e){return e?new Buffer(t,e):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function O(t){return w?Buffer.alloc?Buffer.alloc(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}function _(t){return w?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}var S=function(t){return w?x(t,"binary"):t.split("").map((function(t){return 255&t.charCodeAt(0)}))};function k(t){if(Array.isArray(t))return t.map((function(t){return String.fromCharCode(t)})).join("");for(var e=[],r=0;r<t.length;++r)e[r]=String.fromCharCode(t[r]);return e.join("")}function E(t){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(t instanceof ArrayBuffer)return E(new Uint8Array(t));for(var e=new Array(t.length),r=0;r<t.length;++r)e[r]=t[r];return e}var M=w?function(t){return Buffer.concat(t.map((function(t){return Buffer.isBuffer(t)?t:x(t)})))}:function(t){if("undefined"!==typeof Uint8Array){var e=0,r=0;for(e=0;e<t.length;++e)r+=t[e].length;var n=new Uint8Array(r),i=0;for(e=0,r=0;e<t.length;r+=i,++e)if(i=t[e].length,t[e]instanceof Uint8Array)n.set(t[e],r);else{if("string"==typeof t[e])throw"wtf";n.set(new Uint8Array(t[e]),r)}return n}return[].concat.apply([],t.map((function(t){return Array.isArray(t)?t:[].slice.call(t)})))};var C=/\u0000/g,j=/[\u0001-\u0006]/g;function A(t){for(var e="",r=t.length-1;r>=0;)e+=t.charAt(r--);return e}function T(t,e){var r=""+t;return r.length>=e?r:Bt("0",e-r.length)+r}function P(t,e){var r=""+t;return r.length>=e?r:Bt(" ",e-r.length)+r}function D(t,e){var r=""+t;return r.length>=e?r:r+Bt(" ",e-r.length)}var R=Math.pow(2,32);function L(t,e){return t>R||t<-R?function(t,e){var r=""+Math.round(t);return r.length>=e?r:Bt("0",e-r.length)+r}(t,e):function(t,e){var r=""+t;return r.length>=e?r:Bt("0",e-r.length)+r}(Math.round(t),e)}function I(t,e){return e=e||0,t.length>=7+e&&103===(32|t.charCodeAt(e))&&101===(32|t.charCodeAt(e+1))&&110===(32|t.charCodeAt(e+2))&&101===(32|t.charCodeAt(e+3))&&114===(32|t.charCodeAt(e+4))&&97===(32|t.charCodeAt(e+5))&&108===(32|t.charCodeAt(e+6))}var N=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],F=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var B={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},z={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},H={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function U(t,e,r){for(var n=t<0?-1:1,i=t*n,o=0,a=1,s=0,c=1,u=0,l=0,f=Math.floor(i);u<e&&(s=(f=Math.floor(i))*a+o,l=f*u+c,!(i-f<5e-8));)i=1/(i-f),o=a,a=s,c=u,u=l;if(l>e&&(u>e?(l=c,s=o):(l=u,s=a)),!r)return[0,n*s,l];var h=Math.floor(n*s/l);return[h,n*s-h*l,l]}function W(t,e,r){if(t>2958465||t<0)return null;var n=0|t,i=Math.floor(86400*(t-n)),o=0,a=[],s={D:n,T:i,u:86400*(t-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),e&&e.date1904&&(n+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++n,++s.D)),60===n)a=r?[1317,10,29]:[1900,2,29],o=3;else if(0===n)a=r?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),a=[c.getFullYear(),c.getMonth()+1,c.getDate()],o=c.getDay(),n<60&&(o=(o+6)%7),r&&(o=function(t,e){e[0]-=581;var r=t.getDay();t<60&&(r=(r+6)%7);return r}(c,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}var q=new Date(1899,11,31,0,0,0),V=q.getTime(),G=new Date(1900,2,1,0,0,0);function Y(t,e){var r=t.getTime();return e?r-=1262304e5:t>=G&&(r+=864e5),(r-(V+6e4*(t.getTimezoneOffset()-q.getTimezoneOffset())))/864e5}function X(t){return-1==t.indexOf(".")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function K(t){var e,r=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return e=r>=-4&&r<=-1?t.toPrecision(10+r):Math.abs(r)<=9?function(t){var e=t<0?12:11,r=X(t.toFixed(12));return r.length<=e||(r=t.toPrecision(10)).length<=e?r:t.toExponential(5)}(t):10===r?t.toFixed(10).substr(0,12):function(t){var e=X(t.toFixed(11));return e.length>(t<0?12:11)||"0"===e||"-0"===e?t.toPrecision(6):e}(t),X(function(t){return-1==t.indexOf("E")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(e.toUpperCase()))}function Z(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(0|t)===t?t.toString(10):K(t);case"undefined":return"";case"object":if(null==t)return"";if(t instanceof Date)return bt(14,Y(t,e&&e.date1904),e)}throw new Error("unsupported value in General format: "+t)}function J(t,e,r,n){var i,o="",a=0,s=0,c=r.y,u=0;switch(t){case 98:c=r.y+543;case 121:switch(e.length){case 1:case 2:i=c%100,u=2;break;default:i=c%1e4,u=4}break;case 109:switch(e.length){case 1:case 2:i=r.m,u=e.length;break;case 3:return F[r.m-1][1];case 5:return F[r.m-1][0];default:return F[r.m-1][2]}break;case 100:switch(e.length){case 1:case 2:i=r.d,u=e.length;break;case 3:return N[r.q][0];default:return N[r.q][1]}break;case 104:switch(e.length){case 1:case 2:i=1+(r.H+11)%12,u=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:i=r.H,u=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:i=r.M,u=e.length;break;default:throw"bad minute format: "+e}break;case 115:if("s"!=e&&"ss"!=e&&".0"!=e&&".00"!=e&&".000"!=e)throw"bad second format: "+e;return 0!==r.u||"s"!=e&&"ss"!=e?(s=n>=2?3===n?1e3:100:1===n?10:1,(a=Math.round(s*(r.S+r.u)))>=60*s&&(a=0),"s"===e?0===a?"0":""+a/s:(o=T(a,2+n),"ss"===e?o.substr(0,2):"."+o.substr(2,e.length-1))):T(r.S,e.length);case 90:switch(e){case"[h]":case"[hh]":i=24*r.D+r.H;break;case"[m]":case"[mm]":i=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":i=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+e}u=3===e.length?1:2;break;case 101:i=c,u=1}return u>0?T(i,u):""}function Q(t){if(t.length<=3)return t;for(var e=t.length%3,r=t.substr(0,e);e!=t.length;e+=3)r+=(r.length>0?",":"")+t.substr(e,3);return r}var tt=/%/g;var et=/# (\?+)( ?)\/( ?)(\d+)/;var rt=/^#*0*\.([0#]+)/,nt=/\).*[0#]/,it=/\(###\) ###\\?-####/;function ot(t){for(var e,r="",n=0;n!=t.length;++n)switch(e=t.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(e)}return r}function at(t,e){var r=Math.pow(10,e);return""+Math.round(t*r)/r}function st(t,e){var r=t-Math.floor(t),n=Math.pow(10,e);return e<(""+Math.round(r*n)).length?0:Math.round(r*n)}function ct(t,e,r){if(40===t.charCodeAt(0)&&!e.match(nt)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ct("n",n,r):"("+ct("n",n,-r)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,r){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return lt(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}(t,e,r);if(-1!==e.indexOf("%"))return function(t,e,r){var n=e.replace(tt,""),i=e.length-n.length;return lt(t,n,r*Math.pow(10,2*i))+Bt("%",i)}(t,e,r);if(-1!==e.indexOf("E"))return function t(e,r){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+t(e,-r);var o=e.indexOf(".");-1===o&&(o=e.indexOf("E"));var a=Math.floor(Math.log(r)*Math.LOG10E)%o;if(a<0&&(a+=o),-1===(n=(r/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).indexOf("e")){var s=Math.floor(Math.log(r)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,o)+"."+n.substr(2+o)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,r,n){return e+r+n.substr(0,(o+a)%o)+"."+n.substr(a)+"E"}))}else n=r.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(e,r);if(36===e.charCodeAt(0))return"$"+ct(t,e.substr(" "==e.charAt(1)?2:1),r);var i,o,a,s,c=Math.abs(r),u=r<0?"-":"";if(e.match(/^00+$/))return u+L(c,e.length);if(e.match(/^[#?]+$/))return"0"===(i=L(r,0))&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,r){var n=parseInt(t[4],10),i=Math.round(e*n),o=Math.floor(i/n),a=i-o*n,s=n;return r+(0===o?"":""+o)+" "+(0===a?Bt(" ",t[1].length+1+t[4].length):P(a,t[1].length)+t[2]+"/"+t[3]+T(s,t[4].length))}(o,c,u);if(e.match(/^#+0+$/))return u+L(c,e.length-e.indexOf("0"));if(o=e.match(rt))return i=at(r,o[1].length).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1])).replace(/\.(\d*)$/,(function(t,e){return"."+e+Bt("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return u+at(c,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return u+Q(L(c,0));if(o=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ct(t,e,-r):Q(""+(Math.floor(r)+function(t,e){return e<(""+Math.round((t-Math.floor(t))*Math.pow(10,e))).length?1:0}(r,o[1].length)))+"."+T(st(r,o[1].length),o[1].length);if(o=e.match(/^#,#*,#0/))return ct(t,e.replace(/^#,#*,/,""),r);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=A(ct(t,e.replace(/[\\-]/g,""),r)),a=0,A(A(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a<i.length?i.charAt(a++):"0"===t?"0":""})));if(e.match(it))return"("+(i=ct(t,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var l="";if(o=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(o[4].length,7),s=U(c,Math.pow(10,a)-1,!1),i=""+u," "==(l=lt("n",o[1],s[1])).charAt(l.length-1)&&(l=l.substr(0,l.length-1)+"0"),i+=l+o[2]+"/"+o[3],(l=D(s[2],a)).length<o[4].length&&(l=ot(o[4].substr(o[4].length-l.length))+l),i+=l;if(o=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(Math.max(o[1].length,o[4].length),7),u+((s=U(c,Math.pow(10,a)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?P(s[1],a)+o[2]+"/"+o[3]+D(s[2],a):Bt(" ",2*a+1+o[2].length+o[3].length));if(o=e.match(/^[#0?]+$/))return i=L(r,0),e.length<=i.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(/^([#0?]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),a=i.indexOf(".");var f=e.indexOf(".")-a,h=e.length-i.length-f;return ot(e.substr(0,f)+i+e.substr(e.length-h))}if(o=e.match(/^00,000\.([#0]*0)$/))return a=st(r,o[1].length),r<0?"-"+ct(t,e,-r):Q(function(t){return t<2147483647&&t>-2147483648?""+(t>=0?0|t:t-1|0):""+Math.floor(t)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(t){return"00,"+(t.length<3?T(0,3-t.length):"")+t}))+"."+T(a,o[1].length);switch(e){case"###,##0.00":return ct(t,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=Q(L(c,0));return"0"!==d?u+d:"";case"###,###.00":return ct(t,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return ct(t,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+e+"|")}function ut(t,e,r){if(40===t.charCodeAt(0)&&!e.match(nt)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ut("n",n,r):"("+ut("n",n,-r)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,r){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return lt(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}(t,e,r);if(-1!==e.indexOf("%"))return function(t,e,r){var n=e.replace(tt,""),i=e.length-n.length;return lt(t,n,r*Math.pow(10,2*i))+Bt("%",i)}(t,e,r);if(-1!==e.indexOf("E"))return function t(e,r){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+t(e,-r);var o=e.indexOf(".");-1===o&&(o=e.indexOf("E"));var a=Math.floor(Math.log(r)*Math.LOG10E)%o;if(a<0&&(a+=o),!(n=(r/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).match(/[Ee]/)){var s=Math.floor(Math.log(r)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,r,n){return e+r+n.substr(0,(o+a)%o)+"."+n.substr(a)+"E"}))}else n=r.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(e,r);if(36===e.charCodeAt(0))return"$"+ut(t,e.substr(" "==e.charAt(1)?2:1),r);var i,o,a,s,c=Math.abs(r),u=r<0?"-":"";if(e.match(/^00+$/))return u+T(c,e.length);if(e.match(/^[#?]+$/))return i=""+r,0===r&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,r){return r+(0===e?"":""+e)+Bt(" ",t[1].length+2+t[4].length)}(o,c,u);if(e.match(/^#+0+$/))return u+T(c,e.length-e.indexOf("0"));if(o=e.match(rt))return i=(i=(""+r).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1]))).replace(/\.(\d*)$/,(function(t,e){return"."+e+Bt("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return u+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return u+Q(""+c);if(o=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ut(t,e,-r):Q(""+r)+"."+Bt("0",o[1].length);if(o=e.match(/^#,#*,#0/))return ut(t,e.replace(/^#,#*,/,""),r);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=A(ut(t,e.replace(/[\\-]/g,""),r)),a=0,A(A(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a<i.length?i.charAt(a++):"0"===t?"0":""})));if(e.match(it))return"("+(i=ut(t,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var l="";if(o=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(o[4].length,7),s=U(c,Math.pow(10,a)-1,!1),i=""+u," "==(l=lt("n",o[1],s[1])).charAt(l.length-1)&&(l=l.substr(0,l.length-1)+"0"),i+=l+o[2]+"/"+o[3],(l=D(s[2],a)).length<o[4].length&&(l=ot(o[4].substr(o[4].length-l.length))+l),i+=l;if(o=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(Math.max(o[1].length,o[4].length),7),u+((s=U(c,Math.pow(10,a)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?P(s[1],a)+o[2]+"/"+o[3]+D(s[2],a):Bt(" ",2*a+1+o[2].length+o[3].length));if(o=e.match(/^[#0?]+$/))return i=""+r,e.length<=i.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(/^([#0]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),a=i.indexOf(".");var f=e.indexOf(".")-a,h=e.length-i.length-f;return ot(e.substr(0,f)+i+e.substr(e.length-h))}if(o=e.match(/^00,000\.([#0]*0)$/))return r<0?"-"+ut(t,e,-r):Q(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(t){return"00,"+(t.length<3?T(0,3-t.length):"")+t}))+"."+T(0,o[1].length);switch(e){case"###,###":case"##,###":case"#,###":var d=Q(""+c);return"0"!==d?u+d:"";default:if(e.match(/\.[0#?]*$/))return ut(t,e.slice(0,e.lastIndexOf(".")),r)+ot(e.slice(e.lastIndexOf(".")))}throw new Error("unsupported format |"+e+"|")}function lt(t,e,r){return(0|r)===r?ut(t,e,r):ct(t,e,r)}var ft=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function ht(t){for(var e=0,r="",n="";e<t.length;)switch(r=t.charAt(e)){case"G":I(t,e)&&(e+=6),e++;break;case'"':for(;34!==t.charCodeAt(++e)&&e<t.length;);++e;break;case"\\":case"_":e+=2;break;case"@":++e;break;case"B":case"b":if("1"===t.charAt(e+1)||"2"===t.charAt(e+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4e0a":if("A/P"===t.substr(e,3).toUpperCase())return!0;if("AM/PM"===t.substr(e,5).toUpperCase())return!0;if("\u4e0a\u5348/\u4e0b\u5348"===t.substr(e,5).toUpperCase())return!0;++e;break;case"[":for(n=r;"]"!==t.charAt(e++)&&e<t.length;)n+=t.charAt(e);if(n.match(ft))return!0;break;case".":case"0":case"#":for(;e<t.length&&("0#?.,E+-%".indexOf(r=t.charAt(++e))>-1||"\\"==r&&"-"==t.charAt(e+1)&&"0#".indexOf(t.charAt(e+2))>-1););break;case"?":for(;t.charAt(++e)===r;);break;case"*":++e," "!=t.charAt(e)&&"*"!=t.charAt(e)||++e;break;case"(":case")":++e;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;e<t.length&&"0123456789".indexOf(t.charAt(++e))>-1;);break;case" ":default:++e}return!1}var dt=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function pt(t,e){if(null==e)return!1;var r=parseFloat(e[2]);switch(e[1]){case"=":if(t==r)return!0;break;case">":if(t>r)return!0;break;case"<":if(t<r)return!0;break;case"<>":if(t!=r)return!0;break;case">=":if(t>=r)return!0;break;case"<=":if(t<=r)return!0}return!1}function mt(t,e){var r=function(t){for(var e=[],r=!1,n=0,i=0;n<t.length;++n)switch(t.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:e[e.length]=t.substr(i,n-i),i=n+1}if(e[e.length]=t.substr(i),!0===r)throw new Error("Format |"+t+"| unterminated string ");return e}(t),n=r.length,i=r[n-1].indexOf("@");if(n<4&&i>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!==typeof e)return[4,4===r.length||i>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=i>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=i>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=i>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var o=e>0?r[0]:e<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,o];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var a=r[0].match(dt),s=r[1].match(dt);return pt(e,a)?[n,r[0]]:pt(e,s)?[n,r[1]]:[n,r[null!=a&&null!=s?2:1]]}return[n,o]}function bt(t,e,r){null==r&&(r={});var n="";switch(typeof t){case"string":n="m/d/yy"==t&&r.dateNF?r.dateNF:t;break;case"number":null==(n=14==t&&r.dateNF?r.dateNF:(null!=r.table?r.table:B)[t])&&(n=r.table&&r.table[z[t]]||B[z[t]]),null==n&&(n=H[t]||"General")}if(I(n,0))return Z(e,r);e instanceof Date&&(e=Y(e,r.date1904));var i=mt(n,e);if(I(i[1]))return Z(e,r);if(!0===e)e="TRUE";else if(!1===e)e="FALSE";else if(""===e||null==e)return"";return function(t,e,r,n){for(var i,o,a,s=[],c="",u=0,l="",f="t",h="H";u<t.length;)switch(l=t.charAt(u)){case"G":if(!I(t,u))throw new Error("unrecognized character "+l+" in "+t);s[s.length]={t:"G",v:"General"},u+=7;break;case'"':for(c="";34!==(a=t.charCodeAt(++u))&&u<t.length;)c+=String.fromCharCode(a);s[s.length]={t:"t",v:c},++u;break;case"\\":var d=t.charAt(++u),p="("===d||")"===d?d:"t";s[s.length]={t:p,v:d},++u;break;case"_":s[s.length]={t:"t",v:" "},u+=2;break;case"@":s[s.length]={t:"T",v:e},++u;break;case"B":case"b":if("1"===t.charAt(u+1)||"2"===t.charAt(u+1)){if(null==i&&null==(i=W(e,r,"2"===t.charAt(u+1))))return"";s[s.length]={t:"X",v:t.substr(u,2)},f=l,u+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":l=l.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(e<0)return"";if(null==i&&null==(i=W(e,r)))return"";for(c=l;++u<t.length&&t.charAt(u).toLowerCase()===l;)c+=l;"m"===l&&"h"===f.toLowerCase()&&(l="M"),"h"===l&&(l=h),s[s.length]={t:l,v:c},f=l;break;case"A":case"a":case"\u4e0a":var m={t:l,v:l};if(null==i&&(i=W(e,r)),"A/P"===t.substr(u,3).toUpperCase()?(null!=i&&(m.v=i.H>=12?"P":"A"),m.t="T",h="h",u+=3):"AM/PM"===t.substr(u,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"PM":"AM"),m.t="T",u+=5,h="h"):"\u4e0a\u5348/\u4e0b\u5348"===t.substr(u,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),m.t="T",u+=5,h="h"):(m.t="t",++u),null==i&&"T"===m.t)return"";s[s.length]=m,f=l;break;case"[":for(c=l;"]"!==t.charAt(u++)&&u<t.length;)c+=t.charAt(u);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(ft)){if(null==i&&null==(i=W(e,r)))return"";s[s.length]={t:"Z",v:c.toLowerCase()},f=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",ht(t)||(s[s.length]={t:"t",v:c}));break;case".":if(null!=i){for(c=l;++u<t.length&&"0"===(l=t.charAt(u));)c+=l;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=l;++u<t.length&&"0#?.,E+-%".indexOf(l=t.charAt(u))>-1;)c+=l;s[s.length]={t:"n",v:c};break;case"?":for(c=l;t.charAt(++u)===l;)c+=l;s[s.length]={t:l,v:c},f=l;break;case"*":++u," "!=t.charAt(u)&&"*"!=t.charAt(u)||++u;break;case"(":case")":s[s.length]={t:1===n?"t":l,v:l},++u;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=l;u<t.length&&"0123456789".indexOf(t.charAt(++u))>-1;)c+=t.charAt(u);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:l,v:l},++u;break;case"$":s[s.length]={t:"t",v:"$"},++u;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(l))throw new Error("unrecognized character "+l+" in "+t);s[s.length]={t:"t",v:l},++u}var b,v=0,g=0;for(u=s.length-1,f="t";u>=0;--u)switch(s[u].t){case"h":case"H":s[u].t=h,f="h",v<1&&(v=1);break;case"s":(b=s[u].v.match(/\.0+$/))&&(g=Math.max(g,b[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[u].t;break;case"m":"s"===f&&(s[u].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[u].v.match(/[Hh]/)&&(v=1),v<2&&s[u].v.match(/[Mm]/)&&(v=2),v<3&&s[u].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var y,w="";for(u=0;u<s.length;++u)switch(s[u].t){case"t":case"T":case" ":case"D":break;case"X":s[u].v="",s[u].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[u].v=J(s[u].t.charCodeAt(0),s[u].v,i,g),s[u].t="t";break;case"n":case"?":for(y=u+1;null!=s[y]&&("?"===(l=s[y].t)||"D"===l||(" "===l||"t"===l)&&null!=s[y+1]&&("?"===s[y+1].t||"t"===s[y+1].t&&"/"===s[y+1].v)||"("===s[u].t&&(" "===l||"n"===l||")"===l)||"t"===l&&("/"===s[y].v||" "===s[y].v&&null!=s[y+1]&&"?"==s[y+1].t));)s[u].v+=s[y].v,s[y]={v:"",t:";"},++y;w+=s[u].v,u=y-1;break;case"G":s[u].t="t",s[u].v=Z(e,r)}var x,O,_="";if(w.length>0){40==w.charCodeAt(0)?(x=e<0&&45===w.charCodeAt(0)?-e:e,O=lt("n",w,x)):(O=lt("n",w,x=e<0&&n>1?-e:e),x<0&&s[0]&&"t"==s[0].t&&(O=O.substr(1),s[0].v="-"+s[0].v)),y=O.length-1;var S=s.length;for(u=0;u<s.length;++u)if(null!=s[u]&&"t"!=s[u].t&&s[u].v.indexOf(".")>-1){S=u;break}var k=s.length;if(S===s.length&&-1===O.indexOf("E")){for(u=s.length-1;u>=0;--u)null!=s[u]&&-1!=="n?".indexOf(s[u].t)&&(y>=s[u].v.length-1?(y-=s[u].v.length,s[u].v=O.substr(y+1,s[u].v.length)):y<0?s[u].v="":(s[u].v=O.substr(0,y+1),y=-1),s[u].t="t",k=u);y>=0&&k<s.length&&(s[k].v=O.substr(0,y+1)+s[k].v)}else if(S!==s.length&&-1===O.indexOf("E")){for(y=O.indexOf(".")-1,u=S;u>=0;--u)if(null!=s[u]&&-1!=="n?".indexOf(s[u].t)){for(o=s[u].v.indexOf(".")>-1&&u===S?s[u].v.indexOf(".")-1:s[u].v.length-1,_=s[u].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[u].v.charAt(o)||"#"===s[u].v.charAt(o))&&(_=O.charAt(y--)+_);s[u].v=_,s[u].t="t",k=u}for(y>=0&&k<s.length&&(s[k].v=O.substr(0,y+1)+s[k].v),y=O.indexOf(".")+1,u=S;u<s.length;++u)if(null!=s[u]&&(-1!=="n?(".indexOf(s[u].t)||u===S)){for(o=s[u].v.indexOf(".")>-1&&u===S?s[u].v.indexOf(".")+1:0,_=s[u].v.substr(0,o);o<s[u].v.length;++o)y<O.length&&(_+=O.charAt(y++));s[u].v=_,s[u].t="t",k=u}}}for(u=0;u<s.length;++u)null!=s[u]&&"n?".indexOf(s[u].t)>-1&&(x=n>1&&e<0&&u>0&&"-"===s[u-1].v?-e:e,s[u].v=lt(s[u].t,s[u].v,x),s[u].t="t");var E="";for(u=0;u!==s.length;++u)null!=s[u]&&(E+=s[u].v);return E}(i[1],e,r,i[0])}function vt(t,e){if("number"!=typeof e){e=+e||-1;for(var r=0;r<392;++r)if(void 0!=B[r]){if(B[r]==t){e=r;break}}else e<0&&(e=r);e<0&&(e=391)}return B[e]=t,e}function gt(){var t;t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',B=t}var yt={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},wt=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var xt=function(){var t={};t.version="1.2.0";var e=function(){for(var t=0,e=new Array(256),r=0;256!=r;++r)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=r)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[r]=t;return"undefined"!==typeof Int32Array?new Int32Array(e):e}();var r=function(t){var e=0,r=0,n=0,i="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)i[n]=t[n];for(n=0;256!=n;++n)for(r=t[n],e=256+n;e<4096;e+=256)r=i[e]=r>>>8^t[255&r];var o=[];for(n=1;16!=n;++n)o[n-1]="undefined"!==typeof Int32Array?i.subarray(256*n,256*n+256):i.slice(256*n,256*n+256);return o}(e),n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=r[5],u=r[6],l=r[7],f=r[8],h=r[9],d=r[10],p=r[11],m=r[12],b=r[13],v=r[14];return t.table=e,t.bstr=function(t,r){for(var n=-1^r,i=0,o=t.length;i<o;)n=n>>>8^e[255&(n^t.charCodeAt(i++))];return~n},t.buf=function(t,r){for(var g=-1^r,y=t.length-15,w=0;w<y;)g=v[t[w++]^255&g]^b[t[w++]^g>>8&255]^m[t[w++]^g>>16&255]^p[t[w++]^g>>>24]^d[t[w++]]^h[t[w++]]^f[t[w++]]^l[t[w++]]^u[t[w++]]^c[t[w++]]^s[t[w++]]^a[t[w++]]^o[t[w++]]^i[t[w++]]^n[t[w++]]^e[t[w++]];for(y+=15;w<y;)g=g>>>8^e[255&(g^t[w++])];return~g},t.str=function(t,r){for(var n=-1^r,i=0,o=t.length,a=0,s=0;i<o;)(a=t.charCodeAt(i++))<128?n=n>>>8^e[255&(n^a)]:a<2048?n=(n=n>>>8^e[255&(n^(192|a>>6&31))])>>>8^e[255&(n^(128|63&a))]:a>=55296&&a<57344?(a=64+(1023&a),s=1023&t.charCodeAt(i++),n=(n=(n=(n=n>>>8^e[255&(n^(240|a>>8&7))])>>>8^e[255&(n^(128|a>>2&63))])>>>8^e[255&(n^(128|s>>6&15|(3&a)<<4))])>>>8^e[255&(n^(128|63&s))]):n=(n=(n=n>>>8^e[255&(n^(224|a>>12&15))])>>>8^e[255&(n^(128|a>>6&63))])>>>8^e[255&(n^(128|63&a))];return~n},t}(),Ot=function(){var t,e={};function r(t){if("/"==t.charAt(t.length-1))return-1===t.slice(0,-1).indexOf("/")?t:r(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(0,e+1)}function n(t){if("/"==t.charAt(t.length-1))return n(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(e+1)}function i(t,e){"string"===typeof e&&(e=new Date(e));var r=e.getHours();r=(r=r<<6|e.getMinutes())<<5|e.getSeconds()>>>1,t.write_shift(2,r);var n=e.getFullYear()-1980;n=(n=n<<4|e.getMonth()+1)<<5|e.getDate(),t.write_shift(2,n)}function o(t){dr(t,0);for(var e={},r=0;t.l<=t.length-4;){var n=t.read_shift(2),i=t.read_shift(2),o=t.l+i,a={};switch(n){case 21589:1&(r=t.read_shift(1))&&(a.mtime=t.read_shift(4)),i>5&&(2&r&&(a.atime=t.read_shift(4)),4&r&&(a.ctime=t.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime))}t.l=o,e[n]=a}return e}function a(){return t||(t={})}function s(t,e){if(80==t[0]&&75==t[1])return ft(t,e);if(109==(32|t[0])&&105==(32|t[1]))return function(t,e){if("mime-version:"!=T(t.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=e&&e.root||"",n=(w&&Buffer.isBuffer(t)?t.toString("binary"):T(t)).split("\r\n"),i=0,o="";for(i=0;i<n.length;++i)if(o=n[i],/^Content-Location:/i.test(o)&&(o=o.slice(o.indexOf("file")),r||(r=o.slice(0,o.lastIndexOf("/")+1)),o.slice(0,r.length)!=r))for(;r.length>0&&(r=(r=r.slice(0,r.length-1)).slice(0,r.lastIndexOf("/")+1),o.slice(0,r.length)!=r););var a=(n[1]||"").match(/boundary="(.*?)"/);if(!a)throw new Error("MAD cannot find boundary");var s="--"+(a[1]||""),c={FileIndex:[],FullPaths:[]};f(c);var u,l=0;for(i=0;i<n.length;++i){var h=n[i];h!==s&&h!==s+"--"||(l++&&vt(c,n.slice(u,i),r),u=i)}return c}(t,e);if(t.length<512)throw new Error("CFB file size "+t.length+" < 512");var r,n,i,o,a,s,h=512,d=[],p=t.slice(0,512);dr(p,0);var m=function(t){if(80==t[t.l]&&75==t[t.l+1])return[0,0];t.chk(v,"Header Signature: "),t.l+=16;var e=t.read_shift(2,"u");return[t.read_shift(2,"u"),e]}(p);switch(r=m[0]){case 3:h=512;break;case 4:h=4096;break;case 0:if(0==m[1])return ft(t,e);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==h&&dr(p=t.slice(0,h),28);var g=t.slice(0,h);!function(t,e){var r;switch(t.l+=2,r=t.read_shift(2)){case 9:if(3!=e)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=e)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}t.chk("0600","Mini Sector Shift: "),t.chk("000000000000","Reserved: ")}(p,r);var y=p.read_shift(4,"i");if(3===r&&0!==y)throw new Error("# Directory Sectors: Expected 0 saw "+y);p.l+=4,o=p.read_shift(4,"i"),p.l+=4,p.chk("00100000","Mini Stream Cutoff Size: "),a=p.read_shift(4,"i"),n=p.read_shift(4,"i"),s=p.read_shift(4,"i"),i=p.read_shift(4,"i");for(var x=-1,O=0;O<109&&!((x=p.read_shift(4,"i"))<0);++O)d[O]=x;var _=function(t,e){for(var r=Math.ceil(t.length/e)-1,n=[],i=1;i<r;++i)n[i-1]=t.slice(i*e,(i+1)*e);return n[r-1]=t.slice(r*e),n}(t,h);!function t(e,r,n,i,o){var a=b;if(e===b){if(0!==r)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var s=n[e],c=(i>>>2)-1;if(!s)return;for(var u=0;u<c&&(a=sr(s,4*u))!==b;++u)o.push(a);t(sr(s,i-4),r-1,n,i,o)}}(s,i,_,h,d);var S=function(t,e,r,n){var i=t.length,o=[],a=[],s=[],c=[],u=n-1,l=0,f=0,h=0,d=0;for(l=0;l<i;++l)if(s=[],(h=l+e)>=i&&(h-=i),!a[h]){c=[];var p=[];for(f=h;f>=0;){p[f]=!0,a[f]=!0,s[s.length]=f,c.push(t[f]);var m=r[Math.floor(4*f/n)];if(n<4+(d=4*f&u))throw new Error("FAT boundary crossed: "+f+" 4 "+n);if(!t[m])break;if(f=sr(t[m],d),p[f])break}o[h]={nodes:s,data:Ie([c])}}return o}(_,o,d,h);S[o].name="!Directory",n>0&&a!==b&&(S[a].name="!MiniFAT"),S[d[0]].name="!FAT",S.fat_addrs=d,S.ssz=h;var k=[],E=[],M=[];!function(t,e,r,n,i,o,a,s){for(var f,h=0,d=n.length?2:0,p=e[t].data,m=0,v=0;m<p.length;m+=128){var g=p.slice(m,m+128);dr(g,64),v=g.read_shift(2),f=Fe(g,0,v-d),n.push(f);var y={name:f,type:g.read_shift(1),color:g.read_shift(1),L:g.read_shift(4,"i"),R:g.read_shift(4,"i"),C:g.read_shift(4,"i"),clsid:g.read_shift(16),state:g.read_shift(4,"i"),start:0,size:0};0!==g.read_shift(2)+g.read_shift(2)+g.read_shift(2)+g.read_shift(2)&&(y.ct=l(g,g.l-8)),0!==g.read_shift(2)+g.read_shift(2)+g.read_shift(2)+g.read_shift(2)&&(y.mt=l(g,g.l-8)),y.start=g.read_shift(4,"i"),y.size=g.read_shift(4,"i"),y.size<0&&y.start<0&&(y.size=y.type=0,y.start=b,y.name=""),5===y.type?(h=y.start,i>0&&h!==b&&(e[h].name="!StreamData")):y.size>=4096?(y.storage="fat",void 0===e[y.start]&&(e[y.start]=u(r,y.start,e.fat_addrs,e.ssz)),e[y.start].name=y.name,y.content=e[y.start].data.slice(0,y.size)):(y.storage="minifat",y.size<0?y.size=0:h!==b&&y.start!==b&&e[h]&&(y.content=c(y,e[h].data,(e[s]||{}).data))),y.content&&dr(y.content,0),o[f]=y,a.push(y)}}(o,S,_,k,n,{},E,a),function(t,e,r){for(var n=0,i=0,o=0,a=0,s=0,c=r.length,u=[],l=[];n<c;++n)u[n]=l[n]=n,e[n]=r[n];for(;s<l.length;++s)n=l[s],i=t[n].L,o=t[n].R,a=t[n].C,u[n]===n&&(-1!==i&&u[i]!==i&&(u[n]=u[i]),-1!==o&&u[o]!==o&&(u[n]=u[o])),-1!==a&&(u[a]=n),-1!==i&&n!=u[n]&&(u[i]=u[n],l.lastIndexOf(i)<s&&l.push(i)),-1!==o&&n!=u[n]&&(u[o]=u[n],l.lastIndexOf(o)<s&&l.push(o));for(n=1;n<c;++n)u[n]===n&&(-1!==o&&u[o]!==o?u[n]=u[o]:-1!==i&&u[i]!==i&&(u[n]=u[i]));for(n=1;n<c;++n)if(0!==t[n].type){if((s=n)!=u[s])do{s=u[s],e[n]=e[s]+"/"+e[n]}while(0!==s&&-1!==u[s]&&s!=u[s]);u[n]=-1}for(e[0]+="/",n=1;n<c;++n)2!==t[n].type&&(e[n]+="/")}(E,M,k),k.shift();var C={FileIndex:E,FullPaths:M};return e&&e.raw&&(C.raw={header:g,sectors:_}),C}function c(t,e,r){for(var n=t.start,i=t.size,o=[],a=n;r&&i>0&&a>=0;)o.push(e.slice(a*m,a*m+m)),i-=m,a=sr(r,4*a);return 0===o.length?mr(0):M(o).slice(0,t.size)}function u(t,e,r,n,i){var o=[],a=[];i||(i=[]);var s=n-1,c=0,u=0;for(c=e;c>=0;){i[c]=!0,o[o.length]=c,a.push(t[c]);var l=r[Math.floor(4*c/n)];if(n<4+(u=4*c&s))throw new Error("FAT boundary crossed: "+c+" 4 "+n);if(!t[l])break;c=sr(t[l],u)}return{nodes:o,data:Ie([a])}}function l(t,e){return new Date(1e3*(ar(t,e+4)/1e7*Math.pow(2,32)+ar(t,e)/1e7-11644473600))}function f(t,e){var r=e||{},n=r.root||"Root Entry";if(t.FullPaths||(t.FullPaths=[]),t.FileIndex||(t.FileIndex=[]),t.FullPaths.length!==t.FileIndex.length)throw new Error("inconsistent CFB structure");0===t.FullPaths.length&&(t.FullPaths[0]=n+"/",t.FileIndex[0]={name:n,type:5}),r.CLSID&&(t.FileIndex[0].clsid=r.CLSID),function(t){var e="\x01Sh33tJ5";if(Ot.find(t,"/"+e))return;var r=mr(4);r[0]=55,r[1]=r[3]=50,r[2]=54,t.FileIndex.push({name:e,type:2,content:r,size:4,L:69,R:69,C:69}),t.FullPaths.push(t.FullPaths[0]+e),h(t)}(t)}function h(t,e){f(t);for(var i=!1,o=!1,a=t.FullPaths.length-1;a>=0;--a){var s=t.FileIndex[a];switch(s.type){case 0:o?i=!0:(t.FileIndex.pop(),t.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(i=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(i=!0);break;default:i=!0}}if(i||e){var c=new Date(1987,1,19),u=0,l=Object.create?Object.create(null):{},h=[];for(a=0;a<t.FullPaths.length;++a)l[t.FullPaths[a]]=!0,0!==t.FileIndex[a].type&&h.push([t.FullPaths[a],t.FileIndex[a]]);for(a=0;a<h.length;++a){var d=r(h[a][0]);(o=l[d])||(h.push([d,{name:n(d).replace("/",""),type:1,clsid:E,ct:c,mt:c,content:null}]),l[d]=!0)}for(h.sort((function(t,e){return function(t,e){for(var r=t.split("/"),n=e.split("/"),i=0,o=0,a=Math.min(r.length,n.length);i<a;++i){if(o=r[i].length-n[i].length)return o;if(r[i]!=n[i])return r[i]<n[i]?-1:1}return r.length-n.length}(t[0],e[0])})),t.FullPaths=[],t.FileIndex=[],a=0;a<h.length;++a)t.FullPaths[a]=h[a][0],t.FileIndex[a]=h[a][1];for(a=0;a<h.length;++a){var p=t.FileIndex[a],m=t.FullPaths[a];if(p.name=n(m).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||E,0===a)p.C=h.length>1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(u=a+1;u<h.length&&r(t.FullPaths[u])!=m;++u);for(p.C=u>=h.length?-1:u,u=a+1;u<h.length&&r(t.FullPaths[u])!=r(m);++u);p.R=u>=h.length?-1:u,p.type=1}else r(t.FullPaths[a+1]||"")==r(m)&&(p.R=a+1),p.type=2}}}function d(t,e){var r=e||{};if("mad"==r.fileType)return function(t,e){for(var r=e||{},n=r.boundary||"SheetJS",i=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(n="------="+n).slice(2)+'"',"","",""],o=t.FullPaths[0],a=o,s=t.FileIndex[0],c=1;c<t.FullPaths.length;++c)if(a=t.FullPaths[c].slice(o.length),(s=t.FileIndex[c]).size&&s.content&&"\x01Sh33tJ5"!=a){a=a.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(t){return"_x"+t.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(t){return"_u"+t.charCodeAt(0).toString(16)+"_"}));for(var u=s.content,l=w&&Buffer.isBuffer(u)?u.toString("binary"):T(u),f=0,h=Math.min(1024,l.length),d=0,p=0;p<=h;++p)(d=l.charCodeAt(p))>=32&&d<128&&++f;var m=f>=4*h/5;i.push(n),i.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+a),i.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),i.push("Content-Type: "+pt(s,a)),i.push(""),i.push(m?bt(l):mt(l))}return i.push(n+"--\r\n"),i.join("\r\n")}(t,r);switch(h(t),r.fileType){case"zip":return function(t,e){var r=e||{},n=[],o=[],a=mr(1),s=r.compression?8:0,c=0;0;var u=0,l=0,f=0,h=0,d=t.FullPaths[0],m=d,b=t.FileIndex[0],v=[],g=0;for(u=1;u<t.FullPaths.length;++u)if(m=t.FullPaths[u].slice(d.length),(b=t.FileIndex[u]).size&&b.content&&"\x01Sh33tJ5"!=m){var y=f,w=mr(m.length);for(l=0;l<m.length;++l)w.write_shift(1,127&m.charCodeAt(l));w=w.slice(0,w.l),v[h]=xt.buf(b.content,0);var x=b.content;8==s&&(O=x,x=p?p.deflateRawSync(O):rt(O)),(a=mr(30)).write_shift(4,67324752),a.write_shift(2,20),a.write_shift(2,c),a.write_shift(2,s),b.mt?i(a,b.mt):a.write_shift(4,0),a.write_shift(-4,8&c?0:v[h]),a.write_shift(4,8&c?0:x.length),a.write_shift(4,8&c?0:b.content.length),a.write_shift(2,w.length),a.write_shift(2,0),f+=a.length,n.push(a),f+=w.length,n.push(w),f+=x.length,n.push(x),8&c&&((a=mr(12)).write_shift(-4,v[h]),a.write_shift(4,x.length),a.write_shift(4,b.content.length),f+=a.l,n.push(a)),(a=mr(46)).write_shift(4,33639248),a.write_shift(2,0),a.write_shift(2,20),a.write_shift(2,c),a.write_shift(2,s),a.write_shift(4,0),a.write_shift(-4,v[h]),a.write_shift(4,x.length),a.write_shift(4,b.content.length),a.write_shift(2,w.length),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(4,0),a.write_shift(4,y),g+=a.l,o.push(a),g+=w.length,o.push(w),++h}var O;return(a=mr(22)).write_shift(4,101010256),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,h),a.write_shift(2,h),a.write_shift(4,g),a.write_shift(4,f),a.write_shift(2,0),M([M(n),M(o),a])}(t,r)}var n=function(t){for(var e=0,r=0,n=0;n<t.FileIndex.length;++n){var i=t.FileIndex[n];if(i.content){var o=i.content.length;o>0&&(o<4096?e+=o+63>>6:r+=o+511>>9)}}for(var a=t.FullPaths.length+3>>2,s=e+127>>7,c=(e+7>>3)+r+a+s,u=c+127>>7,l=u<=109?0:Math.ceil((u-109)/127);c+u+l+127>>7>u;)l=++u<=109?0:Math.ceil((u-109)/127);var f=[1,l,u,s,a,r,e,0];return t.FileIndex[0].size=e<<6,f[7]=(t.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(t),o=mr(n[7]<<9),a=0,s=0;for(a=0;a<8;++a)o.write_shift(1,k[a]);for(a=0;a<8;++a)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),a=0;a<3;++a)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,n[2]),o.write_shift(4,n[0]+n[1]+n[2]+n[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,n[3]?n[0]+n[1]+n[2]-1:b),o.write_shift(4,n[3]),o.write_shift(-4,n[1]?n[0]-1:b),o.write_shift(4,n[1]),a=0;a<109;++a)o.write_shift(-4,a<n[2]?n[1]+a:-1);if(n[1])for(s=0;s<n[1];++s){for(;a<236+127*s;++a)o.write_shift(-4,a<n[2]?n[1]+a:-1);o.write_shift(-4,s===n[1]-1?b:s+1)}var c=function(t){for(s+=t;a<s-1;++a)o.write_shift(-4,a+1);t&&(++a,o.write_shift(-4,b))};for(s=a=0,s+=n[1];a<s;++a)o.write_shift(-4,A.DIFSECT);for(s+=n[2];a<s;++a)o.write_shift(-4,A.FATSECT);c(n[3]),c(n[4]);for(var u=0,l=0,f=t.FileIndex[0];u<t.FileIndex.length;++u)(f=t.FileIndex[u]).content&&((l=f.content.length)<4096||(f.start=s,c(l+511>>9)));for(c(n[6]+7>>3);511&o.l;)o.write_shift(-4,A.ENDOFCHAIN);for(s=a=0,u=0;u<t.FileIndex.length;++u)(f=t.FileIndex[u]).content&&(!(l=f.content.length)||l>=4096||(f.start=s,c(l+63>>6)));for(;511&o.l;)o.write_shift(-4,A.ENDOFCHAIN);for(a=0;a<n[4]<<2;++a){var d=t.FullPaths[a];if(d&&0!==d.length){f=t.FileIndex[a],0===a&&(f.start=f.size?f.start-1:b);var m=0===a&&r.root||f.name;if(l=2*(m.length+1),o.write_shift(64,m,"utf16le"),o.write_shift(2,l),o.write_shift(1,f.type),o.write_shift(1,f.color),o.write_shift(-4,f.L),o.write_shift(-4,f.R),o.write_shift(-4,f.C),f.clsid)o.write_shift(16,f.clsid,"hex");else for(u=0;u<4;++u)o.write_shift(4,0);o.write_shift(4,f.state||0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,f.start),o.write_shift(4,f.size),o.write_shift(4,0)}else{for(u=0;u<17;++u)o.write_shift(4,0);for(u=0;u<3;++u)o.write_shift(4,-1);for(u=0;u<12;++u)o.write_shift(4,0)}}for(a=1;a<t.FileIndex.length;++a)if((f=t.FileIndex[a]).size>=4096)if(o.l=f.start+1<<9,w&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+511&-512;else{for(u=0;u<f.size;++u)o.write_shift(1,f.content[u]);for(;511&u;++u)o.write_shift(1,0)}for(a=1;a<t.FileIndex.length;++a)if((f=t.FileIndex[a]).size>0&&f.size<4096)if(w&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+63&-64;else{for(u=0;u<f.size;++u)o.write_shift(1,f.content[u]);for(;63&u;++u)o.write_shift(1,0)}if(w)o.l=o.length;else for(;o.l<o.length;)o.write_shift(1,0);return o}e.version="1.2.1";var p,m=64,b=-2,v="d0cf11e0a1b11ae1",k=[208,207,17,224,161,177,26,225],E="00000000000000000000000000000000",A={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:b,FREESECT:-1,HEADER_SIGNATURE:v,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:E,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function T(t){for(var e=new Array(t.length),r=0;r<t.length;++r)e[r]=String.fromCharCode(t[r]);return e.join("")}var P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],R=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function L(t){var e=139536&(t<<1|t<<11)|558144&(t<<5|t<<15);return 255&(e>>16|e>>8|e)}for(var I="undefined"!==typeof Uint8Array,N=I?new Uint8Array(256):[],F=0;F<256;++F)N[F]=L(F);function B(t,e){var r=N[255&t];return e<=8?r>>>8-e:(r=r<<8|N[t>>8&255],e<=16?r>>>16-e:(r=r<<8|N[t>>16&255])>>>24-e)}function z(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=6?0:t[n+1]<<8))>>>r&3}function H(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=5?0:t[n+1]<<8))>>>r&7}function U(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=3?0:t[n+1]<<8))>>>r&31}function W(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=1?0:t[n+1]<<8))>>>r&127}function q(t,e,r){var n=7&e,i=e>>>3,o=(1<<r)-1,a=t[i]>>>n;return r<8-n?a&o:(a|=t[i+1]<<8-n,r<16-n?a&o:(a|=t[i+2]<<16-n,r<24-n?a&o:(a|=t[i+3]<<24-n)&o))}function V(t,e,r){var n=7&e,i=e>>>3;return n<=5?t[i]|=(7&r)<<n:(t[i]|=r<<n&255,t[i+1]=(7&r)>>8-n),e+3}function G(t,e,r){return r=(1&r)<<(7&e),t[e>>>3]|=r,e+1}function Y(t,e,r){var n=e>>>3;return r<<=7&e,t[n]|=255&r,r>>>=8,t[n+1]=r,e+8}function X(t,e,r){var n=e>>>3;return r<<=7&e,t[n]|=255&r,r>>>=8,t[n+1]=255&r,t[n+2]=r>>>8,e+16}function $(t,e){var r=t.length,n=2*r>e?2*r:e+5,i=0;if(r>=e)return t;if(w){var o=_(n);if(t.copy)t.copy(o);else for(;i<t.length;++i)o[i]=t[i];return o}if(I){var a=new Uint8Array(n);if(a.set)a.set(t);else for(;i<r;++i)a[i]=t[i];return a}return t.length=n,t}function K(t){for(var e=new Array(t),r=0;r<t;++r)e[r]=0;return e}function Z(t,e,r){var n=1,i=0,o=0,a=0,s=0,c=t.length,u=I?new Uint16Array(32):K(32);for(o=0;o<32;++o)u[o]=0;for(o=c;o<r;++o)t[o]=0;c=t.length;var l=I?new Uint16Array(c):K(c);for(o=0;o<c;++o)u[i=t[o]]++,n<i&&(n=i),l[o]=0;for(u[0]=0,o=1;o<=n;++o)u[o+16]=s=s+u[o-1]<<1;for(o=0;o<c;++o)0!=(s=t[o])&&(l[o]=u[s+16]++);var f=0;for(o=0;o<c;++o)if(0!=(f=t[o]))for(s=B(l[o],n)>>n-f,a=(1<<n+4-f)-1;a>=0;--a)e[s|a<<f]=15&f|o<<4;return n}var J=I?new Uint16Array(512):K(512),Q=I?new Uint16Array(32):K(32);if(!I){for(var tt=0;tt<512;++tt)J[tt]=0;for(tt=0;tt<32;++tt)Q[tt]=0}!function(){for(var t=[],e=0;e<32;e++)t.push(5);Z(t,Q,32);var r=[];for(e=0;e<=143;e++)r.push(8);for(;e<=255;e++)r.push(9);for(;e<=279;e++)r.push(7);for(;e<=287;e++)r.push(8);Z(r,J,288)}();var et=function(){for(var t=I?new Uint8Array(32768):[],e=0,r=0;e<R.length-1;++e)for(;r<R[e+1];++r)t[r]=e;for(;r<32768;++r)t[r]=29;var n=I?new Uint8Array(259):[];for(e=0,r=0;e<D.length-1;++e)for(;r<D[e+1];++r)n[r]=e;return function(e,r){return e.length<8?function(t,e){for(var r=0;r<t.length;){var n=Math.min(65535,t.length-r),i=r+n==t.length;for(e.write_shift(1,+i),e.write_shift(2,n),e.write_shift(2,65535&~n);n-- >0;)e[e.l++]=t[r++]}return e.l}(e,r):function(e,r){for(var i=0,o=0,a=I?new Uint16Array(32768):[];o<e.length;){var s=Math.min(65535,e.length-o);if(s<10){for(7&(i=V(r,i,+!(o+s!=e.length)))&&(i+=8-(7&i)),r.l=i/8|0,r.write_shift(2,s),r.write_shift(2,65535&~s);s-- >0;)r[r.l++]=e[o++];i=8*r.l}else{i=V(r,i,+!(o+s!=e.length)+2);for(var c=0;s-- >0;){var u=e[o],l=-1,f=0;if((l=a[c=32767&(c<<5^u)])&&((l|=-32768&o)>o&&(l-=32768),l<o))for(;e[l+f]==e[o+f]&&f<250;)++f;if(f>2){(u=n[f])<=22?i=Y(r,i,N[u+1]>>1)-1:(Y(r,i,3),Y(r,i+=5,N[u-23]>>5),i+=3);var h=u<8?0:u-4>>2;h>0&&(X(r,i,f-D[u]),i+=h),u=t[o-l],i=Y(r,i,N[u]>>3),i-=3;var d=u<4?0:u-2>>1;d>0&&(X(r,i,o-l-R[u]),i+=d);for(var p=0;p<f;++p)a[c]=32767&o,c=32767&(c<<5^e[o]),++o;s-=f-1}else u<=143?u+=48:i=G(r,i,1),i=Y(r,i,N[u]),a[c]=32767&o,++o}i=Y(r,i,0)-1}}return r.l=(i+7)/8|0,r.l}(e,r)}}();function rt(t){var e=mr(50+Math.floor(1.1*t.length)),r=et(t,e);return e.slice(0,r)}var nt=I?new Uint16Array(32768):K(32768),it=I?new Uint16Array(32768):K(32768),ot=I?new Uint16Array(128):K(128),at=1,st=1;function ct(t,e){var r=U(t,e)+257,n=U(t,e+=5)+1,i=function(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=4?0:t[n+1]<<8))>>>r&15}(t,e+=5)+4;e+=4;for(var o=0,a=I?new Uint8Array(19):K(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,u=I?new Uint8Array(8):K(8),l=I?new Uint8Array(8):K(8),f=a.length,h=0;h<i;++h)a[P[h]]=o=H(t,e),c<o&&(c=o),u[o]++,e+=3;var d=0;for(u[0]=0,h=1;h<=c;++h)l[h]=d=d+u[h-1]<<1;for(h=0;h<f;++h)0!=(d=a[h])&&(s[h]=l[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=a[h])){d=N[s[h]]>>8-p;for(var m=(1<<7-p)-1;m>=0;--m)ot[d|m<<p]=7&p|h<<3}var b=[];for(c=1;b.length<r+n;)switch(e+=7&(d=ot[W(t,e)]),d>>>=3){case 16:for(o=3+z(t,e),e+=2,d=b[b.length-1];o-- >0;)b.push(d);break;case 17:for(o=3+H(t,e),e+=3;o-- >0;)b.push(0);break;case 18:for(o=11+W(t,e),e+=7;o-- >0;)b.push(0);break;default:b.push(d),c<d&&(c=d)}var v=b.slice(0,r),g=b.slice(r);for(h=r;h<286;++h)v[h]=0;for(h=n;h<30;++h)g[h]=0;return at=Z(v,nt,286),st=Z(g,it,30),e}function ut(t,e){var r=function(t,e){if(3==t[0]&&!(3&t[1]))return[O(e),2];for(var r=0,n=0,i=_(e||1<<18),o=0,a=i.length>>>0,s=0,c=0;0==(1&n);)if(n=H(t,r),r+=3,n>>>1!=0)for(n>>1==1?(s=9,c=5):(r=ct(t,r),s=at,c=st);;){!e&&a<o+32767&&(a=(i=$(i,o+32767)).length);var u=q(t,r,s),l=n>>>1==1?J[u]:nt[u];if(r+=15&l,0===((l>>>=4)>>>8&255))i[o++]=l;else{if(256==l)break;var f=(l-=257)<8?0:l-4>>2;f>5&&(f=0);var h=o+D[l];f>0&&(h+=q(t,r,f),r+=f),u=q(t,r,c),r+=15&(l=n>>>1==1?Q[u]:it[u]);var d=(l>>>=4)<4?0:l-2>>1,p=R[l];for(d>0&&(p+=q(t,r,d),r+=d),!e&&a<h&&(a=(i=$(i,h+100)).length);o<h;)i[o]=i[o-p],++o}}else{7&r&&(r+=8-(7&r));var m=t[r>>>3]|t[1+(r>>>3)]<<8;if(r+=32,m>0)for(!e&&a<o+m&&(a=(i=$(i,o+m)).length);m-- >0;)i[o++]=t[r>>>3],r+=8}return e?[i,r+7>>>3]:[i.slice(0,o),r+7>>>3]}(t.slice(t.l||0),e);return t.l+=r[1],r[0]}function lt(t,e){if(!t)throw new Error(e);"undefined"!==typeof console&&console.error(e)}function ft(t,e){var r=t;dr(r,0);var n={FileIndex:[],FullPaths:[]};f(n,{root:e.root});for(var i=r.length-4;(80!=r[i]||75!=r[i+1]||5!=r[i+2]||6!=r[i+3])&&i>=0;)--i;r.l=i+4,r.l+=4;var a=r.read_shift(2);r.l+=6;var s=r.read_shift(4);for(r.l=s,i=0;i<a;++i){r.l+=20;var c=r.read_shift(4),u=r.read_shift(4),l=r.read_shift(2),h=r.read_shift(2),d=r.read_shift(2);r.l+=8;var p=r.read_shift(4),m=o(r.slice(r.l+l,r.l+l+h));r.l+=l+h+d;var b=r.l;r.l=p+4,ht(r,c,u,n,m),r.l=b}return n}function ht(t,e,r,n,i){t.l+=2;var a=t.read_shift(2),s=t.read_shift(2),c=function(t){var e=65535&t.read_shift(2),r=65535&t.read_shift(2),n=new Date,i=31&r,o=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(o-1),n.setDate(i);var a=31&e,s=63&(e>>>=5);return e>>>=6,n.setHours(e),n.setMinutes(s),n.setSeconds(a<<1),n}(t);if(8257&a)throw new Error("Unsupported ZIP encryption");t.read_shift(4);for(var u=t.read_shift(4),l=t.read_shift(4),f=t.read_shift(2),h=t.read_shift(2),d="",m=0;m<f;++m)d+=String.fromCharCode(t[t.l++]);if(h){var b=o(t.slice(t.l,t.l+h));(b[21589]||{}).mt&&(c=b[21589].mt),((i||{})[21589]||{}).mt&&(c=i[21589].mt)}t.l+=h;var v=t.slice(t.l,t.l+u);switch(s){case 8:v=function(t,e){if(!p)return ut(t,e);var r=new(0,p.InflateRaw),n=r._processChunk(t.slice(t.l),r._finishFlushFlag);return t.l+=r.bytesRead,n}(t,l);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var g=!1;8&a&&(134695760==t.read_shift(4)&&(t.read_shift(4),g=!0),u=t.read_shift(4),l=t.read_shift(4)),u!=e&&lt(g,"Bad compressed size: "+e+" != "+u),l!=r&&lt(g,"Bad uncompressed size: "+r+" != "+l),gt(n,d,v,{unsafe:!0,mt:c})}var dt={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function pt(t,e){if(t.ctype)return t.ctype;var r=t.name||"",n=r.match(/\.([^\.]+)$/);return n&&dt[n[1]]||e&&(n=(r=e).match(/[\.\\]([^\.\\])+$/))&&dt[n[1]]?dt[n[1]]:"application/octet-stream"}function mt(t){for(var e=g(t),r=[],n=0;n<e.length;n+=76)r.push(e.slice(n,n+76));return r.join("\r\n")+"\r\n"}function bt(t){var e=t.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(t){var e=t.charCodeAt(0).toString(16).toUpperCase();return"="+(1==e.length?"0"+e:e)}));"\n"==(e=e.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(e="=0D"+e.slice(1));for(var r=[],n=(e=e.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),i=0;i<n.length;++i){var o=n[i];if(0!=o.length)for(var a=0;a<o.length;){var s=76,c=o.slice(a,a+s);"="==c.charAt(s-1)?s--:"="==c.charAt(s-2)?s-=2:"="==c.charAt(s-3)&&(s-=3),c=o.slice(a,a+s),(a+=s)<o.length&&(c+="="),r.push(c)}else r.push("")}return r.join("\r\n")}function vt(t,e,r){for(var n,i="",o="",a="",s=0;s<10;++s){var c=e[s];if(!c||c.match(/^\s*$/))break;var u=c.match(/^(.*?):\s*([^\s].*)$/);if(u)switch(u[1].toLowerCase()){case"content-location":i=u[2].trim();break;case"content-type":a=u[2].trim();break;case"content-transfer-encoding":o=u[2].trim()}}switch(++s,o.toLowerCase()){case"base64":n=S(y(e.slice(s).join("")));break;case"quoted-printable":n=function(t){for(var e=[],r=0;r<t.length;++r){for(var n=t[r];r<=t.length&&"="==n.charAt(n.length-1);)n=n.slice(0,n.length-1)+t[++r];e.push(n)}for(var i=0;i<e.length;++i)e[i]=e[i].replace(/[=][0-9A-Fa-f]{2}/g,(function(t){return String.fromCharCode(parseInt(t.slice(1),16))}));return S(e.join("\r\n"))}(e.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+o)}var l=gt(t,i.slice(r.length),n,{unsafe:!0});a&&(l.ctype=a)}function gt(t,e,r,i){var o=i&&i.unsafe;o||f(t);var a=!o&&Ot.find(t,e);if(!a){var s=t.FullPaths[0];e.slice(0,s.length)==s?s=e:("/"!=s.slice(-1)&&(s+="/"),s=(s+e).replace("//","/")),a={name:n(e),type:2},t.FileIndex.push(a),t.FullPaths.push(s),o||Ot.utils.cfb_gc(t)}return a.content=r,a.size=r?r.length:0,i&&(i.CLSID&&(a.clsid=i.CLSID),i.mt&&(a.mt=i.mt),i.ct&&(a.ct=i.ct)),a}return e.find=function(t,e){var r=t.FullPaths.map((function(t){return t.toUpperCase()})),n=r.map((function(t){var e=t.split("/");return e[e.length-("/"==t.slice(-1)?2:1)]})),i=!1;47===e.charCodeAt(0)?(i=!0,e=r[0].slice(0,-1)+e):i=-1!==e.indexOf("/");var o=e.toUpperCase(),a=!0===i?r.indexOf(o):n.indexOf(o);if(-1!==a)return t.FileIndex[a];var s=!o.match(j);for(o=o.replace(C,""),s&&(o=o.replace(j,"!")),a=0;a<r.length;++a){if((s?r[a].replace(j,"!"):r[a]).replace(C,"")==o)return t.FileIndex[a];if((s?n[a].replace(j,"!"):n[a]).replace(C,"")==o)return t.FileIndex[a]}return null},e.read=function(e,r){var n=r&&r.type;switch(n||w&&Buffer.isBuffer(e)&&(n="buffer"),n||"base64"){case"file":return function(e,r){return a(),s(t.readFileSync(e),r)}(e,r);case"base64":return s(S(y(e)),r);case"binary":return s(S(e),r)}return s(e,r)},e.parse=s,e.write=function(e,r){var n=d(e,r);switch(r&&r.type||"buffer"){case"file":return a(),t.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:T(n);case"base64":return g("string"==typeof n?n:T(n));case"buffer":if(w)return Buffer.isBuffer(n)?n:x(n);case"array":return"string"==typeof n?S(n):n}return n},e.writeFile=function(e,r,n){a();var i=d(e,n);t.writeFileSync(r,i)},e.utils={cfb_new:function(t){var e={};return f(e,t),e},cfb_add:gt,cfb_del:function(t,e){f(t);var r=Ot.find(t,e);if(r)for(var n=0;n<t.FileIndex.length;++n)if(t.FileIndex[n]==r)return t.FileIndex.splice(n,1),t.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(t,e,r){f(t);var i=Ot.find(t,e);if(i)for(var o=0;o<t.FileIndex.length;++o)if(t.FileIndex[o]==i)return t.FileIndex[o].name=n(r),t.FullPaths[o]=r,!0;return!1},cfb_gc:function(t){h(t,!0)},ReadShift:ur,CheckField:hr,prep_blob:dr,bconcat:M,use_zlib:function(t){try{var e=new(0,t.InflateRaw);if(e._processChunk(new Uint8Array([3,0]),e._finishFlushFlag),!e.bytesRead)throw new Error("zlib does not expose bytesRead");p=t}catch(r){console.error("cannot use native zlib: "+(r.message||r))}},_deflateRaw:rt,_inflateRaw:ut,consts:A},e}(),_t=void 0;function St(t){for(var e=Object.keys(t),r=[],n=0;n<e.length;++n)Object.prototype.hasOwnProperty.call(t,e[n])&&r.push(e[n]);return r}function kt(t){for(var e=[],r=St(t),n=0;n!==r.length;++n)e[t[r[n]]]=r[n];return e}var Et=new Date(1899,11,30,0,0,0);function Mt(t,e){var r=t.getTime();return e&&(r-=1263168e5),(r-(Et.getTime()+6e4*(t.getTimezoneOffset()-Et.getTimezoneOffset())))/864e5}var Ct=new Date,jt=Et.getTime()+6e4*(Ct.getTimezoneOffset()-Et.getTimezoneOffset()),At=Ct.getTimezoneOffset();function Tt(t){var e=new Date;return e.setTime(24*t*60*60*1e3+jt),e.getTimezoneOffset()!==At&&e.setTime(e.getTime()+6e4*(e.getTimezoneOffset()-At)),e}function Pt(t){var e=0,r=0,n=!1,i=t.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+t+"| is not an ISO8601 Duration");for(var o=1;o!=i.length;++o)if(i[o]){switch(r=1,o>3&&(n=!0),i[o].slice(i[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[o].slice(i[o].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}e+=r*parseInt(i[o],10)}return e}var Dt=new Date("2017-02-19T19:06:09.000Z"),Rt=isNaN(Dt.getFullYear())?new Date("2/19/17"):Dt,Lt=2017==Rt.getFullYear();function It(t,e){var r=new Date(t);if(Lt)return e>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):e<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(t instanceof Date)return t;if(1917==Rt.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return t.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var i=t.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return t.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function Nt(t,e){if(w&&Buffer.isBuffer(t)){if(e){if(255==t[0]&&254==t[1])return xe(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return xe(h(t.slice(2).toString("binary")))}return t.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(e){if(255==t[0]&&254==t[1])return xe(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return xe(new TextDecoder("utf-16be").decode(t.slice(2)))}var r={"\u20ac":"\x80","\u201a":"\x82","\u0192":"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02c6":"\x88","\u2030":"\x89","\u0160":"\x8a","\u2039":"\x8b","\u0152":"\x8c","\u017d":"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99","\u0161":"\x9a","\u203a":"\x9b","\u0153":"\x9c","\u017e":"\x9e","\u0178":"\x9f"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,(function(t){return r[t]||t}))}catch(o){}for(var n=[],i=0;i!=t.length;++i)n.push(String.fromCharCode(t[i]));return n.join("")}function Ft(t){if("undefined"!=typeof JSON&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if("object"!=typeof t||null==t)return t;if(t instanceof Date)return new Date(t.getTime());var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=Ft(t[r]));return e}function Bt(t,e){for(var r="";r.length<e;)r+=t;return r}function zt(t){var e=Number(t);if(!isNaN(e))return isFinite(e)?e:NaN;if(!/\d/.test(t))return e;var r=1,n=t.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(e=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(t,e){return r=-r,e})),isNaN(e=Number(n))?e:e/r):e/r}var Ht=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ut(t){var e=new Date(t),r=new Date(NaN),n=e.getYear(),i=e.getMonth(),o=e.getDate();if(isNaN(o))return r;var a=t.toLowerCase();if(a.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((a=a.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==Ht.indexOf(a))return r}else if(a.match(/[a-z]/))return r;return n<0||n>8099?r:(i>0||o>1)&&101!=n?e:t.match(/[^-0-9:,\/\\]/)?r:e}var Wt=function(){var t=5=="abacaba".split(/(:?b)/i).length;return function(e,r,n){if(t||"string"==typeof r)return e.split(r);for(var i=e.split(r),o=[i[0]],a=1;a<i.length;++a)o.push(n),o.push(i[a]);return o}}();function qt(t){return t?t.content&&t.type?Nt(t.content,!0):t.data?p(t.data):t.asNodeBuffer&&w?p(t.asNodeBuffer().toString("binary")):t.asBinary?p(t.asBinary()):t._data&&t._data.getContent?p(Nt(Array.prototype.slice.call(t._data.getContent(),0))):null:null}function Vt(t){if(!t)return null;if(t.data)return f(t.data);if(t.asNodeBuffer&&w)return t.asNodeBuffer();if(t._data&&t._data.getContent){var e=t._data.getContent();return"string"==typeof e?f(e):Array.prototype.slice.call(e)}return t.content&&t.type?t.content:null}function Gt(t,e){for(var r=t.FullPaths||St(t.files),n=e.toLowerCase().replace(/[\/]/g,"\\"),i=n.replace(/\\/g,"/"),o=0;o<r.length;++o){var a=r[o].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==a||i==a)return t.files?t.files[r[o]]:t.FileIndex[o]}return null}function Yt(t,e){var r=Gt(t,e);if(null==r)throw new Error("Cannot find file "+e+" in zip");return r}function Xt(t,e,r){if(!r)return(n=Yt(t,e))&&".bin"===n.name.slice(-4)?Vt(n):qt(n);var n;if(!e)return null;try{return Xt(t,e)}catch(i){return null}}function $t(t,e,r){if(!r)return qt(Yt(t,e));if(!e)return null;try{return $t(t,e)}catch(n){return null}}function Kt(t){for(var e=t.FullPaths||St(t.files),r=[],n=0;n<e.length;++n)"/"!=e[n].slice(-1)&&r.push(e[n].replace(/^Root Entry[\/]/,""));return r.sort()}function Zt(t,e,r){if(t.FullPaths){var n;if("string"==typeof r)return n=w?x(r):function(t){for(var e=[],r=0,n=t.length+250,i=O(t.length+255),o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a<128)i[r++]=a;else if(a<2048)i[r++]=192|a>>6&31,i[r++]=128|63&a;else if(a>=55296&&a<57344){a=64+(1023&a);var s=1023&t.charCodeAt(++o);i[r++]=240|a>>8&7,i[r++]=128|a>>2&63,i[r++]=128|s>>6&15|(3&a)<<4,i[r++]=128|63&s}else i[r++]=224|a>>12&15,i[r++]=128|a>>6&63,i[r++]=128|63&a;r>n&&(e.push(i.slice(0,r)),r=0,i=O(65535),n=65530)}return e.push(i.slice(0,r)),M(e)}(r),Ot.utils.cfb_add(t,e,n);Ot.utils.cfb_add(t,e,r)}else t.file(e,r)}function Jt(t,e){switch(e.type){case"base64":return Ot.read(t,{type:"base64"});case"binary":return Ot.read(t,{type:"binary"});case"buffer":case"array":return Ot.read(t,{type:"buffer"})}throw new Error("Unrecognized type "+e.type)}function Qt(t,e){if("/"==t.charAt(0))return t.slice(1);var r=e.split("/");"/"!=e.slice(-1)&&r.pop();for(var n=t.split("/");0!==n.length;){var i=n.shift();".."===i?r.pop():"."!==i&&r.push(i)}return r.join("/")}var te='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ee=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,re=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,ne=te.match(re)?re:/<[^>]*>/g,ie=/<\w*:/,oe=/<(\/?)\w+:/;function ae(t,e,r){for(var n={},i=0,o=0;i!==t.length&&(32!==(o=t.charCodeAt(i))&&10!==o&&13!==o);++i);if(e||(n[0]=t.slice(0,i)),i===t.length)return n;var a=t.match(ee),s=0,c="",u=0,l="",f="",h=1;if(a)for(u=0;u!=a.length;++u){for(f=a[u],o=0;o!=f.length&&61!==f.charCodeAt(o);++o);for(l=f.slice(0,o).trim();32==f.charCodeAt(o+1);)++o;for(h=34==(i=f.charCodeAt(o+1))||39==i?1:0,c=f.slice(o+1+h,f.length-h),s=0;s!=l.length&&58!==l.charCodeAt(s);++s);if(s===l.length)l.indexOf("_")>0&&(l=l.slice(0,l.indexOf("_"))),n[l]=c,r||(n[l.toLowerCase()]=c);else{var d=(5===s&&"xmlns"===l.slice(0,5)?"xmlns":"")+l.slice(s+1);if(n[d]&&"ext"==l.slice(s-3,s))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function se(t){return t.replace(oe,"<$1")}var ce={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},ue=kt(ce),le=function(){var t=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,e=/_x([\da-fA-F]{4})_/gi;return function r(n){var i=n+"",o=i.indexOf("<![CDATA[");if(-1==o)return i.replace(t,(function(t,e){return ce[t]||String.fromCharCode(parseInt(e,t.indexOf("x")>-1?16:10))||t})).replace(e,(function(t,e){return String.fromCharCode(parseInt(e,16))}));var a=i.indexOf("]]>");return r(i.slice(0,o))+i.slice(o+9,a)+r(i.slice(a+3))}}(),fe=/[&<>'"]/g;var he=/[\u0000-\u001f]/g;function de(t){return(t+"").replace(fe,(function(t){return ue[t]})).replace(/\n/g,"<br/>").replace(he,(function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"}))}var pe=function(){var t=/&#(\d+);/g;function e(t,e){return String.fromCharCode(parseInt(e,10))}return function(r){return r.replace(t,e)}}();function me(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function be(t){for(var e="",r=0,n=0,i=0,o=0,a=0,s=0;r<t.length;)(n=t.charCodeAt(r++))<128?e+=String.fromCharCode(n):(i=t.charCodeAt(r++),n>191&&n<224?(a=(31&n)<<6,a|=63&i,e+=String.fromCharCode(a)):(o=t.charCodeAt(r++),n<240?e+=String.fromCharCode((15&n)<<12|(63&i)<<6|63&o):(s=((7&n)<<18|(63&i)<<12|(63&o)<<6|63&(a=t.charCodeAt(r++)))-65536,e+=String.fromCharCode(55296+(s>>>10&1023)),e+=String.fromCharCode(56320+(1023&s)))));return e}function ve(t){var e,r,n,i=O(2*t.length),o=1,a=0,s=0;for(r=0;r<t.length;r+=o)o=1,(n=t.charCodeAt(r))<128?e=n:n<224?(e=64*(31&n)+(63&t.charCodeAt(r+1)),o=2):n<240?(e=4096*(15&n)+64*(63&t.charCodeAt(r+1))+(63&t.charCodeAt(r+2)),o=3):(o=4,e=262144*(7&n)+4096*(63&t.charCodeAt(r+1))+64*(63&t.charCodeAt(r+2))+(63&t.charCodeAt(r+3)),s=55296+((e-=65536)>>>10&1023),e=56320+(1023&e)),0!==s&&(i[a++]=255&s,i[a++]=s>>>8,s=0),i[a++]=e%256,i[a++]=e>>>8;return i.slice(0,a).toString("ucs2")}function ge(t){return x(t,"binary").toString("utf8")}var ye="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",we=w&&(ge(ye)==be(ye)&&ge||ve(ye)==be(ye)&&ve)||be,xe=w?function(t){return x(t,"utf8").toString("binary")}:function(t){for(var e=[],r=0,n=0,i=0;r<t.length;)switch(n=t.charCodeAt(r++),!0){case n<128:e.push(String.fromCharCode(n));break;case n<2048:e.push(String.fromCharCode(192+(n>>6))),e.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,i=t.charCodeAt(r++)-56320+(n<<10),e.push(String.fromCharCode(240+(i>>18&7))),e.push(String.fromCharCode(144+(i>>12&63))),e.push(String.fromCharCode(128+(i>>6&63))),e.push(String.fromCharCode(128+(63&i)));break;default:e.push(String.fromCharCode(224+(n>>12))),e.push(String.fromCharCode(128+(n>>6&63))),e.push(String.fromCharCode(128+(63&n)))}return e.join("")},Oe=function(){var t={};return function(e,r){var n=e+"|"+(r||"");return t[n]?t[n]:t[n]=new RegExp("<(?:\\w+:)?"+e+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+e+">",r||"")}}(),_e=function(){var t=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]}));return function(e){for(var r=e.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<t.length;++n)r=r.replace(t[n][0],t[n][1]);return r}}(),Se=function(){var t={};return function(e){return void 0!==t[e]?t[e]:t[e]=new RegExp("<(?:vt:)?"+e+">([\\s\\S]*?)</(?:vt:)?"+e+">","g")}}(),ke=/<\/?(?:vt:)?variant>/g,Ee=/<(?:vt:)([^>]*)>([\s\S]*)</;function Me(t,e){var r=ae(t),n=t.match(Se(r.baseType))||[],i=[];if(n.length!=r.size){if(e.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return i}return n.forEach((function(t){var e=t.replace(ke,"").match(Ee);e&&i.push({v:we(e[2]),t:e[1]})})),i}var Ce=/(^\s|\s$|\n)/;function je(t){return St(t).map((function(e){return" "+e+'="'+t[e]+'"'})).join("")}function Ae(t,e,r){return"<"+t+(null!=r?je(r):"")+(null!=e?(e.match(Ce)?' xml:space="preserve"':"")+">"+e+"</"+t:"/")+">"}function Te(t){if(w&&Buffer.isBuffer(t))return t.toString("utf8");if("string"===typeof t)return t;if("undefined"!==typeof Uint8Array&&t instanceof Uint8Array)return we(k(E(t)));throw new Error("Bad input format: expected Buffer or string")}var Pe=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,De="http://schemas.openxmlformats.org/package/2006/content-types",Re=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var Le=function(t){for(var e=[],r=0;r<t[0].length;++r)if(t[0][r])for(var n=0,i=t[0][r].length;n<i;n+=10240)e.push.apply(e,t[0][r].slice(n,n+10240));return e},Ie=w?function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map((function(t){return Buffer.isBuffer(t)?t:x(t)}))):Le(t)}:Le,Ne=function(t,e,r){for(var n=[],i=e;i<r;i+=2)n.push(String.fromCharCode(ir(t,i)));return n.join("").replace(C,"")},Fe=w?function(t,e,r){return Buffer.isBuffer(t)?t.toString("utf16le",e,r).replace(C,""):Ne(t,e,r)}:Ne,Be=function(t,e,r){for(var n=[],i=e;i<e+r;++i)n.push(("0"+t[i].toString(16)).slice(-2));return n.join("")},ze=w?function(t,e,r){return Buffer.isBuffer(t)?t.toString("hex",e,e+r):Be(t,e,r)}:Be,He=function(t,e,r){for(var n=[],i=e;i<r;i++)n.push(String.fromCharCode(nr(t,i)));return n.join("")},Ue=w?function(t,e,r){return Buffer.isBuffer(t)?t.toString("utf8",e,r):He(t,e,r)}:He,We=function(t,e){var r=ar(t,e);return r>0?Ue(t,e+4,e+4+r-1):""},qe=We,Ve=function(t,e){var r=ar(t,e);return r>0?Ue(t,e+4,e+4+r-1):""},Ge=Ve,Ye=function(t,e){var r=2*ar(t,e);return r>0?Ue(t,e+4,e+4+r-1):""},Xe=Ye,$e=function(t,e){var r=ar(t,e);return r>0?Fe(t,e+4,e+4+r):""},Ke=$e,Ze=function(t,e){var r=ar(t,e);return r>0?Ue(t,e+4,e+4+r):""},Je=Ze,Qe=function(t,e){return function(t,e){for(var r=1-2*(t[e+7]>>>7),n=((127&t[e+7])<<4)+(t[e+6]>>>4&15),i=15&t[e+6],o=5;o>=0;--o)i=256*i+t[e+o];return 2047==n?0==i?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,i+=Math.pow(2,52)),r*Math.pow(2,n-52)*i)}(t,e)},tr=Qe,er=function(t){return Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array};function rr(){Fe=function(t,e,r){return d.utils.decode(1200,t.slice(e,r)).replace(C,"")},Ue=function(t,e,r){return d.utils.decode(65001,t.slice(e,r))},qe=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(o,t.slice(e+4,e+4+r-1)):""},Ge=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(i,t.slice(e+4,e+4+r-1)):""},Xe=function(t,e){var r=2*ar(t,e);return r>0?d.utils.decode(1200,t.slice(e+4,e+4+r-1)):""},Ke=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(1200,t.slice(e+4,e+4+r)):""},Je=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(65001,t.slice(e+4,e+4+r)):""}}w&&(qe=function(t,e){if(!Buffer.isBuffer(t))return We(t,e);var r=t.readUInt32LE(e);return r>0?t.toString("utf8",e+4,e+4+r-1):""},Ge=function(t,e){if(!Buffer.isBuffer(t))return Ve(t,e);var r=t.readUInt32LE(e);return r>0?t.toString("utf8",e+4,e+4+r-1):""},Xe=function(t,e){if(!Buffer.isBuffer(t))return Ye(t,e);var r=2*t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+r-1)},Ke=function(t,e){if(!Buffer.isBuffer(t))return $e(t,e);var r=t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+r)},Je=function(t,e){if(!Buffer.isBuffer(t))return Ze(t,e);var r=t.readUInt32LE(e);return t.toString("utf8",e+4,e+4+r)},tr=function(t,e){return Buffer.isBuffer(t)?t.readDoubleLE(e):Qe(t,e)},er=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array}),"undefined"!==typeof d&&rr();var nr=function(t,e){return t[e]},ir=function(t,e){return 256*t[e+1]+t[e]},or=function(t,e){var r=256*t[e+1]+t[e];return r<32768?r:-1*(65535-r+1)},ar=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},sr=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},cr=function(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]};function ur(t,e){var r,n,o,a,s,c,u="",l=[];switch(e){case"dbcs":if(c=this.l,w&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(s=0;s<t;++s)u+=String.fromCharCode(ir(this,c)),c+=2;t*=2;break;case"utf8":u=Ue(this,this.l,this.l+t);break;case"utf16le":t*=2,u=Fe(this,this.l,this.l+t);break;case"wstr":if("undefined"===typeof d)return ur.call(this,t,"dbcs");u=d.utils.decode(i,this.slice(this.l,this.l+2*t)),t*=2;break;case"lpstr-ansi":u=qe(this,this.l),t=4+ar(this,this.l);break;case"lpstr-cp":u=Ge(this,this.l),t=4+ar(this,this.l);break;case"lpwstr":u=Xe(this,this.l),t=4+2*ar(this,this.l);break;case"lpp4":t=4+ar(this,this.l),u=Ke(this,this.l),2&t&&(t+=2);break;case"8lpp4":t=4+ar(this,this.l),u=Je(this,this.l),3&t&&(t+=4-(3&t));break;case"cstr":for(t=0,u="";0!==(o=nr(this,this.l+t++));)l.push(m(o));u=l.join("");break;case"_wstr":for(t=0,u="";0!==(o=ir(this,this.l+t));)l.push(m(o)),t+=2;t+=2,u=l.join("");break;case"dbcs-cont":for(u="",c=this.l,s=0;s<t;++s){if(this.lens&&-1!==this.lens.indexOf(c))return o=nr(this,c),this.l=c+1,a=ur.call(this,t-s,o?"dbcs-cont":"sbcs-cont"),l.join("")+a;l.push(m(ir(this,c))),c+=2}u=l.join(""),t*=2;break;case"cpstr":if("undefined"!==typeof d){u=d.utils.decode(i,this.slice(this.l,this.l+t));break}case"sbcs-cont":for(u="",c=this.l,s=0;s!=t;++s){if(this.lens&&-1!==this.lens.indexOf(c))return o=nr(this,c),this.l=c+1,a=ur.call(this,t-s,o?"dbcs-cont":"sbcs-cont"),l.join("")+a;l.push(m(nr(this,c))),c+=1}u=l.join("");break;default:switch(t){case 1:return r=nr(this,this.l),this.l++,r;case 2:return r=("i"===e?or:ir)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===e||0===(128&this[this.l+3])?(r=(t>0?sr:cr)(this,this.l),this.l+=4,r):(n=ar(this,this.l),this.l+=4,n);case 8:case-8:if("f"===e)return n=8==t?tr(this,this.l):tr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;t=8;case 16:u=ze(this,this.l,t)}}return this.l+=t,u}var lr=function(t,e,r){t[r]=255&e,t[r+1]=e>>>8&255};function fr(t,e,r){var n=0,i=0;if("dbcs"===r){for(i=0;i!=e.length;++i)lr(this,e.charCodeAt(i),this.l+2*i);n=2*e.length}else if("sbcs"===r){if("undefined"!==typeof d&&874==o)for(i=0;i!=e.length;++i){var a=d.utils.encode(o,e.charAt(i));this[this.l+i]=a[0]}else for(e=e.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=e.length;++i)this[this.l+i]=255&e.charCodeAt(i);n=e.length}else{if("hex"===r){for(;i<t;++i)this[this.l++]=parseInt(e.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===r){var s=Math.min(this.l+t,this.length);for(i=0;i<Math.min(e.length,t);++i){var c=e.charCodeAt(i);this[this.l++]=255&c,this[this.l++]=c>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(t){case 1:n=1,this[this.l]=255&e;break;case 2:n=2,this[this.l]=255&e,e>>>=8,this[this.l+1]=255&e;break;case 3:n=3,this[this.l]=255&e,e>>>=8,this[this.l+1]=255&e,e>>>=8,this[this.l+2]=255&e;break;case 4:n=4,function(t,e,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24&255}(this,e,this.l);break;case 8:if(n=8,"f"===r){!function(t,e,r){var n=(e<0||1/e==-1/0?1:0)<<7,i=0,o=0,a=n?-e:e;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?i=-1022:(o-=Math.pow(2,52),i+=1023)):(i=2047,o=isNaN(e)?26985:0);for(var s=0;s<=5;++s,o/=256)t[r+s]=255&o;t[r+6]=(15&i)<<4|15&o,t[r+7]=i>>4|n}(this,e,this.l);break}case 16:break;case-4:n=4,function(t,e,r){t[r]=255&e,t[r+1]=e>>8&255,t[r+2]=e>>16&255,t[r+3]=e>>24&255}(this,e,this.l)}}return this.l+=n,this}function hr(t,e){var r=ze(this,this.l,t.length>>1);if(r!==t)throw new Error(e+"Expected "+t+" saw "+r);this.l+=t.length>>1}function dr(t,e){t.l=e,t.read_shift=ur,t.chk=hr,t.write_shift=fr}function pr(t,e){t.l+=e}function mr(t){var e=O(t);return dr(e,0),e}function br(t,e,r){if(t){var n,i,o;dr(t,t.l||0);for(var a=t.length,s=0,c=0;t.l<a;){128&(s=t.read_shift(1))&&(s=(127&s)+((127&t.read_shift(1))<<7));var u=Ss[s]||Ss[65535];for(o=127&(n=t.read_shift(1)),i=1;i<4&&128&n;++i)o+=(127&(n=t.read_shift(1)))<<7*i;c=t.l+o;var l=u.f&&u.f(t,o,r);if(t.l=c,e(l,u,s))return}}}function vr(){var t=[],e=w?256:2048,r=function(t){var e=mr(t);return dr(e,0),e},n=r(e),i=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&t.push(n),n=null)},o=function(t){return n&&t<n.length-n.l?n:(i(),n=r(Math.max(t+1,e)))};return{next:o,push:function(t){i(),null==(n=t).l&&(n.l=n.length),o(e)},end:function(){return i(),M(t)},_bufs:t}}function gr(t,e,r){var n=Ft(t);if(e.s?(n.cRel&&(n.c+=e.s.c),n.rRel&&(n.r+=e.s.r)):(n.cRel&&(n.c+=e.c),n.rRel&&(n.r+=e.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function yr(t,e,r){var n=Ft(t);return n.s=gr(n.s,e.s,r),n.e=gr(n.e,e.s,r),n}function wr(t,e){if(t.cRel&&t.c<0)for(t=Ft(t);t.c<0;)t.c+=e>8?16384:256;if(t.rRel&&t.r<0)for(t=Ft(t);t.r<0;)t.r+=e>8?1048576:e>5?65536:16384;var r=Mr(t);return t.cRel||null==t.cRel||(r=r.replace(/^([A-Z])/,"$$$1")),t.rRel||null==t.rRel||(r=function(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function xr(t,e){return 0!=t.s.r||t.s.rRel||t.e.r!=(e.biff>=12?1048575:e.biff>=8?65536:16384)||t.e.rRel?0!=t.s.c||t.s.cRel||t.e.c!=(e.biff>=12?16383:255)||t.e.cRel?wr(t.s,e.biff)+":"+wr(t.e,e.biff):(t.s.rRel?"":"$")+_r(t.s.r)+":"+(t.e.rRel?"":"$")+_r(t.e.r):(t.s.cRel?"":"$")+kr(t.s.c)+":"+(t.e.cRel?"":"$")+kr(t.e.c)}function Or(t){return parseInt(t.replace(/\$(\d+)$/,"$1"),10)-1}function _r(t){return""+(t+1)}function Sr(t){for(var e=t.replace(/^\$([A-Z])/,"$1"),r=0,n=0;n!==e.length;++n)r=26*r+e.charCodeAt(n)-64;return r-1}function kr(t){if(t<0)throw new Error("invalid column "+t);var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function Er(t){for(var e=0,r=0,n=0;n<t.length;++n){var i=t.charCodeAt(n);i>=48&&i<=57?e=10*e+(i-48):i>=65&&i<=90&&(r=26*r+(i-64))}return{c:r-1,r:e-1}}function Mr(t){for(var e=t.c+1,r="";e;e=(e-1)/26|0)r=String.fromCharCode((e-1)%26+65)+r;return r+(t.r+1)}function Cr(t){var e=t.indexOf(":");return-1==e?{s:Er(t),e:Er(t)}:{s:Er(t.slice(0,e)),e:Er(t.slice(e+1))}}function jr(t,e){return"undefined"===typeof e||"number"===typeof e?jr(t.s,t.e):("string"!==typeof t&&(t=Mr(t)),"string"!==typeof e&&(e=Mr(e)),t==e?t:t+":"+e)}function Ar(t){var e={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,i=0,o=t.length;for(r=0;n<o&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.s.c=--r,r=0;n<o&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;if(e.s.r=--r,n===o||10!=i)return e.e.c=e.s.c,e.e.r=e.s.r,e;for(++n,r=0;n!=o&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.e.c=--r,r=0;n!=o&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;return e.e.r=--r,e}function Tr(t,e){var r="d"==t.t&&e instanceof Date;if(null!=t.z)try{return t.w=bt(t.z,r?Mt(e):e)}catch(n){}try{return t.w=bt((t.XF||{}).numFmtId||(r?14:0),r?Mt(e):e)}catch(n){return""+e}}function Pr(t,e,r){return null==t||null==t.t||"z"==t.t?"":void 0!==t.w?t.w:("d"==t.t&&!t.z&&r&&r.dateNF&&(t.z=r.dateNF),"e"==t.t?on[t.v]||t.v:Tr(t,void 0==e?t.v:e))}function Dr(t,e){var r=e&&e.sheet?e.sheet:"Sheet1",n={};return n[r]=t,{SheetNames:[r],Sheets:n}}function Rr(t,e,r){var n=r||{},i=t?Array.isArray(t):n.dense;var o=t||(i?[]:{}),a=0,s=0;if(o&&null!=n.origin){if("number"==typeof n.origin)a=n.origin;else{var c="string"==typeof n.origin?Er(n.origin):n.origin;a=c.r,s=c.c}o["!ref"]||(o["!ref"]="A1:A1")}var u={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var l=Ar(o["!ref"]);u.s.c=l.s.c,u.s.r=l.s.r,u.e.c=Math.max(u.e.c,l.e.c),u.e.r=Math.max(u.e.r,l.e.r),-1==a&&(u.e.r=a=l.e.r+1)}for(var f=0;f!=e.length;++f)if(e[f]){if(!Array.isArray(e[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=e[f].length;++h)if("undefined"!==typeof e[f][h]){var d={v:e[f][h]},p=a+f,m=s+h;if(u.s.r>p&&(u.s.r=p),u.s.c>m&&(u.s.c=m),u.e.r<p&&(u.e.r=p),u.e.c<m&&(u.e.c=m),!e[f][h]||"object"!==typeof e[f][h]||Array.isArray(e[f][h])||e[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=e[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else{if(!n.sheetStubs)continue;d.t="z"}else"number"===typeof d.v?d.t="n":"boolean"===typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||B[14],n.cellDates?(d.t="d",d.w=bt(d.z,Mt(d.v))):(d.t="n",d.v=Mt(d.v),d.w=bt(d.z,d.v))):d.t="s";else d=e[f][h];if(i)o[p]||(o[p]=[]),o[p][m]&&o[p][m].z&&(d.z=o[p][m].z),o[p][m]=d;else{var b=Mr({c:m,r:p});o[b]&&o[b].z&&(d.z=o[b].z),o[b]=d}}}return u.s.c<1e7&&(o["!ref"]=jr(u)),o}function Lr(t,e){return Rr(null,t,e)}function Ir(t){var e=t.read_shift(4);return 0===e?"":t.read_shift(e,"dbcs")}function Nr(t){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function Fr(t,e){var r=t.l,n=t.read_shift(1),i=Ir(t),o=[],a={t:i,h:i};if(0!==(1&n)){for(var s=t.read_shift(4),c=0;c!=s;++c)o.push(Nr(t));a.r=o}else a.r=[{ich:0,ifnt:0}];return t.l=r+e,a}var Br=Fr;function zr(t){var e=t.read_shift(4),r=t.read_shift(2);return r+=t.read_shift(1)<<16,t.l++,{c:e,iStyleRef:r}}function Hr(t){var e=t.read_shift(2);return e+=t.read_shift(1)<<16,t.l++,{c:-1,iStyleRef:e}}var Ur=Ir;function Wr(t){var e=t.read_shift(4);return 0===e||4294967295===e?"":t.read_shift(e,"dbcs")}var qr=Ir,Vr=Wr;function Gr(t){var e=t.slice(t.l,t.l+4),r=1&e[0],n=2&e[0];t.l+=4;var i=0===n?tr([0,0,0,0,252&e[0],e[1],e[2],e[3]],0):sr(e,0)>>2;return r?i/100:i}function Yr(t){var e={s:{},e:{}};return e.s.r=t.read_shift(4),e.e.r=t.read_shift(4),e.s.c=t.read_shift(4),e.e.c=t.read_shift(4),e}var Xr=Yr;function $r(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function Kr(t,e){var r=t.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[t.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return t.l-=4,t.read_shift(0,1==e?"lpstr":"lpwstr")}var Zr=[80,81],Jr={1:{n:"CodePage",t:2},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Qr={1:{n:"CodePage",t:2},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},tn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},en=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function rn(t){return t.map((function(t){return[t>>16&255,t>>8&255,255&t]}))}var nn=Ft(rn([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),on={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},an={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},sn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};var cn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function un(t){var e=t.lastIndexOf("/");return t.slice(0,e+1)+"_rels/"+t.slice(e+1)+".rels"}function ln(t,e){var r={"!id":{}};if(!t)return r;"/"!==e.charAt(0)&&(e="/"+e);var n={};return(t.match(ne)||[]).forEach((function(t){var i=ae(t);if("<Relationship"===i[0]){var o={};o.Type=i.Type,o.Target=i.Target,o.Id=i.Id,i.TargetMode&&(o.TargetMode=i.TargetMode);var a="External"===i.TargetMode?i.Target:Qt(i.Target,e);r[a]=o,n[i.Id]=o}})),r["!id"]=n,r}var fn=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],hn=function(){for(var t=new Array(fn.length),e=0;e<fn.length;++e){var r=fn[e],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);t[e]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return t}();function dn(t){var e={};t=we(t);for(var r=0;r<fn.length;++r){var n=fn[r],i=t.match(hn[r]);null!=i&&i.length>0&&(e[n[1]]=le(i[1])),"date"===n[2]&&e[n[1]]&&(e[n[1]]=It(e[n[1]]))}return e}var pn=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function mn(t,e,r,n){var i=[];if("string"==typeof t)i=Me(t,n);else for(var o=0;o<t.length;++o)i=i.concat(t[o].map((function(t){return{v:t}})));var a="string"==typeof e?Me(e,n).map((function(t){return t.v})):e,s=0,c=0;if(a.length>0)for(var u=0;u!==i.length;u+=2){switch(c=+i[u+1].v,i[u].v){case"Worksheets":case"\u5de5\u4f5c\u8868":case"\u041b\u0438\u0441\u0442\u044b":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30ef\u30fc\u30af\u30b7\u30fc\u30c8":case"\u05d2\u05dc\u05d9\u05d5\u05e0\u05d5\u05ea \u05e2\u05d1\u05d5\u05d3\u05d4":case"Arbeitsbl\xe4tter":case"\xc7al\u0131\u015fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xe1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xe1lculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=a.slice(s,s+c);break;case"Named Ranges":case"Rangos con nombre":case"\u540d\u524d\u4ed8\u304d\u4e00\u89a7":case"Benannte Bereiche":case"Navngivne omr\xe5der":r.NamedRanges=c,r.DefinedNames=a.slice(s,s+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=a.slice(s,s+c)}s+=c}}var bn=/<[^>]+>[^<]*/g;var vn,gn={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function yn(t,e,r){vn||(vn=kt(gn)),t[e=vn[e]||e]=r}function wn(t){var e=t.read_shift(4),r=t.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+e/1e7-11644473600)).toISOString().replace(/\.000/,"")}function xn(t,e,r){var n=t.l,i=t.read_shift(0,"lpstr-cp");if(r)for(;t.l-n&3;)++t.l;return i}function On(t,e,r){var n=t.read_shift(0,"lpwstr");return r&&(t.l+=4-(n.length+1&3)&3),n}function _n(t,e,r){return 31===e?On(t):xn(t,0,r)}function Sn(t,e,r){return _n(t,e,!1===r?0:4)}function kn(t){var e=t.l,r=Cn(t,81);return 0==t[t.l]&&0==t[t.l+1]&&t.l-e&2&&(t.l+=2),[r,Cn(t,3)]}function En(t,e){for(var r=t.read_shift(4),n={},i=0;i!=r;++i){var o=t.read_shift(4),a=t.read_shift(4);n[o]=t.read_shift(a,1200===e?"utf16le":"utf8").replace(C,"").replace(j,"!"),1200===e&&a%2&&(t.l+=2)}return 3&t.l&&(t.l=t.l>>3<<2),n}function Mn(t){var e=t.read_shift(4),r=t.slice(t.l,t.l+e);return t.l+=e,(3&e)>0&&(t.l+=4-(3&e)&3),r}function Cn(t,e,r){var n,i=t.read_shift(2),o=r||{};if(t.l+=2,12!==e&&i!==e&&-1===Zr.indexOf(e)&&(4126!=(65534&e)||4126!=(65534&i)))throw new Error("Expected type "+e+" saw "+i);switch(12===e?i:e){case 2:return n=t.read_shift(2,"i"),o.raw||(t.l+=2),n;case 3:return n=t.read_shift(4,"i");case 11:return 0!==t.read_shift(4);case 19:return n=t.read_shift(4);case 30:return xn(t,0,4).replace(C,"");case 31:return On(t);case 64:return wn(t);case 65:return Mn(t);case 71:return function(t){var e={};return e.Size=t.read_shift(4),t.l+=e.Size+3-(e.Size-1)%4,e}(t);case 80:return Sn(t,i,!o.raw).replace(C,"");case 81:return function(t,e){if(!e)throw new Error("VtUnalignedString must have positive length");return _n(t,e,0)}(t,i).replace(C,"");case 4108:return function(t){for(var e=t.read_shift(4),r=[],n=0;n<e/2;++n)r.push(kn(t));return r}(t);case 4126:case 4127:return 4127==i?function(t){for(var e=t.read_shift(4),r=[],n=0;n!=e;++n){var i=t.l;r[n]=t.read_shift(0,"lpwstr").replace(C,""),t.l-i&2&&(t.l+=2)}return r}(t):function(t){for(var e=t.read_shift(4),r=[],n=0;n!=e;++n)r[n]=t.read_shift(0,"lpstr-cp").replace(C,"");return r}(t);default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+i)}}function jn(t,e){var r=t.l,n=t.read_shift(4),i=t.read_shift(4),o=[],a=0,s=0,c=-1,l={};for(a=0;a!=i;++a){var f=t.read_shift(4),h=t.read_shift(4);o[a]=[f,h+r]}o.sort((function(t,e){return t[1]-e[1]}));var d={};for(a=0;a!=i;++a){if(t.l!==o[a][1]){var p=!0;if(a>0&&e)switch(e[o[a-1][0]].t){case 2:t.l+2===o[a][1]&&(t.l+=2,p=!1);break;case 80:case 4108:t.l<=o[a][1]&&(t.l=o[a][1],p=!1)}if((!e||0==a)&&t.l<=o[a][1]&&(p=!1,t.l=o[a][1]),p)throw new Error("Read Error: Expected address "+o[a][1]+" at "+t.l+" :"+a)}if(e){var m=e[o[a][0]];if(d[m.n]=Cn(t,m.t,{raw:!0}),"version"===m.p&&(d[m.n]=String(d[m.n]>>16)+"."+("0000"+String(65535&d[m.n])).slice(-4)),"CodePage"==m.n)switch(d[m.n]){case 0:d[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:u(s=d[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[m.n])}}else if(1===o[a][0]){if(s=d.CodePage=Cn(t,2),u(s),-1!==c){var b=t.l;t.l=o[c][1],l=En(t,s),t.l=b}}else if(0===o[a][0]){if(0===s){c=a,t.l=o[a+1][1];continue}l=En(t,s)}else{var v,g=l[o[a][0]];switch(t[t.l]){case 65:t.l+=4,v=Mn(t);break;case 30:case 31:t.l+=4,v=Sn(t,t[t.l-4]).replace(/\u0000+$/,"");break;case 3:t.l+=4,v=t.read_shift(4,"i");break;case 19:t.l+=4,v=t.read_shift(4);break;case 5:t.l+=4,v=t.read_shift(8,"f");break;case 11:t.l+=4,v=Pn(t,4);break;case 64:t.l+=4,v=It(wn(t));break;default:throw new Error("unparsed value: "+t[t.l])}d[g]=v}}return t.l=r+n,d}function An(t,e,r){var n=t.content;if(!n)return{};dr(n,0);var i,o,a,s,c=0;n.chk("feff","Byte Order: "),n.read_shift(2);var u=n.read_shift(4),l=n.read_shift(16);if(l!==Ot.utils.consts.HEADER_CLSID&&l!==r)throw new Error("Bad PropertySet CLSID "+l);if(1!==(i=n.read_shift(4))&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(o=n.read_shift(16),s=n.read_shift(4),1===i&&s!==n.l)throw new Error("Length mismatch: "+s+" !== "+n.l);2===i&&(a=n.read_shift(16),c=n.read_shift(4));var f,h=jn(n,e),d={SystemIdentifier:u};for(var p in h)d[p]=h[p];if(d.FMTID=o,1===i)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{f=jn(n,null)}catch(m){}for(p in f)d[p]=f[p];return d.FMTID=[o,a],d}function Tn(t,e){return t.read_shift(e),null}function Pn(t,e){return 1===t.read_shift(e)}function Dn(t){return t.read_shift(2,"u")}function Rn(t,e){return function(t,e,r){for(var n=[],i=t.l+e;t.l<i;)n.push(r(t,i-t.l));if(i!==t.l)throw new Error("Slurp error");return n}(t,e,Dn)}function Ln(t,e,r){var n=t.read_shift(r&&r.biff>=12?2:1),o="sbcs-cont",a=i;(r&&r.biff>=8&&(i=1200),r&&8!=r.biff)?12==r.biff&&(o="wstr"):t.read_shift(1)&&(o="dbcs-cont");r.biff>=2&&r.biff<=5&&(o="cpstr");var s=n?t.read_shift(n,o):"";return i=a,s}function In(t){var e=i;i=1200;var r,n=t.read_shift(2),o=t.read_shift(1),a=4&o,s=8&o,c=1+(1&o),u=0,l={};s&&(u=t.read_shift(2)),a&&(r=t.read_shift(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===n?"":t.read_shift(n,f);return s&&(t.l+=4*u),a&&(t.l+=r),l.t=h,s||(l.raw="<t>"+l.t+"</t>",l.r=l.t),i=e,l}function Nn(t,e,r){if(r){if(r.biff>=2&&r.biff<=5)return t.read_shift(e,"cpstr");if(r.biff>=12)return t.read_shift(e,"dbcs-cont")}return 0===t.read_shift(1)?t.read_shift(e,"sbcs-cont"):t.read_shift(e,"dbcs-cont")}function Fn(t,e,r){var n=t.read_shift(r&&2==r.biff?1:2);return 0===n?(t.l++,""):Nn(t,n,r)}function Bn(t,e,r){if(r.biff>5)return Fn(t,0,r);var n=t.read_shift(1);return 0===n?(t.l++,""):t.read_shift(n,r.biff<=4||!t.lens?"cpstr":"sbcs-cont")}function zn(t,e){var r=t.read_shift(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(t){var e=t.read_shift(4),r=t.l,n=!1;e>24&&(t.l+=e-24,"795881f43b1d7f48af2c825dc4852763"===t.read_shift(16)&&(n=!0),t.l=r);var i=t.read_shift((n?e-24:e)>>1,"utf16le").replace(C,"");return n&&(t.l+=24),i}(t);case"0303000000000000c000000000000046":return function(t){for(var e=t.read_shift(2),r="";e-- >0;)r+="../";var n=t.read_shift(0,"lpstr-ansi");if(t.l+=2,57005!=t.read_shift(2))throw new Error("Bad FileMoniker");if(0===t.read_shift(4))return r+n.replace(/\\/g,"/");var i=t.read_shift(4);if(3!=t.read_shift(2))throw new Error("Bad FileMoniker");return r+t.read_shift(i>>1,"utf16le").replace(C,"")}(t);default:throw new Error("Unsupported Moniker "+r)}}function Hn(t){var e=t.read_shift(4);return e>0?t.read_shift(e,"utf16le").replace(C,""):""}function Un(t){return[t.read_shift(1),t.read_shift(1),t.read_shift(1),t.read_shift(1)]}function Wn(t,e){var r=Un(t);return r[3]=0,r}function qn(t){return{r:t.read_shift(2),c:t.read_shift(2),ixfe:t.read_shift(2)}}function Vn(t,e,r){var n=r.biff>8?4:2;return[t.read_shift(n),t.read_shift(n,"i"),t.read_shift(n,"i")]}function Gn(t){return[t.read_shift(2),Gr(t)]}function Yn(t){var e=t.read_shift(2),r=t.read_shift(2);return{s:{c:t.read_shift(2),r:e},e:{c:t.read_shift(2),r:r}}}function Xn(t){var e=t.read_shift(2),r=t.read_shift(2);return{s:{c:t.read_shift(1),r:e},e:{c:t.read_shift(1),r:r}}}var $n=Xn;function Kn(t){t.l+=4;var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(2);return t.l+=12,[r,e,n]}function Zn(t){t.l+=2,t.l+=t.read_shift(2)}var Jn={0:Zn,4:Zn,5:Zn,6:Zn,7:function(t){return t.l+=4,t.cf=t.read_shift(2),{}},8:Zn,9:Zn,10:Zn,11:Zn,12:Zn,13:function(t){var e={};return t.l+=4,t.l+=16,e.fSharedNote=t.read_shift(2),t.l+=4,e},14:Zn,15:Zn,16:Zn,17:Zn,18:Zn,19:Zn,20:Zn,21:Kn};function Qn(t,e){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=t.read_shift(2),(e-=2)>=2&&(r.dt=t.read_shift(2),t.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(e>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return t.read_shift(e),r}function ti(t,e,r){var n=0;r&&2==r.biff||(n=t.read_shift(2));var i=t.read_shift(2);return r&&2==r.biff&&(n=1-(i>>15),i&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},i]}var ei=Bn;function ri(t,e,r){var n=t.l+e,i=8!=r.biff&&r.biff?2:4,o=t.read_shift(i),a=t.read_shift(i),s=t.read_shift(2),c=t.read_shift(2);return t.l=n,{s:{r:o,c:s},e:{r:a,c:c}}}function ni(t,e,r){var n=qn(t);2!=r.biff&&9!=e||++t.l;var i=function(t){var e=t.read_shift(1);return 1===t.read_shift(1)?e:1===e}(t);return n.val=i,n.t=!0===i||!1===i?"b":"e",n}var ii=function(t,e,r){return 0===e?"":Bn(t,0,r)};function oi(t,e,r){var n,i=t.read_shift(2),o={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===r.sbcch&&(n=function(t,e,r){t.l+=4,e-=4;var n=t.l+e,i=Ln(t,0,r),o=t.read_shift(2);if(o!==(n-=t.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+o);return t.l+=o,i}(t,e-2,r)),o.body=n||t.read_shift(e-2),"string"===typeof n&&(o.Name=n),o}var ai=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function si(t,e,r){var n=t.l+e,i=t.read_shift(2),o=t.read_shift(1),a=t.read_shift(1),s=t.read_shift(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(t.l+=2),c=t.read_shift(2),5==r.biff&&(t.l+=2),t.l+=4);var u=Nn(t,a,r);32&i&&(u=ai[u.charCodeAt(0)]);var l=n-t.l;return r&&2==r.biff&&--l,{chKey:o,Name:u,itab:c,rgce:n!=t.l&&0!==s&&l>0?function(t,e,r,n){var i,o=t.l+e,a=$o(t,n,r);o!==t.l&&(i=Xo(t,o-t.l,a,r));return[a,i]}(t,l,r,s):[]}}function ci(t,e,r){if(r.biff<8)return function(t,e,r){3==t[t.l+1]&&t[t.l]++;var n=Ln(t,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(t,0,r);for(var n=[],i=t.l+e,o=t.read_shift(r.biff>8?4:2);0!==o--;)n.push(Vn(t,r.biff,r));if(t.l!=i)throw new Error("Bad ExternSheet: "+t.l+" != "+i);return n}function ui(t,e,r){var n=$n(t,6);switch(r.biff){case 2:t.l++,e-=7;break;case 3:case 4:t.l+=2,e-=8;break;default:t.l+=6,e-=12}return[n,ea(t,e,r)]}var li={8:function(t,e){var r=t.l+e;t.l+=10;var n=t.read_shift(2);t.l+=4,t.l+=2,t.l+=2,t.l+=2,t.l+=4;var i=t.read_shift(1);return t.l+=i,t.l=r,{fmt:n}}};function fi(t,e,r){if(!r.cellStyles)return pr(t,e);var n=r&&r.biff>=12?4:2,i=t.read_shift(n),o=t.read_shift(n),a=t.read_shift(n),s=t.read_shift(n),c=t.read_shift(2);2==n&&(t.l+=2);var u={s:i,e:o,w:a,ixfe:s,flags:c};return(r.biff>=5||!r.biff)&&(u.level=c>>8&7),u}var hi=qn,di=Rn,pi=Fn;var mi=[2,3,48,49,131,139,140,245],bi=function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},e=kt({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(e,r){var n=r||{};n.dateNF||(n.dateNF="yyyymmdd");var i=Lr(function(e,r){var n=[],i=O(1);switch(r.type){case"base64":i=S(y(e));break;case"binary":i=S(e);break;case"buffer":case"array":i=e}dr(i,0);var o=i.read_shift(1),a=!!(136&o),s=!1,c=!1;switch(o){case 2:case 3:break;case 48:case 49:s=!0,a=!0;break;case 131:case 139:break;case 140:c=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var u=0,l=521;2==o&&(u=i.read_shift(2)),i.l+=3,2!=o&&(u=i.read_shift(4)),u>1048576&&(u=1e6),2!=o&&(l=i.read_shift(2));var f=i.read_shift(2),h=r.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(h=t[i[i.l]]),i.l+=1,i.l+=2),c&&(i.l+=36);for(var p=[],m={},b=Math.min(i.length,2==o?521:l-10-(s?264:0)),v=c?32:11;i.l<b&&13!=i[i.l];)switch((m={}).name=d.utils.decode(h,i.slice(i.l,i.l+v)).replace(/[\u0000\r\n].*$/g,""),i.l+=v,m.type=String.fromCharCode(i.read_shift(1)),2==o||c||(m.offset=i.read_shift(4)),m.len=i.read_shift(1),2==o&&(m.offset=i.read_shift(2)),m.dec=i.read_shift(1),m.name.length&&p.push(m),2!=o&&(i.l+=c?13:14),m.type){case"B":s&&8==m.len||!r.WTF||console.log("Skipping "+m.name+":"+m.type);break;case"G":case"P":r.WTF&&console.log("Skipping "+m.name+":"+m.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+m.type)}if(13!==i[i.l]&&(i.l=l-1),13!==i.read_shift(1))throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=l;var g=0,w=0;for(n[0]=[],w=0;w!=p.length;++w)n[0][w]=p[w].name;for(;u-- >0;)if(42!==i[i.l])for(++i.l,n[++g]=[],w=0,w=0;w!=p.length;++w){var x=i.slice(i.l,i.l+p[w].len);i.l+=p[w].len,dr(x,0);var _=d.utils.decode(h,x);switch(p[w].type){case"C":_.trim().length&&(n[g][w]=_.replace(/\s+$/,""));break;case"D":8===_.length?n[g][w]=new Date(+_.slice(0,4),+_.slice(4,6)-1,+_.slice(6,8)):n[g][w]=_;break;case"F":n[g][w]=parseFloat(_.trim());break;case"+":case"I":n[g][w]=c?2147483648^x.read_shift(-4,"i"):x.read_shift(4,"i");break;case"L":switch(_.trim().toUpperCase()){case"Y":case"T":n[g][w]=!0;break;case"N":case"F":n[g][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+_+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));n[g][w]="##MEMO##"+(c?parseInt(_.trim(),10):x.read_shift(4));break;case"N":(_=_.replace(/\u0000/g,"").trim())&&"."!=_&&(n[g][w]=+_||0);break;case"@":n[g][w]=new Date(x.read_shift(-8,"f")-621356832e5);break;case"T":n[g][w]=new Date(864e5*(x.read_shift(4)-2440588)+x.read_shift(4));break;case"Y":n[g][w]=x.read_shift(4,"i")/1e4+x.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":n[g][w]=-x.read_shift(-8,"f");break;case"B":if(s&&8==p[w].len){n[g][w]=x.read_shift(8,"f");break}case"G":case"P":x.l+=p[w].len;break;case"0":if("_NullFlags"===p[w].name)break;default:throw new Error("DBF Unsupported data type "+p[w].type)}}else i.l+=f;if(2!=o&&i.l<i.length&&26!=i[i.l++])throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));return r&&r.sheetRows&&(n=n.slice(0,r.sheetRows)),r.DBF=p,n}(e,n),n);return i["!cols"]=n.DBF.map((function(t){return{wch:t.len,DBF:t}})),delete n.DBF,i}var n={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(t,e){try{return Dr(r(t,e),e)}catch(n){if(e&&e.WTF)throw n}return{SheetNames:[],Sheets:{}}},to_sheet:r,from_sheet:function(t,r){var i=r||{};if(+i.codepage>=0&&u(+i.codepage),"string"==i.type)throw new Error("Cannot write DBF to JS string");var a=vr(),s=bc(t,{header:1,raw:!0,cellDates:!0}),c=s[0],l=s.slice(1),f=t["!cols"]||[],h=0,d=0,p=0,m=1;for(h=0;h<c.length;++h)if(((f[h]||{}).DBF||{}).name)c[h]=f[h].DBF.name,++p;else if(null!=c[h]){if(++p,"number"===typeof c[h]&&(c[h]=c[h].toString(10)),"string"!==typeof c[h])throw new Error("DBF Invalid column name "+c[h]+" |"+typeof c[h]+"|");if(c.indexOf(c[h])!==h)for(d=0;d<1024;++d)if(-1==c.indexOf(c[h]+"_"+d)){c[h]+="_"+d;break}}var b=Ar(t["!ref"]),v=[],g=[],y=[];for(h=0;h<=b.e.c-b.s.c;++h){var w="",x="",O=0,_=[];for(d=0;d<l.length;++d)null!=l[d][h]&&_.push(l[d][h]);if(0!=_.length&&null!=c[h]){for(d=0;d<_.length;++d){switch(typeof _[d]){case"number":x="B";break;case"string":x="C";break;case"boolean":x="L";break;case"object":x=_[d]instanceof Date?"D":"C";break;default:x="C"}O=Math.max(O,String(_[d]).length),w=w&&w!=x?"C":x}O>250&&(O=250),"C"==(x=((f[h]||{}).DBF||{}).type)&&f[h].DBF.len>O&&(O=f[h].DBF.len),"B"==w&&"N"==x&&(w="N",y[h]=f[h].DBF.dec,O=f[h].DBF.len),g[h]="C"==w||"N"==x?O:n[w]||0,m+=g[h],v[h]=w}else v[h]="?"}var S=a.next(32);for(S.write_shift(4,318902576),S.write_shift(4,l.length),S.write_shift(2,296+32*p),S.write_shift(2,m),h=0;h<4;++h)S.write_shift(4,0);for(S.write_shift(4,0|(+e[o]||3)<<8),h=0,d=0;h<c.length;++h)if(null!=c[h]){var k=a.next(32),E=(c[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);k.write_shift(1,E,"sbcs"),k.write_shift(1,"?"==v[h]?"C":v[h],"sbcs"),k.write_shift(4,d),k.write_shift(1,g[h]||n[v[h]]||0),k.write_shift(1,y[h]||0),k.write_shift(1,2),k.write_shift(4,0),k.write_shift(1,0),k.write_shift(4,0),k.write_shift(4,0),d+=g[h]||n[v[h]]||0}var M=a.next(264);for(M.write_shift(4,13),h=0;h<65;++h)M.write_shift(4,0);for(h=0;h<l.length;++h){var C=a.next(m);for(C.write_shift(1,0),d=0;d<c.length;++d)if(null!=c[d])switch(v[d]){case"L":C.write_shift(1,null==l[h][d]?63:l[h][d]?84:70);break;case"B":C.write_shift(8,l[h][d]||0,"f");break;case"N":var j="0";for("number"==typeof l[h][d]&&(j=l[h][d].toFixed(y[d]||0)),p=0;p<g[d]-j.length;++p)C.write_shift(1,32);C.write_shift(1,j,"sbcs");break;case"D":l[h][d]?(C.write_shift(4,("0000"+l[h][d].getFullYear()).slice(-4),"sbcs"),C.write_shift(2,("00"+(l[h][d].getMonth()+1)).slice(-2),"sbcs"),C.write_shift(2,("00"+l[h][d].getDate()).slice(-2),"sbcs")):C.write_shift(8,"00000000","sbcs");break;case"C":var A=String(null!=l[h][d]?l[h][d]:"").slice(0,g[d]);for(C.write_shift(1,A,"sbcs"),p=0;p<g[d]-A.length;++p)C.write_shift(1,32)}}return a.next(1).write_shift(1,26),a.end()}}}(),vi=function(){var t={AA:"\xc0",BA:"\xc1",CA:"\xc2",DA:195,HA:"\xc4",JA:197,AE:"\xc8",BE:"\xc9",CE:"\xca",HE:"\xcb",AI:"\xcc",BI:"\xcd",CI:"\xce",HI:"\xcf",AO:"\xd2",BO:"\xd3",CO:"\xd4",DO:213,HO:"\xd6",AU:"\xd9",BU:"\xda",CU:"\xdb",HU:"\xdc",Aa:"\xe0",Ba:"\xe1",Ca:"\xe2",Da:227,Ha:"\xe4",Ja:229,Ae:"\xe8",Be:"\xe9",Ce:"\xea",He:"\xeb",Ai:"\xec",Bi:"\xed",Ci:"\xee",Hi:"\xef",Ao:"\xf2",Bo:"\xf3",Co:"\xf4",Do:245,Ho:"\xf6",Au:"\xf9",Bu:"\xfa",Cu:"\xfb",Hu:"\xfc",KC:"\xc7",Kc:"\xe7",q:"\xe6",z:"\u0153",a:"\xc6",j:"\u0152",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},e=new RegExp("\x1bN("+St(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(e,r){var n=t[r];return"number"==typeof n?b(n):n},n=function(t,e,r){var n=e.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?t:b(n)};function i(t,i){var o,a=t.split(/[\n\r]+/),s=-1,c=-1,l=0,f=0,h=[],p=[],m=null,b={},v=[],g=[],y=[],w=0;for(+i.codepage>=0&&u(+i.codepage);l!==a.length;++l){w=0;var x,O=a[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(e,r),_=O.replace(/;;/g,"\0").split(";").map((function(t){return t.replace(/\u0000/g,";")})),S=_[0];if(O.length>0)switch(S){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==_[1].charAt(0)&&p.push(O.slice(3).replace(/;;/g,";"));break;case"C":var k=!1,E=!1,M=!1,C=!1,j=-1,A=-1;for(f=1;f<_.length;++f)switch(_[f].charAt(0)){case"A":break;case"X":c=parseInt(_[f].slice(1))-1,E=!0;break;case"Y":for(s=parseInt(_[f].slice(1))-1,E||(c=0),o=h.length;o<=s;++o)h[o]=[];break;case"K":'"'===(x=_[f].slice(1)).charAt(0)?x=x.slice(1,x.length-1):"TRUE"===x?x=!0:"FALSE"===x?x=!1:isNaN(zt(x))?isNaN(Ut(x).getDate())||(x=It(x)):(x=zt(x),null!==m&&ht(m)&&(x=Tt(x))),"undefined"!==typeof d&&"string"==typeof x&&"string"!=(i||{}).type&&(i||{}).codepage&&(x=d.utils.decode(i.codepage,x)),k=!0;break;case"E":C=!0;var T=_o(_[f].slice(1),{r:s,c:c});h[s][c]=[h[s][c],T];break;case"S":M=!0,h[s][c]=[h[s][c],"S5S"];break;case"G":break;case"R":j=parseInt(_[f].slice(1))-1;break;case"C":A=parseInt(_[f].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+O)}if(k&&(h[s][c]&&2==h[s][c].length?h[s][c][0]=x:h[s][c]=x,m=null),M){if(C)throw new Error("SYLK shared formula cannot have own formula");var P=j>-1&&h[j][A];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");h[s][c][1]=Eo(P[1],{r:s-j,c:c-A})}break;case"F":var D=0;for(f=1;f<_.length;++f)switch(_[f].charAt(0)){case"X":c=parseInt(_[f].slice(1))-1,++D;break;case"Y":for(s=parseInt(_[f].slice(1))-1,o=h.length;o<=s;++o)h[o]=[];break;case"M":w=parseInt(_[f].slice(1))/20;break;case"F":case"G":break;case"P":m=p[parseInt(_[f].slice(1))];break;case"S":case"D":case"N":break;case"W":for(y=_[f].slice(1).split(" "),o=parseInt(y[0],10);o<=parseInt(y[1],10);++o)w=parseInt(y[2],10),g[o-1]=0===w?{hidden:!0}:{wch:w},Qi(g[o-1]);break;case"C":g[c=parseInt(_[f].slice(1))-1]||(g[c]={});break;case"R":v[s=parseInt(_[f].slice(1))-1]||(v[s]={}),w>0?(v[s].hpt=w,v[s].hpx=eo(w)):0===w&&(v[s].hidden=!0);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+O)}D<1&&(m=null);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+O)}}return v.length>0&&(b["!rows"]=v),g.length>0&&(b["!cols"]=g),i&&i.sheetRows&&(h=h.slice(0,i.sheetRows)),[h,b]}function o(t,e){var r=function(t,e){switch(e.type){case"base64":return i(y(t),e);case"binary":return i(t,e);case"buffer":return i(w&&Buffer.isBuffer(t)?t.toString("binary"):k(t),e);case"array":return i(Nt(t),e)}throw new Error("Unrecognized type "+e.type)}(t,e),n=r[0],o=r[1],a=Lr(n,e);return St(o).forEach((function(t){a[t]=o[t]})),a}function a(t,e,r,n){var i="C;Y"+(r+1)+";X"+(n+1)+";K";switch(t.t){case"n":i+=t.v||0,t.f&&!t.F&&(i+=";E"+ko(t.f,{r:r,c:n}));break;case"b":i+=t.v?"TRUE":"FALSE";break;case"e":i+=t.w||t.v;break;case"d":i+='"'+(t.w||t.v)+'"';break;case"s":i+='"'+t.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return i}return t["|"]=254,{to_workbook:function(t,e){return Dr(o(t,e),e)},to_sheet:o,from_sheet:function(t,e){var r,n,i=["ID;PWXL;N;E"],o=[],s=Ar(t["!ref"]),c=Array.isArray(t),u="\r\n";i.push("P;PGeneral"),i.push("F;P0;DG0G8;M255"),t["!cols"]&&(n=i,t["!cols"].forEach((function(t,e){var r="F;W"+(e+1)+" "+(e+1)+" ";t.hidden?r+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Xi(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=$i(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&n.push(r)}))),t["!rows"]&&function(t,e){e.forEach((function(e,r){var n="F;";e.hidden?n+="M0;":e.hpt?n+="M"+20*e.hpt+";":e.hpx&&(n+="M"+20*to(e.hpx)+";"),n.length>2&&t.push(n+"R"+(r+1))}))}(i,t["!rows"]),i.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var l=s.s.r;l<=s.e.r;++l)for(var f=s.s.c;f<=s.e.c;++f){var h=Mr({r:l,c:f});(r=c?(t[l]||[])[f]:t[h])&&(null!=r.v||r.f&&!r.F)&&o.push(a(r,0,l,f))}return i.join(u)+u+o.join(u)+u+"E"+u}}}(),gi=function(){function t(t,e){for(var r=t.split("\n"),n=-1,i=-1,o=0,a=[];o!==r.length;++o)if("BOT"!==r[o].trim()){if(!(n<0)){for(var s=r[o].trim().split(","),c=s[0],u=s[1],l=r[++o]||"";1&(l.match(/["]/g)||[]).length&&o<r.length-1;)l+="\n"+r[++o];switch(l=l.trim(),+c){case-1:if("BOT"===l){a[++n]=[],i=0;continue}if("EOD"!==l)throw new Error("Unrecognized DIF special command "+l);break;case 0:"TRUE"===l?a[n][i]=!0:"FALSE"===l?a[n][i]=!1:isNaN(zt(u))?isNaN(Ut(u).getDate())?a[n][i]=u:a[n][i]=It(u):a[n][i]=zt(u),++i;break;case 1:(l=(l=l.slice(1,l.length-1)).replace(/""/g,'"'))&&l.match(/^=".*"$/)&&(l=l.slice(2,-1)),a[n][i++]=""!==l?l:null}if("EOD"===l)break}}else a[++n]=[],i=0;return e&&e.sheetRows&&(a=a.slice(0,e.sheetRows)),a}function e(e,r){return Lr(function(e,r){switch(r.type){case"base64":return t(y(e),r);case"binary":return t(e,r);case"buffer":return t(w&&Buffer.isBuffer(e)?e.toString("binary"):k(e),r);case"array":return t(Nt(e),r)}throw new Error("Unrecognized type "+r.type)}(e,r),r)}return{to_workbook:function(t,r){return Dr(e(t,r),r)},to_sheet:e,from_sheet:function(){var t=function(t,e,r,n,i){t.push(e),t.push(r+","+n),t.push('"'+i.replace(/"/g,'""')+'"')},e=function(t,e,r,n){t.push(e+","+r),t.push(1==e?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,i=[],o=Ar(r["!ref"]),a=Array.isArray(r);t(i,"TABLE",0,1,"sheetjs"),t(i,"VECTORS",0,o.e.r-o.s.r+1,""),t(i,"TUPLES",0,o.e.c-o.s.c+1,""),t(i,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){e(i,-1,0,"BOT");for(var c=o.s.c;c<=o.e.c;++c){var u=Mr({r:s,c:c});if(n=a?(r[s]||[])[c]:r[u])switch(n.t){case"n":var l=n.w;l||null==n.v||(l=n.v),null==l?n.f&&!n.F?e(i,1,0,"="+n.f):e(i,1,0,""):e(i,0,l,"V");break;case"b":e(i,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":e(i,1,0,isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=bt(n.z||B[14],Mt(It(n.v)))),e(i,0,n.w,"V");break;default:e(i,1,0,"")}else e(i,1,0,"")}}e(i,-1,0,"EOD");return i.join("\r\n")}}()}}(),yi=function(){function t(t){return t.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function e(t,e){return Lr(function(t,e){for(var r=t.split("\n"),n=-1,i=-1,o=0,a=[];o!==r.length;++o){var s=r[o].trim().split(":");if("cell"===s[0]){var c=Er(s[1]);if(a.length<=c.r)for(n=a.length;n<=c.r;++n)a[n]||(a[n]=[]);switch(n=c.r,i=c.c,s[2]){case"t":a[n][i]=s[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n");break;case"v":a[n][i]=+s[3];break;case"vtf":var u=s[s.length-1];case"vtc":switch(s[3]){case"nl":a[n][i]=!!+s[4];break;default:a[n][i]=+s[4]}"vtf"==s[2]&&(a[n][i]=[a[n][i],u])}}}return e&&e.sheetRows&&(a=a.slice(0,e.sheetRows)),a}(t,e),e)}var r=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),n=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",i=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),o="--SocialCalcSpreadsheetControlSave--";function a(e){if(!e||!e["!ref"])return"";for(var r,n=[],i=[],o="",a=Cr(e["!ref"]),s=Array.isArray(e),c=a.s.r;c<=a.e.r;++c)for(var u=a.s.c;u<=a.e.c;++u)if(o=Mr({r:c,c:u}),(r=s?(e[c]||[])[u]:e[o])&&null!=r.v&&"z"!==r.t){switch(i=["cell",o,"t"],r.t){case"s":case"str":i.push(t(r.v));break;case"n":r.f?(i[2]="vtf",i[3]="n",i[4]=r.v,i[5]=t(r.f)):(i[2]="v",i[3]=r.v);break;case"b":i[2]="vt"+(r.f?"f":"c"),i[3]="nl",i[4]=r.v?"1":"0",i[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var l=Mt(It(r.v));i[2]="vtc",i[3]="nd",i[4]=""+l,i[5]=r.w||bt(r.z||B[14],l);break;case"e":continue}n.push(i.join(":"))}return n.push("sheet:c:"+(a.e.c-a.s.c+1)+":r:"+(a.e.r-a.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(t,r){return Dr(e(t,r),r)},to_sheet:e,from_sheet:function(t){return[r,n,i,n,a(t),o].join("\n")}}}(),wi=function(){function t(t,e,r,n,i){i.raw?e[r][n]=t:""===t||("TRUE"===t?e[r][n]=!0:"FALSE"===t?e[r][n]=!1:isNaN(zt(t))?isNaN(Ut(t).getDate())?e[r][n]=t:e[r][n]=It(t):e[r][n]=zt(t))}var e={44:",",9:"\t",59:";",124:"|"},r={44:3,9:2,59:1,124:0};function n(t){for(var n={},i=!1,o=0,a=0;o<t.length;++o)34==(a=t.charCodeAt(o))?i=!i:!i&&a in e&&(n[a]=(n[a]||0)+1);for(o in a=[],n)Object.prototype.hasOwnProperty.call(n,o)&&a.push([n[o],o]);if(!a.length)for(o in n=r)Object.prototype.hasOwnProperty.call(n,o)&&a.push([n[o],o]);return a.sort((function(t,e){return t[0]-e[0]||r[t[1]]-r[e[1]]})),e[a.pop()[1]]||44}function i(t,e){var r=e||{},i="";var o=r.dense?[]:{},a={s:{c:0,r:0},e:{c:0,r:0}};"sep="==t.slice(0,4)?13==t.charCodeAt(5)&&10==t.charCodeAt(6)?(i=t.charAt(4),t=t.slice(7)):13==t.charCodeAt(5)||10==t.charCodeAt(5)?(i=t.charAt(4),t=t.slice(6)):i=n(t.slice(0,1024)):i=r&&r.FS?r.FS:n(t.slice(0,1024));var s=0,c=0,u=0,l=0,f=0,h=i.charCodeAt(0),d=!1,p=0,m=t.charCodeAt(0);t=t.replace(/\r\n/gm,"\n");var b=null!=r.dateNF?function(t){var e="number"==typeof t?B[t]:t;return e=e.replace(wt,"(\\d+)"),new RegExp("^"+e+"$")}(r.dateNF):null;function v(){var e=t.slice(l,f),n={};if('"'==e.charAt(0)&&'"'==e.charAt(e.length-1)&&(e=e.slice(1,-1).replace(/""/g,'"')),0===e.length)n.t="z";else if(r.raw)n.t="s",n.v=e;else if(0===e.trim().length)n.t="s",n.v=e;else if(61==e.charCodeAt(0))34==e.charCodeAt(1)&&34==e.charCodeAt(e.length-1)?(n.t="s",n.v=e.slice(2,-1).replace(/""/g,'"')):1!=e.length?(n.t="n",n.f=e.slice(1)):(n.t="s",n.v=e);else if("TRUE"==e)n.t="b",n.v=!0;else if("FALSE"==e)n.t="b",n.v=!1;else if(isNaN(u=zt(e)))if(!isNaN(Ut(e).getDate())||b&&e.match(b)){n.z=r.dateNF||B[14];var i=0;b&&e.match(b)&&(e=function(t,e,r){var n=-1,i=-1,o=-1,a=-1,s=-1,c=-1;(e.match(wt)||[]).forEach((function(t,e){var u=parseInt(r[e+1],10);switch(t.toLowerCase().charAt(0)){case"y":n=u;break;case"d":o=u;break;case"h":a=u;break;case"s":c=u;break;case"m":a>=0?s=u:i=u}})),c>=0&&-1==s&&i>=0&&(s=i,i=-1);var u=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==u.length&&(u="0"+u),8==u.length&&(u="20"+u);var l=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==a&&-1==s&&-1==c?u:-1==n&&-1==i&&-1==o?l:u+"T"+l}(0,r.dateNF,e.match(b)||[]),i=1),r.cellDates?(n.t="d",n.v=It(e,i)):(n.t="n",n.v=Mt(It(e,i))),!1!==r.cellText&&(n.w=bt(n.z,n.v instanceof Date?Mt(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=e;else n.t="n",!1!==r.cellText&&(n.w=e),n.v=u;if("z"==n.t||(r.dense?(o[s]||(o[s]=[]),o[s][c]=n):o[Mr({c:c,r:s})]=n),l=f+1,m=t.charCodeAt(l),a.e.c<c&&(a.e.c=c),a.e.r<s&&(a.e.r=s),p==h)++c;else if(c=0,++s,r.sheetRows&&r.sheetRows<=s)return!0}t:for(;f<t.length;++f)switch(p=t.charCodeAt(f)){case 34:34===m&&(d=!d);break;case h:case 10:case 13:if(!d&&v())break t}return f-l>0&&v(),o["!ref"]=jr(a),o}function o(e,r){return r&&r.PRN?r.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?i(e,r):Lr(function(e,r){var n=r||{},i=[];if(!e||0===e.length)return i;for(var o=e.split(/[\r\n]/),a=o.length-1;a>=0&&0===o[a].length;)--a;for(var s=10,c=0,u=0;u<=a;++u)-1==(c=o[u].indexOf(" "))?c=o[u].length:c++,s=Math.max(s,c);for(u=0;u<=a;++u){i[u]=[];var l=0;for(t(o[u].slice(0,s).trim(),i,u,l,n),l=1;l<=(o[u].length-s)/10+1;++l)t(o[u].slice(s+10*(l-1),s+10*l).trim(),i,u,l,n)}return n.sheetRows&&(i=i.slice(0,n.sheetRows)),i}(e,r),r):i(e,r)}function a(t,e){var r="",n="string"==e.type?[0,0,0,0]:fc(t,e);switch(e.type){case"base64":r=y(t);break;case"binary":r=t;break;case"buffer":r=65001==e.codepage?t.toString("utf8"):e.codepage&&"undefined"!==typeof d?d.utils.decode(e.codepage,t):w&&Buffer.isBuffer(t)?t.toString("binary"):k(t);break;case"array":r=Nt(t);break;case"string":r=t;break;default:throw new Error("Unrecognized type "+e.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=we(r.slice(3)):"string"!=e.type&&"buffer"!=e.type&&65001==e.codepage?r=we(r):"binary"==e.type&&"undefined"!==typeof d&&e.codepage&&(r=d.utils.decode(e.codepage,d.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?yi.to_sheet("string"==e.type?r:we(r),e):o(r,e)}return{to_workbook:function(t,e){return Dr(a(t,e),e)},to_sheet:a,from_sheet:function(t){for(var e,r=[],n=Ar(t["!ref"]),i=Array.isArray(t),o=n.s.r;o<=n.e.r;++o){for(var a=[],s=n.s.c;s<=n.e.c;++s){var c=Mr({r:o,c:s});if((e=i?(t[o]||[])[s]:t[c])&&null!=e.v){for(var u=(e.w||(Pr(e),e.w)||"").slice(0,10);u.length<10;)u+=" ";a.push(u+(0===s?" ":""))}else a.push("          ")}r.push(a.join(""))}return r.join("\n")}}}();var xi=function(){function t(t,e,r){if(t){dr(t,t.l||0);for(var n=r.Enum||g;t.l<t.length;){var i=t.read_shift(2),o=n[i]||n[65535],a=t.read_shift(2),s=t.l+a,c=o.f&&o.f(t,a,r);if(t.l=s,e(c,o,i))return}}}function e(e,r){if(!e)return e;var n=r||{};var i=n.dense?[]:{},o="Sheet1",a="",s=0,c={},u=[],l=[],f={s:{r:0,c:0},e:{r:0,c:0}},h=n.sheetRows||0;if(0==e[2]&&(8==e[3]||9==e[3])&&e.length>=16&&5==e[14]&&108===e[15])throw new Error("Unsupported Works 3 for Mac file");if(2==e[2])n.Enum=g,t(e,(function(t,e,r){switch(r){case 0:n.vers=t,t>=4096&&(n.qpro=!0);break;case 6:f=t;break;case 204:t&&(a=t);break;case 222:a=t;break;case 15:case 51:n.qpro||(t[1].v=t[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&t[2])&&(15&t[2])>1&&(15&t[2])<15&&(t[1].z=n.dateNF||B[14],n.cellDates&&(t[1].t="d",t[1].v=Tt(t[1].v))),n.qpro&&t[3]>s&&(i["!ref"]=jr(f),c[o]=i,u.push(o),i=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o=a||"Sheet"+(s+1),a="");var l=n.dense?(i[t[0].r]||[])[t[0].c]:i[Mr(t[0])];if(l){l.t=t[1].t,l.v=t[1].v,null!=t[1].z&&(l.z=t[1].z),null!=t[1].f&&(l.f=t[1].f);break}n.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[Mr(t[0])]=t[1]}}),n);else{if(26!=e[2]&&14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);n.Enum=w,14==e[2]&&(n.qpro=!0,e.l=0),t(e,(function(t,e,r){switch(r){case 204:o=t;break;case 22:t[1].v=t[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(t[3]>s&&(i["!ref"]=jr(f),c[o]=i,u.push(o),i=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o="Sheet"+(s+1)),h>0&&t[0].r>=h)break;n.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[Mr(t[0])]=t[1],f.e.c<t[0].c&&(f.e.c=t[0].c),f.e.r<t[0].r&&(f.e.r=t[0].r);break;case 27:t[14e3]&&(l[t[14e3][0]]=t[14e3][1]);break;case 1537:l[t[0]]=t[1],t[0]==s&&(o=t[1])}}),n)}if(i["!ref"]=jr(f),c[a||o]=i,u.push(a||o),!l.length)return{SheetNames:u,Sheets:c};for(var d={},p=[],m=0;m<l.length;++m)c[u[m]]?(p.push(l[m]||u[m]),d[l[m]]=c[l[m]]||c[u[m]]):(p.push(l[m]),d[l[m]]={"!ref":"A1"});return{SheetNames:p,Sheets:d}}function r(t,e,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=t.read_shift(1),n[3]=t.read_shift(1),n[0].r=t.read_shift(2),t.l+=2):(n[2]=t.read_shift(1),n[0].c=t.read_shift(2),n[0].r=t.read_shift(2)),n}function n(t,e,n){var i=t.l+e,o=r(t,0,n);if(o[1].t="s",20768==n.vers){t.l++;var a=t.read_shift(1);return o[1].v=t.read_shift(a,"utf8"),o}return n.qpro&&t.l++,o[1].v=t.read_shift(i-t.l,"cstr"),o}function i(t,e,r){var n=mr(7+r.length);n.write_shift(1,255),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(1,39);for(var i=0;i<n.length;++i){var o=r.charCodeAt(i);n.write_shift(1,o>=128?95:o)}return n.write_shift(1,0),n}function o(t,e,r){var n=mr(7);return n.write_shift(1,255),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r,"i"),n}function a(t,e,r){var n=mr(13);return n.write_shift(1,255),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(8,r,"f"),n}function s(t,e,r){var n=32768&e;return e=(n?t:0)+((e&=-32769)>=8192?e-16384:e),(n?"":"$")+(r?kr(e):_r(e))}var c={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},l=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function f(t){var e=[{c:0,r:0},{t:"n",v:0},0];return e[0].r=t.read_shift(2),e[3]=t[t.l++],e[0].c=t[t.l++],e}function h(t,e,r,n){var i=mr(6+n.length);i.write_shift(2,t),i.write_shift(1,r),i.write_shift(1,e),i.write_shift(1,39);for(var o=0;o<n.length;++o){var a=n.charCodeAt(o);i.write_shift(1,a>=128?95:a)}return i.write_shift(1,0),i}function d(t,e){var r=f(t),n=t.read_shift(4),i=t.read_shift(4),o=t.read_shift(2);if(65535==o)return 0===n&&3221225472===i?(r[1].t="e",r[1].v=15):0===n&&3489660928===i?(r[1].t="e",r[1].v=42):r[1].v=0,r;var a=32768&o;return o=(32767&o)-16446,r[1].v=(1-2*a)*(i*Math.pow(2,o+32)+n*Math.pow(2,o)),r}function p(t,e,r,n){var i=mr(14);if(i.write_shift(2,t),i.write_shift(1,r),i.write_shift(1,e),0==n)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var o,a=0,s=0,c=0;return n<0&&(a=1,n=-n),s=0|Math.log2(n),0==(2147483648&(c=(n/=Math.pow(2,s-31))>>>0))&&(++s,c=(n/=2)>>>0),n-=c,c|=2147483648,c>>>=0,o=(n*=Math.pow(2,32))>>>0,i.write_shift(4,o),i.write_shift(4,c),s+=16383+(a?32768:0),i.write_shift(2,s),i}function m(t,e){var r=f(t),n=t.read_shift(8,"f");return r[1].v=n,r}function b(t,e){return 0==t[t.l+e-1]?t.read_shift(e,"cstr"):""}function v(t,e){var r=mr(5+t.length);r.write_shift(2,14e3),r.write_shift(2,e);for(var n=0;n<t.length;++n){var i=t.charCodeAt(n);r[r.l++]=i>127?95:i}return r[r.l++]=0,r}var g={0:{n:"BOF",f:Dn},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(t,e,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==e&&r.qpro?(n.s.c=t.read_shift(1),t.l++,n.s.r=t.read_shift(2),n.e.c=t.read_shift(1),t.l++,n.e.r=t.read_shift(2),n):(n.s.c=t.read_shift(2),n.s.r=t.read_shift(2),12==e&&r.qpro&&(t.l+=2),n.e.c=t.read_shift(2),n.e.r=t.read_shift(2),12==e&&r.qpro&&(t.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(t,e,n){var i=r(t,0,n);return i[1].v=t.read_shift(2,"i"),i}},14:{n:"NUMBER",f:function(t,e,n){var i=r(t,0,n);return i[1].v=t.read_shift(8,"f"),i}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(t,e,n){var i=t.l+e,o=r(t,0,n);if(o[1].v=t.read_shift(8,"f"),n.qpro)t.l=i;else{var a=t.read_shift(2);!function(t,e){dr(t,0);var r=[],n=0,i="",o="",a="",u="";for(;t.l<t.length;){var f=t[t.l++];switch(f){case 0:r.push(t.read_shift(8,"f"));break;case 1:o=s(e[0].c,t.read_shift(2),!0),i=s(e[0].r,t.read_shift(2),!1),r.push(o+i);break;case 2:var h=s(e[0].c,t.read_shift(2),!0),d=s(e[0].r,t.read_shift(2),!1);o=s(e[0].c,t.read_shift(2),!0),i=s(e[0].r,t.read_shift(2),!1),r.push(h+d+":"+o+i);break;case 3:if(t.l<t.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(t.read_shift(2));break;case 6:for(var p="";f=t[t.l++];)p+=String.fromCharCode(f);r.push('"'+p.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:u=r.pop(),a=r.pop(),r.push(["AND","OR"][f-20]+"("+a+","+u+")");break;default:if(f<32&&l[f])u=r.pop(),a=r.pop(),r.push(a+l[f]+u);else{if(!c[f])return f<=7?console.error("WK1 invalid opcode "+f.toString(16)):f<=24?console.error("WK1 unsupported op "+f.toString(16)):f<=30?console.error("WK1 invalid opcode "+f.toString(16)):f<=115?console.error("WK1 unsupported function opcode "+f.toString(16)):console.error("WK1 unrecognized opcode "+f.toString(16));if(69==(n=c[f][1])&&(n=t[t.l++]),n>r.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+r.join("|")+"|");var m=r.slice(-n);r.length-=n,r.push(c[f][0]+"("+m.join(",")+")")}}}1==r.length?e[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(t.slice(t.l,t.l+a),o),t.l+=a}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:b},222:{n:"SHEETNAMELP",f:function(t,e){var r=t[t.l++];r>e-1&&(r=e-1);for(var n="";n.length<r;)n+=String.fromCharCode(t[t.l++]);return n}},65535:{n:""}},w={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(t,e){var r=f(t);return r[1].t="s",r[1].v=t.read_shift(e-4,"cstr"),r}},23:{n:"NUMBER17",f:d},24:{n:"NUMBER18",f:function(t,e){var r=f(t);r[1].v=t.read_shift(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(t,e){var r=d(t);return t.l+=e-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(t,e){for(var r={},n=t.l+e;t.l<n;){var i=t.read_shift(2);if(14e3==i){for(r[i]=[0,""],r[i][0]=t.read_shift(2);t[t.l];)r[i][1]+=String.fromCharCode(t[t.l]),t.l++;t.l++}}return r}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(t,e){var r=f(t),n=t.read_shift(4);return r[1].v=n>>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(t,e){var r=m(t);return t.l+=e-10,r}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:b},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(t,e,r){if(r.qpro&&!(e<21)){var n=t.read_shift(1);return t.l+=17,t.l+=1,t.l+=2,[n,t.read_shift(e-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(t,e){var r=e||{};if(+r.codepage>=0&&u(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=vr(),s=Ar(t["!ref"]),c=Array.isArray(t),l=[];Es(n,0,function(t){var e=mr(2);return e.write_shift(2,t),e}(1030)),Es(n,6,function(t){var e=mr(8);return e.write_shift(2,t.s.c),e.write_shift(2,t.s.r),e.write_shift(2,t.e.c),e.write_shift(2,t.e.r),e}(s));for(var f=Math.min(s.e.r,8191),h=s.s.r;h<=f;++h)for(var d=_r(h),p=s.s.c;p<=s.e.c;++p){h===s.s.r&&(l[p]=kr(p));var m=l[p]+d,b=c?(t[h]||[])[p]:t[m];if(b&&"z"!=b.t)if("n"==b.t)(0|b.v)==b.v&&b.v>=-32768&&b.v<=32767?Es(n,13,o(h,p,b.v)):Es(n,14,a(h,p,b.v));else Es(n,15,i(h,p,Pr(b).slice(0,239)))}return Es(n,1),n.end()},book_to_wk3:function(t,e){var r=e||{};if(+r.codepage>=0&&u(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=vr();Es(n,0,function(t){var e=mr(26);e.write_shift(2,4096),e.write_shift(2,4),e.write_shift(4,0);for(var r=0,n=0,i=0,o=0;o<t.SheetNames.length;++o){var a=t.SheetNames[o],s=t.Sheets[a];if(s&&s["!ref"]){++i;var c=Cr(s["!ref"]);r<c.e.r&&(r=c.e.r),n<c.e.c&&(n=c.e.c)}}r>8191&&(r=8191);return e.write_shift(2,r),e.write_shift(1,i),e.write_shift(1,n),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(1,1),e.write_shift(1,2),e.write_shift(4,0),e.write_shift(4,0),e}(t));for(var i=0,o=0;i<t.SheetNames.length;++i)(t.Sheets[t.SheetNames[i]]||{})["!ref"]&&Es(n,27,v(t.SheetNames[i],o++));var a=0;for(i=0;i<t.SheetNames.length;++i){var s=t.Sheets[t.SheetNames[i]];if(s&&s["!ref"]){for(var c=Ar(s["!ref"]),l=Array.isArray(s),f=[],d=Math.min(c.e.r,8191),m=c.s.r;m<=d;++m)for(var b=_r(m),g=c.s.c;g<=c.e.c;++g){m===c.s.r&&(f[g]=kr(g));var y=f[g]+b,w=l?(s[m]||[])[g]:s[y];if(w&&"z"!=w.t)if("n"==w.t)Es(n,23,p(m,g,a,w.v));else Es(n,22,h(m,g,a,Pr(w).slice(0,239)))}++a}}return Es(n,1),n.end()},to_workbook:function(t,r){switch(r.type){case"base64":return e(S(y(t)),r);case"binary":return e(S(t),r);case"buffer":case"array":return e(t,r)}throw"Unsupported type "+r.type}}}();var Oi=function(){var t=Oe("t"),e=Oe("rPr");function r(r){var n=r.match(t);if(!n)return{t:"s",v:""};var i={t:"s",v:le(n[1])},o=r.match(e);return o&&(i.s=function(t){var e={},r=t.match(ne),n=0,i=!1;if(r)for(;n!=r.length;++n){var o=ae(r[n]);switch(o[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!o.val)break;case"<shadow>":case"<shadow/>":e.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==o.val)break;e.cp=s[parseInt(o.val,10)];break;case"<outline":if(!o.val)break;case"<outline>":case"<outline/>":e.outline=1;break;case"</outline>":break;case"<rFont":e.name=o.val;break;case"<sz":e.sz=o.val;break;case"<strike":if(!o.val)break;case"<strike>":case"<strike/>":e.strike=1;break;case"</strike>":break;case"<u":if(!o.val)break;switch(o.val){case"double":e.uval="double";break;case"singleAccounting":e.uval="single-accounting";break;case"doubleAccounting":e.uval="double-accounting"}case"<u>":case"<u/>":e.u=1;break;case"</u>":break;case"<b":if("0"==o.val)break;case"<b>":case"<b/>":e.b=1;break;case"</b>":break;case"<i":if("0"==o.val)break;case"<i>":case"<i/>":e.i=1;break;case"</i>":break;case"<color":o.rgb&&(e.color=o.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":e.family=o.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":e.valign=o.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==o[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+o[0])}}return e}(o[1])),i}var n=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(t){return t.replace(n,"").split(i).map(r).filter((function(t){return t.v}))}}(),_i=function(){var t=/(\r\n|\n)/g;function e(e){var r=[[],e.v,[]];return e.v?(e.s&&function(t,e,r){var n=[];t.u&&n.push("text-decoration: underline;"),t.uval&&n.push("text-underline-style:"+t.uval+";"),t.sz&&n.push("font-size:"+t.sz+"pt;"),t.outline&&n.push("text-effect: outline;"),t.shadow&&n.push("text-shadow: auto;"),e.push('<span style="'+n.join("")+'">'),t.b&&(e.push("<b>"),r.push("</b>")),t.i&&(e.push("<i>"),r.push("</i>")),t.strike&&(e.push("<s>"),r.push("</s>"));var i=t.valign||"";"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(e.push("<"+i+">"),r.push("</"+i+">")),r.push("</span>")}(e.s,r[0],r[2]),r[0].join("")+r[1].replace(t,"<br/>")+r[2].join("")):""}return function(t){return t.map(e).join("")}}(),Si=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,ki=/<(?:\w+:)?r>/,Ei=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Mi(t,e){var r=!e||e.cellHTML,n={};return t?(t.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=le(we(t.slice(t.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=we(t),r&&(n.h=de(n.t))):t.match(ki)&&(n.r=we(t),n.t=le(we((t.replace(Ei,"").match(Si)||[]).join("").replace(ne,""))),r&&(n.h=_i(Oi(n.r)))),n):{t:""}}var Ci=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,ji=/<(?:\w+:)?(?:si|sstItem)>/g,Ai=/<\/(?:\w+:)?(?:si|sstItem)>/;function Ti(t){if("undefined"!==typeof d)return d.utils.encode(o,t);for(var e=[],r=t.split(""),n=0;n<r.length;++n)e[n]=r[n].charCodeAt(0);return e}function Pi(t,e){var r={};return r.Major=t.read_shift(2),r.Minor=t.read_shift(2),e>=4&&(t.l+=e-4),r}function Di(t){for(var e=t.read_shift(4),r=t.l+e-4,n={},i=t.read_shift(4),o=[];i-- >0;)o.push({t:t.read_shift(4),v:t.read_shift(0,"lpp4")});if(n.name=t.read_shift(0,"lpp4"),n.comps=o,t.l!=r)throw new Error("Bad DataSpaceMapEntry: "+t.l+" != "+r);return n}function Ri(t){var e=function(t){var e={};return t.read_shift(4),t.l+=4,e.id=t.read_shift(0,"lpp4"),e.name=t.read_shift(0,"lpp4"),e.R=Pi(t,4),e.U=Pi(t,4),e.W=Pi(t,4),e}(t);if(e.ename=t.read_shift(0,"8lpp4"),e.blksz=t.read_shift(4),e.cmode=t.read_shift(4),4!=t.read_shift(4))throw new Error("Bad !Primary record");return e}function Li(t,e){var r=t.l+e,n={};n.Flags=63&t.read_shift(4),t.l+=4,n.AlgID=t.read_shift(4);var i=!1;switch(n.AlgID){case 26126:case 26127:case 26128:i=36==n.Flags;break;case 26625:i=4==n.Flags;break;case 0:i=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=t.read_shift(4),n.KeySize=t.read_shift(4),n.ProviderType=t.read_shift(4),t.l+=8,n.CSPName=t.read_shift(r-t.l>>1,"utf16le"),t.l=r,n}function Ii(t,e){var r={},n=t.l+e;return t.l+=4,r.Salt=t.slice(t.l,t.l+16),t.l+=16,r.Verifier=t.slice(t.l,t.l+16),t.l+=16,t.read_shift(4),r.VerifierHash=t.slice(t.l,n),t.l=n,r}function Ni(t){if(36!=(63&t.read_shift(4)))throw new Error("EncryptionInfo mismatch");var e=t.read_shift(4);return{t:"Std",h:Li(t,e),v:Ii(t,t.length-t.l)}}function Fi(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Bi(t){var e=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];t.l+=4;var r=t.read_shift(t.length-t.l,"utf8"),n={};return r.replace(ne,(function(t){var r=ae(t);switch(se(r[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":e.forEach((function(t){n[t]=r[t]}));break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":n.uri=r.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}})),n}function zi(t){var e,r,n=0,i=Ti(t),o=i.length+1;for((e=O(o))[0]=i.length,r=1;r!=o;++r)e[r]=i[r-1];for(r=o-1;r>=0;--r)n=((0===(16384&n)?0:1)|n<<1&32767)^e[r];return 52811^n}var Hi=function(){var t=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],e=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(t,e){return 255&((r=t^e)/2|128*r);var r};return function(i){for(var o,a,s,c=Ti(i),u=function(t){for(var n=e[t.length-1],i=104,o=t.length-1;o>=0;--o)for(var a=t[o],s=0;7!=s;++s)64&a&&(n^=r[i]),a*=2,--i;return n}(c),l=c.length,f=O(16),h=0;16!=h;++h)f[h]=0;for(1===(1&l)&&(o=u>>8,f[l]=n(t[0],o),--l,o=255&u,a=c[c.length-1],f[l]=n(a,o));l>0;)o=u>>8,f[--l]=n(c[l],o),o=255&u,f[--l]=n(c[l],o);for(l=15,s=15-c.length;s>0;)o=u>>8,f[l]=n(t[s],o),--s,o=255&u,f[--l]=n(c[l],o),--l,--s;return f}}(),Ui=function(t){var e=0,r=Hi(t);return function(t){var n=function(t,e,r,n,i){var o,a;for(i||(i=e),n||(n=Hi(t)),o=0;o!=e.length;++o)a=e[o],a=255&((a^=n[r])>>5|a<<3),i[o]=a,++r;return[i,r,n]}("",t,e,r);return e=n[1],n[0]}};function Wi(t,e,r){var n=r||{};return n.Info=t.read_shift(2),t.l-=2,1===n.Info?n.Data=function(t){var e={},r=e.EncryptionVersionInfo=Pi(t,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return e.Salt=t.read_shift(16),e.EncryptedVerifier=t.read_shift(16),e.EncryptedVerifierHash=t.read_shift(16),e}(t):n.Data=function(t,e){var r={},n=r.EncryptionVersionInfo=Pi(t,4);if(e-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=t.read_shift(4),e-=4;var i=t.read_shift(4);return e-=4,r.EncryptionHeader=Li(t,i),e-=i,r.EncryptionVerifier=Ii(t,e),r}(t,e),n}var qi=function(){function t(t,r){switch(r.type){case"base64":return e(y(t),r);case"binary":return e(t,r);case"buffer":return e(w&&Buffer.isBuffer(t)?t.toString("binary"):k(t),r);case"array":return e(Nt(t),r)}throw new Error("Unrecognized type "+r.type)}function e(t,e){var r=(e||{}).dense?[]:{},n=t.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var i={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(t,e){Array.isArray(r)&&(r[e]=[]);for(var n,o=/\\\w+\b/g,a=0,s=-1;n=o.exec(t);){switch(n[0]){case"\\cell":var c=t.slice(a,o.lastIndex-n[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var u={v:c,t:"s"};Array.isArray(r)?r[e][s]=u:r[Mr({r:e,c:s})]=u}}a=o.lastIndex}s>i.e.c&&(i.e.c=s)})),r["!ref"]=jr(i),r}return{to_workbook:function(e,r){return Dr(t(e,r),r)},to_sheet:t,from_sheet:function(t){for(var e,r=["{\\rtf1\\ansi"],n=Ar(t["!ref"]),i=Array.isArray(t),o=n.s.r;o<=n.e.r;++o){r.push("\\trowd\\trautofit1");for(var a=n.s.c;a<=n.e.c;++a)r.push("\\cellx"+(a+1));for(r.push("\\pard\\intbl"),a=n.s.c;a<=n.e.c;++a){var s=Mr({r:o,c:a});(e=i?(t[o]||[])[a]:t[s])&&(null!=e.v||e.f&&!e.F)&&(r.push(" "+(e.w||(Pr(e),e.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function Vi(t){for(var e=0,r=1;3!=e;++e)r=256*r+(t[e]>255?255:t[e]<0?0:t[e]);return r.toString(16).toUpperCase().slice(1)}function Gi(t,e){if(0===e)return t;var r=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(e,r,n),o=Math.min(e,r,n),a=i-o;if(0===a)return[0,0,e];var s,c=0,u=i+o;switch(s=a/(u>1?2-u:u),i){case e:c=((r-n)/a+6)%6;break;case r:c=(n-e)/a+2;break;case n:c=(e-r)/a+4}return[c/6,s,u/2]}(function(t){var e=t.slice("#"===t[0]?1:0).slice(0,6);return[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]}(t));return r[2]=e<0?r[2]*(1+e):1-(1-r[2])*(1-e),Vi(function(t){var e,r=t[0],n=t[1],i=t[2],o=2*n*(i<.5?i:1-i),a=i-o/2,s=[a,a,a],c=6*r;if(0!==n)switch(0|c){case 0:case 6:e=o*c,s[0]+=o,s[1]+=e;break;case 1:e=o*(2-c),s[0]+=e,s[1]+=o;break;case 2:e=o*(c-2),s[1]+=o,s[2]+=e;break;case 3:e=o*(4-c),s[1]+=e,s[2]+=o;break;case 4:e=o*(c-4),s[2]+=o,s[0]+=e;break;case 5:e=o*(6-c),s[2]+=e,s[0]+=o}for(var u=0;3!=u;++u)s[u]=Math.round(255*s[u]);return s}(r))}var Yi=6;function Xi(t){return Math.floor((t+Math.round(128/Yi)/256)*Yi)}function $i(t){return Math.floor((t-5)/Yi*100+.5)/100}function Ki(t){return Math.round((t*Yi+5)/Yi*256)/256}function Zi(t){return Ki($i(Xi(t)))}function Ji(t){var e=Math.abs(t-Zi(t)),r=Yi;if(e>.005)for(Yi=1;Yi<15;++Yi)Math.abs(t-Zi(t))<=e&&(e=Math.abs(t-Zi(t)),r=Yi);Yi=r}function Qi(t){t.width?(t.wpx=Xi(t.width),t.wch=$i(t.wpx),t.MDW=Yi):t.wpx?(t.wch=$i(t.wpx),t.width=Ki(t.wch),t.MDW=Yi):"number"==typeof t.wch&&(t.width=Ki(t.wch),t.wpx=Xi(t.width),t.MDW=Yi),t.customWidth&&delete t.customWidth}function to(t){return 96*t/96}function eo(t){return 96*t/96}var ro={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};var no=["numFmtId","fillId","fontId","borderId","xfId"],io=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var oo=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,e=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,a,c){var u,l={};return o?((u=(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(t))&&function(t,e,r){e.NumberFmt=[];for(var n=St(B),i=0;i<n.length;++i)e.NumberFmt[n[i]]=B[n[i]];var o=t[0].match(ne);if(o)for(i=0;i<o.length;++i){var a=ae(o[i]);switch(se(a[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var s=le(we(a.formatCode)),c=parseInt(a.numFmtId,10);if(e.NumberFmt[c]=s,c>0){if(c>392){for(c=392;c>60&&null!=e.NumberFmt[c];--c);e.NumberFmt[c]=s}vt(s,c)}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}(u,l,c),(u=o.match(n))&&function(t,e,r,n){e.Fonts=[];var i={},o=!1;(t[0].match(ne)||[]).forEach((function(t){var a=ae(t);switch(se(a[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":e.Fonts.push(i),i={};break;case"<name":a.val&&(i.name=we(a.val));break;case"<name/>":case"</name>":break;case"<b":i.bold=a.val?me(a.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=a.val?me(a.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(a.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=a.val?me(a.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=a.val?me(a.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=a.val?me(a.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=a.val?me(a.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=a.val?me(a.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":a.val&&(i.sz=+a.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":a.val&&(i.vertAlign=a.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":a.val&&(i.family=parseInt(a.val,10));break;case"<family/>":case"</family>":break;case"<scheme":a.val&&(i.scheme=a.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==a.val)break;a.codepage=s[parseInt(a.val,10)];break;case"<color":if(i.color||(i.color={}),a.auto&&(i.color.auto=me(a.auto)),a.rgb)i.color.rgb=a.rgb.slice(-6);else if(a.indexed){i.color.index=parseInt(a.indexed,10);var c=nn[i.color.index];81==i.color.index&&(c=nn[1]),c||(c=nn[1]),i.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else a.theme&&(i.color.theme=parseInt(a.theme,10),a.tint&&(i.color.tint=parseFloat(a.tint)),a.theme&&r.themeElements&&r.themeElements.clrScheme&&(i.color.rgb=Gi(r.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":o=!0;break;case"</AlternateContent>":o=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+a[0]+" in fonts")}}))}(u,l,a,c),(u=o.match(r))&&function(t,e,r,n){e.Fills=[];var i={},o=!1;(t[0].match(ne)||[]).forEach((function(t){var r=ae(t);switch(se(r[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":i={},e.Fills.push(i);break;case"</fill>":case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":e.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":r.patternType&&(i.patternType=r.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":i.bgColor||(i.bgColor={}),r.indexed&&(i.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(i.bgColor.theme=parseInt(r.theme,10)),r.tint&&(i.bgColor.tint=parseFloat(r.tint)),r.rgb&&(i.bgColor.rgb=r.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":i.fgColor||(i.fgColor={}),r.theme&&(i.fgColor.theme=parseInt(r.theme,10)),r.tint&&(i.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(i.fgColor.rgb=r.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":case"</stop>":break;case"<color":case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fills")}}))}(u,l,0,c),(u=o.match(i))&&function(t,e,r,n){e.Borders=[];var i={},o=!1;(t[0].match(ne)||[]).forEach((function(t){var r=ae(t);switch(se(r[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":i={},r.diagonalUp&&(i.diagonalUp=me(r.diagonalUp)),r.diagonalDown&&(i.diagonalDown=me(r.diagonalDown)),e.Borders.push(i);break;case"</border>":case"<left/>":break;case"<left":case"<left>":case"</left>":case"<right/>":break;case"<right":case"<right>":case"</right>":case"<top/>":break;case"<top":case"<top>":case"</top>":case"<bottom/>":break;case"<bottom":case"<bottom>":case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":break;case"<start":case"<start>":case"<start/>":case"</start>":break;case"<end":case"<end>":case"<end/>":case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in borders")}}))}(u,l,0,c),(u=o.match(e))&&function(t,e,r){var n;e.CellXf=[];var i=!1;(t[0].match(ne)||[]).forEach((function(t){var o=ae(t),a=0;switch(se(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(delete(n=o)[0],a=0;a<no.length;++a)n[no[a]]&&(n[no[a]]=parseInt(n[no[a]],10));for(a=0;a<io.length;++a)n[io[a]]&&(n[io[a]]=me(n[io[a]]));if(e.NumberFmt&&n.numFmtId>392)for(a=392;a>60;--a)if(e.NumberFmt[n.numFmtId]==e.NumberFmt[a]){n.numFmtId=a;break}e.CellXf.push(n);break;case"</xf>":break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=me(o.wrapText)),n.alignment=s;break;case"</alignment>":case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":i=!0;break;case"</AlternateContent>":i=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}(u,l,c),l):l}}();var ao=pr;var so=pr;var co=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function uo(t,e,r){e.themeElements.clrScheme=[];var n={};(t[0].match(ne)||[]).forEach((function(t){var i=ae(t);switch(i[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=i.val;break;case"<a:sysClr":n.rgb=i.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===i[0].charAt(1)?(e.themeElements.clrScheme[co.indexOf(i[0])]=n,n={}):n.name=i[0].slice(3,i[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}}))}function lo(){}function fo(){}var ho=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,po=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,mo=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var bo=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function vo(t,e){var r;t&&0!==t.length||(t=go());var n={};if(!(r=t.match(bo)))throw new Error("themeElements not found in theme");return function(t,e,r){var n;e.themeElements={},[["clrScheme",ho,uo],["fontScheme",po,lo],["fmtScheme",mo,fo]].forEach((function(i){if(!(n=t.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](n,e,r)}))}(r[0],n,e),n.raw=t,n}function go(t,e){if(e&&e.themeXLSX)return e.themeXLSX;if(t&&"string"==typeof t.raw)return t.raw;var r=[te];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function yo(t){var e={};switch(e.xclrType=t.read_shift(2),e.nTintShade=t.read_shift(2),e.xclrType){case 0:t.l+=4;break;case 1:e.xclrValue=function(t,e){return pr(t,e)}(t,4);break;case 2:e.xclrValue=Un(t);break;case 3:e.xclrValue=function(t){return t.read_shift(4)}(t);break;case 4:t.l+=4}return t.l+=8,e}function wo(t){var e=t.read_shift(2),r=t.read_shift(2)-4,n=[e];switch(e){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=yo(t);break;case 6:n[1]=function(t,e){return pr(t,e)}(t,r);break;case 14:case 15:n[1]=t.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+e+" "+r)}return n}function xo(t,e,r,n){var i,o=Array.isArray(t);e.forEach((function(e){var a=Er(e.ref);if(o?(t[a.r]||(t[a.r]=[]),i=t[a.r][a.c]):i=t[e.ref],!i){i={t:"z"},o?t[a.r][a.c]=i:t[e.ref]=i;var s=Ar(t["!ref"]||"BDWGO1000001:A1");s.s.r>a.r&&(s.s.r=a.r),s.e.r<a.r&&(s.e.r=a.r),s.s.c>a.c&&(s.s.c=a.c),s.e.c<a.c&&(s.e.c=a.c);var c=jr(s);c!==t["!ref"]&&(t["!ref"]=c)}i.c||(i.c=[]);var u={a:e.author,t:e.t,r:e.r,T:r};e.h&&(u.h=e.h);for(var l=i.c.length-1;l>=0;--l){if(!r&&i.c[l].T)return;r&&!i.c[l].T&&i.c.splice(l,1)}if(r&&n)for(l=0;l<n.length;++l)if(u.a==n[l].id){u.a=n[l].name||u.a;break}i.c.push(u)}))}var Oo=Ir;var _o=function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,e={r:0,c:0};function r(t,r,n,i){var o=!1,a=!1;0==n.length?a=!0:"["==n.charAt(0)&&(a=!0,n=n.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=n.length>0?0|parseInt(n,10):0,c=i.length>0?0|parseInt(i,10):0;return o?c+=e.c:--c,a?s+=e.r:--s,r+(o?"":"$")+kr(c)+(a?"":"$")+_r(s)}return function(n,i){return e=i,n.replace(t,r)}}(),So=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ko=function(){return function(t,e){return t.replace(So,(function(t,r,n,i,o,a){var s=Sr(i)-(n?0:e.c),c=Or(a)-(o?0:e.r);return r+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":n?s+1:"["+s+"]")}))}}();function Eo(t,e){return t.replace(So,(function(t,r,n,i,o,a){return r+("$"==n?n+i:kr(Sr(i)+e.c))+("$"==o?o+a:_r(Or(a)+e.r))}))}function Mo(t,e,r){var n=Cr(e).s,i=Er(r);return Eo(t,{r:i.r-n.r,c:i.c-n.c})}function Co(t){return t.replace(/_xlfn\./g,"")}function jo(t){t.l+=1}function Ao(t,e){var r=t.read_shift(1==e?1:2);return[16383&r,r>>14&1,r>>15&1]}function To(t,e,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Po(t);12==r.biff&&(n=4)}var i=t.read_shift(n),o=t.read_shift(n),a=Ao(t,2),s=Ao(t,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function Po(t){var e=Ao(t,2),r=Ao(t,2),n=t.read_shift(1),i=t.read_shift(1);return{s:{r:e[0],c:n,cRel:e[1],rRel:e[2]},e:{r:r[0],c:i,cRel:r[1],rRel:r[2]}}}function Do(t,e,r){if(r&&r.biff>=2&&r.biff<=5)return function(t){var e=Ao(t,2),r=t.read_shift(1);return{r:e[0],c:r,cRel:e[1],rRel:e[2]}}(t);var n=t.read_shift(r&&12==r.biff?4:2),i=Ao(t,2);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function Ro(t){var e=t.read_shift(2),r=t.read_shift(2);return{r:e,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Lo(t){var e=1&t[t.l+1];return t.l+=4,[e,1]}function Io(t){return[t.read_shift(1),t.read_shift(1)]}function No(t,e){var r=[t.read_shift(1)];if(12==e)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Pn(t,1)?"TRUE":"FALSE",12!=e&&(t.l+=7);break;case 37:case 16:r[1]=on[t[t.l]],t.l+=12==e?4:8;break;case 0:t.l+=8;break;case 1:r[1]=$r(t);break;case 2:r[1]=Bn(t,0,{biff:e>0&&e<8?2:e});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Fo(t,e,r){for(var n=t.read_shift(12==r.biff?4:2),i=[],o=0;o!=n;++o)i.push((12==r.biff?Xr:Yn)(t,8));return i}function Bo(t,e,r){var n=0,i=0;12==r.biff?(n=t.read_shift(4),i=t.read_shift(4)):(i=1+t.read_shift(1),n=1+t.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--i&&(i=256));for(var o=0,a=[];o!=n&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=No(t,r.biff);return a}function zo(t,e,r){return t.l+=2,[Ro(t)]}function Ho(t){return t.l+=6,[]}function Uo(t){return t.l+=2,[Dn(t),1&t.read_shift(2)]}var Wo=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var qo={1:{n:"PtgExp",f:function(t,e,r){return t.l++,r&&12==r.biff?[t.read_shift(4,"i"),0]:[t.read_shift(2),t.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:pr},3:{n:"PtgAdd",f:jo},4:{n:"PtgSub",f:jo},5:{n:"PtgMul",f:jo},6:{n:"PtgDiv",f:jo},7:{n:"PtgPower",f:jo},8:{n:"PtgConcat",f:jo},9:{n:"PtgLt",f:jo},10:{n:"PtgLe",f:jo},11:{n:"PtgEq",f:jo},12:{n:"PtgGe",f:jo},13:{n:"PtgGt",f:jo},14:{n:"PtgNe",f:jo},15:{n:"PtgIsect",f:jo},16:{n:"PtgUnion",f:jo},17:{n:"PtgRange",f:jo},18:{n:"PtgUplus",f:jo},19:{n:"PtgUminus",f:jo},20:{n:"PtgPercent",f:jo},21:{n:"PtgParen",f:jo},22:{n:"PtgMissArg",f:jo},23:{n:"PtgStr",f:function(t,e,r){return t.l++,Ln(t,0,r)}},26:{n:"PtgSheet",f:function(t,e,r){return t.l+=5,t.l+=2,t.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(t,e,r){return t.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(t){return t.l++,on[t.read_shift(1)]}},29:{n:"PtgBool",f:function(t){return t.l++,0!==t.read_shift(1)}},30:{n:"PtgInt",f:function(t){return t.l++,t.read_shift(2)}},31:{n:"PtgNum",f:function(t){return t.l++,$r(t)}},32:{n:"PtgArray",f:function(t,e,r){var n=(96&t[t.l++])>>5;return t.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(t,e,r){var n=(96&t[t.l])>>5;t.l+=1;var i=t.read_shift(r&&r.biff<=3?1:2);return[fa[i],la[i],n]}},34:{n:"PtgFuncVar",f:function(t,e,r){var n=t[t.l++],i=t.read_shift(1),o=r&&r.biff<=3?[88==n?-1:0,t.read_shift(1)]:function(t){return[t[t.l+1]>>7,32767&t.read_shift(2)]}(t);return[i,(0===o[0]?la:ua)[o[1]]]}},35:{n:"PtgName",f:function(t,e,r){var n=t.read_shift(1)>>>5&3,i=!r||r.biff>=8?4:2,o=t.read_shift(i);switch(r.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12}return[n,0,o]}},36:{n:"PtgRef",f:function(t,e,r){var n=(96&t[t.l])>>5;return t.l+=1,[n,Do(t,0,r)]}},37:{n:"PtgArea",f:function(t,e,r){return[(96&t[t.l++])>>5,To(t,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(t,e,r){var n=t.read_shift(1)>>>5&3;return t.l+=r&&2==r.biff?3:4,[n,t.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:pr},40:{n:"PtgMemNoMem",f:pr},41:{n:"PtgMemFunc",f:function(t,e,r){return[t.read_shift(1)>>>5&3,t.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(t,e,r){var n=t.read_shift(1)>>>5&3;return t.l+=4,r.biff<8&&t.l--,12==r.biff&&(t.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(t,e,r){var n=(96&t[t.l++])>>5;return t.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(t,e,r){var n=(96&t[t.l])>>5;return t.l+=1,[n,function(t,e,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(t){var e=t.read_shift(2),r=t.read_shift(1),n=(32768&e)>>15,i=(16384&e)>>14;e&=16383,1==n&&e>=8192&&(e-=16384);1==i&&r>=128&&(r-=256);return{r:e,c:r,cRel:i,rRel:n}}(t);var i=t.read_shift(n>=12?4:2),o=t.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;i>524287;)i-=1048576;if(1==a)for(;o>8191;)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}(t,0,r)]}},45:{n:"PtgAreaN",f:function(t,e,r){return[(96&t[t.l++])>>5,function(t,e,r){if(r.biff<8)return Po(t);var n=t.read_shift(12==r.biff?4:2),i=t.read_shift(12==r.biff?4:2),o=Ao(t,2),a=Ao(t,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}(t,0,r)]}},46:{n:"PtgMemAreaN",f:function(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},57:{n:"PtgNameX",f:function(t,e,r){return 5==r.biff?function(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2,"i");t.l+=8;var n=t.read_shift(2);return t.l+=12,[e,r,n]}(t):[t.read_shift(1)>>>5&3,t.read_shift(2),t.read_shift(4)]}},58:{n:"PtgRef3d",f:function(t,e,r){var n=(96&t[t.l])>>5;t.l+=1;var i=t.read_shift(2);return r&&5==r.biff&&(t.l+=12),[n,i,Do(t,0,r)]}},59:{n:"PtgArea3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t.read_shift(2,"i");if(r)switch(r.biff){case 5:t.l+=12,6;break;case 12:12}return[n,i,To(t,0,r)]}},60:{n:"PtgRefErr3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t.read_shift(2),o=4;if(r)switch(r.biff){case 5:o=15;break;case 12:o=6}return t.l+=o,[n,i]}},61:{n:"PtgAreaErr3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t.read_shift(2),o=8;if(r)switch(r.biff){case 5:t.l+=12,o=6;break;case 12:o=12}return t.l+=o,[n,i]}},255:{}},Vo={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Go={1:{n:"PtgElfLel",f:Uo},2:{n:"PtgElfRw",f:zo},3:{n:"PtgElfCol",f:zo},6:{n:"PtgElfRwV",f:zo},7:{n:"PtgElfColV",f:zo},10:{n:"PtgElfRadical",f:zo},11:{n:"PtgElfRadicalS",f:Ho},13:{n:"PtgElfColS",f:Ho},15:{n:"PtgElfColSV",f:Ho},16:{n:"PtgElfRadicalLel",f:Uo},25:{n:"PtgList",f:function(t){t.l+=2;var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(4),i=t.read_shift(2),o=t.read_shift(2);return{ixti:e,coltype:3&r,rt:Wo[r>>2&31],idx:n,c:i,C:o}}},29:{n:"PtgSxName",f:function(t){return t.l+=2,[t.read_shift(4)]}},255:{}},Yo={0:{n:"PtgAttrNoop",f:function(t){return t.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=2,[n,t.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(t,e,r){t.l+=2;for(var n=t.read_shift(r&&2==r.biff?1:2),i=[],o=0;o<=n;++o)i.push(t.read_shift(r&&2==r.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=2,[n,t.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(t,e,r){t.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Lo},33:{n:"PtgAttrBaxcel",f:Lo},64:{n:"PtgAttrSpace",f:function(t){return t.read_shift(2),Io(t)}},65:{n:"PtgAttrSpaceSemi",f:function(t){return t.read_shift(2),Io(t)}},128:{n:"PtgAttrIfError",f:function(t){var e=255&t[t.l+1]?1:0;return t.l+=2,[e,t.read_shift(2)]}},255:{}};function Xo(t,e,r,n){if(n.biff<8)return pr(t,e);for(var i=t.l+e,o=[],a=0;a!==r.length;++a)switch(r[a][0]){case"PtgArray":r[a][1]=Bo(t,0,n),o.push(r[a][1]);break;case"PtgMemArea":r[a][2]=Fo(t,r[a][1],n),o.push(r[a][2]);break;case"PtgExp":n&&12==n.biff&&(r[a][1][1]=t.read_shift(4),o.push(r[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[a][0]}return 0!==(e=i-t.l)&&o.push(pr(t,e)),o}function $o(t,e,r){for(var n,i,o=t.l+e,a=[];o!=t.l;)e=o-t.l,i=t[t.l],n=qo[i]||qo[Vo[i]],24!==i&&25!==i||(n=(24===i?Go:Yo)[t[t.l+1]]),n&&n.f?a.push([n.n,n.f(t,e,r)]):pr(t,e);return a}function Ko(t){for(var e=[],r=0;r<t.length;++r){for(var n=t[r],i=[],o=0;o<n.length;++o){var a=n[o];if(a)switch(a[0]){case 2:i.push('"'+a[1].replace(/"/g,'""')+'"');break;default:i.push(a[1])}else i.push("")}e.push(i.join(","))}return e.join(";")}var Zo={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Jo(t,e,r){if(!t)return"SH33TJSERR0";if(r.biff>8&&(!t.XTI||!t.XTI[e]))return t.SheetNames[e];if(!t.XTI)return"SH33TJSERR6";var n=t.XTI[e];if(r.biff<8)return e>1e4&&(e-=65536),e<0&&(e=-e),0==e?"":t.XTI[e-1];if(!n)return"SH33TJSERR1";var i="";if(r.biff>8)switch(t[n[0]][0]){case 357:return i=-1==n[1]?"#REF":t.SheetNames[n[1]],n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 358:return null!=r.SID?t.SheetNames[r.SID]:"SH33TJSSAME"+t[n[0]][0];case 355:default:return"SH33TJSSRC"+t[n[0]][0]}switch(t[n[0]][0][0]){case 1025:return i=-1==n[1]?"#REF":t.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 14849:return t[n[0]].slice(1).map((function(t){return t.Name})).join(";;");default:return t[n[0]][0][3]?(i=-1==n[1]?"#REF":t[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+t[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Qo(t,e,r){var n=Jo(t,e,r);return"#REF"==n?n:function(t,e){if(!t&&!(e&&e.biff<=5&&e.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t+"'":t}(n,r)}function ta(t,e,r,n,i){var o,a,s,c,u=i&&i.biff||8,l={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!t[0]||!t[0][0])return"";for(var m=-1,b="",v=0,g=t[0].length;v<g;++v){var y=t[0][v];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),a=f.pop(),m>=0){switch(t[0][m][1][0]){case 0:b=Bt(" ",t[0][m][1][1]);break;case 1:b=Bt("\r",t[0][m][1][1]);break;default:if(b="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}a+=b,m=-1}f.push(a+Zo[y[0]]+o);break;case"PtgIsect":o=f.pop(),a=f.pop(),f.push(a+" "+o);break;case"PtgUnion":o=f.pop(),a=f.pop(),f.push(a+","+o);break;case"PtgRange":o=f.pop(),a=f.pop(),f.push(a+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=gr(y[1][1],l,i),f.push(wr(s,u));break;case"PtgRefN":s=r?gr(y[1][1],r,i):y[1][1],f.push(wr(s,u));break;case"PtgRef3d":h=y[1][1],s=gr(y[1][2],l,i);p=Qo(n,h,i);f.push(p+"!"+wr(s,u));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0);var O=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===x&&(x=O.shift()),f.push(x+"("+O.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":c=yr(y[1][1],r?{s:r}:l,i),f.push(xr(c,i));break;case"PtgArea":c=yr(y[1][1],l,i),f.push(xr(c,i));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=Qo(n,h,i),f.push(p+"!"+xr(c,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var _=(n.names||[])[d-1]||(n[0]||[])[d],S=_?_.Name:"SH33TJSNAME"+String(d);S&&"_xlfn."==S.slice(0,6)&&!i.xlfn&&(S=S.slice(6)),f.push(S);break;case"PtgNameX":var k,E=y[1][1];if(d=y[1][2],!(i.biff<=5)){var M="";if(14849==((n[E]||[])[0]||[])[0]||(1025==((n[E]||[])[0]||[])[0]?n[E][d]&&n[E][d].itab>0&&(M=n.SheetNames[n[E][d].itab-1]+"!"):M=n.SheetNames[d-1]+"!"),n[E]&&n[E][d])M+=n[E][d].Name;else if(n[0]&&n[0][d])M+=n[0][d].Name;else{var C=(Jo(n,E,i)||"").split(";;");C[d-1]?M=C[d-1]:M+="SH33TJSERRX"}f.push(M);break}E<0&&(E=-E),n[E]&&(k=n[E][d]),k||(k={Name:"SH33TJSERRY"}),f.push(k.Name);break;case"PtgParen":var j="(",A=")";if(m>=0){switch(b="",t[0][m][1][0]){case 2:j=Bt(" ",t[0][m][1][1])+j;break;case 3:j=Bt("\r",t[0][m][1][1])+j;break;case 4:A=Bt(" ",t[0][m][1][1])+A;break;case 5:A=Bt("\r",t[0][m][1][1])+A;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}m=-1}f.push(j+f.pop()+A);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var T={c:r.c,r:r.r};if(n.sharedf[Mr(s)]){var P=n.sharedf[Mr(s)];f.push(ta(P,l,T,n,i))}else{var D=!1;for(o=0;o!=n.arrayf.length;++o)if(a=n.arrayf[o],!(s.c<a[0].s.c||s.c>a[0].e.c)&&!(s.r<a[0].s.r||s.r>a[0].e.r)){f.push(ta(a[1],l,T,n,i)),D=!0;break}D||f.push(y[1])}break;case"PtgArray":f.push("{"+Ko(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=i.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(t[0][v][0])){var R=!0;switch((y=t[0][m])[1][0]){case 4:R=!1;case 0:b=Bt(" ",y[1][1]);break;case 5:R=!1;case 1:b=Bt("\r",y[1][1]);break;default:if(b="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((R?b:"")+f.pop()+(R?"":b)),m=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function ea(t,e,r){var n,i=t.l+e,o=2==r.biff?1:2,a=t.read_shift(o);if(65535==a)return[[],pr(t,e-2)];var s=$o(t,a,r);return e!==a+o&&(n=Xo(t,e-a-o,s,r)),t.l=i,[s,n]}function ra(t,e,r){var n,i=t.l+e,o=t.read_shift(2),a=$o(t,o,r);return 65535==o?[[],pr(t,e-2)]:(e!==o+2&&(n=Xo(t,i-o-2,a,r)),[a,n])}function na(t,e,r){var n=t.l+e,i=qn(t);2==r.biff&&++t.l;var o=function(t){var e;if(65535!==ir(t,t.l+6))return[$r(t),"n"];switch(t[t.l]){case 0:return t.l+=8,["String","s"];case 1:return e=1===t[t.l+2],t.l+=8,[e,"b"];case 2:return e=t[t.l+2],t.l+=8,[e,"e"];case 3:return t.l+=8,["","s"]}return[]}(t),a=t.read_shift(1);2!=r.biff&&(t.read_shift(1),r.biff>=5&&t.read_shift(4));var s=function(t,e,r){var n,i=t.l+e,o=2==r.biff?1:2,a=t.read_shift(o);if(65535==a)return[[],pr(t,e-2)];var s=$o(t,a,r);return e!==a+o&&(n=Xo(t,e-a-o,s,r)),t.l=i,[s,n]}(t,n-t.l,r);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function ia(t,e,r){var n=t.read_shift(4),i=$o(t,n,r),o=t.read_shift(4);return[i,o>0?Xo(t,o,i,r):null]}var oa=ia,aa=ia,sa=ia,ca=ia,ua={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},la={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},fa={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function ha(t){return"of:"==t.slice(0,3)&&(t=t.slice(3)),61==t.charCodeAt(0)&&61==(t=t.slice(1)).charCodeAt(0)&&(t=t.slice(1)),(t=(t=(t=t.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(t,e){return e.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function da(t){var e=t.split(":");return[e[0].split(".")[0],e[0].split(".")[1]+(e.length>1?":"+(e[1].split(".")[1]||e[1].split(".")[0]):"")]}var pa={},ma={};function ba(t,e){if(t){var r=[.7,.7,.75,.75,.3,.3];"xlml"==e&&(r=[1,1,1,1,.5,.5]),null==t.left&&(t.left=r[0]),null==t.right&&(t.right=r[1]),null==t.top&&(t.top=r[2]),null==t.bottom&&(t.bottom=r[3]),null==t.header&&(t.header=r[4]),null==t.footer&&(t.footer=r[5])}}function va(t,e,r,n,i,o){try{n.cellNF&&(t.z=B[e])}catch(s){if(n.WTF)throw s}if("z"!==t.t||n.cellStyles){if("d"===t.t&&"string"===typeof t.v&&(t.v=It(t.v)),(!n||!1!==n.cellText)&&"z"!==t.t)try{if(null==B[e]&&vt(yt[e]||"General",e),"e"===t.t)t.w=t.w||on[t.v];else if(0===e)if("n"===t.t)(0|t.v)===t.v?t.w=t.v.toString(10):t.w=K(t.v);else if("d"===t.t){var a=Mt(t.v);t.w=(0|a)===a?a.toString(10):K(a)}else{if(void 0===t.v)return"";t.w=Z(t.v,ma)}else"d"===t.t?t.w=bt(e,Mt(t.v),ma):t.w=bt(e,t.v,ma)}catch(s){if(n.WTF)throw s}if(n.cellStyles&&null!=r)try{t.s=o.Fills[r],t.s.fgColor&&t.s.fgColor.theme&&!t.s.fgColor.rgb&&(t.s.fgColor.rgb=Gi(i.themeElements.clrScheme[t.s.fgColor.theme].rgb,t.s.fgColor.tint||0),n.WTF&&(t.s.fgColor.raw_rgb=i.themeElements.clrScheme[t.s.fgColor.theme].rgb)),t.s.bgColor&&t.s.bgColor.theme&&(t.s.bgColor.rgb=Gi(i.themeElements.clrScheme[t.s.bgColor.theme].rgb,t.s.bgColor.tint||0),n.WTF&&(t.s.bgColor.raw_rgb=i.themeElements.clrScheme[t.s.bgColor.theme].rgb))}catch(s){if(n.WTF&&o.Fills)throw s}}}var ga=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,ya=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,wa=/<(?:\w:)?hyperlink [^>]*>/gm,xa=/"(\w*:\w*)"/,Oa=/<(?:\w:)?col\b[^>]*[\/]?>/g,_a=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Sa=/<(?:\w:)?pageMargins[^>]*\/>/g,ka=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Ea=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ma=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Ca(t,e,r,n,i,o,a){if(!t)return t;n||(n={"!id":{}});var s=e.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},u="",l="",f=t.match(ya);f?(u=t.slice(0,f.index),l=t.slice(f.index+f[0].length)):u=l=t;var h=u.match(ka);h?ja(h[0],s,i,r):(h=u.match(Ea))&&function(t,e,r,n,i){ja(t.slice(0,t.indexOf(">")),r,n,i)}(h[0],h[1],s,i,r);var d=(u.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=u.slice(d,d+50).match(xa);p&&function(t,e){var r=Ar(e);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(t["!ref"]=jr(r))}(s,p[1])}var m=u.match(Ma);m&&m[1]&&function(t,e){e.Views||(e.Views=[{}]);(t.match(Aa)||[]).forEach((function(t,r){var n=ae(t);e.Views[r]||(e.Views[r]={}),+n.zoomScale&&(e.Views[r].zoom=+n.zoomScale),me(n.rightToLeft)&&(e.Views[r].RTL=!0)}))}(m[1],i);var b=[];if(e.cellStyles){var v=u.match(Oa);v&&function(t,e){for(var r=!1,n=0;n!=e.length;++n){var i=ae(e[n],!0);i.hidden&&(i.hidden=me(i.hidden));var o=parseInt(i.min,10)-1,a=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!r&&i.width&&(r=!0,Ji(i.width)),Qi(i);o<=a;)t[o++]=Ft(i)}}(b,v)}f&&Ta(f[1],s,e,c,o,a);var g=l.match(_a);g&&(s["!autofilter"]=function(t){return{ref:(t.match(/ref="([^"]*)"/)||[])[1]}}(g[0]));var y=[],w=l.match(ga);if(w)for(d=0;d!=w.length;++d)y[d]=Ar(w[d].slice(w[d].indexOf('"')+1));var x=l.match(wa);x&&function(t,e,r){for(var n=Array.isArray(t),i=0;i!=e.length;++i){var o=ae(we(e[i]),!0);if(!o.ref)return;var a=((r||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+le(o.location))):(o.Target="#"+le(o.location),a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=Ar(o.ref),c=s.s.r;c<=s.e.r;++c)for(var u=s.s.c;u<=s.e.c;++u){var l=Mr({c:u,r:c});n?(t[c]||(t[c]=[]),t[c][u]||(t[c][u]={t:"z",v:void 0}),t[c][u].l=o):(t[l]||(t[l]={t:"z",v:void 0}),t[l].l=o)}}}(s,x,n);var O=l.match(Sa);if(O&&(s["!margins"]=function(t){var e={};return["left","right","top","bottom","header","footer"].forEach((function(r){t[r]&&(e[r]=parseFloat(t[r]))})),e}(ae(O[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=jr(c)),e.sheetRows>0&&s["!ref"]){var _=Ar(s["!ref"]);e.sheetRows<=+_.e.r&&(_.e.r=e.sheetRows-1,_.e.r>c.e.r&&(_.e.r=c.e.r),_.e.r<_.s.r&&(_.s.r=_.e.r),_.e.c>c.e.c&&(_.e.c=c.e.c),_.e.c<_.s.c&&(_.s.c=_.e.c),s["!fullref"]=s["!ref"],s["!ref"]=jr(_))}return b.length>0&&(s["!cols"]=b),y.length>0&&(s["!merges"]=y),s}function ja(t,e,r,n){var i=ae(t);r.Sheets[n]||(r.Sheets[n]={}),i.codeName&&(r.Sheets[n].CodeName=le(we(i.codeName)))}var Aa=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;var Ta=function(){var t=/<(?:\w+:)?c[ \/>]/,e=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,o=Oe("v"),a=Oe("f");return function(s,c,u,l,f,h){for(var d,p,m,b,v,g=0,y="",w=[],x=[],O=0,_=0,S=0,k="",E=0,M=0,C=0,j=0,A=Array.isArray(h.CellXf),T=[],P=[],D=Array.isArray(c),R=[],L={},I=!1,N=!!u.sheetStubs,F=s.split(e),z=0,H=F.length;z!=H;++z){var U=(y=F[z].trim()).length;if(0!==U){var W=0;t:for(g=0;g<U;++g)switch(y[g]){case">":if("/"!=y[g-1]){++g;break t}if(u&&u.cellStyles){if(E=null!=(p=ae(y.slice(W,g),!0)).r?parseInt(p.r,10):E+1,M=-1,u.sheetRows&&u.sheetRows<E)continue;L={},I=!1,p.ht&&(I=!0,L.hpt=parseFloat(p.ht),L.hpx=eo(L.hpt)),"1"==p.hidden&&(I=!0,L.hidden=!0),null!=p.outlineLevel&&(I=!0,L.level=+p.outlineLevel),I&&(R[E-1]=L)}break;case"<":W=g}if(W>=g)break;if(E=null!=(p=ae(y.slice(W,g),!0)).r?parseInt(p.r,10):E+1,M=-1,!(u.sheetRows&&u.sheetRows<E)){l.s.r>E-1&&(l.s.r=E-1),l.e.r<E-1&&(l.e.r=E-1),u&&u.cellStyles&&(L={},I=!1,p.ht&&(I=!0,L.hpt=parseFloat(p.ht),L.hpx=eo(L.hpt)),"1"==p.hidden&&(I=!0,L.hidden=!0),null!=p.outlineLevel&&(I=!0,L.level=+p.outlineLevel),I&&(R[E-1]=L)),w=y.slice(g).split(t);for(var q=0;q!=w.length&&"<"==w[q].trim().charAt(0);++q);for(w=w.slice(q),g=0;g!=w.length;++g)if(0!==(y=w[g].trim()).length){if(x=y.match(r),O=g,_=0,S=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=x&&2===x.length){for(O=0,k=x[1],_=0;_!=k.length&&!((S=k.charCodeAt(_)-64)<1||S>26);++_)O=26*O+S;M=--O}else++M;for(_=0;_!=y.length&&62!==y.charCodeAt(_);++_);if(++_,(p=ae(y.slice(0,_),!0)).r||(p.r=Mr({r:E-1,c:M})),d={t:""},null!=(x=(k=y.slice(_)).match(o))&&""!==x[1]&&(d.v=le(x[1])),u.cellFormula){if(null!=(x=k.match(a))&&""!==x[1]){if(d.f=le(we(x[1])).replace(/\r\n/g,"\n"),u.xlfn||(d.f=Co(d.f)),x[0].indexOf('t="array"')>-1)d.F=(k.match(i)||[])[1],d.F.indexOf(":")>-1&&T.push([Ar(d.F),d.F]);else if(x[0].indexOf('t="shared"')>-1){b=ae(x[0]);var V=le(we(x[1]));u.xlfn||(V=Co(V)),P[parseInt(b.si,10)]=[b,V,p.r]}}else(x=k.match(/<f[^>]*\/>/))&&P[(b=ae(x[0])).si]&&(d.f=Mo(P[b.si][1],P[b.si][2],p.r));var G=Er(p.r);for(_=0;_<T.length;++_)G.r>=T[_][0].s.r&&G.r<=T[_][0].e.r&&G.c>=T[_][0].s.c&&G.c<=T[_][0].e.c&&(d.F=T[_][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!N)continue;d.t="z"}else d.t=p.t||"n";switch(l.s.c>M&&(l.s.c=M),l.e.c<M&&(l.e.c=M),d.t){case"n":if(""==d.v||null==d.v){if(!N)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if("undefined"==typeof d.v){if(!N)continue;d.t="z"}else m=pa[parseInt(d.v,10)],d.v=m.t,d.r=m.r,u.cellHTML&&(d.h=m.h);break;case"str":d.t="s",d.v=null!=d.v?we(d.v):"",u.cellHTML&&(d.h=de(d.v));break;case"inlineStr":x=k.match(n),d.t="s",null!=x&&(m=Mi(x[1]))?(d.v=m.t,u.cellHTML&&(d.h=m.h)):d.v="";break;case"b":d.v=me(d.v);break;case"d":u.cellDates?d.v=It(d.v,1):(d.v=Mt(It(d.v,1)),d.t="n");break;case"e":u&&!1===u.cellText||(d.w=d.v),d.v=an[d.v]}if(C=j=0,v=null,A&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(C=v.numFmtId),u.cellStyles&&null!=v.fillId&&(j=v.fillId)),va(d,C,j,u,f,h),u.cellDates&&A&&"n"==d.t&&ht(B[C])&&(d.t="d",d.v=Tt(d.v)),p.cm&&u.xlmeta){var Y=(u.xlmeta.Cell||[])[+p.cm-1];Y&&"XLDAPR"==Y.type&&(d.D=!0)}if(D){var X=Er(p.r);c[X.r]||(c[X.r]=[]),c[X.r][X.c]=d}else c[p.r]=d}}}}R.length>0&&(c["!rows"]=R)}}();var Pa=Xr;function Da(t){return[Hr(t),$r(t),"n"]}var Ra=Xr;var La=["left","right","top","bottom","header","footer"];function Ia(t,e,r,n,i,o){var a=o||{"!type":"chart"};if(!t)return o;var s=0,c=0,u="A",l={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(t.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(t){var e=function(t){var e,r=[],n=t.match(/^<c:numCache>/);(t.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(t){var e=t.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);e&&(r[+e[1]]=n?+e[2]:e[2])}));var i=le((t.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(t.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(t){e=t.replace(/<.*?>/g,"")})),[r,i,e]}(t);l.s.r=l.s.c=0,l.e.c=s,u=kr(s),e[0].forEach((function(t,r){a[u+_r(r)]={t:"n",v:t,z:e[1]},c=r})),l.e.r<c&&(l.e.r=c),++s})),s>0&&(a["!ref"]=jr(l)),a}var Na=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Fa=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Ba=[],za=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Ha(t,e){for(var r=0;r!=t.length;++r)for(var n=t[r],i=0;i!=e.length;++i){var o=e[i];if(null==n[o[0]])n[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof n[o[0]]&&(n[o[0]]=me(n[o[0]]));break;case"int":"string"==typeof n[o[0]]&&(n[o[0]]=parseInt(n[o[0]],10))}}}function Ua(t,e){for(var r=0;r!=e.length;++r){var n=e[r];if(null==t[n[0]])t[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof t[n[0]]&&(t[n[0]]=me(t[n[0]]));break;case"int":"string"==typeof t[n[0]]&&(t[n[0]]=parseInt(t[n[0]],10))}}}function Wa(t){Ua(t.WBProps,Na),Ua(t.CalcPr,za),Ha(t.WBView,Fa),Ha(t.Sheets,Ba),ma.date1904=me(t.WBProps.date1904)}var qa="][*?/\\".split("");function Va(t,e){if(t.length>31){if(e)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return qa.forEach((function(n){if(-1!=t.indexOf(n)){if(!e)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}var Ga=/<\w+:workbook/;function Ya(t,e){var r={};return t.read_shift(4),r.ArchID=t.read_shift(4),t.l+=e-8,r}function Xa(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],i=!1;e||(e={}),e.biff=12;var o=[],a=[[]];return a.SheetNames=[],a.XTI=[],Ss[16]={n:"BrtFRTArchID$",f:Ya},br(t,(function(t,s,c){switch(c){case 156:a.SheetNames.push(t.name),r.Sheets.push(t);break;case 153:r.WBProps=t;break;case 39:null!=t.Sheet&&(e.SID=t.Sheet),t.Ref=ta(t.Ptg,0,null,a,e),delete e.SID,delete t.Ptg,o.push(t);break;case 1036:break;case 357:case 358:case 355:case 667:a[0].length?a.push([c,t]):a[0]=[c,t],a[a.length-1].XTI=[];break;case 362:0===a.length&&(a[0]=[],a[0].XTI=[]),a[a.length-1].XTI=a[a.length-1].XTI.concat(t),a.XTI=a.XTI.concat(t);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(c),i=!0;break;case 36:n.pop(),i=!1;break;case 37:n.push(c),i=!0;break;case 38:n.pop(),i=!1;break;case 16:break;default:if(s.T);else if(!i||e.WTF&&37!=n[n.length-1]&&35!=n[n.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),e),Wa(r),r.Names=o,r.supbooks=a,r}(t,r):function(t,e){if(!t)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,i="xmlns",o={},a=0;if(t.replace(ne,(function(s,c){var u=ae(s);switch(se(u[0])){case"<?xml":break;case"<workbook":s.match(Ga)&&(i="xmlns"+s.match(/<(\w+):/)[1]),r.xmlns=u[i];break;case"</workbook>":break;case"<fileVersion":delete u[0],r.AppVersion=u;break;case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":Na.forEach((function(t){if(null!=u[t[0]])switch(t[2]){case"bool":r.WBProps[t[0]]=me(u[t[0]]);break;case"int":r.WBProps[t[0]]=parseInt(u[t[0]],10);break;default:r.WBProps[t[0]]=u[t[0]]}})),u.codeName&&(r.WBProps.CodeName=we(u.codeName));break;case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete u[0],r.WBView.push(u);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(u.state){case"hidden":u.Hidden=1;break;case"veryHidden":u.Hidden=2;break;default:u.Hidden=0}delete u.state,u.name=le(we(u.name)),delete u[0],r.Sheets.push(u);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":n=!0;break;case"</definedNames>":n=!1;break;case"<definedName":(o={}).Name=we(u.name),u.comment&&(o.Comment=u.comment),u.localSheetId&&(o.Sheet=+u.localSheetId),me(u.hidden||"0")&&(o.Hidden=!0),a=c+s.length;break;case"</definedName>":o.Ref=le(we(t.slice(a,c))),r.Names.push(o);break;case"<definedName/>":break;case"<calcPr":case"<calcPr/>":delete u[0],r.CalcPr=u;break;case"</calcPr>":case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</AlternateContent>":n=!1;break;case"<revisionPtr":break;default:if(!n&&e.WTF)throw new Error("unrecognized "+u[0]+" in workbook")}return s})),-1===Re.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return Wa(r),r}(t,r)}function $a(t,e,r,n,i,o,a,s){return".bin"===e.slice(-4)?function(t,e,r,n,i,o,a){if(!t)return t;var s=e||{};n||(n={"!id":{}});var c,u,l,f,h,d,p,m,b,v,g=s.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=[],x=!1,O=!1,_=[];s.biff=12,s["!row"]=0;var S=0,k=!1,E=[],M={},C=s.supbooks||i.supbooks||[[]];if(C.sharedf=M,C.arrayf=E,C.SheetNames=i.SheetNames||i.Sheets.map((function(t){return t.name})),!s.supbooks&&(s.supbooks=C,i.Names))for(var j=0;j<i.Names.length;++j)C[0][j+1]=i.Names[j];var A,T,P=[],D=[],R=!1;if(Ss[16]={n:"BrtShortReal",f:Da},br(t,(function(t,e,j){if(!O)switch(j){case 148:c=t;break;case 0:u=t,s.sheetRows&&s.sheetRows<=u.r&&(O=!0),b=_r(h=u.r),s["!row"]=u.r,(t.hidden||t.hpt||null!=t.level)&&(t.hpt&&(t.hpx=eo(t.hpt)),D[t.r]=t);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(l={t:t[2]},t[2]){case"n":l.v=t[1];break;case"s":m=pa[t[1]],l.v=m.t,l.r=m.r;break;case"b":l.v=!!t[1];break;case"e":l.v=t[1],!1!==s.cellText&&(l.w=on[l.v]);break;case"str":l.t="s",l.v=t[1];break;case"is":l.t="s",l.v=t[1].t}if((f=a.CellXf[t[0].iStyleRef])&&va(l,f.numFmtId,null,s,o,a),d=-1==t[0].c?d+1:t[0].c,s.dense?(g[h]||(g[h]=[]),g[h][d]=l):g[kr(d)+b]=l,s.cellFormula){for(k=!1,S=0;S<E.length;++S){var L=E[S];u.r>=L[0].s.r&&u.r<=L[0].e.r&&d>=L[0].s.c&&d<=L[0].e.c&&(l.F=jr(L[0]),k=!0)}!k&&t.length>3&&(l.f=t[3])}if(y.s.r>u.r&&(y.s.r=u.r),y.s.c>d&&(y.s.c=d),y.e.r<u.r&&(y.e.r=u.r),y.e.c<d&&(y.e.c=d),s.cellDates&&f&&"n"==l.t&&ht(B[f.numFmtId])){var I=W(l.v);I&&(l.t="d",l.v=new Date(I.y,I.m-1,I.d,I.H,I.M,I.S,I.u))}A&&("XLDAPR"==A.type&&(l.D=!0),A=void 0),T&&(T=void 0);break;case 1:case 12:if(!s.sheetStubs||x)break;l={t:"z",v:void 0},d=-1==t[0].c?d+1:t[0].c,s.dense?(g[h]||(g[h]=[]),g[h][d]=l):g[kr(d)+b]=l,y.s.r>u.r&&(y.s.r=u.r),y.s.c>d&&(y.s.c=d),y.e.r<u.r&&(y.e.r=u.r),y.e.c<d&&(y.e.c=d),A&&("XLDAPR"==A.type&&(l.D=!0),A=void 0),T&&(T=void 0);break;case 176:_.push(t);break;case 49:A=((s.xlmeta||{}).Cell||[])[t-1];break;case 494:var N=n["!id"][t.relId];for(N?(t.Target=N.Target,t.loc&&(t.Target+="#"+t.loc),t.Rel=N):""==t.relId&&(t.Target="#"+t.loc),h=t.rfx.s.r;h<=t.rfx.e.r;++h)for(d=t.rfx.s.c;d<=t.rfx.e.c;++d)s.dense?(g[h]||(g[h]=[]),g[h][d]||(g[h][d]={t:"z",v:void 0}),g[h][d].l=t):(p=Mr({c:d,r:h}),g[p]||(g[p]={t:"z",v:void 0}),g[p].l=t);break;case 426:if(!s.cellFormula)break;E.push(t),(v=s.dense?g[h][d]:g[kr(d)+b]).f=ta(t[1],0,{r:u.r,c:d},C,s),v.F=jr(t[0]);break;case 427:if(!s.cellFormula)break;M[Mr(t[0].s)]=t[1],(v=s.dense?g[h][d]:g[kr(d)+b]).f=ta(t[1],0,{r:u.r,c:d},C,s);break;case 60:if(!s.cellStyles)break;for(;t.e>=t.s;)P[t.e--]={width:t.w/256,hidden:!!(1&t.flags),level:t.level},R||(R=!0,Ji(t.w/256)),Qi(P[t.e+1]);break;case 161:g["!autofilter"]={ref:jr(t)};break;case 476:g["!margins"]=t;break;case 147:i.Sheets[r]||(i.Sheets[r]={}),t.name&&(i.Sheets[r].CodeName=t.name),(t.above||t.left)&&(g["!outline"]={above:t.above,left:t.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),t.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:w.push(j),x=!0;break;case 38:w.pop(),x=!1;break;default:if(e.T);else if(!x||s.WTF)throw new Error("Unexpected record 0x"+j.toString(16))}}),s),delete s.supbooks,delete s["!row"],!g["!ref"]&&(y.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(g["!ref"]=jr(c||y)),s.sheetRows&&g["!ref"]){var L=Ar(g["!ref"]);s.sheetRows<=+L.e.r&&(L.e.r=s.sheetRows-1,L.e.r>y.e.r&&(L.e.r=y.e.r),L.e.r<L.s.r&&(L.s.r=L.e.r),L.e.c>y.e.c&&(L.e.c=y.e.c),L.e.c<L.s.c&&(L.s.c=L.e.c),g["!fullref"]=g["!ref"],g["!ref"]=jr(L))}return _.length>0&&(g["!merges"]=_),P.length>0&&(g["!cols"]=P),D.length>0&&(g["!rows"]=D),g}(t,n,r,i,o,a,s):Ca(t,n,r,i,o,a,s)}function Ka(t,e,r,n,i,o,a,s){return".bin"===e.slice(-4)?function(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return br(t,(function(t,n,c){switch(c){case 550:o["!rel"]=t;break;case 651:i.Sheets[r]||(i.Sheets[r]={}),t.name&&(i.Sheets[r].CodeName=t.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(c);break;case 38:a.pop();break;default:if(n.T>0)a.push(c);else if(n.T<0)a.pop();else if(!s||e.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}),e),n["!id"][o["!rel"]]&&(o["!drawel"]=n["!id"][o["!rel"]]),o}(t,n,r,i,o):function(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var o,a={"!type":"chart","!drawel":null,"!rel":""},s=t.match(ka);return s&&ja(s[0],0,i,r),(o=t.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),n["!id"][a["!rel"]]&&(a["!drawel"]=n["!id"][a["!rel"]]),a}(t,0,r,i,o)}function Za(t,e,r,n){return".bin"===e.slice(-4)?function(t,e,r){var n={NumberFmt:[]};for(var i in B)n.NumberFmt[i]=B[i];n.CellXf=[],n.Fonts=[];var o=[],a=!1;return br(t,(function(t,i,s){switch(s){case 44:n.NumberFmt[t[0]]=t[1],vt(t[1],t[0]);break;case 43:n.Fonts.push(t),null!=t.color.theme&&e&&e.themeElements&&e.themeElements.clrScheme&&(t.color.rgb=Gi(e.themeElements.clrScheme[t.color.theme].rgb,t.color.tint||0));break;case 1025:case 45:case 46:break;case 47:617==o[o.length-1]&&n.CellXf.push(t);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:o.push(s),a=!0;break;case 38:o.pop(),a=!1;break;default:if(i.T>0)o.push(s);else if(i.T<0)o.pop();else if(!a||r.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}})),n}(t,r,n):oo(t,r,n)}function Ja(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r=[],n=!1;return br(t,(function(t,i,o){switch(o){case 159:r.Count=t[0],r.Unique=t[1];break;case 19:r.push(t);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(i.T,!n||e.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),r}(t,r):function(t,e){var r=[],n="";if(!t)return r;var i=t.match(Ci);if(i){n=i[2].replace(ji,"").split(Ai);for(var o=0;o!=n.length;++o){var a=Mi(n[o].trim(),e);null!=a&&(r[r.length]=a)}i=ae(i[1]),r.Count=i.count,r.Unique=i.uniqueCount}return r}(t,r)}function Qa(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r=[],n=[],i={},o=!1;return br(t,(function(t,a,s){switch(s){case 632:n.push(t);break;case 635:i=t;break;case 637:i.t=t.t,i.h=t.h,i.r=t.r;break;case 636:if(i.author=n[i.iauthor],delete i.iauthor,e.sheetRows&&i.rfx&&e.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,r.push(i);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:case 38:break;default:if(a.T);else if(!o||e.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}(t,r):function(t,e){if(t.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],i=t.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach((function(t){if(""!==t&&""!==t.trim()){var e=t.match(/<(?:\w+:)?author[^>]*>(.*)/);e&&r.push(e[1])}}));var o=t.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(t){if(""!==t&&""!==t.trim()){var i=t.match(/<(?:\w+:)?comment[^>]*>/);if(i){var o=ae(i[0]),a={author:o.authorId&&r[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=Er(o.ref);if(!(e.sheetRows&&e.sheetRows<=s.r)){var c=t.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),u=!!c&&!!c[1]&&Mi(c[1])||{r:"",t:"",h:""};a.r=u.r,"<t></t>"==u.r&&(u.t=u.h=""),a.t=(u.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.cellHTML&&(a.h=u.h),n.push(a)}}}})),n}(t,r)}function ts(t,e,r){return".bin"===e.slice(-4)?function(t,e,r){var n=[];return br(t,(function(t,e,r){switch(r){case 63:n.push(t);break;default:if(!e.T)throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(t):function(t){var e=[];if(!t)return e;var r=1;return(t.match(ne)||[]).forEach((function(t){var n=ae(t);switch(n[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,e.push(n)}})),e}(t)}function es(t,e,r,n){if(".bin"===r.slice(-4))return function(t,e,r,n){if(!t)return t;var i=n||{},o=!1;br(t,(function(t,e,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if(e.T);else if(!o||i.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),i)}(t,0,0,n)}function rs(t,e,r){return".bin"===e.slice(-4)?function(t,e,r){var n={Types:[],Cell:[],Value:[]},i=r||{},o=[],a=!1,s=2;return br(t,(function(t,e,r){switch(r){case 335:n.Types.push({name:t.name});break;case 51:t.forEach((function(t){1==s?n.Cell.push({type:n.Types[t[0]-1].name,index:t[1]}):0==s&&n.Value.push({type:n.Types[t[0]-1].name,index:t[1]})}));break;case 337:s=t?1:0;break;case 338:s=2;break;case 35:o.push(r),a=!0;break;case 36:o.pop(),a=!1;break;default:if(e.T);else if(!a||i.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(t,0,r):function(t,e,r){var n={Types:[],Cell:[],Value:[]};if(!t)return n;var i,o=!1,a=2;return t.replace(ne,(function(t){var e=ae(t);switch(se(e[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":n.Types.push({name:e.name});break;case"</metadataType>":break;case"<futureMetadata":for(var s=0;s<n.Types.length;++s)n.Types[s].name==e.name&&(i=n.Types[s]);break;case"</futureMetadata>":case"<bk>":case"</bk>":break;case"<rc":1==a?n.Cell.push({type:n.Types[e.t-1].name,index:+e.v}):0==a&&n.Value.push({type:n.Types[e.t-1].name,index:+e.v});break;case"</rc>":break;case"<cellMetadata":a=1;break;case"</cellMetadata>":a=2;break;case"<valueMetadata":a=0;break;case"</valueMetadata>":a=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;case"<rvb":if(!i)break;i.offsets||(i.offsets=[]),i.offsets.push(+e.i);break;default:if(!o&&r.WTF)throw new Error("unrecognized "+e[0]+" in metadata")}return t})),n}(t,0,r)}var ns,is=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,os=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function as(t,e){var r=t.split(/\s+/),n=[];if(e||(n[0]=r[0]),1===r.length)return n;var i,o,a,s=t.match(is);if(s)for(a=0;a!=s.length;++a)-1===(o=(i=s[a].match(os))[1].indexOf(":"))?n[i[1]]=i[2].slice(1,i[2].length-1):n["xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(o+1)]=i[2].slice(1,i[2].length-1);return n}function ss(t){var e={};if(1===t.split(/\s+/).length)return e;var r,n,i,o=t.match(is);if(o)for(i=0;i!=o.length;++i)-1===(n=(r=o[i].match(os))[1].indexOf(":"))?e[r[1]]=r[2].slice(1,r[2].length-1):e["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return e}function cs(t,e,r,n){var i=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=me(n);break;case"i2":case"int":i=parseInt(n,10);break;case"r4":case"float":i=parseFloat(n);break;case"date":case"dateTime.tz":i=It(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}t[le(e)]=i}function us(t,e,r){if("z"!==t.t){if(!r||!1!==r.cellText)try{"e"===t.t?t.w=t.w||on[t.v]:"General"===e?"n"===t.t?(0|t.v)===t.v?t.w=t.v.toString(10):t.w=K(t.v):t.w=Z(t.v):t.w=function(t,e){var r=ns[t]||le(t);return"General"===r?Z(e):bt(r,e)}(e||"General",t.v)}catch(o){if(r.WTF)throw o}try{var n=ns[e]||e||"General";if(r.cellNF&&(t.z=n),r.cellDates&&"n"==t.t&&ht(n)){var i=W(t.v);i&&(t.t="d",t.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(o){if(r.WTF)throw o}}}function ls(t,e,r){if(r.cellStyles&&e.Interior){var n=e.Interior;n.Pattern&&(n.patternType=ro[n.Pattern]||n.Pattern)}t[e.ID]=e}function fs(t,e,r,n,i,o,a,s,c,u){var l="General",f=n.StyleID,h={};u=u||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&a&&(f=a.StyleID);void 0!==o[f]&&(o[f].nf&&(l=o[f].nf),o[f].Interior&&d.push(o[f].Interior),o[f].Parent);)f=o[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=me(t);break;case"String":n.t="s",n.r=pe(le(t)),n.v=t.indexOf("<")>-1?le(e||t).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=t.slice(-1)&&(t+="Z"),n.v=(It(t)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!==n.v?n.v=le(t):n.v<60&&(n.v=n.v-1),l&&"General"!=l||(l="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+t),n.t||(n.t="n");break;case"Error":n.t="e",n.v=an[t],!1!==u.cellText&&(n.w=t);break;default:""==t&&""==e?n.t="z":(n.t="s",n.v=pe(e||t))}if(us(n,l,u),!1!==u.cellFormula)if(n.Formula){var m=le(n.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),n.f=_o(m,i),delete n.Formula,"RC"==n.ArrayRange?n.F=_o("RC:RC",i):n.ArrayRange&&(n.F=_o(n.ArrayRange,i),c.push([Ar(n.F),n.F]))}else for(p=0;p<c.length;++p)i.r>=c[p][0].s.r&&i.r<=c[p][0].e.r&&i.c>=c[p][0].s.c&&i.c<=c[p][0].e.c&&(n.F=c[p][1]);u.cellStyles&&(d.forEach((function(t){!h.patternType&&t.patternType&&(h.patternType=t.patternType)})),n.s=h),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function hs(t){t.t=t.v||"",t.t=t.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.v=t.w=t.ixfe=void 0}function ds(t,e){var r=e||{};gt();var n=p(Te(t));"binary"!=r.type&&"array"!=r.type&&"base64"!=r.type||(n="undefined"!==typeof d?d.utils.decode(65001,f(n)):we(n));var i,o=n.slice(0,1024).toLowerCase(),a=!1;if((1023&(o=o.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&o.indexOf(","),1023&o.indexOf(";"))){var s=Ft(r);return s.type="string",wi.to_workbook(n,s)}if(-1==o.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(t){o.indexOf("<"+t)>=0&&(a=!0)})),a)return function(t,e){var r=t.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return Dr(Ms(r[0],e),e);var n={SheetNames:[],Sheets:{}};return r.forEach((function(t,r){Sc(n,Ms(t,e),"Sheet"+(r+1))})),n}(n,r);ns={"General Number":"General","General Date":B[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":B[15],"Short Date":B[14],"Long Time":B[19],"Medium Time":B[18],"Short Time":B[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:B[2],Standard:B[4],Percent:B[10],Scientific:B[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,u=[];var l,h={},m=[],b=r.dense?[]:{},v="",g={},y={},w=as('<Data ss:Type="String">'),x=0,O=0,_=0,S={s:{r:2e6,c:2e6},e:{r:0,c:0}},k={},E={},M="",C=0,j=[],A={},T={},P=0,D=[],R=[],L={},I=[],N=!1,F=[],z=[],H={},U=0,W=0,q={Sheets:[],WBProps:{date1904:!1}},V={};Pe.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/gm,"");for(var G="";i=Pe.exec(n);)switch(i[3]=(G=i[3]).toLowerCase()){case"data":if("data"==G){if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break}if(u[u.length-1][1])break;"/"===i[1]?fs(n.slice(x,i.index),M,w,"comment"==u[u.length-1][0]?L:g,{c:O,r:_},k,I[O],y,F,r):(M="",w=as(i[0]),x=i.index+i[0].length);break;case"cell":if("/"===i[1])if(R.length>0&&(g.c=R),(!r.sheetRows||r.sheetRows>_)&&void 0!==g.v&&(r.dense?(b[_]||(b[_]=[]),b[_][O]=g):b[kr(O)+_r(_)]=g),g.HRef&&(g.l={Target:le(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(U=O+(0|parseInt(g.MergeAcross,10)),W=_+(0|parseInt(g.MergeDown,10)),j.push({s:{c:O,r:_},e:{c:U,r:W}})),r.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var Y=O;Y<=U;++Y)for(var X=_;X<=W;++X)(Y>O||X>_)&&(r.dense?(b[X]||(b[X]=[]),b[X][Y]={t:"z"}):b[kr(Y)+_r(X)]={t:"z"});O=U+1}else++O;else g.MergeAcross?O=U+1:++O;else(g=ss(i[0])).Index&&(O=+g.Index-1),O<S.s.c&&(S.s.c=O),O>S.e.c&&(S.e.c=O),"/>"===i[0].slice(-2)&&++O,R=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(_<S.s.r&&(S.s.r=_),_>S.e.r&&(S.e.r=_),"/>"===i[0].slice(-2)&&(y=as(i[0])).Index&&(_=+y.Index-1),O=0,++_):((y=as(i[0])).Index&&(_=+y.Index-1),H={},("0"==y.AutoFitHeight||y.Height)&&(H.hpx=parseInt(y.Height,10),H.hpt=to(H.hpx),z[_]=H),"1"==y.Hidden&&(H.hidden=!0,z[_]=H));break;case"worksheet":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"));m.push(v),S.s.r<=S.e.r&&S.s.c<=S.e.c&&(b["!ref"]=jr(S),r.sheetRows&&r.sheetRows<=S.e.r&&(b["!fullref"]=b["!ref"],S.e.r=r.sheetRows-1,b["!ref"]=jr(S))),j.length&&(b["!merges"]=j),I.length>0&&(b["!cols"]=I),z.length>0&&(b["!rows"]=z),h[v]=b}else S={s:{r:2e6,c:2e6},e:{r:0,c:0}},_=O=0,u.push([i[3],!1]),c=as(i[0]),v=le(c.Name),b=r.dense?[]:{},j=[],F=[],z=[],V={name:v,Hidden:0},q.Sheets.push(V);break;case"table":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else{if("/>"==i[0].slice(-2))break;u.push([i[3],!1]),I=[],N=!1}break;case"style":"/"===i[1]?ls(k,E,r):E=as(i[0]);break;case"numberformat":E.nf=le(as(i[0]).Format||"General"),ns[E.nf]&&(E.nf=ns[E.nf]);for(var $=0;392!=$&&B[$]!=E.nf;++$);if(392==$)for($=57;392!=$;++$)if(null==B[$]){vt(E.nf,$);break}break;case"column":if("table"!==u[u.length-1][0])break;if((l=as(i[0])).Hidden&&(l.hidden=!0,delete l.Hidden),l.Width&&(l.wpx=parseInt(l.Width,10)),!N&&l.wpx>10){N=!0,Yi=6;for(var K=0;K<I.length;++K)I[K]&&Qi(I[K])}N&&Qi(l),I[l.Index-1||I.length]=l;for(var Z=0;Z<+l.Span;++Z)I[I.length]=Ft(l);break;case"namedrange":if("/"===i[1])break;q.Names||(q.Names=[]);var J=ae(i[0]),Q={Name:J.Name,Ref:_o(J.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(Q.Sheet=q.Sheets.length-1),q.Names.push(Q);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===i[0].slice(-2))break;"/"===i[1]?M+=n.slice(C,i.index):C=i.index+i[0].length;break;case"interior":if(!r.cellStyles)break;E.Interior=as(i[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===i[0].slice(-2))break;"/"===i[1]?yn(A,G,n.slice(P,i.index)):P=i.index+i[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else u.push([i[3],!1]);break;case"comment":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"));hs(L),R.push(L)}else u.push([i[3],!1]),L={a:(c=as(i[0])).Author};break;case"autofilter":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else if("/"!==i[0].charAt(i[0].length-2)){var tt=as(i[0]);b["!autofilter"]={ref:_o(tt.Range).replace(/\$/g,"")},u.push([i[3],!0])}break;case"name":break;case"datavalidation":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break;case"null":break;default:if(0==u.length&&"document"==i[3])return Bs(n,r);if(0==u.length&&"uof"==i[3])return Bs(n,r);var et=!0;switch(u[u.length-1][0]){case"officedocumentsettings":switch(i[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:et=!1}break;case"componentoptions":switch(i[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:et=!1}break;case"excelworkbook":switch(i[3]){case"date1904":q.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:et=!1}break;case"workbookoptions":switch(i[3]){case"owcversion":case"height":case"width":break;default:et=!1}break;case"worksheetoptions":switch(i[3]){case"visible":if("/>"===i[0].slice(-2));else if("/"===i[1])switch(n.slice(P,i.index)){case"SheetHidden":V.Hidden=1;break;case"SheetVeryHidden":V.Hidden=2}else P=i.index+i[0].length;break;case"header":b["!margins"]||ba(b["!margins"]={},"xlml"),isNaN(+ae(i[0]).Margin)||(b["!margins"].header=+ae(i[0]).Margin);break;case"footer":b["!margins"]||ba(b["!margins"]={},"xlml"),isNaN(+ae(i[0]).Margin)||(b["!margins"].footer=+ae(i[0]).Margin);break;case"pagemargins":var rt=ae(i[0]);b["!margins"]||ba(b["!margins"]={},"xlml"),isNaN(+rt.Top)||(b["!margins"].top=+rt.Top),isNaN(+rt.Left)||(b["!margins"].left=+rt.Left),isNaN(+rt.Right)||(b["!margins"].right=+rt.Right),isNaN(+rt.Bottom)||(b["!margins"].bottom=+rt.Bottom);break;case"displayrighttoleft":q.Views||(q.Views=[]),q.Views[0]||(q.Views[0]={}),q.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":break;case"nosummaryrowsbelowdetail":b["!outline"]||(b["!outline"]={}),b["!outline"].above=!0;break;case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":b["!outline"]||(b["!outline"]={}),b["!outline"].left=!0;break;case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:et=!1}break;case"pivottable":case"pivotcache":switch(i[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:et=!1}break;case"pagebreaks":switch(i[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:et=!1}break;case"autofilter":switch(i[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:et=!1}break;case"querytable":switch(i[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:et=!1}break;case"datavalidation":switch(i[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:et=!1}break;case"sorting":case"conditionalformatting":switch(i[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:et=!1}break;case"mapinfo":case"schema":case"data":switch(i[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:et=!1}break;case"smarttags":break;default:et=!1}if(et)break;if(i[3].match(/!\[CDATA/))break;if(!u[u.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+u.join("|");if("customdocumentproperties"===u[u.length-1][0]){if("/>"===i[0].slice(-2))break;"/"===i[1]?cs(T,G,D,n.slice(P,i.index)):(D=i,P=i.index+i[0].length);break}if(r.WTF)throw"Unrecognized tag: "+i[3]+"|"+u.join("|")}var nt={};return r.bookSheets||r.bookProps||(nt.Sheets=h),nt.SheetNames=m,nt.Workbook=q,nt.SSF=Ft(B),nt.Props=A,nt.Custprops=T,nt}function ps(t,e){switch(ac(e=e||{}),e.type||"base64"){case"base64":return ds(y(t),e);case"binary":case"buffer":case"file":return ds(t,e);case"array":return ds(k(t),e)}}function ms(t){var e={},r=t.content;if(r.l=28,e.AnsiUserType=r.read_shift(0,"lpstr-ansi"),e.AnsiClipboardFormat=function(t){return Kr(t,1)}(r),r.length-r.l<=4)return e;var n=r.read_shift(4);return 0==n||n>40?e:(r.l-=4,e.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4||1907505652!==(n=r.read_shift(4))?e:(e.UnicodeClipboardFormat=function(t){return Kr(t,2)}(r),0==(n=r.read_shift(4))||n>40?e:(r.l-=4,void(e.Reserved2=r.read_shift(0,"lpwstr")))))}var bs=[60,1084,2066,2165,2175];function vs(t,e,r,n,i){var o=n,a=[],s=r.slice(r.l,r.l+o);if(i&&i.enc&&i.enc.insitu&&s.length>0)switch(t){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:i.enc.insitu(s)}a.push(s),r.l+=o;for(var c=ir(r,r.l),u=ks[c],l=0;null!=u&&bs.indexOf(c)>-1;)o=ir(r,r.l+2),l=r.l+4,2066==c?l+=4:2165!=c&&2175!=c||(l+=12),s=r.slice(l,r.l+4+o),a.push(s),r.l+=4+o,u=ks[c=ir(r,r.l)];var f=M(a);dr(f,0);var h=0;f.lens=[];for(var d=0;d<a.length;++d)f.lens.push(h),h+=a[d].length;if(f.length<n)throw"XLS Record 0x"+t.toString(16)+" Truncated: "+f.length+" < "+n;return e.f(f,f.length,i)}function gs(t,e,r){if("z"!==t.t&&t.XF){var n=0;try{n=t.z||t.XF.numFmtId||0,e.cellNF&&(t.z=B[n])}catch(o){if(e.WTF)throw o}if(!e||!1!==e.cellText)try{"e"===t.t?t.w=t.w||on[t.v]:0===n||"General"==n?"n"===t.t?(0|t.v)===t.v?t.w=t.v.toString(10):t.w=K(t.v):t.w=Z(t.v):t.w=bt(n,t.v,{date1904:!!r,dateNF:e&&e.dateNF})}catch(o){if(e.WTF)throw o}if(e.cellDates&&n&&"n"==t.t&&ht(B[n]||String(n))){var i=W(t.v);i&&(t.t="d",t.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function ys(t,e,r){return{v:t,ixfe:e,t:r}}function ws(t,e){var r={opts:{}},n={};var i,o,a,s,c,l,f,h,d=e.dense?[]:{},p={},m={},b=null,v=[],g="",y={},w="",x={},O=[],_=[],S=[],k={Sheets:[],WBProps:{date1904:!1},Views:[{}]},E={},M=function(t){return t<8?nn[t]:t<64&&S[t-8]||nn[t]},C=function(t,e,r){if(!(F>1)&&!(r.sheetRows&&t.r>=r.sheetRows)){if(r.cellStyles&&e.XF&&e.XF.data&&function(t,e,r){var n,i=e.XF.data;i&&i.patternType&&r&&r.cellStyles&&(e.s={},e.s.patternType=i.patternType,(n=Vi(M(i.icvFore)))&&(e.s.fgColor={rgb:n}),(n=Vi(M(i.icvBack)))&&(e.s.bgColor={rgb:n}))}(0,e,r),delete e.ixfe,delete e.XF,i=t,w=Mr(t),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),t.r<m.s.r&&(m.s.r=t.r),t.c<m.s.c&&(m.s.c=t.c),t.r+1>m.e.r&&(m.e.r=t.r+1),t.c+1>m.e.c&&(m.e.c=t.c+1),r.cellFormula&&e.f)for(var n=0;n<O.length;++n)if(!(O[n][0].s.c>t.c||O[n][0].s.r>t.r)&&!(O[n][0].e.c<t.c||O[n][0].e.r<t.r)){e.F=jr(O[n][0]),O[n][0].s.c==t.c&&O[n][0].s.r==t.r||delete e.f,e.f&&(e.f=""+ta(O[n][1],0,t,L,j));break}r.dense?(d[t.r]||(d[t.r]=[]),d[t.r][t.c]=e):d[w]=e}},j={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:O,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!e&&!!e.cellStyles,WTF:!!e&&!!e.wtf};e.password&&(j.password=e.password);var A=[],T=[],P=[],D=[],R=!1,L=[];L.SheetNames=j.snames,L.sharedf=j.sharedf,L.arrayf=j.arrayf,L.names=[],L.XTI=[];var I,N=0,F=0,z=0,H=[],U=[];j.codepage=1200,u(1200);for(var W=!1;t.l<t.length-1;){var q=t.l,V=t.read_shift(2);if(0===V&&10===N)break;var G=t.l===t.length?0:t.read_shift(2),Y=ks[V];if(Y&&Y.f){if(e.bookSheets&&133===N&&133!==V)break;if(N=V,2===Y.r||12==Y.r){var X=t.read_shift(2);if(G-=2,!j.enc&&X!==V&&((255&X)<<8|X>>8)!==V)throw new Error("rt mismatch: "+X+"!="+V);12==Y.r&&(t.l+=10,G-=10)}var $={};if($=10===V?Y.f(t,G,j):vs(V,Y,t,G,j),0==F&&-1===[9,521,1033,2057].indexOf(N))continue;switch(V){case 34:r.opts.Date1904=k.WBProps.date1904=$;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(j.enc||(t.l=0),j.enc=$,!e.password)throw new Error("File is password-protected");if(null==$.valid)throw new Error("Encryption scheme unsupported");if(!$.valid)throw new Error("Password is incorrect");break;case 92:j.lastuser=$;break;case 66:var K=Number($);switch(K){case 21010:K=1200;break;case 32768:K=1e4;break;case 32769:K=1252}u(j.codepage=K),W=!0;break;case 317:j.rrtabid=$;break;case 25:j.winlocked=$;break;case 439:r.opts.RefreshAll=$;break;case 12:r.opts.CalcCount=$;break;case 16:r.opts.CalcDelta=$;break;case 17:r.opts.CalcIter=$;break;case 13:r.opts.CalcMode=$;break;case 14:r.opts.CalcPrecision=$;break;case 95:r.opts.CalcSaveRecalc=$;break;case 15:j.CalcRefMode=$;break;case 2211:r.opts.FullCalc=$;break;case 129:$.fDialog&&(d["!type"]="dialog"),$.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),$.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:_.push($);break;case 430:L.push([$]),L[L.length-1].XTI=[];break;case 35:case 547:L[L.length-1].push($);break;case 24:case 536:I={Name:$.Name,Ref:ta($.rgce,0,null,L,j)},$.itab>0&&(I.Sheet=$.itab-1),L.names.push(I),L[0]||(L[0]=[],L[0].XTI=[]),L[L.length-1].push($),"_xlnm._FilterDatabase"==$.Name&&$.itab>0&&$.rgce&&$.rgce[0]&&$.rgce[0][0]&&"PtgArea3d"==$.rgce[0][0][0]&&(U[$.itab-1]={ref:jr($.rgce[0][0][1][2])});break;case 22:j.ExternCount=$;break;case 23:0==L.length&&(L[0]=[],L[0].XTI=[]),L[L.length-1].XTI=L[L.length-1].XTI.concat($),L.XTI=L.XTI.concat($);break;case 2196:if(j.biff<8)break;null!=I&&(I.Comment=$[1]);break;case 18:d["!protect"]=$;break;case 19:0!==$&&j.WTF&&console.error("Password verifier: "+$);break;case 133:p[$.pos]=$,j.snames.push($.name);break;case 10:if(--F)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=jr(m),e.sheetRows&&e.sheetRows<=m.e.r){var Z=m.e.r;m.e.r=e.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=jr(m),m.e.r=Z}m.e.r++,m.e.c++}A.length>0&&(d["!merges"]=A),T.length>0&&(d["!objects"]=T),P.length>0&&(d["!cols"]=P),D.length>0&&(d["!rows"]=D),k.Sheets.push(E)}""===g?y=d:n[g]=d,d=e.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===j.biff&&(j.biff={9:2,521:3,1033:4}[V]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[$.BIFFVer]||8),j.biffguess=0==$.BIFFVer,0==$.BIFFVer&&4096==$.dt&&(j.biff=5,W=!0,u(j.codepage=28591)),8==j.biff&&0==$.BIFFVer&&16==$.dt&&(j.biff=2),F++)break;if(d=e.dense?[]:{},j.biff<8&&!W&&(W=!0,u(j.codepage=e.codepage||1252)),j.biff<5||0==$.BIFFVer&&4096==$.dt){""===g&&(g="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var J={pos:t.l-G,name:g};p[J.pos]=J,j.snames.push(g)}else g=(p[q]||{name:""}).name;32==$.dt&&(d["!type"]="chart"),64==$.dt&&(d["!type"]="macro"),A=[],T=[],j.arrayf=O=[],P=[],D=[],R=!1,E={Hidden:(p[q]||{hs:0}).hs,name:g};break;case 515:case 3:case 2:"chart"==d["!type"]&&(e.dense?(d[$.r]||[])[$.c]:d[Mr({c:$.c,r:$.r})])&&++$.c,l={ixfe:$.ixfe,XF:_[$.ixfe]||{},v:$.val,t:"n"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 5:case 517:l={ixfe:$.ixfe,XF:_[$.ixfe],v:$.val,t:$.t},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 638:l={ixfe:$.ixfe,XF:_[$.ixfe],v:$.rknum,t:"n"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 189:for(var Q=$.c;Q<=$.C;++Q){var tt=$.rkrec[Q-$.c][0];l={ixfe:tt,XF:_[tt],v:$.rkrec[Q-$.c][1],t:"n"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:Q,r:$.r},l,e)}break;case 6:case 518:case 1030:if("String"==$.val){b=$;break}if((l=ys($.val,$.cell.ixfe,$.tt)).XF=_[l.ixfe],e.cellFormula){var et=$.formula;if(et&&et[0]&&et[0][0]&&"PtgExp"==et[0][0][0]){var rt=et[0][0][1][0],nt=et[0][0][1][1],it=Mr({r:rt,c:nt});x[it]?l.f=""+ta($.formula,0,$.cell,L,j):l.F=((e.dense?(d[rt]||[])[nt]:d[it])||{}).F}else l.f=""+ta($.formula,0,$.cell,L,j)}z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C($.cell,l,e),b=$;break;case 7:case 519:if(!b)throw new Error("String record expects Formula");b.val=$,(l=ys($,b.cell.ixfe,"s")).XF=_[l.ixfe],e.cellFormula&&(l.f=""+ta(b.formula,0,b.cell,L,j)),z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C(b.cell,l,e),b=null;break;case 33:case 545:O.push($);var ot=Mr($[0].s);if(o=e.dense?(d[$[0].s.r]||[])[$[0].s.c]:d[ot],e.cellFormula&&o){if(!b)break;if(!ot||!o)break;o.f=""+ta($[1],0,$[0],L,j),o.F=jr($[0])}break;case 1212:if(!e.cellFormula)break;if(w){if(!b)break;x[Mr(b.cell)]=$[0],((o=e.dense?(d[b.cell.r]||[])[b.cell.c]:d[Mr(b.cell)])||{}).f=""+ta($[0],0,i,L,j)}break;case 253:l=ys(v[$.isst].t,$.ixfe,"s"),v[$.isst].h&&(l.h=v[$.isst].h),l.XF=_[l.ixfe],z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 513:e.sheetStubs&&(l={ixfe:$.ixfe,XF:_[$.ixfe],t:"z"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e));break;case 190:if(e.sheetStubs)for(var at=$.c;at<=$.C;++at){var st=$.ixfe[at-$.c];l={ixfe:st,XF:_[st],t:"z"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:at,r:$.r},l,e)}break;case 214:case 516:case 4:(l=ys($.val,$.ixfe,"s")).XF=_[l.ixfe],z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 0:case 512:1===F&&(m=$);break;case 252:v=$;break;case 1054:if(4==j.biff){H[z++]=$[1];for(var ct=0;ct<z+163&&B[ct]!=$[1];++ct);ct>=163&&vt($[1],z+163)}else vt($[1],$[0]);break;case 30:H[z++]=$;for(var ut=0;ut<z+163&&B[ut]!=$;++ut);ut>=163&&vt($,z+163);break;case 229:A=A.concat($);break;case 93:T[$.cmo[0]]=j.lastobj=$;break;case 438:j.lastobj.TxO=$;break;case 127:j.lastobj.ImData=$;break;case 440:for(c=$[0].s.r;c<=$[0].e.r;++c)for(s=$[0].s.c;s<=$[0].e.c;++s)(o=e.dense?(d[c]||[])[s]:d[Mr({c:s,r:c})])&&(o.l=$[1]);break;case 2048:for(c=$[0].s.r;c<=$[0].e.r;++c)for(s=$[0].s.c;s<=$[0].e.c;++s)(o=e.dense?(d[c]||[])[s]:d[Mr({c:s,r:c})])&&o.l&&(o.l.Tooltip=$[1]);break;case 28:if(j.biff<=5&&j.biff>=2)break;o=e.dense?(d[$[0].r]||[])[$[0].c]:d[Mr($[0])];var lt=T[$[2]];o||(e.dense?(d[$[0].r]||(d[$[0].r]=[]),o=d[$[0].r][$[0].c]={t:"z"}):o=d[Mr($[0])]={t:"z"},m.e.r=Math.max(m.e.r,$[0].r),m.s.r=Math.min(m.s.r,$[0].r),m.e.c=Math.max(m.e.c,$[0].c),m.s.c=Math.min(m.s.c,$[0].c)),o.c||(o.c=[]),a={a:$[1],t:lt.TxO.t},o.c.push(a);break;case 2173:_[$.ixfe],$.ext.forEach((function(t){t[0]}));break;case 125:if(!j.cellStyles)break;for(;$.e>=$.s;)P[$.e--]={width:$.w/256,level:$.level||0,hidden:!!(1&$.flags)},R||(R=!0,Ji($.w/256)),Qi(P[$.e+1]);break;case 520:var ft={};null!=$.level&&(D[$.r]=ft,ft.level=$.level),$.hidden&&(D[$.r]=ft,ft.hidden=!0),$.hpt&&(D[$.r]=ft,ft.hpt=$.hpt,ft.hpx=eo($.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||ba(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[V]]=$;break;case 161:d["!margins"]||ba(d["!margins"]={}),d["!margins"].header=$.header,d["!margins"].footer=$.footer;break;case 574:$.RTL&&(k.Views[0].RTL=!0);break;case 146:S=$;break;case 2198:h=$;break;case 140:f=$;break;case 442:g?E.CodeName=$||E.name:k.WBProps.CodeName=$||"ThisWorkbook"}}else Y||console.error("Missing Info for XLS Record 0x"+V.toString(16)),t.l+=G}return r.SheetNames=St(p).sort((function(t,e){return Number(t)-Number(e)})).map((function(t){return p[t].name})),e.bookSheets||(r.Sheets=n),!r.SheetNames.length&&y["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=y)):r.Preamble=y,r.Sheets&&U.forEach((function(t,e){r.Sheets[r.SheetNames[e]]["!autofilter"]=t})),r.Strings=v,r.SSF=Ft(B),j.enc&&(r.Encryption=j.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),L.names.length>0&&(k.Names=L.names),r.Workbook=k,r}var xs="e0859ff2f94f6810ab9108002b27b3d9",Os="02d5cdd59c2e1b10939708002b2cf9ae";function _s(t,e){var r,n,i,o;if(e||(e={}),ac(e),l(),e.codepage&&c(e.codepage),t.FullPaths){if(Ot.find(t,"/encryption"))throw new Error("File is password-protected");r=Ot.find(t,"!CompObj"),n=Ot.find(t,"/Workbook")||Ot.find(t,"/Book")}else{switch(e.type){case"base64":t=S(y(t));break;case"binary":t=S(t);break;case"buffer":break;case"array":Array.isArray(t)||(t=Array.prototype.slice.call(t))}dr(t,0),n={content:t}}if(r&&ms(r),e.bookProps&&!e.bookSheets)i={};else{var a=w?"buffer":"array";if(n&&n.content)i=ws(n.content,e);else if((o=Ot.find(t,"PerfectOffice_MAIN"))&&o.content)i=xi.to_workbook(o.content,(e.type=a,e));else{if(!(o=Ot.find(t,"NativeContent_MAIN"))||!o.content)throw(o=Ot.find(t,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");i=xi.to_workbook(o.content,(e.type=a,e))}e.bookVBA&&t.FullPaths&&Ot.find(t,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=function(t){var e=Ot.utils.cfb_new({root:"R"});return t.FullPaths.forEach((function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var i=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Ot.utils.cfb_add(e,i,t.FileIndex[n].content)}})),Ot.write(e)}(t))}var s={};return t.FullPaths&&function(t,e,r){var n=Ot.find(t,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var i=An(n,Jr,Os);for(var o in i)e[o]=i[o]}catch(u){if(r.WTF)throw u}var a=Ot.find(t,"/!SummaryInformation");if(a&&a.size>0)try{var s=An(a,Qr,xs);for(var c in s)null==e[c]&&(e[c]=s[c])}catch(u){if(r.WTF)throw u}e.HeadingPairs&&e.TitlesOfParts&&(mn(e.HeadingPairs,e.TitlesOfParts,e,r),delete e.HeadingPairs,delete e.TitlesOfParts)}(t,s,e),i.Props=i.Custprops=s,e.bookFiles&&(i.cfb=t),i}var Ss={0:{f:function(t,e){var r={},n=t.l+e;r.r=t.read_shift(4),t.l+=4;var i=t.read_shift(2);t.l+=1;var o=t.read_shift(1);return t.l=n,7&o&&(r.level=7&o),16&o&&(r.hidden=!0),32&o&&(r.hpt=i/20),r}},1:{f:function(t){return[zr(t)]}},2:{f:function(t){return[zr(t),Gr(t),"n"]}},3:{f:function(t){return[zr(t),t.read_shift(1),"e"]}},4:{f:function(t){return[zr(t),t.read_shift(1),"b"]}},5:{f:function(t){return[zr(t),$r(t),"n"]}},6:{f:function(t){return[zr(t),Ir(t),"str"]}},7:{f:function(t){return[zr(t),t.read_shift(4),"s"]}},8:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,Ir(t),"str"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},9:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,$r(t),"n"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},10:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,t.read_shift(1),"b"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},11:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,t.read_shift(1),"e"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},12:{f:function(t){return[Hr(t)]}},13:{f:function(t){return[Hr(t),Gr(t),"n"]}},14:{f:function(t){return[Hr(t),t.read_shift(1),"e"]}},15:{f:function(t){return[Hr(t),t.read_shift(1),"b"]}},16:{f:Da},17:{f:function(t){return[Hr(t),Ir(t),"str"]}},18:{f:function(t){return[Hr(t),t.read_shift(4),"s"]}},19:{f:Fr},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(t,e,r){var n=t.l+e;t.l+=4,t.l+=1;var i=t.read_shift(4),o=qr(t),a=sa(t,0,r),s=Wr(t);t.l=n;var c={Name:o,Ptg:a};return i<268435455&&(c.Sheet=i),s&&(c.Comment=s),c}},40:{},42:{},43:{f:function(t,e,r){var n={};n.sz=t.read_shift(2)/20;var i=function(t){var e=t.read_shift(1);return t.l++,{fBold:1&e,fItalic:2&e,fUnderline:4&e,fStrikeout:8&e,fOutline:16&e,fShadow:32&e,fCondense:64&e,fExtend:128&e}}(t);switch(i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1),700===t.read_shift(2)&&(n.bold=1),t.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var o=t.read_shift(1);0!=o&&(n.underline=o);var a=t.read_shift(1);a>0&&(n.family=a);var s=t.read_shift(1);switch(s>0&&(n.charset=s),t.l++,n.color=function(t){var e={},r=t.read_shift(1)>>>1,n=t.read_shift(1),i=t.read_shift(2,"i"),o=t.read_shift(1),a=t.read_shift(1),s=t.read_shift(1);switch(t.l++,r){case 0:e.auto=1;break;case 1:e.index=n;var c=nn[n];c&&(e.rgb=Vi(c));break;case 2:e.rgb=Vi([o,a,s]);break;case 3:e.theme=n}return 0!=i&&(e.tint=i>0?i/32767:i/32768),e}(t),t.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=Ir(t),n}},44:{f:function(t,e){return[t.read_shift(2),Ir(t)]}},45:{f:ao},46:{f:so},47:{f:function(t,e){var r=t.l+e,n=t.read_shift(2),i=t.read_shift(2);return t.l=r,{ixfe:n,numFmtId:i}}},48:{},49:{f:function(t){return t.read_shift(4,"i")}},50:{},51:{f:function(t){for(var e=[],r=t.read_shift(4);r-- >0;)e.push([t.read_shift(4),t.read_shift(4)]);return e}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:fi},62:{f:function(t){return[zr(t),Fr(t),"is"]}},63:{f:function(t){var e={};e.i=t.read_shift(4);var r={};r.r=t.read_shift(4),r.c=t.read_shift(4),e.r=Mr(r);var n=t.read_shift(1);return 2&n&&(e.l="1"),8&n&&(e.a="1"),e}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:pr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(t){var e=t.read_shift(2);return t.l+=28,{RTL:32&e}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(t,e){var r={},n=t[t.l];return++t.l,r.above=!(64&n),r.left=!(128&n),t.l+=18,r.name=Ur(t,e-19),r}},148:{f:Pa,p:16},151:{f:function(){}},152:{},153:{f:function(t,e){var r={},n=t.read_shift(4);r.defaultThemeVersion=t.read_shift(4);var i=e>8?Ir(t):"";return i.length>0&&(r.CodeName=i),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(t,e){var r={};return r.Hidden=t.read_shift(4),r.iTabID=t.read_shift(4),r.strRelID=Vr(t,e-8),r.name=Ir(t),r}},157:{},158:{},159:{T:1,f:function(t){return[t.read_shift(4),t.read_shift(4)]}},160:{T:-1},161:{T:1,f:Xr},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Ra},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(t,e){return{flags:t.read_shift(4),version:t.read_shift(4),name:Ir(t)}}},336:{T:-1},337:{f:function(t){return t.l+=4,0!=t.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Vr},357:{},358:{},359:{},360:{T:1},361:{},362:{f:ci},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(t,e,r){var n=t.l+e,i=Yr(t),o=t.read_shift(1),a=[i];if(a[2]=o,r.cellFormula){var s=oa(t,n-t.l,r);a[1]=s}else t.l=n;return a}},427:{f:function(t,e,r){var n=t.l+e,i=[Xr(t,16)];if(r.cellFormula){var o=ca(t,n-t.l,r);i[1]=o,t.l=n}else t.l=n;return i}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(t){var e={};return La.forEach((function(r){e[r]=$r(t)})),e}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(t,e){var r=t.l+e,n=Xr(t,16),i=Wr(t),o=Ir(t),a=Ir(t),s=Ir(t);t.l=r;var c={rfx:n,relId:i,loc:o,display:s};return a&&(c.Tooltip=a),c}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Vr},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Oo},633:{T:1},634:{T:-1},635:{T:1,f:function(t){var e={};e.iauthor=t.read_shift(4);var r=Xr(t,16);return e.rfx=r.s,e.ref=Mr(r.s),t.l+=16,e}},636:{T:-1},637:{f:Br},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(t,e){return t.l+=10,{name:Ir(t)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},ks={6:{f:na},10:{f:Tn},12:{f:Dn},13:{f:Dn},14:{f:Pn},15:{f:Pn},16:{f:$r},17:{f:Pn},18:{f:Pn},19:{f:Dn},20:{f:ii},21:{f:ii},23:{f:ci},24:{f:si},25:{f:Pn},26:{},27:{},28:{f:function(t,e,r){return function(t,e,r){if(!(r.biff<8)){var n=t.read_shift(2),i=t.read_shift(2),o=t.read_shift(2),a=t.read_shift(2),s=Bn(t,0,r);return r.biff<8&&t.read_shift(1),[{r:n,c:i},s,a,o]}}(t,0,r)}},29:{},34:{f:Pn},35:{f:oi},38:{f:$r},39:{f:$r},40:{f:$r},41:{f:$r},42:{f:Pn},43:{f:Pn},47:{f:function(t,e,r){var n={Type:r.biff>=8?t.read_shift(2):0};return n.Type?Wi(t,e-2,n):function(t,e,r,n){var i={key:Dn(t),verificationBytes:Dn(t)};r.password&&(i.verifier=zi(r.password)),n.valid=i.verificationBytes===i.verifier,n.valid&&(n.insitu=Ui(r.password))}(t,r.biff,r,n),n}},49:{f:function(t,e,r){var n={dyHeight:t.read_shift(2),fl:t.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:t.l+=2;break;default:t.l+=10}return n.name=Ln(t,0,r),n}},51:{f:Dn},60:{},61:{f:function(t){return{Pos:[t.read_shift(2),t.read_shift(2)],Dim:[t.read_shift(2),t.read_shift(2)],Flags:t.read_shift(2),CurTab:t.read_shift(2),FirstTab:t.read_shift(2),Selected:t.read_shift(2),TabRatio:t.read_shift(2)}}},64:{f:Pn},65:{f:function(){}},66:{f:Dn},77:{},80:{},81:{},82:{},85:{f:Dn},89:{},90:{},91:{},92:{f:function(t,e,r){if(r.enc)return t.l+=e,"";var n=t.l,i=Bn(t,0,r);return t.read_shift(e+n-t.l),i}},93:{f:function(t,e,r){if(r&&r.biff<8)return function(t,e,r){t.l+=4;var n=t.read_shift(2),i=t.read_shift(2),o=t.read_shift(2);t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=6,e-=36;var a=[];return a.push((li[n]||pr)(t,e,r)),{cmo:[i,n,o],ft:a}}(t,e,r);var n=Kn(t);return{cmo:n,ft:function(t,e){for(var r=t.l+e,n=[];t.l<r;){var i=t.read_shift(2);t.l-=2;try{n.push(Jn[i](t,r-t.l))}catch(o){return t.l=r,n}}return t.l!=r&&(t.l=r),n}(t,e-22,n[1])}}},94:{},95:{f:Pn},96:{},97:{},99:{f:Pn},125:{f:fi},128:{f:function(t){t.l+=4;var e=[t.read_shift(2),t.read_shift(2)];if(0!==e[0]&&e[0]--,0!==e[1]&&e[1]--,e[0]>7||e[1]>7)throw new Error("Bad Gutters: "+e.join("|"));return e}},129:{f:function(t,e,r){var n=r&&8==r.biff||2==e?t.read_shift(2):(t.l+=e,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:Dn},131:{f:Pn},132:{f:Pn},133:{f:function(t,e,r){var n=t.read_shift(4),i=3&t.read_shift(1),o=t.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var a=Ln(t,0,r);return 0===a.length&&(a="Sheet1"),{pos:n,hs:i,dt:o,name:a}}},134:{},140:{f:function(t){var e,r=[0,0];return e=t.read_shift(2),r[0]=tn[e]||e,e=t.read_shift(2),r[1]=tn[e]||e,r}},141:{f:Dn},144:{},146:{f:function(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(Wn(t));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:Dn},157:{},158:{},160:{f:di},161:{f:function(t,e){var r={};return e<32||(t.l+=16,r.header=$r(t),r.footer=$r(t),t.l+=2),r}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(t,e){for(var r=t.l+e-2,n=t.read_shift(2),i=t.read_shift(2),o=[];t.l<r;)o.push(Gn(t));if(t.l!==r)throw new Error("MulRK read error");var a=t.read_shift(2);if(o.length!=a-i+1)throw new Error("MulRK length mismatch");return{r:n,c:i,C:a,rkrec:o}}},190:{f:function(t,e){for(var r=t.l+e-2,n=t.read_shift(2),i=t.read_shift(2),o=[];t.l<r;)o.push(t.read_shift(2));if(t.l!==r)throw new Error("MulBlank read error");var a=t.read_shift(2);if(o.length!=a-i+1)throw new Error("MulBlank length mismatch");return{r:n,c:i,C:a,ixfe:o}}},193:{f:Tn},197:{},198:{},199:{},200:{},201:{},202:{f:Pn},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Dn},220:{},221:{f:Pn},222:{},224:{f:function(t,e,r){var n={};return n.ifnt=t.read_shift(2),n.numFmtId=t.read_shift(2),n.flags=t.read_shift(2),n.fStyle=n.flags>>2&1,6,n.data=function(t,e,r,n){var i={},o=t.read_shift(4),a=t.read_shift(4),s=t.read_shift(4),c=t.read_shift(2);return i.patternType=en[s>>26],n.cellStyles?(i.alc=7&o,i.fWrap=o>>3&1,i.alcV=o>>4&7,i.fJustLast=o>>7&1,i.trot=o>>8&255,i.cIndent=o>>16&15,i.fShrinkToFit=o>>20&1,i.iReadOrder=o>>22&2,i.fAtrNum=o>>26&1,i.fAtrFnt=o>>27&1,i.fAtrAlc=o>>28&1,i.fAtrBdr=o>>29&1,i.fAtrPat=o>>30&1,i.fAtrProt=o>>31&1,i.dgLeft=15&a,i.dgRight=a>>4&15,i.dgTop=a>>8&15,i.dgBottom=a>>12&15,i.icvLeft=a>>16&127,i.icvRight=a>>23&127,i.grbitDiag=a>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&c,i.icvBack=c>>7&127,i.fsxButton=c>>14&1,i):i}(t,0,n.fStyle,r),n}},225:{f:function(t,e){return 0===e||t.read_shift(2),1200}},226:{f:Tn},227:{},229:{f:function(t,e){for(var r=[],n=t.read_shift(2);n--;)r.push(Yn(t));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(t,e){for(var r=t.l+e,n=t.read_shift(4),i=t.read_shift(4),o=[],a=0;a!=i&&t.l<r;++a)o.push(In(t));return o.Count=n,o.Unique=i,o}},253:{f:function(t){var e=qn(t);return e.isst=t.read_shift(4),e}},255:{f:function(t,e){var r={};return r.dsst=t.read_shift(2),t.l+=e-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Rn},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Pn},353:{f:Tn},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(t,e,r){var n=t.l+e,i=t.read_shift(2),o=t.read_shift(2);if(r.sbcch=o,1025==o||14849==o)return[o,i];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);for(var a=Nn(t,o),s=[];n>t.l;)s.push(Fn(t));return[o,i,a,s]}},431:{f:Pn},432:{},433:{},434:{},437:{},438:{f:function(t,e,r){var n=t.l,i="";try{t.l+=4;var o=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?t.l+=6:function(t){var e=t.read_shift(1);t.l++;var r=t.read_shift(2);return t.l+=2,[e,r]}(t);var a=t.read_shift(2);t.read_shift(2),Dn(t);var s=t.read_shift(2);t.l+=s;for(var c=1;c<t.lens.length-1;++c){if(t.l-n!=t.lens[c])throw new Error("TxO: bad continue record");var u=t[t.l];if((i+=Nn(t,t.lens[c+1]-t.lens[c]-1)).length>=(u?a:2*a))break}if(i.length!==a&&i.length!==2*a)throw new Error("cchText: "+a+" != "+i.length);return t.l=n+e,{t:i}}catch(l){return t.l=n+e,{t:i}}}},439:{f:Pn},440:{f:function(t,e){var r=Yn(t);return t.l+=16,[r,function(t,e){var r=t.l+e,n=t.read_shift(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var i=t.read_shift(2);t.l+=2;var o,a,s,c,u,l,f="";16&i&&(o=Hn(t,t.l)),128&i&&(a=Hn(t,t.l)),257===(257&i)&&(s=Hn(t,t.l)),1===(257&i)&&(c=zn(t,t.l)),8&i&&(f=Hn(t,t.l)),32&i&&(u=t.read_shift(16)),64&i&&(l=wn(t)),t.l=r;var h=a||s||c||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&i&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return u&&(d.guid=u),l&&(d.time=l),o&&(d.Tooltip=o),d}(t,e-24)]}},441:{},442:{f:Fn},443:{},444:{f:Dn},445:{},446:{},448:{f:Tn},449:{f:function(t){return t.read_shift(2),t.read_shift(4)},r:2},450:{f:Tn},512:{f:ri},513:{f:hi},515:{f:function(t,e,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=qn(t),i=$r(t);return n.val=i,n}},516:{f:function(t,e,r){r.biffguess&&2==r.biff&&(r.biff=5),t.l;var n=qn(t);2==r.biff&&t.l++;var i=Fn(t,t.l,r);return n.val=i,n}},517:{f:ni},519:{f:pi},520:{f:function(t){var e={};e.r=t.read_shift(2),e.c=t.read_shift(2),e.cnt=t.read_shift(2)-e.c;var r=t.read_shift(2);t.l+=4;var n=t.read_shift(1);return t.l+=3,7&n&&(e.level=7&n),32&n&&(e.hidden=!0),64&n&&(e.hpt=r/20),e}},523:{},545:{f:ui},549:{f:ti},566:{},574:{f:function(t,e,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&t.read_shift(2)}}},638:{f:function(t){var e=t.read_shift(2),r=t.read_shift(2),n=Gn(t);return{r:e,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(t,e,r){return[t.read_shift(2),Bn(t,0,r)]}},1084:{},1212:{f:function(t,e,r){var n=Xn(t);t.l++;var i=t.read_shift(1);return[ra(t,e-=8,r),i,n]}},2048:{f:function(t,e){t.read_shift(2);var r=Yn(t),n=t.read_shift((e-10)/2,"dbcs-cont");return[r,n=n.replace(C,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Qn},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Tn},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(t){t.l+=2;var e={cxfs:0,crc:0};return e.cxfs=t.read_shift(2),e.crc=t.read_shift(4),e},r:12},2173:{f:function(t,e){t.l,t.l+=2;var r=t.read_shift(2);t.l+=2;for(var n=t.read_shift(2),i=[];n-- >0;)i.push(wo(t,t.l));return{ixfe:r,ext:i}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Pn,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(t,e,r){if(!(r.biff<8)){var n=t.read_shift(2),i=t.read_shift(2);return[Nn(t,n,r),Nn(t,i,r)]}t.l+=e},r:12},2197:{},2198:{f:function(t,e,r){var n=t.l+e;if(124226!==t.read_shift(4))if(r.cellStyles){var i,o=t.slice(t.l);t.l=n;try{i=Jt(o,{type:"array"})}catch(s){return}var a=$t(i,"theme/theme/theme1.xml",!0);if(a)return vo(a,r)}else t.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(t){return[0!==t.read_shift(4),0!==t.read_shift(4),t.read_shift(4)]},r:12},2203:{f:Tn},2204:{},2205:{},2206:{},2207:{},2211:{f:function(t){var e=function(t){var e=t.read_shift(2),r=t.read_shift(2);return t.l+=8,{type:e,flags:r}}(t);if(2211!=e.type)throw new Error("Invalid Future Record "+e.type);return 0!==t.read_shift(4)}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Dn},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(t,e,r){var n={area:!1};if(5!=r.biff)return t.l+=e,n;var i=t.read_shift(1);return t.l+=3,16&i&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(Wn(t));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:ri},1:{},2:{f:function(t){var e=qn(t);++t.l;var r=t.read_shift(2);return e.t="n",e.val=r,e}},3:{f:function(t){var e=qn(t);++t.l;var r=$r(t);return e.t="n",e.val=r,e}},4:{f:function(t,e,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=qn(t);++t.l;var i=Bn(t,0,r);return n.t="str",n.val=i,n}},5:{f:ni},7:{f:function(t){var e=t.read_shift(1);return 0===e?(t.l++,""):t.read_shift(e,"sbcs-cont")}},8:{},9:{f:Qn},11:{},22:{f:Dn},30:{f:ei},31:{},32:{},33:{f:ui},36:{},37:{f:ti},50:{f:function(t,e){t.l+=6,t.l+=2,t.l+=1,t.l+=3,t.l+=1,t.l+=e-13}},62:{},52:{},67:{},68:{f:Dn},69:{},86:{},126:{},127:{f:function(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(4),i={fmt:e,env:r,len:n,data:t.slice(t.l,t.l+n)};return t.l+=n,i}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(t,e,r){var n=t.l+e,i=qn(t),o=t.read_shift(2),a=Nn(t,o,r);return t.l=n,i.t="str",i.val=a,i}},223:{},234:{},354:{},421:{},518:{f:na},521:{f:Qn},536:{f:si},547:{f:oi},561:{},579:{},1030:{f:na},1033:{f:Qn},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function Es(t,e,r,n){var i=e;if(!isNaN(i)){var o=n||(r||[]).length||0,a=t.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&er(r)&&t.push(r)}}function Ms(t,e){var r=e||{};var n=r.dense?[]:{},i=(t=t.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var o=t.match(/<\/table/i),a=i.index,s=o&&o.index||t.length,c=Wt(t.slice(a,s),/(:?<tr[^>]*>)/i,"<tr>"),u=-1,l=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(a=0;a<c.length;++a){var m=c[a].trim(),b=m.slice(0,3).toLowerCase();if("<tr"!=b){if("<td"==b||"<th"==b){var v=m.split(/<\/t[dh]>/i);for(s=0;s<v.length;++s){var g=v[s].trim();if(g.match(/<t[dh]/i)){for(var y=g,w=0;"<"==y.charAt(0)&&(w=y.indexOf(">"))>-1;)y=y.slice(w+1);for(var x=0;x<p.length;++x){var O=p[x];O.s.c==l&&O.s.r<u&&u<=O.e.r&&(l=O.e.c+1,x=-1)}var _=ae(g.slice(0,g.indexOf(">")));h=_.colspan?+_.colspan:1,((f=+_.rowspan)>1||h>1)&&p.push({s:{r:u,c:l},e:{r:u+(f||1)-1,c:l+h-1}});var S=_.t||_["data-t"]||"";if(y.length)if(y=_e(y),d.s.r>u&&(d.s.r=u),d.e.r<u&&(d.e.r=u),d.s.c>l&&(d.s.c=l),d.e.c<l&&(d.e.c=l),y.length){var k={t:"s",v:y};r.raw||!y.trim().length||"s"==S||("TRUE"===y?k={t:"b",v:!0}:"FALSE"===y?k={t:"b",v:!1}:isNaN(zt(y))?isNaN(Ut(y).getDate())||(k={t:"d",v:It(y)},r.cellDates||(k={t:"n",v:Mt(k.v)}),k.z=r.dateNF||B[14]):k={t:"n",v:zt(y)}),r.dense?(n[u]||(n[u]=[]),n[u][l]=k):n[Mr({r:u,c:l})]=k,l+=h}else l+=h;else l+=h}}}}else{if(++u,r.sheetRows&&r.sheetRows<=u){--u;break}l=0}}return n["!ref"]=jr(d),p.length&&(n["!merges"]=p),n}function Cs(t,e,r,n){for(var i=t["!merges"]||[],o=[],a=e.s.c;a<=e.e.c;++a){for(var s=0,c=0,u=0;u<i.length;++u)if(!(i[u].s.r>r||i[u].s.c>a)&&!(i[u].e.r<r||i[u].e.c<a)){if(i[u].s.r<r||i[u].s.c<a){s=-1;break}s=i[u].e.r-i[u].s.r+1,c=i[u].e.c-i[u].s.c+1;break}if(!(s<0)){var l=Mr({r:r,c:a}),f=n.dense?(t[r]||[])[a]:t[l],h=f&&null!=f.v&&(f.h||de(f.w||(Pr(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),c>1&&(d.colspan=c),n.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(n.id||"sjs")+"-"+l,o.push(Ae("td",h,d))}}return"<tr>"+o.join("")+"</tr>"}var js='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>';function As(t,e,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function Ts(t,e){var r=e||{},n=null!=r.header?r.header:js,i=null!=r.footer?r.footer:"</body></html>",o=[n],a=Cr(t["!ref"]);r.dense=Array.isArray(t),o.push(As(0,0,r));for(var s=a.s.r;s<=a.e.r;++s)o.push(Cs(t,a,s,r));return o.push("</table>"+i),o.join("")}function Ps(t,e,r){var n=r||{};var i=0,o=0;if(null!=n.origin)if("number"==typeof n.origin)i=n.origin;else{var a="string"==typeof n.origin?Er(n.origin):n.origin;i=a.r,o=a.c}var s=e.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,s.length),u={s:{r:0,c:0},e:{r:i,c:o}};if(t["!ref"]){var l=Cr(t["!ref"]);u.s.r=Math.min(u.s.r,l.s.r),u.s.c=Math.min(u.s.c,l.s.c),u.e.r=Math.max(u.e.r,l.e.r),u.e.c=Math.max(u.e.c,l.e.c),-1==i&&(u.e.r=i=l.e.r+1)}var f=[],h=0,d=t["!rows"]||(t["!rows"]=[]),p=0,m=0,b=0,v=0,g=0,y=0;for(t["!cols"]||(t["!cols"]=[]);p<s.length&&m<c;++p){var w=s[p];if(Rs(w)){if(n.display)continue;d[m]={hidden:!0}}var x=w.children;for(b=v=0;b<x.length;++b){var O=x[b];if(!n.display||!Rs(O)){var _=O.hasAttribute("data-v")?O.getAttribute("data-v"):O.hasAttribute("v")?O.getAttribute("v"):_e(O.innerHTML),S=O.getAttribute("data-z")||O.getAttribute("z");for(h=0;h<f.length;++h){var k=f[h];k.s.c==v+o&&k.s.r<m+i&&m+i<=k.e.r&&(v=k.e.c+1-o,h=-1)}y=+O.getAttribute("colspan")||1,((g=+O.getAttribute("rowspan")||1)>1||y>1)&&f.push({s:{r:m+i,c:v+o},e:{r:m+i+(g||1)-1,c:v+o+(y||1)-1}});var E={t:"s",v:_},M=O.getAttribute("data-t")||O.getAttribute("t")||"";null!=_&&(0==_.length?E.t=M||"z":n.raw||0==_.trim().length||"s"==M||("TRUE"===_?E={t:"b",v:!0}:"FALSE"===_?E={t:"b",v:!1}:isNaN(zt(_))?isNaN(Ut(_).getDate())||(E={t:"d",v:It(_)},n.cellDates||(E={t:"n",v:Mt(E.v)}),E.z=n.dateNF||B[14]):E={t:"n",v:zt(_)})),void 0===E.z&&null!=S&&(E.z=S);var C="",j=O.getElementsByTagName("A");if(j&&j.length)for(var A=0;A<j.length&&(!j[A].hasAttribute("href")||"#"==(C=j[A].getAttribute("href")).charAt(0));++A);C&&"#"!=C.charAt(0)&&(E.l={Target:C}),n.dense?(t[m+i]||(t[m+i]=[]),t[m+i][v+o]=E):t[Mr({c:v+o,r:m+i})]=E,u.e.c<v+o&&(u.e.c=v+o),v+=y}}++m}return f.length&&(t["!merges"]=(t["!merges"]||[]).concat(f)),u.e.r=Math.max(u.e.r,m-1+i),t["!ref"]=jr(u),m>=c&&(t["!fullref"]=jr((u.e.r=s.length-p+m-1+i,u))),t}function Ds(t,e){return Ps((e||{}).dense?[]:{},t,e)}function Rs(t){var e="",r=function(t){return t.ownerDocument.defaultView&&"function"===typeof t.ownerDocument.defaultView.getComputedStyle?t.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}(t);return r&&(e=r(t).getPropertyValue("display")),e||(e=t.style&&t.style.display),"none"===e}function Ls(t){var e=t.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(t,e){return Array(parseInt(e,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[le(e.replace(/<[^>]*>/g,""))]}var Is={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Ns(t,e){var r=e||{};var n,i,o,a,s,c,u=Te(t),l=[],f={name:""},h="",d=0,p={},m=[],b=r.dense?[]:{},v={value:""},g="",y=0,w=[],x=-1,O=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}},S=0,k={},E=[],M={},C=[],j=1,A=1,T=[],P={Names:[]},D={},R=["",""],L=[],I={},N="",F=0,B=!1,z=!1,H=0;for(Pe.lastIndex=0,u=u.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=Pe.exec(u);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"\u5de5\u4f5c\u8868":"/"===s[1]?(_.e.c>=_.s.c&&_.e.r>=_.s.r?b["!ref"]=jr(_):b["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=_.e.r&&(b["!fullref"]=b["!ref"],_.e.r=r.sheetRows-1,b["!ref"]=jr(_)),E.length&&(b["!merges"]=E),C.length&&(b["!rows"]=C),o.name=o["\u540d\u79f0"]||o.name,"undefined"!==typeof JSON&&JSON.stringify(o),m.push(o.name),p[o.name]=b,z=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=ae(s[0],!1),x=O=-1,_.s.r=_.s.c=1e7,_.e.r=_.e.c=0,b=r.dense?[]:{},E=[],C=[],z=!0);break;case"table-row-group":"/"===s[1]?--S:++S;break;case"table-row":case"\u884c":if("/"===s[1]){x+=j,j=1;break}if((a=ae(s[0],!1))["\u884c\u53f7"]?x=a["\u884c\u53f7"]-1:-1==x&&(x=0),(j=+a["number-rows-repeated"]||1)<10)for(H=0;H<j;++H)S>0&&(C[x+H]={level:S});O=-1;break;case"covered-table-cell":"/"!==s[1]&&++O,r.sheetStubs&&(r.dense?(b[x]||(b[x]=[]),b[x][O]={t:"z"}):b[Mr({r:x,c:O})]={t:"z"}),g="",w=[];break;case"table-cell":case"\u6570\u636e":if("/"===s[0].charAt(s[0].length-2))++O,v=ae(s[0],!1),A=parseInt(v["number-columns-repeated"]||"1",10),c={t:"z",v:null},v.formula&&0!=r.cellFormula&&(c.f=ha(le(v.formula))),"string"==(v["\u6570\u636e\u7c7b\u578b"]||v["value-type"])&&(c.t="s",c.v=le(v["string-value"]||""),r.dense?(b[x]||(b[x]=[]),b[x][O]=c):b[Mr({r:x,c:O})]=c),O+=A-1;else if("/"!==s[1]){g="",y=0,w=[],A=1;var U=j?x+j-1:x;if(++O>_.e.c&&(_.e.c=O),O<_.s.c&&(_.s.c=O),x<_.s.r&&(_.s.r=x),U>_.e.r&&(_.e.r=U),L=[],I={},c={t:(v=ae(s[0],!1))["\u6570\u636e\u7c7b\u578b"]||v["value-type"],v:null},r.cellFormula)if(v.formula&&(v.formula=le(v.formula)),v["number-matrix-columns-spanned"]&&v["number-matrix-rows-spanned"]&&(M={s:{r:x,c:O},e:{r:x+(parseInt(v["number-matrix-rows-spanned"],10)||0)-1,c:O+(parseInt(v["number-matrix-columns-spanned"],10)||0)-1}},c.F=jr(M),T.push([M,c.F])),v.formula)c.f=ha(v.formula);else for(H=0;H<T.length;++H)x>=T[H][0].s.r&&x<=T[H][0].e.r&&O>=T[H][0].s.c&&O<=T[H][0].e.c&&(c.F=T[H][1]);switch((v["number-columns-spanned"]||v["number-rows-spanned"])&&(M={s:{r:x,c:O},e:{r:x+(parseInt(v["number-rows-spanned"],10)||0)-1,c:O+(parseInt(v["number-columns-spanned"],10)||0)-1}},E.push(M)),v["number-columns-repeated"]&&(A=parseInt(v["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=me(v["boolean-value"]);break;case"float":case"percentage":case"currency":c.t="n",c.v=parseFloat(v.value);break;case"date":c.t="d",c.v=It(v["date-value"]),r.cellDates||(c.t="n",c.v=Mt(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=Pt(v["time-value"])/86400,r.cellDates&&(c.t="d",c.v=Tt(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(v["\u6570\u636e\u6570\u503c"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=v["string-value"]&&(g=le(v["string-value"]),w=[])}}else{if(B=!1,"s"===c.t&&(c.v=g||"",w.length&&(c.R=w),B=0==y),D.Target&&(c.l=D),L.length>0&&(c.c=L,L=[]),g&&!1!==r.cellText&&(c.w=g),B&&(c.t="z",delete c.v),(!B||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=x))for(var W=0;W<j;++W){if(A=parseInt(v["number-columns-repeated"]||"1",10),r.dense)for(b[x+W]||(b[x+W]=[]),b[x+W][O]=0==W?c:Ft(c);--A>0;)b[x+W][O+A]=Ft(c);else for(b[Mr({r:x+W,c:O})]=c;--A>0;)b[Mr({r:x+W,c:O+A})]=Ft(c);_.e.c<=O&&(_.e.c=O)}O+=(A=parseInt(v["number-columns-repeated"]||"1",10))-1,A=0,c={},g="",w=[]}D={};break;case"document":case"document-content":case"\u7535\u5b50\u8868\u683c\u6587\u6863":case"spreadsheet":case"\u4e3b\u4f53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((n=l.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&l.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=l.pop())[0]!==s[3])throw"Bad state: "+n;I.t=g,w.length&&(I.R=w),I.a=N,L.push(I)}else"/"!==s[0].charAt(s[0].length-2)&&l.push([s[3],!1]);N="",F=0,g="",y=0,w=[];break;case"creator":"/"===s[1]?N=u.slice(F,s.index):F=s.index+s[0].length;break;case"meta":case"\u5143\u6570\u636e":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((n=l.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&l.push([s[3],!1]);g="",y=0,w=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(k[f.name]=h,(n=l.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(h="",f=ae(s[0],!1),l.push([s[3],!0]));break;case"script":case"libraries":case"automatic-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(l[l.length-1][0]){case"time-style":case"date-style":i=ae(s[0],!1),h+=Is[s[3]]["long"===i.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(l[l.length-1][0]){case"time-style":case"date-style":i=ae(s[0],!1),h+=Is[s[3]]["long"===i.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(l[l.length-1][0]){case"number-style":case"date-style":case"time-style":h+=u.slice(d,s.index)}else d=s.index+s[0].length;break;case"named-range":R=da((i=ae(s[0],!1))["cell-range-address"]);var q={Name:i.name,Ref:R[0]+"!"+R[1]};z&&(q.Sheet=m.length),P.Names.push(q);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"\u7535\u5b50\u8868\u683c":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"\u6587\u672c\u4e32":if(["master-styles"].indexOf(l[l.length-1][0])>-1)break;if("/"!==s[1]||v&&v["string-value"])ae(s[0],!1),y=s.index+s[0].length;else{var V=Ls(u.slice(y,s.index));g=(g.length>0?g+"\n":"")+V[0]}break;case"s":break;case"database-range":if("/"===s[1])break;try{p[(R=da(ae(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:R[1]}}catch(Y){}break;case"date":case"object":break;case"title":case"\u6807\u9898":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==s[1]){if(!(D=ae(s[0],!1)).href)break;D.Target=le(D.href),delete D.href,"#"==D.Target.charAt(0)&&D.Target.indexOf(".")>-1?(R=da(D.Target.slice(1)),D.Target="#"+R[0]+"!"+R[1]):D.Target.match(/^\.\.[\\\/]/)&&(D.Target=D.Target.slice(3))}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5b57:":break;default:if(r.WTF)throw new Error(s)}}var G={Sheets:p,SheetNames:m,Workbook:P};return r.bookSheets&&delete G.Sheets,G}function Fs(t,e){e=e||{},Gt(t,"META-INF/manifest.xml")&&function(t,e){for(var r,n,i=Te(t);r=Pe.exec(i);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=ae(r[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==n.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(e&&e.WTF)throw r}}(Xt(t,"META-INF/manifest.xml"),e);var r=$t(t,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=Ns(we(r),e);return Gt(t,"meta.xml")&&(n.Props=dn(Xt(t,"meta.xml"))),n}function Bs(t,e){return Ns(t,e)}function zs(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Hs(t){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(t):we(k(t))}function Us(t){var e=t.reduce((function(t,e){return t+e.length}),0),r=new Uint8Array(e),n=0;return t.forEach((function(t){r.set(t,n),n+=t.length})),r}function Ws(t){return 16843009*((t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135)>>>24}function qs(t,e){var r=e?e[0]:0,n=127&t[r];t:if(t[r++]>=128){if(n|=(127&t[r])<<7,t[r++]<128)break t;if(n|=(127&t[r])<<14,t[r++]<128)break t;if(n|=(127&t[r])<<21,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,28),++r,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,35),++r,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,42),++r,t[r++]<128)break t}return e&&(e[0]=r),n}function Vs(t){var e=0,r=127&t[e];t:if(t[e++]>=128){if(r|=(127&t[e])<<7,t[e++]<128)break t;if(r|=(127&t[e])<<14,t[e++]<128)break t;if(r|=(127&t[e])<<21,t[e++]<128)break t;r|=(127&t[e])<<28}return r}function Gs(t){for(var e=[],r=[0];r[0]<t.length;){var n,i=r[0],o=qs(t,r),a=7&o,s=0;if(0==(o=Math.floor(o/8)))break;switch(a){case 0:for(var c=r[0];t[r[0]++]>=128;);n=t.slice(c,r[0]);break;case 5:s=4,n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=qs(t,r),n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(o," at offset ").concat(i))}var u={data:n,type:a};null==e[o]?e[o]=[u]:e[o].push(u)}return e}function Ys(t,e){return(null==t?void 0:t.map((function(t){return e(t.data)})))||[]}function Xs(t){for(var e,r=[],n=[0];n[0]<t.length;){var i=qs(t,n),o=Gs(t.slice(n[0],n[0]+i));n[0]+=i;var a={id:Vs(o[1][0].data),messages:[]};o[2].forEach((function(e){var r=Gs(e.data),i=Vs(r[3][0].data);a.messages.push({meta:r,data:t.slice(n[0],n[0]+i)}),n[0]+=i})),(null==(e=o[3])?void 0:e[0])&&(a.merge=Vs(o[3][0].data)>>>0>0),r.push(a)}return r}function $s(t,e){if(0!=t)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=qs(e,r),i=[];r[0]<e.length;){var o=3&e[r[0]];if(0!=o){var a=0,s=0;if(1==o?(s=4+(e[r[0]]>>2&7),a=(224&e[r[0]++])<<3,a|=e[r[0]++]):(s=1+(e[r[0]++]>>2),2==o?(a=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(a=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),i=[Us(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a)for(i.push(i[0].slice(-a)),s-=a;s>=i[i.length-1].length;)i.push(i[i.length-1]),s-=i[i.length-1].length;i.push(i[0].slice(-a,-a+s))}else{var c=e[r[0]++]>>2;if(c<60)++c;else{var u=c-59;c=e[r[0]],u>1&&(c|=e[r[0]+1]<<8),u>2&&(c|=e[r[0]+2]<<16),u>3&&(c|=e[r[0]+3]<<24),c>>>=0,c++,r[0]+=u}i.push(e.slice(r[0],r[0]+c)),r[0]+=c}}var l=Us(i);if(l.length!=n)throw new Error("Unexpected length: ".concat(l.length," != ").concat(n));return l}function Ks(t){for(var e=[],r=0;r<t.length;){var n=t[r++],i=t[r]|t[r+1]<<8|t[r+2]<<16;r+=3,e.push($s(n,t.slice(r,r+i))),r+=i}if(r!==t.length)throw new Error("data is not a valid framed stream!");return Us(e)}function Zs(t,e,r){var n,i=zs(t),o=i.getUint32(8,!0),a=12,s=-1,c=-1,u=NaN,l=NaN,f=new Date(2001,0,1);switch(1&o&&(u=function(t,e){for(var r=(127&t[e+15])<<7|t[e+14]>>1,n=1&t[e+14],i=e+13;i>=e;--i)n=256*n+t[i];return(128&t[e+15]?-n:n)*Math.pow(10,r-6176)}(t,a),a+=16),2&o&&(l=i.getFloat64(a,!0),a+=8),4&o&&(f.setTime(f.getTime()+1e3*i.getFloat64(a,!0)),a+=8),8&o&&(c=i.getUint32(a,!0),a+=4),16&o&&(s=i.getUint32(a,!0),a+=4),t[1]){case 0:break;case 2:n={t:"n",v:u};break;case 3:n={t:"s",v:e[c]};break;case 5:n={t:"d",v:f};break;case 6:n={t:"b",v:l>0};break;case 7:n={t:"n",v:l/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(31&o," : ").concat(t.slice(0,4)));n={t:"s",v:r[s]};break;case 10:n={t:"n",v:u};break;default:throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(31&o," : ").concat(t.slice(0,4)))}return n}function Js(t,e,r){switch(t[0]){case 0:case 1:case 2:case 3:return function(t,e,r,n){var i,o=zs(t),a=o.getUint32(4,!0),s=(n>1?12:8)+4*Ws(a&(n>1?3470:398)),c=-1,u=-1,l=NaN,f=new Date(2001,0,1);switch(512&a&&(c=o.getUint32(s,!0),s+=4),s+=4*Ws(a&(n>1?12288:4096)),16&a&&(u=o.getUint32(s,!0),s+=4),32&a&&(l=o.getFloat64(s,!0),s+=8),64&a&&(f.setTime(f.getTime()+1e3*o.getFloat64(s,!0)),s+=8),t[2]){case 0:break;case 2:i={t:"n",v:l};break;case 3:i={t:"s",v:e[u]};break;case 5:i={t:"d",v:f};break;case 6:i={t:"b",v:l>0};break;case 7:i={t:"n",v:l/86400};break;case 8:i={t:"e",v:0};break;case 9:if(c>-1)i={t:"s",v:r[c]};else if(u>-1)i={t:"s",v:e[u]};else{if(isNaN(l))throw new Error("Unsupported cell type ".concat(t.slice(0,4)));i={t:"n",v:l}}break;default:throw new Error("Unsupported cell type ".concat(t.slice(0,4)))}return i}(t,e,r,t[0]);case 5:return Zs(t,e,r);default:throw new Error("Unsupported payload version ".concat(t[0]))}}function Qs(t){return qs(Gs(t)[1][0].data)}function tc(t,e){var r=Gs(e.data),n=Vs(r[1][0].data),i=r[3],o=[];return(i||[]).forEach((function(e){var r=Gs(e.data),i=Vs(r[1][0].data)>>>0;switch(n){case 1:o[i]=Hs(r[3][0].data);break;case 8:var a=Gs(t[Qs(r[9][0].data)][0].data),s=t[Qs(a[1][0].data)][0],c=Vs(s.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var u=Gs(s.data);o[i]=u[3].map((function(t){return Hs(t.data)})).join("")}})),o}function ec(t,e){var r,n=Gs(e.data),i=(null==(r=null==n?void 0:n[7])?void 0:r[0])?Vs(n[7][0].data)>>>0>0?1:0:-1,o=Ys(n[5],(function(t){return function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g=Gs(t),y=Vs(g[1][0].data)>>>0,w=Vs(g[2][0].data)>>>0,x=(null==(n=null==(r=g[8])?void 0:r[0])?void 0:n.data)&&Vs(g[8][0].data)>0||!1;if((null==(o=null==(i=g[7])?void 0:i[0])?void 0:o.data)&&0!=e)b=null==(s=null==(a=g[7])?void 0:a[0])?void 0:s.data,v=null==(u=null==(c=g[6])?void 0:c[0])?void 0:u.data;else{if(!(null==(f=null==(l=g[4])?void 0:l[0])?void 0:f.data)||1==e)throw"NUMBERS Tile missing ".concat(e," cell storage");b=null==(d=null==(h=g[4])?void 0:h[0])?void 0:d.data,v=null==(m=null==(p=g[3])?void 0:p[0])?void 0:m.data}for(var O=x?4:1,_=zs(b),S=[],k=0;k<b.length/2;++k){var E=_.getUint16(2*k,!0);E<65535&&S.push([k,E])}if(S.length!=w)throw"Expected ".concat(w," cells, found ").concat(S.length);var M=[];for(k=0;k<S.length-1;++k)M[S[k][0]]=v.subarray(S[k][1]*O,S[k+1][1]*O);return S.length>=1&&(M[S[S.length-1][0]]=v.subarray(S[S.length-1][1]*O)),{R:y,cells:M}}(t,i)}));return{nrows:Vs(n[4][0].data)>>>0,data:o.reduce((function(t,e){return t[e.R]||(t[e.R]=[]),e.cells.forEach((function(r,n){if(t[e.R][n])throw new Error("Duplicate cell r=".concat(e.R," c=").concat(n));t[e.R][n]=r})),t}),[])}}function rc(t,e){var r={"!ref":"A1"},n=t[Qs(Gs(e.data)[2][0].data)],i=Vs(n[0].meta[1][0].data);if(6001!=i)throw new Error("6000 unexpected reference to ".concat(i));return function(t,e,r){var n,i=Gs(e.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Vs(i[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(i[6][0].data));if(o.e.c=(Vs(i[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));r["!ref"]=jr(o);var a=Gs(i[4][0].data),s=tc(t,t[Qs(a[4][0].data)][0]),c=(null==(n=a[17])?void 0:n[0])?tc(t,t[Qs(a[17][0].data)][0]):[],u=Gs(a[3][0].data),l=0;u[1].forEach((function(e){var n=Gs(e.data),i=t[Qs(n[2][0].data)][0],o=Vs(i.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var a=ec(0,i);a.data.forEach((function(t,e){t.forEach((function(t,n){var i=Mr({r:l+e,c:n}),o=Js(t,s,c);o&&(r[i]=o)}))})),l+=a.nrows}))}(t,n[0],r),r}function nc(t,e){var r={SheetNames:[],Sheets:{}};if(Ys(Gs(e.data)[1],Qs).forEach((function(e){t[e].forEach((function(e){if(2==Vs(e.meta[1][0].data)){var n=function(t,e){var r,n=Gs(e.data),i={name:(null==(r=n[1])?void 0:r[0])?Hs(n[1][0].data):"",sheets:[]};return Ys(n[2],Qs).forEach((function(e){t[e].forEach((function(e){6e3==Vs(e.meta[1][0].data)&&i.sheets.push(rc(t,e))}))})),i}(t,e);n.sheets.forEach((function(t,e){Sc(r,t,0==e?n.name:n.name+"_"+e,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function ic(t){var e,r,n,i,o={},a=[];if(t.FullPaths.forEach((function(t){if(t.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),t.FileIndex.forEach((function(t){if(t.name.match(/\.iwa$/)){var e,r;try{e=Ks(t.content)}catch(n){return console.log("?? "+t.content.length+" "+(n.message||n))}try{r=Xs(e)}catch(n){return console.log("## "+(n.message||n))}r.forEach((function(t){o[t.id]=t.messages,a.push(t.id)}))}})),!a.length)throw new Error("File has no messages");var s=(null==(i=null==(n=null==(r=null==(e=null==o?void 0:o[1])?void 0:e[0])?void 0:r.meta)?void 0:n[1])?void 0:i[0].data)&&1==Vs(o[1][0].meta[1][0].data)&&o[1][0];if(s||a.forEach((function(t){o[t].forEach((function(t){if(1==Vs(t.meta[1][0].data)>>>0){if(s)throw new Error("Document has multiple roots");s=t}}))})),!s)throw new Error("Cannot find Document root");return nc(o,s)}function oc(t){return function(e){for(var r=0;r!=t.length;++r){var n=t[r];void 0===e[n[0]]&&(e[n[0]]=n[1]),"n"===n[2]&&(e[n[0]]=Number(e[n[0]]))}}}function ac(t){oc([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(t)}function sc(t,e,r,n,i,o,a,s,c,u,l,f){try{o[n]=ln($t(t,r,!0),e);var h,d=Xt(t,e);switch(s){case"sheet":h=$a(d,e,i,c,o[n],u,l,f);break;case"chart":if(!(h=Ka(d,e,i,c,o[n],u))||!h["!drawel"])break;var p=Qt(h["!drawel"].Target,e),m=un(p),b=Qt(function(t,e){if(!t)return"??";var r=(t.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return e["!id"][r].Target}($t(t,p,!0),ln($t(t,m,!0),p)),p),v=un(b);h=Ia($t(t,b,!0),0,0,ln($t(t,v,!0),b),0,h);break;case"macro":y=e,o[n],y.slice(-4),h={"!type":"macro"};break;case"dialog":h=function(t,e,r,n,i,o,a,s){return e.slice(-4),{"!type":"dialog"}}(0,e,0,0,o[n]);break;default:throw new Error("Unrecognized sheet type "+s)}a[n]=h;var g=[];o&&o[n]&&St(o[n]).forEach((function(r){var i="";if(o[n][r].Type==cn.CMNT){i=Qt(o[n][r].Target,e);var a=Qa(Xt(t,i,!0),i,c);if(!a||!a.length)return;xo(h,a,!1)}o[n][r].Type==cn.TCMNT&&(i=Qt(o[n][r].Target,e),g=g.concat(function(t,e){var r=[],n=!1,i={},o=0;return t.replace(ne,(function(a,s){var c=ae(a);switch(se(c[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":break;case"<threadedComment":i={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=i.t&&r.push(i);break;case"<text>":case"<text":o=s+a.length;break;case"</text>":i.t=t.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":n=!0;break;case"</mentions>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return a})),r}(Xt(t,i,!0),c)))})),g&&g.length&&xo(h,g,!0,c.people||[])}catch(w){if(c.WTF)throw w}var y}function cc(t){return"/"==t.charAt(0)?t.slice(1):t}function uc(t,e){if(gt(),ac(e=e||{}),Gt(t,"META-INF/manifest.xml"))return Fs(t,e);if(Gt(t,"objectdata.xml"))return Fs(t,e);if(Gt(t,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(t.FileIndex)return ic(t);var r=Ot.utils.cfb_new();return Kt(t).forEach((function(e){Zt(r,e,function t(r,n,i){if(!i)return Vt(Yt(r,n));if(!n)return null;try{return t(r,n)}catch(e){return null}}(t,e))})),ic(r)}if(!Gt(t,"[Content_Types].xml")){if(Gt(t,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Gt(t,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,i,o=Kt(t),a=function(t){var e={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!t||!t.match)return e;var r={};if((t.match(ne)||[]).forEach((function(t){var n=ae(t);switch(n[0].replace(ie,"<")){case"<?xml":break;case"<Types":e.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==e[sn[n.ContentType]]&&e[sn[n.ContentType]].push(n.PartName)}})),e.xmlns!==De)throw new Error("Unknown Namespace: "+e.xmlns);return e.calcchain=e.calcchains.length>0?e.calcchains[0]:"",e.sst=e.strs.length>0?e.strs[0]:"",e.style=e.styles.length>0?e.styles[0]:"",e.defaults=r,delete e.calcchains,e}($t(t,"[Content_Types].xml")),s=!1;if(0===a.workbooks.length&&Xt(t,i="xl/workbook.xml",!0)&&a.workbooks.push(i),0===a.workbooks.length){if(!Xt(t,i="xl/workbook.bin",!0))throw new Error("Could not find workbook");a.workbooks.push(i),s=!0}"bin"==a.workbooks[0].slice(-3)&&(s=!0);var c={},u={};if(!e.bookSheets&&!e.bookProps){if(pa=[],a.sst)try{pa=Ja(Xt(t,cc(a.sst)),a.sst,e)}catch(A){if(e.WTF)throw A}e.cellStyles&&a.themes.length&&(c=function(t,e,r){return vo(t,r)}($t(t,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],e)),a.style&&(u=Za(Xt(t,cc(a.style)),a.style,c,e))}a.links.map((function(r){try{ln($t(t,un(cc(r))),r);return es(Xt(t,cc(r)),0,r,e)}catch(A){}}));var l=Xa(Xt(t,cc(a.workbooks[0])),a.workbooks[0],e),f={},h="";a.coreprops.length&&((h=Xt(t,cc(a.coreprops[0]),!0))&&(f=dn(h)),0!==a.extprops.length&&(h=Xt(t,cc(a.extprops[0]),!0))&&function(t,e,r){var n={};e||(e={}),t=we(t),pn.forEach((function(r){var i=(t.match(Oe(r[0]))||[])[1];switch(r[2]){case"string":i&&(e[r[1]]=le(i));break;case"bool":e[r[1]]="true"===i;break;case"raw":var o=t.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));o&&o.length>0&&(n[r[1]]=o[1])}})),n.HeadingPairs&&n.TitlesOfParts&&mn(n.HeadingPairs,n.TitlesOfParts,e,r)}(h,f,e));var d={};e.bookSheets&&!e.bookProps||0!==a.custprops.length&&(h=$t(t,cc(a.custprops[0]),!0))&&(d=function(t,e){var r={},n="",i=t.match(bn);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=ae(a);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":n=le(s.name);break;case"</property>":n=null;break;default:if(0===a.indexOf("<vt:")){var c=a.split(">"),u=c[0].slice(4),l=c[1];switch(u){case"lpstr":case"bstr":case"lpwstr":r[n]=le(l);break;case"bool":r[n]=me(l);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(l,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(l);break;case"filetime":case"date":r[n]=It(l);break;case"cy":case"error":r[n]=le(l);break;default:if("/"==u.slice(-1))break;e.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",a,u,c)}}else if("</"===a.slice(0,2));else if(e.WTF)throw new Error(a)}}return r}(h,e));var p={};if((e.bookSheets||e.bookProps)&&(l.Sheets?n=l.Sheets.map((function(t){return t.name})):f.Worksheets&&f.SheetNames.length>0&&(n=f.SheetNames),e.bookProps&&(p.Props=f,p.Custprops=d),e.bookSheets&&"undefined"!==typeof n&&(p.SheetNames=n),e.bookSheets?p.SheetNames:e.bookProps))return p;n={};var m={};e.bookDeps&&a.calcchain&&(m=ts(Xt(t,cc(a.calcchain)),a.calcchain));var b,v,g=0,y={},w=l.Sheets;f.Worksheets=w.length,f.SheetNames=[];for(var x=0;x!=w.length;++x)f.SheetNames[x]=w[x].name;var O=s?"bin":"xml",_=a.workbooks[0].lastIndexOf("/"),S=(a.workbooks[0].slice(0,_+1)+"_rels/"+a.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");Gt(t,S)||(S="xl/_rels/workbook."+O+".rels");var k=ln($t(t,S,!0),S.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(e.xlmeta=rs(Xt(t,cc(a.metadata[0])),a.metadata[0],e)),(a.people||[]).length>=1&&(e.people=function(t,e){var r=[],n=!1;return t.replace(ne,(function(t){var i=ae(t);switch(se(i[0])){case"<?xml":case"<personList":case"</personList>":break;case"<person":r.push({name:i.displayname,id:i.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+i[0]+" in threaded comments")}return t})),r}(Xt(t,cc(a.people[0])),e)),k&&(k=function(t,e){if(!t)return 0;try{t=e.map((function(e){return e.id||(e.id=e.strRelID),[e.name,t["!id"][e.id].Target,(r=t["!id"][e.id].Type,cn.WS.indexOf(r)>-1?"sheet":cn.CS&&r==cn.CS?"chart":cn.DS&&r==cn.DS?"dialog":cn.MS&&r==cn.MS?"macro":r&&r.length?r:"sheet")];var r}))}catch(A){return null}return t&&0!==t.length?t:null}(k,l.Sheets));var E=Xt(t,"xl/worksheets/sheet.xml",!0)?1:0;t:for(g=0;g!=f.Worksheets;++g){var M="sheet";if(k&&k[g]?(b="xl/"+k[g][1].replace(/[\/]?xl\//,""),Gt(t,b)||(b=k[g][1]),Gt(t,b)||(b=S.replace(/_rels\/.*$/,"")+k[g][1]),M=k[g][2]):b=(b="xl/worksheets/sheet"+(g+1-E)+"."+O).replace(/sheet0\./,"sheet."),v=b.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),e&&null!=e.sheets)switch(typeof e.sheets){case"number":if(g!=e.sheets)continue t;break;case"string":if(f.SheetNames[g].toLowerCase()!=e.sheets.toLowerCase())continue t;break;default:if(Array.isArray&&Array.isArray(e.sheets)){for(var C=!1,j=0;j!=e.sheets.length;++j)"number"==typeof e.sheets[j]&&e.sheets[j]==g&&(C=1),"string"==typeof e.sheets[j]&&e.sheets[j].toLowerCase()==f.SheetNames[g].toLowerCase()&&(C=1);if(!C)continue t}}sc(t,b,v,f.SheetNames[g],g,y,n,M,e,l,c,u)}return p={Directory:a,Workbook:l,Props:f,Custprops:d,Deps:m,Sheets:n,SheetNames:f.SheetNames,Strings:pa,Styles:u,Themes:c,SSF:Ft(B)},e&&e.bookFiles&&(t.files?(p.keys=o,p.files=t.files):(p.keys=[],p.files={},t.FullPaths.forEach((function(e,r){e=e.replace(/^Root Entry[\/]/,""),p.keys.push(e),p.files[e]=t.FileIndex[r]})))),e&&e.bookVBA&&(a.vba.length>0?p.vbaraw=Xt(t,cc(a.vba[0]),!0):a.defaults&&"application/vnd.ms-office.vbaProject"===a.defaults.bin&&(p.vbaraw=Xt(t,"xl/vbaProject.bin",!0))),p}function lc(t,e){var r=e||{},n="Workbook",i=Ot.find(t,n);try{if(n="/!DataSpaces/Version",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function(t){var e={};e.id=t.read_shift(0,"lpp4"),e.R=Pi(t,4),e.U=Pi(t,4),e.W=Pi(t,4)}(i.content),n="/!DataSpaces/DataSpaceMap",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function(t){var e=[];t.l+=4;for(var r=t.read_shift(4);r-- >0;)e.push(Di(t));return e}(i.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var a=function(t){var e=[];t.l+=4;for(var r=t.read_shift(4);r-- >0;)e.push(t.read_shift(0,"lpp4"));return e}(i.content);if(1!=a.length||"StrongEncryptionTransform"!=a[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);Ri(i.content)}catch(c){}if(n="/EncryptionInfo",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function(t){var e=Pi(t);switch(e.Minor){case 2:return[e.Minor,Ni(t)];case 3:return[e.Minor,Fi()];case 4:return[e.Minor,Bi(t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+e.Minor)}(i.content);if(n="/EncryptedPackage",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==s[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(s[1],i.content,r.password||"",r);if(2==s[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(s[1],i.content,r.password||"",r);throw new Error("File is password-protected")}function fc(t,e){var r="";switch((e||{}).type||"base64"){case"buffer":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":r=y(t.slice(0,12));break;case"binary":r=t;break;case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function hc(t,e){var r=0;t:for(;r<t.length;)switch(t.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return ps(t.slice(r),e);default:break t}return wi.to_workbook(t,e)}function dc(t,e,r,n){return n?(r.type="string",wi.to_workbook(t,r)):wi.to_workbook(e,r)}function pc(t,e){l();var r=e||{};if("undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer)return pc(new Uint8Array(t),((r=Ft(r)).type="array",r));"undefined"!==typeof Uint8Array&&t instanceof Uint8Array&&!r.type&&(r.type="undefined"!==typeof Deno?"buffer":"array");var n,i=t,o=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),ma={},r.dateNF&&(ma.dateNF=r.dateNF),r.type||(r.type=w&&Buffer.isBuffer(t)?"buffer":"base64"),"file"==r.type&&(r.type=w?"buffer":"binary",i=function(t){if("undefined"!==typeof _t)return _t.readFileSync(t);if("undefined"!==typeof Deno)return Deno.readFileSync(t);if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var e=File(t);e.open("r"),e.encoding="binary";var r=e.read();return e.close(),r}catch(n){if(!n.message||!n.message.match(/onstruct/))throw n}throw new Error("Cannot access file "+t)}(t),"undefined"===typeof Uint8Array||w||(r.type="array")),"string"==r.type&&(o=!0,r.type="binary",r.codepage=65001,i=function(t){return t.match(/[^\x00-\x7F]/)?xe(t):t}(t)),"array"==r.type&&"undefined"!==typeof Uint8Array&&t instanceof Uint8Array&&"undefined"!==typeof ArrayBuffer){var a=new ArrayBuffer(3),s=new Uint8Array(a);if(s.foo="bar",!s.foo)return(r=Ft(r)).type="array",pc(E(i),r)}switch((n=fc(i,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(t,e){return Ot.find(t,"EncryptedPackage")?lc(t,e):_s(t,e)}(Ot.read(i,r),r);break;case 9:if(n[1]<=8)return _s(i,r);break;case 60:return ps(i,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return function(t,e){var r=e||{},n=!!r.WTF;r.WTF=!0;try{var i=vi.to_workbook(t,r);return r.WTF=n,i}catch(o){if(r.WTF=n,!o.message.match(/SYLK bad record ID/)&&n)throw o;return wi.to_workbook(t,e)}}(i,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return gi.to_workbook(i,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?function(t,e){var r=t,n=e||{};return n.type||(n.type=w&&Buffer.isBuffer(t)?"buffer":"base64"),uc(Jt(r,n),n)}(i,r):dc(t,i,r,o);case 239:return 60===n[3]?ps(i,r):dc(t,i,r,o);case 255:if(254===n[1])return function(t,e){var r=t;return"base64"==e.type&&(r=y(r)),r=d.utils.decode(1200,r.slice(2),"str"),e.type="binary",hc(r,e)}(i,r);if(0===n[1]&&2===n[2]&&0===n[3])return xi.to_workbook(i,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return xi.to_workbook(i,r);if(0===n[2]&&(8===n[3]||9===n[3]))return xi.to_workbook(i,r)}break;case 3:case 131:case 139:case 140:return bi.to_workbook(i,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return qi.to_workbook(i,r);break;case 10:case 13:case 32:return function(t,e){var r="",n=fc(t,e);switch(e.type){case"base64":r=y(t);break;case"binary":r=t;break;case"buffer":r=t.toString("binary");break;case"array":r=Nt(t);break;default:throw new Error("Unrecognized type "+e.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=we(r)),e.type="binary",hc(r,e)}(i,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet")}return mi.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?bi.to_workbook(i,r):dc(t,i,r,o)}function mc(t,e,r,n,i,o,a,s){var c=_r(r),u=s.defval,l=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch(b){h.__rowNum__=r}else h.__rowNum__=r;if(!a||t[r])for(var d=e.s.c;d<=e.e.c;++d){var p=a?t[r][d]:t[n[d]+c];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[d]){if(null==m)if("e"==p.t&&null===m)h[o[d]]=null;else if(void 0!==u)h[o[d]]=u;else{if(!l||null!==m)continue;h[o[d]]=null}else h[o[d]]=l&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?m:Pr(p,m,s);null!=m&&(f=!1)}}else{if(void 0===u)continue;null!=o[d]&&(h[o[d]]=u)}}return{row:h,isempty:f}}function bc(t,e){if(null==t||null==t["!ref"])return[];var r={t:"n",v:0},n=0,i=1,o=[],a=0,s="",c={s:{r:0,c:0},e:{r:0,c:0}},u=e||{},l=null!=u.range?u.range:t["!ref"];switch(1===u.header?n=1:"A"===u.header?n=2:Array.isArray(u.header)?n=3:null==u.header&&(n=0),typeof l){case"string":c=Ar(l);break;case"number":(c=Ar(t["!ref"])).s.r=l;break;default:c=l}n>0&&(i=0);var f=_r(c.s.r),h=[],d=[],p=0,m=0,b=Array.isArray(t),v=c.s.r,g=0,y={};b&&!t[v]&&(t[v]=[]);var w=u.skipHidden&&t["!cols"]||[],x=u.skipHidden&&t["!rows"]||[];for(g=c.s.c;g<=c.e.c;++g)if(!(w[g]||{}).hidden)switch(h[g]=kr(g),r=b?t[v][g]:t[h[g]+f],n){case 1:o[g]=g-c.s.c;break;case 2:o[g]=h[g];break;case 3:o[g]=u.header[g-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),s=a=Pr(r,null,u),m=y[a]||0){do{s=a+"_"+m++}while(y[s]);y[a]=m,y[s]=1}else y[a]=1;o[g]=s}for(v=c.s.r+i;v<=c.e.r;++v)if(!(x[v]||{}).hidden){var O=mc(t,c,v,h,n,o,b,u);(!1===O.isempty||(1===n?!1!==u.blankrows:u.blankrows))&&(d[p++]=O.row)}return d.length=p,d}var vc=/"/g;function gc(t,e,r,n,i,o,a,s){for(var c=!0,u=[],l="",f=_r(r),h=e.s.c;h<=e.e.c;++h)if(n[h]){var d=s.dense?(t[r]||[])[h]:t[n[h]+f];if(null==d)l="";else if(null!=d.v){c=!1,l=""+(s.rawNumbers&&"n"==d.t?d.v:Pr(d,null,s));for(var p=0,m=0;p!==l.length;++p)if((m=l.charCodeAt(p))===i||m===o||34===m||s.forceQuotes){l='"'+l.replace(vc,'""')+'"';break}"ID"==l&&(l='"ID"')}else null==d.f||d.F?l="":(c=!1,(l="="+d.f).indexOf(",")>=0&&(l='"'+l.replace(vc,'""')+'"'));u.push(l)}return!1===s.blankrows&&c?null:u.join(a)}function yc(t,e){var r=[],n=null==e?{}:e;if(null==t||null==t["!ref"])return"";var i=Ar(t["!ref"]),o=void 0!==n.FS?n.FS:",",a=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),u=new RegExp(("|"==o?"\\|":o)+"+$"),l="",f=[];n.dense=Array.isArray(t);for(var h=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=kr(p));for(var m=0,b=i.s.r;b<=i.e.r;++b)(d[b]||{}).hidden||null!=(l=gc(t,i,b,f,a,c,o,n))&&(n.strip&&(l=l.replace(u,"")),(l||!1!==n.blankrows)&&r.push((m++?s:"")+l));return delete n.dense,r.join("")}function wc(t,e){e||(e={}),e.FS="\t",e.RS="\n";var r=yc(t,e);if("undefined"==typeof d||"string"==e.type)return r;var n=d.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function xc(t,e,r){var n,i=r||{},o=+!i.skipHeader,a=t||{},s=0,c=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var u="string"==typeof i.origin?Er(i.origin):i.origin;s=u.r,c=u.c}var l={s:{c:0,r:0},e:{c:c,r:s+e.length-1+o}};if(a["!ref"]){var f=Ar(a["!ref"]);l.e.c=Math.max(l.e.c,f.e.c),l.e.r=Math.max(l.e.r,f.e.r),-1==s&&(s=f.e.r+1,l.e.r=s+e.length-1+o)}else-1==s&&(s=0,l.e.r=e.length-1+o);var h=i.header||[],d=0;e.forEach((function(t,e){St(t).forEach((function(r){-1==(d=h.indexOf(r))&&(h[d=h.length]=r);var u=t[r],l="z",f="",p=Mr({c:c+d,r:s+e+o});n=Oc(a,p),!u||"object"!==typeof u||u instanceof Date?("number"==typeof u?l="n":"boolean"==typeof u?l="b":"string"==typeof u?l="s":u instanceof Date?(l="d",i.cellDates||(l="n",u=Mt(u)),f=i.dateNF||B[14]):null===u&&i.nullError&&(l="e",u=0),n?(n.t=l,n.v=u,delete n.w,delete n.R,f&&(n.z=f)):a[p]=n={t:l,v:u},f&&(n.z=f)):a[p]=u}))})),l.e.c=Math.max(l.e.c,c+h.length-1);var p=_r(s);if(o)for(d=0;d<h.length;++d)a[kr(d+c)+p]={t:"s",v:h[d]};return a["!ref"]=jr(l),a}function Oc(t,e,r){if("string"==typeof e){if(Array.isArray(t)){var n=Er(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return Oc(t,Mr("number"!=typeof e?e:{r:e,c:r||0}))}function _c(){return{SheetNames:[],Sheets:{}}}function Sc(t,e,r,n){var i=1;if(!r)for(;i<=65535&&-1!=t.SheetNames.indexOf(r="Sheet"+i);++i,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var o=r.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||r;for(++i;i<=65535&&-1!=t.SheetNames.indexOf(r=a+i);++i);}if(Va(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function kc(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}var Ec={encode_col:kr,encode_row:_r,encode_cell:Mr,encode_range:jr,decode_col:Sr,decode_row:Or,split_cell:function(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:Er,decode_range:Cr,format_cell:Pr,sheet_add_aoa:Rr,sheet_add_json:xc,sheet_add_dom:Ps,aoa_to_sheet:Lr,json_to_sheet:function(t,e){return xc(null,t,e)},table_to_sheet:Ds,table_to_book:function(t,e){return Dr(Ds(t,e),e)},sheet_to_csv:yc,sheet_to_txt:wc,sheet_to_json:bc,sheet_to_html:Ts,sheet_to_formulae:function(t){var e,r="",n="";if(null==t||null==t["!ref"])return[];var i,o=Ar(t["!ref"]),a="",s=[],c=[],u=Array.isArray(t);for(i=o.s.c;i<=o.e.c;++i)s[i]=kr(i);for(var l=o.s.r;l<=o.e.r;++l)for(a=_r(l),i=o.s.c;i<=o.e.c;++i)if(r=s[i]+a,n="",void 0!==(e=u?(t[l]||[])[i]:t[r])){if(null!=e.F){if(r=e.F,!e.f)continue;n=e.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=e.f)n=e.f;else{if("z"==e.t)continue;if("n"==e.t&&null!=e.v)n=""+e.v;else if("b"==e.t)n=e.v?"TRUE":"FALSE";else if(void 0!==e.w)n="'"+e.w;else{if(void 0===e.v)continue;n="s"==e.t?"'"+e.v:""+e.v}}c[c.length]=r+"="+n}return c},sheet_to_row_object_array:bc,sheet_get_cell:Oc,book_new:_c,book_append_sheet:Sc,book_set_sheet_visibility:function(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=function(t,e){if("number"==typeof e){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}if("string"==typeof e){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}throw new Error("Cannot find sheet |"+e+"|")}(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(t,e){return t.z=e,t},cell_set_hyperlink:kc,cell_set_internal_link:function(t,e,r){return kc(t,"#"+e,r)},cell_add_comment:function(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})},sheet_set_array_formula:function(t,e,r,n){for(var i="string"!=typeof e?e:Ar(e),o="string"==typeof e?e:jr(e),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var c=Oc(t,a,s);c.t="n",c.F=o,delete c.v,a==i.s.r&&s==i.s.c&&(c.f=r,n&&(c.D=!0))}return t},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};n.version},function(t,e,r){var n=r(1272)();t.exports=n},function(t,e,r){var n=r(245),i=r(1277);t.exports=function(t,e){return t&&t.length?i(t,n(e,2)):[]}},function(t,e,r){"use strict";r.d(e,"b",(function(){return $}));var n=r(1),i=r(41),o=r(236);var a=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.reduce((function(t,e){return e.filterProps.forEach((function(r){t[r]=e})),t}),{}),i=function(t){return Object.keys(t).reduce((function(e,r){return n[r]?Object(o.a)(e,n[r](t)):e}),{})};return i.propTypes={},i.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),i},s=r(149),c=r(126);function u(t){return"number"!==typeof t?t:"".concat(t,"px solid")}var l=Object(i.a)({prop:"border",themeKey:"borders",transform:u}),f=Object(i.a)({prop:"borderTop",themeKey:"borders",transform:u}),h=Object(i.a)({prop:"borderRight",themeKey:"borders",transform:u}),d=Object(i.a)({prop:"borderBottom",themeKey:"borders",transform:u}),p=Object(i.a)({prop:"borderLeft",themeKey:"borders",transform:u}),m=Object(i.a)({prop:"borderColor",themeKey:"palette"}),b=Object(i.a)({prop:"borderTopColor",themeKey:"palette"}),v=Object(i.a)({prop:"borderRightColor",themeKey:"palette"}),g=Object(i.a)({prop:"borderBottomColor",themeKey:"palette"}),y=Object(i.a)({prop:"borderLeftColor",themeKey:"palette"}),w=function(t){if(void 0!==t.borderRadius&&null!==t.borderRadius){var e=Object(s.b)(t.theme,"shape.borderRadius",4,"borderRadius");return Object(c.b)(t,t.borderRadius,(function(t){return{borderRadius:Object(s.d)(e,t)}}))}return null};w.propTypes={},w.filterProps=["borderRadius"];var x=a(l,f,h,d,p,m,b,v,g,y,w),O=a(Object(i.a)({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),Object(i.a)({prop:"display"}),Object(i.a)({prop:"overflow"}),Object(i.a)({prop:"textOverflow"}),Object(i.a)({prop:"visibility"}),Object(i.a)({prop:"whiteSpace"})),_=a(Object(i.a)({prop:"flexBasis"}),Object(i.a)({prop:"flexDirection"}),Object(i.a)({prop:"flexWrap"}),Object(i.a)({prop:"justifyContent"}),Object(i.a)({prop:"alignItems"}),Object(i.a)({prop:"alignContent"}),Object(i.a)({prop:"order"}),Object(i.a)({prop:"flex"}),Object(i.a)({prop:"flexGrow"}),Object(i.a)({prop:"flexShrink"}),Object(i.a)({prop:"alignSelf"}),Object(i.a)({prop:"justifyItems"}),Object(i.a)({prop:"justifySelf"})),S=function(t){if(void 0!==t.gap&&null!==t.gap){var e=Object(s.b)(t.theme,"spacing",8,"gap");return Object(c.b)(t,t.gap,(function(t){return{gap:Object(s.d)(e,t)}}))}return null};S.propTypes={},S.filterProps=["gap"];var k=function(t){if(void 0!==t.columnGap&&null!==t.columnGap){var e=Object(s.b)(t.theme,"spacing",8,"columnGap");return Object(c.b)(t,t.columnGap,(function(t){return{columnGap:Object(s.d)(e,t)}}))}return null};k.propTypes={},k.filterProps=["columnGap"];var E=function(t){if(void 0!==t.rowGap&&null!==t.rowGap){var e=Object(s.b)(t.theme,"spacing",8,"rowGap");return Object(c.b)(t,t.rowGap,(function(t){return{rowGap:Object(s.d)(e,t)}}))}return null};E.propTypes={},E.filterProps=["rowGap"];var M=a(S,k,E,Object(i.a)({prop:"gridColumn"}),Object(i.a)({prop:"gridRow"}),Object(i.a)({prop:"gridAutoFlow"}),Object(i.a)({prop:"gridAutoColumns"}),Object(i.a)({prop:"gridAutoRows"}),Object(i.a)({prop:"gridTemplateColumns"}),Object(i.a)({prop:"gridTemplateRows"}),Object(i.a)({prop:"gridTemplateAreas"}),Object(i.a)({prop:"gridArea"})),C=a(Object(i.a)({prop:"position"}),Object(i.a)({prop:"zIndex",themeKey:"zIndex"}),Object(i.a)({prop:"top"}),Object(i.a)({prop:"right"}),Object(i.a)({prop:"bottom"}),Object(i.a)({prop:"left"})),j=a(Object(i.a)({prop:"color",themeKey:"palette"}),Object(i.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),Object(i.a)({prop:"backgroundColor",themeKey:"palette"})),A=Object(i.a)({prop:"boxShadow",themeKey:"shadows"});function T(t){return t<=1&&0!==t?"".concat(100*t,"%"):t}var P=Object(i.a)({prop:"width",transform:T}),D=function(t){if(void 0!==t.maxWidth&&null!==t.maxWidth){return Object(c.b)(t,t.maxWidth,(function(e){var r,n,i;return{maxWidth:(null==(r=t.theme)||null==(n=r.breakpoints)||null==(i=n.values)?void 0:i[e])||c.e[e]||T(e)}}))}return null};D.filterProps=["maxWidth"];var R=Object(i.a)({prop:"minWidth",transform:T}),L=Object(i.a)({prop:"height",transform:T}),I=Object(i.a)({prop:"maxHeight",transform:T}),N=Object(i.a)({prop:"minHeight",transform:T}),F=(Object(i.a)({prop:"size",cssProperty:"width",transform:T}),Object(i.a)({prop:"size",cssProperty:"height",transform:T}),a(P,D,R,L,I,N,Object(i.a)({prop:"boxSizing"}))),B=Object(i.a)({prop:"fontFamily",themeKey:"typography"}),z=Object(i.a)({prop:"fontSize",themeKey:"typography"}),H=Object(i.a)({prop:"fontStyle",themeKey:"typography"}),U=Object(i.a)({prop:"fontWeight",themeKey:"typography"}),W=Object(i.a)({prop:"letterSpacing"}),q=Object(i.a)({prop:"lineHeight"}),V=Object(i.a)({prop:"textAlign"}),G=a(Object(i.a)({prop:"typography",cssProperty:!1,themeKey:"typography"}),B,z,H,U,W,q,V),Y={borders:x.filterProps,display:O.filterProps,flexbox:_.filterProps,grid:M.filterProps,positions:C.filterProps,palette:j.filterProps,shadows:A.filterProps,sizing:F.filterProps,spacing:s.c.filterProps,typography:G.filterProps},X={borders:x,display:O,flexbox:_,grid:M,positions:C,palette:j,shadows:A,sizing:F,spacing:s.c,typography:G},$=Object.keys(Y).reduce((function(t,e){return Y[e].forEach((function(r){t[r]=X[e]})),t}),{});e.a=function(t,e,r){var i,o=(i={},Object(n.a)(i,t,e),Object(n.a)(i,"theme",r),i),a=$[t];return a?a(o):Object(n.a)({},t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return T}));var n=r(114),i=r.n(n),o=r(44),a=r.n(o),s=r(0),c=r.n(s),u=r(55),l=r.n(u),f=r(302),h=r(201),d=r(80),p=r(335),m=r(208),b=r(154),v=r(17),g=r(42);function y(t){return(y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(){return(w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach((function(e){_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=A(t);if(e){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return j(this,r)}}function j(t,e){return!e||"object"!==y(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(s,t);var e,r,n,o=C(s);function s(){return k(this,s),o.apply(this,arguments)}return e=s,n=[{key:"getTicks",value:function(t){var e=t.tick,r=t.ticks,n=t.viewBox,i=t.minTickGap,o=t.orientation,a=t.interval,c=t.tickFormatter,u=t.unit;return r&&r.length&&e?Object(v.h)(a)||b.a.isSsr?s.getNumberIntervalTicks(r,"number"===typeof a&&Object(v.h)(a)?a:0):"preserveStartEnd"===a?s.getTicksStart({ticks:r,tickFormatter:c,viewBox:n,orientation:o,minTickGap:i,unit:u},!0):"preserveStart"===a?s.getTicksStart({ticks:r,tickFormatter:c,viewBox:n,orientation:o,minTickGap:i,unit:u}):s.getTicksEnd({ticks:r,tickFormatter:c,viewBox:n,orientation:o,minTickGap:i,unit:u}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter((function(t,r){return r%(e+1)===0}))}},{key:"getTicksStart",value:function(t,e){var r,n,i=t.ticks,o=t.tickFormatter,s=t.viewBox,c=t.orientation,u=t.minTickGap,l=t.unit,f=s.x,d=s.y,p=s.width,m=s.height,b="top"===c||"bottom"===c?"width":"height",g=(i||[]).slice(),y=l&&"width"===b?Object(h.c)(l)[b]:0,w=g.length,x=w>=2?Object(v.j)(g[1].coordinate-g[0].coordinate):1;if(1===x?(r="width"===b?f:d,n="width"===b?f+p:d+m):(r="width"===b?f+p:d+m,n="width"===b?f:d),e){var _=i[w-1],S=a()(o)?o(_.value,w-1):_.value,k=Object(h.c)(S)[b]+y,E=x*(_.coordinate+x*k/2-n);g[w-1]=_=O(O({},_),{},{tickCoord:E>0?_.coordinate-E*x:_.coordinate}),x*(_.tickCoord-x*k/2-r)>=0&&x*(_.tickCoord+x*k/2-n)<=0&&(n=_.tickCoord-x*(k/2+u),g[w-1]=O(O({},_),{},{isShow:!0}))}for(var M=e?w-1:w,C=0;C<M;C++){var j=g[C],A=a()(o)?o(j.value,C):j.value,T=Object(h.c)(A)[b]+y;if(0===C){var P=x*(j.coordinate-x*T/2-r);g[C]=j=O(O({},j),{},{tickCoord:P<0?j.coordinate-P*x:j.coordinate})}else g[C]=j=O(O({},j),{},{tickCoord:j.coordinate});x*(j.tickCoord-x*T/2-r)>=0&&x*(j.tickCoord+x*T/2-n)<=0&&(r=j.tickCoord+x*(T/2+u),g[C]=O(O({},j),{},{isShow:!0}))}return g.filter((function(t){return t.isShow}))}},{key:"getTicksEnd",value:function(t){var e,r,n=t.ticks,i=t.tickFormatter,o=t.viewBox,s=t.orientation,c=t.minTickGap,u=t.unit,l=o.x,f=o.y,d=o.width,p=o.height,m="top"===s||"bottom"===s?"width":"height",b=u&&"width"===m?Object(h.c)(u)[m]:0,g=(n||[]).slice(),y=g.length,w=y>=2?Object(v.j)(g[1].coordinate-g[0].coordinate):1;1===w?(e="width"===m?l:f,r="width"===m?l+d:f+p):(e="width"===m?l+d:f+p,r="width"===m?l:f);for(var x=y-1;x>=0;x--){var _=g[x],S=a()(i)?i(_.value,y-x-1):_.value,k=Object(h.c)(S)[m]+b;if(x===y-1){var E=w*(_.coordinate+w*k/2-r);g[x]=_=O(O({},_),{},{tickCoord:E>0?_.coordinate-E*w:_.coordinate})}else g[x]=_=O(O({},_),{},{tickCoord:_.coordinate});w*(_.tickCoord-w*k/2-e)>=0&&w*(_.tickCoord+w*k/2-r)<=0&&(r=_.tickCoord-w*(k/2+c),g[x]=O(O({},_),{},{isShow:!0}))}return g.filter((function(t){return t.isShow}))}},{key:"renderTickItem",value:function(t,e,r){return c.a.isValidElement(t)?c.a.cloneElement(t,e):a()(t)?t(e):c.a.createElement(p.a,w({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(r=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,r=S(t,["viewBox"]),n=this.props,i=n.viewBox,o=S(n,["viewBox"]);return!Object(f.a)(e,i)||!Object(f.a)(r,o)}},{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,s=this.props,c=s.x,u=s.y,l=s.width,f=s.height,h=s.orientation,d=s.tickSize,p=s.mirror,m=s.tickMargin,b=p?-1:1,g=t.tickSize||d,y=Object(v.h)(t.tickCoord)?t.tickCoord:t.coordinate;switch(h){case"top":e=r=t.coordinate,a=(n=(i=u+ +!p*f)-b*g)-b*m,o=y;break;case"left":n=i=t.coordinate,o=(e=(r=c+ +!p*l)-b*g)-b*m,a=y;break;case"right":n=i=t.coordinate,o=(e=(r=c+ +p*l)+b*g)+b*m,a=y;break;default:e=r=t.coordinate,a=(n=(i=u+ +p*f)+b*g)+b*m,o=y}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,a=t.orientation,s=t.mirror,u=t.axisLine,f=O(O(O({},Object(g.c)(this.props)),Object(g.c)(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var h=+("top"===a&&!s||"bottom"===a&&s);f=O(O({},f),{},{x1:e,y1:r+h*o,x2:e+n,y2:r+h*o})}else{var d=+("left"===a&&!s||"right"===a&&s);f=O(O({},f),{},{x1:e+d*n,y1:r,x2:e+d*n,y2:r+o})}return c.a.createElement("line",w({},f,{className:l()("recharts-cartesian-axis-line",i()(u,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,r=this.props,n=r.tickLine,o=r.stroke,u=r.tick,f=r.tickFormatter,h=r.unit,p=s.getTicks(O(O({},this.props),{},{ticks:t})),m=this.getTickTextAnchor(),b=this.getTickVerticalAnchor(),v=Object(g.c)(this.props),y=Object(g.c)(u),x=O(O({},v),{},{fill:"none"},Object(g.c)(n)),_=p.map((function(t,r){var _=e.getTickLineCoord(t),S=_.line,k=_.tick,E=O(O(O(O({textAnchor:m,verticalAnchor:b},v),{},{stroke:"none",fill:o},y),k),{},{index:r,payload:t,visibleTicksCount:p.length,tickFormatter:f});return c.a.createElement(d.a,w({className:"recharts-cartesian-axis-tick",key:"tick-".concat(r)},Object(g.b)(e.props,t,r)),n&&c.a.createElement("line",w({},x,S,{className:l()("recharts-cartesian-axis-tick-line",i()(n,"className"))})),u&&s.renderTickItem(u,E,"".concat(a()(f)?f(t.value,r):t.value).concat(h||"")))}));return c.a.createElement("g",{className:"recharts-cartesian-axis-ticks"},_)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,r=t.width,n=t.height,i=t.ticksGenerator,o=t.className;if(t.hide)return null;var s=this.props,u=s.ticks,f=S(s,["ticks"]),h=u;return a()(i)&&(h=u&&u.length>0?i(this.props):i(f)),r<=0||n<=0||!h||!h.length?null:c.a.createElement(d.a,{className:l()("recharts-cartesian-axis",o)},e&&this.renderAxisLine(),this.renderTicks(h),m.a.renderCallByParent(this.props))}}])&&E(e.prototype,r),n&&E(e,n),s}(s.Component);T.displayName="CartesianAxis",T.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"}},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(14),a=r(2),s=r(0),c=(r(10),r(8)),u=r(78),l=r(252);function f(t,e,r){return Object(l.a)(t)?e:Object(a.a)({},e,{ownerState:Object(a.a)({},e.ownerState,r)})}var h=r(147),d=r(13),p=r(122),m=r(22),b=r(24),v=r(1312),g=r(890),y=r(141),w=r(72),x=r(115),O=r(275),_=r(220),S=r(339),k=r(340);function E(t){return Object(S.a)("MuiTooltip",t)}var M=Object(k.a)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),C=r(6),j=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];var A=Object(d.a)(g.a,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(t,e){var r=t.ownerState;return[e.popper,!r.disableInteractive&&e.popperInteractive,r.arrow&&e.popperArrow,!r.open&&e.popperClose]}})((function(t){var e,r=t.theme,n=t.ownerState,o=t.open;return Object(a.a)({zIndex:r.zIndex.tooltip,pointerEvents:"none"},!n.disableInteractive&&{pointerEvents:"auto"},!o&&{pointerEvents:"none"},n.arrow&&(e={},Object(i.a)(e,'&[data-popper-placement*="bottom"] .'.concat(M.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),Object(i.a)(e,'&[data-popper-placement*="top"] .'.concat(M.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),Object(i.a)(e,'&[data-popper-placement*="right"] .'.concat(M.arrow),Object(a.a)({},n.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),Object(i.a)(e,'&[data-popper-placement*="left"] .'.concat(M.arrow),Object(a.a)({},n.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),e))})),T=Object(d.a)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(t,e){var r=t.ownerState;return[e.tooltip,r.touch&&e.touch,r.arrow&&e.tooltipArrow,e["tooltipPlacement".concat(Object(b.a)(r.placement.split("-")[0]))]]}})((function(t){var e,r,n=t.theme,o=t.ownerState;return Object(a.a)({backgroundColor:Object(h.a)(n.palette.grey[700],.92),borderRadius:n.shape.borderRadius,color:n.palette.common.white,fontFamily:n.typography.fontFamily,padding:"4px 8px",fontSize:n.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:n.typography.fontWeightMedium},o.arrow&&{position:"relative",margin:0},o.touch&&{padding:"8px 16px",fontSize:n.typography.pxToRem(14),lineHeight:"".concat((r=16/14,Math.round(1e5*r)/1e5),"em"),fontWeight:n.typography.fontWeightRegular},(e={},Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="left"] &'),Object(a.a)({transformOrigin:"right center"},o.isRtl?Object(a.a)({marginLeft:"14px"},o.touch&&{marginLeft:"24px"}):Object(a.a)({marginRight:"14px"},o.touch&&{marginRight:"24px"}))),Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="right"] &'),Object(a.a)({transformOrigin:"left center"},o.isRtl?Object(a.a)({marginRight:"14px"},o.touch&&{marginRight:"24px"}):Object(a.a)({marginLeft:"14px"},o.touch&&{marginLeft:"24px"}))),Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="top"] &'),Object(a.a)({transformOrigin:"center bottom",marginBottom:"14px"},o.touch&&{marginBottom:"24px"})),Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="bottom"] &'),Object(a.a)({transformOrigin:"center top",marginTop:"14px"},o.touch&&{marginTop:"24px"})),e))})),P=Object(d.a)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(t,e){return e.arrow}})((function(t){var e=t.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(h.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),D=!1,R=null;function L(t,e){return function(r){e&&e(r),t(r)}}var I=s.forwardRef((function(t,e){var r,i,l,h,d,S,k=Object(m.a)({props:t,name:"MuiTooltip"}),M=k.arrow,I=void 0!==M&&M,N=k.children,F=k.components,B=void 0===F?{}:F,z=k.componentsProps,H=void 0===z?{}:z,U=k.describeChild,W=void 0!==U&&U,q=k.disableFocusListener,V=void 0!==q&&q,G=k.disableHoverListener,Y=void 0!==G&&G,X=k.disableInteractive,$=void 0!==X&&X,K=k.disableTouchListener,Z=void 0!==K&&K,J=k.enterDelay,Q=void 0===J?100:J,tt=k.enterNextDelay,et=void 0===tt?0:tt,rt=k.enterTouchDelay,nt=void 0===rt?700:rt,it=k.followCursor,ot=void 0!==it&&it,at=k.id,st=k.leaveDelay,ct=void 0===st?0:st,ut=k.leaveTouchDelay,lt=void 0===ut?1500:ut,ft=k.onClose,ht=k.onOpen,dt=k.open,pt=k.placement,mt=void 0===pt?"bottom":pt,bt=k.PopperComponent,vt=k.PopperProps,gt=void 0===vt?{}:vt,yt=k.title,wt=k.TransitionComponent,xt=void 0===wt?v.a:wt,Ot=k.TransitionProps,_t=Object(o.a)(k,j),St=Object(p.a)(),kt="rtl"===St.direction,Et=s.useState(),Mt=Object(n.a)(Et,2),Ct=Mt[0],jt=Mt[1],At=s.useState(null),Tt=Object(n.a)(At,2),Pt=Tt[0],Dt=Tt[1],Rt=s.useRef(!1),Lt=$||ot,It=s.useRef(),Nt=s.useRef(),Ft=s.useRef(),Bt=s.useRef(),zt=Object(_.a)({controlled:dt,default:!1,name:"Tooltip",state:"open"}),Ht=Object(n.a)(zt,2),Ut=Ht[0],Wt=Ht[1],qt=Ut,Vt=Object(x.a)(at),Gt=s.useRef(),Yt=s.useCallback((function(){void 0!==Gt.current&&(document.body.style.WebkitUserSelect=Gt.current,Gt.current=void 0),clearTimeout(Bt.current)}),[]);s.useEffect((function(){return function(){clearTimeout(It.current),clearTimeout(Nt.current),clearTimeout(Ft.current),Yt()}}),[Yt]);var Xt=function(t){clearTimeout(R),D=!0,Wt(!0),ht&&!qt&&ht(t)},$t=Object(y.a)((function(t){clearTimeout(R),R=setTimeout((function(){D=!1}),800+ct),Wt(!1),ft&&qt&&ft(t),clearTimeout(It.current),It.current=setTimeout((function(){Rt.current=!1}),St.transitions.duration.shortest)})),Kt=function(t){Rt.current&&"touchstart"!==t.type||(Ct&&Ct.removeAttribute("title"),clearTimeout(Nt.current),clearTimeout(Ft.current),Q||D&&et?Nt.current=setTimeout((function(){Xt(t)}),D?et:Q):Xt(t))},Zt=function(t){clearTimeout(Nt.current),clearTimeout(Ft.current),Ft.current=setTimeout((function(){$t(t)}),ct)},Jt=Object(O.a)(),Qt=Jt.isFocusVisibleRef,te=Jt.onBlur,ee=Jt.onFocus,re=Jt.ref,ne=s.useState(!1),ie=Object(n.a)(ne,2)[1],oe=function(t){te(t),!1===Qt.current&&(ie(!1),Zt(t))},ae=function(t){Ct||jt(t.currentTarget),ee(t),!0===Qt.current&&(ie(!0),Kt(t))},se=function(t){Rt.current=!0;var e=N.props;e.onTouchStart&&e.onTouchStart(t)},ce=Kt,ue=Zt;s.useEffect((function(){if(qt)return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)};function t(t){"Escape"!==t.key&&"Esc"!==t.key||$t(t)}}),[$t,qt]);var le=Object(w.a)(jt,e),fe=Object(w.a)(re,le),he=Object(w.a)(N.ref,fe);""===yt&&(qt=!1);var de=s.useRef({x:0,y:0}),pe=s.useRef(),me={},be="string"===typeof yt;W?(me.title=qt||!be||Y?null:yt,me["aria-describedby"]=qt?Vt:null):(me["aria-label"]=be?yt:null,me["aria-labelledby"]=qt&&!be?Vt:null);var ve=Object(a.a)({},me,_t,N.props,{className:Object(c.a)(_t.className,N.props.className),onTouchStart:se,ref:he},ot?{onMouseMove:function(t){var e=N.props;e.onMouseMove&&e.onMouseMove(t),de.current={x:t.clientX,y:t.clientY},pe.current&&pe.current.update()}}:{});var ge={};Z||(ve.onTouchStart=function(t){se(t),clearTimeout(Ft.current),clearTimeout(It.current),Yt(),Gt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Bt.current=setTimeout((function(){document.body.style.WebkitUserSelect=Gt.current,Kt(t)}),nt)},ve.onTouchEnd=function(t){N.props.onTouchEnd&&N.props.onTouchEnd(t),Yt(),clearTimeout(Ft.current),Ft.current=setTimeout((function(){$t(t)}),lt)}),Y||(ve.onMouseOver=L(ce,ve.onMouseOver),ve.onMouseLeave=L(ue,ve.onMouseLeave),Lt||(ge.onMouseOver=ce,ge.onMouseLeave=ue)),V||(ve.onFocus=L(ae,ve.onFocus),ve.onBlur=L(oe,ve.onBlur),Lt||(ge.onFocus=ae,ge.onBlur=oe));var ye=s.useMemo((function(){var t,e=[{name:"arrow",enabled:Boolean(Pt),options:{element:Pt,padding:4}}];return null!=(t=gt.popperOptions)&&t.modifiers&&(e=e.concat(gt.popperOptions.modifiers)),Object(a.a)({},gt.popperOptions,{modifiers:e})}),[Pt,gt]),we=Object(a.a)({},k,{isRtl:kt,arrow:I,disableInteractive:Lt,placement:mt,PopperComponentProp:bt,touch:Rt.current}),xe=function(t){var e=t.classes,r=t.disableInteractive,n=t.arrow,i=t.touch,o=t.placement,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch","tooltipPlacement".concat(Object(b.a)(o.split("-")[0]))],arrow:["arrow"]};return Object(u.a)(a,E,e)}(we),Oe=null!=(r=B.Popper)?r:A,_e=null!=(i=null!=(l=B.Transition)?l:xt)?i:v.a,Se=null!=(h=B.Tooltip)?h:T,ke=null!=(d=B.Arrow)?d:P,Ee=f(Oe,Object(a.a)({},gt,H.popper),we),Me=f(_e,Object(a.a)({},Ot,H.transition),we),Ce=f(Se,Object(a.a)({},H.tooltip),we),je=f(ke,Object(a.a)({},H.arrow),we);return Object(C.jsxs)(s.Fragment,{children:[s.cloneElement(N,ve),Object(C.jsx)(Oe,Object(a.a)({as:null!=bt?bt:g.a,placement:mt,anchorEl:ot?{getBoundingClientRect:function(){return{top:de.current.y,left:de.current.x,right:de.current.x,bottom:de.current.y,width:0,height:0}}}:Ct,popperRef:pe,open:!!Ct&&qt,id:Vt,transition:!0},ge,Ee,{className:Object(c.a)(xe.popper,null==gt?void 0:gt.className,null==(S=H.popper)?void 0:S.className),popperOptions:ye,children:function(t){var e,r,n=t.TransitionProps;return Object(C.jsx)(_e,Object(a.a)({timeout:St.transitions.duration.shorter},n,Me,{children:Object(C.jsxs)(Se,Object(a.a)({},Ce,{className:Object(c.a)(xe.tooltip,null==(e=H.tooltip)?void 0:e.className),children:[yt,I?Object(C.jsx)(ke,Object(a.a)({},je,{className:Object(c.a)(xe.arrow,null==(r=H.arrow)?void 0:r.className),ref:Dt})):null]}))}))}}))]})}));e.a=I},,,,,,function(t,e,r){var n=r(214).Symbol;t.exports=n},function(t,e,r){var n=r(964);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){var n=r(44),i=r(590);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},function(t,e,r){(function(t){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"===typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"===typeof t},e.isString=function(t){return"string"===typeof t},e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"===typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"===typeof t},e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=t.isBuffer}).call(this,r(121).Buffer)},function(t,e,r){"use strict";var n=r(53),i=r(600),o=r(602),a=r(603),s=r(267);function c(t){s.call(this,"digest"),this._hash=t}n(c,s),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new c(a(t))}},function(t,e,r){(function(e){t.exports=function(t,r){for(var n=Math.min(t.length,r.length),i=new e(n),o=0;o<n;++o)i[o]=t[o]^r[o];return i}}).call(this,r(121).Buffer)},function(t,e,r){"use strict";var n=r(215),i=r(190);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},function(t,e,r){"use strict";var n=r(53),i=r(617).Reporter,o=r(615).Buffer;function a(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function s(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return s.isEncoderBuffer(t)||(t=new s(t,e)),this.length+=t.length,t}),this);else if("number"===typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"===typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}n(a,i),e.DecoderBuffer=a,a.isDecoderBuffer=function(t){return t instanceof a||"object"===typeof t&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"===typeof t.offset&&"number"===typeof t.length&&"function"===typeof t.save&&"function"===typeof t.restore&&"function"===typeof t.isEmpty&&"function"===typeof t.readUInt8&&"function"===typeof t.skip&&"function"===typeof t.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(t){var e=new a(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},a.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},a.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=s,s.isEncoderBuffer=function(t){return t instanceof s||"object"===typeof t&&"EncoderBuffer"===t.constructor.name&&"number"===typeof t.length&&"function"===typeof t.join},s.prototype.join=function(t,e){return t||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"===typeof this.value?t[e]=this.value:"string"===typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e,r){"use strict";t.exports=r(1182)},function(t,e,r){"use strict";r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return l})),r.d(e,"d",(function(){return v})),r.d(e,"c",(function(){return g}));var n=r(177),i=r(118),o=r(378),a=6/29,s=3*a*a;function c(t){if(t instanceof f)return new f(t.l,t.a,t.b,t.opacity);if(t instanceof y)return w(t);t instanceof i.b||(t=Object(i.h)(t));var e,r,n=m(t.r),o=m(t.g),a=m(t.b),s=h((.2225045*n+.7168786*o+.0606169*a)/1);return n===o&&o===a?e=r=s:(e=h((.4360747*n+.3850649*o+.1430804*a)/.96422),r=h((.0139322*n+.0971045*o+.7141733*a)/.82521)),new f(116*s-16,500*(e-s),200*(s-r),t.opacity)}function u(t,e){return new f(t,0,0,null==e?1:e)}function l(t,e,r,n){return 1===arguments.length?c(t):new f(t,e,r,null==n?1:n)}function f(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function h(t){return t>.008856451679035631?Math.pow(t,1/3):t/s+4/29}function d(t){return t>a?t*t*t:s*(t-4/29)}function p(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function b(t){if(t instanceof y)return new y(t.h,t.c,t.l,t.opacity);if(t instanceof f||(t=c(t)),0===t.a&&0===t.b)return new y(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*o.a;return new y(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function v(t,e,r,n){return 1===arguments.length?b(t):new y(r,e,t,null==n?1:n)}function g(t,e,r,n){return 1===arguments.length?b(t):new y(t,e,r,null==n?1:n)}function y(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function w(t){if(isNaN(t.h))return new f(t.l,0,0,t.opacity);var e=t.h*o.b;return new f(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Object(n.a)(f,l,Object(n.b)(i.a,{brighter:function(t){return new f(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new f(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*d(e),t=1*d(t),r=.82521*d(r),new i.b(p(3.1338561*e-1.6168667*t-.4906146*r),p(-.9787684*e+1.9161415*t+.033454*r),p(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),Object(n.a)(y,g,Object(n.b)(i.a,{brighter:function(t){return new y(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new y(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return w(this).rgb()}}))},function(t,e,r){"use strict";r.d(e,"d",(function(){return _})),r.d(e,"c",(function(){return S})),r.d(e,"b",(function(){return M})),r.d(e,"a",(function(){return C}));var n=r(3),i=r(365),o=r(173),a=r(60),s=r(317),c=r(218),u=r(411),l=r(410),f=r(324),h=r(106),d=r(409),p=r(239),m=r(408),b=r(407),v=r(323),g=r(105),y=r(406);function w(t,e,r,u,l,f){var h=[[c.a,1,a.e],[c.a,5,5*a.e],[c.a,15,15*a.e],[c.a,30,30*a.e],[f,1,a.c],[f,5,5*a.c],[f,15,15*a.c],[f,30,30*a.c],[l,1,a.b],[l,3,3*a.b],[l,6,6*a.b],[l,12,12*a.b],[u,1,a.a],[u,2,2*a.a],[r,1,a.f],[e,1,a.d],[e,3,3*a.d],[t,1,a.g]];function d(e,r,c){var u=Math.abs(r-e)/c,l=Object(i.a)((function(t){return Object(n.a)(t,3)[2]})).right(h,u);if(l===h.length)return t.every(Object(o.c)(e/a.g,r/a.g,c));if(0===l)return s.a.every(Math.max(Object(o.c)(e,r,c),1));var f=Object(n.a)(h[u/h[l-1][2]<h[l][2]/u?l-1:l],2),d=f[0],p=f[1];return d.every(p)}return[function(t,e,r){var n=e<t;if(n){var i=[e,t];t=i[0],e=i[1]}var o=r&&"function"===typeof r.range?r:d(t,e,r),a=o?o.range(t,+e+1):[];return n?a.reverse():a},d]}var x=w(r(238).a,y.a,g.g,v.a,b.a,m.a),O=Object(n.a)(x,2),_=O[0],S=O[1],k=w(p.a,d.a,h.g,f.b,l.a,u.a),E=Object(n.a)(k,2),M=E[0],C=E[1]},function(t,e,r){"use strict";var n=r(94);r.d(e,"g",(function(){return n.a}));var i=r(317);r.d(e,"h",(function(){return i.a})),r.d(e,"i",(function(){return i.b})),r.d(e,"N",(function(){return i.a})),r.d(e,"O",(function(){return i.b}));var o=r(218);r.d(e,"r",(function(){return o.a})),r.d(e,"s",(function(){return o.b})),r.d(e,"X",(function(){return o.a})),r.d(e,"Y",(function(){return o.b}));var a=r(411);r.d(e,"j",(function(){return a.a})),r.d(e,"k",(function(){return a.b}));var s=r(410);r.d(e,"e",(function(){return s.a})),r.d(e,"f",(function(){return s.b}));var c=r(324);r.d(e,"a",(function(){return c.b})),r.d(e,"b",(function(){return c.a}));var u=r(106);r.d(e,"D",(function(){return u.g})),r.d(e,"E",(function(){return u.h})),r.d(e,"t",(function(){return u.g})),r.d(e,"u",(function(){return u.h})),r.d(e,"l",(function(){return u.c})),r.d(e,"m",(function(){return u.d})),r.d(e,"z",(function(){return u.k})),r.d(e,"A",(function(){return u.l})),r.d(e,"B",(function(){return u.m})),r.d(e,"C",(function(){return u.n})),r.d(e,"v",(function(){return u.i})),r.d(e,"w",(function(){return u.j})),r.d(e,"c",(function(){return u.a})),r.d(e,"d",(function(){return u.b})),r.d(e,"p",(function(){return u.e})),r.d(e,"q",(function(){return u.f}));var l=r(409);r.d(e,"n",(function(){return l.a})),r.d(e,"o",(function(){return l.b}));var f=r(239);r.d(e,"F",(function(){return f.a})),r.d(e,"G",(function(){return f.b}));var h=r(408);r.d(e,"P",(function(){return h.a})),r.d(e,"Q",(function(){return h.b}));var d=r(407);r.d(e,"L",(function(){return d.a})),r.d(e,"M",(function(){return d.b}));var p=r(323);r.d(e,"H",(function(){return p.a})),r.d(e,"I",(function(){return p.b}));var m=r(105);r.d(e,"jb",(function(){return m.g})),r.d(e,"kb",(function(){return m.h})),r.d(e,"Z",(function(){return m.g})),r.d(e,"ab",(function(){return m.h})),r.d(e,"R",(function(){return m.c})),r.d(e,"S",(function(){return m.d})),r.d(e,"fb",(function(){return m.k})),r.d(e,"gb",(function(){return m.l})),r.d(e,"hb",(function(){return m.m})),r.d(e,"ib",(function(){return m.n})),r.d(e,"bb",(function(){return m.i})),r.d(e,"cb",(function(){return m.j})),r.d(e,"J",(function(){return m.a})),r.d(e,"K",(function(){return m.b})),r.d(e,"V",(function(){return m.e})),r.d(e,"W",(function(){return m.f}));var b=r(406);r.d(e,"T",(function(){return b.a})),r.d(e,"U",(function(){return b.b}));var v=r(238);r.d(e,"lb",(function(){return v.a})),r.d(e,"mb",(function(){return v.b}));var g=r(401);r.d(e,"eb",(function(){return g.d})),r.d(e,"db",(function(){return g.c})),r.d(e,"y",(function(){return g.b})),r.d(e,"x",(function(){return g.a}))},function(t,e,r){"use strict";r.r(e),function(t){r.d(e,"createGlobalStyle",(function(){return re})),r.d(e,"css",(function(){return yt})),r.d(e,"isStyledComponent",(function(){return E})),r.d(e,"keyframes",(function(){return ie})),r.d(e,"ServerStyleSheet",(function(){return Yt})),r.d(e,"StyleSheetConsumer",(function(){return $t})),r.d(e,"StyleSheetContext",(function(){return Xt})),r.d(e,"StyleSheetManager",(function(){return Kt})),r.d(e,"ThemeConsumer",(function(){return Vt})),r.d(e,"ThemeContext",(function(){return qt})),r.d(e,"ThemeProvider",(function(){return Gt})),r.d(e,"withTheme",(function(){return oe})),r.d(e,"__DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS",(function(){return ae}));var n=r(652),i=r.n(n),o=r(836),a=r.n(o),s=r(0),c=r.n(s),u=r(525),l=r(276),f=r(530),h=(r(10),r(880)),d=r(881),p=function(t,e){for(var r=[t[0]],n=0,i=e.length;n<i;n+=1)r.push(e[n],t[n+1]);return r},m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},v=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},y=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},w=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e},x=function(t){return"object"===("undefined"===typeof t?"undefined":m(t))&&t.constructor===Object},O=Object.freeze([]),_=Object.freeze({});function S(t){return"function"===typeof t}function k(t){return t.displayName||t.name||"Component"}function E(t){return t&&"string"===typeof t.styledComponentId}var M="undefined"!==typeof t&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).SC_ATTR)||"data-styled",C="undefined"!==typeof window&&"HTMLElement"in window,j="boolean"===typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!==typeof t&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).REACT_APP_SC_DISABLE_SPEEDY||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).SC_DISABLE_SPEEDY)||!1,A={};var T=function(t){function e(r){b(this,e);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];var a=w(this,t.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+r+" for more information."+(i.length>0?" Additional arguments: "+i.join(", "):"")));return w(a)}return y(e,t),e}(Error),P=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,D=function(t){var e=""+(t||""),r=[];return e.replace(P,(function(t,e,n){return r.push({componentId:e,matchIndex:n}),t})),r.map((function(t,n){var i=t.componentId,o=t.matchIndex,a=r[n+1];return{componentId:i,cssFromDOM:a?e.slice(o,a.matchIndex):e.slice(o)}}))},R=/^\s*\/\/.*$/gm,L=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),I=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),N=[],F=function(t){if(-2===t){var e=N;return N=[],e}},B=a()((function(t){N.push(t)})),z=void 0,H=void 0,U=void 0,W=function(t,e,r){return e>0&&-1!==r.slice(0,e).indexOf(H)&&r.slice(e-H.length,e)!==H?"."+z:t};I.use([function(t,e,r){2===t&&r.length&&r[0].lastIndexOf(H)>0&&(r[0]=r[0].replace(U,W))},B,F]),L.use([B,F]);var q=function(t){return L("",t)};function V(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",i=t.join("").replace(R,""),o=e&&r?r+" "+e+" { "+i+" }":i;return z=n,H=e,U=new RegExp("\\"+H+"\\b","g"),I(r||!e?"":e,o)}var G=function(){return r.nc},Y=function(t,e,r){r&&((t[e]||(t[e]=Object.create(null)))[r]=!0)},X=function(t,e){t[e]=Object.create(null)},$=function(t){return function(e,r){return void 0!==t[e]&&t[e][r]}},K=function(t){var e="";for(var r in t)e+=Object.keys(t[r]).join(" ")+" ";return e.trim()},Z=function(t){if(t.sheet)return t.sheet;for(var e=t.ownerDocument.styleSheets.length,r=0;r<e;r+=1){var n=t.ownerDocument.styleSheets[r];if(n.ownerNode===t)return n}throw new T(10)},J=function(t,e,r){if(!e)return!1;var n=t.cssRules.length;try{t.insertRule(e,r<=n?r:n)}catch(i){return!1}return!0},Q=function(t){return"\n/* sc-component-id: "+t+" */\n"},tt=function(t,e){for(var r=0,n=0;n<=e;n+=1)r+=t[n];return r},et=function(t,e){return function(r){var n=G();return"<style "+[n&&'nonce="'+n+'"',M+'="'+K(e)+'"','data-styled-version="4.4.1"',r].filter(Boolean).join(" ")+">"+t()+"</style>"}},rt=function(t,e){return function(){var r,n=((r={})[M]=K(e),r["data-styled-version"]="4.4.1",r),i=G();return i&&(n.nonce=i),c.a.createElement("style",g({},n,{dangerouslySetInnerHTML:{__html:t()}}))}},nt=function(t){return function(){return Object.keys(t)}},it=function(t,e){return t.createTextNode(Q(e))},ot=function t(e,r){var n=void 0===e?Object.create(null):e,i=void 0===r?Object.create(null):r,o=function(t){var e=i[t];return void 0!==e?e:i[t]=[""]},a=function(){var t="";for(var e in i){var r=i[e][0];r&&(t+=Q(e)+r)}return t};return{clone:function(){var e=function(t){var e=Object.create(null);for(var r in t)e[r]=g({},t[r]);return e}(n),r=Object.create(null);for(var o in i)r[o]=[i[o][0]];return t(e,r)},css:a,getIds:nt(i),hasNameForId:$(n),insertMarker:o,insertRules:function(t,e,r){o(t)[0]+=e.join(" "),Y(n,t,r)},removeRules:function(t){var e=i[t];void 0!==e&&(e[0]="",X(n,t))},sealed:!1,styleTag:null,toElement:rt(a,n),toHTML:et(a,n)}},at=function(t,e,r,n,i){if(C&&!r){var o=function(t,e,r){var n=document;t?n=t.ownerDocument:e&&(n=e.ownerDocument);var i=n.createElement("style");i.setAttribute(M,""),i.setAttribute("data-styled-version","4.4.1");var o=G();if(o&&i.setAttribute("nonce",o),i.appendChild(n.createTextNode("")),t&&!e)t.appendChild(i);else{if(!e||!t||!e.parentNode)throw new T(6);e.parentNode.insertBefore(i,r?e:e.nextSibling)}return i}(t,e,n);return j?function(t,e){var r=Object.create(null),n=Object.create(null),i=void 0!==e,o=!1,a=function(e){var i=n[e];return void 0!==i?i:(n[e]=it(t.ownerDocument,e),t.appendChild(n[e]),r[e]=Object.create(null),n[e])},s=function(){var t="";for(var e in n)t+=n[e].data;return t};return{clone:function(){throw new T(5)},css:s,getIds:nt(n),hasNameForId:$(r),insertMarker:a,insertRules:function(t,n,s){for(var c=a(t),u=[],l=n.length,f=0;f<l;f+=1){var h=n[f],d=i;if(d&&-1!==h.indexOf("@import"))u.push(h);else{d=!1;var p=f===l-1?"":" ";c.appendData(""+h+p)}}Y(r,t,s),i&&u.length>0&&(o=!0,e().insertRules(t+"-import",u))},removeRules:function(a){var s=n[a];if(void 0!==s){var c=it(t.ownerDocument,a);t.replaceChild(c,s),n[a]=c,X(r,a),i&&o&&e().removeRules(a+"-import")}},sealed:!1,styleTag:t,toElement:rt(s,r),toHTML:et(s,r)}}(o,i):function(t,e){var r=Object.create(null),n=Object.create(null),i=[],o=void 0!==e,a=!1,s=function(t){var e=n[t];return void 0!==e?e:(n[t]=i.length,i.push(0),X(r,t),n[t])},c=function(){var e=Z(t).cssRules,r="";for(var o in n){r+=Q(o);for(var a=n[o],s=tt(i,a),c=s-i[a];c<s;c+=1){var u=e[c];void 0!==u&&(r+=u.cssText)}}return r};return{clone:function(){throw new T(5)},css:c,getIds:nt(n),hasNameForId:$(r),insertMarker:s,insertRules:function(n,c,u){for(var l=s(n),f=Z(t),h=tt(i,l),d=0,p=[],m=c.length,b=0;b<m;b+=1){var v=c[b],g=o;g&&-1!==v.indexOf("@import")?p.push(v):J(f,v,h+d)&&(g=!1,d+=1)}o&&p.length>0&&(a=!0,e().insertRules(n+"-import",p)),i[l]+=d,Y(r,n,u)},removeRules:function(s){var c=n[s];if(void 0!==c&&!1!==t.isConnected){var u=i[c];!function(t,e,r){for(var n=e-r,i=e;i>n;i-=1)t.deleteRule(i)}(Z(t),tt(i,c)-1,u),i[c]=0,X(r,s),o&&a&&e().removeRules(s+"-import")}},sealed:!1,styleTag:t,toElement:rt(c,r),toHTML:et(c,r)}}(o,i)}return ot()},st=/\s+/,ct=void 0;ct=C?j?40:1e3:-1;var ut=0,lt=void 0,ft=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];b(this,t),this.getImportRuleTag=function(){var t=e.importRuleTag;if(void 0!==t)return t;var r=e.tags[0];return e.importRuleTag=at(e.target,r?r.styleTag:null,e.forceServer,!0)},ut+=1,this.id=ut,this.forceServer=n,this.target=n?null:r,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return t.prototype.rehydrate=function(){if(!C||this.forceServer)return this;var t=[],e=[],r=!1,n=document.querySelectorAll("style["+M+'][data-styled-version="4.4.1"]'),i=n.length;if(!i)return this;for(var o=0;o<i;o+=1){var a=n[o];r||(r=!!a.getAttribute("data-styled-streamed"));for(var s,c=(a.getAttribute(M)||"").trim().split(st),u=c.length,l=0;l<u;l+=1)s=c[l],this.rehydratedNames[s]=!0;e.push.apply(e,D(a.textContent)),t.push(a)}var f=e.length;if(!f)return this;var h=this.makeTag(null);!function(t,e,r){for(var n=0,i=r.length;n<i;n+=1){var o=r[n],a=o.componentId,s=o.cssFromDOM,c=q(s);t.insertRules(a,c)}for(var u=0,l=e.length;u<l;u+=1){var f=e[u];f.parentNode&&f.parentNode.removeChild(f)}}(h,t,e),this.capacity=Math.max(1,ct-f),this.tags.push(h);for(var d=0;d<f;d+=1)this.tagMap[e[d].componentId]=h;return this},t.reset=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];lt=new t(void 0,e).rehydrate()},t.prototype.clone=function(){var e=new t(this.target,this.forceServer);return this.clones.push(e),e.tags=this.tags.map((function(t){for(var r=t.getIds(),n=t.clone(),i=0;i<r.length;i+=1)e.tagMap[r[i]]=n;return n})),e.rehydratedNames=g({},this.rehydratedNames),e.deferred=g({},this.deferred),e},t.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(t){t.sealed=!0}))},t.prototype.makeTag=function(t){var e=t?t.styleTag:null;return at(this.target,e,this.forceServer,!1,this.getImportRuleTag)},t.prototype.getTagForId=function(t){var e=this.tagMap[t];if(void 0!==e&&!e.sealed)return e;var r=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=ct,r=this.makeTag(r),this.tags.push(r)),this.tagMap[t]=r},t.prototype.hasId=function(t){return void 0!==this.tagMap[t]},t.prototype.hasNameForId=function(t,e){if(void 0===this.ignoreRehydratedNames[t]&&this.rehydratedNames[e])return!0;var r=this.tagMap[t];return void 0!==r&&r.hasNameForId(t,e)},t.prototype.deferredInject=function(t,e){if(void 0===this.tagMap[t]){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].deferredInject(t,e);this.getTagForId(t).insertMarker(t),this.deferred[t]=e}},t.prototype.inject=function(t,e,r){for(var n=this.clones,i=0;i<n.length;i+=1)n[i].inject(t,e,r);var o=this.getTagForId(t);if(void 0!==this.deferred[t]){var a=this.deferred[t].concat(e);o.insertRules(t,a,r),this.deferred[t]=void 0}else o.insertRules(t,e,r)},t.prototype.remove=function(t){var e=this.tagMap[t];if(void 0!==e){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].remove(t);e.removeRules(t),this.ignoreRehydratedNames[t]=!0,this.deferred[t]=void 0}},t.prototype.toHTML=function(){return this.tags.map((function(t){return t.toHTML()})).join("")},t.prototype.toReactElements=function(){var t=this.id;return this.tags.map((function(e,r){var n="sc-"+t+"-"+r;return Object(s.cloneElement)(e.toElement(),{key:n})}))},v(t,null,[{key:"master",get:function(){return lt||(lt=(new t).rehydrate())}},{key:"instance",get:function(){return t.master}}]),t}(),ht=function(){function t(e,r){var n=this;b(this,t),this.inject=function(t){t.hasNameForId(n.id,n.name)||t.inject(n.id,n.rules,n.name)},this.toString=function(){throw new T(12,String(n.name))},this.name=e,this.rules=r,this.id="sc-keyframes-"+e}return t.prototype.getName=function(){return this.name},t}(),dt=/([A-Z])/g,pt=/^ms-/;function mt(t){return t.replace(dt,"-$1").toLowerCase().replace(pt,"-ms-")}var bt=function(t){return void 0===t||null===t||!1===t||""===t},vt=function t(e,r){var n=[];return Object.keys(e).forEach((function(r){if(!bt(e[r])){if(x(e[r]))return n.push.apply(n,t(e[r],r)),n;if(S(e[r]))return n.push(mt(r)+":",e[r],";"),n;n.push(mt(r)+": "+(i=r,(null==(o=e[r])||"boolean"===typeof o||""===o?"":"number"!==typeof o||0===o||i in u.a?String(o).trim():o+"px")+";"))}var i,o;return n})),r?[r+" {"].concat(n,["}"]):n};function gt(t,e,r){if(Array.isArray(t)){for(var n,i=[],o=0,a=t.length;o<a;o+=1)null!==(n=gt(t[o],e,r))&&(Array.isArray(n)?i.push.apply(i,n):i.push(n));return i}return bt(t)?null:E(t)?"."+t.styledComponentId:S(t)?"function"!==typeof(s=t)||s.prototype&&s.prototype.isReactComponent||!e?t:gt(t(e),e,r):t instanceof ht?r?(t.inject(r),t.getName()):t:x(t)?vt(t):t.toString();var s}function yt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return S(t)||x(t)?gt(p(O,[t].concat(r))):gt(p(t,r))}function wt(t){for(var e,r=0|t.length,n=0|r,i=0;r>=4;)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+((1540483477*(e>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(e=1540483477*(65535&(e^=e>>>24))+((1540483477*(e>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+((1540483477*(n>>>16)&65535)<<16)}return((n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16))^n>>>15)>>>0}var xt=function(t){return String.fromCharCode(t+(t>25?39:97))};function Ot(t){var e="",r=void 0;for(r=t;r>52;r=Math.floor(r/52))e=xt(r%52)+e;return xt(r%52)+e}function _t(t,e){for(var r=0;r<t.length;r+=1){var n=t[r];if(Array.isArray(n)&&!_t(n,e))return!1;if(S(n)&&!E(n))return!1}return!e.some((function(t){return S(t)||function(t){for(var e in t)if(S(t[e]))return!0;return!1}(t)}))}var St,kt=function(t){return Ot(wt(t))},Et=function(){function t(e,r,n){b(this,t),this.rules=e,this.isStatic=_t(e,r),this.componentId=n,ft.master.hasId(n)||ft.master.deferredInject(n,[])}return t.prototype.generateAndInjectStyles=function(t,e){var r=this.isStatic,n=this.componentId,i=this.lastClassName;if(C&&r&&"string"===typeof i&&e.hasNameForId(n,i))return i;var o=gt(this.rules,t,e),a=kt(this.componentId+o.join(""));return e.hasNameForId(n,a)||e.inject(this.componentId,V(o,"."+a,void 0,n),a),this.lastClassName=a,a},t.generateName=function(t){return kt(t)},t}(),Mt=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_,n=!!r&&t.theme===r.theme,i=t.theme&&!n?t.theme:e||r.theme;return i},Ct=/[[\].#*$><+~=|^:(),"'`-]+/g,jt=/(^-|-$)/g;function At(t){return t.replace(Ct,"-").replace(jt,"")}function Tt(t){return"string"===typeof t&&!0}var Pt={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Dt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Rt=((St={})[l.ForwardRef]={$$typeof:!0,render:!0},St),Lt=Object.defineProperty,It=Object.getOwnPropertyNames,Nt=Object.getOwnPropertySymbols,Ft=void 0===Nt?function(){return[]}:Nt,Bt=Object.getOwnPropertyDescriptor,zt=Object.getPrototypeOf,Ht=Object.prototype,Ut=Array.prototype;function Wt(t,e,r){if("string"!==typeof e){var n=zt(e);n&&n!==Ht&&Wt(t,n,r);for(var i=Ut.concat(It(e),Ft(e)),o=Rt[t.$$typeof]||Pt,a=Rt[e.$$typeof]||Pt,s=i.length,c=void 0,u=void 0;s--;)if(u=i[s],!Dt[u]&&(!r||!r[u])&&(!a||!a[u])&&(!o||!o[u])&&(c=Bt(e,u)))try{Lt(t,u,c)}catch(l){}return t}return t}var qt=Object(s.createContext)(),Vt=qt.Consumer,Gt=function(t){function e(r){b(this,e);var n=w(this,t.call(this,r));return n.getContext=Object(f.default)(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}return y(e,t),e.prototype.render=function(){return this.props.children?c.a.createElement(qt.Consumer,null,this.renderInner):null},e.prototype.renderInner=function(t){var e=this.getContext(this.props.theme,t);return c.a.createElement(qt.Provider,{value:e},this.props.children)},e.prototype.getTheme=function(t,e){if(S(t))return t(e);if(null===t||Array.isArray(t)||"object"!==("undefined"===typeof t?"undefined":m(t)))throw new T(8);return g({},e,t)},e.prototype.getContext=function(t,e){return this.getTheme(t,e)},e}(s.Component),Yt=function(){function t(){b(this,t),this.masterSheet=ft.master,this.instance=this.masterSheet.clone(),this.sealed=!1}return t.prototype.seal=function(){if(!this.sealed){var t=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(t,1),this.sealed=!0}},t.prototype.collectStyles=function(t){if(this.sealed)throw new T(2);return c.a.createElement(Kt,{sheet:this.instance},t)},t.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},t.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},t.prototype.interleaveWithNodeStream=function(t){throw new T(3)},t}(),Xt=Object(s.createContext)(),$t=Xt.Consumer,Kt=function(t){function e(r){b(this,e);var n=w(this,t.call(this,r));return n.getContext=Object(f.default)(n.getContext),n}return y(e,t),e.prototype.getContext=function(t,e){if(t)return t;if(e)return new ft(e);throw new T(4)},e.prototype.render=function(){var t=this.props,e=t.children,r=t.sheet,n=t.target;return c.a.createElement(Xt.Provider,{value:this.getContext(r,n)},e)},e}(s.Component),Zt={};var Jt=function(t){function e(){b(this,e);var r=w(this,t.call(this));return r.attrs={},r.renderOuter=r.renderOuter.bind(r),r.renderInner=r.renderInner.bind(r),r}return y(e,t),e.prototype.render=function(){return c.a.createElement($t,null,this.renderOuter)},e.prototype.renderOuter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ft.master;return this.styleSheet=t,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():c.a.createElement(Vt,null,this.renderInner)},e.prototype.renderInner=function(t){var e=this.props.forwardedComponent,r=e.componentStyle,n=e.defaultProps,i=(e.displayName,e.foldedComponentIds),o=e.styledComponentId,a=e.target,c=void 0;c=r.isStatic?this.generateAndInjectStyles(_,this.props):this.generateAndInjectStyles(Mt(this.props,t,n)||_,this.props);var u=this.props.as||this.attrs.as||a,l=Tt(u),f={},d=g({},this.props,this.attrs),p=void 0;for(p in d)"forwardedComponent"!==p&&"as"!==p&&("forwardedRef"===p?f.ref=d[p]:"forwardedAs"===p?f.as=d[p]:l&&!Object(h.a)(p)||(f[p]=d[p]));return this.props.style&&this.attrs.style&&(f.style=g({},this.attrs.style,this.props.style)),f.className=Array.prototype.concat(i,o,c!==o?c:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(s.createElement)(u,f)},e.prototype.buildExecutionContext=function(t,e,r){var n=this,i=g({},e,{theme:t});return r.length?(this.attrs={},r.forEach((function(t){var e,r=t,o=!1,a=void 0,s=void 0;for(s in S(r)&&(r=r(i),o=!0),r)a=r[s],o||!S(a)||(e=a)&&e.prototype&&e.prototype.isReactComponent||E(a)||(a=a(i)),n.attrs[s]=a,i[s]=a})),i):i},e.prototype.generateAndInjectStyles=function(t,e){var r=e.forwardedComponent,n=r.attrs,i=r.componentStyle;r.warnTooManyClasses;return i.isStatic&&!n.length?i.generateAndInjectStyles(_,this.styleSheet):i.generateAndInjectStyles(this.buildExecutionContext(t,e,n),this.styleSheet)},e}(s.Component);function Qt(t,e,r){var n=E(t),i=!Tt(t),o=e.displayName,a=void 0===o?function(t){return Tt(t)?"styled."+t:"Styled("+k(t)+")"}(t):o,s=e.componentId,u=void 0===s?function(t,e,r){var n="string"!==typeof e?"sc":At(e),i=(Zt[n]||0)+1;Zt[n]=i;var o=n+"-"+t.generateName(n+i);return r?r+"-"+o:o}(Et,e.displayName,e.parentComponentId):s,l=e.ParentComponent,f=void 0===l?Jt:l,h=e.attrs,p=void 0===h?O:h,m=e.displayName&&e.componentId?At(e.displayName)+"-"+e.componentId:e.componentId||u,b=n&&t.attrs?Array.prototype.concat(t.attrs,p).filter(Boolean):p,v=new Et(n?t.componentStyle.rules.concat(r):r,b,m),y=void 0,w=function(t,e){return c.a.createElement(f,g({},t,{forwardedComponent:y,forwardedRef:e}))};return w.displayName=a,(y=c.a.forwardRef(w)).displayName=a,y.attrs=b,y.componentStyle=v,y.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):O,y.styledComponentId=m,y.target=n?t.target:t,y.withComponent=function(t){var n=e.componentId,i=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["componentId"]),o=n&&n+"-"+(Tt(t)?t:At(k(t)));return Qt(t,g({},i,{attrs:b,componentId:o,ParentComponent:f}),r)},Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?Object(d.a)(t.defaultProps,e):e}}),y.toString=function(){return"."+y.styledComponentId},i&&Wt(y,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),y}var te=function(t){return function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;if(!Object(l.isValidElementType)(r))throw new T(1,String(r));var i=function(){return e(r,n,yt.apply(void 0,arguments))};return i.withConfig=function(i){return t(e,r,g({},n,i))},i.attrs=function(i){return t(e,r,g({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(Qt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){te[t]=te(t)}));var ee=function(){function t(e,r){b(this,t),this.rules=e,this.componentId=r,this.isStatic=_t(e,O),ft.master.hasId(r)||ft.master.deferredInject(r,[])}return t.prototype.createStyles=function(t,e){var r=V(gt(this.rules,t,e),"");e.inject(this.componentId,r)},t.prototype.removeStyles=function(t){var e=this.componentId;t.hasId(e)&&t.remove(e)},t.prototype.renderStyles=function(t,e){this.removeStyles(e),this.createStyles(t,e)},t}();function re(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=yt.apply(void 0,[t].concat(r)),o="sc-global-"+wt(JSON.stringify(i)),a=new ee(i,o),s=function(t){function e(r){b(this,e);var n=w(this,t.call(this,r)),i=n.constructor,o=i.globalStyle,a=i.styledComponentId;return C&&(window.scCGSHMRCache[a]=(window.scCGSHMRCache[a]||0)+1),n.state={globalStyle:o,styledComponentId:a},n}return y(e,t),e.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},e.prototype.render=function(){var t=this;return c.a.createElement($t,null,(function(e){t.styleSheet=e||ft.master;var r=t.state.globalStyle;return r.isStatic?(r.renderStyles(A,t.styleSheet),null):c.a.createElement(Vt,null,(function(e){var n=t.constructor.defaultProps,i=g({},t.props);return"undefined"!==typeof e&&(i.theme=Mt(t.props,e,n)),r.renderStyles(i,t.styleSheet),null}))}))},e}(c.a.Component);return s.globalStyle=a,s.styledComponentId=o,s}C&&(window.scCGSHMRCache={});var ne=function(t){return t.replace(/\s|\\n/g,"")};function ie(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=yt.apply(void 0,[t].concat(r)),o=Ot(wt(ne(JSON.stringify(i))));return new ht(o,V(i,o,"@keyframes"))}var oe=function(t){var e=c.a.forwardRef((function(e,r){return c.a.createElement(Vt,null,(function(n){var i=t.defaultProps,o=Mt(e,n,i);return c.a.createElement(t,g({},e,{theme:o,ref:r}))}))}));return Wt(e,t),e.displayName="WithTheme("+k(t)+")",e},ae={StyleSheet:ft};e.default=te}.call(this,r(112))},function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return p.a})),r.d(e,"x",(function(){return m.a})),r.d(e,"C",(function(){return y})),r.d(e,"c",(function(){return E})),r.d(e,"E",(function(){return E})),r.d(e,"y",(function(){return k})),r.d(e,"F",(function(){return k})),r.d(e,"D",(function(){return M})),r.d(e,"z",(function(){return L})),r.d(e,"B",(function(){return I})),r.d(e,"A",(function(){return N})),r.d(e,"S",(function(){return F.a})),r.d(e,"ab",(function(){return F.b})),r.d(e,"T",(function(){return B.a})),r.d(e,"U",(function(){return z.a})),r.d(e,"V",(function(){return H.a})),r.d(e,"W",(function(){return U.a})),r.d(e,"X",(function(){return W.a})),r.d(e,"Y",(function(){return q.a})),r.d(e,"Z",(function(){return V.a})),r.d(e,"e",(function(){return G.a})),r.d(e,"f",(function(){return Y.a})),r.d(e,"d",(function(){return X.b})),r.d(e,"g",(function(){return J})),r.d(e,"h",(function(){return Q})),r.d(e,"i",(function(){return et})),r.d(e,"k",(function(){return st})),r.d(e,"l",(function(){return ut})),r.d(e,"j",(function(){return ot})),r.d(e,"n",(function(){return pt})),r.d(e,"o",(function(){return bt})),r.d(e,"m",(function(){return ht})),r.d(e,"q",(function(){return vt.a})),r.d(e,"p",(function(){return w.a})),r.d(e,"r",(function(){return gt.a})),r.d(e,"s",(function(){return gt.b})),r.d(e,"t",(function(){return yt.a})),r.d(e,"u",(function(){return wt.a})),r.d(e,"v",(function(){return wt.b})),r.d(e,"w",(function(){return wt.c})),r.d(e,"G",(function(){return xt.a})),r.d(e,"I",(function(){return Ot.a})),r.d(e,"H",(function(){return _t})),r.d(e,"J",(function(){return St.a})),r.d(e,"K",(function(){return kt.a})),r.d(e,"L",(function(){return Et.a})),r.d(e,"M",(function(){return Ct})),r.d(e,"N",(function(){return At})),r.d(e,"O",(function(){return Pt})),r.d(e,"P",(function(){return Dt})),r.d(e,"Q",(function(){return Mt.a})),r.d(e,"R",(function(){return Rt}));var n=r(428),i=r(59),o=r(34);function a(t){return t.innerRadius}function s(t){return t.outerRadius}function c(t){return t.startAngle}function u(t){return t.endAngle}function l(t){return t&&t.padAngle}function f(t,e,r,n,i,a,s,c){var u=r-t,l=n-e,f=s-i,h=c-a,d=h*u-f*l;if(!(d*d<o.f))return[t+(d=(f*(e-a)-h*(t-i))/d)*u,e+d*l]}function h(t,e,r,n,i,a,s){var c=t-r,u=e-n,l=(s?a:-a)/Object(o.l)(c*c+u*u),f=l*u,h=-l*c,d=t+f,p=e+h,m=r+f,b=n+h,v=(d+m)/2,g=(p+b)/2,y=m-d,w=b-p,x=y*y+w*w,O=i-a,_=d*b-m*p,S=(w<0?-1:1)*Object(o.l)(Object(o.h)(0,O*O*x-_*_)),k=(_*w-y*S)/x,E=(-_*y-w*S)/x,M=(_*w+y*S)/x,C=(-_*y+w*S)/x,j=k-v,A=E-g,T=M-v,P=C-g;return j*j+A*A>T*T+P*P&&(k=M,E=C),{cx:k,cy:E,x01:-f,y01:-h,x11:k*(i/O-1),y11:E*(i/O-1)}}var d=function(){var t=a,e=s,r=Object(i.a)(0),d=null,p=c,m=u,b=l,v=null;function g(){var i,a,s=+t.apply(this,arguments),c=+e.apply(this,arguments),u=p.apply(this,arguments)-o.g,l=m.apply(this,arguments)-o.g,g=Object(o.a)(l-u),y=l>u;if(v||(v=i=Object(n.a)()),c<s&&(a=c,c=s,s=a),c>o.f)if(g>o.m-o.f)v.moveTo(c*Object(o.e)(u),c*Object(o.k)(u)),v.arc(0,0,c,u,l,!y),s>o.f&&(v.moveTo(s*Object(o.e)(l),s*Object(o.k)(l)),v.arc(0,0,s,l,u,y));else{var w,x,O=u,_=l,S=u,k=l,E=g,M=g,C=b.apply(this,arguments)/2,j=C>o.f&&(d?+d.apply(this,arguments):Object(o.l)(s*s+c*c)),A=Object(o.i)(Object(o.a)(c-s)/2,+r.apply(this,arguments)),T=A,P=A;if(j>o.f){var D=Object(o.c)(j/s*Object(o.k)(C)),R=Object(o.c)(j/c*Object(o.k)(C));(E-=2*D)>o.f?(S+=D*=y?1:-1,k-=D):(E=0,S=k=(u+l)/2),(M-=2*R)>o.f?(O+=R*=y?1:-1,_-=R):(M=0,O=_=(u+l)/2)}var L=c*Object(o.e)(O),I=c*Object(o.k)(O),N=s*Object(o.e)(k),F=s*Object(o.k)(k);if(A>o.f){var B,z=c*Object(o.e)(_),H=c*Object(o.k)(_),U=s*Object(o.e)(S),W=s*Object(o.k)(S);if(g<o.j&&(B=f(L,I,U,W,z,H,N,F))){var q=L-B[0],V=I-B[1],G=z-B[0],Y=H-B[1],X=1/Object(o.k)(Object(o.b)((q*G+V*Y)/(Object(o.l)(q*q+V*V)*Object(o.l)(G*G+Y*Y)))/2),$=Object(o.l)(B[0]*B[0]+B[1]*B[1]);T=Object(o.i)(A,(s-$)/(X-1)),P=Object(o.i)(A,(c-$)/(X+1))}}M>o.f?P>o.f?(w=h(U,W,L,I,c,P,y),x=h(z,H,N,F,c,P,y),v.moveTo(w.cx+w.x01,w.cy+w.y01),P<A?v.arc(w.cx,w.cy,P,Object(o.d)(w.y01,w.x01),Object(o.d)(x.y01,x.x01),!y):(v.arc(w.cx,w.cy,P,Object(o.d)(w.y01,w.x01),Object(o.d)(w.y11,w.x11),!y),v.arc(0,0,c,Object(o.d)(w.cy+w.y11,w.cx+w.x11),Object(o.d)(x.cy+x.y11,x.cx+x.x11),!y),v.arc(x.cx,x.cy,P,Object(o.d)(x.y11,x.x11),Object(o.d)(x.y01,x.x01),!y))):(v.moveTo(L,I),v.arc(0,0,c,O,_,!y)):v.moveTo(L,I),s>o.f&&E>o.f?T>o.f?(w=h(N,F,z,H,s,-T,y),x=h(L,I,U,W,s,-T,y),v.lineTo(w.cx+w.x01,w.cy+w.y01),T<A?v.arc(w.cx,w.cy,T,Object(o.d)(w.y01,w.x01),Object(o.d)(x.y01,x.x01),!y):(v.arc(w.cx,w.cy,T,Object(o.d)(w.y01,w.x01),Object(o.d)(w.y11,w.x11),!y),v.arc(0,0,s,Object(o.d)(w.cy+w.y11,w.cx+w.x11),Object(o.d)(x.cy+x.y11,x.cx+x.x11),y),v.arc(x.cx,x.cy,T,Object(o.d)(x.y11,x.x11),Object(o.d)(x.y01,x.x01),!y))):v.arc(0,0,s,k,S,y):v.lineTo(N,F)}else v.moveTo(0,0);if(v.closePath(),i)return v=null,i+""||null}return g.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+p.apply(this,arguments)+ +m.apply(this,arguments))/2-o.j/2;return[Object(o.e)(n)*r,Object(o.k)(n)*r]},g.innerRadius=function(e){return arguments.length?(t="function"===typeof e?e:Object(i.a)(+e),g):t},g.outerRadius=function(t){return arguments.length?(e="function"===typeof t?t:Object(i.a)(+t),g):e},g.cornerRadius=function(t){return arguments.length?(r="function"===typeof t?t:Object(i.a)(+t),g):r},g.padRadius=function(t){return arguments.length?(d=null==t?null:"function"===typeof t?t:Object(i.a)(+t),g):d},g.startAngle=function(t){return arguments.length?(p="function"===typeof t?t:Object(i.a)(+t),g):p},g.endAngle=function(t){return arguments.length?(m="function"===typeof t?t:Object(i.a)(+t),g):m},g.padAngle=function(t){return arguments.length?(b="function"===typeof t?t:Object(i.a)(+t),g):b},g.context=function(t){return arguments.length?(v=null==t?null:t,g):v},g},p=r(296),m=r(325),b=r(224),v=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},g=function(t){return t},y=function(){var t=g,e=v,r=null,n=Object(i.a)(0),a=Object(i.a)(o.m),s=Object(i.a)(0);function c(i){var c,u,l,f,h,d=(i=Object(b.a)(i)).length,p=0,m=new Array(d),v=new Array(d),g=+n.apply(this,arguments),y=Math.min(o.m,Math.max(-o.m,a.apply(this,arguments)-g)),w=Math.min(Math.abs(y)/d,s.apply(this,arguments)),x=w*(y<0?-1:1);for(c=0;c<d;++c)(h=v[m[c]=c]=+t(i[c],c,i))>0&&(p+=h);for(null!=e?m.sort((function(t,r){return e(v[t],v[r])})):null!=r&&m.sort((function(t,e){return r(i[t],i[e])})),c=0,l=p?(y-d*x)/p:0;c<d;++c,g=f)u=m[c],f=g+((h=v[u])>0?h*l:0)+x,v[u]={data:i[u],index:c,value:h,startAngle:g,endAngle:f,padAngle:w};return v}return c.value=function(e){return arguments.length?(t="function"===typeof e?e:Object(i.a)(+e),c):t},c.sortValues=function(t){return arguments.length?(e=t,r=null,c):e},c.sort=function(t){return arguments.length?(r=t,e=null,c):r},c.startAngle=function(t){return arguments.length?(n="function"===typeof t?t:Object(i.a)(+t),c):n},c.endAngle=function(t){return arguments.length?(a="function"===typeof t?t:Object(i.a)(+t),c):a},c.padAngle=function(t){return arguments.length?(s="function"===typeof t?t:Object(i.a)(+t),c):s},c},w=r(223),x=_(w.a);function O(t){this._curve=t}function _(t){function e(e){return new O(t(e))}return e._curve=t,e}function S(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(_(t)):e()._curve},t}O.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var k=function(){return S(Object(m.a)().curve(x))},E=function(){var t=Object(p.a)().curve(x),e=t.curve,r=t.lineX0,n=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return S(r())},delete t.lineX0,t.lineEndAngle=function(){return S(n())},delete t.lineX1,t.lineInnerRadius=function(){return S(i())},delete t.lineY0,t.lineOuterRadius=function(){return S(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(_(t)):e()._curve},t},M=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]},C=r(256);function j(t){return t.source}function A(t){return t.target}function T(t){var e=j,r=A,o=C.a,a=C.b,s=null;function c(){var i,c=b.b.call(arguments),u=e.apply(this,c),l=r.apply(this,c);if(s||(s=i=Object(n.a)()),t(s,+o.apply(this,(c[0]=u,c)),+a.apply(this,c),+o.apply(this,(c[0]=l,c)),+a.apply(this,c)),i)return s=null,i+""||null}return c.source=function(t){return arguments.length?(e=t,c):e},c.target=function(t){return arguments.length?(r=t,c):r},c.x=function(t){return arguments.length?(o="function"===typeof t?t:Object(i.a)(+t),c):o},c.y=function(t){return arguments.length?(a="function"===typeof t?t:Object(i.a)(+t),c):a},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}function P(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e=(e+n)/2,r,e,i,n,i)}function D(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e,r=(r+i)/2,n,r,n,i)}function R(t,e,r,n,i){var o=M(e,r),a=M(e,r=(r+i)/2),s=M(n,r),c=M(n,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],c[0],c[1])}function L(){return T(P)}function I(){return T(D)}function N(){var t=T(R);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var F=r(501),B=r(334),z=r(415),H=r(416),U=r(417),W=r(418),q=r(419),V=r(420),G=r(639),Y=r(640),X=r(225),$=r(45),K=r(46),Z=function(){function t(e,r){Object($.a)(this,t),this._context=e,this._x=r}return Object(K.a)(t,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}]),t}();function J(t){return new Z(t,!0)}function Q(t){return new Z(t,!1)}function tt(t,e){this._basis=new X.a(t),this._beta=e}tt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n,i=t[0],o=e[0],a=t[r]-i,s=e[r]-o,c=-1;++c<=r;)n=c/r,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+n*a),this._beta*e[c]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var et=function t(e){function r(t){return 1===e?new X.a(t):new tt(t,e)}return r.beta=function(e){return t(+e)},r}(.85),rt=r(199);function nt(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function it(t,e){this._context=t,this._k=(1-e)/6}it.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:nt(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:nt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ot=function t(e){function r(t){return new it(t,e)}return r.tension=function(e){return t(+e)},r}(0);function at(t,e){this._context=t,this._k=(1-e)/6}at.prototype={areaStart:rt.a,areaEnd:rt.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:nt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var st=function t(e){function r(t){return new at(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ct(t,e){this._context=t,this._k=(1-e)/6}ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:nt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ut=function t(e){function r(t){return new ct(t,e)}return r.tension=function(e){return t(+e)},r}(0);function lt(t,e,r){var n=t._x1,i=t._y1,a=t._x2,s=t._y2;if(t._l01_a>o.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>o.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-e*t._l12_2a)/f,s=(s*l+t._y1*t._l23_2a-r*t._l12_2a)/f}t._context.bezierCurveTo(n,i,a,s,t._x2,t._y2)}function ft(t,e){this._context=t,this._alpha=e}ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:lt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ht=function t(e){function r(t){return e?new ft(t,e):new it(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function dt(t,e){this._context=t,this._alpha=e}dt.prototype={areaStart:rt.a,areaEnd:rt.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:lt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var pt=function t(e){function r(t){return e?new dt(t,e):new at(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function mt(t,e){this._context=t,this._alpha=e}mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:lt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var bt=function t(e){function r(t){return e?new mt(t,e):new ct(t,0)}return r.alpha=function(e){return t(+e)},r}(.5),vt=r(641),gt=r(421),yt=r(642),wt=r(326),xt=r(787),Ot=r(788),_t=function(t,e){if((s=t.length)>0)for(var r,n,i,o,a,s,c=0,u=t[e[0]].length;c<u;++c)for(o=a=0,r=0;r<s;++r)(i=(n=t[e[r]][c])[1]-n[0])>0?(n[0]=o,n[1]=o+=i):i<0?(n[1]=a,n[0]=a+=i):(n[0]=0,n[1]=i)},St=r(205),kt=r(789),Et=r(790),Mt=r(204),Ct=function(t){var e=t.map(jt);return Object(Mt.a)(t).sort((function(t,r){return e[t]-e[r]}))};function jt(t){for(var e,r=-1,n=0,i=t.length,o=-1/0;++r<i;)(e=+t[r][1])>o&&(o=e,n=r);return n}var At=function(t){var e=t.map(Tt);return Object(Mt.a)(t).sort((function(t,r){return e[t]-e[r]}))};function Tt(t){for(var e,r=0,n=-1,i=t.length;++n<i;)(e=+t[n][1])&&(r+=e);return r}var Pt=function(t){return At(t).reverse()},Dt=function(t){var e,r,n=t.length,i=t.map(Tt),o=Ct(t),a=0,s=0,c=[],u=[];for(e=0;e<n;++e)r=o[e],a<s?(a+=i[r],c.push(r)):(s+=i[r],u.push(r));return u.reverse().concat(c)},Rt=function(t){return Object(Mt.a)(t).reverse()}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a}));var n=r(29),i=r(87),o=Symbol("implicit");function a(){var t=new Map,e=[],r=[],s=o;function c(n){var i=n+"",a=t.get(i);if(!a){if(s!==o)return s;t.set(i,a=e.push(n))}return r[(a-1)%r.length]}return c.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new Map;var i,o=Object(n.a)(r);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a+"";t.has(s)||t.set(s,e.push(a))}}catch(u){o.e(u)}finally{o.f()}return c},c.range=function(t){return arguments.length?(r=Array.from(t),c):r.slice()},c.unknown=function(t){return arguments.length?(s=t,c):s},c.copy=function(){return a(e,r).unknown(s)},i.b.apply(c,arguments),c}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*i.b)}),(function(t,e){return(e-t)/i.b}),(function(t){return t.getUTCHours()}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*i.c)}),(function(t,e){return(e-t)/i.c}),(function(t){return t.getUTCMinutes()}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.e-t.getMinutes()*i.c)}),(function(t,e){t.setTime(+t+e*i.b)}),(function(t,e){return(e-t)/i.b}),(function(t){return t.getHours()}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.e)}),(function(t,e){t.setTime(+t+e*i.c)}),(function(t,e){return(e-t)/i.c}),(function(t){return t.getMinutes()}));e.a=o;var a=o.range},function(t,e,r){"use strict";e.a=function(t){var e=Object.create(null);return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}},function(t,e,r){"use strict";e.a=function(t){var e=new WeakMap;return function(r){if(e.has(r))return e.get(r);var n=t(r);return e.set(r,n),n}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(29);function i(t,e){var r;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(r<a||void 0===r&&a>=a)&&(r=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(n.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(r<l||void 0===r&&l>=l)&&(r=l)}}catch(f){u.e(f)}finally{u.f()}}return r}},function(t,e,r){"use strict";e.a={draw:function(t,e){var r=Math.sqrt(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}}},function(t,e,r){"use strict";var n=Math.sqrt(1/3),i=2*n;e.a={draw:function(t,e){var r=Math.sqrt(e/i),o=r*n;t.moveTo(0,-r),t.lineTo(o,0),t.lineTo(0,r),t.lineTo(-o,0),t.closePath()}}},function(t,e,r){"use strict";e.a={draw:function(t,e){var r=Math.sqrt(e),n=-r/2;t.rect(n,n,r,r)}}},function(t,e,r){"use strict";var n=r(34),i=Math.sin(n.j/10)/Math.sin(7*n.j/10),o=Math.sin(n.m/10)*i,a=-Math.cos(n.m/10)*i;e.a={draw:function(t,e){var r=Math.sqrt(.8908130915292852*e),i=o*r,s=a*r;t.moveTo(0,-r),t.lineTo(i,s);for(var c=1;c<5;++c){var u=n.m*c/5,l=Math.cos(u),f=Math.sin(u);t.lineTo(f*r,-l*r),t.lineTo(l*i-f*s,f*i+l*s)}t.closePath()}}},function(t,e,r){"use strict";var n=Math.sqrt(3);e.a={draw:function(t,e){var r=-Math.sqrt(e/(3*n));t.moveTo(0,2*r),t.lineTo(-n*r,-r),t.lineTo(n*r,-r),t.closePath()}}},function(t,e,r){"use strict";var n=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),a=3*(o/2+1);e.a={draw:function(t,e){var r=Math.sqrt(e/a),s=r/2,c=r*o,u=s,l=r*o+r,f=-u,h=l;t.moveTo(s,c),t.lineTo(u,l),t.lineTo(f,h),t.lineTo(n*s-i*c,i*s+n*c),t.lineTo(n*u-i*l,i*u+n*l),t.lineTo(n*f-i*h,i*f+n*h),t.lineTo(n*s+i*c,n*c-i*s),t.lineTo(n*u+i*l,n*l-i*u),t.lineTo(n*f+i*h,n*h-i*f),t.closePath()}}},function(t,e,r){"use strict";function n(t){return t<0?-1:1}function i(t,e,r){var i=t._x1-t._x0,o=e-t._x1,a=(t._y1-t._y0)/(i||o<0&&-0),s=(r-t._y1)/(o||i<0&&-0),c=(a*o+s*i)/(i+o);return(n(a)+n(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(c))||0}function o(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function a(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-n)/3;t._context.bezierCurveTo(n+s,i+s*e,o-s,a-s*r,o,a)}function s(t){this._context=t}function c(t){this._context=new u(t)}function u(t){this._context=t}function l(t){return new s(t)}function f(t){return new c(t)}r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return f})),s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,a(this,o(this,r=i(this,t,e)),r);break;default:a(this,this._t0,r=i(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(c.prototype=Object.create(s.prototype)).point=function(t,e){s.prototype.point.call(this,e,t)},u.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}}},function(t,e,r){"use strict";var n=r(792);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return i.SwipeableViewsContext}});var i=n(r(1198))},function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(1322),i=r(878),o=Object(n.a)();e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return Object(i.a)(t)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return s}));var n=r(12),i=r.n(n),o=r(29),a=i.a.mark(s);function s(t,e){var r,n,s,c,u,l,f;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(void 0!==e){i.next=21;break}r=Object(o.a)(t),i.prev=2,r.s();case 4:if((n=r.n()).done){i.next=11;break}if(!(null!=(s=n.value)&&(s=+s)>=s)){i.next=9;break}return i.next=9,s;case 9:i.next=4;break;case 11:i.next=16;break;case 13:i.prev=13,i.t0=i.catch(2),r.e(i.t0);case 16:return i.prev=16,r.f(),i.finish(16);case 19:i.next=40;break;case 21:c=-1,u=Object(o.a)(t),i.prev=23,u.s();case 25:if((l=u.n()).done){i.next=32;break}if(f=l.value,!(null!=(f=e(f,++c,t))&&(f=+f)>=f)){i.next=30;break}return i.next=30,f;case 30:i.next=25;break;case 32:i.next=37;break;case 34:i.prev=34,i.t1=i.catch(23),u.e(i.t1);case 37:return i.prev=37,u.f(),i.finish(37);case 40:case"end":return i.stop()}}),a,null,[[2,13,16,19],[23,34,37,40]])}e.a=function(t){return null===t?NaN:+t}},function(t,e,r){"use strict";var n=Math.PI,i=2*n,o=i-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new a}a.prototype=s.prototype={constructor:a,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,r,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(t,e,r,n,i,o){this._+="C"+ +t+","+ +e+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,r,i,o){t=+t,e=+e,r=+r,i=+i,o=+o;var a=this._x1,s=this._y1,c=r-t,u=i-e,l=a-t,f=s-e,h=l*l+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>1e-6)if(Math.abs(f*c-u*l)>1e-6&&o){var d=r-a,p=i-s,m=c*c+u*u,b=d*d+p*p,v=Math.sqrt(m),g=Math.sqrt(h),y=o*Math.tan((n-Math.acos((m+h-b)/(2*v*g)))/2),w=y/g,x=y/v;Math.abs(w-1)>1e-6&&(this._+="L"+(t+w*l)+","+(e+w*f)),this._+="A"+o+","+o+",0,0,"+ +(f*d>l*p)+","+(this._x1=t+x*c)+","+(this._y1=e+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,r,a,s,c){t=+t,e=+e,c=!!c;var u=(r=+r)*Math.cos(a),l=r*Math.sin(a),f=t+u,h=e+l,d=1^c,p=c?a-s:s-a;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),r&&(p<0&&(p=p%i+i),p>o?this._+="A"+r+","+r+",0,1,"+d+","+(t-u)+","+(e-l)+"A"+r+","+r+",0,1,"+d+","+(this._x1=f)+","+(this._y1=h):p>1e-6&&(this._+="A"+r+","+r+",0,"+ +(p>=n)+","+d+","+(this._x1=t+r*Math.cos(s))+","+(this._y1=e+r*Math.sin(s))))},rect:function(t,e,r,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}},e.a=s},function(t,e,r){"use strict";r(0);var n=r(49),i=r(6);e.a=Object(n.a)(Object(i.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},function(t,e,r){"use strict";r(0);var n=r(49),i=r(6);e.a=Object(n.a)(Object(i.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function l(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,l=t.className,f=t.style,h=u(t,["children","width","height","viewBox","className","style"]),d=o||{width:r,height:n,x:0,y:0},p=a()("recharts-surface",l);return i.a.createElement("svg",c({},Object(s.c)(h,!0,!0),{className:p,width:r,height:n,style:f,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height),version:"1.1"}),e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(98),i=r(363);var o=r(514);function a(t,e,r){return(a=Object(o.a)()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&Object(i.a)(o,r.prototype),o}).apply(null,arguments)}function s(t){var e="function"===typeof Map?new Map:void 0;return(s=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,o)}function o(){return a(t,arguments,Object(n.a)(this).constructor)}return o.prototype=Object.create(t.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Object(i.a)(o,t)})(t)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return B}));var n=r(44),i=r.n(n),o=r(381),a=r.n(o),s=r(0),c=r.n(s),u=r(55),l=r.n(u),f=r(431),h=r(545),d=r(42);function p(t){return(p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(){return(m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=_(t);if(e){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return O(this,r)}}function O(t,e){return!e||"object"!==p(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(o,t);var e,r,n,i=x(o);function o(){return g(this,o),i.apply(this,arguments)}return e=o,(r=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=t.inactive?e:t.color;if("plainline"===t.type)return c.a.createElement("line",{strokeWidth:4,fill:"none",stroke:r,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return c.a.createElement("path",{strokeWidth:4,fill:"none",stroke:r,d:"M0,".concat(16,"h").concat(32/3,"\n            A").concat(32/6,",").concat(32/6,",0,1,1,").concat(32/3*2,",").concat(16,"\n            H").concat(32,"M").concat(32/3*2,",").concat(16,"\n            A").concat(32/6,",").concat(32/6,",0,1,1,").concat(32/3,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return c.a.createElement("path",{stroke:"none",fill:r,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(c.a.isValidElement(t.legendIcon)){var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){v(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete n.legendIcon,c.a.cloneElement(t.legendIcon,n)}return c.a.createElement(h.a,{fill:r,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,i=e.layout,o=e.formatter,a=e.inactiveColor,s={x:0,y:0,width:32,height:32},u={display:"horizontal"===i?"inline-block":"block",marginRight:10},h={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var i,p=e.formatter||o,b=l()((v(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),v(i,"inactive",e.inactive),i));if("none"===e.type)return null;var g=e.inactive?a:e.color;return c.a.createElement("li",m({className:b,style:u,key:"legend-item-".concat(r)},Object(d.b)(t.props,e,r)),c.a.createElement(f.a,{width:n,height:n,viewBox:s,style:h},t.renderIcon(e)),c.a.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},p?p(e.value,e,r):e.value))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return c.a.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&y(e.prototype,r),n&&y(e,n),o}(s.PureComponent);S.displayName="Legend",S.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var k=r(17);function E(t){return(E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=L(t);if(e){var i=L(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return R(this,r)}}function R(t,e){return!e||"object"!==E(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function N(t){return t.value}function F(t,e){return!0===t?a()(e,N):i()(t)?a()(e,t):e}var B=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(a,t);var e,r,n,o=D(a);function a(){var t;A(this,a);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=a,n=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&Object(k.h)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;return e>=0&&r>=0?{width:e,height:r}:null}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,s=n.margin,c=n.chartWidth,u=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((c||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((u||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),C(C({},e),r)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-e)>1||Math.abs(i.height-r)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){n&&n(i)}))}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1},(function(){n&&n(null)}))}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,a=e.wrapperStyle,s=e.payloadUniqBy,u=e.payload,l=C(C({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return c.a.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(c.a.isValidElement(t))return c.a.cloneElement(t,e);if(i()(t))return c.a.createElement(t,e);e.ref;var r=I(e,["ref"]);return c.a.createElement(S,r)}(r,C(C({},this.props),{},{payload:F(s,u)})))}}])&&T(e.prototype,r),n&&T(e,n),a}(s.PureComponent);B.displayName="Legend",B.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}},function(t,e,r){"use strict";r.d(e,"c",(function(){return v})),r.d(e,"b",(function(){return y}));var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(24),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiNativeSelect",t)}var d=Object(f.a)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),p=r(13),m=r(6),b=["className","disabled","IconComponent","inputRef","variant"],v=function(t){var e,r=t.ownerState,i=t.theme;return Object(o.a)((e={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===i.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},Object(n.a)(e,"&.".concat(d.disabled),{cursor:"default"}),Object(n.a)(e,"&[multiple]",{height:"auto"}),Object(n.a)(e,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:i.palette.background.paper}),Object(n.a)(e,"&&&",{paddingRight:24,minWidth:16}),e),"filled"===r.variant&&{"&&&":{paddingRight:32}},"outlined"===r.variant&&{borderRadius:i.shape.borderRadius,"&:focus":{borderRadius:i.shape.borderRadius},"&&&":{paddingRight:32}})},g=Object(p.a)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:p.b,overridesResolver:function(t,e){var r=t.ownerState;return[e.select,e[r.variant],Object(n.a)({},"&.".concat(d.multiple),e.multiple)]}})(v),y=function(t){var e=t.ownerState,r=t.theme;return Object(o.a)(Object(n.a)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:r.palette.action.active},"&.".concat(d.disabled),{color:r.palette.action.disabled}),e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7})},w=Object(p.a)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(t,e){var r=t.ownerState;return[e.icon,r.variant&&e["icon".concat(Object(u.a)(r.variant))],r.open&&e.iconOpen]}})(y),x=a.forwardRef((function(t,e){var r=t.className,n=t.disabled,l=t.IconComponent,f=t.inputRef,d=t.variant,p=void 0===d?"standard":d,v=Object(i.a)(t,b),y=Object(o.a)({},t,{disabled:n,variant:p}),x=function(t){var e=t.classes,r=t.variant,n=t.disabled,i=t.multiple,o=t.open,a={select:["select",r,n&&"disabled",i&&"multiple"],icon:["icon","icon".concat(Object(u.a)(r)),o&&"iconOpen",n&&"disabled"]};return Object(c.a)(a,h,e)}(y);return Object(m.jsxs)(a.Fragment,{children:[Object(m.jsx)(g,Object(o.a)({ownerState:y,className:Object(s.a)(x.select,r),disabled:n,ref:f||e},v)),t.multiple?null:Object(m.jsx)(w,{as:l,ownerState:y,className:x.icon})]})}));e.a=x},function(t,e,r){"use strict";function n(t,e){"function"===typeof t?t(e):t&&(t.current=e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"b",(function(){return gt})),r.d(e,"a",(function(){return xt}));var n={},i=Uint8Array,o=Uint16Array,a=Uint32Array,s=new i([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),c=new i([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),u=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(t,e){for(var r=new o(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];var i=new a(r[30]);for(n=1;n<30;++n)for(var s=r[n];s<r[n+1];++s)i[s]=s-r[n]<<5|n;return[r,i]},f=l(s,2),h=f[0],d=f[1];h[28]=258,d[258]=28;for(var p=l(c,0),m=p[0],b=p[1],v=new o(32768),g=0;g<32768;++g){var y=(43690&g)>>>1|(21845&g)<<1;y=(61680&(y=(52428&y)>>>2|(13107&y)<<2))>>>4|(3855&y)<<4,v[g]=((65280&y)>>>8|(255&y)<<8)>>>1}var w=function(t,e,r){for(var n=t.length,i=0,a=new o(e);i<n;++i)++a[t[i]-1];var s,c=new o(e);for(i=0;i<e;++i)c[i]=c[i-1]+a[i-1]<<1;if(r){s=new o(1<<e);var u=15-e;for(i=0;i<n;++i)if(t[i])for(var l=i<<4|t[i],f=e-t[i],h=c[t[i]-1]++<<f,d=h|(1<<f)-1;h<=d;++h)s[v[h]>>>u]=l}else for(s=new o(n),i=0;i<n;++i)s[i]=v[c[t[i]-1]++]>>>15-t[i];return s},x=new i(288);for(g=0;g<144;++g)x[g]=8;for(g=144;g<256;++g)x[g]=9;for(g=256;g<280;++g)x[g]=7;for(g=280;g<288;++g)x[g]=8;var O=new i(32);for(g=0;g<32;++g)O[g]=5;var _=w(x,9,0),S=w(x,9,1),k=w(O,5,0),E=w(O,5,1),M=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},C=function(t,e,r){var n=e/8>>0;return(t[n]|t[n+1]<<8)>>>(7&e)&r},j=function(t,e){var r=e/8>>0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&e)},A=function(t){return(t/8>>0)+(7&t&&1)},T=function(t,e,r){(null==e||e<0)&&(e=0),(null==r||r>t.length)&&(r=t.length);var n=new(t instanceof o?o:t instanceof a?a:i)(r-e);return n.set(t.subarray(e,r)),n},P=function(t,e,r){var n=t.length,o=!e||r,a=!r||r.i;r||(r={}),e||(e=new i(3*n));var l=function(t){var r=e.length;if(t>r){var n=new i(Math.max(2*r,t));n.set(e),e=n}},f=r.f||0,d=r.p||0,p=r.b||0,b=r.l,v=r.d,g=r.m,y=r.n,x=8*n;do{if(!b){r.f=f=C(t,d,1);var O=C(t,d+1,3);if(d+=3,!O){var _=t[(H=A(d)+4)-4]|t[H-3]<<8,k=H+_;if(k>n){if(a)throw"unexpected EOF";break}o&&l(p+_),e.set(t.subarray(H,k),p),r.b=p+=_,r.p=d=8*k;continue}if(1==O)b=S,v=E,g=9,y=5;else{if(2!=O)throw"invalid block type";var P=C(t,d,31)+257,D=C(t,d+10,15)+4,R=P+C(t,d+5,31)+1;d+=14;for(var L=new i(R),I=new i(19),N=0;N<D;++N)I[u[N]]=C(t,d+3*N,7);d+=3*D;var F=M(I),B=(1<<F)-1;if(!a&&d+R*(F+7)>x)break;var z=w(I,F,1);for(N=0;N<R;){var H,U=z[C(t,d,B)];if(d+=15&U,(H=U>>>4)<16)L[N++]=H;else{var W=0,q=0;for(16==H?(q=3+C(t,d,3),d+=2,W=L[N-1]):17==H?(q=3+C(t,d,7),d+=3):18==H&&(q=11+C(t,d,127),d+=7);q--;)L[N++]=W}}var V=L.subarray(0,P),G=L.subarray(P);g=M(V),y=M(G),b=w(V,g,1),v=w(G,y,1)}if(d>x)throw"unexpected EOF"}o&&l(p+131072);for(var Y=(1<<g)-1,X=(1<<y)-1,$=g+y+18;a||d+$<x;){var K=(W=b[j(t,d)&Y])>>>4;if((d+=15&W)>x)throw"unexpected EOF";if(!W)throw"invalid length/literal";if(K<256)e[p++]=K;else{if(256==K){b=null;break}var Z=K-254;if(K>264){var J=s[N=K-257];Z=C(t,d,(1<<J)-1)+h[N],d+=J}var Q=v[j(t,d)&X],tt=Q>>>4;if(!Q)throw"invalid distance";d+=15&Q;G=m[tt];if(tt>3){J=c[tt];G+=j(t,d)&(1<<J)-1,d+=J}if(d>x)throw"unexpected EOF";o&&l(p+131072);for(var et=p+Z;p<et;p+=4)e[p]=e[p-G],e[p+1]=e[p+1-G],e[p+2]=e[p+2-G],e[p+3]=e[p+3-G];p=et}}r.l=b,r.p=d,r.b=p,b&&(f=1,r.m=g,r.d=v,r.n=y)}while(!f);return p==e.length?e:T(e,0,p)},D=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8},R=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},L=function(t,e){for(var r=[],n=0;n<t.length;++n)t[n]&&r.push({s:n,f:t[n]});var a=r.length,s=r.slice();if(!a)return[new i(0),0];if(1==a){var c=new i(r[0].s+1);return c[r[0].s]=1,[c,1]}r.sort((function(t,e){return t.f-e.f})),r.push({s:-1,f:25001});var u=r[0],l=r[1],f=0,h=1,d=2;for(r[0]={s:-1,f:u.f+l.f,l:u,r:l};h!=a-1;)u=r[r[f].f<r[d].f?f++:d++],l=r[f!=h&&r[f].f<r[d].f?f++:d++],r[h++]={s:-1,f:u.f+l.f,l:u,r:l};var p=s[0].s;for(n=1;n<a;++n)s[n].s>p&&(p=s[n].s);var m=new o(p+1),b=I(r[h-1],m,0);if(b>e){n=0;var v=0,g=b-e,y=1<<g;for(s.sort((function(t,e){return m[e.s]-m[t.s]||t.f-e.f}));n<a;++n){var w=s[n].s;if(!(m[w]>e))break;v+=y-(1<<b-m[w]),m[w]=e}for(v>>>=g;v>0;){var x=s[n].s;m[x]<e?v-=1<<e-m[x]++-1:++n}for(;n>=0&&v;--n){var O=s[n].s;m[O]==e&&(--m[O],++v)}b=e}return[new i(m),b]},I=function t(e,r,n){return-1==e.s?Math.max(t(e.l,r,n+1),t(e.r,r,n+1)):r[e.s]=n},N=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new o(++e),n=0,i=t[0],a=1,s=function(t){r[n++]=t},c=1;c<=e;++c)if(t[c]==i&&c!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=t[c]}return[r.subarray(0,n),e]},F=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},B=function(t,e,r){var n=r.length,i=A(e+2);t[i]=255&n,t[i+1]=n>>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var o=0;o<n;++o)t[i+o+4]=r[o];return 8*(i+4+n)},z=function(t,e,r,n,i,a,l,f,h,d,p){D(e,p++,r),++i[256];for(var m=L(i,15),b=m[0],v=m[1],g=L(a,15),y=g[0],S=g[1],E=N(b),M=E[0],C=E[1],j=N(y),A=j[0],T=j[1],P=new o(19),I=0;I<M.length;++I)P[31&M[I]]++;for(I=0;I<A.length;++I)P[31&A[I]]++;for(var z=L(P,7),H=z[0],U=z[1],W=19;W>4&&!H[u[W-1]];--W);var q,V,G,Y,X=d+5<<3,$=F(i,x)+F(a,O)+l,K=F(i,b)+F(a,y)+l+14+3*W+F(P,H)+(2*P[16]+3*P[17]+7*P[18]);if(X<=$&&X<=K)return B(e,p,t.subarray(h,h+d));if(D(e,p,1+(K<$)),p+=2,K<$){q=w(b,v,0),V=b,G=w(y,S,0),Y=y;var Z=w(H,U,0);D(e,p,C-257),D(e,p+5,T-1),D(e,p+10,W-4),p+=14;for(I=0;I<W;++I)D(e,p+3*I,H[u[I]]);p+=3*W;for(var J=[M,A],Q=0;Q<2;++Q){var tt=J[Q];for(I=0;I<tt.length;++I){var et=31&tt[I];D(e,p,Z[et]),p+=H[et],et>15&&(D(e,p,tt[I]>>>5&127),p+=tt[I]>>>12)}}}else q=_,V=x,G=k,Y=O;for(I=0;I<f;++I)if(n[I]>255){et=n[I]>>>18&31;R(e,p,q[et+257]),p+=V[et+257],et>7&&(D(e,p,n[I]>>>23&31),p+=s[et]);var rt=31&n[I];R(e,p,G[rt]),p+=Y[rt],rt>3&&(R(e,p,n[I]>>>5&8191),p+=c[rt])}else R(e,p,q[n[I]]),p+=V[n[I]];return R(e,p,q[256]),p+V[256]},H=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U=new i(0),W=function(t,e,r,n,u,l){var f=t.length,h=new i(n+f+5*(1+Math.floor(f/7e3))+u),p=h.subarray(n,h.length-u),m=0;if(!e||f<8)for(var v=0;v<=f;v+=65535){var g=v+65535;g<f?m=B(p,m,t.subarray(v,g)):(p[v]=l,m=B(p,m,t.subarray(v,f)))}else{for(var y=H[e-1],w=y>>>13,x=8191&y,O=(1<<r)-1,_=new o(32768),S=new o(O+1),k=Math.ceil(r/3),E=2*k,M=function(e){return(t[e]^t[e+1]<<k^t[e+2]<<E)&O},C=new a(25e3),j=new o(288),P=new o(32),D=0,R=0,L=(v=0,0),I=0,N=0;v<f;++v){var F=M(v),W=32767&v,q=S[F];if(_[W]=q,S[F]=W,I<=v){var V=f-v;if((D>7e3||L>24576)&&V>423){m=z(t,p,0,C,j,P,R,L,N,v-N,m),L=D=R=0,N=v;for(var G=0;G<286;++G)j[G]=0;for(G=0;G<30;++G)P[G]=0}var Y=2,X=0,$=x,K=W-q&32767;if(V>2&&F==M(v-K))for(var Z=Math.min(w,V)-1,J=Math.min(32767,v),Q=Math.min(258,V);K<=J&&--$&&W!=q;){if(t[v+Y]==t[v+Y-K]){for(var tt=0;tt<Q&&t[v+tt]==t[v+tt-K];++tt);if(tt>Y){if(Y=tt,X=K,tt>Z)break;var et=Math.min(K,tt-2),rt=0;for(G=0;G<et;++G){var nt=v-K+G+32768&32767,it=nt-_[nt]+32768&32767;it>rt&&(rt=it,q=nt)}}}K+=(W=q)-(q=_[W])+32768&32767}if(X){C[L++]=268435456|d[Y]<<18|b[X];var ot=31&d[Y],at=31&b[X];R+=s[ot]+c[at],++j[257+ot],++P[at],I=v+Y,++D}else C[L++]=t[v],++j[t[v]]}}m=z(t,p,l,C,j,P,R,L,N,v-N,m),l||(m=B(p,m,U))}return T(h,0,n+A(m)+u)},q=function(){for(var t=new a(256),e=0;e<256;++e){for(var r=e,n=9;--n;)r=(1&r&&3988292384)^r>>>1;t[e]=r}return t}(),V=function(){var t=4294967295;return{p:function(e){for(var r=t,n=0;n<e.length;++n)r=q[255&r^e[n]]^r>>>8;t=r},d:function(){return 4294967295^t}}},G=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,o=r.length,a=0;a!=o;){for(var s=Math.min(a+5552,o);a<s;++a)i+=n+=r[a];n%=65521,i%=65521}t=n,e=i},d:function(){return(t>>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}},Y=function(t,e,r,n,i){return W(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,r,n,!i)},X=function(t,e){var r={};for(var n in t)r[n]=t[n];for(var n in e)r[n]=e[n];return r},$=function(t,e,r){for(var n=t(),i=t.toString(),o=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/ /g,"").split(","),a=0;a<n.length;++a){var s=n[a],c=o[a];if("function"==typeof s){e+=";"+c+"=";var u=s.toString();if(s.prototype)if(-1!=u.indexOf("[native code]")){var l=u.indexOf(" ",8)+1;e+=u.slice(l,u.indexOf("(",l))}else for(var f in e+=u,s.prototype)e+=";"+c+".prototype."+f+"="+s.prototype[f].toString();else e+=u}else r[c]=s}return[e,r]},K=[],Z=function(t,e,r,s){var c;if(!K[r]){for(var u="",l={},f=t.length-1,h=0;h<f;++h)u=(c=$(t[h],u,l))[0],l=c[1];K[r]=$(t[f],u,l)}var d=X({},K[r][1]);return function(t,e,r,i,o){var a=n[e]||(n[e]=URL.createObjectURL(new Blob([t],{type:"text/javascript"}))),s=new Worker(a);return s.onerror=function(t){return o(t.error,null)},s.onmessage=function(t){return o(null,t.data)},s.postMessage(r,i),s}(K[r][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",r,d,function(t){var e=[];for(var r in t)(t[r]instanceof i||t[r]instanceof o||t[r]instanceof a)&&e.push((t[r]=new t[r].constructor(t[r])).buffer);return e}(d),s)},J=function(){return[i,o,a,s,c,u,h,m,S,E,v,w,M,C,j,A,T,P,mt,et,rt]},Q=function(){return[st,ct]},tt=function(){return[ft]},et=function(t){return postMessage(t,[t.buffer])},rt=function(t){return t&&t.size&&new i(t.size)},nt=function(t){return t.ondata=function(t,e){return postMessage([t,e],[t.buffer])},function(e){return t.push(e.data[0],e.data[1])}},it=function(t,e,r,n,i){var o,a=Z(t,n,i,(function(t,r){t?(a.terminate(),e.ondata.call(e,t)):(r[1]&&a.terminate(),e.ondata.call(e,t,r[0],r[1]))}));a.postMessage(r),e.push=function(t,r){if(o)throw"stream finished";if(!e.ondata)throw"no stream handler";a.postMessage([t,o=r],[t.buffer])},e.terminate=function(){a.terminate()}},ot=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},at=function(t,e){var r=e.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=e.level<2?4:9==e.level?2:0,t[9]=3,0!=e.mtime&&ot(t,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),r){t[3]=8;for(var n=0;n<=r.length;++n)t[n+10]=r.charCodeAt(n)}},st=function(t){if(31!=t[0]||139!=t[1]||8!=t[2])throw"invalid gzip data";var e=t[3],r=10;4&e&&(r+=t[10]|2+(t[11]<<8));for(var n=(e>>3&1)+(e>>4&1);n>0;n-=!t[r++]);return r+(2&e)},ct=function(t){var e=t.length;return(t[e-4]|t[e-3]<<8|t[e-2]<<16)+2*(t[e-1]<<23)},ut=function(t){return 10+(t.filename&&t.filename.length+1||0)},lt=function(t,e){var r=e.level,n=0==r?0:r<6?1:9==r?3:2;t[0]=120,t[1]=n<<6|(n?32-2*n:1)},ft=function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"};var ht=function(){function t(t,e){e||"function"!=typeof t||(e=t,t={}),this.ondata=e,this.o=t||{}}return t.prototype.p=function(t,e){this.ondata(Y(t,this.o,0,0,!e),e)},t.prototype.push=function(t,e){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=e,this.p(t,e||!1)},t}();var dt=function(){function t(t){this.s={},this.p=new i(0),this.ondata=t}return t.prototype.e=function(t){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var e=this.p.length,r=new i(e+t.length);r.set(this.p),r.set(t,e),this.p=r},t.prototype.c=function(t){this.d=this.s.i=t||!1;var e=this.s.b,r=P(this.p,this.o,this.s);this.ondata(T(r,e,this.s.b),this.d),this.o=T(r,this.s.b-32768),this.s.b=this.o.length,this.p=T(this.p,this.s.p/8>>0),this.s.p&=7},t.prototype.push=function(t,e){this.e(t),this.c(e)},t}(),pt=function(t){this.ondata=t,it([J,function(){return[nt,dt]}],this,0,(function(){var t=new dt;onmessage=nt(t)}),7)};function mt(t,e){return P(t,e)}!function(){function t(t,e){this.c=V(),this.l=0,this.v=1,ht.call(this,t,e)}t.prototype.push=function(t,e){ht.prototype.push.call(this,t,e)},t.prototype.p=function(t,e){this.c.p(t),this.l+=t.length;var r=Y(t,this.o,this.v&&ut(this.o),e&&8,!e);this.v&&(at(r,this.o),this.v=0),e&&(ot(r,r.length-8,this.c.d()),ot(r,r.length-4,this.l)),this.ondata(r,e)}}();var bt=function(){function t(t){this.v=1,dt.call(this,t)}return t.prototype.push=function(t,e){if(dt.prototype.e.call(this,t),this.v){var r=st(this.p);if(r>=this.p.length&&!e)return;this.p=this.p.subarray(r),this.v=0}if(e){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}dt.prototype.c.call(this,e)},t}(),vt=function(t){this.ondata=t,it([J,Q,function(){return[nt,dt,bt]}],this,0,(function(){var t=new bt;onmessage=nt(t)}),9)};!function(){function t(t,e){this.c=G(),this.v=1,ht.call(this,t,e)}t.prototype.push=function(t,e){ht.prototype.push.call(this,t,e)},t.prototype.p=function(t,e){this.c.p(t);var r=Y(t,this.o,this.v&&2,e&&4,!e);this.v&&(lt(r,this.o),this.v=0),e&&ot(r,r.length-4,this.c.d()),this.ondata(r,e)}}();function gt(t,e){void 0===e&&(e={});var r=G();r.p(t);var n=Y(t,e,2,4);return lt(n,e),ot(n,n.length-4,r.d()),n}var yt=function(){function t(t){this.v=1,dt.call(this,t)}return t.prototype.push=function(t,e){if(dt.prototype.e.call(this,t),this.v){if(this.p.length<2&&!e)return;this.p=this.p.subarray(2),this.v=0}if(e){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}dt.prototype.c.call(this,e)},t}(),wt=function(t){this.ondata=t,it([J,tt,function(){return[nt,dt,yt]}],this,0,(function(){var t=new yt;onmessage=nt(t)}),11)};function xt(t,e){return P((ft(t),t.subarray(2,-4)),e)}var Ot=function(){function t(t){this.G=bt,this.I=dt,this.Z=yt,this.ondata=t}return t.prototype.push=function(t,e){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(t,e);else{if(this.p&&this.p.length){var r=new i(this.p.length+t.length);r.set(this.p),r.set(t,this.p.length)}else this.p=t;if(this.p.length>2){var n=this,o=function(){n.ondata.apply(n,arguments)};this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(o):8!=(15&this.p[0])||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(o):new this.Z(o),this.s.push(this.p,e),this.p=null}}},t}();!function(){function t(t){this.G=vt,this.I=pt,this.Z=wt,this.ondata=t}t.prototype.push=function(t,e){Ot.prototype.push.call(this,t,e)}}()},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");e.default=a},function(t,e,r){var n=r(803),i=r(1275),o=r(345);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(399),r(10),r(8)),s=r(78),c=r(563),u=r(894),l=r(13),f=r(22),h=r(195),d=r(155),p=r(210),m=r(72),b=r(1312),v=r(1451),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiPopover",t)}Object(y.a)("MuiPopover",["root","paper"]);var x=r(6),O=["onEntering"],_=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function S(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.height/2:"bottom"===e&&(r=t.height),r}function k(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.width/2:"right"===e&&(r=t.width),r}function E(t){return[t.horizontal,t.vertical].map((function(t){return"number"===typeof t?"".concat(t,"px"):t})).join(" ")}function M(t){return"function"===typeof t?t():t}var C=Object(l.a)(v.a,{name:"MuiPopover",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),j=Object(l.a)(u.a,{name:"MuiPopover",slot:"Paper",overridesResolver:function(t,e){return e.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),A=o.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiPopover"}),c=r.action,u=r.anchorEl,l=r.anchorOrigin,v=void 0===l?{vertical:"top",horizontal:"left"}:l,g=r.anchorPosition,y=r.anchorReference,A=void 0===y?"anchorEl":y,T=r.children,P=r.className,D=r.container,R=r.elevation,L=void 0===R?8:R,I=r.marginThreshold,N=void 0===I?16:I,F=r.open,B=r.PaperProps,z=void 0===B?{}:B,H=r.transformOrigin,U=void 0===H?{vertical:"top",horizontal:"left"}:H,W=r.TransitionComponent,q=void 0===W?b.a:W,V=r.transitionDuration,G=void 0===V?"auto":V,Y=r.TransitionProps,X=(Y=void 0===Y?{}:Y).onEntering,$=Object(i.a)(r.TransitionProps,O),K=Object(i.a)(r,_),Z=o.useRef(),J=Object(m.a)(Z,z.ref),Q=Object(n.a)({},r,{anchorOrigin:v,anchorReference:A,elevation:L,marginThreshold:N,PaperProps:z,transformOrigin:U,TransitionComponent:q,transitionDuration:G,TransitionProps:$}),tt=function(t){var e=t.classes;return Object(s.a)({root:["root"],paper:["paper"]},w,e)}(Q),et=o.useCallback((function(){if("anchorPosition"===A)return g;var t=M(u),e=(t&&1===t.nodeType?t:Object(d.a)(Z.current).body).getBoundingClientRect();return{top:e.top+S(e,v.vertical),left:e.left+k(e,v.horizontal)}}),[u,v.horizontal,v.vertical,g,A]),rt=o.useCallback((function(t){return{vertical:S(t,U.vertical),horizontal:k(t,U.horizontal)}}),[U.horizontal,U.vertical]),nt=o.useCallback((function(t){var e={width:t.offsetWidth,height:t.offsetHeight},r=rt(e);if("none"===A)return{top:null,left:null,transformOrigin:E(r)};var n=et(),i=n.top-r.vertical,o=n.left-r.horizontal,a=i+e.height,s=o+e.width,c=Object(p.a)(M(u)),l=c.innerHeight-N,f=c.innerWidth-N;if(i<N){var h=i-N;i-=h,r.vertical+=h}else if(a>l){var d=a-l;i-=d,r.vertical+=d}if(o<N){var m=o-N;o-=m,r.horizontal+=m}else if(s>f){var b=s-f;o-=b,r.horizontal+=b}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(o),"px"),transformOrigin:E(r)}}),[u,A,et,rt,N]),it=o.useCallback((function(){var t=Z.current;if(t){var e=nt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin}}),[nt]);o.useEffect((function(){F&&it()})),o.useImperativeHandle(c,(function(){return F?{updatePosition:function(){it()}}:null}),[F,it]),o.useEffect((function(){if(F){var t=Object(h.a)((function(){it()})),e=Object(p.a)(u);return e.addEventListener("resize",t),function(){t.clear(),e.removeEventListener("resize",t)}}}),[u,F,it]);var ot=G;"auto"!==G||q.muiSupportAuto||(ot=void 0);var at=D||(u?Object(d.a)(M(u)).body:void 0);return Object(x.jsx)(C,Object(n.a)({BackdropProps:{invisible:!0},className:Object(a.a)(tt.root,P),container:at,open:F,ref:e,ownerState:Q},K,{children:Object(x.jsx)(q,Object(n.a)({appear:!0,in:F,onEntering:function(t,e){X&&X(t,e),it()},timeout:ot},$,{children:Object(x.jsx)(j,Object(n.a)({elevation:L},z,{ref:J,className:Object(a.a)(tt.paper,z.className),children:T}))}))}))})),T=r(122);function P(t){return Object(g.a)("MuiMenu",t)}Object(y.a)("MuiMenu",["root","paper","list"]);var D=["onEntering"],R=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],L={vertical:"top",horizontal:"right"},I={vertical:"top",horizontal:"left"},N=Object(l.a)(A,{shouldForwardProp:function(t){return Object(l.b)(t)||"classes"===t},name:"MuiMenu",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),F=Object(l.a)(u.a,{name:"MuiMenu",slot:"Paper",overridesResolver:function(t,e){return e.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),B=Object(l.a)(c.a,{name:"MuiMenu",slot:"List",overridesResolver:function(t,e){return e.list}})({outline:0}),z=o.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiMenu"}),c=r.autoFocus,u=void 0===c||c,l=r.children,h=r.disableAutoFocusItem,d=void 0!==h&&h,p=r.MenuListProps,m=void 0===p?{}:p,b=r.onClose,v=r.open,g=r.PaperProps,y=void 0===g?{}:g,w=r.PopoverClasses,O=r.transitionDuration,_=void 0===O?"auto":O,S=r.TransitionProps,k=(S=void 0===S?{}:S).onEntering,E=r.variant,M=void 0===E?"selectedMenu":E,C=Object(i.a)(r.TransitionProps,D),j=Object(i.a)(r,R),A=Object(T.a)(),z="rtl"===A.direction,H=Object(n.a)({},r,{autoFocus:u,disableAutoFocusItem:d,MenuListProps:m,onEntering:k,PaperProps:y,transitionDuration:_,TransitionProps:C,variant:M}),U=function(t){var e=t.classes;return Object(s.a)({root:["root"],paper:["paper"],list:["list"]},P,e)}(H),W=u&&!d&&v,q=o.useRef(null),V=-1;return o.Children.map(l,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===M&&t.props.selected||-1===V)&&(V=e))})),Object(x.jsx)(N,Object(n.a)({classes:w,onClose:b,anchorOrigin:{vertical:"bottom",horizontal:z?"right":"left"},transformOrigin:z?L:I,PaperProps:Object(n.a)({component:F},y,{classes:Object(n.a)({},y.classes,{root:U.paper})}),className:U.root,open:v,ref:e,transitionDuration:_,TransitionProps:Object(n.a)({onEntering:function(t,e){q.current&&q.current.adjustStyleForScrollbar(t,A),k&&k(t,e)}},C),ownerState:H},j,{children:Object(x.jsx)(B,Object(n.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),b&&b(t,"tabKeyDown"))},actions:q,autoFocus:u&&(-1===V||d),autoFocusItem:W,variant:M},m,{className:Object(a.a)(U.list,m.className),children:l}))}))}));e.a=z},function(t,e,r){"use strict";r.d(e,"a",(function(){return G}));var n=r(36),i=r.n(n),o=r(44),a=r.n(o),s=r(381),c=r.n(s),u=r(0),l=r.n(u),f=r(174),h=r(55),d=r.n(h),p=r(370),m=r.n(p),b=r(68),v=r.n(b),g=r(17);function y(t){return(y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){S(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function S(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=A(t);if(e){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return j(this,r)}}function j(t,e){return!e||"object"!==y(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t){return v()(t)&&Object(g.g)(t[0])&&Object(g.g)(t[1])?t.join(" ~ "):t}var P=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(a,t);var e,r,n,o=C(a);function a(){return k(this,a),o.apply(this,arguments)}return e=a,(r=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,r=t.separator,n=t.formatter,i=t.itemStyle,o=t.itemSorter;if(e&&e.length){var a=(o?m()(e,o):e).map((function(t,o){if("none"===t.type)return null;var a=_({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),s=t.formatter||n||T,c=t.name,u=t.value;if(s){var f=s(u,c,t,o,e);if(Array.isArray(f)){var h=w(f,2);u=h[0],c=h[1]}else u=f}return l.a.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(o),style:a},Object(g.g)(c)?l.a.createElement("span",{className:"recharts-tooltip-item-name"},c):null,Object(g.g)(c)?l.a.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,l.a.createElement("span",{className:"recharts-tooltip-item-value"},u),l.a.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return l.a.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},a)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,r=t.contentStyle,n=t.labelClassName,o=t.labelStyle,a=t.label,s=t.labelFormatter,c=t.payload,u=_({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),f=_({margin:0},o),h=!i()(a),p=h?a:"",m=d()("recharts-default-tooltip",e),b=d()("recharts-tooltip-label",n);return h&&s&&(p=s(a,c)),l.a.createElement("div",{className:m,style:u},l.a.createElement("p",{className:b,style:f},l.a.isValidElement(p)?p:"".concat(p)),this.renderContent())}}])&&E(e.prototype,r),n&&E(e,n),a}(u.PureComponent);P.displayName="DefaultTooltipContent",P.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var D=r(154);function R(t){return(R="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){N(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function N(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=W(t);if(e){var i=W(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return U(this,r)}}function U(t,e){return!e||"object"!==R(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q="recharts-tooltip-wrapper";function V(t){return t.dataKey}var G=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(s,t);var e,r,n,o=H(s);function s(){var t;F(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).state={boxWidth:-1,boxHeight:-1},t.wrapperNode=void 0,t.getTranslate=function(e){var r=e.key,n=e.tooltipDimension,i=e.viewBoxDimension,o=t.props,a=o.allowEscapeViewBox,s=o.coordinate,c=o.offset,u=o.position,l=o.viewBox;if(u&&Object(g.h)(u[r]))return u[r];var f=s[r]-n-c,h=s[r]+c;return a[r]?h:s[r]+n+c>l[r]+i?Math.max(f,l[r]):Math.max(h,l[r])},t}return e=s,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-e)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,r,n=this,o=this.props,s=o.payload,u=o.isAnimationActive,h=o.animationDuration,p=o.animationEasing,m=o.filterNull,b=function(t,e){return!0===t?c()(e,V):a()(t)?c()(e,t):e}(o.payloadUniqBy,m&&s&&s.length?s.filter((function(t){return!i()(t.value)})):s),v=b&&b.length,y=this.props,w=y.content,x=y.viewBox,O=y.coordinate,_=y.position,S=y.active,k=I({pointerEvents:"none",visibility:S&&v?"visible":"hidden",position:"absolute",top:0,left:0},y.wrapperStyle);if(_&&Object(g.h)(_.x)&&Object(g.h)(_.y))e=_.x,r=_.y;else{var E=this.state,M=E.boxWidth,C=E.boxHeight;M>0&&C>0&&O?(e=this.getTranslate({key:"x",tooltipDimension:M,viewBoxDimension:x.width}),r=this.getTranslate({key:"y",tooltipDimension:C,viewBoxDimension:x.height})):k.visibility="hidden"}k=I(I({},Object(f.b)({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")})),k),u&&S&&(k=I(I({},Object(f.b)({transition:"transform ".concat(h,"ms ").concat(p)})),k));var j=d()(q,(N(t={},"".concat(q,"-right"),Object(g.h)(e)&&O&&Object(g.h)(O.x)&&e>=O.x),N(t,"".concat(q,"-left"),Object(g.h)(e)&&O&&Object(g.h)(O.x)&&e<O.x),N(t,"".concat(q,"-bottom"),Object(g.h)(r)&&O&&Object(g.h)(O.y)&&r>=O.y),N(t,"".concat(q,"-top"),Object(g.h)(r)&&O&&Object(g.h)(O.y)&&r<O.y),t));return l.a.createElement("div",{className:j,style:k,ref:function(t){n.wrapperNode=t}},function(t,e){return l.a.isValidElement(t)?l.a.cloneElement(t,e):a()(t)?l.a.createElement(t,e):l.a.createElement(P,e)}(w,I(I({},this.props),{},{payload:b})))}}])&&B(e.prototype,r),n&&B(e,n),s}(u.PureComponent);G.displayName="Tooltip",G.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!D.a.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(435);function o(t,e){return n.useMemo((function(){return null==t&&null==e?null:function(r){Object(i.a)(t,r),Object(i.a)(e,r)}}),[t,e])}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(663),u=r(283),l=r(64),f=r(235),h=r(76),d="undefined"===typeof window?o.useEffect:o.useLayoutEffect,p=o.forwardRef((function(t,e){var r=t.alignItems,s=void 0===r?"center":r,p=t.autoFocus,m=void 0!==p&&p,b=t.button,v=void 0!==b&&b,g=t.children,y=t.classes,w=t.className,x=t.component,O=t.ContainerComponent,_=void 0===O?"li":O,S=t.ContainerProps,k=(S=void 0===S?{}:S).className,E=Object(i.a)(S,["className"]),M=t.dense,C=void 0!==M&&M,j=t.disabled,A=void 0!==j&&j,T=t.disableGutters,P=void 0!==T&&T,D=t.divider,R=void 0!==D&&D,L=t.focusVisibleClassName,I=t.selected,N=void 0!==I&&I,F=Object(i.a)(t,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),B=o.useContext(f.a),z={dense:C||B.dense||!1,alignItems:s},H=o.useRef(null);d((function(){m&&H.current&&H.current.focus()}),[m]);var U=o.Children.toArray(g),W=U.length&&Object(u.a)(U[U.length-1],["ListItemSecondaryAction"]),q=o.useCallback((function(t){H.current=h.findDOMNode(t)}),[]),V=Object(l.a)(q,e),G=Object(n.a)({className:Object(a.a)(y.root,w,z.dense&&y.dense,!P&&y.gutters,R&&y.divider,A&&y.disabled,v&&y.button,"center"!==s&&y.alignItemsFlexStart,W&&y.secondaryAction,N&&y.selected),disabled:A},F),Y=x||"li";return v&&(G.component=x||"div",G.focusVisibleClassName=Object(a.a)(y.focusVisible,L),Y=c.a),W?(Y=G.component||x?Y:"div","li"===_&&("li"===Y?Y="div":"li"===G.component&&(G.component="div")),o.createElement(f.a.Provider,{value:z},o.createElement(_,Object(n.a)({className:Object(a.a)(y.container,k),ref:V},E),o.createElement(Y,G,U),U.pop()))):o.createElement(f.a.Provider,{value:z},o.createElement(Y,Object(n.a)({ref:V},G),U))}));e.a=Object(s.a)((function(t){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:t.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:t.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(t.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(p)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(1309),u=r(13),l=r(22),f=r(1467),h=r(1468),d=r(1454),p=r(661),m=r(444),b=r(1),v=r(222),g=r(170),y=r(24),w=r(339),x=r(340);function O(t){return Object(w.a)("MuiFormHelperText",t)}var _=Object(x.a)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),S=r(6),k=["children","className","component","disabled","error","filled","focused","margin","required","variant"],E=Object(u.a)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.size&&e["size".concat(Object(y.a)(r.size))],r.contained&&e.contained,r.filled&&e.filled]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(n.a)({color:r.palette.text.secondary},r.typography.caption,(e={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},Object(b.a)(e,"&.".concat(_.disabled),{color:r.palette.text.disabled}),Object(b.a)(e,"&.".concat(_.error),{color:r.palette.error.main}),e),"small"===i.size&&{marginTop:4},i.contained&&{marginLeft:14,marginRight:14})})),M=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiFormHelperText"}),o=r.children,c=r.className,u=r.component,f=void 0===u?"p":u,h=Object(i.a)(r,k),d=Object(g.a)(),p=Object(v.a)({props:r,muiFormControl:d,states:["variant","size","disabled","error","filled","focused","required"]}),m=Object(n.a)({},r,{component:f,contained:"filled"===p.variant||"outlined"===p.variant,variant:p.variant,size:p.size,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),b=function(t){var e=t.classes,r=t.contained,n=t.size,i=t.disabled,o=t.error,a=t.filled,c=t.focused,u=t.required,l={root:["root",i&&"disabled",o&&"error",n&&"size".concat(Object(y.a)(n)),r&&"contained",c&&"focused",a&&"filled",u&&"required"]};return Object(s.a)(l,O,e)}(m);return Object(S.jsx)(E,Object(n.a)({as:f,ownerState:m,className:Object(a.a)(b.root,c),ref:e},h,{children:" "===o?Object(S.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):o}))})),C=r(562);function j(t){return Object(w.a)("MuiTextField",t)}Object(x.a)("MuiTextField",["root"]);var A=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],T={standard:f.a,filled:h.a,outlined:d.a},P=Object(u.a)(m.a,{name:"MuiTextField",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),D=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiTextField"}),u=r.autoComplete,f=r.autoFocus,h=void 0!==f&&f,d=r.children,m=r.className,b=r.color,v=void 0===b?"primary":b,g=r.defaultValue,y=r.disabled,w=void 0!==y&&y,x=r.error,O=void 0!==x&&x,_=r.FormHelperTextProps,k=r.fullWidth,E=void 0!==k&&k,D=r.helperText,R=r.id,L=r.InputLabelProps,I=r.inputProps,N=r.InputProps,F=r.inputRef,B=r.label,z=r.maxRows,H=r.minRows,U=r.multiline,W=void 0!==U&&U,q=r.name,V=r.onBlur,G=r.onChange,Y=r.onFocus,X=r.placeholder,$=r.required,K=void 0!==$&&$,Z=r.rows,J=r.select,Q=void 0!==J&&J,tt=r.SelectProps,et=r.type,rt=r.value,nt=r.variant,it=void 0===nt?"outlined":nt,ot=Object(i.a)(r,A),at=Object(n.a)({},r,{autoFocus:h,color:v,disabled:w,error:O,fullWidth:E,multiline:W,required:K,select:Q,variant:it}),st=function(t){var e=t.classes;return Object(s.a)({root:["root"]},j,e)}(at);var ct={};if("outlined"===it&&(L&&"undefined"!==typeof L.shrink&&(ct.notched=L.shrink),B)){var ut,lt=null!=(ut=null==L?void 0:L.required)?ut:K;ct.label=Object(S.jsxs)(o.Fragment,{children:[B,lt&&"\xa0*"]})}Q&&(tt&&tt.native||(ct.id=void 0),ct["aria-describedby"]=void 0);var ft=Object(c.a)(R),ht=D&&ft?"".concat(ft,"-helper-text"):void 0,dt=B&&ft?"".concat(ft,"-label"):void 0,pt=T[it],mt=Object(S.jsx)(pt,Object(n.a)({"aria-describedby":ht,autoComplete:u,autoFocus:h,defaultValue:g,fullWidth:E,multiline:W,name:q,rows:Z,maxRows:z,minRows:H,type:et,value:rt,id:ft,inputRef:F,onBlur:V,onChange:G,onFocus:Y,placeholder:X,inputProps:I},ct,N));return Object(S.jsxs)(P,Object(n.a)({className:Object(a.a)(st.root,m),disabled:w,error:O,fullWidth:E,ref:e,required:K,color:v,variant:it,ownerState:at},ot,{children:[B&&Object(S.jsx)(p.a,Object(n.a)({htmlFor:ft,id:dt},L,{children:B})),Q?Object(S.jsx)(C.a,Object(n.a)({"aria-describedby":ht,id:ft,labelId:dt,value:rt,input:mt},tt,{children:d})):mt,D&&Object(S.jsx)(M,Object(n.a)({id:ht},_,{children:D}))]}))}));e.a=D},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(22),l=r(13),f=r(332),h=r(24),d=r(233),p=r(285),m=r(339),b=r(340);function v(t){return Object(m.a)("MuiFormControl",t)}Object(b.a)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var g=r(6),y=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],w=Object(l.a)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return Object(o.a)({},e.root,e["margin".concat(Object(h.a)(r.margin))],r.fullWidth&&e.fullWidth)}})((function(t){var e=t.ownerState;return Object(o.a)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})})),x=a.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiFormControl"}),l=r.children,m=r.className,b=r.color,x=void 0===b?"primary":b,O=r.component,_=void 0===O?"div":O,S=r.disabled,k=void 0!==S&&S,E=r.error,M=void 0!==E&&E,C=r.focused,j=r.fullWidth,A=void 0!==j&&j,T=r.hiddenLabel,P=void 0!==T&&T,D=r.margin,R=void 0===D?"none":D,L=r.required,I=void 0!==L&&L,N=r.size,F=void 0===N?"medium":N,B=r.variant,z=void 0===B?"outlined":B,H=Object(i.a)(r,y),U=Object(o.a)({},r,{color:x,component:_,disabled:k,error:M,fullWidth:A,hiddenLabel:P,margin:R,required:I,size:F,variant:z}),W=function(t){var e=t.classes,r=t.margin,n=t.fullWidth,i={root:["root","none"!==r&&"margin".concat(Object(h.a)(r)),n&&"fullWidth"]};return Object(c.a)(i,v,e)}(U),q=a.useState((function(){var t=!1;return l&&a.Children.forEach(l,(function(e){if(Object(d.a)(e,["Input","Select"])){var r=Object(d.a)(e,["Select"])?e.props.input:e;r&&Object(f.a)(r.props)&&(t=!0)}})),t})),V=Object(n.a)(q,2),G=V[0],Y=V[1],X=a.useState((function(){var t=!1;return l&&a.Children.forEach(l,(function(e){Object(d.a)(e,["Input","Select"])&&Object(f.b)(e.props,!0)&&(t=!0)})),t})),$=Object(n.a)(X,2),K=$[0],Z=$[1],J=a.useState(!1),Q=Object(n.a)(J,2),tt=Q[0],et=Q[1];k&&tt&&et(!1);var rt=void 0===C||k?tt:C,nt=a.useCallback((function(){Z(!0)}),[]),it={adornedStart:G,setAdornedStart:Y,color:x,disabled:k,error:M,filled:K,focused:rt,fullWidth:A,hiddenLabel:P,size:F,onBlur:function(){et(!1)},onEmpty:a.useCallback((function(){Z(!1)}),[]),onFilled:nt,onFocus:function(){et(!0)},registerEffect:void 0,required:I,variant:z};return Object(g.jsx)(p.a.Provider,{value:it,children:Object(g.jsx)(w,Object(o.a)({as:_,ownerState:U,className:Object(s.a)(W.root,m),ref:e},H,{children:l}))})}));e.a=x},function(t,e,r){"use strict";var n=r(14),i=r(329),o=(r(10),r(0)),a=r.n(o),s=r(76),c=r.n(s),u=!1,l=r(375),f=function(t){function e(e,r){var n;n=t.call(this,e,r)||this;var i,o=r&&!r.isMounting?e.enter:e.appear;return n.appearStatus=null,e.in?o?(i="exited",n.appearStatus="entering"):i="entered":i=e.unmountOnExit||e.mountOnEnter?"unmounted":"exited",n.state={status:i},n.nextCallback=null,n}Object(i.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&"unmounted"===e.status?{status:"exited"}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?"entering"!==r&&"entered"!==r&&(e="entering"):"entering"!==r&&"entered"!==r||(e="exiting")}this.updateStatus(!1,e)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!==typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},r.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),"entering"===e?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},r.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,i=this.props.nodeRef?[n]:[c.a.findDOMNode(this),n],o=i[0],a=i[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!t&&!r||u?this.safeSetState({status:"entered"},(function(){e.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){e.props.onEntering(o,a),e.onTransitionEnd(l,(function(){e.safeSetState({status:"entered"},(function(){e.props.onEntered(o,a)}))}))})))},r.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:c.a.findDOMNode(this);e&&!u?(this.props.onExit(n),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(n)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},r.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:c.a.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},r.render=function(){var t=this.state.status;if("unmounted"===t)return null;var e=this.props,r=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,Object(n.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.a.Provider,{value:null},"function"===typeof r?r(t,i):a.a.cloneElement(a.a.Children.only(r),i))},e}(a.a.Component);function h(){}f.contextType=l.a,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},f.UNMOUNTED="unmounted",f.EXITED="exited",f.ENTERING="entering",f.ENTERED="entered",f.EXITING="exiting";e.a=f},,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){var n=r(312)(Object,"create");t.exports=n},function(t,e,r){var n=r(954),i=r(955),o=r(956),a=r(957),s=r(958);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,r){var n=r(585);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(960);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){var n=r(344);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},function(t,e,r){var n=r(968),i=r(973),o=r(392);t.exports=function(t){return o(t)?n(t):i(t)}},function(t,e,r){t.exports=i;var n=r(265).EventEmitter;function i(){n.call(this)}r(53)(i,n),i.Readable=r(596),i.Writable=r(1030),i.Duplex=r(1031),i.Transform=r(1032),i.PassThrough=r(1033),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,t.end())}function c(){a||(a=!0,"function"===typeof t.destroy&&t.destroy())}function u(t){if(l(),0===n.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("error",u),t.on("error",u),r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t}},function(t,e,r){"use strict";(function(e){"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this,r(112))},function(t,e,r){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},i=/%[sdj%]/g;e.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(s(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(t).replace(i,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}})),c=n[r];r<o;c=n[++r])m(c)||!w(c)?a+=" "+c:a+=" "+s(c);return a},e.deprecate=function(r,n){if("undefined"!==typeof t&&!0===t.noDeprecation)return r;if("undefined"===typeof t)return function(){return e.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var o,a={};function s(t,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&e._extend(n,r),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),l(n,t,n.depth)}function c(t,e){var r=s.styles[e];return r?"\x1b["+s.colors[r][0]+"m"+t+"\x1b["+s.colors[r][1]+"m":t}function u(t,e){return t}function l(t,r,n){if(t.customInspect&&r&&_(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return v(i)||(i=l(t,i,n)),i}var o=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(b(e))return t.stylize(""+e,"number");if(p(e))return t.stylize(""+e,"boolean");if(m(e))return t.stylize("null","null")}(t,r);if(o)return o;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),O(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(r);if(0===a.length){if(_(r)){var c=r.name?": "+r.name:"";return t.stylize("[Function"+c+"]","special")}if(y(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return t.stylize(Date.prototype.toString.call(r),"date");if(O(r))return f(r)}var u,w="",S=!1,k=["{","}"];(d(r)&&(S=!0,k=["[","]"]),_(r))&&(w=" [Function"+(r.name?": "+r.name:"")+"]");return y(r)&&(w=" "+RegExp.prototype.toString.call(r)),x(r)&&(w=" "+Date.prototype.toUTCString.call(r)),O(r)&&(w=" "+f(r)),0!==a.length||S&&0!=r.length?n<0?y(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),u=S?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)C(e,String(a))?o.push(h(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(t,e,r,n,i,!0))})),o}(t,r,n,s,a):a.map((function(e){return h(t,r,n,s,e,S)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(u,w,k)):k[0]+w+k[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,r,n,i,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),C(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(c.value)<0?(s=m(r)?l(t,c.value,null):l(t,c.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),g(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t){return Array.isArray(t)}function p(t){return"boolean"===typeof t}function m(t){return null===t}function b(t){return"number"===typeof t}function v(t){return"string"===typeof t}function g(t){return void 0===t}function y(t){return w(t)&&"[object RegExp]"===S(t)}function w(t){return"object"===typeof t&&null!==t}function x(t){return w(t)&&"[object Date]"===S(t)}function O(t){return w(t)&&("[object Error]"===S(t)||t instanceof Error)}function _(t){return"function"===typeof t}function S(t){return Object.prototype.toString.call(t)}function k(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(r){if(g(o)&&(o=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(o)){var n=t.pid;a[r]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",r,n,t)}}else a[r]=function(){};return a[r]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=p,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=v,e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=g,e.isRegExp=y,e.isObject=w,e.isDate=x,e.isError=O,e.isFunction=_,e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=r(1034);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(){var t=new Date,e=[k(t.getHours()),k(t.getMinutes()),k(t.getSeconds())].join(":");return[t.getDate(),E[t.getMonth()],e].join(" ")}function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",M(),e.format.apply(e,arguments))},e.inherits=r(1035),e._extend=function(t,e){if(!e||!w(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var j="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(j&&t[j]){var e;if("function"!==typeof(e=t[j]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,i)}catch(a){r(a)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),j&&Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=j,e.callbackify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,r).then((function(e){t.nextTick(a,null,e)}),(function(e){t.nextTick(A,e,a)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,n(e)),r}}).call(this,r(112))},function(t,e,r){var n=r(71).Buffer;function i(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i<e;i++)r[i]=t.readUInt32BE(4*i);return r}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,r,n,i){for(var o,a,s,c,u=r[0],l=r[1],f=r[2],h=r[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],b=t[3]^e[3],v=4,g=1;g<i;g++)o=u[d>>>24]^l[p>>>16&255]^f[m>>>8&255]^h[255&b]^e[v++],a=u[p>>>24]^l[m>>>16&255]^f[b>>>8&255]^h[255&d]^e[v++],s=u[m>>>24]^l[b>>>16&255]^f[d>>>8&255]^h[255&p]^e[v++],c=u[b>>>24]^l[d>>>16&255]^f[p>>>8&255]^h[255&m]^e[v++],d=o,p=a,m=s,b=c;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&b])^e[v++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[b>>>8&255]<<8|n[255&d])^e[v++],s=(n[m>>>24]<<24|n[b>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^e[v++],c=(n[b>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^e[v++],[o>>>=0,a>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var l=t[a],f=t[l],h=t[f],d=257*t[u]^16843008*u;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*h^65537*f^257*l^16843008*a,o[0][u]=d<<24|d>>>8,o[1][u]=d<<16|d>>>16,o[2][u]=d<<8|d>>>24,o[3][u]=d,0===a?a=s=1:(a=l^t[t[t[h^l]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(t){this._key=i(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<n;o++){var a=i[o-1];o%e===0?(a=a<<8|a>>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e===4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-e]^a}for(var u=[],l=0;l<n;l++){var f=n-l,h=i[f-(l%4?0:4)];u[l]=l<4||f<=4?h:c.INV_SUB_MIX[0][c.SBOX[h>>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},u.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var r=a(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=u},function(t,e,r){var n=r(71).Buffer,i=r(600);t.exports=function(t,e,r,o){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),c=n.alloc(o||0),u=n.alloc(0);a>0||o>0;){var l=new i;l.update(u),l.update(t),e&&l.update(e),u=l.digest();var f=0;if(a>0){var h=s.length-a;f=Math.min(a,u.length),u.copy(s,h,0,f),a-=f}if(f<u.length&&o>0){var d=c.length-o,p=Math.min(o,u.length-f);u.copy(c,d,f,f+p),o-=p}}return u.fill(0),{key:s,iv:c}}},function(t,e,r){"use strict";var n=r(246),i=r(191),o=i.getNAF,a=i.getJSF,s=i.assert;function c(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(t,e){s(t.precomputed);var r=t._getDoubles(),n=o(e,1,this._bitLength),i=(1<<r.step+1)-(r.step%2===0?2:1);i/=3;var a,c,u=[];for(a=0;a<n.length;a+=r.step){c=0;for(var l=a+r.step-1;l>=a;l--)c=(c<<1)+n[l];u.push(c)}for(var f=this.jpoint(null,null,null),h=this.jpoint(null,null,null),d=i;d>0;d--){for(a=0;a<u.length;a++)(c=u[a])===d?h=h.mixedAdd(r.points[a]):c===-d&&(h=h.mixedAdd(r.points[a].neg()));f=f.add(h)}return f.toP()},c.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(e,r,this._bitLength),c=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(var l=0;u>=0&&0===a[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var f=a[u];s(0!==f),c="affine"===t.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,e,r,n,i){var s,c,u,l=this._wnafT1,f=this._wnafT2,h=this._wnafT3,d=0;for(s=0;s<n;s++){var p=(u=e[s])._getNAFPoints(t);l[s]=p.wnd,f[s]=p.points}for(s=n-1;s>=1;s-=2){var m=s-1,b=s;if(1===l[m]&&1===l[b]){var v=[e[m],null,null,e[b]];0===e[m].y.cmp(e[b].y)?(v[1]=e[m].add(e[b]),v[2]=e[m].toJ().mixedAdd(e[b].neg())):0===e[m].y.cmp(e[b].y.redNeg())?(v[1]=e[m].toJ().mixedAdd(e[b]),v[2]=e[m].add(e[b].neg())):(v[1]=e[m].toJ().mixedAdd(e[b]),v[2]=e[m].toJ().mixedAdd(e[b].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=a(r[m],r[b]);for(d=Math.max(y[0].length,d),h[m]=new Array(d),h[b]=new Array(d),c=0;c<d;c++){var w=0|y[0][c],x=0|y[1][c];h[m][c]=g[3*(w+1)+(x+1)],h[b][c]=0,f[m]=v}}else h[m]=o(r[m],l[m],this._bitLength),h[b]=o(r[b],l[b],this._bitLength),d=Math.max(h[m].length,d),d=Math.max(h[b].length,d)}var O=this.jpoint(null,null,null),_=this._wnafT4;for(s=d;s>=0;s--){for(var S=0;s>=0;){var k=!0;for(c=0;c<n;c++)_[c]=0|h[c][s],0!==_[c]&&(k=!1);if(!k)break;S++,s--}if(s>=0&&S++,O=O.dblp(S),s<0)break;for(c=0;c<n;c++){var E=_[c];0!==E&&(E>0?u=f[c][E-1>>1]:E<0&&(u=f[c][-E-1>>1].neg()),O="affine"===u.type?O.mixedAdd(u):O.add(u))}}for(s=0;s<n;s++)f[s]=null;return i?O:O.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1===2*r)return 6===t[0]?s(t[t.length-1]%2===0):7===t[0]&&s(t[t.length-1]%2===1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(t){return this.encode(t,!0)},u.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},u.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},u.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},u.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},u.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},u.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}},function(t,e,r){var n=r(1106),i=r(1114),o=r(1115),a=r(605),s=r(725),c=r(71).Buffer;function u(t){var e;"object"!==typeof t||c.isBuffer(t)||(e=t.passphrase,t=t.key),"string"===typeof t&&(t=c.from(t));var r,u,l=o(t,e),f=l.tag,h=l.data;switch(f){case"CERTIFICATE":u=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=n.PublicKey.decode(h,"der")),r=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=n.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":h=function(t,e){var r=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],u=t.algorithm.decrypt.cipher.iv,l=t.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,h=s.pbkdf2Sync(e,r,n,f,"sha1"),d=a.createDecipheriv(o,h,u),p=[];return p.push(d.update(l)),p.push(d.final()),c.concat(p)}(h=n.EncryptedPrivateKey.decode(h,"der"),e);case"PRIVATE KEY":switch(r=(u=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:n.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=n.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+f)}}t.exports=u,u.signature=n.signature},function(t,e){var r=function(t,e){Error.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=t,e&&(this.inner=e)};(r.prototype=Object.create(Error.prototype)).constructor=r,t.exports=r},function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return c}));var n=r(29),i=r(45),o=r(46),a=function(){function t(){Object(i.a)(this,t),this._partials=new Float64Array(32),this._n=0}return Object(o.a)(t,[{key:"add",value:function(t){for(var e=this._partials,r=0,n=0;n<this._n&&n<32;n++){var i=e[n],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(e[r++]=a),t=o}return e[r]=t,this._n=r+1,this}},{key:"valueOf",value:function(){var t,e,r,n=this._partials,i=this._n,o=0;if(i>0){for(o=n[--i];i>0&&(t=o,!(r=(e=n[--i])-((o=t+e)-t))););i>0&&(r<0&&n[i-1]<0||r>0&&n[i-1]>0)&&(e=2*r)==(t=o+e)-o&&(o=t)}return o}}]),t}();function s(t,e){var r=new a;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var s=i.value;(s=+s)&&r.add(s)}}catch(h){o.e(h)}finally{o.f()}}else{var c,u=-1,l=Object(n.a)(t);try{for(l.s();!(c=l.n()).done;){var f=c.value;(f=+e(f,++u,t))&&r.add(f)}}catch(h){l.e(h)}finally{l.f()}}return+r}function c(t,e){var r=new a,n=-1;return Float64Array.from(t,void 0===e?function(t){return r.add(+t||0)}:function(i){return r.add(+e(i,++n,t)||0)})}},function(t,e,r){"use strict";var n=r(358);r.d(e,"c",(function(){return n.a})),r.d(e,"b",(function(){return n.b})),r.d(e,"e",(function(){return n.c}));var i=r(503);r.d(e,"d",(function(){return i.a}));var o=r(322);r.d(e,"f",(function(){return o.b})),r.d(e,"a",(function(){return o.a}));var a=r(636);r.d(e,"g",(function(){return a.a}));var s=r(637);r.d(e,"h",(function(){return s.a}));var c=r(638);r.d(e,"i",(function(){return c.a}))},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){var n=r(585),i=r(392),o=r(589),a=r(150);t.exports=function(t,e,r){if(!a(r))return!1;var s=typeof e;return!!("number"==s?i(r)&&o(e,r.length):"string"==s&&e in r)&&n(r[e],t)}},,function(t,e,r){"use strict";r.d(e,"d",(function(){return n.a})),r.d(e,"c",(function(){return n.b})),r.d(e,"f",(function(){return n.c})),r.d(e,"g",(function(){return n.d})),r.d(e,"h",(function(){return n.e})),r.d(e,"e",(function(){return i.a})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var n=r(216),i=r(500);var o=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(n.d)("%Y-%m-%dT%H:%M:%S.%LZ");var a=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:Object(n.e)("%Y-%m-%dT%H:%M:%S.%LZ")},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(0);function i(t){var e=n.useState(t),r=e[0],i=e[1],o=t||r;return n.useEffect((function(){null==r&&i("mui-".concat(Math.round(1e5*Math.random())))}),[r]),o}},,function(t,e,r){"use strict";var n=r(93);e.a=function(t,e){var r;void 0===e&&(e=!0);var i=new Promise((function(n){r=setTimeout(n,t,e)}));return i[n.a]=function(){clearTimeout(r)},i}},function(t,e,r){"use strict";var n=r(1308);e.a=n.a},function(t,e,r){"use strict";var n=r(272);e.a=function(t){return Math.ceil(Math.log(Object(n.a)(t))/Math.LN2)+1}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(108);function i(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length-1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.a;a>r;){if(a-r>600){var c=a-r+1,u=e-r+1,l=Math.log(c),f=.5*Math.exp(2*l/3),h=.5*Math.sqrt(l*f*(c-f)/c)*(u-c/2<0?-1:1),d=Math.max(r,Math.floor(e-u*f/c+h)),p=Math.min(a,Math.floor(e+(c-u)*f/c+h));i(t,e,d,p,s)}var m=t[e],b=r,v=a;for(o(t,r,e),s(t[a],m)>0&&o(t,r,a);b<v;){for(o(t,b,v),++b,--v;s(t[b],m)<0;)++b;for(;s(t[v],m)>0;)--v}0===s(t[r],m)?o(t,r,v):o(t,++v,a),v<=e&&(r=v+1),e<=v&&(a=v-1)}return t}function o(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}},function(t,e,r){"use strict";var n=r(357);e.a=function(t){var e=t.length;return function(r){var i=Math.floor(((r%=1)<0?++r:r)*e),o=t[(i+e-1)%e],a=t[i%e],s=t[(i+1)%e],c=t[(i+2)%e];return Object(n.a)((r-i/e)*e,o,a,s,c)}}},function(t,e,r){"use strict";var n=r(175),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");e.a=function(t,e){var r,a,s,c=i.lastIndex=o.lastIndex=0,u=-1,l=[],f=[];for(t+="",e+="";(r=i.exec(t))&&(a=o.exec(e));)(s=a.index)>c&&(s=e.slice(c,s),l[u]?l[u]+=s:l[++u]=s),(r=r[0])===(a=a[0])?l[u]?l[u]+=a:l[++u]=a:(l[++u]=null,f.push({i:u,x:Object(n.a)(r,a)})),c=o.lastIndex;return c<e.length&&(s=e.slice(c),l[u]?l[u]+=s:l[++u]=s),l.length<2?f[0]?function(t){return function(e){return t(e)+""}}(f[0].x):function(t){return function(){return t}}(e):(e=f.length,function(t){for(var r,n=0;n<e;++n)l[(r=f[n]).i]=r.x(t);return l.join("")})}},function(t,e,r){"use strict";e.a=function(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(274),i=r(286);function o(t,e){var r,i=e?e.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),s=new Array(i);for(r=0;r<o;++r)a[r]=Object(n.a)(t[r],e[r]);for(;r<i;++r)s[r]=e[r];return function(t){for(r=0;r<o;++r)s[r]=a[r](t);return s}}e.a=function(t,e){return(Object(i.b)(e)?i.a:o)(t,e)}},function(t,e,r){"use strict";var n=r(274);e.a=function(t,e){var r,i={},o={};for(r in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)r in t?i[r]=Object(n.a)(t[r],e[r]):o[r]=e[r];return function(t){for(r in i)o[r]=i[r](t);return o}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r(173),i=r(322),o=r(637),a=r(358),s=r(638),c=r(636);function u(t,e,r,u){var l,f=Object(n.c)(t,e,r);switch((u=Object(i.b)(null==u?",f":u)).type){case"s":var h=Math.max(Math.abs(t),Math.abs(e));return null!=u.precision||isNaN(l=Object(o.a)(f,h))||(u.precision=l),Object(a.c)(u,h);case"":case"e":case"g":case"p":case"r":null!=u.precision||isNaN(l=Object(s.a)(f,Math.max(Math.abs(t),Math.abs(e))))||(u.precision=l-("e"===u.type));break;case"f":case"%":null!=u.precision||isNaN(l=Object(c.a)(f))||(u.precision=l-2*("%"===u.type))}return Object(a.b)(u)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(105),i=r(323),o=r(106),a=r(324),s=r(239),c=r(238);function u(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function l(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function f(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function h(t){var e=t.dateTime,r=t.date,s=t.time,c=t.periods,h=t.days,p=t.shortDays,m=t.months,b=t.shortMonths,v=y(c),g=w(c),J=y(h),gt=w(h),At=y(p),Tt=w(p),Pt=y(m),Dt=w(m),Rt=y(b),Lt=w(b),It={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return b[t.getMonth()]},B:function(t){return m[t.getMonth()]},c:null,d:H,e:H,f:G,g:nt,G:ot,H:U,I:W,j:q,L:V,m:Y,M:X,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ct,s:jt,S:$,u:K,U:Z,V:Q,w:tt,W:et,x:null,X:null,y:rt,Y:it,Z:at,"%":Mt},Nt={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return b[t.getUTCMonth()]},B:function(t){return m[t.getUTCMonth()]},c:null,d:st,e:st,f:ht,g:_t,G:kt,H:ct,I:ut,j:lt,L:ft,m:dt,M:pt,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ct,s:jt,S:mt,u:bt,U:vt,V:yt,w:wt,W:xt,x:null,X:null,y:Ot,Y:St,Z:Et,"%":Mt},Ft={a:function(t,e,r){var n=At.exec(e.slice(r));return n?(t.w=Tt.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=J.exec(e.slice(r));return n?(t.w=gt.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=Rt.exec(e.slice(r));return n?(t.m=Lt.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=Pt.exec(e.slice(r));return n?(t.m=Dt.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return Ht(t,e,r,n)},d:T,e:T,f:N,g:M,G:E,H:D,I:D,j:P,L:I,m:A,M:R,p:function(t,e,r){var n=v.exec(e.slice(r));return n?(t.p=g.get(n[0].toLowerCase()),r+n[0].length):-1},q:j,Q:B,s:z,S:L,u:O,U:_,V:S,w:x,W:k,x:function(t,e,n){return Ht(t,r,e,n)},X:function(t,e,r){return Ht(t,s,e,r)},y:M,Y:E,Z:C,"%":F};function Bt(t,e){return function(r){var n,i,o,a=[],s=-1,c=0,u=t.length;for(r instanceof Date||(r=new Date(+r));++s<u;)37===t.charCodeAt(s)&&(a.push(t.slice(c,s)),null!=(i=d[n=t.charAt(++s)])?n=t.charAt(++s):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,i)),a.push(n),c=s+1);return a.push(t.slice(c,s)),a.join("")}}function zt(t,e){return function(r){var s,c,h=f(1900,void 0,1);if(Ht(h,t,r+="",0)!=r.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(e&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(s=l(f(h.y,0,1))).getUTCDay(),s=c>4||0===c?n.c.ceil(s):Object(n.c)(s),s=i.a.offset(s,7*(h.V-1)),h.y=s.getUTCFullYear(),h.m=s.getUTCMonth(),h.d=s.getUTCDate()+(h.w+6)%7):(c=(s=u(f(h.y,0,1))).getDay(),s=c>4||0===c?o.c.ceil(s):Object(o.c)(s),s=a.b.offset(s,7*(h.V-1)),h.y=s.getFullYear(),h.m=s.getMonth(),h.d=s.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?l(f(h.y,0,1)).getUTCDay():u(f(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,l(h)):u(h)}}function Ht(t,e,r,n){for(var i,o,a=0,s=e.length,c=r.length;a<s;){if(n>=c)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=Ft[i in d?e.charAt(a++):i])||(n=o(t,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return It.x=Bt(r,It),It.X=Bt(s,It),It.c=Bt(e,It),Nt.x=Bt(r,Nt),Nt.X=Bt(s,Nt),Nt.c=Bt(e,Nt),{format:function(t){var e=Bt(t+="",It);return e.toString=function(){return t},e},parse:function(t){var e=zt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=Bt(t+="",Nt);return e.toString=function(){return t},e},utcParse:function(t){var e=zt(t+="",!0);return e.toString=function(){return t},e}}}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,m=/^%/,b=/[\\^$*+?|[\]().{}]/g;function v(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(e)+i:i)}function g(t){return t.replace(b,"\\$&")}function y(t){return new RegExp("^(?:"+t.map(g).join("|")+")","i")}function w(t){return new Map(t.map((function(t,e){return[t.toLowerCase(),e]})))}function x(t,e,r){var n=p.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function O(t,e,r){var n=p.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function _(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function S(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function k(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function E(t,e,r){var n=p.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function M(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function C(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function j(t,e,r){var n=p.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function A(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function T(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function P(t,e,r){var n=p.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function D(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function R(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function L(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function I(t,e,r){var n=p.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function N(t,e,r){var n=p.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function F(t,e,r){var n=m.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function B(t,e,r){var n=p.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function z(t,e,r){var n=p.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function H(t,e){return v(t.getDate(),e,2)}function U(t,e){return v(t.getHours(),e,2)}function W(t,e){return v(t.getHours()%12||12,e,2)}function q(t,e){return v(1+a.b.count(Object(s.a)(t),t),e,3)}function V(t,e){return v(t.getMilliseconds(),e,3)}function G(t,e){return V(t,e)+"000"}function Y(t,e){return v(t.getMonth()+1,e,2)}function X(t,e){return v(t.getMinutes(),e,2)}function $(t,e){return v(t.getSeconds(),e,2)}function K(t){var e=t.getDay();return 0===e?7:e}function Z(t,e){return v(o.g.count(Object(s.a)(t)-1,t),e,2)}function J(t){var e=t.getDay();return e>=4||0===e?Object(o.i)(t):o.i.ceil(t)}function Q(t,e){return t=J(t),v(o.i.count(Object(s.a)(t),t)+(4===Object(s.a)(t).getDay()),e,2)}function tt(t){return t.getDay()}function et(t,e){return v(o.c.count(Object(s.a)(t)-1,t),e,2)}function rt(t,e){return v(t.getFullYear()%100,e,2)}function nt(t,e){return v((t=J(t)).getFullYear()%100,e,2)}function it(t,e){return v(t.getFullYear()%1e4,e,4)}function ot(t,e){var r=t.getDay();return v((t=r>=4||0===r?Object(o.i)(t):o.i.ceil(t)).getFullYear()%1e4,e,4)}function at(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+v(e/60|0,"0",2)+v(e%60,"0",2)}function st(t,e){return v(t.getUTCDate(),e,2)}function ct(t,e){return v(t.getUTCHours(),e,2)}function ut(t,e){return v(t.getUTCHours()%12||12,e,2)}function lt(t,e){return v(1+i.a.count(Object(c.a)(t),t),e,3)}function ft(t,e){return v(t.getUTCMilliseconds(),e,3)}function ht(t,e){return ft(t,e)+"000"}function dt(t,e){return v(t.getUTCMonth()+1,e,2)}function pt(t,e){return v(t.getUTCMinutes(),e,2)}function mt(t,e){return v(t.getUTCSeconds(),e,2)}function bt(t){var e=t.getUTCDay();return 0===e?7:e}function vt(t,e){return v(n.g.count(Object(c.a)(t)-1,t),e,2)}function gt(t){var e=t.getUTCDay();return e>=4||0===e?Object(n.i)(t):n.i.ceil(t)}function yt(t,e){return t=gt(t),v(n.i.count(Object(c.a)(t),t)+(4===Object(c.a)(t).getUTCDay()),e,2)}function wt(t){return t.getUTCDay()}function xt(t,e){return v(n.c.count(Object(c.a)(t)-1,t),e,2)}function Ot(t,e){return v(t.getUTCFullYear()%100,e,2)}function _t(t,e){return v((t=gt(t)).getUTCFullYear()%100,e,2)}function St(t,e){return v(t.getUTCFullYear()%1e4,e,4)}function kt(t,e){var r=t.getUTCDay();return v((t=r>=4||0===r?Object(n.i)(t):n.i.ceil(t)).getUTCFullYear()%1e4,e,4)}function Et(){return"+0000"}function Mt(){return"%"}function Ct(t){return+t}function jt(t){return Math.floor(+t/1e3)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return h}));var n=r(428),i=r(334),o=r(415),a=r(416),s=r(418),c=r(417),u=r(419),l=r(420),f=r(59),h=[i.a,o.a,a.a,c.a,s.a,u.a,l.a];e.a=function(t,e){var r=null;function o(){var i;if(r||(r=i=Object(n.a)()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"===typeof t?t:Object(f.a)(t||i.a),e="function"===typeof e?e:Object(f.a)(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"===typeof e?e:Object(f.a)(e),o):t},o.size=function(t){return arguments.length?(e="function"===typeof t?t:Object(f.a)(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}},,function(t,e,r){"use strict";var n,i=r(237),o=r(322),a=r(253),s=function(t,e){var r=Object(a.b)(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")},c={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:a.a,e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return s(100*t,e)},r:s,s:function(t,e){var r=Object(a.b)(t,e);if(!r)return t+"";var i=r[0],o=r[1],s=o-(n=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=i.length;return s===c?i:s>c?i+new Array(s-c+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+Object(a.b)(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},u=function(t){return t},l=Array.prototype.map,f=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];e.a=function(t){var e,r,a=void 0===t.grouping||void 0===t.thousands?u:(e=l.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,o=[],a=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>n&&(s=Math.max(1,n-c)),o.push(t.substring(i-=s,i+s)),!((c+=s+1)>n));)s=e[a=(a+1)%e.length];return o.reverse().join(r)}),s=void 0===t.currency?"":t.currency[0]+"",h=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?u:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(l.call(t.numerals,String)),m=void 0===t.percent?"%":t.percent+"",b=void 0===t.minus?"\u2212":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function g(t){var e=(t=Object(o.b)(t)).fill,r=t.align,i=t.sign,u=t.symbol,l=t.zero,g=t.width,y=t.comma,w=t.precision,x=t.trim,O=t.type;"n"===O?(y=!0,O="g"):c[O]||(void 0===w&&(w=12),x=!0,O="g"),(l||"0"===e&&"="===r)&&(l=!0,e="0",r="=");var _="$"===u?s:"#"===u&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",S="$"===u?h:/[%p]/.test(O)?m:"",k=c[O],E=/[defgprs%]/.test(O);function M(t){var o,s,c,u=_,h=S;if("c"===O)h=k(t)+h,t="";else{var m=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:k(Math.abs(t),w),x&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),m&&0===+t&&"+"!==i&&(m=!1),u=(m?"("===i?i:b:"-"===i||"("===i?"":i)+u,h=("s"===O?f[8+n/3]:"")+h+(m&&"("===i?")":""),E)for(o=-1,s=t.length;++o<s;)if(48>(c=t.charCodeAt(o))||c>57){h=(46===c?d+t.slice(o+1):t.slice(o))+h,t=t.slice(0,o);break}}y&&!l&&(t=a(t,1/0));var M=u.length+t.length+h.length,C=M<g?new Array(g-M+1).join(e):"";switch(y&&l&&(t=a(C+t,C.length?g-h.length:1/0),C=""),r){case"<":t=u+t+h+C;break;case"=":t=u+C+t+h;break;case"^":t=C.slice(0,M=C.length>>1)+u+t+h+C.slice(M);break;default:t=C+u+t+h}return p(t)}return w=void 0===w?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),M.toString=function(){return t+""},M}return{format:g,formatPrefix:function(t,e){var r=g(((t=Object(o.b)(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Object(i.a)(e)/3))),a=Math.pow(10,-n),s=f[8+n/3];return function(t){return r(a*t)+s}}}}},,,function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.a=r}).call(this,r(120))},function(t,e,r){"use strict";var n=r(160),i=r(184);e.a=function(t){if(!Object(i.a)(t))return!1;var e=Object(n.a)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){"use strict";e.a=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){"use strict";e.a=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,r){"use strict";e.a=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e,r){"use strict";function n(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(2),i=r(217);function o(t){return t&&"object"===Object(i.a)(t)&&t.constructor===Object}function a(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=r.clone?Object(n.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(n){"__proto__"!==n&&(o(e[n])&&n in t?i[n]=a(t[n],e[n],r):i[n]=e[n])})),i}},function(t,e,r){"use strict";var n=r(0),i=r.n(n).a.createContext(null);e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(425);function i(t,e){if(t){if("string"===typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},function(t,e,r){"use strict";var n="function"===typeof Symbol&&Symbol.for;e.a=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(t,e,r){"use strict";function n(t){for(var e="https://material-ui.com/production-error/?code="+t,r=1;r<arguments.length;r+=1)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+t+"; visit "+e+" for the full message."}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));r(232),r(2);var n=r(217),i=(r(10),r(249),{xs:0,sm:600,md:960,lg:1280,xl:1920}),o={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(i[t],"px)")}};function a(t,e,r){if(Array.isArray(e)){var i=t.theme.breakpoints||o;return e.reduce((function(t,n,o){return t[i.up(i.keys[o])]=r(e[o]),t}),{})}if("object"===Object(n.a)(e)){var a=t.theme.breakpoints||o;return Object.keys(e).reduce((function(t,n){return t[a.up(n)]=r(e[n]),t}),{})}return r(e)}},function(t,e,r){"use strict";e.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(t,e,r){"use strict";function n(){var t=document.createElement("div");t.style.width="99px",t.style.height="99px",t.style.position="absolute",t.style.top="-9999px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=(r(10),r(8)),c=r(221),u=r(185),l=r(26),f=r(659),h=a.forwardRef((function(t,e){var r=t.autoFocus,l=t.checked,h=t.checkedIcon,d=t.classes,p=t.className,m=t.defaultChecked,b=t.disabled,v=t.icon,g=t.id,y=t.inputProps,w=t.inputRef,x=t.name,O=t.onBlur,_=t.onChange,S=t.onFocus,k=t.readOnly,E=t.required,M=t.tabIndex,C=t.type,j=t.value,A=Object(o.a)(t,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),T=Object(c.a)({controlled:l,default:Boolean(m),name:"SwitchBase",state:"checked"}),P=Object(i.a)(T,2),D=P[0],R=P[1],L=Object(u.a)(),I=b;L&&"undefined"===typeof I&&(I=L.disabled);var N="checkbox"===C||"radio"===C;return a.createElement(f.a,Object(n.a)({component:"span",className:Object(s.a)(d.root,p,D&&d.checked,I&&d.disabled),disabled:I,tabIndex:null,role:void 0,onFocus:function(t){S&&S(t),L&&L.onFocus&&L.onFocus(t)},onBlur:function(t){O&&O(t),L&&L.onBlur&&L.onBlur(t)},ref:e},A),a.createElement("input",Object(n.a)({autoFocus:r,checked:l,defaultChecked:m,className:d.input,disabled:I,id:N&&g,name:x,onChange:function(t){var e=t.target.checked;R(e),_&&_(t,e)},readOnly:k,ref:w,required:E,tabIndex:M,type:C,value:j},y)),D?h:v)}));e.a=Object(l.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(h)},function(t,e,r){"use strict";var n=r(0),i=r(159);e.a=Object(i.a)(n.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},function(t,e,r){"use strict";e.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){function t(t){var e=this;this._insertTag=function(t){var r;r=0===e.tags.length?e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,r),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{r.insertRule(t,r.cssRules.length)}catch(n){0}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}()},function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));var n=r(177),i=r(118),o=r(378),a=-.14861,s=1.78277,c=-.29227,u=-.90649,l=1.97294,f=l*u,h=l*s,d=s*c-u*a;function p(t){if(t instanceof b)return new b(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var e=t.r/255,r=t.g/255,n=t.b/255,a=(d*n+f*e-h*r)/(d+f-h),s=n-a,p=(l*(r-a)-c*s)/u,m=Math.sqrt(p*p+s*s)/(l*a*(1-a)),v=m?Math.atan2(p,s)*o.a-120:NaN;return new b(v<0?v+360:v,m,a,t.opacity)}function m(t,e,r,n){return 1===arguments.length?p(t):new b(t,e,r,null==n?1:n)}function b(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}Object(n.a)(b,m,Object(n.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new b(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new b(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.b,e=+this.l,r=isNaN(this.s)?0:this.s*e*(1-e),n=Math.cos(t),f=Math.sin(t);return new i.b(255*(e+r*(a*n+s*f)),255*(e+r*(c*n+u*f)),255*(e+r*(l*n)),this.opacity)}}))},function(t,e,r){"use strict";e.a=function(t){return t}},function(t,e,r){"use strict";e.a=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}},function(t,e,r){"use strict";r.r(e);var n=Number.isNaN||function(t){return"number"===typeof t&&t!==t};function i(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(i=t[r],o=e[r],!(i===o||n(i)&&n(o)))return!1;var i,o;return!0}e.default=function(t,e){var r;void 0===e&&(e=i);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&e(i,o)||(n=t.apply(this,i),a=!0,r=this,o=i),n}}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),"LocationOn");e.default=a},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ReactSearchAutocomplete",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(1216))&&n.__esModule?n:{default:n}},,function(t,e,r){"use strict";var n,i=r(0),o=(n=i)&&"object"===typeof n&&"default"in n?n.default:n,a=function(){return(a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};var s="styles_scroll-to-top__2A70v";!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!==typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}(".styles_scroll-to-top__2A70v {\n  background-color: white;\n  right: 40px;\n  bottom: 40px;\n  position: fixed;\n  z-index: 2;\n  cursor: pointer;\n  border-radius: 7px;\n  width: 40px;\n  height: 40px;\n  transition: opacity 1s ease-in-out;\n  box-shadow: 0 9px 25px 0 rgba(132, 128, 177, 0.28);\n  border: none;\n  outline: none;\n}\n\n.styles_scroll-to-top__2A70v:active {\n  transform: matrix(0.95, 0, 0, 0.95, 0, 0);\n}\n");t.exports=function(t){var e=t.top,r=void 0===e?20:e,n=t.className,c=void 0===n?s:n,u=t.color,l=void 0===u?"black":u,f=t.smooth,h=void 0!==f&&f,d=t.component,p=void 0===d?"":d,m=t.viewBox,b=void 0===m?"0 0 256 256":m,v=t.svgPath,g=void 0===v?"M222.138,91.475l-89.6-89.6c-2.5-2.5-6.551-2.5-9.051,0l-89.6,89.6c-2.5,2.5-2.5,6.551,0,9.051s6.744,2.5,9.244,0L122,21.85  V249.6c0,3.535,2.466,6.4,6,6.4s6-2.865,6-6.4V21.85l78.881,78.676c1.25,1.25,2.992,1.875,4.629,1.875s3.326-0.625,4.576-1.875  C224.586,98.025,224.638,93.975,222.138,91.475z":v,y=t.width,w=void 0===y?"28":y,x=t.height,O=void 0===x?"28":x,_=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}(t,["top","className","color","smooth","component","viewBox","svgPath","width","height"]),S=i.useState(!1),k=S[0],E=S[1],M=function(){E(document.documentElement.scrollTop>r)};return i.useEffect((function(){return document.addEventListener("scroll",M),function(){return document.removeEventListener("scroll",M)}}),[]),o.createElement(o.Fragment,null,k&&o.createElement("button",a({className:c,onClick:function(){return function(t){void 0===t&&(t=!1),t?window.scrollTo({top:0,behavior:"smooth"}):document.documentElement.scrollTop=0}(h)}},_),p||o.createElement("svg",{width:w,height:O,fill:l,viewBox:b},o.createElement("path",{d:g}))))}},,function(t,e,r){"use strict";var n=r(0),i=n.createContext();e.a=i},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";var n=r(0),i=Object(n.createContext)({});e.a=i},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiDialogTitle",t)}var a=Object(i.a)("MuiDialogTitle",["root"]);e.a=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z"}),"Upload");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");e.default=a},function(t,e,r){var n=r(1250),i=r(1251),o=r(245),a=r(68),s=r(484);t.exports=function(t,e,r){var c=a(t)?n:i;return r&&s(t,e,r)&&(e=void 0),c(t,o(e,3))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return C}));var n=r(281),i=r.n(n),o=r(0),a=r.n(o),s=r(334),c=r(415),u=r(416),l=r(417),f=r(418),h=r(419),d=r(420),p=r(501),m=r(55),b=r.n(m),v=r(42);function g(t){return(g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(){return(y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=k(t);if(e){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return S(this,r)}}function S(t,e){return!e||"object"!==g(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var E={symbolCircle:s.a,symbolCross:c.a,symbolDiamond:u.a,symbolSquare:l.a,symbolStar:f.a,symbolTriangle:h.a,symbolWye:d.a},M=Math.PI/180,C=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(c,t);var e,r,n,o=_(c);function c(){return w(this,c),o.apply(this,arguments)}return e=c,(r=[{key:"getPath",value:function(){var t=this.props,e=t.size,r=t.sizeType,n=t.type,o=function(t){var e="symbol".concat(i()(t));return E[e]||s.a}(n);return Object(p.a)().type(o).size(function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*M;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(e,r,n))()}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.cx,n=t.cy,i=t.size;return r===+r&&n===+n&&i===+i?a.a.createElement("path",y({},Object(v.c)(this.props,!0),{className:b()("recharts-symbols",e),transform:"translate(".concat(r,", ").concat(n,")"),d:this.getPath()})):null}}])&&x(e.prototype,r),n&&x(e,n),c}(o.PureComponent);C.defaultProps={type:"circle",size:64,sizeType:"area"},C.registerSymbol=function(t,e){E["symbol".concat(i()(t))]=e}},function(t,e,r){"use strict";var n=s(r(1296)),i=s(r(1300)),o=s(r(808)),a=s(r(805));function s(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:n.default}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(t){return null};n.displayName="Cell"},function(t,e,r){"use strict";r.d(e,"a",(function(){return v}));r(779);var n=r(0),i=r(412),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=Object(i.a)((function(t){return o.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),s=r(2),c=r(151),u=r(209),l=r(254),f=a,h=function(t){return"theme"!==t},d=function(t){return"string"===typeof t&&t.charCodeAt(0)>96?f:h},p=function(t,e,r){var n;if(e){var i=e.shouldForwardProp;n=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!==typeof n&&r&&(n=t.__emotion_forwardProp),n},m=function t(e,r){var i,o,a=e.__emotion_real===e,f=a&&e.__emotion_base||e;void 0!==r&&(i=r.label,o=r.target);var h=p(e,r,a),m=h||d(f),b=!m("as");return function(){var v=arguments,g=a&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==i&&g.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)g.push.apply(g,v);else{0,g.push(v[0][0]);for(var y=v.length,w=1;w<y;w++)g.push(v[w],v[0][w])}var x=Object(c.e)((function(t,e,r){var i=b&&t.as||f,a="",s=[],p=t;if(null==t.theme){for(var v in p={},t)p[v]=t[v];p.theme=Object(n.useContext)(c.b)}"string"===typeof t.className?a=Object(u.a)(e.registered,s,t.className):null!=t.className&&(a=t.className+" ");var y=Object(l.a)(g.concat(s),e.registered,p);Object(u.b)(e,y,"string"===typeof i);a+=e.key+"-"+y.name,void 0!==o&&(a+=" "+o);var w=b&&void 0===h?d(i):m,x={};for(var O in t)b&&"as"===O||w(O)&&(x[O]=t[O]);return x.className=a,x.ref=r,Object(n.createElement)(i,x)}));return x.displayName=void 0!==i?i:"Styled("+("string"===typeof f?f:f.displayName||f.name||"Component")+")",x.defaultProps=e.defaultProps,x.__emotion_real=x,x.__emotion_base=f,x.__emotion_styles=g,x.__emotion_forwardProp=h,Object.defineProperty(x,"toString",{value:function(){return"."+o}}),x.withComponent=function(e,n){return t(e,Object(s.a)({},r,n,{shouldForwardProp:p(x,n,!0)})).apply(void 0,g)},x}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){m[t]=m(t)}));var b=m;function v(t,e){return b(t,e)}},function(t,e,r){"use strict";var n=r(279),i=r(510),o=Object(i.a)(Object.keys,Object),a=Object.prototype.hasOwnProperty;e.a=function(t){if(!Object(n.a)(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},function(t,e,r){"use strict";var n=r(160),i=r(153);var o=function(t){return Object(i.a)(t)&&"[object Arguments]"==Object(n.a)(t)},a=Object.prototype,s=a.hasOwnProperty,c=a.propertyIsEnumerable,u=o(function(){return arguments}())?o:function(t){return Object(i.a)(t)&&s.call(t,"callee")&&!c.call(t,"callee")};e.a=u},function(t,e,r){"use strict";var n=r(160),i=r(511),o=r(153),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(t){return Object(o.a)(t)&&Object(i.a)(t.length)&&!!a[Object(n.a)(t)]},c=r(362),u=r(255),l=u.a&&u.a.isTypedArray,f=l?Object(c.a)(l):s;e.a=f},function(t,e,r){"use strict";r.d(e,"b",(function(){return b})),r.d(e,"c",(function(){return v})),r.d(e,"a",(function(){return g}));var n=r(45),i=r(46),o=r(95),a=r(96),s=r(648),c=r(649),u=r.n(c),l="",f="",h="",d="",p="",m='<div><canvas id="canv"></canvas><div><a id="reload_href"  style="cursor: pointer; color: blue">Reload Captcha</a></div></div>',b=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"white",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"black",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";h=r,d=n,p=i,f=e;var o="",a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";"upper"===i?a="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789":"lower"===i?a="abcdefghijklmnopqrstuvwxyz0123456789":"numbers"===i?a="0123456789":"special_char"===i&&(a="~`!@#$%^&*()_+-=[]{}|:'<>,.?/");for(var s=parseInt(e),c=0,u=a.length;c<s;++c)o+=a.charAt(Math.floor(Math.random()*u));var m=o;l=m;var b=Math.round(parseInt(s)/3),v=document.getElementById("canv"),g=v.getContext("2d"),y=(document.getElementById("image"),m),w=30,x=(parseInt(s),parseInt(b),y.split("\n"));x.slice(0).sort((function(t,e){return e.length-t.length}));g.canvas.width=25*parseInt(s),g.canvas.height=x.length*w,g.fillStyle=r,g.fillRect(0,0,v.width,v.height),g.textBaseline="middle",g.font="italic 20px Arial",g.fillStyle=n;for(var O=0,_=0;_<parseInt(s);_++){var S=20*(O=parseInt(O)+1);g.fillText(o[_],S,Math.round(3*Math.random()+12))}document.getElementById("reload_href").onclick=function(){t(f,r,n,i)}},v=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t==l||(1==e&&b(f,h,d,p),!1)},g=function(t){Object(o.a)(r,t);var e=Object(a.a)(r);function r(){return Object(n.a)(this,r),e.apply(this,arguments)}return Object(i.a)(r,[{key:"render",value:function(){var t="",e="";return m='<div><canvas id="canv" style="background-color: blue;"></canvas><div><a id="reload_href"  style="cursor: pointer; color: blue">Reload Captcha</a></div></div>',this.props.reloadText&&(t=this.props.reloadText),this.props.reloadColor&&(e=this.props.reloadColor),""==t&&(t="Reload Captcha"),""==e&&(e="blue"),m='<div><canvas id="canv"></canvas><div><a id="reload_href"  style="cursor: pointer; color: '+e+'">'+t+"</a></div></div>",u()(m)}}]),r}(s.Component);s.Component},function(t,e,r){"use strict";function n(t){for(var e="https://mui.com/production-error/?code="+t,r=1;r<arguments.length;r+=1)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s(r(1286)),i=r(1291),o=s(r(804)),a=s(r(1294));function s(t){return t&&t.__esModule?t:{default:t}}var c=/((?:\-[a-z]+\-)?calc)/;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,n.default)(t).walk((function(t){if("function"===t.type&&c.test(t.value)){var r=n.default.stringify(t.nodes);if(!(r.indexOf("constant")>=0||r.indexOf("env")>=0)){var s=i.parser.parse(r),u=(0,o.default)(s,e);t.type="word",t.value=(0,a.default)(t.value,u,e)}}}),!0).toString()},t.exports=e.default},function(t,e,r){"use strict";r.d(e,"a",(function(){return F}));var n=r(44),i=r.n(n),o=r(0),a=r.n(o),s=r(55),c=r.n(s),u=r(80),l=r(291),f=r(208),h=r(17),d=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},p=r(240),m=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]},b=r(42);function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){w(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){var e=t.x,r=t.y,n=t.r,i=t.alwaysShow,o=t.clipPathId,s=Object(h.g)(e),l=Object(h.g)(r);if(m(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!l)return null;var v=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=Object(p.a)({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return d(t,"discard")&&!o.isInRange(a)?null:a}(t);if(!v)return null;var g=v.x,w=v.y,O=t.shape,_=t.className,S=y(y({clipPath:d(t,"hidden")?"url(#".concat(o,")"):void 0},Object(b.c)(t,!0)),{},{cx:g,cy:w});return a.a.createElement(u.a,{className:c()("recharts-reference-dot",_)},x.renderDot(O,S),f.a.renderCallByParent(t,{x:g-n,y:w-n,width:2*n,height:2*n}))}x.displayName="ReferenceDot",x.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},x.renderDot=function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):i()(t)?t(e):a.a.createElement(l.a,v({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var O=r(862),_=r.n(O);function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){E(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function E(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return C(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function j(){return(j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function A(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxis,s=t.yAxis,l=t.shape,v=t.className,g=t.alwaysShow,y=t.clipPathId;m(void 0===g,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var w=function(t,e,r,n,i){var o=i.viewBox,a=o.x,s=o.y,c=o.width,u=o.height,l=i.position;if(r){var f=i.y,h=i.yAxis.orientation,p=t.y.apply(f,{position:l});if(d(i,"discard")&&!t.y.isInRange(p))return null;var m=[{x:a+c,y:p},{x:a,y:p}];return"left"===h?m.reverse():m}if(e){var b=i.x,v=i.xAxis.orientation,g=t.x.apply(b,{position:l});if(d(i,"discard")&&!t.x.isInRange(g))return null;var y=[{x:g,y:s+u},{x:g,y:s}];return"top"===v?y.reverse():y}if(n){var w=i.segment.map((function(e){return t.apply(e,{position:l})}));return d(i,"discard")&&_()(w,(function(e){return!t.isInRange(e)}))?null:w}return null}(Object(p.a)({x:o.scale,y:s.scale}),Object(h.g)(e),Object(h.g)(r),n&&2===n.length,t);if(!w)return null;var x=M(w,2),O=x[0],S=O.x,E=O.y,C=x[1],A=C.x,T=C.y,P=k(k({clipPath:d(t,"hidden")?"url(#".concat(y,")"):void 0},Object(b.c)(t,!0)),{},{x1:S,y1:E,x2:A,y2:T});return a.a.createElement(u.a,{className:c()("recharts-reference-line",v)},function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):i()(t)?t(e):a.a.createElement("line",j({},e,{className:"recharts-reference-line-line"}))}(l,P),f.a.renderCallByParent(t,Object(p.c)({x1:S,y1:E,x2:A,y2:T})))}A.displayName="ReferenceLine",A.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};var T=r(336);function P(){return(P=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach((function(e){L(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function L(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t){var e=t.x1,r=t.x2,n=t.y1,i=t.y2,o=t.className,s=t.alwaysShow,l=t.clipPathId;m(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var v=Object(h.g)(e),g=Object(h.g)(r),y=Object(h.g)(n),w=Object(h.g)(i),x=t.shape;if(!v&&!g&&!y&&!w&&!x)return null;var O=function(t,e,r,n,i){var o=i.x1,a=i.x2,s=i.y1,c=i.y2,u=i.xAxis,l=i.yAxis;if(!u||!l)return null;var f=Object(p.a)({x:u.scale,y:l.scale}),h={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(s,{position:"start"}):f.y.rangeMin},m={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!d(i,"discard")||f.isInRange(h)&&f.isInRange(m)?Object(p.d)(h,m):null}(v,g,y,w,t);if(!O&&!x)return null;var _=d(t,"hidden")?"url(#".concat(l,")"):void 0;return a.a.createElement(u.a,{className:c()("recharts-reference-area",o)},I.renderRect(x,R(R({clipPath:_},Object(b.c)(t,!0)),O)),f.a.renderCallByParent(t,O))}I.displayName="ReferenceArea",I.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},I.renderRect=function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):i()(t)?t(e):a.a.createElement(T.a,P({},e,{className:"recharts-reference-area-rect"}))};var N=r(74),F=function(t,e,r,n,i){var o=Object(N.a)(t,A.displayName),a=Object(N.a)(t,x.displayName),s=o.concat(a),c=Object(N.a)(t,I.displayName),u="".concat(n,"Id"),l=n[0],f=e;if(s.length&&(f=s.reduce((function(t,e){if(e.props[u]===r&&d(e.props,"extendDomain")&&Object(h.h)(e.props[l])){var n=e.props[l];return[Math.min(t[0],n),Math.max(t[1],n)]}return t}),f)),c.length){var p="".concat(l,"1"),m="".concat(l,"2");f=c.reduce((function(t,e){if(e.props[u]===r&&d(e.props,"extendDomain")&&Object(h.h)(e.props[p])&&Object(h.h)(e.props[m])){var n=e.props[p],i=e.props[m];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t}),f)}return i&&i.length&&(f=i.reduce((function(t,e){return Object(h.h)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f}},function(t,e,r){"use strict";r.d(e,"a",(function(){return D}));var n=r(44),i=r.n(n),o=r(380),a=r.n(o),s=r(0),c=r.n(s),u=r(55),l=r.n(u),f=r(625),h=r(80),d=r(335),p=r(37),m=r(17);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){g(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function g(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var y=["Webkit","Moz","O","ms"],w=r(42);function x(t){return(x="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(){return(O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=T(t);if(e){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return j(this,r)}}function j(t,e){return!e||"object"!==x(e)&&"function"!==typeof e?A(t):e}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var P=function(t){return t.changedTouches&&!!t.changedTouches.length},D=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(u,t);var e,r,n,o=C(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=o.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var r=P(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(A(e),"startX"),endX:e.handleTravellerDragStart.bind(A(e),"endX")},e.state={},e}return e=u,n=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,i=t.height,o=t.stroke,a=Math.floor(r+i/2)-1;return c.a.createElement(c.a.Fragment,null,c.a.createElement("rect",{x:e,y:r,width:n,height:i,fill:o,stroke:"none"}),c.a.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),c.a.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return c.a.isValidElement(t)?c.a.cloneElement(t,e):i()(t)?t(e):u.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,s=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||s!==e.prevUpdateId)return S({prevData:r,prevTravellerWidth:o,prevUpdateId:s,prevX:i,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,i=t.x,o=t.width,s=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=Object(f.b)().domain(a()(0,c)).range([i,i+o-s]),l=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var l=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:s,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var i=Math.floor((r+n)/2);t[i]>e?n=i:r=i}return e>=t[n]?n:r}}],(r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,i=this.props,o=i.gap,a=i.data.length-1,s=Math.min(e,r),c=Math.max(e,r),l=u.getIndexInRange(n,s),f=u.getIndexInRange(n,c);return{startIndex:l-l%o,endIndex:f===a?a:f-f%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,a=Object(p.w)(r[t],o,t);return i()(n)?n(a,t):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,s=o.width,c=o.travellerWidth,u=o.startIndex,l=o.endIndex,f=o.onChange,h=t.pageX-r;h>0?h=Math.min(h,a+s-c-i,a+s-c-n):h<0&&(h=Math.max(h,a-n,a-i));var d=this.getIndex({startX:n+h,endX:i+h});d.startIndex===u&&d.endIndex===l||!f||f(d),this.setState({startX:n+h,endX:i+h,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=P(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,r=this.state,n=r.brushMoveStartX,i=r.movingTravellerId,o=r.endX,a=r.startX,s=this.state[i],c=this.props,u=c.x,l=c.width,f=c.travellerWidth,h=c.onChange,d=c.gap,p=c.data,m={startX:this.state.startX,endX:this.state.endX},b=t.pageX-n;b>0?b=Math.min(b,u+l-f-s):b<0&&(b=Math.max(b,u-s)),m[i]=s+b;var v=this.getIndex(m),g=v.startIndex,y=v.endIndex;this.setState((k(e={},i,s+b),k(e,"brushMoveStartX",t.pageX),e),(function(){h&&function(){var t=p.length-1;return"startX"===i&&(o>a?g%d===0:y%d===0)||o<a&&y===t||"endX"===i&&(o>a?y%d===0:g%d===0)||o>a&&y===t}()&&h(v)}))}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.fill,a=t.stroke;return c.a.createElement("rect",{stroke:a,fill:o,x:e,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.data,a=t.children,u=t.padding,l=s.Children.only(a);return l?c.a.cloneElement(l,{x:e,y:r,width:n,height:i,margin:u,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(t,e){var r=this.props,n=r.y,i=r.travellerWidth,o=r.height,a=r.traveller,s=Math.max(t,this.props.x),l=S(S({},Object(w.c)(this.props)),{},{x:s,y:n,width:i,height:o});return c.a.createElement(h.a,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},u.renderTraveller(a,l))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,s=Math.min(t,e)+a,u=Math.max(Math.abs(e-t)-a,0);return c.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:s,y:n,width:u,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,i=t.height,o=t.travellerWidth,a=t.stroke,s=this.state,u=s.startX,l=s.endX,f={pointerEvents:"none",fill:a};return c.a.createElement(h.a,{className:"recharts-brush-texts"},c.a.createElement(d.a,O({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,l)-5,y:n+i/2},f),this.getTextOfTick(e)),c.a.createElement(d.a,O({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,l)+o+5,y:n+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,i=t.x,o=t.y,a=t.width,s=t.height,u=t.alwaysShowText,f=this.state,d=f.startX,p=f.endX,b=f.isTextActive,w=f.isSlideMoving,x=f.isTravellerMoving;if(!e||!e.length||!Object(m.h)(i)||!Object(m.h)(o)||!Object(m.h)(a)||!Object(m.h)(s)||a<=0||s<=0)return null;var O=l()("recharts-brush",r),_=1===c.a.Children.count(n),S=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),n=y.reduce((function(t,n){return v(v({},t),{},g({},n+r,e))}),{});return n[t]=e,n}("userSelect","none");return c.a.createElement(h.a,{className:O,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:S},this.renderBackground(),_&&this.renderPanorama(),this.renderSlide(d,p),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(p,"endX"),(b||w||x||u)&&this.renderText())}}])&&E(e.prototype,r),n&&E(e,n),u}(s.PureComponent);D.displayName="Brush",D.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(235),u=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.component,f=void 0===l?"ul":l,h=t.dense,d=void 0!==h&&h,p=t.disablePadding,m=void 0!==p&&p,b=t.subheader,v=Object(i.a)(t,["children","classes","className","component","dense","disablePadding","subheader"]),g=o.useMemo((function(){return{dense:d}}),[d]);return o.createElement(c.a.Provider,{value:g},o.createElement(f,Object(n.a)({className:Object(a.a)(s.root,u,d&&s.dense,!m&&s.padding,b&&s.subheader),ref:e},v),b,r))}));e.a=Object(s.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(u)},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n=r(2);function i(t){return null!==t&&"object"===typeof t&&t.constructor===Object}function o(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=r.clone?Object(n.a)({},t):t;return i(t)&&i(e)&&Object.keys(e).forEach((function(n){"__proto__"!==n&&(i(e[n])&&n in t&&i(t[n])?a[n]=o(t[n],e[n],r):a[n]=e[n])})),a}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(235),u=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=Object(i.a)(t,["classes","className"]),l=o.useContext(c.a);return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,s,"flex-start"===l.alignItems&&r.alignItemsFlexStart),ref:e},u))}));e.a=Object(s.a)((function(t){return{root:{minWidth:56,color:t.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(178),u=r(235),l=o.forwardRef((function(t,e){var r=t.children,s=t.classes,l=t.className,f=t.disableTypography,h=void 0!==f&&f,d=t.inset,p=void 0!==d&&d,m=t.primary,b=t.primaryTypographyProps,v=t.secondary,g=t.secondaryTypographyProps,y=Object(i.a)(t,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),w=o.useContext(u.a).dense,x=null!=m?m:r;null==x||x.type===c.a||h||(x=o.createElement(c.a,Object(n.a)({variant:w?"body2":"body1",className:s.primary,component:"span",display:"block"},b),x));var O=v;return null==O||O.type===c.a||h||(O=o.createElement(c.a,Object(n.a)({variant:"body2",className:s.secondary,color:"textSecondary",display:"block"},g),O)),o.createElement("div",Object(n.a)({className:Object(a.a)(s.root,l,w&&s.dense,p&&s.inset,x&&O&&s.multiline),ref:e},y),x,O)}));e.a=Object(s.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(l)},function(t,e,r){"use strict";function n(t,e){return function(){return null}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n,i,o=r(2),a=r(14),s=r(0),c=(r(10),r(8)),u=r(558),l=r(646),f=r(222),h=r(170),d=r(49),p=r(6),m=Object(d.a)(Object(p.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),b=r(1467),v=r(434),g=r(1468),y=r(1454),w=r(22),x=r(72),O=["autoWidth","children","classes","className","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],_=s.forwardRef((function(t,e){var r=Object(w.a)({name:"MuiSelect",props:t}),d=r.autoWidth,_=void 0!==d&&d,S=r.children,k=r.classes,E=void 0===k?{}:k,M=r.className,C=r.displayEmpty,j=void 0!==C&&C,A=r.IconComponent,T=void 0===A?m:A,P=r.id,D=r.input,R=r.inputProps,L=r.label,I=r.labelId,N=r.MenuProps,F=r.multiple,B=void 0!==F&&F,z=r.native,H=void 0!==z&&z,U=r.onClose,W=r.onOpen,q=r.open,V=r.renderValue,G=r.SelectDisplayProps,Y=r.variant,X=void 0===Y?"outlined":Y,$=Object(a.a)(r,O),K=H?v.a:l.a,Z=Object(h.a)(),J=Object(f.a)({props:r,muiFormControl:Z,states:["variant"]}).variant||X,Q=D||{standard:n||(n=Object(p.jsx)(b.a,{})),outlined:Object(p.jsx)(y.a,{label:L}),filled:i||(i=Object(p.jsx)(g.a,{}))}[J],tt=function(t){return t.classes}(Object(o.a)({},r,{classes:E})),et=Object(x.a)(e,Q.ref);return s.cloneElement(Q,Object(o.a)({inputComponent:K,inputProps:Object(o.a)({children:S,IconComponent:T,variant:J,type:void 0,multiple:B},H?{id:P}:{autoWidth:_,displayEmpty:j,labelId:I,MenuProps:N,onClose:U,onOpen:W,open:q,renderValue:V,SelectDisplayProps:Object(o.a)({id:P},G)},R,{classes:R?Object(u.a)(tt,R.classes):tt},D?D.props.inputProps:{})},B&&H&&"outlined"===J?{notched:!0}:{},{ref:et,className:Object(c.a)(Q.props.className,M)},$))}));_.muiName="Select";e.a=_},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(399),r(10),r(155)),s=r(1461),c=r(1413).a,u=r(72),l=r(156),f=r(6),h=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function d(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function p(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function m(t,e){if(void 0===e)return!0;var r=t.innerText;return void 0===r&&(r=t.textContent),0!==(r=r.trim().toLowerCase()).length&&(e.repeating?r[0]===e.keys[0]:0===r.indexOf(e.keys.join("")))}function b(t,e,r,n,i,o){for(var a=!1,s=i(t,e,!!e&&r);s;){if(s===t.firstChild){if(a)return!1;a=!0}var c=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,o)&&!c)return s.focus(),!0;s=i(t,s,r)}return!1}var v=o.forwardRef((function(t,e){var r=t.actions,v=t.autoFocus,g=void 0!==v&&v,y=t.autoFocusItem,w=void 0!==y&&y,x=t.children,O=t.className,_=t.disabledItemsFocusable,S=void 0!==_&&_,k=t.disableListWrap,E=void 0!==k&&k,M=t.onKeyDown,C=t.variant,j=void 0===C?"selectedMenu":C,A=Object(i.a)(t,h),T=o.useRef(null),P=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Object(l.a)((function(){g&&T.current.focus()}),[g]),o.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(t,e){var r=!T.current.style.width;if(t.clientHeight<T.current.clientHeight&&r){var n="".concat(c(Object(a.a)(t)),"px");T.current.style["rtl"===e.direction?"paddingLeft":"paddingRight"]=n,T.current.style.width="calc(100% + ".concat(n,")")}return T.current}}}),[]);var D=Object(u.a)(T,e),R=-1;o.Children.forEach(x,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===j&&t.props.selected||-1===R)&&(R=e))}));var L=o.Children.map(x,(function(t,e){if(e===R){var r={};return w&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===j&&(r.tabIndex=0),o.cloneElement(t,r)}return t}));return Object(f.jsx)(s.a,Object(n.a)({role:"menu",ref:D,className:O,onKeyDown:function(t){var e=T.current,r=t.key,n=Object(a.a)(e).activeElement;if("ArrowDown"===r)t.preventDefault(),b(e,n,E,S,d);else if("ArrowUp"===r)t.preventDefault(),b(e,n,E,S,p);else if("Home"===r)t.preventDefault(),b(e,null,E,S,d);else if("End"===r)t.preventDefault(),b(e,null,E,S,p);else if(1===r.length){var i=P.current,o=r.toLowerCase(),s=performance.now();i.keys.length>0&&(s-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=s,i.keys.push(o);var c=n&&!i.repeating&&m(n,i);i.previousKeyMatched&&(c||b(e,n,!1,S,d,i))?t.preventDefault():i.previousKeyMatched=!1}M&&M(t)},tabIndex:g?0:-1},A,{children:L}))}));e.a=v},,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(68),i=r(344),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},function(t,e,r){var n=r(943),i=r(959),o=r(961),a=r(962),s=r(963);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e){t.exports=function(t,e){return t===e||t!==t&&e!==e}},function(t,e,r){var n=r(312)(r(214),"Map");t.exports=n},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},function(t,e,r){var n=r(965),i=r(264),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,r){var n=r(966),i=r(472);t.exports=function(t,e){return t&&n(t,e,i)}},function(t,e,r){var n=r(984),i=r(264);t.exports=function t(e,r,o,a,s){return e===r||(null==e||null==r||!i(e)&&!i(r)?e!==e&&r!==r:n(e,r,o,a,t,s))}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},function(t,e,r){var n=r(686),i=r(471);t.exports=function(t,e){for(var r=0,o=(e=n(e,t)).length;null!=t&&r<o;)t=t[i(e[r++])];return r&&r==o?t:void 0}},function(t,e,r){var n=r(1022),i=r(1127);e.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],e.sign=n.sign,e.verify=i.verify,e.decode=i.decode,e.isValid=i.isValid,e.createSign=function(t){return new n(t)},e.createVerify=function(t){return new i(t)}},function(t,e,r){(e=t.exports=r(708)).Stream=e,e.Readable=e,e.Writable=r(597),e.Duplex=r(313),e.Transform=r(711),e.PassThrough=r(1029)},function(t,e,r){"use strict";(function(e,n,i){var o=r(474);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=g;var s,c=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?n:o.nextTick;g.WritableState=v;var u=Object.create(r(393));u.inherits=r(53);var l={deprecate:r(599)},f=r(709),h=r(71).Buffer,d=i.Uint8Array||function(){};var p,m=r(710);function b(){}function v(t,e){s=s||r(313),t=t||{};var n=e instanceof s;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,u=t.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o.nextTick(i,n),o.nextTick(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),S(t,e))}(t,r,n,e,i);else{var a=O(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||x(t,r),n?c(w,t,r,a,i):w(t,r,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||r(313),!p.call(g,this)&&!(this instanceof s))return new g(t);this._writableState=new v(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function y(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function w(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),S(t,e)}function x(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)i[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;i.allBuffers=c,y(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(y(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function O(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function _(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var r=O(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(_,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}u.inherits(g,f),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===g&&(t&&t._writableState instanceof v)}})):p=function(t){return t instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(t,e,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=t,h.isBuffer(n)||n instanceof d);return s&&!h.isBuffer(t)&&(t=function(t){return h.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof r&&(r=b),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),o.nextTick(e,r)}(this,r):(s||function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,t,r))&&(i.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=h.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var c=e.length<e.highWaterMark;c||(e.needDrain=!0);if(e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else y(t,e,!1,s,n,i,o);return c}(this,i,s,t,e,r)),a},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||x(this,t))},g.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(t,e,r){var n=this._writableState;"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,S(t,e),r&&(e.finished?o.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(112),r(598).setImmediate,r(120))},function(t,e,r){(function(t){var n="undefined"!==typeof t&&t||"undefined"!==typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r(1028),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(this,r(120))},function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(n){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(120))},function(t,e,r){"use strict";var n=r(53),i=r(713),o=r(71).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(t,e){return t<<e|t>>>32-e}function u(t,e,r,n,i,o,a){return c(t+(e&r|~e&n)+i+o|0,a)+e|0}function l(t,e,r,n,i,o,a){return c(t+(e&n|r&~n)+i+o|0,a)+e|0}function f(t,e,r,n,i,o,a){return c(t+(e^r^n)+i+o|0,a)+e|0}function h(t,e,r,n,i,o,a){return c(t+(r^(e|~n))+i+o|0,a)+e|0}n(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,t[0],3614090360,7),o=u(o,r,n,i,t[1],3905402710,12),i=u(i,o,r,n,t[2],606105819,17),n=u(n,i,o,r,t[3],3250441966,22),r=u(r,n,i,o,t[4],4118548399,7),o=u(o,r,n,i,t[5],1200080426,12),i=u(i,o,r,n,t[6],2821735955,17),n=u(n,i,o,r,t[7],4249261313,22),r=u(r,n,i,o,t[8],1770035416,7),o=u(o,r,n,i,t[9],2336552879,12),i=u(i,o,r,n,t[10],4294925233,17),n=u(n,i,o,r,t[11],2304563134,22),r=u(r,n,i,o,t[12],1804603682,7),o=u(o,r,n,i,t[13],4254626195,12),i=u(i,o,r,n,t[14],2792965006,17),r=l(r,n=u(n,i,o,r,t[15],1236535329,22),i,o,t[1],4129170786,5),o=l(o,r,n,i,t[6],3225465664,9),i=l(i,o,r,n,t[11],643717713,14),n=l(n,i,o,r,t[0],3921069994,20),r=l(r,n,i,o,t[5],3593408605,5),o=l(o,r,n,i,t[10],38016083,9),i=l(i,o,r,n,t[15],3634488961,14),n=l(n,i,o,r,t[4],3889429448,20),r=l(r,n,i,o,t[9],568446438,5),o=l(o,r,n,i,t[14],3275163606,9),i=l(i,o,r,n,t[3],4107603335,14),n=l(n,i,o,r,t[8],1163531501,20),r=l(r,n,i,o,t[13],2850285829,5),o=l(o,r,n,i,t[2],4243563512,9),i=l(i,o,r,n,t[7],1735328473,14),r=f(r,n=l(n,i,o,r,t[12],2368359562,20),i,o,t[5],4294588738,4),o=f(o,r,n,i,t[8],2272392833,11),i=f(i,o,r,n,t[11],1839030562,16),n=f(n,i,o,r,t[14],4259657740,23),r=f(r,n,i,o,t[1],2763975236,4),o=f(o,r,n,i,t[4],1272893353,11),i=f(i,o,r,n,t[7],4139469664,16),n=f(n,i,o,r,t[10],3200236656,23),r=f(r,n,i,o,t[13],681279174,4),o=f(o,r,n,i,t[0],3936430074,11),i=f(i,o,r,n,t[3],3572445317,16),n=f(n,i,o,r,t[6],76029189,23),r=f(r,n,i,o,t[9],3654602809,4),o=f(o,r,n,i,t[12],3873151461,11),i=f(i,o,r,n,t[15],530742520,16),r=h(r,n=f(n,i,o,r,t[2],3299628645,23),i,o,t[0],4096336452,6),o=h(o,r,n,i,t[7],1126891415,10),i=h(i,o,r,n,t[14],2878612391,15),n=h(n,i,o,r,t[5],4237533241,21),r=h(r,n,i,o,t[12],1700485571,6),o=h(o,r,n,i,t[3],2399980690,10),i=h(i,o,r,n,t[10],4293915773,15),n=h(n,i,o,r,t[1],2240044497,21),r=h(r,n,i,o,t[8],1873313359,6),o=h(o,r,n,i,t[15],4264355552,10),i=h(i,o,r,n,t[6],2734768916,15),n=h(n,i,o,r,t[13],1309151649,21),r=h(r,n,i,o,t[4],4149444226,6),o=h(o,r,n,i,t[11],3174756917,10),i=h(i,o,r,n,t[2],718787259,15),n=h(n,i,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},function(t,e,r){"use strict";var n=r(347).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"===typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,c=function(){e.writable||l()},u=e._writableState&&e._writableState.finished,l=function(){s=!1,u=!0,a||o.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!f?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!u?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return!function(t){return t.setHeader&&"function"===typeof t.abort}(e)?s&&!e._writableState&&(e.on("end",c),e.on("close",c)):(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)),e.on("end",h),e.on("finish",l),!1!==r.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("end",h),e.removeListener("error",d),e.removeListener("close",p)}}},function(t,e,r){"use strict";var n=r(121).Buffer,i=r(53),o=r(713),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,r,n,i,o,a,s){return p(t+(e^r^n)+o+a|0,s)+i|0}function b(t,e,r,n,i,o,a,s){return p(t+(e&r|~e&n)+o+a|0,s)+i|0}function v(t,e,r,n,i,o,a,s){return p(t+((e|~r)^n)+o+a|0,s)+i|0}function g(t,e,r,n,i,o,a,s){return p(t+(e&n|r&~n)+o+a|0,s)+i|0}function y(t,e,r,n,i,o,a,s){return p(t+(e^(r|~n))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,x=0|this._b,O=0|this._c,_=0|this._d,S=0|this._e,k=0;k<80;k+=1){var E,M;k<16?(E=m(r,n,i,o,d,t[s[k]],f[0],u[k]),M=y(w,x,O,_,S,t[c[k]],h[0],l[k])):k<32?(E=b(r,n,i,o,d,t[s[k]],f[1],u[k]),M=g(w,x,O,_,S,t[c[k]],h[1],l[k])):k<48?(E=v(r,n,i,o,d,t[s[k]],f[2],u[k]),M=v(w,x,O,_,S,t[c[k]],h[2],l[k])):k<64?(E=g(r,n,i,o,d,t[s[k]],f[3],u[k]),M=b(w,x,O,_,S,t[c[k]],h[3],l[k])):(E=y(r,n,i,o,d,t[s[k]],f[4],u[k]),M=m(w,x,O,_,S,t[c[k]],h[4],l[k])),r=d,d=o,o=p(i,10),i=n,n=E,w=S,S=_,_=p(O,10),O=x,x=M}var C=this._b+i+_|0;this._b=this._c+o+S|0,this._c=this._d+d+w|0,this._d=this._e+r+x|0,this._e=this._a+n+O|0,this._a=C},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=d},function(t,e,r){(e=t.exports=function(t){t=t.toLowerCase();var r=e[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r}).sha=r(1047),e.sha1=r(1048),e.sha224=r(1049),e.sha256=r(720),e.sha384=r(1050),e.sha512=r(721)},function(t,e,r){"use strict";var n=r(190);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var r=Math.min(this.buffer.length-this.bufferOff,t.length-e),n=0;n<r;n++)this.buffer[this.bufferOff+n]=t[e+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,r=0,n=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,r),r+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,r=0,n=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)e+=this._buffer(t,e),r+=this._flushBuffer(i,r);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},function(t,e,r){var n=r(1059),i=r(1067),o=r(734);e.createCipher=e.Cipher=n.createCipher,e.createCipheriv=e.Cipheriv=n.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},function(t,e,r){var n={ECB:r(1060),CBC:r(1061),CFB:r(1062),CFB8:r(1063),CFB1:r(1064),OFB:r(1065),CTR:r(732),GCM:r(732)},i=r(734);for(var o in i)i[o].module=n[i[o].mode];t.exports=i},function(t,e,r){var n;function i(t){this.rand=t}if(t.exports=function(t){return n||(n=new i(null)),n.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r<e.length;r++)e[r]=this.rand.getByte();return e},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=r(1073);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(a){}},function(t,e,r){var n=r(121),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";var n=r(350).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"===typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,c=function(){e.writable||l()},u=e._writableState&&e._writableState.finished,l=function(){s=!1,u=!0,a||o.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!f?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!u?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return!function(t){return t.setHeader&&"function"===typeof t.abort}(e)?s&&!e._writableState&&(e.on("end",c),e.on("close",c)):(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)),e.on("end",h),e.on("finish",l),!1!==r.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("end",h),e.removeListener("error",d),e.removeListener("close",p)}}},function(t,e,r){(function(e){var n=r(611),i=r(346);function o(t){var e,r=t.modulus.byteLength();do{e=new n(i(r))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function a(t,r){var i=function(t){var e=o(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(r),a=r.modulus.byteLength(),s=new n(t).mul(i.blinder).umod(r.modulus),c=s.toRed(n.mont(r.prime1)),u=s.toRed(n.mont(r.prime2)),l=r.coefficient,f=r.prime1,h=r.prime2,d=c.redPow(r.exponent1).fromRed(),p=u.redPow(r.exponent2).fromRed(),m=d.isub(p).imul(l).umod(f).imul(h);return p.iadd(m).imul(i.unblinder).umod(r.modulus).toArrayLike(e,"be",a)}a.getr=o,t.exports=a}).call(this,r(121).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1086).Buffer}catch(C){}function s(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),c=e;c<s;c++){var u=t.charCodeAt(c)-48;o*=i,a=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&a<i,"Invalid character"),o+=a}return o}function l(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){l(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(C){o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?h[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=d[t],l=p[t];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(l).toString(t);r=(f=f.idivn(l)).isZero()?m+r:h[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r++]=255&a,r<t.length&&(t[r++]=a>>8&255),r<t.length&&(t[r++]=a>>16&255),6===o?(r<t.length&&(t[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r--]=255&a,r>=0&&(t[r--]=a>>8&255),r>=0&&(t[r--]=a>>16&255),6===o?(r>=0&&(t[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var b=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function v(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function g(t,e,r){return v(t,e,r)}function y(t,e){this.x=t,this.y=e}Math.imul||(b=m),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?b(this,t,e):r<63?m(this,t,e):r<1024?v(this,t,e):g(this,t,e)},y.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},y.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},y.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},y.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},y.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},y.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},y.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},y.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},y.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),g(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"===typeof t),n(t<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=t.words[n]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new E(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function x(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){E.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(t,e){t.iushrn(this.n,0,e)},x.prototype.imulK=function(t){return t.imul(this.k)},i(O,x),O.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},O.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(_,x),i(S,x),i(k,x),k.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new O;else if("p224"===t)e=new _;else if("p192"===t)e=new S;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return w[t]=e,e},E.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},E.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},E.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(l(t,t.umod(this.m)._forceRed(this)),t)},E.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},E.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},E.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},E.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},E.prototype.isqr=function(t){return this.imul(t,t.clone())},E.prototype.sqr=function(t){return this.mul(t,t)},E.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},E.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},E.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},E.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},E.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,E),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";var n=e;n.version=r(1087).version,n.utils=r(191),n.rand=r(607),n.curve=r(747),n.curves=r(613),n.ec=r(1099),n.eddsa=r(1103)},function(t,e,r){"use strict";var n,i=e,o=r(614),a=r(747),s=r(191).assert;function c(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new c(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(1098)}catch(l){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(t,e,r){var n=e;n.utils=r(215),n.common=r(396),n.sha=r(1092),n.ripemd=r(1096),n.hmac=r(1097),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(t,e,r){"use strict";(function(e){var n,i=r(121),o=i.Buffer,a={};for(n in i)i.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(a[n]=i[n]);var s=a.Buffer={};for(n in o)o.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(s[n]=o[n]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,r){if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&"undefined"===typeof t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,r)}),s.alloc||(s.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=o(t);return e&&0!==e.length?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n}),!a.kStringMaxLength)try{a.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(c){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this,r(112))},function(t,e,r){"use strict";var n=r(617).Reporter,i=r(397).EncoderBuffer,o=r(397).DecoderBuffer,a=r(190),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(t,e,r){var n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=u;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var t=this._baseState,e={};l.forEach((function(r){e[r]=t[r]}));var r=new this.constructor(e.parent);return r._baseState=e,r},u.prototype._wrap=function(){var t=this._baseState;c.forEach((function(e){this[e]=function(){var r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},u.prototype._init=function(t){var e=this._baseState;a(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),a.equal(e.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(t){var e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(a(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(a(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);var n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){u.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),s.forEach((function(t){u.prototype[t]=function(){var e=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===e.tag),e.tag=t,this._useArgs(r),this}})),u.prototype.use=function(t){a(t);var e=this._baseState;return a(null===e.use),e.use=t,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(t){var e=this._baseState;return a(null===e.default),e.default=t,e.optional=!0,this},u.prototype.explicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.explicit=t,this},u.prototype.implicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.implicit=t,this},u.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},u.prototype.key=function(t){var e=this._baseState;return a(null===e.key),e.key=t,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(t){var e=this._baseState;return a(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},u.prototype.contains=function(t){var e=this._baseState;return a(null===e.use),e.contains=t,this},u.prototype._decode=function(t,e){var r=this._baseState;if(null===r.parent)return t.wrapResult(r.children[0]._decode(t,e));var n,i=r.default,a=!0,s=null;if(null!==r.key&&(s=t.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(a=this._peekTag(t,c,r.any),t.isError(a))return a}else{var u=t.save();try{null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e),a=!0}catch(m){a=!1}t.restore(u)}}if(r.obj&&a&&(n=t.enterObject()),a){if(null!==r.explicit){var l=this._decodeTag(t,r.explicit);if(t.isError(l))return l;t=l}var f=t.offset;if(null===r.use&&null===r.choice){var h;r.any&&(h=t.save());var d=this._decodeTag(t,null!==r.implicit?r.implicit:r.tag,r.any);if(t.isError(d))return d;r.any?i=t.raw(h):t=d}if(e&&e.track&&null!==r.tag&&e.track(t.path(),f,t.length,"tagged"),e&&e.track&&null!==r.tag&&e.track(t.path(),t.offset,t.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(t,e)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new o(i);i=this._getUse(r.contains,t._reporterState.obj)._decode(p,e)}}return r.obj&&a&&(i=t.leaveObject(n)),null===r.key||null===i&&!0!==a?null!==s&&t.exitKey(s):t.leaveKey(s,r.key,i),i},u.prototype._decodeGeneric=function(t,e,r){var n=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,n.args[0],r):/str$/.test(t)?this._decodeStr(e,t,r):"objid"===t&&n.args?this._decodeObjid(e,n.args[0],n.args[1],r):"objid"===t?this._decodeObjid(e,null,null,r):"gentime"===t||"utctime"===t?this._decodeTime(e,t,r):"null_"===t?this._decodeNull(e,r):"bool"===t?this._decodeBool(e,r):"objDesc"===t?this._decodeStr(e,t,r):"int"===t||"enum"===t?this._decodeInt(e,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,e._reporterState.obj)._decode(e,r):e.error("unknown tag: "+t)},u.prototype._getUse=function(t,e){var r=this._baseState;return r.useDecoder=this._use(t,e),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(t,e){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=t.save(),s=r.choice[o];try{var c=s._decode(t,e);if(t.isError(c))return!1;n={type:o,value:c},i=!0}catch(u){return t.restore(a),!1}return!0}),this),i?n:t.error("Choice not matched")},u.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},u.prototype._encode=function(t,e,r){var n=this._baseState;if(null===n.default||n.default!==t){var i=this._encodeValue(t,e,r);if(void 0!==i&&!this._skipDefault(i,e,r))return i}},u.prototype._encodeValue=function(t,e,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new n);var o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)a=this._getUse(i.contains,r)._encode(t,e),s=!0;else if(i.children)a=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,e,t);if(null===r._baseState.key)return e.error("Child should have a key");var n=e.enterKey(r._baseState.key);if("object"!==typeof t)return e.error("Child expected, but input is not object");var i=r._encode(t[r._baseState.key],e,t);return e.leaveKey(n),i}),this).filter((function(t){return t})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,a=this._createEncoderBuffer(t.map((function(r){var n=this._baseState;return this._getUse(n.args[0],t)._encode(r,e)}),c))}else null!==i.use?o=this._getUse(i.use,r)._encode(t,e):(a=this._encodePrimitive(i.tag,t),s=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,l=null===i.implicit?"universal":"context";null===u?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(u,s,l,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(t,e){var r=this._baseState,n=r.choice[t.type];return n||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(t.value,e)},u.prototype._encodePrimitive=function(t,e){var r=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&r.args)return this._encodeObjid(e,r.reverseArgs[0],r.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,r.args&&r.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},u.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},u.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},function(t,e,r){"use strict";var n=r(53);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,r){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,r=e.obj;return e.obj=t,r},i.prototype.error=function(t){var e,r=this._reporterState,n=t instanceof o;if(e=n?t:new o(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(t,e,r){"use strict";function n(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=n(e.tag)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1122).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.filter((function(t){return!(0,n.default)(t)})).map((function(t,r){var n=void 0;return"function"!==typeof e||null!==(n=e(t,r))&&!n?(0,i.default)(t,r,e):n}))};var n=o(r(1140)),i=o(r(766));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";t.exports=r(1176)},function(t,e,r){"use strict";function n(t){return function(){return null}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e,r,n,i){return null}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(527),i=r(110);function o(t){return function e(r){function o(e,o){var a=t((e=Object(n.a)(e)).h,(o=Object(n.a)(o)).h),s=Object(i.a)(e.s,o.s),c=Object(i.a)(e.l,o.l),u=Object(i.a)(e.opacity,o.opacity);return function(t){return e.h=a(t),e.s=s(t),e.l=c(Math.pow(t,r)),e.opacity=u(t),e+""}}return r=+r,o.gamma=e,o}(1)}e.b=o(i.c);var a=o(i.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return u}));var n=r(3),i=r(635),o=r(87),a=r(405);function s(){var t,e,r=Object(a.a)().unknown(void 0),c=r.domain,u=r.range,l=0,f=1,h=!1,d=0,p=0,m=.5;function b(){var r=c().length,n=f<l,o=n?f:l,a=n?l:f;t=(a-o)/Math.max(1,r-d+2*p),h&&(t=Math.floor(t)),o+=(a-o-t*(r-d))*m,e=t*(1-d),h&&(o=Math.round(o),e=Math.round(e));var s=Object(i.a)(r).map((function(e){return o+t*e}));return u(n?s.reverse():s)}return delete r.unknown,r.domain=function(t){return arguments.length?(c(t),b()):c()},r.range=function(t){var e,r;return arguments.length?(e=t,r=Object(n.a)(e,2),l=r[0],f=r[1],l=+l,f=+f,b()):[l,f]},r.rangeRound=function(t){var e,r;return e=t,r=Object(n.a)(e,2),l=r[0],f=r[1],l=+l,f=+f,h=!0,b()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(h=!!t,b()):h},r.padding=function(t){return arguments.length?(d=Math.min(1,p=+t),b()):d},r.paddingInner=function(t){return arguments.length?(d=Math.min(1,t),b()):d},r.paddingOuter=function(t){return arguments.length?(p=+t,b()):p},r.align=function(t){return arguments.length?(m=Math.max(0,Math.min(1,t)),b()):m},r.copy=function(){return s(c(),[l,f]).round(h).paddingInner(d).paddingOuter(p).align(m)},o.b.apply(b(),arguments)}function c(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return c(e())},t}function u(){return c(s.apply(null,arguments).paddingInner(1))}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.sumArrayTill=function(t,e){return(0,o.default)((0,h.default)(t,e))},e.calculateSegmentStops=function(t){var e=t.tickData,r=t.customSegmentStops,n=t.min,i=t.max;if(!(0,s.default)(r)||(0,a.default)(r))return e;if((0,c.default)(r)!==n)throw new Error("First value should be equivalent to min value given. Current min value - ".concat(n));if((0,u.default)(r)!==i)throw new Error("Last value should be equivalent to max value given. Current min value - ".concat(i));var o=r.map((function(t,e){return 0===e?void 0:(t-r[e-1])/(i-n)}));return(0,l.default)(o)},e.calculateNeedleHeight=function(t){var e=t.heightRatio,r=t.radius;if(0>e||1<e)throw new Error("Invalid needleHeightRatio given - ".concat(e));return Math.round(r*e)},e.calculateSegmentLabelCount=function(t){var e=t.maxSegmentLabelCount,r=t.segmentCount,n=parseInt(e,10),o=parseInt(r,10);return(0,i.default)(n)&&0<=n&&n<=o?n:o},e.calculateScale=function(t){var e=t.min,r=t.max;t.segments;return(0,d.scaleLinear)().range([0,1]).domain([e,r])},e.calculateTicks=function(t,e){var r=e.min,n=e.max,i=e.segments,o=[];o=t.ticks(i),((0,u.default)(o)!==n||i<o.length)&&1<o.length&&(o=[r],(0,f.default)(i,(function(t){o.push(r+(t+1)*((n-r)/i))})));return 1===o.length&&(o=[r,n]),o},e.formatCurrentValueText=function(t,e){var r=e.labelFormat(t),n=e.currentValuePlaceholderStyle;return e.currentValueText.replace(n,r)},e.deg2rad=function(t){return t*Math.PI/180},e.centerTranslation=function(t,e,r){return"translate(".concat(t+e,", ").concat(t+r,")")},e.getRadius=function(t){return t.width/2};var i=n(r(1190)),o=n(r(1303)),a=n(r(791)),s=n(r(167)),c=n(r(1191)),u=n(r(1192)),l=n(r(1193)),f=n(r(1304)),h=n(r(1194)),d=r(353)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Transition=e.CustomSegmentLabelPosition=void 0;e.CustomSegmentLabelPosition={Inside:"INSIDE",Outside:"OUTSIDE"};e.Transition={easeLinear:"easeLinear",easeQuadIn:"easeQuadIn",easeQuadOut:"easeQuadOut",easeQuadInOut:"easeQuadInOut",easeCubicIn:"easeCubicIn",easeCubicOut:"easeCubicOut",easeCubicInOut:"easeCubicInOut",easePolyIn:"easePolyIn",easePolyOut:"easePolyOut",easePolyInOut:"easePolyInOut",easeSinIn:"easeSinIn",easeSinOut:"easeSinOut",easeSinInOut:"easeSinInOut",easeExpIn:"easeExpIn",easeExpOut:"easeExpOut",easeExpInOut:"easeExpInOut",easeCircleIn:"easeCircleIn",easeCircleOut:"easeCircleOut",easeCircleInOut:"easeCircleInOut",easeBounceIn:"easeBounceIn",easeBounceOut:"easeBounceOut",easeBounceInOut:"easeBounceInOut",easeBackIn:"easeBackIn",easeBackOut:"easeBackOut",easeBackInOut:"easeBackInOut",easeElasticIn:"easeElasticIn",easeElasticOut:"easeElasticOut",easeElasticInOut:"easeElasticInOut",easeElastic:"easeElastic"}},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(t.arePathsEqual=function(t,e){if(t===e)return!0;if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n]){if(!r(t[n])||!r(e[n]))return!1;if(e[n].lat!==t[n].lat||e[n].lng!==t[n].lng)return!1}return!0},function(t){return null!==t&&"object"===("undefined"===typeof t?"undefined":e(t))&&t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")})})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n=r(591),i=r(1252)(n);t.exports=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return l}));var n,i=r(175),o=180/Math.PI,a={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},s=function(t,e,r,n,i,a){var s,c,u;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(u=t*r+e*n)&&(r-=t*u,n-=e*u),(c=Math.sqrt(r*r+n*n))&&(r/=c,n/=c,u/=c),t*n<e*r&&(t=-t,e=-e,u=-u,s=-s),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*o,skewX:Math.atan(u)*o,scaleX:s,scaleY:c}};function c(t,e,r,n){function o(t){return t.length?t.pop()+" ":""}return function(a,s){var c=[],u=[];return a=t(a),s=t(s),function(t,n,o,a,s,c){if(t!==o||n!==a){var u=s.push("translate(",null,e,null,r);c.push({i:u-4,x:Object(i.a)(t,o)},{i:u-2,x:Object(i.a)(n,a)})}else(o||a)&&s.push("translate("+o+e+a+r)}(a.translateX,a.translateY,s.translateX,s.translateY,c,u),function(t,e,r,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:r.push(o(r)+"rotate(",null,n)-2,x:Object(i.a)(t,e)})):e&&r.push(o(r)+"rotate("+e+n)}(a.rotate,s.rotate,c,u),function(t,e,r,a){t!==e?a.push({i:r.push(o(r)+"skewX(",null,n)-2,x:Object(i.a)(t,e)}):e&&r.push(o(r)+"skewX("+e+n)}(a.skewX,s.skewX,c,u),function(t,e,r,n,a,s){if(t!==r||e!==n){var c=a.push(o(a)+"scale(",null,",",null,")");s.push({i:c-4,x:Object(i.a)(t,r)},{i:c-2,x:Object(i.a)(e,n)})}else 1===r&&1===n||a.push(o(a)+"scale("+r+","+n+")")}(a.scaleX,a.scaleY,s.scaleX,s.scaleY,c,u),a=s=null,function(t){for(var e,r=-1,n=u.length;++r<n;)c[(e=u[r]).i]=e.x(t);return c.join("")}}}var u=c((function(t){var e=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?a:s(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),l=c((function(t){return null==t?a:(n||(n=document.createElementNS("http://www.w3.org/2000/svg","g")),n.setAttribute("transform",t),(t=n.transform.baseVal.consolidate())?(t=t.matrix,s(t.a,t.b,t.c,t.d,t.e,t.f)):a)}),", ",")",")")},function(t,e,r){"use strict";r(2);e.a=function(t,e){return function(){return null}}},function(t,e,r){"use strict";e.a=function(t,e,r,n,i){return null}},function(t,e,r){"use strict";var n=r(526),i=r(135),o=(r(413),r(412),function(t,e,r){for(var n=0,o=0;n=o,o=Object(i.h)(),38===n&&12===o&&(e[r]=1),!Object(i.o)(o);)Object(i.g)();return Object(i.m)(t,i.i)}),a=function(t,e){return Object(i.c)(function(t,e){var r=-1,n=44;do{switch(Object(i.o)(n)){case 0:38===n&&12===Object(i.h)()&&(e[r]=1),t[r]+=o(i.i-1,e,r);break;case 2:t[r]+=Object(i.d)(n);break;case 4:if(44===n){t[++r]=58===Object(i.h)()?"&\f":"",e[r]=t[r].length;break}default:t[r]+=Object(i.e)(n)}}while(n=Object(i.g)());return t}(Object(i.a)(t),e))},s=new WeakMap,c=function(t){if("rule"===t.type&&t.parent&&t.length){for(var e=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||s.get(r))&&!n){s.set(t,!0);for(var i=[],o=a(e,i),c=r.props,u=0,l=0;u<o.length;u++)for(var f=0;f<c.length;f++,l++)t.props[l]=i[u]?o[u].replace(/&\f/g,c[f]):c[f]+" "+o[u]}}},u=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}},l=[i.j];e.a=function(t){var e=t.key;if("css"===e){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var o=t.stylisPlugins||l;var a,s,f={},h=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),r=1;r<e.length;r++)f[e[r]]=!0;h.push(t)}));var d=[c,u];var p,m=[i.n,Object(i.k)((function(t){p.insert(t)}))],b=Object(i.f)(d.concat(o,m));s=function(t,e,r,n){var o;p=r,o=t?t+"{"+e.styles+"}":e.styles,Object(i.l)(Object(i.b)(o),b),n&&(v.inserted[e.name]=!0)};var v={key:e,sheet:new n.a({key:e,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend}),nonce:t.nonce,inserted:f,registered:{},insert:s};return v.sheet.hydrate(h),v}},function(t,e,r){"use strict";var n=r(183),i=r.n(n);e.a=function(t,e){return i()(t,e)}},function(t,e,r){"use strict";e.a=function(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=new Array(i);++n<i;)o[n]=t+n*r;return o}},function(t,e,r){"use strict";var n=r(237);e.a=function(t){return Math.max(0,-Object(n.a)(Math.abs(t)))}},function(t,e,r){"use strict";var n=r(237);e.a=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(n.a)(e)/3)))-Object(n.a)(Math.abs(t)))}},function(t,e,r){"use strict";var n=r(237);e.a=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Object(n.a)(e)-Object(n.a)(t))+1}},function(t,e,r){"use strict";var n=r(199),i=r(225);function o(t){this._context=t}o.prototype={areaStart:n.a,areaEnd:n.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Object(i.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new o(t)}},function(t,e,r){"use strict";var n=r(225);function i(t){this._context=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:Object(n.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new i(t)}},function(t,e,r){"use strict";var n=r(199);function i(t){this._context=t}i.prototype={areaStart:n.a,areaEnd:n.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},e.a=function(t){return new i(t)}},function(t,e,r){"use strict";function n(t){this._context=t}function i(t){var e,r,n=t.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=i(t),o=i(e),a=0,s=1;s<r;++a,++s)this._context.bezierCurveTo(n[0][a],o[0][a],n[1][a],o[1][a],t[s],e[s]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function(t){return new n(t)}},,function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"}),"Mail");e.default=a},function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==n(t)}},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(2),a=r(14),s=r(553),c=r(0),u=(r(399),r(10),r(8)),l=r(78),f=r(155),h=r(24),d=r(439),p=r(434),m=r(332),b=r(13),v=r(72),g=r(220),y=r(339),w=r(340);function x(t){return Object(y.a)("MuiSelect",t)}var O=Object(w.a)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),_=r(6),S=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],k=Object(b.a)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(t,e){var r=t.ownerState;return[Object(i.a)({},"&.".concat(O.select),e.select),Object(i.a)({},"&.".concat(O.select),e[r.variant]),Object(i.a)({},"&.".concat(O.multiple),e.multiple)]}})(p.c,Object(i.a)({},"&.".concat(O.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),E=Object(b.a)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(t,e){var r=t.ownerState;return[e.icon,r.variant&&e["icon".concat(Object(h.a)(r.variant))],r.open&&e.iconOpen]}})(p.b),M=Object(b.a)("input",{shouldForwardProp:function(t){return Object(b.c)(t)&&"classes"!==t},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(t,e){return e.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function C(t,e){return"object"===typeof e&&null!==e?t===e:String(t)===String(e)}function j(t){return null==t||"string"===typeof t&&!t.trim()}var A=c.forwardRef((function(t,e){var r=t["aria-describedby"],i=t["aria-label"],p=t.autoFocus,b=t.autoWidth,y=t.children,w=t.className,O=t.defaultValue,A=t.disabled,T=t.displayEmpty,P=t.IconComponent,D=t.inputRef,R=t.labelId,L=t.MenuProps,I=void 0===L?{}:L,N=t.multiple,F=t.name,B=t.onBlur,z=t.onChange,H=t.onClose,U=t.onFocus,W=t.onOpen,q=t.open,V=t.readOnly,G=t.renderValue,Y=t.SelectDisplayProps,X=void 0===Y?{}:Y,$=t.tabIndex,K=t.value,Z=t.variant,J=void 0===Z?"standard":Z,Q=Object(a.a)(t,S),tt=Object(g.a)({controlled:K,default:O,name:"Select"}),et=Object(n.a)(tt,2),rt=et[0],nt=et[1],it=c.useRef(null),ot=c.useRef(null),at=c.useState(null),st=Object(n.a)(at,2),ct=st[0],ut=st[1],lt=c.useRef(null!=q).current,ft=c.useState(),ht=Object(n.a)(ft,2),dt=ht[0],pt=ht[1],mt=c.useState(!1),bt=Object(n.a)(mt,2),vt=bt[0],gt=bt[1],yt=Object(v.a)(e,D),wt=c.useCallback((function(t){ot.current=t,t&&ut(t)}),[]);c.useImperativeHandle(yt,(function(){return{focus:function(){ot.current.focus()},node:it.current,value:rt}}),[rt]),c.useEffect((function(){p&&ot.current.focus()}),[p]),c.useEffect((function(){var t=Object(f.a)(ot.current).getElementById(R);if(t){var e=function(){getSelection().isCollapsed&&ot.current.focus()};return t.addEventListener("click",e),function(){t.removeEventListener("click",e)}}}),[R]);var xt,Ot,_t=function(t,e){t?W&&W(e):H&&H(e),lt||(pt(b?null:ct.clientWidth),gt(t))},St=c.Children.toArray(y),kt=function(t){return function(e){var r;if(e.currentTarget.hasAttribute("tabindex")){if(N){r=Array.isArray(rt)?rt.slice():[];var n=rt.indexOf(t.props.value);-1===n?r.push(t.props.value):r.splice(n,1)}else r=t.props.value;if(t.props.onClick&&t.props.onClick(e),rt!==r&&(nt(r),z)){var i=e.nativeEvent||e,o=new i.constructor(i.type,i);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:F}}),z(o,t)}N||_t(!1,e)}}},Et=null!==ct&&(lt?q:vt);delete Q["aria-invalid"];var Mt=[],Ct=!1;(Object(m.b)({value:rt})||T)&&(G?xt=G(rt):Ct=!0);var jt=St.map((function(t){if(!c.isValidElement(t))return null;var e;if(N){if(!Array.isArray(rt))throw new Error(Object(s.a)(2));(e=rt.some((function(e){return C(e,t.props.value)})))&&Ct&&Mt.push(t.props.children)}else(e=C(rt,t.props.value))&&Ct&&(Ot=t.props.children);return e&&!0,c.cloneElement(t,{"aria-selected":e?"true":"false",onClick:kt(t),onKeyUp:function(e){" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})}));Ct&&(xt=N?Mt.reduce((function(t,e){return[t,", ",e]})):Ot);var At,Tt=dt;!b&&lt&&ct&&(Tt=ct.clientWidth),At="undefined"!==typeof $?$:A?null:0;var Pt=X.id||(F?"mui-component-select-".concat(F):void 0),Dt=Object(o.a)({},t,{variant:J,value:rt,open:Et}),Rt=function(t){var e=t.classes,r=t.variant,n=t.disabled,i=t.multiple,o=t.open,a={select:["select",r,n&&"disabled",i&&"multiple"],icon:["icon","icon".concat(Object(h.a)(r)),o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Object(l.a)(a,x,e)}(Dt);return Object(_.jsxs)(c.Fragment,{children:[Object(_.jsx)(k,Object(o.a)({ref:wt,tabIndex:At,role:"button","aria-disabled":A?"true":void 0,"aria-expanded":Et?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[R,Pt].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:function(t){if(!V){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),_t(!0,t))}},onMouseDown:A||V?null:function(t){0===t.button&&(t.preventDefault(),ot.current.focus(),_t(!0,t))},onBlur:function(t){!Et&&B&&(Object.defineProperty(t,"target",{writable:!0,value:{value:rt,name:F}}),B(t))},onFocus:U},X,{ownerState:Dt,className:Object(u.a)(Rt.select,w,X.className),id:Pt,children:j(xt)?Object(_.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):xt})),Object(_.jsx)(M,Object(o.a)({value:Array.isArray(rt)?rt.join(","):rt,name:F,ref:it,"aria-hidden":!0,onChange:function(t){var e=St.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==e){var r=St[e];nt(r.props.value),z&&z(t,r)}},tabIndex:-1,disabled:A,className:Rt.nativeInput,autoFocus:p,ownerState:Dt},Q)),Object(_.jsx)(E,{as:P,className:Rt.icon,ownerState:Dt}),Object(_.jsx)(d.a,Object(o.a)({id:"menu-".concat(F||""),anchorEl:ct,open:Et,onClose:function(t){_t(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},I,{MenuListProps:Object(o.a)({"aria-labelledby":R,role:"listbox",disableListWrap:!0},I.MenuListProps),PaperProps:Object(o.a)({},I.PaperProps,{style:Object(o.a)({minWidth:Tt},null!=I.PaperProps?I.PaperProps.style:null)}),children:jt}))]})}));e.a=A},function(t,e,r){var n=r(703)((function(t,e,r){return t+(r?"_":"")+e.toLowerCase()}));t.exports=n},function(t,e,r){"use strict";t.exports=r(1139)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.htmlparser2=e.convertNodeToElement=e.processNodes=void 0;var n=r(620);Object.defineProperty(e,"processNodes",{enumerable:!0,get:function(){return s(n).default}});var i=r(766);Object.defineProperty(e,"convertNodeToElement",{enumerable:!0,get:function(){return s(i).default}});var o=r(352);Object.defineProperty(e,"htmlparser2",{enumerable:!0,get:function(){return s(o).default}});var a=s(r(1175));function s(t){return t&&t.__esModule?t:{default:t}}e.default=a.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hexToRgb=o,e.rgbToHex=function(t){if(0===t.indexOf("#"))return t;var e=s(t).values;return"#".concat(e.map((function(t){return function(t){var e=t.toString(16);return 1===e.length?"0".concat(e):e}(t)})).join(""))},e.hslToRgb=a,e.decomposeColor=s,e.recomposeColor=c,e.getContrastRatio=function(t,e){var r=u(t),n=u(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},e.getLuminance=u,e.emphasize=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(t)>.5?f(t,e):h(t,e)},e.fade=function(t,e){0;return l(t,e)},e.alpha=l,e.darken=f,e.lighten=h;var n=r(61);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),r)}function o(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map((function(t){return t+t}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}function a(t){var e=(t=s(t)).values,r=e[0],n=e[1]/100,i=e[2]/100,o=n*Math.min(i,1-i),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+r/30)%12;return i-o*Math.max(Math.min(e-3,9-e,1),-1)},u="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(u+="a",l.push(e[3])),c({type:u,values:l})}function s(t){if(t.type)return t;if("#"===t.charAt(0))return s(o(t));var e=t.indexOf("("),r=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error((0,n.formatMuiErrorMessage)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:r,values:i=i.map((function(t){return parseFloat(t)}))}}function c(t){var e=t.type,r=t.values;return-1!==e.indexOf("rgb")?r=r.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(e,"(").concat(r.join(", "),")")}function u(t){var e="hsl"===(t=s(t)).type?s(a(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function l(t,e){return t=s(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,c(t)}function f(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]*=1-e;return c(t)}function h(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;return c(t)}},function(t,e,r){"use strict";t.exports=r(1178)},function(t,e,r){t.exports=function t(e){"use strict";var r=/^\0+/g,n=/[\0\r\f]/g,i=/: */g,o=/zoo|gra/,a=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,c=/ +\s*(?![^(]*[)])/g,u=/ *[\0] */g,l=/,\r+?/g,f=/([\t\r\n ])*\f?&/g,h=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,d=/\W+/g,p=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,b=/:(read-only)/g,v=/\s+(?=[{\];=:>])/g,g=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,w=/\s{2,}/g,x=/([^\(])(:+) */g,O=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,k=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,M=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,j="-webkit-",A="-moz-",T="-ms-",P=59,D=125,R=123,L=40,I=41,N=10,F=13,B=32,z=45,H=42,U=44,W=58,q=47,V=1,G=1,Y=0,X=1,$=1,K=1,Z=0,J=0,Q=0,tt=[],et=[],rt=0,nt=null,it=0,ot=1,at="",st="",ct="";function ut(t,e,i,o,a){for(var s,c,l=0,f=0,h=0,d=0,v=0,g=0,y=0,w=0,O=0,S=0,k=0,E=0,M=0,C=0,A=0,T=0,Z=0,et=0,nt=0,ft=i.length,vt=ft-1,gt="",yt="",wt="",xt="",Ot="",_t="";A<ft;){if(y=i.charCodeAt(A),A===vt&&f+d+h+l!==0&&(0!==f&&(y=f===q?N:q),d=h=l=0,ft++,vt++),f+d+h+l===0){if(A===vt&&(T>0&&(yt=yt.replace(n,"")),yt.trim().length>0)){switch(y){case B:case 9:case P:case F:case N:break;default:yt+=i.charAt(A)}y=P}if(1===Z)switch(y){case R:case D:case P:case 34:case 39:case L:case I:case U:Z=0;case 9:case F:case N:case B:break;default:for(Z=0,nt=A,v=y,A--,y=P;nt<ft;)switch(i.charCodeAt(nt++)){case N:case F:case P:++A,y=v,nt=ft;break;case W:T>0&&(++A,y=v);case R:nt=ft}}switch(y){case R:for(v=(yt=yt.trim()).charCodeAt(0),k=1,nt=++A;A<ft;){switch(y=i.charCodeAt(A)){case R:k++;break;case D:k--;break;case q:switch(g=i.charCodeAt(A+1)){case H:case q:A=bt(g,A,vt,i)}break;case 91:y++;case L:y++;case 34:case 39:for(;A++<vt&&i.charCodeAt(A)!==y;);}if(0===k)break;A++}switch(wt=i.substring(nt,A),0===v&&(v=(yt=yt.replace(r,"").trim()).charCodeAt(0)),v){case 64:switch(T>0&&(yt=yt.replace(n,"")),g=yt.charCodeAt(1)){case 100:case 109:case 115:case z:s=e;break;default:s=tt}if(nt=(wt=ut(e,s,wt,g,a+1)).length,Q>0&&0===nt&&(nt=yt.length),rt>0&&(c=mt(3,wt,s=lt(tt,yt,et),e,G,V,nt,g,a,o),yt=s.join(""),void 0!==c&&0===(nt=(wt=c.trim()).length)&&(g=0,wt="")),nt>0)switch(g){case 115:yt=yt.replace(_,pt);case 100:case 109:case z:wt=yt+"{"+wt+"}";break;case 107:wt=(yt=yt.replace(p,"$1 $2"+(ot>0?at:"")))+"{"+wt+"}",wt=1===$||2===$&&dt("@"+wt,3)?"@"+j+wt+"@"+wt:"@"+wt;break;default:wt=yt+wt,112===o&&(xt+=wt,wt="")}else wt="";break;default:wt=ut(e,lt(e,yt,et),wt,o,a+1)}Ot+=wt,E=0,Z=0,C=0,T=0,et=0,M=0,yt="",wt="",y=i.charCodeAt(++A);break;case D:case P:if((nt=(yt=(T>0?yt.replace(n,""):yt).trim()).length)>1)switch(0===C&&((v=yt.charCodeAt(0))===z||v>96&&v<123)&&(nt=(yt=yt.replace(" ",":")).length),rt>0&&void 0!==(c=mt(1,yt,e,t,G,V,xt.length,o,a,o))&&0===(nt=(yt=c.trim()).length)&&(yt="\0\0"),v=yt.charCodeAt(0),g=yt.charCodeAt(1),v){case 0:break;case 64:if(105===g||99===g){_t+=yt+i.charAt(A);break}default:if(yt.charCodeAt(nt-1)===W)break;xt+=ht(yt,v,g,yt.charCodeAt(2))}E=0,Z=0,C=0,T=0,et=0,yt="",y=i.charCodeAt(++A)}}switch(y){case F:case N:if(f+d+h+l+J===0)switch(S){case I:case 39:case 34:case 64:case 126:case 62:case H:case 43:case q:case z:case W:case U:case P:case R:case D:break;default:C>0&&(Z=1)}f===q?f=0:X+E===0&&107!==o&&yt.length>0&&(T=1,yt+="\0"),rt*it>0&&mt(0,yt,e,t,G,V,xt.length,o,a,o),V=1,G++;break;case P:case D:if(f+d+h+l===0){V++;break}default:switch(V++,gt=i.charAt(A),y){case 9:case B:if(d+l+f===0)switch(w){case U:case W:case 9:case B:gt="";break;default:y!==B&&(gt=" ")}break;case 0:gt="\\0";break;case 12:gt="\\f";break;case 11:gt="\\v";break;case 38:d+f+l===0&&X>0&&(et=1,T=1,gt="\f"+gt);break;case 108:if(d+f+l+Y===0&&C>0)switch(A-C){case 2:112===w&&i.charCodeAt(A-3)===W&&(Y=w);case 8:111===O&&(Y=O)}break;case W:d+f+l===0&&(C=A);break;case U:f+h+d+l===0&&(T=1,gt+="\r");break;case 34:case 39:0===f&&(d=d===y?0:0===d?y:d);break;case 91:d+f+h===0&&l++;break;case 93:d+f+h===0&&l--;break;case I:d+f+l===0&&h--;break;case L:if(d+f+l===0){if(0===E)switch(2*w+3*O){case 533:break;default:k=0,E=1}h++}break;case 64:f+h+d+l+C+M===0&&(M=1);break;case H:case q:if(d+l+h>0)break;switch(f){case 0:switch(2*y+3*i.charCodeAt(A+1)){case 235:f=q;break;case 220:nt=A,f=H}break;case H:y===q&&w===H&&nt+2!==A&&(33===i.charCodeAt(nt+2)&&(xt+=i.substring(nt,A+1)),gt="",f=0)}}if(0===f){if(X+d+l+M===0&&107!==o&&y!==P)switch(y){case U:case 126:case 62:case 43:case I:case L:if(0===E){switch(w){case 9:case B:case N:case F:gt+="\0";break;default:gt="\0"+gt+(y===U?"":"\0")}T=1}else switch(y){case L:C+7===A&&108===w&&(C=0),E=++k;break;case I:0==(E=--k)&&(T=1,gt+="\0")}break;case 9:case B:switch(w){case 0:case R:case D:case P:case U:case 12:case 9:case B:case N:case F:break;default:0===E&&(T=1,gt+="\0")}}yt+=gt,y!==B&&9!==y&&(S=y)}}O=w,w=y,A++}if(nt=xt.length,Q>0&&0===nt&&0===Ot.length&&0===e[0].length==0&&(109!==o||1===e.length&&(X>0?st:ct)===e[0])&&(nt=e.join(",").length+2),nt>0){if(s=0===X&&107!==o?function(t){for(var e,r,i=0,o=t.length,a=Array(o);i<o;++i){for(var s=t[i].split(u),c="",l=0,f=0,h=0,d=0,p=s.length;l<p;++l)if(!(0===(f=(r=s[l]).length)&&p>1)){if(h=c.charCodeAt(c.length-1),d=r.charCodeAt(0),e="",0!==l)switch(h){case H:case 126:case 62:case 43:case B:case L:break;default:e=" "}switch(d){case 38:r=e+st;case 126:case 62:case 43:case B:case I:case L:break;case 91:r=e+r+st;break;case W:switch(2*r.charCodeAt(1)+3*r.charCodeAt(2)){case 530:if(K>0){r=e+r.substring(8,f-1);break}default:(l<1||s[l-1].length<1)&&(r=e+st+r)}break;case U:e="";default:r=f>1&&r.indexOf(":")>0?e+r.replace(x,"$1"+st+"$2"):e+r+st}c+=r}a[i]=c.replace(n,"").trim()}return a}(e):e,rt>0&&void 0!==(c=mt(2,xt,s,t,G,V,nt,o,a,o))&&0===(xt=c).length)return _t+xt+Ot;if(xt=s.join(",")+"{"+xt+"}",$*Y!=0){switch(2!==$||dt(xt,2)||(Y=0),Y){case 111:xt=xt.replace(b,":-moz-$1")+xt;break;case 112:xt=xt.replace(m,"::"+j+"input-$1")+xt.replace(m,"::-moz-$1")+xt.replace(m,":-ms-input-$1")+xt}Y=0}}return _t+xt+Ot}function lt(t,e,r){var n=e.trim().split(l),i=n,o=n.length,a=t.length;switch(a){case 0:case 1:for(var s=0,c=0===a?"":t[0]+" ";s<o;++s)i[s]=ft(c,i[s],r,a).trim();break;default:s=0;var u=0;for(i=[];s<o;++s)for(var f=0;f<a;++f)i[u++]=ft(t[f]+" ",n[s],r,a).trim()}return i}function ft(t,e,r,n){var i=e,o=i.charCodeAt(0);switch(o<33&&(o=(i=i.trim()).charCodeAt(0)),o){case 38:switch(X+n){case 0:case 1:if(0===t.trim().length)break;default:return i.replace(f,"$1"+t.trim())}break;case W:switch(i.charCodeAt(1)){case 103:if(K>0&&X>0)return i.replace(h,"$1").replace(f,"$1"+ct);break;default:return t.trim()+i.replace(f,"$1"+t.trim())}default:if(r*X>0&&i.indexOf("\f")>0)return i.replace(f,(t.charCodeAt(0)===W?"":"$1")+t.trim())}return t+i}function ht(t,e,r,n){var u,l=0,f=t+";",h=2*e+3*r+4*n;if(944===h)return function(t){var e=t.length,r=t.indexOf(":",9)+1,n=t.substring(0,r).trim(),i=t.substring(r,e-1).trim();switch(t.charCodeAt(9)*ot){case 0:break;case z:if(110!==t.charCodeAt(10))break;default:var o=i.split((i="",s)),a=0;for(r=0,e=o.length;a<e;r=0,++a){for(var u=o[a],l=u.split(c);u=l[r];){var f=u.charCodeAt(0);if(1===ot&&(f>64&&f<90||f>96&&f<123||95===f||f===z&&u.charCodeAt(1)!==z))switch(isNaN(parseFloat(u))+(-1!==u.indexOf("("))){case 1:switch(u){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:u+=at}}l[r++]=u}i+=(0===a?"":",")+l.join(" ")}}return i=n+i+";",1===$||2===$&&dt(i,1)?j+i+i:i}(f);if(0===$||2===$&&!dt(f,1))return f;switch(h){case 1015:return 97===f.charCodeAt(10)?j+f+f:f;case 951:return 116===f.charCodeAt(3)?j+f+f:f;case 963:return 110===f.charCodeAt(5)?j+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return j+f+f;case 978:return j+f+A+f+f;case 1019:case 983:return j+f+A+f+T+f+f;case 883:return f.charCodeAt(8)===z?j+f+f:f.indexOf("image-set(",11)>0?f.replace(C,"$1"+j+"$2")+f:f;case 932:if(f.charCodeAt(4)===z)switch(f.charCodeAt(5)){case 103:return j+"box-"+f.replace("-grow","")+j+f+T+f.replace("grow","positive")+f;case 115:return j+f+T+f.replace("shrink","negative")+f;case 98:return j+f+T+f.replace("basis","preferred-size")+f}return j+f+T+f+f;case 964:return j+f+T+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return u=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),j+"box-pack"+u+j+f+T+"flex-pack"+u+f;case 1005:return o.test(f)?f.replace(i,":"+j)+f.replace(i,":"+A)+f:f;case 1e3:switch(l=(u=f.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(l)){case 226:u=f.replace(O,"tb");break;case 232:u=f.replace(O,"tb-rl");break;case 220:u=f.replace(O,"lr");break;default:return f}return j+f+T+u+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(l=(f=t).length-10,h=(u=(33===f.charCodeAt(l)?f.substring(0,l):f).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(u.charCodeAt(8)<111)break;case 115:f=f.replace(u,j+u)+";"+f;break;case 207:case 102:f=f.replace(u,j+(h>102?"inline-":"")+"box")+";"+f.replace(u,j+u)+";"+f.replace(u,T+u+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===z)switch(f.charCodeAt(6)){case 105:return u=f.replace("-items",""),j+f+j+"box-"+u+T+"flex-"+u+f;case 115:return j+f+T+"flex-item-"+f.replace(k,"")+f;default:return j+f+T+"flex-line-pack"+f.replace("align-content","").replace(k,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==z||122===f.charCodeAt(4))break;case 931:case 953:if(!0===M.test(t))return 115===(u=t.substring(t.indexOf(":")+1)).charCodeAt(0)?ht(t.replace("stretch","fill-available"),e,r,n).replace(":fill-available",":stretch"):f.replace(u,j+u)+f.replace(u,A+u.replace("fill-",""))+f;break;case 962:if(f=j+f+(102===f.charCodeAt(5)?T+f:"")+f,r+n===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(a,"$1"+j+"$2")+f}return f}function dt(t,e){var r=t.indexOf(1===e?":":"{"),n=t.substring(0,3!==e?r:10),i=t.substring(r+1,t.length-1);return nt(2!==e?n:n.replace(E,"$1"),i,e)}function pt(t,e){var r=ht(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return r!==e+";"?r.replace(S," or ($1)").substring(4):"("+e+")"}function mt(t,e,r,n,i,o,a,s,c,u){for(var l,f=0,h=e;f<rt;++f)switch(l=et[f].call(gt,t,h,r,n,i,o,a,s,c,u)){case void 0:case!1:case!0:case null:break;default:h=l}if(h!==e)return h}function bt(t,e,r,n){for(var i=e+1;i<r;++i)switch(n.charCodeAt(i)){case q:if(t===H&&n.charCodeAt(i-1)===H&&e+2!==i)return i+1;break;case N:if(t===q)return i+1}return i}function vt(t){for(var e in t){var r=t[e];switch(e){case"keyframe":ot=0|r;break;case"global":K=0|r;break;case"cascade":X=0|r;break;case"compress":Z=0|r;break;case"semicolon":J=0|r;break;case"preserve":Q=0|r;break;case"prefix":nt=null,r?"function"!=typeof r?$=1:($=2,nt=r):$=0}}return vt}function gt(e,r){if(void 0!==this&&this.constructor===gt)return t(e);var i=e,o=i.charCodeAt(0);o<33&&(o=(i=i.trim()).charCodeAt(0)),ot>0&&(at=i.replace(d,91===o?"":"-")),o=1,1===X?ct=i:st=i;var a,s=[ct];rt>0&&void 0!==(a=mt(-1,r,s,s,G,V,0,0,0,0))&&"string"==typeof a&&(r=a);var c=ut(tt,s,r,0,0);return rt>0&&void 0!==(a=mt(-2,c,s,s,G,V,c.length,0,0,0))&&"string"!=typeof(c=a)&&(o=0),at="",ct="",st="",Y=0,G=1,V=1,Z*o==0?c:c.replace(n,"").replace(v,"").replace(g,"$1").replace(y,"$1").replace(w," ")}return gt.use=function t(e){switch(e){case void 0:case null:rt=et.length=0;break;default:if("function"==typeof e)et[rt++]=e;else if("object"==typeof e)for(var r=0,n=e.length;r<n;++r)t(e[r]);else it=0|!!e}return t},gt.set=vt,void 0!==e&&vt(e),gt}(null)},,function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}),"GridView");e.default=a},function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return E}));var n="persist/REHYDRATE",i="persist/REGISTER";function o(t){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e,r,n){n.debug;var i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(r,!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},r);return t&&"object"===o(t)&&Object.keys(t).forEach((function(n){"_persist"!==n&&e[n]===r[n]&&(i[n]=t[n])})),i}function u(t){var e,r=t.blacklist||null,n=t.whitelist||null,i=t.transforms||[],o=t.throttle||0,a="".concat(void 0!==t.keyPrefix?t.keyPrefix:"persist:").concat(t.key),s=t.storage;e=!1===t.serialize?function(t){return t}:"function"===typeof t.serialize?t.serialize:l;var c=t.writeFailHandler||null,u={},f={},h=[],d=null,p=null;function m(){if(0===h.length)return d&&clearInterval(d),void(d=null);var t=h.shift(),r=i.reduce((function(e,r){return r.in(e,t,u)}),u[t]);if(void 0!==r)try{f[t]=e(r)}catch(n){console.error("redux-persist/createPersistoid: error serializing state",n)}else delete f[t];0===h.length&&(Object.keys(f).forEach((function(t){void 0===u[t]&&delete f[t]})),p=s.setItem(a,e(f)).catch(v))}function b(t){return(!n||-1!==n.indexOf(t)||"_persist"===t)&&(!r||-1===r.indexOf(t))}function v(t){c&&c(t)}return{update:function(t){Object.keys(t).forEach((function(e){b(e)&&u[e]!==t[e]&&-1===h.indexOf(e)&&h.push(e)})),Object.keys(u).forEach((function(e){void 0===t[e]&&b(e)&&-1===h.indexOf(e)&&void 0!==u[e]&&h.push(e)})),null===d&&(d=setInterval(m,o)),u=t},flush:function(){for(;0!==h.length;)m();return p||Promise.resolve()}}}function l(t){return JSON.stringify(t)}function f(t){var e,r=t.transforms||[],n="".concat(void 0!==t.keyPrefix?t.keyPrefix:"persist:").concat(t.key),i=t.storage;t.debug;return e=!1===t.deserialize?function(t){return t}:"function"===typeof t.deserialize?t.deserialize:h,i.getItem(n).then((function(t){if(t)try{var n={},i=e(t);return Object.keys(i).forEach((function(t){n[t]=r.reduceRight((function(e,r){return r.out(e,t,i)}),e(i[t]))})),n}catch(o){throw o}}))}function h(t){return JSON.parse(t)}function d(t){0}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(r,!0).forEach((function(e){b(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function b(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function g(t,e){var r=void 0!==t.version?t.version:-1,i=(t.debug,void 0===t.stateReconciler?c:t.stateReconciler),o=t.getStoredState||f,a=void 0!==t.timeout?t.timeout:5e3,s=null,l=!1,h=!0,p=function(t){return t._persist.rehydrated&&s&&!h&&s.update(t),t};return function(c,f){var b=c||{},g=b._persist,y=v(b,["_persist"]);if("persist/PERSIST"===f.type){var w=!1,x=function(e,r){w||(f.rehydrate(t.key,e,r),w=!0)};if(a&&setTimeout((function(){!w&&x(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(t.key,'"')))}),a),h=!1,s||(s=u(t)),g)return m({},e(y,f),{_persist:g});if("function"!==typeof f.rehydrate||"function"!==typeof f.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(t.key),o(t).then((function(e){(t.migrate||function(t,e){return Promise.resolve(t)})(e,r).then((function(t){x(t)}),(function(t){x(void 0,t)}))}),(function(t){x(void 0,t)})),m({},e(y,f),{_persist:{version:r,rehydrated:!1}})}if("persist/PURGE"===f.type)return l=!0,f.result(function(t){var e=t.storage,r="".concat(void 0!==t.keyPrefix?t.keyPrefix:"persist:").concat(t.key);return e.removeItem(r,d)}(t)),m({},e(y,f),{_persist:g});if("persist/FLUSH"===f.type)return f.result(s&&s.flush()),m({},e(y,f),{_persist:g});if("persist/PAUSE"===f.type)h=!0;else if(f.type===n){if(l)return m({},y,{_persist:m({},g,{rehydrated:!0})});if(f.key===t.key){var O=e(y,f),_=f.payload,S=m({},!1!==i&&void 0!==_?i(_,c,O,t):O,{_persist:m({},g,{rehydrated:!0})});return p(S)}}if(!g)return e(c,f);var k=e(y,f);return k===y?c:p(m({},k,{_persist:g}))}}var y=r(197);function w(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(r,!0).forEach((function(e){_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var S={registry:[],bootstrapped:!1},k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case i:return O({},t,{registry:[].concat(w(t.registry),[e.key])});case n:var r=t.registry.indexOf(e.key),o=w(t.registry);return o.splice(r,1),O({},t,{registry:o,bootstrapped:0===o.length});default:return t}};function E(t,e,r){var o=r||!1,a=Object(y.d)(k,S,e&&e.enhancer?e.enhancer:void 0),s=function(t){a.dispatch({type:i,key:t})},c=function(e,r,i){var s={type:n,payload:r,err:i,key:e};t.dispatch(s),a.dispatch(s),o&&u.getState().bootstrapped&&(o(),o=!1)},u=O({},a,{purge:function(){var e=[];return t.dispatch({type:"persist/PURGE",result:function(t){e.push(t)}}),Promise.all(e)},flush:function(){var e=[];return t.dispatch({type:"persist/FLUSH",result:function(t){e.push(t)}}),Promise.all(e)},pause:function(){t.dispatch({type:"persist/PAUSE"})},persist:function(){t.dispatch({type:"persist/PERSIST",register:s,rehydrate:c})}});return e&&e.manualPersist||u.persist(),u}},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(0),i=r.n(n),o=r(516);function a(){return i.a.useContext(o.a)}},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(26),c=[0,1,2,3,4,5,6,7,8,9,10],u=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=parseFloat(t);return"".concat(r/e).concat(String(t).replace(String(r),"")||"px")}var f=o.forwardRef((function(t,e){var r=t.alignContent,s=void 0===r?"stretch":r,c=t.alignItems,u=void 0===c?"stretch":c,l=t.classes,f=t.className,h=t.component,d=void 0===h?"div":h,p=t.container,m=void 0!==p&&p,b=t.direction,v=void 0===b?"row":b,g=t.item,y=void 0!==g&&g,w=t.justify,x=t.justifyContent,O=void 0===x?"flex-start":x,_=t.lg,S=void 0!==_&&_,k=t.md,E=void 0!==k&&k,M=t.sm,C=void 0!==M&&M,j=t.spacing,A=void 0===j?0:j,T=t.wrap,P=void 0===T?"wrap":T,D=t.xl,R=void 0!==D&&D,L=t.xs,I=void 0!==L&&L,N=t.zeroMinWidth,F=void 0!==N&&N,B=Object(n.a)(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),z=Object(a.a)(l.root,f,m&&[l.container,0!==A&&l["spacing-xs-".concat(String(A))]],y&&l.item,F&&l.zeroMinWidth,"row"!==v&&l["direction-xs-".concat(String(v))],"wrap"!==P&&l["wrap-xs-".concat(String(P))],"stretch"!==u&&l["align-items-xs-".concat(String(u))],"stretch"!==s&&l["align-content-xs-".concat(String(s))],"flex-start"!==(w||O)&&l["justify-content-xs-".concat(String(w||O))],!1!==I&&l["grid-xs-".concat(String(I))],!1!==C&&l["grid-sm-".concat(String(C))],!1!==E&&l["grid-md-".concat(String(E))],!1!==S&&l["grid-lg-".concat(String(S))],!1!==R&&l["grid-xl-".concat(String(R))]);return o.createElement(d,Object(i.a)({className:z,ref:e},B))})),h=Object(s.a)((function(t){return Object(i.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(t,e){var r={};return c.forEach((function(n){var i=t.spacing(n);0!==i&&(r["spacing-".concat(e,"-").concat(n)]={margin:"-".concat(l(i,2)),width:"calc(100% + ".concat(l(i),")"),"& > $item":{padding:l(i,2)}})})),r}(t,"xs"),t.breakpoints.keys.reduce((function(e,r){return function(t,e,r){var n={};u.forEach((function(t){var e="grid-".concat(r,"-").concat(t);if(!0!==t)if("auto"!==t){var i="".concat(Math.round(t/12*1e8)/1e6,"%");n[e]={flexBasis:i,flexGrow:0,maxWidth:i}}else n[e]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else n[e]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===r?Object(i.a)(t,n):t[e.breakpoints.up(r)]=n}(e,t,r),e}),{}))}),{name:"MuiGrid"})(f);e.a=h},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(26),c=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.component,u=void 0===c?"div":c,l=t.square,f=void 0!==l&&l,h=t.elevation,d=void 0===h?1:h,p=t.variant,m=void 0===p?"elevation":p,b=Object(n.a)(t,["classes","className","component","square","elevation","variant"]);return o.createElement(u,Object(i.a)({className:Object(a.a)(r.root,s,"outlined"===m?r.outlined:r["elevation".concat(d)],!f&&r.rounded),ref:e},b))}));e.a=Object(s.a)((function(t){var e={};return t.shadows.forEach((function(t,r){e["elevation".concat(r)]={boxShadow:t}})),Object(i.a)({root:{backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},rounded:{borderRadius:t.shape.borderRadius},outlined:{border:"1px solid ".concat(t.palette.divider)}},e)}),{name:"MuiPaper"})(c)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=r(663),l=r(38),f=o.forwardRef((function(t,e){var r=t.edge,s=void 0!==r&&r,c=t.children,f=t.classes,h=t.className,d=t.color,p=void 0===d?"default":d,m=t.disabled,b=void 0!==m&&m,v=t.disableFocusRipple,g=void 0!==v&&v,y=t.size,w=void 0===y?"medium":y,x=Object(i.a)(t,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(u.a,Object(n.a)({className:Object(a.a)(f.root,h,"default"!==p&&f["color".concat(Object(l.a)(p))],b&&f.disabled,"small"===w&&f["size".concat(Object(l.a)(w))],{start:f.edgeStart,end:f.edgeEnd}[s]),centerRipple:!0,focusRipple:!g,disabled:b,ref:e},x),o.createElement("span",{className:f.label},c))}));e.a=Object(s.a)((function(t){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(c.a)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:t.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:t.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(f)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(304);function i(t){return Object(n.a)(t).defaultView||window}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(222),u=r(170),l=r(8),f=r(24),h=r(22),d=r(13),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiFormLabel",t)}var v=Object(m.a)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),g=r(6),y=["children","className","color","component","disabled","error","filled","focused","required"],w=Object(d.a)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return Object(o.a)({},e.root,"secondary"===r.color&&e.colorSecondary,r.filled&&e.filled)}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({color:r.palette.text.secondary},r.typography.body1,(e={lineHeight:"1.4375em",padding:0,position:"relative"},Object(n.a)(e,"&.".concat(v.focused),{color:r.palette[i.color].main}),Object(n.a)(e,"&.".concat(v.disabled),{color:r.palette.text.disabled}),Object(n.a)(e,"&.".concat(v.error),{color:r.palette.error.main}),e))})),x=Object(d.a)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(t,e){return e.asterisk}})((function(t){var e=t.theme;return Object(n.a)({},"&.".concat(v.error),{color:e.palette.error.main})})),O=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiFormLabel"}),n=r.children,a=r.className,d=r.component,p=void 0===d?"label":d,m=Object(i.a)(r,y),v=Object(u.a)(),O=Object(c.a)({props:r,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),_=Object(o.a)({},r,{color:O.color||"primary",component:p,disabled:O.disabled,error:O.error,filled:O.filled,focused:O.focused,required:O.required}),S=function(t){var e=t.classes,r=t.color,n=t.focused,i=t.disabled,o=t.error,a=t.filled,c=t.required,u={root:["root","color".concat(Object(f.a)(r)),i&&"disabled",o&&"error",a&&"filled",n&&"focused",c&&"required"],asterisk:["asterisk",o&&"error"]};return Object(s.a)(u,b,e)}(_);return Object(g.jsxs)(w,Object(o.a)({as:p,ownerState:_,className:Object(l.a)(S.root,a),ref:e},m,{children:[n,O.required&&Object(g.jsxs)(x,{ownerState:_,"aria-hidden":!0,className:S.asterisk,children:["\u2009","*"]})]}))}));function _(t){return Object(p.a)("MuiInputLabel",t)}Object(m.a)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var S=["disableAnimation","margin","shrink","variant"],k=Object(d.a)(O,{shouldForwardProp:function(t){return Object(d.b)(t)||"classes"===t},name:"MuiInputLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(n.a)({},"& .".concat(v.asterisk),e.asterisk),e.root,r.formControl&&e.formControl,"small"===r.size&&e.sizeSmall,r.shrink&&e.shrink,!r.disableAnimation&&e.animated,e[r.variant]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},r.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===r.size&&{transform:"translate(0, 17px) scale(1)"},r.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!r.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===r.variant&&Object(o.a)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(12px, 13px) scale(1)"},r.shrink&&Object(o.a)({transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===r.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===r.variant&&Object(o.a)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(14px, 9px) scale(1)"},r.shrink&&{maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),E=a.forwardRef((function(t,e){var r=Object(h.a)({name:"MuiInputLabel",props:t}),n=r.disableAnimation,a=void 0!==n&&n,l=r.shrink,f=Object(i.a)(r,S),d=Object(u.a)(),p=l;"undefined"===typeof p&&d&&(p=d.filled||d.focused||d.adornedStart);var m=Object(c.a)({props:r,muiFormControl:d,states:["size","variant","required"]}),b=Object(o.a)({},r,{disableAnimation:a,formControl:d,shrink:p,size:m.size,variant:m.variant,required:m.required}),v=function(t){var e=t.classes,r=t.formControl,n=t.size,i=t.shrink,a={root:["root",r&&"formControl",!t.disableAnimation&&"animated",i&&"shrink","small"===n&&"sizeSmall",t.variant],asterisk:[t.required&&"asterisk"]},c=Object(s.a)(a,_,e);return Object(o.a)({},e,c)}(b);return Object(g.jsx)(k,Object(o.a)({"data-shrink":p,ownerState:b,ref:e},f,{classes:v}))}));e.a=E},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=function(t){var e=a.useRef({});return a.useEffect((function(){e.current=t})),e.current},u=r(340),l=r(252),f=r(339);function h(t){return Object(f.a)("MuiBadge",t)}var d=Object(u.a)("MuiBadge",["root","badge","dot","standard","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular","invisible"]),p=r(884),m=r(78),b=r(6),v=["anchorOrigin","classes","badgeContent","component","children","className","components","componentsProps","invisible","max","overlap","showZero","variant","theme"],g=a.forwardRef((function(t,e){var r=t.anchorOrigin,n=void 0===r?{vertical:"top",horizontal:"right"}:r,a=t.classes,u=t.badgeContent,f=t.component,d=void 0===f?"span":f,g=t.children,y=t.className,w=t.components,x=void 0===w?{}:w,O=t.componentsProps,_=void 0===O?{}:O,S=t.invisible,k=t.max,E=void 0===k?99:k,M=t.overlap,C=void 0===M?"rectangular":M,j=t.showZero,A=void 0!==j&&j,T=t.variant,P=void 0===T?"standard":T,D=t.theme,R=Object(i.a)(t,v),L=c({anchorOrigin:n,badgeContent:u,max:E,overlap:C,variant:P}),I=S;null==S&&(0===u&&!A||null==u&&"dot"!==P)&&(I=!0);var N=I?L:t,F=N.anchorOrigin,B=void 0===F?n:F,z=N.badgeContent,H=N.max,U=void 0===H?E:H,W=N.overlap,q=void 0===W?C:W,V=N.variant,G=void 0===V?P:V,Y=Object(o.a)({},t,{anchorOrigin:B,badgeContent:z,classes:a,invisible:I,max:U,overlap:q,variant:G}),X="";"dot"!==G&&(X=z>U?"".concat(U,"+"):z);var $=function(t){var e=t.variant,r=t.anchorOrigin,n=t.overlap,i=t.invisible,o=t.classes,a={root:["root"],badge:["badge",e,"anchorOrigin".concat(Object(p.a)(r.vertical)).concat(Object(p.a)(r.horizontal)).concat(Object(p.a)(n)),i&&"invisible"]};return Object(m.a)(a,h,o)}(Y),K=x.Root||d,Z=_.root||{},J=x.Badge||"span",Q=_.badge||{};return Object(b.jsxs)(K,Object(o.a)({},Z,!Object(l.a)(K)&&{as:d,ownerState:Object(o.a)({},Y,Z.ownerState),theme:D},{ref:e},R,{className:Object(s.a)($.root,Z.className,y),children:[g,Object(b.jsx)(J,Object(o.a)({},Q,!Object(l.a)(J)&&{ownerState:Object(o.a)({},Y,Q.ownerState),theme:D},{className:Object(s.a)($.badge,Q.className),children:X}))]}))})),y=r(13),w=r(22),x=r(24),O=["components","componentsProps","color","invisible","badgeContent","showZero","variant"],_=Object(o.a)({},d,Object(u.a)("MuiBadge",["colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning"])),S=Object(y.a)("span",{name:"MuiBadge",slot:"Root",overridesResolver:function(t,e){return e.root}})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),k=Object(y.a)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:function(t,e){var r=t.ownerState;return[e.badge,e[r.variant],e["anchorOrigin".concat(Object(x.a)(r.anchorOrigin.vertical)).concat(Object(x.a)(r.anchorOrigin.horizontal)).concat(Object(x.a)(r.overlap))],"default"!==r.color&&e["color".concat(Object(x.a)(r.color))],r.invisible&&e.invisible]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==r.color&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},"dot"===r.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, 50%)"}),"top"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, 50%)"}),r.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})})),E=a.forwardRef((function(t,e){var r,n,a=Object(w.a)({props:t,name:"MuiBadge"}),u=a.components,f=void 0===u?{}:u,d=a.componentsProps,p=void 0===d?{}:d,m=a.color,v=void 0===m?"default":m,y=a.invisible,_=a.badgeContent,E=a.showZero,M=void 0!==E&&E,C=a.variant,j=void 0===C?"standard":C,A=Object(i.a)(a,O),T=c({color:v}),P=y;null==y&&(0===_&&!M||null==_&&"dot"!==j)&&(P=!0);var D=(P?T:a).color,R=void 0===D?v:D,L=function(t){var e=t.color,r=t.classes,n=void 0===r?{}:r;return Object(o.a)({},n,{badge:Object(s.a)(n.badge,"default"!==e&&[h("color".concat(Object(x.a)(e))),n["color".concat(Object(x.a)(e))]])})}(Object(o.a)({},a,{invisible:P,color:R}));return Object(b.jsx)(g,Object(o.a)({invisible:y,badgeContent:_,showZero:M,variant:j},A,{components:Object(o.a)({Root:S,Badge:k},f),componentsProps:{root:Object(o.a)({},p.root,(!f.Root||!Object(l.a)(f.Root))&&{ownerState:Object(o.a)({},null==(r=p.root)?void 0:r.ownerState,{color:R})}),badge:Object(o.a)({},p.badge,(!f.Thumb||!Object(l.a)(f.Thumb))&&{ownerState:Object(o.a)({},null==(n=p.badge)?void 0:n.ownerState,{color:R})})},classes:L,ref:e}))}));e.a=E},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(76)),s=r(8),c=r(64),u=r(148),l=r(26),f=r(269),h=r(232),d=r(1460),p="undefined"===typeof window?o.useEffect:o.useLayoutEffect;var m=function(t){var e=t.classes,r=t.pulsate,n=void 0!==r&&r,i=t.rippleX,a=t.rippleY,c=t.rippleSize,l=t.in,f=t.onExited,h=void 0===f?function(){}:f,d=t.timeout,m=o.useState(!1),b=m[0],v=m[1],g=Object(s.a)(e.ripple,e.rippleVisible,n&&e.ripplePulsate),y={width:c,height:c,top:-c/2+a,left:-c/2+i},w=Object(s.a)(e.child,b&&e.childLeaving,n&&e.childPulsate),x=Object(u.a)(h);return p((function(){if(!l){v(!0);var t=setTimeout(x,d);return function(){clearTimeout(t)}}}),[x,l,d]),o.createElement("span",{className:g,style:y},o.createElement("span",{className:w}))},b=o.forwardRef((function(t,e){var r=t.center,a=void 0!==r&&r,c=t.classes,u=t.className,l=Object(i.a)(t,["center","classes","className"]),f=o.useState([]),p=f[0],b=f[1],v=o.useRef(0),g=o.useRef(null);o.useEffect((function(){g.current&&(g.current(),g.current=null)}),[p]);var y=o.useRef(!1),w=o.useRef(null),x=o.useRef(null),O=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(w.current)}}),[]);var _=o.useCallback((function(t){var e=t.pulsate,r=t.rippleX,n=t.rippleY,i=t.rippleSize,a=t.cb;b((function(t){return[].concat(Object(h.a)(t),[o.createElement(m,{key:v.current,classes:c,timeout:550,pulsate:e,rippleX:r,rippleY:n,rippleSize:i})])})),v.current+=1,g.current=a}),[c]),S=o.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.pulsate,i=void 0!==n&&n,o=e.center,s=void 0===o?a||e.pulsate:o,c=e.fakeElement,u=void 0!==c&&c;if("mousedown"===t.type&&y.current)y.current=!1;else{"touchstart"===t.type&&(y.current=!0);var l,f,h,d=u?null:O.current,p=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)l=Math.round(p.width/2),f=Math.round(p.height/2);else{var m=t.touches?t.touches[0]:t,b=m.clientX,v=m.clientY;l=Math.round(b-p.left),f=Math.round(v-p.top)}if(s)(h=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(h+=1);else{var g=2*Math.max(Math.abs((d?d.clientWidth:0)-l),l)+2,S=2*Math.max(Math.abs((d?d.clientHeight:0)-f),f)+2;h=Math.sqrt(Math.pow(g,2)+Math.pow(S,2))}t.touches?null===x.current&&(x.current=function(){_({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})},w.current=setTimeout((function(){x.current&&(x.current(),x.current=null)}),80)):_({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})}}),[a,_]),k=o.useCallback((function(){S({},{pulsate:!0})}),[S]),E=o.useCallback((function(t,e){if(clearTimeout(w.current),"touchend"===t.type&&x.current)return t.persist(),x.current(),x.current=null,void(w.current=setTimeout((function(){E(t,e)})));x.current=null,b((function(t){return t.length>0?t.slice(1):t})),g.current=e}),[]);return o.useImperativeHandle(e,(function(){return{pulsate:k,start:S,stop:E}}),[k,S,E]),o.createElement("span",Object(n.a)({className:Object(s.a)(c.root,u),ref:O},l),o.createElement(d.a,{component:null,exit:!0},p))})),v=Object(l.a)((function(t){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(t.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(t.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(b)),g=o.forwardRef((function(t,e){var r=t.action,l=t.buttonRef,h=t.centerRipple,d=void 0!==h&&h,p=t.children,m=t.classes,b=t.className,g=t.component,y=void 0===g?"button":g,w=t.disabled,x=void 0!==w&&w,O=t.disableRipple,_=void 0!==O&&O,S=t.disableTouchRipple,k=void 0!==S&&S,E=t.focusRipple,M=void 0!==E&&E,C=t.focusVisibleClassName,j=t.onBlur,A=t.onClick,T=t.onFocus,P=t.onFocusVisible,D=t.onKeyDown,R=t.onKeyUp,L=t.onMouseDown,I=t.onMouseLeave,N=t.onMouseUp,F=t.onTouchEnd,B=t.onTouchMove,z=t.onTouchStart,H=t.onDragLeave,U=t.tabIndex,W=void 0===U?0:U,q=t.TouchRippleProps,V=t.type,G=void 0===V?"button":V,Y=Object(i.a)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),X=o.useRef(null);var $=o.useRef(null),K=o.useState(!1),Z=K[0],J=K[1];x&&Z&&J(!1);var Q=Object(f.a)(),tt=Q.isFocusVisible,et=Q.onBlurVisible,rt=Q.ref;function nt(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;return Object(u.a)((function(n){return e&&e(n),!r&&$.current&&$.current[t](n),!0}))}o.useImperativeHandle(r,(function(){return{focusVisible:function(){J(!0),X.current.focus()}}}),[]),o.useEffect((function(){Z&&M&&!_&&$.current.pulsate()}),[_,M,Z]);var it=nt("start",L),ot=nt("stop",H),at=nt("stop",N),st=nt("stop",(function(t){Z&&t.preventDefault(),I&&I(t)})),ct=nt("start",z),ut=nt("stop",F),lt=nt("stop",B),ft=nt("stop",(function(t){Z&&(et(t),J(!1)),j&&j(t)}),!1),ht=Object(u.a)((function(t){X.current||(X.current=t.currentTarget),tt(t)&&(J(!0),P&&P(t)),T&&T(t)})),dt=function(){var t=a.findDOMNode(X.current);return y&&"button"!==y&&!("A"===t.tagName&&t.href)},pt=o.useRef(!1),mt=Object(u.a)((function(t){M&&!pt.current&&Z&&$.current&&" "===t.key&&(pt.current=!0,t.persist(),$.current.stop(t,(function(){$.current.start(t)}))),t.target===t.currentTarget&&dt()&&" "===t.key&&t.preventDefault(),D&&D(t),t.target===t.currentTarget&&dt()&&"Enter"===t.key&&!x&&(t.preventDefault(),A&&A(t))})),bt=Object(u.a)((function(t){M&&" "===t.key&&$.current&&Z&&!t.defaultPrevented&&(pt.current=!1,t.persist(),$.current.stop(t,(function(){$.current.pulsate(t)}))),R&&R(t),A&&t.target===t.currentTarget&&dt()&&" "===t.key&&!t.defaultPrevented&&A(t)})),vt=y;"button"===vt&&Y.href&&(vt="a");var gt={};"button"===vt?(gt.type=G,gt.disabled=x):("a"===vt&&Y.href||(gt.role="button"),gt["aria-disabled"]=x);var yt=Object(c.a)(l,e),wt=Object(c.a)(rt,X),xt=Object(c.a)(yt,wt),Ot=o.useState(!1),_t=Ot[0],St=Ot[1];o.useEffect((function(){St(!0)}),[]);var kt=_t&&!_&&!x;return o.createElement(vt,Object(n.a)({className:Object(s.a)(m.root,b,Z&&[m.focusVisible,C],x&&m.disabled),onBlur:ft,onClick:A,onFocus:ht,onKeyDown:mt,onKeyUp:bt,onMouseDown:it,onMouseLeave:st,onMouseUp:at,onDragLeave:ot,onTouchEnd:ut,onTouchMove:lt,onTouchStart:ct,ref:xt,tabIndex:x?-1:W},gt,Y),p,kt?o.createElement(v,Object(n.a)({ref:$,center:d},q)):null)}));e.a=Object(l.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(g)},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(686),i=r(588),o=r(68),a=r(589),s=r(590),c=r(471);t.exports=function(t,e,r){for(var u=-1,l=(e=n(e,t)).length,f=!1;++u<l;){var h=c(e[u]);if(!(f=null!=t&&r(t,h)))break;t=t[h]}return f||++u!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(h,l)&&(o(t)||i(t))}},function(t,e,r){var n=r(68),i=r(583),o=r(940),a=r(391);t.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(a(t))}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(120))},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e,r){var n=r(690);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(312),i=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},function(t,e,r){(function(t){var n=r(214),i=r(970),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c}).call(this,r(203)(t))},function(t,e,r){var n=r(971),i=r(693),o=r(972),a=o&&o.isTypedArray,s=a?i(a):n;t.exports=s},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,r){var n=r(468),i=r(979),o=r(980),a=r(981),s=r(982),c=r(983);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e,r){var n=r(696),i=r(697),o=r(698);t.exports=function(t,e,r,a,s,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var h=c.get(t),d=c.get(e);if(h&&d)return h==e&&d==t;var p=-1,m=!0,b=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++p<l;){var v=t[p],g=e[p];if(a)var y=u?a(g,v,p,e,t,c):a(v,g,p,t,e,c);if(void 0!==y){if(y)continue;m=!1;break}if(b){if(!i(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,r,a,c)))return b.push(e)}))){m=!1;break}}else if(v!==g&&!s(v,g,r,a,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},function(t,e,r){var n=r(584),i=r(985),o=r(986);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},function(t,e,r){var n=r(312)(r(214),"Set");t.exports=n},function(t,e,r){var n=r(150);t.exports=function(t){return t===t&&!n(t)}},function(t,e){t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},function(t,e,r){var n=r(1007),i=r(1008),o=r(1011),a=RegExp("['\u2019]","g");t.exports=function(t){return function(e){return n(o(i(e).replace(a,"")),t,"")}}},function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},function(t,e,r){var n=r(595);t.exports=function(t,e){e=e||{};var r=n.decode(t,e);if(!r)return null;var i=r.payload;if("string"===typeof i)try{var o=JSON.parse(i);null!==o&&"object"===typeof o&&(i=o)}catch(a){}return!0===e.complete?{header:r.header,payload:i,signature:r.signature}:i}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){(function(e){var n=r(71).Buffer,i=r(473);function o(t){if(this.buffer=null,this.writable=!0,this.readable=!0,!t)return this.buffer=n.alloc(0),this;if("function"===typeof t.pipe)return this.buffer=n.alloc(0),t.pipe(this),this;if(t.length||"object"===typeof t)return this.buffer=t,this.writable=!1,e.nextTick(function(){this.emit("end",t),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof t+")")}r(475).inherits(o,i),o.prototype.write=function(t){this.buffer=n.concat([this.buffer,n.from(t)]),this.emit("data",t)},o.prototype.end=function(t){t&&this.write(t),this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1},t.exports=o}).call(this,r(112))},function(t,e,r){"use strict";(function(e,n){var i=r(474);t.exports=y;var o,a=r(706);y.ReadableState=g;r(265).EventEmitter;var s=function(t,e){return t.listeners(e).length},c=r(709),u=r(71).Buffer,l=e.Uint8Array||function(){};var f=Object.create(r(393));f.inherits=r(53);var h=r(1025),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=r(1026),b=r(710);f.inherits(y,c);var v=["error","close","destroy","pause","resume"];function g(t,e){t=t||{};var n=e instanceof(o=o||r(313));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=r(266).StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function y(t){if(o=o||r(313),!(this instanceof y))return new y(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function w(t,e,r,n,i){var o,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}(t,a)):(i||(o=function(t,e){var r;n=e,u.isBuffer(n)||n instanceof l||"string"===typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):x(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?x(t,a,e,!1):k(t,a)):x(t,a,e,!1))):n||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(a)}function x(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),k(t,e)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=b.destroy,y.prototype._undestroy=b.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=u.from(t,e),e=""),r=!0),w(this,t,e,!1,r)},y.prototype.unshift=function(t){return w(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(t){return p||(p=r(266).StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this};function O(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(S,t):S(t))}function S(t){d("emit readable"),t.emit("readable"),j(t)}function k(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(E,t,e))}function E(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(d("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function M(t){d("readable nexttick read 0"),t.read(0)}function C(t,e){e.reading||(d("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),j(t),e.flowing&&!e.reading&&t.read(0)}function j(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function A(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;t-=i.length;for(;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=u.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(P,e,t))}function P(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function D(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}y.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):_(this),null;if(0===(t=O(t,e))&&e.ended)return 0===e.length&&T(this),null;var n,i=e.needReadable;return d("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",i=!0),e.ended||e.reading?d("reading or ended",i=!1):i&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=O(r,e))),null===(n=t>0?A(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&T(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,e);var c=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?l:y;function u(e,n){d("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),t.removeListener("close",v),t.removeListener("finish",g),t.removeListener("drain",f),t.removeListener("error",b),t.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),h=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function l(){d("onend"),t.end()}o.endEmitted?i.nextTick(c):r.once("end",c),t.on("unpipe",u);var f=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,j(t))}}(r);t.on("drain",f);var h=!1;var p=!1;function m(e){d("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==D(o.pipes,t))&&!h&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function b(e){d("onerror",e),y(),t.removeListener("error",b),0===s(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",g),y()}function g(){d("onfinish"),t.removeListener("close",v),y()}function y(){d("unpipe"),r.unpipe(t)}return r.on("data",m),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",b),t.once("close",v),t.once("finish",g),t.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,r);return this}var a=D(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},y.prototype.on=function(t,e){var r=c.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):i.nextTick(M,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(C,t,e))}(this,t)),this},y.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<v.length;o++)t.on(v[o],this.emit.bind(this,v[o]));return this._read=function(e){d("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=A}).call(this,r(120),r(112))},function(t,e,r){t.exports=r(265).EventEmitter},function(t,e,r){"use strict";var n=r(474);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(i,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,r){"use strict";t.exports=a;var n=r(313),i=Object.create(r(393));function o(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);n.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"===typeof this._flush?this._flush((function(e,r){c(t,e,r)})):c(this,null,null)}function c(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=r(53),i.inherits(a,n),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){var n=r(1036),i=r(71).Buffer,o=r(1037),a=r(1125),s=r(475),c="secret must be a string or buffer",u="key must be a string or a buffer",l="function"===typeof o.createPublicKey;function f(t){if(!i.isBuffer(t)&&"string"!==typeof t){if(!l)throw m(u);if("object"!==typeof t)throw m(u);if("string"!==typeof t.type)throw m(u);if("string"!==typeof t.asymmetricKeyType)throw m(u);if("function"!==typeof t.export)throw m(u)}}function h(t){if(!i.isBuffer(t)&&"string"!==typeof t&&"object"!==typeof t)throw m("key must be a string, a buffer or an object")}function d(t){return t.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(t){var e=4-(t=t.toString()).length%4;if(4!==e)for(var r=0;r<e;++r)t+="=";return t.replace(/\-/g,"+").replace(/_/g,"/")}function m(t){var e=[].slice.call(arguments,1),r=s.format.bind(s,t).apply(null,e);return new TypeError(r)}function b(t){var e;return e=t,i.isBuffer(e)||"string"===typeof e||(t=JSON.stringify(t)),t}function v(t){return function(e,r){!function(t){if(!i.isBuffer(t)){if("string"===typeof t)return t;if(!l)throw m(c);if("object"!==typeof t)throw m(c);if("secret"!==t.type)throw m(c);if("function"!==typeof t.export)throw m(c)}}(r),e=b(e);var n=o.createHmac("sha"+t,r);return d((n.update(e),n.digest("base64")))}}function g(t){return function(e,r,o){var a=v(t)(e,o);return n(i.from(r),i.from(a))}}function y(t){return function(e,r){h(r),e=b(e);var n=o.createSign("RSA-SHA"+t);return d((n.update(e),n.sign(r,"base64")))}}function w(t){return function(e,r,n){f(n),e=b(e),r=p(r);var i=o.createVerify("RSA-SHA"+t);return i.update(e),i.verify(n,r,"base64")}}function x(t){return function(e,r){h(r),e=b(e);var n=o.createSign("RSA-SHA"+t);return d((n.update(e),n.sign({key:r,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function O(t){return function(e,r,n){f(n),e=b(e),r=p(r);var i=o.createVerify("RSA-SHA"+t);return i.update(e),i.verify({key:n,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},r,"base64")}}function _(t){var e=y(t);return function(){var r=e.apply(null,arguments);return r=a.derToJose(r,"ES"+t)}}function S(t){var e=w(t);return function(r,n,i){return n=a.joseToDer(n,"ES"+t).toString("base64"),e(r,n,i)}}function k(){return function(){return""}}function E(){return function(t,e){return""===e}}l&&(u+=" or a KeyObject",c+="or a KeyObject"),t.exports=function(t){var e={hs:v,rs:y,ps:x,es:_,none:k},r={hs:g,rs:w,ps:O,es:S,none:E},n=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!n)throw m('"%s" is not a valid algorithm.\n  Supported algorithms are:\n  "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',t);var i=(n[1]||n[3]).toLowerCase(),o=n[2];return{sign:e[i](o),verify:r[i](o)}}},function(t,e,r){"use strict";var n=r(1038).Buffer,i=r(1039).Transform;function o(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(53)(o,i),o.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(i){n=i}r(n)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(r){e=r}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!n.isBuffer(t)&&"string"!==typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));for(var r=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)r[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},function(t,e,r){"use strict";(function(e,n){var i;t.exports=k,k.ReadableState=S;r(265).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=r(715),s=r(121).Buffer,c=e.Uint8Array||function(){};var u,l=r(1040);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=r(1041),m=r(716),b=r(717).getHighWaterMark,v=r(347).codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(53)(k,a);var O=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function S(t,e,n){i=i||r(348),t=t||{},"boolean"!==typeof n&&(n=e instanceof i),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=r(266).StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function k(t){if(i=i||r(348),!(this instanceof k))return new k(t);var e=this instanceof i;this._readableState=new S(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function E(t,e,r,n,i){u("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(u("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,A(t)))}(t,a);else if(i||(o=function(t,e){var r;n=e,s.isBuffer(n)||n instanceof c||"string"===typeof e||void 0===e||t.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(a,e)),o)O(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),n)a.endEmitted?O(t,new x):M(t,a,e,!0);else if(a.ended)O(t,new y);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?M(t,a,e,!1):T(t,a)):M(t,a,e,!1)}else n||(a.reading=!1,T(t,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function M(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),T(t,e)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(t,e){e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=s.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},k.prototype.unshift=function(t){return E(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){f||(f=r(266).StringDecoder);var e=new f(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var e=t._readableState;u("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(u("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(A,t))}function A(t){var e=t._readableState;u("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,I(t)}function T(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(P,t,e))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(u("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){u("readable nexttick read 0"),t.read(0)}function L(t,e){u("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),I(t),e.flowing&&!e.reading&&t.read(0)}function I(t){var e=t._readableState;for(u("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var e=t._readableState;u("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(B,e,t))}function B(t,e){if(u("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function z(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}k.prototype.read=function(t){u("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return u("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):j(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return u("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&u("length less than watermark",i=!0),e.ended||e.reading?u("reading or ended",i=!1):i&&(u("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){O(this,new w("_read()"))},k.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?c:b;function s(e,n){u("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),t.removeListener("close",p),t.removeListener("finish",m),t.removeListener("drain",l),t.removeListener("error",d),t.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",h),f=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function c(){u("onend"),t.end()}i.endEmitted?n.nextTick(a):r.once("end",a),t.on("unpipe",s);var l=function(t){return function(){var e=t._readableState;u("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,I(t))}}(r);t.on("drain",l);var f=!1;function h(e){u("ondata");var n=t.write(e);u("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==z(i.pipes,t))&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(e){u("onerror",e),b(),t.removeListener("error",d),0===o(t,"error")&&O(t,e)}function p(){t.removeListener("finish",m),b()}function m(){u("onfinish"),t.removeListener("close",p),b()}function b(){u("unpipe"),r.unpipe(t)}return r.on("data",h),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",d),t.once("close",p),t.once("finish",m),t.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?j(this):i.reading||n.nextTick(R,this))),r},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(t,e){var r=a.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(D,this),r},k.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(D,this),e},k.prototype.resume=function(){var t=this._readableState;return t.flowing||(u("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(L,t,e))}(this,t)),t.paused=!1,this},k.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<_.length;o++)t.on(_[o],this.emit.bind(this,_[o]));return this._read=function(e){u("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"===typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(1043)),h(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),k._fromList=N,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(k.from=function(t,e){return void 0===d&&(d=r(1044)),d(k,t,e)})}).call(this,r(120),r(112))},function(t,e,r){t.exports=r(265).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(112))},function(t,e,r){"use strict";var n=r(347).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var o;t.exports=k,k.WritableState=S;var a={deprecate:r(599)},s=r(715),c=r(121).Buffer,u=e.Uint8Array||function(){};var l,f=r(716),h=r(717).getHighWaterMark,d=r(347).codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,O=f.errorOrDestroy;function _(){}function S(t,e,a){o=o||r(348),t=t||{},"boolean"!==typeof a&&(a=e instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new b;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,i,o){--e.pendingcb,r?(n.nextTick(o,i),n.nextTick(T,t,e),t._writableState.errorEmitted=!0,O(t,i)):(o(i),t._writableState.errorEmitted=!0,O(t,i),T(t,e))}(t,r,i,e,o);else{var a=j(r)||t.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(t,r),i?n.nextTick(M,t,r,a,o):M(t,r,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(t){var e=this instanceof(o=o||r(348));if(!e&&!l.call(k,this))return new k(t);this._writableState=new S(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),s.call(this)}function E(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),T(t,e)}function C(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)o[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;o.allBuffers=c,E(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(E(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(r){e.pendingcb--,r&&O(t,r),e.prefinished=!0,t.emit("prefinish"),T(t,e)}))}function T(t,e){var r=j(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(A,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return r}r(53)(k,s),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===k&&(t&&t._writableState instanceof S)}})):l=function(t){return t instanceof this},k.prototype.pipe=function(){O(this,new v)},k.prototype.write=function(t,e,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,c.isBuffer(i)||i instanceof u);return s&&!c.isBuffer(t)&&(t=function(t){return c.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof r&&(r=_),o.ending?function(t,e){var r=new w;O(t,r),n.nextTick(e,r)}(this,r):(s||function(t,e,r,i){var o;return null===r?o=new y:"string"===typeof r||e.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(O(t,o),n.nextTick(i,o),!1)}(this,o,t,r))&&(o.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=c.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,s,n,i,o);return u}(this,o,s,t,e,r)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},k.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,r){r(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,e,r){var i=this._writableState;return"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,r){e.ending=!0,T(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,i,r),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=f.destroy,k.prototype._undestroy=f.undestroy,k.prototype._destroy=function(t,e){e(t)}}).call(this,r(120),r(112))},function(t,e,r){"use strict";t.exports=l;var n=r(347).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(348);function u(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(e,r){h(t,e,r)}))}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}r(53)(l,c),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new i("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function h(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,b=0|this._h,v=0;v<16;++v)r[v]=t.readInt32BE(4*v);for(;v<64;++v)r[v]=0|(((e=r[v-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[v-7]+d(r[v-15])+r[v-16];for(var g=0;g<64;++g){var y=b+h(c)+u(c,p,m)+a[g]+r[g]|0,w=f(n)+l(n,i,o)|0;b=m,m=p,p=c,c=s+y|0,s=o,o=i,i=n,n=y+w|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},c.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=c},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function h(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function v(t,e){return t>>>0<e>>>0?1:0}n(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,w=0|this._al,x=0|this._bl,O=0|this._cl,_=0|this._dl,S=0|this._el,k=0|this._fl,E=0|this._gl,M=0|this._hl,C=0;C<32;C+=2)e[C]=t.readInt32BE(4*C),e[C+1]=t.readInt32BE(4*C+4);for(;C<160;C+=2){var j=e[C-30],A=e[C-30+1],T=d(j,A),P=p(A,j),D=m(j=e[C-4],A=e[C-4+1]),R=b(A,j),L=e[C-14],I=e[C-14+1],N=e[C-32],F=e[C-32+1],B=P+I|0,z=T+L+v(B,P)|0;z=(z=z+D+v(B=B+R|0,R)|0)+N+v(B=B+F|0,F)|0,e[C]=z,e[C+1]=B}for(var H=0;H<160;H+=2){z=e[H],B=e[H+1];var U=l(r,n,i),W=l(w,x,O),q=f(r,w),V=f(w,r),G=h(s,S),Y=h(S,s),X=a[H],$=a[H+1],K=u(s,c,g),Z=u(S,k,E),J=M+Y|0,Q=y+G+v(J,M)|0;Q=(Q=(Q=Q+K+v(J=J+Z|0,Z)|0)+X+v(J=J+$|0,$)|0)+z+v(J=J+B|0,B)|0;var tt=V+W|0,et=q+U+v(tt,V)|0;y=g,M=E,g=c,E=k,c=s,k=S,s=o+Q+v(S=_+J|0,_)|0,o=i,_=O,i=n,O=x,n=r,x=w,r=Q+et+v(w=J+tt|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+O|0,this._dl=this._dl+_|0,this._el=this._el+S|0,this._fl=this._fl+k|0,this._gl=this._gl+E|0,this._hl=this._hl+M|0,this._ah=this._ah+r+v(this._al,w)|0,this._bh=this._bh+n+v(this._bl,x)|0,this._ch=this._ch+i+v(this._cl,O)|0,this._dh=this._dh+o+v(this._dl,_)|0,this._eh=this._eh+s+v(this._el,S)|0,this._fh=this._fh+c+v(this._fl,k)|0,this._gh=this._gh+g+v(this._gl,E)|0,this._hh=this._hh+y+v(this._hl,M)|0},c.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=c},function(t,e,r){"use strict";var n=r(53),i=r(1051),o=r(267),a=r(71).Buffer,s=r(723),c=r(602),u=r(603),l=a.alloc(128);function f(t,e){o.call(this,"digest"),"string"===typeof e&&(e=a.from(e));var r="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>r)?e=("rmd160"===t?new c:u(t)).update(e).digest():e.length<r&&(e=a.concat([e,l],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new c:u(t),this._hash.update(n)}n(f,o),f.prototype._update=function(t){this._hash.update(t)},f.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new f("rmd160",e):"md5"===t?new i(s,e):new f(t,e)}},function(t,e,r){var n=r(600);t.exports=function(t){return(new n).update(t).digest()}},function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(t,e,r){e.pbkdf2=r(1053),e.pbkdf2Sync=r(728)},function(t,e){var r=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!==typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!==typeof e)throw new TypeError("Key length not a number");if(e<0||e>r||e!==e)throw new TypeError("Bad key length")}},function(t,e,r){(function(e,r){var n;if(e.process&&e.process.browser)n="utf-8";else if(e.process&&e.process.version){n=parseInt(r.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this,r(120),r(112))},function(t,e,r){var n=r(723),i=r(602),o=r(603),a=r(71).Buffer,s=r(726),c=r(727),u=r(729),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(t,e,r){var s=function(t){function e(e){return o(t).update(e).digest()}return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?n:e}(t),c="sha512"===t||"sha384"===t?128:64;e.length>c?e=s(e):e.length<c&&(e=a.concat([e,l],c));for(var u=a.allocUnsafe(c+f[t]),h=a.allocUnsafe(c+f[t]),d=0;d<c;d++)u[d]=54^e[d],h[d]=92^e[d];var p=a.allocUnsafe(c+r+4);u.copy(p,0,0,c),this.ipad1=p,this.ipad2=u,this.opad=h,this.alg=t,this.blocksize=c,this.hash=s,this.size=f[t]}h.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,r,n,i){s(r,n);var o=new h(i=i||"sha1",t=u(t,c,"Password"),(e=u(e,c,"Salt")).length),l=a.allocUnsafe(n),d=a.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=f[i],b=Math.ceil(n/m),v=1;v<=b;v++){d.writeUInt32BE(v,e.length);for(var g=o.run(d,o.ipad1),y=g,w=1;w<r;w++){y=o.run(y,o.ipad2);for(var x=0;x<m;x++)g[x]^=y[x]}g.copy(l,p),p+=m}return l}},function(t,e,r){var n=r(71).Buffer;t.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"===typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(t,e,r){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},e.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,c=0;c<s;c++)o<<=1,o|=t>>>n[c]&1;for(c=s;c<n.length;c++)a<<=1,a|=e>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},e.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(t>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(e>>>18-6*n&63)]}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,r=0;r<o.length;r++)e<<=1,e|=t>>>o[r]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var i=[],o=0;o<e;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},function(t,e,r){"use strict";var n=r(190),i=r(53),o=r(730),a=r(604);function s(){this.tmp=new Array(2),this.keys=null}function c(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(c,a),t.exports=c,c.create=function(t){return new c(t)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(r,i,t.tmp,0),r=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=u[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,t.keys,a)}},c.prototype._update=function(t,e,r,n){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},c.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n<t.length;n++)t[n]=r;return!0},c.prototype._unpad=function(t){for(var e=t[t.length-1],r=t.length-e;r<t.length;r++)n.equal(t[r],e);return t.slice(0,t.length-e)},c.prototype._encrypt=function(t,e,r,n,i){for(var a=e,s=r,c=0;c<t.keys.length;c+=2){var u=t.keys[c],l=t.keys[c+1];o.expand(s,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=s;s=(a^o.permute(f))>>>0,a=h}o.rip(s,a,n,i)},c.prototype._decrypt=function(t,e,r,n,i){for(var a=r,s=e,c=t.keys.length-2;c>=0;c-=2){var u=t.keys[c],l=t.keys[c+1];o.expand(a,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=a;a=(s^o.permute(f))>>>0,s=h}o.rip(a,s,n,i)}},function(t,e,r){var n=r(395),i=r(71).Buffer,o=r(733);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var r=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var c=a(t),u=o+16*s;t._cache.writeUInt32BE(c[0],u+0),t._cache.writeUInt32BE(c[1],u+4),t._cache.writeUInt32BE(c[2],u+8),t._cache.writeUInt32BE(c[3],u+12)}var l=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,l)}},function(t,e){t.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(t,e,r){var n=r(476),i=r(71).Buffer,o=r(267),a=r(53),s=r(1066),c=r(395),u=r(733);function l(t,e,r,a){o.call(this);var c=i.alloc(4,0);this._cipher=new n.AES(e);var l=this._cipher.encryptBlock(c);this._ghash=new s(l),r=function(t,e,r){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var n=new s(r),o=e.length,a=o%16;n.update(e),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var c=8*o,l=i.alloc(8);l.writeUIntBE(c,0,8),n.update(l),t._finID=n.state;var f=i.from(t._finID);return u(f),f}(this,r,l),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(l,o),l.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;i<n;++i)r+=t[i]^e[i];return r}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},l.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=l},function(t,e,r){var n=r(476),i=r(71).Buffer,o=r(267);function a(t,e,r,a){o.call(this),this._cipher=new n.AES(e),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}r(53)(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},function(t,e,r){var n=r(346);t.exports=g,g.simpleSieve=b,g.fermatTest=v;var i=r(738),o=new i(24),a=new(r(739)),s=new i(1),c=new i(2),u=new i(5),l=(new i(16),new i(8),new i(10)),f=new i(3),h=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<e&&t[i]<=n&&r%t[i]!==0;i++);e!==i&&t[i]<=n||(t[e++]=r)}return p=t,t}function b(t){for(var e=m(),r=0;r<e.length;r++)if(0===t.modn(e[r]))return 0===t.cmpn(e[r]);return!0}function v(t){var e=i.mont(t);return 0===c.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function g(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var r,p;for(e=new i(e);;){for(r=new i(n(Math.ceil(t/8)));r.bitLength()>t;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(c),e.cmp(c)){if(!e.cmp(u))for(;r.mod(l).cmp(f);)r.iadd(d)}else for(;r.mod(o).cmp(h);)r.iadd(d);if(b(p=r.shrn(1))&&b(r)&&v(p)&&v(r)&&a.test(p)&&a.test(r))return r}}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1070).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){var n=r(1071),i=r(607);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,e,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),c=0;!s.testn(c);c++);for(var u=t.shrn(c),l=s.toRed(o);e>0;e--){var f=this._randrange(new n(2),s);r&&r(f);var h=f.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(l)){for(var d=1;d<c;d++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(l))break}if(d===c)return!1}}return!0},o.prototype.getDivisor=function(t,e){var r=t.bitLength(),i=n.mont(t),o=new n(1).toRed(i);e||(e=Math.max(1,r/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var c=t.shrn(s),u=a.toRed(i);e>0;e--){var l=this._randrange(new n(2),a),f=t.gcd(l);if(0!==f.cmpn(1))return f;var h=l.toRed(i).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var d=1;d<s;d++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(t);if(0===h.cmp(u))break}if(d===s)return(h=h.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},function(t,e,r){"use strict";(function(e,n){var i;t.exports=k,k.ReadableState=S;r(265).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=r(741),s=r(121).Buffer,c=e.Uint8Array||function(){};var u,l=r(1078);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=r(1079),m=r(742),b=r(743).getHighWaterMark,v=r(350).codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(53)(k,a);var O=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function S(t,e,n){i=i||r(351),t=t||{},"boolean"!==typeof n&&(n=e instanceof i),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=r(266).StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function k(t){if(i=i||r(351),!(this instanceof k))return new k(t);var e=this instanceof i;this._readableState=new S(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function E(t,e,r,n,i){u("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(u("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,A(t)))}(t,a);else if(i||(o=function(t,e){var r;n=e,s.isBuffer(n)||n instanceof c||"string"===typeof e||void 0===e||t.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(a,e)),o)O(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),n)a.endEmitted?O(t,new x):M(t,a,e,!0);else if(a.ended)O(t,new y);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?M(t,a,e,!1):T(t,a)):M(t,a,e,!1)}else n||(a.reading=!1,T(t,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function M(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),T(t,e)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(t,e){e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=s.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},k.prototype.unshift=function(t){return E(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){f||(f=r(266).StringDecoder);var e=new f(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var e=t._readableState;u("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(u("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(A,t))}function A(t){var e=t._readableState;u("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,I(t)}function T(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(P,t,e))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(u("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){u("readable nexttick read 0"),t.read(0)}function L(t,e){u("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),I(t),e.flowing&&!e.reading&&t.read(0)}function I(t){var e=t._readableState;for(u("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var e=t._readableState;u("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(B,e,t))}function B(t,e){if(u("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function z(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}k.prototype.read=function(t){u("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return u("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):j(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return u("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&u("length less than watermark",i=!0),e.ended||e.reading?u("reading or ended",i=!1):i&&(u("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){O(this,new w("_read()"))},k.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?c:b;function s(e,n){u("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),t.removeListener("close",p),t.removeListener("finish",m),t.removeListener("drain",l),t.removeListener("error",d),t.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",h),f=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function c(){u("onend"),t.end()}i.endEmitted?n.nextTick(a):r.once("end",a),t.on("unpipe",s);var l=function(t){return function(){var e=t._readableState;u("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,I(t))}}(r);t.on("drain",l);var f=!1;function h(e){u("ondata");var n=t.write(e);u("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==z(i.pipes,t))&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(e){u("onerror",e),b(),t.removeListener("error",d),0===o(t,"error")&&O(t,e)}function p(){t.removeListener("finish",m),b()}function m(){u("onfinish"),t.removeListener("close",p),b()}function b(){u("unpipe"),r.unpipe(t)}return r.on("data",h),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",d),t.once("close",p),t.once("finish",m),t.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?j(this):i.reading||n.nextTick(R,this))),r},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(t,e){var r=a.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(D,this),r},k.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(D,this),e},k.prototype.resume=function(){var t=this._readableState;return t.flowing||(u("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(L,t,e))}(this,t)),t.paused=!1,this},k.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<_.length;o++)t.on(_[o],this.emit.bind(this,_[o]));return this._read=function(e){u("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"===typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(1081)),h(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),k._fromList=N,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(k.from=function(t,e){return void 0===d&&(d=r(1082)),d(k,t,e)})}).call(this,r(120),r(112))},function(t,e,r){t.exports=r(265).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(112))},function(t,e,r){"use strict";var n=r(350).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var o;t.exports=k,k.WritableState=S;var a={deprecate:r(599)},s=r(741),c=r(121).Buffer,u=e.Uint8Array||function(){};var l,f=r(742),h=r(743).getHighWaterMark,d=r(350).codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,O=f.errorOrDestroy;function _(){}function S(t,e,a){o=o||r(351),t=t||{},"boolean"!==typeof a&&(a=e instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new b;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,i,o){--e.pendingcb,r?(n.nextTick(o,i),n.nextTick(T,t,e),t._writableState.errorEmitted=!0,O(t,i)):(o(i),t._writableState.errorEmitted=!0,O(t,i),T(t,e))}(t,r,i,e,o);else{var a=j(r)||t.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(t,r),i?n.nextTick(M,t,r,a,o):M(t,r,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(t){var e=this instanceof(o=o||r(351));if(!e&&!l.call(k,this))return new k(t);this._writableState=new S(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),s.call(this)}function E(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),T(t,e)}function C(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)o[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;o.allBuffers=c,E(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(E(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(r){e.pendingcb--,r&&O(t,r),e.prefinished=!0,t.emit("prefinish"),T(t,e)}))}function T(t,e){var r=j(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(A,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return r}r(53)(k,s),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===k&&(t&&t._writableState instanceof S)}})):l=function(t){return t instanceof this},k.prototype.pipe=function(){O(this,new v)},k.prototype.write=function(t,e,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,c.isBuffer(i)||i instanceof u);return s&&!c.isBuffer(t)&&(t=function(t){return c.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof r&&(r=_),o.ending?function(t,e){var r=new w;O(t,r),n.nextTick(e,r)}(this,r):(s||function(t,e,r,i){var o;return null===r?o=new y:"string"===typeof r||e.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(O(t,o),n.nextTick(i,o),!1)}(this,o,t,r))&&(o.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=c.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,s,n,i,o);return u}(this,o,s,t,e,r)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},k.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,r){r(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,e,r){var i=this._writableState;return"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,r){e.ending=!0,T(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,i,r),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=f.destroy,k.prototype._undestroy=f.undestroy,k.prototype._destroy=function(t,e){e(t)}}).call(this,r(120),r(112))},function(t,e,r){"use strict";t.exports=l;var n=r(350).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(351);function u(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(e,r){h(t,e,r)}))}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}r(53)(l,c),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new i("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){"use strict";var n=e;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",r=0;r<t.length;r++)e+=i(t[r].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!==typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t);for(n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16))}else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(t,e){return"hex"===e?o(t):t}},function(t,e,r){"use strict";var n=e;n.base=r(478),n.short=r(1089),n.mont=r(1090),n.edwards=r(1091)},function(t,e,r){"use strict";var n=r(215).rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function a(t,e,r){return t^e^r}e.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?a(e,r,n):2===t?o(e,r,n):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},function(t,e,r){"use strict";var n=r(215),i=r(396),o=r(748),a=r(190),s=n.sum32,c=n.sum32_4,u=n.sum32_5,l=o.ch32,f=o.maj32,h=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,b=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}n.inherits(g,b),t.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=c(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],b=this.h[2],v=this.h[3],g=this.h[4],y=this.h[5],w=this.h[6],x=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var O=u(x,d(g),l(g,y,w),this.k[n],r[n]),_=s(h(i),f(i,o,b));x=w,w=y,y=g,g=s(v,O),v=b,b=o,o=i,i=s(O,_)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],b),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],g),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],x)},g.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(215),i=r(396),o=r(190),a=n.rotr64_hi,s=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,f=n.sum64_hi,h=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,b=n.sum64_5_lo,v=i.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function w(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function x(t,e,r,n,i,o){var a=e&n^~e&o;return a<0&&(a+=4294967296),a}function O(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function _(t,e,r,n,i,o){var a=e&n^e&o^n&o;return a<0&&(a+=4294967296),a}function S(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function k(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function E(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=4294967296),r}function M(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function C(t,e){var r=a(t,e,1)^a(t,e,8)^c(t,e,7);return r<0&&(r+=4294967296),r}function j(t,e){var r=s(t,e,1)^s(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function A(t,e){var r=a(t,e,19)^a(e,t,29)^c(t,e,6);return r<0&&(r+=4294967296),r}function T(t,e){var r=s(t,e,19)^s(e,t,29)^u(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(y,v),t.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=A(r[n-4],r[n-3]),o=T(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],c=C(r[n-30],r[n-29]),u=j(r[n-30],r[n-29]),l=r[n-32],f=r[n-31];r[n]=d(i,o,a,s,c,u,l,f),r[n+1]=p(i,o,a,s,c,u,l,f)}},y.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],c=this.h[4],u=this.h[5],d=this.h[6],p=this.h[7],v=this.h[8],g=this.h[9],y=this.h[10],C=this.h[11],j=this.h[12],A=this.h[13],T=this.h[14],P=this.h[15];o(this.k.length===r.length);for(var D=0;D<r.length;D+=2){var R=T,L=P,I=E(v,g),N=M(v,g),F=w(v,g,y,C,j),B=x(v,g,y,C,j,A),z=this.k[D],H=this.k[D+1],U=r[D],W=r[D+1],q=m(R,L,I,N,F,B,z,H,U,W),V=b(R,L,I,N,F,B,z,H,U,W);R=S(n,i),L=k(n,i),I=O(n,i,a,s,c),N=_(n,i,a,s,c,u);var G=f(R,L,I,N),Y=h(R,L,I,N);T=j,P=A,j=y,A=C,y=v,C=g,v=f(d,p,q,V),g=h(p,p,q,V),d=c,p=u,c=a,u=s,a=n,s=i,n=f(q,V,G,Y),i=h(q,V,G,Y)}l(this.h,0,n,i),l(this.h,2,a,s),l(this.h,4,c,u),l(this.h,6,d,p),l(this.h,8,v,g),l(this.h,10,y,C),l(this.h,12,j,A),l(this.h,14,T,P)},y.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=e;n.bignum=r(752),n.define=r(1108).define,n.base=r(1111),n.constants=r(1112),n.decoders=r(755),n.encoders=r(753)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1107).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";var n=e;n.der=r(754),n.pem=r(1109)},function(t,e,r){"use strict";var n=r(53),i=r(615).Buffer,o=r(616),a=r(618);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){o.call(this,"der",t)}function u(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},n(c,o),c.prototype._encodeComposite=function(t,e,r,n){var o=function(t,e,r,n){var i;"seqof"===t?t="seq":"setof"===t&&(t="set");if(a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!==typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);i=t}if(i>=31)return n.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[r||"universal"]<<6}(t,e,r,this.reporter);if(n.length<128){var s=i.alloc(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var c=1,u=n.length;u>=256;u>>=8)c++;var l=i.alloc(2+c);l[0]=o,l[1]=128|c;for(var f=1+c,h=n.length;h>0;f--,h>>=8)l[f]=255&h;return this._createEncoderBuffer([l,n])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=i.alloc(2*t.length),n=0;n<t.length;n++)r.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},c.prototype._encodeObjid=function(t,e,r){if("string"===typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t)){t=t.slice();for(var o=0;o<t.length;o++)t[o]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,s=0;s<t.length;s++){var c=t[s];for(a++;c>=128;c>>=7)a++}for(var u=i.alloc(a),l=u.length-1,f=t.length-1;f>=0;f--){var h=t[f];for(u[l--]=127&h;(h>>=7)>0;)u[l--]=128|127&h}return this._createEncoderBuffer(u)},c.prototype._encodeTime=function(t,e){var r,n=new Date(t);return"gentime"===e?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"===typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!==typeof t&&!i.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=i.from(r)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var o=i.alloc(n);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var a=1,s=t;s>=256;s>>=8)a++;for(var c=new Array(a),u=c.length-1;u>=0;u--)c[u]=255&t,t>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(i.from(c))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},function(t,e,r){"use strict";var n=e;n.der=r(756),n.pem=r(1110)},function(t,e,r){"use strict";var n=r(53),i=r(752),o=r(397).DecoderBuffer,a=r(616),s=r(618);function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){a.call(this,"der",t)}function l(t,e){var r=t.readUInt8(e);if(t.isError(r))return r;var n=s.tagClass[r>>6],i=0===(32&r);if(31===(31&r)){var o=r;for(r=0;128===(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function f(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0===(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=t.readUInt8(r);if(t.isError(a))return a;n|=a}return n}t.exports=c,c.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},n(u,a),u.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;var n=t.save(),i=l(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(n),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||r)},u.prototype._decodeTag=function(t,e,r){var n=l(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;var i=f(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},u.prototype._skipUntilEnd=function(t,e){for(;;){var r=l(t,e);if(t.isError(r))return r;var n=f(t,r.primitive,e);if(t.isError(n))return n;var i=void 0;if(i=r.primitive||null!==n?t.skip(n):this._skipUntilEnd(t,e),t.isError(i))return i;if("end"===r.tagStr)break}},u.prototype._decodeList=function(t,e,r,n){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=r.decode(t,"der",n);if(t.isError(a)&&o)break;i.push(a)}return i},u.prototype._decodeStr=function(t,e){if("bitstr"===e){var r=t.readUInt8();return t.isError(r)?r:{unused:r,data:t.raw()}}if("bmpstr"===e){var n=t.raw();if(n.length%2===1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===e){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var s=t.raw().toString("ascii");return this._isPrintstr(s)?s:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},u.prototype._decodeObjid=function(t,e,r){for(var n,i=[],o=0,a=0;!t.isEmpty();)o<<=7,o|=127&(a=t.readUInt8()),0===(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var s=i[0]/40|0,c=i[0]%40;if(n=r?i:[s,c].concat(i.slice(1)),e){var u=e[n.join(" ")];void 0===u&&(u=e[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(t,e){var r,n,i,o,a,s,c=t.raw().toString();if("gentime"===e)r=0|c.slice(0,4),n=0|c.slice(4,6),i=0|c.slice(6,8),o=0|c.slice(8,10),a=0|c.slice(10,12),s=0|c.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|c.slice(0,2),n=0|c.slice(2,4),i=0|c.slice(4,6),o=0|c.slice(6,8),a=0|c.slice(8,10),s=0|c.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,n-1,i,o,a,s,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},u.prototype._decodeInt=function(t,e){var r=t.raw(),n=new i(r);return e&&(n=e[n.toString(10)]||n),n},u.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getDecoder("der").tree}},function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(t,e,r){var n=r(394),i=r(71).Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var r,a=i.alloc(0),s=0;a.length<e;)r=o(s++),a=i.concat([a,n("sha1").update(t).update(r).digest()]);return a.slice(0,e)}},function(t,e){t.exports=function(t,e){for(var r=t.length,n=-1;++n<r;)t[n]^=e[n];return t}},function(t,e,r){var n=r(619),i=r(71).Buffer;t.exports=function(t,e){return i.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},function(t,e,r){var n=r(121).Buffer;t.exports=function(t){return"string"===typeof t?t:"number"===typeof t||n.isBuffer(t)?t.toString():JSON.stringify(t)}},function(t,e,r){var n=r(480),i=function(t,e){n.call(this,t),this.name="NotBeforeError",this.date=e};(i.prototype=Object.create(n.prototype)).constructor=i,t.exports=i},function(t,e,r){var n=r(480),i=function(t,e){n.call(this,t),this.name="TokenExpiredError",this.expiredAt=e};(i.prototype=Object.create(n.prototype)).constructor=i,t.exports=i},function(t,e,r){var n=r(1129);t.exports=function(t,e){var r=e||Math.floor(Date.now()/1e3);if("string"===typeof t){var i=n(t);if("undefined"===typeof i)return;return Math.floor(r+i/1e3)}return"number"===typeof t?r+t:void 0}},function(t,e,r){(function(e){var n=r(1130);t.exports=n.satisfies(e.version,"^6.12.0 || >=8.0.0")}).call(this,r(112))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){return o.default[t.type](t,e,r)};var n,i=r(1141),o=(n=i)&&n.__esModule?n:{default:n}},function(t,e,r){var n=r(768),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function l(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(53)(l,r(265).EventEmitter),l.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},l.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},l.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in o)for(var e;(e=this._stack[this._stack.length-1])in o[t];this.onclosetag(e));!this._options.xmlMode&&t in a||(this._stack.push(t),t in s?this._foreignContext.push(!0):t in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},l.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},l.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in s||t in c)&&this._foreignContext.pop(),!this._stack.length||t in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},l.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},l.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},l.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},l.prototype.onattribdata=function(t){this._attribvalue+=t},l.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},l.prototype._getInstructionName=function(t){var e=t.search(u),r=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},l.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},l.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},l.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},l.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},l.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},l.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},l.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},l.prototype.parseComplete=function(t){this.reset(),this.end(t)},l.prototype.write=function(t){this._tokenizer.write(t)},l.prototype.end=function(t){this._tokenizer.end(t)},l.prototype.pause=function(){this._tokenizer.pause()},l.prototype.resume=function(){this._tokenizer.resume()},l.prototype.parseChunk=l.prototype.write,l.prototype.done=l.prototype.end,t.exports=l},function(t,e,r){t.exports=bt;var n=r(1142),i=r(1144),o=r(1145),a=r(1146),s=0,c=s++,u=s++,l=s++,f=s++,h=s++,d=s++,p=s++,m=s++,b=s++,v=s++,g=s++,y=s++,w=s++,x=s++,O=s++,_=s++,S=s++,k=s++,E=s++,M=s++,C=s++,j=s++,A=s++,T=s++,P=s++,D=s++,R=s++,L=s++,I=s++,N=s++,F=s++,B=s++,z=s++,H=s++,U=s++,W=s++,q=s++,V=s++,G=s++,Y=s++,X=s++,$=s++,K=s++,Z=s++,J=s++,Q=s++,tt=s++,et=s++,rt=s++,nt=s++,it=s++,ot=s++,at=s++,st=s++,ct=s++,ut=0,lt=ut++,ft=ut++,ht=ut++;function dt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function pt(t,e,r){var n=t.toLowerCase();return t===n?function(t){t===n?this._state=e:(this._state=r,this._index--)}:function(i){i===n||i===t?this._state=e:(this._state=r,this._index--)}}function mt(t,e){var r=t.toLowerCase();return function(n){n===r||n===t?this._state=e:(this._state=l,this._index--)}}function bt(t,e){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=lt,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}bt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===lt&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=it,this._sectionStart=this._index)},bt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=h:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==lt||dt(t)?this._state=c:"!"===t?(this._state=O,this._sectionStart=this._index+1):"?"===t?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?l:F,this._sectionStart=this._index)},bt.prototype._stateInTagName=function(t){("/"===t||">"===t||dt(t))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},bt.prototype._stateBeforeCloseingTagName=function(t){dt(t)||(">"===t?this._state=c:this._special!==lt?"s"===t||"S"===t?this._state=B:(this._state=c,this._index--):(this._state=d,this._sectionStart=this._index))},bt.prototype._stateInCloseingTagName=function(t){(">"===t||dt(t))&&(this._emitToken("onclosetag"),this._state=p,this._index--)},bt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===t?this._state=f:dt(t)||(this._state=b,this._sectionStart=this._index)},bt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):dt(t)||(this._state=m,this._index--)},bt.prototype._stateInAttributeName=function(t){("="===t||"/"===t||">"===t||dt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=v,this._index--)},bt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=g:"/"===t||">"===t?(this._cbs.onattribend(),this._state=m,this._index--):dt(t)||(this._cbs.onattribend(),this._state=b,this._sectionStart=this._index)},bt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=y,this._sectionStart=this._index+1):"'"===t?(this._state=w,this._sectionStart=this._index+1):dt(t)||(this._state=x,this._sectionStart=this._index,this._index--)},bt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueNoQuotes=function(t){dt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},bt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?j:"-"===t?k:_},bt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=E,this._sectionStart=this._index+1):this._state=_},bt.prototype._stateInComment=function(t){"-"===t&&(this._state=M)},bt.prototype._stateAfterComment1=function(t){this._state="-"===t?C:E},bt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==t&&(this._state=E)},bt.prototype._stateBeforeCdata1=pt("C",A,_),bt.prototype._stateBeforeCdata2=pt("D",T,_),bt.prototype._stateBeforeCdata3=pt("A",P,_),bt.prototype._stateBeforeCdata4=pt("T",D,_),bt.prototype._stateBeforeCdata5=pt("A",R,_),bt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=L,this._sectionStart=this._index+1):(this._state=_,this._index--)},bt.prototype._stateInCdata=function(t){"]"===t&&(this._state=I)},bt.prototype._stateAfterCdata1=function(t){this._state="]"===t?N:L},bt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==t&&(this._state=L)},bt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=z:"t"===t||"T"===t?this._state=K:(this._state=l,this._index--)},bt.prototype._stateBeforeSpecialEnd=function(t){this._special!==ft||"c"!==t&&"C"!==t?this._special!==ht||"t"!==t&&"T"!==t?this._state=c:this._state=tt:this._state=V},bt.prototype._stateBeforeScript1=mt("R",H),bt.prototype._stateBeforeScript2=mt("I",U),bt.prototype._stateBeforeScript3=mt("P",W),bt.prototype._stateBeforeScript4=mt("T",q),bt.prototype._stateBeforeScript5=function(t){("/"===t||">"===t||dt(t))&&(this._special=ft),this._state=l,this._index--},bt.prototype._stateAfterScript1=pt("R",G,c),bt.prototype._stateAfterScript2=pt("I",Y,c),bt.prototype._stateAfterScript3=pt("P",X,c),bt.prototype._stateAfterScript4=pt("T",$,c),bt.prototype._stateAfterScript5=function(t){">"===t||dt(t)?(this._special=lt,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=c},bt.prototype._stateBeforeStyle1=mt("Y",Z),bt.prototype._stateBeforeStyle2=mt("L",J),bt.prototype._stateBeforeStyle3=mt("E",Q),bt.prototype._stateBeforeStyle4=function(t){("/"===t||">"===t||dt(t))&&(this._special=ht),this._state=l,this._index--},bt.prototype._stateAfterStyle1=pt("Y",et,c),bt.prototype._stateAfterStyle2=pt("L",rt,c),bt.prototype._stateAfterStyle3=pt("E",nt,c),bt.prototype._stateAfterStyle4=function(t){">"===t||dt(t)?(this._special=lt,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=c},bt.prototype._stateBeforeEntity=pt("#",ot,at),bt.prototype._stateBeforeNumericEntity=pt("X",ct,st),bt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?a:i;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},bt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){var r=this._buffer.substr(t,e);if(o.hasOwnProperty(r))return this._emitPartial(o[r]),void(this._sectionStart+=e+1);e--}},bt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},bt.prototype._decodeNumericEntity=function(t,e){var r=this._sectionStart+t;if(r!==this._index){var i=this._buffer.substring(r,this._index),o=parseInt(i,e);this._emitPartial(n(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},bt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},bt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},bt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},bt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},bt.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===c?this._stateText(t):this._state===u?this._stateBeforeTagName(t):this._state===l?this._stateInTagName(t):this._state===h?this._stateBeforeCloseingTagName(t):this._state===d?this._stateInCloseingTagName(t):this._state===p?this._stateAfterCloseingTagName(t):this._state===f?this._stateInSelfClosingTag(t):this._state===m?this._stateBeforeAttributeName(t):this._state===b?this._stateInAttributeName(t):this._state===v?this._stateAfterAttributeName(t):this._state===g?this._stateBeforeAttributeValue(t):this._state===y?this._stateInAttributeValueDoubleQuotes(t):this._state===w?this._stateInAttributeValueSingleQuotes(t):this._state===x?this._stateInAttributeValueNoQuotes(t):this._state===O?this._stateBeforeDeclaration(t):this._state===_?this._stateInDeclaration(t):this._state===S?this._stateInProcessingInstruction(t):this._state===k?this._stateBeforeComment(t):this._state===E?this._stateInComment(t):this._state===M?this._stateAfterComment1(t):this._state===C?this._stateAfterComment2(t):this._state===j?this._stateBeforeCdata1(t):this._state===A?this._stateBeforeCdata2(t):this._state===T?this._stateBeforeCdata3(t):this._state===P?this._stateBeforeCdata4(t):this._state===D?this._stateBeforeCdata5(t):this._state===R?this._stateBeforeCdata6(t):this._state===L?this._stateInCdata(t):this._state===I?this._stateAfterCdata1(t):this._state===N?this._stateAfterCdata2(t):this._state===F?this._stateBeforeSpecial(t):this._state===B?this._stateBeforeSpecialEnd(t):this._state===z?this._stateBeforeScript1(t):this._state===H?this._stateBeforeScript2(t):this._state===U?this._stateBeforeScript3(t):this._state===W?this._stateBeforeScript4(t):this._state===q?this._stateBeforeScript5(t):this._state===V?this._stateAfterScript1(t):this._state===G?this._stateAfterScript2(t):this._state===Y?this._stateAfterScript3(t):this._state===X?this._stateAfterScript4(t):this._state===$?this._stateAfterScript5(t):this._state===K?this._stateBeforeStyle1(t):this._state===Z?this._stateBeforeStyle2(t):this._state===J?this._stateBeforeStyle3(t):this._state===Q?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===rt?this._stateAfterStyle3(t):this._state===nt?this._stateAfterStyle4(t):this._state===it?this._stateBeforeEntity(t):this._state===ot?this._stateBeforeNumericEntity(t):this._state===at?this._stateInNamedEntity(t):this._state===st?this._stateInNumericEntity(t):this._state===ct?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},bt.prototype.pause=function(){this._running=!1},bt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},bt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},bt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},bt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===L||this._state===I||this._state===N?this._cbs.oncdata(t):this._state===E||this._state===M||this._state===C?this._cbs.oncomment(t):this._state!==at||this._xmlMode?this._state!==st||this._xmlMode?this._state!==ct||this._xmlMode?this._state!==l&&this._state!==m&&this._state!==g&&this._state!==v&&this._state!==b&&this._state!==w&&this._state!==y&&this._state!==x&&this._state!==d&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},bt.prototype.reset=function(){bt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},bt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},bt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},bt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},bt.prototype._emitPartial=function(t){this._baseState!==c?this._cbs.onattribdata(t):this._cbs.ontext(t)}},function(t,e,r){var n=r(398),i=/\s+/g,o=r(770),a=r(1147);function s(t,e,r){"object"===typeof t?(r=e,e=t,t=null):"function"===typeof e&&(r=e,e=c),this._callback=t,this._options=e||c,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(t){this._parser=t},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(t){if("function"===typeof this._callback)this._callback(t,this.dom);else if(t)throw t},s.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},s.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var r in e="tag"===t.type?Object.create(a):Object.create(o),t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},s.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],r=e?e.children:this.dom,n=r[r.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),n?(t.prev=n,n.next=t):t.prev=null,r.push(t),t.parent=e||null},s.prototype.onopentag=function(t,e){var r={type:"script"===t?n.Script:"style"===t?n.Style:n.Tag,name:t,attribs:e,children:[]},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(t){var e,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===n.Text)r?e.data=(e.data+t).replace(i," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===n.Text)r?e.data=(e.data+t).replace(i," "):e.data+=t;else{r&&(t=t.replace(i," "));var o=this._createDomElement({data:t,type:n.Text});this._addDomElement(o)}},s.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===n.Comment)e.data+=t;else{var r={data:t,type:n.Comment},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var t={children:[{data:"",type:n.Text}],type:n.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(t,e){var r=this._createDomElement({name:t,data:e,type:n.Directive});this._addDomElement(r)},t.exports=s},function(t,e){var r=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return i[this.type]||i.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(t){var e=n[t];Object.defineProperty(r,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=t.exports;[r(1149),r(1157),r(1158),r(1159),r(1160),r(1161)].forEach((function(t){Object.keys(t).forEach((function(e){n[e]=t[e].bind(n)}))}))},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var i=n(r(773)),o=n(r(1153)),a=n(r(774)),s=n(r(1154)),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(t){var e=f(t);return function(t){return String(t).replace(c,e)}}e.decodeXML=u(a.default),e.decodeHTMLStrict=u(i.default);var l=function(t,e){return t<e?1:-1};function f(t){return function(e){if("#"===e.charAt(1)){var r=e.charAt(2);return"X"===r||"x"===r?s.default(parseInt(e.substr(3),16)):s.default(parseInt(e.substr(2),10))}return t[e.slice(1,-1)]||e}}e.decodeHTML=function(){for(var t=Object.keys(o.default).sort(l),e=Object.keys(i.default).sort(l),r=0,n=0;r<e.length;r++)t[n]===e[r]?(e[r]+=";?",n++):e[r]+=";";var a=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=f(i.default);function c(t){return";"!==t.substr(-1)&&(t+=";"),s(t)}return function(t){return String(t).replace(a,c)}}()},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var i=l(n(r(774)).default),o=f(i);e.encodeXML=b(i);var a,s,c=l(n(r(773)).default),u=f(c);function l(t){return Object.keys(t).sort().reduce((function(e,r){return e[t[r]]="&"+r+";",e}),{})}function f(t){for(var e=[],r=[],n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];1===o.length?e.push("\\"+o):r.push(o)}e.sort();for(var a=0;a<e.length-1;a++){for(var s=a;s<e.length-1&&e[s].charCodeAt(1)+1===e[s+1].charCodeAt(1);)s+=1;var c=1+s-a;c<3||e.splice(a,c,e[a]+"-"+e[s])}return r.unshift("["+e.join("")+"]"),new RegExp(r.join("|"),"g")}e.encodeHTML=(a=c,s=u,function(t){return t.replace(s,(function(t){return a[t]})).replace(h,p)}),e.encodeNonAsciiHTML=b(c);var h=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(t){return t.codePointAt(0)}:function(t){return 1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536};function p(t){return"&#x"+(t.length>1?d(t):t.charCodeAt(0)).toString(16).toUpperCase()+";"}var m=new RegExp(o.source+"|"+h.source,"g");function b(t){return function(e){return e.replace(m,(function(e){return t[e]||p(e)}))}}e.escape=function(t){return t.replace(m,p)},e.escapeUTF8=function(t){return t.replace(o,p)}},function(t,e,r){t.exports=s;var n=r(767),i=r(1163).Writable,o=r(266).StringDecoder,a=r(121).Buffer;function s(t,e){var r=this._parser=new n(t,e),a=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(53)(s,i),s.prototype._write=function(t,e,r){t instanceof a&&(t=this._decoder.write(t)),this._parser.write(t),r()}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=function(t,e){var r=n({},(0,i.default)(t),{key:e});"string"===typeof r.style||r.style instanceof String?r.style=(0,o.default)(r.style):delete r.style;return r};var i=a(r(1168)),o=a(r(1171));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){i.hasOwnProperty(t)||(i[t]=n.test(t));return i[t]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,i={}},function(t,e){function r(){return t.exports=r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,r.apply(this,arguments)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(12),i=r.n(n),o=r(29),a=i.a.mark(s);function s(t){var e,r,n;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:e=Object(o.a)(t),i.prev=1,e.s();case 3:if((r=e.n()).done){i.next=8;break}return n=r.value,i.delegateYield(n,"t0",6);case 6:i.next=3;break;case 8:i.next=13;break;case 10:i.prev=10,i.t1=i.catch(1),e.e(i.t1);case 13:return i.prev=13,e.f(),i.finish(13);case 16:case"end":return i.stop()}}),a,null,[[1,10,13,16]])}function c(t){return Array.from(s(t))}},function(t,e,r){"use strict";e.a=function(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}},function(t,e,r){"use strict";function n(t){return((t=Math.exp(t))+1/t)/2}e.a=function t(e,r,i){function o(t,o){var a,s,c=t[0],u=t[1],l=t[2],f=o[0],h=o[1],d=o[2],p=f-c,m=h-u,b=p*p+m*m;if(b<1e-12)s=Math.log(d/l)/e,a=function(t){return[c+t*p,u+t*m,l*Math.exp(e*t*s)]};else{var v=Math.sqrt(b),g=(d*d-l*l+i*b)/(2*l*r*v),y=(d*d-l*l-i*b)/(2*d*r*v),w=Math.log(Math.sqrt(g*g+1)-g),x=Math.log(Math.sqrt(y*y+1)-y);s=(x-w)/e,a=function(t){var i,o=t*s,a=n(w),f=l/(r*v)*(a*(i=e*o+w,((i=Math.exp(2*i))-1)/(i+1))-function(t){return((t=Math.exp(t))-1/t)/2}(w));return[c+f*p,u+f*m,l*a/n(e*o+w)]}}return a.duration=1e3*s*e/Math.SQRT2,a}return o.rho=function(e){var r=Math.max(.001,+e),n=r*r;return t(r,n,n*n)},o}(Math.SQRT2,2,4)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(274);function i(t,e){void 0===e&&(e=t,t=n.a);for(var r=0,i=e.length-1,o=e[0],a=new Array(i<0?0:i);r<i;)a[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(i-1,Math.floor(t*=i)));return a[e](t-e)}}},function(t,e,r){"use strict";var n=r(29),i=r(224),o=r(59),a=r(205),s=r(204);function c(t,e){return t[e]}function u(t){var e=[];return e.key=t,e}e.a=function(){var t=Object(o.a)([]),e=s.a,r=a.a,l=c;function f(o){var a,s,c,f=Array.from(t.apply(this,arguments),u),h=f.length,d=-1,p=Object(n.a)(o);try{for(p.s();!(c=p.n()).done;){var m=c.value;for(a=0,++d;a<h;++a)(f[a][d]=[0,+l(m,f[a].key,d,o)]).data=m}}catch(b){p.e(b)}finally{p.f()}for(a=0,s=Object(i.a)(e(f));a<h;++a)f[s[a]].index=a;return r(f,s),f}return f.keys=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(Array.from(e)),f):t},f.value=function(t){return arguments.length?(l="function"===typeof t?t:Object(o.a)(+t),f):l},f.order=function(t){return arguments.length?(e=null==t?s.a:"function"===typeof t?t:Object(o.a)(Array.from(t)),f):e},f.offset=function(t){return arguments.length?(r=null==t?a.a:t,f):r},f}},function(t,e,r){"use strict";var n=r(205);e.a=function(t,e){if((i=t.length)>0){for(var r,i,o,a=0,s=t[0].length;a<s;++a){for(o=r=0;r<i;++r)o+=t[r][a][1]||0;if(o)for(r=0;r<i;++r)t[r][a][1]/=o}Object(n.a)(t,e)}}},function(t,e,r){"use strict";var n=r(205);e.a=function(t,e){if((r=t.length)>0){for(var r,i=0,o=t[e[0]],a=o.length;i<a;++i){for(var s=0,c=0;s<r;++s)c+=t[s][i][1]||0;o[i][1]+=o[i][0]=-c/2}Object(n.a)(t,e)}}},function(t,e,r){"use strict";var n=r(205);e.a=function(t,e){if((o=t.length)>0&&(i=(r=t[e[0]]).length)>0){for(var r,i,o,a=0,s=1;s<i;++s){for(var c=0,u=0,l=0;c<o;++c){for(var f=t[e[c]],h=f[s][1]||0,d=(h-(f[s-1][1]||0))/2,p=0;p<c;++p){var m=t[e[p]];d+=(m[s][1]||0)-(m[s-1][1]||0)}u+=h,l+=d*h}r[s-1][1]+=r[s-1][0]=a,u&&(a-=l/u)}r[s-1][1]+=r[s-1][0]=a,Object(n.a)(t,e)}}},function(t,e,r){"use strict";r.r(e);var n=r(549),i=r(293),o=r(550),a=r(167),s=r(361),c=r(360),u=r(279),l=r(551),f=Object.prototype.hasOwnProperty;e.default=function(t){if(null==t)return!0;if(Object(s.a)(t)&&(Object(a.default)(t)||"string"==typeof t||"function"==typeof t.splice||Object(c.a)(t)||Object(l.a)(t)||Object(o.a)(t)))return!t.length;var e=Object(i.a)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Object(u.a)(t))return!Object(n.a)(t).length;for(var r in t)if(f.call(t,r))return!1;return!0}},function(t,e){t.exports=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}},function(t,e,r){"use strict";var n=function(){};t.exports=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={RESISTANCE_COEF:.6,UNCERTAINTY_THRESHOLD:3}},,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SearchIcon=void 0;var n,i=s(r(0)),o=s(r(10)),a=s(r(403));function s(t){return t&&t.__esModule?t:{default:t}}var c=function(t){return t.showIcon?i.default.createElement(f,{className:"search-icon",width:20,height:20,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})):null};e.SearchIcon=c;var u,l,f=a.default.svg(n||(u=["\n  flex-shrink: 0;\n  margin: ",";\n  fill: ",";\n"],l||(l=u.slice(0)),n=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(l)}}))),(function(t){return t.theme.searchIconMargin}),(function(t){return t.theme.iconColor}));c.propTypes={showIcon:o.default.bool}},,function(t,e){t.exports=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},function(t,e,r){var n=r(800);t.exports=function(t){return t?(t=n(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}},function(t,e,r){var n=r(1256),i=r(150),o=r(344),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=s.test(t);return r||c.test(t)?u(t.slice(2),r?2:8):a.test(t)?NaN:+t}},function(t,e,r){var n=r(699),i=r(1260);t.exports=function t(e,r,o,a,s){var c=-1,u=e.length;for(o||(o=i),s||(s=[]);++c<u;){var l=e[c];r>0&&o(l)?r>1?t(l,r-1,o,a,s):n(s,l):a||(s[s.length]=l)}return s}},function(t,e,r){var n=r(629),i=r(392);t.exports=function(t,e){var r=-1,o=i(t)?Array(t.length):[];return n(t,(function(t,n,i){o[++r]=e(t,n,i)})),o}},function(t,e,r){var n=r(344);t.exports=function(t,e,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=e(a);if(null!=s&&(void 0===c?s===s&&!n(s):r(s,c)))var c=s,u=a}return u}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flip=u;var n,i=r(1292),o=(n=i)&&n.__esModule?n:{default:n};function a(t,e){return"MathExpression"===t.type?function(t,e){switch((t=function(t,e){var r=(0,o.default)(t.left,t.right,e),n=a(r.left,e),i=a(r.right,e);"MathExpression"===n.type&&"MathExpression"===i.type&&("/"===n.operator&&"*"===i.operator||"-"===n.operator&&"+"===i.operator||"*"===n.operator&&"/"===i.operator||"+"===n.operator&&"-"===i.operator)&&(s(n.right,i.right)?r=(0,o.default)(n.left,i.left,e):s(n.right,i.left)&&(r=(0,o.default)(n.left,i.right,e)),n=a(r.left,e),i=a(r.right,e));return t.left=n,t.right=i,t}(t,e)).operator){case"+":case"-":return function(t,e){var r=t,n=r.left,i=r.right,o=r.operator;if("CssVariable"===n.type||"CssVariable"===i.type)return t;if(0===i.value)return n;if(0===n.value&&"+"===o)return i;if(0===n.value&&"-"===o)return function t(e){c(e.type)?e.value=-e.value:"MathExpression"==e.type&&(e.left=t(e.left),e.right=t(e.right));return e}(i);n.type===i.type&&c(n.type)&&((t=Object.assign({},n)).value="+"===o?n.value+i.value:n.value-i.value);if(c(n.type)&&("+"===i.operator||"-"===i.operator)&&"MathExpression"===i.type){if(n.type===i.left.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:o,left:n,right:i.left},e),t.right=i.right,t.operator="-"===o?u(i.operator):i.operator,a(t,e);if(n.type===i.right.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:"-"===o?u(i.operator):i.operator,left:n,right:i.right},e),t.right=i.left,a(t,e)}if("MathExpression"===n.type&&("+"===n.operator||"-"===n.operator)&&c(i.type)){if(i.type===n.left.type)return(t=Object.assign({},n)).left=a({type:"MathExpression",operator:o,left:n.left,right:i},e),a(t,e);if(i.type===n.right.type)return t=Object.assign({},n),"-"===n.operator?(t.right=a({type:"MathExpression",operator:"-"===o?"+":"-",left:i,right:n.right},e),t.operator="-"===o?"-":"+"):t.right=a({type:"MathExpression",operator:o,left:n.right,right:i},e),t.right.value<0&&(t.right.value*=-1,t.operator="-"===t.operator?"+":"-"),a(t,e)}return t}(t,e);case"/":return function(t,e){if(!c(t.right.type))return t;if("Value"!==t.right.type)throw new Error('Cannot divide by "'+t.right.unit+'", number expected');if(0===t.right.value)throw new Error("Cannot divide by zero");if("MathExpression"===t.left.type)return c(t.left.left.type)&&c(t.left.right.type)?(t.left.left.value/=t.right.value,t.left.right.value/=t.right.value,a(t.left,e)):t;if(c(t.left.type))return t.left.value/=t.right.value,t.left;return t}(t,e);case"*":return function(t){if("MathExpression"===t.left.type&&"Value"===t.right.type){if(c(t.left.left.type)&&c(t.left.right.type))return t.left.left.value*=t.right.value,t.left.right.value*=t.right.value,t.left}else{if(c(t.left.type)&&"Value"===t.right.type)return t.left.value*=t.right.value,t.left;if("Value"===t.left.type&&"MathExpression"===t.right.type){if(c(t.right.left.type)&&c(t.right.right.type))return t.right.left.value*=t.left.value,t.right.right.value*=t.left.value,t.right}else if("Value"===t.left.type&&c(t.right.type))return t.right.value*=t.left.value,t.right}return t}(t)}return t}(t,e):"Calc"===t.type?a(t.value,e):t}function s(t,e){return t.type===e.type&&t.value===e.value}function c(t){switch(t){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function u(t){return"+"===t?"-":"+"}e.default=a},function(t,e,r){"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}(r(10)),i=s(r(0)),o=s(r(76)),a=r(806);r(807);function s(t){return t&&t.__esModule?t:{default:t}}e.UNMOUNTED="unmounted";e.EXITED="exited";e.ENTERING="entering";e.ENTERED="entered";e.EXITING="exiting";var c=function(t){var e,r;function n(e,r){var n;n=t.call(this,e,r)||this;var i,o=r.transitionGroup,a=o&&!o.isMounting?e.enter:e.appear;return n.appearStatus=null,e.in?a?(i="exited",n.appearStatus="entering"):i="entered":i=e.unmountOnExit||e.mountOnEnter?"unmounted":"exited",n.state={status:i},n.nextCallback=null,n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(t,e){return t.in&&"unmounted"===e.status?{status:"exited"}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?"entering"!==r&&"entered"!==r&&(e="entering"):"entering"!==r&&"entered"!==r||(e="exiting")}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!==typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var r=o.default.findDOMNode(this);"entering"===e?this.performEnter(r,t):this.performExit(r)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},a.performEnter=function(t,e){var r=this,n=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,o=this.getTimeouts(),a=i?o.appear:o.enter;e||n?(this.props.onEnter(t,i),this.safeSetState({status:"entering"},(function(){r.props.onEntering(t,i),r.onTransitionEnd(t,a,(function(){r.safeSetState({status:"entered"},(function(){r.props.onEntered(t,i)}))}))}))):this.safeSetState({status:"entered"},(function(){r.props.onEntered(t)}))},a.performExit=function(t){var e=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(t),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(t),e.onTransitionEnd(t,n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(t)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(t)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},a.onTransitionEnd=function(t,e,r){this.setNextCallback(r);var n=null==e&&!this.props.addEndListener;t&&!n?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if("unmounted"===t)return null;var e=this.props,r=e.children,n=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(e,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"===typeof r)return r(t,n);var o=i.default.Children.only(r);return i.default.cloneElement(o,n)},n}(i.default.Component);function u(){}c.contextTypes={transitionGroup:n.object},c.childContextTypes={transitionGroup:function(){}},c.propTypes={},c.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:u,onEntering:u,onEntered:u,onExit:u,onExiting:u,onExited:u},c.UNMOUNTED=0,c.EXITED=1,c.ENTERING=2,c.ENTERED=3,c.EXITING=4;var l=(0,a.polyfill)(c);e.default=l},function(t,e,r){"use strict";function n(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function i(t){this.setState(function(e){var r=this.constructor.getDerivedStateFromProps(t,e);return null!==r&&void 0!==r?r:null}.bind(this))}function o(t,e){try{var r=this.props,n=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate)return t;var r=null,a=null,s=null;if("function"===typeof e.componentWillMount?r="componentWillMount":"function"===typeof e.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"===typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof e.componentWillUpdate?s="componentWillUpdate":"function"===typeof e.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==s){var c=t.displayName||t.name,u="function"===typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==r?"\n  "+r:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof t.getDerivedStateFromProps&&(e.componentWillMount=n,e.componentWillReceiveProps=i),"function"===typeof e.getSnapshotBeforeUpdate){if("function"!==typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=o;var l=e.componentDidUpdate;e.componentDidUpdate=function(t,e,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;l.call(this,t,e,n)}}return t}r.r(e),r.d(e,"polyfill",(function(){return a})),n.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(t,e,r){"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0;var n;(n=r(10))&&n.__esModule;e.timeoutsShape=null;e.classNamesShape=null},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n=s(r(10)),i=s(r(0)),o=r(806),a=r(1301);function s(t){return t&&t.__esModule?t:{default:t}}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var l=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},f=function(t){var e,r;function n(e,r){var n,i=(n=t.call(this,e,r)||this).handleExited.bind(u(u(n)));return n.state={handleExited:i,firstRender:!0},n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var o=n.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,e){var r=e.children,n=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,n):(0,a.getNextChildMapping)(t,r,n),firstRender:!1}},o.handleExited=function(t,e){var r=(0,a.getChildMapping)(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var r=c({},e.children);return delete r[t.key],{children:r}})))},o.render=function(){var t=this.props,e=t.component,r=t.childFactory,n=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,["component","childFactory"]),o=l(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===e?o:i.default.createElement(e,n,o)},n}(i.default.Component);f.childContextTypes={transitionGroup:n.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}};var h=(0,o.polyfill)(f);e.default=h,t.exports=e.default},,,,,function(t,e,r){"use strict";function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,"a",(function(){return o}));var i=r(319);function o(t,e){return!e||"object"!==n(e)&&"function"!==typeof e?Object(i.a)(t):e}},function(t,e,r){"use strict";e.a=function(){return!1}},function(t,e,r){"use strict";(function(t){var n=r(136),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}}).call(this,r(466)(t))},function(t,e,r){var n=r(1015),i=r(703)((function(t,e,r){return e=e.toLowerCase(),t+(r?n(e):e)}));t.exports=i},function(t,e,r){var n=r(689),i=r(591),o=r(245);t.exports=function(t,e){var r={};return e=o(e,3),i(t,(function(t,i,o){n(r,e(t,i,o),t)})),r}},function(t,e){function r(t,e){var r=t.length,n=new Array(r),i={},o=r,a=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++){var i=t[r];e.has(i[0])||e.set(i[0],new Set),e.has(i[1])||e.set(i[1],new Set),e.get(i[0]).add(i[1])}return e}(e),s=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}(t);for(e.forEach((function(t){if(!s.has(t[0])||!s.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)i[o]||c(t[o],o,new Set);return n;function c(t,e,o){if(o.has(t)){var u;try{u=", node was:"+JSON.stringify(t)}catch(h){u=""}throw new Error("Cyclic dependency"+u)}if(!s.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[e]){i[e]=!0;var l=a.get(t)||new Set;if(e=(l=Array.from(l)).length){o.add(t);do{var f=l[--e];c(f,s.get(f),o)}while(e);o.delete(t)}n[--r]=t}}}t.exports=function(t){return r(function(t){for(var e=new Set,r=0,n=t.length;r<n;r++){var i=t[r];e.add(i[0]),e.add(i[1])}return Array.from(e)}(t),t)},t.exports.array=r},function(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,"a",(function(){return n}))},,,function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=function(t){return t},i=function(){var t=n;return{configure:function(e){t=e},generate:function(e){return t(e)},reset:function(){t=n}}}();e.a=i},function(t,e,r){"use strict";e.a={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.default=a},function(t,e,r){"use strict";var n;e.__esModule=!0,e.default=void 0;var i=(0,((n=r(1179))&&n.__esModule?n:{default:n}).default)("local");e.default=i},function(t,e,r){"use strict";function n(t){return function(e){var r=e.dispatch,n=e.getState;return function(e){return function(i){return"function"===typeof i?i(r,n,t):e(i)}}}}var i=n();i.withExtraArgument=n,e.a=i},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M15 8v8H5V8h10m1-2H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4V7c0-.55-.45-1-1-1z"}),"VideocamOutlined");e.default=a},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiDivider",t)}var a=Object(i.a)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);e.a=a},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiListItemIcon",t)}var a=Object(i.a)("MuiListItemIcon",["root","alignItemsFlexStart"]);e.a=a},function(t,e,r){"use strict";var n=r(158),i=r(50);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"CustomSegmentLabelPosition",{enumerable:!0,get:function(){return v.CustomSegmentLabelPosition}}),Object.defineProperty(e,"Transition",{enumerable:!0,get:function(){return v.Transition}}),e.default=void 0;var o=i(r(1183)),a=i(r(1184)),s=i(r(782)),c=i(r(1185)),u=i(r(1187)),l=i(r(1188)),f=i(r(664)),h=n(r(0)),d=i(r(10)),p=r(353),m=r(1189),b=r(1195),v=r(627);function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,l.default)(t);if(e){var i=(0,l.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,u.default)(this,r)}}var y=function(t){function e(t){var n;return(0,o.default)(this,e),n=r.call(this,t),(0,f.default)((0,s.default)(n),"render",(function(){return h.default.createElement("div",{ref:function(t){return n.gaugeDiv=t}})})),n.d3_refs={pointer:!1,current_value_text:!1},n}(0,c.default)(e,t);var r=g(e);return(0,a.default)(e,[{key:"componentDidMount",value:function(){this.renderGauge()}},{key:"componentDidUpdate",value:function(){this.props.forceRender?this.renderGauge():this.updateReadings()}},{key:"renderGauge",value:function(){this.config=(0,m.getConfig)({PROPS:this.props,parentWidth:this.gaugeDiv.parentNode.clientWidth,parentHeight:this.gaugeDiv.parentNode.clientHeight}),(0,p.select)(this.gaugeDiv).select("svg").remove(),this.d3_refs=(0,b.render)({container:this.gaugeDiv,config:this.config}),(0,b.update)({d3_refs:this.d3_refs,newValue:this.props.value,config:this.config})}},{key:"updateReadings",value:function(){this.config=(0,m.updateConfig)(this.config,{labelFormat:(0,p.format)(this.props.valueFormat||""),currentValueText:this.props.currentValueText||"${value}"}),(0,b.update)({d3_refs:this.d3_refs,newValue:this.props.value||0,config:this.config})}}]),e}(h.PureComponent);(0,f.default)(y,"displayName","ReactSpeedometer"),y.propTypes={value:d.default.number.isRequired,minValue:d.default.number.isRequired,maxValue:d.default.number.isRequired,forceRender:d.default.bool.isRequired,width:d.default.number.isRequired,height:d.default.number.isRequired,paddingHorizontal:d.default.number.isRequired,paddingVertical:d.default.number.isRequired,dimensionUnit:d.default.string.isRequired,fluidWidth:d.default.bool.isRequired,segments:d.default.number.isRequired,maxSegmentLabels:d.default.number,customSegmentStops:d.default.array,customSegmentLabels:d.default.arrayOf(d.default.shape({text:d.default.string,position:d.default.oneOf(["OUTSIDE","INSIDE"]),fontSize:d.default.string,color:d.default.string})),needleColor:d.default.string.isRequired,startColor:d.default.string.isRequired,endColor:d.default.string.isRequired,segmentColors:d.default.array.isRequired,needleTransition:d.default.string.isRequired,needleTransitionDuration:d.default.number.isRequired,needleHeightRatio:d.default.number.isRequired,ringWidth:d.default.number.isRequired,textColor:d.default.string.isRequired,valueFormat:d.default.string.isRequired,currentValueText:d.default.string.isRequired,currentValuePlaceholderStyle:d.default.string.isRequired,labelFontSize:d.default.string.isRequired,valueTextFontSize:d.default.string.isRequired,valueTextFontWeight:d.default.string.isRequired},y.defaultProps=m.DEFAULT_PROPS;var w=y;e.default=w},function(t,e,r){"use strict";(function(t){var r="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,n=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(r&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),n))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:c(s(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var l=r&&!(!window.MSInputMethodContext||!document.documentMode),f=r&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?l:10===t?f:l||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?d(r):r:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function m(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,i=r?e:t,o=document.createRange();o.setStart(n,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||n.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||d(t.firstElementChild)===t)}(a)?a:d(a);var s=p(t);return s.host?m(s.host,e):m(t,p(e).host)}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[r]}return t[r]}function v(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(e,"top"),i=b(e,"left"),o=r?-1:1;return t.top+=n*o,t.bottom+=n*o,t.left+=i*o,t.right+=i*o,t}function g(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function y(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],h(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,r=t.documentElement,n=h(10)&&getComputedStyle(r);return{height:y("Height",e,r,n),width:y("Width",e,r,n)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},O=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),_=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function k(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function E(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var r=b(t,"top"),n=b(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(d){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?w(t.ownerDocument):{},s=o.width||t.clientWidth||i.width,c=o.height||t.clientHeight||i.height,u=t.offsetWidth-s,l=t.offsetHeight-c;if(u||l){var f=a(t);u-=g(f,"x"),l-=g(f,"y"),i.width-=u,i.height-=l}return k(i)}function M(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),i="HTML"===e.nodeName,o=E(t),s=E(e),u=c(t),l=a(e),f=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);r&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=k({top:o.top-s.top-f,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!n&&i){var m=parseFloat(l.marginTop),b=parseFloat(l.marginLeft);p.top-=f-m,p.bottom-=f-m,p.left-=d-b,p.right-=d-b,p.marginTop=m,p.marginLeft=b}return(n&&!r?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(p=v(p,e)),p}function C(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=M(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),o=Math.max(r.clientHeight,window.innerHeight||0),a=e?0:b(r),s=e?0:b(r,"left"),c={top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:o};return k(c)}function j(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=s(t);return!!r&&j(r)}function A(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?A(t):m(t,u(e));if("viewport"===n)o=C(a,i);else{var l=void 0;"scrollParent"===n?"BODY"===(l=c(s(e))).nodeName&&(l=t.ownerDocument.documentElement):l="window"===n?t.ownerDocument.documentElement:n;var f=M(l,a,i);if("HTML"!==l.nodeName||j(a))o=f;else{var h=w(t.ownerDocument),d=h.height,p=h.width;o.top+=f.top-f.marginTop,o.bottom=d+f.top,o.left+=f.left-f.marginLeft,o.right=p+f.left}}var b="number"===typeof(r=r||0);return o.left+=b?r:r.left||0,o.top+=b?r:r.top||0,o.right-=b?r:r.right||0,o.bottom-=b?r:r.bottom||0,o}function P(t){return t.width*t.height}function D(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=T(r,n,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map((function(t){return S({key:t},s[t],{area:P(s[t])})})).sort((function(t,e){return e.area-t.area})),u=c.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),l=u.length>0?u[0].key:c[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function R(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=n?A(e):m(e,u(r));return M(r,i,n)}function L(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function N(t,e,r){r=r.split("-")[0];var n=L(t),i={width:n.width,height:n.height},o=-1!==["right","left"].indexOf(r),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",u=o?"width":"height";return i[a]=e[a]+e[c]/2-n[c]/2,i[s]=r===s?e[s]-n[u]:e[I(s)],i}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function B(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=F(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&o(r)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=r(e,t))})),e}function z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=N(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function H(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var i=e[n],o=i?""+i+r:t;if("undefined"!==typeof document.body.style[o])return o}return null}function W(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(t){var e=t.ownerDocument;return e?e.defaultView:window}function V(t,e,r,n){r.updateBound=n,q(t).addEventListener("resize",r.updateBound,{passive:!0});var i=c(t);return function t(e,r,n,i){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(r,n,{passive:!0}),o||t(c(a.parentNode),r,n,i),i.push(a)}(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function G(){this.state.eventsEnabled||(this.state=V(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,q(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=r&&/Firefox/i.test(navigator.userAgent);function Z(t,e,r){var n=F(t,(function(t){return t.name===e})),i=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!i){var o="`"+e+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Q=J.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Q.indexOf(t),n=Q.slice(r+1).concat(Q.slice(0,r));return e?n.reverse():n}var et="flip",rt="clockwise",nt="counterclockwise";function it(t,e,r,n){var i=[0,0],o=-1!==["right","left"].indexOf(n),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(F(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(u=u.map((function(t,n){var i=(1===n?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=r;break;case"%":case"%r":default:s=n}return k(s)[e]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}(t,i,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(i[e]+=r*("-"===t[n-1]?-1:1))}))})),i}var ot={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(r),c=s?"left":"top",u=s?"width":"height",l={start:_({},c,o[c]),end:_({},c,o[c]+o[u]-a[u])};t.offsets.popper=S({},a,l[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=n.split("-")[0],c=void 0;return c=X(+r)?[+r,0]:it(r,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||d(t.instance.popper);t.instance.reference===r&&(r=d(r));var n=U("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[n];i.top="",i.left="",i[n]="";var c=T(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=o,i.left=a,i[n]=s,e.boundaries=c;var u=e.priority,l=t.offsets.popper,f={primary:function(t){var r=l[t];return l[t]<c[t]&&!e.escapeWithReference&&(r=Math.max(l[t],c[t])),_({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=l[r];return l[t]>c[t]&&!e.escapeWithReference&&(n=Math.min(l[r],c[t]-("right"===t?l.width:l.height))),_({},r,n)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=S({},l,f[e](t))})),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return r[s]<o(n[c])&&(t.offsets.popper[c]=o(n[c])-r[u]),r[c]>o(n[s])&&(t.offsets.popper[c]=o(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Z(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"===typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,c=o.reference,u=-1!==["left","right"].indexOf(i),l=u?"height":"width",f=u?"Top":"Left",h=f.toLowerCase(),d=u?"left":"top",p=u?"bottom":"right",m=L(n)[l];c[p]-m<s[h]&&(t.offsets.popper[h]-=s[h]-(c[p]-m)),c[h]+m>s[p]&&(t.offsets.popper[h]+=c[h]+m-s[p]),t.offsets.popper=k(t.offsets.popper);var b=c[h]+c[l]/2-m/2,v=a(t.instance.popper),g=parseFloat(v["margin"+f]),y=parseFloat(v["border"+f+"Width"]),w=b-t.offsets.popper[h]-g-y;return w=Math.max(Math.min(s[l]-m,w),0),t.arrowElement=n,t.offsets.arrow=(_(r={},h,Math.round(w)),_(r,d,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=I(n),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case et:a=[n,i];break;case rt:a=tt(n);break;case nt:a=tt(n,!0);break;default:a=e.behavior}return a.forEach((function(s,c){if(n!==s||a.length===c+1)return t;n=t.placement.split("-")[0],i=I(n);var u=t.offsets.popper,l=t.offsets.reference,f=Math.floor,h="left"===n&&f(u.right)>f(l.left)||"right"===n&&f(u.left)<f(l.right)||"top"===n&&f(u.bottom)>f(l.top)||"bottom"===n&&f(u.top)<f(l.bottom),d=f(u.left)<f(r.left),p=f(u.right)>f(r.right),m=f(u.top)<f(r.top),b=f(u.bottom)>f(r.bottom),v="left"===n&&d||"right"===n&&p||"top"===n&&m||"bottom"===n&&b,g=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(g&&"start"===o&&d||g&&"end"===o&&p||!g&&"start"===o&&m||!g&&"end"===o&&b),w=!!e.flipVariationsByContent&&(g&&"start"===o&&p||g&&"end"===o&&d||!g&&"start"===o&&b||!g&&"end"===o&&m),x=y||w;(h||v||x)&&(t.flipped=!0,(h||v)&&(n=a[c+1]),x&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=n+(o?"-"+o:""),t.offsets.popper=S({},t.offsets.popper,N(t.instance.popper,t.offsets.reference,t.placement)),t=B(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,i=n.popper,o=n.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return i[a?"left":"top"]=o[r]-(s?i[a?"width":"height"]:0),t.placement=I(e),t.offsets.popper=k(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,i=t.offsets.popper,o=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=d(t.instance.popper),c=E(s),u={position:i.position},l=function(t,e){var r=t.offsets,n=r.popper,i=r.reference,o=Math.round,a=Math.floor,s=function(t){return t},c=o(i.width),u=o(n.width),l=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),h=e?l||f||c%2===u%2?o:a:s,d=e?o:s;return{left:h(c%2===1&&u%2===1&&!f&&e?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:h(n.right)}}(t,window.devicePixelRatio<2||!K),f="bottom"===r?"top":"bottom",h="right"===n?"left":"right",p=U("transform"),m=void 0,b=void 0;if(b="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-c.height+l.bottom:l.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+l.right:-c.width+l.right:l.left,a&&p)u[p]="translate3d("+m+"px, "+b+"px, 0)",u[f]=0,u[h]=0,u.willChange="transform";else{var v="bottom"===f?-1:1,g="right"===h?-1:1;u[f]=b*v,u[h]=m*g,u.willChange=f+", "+h}var y={"x-placement":t.placement};return t.attributes=S({},y,t.attributes),t.styles=S({},u,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return $(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,i){var o=R(i,e,t,r.positionFixed),a=D(r.placement,o,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",a),$(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},at=function(){function t(e,r){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){n.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(t,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return G.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),t}();at.Utils=("undefined"!==typeof window?window:t).PopperUtils,at.placements=J,at.Defaults=ot,e.a=at}).call(this,r(120))},function(t,e,r){t.exports=function(){"use strict";return function(t){function e(e){if(e)try{t(e+"}")}catch(r){}}return function(r,n,i,o,a,s,c,u,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return t(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return t(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(e)}}}}()},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"VpnKey");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"}),"Block");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Article");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}),"PictureAsPdf");e.default=a},function(t,e,r){"use strict";var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=r(0),o=r(10),a=i.createElement.bind(i,"div"),s=i.createElement.bind(i,"iframe"),c={position:"relative",height:0,overflow:"hidden",maxWidth:"100%"},u={position:"absolute",top:0,left:0,width:"100%",height:"100%"},l=function(t){var e=function(t){var e=t.split(":").map((function(t){return Number(t)})),r=n(e,2),i=r[0];return r[1]/i*100+"%"}(t.ratio),r=Object.assign({},c,{paddingBottom:e}),i=Object.assign({frameBorder:0},t,{style:u});return delete i.ratio,a({style:r},s(i))};l.defaultProps={src:"https://www.youtube.com/embed/dQw4w9WgXcQ",ratio:"16:9"},l.propTypes={src:o.string,ratio:function(t,e,r){if(!/\d+:\d+/.test(t[e]))return new Error('Invalid ratio supplied to ResponsiveEmbed. Expected a string like "16:9" or any 2 numbers seperated by a colon')}},t.exports=l},,,,function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m10 17 5-5-5-5v10z"}),"ArrowRight");e.default=a},function(t,e,r){var n;self,t.exports=(n=r(0),function(){var t={4184:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},8552:function(t,e,r){var n=r(852)(r(5639),"DataView");t.exports=n},1989:function(t,e,r){var n=r(1789),i=r(401),o=r(7667),a=r(1327),s=r(1866);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},8407:function(t,e,r){var n=r(7040),i=r(4125),o=r(2117),a=r(7518),s=r(4705);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},7071:function(t,e,r){var n=r(852)(r(5639),"Map");t.exports=n},3369:function(t,e,r){var n=r(4785),i=r(1285),o=r(6e3),a=r(9916),s=r(5265);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},3818:function(t,e,r){var n=r(852)(r(5639),"Promise");t.exports=n},8525:function(t,e,r){var n=r(852)(r(5639),"Set");t.exports=n},8668:function(t,e,r){var n=r(3369),i=r(619),o=r(2385);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},6384:function(t,e,r){var n=r(8407),i=r(7465),o=r(3779),a=r(7599),s=r(4758),c=r(4309);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,t.exports=u},2705:function(t,e,r){var n=r(5639).Symbol;t.exports=n},1149:function(t,e,r){var n=r(5639).Uint8Array;t.exports=n},577:function(t,e,r){var n=r(852)(r(5639),"WeakMap");t.exports=n},4963:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},4636:function(t,e,r){var n=r(2545),i=r(5694),o=r(1469),a=r(4144),s=r(5776),c=r(6719),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=o(t),l=!r&&i(t),f=!r&&!l&&a(t),h=!r&&!l&&!f&&c(t),d=r||l||f||h,p=d?n(t.length,String):[],m=p.length;for(var b in t)!e&&!u.call(t,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||h&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},2488:function(t){t.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},2908:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},8470:function(t,e,r){var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},8866:function(t,e,r){var n=r(2488),i=r(1469);t.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},4239:function(t,e,r){var n=r(2705),i=r(9607),o=r(2333),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},9454:function(t,e,r){var n=r(4239),i=r(7005);t.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},939:function(t,e,r){var n=r(2492),i=r(7005);t.exports=function t(e,r,o,a,s){return e===r||(null==e||null==r||!i(e)&&!i(r)?e!=e&&r!=r:n(e,r,o,a,t,s))}},2492:function(t,e,r){var n=r(6384),i=r(7114),o=r(8351),a=r(6096),s=r(4160),c=r(1469),u=r(4144),l=r(6719),f="[object Arguments]",h="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,m,b,v){var g=c(t),y=c(e),w=g?h:s(t),x=y?h:s(e),O=(w=w==f?d:w)==d,_=(x=x==f?d:x)==d,S=w==x;if(S&&u(t)){if(!u(e))return!1;g=!0,O=!1}if(S&&!O)return v||(v=new n),g||l(t)?i(t,e,r,m,b,v):o(t,e,w,r,m,b,v);if(!(1&r)){var k=O&&p.call(t,"__wrapped__"),E=_&&p.call(e,"__wrapped__");if(k||E){var M=k?t.value():t,C=E?e.value():e;return v||(v=new n),b(M,C,r,m,v)}}return!!S&&(v||(v=new n),a(t,e,r,m,b,v))}},8458:function(t,e,r){var n=r(3560),i=r(5346),o=r(3218),a=r(346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?h:s).test(a(t))}},8749:function(t,e,r){var n=r(4239),i=r(1780),o=r(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},280:function(t,e,r){var n=r(5726),i=r(6916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},2545:function(t){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},4757:function(t){t.exports=function(t,e){return t.has(e)}},4429:function(t,e,r){var n=r(5639)["__core-js_shared__"];t.exports=n},7114:function(t,e,r){var n=r(8668),i=r(2908),o=r(4757);t.exports=function(t,e,r,a,s,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var h=c.get(t),d=c.get(e);if(h&&d)return h==e&&d==t;var p=-1,m=!0,b=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++p<l;){var v=t[p],g=e[p];if(a)var y=u?a(g,v,p,e,t,c):a(v,g,p,t,e,c);if(void 0!==y){if(y)continue;m=!1;break}if(b){if(!i(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,r,a,c)))return b.push(e)}))){m=!1;break}}else if(v!==g&&!s(v,g,r,a,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},8351:function(t,e,r){var n=r(2705),i=r(1149),o=r(7813),a=r(7114),s=r(8776),c=r(1814),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,h){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var p=1&n;if(d||(d=c),t.size!=e.size&&!p)return!1;var m=h.get(t);if(m)return m==e;n|=2,h.set(t,e);var b=a(d(t),d(e),n,u,f,h);return h.delete(t),b;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},6096:function(t,e,r){var n=r(8234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,s){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var h=u[f];if(!(c?h in e:i.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var m=!0;s.set(t,e),s.set(e,t);for(var b=c;++f<l;){var v=t[h=u[f]],g=e[h];if(o)var y=c?o(g,v,h,e,t,s):o(v,g,h,t,e,s);if(!(void 0===y?v===g||a(v,g,r,o,s):y)){m=!1;break}b||(b="constructor"==h)}if(m&&!b){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(t),s.delete(e),m}},1957:function(t,e,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:function(t,e,r){var n=r(8866),i=r(9551),o=r(3674);t.exports=function(t){return n(t,o,i)}},5050:function(t,e,r){var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},852:function(t,e,r){var n=r(8458),i=r(7801);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},9607:function(t,e,r){var n=r(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i}},9551:function(t,e,r){var n=r(4963),i=r(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},4160:function(t,e,r){var n=r(8552),i=r(7071),o=r(3818),a=r(8525),s=r(577),c=r(4239),u=r(346),l="[object Map]",f="[object Promise]",h="[object Set]",d="[object WeakMap]",p="[object DataView]",m=u(n),b=u(i),v=u(o),g=u(a),y=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=p||i&&w(new i)!=l||o&&w(o.resolve())!=f||a&&w(new a)!=h||s&&w(new s)!=d)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case m:return p;case b:return l;case v:return f;case g:return h;case y:return d}return e}),t.exports=w},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},1789:function(t,e,r){var n=r(4536);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,r){var n=r(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},1327:function(t,e,r){var n=r(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},1866:function(t,e,r){var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,r){var n,i=r(4429),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!o&&o in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,r){var n=r(8470),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():i.call(e,r,1),--this.size,0))}},2117:function(t,e,r){var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7518:function(t,e,r){var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:function(t,e,r){var n=r(8470);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},4785:function(t,e,r){var n=r(1989),i=r(8407),o=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},1285:function(t,e,r){var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,r){var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:function(t,e,r){var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:function(t,e,r){var n=r(5050);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}},8776:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},4536:function(t,e,r){var n=r(852)(Object,"create");t.exports=n},6916:function(t,e,r){var n=r(5569)(Object.keys,Object);t.exports=n},1167:function(t,e,r){t=r.nmd(t);var n=r(1957),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(r){return t(e(r))}}},5639:function(t,e,r){var n=r(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:function(t){t.exports=function(t){return this.__data__.has(t)}},1814:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},7465:function(t,e,r){var n=r(8407);t.exports=function(){this.__data__=new n,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,r){var n=r(8407),i=r(7071),o=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},5694:function(t,e,r){var n=r(9454),i=r(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,r){var n=r(3560),i=r(1780);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},4144:function(t,e,r){t=r.nmd(t);var n=r(5639),i=r(5062),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c},8446:function(t,e,r){var n=r(939);t.exports=function(t,e){return n(t,e)}},3560:function(t,e,r){var n=r(4239),i=r(3218);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},6719:function(t,e,r){var n=r(8749),i=r(1717),o=r(1167),a=o&&o.isTypedArray,s=a?i(a):n;t.exports=s},3674:function(t,e,r){var n=r(4636),i=r(280),o=r(8612);t.exports=function(t){return o(t)?n(t):i(t)}},8306:function(t,e,r){var n=r(3369);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},2703:function(t,e,r){"use strict";var n=r(414);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},5697:function(t,e,r){t.exports=r(2703)()},414:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9787:function(t){"use strict";t.exports=n}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){"use strict";r.r(i),r.d(i,{default:function(){return bt},expandNodesToLevel:function(){return mt}});var t=r(4184),e=r.n(t),n=r(8446),o=r.n(n),a=r(8306),s=r.n(a),c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(t)).reduce((function(t,e){return t+((e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_")}),"")},u=r(5697),l=r.n(u),f=r(9787),h=r.n(f);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var p=["children","title"];function m(){return(m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(a,t);var e,r,n,i,o=(n=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=y(n);if(i){var r=y(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return g(this,t)});function a(){return b(this,a),o.apply(this,arguments)}return e=a,(r=[{key:"render",value:function(){var t=this.props,e=t.children,r=t.title,n=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,p);return h().createElement("button",m({"aria-label":r,title:r,type:"button"},n),e)}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(h().PureComponent);w(x,"propTypes",{children:l().node.isRequired,title:l().string}),w(x,"defaultProps",{title:null});var O=x,_={ALL:"all",PARENT:"parent",LEAF:"leaf"};function S(t){this.message=t,this.stack=Error().stack}S.prototype=Object.create(Error.prototype),S.prototype.name="CheckboxTreeError";var k=S;function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var j=_,A=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C(this,t),this.props=e,this.flatNodes=r}var e,r;return e=t,(r=[{key:"setProps",value:function(t){this.props=t}},{key:"clone",value:function(){var e=this,r={};return Object.keys(this.flatNodes).forEach((function(t){var n=e.flatNodes[t];r[t]=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},n)})),new t(this.props,r)}},{key:"getNode",value:function(t){return this.flatNodes[t]}},{key:"reset",value:function(){this.flatNodes={}}},{key:"flattenNodes",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(t)&&0!==t.length){var i=this.props,o=i.disabled,a=i.noCascade;t.forEach((function(t,i){var s=e.nodeHasChildren(t);if(void 0!==e.flatNodes[t.value])throw new k("Duplicate value '".concat(t.value,"' detected. All node values must be unique."));e.flatNodes[t.value]={label:t.label,value:t.value,children:t.children,parent:r,isChild:void 0!==r.value,isParent:s,isLeaf:!s,showCheckbox:void 0===t.showCheckbox||t.showCheckbox,disabled:e.getDisabledState(t,r,o,a),treeDepth:n,index:i},e.flattenNodes(t.children,t,n+1)}))}}},{key:"nodeHasChildren",value:function(t){return Array.isArray(t.children)}},{key:"getDisabledState",value:function(t,e,r,n){return!!r||!(n||!e.disabled)||Boolean(t.disabled)}},{key:"deserializeLists",value:function(t){var e=this,r=["checked","expanded"];Object.keys(this.flatNodes).forEach((function(t){r.forEach((function(r){e.flatNodes[t][r]=!1}))})),r.forEach((function(r){t[r].forEach((function(t){void 0!==e.flatNodes[t]&&(e.flatNodes[t][r]=!0)}))}))}},{key:"serializeList",value:function(t){var e=this,r=[];return Object.keys(this.flatNodes).forEach((function(n){e.flatNodes[n][t]&&r.push(n)})),r}},{key:"expandAllNodes",value:function(t){var e=this;return Object.keys(this.flatNodes).forEach((function(r){e.flatNodes[r].isParent&&(e.flatNodes[r].expanded=t)})),this}},{key:"toggleChecked",value:function(t,e,r,n){var i=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.flatNodes[t.value],s=[j.PARENT,j.ALL].indexOf(r)>-1,c=[j.LEAF,j.ALL].indexOf(r)>-1;if(a.isLeaf||n){if(t.disabled)return this;this.toggleNode(t.value,"checked",e)}else(s||0===a.children.length)&&this.toggleNode(t.value,"checked",e),c&&a.children.forEach((function(t){i.toggleChecked(t,e,r,n,!1)}));return o&&!n&&a.isChild&&s&&this.toggleParentStatus(a.parent,r),this}},{key:"toggleParentStatus",value:function(t,e){var r=this.flatNodes[t.value];r.isChild?(e===j.ALL&&this.toggleNode(t.value,"checked",this.isEveryChildChecked(r)),this.toggleParentStatus(r.parent,e)):this.toggleNode(t.value,"checked",this.isEveryChildChecked(r))}},{key:"isEveryChildChecked",value:function(t){var e=this;return t.children.every((function(t){return e.getNode(t.value).checked}))}},{key:"toggleNode",value:function(t,e,r){return this.flatNodes[t][e]=r,this}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(){return(P=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function I(t,e){if(e&&("object"===T(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function F(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&L(t,e)}(a,t);var e,r,n,i,o=(n=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=N(n);if(i){var r=N(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return I(this,t)});function a(){return R(this,a),o.apply(this,arguments)}return e=a,(r=[{key:"componentDidMount",value:function(){this.updateDeterminateProperty()}},{key:"componentDidUpdate",value:function(){this.updateDeterminateProperty()}},{key:"updateDeterminateProperty",value:function(){var t=this.props.indeterminate;this.checkbox.indeterminate=t}},{key:"render",value:function(){var t=this,e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach((function(e){F(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.props);return delete e.indeterminate,h().createElement("input",P({},e,{ref:function(e){t.checkbox=e},type:"checkbox"}))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(h().PureComponent);F(B,"propTypes",{indeterminate:l().bool}),F(B,"defaultProps",{indeterminate:!1});var z=B,H=l().shape({check:l().node,uncheck:l().node,halfCheck:l().node,expandClose:l().node,expandOpen:l().node,expandAll:l().node,collapseAll:l().node,parentClose:l().node,parentOpen:l().node,leaf:l().node}),U=l().shape({collapseAll:l().string.isRequired,expandAll:l().string.isRequired,toggle:l().string.isRequired});function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function V(t,e){if(e&&("object"===W(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return G(t)}function G(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function X(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&q(t,e)}(s,t);var r,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Y(i);if(o){var r=Y(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return V(this,t)});function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this,t)).onCheck=e.onCheck.bind(G(e)),e.onCheckboxKeyPress=e.onCheckboxKeyPress.bind(G(e)),e.onCheckboxKeyUp=e.onCheckboxKeyUp.bind(G(e)),e.onClick=e.onClick.bind(G(e)),e.onExpand=e.onExpand.bind(G(e)),e}return r=s,(n=[{key:"onCheck",value:function(){var t=this.props,e=t.value;(0,t.onCheck)({value:e,checked:this.getCheckState({toggle:!0})})}},{key:"onCheckboxKeyPress",value:function(t){32===t.which&&t.preventDefault()}},{key:"onCheckboxKeyUp",value:function(t){var e=t.keyCode;[13,32].includes(e)&&this.onCheck()}},{key:"onClick",value:function(){var t=this.props,e=t.expandOnClick,r=t.isParent,n=t.value,i=t.onClick;r&&e&&this.onExpand(),i({value:n,checked:this.getCheckState({toggle:!1})})}},{key:"onExpand",value:function(){var t=this.props,e=t.expanded,r=t.value;(0,t.onExpand)({value:r,expanded:!e})}},{key:"getCheckState",value:function(t){var e=t.toggle,r=this.props,n=r.checked,i=r.optimisticToggle;return!(0!==n||!e)||1===n&&!e||2===n&&i}},{key:"renderCollapseButton",value:function(){var t=this.props,e=t.expandDisabled,r=t.isLeaf,n=t.lang;return r?h().createElement("span",{className:"rct-collapse"},h().createElement("span",{className:"rct-icon"})):h().createElement(O,{className:"rct-collapse rct-collapse-btn",disabled:e,title:n.toggle,onClick:this.onExpand},this.renderCollapseIcon())}},{key:"renderCollapseIcon",value:function(){var t=this.props,e=t.expanded,r=t.icons,n=r.expandClose,i=r.expandOpen;return e?i:n}},{key:"renderCheckboxIcon",value:function(){var t=this.props,e=t.checked,r=t.icons,n=r.uncheck,i=r.check,o=r.halfCheck;return 0===e?n:1===e?i:o}},{key:"renderNodeIcon",value:function(){var t=this.props,e=t.expanded,r=t.icon,n=t.icons,i=n.leaf,o=n.parentClose,a=n.parentOpen,s=t.isLeaf;return null!==r?r:s?i:e?a:o}},{key:"renderBareLabel",value:function(t){var e=this.props,r=e.onClick,n=e.title,i=null!==r;return h().createElement("span",{className:"rct-bare-label",title:n},i?h().createElement("span",{className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"button",tabIndex:0},t):t)}},{key:"renderCheckboxLabel",value:function(t){var e=this.props,r=e.checked,n=e.disabled,i=e.title,o=e.treeId,a=e.value,s=null!==e.onClick,c="".concat(o,"-").concat(String(a).split(" ").join("_")),u=[h().createElement("label",{key:0,htmlFor:c,title:i},h().createElement(z,{checked:1===r,disabled:n,id:c,indeterminate:2===r,onClick:this.onCheck,onChange:function(){}}),h().createElement("span",{"aria-checked":1===r,"aria-disabled":n,className:"rct-checkbox",role:"checkbox",tabIndex:0,onKeyPress:this.onCheckboxKeyPress,onKeyUp:this.onCheckboxKeyUp},this.renderCheckboxIcon()),s?null:t)];return s&&u.push(h().createElement("span",{key:1,className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"link",tabIndex:0},t)),u}},{key:"renderLabel",value:function(){var t=this.props,e=t.label,r=t.showCheckbox,n=[t.showNodeIcon?h().createElement("span",{key:0,className:"rct-node-icon"},this.renderNodeIcon()):null,h().createElement("span",{key:1,className:"rct-title"},e)];return r?this.renderCheckboxLabel(n):this.renderBareLabel(n)}},{key:"renderChildren",value:function(){return this.props.expanded?this.props.children:null}},{key:"render",value:function(){var t=this.props,r=t.className,n=t.disabled,i=t.expanded,o=t.isLeaf,a=e()({"rct-node":!0,"rct-node-leaf":o,"rct-node-parent":!o,"rct-node-expanded":!o&&i,"rct-node-collapsed":!o&&!i,"rct-disabled":n},r);return h().createElement("li",{className:a},h().createElement("span",{className:"rct-text"},this.renderCollapseButton(),this.renderLabel()),this.renderChildren())}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),s}(h().PureComponent);X($,"propTypes",{checked:l().number.isRequired,disabled:l().bool.isRequired,expandDisabled:l().bool.isRequired,expanded:l().bool.isRequired,icons:H.isRequired,isLeaf:l().bool.isRequired,isParent:l().bool.isRequired,label:l().node.isRequired,lang:U.isRequired,optimisticToggle:l().bool.isRequired,showNodeIcon:l().bool.isRequired,treeId:l().string.isRequired,value:l().oneOfType([l().string,l().number]).isRequired,onCheck:l().func.isRequired,onExpand:l().func.isRequired,children:l().node,className:l().string,expandOnClick:l().bool,icon:l().node,showCheckbox:l().bool,title:l().string,onClick:l().func}),X($,"defaultProps",{children:null,className:null,expandOnClick:!1,icon:null,showCheckbox:!0,title:null,onClick:function(){}});var K=$,Z=l().oneOfType([l().arrayOf(l().string),l().arrayOf(l().number)]);function J(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Q(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?J(Object(r),!0).forEach((function(e){tt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function tt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var et={label:l().node.isRequired,value:l().oneOfType([l().string,l().number]).isRequired,disabled:l().bool,icon:l().node,showCheckbox:l().bool,title:l().string},rt=l().oneOfType([l().shape(et),l().shape(Q(Q({},et),{},{children:l().arrayOf(et).isRequired}))]);function nt(t){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function it(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ot(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?it(Object(r),!0).forEach((function(e){ft(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):it(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function at(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function st(t,e){return(st=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ct(t,e){if(e&&("object"===nt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ut(t)}function ut(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lt(t){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ft(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ht=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&st(t,e)}(f,t);var r,n,i,a,u,l=(a=f,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=lt(a);if(u){var r=lt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ct(this,t)});function f(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),e=l.call(this,t);var r=new A(t);return r.flattenNodes(t.nodes),r.deserializeLists({checked:t.checked,expanded:t.expanded}),e.state={id:t.id||"rct-".concat(c()),model:r,prevProps:t},e.onCheck=e.onCheck.bind(ut(e)),e.onExpand=e.onExpand.bind(ut(e)),e.onNodeClick=e.onNodeClick.bind(ut(e)),e.onExpandAll=e.onExpandAll.bind(ut(e)),e.onCollapseAll=e.onCollapseAll.bind(ut(e)),e.combineMemorized=s()((function(t,e){return ot(ot({},t),e)})).bind(ut(e)),e}return r=f,n=[{key:"onCheck",value:function(t){var e=this.props,r=e.checkModel,n=e.noCascade,i=e.onCheck,o=this.state.model.clone(),a=o.getNode(t.value);o.toggleChecked(t,t.checked,r,n),i(o.serializeList("checked"),ot(ot({},a),t))}},{key:"onExpand",value:function(t){var e=this.props.onExpand,r=this.state.model.clone(),n=r.getNode(t.value);r.toggleNode(t.value,"expanded",t.expanded),e(r.serializeList("expanded"),ot(ot({},n),t))}},{key:"onNodeClick",value:function(t){(0,this.props.onClick)(ot(ot({},this.state.model.getNode(t.value)),t))}},{key:"onExpandAll",value:function(){this.expandAllNodes()}},{key:"onCollapseAll",value:function(){this.expandAllNodes(!1)}},{key:"expandAllNodes",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.props.onExpand;e(this.state.model.clone().expandAllNodes(t).serializeList("expanded"))}},{key:"determineShallowCheckState",value:function(t,e){var r=this.state.model.getNode(t.value);return r.isLeaf||e||0===t.children.length?r.checked?1:0:this.isEveryChildChecked(t)?1:this.isSomeChildChecked(t)?2:0}},{key:"isEveryChildChecked",value:function(t){var e=this;return t.children.every((function(t){return 1===e.state.model.getNode(t.value).checkState}))}},{key:"isSomeChildChecked",value:function(t){var e=this;return t.children.some((function(t){return e.state.model.getNode(t.value).checkState>0}))}},{key:"renderTreeNodes",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.props,i=n.expandDisabled,o=n.expandOnClick,a=n.icons,s=n.lang,c=n.noCascade,u=n.onClick,l=n.onlyLeafCheckboxes,d=n.optimisticToggle,p=n.showNodeTitle,m=n.showNodeIcon,b=this.state,v=b.id,g=b.model,y=f.defaultProps.icons,w=t.map((function(t){var n=t.value,f=g.getNode(t.value),b=f.isParent?e.renderTreeNodes(t.children,t):null;f.checkState=e.determineShallowCheckState(t,c);var w=l?f.isLeaf:f.showCheckbox;return!r.value||g.getNode(r.value).expanded?h().createElement(K,{key:n,checked:f.checkState,className:t.className,disabled:f.disabled,expandDisabled:i,expandOnClick:o,expanded:f.expanded,icon:t.icon,icons:e.combineMemorized(y,a),label:t.label,lang:s,optimisticToggle:d,isLeaf:f.isLeaf,isParent:f.isParent,showCheckbox:w,showNodeIcon:m,title:p?t.title||t.label:t.title,treeId:v,value:t.value,onCheck:e.onCheck,onClick:u&&e.onNodeClick,onExpand:e.onExpand},b):null}));return h().createElement("ol",null,w)}},{key:"renderExpandAll",value:function(){var t=this.props,e=t.icons,r=e.expandAll,n=e.collapseAll,i=t.lang;return t.showExpandAll?h().createElement("div",{className:"rct-options"},h().createElement(O,{className:"rct-option rct-option-expand-all",title:i.expandAll,onClick:this.onExpandAll},r),h().createElement(O,{className:"rct-option rct-option-collapse-all",title:i.collapseAll,onClick:this.onCollapseAll},n)):null}},{key:"renderHiddenInput",value:function(){var t=this.props,e=t.name,r=t.nameAsArray;return void 0===e?null:r?this.renderArrayHiddenInput():this.renderJoinedHiddenInput()}},{key:"renderArrayHiddenInput",value:function(){var t=this.props,e=t.checked,r=t.name;return e.map((function(t){var e="".concat(r,"[]");return h().createElement("input",{key:t,name:e,type:"hidden",value:t})}))}},{key:"renderJoinedHiddenInput",value:function(){var t=this.props,e=t.checked,r=t.name,n=e.join(",");return h().createElement("input",{name:r,type:"hidden",value:n})}},{key:"render",value:function(){var t,r=this.props,n=r.direction,i=r.disabled,o=r.iconsClass,a=r.nodes,s=r.nativeCheckboxes,c=this.state.id,u=this.renderTreeNodes(a),l=e()((ft(t={"react-checkbox-tree":!0,"rct-disabled":i},"rct-icons-".concat(o),!0),ft(t,"rct-native-display",s),ft(t,"rct-direction-rtl","rtl"===n),t));return h().createElement("div",{className:l,id:c},this.renderExpandAll(),this.renderHiddenInput(),u)}}],i=[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.model,n=e.prevProps,i=t.disabled,a=t.id,s=t.nodes,c=ot(ot({},e),{},{prevProps:t});return r.setProps(t),o()(n.nodes,s)&&n.disabled===i||(r.reset(),r.flattenNodes(s)),null!==a&&(c=ot(ot({},c),{},{id:a})),r.deserializeLists({checked:t.checked,expanded:t.expanded}),c}}],n&&at(r.prototype,n),i&&at(r,i),Object.defineProperty(r,"prototype",{writable:!1}),f}(h().Component);function dt(t){return function(t){if(Array.isArray(t))return pt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return pt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function mt(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r>e)return[];var n=[];return t.forEach((function(t){t.children&&(n=[].concat(dt(n),[t.value],dt(mt(t.children,e,r+1))))})),n}ft(ht,"propTypes",{nodes:l().arrayOf(rt).isRequired,checkModel:l().oneOf([_.LEAF,_.ALL]),checked:Z,direction:l().string,disabled:l().bool,expandDisabled:l().bool,expandOnClick:l().bool,expanded:Z,icons:H,iconsClass:l().string,id:l().string,lang:U,name:l().string,nameAsArray:l().bool,nativeCheckboxes:l().bool,noCascade:l().bool,onlyLeafCheckboxes:l().bool,optimisticToggle:l().bool,showExpandAll:l().bool,showNodeIcon:l().bool,showNodeTitle:l().bool,onCheck:l().func,onClick:l().func,onExpand:l().func}),ft(ht,"defaultProps",{checkModel:_.LEAF,checked:[],direction:"ltr",disabled:!1,expandDisabled:!1,expandOnClick:!1,expanded:[],icons:{check:h().createElement("span",{className:"rct-icon rct-icon-check"}),uncheck:h().createElement("span",{className:"rct-icon rct-icon-uncheck"}),halfCheck:h().createElement("span",{className:"rct-icon rct-icon-half-check"}),expandClose:h().createElement("span",{className:"rct-icon rct-icon-expand-close"}),expandOpen:h().createElement("span",{className:"rct-icon rct-icon-expand-open"}),expandAll:h().createElement("span",{className:"rct-icon rct-icon-expand-all"}),collapseAll:h().createElement("span",{className:"rct-icon rct-icon-collapse-all"}),parentClose:h().createElement("span",{className:"rct-icon rct-icon-parent-close"}),parentOpen:h().createElement("span",{className:"rct-icon rct-icon-parent-open"}),leaf:h().createElement("span",{className:"rct-icon rct-icon-leaf"})},iconsClass:"fa4",id:null,lang:{collapseAll:"Collapse all",expandAll:"Expand all",toggle:"Toggle"},name:void 0,nameAsArray:!1,nativeCheckboxes:!1,noCascade:!1,onlyLeafCheckboxes:!1,optimisticToggle:!0,showExpandAll:!1,showNodeIcon:!0,showNodeTitle:!1,onCheck:function(){},onClick:null,onExpand:function(){}});var bt=ht}(),i}())},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M4 20h16c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2s.9 2 2 2zm0-3h2v2H4v-2zM2 6c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2zm4 1H4V5h2v2zm-2 7h16c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2s.9 2 2 2zm0-3h2v2H4v-2z"}),"StorageRounded");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlined");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"}),"Email");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"}),"Textsms");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m19.77 7.23.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"}),"LocalGasStation");e.default=a},function(t,e,r){"use strict";(function(t,n){r.d(e,"a",(function(){return xt}));var i=r(544),o=r.n(i),a=r(858),s=r.n(a),c=r(44),u=r.n(c),l=r(859),f=r.n(l),h=r(370),d=r.n(h),p=r(114),m=r.n(p),b=r(380),v=r.n(b),g=r(36),y=r.n(g),w=r(860),x=r.n(w),O=r(68),_=r.n(O),S=r(0),k=r.n(S),E=r(55),M=r.n(E),C=r(431),j=r(80),A=r(440),T=r(433),P=r(211),D=r(864),R=r(865),L=r(291),I=r(336),N=r(74),F=r(383),B=r(556),z=r(201),H=r(17),U=r(37),W=r(555),q=r(119),V=r(302),G=r(163),Y=r(42);function X(t){return(X="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||ot(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(){return(K=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Z(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function J(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Q(t,e){return(Q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=nt(t);if(e){var i=nt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return et(this,r)}}function et(t,e){return!e||"object"!==X(e)&&"function"!==typeof e?rt(t):e}function rt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function it(t){return function(t){if(Array.isArray(t))return at(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||ot(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(t,e){if(t){if("string"===typeof t)return at(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?at(t,e):void 0}}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){ut(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ut(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lt={xAxis:["bottom","top"],yAxis:["left","right"]},ft={x:0,y:0},ht=Number.isFinite?Number.isFinite:isFinite,dt="function"===typeof requestAnimationFrame?requestAnimationFrame:"function"===typeof t?t:setTimeout,pt="function"===typeof cancelAnimationFrame?cancelAnimationFrame:"function"===typeof n?n:clearTimeout,mt=function(t,e,r){var n=e.graphicalItems,i=e.dataStartIndex,o=e.dataEndIndex,a=(n||[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(it(t),it(r)):t}),[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:t&&t.length&&Object(H.h)(i)&&Object(H.h)(o)?t.slice(i,o+1):[]},bt=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=mt(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(t,e){if(e.props.hide)return t;var i,s=e.props.data;if(o.dataKey&&!o.allowDuplicatedCategory){var c=void 0===s?a:s;i=Object(H.a)(c,o.dataKey,n)}else i=s&&s[r]||a[r];return i?[].concat(it(t),[Object(U.v)(e,i)]):t}),[])},vt=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(i,r),a=t.orderedTooltipTicks,s=t.tooltipAxis,c=t.tooltipTicks,u=Object(U.b)(o,a,c,s);if(u>=0&&c){var l=c[u]&&c[u].value;return{activeTooltipIndex:u,activeLabel:l,activePayload:bt(t,e,u,l),activeCoordinate:function(t,e,r,n){var i=e.find((function(t){return t&&t.index===r}));if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return ct(ct(ct({},n),Object(q.c)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,c=n.angle;return ct(ct(ct({},n),Object(q.c)(n.cx,n.cy,s,c)),{},{angle:c,radius:s})}return ft}(r,a,u,i)}}return null},gt=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,u=t.children,l="".concat(n,"Id"),f=Object(N.a)(u,i),h={};return f&&f.length?h=function(t,e){var r=e.axes,n=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,u=t.layout,l=t.children,f=t.stackOffset,h=Object(U.x)(u,i);return r.reduce((function(e,r){var d=r.props,p=d.type,m=d.dataKey,b=d.allowDataOverflow,g=d.allowDuplicatedCategory,w=d.scale,x=d.ticks,O=r.props[o],_=mt(t.data,{graphicalItems:n.filter((function(t){return t.props[o]===O})),dataStartIndex:s,dataEndIndex:c}),S=_.length;if(!e[O]){var k,E,M;if(m){if(k=Object(U.m)(_,m,p),"category"===p&&h){var C=Object(H.e)(k);g&&C?(E=k,k=v()(0,S)):g||(k=Object(U.y)(r.props.domain,k,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(it(t),[e])}),[]))}else if("category"===p)k=g?k.filter((function(t){return""!==t&&!y()(t)})):Object(U.y)(r.props.domain,k,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||y()(e)?t:[].concat(it(t),[e])}),[]);else if("number"===p){var j=Object(U.z)(_,n.filter((function(t){return t.props[o]===O&&!t.props.hide})),m,i);j&&(k=j)}!h||"number"!==p&&"auto"===w||(M=Object(U.m)(_,m,"category"))}else k=h?v()(0,S):a&&a[O]&&a[O].hasStack&&"number"===p?"expand"===f?[0,1]:Object(U.o)(a[O].stackGroups,s,c):Object(U.n)(_,n.filter((function(t){return t.props[o]===O&&!t.props.hide})),p,!0);if("number"===p)k=Object(W.a)(l,k,O,i,x),r.props.domain&&(k=Object(U.B)(r.props.domain,k,b));else if("category"===p&&r.props.domain){var A=r.props.domain;k.every((function(t){return A.indexOf(t)>=0}))&&(k=A)}return ct(ct({},e),{},ut({},O,ct(ct({},r.props),{},{axisType:i,domain:k,categoricalDomain:M,duplicateDomain:E,originalDomain:r.props.domain,isCategorical:h,layout:u})))}return e}),{})}(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:s,dataEndIndex:c}):o&&o.length&&(h=function(t,e){var r=e.graphicalItems,n=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,u=t.layout,l=t.children,f=mt(t.data,{graphicalItems:r,dataStartIndex:s,dataEndIndex:c}),h=f.length,d=Object(U.x)(u,i),p=-1;return r.reduce((function(t,e){var b,g=e.props[o];return t[g]?t:(p++,d?b=v()(0,h):a&&a[g]&&a[g].hasStack?(b=Object(U.o)(a[g].stackGroups,s,c),b=Object(W.a)(l,b,g,i)):(b=Object(U.B)(n.defaultProps.domain,Object(U.n)(f,r.filter((function(t){return t.props[o]===g&&!t.props.hide})),"number"),n.defaultProps.allowDataOverflow),b=Object(W.a)(l,b,g,i)),ct(ct({},t),{},ut({},g,ct(ct({axisType:i},n.defaultProps),{},{hide:!0,orientation:m()(lt,"".concat(i,".").concat(p%2),null),domain:b,originalDomain:n.defaultProps.domain,isCategorical:d,layout:u}))))}),{})}(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:s,dataEndIndex:c})),h},yt=function(t){var e=t.children,r=t.defaultShowTooltip,n=Object(N.b)(e,B.a.displayName);return{chartX:0,chartY:0,dataStartIndex:n&&n.props&&n.props.startIndex||0,dataEndIndex:n&&n.props&&n.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!y()(r)&&r}},wt=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},xt=function(t){var e,r,n=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,c=void 0===a?"axis":a,l=t.validateTooltipEventTypes,h=void 0===l?["axis"]:l,p=t.axisComponents,b=t.legendContent,v=t.formatAxisMap,g=t.defaultProps,w=function(t,e){var r=e.graphicalItems,n=e.stackGroups,i=e.offset,o=e.updateId,a=e.dataStartIndex,s=e.dataEndIndex,c=t.barSize,u=t.layout,l=t.barGap,f=t.barCategoryGap,h=t.maxBarSize,d=wt(u),m=d.numericAxisName,b=d.cateAxisName,v=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Object(N.c)(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r)&&Object(U.h)({barSize:c,stackGroups:n}),g=[];return r.forEach((function(r,c){var d=mt(t.data,{dataStartIndex:a,dataEndIndex:s},r),w=r.props,x=w.dataKey,O=w.maxBarSize,_=r.props["".concat(m,"Id")],S=r.props["".concat(b,"Id")],k=p.reduce((function(t,n){var i,o=e["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],s=o&&o[a];return ct(ct({},t),{},(ut(i={},n.axisType,s),ut(i,"".concat(n.axisType,"Ticks"),Object(U.t)(s)),i))}),{}),E=k[b],M=k["".concat(b,"Ticks")],C=n&&n[_]&&n[_].hasStack&&Object(U.s)(r,n[_].stackGroups),j=Object(N.c)(r.type).indexOf("Bar")>=0,A=Object(U.f)(E,M),T=[];if(j){var P,D,R=y()(O)?h:O,L=null!==(P=null!==(D=Object(U.f)(E,M,!0))&&void 0!==D?D:R)&&void 0!==P?P:0;T=Object(U.g)({barGap:l,barCategoryGap:f,bandSize:L!==A?L:A,sizeList:v[S],maxBarSize:R}),L!==A&&(T=T.map((function(t){return ct(ct({},t),{},{position:ct(ct({},t.position),{},{offset:t.position.offset-L/2})})})))}var I,F=r&&r.type&&r.type.getComposedData;F&&g.push({props:ct(ct({},F(ct(ct({},k),{},{displayedData:d,props:t,dataKey:x,item:r,bandSize:A,barPosition:T,offset:i,stackedData:C,layout:u,dataStartIndex:a,dataEndIndex:s}))),{},(I={key:r.key||"item-".concat(c)},ut(I,m,k[m]),ut(I,b,k[b]),ut(I,"animationId",o),I)),childIndex:Object(N.f)(r,t.children),item:r})})),g},O=function(t,e){var r=t.props,o=t.dataStartIndex,a=t.dataEndIndex,s=t.updateId;if(!Object(N.h)({props:r}))return null;var c=r.children,u=r.layout,l=r.stackOffset,f=r.data,h=r.reverseStackOrder,b=wt(u),g=b.numericAxisName,y=b.cateAxisName,x=Object(N.a)(c,i),O=Object(U.r)(f,x,"".concat(g,"Id"),"".concat(y,"Id"),l,h),_=p.reduce((function(t,e){var n="".concat(e.axisType,"Map");return ct(ct({},t),{},ut({},n,gt(r,ct(ct({},e),{},{graphicalItems:x,stackGroups:e.axisType===g&&O,dataStartIndex:o,dataEndIndex:a}))))}),{}),S=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,a=t.yAxisMap,s=void 0===a?{}:a,c=r.width,u=r.height,l=r.children,f=r.margin||{},h=Object(N.b)(l,B.a.displayName),d=Object(N.b)(l,T.a.displayName),p=Object.keys(s).reduce((function(t,e){var r=s[e],n=r.orientation;return r.mirror||r.hide?t:ct(ct({},t),{},ut({},n,t[n]+r.width))}),{left:f.left||0,right:f.right||0}),b=Object.keys(o).reduce((function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:ct(ct({},t),{},ut({},n,m()(t,"".concat(n))+r.height))}),{top:f.top||0,bottom:f.bottom||0}),v=ct(ct({},b),p),g=v.bottom;return h&&(v.bottom+=h.props.height||B.a.defaultProps.height),d&&e&&(v=Object(U.a)(v,n,r,e)),ct(ct({brushBottom:g},v),{},{width:c-v.left-v.right,height:u-v.top-v.bottom})}(ct(ct({},_),{},{props:r,graphicalItems:x}),null===e||void 0===e?void 0:e.legendBBox);Object.keys(_).forEach((function(t){_[t]=v(r,_[t],S,t.replace("Map",""),n)}));var k=function(t){var e=Object(H.b)(t),r=Object(U.t)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:d()(r,(function(t){return t.coordinate})),tooltipAxis:e,tooltipAxisBandSize:Object(U.f)(e,r)}}(_["".concat(y,"Map")]),E=w(r,ct(ct({},_),{},{dataStartIndex:o,dataEndIndex:a,updateId:s,graphicalItems:x,stackGroups:O,offset:S}));return ct(ct({formattedGraphicalItems:E,graphicalItems:x,offset:S,stackGroups:O},k),_)};return r=e=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q(t,e)}(l,t);var e,r,i,a=tt(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.deferId=void 0,e.container=void 0,e.clearDeferId=function(){!y()(e.deferId)&&pt&&pt(e.deferId),e.deferId=null},e.handleLegendBBoxUpdate=function(t){if(t&&e.legendInstance){var r=e.state,n=r.dataStartIndex,i=r.dataEndIndex,o=r.updateId;e.setState(ct({legendBBox:t},O({props:e.props,dataStartIndex:n,dataEndIndex:i,updateId:o},ct(ct({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,r,n){e.props.syncId===t&&r!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=dt&&dt(e.applySyncEvent.bind(rt(e),n)))},e.handleBrushChange=function(t){var r=t.startIndex,n=t.endIndex;if(r!==e.state.dataStartIndex||n!==e.state.dataEndIndex){var i=e.state.updateId;e.setState((function(){return ct({dataStartIndex:r,dataEndIndex:n},O({props:e.props,dataStartIndex:r,dataEndIndex:n,updateId:i},e.state))})),e.triggerSyncEvent({dataStartIndex:r,dataEndIndex:n})}},e.handleMouseEnter=function(t){var r=e.props.onMouseEnter,n=e.getMouseInfo(t);if(n){var i=ct(ct({},n),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)}},e.triggeredAfterMouseMove=function(t){var r=e.props.onMouseMove,n=e.getMouseInfo(t),i=n?ct(ct({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)},e.handleItemMouseEnter=function(t){e.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))},e.handleItemMouseLeave=function(){e.setState((function(){return{isTooltipActive:!1}}))},e.handleMouseMove=function(t){t&&u()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var r=e.props.onMouseLeave,n={isTooltipActive:!1};e.setState(n),e.triggerSyncEvent(n),u()(r)&&r(n,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var r=Object(N.d)(t),n=m()(e.props,"".concat(r));r&&u()(n)&&n(/.*touch.*/i.test(r)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var r=e.props.onClick,n=e.getMouseInfo(t);if(n){var i=ct(ct({},n),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)}},e.handleMouseDown=function(t){var r=e.props.onMouseDown;u()(r)&&r(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var r=e.props.onMouseUp;u()(r)&&r(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,r=t.width,n=t.height,i=t.offset;return Object(U.l)(F.a.getTicks(ct(ct(ct({},F.a.defaultProps),e),{},{ticks:Object(U.t)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.left,i.left+i.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,r=t.width,n=t.height,i=t.offset;return Object(U.l)(F.a.getTicks(ct(ct(ct({},F.a.defaultProps),e),{},{ticks:Object(U.t)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.top,i.top+i.height)},e.axesTicksGenerator=function(t){return Object(U.t)(t,!0)},e.renderCursor=function(t){var r=e.state,i=r.isTooltipActive,o=r.activeCoordinate,a=r.activePayload,s=r.offset,c=r.activeTooltipIndex,u=e.getTooltipEventType();if(!t||!t.props.cursor||!i||!o||"ScatterChart"!==n&&"axis"!==u)return null;var l,f=e.props.layout,h=P.a;if("ScatterChart"===n)l=o,h=D.a;else if("BarChart"===n)l=e.getCursorRectangle(),h=I.a;else if("radial"===f){var d=e.getCursorPoints(),p=d.cx,m=d.cy,b=d.radius;l={cx:p,cy:m,startAngle:d.startAngle,endAngle:d.endAngle,innerRadius:b,outerRadius:b},h=R.a}else l={points:e.getCursorPoints()},h=P.a;var v=t.key||"_recharts-cursor",g=ct(ct(ct(ct({stroke:"#ccc",pointerEvents:"none"},s),l),Object(Y.c)(t.props.cursor)),{},{payload:a,payloadIndex:c,key:v,className:"recharts-tooltip-cursor"});return Object(S.isValidElement)(t.props.cursor)?Object(S.cloneElement)(t.props.cursor,g):Object(S.createElement)(h,g)},e.renderPolarAxis=function(t,r,n){var i=m()(t,"type.axisType"),o=m()(e.state,"".concat(i,"Map"))[t.props["".concat(i,"Id")]];return Object(S.cloneElement)(t,ct(ct({},o),{},{className:i,key:t.key||"".concat(r,"-").concat(n),ticks:Object(U.t)(o,!0)}))},e.renderXAxis=function(t,r,n){var i=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(i,t,r,n)},e.renderYAxis=function(t,r,n){var i=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(i,t,r,n)},e.renderGrid=function(t){var r=e.state,n=r.xAxisMap,i=r.yAxisMap,a=r.offset,c=e.props,u=c.width,l=c.height,f=Object(H.b)(n),h=s()(i,(function(t){return o()(t.domain,ht)}))||Object(H.b)(i),d=t.props||{};return Object(S.cloneElement)(t,{key:t.key||"grid",x:Object(H.h)(d.x)?d.x:a.left,y:Object(H.h)(d.y)?d.y:a.top,width:Object(H.h)(d.width)?d.width:a.width,height:Object(H.h)(d.height)?d.height:a.height,xAxis:f,yAxis:h,offset:a,chartWidth:u,chartHeight:l,verticalCoordinatesGenerator:d.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:d.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var r=t.props,n=r.radialLines,i=r.polarAngles,o=r.polarRadius,a=e.state,s=a.radiusAxisMap,c=a.angleAxisMap,u=Object(H.b)(s),l=Object(H.b)(c),f=l.cx,h=l.cy,d=l.innerRadius,p=l.outerRadius;return Object(S.cloneElement)(t,{polarAngles:_()(i)?i:Object(U.t)(l,!0).map((function(t){return t.coordinate})),polarRadius:_()(o)?o:Object(U.t)(u,!0).map((function(t){return t.coordinate})),cx:f,cy:h,innerRadius:d,outerRadius:p,key:t.key||"polar-grid",radialLines:n})},e.renderLegend=function(){var t=e.state.formattedGraphicalItems,r=e.props,n=r.children,i=r.width,o=r.height,a=e.props.margin||{},s=i-(a.left||0)-(a.right||0),c=Object(U.p)({children:n,formattedGraphicalItems:t,legendWidth:s,legendContent:b});if(!c)return null;var u=c.item,l=Z(c,["item"]);return Object(S.cloneElement)(u,ct(ct({},l),{},{chartWidth:i,chartHeight:o,margin:a,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,r=Object(N.b)(t,A.a.displayName);if(!r)return null;var n=e.state,i=n.isTooltipActive,o=n.activeCoordinate,a=n.activePayload,s=n.activeLabel,c=n.offset;return Object(S.cloneElement)(r,{viewBox:ct(ct({},c),{},{x:c.left,y:c.top}),active:i,label:s,payload:i?a:[],coordinate:o})},e.renderBrush=function(t){var r=e.props,n=r.margin,i=r.data,o=e.state,a=o.offset,s=o.dataStartIndex,c=o.dataEndIndex,u=o.updateId;return Object(S.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:Object(U.d)(e.handleBrushChange,null,t.props.onChange),data:i,x:Object(H.h)(t.props.x)?t.props.x:a.left,y:Object(H.h)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:Object(H.h)(t.props.width)?t.props.width:a.width,startIndex:s,endIndex:c,updateId:"brush-".concat(u)})},e.renderReferenceElement=function(t,r,n){if(!t)return null;var i=rt(e).clipPathId,o=e.state,a=o.xAxisMap,s=o.yAxisMap,c=o.offset,u=t.props,l=u.xAxisId,f=u.yAxisId;return Object(S.cloneElement)(t,{key:t.key||"".concat(r,"-").concat(n),xAxis:a[l],yAxis:s[f],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})},e.renderActivePoints=function(t){var e=t.item,r=t.activePoint,n=t.basePoint,i=t.childIndex,o=t.isRange,a=[],s=e.props.key,c=e.item.props,u=c.activeDot,f=ct(ct({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:Object(U.q)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(s,"-activePoint-").concat(i)},Object(Y.c)(u)),Object(Y.a)(u));return a.push(l.renderActiveDot(u,f)),n?a.push(l.renderActiveDot(u,ct(ct({},f),{},{cx:n.x,cy:n.y,key:"".concat(s,"-basePoint-").concat(i)}))):o&&a.push(null),a},e.renderGraphicChild=function(t,r,n){var i=e.filterFormatItem(t,r,n);if(!i)return null;var o=e.getTooltipEventType(),a=e.state,s=a.isTooltipActive,c=a.tooltipAxis,u=a.activeTooltipIndex,l=a.activeLabel,f=e.props.children,h=Object(N.b)(f,A.a.displayName),d=i.props,p=d.points,m=d.isRange,b=d.baseLine,v=i.item.props,g=v.activeDot,w=!v.hide&&s&&h&&g&&u>=0,x={};"axis"!==o&&h&&"click"===h.props.trigger?x={onClick:Object(U.d)(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==o&&(x={onMouseLeave:Object(U.d)(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:Object(U.d)(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var O=Object(S.cloneElement)(t,ct(ct({},i.props),x));if(w){var _,k;if(c.dataKey&&!c.allowDuplicatedCategory){var E="function"===typeof c.dataKey?function(t){return"function"===typeof c.dataKey?c.dataKey(t.payload):null}:"payload.".concat(c.dataKey.toString());_=Object(H.a)(p,E,l),k=m&&b&&Object(H.a)(b,E,l)}else _=p[u],k=m&&b&&b[u];if(!y()(_))return[O].concat(it(e.renderActivePoints({item:i,activePoint:_,basePoint:k,childIndex:u,isRange:m})))}return m?[O,null,null]:[O,null]},e.renderCustomized=function(t,r,n){return Object(S.cloneElement)(t,ct(ct({key:"recharts-customized-".concat(n)},e.props),e.state))},e.uniqueChartId=y()(t.id)?Object(H.k)("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=f()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=l,(r=[{key:"componentDidMount",value:function(){y()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){y()(t.syncId)&&!y()(this.props.syncId)&&this.addListener(),!y()(t.syncId)&&y()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),y()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Object(N.b)(this.props.children,A.a.displayName);if(t&&x()(t.props.shared)){var e=t.props.shared?"axis":"item";return h.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=Object(z.b)(this.container),r=Object(z.a)(t,e),n=this.inRange(r.chartX,r.chartY);if(!n)return null;var i=this.state,o=i.xAxisMap,a=i.yAxisMap;if("axis"!==this.getTooltipEventType()&&o&&a){var s=Object(H.b)(o).scale,c=Object(H.b)(a).scale,u=s&&s.invert?s.invert(r.chartX):null,l=c&&c.invert?c.invert(r.chartY):null;return ct(ct({},r),{},{xValue:u,yValue:l})}var f=vt(this.state,this.props.data,this.props.layout,n);return f?ct(ct({},r),f):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,r=e.activeCoordinate,n=e.offset,i=e.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?r.x-o:n.left+.5,y:"horizontal"===t?n.top+.5:r.y-o,width:"horizontal"===t?i:n.width-1,height:"horizontal"===t?n.height-1:i}}},{key:"getCursorPoints",value:function(){var t,e,r,n,i=this.props.layout,o=this.state,a=o.activeCoordinate,s=o.offset;if("horizontal"===i)r=t=a.x,e=s.top,n=s.top+s.height;else if("vertical"===i)n=e=a.y,t=s.left,r=s.left+s.width;else if(!y()(a.cx)||!y()(a.cy)){if("centric"!==i){var c=a.cx,u=a.cy,l=a.radius,f=a.startAngle,h=a.endAngle;return{points:[Object(q.c)(c,u,l,f),Object(q.c)(c,u,l,h)],cx:c,cy:u,radius:l,startAngle:f,endAngle:h}}var d=a.cx,p=a.cy,m=a.innerRadius,b=a.outerRadius,v=a.angle,g=Object(q.c)(d,p,m,v),w=Object(q.c)(d,p,b,v);t=g.x,e=g.y,r=w.x,n=w.y}return[{x:t,y:e},{x:r,y:n}]}},{key:"inRange",value:function(t,e){var r=this.props.layout;if("horizontal"===r||"vertical"===r){var n=this.state.offset;return t>=n.left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height?{x:t,y:e}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var s=Object(H.b)(o);return Object(q.b)({x:t,y:e},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=Object(N.b)(t,A.a.displayName),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ct(ct({},Object(Y.a)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){G.b.on(G.a,this.handleReceiveSyncEvent),G.b.setMaxListeners&&G.b._maxListeners&&G.b.setMaxListeners(G.b._maxListeners+1)}},{key:"removeListener",value:function(){G.b.removeListener(G.a,this.handleReceiveSyncEvent),G.b.setMaxListeners&&G.b._maxListeners&&G.b.setMaxListeners(G.b._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;y()(e)||G.b.emit(G.a,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,r=e.layout,n=e.syncMethod,i=this.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(y()(t.dataStartIndex)&&y()(t.dataEndIndex))if(y()(t.activeTooltipIndex))this.setState(t);else{var s=t.chartX,c=t.chartY,u=t.activeTooltipIndex,l=this.state,f=l.offset,h=l.tooltipTicks;if(!f)return;if("function"===typeof n)u=n(h,t);else if("value"===n){u=-1;for(var d=0;d<h.length;d++)if(h[d].value===t.activeLabel){u=d;break}}var p=ct(ct({},f),{},{x:f.left,y:f.top}),m=Math.min(s,p.x+p.width),b=Math.min(c,p.y+p.height),v=h[u]&&h[u].value,g=bt(this.state,this.props.data,u),w=h[u]?{x:"horizontal"===r?h[u].coordinate:m,y:"horizontal"===r?b:h[u].coordinate}:ft;this.setState(ct(ct({},t),{},{activeLabel:v,activeCoordinate:w,activePayload:g,activeTooltipIndex:u}))}else this.setState(ct({dataStartIndex:o,dataEndIndex:a},O({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===Object(N.c)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,r,n){var i=this.props,o=i.width,a=i.height;return k.a.createElement(F.a,K({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(r,"-").concat(n),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,i=e.height,o=e.width;return k.a.createElement("defs",null,k.a.createElement("clipPath",{id:t},k.a.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=$(e,2),n=r[0],i=r[1];return ct(ct({},t),{},ut({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=$(e,2),n=r[0],i=r[1];return ct(ct({},t),{},ut({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,r;return null===(e=this.state.xAxisMap)||void 0===e||null===(r=e[t])||void 0===r?void 0:r.scale}},{key:"getYScaleByAxisId",value:function(t){var e,r;return null===(e=this.state.yAxisMap)||void 0===e||null===(r=e[t])||void 0===r?void 0:r.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formattedGraphicalItems;if(e&&e.length)for(var r=0,n=e.length;r<n;r++){var i=e[r],o=i.props,a=i.item,s=Object(N.c)(a.type);if("Bar"===s){var c=(o.data||[]).find((function(e){return Object(I.b)(t,e)}));if(c)return{graphicalItem:i,payload:c}}else if("RadialBar"===s){var u=(o.data||[]).find((function(e){return Object(q.b)(t,e)}));if(u)return{graphicalItem:i,payload:u}}}return null}},{key:"render",value:function(){var t=this;if(!Object(N.h)(this))return null;var e=this.props,r=e.children,n=e.className,i=e.width,o=e.height,a=e.style,s=e.compact,c=Z(e,["children","className","width","height","style","compact"]),u=Object(Y.c)(c),l={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(s)return k.a.createElement(C.a,K({},u,{width:i,height:o}),this.renderClipPath(),Object(N.g)(r,l));var f=this.parseEventsOfWrapper();return k.a.createElement("div",K({className:M()("recharts-wrapper",n),style:ct({position:"relative",cursor:"default",width:i,height:o},a)},f,{ref:function(e){t.container=e}}),k.a.createElement(C.a,K({},u,{width:i,height:o}),this.renderClipPath(),Object(N.g)(r,l)),this.renderLegend(),this.renderTooltip())}}])&&J(e.prototype,r),i&&J(e,i),l}(S.Component),e.displayName=n,e.defaultProps=ct({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},g),e.getDerivedStateFromProps=function(t,e){var r=t.data,n=t.children,i=t.width,o=t.height,a=t.layout,s=t.stackOffset,c=t.margin;if(y()(e.updateId)){var u=yt(t);return ct(ct(ct({},u),{},{updateId:0},O(ct(ct({props:t},u),{},{updateId:0}),e)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:n})}if(r!==e.prevData||i!==e.prevWidth||o!==e.prevHeight||a!==e.prevLayout||s!==e.prevStackOffset||!Object(V.a)(c,e.prevMargin)){var l=yt(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},h=ct(ct({},vt(e,r,a)),{},{updateId:e.updateId+1}),d=ct(ct(ct({},l),f),h);return ct(ct(ct({},d),O(ct({props:t},d),e)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:n})}if(!Object(N.e)(n,e.prevChildren)){var p=!y()(r)?e.updateId:e.updateId+1;return ct(ct({updateId:p},O(ct(ct({props:t},e),{},{updateId:p}),e)),{},{prevChildren:n})}return null},e.renderActiveDot=function(t,e){var r;return r=Object(S.isValidElement)(t)?Object(S.cloneElement)(t,e):u()(t)?t(e):k.a.createElement(L.a,e),k.a.createElement(j.a,{className:"recharts-active-dot",key:e.key},r)},r}}).call(this,r(598).setImmediate,r(598).clearImmediate)},function(t,e,r){var n=r(1253)(r(1254));t.exports=n},function(t,e,r){var n=r(1258),i=r(150);t.exports=function(t,e,r){var o=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:o,maxWait:e,trailing:a})}},function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},function(t,e,r){var n=r(801),i=r(1276);t.exports=function(t,e){return n(i(t,e),1)}},function(t,e,r){var n=r(697),i=r(245),o=r(1285),a=r(68),s=r(484);t.exports=function(t,e,r){var c=a(t)?n:o;return r&&s(t,e,r)&&(e=void 0),c(t,i(e,3))}},function(t,e,r){!function(t){"use strict";var e="function"===typeof WeakSet,r=Object.keys;function n(t,e){return t===e||t!==t&&e!==e}function i(t){return t.constructor===Object||null==t.constructor}function o(t){return!!t&&"function"===typeof t.then}function a(t){return!(!t||!t.$$typeof)}function s(){var t=[];return{add:function(e){t.push(e)},has:function(e){return-1!==t.indexOf(e)}}}var c=e?function(){return new WeakSet}:s;function u(t){return function(e){var r=t||e;return function(t,e,n){void 0===n&&(n=c());var i=!!t&&"object"===typeof t,o=!!e&&"object"===typeof e;if(i||o){var a=i&&n.has(t),s=o&&n.has(e);if(a||s)return a&&s;i&&n.add(t),o&&n.add(e)}return r(t,e,n)}}}var l=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function f(t,e,n,i){var o=r(t),s=o.length;if(r(e).length!==s)return!1;if(s)for(var c=void 0;s-- >0;){if("_owner"===(c=o[s])){var u=a(t),f=a(e);if((u||f)&&u!==f)return!1}if(!l(e,c)||!n(t[c],e[c],i))return!1}return!0}var h="function"===typeof Map,d="function"===typeof Set;function p(t){var e="function"===typeof t?t(r):r;function r(t,r,a){if(t===r)return!0;if(t&&r&&"object"===typeof t&&"object"===typeof r){if(i(t)&&i(r))return f(t,r,e,a);var s=Array.isArray(t),c=Array.isArray(r);return s||c?s===c&&function(t,e,r,n){var i=t.length;if(e.length!==i)return!1;for(;i-- >0;)if(!r(t[i],e[i],n))return!1;return!0}(t,r,e,a):(s=t instanceof Date,c=r instanceof Date,s||c?s===c&&n(t.getTime(),r.getTime()):(s=t instanceof RegExp,c=r instanceof RegExp,s||c?s===c&&function(t,e){return t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.unicode===e.unicode&&t.sticky===e.sticky&&t.lastIndex===e.lastIndex}(t,r):o(t)||o(r)?t===r:h&&(s=t instanceof Map,c=r instanceof Map,s||c)?s===c&&function(t,e,r,n){var i=t.size===e.size;if(i&&t.size){var o={};t.forEach((function(t,a){if(i){var s=!1,c=0;e.forEach((function(e,i){s||o[c]||(s=r(a,i,n)&&r(t,e,n))&&(o[c]=!0),c++})),i=s}}))}return i}(t,r,e,a):d&&(s=t instanceof Set,c=r instanceof Set,s||c)?s===c&&function(t,e,r,n){var i=t.size===e.size;if(i&&t.size){var o={};t.forEach((function(t){if(i){var a=!1,s=0;e.forEach((function(e){a||o[s]||(a=r(t,e,n))&&(o[s]=!0),s++})),i=a}}))}return i}(t,r,e,a):f(t,r,e,a)))}return t!==t&&r!==r}return r}var m=p(),b=p((function(){return n})),v=p(u()),g=p(u(n));t.circularDeepEqual=v,t.circularShallowEqual=g,t.createCustomEqual=p,t.deepEqual=m,t.sameValueZeroEqual=n,t.shallowEqual=b,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,r){"use strict";r.d(e,"a",(function(){return v}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(17),c=r(42);function u(t){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=b(t);if(e){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(t,e){return!e||"object"!==u(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(u,t);var e,r,n,o=p(u);function u(){return f(this,u),o.apply(this,arguments)}return e=u,n=[{key:"getPath",value:function(t,e,r,n,i,o){return"M".concat(t,",").concat(i,"v").concat(n,"M").concat(o,",").concat(e,"h").concat(r)}}],(r=[{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,f=t.top,h=t.left,d=t.className;return Object(s.h)(e)&&Object(s.h)(r)&&Object(s.h)(n)&&Object(s.h)(o)&&Object(s.h)(f)&&Object(s.h)(h)?i.a.createElement("path",l({},Object(c.c)(this.props,!0),{className:a()("recharts-cross",d),d:u.getPath(e,r,n,o,f,h)})):null}}])&&h(e.prototype,r),n&&h(e,n),u}(n.PureComponent);v.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0}},function(t,e,r){"use strict";r.d(e,"a",(function(){return w}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42),c=r(119),u=r(17);function l(t){return(l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=v(t);if(e){var i=v(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(t,e){return!e||"object"!==l(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,s=t.cornerRadius,u=t.cornerIsExternal,l=s*(a?1:-1)+n,f=Math.asin(s/l)/c.a,h=u?i:i+o*f,d=u?i-o*f:i;return{center:Object(c.c)(e,r,l,h),circleTangency:Object(c.c)(e,r,n,h),lineTangency:Object(c.c)(e,r,l*Math.cos(f*c.a),d),theta:f}},y=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return Object(u.j)(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),s=o+a,l=Object(c.c)(e,r,i,o),f=Object(c.c)(e,r,i,s),h="M ".concat(l.x,",").concat(l.y,"\n    A ").concat(i,",").concat(i,",0,\n    ").concat(+(Math.abs(a)>180),",").concat(+(o>s),",\n    ").concat(f.x,",").concat(f.y,"\n  ");if(n>0){var d=Object(c.c)(e,r,n,o),p=Object(c.c)(e,r,n,s);h+="L ".concat(p.x,",").concat(p.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(a)>180),",").concat(+(o<=s),",\n            ").concat(d.x,",").concat(d.y," Z")}else h+="L ".concat(e,",").concat(r," Z");return h},w=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,r,n,o=m(c);function c(){return h(this,c),o.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,c=t.cornerRadius,l=t.forceCornerRadius,h=t.cornerIsExternal,d=t.startAngle,p=t.endAngle,m=t.className;if(o<n||d===p)return null;var b,v=a()("recharts-sector",m),w=o-n,x=Object(u.d)(c,w,0,!0);return b=x>0&&Math.abs(d-p)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,s=t.cornerIsExternal,c=t.startAngle,l=t.endAngle,f=Object(u.j)(l-c),h=g({cx:e,cy:r,radius:i,angle:c,sign:f,cornerRadius:o,cornerIsExternal:s}),d=h.circleTangency,p=h.lineTangency,m=h.theta,b=g({cx:e,cy:r,radius:i,angle:l,sign:-f,cornerRadius:o,cornerIsExternal:s}),v=b.circleTangency,w=b.lineTangency,x=b.theta,O=s?Math.abs(c-l):Math.abs(c-l)-m-x;if(O<0)return a?"M ".concat(p.x,",").concat(p.y,"\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n      "):y({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:c,endAngle:l});var _="M ".concat(p.x,",").concat(p.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(d.x,",").concat(d.y,"\n    A").concat(i,",").concat(i,",0,").concat(+(O>180),",").concat(+(f<0),",").concat(v.x,",").concat(v.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(w.x,",").concat(w.y,"\n  ");if(n>0){var S=g({cx:e,cy:r,radius:n,angle:c,sign:f,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),k=S.circleTangency,E=S.lineTangency,M=S.theta,C=g({cx:e,cy:r,radius:n,angle:l,sign:-f,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),j=C.circleTangency,A=C.lineTangency,T=C.theta,P=s?Math.abs(c-l):Math.abs(c-l)-M-T;if(P<0&&0===o)return"".concat(_,"L").concat(e,",").concat(r,"Z");_+="L".concat(A.x,",").concat(A.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(j.x,",").concat(j.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(P>180),",").concat(+(f>0),",").concat(k.x,",").concat(k.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(E.x,",").concat(E.y,"Z")}else _+="L".concat(e,",").concat(r,"Z");return _}({cx:e,cy:r,innerRadius:n,outerRadius:o,cornerRadius:Math.min(x,w/2),forceCornerRadius:l,cornerIsExternal:h,startAngle:d,endAngle:p}):y({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:d,endAngle:p}),i.a.createElement("path",f({},Object(s.c)(this.props,!0),{className:v,d:b}))}}])&&d(e.prototype,r),n&&d(e,n),c}(n.PureComponent);w.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1}},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function s(t,e,r,n,o){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],s]:t._events[c].push(s):(t._events[c]=s,t._eventsCount++),t}function c(t,e){0===--t._eventsCount?t._events=new o:delete t._events[e]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},u.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);n<o;n++)a[n]=r[n].fn;return a},u.prototype.listenerCount=function(t){var e=i?i+t:t,r=this._events[e];return r?r.fn?1:r.length:0},u.prototype.emit=function(t,e,r,n,o,a){var s=i?i+t:t;if(!this._events[s])return!1;var c,u,l=this._events[s],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,r),!0;case 4:return l.fn.call(l.context,e,r,n),!0;case 5:return l.fn.call(l.context,e,r,n,o),!0;case 6:return l.fn.call(l.context,e,r,n,o,a),!0}for(u=1,c=new Array(f-1);u<f;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var h,d=l.length;for(u=0;u<d;u++)switch(l[u].once&&this.removeListener(t,l[u].fn,void 0,!0),f){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,e);break;case 3:l[u].fn.call(l[u].context,e,r);break;case 4:l[u].fn.call(l[u].context,e,r,n);break;default:if(!c)for(h=1,c=new Array(f-1);h<f;h++)c[h-1]=arguments[h];l[u].fn.apply(l[u].context,c)}}return!0},u.prototype.on=function(t,e,r){return s(this,t,e,r,!1)},u.prototype.once=function(t,e,r){return s(this,t,e,r,!0)},u.prototype.removeListener=function(t,e,r,n){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||n&&!a.once||r&&a.context!==r||c(this,o);else{for(var s=0,u=[],l=a.length;s<l;s++)(a[s].fn!==e||n&&!a[s].once||r&&a[s].context!==r)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:c(this,o)}return this},u.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,t.exports=u},function(t,e,r){"use strict";r.d(e,"a",(function(){return F}));var n=r(207),i=r.n(n),o=r(44),a=r.n(o),s=r(36),c=r.n(s),u=r(0),l=r.n(u),f=r(174),h=r(55),d=r.n(h),p=r(211),m=r(291),b=r(80),v=r(292),g=r(371),y=r(17),w=r(74),x=r(154),O=r(37),_=r(42);function S(t){return(S="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function E(){return(E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t){return function(t){if(Array.isArray(t))return T(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function L(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=N(t);if(e){var i=N(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return I(this,r)}}function I(t,e){return!e||"object"!==S(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var F=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(s,t);var e,r,n,o=L(s);function s(){var t;P(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).mainCurve=void 0,t.state={isAnimationFinished:!0,totalLength:0},t.getStrokeDasharray=function(t,e,r){for(var n=r.reduce((function(t,e){return t+e})),i=Math.floor(t/n),o=t%n,a=e-t,c=[],u=0,l=0;;l+=r[u],++u)if(l+r[u]>o){c=[].concat(A(r.slice(0,u)),[o-l]);break}var f=c.length%2===0?[0,a]:[a];return[].concat(A(s.repeat(r,i)),A(c),f).map((function(t){return"".concat(t,"px")})).join(", ")},t.id=Object(y.k)("recharts-line-"),t.pathRef=function(e){t.mainCurve=e},t.handleAnimationEnd=function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()},t.handleAnimationStart=function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()},t}return e=s,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!==0?[].concat(A(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(A(n),A(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(l.a.isValidElement(t))r=l.a.cloneElement(t,e);else if(a()(t))r=t(e);else{var n=d()("recharts-line-dot",t?t.className:"");r=l.a.createElement(m.a,E({},e,{className:n}))}return r}}],(r=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.points,r=t.xAxis,n=t.yAxis,i=t.layout,o=t.children,a=Object(w.a)(o,g.a.displayName);if(!a)return null;function s(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Object(O.w)(t.payload,e)}}return a.map((function(t,o){return l.a.cloneElement(t,{key:"bar-".concat(o),data:e,xAxis:r,yAxis:n,layout:i,dataPointFormatter:s})}))}},{key:"renderDots",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.dot,i=r.points,o=r.dataKey,a=Object(_.c)(this.props),c=Object(_.c)(n,!0),u=i.map((function(t,e){var r=C(C(C({key:"dot-".concat(e),r:3},a),c),{},{value:t.value,dataKey:o,cx:t.x,cy:t.y,index:e,payload:t.payload});return s.renderDotItem(n,r)})),f={clipPath:t?"url(#clipPath-".concat(e,")"):null};return l.a.createElement(b.a,E({className:"recharts-line-dots",key:"dots"},f),u)}},{key:"renderCurveStatically",value:function(t,e,r,n){var i=this.props,o=i.type,a=i.layout,s=i.connectNulls,c=(i.ref,k(i,["type","layout","connectNulls","ref"])),u=C(C(C({},Object(_.c)(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:o,layout:a,connectNulls:s});return l.a.createElement(p.a,E({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,s=n.animationBegin,c=n.animationDuration,u=n.animationEasing,h=n.animationId,d=n.animateNewValues,p=n.width,m=n.height,b=this.state,v=b.prevPoints,g=b.totalLength;return l.a.createElement(f.a,{begin:s,duration:c,isActive:a,easing:u,from:{t:0},to:{t:1},key:"line-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(v){var s=v.length/i.length,c=i.map((function(t,e){var r=Math.floor(e*s);if(v[r]){var n=v[r],i=Object(y.f)(n.x,t.x),o=Object(y.f)(n.y,t.y);return C(C({},t),{},{x:i(a),y:o(a)})}if(d){var c=Object(y.f)(2*p,t.x),u=Object(y.f)(m/2,t.y);return C(C({},t),{},{x:c(a),y:u(a)})}return C(C({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(c,t,e)}var u,l=Object(y.f)(0,g)(a);if(o){var f="".concat(o).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));u=r.getStrokeDasharray(l,g,f)}else u="".concat(l,"px ").concat(g-l,"px");return r.renderCurveStatically(i,t,e,{strokeDasharray:u})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,a=this.state,s=a.prevPoints,c=a.totalLength;return o&&n&&n.length&&(!s&&c>0||!i()(s,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.dot,n=t.points,i=t.className,o=t.xAxis,a=t.yAxis,s=t.top,u=t.left,f=t.width,h=t.height,p=t.isAnimationActive,m=t.id;if(e||!n||!n.length)return null;var g=this.state.isAnimationFinished,y=1===n.length,w=d()("recharts-line",i),x=o&&o.allowDataOverflow||a&&a.allowDataOverflow,O=c()(m)?this.id:m;return l.a.createElement(b.a,{className:w},x?l.a.createElement("defs",null,l.a.createElement("clipPath",{id:"clipPath-".concat(O)},l.a.createElement("rect",{x:u,y:s,width:f,height:h}))):null,!y&&this.renderCurve(x,O),this.renderErrorBar(),(y||r)&&this.renderDots(x,O),(!p||g)&&v.a.renderCallByParent(this.props,n))}}])&&D(e.prototype,r),n&&D(e,n),s}(u.PureComponent);F.displayName="Line",F.defaultProps={xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!x.a.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1},F.getComposedData=function(t){var e=t.props,r=t.xAxis,n=t.yAxis,i=t.xAxisTicks,o=t.yAxisTicks,a=t.dataKey,s=t.bandSize,u=t.displayedData,l=t.offset,f=e.layout;return C({points:u.map((function(t,e){var u=Object(O.w)(t,a);return"horizontal"===f?{x:Object(O.k)({axis:r,ticks:i,bandSize:s,entry:t,index:e}),y:c()(u)?null:n.scale(u),value:u,payload:t}:{x:c()(u)?null:r.scale(u),y:Object(O.k)({axis:n,ticks:o,bandSize:s,entry:t,index:e}),value:u,payload:t}})),layout:f},l)}},function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,r){"use strict";r.d(e,"a",(function(){return F}));var n=r(36),i=r.n(n),o=r(207),a=r.n(o),s=r(44),c=r.n(s),u=r(68),l=r.n(u),f=r(0),h=r.n(f),d=r(55),p=r.n(d),m=r(174),b=r(336),v=r(80),g=r(371),y=r(547),w=r(292),x=r(17),O=r(74),_=r(154),S=r(37),k=r(42);function E(t){return(E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function C(){return(C=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){T(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function T(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function L(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=N(t);if(e){var i=N(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return I(this,r)}}function I(t,e){return!e||"object"!==E(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var F=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(s,t);var e,r,n,o=L(s);function s(){var t;P(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).state={isAnimationFinished:!1},t.id=Object(x.k)("recharts-bar-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()},t}return e=s,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}},{key:"renderRectangle",value:function(t,e){return h.a.isValidElement(t)?h.a.cloneElement(t,e):c()(t)?t(e):h.a.createElement(b.a,e)}}],(r=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props.shape,n=Object(k.c)(this.props);return t&&t.map((function(t,i){var o=A(A(A({},n),t),{},{index:i});return h.a.createElement(v.a,C({className:"recharts-bar-rectangle"},Object(k.b)(e.props,t,i),{key:"rectangle-".concat(i)}),s.renderRectangle(r,o))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,i=e.isAnimationActive,o=e.animationBegin,a=e.animationDuration,s=e.animationEasing,c=e.animationId,u=this.state.prevData;return h.a.createElement(m.a,{begin:o,duration:a,isActive:i,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,o=r.map((function(t,e){var r=u&&u[e];if(r){var o=Object(x.f)(r.x,t.x),a=Object(x.f)(r.y,t.y),s=Object(x.f)(r.width,t.width),c=Object(x.f)(r.height,t.height);return A(A({},t),{},{x:o(i),y:a(i),width:s(i),height:c(i)})}if("horizontal"===n){var l=Object(x.f)(0,t.height)(i);return A(A({},t),{},{y:t.y+t.height-l,height:l})}var f=Object(x.f)(0,t.width)(i);return A(A({},t),{},{width:f})}));return h.a.createElement(v.a,null,t.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&a()(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,r=Object(k.c)(this.props.background);return e.map((function(e,n){e.value;var i=e.background,o=M(e,["value","background"]);if(!i)return null;var a=A(A(A(A(A({},o),{},{fill:"#eee"},i),r),Object(k.b)(t.props,e,n)),{},{index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return s.renderRectangle(t.props.background,a)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.data,r=t.xAxis,n=t.yAxis,i=t.layout,o=t.children,a=Object(O.a)(o,g.a.displayName);if(!a)return null;var s="vertical"===i?e[0].height/2:e[0].width/2;function c(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Object(S.w)(t,e)}}return a.map((function(t,o){return h.a.cloneElement(t,{key:"error-bar-".concat(o),data:e,xAxis:r,yAxis:n,layout:i,offset:s,dataPointFormatter:c})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,a=t.yAxis,s=t.left,c=t.top,u=t.width,l=t.height,f=t.isAnimationActive,d=t.background,m=t.id;if(e||!r||!r.length)return null;var b=this.state.isAnimationFinished,g=p()("recharts-bar",n),y=o&&o.allowDataOverflow||a&&a.allowDataOverflow,x=i()(m)?this.id:m;return h.a.createElement(v.a,{className:g},y?h.a.createElement("defs",null,h.a.createElement("clipPath",{id:"clipPath-".concat(x)},h.a.createElement("rect",{x:s,y:c,width:u,height:l}))):null,h.a.createElement(v.a,{className:"recharts-bar-rectangles",clipPath:y?"url(#clipPath-".concat(x,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||b)&&w.a.renderCallByParent(this.props,r))}}])&&D(e.prototype,r),n&&D(e,n),s}(f.PureComponent);F.displayName="Bar",F.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!_.a.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},F.getComposedData=function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,s=t.xAxisTicks,c=t.yAxisTicks,u=t.stackedData,f=t.dataStartIndex,h=t.displayedData,d=t.offset,p=Object(S.e)(n,r);if(!p)return null;var m=e.layout,b=r.props,v=b.dataKey,g=b.children,w=b.minPointSize,_="horizontal"===m?a:o,k=u?_.scale.domain():null,E=Object(S.i)({numericAxis:_}),M=Object(O.a)(g,y.a.displayName),C=h.map((function(t,e){var n,h,d,b,g,y;if(u?n=Object(S.C)(u[f+e],k):(n=Object(S.w)(t,v),l()(n)||(n=[E,n])),"horizontal"===m){if(h=Object(S.j)({axis:o,ticks:s,bandSize:i,offset:p.offset,entry:t,index:e}),d=a.scale(n[1]),b=p.size,g=a.scale(n[0])-a.scale(n[1]),y={x:h,y:a.y,width:b,height:a.height},Math.abs(w)>0&&Math.abs(g)<Math.abs(w)){var O=Object(x.j)(g||w)*(Math.abs(w)-Math.abs(g));d-=O,g+=O}}else h=o.scale(n[0]),d=Object(S.j)({axis:a,ticks:c,bandSize:i,offset:p.offset,entry:t,index:e}),b=o.scale(n[1])-o.scale(n[0]),g=p.size,y={x:o.x,y:d,width:o.width,height:g},Math.abs(w)>0&&Math.abs(b)<Math.abs(w)&&(b+=Object(x.j)(b||w)*(Math.abs(w)-Math.abs(b)));return A(A(A({},t),{},{x:h,y:d,width:b,height:g,value:u?n:n[1],payload:t,background:y},M&&M[e]&&M[e].props),{},{tooltipPayload:[Object(S.v)(r,t)],tooltipPosition:{x:h+b/2,y:d+g/2}})}));return A({data:C,layout:m},d)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){return null};n.displayName="XAxis",n.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){return null};n.displayName="YAxis",n.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M13 3h-2v10h2V3zm4.83 2.17-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"}),"PowerSettingsNew");e.default=a},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(0);function i(t){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!==typeof e?u(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h=function(t){function e(){var t,r;o(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return f(u(r=s(this,(t=c(e)).call.apply(t,[this].concat(i)))),"state",{bootstrapped:!1}),f(u(r),"_unsubscribe",void 0),f(u(r),"handlePersistorState",(function(){r.props.persistor.getState().bootstrapped&&(r.props.onBeforeLift?Promise.resolve(r.props.onBeforeLift()).finally((function(){return r.setState({bootstrapped:!0})})):r.setState({bootstrapped:!0}),r._unsubscribe&&r._unsubscribe())})),r}var r,n,i;return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(e,t),r=e,(n=[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"===typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}])&&a(r.prototype,n),i&&a(r,i),e}(n.PureComponent);f(h,"defaultProps",{children:null,loading:null})},function(t,e,r){"use strict";r.d(e,"a",(function(){return I}));var n=r(73),i=r(20),o=r(515),a=r(2),s=["xs","sm","md","lg","xl"];function c(t){var e=t.values,r=void 0===e?{xs:0,sm:600,md:960,lg:1280,xl:1920}:e,n=t.unit,o=void 0===n?"px":n,c=t.step,u=void 0===c?5:c,l=Object(i.a)(t,["values","unit","step"]);function f(t){var e="number"===typeof r[t]?r[t]:t;return"@media (min-width:".concat(e).concat(o,")")}function h(t,e){var n=s.indexOf(e);return n===s.length-1?f(t):"@media (min-width:".concat("number"===typeof r[t]?r[t]:t).concat(o,") and ")+"(max-width:".concat((-1!==n&&"number"===typeof r[s[n+1]]?r[s[n+1]]:e)-u/100).concat(o,")")}return Object(a.a)({keys:s,values:r,up:f,down:function(t){var e=s.indexOf(t)+1,n=r[s[e]];return e===s.length?f("xs"):"@media (max-width:".concat(("number"===typeof n&&e>0?n:t)-u/100).concat(o,")")},between:h,only:function(t){return h(t,t)},width:function(t){return r[t]}},l)}function u(t,e,r){var i;return Object(a.a)({gutters:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n      paddingLeft: theme.spacing(2),\n      paddingRight: theme.spacing(2),\n      [theme.breakpoints.up('sm')]: {\n        paddingLeft: theme.spacing(3),\n        paddingRight: theme.spacing(3),\n      },\n      "].join("\n")),Object(a.a)({paddingLeft:e(2),paddingRight:e(2)},r,Object(n.a)({},t.up("sm"),Object(a.a)({paddingLeft:e(3),paddingRight:e(3)},r[t.up("sm")])))},toolbar:(i={minHeight:56},Object(n.a)(i,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(n.a)(i,t.up("sm"),{minHeight:64}),i)},r)}var l=r(519),f={black:"#000",white:"#fff"},h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},d={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},p={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},b={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=r(62),w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:h[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:h[800],default:"#303030"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(t,e,r,n){var i=n.light||n,o=n.dark||1.5*n;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:"light"===e?t.light=Object(y.e)(t.main,i):"dark"===e&&(t.dark=Object(y.b)(t.main,o)))}function _(t){var e=t.primary,r=void 0===e?{light:d[300],main:d[500],dark:d[700]}:e,n=t.secondary,s=void 0===n?{light:p.A200,main:p.A400,dark:p.A700}:n,c=t.error,u=void 0===c?{light:m[300],main:m[500],dark:m[700]}:c,_=t.warning,S=void 0===_?{light:b[300],main:b[500],dark:b[700]}:_,k=t.info,E=void 0===k?{light:v[300],main:v[500],dark:v[700]}:k,M=t.success,C=void 0===M?{light:g[300],main:g[500],dark:g[700]}:M,j=t.type,A=void 0===j?"light":j,T=t.contrastThreshold,P=void 0===T?3:T,D=t.tonalOffset,R=void 0===D?.2:D,L=Object(i.a)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function I(t){return Object(y.d)(t,x.text.primary)>=P?x.text.primary:w.text.primary}var N=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=Object(a.a)({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(Object(l.a)(4,e));if("string"!==typeof t.main)throw new Error(Object(l.a)(5,JSON.stringify(t.main)));return O(t,"light",r,R),O(t,"dark",n,R),t.contrastText||(t.contrastText=I(t.main)),t},F={dark:x,light:w};return Object(o.a)(Object(a.a)({common:f,type:A,primary:N(r),secondary:N(s,"A400","A200","A700"),error:N(u),warning:N(S),info:N(E),success:N(C),grey:h,contrastThreshold:P,getContrastText:I,augmentColor:N,tonalOffset:R},F[A]),L)}function S(t){return Math.round(1e5*t)/1e5}function k(t){return S(t)}var E={textTransform:"uppercase"};function M(t,e){var r="function"===typeof e?e(t):e,n=r.fontFamily,s=void 0===n?'"Roboto", "Helvetica", "Arial", sans-serif':n,c=r.fontSize,u=void 0===c?14:c,l=r.fontWeightLight,f=void 0===l?300:l,h=r.fontWeightRegular,d=void 0===h?400:h,p=r.fontWeightMedium,m=void 0===p?500:p,b=r.fontWeightBold,v=void 0===b?700:b,g=r.htmlFontSize,y=void 0===g?16:g,w=r.allVariants,x=r.pxToRem,O=Object(i.a)(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var _=u/14,M=x||function(t){return"".concat(t/y*_,"rem")},C=function(t,e,r,n,i){return Object(a.a)({fontFamily:s,fontWeight:t,fontSize:M(e),lineHeight:r},'"Roboto", "Helvetica", "Arial", sans-serif'===s?{letterSpacing:"".concat(S(n/e),"em")}:{},i,w)},j={h1:C(f,96,1.167,-1.5),h2:C(f,60,1.2,-.5),h3:C(d,48,1.167,0),h4:C(d,34,1.235,.25),h5:C(d,24,1.334,0),h6:C(m,20,1.6,.15),subtitle1:C(d,16,1.75,.15),subtitle2:C(m,14,1.57,.1),body1:C(d,16,1.5,.15),body2:C(d,14,1.43,.15),button:C(m,14,1.75,.4,E),caption:C(d,12,1.66,.4),overline:C(d,12,2.66,1,E)};return Object(o.a)(Object(a.a)({htmlFontSize:y,pxToRem:M,round:k,fontFamily:s,fontSize:u,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:v},j),O,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var j=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],A={borderRadius:4},T=r(1459);function P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(T.a)({spacing:t}),r=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return 0===r.length?e(1):1===r.length?e(r[0]):r.map((function(t){if("string"===typeof t)return t;var r=e(t);return"number"===typeof r?"".concat(r,"px"):r})).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return t}}),r.mui=!0,r}var D=r(140),R=r(521);function L(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,r=void 0===e?{}:e,n=t.mixins,a=void 0===n?{}:n,s=t.palette,l=void 0===s?{}:s,f=t.spacing,h=t.typography,d=void 0===h?{}:h,p=Object(i.a)(t,["breakpoints","mixins","palette","spacing","typography"]),m=_(l),b=c(r),v=P(f),g=Object(o.a)({breakpoints:b,direction:"ltr",mixins:u(b,v,a),overrides:{},palette:m,props:{},shadows:j,typography:M(m,d),spacing:v,shape:A,transitions:D.a,zIndex:R.a},p),y=arguments.length,w=new Array(y>1?y-1:0),x=1;x<y;x++)w[x-1]=arguments[x];return g=w.reduce((function(t,e){return Object(o.a)(t,e)}),g)}function I(){return L.apply(void 0,arguments)}e.b=L},function(t,e,r){"use strict";var n=r(1),i=r(2),o=r(14),a=r(558),s=r(1322);function c(t,e,r){var o;return Object(i.a)({toolbar:(o={minHeight:56},Object(n.a)(o,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(n.a)(o,t.up("sm"),{minHeight:64}),o)},r)}var u=r(553),l=r(147),f={black:"#000",white:"#fff"},h=r(826),d={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},p={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},b={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(t,e,r,n){var i=n.light||n,o=n.dark||1.5*n;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:"light"===e?t.light=Object(l.e)(t.main,i):"dark"===e&&(t.dark=Object(l.b)(t.main,o)))}function _(t){var e=t.mode,r=void 0===e?"light":e,n=t.contrastThreshold,s=void 0===n?3:n,c=t.tonalOffset,_=void 0===c?.2:c,S=Object(o.a)(t,y),k=t.primary||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:b[200],light:b[50],dark:b[400]}:{main:b[700],light:b[400],dark:b[800]}}(r),E=t.secondary||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:d[200],light:d[50],dark:d[400]}:{main:d[500],light:d[300],dark:d[700]}}(r),M=t.error||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:p[500],light:p[300],dark:p[700]}:{main:p[700],light:p[400],dark:p[800]}}(r),C=t.info||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(r),j=t.success||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(r),A=t.warning||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(r);function T(t){return Object(l.d)(t,x.text.primary)>=s?x.text.primary:w.text.primary}var P=function(t){var e=t.color,r=t.name,n=t.mainShade,o=void 0===n?500:n,a=t.lightShade,s=void 0===a?300:a,c=t.darkShade,l=void 0===c?700:c;if(!(e=Object(i.a)({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error(Object(u.a)(11,r?" (".concat(r,")"):"",o));if("string"!==typeof e.main)throw new Error(Object(u.a)(12,r?" (".concat(r,")"):"",JSON.stringify(e.main)));return O(e,"light",s,_),O(e,"dark",l,_),e.contrastText||(e.contrastText=T(e.main)),e},D={dark:x,light:w};return Object(a.a)(Object(i.a)({common:f,mode:r,primary:P({color:k,name:"primary"}),secondary:P({color:E,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:M,name:"error"}),warning:P({color:A,name:"warning"}),info:P({color:C,name:"info"}),success:P({color:j,name:"success"}),grey:h.a,contrastThreshold:s,getContrastText:T,augmentColor:P,tonalOffset:_},D[r]),S)}var S=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var k={textTransform:"uppercase"};function E(t,e){var r="function"===typeof e?e(t):e,n=r.fontFamily,s=void 0===n?'"Roboto", "Helvetica", "Arial", sans-serif':n,c=r.fontSize,u=void 0===c?14:c,l=r.fontWeightLight,f=void 0===l?300:l,h=r.fontWeightRegular,d=void 0===h?400:h,p=r.fontWeightMedium,m=void 0===p?500:p,b=r.fontWeightBold,v=void 0===b?700:b,g=r.htmlFontSize,y=void 0===g?16:g,w=r.allVariants,x=r.pxToRem,O=Object(o.a)(r,S);var _=u/14,E=x||function(t){return"".concat(t/y*_,"rem")},M=function(t,e,r,n,o){return Object(i.a)({fontFamily:s,fontWeight:t,fontSize:E(e),lineHeight:r},'"Roboto", "Helvetica", "Arial", sans-serif'===s?{letterSpacing:"".concat((a=n/e,Math.round(1e5*a)/1e5),"em")}:{},o,w);var a},C={h1:M(f,96,1.167,-1.5),h2:M(f,60,1.2,-.5),h3:M(d,48,1.167,0),h4:M(d,34,1.235,.25),h5:M(d,24,1.334,0),h6:M(m,20,1.6,.15),subtitle1:M(d,16,1.75,.15),subtitle2:M(m,14,1.57,.1),body1:M(d,16,1.5,.15),body2:M(d,14,1.43,.15),button:M(m,14,1.75,.4,k),caption:M(d,12,1.66,.4),overline:M(d,12,2.66,1,k)};return Object(a.a)(Object(i.a)({htmlFontSize:y,pxToRem:E,fontFamily:s,fontSize:u,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:v},C),O,{clone:!1})}function M(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var C=["none",M(0,2,1,-1,0,1,1,0,0,1,3,0),M(0,3,1,-2,0,2,2,0,0,1,5,0),M(0,3,3,-2,0,3,4,0,0,1,8,0),M(0,2,4,-1,0,4,5,0,0,1,10,0),M(0,3,5,-1,0,5,8,0,0,1,14,0),M(0,3,5,-1,0,6,10,0,0,1,18,0),M(0,4,5,-2,0,7,10,1,0,2,16,1),M(0,5,5,-3,0,8,10,1,0,3,14,2),M(0,5,6,-3,0,9,12,1,0,3,16,2),M(0,6,6,-3,0,10,14,1,0,4,18,3),M(0,6,7,-4,0,11,15,1,0,4,20,3),M(0,7,8,-4,0,12,17,2,0,5,22,4),M(0,7,8,-4,0,13,19,2,0,5,24,4),M(0,7,9,-4,0,14,21,2,0,5,26,4),M(0,8,9,-5,0,15,22,2,0,6,28,5),M(0,8,10,-5,0,16,24,2,0,6,30,5),M(0,8,11,-5,0,17,26,2,0,6,32,5),M(0,9,11,-5,0,18,28,2,0,7,34,6),M(0,9,12,-6,0,19,29,2,0,7,36,6),M(0,10,13,-6,0,20,31,3,0,8,38,7),M(0,10,13,-6,0,21,33,3,0,8,40,7),M(0,10,14,-6,0,22,35,3,0,8,42,7),M(0,11,14,-7,0,23,36,3,0,9,44,8),M(0,11,15,-7,0,24,38,3,0,9,46,8)],j=r(133),A={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},T=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.mixins,r=void 0===e?{}:e,n=t.palette,u=void 0===n?{}:n,l=t.transitions,f=void 0===l?{}:l,h=t.typography,d=void 0===h?{}:h,p=Object(o.a)(t,T),m=_(u),b=Object(s.a)(t),v=Object(a.a)(b,{mixins:c(b.breakpoints,b.spacing,r),palette:m,shadows:C.slice(),typography:E(m,d),transitions:Object(j.a)(f),zIndex:Object(i.a)({},A)});v=Object(a.a)(v,p);for(var g=arguments.length,y=new Array(g>1?g-1:0),w=1;w<g;w++)y[w-1]=arguments[w];return v=y.reduce((function(t,e){return Object(a.a)(t,e)}),v)}e.a=P},function(t,e,r){"use strict";r.d(e,"a",(function(){return Pt}));var n=r(12),i=r.n(n),o=r(63),a="application/font-woff",s={woff:a,woff2:a,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function c(t){var e=function(t){var e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}(t).toLowerCase();return s[e]||""}function u(t){return t.split(/,/)[1]}function l(t){return-1!==t.search(/^(data:)/)}function f(t,e){return"data:".concat(e,";base64,").concat(t)}function h(t,e,r){return d.apply(this,arguments)}function d(){return(d=Object(o.a)(i.a.mark((function t(e,r,n){var o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e,r);case 2:if(404!==(o=t.sent).status){t.next=5;break}throw new Error('Resource "'.concat(o.url,'" not found'));case 5:return t.next=7,o.blob();case 7:return a=t.sent,t.abrupt("return",new Promise((function(t,e){var r=new FileReader;r.onerror=e,r.onloadend=function(){try{t(n({res:o,result:r.result}))}catch(i){e(i)}},r.readAsDataURL(a)})));case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var p={};function m(t,e,r){var n=t.replace(/\?.*/,"");return r&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?"[".concat(e,"]").concat(n):n}function b(t,e,r){return v.apply(this,arguments)}function v(){return(v=Object(o.a)(i.a.mark((function t(e,r,n){var o,a,s,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=m(e,r,n.includeQueryParams),null==p[o]){t.next=3;break}return t.abrupt("return",p[o]);case 3:return n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime()),t.prev=4,t.next=7,h(e,n.fetchRequestInit,(function(t){var e=t.res,n=t.result;return r||(r=e.headers.get("Content-Type")||""),u(n)}));case 7:s=t.sent,a=f(s,r),t.next=17;break;case 11:t.prev=11,t.t0=t.catch(4),a=n.imagePlaceholder||"",c="Failed to fetch resource: ".concat(e),t.t0&&(c="string"===typeof t.t0?t.t0:t.t0.message),c&&console.warn(c);case 17:return p[o]=a,t.abrupt("return",a);case 19:case"end":return t.stop()}}),t,null,[[4,11]])})))).apply(this,arguments)}function g(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;var r=document.implementation.createHTMLDocument(),n=r.createElement("base"),i=r.createElement("a");return r.head.appendChild(n),r.body.appendChild(i),e&&(n.href=e),i.href=t,i.href}var y=function(){var t=0;return function(){return t+=1,"u".concat("0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)).concat(t)}}();function w(t){for(var e=[],r=0,n=t.length;r<n;r++)e.push(t[r]);return e}function x(t,e){var r=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return r?parseFloat(r.replace("px","")):0}function O(t){var e=x(t,"border-left-width"),r=x(t,"border-right-width");return t.clientWidth+e+r}function _(t){var e=x(t,"border-top-width"),r=x(t,"border-bottom-width");return t.clientHeight+e+r}function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.width||O(t),n=e.height||_(t);return{width:r,height:n}}function k(){var t,e;try{e=process}catch(n){}var r=e&&e.env?e.env.devicePixelRatio:null;return r&&(t=parseInt(r,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}function E(t){(t.width>16384||t.height>16384)&&(t.width>16384&&t.height>16384?t.width>t.height?(t.height*=16384/t.width,t.width=16384):(t.width*=16384/t.height,t.height=16384):t.width>16384?(t.height*=16384/t.width,t.width=16384):(t.width*=16384/t.height,t.height=16384))}function M(t){return new Promise((function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.crossOrigin="anonymous",n.decoding="sync",n.src=t}))}function C(t){return j.apply(this,arguments)}function j(){return(j=Object(o.a)(i.a.mark((function t(e){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then((function(){return(new XMLSerializer).serializeToString(e)})).then(encodeURIComponent).then((function(t){return"data:image/svg+xml;charset=utf-8,".concat(t)})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function A(t,e,r){return T.apply(this,arguments)}function T(){return(T=Object(o.a)(i.a.mark((function t(e,r,n){var o,a,s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject"),a.setAttribute("width","".concat(r)),a.setAttribute("height","".concat(n)),a.setAttribute("viewBox","0 0 ".concat(r," ").concat(n)),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),a.appendChild(s),s.appendChild(e),t.abrupt("return",C(a));case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,e,r){var n=".".concat(t,":").concat(e),i=r.cssText?function(t){var e=t.getPropertyValue("content");return"".concat(t.cssText," content: '").concat(e.replace(/'|"/g,""),"';")}(r):function(t){return w(t).map((function(e){var r=t.getPropertyValue(e),n=t.getPropertyPriority(e);return"".concat(e,": ").concat(r).concat(n?" !important":"",";")})).join(" ")}(r);return document.createTextNode("".concat(n,"{").concat(i,"}"))}function D(t,e,r){var n=window.getComputedStyle(t,r),i=n.getPropertyValue("content");if(""!==i&&"none"!==i){var o=y();try{e.className="".concat(e.className," ").concat(o)}catch(s){return}var a=document.createElement("style");a.appendChild(P(o,r,n)),e.appendChild(a)}}function R(t){return L.apply(this,arguments)}function L(){return(L=Object(o.a)(i.a.mark((function t(e){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("data:,"!==(r=e.toDataURL())){t.next=3;break}return t.abrupt("return",e.cloneNode(!1));case 3:return t.abrupt("return",M(r));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function I(t,e){return N.apply(this,arguments)}function N(){return(N=Object(o.a)(i.a.mark((function t(e,r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.poster,o=c(n),t.next=4,b(n,o,r);case 4:return a=t.sent,t.abrupt("return",M(a));case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function F(t,e){return B.apply(this,arguments)}function B(){return(B=Object(o.a)(i.a.mark((function t(e,r){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof HTMLCanvasElement)){t.next=2;break}return t.abrupt("return",R(e));case 2:if(!(e instanceof HTMLVideoElement&&e.poster)){t.next=4;break}return t.abrupt("return",I(e,r));case 4:return t.abrupt("return",e.cloneNode(!1));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var z=function(t){return null!=t.tagName&&"SLOT"===t.tagName.toUpperCase()};function H(t,e,r){return U.apply(this,arguments)}function U(){return(U=Object(o.a)(i.a.mark((function t(e,r,n){var o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(0===(a=z(e)&&e.assignedNodes?w(e.assignedNodes()):w((null!==(o=e.shadowRoot)&&void 0!==o?o:e).childNodes)).length||e instanceof HTMLVideoElement)){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,a.reduce((function(t,e){return t.then((function(){return q(e,n)})).then((function(t){t&&r.appendChild(t)}))}),Promise.resolve());case 5:return t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function W(t,e){return e instanceof Element&&(function(t,e){var r=e.style;if(r){var n=window.getComputedStyle(t);n.cssText?(r.cssText=n.cssText,r.transformOrigin=n.transformOrigin):w(n).forEach((function(t){var e=n.getPropertyValue(t);if("font-size"===t&&e.endsWith("px")){var i=Math.floor(parseFloat(e.substring(0,e.length-2)))-.1;e="".concat(i,"px")}r.setProperty(t,e,n.getPropertyPriority(t))}))}}(t,e),function(t,e){D(t,e,":before"),D(t,e,":after")}(t,e),function(t,e){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}(t,e),function(t,e){if(t instanceof HTMLSelectElement){var r=e,n=Array.from(r.children).find((function(e){return t.value===e.getAttribute("value")}));n&&n.setAttribute("selected","")}}(t,e)),e}function q(t,e,r){return V.apply(this,arguments)}function V(){return(V=Object(o.a)(i.a.mark((function t(e,r,n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n||!r.filter||r.filter(e)){t.next=2;break}return t.abrupt("return",null);case 2:return t.abrupt("return",Promise.resolve(e).then((function(t){return F(t,r)})).then((function(t){return H(e,t,r)})).then((function(t){return W(e,t)})));case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var G=r(3),Y=/url\((['"]?)([^'"]+?)\1\)/g,X=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,$=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function K(t){var e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp("(url\\(['\"]?)(".concat(e,")(['\"]?\\))"),"g")}function Z(t){var e=[];return t.replace(Y,(function(t,r,n){return e.push(n),t})),e.filter((function(t){return!l(t)}))}function J(t,e,r,n,i){return Q.apply(this,arguments)}function Q(){return(Q=Object(o.a)(i.a.mark((function t(e,r,n,o,a){var s,u,l,h;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,s=n?g(r,n):r,u=c(r),!a){t.next=10;break}return t.next=6,a(s);case 6:h=t.sent,l=f(h,u),t.next=13;break;case 10:return t.next=12,b(s,u,o);case 12:l=t.sent;case 13:return t.abrupt("return",e.replace(K(r),"$1".concat(l,"$3")));case 16:t.prev=16,t.t0=t.catch(0);case 18:return t.abrupt("return",e);case 19:case"end":return t.stop()}}),t,null,[[0,16]])})))).apply(this,arguments)}function tt(t,e){var r=e.preferredFontFormat;return r?t.replace($,(function(t){for(;;){var e=X.exec(t)||[],n=Object(G.a)(e,3),i=n[0],o=n[2];if(!o)return"";if(o===r)return"src: ".concat(i,";")}})):t}function et(t){return-1!==t.search(Y)}function rt(t,e,r){return nt.apply(this,arguments)}function nt(){return(nt=Object(o.a)(i.a.mark((function t(e,r,n){var o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(et(e)){t.next=2;break}return t.abrupt("return",e);case 2:return o=tt(e,n),a=Z(o),t.abrupt("return",a.reduce((function(t,e){return t.then((function(t){return J(t,e,r,n)}))}),Promise.resolve(o)));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function it(t,e){return ot.apply(this,arguments)}function ot(){return(ot=Object(o.a)(i.a.mark((function t(e,r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(o=null===(n=e.style)||void 0===n?void 0:n.getPropertyValue("background"))){t.next=6;break}return t.next=4,rt(o,null,r);case 4:a=t.sent,e.style.setProperty("background",a,e.style.getPropertyPriority("background"));case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function at(t,e){return st.apply(this,arguments)}function st(){return(st=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof HTMLImageElement&&!l(e.src)||e instanceof SVGImageElement&&!l(e.href.baseVal)){t.next=2;break}return t.abrupt("return");case 2:return n=e instanceof HTMLImageElement?e.src:e.href.baseVal,t.next=5,b(n,c(n),r);case 5:return o=t.sent,t.next=8,new Promise((function(t,r){e.onload=t,e.onerror=r,e instanceof HTMLImageElement?(e.srcset="",e.src=o):e.href.baseVal=o}));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ct(t,e){return ut.apply(this,arguments)}function ut(){return(ut=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=w(e.childNodes),o=n.map((function(t){return lt(t,r)})),t.next=4,Promise.all(o).then((function(){return e}));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function lt(t,e){return ft.apply(this,arguments)}function ft(){return(ft=Object(o.a)(i.a.mark((function t(e,r){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof Element)){t.next=7;break}return t.next=3,it(e,r);case 3:return t.next=5,at(e,r);case 5:return t.next=7,ct(e,r);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ht(t,e){var r=t.style;e.backgroundColor&&(r.backgroundColor=e.backgroundColor),e.width&&(r.width="".concat(e.width,"px")),e.height&&(r.height="".concat(e.height,"px"));var n=e.style;return null!=n&&Object.keys(n).forEach((function(t){r[t]=n[t]})),t}var dt={};function pt(t){return mt.apply(this,arguments)}function mt(){return(mt=Object(o.a)(i.a.mark((function t(e){var r,n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==(r=dt[e])){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,fetch(e);case 5:return n=t.sent,t.next=8,n.text();case 8:return o=t.sent,r={url:e,cssText:o},dt[e]=r,t.abrupt("return",r);case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function bt(t,e){return vt.apply(this,arguments)}function vt(){return(vt=Object(o.a)(i.a.mark((function t(e,r){var n,a,s,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cssText,a=/url\(["']?([^"')]+)["']?\)/g,s=n.match(/url\([^)]+\)/g)||[],c=s.map(function(){var t=Object(o.a)(i.a.mark((function t(o){var s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o.replace(a,"$1")).startsWith("https://")||(s=new URL(s,e.url).href),t.abrupt("return",h(s,r.fetchRequestInit,(function(t){var e=t.result;return n=n.replace(o,"url(".concat(e,")")),[o,e]})));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),t.abrupt("return",Promise.all(c).then((function(){return n})));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function gt(t){if(null==t)return[];for(var e=[],r=t.replace(/(\/\*[\s\S]*?\*\/)/gi,""),n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");;){var i=n.exec(r);if(null===i)break;e.push(i[0])}r=r.replace(n,"");for(var o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");;){var s=o.exec(r);if(null===s){if(null===(s=a.exec(r)))break;o.lastIndex=a.lastIndex}else a.lastIndex=o.lastIndex;e.push(s[0])}return e}function yt(t,e){return wt.apply(this,arguments)}function wt(){return(wt=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],o=[],e.forEach((function(t){if("cssRules"in t)try{w(t.cssRules||[]).forEach((function(e,n){if(e.type===CSSRule.IMPORT_RULE){var i=n+1,a=pt(e.href).then((function(t){return bt(t,r)})).then((function(e){return gt(e).forEach((function(e){try{t.insertRule(e,e.startsWith("@import")?i+=1:t.cssRules.length)}catch(r){console.error("Error inserting rule from remote css",{rule:e,error:r})}}))})).catch((function(t){console.error("Error loading remote css",t.toString())}));o.push(a)}}))}catch(i){var n=e.find((function(t){return null==t.href}))||document.styleSheets[0];null!=t.href&&o.push(pt(t.href).then((function(t){return bt(t,r)})).then((function(e){return gt(e).forEach((function(e){n.insertRule(e,t.cssRules.length)}))})).catch((function(t){console.error("Error loading remote stylesheet",t.toString())}))),console.error("Error inlining remote css file",i.toString())}})),t.abrupt("return",Promise.all(o).then((function(){return e.forEach((function(t){if("cssRules"in t)try{w(t.cssRules||[]).forEach((function(t){n.push(t)}))}catch(e){console.error("Error while reading CSS rules from ".concat(t.href),e.toString())}})),n})));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function xt(t){return t.filter((function(t){return t.type===CSSRule.FONT_FACE_RULE})).filter((function(t){return et(t.style.getPropertyValue("src"))}))}function Ot(t,e){return _t.apply(this,arguments)}function _t(){return(_t=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e.ownerDocument){t.next=2;break}throw new Error("Provided element is not within a Document");case 2:return n=w(e.ownerDocument.styleSheets),t.next=5,yt(n,r);case 5:return o=t.sent,t.abrupt("return",xt(o));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function St(t,e){return kt.apply(this,arguments)}function kt(){return(kt=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ot(e,r);case 2:return n=t.sent,t.next=5,Promise.all(n.map((function(t){var e=t.parentStyleSheet?t.parentStyleSheet.href:null;return rt(t.cssText,e,r)})));case 5:return o=t.sent,t.abrupt("return",o.join("\n"));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Et(t,e){return Mt.apply(this,arguments)}function Mt(){return(Mt=Object(o.a)(i.a.mark((function t(e,r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==r.fontEmbedCSS){t.next=4;break}t.t0=r.fontEmbedCSS,t.next=12;break;case 4:if(!r.skipFonts){t.next=8;break}t.t1=null,t.next=11;break;case 8:return t.next=10,St(e,r);case 10:t.t1=t.sent;case 11:t.t0=t.t1;case 12:(n=t.t0)&&(o=document.createElement("style"),a=document.createTextNode(n),o.appendChild(a),e.firstChild?e.insertBefore(o,e.firstChild):e.appendChild(o));case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Ct(t){return jt.apply(this,arguments)}function jt(){return(jt=Object(o.a)(i.a.mark((function t(e){var r,n,o,a,s,c,u=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=u.length>1&&void 0!==u[1]?u[1]:{},n=S(e,r),o=n.width,a=n.height,t.next=4,q(e,r,!0);case 4:return s=t.sent,t.next=7,Et(s,r);case 7:return t.next=9,lt(s,r);case 9:return ht(s,r),t.next=12,A(s,o,a);case 12:return c=t.sent,t.abrupt("return",c);case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function At(t){return Tt.apply(this,arguments)}function Tt(){return(Tt=Object(o.a)(i.a.mark((function t(e){var r,n,o,a,s,c,u,l,f,h,d,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},n=S(e,r),o=n.width,a=n.height,t.next=4,Ct(e,r);case 4:return s=t.sent,t.next=7,M(s);case 7:return c=t.sent,u=document.createElement("canvas"),l=u.getContext("2d"),f=r.pixelRatio||k(),h=r.canvasWidth||o,d=r.canvasHeight||a,u.width=h*f,u.height=d*f,r.skipAutoScale||E(u),u.style.width="".concat(h),u.style.height="".concat(d),r.backgroundColor&&(l.fillStyle=r.backgroundColor,l.fillRect(0,0,u.width,u.height)),l.drawImage(c,0,0,u.width,u.height),t.abrupt("return",u);case 21:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Pt(t){return Dt.apply(this,arguments)}function Dt(){return(Dt=Object(o.a)(i.a.mark((function t(e){var r,n,o=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{},t.next=3,At(e,r);case 3:return n=t.sent,t.abrupt("return",n.toDataURL());case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},function(t,e,r){"use strict";var n=r(93),i=r(2),o=r(14),a=r(57),s=r(25),c=r(197);function u(){var t={};return t.promise=new Promise((function(e,r){t.resolve=e,t.reject=r})),t}var l=u,f=(r(490),[]),h=0;function d(t){try{b(),t()}finally{v()}}function p(t){f.push(t),h||(b(),g())}function m(t){try{return b(),t()}finally{g()}}function b(){h++}function v(){h--}function g(){var t;for(v();!h&&void 0!==(t=f.shift());)d(t)}var y=function(t){return function(e){return t.some((function(t){return S(t)(e)}))}},w=function(t){return function(e){return t(e)}},x=function(t){return function(e){return e.type===String(t)}},O=function(t){return function(e){return e.type===t}},_=function(){return s.G};function S(t){var e="*"===t?_:Object(a.k)(t)?x:Object(a.a)(t)?y:Object(a.l)(t)?x:Object(a.d)(t)?w:Object(a.m)(t)?O:null;if(null===e)throw new Error("invalid pattern: "+t);return e(t)}var k={type:n.b},E=function(t){return t&&t.type===n.b};function M(t){void 0===t&&(t=Object(s.A)());var e=!1,r=[];return{take:function(n){e&&t.isEmpty()?n(k):t.isEmpty()?(r.push(n),n.cancel=function(){Object(s.N)(r,n)}):n(t.take())},put:function(n){if(!e){if(0===r.length)return t.put(n);r.shift()(n)}},flush:function(r){e&&t.isEmpty()?r(k):r(t.flush())},close:function(){if(!e){e=!0;var t=r;r=[];for(var n=0,i=t.length;n<i;n++){(0,t[n])(k)}}}}}function C(){var t=function(){var t,e=!1,r=[],i=r,o=function(){i===r&&(i=r.slice())},a=function(){e=!0;var t=r=i;i=[],t.forEach((function(t){t(k)}))};return(t={})[n.e]=!0,t.put=function(t){if(!e)if(E(t))a();else for(var o=r=i,s=0,c=o.length;s<c;s++){var u=o[s];u[n.d](t)&&(u.cancel(),u(t))}},t.take=function(t,r){void 0===r&&(r=_),e?t(k):(t[n.d]=r,o(),i.push(t),t.cancel=Object(s.K)((function(){o(),Object(s.N)(i,t)})))},t.close=a,t}(),e=t.put;return t.put=function(t){t[n.f]?e(t):p((function(){e(t)}))},t}function j(t,e){var r=t[n.a];Object(a.d)(r)&&(e.cancel=r),t.then(e,(function(t){e(t,!0)}))}var A,T=0,P=function(){return++T};function D(t){t.isRunning()&&t.cancel()}var R=((A={})[s.r]=function(t,e,r){var i=e.channel,o=void 0===i?t.channel:i,s=e.pattern,c=e.maybe,u=function(t){t instanceof Error?r(t,!0):!E(t)||c?r(t):r(n.k)};try{o.take(u,Object(a.g)(s)?S(s):null)}catch(l){return void r(l,!0)}r.cancel=u.cancel},A[s.n]=function(t,e,r){var n=e.channel,i=e.action,o=e.resolve;p((function(){var e;try{e=(n?n.put:t.dispatch)(i)}catch(s){return void r(s,!0)}o&&Object(a.j)(e)?j(e,r):r(e)}))},A[s.a]=function(t,e,r,n){var i=n.digestEffect,o=T,c=Object.keys(e);if(0!==c.length){var u=Object(s.H)(e,r);c.forEach((function(t){i(e[t],o,u[t],t)}))}else r(Object(a.a)(e)?[]:{})},A[s.p]=function(t,e,r,n){var i=n.digestEffect,o=T,c=Object.keys(e),u=Object(a.a)(e)?Object(s.I)(c.length):{},l={},f=!1;c.forEach((function(t){var e=function(e,n){f||(n||Object(s.O)(e)?(r.cancel(),r(e,n)):(r.cancel(),f=!0,u[t]=e,r(u)))};e.cancel=s.P,l[t]=e})),r.cancel=function(){f||(f=!0,c.forEach((function(t){return l[t].cancel()})))},c.forEach((function(t){f||i(e[t],o,l[t],t)}))},A[s.c]=function(t,e,r,n){var i=e.context,o=e.fn,c=e.args,u=n.task;try{var l=o.apply(i,c);if(Object(a.j)(l))return void j(l,r);if(Object(a.e)(l))return void W(t,l,u.context,T,Object(s.F)(o),!1,r);r(l)}catch(f){r(f,!0)}},A[s.w]=function(t,e,r){var n=e.context,i=e.fn,o=e.args;try{var s=function(t,e){Object(a.n)(t)?r(e):r(t,!0)};i.apply(n,o.concat(s)),s.cancel&&(r.cancel=s.cancel)}catch(c){r(c,!0)}},A[s.f]=function(t,e,r,n){var i=e.context,o=e.fn,c=e.args,u=e.detached,l=n.task,f=function(t){var e=t.context,r=t.fn,n=t.args;try{var i=r.apply(e,n);if(Object(a.e)(i))return i;var o=!1;return Object(s.M)((function(t){return o?{value:t,done:!0}:(o=!0,{value:i,done:!Object(a.j)(i)})}))}catch(c){return Object(s.M)((function(){throw c}))}}({context:i,fn:o,args:c}),h=function(t,e){return t.isSagaIterator?{name:t.meta.name}:Object(s.F)(e)}(f,o);m((function(){var e=W(t,f,l.context,T,h,u,void 0);u?r(e):e.isRunning()?(l.queue.addTask(e),r(e)):e.isAborted()?l.queue.abort(e.error()):r(e)}))},A[s.h]=function(t,e,r,n){var i=n.task,o=function(t,e){if(t.isRunning()){var r={task:i,cb:e};e.cancel=function(){t.isRunning()&&Object(s.N)(t.joiners,r)},t.joiners.push(r)}else t.isAborted()?e(t.error(),!0):e(t.result())};if(Object(a.a)(e)){if(0===e.length)return void r([]);var c=Object(s.H)(e,r);e.forEach((function(t,e){o(t,c[e])}))}else o(e,r)},A[s.x]=function(t,e,r,i){var o=i.task;e===n.h?D(o):Object(a.a)(e)?e.forEach(D):D(e),r()},A[s.q]=function(t,e,r){var n=e.selector,i=e.args;try{r(n.apply(void 0,[t.getState()].concat(i)))}catch(o){r(o,!0)}},A[s.z]=function(t,e,r){var n=e.pattern,i=M(e.buffer),o=S(n),a=function e(r){E(r)||t.channel.take(e,o),i.put(r)},s=i.close;i.close=function(){a.cancel(),s()},t.channel.take(a,o),r(i)},A[s.B]=function(t,e,r,n){r(n.task.isCancelled())},A[s.C]=function(t,e,r){e.flush(r)},A[s.g]=function(t,e,r,n){r(n.task.context[e])},A[s.D]=function(t,e,r,n){var i=n.task;Object(s.L)(i.context,e),r()},A);function L(t,e){return t+"?"+e}function I(t){var e=t.name,r=t.location;return r?e+"  "+L(r.fileName,r.lineNumber):e}function N(t){var e=Object(s.Q)((function(t){return t.cancelledTasks}),t);return e.length?["Tasks cancelled due to error:"].concat(e).join("\n"):""}var F=null,B=[],z=function(){F=null,B.length=0},H=function(){var t=B[0],e=B.slice(1),r=t.crashedEffect?function(t){var e=Object(s.R)(t);return e?e.code+"  "+L(e.fileName,e.lineNumber):""}(t.crashedEffect):null;return["The above error occurred in task "+I(t.meta)+(r?" \n when executing effect "+r:"")].concat(e.map((function(t){return"    created by "+I(t.meta)})),[N(B)]).join("\n")};function U(t,e,r,i,o,a,c){var u;void 0===c&&(c=s.P);var f,h,d=0,p=null,m=[],b=Object.create(r),v=function(t,e,r){var n,i=[],o=!1;function a(t){e(),u(),r(t,!0)}function c(e){i.push(e),e.cont=function(c,u){o||(Object(s.N)(i,e),e.cont=s.P,u?a(c):(e===t&&(n=c),i.length||(o=!0,r(n))))}}function u(){o||(o=!0,i.forEach((function(t){t.cont=s.P,t.cancel()})),i=[])}return c(t),{addTask:c,cancelAll:u,abort:a,getTasks:function(){return i}}}(e,(function(){m.push.apply(m,v.getTasks().map((function(t){return t.meta.name})))}),g);function g(e,r){if(r){if(d=2,(a={meta:o,cancelledTasks:m}).crashedEffect=F,B.push(a),y.isRoot){var i=H();z(),t.onError(e,{sagaStack:i})}h=e,p&&p.reject(e)}else e===n.j?d=1:1!==d&&(d=3),f=e,p&&p.resolve(e);var a;y.cont(e,r),y.joiners.forEach((function(t){t.cb(e,r)})),y.joiners=null}var y=((u={})[n.i]=!0,u.id=i,u.meta=o,u.isRoot=a,u.context=b,u.joiners=[],u.queue=v,u.cancel=function(){0===d&&(d=1,v.cancelAll(),g(n.j,!1))},u.cont=c,u.end=g,u.setContext=function(t){Object(s.L)(b,t)},u.toPromise=function(){return p||(p=l(),2===d?p.reject(h):0!==d&&p.resolve(f)),p.promise},u.isRunning=function(){return 0===d},u.isCancelled=function(){return 1===d||0===d&&1===e.status},u.isAborted=function(){return 2===d},u.result=function(){return f},u.error=function(){return h},u);return y}function W(t,e,r,i,o,c,u){var l=t.finalizeRunEffect((function(e,r,i){if(Object(a.j)(e))j(e,i);else if(Object(a.e)(e))W(t,e,h.context,r,o,!1,i);else if(e&&e[n.c]){(0,R[e.type])(t,e.payload,i,d)}else i(e)}));p.cancel=s.P;var f={meta:o,cancel:function(){0===f.status&&(f.status=1,p(n.j))},status:0},h=U(t,f,r,i,o,c,u),d={task:h,digestEffect:m};return u&&(u.cancel=h.cancel),p(),h;function p(t,r){try{var o;r?(o=e.throw(t),z()):Object(s.S)(t)?(f.status=1,p.cancel(),o=Object(a.d)(e.return)?e.return(n.j):{done:!0,value:n.j}):o=Object(s.T)(t)?Object(a.d)(e.return)?e.return():{done:!0}:e.next(t),o.done?(1!==f.status&&(f.status=3),f.cont(o.value)):m(o.value,i,p)}catch(c){if(1===f.status)throw c;f.status=2,f.cont(c,!0)}}function m(e,r,n,i){void 0===i&&(i="");var o,a=P();function c(r,i){o||(o=!0,n.cancel=s.P,t.sagaMonitor&&(i?t.sagaMonitor.effectRejected(a,r):t.sagaMonitor.effectResolved(a,r)),i&&function(t){F=t}(e),n(r,i))}t.sagaMonitor&&t.sagaMonitor.effectTriggered({effectId:a,parentEffectId:r,label:i,effect:e}),c.cancel=s.P,n.cancel=function(){o||(o=!0,c.cancel(),c.cancel=s.P,t.sagaMonitor&&t.sagaMonitor.effectCancelled(a))},l(e,a,c)}}function q(t,e){var r=t.channel,n=void 0===r?C():r,i=t.dispatch,o=t.getState,a=t.context,u=void 0===a?{}:a,l=t.sagaMonitor,f=t.effectMiddlewares,h=t.onError,d=void 0===h?s.b:h;for(var p=arguments.length,b=new Array(p>2?p-2:0),v=2;v<p;v++)b[v-2]=arguments[v];var g=e.apply(void 0,b);var y,w=P();if(l&&(l.rootSagaStarted=l.rootSagaStarted||s.P,l.effectTriggered=l.effectTriggered||s.P,l.effectResolved=l.effectResolved||s.P,l.effectRejected=l.effectRejected||s.P,l.effectCancelled=l.effectCancelled||s.P,l.actionDispatched=l.actionDispatched||s.P,l.rootSagaStarted({effectId:w,saga:e,args:b})),f){var x=c.c.apply(void 0,f);y=function(t){return function(e,r,n){return x((function(e){return t(e,r,n)}))(e)}}}else y=s.e;var O={channel:n,dispatch:Object(s.d)(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:y};return m((function(){var t=W(O,g,u,w,Object(s.F)(e),!0,void 0);return l&&l.effectResolved(w,t),t}))}var V=function(t){var e,r=void 0===t?{}:t,n=r.context,a=void 0===n?{}:n,c=r.channel,u=void 0===c?C():c,l=r.sagaMonitor,f=Object(o.a)(r,["context","channel","sagaMonitor"]);function h(t){var r=t.getState,n=t.dispatch;return e=q.bind(null,Object(i.a)({},f,{context:a,channel:u,dispatch:n,getState:r,sagaMonitor:l})),function(t){return function(e){l&&l.actionDispatched&&l.actionDispatched(e);var r=t(e);return u.put(e),r}}}return h.run=function(){return e.apply(void 0,arguments)},h.setContext=function(t){Object(s.L)(a,t)},h};e.a=V},function(t,e,r){"use strict";var n=r(0);var i=n.createContext(null);function o(){return n.useContext(i)}function a(t){return 0===Object.keys(t).length}e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=o();return!e||a(e)?t:e}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=r.n(o),s=r(8),c=(r(10),r(183)),u=r.n(c),l=r(891);function f(t,e){var r={};return Object.keys(t).forEach((function(n){-1===e.indexOf(n)&&(r[n]=t[n])})),r}var h=r(282);e.a=function(t){var e=function(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,c=Object(i.a)(r,["name"]);var h,d=o,p="function"===typeof e?function(t){return{root:function(r){return e(Object(n.a)({theme:t},r))}}}:{root:e},m=Object(l.a)(p,Object(n.a)({Component:t,name:o||t.displayName,classNamePrefix:d},c));e.filterProps&&(h=e.filterProps,delete e.filterProps),e.propTypes&&(e.propTypes,delete e.propTypes);var b=a.a.forwardRef((function(e,r){var o=e.children,c=e.className,u=e.clone,l=e.component,d=Object(i.a)(e,["children","className","clone","component"]),p=m(e),b=Object(s.a)(p.root,c),v=d;if(h&&(v=f(v,h)),u)return a.a.cloneElement(o,Object(n.a)({className:Object(s.a)(o.props.className,b)},v));if("function"===typeof o)return o(Object(n.a)({className:b},v));var g=l||t;return a.a.createElement(g,Object(n.a)({ref:r,className:b},v),o)}));return u()(b,t),b}}(t);return function(t,r){return e(t,Object(n.a)({defaultTheme:h.a},r))}}},function(t,e,r){"use strict";var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){return n.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}));e.a=i},function(t,e,r){"use strict";function n(t){return Object.prototype.toString.call(t).slice(8,-1)}function i(t){return"Undefined"===n(t)}function o(t){return"Null"===n(t)}function a(t){return"Object"===n(t)&&(t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype)}function s(t){return"Array"===n(t)}function c(t){return"Symbol"===n(t)}var u,l,f,h,d;u=o,l=i;function p(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),i=0;for(e=0;e<r;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function m(t,e,r,n){var i=n.propertyIsEnumerable(e)?"enumerable":"nonenumerable";"enumerable"===i&&(t[e]=r),"nonenumerable"===i&&Object.defineProperty(t,e,{value:r,enumerable:!1,writable:!0,configurable:!0})}function b(t,e,r){if(!a(e))return r&&s(r)&&r.forEach((function(r){e=r(t,e)})),e;var n={};a(t)&&(n=p(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(r,n){var i=t[n];return(!c(n)&&!Object.getOwnPropertyNames(e).includes(n)||c(n)&&!Object.getOwnPropertySymbols(e).includes(n))&&m(r,n,i,t),r}),{}));return p(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(n,i){var o=e[i],c=a(t)?t[i]:void 0;return r&&s(r)&&r.forEach((function(t){o=t(c,o)})),void 0!==c&&a(o)&&(o=b(c,o,r)),m(n,i,o,e),n}),n)}e.a=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=null,i=t;return a(t)&&t.extensions&&1===Object.keys(t).length&&(i={},n=t.extensions),e.reduce((function(t,e){return b(t,e,n)}),i)}},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=r(663),l=r(38),f=o.forwardRef((function(t,e){var r=t.children,s=t.classes,c=t.className,f=t.color,h=void 0===f?"default":f,d=t.component,p=void 0===d?"button":d,m=t.disabled,b=void 0!==m&&m,v=t.disableElevation,g=void 0!==v&&v,y=t.disableFocusRipple,w=void 0!==y&&y,x=t.endIcon,O=t.focusVisibleClassName,_=t.fullWidth,S=void 0!==_&&_,k=t.size,E=void 0===k?"medium":k,M=t.startIcon,C=t.type,j=void 0===C?"button":C,A=t.variant,T=void 0===A?"text":A,P=Object(n.a)(t,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),D=M&&o.createElement("span",{className:Object(a.a)(s.startIcon,s["iconSize".concat(Object(l.a)(E))])},M),R=x&&o.createElement("span",{className:Object(a.a)(s.endIcon,s["iconSize".concat(Object(l.a)(E))])},x);return o.createElement(u.a,Object(i.a)({className:Object(a.a)(s.root,s[T],c,"inherit"===h?s.colorInherit:"default"!==h&&s["".concat(T).concat(Object(l.a)(h))],"medium"!==E&&[s["".concat(T,"Size").concat(Object(l.a)(E))],s["size".concat(Object(l.a)(E))]],g&&s.disableElevation,b&&s.disabled,S&&s.fullWidth),component:p,disabled:b,focusRipple:!w,focusVisibleClassName:Object(a.a)(s.focusVisible,O),ref:e,type:j},P),o.createElement("span",{className:s.label},D,r,R))}));e.a=Object(s.a)((function(t){return{root:Object(i.a)({},t.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:t.shape.borderRadius,color:t.palette.text.primary,transition:t.transitions.create(["background-color","box-shadow","border"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(c.a)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:t.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(t.palette.action.disabledBackground)}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(Object(c.a)(t.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.primary.main),backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(Object(c.a)(t.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.secondary.main),backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(t.palette.action.disabled)}},contained:{color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],boxShadow:t.shadows[2],"&:hover":{backgroundColor:t.palette.grey.A100,boxShadow:t.shadows[4],"@media (hover: none)":{boxShadow:t.shadows[2],backgroundColor:t.palette.grey[300]},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:t.shadows[6]},"&:active":{boxShadow:t.shadows[8]},"&$disabled":{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground}},containedPrimary:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},containedSecondary:{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(f)},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=(r(10),r(445)),c=r(140),u=r(139),l=r(161),f=r(64),h={entering:{opacity:1},entered:{opacity:1}},d={enter:c.b.enteringScreen,exit:c.b.leavingScreen},p=a.forwardRef((function(t,e){var r=t.children,c=t.disableStrictModeCompat,p=void 0!==c&&c,m=t.in,b=t.onEnter,v=t.onEntered,g=t.onEntering,y=t.onExit,w=t.onExited,x=t.onExiting,O=t.style,_=t.TransitionComponent,S=void 0===_?s.a:_,k=t.timeout,E=void 0===k?d:k,M=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),C=Object(u.a)(),j=C.unstable_strictMode&&!p,A=a.useRef(null),T=Object(f.a)(r.ref,e),P=Object(f.a)(j?A:void 0,T),D=function(t){return function(e,r){if(t){var n=j?[A.current,e]:[e,r],o=Object(i.a)(n,2),a=o[0],s=o[1];void 0===s?t(a):t(a,s)}}},R=D(g),L=D((function(t,e){Object(l.b)(t);var r=Object(l.a)({style:O,timeout:E},{mode:"enter"});t.style.webkitTransition=C.transitions.create("opacity",r),t.style.transition=C.transitions.create("opacity",r),b&&b(t,e)})),I=D(v),N=D(x),F=D((function(t){var e=Object(l.a)({style:O,timeout:E},{mode:"exit"});t.style.webkitTransition=C.transitions.create("opacity",e),t.style.transition=C.transitions.create("opacity",e),y&&y(t)})),B=D(w);return a.createElement(S,Object(n.a)({appear:!0,in:m,nodeRef:j?A:void 0,onEnter:L,onEntered:I,onEntering:R,onExit:F,onExited:B,onExiting:N,timeout:E},M),(function(t,e){return a.cloneElement(r,Object(n.a)({style:Object(n.a)({opacity:0,visibility:"exited"!==t||m?void 0:"hidden"},h[t],O,r.props.style),ref:P},e))}))}));e.a=p},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(553);function i(t){if("string"!==typeof t)throw new Error(Object(n.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(338);function o(t){var e=n.useRef(t);return Object(i.a)((function(){e.current=t})),n.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}},function(t,e,r){"use strict";function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=function(){t.apply(n,o)};clearTimeout(e),e=setTimeout(s,r)}return n.clear=function(){clearTimeout(e)},n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(73),s=r(0),c=r(76),u=(r(10),r(8)),l=r(515),f=r(62),h=r(26),d=r(38),p=r(1305),m=r(1316),b=r(64),v=r(488),g=r(169),y=r(269),w=r(221),x=r(139);function O(t){return Math.round(1e5*t)/1e5}var _=!1,S=null;var k=s.forwardRef((function(t,e){var r=t.arrow,a=void 0!==r&&r,f=t.children,h=t.classes,O=t.disableFocusListener,k=void 0!==O&&O,E=t.disableHoverListener,M=void 0!==E&&E,C=t.disableTouchListener,j=void 0!==C&&C,A=t.enterDelay,T=void 0===A?100:A,P=t.enterNextDelay,D=void 0===P?0:P,R=t.enterTouchDelay,L=void 0===R?700:R,I=t.id,N=t.interactive,F=void 0!==N&&N,B=t.leaveDelay,z=void 0===B?0:B,H=t.leaveTouchDelay,U=void 0===H?1500:H,W=t.onClose,q=t.onOpen,V=t.open,G=t.placement,Y=void 0===G?"bottom":G,X=t.PopperComponent,$=void 0===X?m.a:X,K=t.PopperProps,Z=t.title,J=t.TransitionComponent,Q=void 0===J?p.a:J,tt=t.TransitionProps,et=Object(o.a)(t,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),rt=Object(x.a)(),nt=s.useState(),it=nt[0],ot=nt[1],at=s.useState(null),st=at[0],ct=at[1],ut=s.useRef(!1),lt=s.useRef(),ft=s.useRef(),ht=s.useRef(),dt=s.useRef(),pt=Object(w.a)({controlled:V,default:!1,name:"Tooltip",state:"open"}),mt=Object(i.a)(pt,2),bt=mt[0],vt=mt[1],gt=bt,yt=Object(v.a)(I);s.useEffect((function(){return function(){clearTimeout(lt.current),clearTimeout(ft.current),clearTimeout(ht.current),clearTimeout(dt.current)}}),[]);var wt=function(t){clearTimeout(S),_=!0,vt(!0),q&&q(t)},xt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var r=f.props;"mouseover"===e.type&&r.onMouseOver&&t&&r.onMouseOver(e),ut.current&&"touchstart"!==e.type||(it&&it.removeAttribute("title"),clearTimeout(ft.current),clearTimeout(ht.current),T||_&&D?(e.persist(),ft.current=setTimeout((function(){wt(e)}),_?D:T)):wt(e))}},Ot=Object(y.a)(),_t=Ot.isFocusVisible,St=Ot.onBlurVisible,kt=Ot.ref,Et=s.useState(!1),Mt=Et[0],Ct=Et[1],jt=function(){Mt&&(Ct(!1),St())},At=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){it||ot(e.currentTarget),_t(e)&&(Ct(!0),xt()(e));var r=f.props;r.onFocus&&t&&r.onFocus(e)}},Tt=function(t){clearTimeout(S),S=setTimeout((function(){_=!1}),800+z),vt(!1),W&&W(t),clearTimeout(lt.current),lt.current=setTimeout((function(){ut.current=!1}),rt.transitions.duration.shortest)},Pt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var r=f.props;"blur"===e.type&&(r.onBlur&&t&&r.onBlur(e),jt()),"mouseleave"===e.type&&r.onMouseLeave&&e.currentTarget===it&&r.onMouseLeave(e),clearTimeout(ft.current),clearTimeout(ht.current),e.persist(),ht.current=setTimeout((function(){Tt(e)}),z)}},Dt=function(t){ut.current=!0;var e=f.props;e.onTouchStart&&e.onTouchStart(t)},Rt=Object(b.a)(ot,e),Lt=Object(b.a)(kt,Rt),It=s.useCallback((function(t){Object(g.a)(Lt,c.findDOMNode(t))}),[Lt]),Nt=Object(b.a)(f.ref,It);""===Z&&(gt=!1);var Ft=!gt&&!M,Bt=Object(n.a)({"aria-describedby":gt?yt:null,title:Ft&&"string"===typeof Z?Z:null},et,f.props,{className:Object(u.a)(et.className,f.props.className),onTouchStart:Dt,ref:Nt}),zt={};j||(Bt.onTouchStart=function(t){Dt(t),clearTimeout(ht.current),clearTimeout(lt.current),clearTimeout(dt.current),t.persist(),dt.current=setTimeout((function(){xt()(t)}),L)},Bt.onTouchEnd=function(t){f.props.onTouchEnd&&f.props.onTouchEnd(t),clearTimeout(dt.current),clearTimeout(ht.current),t.persist(),ht.current=setTimeout((function(){Tt(t)}),U)}),M||(Bt.onMouseOver=xt(),Bt.onMouseLeave=Pt(),F&&(zt.onMouseOver=xt(!1),zt.onMouseLeave=Pt(!1))),k||(Bt.onFocus=At(),Bt.onBlur=Pt(),F&&(zt.onFocus=At(!1),zt.onBlur=Pt(!1)));var Ht=s.useMemo((function(){return Object(l.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(st),element:st}}}},K)}),[st,K]);return s.createElement(s.Fragment,null,s.cloneElement(f,Bt),s.createElement($,Object(n.a)({className:Object(u.a)(h.popper,F&&h.popperInteractive,a&&h.popperArrow),placement:Y,anchorEl:it,open:!!it&&gt,id:Bt["aria-describedby"],transition:!0},zt,Ht),(function(t){var e=t.placement,r=t.TransitionProps;return s.createElement(Q,Object(n.a)({timeout:rt.transitions.duration.shorter},r,tt),s.createElement("div",{className:Object(u.a)(h.tooltip,h["tooltipPlacement".concat(Object(d.a)(e.split("-")[0]))],ut.current&&h.touch,a&&h.tooltipArrow)},Z,a?s.createElement("span",{className:h.arrow,ref:ct}):null))})))}));e.a=Object(h.a)((function(t){return{popper:{zIndex:t.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(f.a)(t.palette.grey[700],.9),borderRadius:t.shape.borderRadius,color:t.palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(10),lineHeight:"".concat(O(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(f.a)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(O(16/14),"em"),fontWeight:t.typography.fontWeightRegular},tooltipPlacementLeft:Object(a.a)({transformOrigin:"right center",margin:"0 24px "},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(a.a)({transformOrigin:"left center",margin:"0 24px"},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(a.a)({transformOrigin:"center bottom",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(a.a)({transformOrigin:"center top",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(k)},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(833),f=r(187),h=r(6),d=["className"],p=Object(c.a)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"flex-start"===r.alignItems&&e.alignItemsFlexStart]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===r.alignItems&&{marginTop:8})})),m=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiListItemIcon"}),c=r.className,m=Object(n.a)(r,d),b=o.useContext(f.a),v=Object(i.a)({},r,{alignItems:b.alignItems}),g=function(t){var e=t.alignItems,r=t.classes,n={root:["root","flex-start"===e&&"alignItemsFlexStart"]};return Object(s.a)(n,l.b,r)}(v);return Object(h.jsx)(p,Object(i.a)({className:Object(a.a)(g.root,c),ownerState:v,ref:e},m))}));e.a=m},function(t,e,r){"use strict";var n=r(0),i=(r(10),r(441)),o=r(885),a=r(304),s=r(6);function c(t){return t.substring(2).toLowerCase()}e.a=function(t){var e=t.children,r=t.disableReactTree,u=void 0!==r&&r,l=t.mouseEvent,f=void 0===l?"onClick":l,h=t.onClickAway,d=t.touchEvent,p=void 0===d?"onTouchEnd":d,m=n.useRef(!1),b=n.useRef(null),v=n.useRef(!1),g=n.useRef(!1);n.useEffect((function(){return setTimeout((function(){v.current=!0}),0),function(){v.current=!1}}),[]);var y=Object(i.a)(e.ref,b),w=Object(o.a)((function(t){var e=g.current;g.current=!1;var r=Object(a.a)(b.current);!v.current||!b.current||"clientX"in t&&function(t,e){return e.documentElement.clientWidth<t.clientX||e.documentElement.clientHeight<t.clientY}(t,r)||(m.current?m.current=!1:(t.composedPath?t.composedPath().indexOf(b.current)>-1:!r.documentElement.contains(t.target)||b.current.contains(t.target))||!u&&e||h(t))})),x=function(t){return function(r){g.current=!0;var n=e.props[t];n&&n(r)}},O={ref:y};return!1!==p&&(O[p]=x(p)),n.useEffect((function(){if(!1!==p){var t=c(p),e=Object(a.a)(b.current),r=function(){m.current=!0};return e.addEventListener(t,w),e.addEventListener("touchmove",r),function(){e.removeEventListener(t,w),e.removeEventListener("touchmove",r)}}}),[w,p]),!1!==f&&(O[f]=x(f)),n.useEffect((function(){if(!1!==f){var t=c(f),e=Object(a.a)(b.current);return e.addEventListener(t,w),function(){e.removeEventListener(t,w)}}}),[w,f]),Object(s.jsx)(n.Fragment,{children:n.cloneElement(e,O)})}},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(3)),a=r(14),s=r(441),c=r(338),u=r(304);function l(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function f(t){return t instanceof l(t).Element||t instanceof Element}function h(t){return t instanceof l(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!==typeof ShadowRoot&&(t instanceof l(t).ShadowRoot||t instanceof ShadowRoot)}var p=Math.round;function m(t,e){void 0===e&&(e=!1);var r=t.getBoundingClientRect(),n=1,i=1;if(h(t)&&e){var o=t.offsetHeight,a=t.offsetWidth;a>0&&(n=r.width/a||1),o>0&&(i=r.height/o||1)}return{width:p(r.width/n),height:p(r.height/i),top:p(r.top/i),right:p(r.right/n),bottom:p(r.bottom/i),left:p(r.left/n),x:p(r.left/n),y:p(r.top/i)}}function b(t){var e=l(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function v(t){return t?(t.nodeName||"").toLowerCase():null}function g(t){return((f(t)?t.ownerDocument:t.document)||window.document).documentElement}function y(t){return m(g(t)).left+b(t).scrollLeft}function w(t){return l(t).getComputedStyle(t)}function x(t){var e=w(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function O(t,e,r){void 0===r&&(r=!1);var n=h(e),i=h(e)&&function(t){var e=t.getBoundingClientRect(),r=e.width/t.offsetWidth||1,n=e.height/t.offsetHeight||1;return 1!==r||1!==n}(e),o=g(e),a=m(t,i),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&(("body"!==v(e)||x(o))&&(s=function(t){return t!==l(t)&&h(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:b(t);var e}(e)),h(e)?((c=m(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=y(o))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function _(t){var e=m(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function S(t){return"html"===v(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||g(t)}function k(t,e){var r;void 0===e&&(e=[]);var n=function t(e){return["html","body","#document"].indexOf(v(e))>=0?e.ownerDocument.body:h(e)&&x(e)?e:t(S(e))}(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),o=l(n),a=i?[o].concat(o.visualViewport||[],x(n)?n:[]):n,s=e.concat(a);return i?s:s.concat(k(S(a)))}function E(t){return["table","td","th"].indexOf(v(t))>=0}function M(t){return h(t)&&"fixed"!==w(t).position?t.offsetParent:null}function C(t){for(var e=l(t),r=M(t);r&&E(r)&&"static"===w(r).position;)r=M(r);return r&&("html"===v(r)||"body"===v(r)&&"static"===w(r).position)?e:r||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&h(t)&&"fixed"===w(t).position)return null;for(var r=S(t);h(r)&&["html","body"].indexOf(v(r))<0;){var n=w(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(t)||e}var j="top",A="bottom",T="right",P="left",D=[j,A,T,P],R=D.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),L=[].concat(D,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),I=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(t){var e=new Map,r=new Set,n=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||function t(i){r.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(n){if(!r.has(n)){var i=e.get(n);i&&t(i)}})),n.push(i)}(t)})),n}function F(t){var e;return function(){return e||(e=new Promise((function(r){Promise.resolve().then((function(){e=void 0,r(t())}))}))),e}}var B={placement:"bottom",modifiers:[],strategy:"absolute"};function z(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function H(t){void 0===t&&(t={});var e=t,r=e.defaultModifiers,n=void 0===r?[]:r,i=e.defaultOptions,o=void 0===i?B:i;return function(t,e,r){void 0===r&&(r=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},a=[],s=!1,c={state:i,setOptions:function(r){var s="function"===typeof r?r(i.options):r;u(),i.options=Object.assign({},o,i.options,s),i.scrollParents={reference:f(t)?k(t):t.contextElement?k(t.contextElement):[],popper:k(e)};var l=function(t){var e=N(t);return I.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}(function(t){var e=t.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(n,i.options.modifiers)));return i.orderedModifiers=l.filter((function(t){return t.enabled})),i.orderedModifiers.forEach((function(t){var e=t.name,r=t.options,n=void 0===r?{}:r,o=t.effect;if("function"===typeof o){var s=o({state:i,name:e,instance:c,options:n});a.push(s||function(){})}})),c.update()},forceUpdate:function(){if(!s){var t=i.elements,e=t.reference,r=t.popper;if(z(e,r)){i.rects={reference:O(e,C(r),"fixed"===i.options.strategy),popper:_(r)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(t){return i.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<i.orderedModifiers.length;n++)if(!0!==i.reset){var o=i.orderedModifiers[n],a=o.fn,u=o.options,l=void 0===u?{}:u,f=o.name;"function"===typeof a&&(i=a({state:i,options:l,name:f,instance:c})||i)}else i.reset=!1,n=-1}}},update:F((function(){return new Promise((function(t){c.forceUpdate(),t(i)}))})),destroy:function(){u(),s=!0}};if(!z(t,e))return c;function u(){a.forEach((function(t){return t()})),a=[]}return c.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),c}}var U={passive:!0};var W={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,o=void 0===i||i,a=n.resize,s=void 0===a||a,c=l(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach((function(t){t.addEventListener("scroll",r.update,U)})),s&&c.addEventListener("resize",r.update,U),function(){o&&u.forEach((function(t){t.removeEventListener("scroll",r.update,U)})),s&&c.removeEventListener("resize",r.update,U)}},data:{}};function q(t){return t.split("-")[0]}function V(t){return t.split("-")[1]}function G(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t){var e,r=t.reference,n=t.element,i=t.placement,o=i?q(i):null,a=i?V(i):null,s=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(o){case j:e={x:s,y:r.y-n.height};break;case A:e={x:s,y:r.y+r.height};break;case T:e={x:r.x+r.width,y:c};break;case P:e={x:r.x-n.width,y:c};break;default:e={x:r.x,y:r.y}}var u=o?G(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case"start":e[u]=e[u]-(r[l]/2-n[l]/2);break;case"end":e[u]=e[u]+(r[l]/2-n[l]/2)}}return e}var X={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=Y({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},$=Math.max,K=Math.min,Z=Math.round,J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(t){var e,r=t.popper,n=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,u=t.adaptive,f=t.roundOffsets,h=!0===f?function(t){var e=t.x,r=t.y,n=window.devicePixelRatio||1;return{x:Z(Z(e*n)/n)||0,y:Z(Z(r*n)/n)||0}}(a):"function"===typeof f?f(a):a,d=h.x,p=void 0===d?0:d,m=h.y,b=void 0===m?0:m,v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),x=P,O=j,_=window;if(u){var S=C(r),k="clientHeight",E="clientWidth";S===l(r)&&"static"!==w(S=g(r)).position&&"absolute"===s&&(k="scrollHeight",E="scrollWidth"),S=S,i!==j&&(i!==P&&i!==T||"end"!==o)||(O=A,b-=S[k]-n.height,b*=c?1:-1),i!==P&&(i!==j&&i!==A||"end"!==o)||(x=T,p-=S[E]-n.width,p*=c?1:-1)}var M,D=Object.assign({position:s},u&&J);return c?Object.assign({},D,((M={})[O]=y?"0":"",M[x]=v?"0":"",M.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+b+"px)":"translate3d("+p+"px, "+b+"px, 0)",M)):Object.assign({},D,((e={})[O]=y?b+"px":"",e[x]=v?p+"px":"",e.transform="",e))}var tt={left:"right",right:"left",bottom:"top",top:"bottom"};function et(t){return t.replace(/left|right|bottom|top/g,(function(t){return tt[t]}))}var rt={start:"end",end:"start"};function nt(t){return t.replace(/start|end/g,(function(t){return rt[t]}))}function it(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&d(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ot(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function at(t,e){return"viewport"===e?ot(function(t){var e=l(t),r=g(t),n=e.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,s=0;return n&&(i=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,s=n.offsetTop)),{width:i,height:o,x:a+y(t),y:s}}(t)):h(e)?function(t){var e=m(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ot(function(t){var e,r=g(t),n=b(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=$(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=$(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+y(t),c=-n.scrollTop;return"rtl"===w(i||r).direction&&(s+=$(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(g(t)))}function st(t,e,r){var n="clippingParents"===e?function(t){var e=k(S(t)),r=["absolute","fixed"].indexOf(w(t).position)>=0&&h(t)?C(t):t;return f(r)?e.filter((function(t){return f(t)&&it(t,r)&&"body"!==v(t)})):[]}(t):[].concat(e),i=[].concat(n,[r]),o=i[0],a=i.reduce((function(e,r){var n=at(t,r);return e.top=$(n.top,e.top),e.right=K(n.right,e.right),e.bottom=K(n.bottom,e.bottom),e.left=$(n.left,e.left),e}),at(t,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ct(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ut(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}function lt(t,e){void 0===e&&(e={});var r=e,n=r.placement,i=void 0===n?t.placement:n,o=r.boundary,a=void 0===o?"clippingParents":o,s=r.rootBoundary,c=void 0===s?"viewport":s,u=r.elementContext,l=void 0===u?"popper":u,h=r.altBoundary,d=void 0!==h&&h,p=r.padding,b=void 0===p?0:p,v=ct("number"!==typeof b?b:ut(b,D)),y="popper"===l?"reference":"popper",w=t.rects.popper,x=t.elements[d?y:l],O=st(f(x)?x:x.contextElement||g(t.elements.popper),a,c),_=m(t.elements.reference),S=Y({reference:_,element:w,strategy:"absolute",placement:i}),k=ot(Object.assign({},w,S)),E="popper"===l?k:_,M={top:O.top-E.top+v.top,bottom:E.bottom-O.bottom+v.bottom,left:O.left-E.left+v.left,right:E.right-O.right+v.right},C=t.modifiersData.offset;if("popper"===l&&C){var P=C[i];Object.keys(M).forEach((function(t){var e=[T,A].indexOf(t)>=0?1:-1,r=[j,A].indexOf(t)>=0?"y":"x";M[t]+=P[r]*e}))}return M}function ft(t,e,r){return $(t,K(e,r))}function ht(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function dt(t){return[j,T,A,P].some((function(e){return t[e]>=0}))}var pt=H({defaultModifiers:[W,X,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=void 0===n||n,o=r.adaptive,a=void 0===o||o,s=r.roundOffsets,c=void 0===s||s,u={placement:q(e.placement),variation:V(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Q(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Q(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},n=e.attributes[t]||{},i=e.elements[t];h(i)&&v(i)&&(Object.assign(i.style,r),Object.keys(n).forEach((function(t){var e=n[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});h(n)&&v(n)&&(Object.assign(n.style,o),Object.keys(i).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.options,n=t.name,i=r.offset,o=void 0===i?[0,0]:i,a=L.reduce((function(t,r){return t[r]=function(t,e,r){var n=q(t),i=[P,j].indexOf(n)>=0?-1:1,o="function"===typeof r?r(Object.assign({},e,{placement:t})):r,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[P,T].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,e.rects,o),t}),{}),s=a[e.placement],c=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0===a||a,c=r.fallbackPlacements,u=r.padding,l=r.boundary,f=r.rootBoundary,h=r.altBoundary,d=r.flipVariations,p=void 0===d||d,m=r.allowedAutoPlacements,b=e.options.placement,v=q(b),g=c||(v===b||!p?[et(b)]:function(t){if("auto"===q(t))return[];var e=et(t);return[nt(t),e,nt(e)]}(b)),y=[b].concat(g).reduce((function(t,r){return t.concat("auto"===q(r)?function(t,e){void 0===e&&(e={});var r=e,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=void 0===c?L:c,l=V(n),f=l?s?R:R.filter((function(t){return V(t)===l})):D,h=f.filter((function(t){return u.indexOf(t)>=0}));0===h.length&&(h=f);var d=h.reduce((function(e,r){return e[r]=lt(t,{placement:r,boundary:i,rootBoundary:o,padding:a})[q(r)],e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}(e,{placement:r,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:m}):r)}),[]),w=e.rects.reference,x=e.rects.popper,O=new Map,_=!0,S=y[0],k=0;k<y.length;k++){var E=y[k],M=q(E),C="start"===V(E),I=[j,A].indexOf(M)>=0,N=I?"width":"height",F=lt(e,{placement:E,boundary:l,rootBoundary:f,altBoundary:h,padding:u}),B=I?C?T:P:C?A:j;w[N]>x[N]&&(B=et(B));var z=et(B),H=[];if(o&&H.push(F[M]<=0),s&&H.push(F[B]<=0,F[z]<=0),H.every((function(t){return t}))){S=E,_=!1;break}O.set(E,H)}if(_)for(var U=function(t){var e=y.find((function(e){var r=O.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},W=p?3:1;W>0;W--){if("break"===U(W))break}e.placement!==S&&(e.modifiersData[n]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0!==a&&a,c=r.boundary,u=r.rootBoundary,l=r.altBoundary,f=r.padding,h=r.tether,d=void 0===h||h,p=r.tetherOffset,m=void 0===p?0:p,b=lt(e,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),v=q(e.placement),g=V(e.placement),y=!g,w=G(v),x="x"===w?"y":"x",O=e.modifiersData.popperOffsets,S=e.rects.reference,k=e.rects.popper,E="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,M={x:0,y:0};if(O){if(o||s){var D="y"===w?j:P,R="y"===w?A:T,L="y"===w?"height":"width",I=O[w],N=O[w]+b[D],F=O[w]-b[R],B=d?-k[L]/2:0,z="start"===g?S[L]:k[L],H="start"===g?-k[L]:-S[L],U=e.elements.arrow,W=d&&U?_(U):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Y[D],Z=Y[R],J=ft(0,S[L],W[L]),Q=y?S[L]/2-B-J-X-E:z-J-X-E,tt=y?-S[L]/2+B+J+Z+E:H+J+Z+E,et=e.elements.arrow&&C(e.elements.arrow),rt=et?"y"===w?et.clientTop||0:et.clientLeft||0:0,nt=e.modifiersData.offset?e.modifiersData.offset[e.placement][w]:0,it=O[w]+Q-nt-rt,ot=O[w]+tt-nt;if(o){var at=ft(d?K(N,it):N,I,d?$(F,ot):F);O[w]=at,M[w]=at-I}if(s){var st="x"===w?j:P,ct="x"===w?A:T,ut=O[x],ht=ut+b[st],dt=ut-b[ct],pt=ft(d?K(ht,it):ht,ut,d?$(dt,ot):dt);O[x]=pt,M[x]=pt-ut}}e.modifiersData[n]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,n=t.name,i=t.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,s=q(r.placement),c=G(s),u=[P,T].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(t,e){return ct("number"!==typeof(t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ut(t,D))}(i.padding,r),f=_(o),h="y"===c?j:P,d="y"===c?A:T,p=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],m=a[c]-r.rects.reference[c],b=C(o),v=b?"y"===c?b.clientHeight||0:b.clientWidth||0:0,g=p/2-m/2,y=l[h],w=v-f[u]-l[d],x=v/2-f[u]/2+g,O=ft(y,x,w),S=c;r.modifiersData[n]=((e={})[S]=O,e.centerOffset=O-x,e)}},effect:function(t){var e=t.state,r=t.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!==typeof n||(n=e.elements.popper.querySelector(n)))&&it(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=lt(e,{elementContext:"reference"}),s=lt(e,{altBoundary:!0}),c=ht(a,n),u=ht(s,i,o),l=dt(c),f=dt(u);e.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),mt=r(1414),bt=r(6),vt=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],gt=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function yt(t){return"function"===typeof t?t():t}var wt={},xt=i.forwardRef((function(t,e){var r=t.anchorEl,u=t.children,l=t.direction,f=t.disablePortal,h=t.modifiers,d=t.open,p=t.placement,m=t.popperOptions,b=t.popperRef,v=t.TransitionProps,g=Object(a.a)(t,vt),y=i.useRef(null),w=Object(s.a)(y,e),x=i.useRef(null),O=Object(s.a)(x,b),_=i.useRef(O);Object(c.a)((function(){_.current=O}),[O]),i.useImperativeHandle(b,(function(){return x.current}),[]);var S=function(t,e){if("ltr"===e)return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(p,l),k=i.useState(S),E=Object(o.a)(k,2),M=E[0],C=E[1];i.useEffect((function(){x.current&&x.current.forceUpdate()})),Object(c.a)((function(){if(r&&d){yt(r);var t=[{name:"preventOverflow",options:{altBoundary:f}},{name:"flip",options:{altBoundary:f}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(t){var e=t.state;C(e.placement)}}];null!=h&&(t=t.concat(h)),m&&null!=m.modifiers&&(t=t.concat(m.modifiers));var e=pt(yt(r),y.current,Object(n.a)({placement:S},m,{modifiers:t}));return _.current(e),function(){e.destroy(),_.current(null)}}}),[r,f,h,d,m,S]);var j={placement:M};return null!==v&&(j.TransitionProps=v),Object(bt.jsx)("div",Object(n.a)({ref:w,role:"tooltip"},g,{children:"function"===typeof u?u(j):u}))})),Ot=i.forwardRef((function(t,e){var r=t.anchorEl,s=t.children,c=t.container,l=t.direction,f=void 0===l?"ltr":l,h=t.disablePortal,d=void 0!==h&&h,p=t.keepMounted,m=void 0!==p&&p,b=t.modifiers,v=t.open,g=t.placement,y=void 0===g?"bottom":g,w=t.popperOptions,x=void 0===w?wt:w,O=t.popperRef,_=t.style,S=t.transition,k=void 0!==S&&S,E=Object(a.a)(t,gt),M=i.useState(!0),C=Object(o.a)(M,2),j=C[0],A=C[1];if(!m&&!v&&(!k||j))return null;var T=c||(r?Object(u.a)(yt(r)).body:void 0);return Object(bt.jsx)(mt.a,{disablePortal:d,container:T,children:Object(bt.jsx)(xt,Object(n.a)({anchorEl:r,direction:f,disablePortal:d,modifiers:b,ref:e,open:k?!j:v,placement:y,popperOptions:x,popperRef:O},E,{style:Object(n.a)({position:"fixed",top:0,left:0,display:v||!m||k&&!j?null:"none"},_),TransitionProps:k?{in:v,onEnter:function(){A(!1)},onExited:function(){A(!0)}}:null,children:s}))})})),_t=r(878),St=i.forwardRef((function(t,e){var r=Object(_t.a)();return Object(bt.jsx)(Ot,Object(n.a)({direction:null==r?void 0:r.direction},t,{ref:e}))}));e.a=St},function(t,e,r){"use strict";r.d(e,"a",(function(){return hr}));var n=r(20),i=r(2),o=r(0),a=r.n(o),s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c="object"===("undefined"===typeof window?"undefined":s(window))&&"object"===("undefined"===typeof document?"undefined":s(document))&&9===document.nodeType,u=(r(176),r(374)),l=r(329),f=r(424),h=r(14),d={}.constructor;function p(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(p);if(t.constructor!==d)return t;var e={};for(var r in t)e[r]=p(t[r]);return e}function m(t,e,r){void 0===t&&(t="unnamed");var n=r.jss,i=p(e),o=n.plugins.onCreateRule(t,i,r);return o||(t[0],null)}var b=function(t,e){for(var r="",n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=e),r+=t[n];return r},v=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=", "),r+=b(t[n]," ");else r=b(t,", ");return e||"!important"!==t[t.length-1]||(r+=" !important"),r};function g(t,e){for(var r="",n=0;n<e;n++)r+="  ";return r+t}function y(t,e,r){void 0===r&&(r={});var n="";if(!e)return n;var i=r.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var c=a[s];for(var u in c){var l=c[u];null!=l&&(n&&(n+="\n"),n+=g(u+": "+v(l)+";",o))}}else for(var f in a){var h=a[f];null!=h&&(n&&(n+="\n"),n+=g(f+": "+v(h)+";",o))}for(var d in e){var p=e[d];null!=p&&"fallbacks"!==d&&(n&&(n+="\n"),n+=g(d+": "+v(p)+";",o))}return(n||r.allowEmpty)&&t?(n&&(n="\n"+n+"\n"),g(t+" {"+n,--o)+g("}",o)):n}var w=/([[\].#*$><+~=|^:(),"'`\s])/g,x="undefined"!==typeof CSS&&CSS.escape,O=function(t){return x?x(t):t.replace(w,"\\$1")},_=function(){function t(t,e,r){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var n=r.sheet,i=r.Renderer;this.key=t,this.options=r,this.style=e,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,r){if(void 0===e)return this.style[t];var n=!!r&&r.force;if(!n&&this.style[t]===e)return this;var i=e;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!n)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var c=this.options.sheet;return c&&c.attached,this},t}(),S=function(t){function e(e,r,n){var i;(i=t.call(this,e,r,n)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=n.selector,a=n.scoped,s=n.sheet,c=n.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(f.a)(Object(f.a)(i)),s),i.selectorText="."+O(i.id)),i}Object(l.a)(e,t);var r=e.prototype;return r.applyTo=function(t){var e=this.renderer;if(e){var r=this.toJSON();for(var n in r)e.setProperty(t,n,r[n])}return this},r.toJSON=function(){var t={};for(var e in this.style){var r=this.style[e];"object"!==typeof r?t[e]=r:Array.isArray(r)&&(t[e]=v(r))}return t},r.toString=function(t){var e=this.options.sheet,r=!!e&&e.options.link?Object(i.a)({},t,{allowEmpty:!0}):t;return y(this.selectorText,this.style,r)},Object(u.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,r=this.renderable;if(r&&e)e.setSelector(r,t)||e.replaceRule(r,this)}},get:function(){return this.selectorText}}]),e}(_),k={onCreateRule:function(t,e,r){return"@"===t[0]||r.parent&&"keyframes"===r.parent.type?null:new S(t,e,r)}},E={indent:1,children:!0},M=/@([\w-]+)/,C=function(){function t(t,e,r){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var n=t.match(M);for(var o in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new Z(Object(i.a)({},r,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},e.toString=function(t){if(void 0===t&&(t=E),null==t.indent&&(t.indent=E.indent),null==t.children&&(t.children=E.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),j=/@media|@supports\s+/,A={onCreateRule:function(t,e,r){return j.test(t)?new C(t,e,r):null}},T={indent:1,children:!0},P=/@keyframes\s+([\w-]+)/,D=function(){function t(t,e,r){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var n=t.match(P);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,a=r.sheet,s=r.generateId;for(var c in this.id=!1===o?this.name:O(s(this,a)),this.rules=new Z(Object(i.a)({},r,{parent:this})),e)this.rules.add(c,e[c],Object(i.a)({},r,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=T),null==t.indent&&(t.indent=T.indent),null==t.children&&(t.children=T.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),R=/@keyframes\s+/,L=/\$([\w-]+)/g,I=function(t,e){return"string"===typeof t?t.replace(L,(function(t,r){return r in e?e[r]:t})):t},N=function(t,e,r){var n=t[e],i=I(n,r);i!==n&&(t[e]=i)},F={onCreateRule:function(t,e,r){return"string"===typeof t&&R.test(t)?new D(t,e,r):null},onProcessStyle:function(t,e,r){return"style"===e.type&&r?("animation-name"in t&&N(t,"animation-name",r.keyframes),"animation"in t&&N(t,"animation",r.keyframes),t):t},onChangeValue:function(t,e,r){var n=r.options.sheet;if(!n)return t;switch(e){case"animation":case"animation-name":return I(t,n.keyframes);default:return t}}},B=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).renderable=void 0,e}return Object(l.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,r=!!e&&e.options.link?Object(i.a)({},t,{allowEmpty:!0}):t;return y(this.key,this.style,r)},e}(_),z={onCreateRule:function(t,e,r){return r.parent&&"keyframes"===r.parent.type?new B(t,e,r):null}},H=function(){function t(t,e,r){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",r=0;r<this.style.length;r++)e+=y(this.at,this.style[r]),this.style[r+1]&&(e+="\n");return e}return y(this.at,this.style,t)},t}(),U=/@font-face/,W={onCreateRule:function(t,e,r){return U.test(t)?new H(t,e,r):null}},q=function(){function t(t,e,r){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){return y(this.key,this.style,t)},t}(),V={onCreateRule:function(t,e,r){return"@viewport"===t||"@-ms-viewport"===t?new q(t,e,r):null}},G=function(){function t(t,e,r){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",r=0;r<this.value.length;r++)e+=this.key+" "+this.value[r]+";",this.value[r+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),Y={"@charset":!0,"@import":!0,"@namespace":!0},X=[k,A,F,z,W,V,{onCreateRule:function(t,e,r){return t in Y?new G(t,e,r):null}}],$={process:!0},K={force:!0,process:!0},Z=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,r){var n=this.options,o=n.parent,a=n.sheet,s=n.jss,c=n.Renderer,u=n.generateId,l=n.scoped,f=Object(i.a)({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:c,generateId:u,scoped:l,name:t,keyframes:this.keyframes,selector:void 0},r),h=t;t in this.raw&&(h=t+"-d"+this.counter++),this.raw[h]=e,h in this.classes&&(f.selector="."+O(this.classes[h]));var d=m(h,e,f);if(!d)return null;this.register(d);var p=void 0===f.index?this.index.length:f.index;return this.index.splice(p,0,d),d},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof S?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof D&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof S?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof D&&delete this.keyframes[t.name]},e.update=function(){var t,e,r;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],e,r)},e.updateOne=function(e,r,n){void 0===n&&(n=$);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(r,n);else{var s=e,c=s.style;if(o.onUpdate(r,e,a,n),n.process&&c&&c!==s.style){for(var u in o.onProcessStyle(s.style,s,a),s.style){var l=s.style[u];l!==c[u]&&s.prop(u,l,K)}for(var f in c){var h=s.style[f],d=c[f];null==h&&h!==d&&s.prop(f,null,K)}}}},e.toString=function(t){for(var e="",r=this.options.sheet,n=!!r&&r.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||n)&&(e&&(e+="\n"),e+=o)}return e},t}(),J=function(){function t(t,e){for(var r in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(i.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new Z(this.options),t)this.rules.add(r,t[r]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(t,e,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var r=[];for(var n in t){var i=this.addRule(n,t[n],e);i&&r.push(i)}return r},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,r){return this.rules.updateOne(t,e,r),this},e.toString=function(t){return this.rules.toString(t)},t}(),Q=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](t,e,r);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)e.style=this.registry.onProcessStyle[n](e.style,e,r)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,r,n)},e.onChangeValue=function(t,e,r){for(var n=t,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,e,r);return n},e.use=function(t,e){void 0===e&&(e={queue:"external"});var r=this.plugins[e.queue];-1===r.indexOf(t)&&(r.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var r in e)r in t&&t[r].push(e[r]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),tt=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,r=t.options.index;if(-1===e.indexOf(t))if(0===e.length||r>=this.index)e.push(t);else for(var n=0;n<e.length;n++)if(e[n].options.index>r)return void e.splice(n,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,r=e.attached,n=Object(h.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=r&&a.attached!==r||(i&&(i+="\n"),i+=a.toString(n))}return i},Object(u.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),et="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),rt="2f1acc6c3a606b082e5eef5e54414ffb";null==et[rt]&&(et[rt]=0);var nt=et[rt]++,it=function(t){void 0===t&&(t={});var e=0;return function(r,n){e+=1;var i="",o="";return n&&(n.options.classNamePrefix&&(o=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),t.minify?""+(o||"c")+nt+i+e:o+r.key+"-"+nt+(i?"-"+i:"")+"-"+e}},ot=function(t){var e;return function(){return e||(e=t()),e}},at=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(r){return""}},st=function(t,e,r){try{var n=r;if(Array.isArray(r)&&(n=v(r,!0),"!important"===r[r.length-1]))return t.style.setProperty(e,n,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,n):t.style.setProperty(e,n)}catch(i){return!1}return!0},ct=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(r){}},ut=function(t,e){return t.selectorText=e,t.selectorText===e},lt=ot((function(){return document.querySelector("head")}));function ft(t){var e=tt.registry;if(e.length>0){var r=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(n.attached&&n.options.index>e.index&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if((r=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t[r];if(n.attached&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t))&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=t.insertionPoint;if(n&&"string"===typeof n){var i=function(t){for(var e=lt(),r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===t)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var ht=ot((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),dt=function(t,e,r){try{if("insertRule"in t)t.insertRule(e,r);else if("appendRule"in t){t.appendRule(e)}}catch(n){return!1}return t.cssRules[r]},pt=function(t,e){var r=t.cssRules.length;return void 0===e||e>r?r:e},mt=function(){function t(t){this.getPropertyValue=at,this.setProperty=st,this.removeProperty=ct,this.setSelector=ut,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&tt.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},r=e.media,n=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var o=ht();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var r=e.insertionPoint,n=ft(e);if(!1!==n&&n.parent)n.parent.insertBefore(t,n.node);else if(r&&"number"===typeof r.nodeType){var i=r,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else lt().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var r=0;r<t.index.length;r++)this.insertRule(t.index[r],r,e)},e.insertRule=function(t,e,r){if(void 0===r&&(r=this.element.sheet),t.rules){var n=t,i=r;if("conditional"===t.type||"keyframes"===t.type){var o=pt(r,e);if(!1===(i=dt(r,n.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(n.rules,i),i}var a=t.toString();if(!a)return!1;var s=pt(r,e),c=dt(r,a,s);return!1!==c&&(this.hasInsertedRules=!0,this.refCssRule(t,s,c),c)},e.refCssRule=function(t,e,r){t.renderable=r,t.options.parent instanceof J&&(this.cssRules[e]=r)},e.deleteRule=function(t){var e=this.element.sheet,r=this.indexOf(t);return-1!==r&&(e.deleteRule(r),this.cssRules.splice(r,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var r=this.indexOf(t);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(e,r))},e.getRules=function(){return this.element.sheet.cssRules},t}(),bt=0,vt=function(){function t(t){this.id=bt++,this.version="10.7.1",this.plugins=new Q,this.options={id:{minify:!1},createGenerateId:it,Renderer:c?mt:null,plugins:[]},this.generateId=it({minify:!1});for(var e=0;e<X.length;e++)this.plugins.use(X[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(i.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var r=e.index;"number"!==typeof r&&(r=0===tt.index?0:tt.index+1);var n=new J(t,Object(i.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},e.removeStyleSheet=function(t){return t.detach(),tt.remove(t),this},e.createRule=function(t,e,r){if(void 0===e&&(e={}),void 0===r&&(r={}),"object"===typeof t)return this.createRule(void 0,t,e);var n=Object(i.a)({},r,{name:t,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=m(t,e,n);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.forEach((function(e){t.plugins.use(e)})),this},t}();var gt="object"===typeof CSS&&null!=CSS&&"number"in CSS,yt=function(t){return new vt(t)},wt=(yt(),r(1399)),xt={set:function(t,e,r,n){var i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(r,n)},get:function(t,e,r){var n=t.get(e);return n?n.get(r):void 0},delete:function(t,e,r){t.get(e).delete(r)}},Ot=r(656),_t=(r(10),r(518)),St=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var kt=Date.now(),Et="fnValues"+kt,Mt="fnStyle"+ ++kt,Ct=function(){return{onCreateRule:function(t,e,r){if("function"!==typeof e)return null;var n=m(t,{},r);return n[Mt]=e,n},onProcessStyle:function(t,e){if(Et in e||Mt in e)return t;var r={};for(var n in t){var i=t[n];"function"===typeof i&&(delete t[n],r[n]=i)}return e[Et]=r,t},onUpdate:function(t,e,r,n){var i=e,o=i[Mt];o&&(i.style=o(t)||{});var a=i[Et];if(a)for(var s in a)i.prop(s,a[s](t),n)}}},jt="@global",At=function(){function t(t,e,r){for(var n in this.type="global",this.at=jt,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=t,this.options=r,this.rules=new Z(Object(i.a)({},r,{parent:this})),e)this.rules.add(n,e[n]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n&&this.options.jss.plugins.onProcessRule(n),n},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(){return this.rules.toString()},t}(),Tt=function(){function t(t,e,r){this.type="global",this.at=jt,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=t,this.options=r;var n=t.substr("@global ".length);this.rule=r.jss.createRule(n,e,Object(i.a)({},r,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),Pt=/\s*,\s*/g;function Dt(t,e){for(var r=t.split(Pt),n="",i=0;i<r.length;i++)n+=e+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var Rt=function(){return{onCreateRule:function(t,e,r){if(!t)return null;if(t===jt)return new At(t,e,r);if("@"===t[0]&&"@global "===t.substr(0,"@global ".length))return new Tt(t,e,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),!1===r.scoped&&(r.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var r=t.options,n=t.style,o=n?n[jt]:null;if(o){for(var a in o)e.addRule(a,o[a],Object(i.a)({},r,{selector:Dt(a,t.selector)}));delete n[jt]}}(t,e),function(t,e){var r=t.options,n=t.style;for(var o in n)if("@"===o[0]&&o.substr(0,jt.length)===jt){var a=Dt(o.substr(jt.length),t.selector);e.addRule(a,n[o],Object(i.a)({},r,{selector:a})),delete n[o]}}(t,e))}}},Lt=/\s*,\s*/g,It=/&/g,Nt=/\$([\w-]+)/g;var Ft=function(){function t(t,e){return function(r,n){var i=t.getRule(n)||e&&e.getRule(n);return i?(i=i).selector:n}}function e(t,e){for(var r=e.split(Lt),n=t.split(Lt),i="",o=0;o<r.length;o++)for(var a=r[o],s=0;s<n.length;s++){var c=n[s];i&&(i+=", "),i+=-1!==c.indexOf("&")?c.replace(It,a):a+" "+c}return i}function r(t,e,r){if(r)return Object(i.a)({},r,{index:r.index+1});var n=t.options.nestingLevel;n=void 0===n?1:n+1;var o=Object(i.a)({},t.options,{nestingLevel:n,index:e.indexOf(t)+1});return delete o.name,o}return{onProcessStyle:function(n,o,a){if("style"!==o.type)return n;var s,c,u=o,l=u.options.parent;for(var f in n){var h=-1!==f.indexOf("&"),d="@"===f[0];if(h||d){if(s=r(u,l,s),h){var p=e(f,u.selector);c||(c=t(l,a)),p=p.replace(Nt,c),l.addRule(p,n[f],Object(i.a)({},s,{selector:p}))}else d&&l.addRule(f,{},s).addRule(u.key,n[f],{selector:u.selector});delete n[f]}}return n}}},Bt=/[A-Z]/g,zt=/^ms-/,Ht={};function Ut(t){return"-"+t.toLowerCase()}var Wt=function(t){if(Ht.hasOwnProperty(t))return Ht[t];var e=t.replace(Bt,Ut);return Ht[t]=zt.test(e)?"-"+e:e};function qt(t){var e={};for(var r in t){e[0===r.indexOf("--")?r:Wt(r)]=t[r]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(qt):e.fallbacks=qt(t.fallbacks)),e}var Vt=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=qt(t[e]);return t}return qt(t)},onChangeValue:function(t,e,r){if(0===e.indexOf("--"))return t;var n=Wt(e);return e===n?t:(r.prop(n,t),null)}}},Gt=gt&&CSS?CSS.px:"px",Yt=gt&&CSS?CSS.ms:"ms",Xt=gt&&CSS?CSS.percent:"%";function $t(t){var e=/(-[a-z])/g,r=function(t){return t[1].toUpperCase()},n={};for(var i in t)n[i]=t[i],n[i.replace(e,r)]=t[i];return n}var Kt=$t({"animation-delay":Yt,"animation-duration":Yt,"background-position":Gt,"background-position-x":Gt,"background-position-y":Gt,"background-size":Gt,border:Gt,"border-bottom":Gt,"border-bottom-left-radius":Gt,"border-bottom-right-radius":Gt,"border-bottom-width":Gt,"border-left":Gt,"border-left-width":Gt,"border-radius":Gt,"border-right":Gt,"border-right-width":Gt,"border-top":Gt,"border-top-left-radius":Gt,"border-top-right-radius":Gt,"border-top-width":Gt,"border-width":Gt,"border-block":Gt,"border-block-end":Gt,"border-block-end-width":Gt,"border-block-start":Gt,"border-block-start-width":Gt,"border-block-width":Gt,"border-inline":Gt,"border-inline-end":Gt,"border-inline-end-width":Gt,"border-inline-start":Gt,"border-inline-start-width":Gt,"border-inline-width":Gt,"border-start-start-radius":Gt,"border-start-end-radius":Gt,"border-end-start-radius":Gt,"border-end-end-radius":Gt,margin:Gt,"margin-bottom":Gt,"margin-left":Gt,"margin-right":Gt,"margin-top":Gt,"margin-block":Gt,"margin-block-end":Gt,"margin-block-start":Gt,"margin-inline":Gt,"margin-inline-end":Gt,"margin-inline-start":Gt,padding:Gt,"padding-bottom":Gt,"padding-left":Gt,"padding-right":Gt,"padding-top":Gt,"padding-block":Gt,"padding-block-end":Gt,"padding-block-start":Gt,"padding-inline":Gt,"padding-inline-end":Gt,"padding-inline-start":Gt,"mask-position-x":Gt,"mask-position-y":Gt,"mask-size":Gt,height:Gt,width:Gt,"min-height":Gt,"max-height":Gt,"min-width":Gt,"max-width":Gt,bottom:Gt,left:Gt,top:Gt,right:Gt,inset:Gt,"inset-block":Gt,"inset-block-end":Gt,"inset-block-start":Gt,"inset-inline":Gt,"inset-inline-end":Gt,"inset-inline-start":Gt,"box-shadow":Gt,"text-shadow":Gt,"column-gap":Gt,"column-rule":Gt,"column-rule-width":Gt,"column-width":Gt,"font-size":Gt,"font-size-delta":Gt,"letter-spacing":Gt,"text-decoration-thickness":Gt,"text-indent":Gt,"text-stroke":Gt,"text-stroke-width":Gt,"word-spacing":Gt,motion:Gt,"motion-offset":Gt,outline:Gt,"outline-offset":Gt,"outline-width":Gt,perspective:Gt,"perspective-origin-x":Xt,"perspective-origin-y":Xt,"transform-origin":Xt,"transform-origin-x":Xt,"transform-origin-y":Xt,"transform-origin-z":Xt,"transition-delay":Yt,"transition-duration":Yt,"vertical-align":Gt,"flex-basis":Gt,"shape-margin":Gt,size:Gt,gap:Gt,grid:Gt,"grid-gap":Gt,"row-gap":Gt,"grid-row-gap":Gt,"grid-column-gap":Gt,"grid-template-rows":Gt,"grid-template-columns":Gt,"grid-auto-rows":Gt,"grid-auto-columns":Gt,"box-shadow-x":Gt,"box-shadow-y":Gt,"box-shadow-blur":Gt,"box-shadow-spread":Gt,"font-line-height":Gt,"text-shadow-x":Gt,"text-shadow-y":Gt,"text-shadow-blur":Gt});function Zt(t,e,r){if(null==e)return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=Zt(t,e[n],r);else if("object"===typeof e)if("fallbacks"===t)for(var i in e)e[i]=Zt(i,e[i],r);else for(var o in e)e[o]=Zt(t+"-"+o,e[o],r);else if("number"===typeof e&&!1===isNaN(e)){var a=r[t]||Kt[t];return!a||0===e&&a===Gt?e.toString():"function"===typeof a?a(e).toString():""+e+a}return e}var Jt=function(t){void 0===t&&(t={});var e=$t(t);return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n in t)t[n]=Zt(n,t[n],e);return t},onChangeValue:function(t,r){return Zt(r,t,e)}}},Qt=r(232),te="",ee="",re="",ne="",ie=c&&"ontouchstart"in document.documentElement;if(c){var oe={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},ae=document.createElement("p").style;for(var se in oe)if(se+"Transform"in ae){te=se,ee=oe[se];break}"Webkit"===te&&"msHyphens"in ae&&(te="ms",ee=oe.ms,ne="edge"),"Webkit"===te&&"-apple-trailing-word"in ae&&(re="apple")}var ce=te,ue=ee,le=re,fe=ne,he=ie;var de={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===ce?"-webkit-"+t:ue+t)}},pe={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===ce?ue+"print-"+t:t)}},me=/[-\s]+(.)?/g;function be(t,e){return e?e.toUpperCase():""}function ve(t){return t.replace(me,be)}function ge(t){return ve("-"+t)}var ye,we={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===ce){if(ve("mask-image")in e)return t;if(ce+ge("mask-image")in e)return ue+t}return t}},xe={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==le||he?t:ue+t)}},Oe={noPrefill:["transform"],supportedProperty:function(t,e,r){return"transform"===t&&(r.transform?t:ue+t)}},_e={noPrefill:["transition"],supportedProperty:function(t,e,r){return"transition"===t&&(r.transition?t:ue+t)}},Se={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===ce||"ms"===ce&&"edge"!==fe?ue+t:t)}},ke={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===ce||"ms"===ce||"apple"===le?ue+t:t)}},Ee={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===ce?"WebkitColumn"+ge(t)in e&&ue+"column-"+t:"Moz"===ce&&("page"+ge(t)in e&&"page-"+t))}},Me={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===ce)return t;var r=t.replace("-inline","");return ce+ge(r)in e&&ue+r}},Ce={supportedProperty:function(t,e){return ve(t)in e&&t}},je={supportedProperty:function(t,e){var r=ge(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:ce+r in e?ue+t:"Webkit"!==ce&&"Webkit"+r in e&&"-webkit-"+t}},Ae={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===ce?""+ue+t:t)}},Te={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===ce?ue+"scroll-chaining":t)}},Pe={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},De={supportedProperty:function(t,e){var r=Pe[t];return!!r&&(ce+ge(r)in e&&ue+r)}},Re={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Le=Object.keys(Re),Ie=function(t){return ue+t},Ne=[de,pe,we,xe,Oe,_e,Se,ke,Ee,Me,Ce,je,Ae,Te,De,{supportedProperty:function(t,e,r){var n=r.multiple;if(Le.indexOf(t)>-1){var i=Re[t];if(!Array.isArray(i))return ce+ge(i)in e&&ue+i;if(!n)return!1;for(var o=0;o<i.length;o++)if(!(ce+ge(i[0])in e))return!1;return i.map(Ie)}return!1}}],Fe=Ne.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),Be=Ne.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,Object(Qt.a)(e.noPrefill)),t}),[]),ze={};if(c){ye=document.createElement("p");var He=window.getComputedStyle(document.documentElement,"");for(var Ue in He)isNaN(Ue)||(ze[He[Ue]]=He[Ue]);Be.forEach((function(t){return delete ze[t]}))}function We(t,e){if(void 0===e&&(e={}),!ye)return t;if(null!=ze[t])return ze[t];"transition"!==t&&"transform"!==t||(e[t]=t in ye.style);for(var r=0;r<Fe.length&&(ze[t]=Fe[r](t,ye.style,e),!ze[t]);r++);try{ye.style[t]=""}catch(n){return!1}return ze[t]}var qe,Ve={},Ge={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ye=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xe(t,e,r){if("var"===e)return"var";if("all"===e)return"all";if("all"===r)return", all";var n=e?We(e):", "+We(r);return n||(e||r)}function $e(t,e){var r=e;if(!qe||"content"===t)return e;if("string"!==typeof r||!isNaN(parseInt(r,10)))return r;var n=t+r;if(null!=Ve[n])return Ve[n];try{qe.style[t]=r}catch(i){return Ve[n]=!1,!1}if(Ge[t])r=r.replace(Ye,Xe);else if(""===qe.style[t]&&("-ms-flex"===(r=ue+r)&&(qe.style[t]="-ms-flexbox"),qe.style[t]=r,""===qe.style[t]))return Ve[n]=!1,!1;return qe.style[t]="",Ve[n]=r,Ve[n]}c&&(qe=document.createElement("p"));var Ke=function(){function t(e){for(var r in e){var n=e[r];if("fallbacks"===r&&Array.isArray(n))e[r]=n.map(t);else{var i=!1,o=We(r);o&&o!==r&&(i=!0);var a=!1,s=$e(o,v(n));s&&s!==n&&(a=!0),(i||a)&&(i&&delete e[r],e[o||r]=s||n)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at="-"===(r=e.at)[1]||"ms"===ce?r:"@"+ue+"keyframes"+r.substr(10)}var r},onProcessStyle:function(e,r){return"style"!==r.type?e:t(e)},onChangeValue:function(t,e){return $e(e,v(t))||t}}};var Ze=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n={},i=Object.keys(e).sort(t),o=0;o<i.length;o++)n[i[o]]=e[i[o]];return n}}};function Je(){return{plugins:[Ct(),Rt(),Ft(),Vt(),Jt(),"undefined"===typeof window?null:Ke(),Ze()]}}var Qe=yt(Je()),tr={disableGeneration:!1,generateClassName:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,r=void 0!==e&&e,n=t.productionPrefix,i=void 0===n?"jss":n,o=t.seed,a=void 0===o?"":o,s=""===a?"":"".concat(a,"-"),c=0,u=function(){return c+=1};return function(t,e){var n=e.options.name;if(n&&0===n.indexOf("Mui")&&!e.options.link&&!r){if(-1!==St.indexOf(t.key))return"Mui-".concat(t.key);var o="".concat(s).concat(n,"-").concat(t.key);return e.options.theme[_t.a]&&""===a?"".concat(o,"-").concat(u()):o}return"".concat(s).concat(i).concat(u())}}(),jss:Qe,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},er=a.a.createContext(tr);var rr=-1e9;function nr(){return rr+=1}r(217);var ir=r(515);function or(t){var e="function"===typeof t;return{create:function(r,n){var o;try{o=e?t(r):t}catch(c){throw c}if(!n||!r.overrides||!r.overrides[n])return o;var a=r.overrides[n],s=Object(i.a)({},o);return Object.keys(a).forEach((function(t){s[t]=Object(ir.a)(s[t],a[t])})),s},options:{}}}var ar={};function sr(t,e,r){var n=t.state;if(t.stylesOptions.disableGeneration)return e||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,i=!0),e!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=e,i=!0),i&&(n.cacheClasses.value=Object(wt.a)({baseClasses:n.cacheClasses.lastJSS,newClasses:e,Component:r})),n.cacheClasses.value}function cr(t,e){var r=t.state,n=t.theme,o=t.stylesOptions,a=t.stylesCreator,s=t.name;if(!o.disableGeneration){var c=xt.get(o.sheetsManager,a,n);c||(c={refs:0,staticSheet:null,dynamicStyles:null},xt.set(o.sheetsManager,a,n,c));var u=Object(i.a)({},a.options,o,{theme:n,flip:"boolean"===typeof o.flip?o.flip:"rtl"===n.direction});u.generateId=u.serverGenerateClassName||u.generateClassName;var l=o.sheetsRegistry;if(0===c.refs){var f;o.sheetsCache&&(f=xt.get(o.sheetsCache,a,n));var h=a.create(n,s);f||((f=o.jss.createStyleSheet(h,Object(i.a)({link:!1},u))).attach(),o.sheetsCache&&xt.set(o.sheetsCache,a,n,f)),l&&l.add(f),c.staticSheet=f,c.dynamicStyles=function t(e){var r=null;for(var n in e){var i=e[n],o=typeof i;if("function"===o)r||(r={}),r[n]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=t(i);a&&(r||(r={}),r[n]=a)}}return r}(h)}if(c.dynamicStyles){var d=o.jss.createStyleSheet(c.dynamicStyles,Object(i.a)({link:!0},u));d.update(e),d.attach(),r.dynamicSheet=d,r.classes=Object(wt.a)({baseClasses:c.staticSheet.classes,newClasses:d.classes}),l&&l.add(d)}else r.classes=c.staticSheet.classes;c.refs+=1}}function ur(t,e){var r=t.state;r.dynamicSheet&&r.dynamicSheet.update(e)}function lr(t){var e=t.state,r=t.theme,n=t.stylesOptions,i=t.stylesCreator;if(!n.disableGeneration){var o=xt.get(n.sheetsManager,i,r);o.refs-=1;var a=n.sheetsRegistry;0===o.refs&&(xt.delete(n.sheetsManager,i,r),n.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}}function fr(t,e){var r,n=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),e);n.current!==i&&(n.current=i,r=t()),a.a.useEffect((function(){return function(){r&&r()}}),[i])}function hr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.name,o=e.classNamePrefix,s=e.Component,c=e.defaultTheme,u=void 0===c?ar:c,l=Object(n.a)(e,["name","classNamePrefix","Component","defaultTheme"]),f=or(t),h=r||o||"makeStyles";f.options={index:nr(),name:r,meta:h,classNamePrefix:h};var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(Ot.a)()||u,n=Object(i.a)({},a.a.useContext(er),l),o=a.a.useRef(),c=a.a.useRef();fr((function(){var i={name:r,state:{},stylesCreator:f,stylesOptions:n,theme:e};return cr(i,t),c.current=!1,o.current=i,function(){lr(i)}}),[e,f]),a.a.useEffect((function(){c.current&&ur(o.current,t),c.current=!0}));var h=sr(o.current,t.classes,s);return h};return d}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(147),u=r(373),l=r(49),f=r(6),h=Object(l.a)(Object(f.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=Object(l.a)(Object(f.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),p=Object(l.a)(Object(f.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),m=r(24),b=r(22),v=r(13),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiCheckbox",t)}var x=Object(y.a)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),O=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],_=Object(v.a)(u.a,{shouldForwardProp:function(t){return Object(v.b)(t)||"classes"===t},name:"MuiCheckbox",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.indeterminate&&e.indeterminate,"default"!==r.color&&e["color".concat(Object(m.a)(r.color))]]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({color:r.palette.text.secondary},!i.disableRipple&&{"&:hover":{backgroundColor:Object(c.a)("default"===i.color?r.palette.action.active:r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==i.color&&(e={},Object(n.a)(e,"&.".concat(x.checked,", &.").concat(x.indeterminate),{color:r.palette[i.color].main}),Object(n.a)(e,"&.".concat(x.disabled),{color:r.palette.action.disabled}),e))})),S=Object(f.jsx)(d,{}),k=Object(f.jsx)(h,{}),E=Object(f.jsx)(p,{}),M=a.forwardRef((function(t,e){var r,n,c=Object(b.a)({props:t,name:"MuiCheckbox"}),u=c.checkedIcon,l=void 0===u?S:u,h=c.color,d=void 0===h?"primary":h,p=c.icon,v=void 0===p?k:p,g=c.indeterminate,y=void 0!==g&&g,x=c.indeterminateIcon,M=void 0===x?E:x,C=c.inputProps,j=c.size,A=void 0===j?"medium":j,T=Object(i.a)(c,O),P=y?M:v,D=y?M:l,R=Object(o.a)({},c,{color:d,indeterminate:y,size:A}),L=function(t){var e=t.classes,r=t.indeterminate,n=t.color,i={root:["root",r&&"indeterminate","color".concat(Object(m.a)(n))]},a=Object(s.a)(i,w,e);return Object(o.a)({},e,a)}(R);return Object(f.jsx)(_,Object(o.a)({type:"checkbox",inputProps:Object(o.a)({"data-indeterminate":y},C),icon:a.cloneElement(P,{fontSize:null!=(r=P.props.fontSize)?r:A}),checkedIcon:a.cloneElement(D,{fontSize:null!=(n=D.props.fontSize)?n:A}),ownerState:R,ref:e},T,{classes:L}))}));e.a=M},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(24),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiSvgIcon",t)}Object(h.a)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=r(6),m=["children","className","color","component","fontSize","htmlColor","titleAccess","viewBox"],b=Object(l.a)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"inherit"!==r.color&&e["color".concat(Object(c.a)(r.color))],e["fontSize".concat(Object(c.a)(r.fontSize))]]}})((function(t){var e,r,n=t.theme,i=t.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:n.transitions.create("fill",{duration:n.transitions.duration.shorter}),fontSize:{inherit:"inherit",small:n.typography.pxToRem(20),medium:n.typography.pxToRem(24),large:n.typography.pxToRem(35)}[i.fontSize],color:null!=(e=null==(r=n.palette[i.color])?void 0:r.main)?e:{action:n.palette.action.active,disabled:n.palette.action.disabled,inherit:void 0}[i.color]}})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiSvgIcon"}),o=r.children,l=r.className,f=r.color,h=void 0===f?"inherit":f,v=r.component,g=void 0===v?"svg":v,y=r.fontSize,w=void 0===y?"medium":y,x=r.htmlColor,O=r.titleAccess,_=r.viewBox,S=void 0===_?"0 0 24 24":_,k=Object(i.a)(r,m),E=Object(n.a)({},r,{color:h,component:g,fontSize:w,viewBox:S}),M=function(t){var e=t.color,r=t.fontSize,n=t.classes,i={root:["root","inherit"!==e&&"color".concat(Object(c.a)(e)),"fontSize".concat(Object(c.a)(r))]};return Object(s.a)(i,d,n)}(E);return Object(p.jsxs)(b,Object(n.a)({as:g,className:Object(a.a)(M.root,l),ownerState:E,focusable:"false",viewBox:S,color:x,"aria-hidden":!O||void 0,role:O?"img":void 0,ref:e},k,{children:[o,O?Object(p.jsx)("title",{children:O}):null]}))}));v.muiName="SvgIcon";e.a=v},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(147),u=r(13),l=r(22),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiPaper",t)}Object(h.a)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var p=r(6),m=["className","component","elevation","square","variant"],b=function(t){return((t<1?5.11916*Math.pow(t,2):4.5*Math.log(t+1)+2)/100).toFixed(2)},v=Object(u.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],!r.square&&e.rounded,"elevation"===r.variant&&e["elevation".concat(r.elevation)]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!r.square&&{borderRadius:e.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat(e.palette.divider)},"elevation"===r.variant&&Object(i.a)({boxShadow:e.shadows[r.elevation]},"dark"===e.palette.mode&&{backgroundImage:"linear-gradient(".concat(Object(c.a)("#fff",b(r.elevation)),", ").concat(Object(c.a)("#fff",b(r.elevation)),")")}))})),g=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiPaper"}),o=r.className,c=r.component,u=void 0===c?"div":c,f=r.elevation,h=void 0===f?1:f,b=r.square,g=void 0!==b&&b,y=r.variant,w=void 0===y?"elevation":y,x=Object(n.a)(r,m),O=Object(i.a)({},r,{component:u,elevation:h,square:g,variant:w}),_=function(t){var e=t.square,r=t.elevation,n=t.variant,i=t.classes,o={root:["root",n,!e&&"rounded","elevation"===n&&"elevation".concat(r)]};return Object(s.a)(o,d,i)}(O);return Object(p.jsx)(v,Object(i.a)({as:u,ownerState:O,className:Object(a.a)(_.root,o),ref:e},x))}));e.a=g},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(355),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,b="function"===typeof Symbol&&Symbol.iterator;function v(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function w(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||g}function x(){}function O(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||g}w.prototype.isReactComponent={},w.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(v(85));this.updater.enqueueSetState(this,t,e,"setState")},w.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},x.prototype=w.prototype;var _=O.prototype=new x;_.constructor=O,n(_,w.prototype),_.isPureReactComponent=!0;var S={current:null},k=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function M(t,e,r){var n,i={},a=null,s=null;if(null!=e)for(n in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)k.call(e,n)&&!E.hasOwnProperty(n)&&(i[n]=e[n]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(t&&t.defaultProps)for(n in c=t.defaultProps)void 0===i[n]&&(i[n]=c[n]);return{$$typeof:o,type:t,key:a,ref:s,props:i,_owner:S.current}}function C(t){return"object"===typeof t&&null!==t&&t.$$typeof===o}var j=/\/+/g,A=[];function T(t,e,r,n){if(A.length){var i=A.pop();return i.result=t,i.keyPrefix=e,i.func=r,i.context=n,i.count=0,i}return{result:t,keyPrefix:e,func:r,context:n,count:0}}function P(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>A.length&&A.push(t)}function D(t,e,r){return null==t?0:function t(e,r,n,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case o:case a:c=!0}}if(c)return n(i,e,""===r?"."+R(e,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var l=r+R(s=e[u],u);c+=t(s,l,n,i)}else if(null===e||"object"!==typeof e?l=null:l="function"===typeof(l=b&&e[b]||e["@@iterator"])?l:null,"function"===typeof l)for(e=l.call(e),u=0;!(s=e.next()).done;)c+=t(s=s.value,l=r+R(s,u++),n,i);else if("object"===s)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return c}(t,"",e,r)}function R(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,(function(t){return e[t]}))}(t.key):e.toString(36)}function L(t,e){t.func.call(t.context,e,t.count++)}function I(t,e,r){var n=t.result,i=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?N(t,n,r,(function(t){return t})):null!=t&&(C(t)&&(t=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(j,"$&/")+"/")+r)),n.push(t))}function N(t,e,r,n,i){var o="";null!=r&&(o=(""+r).replace(j,"$&/")+"/"),D(t,I,e=T(e,o,n,i)),P(e)}var F={current:null};function B(){var t=F.current;if(null===t)throw Error(v(321));return t}var z={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:n};e.Children={map:function(t,e,r){if(null==t)return t;var n=[];return N(t,n,null,e,r),n},forEach:function(t,e,r){if(null==t)return t;D(t,L,e=T(null,null,e,r)),P(e)},count:function(t){return D(t,(function(){return null}),null)},toArray:function(t){var e=[];return N(t,e,null,(function(t){return t})),e},only:function(t){if(!C(t))throw Error(v(143));return t}},e.Component=w,e.Fragment=s,e.Profiler=u,e.PureComponent=O,e.StrictMode=c,e.Suspense=d,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,e.cloneElement=function(t,e,r){if(null===t||void 0===t)throw Error(v(267,t));var i=n({},t.props),a=t.key,s=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,c=S.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(l in e)k.call(e,l)&&!E.hasOwnProperty(l)&&(i[l]=void 0===e[l]&&void 0!==u?u[l]:e[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var f=0;f<l;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:o,type:t.type,key:a,ref:s,props:i,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:f,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},e.createElement=M,e.createFactory=function(t){var e=M.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:h,render:t}},e.isValidElement=C,e.lazy=function(t){return{$$typeof:m,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:p,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return B().useCallback(t,e)},e.useContext=function(t,e){return B().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return B().useEffect(t,e)},e.useImperativeHandle=function(t,e,r){return B().useImperativeHandle(t,e,r)},e.useLayoutEffect=function(t,e){return B().useLayoutEffect(t,e)},e.useMemo=function(t,e){return B().useMemo(t,e)},e.useReducer=function(t,e,r){return B().useReducer(t,e,r)},e.useRef=function(t){return B().useRef(t)},e.useState=function(t){return B().useState(t)},e.version="16.14.0"},function(t,e,r){"use strict";var n=r(0),i=r(355),o=r(930);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));function s(t,e,r,n,i,o,a,s,c){var u=Array.prototype.slice.call(arguments,3);try{e.apply(r,u)}catch(l){this.onError(l)}}var c=!1,u=null,l=!1,f=null,h={onError:function(t){c=!0,u=t}};function d(t,e,r,n,i,o,a,l,f){c=!1,u=null,s.apply(h,arguments)}var p=null,m=null,b=null;function v(t,e,r){var n=t.type||"unknown-event";t.currentTarget=b(r),function(t,e,r,n,i,o,s,h,p){if(d.apply(this,arguments),c){if(!c)throw Error(a(198));var m=u;c=!1,u=null,l||(l=!0,f=m)}}(n,e,void 0,t),t.currentTarget=null}var g=null,y={};function w(){if(g)for(var t in y){var e=y[t],r=g.indexOf(t);if(!(-1<r))throw Error(a(96,t));if(!O[r]){if(!e.extractEvents)throw Error(a(97,t));for(var n in O[r]=e,r=e.eventTypes){var i=void 0,o=r[n],s=e,c=n;if(_.hasOwnProperty(c))throw Error(a(99,c));_[c]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&x(u[i],s,c);i=!0}else o.registrationName?(x(o.registrationName,s,c),i=!0):i=!1;if(!i)throw Error(a(98,n,t))}}}}function x(t,e,r){if(S[t])throw Error(a(100,t));S[t]=e,k[t]=e.eventTypes[r].dependencies}var O=[],_={},S={},k={};function E(t){var e,r=!1;for(e in t)if(t.hasOwnProperty(e)){var n=t[e];if(!y.hasOwnProperty(e)||y[e]!==n){if(y[e])throw Error(a(102,e));y[e]=n,r=!0}}r&&w()}var M=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),C=null,j=null,A=null;function T(t){if(t=m(t)){if("function"!==typeof C)throw Error(a(280));var e=t.stateNode;e&&(e=p(e),C(t.stateNode,t.type,e))}}function P(t){j?A?A.push(t):A=[t]:j=t}function D(){if(j){var t=j,e=A;if(A=j=null,T(t),e)for(t=0;t<e.length;t++)T(e[t])}}function R(t,e){return t(e)}function L(t,e,r,n,i){return t(e,r,n,i)}function I(){}var N=R,F=!1,B=!1;function z(){null===j&&null===A||(I(),D())}function H(t,e,r){if(B)return t(e,r);B=!0;try{return N(t,e,r)}finally{B=!1,z()}}var U=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W=Object.prototype.hasOwnProperty,q={},V={};function G(t,e,r,n,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){Y[t]=new G(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];Y[e]=new G(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){Y[t]=new G(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){Y[t]=new G(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){Y[t]=new G(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){Y[t]=new G(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){Y[t]=new G(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){Y[t]=new G(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){Y[t]=new G(t,5,!1,t.toLowerCase(),null,!1)}));var X=/[\-:]([a-z])/g;function $(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(X,$);Y[e]=new G(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(X,$);Y[e]=new G(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(X,$);Y[e]=new G(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){Y[t]=new G(t,1,!1,t.toLowerCase(),null,!1)})),Y.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){Y[t]=new G(t,1,!1,t.toLowerCase(),null,!0)}));var K=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(t,e,r,n){var i=Y.hasOwnProperty(e)?Y[e]:null;(null!==i?0===i.type:!n&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,r,n){if(null===e||"undefined"===typeof e||function(t,e,r,n){if(null!==r&&0===r.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,r,i,n)&&(r=null),n||null===i?function(t){return!!W.call(V,t)||!W.call(q,t)&&(U.test(t)?V[t]=!0:(q[t]=!0,!1))}(e)&&(null===r?t.removeAttribute(e):t.setAttribute(e,""+r)):i.mustUseProperty?t[i.propertyName]=null===r?3!==i.type&&"":r:(e=i.attributeName,n=i.attributeNamespace,null===r?t.removeAttribute(e):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?t.setAttributeNS(n,e,r):t.setAttribute(e,r))))}K.hasOwnProperty("ReactCurrentDispatcher")||(K.ReactCurrentDispatcher={current:null}),K.hasOwnProperty("ReactCurrentBatchConfig")||(K.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Q="function"===typeof Symbol&&Symbol.for,tt=Q?Symbol.for("react.element"):60103,et=Q?Symbol.for("react.portal"):60106,rt=Q?Symbol.for("react.fragment"):60107,nt=Q?Symbol.for("react.strict_mode"):60108,it=Q?Symbol.for("react.profiler"):60114,ot=Q?Symbol.for("react.provider"):60109,at=Q?Symbol.for("react.context"):60110,st=Q?Symbol.for("react.concurrent_mode"):60111,ct=Q?Symbol.for("react.forward_ref"):60112,ut=Q?Symbol.for("react.suspense"):60113,lt=Q?Symbol.for("react.suspense_list"):60120,ft=Q?Symbol.for("react.memo"):60115,ht=Q?Symbol.for("react.lazy"):60116,dt=Q?Symbol.for("react.block"):60121,pt="function"===typeof Symbol&&Symbol.iterator;function mt(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=pt&&t[pt]||t["@@iterator"])?t:null}function bt(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case rt:return"Fragment";case et:return"Portal";case it:return"Profiler";case nt:return"StrictMode";case ut:return"Suspense";case lt:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case at:return"Context.Consumer";case ot:return"Context.Provider";case ct:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case ft:return bt(t.type);case dt:return bt(t.render);case ht:if(t=1===t._status?t._result:null)return bt(t)}return null}function vt(t){var e="";do{t:switch(t.tag){case 3:case 4:case 6:case 7:case 10:case 9:var r="";break t;default:var n=t._debugOwner,i=t._debugSource,o=bt(t.type);r=null,n&&(r=bt(n.type)),n=o,o="",i?o=" (at "+i.fileName.replace(J,"")+":"+i.lineNumber+")":r&&(o=" (created by "+r+")"),r="\n    in "+(n||"Unknown")+o}e+=r,t=t.return}while(t);return e}function gt(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function yt(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function wt(t){t._valueTracker||(t._valueTracker=function(t){var e=yt(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){n=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(t){n=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function xt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=yt(t)?t.checked?"true":"false":t.value),(t=n)!==r&&(e.setValue(t),!0)}function Ot(t,e){var r=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:t._wrapperState.initialChecked})}function _t(t,e){var r=null==e.defaultValue?"":e.defaultValue,n=null!=e.checked?e.checked:e.defaultChecked;r=gt(null!=e.value?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function St(t,e){null!=(e=e.checked)&&Z(t,"checked",e,!1)}function kt(t,e){St(t,e);var r=gt(e.value),n=e.type;if(null!=r)"number"===n?(0===r&&""===t.value||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if("submit"===n||"reset"===n)return void t.removeAttribute("value");e.hasOwnProperty("value")?Mt(t,e.type,r):e.hasOwnProperty("defaultValue")&&Mt(t,e.type,gt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Et(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!("submit"!==n&&"reset"!==n||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}""!==(r=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==r&&(t.name=r)}function Mt(t,e,r){"number"===e&&t.ownerDocument.activeElement===t||(null==r?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}function Ct(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return n.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function jt(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&n&&(t[r].defaultSelected=!0)}else{for(r=""+gt(r),e=null,i=0;i<t.length;i++){if(t[i].value===r)return t[i].selected=!0,void(n&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function At(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Tt(t,e){var r=e.value;if(null==r){if(r=e.children,e=e.defaultValue,null!=r){if(null!=e)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}e=r}null==e&&(e=""),r=e}t._wrapperState={initialValue:gt(r)}}function Pt(t,e){var r=gt(e.value),n=gt(e.defaultValue);null!=r&&((r=""+r)!==t.value&&(t.value=r),null==e.defaultValue&&t.defaultValue!==r&&(t.defaultValue=r)),null!=n&&(t.defaultValue=""+n)}function Dt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var Rt="http://www.w3.org/1999/xhtml",Lt="http://www.w3.org/2000/svg";function It(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Nt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?It(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Ft,Bt=function(t){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,r,n,i){MSApp.execUnsafeLocalFunction((function(){return t(e,r)}))}:t}((function(t,e){if(t.namespaceURI!==Lt||"innerHTML"in t)t.innerHTML=e;else{for((Ft=Ft||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Ft.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}}));function zt(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&3===r.nodeType)return void(r.nodeValue=e)}t.textContent=e}function Ht(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var Ut={animationend:Ht("Animation","AnimationEnd"),animationiteration:Ht("Animation","AnimationIteration"),animationstart:Ht("Animation","AnimationStart"),transitionend:Ht("Transition","TransitionEnd")},Wt={},qt={};function Vt(t){if(Wt[t])return Wt[t];if(!Ut[t])return t;var e,r=Ut[t];for(e in r)if(r.hasOwnProperty(e)&&e in qt)return Wt[t]=r[e];return t}M&&(qt=document.createElement("div").style,"AnimationEvent"in window||(delete Ut.animationend.animation,delete Ut.animationiteration.animation,delete Ut.animationstart.animation),"TransitionEvent"in window||delete Ut.transitionend.transition);var Gt=Vt("animationend"),Yt=Vt("animationiteration"),Xt=Vt("animationstart"),$t=Vt("transitionend"),Kt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Zt=new("function"===typeof WeakMap?WeakMap:Map);function Jt(t){var e=Zt.get(t);return void 0===e&&(e=new Map,Zt.set(t,e)),e}function Qt(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).effectTag)&&(r=e.return),t=e.return}while(t)}return 3===e.tag?r:null}function te(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function ee(t){if(Qt(t)!==t)throw Error(a(188))}function re(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=Qt(t)))throw Error(a(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(n=i.return)){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return ee(i),t;if(o===n)return ee(i),e;o=o.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,c=i.child;c;){if(c===r){s=!0,r=i,n=o;break}if(c===n){s=!0,n=i,r=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===r){s=!0,r=o,n=i;break}if(c===n){s=!0,n=o,r=i;break}c=c.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function ne(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function ie(t,e,r){Array.isArray(t)?t.forEach(e,r):t&&e.call(r,t)}var oe=null;function ae(t){if(t){var e=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(e))for(var n=0;n<e.length&&!t.isPropagationStopped();n++)v(t,e[n],r[n]);else e&&v(t,e,r);t._dispatchListeners=null,t._dispatchInstances=null,t.isPersistent()||t.constructor.release(t)}}function se(t){if(null!==t&&(oe=ne(oe,t)),t=oe,oe=null,t){if(ie(t,ae),oe)throw Error(a(95));if(l)throw t=f,l=!1,f=null,t}}function ce(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}function ue(t){if(!M)return!1;var e=(t="on"+t)in document;return e||((e=document.createElement("div")).setAttribute(t,"return;"),e="function"===typeof e[t]),e}var le=[];function fe(t){t.topLevelType=null,t.nativeEvent=null,t.targetInst=null,t.ancestors.length=0,10>le.length&&le.push(t)}function he(t,e,r,n){if(le.length){var i=le.pop();return i.topLevelType=t,i.eventSystemFlags=n,i.nativeEvent=e,i.targetInst=r,i}return{topLevelType:t,eventSystemFlags:n,nativeEvent:e,targetInst:r,ancestors:[]}}function de(t){var e=t.targetInst,r=e;do{if(!r){t.ancestors.push(r);break}var n=r;if(3===n.tag)n=n.stateNode.containerInfo;else{for(;n.return;)n=n.return;n=3!==n.tag?null:n.stateNode.containerInfo}if(!n)break;5!==(e=r.tag)&&6!==e||t.ancestors.push(r),r=Er(n)}while(r);for(r=0;r<t.ancestors.length;r++){e=t.ancestors[r];var i=ce(t.nativeEvent);n=t.topLevelType;var o=t.nativeEvent,a=t.eventSystemFlags;0===r&&(a|=64);for(var s=null,c=0;c<O.length;c++){var u=O[c];u&&(u=u.extractEvents(n,e,o,i,a))&&(s=ne(s,u))}se(s)}}function pe(t,e,r){if(!r.has(t)){switch(t){case"scroll":Xe(e,"scroll",!0);break;case"focus":case"blur":Xe(e,"focus",!0),Xe(e,"blur",!0),r.set("blur",null),r.set("focus",null);break;case"cancel":case"close":ue(t)&&Xe(e,t,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Kt.indexOf(t)&&Ye(t,e)}r.set(t,null)}}var me,be,ve,ge=!1,ye=[],we=null,xe=null,Oe=null,_e=new Map,Se=new Map,ke=[],Ee="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Me="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ce(t,e,r,n,i){return{blockedOn:t,topLevelType:e,eventSystemFlags:32|r,nativeEvent:i,container:n}}function je(t,e){switch(t){case"focus":case"blur":we=null;break;case"dragenter":case"dragleave":xe=null;break;case"mouseover":case"mouseout":Oe=null;break;case"pointerover":case"pointerout":_e.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Se.delete(e.pointerId)}}function Ae(t,e,r,n,i,o){return null===t||t.nativeEvent!==o?(t=Ce(e,r,n,i,o),null!==e&&(null!==(e=Mr(e))&&be(e)),t):(t.eventSystemFlags|=n,t)}function Te(t){var e=Er(t.target);if(null!==e){var r=Qt(e);if(null!==r)if(13===(e=r.tag)){if(null!==(e=te(r)))return t.blockedOn=e,void o.unstable_runWithPriority(t.priority,(function(){ve(r)}))}else if(3===e&&r.stateNode.hydrate)return void(t.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}t.blockedOn=null}function Pe(t){if(null!==t.blockedOn)return!1;var e=Je(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);if(null!==e){var r=Mr(e);return null!==r&&be(r),t.blockedOn=e,!1}return!0}function De(t,e,r){Pe(t)&&r.delete(e)}function Re(){for(ge=!1;0<ye.length;){var t=ye[0];if(null!==t.blockedOn){null!==(t=Mr(t.blockedOn))&&me(t);break}var e=Je(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);null!==e?t.blockedOn=e:ye.shift()}null!==we&&Pe(we)&&(we=null),null!==xe&&Pe(xe)&&(xe=null),null!==Oe&&Pe(Oe)&&(Oe=null),_e.forEach(De),Se.forEach(De)}function Le(t,e){t.blockedOn===e&&(t.blockedOn=null,ge||(ge=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Re)))}function Ie(t){function e(e){return Le(e,t)}if(0<ye.length){Le(ye[0],t);for(var r=1;r<ye.length;r++){var n=ye[r];n.blockedOn===t&&(n.blockedOn=null)}}for(null!==we&&Le(we,t),null!==xe&&Le(xe,t),null!==Oe&&Le(Oe,t),_e.forEach(e),Se.forEach(e),r=0;r<ke.length;r++)(n=ke[r]).blockedOn===t&&(n.blockedOn=null);for(;0<ke.length&&null===(r=ke[0]).blockedOn;)Te(r),null===r.blockedOn&&ke.shift()}var Ne={},Fe=new Map,Be=new Map,ze=["abort","abort",Gt,"animationEnd",Yt,"animationIteration",Xt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$t,"transitionEnd","waiting","waiting"];function He(t,e){for(var r=0;r<t.length;r+=2){var n=t[r],i=t[r+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],eventPriority:e},Be.set(n,e),Fe.set(n,o),Ne[i]=o}}He("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),He("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),He(ze,2);for(var Ue="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),We=0;We<Ue.length;We++)Be.set(Ue[We],0);var qe=o.unstable_UserBlockingPriority,Ve=o.unstable_runWithPriority,Ge=!0;function Ye(t,e){Xe(e,t,!1)}function Xe(t,e,r){var n=Be.get(e);switch(void 0===n?2:n){case 0:n=$e.bind(null,e,1,t);break;case 1:n=Ke.bind(null,e,1,t);break;default:n=Ze.bind(null,e,1,t)}r?t.addEventListener(e,n,!0):t.addEventListener(e,n,!1)}function $e(t,e,r,n){F||I();var i=Ze,o=F;F=!0;try{L(i,t,e,r,n)}finally{(F=o)||z()}}function Ke(t,e,r,n){Ve(qe,Ze.bind(null,t,e,r,n))}function Ze(t,e,r,n){if(Ge)if(0<ye.length&&-1<Ee.indexOf(t))t=Ce(null,t,e,r,n),ye.push(t);else{var i=Je(t,e,r,n);if(null===i)je(t,n);else if(-1<Ee.indexOf(t))t=Ce(i,t,e,r,n),ye.push(t);else if(!function(t,e,r,n,i){switch(e){case"focus":return we=Ae(we,t,e,r,n,i),!0;case"dragenter":return xe=Ae(xe,t,e,r,n,i),!0;case"mouseover":return Oe=Ae(Oe,t,e,r,n,i),!0;case"pointerover":var o=i.pointerId;return _e.set(o,Ae(_e.get(o)||null,t,e,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Se.set(o,Ae(Se.get(o)||null,t,e,r,n,i)),!0}return!1}(i,t,e,r,n)){je(t,n),t=he(t,n,null,e);try{H(de,t)}finally{fe(t)}}}}function Je(t,e,r,n){if(null!==(r=Er(r=ce(n)))){var i=Qt(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(null!==(r=te(i)))return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}t=he(t,n,r,e);try{H(de,t)}finally{fe(t)}return null}var Qe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tr=["Webkit","ms","Moz","O"];function er(t,e,r){return null==e||"boolean"===typeof e||""===e?"":r||"number"!==typeof e||0===e||Qe.hasOwnProperty(t)&&Qe[t]?(""+e).trim():e+"px"}function rr(t,e){for(var r in t=t.style,e)if(e.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=er(r,e[r],n);"float"===r&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}Object.keys(Qe).forEach((function(t){tr.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Qe[e]=Qe[t]}))}));var nr=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ir(t,e){if(e){if(nr[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t,""));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(a(62,""))}}function or(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ar=Rt;function sr(t,e){var r=Jt(t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument);e=k[e];for(var n=0;n<e.length;n++)pe(e[n],t,r)}function cr(){}function ur(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function lr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function fr(t,e){var r,n=lr(t);for(t=0;n;){if(3===n.nodeType){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=lr(n)}}function hr(){for(var t=window,e=ur();e instanceof t.HTMLIFrameElement;){try{var r="string"===typeof e.contentWindow.location.href}catch(n){r=!1}if(!r)break;e=ur((t=e.contentWindow).document)}return e}function dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var pr=null,mr=null;function br(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function vr(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var gr="function"===typeof setTimeout?setTimeout:void 0,yr="function"===typeof clearTimeout?clearTimeout:void 0;function wr(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function xr(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var r=t.data;if("$"===r||"$!"===r||"$?"===r){if(0===e)return t;e--}else"/$"===r&&e++}t=t.previousSibling}return null}var Or=Math.random().toString(36).slice(2),_r="__reactInternalInstance$"+Or,Sr="__reactEventHandlers$"+Or,kr="__reactContainere$"+Or;function Er(t){var e=t[_r];if(e)return e;for(var r=t.parentNode;r;){if(e=r[kr]||r[_r]){if(r=e.alternate,null!==e.child||null!==r&&null!==r.child)for(t=xr(t);null!==t;){if(r=t[_r])return r;t=xr(t)}return e}r=(t=r).parentNode}return null}function Mr(t){return!(t=t[_r]||t[kr])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function Cr(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function jr(t){return t[Sr]||null}function Ar(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Tr(t,e){var r=t.stateNode;if(!r)return null;var n=p(r);if(!n)return null;r=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!n;break t;default:t=!1}if(t)return null;if(r&&"function"!==typeof r)throw Error(a(231,e,typeof r));return r}function Pr(t,e,r){(e=Tr(t,r.dispatchConfig.phasedRegistrationNames[e]))&&(r._dispatchListeners=ne(r._dispatchListeners,e),r._dispatchInstances=ne(r._dispatchInstances,t))}function Dr(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,r=[];e;)r.push(e),e=Ar(e);for(e=r.length;0<e--;)Pr(r[e],"captured",t);for(e=0;e<r.length;e++)Pr(r[e],"bubbled",t)}}function Rr(t,e,r){t&&r&&r.dispatchConfig.registrationName&&(e=Tr(t,r.dispatchConfig.registrationName))&&(r._dispatchListeners=ne(r._dispatchListeners,e),r._dispatchInstances=ne(r._dispatchInstances,t))}function Lr(t){t&&t.dispatchConfig.registrationName&&Rr(t._targetInst,null,t)}function Ir(t){ie(t,Dr)}var Nr=null,Fr=null,Br=null;function zr(){if(Br)return Br;var t,e,r=Fr,n=r.length,i="value"in Nr?Nr.value:Nr.textContent,o=i.length;for(t=0;t<n&&r[t]===i[t];t++);var a=n-t;for(e=1;e<=a&&r[n-e]===i[o-e];e++);return Br=i.slice(t,1<e?1-e:void 0)}function Hr(){return!0}function Ur(){return!1}function Wr(t,e,r,n){for(var i in this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=r,t=this.constructor.Interface)t.hasOwnProperty(i)&&((e=t[i])?this[i]=e(r):"target"===i?this.target=n:this[i]=r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?Hr:Ur,this.isPropagationStopped=Ur,this}function qr(t,e,r,n){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,t,e,r,n),i}return new this(t,e,r,n)}function Vr(t){if(!(t instanceof this))throw Error(a(279));t.destructor(),10>this.eventPool.length&&this.eventPool.push(t)}function Gr(t){t.eventPool=[],t.getPooled=qr,t.release=Vr}i(Wr.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=Hr)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=Hr)},persist:function(){this.isPersistent=Hr},isPersistent:Ur,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Ur,this._dispatchInstances=this._dispatchListeners=null}}),Wr.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Wr.extend=function(t){function e(){}function r(){return n.apply(this,arguments)}var n=this;e.prototype=n.prototype;var o=new e;return i(o,r.prototype),r.prototype=o,r.prototype.constructor=r,r.Interface=i({},n.Interface,t),r.extend=n.extend,Gr(r),r},Gr(Wr);var Yr=Wr.extend({data:null}),Xr=Wr.extend({data:null}),$r=[9,13,27,32],Kr=M&&"CompositionEvent"in window,Zr=null;M&&"documentMode"in document&&(Zr=document.documentMode);var Jr=M&&"TextEvent"in window&&!Zr,Qr=M&&(!Kr||Zr&&8<Zr&&11>=Zr),tn=String.fromCharCode(32),en={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rn=!1;function nn(t,e){switch(t){case"keyup":return-1!==$r.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function on(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var an=!1;var sn={eventTypes:en,extractEvents:function(t,e,r,n){var i;if(Kr)t:{switch(t){case"compositionstart":var o=en.compositionStart;break t;case"compositionend":o=en.compositionEnd;break t;case"compositionupdate":o=en.compositionUpdate;break t}o=void 0}else an?nn(t,r)&&(o=en.compositionEnd):"keydown"===t&&229===r.keyCode&&(o=en.compositionStart);return o?(Qr&&"ko"!==r.locale&&(an||o!==en.compositionStart?o===en.compositionEnd&&an&&(i=zr()):(Fr="value"in(Nr=n)?Nr.value:Nr.textContent,an=!0)),o=Yr.getPooled(o,e,r,n),i?o.data=i:null!==(i=on(r))&&(o.data=i),Ir(o),i=o):i=null,(t=Jr?function(t,e){switch(t){case"compositionend":return on(e);case"keypress":return 32!==e.which?null:(rn=!0,tn);case"textInput":return(t=e.data)===tn&&rn?null:t;default:return null}}(t,r):function(t,e){if(an)return"compositionend"===t||!Kr&&nn(t,e)?(t=zr(),Br=Fr=Nr=null,an=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Qr&&"ko"!==e.locale?null:e.data;default:return null}}(t,r))?((e=Xr.getPooled(en.beforeInput,e,r,n)).data=t,Ir(e)):e=null,null===i?e:null===e?i:[i,e]}},cn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function un(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!cn[t.type]:"textarea"===e}var ln={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fn(t,e,r){return(t=Wr.getPooled(ln.change,t,e,r)).type="change",P(r),Ir(t),t}var hn=null,dn=null;function pn(t){se(t)}function mn(t){if(xt(Cr(t)))return t}function bn(t,e){if("change"===t)return e}var vn=!1;function gn(){hn&&(hn.detachEvent("onpropertychange",yn),dn=hn=null)}function yn(t){if("value"===t.propertyName&&mn(dn))if(t=fn(dn,t,ce(t)),F)se(t);else{F=!0;try{R(pn,t)}finally{F=!1,z()}}}function wn(t,e,r){"focus"===t?(gn(),dn=r,(hn=e).attachEvent("onpropertychange",yn)):"blur"===t&&gn()}function xn(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return mn(dn)}function On(t,e){if("click"===t)return mn(e)}function _n(t,e){if("input"===t||"change"===t)return mn(e)}M&&(vn=ue("input")&&(!document.documentMode||9<document.documentMode));var Sn={eventTypes:ln,_isInputEventSupported:vn,extractEvents:function(t,e,r,n){var i=e?Cr(e):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=bn;else if(un(i))if(vn)a=_n;else{a=xn;var s=wn}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=On);if(a&&(a=a(t,e)))return fn(a,r,n);s&&s(t,i,e),"blur"===t&&(t=i._wrapperState)&&t.controlled&&"number"===i.type&&Mt(i,"number",i.value)}},kn=Wr.extend({view:null,detail:null}),En={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mn(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=En[t])&&!!e[t]}function Cn(){return Mn}var jn=0,An=0,Tn=!1,Pn=!1,Dn=kn.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Cn,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},movementX:function(t){if("movementX"in t)return t.movementX;var e=jn;return jn=t.screenX,Tn?"mousemove"===t.type?t.screenX-e:0:(Tn=!0,0)},movementY:function(t){if("movementY"in t)return t.movementY;var e=An;return An=t.screenY,Pn?"mousemove"===t.type?t.screenY-e:0:(Pn=!0,0)}}),Rn=Dn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ln={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},In={eventTypes:Ln,extractEvents:function(t,e,r,n,i){var o="mouseover"===t||"pointerover"===t,a="mouseout"===t||"pointerout"===t;if(o&&0===(32&i)&&(r.relatedTarget||r.fromElement)||!a&&!o)return null;(o=n.window===n?n:(o=n.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=e,null!==(e=(e=r.relatedTarget||r.toElement)?Er(e):null)&&(e!==Qt(e)||5!==e.tag&&6!==e.tag)&&(e=null)):a=null;if(a===e)return null;if("mouseout"===t||"mouseover"===t)var s=Dn,c=Ln.mouseLeave,u=Ln.mouseEnter,l="mouse";else"pointerout"!==t&&"pointerover"!==t||(s=Rn,c=Ln.pointerLeave,u=Ln.pointerEnter,l="pointer");if(t=null==a?o:Cr(a),o=null==e?o:Cr(e),(c=s.getPooled(c,a,r,n)).type=l+"leave",c.target=t,c.relatedTarget=o,(r=s.getPooled(u,e,r,n)).type=l+"enter",r.target=o,r.relatedTarget=t,l=e,(n=a)&&l)t:{for(u=l,a=0,t=s=n;t;t=Ar(t))a++;for(t=0,e=u;e;e=Ar(e))t++;for(;0<a-t;)s=Ar(s),a--;for(;0<t-a;)u=Ar(u),t--;for(;a--;){if(s===u||s===u.alternate)break t;s=Ar(s),u=Ar(u)}s=null}else s=null;for(u=s,s=[];n&&n!==u&&(null===(a=n.alternate)||a!==u);)s.push(n),n=Ar(n);for(n=[];l&&l!==u&&(null===(a=l.alternate)||a!==u);)n.push(l),l=Ar(l);for(l=0;l<s.length;l++)Rr(s[l],"bubbled",c);for(l=n.length;0<l--;)Rr(n[l],"captured",r);return 0===(64&i)?[c]:[c,r]}};var Nn="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},Fn=Object.prototype.hasOwnProperty;function Bn(t,e){if(Nn(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!Fn.call(e,r[n])||!Nn(t[r[n]],e[r[n]]))return!1;return!0}var zn=M&&"documentMode"in document&&11>=document.documentMode,Hn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Un=null,Wn=null,qn=null,Vn=!1;function Gn(t,e){var r=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return Vn||null==Un||Un!==ur(r)?null:("selectionStart"in(r=Un)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},qn&&Bn(qn,r)?null:(qn=r,(t=Wr.getPooled(Hn.select,Wn,t,e)).type="select",t.target=Un,Ir(t),t))}var Yn={eventTypes:Hn,extractEvents:function(t,e,r,n,i,o){if(!(o=!(i=o||(n.window===n?n.document:9===n.nodeType?n:n.ownerDocument)))){t:{i=Jt(i),o=k.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break t}i=!0}o=!i}if(o)return null;switch(i=e?Cr(e):window,t){case"focus":(un(i)||"true"===i.contentEditable)&&(Un=i,Wn=e,qn=null);break;case"blur":qn=Wn=Un=null;break;case"mousedown":Vn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Vn=!1,Gn(r,n);case"selectionchange":if(zn)break;case"keydown":case"keyup":return Gn(r,n)}return null}},Xn=Wr.extend({animationName:null,elapsedTime:null,pseudoElement:null}),$n=Wr.extend({clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Kn=kn.extend({relatedTarget:null});function Zn(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}var Jn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ti=kn.extend({key:function(t){if(t.key){var e=Jn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=Zn(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?Qn[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Cn,charCode:function(t){return"keypress"===t.type?Zn(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?Zn(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),ei=Dn.extend({dataTransfer:null}),ri=kn.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Cn}),ni=Wr.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=Dn.extend({deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null}),oi={eventTypes:Ne,extractEvents:function(t,e,r,n){var i=Fe.get(t);if(!i)return null;switch(t){case"keypress":if(0===Zn(r))return null;case"keydown":case"keyup":t=ti;break;case"blur":case"focus":t=Kn;break;case"click":if(2===r.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":t=Dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":t=ei;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":t=ri;break;case Gt:case Yt:case Xt:t=Xn;break;case $t:t=ni;break;case"scroll":t=kn;break;case"wheel":t=ii;break;case"copy":case"cut":case"paste":t=$n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":t=Rn;break;default:t=Wr}return Ir(e=t.getPooled(i,e,r,n)),e}};if(g)throw Error(a(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),p=jr,m=Mr,b=Cr,E({SimpleEventPlugin:oi,EnterLeaveEventPlugin:In,ChangeEventPlugin:Sn,SelectEventPlugin:Yn,BeforeInputEventPlugin:sn});var ai=[],si=-1;function ci(t){0>si||(t.current=ai[si],ai[si]=null,si--)}function ui(t,e){si++,ai[si]=t.current,t.current=e}var li={},fi={current:li},hi={current:!1},di=li;function pi(t,e){var r=t.type.contextTypes;if(!r)return li;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=e[i];return n&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function mi(t){return null!==(t=t.childContextTypes)&&void 0!==t}function bi(){ci(hi),ci(fi)}function vi(t,e,r){if(fi.current!==li)throw Error(a(168));ui(fi,e),ui(hi,r)}function gi(t,e,r){var n=t.stateNode;if(t=e.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(a(108,bt(e)||"Unknown",o));return i({},r,{},n)}function yi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||li,di=fi.current,ui(fi,t),ui(hi,hi.current),!0}function wi(t,e,r){var n=t.stateNode;if(!n)throw Error(a(169));r?(t=gi(t,e,di),n.__reactInternalMemoizedMergedChildContext=t,ci(hi),ci(fi),ui(fi,t)):ci(hi),ui(hi,r)}var xi=o.unstable_runWithPriority,Oi=o.unstable_scheduleCallback,_i=o.unstable_cancelCallback,Si=o.unstable_requestPaint,ki=o.unstable_now,Ei=o.unstable_getCurrentPriorityLevel,Mi=o.unstable_ImmediatePriority,Ci=o.unstable_UserBlockingPriority,ji=o.unstable_NormalPriority,Ai=o.unstable_LowPriority,Ti=o.unstable_IdlePriority,Pi={},Di=o.unstable_shouldYield,Ri=void 0!==Si?Si:function(){},Li=null,Ii=null,Ni=!1,Fi=ki(),Bi=1e4>Fi?ki:function(){return ki()-Fi};function zi(){switch(Ei()){case Mi:return 99;case Ci:return 98;case ji:return 97;case Ai:return 96;case Ti:return 95;default:throw Error(a(332))}}function Hi(t){switch(t){case 99:return Mi;case 98:return Ci;case 97:return ji;case 96:return Ai;case 95:return Ti;default:throw Error(a(332))}}function Ui(t,e){return t=Hi(t),xi(t,e)}function Wi(t,e,r){return t=Hi(t),Oi(t,e,r)}function qi(t){return null===Li?(Li=[t],Ii=Oi(Mi,Gi)):Li.push(t),Pi}function Vi(){if(null!==Ii){var t=Ii;Ii=null,_i(t)}Gi()}function Gi(){if(!Ni&&null!==Li){Ni=!0;var t=0;try{var e=Li;Ui(99,(function(){for(;t<e.length;t++){var r=e[t];do{r=r(!0)}while(null!==r)}})),Li=null}catch(r){throw null!==Li&&(Li=Li.slice(t+1)),Oi(Mi,Vi),r}finally{Ni=!1}}}function Yi(t,e,r){return 1073741821-(1+((1073741821-t+e/10)/(r/=10)|0))*r}function Xi(t,e){if(t&&t.defaultProps)for(var r in e=i({},e),t=t.defaultProps)void 0===e[r]&&(e[r]=t[r]);return e}var $i={current:null},Ki=null,Zi=null,Ji=null;function Qi(){Ji=Zi=Ki=null}function to(t){var e=$i.current;ci($i),t.type._context._currentValue=e}function eo(t,e){for(;null!==t;){var r=t.alternate;if(t.childExpirationTime<e)t.childExpirationTime=e,null!==r&&r.childExpirationTime<e&&(r.childExpirationTime=e);else{if(!(null!==r&&r.childExpirationTime<e))break;r.childExpirationTime=e}t=t.return}}function ro(t,e){Ki=t,Ji=Zi=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(t.expirationTime>=e&&(Aa=!0),t.firstContext=null)}function no(t,e){if(Ji!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(Ji=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Zi){if(null===Ki)throw Error(a(308));Zi=e,Ki.dependencies={expirationTime:0,firstContext:e,responders:null}}else Zi=Zi.next=e;return t._currentValue}var io=!1;function oo(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function so(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function co(t,e){if(null!==(t=t.updateQueue)){var r=(t=t.shared).pending;null===r?e.next=e:(e.next=r.next,r.next=e),t.pending=e}}function uo(t,e){var r=t.alternate;null!==r&&ao(r,t),null===(r=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=r.next,r.next=e)}function lo(t,e,r,n){var o=t.updateQueue;io=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,o.shared.pending=null,null!==(c=t.alternate)&&(null!==(c=c.updateQueue)&&(c.baseQueue=s))}if(null!==a){c=a.next;var u=o.baseState,l=0,f=null,h=null,d=null;if(null!==c)for(var p=c;;){if((s=p.expirationTime)<n){var m={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===d?(h=d=m,f=u):d=d.next=m,s>l&&(l=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),oc(s,p.suspenseConfig);t:{var b=t,v=p;switch(s=e,m=r,v.tag){case 1:if("function"===typeof(b=v.payload)){u=b.call(m,u,s);break t}u=b;break t;case 3:b.effectTag=-4097&b.effectTag|64;case 0:if(null===(s="function"===typeof(b=v.payload)?b.call(m,u,s):b)||void 0===s)break t;u=i({},u,s);break t;case 2:io=!0}}null!==p.callback&&(t.effectTag|=32,null===(s=o.effects)?o.effects=[p]:s.push(p))}if(null===(p=p.next)||p===c){if(null===(s=o.shared.pending))break;p=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}null===d?f=u:d.next=h,o.baseState=f,o.baseQueue=d,ac(l),t.expirationTime=l,t.memoizedState=u}}function fo(t,e,r){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var n=t[e],i=n.callback;if(null!==i){if(n.callback=null,n=i,i=r,"function"!==typeof n)throw Error(a(191,n));n.call(i)}}}var ho=K.ReactCurrentBatchConfig,po=(new n.Component).refs;function mo(t,e,r,n){r=null===(r=r(n,e=t.memoizedState))||void 0===r?e:i({},e,r),t.memoizedState=r,0===t.expirationTime&&(t.updateQueue.baseState=r)}var bo={isMounted:function(t){return!!(t=t._reactInternalFiber)&&Qt(t)===t},enqueueSetState:function(t,e,r){t=t._reactInternalFiber;var n=Gs(),i=ho.suspense;(i=so(n=Ys(n,t,i),i)).payload=e,void 0!==r&&null!==r&&(i.callback=r),co(t,i),Xs(t,n)},enqueueReplaceState:function(t,e,r){t=t._reactInternalFiber;var n=Gs(),i=ho.suspense;(i=so(n=Ys(n,t,i),i)).tag=1,i.payload=e,void 0!==r&&null!==r&&(i.callback=r),co(t,i),Xs(t,n)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var r=Gs(),n=ho.suspense;(n=so(r=Ys(r,t,n),n)).tag=2,void 0!==e&&null!==e&&(n.callback=e),co(t,n),Xs(t,r)}};function vo(t,e,r,n,i,o,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(n,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!Bn(r,n)||!Bn(i,o))}function go(t,e,r){var n=!1,i=li,o=e.contextType;return"object"===typeof o&&null!==o?o=no(o):(i=mi(e)?di:fi.current,o=(n=null!==(n=e.contextTypes)&&void 0!==n)?pi(t,i):li),e=new e(r,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=bo,t.stateNode=e,e._reactInternalFiber=t,n&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function yo(t,e,r,n){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(r,n),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&bo.enqueueReplaceState(e,e.state,null)}function wo(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs=po,oo(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=no(o):(o=mi(e)?di:fi.current,i.context=pi(t,o)),lo(t,r,i,n),i.state=t.memoizedState,"function"===typeof(o=e.getDerivedStateFromProps)&&(mo(t,e,o,r),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&bo.enqueueReplaceState(i,i.state,null),lo(t,r,i,n),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.effectTag|=4)}var xo=Array.isArray;function Oo(t,e,r){if(null!==(t=r.ref)&&"function"!==typeof t&&"object"!==typeof t){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=n.refs;e===po&&(e=n.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!==typeof t)throw Error(a(284));if(!r._owner)throw Error(a(290,t))}return t}function _o(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,""))}function So(t){function e(e,r){if(t){var n=e.lastEffect;null!==n?(n.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r,r.nextEffect=null,r.effectTag=8}}function r(r,n){if(!t)return null;for(;null!==n;)e(r,n),n=n.sibling;return null}function n(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Ec(t,e)).index=0,t.sibling=null,t}function o(e,r,n){return e.index=n,t?null!==(n=e.alternate)?(n=n.index)<r?(e.effectTag=2,r):n:(e.effectTag=2,r):r}function s(e){return t&&null===e.alternate&&(e.effectTag=2),e}function c(t,e,r,n){return null===e||6!==e.tag?((e=jc(r,t.mode,n)).return=t,e):((e=i(e,r)).return=t,e)}function u(t,e,r,n){return null!==e&&e.elementType===r.type?((n=i(e,r.props)).ref=Oo(t,e,r),n.return=t,n):((n=Mc(r.type,r.key,r.props,null,t.mode,n)).ref=Oo(t,e,r),n.return=t,n)}function l(t,e,r,n){return null===e||4!==e.tag||e.stateNode.containerInfo!==r.containerInfo||e.stateNode.implementation!==r.implementation?((e=Ac(r,t.mode,n)).return=t,e):((e=i(e,r.children||[])).return=t,e)}function f(t,e,r,n,o){return null===e||7!==e.tag?((e=Cc(r,t.mode,n,o)).return=t,e):((e=i(e,r)).return=t,e)}function h(t,e,r){if("string"===typeof e||"number"===typeof e)return(e=jc(""+e,t.mode,r)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case tt:return(r=Mc(e.type,e.key,e.props,null,t.mode,r)).ref=Oo(t,null,e),r.return=t,r;case et:return(e=Ac(e,t.mode,r)).return=t,e}if(xo(e)||mt(e))return(e=Cc(e,t.mode,r,null)).return=t,e;_o(t,e)}return null}function d(t,e,r,n){var i=null!==e?e.key:null;if("string"===typeof r||"number"===typeof r)return null!==i?null:c(t,e,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case tt:return r.key===i?r.type===rt?f(t,e,r.props.children,n,i):u(t,e,r,n):null;case et:return r.key===i?l(t,e,r,n):null}if(xo(r)||mt(r))return null!==i?null:f(t,e,r,n,null);_o(t,r)}return null}function p(t,e,r,n,i){if("string"===typeof n||"number"===typeof n)return c(e,t=t.get(r)||null,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case tt:return t=t.get(null===n.key?r:n.key)||null,n.type===rt?f(e,t,n.props.children,i,n.key):u(e,t,n,i);case et:return l(e,t=t.get(null===n.key?r:n.key)||null,n,i)}if(xo(n)||mt(n))return f(e,t=t.get(r)||null,n,i,null);_o(e,n)}return null}function m(i,a,s,c){for(var u=null,l=null,f=a,m=a=0,b=null;null!==f&&m<s.length;m++){f.index>m?(b=f,f=null):b=f.sibling;var v=d(i,f,s[m],c);if(null===v){null===f&&(f=b);break}t&&f&&null===v.alternate&&e(i,f),a=o(v,a,m),null===l?u=v:l.sibling=v,l=v,f=b}if(m===s.length)return r(i,f),u;if(null===f){for(;m<s.length;m++)null!==(f=h(i,s[m],c))&&(a=o(f,a,m),null===l?u=f:l.sibling=f,l=f);return u}for(f=n(i,f);m<s.length;m++)null!==(b=p(f,i,m,s[m],c))&&(t&&null!==b.alternate&&f.delete(null===b.key?m:b.key),a=o(b,a,m),null===l?u=b:l.sibling=b,l=b);return t&&f.forEach((function(t){return e(i,t)})),u}function b(i,s,c,u){var l=mt(c);if("function"!==typeof l)throw Error(a(150));if(null==(c=l.call(c)))throw Error(a(151));for(var f=l=null,m=s,b=s=0,v=null,g=c.next();null!==m&&!g.done;b++,g=c.next()){m.index>b?(v=m,m=null):v=m.sibling;var y=d(i,m,g.value,u);if(null===y){null===m&&(m=v);break}t&&m&&null===y.alternate&&e(i,m),s=o(y,s,b),null===f?l=y:f.sibling=y,f=y,m=v}if(g.done)return r(i,m),l;if(null===m){for(;!g.done;b++,g=c.next())null!==(g=h(i,g.value,u))&&(s=o(g,s,b),null===f?l=g:f.sibling=g,f=g);return l}for(m=n(i,m);!g.done;b++,g=c.next())null!==(g=p(m,i,b,g.value,u))&&(t&&null!==g.alternate&&m.delete(null===g.key?b:g.key),s=o(g,s,b),null===f?l=g:f.sibling=g,f=g);return t&&m.forEach((function(t){return e(i,t)})),l}return function(t,n,o,c){var u="object"===typeof o&&null!==o&&o.type===rt&&null===o.key;u&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case tt:t:{for(l=o.key,u=n;null!==u;){if(u.key===l){switch(u.tag){case 7:if(o.type===rt){r(t,u.sibling),(n=i(u,o.props.children)).return=t,t=n;break t}break;default:if(u.elementType===o.type){r(t,u.sibling),(n=i(u,o.props)).ref=Oo(t,u,o),n.return=t,t=n;break t}}r(t,u);break}e(t,u),u=u.sibling}o.type===rt?((n=Cc(o.props.children,t.mode,c,o.key)).return=t,t=n):((c=Mc(o.type,o.key,o.props,null,t.mode,c)).ref=Oo(t,n,o),c.return=t,t=c)}return s(t);case et:t:{for(u=o.key;null!==n;){if(n.key===u){if(4===n.tag&&n.stateNode.containerInfo===o.containerInfo&&n.stateNode.implementation===o.implementation){r(t,n.sibling),(n=i(n,o.children||[])).return=t,t=n;break t}r(t,n);break}e(t,n),n=n.sibling}(n=Ac(o,t.mode,c)).return=t,t=n}return s(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==n&&6===n.tag?(r(t,n.sibling),(n=i(n,o)).return=t,t=n):(r(t,n),(n=jc(o,t.mode,c)).return=t,t=n),s(t);if(xo(o))return m(t,n,o,c);if(mt(o))return b(t,n,o,c);if(l&&_o(t,o),"undefined"===typeof o&&!u)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return r(t,n)}}var ko=So(!0),Eo=So(!1),Mo={},Co={current:Mo},jo={current:Mo},Ao={current:Mo};function To(t){if(t===Mo)throw Error(a(174));return t}function Po(t,e){switch(ui(Ao,e),ui(jo,t),ui(Co,Mo),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Nt(null,"");break;default:e=Nt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}ci(Co),ui(Co,e)}function Do(){ci(Co),ci(jo),ci(Ao)}function Ro(t){To(Ao.current);var e=To(Co.current),r=Nt(e,t.type);e!==r&&(ui(jo,t),ui(Co,r))}function Lo(t){jo.current===t&&(ci(Co),ci(jo))}var Io={current:0};function No(t){for(var e=t;null!==e;){if(13===e.tag){var r=e.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Fo(t,e){return{responder:t,props:e}}var Bo=K.ReactCurrentDispatcher,zo=K.ReactCurrentBatchConfig,Ho=0,Uo=null,Wo=null,qo=null,Vo=!1;function Go(){throw Error(a(321))}function Yo(t,e){if(null===e)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Nn(t[r],e[r]))return!1;return!0}function Xo(t,e,r,n,i,o){if(Ho=o,Uo=e,e.memoizedState=null,e.updateQueue=null,e.expirationTime=0,Bo.current=null===t||null===t.memoizedState?va:ga,t=r(n,i),e.expirationTime===Ho){o=0;do{if(e.expirationTime=0,!(25>o))throw Error(a(301));o+=1,qo=Wo=null,e.updateQueue=null,Bo.current=ya,t=r(n,i)}while(e.expirationTime===Ho)}if(Bo.current=ba,e=null!==Wo&&null!==Wo.next,Ho=0,qo=Wo=Uo=null,Vo=!1,e)throw Error(a(300));return t}function $o(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qo?Uo.memoizedState=qo=t:qo=qo.next=t,qo}function Ko(){if(null===Wo){var t=Uo.alternate;t=null!==t?t.memoizedState:null}else t=Wo.next;var e=null===qo?Uo.memoizedState:qo.next;if(null!==e)qo=e,Wo=t;else{if(null===t)throw Error(a(310));t={memoizedState:(Wo=t).memoizedState,baseState:Wo.baseState,baseQueue:Wo.baseQueue,queue:Wo.queue,next:null},null===qo?Uo.memoizedState=qo=t:qo=qo.next=t}return qo}function Zo(t,e){return"function"===typeof e?e(t):e}function Jo(t){var e=Ko(),r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=t;var n=Wo,i=n.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(null!==i){i=i.next,n=n.baseState;var c=s=o=null,u=i;do{var l=u.expirationTime;if(l<Ho){var f={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===c?(s=c=f,o=n):c=c.next=f,l>Uo.expirationTime&&(Uo.expirationTime=l,ac(l))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),oc(l,u.suspenseConfig),n=u.eagerReducer===t?u.eagerState:t(n,u.action);u=u.next}while(null!==u&&u!==i);null===c?o=n:c.next=s,Nn(n,e.memoizedState)||(Aa=!0),e.memoizedState=n,e.baseState=o,e.baseQueue=c,r.lastRenderedState=n}return[e.memoizedState,r.dispatch]}function Qo(t){var e=Ko(),r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,o=e.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);Nn(o,e.memoizedState)||(Aa=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),r.lastRenderedState=o}return[o,n]}function ta(t){var e=$o();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:Zo,lastRenderedState:t}).dispatch=ma.bind(null,Uo,t),[e.memoizedState,t]}function ea(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},null===(e=Uo.updateQueue)?(e={lastEffect:null},Uo.updateQueue=e,e.lastEffect=t.next=t):null===(r=e.lastEffect)?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t),t}function ra(){return Ko().memoizedState}function na(t,e,r,n){var i=$o();Uo.effectTag|=t,i.memoizedState=ea(1|e,r,void 0,void 0===n?null:n)}function ia(t,e,r,n){var i=Ko();n=void 0===n?null:n;var o=void 0;if(null!==Wo){var a=Wo.memoizedState;if(o=a.destroy,null!==n&&Yo(n,a.deps))return void ea(e,r,o,n)}Uo.effectTag|=t,i.memoizedState=ea(1|e,r,o,n)}function oa(t,e){return na(516,4,t,e)}function aa(t,e){return ia(516,4,t,e)}function sa(t,e){return ia(4,2,t,e)}function ca(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function ua(t,e,r){return r=null!==r&&void 0!==r?r.concat([t]):null,ia(4,2,ca.bind(null,e,t),r)}function la(){}function fa(t,e){return $o().memoizedState=[t,void 0===e?null:e],t}function ha(t,e){var r=Ko();e=void 0===e?null:e;var n=r.memoizedState;return null!==n&&null!==e&&Yo(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function da(t,e){var r=Ko();e=void 0===e?null:e;var n=r.memoizedState;return null!==n&&null!==e&&Yo(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function pa(t,e,r){var n=zi();Ui(98>n?98:n,(function(){t(!0)})),Ui(97<n?97:n,(function(){var n=zo.suspense;zo.suspense=void 0===e?null:e;try{t(!1),r()}finally{zo.suspense=n}}))}function ma(t,e,r){var n=Gs(),i=ho.suspense;i={expirationTime:n=Ys(n,t,i),suspenseConfig:i,action:r,eagerReducer:null,eagerState:null,next:null};var o=e.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),e.pending=i,o=t.alternate,t===Uo||null!==o&&o===Uo)Vo=!0,i.expirationTime=Ho,Uo.expirationTime=Ho;else{if(0===t.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=e.lastRenderedReducer))try{var a=e.lastRenderedState,s=o(a,r);if(i.eagerReducer=o,i.eagerState=s,Nn(s,a))return}catch(c){}Xs(t,n)}}var ba={readContext:no,useCallback:Go,useContext:Go,useEffect:Go,useImperativeHandle:Go,useLayoutEffect:Go,useMemo:Go,useReducer:Go,useRef:Go,useState:Go,useDebugValue:Go,useResponder:Go,useDeferredValue:Go,useTransition:Go},va={readContext:no,useCallback:fa,useContext:no,useEffect:oa,useImperativeHandle:function(t,e,r){return r=null!==r&&void 0!==r?r.concat([t]):null,na(4,2,ca.bind(null,e,t),r)},useLayoutEffect:function(t,e){return na(4,2,t,e)},useMemo:function(t,e){var r=$o();return e=void 0===e?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=$o();return e=void 0!==r?r(e):e,n.memoizedState=n.baseState=e,t=(t=n.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=ma.bind(null,Uo,t),[n.memoizedState,t]},useRef:function(t){return t={current:t},$o().memoizedState=t},useState:ta,useDebugValue:la,useResponder:Fo,useDeferredValue:function(t,e){var r=ta(t),n=r[0],i=r[1];return oa((function(){var r=zo.suspense;zo.suspense=void 0===e?null:e;try{i(t)}finally{zo.suspense=r}}),[t,e]),n},useTransition:function(t){var e=ta(!1),r=e[0];return e=e[1],[fa(pa.bind(null,e,t),[e,t]),r]}},ga={readContext:no,useCallback:ha,useContext:no,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:da,useReducer:Jo,useRef:ra,useState:function(){return Jo(Zo)},useDebugValue:la,useResponder:Fo,useDeferredValue:function(t,e){var r=Jo(Zo),n=r[0],i=r[1];return aa((function(){var r=zo.suspense;zo.suspense=void 0===e?null:e;try{i(t)}finally{zo.suspense=r}}),[t,e]),n},useTransition:function(t){var e=Jo(Zo),r=e[0];return e=e[1],[ha(pa.bind(null,e,t),[e,t]),r]}},ya={readContext:no,useCallback:ha,useContext:no,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:da,useReducer:Qo,useRef:ra,useState:function(){return Qo(Zo)},useDebugValue:la,useResponder:Fo,useDeferredValue:function(t,e){var r=Qo(Zo),n=r[0],i=r[1];return aa((function(){var r=zo.suspense;zo.suspense=void 0===e?null:e;try{i(t)}finally{zo.suspense=r}}),[t,e]),n},useTransition:function(t){var e=Qo(Zo),r=e[0];return e=e[1],[ha(pa.bind(null,e,t),[e,t]),r]}},wa=null,xa=null,Oa=!1;function _a(t,e){var r=Sc(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=e,r.return=t,r.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r}function Sa(t,e){switch(t.tag){case 5:var r=t.type;return null!==(e=1!==e.nodeType||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function ka(t){if(Oa){var e=xa;if(e){var r=e;if(!Sa(t,e)){if(!(e=wr(r.nextSibling))||!Sa(t,e))return t.effectTag=-1025&t.effectTag|2,Oa=!1,void(wa=t);_a(wa,r)}wa=t,xa=wr(e.firstChild)}else t.effectTag=-1025&t.effectTag|2,Oa=!1,wa=t}}function Ea(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;wa=t}function Ma(t){if(t!==wa)return!1;if(!Oa)return Ea(t),Oa=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!vr(e,t.memoizedProps))for(e=xa;e;)_a(t,e),e=wr(e.nextSibling);if(Ea(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var r=t.data;if("/$"===r){if(0===e){xa=wr(t.nextSibling);break t}e--}else"$"!==r&&"$!"!==r&&"$?"!==r||e++}t=t.nextSibling}xa=null}}else xa=wa?wr(t.stateNode.nextSibling):null;return!0}function Ca(){xa=wa=null,Oa=!1}var ja=K.ReactCurrentOwner,Aa=!1;function Ta(t,e,r,n){e.child=null===t?Eo(e,null,r,n):ko(e,t.child,r,n)}function Pa(t,e,r,n,i){r=r.render;var o=e.ref;return ro(e,i),n=Xo(t,e,r,n,o,i),null===t||Aa?(e.effectTag|=1,Ta(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Xa(t,e,i))}function Da(t,e,r,n,i,o){if(null===t){var a=r.type;return"function"!==typeof a||kc(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((t=Mc(r.type,null,n,null,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Ra(t,e,a,n,i,o))}return a=t.child,i<o&&(i=a.memoizedProps,(r=null!==(r=r.compare)?r:Bn)(i,n)&&t.ref===e.ref)?Xa(t,e,o):(e.effectTag|=1,(t=Ec(a,n)).ref=e.ref,t.return=e,e.child=t)}function Ra(t,e,r,n,i,o){return null!==t&&Bn(t.memoizedProps,n)&&t.ref===e.ref&&(Aa=!1,i<o)?(e.expirationTime=t.expirationTime,Xa(t,e,o)):Ia(t,e,r,n,o)}function La(t,e){var r=e.ref;(null===t&&null!==r||null!==t&&t.ref!==r)&&(e.effectTag|=128)}function Ia(t,e,r,n,i){var o=mi(r)?di:fi.current;return o=pi(e,o),ro(e,i),r=Xo(t,e,r,n,o,i),null===t||Aa?(e.effectTag|=1,Ta(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Xa(t,e,i))}function Na(t,e,r,n,i){if(mi(r)){var o=!0;yi(e)}else o=!1;if(ro(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),go(e,r,n),wo(e,r,n,i),n=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var c=a.context,u=r.contextType;"object"===typeof u&&null!==u?u=no(u):u=pi(e,u=mi(r)?di:fi.current);var l=r.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||c!==u)&&yo(e,a,n,u),io=!1;var h=e.memoizedState;a.state=h,lo(e,n,a,i),c=e.memoizedState,s!==n||h!==c||hi.current||io?("function"===typeof l&&(mo(e,r,l,n),c=e.memoizedState),(s=io||vo(e,r,s,n,h,c,u))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.effectTag|=4)):("function"===typeof a.componentDidMount&&(e.effectTag|=4),e.memoizedProps=n,e.memoizedState=c),a.props=n,a.state=c,a.context=u,n=s):("function"===typeof a.componentDidMount&&(e.effectTag|=4),n=!1)}else a=e.stateNode,ao(t,e),s=e.memoizedProps,a.props=e.type===e.elementType?s:Xi(e.type,s),c=a.context,"object"===typeof(u=r.contextType)&&null!==u?u=no(u):u=pi(e,u=mi(r)?di:fi.current),(f="function"===typeof(l=r.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||c!==u)&&yo(e,a,n,u),io=!1,c=e.memoizedState,a.state=c,lo(e,n,a,i),h=e.memoizedState,s!==n||c!==h||hi.current||io?("function"===typeof l&&(mo(e,r,l,n),h=e.memoizedState),(l=io||vo(e,r,s,n,c,h,u))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(n,h,u),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,h,u)),"function"===typeof a.componentDidUpdate&&(e.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),e.memoizedProps=n,e.memoizedState=h),a.props=n,a.state=h,a.context=u,n=l):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),n=!1);return Fa(t,e,r,n,o,i)}function Fa(t,e,r,n,i,o){La(t,e);var a=0!==(64&e.effectTag);if(!n&&!a)return i&&wi(e,r,!1),Xa(t,e,o);n=e.stateNode,ja.current=e;var s=a&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return e.effectTag|=1,null!==t&&a?(e.child=ko(e,t.child,null,o),e.child=ko(e,null,s,o)):Ta(t,e,s,o),e.memoizedState=n.state,i&&wi(e,r,!0),e.child}function Ba(t){var e=t.stateNode;e.pendingContext?vi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&vi(0,e.context,!1),Po(t,e.containerInfo)}var za,Ha,Ua,Wa={dehydrated:null,retryTime:0};function qa(t,e,r){var n,i=e.mode,o=e.pendingProps,a=Io.current,s=!1;if((n=0!==(64&e.effectTag))||(n=0!==(2&a)&&(null===t||null!==t.memoizedState)),n?(s=!0,e.effectTag&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ui(Io,1&a),null===t){if(void 0!==o.fallback&&ka(e),s){if(s=o.fallback,(o=Cc(null,i,0,null)).return=e,0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(r=Cc(s,i,r,null)).return=e,o.sibling=r,e.memoizedState=Wa,e.child=o,r}return i=o.children,e.memoizedState=null,e.child=Eo(e,null,i,r)}if(null!==t.memoizedState){if(i=(t=t.child).sibling,s){if(o=o.fallback,(r=Ec(t,t.pendingProps)).return=e,0===(2&e.mode)&&(s=null!==e.memoizedState?e.child.child:e.child)!==t.child)for(r.child=s;null!==s;)s.return=r,s=s.sibling;return(i=Ec(i,o)).return=e,r.sibling=i,r.childExpirationTime=0,e.memoizedState=Wa,e.child=r,i}return r=ko(e,t.child,o.children,r),e.memoizedState=null,e.child=r}if(t=t.child,s){if(s=o.fallback,(o=Cc(null,i,0,null)).return=e,o.child=t,null!==t&&(t.return=o),0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(r=Cc(s,i,r,null)).return=e,o.sibling=r,r.effectTag|=2,o.childExpirationTime=0,e.memoizedState=Wa,e.child=o,r}return e.memoizedState=null,e.child=ko(e,t,o.children,r)}function Va(t,e){t.expirationTime<e&&(t.expirationTime=e);var r=t.alternate;null!==r&&r.expirationTime<e&&(r.expirationTime=e),eo(t.return,e)}function Ga(t,e,r,n,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Ya(t,e,r){var n=e.pendingProps,i=n.revealOrder,o=n.tail;if(Ta(t,e,n.children,r),0!==(2&(n=Io.current)))n=1&n|2,e.effectTag|=64;else{if(null!==t&&0!==(64&t.effectTag))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Va(t,r);else if(19===t.tag)Va(t,r);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(ui(Io,n),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;null!==r;)null!==(t=r.alternate)&&null===No(t)&&(i=r),r=r.sibling;null===(r=i)?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),Ga(e,!1,i,r,o,e.lastEffect);break;case"backwards":for(r=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===No(t)){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}Ga(e,!0,r,null,o,e.lastEffect);break;case"together":Ga(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function Xa(t,e,r){null!==t&&(e.dependencies=t.dependencies);var n=e.expirationTime;if(0!==n&&ac(n),e.childExpirationTime<r)return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(r=Ec(t=e.child,t.pendingProps),e.child=r,r.return=e;null!==t.sibling;)t=t.sibling,(r=r.sibling=Ec(t,t.pendingProps)).return=e;r.sibling=null}return e.child}function $a(t,e){switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;null!==e;)null!==e.alternate&&(r=e),e=e.sibling;null===r?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?e||null===t.tail?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Ka(t,e,r){var n=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return mi(e.type)&&bi(),null;case 3:return Do(),ci(hi),ci(fi),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||!Ma(e)||(e.effectTag|=4),null;case 5:Lo(e),r=To(Ao.current);var o=e.type;if(null!==t&&null!=e.stateNode)Ha(t,e,o,n,r),t.ref!==e.ref&&(e.effectTag|=128);else{if(!n){if(null===e.stateNode)throw Error(a(166));return null}if(t=To(Co.current),Ma(e)){n=e.stateNode,o=e.type;var s=e.memoizedProps;switch(n[_r]=e,n[Sr]=s,o){case"iframe":case"object":case"embed":Ye("load",n);break;case"video":case"audio":for(t=0;t<Kt.length;t++)Ye(Kt[t],n);break;case"source":Ye("error",n);break;case"img":case"image":case"link":Ye("error",n),Ye("load",n);break;case"form":Ye("reset",n),Ye("submit",n);break;case"details":Ye("toggle",n);break;case"input":_t(n,s),Ye("invalid",n),sr(r,"onChange");break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Ye("invalid",n),sr(r,"onChange");break;case"textarea":Tt(n,s),Ye("invalid",n),sr(r,"onChange")}for(var c in ir(o,s),t=null,s)if(s.hasOwnProperty(c)){var u=s[c];"children"===c?"string"===typeof u?n.textContent!==u&&(t=["children",u]):"number"===typeof u&&n.textContent!==""+u&&(t=["children",""+u]):S.hasOwnProperty(c)&&null!=u&&sr(r,c)}switch(o){case"input":wt(n),Et(n,s,!0);break;case"textarea":wt(n),Dt(n);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(n.onclick=cr)}r=t,e.updateQueue=r,null!==r&&(e.effectTag|=4)}else{switch(c=9===r.nodeType?r:r.ownerDocument,t===ar&&(t=It(o)),t===ar?"script"===o?((t=c.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof n.is?t=c.createElement(o,{is:n.is}):(t=c.createElement(o),"select"===o&&(c=t,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):t=c.createElementNS(t,o),t[_r]=e,t[Sr]=n,za(t,e),e.stateNode=t,c=or(o,n),o){case"iframe":case"object":case"embed":Ye("load",t),u=n;break;case"video":case"audio":for(u=0;u<Kt.length;u++)Ye(Kt[u],t);u=n;break;case"source":Ye("error",t),u=n;break;case"img":case"image":case"link":Ye("error",t),Ye("load",t),u=n;break;case"form":Ye("reset",t),Ye("submit",t),u=n;break;case"details":Ye("toggle",t),u=n;break;case"input":_t(t,n),u=Ot(t,n),Ye("invalid",t),sr(r,"onChange");break;case"option":u=Ct(t,n);break;case"select":t._wrapperState={wasMultiple:!!n.multiple},u=i({},n,{value:void 0}),Ye("invalid",t),sr(r,"onChange");break;case"textarea":Tt(t,n),u=At(t,n),Ye("invalid",t),sr(r,"onChange");break;default:u=n}ir(o,u);var l=u;for(s in l)if(l.hasOwnProperty(s)){var f=l[s];"style"===s?rr(t,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&Bt(t,f):"children"===s?"string"===typeof f?("textarea"!==o||""!==f)&&zt(t,f):"number"===typeof f&&zt(t,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?null!=f&&sr(r,s):null!=f&&Z(t,s,f,c))}switch(o){case"input":wt(t),Et(t,n,!1);break;case"textarea":wt(t),Dt(t);break;case"option":null!=n.value&&t.setAttribute("value",""+gt(n.value));break;case"select":t.multiple=!!n.multiple,null!=(r=n.value)?jt(t,!!n.multiple,r,!1):null!=n.defaultValue&&jt(t,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof u.onClick&&(t.onclick=cr)}br(o,n)&&(e.effectTag|=4)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)Ua(0,e,t.memoizedProps,n);else{if("string"!==typeof n&&null===e.stateNode)throw Error(a(166));r=To(Ao.current),To(Co.current),Ma(e)?(r=e.stateNode,n=e.memoizedProps,r[_r]=e,r.nodeValue!==n&&(e.effectTag|=4)):((r=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[_r]=e,e.stateNode=r)}return null;case 13:return ci(Io),n=e.memoizedState,0!==(64&e.effectTag)?(e.expirationTime=r,e):(r=null!==n,n=!1,null===t?void 0!==e.memoizedProps.fallback&&Ma(e):(n=null!==(o=t.memoizedState),r||null===o||null!==(o=t.child.sibling)&&(null!==(s=e.firstEffect)?(e.firstEffect=o,o.nextEffect=s):(e.firstEffect=e.lastEffect=o,o.nextEffect=null),o.effectTag=8)),r&&!n&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Io.current)?Ms===ws&&(Ms=xs):(Ms!==ws&&Ms!==xs||(Ms=Os),0!==Ps&&null!==Ss&&(Dc(Ss,Es),Rc(Ss,Ps)))),(r||n)&&(e.effectTag|=4),null);case 4:return Do(),null;case 10:return to(e),null;case 17:return mi(e.type)&&bi(),null;case 19:if(ci(Io),null===(n=e.memoizedState))return null;if(o=0!==(64&e.effectTag),null===(s=n.rendering)){if(o)$a(n,!1);else if(Ms!==ws||null!==t&&0!==(64&t.effectTag))for(s=e.child;null!==s;){if(null!==(t=No(s))){for(e.effectTag|=64,$a(n,!1),null!==(o=t.updateQueue)&&(e.updateQueue=o,e.effectTag|=4),null===n.lastEffect&&(e.firstEffect=null),e.lastEffect=n.lastEffect,n=e.child;null!==n;)s=r,(o=n).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(t=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=t.childExpirationTime,o.expirationTime=t.expirationTime,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,s=t.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),n=n.sibling;return ui(Io,1&Io.current|2),e.child}s=s.sibling}}else{if(!o)if(null!==(t=No(s))){if(e.effectTag|=64,o=!0,null!==(r=t.updateQueue)&&(e.updateQueue=r,e.effectTag|=4),$a(n,!0),null===n.tail&&"hidden"===n.tailMode&&!s.alternate)return null!==(e=e.lastEffect=n.lastEffect)&&(e.nextEffect=null),null}else 2*Bi()-n.renderingStartTime>n.tailExpiration&&1<r&&(e.effectTag|=64,o=!0,$a(n,!1),e.expirationTime=e.childExpirationTime=r-1);n.isBackwards?(s.sibling=e.child,e.child=s):(null!==(r=n.last)?r.sibling=s:e.child=s,n.last=s)}return null!==n.tail?(0===n.tailExpiration&&(n.tailExpiration=Bi()+500),r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=e.lastEffect,n.renderingStartTime=Bi(),r.sibling=null,e=Io.current,ui(Io,o?1&e|2:1&e),r):null}throw Error(a(156,e.tag))}function Za(t){switch(t.tag){case 1:mi(t.type)&&bi();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(Do(),ci(hi),ci(fi),0!==(64&(e=t.effectTag)))throw Error(a(285));return t.effectTag=-4097&e|64,t;case 5:return Lo(t),null;case 13:return ci(Io),4096&(e=t.effectTag)?(t.effectTag=-4097&e|64,t):null;case 19:return ci(Io),null;case 4:return Do(),null;case 10:return to(t),null;default:return null}}function Ja(t,e){return{value:t,source:e,stack:vt(e)}}za=function(t,e){for(var r=e.child;null!==r;){if(5===r.tag||6===r.tag)t.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ha=function(t,e,r,n,o){var a=t.memoizedProps;if(a!==n){var s,c,u=e.stateNode;switch(To(Co.current),t=null,r){case"input":a=Ot(u,a),n=Ot(u,n),t=[];break;case"option":a=Ct(u,a),n=Ct(u,n),t=[];break;case"select":a=i({},a,{value:void 0}),n=i({},n,{value:void 0}),t=[];break;case"textarea":a=At(u,a),n=At(u,n),t=[];break;default:"function"!==typeof a.onClick&&"function"===typeof n.onClick&&(u.onclick=cr)}for(s in ir(r,n),r=null,a)if(!n.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(c in u=a[s])u.hasOwnProperty(c)&&(r||(r={}),r[c]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?t||(t=[]):(t=t||[]).push(s,null));for(s in n){var l=n[s];if(u=null!=a?a[s]:void 0,n.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(c in u)!u.hasOwnProperty(c)||l&&l.hasOwnProperty(c)||(r||(r={}),r[c]="");for(c in l)l.hasOwnProperty(c)&&u[c]!==l[c]&&(r||(r={}),r[c]=l[c])}else r||(t||(t=[]),t.push(s,r)),r=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(t=t||[]).push(s,l)):"children"===s?u===l||"string"!==typeof l&&"number"!==typeof l||(t=t||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(S.hasOwnProperty(s)?(null!=l&&sr(o,s),t||u===l||(t=[])):(t=t||[]).push(s,l))}r&&(t=t||[]).push("style",r),o=t,(e.updateQueue=o)&&(e.effectTag|=4)}},Ua=function(t,e,r,n){r!==n&&(e.effectTag|=4)};var Qa="function"===typeof WeakSet?WeakSet:Set;function ts(t,e){var r=e.source,n=e.stack;null===n&&null!==r&&(n=vt(r)),null!==r&&bt(r.type),e=e.value,null!==t&&1===t.tag&&bt(t.type);try{console.error(e)}catch(i){setTimeout((function(){throw i}))}}function es(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(r){gc(t,r)}else e.current=null}function rs(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.effectTag&&null!==t){var r=t.memoizedProps,n=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?r:Xi(e.type,r),n),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ns(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var r=e=e.next;do{if((r.tag&t)===t){var n=r.destroy;r.destroy=void 0,void 0!==n&&n()}r=r.next}while(r!==e)}}function is(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function os(t,e,r){switch(r.tag){case 0:case 11:case 15:case 22:return void is(3,r);case 1:if(t=r.stateNode,4&r.effectTag)if(null===e)t.componentDidMount();else{var n=r.elementType===r.type?e.memoizedProps:Xi(r.type,e.memoizedProps);t.componentDidUpdate(n,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate)}return void(null!==(e=r.updateQueue)&&fo(r,e,t));case 3:if(null!==(e=r.updateQueue)){if(t=null,null!==r.child)switch(r.child.tag){case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}fo(r,e,t)}return;case 5:return t=r.stateNode,void(null===e&&4&r.effectTag&&br(r.type,r.memoizedProps)&&t.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&Ie(r)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(t,e,r){switch("function"===typeof Oc&&Oc(e),e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var n=t.next;Ui(97<r?97:r,(function(){var t=n;do{var r=t.destroy;if(void 0!==r){var i=e;try{r()}catch(o){gc(i,o)}}t=t.next}while(t!==n)}))}break;case 1:es(e),"function"===typeof(r=e.stateNode).componentWillUnmount&&function(t,e){try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(r){gc(t,r)}}(e,r);break;case 5:es(e);break;case 4:ls(t,e,r)}}function ss(t){var e=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==e&&ss(e)}function cs(t){return 5===t.tag||3===t.tag||4===t.tag}function us(t){t:{for(var e=t.return;null!==e;){if(cs(e)){var r=e;break t}e=e.return}throw Error(a(160))}switch(e=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:e=e.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.effectTag&&(zt(e,""),r.effectTag&=-17);t:e:for(r=t;;){for(;null===r.sibling;){if(null===r.return||cs(r.return)){r=null;break t}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue e;if(null===r.child||4===r.tag)continue e;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break t}}n?function t(e,r,n){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,r?8===n.nodeType?n.parentNode.insertBefore(e,r):n.insertBefore(e,r):(8===n.nodeType?(r=n.parentNode).insertBefore(e,n):(r=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==r.onclick||(r.onclick=cr));else if(4!==i&&null!==(e=e.child))for(t(e,r,n),e=e.sibling;null!==e;)t(e,r,n),e=e.sibling}(t,r,e):function t(e,r,n){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,r?n.insertBefore(e,r):n.appendChild(e);else if(4!==i&&null!==(e=e.child))for(t(e,r,n),e=e.sibling;null!==e;)t(e,r,n),e=e.sibling}(t,r,e)}function ls(t,e,r){for(var n,i,o=e,s=!1;;){if(!s){s=o.return;t:for(;;){if(null===s)throw Error(a(160));switch(n=s.stateNode,s.tag){case 5:i=!1;break t;case 3:case 4:n=n.containerInfo,i=!0;break t}s=s.return}s=!0}if(5===o.tag||6===o.tag){t:for(var c=t,u=o,l=r,f=u;;)if(as(c,f,l),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===u)break t;for(;null===f.sibling;){if(null===f.return||f.return===u)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(c=n,u=o.stateNode,8===c.nodeType?c.parentNode.removeChild(u):c.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(as(t,o,r),null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function fs(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:return void ns(3,e);case 1:return;case 5:var r=e.stateNode;if(null!=r){var n=e.memoizedProps,i=null!==t?t.memoizedProps:n;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(r[Sr]=n,"input"===t&&"radio"===n.type&&null!=n.name&&St(r,n),or(t,i),e=or(t,n),i=0;i<o.length;i+=2){var s=o[i],c=o[i+1];"style"===s?rr(r,c):"dangerouslySetInnerHTML"===s?Bt(r,c):"children"===s?zt(r,c):Z(r,s,c,e)}switch(t){case"input":kt(r,n);break;case"textarea":Pt(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(t=n.value)?jt(r,!!n.multiple,t,!1):e!==!!n.multiple&&(null!=n.defaultValue?jt(r,!!n.multiple,n.defaultValue,!0):jt(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((e=e.stateNode).hydrate&&(e.hydrate=!1,Ie(e.containerInfo)));case 12:return;case 13:if(r=e,null===e.memoizedState?n=!1:(n=!0,r=e.child,Rs=Bi()),null!==r)t:for(t=r;;){if(5===t.tag)o=t.stateNode,n?"function"===typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=t.stateNode,i=void 0!==(i=t.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=er("display",i));else if(6===t.tag)t.stateNode.nodeValue=n?"":t.memoizedProps;else{if(13===t.tag&&null!==t.memoizedState&&null===t.memoizedState.dehydrated){(o=t.child.sibling).return=t,t=o;continue}if(null!==t.child){t.child.return=t,t=t.child;continue}}if(t===r)break;for(;null===t.sibling;){if(null===t.return||t.return===r)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}return void hs(e);case 19:return void hs(e);case 17:return}throw Error(a(163))}function hs(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var r=t.stateNode;null===r&&(r=t.stateNode=new Qa),e.forEach((function(e){var n=wc.bind(null,t,e);r.has(e)||(r.add(e),e.then(n,n))}))}}var ds="function"===typeof WeakMap?WeakMap:Map;function ps(t,e,r){(r=so(r,null)).tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Is||(Is=!0,Ns=n),ts(t,e)},r}function ms(t,e,r){(r=so(r,null)).tag=3;var n=t.type.getDerivedStateFromError;if("function"===typeof n){var i=e.value;r.payload=function(){return ts(t,e),n(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(r.callback=function(){"function"!==typeof n&&(null===Fs?Fs=new Set([this]):Fs.add(this),ts(t,e));var r=e.stack;this.componentDidCatch(e.value,{componentStack:null!==r?r:""})}),r}var bs,vs=Math.ceil,gs=K.ReactCurrentDispatcher,ys=K.ReactCurrentOwner,ws=0,xs=3,Os=4,_s=0,Ss=null,ks=null,Es=0,Ms=ws,Cs=null,js=1073741823,As=1073741823,Ts=null,Ps=0,Ds=!1,Rs=0,Ls=null,Is=!1,Ns=null,Fs=null,Bs=!1,zs=null,Hs=90,Us=null,Ws=0,qs=null,Vs=0;function Gs(){return 0!==(48&_s)?1073741821-(Bi()/10|0):0!==Vs?Vs:Vs=1073741821-(Bi()/10|0)}function Ys(t,e,r){if(0===(2&(e=e.mode)))return 1073741823;var n=zi();if(0===(4&e))return 99===n?1073741823:1073741822;if(0!==(16&_s))return Es;if(null!==r)t=Yi(t,0|r.timeoutMs||5e3,250);else switch(n){case 99:t=1073741823;break;case 98:t=Yi(t,150,100);break;case 97:case 96:t=Yi(t,5e3,250);break;case 95:t=2;break;default:throw Error(a(326))}return null!==Ss&&t===Es&&--t,t}function Xs(t,e){if(50<Ws)throw Ws=0,qs=null,Error(a(185));if(null!==(t=$s(t,e))){var r=zi();1073741823===e?0!==(8&_s)&&0===(48&_s)?Qs(t):(Zs(t),0===_s&&Vi()):Zs(t),0===(4&_s)||98!==r&&99!==r||(null===Us?Us=new Map([[t,e]]):(void 0===(r=Us.get(t))||r>e)&&Us.set(t,e))}}function $s(t,e){t.expirationTime<e&&(t.expirationTime=e);var r=t.alternate;null!==r&&r.expirationTime<e&&(r.expirationTime=e);var n=t.return,i=null;if(null===n&&3===t.tag)i=t.stateNode;else for(;null!==n;){if(r=n.alternate,n.childExpirationTime<e&&(n.childExpirationTime=e),null!==r&&r.childExpirationTime<e&&(r.childExpirationTime=e),null===n.return&&3===n.tag){i=n.stateNode;break}n=n.return}return null!==i&&(Ss===i&&(ac(e),Ms===Os&&Dc(i,Es)),Rc(i,e)),i}function Ks(t){var e=t.lastExpiredTime;if(0!==e)return e;if(!Pc(t,e=t.firstPendingTime))return e;var r=t.lastPingedTime;return 2>=(t=r>(t=t.nextKnownPendingLevel)?r:t)&&e!==t?0:t}function Zs(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=qi(Qs.bind(null,t));else{var e=Ks(t),r=t.callbackNode;if(0===e)null!==r&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var n=Gs();if(1073741823===e?n=99:1===e||2===e?n=95:n=0>=(n=10*(1073741821-e)-10*(1073741821-n))?99:250>=n?98:5250>=n?97:95,null!==r){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=n)return;r!==Pi&&_i(r)}t.callbackExpirationTime=e,t.callbackPriority=n,e=1073741823===e?qi(Qs.bind(null,t)):Wi(n,Js.bind(null,t),{timeout:10*(1073741821-e)-Bi()}),t.callbackNode=e}}}function Js(t,e){if(Vs=0,e)return Lc(t,e=Gs()),Zs(t),null;var r=Ks(t);if(0!==r){if(e=t.callbackNode,0!==(48&_s))throw Error(a(327));if(mc(),t===Ss&&r===Es||rc(t,r),null!==ks){var n=_s;_s|=16;for(var i=ic();;)try{cc();break}catch(c){nc(t,c)}if(Qi(),_s=n,gs.current=i,1===Ms)throw e=Cs,rc(t,r),Dc(t,r),Zs(t),e;if(null===ks)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=r,n=Ms,Ss=null,n){case ws:case 1:throw Error(a(345));case 2:Lc(t,2<r?2:r);break;case xs:if(Dc(t,r),r===(n=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=fc(i)),1073741823===js&&10<(i=Rs+500-Bi())){if(Ds){var o=t.lastPingedTime;if(0===o||o>=r){t.lastPingedTime=r,rc(t,r);break}}if(0!==(o=Ks(t))&&o!==r)break;if(0!==n&&n!==r){t.lastPingedTime=n;break}t.timeoutHandle=gr(hc.bind(null,t),i);break}hc(t);break;case Os:if(Dc(t,r),r===(n=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=fc(i)),Ds&&(0===(i=t.lastPingedTime)||i>=r)){t.lastPingedTime=r,rc(t,r);break}if(0!==(i=Ks(t))&&i!==r)break;if(0!==n&&n!==r){t.lastPingedTime=n;break}if(1073741823!==As?n=10*(1073741821-As)-Bi():1073741823===js?n=0:(n=10*(1073741821-js)-5e3,0>(n=(i=Bi())-n)&&(n=0),(r=10*(1073741821-r)-i)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*vs(n/1960))-n)&&(n=r)),10<n){t.timeoutHandle=gr(hc.bind(null,t),n);break}hc(t);break;case 5:if(1073741823!==js&&null!==Ts){o=js;var s=Ts;if(0>=(n=0|s.busyMinDurationMs)?n=0:(i=0|s.busyDelayMs,n=(o=Bi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+n-o),10<n){Dc(t,r),t.timeoutHandle=gr(hc.bind(null,t),n);break}}hc(t);break;default:throw Error(a(329))}if(Zs(t),t.callbackNode===e)return Js.bind(null,t)}}return null}function Qs(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,0!==(48&_s))throw Error(a(327));if(mc(),t===Ss&&e===Es||rc(t,e),null!==ks){var r=_s;_s|=16;for(var n=ic();;)try{sc();break}catch(i){nc(t,i)}if(Qi(),_s=r,gs.current=n,1===Ms)throw r=Cs,rc(t,e),Dc(t,e),Zs(t),r;if(null!==ks)throw Error(a(261));t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,Ss=null,hc(t),Zs(t)}return null}function tc(t,e){var r=_s;_s|=1;try{return t(e)}finally{0===(_s=r)&&Vi()}}function ec(t,e){var r=_s;_s&=-2,_s|=8;try{return t(e)}finally{0===(_s=r)&&Vi()}}function rc(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var r=t.timeoutHandle;if(-1!==r&&(t.timeoutHandle=-1,yr(r)),null!==ks)for(r=ks.return;null!==r;){var n=r;switch(n.tag){case 1:null!==(n=n.type.childContextTypes)&&void 0!==n&&bi();break;case 3:Do(),ci(hi),ci(fi);break;case 5:Lo(n);break;case 4:Do();break;case 13:case 19:ci(Io);break;case 10:to(n)}r=r.return}Ss=t,ks=Ec(t.current,null),Es=e,Ms=ws,Cs=null,As=js=1073741823,Ts=null,Ps=0,Ds=!1}function nc(t,e){for(;;){try{if(Qi(),Bo.current=ba,Vo)for(var r=Uo.memoizedState;null!==r;){var n=r.queue;null!==n&&(n.pending=null),r=r.next}if(Ho=0,qo=Wo=Uo=null,Vo=!1,null===ks||null===ks.return)return Ms=1,Cs=e,ks=null;t:{var i=t,o=ks.return,a=ks,s=e;if(e=Es,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s;if(0===(2&a.mode)){var u=a.alternate;u?(a.updateQueue=u.updateQueue,a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var l=0!==(1&Io.current),f=o;do{var h;if(h=13===f.tag){var d=f.memoizedState;if(null!==d)h=null!==d.dehydrated;else{var p=f.memoizedProps;h=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!l)}}if(h){var m=f.updateQueue;if(null===m){var b=new Set;b.add(c),f.updateQueue=b}else m.add(c);if(0===(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=so(1073741823,null);v.tag=2,co(a,v)}a.expirationTime=1073741823;break t}s=void 0,a=e;var g=i.pingCache;if(null===g?(g=i.pingCache=new ds,s=new Set,g.set(c,s)):void 0===(s=g.get(c))&&(s=new Set,g.set(c,s)),!s.has(a)){s.add(a);var y=yc.bind(null,i,c,a);c.then(y,y)}f.effectTag|=4096,f.expirationTime=e;break t}f=f.return}while(null!==f);s=Error((bt(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+vt(a))}5!==Ms&&(Ms=2),s=Ja(s,a),f=o;do{switch(f.tag){case 3:c=s,f.effectTag|=4096,f.expirationTime=e,uo(f,ps(f,c,e));break t;case 1:c=s;var w=f.type,x=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof w.getDerivedStateFromError||null!==x&&"function"===typeof x.componentDidCatch&&(null===Fs||!Fs.has(x)))){f.effectTag|=4096,f.expirationTime=e,uo(f,ms(f,c,e));break t}}f=f.return}while(null!==f)}ks=lc(ks)}catch(O){e=O;continue}break}}function ic(){var t=gs.current;return gs.current=ba,null===t?ba:t}function oc(t,e){t<js&&2<t&&(js=t),null!==e&&t<As&&2<t&&(As=t,Ts=e)}function ac(t){t>Ps&&(Ps=t)}function sc(){for(;null!==ks;)ks=uc(ks)}function cc(){for(;null!==ks&&!Di();)ks=uc(ks)}function uc(t){var e=bs(t.alternate,t,Es);return t.memoizedProps=t.pendingProps,null===e&&(e=lc(t)),ys.current=null,e}function lc(t){ks=t;do{var e=ks.alternate;if(t=ks.return,0===(2048&ks.effectTag)){if(e=Ka(e,ks,Es),1===Es||1!==ks.childExpirationTime){for(var r=0,n=ks.child;null!==n;){var i=n.expirationTime,o=n.childExpirationTime;i>r&&(r=i),o>r&&(r=o),n=n.sibling}ks.childExpirationTime=r}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=ks.firstEffect),null!==ks.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=ks.firstEffect),t.lastEffect=ks.lastEffect),1<ks.effectTag&&(null!==t.lastEffect?t.lastEffect.nextEffect=ks:t.firstEffect=ks,t.lastEffect=ks))}else{if(null!==(e=Za(ks)))return e.effectTag&=2047,e;null!==t&&(t.firstEffect=t.lastEffect=null,t.effectTag|=2048)}if(null!==(e=ks.sibling))return e;ks=t}while(null!==ks);return Ms===ws&&(Ms=5),null}function fc(t){var e=t.expirationTime;return e>(t=t.childExpirationTime)?e:t}function hc(t){var e=zi();return Ui(99,dc.bind(null,t,e)),null}function dc(t,e){do{mc()}while(null!==zs);if(0!==(48&_s))throw Error(a(327));var r=t.finishedWork,n=t.finishedExpirationTime;if(null===r)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,r===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=fc(r);if(t.firstPendingTime=i,n<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:n<=t.firstSuspendedTime&&(t.firstSuspendedTime=n-1),n<=t.lastPingedTime&&(t.lastPingedTime=0),n<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Ss&&(ks=Ss=null,Es=0),1<r.effectTag?null!==r.lastEffect?(r.lastEffect.nextEffect=r,i=r.firstEffect):i=r:i=r.firstEffect,null!==i){var o=_s;_s|=32,ys.current=null,pr=Ge;var s=hr();if(dr(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else t:{var u=(c=(c=s.ownerDocument)&&c.defaultView||window).getSelection&&c.getSelection();if(u&&0!==u.rangeCount){c=u.anchorNode;var l=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{c.nodeType,f.nodeType}catch(E){c=null;break t}var h=0,d=-1,p=-1,m=0,b=0,v=s,g=null;e:for(;;){for(var y;v!==c||0!==l&&3!==v.nodeType||(d=h+l),v!==f||0!==u&&3!==v.nodeType||(p=h+u),3===v.nodeType&&(h+=v.nodeValue.length),null!==(y=v.firstChild);)g=v,v=y;for(;;){if(v===s)break e;if(g===c&&++m===l&&(d=h),g===f&&++b===u&&(p=h),null!==(y=v.nextSibling))break;g=(v=g).parentNode}v=y}c=-1===d||-1===p?null:{start:d,end:p}}else c=null}c=c||{start:0,end:0}}else c=null;mr={activeElementDetached:null,focusedElem:s,selectionRange:c},Ge=!1,Ls=i;do{try{pc()}catch(E){if(null===Ls)throw Error(a(330));gc(Ls,E),Ls=Ls.nextEffect}}while(null!==Ls);Ls=i;do{try{for(s=t,c=e;null!==Ls;){var w=Ls.effectTag;if(16&w&&zt(Ls.stateNode,""),128&w){var x=Ls.alternate;if(null!==x){var O=x.ref;null!==O&&("function"===typeof O?O(null):O.current=null)}}switch(1038&w){case 2:us(Ls),Ls.effectTag&=-3;break;case 6:us(Ls),Ls.effectTag&=-3,fs(Ls.alternate,Ls);break;case 1024:Ls.effectTag&=-1025;break;case 1028:Ls.effectTag&=-1025,fs(Ls.alternate,Ls);break;case 4:fs(Ls.alternate,Ls);break;case 8:ls(s,l=Ls,c),ss(l)}Ls=Ls.nextEffect}}catch(E){if(null===Ls)throw Error(a(330));gc(Ls,E),Ls=Ls.nextEffect}}while(null!==Ls);if(O=mr,x=hr(),w=O.focusedElem,c=O.selectionRange,x!==w&&w&&w.ownerDocument&&function t(e,r){return!(!e||!r)&&(e===r||(!e||3!==e.nodeType)&&(r&&3===r.nodeType?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}(w.ownerDocument.documentElement,w)){null!==c&&dr(w)&&(x=c.start,void 0===(O=c.end)&&(O=x),"selectionStart"in w?(w.selectionStart=x,w.selectionEnd=Math.min(O,w.value.length)):(O=(x=w.ownerDocument||document)&&x.defaultView||window).getSelection&&(O=O.getSelection(),l=w.textContent.length,s=Math.min(c.start,l),c=void 0===c.end?s:Math.min(c.end,l),!O.extend&&s>c&&(l=c,c=s,s=l),l=fr(w,s),f=fr(w,c),l&&f&&(1!==O.rangeCount||O.anchorNode!==l.node||O.anchorOffset!==l.offset||O.focusNode!==f.node||O.focusOffset!==f.offset)&&((x=x.createRange()).setStart(l.node,l.offset),O.removeAllRanges(),s>c?(O.addRange(x),O.extend(f.node,f.offset)):(x.setEnd(f.node,f.offset),O.addRange(x))))),x=[];for(O=w;O=O.parentNode;)1===O.nodeType&&x.push({element:O,left:O.scrollLeft,top:O.scrollTop});for("function"===typeof w.focus&&w.focus(),w=0;w<x.length;w++)(O=x[w]).element.scrollLeft=O.left,O.element.scrollTop=O.top}Ge=!!pr,mr=pr=null,t.current=r,Ls=i;do{try{for(w=t;null!==Ls;){var _=Ls.effectTag;if(36&_&&os(w,Ls.alternate,Ls),128&_){x=void 0;var S=Ls.ref;if(null!==S){var k=Ls.stateNode;switch(Ls.tag){case 5:x=k;break;default:x=k}"function"===typeof S?S(x):S.current=x}}Ls=Ls.nextEffect}}catch(E){if(null===Ls)throw Error(a(330));gc(Ls,E),Ls=Ls.nextEffect}}while(null!==Ls);Ls=null,Ri(),_s=o}else t.current=r;if(Bs)Bs=!1,zs=t,Hs=e;else for(Ls=i;null!==Ls;)e=Ls.nextEffect,Ls.nextEffect=null,Ls=e;if(0===(e=t.firstPendingTime)&&(Fs=null),1073741823===e?t===qs?Ws++:(Ws=0,qs=t):Ws=0,"function"===typeof xc&&xc(r.stateNode,n),Zs(t),Is)throw Is=!1,t=Ns,Ns=null,t;return 0!==(8&_s)||Vi(),null}function pc(){for(;null!==Ls;){var t=Ls.effectTag;0!==(256&t)&&rs(Ls.alternate,Ls),0===(512&t)||Bs||(Bs=!0,Wi(97,(function(){return mc(),null}))),Ls=Ls.nextEffect}}function mc(){if(90!==Hs){var t=97<Hs?97:Hs;return Hs=90,Ui(t,bc)}}function bc(){if(null===zs)return!1;var t=zs;if(zs=null,0!==(48&_s))throw Error(a(331));var e=_s;for(_s|=32,t=t.current.firstEffect;null!==t;){try{var r=t;if(0!==(512&r.effectTag))switch(r.tag){case 0:case 11:case 15:case 22:ns(5,r),is(5,r)}}catch(n){if(null===t)throw Error(a(330));gc(t,n)}r=t.nextEffect,t.nextEffect=null,t=r}return _s=e,Vi(),!0}function vc(t,e,r){co(t,e=ps(t,e=Ja(r,e),1073741823)),null!==(t=$s(t,1073741823))&&Zs(t)}function gc(t,e){if(3===t.tag)vc(t,t,e);else for(var r=t.return;null!==r;){if(3===r.tag){vc(r,t,e);break}if(1===r.tag){var n=r.stateNode;if("function"===typeof r.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===Fs||!Fs.has(n))){co(r,t=ms(r,t=Ja(e,t),1073741823)),null!==(r=$s(r,1073741823))&&Zs(r);break}}r=r.return}}function yc(t,e,r){var n=t.pingCache;null!==n&&n.delete(e),Ss===t&&Es===r?Ms===Os||Ms===xs&&1073741823===js&&Bi()-Rs<500?rc(t,Es):Ds=!0:Pc(t,r)&&(0!==(e=t.lastPingedTime)&&e<r||(t.lastPingedTime=r,Zs(t)))}function wc(t,e){var r=t.stateNode;null!==r&&r.delete(e),0===(e=0)&&(e=Ys(e=Gs(),t,null)),null!==(t=$s(t,e))&&Zs(t)}bs=function(t,e,r){var n=e.expirationTime;if(null!==t){var i=e.pendingProps;if(t.memoizedProps!==i||hi.current)Aa=!0;else{if(n<r){switch(Aa=!1,e.tag){case 3:Ba(e),Ca();break;case 5:if(Ro(e),4&e.mode&&1!==r&&i.hidden)return e.expirationTime=e.childExpirationTime=1,null;break;case 1:mi(e.type)&&yi(e);break;case 4:Po(e,e.stateNode.containerInfo);break;case 10:n=e.memoizedProps.value,i=e.type._context,ui($i,i._currentValue),i._currentValue=n;break;case 13:if(null!==e.memoizedState)return 0!==(n=e.child.childExpirationTime)&&n>=r?qa(t,e,r):(ui(Io,1&Io.current),null!==(e=Xa(t,e,r))?e.sibling:null);ui(Io,1&Io.current);break;case 19:if(n=e.childExpirationTime>=r,0!==(64&t.effectTag)){if(n)return Ya(t,e,r);e.effectTag|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null),ui(Io,Io.current),!n)return null}return Xa(t,e,r)}Aa=!1}}else Aa=!1;switch(e.expirationTime=0,e.tag){case 2:if(n=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,i=pi(e,fi.current),ro(e,r),i=Xo(null,e,n,t,i,r),e.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,mi(n)){var o=!0;yi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(e);var s=n.getDerivedStateFromProps;"function"===typeof s&&mo(e,n,s,t),i.updater=bo,e.stateNode=i,i._reactInternalFiber=e,wo(e,n,t,r),e=Fa(null,e,n,!0,o,r)}else e.tag=0,Ta(null,e,i,r),e=e.child;return e;case 16:t:{if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=function(t){if("function"===typeof t)return kc(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===ct)return 11;if(t===ft)return 14}return 2}(i),t=Xi(i,t),o){case 0:e=Ia(null,e,i,t,r);break t;case 1:e=Na(null,e,i,t,r);break t;case 11:e=Pa(null,e,i,t,r);break t;case 14:e=Da(null,e,i,Xi(i.type,t),n,r);break t}throw Error(a(306,i,""))}return e;case 0:return n=e.type,i=e.pendingProps,Ia(t,e,n,i=e.elementType===n?i:Xi(n,i),r);case 1:return n=e.type,i=e.pendingProps,Na(t,e,n,i=e.elementType===n?i:Xi(n,i),r);case 3:if(Ba(e),n=e.updateQueue,null===t||null===n)throw Error(a(282));if(n=e.pendingProps,i=null!==(i=e.memoizedState)?i.element:null,ao(t,e),lo(e,n,null,r),(n=e.memoizedState.element)===i)Ca(),e=Xa(t,e,r);else{if((i=e.stateNode.hydrate)&&(xa=wr(e.stateNode.containerInfo.firstChild),wa=e,i=Oa=!0),i)for(r=Eo(e,null,n,r),e.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else Ta(t,e,n,r),Ca();e=e.child}return e;case 5:return Ro(e),null===t&&ka(e),n=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,vr(n,i)?s=null:null!==o&&vr(n,o)&&(e.effectTag|=16),La(t,e),4&e.mode&&1!==r&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Ta(t,e,s,r),e=e.child),e;case 6:return null===t&&ka(e),null;case 13:return qa(t,e,r);case 4:return Po(e,e.stateNode.containerInfo),n=e.pendingProps,null===t?e.child=ko(e,null,n,r):Ta(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,Pa(t,e,n,i=e.elementType===n?i:Xi(n,i),r);case 7:return Ta(t,e,e.pendingProps,r),e.child;case 8:case 12:return Ta(t,e,e.pendingProps.children,r),e.child;case 10:t:{n=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value;var c=e.type._context;if(ui($i,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,0===(o=Nn(c,o)?0:0|("function"===typeof n._calculateChangedBits?n._calculateChangedBits(c,o):1073741823))){if(s.children===i.children&&!hi.current){e=Xa(t,e,r);break t}}else for(null!==(c=e.child)&&(c.return=e);null!==c;){var u=c.dependencies;if(null!==u){s=c.child;for(var l=u.firstContext;null!==l;){if(l.context===n&&0!==(l.observedBits&o)){1===c.tag&&((l=so(r,null)).tag=2,co(c,l)),c.expirationTime<r&&(c.expirationTime=r),null!==(l=c.alternate)&&l.expirationTime<r&&(l.expirationTime=r),eo(c.return,r),u.expirationTime<r&&(u.expirationTime=r);break}l=l.next}}else s=10===c.tag&&c.type===e.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===e){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}Ta(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=(o=e.pendingProps).children,ro(e,r),n=n(i=no(i,o.unstable_observedBits)),e.effectTag|=1,Ta(t,e,n,r),e.child;case 14:return o=Xi(i=e.type,e.pendingProps),Da(t,e,i,o=Xi(i.type,o),n,r);case 15:return Ra(t,e,e.type,e.pendingProps,n,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Xi(n,i),null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),e.tag=1,mi(n)?(t=!0,yi(e)):t=!1,ro(e,r),go(e,n,i),wo(e,n,i,r),Fa(null,e,n,!0,t,r);case 19:return Ya(t,e,r)}throw Error(a(156,e.tag))};var xc=null,Oc=null;function _c(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Sc(t,e,r,n){return new _c(t,e,r,n)}function kc(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Ec(t,e){var r=t.alternate;return null===r?((r=Sc(t.tag,e,t.key,t.mode)).elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childExpirationTime=t.childExpirationTime,r.expirationTime=t.expirationTime,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Mc(t,e,r,n,i,o){var s=2;if(n=t,"function"===typeof t)kc(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case rt:return Cc(r.children,i,o,e);case st:s=8,i|=7;break;case nt:s=8,i|=1;break;case it:return(t=Sc(12,r,e,8|i)).elementType=it,t.type=it,t.expirationTime=o,t;case ut:return(t=Sc(13,r,e,i)).type=ut,t.elementType=ut,t.expirationTime=o,t;case lt:return(t=Sc(19,r,e,i)).elementType=lt,t.expirationTime=o,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case ot:s=10;break t;case at:s=9;break t;case ct:s=11;break t;case ft:s=14;break t;case ht:s=16,n=null;break t;case dt:s=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Sc(s,r,e,i)).elementType=t,e.type=n,e.expirationTime=o,e}function Cc(t,e,r,n){return(t=Sc(7,t,n,e)).expirationTime=r,t}function jc(t,e,r){return(t=Sc(6,t,null,e)).expirationTime=r,t}function Ac(t,e,r){return(e=Sc(4,null!==t.children?t.children:[],t.key,e)).expirationTime=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Tc(t,e,r){this.tag=e,this.current=null,this.containerInfo=t,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Pc(t,e){var r=t.firstSuspendedTime;return t=t.lastSuspendedTime,0!==r&&r>=e&&t<=e}function Dc(t,e){var r=t.firstSuspendedTime,n=t.lastSuspendedTime;r<e&&(t.firstSuspendedTime=e),(n>e||0===r)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function Rc(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var r=t.firstSuspendedTime;0!==r&&(e>=r?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function Lc(t,e){var r=t.lastExpiredTime;(0===r||r>e)&&(t.lastExpiredTime=e)}function Ic(t,e,r,n){var i=e.current,o=Gs(),s=ho.suspense;o=Ys(o,i,s);t:if(r){e:{if(Qt(r=r._reactInternalFiber)!==r||1!==r.tag)throw Error(a(170));var c=r;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(mi(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(null!==c);throw Error(a(171))}if(1===r.tag){var u=r.type;if(mi(u)){r=gi(r,u,c);break t}}r=c}else r=li;return null===e.context?e.context=r:e.pendingContext=r,(e=so(o,s)).payload={element:t},null!==(n=void 0===n?null:n)&&(e.callback=n),co(i,e),Xs(i,o),o}function Nc(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function Fc(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime<e&&(t.retryTime=e)}function Bc(t,e){Fc(t,e),(t=t.alternate)&&Fc(t,e)}function zc(t,e,r){var n=new Tc(t,e,r=null!=r&&!0===r.hydrate),i=Sc(3,null,null,2===e?7:1===e?3:0);n.current=i,i.stateNode=n,oo(i),t[kr]=n.current,r&&0!==e&&function(t,e){var r=Jt(e);Ee.forEach((function(t){pe(t,e,r)})),Me.forEach((function(t){pe(t,e,r)}))}(0,9===t.nodeType?t:t.ownerDocument),this._internalRoot=n}function Hc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function Uc(t,e,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var t=Nc(a);s.call(t)}}Ic(e,a,t,i)}else{if(o=r._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var r;r=t.lastChild;)t.removeChild(r);return new zc(t,0,e?{hydrate:!0}:void 0)}(r,n),a=o._internalRoot,"function"===typeof i){var c=i;i=function(){var t=Nc(a);c.call(t)}}ec((function(){Ic(e,a,t,i)}))}return Nc(a)}function Wc(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:et,key:null==n?null:""+n,children:t,containerInfo:e,implementation:r}}function qc(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hc(e))throw Error(a(200));return Wc(t,e,null,r)}zc.prototype.render=function(t){Ic(t,this._internalRoot,null,null)},zc.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;Ic(null,t,null,(function(){e[kr]=null}))},me=function(t){if(13===t.tag){var e=Yi(Gs(),150,100);Xs(t,e),Bc(t,e)}},be=function(t){13===t.tag&&(Xs(t,3),Bc(t,3))},ve=function(t){if(13===t.tag){var e=Gs();Xs(t,e=Ys(e,t,null)),Bc(t,e)}},C=function(t,e,r){switch(e){case"input":if(kt(t,r),e=r.name,"radio"===r.type&&null!=e){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=jr(n);if(!i)throw Error(a(90));xt(n),kt(n,i)}}}break;case"textarea":Pt(t,r);break;case"select":null!=(e=r.value)&&jt(t,!!r.multiple,e,!1)}},R=tc,L=function(t,e,r,n,i){var o=_s;_s|=4;try{return Ui(98,t.bind(null,e,r,n,i))}finally{0===(_s=o)&&Vi()}},I=function(){0===(49&_s)&&(function(){if(null!==Us){var t=Us;Us=null,t.forEach((function(t,e){Lc(e,t),Zs(e)})),Vi()}}(),mc())},N=function(t,e){var r=_s;_s|=2;try{return t(e)}finally{0===(_s=r)&&Vi()}};var Vc={Events:[Mr,Cr,jr,E,_,Ir,function(t){ie(t,Lr)},P,D,Ze,se,mc,{current:!1}]};!function(t){var e=t.findFiberByHostInstance;(function(t){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var r=e.inject(t);xc=function(t){try{e.onCommitFiberRoot(r,t,void 0,64===(64&t.current.effectTag))}catch(n){}},Oc=function(t){try{e.onCommitFiberUnmount(r,t)}catch(n){}}}catch(n){}})(i({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:K.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=re(t))?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Er,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vc,e.createPortal=qc,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternalFiber;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=re(e))?null:t.stateNode},e.flushSync=function(t,e){if(0!==(48&_s))throw Error(a(187));var r=_s;_s|=1;try{return Ui(99,t.bind(null,e))}finally{_s=r,Vi()}},e.hydrate=function(t,e,r){if(!Hc(e))throw Error(a(200));return Uc(null,t,e,!0,r)},e.render=function(t,e,r){if(!Hc(e))throw Error(a(200));return Uc(null,t,e,!1,r)},e.unmountComponentAtNode=function(t){if(!Hc(t))throw Error(a(40));return!!t._reactRootContainer&&(ec((function(){Uc(null,null,t,!1,(function(){t._reactRootContainer=null,t[kr]=null}))})),!0)},e.unstable_batchedUpdates=tc,e.unstable_createPortal=function(t,e){return qc(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!Hc(r))throw Error(a(200));if(null==t||void 0===t._reactInternalFiber)throw Error(a(38));return Uc(t,e,r,!1,n)},e.version="16.14.0"},function(t,e,r){"use strict";t.exports=r(931)},function(t,e,r){"use strict";var n,i,o,a,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,u=null,l=function t(){if(null!==c)try{var r=e.unstable_now();c(!0,r),c=null}catch(n){throw setTimeout(t,0),n}},f=Date.now();e.unstable_now=function(){return Date.now()-f},n=function(t){null!==c?setTimeout(n,0,t):(c=t,setTimeout(l,0))},i=function(t,e){u=setTimeout(t,e)},o=function(){clearTimeout(u)},a=function(){return!1},s=e.unstable_forceFrameRate=function(){}}else{var h=window.performance,d=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!==typeof console){var b=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof h&&"function"===typeof h.now)e.unstable_now=function(){return h.now()};else{var v=d.now();e.unstable_now=function(){return d.now()-v}}var g=!1,y=null,w=-1,x=5,O=0;a=function(){return e.unstable_now()>=O},s=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<t?Math.floor(1e3/t):5};var _=new MessageChannel,S=_.port2;_.port1.onmessage=function(){if(null!==y){var t=e.unstable_now();O=t+x;try{y(!0,t)?S.postMessage(null):(g=!1,y=null)}catch(r){throw S.postMessage(null),r}}else g=!1},n=function(t){y=t,g||(g=!0,S.postMessage(null))},i=function(t,r){w=p((function(){t(e.unstable_now())}),r)},o=function(){m(w),w=-1}}function k(t,e){var r=t.length;t.push(e);t:for(;;){var n=r-1>>>1,i=t[n];if(!(void 0!==i&&0<C(i,e)))break t;t[n]=e,t[r]=i,r=n}}function E(t){return void 0===(t=t[0])?null:t}function M(t){var e=t[0];if(void 0!==e){var r=t.pop();if(r!==e){t[0]=r;t:for(var n=0,i=t.length;n<i;){var o=2*(n+1)-1,a=t[o],s=o+1,c=t[s];if(void 0!==a&&0>C(a,r))void 0!==c&&0>C(c,a)?(t[n]=c,t[s]=r,n=s):(t[n]=a,t[o]=r,n=o);else{if(!(void 0!==c&&0>C(c,r)))break t;t[n]=c,t[s]=r,n=s}}}return e}return null}function C(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}var j=[],A=[],T=1,P=null,D=3,R=!1,L=!1,I=!1;function N(t){for(var e=E(A);null!==e;){if(null===e.callback)M(A);else{if(!(e.startTime<=t))break;M(A),e.sortIndex=e.expirationTime,k(j,e)}e=E(A)}}function F(t){if(I=!1,N(t),!L)if(null!==E(j))L=!0,n(B);else{var e=E(A);null!==e&&i(F,e.startTime-t)}}function B(t,r){L=!1,I&&(I=!1,o()),R=!0;var n=D;try{for(N(r),P=E(j);null!==P&&(!(P.expirationTime>r)||t&&!a());){var s=P.callback;if(null!==s){P.callback=null,D=P.priorityLevel;var c=s(P.expirationTime<=r);r=e.unstable_now(),"function"===typeof c?P.callback=c:P===E(j)&&M(j),N(r)}else M(j);P=E(j)}if(null!==P)var u=!0;else{var l=E(A);null!==l&&i(F,l.startTime-r),u=!1}return u}finally{P=null,D=n,R=!1}}function z(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var H=s;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){L||R||(L=!0,n(B))},e.unstable_getCurrentPriorityLevel=function(){return D},e.unstable_getFirstCallbackNode=function(){return E(j)},e.unstable_next=function(t){switch(D){case 1:case 2:case 3:var e=3;break;default:e=D}var r=D;D=e;try{return t()}finally{D=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=H,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=D;D=t;try{return e()}finally{D=r}},e.unstable_scheduleCallback=function(t,r,a){var s=e.unstable_now();if("object"===typeof a&&null!==a){var c=a.delay;c="number"===typeof c&&0<c?s+c:s,a="number"===typeof a.timeout?a.timeout:z(t)}else a=z(t),c=s;return t={id:T++,callback:r,priorityLevel:t,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>s?(t.sortIndex=c,k(A,t),null===E(j)&&t===E(A)&&(I?o():I=!0,i(F,c-s))):(t.sortIndex=a,k(j,t),L||R||(L=!0,n(B))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();N(t);var r=E(j);return r!==P&&null!==P&&null!==r&&null!==r.callback&&r.startTime<=t&&r.expirationTime<P.expirationTime||a()},e.unstable_wrapCallback=function(t){var e=D;return function(){var r=D;D=e;try{return t.apply(this,arguments)}finally{D=r}}}},,,function(t,e,r){"use strict";var n=r(935);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function O(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case f:case h:case a:case c:case s:case p:return t;default:switch(t=t&&t.$$typeof){case l:case d:case v:case b:case u:return t;default:return e}}case o:return e}}}function _(t){return O(t)===h}e.AsyncMode=f,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=u,e.Element=i,e.ForwardRef=d,e.Fragment=a,e.Lazy=v,e.Memo=b,e.Portal=o,e.Profiler=c,e.StrictMode=s,e.Suspense=p,e.isAsyncMode=function(t){return _(t)||O(t)===f},e.isConcurrentMode=_,e.isContextConsumer=function(t){return O(t)===l},e.isContextProvider=function(t){return O(t)===u},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return O(t)===d},e.isFragment=function(t){return O(t)===a},e.isLazy=function(t){return O(t)===v},e.isMemo=function(t){return O(t)===b},e.isPortal=function(t){return O(t)===o},e.isProfiler=function(t){return O(t)===c},e.isStrictMode=function(t){return O(t)===s},e.isSuspense=function(t){return O(t)===p},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===h||t===c||t===s||t===p||t===m||"object"===typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===b||t.$$typeof===u||t.$$typeof===l||t.$$typeof===d||t.$$typeof===y||t.$$typeof===w||t.$$typeof===x||t.$$typeof===g)},e.typeOf=O},function(t,e){var r=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&r.call(t,e)}},function(t,e,r){var n=r(390),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(c){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n=r(941),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)})),e}));t.exports=a},function(t,e,r){var n=r(942);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},function(t,e,r){var n=r(584);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},function(t,e,r){var n=r(944),i=r(468),o=r(586);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},function(t,e,r){var n=r(945),i=r(950),o=r(951),a=r(952),s=r(953);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,r){var n=r(467);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e,r){var n=r(44),i=r(947),o=r(150),a=r(688),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?h:s).test(a(t))}},function(t,e,r){var n=r(948),i=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(214)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(467),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(467),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},function(t,e,r){var n=r(467);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(469),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(469);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(469);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(469);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},function(t,e,r){var n=r(470);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(470);t.exports=function(t){return n(this,t).get(t)}},function(t,e,r){var n=r(470);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(470);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}},function(t,e,r){var n=r(390),i=r(587),o=r(68),a=r(344),s=n?n.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},function(t,e,r){var n=r(967)();t.exports=n},function(t,e){t.exports=function(t){return function(e,r,n){for(var i=-1,o=Object(e),a=n(e),s=a.length;s--;){var c=a[t?s:++i];if(!1===r(o[c],c,o))break}return e}}},function(t,e,r){var n=r(969),i=r(588),o=r(68),a=r(691),s=r(589),c=r(692),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=o(t),l=!r&&i(t),f=!r&&!l&&a(t),h=!r&&!l&&!f&&c(t),d=r||l||f||h,p=d?n(t.length,String):[],m=p.length;for(var b in t)!e&&!u.call(t,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||h&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e){t.exports=function(){return!1}},function(t,e,r){var n=r(263),i=r(590),o=r(264),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},function(t,e,r){(function(t){var n=r(687),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s}).call(this,r(203)(t))},function(t,e,r){var n=r(974),i=r(975),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){var n=r(976)(Object.keys,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(978),i=r(1e3),o=r(702);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},function(t,e,r){var n=r(694),i=r(592);t.exports=function(t,e,r,o){var a=r.length,s=a,c=!o;if(null==t)return!s;for(t=Object(t);a--;){var u=r[a];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var l=(u=r[a])[0],f=t[l],h=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var d=new n;if(o)var p=o(f,h,l,t,e,d);if(!(void 0===p?i(h,f,3,o,d):p))return!1}}return!0}},function(t,e,r){var n=r(468);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(468),i=r(586),o=r(584);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(694),i=r(695),o=r(987),a=r(990),s=r(996),c=r(68),u=r(691),l=r(692),f="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,d,p,m){var b=c(t),v=c(e),g=b?"[object Array]":s(t),y=v?"[object Array]":s(e),w=(g="[object Arguments]"==g?f:g)==f,x=(y="[object Arguments]"==y?f:y)==f,O=g==y;if(O&&u(t)){if(!u(e))return!1;b=!0,w=!1}if(O&&!w)return m||(m=new n),b||l(t)?i(t,e,r,d,p,m):o(t,e,g,r,d,p,m);if(!(1&r)){var _=w&&h.call(t,"__wrapped__"),S=x&&h.call(e,"__wrapped__");if(_||S){var k=_?t.value():t,E=S?e.value():e;return m||(m=new n),p(k,E,r,d,m)}}return!!O&&(m||(m=new n),a(t,e,r,d,p,m))}},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(390),i=r(988),o=r(585),a=r(695),s=r(989),c=r(593),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,h){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var p=1&n;if(d||(d=c),t.size!=e.size&&!p)return!1;var m=h.get(t);if(m)return m==e;n|=2,h.set(t,e);var b=a(d(t),d(e),n,u,f,h);return h.delete(t),b;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},function(t,e,r){var n=r(214).Uint8Array;t.exports=n},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},function(t,e,r){var n=r(991),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,s){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var h=u[f];if(!(c?h in e:i.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var m=!0;s.set(t,e),s.set(e,t);for(var b=c;++f<l;){var v=t[h=u[f]],g=e[h];if(o)var y=c?o(g,v,h,e,t,s):o(v,g,h,t,e,s);if(!(void 0===y?v===g||a(v,g,r,o,s):y)){m=!1;break}b||(b="constructor"==h)}if(m&&!b){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(t),s.delete(e),m}},function(t,e,r){var n=r(992),i=r(993),o=r(472);t.exports=function(t){return n(t,o,i)}},function(t,e,r){var n=r(699),i=r(68);t.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},function(t,e,r){var n=r(994),i=r(995),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(997),i=r(586),o=r(998),a=r(700),s=r(999),c=r(263),u=r(688),l=u(n),f=u(i),h=u(o),d=u(a),p=u(s),m=c;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case l:return"[object DataView]";case f:return"[object Map]";case h:return"[object Promise]";case d:return"[object Set]";case p:return"[object WeakMap]"}return e}),t.exports=m},function(t,e,r){var n=r(312)(r(214),"DataView");t.exports=n},function(t,e,r){var n=r(312)(r(214),"Promise");t.exports=n},function(t,e,r){var n=r(312)(r(214),"WeakMap");t.exports=n},function(t,e,r){var n=r(701),i=r(472);t.exports=function(t){for(var e=i(t),r=e.length;r--;){var o=e[r],a=t[o];e[r]=[o,a,n(a)]}return e}},function(t,e,r){var n=r(592),i=r(114),o=r(1002),a=r(583),s=r(701),c=r(702),u=r(471);t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(r){var a=i(r,t);return void 0===a&&a===e?o(r,t):n(e,a,3)}}},function(t,e,r){var n=r(1003),i=r(685);t.exports=function(t,e){return null!=t&&i(t,e,n)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,r){var n=r(1005),i=r(1006),o=r(583),a=r(471);t.exports=function(t){return o(t)?n(a(t)):i(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,r){var n=r(594);t.exports=function(t){return function(e){return n(e,t)}}},function(t,e){t.exports=function(t,e,r,n){var i=-1,o=null==t?0:t.length;for(n&&o&&(r=t[++i]);++i<o;)r=e(r,t[i],i,t);return r}},function(t,e,r){var n=r(1009),i=r(391),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(o,n).replace(a,"")}},function(t,e,r){var n=r(1010)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});t.exports=n},function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},function(t,e,r){var n=r(1012),i=r(1013),o=r(391),a=r(1014);t.exports=function(t,e,r){return t=o(t),void 0===(e=r?void 0:e)?i(t)?a(t):n(t):t.match(e)||[]}},function(t,e){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(r)||[]}},function(t,e){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return r.test(t)}},function(t,e){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+r+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+s+")",h="(?:"+l+"|"+s+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,u].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),m="(?:"+[o,c,u].join("|")+")"+p,b=RegExp([l+"?"+a+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[n,l,"$"].join("|")+")",h+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[n,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",l+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,m].join("|"),"g");t.exports=function(t){return t.match(b)||[]}},function(t,e,r){var n=r(391),i=r(281);t.exports=function(t){return i(n(t).toLowerCase())}},function(t,e,r){var n=r(1017),i=r(704),o=r(1019),a=r(391);t.exports=function(t){return function(e){e=a(e);var r=i(e)?o(e):void 0,s=r?r[0]:e.charAt(0),c=r?n(r,1).join(""):e.slice(1);return s[t]()+c}}},function(t,e,r){var n=r(1018);t.exports=function(t,e,r){var i=t.length;return r=void 0===r?i:r,!e&&r>=i?t:n(t,e,r)}},function(t,e){t.exports=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}},function(t,e,r){var n=r(1020),i=r(704),o=r(1021);t.exports=function(t){return i(t)?o(t):n(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[o+n+"?",n,a,s,r].join("|")+")",f=RegExp(i+"(?="+i+")|"+l+u,"g");t.exports=function(t){return t.match(f)||[]}},function(t,e,r){var n=r(71).Buffer,i=r(707),o=r(712),a=r(473),s=r(761),c=r(475);function u(t,e){return n.from(t,e).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(t){var e=t.header,r=t.payload,n=t.secret||t.privateKey,i=t.encoding,a=o(e.alg),l=function(t,e,r){r=r||"utf8";var n=u(s(t),"binary"),i=u(s(e),r);return c.format("%s.%s",n,i)}(e,r,i),f=a.sign(l,n);return c.format("%s.%s",l,f)}function f(t){var e=t.secret||t.privateKey||t.key,r=new i(e);this.readable=!0,this.header=t.header,this.encoding=t.encoding,this.secret=this.privateKey=this.key=r,this.payload=new i(t.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}c.inherits(f,a),f.prototype.sign=function(){try{var t=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",t),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},f.sign=l,t.exports=f},function(t,e,r){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=u(t),a=n[0],s=n[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,c[l++]=255&e);1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e);return c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(l(t,a,a+16383>s?s:a+16383));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*c-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+d]=255&a,d+=p,a/=256,u-=8);t[r+d-p]|=128*m}},,function(t,e,r){"use strict";var n=r(71).Buffer,i=r(1027);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i,o=n.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,r=o,i=s,e.copy(r,i),s+=a.data.length,a=a.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,r){(function(t,e){!function(t,r){"use strict";if(!t.setImmediate){var n,i=1,o={},a=!1,s=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick((function(){l(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?function(){var e="setImmediate$"+Math.random()+"$",r=function(r){r.source===t&&"string"===typeof r.data&&0===r.data.indexOf(e)&&l(+r.data.slice(e.length))};t.addEventListener?t.addEventListener("message",r,!1):t.attachEvent("onmessage",r),n=function(r){t.postMessage(e+r,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){l(t.data)},n=function(e){t.port2.postMessage(e)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var t=s.documentElement;n=function(e){var r=s.createElement("script");r.onreadystatechange=function(){l(e),r.onreadystatechange=null,t.removeChild(r),r=null},t.appendChild(r)}}():n=function(t){setTimeout(l,0,t)},c.setImmediate=function(t){"function"!==typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var a={callback:t,args:e};return o[i]=a,n(i),i++},c.clearImmediate=u}function u(t){delete o[t]}function l(t){if(a)setTimeout(l,0,t);else{var e=o[t];if(e){a=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{u(t),a=!1}}}}}("undefined"===typeof self?"undefined"===typeof t?this:t:self)}).call(this,r(120),r(112))},function(t,e,r){"use strict";t.exports=o;var n=r(711),i=Object.create(r(393));function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}i.inherits=r(53),i.inherits(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){t.exports=r(597)},function(t,e,r){t.exports=r(313)},function(t,e,r){t.exports=r(596).Transform},function(t,e,r){t.exports=r(596).PassThrough},function(t,e){t.exports=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e,r){"use strict";var n=r(121).Buffer,i=r(121).SlowBuffer;function o(t,e){if(!n.isBuffer(t)||!n.isBuffer(e))return!1;if(t.length!==e.length)return!1;for(var r=0,i=0;i<t.length;i++)r|=t[i]^e[i];return 0===r}t.exports=o,o.install=function(){n.prototype.equal=i.prototype.equal=function(t){return o(this,t)}};var a=n.prototype.equal,s=i.prototype.equal;o.restore=function(){n.prototype.equal=a,i.prototype.equal=s}},function(t,e,r){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(346),e.createHash=e.Hash=r(394),e.createHmac=e.Hmac=r(722);var n=r(1052),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=r(725);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=r(1054);e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var c=r(1069);e.DiffieHellmanGroup=c.DiffieHellmanGroup,e.createDiffieHellmanGroup=c.createDiffieHellmanGroup,e.getDiffieHellman=c.getDiffieHellman,e.createDiffieHellman=c.createDiffieHellman,e.DiffieHellman=c.DiffieHellman;var u=r(1076);e.createSign=u.createSign,e.Sign=u.Sign,e.createVerify=u.createVerify,e.Verify=u.Verify,e.createECDH=r(1117);var l=r(1120);e.publicEncrypt=l.publicEncrypt,e.privateEncrypt=l.privateEncrypt,e.publicDecrypt=l.publicDecrypt,e.privateDecrypt=l.privateDecrypt;var f=r(1124);e.randomFill=f.randomFill,e.randomFillSync=f.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(t,e,r){var n=r(121),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){(e=t.exports=r(714)).Stream=e,e.Readable=e,e.Writable=r(718),e.Duplex=r(348),e.Transform=r(719),e.PassThrough=r(1045),e.finished=r(601),e.pipeline=r(1046)},,function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=r(121).Buffer,s=r(1042).inspect,c=s&&s.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,u;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n,i=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0===(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:c,value:function(t,e){return s(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,r),u&&o(e,u),t}()},,function(t,e,r){"use strict";(function(e){var n;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(601),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var r=t[h].read();null!==r&&(t[l]=null,t[a]=null,t[s]=null,e(d(r,!1)))}}function m(t){e.nextTick(p,t)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var t=this,r=this[c];if(null!==r)return Promise.reject(r);if(this[u])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[c]?n(t[c]):r(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[u]?r(d(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[h].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),b);t.exports=function(t){var e,r=Object.create(v,(i(e={},h,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,c,{value:null,writable:!0}),i(e,u,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,t(d(n,!1))):(r[a]=t,r[s]=e)},writable:!0}),e));return r[l]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[l]=null,r[a]=null,r[s]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[u]=!0})),t.on("readable",m.bind(null,r)),r}}).call(this,r(112))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=i;var n=r(719);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(53)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var i=r(347).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function c(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=r(601)),n(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var c=!1;return function(e){if(!s&&!c)return c=!0,function(t){return t.setHeader&&"function"===typeof t.abort}(t)?t.abort():"function"===typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function u(t){t()}function l(t,e){return t.pipe(e)}function f(t){return t.length?"function"!==typeof t[t.length-1]?s:t.pop():s}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,r){var o=r<e.length-1;return c(t,o,r>0,(function(t){n||(n=t),t&&a.forEach(u),o||(a.forEach(u),i(n))}))}));return e.reduce(l)}},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<30|t>>>2}function l(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=t.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var h=0;h<80;++h){var d=~~(h/20),p=0|((e=n)<<5|e>>>27)+l(d,i,o,s)+c+r[h]+a[d];c=s,s=o,o=u(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function f(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,h=0;h<16;++h)r[h]=t.readInt32BE(4*h);for(;h<80;++h)r[h]=(e=r[h-3]^r[h-8]^r[h-14]^r[h-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=u(n)+f(p,i,o,s)+c+r[d]+a[p]|0;c=s,s=o,o=l(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},function(t,e,r){var n=r(53),i=r(720),o=r(349),a=r(71).Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}n(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=c},function(t,e,r){var n=r(53),i=r(721),o=r(349),a=r(71).Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=c},function(t,e,r){"use strict";var n=r(53),i=r(71).Buffer,o=r(267),a=i.alloc(128);function s(t,e){o.call(this,"digest"),"string"===typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=i.concat([e,a],64));for(var r=this._ipad=i.allocUnsafe(64),n=this._opad=i.allocUnsafe(64),s=0;s<64;s++)r[s]=54^e[s],n[s]=92^e[s];this._hash=[r]}n(s,o),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=s},function(t,e,r){t.exports=r(724)},function(t,e,r){(function(e){var n,i,o=r(71).Buffer,a=r(726),s=r(727),c=r(728),u=r(729),l=e.crypto&&e.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(){return i||(i=e.process&&e.process.nextTick?e.process.nextTick:e.queueMicrotask?e.queueMicrotask:e.setImmediate?e.setImmediate:e.setTimeout)}function p(t,e,r,n,i){return l.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return l.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:i}},t,n<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,r,i,m,b,v){"function"===typeof b&&(v=b,b=void 0);var g=f[(b=b||"sha1").toLowerCase()];if(g&&"function"===typeof e.Promise){if(a(i,m),t=u(t,s,"Password"),r=u(r,s,"Salt"),"function"!==typeof v)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){d()((function(){e(null,t)}))}),(function(t){d()((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==h[t])return h[t];var r=p(n=n||o.alloc(8),n,10,128,t).then((function(){return!0})).catch((function(){return!1}));return h[t]=r,r}(g).then((function(e){return e?p(t,r,i,m,g):c(t,r,i,m,b)})),v)}else d()((function(){var e;try{e=c(t,r,i,m,b)}catch(n){return v(n)}v(null,e)}))}}).call(this,r(120))},function(t,e,r){var n=r(1055),i=r(605),o=r(606),a=r(1068),s=r(477);function c(t,e,r){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function u(t,e,r){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return c(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=c,e.createDecipher=e.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return u(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=u,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},function(t,e,r){var n=r(267),i=r(1056),o=r(53),a=r(71).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(t){n.call(this);var e,r=t.mode.toLowerCase(),i=s[r];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var c=t.iv;a.isBuffer(c)||(c=a.from(c)),this._des=i.create({key:o,iv:c,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=c,o(c,n),c.prototype._update=function(t){return a.from(this._des.update(t))},c.prototype._final=function(){return a.from(this._des.final())}},function(t,e,r){"use strict";e.utils=r(730),e.Cipher=r(604),e.DES=r(731),e.CBC=r(1057),e.EDE=r(1058)},function(t,e,r){"use strict";var n=r(190),i=r(53),o={};function a(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];o._update.call(this,a,0,r,n);for(s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{o._update.call(this,t,e,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},function(t,e,r){"use strict";var n=r(190),i=r(53),o=r(604),a=r(731);function s(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function c(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(c,o),t.exports=c,c.create=function(t){return new c(t)},c.prototype._update=function(t,e,r,n){var i=this._edeState;i.ciphers[0]._update(t,e,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad},function(t,e,r){var n=r(606),i=r(735),o=r(71).Buffer,a=r(736),s=r(267),c=r(476),u=r(477);function l(t,e,r){s.call(this),this._cache=new h,this._cipher=new c.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}r(53)(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return o.concat(n)};var f=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function d(t,e,r){var s=n[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"===typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,e,r):"auth"===s.type?new i(s.module,e,r):new l(s.module,e,r)}l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=o.concat([this.cache,t])},h.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},h.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),r=-1;++r<t;)e.writeUInt8(t,r);return o.concat([this.cache,e])},e.createCipheriv=d,e.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(e,!1,r.key,r.iv);return d(t,i.key,i.iv)}},function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},function(t,e,r){var n=r(395);e.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},e.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},function(t,e,r){var n=r(71).Buffer,i=r(395);function o(t,e,r){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=n.concat([t._prev,r?e:a]),a}e.encrypt=function(t,e,r){for(var i,a=n.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=e.length)){a=n.concat([a,o(t,e,r)]);break}i=t._cache.length,a=n.concat([a,o(t,e.slice(0,i),r)]),e=e.slice(i)}return a}},function(t,e,r){var n=r(71).Buffer;function i(t,e,r){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:i])]),i}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},function(t,e,r){var n=r(71).Buffer;function i(t,e,r){for(var n,i,a=-1,s=0;++a<8;)n=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^n))>>a%8,t._prev=o(t._prev,r?n:i);return s}function o(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},function(t,e,r){(function(t){var n=r(395);function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,i(e)]);var o=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,o)}}).call(this,r(121).Buffer)},function(t,e,r){var n=r(71).Buffer,i=n.alloc(16,0);function o(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!==(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!==(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},function(t,e,r){var n=r(735),i=r(71).Buffer,o=r(606),a=r(736),s=r(267),c=r(476),u=r(477);function l(t,e,r){s.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(e),this._prev=i.from(r),this._mode=t,this._autopadding=!0}function f(){this.cache=i.allocUnsafe(0)}function h(t,e,r){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"===typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,r,!0):"auth"===s.type?new n(s.module,e,r,!0):new l(s.module,e,r)}r(53)(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return i.concat(n)},l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var r=-1;for(;++r<e;)if(t[r+(16-e)]!==e)throw new Error("unable to decrypt data");if(16===e)return;return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=i.concat([this.cache,t])},f.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(e,!1,r.key,r.iv);return h(t,n.key,n.iv)},e.createDecipheriv=h},function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},function(t,e,r){(function(t){var n=r(737),i=r(1074),o=r(1075);var a={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var r=new t(i[e].prime,"hex"),n=new t(i[e].gen,"hex");return new o(r,n)},e.createDiffieHellman=e.DiffieHellman=function e(r,i,s,c){return t.isBuffer(i)||void 0===a[i]?e(r,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new t([2]),t.isBuffer(s)||(s=new t(s,c)),"number"===typeof r?new o(n(r,s),s,!0):(t.isBuffer(r)||(r=new t(r,i)),new o(r,s,!0)))}}).call(this,r(121).Buffer)},,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1072).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},,,function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(t,e,r){(function(e){var n=r(738),i=new(r(739)),o=new n(24),a=new n(11),s=new n(10),c=new n(3),u=new n(7),l=r(737),f=r(346);function h(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._pub=new n(t),this}function d(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._priv=new n(t),this}t.exports=m;var p={};function m(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=d):this._primeCode=8}function b(t,r){var n=new e(t.toArray());return r?n.toString(r):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in p)return p[n];var f,h=0;if(t.isEven()||!l.simpleSieve||!l.fermatTest(t)||!i.test(t))return h+=1,h+="02"===r||"05"===r?8:4,p[n]=h,h;switch(i.test(t.shrn(1))||(h+=2),r){case"02":t.mod(o).cmp(a)&&(h+=8);break;case"05":(f=t.mod(s)).cmp(c)&&f.cmp(u)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(t){var r=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new e(r.toArray()),o=this.getPrime();if(i.length<o.length){var a=new e(o.length-i.length);a.fill(0),i=e.concat([a,i])}return i},m.prototype.getPublicKey=function(t){return b(this._pub,t)},m.prototype.getPrivateKey=function(t){return b(this._priv,t)},m.prototype.getPrime=function(t){return b(this.__prime,t)},m.prototype.getGenerator=function(t){return b(this._gen,t)},m.prototype.setGenerator=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.__gen=t,this._gen=new n(t),this}}).call(this,r(121).Buffer)},function(t,e,r){var n=r(608).Buffer,i=r(394),o=r(1077),a=r(53),s=r(1085),c=r(1116),u=r(724);function l(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){return new l(t)}function d(t){return new f(t)}Object.keys(u).forEach((function(t){u[t].id=n.from(u[t].id,"hex"),u[t.toLowerCase()]=u[t]})),a(l,o.Writable),l.prototype._write=function(t,e,r){this._hash.update(t),r()},l.prototype.update=function(t,e){return"string"===typeof t&&(t=n.from(t,e)),this._hash.update(t),this},l.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=s(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},a(f,o.Writable),f.prototype._write=function(t,e,r){this._hash.update(t),r()},f.prototype.update=function(t,e){return"string"===typeof t&&(t=n.from(t,e)),this._hash.update(t),this},f.prototype.verify=function(t,e,r){"string"===typeof e&&(e=n.from(e,r)),this.end();var i=this._hash.digest();return c(e,i,t,this._signType,this._tag)},t.exports={Sign:h,Verify:d,createSign:h,createVerify:d}},function(t,e,r){(e=t.exports=r(740)).Stream=e,e.Readable=e,e.Writable=r(744),e.Duplex=r(351),e.Transform=r(745),e.PassThrough=r(1083),e.finished=r(609),e.pipeline=r(1084)},,function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=r(121).Buffer,s=r(1080).inspect,c=s&&s.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,u;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n,i=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0===(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:c,value:function(t,e){return s(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,r),u&&o(e,u),t}()},,function(t,e,r){"use strict";(function(e){var n;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(609),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var r=t[h].read();null!==r&&(t[l]=null,t[a]=null,t[s]=null,e(d(r,!1)))}}function m(t){e.nextTick(p,t)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var t=this,r=this[c];if(null!==r)return Promise.reject(r);if(this[u])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[c]?n(t[c]):r(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[u]?r(d(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[h].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),b);t.exports=function(t){var e,r=Object.create(v,(i(e={},h,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,c,{value:null,writable:!0}),i(e,u,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,t(d(n,!1))):(r[a]=t,r[s]=e)},writable:!0}),e));return r[l]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[l]=null,r[a]=null,r[s]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[u]=!0})),t.on("readable",m.bind(null,r)),r}}).call(this,r(112))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=i;var n=r(745);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(53)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var i=r(350).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function c(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=r(609)),n(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var c=!1;return function(e){if(!s&&!c)return c=!0,function(t){return t.setHeader&&"function"===typeof t.abort}(t)?t.abort():"function"===typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function u(t){t()}function l(t,e){return t.pipe(e)}function f(t){return t.length?"function"!==typeof t[t.length-1]?s:t.pop():s}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,r){var o=r<e.length-1;return c(t,o,r>0,(function(t){n||(n=t),t&&a.forEach(u),o||(a.forEach(u),i(n))}))}));return e.reduce(l)}},function(t,e,r){var n=r(608).Buffer,i=r(722),o=r(610),a=r(612).ec,s=r(611),c=r(479),u=r(757);function l(t,e,r,o){if((t=n.from(t.toArray())).length<e.byteLength()){var a=n.alloc(e.byteLength()-t.length);t=n.concat([a,t])}var s=r.length,c=function(t,e){t=(t=f(t,e)).mod(e);var r=n.from(t.toArray());if(r.length<e.byteLength()){var i=n.alloc(e.byteLength()-r.length);r=n.concat([i,r])}return r}(r,e),u=n.alloc(s);u.fill(1);var l=n.alloc(s);return l=i(o,l).update(u).update(n.from([0])).update(t).update(c).digest(),u=i(o,l).update(u).digest(),{k:l=i(o,l).update(u).update(n.from([1])).update(t).update(c).digest(),v:u=i(o,l).update(u).digest()}}function f(t,e){var r=new s(t),n=(t.length<<3)-e.bitLength();return n>0&&r.ishrn(n),r}function h(t,e,r){var o,a;do{for(o=n.alloc(0);8*o.length<t.bitLength();)e.v=i(r,e.k).update(e.v).digest(),o=n.concat([o,e.v]);a=f(o,t),e.k=i(r,e.k).update(e.v).update(n.from([0])).digest(),e.v=i(r,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function d(t,e,r,n){return t.toRed(s.mont(r)).redPow(e).fromRed().mod(n)}t.exports=function(t,e,r,i,p){var m=c(e);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var r=u[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var i=new a(r).keyFromPrivate(e.privateKey).sign(t);return n.from(i.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,r){var i,o=e.params.priv_key,a=e.params.p,c=e.params.q,u=e.params.g,p=new s(0),m=f(t,c).mod(c),b=!1,v=l(o,c,t,r);for(;!1===b;)i=h(c,v,r),p=d(u,i,a,c),0===(b=i.invm(c).imul(m.add(o.mul(p))).mod(c)).cmpn(0)&&(b=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t));128&e[0]&&(e=[0].concat(e));var r=[48,t.length+e.length+4,2,t.length];return r=r.concat(t,[2,e.length],e),n.from(r)}(p,b)}(t,m,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=n.concat([p,t]);for(var b=m.modulus.byteLength(),v=[0,1];t.length+v.length+1<b;)v.push(255);v.push(0);for(var g=-1;++g<t.length;)v.push(t[g]);return o(v,m)},t.exports.getKey=l,t.exports.makeKey=h},,function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.4","D:\\\\FMSV14\\\\fms\\\\client"]],"_from":"elliptic@6.5.4","_id":"elliptic@6.5.4","_inBundle":false,"_integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.4","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.4","saveSpec":null,"fetchSpec":"6.5.4"},"_requiredBy":["/browserify-sign","/create-ecdh"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","_spec":"6.5.4","_where":"D:\\\\FMSV14\\\\fms\\\\client","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"description":"EC cryptography","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.4"}')},,function(t,e,r){"use strict";var n=r(191),i=r(246),o=r(53),a=r(478),s=n.assert;function c(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(t,e,r,n){a.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(t,e,r,n){a.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),t.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(t){for(var e,r,n,o,a,s,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=t,d=this.n.clone(),p=new i(1),m=new i(0),b=new i(0),v=new i(1),g=0;0!==h.cmpn(0);){var y=d.div(h);u=d.sub(y.mul(h)),l=b.sub(y.mul(p));var w=v.sub(y.mul(m));if(!n&&u.cmp(f)<0)e=c.neg(),r=p,n=u.neg(),o=l;else if(n&&2===++g)break;c=u,d=h,h=u,b=p,p=l,v=m,m=w}a=u.neg(),s=l;var x=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(x)>=0&&(a=e,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),c=i.mul(r.b),u=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:c.add(u).neg()}},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],c=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),c=c.neg(!0)),n[2*o]=s,n[2*o+1]=c,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return u},o(u,a.BasePoint),c.prototype.point=function(t,e,r){return new u(this,t,e,r)},c.prototype.pointFromJSON=function(t,e){return u.fromJSON(this,t,e)},u.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(t,e,r){"string"===typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},u.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,a.BasePoint),c.prototype.jpoint=function(t,e,r){return new l(this,t,e,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=n.redMul(u),h=c.redSqr().redIAdd(l).redISub(f).redISub(f),d=c.redMul(f.redISub(h)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,d,p)},l.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),l=r.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),h=s.redMul(l.redISub(f)).redISub(i.redMul(u)),d=this.z.redMul(a);return this.curve.jpoint(f,h,d)},l.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e<t;e++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,c=s.redSqr().redSqr(),u=a.redAdd(a);for(e=0;e<t;e++){var l=o.redSqr(),f=u.redSqr(),h=f.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),p=o.redMul(f),m=d.redSqr().redISub(p.redAdd(p)),b=p.redISub(m),v=d.redMul(b);v=v.redIAdd(v).redISub(h);var g=u.redMul(s);e+1<t&&(c=c.redMul(h)),o=m,s=g,u=v}return this.curve.jpoint(o,u.redMul(i),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=c,e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),f=this.y.redSqr(),h=f.redSqr(),d=this.x.redAdd(f).redSqr().redISub(l).redISub(h);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),b=h.redIAdd(h);b=(b=b.redIAdd(b)).redIAdd(b),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(b),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},l.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(a).redISub(a);t=c;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),f=this.y.redSqr(),h=this.x.redMul(f),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(l);var b=f.redSqr();b=(b=(b=b.redIAdd(b)).redIAdd(b)).redIAdd(b),e=d.redMul(p.redISub(t)).redISub(b)}return this.curve.jpoint(t,e,r)},l.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),c=e.redAdd(e),u=(c=c.redIAdd(c)).redMul(a),l=s.redSqr().redISub(u.redAdd(u)),f=u.redISub(l),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=s.redMul(f).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,p)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(c),l=e.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var f=this.x.redMul(s).redISub(l);f=(f=f.redIAdd(f)).redIAdd(f);var h=this.y.redMul(u.redMul(c.redISub(u)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,h,d)},l.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},l.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,r){"use strict";var n=r(246),i=r(53),o=r(478),a=r(191);function s(t){o.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,e,r){o.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},i(c,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new c(this,t,e)},s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,e){return new c(t,e[0],e[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),i=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(r),a=i.redMul(n),s=e.z.redMul(o.redAdd(a).redSqr()),c=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,r){"use strict";var n=r(191),i=r(246),o=r(53),a=r(478),s=n.assert;function c(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function u(t,e,r,n,o){a.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),t.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(e&&!c||!e&&c)&&(s=s.redNeg()),this.point(t,s)},c.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},o(u,a.BasePoint),c.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},c.prototype.point=function(t,e,r,n){return new u(this,t,e,r,n)},u.fromJSON=function(t,e){return new u(t,e[0],e[1],e[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),c=i.redMul(a),u=o.redMul(s),l=i.redMul(s),f=a.redMul(o);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var t,e,r,n,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(s)).redAdd(c);this.zOne?(t=a.redSub(s).redSub(c).redMul(u.redSub(this.curve.two)),e=u.redMul(n.redSub(c)),r=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),t=a.redSub(s).redISub(c).redMul(o),e=u.redMul(n.redSub(c)),r=u.redMul(o))}else n=s.redAdd(c),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(n)).redMul(o),e=this.curve._mulC(n).redMul(s.redISub(c)),r=n.redMul(o);return this.curve.point(t,e,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),c=r.redAdd(e),u=o.redMul(a),l=s.redMul(c),f=o.redMul(c),h=a.redMul(s);return this.curve.point(u,l,h,f)},u.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),u=i.redAdd(s),l=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),f=n.redMul(c).redMul(l);return this.curve.twisted?(e=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=c.redMul(u)):(e=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,e,r)},u.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},u.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},u.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},u.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(t,e,r){"use strict";e.sha1=r(1093),e.sha224=r(1094),e.sha256=r(749),e.sha384=r(1095),e.sha512=r(750)},function(t,e,r){"use strict";var n=r(215),i=r(396),o=r(748),a=n.rotl32,s=n.sum32,c=n.sum32_5,u=o.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,l),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=c(a(i,5),u(p,o,l,h),d,r[n],f[p]);d=h,h=l,l=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],d)},h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(215),i=r(749);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(t,e,r){"use strict";var n=r(215),i=r(750);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(t,e,r){"use strict";var n=r(215),i=r(396),o=n.rotl32,a=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function h(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(l,u),e.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],g=r,y=n,w=i,x=u,O=l,_=0;_<80;_++){var S=a(o(c(r,f(_,n,i,u),t[p[_]+e],h(_)),b[_]),l);r=l,l=u,u=o(i,10),i=n,n=S,S=a(o(c(g,f(79-_,y,w,x),t[m[_]+e],d(_)),v[_]),O),g=O,O=x,x=o(w,10),w=y,y=S}S=s(this.h[1],i,x),this.h[1]=s(this.h[2],u,O),this.h[2]=s(this.h[3],l,g),this.h[3]=s(this.h[4],r,y),this.h[4]=s(this.h[0],n,w),this.h[0]=S},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(t,e,r){"use strict";var n=r(215),i=r(190);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(t,e,r){"use strict";var n=r(246),i=r(1100),o=r(191),a=r(613),s=r(607),c=o.assert,u=r(1101),l=r(1102);function f(t){if(!(this instanceof f))return new f(t);"string"===typeof t&&(c(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=f,f.prototype.keyPair=function(t){return new u(this,t)},f.prototype.keyFromPrivate=function(t,e){return u.fromPrivate(this,t,e)},f.prototype.keyFromPublic=function(t,e){return u.fromPublic(this,t,e)},f.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||s(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(e.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},f.prototype.sign=function(t,e,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new n(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),c=t.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new n(1)),h=0;;h++){var d=o.k?o.k(h):new n(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(f)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var m=p.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var v=d.invm(this.n).mul(b.mul(e.getPrivate()).iadd(t));if(0!==(v=v.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return o.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),g^=1),new l({r:b,s:v,recoveryParam:g})}}}}}},f.prototype.verify=function(t,e,r,i){t=this._truncateToN(new n(t,16)),r=this.keyFromPublic(r,i);var o=(e=new l(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(t).umod(this.n),f=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),f)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,r.getPublic(),f)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(t,e,r,i){c((3&r)===r,"The recovery param is more than two bits"),e=new l(e,i);var o=this.n,a=new n(t),s=e.r,u=e.s,f=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var d=e.r.invm(o),p=o.sub(a).mul(d).umod(o),m=u.mul(d).umod(o);return this.g.mulAdd(p,s,m)},f.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new l(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,r){"use strict";var n=r(614),i=r(746),o=r(190);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=a,a.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,r,n){"string"!==typeof e&&(n=r,r=e,e=null),t=i.toArray(t,e),r=i.toArray(r,n),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},a.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(r),this._reseed++,i.encode(a,e)}},function(t,e,r){"use strict";var n=r(246),i=r(191).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,r){return e instanceof o?e:new o(t,{pub:e,pubEnc:r})},o.fromPrivate=function(t,e,r){return e instanceof o?e:new o(t,{priv:e,privEnc:r})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(t,e,r){"use strict";var n=r(246),i=r(191),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function c(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=e.place;o<n;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function u(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e<r;)e++;return 0===e?t:t.slice(e)}function l(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new s;if(48!==t[r.place++])return!1;var o=c(t,r);if(!1===o)return!1;if(o+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var a=c(t,r);if(!1===a)return!1;var u=t.slice(r.place,a+r.place);if(r.place+=a,2!==t[r.place++])return!1;var l=c(t,r);if(!1===l)return!1;if(t.length!==l+r.place)return!1;var f=t.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=u(e),r=u(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var n=[2];l(n,e.length),(n=n.concat(e)).push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,t)}},function(t,e,r){"use strict";var n=r(614),i=r(613),o=r(191),a=o.assert,s=o.parseBytes,c=r(1104),u=r(1105);function l(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof l))return new l(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=l,l.prototype.sign=function(t,e){t=s(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},l.prototype.verify=function(t,e,r){t=s(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},l.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(t){return c.fromPublic(this,t)},l.prototype.keyFromSecret=function(t){return c.fromSecret(this,t)},l.prototype.makeSignature=function(t){return t instanceof u?t:new u(this,t)},l.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},l.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!==(128&t[e]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},l.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(t){return o.intFromLE(t)},l.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,r){"use strict";var n=r(191),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,n=e.slice(0,t.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},s.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=s},function(t,e,r){"use strict";var n=r(246),i=r(191),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function c(t,e){this.eddsa=t,"object"!==typeof e&&(e=s(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof n&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=c},function(t,e,r){"use strict";var n=r(751);e.certificate=r(1113);var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=l,e.DSAparam=n.define("DSAparam",(function(){this.int()}));var f=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=f;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},,function(t,e,r){"use strict";var n=r(753),i=r(755),o=r(53);function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){var e=this.name;function r(t){this._initNamed(t,e)}return o(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,r){return this._getDecoder(e).decode(t,r)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},a.prototype.encode=function(t,e,r){return this._getEncoder(e).encode(t,r)}},function(t,e,r){"use strict";var n=r(53),i=r(754);function o(t){i.call(this,t),this.enc="pem"}n(o,i),t.exports=o,o.prototype.encode=function(t,e){for(var r=i.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+e.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+e.label+"-----"),n.join("\n")}},function(t,e,r){"use strict";var n=r(53),i=r(615).Buffer,o=r(756);function a(t){o.call(this,t),this.enc="pem"}n(a,o),t.exports=a,a.prototype.decode=function(t,e){for(var r=t.toString().split(/[\r\n]+/g),n=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(a);if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+n);var f=r.slice(s+1,c).join("");f.replace(/[^a-z0-9+/=]+/gi,"");var h=i.from(f,"base64");return o.prototype.decode.call(this,h,e)}},function(t,e,r){"use strict";var n=e;n.Reporter=r(617).Reporter,n.DecoderBuffer=r(397).DecoderBuffer,n.EncoderBuffer=r(397).EncoderBuffer,n.Node=r(616)},function(t,e,r){"use strict";var n=e;n._reverse=function(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e},n.der=r(618)},function(t,e,r){"use strict";var n=r(751),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=n.define("RDNSequence",(function(){this.seqof(c)})),l=n.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),f=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(l),this.key("validity").use(f),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(t,e,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=r(477),s=r(605),c=r(71).Buffer;t.exports=function(t,e){var r,u=t.toString(),l=u.match(n);if(l){var f="aes"+l[1],h=c.from(l[2],"hex"),d=c.from(l[3].replace(/[\r\n]/g,""),"base64"),p=a(e,h.slice(0,8),parseInt(l[1],10)).key,m=[],b=s.createDecipheriv(f,p,h);m.push(b.update(d)),m.push(b.final()),r=c.concat(m)}else{var v=u.match(o);r=c.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:r}}},function(t,e,r){var n=r(608).Buffer,i=r(611),o=r(612).ec,a=r(479),s=r(757);function c(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,r,u,l){var f=a(r);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=r.data.p,o=r.data.q,s=r.data.g,u=r.data.pub_key,l=a.signature.decode(t,"der"),f=l.s,h=l.r;c(f,o),c(h,o);var d=i.mont(n),p=f.invm(o);return 0===s.toRed(d).redPow(new i(e).mul(p).mod(o)).fromRed().mul(u.toRed(d).redPow(h.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(h)}(t,e,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");e=n.concat([l,e]);for(var h=f.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<h;)d.push(255),p++;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=n.from(d);var b=i.mont(f.modulus);t=(t=new i(t).toRed(b)).redPow(new i(f.publicExponent)),t=n.from(t.fromRed().toArray());var v=p<8?1:0;for(h=Math.min(t.length,d.length),t.length!==d.length&&(v=1),m=-1;++m<h;)v|=t[m]^d[m];return 0===v}},function(t,e,r){(function(e){var n=r(612),i=r(1118);t.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(t,r,n){Array.isArray(t)||(t=t.toArray());var i=new e(t);if(n&&i.length<n){var o=new e(n-i.length);o.fill(0),i=e.concat([o,i])}return r?i.toString(r):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},a.prototype.computeSecret=function(t,r,n){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),s(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,t)},a.prototype.getPrivateKey=function(t){return s(this.keys.getPrivate(),t)},a.prototype.setPublicKey=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.keys._importPublic(t),this},a.prototype.setPrivateKey=function(t,r){r=r||"utf8",e.isBuffer(t)||(t=new e(t,r));var n=new i(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(121).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1119).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},,function(t,e,r){e.publicEncrypt=r(1121),e.privateDecrypt=r(1123),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}},function(t,e,r){var n=r(479),i=r(346),o=r(394),a=r(758),s=r(759),c=r(619),u=r(760),l=r(610),f=r(71).Buffer;t.exports=function(t,e,r){var h;h=t.padding?t.padding:r?1:4;var d,p=n(t);if(4===h)d=function(t,e){var r=t.modulus.byteLength(),n=e.length,u=o("sha1").update(f.alloc(0)).digest(),l=u.length,h=2*l;if(n>r-h-2)throw new Error("message too long");var d=f.alloc(r-n-h-2),p=r-l-1,m=i(l),b=s(f.concat([u,d,f.alloc(1,1),e],p),a(m,p)),v=s(m,a(b,l));return new c(f.concat([f.alloc(1),v,b],r))}(p,e);else if(1===h)d=function(t,e,r){var n,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");n=r?f.alloc(a-o-3,255):function(t){var e,r=f.allocUnsafe(t),n=0,o=i(2*t),a=0;for(;n<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(r[n++]=e);return r}(a-o-3);return new c(f.concat([f.from([0,r?1:2]),n,f.alloc(1),e],a))}(p,e,r);else{if(3!==h)throw new Error("unknown padding");if((d=new c(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,p):u(d,p)}},,function(t,e,r){var n=r(479),i=r(758),o=r(759),a=r(619),s=r(610),c=r(394),u=r(760),l=r(71).Buffer;t.exports=function(t,e,r){var f;f=t.padding?t.padding:r?1:4;var h,d=n(t),p=d.modulus.byteLength();if(e.length>p||new a(e).cmp(d.modulus)>=0)throw new Error("decryption error");h=r?u(new a(e),d):s(e,d);var m=l.alloc(p-h.length);if(h=l.concat([m,h],p),4===f)return function(t,e){var r=t.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),a=n.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),u=e.slice(a+1),f=o(s,i(u,a)),h=o(u,i(f,r-a-1));if(function(t,e){t=l.from(t),e=l.from(e);var r=0,n=t.length;t.length!==e.length&&(r++,n=Math.min(t.length,e.length));var i=-1;for(;++i<n;)r+=t[i]^e[i];return r}(n,h.slice(0,a)))throw new Error("decryption error");var d=a;for(;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}(d,h);if(1===f)return function(t,e,r){var n=e.slice(0,2),i=2,o=0;for(;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,h,r);if(3===f)return h;throw new Error("unknown padding")}},function(t,e,r){"use strict";(function(t,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(71),a=r(346),s=o.Buffer,c=o.kMaxLength,u=t.crypto||t.msCrypto,l=Math.pow(2,32)-1;function f(t,e){if("number"!==typeof t||t!==t)throw new TypeError("offset must be a number");if(t>l||t<0)throw new TypeError("offset must be a uint32");if(t>c||t>e)throw new RangeError("offset out of range")}function h(t,e,r){if("number"!==typeof t||t!==t)throw new TypeError("size must be a number");if(t>l||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>c)throw new RangeError("buffer too small")}function d(t,e,r,i){if(n.browser){var o=t.buffer,s=new Uint8Array(o,e,r);return u.getRandomValues(s),i?void n.nextTick((function(){i(null,t)})):t}if(!i)return a(r).copy(t,e),t;a(r,(function(r,n){if(r)return i(r);n.copy(t,e),i(null,t)}))}u&&u.getRandomValues||!n.browser?(e.randomFill=function(e,r,n,i){if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof r)i=r,r=0,n=e.length;else if("function"===typeof n)i=n,n=e.length-r;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return f(r,e.length),h(n,r,e.length),d(e,r,n,i)},e.randomFillSync=function(e,r,n){"undefined"===typeof r&&(r=0);if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(r,e.length),void 0===n&&(n=e.length-r);return h(n,r,e.length),d(e,r,n)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,r(120),r(112))},function(t,e,r){"use strict";var n=r(71).Buffer,i=r(1126);function o(t){if(n.isBuffer(t))return t;if("string"===typeof t)return n.from(t,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function a(t,e,r){for(var n=0;e+n<r&&0===t[e+n];)++n;return t[e+n]>=128&&--n,n}t.exports={derToJose:function(t,e){t=o(t);var r=i(e),a=r+1,s=t.length,c=0;if(48!==t[c++])throw new Error('Could not find expected "seq"');var u=t[c++];if(129===u&&(u=t[c++]),s-c<u)throw new Error('"seq" specified length of "'+u+'", only "'+(s-c)+'" remaining');if(2!==t[c++])throw new Error('Could not find expected "int" for "r"');var l=t[c++];if(s-c-2<l)throw new Error('"r" specified length of "'+l+'", only "'+(s-c-2)+'" available');if(a<l)throw new Error('"r" specified length of "'+l+'", max of "'+a+'" is acceptable');var f=c;if(c+=l,2!==t[c++])throw new Error('Could not find expected "int" for "s"');var h=t[c++];if(s-c!==h)throw new Error('"s" specified length of "'+h+'", expected "'+(s-c)+'"');if(a<h)throw new Error('"s" specified length of "'+h+'", max of "'+a+'" is acceptable');var d=c;if((c+=h)!==s)throw new Error('Expected to consume entire buffer, but "'+(s-c)+'" bytes remain');var p=r-l,m=r-h,b=n.allocUnsafe(p+l+m+h);for(c=0;c<p;++c)b[c]=0;t.copy(b,c,f+Math.max(-p,0),f+l);for(var v=c=r;c<v+m;++c)b[c]=0;return t.copy(b,c,d+Math.max(-m,0),d+h),b=(b=b.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(t,e){t=o(t);var r=i(e),s=t.length;if(s!==2*r)throw new TypeError('"'+e+'" signatures must be "'+2*r+'" bytes, saw "'+s+'"');var c=a(t,0,r),u=a(t,r,t.length),l=r-c,f=r-u,h=2+l+1+1+f,d=h<128,p=n.allocUnsafe((d?2:3)+h),m=0;return p[m++]=48,d?p[m++]=h:(p[m++]=129,p[m++]=255&h),p[m++]=2,p[m++]=l,c<0?(p[m++]=0,m+=t.copy(p,m,0,r)):m+=t.copy(p,m,c,r),p[m++]=2,p[m++]=f,u<0?(p[m++]=0,t.copy(p,m,r)):t.copy(p,m,r+u),p}}},function(t,e,r){"use strict";function n(t){return(t/8|0)+(t%8===0?0:1)}var i={ES256:n(256),ES384:n(384),ES512:n(521)};t.exports=function(t){var e=i[t];if(e)return e;throw new Error('Unknown algorithm "'+t+'"')}},function(t,e,r){var n=r(71).Buffer,i=r(707),o=r(712),a=r(473),s=r(761),c=r(475),u=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function l(t){if(function(t){return"[object Object]"===Object.prototype.toString.call(t)}(t))return t;try{return JSON.parse(t)}catch(e){return}}function f(t){var e=t.split(".",1)[0];return l(n.from(e,"base64").toString("binary"))}function h(t){return t.split(".")[2]}function d(t){return u.test(t)&&!!f(t)}function p(t,e,r){if(!e){var n=new Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}var i=h(t=s(t)),a=function(t){return t.split(".",2).join(".")}(t);return o(e).verify(a,i,r)}function m(t,e){if(e=e||{},!d(t=s(t)))return null;var r=f(t);if(!r)return null;var i=function(t,e){e=e||"utf8";var r=t.split(".")[1];return n.from(r,"base64").toString(e)}(t);return("JWT"===r.typ||e.json)&&(i=JSON.parse(i,e.encoding)),{header:r,payload:i,signature:h(t)}}function b(t){var e=(t=t||{}).secret||t.publicKey||t.key,r=new i(e);this.readable=!0,this.algorithm=t.algorithm,this.encoding=t.encoding,this.secret=this.publicKey=this.key=r,this.signature=new i(t.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}c.inherits(b,a),b.prototype.verify=function(){try{var t=p(this.signature.buffer,this.algorithm,this.key.buffer),e=m(this.signature.buffer,this.encoding);return this.emit("done",t,e),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(r){this.readable=!1,this.emit("error",r),this.emit("close")}},b.decode=m,b.isValid=d,b.verify=p,t.exports=b},function(t,e,r){var n=r(480),i=r(762),o=r(763),a=r(705),s=r(764),c=r(765),u=r(595),l=["RS256","RS384","RS512","ES256","ES384","ES512"],f=["RS256","RS384","RS512"],h=["HS256","HS384","HS512"];c&&(l.splice(3,0,"PS256","PS384","PS512"),f.splice(3,0,"PS256","PS384","PS512")),t.exports=function(t,e,r,c){var d;if("function"!==typeof r||c||(c=r,r={}),r||(r={}),r=Object.assign({},r),d=c||function(t,e){if(t)throw t;return e},r.clockTimestamp&&"number"!==typeof r.clockTimestamp)return d(new n("clockTimestamp must be a number"));if(void 0!==r.nonce&&("string"!==typeof r.nonce||""===r.nonce.trim()))return d(new n("nonce must be a non-empty string"));var p=r.clockTimestamp||Math.floor(Date.now()/1e3);if(!t)return d(new n("jwt must be provided"));if("string"!==typeof t)return d(new n("jwt must be a string"));var m,b=t.split(".");if(3!==b.length)return d(new n("jwt malformed"));try{m=a(t,{complete:!0})}catch(y){return d(y)}if(!m)return d(new n("invalid token"));var v,g=m.header;if("function"===typeof e){if(!c)return d(new n("verify must be called asynchronous if secret or public key is provided as a callback"));v=e}else v=function(t,r){return r(null,e)};return v(g,(function(e,a){if(e)return d(new n("error in secret or public key callback: "+e.message));var c,v=""!==b[2].trim();if(!v&&a)return d(new n("jwt signature is required"));if(v&&!a)return d(new n("secret or public key must be provided"));if(v||r.algorithms||(r.algorithms=["none"]),r.algorithms||(r.algorithms=~a.toString().indexOf("BEGIN CERTIFICATE")||~a.toString().indexOf("BEGIN PUBLIC KEY")?l:~a.toString().indexOf("BEGIN RSA PUBLIC KEY")?f:h),!~r.algorithms.indexOf(m.header.alg))return d(new n("invalid algorithm"));try{c=u.verify(t,m.header.alg,a)}catch(_){return d(_)}if(!c)return d(new n("invalid signature"));var y=m.payload;if("undefined"!==typeof y.nbf&&!r.ignoreNotBefore){if("number"!==typeof y.nbf)return d(new n("invalid nbf value"));if(y.nbf>p+(r.clockTolerance||0))return d(new i("jwt not active",new Date(1e3*y.nbf)))}if("undefined"!==typeof y.exp&&!r.ignoreExpiration){if("number"!==typeof y.exp)return d(new n("invalid exp value"));if(p>=y.exp+(r.clockTolerance||0))return d(new o("jwt expired",new Date(1e3*y.exp)))}if(r.audience){var w=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(y.aud)?y.aud:[y.aud]).some((function(t){return w.some((function(e){return e instanceof RegExp?e.test(t):e===t}))})))return d(new n("jwt audience invalid. expected: "+w.join(" or ")))}if(r.issuer&&("string"===typeof r.issuer&&y.iss!==r.issuer||Array.isArray(r.issuer)&&-1===r.issuer.indexOf(y.iss)))return d(new n("jwt issuer invalid. expected: "+r.issuer));if(r.subject&&y.sub!==r.subject)return d(new n("jwt subject invalid. expected: "+r.subject));if(r.jwtid&&y.jti!==r.jwtid)return d(new n("jwt jwtid invalid. expected: "+r.jwtid));if(r.nonce&&y.nonce!==r.nonce)return d(new n("jwt nonce invalid. expected: "+r.nonce));if(r.maxAge){if("number"!==typeof y.iat)return d(new n("iat required when maxAge is specified"));var x=s(r.maxAge,y.iat);if("undefined"===typeof x)return d(new n('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(p>=x+(r.clockTolerance||0))return d(new o("maxAge exceeded",new Date(1e3*x)))}if(!0===r.complete){var O=m.signature;return d(null,{header:g,payload:y,signature:O})}return d(null,y)}))}},function(t,e){var r=1e3,n=6e4,i=60*n,o=24*i;function a(t,e,r,n){var i=e>=1.5*r;return Math.round(t/r)+" "+n+(i?"s":"")}t.exports=function(t,e){e=e||{};var s=typeof t;if("string"===s&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===s&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=o)return a(t,e,o,"day");if(e>=i)return a(t,e,i,"hour");if(e>=n)return a(t,e,n,"minute");if(e>=r)return a(t,e,r,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=o)return Math.round(t/o)+"d";if(e>=i)return Math.round(t/i)+"h";if(e>=n)return Math.round(t/n)+"m";if(e>=r)return Math.round(t/r)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,r){(function(r){var n;e=t.exports=Y,n="object"===typeof r&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"})&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).NODE_DEBUG&&/\bsemver\b/i.test(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).NODE_DEBUG)?function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var i=Number.MAX_SAFE_INTEGER||9007199254740991,o=e.re=[],a=e.src=[],s=0,c=s++;a[c]="0|[1-9]\\d*";var u=s++;a[u]="[0-9]+";var l=s++;a[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var f=s++;a[f]="("+a[c]+")\\.("+a[c]+")\\.("+a[c]+")";var h=s++;a[h]="("+a[u]+")\\.("+a[u]+")\\.("+a[u]+")";var d=s++;a[d]="(?:"+a[c]+"|"+a[l]+")";var p=s++;a[p]="(?:"+a[u]+"|"+a[l]+")";var m=s++;a[m]="(?:-("+a[d]+"(?:\\."+a[d]+")*))";var b=s++;a[b]="(?:-?("+a[p]+"(?:\\."+a[p]+")*))";var v=s++;a[v]="[0-9A-Za-z-]+";var g=s++;a[g]="(?:\\+("+a[v]+"(?:\\."+a[v]+")*))";var y=s++,w="v?"+a[f]+a[m]+"?"+a[g]+"?";a[y]="^"+w+"$";var x="[v=\\s]*"+a[h]+a[b]+"?"+a[g]+"?",O=s++;a[O]="^"+x+"$";var _=s++;a[_]="((?:<|>)?=?)";var S=s++;a[S]=a[u]+"|x|X|\\*";var k=s++;a[k]=a[c]+"|x|X|\\*";var E=s++;a[E]="[v=\\s]*("+a[k]+")(?:\\.("+a[k]+")(?:\\.("+a[k]+")(?:"+a[m]+")?"+a[g]+"?)?)?";var M=s++;a[M]="[v=\\s]*("+a[S]+")(?:\\.("+a[S]+")(?:\\.("+a[S]+")(?:"+a[b]+")?"+a[g]+"?)?)?";var C=s++;a[C]="^"+a[_]+"\\s*"+a[E]+"$";var j=s++;a[j]="^"+a[_]+"\\s*"+a[M]+"$";var A=s++;a[A]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var T=s++;a[T]="(?:~>?)";var P=s++;a[P]="(\\s*)"+a[T]+"\\s+",o[P]=new RegExp(a[P],"g");var D=s++;a[D]="^"+a[T]+a[E]+"$";var R=s++;a[R]="^"+a[T]+a[M]+"$";var L=s++;a[L]="(?:\\^)";var I=s++;a[I]="(\\s*)"+a[L]+"\\s+",o[I]=new RegExp(a[I],"g");var N=s++;a[N]="^"+a[L]+a[E]+"$";var F=s++;a[F]="^"+a[L]+a[M]+"$";var B=s++;a[B]="^"+a[_]+"\\s*("+x+")$|^$";var z=s++;a[z]="^"+a[_]+"\\s*("+w+")$|^$";var H=s++;a[H]="(\\s*)"+a[_]+"\\s*("+x+"|"+a[E]+")",o[H]=new RegExp(a[H],"g");var U=s++;a[U]="^\\s*("+a[E]+")\\s+-\\s+("+a[E]+")\\s*$";var W=s++;a[W]="^\\s*("+a[M]+")\\s+-\\s+("+a[M]+")\\s*$";var q=s++;a[q]="(<|>)?=?\\s*\\*";for(var V=0;V<35;V++)n(V,a[V]),o[V]||(o[V]=new RegExp(a[V]));function G(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof Y)return t;if("string"!==typeof t)return null;if(t.length>256)return null;if(!(e.loose?o[O]:o[y]).test(t))return null;try{return new Y(t,e)}catch(r){return null}}function Y(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof Y){if(t.loose===e.loose)return t;t=t.version}else if("string"!==typeof t)throw new TypeError("Invalid Version: "+t);if(t.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof Y))return new Y(t,e);n("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?o[O]:o[y]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<i)return e}return t})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}e.parse=G,e.valid=function(t,e){var r=G(t,e);return r?r.version:null},e.clean=function(t,e){var r=G(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},e.SemVer=Y,Y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Y.prototype.toString=function(){return this.version},Y.prototype.compare=function(t){return n("SemVer.compare",this.version,this.options,t),t instanceof Y||(t=new Y(t,this.options)),this.compareMain(t)||this.comparePre(t)},Y.prototype.compareMain=function(t){return t instanceof Y||(t=new Y(t,this.options)),$(this.major,t.major)||$(this.minor,t.minor)||$(this.patch,t.patch)},Y.prototype.comparePre=function(t){if(t instanceof Y||(t=new Y(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var e=0;do{var r=this.prerelease[e],i=t.prerelease[e];if(n("prerelease compare",e,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return $(r,i)}while(++e)},Y.prototype.inc=function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"===typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this},e.inc=function(t,e,r,n){"string"===typeof r&&(n=r,r=void 0);try{return new Y(t,r).inc(e,n).version}catch(i){return null}},e.diff=function(t,e){if(Q(t,e))return null;var r=G(t),n=G(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var o="prerelease"}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return i+a;return o},e.compareIdentifiers=$;var X=/^[0-9]+$/;function $(t,e){var r=X.test(t),n=X.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1}function K(t,e,r){return new Y(t,r).compare(new Y(e,r))}function Z(t,e,r){return K(t,e,r)>0}function J(t,e,r){return K(t,e,r)<0}function Q(t,e,r){return 0===K(t,e,r)}function tt(t,e,r){return 0!==K(t,e,r)}function et(t,e,r){return K(t,e,r)>=0}function rt(t,e,r){return K(t,e,r)<=0}function nt(t,e,r,n){switch(e){case"===":return"object"===typeof t&&(t=t.version),"object"===typeof r&&(r=r.version),t===r;case"!==":return"object"===typeof t&&(t=t.version),"object"===typeof r&&(r=r.version),t!==r;case"":case"=":case"==":return Q(t,r,n);case"!=":return tt(t,r,n);case">":return Z(t,r,n);case">=":return et(t,r,n);case"<":return J(t,r,n);case"<=":return rt(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}function it(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof it){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof it))return new it(t,e);n("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===ot?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}e.rcompareIdentifiers=function(t,e){return $(e,t)},e.major=function(t,e){return new Y(t,e).major},e.minor=function(t,e){return new Y(t,e).minor},e.patch=function(t,e){return new Y(t,e).patch},e.compare=K,e.compareLoose=function(t,e){return K(t,e,!0)},e.rcompare=function(t,e,r){return K(e,t,r)},e.sort=function(t,r){return t.sort((function(t,n){return e.compare(t,n,r)}))},e.rsort=function(t,r){return t.sort((function(t,n){return e.rcompare(t,n,r)}))},e.gt=Z,e.lt=J,e.eq=Q,e.neq=tt,e.gte=et,e.lte=rt,e.cmp=nt,e.Comparator=it;var ot={};function at(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof at)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new at(t.raw,e);if(t instanceof it)return new at(t.value,e);if(!(this instanceof at))return new at(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t,this.set=t.split(/\s*\|\|\s*/).map((function(t){return this.parseRange(t.trim())}),this).filter((function(t){return t.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+t);this.format()}function st(t){return!t||"x"===t.toLowerCase()||"*"===t}function ct(t,e,r,n,i,o,a,s,c,u,l,f,h){return((e=st(r)?"":st(n)?">="+r+".0.0":st(i)?">="+r+"."+n+".0":">="+e)+" "+(s=st(c)?"":st(u)?"<"+(+c+1)+".0.0":st(l)?"<"+c+"."+(+u+1)+".0":f?"<="+c+"."+u+"."+l+"-"+f:"<="+s)).trim()}function ut(t,e,r){for(var i=0;i<t.length;i++)if(!t[i].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(i=0;i<t.length;i++)if(n(t[i].semver),t[i].semver!==ot&&t[i].semver.prerelease.length>0){var o=t[i].semver;if(o.major===e.major&&o.minor===e.minor&&o.patch===e.patch)return!0}return!1}return!0}function lt(t,e,r){try{e=new at(e,r)}catch(n){return!1}return e.test(t)}function ft(t,e,r,n){var i,o,a,s,c;switch(t=new Y(t,n),e=new at(e,n),r){case">":i=Z,o=rt,a=J,s=">",c=">=";break;case"<":i=J,o=et,a=Z,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(lt(t,e,n))return!1;for(var u=0;u<e.set.length;++u){var l=e.set[u],f=null,h=null;if(l.forEach((function(t){t.semver===ot&&(t=new it(">=0.0.0")),f=f||t,h=h||t,i(t.semver,f.semver,n)?f=t:a(t.semver,h.semver,n)&&(h=t)})),f.operator===s||f.operator===c)return!1;if((!h.operator||h.operator===s)&&o(t,h.semver))return!1;if(h.operator===c&&a(t,h.semver))return!1}return!0}it.prototype.parse=function(t){var e=this.options.loose?o[B]:o[z],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1],"="===this.operator&&(this.operator=""),r[2]?this.semver=new Y(r[2],this.options.loose):this.semver=ot},it.prototype.toString=function(){return this.value},it.prototype.test=function(t){return n("Comparator.test",t,this.options.loose),this.semver===ot||("string"===typeof t&&(t=new Y(t,this.options)),nt(t,this.operator,this.semver,this.options))},it.prototype.intersects=function(t,e){if(!(t instanceof it))throw new TypeError("a Comparator is required");var r;if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),""===this.operator)return r=new at(t.value,e),lt(this.value,r,e);if(""===t.operator)return r=new at(this.value,e),lt(t.semver,r,e);var n=(">="===this.operator||">"===this.operator)&&(">="===t.operator||">"===t.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===t.operator||"<"===t.operator),o=this.semver.version===t.semver.version,a=(">="===this.operator||"<="===this.operator)&&(">="===t.operator||"<="===t.operator),s=nt(this.semver,"<",t.semver,e)&&(">="===this.operator||">"===this.operator)&&("<="===t.operator||"<"===t.operator),c=nt(this.semver,">",t.semver,e)&&("<="===this.operator||"<"===this.operator)&&(">="===t.operator||">"===t.operator);return n||i||o&&a||s||c},e.Range=at,at.prototype.format=function(){return this.range=this.set.map((function(t){return t.join(" ").trim()})).join("||").trim(),this.range},at.prototype.toString=function(){return this.range},at.prototype.parseRange=function(t){var e=this.options.loose;t=t.trim();var r=e?o[W]:o[U];t=t.replace(r,ct),n("hyphen replace",t),t=t.replace(o[H],"$1$2$3"),n("comparator trim",t,o[H]),t=(t=(t=t.replace(o[P],"$1~")).replace(o[I],"$1^")).split(/\s+/).join(" ");var i=e?o[B]:o[z],a=t.split(" ").map((function(t){return function(t,e){return n("comp",t,e),t=function(t,e){return t.trim().split(/\s+/).map((function(t){return function(t,e){n("caret",t,e);var r=e.loose?o[F]:o[N];return t.replace(r,(function(e,r,i,o,a){var s;return n("caret",t,e,r,i,o,a),st(r)?s="":st(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":st(o)?s="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),s="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),s="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",s),s}))}(t,e)})).join(" ")}(t,e),n("caret",t),t=function(t,e){return t.trim().split(/\s+/).map((function(t){return function(t,e){var r=e.loose?o[R]:o[D];return t.replace(r,(function(e,r,i,o,a){var s;return n("tilde",t,e,r,i,o,a),st(r)?s="":st(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":st(o)?s=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":a?(n("replaceTilde pr",a),s=">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0"):s=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",s),s}))}(t,e)})).join(" ")}(t,e),n("tildes",t),t=function(t,e){return n("replaceXRanges",t,e),t.split(/\s+/).map((function(t){return function(t,e){t=t.trim();var r=e.loose?o[j]:o[C];return t.replace(r,(function(e,r,i,o,a,s){n("xRange",t,e,r,i,o,a,s);var c=st(i),u=c||st(o),l=u||st(a);return"="===r&&l&&(r=""),c?e=">"===r||"<"===r?"<0.0.0":"*":r&&l?(u&&(o=0),a=0,">"===r?(r=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",u?i=+i+1:o=+o+1),e=r+i+"."+o+"."+a):u?e=">="+i+".0.0 <"+(+i+1)+".0.0":l&&(e=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0"),n("xRange return",e),e}))}(t,e)})).join(" ")}(t,e),n("xrange",t),t=function(t,e){return n("replaceStars",t,e),t.trim().replace(o[q],"")}(t,e),n("stars",t),t}(t,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(t){return!!t.match(i)}))),a=a.map((function(t){return new it(t,this.options)}),this)},at.prototype.intersects=function(t,e){if(!(t instanceof at))throw new TypeError("a Range is required");return this.set.some((function(r){return r.every((function(r){return t.set.some((function(t){return t.every((function(t){return r.intersects(t,e)}))}))}))}))},e.toComparators=function(t,e){return new at(t,e).set.map((function(t){return t.map((function(t){return t.value})).join(" ").trim().split(" ")}))},at.prototype.test=function(t){if(!t)return!1;"string"===typeof t&&(t=new Y(t,this.options));for(var e=0;e<this.set.length;e++)if(ut(this.set[e],t,this.options))return!0;return!1},e.satisfies=lt,e.maxSatisfying=function(t,e,r){var n=null,i=null;try{var o=new at(e,r)}catch(a){return null}return t.forEach((function(t){o.test(t)&&(n&&-1!==i.compare(t)||(i=new Y(n=t,r)))})),n},e.minSatisfying=function(t,e,r){var n=null,i=null;try{var o=new at(e,r)}catch(a){return null}return t.forEach((function(t){o.test(t)&&(n&&1!==i.compare(t)||(i=new Y(n=t,r)))})),n},e.minVersion=function(t,e){t=new at(t,e);var r=new Y("0.0.0");if(t.test(r))return r;if(r=new Y("0.0.0-0"),t.test(r))return r;r=null;for(var n=0;n<t.set.length;++n){t.set[n].forEach((function(t){var e=new Y(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":r&&!Z(r,e)||(r=e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+t.operator)}}))}if(r&&t.test(r))return r;return null},e.validRange=function(t,e){try{return new at(t,e).range||"*"}catch(r){return null}},e.ltr=function(t,e,r){return ft(t,e,"<",r)},e.gtr=function(t,e,r){return ft(t,e,">",r)},e.outside=ft,e.prerelease=function(t,e){var r=G(t,e);return r&&r.prerelease.length?r.prerelease:null},e.intersects=function(t,e,r){return t=new at(t,r),e=new at(e,r),t.intersects(e)},e.coerce=function(t){if(t instanceof Y)return t;if("string"!==typeof t)return null;var e=t.match(o[A]);if(null==e)return null;return G(e[1]+"."+(e[2]||"0")+"."+(e[3]||"0"))}}).call(this,r(112))},function(t,e,r){(function(e){var n=r(764),i=r(765),o=r(595),a=r(1132),s=r(1133),c=r(1134),u=r(1135),l=r(1136),f=r(1137),h=r(1138),d=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];i&&d.splice(3,0,"PS256","PS384","PS512");var p={expiresIn:{isValid:function(t){return c(t)||f(t)&&t},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(t){return c(t)||f(t)&&t},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(t){return f(t)||Array.isArray(t)},message:'"audience" must be a string or array'},algorithm:{isValid:a.bind(null,d),message:'"algorithm" must be a valid string enum value'},header:{isValid:l,message:'"header" must be an object'},encoding:{isValid:f,message:'"encoding" must be a string'},issuer:{isValid:f,message:'"issuer" must be a string'},subject:{isValid:f,message:'"subject" must be a string'},jwtid:{isValid:f,message:'"jwtid" must be a string'},noTimestamp:{isValid:s,message:'"noTimestamp" must be a boolean'},keyid:{isValid:f,message:'"keyid" must be a string'},mutatePayload:{isValid:s,message:'"mutatePayload" must be a boolean'}},m={iat:{isValid:u,message:'"iat" should be a number of seconds'},exp:{isValid:u,message:'"exp" should be a number of seconds'},nbf:{isValid:u,message:'"nbf" should be a number of seconds'}};function b(t,e,r,n){if(!l(r))throw new Error('Expected "'+n+'" to be a plain object.');Object.keys(r).forEach((function(i){var o=t[i];if(o){if(!o.isValid(r[i]))throw new Error(o.message)}else if(!e)throw new Error('"'+i+'" is not allowed in "'+n+'"')}))}var v={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},g=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];t.exports=function(t,r,i,a){"function"===typeof i?(a=i,i={}):i=i||{};var s="object"===typeof t&&!e.isBuffer(t),c=Object.assign({alg:i.algorithm||"HS256",typ:s?"JWT":void 0,kid:i.keyid},i.header);function u(t){if(a)return a(t);throw t}if(!r&&"none"!==i.algorithm)return u(new Error("secretOrPrivateKey must have a value"));if("undefined"===typeof t)return u(new Error("payload is required"));if(s){try{!function(t){b(m,!0,t,"payload")}(t)}catch(y){return u(y)}i.mutatePayload||(t=Object.assign({},t))}else{var l=g.filter((function(t){return"undefined"!==typeof i[t]}));if(l.length>0)return u(new Error("invalid "+l.join(",")+" option for "+typeof t+" payload"))}if("undefined"!==typeof t.exp&&"undefined"!==typeof i.expiresIn)return u(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if("undefined"!==typeof t.nbf&&"undefined"!==typeof i.notBefore)return u(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(t){b(p,!1,t,"options")}(i)}catch(y){return u(y)}var f=t.iat||Math.floor(Date.now()/1e3);if(i.noTimestamp?delete t.iat:s&&(t.iat=f),"undefined"!==typeof i.notBefore){try{t.nbf=n(i.notBefore,f)}catch(w){return u(w)}if("undefined"===typeof t.nbf)return u(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if("undefined"!==typeof i.expiresIn&&"object"===typeof t){try{t.exp=n(i.expiresIn,f)}catch(w){return u(w)}if("undefined"===typeof t.exp)return u(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(v).forEach((function(e){var r=v[e];if("undefined"!==typeof i[e]){if("undefined"!==typeof t[r])return u(new Error('Bad "options.'+e+'" option. The payload already has an "'+r+'" property.'));t[r]=i[e]}}));var d=i.encoding||"utf8";if("function"!==typeof a)return o.sign({header:c,payload:t,secret:r,encoding:d});a=a&&h(a),o.createSign({header:c,privateKey:r,payload:t,encoding:d}).once("error",a).once("done",(function(t){a(null,t)}))}}).call(this,r(121).Buffer)},function(t,e){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=/^(?:0|[1-9]\d*)$/,s=parseInt;function c(t){return t!==t}function u(t,e){return function(t,e){for(var r=-1,n=t?t.length:0,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}(e,(function(e){return t[e]}))}var l,f,h=Object.prototype,d=h.hasOwnProperty,p=h.toString,m=h.propertyIsEnumerable,b=(l=Object.keys,f=Object,function(t){return l(f(t))}),v=Math.max;function g(t,e){var r=x(t)||function(t){return function(t){return S(t)&&O(t)}(t)&&d.call(t,"callee")&&(!m.call(t,"callee")||"[object Arguments]"==p.call(t))}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,i=!!n;for(var o in t)!e&&!d.call(t,o)||i&&("length"==o||w(o,n))||r.push(o);return r}function y(t){if(!function(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||h;return t===r}(t))return b(t);var e=[];for(var r in Object(t))d.call(t,r)&&"constructor"!=r&&e.push(r);return e}function w(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||a.test(t))&&t>-1&&t%1==0&&t<e}var x=Array.isArray;function O(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}(t.length)&&!function(t){var e=_(t)?p.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)}function _(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function S(t){return!!t&&"object"==typeof t}t.exports=function(t,e,a,l){var f;t=O(t)?t:(f=t)?u(f,function(t){return O(t)?g(t):y(t)}(f)):[],a=a&&!l?function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||S(t)&&"[object Symbol]"==p.call(t)}(t))return NaN;if(_(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=_(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var a=i.test(t);return a||o.test(t)?s(t.slice(2),a?2:8):n.test(t)?NaN:+t}(t))===1/0||t===-1/0){return 17976931348623157e292*(t<0?-1:1)}return t===t?t:0}(t),a=e%1;return e===e?a?e-a:e:0}(a):0;var h=t.length;return a<0&&(a=v(h+a,0)),function(t){return"string"==typeof t||!x(t)&&S(t)&&"[object String]"==p.call(t)}(t)?a<=h&&t.indexOf(e,a)>-1:!!h&&function(t,e,r){if(e!==e)return function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}(t,c,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}(t,e,a)>-1}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return!0===t||!1===t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Boolean]"==r.call(t)}},function(t,e){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,s=Object.prototype.toString;function c(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){return"number"==typeof t&&t==function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(c(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=c(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var u=i.test(t);return u||o.test(t)?a(t.slice(2),u?2:8):n.test(t)?NaN:+t}(t))===1/0||t===-1/0){return 17976931348623157e292*(t<0?-1:1)}return t===t?t:0}(t),u=e%1;return e===e?u?e-u:e:0}(t)}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return"number"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Number]"==r.call(t)}},function(t,e){var r,n,i=Function.prototype,o=Object.prototype,a=i.toString,s=o.hasOwnProperty,c=a.call(Object),u=o.toString,l=(r=Object.getPrototypeOf,n=Object,function(t){return r(n(t))});t.exports=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=u.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(r){}return e}(t))return!1;var e=l(t);if(null===e)return!0;var r=s.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&a.call(r)==c}},function(t,e){var r=Object.prototype.toString,n=Array.isArray;t.exports=function(t){return"string"==typeof t||!n(t)&&function(t){return!!t&&"object"==typeof t}(t)&&"[object String]"==r.call(t)}},function(t,e){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,s=Object.prototype.toString;function c(t,e){var c;if("function"!=typeof e)throw new TypeError("Expected a function");return t=function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(u(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=u(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var c=i.test(t);return c||o.test(t)?a(t.slice(2),c?2:8):n.test(t)?NaN:+t}(t))===1/0||t===-1/0){return 17976931348623157e292*(t<0?-1:1)}return t===t?t:0}(t),c=e%1;return e===e?c?e-c:e:0}(t),function(){return--t>0&&(c=e.apply(this,arguments)),t<=1&&(e=void 0),c}}function u(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){return c(2,t)}},function(t,e,r){"use strict";var n=r(355),i=60103,o=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var a=60109,s=60110,c=60112;e.Suspense=60113;var u=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),e.Fragment=f("react.fragment"),e.StrictMode=f("react.strict_mode"),e.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),c=f("react.forward_ref"),e.Suspense=f("react.suspense"),u=f("react.memo"),l=f("react.lazy")}var h="function"===typeof Symbol&&Symbol.iterator;function d(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}function v(){}function g(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}b.prototype.isReactComponent={},b.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(d(85));this.updater.enqueueSetState(this,t,e,"setState")},b.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},v.prototype=b.prototype;var y=g.prototype=new v;y.constructor=g,n(y,b.prototype),y.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function _(t,e,r){var n,o={},a=null,s=null;if(null!=e)for(n in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)x.call(e,n)&&!O.hasOwnProperty(n)&&(o[n]=e[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];o.children=u}if(t&&t.defaultProps)for(n in c=t.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:i,type:t,key:a,ref:s,props:o,_owner:w.current}}function S(t){return"object"===typeof t&&null!==t&&t.$$typeof===i}var k=/\/+/g;function E(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function M(t,e,r,n,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case o:c=!0}}if(c)return a=a(c=t),t=""===n?"."+E(c,0):n,Array.isArray(a)?(r="",null!=t&&(r=t.replace(k,"$&/")+"/"),M(a,e,r,"",(function(t){return t}))):null!=a&&(S(a)&&(a=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,r+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+t)),e.push(a)),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=n+E(s=t[u],u);c+=M(s,e,r,l,a)}else if("function"===typeof(l=function(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=h&&t[h]||t["@@iterator"])?t:null}(t)))for(t=l.call(t),u=0;!(s=t.next()).done;)c+=M(s=s.value,e,r,l=n+E(s,u++),a);else if("object"===s)throw e=""+t,Error(d(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return c}function C(t,e,r){if(null==t)return t;var n=[],i=0;return M(t,n,"","",(function(t){return e.call(r,t,i++)})),n}function j(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}if(1===t._status)return t._result;throw t._result}var A={current:null};function T(){var t=A.current;if(null===t)throw Error(d(321));return t}var P={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:n};e.Children={map:C,forEach:function(t,e,r){C(t,(function(){e.apply(this,arguments)}),r)},count:function(t){var e=0;return C(t,(function(){e++})),e},toArray:function(t){return C(t,(function(t){return t}))||[]},only:function(t){if(!S(t))throw Error(d(143));return t}},e.Component=b,e.PureComponent=g,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,e.cloneElement=function(t,e,r){if(null===t||void 0===t)throw Error(d(267,t));var o=n({},t.props),a=t.key,s=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,c=w.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(l in e)x.call(e,l)&&!O.hasOwnProperty(l)&&(o[l]=void 0===e[l]&&void 0!==u?u[l]:e[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){u=Array(l);for(var f=0;f<l;f++)u[f]=arguments[f+2];o.children=u}return{$$typeof:i,type:t.type,key:a,ref:s,props:o,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=_,e.createFactory=function(t){var e=_.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=S,e.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:j}},e.memo=function(t,e){return{$$typeof:u,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return T().useCallback(t,e)},e.useContext=function(t,e){return T().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return T().useEffect(t,e)},e.useImperativeHandle=function(t,e,r){return T().useImperativeHandle(t,e,r)},e.useLayoutEffect=function(t,e){return T().useLayoutEffect(t,e)},e.useMemo=function(t,e){return T().useMemo(t,e)},e.useReducer=function(t,e,r){return T().useReducer(t,e,r)},e.useRef=function(t){return T().useRef(t)},e.useState=function(t){return T().useState(t)},e.version="17.0.2"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"text"===t.type&&/\r?\n/.test(t.data)&&""===t.data.trim()}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var i=r(352),o=u(r(1166)),a=u(r(1167)),s=u(r(1173)),c=u(r(1174));function u(t){return t&&t.__esModule?t:{default:t}}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.default=(l(n={},i.ElementType.Text,o.default),l(n,i.ElementType.Tag,a.default),l(n,i.ElementType.Style,s.default),l(n,i.ElementType.Directive,c.default),l(n,i.ElementType.Comment,c.default),l(n,i.ElementType.Script,c.default),l(n,i.ElementType.CDATA,c.default),l(n,i.ElementType.Doctype,c.default),n)},function(t,e,r){var n=r(1143);t.exports=function(t){if(t>=55296&&t<=57343||t>1114111)return"\ufffd";t in n&&(t=n[t]);var e="";t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t);return e+=String.fromCharCode(t)}},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){var n=r(770),i=t.exports=Object.create(n),o={tagName:"name"};Object.keys(o).forEach((function(t){var e=o[t];Object.defineProperty(i,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=r(769),i=r(771);function o(t,e){this.init(t,e)}function a(t,e){return i.getElementsByTagName(t,e,!0)}function s(t,e){return i.getElementsByTagName(t,e,!0,1)[0]}function c(t,e,r){return i.getText(i.getElementsByTagName(t,e,r,1)).trim()}function u(t,e,r,n,i){var o=c(r,n,i);o&&(t[e]=o)}r(53)(o,n),o.prototype.init=n;var l=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};o.prototype.onend=function(){var t,e,r={},i=s(l,this.dom);i&&("feed"===i.name?(e=i.children,r.type="atom",u(r,"id","id",e),u(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),u(r,"description","subtitle",e),(t=c("updated",e))&&(r.updated=new Date(t)),u(r,"author","email",e,!0),r.items=a("entry",e).map((function(t){var e,r={};return u(r,"id","id",t=t.children),u(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),(e=c("summary",t)||c("content",t))&&(r.description=e),(e=c("updated",t))&&(r.pubDate=new Date(e)),r}))):(e=s("channel",i.children).children,r.type=i.name.substr(0,3),r.id="",u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=c("lastBuildDate",e))&&(r.updated=new Date(t)),u(r,"author","managingEditor",e,!0),r.items=a("item",i.children).map((function(t){var e,r={};return u(r,"id","guid",t=t.children),u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=c("pubDate",t))&&(r.pubDate=new Date(e)),r})))),this.dom=r,n.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},t.exports=o},function(t,e,r){var n=r(398),i=r(1150),o=n.isTag;t.exports={getInnerHTML:function(t,e){return t.children?t.children.map((function(t){return i(t,e)})).join(""):""},getOuterHTML:i,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):o(e)?"br"===e.name?"\n":t(e.children):e.type===n.CDATA?t(e.children):e.type===n.Text?e.data:""}}},function(t,e,r){var n=r(1151),i=r(1152),o=r(1156);o.elementNames.__proto__=null,o.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var r="",i=0;i<t.length;i++){var o=t[i];"root"===o.type?r+=c(o.children,e):n.isTag(o)?r+=l(o,e):o.type===n.Directive?r+=f(o):o.type===n.Comment?r+=p(o):o.type===n.CDATA?r+=d(o):r+=h(o,e)}return r},u=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function l(t,e){"foreign"===e.xmlMode&&(t.name=o.elementNames[t.name]||t.name,t.parent&&u.indexOf(t.parent.name)>=0&&(e=Object.assign({},e,{xmlMode:!1}))),!e.xmlMode&&["svg","math"].indexOf(t.name)>=0&&(e=Object.assign({},e,{xmlMode:"foreign"}));var r="<"+t.name,n=function(t,e){if(t){var r,n="";for(var a in t)r=t[a],n&&(n+=" "),"foreign"===e.xmlMode&&(a=o.attributeNames[a]||a),n+=a,(null!==r&&""!==r||e.xmlMode)&&(n+='="'+(e.decodeEntities?i.encodeXML(r):r.replace(/\"/g,"&quot;"))+'"');return n}}(t.attribs,e);return n&&(r+=" "+n),!e.xmlMode||t.children&&0!==t.children.length?(r+=">",t.children&&(r+=c(t.children,e)),s[t.name]&&!e.xmlMode||(r+="</"+t.name+">")):r+="/>",r}function f(t){return"<"+t.data+">"}function h(t,e){var r=t.data||"";return!e.decodeEntities||t.parent&&t.parent.name in a||(r=i.encodeXML(r)),r}function d(t){return"<![CDATA["+t.children[0].data+"]]>"}function p(t){return"\x3c!--"+t.data+"--\x3e"}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(n=e.ElementType||(e.ElementType={})),e.isTag=function(t){return t.type===n.Tag||t.type===n.Script||t.type===n.Style},e.Root=n.Root,e.Text=n.Text,e.Directive=n.Directive,e.Comment=n.Comment,e.Script=n.Script,e.Style=n.Style,e.Tag=n.Tag,e.CDATA=n.CDATA,e.Doctype=n.Doctype},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var n=r(772),i=r(775);e.decode=function(t,e){return(!e||e<=0?n.decodeXML:n.decodeHTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?n.decodeXML:n.decodeHTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?i.encodeXML:i.encodeHTML)(t)};var o=r(775);Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return o.encodeHTML}});var a=r(772);Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=n(r(1155)),o=String.fromCodePoint||function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)};e.default=function(t){return t>=55296&&t<=57343||t>1114111?"\ufffd":(t in i.default&&(t=i.default[t]),o(t))}},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t){t.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},function(t,e){var r=e.getChildren=function(t){return t.children},n=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=n(t);return e?r(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var i=e.parent=t.parent;if(i){var o=i.children;o[o.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(e.parent=t,1!==t.children.push(e)){var r=t.children[t.children.length-2];r.next=e,e.prev=r,e.next=null}},e.append=function(t,e){var r=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){var i=r.children;i.splice(i.lastIndexOf(n),0,e)}}else r&&r.children.push(e)},e.prepend=function(t,e){var r=t.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}},function(t,e,r){var n=r(398).isTag;function i(t,e,r,n){for(var o,a=[],s=0,c=e.length;s<c&&!(t(e[s])&&(a.push(e[s]),--n<=0))&&(o=e[s].children,!(r&&o&&o.length>0&&(o=i(t,o,r,n),a=a.concat(o),(n-=o.length)<=0)));s++);return a}t.exports={filter:function(t,e,r,n){Array.isArray(e)||(e=[e]);"number"===typeof n&&isFinite(n)||(n=1/0);return i(t,e,!1!==r,n)},find:i,findOneChild:function(t,e){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return null},findOne:function t(e,r){for(var i=null,o=0,a=r.length;o<a&&!i;o++)n(r[o])&&(e(r[o])?i=r[o]:r[o].children.length>0&&(i=t(e,r[o].children)));return i},existsOne:function t(e,r){for(var i=0,o=r.length;i<o;i++)if(n(r[i])&&(e(r[i])||r[i].children.length>0&&t(e,r[i].children)))return!0;return!1},findAll:function(t,e){var r=[],i=e.slice();for(;i.length;){var o=i.shift();n(o)&&(o.children&&o.children.length>0&&i.unshift.apply(i,o.children),t(o)&&r.push(o))}return r}}},function(t,e,r){var n=r(398),i=e.isTag=n.isTag;e.testElement=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){if("tag_name"===r){if(!i(e)||!t.tag_name(e.name))return!1}else if("tag_type"===r){if(!t.tag_type(e.type))return!1}else if("tag_contains"===r){if(i(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[r](e.attribs[r]))return!1}else;return!0};var o={tag_name:function(t){return"function"===typeof t?function(e){return i(e)&&t(e.name)}:"*"===t?i:function(e){return i(e)&&e.name===t}},tag_type:function(t){return"function"===typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"===typeof t?function(e){return!i(e)&&t(e.data)}:function(e){return!i(e)&&e.data===t}}};function a(t,e){return"function"===typeof e?function(r){return r.attribs&&e(r.attribs[t])}:function(r){return r.attribs&&r.attribs[t]===e}}function s(t,e){return function(r){return t(r)||e(r)}}e.getElements=function(t,e,r,n){var i=Object.keys(t).map((function(e){var r=t[e];return e in o?o[e](r):a(e,r)}));return 0===i.length?[]:this.filter(i.reduce(s),e,r,n)},e.getElementById=function(t,e,r){return Array.isArray(e)||(e=[e]),this.findOne(a("id",t),e,!1!==r)},e.getElementsByTagName=function(t,e,r,n){return this.filter(o.tag_name(t),e,r,n)},e.getElementsByTagType=function(t,e,r,n){return this.filter(o.tag_type(t),e,r,n)}},function(t,e){e.removeSubsets=function(t){for(var e,r,n,i=t.length;--i>-1;){for(e=r=t[i],t[i]=null,n=!0;r;){if(t.indexOf(r)>-1){n=!1,t.splice(i,1);break}r=r.parent}n&&(t[i]=e)}return t};var r=1,n=2,i=4,o=8,a=16,s=e.compareDocumentPosition=function(t,e){var s,c,u,l,f,h,d=[],p=[];if(t===e)return 0;for(s=t;s;)d.unshift(s),s=s.parent;for(s=e;s;)p.unshift(s),s=s.parent;for(h=0;d[h]===p[h];)h++;return 0===h?r:(u=(c=d[h-1]).children,l=d[h],f=p[h],u.indexOf(l)>u.indexOf(f)?c===e?i|a:i:c===t?n|o:n)};e.uniqueSort=function(t){var e,r,o=t.length;for(t=t.slice();--o>-1;)e=t[o],(r=t.indexOf(e))>-1&&r<o&&t.splice(o,1);return t.sort((function(t,e){var r=s(t,e);return r&n?-1:r&i?1:0})),t}},function(t,e,r){t.exports=i;var n=r(776);function i(t){n.call(this,new o(this),t)}function o(t){this.scope=t}r(53)(i,n),i.prototype.readable=!0;var a=r(352).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])o.prototype["on"+t]=function(){this.scope.emit(t)};else if(1===a[t])o.prototype["on"+t]=function(e){this.scope.emit(t,e)};else{if(2!==a[t])throw Error("wrong number of arguments!");o.prototype["on"+t]=function(e,r){this.scope.emit(t,e,r)}}}))},,function(t,e,r){function n(t){this._cbs=t||{}}t.exports=n;var i=r(352).EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])t="on"+t,n.prototype[t]=function(){this._cbs[t]&&this._cbs[t]()};else if(1===i[t])t="on"+t,n.prototype[t]=function(e){this._cbs[t]&&this._cbs[t](e)};else{if(2!==i[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this._cbs[t]&&this._cbs[t](e,r)}}}))},function(t,e,r){function n(t){this._cbs=t||{},this.events=[]}t.exports=n;var i=r(352).EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])t="on"+t,n.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(1===i[t])t="on"+t,n.prototype[t]=function(e){this.events.push([t,e]),this._cbs[t]&&this._cbs[t](e)};else{if(2!==i[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this.events.push([t,e,r]),this._cbs[t]&&this._cbs[t](e,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var r=this.events[t].length;1===r?this._cbs[this.events[t][0]]():2===r?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var c=t.name;if(!(0,s.default)(c))return null;var u=(0,o.default)(t.attribs,e),l=null;-1===a.default.indexOf(c)&&(l=(0,i.default)(t.children,r));return n.default.createElement(c,u,l)};var n=c(r(0)),i=c(r(620)),o=c(r(777)),a=c(r(1172)),s=c(r(778));function c(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Object.keys(t).filter((function(t){return(0,o.default)(t)})).reduce((function(e,r){var o=r.toLowerCase(),a=i.default[o]||o;return e[a]=function(t,e){n.default.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())>=0&&(e=t);return e}(a,t[r]),e}),{})};var n=a(r(1169)),i=a(r(1170)),o=a(r(778));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===t)return{};return t.split(";").reduce((function(t,e){var r=e.split(/^([^:]+):/).filter((function(t,e){return e>0})).map((function(t){return t.trim().toLowerCase()})),i=n(r,2),o=i[0],a=i[1];return void 0===a||(t[o=o.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))]=a),t}),{})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=void 0;t.children.length>0&&(r=t.children[0].data);var o=(0,i.default)(t.attribs,e);return n.default.createElement("style",o,r)};var n=o(r(0)),i=o(r(777));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.decodeEntities,o=void 0===r||r,a=e.transform,s=e.preprocessNodes,c=void 0===s?function(t){return t}:s,u=c(n.default.parseDOM(t,{decodeEntities:o}));return(0,i.default)(u,a)};var n=o(r(352)),i=o(r(620));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";var n=60103,i=60106,o=60107,a=60108,s=60114,c=60109,u=60110,l=60112,f=60113,h=60120,d=60115,p=60116,m=60121,b=60122,v=60117,g=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),i=w("react.portal"),o=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),c=w("react.provider"),u=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),h=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),m=w("react.block"),b=w("react.server.block"),v=w("react.fundamental"),g=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case a:case f:case h:return t;default:switch(t=t&&t.$$typeof){case u:case l:case p:case d:case c:return t;default:return e}}case i:return e}}}var O=c,_=n,S=l,k=o,E=p,M=d,C=i,j=s,A=a,T=f;e.ContextConsumer=u,e.ContextProvider=O,e.Element=_,e.ForwardRef=S,e.Fragment=k,e.Lazy=E,e.Memo=M,e.Portal=C,e.Profiler=j,e.StrictMode=A,e.Suspense=T,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return x(t)===l},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===p},e.isMemo=function(t){return x(t)===d},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===s||t===g||t===a||t===f||t===h||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===c||t.$$typeof===u||t.$$typeof===l||t.$$typeof===v||t.$$typeof===m||t[0]===b)},e.typeOf=x},function(t,e,r){"use strict";var n=r(0),i=60103;if(e.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),e.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function u(t,e,r){var n,o={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(l=e.ref),e)s.call(e,n)&&!c.hasOwnProperty(n)&&(o[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps)void 0===o[n]&&(o[n]=e[n]);return{$$typeof:i,type:t,key:u,ref:l,props:o,_owner:a.current}}e.jsx=u,e.jsxs=u},function(t,e,r){"use strict";var n=60103,i=60106,o=60107,a=60108,s=60114,c=60109,u=60110,l=60112,f=60113,h=60120,d=60115,p=60116,m=60121,b=60122,v=60117,g=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),i=w("react.portal"),o=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),c=w("react.provider"),u=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),h=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),m=w("react.block"),b=w("react.server.block"),v=w("react.fundamental"),g=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case a:case f:case h:return t;default:switch(t=t&&t.$$typeof){case u:case l:case p:case d:case c:return t;default:return e}}case i:return e}}}var O=c,_=n,S=l,k=o,E=p,M=d,C=i,j=s,A=a,T=f;e.ContextConsumer=u,e.ContextProvider=O,e.Element=_,e.ForwardRef=S,e.Fragment=k,e.Lazy=E,e.Memo=M,e.Portal=C,e.Profiler=j,e.StrictMode=A,e.Suspense=T,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return x(t)===l},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===p},e.isMemo=function(t){return x(t)===d},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===s||t===g||t===a||t===f||t===h||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===c||t.$$typeof===u||t.$$typeof===l||t.$$typeof===v||t.$$typeof===m||t[0]===b)},e.typeOf=x},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=(0,i.default)(t);return{getItem:function(t){return new Promise((function(r,n){r(e.getItem(t))}))},setItem:function(t,r){return new Promise((function(n,i){n(e.setItem(t,r))}))},removeItem:function(t){return new Promise((function(r,n){r(e.removeItem(t))}))}}};var n,i=(n=r(1180))&&n.__esModule?n:{default:n}},function(t,e,r){"use strict";function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){}e.__esModule=!0,e.default=function(t){var e="".concat(t,"Storage");return function(t){if("object"!==("undefined"===typeof self?"undefined":n(self))||!(t in self))return!1;try{var e=self[t],r="redux-persist ".concat(t," test");e.setItem(r,"test"),e.getItem(r),e.removeItem(r)}catch(i){return!1}return!0}(e)?self[e]:o};var o={getItem:i,setItem:i,removeItem:i}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"===typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(E){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var i=e&&e.prototype instanceof f?e:f,o=Object.create(i.prototype),a=new _(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return k()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=w(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),o}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=c;var l={};function f(){}function h(){}function d(){}var p={};s(p,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(S([])));b&&b!==e&&r.call(b,i)&&(p=b);var v=d.prototype=f.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){var n;this._invoke=function(i,o){function a(){return new e((function(n,a){!function n(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}(i,o,n,a)}))}return n=n?n.then(a,a):a()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=d,s(v,"constructor",d),s(d,"constructor",h),h.displayName=s(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},g(y.prototype),s(y.prototype,o,(function(){return this})),t.AsyncIterator=y,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new y(c(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(v),s(v,a,"Generator"),s(v,i,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=S,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=n}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";var n=60103,i=60106,o=60107,a=60108,s=60114,c=60109,u=60110,l=60112,f=60113,h=60120,d=60115,p=60116,m=60121,b=60122,v=60117,g=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),i=w("react.portal"),o=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),c=w("react.provider"),u=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),h=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),m=w("react.block"),b=w("react.server.block"),v=w("react.fundamental"),g=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case a:case f:case h:return t;default:switch(t=t&&t.$$typeof){case u:case l:case p:case d:case c:return t;default:return e}}case i:return e}}}var O=c,_=n,S=l,k=o,E=p,M=d,C=i,j=s,A=a,T=f;e.ContextConsumer=u,e.ContextProvider=O,e.Element=_,e.ForwardRef=S,e.Fragment=k,e.Lazy=E,e.Memo=M,e.Portal=C,e.Profiler=j,e.StrictMode=A,e.Suspense=T,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return x(t)===l},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===p},e.isMemo=function(t){return x(t)===d},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===s||t===g||t===a||t===f||t===h||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===c||t.$$typeof===u||t.$$typeof===l||t.$$typeof===v||t.$$typeof===m||t[0]===b)},e.typeOf=x},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(1186);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e,n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(101).default,i=r(782);t.exports=function(t,e){if(e&&("object"===n(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.updateConfig=e.getConfig=e.DEFAULT_PROPS=void 0;var i=n(r(664)),o=r(353),a=r(626);function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e,r=1;r<arguments.length;r++)e=null==arguments[r]?{}:arguments[r],r%2?s(Object(e),!0).forEach((function(r){(0,i.default)(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}var u={value:0,minValue:0,maxValue:1e3,forceRender:!1,width:300,height:300,paddingHorizontal:0,paddingVertical:0,fluidWidth:!1,dimensionUnit:"px",segments:5,maxSegmentLabels:-1,customSegmentStops:[],customSegmentLabels:[],needleColor:"steelblue",startColor:"#FF471A",endColor:"#33CC33",segmentColors:[],needleTransition:r(627).Transition.easeQuadInOut,needleTransitionDuration:500,needleHeightRatio:.9,ringWidth:60,textColor:"#666",valueFormat:"",currentValueText:"${value}",currentValuePlaceholderStyle:"${value}",labelFontSize:"14px",valueTextFontSize:"16px",valueTextFontWeight:"bold"};e.DEFAULT_PROPS=u;var l={ringInset:20,pointerWidth:10,pointerTailLength:5,minAngle:-90,maxAngle:90,labelInset:10};e.getConfig=function(t){var e=t.PROPS,r=t.parentWidth,n=t.parentHeight,i={width:e.fluidWidth?r:e.width,height:e.fluidWidth?n:e.height,paddingHorizontal:e.paddingHorizontal,paddingVertical:e.paddingVertical,dimensionUnit:e.dimensionUnit,ringWidth:e.ringWidth,minValue:e.minValue,maxValue:e.maxValue,needleColor:e.needleColor,majorTicks:e.segments,customSegmentStops:e.customSegmentStops,customSegmentLabels:e.customSegmentLabels,maxSegmentLabels:(0,a.calculateSegmentLabelCount)({maxSegmentLabelCount:e.maxSegmentLabels,segmentCount:e.segments}),segmentColors:e.segmentColors,arcColorFn:0<e.segmentColors.length?(0,o.scaleQuantize)(e.segmentColors):(0,o.interpolateHsl)((0,o.rgb)(e.startColor),(0,o.rgb)(e.endColor)),needleTransition:e.needleTransition,needleTransitionDuration:e.needleTransitionDuration,needleHeightRatio:e.needleHeightRatio,textColor:e.textColor,labelFormat:(0,o.format)(e.valueFormat),currentValueText:e.currentValueText,currentValuePlaceholderStyle:e.currentValuePlaceholderStyle,labelFontSize:e.labelFontSize,valueTextFontSize:e.valueTextFontSize,valueTextFontWeight:e.valueTextFontWeight};return Object.assign({},l,i)};e.updateConfig=function(t,e){return c(c({},t),e)}},function(t,e,r){"use strict";r.r(e);var n=r(160),i=r(153);e.default=function(t){return"number"==typeof t||Object(i.a)(t)&&"[object Number]"==Object(n.a)(t)}},function(t,e,r){"use strict";r.r(e),e.default=function(t){return t&&t.length?t[0]:void 0}},function(t,e,r){"use strict";r.r(e),e.default=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,r){"use strict";r.r(e);var n=r(529),i=r(372);e.default=function(t,e,r){var o=null==t?0:t.length;return o?(e=r||void 0===e?1:Object(i.a)(e),Object(n.a)(t,e<0?0:e,o)):[]}},function(t,e,r){"use strict";r.r(e);var n=r(529),i=r(372);e.default=function(t,e,r){return t&&t.length?(e=r||void 0===e?1:Object(i.a)(e),Object(n.a)(t,0,e<0?0:e)):[]}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e._renderLabels=l,e.render=e.update=void 0;var i=r(353),o=n(r(791)),a=n(r(167)),s=r(626),c=r(1196),u=r(1197);e.update=function(t){var e=t.d3_refs,r=t.newValue,n=t.config,i=(0,u.configureScale)(n)(r),o=n.maxAngle-n.minAngle,a=n.minAngle+i*o;e.pointer.transition().duration(n.needleTransitionDuration).ease((0,c.getNeedleTransition)(n.needleTransition)).attr("transform","rotate(".concat(a,")")),e.current_value_text.text((0,s.formatCurrentValueText)(r,n))};function l(t){var e=t.config,r=t.svg,n=t.centerTx,i=t.r,c=(0,u.configureTicks)(e),l=(0,u.configureTickData)(e),f=(0,u.configureScale)(e),h=e.maxAngle-e.minAngle,d=e.customSegmentLabels,p=(0,a.default)(d)&&!(0,o.default)(d),m=p&&d.length===l.length;if(p&&!m)throw new Error("Custom Segment Labels should be an array with length of ".concat(l.length));p&&m?function(t){function e(t,e){var n=0===f.length?u(t):(0,s.sumArrayTill)(c,e);return r.minAngle+n*l}var r=t.config,n=t.svg,i=t.centerTx,o=t.r,a=t.ticks,c=t.tickData,u=t.scale,l=t.range,f=r.customSegmentStops,h=r.customSegmentLabels,d=h.map((function(t,r){var n=r,i=r+1,o=e(a[n],n);return(e(a[i],i)+o)/2})),p=o-r.ringWidth-r.ringInset,m=o-r.ringInset;n.append("g").attr("class","label").attr("transform",i).selectAll("text").data(h).enter().append("text").attr("transform",(function(t,e){var n=d[e],i="rotate(".concat(n,") translate(0, ").concat(r.labelInset-o,")"),a="rotate(".concat(n,") translate(0, ").concat(r.labelInset/2-(m-(m-p)/2),")");return"OUTSIDE"===t.position?i:a})).text((function(t){return t.text||""})).attr("class","segment-value").style("text-anchor","middle").style("font-size",(function(t){return t.fontSize||r.labelFontSize})).style("font-weight","bold").style("fill",(function(t){return t.color||r.textColor}))}({config:e,svg:r,centerTx:n,r:i,ticks:c,tickData:l,scale:f,range:h}):r.append("g").attr("class","label").attr("transform",n).selectAll("text").data(c).enter().append("text").attr("transform",(function(t,r){var n=0===e.customSegmentStops.length?f(t):(0,s.sumArrayTill)(l,r),o=e.minAngle+n*h;return"rotate(".concat(o,") translate(0, ").concat(e.labelInset-i,")")})).text(e.labelFormat).attr("class","segment-value").style("text-anchor","middle").style("font-size",e.labelFontSize).style("font-weight","bold").style("fill",e.textColor)}function f(t){var e=t.config,r=t.svg,n=(e.width+2*e.paddingHorizontal)/2,i=(e.width+4*e.paddingVertical)/2;return r.append("g").attr("transform","translate(".concat(n,", ").concat(i,")")).append("text").attr("class","current-value").attr("text-anchor","middle").attr("y",23).text(e.currentValue).style("font-size",e.valueTextFontSize).style("font-weight",e.valueTextFontWeight).style("fill",e.textColor)}function h(t){var e=t.config,r=t.svg,n=t.r,o=t.centerTx,a=(0,s.calculateNeedleHeight)({heightRatio:e.needleHeightRatio,radius:n}),c=[[e.pointerWidth/2,0],[0,-a],[-e.pointerWidth/2,0],[0,e.pointerTailLength],[e.pointerWidth/2,0]],u=(0,i.line)().curve(i.curveMonotoneX);return r.append("g").data([c]).attr("class","pointer").attr("transform",o).style("fill",e.needleColor).append("path").attr("d",u).attr("transform","rotate(".concat(e.minAngle,")"))}e.render=function(t){var e=t.container,r=t.config,n=(0,s.getRadius)(r),a=(0,s.centerTranslation)(n,r.paddingHorizontal,r.paddingVertical),c=function(t){var e=t.container,r=t.config,n=r.width+2*r.paddingHorizontal,o=r.height+2*r.paddingVertical;return(0,i.select)(e).append("svg:svg").attr("class","speedometer").attr("width","".concat(n).concat(r.dimensionUnit)).attr("height","".concat(o).concat(r.dimensionUnit)).style("width","".concat(n).concat(r.dimensionUnit)).style("height","".concat(o).concat(r.dimensionUnit))}({container:e,config:r});return function(t){var e=t.config,r=t.svg,n=t.centerTx,i=(0,u.configureTickData)(e),a=(0,u.configureArc)(e);r.append("g").attr("class","arc").attr("transform",n).selectAll("path").data(i).enter().append("path").attr("class","speedo-segment").attr("fill",(function(t,r){return!(0,o.default)(e.segmentColors)&&e.segmentColors[r]?e.segmentColors[r]:e.arcColorFn(t*r)})).attr("d",a)}({config:r,svg:c,centerTx:a}),l({config:r,svg:c,centerTx:a,r:n}),{current_value_text:f({config:r,svg:c}),pointer:h({config:r,svg:c,r:n,centerTx:a})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNeedleTransition=function(t){return t===i.Transition.easeLinear?n.easeLinear:t===i.Transition.easeQuadIn?n.easeQuadIn:t===i.Transition.easeQuadOut?n.easeQuadOut:t===i.Transition.easeQuadInOut?n.easeQuadInOut:t===i.Transition.easeCubicIn?n.easeCubicIn:t===i.Transition.easeCubicOut?n.easeCubicOut:t===i.Transition.easeCubicInOut?n.easeCubicInOut:t===i.Transition.easePolyIn?n.easePolyIn:t===i.Transition.easePolyOut?n.easePolyOut:t===i.Transition.easePolyInOut?n.easePolyInOut:t===i.Transition.easeSinIn?n.easeSinIn:t===i.Transition.easeSinOut?n.easeSinOut:t===i.Transition.easeSinInOut?n.easeSinInOut:t===i.Transition.easeExpIn?n.easeExpIn:t===i.Transition.easeExpOut?n.easeExpOut:t===i.Transition.easeExpInOut?n.easeExpInOut:t===i.Transition.easeCircleIn?n.easeCircleIn:t===i.Transition.easeCircleOut?n.easeCircleOut:t===i.Transition.easeCircleInOut?n.easeCircleInOut:t===i.Transition.easeBounceIn?n.easeBounceIn:t===i.Transition.easeBounceOut?n.easeBounceOut:t===i.Transition.easeBounceInOut?n.easeBounceInOut:t===i.Transition.easeBackIn?n.easeBackIn:t===i.Transition.easeBackOut?n.easeBackOut:t===i.Transition.easeBackInOut?n.easeBackInOut:t===i.Transition.easeElasticIn?n.easeElasticIn:t===i.Transition.easeElasticOut?n.easeElasticOut:t===i.Transition.easeElasticInOut?n.easeElasticInOut:t===i.Transition.easeElastic?n.easeElastic:n.easeQuadInOut};var n=r(353),i=r(627)},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.configureArc=e.configureTickData=e.configureTicks=e.configureScale=void 0;var i=n(r(530)),o=r(353),a=r(626),s=(0,i.default)((function(t){return(0,a.calculateScale)({min:t.minValue,max:t.maxValue,segments:t.maxSegmentLabels})}));e.configureScale=s;var c=(0,i.default)((function(t){var e=s(t),r=(0,a.calculateTicks)(e,{min:t.minValue,max:t.maxValue,segments:t.maxSegmentLabels});return 0<t.customSegmentStops.length&&0!==t.maxSegmentLabels&&(r=t.customSegmentStops),r}));e.configureTicks=c;var u=(0,i.default)((function(t){var e=(0,o.range)(t.majorTicks).map((function(){return 1/t.majorTicks}));return(0,a.calculateSegmentStops)({tickData:e,customSegmentStops:t.customSegmentStops,min:t.minValue,max:t.maxValue})}));e.configureTickData=u;var l=(0,i.default)((function(t){var e=u(t),r=t.maxAngle-t.minAngle,n=t.width/2;return(0,o.arc)().innerRadius(n-t.ringWidth-t.ringInset).outerRadius(n-t.ringInset).startAngle((function(n,i){var o=(0,a.sumArrayTill)(e,i);return(0,a.deg2rad)(t.minAngle+o*r)})).endAngle((function(n,i){var o=(0,a.sumArrayTill)(e,i+1);return(0,a.deg2rad)(t.minAngle+o*r)}))}));e.configureArc=l},function(t,e,r){"use strict";var n=r(792),i=r(1199);Object.defineProperty(e,"__esModule",{value:!0}),e.getDomTreeShapes=x,e.findNativeHandler=_,e.default=e.SwipeableViewsContext=void 0;var o=i(r(1200)),a=i(r(1201)),s=i(r(1203)),c=i(r(1204)),u=i(r(1205)),l=i(r(1208)),f=i(r(1209)),h=n(r(0)),d=(i(r(10)),i(r(793)),r(1211));function p(t,e,r,n){return t.addEventListener(e,r,n),{remove:function(){t.removeEventListener(e,r,n)}}}var m={direction:"ltr",display:"flex",willChange:"transform"},b={width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"},v={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(t){return"translate(".concat(-t,"%, 0)")},"x-reverse":function(t){return"translate(".concat(t,"%, 0)")},y:function(t){return"translate(0, ".concat(-t,"%)")},"y-reverse":function(t){return"translate(0, ".concat(t,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function g(t,e){var r=e.duration,n=e.easeFunction,i=e.delay;return"".concat(t," ").concat(r," ").concat(n," ").concat(i)}function y(t,e){var r=v.rotationMatrix[e];return{pageX:r.x[0]*t.pageX+r.x[1]*t.pageY,pageY:r.y[0]*t.pageX+r.y[1]*t.pageY}}function w(t){return t.touches=[{pageX:t.pageX,pageY:t.pageY}],t}function x(t,e){for(var r=[];t&&t!==e&&t!==document.body&&!t.hasAttribute("data-swipeable");){var n=window.getComputedStyle(t);"absolute"===n.getPropertyValue("position")||"hidden"===n.getPropertyValue("overflow-x")?r=[]:(t.clientWidth>0&&t.scrollWidth>t.clientWidth||t.clientHeight>0&&t.scrollHeight>t.clientHeight)&&r.push({element:t,scrollWidth:t.scrollWidth,scrollHeight:t.scrollHeight,clientWidth:t.clientWidth,clientHeight:t.clientHeight,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}),t=t.parentNode}return r}var O=null;function _(t){var e=t.domTreeShapes,r=t.pageX,n=t.startX,i=t.axis;return e.some((function(t){var e=r>=n;"x"!==i&&"y"!==i||(e=!e);var o=Math.round(t[v.scrollPosition[i]]),a=o>0,s=o+t[v.clientLength[i]]<t[v.scrollLength[i]];return!!(e&&s||!e&&a)&&(O=t.element,!0)}))}var S=h.createContext();e.SwipeableViewsContext=S;var k=function(t){function e(t){var r;return(0,s.default)(this,e),(r=(0,u.default)(this,(0,l.default)(e).call(this,t))).rootNode=null,r.containerNode=null,r.ignoreNextScrollEvents=!1,r.viewLength=0,r.startX=0,r.lastX=0,r.vx=0,r.startY=0,r.isSwiping=void 0,r.started=!1,r.startIndex=0,r.transitionListener=null,r.touchMoveListener=null,r.activeSlide=null,r.indexCurrent=null,r.firstRenderTimeout=null,r.setRootNode=function(t){r.rootNode=t},r.setContainerNode=function(t){r.containerNode=t},r.setActiveSlide=function(t){r.activeSlide=t,r.updateHeight()},r.handleSwipeStart=function(t){var e=r.props.axis,n=y(t.touches[0],e);r.viewLength=r.rootNode.getBoundingClientRect()[v.length[e]],r.startX=n.pageX,r.lastX=n.pageX,r.vx=0,r.startY=n.pageY,r.isSwiping=void 0,r.started=!0;var i=window.getComputedStyle(r.containerNode),o=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform");if(o&&"none"!==o){var a=o.split("(")[1].split(")")[0].split(","),s=window.getComputedStyle(r.rootNode),c=y({pageX:parseInt(a[4],10),pageY:parseInt(a[5],10)},e);r.startIndex=-c.pageX/(r.viewLength-parseInt(s.paddingLeft,10)-parseInt(s.paddingRight,10))||0}},r.handleSwipeMove=function(t){if(r.started){if(null===O||O===r.rootNode){var e=r.props,n=e.axis,i=e.children,o=e.ignoreNativeScroll,a=e.onSwitching,s=e.resistance,c=y(t.touches[0],n);if(void 0===r.isSwiping){var u=Math.abs(c.pageX-r.startX),l=Math.abs(c.pageY-r.startY),f=u>l&&u>d.constant.UNCERTAINTY_THRESHOLD;if(!s&&("y"===n||"y-reverse"===n)&&(0===r.indexCurrent&&r.startX<c.pageX||r.indexCurrent===h.Children.count(r.props.children)-1&&r.startX>c.pageX))return void(r.isSwiping=!1);if(u>l&&t.preventDefault(),!0===f||l>d.constant.UNCERTAINTY_THRESHOLD)return r.isSwiping=f,void(r.startX=c.pageX)}if(!0===r.isSwiping){t.preventDefault(),r.vx=.5*r.vx+.5*(c.pageX-r.lastX),r.lastX=c.pageX;var p=(0,d.computeIndex)({children:i,resistance:s,pageX:c.pageX,startIndex:r.startIndex,startX:r.startX,viewLength:r.viewLength}),m=p.index,b=p.startX;if(null===O&&!o)if(_({domTreeShapes:x(t.target,r.rootNode),startX:r.startX,pageX:c.pageX,axis:n}))return;b?r.startX=b:null===O&&(O=r.rootNode),r.setIndexCurrent(m);var v=function(){a&&a(m,"move")};!r.state.displaySameSlide&&r.state.isDragging||r.setState({displaySameSlide:!1,isDragging:!0},v),v()}}}else r.handleTouchStart(t)},r.handleSwipeEnd=function(){if(O=null,r.started&&(r.started=!1,!0===r.isSwiping)){var t,e=r.state.indexLatest,n=r.indexCurrent,i=e-n;t=Math.abs(r.vx)>r.props.threshold?r.vx>0?Math.floor(n):Math.ceil(n):Math.abs(i)>r.props.hysteresis?i>0?Math.floor(n):Math.ceil(n):e;var o=h.Children.count(r.props.children)-1;t<0?t=0:t>o&&(t=o),r.setIndexCurrent(t),r.setState({indexLatest:t,isDragging:!1},(function(){r.props.onSwitching&&r.props.onSwitching(t,"end"),r.props.onChangeIndex&&t!==e&&r.props.onChangeIndex(t,e,{reason:"swipe"}),n===e&&r.handleTransitionEnd()}))}},r.handleTouchStart=function(t){r.props.onTouchStart&&r.props.onTouchStart(t),r.handleSwipeStart(t)},r.handleTouchEnd=function(t){r.props.onTouchEnd&&r.props.onTouchEnd(t),r.handleSwipeEnd(t)},r.handleMouseDown=function(t){r.props.onMouseDown&&r.props.onMouseDown(t),t.persist(),r.handleSwipeStart(w(t))},r.handleMouseUp=function(t){r.props.onMouseUp&&r.props.onMouseUp(t),r.handleSwipeEnd(w(t))},r.handleMouseLeave=function(t){r.props.onMouseLeave&&r.props.onMouseLeave(t),r.started&&r.handleSwipeEnd(w(t))},r.handleMouseMove=function(t){r.props.onMouseMove&&r.props.onMouseMove(t),r.started&&r.handleSwipeMove(w(t))},r.handleScroll=function(t){if(r.props.onScroll&&r.props.onScroll(t),t.target===r.rootNode)if(r.ignoreNextScrollEvents)r.ignoreNextScrollEvents=!1;else{var e=r.state.indexLatest,n=Math.ceil(t.target.scrollLeft/t.target.clientWidth)+e;r.ignoreNextScrollEvents=!0,t.target.scrollLeft=0,r.props.onChangeIndex&&n!==e&&r.props.onChangeIndex(n,e,{reason:"focus"})}},r.updateHeight=function(){if(null!==r.activeSlide){var t=r.activeSlide.children[0];void 0!==t&&void 0!==t.offsetHeight&&r.state.heightLatest!==t.offsetHeight&&r.setState({heightLatest:t.offsetHeight})}},r.state={indexLatest:t.index,isDragging:!1,renderOnlyActive:!t.disableLazyLoading,heightLatest:0,displaySameSlide:!0},r.setIndexCurrent(t.index),r}return(0,f.default)(e,t),(0,c.default)(e,[{key:"componentDidMount",value:function(){var t=this;this.transitionListener=p(this.containerNode,"transitionend",(function(e){e.target===t.containerNode&&t.handleTransitionEnd()})),this.touchMoveListener=p(this.rootNode,"touchmove",(function(e){t.props.disabled||t.handleSwipeMove(e)}),{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout((function(){t.setState({renderOnlyActive:!1})}),0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.index;"number"===typeof e&&e!==this.props.index&&(this.setIndexCurrent(e),this.setState({displaySameSlide:(0,d.getDisplaySameSlide)(this.props,t),indexLatest:e}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var t=this;return{slideUpdateHeight:function(){t.updateHeight()}}}},{key:"setIndexCurrent",value:function(t){if(this.props.animateTransitions||this.indexCurrent===t||this.handleTransitionEnd(),this.indexCurrent=t,this.containerNode){var e=this.props.axis,r=v.transform[e](100*t);this.containerNode.style.WebkitTransform=r,this.containerNode.style.transform=r}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var t,e,r=this,n=this.props,i=(n.action,n.animateHeight),s=n.animateTransitions,c=n.axis,u=n.children,l=n.containerStyle,f=n.disabled,d=(n.disableLazyLoading,n.enableMouseEvents),p=(n.hysteresis,n.ignoreNativeScroll,n.index,n.onChangeIndex,n.onSwitching,n.onTransitionEnd,n.resistance,n.slideStyle),y=n.slideClassName,w=n.springConfig,x=n.style,O=(n.threshold,(0,a.default)(n,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"])),_=this.state,k=_.displaySameSlide,E=_.heightLatest,M=_.indexLatest,C=_.isDragging,j=_.renderOnlyActive,A=f?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},T=!f&&d?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},P=(0,o.default)({},b,p);if(C||!s||k)t="all 0s ease 0s",e="all 0s ease 0s";else if(t=g("transform",w),e=g("-webkit-transform",w),0!==E){var D=", ".concat(g("height",w));t+=D,e+=D}var R={height:null,WebkitFlexDirection:v.flexDirection[c],flexDirection:v.flexDirection[c],WebkitTransition:e,transition:t};if(!j){var L=v.transform[c](100*this.indexCurrent);R.WebkitTransform=L,R.transform=L}return i&&(R.height=E),h.createElement(S.Provider,{value:this.getSwipeableViewsContext()},h.createElement("div",(0,o.default)({ref:this.setRootNode,style:(0,o.default)({},v.root[c],x)},O,A,T,{onScroll:this.handleScroll}),h.createElement("div",{ref:this.setContainerNode,style:(0,o.default)({},R,m,l),className:"react-swipeable-view-container"},h.Children.map(u,(function(t,e){if(j&&e!==M)return null;var n,o=!0;return e===M&&(o=!1,i&&(n=r.setActiveSlide,P.overflowY="hidden")),h.createElement("div",{ref:n,style:P,className:y,"aria-hidden":o,"data-swipeable":"true"},t)})))))}}]),e}(h.Component);k.displayName="ReactSwipableView",k.propTypes={},k.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var E=k;e.default=E},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},r.apply(this,arguments)}t.exports=r},function(t,e,r){var n=r(1202);t.exports=function(t,e){if(null==t)return{};var r,i,o=n(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}},function(t,e){t.exports=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}},function(t,e,r){var n=r(1206),i=r(1207);t.exports=function(t,e){return!e||"object"!==n(e)&&"function"!==typeof e?i(t):e}},function(t,e){function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(e){return"function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?t.exports=n=function(t){return r(t)}:t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},n(e)}t.exports=n},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(e)}t.exports=r},function(t,e,r){var n=r(1210);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(e,n)}t.exports=r},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return c.default}});var i=n(r(1212)),o=n(r(1213)),a=n(r(794)),s=n(r(1214)),c=n(r(1215))},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(0)),o=(n(r(793)),function(t){t.index;var e=t.children;i.default.Children.count(e)});e.default=o},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e,r=t.children,n=t.startIndex,a=t.startX,s=t.pageX,c=t.viewLength,u=t.resistance,l=i.default.Children.count(r)-1,f=n+(a-s)/c;u?f<0?f=Math.exp(f*o.default.RESISTANCE_COEF)-1:f>l&&(f=l+1-Math.exp((l-f)*o.default.RESISTANCE_COEF)):f<0?e=((f=0)-n)*c+s:f>l&&(e=((f=l)-n)*c+s);return{index:f,startX:e}};var i=n(r(0)),o=n(r(794))},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(0)),o=function(t,e){var r=!1,n=function(t){return t?t.key:"empty"};if(t.children.length&&e.children.length){var o=i.default.Children.map(t.children,n)[t.index];if(null!==o&&void 0!==o)o===i.default.Children.map(e.children,n)[e.index]&&(r=!0)}return r};e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t,e){var r=t%e;return r<0?r+e:r};e.default=n},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=x,e.MAX_RESULTS=e.DEFAULT_INPUT_DEBOUNCE=void 0;var i,o=m(r(0)),a=d(r(10)),s=d(r(1217)),c=r(1218),u=d(r(1219)),l=d(r(1220)),f=m(r(403)),h=r(1222);function d(t){return t&&t.__esModule?t:{default:t}}function p(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return p=function(){return t},t}function m(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var e=p();if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,e&&e.set(t,r),r}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return v(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e,r=1;r<arguments.length;r++)e=null==arguments[r]?{}:arguments[r],r%2?g(Object(e),!0).forEach((function(r){w(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.DEFAULT_INPUT_DEBOUNCE=200;function x(t){var e=t.items,r=t.fuseOptions,n=t.inputDebounce,i=t.onSearch,a=t.onHover,d=t.onSelect,p=t.onFocus,m=t.onClear,v=t.showIcon,g=t.showClear,w=t.maxResults,x=t.placeholder,O=t.autoFocus,_=t.styling,k=t.resultStringKeyName,E=t.inputSearchString,M=t.formatResult,C=y(y({},c.defaultTheme),_),j=y(y({},c.defaultFuseOptions),r),A=new s.default(e,j);A.setCollection(e);var T=b((0,o.useState)(E),2),P=T[0],D=T[1],R=b((0,o.useState)(),2),L=R[0],I=R[1],N=function(t){var e=[];0<(null===t||void 0===t?void 0:t.length)?(e=B(t),I(e),i(t,e)):I(e)},F=o.default.useCallback(0<n?(0,h.debounce)((function(t){return N(t)}),n):function(t){return N(t)},[e]);(0,o.useEffect)((function(){D(E)}),[E]),(0,o.useEffect)((function(){0<(null===P||void 0===P?void 0:P.length)&&0<(null===L||void 0===L?void 0:L.length)&&I(B(P))}),[e]);var B=function(t){return A.search(t,{limit:w}).map((function(t){return y({},t.item)})).slice(0,w)};return o.default.createElement(f.ThemeProvider,{theme:C},o.default.createElement(S,null,o.default.createElement("div",{className:"wrapper"},o.default.createElement(l.default,{searchString:P,setSearchString:function(t){var e=t.target.value;D(e),F(e)},autoFocus:O,onBlur:function(){return I([])},onFocus:p,onClear:m,placeholder:x,showIcon:v,showClear:g}),o.default.createElement(u.default,{results:L,onClick:function(t){I([]),d(t)},onHover:a,setSearchString:D,showIcon:v,maxResults:w,resultStringKeyName:k,formatResult:M}))))}e.MAX_RESULTS=10,x.defaultProps={items:[],fuseOptions:c.defaultFuseOptions,onSearch:function(){},onHover:function(){},onSelect:function(){},onClear:function(){},inputDebounce:200,showIcon:!0,showClear:!0,maxResults:10,placeholder:"",autoFocus:!1,onFocus:function(){},styling:{},resultStringKeyName:"name",inputSearchString:"",formatResult:function(t){return t}},x.propTypes={items:a.default.array,fuseOptions:a.default.object,inputDebounce:a.default.number,onSearch:a.default.func,onHover:a.default.func,onSelect:a.default.func,onClear:a.default.func,onFocus:a.default.func,showIcon:a.default.bool,showClear:a.default.bool,maxResults:a.default.number,placeholder:a.default.string,autoFocus:a.default.bool,styling:a.default.object,resultStringKeyName:a.default.string,inputSearchString:a.default.string,formatResult:a.default.func};var O,_,S=f.default.div(i||(O=["\n  position: relative;\n\n  height: ",";\n\n  > .wrapper {\n    position: absolute;\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n\n    border: ",";\n    border-radius: ",";\n\n    background-color: ",";\n    color: ",";\n\n    font-size: ",";\n    font-family: ",";\n\n    z-index: ",";\n\n    &:hover {\n      box-shadow: ",";\n    }\n    &:active {\n      box-shadow: ",";\n    }\n    &:focus-within {\n      box-shadow: ",";\n    }\n  }\n"],_||(_=O.slice(0)),i=Object.freeze(Object.defineProperties(O,{raw:{value:Object.freeze(_)}}))),(function(t){return parseInt(t.theme.height)+2+"px"}),(function(t){return t.theme.border}),(function(t){return t.theme.borderRadius}),(function(t){return t.theme.backgroundColor}),(function(t){return t.theme.color}),(function(t){return t.theme.fontSize}),(function(t){return t.theme.fontFamily}),(function(t){return t.theme.zIndex}),(function(t){return t.theme.boxShadow}),(function(t){return t.theme.boxShadow}),(function(t){return t.theme.boxShadow}))},function(t,e,r){"use strict";r.r(e);var n=r(1),i=r(95),o=r(96),a=r(19),s=r(4),c=r(45),u=r(46);function l(t){return Array.isArray?Array.isArray(t):"[object Array]"===v(t)}function f(t){return"string"===typeof t}function h(t){return"number"===typeof t}function d(t){return!0===t||!1===t||function(t){return p(t)&&null!==t}(t)&&"[object Boolean]"==v(t)}function p(t){return"object"===typeof t}function m(t){return void 0!==t&&null!==t}function b(t){return!t.trim().length}function v(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}var g=function(t){return"Invalid value for key ".concat(t)},y=function(t){return"Pattern length exceeds max of ".concat(t,".")},w=Object.prototype.hasOwnProperty,x=function(){function t(e){var r=this;Object(c.a)(this,t),this._keys=[],this._keyMap={};var n=0;e.forEach((function(t){var e=O(t);n+=e.weight,r._keys.push(e),r._keyMap[e.id]=e,n+=e.weight})),this._keys.forEach((function(t){t.weight/=n}))}return Object(u.a)(t,[{key:"get",value:function(t){return this._keyMap[t]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),t}();function O(t){var e=null,r=null,n=null,i=1;if(f(t)||l(t))n=t,e=_(t),r=S(t);else{if(!w.call(t,"name"))throw new Error(function(t){return"Missing ".concat(t," property in key")}("name"));var o=t.name;if(n=o,w.call(t,"weight")&&(i=t.weight)<=0)throw new Error(function(t){return"Property 'weight' in key '".concat(t,"' must be a positive integer")}(o));e=_(o),r=S(o)}return{path:e,id:r,weight:i,src:n}}function _(t){return l(t)?t:t.split(".")}function S(t){return l(t)?t.join("."):t}var k={useExtendedSearch:!1,getFn:function(t,e){var r=[],n=!1;return function t(e,i,o){if(m(e))if(i[o]){var a=e[i[o]];if(!m(a))return;if(o===i.length-1&&(f(a)||h(a)||d(a)))r.push(function(t){return null==t?"":function(t){if("string"==typeof t)return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}(a));else if(l(a)){n=!0;for(var s=0,c=a.length;s<c;s+=1)t(a[s],i,o+1)}else i.length&&t(a,i,o+1)}else r.push(e)}(t,f(e)?e.split("."):e,0),n?r:r[0]},ignoreLocation:!1,ignoreFieldNorm:!1},E=Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)({},{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(t,e){return t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1}}),{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1}),{location:0,threshold:.6,distance:100}),k),M=/[^ ]+/g;function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,e=new Map,r=Math.pow(10,t);return{get:function(t){var n=t.match(M).length;if(e.has(n))return e.get(n);var i=1/Math.sqrt(n),o=parseFloat(Math.round(i*r)/r);return e.set(n,o),o},clear:function(){e.clear()}}}var j=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.getFn,n=void 0===r?E.getFn:r;Object(c.a)(this,t),this.norm=C(3),this.getFn=n,this.isCreated=!1,this.setIndexRecords()}return Object(u.a)(t,[{key:"setSources",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=t}},{key:"setIndexRecords",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=t}},{key:"setKeys",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e,this._keysMap={},e.forEach((function(e,r){t._keysMap[e.id]=r}))}},{key:"create",value:function(){var t=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,f(this.docs[0])?this.docs.forEach((function(e,r){t._addString(e,r)})):this.docs.forEach((function(e,r){t._addObject(e,r)})),this.norm.clear())}},{key:"add",value:function(t){var e=this.size();f(t)?this._addString(t,e):this._addObject(t,e)}},{key:"removeAt",value:function(t){this.records.splice(t,1);for(var e=t,r=this.size();e<r;e+=1)this.records[e].i-=1}},{key:"getValueForItemAtKeyId",value:function(t,e){return t[this._keysMap[e]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(t,e){if(m(t)&&!b(t)){var r={v:t,i:e,n:this.norm.get(t)};this.records.push(r)}}},{key:"_addObject",value:function(t,e){var r=this,n={i:e,$:{}};this.keys.forEach((function(e,i){var o=r.getFn(t,e.path);if(m(o))if(l(o))!function(){for(var t=[],e=[{nestedArrIndex:-1,value:o}];e.length;){var a=e.pop(),s=a.nestedArrIndex,c=a.value;if(m(c))if(f(c)&&!b(c)){var u={v:c,i:s,n:r.norm.get(c)};t.push(u)}else l(c)&&c.forEach((function(t,r){e.push({nestedArrIndex:r,value:t})}))}n.$[i]=t}();else if(!b(o)){var a={v:o,n:r.norm.get(o)};n.$[i]=a}})),this.records.push(n)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),t}();function A(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.getFn,i=void 0===n?E.getFn:n,o=new j({getFn:i});return o.setKeys(t.map(O)),o.setSources(e),o.create(),o}function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.errors,n=void 0===r?0:r,i=e.currentLocation,o=void 0===i?0:i,a=e.expectedLocation,s=void 0===a?0:a,c=e.distance,u=void 0===c?E.distance:c,l=e.ignoreLocation,f=void 0===l?E.ignoreLocation:l,h=n/t.length;if(f)return h;var d=Math.abs(s-o);return u?h+d/u:d?1:h}function P(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E.minMatchCharLength,r=[],n=-1,i=-1,o=0,a=t.length;o<a;o+=1){var s=t[o];s&&-1===n?n=o:s||-1===n||((i=o-1)-n+1>=e&&r.push([n,i]),n=-1)}return t[o-1]&&o-n>=e&&r.push([n,o-1]),r}function D(t){for(var e={},r=0,n=t.length;r<n;r+=1){var i=t.charAt(r);e[i]=(e[i]||0)|1<<n-r-1}return e}var R=function(){function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.location,o=void 0===i?E.location:i,a=n.threshold,s=void 0===a?E.threshold:a,u=n.distance,l=void 0===u?E.distance:u,f=n.includeMatches,h=void 0===f?E.includeMatches:f,d=n.findAllMatches,p=void 0===d?E.findAllMatches:d,m=n.minMatchCharLength,b=void 0===m?E.minMatchCharLength:m,v=n.isCaseSensitive,g=void 0===v?E.isCaseSensitive:v,y=n.ignoreLocation,w=void 0===y?E.ignoreLocation:y;if(Object(c.a)(this,t),this.options={location:o,threshold:s,distance:l,includeMatches:h,findAllMatches:p,minMatchCharLength:b,isCaseSensitive:g,ignoreLocation:w},this.pattern=g?e:e.toLowerCase(),this.chunks=[],this.pattern.length){var x=function(t,e){r.chunks.push({pattern:t,alphabet:D(t),startIndex:e})},O=this.pattern.length;if(O>32){for(var _=0,S=O%32,k=O-S;_<k;)x(this.pattern.substr(_,32),_),_+=32;if(S){var M=O-32;x(this.pattern.substr(M),M)}}else x(this.pattern,0)}}return Object(u.a)(t,[{key:"searchIn",value:function(t){var e=this.options,r=e.isCaseSensitive,n=e.includeMatches;if(r||(t=t.toLowerCase()),this.pattern===t){var i={isMatch:!0,score:0};return n&&(i.indices=[[0,t.length-1]]),i}var o=this.options,s=o.location,c=o.distance,u=o.threshold,l=o.findAllMatches,f=o.minMatchCharLength,h=o.ignoreLocation,d=[],p=0,m=!1;this.chunks.forEach((function(e){var r=e.pattern,i=e.alphabet,o=e.startIndex,b=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n.location,o=void 0===i?E.location:i,a=n.distance,s=void 0===a?E.distance:a,c=n.threshold,u=void 0===c?E.threshold:c,l=n.findAllMatches,f=void 0===l?E.findAllMatches:l,h=n.minMatchCharLength,d=void 0===h?E.minMatchCharLength:h,p=n.includeMatches,m=void 0===p?E.includeMatches:p,b=n.ignoreLocation,v=void 0===b?E.ignoreLocation:b;if(e.length>32)throw new Error(y(32));for(var g,w=e.length,x=t.length,O=Math.max(0,Math.min(o,x)),_=u,S=O,k=d>1||m,M=k?Array(x):[];(g=t.indexOf(e,S))>-1;){var C=T(e,{currentLocation:g,expectedLocation:O,distance:s,ignoreLocation:v});if(_=Math.min(C,_),S=g+w,k)for(var j=0;j<w;)M[g+j]=1,j+=1}S=-1;for(var A=[],D=1,R=w+x,L=1<<w-1,I=0;I<w;I+=1){for(var N=0,F=R;N<F;){var B=T(e,{errors:I,currentLocation:O+F,expectedLocation:O,distance:s,ignoreLocation:v});B<=_?N=F:R=F,F=Math.floor((R-N)/2+N)}R=F;var z=Math.max(1,O-F+1),H=f?x:Math.min(O+F,x)+w,U=Array(H+2);U[H+1]=(1<<I)-1;for(var W=H;W>=z;W-=1){var q=W-1,V=r[t.charAt(q)];if(k&&(M[q]=+!!V),U[W]=(U[W+1]<<1|1)&V,I&&(U[W]|=(A[W+1]|A[W])<<1|1|A[W+1]),U[W]&L&&(D=T(e,{errors:I,currentLocation:q,expectedLocation:O,distance:s,ignoreLocation:v}))<=_){if(_=D,(S=q)<=O)break;z=Math.max(1,2*O-S)}}var G=T(e,{errors:I+1,currentLocation:O,expectedLocation:O,distance:s,ignoreLocation:v});if(G>_)break;A=U}var Y={isMatch:S>=0,score:Math.max(.001,D)};if(k){var X=P(M,d);X.length?m&&(Y.indices=X):Y.isMatch=!1}return Y}(t,r,i,{location:s+o,distance:c,threshold:u,findAllMatches:l,minMatchCharLength:f,includeMatches:n,ignoreLocation:h}),v=b.isMatch,g=b.score,w=b.indices;v&&(m=!0),p+=g,v&&w&&(d=[].concat(Object(a.a)(d),Object(a.a)(w)))}));var b={isMatch:m,score:m?p/this.chunks.length:1};return m&&n&&(b.indices=d),b}}]),t}(),L=function(){function t(e){Object(c.a)(this,t),this.pattern=e}return Object(u.a)(t,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(t){return I(t,this.multiRegex)}},{key:"isSingleMatch",value:function(t){return I(t,this.singleRegex)}}]),t}();function I(t,e){var r=t.match(e);return r?r[1]:null}var N=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),r}(L),F=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),r}(L),B=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),r}(L),z=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),r}(L),H=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),r}(L),U=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),r}(L),W=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,a=void 0===o?E.location:o,s=i.threshold,u=void 0===s?E.threshold:s,l=i.distance,f=void 0===l?E.distance:l,h=i.includeMatches,d=void 0===h?E.includeMatches:h,p=i.findAllMatches,m=void 0===p?E.findAllMatches:p,b=i.minMatchCharLength,v=void 0===b?E.minMatchCharLength:b,g=i.isCaseSensitive,y=void 0===g?E.isCaseSensitive:g,w=i.ignoreLocation,x=void 0===w?E.ignoreLocation:w;return Object(c.a)(this,r),(n=e.call(this,t))._bitapSearch=new R(t,{location:a,threshold:u,distance:f,includeMatches:d,findAllMatches:m,minMatchCharLength:v,isCaseSensitive:y,ignoreLocation:x}),n}return Object(u.a)(r,[{key:"search",value:function(t){return this._bitapSearch.searchIn(t)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),r}(L),q=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){for(var e,r=0,n=[],i=this.pattern.length;(e=t.indexOf(this.pattern,r))>-1;)r=e+i,n.push([e,r-1]);var o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),r}(L),V=[N,q,B,z,U,H,F,W],G=V.length,Y=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function X(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.split("|").map((function(t){for(var r=t.trim().split(Y).filter((function(t){return t&&!!t.trim()})),n=[],i=0,o=r.length;i<o;i+=1){for(var a=r[i],s=!1,c=-1;!s&&++c<G;){var u=V[c],l=u.isMultiMatch(a);l&&(n.push(new u(l,e)),s=!0)}if(!s)for(c=-1;++c<G;){var f=V[c],h=f.isSingleMatch(a);if(h){n.push(new f(h,e));break}}}return n}))}var $=new Set([W.type,q.type]),K=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.isCaseSensitive,i=void 0===n?E.isCaseSensitive:n,o=r.includeMatches,a=void 0===o?E.includeMatches:o,s=r.minMatchCharLength,u=void 0===s?E.minMatchCharLength:s,l=r.ignoreLocation,f=void 0===l?E.ignoreLocation:l,h=r.findAllMatches,d=void 0===h?E.findAllMatches:h,p=r.location,m=void 0===p?E.location:p,b=r.threshold,v=void 0===b?E.threshold:b,g=r.distance,y=void 0===g?E.distance:g;Object(c.a)(this,t),this.query=null,this.options={isCaseSensitive:i,includeMatches:a,minMatchCharLength:u,findAllMatches:d,ignoreLocation:f,location:m,threshold:v,distance:y},this.pattern=i?e:e.toLowerCase(),this.query=X(this.pattern,this.options)}return Object(u.a)(t,[{key:"searchIn",value:function(t){var e=this.query;if(!e)return{isMatch:!1,score:1};var r=this.options,n=r.includeMatches;t=r.isCaseSensitive?t:t.toLowerCase();for(var i=0,o=[],s=0,c=0,u=e.length;c<u;c+=1){var l=e[c];o.length=0,i=0;for(var f=0,h=l.length;f<h;f+=1){var d=l[f],p=d.search(t),m=p.isMatch,b=p.indices,v=p.score;if(!m){s=0,i=0,o.length=0;break}if(i+=1,s+=v,n){var g=d.constructor.type;$.has(g)?o=[].concat(Object(a.a)(o),Object(a.a)(b)):o.push(b)}}if(i){var y={isMatch:!0,score:s/i};return n&&(y.indices=o),y}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(t,e){return e.useExtendedSearch}}]),t}(),Z=[];function J(t,e){for(var r=0,n=Z.length;r<n;r+=1){var i=Z[r];if(i.condition(t,e))return new i(t,e)}return new R(t,e)}var Q="$and",tt="$or",et="$path",rt="$val",nt=function(t){return!(!t[Q]&&!t[tt])},it=function(t){return!!t[et]},ot=function(t){return!l(t)&&p(t)&&!nt(t)},at=function(t){return Object(n.a)({},Q,Object.keys(t).map((function(e){return Object(n.a)({},e,t[e])})))};function st(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.auto,i=void 0===n||n,o=function t(r){var n=Object.keys(r),o=it(r);if(!o&&n.length>1&&!nt(r))return t(at(r));if(ot(r)){var a=o?r[et]:n[0],s=o?r[rt]:r[a];if(!f(s))throw new Error(g(a));var c={keyId:S(a),pattern:s};return i&&(c.searcher=J(s,e)),c}var u={children:[],operator:n[0]};return n.forEach((function(e){var n=r[e];l(n)&&n.forEach((function(e){u.children.push(t(e))}))})),u};return nt(t)||(t=at(t)),o(t)}function ct(t,e){var r=e.ignoreFieldNorm,n=void 0===r?E.ignoreFieldNorm:r;t.forEach((function(t){var e=1;t.matches.forEach((function(t){var r=t.key,i=t.norm,o=t.score,a=r?r.weight:null;e*=Math.pow(0===o&&a?Number.EPSILON:o,(a||1)*(n?1:i))})),t.score=e}))}function ut(t,e){var r=t.matches;e.matches=[],m(r)&&r.forEach((function(t){if(m(t.indices)&&t.indices.length){var r={indices:t.indices,value:t.value};t.key&&(r.key=t.key.src),t.idx>-1&&(r.refIndex=t.idx),e.matches.push(r)}}))}function lt(t,e){e.score=t.score}function ft(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.includeMatches,i=void 0===n?E.includeMatches:n,o=r.includeScore,a=void 0===o?E.includeScore:o,s=[];return i&&s.push(ut),a&&s.push(lt),t.map((function(t){var r=t.idx,n={item:e[r],refIndex:r};return s.length&&s.forEach((function(e){e(t,n)})),n}))}var ht=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;Object(c.a)(this,t),this.options=Object(s.a)(Object(s.a)({},E),r),this.options.useExtendedSearch,this._keyStore=new x(this.options.keys),this.setCollection(e,n)}return Object(u.a)(t,[{key:"setCollection",value:function(t,e){if(this._docs=t,e&&!(e instanceof j))throw new Error("Incorrect 'index' type");this._myIndex=e||A(this.options.keys,this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(t){m(t)&&(this._docs.push(t),this._myIndex.add(t))}},{key:"remove",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},e=[],r=0,n=this._docs.length;r<n;r+=1){var i=this._docs[r];t(i,r)&&(this.removeAt(r),r-=1,n-=1,e.push(i))}return e}},{key:"removeAt",value:function(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.limit,n=void 0===r?-1:r,i=this.options,o=i.includeMatches,a=i.includeScore,s=i.shouldSort,c=i.sortFn,u=i.ignoreFieldNorm,l=f(t)?f(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return ct(l,{ignoreFieldNorm:u}),s&&l.sort(c),h(n)&&n>-1&&(l=l.slice(0,n)),ft(l,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(t){var e=J(t,this.options),r=this._myIndex.records,n=[];return r.forEach((function(t){var r=t.v,i=t.i,o=t.n;if(m(r)){var a=e.searchIn(r),s=a.isMatch,c=a.score,u=a.indices;s&&n.push({item:r,idx:i,matches:[{score:c,value:r,norm:o,indices:u}]})}})),n}},{key:"_searchLogical",value:function(t){var e=this,r=st(t,this.options),n=this._myIndex.records,i={},o=[];return n.forEach((function(t){var n=t.$,s=t.i;if(m(n)){var c=function t(r,n,i){if(!r.children){var o=r.keyId,s=r.searcher,c=e._findMatches({key:e._keyStore.get(o),value:e._myIndex.getValueForItemAtKeyId(n,o),searcher:s});return c&&c.length?[{idx:i,item:n,matches:c}]:[]}switch(r.operator){case Q:for(var u=[],l=0,f=r.children.length;l<f;l+=1){var h=t(r.children[l],n,i);if(!h.length)return[];u.push.apply(u,Object(a.a)(h))}return u;case tt:for(var d=[],p=0,m=r.children.length;p<m;p+=1){var b=t(r.children[p],n,i);if(b.length){d.push.apply(d,Object(a.a)(b));break}}return d}}(r,n,s);c.length&&(i[s]||(i[s]={idx:s,item:n,matches:[]},o.push(i[s])),c.forEach((function(t){var e,r=t.matches;(e=i[s].matches).push.apply(e,Object(a.a)(r))})))}})),o}},{key:"_searchObjectList",value:function(t){var e=this,r=J(t,this.options),n=this._myIndex,i=n.keys,o=n.records,s=[];return o.forEach((function(t){var n=t.$,o=t.i;if(m(n)){var c=[];i.forEach((function(t,i){c.push.apply(c,Object(a.a)(e._findMatches({key:t,value:n[i],searcher:r})))})),c.length&&s.push({idx:o,item:n,matches:c})}})),s}},{key:"_findMatches",value:function(t){var e=t.key,r=t.value,n=t.searcher;if(!m(r))return[];var i=[];if(l(r))r.forEach((function(t){var r=t.v,o=t.i,a=t.n;if(m(r)){var s=n.searchIn(r),c=s.isMatch,u=s.score,l=s.indices;c&&i.push({score:u,key:e,value:r,idx:o,norm:a,indices:l})}}));else{var o=r.v,a=r.n,s=n.searchIn(o),c=s.isMatch,u=s.score,f=s.indices;c&&i.push({score:u,key:e,value:o,norm:a,indices:f})}return i}}]),t}();ht.version="6.4.6",ht.createIndex=A,ht.parseIndex=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.getFn,n=void 0===r?E.getFn:r,i=t.keys,o=t.records,a=new j({getFn:n});return a.setKeys(i),a.setIndexRecords(o),a},ht.config=E,ht.parseQuery=st,function(){Z.push.apply(Z,arguments)}(K),e.default=ht},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultFuseOptions=e.defaultTheme=void 0;e.defaultTheme={height:"44px",border:"1px solid #dfe1e5",borderRadius:"24px",backgroundColor:"white",boxShadow:"rgba(32, 33, 36, 0.28) 0px 1px 6px 0px",hoverBackgroundColor:"#eee",color:"#212121",fontSize:"16px",fontFamily:"Arial",iconColor:"grey",lineColor:"rgb(232, 234, 237)",placeholderColor:"grey",zIndex:0,clearIconMargin:"3px 14px 0 0",searchIconMargin:"0 0 0 16px"};e.defaultFuseOptions={shouldSort:!0,threshold:.6,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["name"]}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var n,i=c(r(0)),o=c(r(10)),a=r(796),s=c(r(403));function c(t){return t&&t.__esModule?t:{default:t}}function u(t){var e=t.results,r=t.onClick,n=t.setSearchString,o=t.showIcon,s=t.maxResults,c=t.resultStringKeyName,u=t.onHover,l=t.formatResult,f=function(t){r(t),n(t[c])};return 0>=(null===e||void 0===e?void 0:e.length)?null:i.default.createElement(h,null,i.default.createElement("div",{className:"line"}),i.default.createElement("ul",null,e.slice(0,s).map((function(t){return i.default.createElement("li",{onMouseEnter:function(){return u(t)},"data-test":"result",key:"rsa-result-".concat(t.id),onMouseDown:function(){return f(t)},onClick:function(){return f(t)}},i.default.createElement(a.SearchIcon,{showIcon:o}),i.default.createElement("div",{className:"ellipsis",title:t[c]},l(t[c])))}))))}u.defaultProps={results:[],setDisplayString:function(){},resultStringKeyName:"name",formatResult:function(t){return t}},u.propTypes={results:o.default.array,onClick:o.default.func,setSearchString:o.default.func,showIcon:o.default.bool,maxResults:o.default.number,resultStringKeyName:o.default.string,formatResult:o.default.func};var l,f,h=s.default.div(n||(l=["\n  > div.line {\n    border-top-color: ",";\n    border-top-style: solid;\n    border-top-width: 1px;\n\n    margin-bottom: 0px;\n    margin-left: 14px;\n    margin-right: 20px;\n    margin-top: 0px;\n\n    padding-bottom: 4px;\n  }\n\n  > ul {\n    list-style-type: none;\n    margin: 0;\n    padding: 0px 0 16px 0;\n    max-height: ",";\n\n    > li {\n      display: flex;\n      align-items: center;\n      padding: 4px 0 4px 0;\n\n      &:hover {\n        background-color: ",";\n        cursor: default;\n      }\n\n      > div {\n        margin-left: 13px;\n      }\n    }\n  }\n  .ellipsis {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n  }\n"],f||(f=l.slice(0)),n=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(f)}}))),(function(t){return t.theme.lineColor}),(function(t){return t.theme.maxHeight}),(function(t){return t.theme.hoverBackgroundColor}))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var i,o=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var e=f();if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,e&&e.set(t,r),r}(r(0)),a=l(r(10)),s=r(796),c=l(r(403)),u=r(1221);function l(t){return t&&t.__esModule?t:{default:t}}function f(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return f=function(){return t},t}function h(t){var e=t.searchString,r=t.setSearchString,n=t.autoFocus,i=t.onBlur,a=t.onFocus,c=t.onClear,l=t.placeholder,f=t.showIcon,h=t.showClear,d=(0,o.useRef)(),p=!0;return o.default.createElement(m,null,o.default.createElement(s.SearchIcon,{showIcon:f}),o.default.createElement("input",{ref:d,spellCheck:!1,value:e,onChange:r,onBlur:i,onFocus:function(){p&&a()},placeholder:l,autoFocus:n}),o.default.createElement(u.ClearIcon,{showClear:h,setSearchString:r,searchString:e,onClear:c,setFocus:function(){p=!1,d.current.focus(),p=!0}}))}h.defaultProps={showIcon:!0,showClear:!0},h.propTypes={searchString:a.default.string.isRequired,setSearchString:a.default.func.isRequired,autoFocus:a.default.bool,onBlur:a.default.func.isRequired,onFocus:a.default.func,onClear:a.default.func,placeholder:a.default.string,showIcon:a.default.bool,showClear:a.default.bool};var d,p,m=c.default.div(i||(d=["\n  min-height: ",";\n  width: 100%;\n\n  display: flex;\n  align-items: center;\n\n  > input {\n    width: 100%;\n\n    padding: 0 0 0 13px;\n\n    border: none;\n    outline: none;\n\n    background-color: rgba(0, 0, 0, 0);\n    font-size: inherit;\n    font-family: inherit;\n\n    color: ",";\n\n    ::placeholder {\n      /* Chrome, Firefox, Opera, Safari 10.1+ */\n      color: ",";\n      opacity: 1; /* Firefox */\n    }\n\n    :-ms-input-placeholder {\n      /* Internet Explorer 10-11 */\n      color: ",";\n    }\n\n    ::-ms-input-placeholder {\n      /* Microsoft Edge */\n      color: ",";\n    }\n  }\n"],p||(p=d.slice(0)),i=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(p)}}))),(function(t){return t.theme.height}),(function(t){return t.theme.color}),(function(t){return t.theme.placeholderColor}),(function(t){return t.theme.placeholderColor}),(function(t){return t.theme.placeholderColor}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClearIcon=void 0;var n,i=s(r(0)),o=s(r(10)),a=s(r(403));function s(t){return t&&t.__esModule?t:{default:t}}var c=function(t){var e=t.showClear,r=t.setSearchString,n=t.searchString,o=t.setFocus,a=t.onClear;return e?0>=n.length?null:i.default.createElement(f,{className:"clear-icon",onClick:function(){r({target:{value:""}}),o(),a()}},i.default.createElement("svg",{width:20,height:20,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.58 12 5 17.58 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))):null};e.ClearIcon=c;var u,l,f=a.default.div(n||(u=["\n  margin: ",";\n\n  &:hover {\n    cursor: pointer;\n  }\n\n  > svg {\n    fill: ",";\n  }\n"],l||(l=u.slice(0)),n=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(l)}}))),(function(t){return t.theme.clearIconMargin}),(function(t){return t.theme.iconColor}));c.propTypes={searchString:o.default.string.isRequired,setSearchString:o.default.func.isRequired,setFocus:o.default.func,showClear:o.default.bool,onClear:o.default.func,onSearch:o.default.func}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=function(t,e,r){var n;return function(){var i=this,o=arguments;r&&!n&&t.apply(i,o),clearTimeout(n),n=setTimeout((function(){n=null,r||t.apply(i,o)}),e)}},e.isCached=void 0;e.isCached=function(t){t=t.toLowerCase();var e=JSON.parse(sessionStorage.getItem(t.toLowerCase()));return e||[]}},function(t,e,r){var n,i,o;i=[e,r(0),r(76),r(1224),r(1226)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=void 0;var o=s(e),a=(s(r),s(i));function s(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=function(t){return JSON.stringify(t)},l=function(t){var e=(t=t||{}).apiKey,r=t.libraries||["places"],i=t.version||"3",o=t.language||"en",s=t.url,c=t.client,u=t.region;return(0,n.ScriptCache)({google:(0,a.default)({apiKey:e,language:o,libraries:r,version:i,url:s,client:c,region:u})})},f=function(t){return o.default.createElement("div",null,"Loading...")},h=t.wrapper=function(t){return function(e){return function(r){function n(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,r)),a="function"===typeof t?t(e):t;return i.initialize(a),i.state={loaded:!1,map:null,google:null,options:a},i.mapRef=o.default.createRef(),i}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,r),c(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){if("function"===typeof t){var r,n,i=this.state.options,o="function"===typeof t?t(e):t;(r=o)!==(n=i)&&u(r)!==u(n)&&(this.initialize(o),this.setState({options:o,loaded:!1,google:null}))}}},{key:"componentWillUnmount",value:function(){this.unregisterLoadHandler&&this.unregisterLoadHandler()}},{key:"initialize",value:function(t){this.unregisterLoadHandler&&(this.unregisterLoadHandler(),this.unregisterLoadHandler=null);var e=t.createCache||l;this.scriptCache=e(t),this.unregisterLoadHandler=this.scriptCache.google.onLoad(this.onLoad.bind(this)),this.LoadingContainer=t.LoadingContainer||f}},{key:"onLoad",value:function(t,e){this._gapi=window.google,this.setState({loaded:!0,google:this._gapi})}},{key:"render",value:function(){var t=this.LoadingContainer;if(!this.state.loaded)return o.default.createElement(t,null);var r=Object.assign({},this.props,{loaded:this.state.loaded,google:window.google});return o.default.createElement("div",null,o.default.createElement(e,r),o.default.createElement("div",{ref:this.mapRef}))}}]),n}(o.default.Component)}};t.default=h})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(1225)],void 0===(o="function"===typeof(n=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=0,n="undefined"!==typeof e&&e._scriptMap||new Map,i=t.ScriptCache=function(t){return t._scriptMap=t._scriptMap||n,function(i){var o={_onLoad:function(t){return function(e){var r=!0,i=n.get(t);return i&&i.promise.then((function(){return r&&(i.error?e(i.error):e(null,i)),i})).catch((function(t){return e(t)})),function(){r=!1}}},_scriptTag:function(i,o){if(!n.has(i)){if("undefined"===typeof document)return null;var a=document.createElement("script"),s={loaded:!1,error:!1,promise:new Promise((function(s,c){var u=document.getElementsByTagName("body")[0];a.type="text/javascript",a.async=!1;var l="loaderCB"+r+++Date.now(),f=function(t){return function(e){var r=n.get(i);"loaded"===t?(r.resolved=!0,s(o)):"error"===t&&(r.errored=!0,c(e)),r.loaded=!0,h()}},h=function(){t[l]&&"function"===typeof t[l]&&(t[l]=null,delete t[l])};return a.onload=f("loaded"),a.onerror=f("error"),a.onreadystatechange=function(){f(a.readyState)},o.match(/callback=CALLBACK_NAME/)?(o=o.replace(/(callback=)[^\&]+/,"$1"+l),e[l]=a.onload):a.addEventListener("load",a.onload),a.addEventListener("error",a.onerror),a.src=o,u.appendChild(a),a})),tag:a};n.set(i,s)}return n.get(i).tag}};return Object.keys(i).forEach((function(t){var r=i[t],n=e._scriptMap.has(t)?e._scriptMap.get(t).tag:o._scriptTag(t,r);o[t]={tag:n,onLoad:o._onLoad(t)}})),o}}(e);t.default=i})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){(function(r){var n,i,o,a;a=function(t){"use strict";var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports="object"===("undefined"===typeof self?"undefined":e(self))&&self.self===self&&self||"object"===("undefined"===typeof r?"undefined":e(r))&&r.global===r&&r||void 0},i=[t],void 0===(o="function"===typeof(n=a)?n.apply(e,i):n)||(t.exports=o)}).call(this,r(120))},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=t.GoogleApi=function(t){if(!(t=t||{}).hasOwnProperty("apiKey"))throw new Error("You must pass an apiKey to use GoogleApi");var e=t.apiKey,r=t.libraries||["places"],n=t.client,i=t.url||"https://maps.googleapis.com/maps/api/js",o=t.version||"3.31",a=("undefined"!==typeof window&&window.google,t.language),s=t.region||null;return function(){var t=i,c={key:e,callback:"CALLBACK_NAME",libraries:r.join(","),client:n,v:o,channel:null,language:a,region:s,onerror:"ERROR_FUNCTION"};return t+"?"+Object.keys(c).filter((function(t){return!!c[t]})).map((function(t){return t+"="+c[t]})).join("&")}()};t.default=e})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var i=a(e),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var f=["click","dblclick","dragend","mousedown","mouseout","mouseover","mouseup","recenter"],h=t.Marker=function(t){function e(){return c(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),u(e,[{key:"componentDidMount",value:function(){this.markerPromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderMarker()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&this.props.position===t.position&&this.props.icon===t.icon||(this.marker&&this.marker.setMap(null),this.renderMarker())}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.setMap(null)}},{key:"renderMarker",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.position,o=e.mapCenter,a=e.icon,c=e.label,u=e.draggable,l=e.title,h=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","position","mapCenter","icon","label","draggable","title"]);if(!n)return null;var d=i||o;d instanceof n.maps.LatLng||(d=new n.maps.LatLng(d.lat,d.lng));var p=s({map:r,position:d,icon:a,label:c,title:l,draggable:u},h);this.marker=new n.maps.Marker(p),f.forEach((function(e){t.marker.addListener(e,t.handleEvent(e))})),this.markerPromise.resolve(this.marker)}},{key:"getMarker",value:function(){return this.markerPromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var i="on"+(0,n.camelize)(t);e.props[i]&&e.props[i](e.props,e.marker,r)}}},{key:"render",value:function(){return null}}]),e}(i.default.Component);h.propTypes={position:o.default.object,map:o.default.object},f.forEach((function(t){return h.propTypes[t]=o.default.func})),h.defaultProps={name:"Marker"},t.default=h})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(76),r(1229)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InfoWindow=void 0;var o=c(e),a=c(r),s=(c(n),c(i));function c(t){return t&&t.__esModule?t:{default:t}}var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var d=t.InfoWindow=function(t){function e(){return l(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),f(e,[{key:"componentDidMount",value:function(){this.renderInfoWindow()}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.google,n=e.map;r&&n&&(n!==t.map&&this.renderInfoWindow(),this.props.position!==t.position&&this.updatePosition(),this.props.children!==t.children&&this.updateContent(),this.props.visible===t.visible&&this.props.marker===t.marker&&this.props.position===t.position||(this.props.visible?this.openWindow():this.closeWindow()))}},{key:"renderInfoWindow",value:function(){var t=this.props,e=(t.map,t.google),r=(t.mapCenter,function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(t,["map","google","mapCenter"]));if(e&&e.maps){var n=this.infowindow=new e.maps.InfoWindow(u({content:""},r));e.maps.event.addListener(n,"closeclick",this.onClose.bind(this)),e.maps.event.addListener(n,"domready",this.onOpen.bind(this))}}},{key:"onOpen",value:function(){this.props.onOpen&&this.props.onOpen()}},{key:"onClose",value:function(){this.props.onClose&&this.props.onClose()}},{key:"openWindow",value:function(){this.infowindow.open(this.props.map,this.props.marker)}},{key:"updatePosition",value:function(){var t=this.props.position;t instanceof google.maps.LatLng||(t=t&&new google.maps.LatLng(t.lat,t.lng)),this.infowindow.setPosition(t)}},{key:"updateContent",value:function(){var t=this.renderChildren();this.infowindow.setContent(t)}},{key:"closeWindow",value:function(){this.infowindow.close()}},{key:"renderChildren",value:function(){var t=this.props.children;return s.default.renderToString(t)}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={children:a.default.element.isRequired,map:a.default.object,marker:a.default.object,position:a.default.object,visible:a.default.bool,onClose:a.default.func,onOpen:a.default.func},d.defaultProps={visible:!1},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){"use strict";t.exports=r(1230)},function(t,e,r){"use strict";var n=r(355),i=r(0);function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.portal"):60106,c=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,l=a?Symbol.for("react.profiler"):60114,f=a?Symbol.for("react.provider"):60109,h=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.concurrent_mode"):60111,p=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,b=a?Symbol.for("react.suspense_list"):60120,v=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,y=a?Symbol.for("react.block"):60121,w=a?Symbol.for("react.fundamental"):60117,x=a?Symbol.for("react.scope"):60119;function O(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case c:return"Fragment";case s:return"Portal";case l:return"Profiler";case u:return"StrictMode";case m:return"Suspense";case b:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case h:return"Context.Consumer";case f:return"Context.Provider";case p:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case v:return O(t.type);case y:return O(t.render);case g:if(t=1===t._status?t._result:null)return O(t)}return null}var _=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;_.hasOwnProperty("ReactCurrentDispatcher")||(_.ReactCurrentDispatcher={current:null}),_.hasOwnProperty("ReactCurrentBatchConfig")||(_.ReactCurrentBatchConfig={suspense:null});var S={};function k(t,e){for(var r=0|t._threadCount;r<=e;r++)t[r]=t._currentValue2,t._threadCount=r+1}for(var E=new Uint16Array(16),M=0;15>M;M++)E[M]=M+1;E[15]=0;var C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,j=Object.prototype.hasOwnProperty,A={},T={};function P(t){return!!j.call(T,t)||!j.call(A,t)&&(C.test(t)?T[t]=!0:(A[t]=!0,!1))}function D(t,e,r,n,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){R[t]=new D(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];R[e]=new D(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){R[t]=new D(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){R[t]=new D(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){R[t]=new D(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){R[t]=new D(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){R[t]=new D(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){R[t]=new D(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){R[t]=new D(t,5,!1,t.toLowerCase(),null,!1)}));var L=/[\-:]([a-z])/g;function I(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(L,I);R[e]=new D(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(L,I);R[e]=new D(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(L,I);R[e]=new D(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){R[t]=new D(t,1,!1,t.toLowerCase(),null,!1)})),R.xlinkHref=new D("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){R[t]=new D(t,1,!1,t.toLowerCase(),null,!0)}));var N=/["'&<>]/;function F(t){if("boolean"===typeof t||"number"===typeof t)return""+t;t=""+t;var e=N.exec(t);if(e){var r,n="",i=0;for(r=e.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:e="&quot;";break;case 38:e="&amp;";break;case 39:e="&#x27;";break;case 60:e="&lt;";break;case 62:e="&gt;";break;default:continue}i!==r&&(n+=t.substring(i,r)),i=r+1,n+=e}t=i!==r?n+t.substring(i,r):n}return t}function B(t,e){var r,n=R.hasOwnProperty(t)?R[t]:null;return(r="style"!==t)&&(r=null!==n?0===n.type:2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])),r||function(t,e,r,n){if(null===e||"undefined"===typeof e||function(t,e,r,n){if(null!==r&&0===r.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(t,e,n,!1)?"":null!==n?(t=n.attributeName,3===(r=n.type)||4===r&&!0===e?t+'=""':(n.sanitizeURL&&(e=""+e),t+'="'+F(e)+'"')):P(t)?t+'="'+F(e)+'"':""}var z="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},H=null,U=null,W=null,q=!1,V=!1,G=null,Y=0;function X(){if(null===H)throw Error(o(321));return H}function $(){if(0<Y)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function K(){return null===W?null===U?(q=!1,U=W=$()):(q=!0,W=U):null===W.next?(q=!1,W=W.next=$()):(q=!0,W=W.next),W}function Z(t,e,r,n){for(;V;)V=!1,Y+=1,W=null,r=t(e,n);return U=H=null,Y=0,W=G=null,r}function J(t,e){return"function"===typeof e?e(t):e}function Q(t,e,r){if(H=X(),W=K(),q){var n=W.queue;if(e=n.dispatch,null!==G&&void 0!==(r=G.get(n))){G.delete(n),n=W.memoizedState;do{n=t(n,r.action),r=r.next}while(null!==r);return W.memoizedState=n,[n,e]}return[W.memoizedState,e]}return t=t===J?"function"===typeof e?e():e:void 0!==r?r(e):e,W.memoizedState=t,t=(t=W.queue={last:null,dispatch:null}).dispatch=tt.bind(null,H,t),[W.memoizedState,t]}function tt(t,e,r){if(!(25>Y))throw Error(o(301));if(t===H)if(V=!0,t={action:r,next:null},null===G&&(G=new Map),void 0===(r=G.get(e)))G.set(e,t);else{for(e=r;null!==e.next;)e=e.next;e.next=t}}function et(){}var rt=0,nt={readContext:function(t){var e=rt;return k(t,e),t[e]},useContext:function(t){X();var e=rt;return k(t,e),t[e]},useMemo:function(t,e){if(H=X(),e=void 0===e?null:e,null!==(W=K())){var r=W.memoizedState;if(null!==r&&null!==e){t:{var n=r[1];if(null===n)n=!1;else{for(var i=0;i<n.length&&i<e.length;i++)if(!z(e[i],n[i])){n=!1;break t}n=!0}}if(n)return r[0]}}return t=t(),W.memoizedState=[t,e],t},useReducer:Q,useRef:function(t){H=X();var e=(W=K()).memoizedState;return null===e?(t={current:t},W.memoizedState=t):e},useState:function(t){return Q(J,t)},useLayoutEffect:function(){},useCallback:function(t){return t},useImperativeHandle:et,useEffect:et,useDebugValue:et,useResponder:function(t,e){return{props:e,responder:t}},useDeferredValue:function(t){return X(),t},useTransition:function(){return X(),[function(t){t()},!1]}},it="http://www.w3.org/1999/xhtml";function ot(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var at={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},st=n({menuitem:!0},at),ct={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ut=["Webkit","ms","Moz","O"];Object.keys(ct).forEach((function(t){ut.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ct[e]=ct[t]}))}));var lt=/([A-Z])/g,ft=/^ms-/,ht=i.Children.toArray,dt=_.ReactCurrentDispatcher,pt={listing:!0,pre:!0,textarea:!0},mt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,bt={},vt={};var gt=Object.prototype.hasOwnProperty,yt={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function wt(t,e){if(void 0===t)throw Error(o(152,O(e)||"Component"))}function xt(t,e,r){function a(i,a){var s=a.prototype&&a.prototype.isReactComponent,c=function(t,e,r,n){if(n&&("object"===typeof(n=t.contextType)&&null!==n))return k(n,r),n[r];if(t=t.contextTypes){for(var i in r={},t)r[i]=e[i];e=r}else e=S;return e}(a,e,r,s),u=[],l=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===u)return null},enqueueReplaceState:function(t,e){l=!0,u=[e]},enqueueSetState:function(t,e){if(null===u)return null;u.push(e)}};if(s){if(s=new a(i.props,c,f),"function"===typeof a.getDerivedStateFromProps){var h=a.getDerivedStateFromProps.call(null,i.props,s.state);null!=h&&(s.state=n({},s.state,h))}}else if(H={},s=a(i.props,c,f),null==(s=Z(a,i.props,s,c))||null==s.render)return void wt(t=s,a);if(s.props=i.props,s.context=c,s.updater=f,void 0===(f=s.state)&&(s.state=f=null),"function"===typeof s.UNSAFE_componentWillMount||"function"===typeof s.componentWillMount)if("function"===typeof s.componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),u.length){f=u;var d=l;if(u=null,l=!1,d&&1===f.length)s.state=f[0];else{h=d?f[0]:s.state;var p=!0;for(d=d?1:0;d<f.length;d++){var m=f[d];null!=(m="function"===typeof m?m.call(s,h,i.props,c):m)&&(p?(p=!1,h=n({},h,m)):n(h,m))}s.state=h}}else u=null;if(wt(t=s.render(),a),"function"===typeof s.getChildContext&&"object"===typeof(i=a.childContextTypes)){var b=s.getChildContext();for(var v in b)if(!(v in i))throw Error(o(108,O(a)||"Unknown",v))}b&&(e=n({},e,b))}for(;i.isValidElement(t);){var s=t,c=s.type;if("function"!==typeof c)break;a(s,c)}return{child:t,context:e}}var Ot=function(){function t(t,e){i.isValidElement(t)?t.type!==c?t=[t]:(t=t.props.children,t=i.isValidElement(t)?[t]:ht(t)):t=ht(t),t={type:null,domNamespace:it,children:t,childIndex:0,context:S,footer:""};var r=E[0];if(0===r){var n=E,a=2*(r=n.length);if(!(65536>=a))throw Error(o(304));var s=new Uint16Array(a);for(s.set(n),(E=s)[0]=r+1,n=r;n<a-1;n++)E[n]=n+1;E[a-1]=0}else E[0]=E[r];this.threadID=r,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=e,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var e=t.prototype;return e.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;E[t]=E[0],E[0]=t}},e.pushProvider=function(t){var e=++this.contextIndex,r=t.type._context,n=this.threadID;k(r,n);var i=r[n];this.contextStack[e]=r,this.contextValueStack[e]=i,r[n]=t.props.value},e.popProvider=function(){var t=this.contextIndex,e=this.contextStack[t],r=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,e[this.threadID]=r},e.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},e.read=function(t){if(this.exhausted)return null;var e=rt;rt=this.threadID;var r=dt.current;dt.current=nt;try{for(var n=[""],i=!1;n[0].length<t;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;E[a]=E[0],E[0]=a;break}var s=this.stack[this.stack.length-1];if(i||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===f)this.popProvider(s.type);else if(s.type===m){this.suspenseDepth--;var u=n.pop();if(i){i=!1;var l=s.fallbackFrame;if(!l)throw Error(o(303));this.stack.push(l),n[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}n[this.suspenseDepth]+=u}n[this.suspenseDepth]+=c}else{var h=s.children[s.childIndex++],d="";try{d+=this.render(h,s.context,s.domNamespace)}catch(p){if(null!=p&&"function"===typeof p.then)throw Error(o(294));throw p}n.length<=this.suspenseDepth&&n.push(""),n[this.suspenseDepth]+=d}}return n[0]}finally{dt.current=r,rt=e}},e.render=function(t,e,r){if("string"===typeof t||"number"===typeof t)return""===(r=""+t)?"":this.makeStaticMarkup?F(r):this.previousWasTextNode?"\x3c!-- --\x3e"+F(r):(this.previousWasTextNode=!0,F(r));if(t=(e=xt(t,e,this.threadID)).child,e=e.context,null===t||!1===t)return"";if(!i.isValidElement(t)){if(null!=t&&null!=t.$$typeof){if((r=t.$$typeof)===s)throw Error(o(257));throw Error(o(258,r.toString()))}return t=ht(t),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),""}var a=t.type;if("string"===typeof a)return this.renderDOM(t,e,r);switch(a){case u:case d:case l:case b:case c:return t=ht(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),"";case m:throw Error(o(294))}if("object"===typeof a&&null!==a)switch(a.$$typeof){case p:H={};var y=a.render(t.props,t.ref);return y=Z(a.render,t.props,y,t.ref),y=ht(y),this.stack.push({type:null,domNamespace:r,children:y,childIndex:0,context:e,footer:""}),"";case v:return t=[i.createElement(a.type,n({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),"";case f:return r={type:t,domNamespace:r,children:a=ht(t.props.children),childIndex:0,context:e,footer:""},this.pushProvider(t),this.stack.push(r),"";case h:a=t.type,y=t.props;var O=this.threadID;return k(a,O),a=ht(y.children(a[O])),this.stack.push({type:t,domNamespace:r,children:a,childIndex:0,context:e,footer:""}),"";case w:throw Error(o(338));case g:switch(function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(a=t.type),a._status){case 1:return t=[i.createElement(a._result,n({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),"";case 2:throw a._result;default:throw Error(o(295))}case x:throw Error(o(343))}throw Error(o(130,null==a?a:typeof a,""))},e.renderDOM=function(t,e,r){var a=t.type.toLowerCase();if(r===it&&ot(a),!bt.hasOwnProperty(a)){if(!mt.test(a))throw Error(o(65,a));bt[a]=!0}var s=t.props;if("input"===a)s=n({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var c=s.value;if(null==c){c=s.defaultValue;var u=s.children;if(null!=u){if(null!=c)throw Error(o(92));if(Array.isArray(u)){if(!(1>=u.length))throw Error(o(93));u=u[0]}c=""+u}null==c&&(c="")}s=n({},s,{value:void 0,children:""+c})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=n({},s,{value:void 0});else if("option"===a){u=this.currentSelectValue;var l=function(t){if(void 0===t||null===t)return t;var e="";return i.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(s.children);if(null!=u){var f=null!=s.value?s.value+"":l;if(c=!1,Array.isArray(u)){for(var h=0;h<u.length;h++)if(""+u[h]===f){c=!0;break}}else c=""+u===f;s=n({selected:void 0,children:void 0},s,{selected:c,children:l})}}if(c=s){if(st[a]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(o(137,a,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(o(60));if("object"!==typeof c.dangerouslySetInnerHTML||!("__html"in c.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=c.style&&"object"!==typeof c.style)throw Error(o(62,""))}for(w in c=s,u=this.makeStaticMarkup,l=1===this.stack.length,f="<"+t.type,c)if(gt.call(c,w)){var d=c[w];if(null!=d){if("style"===w){h=void 0;var p="",m="";for(h in d)if(d.hasOwnProperty(h)){var b=0===h.indexOf("--"),v=d[h];if(null!=v){if(b)var g=h;else if(g=h,vt.hasOwnProperty(g))g=vt[g];else{var y=g.replace(lt,"-$1").toLowerCase().replace(ft,"-ms-");g=vt[g]=y}p+=m+g+":",m=h,p+=b=null==v||"boolean"===typeof v||""===v?"":b||"number"!==typeof v||0===v||ct.hasOwnProperty(m)&&ct[m]?(""+v).trim():v+"px",m=";"}}d=p||null}h=null;t:if(b=a,v=c,-1===b.indexOf("-"))b="string"===typeof v.is;else switch(b){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":b=!1;break t;default:b=!0}b?yt.hasOwnProperty(w)||(h=P(h=w)&&null!=d?h+'="'+F(d)+'"':""):h=B(w,d),h&&(f+=" "+h)}}u||l&&(f+=' data-reactroot=""');var w=f;c="",at.hasOwnProperty(a)?w+="/>":(w+=">",c="</"+t.type+">");t:{if(null!=(u=s.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break t}}else if("string"===typeof(u=s.children)||"number"===typeof u){u=F(u);break t}u=null}return null!=u?(s=[],pt.hasOwnProperty(a)&&"\n"===u.charAt(0)&&(w+="\n"),w+=u):s=ht(s.children),t=t.type,r=null==r||"http://www.w3.org/1999/xhtml"===r?ot(t):"http://www.w3.org/2000/svg"===r&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":r,this.stack.push({domNamespace:r,type:a,children:s,childIndex:0,context:e,footer:c}),this.previousWasTextNode=!1,w},t}(),_t={renderToString:function(t){t=new Ot(t,!1);try{return t.read(1/0)}finally{t.destroy()}},renderToStaticMarkup:function(t){t=new Ot(t,!0);try{return t.read(1/0)}finally{t.destroy()}},renderToNodeStream:function(){throw Error(o(207))},renderToStaticNodeStream:function(){throw Error(o(208))},version:"16.14.0"};t.exports=_t.default||_t},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeatMap=void 0;var i=a(e),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var f=["click","mouseover","recenter"],h=t.HeatMap=function(t){function e(){return c(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),u(e,[{key:"componentDidMount",value:function(){this.heatMapPromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderHeatMap()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&this.props.position===t.position||this.heatMap&&(this.heatMap.setMap(null),this.renderHeatMap())}},{key:"componentWillUnmount",value:function(){this.heatMap&&this.heatMap.setMap(null)}},{key:"renderHeatMap",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.positions,o=(e.mapCenter,e.icon,e.gradient),a=e.radius,c=void 0===a?20:a,u=e.opacity,l=void 0===u?.2:u,h=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","positions","mapCenter","icon","gradient","radius","opacity"]);if(!n)return null;var d=i.map((function(t){return{location:new n.maps.LatLng(t.lat,t.lng),weight:t.weight}})),p=s({map:r,gradient:o,radius:c,opacity:l,data:d},h);this.heatMap=new n.maps.visualization.HeatmapLayer(p),this.heatMap.set("radius",void 0===c?20:c),this.heatMap.set("opacity",void 0===l?.2:l),f.forEach((function(e){t.heatMap.addListener(e,t.handleEvent(e))})),this.heatMapPromise.resolve(this.heatMap)}},{key:"getHeatMap",value:function(){return this.heatMapPromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var i="on"+(0,n.camelize)(t);e.props[i]&&e.props[i](e.props,e.heatMap,r)}}},{key:"render",value:function(){return null}}]),e}(i.default.Component);h.propTypes={position:o.default.object,map:o.default.object,icon:o.default.string},f.forEach((function(t){return h.propTypes[t]=o.default.func})),h.defaultProps={name:"HeatMap"},t.default=h})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(628),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Polygon=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Polygon=function(t){function e(){return u(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.polygonPromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderPolygon()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&(0,n.arePathsEqual)(this.props.paths,t.paths)||(this.polygon&&this.polygon.setMap(null),this.renderPolygon())}},{key:"componentWillUnmount",value:function(){this.polygon&&this.polygon.setMap(null)}},{key:"renderPolygon",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.paths,o=e.strokeColor,a=e.strokeOpacity,s=e.strokeWeight,u=e.fillColor,l=e.fillOpacity,f=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","paths","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity"]);if(!n)return null;var d=c({map:r,paths:i,strokeColor:o,strokeOpacity:a,strokeWeight:s,fillColor:u,fillOpacity:l},f);this.polygon=new n.maps.Polygon(d),h.forEach((function(e){t.polygon.addListener(e,t.handleEvent(e))})),this.polygonPromise.resolve(this.polygon)}},{key:"getPolygon",value:function(){return this.polygonPromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.polygon,r)}}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={paths:a.default.array,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number,fillColor:a.default.string,fillOpacity:a.default.number},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Polygon"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(628),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Polyline=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Polyline=function(t){function e(){return u(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.polylinePromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderPolyline()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&(0,n.arePathsEqual)(this.props.path,t.path)||(this.polyline&&this.polyline.setMap(null),this.renderPolyline())}},{key:"componentWillUnmount",value:function(){this.polyline&&this.polyline.setMap(null)}},{key:"renderPolyline",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.path,o=e.strokeColor,a=e.strokeOpacity,s=e.strokeWeight,u=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","path","strokeColor","strokeOpacity","strokeWeight"]);if(!n)return null;var l=c({map:r,path:i,strokeColor:o,strokeOpacity:a,strokeWeight:s},u);this.polyline=new n.maps.Polyline(l),h.forEach((function(e){t.polyline.addListener(e,t.handleEvent(e))})),this.polylinePromise.resolve(this.polyline)}},{key:"getPolyline",value:function(){return this.polylinePromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.polyline,r)}}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={path:a.default.array,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Polyline"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(628),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Circle=function(t){function e(){var t,r,n;u(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=n=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),n.centerChanged=function(t){var e=n.props.center,r=e.lat,i=e.lng;return r!==t.lat||i!==t.lng},n.propsChanged=function(t){return!!n.centerChanged(t.center)||Object.keys(e.propTypes).some((function(e){return n.props[e]!==t[e]}))},n.destroyCircle=function(){n.circle&&n.circle.setMap(null)},f(n,r)}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.circlePromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderCircle()}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.path,i=e.map;!this.propsChanged(t)&&i===t.map&&(0,n.arePathsEqual)(r,t.path)||(this.destroyCircle(),this.renderCircle())}},{key:"componentWillUnmount",value:function(){this.destroyCircle()}},{key:"renderCircle",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.center,o=e.radius,a=e.strokeColor,s=e.strokeOpacity,u=e.strokeWeight,l=e.fillColor,f=e.fillOpacity,d=e.draggable,p=e.visible,m=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","center","radius","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity","draggable","visible"]);if(!n)return null;var b=c({},m,{map:r,center:i,radius:o,draggable:d,visible:p,options:{strokeColor:a,strokeOpacity:s,strokeWeight:u,fillColor:l,fillOpacity:f}});this.circle=new n.maps.Circle(b),h.forEach((function(e){t.circle.addListener(e,t.handleEvent(e))})),this.circlePromise.resolve(this.circle)}},{key:"getCircle",value:function(){return this.circlePromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.circle,r)}}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={center:a.default.object,radius:a.default.number,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number,fillColor:a.default.string,fillOpacity:a.default.number,draggable:a.default.bool,visible:a.default.bool},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Circle"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(1236),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rectangle=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Rectangle=function(t){function e(){return u(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.rectanglePromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderRectangle()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&(0,n.areBoundsEqual)(this.props.bounds,t.bounds)||(this.rectangle&&this.rectangle.setMap(null),this.renderRectangle())}},{key:"componentWillUnmount",value:function(){this.rectangle&&this.rectangle.setMap(null)}},{key:"renderRectangle",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.bounds,o=e.strokeColor,a=e.strokeOpacity,s=e.strokeWeight,u=e.fillColor,l=e.fillOpacity,f=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","bounds","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity"]);if(!n)return null;var d=c({map:r,bounds:i,strokeColor:o,strokeOpacity:a,strokeWeight:s,fillColor:u,fillOpacity:l},f);this.rectangle=new n.maps.Rectangle(d),h.forEach((function(e){t.rectangle.addListener(e,t.handleEvent(e))})),this.rectanglePromise.resolve(this.rectangle)}},{key:"getRectangle",value:function(){return this.rectanglePromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.rectangle,r)}}},{key:"render",value:function(){return console.log("hii, ",this.props.bounds),null}}]),e}(o.default.Component);d.propTypes={bounds:a.default.object,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number,fillColor:a.default.string,fillOpacity:a.default.number},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Rectangle"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(t.areBoundsEqual=function(t,e){if(t===e)return!0;if(!(t instanceof Object)||!(e instanceof Object))return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;if(!r(t)||!r(e))return!1;var n=!0,i=!1,o=void 0;try{for(var a,s=Object.keys(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;if(t[c]!==e[c])return!1}}catch(u){i=!0,o=u}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return!0},function(t){return null!==t&&"object"===("undefined"===typeof t?"undefined":e(t))&&t.hasOwnProperty("north")&&t.hasOwnProperty("south")&&t.hasOwnProperty("east")&&t.hasOwnProperty("west")})})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCancelable=function(t){var e=!1;return{promise:new Promise((function(r,n){t.then((function(t){return e?n({isCanceled:!0}):r(t)})),t.catch((function(t){return n(e?{isCanceled:!0}:t)}))})),cancel:function(){e=!0}}}})?n.apply(e,i):n)||(t.exports=o)},,,,,function(t,e,r){"use strict";var n;!function(i,o){t.exports?(o.default=o,t.exports=i.document?o(i):o):void 0===(n=function(){return o(i)}.call(e,r,e,t))||(t.exports=n)}("undefined"!==typeof window?window:this,(function(t){function e(t,e,r,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,r))}var r={};return e(r,"Core/Globals.js",[],(function(){var e,r="undefined"!==typeof t?t:"undefined"!==typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.3.2",t.win=r,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var r=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,r),t.win.removeEventListener("testPassive",t.noop,r))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e})),e(r,"Core/Utilities.js",[r["Core/Globals.js"]],(function(t){function e(r,n,i,o){var a=n?"Highcharts error":"Highcharts warning";32===r&&(r=a+": Deprecated member");var s=c(r),u=s?a+" #"+r+": www.highcharts.com/errors/"+r+"/":r.toString();if("undefined"!==typeof o){var l="";s&&(u+="?"),m(o,(function(t,e){l+="\n - "+e+": "+t,s&&(u+=encodeURI(e)+"="+encodeURI(t))})),u+=l}v(t,"displayError",{chart:i,code:r,message:u,params:o},(function(){if(n)throw Error(u);w.console&&-1===e.messages.indexOf(u)&&console.warn(u)})),e.messages.push(u)}function r(t,e){return parseInt(t,e||10)}function n(t){return"string"===typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!!t&&"object"===typeof t&&(!e||!i(t))}function a(t){return o(t)&&"number"===typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function c(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function u(t){return"undefined"!==typeof t&&null!==t}function l(t,e,r){var i;return n(e)?u(r)?t.setAttribute(e,r):t&&t.getAttribute&&((i=t.getAttribute(e))||"class"!==e||(i=t.getAttribute(e+"Name"))):m(e,(function(e,r){u(e)?t.setAttribute(r,e):t.removeAttribute(r)})),i}function f(t,e){var r;for(r in t||(t={}),e)t[r]=e[r];return t}function h(){for(var t=arguments,e=t.length,r=0;r<e;r++){var n=t[r];if("undefined"!==typeof n&&null!==n)return n}}function d(e,r){t.isMS&&!t.svg&&r&&"undefined"!==typeof r.opacity&&(r.filter="alpha(opacity="+100*r.opacity+")"),f(e.style,r)}function p(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,r){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(r||t[n],t[n],n,t)}function b(e,r,n){function i(r,n){var i=e.removeEventListener||t.removeEventListenerPolyfill;i&&i.call(e,r,n,!1)}function o(t){var n;if(e.nodeName){if(r){var o={};o[r]=!0}else o=t;m(o,(function(e,r){if(t[r])for(n=t[r].length;n--;)i(r,t[r][n].fn)}))}}var a="function"===typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;r?(a=s[r]||[],n?(s[r]=a.filter((function(t){return n!==t.fn})),i(r,n)):(o(s),s[r]=[])):(o(s),delete a.hcEvents)}}function v(e,r,n,i){if(n=n||{},y.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=y.createEvent("Events");o.initEvent(r,!0,!0),n=f(o,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(r,n)}else if(e.hcEvents){n.target||f(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:r}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[r]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[r])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,n)&&n.preventDefault()}))}i&&!n.defaultPrevented&&i.call(e,n)}var g=t.charts,y=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var r,n=t.length;for(r=0;r<n;r++)if(e(t[r],r))return t[r]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(r,n){t[n]=function(t){var i;return e(32,!1,void 0,((i={})["Highcharts."+n]="use Array."+r,i)),Array.prototype[r].apply(t,[].slice.call(arguments,1))}}));var O,_=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(O?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):g[l(this[0],"data-highcharts-chart")]}),x={addEvent:function(e,r,n,i){void 0===i&&(i={});var o="function"===typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,r,n,!!t.supportsPassiveEvents&&{passive:void 0===i.passive?-1!==r.indexOf("touch"):i.passive,capture:!1}),o[r]||(o[r]=[]),o[r].push({fn:n,order:"number"===typeof i.order?i.order:1/0}),o[r].sort((function(t,e){return t.order-e.order})),function(){b(e,r,n)}},arrayMax:function(t){for(var e=t.length,r=t[0];e--;)t[e]>r&&(r=t[e]);return r},arrayMin:function(t){for(var e=t.length,r=t[0];e--;)t[e]<r&&(r=t[e]);return r},attr:l,clamp:function(t,e,r){return t>e?t<r?t:r:e},cleanRecursively:function t(e,r){var n={};return m(e,(function(i,a){o(e[a],!0)&&!e.nodeType&&r[a]?(i=t(e[a],r[a]),Object.keys(i).length&&(n[a]=i)):(o(e[a])||e[a]!==r[a])&&(n[a]=e[a])})),n},clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){u(t)&&clearTimeout(t)})),correctFloat:p,createElement:function(t,e,r,n,i){return t=y.createElement(t),e&&f(t,e),i&&d(t,{padding:"0",border:"none",margin:"0"}),r&&d(t,r),n&&n.appendChild(t),t},css:d,defined:u,destroyObjectProperties:function(t,e){m(t,(function(r,n){r&&r!==e&&r.destroy&&r.destroy(),delete t[n]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var r=t.length;r--;)if(t[r]===e){t.splice(r,1);break}},error:e,extend:f,extendClass:function(t,e){var r=function(){};return f(r.prototype=new t,e),r},find:x,fireEvent:v,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&u(e);){var r=t.shift();if("undefined"===typeof r||"__proto__"===r)return;if(!u(e=e[r])||"function"===typeof e||"number"===typeof e.nodeType||e===w)return}return e},getStyle:function n(i,o,a){var s=t.getStyle||n;if("width"===o)return o=Math.min(i.offsetWidth,i.scrollWidth),(a=i.getBoundingClientRect&&i.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(i,"padding-left",!0)||0)-(s(i,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(s(i,"padding-top",!0)||0)-(s(i,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),i=w.getComputedStyle(i,void 0)){var c=i.getPropertyValue(o);h(a,"opacity"!==o)&&(c=r(c))}return c},inArray:function(t,r,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),r.indexOf(t,n)},isArray:i,isClass:s,isDOMElement:a,isFunction:function(t){return"function"===typeof t},isNumber:c,isObject:o,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,r={},n=function t(e,r){return"object"!==typeof e&&(e={}),m(r,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!o(n,!0)||s(n)||a(n)?e[i]=r[i]:e[i]=t(e[i]||{},n))})),e};!0===e[0]&&(r=e[1],e=Array.prototype.slice.call(e,2));var i=e.length;for(t=0;t<i;t++)r=n(r,e[t]);return r},normalizeTickInterval:function(t,e,r,n,i){var o=t,a=t/(r=h(r,1));for(e||(e=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===r?e=e.filter((function(t){return 0===t%1})):.1>=r&&(e=[1/r]))),n=0;n<e.length&&(o=e[n],!(i&&o*r>=t||!i&&a<=(e[n]+(e[n+1]||e[n]))/2));n++);return p(o*r,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=y.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,r){return Array((e||2)+1-String(t).replace("-","").length).join(r||"0")+t},pick:h,pInt:r,relativeLength:function(t,e,r){return/%$/.test(t)?e*parseFloat(t)/100+(r||0):parseFloat(t)},removeEvent:b,splat:function(t){return i(t)?t:[t]},stableSort:function(t,e){var r,n,i=t.length;for(n=0;n<i;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(r=e(t,n))?t.safeI-n.safeI:r})),n=0;n<i;n++)delete t[n].safeI},syncTimeout:function(t,e,r){return 0<e?setTimeout(t,e,r):(t.call(0,r),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:_,useSerialIds:function(t){return O=h(t,O)},wrap:function(t,e,r){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,i=this;return i.proceed=function(){n.apply(i,arguments.length?arguments:e)},t.unshift(n),t=r.apply(this,t),i.proceed=null,t}}}})),e(r,"Core/Chart/ChartDefaults.js",[],(function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(r,"Core/Color/Color.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.isNumber,n=e.merge,i=e.pInt;return e=function(){function e(r){this.rgba=[NaN,NaN,NaN,NaN],this.input=r;var n=t.Color;return n&&n!==e?new n(r):this instanceof e?void this.init(r):new e(r)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var r;if("object"===typeof t&&"undefined"!==typeof t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"===typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var n=t.length,i=parseInt(t.substr(1),16);7===n?r=[(16711680&i)>>16,(65280&i)>>8,255&i,1]:4===n&&(r=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!r)for(i=e.parsers.length;i--&&!r;){var o=e.parsers[i];(n=o.regex.exec(t))&&(r=o.parse(n))}}r&&(this.rgba=r)},e.prototype.get=function(t){var e=this.input,i=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var o=n(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,r){o.stops[r]=[o.stops[r][0],e.get(t)]})),o}return i&&r(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?""+i[3]:"rgba("+i.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(r(t)&&0!==t)for(var n=0;3>n;n++)e[n]+=i(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,i=t.rgba;return r(n[0])&&r(i[0])?((t=1!==i[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(i[0]+(n[0]-i[0])*(1-e))+","+Math.round(i[1]+(n[1]-i[1])*(1-e))+","+Math.round(i[2]+(n[2]-i[2])*(1-e))+(t?","+(i[3]+(n[3]-i[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),1]}}],e.None=new e(""),e}()})),e(r,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(r,"Core/Time.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.win,n=e.defined,i=e.error,o=e.extend,a=e.isObject,s=e.merge,c=e.objectEach,u=e.pad,l=e.pick,f=e.splat,h=e.timeUnits,d=t.isSafari&&r.Intl&&r.Intl.DateTimeFormat.prototype.formatRange,p=t.isSafari&&r.Intl&&!r.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=r.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var r=e.getTime(),n=r-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(r),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,r){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0===this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](r);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](r),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||d&&"FullYear"===t?e["setUTC"+t](r):e["set"+t](r)},e.prototype.update=function(t){var e=l(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||r.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,r,n,i,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var c=this.getTimezoneOffset(a);s!==c?a+=c-s:s-36e5!==this.getTimezoneOffset(a-36e5)||p||(a-=36e5)}else a=new this.Date(t,e,l(r,1),l(n,0),l(i,0),l(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.getTimezoneOffset,o=e.moment||r.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};i(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,r,i){if(!n(r)||isNaN(r))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=l(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(r),f=this.get("Hours",s),h=this.get("Day",s),d=this.get("Date",s),p=this.get("Month",s),m=this.get("FullYear",s),b=t.defaultOptions.lang,v=b&&b.weekdays,g=b&&b.shortWeekdays;return s=o({a:g?g[h]:v[h].substr(0,3),A:v[h],d:u(d),e:u(d,2," "),w:h,b:b.shortMonths[p],B:b.months[p],m:u(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:u(f),k:f,I:u(f%12||12),l:f%12||12,M:u(this.get("Minutes",s)),p:12>f?"AM":"PM",P:12>f?"am":"pm",S:u(s.getSeconds()),L:u(Math.floor(r%1e3),3)},t.dateFormats),c(s,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"===typeof t?t.call(a,r):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=f(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,r,i){var a,s=this,c=[],u={},f=new s.Date(e),d=t.unitRange,p=t.count||1;if(i=l(i,1),n(e)){if(s.set("Milliseconds",f,d>=h.second?0:p*Math.floor(s.get("Milliseconds",f)/p)),d>=h.second&&s.set("Seconds",f,d>=h.minute?0:p*Math.floor(s.get("Seconds",f)/p)),d>=h.minute&&s.set("Minutes",f,d>=h.hour?0:p*Math.floor(s.get("Minutes",f)/p)),d>=h.hour&&s.set("Hours",f,d>=h.day?0:p*Math.floor(s.get("Hours",f)/p)),d>=h.day&&s.set("Date",f,d>=h.month?1:Math.max(1,p*Math.floor(s.get("Date",f)/p))),d>=h.month){s.set("Month",f,d>=h.year?0:p*Math.floor(s.get("Month",f)/p));var m=s.get("FullYear",f)}d>=h.year&&s.set("FullYear",f,m-m%p),d===h.week&&(m=s.get("Day",f),s.set("Date",f,s.get("Date",f)-m+i+(m<i?-7:0))),m=s.get("FullYear",f),i=s.get("Month",f);var b=s.get("Date",f),v=s.get("Hours",f);for(e=f.getTime(),!s.variableTimezone&&s.useUTC||!n(r)||(a=r-e>4*h.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(r)),e=f.getTime(),f=1;e<r;)c.push(e),e=d===h.year?s.makeTime(m+f*p,0):d===h.month?s.makeTime(m,i+f*p):!a||d!==h.day&&d!==h.week?a&&d===h.hour&&1<p?s.makeTime(m,i,b,v+f*p):e+d*p:s.makeTime(m,i,b+f*p*(d===h.day?1:7)),f++;c.push(e),d<=h.hour&&1e4>c.length&&c.forEach((function(t){0===t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(u[t]="day")}))}return c.info=o(t,{higherRanks:u,totalRange:d*p}),c},e.prototype.getDateFormat=function(t,e,r,n){var i=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in h){if(t===h.week&&+this.dateFormat("%w",e)===r&&"00:00:00.000"===i.substr(6)){var s="week";break}if(h[s]>t){s=a;break}if(o[s]&&i.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}if(s)var c=this.resolveDTLFormat(n[s]).main;return c},e}()})),e(r,"Core/DefaultOptions.js",[r["Core/Chart/ChartDefaults.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Color/Palettes.js"],r["Core/Time.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){e=e.parse;var a=o.merge,s={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:r.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:r.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var c=new i(a(s.global,s.time));return t={defaultOptions:s,defaultTime:c,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(r.time?r.time.update(a(s.global,s.time,t.global,t.time)):r.time=c),s}}})),e(r,"Core/Animation/Fx.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=t.parse,i=e.win,o=r.isNumber,a=r.objectEach;return function(){function t(t,e,r){this.pos=NaN,this.options=e,this.elem=t,this.prop=r}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var r=this.now||0,n=[];if(1!==r&&e&&t)if(e.length===t.length&&1>r)for(var i=0;i<t.length;i++){for(var a=e[i],s=t[i],c=[],u=0;u<s.length;u++){var l=a[u],f=s[u];o(l)&&o(f)&&("A"!==s[0]||4!==u&&5!==u)?c[u]=l+r*(f-l):c[u]=f}n.push(c)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,r=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,r,null,!0):t.style[e]=r+this.unit,n&&n.call(t,r,this)},t.prototype.run=function(e,r,n){var o=this,a=o.options,s=function t(e){return!t.stopped&&o.step(e)},c=i.requestAnimationFrame||function(t){setTimeout(t,13)};e!==r||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=r,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&c((function e(){for(var r=0;r<t.timers.length;r++)t.timers[r]()||t.timers.splice(r--,1);t.timers.length&&c(e)}))):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,r=this.options,n=this.elem,i=r.complete,o=r.duration,s=r.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var c=s[this.prop]=!0;a(s,(function(t){!0!==t&&(c=!1)})),c&&i&&i.call(n),t=!1}else this.pos=r.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,r){function n(t,e){for(;t.length<h;){var r=t[0],n=e[h-t.length];n&&"M"===r[0]&&(t[0]="C"===n[0]?["C",r[1],r[2],r[1],r[2],r[1],r[2]]:["L",r[1],r[2]]),t.unshift(r),c&&(r=t.pop(),t.push(t[t.length-1],r))}}function i(t,e){for(;t.length<h;)if("C"===(e=t[Math.floor(t.length/u)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),c){var r=t[Math.floor(t.length/u)].slice();t.splice(t.length/2,0,e,r)}else t.push(e)}var a=t.startX,s=t.endX;r=r.slice();var c=t.isArea,u=c?2:1;if(!(e=e&&e.slice()))return[r,r];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var l=t;break}if(a[0]===s[s.length-a.length+t]){l=t;var f=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){l=a.length-t;break}}"undefined"===typeof l&&(e=[])}if(e.length&&o(l)){var h=r.length+l*u;f?(n(e,r),i(r,e)):(n(r,e),i(e,r))}return[e,r]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(r,"Core/Animation/AnimationUtilities.js",[r["Core/Animation/Fx.js"],r["Core/Utilities.js"]],(function(t,e){function r(t){return c(t)?u({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,r){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||r&&r!==t.timers[n].prop||(t.timers[n].stopped=!0)}var i=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,c=e.isObject,u=e.merge,l=e.objectEach,f=e.pick;return{animate:function(e,r,i){var f,h,d,p="";if(!c(i)){var m=arguments;i={duration:m[2],easing:m[3],complete:m[4]}}s(i.duration)||(i.duration=400),i.easing="function"===typeof i.easing?i.easing:Math[i.easing]||Math.easeInOutSine,i.curAnim=u(r),l(r,(function(s,c){n(e,c),d=new t(e,i,c),h=void 0,"d"===c&&a(r.d)?(d.paths=d.initPath(e,e.pathArray,r.d),d.toD=r.d,f=0,h=1):e.attr?f=e.attr(c):(f=parseFloat(o(e,c))||0,"opacity"!==c&&(p="px")),h||(h=s),"string"===typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),d.run(f,h,p)}))},animObject:r,getDeferredAnimation:function(t,e,n){var o=r(e),a=0,s=0;return(n?[n]:t.series).forEach((function(t){t=r(t.options.animation),a=e&&i(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=f(t,e.options.chart.animation,!0)},stop:n}})),e(r,"Core/Renderer/HTML/AST.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.SVG_NS,n=e.attr,i=e.createElement,o=e.error,a=e.isFunction,s=e.isString,c=e.objectEach,u=e.splat,l=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),f=l?l.createHTML(""):"";try{var h=!!(new DOMParser).parseFromString(f,"text/html")}catch(d){h=!1}return a=function(){function e(t){this.nodes="string"===typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return c(t,(function(r,n){var i=!0;-1===e.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=s(r)&&e.allowedReferences.some((function(t){return 0===r.indexOf(t)}))),i||(o("Highcharts warning: Invalid attribute '"+n+"' in config"),delete t[n])})),t},e.setElementHTML=function(t,r){t.innerHTML=e.emptyHTML,r&&new e(r).addToDOM(t)},e.prototype.addToDOM=function(i){return function i(a,s){var l;return u(a).forEach((function(a){var u=a.tagName,f=a.textContent?t.doc.createTextNode(a.textContent):void 0;if(u)if("#text"===u)var h=f;else if(-1!==e.allowedTags.indexOf(u)){u=t.doc.createElementNS("svg"===u?r:s.namespaceURI||r,u);var d=a.attributes||{};c(a,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(d[e]=t)})),n(u,e.filterUserAttributes(d)),f&&u.appendChild(f),i(a.children||[],u),h=u}else o("Highcharts warning: Invalid tagName "+u+" in config");h&&s.appendChild(h),l=h})),l}(this.nodes,i)},e.prototype.parseMarkup=function(t){var e=[];if(t=t.trim(),h)t=(new DOMParser).parseFromString(l?l.createHTML(t):t,"text/html");else{var r=i("div");r.innerHTML=t,t={body:r}}return[].forEach.call(t.body.childNodes,(function(t){return function t(e,r){var n=e.nodeName.toLowerCase(),i={tagName:n};if("#text"===n&&(i.textContent=e.textContent||""),n=e.attributes){var o={};[].forEach.call(n,(function(t){o[t.name]=t.value})),i.attributes=o}if(e.childNodes.length){var a=[];[].forEach.call(e.childNodes,(function(e){t(e,a)})),a.length&&(i.children=a)}r.push(i)}(t,e)})),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=f,e}()})),e(r,"Core/FormatUtilities.js",[r["Core/DefaultOptions.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e,r,i){t=+t||0,e=+e;var o=n.lang,u=(t.toString().split(".")[1]||"").split("e")[0].length,l=t.toString().split("e"),f=e;if(-1===e)e=Math.min(u,20);else if(a(e)){if(e&&l[1]&&0>l[1]){var h=e+ +l[1];0<=h?(l[0]=(+l[0]).toExponential(h).split("e")[0],e=h):(l[0]=l[0].split(".")[0]||0,t=20>e?(l[0]*Math.pow(10,l[1])).toFixed(e):0,l[1]=0)}}else e=2;h=(Math.abs(l[1]?l[0]:t)+Math.pow(10,-Math.max(e,u)-1)).toFixed(e);var d=3<(u=String(c(h))).length?u.length%3:0;return r=s(r,o.decimalPoint),i=s(i,o.thousandsSep),t=(0>t?"-":"")+(d?u.substr(0,d)+i:""),t=0>+l[1]&&!f?"0":t+u.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=r+h.slice(-e)),l[1]&&0!==+t&&(t+="e"+l[1]),t}var n=t.defaultOptions,i=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,c=e.pInt;return{dateFormat:function(t,e,r){return i.dateFormat(t,e,r)},format:function(t,e,a){var s="{",c=!1,u=/f$/,l=/\.([0-9])/,f=n.lang,h=a&&a.time||i;a=a&&a.numberFormatter||r;for(var d=[];t;){var p=t.indexOf(s);if(-1===p)break;var m=t.slice(0,p);if(c){if(m=m.split(":"),s=o(m.shift()||"",e),m.length&&"number"===typeof s)if(m=m.join(":"),u.test(m)){var b=parseInt((m.match(l)||["","-1"])[1],10);null!==s&&(s=a(s,b,f.decimalPoint,-1<m.indexOf(",")?f.thousandsSep:""))}else s=h.dateFormat(m,s);d.push(s)}else d.push(m);t=t.slice(p+1),s=(c=!c)?"}":"{"}return d.push(t),d.join("")},numberFormat:r}})),e(r,"Core/Renderer/RendererUtilities.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.clamp,n=t.pick,i=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,c=e,u=c.reducedLen||o,l=function(t,e){return(e.rank||0)-(t.rank||0)},f=function(t,e){return t.target-e.target},h=!0,d=[],p=0;for(s=e.length;s--;)p+=e[s].size;if(p>u){for(i(e,l),p=s=0;p<=u;)p+=e[s].size,s++;d=e.splice(s-1,e.length)}for(i(e,f),e=e.map((function(t){return{size:t.size,targets:[t.target],align:n(t.align,.5)}}));h;){for(s=e.length;s--;)u=e[s],l=(Math.min.apply(0,u.targets)+Math.max.apply(0,u.targets))/2,u.pos=r(l-u.size*u.align,0,o-u.size);for(s=e.length,h=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),h=!0)}return c.push.apply(c,d),s=0,e.some((function(e){var r=0;return(e.targets||[]).some((function(){return c[s].pos=e.pos+r,"undefined"!==typeof a&&Math.abs(c[s].pos-c[s].target)>a?(c.slice(0,s+1).forEach((function(t){return delete t.pos})),c.reducedLen=(c.reducedLen||o)-.1*o,c.reducedLen>.1*o&&t(c,o,a),!0):(r+=c[s].size,s++,!1)}))})),i(c,f),c}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGElement.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.animate,a=t.animObject,s=t.stop,c=n.deg2rad,u=n.doc,l=n.noop,f=n.svg,h=n.SVG_NS,d=n.win,p=i.addEvent,m=i.attr,b=i.createElement,v=i.css,g=i.defined,y=i.erase,w=i.extend,x=i.fireEvent,O=i.isArray,_=i.isFunction,S=i.isNumber,k=i.isString,E=i.merge,M=i.objectEach,C=i.pick,j=i.pInt,A=i.syncTimeout,T=i.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=h,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,r){r.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,r=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(r),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var r=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===r.indexOf(e)&&t.push(e),t}),r?[r]:[]).join(" "))!==r&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,r){var n,i,o,a={},s=this.renderer,c=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!r||k(r))&&(this.alignTo=n=r||"renderer",y(c,this),c.push(this),r=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),r=C(r,s[n],"scrollablePlotBox"===n?s.plotBox:void 0,s),n=t.align;var u=t.verticalAlign;return s=(r.x||0)+(t.x||0),c=(r.y||0)+(t.y||0),"right"===n?i=1:"center"===n&&(i=2),i&&(s+=(r.width-(t.width||0))/i),a[e?"translateX":"x"]=Math.round(s),"bottom"===u?o=1:"middle"===u&&(o=2),o&&(c+=(r.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(c),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,r){var n=this,i=a(C(e,this.renderer.globalAnimation,!0));return e=i.defer,C(u.hidden,u.msHidden,u.webkitHidden,!1)&&(i.duration=0),0!==i.duration?(r&&(i.complete=r),A((function(){n.element&&o(n,t,i)}),e)):(this.attr(t,void 0,r),M(t,(function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var r=t.split(" ");if(t=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,r){return 2*Number(e)+r})),this.removeTextOutline();var i=u.createElementNS(h,"tspan");m(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":r,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),i.appendChild(e)}));var o=u.createElementNS(h,"tspan");o.textContent="\u200b",["x","y"].forEach((function(t){var r=e.getAttribute(t);r&&o.setAttribute(t,r)})),i.appendChild(o),e.insertBefore(i,e.firstChild)}},t.prototype.attr=function(t,e,r,n){var i,o,a,c=this.element,u=this.symbolCustomAttribs,l=this;if("string"===typeof t&&"undefined"!==typeof e){var f=t;(t={})[f]=e}return"string"===typeof t?l=(this[t+"Getter"]||this._defaultGetter).call(this,t,c):(M(t,(function(e,r){o=!1,n||s(this,r),this.symbolName&&-1!==u.indexOf(r)&&(i||(this.symbolAttr(t),i=!0),o=!0),!this.rotation||"x"!==r&&"y"!==r||(this.doTransform=!0),o||((a=this[r+"Setter"]||this._defaultSetter).call(this,e,r,c),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(r)&&this.updateShadows(r,e,a))}),this),this.afterSetters()),r&&r.call(this),l},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var r=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+r,t.y=Math.floor(t.y||this.y||0)+r,t.width=Math.floor((t.width||this.width||0)-2*r),t.height=Math.floor((t.height||this.height||0)-2*r),g(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var i,o,a,s,c,u,l,f,h,d,p,m=this.renderer,b=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],c=m.gradients,u=t.stops,h=n.radialReference,O(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!g(a.gradientUnits)&&(s=a,a=E(a,m.getRadialAttr(h,s),{gradientUnits:"userSpaceOnUse"})),M(a,(function(t,e){"id"!==e&&b.push(e,t)})),M(u,(function(t){b.push(t)})),b=b.join(","),c[b])d=c[b].attr("id");else{a.id=d=T();var v=c[b]=m.createElement(o).attr(a).add(m.defs);v.radAttr=s,v.stops=[],u.forEach((function(t){0===t[1].indexOf("rgba")?(i=r.parse(t[1]),l=i.get("rgb"),f=i.get("a")):(l=t[1],f=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":f}).add(v),v.stops.push(t)}))}p="url("+m.url+"#"+d+")",n.setAttribute(e,p),n.gradient=b,t.toString=function(){return p}}}))},t.prototype.css=function(t){var e=this.styles,r={},n=this.element,i=["textOutline","textOverflow","width"],o="",a=!e;if(t&&t.color&&(t.fill=t.color),e&&M(t,(function(t,n){e&&e[n]!==t&&(r[n]=t,a=!0)})),a){if(e&&(t=w(e,r)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var s=this.textWidth=j(t.width);if(this.styles=t,s&&!f&&this.renderer.forExport&&delete t.width,n.namespaceURI===this.SVG_NS){var c=function(t,e){return"-"+e.toLowerCase()};M(t,(function(t,e){-1===i.indexOf(e)&&(o+=e.replace(/([A-Z])/g,c)+":"+t+";")})),o&&m(n,"style",o)}else v(n,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var r=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=r.length;t--;)r[t]=""+j(r[t])*C(e,NaN);t=r.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},r=t.renderer,n=e.ownerSVGElement,i=r.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&n){var o=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),r.styledMode||t.destroyShadows();i&&i.div&&0===i.div.childNodes.length;)e=i.parentGroup,t.safeRemoveChild(i.div),delete i.div,i=e;t.alignTo&&y(r.alignedObjects,t),M(t,(function(e,r){t[r]&&t[r].parentGroup===t&&t[r].destroy&&t[r].destroy(),delete t[r]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var r=t.getElementsByTagName("text")[0];if(r){if(r.removeAttribute("dx"),r.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&r.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)r.appendChild(t[0]);r.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,r){O(t)&&("string"===typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,r){return e&&e.join?(r?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(r.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:C(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,r){"string"===typeof t?r.setAttribute(e,t):t&&this.complexColor(t,e,r)},t.prototype.getBBox=function(e,r){var n=this.renderer,i=this.element,o=this.styles,a=this.textStr,s=n.cache,u=n.cacheKeys,l=i.namespaceURI===this.SVG_NS;r=C(r,this.rotation,0);var f,h=n.styledMode?i&&t.prototype.getStyle.call(i,"font-size"):o&&o.fontSize;if(g(a)){var d=a.toString();-1===d.indexOf("<")&&(d=d.replace(/[0-9]/g,"0")),d+=["",r,h,this.textWidth,o&&o.textOverflow,o&&o.fontWeight].join()}if(d&&!e&&(f=s[d]),!f){if(l||n.forExport){try{var p=this.fakeTS&&function(t){var e=i.querySelector(".highcharts-text-outline");e&&v(e,{display:t})};_(p)&&p("none"),f=i.getBBox?w({},i.getBBox()):{width:i.offsetWidth,height:i.offsetHeight},_(p)&&p("")}catch(m){}(!f||0>f.width)&&(f={width:0,height:0})}else f=this.htmlGetBBox();if(n.isSVG&&(e=f.width,n=f.height,l&&(f.height=n={"11px,17":14,"13px,20":16}[(h||"")+","+Math.round(n)]||n),r&&(l=r*c,f.width=Math.abs(n*Math.sin(l))+Math.abs(e*Math.cos(l)),f.height=Math.abs(n*Math.cos(l))+Math.abs(e*Math.sin(l)))),d&&(""===a||0<f.height)){for(;250<u.length;)delete s[u.shift()];s[d]||u.push(d),s[d]=f}}return f},t.prototype.getStyle=function(t){return d.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?b(e):u.createElementNS(this.SVG_NS,e),this.renderer=t,x(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var r=this.onEvents;return r[t]&&r[t](),r[t]=p(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,r){this.opacity=t=Number(Number(t).toFixed(3)),r.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,r){var n=this.element,i=this.text?this.text.element:n,o={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,c=!s;r=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},r);var u=e.filterUserAttributes(r.attributes);if(t&&r&&r.enabled){s&&null===s.element.parentNode?(c=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(u.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var f=s.element;if((r=t.element.getAttribute("id"))||t.element.setAttribute("id",r=T()),c)for(i.setAttribute("y",0),S(u.dx)&&i.setAttribute("x",-u.dx),t=[].slice.call(i.childNodes),c=0;c<t.length;c++){var h=t[c];h.nodeType!==d.Node.TEXT_NODE&&"tspan"!==h.nodeName||f.appendChild(h)}a&&s&&s.add({element:i}),f.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+r),g(u.dy)&&(f.parentNode.setAttribute("dy",u.dy),delete u.dy),g(u.dx)&&(f.parentNode.setAttribute("dx",u.dx),delete u.dx),M(u,(function(t,e){f.setAttribute(o[e]||e,t)})),n.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=l}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,r){var n,i=[],o=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},c=!1;if(!0===t?n=s:"object"===typeof t&&(n=w(s,t)),n&&(n&&a&&M(n,(function(t,e){t!==a[e]&&(c=!0)})),c&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var u=n.opacity/n.width,l=this.parentInverted?"translate("+n.offsetY+", "+n.offsetX+")":"translate("+n.offsetX+", "+n.offsetY+")";for(s=1;s<=n.width;s++){var f=o.cloneNode(!1),h=2*n.width+1-2*s;m(f,{stroke:t.color||"#000000","stroke-opacity":u*s,"stroke-width":h,transform:l,fill:"none"}),f.setAttribute("class",(f.getAttribute("class")||"")+" highcharts-shadow"),r&&(m(f,"height",Math.max(m(f,"height")-h,0)),f.cutHeight=h),e?e.element.appendChild(f):o.parentNode&&o.parentNode.insertBefore(f,o),i.push(f)}this.shadows=i}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,r,n){this[r]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===r&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=j(t);else if(""!==t){var r=u.createElementNS(h,"rect");m(r,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(r),e=r.getBBox().width,r.parentNode.removeChild(r)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(r){e[r]=C(t[r],e[r])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,r=e.getElementsByTagName("title")[0]||u.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(r,e.firstChild):e.appendChild(r),r.textContent=String(C(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,r){var n=this.shadows;if(n)for(var i=n.length;i--;)r.call(n[i],"height"===t?Math.max(e-(n[i].cutHeight||0),0):"d"===t?this.d:e,t,n[i])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,r=this.inverted,n=this.rotation,i=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;r&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],g(i)&&a.push("matrix("+i.join(",")+")"),r?a.push("rotate(90) scale(-1,1)"):n&&a.push("rotate("+n+" "+C(this.rotationOriginX,o.getAttribute("x"),0)+" "+C(this.rotationOriginY,o.getAttribute("y")||0)+")"),(g(t)||g(e))&&a.push("scale("+C(t,1)+" "+C(e,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,r){"inherit"===t?r.removeAttribute(e):this[e]!==t&&r.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var r=this.renderer,n=this.parentGroup,i=(n||r).element||r.box,o=this.element;r=i===r.box;var a,s=!1,c=this.added;if(g(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(c=!1)):g(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,c){for((t=this.zIndex)&&n&&(n.handleZ=!0),a=(e=i.childNodes).length-1;0<=a&&!s;a--){c=(n=e[a]).getAttribute("data-z-index");var u=!g(c);n!==o&&(0>t&&u&&!r&&!a?(i.insertBefore(o,e[a]),s=!0):(j(c)<=t||u&&(!g(t)||0<=t))&&(i.insertBefore(o,e[a+1]||null),s=!0))}s||(i.insertBefore(o,e[r?3:0]||null),s=!0)}return s},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(r,"Core/Renderer/RendererRegistry.js",[r["Core/Globals.js"]],(function(t){var e;return function(e){var r;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=r),e.rendererTypes[t]||e.rendererTypes[r]},e.registerRendererType=function(n,i,o){e.rendererTypes[n]=i,r&&!o||(r=n,t.Renderer=i)}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGLabel.js",[r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=e.defined,i=e.extend,o=e.isNumber,a=e.merge,s=e.pick,c=e.removeEvent;return function(e){function u(t,r,n,i,o,a,s,c,l,f){var h,d=e.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=r,d.x=n,d.y=i,d.anchorX=a,d.anchorY=s,d.baseline=l,d.className=f,d.addClass("button"===f?"highcharts-no-tooltip":"highcharts-label"),f&&d.addClass("highcharts-"+f),d.text=t.text(void 0,0,0,c).attr({zIndex:1}),"string"===typeof o&&((h=/^url\((.*?)\)$/.test(o))||d.renderer.symbols[o])&&(d.symbolKey=o),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||h,d.deferredAttr={},d.alignFactor=0,d}return r(u,e),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){if(e){var r={};e=a(e),u.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(r[t]=e[t],delete e[t])})),this.text.css(r);var n="width"in r;"fontSize"in r||"fontWeight"in r?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},u.prototype.destroy=function(){c(this.element,"mouseenter"),c(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},r=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?u.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*r,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=r+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((r=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),r.add(this)),r=this.getCrispAdjust(),e.x=r,e.y=(this.baseline?-this.baselineOffset:0)+r,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(i(e,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,r=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),r===t.x&&e===t.y||(t.attr("x",r),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=r,t.y=e},u.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u}(t)})),e(r,"Core/Renderer/SVG/Symbols.js",[r["Core/Utilities.js"]],(function(t){function e(t,e,r,n,o){var s=[];if(o){var c=o.start||0,u=a(o.r,r);r=a(o.r,n||r);var l=(o.end||0)-.001;n=o.innerR;var f=a(o.open,.001>Math.abs((o.end||0)-c-2*Math.PI)),h=Math.cos(c),d=Math.sin(c),p=Math.cos(l),m=Math.sin(l);c=a(o.longArc,.001>l-c-Math.PI?0:1),s.push(["M",t+u*h,e+r*d],["A",u,r,0,c,a(o.clockwise,1),t+u*p,e+r*m]),i(n)&&s.push(f?["M",t+n*p,e+n*m]:["L",t+n*p,e+n*m],["A",n,n,0,c,i(o.clockwise)?1-o.clockwise:0,t+n*h,e+n*d]),f||s.push(["Z"])}return s}function r(t,e,r,i,o){return o&&o.r?n(t,e,r,i,o):[["M",t,e],["L",t+r,e],["L",t+r,e+i],["L",t,e+i],["Z"]]}function n(t,e,r,n,i){return[["M",t+(i=i&&i.r||0),e],["L",t+r-i,e],["C",t+r,e,t+r,e,t+r,e+i],["L",t+r,e+n-i],["C",t+r,e+n,t+r,e+n,t+r-i,e+n],["L",t+i,e+n],["C",t,e+n,t,e+n,t,e+n-i],["L",t,e+i],["C",t,e,t,e,t+i,e]]}var i=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,r,i,a){var s=Math.min(a&&a.r||0,r,i),c=s+6,u=a&&a.anchorX;a=a&&a.anchorY||0;var l=n(t,e,r,i,{r:s});return o(u)?(t+u>=r?a>e+c&&a<e+i-c?l.splice(3,1,["L",t+r,a-6],["L",t+r+6,a],["L",t+r,a+6],["L",t+r,e+i-s]):l.splice(3,1,["L",t+r,i/2],["L",u,a],["L",t+r,i/2],["L",t+r,e+i-s]):0>=t+u?a>e+c&&a<e+i-c?l.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):l.splice(7,1,["L",t,i/2],["L",u,a],["L",t,i/2],["L",t,e+s]):a&&a>i&&u>t+c&&u<t+r-c?l.splice(5,1,["L",u+6,e+i],["L",u,e+i+6],["L",u-6,e+i],["L",t+s,e+i]):a&&0>a&&u>t+c&&u<t+r-c&&l.splice(1,1,["L",u-6,e],["L",u,e-6],["L",u+6,e],["L",r-s,e]),l):l},circle:function(t,r,n,i){return e(t+n/2,r+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n/2],["L",t+r/2,e+n],["L",t,e+n/2],["Z"]]},rect:r,roundedRect:n,square:r,triangle:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,r,n){return[["M",t,e],["L",t+r,e],["L",t+r/2,e+n],["Z"]]}}})),e(r,"Core/Renderer/SVG/TextBuilder.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.doc,i=e.SVG_NS,o=e.win,a=r.attr,s=r.isString,c=r.objectEach,u=r.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,r=e.element,i=e.renderer,o=u(e.textStr,"").toString(),a=-1!==o.indexOf("<"),c=r.childNodes;i=this.width&&!e.added&&i.box;var l=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==e.textCache){for(e.textCache=l,delete e.actualWidth,l=c.length;l--;)r.removeChild(c[l]);a||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(i&&i.appendChild(r),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(r.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),i&&i.removeChild(r)):r.appendChild(n.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,r=this.svgElement,s=a(r.element,"x");for(r.firstLineMetrics=void 0;(t=r.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)r.element.removeChild(t);[].forEach.call(r.element.querySelectorAll("tspan.highcharts-br"),(function(t,n){t.nextSibling&&t.previousSibling&&(0===n&&1===t.previousSibling.nodeType&&(r.firstLineMetrics=r.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var c=this.width||0;if(c){var u=function(t,o){var u=t.textContent||"",l=u.replace(/([^\^])-/g,"$1- ").split(" "),f=!e.noWrap&&(1<l.length||1<r.element.childNodes.length),h=e.getLineHeight(o),d=0,p=r.actualWidth;if(e.ellipsis)u&&e.truncate(t,u,void 0,0,Math.max(0,c-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"\u2026"}));else if(f){for(u=[],f=[];o.firstChild&&o.firstChild!==t;)f.push(o.firstChild),o.removeChild(o.firstChild);for(;l.length;)l.length&&!e.noWrap&&0<d&&(u.push(t.textContent||""),t.textContent=l.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,l,0===d&&p||0,c,(function(t,e){return l.slice(0,e).join(" ").replace(/- /g,"-")})),p=r.actualWidth,d++;f.forEach((function(e){o.insertBefore(e,t)})),u.forEach((function(e){o.insertBefore(n.createTextNode(e),t),(e=n.createElementNS(i,"tspan")).textContent="\u200b",a(e,{dy:h,x:s}),o.insertBefore(e,t)}))}};!function t(e){[].slice.call(e.childNodes).forEach((function(n){n.nodeType===o.Node.TEXT_NODE?u(n,e):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(r.actualWidth=0),t(n))}))}(r.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this;t.forEach((function r(n,i){var o=n.attributes;o=void 0===o?{}:o;var a=n.children,c=n.tagName,u=e.renderer.styledMode;"b"===c||"strong"===c?u?o.class="highcharts-strong":o.style="font-weight:bold;"+(o.style||""):"i"!==c&&"em"!==c||(u?o.class="highcharts-emphasized":o.style="font-style:italic;"+(o.style||"")),s(o.style)&&(o.style=o.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===c?(o.class="highcharts-br",n.textContent="\u200b",(i=t[i+1])&&i.textContent&&(i.textContent=i.textContent.replace(/^ +/gm,""))):"a"===c&&a&&a.some((function(t){return"#text"===t.tagName}))&&(n.children=[{children:a,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(n.tagName="tspan"),n.attributes=o,a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(r)}))},e.prototype.truncate=function(t,e,r,n,i,o){var a,s=this.svgElement,c=s.renderer,u=s.rotation,l=[],f=r?1:0,h=(e||r||"").length,d=h,p=function(i,a){a=a||i;var u=t.parentNode;if(u&&"undefined"===typeof l[a])if(u.getSubStringLength)try{l[a]=n+u.getSubStringLength(0,r?a+1:a)}catch(f){}else c.getSpanWidth&&(t.textContent=o(e||r,i),l[a]=n+c.getSpanWidth(s,t));return l[a]};s.rotation=0;var m=p(t.textContent.length);if(n+m>i){for(;f<=h;)d=Math.ceil((f+h)/2),r&&(a=o(r,d)),m=p(d,a&&a.length-1),f===h?f=h+1:m>i?h=d-1:f=d;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=a||o(e||r,d))}r&&r.splice(0,d),s.actualWidth=m,s.rotation=u},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(r,n){e&&-1!==e.indexOf(r)||(t=t.toString().replace(new RegExp(r,"g"),n))})),t},e}()})),e(r,"Core/Renderer/SVG/SVGRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGLabel.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Renderer/SVG/TextBuilder.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u,l=r.charts,f=r.deg2rad,h=r.doc,d=r.isFirefox,p=r.isMS,m=r.isWebKit,b=r.noop,v=r.SVG_NS,g=r.symbolSizes,y=r.win,w=c.addEvent,x=c.attr,O=c.createElement,_=c.css,S=c.defined,k=c.destroyObjectProperties,E=c.extend,M=c.isArray,C=c.isNumber,j=c.isObject,A=c.isString,T=c.merge,P=c.pick,D=c.pInt,R=c.uniqueKey;return r=function(){function r(t,e,r,n,i,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,r,n,i,o,a)}return r.prototype.init=function(t,e,r,n,i,o,a){var s,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;a||c.css(this.getStyle(n)),t.appendChild(u),x(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&x(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 9.3.2")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,r,!1),d&&t.getBoundingClientRect&&((e=function(){_(t,{left:0,top:0}),s=t.getBoundingClientRect(),_(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=w(y,"resize",e))},r.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},r.prototype.getReferenceURL=function(){if((d||m)&&h.getElementsByTagName("base").length){if(!S(u)){var e=R();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(h.body),_(e,{position:"fixed",top:0,left:0,zIndex:9e5});var r=h.elementFromPoint(6,6);u="hitme"===(r&&r.id),h.body.removeChild(e)}if(u)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},r.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},r.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},r.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},r.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},r.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},r.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},r.prototype.buildText=function(t){new s(t).buildSVG()},r.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},r.prototype.button=function(e,r,n,i,o,a,s,c,u,l){var f=this.label(e,r,n,u,void 0,void 0,l,void 0,"button"),h=this.styledMode,d=0,m=o?T(o):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),f.attr(T({padding:8,r:2},m)),!h){var b=(m=T({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;var v=(a=T(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||{}))).style;delete a.style;var g=(s=T(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||{}))).style;delete s.style;var y=(c=T(m,{style:{color:"#cccccc"}},t.filterUserAttributes(c||{}))).style;delete c.style}return w(f.element,p?"mouseover":"mouseenter",(function(){3!==d&&f.setState(1)})),w(f.element,p?"mouseout":"mouseleave",(function(){3!==d&&f.setState(d)})),f.setState=function(t){1!==t&&(f.state=d=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),h||f.attr([m,a,s,c][t||0]).css([b,v,g,y][t||0])},h||f.attr(m).css(E({cursor:"default"},b)),f.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==d&&i.call(f,t)}))},r.prototype.crispLine=function(t,e,r){void 0===r&&(r="round");var n=t[0],i=t[1];return S(n[1])&&n[1]===i[1]&&(n[1]=i[1]=Math[r](n[1])-e%2/2),S(n[2])&&n[2]===i[2]&&(n[2]=i[2]=Math[r](n[2])+e%2/2),t},r.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:j(t)&&E(e,t),this.createElement("path").attr(e)},r.prototype.circle=function(t,e,r){return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:r},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,r){r.setAttribute("c"+e,t)},e.attr(t)},r.prototype.arc=function(t,e,r,n,i,o){return j(t)?(e=(n=t).y,r=n.r,t=n.x):n={innerR:n,start:i,end:o},(t=this.symbol("arc",t,e,r,r,n)).r=r,t},r.prototype.rect=function(t,e,r,n,i,o){i=j(t)?t.r:i;var a=this.createElement("rect");return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(r,0),height:Math.max(n,0)},this.styledMode||("undefined"!==typeof o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),i&&(t.r=i),a.rSetter=function(t,e,r){a.r=t,x(r,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},r.prototype.setSize=function(t,e,r){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(r,!0)?void 0:0}),this.alignElements()},r.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},r.prototype.image=function(t,e,r,n,i,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};C(e)&&(a.x=e),C(r)&&(a.y=r),C(n)&&(a.width=n),C(i)&&(a.height=i);var c=this.createElement("image").attr(a);return e=function(e){s(c.element,t),o.call(c,e)},o?(s(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r=new y.Image,w(r,"load",e),r.src=t,r.complete&&e({})):s(c.element,t),c},r.prototype.symbol=function(t,e,r,n,i,o){var a,s=this,c=/^url\((.*?)\)$/,u=c.test(t),f=!u&&(this.symbols[t]?t:"circle"),d=f&&this.symbols[f];if(d){"number"===typeof e&&(a=d.call(this.symbols,Math.round(e||0),Math.round(r||0),n||0,i||0,o));var p=this.path(a);s.styledMode||p.attr("fill","none"),E(p,{symbolName:f||void 0,x:e,y:r,width:n,height:i}),o&&E(p,o)}else if(u){var m=t.match(c)[1],b=p=this.image(m);b.imgwidth=P(g[m]&&g[m].width,o&&o.width),b.imgheight=P(g[m]&&g[m].height,o&&o.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){b[t+"Setter"]=function(t,e){var r=this["img"+e];this[e]=t,S(r)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(r=Math.round(r*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,r),this.alignByTranslate||(t=((this[e]||0)-r)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),S(e)&&b.attr({x:e,y:r}),b.isImg=!0,S(b.imgwidth)&&S(b.imgheight)?v(b):(b.attr({width:0,height:0}),O("img",{onload:function(){var t=l[s.chartIndex];0===this.width&&(_(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this)),g[m]={width:this.width,height:this.height},b.imgwidth=this.width,b.imgheight=this.height,b.element&&v(b),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return p},r.prototype.clipRect=function(t,e,r,n){var i=R()+"-",o=this.createElement("clipPath").attr({id:i}).add(this.defs);return(t=this.rect(t,e,r,n,0).add(o)).id=i,t.clipPath=o,t.count=0,t},r.prototype.text=function(t,e,r,n){var i={};return!n||!this.allowHTML&&this.forExport?(i.x=Math.round(e||0),r&&(i.y=Math.round(r)),S(t)&&(i.text=t),t=this.createElement("text").attr(i),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,r){for(var n,i=r.getElementsByTagName("tspan"),o=r.getAttribute(e),a=0;a<i.length;a++)(n=i[a]).getAttribute(e)===o&&n.setAttribute(e,t);r.setAttribute(e,t)}),t):this.html(t,e,r)},r.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&i.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?D(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},r.prototype.rotCorr=function(t,e,r){var n=t;return e&&r&&(n=Math.max(n*Math.cos(e*f),4)),{x:-t/3*Math.sin(e*f),y:n}},r.prototype.pathToSegments=function(t){for(var e=[],r=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i<t.length;i++)A(r[0])&&C(t[i])&&r.length===n[r[0].toUpperCase()]&&t.splice(i,0,r[0].replace("M","L").replace("m","l")),"string"===typeof t[i]&&(r.length&&e.push(r.slice(0)),r.length=0),r.push(t[i]);return e.push(r.slice(0)),e},r.prototype.label=function(t,e,r,n,i,a,s,c,u){return new o(this,t,e,r,n,i,a,s,c,u)},r.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},r}(),E(r.prototype,{Element:i,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:b}),n.registerRendererType("svg",r,!0),r})),e(r,"Core/Renderer/HTML/HTMLElement.js",[r["Core/Globals.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,c=r.css,u=r.defined,l=r.extend,f=r.pick,h=r.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var r=e.prototype,n=t.prototype;n.getSpanCorrection=r.getSpanCorrection,n.htmlCss=r.htmlCss,n.htmlGetBBox=r.htmlGetBBox,n.htmlUpdateTransform=r.htmlUpdateTransform,n.setSpanRotation=r.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,r){this.xCorr=-t*r,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,r=f(e&&t.width,void 0);if(e){delete t.width,this.textWidth=r;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=l(this.styles,t),c(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,r=this.translateX||0,n=this.translateY||0,i=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],l=this.styles;if(l=l&&l.whiteSpace,c(e,{marginLeft:r,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){c(t,{marginLeft:r+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(r){t.invertChild(r,e)})),"SPAN"===e.tagName){var f=this.rotation,d=this.textWidth&&h(this.textWidth),p=[f,a,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,d!==this.oldTextWidth){if(this.textPxLength)var b=this.textPxLength;else c(e,{width:"",whiteSpace:l||"nowrap"}),b=e.offsetWidth;(d>this.oldTextWidth||b>d)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(c(e,{width:b>d||f?d+"px":"auto",display:"block",whiteSpace:l||"normal"}),this.oldTextWidth=d,m=!0)}this.hasBoxWidthChanged=m,p!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!u(f)||f===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(f,s,m),this.getSpanCorrection(!u(f)&&this.textPxLength||e.offsetWidth,m,s,f,a)),c(e,{left:i+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=p,this.oldRotation=f,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,r){var n={},u=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":i?"MozTransform":s.opera?"-o-transform":void 0;u&&(n[u]=n.transform="rotate("+t+"deg)",n[u+(i?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+r+"px",c(this.element,n))},e.composedClasses=[],e}(e)})),e(r,"Core/Renderer/HTML/HTMLRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.attr,a=n.createElement,s=n.extend,c=n.pick;return function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return i(n,r),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(r,n,i){var u=this.createElement("span"),l=u.element,f=u.renderer,h=f.isSVG,d=function(t,r){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(i,o,a){var s=t.div?t.div.style:r;e.prototype[n+"Setter"].call(this,i,o,a),s&&(s[o]=i)}})),t.addedSetters=!0};return u.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,c(e,"")),this.textStr=e,u.doTransform=!0)},h&&d(u,u.element.style),u.xSetter=u.ySetter=u.alignSetter=u.rotationSetter=function(t,e){"align"===e?u.alignValue=u.textAlign=t:u[e]=t,u.doTransform=!0},u.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},u.attr({text:r,x:Math.round(n),y:Math.round(i)}).css({position:"absolute"}),f.styledMode||u.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),l.style.whiteSpace="nowrap",u.css=u.htmlCss,h&&(u.add=function(t){var e=f.box.parentNode,r=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)r.push(t),t=t.parentGroup;r.reverse().forEach((function(t){function i(e,r){t[r]=e,"translateX"===r?f.left=e+"px":f.top=e+"px",t.doTransform=!0}var c=o(t.element,"class"),l=t.styles||{},f=(n=t.div=t.div||a("div",c?{className:c}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:l.cursor,pointerEvents:l.pointerEvents,visibility:t.visibility},n||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return r[0].div&&u.on.apply({element:r[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:i,translateYSetter:i}),t.addedSetters||d(t)}))}}else n=e;return n.appendChild(l),u.added=!0,u.alignOnAdd&&u.htmlUpdateTransform(),u}),u},n.composedClasses=[],n}(r)})),e(r,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(r,"Core/Foundation.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.isFunction,i=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},i(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(o(t,i,t.eventOptions[i]),delete t.eventOptions[i]),n(e)&&(t.eventOptions[i]=e,r(t,i,e)))}))}}(e||(e={})),e})),e(r,"Core/Axis/Tick.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.deg2rad,i=r.clamp,o=r.correctFloat,a=r.defined,s=r.destroyObjectProperties,c=r.extend,u=r.fireEvent,l=r.isNumber,f=r.merge,h=r.objectEach,d=r.pick;return e=function(){function e(t,e,r,n,i){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=r||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,u(this,"init"),r||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,r=e.axis,n=r.options,i=r.chart,s=r.categories,f=r.logarithmic,h=r.names,p=e.pos,m=d(e.options&&e.options.labels,n.labels),b=r.tickPositions,v=p===b[0],g=p===b[b.length-1],y=(!m.step||1===m.step)&&1===r.tickInterval;b=b.info;var w,x=e.label;if(s=this.parameters.category||(s?d(s[p],h[p],p):p),f&&l(s)&&(s=o(f.lin2log(s))),r.dateTime)if(b)var O=i.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&b.higherRanks[p]||b.unitName]),_=O.main;else l(s)&&(_=r.dateTime.getXDateFormat(s,n.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=g;var S={axis:r,chart:i,dateTimeLabelFormat:_,isFirst:v,isLast:g,pos:p,tick:e,tickPositionInfo:b,value:s};u(this,"labelFormat",S);var k=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=r.defaultLabelFormatter.call(e),t.format(m.format,e,i)):r.defaultLabelFormatter.call(e,e)};n=k.call(S,S);var E=O&&O.list;e.shortenLabel=E?function(){for(w=0;w<E.length;w++)if(c(S,{dateTimeLabelFormat:E[w]}),x.attr({text:k.call(S,S)}),x.getBBox().width<r.getSlotWidth(e)-2*m.padding)return;x.attr({text:""})}:void 0,y&&r._addedPlotLB&&e.moveLabel(n,m),a(x)||e.movedLabel?x&&x.textStr!==n&&!y&&(!x.textWidth||m.style.width||x.styles.width||x.css({width:null}),x.attr({text:n}),x.textPxLength=x.getBBox().width):(e.label=x=e.createLabel({x:0,y:0},n,m),e.rotation=0)},e.prototype.createLabel=function(t,e,r){var n=this.axis,i=n.chart;return(t=a(e)&&r.enabled?i.renderer.text(e,t.x,t.y,r.useHTML).add(n.labelGroup):null)&&(i.styledMode||t.css(f(r.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,r,n){var a=this.axis,s=a.chart,c=n&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+r,null,null,n)+a.transB):a.left+a.offset+(a.opposite?(n&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?c-a.bottom+a.offset-(a.opposite?a.height:0):o(c-a.translate(e+r,null,null,n)-a.transB)}).y=i(t.y,-1e5,1e5),u(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,r,i,o,s,c,l){var f=this.axis,h=f.transA,d=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,p=f.staggerLines,m=f.tickRotCorr||{x:0,y:0},b=i||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),v={},g=o.y;return a(g)||(g=0===f.side?r.rotation?-8:-r.getBBox().height:2===f.side?m.y+8:Math.cos(r.rotation*n)*(m.y-r.getBBox(!1,0).height/2)),t=t+o.x+b+m.x-(s&&i?s*h*(d?-1:1):0),e=e+g-(s&&!i?s*h*(d?1:-1):0),p&&(r=c/(l||1)%p,f.opposite&&(r=p-r-1),e+=f.labelOffset/p*r),v.x=t,v.y=Math.round(e),u(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:c}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,r,n,i,o){return o.crispLine([["M",t,e],["L",t+(i?0:-r),e+(i?r:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,r=e.options.labels,i=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=d(e.labelLeft,Math.min(e.pos,a[3]));a=d(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var c,u=this.label,l=this.rotation,f={left:0,center:.5,right:1}[e.labelAlign||u.attr("align")],h=u.getBBox().width,p=e.getSlotWidth(this),m={},b=p,v=1;l||"justify"!==r.overflow?0>l&&i-f*h<s?c=Math.round(i/Math.cos(l*n)-s):0<l&&i+f*h>a&&(c=Math.round((o-i)/Math.cos(l*n))):(o=i+(1-f)*h,i-f*h<s?b=t.x+b*(1-f)-s:o>a&&(b=a-t.x+b*f,v=-1),(b=Math.min(p,b))<p&&"center"===e.labelAlign&&(t.x+=v*(p-b-f*(p-Math.min(h,b)))),(h>b||e.autoRotation&&(u.styles||{}).width)&&(c=b)),c&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(c)+"px",(r.style||{}).textOverflow||(m.textOverflow="ellipsis"),u.css(m)))},e.prototype.moveLabel=function(t,e){var r=this,n=r.label,i=r.axis,o=i.reversed,a=!1;if(n&&n.textStr===t?(r.movedLabel=n,a=!0,delete r.label):h(i.ticks,(function(e){a||e.isNew||e===r||!e.label||e.label.textStr!==t||(r.movedLabel=e.label,a=!0,e.labelPos=r.movedLabel.xy,delete e.label)})),!a&&(r.labelPos||n)){var s=r.labelPos||n.xy;n=i.horiz?o?0:i.width+i.left:s.x,i=i.horiz?s.y:o?i.width+i.left:0,r.movedLabel=r.createLabel({x:n,y:i},t,e),r.movedLabel&&r.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,r){var n=this.axis,i=n.horiz,o=this.pos,a=d(this.tickmarkOffset,n.tickmarkOffset);a=(o=this.getPosition(i,o,a,e)).x;var s=o.y;n=i&&a===n.pos+n.len||!i&&s===n.pos?-1:1,i=d(r,this.label&&this.label.newOpacity,1),r=d(r,1),this.isActive=!0,this.renderGridLine(e,r,n),this.renderMark(o,r,n),this.renderLabel(o,e,i,t),this.isNew=!1,u(this,"afterRender")},e.prototype.renderGridLine=function(t,e,r){var n=this.axis,i=n.options,o={},a=this.pos,s=this.type,c=d(this.tickmarkOffset,n.tickmarkOffset),u=n.chart.renderer,l=this.gridLine,f=i.gridLineWidth,h=i.gridLineColor,p=i.gridLineDashStyle;"minor"===this.type&&(f=i.minorGridLineWidth,h=i.minorGridLineColor,p=i.minorGridLineDashStyle),l||(n.chart.styledMode||(o.stroke=h,o["stroke-width"]=f||0,o.dashstyle=p),s||(o.zIndex=1),t&&(e=0),this.gridLine=l=u.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(n.gridGroup)),l&&(r=n.getPlotLinePath({value:a+c,lineWidth:l.strokeWidth()*r,force:"pass",old:t}))&&l[t||this.isNew?"attr":"animate"]({d:r,opacity:e})},e.prototype.renderMark=function(t,e,r){var n=this.axis,i=n.options,o=n.chart.renderer,a=this.type,s=n.tickSize(a?a+"Tick":"tick"),c=t.x;t=t.y;var u=d(i["minor"!==a?"tickWidth":"minorTickWidth"],!a&&n.isXAxis?1:0);i=i["minor"!==a?"tickColor":"minorTickColor"];var l=this.mark,f=!l;s&&(n.opposite&&(s[0]=-s[0]),l||(this.mark=l=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||l.attr({stroke:i,"stroke-width":u})),l[f?"attr":"animate"]({d:this.getMarkPath(c,t,s[0],l.strokeWidth()*r,n.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,r,n){var i=this.axis,o=i.horiz,a=i.options,s=this.label,c=a.labels,u=c.step;i=d(this.tickmarkOffset,i.tickmarkOffset);var f=t.x;t=t.y;var h=!0;s&&l(f)&&(s.xy=t=this.getLabelPosition(f,t,s,o,c,i,n,u),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?h=!1:!o||c.step||c.rotation||e||0===r||this.handleOverflow(t),u&&n%u&&(h=!1),h&&l(t.y)?(t.opacity=r,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,r=e.reversed;if(t&&!this.isNew){var n=e.horiz?r?e.left:e.width+e.left:t.xy.x;r=e.horiz?t.xy.y:r?e.width+e.top:e.top,t.animate({x:n,y:r,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(r,"Core/Axis/Axis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/AxisDefaults.js"],r["Core/Color/Color.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Axis/Tick.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s){var c=t.animObject,u=n.defaultOptions,l=i.registerEventOptions,f=o.deg2rad,h=s.arrayMax,d=s.arrayMin,p=s.clamp,m=s.correctFloat,b=s.defined,v=s.destroyObjectProperties,g=s.erase,y=s.error,w=s.extend,x=s.fireEvent,O=s.getMagnitude,_=s.isArray,S=s.isNumber,k=s.isString,E=s.merge,M=s.normalizeTickInterval,C=s.objectEach,j=s.pick,A=s.relativeLength,T=s.removeEvent,P=s.splat,D=s.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var r=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!r:r,this.isXAxis=r,this.coll=this.coll||(r?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),this.opposite=j(e.opposite,this.opposite),this.side=j(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,i=n.labels,o=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=j(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===o||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=j(n.crosshair,P(t.options.tooltip.crosshairs)[r?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(r?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&r&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=S(i.rotation)?i.rotation:void 0,l(this,n),x(this,"afterInit")},t.prototype.setOptions=function(t){this.options=E(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],E(u[this.coll],t)),x(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var r=S(this.value)?this.value:NaN,n=e.chart.time,i=this.dateTimeLabelFormat,o=u.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(r):e.tickInterval,c=a&&a.length;if(e.categories)var l=""+this.value;else if(i)l=n.dateFormat(i,r);else if(c&&1e3<=s)for(;c--&&"undefined"===typeof l;)s>=(e=Math.pow(o,c+1))&&0===10*r%e&&null!==a[c]&&0!==r&&(l=t(r/e,-1)+a[c]);return"undefined"===typeof l&&(l=1e4<=Math.abs(r)?t(r,-1):t(r,-1,void 0,"")),l},t.prototype.getSeriesExtremes=function(){var t,e=this,r=e.chart;x(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!r.options.chart.ignoreHiddenSeries){var i=n.options,o=i.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((i=n.xData).length){i=e.logarithmic?i.filter(e.validatePositiveValue):i;var a=(t=n.getXExtremes(i)).min,s=t.max;S(a)||a instanceof Date||(i=i.filter(S),a=(t=n.getXExtremes(i)).min,s=t.max),i.length&&(e.dataMin=Math.min(j(e.dataMin,a),a),e.dataMax=Math.max(j(e.dataMax,s),s))}}else n=n.applyExtremes(),S(n.dataMin)&&(a=n.dataMin,e.dataMin=Math.min(j(e.dataMin,a),a)),S(n.dataMax)&&(s=n.dataMax,e.dataMax=Math.max(j(e.dataMax,s),s)),b(o)&&(e.threshold=o),(!i.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,r,n,i,o){var a=this.linkedParent||this,s=n&&a.old?a.old.min:a.min,c=a.minPixelPadding;i=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&i)&&a.lin2val;var u=1,l=0;return(n=n&&a.old?a.old.transA:a.transA)||(n=a.transA),r&&(u*=-1,l=a.len),a.reversed&&(l-=(u*=-1)*(a.sector||a.len)),e?(t=(t*u+l-c)/n+s,i&&(t=a.lin2val(t))):(i&&(t=a.val2lin(t)),t=S(s)?u*(t-s)*n+l+u*c+(S(o)?n*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,r){return("pass"!==y&&t<e||t>r)&&(y?t=p(t,e,r):a=!0),t}var r,n,i,o,a,s=this,c=s.chart,u=s.left,l=s.top,f=t.old,h=t.value,d=t.lineWidth,m=f&&c.oldChartHeight||c.chartHeight,b=f&&c.oldChartWidth||c.chartWidth,v=s.transB,g=t.translatedValue,y=t.force;return t={value:h,lineWidth:d,old:f,force:y,acrossPanes:t.acrossPanes,translatedValue:g},x(this,"getPlotLinePath",t,(function(t){g=j(g,s.translate(h,null,null,f)),g=p(g,-1e5,1e5),r=i=Math.round(g+v),n=o=Math.round(m-g-v),S(g)?s.horiz?(n=l,o=m-s.bottom,r=i=e(r,u,u+s.width)):(r=u,i=b-s.right,n=o=e(n,l,l+s.height)):(a=!0,y=!1),t.path=a&&!y?null:c.renderer.crispLine([["M",r,n],["L",i,o]],d||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,r){var n=m(Math.floor(e/t)*t);r=m(Math.ceil(r/t)*t);var i,o=[];if(m(n+t)===n&&(i=20),this.single)return[e];for(e=n;e<=r&&(o.push(e),(e=m(e+t,i))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?j(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,r=this.minorTickInterval,n=this.pointRangePadding||0,i=this.min-n,o=(n=this.max+n)-i,a=[];if(o&&o/r<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,n){e&&a.push.apply(a,s.getLogTickPositions(r,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(r),i,n,t.startOfWeek));else for(t=i+(e[0]-i)%r;t<=n&&t!==a[0];t+=r)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,r,n,i=this.options,o=this.logarithmic,a=this.min,s=this.max,c=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!o&&(b(i.min)||b(i.max)||b(i.floor)||b(i.ceiling)?this.minRange=null:(this.series.forEach((function(i){if(r=i.xData,n=i.xIncrement?1:r.length-1,1<r.length)for(t=n;0<t;t--)e=r[t]-r[t-1],(!c||e<c)&&(c=e)})),this.minRange=Math.min(5*c,this.dataMax-this.dataMin))),s-a<this.minRange){var u=this.dataMax-this.dataMin>=this.minRange,l=this.minRange,f=(l-s+a)/2;f=[a-f,j(i.min,a-f)],u&&(f[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=h(f))+l,j(i.max,a+l)],u&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=d(s))-a<l&&(f[0]=s-l,f[1]=j(i.min,s-l),a=h(f))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var r=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&b(r)&&n&&(t=b(t)?Math.min(t,r):r)})),t},t.prototype.nameToX=function(t){var e=_(this.categories),r=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,b(n)||(n=this.options.uniqueNames?e?r.indexOf(t.name):j(r.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e)var i=r.length}else i=n;return"undefined"!==typeof i&&(this.names[i]=t.name,this.names.keys[t.name]=i),i},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(r,n){if(r&&r.options&&"undefined"!==typeof r.name){var i=t.nameToX(r);"undefined"!==typeof i&&i!==r.x&&(r.x=i,e.xData[n]=i)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,r=t.linkedParent,n=!!t.categories,i=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,c=t.transA;if(i||n||o){var u=t.getClosest();r?(a=r.minPointOffset,s=r.pointRangePadding):t.series.forEach((function(e){var r=n?1:i?j(e.options.pointRange,u,0):t.axisPointRange||0,c=e.options.pointPlacement;o=Math.max(o,r),t.single&&!n||(e=e.is("xrange")?!i:i,a=Math.max(a,e&&k(c)?0:r/2),s=Math.max(s,e&&"on"===c?0:r))})),r=t.ordinal&&t.ordinal.slope&&u?t.ordinal.slope/u:1,t.minPointOffset=a*=r,t.pointRangePadding=s*=r,t.pointRange=Math.min(o,t.single&&n?1:e),i&&(t.closestPointRange=u)}t.translationSlope=t.transA=c=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=c*a,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,r=this.logarithmic,n=this.options,i=this.isXAxis,o=this.isLinked,a=n.tickPixelInterval,s=this.categories,c=this.softThreshold,u=n.maxPadding,l=n.minPadding,f=S(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,h=S(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var d=j(this.userMin,n.min),p=j(this.userMax,n.max);if(o){this.linkedParent=e[this.coll][n.linkedTo];var v=this.linkedParent.getExtremes();this.min=j(v.min,v.dataMin),this.max=j(v.max,v.dataMax),n.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(c&&b(h))if(this.dataMin>=h)v=h,l=0;else if(this.dataMax<=h){var g=h;u=0}this.min=j(d,v,this.dataMin),this.max=j(p,g,this.dataMax)}if(r&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,j(this.dataMin,this.min))&&y(10,1,e),this.min=m(r.log2lin(this.min),16),this.max=m(r.log2lin(this.max),16)),this.range&&b(this.max)&&(this.userMin=this.min=d=Math.max(this.dataMin,this.minFromRange()),this.userMax=p=this.max,this.range=null),x(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&b(this.min)&&b(this.max)&&(e=this.max-this.min)&&(!b(d)&&l&&(this.min-=e*l),!b(p)&&u&&(this.max+=e*u)),S(this.userMin)||(S(n.softMin)&&n.softMin<this.min&&(this.min=d=n.softMin),S(n.floor)&&(this.min=Math.max(this.min,n.floor))),S(this.userMax)||(S(n.softMax)&&n.softMax>this.max&&(this.max=p=n.softMax),S(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),c&&b(this.dataMin)&&(h=h||0,!b(d)&&this.min<h&&this.dataMin>=h?this.min=this.options.minRange?Math.min(h,this.max-this.minRange):h:!b(p)&&this.max>h&&this.dataMax<=h&&(this.max=this.options.minRange?Math.max(h,this.min+this.minRange):h)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(b(this.options.min)?this.max=this.min:b(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:o&&this.linkedParent&&!f&&a===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:j(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),i&&!t){var w=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(w)})),x(this,"postProcessData",{hasExtemesChanged:w})}this.setAxisTranslation(),x(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=j(n.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!f&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||f||(this.tickInterval=M(this.tickInterval,void 0,O(this.tickInterval),j(n.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,r=this.getMinorTickInterval(),n=this.hasVerticalPanning(),i="colorAxis"===this.coll,o=(i||!n)&&t.startOnTick;n=(i||!n)&&t.endOnTick,i=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=r=e&&e.slice(),!r&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?r=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(r=[this.min,this.max],y(19,!1,this.chart)),r.length>this.len&&((r=[r[0],r.pop()])[0]===r[1]&&(r.length=1)),this.tickPositions=r,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=r=i),this.paddedTicks=r.slice(0),this.trimTicks(r,o,n),this.isLinked||(this.single&&2>r.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||i||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,r){var n=t[0],i=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-o>t[0];)t.shift();if(r)this.max=i;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&b(n)&&!this.options.tickPositions&&t.push((i+n)/2)}},t.prototype.alignToOthers=function(){var t,e={},r=this.options;return!1!==this.chart.options.chart.alignTicks&&r.alignTicks&&!1!==r.startOnTick&&!1!==r.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(r){var n=r.options;n=[r.horiz?n.left:n.top,n.width,n.height,n.pane].join(),r.series.length&&(e[n]?t=!0:e[n]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,r=t.tickAmount;!b(t.tickInterval)&&!r&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(r=2),!r&&this.alignToOthers()&&(r=Math.ceil(this.len/e)+1),4>r&&(this.finalTickAmt=r,r=5),this.tickAmount=r},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,r=this.tickPositions,n=this.tickAmount,i=this.finalTickAmt,o=r&&r.length,a=j(this.threshold,this.softThreshold?0:null);if(this.hasData()&&S(this.min)&&S(this.max)){if(o<n){for(;r.length<n;)r.length%2||this.min===a?r.push(m(r[r.length-1]+e)):r.unshift(m(r[0]-e));this.transA*=(o-1)/(n-1),this.min=t.startOnTick?r[0]:Math.min(this.min,r[0]),this.max=t.endOnTick?r[r.length-1]:Math.max(this.max,r[r.length-1])}else o>n&&(this.tickInterval*=2,this.setTickPositions());if(b(i)){for(e=t=r.length;e--;)(3===i&&1===e%2||2>=i&&0<e&&e<t-1)&&r.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(r){t=t||r.isDirtyData||r.isDirty,e=e||r.xAxis&&r.xAxis.isDirty||!1})),this.setAxisSize();var r=this.len!==(this.old&&this.old.len);r||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=r||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,r,n,i){var o=this,a=o.chart;r=j(r,!0),o.series.forEach((function(t){delete t.kdTree})),i=w(i,{min:t,max:e}),x(o,"setExtremes",i,(function(){o.userMin=t,o.userMax=e,o.eventArgs=i,r&&a.redraw(n)}))},t.prototype.zoom=function(t,e){var r=this,n=this.dataMin,i=this.dataMax,o=this.options,a=Math.min(n,j(o.min,n)),s=Math.max(i,j(o.max,i));return x(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===r.min&&o===r.max||(r.allowZoomOutside||(b(n)&&(e<a&&(e=a),e>s&&(e=s)),b(i)&&(o<a&&(o=a),o>s&&(o=s))),r.displayBtn="undefined"!==typeof e||"undefined"!==typeof o,r.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,r=e.offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(A(j(e.width,t.plotWidth-r[3]+r[1]),t.plotWidth)),o=this.height=Math.round(A(j(e.height,t.plotHeight-r[0]+r[2]),t.plotHeight)),a=this.top=Math.round(A(j(e.top,t.plotTop+r[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(A(j(e.left,t.plotLeft+r[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-i-e,this.len=Math.max(n?i:o,0),this.pos=n?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,r=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=r:1/0===t?t=e:r>t?t=r:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(j(t,0)-90*this.side+720)%360;return x(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,r=j(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(r&&n){"inside"===e[t+"Position"]&&(n=-n);var i=[n,r]}return x(this,"afterTickSize",t={tickSize:i}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,r=this.options.labels,n=this.horiz,i=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/i),a=r.rotation,s=this.labelMetrics(),c=Math.max(this.max-this.min,0),u=function(t){var e=t/(o||1);return(e=1<e?Math.ceil(e):1)*i>c&&1/0!==t&&1/0!==o&&c&&(e=Math.ceil(c/i)),m(e*i)},l=i,h=Number.MAX_VALUE;if(n){if(!r.staggerLines&&!r.step)if(S(a))var d=[a];else o<r.autoRotationLimit&&(d=r.autoRotation);d&&d.forEach((function(r){if(r===a||r&&-90<=r&&90>=r){var n=(e=u(Math.abs(s.h/Math.sin(f*r))))+Math.abs(r/360);n<h&&(h=n,t=r,l=e)}}))}else r.step||(l=u(s.h));return this.autoRotation=d,this.labelRotation=j(t,S(a)?a:0),l},t.prototype.getSlotWidth=function(t){var e=this.chart,r=this.horiz,n=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(r&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/i;if(!r){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,r=this.tickPositions,n=this.ticks,i=this.options.labels,o=i.style,a=this.horiz,s=this.getSlotWidth(),c=Math.max(1,Math.round(s-2*i.padding)),u={},l=this.labelMetrics(),f=o.textOverflow,h=0;if(k(i.rotation)||(u.rotation=i.rotation||0),r.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>h&&(h=t.label.textPxLength)})),this.maxLabelLength=h,this.autoRotation)h>c&&h>l.h?u.rotation=this.labelRotation:this.labelRotation=0;else if(s){var d=c;if(!f){var p="clip";for(c=r.length;!a&&c--;){var m=r[c];(m=n[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/r.length-(l.h-l.f)&&(m.specificTextOverflow="ellipsis"))}}}u.rotation&&(d=h>.5*t.chartHeight?.33*t.chartHeight:h,f||(p="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(u.align=this.labelAlign),r.forEach((function(t){var e=(t=n[t])&&t.label,r=o.width,i={};e&&(e.attr(u),t.shortenLabel?t.shortenLabel():d&&!r&&"nowrap"!==o.whiteSpace&&(d<e.textPxLength||"SPAN"===e.element.tagName)?(i.width=d+"px",f||(i.textOverflow=e.specificTextOverflow||p),e.css(i)):e.styles&&e.styles.width&&!i.width&&!r&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=u.rotation)}),this),this.tickRotCorr=e.rotCorr(l.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&b(this.min)&&b(this.max)},t.prototype.addTitle=function(t){var e,r=this.chart.renderer,n=this.horiz,i=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=r.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,r=e.chart,n=e.horiz,i=e.options,o=e.side,a=e.ticks,s=e.tickPositions,c=e.coll,u=e.axisParent,l=r.renderer,f=r.inverted&&!e.isZAxis?[1,0,3,2][o]:o,h=e.hasData(),d=i.title,p=i.labels,m=r.axisOffset;r=r.clipOffset;var v,g=[-1,1,1,-1][o],y=i.className,w=0,O=0,_=0;if(e.showAxis=v=h||i.showEmpty,e.staggerLines=e.horiz&&p.staggerLines||void 0,!e.axisGroup){var S=function(e,r,n){return l.g(e).attr({zIndex:n}).addClass("highcharts-"+c.toLowerCase()+r+" "+(t.isRadial?"highcharts-radial-axis"+r+" ":"")+(y||"")).add(u)};e.gridGroup=S("grid","-grid",i.gridZIndex),e.axisGroup=S("axis","",i.zIndex),e.labelGroup=S("axis-labels","-labels",p.zIndex)}if(h||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,j(p.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){_=Math.max(a[t].getLabelSize(),_)})),e.staggerLines&&(_*=e.staggerLines),e.labelOffset=_*(e.opposite?-1:1)):C(a,(function(t,e){t.destroy(),delete a[e]})),d&&d.text&&!1!==d.enabled&&(e.addTitle(v),v&&!1!==d.reserveSpace)){e.titleOffset=w=e.axisTitle.getBBox()[n?"height":"width"];var k=d.offset;O=b(k)?0:j(d.margin,n?5:10)}e.renderLine(),e.offset=g*j(i.offset,m[o]?m[o]+(i.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},d=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,h=Math.abs(_)+O,_&&(h=h-d+g*(n?j(p.y,e.tickRotCorr.y+8*g):p.x)),e.axisTitleMargin=j(k,h),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==c&&(n=this.tickSize("tick"),m[o]=Math.max(m[o],(e.axisTitleMargin||0)+w+g*e.offset,h,s&&s.length&&n?n[0]+g*e.offset:0),i=!e.axisLine||i.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),r[f]=Math.max(r[f],i)),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,r=this.opposite,n=this.offset,i=this.horiz,o=this.left+(r?this.width:0)+n;return n=e.chartHeight-this.bottom-(r?this.height:0)+n,r&&(t*=-1),e.renderer.crispLine([["M",i?this.left:o,i?n:this.top],["L",i?e.chartWidth-this.right:o,i?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,r=this.top,n=this.len,i=this.options.title,o=t?e:r,a=this.opposite,s=this.offset,c=i.x,u=i.y,l=this.axisTitle,f=this.chart.renderer.fontMetrics(i.style.fontSize,l);return l=Math.max(l.getBBox(null,0).height-f.h-1,0),n={low:o+(t?0:n),middle:o+n/2,high:o+(t?n:0)}[i.align],e=(t?r+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-l,l,f.f,-l][this.side],t={x:t?n+c:e+(a?this.width:0)+s+c,y:t?e+u-(a?this.height:0)+s:n+u},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var r=this.minorTicks;r[t]||(r[t]=new a(this,t,"minor")),e&&r[t].isNew&&r[t].render(null,!0),r[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,r){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new a(this,t)),r&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,r=this,n=r.chart,i=r.logarithmic,s=r.options,u=r.isLinked,l=r.tickPositions,f=r.axisTitle,h=r.ticks,d=r.minorTicks,p=r.alternateBands,m=s.stackLabels,b=s.alternateGridColor,v=r.tickmarkOffset,g=r.axisLine,y=r.showAxis,w=c(n.renderer.globalAnimation);if(r.labelEdge.length=0,r.overlap=!1,[h,d,p].forEach((function(t){C(t,(function(t){t.isActive=!1}))})),r.hasData()||u){var O=r.chart.hasRendered&&r.old&&S(r.old.min);r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach((function(t){r.renderMinorTick(t,O)})),l.length&&(l.forEach((function(t,e){r.renderTick(t,e,O)})),v&&(0===r.min||r.single)&&(h[-1]||(h[-1]=new a(r,-1,null,!0)),h[-1].render(-1))),b&&l.forEach((function(a,s){e="undefined"!==typeof l[s+1]?l[s+1]+v:r.max-v,0===s%2&&a<r.max&&e<=r.max+(n.polar?-v:v)&&(p[a]||(p[a]=new o.PlotLineOrBand(r)),t=a+v,p[a].options={from:i?i.lin2log(t):t,to:i?i.lin2log(e):e,color:b,className:"highcharts-alternate-grid"},p[a].render(),p[a].isActive=!0)})),r._addedPlotLB||(r._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)})))}[h,d,p].forEach((function(t){var e=[],r=w.duration;C(t,(function(t,r){t.isActive||(t.render(r,!1,0),t.isActive=!1,e.push(r))})),D((function(){for(var r=e.length;r--;)t[e[r]]&&!t[e[r]].isActive&&(t[e[r]].destroy(),delete t[e[r]])}),t!==p&&n.hasRendered&&r?r:0)})),g&&(g[g.isPlaced?"animate":"attr"]({d:this.getLinePath(g.strokeWidth())}),g.isPlaced=!0,g[y?"show":"hide"](y)),f&&y&&(s=r.getTitlePosition(),S(s.y)?(f[f.isNew?"attr":"animate"](s),f.isNew=!1):(f.attr("y",-9999),f.isNew=!0)),m&&m.enabled&&r.stacking&&r.stacking.renderStackTotals(),r.old={len:r.len,max:r.max,min:r.min,transA:r.transA,userMax:r.userMax,userMin:r.userMin},r.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,r=e.plotLinesAndBands,n=this.eventOptions;if(x(this,"destroy",{keepEvents:t}),t||T(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){v(t)})),r)for(t=r.length;t--;)r[t].destroy();for(var i in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[i]=e.plotLinesAndBandsGroups[i].destroy();C(e,(function(t,r){-1===e.getKeepProps().indexOf(r)&&delete e[r]})),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,i=this.crosshair,o=j(i&&i.snap,!0),a=this.chart,s=this.cross;if(x(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),i&&!1!==(b(e)||!o)){if(o?b(e)&&(n=j("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),b(n)){var c={value:e&&(this.isXAxis?e.x:j(e.stackY,e.y)),translatedValue:n};a.polar&&w(c,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),c=this.getPlotLinePath(c)||null}if(!b(c))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(i.className||"")).attr({zIndex:j(i.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:i.color||(o?r.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":j(i.width,1)}).css({"pointer-events":"none"}),i.dashStyle&&s.attr({dashstyle:i.dashStyle}))),s.show().attr({d:c}),o&&!i.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var r=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(r,t),r.isDirtyBox=!0,j(e,!0)&&r.redraw()},t.prototype.remove=function(t){for(var e=this.chart,r=this.coll,n=this.series,i=n.length;i--;)n[i]&&n[i].remove(!1);g(e.axes,this),g(e[r],this),e[r].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,j(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(r,"Core/Axis/DateTimeAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new c(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,r(t,"init",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var r=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=r[r.length-1];var a,s=o[e[0]],c=e[1];for(a=0;a<r.length&&(e=r[a],s=o[e[0]],c=e[1],!(r[a+1]&&t<=(s*c[c.length-1]+o[r[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(c=[1,2,5]),{unitRange:s,count:t=i(t/s,c,"year"===e[0]?Math.max(n(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var r=this.axis;return r.closestPointRange?r.chart.time.getDateFormat(r.closestPointRange,t,r.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/LogarithmicAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new c(this))}function a(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("logarithmic"),r(t,"init",e),r(t,"afterInit",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,r,a){var s=this.axis,c=s.len,u=s.options,l=[];if(a||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),l=s.getLinearTickPositions(t,e,r);else if(.08<=t){var f,h=Math.floor(e),d=u=void 0;for(c=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];h<r+1&&!d;h++){var p=c.length;for(f=0;f<p&&!d;f++){var m=this.log2lin(this.lin2log(h)*c[f]);m>e&&(!a||u<=r)&&"undefined"!==typeof u&&l.push(u),u>r&&(d=!0),u=m}}}else e=this.lin2log(e),r=this.lin2log(r),t=a?s.getMinorTickInterval():u.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,u.tickPixelInterval/(a?5:1)*(r-e)/((a?c/s.tickPositions.length:c)||1)),t=i(t,void 0,n(t)),l=s.getLinearTickPositions(t,e,r).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),l},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.erase,n=t.extend,i=t.isNumber;return function(t){var e,o=[];t.compose=function(t,r){return e||(e=t),-1===o.indexOf(r)&&(o.push(r),n(r.prototype,a.prototype)),r};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,r){void 0===r&&(r=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:r.acrossPanes}),o=[],a=this.horiz;if(e=!i(this.min)||!i(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:r.acrossPanes}),r=1,t&&n){if(e){var s=t.toString()===n.toString();r=0}for(e=0;e<t.length;e+=2){var c=t[e],u=t[e+1],l=n[e],f=n[e+1];"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==f[0]&&"L"!==f[0]||(a&&l[1]===c[1]?(l[1]+=r,f[1]+=r):a||l[2]!==c[2]||(l[2]+=r,f[2]+=r),o.push(["M",c[1],c[2]],["L",u[1],u[2]],["L",f[1],f[2]],["L",l[1],l[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,r){var n=this,i=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)}))),r){var a=i[r]||[];a.push(t),i[r]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,i=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[n.plotLines||[],i.plotLines||[],n.plotBands||[],i.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&r(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[r["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.arrayMax,n=e.arrayMin,i=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,c=e.merge,u=e.objectEach,l=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(r){return t.compose(e,r)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,r=e.horiz,n=e.logarithmic,o=t.options,a=o.color,f=l(o.zIndex,0),h=o.events,d={},p=e.chart.renderer,m=o.label,b=t.label,v=o.to,g=o.from,y=o.value,w=t.svgElem,x=[],O=i(g)&&i(v);x=i(y);var _=!w,S={class:"highcharts-plot-"+(O?"band ":"line ")+(o.className||"")},k=O?"bands":"lines";if(n&&(g=n.log2lin(g),v=n.log2lin(v),y=n.log2lin(y)),e.chart.styledMode||(x?(S.stroke=a||"#999999",S["stroke-width"]=l(o.width,1),o.dashStyle&&(S.dashstyle=o.dashStyle)):O&&(S.fill=a||"#e6ebf5",o.borderWidth&&(S.stroke=o.borderColor,S["stroke-width"]=o.borderWidth))),d.zIndex=f,k+="-"+f,(n=e.plotLinesAndBandsGroups[k])||(e.plotLinesAndBandsGroups[k]=n=p.g("plot-"+k).attr(d).add()),_&&(t.svgElem=w=p.path().attr(S).add(n)),x)x=e.getPlotLinePath({value:y,lineWidth:w.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!O)return;x=e.getPlotBandPath(g,v,o)}return!t.eventsAdded&&h&&(u(h,(function(e,r){w.on(r,(function(e){h[r].apply(t,[e])}))})),t.eventsAdded=!0),(_||!w.d)&&x&&x.length?w.attr({d:x}):w&&(x?(w.show(!0),w.animate({d:x})):w.d&&(w.hide(),b&&(t.label=b=b.destroy()))),m&&(i(m.text)||i(m.formatter))&&x&&x.length&&0<e.width&&0<e.height&&!x.isFlat?(m=c({align:r&&O&&"center",x:r?!O&&4:10,verticalAlign:!r&&O&&"middle",y:r?O?16:10:O?6:-4,rotation:r&&!O&&90},m),this.renderLabel(m,x,O,f)):b&&b.hide(),t},e.prototype.renderLabel=function(t,e,i,o){var a=this.axis,s=a.chart.renderer,u=this.label;u||(this.label=u=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||u.css(c({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=n(o),s=n(e),u.align(t,!1,{x:i,y:s,width:r(o)-i,height:r(e)-s}),u.alignValue&&"left"!==u.alignValue||u.css({width:(90===u.rotation?a.height-(u.alignAttr.y-a.top):a.width-(u.alignAttr.x-a.left))+"px"}),u.show(!0)},e.prototype.getLabelText=function(t){return i(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(r,"Core/Tooltip.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.format,a=e.doc,s=r.distribute,c=i.addEvent,u=i.clamp,l=i.css,f=i.defined,h=i.discardElement,d=i.extend,p=i.fireEvent,m=i.isArray,b=i.isNumber,v=i.isString,g=i.merge,y=i.pick,w=i.splat,x=i.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var r=e&&e.tt;r&&(!r.isActive||t?e.tt=r.destroy():r.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||w(this),r=[t.tooltipFooterHeaderFormatter(e[0])];return(r=r.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),r},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),h(this.container)),i.clearTimeout(this.hideTimer),i.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var r,n,i=this.chart,o=i.pointer,a=i.inverted,s=i.plotTop,c=i.plotLeft,u=0,l=0;return t=w(t),this.followPointer&&e?("undefined"===typeof e.chartX&&(e=o.normalize(e)),o=[e.chartX-c,e.chartY-s]):t[0].tooltipPos?o=t[0].tooltipPos:(t.forEach((function(t){r=t.series.yAxis,n=t.series.xAxis,u+=t.plotX||0,l+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&r&&(a?(u+=s+i.plotHeight-n.len-n.pos,l+=c+i.plotWidth-r.len-r.pos):(u+=n.pos-c,l+=r.pos-s))})),u/=t.length,l/=t.length,o=[a?i.plotWidth-l:u,a?i.plotHeight-u:l],this.shared&&1<t.length&&e&&(a?o[0]=e.chartX-c:o[1]=e.chartY-s)),o.map(Math.round)},t.prototype.getLabel=function(){var t,r=this,i=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s="tooltip"+(f(o.className)?" "+o.className:""),u=o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),h=function(){r.inContact=!0},d=function(t){var e=r.chart.hoverSeries;r.inContact=r.shouldStickOnContact()&&r.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!r.inContact&&e&&e.onMouseOut&&e.onMouseOut()},p=this.chart.renderer;if(r.label){var m=!r.label.hasClass("highcharts-label");(a&&!m||!a&&m)&&r.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var b=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",l(t,{position:"absolute",top:"1px",pointerEvents:u,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),c(t,"mouseenter",h),c(t,"mouseleave",d),e.doc.body.appendChild(t),this.renderer=p=new b(t,0,0,m,void 0,void 0,p.styledMode)}if(a?this.label=p.g(s):(this.label=p.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,s).attr({padding:o.padding,r:o.borderRadius}),i||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:u}).shadow(o.shadow)),i&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),r.outside&&!r.split){var v=this.label,g=v.xSetter,y=v.ySetter;v.xSetter=function(e){g.call(v,r.distance),t.style.left=e+"px"},v.ySetter=function(e){y.call(v,r.distance),t.style.top=e+"px"}}this.label.on("mouseenter",h).on("mouseleave",d).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,r){var n,i=this.chart,o=this.distance,s={},c=i.inverted&&r.h||0,u=this.outside,l=u?a.documentElement.clientWidth-2*o:i.chartWidth,f=u?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):i.chartHeight,h=i.pointer.getChartPosition(),d=function(n){var a="x"===n;return[n,a?l:f,a?t:e].concat(u?[a?t*h.scaleX:e*h.scaleY,a?h.left-o+(r.plotX+i.plotLeft)*h.scaleX:h.top-o+(r.plotY+i.plotTop)*h.scaleY,0,a?l:f]:[a?t:e,a?r.plotX+i.plotLeft:r.plotY+i.plotTop,a?i.plotLeft:i.plotTop,a?i.plotLeft+i.plotWidth:i.plotTop+i.plotHeight])},p=d("y"),m=d("x");d=!!r.negative,!i.polar&&i.hoverSeries&&i.hoverSeries.yAxis&&i.hoverSeries.yAxis.reversed&&(d=!d);var b=!this.followPointer&&y(r.ttBelow,!i.inverted===d),v=function(t,e,r,n,i,a,l){var f=u?"y"===t?o*h.scaleY:o*h.scaleX:o,d=(r-n)/2,p=n<i-o,m=i+o+n<e,v=i-f-r+d;if(i=i+f-d,b&&m)s[t]=i;else if(!b&&p)s[t]=v;else if(p)s[t]=Math.min(l-n,0>v-c?v:v-c);else{if(!m)return!1;s[t]=Math.max(a,i+c+r>e?i:i+c)}},g=function(t,e,r,n,i){var a;return i<o||i>e-o?a=!1:s[t]=i<r/2?1:i>e-n/2?e-n-2:i-r/2,a},w=function(t){var e=p;p=m,m=e,n=t};return(i.inverted||1<this.len)&&w(),function t(){!1!==v.apply(0,p)?!1!==g.apply(0,m)||n||(w(!0),t()):n?s.x=s.y=0:(w(!0),t())}(),s},t.prototype.hide=function(t){var e=this;i.clearTimeout(this.hideTimer),t=y(t,this.options.hideDelay),this.isHidden||(this.hideTimer=x((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=y(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,r,n){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),c=o.followPointer||1<o.len;d(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:c?void 0:s?(2*a.anchorX+r)/3:r,anchorY:c?void 0:s?(a.anchorY+n)/2:n}),o.getLabel().attr(a),o.drawTracker(),s&&(i.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,r,n)}),32))},t.prototype.refresh=function(t,e){var r=this.chart,n=this.options,o=w(t),a=o[0],s=[],c=n.formatter||this.defaultFormatter,u=this.shared,l=r.styledMode,f={};if(n.enabled){i.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var h=(t=this.getAnchor(t,e))[0],d=t[1];if(u&&this.allowShared?(r.pointer.applyInactiveState(o),o.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(f={x:a.category,y:a.y}).points=s):f=a.getLabelConfig(),this.len=s.length,c=c.call(f,this),u=a.series,this.distance=y(u.tooltipOptions.distance,16),!1===c)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(c,o);else{var b=h,v=d;if(e&&r.pointer.isDirectTouch&&(b=e.chartX-r.plotLeft,v=e.chartY-r.plotTop),!r.polar&&!1!==u.options.clip&&!o.some((function(t){return t.series.shouldShowTooltip(b,v)})))return void this.hide();e=this.getLabel(),n.style.width&&!l||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:c&&c.join?c.join(""):c}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(a.colorIndex,u.colorIndex)),l||e.attr({stroke:n.borderColor||a.color||u.color||"#666666"}),this.updatePosition({plotX:h,plotY:d,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}p(this,"refresh")}},t.prototype.renderSplit=function(t,e){function r(t,e,r,i,o){return void 0===o&&(o=!0),r?(e=j?0:D,t=u(t-i/2,E.left,E.right-i-(n.outside?A:0))):(e-=T,t=u(t=o?t-i-_:t+_,o?t:E.left,E.right)),{x:t,y:e}}var n=this,i=n.chart,o=n.chart,c=o.chartWidth,l=o.chartHeight,f=o.plotHeight,h=o.plotLeft,p=o.plotTop,m=o.pointer,b=o.scrollablePixelsY;b=void 0===b?0:b;var g=o.scrollablePixelsX,w=o.scrollingContainer,x=(w=void 0===w?{scrollLeft:0,scrollTop:0}:w).scrollLeft;w=w.scrollTop;var O=o.styledMode,_=n.distance,S=n.options,k=n.options.positioner,E=n.outside&&"number"!==typeof g?a.documentElement.getBoundingClientRect():{left:x,right:x+c,top:w,bottom:w+l},M=n.getLabel(),C=this.renderer||i.renderer,j=!(!i.xAxis[0]||!i.xAxis[0].opposite),A=(i=m.getChartPosition()).left;i=i.top;var T=p+w,P=0,D=f-b;v(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,i,o){if(!1!==i&&""!==i){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:f,series:{}}).isHeader,s=a?n:o.series;i=i.toString();var c=s.tt,l=o.isHeader,d=o.series,m="highcharts-color-"+y(o.colorIndex,d.colorIndex,"none");if(c||(c={padding:S.padding,r:S.borderRadius},O||(c.fill=S.backgroundColor,c["stroke-width"]=S.borderWidth),c=C.label("",0,0,S[l?"headerShape":"shape"],void 0,void 0,S.useHTML).addClass((l?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(c).add(M)),c.isActive=!0,c.attr({text:i}),O||c.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||o.color||d.color||"#333333"}),i=(l=(s=s.tt=c).getBBox()).width+s.strokeWidth(),a&&(P=l.height,D+=P,j&&(T-=P)),d=void 0===(d=o.plotX)?0:d,m=void 0===(m=o.plotY)?0:m,c=o.series,o.isHeader){d=h+d;var b=p+f/2}else{var v=c.xAxis,g=c.yAxis;d=v.pos+u(d,-_,v.len+_),c.shouldShowTooltip(0,g.pos-p+m,{ignoreX:!0})&&(b=g.pos+m)}d=u(d,E.left-_,E.right+_),"number"===typeof b?(l=l.height+1,m=k?k.call(n,i,l,o):r(d,b,a,i),t.push({align:k?0:void 0,anchorX:d,anchorY:b,boxWidth:i,point:o,rank:y(m.rank,a?1:0),size:l,target:m.y,tt:s,x:m.x})):s.isActive=!1}return t}),[]),!k&&t.some((function(t){var e=(n.outside?A:0)+t.anchorX;return e<E.left&&e+t.boxWidth<E.right||e<A-E.left+t.boxWidth&&E.right-e>e}))&&(t=t.map((function(t){var e=r(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return d(t,{target:e.y,x:e.x})}))),n.cleanSplit(),s(t,D);var R=A,L=A;t.forEach((function(t){var e=t.x,r=t.boxWidth;(t=t.isHeader)||(n.outside&&A+e<R&&(R=A+e),!t&&n.outside&&R+r>L&&(L=A+e))})),t.forEach((function(t){var e=t.x,r=t.anchorX,i=t.pos,o=t.point.isHeader;if(i={visibility:"undefined"===typeof i?"hidden":"inherit",x:e,y:i+T,anchorX:r,anchorY:t.anchorY},n.outside&&e<r){var a=A-R;0<a&&(o||(i.x=e+a,i.anchorX=r+a),o&&(i.x=(L-R)/2,i.anchorX=r+a))}t.tt.attr(i)})),t=n.container,b=n.renderer,n.outside&&t&&b&&(o=M.getBBox(),b.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=R+"px",t.style.top=i+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,r=this.shared?t.hoverPoints:t.hoverPoint;if(e&&r){var n={x:0,y:0,width:0,height:0};r=this.getAnchor(r);var i=e.getBBox();r[0]+=t.plotLeft-e.translateX,r[1]+=t.plotTop-e.translateY,n.x=Math.min(0,r[0]),n.y=Math.min(0,r[1]),n.width=0>r[0]?Math.max(Math.abs(r[0]),i.width-r[0]):Math.max(Math.abs(r[0]),i.width),n.height=0>r[1]?Math.max(Math.abs(r[1]),i.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),i.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var r=t.series,n=r.tooltipOptions,i=r.xAxis,a=i&&i.dateTime;i={isFooter:e,labelConfig:t};var s=n.xDateFormat,c=n[e?"footerFormat":"headerFormat"];return p(this,"headerFormatter",i,(function(e){a&&!s&&b(t.key)&&(s=a.getXDateFormat(t.key,n.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+s+"}")})),r.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=o(c,{point:t,series:r},this.chart)})),i.text},t.prototype.update=function(t){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,g(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,r=this.options,n=e.pointer,i=this.getLabel();n=n.getChartPosition();var o=(r.positioner||this.getPosition).call(this,i.width,i.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(r=r.borderWidth+2*this.distance,this.renderer.setSize(i.width+r,i.height+r,!1),1===n.scaleX&&1===n.scaleY||(l(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),a*=n.scaleX,t*=n.scaleY),a+=n.left-o.x,t+=n.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}()})),e(r,"Core/Series/Point.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=e.animObject,a=r.defaultOptions,s=n.format,c=i.addEvent,u=i.defined,l=i.erase,f=i.extend,h=i.fireEvent,d=i.getNestedProperty,p=i.isArray,m=i.isFunction,b=i.isNumber,v=i.isObject,g=i.merge,y=i.objectEach,w=i.pick,x=i.syncTimeout,O=i.removeEvent,_=i.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},r=t.getGraphicalProps();r.singular.forEach((function(r){t[r]=t[r].animate("dataLabel"===r?{x:t[r].startXPos,y:t[r].startYPos,opacity:0}:e)})),r.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(f({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,r){var n=this.series,i=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),f(this,t),this.options=this.options?f(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=e.prototype.getNestedProperty.call(this,i)),this.formatPrefix=(this.isNull=w(this.isValid&&!this.isValid(),null===this.x||!b(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof r&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"===typeof this.x&&n?this.x="undefined"===typeof r?n.autoIncrement():r:b(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(i in(e.graphic||e.dataLabel||e.dataLabels)&&(O(e),e.destroyElements()),e)e[i]=null}var e=this,r=e.series,n=r.chart;r=r.options.dataSorting;var i,a=n.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),a&&(e.setState(),l(a,e),a.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),x(t,s.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,r){var n=this,i=this.series.options;(i.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&i.allowPointSelect&&(r=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(n,t,e,r)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,r=this,n=[],i={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var o=n[e];r[o]&&i.singular.push(o)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&r[n]&&i.plural.push(n)})),i},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?d(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var r,n=0;for(r=e[n];this[t]>=r.value;)r=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=r&&r.color&&!this.options.color?r.color:this.nonZonedColor,r},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,r){return this.series=t,this.applyOptions(e,r),this.id=u(this.id)?this.id:_(),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var r=this.series,n=r.options.keys,i=n||r.pointArrayMap||["y"],o=i.length,a={},s=0,c=0;if(b(t)||null===t)a[i[0]]=t;else if(p(t))for(!n&&t.length>o&&("string"===(r=typeof t[0])?a.name=t[0]:"number"===r&&(a.x=t[0]),s++);c<o;)n&&"undefined"===typeof t[s]||(0<i[c].indexOf(".")?e.prototype.setNestedProperty(a,t[s],i[c]):a[i[c]]=t[s]),s++,c++;else"object"===typeof t&&(a=t,t.dataLabels&&(r._hasPointLabels=!0),t.marker&&(r._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,r=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var n=(r=t.options.colors||t.chart.options.colors)[t.colorCounter];r=r.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===r&&(t.colorCounter=0)}else e||(n=t.color),e=t.colorIndex;this.colorIndex=w(this.options.colorIndex,e),this.color=w(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,r){return r.split(".").reduce((function(t,r,n,i){return t[r]=i.length-1===n?e:v(t[r],!0)?t[r]:{},t[r]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,r=e.tooltipOptions,n=w(r.valueDecimals,""),i=r.valuePrefix||"",o=r.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(i||o)&&(t=t.replace(RegExp(e+"}","g"),i+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,r,n){function i(){a.applyOptions(t);var n=c&&a.hasDummyGraphic;n=null===a.y?!n:n,c&&n&&(a.graphic=c.destroy(),delete a.hasDummyGraphic),v(t,!0)&&(c&&c.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(a.graphic=c.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),l.data[o]=v(l.data[o],!0)||v(t,!0)?a.options:w(t,l.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(u.isDirtyBox=!0),"point"===l.legendType&&(u.isDirtyLegend=!0),e&&u.redraw(r)}var o,a=this,s=a.series,c=a.graphic,u=s.chart,l=s.options;e=w(e,!0),!1===n?i():a.firePointEvent("update",{options:t},i)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var r=this,n=r.series,i=n.chart;this.selectedStaging=t=w(t,!r.selected),r.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){r.selected=r.options.selected=t,n.options.data[n.data.indexOf(r)]=r.options,r.setState(t&&"select"),e||i.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==r&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(i.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,r=e.pointer;t=t?r.normalize(t):r.getChartCoordinatesFromPoint(this,e.inverted),r.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=g(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,r){m(e)&&c(t,r,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,r){var n,i=this.series,o=this.state,s=i.options.states[e||"normal"]||{},c=a.plotOptions[i.type].marker&&i.options.marker,u=c&&!1===c.enabled,l=c&&c.states&&c.states[e||"normal"]||{},d=!1===l.enabled,p=this.marker||{},m=i.chart,v=c&&i.markerAttribs,g=i.halo,y=i.stateMarkerGraphic;if(!((e=e||"")===this.state&&!r||this.selected&&"select"!==e||!1===s.enabled||e&&(d||u&&!1===l.enabled)||e&&p.states&&p.states[e]&&!1===p.states[e].enabled)){if(this.state=e,v&&(n=i.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=i.pointAttribs(this,e),O=w(m.options.chart.animation,s.animation);i.options.inactiveOtherPoints&&b(x.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:x.opacity},O)})),this.connector&&this.connector.animate({opacity:x.opacity},O)),this.graphic.animate(x,O)}n&&this.graphic.animate(n,w(m.options.chart.animation,l.animation,c.animation)),y&&y.hide()}else e&&l&&(o=p.symbol||i.symbol,y&&y.currentSymbol!==o&&(y=y.destroy()),n&&(y?y[r?"animate":"attr"]({x:n.x,y:n.y}):o&&(i.stateMarkerGraphic=y=m.renderer.symbol(o,n.x,n.y,n.width,n.height).add(i.markerGroup),y.currentSymbol=o)),!m.styledMode&&y&&"inactive"!==this.state&&y.attr(i.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,n=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==n&&!this.isCluster?(g||(i.halo=g=m.renderer.path().add(y.parentGroup)),g.show()[r?"animate":"attr"]({d:this.haloPath(s.size)}),g.attr({class:"highcharts-halo highcharts-color-"+w(this.colorIndex,i.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),g.point=this,m.styledMode||g.attr(f({fill:this.color||i.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):g&&g.point&&g.point.haloPath&&g.animate({d:g.point.haloPath(0)},null,g.hide),h(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()})),e(r,"Core/Pointer.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Tooltip.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=t.parse,o=e.charts,a=e.noop,s=n.addEvent,c=n.attr,u=n.css,l=n.defined,f=n.extend,h=n.find,d=n.fireEvent,p=n.isNumber,m=n.isObject,b=n.objectEach,v=n.offset,g=n.pick,y=n.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,r=[];(t||[]).forEach((function(t){e=t.series,r.push(e),e.linkedParent&&r.push(e.linkedParent),e.linkedSeries&&(r=r.concat(e.linkedSeries)),e.navigatorSeries&&r.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===r.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var r=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(r.tooltipTimeout),b(r,(function(t,e){r[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,r=e.options.chart,n=this.zoomHor,o=this.zoomVert,a=e.plotLeft,s=e.plotTop,c=e.plotWidth,u=e.plotHeight,l=this.mouseDownX||0,f=this.mouseDownY||0,h=m(r.panning)?r.panning&&r.panning.enabled:r.panning,d=r.panKey&&t[r.panKey+"Key"],p=t.chartX,b=t.chartY,v=this.selectionMarker;if((!v||!v.touch)&&(p<a?p=a:p>a+c&&(p=a+c),b<s?b=s:b>s+u&&(b=s+u),this.hasDragged=Math.sqrt(Math.pow(l-p,2)+Math.pow(f-b,2)),10<this.hasDragged)){var g=e.isInsidePlot(l-a,f-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!g||d||v||(this.selectionMarker=v=e.renderer.rect(a,s,n?1:c,o?1:u,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||v.attr({fill:r.selectionMarkerFill||i("#335cad").setOpacity(.25).get()})),v&&n&&(n=p-l,v.attr({width:Math.abs(n),x:(0<n?0:n)+l})),v&&o&&(n=b-f,v.attr({height:Math.abs(n),y:(0<n?0:n)+f})),g&&!v&&h&&e.pan(t,r.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,r=this.chart,n=this.hasPinched;if(this.selectionMarker){var i=this.selectionMarker,o=i.attr?i.attr("x"):i.x,a=i.attr?i.attr("y"):i.y,s=i.attr?i.attr("width"):i.width,c=i.attr?i.attr("height"):i.height,h={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:c},m=!!r.mapView;(this.hasDragged||n)&&(r.axes.forEach((function(r){if(r.zoomEnabled&&l(r.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[r.coll]])&&p(o)&&p(a)){var i=r.horiz,u="touchend"===t.type?r.minPixelPadding:0,f=r.toValue((i?o:a)+u);i=r.toValue((i?o+s:a+c)-u),h[r.coll].push({axis:r,min:Math.min(f,i),max:Math.max(f,i)}),m=!0}})),m&&d(r,"selection",h,(function(t){r.zoom(f(t,n?{animation:!1}:null))}))),p(r.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}r&&p(r.index)&&(u(r.container,{cursor:r._cursor}),r.cancelClick=10<this.hasDragged,r.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,r){var n,i=this.chart,o=i.hoverPoint;return i=i.tooltip,o&&i&&i.isStickyOnContact()?o:(t.forEach((function(t){var i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(r,i),(i=m(t,!0)&&t.series)&&!(i=!m(n,!0))){i=n.distX-t.distX;var o=n.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);i=0<(0!==i&&e?i:0!==o?o:0!==a?a:n.series.index>t.series.index?-1:1)}i&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var r=t.series,n=r.xAxis;r=r.yAxis;var i=t.shapeArgs;if(n&&r){var o=g(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&i&&p(i.x)&&p(i.y)&&(o=i.x,a=i.y),e?{chartX:r.len+r.pos-a,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:a+r.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var r=t.offsetWidth;return t=t.offsetHeight,2<r&&2<t&&(this.chartPosition.scaleX=e.width/r,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(r){e[r.isXAxis?"xAxis":"yAxis"].push({axis:r,value:r.toValue(t[r.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,r,n,i,o){var a=[];n=!(!n||!t);var s={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:i};d(this,"beforeGetHoverData",s);var c=e&&!e.stickyTracking?[e]:r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&t.stickyTracking})),u=n||!o?t:this.findNearestKDPoint(c,i,o);return e=u&&u.series,u&&(i&&!e.noSharedTooltip?(c=r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=h(t.points,(function(t){return t.x===u.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(u)),d(this,"afterGetHoverData",s={hoverPoint:u}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var r;t;){if(r=c(t,"class")){if(-1!==r.indexOf(e))return!0;if(-1!==r.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},r&&(t.tooltip=new r(t,e.tooltip),this.followTouchMove=g(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var r=t.touches,n=r?r.length?r.item(0):g(r.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),r=n.pageX-e.left,n=n.pageY-e.top,r/=e.scaleX,n/=e.scaleY,f(t,{chartX:Math.round(r),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,r=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,i=e.plotTop;e.cancelClick||(r&&this.inClass(t.target,"highcharts-tracker")?(d(r.series,"click",f(t,{point:r})),e.hoverPoint&&r.firePointEvent("click",t)):(f(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-i,{visiblePlotOnly:!0})&&d(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var r=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||r)&&(this.zoomOption(t),r&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var r=o[g(t.hoverChartIndex,-1)],n=this.chart.tooltip;n&&n.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),r&&(e.relatedTarget||e.toElement)&&(r.pointer.reset(),r.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,r=this.chartPosition;t=this.normalize(t,r);var n=e.tooltip;!r||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,r=e.chart,n=e.pinchDown,i=t.touches||[],o=i.length,s=e.lastValidTouch,c=e.hasZoom,u={},l=1===o&&(e.inClass(t.target,"highcharts-tracker")&&r.runTrackerClick||e.runChartClick),h={},p=e.selectionMarker;1<o?e.initiated=!0:1===o&&this.followTouchMove&&(e.initiated=!1),c&&e.initiated&&!l&&!1!==t.cancelable&&t.preventDefault(),[].map.call(i,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(i,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[n[0].chartX,n[1]&&n[1].chartX],s.y=[n[0].chartY,n[1]&&n[1].chartY],r.axes.forEach((function(t){if(t.zoomEnabled){var e=r.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,i=t.toPixels(Math.min(g(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(g(t.options.max,t.dataMax),t.dataMax)),a=Math.max(i,o);e.min=Math.min(t.pos,Math.min(i,o)-n),e.max=Math.max(t.pos+t.len,a+n)}})),e.res=!0):e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):n.length&&(d(r,"touchpan",{originalEvent:t},(function(){p||(e.selectionMarker=p=f({destroy:a,touch:!0},r.plotBox)),e.pinchTranslate(n,i,u,p,h,s),e.hasPinched=c,e.scaleGroups(u,h)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,r,n,i,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,r,n,i,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,r,n,i,o)},t.prototype.pinchTranslateDirection=function(t,e,r,n,i,o,a,s){var c=this.chart,u=t?"x":"y",l=t?"X":"Y",f="chart"+l,h=t?"width":"height",d=c["plot"+(t?"Left":"Top")],p=c.inverted,m=c.bounds[t?"h":"v"],b=1===e.length,v=e[0][f],g=!b&&e[1][f];e=function(){"number"===typeof _&&20<Math.abs(v-g)&&(x=s||Math.abs(O-_)/Math.abs(v-g)),w=(d-O)/x+v,y=c["plot"+(t?"Width":"Height")]/x};var y,w,x=s||1,O=r[0][f],_=!b&&r[1][f];if(e(),(r=w)<m.min){r=m.min;var S=!0}else r+y>m.max&&(r=m.max-y,S=!0);S?(O-=.8*(O-a[u][0]),"number"===typeof _&&(_-=.8*(_-a[u][1])),e()):a[u]=[O,_],p||(o[u]=w-d,o[h]=y),o=p?1/x:x,i[h]=y,i[u]=r,n[p?t?"scaleY":"scaleX":"scale"+l]=x,n["translate"+l]=o*d+(O-o*v)},t.prototype.reset=function(t,e){var r=this.chart,n=r.hoverSeries,i=r.hoverPoint,o=r.hoverPoints,a=r.tooltip,s=a&&a.shared?o:i;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):i&&(i.setState(i.state,!0),r.axes.forEach((function(t){t.crosshair&&i.series[t.coll]===t&&t.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(t){t.setState()})),n&&n.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),r.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=r.hoverPoints=r.hoverPoint=null)},t.prototype.runPointActions=function(e,r){var n=this.chart,i=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,a=!!i&&i.shared,c=r||n.hoverPoint,u=c&&c.series||n.hoverSeries;c=(r=this.getHoverData(c,u,n.series,(!e||"touchmove"!==e.type)&&(!!r||u&&u.directTouch&&this.isDirectTouch),a,e)).hoverPoint,u=r.hoverSeries;var l=r.hoverPoints;if(r=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,a=a&&u&&!u.noSharedTooltip,c&&(c!==n.hoverPoint||i&&i.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===l.indexOf(t)&&t.setState()})),n.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(l),(l||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!c.series)return;n.hoverPoints=l,n.hoverPoint=c,c.firePointEvent("mouseOver"),i&&i.refresh(a?l:c,e)}else r&&i&&!i.isHidden&&(c=i.getAnchor([{}],e),n.isInsidePlot(c[0],c[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(n.container.ownerDocument,"mousemove",(function(e){var r=o[t.hoverChartIndex];r&&r.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var r,i=g((t.crosshair||{}).snap,!0);i&&((r=n.hoverPoint)&&r.series[t.coll]===t||(r=h(l,(function(e){return e.series[t.coll]===t})))),r||!i?t.drawCrosshair(e,r):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var r=this.chart;r.series.forEach((function(n){var i=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||r.mapView)&&(n.group.attr(i),n.markerGroup&&(n.markerGroup.attr(i),n.markerGroup.clip(e?r.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(i))})),r.clipRect.attr(e||r.clipBox)},t.prototype.setDOMEvents=function(){var r=this,n=this.chart.container,i=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete r.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var r=this.chart,n=e.charts[g(t.hoverChartIndex,-1)];n&&n!==r&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=r.index)},t.prototype.touch=function(t,e){var r=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),r.isInsidePlot(t.chartX-r.plotLeft,t.chartY-r.plotTop,{visiblePlotOnly:!0})&&!r.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));g(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,r=e.options.chart;e=e.inverted;var n=r.zoomType||"";/touch/.test(t.type)&&(n=g(r.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=r=/y/.test(n),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},t}()})),e(r,"Core/MSPointer.js",[r["Core/Globals.js"],r["Core/Pointer.js"],r["Core/Utilities.js"]],(function(t,e,r){function n(){var t=[];return t.item=function(t){return this[t]},h(p,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function i(t,r,i,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[r]({type:i,target:t.currentTarget,preventDefault:c,touches:n()}))}var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.charts,s=t.doc,c=t.noop,u=t.win,l=r.addEvent,f=r.css,h=r.objectEach,d=r.removeEvent,p={},m=!!u.PointerEvent;return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return o(r,e),r.isRequired=function(){return!(t.hasTouch||!u.PointerEvent&&!u.MSPointerEvent)},r.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},r.prototype.destroy=function(){this.batchMSEvents(d),e.prototype.destroy.call(this)},r.prototype.init=function(t,r){e.prototype.init.call(this,t,r),this.hasZoom&&f(t.container,{"-ms-touch-action":"none","touch-action":"none"})},r.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},r.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY},p[t.pointerId].target||(p[t.pointerId].target=t.currentTarget)}))},r.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",(function(t){delete p[t.pointerId]}))},r.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},r}(e)})),e(r,"Core/Legend/Legend.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Point.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.animObject,s=t.setAnimation,c=e.format;t=r.isFirefox;var u=r.marginNames;r=r.win;var l=i.distribute,f=o.addEvent,h=o.createElement,d=o.css,p=o.defined,m=o.discardElement,b=o.find,v=o.fireEvent,g=o.isNumber,y=o.merge,w=o.pick,x=o.relativeLength,O=o.stableSort,_=o.syncTimeout;return i=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),f(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=f(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=w(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=w(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var r=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,w(e,!0)&&r.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var r=this.options,n=t.legendItem,i=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;r=e?r.itemStyle.color:a;var s=e&&t.color||a,c=t.options&&t.options.marker,u={fill:s};n&&n.css({fill:r,color:r}),i&&i.attr({stroke:s}),o&&(c&&o.isMarker&&(u=t.pointAttribs(),e||(u.stroke=u.fill=a)),o.attr(u))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,r=this.options,n=r.symbolPadding,i=!r.rtl,o=t._legendItemPos;r=o[0],o=o[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(n={translateX:i?r:this.legendWidth-r-2*n-4,translateY:o},i=function(){v(e,"afterPositionItem",{item:t})},p(s.translateY)?s.animate(n,void 0,i):(s.attr(n),i())),a&&(a.x=r,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,r=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach((function(i){var o=i.checkbox;if(o){var a=n+r+o.y+(this.scrollOffset||0)+3;d(o,{left:t.translateX+i.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>n-6&&a<n+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,r=t.title,n=0;r.text&&(this.title||(this.title=this.chart.renderer.label(r.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(r.style),this.title.add(this.group)),r.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?c(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,r=e.renderer,n=this.options,i=this.symbolWidth,o=n.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,c="horizontal"===n.layout?w(n.itemDistance,20):0,u=!n.rtl,l=!t.series,f=!l&&t.series.drawLegendSymbol?t.series:t,h=f.options,d=this.createCheckboxForItem&&h&&h.showCheckbox,p=n.useHTML,m=t.options.className,b=t.legendItem;h=i+o+c+(d?20:0),b||(t.legendGroup=r.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(l?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=b=r.text("",u?i+o:-o,this.baseline||0,p),e.styledMode||b.css(y(t.visible?a:s)),b.attr({align:u?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=r.fontMetrics(e.styledMode?12:a.fontSize,b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=w(n.symbolWidth,Math.max(this.symbolHeight,16)),h=this.symbolWidth+o+c+(d?20:0),u&&b.attr("x",this.symbolWidth+o))),f.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,b,p)),d&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||b.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-h+"px"}),this.setText(t),e=b.getBBox(),r=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+h,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*r?e.height:r))},t.prototype.layoutItem=function(t){var e=this.options,r=this.padding,n="horizontal"===e.layout,i=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=n?w(e.itemDistance,20):0,c=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>c?this.maxItemWidth:t.itemWidth,n&&this.itemX-r+e>c&&(this.itemX=r,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=a+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-r-(t.checkbox?0:s):e)+r,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var r=e&&e.options;e&&w(r.showInLegend,!p(r.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===r.legendType?e.data:e)))})),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var r=this.chart,n=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(i)&&!p(t[a])&&(r[u[a]]=Math.max(r[u[a]],r.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*n[a%2?"x":"y"]+w(n.margin,12)+e[a]+(r.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],r="left"===this.options.align;this.allItems.forEach((function(n){var i,o=r;if(n.yAxis){n.xAxis.options.reversed&&(o=!o),n.points&&(i=b(o?n.points:n.points.slice(0).reverse(),(function(t){return g(t.plotY)}))),o=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var a=n.yAxis.top-t.plotTop;n.visible?(i=i?i.plotY:n.yAxis.height,i+=a-.3*o):i=a+n.yAxis.height,e.push({target:i,size:o,item:n})}}),this),l(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,r=this.options,n=this.padding,i=this.getAllItems(),o=this.group,a=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(r.width,t.spacingBox.width-n);var s=t.spacingBox.width-2*n-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(r.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),O(i,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),r.reversed&&i.reverse(),this.allItems=i,this.display=s=!!i.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,i.forEach(this.renderItem,this),i.forEach(this.layoutItem,this),i=(this.widthOption||this.offsetWidth)+n;var c=this.lastItemY+this.lastLineHeight+this.titleHeight;c=this.handleOverflow(c),c+=n,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(o),a.isNew=!0),t.styledMode||a.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0<i&&0<c&&(a[a.isNew?"attr":"animate"](a.crisp.call({},{x:0,y:0,width:i,height:c},a.strokeWidth())),a.isNew=!1),a[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(i=c=0),this.legendWidth=i,this.legendHeight=c,s&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,r=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=y(t,{y:n})),this.group.align(y(r,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":r.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,r,n=this,i=this.chart,o=i.renderer,a=this.options,s=a.y,c="top"===a.verticalAlign,u=this.padding,l=a.maxHeight,f=a.navigation,h=w(f.animation,!0),d=f.arrowSize||12,p=this.pages,m=this.allItems,b=function(t){"number"===typeof t?y.attr({height:t}):y&&(n.clipRect=y.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},v=function(t){return n[t]=o.circle(0,0,1.3*d).translate(d/2,d/2).add(g),i.styledMode||n[t].attr("fill","rgba(0,0,0,0.0001)"),n[t]};s=i.spacingBox.height+(c?-s:s)-u;var g=this.nav,y=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),l&&(s=Math.min(s,l)),p.length=0,t&&0<s&&t>s&&!1!==f.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-u,0),this.currentPage=w(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,n){var i=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),a=p.length;(!a||i-p[a-1]>e&&(r||i)!==p[a-1])&&(p.push(r||i),a++),t.pageIx=a-1,r&&(m[n-1].pageIx=a-1),n===m.length-1&&i+o-p[a-1]>e&&o<=e&&(p.push(i),t.pageIx=a),i!==r&&(r=i)})),y||(y=n.clipRect=o.clipRect(0,u,9999,0),n.contentGroup.clip(y)),b(e),g||(this.nav=g=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,d,d).add(g),v("upTracker").on("click",(function(){n.scroll(-1,h)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(f.style),this.pager.add(g),this.down=o.symbol("triangle-down",0,0,d,d).add(g),v("downTracker").on("click",(function(){n.scroll(1,h)}))),n.scroll(0),t=s):g&&(b(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var r=this,n=this.chart,i=this.pages,o=i.length,c=this.clipHeight,u=this.options.navigation,l=this.pager,f=this.padding,h=this.currentPage+t;h>o&&(h=o),0<h&&("undefined"!==typeof e&&s(e,n),this.nav.attr({translateX:f,translateY:c+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),l.attr({text:h+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===h?u.inactiveColor:u.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===o?u.inactiveColor:u.activeColor}),this.downTracker.css({cursor:h===o?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),t=a(w(e,n.renderer.globalAnimation,!0)),_((function(){v(r,"afterScroll",{currentPage:h})}),t.duration))},t.prototype.setItemEvents=function(t,e,r){var i=this,o=i.chart.renderer.boxWrapper,a=t instanceof n,s="highcharts-legend-"+(a?"point":"series")+"-active",c=i.chart.styledMode,u=function(e){i.allItems.forEach((function(r){t!==r&&[r].concat(r.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(r?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(r){r&&r.on("mouseover",(function(){t.visible&&u("inactive"),t.setState("hover"),t.visible&&o.addClass(s),c||e.css(i.options.itemHoverStyle)})).on("mouseout",(function(){i.chart.styledMode||e.css(y(t.visible?i.itemStyle:i.itemHiddenStyle)),u(""),o.removeClass(s),t.setState()})).on("click",(function(e){var r=function(){t.setVisible&&t.setVisible(),u(t.visible?"inactive":"")};o.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,r):v(t,"legendItemClick",e,r)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=h("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),f(t.checkbox,"click",(function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(r.navigator&&r.navigator.userAgent)||t)&&i(o.prototype,"positionItem",(function(t,e){var r=this,n=function(){e._legendItemPos&&t.call(r,e)};n(),r.bubbleLegend||setTimeout(n)})),o})),e(r,"Core/Series/SeriesRegistry.js",[r["Core/Globals.js"],r["Core/DefaultOptions.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=e.defaultOptions,a=n.error,s=n.extendClass,c=n.merge;return function(e){function n(t,n){var i=o.plotOptions||{},a=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=r),n.prototype.type=t,a&&(i[t]=a),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,r){void 0===r&&(r={});var n=t.options.chart;n=r.type||n.type||n.defaultSeriesType||"";var i=e.seriesTypes[n];return e||a(17,!0,t,{missingModuleFor:n}),"function"===typeof(n=new i).init&&n.init(t,r),n},e.registerSeriesType=n,e.seriesType=function(t,i,a,u,l){var f=o.plotOptions||{};return i=i||"",f[t]=c(f[i],a),n(t,s(e.seriesTypes[i]||function(){},u)),e.seriesTypes[t].prototype.type=t,l&&(e.seriesTypes[t].prototype.pointClass=s(r,l)),e.seriesTypes[t]}}(i||(i={})),i})),e(r,"Core/Chart/Chart.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/FormatUtilities.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/Legend.js"],r["Core/MSPointer.js"],r["Core/DefaultOptions.js"],r["Core/Pointer.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Time.js"],r["Core/Utilities.js"],r["Core/Renderer/HTML/AST.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p){var m=t.animate,b=t.animObject,v=t.setAnimation,g=r.numberFormat,y=n.registerEventOptions,w=i.charts,x=i.doc,O=i.marginNames,_=i.svg,S=i.win,k=s.defaultOptions,E=s.defaultTime,M=l.seriesTypes,C=d.addEvent,j=d.attr,A=d.cleanRecursively,T=d.createElement,P=d.css,D=d.defined,R=d.discardElement,L=d.erase,I=d.error,N=d.extend,F=d.find,B=d.fireEvent,z=d.getStyle,H=d.isArray,U=d.isNumber,W=d.isObject,q=d.isString,V=d.merge,G=d.objectEach,Y=d.pick,X=d.pInt,$=d.relativeLength,K=d.removeEvent,Z=d.splat,J=d.syncTimeout,Q=d.uniqueKey;return t=function(){function t(t,e,r){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,r)}return t.chart=function(e,r,n){return new t(e,r,n)},t.prototype.getArgs=function(t,e,r){q(t)||t.nodeName?(this.renderTo=t,this.init(e,r)):this.init(t,e)},t.prototype.init=function(t,e){var r=t.plotOptions||{};B(this,"init",{args:arguments},(function(){var n=V(k,t),o=n.chart;G(n.plotOptions,(function(t,e){W(t)&&(t.tooltip=r[e]&&V(r[e].tooltip)||void 0)})),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):i.time,this.numberFormatter=o.numberFormatter||g,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=w.length,w.push(this),i.chartCount++,y(this,o),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,B(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var r=M[e];return r||I(17,!0,this,{missingModuleFor:e}),"function"===typeof(e=new r).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var r=e.length;t<r;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,r){void 0===r&&(r={});var n=this.inverted,i=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,c=0,u=0;r.visiblePlotOnly&&this.scrollingContainer&&(c=(u=this.scrollingContainer).scrollLeft,u=u.scrollTop);var l=r.series;if(i=r.visiblePlotOnly&&s||i,t={x:s=r.inverted?e:t,y:e=r.inverted?t:e,isInsidePlot:!0},!r.ignoreX){var f=l&&(n?l.yAxis:l.xAxis)||{pos:o,len:1/0};(s=r.paneCoordinates?f.pos+s:o+s)>=Math.max(c+o,f.pos)&&s<=Math.min(c+o+i.width,f.pos+f.len)||(t.isInsidePlot=!1)}return!r.ignoreY&&t.isInsidePlot&&(n=l&&(n?l.xAxis:l.yAxis)||{pos:a,len:1/0},(r=r.paneCoordinates?n.pos+e:a+e)>=Math.max(u+a,n.pos)&&r<=Math.min(u+a+i.height,n.pos+n.len)||(t.isInsidePlot=!1)),B(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){B(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],r=this.series,n=this.pointer,i=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),c=[],u=this.isDirtyBox,l=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=r.length;t--;){var f=r[t];if(f.options.stacking||f.options.centerInCategory){var h=!0;if(f.isDirty){var d=!0;break}}}if(d)for(t=r.length;t--;)(f=r[t]).options.stacking&&(f.isDirty=!0);r.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),l=!0):o&&(o.labelFormatter||o.labelFormat)&&(l=!0)),t.isDirtyData&&B(t,"updatedData")})),l&&i&&i.options.enabled&&(i.render(),this.isDirtyLegend=!1),h&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(u=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,c.push((function(){B(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(u||h)&&t.redraw()})),u&&this.drawChartBox(),B(this,"predraw"),r.forEach((function(t){(u||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),a.draw(),B(this,"redraw"),B(this,"render"),s&&this.temporaryDisplay(!0),c.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var r=this.series,n=F(this.axes,e)||F(this.series,e),i=0;!n&&i<r.length;i++)n=F(r[i].points||[],e);return n},t.prototype.getAxes=function(){var t=this,r=this.options,n=r.xAxis=Z(r.xAxis||{});r=r.yAxis=Z(r.yAxis||{}),B(this,"getAxes"),n.forEach((function(t,e){t.index=e,t.isX=!0})),r.forEach((function(t,e){t.index=e})),n.concat(r).forEach((function(r){new e(t,r)})),B(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){Y(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,r){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(r)},t.prototype.applyDescription=function(t,e){var r=this,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=V(!this.styledMode&&{style:n},this.options[t],e);var i=this[t];i&&e&&(this[t]=i=i.destroy()),n&&!i&&((i=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}).add()).update=function(e){r[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||i.css(n.style),this[t]=i)},t.prototype.layOutTitles=function(t){var e=[0,0,0],r=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var i,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(i=a.style&&a.style.fontSize),i=r.fontMetrics(i,o).b,o.css({width:(a.width||n.width+(a.widthAdjust||0))+"px"});var c=Math.round(o.getBBox(a.useHTML).height);o.align(N({y:"bottom"===s?i:t+i,height:c},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+c):"bottom"===s&&(e[2]=Math.ceil(e[2]+c)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var i=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var r=this.renderTo;D(e)||(this.containerWidth=z(r,"width")),D(t)||(this.containerHeight=z(r,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,$(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==x.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,r=e.chart,n=Q(),i=this.renderTo;i||(this.renderTo=i=r.renderTo),q(i)&&(this.renderTo=i=x.getElementById(i)),i||I(13,!0,this);var o=X(j(i,"data-highcharts-chart"));U(o)&&w[o]&&w[o].hasRendered&&w[o].destroy(),j(i,"data-highcharts-chart",this.index),i.innerHTML=p.emptyHTML,r.skipClone||i.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(i,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:o+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},r.style||{})),this.container=n=T("div",{id:n},t,i),this._cursor=n.style.cursor,this.renderer=new(r.renderer||!_?u.getRendererType(r.renderer):f)(n,o,a,void 0,r.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(r.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(r.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,r=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!D(r[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!D(r[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(r,e),B(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],r=t.colorAxis,n=t.margin,i=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?i(t.axes):r&&r.length&&i(r),O.forEach((function(r,i){D(n[i])||(t[r]+=e[i])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,r=e.options.chart,n=e.renderTo,i=D(r.width)&&D(r.height),o=r.width||z(n,"width");r=r.height||z(n,"height"),n=t?t.target:S,delete e.pointer.chartPosition,i||e.isPrinting||!o||!r||n!==S&&n!==x||(o===e.containerWidth&&r===e.containerHeight||(d.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=r)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=C(S,"resize",(function(t){e.options&&e.reflow(t)})),C(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,r){var n=this,i=n.renderer;n.isResizing+=1,v(r,n),r=i.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,"undefined"!==typeof t&&(n.options.chart.width=t),"undefined"!==typeof e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(r?m:P)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},r),n.setChartSize(!0),i.setSize(n.chartWidth,n.chartHeight,r),n.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(r),n.oldChartHeight=null,B(n,"resize"),J((function(){n&&B(n,"endResize",null,(function(){--n.isResizing}))}),b(r).duration)},t.prototype.setChartSize=function(t){var e,r,n,i,o=this.inverted,a=this.renderer,s=this.chartWidth,c=this.chartHeight,u=this.options.chart,l=this.spacing,f=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=r=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=i=Math.max(0,Math.round(c-r-this.marginBottom)),this.plotSizeX=o?i:n,this.plotSizeY=o?n:i,this.plotBorderWidth=u.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:c-l[0]-l[2]},this.plotBox=a.plotBox={x:e,y:r,width:n,height:i},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,f[3])/2),c=Math.ceil(Math.max(o,f[0])/2),this.clipBox={x:s,y:c,width:Math.floor(this.plotSizeX-Math.max(o,f[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,f[2])/2-c))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){B(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(r){var n=e[r],i=W(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((function(n,o){t[r][o]=Y(e[r+n],i[o])}))})),O.forEach((function(e,r){t[e]=Y(t.margin[r],t.spacing[r])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,r=this.renderer,n=this.chartWidth,i=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,c=e.plotBackgroundColor,u=e.plotBackgroundImage,l=this.plotLeft,f=this.plotTop,h=this.plotWidth,d=this.plotHeight,p=this.plotBox,m=this.clipRect,b=this.clipBox,v=this.chartBackground,g=this.plotBackground,y=this.plotBorder,w="animate";if(v||(this.chartBackground=v=r.rect().addClass("highcharts-background").add(),w="attr"),o)var x=t=v.strokeWidth();else t=(x=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(x||v["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=x),v.attr(s).shadow(e.shadow);v[w]({x:t/2,y:t/2,width:n-t-x%2,height:i-t-x%2,r:e.borderRadius}),w="animate",g||(w="attr",this.plotBackground=g=r.rect().addClass("highcharts-plot-background").add()),g[w](p),o||(g.attr({fill:c||"none"}).shadow(e.plotShadow),u&&(a?(u!==a.attr("href")&&a.attr("href",u),a.animate(p)):this.plotBGImage=r.image(u,l,f,h,d).add())),m?m.animate({width:b.width,height:b.height}):this.clipRect=r.clipRect(b),w="animate",y||(w="attr",this.plotBorder=y=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[w](y.crisp({x:l,y:f,width:h,height:d},-y.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,r,n=this,i=n.options.chart,o=n.options.series;["inverted","angular","polar"].forEach((function(a){for(e=M[i.type||i.defaultSeriesType],r=i[a]||e&&e.prototype[a],t=o&&o.length;!r&&t--;)(e=M[o[t].type])&&e.prototype[a]&&(r=!0);n[a]=r}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var r=e.options.linkedTo;q(r)&&(r=":previous"===r?t.series[e.index-1]:t.get(r))&&r.linkedParent!==e&&(r.linkedSeries.push(e),e.linkedParent=r,r.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,r.options.visible,e.visible))})),B(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(r){var n=N(e.style,r.style),i=X(n.left)+t.plotLeft,o=X(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(r.html,i,o).attr({zIndex:2}).css(n).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,r=this.renderer,n=this.options,i=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new o(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var c=1.1<n/this.plotWidth,u=1.05<s/this.plotHeight;(c||u)&&(t.forEach((function(t){(t.horiz&&c||!t.horiz&&u)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?i(t):e&&e.length&&i(e),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,r=V(!0,this.options.credits,t);r.enabled&&!this.credits&&(this.credits=this.renderer.text(r.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){r.href&&(S.location.href=r.href)})).attr({align:r.position.align,zIndex:8}),e.styledMode||this.credits.css(r.style),this.credits.add().align(r.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,r=e.axes,n=e.series,o=e.container,a=o&&o.parentNode;for(B(e,"destroy"),e.renderer.forExport?L(w,e):w[e.index]=void 0,i.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=r.length;t--;)r[t]=r[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var r=e[t];r&&r.destroy&&(e[t]=r.destroy())})),o&&(o.innerHTML=p.emptyHTML,K(o),a&&R(o)),G(e,(function(t,r){delete e[r]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(H(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),B(t,"beforeRender"),c&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new c(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),B(this,"load"),B(this,"render"),D(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,r){var n,i=this;return t&&(e=Y(e,!0),B(i,"addSeries",{options:t},(function(){n=i.initSeries(t),i.isDirtyLegend=!0,i.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),B(i,"afterAddSeries",{series:n}),e&&i.redraw(r)}))),n},t.prototype.addAxis=function(t,e,r,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:r,animation:n})},t.prototype.addColorAxis=function(t,e,r){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:r})},t.prototype.createAxis=function(t,r){return t=new e(this,V(r.axis,{index:this[t].length,isX:"xAxis"===t})),Y(r.redraw,!0)&&this.redraw(r.animation),t},t.prototype.showLoading=function(t){var e=this,r=e.options,n=r.loading,i=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=T("span",{className:"highcharts-loading-inner"},null,o),C(e,"redraw",i)),o.className="highcharts-loading",p.setElementHTML(a,Y(t,r.lang.loading,"")),e.styledMode||(P(o,N(n.style,{zIndex:10})),P(a,n.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),m(o,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,i()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,r,n){var i,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,u=[];B(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=A(t,a.options),a.userOptions=V(a.userOptions,t);var l=t.chart;if(l){if(V(!0,a.options.chart,l),"className"in l&&a.setClassName(l.className),"reflow"in l&&a.setReflow(l.reflow),"inverted"in l||"polar"in l||"type"in l){a.propFromSeries();var f=!0}"alignTicks"in l&&(f=!0),"events"in l&&y(this,l),G(l,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(i=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(c?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&l.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===E&&(this.time=new h(t.time)),V(!0,a.options.time,t.time)),G(t,(function(e,r){a[r]&&"function"===typeof a[r].update?a[r].update(e,!1):"function"===typeof a[s[r]]?a[s[r]](e):"colors"!==r&&-1===a.collectionsWithUpdate.indexOf(r)&&V(!0,a.options[r],t[r]),"chart"!==r&&-1!==a.propsRequireUpdateSeries.indexOf(r)&&(i=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var n=[];a[e].forEach((function(t,e){t.options.isInternal||n.push(Y(t.options.index,e))})),Z(t[e]).forEach((function(t,i){var o,s=D(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][n?n[i]:i])&&s&&D(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),r&&(o.touched=!0)),!o&&r&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),r&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:u.push(t)}))}})),u.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),f&&a.axes.forEach((function(t){t.update({},!1)})),i&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),f=l&&l.width,l=l&&(q(l.height)?$(l.height,f||a.chartWidth):l.height),o||U(f)&&f!==a.chartWidth||U(l)&&l!==a.chartHeight?a.setSize(f,l,n):Y(e,!0)&&a.redraw(n),B(a,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,r=k.lang,n=e.options.chart.resetZoomButton,i=n.theme,o=i.states,a="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";B(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(r.resetZoom,null,null,t,i,o&&o.hover).attr({align:n.position.align,title:r.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,a)})),B(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){B(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,r=this,n=r.pointer,i=r.inverted?n.mouseDownX:n.mouseDownY,o=!1;!t||t.resetSelection?(r.axes.forEach((function(t){e=t.zoom()})),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=r.inverted?a.left:a.top,c=r.inverted?s+a.width:s+a.height,u=a.isXAxis,l=!1;(!u&&i>=s&&i<=c||u||!D(i))&&(l=!0),n[u?"zoomX":"zoomY"]&&l&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))}));var a=r.resetZoomButton;o&&!a?r.showResetZoom():!o&&W(a)&&(r.resetZoomButton=a.destroy()),e&&r.redraw(Y(r.options.chart.animation,t&&t.animation,100>r.pointCount))},t.prototype.pan=function(t,e){var r=this,n=r.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var i=r.options.chart,o=r.options.mapNavigation&&r.options.mapNavigation.enabled;i&&i.panning&&(i.panning=e);var a,s=e.type;B(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=r.xAxis;"xy"===s?e=e.concat(r.yAxis):"y"===s&&(e=r.yAxis);var i={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,c=t[n?"chartX":"chartY"],u=r[n=n?"mouseDownX":"mouseDownY"],l=e.minPointOffset||0,f=e.reversed&&!r.inverted||!e.reversed&&r.inverted?-1:1,h=e.getExtremes(),d=e.toValue(u-c,!0)+l*f,p=e.toValue(u+e.len-c,!0)-(l*f||e.isXAxis&&e.pointRangePadding||0),m=p<d;f=e.hasVerticalPanning(),u=m?p:d,d=m?d:p;var b=e.panningState;!f||e.isXAxis||b&&!b.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),b||(b={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),U(e.dataMin)&&U(e.dataMax)&&(b.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,b.startMin),b.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,b.startMax))})),f=Math.min(Y(b&&b.startMin,h.dataMin),l?h.min:e.toValue(e.toPixels(h.min)-e.minPixelPadding)),p=Math.max(Y(b&&b.startMax,h.dataMax),l?h.max:e.toValue(e.toPixels(h.max)+e.minPixelPadding)),e.panningState=b,e.isOrdinal||(0<(l=f-u)&&(d+=l,u=f),0<(l=d-p)&&(d=p,u-=l),e.series.length&&u!==h.min&&d!==h.max&&u>=f&&d<=p&&(e.setExtremes(u,d,!1,!1,{trigger:"pan"}),r.resetZoomButton||o||u===f||d===p||!s.match("y")||(r.showResetZoom(),e.displayBtn=!1),a=!0),i[n]=c)}})),G(i,(function(t,e){r[e]=t})),a&&r.redraw(!1),P(r.container,{cursor:"move"})}))},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(r,"Core/Legend/LegendSymbol.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.merge,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,i=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,c=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var u={},l=e.marker;this.chart.styledMode||(u={"stroke-width":e.lineWidth||0},e.dashStyle&&(u.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",i,t]]).addClass("highcharts-graph").attr(u).add(c),l&&!1!==l.enabled&&i&&(e=Math.min(n(l.radius,a),a),0===this.symbol.indexOf("url")&&(l=r(l,{width:o,height:o}),e=0),this.legendSymbol=i=s.symbol(this.symbol,i/2-e,t-e,2*e,2*e,l).addClass("highcharts-point").add(c),i.isMarker=!0)},t.drawRectangle=function(t,e){var r=t.symbolHeight,i=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(i?(t.symbolWidth-r)/2:0,t.baseline-r+1,i?r:t.symbolWidth,r,n(t.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(r,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(r,"Core/Series/Series.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Point.js"],r["Core/Series/SeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c,u){var l=t.animObject,f=t.setAnimation,h=e.defaultOptions,d=r.registerEventOptions,p=n.hasTouch,m=n.svg,b=n.win,v=s.seriesTypes,g=u.addEvent,y=u.arrayMax,w=u.arrayMin,x=u.clamp,O=u.cleanRecursively,_=u.correctFloat,S=u.defined,k=u.erase,E=u.error,M=u.extend,C=u.find,j=u.fireEvent,A=u.getNestedProperty,T=u.isArray,P=u.isNumber,D=u.isString,R=u.merge,L=u.objectEach,I=u.pick,N=u.removeEvent,F=u.splat,B=u.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){j(this,"init",{options:e});var r=this,n=t.series;this.eventsToUnbind=[],r.chart=t,r.options=r.setOptions(e),e=r.options,r.linkedSeries=[],r.bindAxes(),M(r,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),d(this,e);var i,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(i=n[n.length-1]),r._i=I(i&&i._i,-1)+1,r.opacity=r.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(e.data,!1),j(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,r=this.options.index;if(P(r)){for(e=t.length;e--;)if(r>=I(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return I(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,r=e.options,n=e.chart;j(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(i){var o=0;n[i].forEach((function(n){t=n.options,(r[i]===o&&!t.isInternal||"undefined"!==typeof r[i]&&r[i]===t.id||"undefined"===typeof r[i]&&0===t.index)&&(e.insert(n.series),e[i]=n,n.isDirty=!0),t.isInternal||o++})),e[i]||e.optionalAxis===i||E(18,!0,n)}))})),j(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var r=t.series,n=arguments,i=P(e)?function(n){var i="y"===n&&r.toYData?r.toYData(t):t[n];r[n+"Data"][e]=i}:function(t){Array.prototype[e].apply(r[t+"Data"],Array.prototype.slice.call(n,2))};r.parallelArrays.forEach(i)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,r=this.options,n=r.pointIntervalUnit,i=r.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=I(a,r.pointStart,0),this.pointInterval=e=I(this.pointInterval,r.pointInterval,1),i&&P(t)&&(e*=t),n&&(r=new o.Date(a),"day"===n?o.set("Date",r,o.get("Date",r)+e):"month"===n?o.set("Month",r,o.get("Month",r)+e):"year"===n&&o.set("FullYear",r,o.get("FullYear",r)+e),e=r.getTime()-a),i&&P(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;M(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,r=e.options,n=r.plotOptions,i=e.userOptions||{};t=R(t),e=e.styledMode;var o={plotOptions:n,userOptions:t};j(this,"setOptions",o);var a=o.plotOptions[this.type],s=i.plotOptions||{};return this.userOptions=o.userOptions,i=R(a,n.series,i.plotOptions&&i.plotOptions[this.type],t),this.tooltipOptions=R(h.tooltip,h.plotOptions.series&&h.plotOptions.series.tooltip,h.plotOptions[this.type].tooltip,r.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=I(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||i.stickyTracking),null===a.marker&&delete i.marker,this.zoneAxis=i.zoneAxis,n=this.zones=(i.zones||[]).slice(),!i.negativeColor&&!i.negativeFillColor||i.zones||(r={value:i[this.zoneAxis+"Threshold"]||i.threshold||0,className:"highcharts-negative"},e||(r.color=i.negativeColor,r.fillColor=i.negativeFillColor),n.push(r)),n.length&&S(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),j(this,"afterSetOptions",{options:i}),i},t.prototype.getName=function(){return I(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,r){var n=this.chart,i=this.userOptions,o=t+"Index",a=t+"Counter",s=r?r.length:I(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var c=I(i[o],i["_"+o]);S(c)||(n.series.length||(n[a]=0),i["_"+o]=c=n[a]%s,n[a]+=1),r&&(e=r[c])}"undefined"!==typeof c&&(this[o]=c),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var r,n,i=t.id,a=t.x,s=this.points,c=this.options.dataSorting;if(i)(c=this.chart.get(i))instanceof o&&(r=c);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(r=function(e){return!e.touched&&e.index===t.index},c&&c.matchByName?r=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(r=function(e){return!e.touched&&e.options.x===t.x}),!(r=C(s,r))))return;if(r){var u=r&&r.index;"undefined"!==typeof u&&(n=!0)}return"undefined"===typeof u&&P(a)&&(u=this.xData.indexOf(a,e)),-1!==u&&"undefined"!==typeof u&&this.cropped&&(u=u>=this.cropStart?u-this.cropStart:u),!n&&P(u)&&s[u]&&s[u].touched&&(u=void 0),u},t.prototype.updateData=function(t,e){var r,n,i,o=this.options,a=o.dataSorting,s=this.points,c=[],u=this.requireSorting,l=t.length===s.length,f=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=S(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},f=n.x;n.id||P(f)?(-1===(n=this.findPointIndex(n,i))||"undefined"===typeof n?c.push(t):s[n]&&t!==o.data[n]?(s[n].update(t,!1,null,!1),s[n].touched=!0,u&&(i=n+1)):s[n]&&(s[n].touched=!0),(!l||e!==n||a&&a.enabled||this.hasDerivedData)&&(r=!0)):c.push(t)}),this),r)for(t=s.length;t--;)(n=s[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!l||a&&a.enabled?f=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),c.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!f&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,r,n){var i=this,o=i.points,a=o&&o.length||0,s=i.options,c=i.chart,u=s.dataSorting,l=i.xAxis,f=s.turboThreshold,h=this.xData,d=this.yData,p=i.pointArrayMap;p=p&&p.length;var m,b=s.keys,v=0,g=1,y=null,w=(t=t||[]).length;if(e=I(e,!0),u&&u.enabled&&(t=this.sortData(t)),!1!==n&&w&&a&&!i.cropped&&!i.hasGroupedData&&i.visible&&!i.isSeriesBoosting&&(m=this.updateData(t,r)),!m){if(i.xIncrement=null,i.colorCounter=0,this.parallelArrays.forEach((function(t){i[t+"Data"].length=0})),f&&w>f)if(y=i.getFirstValidPoint(t),P(y))for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else if(T(y))if(p)if(y.length===p)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else for(r=0;r<w;r++)n=t[r],h[r]=n[0],d[r]=n.slice(1,p+1);else if(b&&(v=0<=(v=b.indexOf("x"))?v:0,g=0<=(g=b.indexOf("y"))?g:1),1===y.length&&(g=0),v===g)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r][g];else for(r=0;r<w;r++)n=t[r],h[r]=n[v],d[r]=n[g];else E(12,!1,c);else for(r=0;r<w;r++)"undefined"!==typeof t[r]&&(n={series:i},i.pointClass.prototype.applyOptions.apply(n,[t[r]]),i.updateParallelArrays(n,r));for(d&&D(d[0])&&E(14,!0,c),i.data=[],i.options.data=i.userOptions.data=t,r=a;r--;)o[r]&&o[r].destroy&&o[r].destroy();l&&(l.minRange=l.userMinRange),i.isDirty=c.isDirtyBox=!0,i.isDirtyData=!!o,r=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&c.redraw(r)},t.prototype.sortData=function(t){var e=this,r=e.options.dataSorting.sortKey||"y",n=function(t,e){return S(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(r,i){t[i]=n(e,r),t[i].index=i}),this),t.concat().sort((function(t,e){return t=A(r,t),(e=A(r,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var r=e.options,i=r.data;r.dataSorting&&r.dataSorting.enabled||!i||(i.forEach((function(r,o){i[o]=n(e,r),t[o]&&(i[o].x=t[o].x,i[o].index=o)})),e.setData(i,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,r=this.options,n=r.cropThreshold,i=t||this.getExtremesFromAll||r.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,r=!(!e||!e.logarithmic);var a=0,s=this.xData,c=this.yData,u=this.requireSorting,l=!1,f=s.length;if(e){var h=(l=e.getExtremes()).min,d=l.max;l=e.categories&&!e.names.length}if(o&&this.sorted&&!i&&(!n||f>n||this.forceCrop))if(s[f-1]<h||s[0]>d)s=[],c=[];else if(this.yData&&(s[0]<h||s[f-1]>d)){var p=this.cropData(this.xData,this.yData,h,d);s=p.xData,c=p.yData,a=p.start,p=!0}for(n=s.length||1;--n;)if(0<(e=r?t(s[n])-t(s[n-1]):s[n]-s[n-1])&&("undefined"===typeof m||e<m))var m=e;else 0>e&&u&&!l&&(E(15,!1,this.chart),u=!1);return{xData:s,yData:c,cropped:p,cropStart:a,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,j(this,"afterProcessData")},t.prototype.cropData=function(t,e,r,n,i){var o,a=t.length,s=0,c=a;for(i=I(i,this.cropShoulder),o=0;o<a;o++)if(t[o]>=r){s=Math.max(0,o-i);break}for(r=o;r<a;r++)if(t[r]>n){c=r+i;break}return{xData:t.slice(s,c),yData:e.slice(s,c),start:s,end:c}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,r=this.processedXData,n=this.processedYData,i=this.pointClass,o=r.length,a=this.cropStart||0,s=this.hasGroupedData,c=t.keys,u=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var l,f,h=this.data;if(!h&&!s){var d=[];d.length=e.length,h=this.data=d}for(c&&s&&(this.options.keys=!1),f=0;f<o;f++){if(d=a+f,s){var p=(new i).init(this,[r[f]].concat(F(n[f])));p.dataGroup=this.groupMap[t+f],p.dataGroup.options&&(p.options=p.dataGroup.options,M(p,p.dataGroup.options),delete p.dataLabels)}else(p=h[d])||"undefined"===typeof e[d]||(h[d]=p=(new i).init(this,e[d],r[f]));p&&(p.index=s?t+f:d,u[f]=p)}if(this.options.keys=c,h&&(o!==(l=h.length)||s))for(f=0;f<l;f++)f!==a||s||(f+=o),h[f]&&(h[f].destroyElements(),h[f].plotX=void 0);this.data=h,this.points=u,j(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:w(t),max:y(t)}},t.prototype.getExtremes=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;n=!!n&&n.positiveValuesOnly;var s,c=0,u=0,l=0,f=(t=t||this.stackedYData||this.processedYData||[]).length;if(r){var h=r.getExtremes();c=h.min,u=h.max}for(s=0;s<f;s++){var d=i[s];h=t[s];var p=(P(h)||T(h))&&(h.length||0<h||!n);if(d=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!r||(i[s+a]||d)>=c&&(i[s-a]||d)<=u,p&&d)if(p=h.length)for(;p--;)P(h[p])&&(o[l++]=h[p]);else o[l++]=h}return t={activeYData:o,dataMin:w(o),dataMax:y(o)},j(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,r=0,n=null;null===n&&r<e;)n=t[r],r++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,r=this.options,n=r.stacking,i=this.xAxis,o=i.categories,a=this.enabledDataSorting,s=this.yAxis,c=this.points,u=c.length,l=this.pointPlacementToXValue(),f=!!l,h=r.threshold,d=r.startFromThreshold?h:0,p=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<u;t++){var b=c[t],v=b.x,g=void 0,y=void 0,w=b.y,O=b.low,k=n&&s.stacking&&s.stacking.stacks[(this.negStacks&&w<(d?0:h)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(w)||i.positiveValuesOnly&&!i.validatePositiveValue(v))&&(b.isNull=!0),b.plotX=e=_(x(i.translate(v,0,0,0,1,l,"flags"===this.type),-1e5,1e5)),n&&this.visible&&k&&k[v]){var E=this.getStackIndicator(E,v,this.index);b.isNull||(y=(g=k[v]).points[E.key])}if(T(y)&&(O=y[0],w=y[1],O===d&&E.key===k[v].base&&(O=I(P(h)&&h,s.min)),s.positiveValuesOnly&&0>=O&&(O=null),b.total=b.stackTotal=g.total,b.percentage=g.total&&b.y/g.total*100,b.stackY=w,this.irregularWidths||g.setOffset(this.pointXOffset||0,this.barW||0)),b.yBottom=S(O)?x(s.translate(O,0,1,0,1),-1e5,1e5):null,this.dataModify&&(w=this.dataModify.modifyValue(w,t)),b.plotY=void 0,P(w)&&("undefined"!==typeof(g=s.translate(w,!1,!0,!1,!0))&&(b.plotY=x(g,-1e5,1e5))),b.isInside=this.isPointInside(b),b.clientX=f?_(i.translate(v,0,0,0,1,l)):e,b.negative=b[p]<(r[p+"Threshold"]||h||0),b.category=o&&"undefined"!==typeof o[b.x]?o[b.x]:b.x,!b.isNull&&!1!==b.visible){"undefined"!==typeof M&&(m=Math.min(m,Math.abs(e-M)));var M=e}b.zone=this.zones.length?b.getZone():void 0,!b.graphic&&this.group&&a&&(b.isNew=!0)}this.closestPointRangePx=m,j(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,r){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(r||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis,n=R(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),r&&r.len!==t.plotSizeY&&(n.height=r.len),n},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,r=this.markerGroup,n=t.sharedClips;t=t.renderer;var i=this.getClipBox(),o=this.getSharedClipKey(),a=n[o];a?a.animate(i):n[o]=a=t.clipRect(i),e&&e.clip(!1===this.options.clip?void 0:a),r&&r.clip()},t.prototype.animate=function(t){var e=this.chart,r=this.group,n=this.markerGroup,i=e.inverted,o=l(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],c=e.sharedClips[a+"m"];if(t&&r)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,i&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,c=e.renderer.clipRect({x:i?(e.plotSizeX||0)+99:-99,y:i?-e.plotLeft:-e.plotTop,width:99,height:i?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=c),r.clip(s),n&&n.clip(c);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var u=o.step;n&&n.element.childNodes.length&&(o.step=function(t,e){u&&u.apply(e,arguments),c&&c.element&&c.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,r,n){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete n[r])})),this.finishedAnimating=!0,j(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,r=this.points,n=this.chart,i=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=I(i.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(t=0;t<r.length;t++){var c=r[t],u=(e=c.graphic)?"animate":"attr",l=c.marker||{},f=!!c.marker;if((s&&"undefined"===typeof l.enabled||l.enabled)&&!c.isNull&&!1!==c.visible){var h=I(l.symbol,this.symbol,"rect"),d=this.markerAttribs(c,c.selected&&"select");this.enabledDataSorting&&(c.startXPos=a.reversed?-(d.width||0):a.width);var p=!1!==c.isInside;e?e[p?"show":"hide"](p).animate(d):p&&(0<(d.width||0)||c.hasImage)&&(c.graphic=e=n.renderer.symbol(h,d.x,d.y,d.width,d.height,f?l:i).add(o),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:c.startXPos}),u="animate")),e&&"animate"===u&&e[p?"show":"hide"](p).animate(d),e&&!n.styledMode&&e[u](this.pointAttribs(c,c.selected&&"select")),e&&e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var r=this.options,n=r.marker,i=t.marker||{},o=i.symbol||n.symbol,a=I(i.radius,n.radius);return e&&(n=n.states[e],e=i.states&&i.states[e],a=I(e&&e.radius,n&&n.radius,a+(n&&n.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(a=0),t={x:r.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var r=this.options.marker,n=t&&t.options,i=n&&n.marker||{},o=n&&n.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,c=this.color;return t=I(i.lineWidth,r.lineWidth),n=1,c=o||s||a||c,o=i.fillColor||r.fillColor||c,a=i.lineColor||r.lineColor||c,e=e||"normal",r=r.states[e]||{},e=i.states&&i.states[e]||{},t=I(e.lineWidth,r.lineWidth,t+I(e.lineWidthPlus,r.lineWidthPlus,0)),o=e.fillColor||r.fillColor||o,{stroke:a=e.lineColor||r.lineColor||a,"stroke-width":t,fill:o,opacity:n=I(e.opacity,r.opacity,n)}},t.prototype.destroy=function(t){var e,r,n,i=this,o=i.chart,a=/AppleWebKit\/533/.test(b.navigator.userAgent),s=i.data||[];for(j(i,"destroy"),this.removeEvents(t),(i.axisTypes||[]).forEach((function(t){(n=i[t])&&n.series&&(k(n.series,i),n.isDirty=n.forceRedraw=!0)})),i.legendItem&&i.chart.legend.destroyItem(i),e=s.length;e--;)(r=s[e])&&r.destroy&&r.destroy();i.clips&&i.clips.forEach((function(t){return t.destroy()})),u.clearTimeout(i.animationTimeout),L(i,(function(t,e){t instanceof c&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===i&&(o.hoverSeries=void 0),k(o.series,i),o.orderSeries(),L(i,(function(e,r){t&&"hcEvents"===r||delete i[r]}))},t.prototype.applyZones=function(){var t,e,r,n,i,o,a,s,c=this,u=this.chart,l=u.renderer,f=this.zones,h=this.clips||[],d=this.graph,p=this.area,m=Math.max(u.chartWidth,u.chartHeight),b=this[(this.zoneAxis||"y")+"Axis"],v=u.inverted,g=!1;if(f.length&&(d||p)&&b&&"undefined"!==typeof b.min){var y=b.reversed,w=b.horiz;d&&!this.showLine&&d.hide(),p&&p.hide();var O=b.getExtremes();f.forEach((function(f,_){t=y?w?u.plotWidth:0:w?0:b.toPixels(O.min)||0,t=x(I(e,t),0,m),e=x(Math.round(b.toPixels(I(f.value,O.max),!0)||0),0,m),g&&(t=e=b.toPixels(O.max)),n=Math.abs(t-e),i=Math.min(t,e),o=Math.max(t,e),b.isXAxis?(r={x:v?o:i,y:0,width:n,height:m},w||(r.x=u.plotHeight-r.x)):(r={x:0,y:v?o:i,width:m,height:n},w&&(r.y=u.plotWidth-r.y)),v&&l.isVML&&(r=b.isXAxis?{x:0,y:y?i:o,height:r.width,width:u.chartWidth}:{x:r.y-u.plotLeft-u.spacingBox.x,y:0,width:r.height,height:u.chartHeight}),h[_]?h[_].animate(r):h[_]=l.clipRect(r),a=c["zone-area-"+_],s=c["zone-graph-"+_],d&&s&&s.clip(h[_]),p&&a&&a.clip(h[_]),g=f.value>O.max,c.resetZones&&0===e&&(e=void 0)})),this.clips=h}else c.visible&&(d&&d.show(!0),p&&p.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){r[e]&&(n.renderer.isVML&&r[e].attr({width:r.yAxis.len,height:r.xAxis.len}),r[e].width=r.yAxis.len,r[e].height=r.xAxis.len,r[e].invert(!r.isRadialSeries&&t))}))}var r=this,n=r.chart;r.xAxis&&(r.eventsToUnbind.push(g(n,"resize",e)),e(),r.invertGroups=e)},t.prototype.plotGroup=function(t,e,r,n,i){var o=this[t],a=!o;return r={visibility:r,zIndex:n||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(r.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(r)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis;return t.inverted&&(e=r,r=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:r?r.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,r=t.options,n=l(r.animation),i=t.visible?"inherit":"hidden",o=r.zIndex,a=t.hasRendered,s=e.seriesGroup,c=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,j(this,"render");var u=t.plotGroup("group","series",i,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",i,o,s),!1!==r.clip&&t.setClip(),t.animate&&e&&t.animate(!0),u.inverted=!!I(t.invertible,t.isCartesian)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),t.animate&&e&&t.animate(),a||(e&&n.defer&&(e+=n.defer),t.animationTimeout=B((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,j(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,r=this.group,n=this.xAxis,i=this.yAxis;r&&(t.inverted&&r.attr({width:t.plotWidth,height:t.plotHeight}),r.animate({translateX:I(n&&n.left,t.plotLeft),translateY:I(i&&i.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?r.len-t.chartY+r.pos:t.chartX-r.pos,plotY:i?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,r=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,B((function(){e.kdTree=function t(r,n,i){var o=r&&r.length;if(o){var a=e.kdAxisArray[n%i];return r.sort((function(t,e){return t[a]-e[a]})),{point:r[o=Math.floor(o/2)],left:t(r.slice(0,o),n+1,i),right:t(r.slice(o+1),n+1,i)}}}(e.getValidPoints(null,!e.directTouch),r,r),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,r){var n=this,i=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<n.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(r),this.kdTree)return function t(e,r,s,c){var u=r.point,l=n.kdAxisArray[s%c],f=u,h=S(e[i])&&S(u[i])?Math.pow(e[i]-u[i],2):null,d=S(e[o])&&S(u[o])?Math.pow(e[o]-u[o],2):null;return d=(h||0)+(d||0),u.dist=S(d)?Math.sqrt(d):Number.MAX_VALUE,u.distX=S(h)?Math.sqrt(h):Number.MAX_VALUE,h=0>(l=e[l]-u[l])?"right":"left",r[d=0>l?"left":"right"]&&(f=(d=t(e,r[d],s+1,c))[a]<f[a]?d:u),r[h]&&Math.sqrt(l*l)<f[a]&&(f=(e=t(e,r[h],s+1,c))[a]<f[a]?e:f),f}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,r=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=r.reversed?-.5:.5),P(t)?t*(e||r.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,r=this.xAxis,n=this.yAxis;return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=(n?n.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(r?r.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,r=e.trackByArea,n=[].concat(r?t.areaPath:t.graphPath),i=t.chart,o=i.pointer,a=i.renderer,s=i.options.tooltip.snap,c=t.tracker,u=function(e){i.hoverSeries!==t&&t.onMouseOver()},l="rgba(192,192,192,"+(m?1e-4:.002)+")";c?c.attr({d:n}):t.graph&&(t.tracker=a.path(n).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(r?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),i.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l,fill:r?l:"none","stroke-width":t.graph.strokeWidth()+(r?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",u).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!i.styledMode&&t.css({cursor:e.cursor}),p)&&t.on("touchstart",u)}))),j(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,r,n,i){var o=this.options,a=this.data,s=this.chart,c=this.xAxis;c=c&&c.hasNames&&c.names;var u,l=o.data,f=this.xData;e=I(e,!0);var h={series:this};this.pointClass.prototype.applyOptions.apply(h,[t]);var d=h.x,p=f.length;if(this.requireSorting&&d<f[p-1])for(u=!0;p&&f[p-1]>d;)p--;this.updateParallelArrays(h,"splice",p,0,0),this.updateParallelArrays(h,p),c&&h.name&&(c[d]=h.name),l.splice(p,0,t),u&&(this.data.splice(p,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),r&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(h,"shift"),l.shift())),!1!==i&&j(this,"addPoint",{point:h}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(n)},t.prototype.removePoint=function(t,e,r){var n=this,i=n.data,o=i[t],a=n.points,s=n.chart,c=function(){a&&a.length===i.length&&a.splice(t,1),i.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(o||{series:n},"splice",t,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&s.redraw()};f(r,s),e=I(e,!0),o?o.firePointEvent("remove",null,c):c()},t.prototype.remove=function(t,e,r,n){function i(){o.destroy(n),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),I(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==r?j(o,"remove",null,i):i()},t.prototype.update=function(t,e){t=O(t,this.userOptions),j(this,"update",{options:t});var r,n=this,i=n.chart,o=n.userOptions,a=n.initialType||n.type,s=i.options.plotOptions,c=v[a].prototype,u=n.finishedAnimating&&{animation:!1},l={},f=["eventOptions","navigatorSeries","baseSeries"],h=t.type||o.type||i.options.chart.type,d=!(this.hasDerivedData||h&&h!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(h=h||a,d&&(f.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&f.push("area","graph"),n.parallelArrays.forEach((function(t){f.push(t+"Data")})),t.data&&(t.dataSorting&&M(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=R(o,u,{index:"undefined"===typeof o.index?n.index:o.index,pointStart:I(s&&s.series&&s.series.pointStart,o.pointStart,n.xData[0])},!d&&{data:n.options.data},t),d&&t.data&&(t.data=n.options.data),(f=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(f)).forEach((function(t){f[t]=n[t],delete n[t]})),s=!1,v[h]){if(s=h!==n.type,n.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[h].prototype);else{for(r in u=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,c)n[r]=void 0;M(n,v[h].prototype),u?n.hcEvents=u:delete n.hcEvents}}else E(17,!0,i,{missingModuleFor:h});if(f.forEach((function(t){n[t]=f[t]})),n.init(i,t),d&&this.points){var p=n.options;!1===p.visible?(l.graphic=1,l.dataLabel=1):n._hasPointLabels||(t=p.marker,c=p.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(l.graphic=1),c&&!1===c.enabled&&(l.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(l).length&&t.destroyElements(l),!1===p.showInLegend&&t.legendItem&&i.legend.destroyItem(t))}),this)}n.initialType=a,i.linkSeries(),s&&n.linkedSeries.length&&(n.isDirtyData=!0),j(this,"afterUpdate"),I(e,!0)&&i.redraw(!!d&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],r=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==I(r&&r[this.type]&&r[this.type][t],r&&r.series&&r.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&j(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,r=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&j(this,"mouseOut"),!r||this.stickyTracking||r.shared&&!this.noSharedTooltip||r.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var r=this,n=r.options,i=r.graph,o=n.inactiveOtherPoints,a=n.states,s=I(a[t||"normal"]&&a[t||"normal"].animation,r.chart.options.chart.animation),c=n.lineWidth,u=0,l=n.opacity;if(t=t||"",r.state!==t&&([r.group,r.markerGroup,r.dataLabelsGroup].forEach((function(e){e&&(r.state&&e.removeClass("highcharts-series-"+r.state),t&&e.addClass("highcharts-series-"+t))})),r.state=t,!r.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(c=a[t].lineWidth||c+(a[t].lineWidthPlus||0),l=I(a[t].opacity,l)),i&&!i.dashstyle)for(n={"stroke-width":c},i.animate(n,s);r["zone-graph-"+u];)r["zone-graph-"+u].animate(n,s),u+=1;o||[r.group,r.markerGroup,r.dataLabelsGroup,r.labelBySeries].forEach((function(t){t&&t.animate({opacity:l},s)}))}e&&o&&r.points&&r.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var r=this,n=r.chart,i=r.legendItem,o=n.options.chart.ignoreHiddenSeries,a=r.visible,s=(r.visible=t=r.options.visible=r.userOptions.visible="undefined"===typeof t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){r[t]&&r[t][s]()})),n.hoverSeries!==r&&(n.hoverPoint&&n.hoverPoint.series)!==r||r.onMouseOut(),i&&n.legend.colorizeItem(r,t),r.isDirty=!0,r.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),r.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(n.isDirtyBox=!0),j(r,s),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),j(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,r){return void 0===r&&(r={}),r.series=this,r.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,r)},t.defaultOptions=a,t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(r,"Extensions/ScrollablePlotArea.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.stop,s=o.addEvent,c=o.createElement,u=o.merge,l=o.pick;s(r,"afterSetChartSize",(function(t){var r=this.options.chart.scrollablePlotArea,n=r&&r.minWidth;if(r=r&&r.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var i={1:{name:"right",value:n}}}}else r&&(this.scrollablePixelsY=n=Math.max(0,r-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,i={2:{name:"bottom",value:n}});i&&!t.skipAxes&&this.axes.forEach((function(t){i[t.side]?t.getPlotLinePath=function(){var r=i[t.side].name,n=this[r];this[r]=n-i[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[r]=n,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(r,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),r.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=c("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=c("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=c("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},r.prototype.moveFixedElements=function(){var t,e=this.container,r=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===r.SVG_NS?r.box:r.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},r.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,r=e.scrollablePlotArea,n=i.getRendererType();t?(this.fixedDiv=c("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":l(r.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(r.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*r.scrollPositionX),r.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*r.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,r=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),u=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",r,0],["L",r,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",r,u],["L",r,this.chartHeight],["L",n,this.chartHeight],["L",n,u],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(r,"Core/Axis/StackingAxis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=r.addEvent,a=r.destroyObjectProperties,s=r.fireEvent,c=r.isNumber,u=r.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;u(e,(function(t,r){a(t),e[r]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function r(){this.stacking||(this.stacking=new l(this))}var n=[];t.compose=function(t){return-1===n.indexOf(t)&&(n.push(t),o(t,"init",r),o(t,"destroy",e)),t};var l=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,r=e.series,n=e.options.reversedStacks,i=r.length;if(!e.isXAxis){for(this.usePercentage=!1,t=i;t--;){var o=r[n?t:i-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<i;t++)r[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;u(t,(function(t){u(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||u(e,(function(e){u(e,(function(r,n){c(r.touched)&&r.touched<t.stacksTouched?(r.destroy(),delete e[n]):(r.total=null,r.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,r=e.renderer,n=this.stacks;t=i(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||r.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),u(n,(function(t){u(t,(function(t){t.render(o)}))})),o.animate({opacity:1},t)},t}();t.Additions=l}(n||(n={})),n})),e(r,"Extensions/Stacking.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Axis/StackingAxis.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=r.format,c=a.correctFloat,u=a.defined,l=a.destroyObjectProperties,f=a.isArray,h=a.isNumber,d=a.objectEach,p=a.pick,m=function(){function t(t,e,r,n,i){var o=t.chart.inverted;this.axis=t,this.isNegative=r,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=i,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?r?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":r?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?r?"right":"left":"center")}return t.prototype.destroy=function(){l(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,r=this.options,n=r.format;n=n?s(n,this,e):r.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,r.shape,null,null,r.useHTML,!1,"stack-labels"),n={r:r.borderRadius||0,text:n,rotation:r.rotation,padding:p(r.padding,5),visibility:"hidden"},e.styledMode||(n.fill=r.backgroundColor,n.stroke=r.borderColor,n["stroke-width"]=r.borderWidth,this.label.css(r.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,r,n,o){var a=this.axis,s=a.chart;n=a.translate(a.stacking.usePercentage?100:n||this.total,0,0,0,1),r=a.translate(r||0),r=u(n)&&Math.abs(n-r),t=p(o,s.xAxis[0].translate(this.x))+t,a=u(n)&&this.getStackBox(s,this,t,n,e,r,a),e=this.label,r=this.isNegative,t="justify"===p(this.options.overflow,"justify");var c=this.textAlign;e&&a&&(o=e.getBBox(),n=e.padding,c="left"===c?s.inverted?-n:n:"right"===c?o.width:s.inverted&&"center"===c?o.width/2:s.inverted?r?o.width+n:-n:o.width/2,r=s.inverted?o.height/2:r?-n:o.height,this.alignOptions.x=p(this.options.x,0),this.alignOptions.y=p(this.options.y,0),a.x-=c,a.y-=r,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+c-this.alignOptions.x,e.alignAttr.y+r-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&i.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),p(!t&&this.options.crop,!0)&&((s=h(e.x)&&h(e.y)&&s.isInsidePlot(e.x-n+e.width,e.y)&&s.isInsidePlot(e.x+n,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,r,n,i,o,a){var s=e.axis.reversed,c=t.inverted,u=a.height+a.pos-(c?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:c?e?n-a.right:n-o+a.pos-t.plotLeft:r+t.xAxis[0].transB-t.plotLeft,y:c?a.height-r-i:e?u-n-o:u-n,width:c?o:i,height:c?i:o}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(r){var n=r.xAxis&&r.xAxis.options||{};!r.options.stacking||!0!==r.visible&&!1!==t.options.chart.ignoreHiddenSeries||(r.stackKey=[r.type,p(r.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())}))},o.compose(t),i.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?i.prototype.setStackedPoints.call(this,"group"):t&&d(t.stacks,(function(e,r){"group"===r.slice(-5)&&(d(e,(function(t){return t.destroy()})),delete t.stacks[r])}))},i.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var r=this.processedXData,n=this.processedYData,i=[],o=n.length,a=this.options,s=a.threshold,l=p(a.startFromThreshold&&s,0);a=a.stack;var h,d,b="-"+(t=t?this.type+","+e:this.stackKey),v=this.negStacks,g=this.yAxis,y=g.stacking.stacks,w=g.stacking.oldStacks;for(g.stacking.stacksTouched+=1,d=0;d<o;d++){var x=r[d],O=n[d],_=this.getStackIndicator(_,x,this.index),S=_.key,k=(h=v&&O<(l?0:s))?b:t;y[k]||(y[k]={}),y[k][x]||(w[k]&&w[k][x]?(y[k][x]=w[k][x],y[k][x].total=null):y[k][x]=new m(g,g.options.stackLabels,h,x,a)),k=y[k][x],null!==O?(k.points[S]=k.points[this.index]=[p(k.cumulative,l)],u(k.cumulative)||(k.base=S),k.touched=g.stacking.stacksTouched,0<_.index&&!1===this.singleStacks&&(k.points[S][0]=k.points[this.index+","+x+",0"][0])):k.points[S]=k.points[this.index]=null,"percent"===e?(h=h?t:b,v&&y[h]&&y[h][x]?(h=y[h][x],k.total=h.total=Math.max(h.total,k.total)+Math.abs(O)||0):k.total=c(k.total+(Math.abs(O)||0))):"group"===e?(f(O)&&(O=O[0]),null!==O&&(k.total=(k.total||0)+1)):k.total=c(k.total+(O||0)),k.cumulative="group"===e?(k.total||1)-1:p(k.cumulative,l)+(O||0),null!==O&&(k.points[S].push(k.cumulative),i[d]=k.cumulative,k.hasValidPoints=!0)}"percent"===e&&(g.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=i),g.stacking.oldStacks={}}},i.prototype.modifyStacks=function(){var t,e=this,r=e.stackKey,n=e.yAxis.stacking.stacks,i=e.processedXData,o=e.options.stacking;e[o+"Stacker"]&&[r,"-"+r].forEach((function(r){for(var a,s,c=i.length;c--;)a=i[c],t=e.getStackIndicator(t,a,e.index,r),(s=(a=n[r]&&n[r][a])&&a.points[t.key])&&e[o+"Stacker"](s,a,c)}))},i.prototype.percentStacker=function(t,e,r){e=e.total?100/e.total:0,t[0]=c(t[0]*e),t[1]=c(t[1]*e),this.stackedYData[r]=t[1]},i.prototype.getStackIndicator=function(t,e,r,n){return!u(t)||t.x!==e||n&&t.key!==n?t={x:e,index:0,key:n}:t.index++,t.key=[r,e,t.index].join(),t},n.StackItem=m,n.StackItem})),e(r,"Series/Line/LineSeries.js",[r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.defined,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.prototype.drawGraph=function(){var t=this,e=this.options,r=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,i=[["graph","highcharts-graph"]];n||i[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(i=t.getZonesGraphs(i)).forEach((function(i,o){var a=i[0],s=t[a],c=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:r.xMap,s.animate({d:r})):r.length&&(t[a]=s=t.chart.renderer.path(r).addClass(i[1]).attr({zIndex:1}).add(t.group)),s&&!n&&(a={stroke:i[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},i[3]?a.dashstyle=i[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[c](a).shadow(2>o&&e.shadow)),s&&(s.startX=r.xMap,s.isArea=r.isArea)}))},r.prototype.getGraphPath=function(t,e,r){var n,o=this,a=o.options,s=[],c=[],u=a.step,l=(t=t||o.points).reversed;return l&&t.reverse(),(u={right:1,center:2}[u]||u&&3)&&l&&(u=4-u),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!r))).forEach((function(l,f){var h=l.plotX,d=l.plotY,p=t[f-1];(l.leftCliff||p&&p.rightCliff)&&!r&&(n=!0),l.isNull&&!i(e)&&0<f?n=!a.connectNulls:l.isNull&&!e?n=!0:(0===f||n?f=[["M",l.plotX,l.plotY]]:o.getPointSpline?f=[o.getPointSpline(t,l,f)]:u?(f=1===u?[["L",p.plotX,d]]:2===u?[["L",(p.plotX+h)/2,p.plotY],["L",(p.plotX+h)/2,d]]:[["L",h,p.plotY]]).push(["L",h,d]):f=[["L",h,d]],c.push(l.x),u&&(c.push(l.x),2===u&&c.push(l.x)),s.push.apply(s,f),n=!1)})),s.xMap=c,o.graphPath=s},r.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,r){r=["zone-graph-"+r,"highcharts-graph highcharts-zone-graph-"+r+" "+(e.className||"")],this.chart.styledMode||r.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(r)}),this),t},r.defaultOptions=o(t.defaultOptions,{}),r}(t),e.registerSeriesType("line",r),r})),e(r,"Series/Area/AreaSeries.js",[r["Core/Color/Color.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=t.parse,a=r.seriesTypes.line;t=n.extend;var s=n.merge,c=n.objectEach,u=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,r=this.areaPath,n=this.options,i=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(t,r){i.push(["zone-area-"+r,"highcharts-area highcharts-zone-area-"+r+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])})),i.forEach((function(t){var i=t[0],a=e[i],s=a?"animate":"attr",c={};a?(a.endX=e.preventGraphAnimation?null:r.xMap,a.animate({d:r})):(c.zIndex=0,(a=e[i]=e.chart.renderer.path(r).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(c.fill=u(t[3],o(t[2]).setOpacity(u(n.fillOpacity,.75)).get())),a[s](c),a.startX=r.xMap,a.shiftUnit=n.step?2:1}))},e.prototype.getGraphPath=function(t){var e,r=a.prototype.getGraphPath,n=this.options,i=n.stacking,o=this.yAxis,s=[],c=[],l=this.index,f=o.stacking.stacks[this.stackKey],h=n.threshold,d=Math.round(o.getThreshold(n.threshold));n=u(n.connectNulls,"percent"===i);var p=function(e,r,n){var a=t[e];e=i&&f[a.x].points[l];var u=a[n+"Null"]||0;if(n=a[n+"Cliff"]||0,a=!0,n||u){var p=(u?e[0]:e[1])+n,m=e[0]+n;a=!!u}else!i&&t[r]&&t[r].isNull&&(p=m=h);"undefined"!==typeof p&&(c.push({plotX:b,plotY:null===p?d:o.getThreshold(p),isNull:a,isCliff:!0}),s.push({plotX:b,plotY:null===m?d:o.getThreshold(m),doCurve:!1}))};for(t=t||this.points,i&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){i||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,b=u(t[e].rectPlotX,t[e].plotX),v=i?u(t[e].yBottom,d):d;m&&!n||(n||p(e,e-1,"left"),m&&!i&&n||(c.push(t[e]),s.push({x:e,plotX:b,plotY:v})),n||p(e,e+1,"right"))}return e=r.call(this,c,!0,!0),s.reversed=!0,(v=(m=r.call(this,s,!0,!0))[0])&&"M"===v[0]&&(m[0]=["L",v[1],v[2]]),(m=e.concat(m)).length&&m.push(["Z"]),r=r.call(this,c,!1,n),m.xMap=e.xMap,this.areaPath=m,r},e.prototype.getStackPoints=function(t){var e=this,r=[],n=[],i=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},l=o.series,f=l.length,h=o.options.reversedStacks?1:-1,d=l.indexOf(e);if(t=t||this.points,this.options.stacking){for(var p=0;p<t.length;p++)t[p].leftNull=t[p].rightNull=void 0,s[t[p].x]=t[p];c(a,(function(t,e){null!==t.total&&n.push(e)})),n.sort((function(t,e){return t-e}));var m=l.map((function(t){return t.visible}));n.forEach((function(t,c){var p,b,v=0;if(s[t]&&!s[t].isNull)r.push(s[t]),[-1,1].forEach((function(r){var i=1===r?"rightNull":"leftNull",o=0,u=a[n[c+r]];if(u)for(var v=d;0<=v&&v<f;){var g=l[v].index;(p=u.points[g])||(g===e.index?s[t][i]=!0:m[v]&&(b=a[t].points[g])&&(o-=b[1]-b[0])),v+=h}s[t][1===r?"rightCliff":"leftCliff"]=o}));else{for(var g=d;0<=g&&g<f;){if(p=a[t].points[l[g].index]){v=p[1];break}g+=h}v=u(v,0),v=o.translate(v,0,1,0,1),r.push({isNull:!0,plotX:i.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return r},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),r.registerSeriesType("area",n),n})),e(r,"Series/Spline/SplineSeries.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=t.seriesTypes.line,i=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getPointSpline=function(t,e,r){var n=e.plotX||0,i=e.plotY||0,a=t[r-1];if(r=t[r+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!e.isCliff){t=a.plotY||0;var s=r.plotX||0;r=r.plotY||0;var c=0,u=(1.5*n+(a.plotX||0))/2.5,l=(1.5*i+t)/2.5,f=(1.5*i+r)/2.5;(s=(1.5*n+s)/2.5)!==u&&(c=(f-l)*(s-n)/(s-u)+i-f),f+=c,(l+=c)>t&&l>i?f=2*i-(l=Math.max(t,i)):l<t&&l<i&&(f=2*i-(l=Math.min(t,i))),f>r&&f>i?l=2*i-(f=Math.max(r,i)):f<r&&f<i&&(l=2*i-(f=Math.min(r,i))),e.rightContX=s,e.rightContY=f}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(u,n,0),o(l,i,0),n,i],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=i(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e})),e(r,"Series/AreaSpline/AreaSplineSeries.js",[r["Series/Area/AreaSeries.js"],r["Series/Spline/SplineSeries.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.prototype,s=i.extend,c=i.merge;return s((i=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(n,r),n.defaultOptions=c(e.defaultOptions,t.defaultOptions),n}(e)).prototype,{getGraphPath:a.getGraphPath,getStackPoints:a.getStackPoints,drawGraph:a.drawGraph,drawLegendSymbol:r.drawRectangle}),n.registerSeriesType("areaspline",i),i})),e(r,"Series/Column/ColumnSeries.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),c=t.animObject,u=e.parse,l=r.hasTouch;t=r.noop;var f=a.clamp,h=a.css,d=a.defined,p=a.extend,m=a.fireEvent,b=a.isArray,v=a.isNumber,g=a.merge,y=a.pick,w=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,r=this.yAxis,n=e.options,i=this.chart.inverted,o={},a=i?"translateX":"translateY";if(t)o.scaleY=.001,t=f(r.toPixels(n.threshold),r.pos,r.pos+r.len),i?o.translateX=t-r.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},p(c(e.options.animation),{step:function(t,n){e.group&&(o[a]=s+n.pos*(r.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,r){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,r=t.xAxis,n=t.yAxis,i=r.options.reversedStacks;i=r.reversed&&!i||!r.reversed&&i;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var r=e.yAxis,i=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===r.len&&n.pos===r.pos){if(i.stacking&&"group"!==i.stacking){o=e.stackKey,"undefined"===typeof a[o]&&(a[o]=s++);var c=a[o]}else!1!==i.grouping&&(c=s++);e.columnIndex=c}}));var c=Math.min(Math.abs(r.transA)*(r.ordinal&&r.ordinal.slope||e.pointRange||r.closestPointRange||r.tickInterval||1),r.len),u=c*e.groupPadding,l=(c-2*u)/(s||1);return e=Math.min(e.maxPointWidth||r.len,y(e.pointWidth,l*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(l-e)/2+(u+((t.columnIndex||0)+(i?1:0))*l-c/2)*(i?-1:1),paddedWidth:l,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,r,n){var i=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,i.inverted&&i.renderer.isVML&&(o+=1),this.options.crisp&&(r=Math.round(t+r)+a,r-=t=Math.round(t)+a),n=Math.round(e+n)+o,a=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+o,a&&n&&(--e,n+=1),{x:t,y:e,width:r,height:n}},e.prototype.adjustForMissingColumns=function(t,e,r,n){var i=this,o=this.options.stacking;if(!r.isNull&&1<n.columnCount){var a=0,s=0;w(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof r.x&&(t=t[r.x.toString()])){var e=t.points[i.index],n=t.total;o?(e&&(a=s),t.hasValidPoints&&s++):b(e)&&(a=e[1],s=n||0)}})),t=(r.plotX||0)+((s-1)*n.paddedWidth+e)/2-e-a*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,r=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=y(r.borderWidth,n?0:1);var o=t.xAxis,a=t.yAxis,s=r.threshold,c=t.translatedThreshold=a.getThreshold(s),u=y(r.minPointLength,5),l=t.getColumnMetrics(),h=l.width,p=t.pointXOffset=l.offset,m=t.dataMin,b=t.dataMax,g=t.barW=Math.max(h,1+2*n);e.inverted&&(c-=.5),r.pointPadding&&(g=Math.ceil(g)),i.prototype.translate.apply(t),t.points.forEach((function(n){var i=y(n.yBottom,c),w=999+Math.abs(i),x=n.plotX||0;w=f(n.plotY,-w,a.len+w);var O=Math.min(w,i),_=Math.max(w,i)-O,S=h,k=x+p,E=g;u&&Math.abs(_)<u&&(_=u,x=!a.reversed&&!n.negative||a.reversed&&n.negative,v(s)&&v(b)&&n.y===s&&b<=s&&(a.min||0)<s&&(m!==b||(a.max||0)<=s)&&(x=!x),O=Math.abs(O-c)>u?i-u:c-(x?u:0)),d(n.options.pointWidth)&&(S=E=Math.ceil(n.options.pointWidth),k-=Math.round((S-h)/2)),r.centerInCategory&&(k=t.adjustForMissingColumns(k,S,n,l)),n.barX=k,n.pointWidth=S,n.tooltipPos=e.inverted?[f(a.len+a.pos-e.plotLeft-w,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-k-E/2,_]:[o.left-e.plotLeft+k+E/2,f(w+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),_],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[k,c,E,0]:[k,O,E,_])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var r=this.options,n=this.pointAttrToOptions||{},i=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[i]||r[i]||a;n=t&&t.options.dashStyle||r.dashStyle;var c=t&&t[o]||r[o]||this[o]||0,l=y(t&&t.opacity,r.opacity,1);if(t&&this.zones.length){var f=t.getZone();a=t.options.color||f&&(f.color||t.nonZonedColor)||this.color,f&&(s=f.borderColor||s,n=f.dashStyle||n,c=f.borderWidth||c)}return e&&t&&(e=(t=g(r.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||"undefined"!==typeof e&&u(a).brighten(t.brightness).get()||a,s=t[i]||s,c=t[o]||c,n=t.dashStyle||n,l=y(t.opacity,l)),i={fill:a,stroke:s,"stroke-width":c,opacity:l},n&&(i.dashstyle=n),i},e.prototype.drawPoints=function(){var t,e=this,r=this.chart,n=e.options,i=r.renderer,o=n.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,c=!!s,u=s&&r.pointCount<o?"animate":"attr";v(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=i[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&r.hasRendered&&r.pointCount<o&&(s.attr({x:a.startXPos}),c=!0,u="animate"),s&&c&&s[u](g(t)),n.borderRadius&&s[u]({r:n.borderRadius}),r.styledMode||s[u](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,r=e.chart,n=r.pointer,i=function(t){var e=n.getPointFromEvent(t);"undefined"!==typeof e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=b(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",i).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),l&&e[t].on("touchstart",i),!r.styledMode&&e.options.cursor&&e[t].css(h).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),i.prototype.remove.apply(t,arguments)},e.defaultOptions=g(i.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(i),p(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",a),a})),e(r,"Core/Series/DataLabel.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=e.format,a=r.defined,s=r.extend,c=r.fireEvent,u=r.isArray,l=r.merge,f=r.objectEach,h=r.pick,d=r.splat;return function(t){function e(t,e,r,n,i){var o=this,a=this.chart,c=this.isCartesian&&a.inverted,u=this.enabledDataSorting,l=h(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),f=h(t.plotY,-9999),d=e.getBBox(),p=r.rotation,m=r.align,b=a.isInsidePlot(l,Math.round(f),{inverted:c,paneCoordinates:!0,series:o}),v=function(r){u&&o.xAxis&&!g&&o.setDataLabelStartPos(t,e,i,b,r)},g="justify"===h(r.overflow,u?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||u&&!g||b||h(r.inside,!!this.options.stacking)&&n&&a.isInsidePlot(l,c?n.x+1:n.y+n.height-1,{inverted:c,paneCoordinates:!0,series:o}));if(y){var w=a.renderer.fontMetrics(a.styledMode?void 0:r.style.fontSize,e).b;n=s({x:c?this.yAxis.len-f:l,y:Math.round(c?this.xAxis.len-l:f),width:0,height:0},n),s(r,{width:d.width,height:d.height}),p?(g=!1,l=a.renderer.rotCorr(w,p),v(l={x:n.x+(r.x||0)+n.width/2+l.x,y:n.y+(r.y||0)+{top:0,middle:.5,bottom:1}[r.verticalAlign]*n.height}),e[i?"attr":"animate"](l).attr({align:m}),v=180<(v=(p+720)%360)&&360>v,"left"===m?l.y-=v?d.height:0:"center"===m?(l.x-=d.width/2,l.y-=d.height/2):"right"===m&&(l.x-=d.width,l.y-=v?0:d.height),e.placed=!0,e.alignAttr=l):(v(n),e.align(r,void 0,n),l=e.alignAttr),g&&0<=n.height?this.justifyDataLabel(e,r,l,d,n,i):h(r.crop,!0)&&(y=a.isInsidePlot(l.x,l.y,{paneCoordinates:!0,series:o})&&a.isInsidePlot(l.x+d.width,l.y+d.height,{paneCoordinates:!0,series:o})),r.shape&&!p&&e[i?"attr":"animate"]({anchorX:c?a.plotWidth-t.plotY:t.plotX,anchorY:c?a.plotHeight-t.plotX:t.plotY})}i&&u&&(e.placed=!1),y||u&&!g||(e.hide(!0),e.placed=!1)}function r(){var t=this,e=t.chart,r=t.options,n=t.points,s=t.hasRendered||0,l=e.renderer,m=r.dataLabels,b=m.animation;if(b=m.defer?i(e,b,t):{defer:0,duration:0},m=p(p(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),m),c(this,"drawDataLabels"),u(m)||m.enabled||t._hasPointLabels){var v=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",m.zIndex||6);v.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&v.show(!0),s[r.animation?"animate":"attr"]({opacity:1},b)),n.forEach((function(n){d(p(m,n.dlOptions||n.options&&n.options.dataLabels)).forEach((function(i,s){var c=i.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(t,e){var r=e.filter;return!r||(e=r.operator,t=t[r.property],r=r.value,">"===e&&t>r||"<"===e&&t<r||">="===e&&t>=r||"<="===e&&t<=r||"=="===e&&t==r||"==="===e&&t===r)}(n,i),u=n.connectors?n.connectors[s]:n.connector,d=n.dataLabels?n.dataLabels[s]:n.dataLabel,p=h(i.distance,n.labelDistance),m=!d;if(c){var b=n.getLabelConfig(),g=h(i[n.formatPrefix+"Format"],i.format);b=a(g)?o(g,b,e):(i[n.formatPrefix+"Formatter"]||i.formatter).call(b,i),g=i.style;var y=i.rotation;e.styledMode||(g.color=h(i.color,g.color,t.color,"#000000"),"contrast"===g.color?(n.contrastColor=l.getContrast(n.color||t.color),g.color=!a(p)&&i.inside||0>p||r.stacking?n.contrastColor:"#000000"):delete n.contrastColor,r.cursor&&(g.cursor=r.cursor));var w={r:i.borderRadius||0,rotation:y,padding:i.padding,zIndex:1};e.styledMode||(w.fill=i.backgroundColor,w.stroke=i.borderColor,w["stroke-width"]=i.borderWidth),f(w,(function(t,e){"undefined"===typeof t&&delete w[e]}))}!d||c&&a(b)&&!!d.div===!!i.useHTML||(n.dataLabel=d=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[s]),s||delete n.dataLabel,u&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[s]))),c&&a(b)&&(d?w.text=b:(n.dataLabels=n.dataLabels||[],d=n.dataLabels[s]=y?l.text(b,0,-9999,i.useHTML).addClass("highcharts-data-label"):l.label(b,0,-9999,i.shape,null,null,i.useHTML,null,"data-label"),s||(n.dataLabel=d),d.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(i.className||"")+(i.useHTML?" highcharts-tracker":""))),d.options=i,d.attr(w),e.styledMode||d.css(g).shadow(i.shadow),d.added||d.add(v),i.textPath&&!i.useHTML&&(d.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(d)||n.graphic,i.textPath),n.dataLabelPath&&!i.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),t.alignDataLabel(n,d,i,null,m))}))}))}c(this,"afterDrawDataLabels")}function n(t,e,r,n,i,o){var a=this.chart,s=e.align,c=e.verticalAlign,u=t.box?0:t.padding||0,l=e.x;l=void 0===l?0:l;var f=e.y;f=void 0===f?0:f;var h=(r.x||0)+u;if(0>h){"right"===s&&0<=l?(e.align="left",e.inside=!0):l-=h;var d=!0}return(h=(r.x||0)+n.width-u)>a.plotWidth&&("left"===s&&0>=l?(e.align="right",e.inside=!0):l+=a.plotWidth-h,d=!0),0>(h=r.y+u)&&("bottom"===c&&0<=f?(e.verticalAlign="top",e.inside=!0):f-=h,d=!0),(h=(r.y||0)+n.height-u)>a.plotHeight&&("top"===c&&0>=f?(e.verticalAlign="bottom",e.inside=!0):f+=a.plotHeight-h,d=!0),d&&(e.x=l,e.y=f,t.placed=!o,t.align(e,void 0,i)),d}function p(t,e){var r,n=[];if(u(t)&&!u(e))n=t.map((function(t){return l(t,e)}));else if(u(e)&&!u(t))n=e.map((function(e){return l(t,e)}));else if(u(t)||u(e))for(r=Math.max(t.length,e.length);r--;)n[r]=l(t[r],e[r]);else n=l(t,e);return n}function m(t,e,r,n,i){var o=this.chart,a=o.inverted,s=this.xAxis,c=s.reversed,u=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?i.x:c?-u-t:s.width-u+t,e.startYPos=a?c?this.yAxis.height-u+t:-u-t:i.y,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(r&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var b=[];t.compose=function(t){if(-1===b.indexOf(t)){var i=t.prototype;b.push(t),i.alignDataLabel=e,i.drawDataLabels=r,i.justifyDataLabel=n,i.setDataLabelStartPos=m}}}(n||(n={})),n})),e(r,"Series/Column/ColumnDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=e.series,o=r.merge,a=r.pick;return function(e){function r(t,e,r,n,s){var c=this.chart.inverted,u=t.series,l=(u.xAxis?u.xAxis.len:this.chart.plotSizeX)||0;u=(u.yAxis?u.yAxis.len:this.chart.plotSizeY)||0;var f=t.dlBox||t.shapeArgs,h=a(t.below,t.plotY>a(this.translatedThreshold,u)),d=a(r.inside,!!this.options.stacking);f&&(0>(n=o(f)).y&&(n.height+=n.y,n.y=0),0<(f=n.y+n.height-u)&&f<n.height&&(n.height-=f),c&&(n={x:u-n.y-n.height,y:l-n.x-n.width,width:n.height,height:n.width}),d||(c?(n.x+=h?0:n.width,n.width=0):(n.y+=h?n.height:0,n.height=0))),r.align=a(r.align,!c||d?"center":h?"right":"left"),r.verticalAlign=a(r.verticalAlign,c||d?"middle":h?"top":"bottom"),i.prototype.alignDataLabel.call(this,t,e,r,n,s),r.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(i),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=r)}}(n||(n={})),n})),e(r,"Series/Bar/BarSeries.js",[r["Series/Column/ColumnSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.extend,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.defaultOptions=o(t.defaultOptions,{}),r}(t),i(r.prototype,{inverted:!0}),e.registerSeriesType("bar",r),r})),e(r,"Series/Scatter/ScatterSeries.js",[r["Series/Column/ColumnSeries.js"],r["Series/Line/LineSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.addEvent,a=n.extend,s=n.merge;return a((n=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(r,t),r.prototype.applyJitter=function(){var t=this,e=this.options.jitter,r=this.points.length;e&&this.points.forEach((function(n,i){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!n.isNull){var c=t[o+"Axis"],u=e[o]*c.transA;if(c&&!c.isLog){var l=Math.max(0,n[s]-u);c=Math.min(c.len,n[s]+u),a=1e4*Math.sin(i+a*r),n[s]=l+(c-l)*(a-Math.floor(a)),"x"===o&&(n.clientX=n.plotX)}}}))}))},r.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},r.defaultOptions=s(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),r}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(n,"afterTranslate",(function(){this.applyJitter()})),r.registerSeriesType("scatter",n),n})),e(r,"Series/CenteredUtilities.js",[r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.deg2rad,o=r.isNumber,a=r.pick,s=r.relativeLength;return function(t){t.getCenter=function(){var t=this.options,r=this.chart,n=2*(t.slicedOffset||0),i=r.plotWidth-2*n,o=r.plotHeight-2*n,c=t.center,u=Math.min(i,o),l=t.size,f=t.innerSize||0;for("string"===typeof l&&(l=parseFloat(l)),"string"===typeof f&&(f=parseFloat(f)),t=[a(c[0],"50%"),a(c[1],"50%"),a(l&&0>l?void 0:t.size,"100%"),a(f&&0>f?void 0:t.innerSize||0,"0%")],!r.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)l=t[c],r=2>c||2===c&&/%$/.test(l),t[c]=s(l,[i,o,u,t[2]][c])+(r?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=o(t)?t:0,e=o(e)&&e>t&&360>e-t?e:t+360,{start:i*(t+-90),end:i*(e+-90)}}}(n||(n={})),n})),e(r,"Series/Pie/PiePoint.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.setAnimation,o=r.addEvent,a=r.defined;t=r.extend;var s=r.isNumber,c=r.pick,u=r.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,r=this.connectorShapes,n=e.connectorShape;return r[n]&&(n=r[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=c(this.name,"Slice");var r=function(t){e.slice("select"===t.type)};return o(this,"select",r),o(this,"unselect",r),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var r=this,n=this.series,i=n.chart,o=n.options.ignoreHiddenPoint;e=c(e,o),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){r[e]&&r[e][t?"show":"hide"](t)})),this.legendItem&&i.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(n.isDirty=!0),e&&i.redraw())},e.prototype.slice=function(t,e,r){var n=this.series;i(r,n.chart),c(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,r){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],r.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,r){e=e.touchingSliceAt;var n=this.series,i=n.center[0],o=n.chart.plotWidth,a=n.chart.plotLeft;n=t.alignment;var s=this.shapeArgs.r;return r=u(r.crookDistance,1),r=["L",o="left"===n?i+s+(o+a-i-s)*(1-r):a+(i-s)*r,t.y],i=!0,("left"===n?o>t.x||o<e.x:o<t.x||o>e.x)&&(i=!1),t=[["M",t.x,t.y]],i&&t.push(r),t.push(["L",e.x,e.y]),t}}}),e})),e(r,"Series/Pie/PieSeries.js",[r["Series/CenteredUtilities.js"],r["Series/Column/ColumnSeries.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Series/Pie/PiePoint.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=t.getStartAndEndRadians;r=r.noop;var f=c.clamp,h=c.extend,d=c.fireEvent,p=c.merge,m=c.pick,b=c.relativeLength;return c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return u(e,t),e.prototype.animate=function(t){var e=this,r=e.points,n=e.startAngleRad;t||r.forEach((function(t){var r=t.graphic,i=t.shapeArgs;r&&i&&(r.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),r.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,r=this.options;if(0===this.total&&this.center){var n=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,i,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(n,i,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,r){var n=this.center,i=this.radii?this.radii[r.index]||0:n[2]/2;return t=Math.asin(f((t-n[1])/(i+r.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(i+r.labelDistance)+(0<r.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,r,n,i=this,o=i.chart,a=o.renderer,s=i.options.shadow;this.drawEmpty(),!s||i.shadowGroup||o.styledMode||(i.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(i.group)),i.points.forEach((function(c){var u={};if(e=c.graphic,!c.isNull&&e){var l=void 0;n=c.shapeArgs,t=c.getTranslate(),o.styledMode||(l=c.shadowGroup,s&&!l&&(l=c.shadowGroup=a.g("shadow").add(i.shadowGroup)),l&&l.attr(t),r=i.pointAttribs(c,c.selected&&"select")),c.delayedRendering?(e.setRadialReference(i.center).attr(n).attr(t),o.styledMode||e.attr(r).attr({"stroke-linejoin":"round"}).shadow(s,l),c.delayedRendering=!1):(e.setRadialReference(i.center),o.styledMode||p(!0,u,r),p(!0,u,n,t),e.animate(u)),e.attr({visibility:c.visible?"inherit":"hidden"}),e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,r){return"undefined"!==typeof t.angle&&(r.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=this.options,r=e.slicedOffset,n=r+(e.borderWidth||0),i=l(e.startAngle,e.endAngle),o=this.startAngleRad=i.start;i=(this.endAngleRad=i.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var c,u=a.length,f=0;for(t||(this.center=t=this.getCenter()),c=0;c<u;c++){var h=a[c],p=o+f*i;!h.isValid()||e&&!h.visible||(f+=h.percentage/100);var v=o+f*i,g={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*p)/1e3,end:Math.round(1e3*v)/1e3};h.shapeType="arc",h.shapeArgs=g,h.labelDistance=m(h.options.dataLabels&&h.options.dataLabels.distance,s),h.labelDistance=b(h.labelDistance,g.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,h.labelDistance),(v=(v+p)/2)>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),h.slicedTranslation={translateX:Math.round(Math.cos(v)*r),translateY:Math.round(Math.sin(v)*r)},g=Math.cos(v)*t[2]/2;var y=Math.sin(v)*t[2]/2;h.tooltipPos=[t[0]+.7*g,t[1]+.7*y],h.half=v<-Math.PI/2||v>Math.PI/2?1:0,h.angle=v,p=Math.min(n,h.labelDistance/5),h.labelPosition={natural:{x:t[0]+g+Math.cos(v)*h.labelDistance,y:t[1]+y+Math.sin(v)*h.labelDistance},final:{},alignment:0>h.labelDistance?"center":h.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+g+Math.cos(v)*p,y:t[1]+y+Math.sin(v)*p},touchingSliceAt:{x:t[0]+g,y:t[1]+y}}}}d(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,r=e.length,n=this.options.ignoreHiddenPoint,i=0;for(t=0;t<r;t++){var o=e[t];!o.isValid()||n&&!o.visible||(i+=o.y)}for(this.total=i,t=0;t<r;t++)(o=e[t]).percentage=0<i&&(o.visible||!n)?o.y/i*100:0,o.total=i},e.defaultOptions=p(o.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(o),h(c.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:r,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:r,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",c),c})),e(r,"Series/Pie/PieDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o,a=e.noop,s=r.distribute,c=n.series,u=i.arrayMax,l=i.clamp,f=i.defined,h=i.merge,d=i.pick,p=i.relativeLength;return function(e){function r(){var t,e,r,n,i,o,a,l,p,m,b,v,g=this,y=g.data,w=g.chart,x=g.options.dataLabels||{},O=x.connectorPadding,_=w.plotWidth,S=w.plotHeight,k=w.plotLeft,E=Math.round(w.chartWidth/3),M=g.center,C=M[2]/2,j=M[1],A=[[],[]],T=[0,0,0,0],P=g.dataLabelPositioners;g.visible&&(x.enabled||g._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),c.prototype.drawDataLabels.apply(g),y.forEach((function(t){t.dataLabel&&(t.visible?(A[t.half].push(t),t.dataLabel._pos=null,!f(x.style.width)&&!f(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>E&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),A.forEach((function(e,r){var c,u=e.length,h=[];if(u){if(g.sortByAngle(e,r-.5),0<g.maxLabelDistance){var y=Math.max(0,j-C-g.maxLabelDistance),E=Math.min(j+C+g.maxLabelDistance,w.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,j-C-t.labelDistance),t.bottom=Math.min(j+C+t.labelDistance,w.plotHeight),c=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+c/2,size:c,rank:t.y},h.push(t.distributeBox))})),s(h,y=E+c-y,y/5)}for(b=0;b<u;b++){if(t=e[b],o=t.labelPosition,n=t.dataLabel,m=!1===t.visible?"hidden":"inherit",p=y=o.natural.y,h&&f(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?m="hidden":(a=t.distributeBox.size,p=P.radialDistributionY(t))),delete t.positionIndex,x.justify)l=P.justify(t,C,M);else switch(x.alignTo){case"connectors":l=P.alignToConnectors(e,r,_,k);break;case"plotEdges":l=P.alignToPlotEdges(n,r,_,k);break;default:l=P.radialDistributionX(g,t,p,y)}n._attr={visibility:m,align:o.alignment},v=t.options.dataLabels||{},n._pos={x:l+d(v.x,x.x)+({left:O,right:-O}[o.alignment]||0),y:p+d(v.y,x.y)-10},o.final.x=l,o.final.y=p,d(x.crop,!0)&&(i=n.getBBox().width,y=null,l-i<O&&1===r?(y=Math.round(i-l+O),T[3]=Math.max(y,T[3])):l+i>_-O&&0===r&&(y=Math.round(l+i-_+O),T[1]=Math.max(y,T[1])),0>p-a/2?T[0]=Math.max(Math.round(a/2-p),T[0]):p+a/2>S&&(T[2]=Math.max(Math.round(p+a/2-S),T[2])),n.sideOverflow=y)}}})),0===u(T)||this.verifyDataLabelOverflow(T))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;(v=h(x,t.options.dataLabels),e=d(v.connectorWidth,1))&&(r=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(m=n._attr.visibility,(i=!r)&&(t.connector=r=w.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(g.dataLabelsGroup),w.styledMode||r.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),r[i?"attr":"animate"]({d:t.getConnectorPath()}),r.attr("visibility",m)):r&&(t.connector=r.destroy()))})))}function n(){this.points.forEach((function(t){var e,r=t.dataLabel;r&&t.visible&&((e=r._pos)?(r.sideOverflow&&(r._attr.width=Math.max(r.getBBox().width-r.sideOverflow,0),r.css({width:r._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),r.shortened=!0),r.attr(r._attr),r[r.moved?"animate":"attr"](e),r.moved=!0):r&&r.attr({y:-9999})),delete t.distributeBox}),this)}function i(t){var e=this.center,r=this.options,n=r.center,i=r.minSize||80,o=null!==r.size;if(!o){if(null!==n[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),i);else a=Math.max(e[2]-t[1]-t[3],i),e[0]+=(t[3]-t[1])/2;null!==n[1]?a=l(a,i,e[2]-Math.max(t[0],t[2])):(a=l(a,i,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(p(r.innerSize||0,a),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,r,n){return t.getX(r<e.top+2||r>e.bottom-2?n:r,e.half,e)},justify:function(t,e,r){return r[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,r,n){return t=t.getBBox().width,e?t+n:r-t-n},alignToConnectors:function(t,e,r,n){var i,o=0;return t.forEach((function(t){(i=t.dataLabel.getBBox().width)>o&&(o=i)})),e?o+n:r-o-n}};e.compose=function(e){t.compose(c),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=a,e.drawDataLabels=r,e.placeDataLabels=n,e.verifyDataLabelOverflow=i)}}(o||(o={})),o})),e(r,"Extensions/OverlappingDataLabels.js",[r["Core/Chart/Chart.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e){var r=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})})),i(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return r}var n=e.addEvent,i=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,c=e.pick;n(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(n){var i=n.options.dataLabels;n.visible&&(!1!==i.enabled||n._hasPointLabels)&&((i=function(n){return n.forEach((function(n){n.visible&&(o(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=c(o.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),o.allowOverlap?(i.oldOpacity=i.opacity,i.newOpacity=1,r(i,t)):e.push(i)}))}))})(n.nodes||[]),i(n.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,n,o,s=this,c=t.length,u=s.renderer,l=!1,f=function(t){var e,r,n=t.box?0:t.padding||0,i=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=u.fontMetrics(null,t.element).h);var c=t.width-2*n;return(r={left:"0",center:"0.5",right:"1"}[t.alignValue])?i=+r*c:a(t.x)&&Math.round(t.x)!==t.translateX&&(i=t.x-t.translateX),{x:o.x+(s.translateX||0)+n-(i||0),y:o.y+(s.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=f(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<c;n++){var h=(f=t[n])&&f.absoluteBox;for(e=n+1;e<c;++e){var d=(o=t[e])&&o.absoluteBox;!h||!d||f===o||0===f.newOpacity||0===o.newOpacity||d.x>=h.x+h.width||d.x+d.width<=h.x||d.y>=h.y+h.height||d.y+d.height<=h.y||((f.labelrank<o.labelrank?f:o).newOpacity=0)}}t.forEach((function(t){r(t,s)&&(l=!0)})),l&&i(s,"afterHideAllOverlappingLabels")}})),e(r,"Core/Responsive.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.extend,n=t.find,i=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,c=t.pick,u=t.splat,l=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),r(t.prototype,f.prototype)),t};var f=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,r={};return function t(r,n,a,c){var l;s(r,(function(r,s){if(!c&&-1<e.collectionsWithUpdate.indexOf(s)&&n[s])for(r=u(r),a[s]=[],l=0;l<Math.max(r.length,n[s].length);l++)n[s][l]&&(void 0===r[l]?a[s][l]=n[s][l]:(a[s][l]={},t(r[l],n[s][l],a[s][l],c+1)));else o(r)?(a[s]=i(r)?[]:{},t(r,n[s]||{},a[s],c+1)):a[s]="undefined"===typeof n[s]?null:n[s]}))}(t,this.options,r,0),r},t.prototype.matchResponsiveRule=function(t,e){var r=t.condition;(r.callback||function(){return this.chartWidth<=c(r.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=c(r.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=c(r.minWidth,0)&&this.chartHeight>=c(r.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var r=this,i=this.options.responsive,o=this.currentResponsive,s=[];!e&&i&&i.rules&&i.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=l()),r.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return n((i||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(r,"masters/highcharts.src.js",[r["Core/Globals.js"],r["Core/Utilities.js"],r["Core/DefaultOptions.js"],r["Core/Animation/Fx.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/FormatUtilities.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Renderer/HTML/HTMLElement.js"],r["Core/Renderer/HTML/HTMLRenderer.js"],r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/Axis/LogarithmicAxis.js"],r["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],r["Core/Axis/Tick.js"],r["Core/Tooltip.js"],r["Core/Series/Point.js"],r["Core/Pointer.js"],r["Core/MSPointer.js"],r["Core/Legend/Legend.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Series/Column/ColumnSeries.js"],r["Series/Column/ColumnDataLabel.js"],r["Series/Pie/PieSeries.js"],r["Series/Pie/PieDataLabel.js"],r["Core/Series/DataLabel.js"],r["Core/Responsive.js"],r["Core/Color/Color.js"],r["Core/Time.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A,T,P){return t.animate=i.animate,t.animObject=i.animObject,t.getDeferredAnimation=i.getDeferredAnimation,t.setAnimation=i.setAnimation,t.stop=i.stop,t.timers=n.timers,t.AST=o,t.Axis=h,t.Chart=O,t.chart=O.chart,t.Fx=n,t.Legend=x,t.PlotLineOrBand=m,t.Point=g,t.Pointer=w.isRequired()?w:y,t.Series=_,t.SVGElement=c,t.SVGRenderer=u,t.Tick=b,t.Time=P,t.Tooltip=v,t.Color=T,t.color=T.parse,f.compose(u),l.compose(c),t.defaultOptions=r.defaultOptions,t.getOptions=r.getOptions,t.time=r.defaultTime,t.setOptions=r.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=S.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,E.compose(k),j.compose(_),d.compose(h),p.compose(h),C.compose(M),m.compose(h),A.compose(O),t})),r["masters/highcharts.src.js"]._modules=r,r["masters/highcharts.src.js"]}))},function(t,e,r){(function(t,n){var i;!function(o){var a=e,s=(t&&t.exports,"object"==typeof n&&n);s.global!==s&&s.window;var c=function(t){this.message=t};(c.prototype=new Error).name="InvalidCharacterError";var u=function(t){throw new c(t)},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=/[\t\n\f\r ]/g,h={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&u("The string to be encoded contains characters outside of the Latin1 range.");for(var e,r,n,i,o=t.length%3,a="",s=-1,c=t.length-o;++s<c;)e=t.charCodeAt(s)<<16,r=t.charCodeAt(++s)<<8,n=t.charCodeAt(++s),a+=l.charAt((i=e+r+n)>>18&63)+l.charAt(i>>12&63)+l.charAt(i>>6&63)+l.charAt(63&i);return 2==o?(e=t.charCodeAt(s)<<8,r=t.charCodeAt(++s),a+=l.charAt((i=e+r)>>10)+l.charAt(i>>4&63)+l.charAt(i<<2&63)+"="):1==o&&(i=t.charCodeAt(s),a+=l.charAt(i>>2)+l.charAt(i<<4&63)+"=="),a},decode:function(t){var e=(t=String(t).replace(f,"")).length;e%4==0&&(e=(t=t.replace(/==?$/,"")).length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&u("Invalid character: the string to be decoded is not correctly encoded.");for(var r,n,i=0,o="",a=-1;++a<e;)n=l.indexOf(t.charAt(a)),r=i%4?64*r+n:n,i++%4&&(o+=String.fromCharCode(255&r>>(-2*i&6)));return o},version:"1.0.0"};void 0===(i=function(){return h}.call(e,r,e,t))||(t.exports=i)}()}).call(this,r(203)(t),r(120))},,,,,,function(t,e,r){},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},function(t,e,r){var n=r(629);t.exports=function(t,e){var r=!0;return n(t,(function(t,n,i){return r=!!e(t,n,i)})),r}},function(t,e,r){var n=r(392);t.exports=function(t,e){return function(r,i){if(null==r)return r;if(!n(r))return t(r,i);for(var o=r.length,a=e?o:-1,s=Object(r);(e?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},function(t,e,r){var n=r(245),i=r(392),o=r(472);t.exports=function(t){return function(e,r,a){var s=Object(e);if(!i(e)){var c=n(r,3);e=o(e),r=function(t){return c(s[t],t,s)}}var u=t(e,r,a);return u>-1?s[c?e[u]:u]:void 0}}},function(t,e,r){var n=r(798),i=r(245),o=r(1255),a=Math.max;t.exports=function(t,e,r){var s=null==t?0:t.length;if(!s)return-1;var c=null==r?0:o(r);return c<0&&(c=a(s+c,0)),n(t,i(e,3),c)}},function(t,e,r){var n=r(799);t.exports=function(t){var e=n(t),r=e%1;return e===e?r?e-r:e:0}},function(t,e,r){var n=r(1257),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},function(t,e){var r=/\s/;t.exports=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}},function(t,e,r){var n=r(150),i=r(1259),o=r(800),a=Math.max,s=Math.min;t.exports=function(t,e,r){var c,u,l,f,h,d,p=0,m=!1,b=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=c,n=u;return c=u=void 0,p=e,f=t.apply(n,r)}function y(t){return p=t,h=setTimeout(x,e),m?g(t):f}function w(t){var r=t-d;return void 0===d||r>=e||r<0||b&&t-p>=l}function x(){var t=i();if(w(t))return O(t);h=setTimeout(x,function(t){var r=e-(t-d);return b?s(r,l-(t-p)):r}(t))}function O(t){return h=void 0,v&&c?g(t):(c=u=void 0,f)}function _(){var t=i(),r=w(t);if(c=arguments,u=this,d=t,r){if(void 0===h)return y(d);if(b)return clearTimeout(h),h=setTimeout(x,e),g(d)}return void 0===h&&(h=setTimeout(x,e)),f}return e=o(e)||0,n(r)&&(m=!!r.leading,l=(b="maxWait"in r)?a(o(r.maxWait)||0,e):l,v="trailing"in r?!!r.trailing:v),_.cancel=function(){void 0!==h&&clearTimeout(h),p=0,c=d=u=h=void 0},_.flush=function(){return void 0===h?f:O(i())},_}},function(t,e,r){var n=r(214);t.exports=function(){return n.Date.now()}},function(t,e,r){var n=r(390),i=r(588),o=r(68),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},function(t,e,r){var n=r(587),i=r(594),o=r(245),a=r(802),s=r(1262),c=r(693),u=r(1263),l=r(345),f=r(68);t.exports=function(t,e,r){e=e.length?n(e,(function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[l];var h=-1;e=n(e,c(o));var d=a(t,(function(t,r,i){return{criteria:n(e,(function(e){return e(t)})),index:++h,value:t}}));return s(d,(function(t,e){return u(t,e,r)}))}},function(t,e){t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},function(t,e,r){var n=r(1264);t.exports=function(t,e,r){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,c=r.length;++i<s;){var u=n(o[i],a[i]);if(u)return i>=c?u:u*("desc"==r[i]?-1:1)}return t.index-e.index}},function(t,e,r){var n=r(344);t.exports=function(t,e){if(t!==e){var r=void 0!==t,i=null===t,o=t===t,a=n(t),s=void 0!==e,c=null===e,u=e===e,l=n(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||i&&s&&u||!r&&u||!o)return 1;if(!i&&!a&&!l&&t<e||l&&r&&o&&!i&&!a||c&&r&&o||!s&&o||!u)return-1}return 0}},function(t,e,r){var n=r(345),i=r(1266),o=r(1268);t.exports=function(t,e){return o(i(t,e,n),t+"")}},function(t,e,r){var n=r(1267),i=Math.max;t.exports=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a<s;)c[a]=o[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=o[a];return u[e]=r(c),n(t,this,u)}}},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(1269),i=r(1271)(n);t.exports=i},function(t,e,r){var n=r(1270),i=r(690),o=r(345),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o;t.exports=a},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var r=Date.now;t.exports=function(t){var e=0,n=0;return function(){var i=r(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,r){var n=r(1273),i=r(484),o=r(799);t.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&i(e,r,a)&&(r=a=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),a=void 0===a?e<r?1:-1:o(a),n(e,r,a,t)}}},function(t,e){var r=Math.ceil,n=Math.max;t.exports=function(t,e,i,o){for(var a=-1,s=n(r((e-t)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=t,t+=i;return c}},function(t,e){t.exports=function(t,e){return t>e}},function(t,e){t.exports=function(t,e){return t<e}},function(t,e,r){var n=r(587),i=r(245),o=r(802),a=r(68);t.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},function(t,e,r){var n=r(696),i=r(1278),o=r(1282),a=r(698),s=r(1283),c=r(593);t.exports=function(t,e,r){var u=-1,l=i,f=t.length,h=!0,d=[],p=d;if(r)h=!1,l=o;else if(f>=200){var m=e?null:s(t);if(m)return c(m);h=!1,l=a,p=new n}else p=e?[]:d;t:for(;++u<f;){var b=t[u],v=e?e(b):b;if(b=r||0!==b?b:0,h&&v===v){for(var g=p.length;g--;)if(p[g]===v)continue t;e&&p.push(v),d.push(b)}else l(p,v,r)||(p!==d&&p.push(v),d.push(b))}return d}},function(t,e,r){var n=r(1279);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},function(t,e,r){var n=r(798),i=r(1280),o=r(1281);t.exports=function(t,e,r){return e===e?o(t,e,r):n(t,i,r)}},function(t,e){t.exports=function(t){return t!==t}},function(t,e){t.exports=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}},function(t,e){t.exports=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}},function(t,e,r){var n=r(700),i=r(1284),o=r(593),a=n&&1/o(new n([,-0]))[1]==1/0?function(t){return new n(t)}:i;t.exports=a},function(t,e){t.exports=function(){}},function(t,e,r){var n=r(629);t.exports=function(t,e){var r;return n(t,(function(t,n,i){return!(r=e(t,n,i))})),!!r}},function(t,e,r){var n=r(1287),i=r(1288),o=r(1289);function a(t){return this instanceof a?(this.nodes=n(t),this):new a(t)}a.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""},a.prototype.walk=function(t,e){return i(this.nodes,t,e),this},a.unit=r(1290),a.walk=i,a.stringify=o,t.exports=a},function(t,e){var r="(".charCodeAt(0),n=")".charCodeAt(0),i="'".charCodeAt(0),o='"'.charCodeAt(0),a="\\".charCodeAt(0),s="/".charCodeAt(0),c=",".charCodeAt(0),u=":".charCodeAt(0),l="*".charCodeAt(0);t.exports=function(t){for(var e,f,h,d,p,m,b,v,g=[],y=t,w=0,x=y.charCodeAt(w),O=y.length,_=[{nodes:g}],S=0,k="",E="",M="";w<O;)if(x<=32){e=w;do{e+=1,x=y.charCodeAt(e)}while(x<=32);d=y.slice(w,e),h=g[g.length-1],x===n&&S?M=d:h&&"div"===h.type?h.after=d:x===c||x===u||x===s&&y.charCodeAt(e+1)!==l?E=d:g.push({type:"space",sourceIndex:w,value:d}),w=e}else if(x===i||x===o){e=w,d={type:"string",sourceIndex:w,quote:f=x===i?"'":'"'};do{if(p=!1,~(e=y.indexOf(f,e+1)))for(m=e;y.charCodeAt(m-1)===a;)m-=1,p=!p;else e=(y+=f).length-1,d.unclosed=!0}while(p);d.value=y.slice(w+1,e),g.push(d),w=e+1,x=y.charCodeAt(w)}else if(x===s&&y.charCodeAt(w+1)===l)d={type:"comment",sourceIndex:w},-1===(e=y.indexOf("*/",w))&&(d.unclosed=!0,e=y.length),d.value=y.slice(w+2,e),g.push(d),w=e+2,x=y.charCodeAt(w);else if(x===s||x===c||x===u)d=y[w],g.push({type:"div",sourceIndex:w-E.length,value:d,before:E,after:""}),E="",w+=1,x=y.charCodeAt(w);else if(r===x){e=w;do{e+=1,x=y.charCodeAt(e)}while(x<=32);if(d={type:"function",sourceIndex:w-k.length,value:k,before:y.slice(w+1,e)},w=e,"url"===k&&x!==i&&x!==o){e-=1;do{if(p=!1,~(e=y.indexOf(")",e+1)))for(m=e;y.charCodeAt(m-1)===a;)m-=1,p=!p;else e=(y+=")").length-1,d.unclosed=!0}while(p);b=e;do{b-=1,x=y.charCodeAt(b)}while(x<=32);d.nodes=w!==b+1?[{type:"word",sourceIndex:w,value:y.slice(w,b+1)}]:[],d.unclosed&&b+1!==e?(d.after="",d.nodes.push({type:"space",sourceIndex:b+1,value:y.slice(b+1,e)})):d.after=y.slice(b+1,e),w=e+1,x=y.charCodeAt(w),g.push(d)}else S+=1,d.after="",g.push(d),_.push(d),g=d.nodes=[],v=d;k=""}else if(n===x&&S)w+=1,x=y.charCodeAt(w),v.after=M,M="",S-=1,_.pop(),g=(v=_[S]).nodes;else{e=w;do{x===a&&(e+=1),e+=1,x=y.charCodeAt(e)}while(e<O&&!(x<=32||x===i||x===o||x===c||x===u||x===s||x===r||x===n&&S));d=y.slice(w,e),r===x?k=d:g.push({type:"word",sourceIndex:w,value:d}),w=e}for(w=_.length-1;w;w-=1)_[w].unclosed=!0;return _[0].nodes}},function(t,e){t.exports=function t(e,r,n){var i,o,a,s;for(i=0,o=e.length;i<o;i+=1)a=e[i],n||(s=r(a,i,e)),!1!==s&&"function"===a.type&&Array.isArray(a.nodes)&&t(a.nodes,r,n),n&&r(a,i,e)}},function(t,e){function r(t,e){var r,i,o=t.type,a=t.value;return e&&void 0!==(i=e(t))?i:"word"===o||"space"===o?a:"string"===o?(r=t.quote||"")+a+(t.unclosed?"":r):"comment"===o?"/*"+a+(t.unclosed?"":"*/"):"div"===o?(t.before||"")+a+(t.after||""):Array.isArray(t.nodes)?(r=n(t.nodes),"function"!==o?r:a+"("+(t.before||"")+r+(t.after||"")+(t.unclosed?"":")")):a}function n(t,e){var n,i;if(Array.isArray(t)){for(n="",i=t.length-1;~i;i-=1)n=r(t[i],e)+n;return n}return r(t,e)}t.exports=n},function(t,e){var r="-".charCodeAt(0),n="+".charCodeAt(0),i=".".charCodeAt(0),o="e".charCodeAt(0),a="E".charCodeAt(0);t.exports=function(t){for(var e,s=0,c=t.length,u=!1,l=-1,f=!1;s<c;){if((e=t.charCodeAt(s))>=48&&e<=57)f=!0;else if(e===o||e===a){if(l>-1)break;l=s}else if(e===i){if(u)break;u=!0}else{if(e!==n&&e!==r)break;if(0!==s)break}s+=1}return l+1===s&&s--,!!f&&{number:t.slice(0,s),unit:t.slice(s)}}},function(t,e,r){var n=function(){function t(t,e){var r;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=new Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}function e(t,e,r){r=r||0;for(var n=0;n<e;n++)this.push(t),t+=r}function r(t,e){for(e+=t=this.length-t;t<e;t++)this.push(this[t])}function n(t){for(var e=[],r=0,n=t.length;r<n;r++){var i=t[r];"function"===typeof i?(r++,i.apply(e,t[r])):e.push(i)}return e}"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonParserError";var i={trace:function(){},JisonParserError:t,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(t){return'"'+t+'"'},getSymbolName:function(t){if(this.terminals_[t])return this.terminals_[t];var e=this.symbols_;for(var r in e)if(e[r]===t)return r;return null},describeSymbol:function(t){if(t!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[t])return this.terminal_descriptions_[t];if(t===this.EOF)return"end of input";var e=this.getSymbolName(t);return e?this.quoteName(e):null},collect_expected_token_set:function(t,e){var r=this.TERROR,n=[],i={};if(!e&&this.state_descriptions_&&this.state_descriptions_[t])return[this.state_descriptions_[t]];for(var o in this.table[t])if((o=+o)!==r){var a=e?o:this.describeSymbol(o);a&&!i[a]&&(n.push(a),i[a]=!0)}return n},productions_:function(t){for(var e=[],r=t.pop,n=t.rule,i=0,o=r.length;i<o;i++)e.push([r[i],n[i]]);return e}({pop:n([29,e,[30,10],31,31,32,32,e,[33,15]]),rule:n([2,e,[3,5],4,7,e,[1,4],2,4,6,e,[1,14],2])}),performAction:function(t,e,r){var n=this.yy;n.parser,n.lexer;switch(t){case 0:this.$=r[e-1];break;case 1:return this.$=r[e-1],r[e-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:r[e-1],left:r[e-2],right:r[e]};break;case 6:this.$=r[e-1];break;case 7:this.$={type:"Calc",value:r[e-1]};break;case 8:this.$={type:"Calc",value:r[e-1],prefix:r[e-5]};break;case 9:case 10:case 11:this.$=r[e];break;case 12:this.$={type:"Value",value:parseFloat(r[e])};break;case 13:this.$={type:"Value",value:-1*parseFloat(r[e])};break;case 14:this.$={type:"CssVariable",value:r[e-1]};break;case 15:this.$={type:"CssVariable",value:r[e-3],fallback:r[e-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(r[e]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(r[e]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(r[e]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(r[e]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(r[e]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(r[e]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(r[e]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(r[e]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(r[e]),unit:"%"};break;case 30:var i=r[e];i.value*=-1,this.$=i}},table:function(t){for(var e=[],r=t.len,n=t.symbol,i=t.type,o=t.state,a=t.mode,s=t.goto,c=0,u=r.length;c<u;c++){for(var l=r[c],f={},h=0;h<l;h++){var d=n.shift();switch(i.shift()){case 2:f[d]=[a.shift(),s.shift()];break;case 0:f[d]=o.shift();break;default:f[d]=[3]}}e.push(f)}return e}({len:n([24,1,5,23,1,18,e,[0,3],1,e,[0,16],e,[23,4],r,[28,3],0,0,16,1,6,6,e,[0,3],5,1,2,r,[37,3],r,[20,3],5,0,0]),symbol:n([4,7,9,11,12,e,[15,19,1],1,1,e,[3,4,1],r,[30,19],r,[29,4],7,4,10,11,r,[22,14],r,[19,3],r,[43,22],r,[23,69],r,[139,4],8,r,[51,24],4,r,[138,15],13,r,[186,5],8,r,[6,6],r,[5,5],9,8,14,r,[159,47],r,[60,10]]),type:n([e,[2,19],e,[0,5],1,e,[2,24],e,[0,4],r,[22,19],r,[43,42],r,[23,70],r,[28,25],r,[45,25],r,[113,54]]),state:n([1,2,8,6,7,30,r,[4,3],33,37,r,[5,3],38,r,[4,3],39,r,[4,3],40,r,[4,3],42,r,[21,4],50,r,[5,3],51,r,[4,3]]),mode:n([e,[1,179],e,[2,3],r,[5,5],r,[6,4],e,[1,57]]),goto:n([5,3,4,24,e,[9,15,1],e,[25,5,1],r,[24,19],31,35,32,34,r,[18,14],36,r,[38,19],r,[19,57],r,[118,4],41,r,[24,19],43,35,r,[16,14],44,e,[2,3],28,29,2,e,[3,3],28,29,3,r,[53,4],e,[45,5,1],r,[100,42],52,r,[5,4],53])}),defaultActions:function(t){for(var e={},r=t.idx,n=t.goto,i=0,o=r.length;i<o;i++){e[r[i]]=n[i]}return e}({idx:n([6,7,8,e,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:n([9,10,11,e,[16,14,1],12,1,30,13,e,[4,4,1],14,15,8])}),parseError:function(t,e,r){if(!e.recoverable)throw"function"===typeof this.trace&&this.trace(t),r||(r=this.JisonParserError),new r(t,e);"function"===typeof this.trace&&this.trace(t),e.destroy()},parse:function(t){var e,r=this,n=new Array(128),i=new Array(128),o=new Array(128),a=this.table,s=0,c=0,u=(this.TERROR,this.EOF),l=(this.options.errorRecoveryTokenDiscardCount,[0,54]);e=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var f={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};function h(){var t=e.fastLex();return"number"!==typeof t&&(t=r.symbols_[t]||t),t||u}"function"!==typeof assert||assert,this.yyGetSharedState=function(){return f},function(t,e){for(var r in e)"undefined"===typeof t[r]&&Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}(f,this.yy),f.lexer=e,f.parser=this,"function"===typeof f.parseError?this.parseError=function(t,e,r){return r||(r=this.JisonParserError),f.parseError.call(this,t,e,r)}:this.parseError=this.originalParseError,"function"===typeof f.quoteName?this.quoteName=function(t){return f.quoteName.call(this,t)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(t,r,a){var c,u;r&&((f.post_parse||this.post_parse)&&(u=this.constructParseErrorInfo(null,null,null,!1)),f.post_parse&&"undefined"!==typeof(c=f.post_parse.call(this,f,t,u))&&(t=c),this.post_parse&&"undefined"!==typeof(c=this.post_parse.call(this,f,t,u))&&(t=c),u&&u.destroy&&u.destroy());if(this.__reentrant_call_depth>1)return t;if(e.cleanupAfterLex&&e.cleanupAfterLex(a),f&&(f.lexer=void 0,f.parser=void 0,e.yy===f&&(e.yy=void 0)),f=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,n.length=0,i.length=0,o.length=0,s=0,!a){for(var l=this.__error_infos.length-1;l>=0;l--){var h=this.__error_infos[l];h&&"function"===typeof h.destroy&&h.destroy()}this.__error_infos.length=0}return t},this.constructParseErrorInfo=function(t,r,a,u){var l={errStr:t,exception:r,text:e.match,value:e.yytext,token:this.describeSymbol(c)||c,token_id:c,line:e.yylineno,expected:a,recoverable:u,state:d,action:p,new_state:w,symbol_stack:n,state_stack:i,value_stack:o,stack_pointer:s,yy:f,lexer:e,parser:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(l),l};var d,p,m,b,v,g,y,w,x=function(){var t=e.lex();return"number"!==typeof t&&(t=r.symbols_[t]||t),t||u},O={$:!0,_$:void 0,yy:f},_=!1;try{if(this.__reentrant_call_depth++,e.setInput(t,f),"function"===typeof e.canIUse)e.canIUse().fastLex&&(x=h);for(o[s]=null,i[s]=0,n[s]=0,++s,this.pre_parse&&this.pre_parse.call(this,f),f.pre_parse&&f.pre_parse.call(this,f),w=i[s-1];;){if(d=w,this.defaultActions[d])p=2,w=this.defaultActions[d];else if(c||(c=x()),b=a[d]&&a[d][c]||l,w=b[1],!(p=b[0])){var S,k=this.describeSymbol(c)||c,E=this.collect_expected_token_set(d);S="number"===typeof e.yylineno?"Parse error on line "+(e.yylineno+1)+": ":"Parse error: ","function"===typeof e.showPosition&&(S+="\n"+e.showPosition(69,10)+"\n"),E.length?S+="Expecting "+E.join(", ")+", got unexpected "+k:S+="Unexpected "+k,v=this.constructParseErrorInfo(S,null,E,!1),"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m);break}switch(p){default:if(p instanceof Array){v=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+d+", token: "+c,null,null,!1),"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m);break}v=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m);break;case 1:n[s]=c,o[s]=e.yytext,i[s]=w,++s,c=0;continue;case 2:if(g=(y=this.productions_[w-1])[1],"undefined"!==typeof(m=this.performAction.call(O,w,s-1,o))){_=m;break}s-=g;var M=y[0];n[s]=M,o[s]=O.$,w=a[i[s-1]][M],i[s]=w,++s;continue;case 3:-2!==s&&(_=!0,s--,"undefined"!==typeof o[s]&&(_=o[s]))}break}}catch(C){if(C instanceof this.JisonParserError)throw C;if(e&&"function"===typeof e.JisonLexerError&&C instanceof e.JisonLexerError)throw C;v=this.constructParseErrorInfo("Parsing aborted due to exception.",C,null,!1),_=!1,"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m)}finally{_=this.cleanupAfterParse(_,!0,!0),this.__reentrant_call_depth--}return _}};i.originalParseError=i.parseError,i.originalQuoteName=i.quoteName;var o=function(){function t(t,e){var r;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=new Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}return"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonLexerError",{EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(t,e,r){if(t=""+t,void 0==r&&(r=!(t.indexOf("\n")>0&&t.indexOf("^")>0)),this.yylloc&&r)if("function"===typeof this.prettyPrintRange){this.prettyPrintRange(this.yylloc);/\n\s*$/.test(t)||(t+="\n"),t+="\n  Erroneous area:\n"+this.prettyPrintRange(this.yylloc)}else if("function"===typeof this.showPosition){var n=this.showPosition();n&&(t.length&&"\n"!==t[t.length-1]&&"\n"!==n[0]?t+="\n"+n:t+=n)}var i={errStr:t,recoverable:!!e,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(i),i},parseError:function(t,e,r){if(r||(r=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"===typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,t,e,r)||this.ERROR;if("function"===typeof this.yy.parseError)return this.yy.parseError.call(this,t,e,r)||this.ERROR}throw new r(t,e)},yyerror:function(t){var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var r=this.constructLexErrorInfo("Lexical error"+e+": "+t,this.options.lexerErrorsAreRecoverable),n=Array.prototype.slice.call(arguments,1);return n.length&&(r.extra_error_attributes=n),this.parseError(r.errStr,r,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(t){if(this.setInput("",{}),!t){for(var e=this.__error_infos.length-1;e>=0;e--){var r=this.__error_infos[e];r&&"function"===typeof r.destroy&&r.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var t=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:t,last_line:this.yylineno+1,last_column:t,range:[this.offset,this.offset]}},setInput:function(t,e){if(this.yy=e||this.yy||{},!this.__decompressed){for(var r=this.rules,n=0,i=r.length;n<i;n++){"number"===typeof(h=r[n])&&(r[n]=r[h])}var o=this.conditions;for(var a in o){var s=o[a],c=s.rules,u=(i=c.length,new Array(i+1)),l=new Array(i+1);for(n=0;n<i;n++){var f=c[n],h=r[f];u[n+1]=h,l[n+1]=f}s.rules=l,s.__rule_regexes=u,s.__rule_count=i}this.__decompressed=!0}return this._input=t||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(t,e){var r=t.call(this,this._input,e);return"string"!==typeof r?r&&(this._input=""+r):this._input=r,this},input:function(){if(!this._input)return null;var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=1,r=!1;if("\n"===t)r=!0;else if("\r"===t){r=!0;var n=this._input[1];"\n"===n&&(e++,t+=n,this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,this.yylloc.range[1]++)}return r?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(e),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);if(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.yyleng=this.yytext.length,this.offset-=e,this.match=this.match.substr(0,this.match.length-e),this.matched=this.matched.substr(0,this.matched.length-e),r.length>1){this.yylineno-=r.length-1,this.yylloc.last_line=this.yylineno+1;var n=this.match,i=n.split(/(?:\r\n?|\n)/g);1===i.length&&(i=(n=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=i[i.length-1].length}else this.yylloc.last_column-=e;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var e=this.constructLexErrorInfo("Lexical error"+t+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(e.errStr,e,this.JisonLexerError)||this.ERROR}return this},less:function(t){return this.unput(this.match.slice(t))},pastInput:function(t,e){var r=this.matched.substring(0,this.matched.length-this.match.length);t<0?t=r.length:t||(t=20),e<0?e=r.length:e||(e=1);var n=(r=r.substr(2*-t-2)).replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(-e)).join("\n")).length>t&&(r="..."+r.substr(-t)),r},upcomingInput:function(t,e){var r=this.match;t<0?t=r.length+this._input.length:t||(t=20),e<0?e=t:e||(e=1),r.length<2*t+2&&(r+=this._input.substring(0,2*t+2));var n=r.replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(0,e)).join("\n")).length>t&&(r=r.substring(0,t)+"..."),r},showPosition:function(t,e){var r=this.pastInput(t).replace(/\s/g," "),n=new Array(r.length+1).join("-");return r+this.upcomingInput(e).replace(/\s/g," ")+"\n"+n+"^"},deriveLocationInfo:function(t,e,r,n){var i={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return t&&(i.first_line=0|t.first_line,i.last_line=0|t.last_line,i.first_column=0|t.first_column,i.last_column=0|t.last_column,t.range&&(i.range[0]=0|t.range[0],i.range[1]=0|t.range[1])),(i.first_line<=0||i.last_line<i.first_line)&&(i.first_line<=0&&e&&(i.first_line=0|e.last_line,i.first_column=0|e.last_column,e.range&&(i.range[0]=0|t.range[1])),(i.last_line<=0||i.last_line<i.first_line)&&r&&(i.last_line=0|r.first_line,i.last_column=0|r.first_column,r.range&&(i.range[1]=0|t.range[0])),i.first_line<=0&&n&&(i.last_line<=0||n.last_line<=i.last_line)&&(i.first_line=0|n.first_line,i.first_column=0|n.first_column,n.range&&(i.range[0]=0|n.range[0])),i.last_line<=0&&n&&(i.first_line<=0||n.first_line>=i.first_line)&&(i.last_line=0|n.last_line,i.last_column=0|n.last_column,n.range&&(i.range[1]=0|n.range[1]))),i.last_line<=0&&(i.first_line<=0?(i.first_line=this.yylloc.first_line,i.last_line=this.yylloc.last_line,i.first_column=this.yylloc.first_column,i.last_column=this.yylloc.last_column,i.range[0]=this.yylloc.range[0],i.range[1]=this.yylloc.range[1]):(i.last_line=this.yylloc.last_line,i.last_column=this.yylloc.last_column,i.range[1]=this.yylloc.range[1])),i.first_line<=0&&(i.first_line=i.last_line,i.first_column=0,i.range[1]=i.range[0]),i.first_column<0&&(i.first_column=0),i.last_column<0&&(i.last_column=i.first_column>0?i.first_column:80),i},prettyPrintRange:function(t,e,r){t=this.deriveLocationInfo(t,e,r);var n=(this.matched+this._input).split("\n"),i=Math.max(1,e?e.first_line:t.first_line-3),o=Math.max(1,r?r.last_line:t.last_line+1),a=1+Math.log10(1|o)|0,s=new Array(a).join(" "),c=[],u=n.slice(i-1,o+1).map((function(e,r){var n=r+i,o=(s+n).substr(-a)+": "+e,u=new Array(a+1).join("^"),l=3,f=0;(n===t.first_line?(l+=t.first_column,f=Math.max(2,(n===t.last_line?t.last_column:e.length)-t.first_column+1)):n===t.last_line?f=Math.max(2,t.last_column+1):n>t.first_line&&n<t.last_line&&(f=Math.max(2,e.length+1)),f)&&(o+="\n"+u+new Array(l).join(".")+new Array(f).join("^"),e.trim().length>0&&c.push(r));return o=o.replace(/\t/g," ")}));if(c.length>4){var l=c[1]+1,f=c[c.length-2]-1,h=new Array(a+1).join(" ")+"  (...continued...)";h+="\n"+new Array(a+1).join("-")+"  (---------------)",u.splice(l,f-l+1,h)}return u.join("\n")},describeYYLLOC:function(t,e){var r,n=t.first_line,i=t.last_line,o=t.first_column,a=t.last_column;if(0===i-n?(r="line "+n+", ",r+=a-o<=1?"column "+o:"columns "+o+" .. "+a):r="lines "+n+"(column "+o+") .. "+i+"(column "+a+")",t.range&&e){var s=t.range[0],c=t.range[1]-1;r+=c<=s?" {String Offset: "+s+"}":" {String Offset range: "+s+" .. "+c+"}"}return r},test_match:function(t,e){var r,n,i,o,a;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(o=t[0]).length,(n=o.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=n.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=n[n.length-1].length):this.yylloc.last_column+=a,this.yytext+=o,this.match+=o,this.matched+=o,this.matches=t,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),r=this.performAction.call(this,this.yy,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var s in i)this[s]=i[s];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(r=this._signaled_error_token,this._signaled_error_token=!1,r)},next:function(){if(this.done)return this.clear(),this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||this.clear();var i=this.__currentRuleSet__;if(!i&&(!(i=this.__currentRuleSet__=this._currentRules())||!i.rules)){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+o+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var s=i.rules,c=i.__rule_regexes,u=i.__rule_count,l=1;l<=u;l++)if((r=this._input.match(c[l]))&&(!e||r[0].length>e[0].length)){if(e=r,n=l,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,s[l])))return t;if(this._backtrack){e=void 0;continue}return!1}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,s[n]))&&t;if(this._input){o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));a=this.constructLexErrorInfo("Lexical error"+o+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var f=this._input,h=this.topState(),d=this.conditionStack.length;return(t=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||f!==this._input||h!==this.topState()||d!==this.conditionStack.length||this.input()),t}return this.done=!0,this.clear(),this.EOF},lex:function(){var t;for("function"===typeof this.pre_lex&&(t=this.pre_lex.call(this,0)),"function"===typeof this.options.pre_lex&&(t=this.options.pre_lex.call(this,t)||t),this.yy&&"function"===typeof this.yy.pre_lex&&(t=this.yy.pre_lex.call(this,t)||t);!t;)t=this.next();return this.yy&&"function"===typeof this.yy.post_lex&&(t=this.yy.post_lex.call(this,t)||t),"function"===typeof this.options.post_lex&&(t=this.options.post_lex.call(this,t)||t),"function"===typeof this.post_lex&&(t=this.post_lex.call(this,t)||t),t},fastLex:function(){for(var t;!t;)t=this.next();return t},canIUse:function(){return{fastLex:!("function"===typeof this.pre_lex||"function"===typeof this.options.pre_lex||this.yy&&"function"===typeof this.yy.pre_lex||this.yy&&"function"===typeof this.yy.post_lex||"function"===typeof this.options.post_lex||"function"===typeof this.post_lex)&&"function"===typeof this.fastLex}},begin:function(t){return this.pushState(t)},pushState:function(t){return this.conditionStack.push(t),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:t,performAction:function(t,e,r){switch(e){case 1:break;default:return this.simpleCaseActionClusters[e]}},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}}}();function a(){this.yy={}}return i.lexer=o,a.prototype=i,i.Parser=a,new a}();e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=r(1293),o=(n=i)&&n.__esModule?n:{default:n};e.default=function(t,e,r){switch(t.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(t,e,r){e.type===t.type&&(e={type:t.type,value:(0,o.default)(e.value,e.unit,t.unit,r),unit:t.unit});return{left:t,right:e}}(t,e,r);default:return{left:t,right:e}}},t.exports=e.default},function(t,e){var r={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};t.exports=function(t,e,n,i){if(!r.hasOwnProperty(n))throw new Error("Cannot convert to "+n);if(!r[n].hasOwnProperty(e))throw new Error("Cannot convert from "+e+" to "+n);var o=r[n][e]*t;return!1!==i?(i=Math.pow(10,parseInt(i)||5),Math.round(o*i)/i):o}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var a=function t(e,r){switch(e.type){case"MathExpression":var a=e.left,s=e.right,c=e.operator,u="";return"MathExpression"===a.type&&i[c]<i[a.operator]?u+="("+t(a,r)+")":u+=t(a,r),u+=" "+e.operator+" ","MathExpression"===s.type&&i[c]<i[s.operator]?u+="("+t(s,r)+")":"MathExpression"===s.type&&"-"===c&&["+","-"].includes(s.operator)?(s.operator=(0,n.flip)(s.operator),u+=t(s,r)):u+=t(s,r),u;case"Value":return o(e.value,r);case"CssVariable":return e.fallback?"var("+e.value+", "+t(e.fallback,r,!0)+")":"var("+e.value+")";case"Calc":return e.prefix?"-"+e.prefix+"-calc("+t(e.value,r)+")":"calc("+t(e.value,r)+")";default:return o(e.value,r)+e.unit}}(e,r);return"MathExpression"===e.type&&(a=t+"("+a+")"),a};var n=r(804),i={"*":0,"/":0,"+":1,"-":1};function o(t,e){if(!1!==e){var r=Math.pow(10,e);return Math.round(t*r)/r}return t}t.exports=e.default},function(t,e,r){(function(e){(function(){var r,n,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!==typeof e&&null!==e&&e.hrtime?(t.exports=function(){return(r()-a)/1e6},n=e.hrtime,o=(r=function(){var t;return 1e9*(t=n())[0]+t[1]})(),s=1e9*e.uptime(),a=o-s):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,r(112))},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}e.default=t}(r(10));var n=s(r(1297)),i=s(r(1299)),o=s(r(0)),a=s(r(805));r(807);function s(t){return t&&t.__esModule?t:{default:t}}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var u=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,n.default)(t,e)}))},l=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,i.default)(t,e)}))},f=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).onEnter=function(t,r){var n=e.getClassNames(r?"appear":"enter").className;e.removeClasses(t,"exit"),u(t,n),e.props.onEnter&&e.props.onEnter(t,r)},e.onEntering=function(t,r){var n=e.getClassNames(r?"appear":"enter").activeClassName;e.reflowAndAddClass(t,n),e.props.onEntering&&e.props.onEntering(t,r)},e.onEntered=function(t,r){var n=e.getClassNames("appear").doneClassName,i=e.getClassNames("enter").doneClassName,o=r?n+" "+i:i;e.removeClasses(t,r?"appear":"enter"),u(t,o),e.props.onEntered&&e.props.onEntered(t,r)},e.onExit=function(t){var r=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),u(t,r),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var r=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,r),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var r=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),u(t,r),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var r=e.props.classNames,n="string"===typeof r,i=n?(n&&r?r+"-":"")+t:r[t];return{className:i,activeClassName:n?i+"-active":r[t+"Active"],doneClassName:n?i+"-done":r[t+"Done"]}},e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.removeClasses=function(t,e){var r=this.getClassNames(e),n=r.className,i=r.activeClassName,o=r.doneClassName;n&&l(t,n),i&&l(t,i),o&&l(t,o)},i.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,u(t,e))},i.render=function(){var t=c({},this.props);return delete t.classNames,o.default.createElement(a.default,c({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(o.default.Component);f.defaultProps={classNames:""},f.propTypes={};var h=f;e.default=h,t.exports=e.default},function(t,e,r){"use strict";var n=r(50);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"===typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=n(r(1298));t.exports=e.default},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},function(t,e,r){"use strict";function n(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,e){t.classList?t.classList.remove(e):"string"===typeof t.className?t.className=n(t.className,e):t.setAttribute("class",n(t.className&&t.className.baseVal||"",e))}},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;a(r(10));var n=a(r(0)),i=r(76),o=a(r(808));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e,r;function a(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).handleEnter=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExited",1,r)},e}r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var s=a.prototype;return s.handleLifecycle=function(t,e,r){var o,a=this.props.children,s=n.default.Children.toArray(a)[e];s.props[t]&&(o=s.props)[t].apply(o,r),this.props[t]&&this.props[t]((0,i.findDOMNode)(this))},s.render=function(){var t=this.props,e=t.children,r=t.in,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,["children","in"]),a=n.default.Children.toArray(e),s=a[0],c=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,n.default.createElement(o.default,i,r?n.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(n.default.Component);s.propTypes={};var c=s;e.default=c,t.exports=e.default},function(t,e,r){"use strict";e.__esModule=!0,e.getChildMapping=i,e.mergeChildMappings=o,e.getInitialChildMapping=function(t,e){return i(t.children,(function(r){return(0,n.cloneElement)(r,{onExited:e.bind(null,r),in:!0,appear:a(r,"appear",t),enter:a(r,"enter",t),exit:a(r,"exit",t)})}))},e.getNextChildMapping=function(t,e,r){var s=i(t.children),c=o(e,s);return Object.keys(c).forEach((function(i){var o=c[i];if((0,n.isValidElement)(o)){var u=i in e,l=i in s,f=e[i],h=(0,n.isValidElement)(f)&&!f.props.in;!l||u&&!h?l||!u||h?l&&u&&(0,n.isValidElement)(f)&&(c[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:f.props.in,exit:a(o,"exit",t),enter:a(o,"enter",t)})):c[i]=(0,n.cloneElement)(o,{in:!1}):c[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:a(o,"exit",t),enter:a(o,"enter",t)})}})),c};var n=r(0);function i(t,e){var r=Object.create(null);return t&&n.Children.map(t,(function(t){return t})).forEach((function(t){r[t.key]=function(t){return e&&(0,n.isValidElement)(t)?e(t):t}(t)})),r}function o(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in e){if(i[c])for(n=0;n<i[c].length;n++){var u=i[c][n];s[i[c][n]]=r(u)}s[c]=r(c)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}function a(t,e,r){return null!=r[e]?r[e]:t.props[e]}},,function(t,e,r){"use strict";r.r(e);var n=function(t,e){for(var r,n=-1,i=t.length;++n<i;){var o=e(t[n]);void 0!==o&&(r=void 0===r?o:r+o)}return r},i=r(528);e.default=function(t){return t&&t.length?n(t,i.a):0}},function(t,e,r){"use strict";r.r(e);var n=r(512),i=r(528);var o=function(t){return"function"==typeof t?t:i.a},a=r(372),s=Math.min;e.default=function(t,e){if((t=Object(a.a)(t))<1||t>9007199254740991)return[];var r=4294967295,i=s(t,4294967295);e=o(e),t-=4294967295;for(var c=Object(n.a)(i,e);++r<t;)e(r);return c}},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=(r(10),r(445)),c=r(139),u=r(161),l=r(64);function f(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var h={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},d=a.forwardRef((function(t,e){var r=t.children,d=t.disableStrictModeCompat,p=void 0!==d&&d,m=t.in,b=t.onEnter,v=t.onEntered,g=t.onEntering,y=t.onExit,w=t.onExited,x=t.onExiting,O=t.style,_=t.timeout,S=void 0===_?"auto":_,k=t.TransitionComponent,E=void 0===k?s.a:k,M=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),C=a.useRef(),j=a.useRef(),A=Object(c.a)(),T=A.unstable_strictMode&&!p,P=a.useRef(null),D=Object(l.a)(r.ref,e),R=Object(l.a)(T?P:void 0,D),L=function(t){return function(e,r){if(t){var n=T?[P.current,e]:[e,r],o=Object(i.a)(n,2),a=o[0],s=o[1];void 0===s?t(a):t(a,s)}}},I=L(g),N=L((function(t,e){Object(u.b)(t);var r,n=Object(u.a)({style:O,timeout:S},{mode:"enter"}),i=n.duration,o=n.delay;"auto"===S?(r=A.transitions.getAutoHeightDuration(t.clientHeight),j.current=r):r=i,t.style.transition=[A.transitions.create("opacity",{duration:r,delay:o}),A.transitions.create("transform",{duration:.666*r,delay:o})].join(","),b&&b(t,e)})),F=L(v),B=L(x),z=L((function(t){var e,r=Object(u.a)({style:O,timeout:S},{mode:"exit"}),n=r.duration,i=r.delay;"auto"===S?(e=A.transitions.getAutoHeightDuration(t.clientHeight),j.current=e):e=n,t.style.transition=[A.transitions.create("opacity",{duration:e,delay:i}),A.transitions.create("transform",{duration:.666*e,delay:i||.333*e})].join(","),t.style.opacity="0",t.style.transform=f(.75),y&&y(t)})),H=L(w);return a.useEffect((function(){return function(){clearTimeout(C.current)}}),[]),a.createElement(E,Object(n.a)({appear:!0,in:m,nodeRef:T?P:void 0,onEnter:N,onEntered:F,onEntering:I,onExit:z,onExited:H,onExiting:B,addEndListener:function(t,e){var r=T?t:e;"auto"===S&&(C.current=setTimeout(r,j.current||0))},timeout:"auto"===S?null:S},M),(function(t,e){return a.cloneElement(r,Object(n.a)({style:Object(n.a)({opacity:0,transform:f(.75),visibility:"exited"!==t||m?void 0:"hidden"},h[t],O,r.props.style),ref:R},e))}))}));d.muiSupportAuto=!0,e.a=d},function(t,e,r){"use strict";var n=r(0),i=r(76),o=(r(10),r(169)),a=r(64);var s="undefined"!==typeof window?n.useLayoutEffect:n.useEffect,c=n.forwardRef((function(t,e){var r=t.children,c=t.container,u=t.disablePortal,l=void 0!==u&&u,f=t.onRendered,h=n.useState(null),d=h[0],p=h[1],m=Object(a.a)(n.isValidElement(r)?r.ref:null,e);return s((function(){l||p(function(t){return t="function"===typeof t?t():t,i.findDOMNode(t)}(c)||document.body)}),[c,l]),s((function(){if(d&&!l)return Object(o.a)(e,d),function(){Object(o.a)(e,null)}}),[e,d,l]),s((function(){f&&(d||l)&&f()}),[f,d,l]),l?n.isValidElement(r)?n.cloneElement(r,{ref:m}):r:d?i.createPortal(r,d):d}));e.a=c},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(883),u=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.invisible,f=void 0!==l&&l,h=t.open,d=t.transitionDuration,p=t.TransitionComponent,m=void 0===p?c.a:p,b=Object(i.a)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return o.createElement(m,Object(n.a)({in:h,timeout:d},b),o.createElement("div",{className:Object(a.a)(s.root,u,f&&s.invisible),"aria-hidden":!0,ref:e},r))}));e.a=Object(s.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(u)},function(t,e,r){"use strict";function n(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce((function(t,e){return null==e?t:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n),e.apply(this,n)}}),(function(){}))}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(3),i=r(0),o=0;function a(t){var e=i.useState(t),r=Object(n.a)(e,2),a=r[0],s=r[1],c=t||a;return i.useEffect((function(){null==a&&s("mui-".concat(o+=1))}),[a]),c}},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r(19),i=r(2),o=r(14),a=r(558),s=r(382),c=["sx"];function u(t){var e,r=t.sx,u=function(t){var e={systemProps:{},otherProps:{}};return Object.keys(t).forEach((function(r){s.b[r]?e.systemProps[r]=t[r]:e.otherProps[r]=t[r]})),e}(Object(o.a)(t,c)),l=u.systemProps,f=u.otherProps;return e=Array.isArray(r)?[l].concat(Object(n.a)(r)):"function"===typeof r?function(){var t=r.apply(void 0,arguments);return Object(a.b)(t)?Object(i.a)({},l,t):l}:Object(i.a)({},l,r),Object(i.a)({},f,{sx:e})}},function(t,e,r){"use strict";var n=r(0),i=(r(10),r(441)),o=r(304),a=r(6),s=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function c(t){var e=[],r=[];return Array.from(t.querySelectorAll(s)).forEach((function(t,n){var i=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return Number.isNaN(e)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:e}(t);-1!==i&&function(t){return!(t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return!1;if(!t.name)return!1;var e=function(e){return t.ownerDocument.querySelector('input[type="radio"]'.concat(e))},r=e('[name="'.concat(t.name,'"]:checked'));return r||(r=e('[name="'.concat(t.name,'"]'))),r!==t}(t))}(t)&&(0===i?e.push(t):r.push({documentOrder:n,tabIndex:i,node:t}))})),r.sort((function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex})).map((function(t){return t.node})).concat(e)}function u(){return!0}e.a=function(t){var e=t.children,r=t.disableAutoFocus,s=void 0!==r&&r,l=t.disableEnforceFocus,f=void 0!==l&&l,h=t.disableRestoreFocus,d=void 0!==h&&h,p=t.getTabbable,m=void 0===p?c:p,b=t.isEnabled,v=void 0===b?u:b,g=t.open,y=n.useRef(),w=n.useRef(null),x=n.useRef(null),O=n.useRef(null),_=n.useRef(null),S=n.useRef(!1),k=n.useRef(null),E=Object(i.a)(e.ref,k),M=n.useRef(null);n.useEffect((function(){g&&k.current&&(S.current=!s)}),[s,g]),n.useEffect((function(){if(g&&k.current){var t=Object(o.a)(k.current);return k.current.contains(t.activeElement)||(k.current.hasAttribute("tabIndex")||k.current.setAttribute("tabIndex",-1),S.current&&k.current.focus()),function(){d||(O.current&&O.current.focus&&(y.current=!0,O.current.focus()),O.current=null)}}}),[g]),n.useEffect((function(){if(g&&k.current){var t=Object(o.a)(k.current),e=function(e){var r=k.current;if(null!==r)if(t.hasFocus()&&!f&&v()&&!y.current){if(!r.contains(t.activeElement)){if(e&&_.current!==e.target||t.activeElement!==_.current)_.current=null;else if(null!==_.current)return;if(!S.current)return;var n=[];if(t.activeElement!==w.current&&t.activeElement!==x.current||(n=m(k.current)),n.length>0){var i,o,a=Boolean((null==(i=M.current)?void 0:i.shiftKey)&&"Tab"===(null==(o=M.current)?void 0:o.key)),s=n[0],c=n[n.length-1];a?c.focus():s.focus()}else r.focus()}}else y.current=!1},r=function(e){M.current=e,!f&&v()&&"Tab"===e.key&&t.activeElement===k.current&&e.shiftKey&&(y.current=!0,x.current.focus())};t.addEventListener("focusin",e),t.addEventListener("keydown",r,!0);var n=setInterval((function(){"BODY"===t.activeElement.tagName&&e()}),50);return function(){clearInterval(n),t.removeEventListener("focusin",e),t.removeEventListener("keydown",r,!0)}}}),[s,f,d,v,g,m]);var C=function(t){null===O.current&&(O.current=t.relatedTarget),S.current=!0};return Object(a.jsxs)(n.Fragment,{children:[Object(a.jsx)("div",{tabIndex:0,onFocus:C,ref:w,"data-test":"sentinelStart"}),n.cloneElement(e,{ref:E,onFocus:function(t){null===O.current&&(O.current=t.relatedTarget),S.current=!0,_.current=t.target;var r=e.props.onFocus;r&&r(t)}}),Object(a.jsx)("div",{tabIndex:0,onFocus:C,ref:x,"data-test":"sentinelEnd"})]})}},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(445)),s=r(122),c=r(162),u=r(72),l=r(6),f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function h(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var d={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"}},p=o.forwardRef((function(t,e){var r=t.addEndListener,p=t.appear,m=void 0===p||p,b=t.children,v=t.easing,g=t.in,y=t.onEnter,w=t.onEntered,x=t.onEntering,O=t.onExit,_=t.onExited,S=t.onExiting,k=t.style,E=t.timeout,M=void 0===E?"auto":E,C=t.TransitionComponent,j=void 0===C?a.a:C,A=Object(i.a)(t,f),T=o.useRef(),P=o.useRef(),D=Object(s.a)(),R=o.useRef(null),L=Object(u.a)(b.ref,e),I=Object(u.a)(R,L),N=function(t){return function(e){if(t){var r=R.current;void 0===e?t(r):t(r,e)}}},F=N(x),B=N((function(t,e){Object(c.b)(t);var r,n=Object(c.a)({style:k,timeout:M,easing:v},{mode:"enter"}),i=n.duration,o=n.delay,a=n.easing;"auto"===M?(r=D.transitions.getAutoHeightDuration(t.clientHeight),P.current=r):r=i,t.style.transition=[D.transitions.create("opacity",{duration:r,delay:o}),D.transitions.create("transform",{duration:.666*r,delay:o,easing:a})].join(","),y&&y(t,e)})),z=N(w),H=N(S),U=N((function(t){var e,r=Object(c.a)({style:k,timeout:M,easing:v},{mode:"exit"}),n=r.duration,i=r.delay,o=r.easing;"auto"===M?(e=D.transitions.getAutoHeightDuration(t.clientHeight),P.current=e):e=n,t.style.transition=[D.transitions.create("opacity",{duration:e,delay:i}),D.transitions.create("transform",{duration:.666*e,delay:i||.333*e,easing:o})].join(","),t.style.opacity="0",t.style.transform=h(.75),O&&O(t)})),W=N(_);return o.useEffect((function(){return function(){clearTimeout(T.current)}}),[]),Object(l.jsx)(j,Object(n.a)({appear:m,in:g,nodeRef:R,onEnter:B,onEntered:z,onEntering:F,onExit:U,onExited:W,onExiting:H,addEndListener:function(t){"auto"===M&&(T.current=setTimeout(t,P.current||0)),r&&r(R.current,t)},timeout:"auto"===M?null:M},A,{children:function(t,e){return o.cloneElement(b,Object(n.a)({style:Object(n.a)({opacity:0,transform:h(.75),visibility:"exited"!==t||g?void 0:"hidden"},d[t],k,b.props.style),ref:I},e))}}))}));p.muiSupportAuto=!0,e.a=p},function(t,e,r){"use strict";var n=r(2),i=(r(0),r(10),r(1314)),o=r(284),a=r(6);e.a=function(t){return Object(a.jsx)(i.a,Object(n.a)({},t,{defaultTheme:o.a}))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r(0),r(10);var n=r(315),i=r(6);function o(t){var e=t.styles,r=t.defaultTheme,o=void 0===r?{}:r,a="function"===typeof e?function(t){return e(void 0===(r=t)||null===r||0===Object.keys(r).length?o:t);var r}:e;return Object(i.jsx)(n.a,{styles:a})}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=t.color,l=void 0===u?"primary":u,f=t.disableShrink,h=void 0!==f&&f,d=t.size,p=void 0===d?40:d,m=t.style,b=t.thickness,v=void 0===b?3.6:b,g=t.value,y=void 0===g?0:g,w=t.variant,x=void 0===w?"indeterminate":w,O=Object(i.a)(t,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),_={},S={},k={};if("determinate"===x||"static"===x){var E=2*Math.PI*((44-v)/2);_.strokeDasharray=E.toFixed(3),k["aria-valuenow"]=Math.round(y),_.strokeDashoffset="".concat(((100-y)/100*E).toFixed(3),"px"),S.transform="rotate(-90deg)"}return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,s,"inherit"!==l&&r["color".concat(Object(c.a)(l))],{determinate:r.determinate,indeterminate:r.indeterminate,static:r.static}[x]),style:Object(n.a)({width:p,height:p},S,m),ref:e,role:"progressbar"},k,O),o.createElement("svg",{className:r.svg,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44)},o.createElement("circle",{className:Object(a.a)(r.circle,h&&r.circleDisableShrink,{determinate:r.circleDeterminate,indeterminate:r.circleIndeterminate,static:r.circleStatic}[x]),style:_,cx:44,cy:44,r:(44-v)/2,fill:"none",strokeWidth:v})))}));e.a=Object(s.a)((function(t){return{root:{display:"inline-block"},static:{transition:t.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:t.transitions.create("transform")},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:t.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:t.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(835)),s=r(656),c=r(1306),u=r(186),l=r(169),f=r(64);function h(t){return"function"===typeof t?t():t}var d="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,p={},m=o.forwardRef((function(t,e){var r=t.anchorEl,m=t.children,b=t.container,v=t.disablePortal,g=void 0!==v&&v,y=t.keepMounted,w=void 0!==y&&y,x=t.modifiers,O=t.open,_=t.placement,S=void 0===_?"bottom":_,k=t.popperOptions,E=void 0===k?p:k,M=t.popperRef,C=t.style,j=t.transition,A=void 0!==j&&j,T=Object(i.a)(t,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),P=o.useRef(null),D=Object(f.a)(P,e),R=o.useRef(null),L=Object(f.a)(R,M),I=o.useRef(L);d((function(){I.current=L}),[L]),o.useImperativeHandle(M,(function(){return R.current}),[]);var N=o.useState(!0),F=N[0],B=N[1],z=function(t,e){if("ltr"===(e&&e.direction||"ltr"))return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(S,Object(s.a)()),H=o.useState(z),U=H[0],W=H[1];o.useEffect((function(){R.current&&R.current.update()}));var q=o.useCallback((function(){if(P.current&&r&&O){R.current&&(R.current.destroy(),I.current(null));var t=function(t){W(t.placement)},e=(h(r),new a.a(h(r),P.current,Object(n.a)({placement:z},E,{modifiers:Object(n.a)({},g?{}:{preventOverflow:{boundariesElement:"window"}},x,E.modifiers),onCreate:Object(u.a)(t,E.onCreate),onUpdate:Object(u.a)(t,E.onUpdate)})));I.current(e)}}),[r,g,x,O,z,E]),V=o.useCallback((function(t){Object(l.a)(D,t),q()}),[D,q]),G=function(){R.current&&(R.current.destroy(),I.current(null))};if(o.useEffect((function(){return function(){G()}}),[]),o.useEffect((function(){O||A||G()}),[O,A]),!w&&!O&&(!A||F))return null;var Y={placement:U};return A&&(Y.TransitionProps={in:O,onEnter:function(){B(!1)},onExited:function(){B(!0),G()}}),o.createElement(c.a,{disablePortal:g,container:b},o.createElement("div",Object(n.a)({ref:V,role:"tooltip"},T,{style:Object(n.a)({position:"fixed",top:0,left:0,display:O||!w||A?null:"none"},C)}),"function"===typeof m?m(Y):m))}));e.a=m},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=o.forwardRef((function(t,e){var r=t.absolute,s=void 0!==r&&r,c=t.classes,u=t.className,l=t.component,f=void 0===l?"hr":l,h=t.flexItem,d=void 0!==h&&h,p=t.light,m=void 0!==p&&p,b=t.orientation,v=void 0===b?"horizontal":b,g=t.role,y=void 0===g?"hr"!==f?"separator":void 0:g,w=t.variant,x=void 0===w?"fullWidth":w,O=Object(i.a)(t,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return o.createElement(f,Object(n.a)({className:Object(a.a)(c.root,u,"fullWidth"!==x&&c[x],s&&c.absolute,d&&c.flexItem,m&&c.light,"vertical"===v&&c.vertical),role:y,ref:e},O))}));e.a=Object(s.a)((function(t){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:t.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(c.a)(t.palette.divider,.08)},middle:{marginLeft:t.spacing(2),marginRight:t.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(u)},function(t,e,r){"use strict";var n=r(3),i=r(0),o=(r(10),r(338)),a=r(6);e.a=function(t){var e=t.children,r=t.defer,s=void 0!==r&&r,c=t.fallback,u=void 0===c?null:c,l=i.useState(!1),f=Object(n.a)(l,2),h=f[0],d=f[1];return Object(o.a)((function(){s||d(!0)}),[s]),i.useEffect((function(){s&&d(!0)}),[s]),Object(a.jsx)(i.Fragment,{children:h?e:u})}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(24),f=r(373),h=r(22),d=r(13),p=r(146),m=r(6),b=["className","color","edge","size","sx"],v=Object(d.a)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.edge&&e["edge".concat(Object(l.a)(r.edge))],e["size".concat(Object(l.a)(r.size))]]}})((function(t){var e,r=t.ownerState;return Object(o.a)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===r.edge&&{marginLeft:-8},"end"===r.edge&&{marginRight:-8},"small"===r.size&&(e={width:40,height:24,padding:7},Object(n.a)(e,"& .".concat(p.a.thumb),{width:16,height:16}),Object(n.a)(e,"& .".concat(p.a.switchBase),Object(n.a)({padding:4},"&.".concat(p.a.checked),{transform:"translateX(16px)"})),e))})),g=Object(d.a)(f.a,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(t,e){var r=t.ownerState;return[e.switchBase,Object(n.a)({},"& .".concat(p.a.input),e.input),"default"!==r.color&&e["color".concat(Object(l.a)(r.color))]]}})((function(t){var e,r=t.theme;return e={position:"absolute",top:0,left:0,zIndex:1,color:"light"===r.palette.mode?r.palette.common.white:r.palette.grey[300],transition:r.transitions.create(["left","transform"],{duration:r.transitions.duration.shortest})},Object(n.a)(e,"&.".concat(p.a.checked),{transform:"translateX(20px)"}),Object(n.a)(e,"&.".concat(p.a.disabled),{color:"light"===r.palette.mode?r.palette.grey[100]:r.palette.grey[600]}),Object(n.a)(e,"&.".concat(p.a.checked," + .").concat(p.a.track),{opacity:.5}),Object(n.a)(e,"&.".concat(p.a.disabled," + .").concat(p.a.track),{opacity:"light"===r.palette.mode?.12:.2}),Object(n.a)(e,"& .".concat(p.a.input),{left:"-100%",width:"300%"}),e}),(function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({"&:hover":{backgroundColor:Object(u.a)(r.palette.action.active,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==i.color&&(e={},Object(n.a)(e,"&.".concat(p.a.checked),Object(n.a)({color:r.palette[i.color].main,"&:hover":{backgroundColor:Object(u.a)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(p.a.disabled),{color:"light"===r.palette.mode?Object(u.e)(r.palette[i.color].main,.62):Object(u.b)(r.palette[i.color].main,.55)})),Object(n.a)(e,"&.".concat(p.a.checked," + .").concat(p.a.track),{backgroundColor:r.palette[i.color].main}),e))})),y=Object(d.a)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(t,e){return e.track}})((function(t){var e=t.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3}})),w=Object(d.a)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(t,e){return e.thumb}})((function(t){return{boxShadow:t.theme.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),x=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiSwitch"}),n=r.className,a=r.color,u=void 0===a?"primary":a,f=r.edge,d=void 0!==f&&f,x=r.size,O=void 0===x?"medium":x,_=r.sx,S=Object(i.a)(r,b),k=Object(o.a)({},r,{color:u,edge:d,size:O}),E=function(t){var e=t.classes,r=t.edge,n=t.size,i=t.color,a=t.checked,s=t.disabled,u={root:["root",r&&"edge".concat(Object(l.a)(r)),"size".concat(Object(l.a)(n))],switchBase:["switchBase","color".concat(Object(l.a)(i)),a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=Object(c.a)(u,p.b,e);return Object(o.a)({},e,f)}(k),M=Object(m.jsx)(w,{className:E.thumb,ownerState:k});return Object(m.jsxs)(v,{className:Object(s.a)(E.root,n),sx:_,ownerState:k,children:[Object(m.jsx)(g,Object(o.a)({type:"checkbox",icon:M,checkedIcon:M,ref:e,ownerState:k},S,{classes:Object(o.a)({},E,{root:E.switchBase})})),Object(m.jsx)(y,{className:E.track,ownerState:k})]})}));e.a=x},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=r(76),s=(r(10),r(656)),c=r(1400),u=r(124),l=r(1306),f=r(186),h=r(64),d=r(148),p=r(521);var m=r(374),b=r(232),v=r(522),g=r(356);function y(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function w(t){return parseInt(window.getComputedStyle(t)["padding-right"],10)||0}function x(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[e,r].concat(Object(b.a)(n)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){1===t.nodeType&&-1===o.indexOf(t)&&-1===a.indexOf(t.tagName)&&y(t,i)}))}function O(t,e){var r=-1;return t.some((function(t,n){return!!e(t)&&(r=n,!0)})),r}function _(t,e){var r,n=[],i=[],o=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(u.a)(t);return e.body===t?Object(g.a)(e).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(o)){var a=Object(v.a)();n.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(w(o)+a,"px"),r=Object(u.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(r,(function(t){i.push(t.style.paddingRight),t.style.paddingRight="".concat(w(t)+a,"px")}))}var s=o.parentElement,c="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;n.push({value:c.style.overflow,key:"overflow",el:c}),c.style.overflow="hidden"}return function(){r&&[].forEach.call(r,(function(t,e){i[e]?t.style.paddingRight=i[e]:t.style.removeProperty("padding-right")})),n.forEach((function(t){var e=t.value,r=t.el,n=t.key;e?r.style.setProperty(n,e):r.style.removeProperty(n)}))}}var S=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.containers=[]}return Object(m.a)(t,[{key:"add",value:function(t,e){var r=this.modals.indexOf(t);if(-1!==r)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&y(t.modalRef,!1);var n=function(t){var e=[];return[].forEach.call(t.children,(function(t){t.getAttribute&&"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);x(e,t.mountNode,t.modalRef,n,!0);var i=O(this.containers,(function(t){return t.container===e}));return-1!==i?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblingNodes:n}),r)}},{key:"mount",value:function(t,e){var r=O(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];n.restore||(n.restore=_(n,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var r=O(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(t),1),this.modals.splice(e,1),0===n.modals.length)n.restore&&n.restore(),t.modalRef&&y(t.modalRef,!0),x(n.container,t.mountNode,t.modalRef,n.hiddenSiblingNodes,!1),this.containers.splice(r,1);else{var i=n.modals[n.modals.length-1];i.modalRef&&y(i.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}();var k=function(t){var e=t.children,r=t.disableAutoFocus,n=void 0!==r&&r,i=t.disableEnforceFocus,s=void 0!==i&&i,c=t.disableRestoreFocus,l=void 0!==c&&c,f=t.getDoc,d=t.isEnabled,p=t.open,m=o.useRef(),b=o.useRef(null),v=o.useRef(null),g=o.useRef(),y=o.useRef(null),w=o.useCallback((function(t){y.current=a.findDOMNode(t)}),[]),x=Object(h.a)(e.ref,w),O=o.useRef();return o.useEffect((function(){O.current=p}),[p]),!O.current&&p&&"undefined"!==typeof window&&(g.current=f().activeElement),o.useEffect((function(){if(p){var t=Object(u.a)(y.current);n||!y.current||y.current.contains(t.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex",-1),y.current.focus());var e=function(){null!==y.current&&(t.hasFocus()&&!s&&d()&&!m.current?y.current&&!y.current.contains(t.activeElement)&&y.current.focus():m.current=!1)},r=function(e){!s&&d()&&9===e.keyCode&&t.activeElement===y.current&&(m.current=!0,e.shiftKey?v.current.focus():b.current.focus())};t.addEventListener("focus",e,!0),t.addEventListener("keydown",r,!0);var i=setInterval((function(){e()}),50);return function(){clearInterval(i),t.removeEventListener("focus",e,!0),t.removeEventListener("keydown",r,!0),l||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[n,s,l,d,p]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:b,"data-test":"sentinelStart"}),o.cloneElement(e,{ref:x}),o.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelEnd"}))},E={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},M=o.forwardRef((function(t,e){var r=t.invisible,a=void 0!==r&&r,s=t.open,c=Object(n.a)(t,["invisible","open"]);return s?o.createElement("div",Object(i.a)({"aria-hidden":!0,ref:e},c,{style:Object(i.a)({},E.root,a?E.invisible:{},c.style)})):null}));var C=new S,j=o.forwardRef((function(t,e){var r=Object(s.a)(),m=Object(c.a)({name:"MuiModal",props:Object(i.a)({},t),theme:r}),b=m.BackdropComponent,v=void 0===b?M:b,g=m.BackdropProps,w=m.children,x=m.closeAfterTransition,O=void 0!==x&&x,_=m.container,S=m.disableAutoFocus,E=void 0!==S&&S,j=m.disableBackdropClick,A=void 0!==j&&j,T=m.disableEnforceFocus,P=void 0!==T&&T,D=m.disableEscapeKeyDown,R=void 0!==D&&D,L=m.disablePortal,I=void 0!==L&&L,N=m.disableRestoreFocus,F=void 0!==N&&N,B=m.disableScrollLock,z=void 0!==B&&B,H=m.hideBackdrop,U=void 0!==H&&H,W=m.keepMounted,q=void 0!==W&&W,V=m.manager,G=void 0===V?C:V,Y=m.onBackdropClick,X=m.onClose,$=m.onEscapeKeyDown,K=m.onRendered,Z=m.open,J=Object(n.a)(m,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=o.useState(!0),tt=Q[0],et=Q[1],rt=o.useRef({}),nt=o.useRef(null),it=o.useRef(null),ot=Object(h.a)(it,e),at=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(m),st=function(){return Object(u.a)(nt.current)},ct=function(){return rt.current.modalRef=it.current,rt.current.mountNode=nt.current,rt.current},ut=function(){G.mount(ct(),{disableScrollLock:z}),it.current.scrollTop=0},lt=Object(d.a)((function(){var t=function(t){return t="function"===typeof t?t():t,a.findDOMNode(t)}(_)||st().body;G.add(ct(),t),it.current&&ut()})),ft=o.useCallback((function(){return G.isTopModal(ct())}),[G]),ht=Object(d.a)((function(t){nt.current=t,t&&(K&&K(),Z&&ft()?ut():y(it.current,!0))})),dt=o.useCallback((function(){G.remove(ct())}),[G]);if(o.useEffect((function(){return function(){dt()}}),[dt]),o.useEffect((function(){Z?lt():at&&O||dt()}),[Z,dt,at,O,lt]),!q&&!Z&&(!at||tt))return null;var pt=function(t){return{root:{position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(r||{zIndex:p.a}),mt={};return void 0===w.props.tabIndex&&(mt.tabIndex=w.props.tabIndex||"-1"),at&&(mt.onEnter=Object(f.a)((function(){et(!1)}),w.props.onEnter),mt.onExited=Object(f.a)((function(){et(!0),O&&dt()}),w.props.onExited)),o.createElement(l.a,{ref:ht,container:_,disablePortal:I},o.createElement("div",Object(i.a)({ref:ot,onKeyDown:function(t){"Escape"===t.key&&ft()&&($&&$(t),R||(t.stopPropagation(),X&&X(t,"escapeKeyDown")))},role:"presentation"},J,{style:Object(i.a)({},pt.root,!Z&&tt?pt.hidden:{},J.style)}),U?null:o.createElement(v,Object(i.a)({open:Z,onClick:function(t){t.target===t.currentTarget&&(Y&&Y(t),!A&&X&&X(t,"backdropClick"))}},g)),o.createElement(k,{disableEnforceFocus:P,disableAutoFocus:E,disableRestoreFocus:F,getDoc:st,isEnabled:ft,open:Z},o.cloneElement(w,mt))))}));e.a=j},function(t,e,r){"use strict";var n,i,o,a,s,c,u,l,f,h=r(1),d=r(14),p=r(2),m=r(0),b=(r(10),r(8)),v=r(78),g=r(252),y=r(13),w=r(22),x=r(145),O=r(179),_=r(562),S=r(1471),k=r(1464),E=r(429),M=r(430),C=r(122),j=r(305),A=r(49),T=r(6),P=Object(A.a)(Object(T.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),D=Object(A.a)(Object(T.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),R=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],L=m.forwardRef((function(t,e){var r=t.backIconButtonProps,f=t.count,h=t.getItemAriaLabel,m=t.nextIconButtonProps,b=t.onPageChange,v=t.page,g=t.rowsPerPage,y=t.showFirstButton,w=t.showLastButton,x=Object(d.a)(t,R),O=Object(C.a)();return Object(T.jsxs)("div",Object(p.a)({ref:e},x,{children:[y&&Object(T.jsx)(j.a,{onClick:function(t){b(t,0)},disabled:0===v,"aria-label":h("first",v),title:h("first",v),children:"rtl"===O.direction?n||(n=Object(T.jsx)(P,{})):i||(i=Object(T.jsx)(D,{}))}),Object(T.jsx)(j.a,Object(p.a)({onClick:function(t){b(t,v-1)},disabled:0===v,color:"inherit","aria-label":h("previous",v),title:h("previous",v)},r,{children:"rtl"===O.direction?o||(o=Object(T.jsx)(M.a,{})):a||(a=Object(T.jsx)(E.a,{}))})),Object(T.jsx)(j.a,Object(p.a)({onClick:function(t){b(t,v+1)},disabled:-1!==f&&v>=Math.ceil(f/g)-1,color:"inherit","aria-label":h("next",v),title:h("next",v)},m,{children:"rtl"===O.direction?s||(s=Object(T.jsx)(E.a,{})):c||(c=Object(T.jsx)(M.a,{}))})),w&&Object(T.jsx)(j.a,{onClick:function(t){b(t,Math.max(0,Math.ceil(f/g)-1))},disabled:v>=Math.ceil(f/g)-1,"aria-label":h("last",v),title:h("last",v),children:"rtl"===O.direction?u||(u=Object(T.jsx)(D,{})):l||(l=Object(T.jsx)(P,{}))})]}))})),I=r(115),N=r(260),F=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],B=Object(y.a)(S.a,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme;return{overflow:"auto",color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}})),z=Object(y.a)(k.a,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(t,e){return Object(p.a)(Object(h.a)({},"& .".concat(N.a.actions),e.actions),e.toolbar)}})((function(t){var e,r=t.theme;return e={minHeight:52,paddingRight:2},Object(h.a)(e,"".concat(r.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),Object(h.a)(e,r.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),Object(h.a)(e,"& .".concat(N.a.actions),{flexShrink:0,marginLeft:20}),e})),H=Object(y.a)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(t,e){return e.spacer}})({flex:"1 1 100%"}),U=Object(y.a)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(t,e){return e.selectLabel}})((function(t){var e=t.theme;return Object(p.a)({},e.typography.body2,{flexShrink:0})})),W=Object(y.a)(_.a,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(t,e){var r;return Object(p.a)((r={},Object(h.a)(r,"& .".concat(N.a.selectIcon),e.selectIcon),Object(h.a)(r,"& .".concat(N.a.select),e.select),r),e.input,e.selectRoot)}})(Object(h.a)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(N.a.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),q=Object(y.a)(O.a,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(t,e){return e.menuItem}})({}),V=Object(y.a)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(t,e){return e.displayedRows}})((function(t){var e=t.theme;return Object(p.a)({},e.typography.body2,{flexShrink:0})}));function G(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," of ").concat(-1!==n?n:"more than ".concat(r))}function Y(t){return"Go to ".concat(t," page")}var X=m.forwardRef((function(t,e){var r,n=Object(w.a)({props:t,name:"MuiTablePagination"}),i=n.ActionsComponent,o=void 0===i?L:i,a=n.backIconButtonProps,s=n.className,c=n.colSpan,u=n.component,l=void 0===u?S.a:u,h=n.count,y=n.getItemAriaLabel,O=void 0===y?Y:y,_=n.labelDisplayedRows,k=void 0===_?G:_,E=n.labelRowsPerPage,M=void 0===E?"Rows per page:":E,C=n.nextIconButtonProps,j=n.onPageChange,A=n.onRowsPerPageChange,P=n.page,D=n.rowsPerPage,R=n.rowsPerPageOptions,X=void 0===R?[10,25,50,100]:R,$=n.SelectProps,K=void 0===$?{}:$,Z=n.showFirstButton,J=void 0!==Z&&Z,Q=n.showLastButton,tt=void 0!==Q&&Q,et=Object(d.a)(n,F),rt=n,nt=function(t){var e=t.classes;return Object(v.a)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},N.b,e)}(rt),it=K.native?"option":q;l!==S.a&&"td"!==l||(r=c||1e3);var ot=Object(I.a)(K.id),at=Object(I.a)(K.labelId);return Object(T.jsx)(B,Object(p.a)({colSpan:r,ref:e,as:l,ownerState:rt,className:Object(b.a)(nt.root,s)},et,{children:Object(T.jsxs)(z,{className:nt.toolbar,children:[Object(T.jsx)(H,{className:nt.spacer}),X.length>1&&Object(T.jsx)(U,{className:nt.selectLabel,id:at,children:M}),X.length>1&&Object(T.jsx)(W,Object(p.a)({variant:"standard",input:f||(f=Object(T.jsx)(x.c,{})),value:D,onChange:A,id:ot,labelId:at},K,{classes:Object(p.a)({},K.classes,{root:Object(b.a)(nt.input,nt.selectRoot,(K.classes||{}).root),select:Object(b.a)(nt.select,(K.classes||{}).select),icon:Object(b.a)(nt.selectIcon,(K.classes||{}).icon)}),children:X.map((function(t){return Object(m.createElement)(it,Object(p.a)({},!Object(g.a)(it)&&{ownerState:rt},{className:nt.menuItem,key:t.label?t.label:t,value:t.value?t.value:t}),t.label?t.label:t)}))})),Object(T.jsx)(V,{className:nt.displayedRows,children:k({from:0===h?0:P*D+1,to:-1===h?(P+1)*D:-1===D?h:Math.min(h,(P+1)*D),count:-1===h?-1:h,page:P})}),Object(T.jsx)(o,{className:nt.actions,backIconButtonProps:a,count:h,nextIconButtonProps:C,onPageChange:j,page:P,rowsPerPage:D,showFirstButton:J,showLastButton:tt,getItemAriaLabel:O})]})}))}));e.a=X},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(558),a=["values","unit","step"];function s(t){var e=t.values,r=void 0===e?{xs:0,sm:600,md:900,lg:1200,xl:1536}:e,o=t.unit,s=void 0===o?"px":o,c=t.step,u=void 0===c?5:c,l=Object(i.a)(t,a),f=Object.keys(r);function h(t){var e="number"===typeof r[t]?r[t]:t;return"@media (min-width:".concat(e).concat(s,")")}function d(t,e){var n=f.indexOf(e);return"@media (min-width:".concat("number"===typeof r[t]?r[t]:t).concat(s,") and ")+"(max-width:".concat((-1!==n&&"number"===typeof r[f[n]]?r[f[n]]:e)-u/100).concat(s,")")}return Object(n.a)({keys:f,values:r,up:h,down:function(t){var e="number"===typeof r[t]?r[t]:t;return"@media (max-width:".concat(e-u/100).concat(s,")")},between:d,only:function(t){return f.indexOf(t)+1<f.length?d(t,f[f.indexOf(t)+1]):h(t)},unit:s},l)}var c={borderRadius:4},u=r(149);function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(u.a)({spacing:t}),r=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=0===r.length?[1]:r;return i.map((function(t){var r=e(t);return"number"===typeof r?"".concat(r,"px"):r})).join(" ")};return r.mui=!0,r}var f=["breakpoints","palette","spacing","shape"];e.a=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,r=void 0===e?{}:e,a=t.palette,u=void 0===a?{}:a,h=t.spacing,d=t.shape,p=void 0===d?{}:d,m=Object(i.a)(t,f),b=s(r),v=l(h),g=Object(o.a)({breakpoints:b,direction:"ltr",components:{},palette:Object(n.a)({mode:"light"},u),spacing:v,shape:Object(n.a)({},c,p)},m),y=arguments.length,w=new Array(y>1?y-1:0),x=1;x<y;x++)w[x-1]=arguments[x];return g=w.reduce((function(t,e){return Object(o.a)(t,e)}),g)}},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(252)),s=r(340),c=r(339);function u(t){return Object(c.a)("MuiBackdrop",t)}Object(s.a)("MuiBackdrop",["root","invisible"]);var l=r(8),f=r(78),h=r(6),d=["classes","className","invisible","component","components","componentsProps","theme"],p=o.forwardRef((function(t,e){var r=t.classes,o=t.className,s=t.invisible,c=void 0!==s&&s,p=t.component,m=void 0===p?"div":p,b=t.components,v=void 0===b?{}:b,g=t.componentsProps,y=void 0===g?{}:g,w=t.theme,x=Object(n.a)(t,d),O=Object(i.a)({},t,{classes:r,invisible:c}),_=function(t){var e=t.classes,r={root:["root",t.invisible&&"invisible"]};return Object(f.a)(r,u,e)}(O),S=v.Root||m,k=y.root||{};return Object(h.jsx)(S,Object(i.a)({"aria-hidden":!0},k,!Object(a.a)(S)&&{as:m,ownerState:Object(i.a)({},O,k.ownerState),theme:w},{ref:e},x,{className:Object(l.a)(_.root,k.className,o)}))})),m=r(13),b=r(22),v=r(1412),g=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],y=Object(m.a)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.invisible&&e.invisible]}})((function(t){var e=t.ownerState;return Object(i.a)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})})),w=o.forwardRef((function(t,e){var r,o=Object(b.a)({props:t,name:"MuiBackdrop"}),s=o.children,c=o.components,u=void 0===c?{}:c,l=o.componentsProps,f=void 0===l?{}:l,d=o.className,m=o.invisible,w=void 0!==m&&m,x=o.open,O=o.transitionDuration,_=o.TransitionComponent,S=void 0===_?v.a:_,k=Object(n.a)(o,g),E=function(t){return t.classes}(Object(i.a)({},o,{invisible:w}));return Object(h.jsx)(S,Object(i.a)({in:x,timeout:O},k,{children:Object(h.jsx)(p,{className:d,invisible:w,components:Object(i.a)({Root:y},u),componentsProps:{root:Object(i.a)({},f.root,(!u.Root||!Object(a.a)(u.Root))&&{ownerState:Object(i.a)({},null==(r=f.root)?void 0:r.ownerState)})},classes:E,ref:e,children:s})}))}));e.a=w},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(1320),c=r(1307),u=r(26),l=r(76),f=r(270),h=r(445),d=r(64),p=r(139),m=r(140),b=r(161);function v(t,e){var r=function(t,e){var r,n=e.getBoundingClientRect();if(e.fakeTransform)r=e.fakeTransform;else{var i=window.getComputedStyle(e);r=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var o=0,a=0;if(r&&"none"!==r&&"string"===typeof r){var s=r.split("(")[1].split(")")[0].split(",");o=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===t?"translateX(".concat(window.innerWidth,"px) translateX(").concat(o-n.left,"px)"):"right"===t?"translateX(-".concat(n.left+n.width-o,"px)"):"up"===t?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-n.top,"px)"):"translateY(-".concat(n.top+n.height-a,"px)")}(t,e);r&&(e.style.webkitTransform=r,e.style.transform=r)}var g={enter:m.b.enteringScreen,exit:m.b.leavingScreen},y=o.forwardRef((function(t,e){var r=t.children,a=t.direction,s=void 0===a?"down":a,c=t.in,u=t.onEnter,m=t.onEntered,y=t.onEntering,w=t.onExit,x=t.onExited,O=t.onExiting,_=t.style,S=t.timeout,k=void 0===S?g:S,E=t.TransitionComponent,M=void 0===E?h.a:E,C=Object(i.a)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),j=Object(p.a)(),A=o.useRef(null),T=o.useCallback((function(t){A.current=l.findDOMNode(t)}),[]),P=Object(d.a)(r.ref,T),D=Object(d.a)(P,e),R=function(t){return function(e){t&&(void 0===e?t(A.current):t(A.current,e))}},L=R((function(t,e){v(s,t),Object(b.b)(t),u&&u(t,e)})),I=R((function(t,e){var r=Object(b.a)({timeout:k,style:_},{mode:"enter"});t.style.webkitTransition=j.transitions.create("-webkit-transform",Object(n.a)({},r,{easing:j.transitions.easing.easeOut})),t.style.transition=j.transitions.create("transform",Object(n.a)({},r,{easing:j.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",y&&y(t,e)})),N=R(m),F=R(O),B=R((function(t){var e=Object(b.a)({timeout:k,style:_},{mode:"exit"});t.style.webkitTransition=j.transitions.create("-webkit-transform",Object(n.a)({},e,{easing:j.transitions.easing.sharp})),t.style.transition=j.transitions.create("transform",Object(n.a)({},e,{easing:j.transitions.easing.sharp})),v(s,t),w&&w(t)})),z=R((function(t){t.style.webkitTransition="",t.style.transition="",x&&x(t)})),H=o.useCallback((function(){A.current&&v(s,A.current)}),[s]);return o.useEffect((function(){if(!c&&"down"!==s&&"right"!==s){var t=Object(f.a)((function(){A.current&&v(s,A.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[s,c]),o.useEffect((function(){c||H()}),[c,H]),o.createElement(M,Object(n.a)({nodeRef:A,onEnter:L,onEntered:N,onEntering:I,onExit:B,onExited:z,onExiting:F,appear:!0,in:c,timeout:k},C),(function(t,e){return o.cloneElement(r,Object(n.a)({ref:D,style:Object(n.a)({visibility:"exited"!==t||c?void 0:"hidden"},_,r.props.style)},e))}))})),w=r(658),x=r(38),O={left:"right",right:"left",top:"down",bottom:"up"};var _={enter:m.b.enteringScreen,exit:m.b.leavingScreen},S=o.forwardRef((function(t,e){var r=t.anchor,u=void 0===r?"left":r,l=t.BackdropProps,f=t.children,h=t.classes,d=t.className,m=t.elevation,b=void 0===m?16:m,v=t.ModalProps,g=(v=void 0===v?{}:v).BackdropProps,S=Object(i.a)(v,["BackdropProps"]),k=t.onClose,E=t.open,M=void 0!==E&&E,C=t.PaperProps,j=void 0===C?{}:C,A=t.SlideProps,T=t.TransitionComponent,P=void 0===T?y:T,D=t.transitionDuration,R=void 0===D?_:D,L=t.variant,I=void 0===L?"temporary":L,N=Object(i.a)(t,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),F=Object(p.a)(),B=o.useRef(!1);o.useEffect((function(){B.current=!0}),[]);var z=function(t,e){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(e)?O[e]:e}(F,u),H=o.createElement(w.a,Object(n.a)({elevation:"temporary"===I?b:0,square:!0},j,{className:Object(a.a)(h.paper,h["paperAnchor".concat(Object(x.a)(z))],j.className,"temporary"!==I&&h["paperAnchorDocked".concat(Object(x.a)(z))])}),f);if("permanent"===I)return o.createElement("div",Object(n.a)({className:Object(a.a)(h.root,h.docked,d),ref:e},N),H);var U=o.createElement(P,Object(n.a)({in:M,direction:O[z],timeout:R,appear:B.current},A),H);return"persistent"===I?o.createElement("div",Object(n.a)({className:Object(a.a)(h.root,h.docked,d),ref:e},N),U):o.createElement(s.a,Object(n.a)({BackdropProps:Object(n.a)({},l,g,{transitionDuration:R}),BackdropComponent:c.a,className:Object(a.a)(h.root,h.modal,d),open:M,onClose:k,ref:e},N,S),U)}));e.a=Object(u.a)((function(t){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:t.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(t.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(t.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(t.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(t.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(S)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(548),c=r(1406),u=r(1310),l=r(426),f=r(6),h=["className","component"];var d=r(825),p=r(875),m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,r=t.defaultClassName,d=void 0===r?"MuiBox-root":r,p=t.generateClassName,m=Object(s.a)("div")(c.a),b=o.forwardRef((function(t,r){var o=Object(l.a)(e),s=Object(u.a)(t),c=s.className,b=s.component,v=void 0===b?"div":b,g=Object(i.a)(s,h);return Object(f.jsx)(m,Object(n.a)({as:v,ref:r,className:Object(a.a)(c,p?p(d):d),theme:o},g))}));return b}({defaultTheme:Object(p.a)(),defaultClassName:"MuiBox-root",generateClassName:d.a.generate});e.a=m},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(1310),c=r(78),u=r(13),l=r(22),f=r(24),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiTypography",t)}Object(d.a)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=r(6),b=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],v=Object(u.a)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.variant&&e[r.variant],"inherit"!==r.align&&e["align".concat(Object(f.a)(r.align))],r.noWrap&&e.noWrap,r.gutterBottom&&e.gutterBottom,r.paragraph&&e.paragraph]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({margin:0},r.variant&&e.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})})),g={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiTypography"}),o=function(t){return y[t]||t}(r.color),u=Object(s.a)(Object(i.a)({},r,{color:o})),h=u.align,d=void 0===h?"inherit":h,w=u.className,x=u.component,O=u.gutterBottom,_=void 0!==O&&O,S=u.noWrap,k=void 0!==S&&S,E=u.paragraph,M=void 0!==E&&E,C=u.variant,j=void 0===C?"body1":C,A=u.variantMapping,T=void 0===A?g:A,P=Object(n.a)(u,b),D=Object(i.a)({},u,{align:d,color:o,className:w,component:x,gutterBottom:_,noWrap:k,paragraph:M,variant:j,variantMapping:T}),R=x||(M?"p":T[j]||g[j])||"span",L=function(t){var e=t.align,r=t.gutterBottom,n=t.noWrap,i=t.paragraph,o=t.variant,a=t.classes,s={root:["root",o,"inherit"!==t.align&&"align".concat(Object(f.a)(e)),r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return Object(c.a)(s,p,a)}(D);return Object(m.jsx)(v,Object(i.a)({as:R,ref:e,ownerState:D,className:Object(a.a)(L.root,w)},P))}));e.a=w},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(170),l=r(1326),f=r(24),h=r(13),d=r(22),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiFormControlLabel",t)}var v=Object(m.a)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label"]),g=r(6),y=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],w=Object(h.a)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(n.a)({},"& .".concat(v.label),e.label),e.root,e["labelPlacement".concat(Object(f.a)(r.labelPlacement))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)(Object(n.a)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(v.disabled),{cursor:"default"}),"start"===r.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===r.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===r.labelPlacement&&{flexDirection:"column",marginLeft:16},Object(n.a)({},"& .".concat(v.label),Object(n.a)({},"&.".concat(v.disabled),{color:e.palette.text.disabled})))})),x=a.forwardRef((function(t,e){var r=Object(d.a)({props:t,name:"MuiFormControlLabel"}),n=r.className,h=r.componentsProps,p=void 0===h?{}:h,m=r.control,v=r.disabled,x=r.disableTypography,O=r.label,_=r.labelPlacement,S=void 0===_?"end":_,k=Object(i.a)(r,y),E=Object(u.a)(),M=v;"undefined"===typeof M&&"undefined"!==typeof m.props.disabled&&(M=m.props.disabled),"undefined"===typeof M&&E&&(M=E.disabled);var C={disabled:M};["checked","name","onChange","value","inputRef"].forEach((function(t){"undefined"===typeof m.props[t]&&"undefined"!==typeof r[t]&&(C[t]=r[t])}));var j=Object(o.a)({},r,{disabled:M,label:O,labelPlacement:S}),A=function(t){var e=t.classes,r=t.disabled,n=t.labelPlacement,i={root:["root",r&&"disabled","labelPlacement".concat(Object(f.a)(n))],label:["label",r&&"disabled"]};return Object(c.a)(i,b,e)}(j);return Object(g.jsxs)(w,Object(o.a)({className:Object(s.a)(A.root,n),ownerState:j,ref:e},k,{children:[a.cloneElement(m,C),O.type===l.a||x?O:Object(g.jsx)(l.a,Object(o.a)({component:"span",className:A.label},p.typography,{children:O}))]}))}));e.a=x},function(t,e,r){"use strict";var n=r(242),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(315),l=r(24),f=r(22),h=r(13),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiCircularProgress",t)}Object(p.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var b,v,g,y,w,x,O,_,S=r(6),k=["className","color","disableShrink","size","style","thickness","value","variant"],E=Object(u.c)(w||(w=b||(b=Object(n.a)(["\n  0% {\n    transform: rotate(0deg);\n  }\n\n  100% {\n    transform: rotate(360deg);\n  }\n"])))),M=Object(u.c)(x||(x=v||(v=Object(n.a)(["\n  0% {\n    stroke-dasharray: 1px, 200px;\n    stroke-dashoffset: 0;\n  }\n\n  50% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -15px;\n  }\n\n  100% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -125px;\n  }\n"])))),C=Object(h.a)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["color".concat(Object(l.a)(r.color))]]}})((function(t){var e=t.ownerState,r=t.theme;return Object(o.a)({display:"inline-block"},"determinate"===e.variant&&{transition:r.transitions.create("transform")},"inherit"!==e.color&&{color:r.palette[e.color].main})}),(function(t){return"indeterminate"===t.ownerState.variant&&Object(u.b)(O||(O=g||(g=Object(n.a)(["\n      animation: "," 1.4s linear infinite;\n    "]))),E)})),j=Object(h.a)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(t,e){return e.svg}})({display:"block"}),A=Object(h.a)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(t,e){var r=t.ownerState;return[e.circle,e["circle".concat(Object(l.a)(r.variant))],r.disableShrink&&e.circleDisableShrink]}})((function(t){var e=t.ownerState,r=t.theme;return Object(o.a)({stroke:"currentColor"},"determinate"===e.variant&&{transition:r.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(t){var e=t.ownerState;return"indeterminate"===e.variant&&!e.disableShrink&&Object(u.b)(_||(_=y||(y=Object(n.a)(["\n      animation: "," 1.4s ease-in-out infinite;\n    "]))),M)})),T=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiCircularProgress"}),n=r.className,a=r.color,u=void 0===a?"primary":a,h=r.disableShrink,d=void 0!==h&&h,p=r.size,b=void 0===p?40:p,v=r.style,g=r.thickness,y=void 0===g?3.6:g,w=r.value,x=void 0===w?0:w,O=r.variant,_=void 0===O?"indeterminate":O,E=Object(i.a)(r,k),M=Object(o.a)({},r,{color:u,disableShrink:d,size:b,thickness:y,value:x,variant:_}),T=function(t){var e=t.classes,r=t.variant,n=t.color,i=t.disableShrink,o={root:["root",r,"color".concat(Object(l.a)(n))],svg:["svg"],circle:["circle","circle".concat(Object(l.a)(r)),i&&"circleDisableShrink"]};return Object(c.a)(o,m,e)}(M),P={},D={},R={};if("determinate"===_){var L=2*Math.PI*((44-y)/2);P.strokeDasharray=L.toFixed(3),R["aria-valuenow"]=Math.round(x),P.strokeDashoffset="".concat(((100-x)/100*L).toFixed(3),"px"),D.transform="rotate(-90deg)"}return Object(S.jsx)(C,Object(o.a)({className:Object(s.a)(T.root,n),style:Object(o.a)({width:b,height:b},D,v),ownerState:M,ref:e,role:"progressbar"},R,E,{children:Object(S.jsx)(j,{className:T.svg,ownerState:M,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44),children:Object(S.jsx)(A,{className:T.circle,style:P,ownerState:M,cx:44,cy:44,r:(44-y)/2,fill:"none",strokeWidth:y})})}))}));e.a=T},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(2);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,r=t.newClasses;t.Component;if(!r)return e;var i=Object(n.a)({},e);return Object.keys(r).forEach((function(t){r[t]&&(i[t]="".concat(e[t]," ").concat(r[t]))})),i}},function(t,e,r){"use strict";function n(t){var e=t.theme,r=t.name,n=t.props;if(!e||!e.props||!e.props[r])return n;var i,o=e.props[r];for(i in o)void 0===n[i]&&(n[i]=o[i]);return n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(38),c=r(26),u=r(269),l=r(64),f=r(178),h=o.forwardRef((function(t,e){var r=t.classes,c=t.className,h=t.color,d=void 0===h?"primary":h,p=t.component,m=void 0===p?"a":p,b=t.onBlur,v=t.onFocus,g=t.TypographyClasses,y=t.underline,w=void 0===y?"hover":y,x=t.variant,O=void 0===x?"inherit":x,_=Object(i.a)(t,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),S=Object(u.a)(),k=S.isFocusVisible,E=S.onBlurVisible,M=S.ref,C=o.useState(!1),j=C[0],A=C[1],T=Object(l.a)(e,M);return o.createElement(f.a,Object(n.a)({className:Object(a.a)(r.root,r["underline".concat(Object(s.a)(w))],c,j&&r.focusVisible,"button"===m&&r.button),classes:g,color:d,component:m,onBlur:function(t){j&&(E(),A(!1)),b&&b(t)},onFocus:function(t){k(t)&&A(!0),v&&v(t)},ref:T,variant:O},_))}));e.a=Object(c.a)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(h)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(270)),s=r(64);function c(t,e){return parseInt(t[e],10)||0}var u="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,l={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},f=o.forwardRef((function(t,e){var r=t.onChange,f=t.rows,h=t.rowsMax,d=t.rowsMin,p=t.maxRows,m=t.minRows,b=void 0===m?1:m,v=t.style,g=t.value,y=Object(i.a)(t,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),w=p||h,x=f||d||b,O=o.useRef(null!=g).current,_=o.useRef(null),S=Object(s.a)(e,_),k=o.useRef(null),E=o.useRef(0),M=o.useState({}),C=M[0],j=M[1],A=o.useCallback((function(){var e=_.current,r=window.getComputedStyle(e),n=k.current;n.style.width=r.width,n.value=e.value||t.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");var i=r["box-sizing"],o=c(r,"padding-bottom")+c(r,"padding-top"),a=c(r,"border-bottom-width")+c(r,"border-top-width"),s=n.scrollHeight-o;n.value="x";var u=n.scrollHeight-o,l=s;x&&(l=Math.max(Number(x)*u,l)),w&&(l=Math.min(Number(w)*u,l));var f=(l=Math.max(l,u))+("border-box"===i?o+a:0),h=Math.abs(l-s)<=1;j((function(t){return E.current<20&&(f>0&&Math.abs((t.outerHeightStyle||0)-f)>1||t.overflow!==h)?(E.current+=1,{overflow:h,outerHeightStyle:f}):t}))}),[w,x,t.placeholder]);o.useEffect((function(){var t=Object(a.a)((function(){E.current=0,A()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[A]),u((function(){A()})),o.useEffect((function(){E.current=0}),[g]);return o.createElement(o.Fragment,null,o.createElement("textarea",Object(n.a)({value:g,onChange:function(t){E.current=0,O||A(),r&&r(t)},ref:S,rows:x,style:Object(n.a)({height:C.outerHeightStyle,overflow:C.overflow?"hidden":null},v)},y)),o.createElement("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:k,tabIndex:-1,style:Object(n.a)({},l,v)}))}));e.a=f},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(330),c=r(26),u=r(38),l=r(283),f=r(234),h=o.forwardRef((function(t,e){var r=t.children,c=t.classes,h=t.className,d=t.color,p=void 0===d?"primary":d,m=t.component,b=void 0===m?"div":m,v=t.disabled,g=void 0!==v&&v,y=t.error,w=void 0!==y&&y,x=t.fullWidth,O=void 0!==x&&x,_=t.focused,S=t.hiddenLabel,k=void 0!==S&&S,E=t.margin,M=void 0===E?"none":E,C=t.required,j=void 0!==C&&C,A=t.size,T=t.variant,P=void 0===T?"standard":T,D=Object(i.a)(t,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),R=o.useState((function(){var t=!1;return r&&o.Children.forEach(r,(function(e){if(Object(l.a)(e,["Input","Select"])){var r=Object(l.a)(e,["Select"])?e.props.input:e;r&&Object(s.a)(r.props)&&(t=!0)}})),t})),L=R[0],I=R[1],N=o.useState((function(){var t=!1;return r&&o.Children.forEach(r,(function(e){Object(l.a)(e,["Input","Select"])&&Object(s.b)(e.props,!0)&&(t=!0)})),t})),F=N[0],B=N[1],z=o.useState(!1),H=z[0],U=z[1],W=void 0!==_?_:H;g&&W&&U(!1);var q=o.useCallback((function(){B(!0)}),[]),V={adornedStart:L,setAdornedStart:I,color:p,disabled:g,error:w,filled:F,focused:W,fullWidth:O,hiddenLabel:k,margin:("small"===A?"dense":void 0)||M,onBlur:function(){U(!1)},onEmpty:o.useCallback((function(){B(!1)}),[]),onFilled:q,onFocus:function(){U(!0)},registerEffect:void 0,required:j,variant:P};return o.createElement(f.a.Provider,{value:V},o.createElement(b,Object(n.a)({className:Object(a.a)(c.root,h,"none"!==M&&c["margin".concat(Object(u.a)(M))],O&&c.fullWidth),ref:e},D),r))}));e.a=Object(c.a)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(h)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(178),c=r(26),u=r(234),l=o.forwardRef((function(t,e){var r=t.children,c=t.classes,l=t.className,f=t.component,h=void 0===f?"div":f,d=t.disablePointerEvents,p=void 0!==d&&d,m=t.disableTypography,b=void 0!==m&&m,v=t.position,g=t.variant,y=Object(i.a)(t,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),w=Object(u.b)()||{},x=g;return g&&w.variant,w&&!x&&(x=w.variant),o.createElement(u.a.Provider,{value:null},o.createElement(h,Object(n.a)({className:Object(a.a)(c.root,l,"end"===v?c.positionEnd:c.positionStart,p&&c.disablePointerEvents,w.hiddenLabel&&c.hiddenLabel,"filled"===x&&c.filled,"dense"===w.margin&&c.marginDense),ref:e},y),"string"!==typeof r||b?r:o.createElement(s.a,{color:"textSecondary"},r)))}));e.a=Object(c.a)({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(l)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(185),c=r(26),u=r(178),l=r(38),f=o.forwardRef((function(t,e){t.checked;var r=t.classes,c=t.className,f=t.control,h=t.disabled,d=(t.inputRef,t.label),p=t.labelPlacement,m=void 0===p?"end":p,b=(t.name,t.onChange,t.value,Object(i.a)(t,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),v=Object(s.a)(),g=h;"undefined"===typeof g&&"undefined"!==typeof f.props.disabled&&(g=f.props.disabled),"undefined"===typeof g&&v&&(g=v.disabled);var y={disabled:g};return["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof f.props[e]&&"undefined"!==typeof t[e]&&(y[e]=t[e])})),o.createElement("label",Object(n.a)({className:Object(a.a)(r.root,c,"end"!==m&&r["labelPlacement".concat(Object(l.a)(m))],g&&r.disabled),ref:e},b),o.cloneElement(f,y),o.createElement(u.a,{component:"span",className:Object(a.a)(r.label,g&&r.disabled)},d))}));e.a=Object(c.a)((function(t){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:t.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(f)},function(t,e,r){"use strict";var n=r(1),i=r(236),o=r(382),a=r(126);function s(t){var e=t||{},r=e.sx,c=e.theme,u=void 0===c?{}:c;if(!r)return null;function l(t){var e=t;if("function"===typeof t)e=t(u);else if("object"!==typeof t)return t;var r=Object(a.a)(u.breakpoints),c=Object.keys(r),l=r;return Object.keys(e).forEach((function(t){var r,c,f=(r=e[t],c=u,"function"===typeof r?r(c):r);if(null!==f&&void 0!==f)if("object"===typeof f)if(o.b[t])l=Object(i.a)(l,Object(o.a)(t,f,u));else{var h=Object(a.b)({theme:u},f,(function(e){return Object(n.a)({},t,e)}));!function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.reduce((function(t,e){return t.concat(Object.keys(e))}),[]),i=new Set(n);return e.every((function(t){return i.size===Object.keys(t).length}))}(h,f)?l=Object(i.a)(l,h):l[t]=s({sx:f,theme:u})}else l=Object(i.a)(l,Object(o.a)(t,f,u))})),Object(a.c)(c,l)}return Array.isArray(r)?r.map(l):l(r)}s.filterProps=["sx"],e.a=s},function(t,e,r){"use strict";var n=r(2),i=r(891),o=r(282);e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(t,Object(n.a)({defaultTheme:o.a},e))}},function(t,e,r){"use strict";r(125);var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=o.forwardRef((function(t,e){var r=t.anchorOrigin,s=void 0===r?{vertical:"top",horizontal:"right"}:r,u=t.badgeContent,l=t.children,f=t.classes,h=t.className,d=t.color,p=void 0===d?"default":d,m=t.component,b=void 0===m?"span":m,v=t.invisible,g=t.max,y=void 0===g?99:g,w=t.overlap,x=void 0===w?"rectangle":w,O=t.showZero,_=void 0!==O&&O,S=t.variant,k=void 0===S?"standard":S,E=Object(i.a)(t,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),M=v;null==v&&(0===u&&!_||null==u&&"dot"!==k)&&(M=!0);var C="";return"dot"!==k&&(C=u>y?"".concat(y,"+"):u),o.createElement(b,Object(n.a)({className:Object(a.a)(f.root,h),ref:e},E),l,o.createElement("span",{className:Object(a.a)(f.badge,f["".concat(s.horizontal).concat(Object(c.a)(s.vertical),"}")],f["anchorOrigin".concat(Object(c.a)(s.vertical)).concat(Object(c.a)(s.horizontal)).concat(Object(c.a)(x))],"default"!==p&&f["color".concat(Object(c.a)(p))],M&&f.invisible,"dot"===k&&f.dot)},C))}));e.a=Object(s.a)((function(t){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorError:{backgroundColor:t.palette.error.main,color:t.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(u)},function(t,e,r){"use strict";e.a={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(73),a=r(0),s=(r(10),r(8)),c=r(26),u=r(38),l=r(1320),f=r(1307),h=r(883),d=r(140),p=r(658),m={enter:d.b.enteringScreen,exit:d.b.leavingScreen},b=a.forwardRef((function(t,e){var r=t.BackdropProps,o=t.children,c=t.classes,d=t.className,b=t.disableBackdropClick,v=void 0!==b&&b,g=t.disableEscapeKeyDown,y=void 0!==g&&g,w=t.fullScreen,x=void 0!==w&&w,O=t.fullWidth,_=void 0!==O&&O,S=t.maxWidth,k=void 0===S?"sm":S,E=t.onBackdropClick,M=t.onClose,C=t.onEnter,j=t.onEntered,A=t.onEntering,T=t.onEscapeKeyDown,P=t.onExit,D=t.onExited,R=t.onExiting,L=t.open,I=t.PaperComponent,N=void 0===I?p.a:I,F=t.PaperProps,B=void 0===F?{}:F,z=t.scroll,H=void 0===z?"paper":z,U=t.TransitionComponent,W=void 0===U?h.a:U,q=t.transitionDuration,V=void 0===q?m:q,G=t.TransitionProps,Y=t["aria-describedby"],X=t["aria-labelledby"],$=Object(i.a)(t,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),K=a.useRef();return a.createElement(l.a,Object(n.a)({className:Object(s.a)(c.root,d),BackdropComponent:f.a,BackdropProps:Object(n.a)({transitionDuration:V},r),closeAfterTransition:!0},v?{disableBackdropClick:v}:{},{disableEscapeKeyDown:y,onEscapeKeyDown:T,onClose:M,open:L,ref:e},$),a.createElement(W,Object(n.a)({appear:!0,in:L,timeout:V,onEnter:C,onEntering:A,onEntered:j,onExit:P,onExiting:R,onExited:D,role:"none presentation"},G),a.createElement("div",{className:Object(s.a)(c.container,c["scroll".concat(Object(u.a)(H))]),onMouseUp:function(t){t.target===t.currentTarget&&t.target===K.current&&(K.current=null,E&&E(t),!v&&M&&M(t,"backdropClick"))},onMouseDown:function(t){K.current=t.target}},a.createElement(N,Object(n.a)({elevation:24,role:"dialog","aria-describedby":Y,"aria-labelledby":X},B,{className:Object(s.a)(c.paper,c["paperScroll".concat(Object(u.a)(H))],c["paperWidth".concat(Object(u.a)(String(k)))],B.className,x&&c.paperFullScreen,_&&c.paperFullWidth)}),o))))}));e.a=Object(c.a)((function(t){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(t.breakpoints.values.xs,444),"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:t.breakpoints.values.sm,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:t.breakpoints.values.md,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:t.breakpoints.values.lg,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:t.breakpoints.values.xl,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(b)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(178),u=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.disableTypography,f=void 0!==l&&l,h=Object(i.a)(t,["children","classes","className","disableTypography"]);return o.createElement("div",Object(n.a)({className:Object(a.a)(s.root,u),ref:e},h),f?r:o.createElement(c.a,{component:"h2",variant:"h6"},r))}));e.a=Object(s.a)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(445)),s=r(133),c=r(122),u=r(162),l=r(72),f=r(6),h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],d={entering:{opacity:1},entered:{opacity:1}},p={enter:s.b.enteringScreen,exit:s.b.leavingScreen},m=o.forwardRef((function(t,e){var r=t.addEndListener,s=t.appear,m=void 0===s||s,b=t.children,v=t.easing,g=t.in,y=t.onEnter,w=t.onEntered,x=t.onEntering,O=t.onExit,_=t.onExited,S=t.onExiting,k=t.style,E=t.timeout,M=void 0===E?p:E,C=t.TransitionComponent,j=void 0===C?a.a:C,A=Object(i.a)(t,h),T=Object(c.a)(),P=o.useRef(null),D=Object(l.a)(b.ref,e),R=Object(l.a)(P,D),L=function(t){return function(e){if(t){var r=P.current;void 0===e?t(r):t(r,e)}}},I=L(x),N=L((function(t,e){Object(u.b)(t);var r=Object(u.a)({style:k,timeout:M,easing:v},{mode:"enter"});t.style.webkitTransition=T.transitions.create("opacity",r),t.style.transition=T.transitions.create("opacity",r),y&&y(t,e)})),F=L(w),B=L(S),z=L((function(t){var e=Object(u.a)({style:k,timeout:M,easing:v},{mode:"exit"});t.style.webkitTransition=T.transitions.create("opacity",e),t.style.transition=T.transitions.create("opacity",e),O&&O(t)})),H=L(_);return Object(f.jsx)(j,Object(n.a)({appear:m,in:g,nodeRef:P,onEnter:N,onEntered:F,onEntering:I,onExit:z,onExited:H,onExiting:B,addEndListener:function(t){r&&r(P.current,t)},timeout:M},A,{children:function(t,e){return o.cloneElement(b,Object(n.a)({style:Object(n.a)({opacity:0,visibility:"exited"!==t||g?void 0:"hidden"},d[t],k,b.props.style),ref:R},e))}}))}));e.a=m},function(t,e,r){"use strict";function n(t){var e=t.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(3),i=r(0),o=r(76),a=(r(10),r(441)),s=r(338),c=r(435);var u=i.forwardRef((function(t,e){var r=t.children,u=t.container,l=t.disablePortal,f=void 0!==l&&l,h=i.useState(null),d=Object(n.a)(h,2),p=d[0],m=d[1],b=Object(a.a)(i.isValidElement(r)?r.ref:null,e);return Object(s.a)((function(){f||m(function(t){return"function"===typeof t?t():t}(u)||document.body)}),[u,f]),Object(s.a)((function(){if(p&&!f)return Object(c.a)(e,p),function(){Object(c.a)(e,null)}}),[e,p,f]),f?i.isValidElement(r)?i.cloneElement(r,{ref:b}):r:p?o.createPortal(r,p):p}));e.a=u},function(t,e,r){"use strict";var n=r(3),i=r(2),o=r(14),a=r(0),s=(r(10),r(441)),c=r(660),u=r(886),l=r(338),f=r(6),h=["onChange","maxRows","minRows","style","value"];function d(t,e){return parseInt(t[e],10)||0}var p={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},m=a.forwardRef((function(t,e){var r=t.onChange,m=t.maxRows,b=t.minRows,v=void 0===b?1:b,g=t.style,y=t.value,w=Object(o.a)(t,h),x=a.useRef(null!=y).current,O=a.useRef(null),_=Object(s.a)(e,O),S=a.useRef(null),k=a.useRef(0),E=a.useState({}),M=Object(n.a)(E,2),C=M[0],j=M[1],A=a.useCallback((function(){var e=O.current,r=Object(c.a)(e).getComputedStyle(e);if("0px"!==r.width){var n=S.current;n.style.width=r.width,n.value=e.value||t.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");var i=r["box-sizing"],o=d(r,"padding-bottom")+d(r,"padding-top"),a=d(r,"border-bottom-width")+d(r,"border-top-width"),s=n.scrollHeight;n.value="x";var u=n.scrollHeight,l=s;v&&(l=Math.max(Number(v)*u,l)),m&&(l=Math.min(Number(m)*u,l));var f=(l=Math.max(l,u))+("border-box"===i?o+a:0),h=Math.abs(l-s)<=1;j((function(t){return k.current<20&&(f>0&&Math.abs((t.outerHeightStyle||0)-f)>1||t.overflow!==h)?(k.current+=1,{overflow:h,outerHeightStyle:f}):t}))}}),[m,v,t.placeholder]);a.useEffect((function(){var t,e=Object(u.a)((function(){k.current=0,A()})),r=Object(c.a)(O.current);return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e)).observe(O.current),function(){e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}}),[A]),Object(l.a)((function(){A()})),a.useEffect((function(){k.current=0}),[y]);return Object(f.jsxs)(a.Fragment,{children:[Object(f.jsx)("textarea",Object(i.a)({value:y,onChange:function(t){k.current=0,x||A(),r&&r(t)},ref:_,rows:v,style:Object(i.a)({height:C.outerHeightStyle,overflow:C.overflow?"hidden":null},g)},w)),Object(f.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:S,tabIndex:-1,style:Object(i.a)({},p,g,{padding:0})})]})}));e.a=m},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.dividers,u=void 0!==c&&c,l=Object(i.a)(t,["classes","className","dividers"]);return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,s,u&&r.dividers),ref:e},l))}));e.a=Object(s.a)((function(t){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(t.palette.divider),borderBottom:"1px solid ".concat(t.palette.divider)}}}),{name:"MuiDialogContent"})(c)},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(26)),a=r(178),s=i.forwardRef((function(t,e){return i.createElement(a.a,Object(n.a)({component:"p",variant:"body1",color:"textSecondary",ref:e},t))}));e.a=Object(o.a)({root:{marginBottom:12}},{name:"MuiDialogContentText"})(s)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=o.forwardRef((function(t,e){var r=t.disableSpacing,s=void 0!==r&&r,c=t.classes,u=t.className,l=Object(i.a)(t,["disableSpacing","classes","className"]);return o.createElement("div",Object(n.a)({className:Object(a.a)(c.root,u,!s&&c.spacing),ref:e},l))}));e.a=Object(s.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(c)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=r(658),l=o.forwardRef((function(t,e){var r=t.classes,s=t.className,l=t.color,f=void 0===l?"primary":l,h=t.position,d=void 0===h?"fixed":h,p=Object(i.a)(t,["classes","className","color","position"]);return o.createElement(u.a,Object(n.a)({square:!0,component:"header",elevation:4,className:Object(a.a)(r.root,r["position".concat(Object(c.a)(d))],r["color".concat(Object(c.a)(f))],s,"fixed"===d&&"mui-fixed"),ref:e},p))}));e.a=Object(s.a)((function(t){var e="light"===t.palette.type?t.palette.grey[100]:t.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:t.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:e,color:t.palette.getContrastText(e)},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(l)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(73),a=r(0),s=(r(10),r(8)),c=r(26),u=a.forwardRef((function(t,e){var r=t.classes,o=t.className,c=t.component,u=void 0===c?"div":c,l=t.disableGutters,f=void 0!==l&&l,h=t.variant,d=void 0===h?"regular":h,p=Object(i.a)(t,["classes","className","component","disableGutters","variant"]);return a.createElement(u,Object(n.a)({className:Object(s.a)(r.root,r[d],o,!f&&r.gutters),ref:e},p))}));e.a=Object(c.a)((function(t){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:Object(o.a)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),regular:t.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=t.color,l=void 0===u?"default":u,f=t.component,h=void 0===f?"li":f,d=t.disableGutters,p=void 0!==d&&d,m=t.disableSticky,b=void 0!==m&&m,v=t.inset,g=void 0!==v&&v,y=Object(i.a)(t,["classes","className","color","component","disableGutters","disableSticky","inset"]);return o.createElement(h,Object(n.a)({className:Object(a.a)(r.root,s,"default"!==l&&r["color".concat(Object(c.a)(l))],g&&r.inset,!b&&r.sticky,!p&&r.gutters),ref:e},y))}));e.a=Object(s.a)((function(t){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:t.palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},colorPrimary:{color:t.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=r(38),l=r(523),f=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.color,f=void 0===c?"secondary":c,h=t.edge,d=void 0!==h&&h,p=t.size,m=void 0===p?"medium":p,b=Object(i.a)(t,["classes","className","color","edge","size"]),v=o.createElement("span",{className:r.thumb});return o.createElement("span",{className:Object(a.a)(r.root,s,{start:r.edgeStart,end:r.edgeEnd}[d],"small"===m&&r["size".concat(Object(u.a)(m))])},o.createElement(l.a,Object(n.a)({type:"checkbox",icon:v,checkedIcon:v,classes:{root:Object(a.a)(r.switchBase,r["color".concat(Object(u.a)(f))]),input:r.input,checked:r.checked,disabled:r.disabled},ref:e},b)),o.createElement("span",{className:r.track}))}));e.a=Object(s.a)((function(t){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===t.palette.type?t.palette.grey[50]:t.palette.grey[400],transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===t.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:t.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.type?.38:.3}}}),{name:"MuiSwitch"})(f)},function(t,e,r){"use strict";var n=r(20),i=r(73),o=r(2),a=r(0),s=(r(10),r(8)),c=r(26),u=r(442),l=a.forwardRef((function(t,e){var r,i=t.classes,c=t.className,l=t.component,f=void 0===l?"li":l,h=t.disableGutters,d=void 0!==h&&h,p=t.ListItemClasses,m=t.role,b=void 0===m?"menuitem":m,v=t.selected,g=t.tabIndex,y=Object(n.a)(t,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return t.disabled||(r=void 0!==g?g:-1),a.createElement(u.a,Object(o.a)({button:!0,role:b,tabIndex:r,component:f,selected:v,disableGutters:d,classes:Object(o.a)({dense:i.dense},p),className:Object(s.a)(i.root,c,v&&i.selected,!d&&i.gutters),ref:e},y))}));e.a=Object(c.a)((function(t){return{root:Object(o.a)({},t.typography.body1,Object(i.a)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},t.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Object(o.a)({},t.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(l)},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=r(8),c=(r(10),r(26)),u=r(221),l=r(538);var f=function(t,e,r){for(var n=e;n<t.length;n+=1)if(r===t[n])return n;return-1},h=[],d=[],p=a.forwardRef((function(t,e){var r=t.children,c=t.classes,p=t.className,m=t.defaultCollapseIcon,b=t.defaultEndIcon,v=t.defaultExpanded,g=void 0===v?h:v,y=t.defaultExpandIcon,w=t.defaultParentIcon,x=t.defaultSelected,O=void 0===x?d:x,_=t.disableSelection,S=void 0!==_&&_,k=t.multiSelect,E=void 0!==k&&k,M=t.expanded,C=t.onNodeSelect,j=t.onNodeToggle,A=t.selected,T=Object(o.a)(t,["children","classes","className","defaultCollapseIcon","defaultEndIcon","defaultExpanded","defaultExpandIcon","defaultParentIcon","defaultSelected","disableSelection","multiSelect","expanded","onNodeSelect","onNodeToggle","selected"]),P=a.useState(null),D=P[0],R=P[1],L=a.useState(null),I=L[0],N=L[1],F=a.useRef({}),B=a.useRef({}),z=a.useRef([]),H=Object(u.a)({controlled:M,default:g,name:"TreeView",state:"expanded"}),U=Object(i.a)(H,2),W=U[0],q=U[1],V=Object(u.a)({controlled:A,default:O,name:"TreeView",state:"selected"}),G=Object(i.a)(V,2),Y=G[0],X=G[1],$=a.useCallback((function(t){return!!Array.isArray(W)&&-1!==W.indexOf(t)}),[W]),K=a.useCallback((function(t){return Array.isArray(Y)?-1!==Y.indexOf(t):Y===t}),[Y]),Z=function(t){var e=z.current.indexOf(t);return-1!==e&&e+1<z.current.length?z.current[e+1]:null},J=function(t){var e=z.current.indexOf(t);return-1!==e&&e-1>=0?z.current[e-1]:null},Q=function(){return z.current[z.current.length-1]},tt=function(){return z.current[0]},et=function(t){t&&(R(t),N(t))},rt=a.useRef(null),nt=a.useRef(!1),it=a.useRef([]),ot=function(t,e){var r=Y,n=e.start,i=e.next,o=e.current;i&&o&&(-1===it.current.indexOf(o)&&(it.current=[]),nt.current?-1!==it.current.indexOf(i)?(r=r.filter((function(t){return t===n||t!==o})),it.current=it.current.filter((function(t){return t===n||t!==o}))):(r.push(i),it.current.push(i)):(r.push(i),it.current.push(o,i)),C&&C(t,r),X(r))},at=function(t,e){var r=Y,n=e.start,i=e.end;nt.current&&(r=Y.filter((function(t){return-1===it.current.indexOf(t)})));var o=function(t,e){var r=z.current.indexOf(t),n=z.current.indexOf(e),i=Math.min(r,n),o=Math.max(r,n);return z.current.slice(i,o+1)}(n,i);it.current=o;var a=r.concat(o);a=a.filter((function(t,e){return a.indexOf(t)===e})),C&&C(t,a),X(a)},st=function(t,e){var r=[];r=-1!==Y.indexOf(e)?Y.filter((function(t){return t!==e})):[e].concat(Y),C&&C(t,r),X(r)},ct=function(t,e){var r=E?[e]:e;C&&C(t,r),X(r)},ut=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.start,i=void 0===n?rt.current:n,o=e.end,a=e.current;return r?ot(t,{start:i,next:o,current:a}):at(t,{start:i,end:o}),nt.current=!0,!0},lt=a.useCallback((function(t){var e=F.current[t],r=[];return e&&(r.push(t),e.children&&(r.concat(e.children),e.children.forEach((function(t){r.concat(lt(t))})))),r}),[]),ft=a.useCallback((function(t){var e=Object(n.a)({},B.current);t.forEach((function(t){e[t]&&delete e[t]})),B.current=e}),[]),ht=a.useCallback((function(t){var e=lt(t);ft(e);var r=Object(n.a)({},F.current);e.forEach((function(t){var e=r[t];if(e){if(e.parent){var i=r[e.parent];if(i&&i.children){var o=i.children.filter((function(e){return e!==t}));r[e.parent]=Object(n.a)({},i,{children:o})}}delete r[t]}})),F.current=r,N((function(e){return e===t?null:e}))}),[lt,ft]),dt=a.useRef([]),pt=a.useState(!1),mt=pt[0],bt=pt[1];a.useEffect((function(){var t=[];a.Children.forEach(r,(function(e){a.isValidElement(e)&&e.props.nodeId&&t.push(e.props.nodeId)})),function(t,e){if(t.length!==e.length)return!0;for(var r=0;r<t.length;r+=1)if(t[r]!==e[r])return!0;return!1}(dt.current,t)&&(F.current[-1]={parent:null,children:t},t.forEach((function(t,e){0===e&&R(t)})),z.current=F.current[-1].children,dt.current=t,bt(!0))}),[r]),a.useEffect((function(){mt&&(z.current=function t(e){for(var r=[],n=0;n<e.length;n+=1){var i=e[n];r.push(i);var o=F.current[i].children;$(i)&&o&&(r=r.concat(t(o)))}return r}(F.current[-1].children))}),[W,mt,$,r]);var vt=function(){return!1};return a.createElement(l.a.Provider,{value:{icons:{defaultCollapseIcon:m,defaultExpandIcon:y,defaultParentIcon:w,defaultEndIcon:b},focus:et,focusFirstNode:function(){return et(tt())},focusLastNode:function(){return et(Q())},focusNextNode:function(t){return et(Z(t))},focusPreviousNode:function(t){return et(J(t))},focusByFirstCharacter:function(t,e){var r,n,i=e.toLowerCase(),o=[],a=[];Object.keys(B.current).forEach((function(t){var e=B.current[t],r=F.current[t];(!r.parent||$(r.parent))&&(o.push(t),a.push(e))})),(r=o.indexOf(t)+1)===F.current.length&&(r=0),-1===(n=f(a,r,i))&&(n=f(a,0,i)),n>-1&&et(o[n])},expandAllSiblings:function(t,e){var r,n=F.current[e],i=F.current[n.parent];i?r=i.children.filter((function(t){return!$(t)})):r=F.current[-1].children.filter((function(t){return!$(t)}));var o=W.concat(r);r.length>0&&(q(o),j&&j(t,o))},toggleExpansion:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;-1!==W.indexOf(r)?(e=W.filter((function(t){return t!==r})),R((function(t){var e=F.current[t];return t&&(e&&e.parent?e.parent.id:null)===r?r:t}))):e=[r].concat(W),j&&j(t,e),q(e)},isExpanded:$,isFocused:function(t){return I===t},isSelected:K,selectNode:S?vt:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&(r?st(t,e):ct(t,e),rt.current=e,nt.current=!1,it.current=[],!0)},selectRange:S?vt:ut,selectNextNode:S?vt:function(t,e){return ut(t,{end:Z(e),current:e},!0)},selectPreviousNode:S?vt:function(t,e){return ut(t,{end:J(e),current:e},!0)},rangeSelectToFirst:S?vt:function(t,e){rt.current||(rt.current=e);var r=nt.current?rt.current:e;return ut(t,{start:r,end:tt()})},rangeSelectToLast:S?vt:function(t,e){rt.current||(rt.current=e);var r=nt.current?rt.current:e;return ut(t,{start:r,end:Q()})},selectAllNodes:S?vt:function(t){return ut(t,{start:tt(),end:Q()})},isTabbable:function(t){return D===t},multiSelect:E,getParent:function(t){return F.current[t].parent},mapFirstChar:function(t,e){B.current[t]=e},addNodeToNodeMap:function(t,e){var r=F.current[t];F.current[t]=Object(n.a)({},r,{children:e,id:t}),e.forEach((function(e){var r=F.current[e];F.current[e]=Object(n.a)({},r,{parent:t,id:e})}))},removeNodeFromNodeMap:ht}},a.createElement("ul",Object(n.a)({role:"tree","aria-multiselectable":E,className:Object(s.a)(c.root,p),ref:e},T),r))}));e.a=Object(c.a)({root:{padding:0,margin:0,listStyle:"none"}},{name:"MuiTreeView"})(p)},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(22)),a=r(1313),s=r(6),c=function(t,e){return Object(n.a)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&{colorScheme:t.palette.mode})},u=function(t){return Object(n.a)({color:t.palette.text.primary},t.typography.body1,{backgroundColor:t.palette.background.default,"@media print":{backgroundColor:t.palette.common.white}})};e.a=function(t){var e=Object(o.a)({props:t,name:"MuiCssBaseline"}),r=e.children,l=e.enableColorScheme,f=void 0!==l&&l;return Object(s.jsxs)(i.Fragment,{children:[Object(s.jsx)(a.a,{styles:function(t){return function(t){var e,r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={html:c(t,i),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:Object(n.a)({margin:0},u(t),{"&::backdrop":{backgroundColor:t.palette.background.default}})},a=null==(e=t.components)||null==(r=e.MuiCssBaseline)?void 0:r.styleOverrides;return a&&(o=[o,a]),o}(t,f)}}),r]})}},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(445)),s=r(195),c=r(72),u=r(122),l=r(133),f=r(162),h=r(210),d=r(6),p=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(t,e,r){var n,i=function(t,e,r){var n,i=e.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),a=Object(h.a)(e);if(e.fakeTransform)n=e.fakeTransform;else{var s=a.getComputedStyle(e);n=s.getPropertyValue("-webkit-transform")||s.getPropertyValue("transform")}var c=0,u=0;if(n&&"none"!==n&&"string"===typeof n){var l=n.split("(")[1].split(")")[0].split(",");c=parseInt(l[4],10),u=parseInt(l[5],10)}return"left"===t?"translateX(".concat(o?o.right+c-i.left:a.innerWidth+c-i.left,"px)"):"right"===t?"translateX(-".concat(o?i.right-o.left-c:i.left+i.width-c,"px)"):"up"===t?"translateY(".concat(o?o.bottom+u-i.top:a.innerHeight+u-i.top,"px)"):"translateY(-".concat(o?i.top-o.top+i.height-u:i.top+i.height-u,"px)")}(t,e,"function"===typeof(n=r)?n():n);i&&(e.style.webkitTransform=i,e.style.transform=i)}var b={enter:l.c.easeOut,exit:l.c.sharp},v={enter:l.b.enteringScreen,exit:l.b.leavingScreen},g=o.forwardRef((function(t,e){var r=t.addEndListener,l=t.appear,g=void 0===l||l,y=t.children,w=t.container,x=t.direction,O=void 0===x?"down":x,_=t.easing,S=void 0===_?b:_,k=t.in,E=t.onEnter,M=t.onEntered,C=t.onEntering,j=t.onExit,A=t.onExited,T=t.onExiting,P=t.style,D=t.timeout,R=void 0===D?v:D,L=t.TransitionComponent,I=void 0===L?a.a:L,N=Object(i.a)(t,p),F=Object(u.a)(),B=o.useRef(null),z=Object(c.a)(y.ref,B),H=Object(c.a)(z,e),U=function(t){return function(e){t&&(void 0===e?t(B.current):t(B.current,e))}},W=U((function(t,e){m(O,t,w),Object(f.b)(t),E&&E(t,e)})),q=U((function(t,e){var r=Object(f.a)({timeout:R,style:P,easing:S},{mode:"enter"});t.style.webkitTransition=F.transitions.create("-webkit-transform",Object(n.a)({},r)),t.style.transition=F.transitions.create("transform",Object(n.a)({},r)),t.style.webkitTransform="none",t.style.transform="none",C&&C(t,e)})),V=U(M),G=U(T),Y=U((function(t){var e=Object(f.a)({timeout:R,style:P,easing:S},{mode:"exit"});t.style.webkitTransition=F.transitions.create("-webkit-transform",e),t.style.transition=F.transitions.create("transform",e),m(O,t,w),j&&j(t)})),X=U((function(t){t.style.webkitTransition="",t.style.transition="",A&&A(t)})),$=o.useCallback((function(){B.current&&m(O,B.current,w)}),[O,w]);return o.useEffect((function(){if(!k&&"down"!==O&&"right"!==O){var t=Object(s.a)((function(){B.current&&m(O,B.current,w)})),e=Object(h.a)(B.current);return e.addEventListener("resize",t),function(){t.clear(),e.removeEventListener("resize",t)}}}),[O,k,w]),o.useEffect((function(){k||$()}),[k,$]),Object(d.jsx)(I,Object(n.a)({nodeRef:B,onEnter:W,onEntered:V,onEntering:q,onExit:Y,onExited:X,onExiting:G,addEndListener:function(t){r&&r(B.current,t)},appear:g,in:k,timeout:R},N,{children:function(t,e){return o.cloneElement(y,Object(n.a)({ref:H,style:Object(n.a)({visibility:"exited"!==t||k?void 0:"hidden"},P,y.props.style)},e))}}))}));e.a=g},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(38),c=r(26),u=r(62),l=r(139),f=o.forwardRef((function(t,e){var r=t.classes,c=t.className,u=t.color,f=void 0===u?"primary":u,h=t.value,d=t.valueBuffer,p=t.variant,m=void 0===p?"indeterminate":p,b=Object(i.a)(t,["classes","className","color","value","valueBuffer","variant"]),v=Object(l.a)(),g={},y={bar1:{},bar2:{}};if("determinate"===m||"buffer"===m)if(void 0!==h){g["aria-valuenow"]=Math.round(h),g["aria-valuemin"]=0,g["aria-valuemax"]=100;var w=h-100;"rtl"===v.direction&&(w=-w),y.bar1.transform="translateX(".concat(w,"%)")}else 0;if("buffer"===m)if(void 0!==d){var x=(d||0)-100;"rtl"===v.direction&&(x=-x),y.bar2.transform="translateX(".concat(x,"%)")}else 0;return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,r["color".concat(Object(s.a)(f))],c,{determinate:r.determinate,indeterminate:r.indeterminate,buffer:r.buffer,query:r.query}[m]),role:"progressbar"},g,{ref:e},b),"buffer"===m?o.createElement("div",{className:Object(a.a)(r.dashed,r["dashedColor".concat(Object(s.a)(f))])}):null,o.createElement("div",{className:Object(a.a)(r.bar,r["barColor".concat(Object(s.a)(f))],("indeterminate"===m||"query"===m)&&r.bar1Indeterminate,{determinate:r.bar1Determinate,buffer:r.bar1Buffer}[m]),style:y.bar1}),"determinate"===m?null:o.createElement("div",{className:Object(a.a)(r.bar,("indeterminate"===m||"query"===m)&&r.bar2Indeterminate,"buffer"===m?[r["color".concat(Object(s.a)(f))],r.bar2Buffer]:r["barColor".concat(Object(s.a)(f))]),style:y.bar2}))}));e.a=Object(c.a)((function(t){var e=function(e){return"light"===t.palette.type?Object(u.e)(e,.62):Object(u.b)(e,.5)},r=e(t.palette.primary.main),n=e(t.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:r},colorSecondary:{backgroundColor:n},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:t.palette.primary.main},barColorSecondary:{backgroundColor:t.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(f)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(1326),u=r(13),l=r(22),f=r(540),h=r(539),d=r(6),p=["className","id"],m=Object(u.a)(c.a,{name:"MuiDialogTitle",slot:"Root",overridesResolver:function(t,e){return e.root}})({padding:"16px 24px",flex:"0 0 auto"}),b=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiDialogTitle"}),c=r.className,u=r.id,b=Object(i.a)(r,p),v=r,g=function(t){var e=t.classes;return Object(s.a)({root:["root"]},f.b,e)}(v),y=o.useContext(h.a).titleId,w=void 0===y?u:y;return Object(d.jsx)(m,Object(n.a)({component:"h2",className:Object(a.a)(g.root,c),ownerState:v,ref:e,variant:"h6",id:w},b))}));e.a=b},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(147),u=r(13),l=r(22),f=r(832),h=r(6),d=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],p=Object(u.a)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,"vertical"===r.orientation&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&"vertical"===r.orientation&&e.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&e.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&e.textAlignLeft]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:e.palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:Object(c.a)(e.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({},r.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid ".concat(e.palette.divider),top:"50%",content:'""',transform:"translateY(50%)"}})}),(function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid ".concat(e.palette.divider),transform:"translateX(0%)"}})}),(function(t){var e=t.ownerState;return Object(i.a)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),m=Object(u.a)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(t,e){var r=t.ownerState;return[e.wrapper,"vertical"===r.orientation&&e.wrapperVertical]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({display:"inline-block",paddingLeft:"calc(".concat(e.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(e.spacing(1)," * 1.2)")},"vertical"===r.orientation&&{paddingTop:"calc(".concat(e.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(e.spacing(1)," * 1.2)")})})),b=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiDivider"}),o=r.absolute,c=void 0!==o&&o,u=r.children,b=r.className,v=r.component,g=void 0===v?u?"div":"hr":v,y=r.flexItem,w=void 0!==y&&y,x=r.light,O=void 0!==x&&x,_=r.orientation,S=void 0===_?"horizontal":_,k=r.role,E=void 0===k?"hr"!==g?"separator":void 0:k,M=r.textAlign,C=void 0===M?"center":M,j=r.variant,A=void 0===j?"fullWidth":j,T=Object(n.a)(r,d),P=Object(i.a)({},r,{absolute:c,component:g,flexItem:w,light:O,orientation:S,role:E,textAlign:C,variant:A}),D=function(t){var e=t.absolute,r=t.children,n=t.classes,i=t.flexItem,o=t.light,a=t.orientation,c=t.textAlign,u={root:["root",e&&"absolute",t.variant,o&&"light","vertical"===a&&"vertical",i&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return Object(s.a)(u,f.b,n)}(P);return Object(h.jsx)(p,Object(i.a)({as:g,className:Object(a.a)(D.root,b),role:E,ref:e,ownerState:P},T,{children:u?Object(h.jsx)(m,{className:D.wrapper,ownerState:P,children:u}):null}))}));e.a=b},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(658),c=r(26),u=o.forwardRef((function(t,e){var r=t.classes,c=t.className,u=t.raised,l=void 0!==u&&u,f=Object(i.a)(t,["classes","className","raised"]);return o.createElement(s.a,Object(n.a)({className:Object(a.a)(r.root,c),elevation:l?8:1,ref:e},f))}));e.a=Object(c.a)({root:{overflow:"hidden"}},{name:"MuiCard"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(178),u=o.forwardRef((function(t,e){var r=t.action,s=t.avatar,u=t.classes,l=t.className,f=t.component,h=void 0===f?"div":f,d=t.disableTypography,p=void 0!==d&&d,m=t.subheader,b=t.subheaderTypographyProps,v=t.title,g=t.titleTypographyProps,y=Object(i.a)(t,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),w=v;null==w||w.type===c.a||p||(w=o.createElement(c.a,Object(n.a)({variant:s?"body2":"h5",className:u.title,component:"span",display:"block"},g),w));var x=m;return null==x||x.type===c.a||p||(x=o.createElement(c.a,Object(n.a)({variant:s?"body2":"body1",className:u.subheader,color:"textSecondary",component:"span",display:"block"},b),x)),o.createElement(h,Object(n.a)({className:Object(a.a)(u.root,l),ref:e},y),s&&o.createElement("div",{className:u.avatar},s),o.createElement("div",{className:u.content},w,x),r&&o.createElement("div",{className:u.action},r))}));e.a=Object(s.a)({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(u)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(126)),c=r(149),u=r(1310),l=r(558),f=r(13),h=r(22),d=r(6),p=["component","direction","spacing","divider","children"];function m(t,e){var r=a.Children.toArray(t).filter(Boolean);return r.reduce((function(t,n,i){return t.push(n),i<r.length-1&&t.push(a.cloneElement(e,{key:"separator-".concat(i)})),t}),[])}var b=Object(f.a)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(t,e){return[e.root]}})((function(t){var e=t.ownerState,r=t.theme,i=Object(o.a)({display:"flex"},Object(s.b)({theme:r},Object(s.d)({values:e.direction,breakpoints:r.breakpoints.values}),(function(t){return{flexDirection:t}})));if(e.spacing){var a=Object(c.a)(r),u=Object.keys(r.breakpoints.values).reduce((function(t,r){return null==e.spacing[r]&&null==e.direction[r]||(t[r]=!0),t}),{}),f=Object(s.d)({values:e.direction,base:u}),h=Object(s.d)({values:e.spacing,base:u});i=Object(l.a)(i,Object(s.b)({theme:r},h,(function(t,r){return{"& > :not(style) + :not(style)":Object(n.a)({margin:0},"margin".concat((i=r?f[r]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i])),Object(c.d)(a,t))};var i})))}return i})),v=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiStack"}),n=Object(u.a)(r),a=n.component,s=void 0===a?"div":a,c=n.direction,l=void 0===c?"column":c,f=n.spacing,v=void 0===f?0:f,g=n.divider,y=n.children,w=Object(i.a)(n,p),x={direction:l,spacing:v};return Object(d.jsx)(b,Object(o.a)({as:s,ownerState:x,ref:e},w,{children:g?m(y,g):y}))}));e.a=v},function(t,e,r){"use strict";r.d(e,"a",(function(){return x}));var n=r(44),i=r.n(n),o=r(0),a=r.n(o),s=r(17),c=r(42);function u(t){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=w(t);if(e){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(t,e){return!e||"object"!==u(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(u,t);var e,r,n,o=g(u);function u(){return m(this,u),o.apply(this,arguments)}return e=u,n=[{key:"renderLineItem",value:function(t,e){var r;if(a.a.isValidElement(t))r=a.a.cloneElement(t,e);else if(i()(t))r=t(e);else{var n=e.x1,o=e.y1,s=e.x2,u=e.y2,h=e.key,d=f(e,["x1","y1","x2","y2","key"]);r=a.a.createElement("line",l({},Object(c.c)(d),{x1:n,y1:o,x2:s,y2:u,fill:"none",key:h}))}return r}}],(r=[{key:"renderHorizontal",value:function(t){var e=this,r=this.props,n=r.x,i=r.width,o=r.horizontal;if(!t||!t.length)return null;var s=t.map((function(t,r){var a=d(d({},e.props),{},{x1:n,y1:t,x2:n+i,y2:t,key:"line-".concat(r),index:r});return u.renderLineItem(o,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}},{key:"renderVertical",value:function(t){var e=this,r=this.props,n=r.y,i=r.height,o=r.vertical;if(!t||!t.length)return null;var s=t.map((function(t,r){var a=d(d({},e.props),{},{x1:t,y1:n,x2:t,y2:n+i,key:"line-".concat(r),index:r});return u.renderLineItem(o,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}},{key:"renderVerticalStripes",value:function(t){var e=this.props.verticalFill;if(!e||!e.length)return null;var r=this.props,n=r.fillOpacity,i=r.x,o=r.y,s=r.width,c=r.height,u=t.slice().sort((function(t,e){return t-e}));i!==u[0]&&u.unshift(0);var l=u.map((function(t,r){var l=u[r+1]?u[r+1]-t:i+s-t;if(l<=0)return null;var f=r%e.length;return a.a.createElement("rect",{key:"react-".concat(r),x:Math.round(t+i-i),y:o,width:l,height:c,stroke:"none",fill:e[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}},{key:"renderHorizontalStripes",value:function(t){var e=this.props.horizontalFill;if(!e||!e.length)return null;var r=this.props,n=r.fillOpacity,i=r.x,o=r.y,s=r.width,c=r.height,u=t.slice().sort((function(t,e){return t-e}));o!==u[0]&&u.unshift(0);var l=u.map((function(t,r){var l=u[r+1]?u[r+1]-t:o+c-t;if(l<=0)return null;var f=r%e.length;return a.a.createElement("rect",{key:"react-".concat(r),y:Math.round(t+o-o),x:i,height:l,width:s,stroke:"none",fill:e[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}},{key:"renderBackground",value:function(){var t=this.props.fill;if(!t||"none"===t)return null;var e=this.props,r=e.fillOpacity,n=e.x,i=e.y,o=e.width,s=e.height;return a.a.createElement("rect",{x:n,y:i,width:o,height:s,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,c=t.horizontal,u=t.vertical,l=t.horizontalCoordinatesGenerator,f=t.verticalCoordinatesGenerator,h=t.xAxis,d=t.yAxis,p=t.offset,m=t.chartWidth,b=t.chartHeight;if(!Object(s.h)(n)||n<=0||!Object(s.h)(o)||o<=0||!Object(s.h)(e)||e!==+e||!Object(s.h)(r)||r!==+r)return null;var v=this.props,g=v.horizontalPoints,y=v.verticalPoints;return g&&g.length||!i()(l)||(g=l({yAxis:d,width:m,height:b,offset:p})),y&&y.length||!i()(f)||(y=f({xAxis:h,width:m,height:b,offset:p})),a.a.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),c&&this.renderHorizontal(g),u&&this.renderVertical(y),c&&this.renderHorizontalStripes(g),u&&this.renderVerticalStripes(y))}}])&&b(e.prototype,r),n&&b(e,n),u}(o.PureComponent);x.displayName="CartesianGrid",x.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]}},function(t,e,r){"use strict";var n=r(2),i=r(0),o=r.n(i),a=(r(10),r(516)),s=r(656),c=r(518);e.a=function(t){var e=t.children,r=t.theme,i=Object(s.a)(),u=o.a.useMemo((function(){var t=null===i?r:function(t,e){return"function"===typeof e?e(t):Object(n.a)({},t,e)}(i,r);return null!=t&&(t[c.a]=null!==i),t}),[r,i]);return o.a.createElement(a.a.Provider,{value:u},e)}},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(26)),a={WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},s=function(t){return Object(n.a)({color:t.palette.text.primary},t.typography.body2,{backgroundColor:t.palette.background.default,"@media print":{backgroundColor:t.palette.common.white}})};e.a=Object(o.a)((function(t){return{"@global":{html:a,"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:Object(n.a)({margin:0},s(t),{"&::backdrop":{backgroundColor:t.palette.background.default}})}}}),{name:"MuiCssBaseline"})((function(t){var e=t.children,r=void 0===e?null:e;return t.classes,i.createElement(i.Fragment,null,r)}))},function(t,e,r){"use strict";function n(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function i(t){n(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function o(t){n(1,arguments);var e=i(t);return!isNaN(e)}r.d(e,"a",(function(){return Z}));var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function s(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var c={date:s({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:s({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:s({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(t){return function(e,r){var n,i=r||{};if("formatting"===(i.context?String(i.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=i.width?String(i.width):o;n=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,c=i.width?String(i.width):t.defaultWidth;n=t.values[c]||t.values[s]}return n[t.argumentCallback?t.argumentCallback(e):e]}}function f(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a,s=o[0],c=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(c)?d(c,(function(t){return t.test(s)})):h(c,(function(t){return t.test(s)}));a=t.valueCallback?t.valueCallback(u):u,a=r.valueCallback?r.valueCallback(a):a;var l=e.slice(s.length);return{value:a,rest:l}}}function h(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function d(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}var p,m={code:"en-US",formatDistance:function(t,e,r){var n;return r=r||{},n="string"===typeof a[t]?a[t]:1===e?a[t].one:a[t].other.replace("{{count}}",e),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n},formatLong:c,formatRelative:function(t,e,r,n){return u[t]},localize:{ordinalNumber:function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(p={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(p.matchPattern);if(!r)return null;var n=r[0],i=t.match(p.parsePattern);if(!i)return null;var o=p.valueCallback?p.valueCallback(i[0]):i[0];o=e.valueCallback?e.valueCallback(o):o;var a=t.slice(n.length);return{value:o,rest:a}}),era:f({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:f({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:f({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:f({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:f({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function b(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function v(t,e){n(2,arguments);var r=i(t).getTime(),o=b(e);return new Date(r+o)}function g(t,e){n(2,arguments);var r=b(e);return v(t,-r)}function y(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var w={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return y("yy"===e?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return"M"===e?String(r+1):y(r+1,2)},d:function(t,e){return y(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m."}},h:function(t,e){return y(t.getUTCHours()%12||12,e.length)},H:function(t,e){return y(t.getUTCHours(),e.length)},m:function(t,e){return y(t.getUTCMinutes(),e.length)},s:function(t,e){return y(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds();return y(Math.floor(n*Math.pow(10,r-3)),e.length)}};function x(t){n(1,arguments);var e=1,r=i(t),o=r.getUTCDay(),a=(o<e?7:0)+o-e;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function O(t){n(1,arguments);var e=i(t),r=e.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(r+1,0,4),o.setUTCHours(0,0,0,0);var a=x(o),s=new Date(0);s.setUTCFullYear(r,0,4),s.setUTCHours(0,0,0,0);var c=x(s);return e.getTime()>=a.getTime()?r+1:e.getTime()>=c.getTime()?r:r-1}function _(t){n(1,arguments);var e=O(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var i=x(r);return i}function S(t,e){n(1,arguments);var r=e||{},o=r.locale,a=o&&o.options&&o.options.weekStartsOn,s=null==a?0:b(a),c=null==r.weekStartsOn?s:b(r.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=i(t),l=u.getUTCDay(),f=(l<c?7:0)+l-c;return u.setUTCDate(u.getUTCDate()-f),u.setUTCHours(0,0,0,0),u}function k(t,e){n(1,arguments);var r=i(t,e),o=r.getUTCFullYear(),a=e||{},s=a.locale,c=s&&s.options&&s.options.firstWeekContainsDate,u=null==c?1:b(c),l=null==a.firstWeekContainsDate?u:b(a.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(o+1,0,l),f.setUTCHours(0,0,0,0);var h=S(f,e),d=new Date(0);d.setUTCFullYear(o,0,l),d.setUTCHours(0,0,0,0);var p=S(d,e);return r.getTime()>=h.getTime()?o+1:r.getTime()>=p.getTime()?o:o-1}function E(t,e){n(1,arguments);var r=e||{},i=r.locale,o=i&&i.options&&i.options.firstWeekContainsDate,a=null==o?1:b(o),s=null==r.firstWeekContainsDate?a:b(r.firstWeekContainsDate),c=k(t,e),u=new Date(0);u.setUTCFullYear(c,0,s),u.setUTCHours(0,0,0,0);var l=S(u,e);return l}var M="midnight",C="noon",j="morning",A="afternoon",T="evening",P="night";function D(t,e){var r=t>0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),o=n%60;if(0===o)return r+String(i);var a=e||"";return r+String(i)+a+y(o,2)}function R(t,e){return t%60===0?(t>0?"-":"+")+y(Math.abs(t)/60,2):L(t,e)}function L(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t);return n+y(Math.floor(i/60),2)+r+y(i%60,2)}var I={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){var n=t.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return w.y(t,e)},Y:function(t,e,r,n){var i=k(t,n),o=i>0?i:1-i;return"YY"===e?y(o%100,2):"Yo"===e?r.ordinalNumber(o,{unit:"year"}):y(o,e.length)},R:function(t,e){return y(O(t),e.length)},u:function(t,e){return y(t.getUTCFullYear(),e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return y(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return y(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return w.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return y(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,o){var a=function(t,e){n(1,arguments);var r=i(t),o=S(r,e).getTime()-E(r,e).getTime();return Math.round(o/6048e5)+1}(t,o);return"wo"===e?r.ordinalNumber(a,{unit:"week"}):y(a,e.length)},I:function(t,e,r){var o=function(t){n(1,arguments);var e=i(t),r=x(e).getTime()-_(e).getTime();return Math.round(r/6048e5)+1}(t);return"Io"===e?r.ordinalNumber(o,{unit:"week"}):y(o,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):w.d(t,e)},D:function(t,e,r){var o=function(t){n(1,arguments);var e=i(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var o=e.getTime(),a=r-o;return Math.floor(a/864e5)+1}(t);return"Do"===e?r.ordinalNumber(o,{unit:"dayOfYear"}):y(o,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return y(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return y(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),i=0===n?7:n;switch(e){case"i":return String(i);case"ii":return y(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,i=t.getUTCHours();switch(n=12===i?C:0===i?M:i/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,i=t.getUTCHours();switch(n=i>=17?T:i>=12?A:i>=4?j:P,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return w.h(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):w.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):y(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?r.ordinalNumber(n,{unit:"hour"}):y(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):w.m(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):w.s(t,e)},S:function(t,e){return w.S(t,e)},X:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return R(i);case"XXXX":case"XX":return L(i);case"XXXXX":case"XXX":default:return L(i,":")}},x:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();switch(e){case"x":return R(i);case"xxxx":case"xx":return L(i);case"xxxxx":case"xxx":default:return L(i,":")}},O:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+D(i,":");case"OOOO":default:return"GMT"+L(i,":")}},z:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+D(i,":");case"zzzz":default:return"GMT"+L(i,":")}},t:function(t,e,r,n){var i=n._originalDate||t;return y(Math.floor(i.getTime()/1e3),e.length)},T:function(t,e,r,n){return y((n._originalDate||t).getTime(),e.length)}};function N(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function F(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}var B={p:F,P:function(t,e){var r,n=t.match(/(P+)(p+)?/),i=n[1],o=n[2];if(!o)return N(t,e);switch(i){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"})}return r.replace("{{date}}",N(i,e)).replace("{{time}}",F(o,e))}};function z(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var H=["D","DD"],U=["YY","YYYY"];function W(t){return-1!==H.indexOf(t)}function q(t){return-1!==U.indexOf(t)}function V(t,e,r){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}var G=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Y=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,X=/^'([^]*?)'?$/,$=/''/g,K=/[a-zA-Z]/;function Z(t,e,r){n(2,arguments);var a=String(e),s=r||{},c=s.locale||m,u=c.options&&c.options.firstWeekContainsDate,l=null==u?1:b(u),f=null==s.firstWeekContainsDate?l:b(s.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=c.options&&c.options.weekStartsOn,d=null==h?0:b(h),p=null==s.weekStartsOn?d:b(s.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!c.localize)throw new RangeError("locale must contain localize property");if(!c.formatLong)throw new RangeError("locale must contain formatLong property");var v=i(t);if(!o(v))throw new RangeError("Invalid time value");var y=z(v),w=g(v,y),x={firstWeekContainsDate:f,weekStartsOn:p,locale:c,_originalDate:v},O=a.match(Y).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,B[e])(t,c.formatLong,x):t})).join("").match(G).map((function(r){if("''"===r)return"'";var n=r[0];if("'"===n)return J(r);var i=I[n];if(i)return!s.useAdditionalWeekYearTokens&&q(r)&&V(r,e,t),!s.useAdditionalDayOfYearTokens&&W(r)&&V(r,e,t),i(w,r,c.localize,x);if(n.match(K))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");return r})).join("");return O}function J(t){return t.match(X)[1].replace($,"'")}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(519);function c(t){var e=t.props,r=t.states,n=t.muiFormControl;return r.reduce((function(t,r){return t[r]=e[r],n&&"undefined"===typeof e[r]&&(t[r]=n[r]),t}),{})}var u=r(234),l=r(26),f=r(38),h=r(64),d=r(1402),p=r(330),m="undefined"===typeof window?o.useEffect:o.useLayoutEffect,b=o.forwardRef((function(t,e){var r=t["aria-describedby"],l=t.autoComplete,b=t.autoFocus,v=t.classes,g=t.className,y=(t.color,t.defaultValue),w=t.disabled,x=t.endAdornment,O=(t.error,t.fullWidth),_=void 0!==O&&O,S=t.id,k=t.inputComponent,E=void 0===k?"input":k,M=t.inputProps,C=void 0===M?{}:M,j=t.inputRef,A=(t.margin,t.multiline),T=void 0!==A&&A,P=t.name,D=t.onBlur,R=t.onChange,L=t.onClick,I=t.onFocus,N=t.onKeyDown,F=t.onKeyUp,B=t.placeholder,z=t.readOnly,H=t.renderSuffix,U=t.rows,W=t.rowsMax,q=t.rowsMin,V=t.maxRows,G=t.minRows,Y=t.startAdornment,X=t.type,$=void 0===X?"text":X,K=t.value,Z=Object(i.a)(t,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),J=null!=C.value?C.value:K,Q=o.useRef(null!=J).current,tt=o.useRef(),et=o.useCallback((function(t){0}),[]),rt=Object(h.a)(C.ref,et),nt=Object(h.a)(j,rt),it=Object(h.a)(tt,nt),ot=o.useState(!1),at=ot[0],st=ot[1],ct=Object(u.b)();var ut=c({props:t,muiFormControl:ct,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ut.focused=ct?ct.focused:at,o.useEffect((function(){!ct&&w&&at&&(st(!1),D&&D())}),[ct,w,at,D]);var lt=ct&&ct.onFilled,ft=ct&&ct.onEmpty,ht=o.useCallback((function(t){Object(p.b)(t)?lt&&lt():ft&&ft()}),[lt,ft]);m((function(){Q&&ht({value:J})}),[J,ht,Q]);o.useEffect((function(){ht(tt.current)}),[]);var dt=E,pt=Object(n.a)({},C,{ref:it});"string"!==typeof dt?pt=Object(n.a)({inputRef:it,type:$},pt,{ref:null}):T?!U||V||G||W||q?(pt=Object(n.a)({minRows:U||G,rowsMax:W,maxRows:V},pt),dt=d.a):dt="textarea":pt=Object(n.a)({type:$},pt);return o.useEffect((function(){ct&&ct.setAdornedStart(Boolean(Y))}),[ct,Y]),o.createElement("div",Object(n.a)({className:Object(a.a)(v.root,v["color".concat(Object(f.a)(ut.color||"primary"))],g,ut.disabled&&v.disabled,ut.error&&v.error,_&&v.fullWidth,ut.focused&&v.focused,ct&&v.formControl,T&&v.multiline,Y&&v.adornedStart,x&&v.adornedEnd,"dense"===ut.margin&&v.marginDense),onClick:function(t){tt.current&&t.currentTarget===t.target&&tt.current.focus(),L&&L(t)},ref:e},Z),Y,o.createElement(u.a.Provider,{value:null},o.createElement(dt,Object(n.a)({"aria-invalid":ut.error,"aria-describedby":r,autoComplete:l,autoFocus:b,defaultValue:y,disabled:ut.disabled,id:S,onAnimationStart:function(t){ht("mui-auto-fill-cancel"===t.animationName?tt.current:{value:"x"})},name:P,placeholder:B,readOnly:z,required:ut.required,rows:U,value:J,onKeyDown:N,onKeyUp:F},pt,{className:Object(a.a)(v.input,C.className,ut.disabled&&v.disabled,T&&v.inputMultiline,ut.hiddenLabel&&v.inputHiddenLabel,Y&&v.inputAdornedStart,x&&v.inputAdornedEnd,"search"===$&&v.inputTypeSearch,"dense"===ut.margin&&v.inputMarginDense),onBlur:function(t){D&&D(t),C.onBlur&&C.onBlur(t),ct&&ct.onBlur?ct.onBlur(t):st(!1)},onChange:function(t){if(!Q){var e=t.target||tt.current;if(null==e)throw new Error(Object(s.a)(1));ht({value:e.value})}for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];C.onChange&&C.onChange.apply(C,[t].concat(n)),R&&R.apply(void 0,[t].concat(n))},onFocus:function(t){ut.disabled?t.stopPropagation():(I&&I(t),C.onFocus&&C.onFocus(t),ct&&ct.onFocus?ct.onFocus(t):st(!0))}}))),x,H?H(Object(n.a)({},ut,{startAdornment:Y})):null)})),v=Object(l.a)((function(t){var e="light"===t.palette.type,r={color:"currentColor",opacity:e?.42:.5,transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},i={opacity:"0 !important"},o={opacity:e?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Object(n.a)({},t.typography.body1,{color:t.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:t.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(b),g=o.forwardRef((function(t,e){var r=t.disableUnderline,s=t.classes,c=t.fullWidth,u=void 0!==c&&c,l=t.inputComponent,f=void 0===l?"input":l,h=t.multiline,d=void 0!==h&&h,p=t.type,m=void 0===p?"text":p,b=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(v,Object(n.a)({classes:Object(n.a)({},s,{root:Object(a.a)(s.root,!r&&s.underline),underline:null}),fullWidth:u,inputComponent:f,multiline:d,ref:e,type:m},b))}));g.muiName="Input";var y=Object(l.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(e),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(t.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(e)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(g),w=o.forwardRef((function(t,e){var r=t.disableUnderline,s=t.classes,c=t.fullWidth,u=void 0!==c&&c,l=t.inputComponent,f=void 0===l?"input":l,h=t.multiline,d=void 0!==h&&h,p=t.type,m=void 0===p?"text":p,b=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(v,Object(n.a)({classes:Object(n.a)({},s,{root:Object(a.a)(s.root,!r&&s.underline),underline:null}),fullWidth:u,inputComponent:f,multiline:d,ref:e,type:m},b))}));w.muiName="Input";var x=Object(l.a)((function(t){var e="light"===t.palette.type,r=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:n,borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:e?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:n}},"&$focused":{backgroundColor:e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(r),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(t.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(w),O=r(73),_=r(139),S=o.forwardRef((function(t,e){t.children;var r=t.classes,s=t.className,c=t.label,u=t.labelWidth,l=t.notched,h=t.style,d=Object(i.a)(t,["children","classes","className","label","labelWidth","notched","style"]),p="rtl"===Object(_.a)().direction?"right":"left";if(void 0!==c)return o.createElement("fieldset",Object(n.a)({"aria-hidden":!0,className:Object(a.a)(r.root,s),ref:e,style:h},d),o.createElement("legend",{className:Object(a.a)(r.legendLabelled,l&&r.legendNotched)},c?o.createElement("span",null,c):o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})));var m=u>0?.75*u+8:.01;return o.createElement("fieldset",Object(n.a)({"aria-hidden":!0,style:Object(n.a)(Object(O.a)({},"padding".concat(Object(f.a)(p)),8),h),className:Object(a.a)(r.root,s),ref:e},d),o.createElement("legend",{className:r.legend,style:{width:l?m:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))})),k=Object(l.a)((function(t){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(S),E=o.forwardRef((function(t,e){var r=t.classes,s=t.fullWidth,c=void 0!==s&&s,u=t.inputComponent,l=void 0===u?"input":u,f=t.label,h=t.labelWidth,d=void 0===h?0:h,p=t.multiline,m=void 0!==p&&p,b=t.notched,g=t.type,y=void 0===g?"text":g,w=Object(i.a)(t,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return o.createElement(v,Object(n.a)({renderSuffix:function(t){return o.createElement(k,{className:r.notchedOutline,label:f,labelWidth:d,notched:"undefined"!==typeof b?b:Boolean(t.startAdornment||t.filled||t.focused)})},classes:Object(n.a)({},r,{root:Object(a.a)(r.root,r.underline),notchedOutline:null}),fullWidth:c,inputComponent:l,multiline:m,ref:e,type:y},w))}));E.muiName="Input";var M=Object(l.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:t.shape.borderRadius,"&:hover $notchedOutline":{borderColor:t.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:e}},"&$focused $notchedOutline":{borderColor:t.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:t.palette.error.main},"&$disabled $notchedOutline":{borderColor:t.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:t.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:e},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(E),C=r(185),j=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=(t.color,t.component),h=void 0===l?"label":l,d=(t.disabled,t.error,t.filled,t.focused,t.required,Object(i.a)(t,["children","classes","className","color","component","disabled","error","filled","focused","required"])),p=c({props:t,muiFormControl:Object(C.a)(),states:["color","required","focused","disabled","error","filled"]});return o.createElement(h,Object(n.a)({className:Object(a.a)(s.root,s["color".concat(Object(f.a)(p.color||"primary"))],u,p.disabled&&s.disabled,p.error&&s.error,p.filled&&s.filled,p.focused&&s.focused,p.required&&s.required),ref:e},d),r,p.required&&o.createElement("span",{"aria-hidden":!0,className:Object(a.a)(s.asterisk,p.error&&s.error)},"\u2009","*"))})),A=Object(l.a)((function(t){return{root:Object(n.a)({color:t.palette.text.secondary},t.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:t.palette.primary.main},"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),colorSecondary:{"&$focused":{color:t.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:t.palette.error.main}}}}),{name:"MuiFormLabel"})(j),T=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=t.disableAnimation,l=void 0!==u&&u,f=(t.margin,t.shrink),h=(t.variant,Object(i.a)(t,["classes","className","disableAnimation","margin","shrink","variant"])),d=Object(C.a)(),p=f;"undefined"===typeof p&&d&&(p=d.filled||d.focused||d.adornedStart);var m=c({props:t,muiFormControl:d,states:["margin","variant"]});return o.createElement(A,Object(n.a)({"data-shrink":p,className:Object(a.a)(r.root,s,d&&r.formControl,!l&&r.animated,p&&r.shrink,"dense"===m.margin&&r.marginDense,{filled:r.filled,outlined:r.outlined}[m.variant]),classes:{focused:r.focused,disabled:r.disabled,error:r.error,required:r.required,asterisk:r.asterisk},ref:e},h))})),P=Object(l.a)((function(t){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:t.transitions.create(["color","transform"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(T),D=r(1403),R=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.component,f=void 0===l?"p":l,h=(t.disabled,t.error,t.filled,t.focused,t.margin,t.required,t.variant,Object(i.a)(t,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),d=c({props:t,muiFormControl:Object(C.a)(),states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(f,Object(n.a)({className:Object(a.a)(s.root,("filled"===d.variant||"outlined"===d.variant)&&s.contained,u,d.disabled&&s.disabled,d.error&&s.error,d.filled&&s.filled,d.focused&&s.focused,d.required&&s.required,"dense"===d.margin&&s.marginDense),ref:e},h)," "===r?o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):r)})),L=Object(l.a)((function(t){return{root:Object(n.a)({color:t.palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(R),I=r(1399),N=r(125),F=r(217),B=(r(621),r(124)),z=r(76),H=r(270),U=r(356),W=r(186),q=r(1320),V=r(1305),G=r(658);function Y(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.height/2:"bottom"===e&&(r=t.height),r}function X(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.width/2:"right"===e&&(r=t.width),r}function $(t){return[t.horizontal,t.vertical].map((function(t){return"number"===typeof t?"".concat(t,"px"):t})).join(" ")}function K(t){return"function"===typeof t?t():t}var Z=o.forwardRef((function(t,e){var r=t.action,s=t.anchorEl,c=t.anchorOrigin,u=void 0===c?{vertical:"top",horizontal:"left"}:c,l=t.anchorPosition,f=t.anchorReference,h=void 0===f?"anchorEl":f,d=t.children,p=t.classes,m=t.className,b=t.container,v=t.elevation,g=void 0===v?8:v,y=t.getContentAnchorEl,w=t.marginThreshold,x=void 0===w?16:w,O=t.onEnter,_=t.onEntered,S=t.onEntering,k=t.onExit,E=t.onExited,M=t.onExiting,C=t.open,j=t.PaperProps,A=void 0===j?{}:j,T=t.transformOrigin,P=void 0===T?{vertical:"top",horizontal:"left"}:T,D=t.TransitionComponent,R=void 0===D?V.a:D,L=t.transitionDuration,I=void 0===L?"auto":L,N=t.TransitionProps,F=void 0===N?{}:N,Z=Object(i.a)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),J=o.useRef(),Q=o.useCallback((function(t){if("anchorPosition"===h)return l;var e=K(s),r=(e&&1===e.nodeType?e:Object(B.a)(J.current).body).getBoundingClientRect(),n=0===t?u.vertical:"center";return{top:r.top+Y(r,n),left:r.left+X(r,u.horizontal)}}),[s,u.horizontal,u.vertical,l,h]),tt=o.useCallback((function(t){var e=0;if(y&&"anchorEl"===h){var r=y(t);if(r&&t.contains(r)){var n=function(t,e){for(var r=e,n=0;r&&r!==t;)n+=(r=r.parentElement).scrollTop;return n}(t,r);e=r.offsetTop+r.clientHeight/2-n||0}0}return e}),[u.vertical,h,y]),et=o.useCallback((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Y(t,P.vertical)+e,horizontal:X(t,P.horizontal)}}),[P.horizontal,P.vertical]),rt=o.useCallback((function(t){var e=tt(t),r={width:t.offsetWidth,height:t.offsetHeight},n=et(r,e);if("none"===h)return{top:null,left:null,transformOrigin:$(n)};var i=Q(e),o=i.top-n.vertical,a=i.left-n.horizontal,c=o+r.height,u=a+r.width,l=Object(U.a)(K(s)),f=l.innerHeight-x,d=l.innerWidth-x;if(o<x){var p=o-x;o-=p,n.vertical+=p}else if(c>f){var m=c-f;o-=m,n.vertical+=m}if(a<x){var b=a-x;a-=b,n.horizontal+=b}else if(u>d){var v=u-d;a-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:$(n)}}),[s,h,Q,tt,et,x]),nt=o.useCallback((function(){var t=J.current;if(t){var e=rt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin}}),[rt]),it=o.useCallback((function(t){J.current=z.findDOMNode(t)}),[]);o.useEffect((function(){C&&nt()})),o.useImperativeHandle(r,(function(){return C?{updatePosition:function(){nt()}}:null}),[C,nt]),o.useEffect((function(){if(C){var t=Object(H.a)((function(){nt()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[C,nt]);var ot=I;"auto"!==I||R.muiSupportAuto||(ot=void 0);var at=b||(s?Object(B.a)(K(s)).body:void 0);return o.createElement(q.a,Object(n.a)({container:at,open:C,ref:e,BackdropProps:{invisible:!0},className:Object(a.a)(p.root,m)},Z),o.createElement(R,Object(n.a)({appear:!0,in:C,onEnter:O,onEntered:_,onExit:k,onExited:E,onExiting:M,timeout:ot},F,{onEntering:Object(W.a)((function(t,e){S&&S(t,e),nt()}),F.onEntering)}),o.createElement(G.a,Object(n.a)({elevation:g,ref:it},A,{className:Object(a.a)(p.paper,A.className)}),d)))})),J=Object(l.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Z),Q=r(557),tt=r(522);function et(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function rt(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function nt(t,e){if(void 0===e)return!0;var r=t.innerText;return void 0===r&&(r=t.textContent),0!==(r=r.trim().toLowerCase()).length&&(e.repeating?r[0]===e.keys[0]:0===r.indexOf(e.keys.join("")))}function it(t,e,r,n,i,o){for(var a=!1,s=i(t,e,!!e&&r);s;){if(s===t.firstChild){if(a)return;a=!0}var c=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&nt(s,o)&&!c)return void s.focus();s=i(t,s,r)}}var ot="undefined"===typeof window?o.useEffect:o.useLayoutEffect,at=o.forwardRef((function(t,e){var r=t.actions,a=t.autoFocus,s=void 0!==a&&a,c=t.autoFocusItem,u=void 0!==c&&c,l=t.children,f=t.className,d=t.disabledItemsFocusable,p=void 0!==d&&d,m=t.disableListWrap,b=void 0!==m&&m,v=t.onKeyDown,g=t.variant,y=void 0===g?"selectedMenu":g,w=Object(i.a)(t,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),x=o.useRef(null),O=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ot((function(){s&&x.current.focus()}),[s]),o.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(t,e){var r=!x.current.style.width;if(t.clientHeight<x.current.clientHeight&&r){var n="".concat(Object(tt.a)(!0),"px");x.current.style["rtl"===e.direction?"paddingLeft":"paddingRight"]=n,x.current.style.width="calc(100% + ".concat(n,")")}return x.current}}}),[]);var _=o.useCallback((function(t){x.current=z.findDOMNode(t)}),[]),S=Object(h.a)(_,e),k=-1;o.Children.forEach(l,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===y&&t.props.selected||-1===k)&&(k=e))}));var E=o.Children.map(l,(function(t,e){if(e===k){var r={};return u&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===y&&(r.tabIndex=0),o.cloneElement(t,r)}return t}));return o.createElement(Q.a,Object(n.a)({role:"menu",ref:S,className:f,onKeyDown:function(t){var e=x.current,r=t.key,n=Object(B.a)(e).activeElement;if("ArrowDown"===r)t.preventDefault(),it(e,n,b,p,et);else if("ArrowUp"===r)t.preventDefault(),it(e,n,b,p,rt);else if("Home"===r)t.preventDefault(),it(e,null,b,p,et);else if("End"===r)t.preventDefault(),it(e,null,b,p,rt);else if(1===r.length){var i=O.current,o=r.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=n&&!i.repeating&&nt(n,i);i.previousKeyMatched&&(s||it(e,n,!1,p,et,i))?t.preventDefault():i.previousKeyMatched=!1}v&&v(t)},tabIndex:s?0:-1},w),E)})),st=r(169),ct={vertical:"top",horizontal:"right"},ut={vertical:"top",horizontal:"left"},lt=o.forwardRef((function(t,e){var r=t.autoFocus,s=void 0===r||r,c=t.children,u=t.classes,l=t.disableAutoFocusItem,f=void 0!==l&&l,h=t.MenuListProps,d=void 0===h?{}:h,p=t.onClose,m=t.onEntering,b=t.open,v=t.PaperProps,g=void 0===v?{}:v,y=t.PopoverClasses,w=t.transitionDuration,x=void 0===w?"auto":w,O=t.TransitionProps,S=(O=void 0===O?{}:O).onEntering,k=Object(i.a)(O,["onEntering"]),E=t.variant,M=void 0===E?"selectedMenu":E,C=Object(i.a)(t,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),j=Object(_.a)(),A=s&&!f&&b,T=o.useRef(null),P=o.useRef(null),D=-1;o.Children.map(c,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("menu"!==M&&t.props.selected||-1===D)&&(D=e))}));var R=o.Children.map(c,(function(t,e){return e===D?o.cloneElement(t,{ref:function(e){P.current=z.findDOMNode(e),Object(st.a)(t.ref,e)}}):t}));return o.createElement(J,Object(n.a)({getContentAnchorEl:function(){return P.current},classes:y,onClose:p,TransitionProps:Object(n.a)({onEntering:function(t,e){T.current&&T.current.adjustStyleForScrollbar(t,j),m&&m(t,e),S&&S(t,e)}},k),anchorOrigin:"rtl"===j.direction?ct:ut,transformOrigin:"rtl"===j.direction?ct:ut,PaperProps:Object(n.a)({},g,{classes:Object(n.a)({},g.classes,{root:u.paper})}),open:b,ref:e,transitionDuration:x},C),o.createElement(at,Object(n.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),p&&p(t,"tabKeyDown"))},actions:T,autoFocus:s&&(-1===D||f),autoFocusItem:A,variant:M},d,{className:Object(a.a)(u.list,d.className)}),R))})),ft=Object(l.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(lt),ht=r(221);function dt(t,e){return"object"===Object(F.a)(e)&&null!==e?t===e:String(t)===String(e)}var pt=o.forwardRef((function(t,e){var r=t["aria-label"],c=t.autoFocus,u=t.autoWidth,l=t.children,d=t.classes,m=t.className,b=t.defaultValue,v=t.disabled,g=t.displayEmpty,y=t.IconComponent,w=t.inputRef,x=t.labelId,O=t.MenuProps,_=void 0===O?{}:O,S=t.multiple,k=t.name,E=t.onBlur,M=t.onChange,C=t.onClose,j=t.onFocus,A=t.onOpen,T=t.open,P=t.readOnly,D=t.renderValue,R=t.SelectDisplayProps,L=void 0===R?{}:R,I=t.tabIndex,F=(t.type,t.value),z=t.variant,H=void 0===z?"standard":z,U=Object(i.a)(t,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),W=Object(ht.a)({controlled:F,default:b,name:"Select"}),q=Object(N.a)(W,2),V=q[0],G=q[1],Y=o.useRef(null),X=o.useState(null),$=X[0],K=X[1],Z=o.useRef(null!=T).current,J=o.useState(),Q=J[0],tt=J[1],et=o.useState(!1),rt=et[0],nt=et[1],it=Object(h.a)(e,w);o.useImperativeHandle(it,(function(){return{focus:function(){$.focus()},node:Y.current,value:V}}),[$,V]),o.useEffect((function(){c&&$&&$.focus()}),[c,$]),o.useEffect((function(){if($){var t=Object(B.a)($).getElementById(x);if(t){var e=function(){getSelection().isCollapsed&&$.focus()};return t.addEventListener("click",e),function(){t.removeEventListener("click",e)}}}}),[x,$]);var ot,at,st=function(t,e){t?A&&A(e):C&&C(e),Z||(tt(u?null:$.clientWidth),nt(t))},ct=o.Children.toArray(l),ut=function(t){return function(e){var r;if(S||st(!1,e),S){r=Array.isArray(V)?V.slice():[];var n=V.indexOf(t.props.value);-1===n?r.push(t.props.value):r.splice(n,1)}else r=t.props.value;t.props.onClick&&t.props.onClick(e),V!==r&&(G(r),M&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:r,name:k}}),M(e,t)))}},lt=null!==$&&(Z?T:rt);delete U["aria-invalid"];var pt=[],mt=!1;(Object(p.b)({value:V})||g)&&(D?ot=D(V):mt=!0);var bt=ct.map((function(t){if(!o.isValidElement(t))return null;var e;if(S){if(!Array.isArray(V))throw new Error(Object(s.a)(2));(e=V.some((function(e){return dt(e,t.props.value)})))&&mt&&pt.push(t.props.children)}else(e=dt(V,t.props.value))&&mt&&(at=t.props.children);return e&&!0,o.cloneElement(t,{"aria-selected":e?"true":void 0,onClick:ut(t),onKeyUp:function(e){" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})}));mt&&(ot=S?pt.join(", "):at);var vt,gt=Q;!u&&Z&&$&&(gt=$.clientWidth),vt="undefined"!==typeof I?I:v?null:0;var yt=L.id||(k?"mui-component-select-".concat(k):void 0);return o.createElement(o.Fragment,null,o.createElement("div",Object(n.a)({className:Object(a.a)(d.root,d.select,d.selectMenu,d[H],m,v&&d.disabled),ref:K,tabIndex:vt,role:"button","aria-disabled":v?"true":void 0,"aria-expanded":lt?"true":void 0,"aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[x,yt].filter(Boolean).join(" ")||void 0,onKeyDown:function(t){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),st(!0,t))}},onMouseDown:v||P?null:function(t){0===t.button&&(t.preventDefault(),$.focus(),st(!0,t))},onBlur:function(t){!lt&&E&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:V,name:k}}),E(t))},onFocus:j},L,{id:yt}),function(t){return null==t||"string"===typeof t&&!t.trim()}(ot)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):ot),o.createElement("input",Object(n.a)({value:Array.isArray(V)?V.join(","):V,name:k,ref:Y,"aria-hidden":!0,onChange:function(t){var e=ct.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==e){var r=ct[e];G(r.props.value),M&&M(t,r)}},tabIndex:-1,className:d.nativeInput,autoFocus:c},U)),o.createElement(y,{className:Object(a.a)(d.icon,d["icon".concat(Object(f.a)(H))],lt&&d.iconOpen,v&&d.disabled)}),o.createElement(ft,Object(n.a)({id:"menu-".concat(k||""),anchorEl:$,open:lt,onClose:function(t){st(!1,t)}},_,{MenuListProps:Object(n.a)({"aria-labelledby":x,role:"listbox",disableListWrap:!0},_.MenuListProps),PaperProps:Object(n.a)({},_.PaperProps,{style:Object(n.a)({minWidth:gt},null!=_.PaperProps?_.PaperProps.style:null)})}),bt))})),mt=r(159),bt=Object(mt.a)(o.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),vt=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.disabled,u=t.IconComponent,l=t.inputRef,h=t.variant,d=void 0===h?"standard":h,p=Object(i.a)(t,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",Object(n.a)({className:Object(a.a)(r.root,r.select,r[d],s,c&&r.disabled),disabled:c,ref:l||e},p)),t.multiple?null:o.createElement(u,{className:Object(a.a)(r.icon,r["icon".concat(Object(f.a)(d))],c&&r.disabled)}))})),gt=function(t){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:t.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:t.palette.action.active,"&$disabled":{color:t.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},yt=o.createElement(y,null),wt=o.forwardRef((function(t,e){var r=t.children,a=t.classes,s=t.IconComponent,u=void 0===s?bt:s,l=t.input,f=void 0===l?yt:l,h=t.inputProps,d=(t.variant,Object(i.a)(t,["children","classes","IconComponent","input","inputProps","variant"])),p=c({props:t,muiFormControl:Object(C.a)(),states:["variant"]});return o.cloneElement(f,Object(n.a)({inputComponent:vt,inputProps:Object(n.a)({children:r,classes:a,IconComponent:u,variant:p.variant,type:void 0},h,f?f.props.inputProps:{}),ref:e},d))}));wt.muiName="Select";Object(l.a)(gt,{name:"MuiNativeSelect"})(wt);var xt=gt,Ot=o.createElement(y,null),_t=o.createElement(x,null),St=o.forwardRef((function t(e,r){var a=e.autoWidth,s=void 0!==a&&a,u=e.children,l=e.classes,f=e.displayEmpty,h=void 0!==f&&f,d=e.IconComponent,p=void 0===d?bt:d,m=e.id,b=e.input,v=e.inputProps,g=e.label,y=e.labelId,w=e.labelWidth,x=void 0===w?0:w,O=e.MenuProps,_=e.multiple,S=void 0!==_&&_,k=e.native,E=void 0!==k&&k,j=e.onClose,A=e.onOpen,T=e.open,P=e.renderValue,D=e.SelectDisplayProps,R=e.variant,L=void 0===R?"standard":R,N=Object(i.a)(e,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),F=E?vt:pt,B=c({props:e,muiFormControl:Object(C.a)(),states:["variant"]}).variant||L,z=b||{standard:Ot,outlined:o.createElement(M,{label:g,labelWidth:x}),filled:_t}[B];return o.cloneElement(z,Object(n.a)({inputComponent:F,inputProps:Object(n.a)({children:u,IconComponent:p,variant:B,type:void 0,multiple:S},E?{id:m}:{autoWidth:s,displayEmpty:h,labelId:y,MenuProps:O,onClose:j,onOpen:A,open:T,renderValue:P,SelectDisplayProps:Object(n.a)({id:m},D)},v,{classes:v?Object(I.a)({baseClasses:l,newClasses:v.classes,Component:t}):l},b?b.props.inputProps:{}),ref:r},N))}));St.muiName="Select";var kt=Object(l.a)(xt,{name:"MuiSelect"})(St),Et={standard:y,filled:x,outlined:M},Mt=o.forwardRef((function(t,e){var r=t.autoComplete,s=t.autoFocus,c=void 0!==s&&s,u=t.children,l=t.classes,f=t.className,h=t.color,d=void 0===h?"primary":h,p=t.defaultValue,m=t.disabled,b=void 0!==m&&m,v=t.error,g=void 0!==v&&v,y=t.FormHelperTextProps,w=t.fullWidth,x=void 0!==w&&w,O=t.helperText,_=t.hiddenLabel,S=t.id,k=t.InputLabelProps,E=t.inputProps,M=t.InputProps,C=t.inputRef,j=t.label,A=t.multiline,T=void 0!==A&&A,R=t.name,I=t.onBlur,N=t.onChange,F=t.onFocus,B=t.placeholder,z=t.required,H=void 0!==z&&z,U=t.rows,W=t.rowsMax,q=t.maxRows,V=t.minRows,G=t.select,Y=void 0!==G&&G,X=t.SelectProps,$=t.type,K=t.value,Z=t.variant,J=void 0===Z?"standard":Z,Q=Object(i.a)(t,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var tt={};if("outlined"===J&&(k&&"undefined"!==typeof k.shrink&&(tt.notched=k.shrink),j)){var et,rt=null!==(et=null===k||void 0===k?void 0:k.required)&&void 0!==et?et:H;tt.label=o.createElement(o.Fragment,null,j,rt&&"\xa0*")}Y&&(X&&X.native||(tt.id=void 0),tt["aria-describedby"]=void 0);var nt=O&&S?"".concat(S,"-helper-text"):void 0,it=j&&S?"".concat(S,"-label"):void 0,ot=Et[J],at=o.createElement(ot,Object(n.a)({"aria-describedby":nt,autoComplete:r,autoFocus:c,defaultValue:p,fullWidth:x,multiline:T,name:R,rows:U,rowsMax:W,maxRows:q,minRows:V,type:$,value:K,id:S,inputRef:C,onBlur:I,onChange:N,onFocus:F,placeholder:B,inputProps:E},tt,M));return o.createElement(D.a,Object(n.a)({className:Object(a.a)(l.root,f),disabled:b,error:g,fullWidth:x,hiddenLabel:_,ref:e,required:H,color:d,variant:J},Q),j&&o.createElement(P,Object(n.a)({htmlFor:S,id:it},k),j),Y?o.createElement(kt,Object(n.a)({"aria-describedby":nt,id:S,labelId:it,value:K,input:at},X),u):at,O&&o.createElement(L,Object(n.a)({id:nt},y),O))}));e.a=Object(l.a)({root:{}},{name:"MuiTextField"})(Mt)},function(t,e,r){"use strict";var n=r(232),i=r(2),o=(r(10),r(249));function a(t,e){var r={};return Object.keys(t).forEach((function(n){-1===e.indexOf(n)&&(r[n]=t[n])})),r}function s(t){var e=function(e){var r=t(e);return e.css?Object(i.a)({},Object(o.a)(r,t(Object(i.a)({theme:e.theme},e.css))),a(e.css,[t.filterProps])):e.sx?Object(i.a)({},Object(o.a)(r,t(Object(i.a)({theme:e.theme},e.sx))),a(e.sx,[t.filterProps])):r};return e.propTypes={},e.filterProps=["css","sx"].concat(Object(n.a)(t.filterProps)),e}var c=s;var u=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=function(t){return e.reduce((function(e,r){var n=r(t);return n?Object(o.a)(e,n):e}),{})};return n.propTypes={},n.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),n},l=r(73),f=r(520);function h(t,e){return e&&"string"===typeof e?e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t):null}var d=function(t){var e=t.prop,r=t.cssProperty,n=void 0===r?t.prop:r,i=t.themeKey,o=t.transform,a=function(t){if(null==t[e])return null;var r=t[e],a=h(t.theme,i)||{};return Object(f.a)(t,r,(function(t){var e;return"function"===typeof a?e=a(t):Array.isArray(a)?e=a[t]||t:(e=h(a,t)||t,o&&(e=o(e))),!1===n?e:Object(l.a)({},n,e)}))};return a.propTypes={},a.filterProps=[e],a};function p(t){return"number"!==typeof t?t:"".concat(t,"px solid")}var m=u(d({prop:"border",themeKey:"borders",transform:p}),d({prop:"borderTop",themeKey:"borders",transform:p}),d({prop:"borderRight",themeKey:"borders",transform:p}),d({prop:"borderBottom",themeKey:"borders",transform:p}),d({prop:"borderLeft",themeKey:"borders",transform:p}),d({prop:"borderColor",themeKey:"palette"}),d({prop:"borderRadius",themeKey:"shape"})),b=u(d({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),d({prop:"display"}),d({prop:"overflow"}),d({prop:"textOverflow"}),d({prop:"visibility"}),d({prop:"whiteSpace"})),v=u(d({prop:"flexBasis"}),d({prop:"flexDirection"}),d({prop:"flexWrap"}),d({prop:"justifyContent"}),d({prop:"alignItems"}),d({prop:"alignContent"}),d({prop:"order"}),d({prop:"flex"}),d({prop:"flexGrow"}),d({prop:"flexShrink"}),d({prop:"alignSelf"}),d({prop:"justifyItems"}),d({prop:"justifySelf"})),g=u(d({prop:"gridGap"}),d({prop:"gridColumnGap"}),d({prop:"gridRowGap"}),d({prop:"gridColumn"}),d({prop:"gridRow"}),d({prop:"gridAutoFlow"}),d({prop:"gridAutoColumns"}),d({prop:"gridAutoRows"}),d({prop:"gridTemplateColumns"}),d({prop:"gridTemplateRows"}),d({prop:"gridTemplateAreas"}),d({prop:"gridArea"})),y=u(d({prop:"position"}),d({prop:"zIndex",themeKey:"zIndex"}),d({prop:"top"}),d({prop:"right"}),d({prop:"bottom"}),d({prop:"left"})),w=u(d({prop:"color",themeKey:"palette"}),d({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),x=d({prop:"boxShadow",themeKey:"shadows"});function O(t){return t<=1?"".concat(100*t,"%"):t}var _=d({prop:"width",transform:O}),S=d({prop:"maxWidth",transform:O}),k=d({prop:"minWidth",transform:O}),E=d({prop:"height",transform:O}),M=d({prop:"maxHeight",transform:O}),C=d({prop:"minHeight",transform:O}),j=(d({prop:"size",cssProperty:"width",transform:O}),d({prop:"size",cssProperty:"height",transform:O}),u(_,S,k,E,M,C,d({prop:"boxSizing"}))),A=r(1459),T=u(d({prop:"fontFamily",themeKey:"typography"}),d({prop:"fontSize",themeKey:"typography"}),d({prop:"fontStyle",themeKey:"typography"}),d({prop:"fontWeight",themeKey:"typography"}),d({prop:"letterSpacing"}),d({prop:"lineHeight"}),d({prop:"textAlign"})),P=r(879),D=c(u(m,b,v,g,y,w,x,j,A.b,T)),R=Object(P.a)("div")(D,{name:"MuiBox"});e.a=R},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(1446),h=r(49),d=r(6),p=Object(h.a)(Object(d.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),m=Object(h.a)(Object(d.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),b=r(893),v=r(339),g=r(340);function y(t){return Object(v.a)("MuiStepIcon",t)}var w,x=Object(g.a)("MuiStepIcon",["root","active","completed","error","text"]),O=["active","className","completed","error","icon"],_=Object(u.a)(b.a,{name:"MuiStepIcon",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e,r=t.theme;return e={display:"block",transition:r.transitions.create("color",{duration:r.transitions.duration.shortest}),color:r.palette.text.disabled},Object(n.a)(e,"&.".concat(x.completed),{color:r.palette.primary.main}),Object(n.a)(e,"&.".concat(x.active),{color:r.palette.primary.main}),Object(n.a)(e,"&.".concat(x.error),{color:r.palette.error.main}),e})),S=Object(u.a)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:function(t,e){return e.text}})((function(t){var e=t.theme;return{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}})),k=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStepIcon"}),n=r.active,a=void 0!==n&&n,u=r.className,f=r.completed,h=void 0!==f&&f,b=r.error,v=void 0!==b&&b,g=r.icon,x=Object(i.a)(r,O),k=Object(o.a)({},r,{active:a,completed:h,error:v}),E=function(t){var e=t.classes,r={root:["root",t.active&&"active",t.completed&&"completed",t.error&&"error"],text:["text"]};return Object(c.a)(r,y,e)}(k);if("number"===typeof g||"string"===typeof g){var M=Object(s.a)(u,E.root);return v?Object(d.jsx)(_,Object(o.a)({as:m,className:M,ref:e,ownerState:k},x)):h?Object(d.jsx)(_,Object(o.a)({as:p,className:M,ref:e,ownerState:k},x)):Object(d.jsxs)(_,Object(o.a)({className:M,ref:e,ownerState:k},x,{children:[w||(w=Object(d.jsx)("circle",{cx:"12",cy:"12",r:"12"})),Object(d.jsx)(S,{className:E.text,x:"12",y:"16",textAnchor:"middle",ownerState:k,children:g})]}))}return g})),E=r(231),M=r(290);function C(t){return Object(v.a)("MuiStepLabel",t)}var j=Object(g.a)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),A=["children","className","componentsProps","error","icon","optional","StepIconComponent","StepIconProps"],T=Object(u.a)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation]]}})((function(t){var e,r=t.ownerState;return Object(o.a)((e={display:"flex",alignItems:"center"},Object(n.a)(e,"&.".concat(j.alternativeLabel),{flexDirection:"column"}),Object(n.a)(e,"&.".concat(j.disabled),{cursor:"default"}),e),"vertical"===r.orientation&&{textAlign:"left",padding:"8px 0"})})),P=Object(u.a)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:function(t,e){return e.label}})((function(t){var e,r=t.theme;return Object(o.a)({},r.typography.body2,(e={display:"block",transition:r.transitions.create("color",{duration:r.transitions.duration.shortest})},Object(n.a)(e,"&.".concat(j.active),{color:r.palette.text.primary,fontWeight:500}),Object(n.a)(e,"&.".concat(j.completed),{color:r.palette.text.primary,fontWeight:500}),Object(n.a)(e,"&.".concat(j.alternativeLabel),{textAlign:"center",marginTop:16}),Object(n.a)(e,"&.".concat(j.error),{color:r.palette.error.main}),e))})),D=Object(u.a)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:function(t,e){return e.iconContainer}})((function(){return Object(n.a)({flexShrink:0,display:"flex",paddingRight:8},"&.".concat(j.alternativeLabel),{paddingRight:0})})),R=Object(u.a)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:function(t,e){return e.labelContainer}})((function(t){return{width:"100%",color:t.theme.palette.text.secondary}})),L=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStepLabel"}),n=r.children,u=r.className,f=r.componentsProps,h=void 0===f?{}:f,p=r.error,m=void 0!==p&&p,b=r.icon,v=r.optional,g=r.StepIconComponent,y=r.StepIconProps,w=Object(i.a)(r,A),x=a.useContext(E.a),O=x.alternativeLabel,_=x.orientation,S=a.useContext(M.a),j=S.active,L=S.disabled,I=S.completed,N=S.icon,F=b||N,B=g;F&&!B&&(B=k);var z=Object(o.a)({},r,{active:j,alternativeLabel:O,completed:I,disabled:L,error:m,orientation:_}),H=function(t){var e=t.classes,r=t.orientation,n=t.active,i=t.completed,o=t.error,a=t.disabled,s=t.alternativeLabel,u={root:["root",r,o&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",n&&"active",i&&"completed",o&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",s&&"alternativeLabel"],labelContainer:["labelContainer"]};return Object(c.a)(u,C,e)}(z);return Object(d.jsxs)(T,Object(o.a)({className:Object(s.a)(H.root,u),ref:e,ownerState:z},w,{children:[F||B?Object(d.jsx)(D,{className:H.iconContainer,ownerState:z,children:Object(d.jsx)(B,Object(o.a)({completed:I,active:j,error:m,icon:F},y))}):null,Object(d.jsxs)(R,{className:H.labelContainer,ownerState:z,children:[n?Object(d.jsx)(P,Object(o.a)({className:H.label,ownerState:z},h.label,{children:n})):null,v]})]}))}));L.muiName="StepLabel";var I=L,N=r(233);function F(t){return Object(v.a)("MuiStepButton",t)}var B=Object(g.a)("MuiStepButton",["root","horizontal","vertical","touchRipple"]),z=["children","className","icon","optional"],H=Object(u.a)(f.a,{name:"MuiStepButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(n.a)({},"& .".concat(B.touchRipple),e.touchRipple),e.root,e[r.orientation]]}})((function(t){var e=t.ownerState;return Object(o.a)({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},Object(n.a)({},"& .".concat(B.touchRipple),{color:"rgba(0, 0, 0, 0.3)"}))})),U=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStepButton"}),n=r.children,u=r.className,f=r.icon,h=r.optional,p=Object(i.a)(r,z),m=a.useContext(M.a).disabled,b=a.useContext(E.a).orientation,v=Object(o.a)({},r,{orientation:b}),g=function(t){var e=t.classes,r={root:["root",t.orientation],touchRipple:["touchRipple"]};return Object(c.a)(r,F,e)}(v),y={icon:f,optional:h},w=Object(N.a)(n,["StepLabel"])?a.cloneElement(n,y):Object(d.jsx)(I,Object(o.a)({},y,{children:n}));return Object(d.jsx)(H,Object(o.a)({focusRipple:!0,disabled:m,TouchRippleProps:{className:g.touchRipple},className:Object(s.a)(g.root,u),ref:e,ownerState:v},p,{children:w}))}));e.a=U},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(147),u=r(373),l=r(22),f=r(49),h=r(6),d=Object(f.a)(Object(h.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),p=Object(f.a)(Object(h.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),m=r(13),b=Object(m.a)("span")({position:"relative",display:"flex"}),v=Object(m.a)(d,{skipSx:!0})({transform:"scale(1)"}),g=Object(m.a)(p,{skipSx:!0})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},r.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})}));var y=function(t){var e=t.checked,r=void 0!==e&&e,n=t.classes,i=void 0===n?{}:n,a=t.fontSize,s=Object(o.a)({},t,{checked:r});return Object(h.jsxs)(b,{className:i.root,ownerState:s,children:[Object(h.jsx)(v,{fontSize:a,className:i.background,ownerState:s}),Object(h.jsx)(g,{fontSize:a,className:i.dot,ownerState:s})]})},w=r(24),x=r(491);var O=a.createContext(void 0);var _=r(339),S=r(340);function k(t){return Object(_.a)("MuiRadio",t)}var E=Object(S.a)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),M=["checked","checkedIcon","color","icon","name","onChange","size"],C=Object(m.a)(u.a,{shouldForwardProp:function(t){return Object(m.b)(t)||"classes"===t},name:"MuiRadio",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["color".concat(Object(w.a)(r.color))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({color:e.palette.text.secondary,"&:hover":{backgroundColor:Object(c.a)("default"===r.color?e.palette.action.active:e.palette[r.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&Object(n.a)({},"&.".concat(E.checked),{color:e.palette[r.color].main}),Object(n.a)({},"&.".concat(E.disabled),{color:e.palette.action.disabled}))}));var j=Object(h.jsx)(y,{checked:!0}),A=Object(h.jsx)(y,{}),T=a.forwardRef((function(t,e){var r,n,c,u,f=Object(l.a)({props:t,name:"MuiRadio"}),d=f.checked,p=f.checkedIcon,m=void 0===p?j:p,b=f.color,v=void 0===b?"primary":b,g=f.icon,y=void 0===g?A:g,_=f.name,S=f.onChange,E=f.size,T=void 0===E?"medium":E,P=Object(i.a)(f,M),D=Object(o.a)({},f,{color:v,size:T}),R=function(t){var e=t.classes,r=t.color,n={root:["root","color".concat(Object(w.a)(r))]};return Object(o.a)({},e,Object(s.a)(n,k,e))}(D),L=a.useContext(O),I=d,N=Object(x.a)(S,L&&L.onChange),F=_;return L&&("undefined"===typeof I&&(c=L.value,I="object"===typeof(u=f.value)&&null!==u?c===u:String(c)===String(u)),"undefined"===typeof F&&(F=L.name)),Object(h.jsx)(C,Object(o.a)({type:"radio",icon:a.cloneElement(y,{fontSize:null!=(r=A.props.fontSize)?r:T}),checkedIcon:a.cloneElement(m,{fontSize:null!=(n=j.props.fontSize)?n:T}),ownerState:D,classes:R,name:F,checked:I,onChange:N,ref:e},P))}));e.a=T},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(24),d=r(894),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiAlert",t)}var v,g=Object(m.a)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),y=r(305),w=r(49),x=r(6),O=Object(w.a)(Object(x.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),_=Object(w.a)(Object(x.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),S=Object(w.a)(Object(x.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),k=Object(w.a)(Object(x.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),E=Object(w.a)(Object(x.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),M=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],C=Object(l.a)(d.a,{name:"MuiAlert",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["".concat(r.variant).concat(Object(h.a)(r.color||r.severity))]]}})((function(t){var e=t.theme,r=t.ownerState,i="light"===e.palette.mode?u.b:u.e,a="light"===e.palette.mode?u.e:u.b,s=r.color||r.severity;return Object(o.a)({},e.typography.body2,{borderRadius:e.shape.borderRadius,backgroundColor:"transparent",display:"flex",padding:"6px 16px"},s&&"standard"===r.variant&&Object(n.a)({color:i(e.palette[s].light,.6),backgroundColor:a(e.palette[s].light,.9)},"& .".concat(g.icon),{color:"dark"===e.palette.mode?e.palette[s].main:e.palette[s].light}),s&&"outlined"===r.variant&&Object(n.a)({color:i(e.palette[s].light,.6),border:"1px solid ".concat(e.palette[s].light)},"& .".concat(g.icon),{color:"dark"===e.palette.mode?e.palette[s].main:e.palette[s].light}),s&&"filled"===r.variant&&{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:"dark"===e.palette.mode?e.palette[s].dark:e.palette[s].main})})),j=Object(l.a)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(t,e){return e.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),A=Object(l.a)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(t,e){return e.message}})({padding:"8px 0"}),T=Object(l.a)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(t,e){return e.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),P={success:Object(x.jsx)(O,{fontSize:"inherit"}),warning:Object(x.jsx)(_,{fontSize:"inherit"}),error:Object(x.jsx)(S,{fontSize:"inherit"}),info:Object(x.jsx)(k,{fontSize:"inherit"})},D=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiAlert"}),n=r.action,a=r.children,u=r.className,l=r.closeText,d=void 0===l?"Close":l,p=r.color,m=r.icon,g=r.iconMapping,w=void 0===g?P:g,O=r.onClose,_=r.role,S=void 0===_?"alert":_,k=r.severity,D=void 0===k?"success":k,R=r.variant,L=void 0===R?"standard":R,I=Object(i.a)(r,M),N=Object(o.a)({},r,{color:p,severity:D,variant:L}),F=function(t){var e=t.variant,r=t.color,n=t.severity,i=t.classes,o={root:["root","".concat(e).concat(Object(h.a)(r||n)),"".concat(e)],icon:["icon"],message:["message"],action:["action"]};return Object(c.a)(o,b,i)}(N);return Object(x.jsxs)(C,Object(o.a)({role:S,square:!0,elevation:0,ownerState:N,className:Object(s.a)(F.root,u),ref:e},I,{children:[!1!==m?Object(x.jsx)(j,{ownerState:N,className:F.icon,children:m||w[D]||P[D]}):null,Object(x.jsx)(A,{ownerState:N,className:F.message,children:a}),null!=n?Object(x.jsx)(T,{className:F.action,children:n}):null,null==n&&O?Object(x.jsx)(T,{ownerState:N,className:F.action,children:Object(x.jsx)(y.a,{size:"small","aria-label":d,title:d,color:"inherit",onClick:O,children:v||(v=Object(x.jsx)(E,{fontSize:"small"}))})}):null]}))}));e.a=D},function(t,e,r){"use strict";var n,i=r(3),o=r(1),a=r(14),s=r(2),c=r(0),u=(r(399),r(10),r(8)),l=r(78),f=r(13),h=r(22),d=r(122),p=r(195);function m(){if(n)return n;var t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),n="reverse",t.scrollLeft>0?n="default":(t.scrollLeft=1,0===t.scrollLeft&&(n="negative")),document.body.removeChild(t),n}function b(t,e){var r=t.scrollLeft;if("rtl"!==e)return r;switch(m()){case"negative":return t.scrollWidth-t.clientWidth+r;case"reverse":return t.scrollWidth-t.clientWidth-r;default:return r}}function v(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function g(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},o=n.ease,a=void 0===o?v:o,s=n.duration,c=void 0===s?300:s,u=null,l=e[t],f=!1,h=function(){f=!0},d=function n(o){if(f)i(new Error("Animation cancelled"));else{null===u&&(u=o);var s=Math.min(1,(o-u)/c);e[t]=a(s)*(r-l)+l,s>=1?requestAnimationFrame((function(){i(null)})):requestAnimationFrame(n)}};return l===r?(i(new Error("Element already at target position")),h):(requestAnimationFrame(d),h)}var y=r(210),w=r(6),x=["onChange"],O={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var _=r(429),S=r(430),k=r(1446),E=r(339),M=r(340);function C(t){return Object(E.a)("MuiTabScrollButton",t)}var j,A,T=Object(M.a)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),P=["className","direction","orientation","disabled"],D=Object(f.a)(k.a,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.orientation&&e[r.orientation]]}})((function(t){var e=t.ownerState;return Object(s.a)(Object(o.a)({width:40,flexShrink:0,opacity:.8},"&.".concat(T.disabled),{opacity:0}),"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(e.isRtl?-90:90,"deg)")}})})),R=c.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiTabScrollButton"}),n=r.className,i=r.direction,o=Object(a.a)(r,P),c="rtl"===Object(d.a)().direction,f=Object(s.a)({isRtl:c},r),p=function(t){var e=t.classes,r={root:["root",t.orientation,t.disabled&&"disabled"]};return Object(l.a)(r,C,e)}(f);return Object(w.jsx)(D,Object(s.a)({component:"div",className:Object(u.a)(p.root,n),ref:e,role:null,ownerState:f,tabIndex:null},o,{children:"left"===i?j||(j=Object(w.jsx)(_.a,{fontSize:"small"})):A||(A=Object(w.jsx)(S.a,{fontSize:"small"}))}))})),L=r(141);function I(t){return Object(E.a)("MuiTabs",t)}var N=Object(M.a)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),F=r(155),B=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],z=function(t,e){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild},H=function(t,e){return t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild},U=function(t,e,r){for(var n=!1,i=r(t,e);i;){if(i===t.firstChild){if(n)return;n=!0}var o=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!o)return void i.focus();i=r(t,i)}},W=Object(f.a)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(o.a)({},"& .".concat(N.scrollButtons),e.scrollButtons),Object(o.a)({},"& .".concat(N.scrollButtons),r.scrollButtonsHideMobile&&e.scrollButtonsHideMobile),e.root,r.vertical&&e.vertical]}})((function(t){var e=t.ownerState,r=t.theme;return Object(s.a)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&Object(o.a)({},"& .".concat(N.scrollButtons),Object(o.a)({},r.breakpoints.down("sm"),{display:"none"})))})),q=Object(f.a)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(t,e){var r=t.ownerState;return[e.scroller,r.fixed&&e.fixed,r.hideScrollbar&&e.hideScrollbar,r.scrollableX&&e.scrollableX,r.scrollableY&&e.scrollableY]}})((function(t){var e=t.ownerState;return Object(s.a)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),V=Object(f.a)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(t,e){var r=t.ownerState;return[e.flexContainer,r.vertical&&e.flexContainerVertical,r.centered&&e.centered]}})((function(t){var e=t.ownerState;return Object(s.a)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})})),G=Object(f.a)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(t,e){return e.indicator}})((function(t){var e=t.ownerState,r=t.theme;return Object(s.a)({position:"absolute",height:2,bottom:0,width:"100%",transition:r.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:r.palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:r.palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})})),Y=Object(f.a)((function(t){var e=t.onChange,r=Object(a.a)(t,x),n=c.useRef(),i=c.useRef(null),o=function(){n.current=i.current.offsetHeight-i.current.clientHeight};return c.useEffect((function(){var t=Object(p.a)((function(){var t=n.current;o(),t!==n.current&&e(n.current)})),r=Object(y.a)(i.current);return r.addEventListener("resize",t),function(){t.clear(),r.removeEventListener("resize",t)}}),[e]),c.useEffect((function(){o(),e(n.current)}),[e]),Object(w.jsx)("div",Object(s.a)({style:O,ref:i},r))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),X={},$=c.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiTabs"}),n=Object(d.a)(),f="rtl"===n.direction,v=r["aria-label"],x=r["aria-labelledby"],O=r.action,_=r.centered,S=void 0!==_&&_,k=r.children,E=r.className,M=r.component,C=void 0===M?"div":M,j=r.allowScrollButtonsMobile,A=void 0!==j&&j,T=r.indicatorColor,P=void 0===T?"primary":T,D=r.onChange,N=r.orientation,$=void 0===N?"horizontal":N,K=r.ScrollButtonComponent,Z=void 0===K?R:K,J=r.scrollButtons,Q=void 0===J?"auto":J,tt=r.selectionFollowsFocus,et=r.TabIndicatorProps,rt=void 0===et?{}:et,nt=r.TabScrollButtonProps,it=void 0===nt?{}:nt,ot=r.textColor,at=void 0===ot?"primary":ot,st=r.value,ct=r.variant,ut=void 0===ct?"standard":ct,lt=r.visibleScrollbar,ft=void 0!==lt&&lt,ht=Object(a.a)(r,B),dt="scrollable"===ut,pt="vertical"===$,mt=pt?"scrollTop":"scrollLeft",bt=pt?"top":"left",vt=pt?"bottom":"right",gt=pt?"clientHeight":"clientWidth",yt=pt?"height":"width",wt=Object(s.a)({},r,{component:C,allowScrollButtonsMobile:A,indicatorColor:P,orientation:$,vertical:pt,scrollButtons:Q,textColor:at,variant:ut,visibleScrollbar:ft,fixed:!dt,hideScrollbar:dt&&!ft,scrollableX:dt&&!pt,scrollableY:dt&&pt,centered:S&&!dt,scrollButtonsHideMobile:!A}),xt=function(t){var e=t.vertical,r=t.fixed,n=t.hideScrollbar,i=t.scrollableX,o=t.scrollableY,a=t.centered,s=t.scrollButtonsHideMobile,c=t.classes,u={root:["root",e&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]};return Object(l.a)(u,I,c)}(wt);var Ot=c.useState(!1),_t=Object(i.a)(Ot,2),St=_t[0],kt=_t[1],Et=c.useState(X),Mt=Object(i.a)(Et,2),Ct=Mt[0],jt=Mt[1],At=c.useState({start:!1,end:!1}),Tt=Object(i.a)(At,2),Pt=Tt[0],Dt=Tt[1],Rt=c.useState({overflow:"hidden",scrollbarWidth:0}),Lt=Object(i.a)(Rt,2),It=Lt[0],Nt=Lt[1],Ft=new Map,Bt=c.useRef(null),zt=c.useRef(null),Ht=function(){var t,e,r=Bt.current;if(r){var i=r.getBoundingClientRect();t={clientWidth:r.clientWidth,scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollLeftNormalized:b(r,n.direction),scrollWidth:r.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}if(r&&!1!==st){var o=zt.current.children;if(o.length>0){var a=o[Ft.get(st)];0,e=a?a.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:e}},Ut=Object(L.a)((function(){var t,e,r=Ht(),n=r.tabsMeta,i=r.tabMeta,a=0;if(pt)e="top",i&&n&&(a=i.top-n.top+n.scrollTop);else if(e=f?"right":"left",i&&n){var s=f?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;a=(f?-1:1)*(i[e]-n[e]+s)}var c=(t={},Object(o.a)(t,e,a),Object(o.a)(t,yt,i?i[yt]:0),t);if(isNaN(Ct[e])||isNaN(Ct[yt]))jt(c);else{var u=Math.abs(Ct[e]-c[e]),l=Math.abs(Ct[yt]-c[yt]);(u>=1||l>=1)&&jt(c)}})),Wt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.animation,i=void 0===r||r;i?g(mt,Bt.current,t,{duration:n.transitions.duration.standard}):Bt.current[mt]=t},qt=function(t){var e=Bt.current[mt];pt?e+=t:(e+=t*(f?-1:1),e*=f&&"reverse"===m()?-1:1),Wt(e)},Vt=function(){for(var t=Bt.current[gt],e=0,r=Array.from(zt.current.children),n=0;n<r.length;n+=1){var i=r[n];if(e+i[gt]>t)break;e+=i[gt]}return e},Gt=function(){qt(-1*Vt())},Yt=function(){qt(Vt())},Xt=c.useCallback((function(t){Nt({overflow:null,scrollbarWidth:t})}),[]),$t=Object(L.a)((function(t){var e=Ht(),r=e.tabsMeta,n=e.tabMeta;if(n&&r)if(n[bt]<r[bt]){var i=r[mt]+(n[bt]-r[bt]);Wt(i,{animation:t})}else if(n[vt]>r[vt]){var o=r[mt]+(n[vt]-r[vt]);Wt(o,{animation:t})}})),Kt=Object(L.a)((function(){if(dt&&!1!==Q){var t,e,r=Bt.current,i=r.scrollTop,o=r.scrollHeight,a=r.clientHeight,s=r.scrollWidth,c=r.clientWidth;if(pt)t=i>1,e=i<o-a-1;else{var u=b(Bt.current,n.direction);t=f?u<s-c-1:u>1,e=f?u>1:u<s-c-1}t===Pt.start&&e===Pt.end||Dt({start:t,end:e})}}));c.useEffect((function(){var t,e=Object(p.a)((function(){Ut(),Kt()})),r=Object(y.a)(Bt.current);return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(zt.current.children).forEach((function(e){t.observe(e)}))),function(){e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}}),[Ut,Kt]);var Zt=c.useMemo((function(){return Object(p.a)((function(){Kt()}))}),[Kt]);c.useEffect((function(){return function(){Zt.clear()}}),[Zt]),c.useEffect((function(){kt(!0)}),[]),c.useEffect((function(){Ut(),Kt()})),c.useEffect((function(){$t(X!==Ct)}),[$t,Ct]),c.useImperativeHandle(O,(function(){return{updateIndicator:Ut,updateScrollButtons:Kt}}),[Ut,Kt]);var Jt=Object(w.jsx)(G,Object(s.a)({},rt,{className:Object(u.a)(xt.indicator,rt.className),ownerState:wt,style:Object(s.a)({},Ct,rt.style)})),Qt=0,te=c.Children.map(k,(function(t){if(!c.isValidElement(t))return null;var e=void 0===t.props.value?Qt:t.props.value;Ft.set(e,Qt);var r=e===st;return Qt+=1,c.cloneElement(t,Object(s.a)({fullWidth:"fullWidth"===ut,indicator:r&&!St&&Jt,selected:r,selectionFollowsFocus:tt,onChange:D,textColor:at,value:e},1!==Qt||!1!==st||t.props.tabIndex?{}:{tabIndex:0}))})),ee=function(){var t={};t.scrollbarSizeListener=dt?Object(w.jsx)(Y,{onChange:Xt,className:Object(u.a)(xt.scrollableX,xt.hideScrollbar)}):null;var e=Pt.start||Pt.end,r=dt&&("auto"===Q&&e||!0===Q);return t.scrollButtonStart=r?Object(w.jsx)(Z,Object(s.a)({orientation:$,direction:f?"right":"left",onClick:Gt,disabled:!Pt.start},it,{className:Object(u.a)(xt.scrollButtons,it.className)})):null,t.scrollButtonEnd=r?Object(w.jsx)(Z,Object(s.a)({orientation:$,direction:f?"left":"right",onClick:Yt,disabled:!Pt.end},it,{className:Object(u.a)(xt.scrollButtons,it.className)})):null,t}();return Object(w.jsxs)(W,Object(s.a)({className:Object(u.a)(xt.root,E),ownerState:wt,ref:e,as:C},ht,{children:[ee.scrollButtonStart,ee.scrollbarSizeListener,Object(w.jsxs)(q,{className:xt.scroller,ownerState:wt,style:Object(o.a)({overflow:It.overflow},pt?"margin".concat(f?"Left":"Right"):"marginBottom",ft?void 0:-It.scrollbarWidth),ref:Bt,onScroll:Zt,children:[Object(w.jsx)(V,{"aria-label":v,"aria-labelledby":x,"aria-orientation":"vertical"===$?"vertical":null,className:xt.flexContainer,ownerState:wt,onKeyDown:function(t){var e=zt.current,r=Object(F.a)(e).activeElement;if("tab"===r.getAttribute("role")){var n="horizontal"===$?"ArrowLeft":"ArrowUp",i="horizontal"===$?"ArrowRight":"ArrowDown";switch("horizontal"===$&&f&&(n="ArrowRight",i="ArrowLeft"),t.key){case n:t.preventDefault(),U(e,r,H);break;case i:t.preventDefault(),U(e,r,z);break;case"Home":t.preventDefault(),U(e,null,z);break;case"End":t.preventDefault(),U(e,null,H)}}},ref:zt,role:"tablist",children:te}),St&&Jt]}),ee.scrollButtonEnd]}))}));e.a=$},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(62),c=r(26),u=r(658),l=r(159),f=Object(l.a)(o.createElement("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),h=Object(l.a)(o.createElement("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),d=Object(l.a)(o.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),p=Object(l.a)(o.createElement("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),m=r(524),b=r(659),v=r(38),g={success:o.createElement(f,{fontSize:"inherit"}),warning:o.createElement(h,{fontSize:"inherit"}),error:o.createElement(d,{fontSize:"inherit"}),info:o.createElement(p,{fontSize:"inherit"})},y=o.createElement(m.a,{fontSize:"small"}),w=o.forwardRef((function(t,e){var r=t.action,s=t.children,c=t.classes,l=t.className,f=t.closeText,h=void 0===f?"Close":f,d=t.color,p=t.icon,m=t.iconMapping,w=void 0===m?g:m,x=t.onClose,O=t.role,_=void 0===O?"alert":O,S=t.severity,k=void 0===S?"success":S,E=t.variant,M=void 0===E?"standard":E,C=Object(n.a)(t,["action","children","classes","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"]);return o.createElement(u.a,Object(i.a)({role:_,square:!0,elevation:0,className:Object(a.a)(c.root,c["".concat(M).concat(Object(v.a)(d||k))],l),ref:e},C),!1!==p?o.createElement("div",{className:c.icon},p||w[k]||g[k]):null,o.createElement("div",{className:c.message},s),null!=r?o.createElement("div",{className:c.action},r):null,null==r&&x?o.createElement("div",{className:c.action},o.createElement(b.a,{size:"small","aria-label":h,title:h,color:"inherit",onClick:x},y)):null)}));e.a=Object(c.a)((function(t){var e="light"===t.palette.type?s.b:s.e,r="light"===t.palette.type?s.e:s.b;return{root:Object(i.a)({},t.typography.body2,{borderRadius:t.shape.borderRadius,backgroundColor:"transparent",display:"flex",padding:"6px 16px"}),standardSuccess:{color:e(t.palette.success.main,.6),backgroundColor:r(t.palette.success.main,.9),"& $icon":{color:t.palette.success.main}},standardInfo:{color:e(t.palette.info.main,.6),backgroundColor:r(t.palette.info.main,.9),"& $icon":{color:t.palette.info.main}},standardWarning:{color:e(t.palette.warning.main,.6),backgroundColor:r(t.palette.warning.main,.9),"& $icon":{color:t.palette.warning.main}},standardError:{color:e(t.palette.error.main,.6),backgroundColor:r(t.palette.error.main,.9),"& $icon":{color:t.palette.error.main}},outlinedSuccess:{color:e(t.palette.success.main,.6),border:"1px solid ".concat(t.palette.success.main),"& $icon":{color:t.palette.success.main}},outlinedInfo:{color:e(t.palette.info.main,.6),border:"1px solid ".concat(t.palette.info.main),"& $icon":{color:t.palette.info.main}},outlinedWarning:{color:e(t.palette.warning.main,.6),border:"1px solid ".concat(t.palette.warning.main),"& $icon":{color:t.palette.warning.main}},outlinedError:{color:e(t.palette.error.main,.6),border:"1px solid ".concat(t.palette.error.main),"& $icon":{color:t.palette.error.main}},filledSuccess:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.success.main},filledInfo:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.info.main},filledWarning:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.warning.main},filledError:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.error.main},icon:{marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9},message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiAlert"})(w)},function(t,e,r){"use strict";var n=r(20),i=r(73),o=r(2),a=r(0),s=(r(10),r(8)),c=r(26),u=r(1316),l=r(1421),f=r(658),h=r(659),d=r(159),p=Object(d.a)(a.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),m=r(62),b=r(64),v=r(38),g=r(663);function y(t){return"Backspace"===t.key||"Delete"===t.key}var w=a.forwardRef((function(t,e){var r=t.avatar,i=t.classes,c=t.className,u=t.clickable,l=t.color,f=void 0===l?"default":l,h=t.component,d=t.deleteIcon,m=t.disabled,w=void 0!==m&&m,x=t.icon,O=t.label,_=t.onClick,S=t.onDelete,k=t.onKeyDown,E=t.onKeyUp,M=t.size,C=void 0===M?"medium":M,j=t.variant,A=void 0===j?"default":j,T=Object(n.a)(t,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),P=a.useRef(null),D=Object(b.a)(P,e),R=function(t){t.stopPropagation(),S&&S(t)},L=!(!1===u||!_)||u,I="small"===C,N=h||(L?g.a:"div"),F=N===g.a?{component:"div"}:{},B=null;if(S){var z=Object(s.a)("default"!==f&&("default"===A?i["deleteIconColor".concat(Object(v.a)(f))]:i["deleteIconOutlinedColor".concat(Object(v.a)(f))]),I&&i.deleteIconSmall);B=d&&a.isValidElement(d)?a.cloneElement(d,{className:Object(s.a)(d.props.className,i.deleteIcon,z),onClick:R}):a.createElement(p,{className:Object(s.a)(i.deleteIcon,z),onClick:R})}var H=null;r&&a.isValidElement(r)&&(H=a.cloneElement(r,{className:Object(s.a)(i.avatar,r.props.className,I&&i.avatarSmall,"default"!==f&&i["avatarColor".concat(Object(v.a)(f))])}));var U=null;return x&&a.isValidElement(x)&&(U=a.cloneElement(x,{className:Object(s.a)(i.icon,x.props.className,I&&i.iconSmall,"default"!==f&&i["iconColor".concat(Object(v.a)(f))])})),a.createElement(N,Object(o.a)({role:L||S?"button":void 0,className:Object(s.a)(i.root,c,"default"!==f&&[i["color".concat(Object(v.a)(f))],L&&i["clickableColor".concat(Object(v.a)(f))],S&&i["deletableColor".concat(Object(v.a)(f))]],"default"!==A&&[i.outlined,{primary:i.outlinedPrimary,secondary:i.outlinedSecondary}[f]],w&&i.disabled,I&&i.sizeSmall,L&&i.clickable,S&&i.deletable),"aria-disabled":!!w||void 0,tabIndex:L||S?0:void 0,onClick:_,onKeyDown:function(t){t.currentTarget===t.target&&y(t)&&t.preventDefault(),k&&k(t)},onKeyUp:function(t){t.currentTarget===t.target&&(S&&y(t)?S(t):"Escape"===t.key&&P.current&&P.current.blur()),E&&E(t)},ref:D},F,T),H||U,a.createElement("span",{className:Object(s.a)(i.label,I&&i.labelSmall)},O),B)})),x=Object(c.a)((function(t){var e="light"===t.palette.type?t.palette.grey[300]:t.palette.grey[700],r=Object(m.a)(t.palette.text.primary,.26);return{root:{fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:t.palette.getContrastText(e),backgroundColor:e,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],fontSize:t.typography.pxToRem(12)},"& $avatarColorPrimary":{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.dark},"& $avatarColorSecondary":{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:Object(m.c)(e,.08)},"&:active":{boxShadow:t.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:Object(m.c)(t.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:Object(m.c)(t.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:Object(m.c)(e,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:Object(m.c)(t.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:Object(m.c)(t.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(m.a)(t.palette.text.primary,t.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(t.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(m.a)(t.palette.primary.main,t.palette.action.hoverOpacity)}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(t.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(m.a)(t.palette.secondary.main,t.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:r,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Object(m.a)(r,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:Object(m.a)(t.palette.primary.contrastText,.7),"&:hover, &:active":{color:t.palette.primary.contrastText}},deleteIconColorSecondary:{color:Object(m.a)(t.palette.secondary.contrastText,.7),"&:hover, &:active":{color:t.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:Object(m.a)(t.palette.primary.main,.7),"&:hover, &:active":{color:t.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:Object(m.a)(t.palette.secondary.main,.7),"&:hover, &:active":{color:t.palette.secondary.main}}}}),{name:"MuiChip"})(w),O=r(524),_=Object(d.a)(a.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),S=r(125),k=(r(217),r(488)),E=r(221),M=r(148),C=r(169);function j(t){return"undefined"!==typeof t.normalize?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function A(t,e){for(var r=0;r<t.length;r+=1)if(e(t[r]))return r;return-1}var T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.ignoreAccents,r=void 0===e||e,n=t.ignoreCase,i=void 0===n||n,o=t.limit,a=t.matchFrom,s=void 0===a?"any":a,c=t.stringify,u=t.trim,l=void 0!==u&&u;return function(t,e){var n=e.inputValue,a=e.getOptionLabel,u=l?n.trim():n;i&&(u=u.toLowerCase()),r&&(u=j(u));var f=t.filter((function(t){var e=(c||a)(t);return i&&(e=e.toLowerCase()),r&&(e=j(e)),"start"===s?0===e.indexOf(u):e.indexOf(u)>-1}));return"number"===typeof o?f.slice(0,o):f}}();function P(t){var e=t.autoComplete,r=void 0!==e&&e,n=t.autoHighlight,i=void 0!==n&&n,s=t.autoSelect,c=void 0!==s&&s,u=t.blurOnSelect,l=void 0!==u&&u,f=t.clearOnBlur,h=void 0===f?!t.freeSolo:f,d=t.clearOnEscape,p=void 0!==d&&d,m=t.componentName,b=void 0===m?"useAutocomplete":m,v=t.debug,g=void 0!==v&&v,y=t.defaultValue,w=void 0===y?t.multiple?[]:null:y,x=t.disableClearable,O=void 0!==x&&x,_=t.disableCloseOnSelect,j=void 0!==_&&_,P=t.disabledItemsFocusable,D=void 0!==P&&P,R=t.disableListWrap,L=void 0!==R&&R,I=t.filterOptions,N=void 0===I?T:I,F=t.filterSelectedOptions,B=void 0!==F&&F,z=t.freeSolo,H=void 0!==z&&z,U=t.getOptionDisabled,W=t.getOptionLabel,q=void 0===W?function(t){return t}:W,V=t.getOptionSelected,G=void 0===V?function(t,e){return t===e}:V,Y=t.groupBy,X=t.handleHomeEndKeys,$=void 0===X?!t.freeSolo:X,K=t.id,Z=t.includeInputInList,J=void 0!==Z&&Z,Q=t.inputValue,tt=t.multiple,et=void 0!==tt&&tt,rt=t.onChange,nt=t.onClose,it=t.onHighlightChange,ot=t.onInputChange,at=t.onOpen,st=t.open,ct=t.openOnFocus,ut=void 0!==ct&&ct,lt=t.options,ft=t.selectOnFocus,ht=void 0===ft?!t.freeSolo:ft,dt=t.value,pt=Object(k.a)(K),mt=q;var bt=a.useRef(!1),vt=a.useRef(!0),gt=a.useRef(null),yt=a.useRef(null),wt=a.useState(null),xt=wt[0],Ot=wt[1],_t=a.useState(-1),St=_t[0],kt=_t[1],Et=i?0:-1,Mt=a.useRef(Et),Ct=Object(E.a)({controlled:dt,default:w,name:b}),jt=Object(S.a)(Ct,2),At=jt[0],Tt=jt[1],Pt=Object(E.a)({controlled:Q,default:"",name:b,state:"inputValue"}),Dt=Object(S.a)(Pt,2),Rt=Dt[0],Lt=Dt[1],It=a.useState(!1),Nt=It[0],Ft=It[1],Bt=Object(M.a)((function(t,e){var r;if(et)r="";else if(null==e)r="";else{var n=mt(e);r="string"===typeof n?n:""}Rt!==r&&(Lt(r),ot&&ot(t,r,"reset"))}));a.useEffect((function(){Bt(null,At)}),[At,Bt]);var zt=Object(E.a)({controlled:st,default:!1,name:b,state:"open"}),Ht=Object(S.a)(zt,2),Ut=Ht[0],Wt=Ht[1],qt=!et&&null!=At&&Rt===mt(At),Vt=Ut,Gt=Vt?N(lt.filter((function(t){return!B||!(et?At:[At]).some((function(e){return null!==e&&G(t,e)}))})),{inputValue:qt?"":Rt,getOptionLabel:mt}):[],Yt=Object(M.a)((function(t){-1===t?gt.current.focus():xt.querySelector('[data-tag-index="'.concat(t,'"]')).focus()}));a.useEffect((function(){et&&St>At.length-1&&(kt(-1),Yt(-1))}),[At,et,St,Yt]);var Xt=Object(M.a)((function(t){var e=t.event,r=t.index,n=t.reason,i=void 0===n?"auto":n;if(Mt.current=r,-1===r?gt.current.removeAttribute("aria-activedescendant"):gt.current.setAttribute("aria-activedescendant","".concat(pt,"-option-").concat(r)),it&&it(e,-1===r?null:Gt[r],i),yt.current){var o=yt.current.querySelector("[data-focus]");o&&o.removeAttribute("data-focus");var a=yt.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==r){var s=yt.current.querySelector('[data-option-index="'.concat(r,'"]'));if(s&&(s.setAttribute("data-focus","true"),a.scrollHeight>a.clientHeight&&"mouse"!==i)){var c=s,u=a.clientHeight+a.scrollTop,l=c.offsetTop+c.offsetHeight;l>u?a.scrollTop=l-a.clientHeight:c.offsetTop-c.offsetHeight*(Y?1.3:0)<a.scrollTop&&(a.scrollTop=c.offsetTop-c.offsetHeight*(Y?1.3:0))}}else a.scrollTop=0}})),$t=Object(M.a)((function(t){var e=t.event,n=t.diff,i=t.direction,o=void 0===i?"next":i,a=t.reason,s=void 0===a?"auto":a;if(Vt){var c=function(t,e){if(!yt.current||-1===t)return-1;for(var r=t;;){if("next"===e&&r===Gt.length||"previous"===e&&-1===r)return-1;var n=yt.current.querySelector('[data-option-index="'.concat(r,'"]')),i=!D&&(n&&(n.disabled||"true"===n.getAttribute("aria-disabled")));if(!(n&&!n.hasAttribute("tabindex")||i))return r;r+="next"===e?1:-1}}(function(){var t=Gt.length-1;if("reset"===n)return Et;if("start"===n)return 0;if("end"===n)return t;var e=Mt.current+n;return e<0?-1===e&&J?-1:L&&-1!==Mt.current||Math.abs(n)>1?0:t:e>t?e===t+1&&J?-1:L||Math.abs(n)>1?t:0:e}(),o);if(Xt({index:c,reason:s,event:e}),r&&"reset"!==n)if(-1===c)gt.current.value=Rt;else{var u=mt(Gt[c]);gt.current.value=u,0===u.toLowerCase().indexOf(Rt.toLowerCase())&&Rt.length>0&&gt.current.setSelectionRange(Rt.length,u.length)}}})),Kt=a.useCallback((function(){if(Vt){var t=et?At[0]:At;if(0!==Gt.length&&null!=t){if(yt.current)if(B||null==t)Mt.current>=Gt.length-1?Xt({index:Gt.length-1}):Xt({index:Mt.current});else{var e=Gt[Mt.current];if(et&&e&&-1!==A(At,(function(t){return G(e,t)})))return;var r=A(Gt,(function(e){return G(e,t)}));-1===r?$t({diff:"reset"}):Xt({index:r})}}else $t({diff:"reset"})}}),[0===Gt.length,!et&&At,B,$t,Xt,Vt,Rt,et]),Zt=Object(M.a)((function(t){Object(C.a)(yt,t),t&&Kt()}));a.useEffect((function(){Kt()}),[Kt]);var Jt=function(t){Ut||(Wt(!0),at&&at(t))},Qt=function(t,e){Ut&&(Wt(!1),nt&&nt(t,e))},te=function(t,e,r,n){At!==e&&(rt&&rt(t,e,r,n),Tt(e))},ee=a.useRef(!1),re=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select-option",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",i=r,o=e;if(et){var a=A(o=Array.isArray(At)?At.slice():[],(function(t){return G(e,t)}));-1===a?o.push(e):"freeSolo"!==n&&(o.splice(a,1),i="remove-option")}Bt(t,o),te(t,o,i,{option:e}),j||Qt(t,i),(!0===l||"touch"===l&&ee.current||"mouse"===l&&!ee.current)&&gt.current.blur()};var ne=function(t,e){if(et){Qt(t,"toggleInput");var r=St;-1===St?""===Rt&&"previous"===e&&(r=At.length-1):((r+="next"===e?1:-1)<0&&(r=0),r===At.length&&(r=-1)),r=function(t,e){if(-1===t)return-1;for(var r=t;;){if("next"===e&&r===At.length||"previous"===e&&-1===r)return-1;var n=xt.querySelector('[data-tag-index="'.concat(r,'"]'));if(!n||n.hasAttribute("tabindex")&&!n.disabled&&"true"!==n.getAttribute("aria-disabled"))return r;r+="next"===e?1:-1}}(r,e),kt(r),Yt(r)}},ie=function(t){bt.current=!0,Lt(""),ot&&ot(t,"","clear"),te(t,et?[]:null,"clear")},oe=function(t){return function(e){switch(-1!==St&&-1===["ArrowLeft","ArrowRight"].indexOf(e.key)&&(kt(-1),Yt(-1)),e.key){case"Home":Vt&&$&&(e.preventDefault(),$t({diff:"start",direction:"next",reason:"keyboard",event:e}));break;case"End":Vt&&$&&(e.preventDefault(),$t({diff:"end",direction:"previous",reason:"keyboard",event:e}));break;case"PageUp":e.preventDefault(),$t({diff:-5,direction:"previous",reason:"keyboard",event:e}),Jt(e);break;case"PageDown":e.preventDefault(),$t({diff:5,direction:"next",reason:"keyboard",event:e}),Jt(e);break;case"ArrowDown":e.preventDefault(),$t({diff:1,direction:"next",reason:"keyboard",event:e}),Jt(e);break;case"ArrowUp":e.preventDefault(),$t({diff:-1,direction:"previous",reason:"keyboard",event:e}),Jt(e);break;case"ArrowLeft":ne(e,"previous");break;case"ArrowRight":ne(e,"next");break;case"Enter":if(229===e.which)break;if(-1!==Mt.current&&Vt){var n=Gt[Mt.current],i=!!U&&U(n);if(e.preventDefault(),i)return;re(e,n,"select-option"),r&&gt.current.setSelectionRange(gt.current.value.length,gt.current.value.length)}else H&&""!==Rt&&!1===qt&&(et&&e.preventDefault(),re(e,Rt,"create-option","freeSolo"));break;case"Escape":Vt?(e.preventDefault(),e.stopPropagation(),Qt(e,"escape")):p&&(""!==Rt||et&&At.length>0)&&(e.preventDefault(),e.stopPropagation(),ie(e));break;case"Backspace":if(et&&""===Rt&&At.length>0){var o=-1===St?At.length-1:St,a=At.slice();a.splice(o,1),te(e,a,"remove-option",{option:At[o]})}}t.onKeyDown&&t.onKeyDown(e)}},ae=function(t){Ft(!0),ut&&!bt.current&&Jt(t)},se=function(t){null===yt.current||document.activeElement!==yt.current.parentElement?(Ft(!1),vt.current=!0,bt.current=!1,g&&""!==Rt||(c&&-1!==Mt.current&&Vt?re(t,Gt[Mt.current],"blur"):c&&H&&""!==Rt?re(t,Rt,"blur","freeSolo"):h&&Bt(t,At),Qt(t,"blur"))):gt.current.focus()},ce=function(t){var e=t.target.value;Rt!==e&&(Lt(e),ot&&ot(t,e,"input")),""===e?O||et||te(t,null,"clear"):Jt(t)},ue=function(t){Xt({event:t,index:Number(t.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},le=function(){ee.current=!0},fe=function(t){var e=Number(t.currentTarget.getAttribute("data-option-index"));re(t,Gt[e],"select-option"),ee.current=!1},he=function(t){return function(e){var r=At.slice();r.splice(t,1),te(e,r,"remove-option",{option:At[t]})}},de=function(t){Ut?Qt(t,"toggleInput"):Jt(t)},pe=function(t){t.target.getAttribute("id")!==pt&&t.preventDefault()},me=function(){gt.current.focus(),ht&&vt.current&&gt.current.selectionEnd-gt.current.selectionStart===0&&gt.current.select(),vt.current=!1},be=function(t){""!==Rt&&Ut||de(t)},ve=H&&Rt.length>0;ve=ve||(et?At.length>0:null!==At);var ge=Gt;if(Y){new Map;ge=Gt.reduce((function(t,e,r){var n=Y(e);return t.length>0&&t[t.length-1].group===n?t[t.length-1].options.push(e):t.push({key:r,index:r,group:n,options:[e]}),t}),[])}return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(o.a)({"aria-owns":Vt?"".concat(pt,"-popup"):null,role:"combobox","aria-expanded":Vt},t,{onKeyDown:oe(t),onMouseDown:pe,onClick:me})},getInputLabelProps:function(){return{id:"".concat(pt,"-label"),htmlFor:pt}},getInputProps:function(){return{id:pt,value:Rt,onBlur:se,onFocus:ae,onChange:ce,onMouseDown:be,"aria-activedescendant":Vt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Vt?"".concat(pt,"-popup"):null,autoComplete:"off",ref:gt,autoCapitalize:"none",spellCheck:"false"}},getClearProps:function(){return{tabIndex:-1,onClick:ie}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:de}},getTagProps:function(t){var e=t.index;return{key:e,"data-tag-index":e,tabIndex:-1,onDelete:he(e)}},getListboxProps:function(){return{role:"listbox",id:"".concat(pt,"-popup"),"aria-labelledby":"".concat(pt,"-label"),ref:Zt,onMouseDown:function(t){t.preventDefault()}}},getOptionProps:function(t){var e=t.index,r=t.option,n=(et?At:[At]).some((function(t){return null!=t&&G(r,t)})),i=!!U&&U(r);return{key:e,tabIndex:-1,role:"option",id:"".concat(pt,"-option-").concat(e),onMouseOver:ue,onClick:fe,onTouchStart:le,"data-option-index":e,"aria-disabled":i,"aria-selected":n}},id:pt,inputValue:Rt,value:At,dirty:ve,popupOpen:Vt,focused:Nt||-1!==St,anchorEl:xt,setAnchorEl:Ot,focusedTag:St,groupedOptions:ge}}function D(t){t.anchorEl,t.open;var e=Object(n.a)(t,["anchorEl","open"]);return a.createElement("div",e)}var R=a.createElement(O.a,{fontSize:"small"}),L=a.createElement(_,null),I=a.forwardRef((function(t,e){t.autoComplete,t.autoHighlight,t.autoSelect,t.blurOnSelect;var r,i=t.ChipProps,c=t.classes,d=t.className,p=t.clearOnBlur,m=(void 0===p&&t.freeSolo,t.clearOnEscape,t.clearText),b=void 0===m?"Clear":m,v=t.closeIcon,g=void 0===v?R:v,y=t.closeText,w=void 0===y?"Close":y,O=(t.debug,t.defaultValue),_=(void 0===O&&t.multiple,t.disableClearable),S=void 0!==_&&_,k=(t.disableCloseOnSelect,t.disabled),E=void 0!==k&&k,M=(t.disabledItemsFocusable,t.disableListWrap,t.disablePortal),C=void 0!==M&&M,j=(t.filterOptions,t.filterSelectedOptions,t.forcePopupIcon),A=void 0===j?"auto":j,T=t.freeSolo,I=void 0!==T&&T,N=t.fullWidth,F=void 0!==N&&N,B=t.getLimitTagsText,z=void 0===B?function(t){return"+".concat(t)}:B,H=(t.getOptionDisabled,t.getOptionLabel),U=void 0===H?function(t){return t}:H,W=(t.getOptionSelected,t.groupBy),q=t.handleHomeEndKeys,V=(void 0===q&&t.freeSolo,t.id,t.includeInputInList,t.inputValue,t.limitTags),G=void 0===V?-1:V,Y=t.ListboxComponent,X=void 0===Y?"ul":Y,$=t.ListboxProps,K=t.loading,Z=void 0!==K&&K,J=t.loadingText,Q=void 0===J?"Loading\u2026":J,tt=t.multiple,et=void 0!==tt&&tt,rt=t.noOptionsText,nt=void 0===rt?"No options":rt,it=(t.onChange,t.onClose,t.onHighlightChange,t.onInputChange,t.onOpen,t.open,t.openOnFocus,t.openText),ot=void 0===it?"Open":it,at=(t.options,t.PaperComponent),st=void 0===at?f.a:at,ct=t.PopperComponent,ut=void 0===ct?u.a:ct,lt=t.popupIcon,ft=void 0===lt?L:lt,ht=t.renderGroup,dt=t.renderInput,pt=t.renderOption,mt=t.renderTags,bt=t.selectOnFocus,vt=(void 0===bt&&t.freeSolo,t.size),gt=void 0===vt?"medium":vt,yt=(t.value,Object(n.a)(t,["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","classes","className","clearOnBlur","clearOnEscape","clearText","closeIcon","closeText","debug","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","getOptionSelected","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"])),wt=C?D:ut,xt=P(Object(o.a)({},t,{componentName:"Autocomplete"})),Ot=xt.getRootProps,_t=xt.getInputProps,St=xt.getInputLabelProps,kt=xt.getPopupIndicatorProps,Et=xt.getClearProps,Mt=xt.getTagProps,Ct=xt.getListboxProps,jt=xt.getOptionProps,At=xt.value,Tt=xt.dirty,Pt=xt.id,Dt=xt.popupOpen,Rt=xt.focused,Lt=xt.focusedTag,It=xt.anchorEl,Nt=xt.setAnchorEl,Ft=xt.inputValue,Bt=xt.groupedOptions;if(et&&At.length>0){var zt=function(t){return Object(o.a)({className:Object(s.a)(c.tag,"small"===gt&&c.tagSizeSmall),disabled:E},Mt(t))};r=mt?mt(At,zt):At.map((function(t,e){return a.createElement(x,Object(o.a)({label:U(t),size:gt},zt({index:e}),i))}))}if(G>-1&&Array.isArray(r)){var Ht=r.length-G;!Rt&&Ht>0&&(r=r.splice(0,G)).push(a.createElement("span",{className:c.tag,key:r.length},z(Ht)))}var Ut=ht||function(t){return a.createElement("li",{key:t.key},a.createElement(l.a,{className:c.groupLabel,component:"div"},t.group),a.createElement("ul",{className:c.groupUl},t.children))},Wt=pt||U,qt=function(t,e){var r=jt({option:t,index:e});return a.createElement("li",Object(o.a)({},r,{className:c.option}),Wt(t,{selected:r["aria-selected"],inputValue:Ft}))},Vt=!S&&!E,Gt=(!I||!0===A)&&!1!==A;return a.createElement(a.Fragment,null,a.createElement("div",Object(o.a)({ref:e,className:Object(s.a)(c.root,d,Rt&&c.focused,F&&c.fullWidth,Vt&&c.hasClearIcon,Gt&&c.hasPopupIcon)},Ot(yt)),dt({id:Pt,disabled:E,fullWidth:!0,size:"small"===gt?"small":void 0,InputLabelProps:St(),InputProps:{ref:Nt,className:c.inputRoot,startAdornment:r,endAdornment:a.createElement("div",{className:c.endAdornment},Vt?a.createElement(h.a,Object(o.a)({},Et(),{"aria-label":b,title:b,className:Object(s.a)(c.clearIndicator,Tt&&c.clearIndicatorDirty)}),g):null,Gt?a.createElement(h.a,Object(o.a)({},kt(),{disabled:E,"aria-label":Dt?w:ot,title:Dt?w:ot,className:Object(s.a)(c.popupIndicator,Dt&&c.popupIndicatorOpen)}),ft):null)},inputProps:Object(o.a)({className:Object(s.a)(c.input,-1===Lt&&c.inputFocused),disabled:E},_t())})),Dt&&It?a.createElement(wt,{className:Object(s.a)(c.popper,C&&c.popperDisablePortal),style:{width:It?It.clientWidth:null},role:"presentation",anchorEl:It,open:!0},a.createElement(st,{className:c.paper},Z&&0===Bt.length?a.createElement("div",{className:c.loading},Q):null,0!==Bt.length||I||Z?null:a.createElement("div",{className:c.noOptions},nt),Bt.length>0?a.createElement(X,Object(o.a)({className:c.listbox},Ct(),$),Bt.map((function(t,e){return W?Ut({key:t.key,group:t.group,children:t.options.map((function(e,r){return qt(e,t.index+r)}))}):qt(t,e)}))):null)):null)}));e.a=Object(c.a)((function(t){var e;return{root:{"&$focused $clearIndicatorDirty":{visibility:"visible"},"@media (pointer: fine)":{"&:hover $clearIndicatorDirty":{visibility:"visible"}}},fullWidth:{width:"100%"},focused:{},tag:{margin:3,maxWidth:"calc(100% - 6px)"},tagSizeSmall:{margin:2,maxWidth:"calc(100% - 4px)"},hasPopupIcon:{},hasClearIcon:{},inputRoot:{flexWrap:"wrap","$hasPopupIcon &, $hasClearIcon &":{paddingRight:30},"$hasPopupIcon$hasClearIcon &":{paddingRight:56},"& $input":{width:0,minWidth:30},'&[class*="MuiInput-root"]':{paddingBottom:1,"& $input":{padding:4},"& $input:first-child":{padding:"6px 0"}},'&[class*="MuiInput-root"][class*="MuiInput-marginDense"]':{"& $input":{padding:"4px 4px 5px"},"& $input:first-child":{padding:"3px 0 6px"}},'&[class*="MuiOutlinedInput-root"]':{padding:9,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9.5px 4px"},"& $input:first-child":{paddingLeft:6},"& $endAdornment":{right:9}},'&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]':{padding:6,"& $input":{padding:"4.5px 4px"}},'&[class*="MuiFilledInput-root"]':{paddingTop:19,paddingLeft:8,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9px 4px"},"& $endAdornment":{right:9}},'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]':{paddingBottom:1,"& $input":{padding:"4.5px 4px"}}},input:{flexGrow:1,textOverflow:"ellipsis",opacity:0},inputFocused:{opacity:1},endAdornment:{position:"absolute",right:0,top:"calc(50% - 14px)"},clearIndicator:{marginRight:-2,padding:4,visibility:"hidden"},clearIndicatorDirty:{},popupIndicator:{padding:2,marginRight:-2},popupIndicatorOpen:{transform:"rotate(180deg)"},popper:{zIndex:t.zIndex.modal},popperDisablePortal:{position:"absolute"},paper:Object(o.a)({},t.typography.body1,{overflow:"hidden",margin:"4px 0"}),listbox:{listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},loading:{color:t.palette.text.secondary,padding:"14px 16px"},noOptions:{color:t.palette.text.secondary,padding:"14px 16px"},option:(e={minHeight:48,display:"flex",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},Object(i.a)(e,t.breakpoints.up("sm"),{minHeight:"auto"}),Object(i.a)(e,'&[aria-selected="true"]',{backgroundColor:t.palette.action.selected}),Object(i.a)(e,'&[data-focus="true"]',{backgroundColor:t.palette.action.hover}),Object(i.a)(e,"&:active",{backgroundColor:t.palette.action.selected}),Object(i.a)(e,'&[aria-disabled="true"]',{opacity:t.palette.action.disabledOpacity,pointerEvents:"none"}),e),groupLabel:{backgroundColor:t.palette.background.paper,top:-8},groupUl:{padding:0,"& $option":{paddingLeft:24}}}}),{name:"MuiAutocomplete"})(I)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(252),l=r(147),f=r(13),h=r(22),d=r(1446),p=r(233),m=r(156),b=r(72),v=r(187),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiListItem",t)}var x=Object(y.a)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var O=Object(y.a)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function _(t){return Object(g.a)("MuiListItemSecondaryAction",t)}Object(y.a)("MuiListItemSecondaryAction",["root","disableGutters"]);var S=r(6),k=["className"],E=Object(f.a)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.disableGutters&&e.disableGutters]}})((function(t){var e=t.ownerState;return Object(o.a)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})})),M=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiListItemSecondaryAction"}),n=r.className,u=Object(i.a)(r,k),l=a.useContext(v.a),f=Object(o.a)({},r,{disableGutters:l.disableGutters}),d=function(t){var e=t.disableGutters,r=t.classes,n={root:["root",e&&"disableGutters"]};return Object(c.a)(n,_,r)}(f);return Object(S.jsx)(E,Object(o.a)({className:Object(s.a)(d.root,n),ownerState:f,ref:e},u))}));M.muiName="ListItemSecondaryAction";var C=M,j=["className"],A=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],T=Object(f.a)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.dense&&e.dense,"flex-start"===r.alignItems&&e.alignItemsFlexStart,r.divider&&e.divider,!r.disableGutters&&e.gutters,!r.disablePadding&&e.padding,r.button&&e.button,r.hasSecondaryAction&&e.secondaryAction]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!i.disablePadding&&Object(o.a)({paddingTop:8,paddingBottom:8},i.dense&&{paddingTop:4,paddingBottom:4},!i.disableGutters&&{paddingLeft:16,paddingRight:16},!!i.secondaryAction&&{paddingRight:48}),!!i.secondaryAction&&Object(n.a)({},"& > .".concat(O.root),{paddingRight:48}),(e={},Object(n.a)(e,"&.".concat(x.focusVisible),{backgroundColor:r.palette.action.focus}),Object(n.a)(e,"&.".concat(x.selected),Object(n.a)({backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity)},"&.".concat(x.focusVisible),{backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)})),Object(n.a)(e,"&.".concat(x.disabled),{opacity:r.palette.action.disabledOpacity}),e),"flex-start"===i.alignItems&&{alignItems:"flex-start"},i.divider&&{borderBottom:"1px solid ".concat(r.palette.divider),backgroundClip:"padding-box"},i.button&&Object(n.a)({transition:r.transitions.create("background-color",{duration:r.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:r.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(x.selected,":hover"),{backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity)}}),i.hasSecondaryAction&&{paddingRight:48})})),P=Object(f.a)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(t,e){return e.container}})({position:"relative"}),D=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiListItem"}),n=r.alignItems,l=void 0===n?"center":n,f=r.autoFocus,g=void 0!==f&&f,y=r.button,O=void 0!==y&&y,_=r.children,k=r.className,E=r.component,M=r.components,D=void 0===M?{}:M,R=r.componentsProps,L=void 0===R?{}:R,I=r.ContainerComponent,N=void 0===I?"li":I,F=r.ContainerProps,B=(F=void 0===F?{}:F).className,z=r.dense,H=void 0!==z&&z,U=r.disabled,W=void 0!==U&&U,q=r.disableGutters,V=void 0!==q&&q,G=r.disablePadding,Y=void 0!==G&&G,X=r.divider,$=void 0!==X&&X,K=r.focusVisibleClassName,Z=r.secondaryAction,J=r.selected,Q=void 0!==J&&J,tt=Object(i.a)(r.ContainerProps,j),et=Object(i.a)(r,A),rt=a.useContext(v.a),nt={dense:H||rt.dense||!1,alignItems:l,disableGutters:V},it=a.useRef(null);Object(m.a)((function(){g&&it.current&&it.current.focus()}),[g]);var ot=a.Children.toArray(_),at=ot.length&&Object(p.a)(ot[ot.length-1],["ListItemSecondaryAction"]),st=Object(o.a)({},r,{alignItems:l,autoFocus:g,button:O,dense:nt.dense,disabled:W,disableGutters:V,disablePadding:Y,divider:$,hasSecondaryAction:at,selected:Q}),ct=function(t){var e=t.alignItems,r=t.button,n=t.classes,i=t.dense,o=t.disabled,a={root:["root",i&&"dense",!t.disableGutters&&"gutters",!t.disablePadding&&"padding",t.divider&&"divider",o&&"disabled",r&&"button","flex-start"===e&&"alignItemsFlexStart",t.hasSecondaryAction&&"secondaryAction",t.selected&&"selected"],container:["container"]};return Object(c.a)(a,w,n)}(st),ut=Object(b.a)(it,e),lt=D.Root||T,ft=L.root||{},ht=Object(o.a)({className:Object(s.a)(ct.root,ft.className,k),disabled:W},et),dt=E||"li";return O&&(ht.component=E||"div",ht.focusVisibleClassName=Object(s.a)(x.focusVisible,K),dt=d.a),at?(dt=ht.component||E?dt:"div","li"===N&&("li"===dt?dt="div":"li"===ht.component&&(ht.component="div")),Object(S.jsx)(v.a.Provider,{value:nt,children:Object(S.jsxs)(P,Object(o.a)({as:N,className:Object(s.a)(ct.container,B),ref:ut,ownerState:st},tt,{children:[Object(S.jsx)(lt,Object(o.a)({},ft,!Object(u.a)(lt)&&{as:dt,ownerState:Object(o.a)({},st,ft.ownerState)},ht,{children:ot})),ot.pop()]}))})):Object(S.jsx)(v.a.Provider,{value:nt,children:Object(S.jsxs)(lt,Object(o.a)({},ft,{as:dt,ref:ut,ownerState:st},!Object(u.a)(lt)&&{ownerState:Object(o.a)({},st,ft.ownerState)},ht,{children:[ot,Z&&Object(S.jsx)(C,{children:Z})]}))})}));e.a=D},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(2),a=r(14),s=r(0),c=(r(10),r(8)),u=r(78),l=r(13),f=r(22),h=r(72),d=r(141),p=r(275),m=r(19),b=r(242),v=r(1460),g=r(315),y=r(6);var w=function(t){var e=t.className,r=t.classes,i=t.pulsate,o=void 0!==i&&i,a=t.rippleX,u=t.rippleY,l=t.rippleSize,f=t.in,h=t.onExited,d=t.timeout,p=s.useState(!1),m=Object(n.a)(p,2),b=m[0],v=m[1],g=Object(c.a)(e,r.ripple,r.rippleVisible,o&&r.ripplePulsate),w={width:l,height:l,top:-l/2+u,left:-l/2+a},x=Object(c.a)(r.child,b&&r.childLeaving,o&&r.childPulsate);return f||b||v(!0),s.useEffect((function(){if(!f&&null!=h){var t=setTimeout(h,d);return function(){clearTimeout(t)}}}),[h,f,d]),Object(y.jsx)("span",{className:g,style:w,children:Object(y.jsx)("span",{className:x})})},x=r(339),O=r(340);var _,S,k,E,M,C,j,A,T=Object(O.a)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),P=["center","classes","className"],D=Object(g.c)(M||(M=_||(_=Object(b.a)(["\n  0% {\n    transform: scale(0);\n    opacity: 0.1;\n  }\n\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n"])))),R=Object(g.c)(C||(C=S||(S=Object(b.a)(["\n  0% {\n    opacity: 1;\n  }\n\n  100% {\n    opacity: 0;\n  }\n"])))),L=Object(g.c)(j||(j=k||(k=Object(b.a)(["\n  0% {\n    transform: scale(1);\n  }\n\n  50% {\n    transform: scale(0.92);\n  }\n\n  100% {\n    transform: scale(1);\n  }\n"])))),I=Object(l.a)("span",{name:"MuiTouchRipple",slot:"Root",skipSx:!0})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),N=Object(l.a)(w,{name:"MuiTouchRipple",slot:"Ripple"})(A||(A=E||(E=Object(b.a)(["\n  opacity: 0;\n  position: absolute;\n\n  &."," {\n    opacity: 0.3;\n    transform: scale(1);\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  &."," {\n    animation-duration: ","ms;\n  }\n\n  & ."," {\n    opacity: 1;\n    display: block;\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    background-color: currentColor;\n  }\n\n  & ."," {\n    opacity: 0;\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  & ."," {\n    position: absolute;\n    /* @noflip */\n    left: 0px;\n    top: 0;\n    animation-name: ",";\n    animation-duration: 2500ms;\n    animation-timing-function: ",";\n    animation-iteration-count: infinite;\n    animation-delay: 200ms;\n  }\n"]))),T.rippleVisible,D,550,(function(t){return t.theme.transitions.easing.easeInOut}),T.ripplePulsate,(function(t){return t.theme.transitions.duration.shorter}),T.child,T.childLeaving,R,550,(function(t){return t.theme.transitions.easing.easeInOut}),T.childPulsate,L,(function(t){return t.theme.transitions.easing.easeInOut})),F=s.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiTouchRipple"}),i=r.center,u=void 0!==i&&i,l=r.classes,h=void 0===l?{}:l,d=r.className,p=Object(a.a)(r,P),b=s.useState([]),g=Object(n.a)(b,2),w=g[0],x=g[1],O=s.useRef(0),_=s.useRef(null);s.useEffect((function(){_.current&&(_.current(),_.current=null)}),[w]);var S=s.useRef(!1),k=s.useRef(null),E=s.useRef(null),M=s.useRef(null);s.useEffect((function(){return function(){clearTimeout(k.current)}}),[]);var C=s.useCallback((function(t){var e=t.pulsate,r=t.rippleX,n=t.rippleY,i=t.rippleSize,o=t.cb;x((function(t){return[].concat(Object(m.a)(t),[Object(y.jsx)(N,{classes:{ripple:Object(c.a)(h.ripple,T.ripple),rippleVisible:Object(c.a)(h.rippleVisible,T.rippleVisible),ripplePulsate:Object(c.a)(h.ripplePulsate,T.ripplePulsate),child:Object(c.a)(h.child,T.child),childLeaving:Object(c.a)(h.childLeaving,T.childLeaving),childPulsate:Object(c.a)(h.childPulsate,T.childPulsate)},timeout:550,pulsate:e,rippleX:r,rippleY:n,rippleSize:i},O.current)])})),O.current+=1,_.current=o}),[h]),j=s.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.pulsate,i=void 0!==n&&n,o=e.center,a=void 0===o?u||e.pulsate:o,s=e.fakeElement,c=void 0!==s&&s;if("mousedown"===t.type&&S.current)S.current=!1;else{"touchstart"===t.type&&(S.current=!0);var l,f,h,d=c?null:M.current,p=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)l=Math.round(p.width/2),f=Math.round(p.height/2);else{var m=t.touches?t.touches[0]:t,b=m.clientX,v=m.clientY;l=Math.round(b-p.left),f=Math.round(v-p.top)}if(a)(h=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(h+=1);else{var g=2*Math.max(Math.abs((d?d.clientWidth:0)-l),l)+2,y=2*Math.max(Math.abs((d?d.clientHeight:0)-f),f)+2;h=Math.sqrt(Math.pow(g,2)+Math.pow(y,2))}t.touches?null===E.current&&(E.current=function(){C({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})},k.current=setTimeout((function(){E.current&&(E.current(),E.current=null)}),80)):C({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})}}),[u,C]),A=s.useCallback((function(){j({},{pulsate:!0})}),[j]),D=s.useCallback((function(t,e){if(clearTimeout(k.current),"touchend"===t.type&&E.current)return E.current(),E.current=null,void(k.current=setTimeout((function(){D(t,e)})));E.current=null,x((function(t){return t.length>0?t.slice(1):t})),_.current=e}),[]);return s.useImperativeHandle(e,(function(){return{pulsate:A,start:j,stop:D}}),[A,j,D]),Object(y.jsx)(I,Object(o.a)({className:Object(c.a)(h.root,T.root,d),ref:M},p,{children:Object(y.jsx)(v.a,{component:null,exit:!0,children:w})}))}));function B(t){return Object(x.a)("MuiButtonBase",t)}var z,H=Object(O.a)("MuiButtonBase",["root","disabled","focusVisible"]),U=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"],W=Object(l.a)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(t,e){return e.root}})((z={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},Object(i.a)(z,"&.".concat(H.disabled),{pointerEvents:"none",cursor:"default"}),Object(i.a)(z,"@media print",{colorAdjust:"exact"}),z)),q=s.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiButtonBase"}),i=r.action,l=r.centerRipple,m=void 0!==l&&l,b=r.children,v=r.className,g=r.component,w=void 0===g?"button":g,x=r.disabled,O=void 0!==x&&x,_=r.disableRipple,S=void 0!==_&&_,k=r.disableTouchRipple,E=void 0!==k&&k,M=r.focusRipple,C=void 0!==M&&M,j=r.LinkComponent,A=void 0===j?"a":j,T=r.onBlur,P=r.onClick,D=r.onContextMenu,R=r.onDragLeave,L=r.onFocus,I=r.onFocusVisible,N=r.onKeyDown,z=r.onKeyUp,H=r.onMouseDown,q=r.onMouseLeave,V=r.onMouseUp,G=r.onTouchEnd,Y=r.onTouchMove,X=r.onTouchStart,$=r.tabIndex,K=void 0===$?0:$,Z=r.TouchRippleProps,J=r.type,Q=Object(a.a)(r,U),tt=s.useRef(null),et=s.useRef(null),rt=Object(p.a)(),nt=rt.isFocusVisibleRef,it=rt.onFocus,ot=rt.onBlur,at=rt.ref,st=s.useState(!1),ct=Object(n.a)(st,2),ut=ct[0],lt=ct[1];function ft(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;return Object(d.a)((function(n){return e&&e(n),!r&&et.current&&et.current[t](n),!0}))}O&&ut&&lt(!1),s.useImperativeHandle(i,(function(){return{focusVisible:function(){lt(!0),tt.current.focus()}}}),[]),s.useEffect((function(){ut&&C&&!S&&et.current.pulsate()}),[S,C,ut]);var ht=ft("start",H),dt=ft("stop",D),pt=ft("stop",R),mt=ft("stop",V),bt=ft("stop",(function(t){ut&&t.preventDefault(),q&&q(t)})),vt=ft("start",X),gt=ft("stop",G),yt=ft("stop",Y),wt=ft("stop",(function(t){ot(t),!1===nt.current&&lt(!1),T&&T(t)}),!1),xt=Object(d.a)((function(t){tt.current||(tt.current=t.currentTarget),it(t),!0===nt.current&&(lt(!0),I&&I(t)),L&&L(t)})),Ot=function(){var t=tt.current;return w&&"button"!==w&&!("A"===t.tagName&&t.href)},_t=s.useRef(!1),St=Object(d.a)((function(t){C&&!_t.current&&ut&&et.current&&" "===t.key&&(_t.current=!0,et.current.stop(t,(function(){et.current.start(t)}))),t.target===t.currentTarget&&Ot()&&" "===t.key&&t.preventDefault(),N&&N(t),t.target===t.currentTarget&&Ot()&&"Enter"===t.key&&!O&&(t.preventDefault(),P&&P(t))})),kt=Object(d.a)((function(t){C&&" "===t.key&&et.current&&ut&&!t.defaultPrevented&&(_t.current=!1,et.current.stop(t,(function(){et.current.pulsate(t)}))),z&&z(t),P&&t.target===t.currentTarget&&Ot()&&" "===t.key&&!t.defaultPrevented&&P(t)})),Et=w;"button"===Et&&(Q.href||Q.to)&&(Et=A);var Mt={};"button"===Et?(Mt.type=void 0===J?"button":J,Mt.disabled=O):(Q.href||Q.to||(Mt.role="button"),O&&(Mt["aria-disabled"]=O));var Ct=Object(h.a)(at,tt),jt=Object(h.a)(e,Ct),At=s.useState(!1),Tt=Object(n.a)(At,2),Pt=Tt[0],Dt=Tt[1];s.useEffect((function(){Dt(!0)}),[]);var Rt=Pt&&!S&&!O;var Lt=Object(o.a)({},r,{centerRipple:m,component:w,disabled:O,disableRipple:S,disableTouchRipple:E,focusRipple:C,tabIndex:K,focusVisible:ut}),It=function(t){var e=t.disabled,r=t.focusVisible,n=t.focusVisibleClassName,i=t.classes,o={root:["root",e&&"disabled",r&&"focusVisible"]},a=Object(u.a)(o,B,i);return r&&n&&(a.root+=" ".concat(n)),a}(Lt);return Object(y.jsxs)(W,Object(o.a)({as:Et,className:Object(c.a)(It.root,v),ownerState:Lt,onBlur:wt,onClick:P,onContextMenu:dt,onFocus:xt,onKeyDown:St,onKeyUp:kt,onMouseDown:ht,onMouseLeave:bt,onMouseUp:mt,onDragLeave:pt,onTouchEnd:gt,onTouchMove:yt,onTouchStart:vt,ref:jt,tabIndex:O?-1:K,type:J},Mt,Q,{children:[b,Rt?Object(y.jsx)(F,Object(o.a)({ref:et,center:m},Z)):null]}))}));e.a=q},function(t,e,r){"use strict";var n=r(506),i=r(513),o=r(277),a=r(507);var s=r(3),c=r(1),u=r(14),l=r(2),f=r(0),h=(r(399),r(10),r(8)),d=r(78),p=r(13),m=r(22),b=r(445),v=r(133),g=r(162),y=r(122),w=r(72),x=r(339),O=r(340);function _(t){return Object(x.a)("MuiCollapse",t)}Object(O.a)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var S=r(6),k=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],E=Object(p.a)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],"entered"===r.state&&e.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&e.hidden]}})((function(t){var e=t.theme,r=t.ownerState;return Object(l.a)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===r.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===r.state&&Object(l.a)({height:"auto",overflow:"visible"},"horizontal"===r.orientation&&{width:"auto"}),"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&{visibility:"hidden"})})),M=Object(p.a)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(t,e){return e.wrapper}})((function(t){var e=t.ownerState;return Object(l.a)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})})),C=Object(p.a)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(t,e){return e.wrapperInner}})((function(t){var e=t.ownerState;return Object(l.a)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})})),j=f.forwardRef((function(t,e){var r=Object(m.a)({props:t,name:"MuiCollapse"}),n=r.addEndListener,i=r.children,o=r.className,a=r.collapsedSize,s=void 0===a?"0px":a,p=r.component,x=r.easing,O=r.in,j=r.onEnter,A=r.onEntered,T=r.onEntering,P=r.onExit,D=r.onExited,R=r.onExiting,L=r.orientation,I=void 0===L?"vertical":L,N=r.style,F=r.timeout,B=void 0===F?v.b.standard:F,z=r.TransitionComponent,H=void 0===z?b.a:z,U=Object(u.a)(r,k),W=Object(l.a)({},r,{orientation:I,collapsedSize:s}),q=function(t){var e=t.orientation,r=t.classes,n={root:["root","".concat(e)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(e)],wrapperInner:["wrapperInner","".concat(e)]};return Object(d.a)(n,_,r)}(W),V=Object(y.a)(),G=f.useRef(),Y=f.useRef(null),X=f.useRef(),$="number"===typeof s?"".concat(s,"px"):s,K="horizontal"===I,Z=K?"width":"height";f.useEffect((function(){return function(){clearTimeout(G.current)}}),[]);var J=f.useRef(null),Q=Object(w.a)(e,J),tt=function(t){return function(e){if(t){var r=J.current;void 0===e?t(r):t(r,e)}}},et=function(){return Y.current?Y.current[K?"clientWidth":"clientHeight"]:0},rt=tt((function(t,e){Y.current&&K&&(Y.current.style.position="absolute"),t.style[Z]=$,j&&j(t,e)})),nt=tt((function(t,e){var r=et();Y.current&&K&&(Y.current.style.position="");var n=Object(g.a)({style:N,timeout:B,easing:x},{mode:"enter"}),i=n.duration,o=n.easing;if("auto"===B){var a=V.transitions.getAutoHeightDuration(r);t.style.transitionDuration="".concat(a,"ms"),X.current=a}else t.style.transitionDuration="string"===typeof i?i:"".concat(i,"ms");t.style[Z]="".concat(r,"px"),t.style.transitionTimingFunction=o,T&&T(t,e)})),it=tt((function(t,e){t.style[Z]="auto",A&&A(t,e)})),ot=tt((function(t){t.style[Z]="".concat(et(),"px"),P&&P(t)})),at=tt(D),st=tt((function(t){var e=et(),r=Object(g.a)({style:N,timeout:B,easing:x},{mode:"exit"}),n=r.duration,i=r.easing;if("auto"===B){var o=V.transitions.getAutoHeightDuration(e);t.style.transitionDuration="".concat(o,"ms"),X.current=o}else t.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");t.style[Z]=$,t.style.transitionTimingFunction=i,R&&R(t)}));return Object(S.jsx)(H,Object(l.a)({in:O,onEnter:rt,onEntered:it,onEntering:nt,onExit:ot,onExited:at,onExiting:st,addEndListener:function(t){"auto"===B&&(G.current=setTimeout(t,X.current||0)),n&&n(J.current,t)},nodeRef:J,timeout:"auto"===B?null:B},U,{children:function(t,e){return Object(S.jsx)(E,Object(l.a)({as:p,className:Object(h.a)(q.root,o,{entered:q.entered,exited:!O&&"0px"===$&&q.hidden}[t]),style:Object(l.a)(Object(c.a)({},K?"minWidth":"minHeight",$),N),ownerState:Object(l.a)({},W,{state:t}),ref:Q},e,{children:Object(S.jsx)(M,{ownerState:Object(l.a)({},W,{state:t}),className:q.wrapper,ref:Y,children:Object(S.jsx)(C,{ownerState:Object(l.a)({},W,{state:t}),className:q.wrapperInner,children:i})})}))}}))}));j.muiSupportAuto=!0;var A=j,T=r(894),P=r(532),D=r(220);function R(t){return Object(x.a)("MuiAccordion",t)}var L=Object(O.a)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),I=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],N=Object(p.a)(T.a,{name:"MuiAccordion",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(c.a)({},"& .".concat(L.region),e.region),e.root,!r.square&&e.rounded,!r.disableGutters&&e.gutters]}})((function(t){var e,r=t.theme,n={duration:r.transitions.duration.shortest};return e={position:"relative",transition:r.transitions.create(["margin"],n),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:r.palette.divider,transition:r.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&:before":{display:"none"}}},Object(c.a)(e,"&.".concat(L.expanded),{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}}),Object(c.a)(e,"&.".concat(L.disabled),{backgroundColor:r.palette.action.disabledBackground}),e}),(function(t){var e=t.theme,r=t.ownerState;return Object(l.a)({},!r.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!r.disableGutters&&Object(c.a)({},"&.".concat(L.expanded),{margin:"16px 0"}))})),F=f.forwardRef((function(t,e){var r,c=Object(m.a)({props:t,name:"MuiAccordion"}),p=c.children,b=c.className,v=c.defaultExpanded,g=void 0!==v&&v,y=c.disabled,w=void 0!==y&&y,x=c.disableGutters,O=void 0!==x&&x,_=c.expanded,k=c.onChange,E=c.square,M=void 0!==E&&E,C=c.TransitionComponent,j=void 0===C?A:C,T=c.TransitionProps,L=Object(u.a)(c,I),F=Object(D.a)({controlled:_,default:g,name:"Accordion",state:"expanded"}),B=Object(s.a)(F,2),z=B[0],H=B[1],U=f.useCallback((function(t){H(!z),k&&k(t,!z)}),[z,k,H]),W=f.Children.toArray(p),q=(r=W,Object(n.a)(r)||Object(i.a)(r)||Object(o.a)(r)||Object(a.a)()),V=q[0],G=q.slice(1),Y=f.useMemo((function(){return{expanded:z,disabled:w,disableGutters:O,toggle:U}}),[z,w,O,U]),X=Object(l.a)({},c,{square:M,disabled:w,disableGutters:O,expanded:z}),$=function(t){var e=t.classes,r={root:["root",!t.square&&"rounded",t.expanded&&"expanded",t.disabled&&"disabled",!t.disableGutters&&"gutters"],region:["region"]};return Object(d.a)(r,R,e)}(X);return Object(S.jsxs)(N,Object(l.a)({className:Object(h.a)($.root,b),ref:e,ownerState:X,square:M},L,{children:[Object(S.jsx)(P.a.Provider,{value:Y,children:V}),Object(S.jsx)(j,Object(l.a)({in:z,timeout:"auto"},T,{children:Object(S.jsx)("div",{"aria-labelledby":V.props.id,id:V.props["aria-controls"],role:"region",className:$.region,children:G})}))]}))}));e.a=F},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(523),c=r(159),u=Object(c.a)(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),l=Object(c.a)(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),f=r(62),h=Object(c.a)(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),d=r(38),p=r(26),m=o.createElement(l,null),b=o.createElement(u,null),v=o.createElement(h,null),g=o.forwardRef((function(t,e){var r=t.checkedIcon,c=void 0===r?m:r,u=t.classes,l=t.color,f=void 0===l?"secondary":l,h=t.icon,p=void 0===h?b:h,g=t.indeterminate,y=void 0!==g&&g,w=t.indeterminateIcon,x=void 0===w?v:w,O=t.inputProps,_=t.size,S=void 0===_?"medium":_,k=Object(i.a)(t,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),E=y?x:p,M=y?x:c;return o.createElement(s.a,Object(n.a)({type:"checkbox",classes:{root:Object(a.a)(u.root,u["color".concat(Object(d.a)(f))],y&&u.indeterminate),checked:u.checked,disabled:u.disabled},color:f,inputProps:Object(n.a)({"data-indeterminate":y},O),icon:o.cloneElement(E,{fontSize:void 0===E.props.fontSize&&"small"===S?S:E.props.fontSize}),checkedIcon:o.cloneElement(M,{fontSize:void 0===M.props.fontSize&&"small"===S?S:M.props.fontSize}),ref:e},k))}));e.a=Object(p.a)((function(t){return{root:{color:t.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(f.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(f.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}}}}),{name:"MuiCheckbox"})(g)},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(14),a=r(2),s=r(0),c=(r(10),r(8)),u=r(78),l=r(889),f=r(13),h=r(122),d=r(22),p=r(133),m=r(141),b=r(24),v=r(1312),g=r(147),y=r(894),w=r(339),x=r(340);function O(t){return Object(w.a)("MuiSnackbarContent",t)}Object(x.a)("MuiSnackbarContent",["root","message","action"]);var _=r(6),S=["action","className","message","role"],k=Object(f.a)(y.a,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme,r="light"===e.palette.mode?.8:.98,n=Object(g.c)(e.palette.background.default,r);return Object(a.a)({},e.typography.body2,Object(i.a)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}))})),E=Object(f.a)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:function(t,e){return e.message}})({padding:"8px 0"}),M=Object(f.a)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:function(t,e){return e.action}})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),C=s.forwardRef((function(t,e){var r=Object(d.a)({props:t,name:"MuiSnackbarContent"}),n=r.action,i=r.className,s=r.message,l=r.role,f=void 0===l?"alert":l,h=Object(o.a)(r,S),p=r,m=function(t){var e=t.classes;return Object(u.a)({root:["root"],action:["action"],message:["message"]},O,e)}(p);return Object(_.jsxs)(k,Object(a.a)({role:f,square:!0,elevation:6,className:Object(c.a)(m.root,i),ownerState:p,ref:e},h,{children:[Object(_.jsx)(E,{className:m.message,ownerState:p,children:s}),n?Object(_.jsx)(M,{className:m.action,ownerState:p,children:n}):null]}))}));function j(t){return Object(w.a)("MuiSnackbar",t)}Object(x.a)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);var A=["onEnter","onExited"],T=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],P=Object(f.a)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["anchorOrigin".concat(Object(b.a)(r.anchorOrigin.vertical)).concat(Object(b.a)(r.anchorOrigin.horizontal))]]}})((function(t){var e=t.theme,r=t.ownerState,n=Object(a.a)({},!r.isRtl&&{left:"50%",right:"auto",transform:"translateX(-50%)"},r.isRtl&&{right:"50%",left:"auto",transform:"translateX(50%)"});return Object(a.a)({zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===r.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===r.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===r.anchorOrigin.horizontal&&{justifyContent:"flex-end"},Object(i.a)({},e.breakpoints.up("sm"),Object(a.a)({},"top"===r.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===r.anchorOrigin.horizontal&&n,"left"===r.anchorOrigin.horizontal&&Object(a.a)({},!r.isRtl&&{left:24,right:"auto"},r.isRtl&&{right:24,left:"auto"}),"right"===r.anchorOrigin.horizontal&&Object(a.a)({},!r.isRtl&&{right:24,left:"auto"},r.isRtl&&{left:24,right:"auto"}))))})),D=s.forwardRef((function(t,e){var r=Object(d.a)({props:t,name:"MuiSnackbar"}),i=r.action,f=r.anchorOrigin,g=(f=void 0===f?{vertical:"bottom",horizontal:"left"}:f).vertical,y=f.horizontal,w=r.autoHideDuration,x=void 0===w?null:w,O=r.children,S=r.className,k=r.ClickAwayListenerProps,E=r.ContentProps,M=r.disableWindowBlurListener,D=void 0!==M&&M,R=r.message,L=r.onBlur,I=r.onClose,N=r.onFocus,F=r.onMouseEnter,B=r.onMouseLeave,z=r.open,H=r.resumeHideDuration,U=r.TransitionComponent,W=void 0===U?v.a:U,q=r.transitionDuration,V=void 0===q?{enter:p.b.enteringScreen,exit:p.b.leavingScreen}:q,G=r.TransitionProps,Y=(G=void 0===G?{}:G).onEnter,X=G.onExited,$=Object(o.a)(r.TransitionProps,A),K=Object(o.a)(r,T),Z="rtl"===Object(h.a)().direction,J=Object(a.a)({},r,{anchorOrigin:{vertical:g,horizontal:y},isRtl:Z}),Q=function(t){var e=t.classes,r=t.anchorOrigin,n={root:["root","anchorOrigin".concat(Object(b.a)(r.vertical)).concat(Object(b.a)(r.horizontal))]};return Object(u.a)(n,j,e)}(J),tt=s.useRef(),et=s.useState(!0),rt=Object(n.a)(et,2),nt=rt[0],it=rt[1],ot=Object(m.a)((function(){I&&I.apply(void 0,arguments)})),at=Object(m.a)((function(t){I&&null!=t&&(clearTimeout(tt.current),tt.current=setTimeout((function(){ot(null,"timeout")}),t))}));s.useEffect((function(){return z&&at(x),function(){clearTimeout(tt.current)}}),[z,x,at]);var st=function(){clearTimeout(tt.current)},ct=s.useCallback((function(){null!=x&&at(null!=H?H:.5*x)}),[x,H,at]);return s.useEffect((function(){if(!D&&z)return window.addEventListener("focus",ct),window.addEventListener("blur",st),function(){window.removeEventListener("focus",ct),window.removeEventListener("blur",st)}}),[D,ct,z]),s.useEffect((function(){if(z)return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||"Escape"!==t.key&&"Esc"!==t.key||I&&I(t,"escapeKeyDown")}}),[nt,z,I]),!z&&nt?null:Object(_.jsx)(l.a,Object(a.a)({onClickAway:function(t){I&&I(t,"clickaway")}},k,{children:Object(_.jsx)(P,Object(a.a)({className:Object(c.a)(Q.root,S),onBlur:function(t){L&&L(t),ct()},onFocus:function(t){N&&N(t),st()},onMouseEnter:function(t){F&&F(t),st()},onMouseLeave:function(t){B&&B(t),ct()},ownerState:J,ref:e},K,{children:Object(_.jsx)(W,Object(a.a)({appear:!0,in:z,timeout:V,direction:"top"===g?"down":"up",onEnter:function(t,e){it(!1),Y&&Y(t,e)},onExited:function(t){it(!0),X&&X(t)}},$,{children:O||Object(_.jsx)(C,Object(a.a)({message:R,action:i},E))}))}))}))}));e.a=D},function(t,e,r){"use strict";r.d(e,"a",(function(){return ht}));var n=r(857),i=r(207),o=r.n(i),a=r(300),s=r.n(a),c=r(243),u=r.n(c),l=r(44),f=r.n(l),h=r(114),d=r.n(h),p=r(36),m=r.n(p),b=r(68),v=r.n(b),g=r(0),y=r.n(g),w=r(55),x=r.n(w),O=r(174),_=r(211),S=r(291),k=r(80),E=r(292),M=r(154),C=r(17),j=r(37),A=r(42);function T(t){return(T="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function D(){return(D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function R(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?R(Object(r),!0).forEach((function(e){I(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function I(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function z(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=U(t);if(e){var i=U(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return H(this,r)}}function H(t,e){return!e||"object"!==T(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var W=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B(t,e)}(a,t);var e,r,n,i=z(a);function a(){var t;N(this,a);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=i.call.apply(i,[this].concat(r))).state={isAnimationFinished:!0},t.id=Object(C.k)("recharts-area-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),f()(e)&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),f()(e)&&e()},t}return e=a,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],(r=[{key:"renderDots",value:function(t,e){var r=this.props.isAnimationActive,n=this.state.isAnimationFinished;if(r&&!n)return null;var i=this.props,o=i.dot,s=i.points,c=i.dataKey,u=Object(A.c)(this.props),l=Object(A.c)(o,!0),f=s.map((function(t,e){var r=L(L(L({key:"dot-".concat(e),r:3},u),l),{},{dataKey:c,cx:t.x,cy:t.y,index:e,value:t.value,payload:t.payload});return a.renderDotItem(o,r)})),h={clipPath:t?"url(#clipPath-".concat(e,")"):null};return y.a.createElement(k.a,D({className:"recharts-area-dots"},h),f)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].x,a=n[n.length-1].x,s=t*Math.abs(o-a),c=u()(n.map((function(t){return t.y||0})));return Object(C.h)(r)&&"number"===typeof r?c=Math.max(r,c):r&&v()(r)&&r.length&&(c=Math.max(u()(r.map((function(t){return t.y||0}))),c)),Object(C.h)(c)?y.a.createElement("rect",{x:o<a?o:o-s,y:0,width:s,height:Math.floor(c+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].y,a=n[n.length-1].y,s=t*Math.abs(o-a),c=u()(n.map((function(t){return t.x||0})));return Object(C.h)(r)&&"number"===typeof r?c=Math.max(r,c):r&&v()(r)&&r.length&&(c=Math.max(u()(r.map((function(t){return t.x||0}))),c)),Object(C.h)(c)?y.a.createElement("rect",{x:0,y:o<a?o:o-s,width:c+(i?parseInt("".concat(i),10):1),height:Math.floor(s)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,n){var i=this.props,o=i.layout,a=i.type,s=i.stroke,c=i.connectNulls,u=i.isRange,l=(i.ref,P(i,["layout","type","stroke","connectNulls","isRange","ref"]));return y.a.createElement(k.a,{clipPath:r?"url(#clipPath-".concat(n,")"):null},y.a.createElement(_.a,D({},Object(A.c)(l,!0),{points:t,connectNulls:c,type:a,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==s&&y.a.createElement(_.a,D({},Object(A.c)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:c,fill:"none",points:t})),"none"!==s&&u&&y.a.createElement(_.a,D({},Object(A.c)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:c,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,i=n.points,o=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,f=n.animationId,h=this.state,d=h.prevPoints,p=h.prevBaseLine;return y.a.createElement(O.a,{begin:c,duration:u,isActive:a,easing:l,from:{t:0},to:{t:1},key:"area-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(d){var c,u=d.length/i.length,l=i.map((function(t,e){var r=Math.floor(e*u);if(d[r]){var n=d[r],i=Object(C.f)(n.x,t.x),o=Object(C.f)(n.y,t.y);return L(L({},t),{},{x:i(a),y:o(a)})}return t}));return c=Object(C.h)(o)&&"number"===typeof o?Object(C.f)(p,o)(a):m()(o)||s()(o)?Object(C.f)(p,0)(a):o.map((function(t,e){var r=Math.floor(e*u);if(p[r]){var n=p[r],i=Object(C.f)(n.x,t.x),o=Object(C.f)(n.y,t.y);return L(L({},t),{},{x:i(a),y:o(a)})}return t})),r.renderAreaStatically(l,c,t,e)}return y.a.createElement(k.a,null,y.a.createElement("defs",null,y.a.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),y.a.createElement(k.a,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(i,o,t,e)))}))}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,a=r.isAnimationActive,s=this.state,c=s.prevPoints,u=s.prevBaseLine,l=s.totalLength;return a&&n&&n.length&&(!c&&l>0||!o()(c,n)||!o()(u,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.dot,n=t.points,i=t.className,o=t.top,a=t.left,s=t.xAxis,c=t.yAxis,u=t.width,l=t.height,f=t.isAnimationActive,h=t.id;if(e||!n||!n.length)return null;var d=this.state.isAnimationFinished,p=1===n.length,b=x()("recharts-area",i),v=s&&s.allowDataOverflow||c&&c.allowDataOverflow,g=m()(h)?this.id:h;return y.a.createElement(k.a,{className:b},v?y.a.createElement("defs",null,y.a.createElement("clipPath",{id:"clipPath-".concat(g)},y.a.createElement("rect",{x:a,y:o,width:u,height:Math.floor(l)}))):null,p?null:this.renderArea(v,g),(r||p)&&this.renderDots(v,g),(!f||d)&&E.a.renderCallByParent(this.props,n))}}])&&F(e.prototype,r),n&&F(e,n),a}(g.PureComponent);W.displayName="Area",W.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!M.a.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"},W.getBaseValue=function(t,e,r){var n=t.layout,i=t.baseValue;if(Object(C.h)(i)&&"number"===typeof i)return i;var o="horizontal"===n?r:e,a=o.scale.domain();if("number"===o.type){var s=Math.max(a[0],a[1]),c=Math.min(a[0],a[1]);return"dataMin"===i?c:"dataMax"===i||s<0?s:Math.max(Math.min(a[0],a[1]),0)}return"dataMin"===i?a[0]:"dataMax"===i?a[1]:a[0]},W.getComposedData=function(t){var e,r=t.props,n=t.xAxis,i=t.yAxis,o=t.xAxisTicks,a=t.yAxisTicks,s=t.bandSize,c=t.dataKey,u=t.stackedData,l=t.dataStartIndex,f=t.displayedData,h=t.offset,p=r.layout,b=u&&u.length,g=W.getBaseValue(r,n,i),y=!1,w=f.map((function(t,e){var r,f=Object(j.w)(t,c);b?r=u[l+e]:(r=f,v()(r)?y=!0:r=[g,r]);var h=m()(r[1])||b&&m()(f);return"horizontal"===p?{x:Object(j.k)({axis:n,ticks:o,bandSize:s,entry:t,index:e}),y:h?null:i.scale(r[1]),value:r,payload:t}:{x:h?null:n.scale(r[1]),y:Object(j.k)({axis:i,ticks:a,bandSize:s,entry:t,index:e}),value:r,payload:t}}));return e=b||y?w.map((function(t){return"horizontal"===p?{x:t.x,y:m()(d()(t,"value[0]"))||m()(d()(t,"y"))?null:i.scale(d()(t,"value[0]"))}:{x:m()(d()(t,"value[0]"))?null:n.scale(d()(t,"value[0]")),y:t.y}})):"horizontal"===p?i.scale(g):n.scale(g),L({points:w,baseLine:e,layout:p,isRange:y},h)},W.renderDotItem=function(t,e){return y.a.isValidElement(t)?y.a.cloneElement(t,e):f()(t)?t(e):y.a.createElement(S.a,D({},e,{className:"recharts-area-dot"}))};var q=r(869),V=r(867),G=r(74),Y=function(){return null};Y.displayName="ZAxis",Y.defaultProps={zAxisId:0,range:[64,64],scale:"auto",type:"number"};var X=r(545),$=r(371),K=r(547);function Z(t){return(Z="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(){return(J=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(r),!0).forEach((function(e){et(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function it(t,e){return(it=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ot(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=st(t);if(e){var i=st(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return at(this,r)}}function at(t,e){return!e||"object"!==Z(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ct=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&it(t,e)}(a,t);var e,r,n,i=ot(a);function a(){var t;rt(this,a);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=i.call.apply(i,[this].concat(r))).state={isAnimationFinished:!1},t.handleAnimationEnd=function(){t.setState({isAnimationFinished:!0})},t.handleAnimationStart=function(){t.setState({isAnimationFinished:!1})},t.id=Object(C.k)("recharts-scatter-"),t}return e=a,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"renderSymbolItem",value:function(t,e){var r;return y.a.isValidElement(t)?r=y.a.cloneElement(t,e):f()(t)?r=t(e):"string"===typeof t&&(r=y.a.createElement(X.a,J({},e,{type:t}))),r}}],(r=[{key:"renderSymbolsStatically",value:function(t){var e=this,r=this.props,n=r.shape,i=r.activeShape,o=r.activeIndex,s=Object(A.c)(this.props);return t.map((function(t,r){var c=tt(tt({key:"symbol-".concat(r)},s),t);return y.a.createElement(k.a,J({className:"recharts-scatter-symbol"},Object(A.b)(e.props,t,r),{key:"symbol-".concat(r)}),a.renderSymbolItem(o===r?i:n,c))}))}},{key:"renderSymbolsWithAnimation",value:function(){var t=this,e=this.props,r=e.points,n=e.isAnimationActive,i=e.animationBegin,o=e.animationDuration,a=e.animationEasing,s=e.animationId,c=this.state.prevPoints;return y.a.createElement(O.a,{begin:i,duration:o,isActive:n,easing:a,from:{t:0},to:{t:1},key:"pie-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var n=e.t,i=r.map((function(t,e){var r=c&&c[e];if(r){var i=Object(C.f)(r.cx,t.cx),o=Object(C.f)(r.cy,t.cy),a=Object(C.f)(r.size,t.size);return tt(tt({},t),{},{cx:i(n),cy:o(n),size:a(n)})}var s=Object(C.f)(0,t.size);return tt(tt({},t),{},{size:s(n)})}));return y.a.createElement(k.a,null,t.renderSymbolsStatically(i))}))}},{key:"renderSymbols",value:function(){var t=this.props,e=t.points,r=t.isAnimationActive,n=this.state.prevPoints;return!(r&&e&&e.length)||n&&o()(n,e)?this.renderSymbolsStatically(e):this.renderSymbolsWithAnimation()}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.points,r=t.xAxis,n=t.yAxis,i=t.children,o=Object(G.a)(i,$.a.displayName);if(!o)return null;function a(t,e){return{x:t.cx,y:t.cy,value:+t.node.y,errorVal:Object(j.w)(t,e)}}function s(t,e){return{x:t.cx,y:t.cy,value:+t.node.x,errorVal:Object(j.w)(t,e)}}return o.map((function(t,i){var o=t.props.direction;return y.a.cloneElement(t,{key:i,data:e,xAxis:r,yAxis:n,layout:"x"===o?"vertical":"horizontal",dataPointFormatter:"x"===o?s:a})}))}},{key:"renderLine",value:function(){var t,e,r=this.props,n=r.points,i=r.line,o=r.lineType,a=r.lineJointType,s=Object(A.c)(this.props),c=Object(A.c)(i);if("joint"===o)t=n.map((function(t){return{x:t.cx,y:t.cy}}));else if("fitting"===o){var u=Object(C.c)(n),l=u.xmin,h=u.xmax,d=u.a,p=u.b,m=function(t){return d*t+p};t=[{x:l,y:m(l)},{x:h,y:m(h)}]}var b=tt(tt(tt({},s),{},{fill:"none",stroke:s&&s.fill},c),{},{points:t});return e=y.a.isValidElement(i)?y.a.cloneElement(i,b):f()(i)?i(b):y.a.createElement(_.a,J({},b,{type:a})),y.a.createElement(k.a,{className:"recharts-scatter-line",key:"recharts-scatter-line"},e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.points,n=t.line,i=t.className,o=t.xAxis,a=t.yAxis,s=t.left,c=t.top,u=t.width,l=t.height,f=t.id,h=t.isAnimationActive;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,p=x()("recharts-scatter",i),b=o&&o.allowDataOverflow||a&&a.allowDataOverflow,v=m()(f)?this.id:f;return y.a.createElement(k.a,{className:p,clipPath:b?"url(#clipPath-".concat(v,")"):null},b?y.a.createElement("defs",null,y.a.createElement("clipPath",{id:"clipPath-".concat(v)},y.a.createElement("rect",{x:s,y:c,width:u,height:l}))):null,n&&this.renderLine(),this.renderErrorBar(),y.a.createElement(k.a,{key:"recharts-scatter-symbols"},this.renderSymbols()),(!h||d)&&E.a.renderCallByParent(this.props,r))}}])&&nt(e.prototype,r),n&&nt(e,n),a}(g.PureComponent);ct.displayName="Scatter",ct.defaultProps={xAxisId:0,yAxisId:0,zAxisId:0,legendType:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!M.a.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"},ct.getComposedData=function(t){var e=t.xAxis,r=t.yAxis,n=t.zAxis,i=t.item,o=t.displayedData,a=t.xAxisTicks,s=t.yAxisTicks,c=t.offset,u=i.props.tooltipType,l=Object(G.a)(i.props.children,K.a.displayName),f=m()(e.dataKey)?i.props.dataKey:e.dataKey,h=m()(r.dataKey)?i.props.dataKey:r.dataKey,d=n&&n.dataKey,p=n?n.range:Y.defaultProps.range,b=p&&p[0],v=e.scale.bandwidth?e.scale.bandwidth():0,g=r.scale.bandwidth?r.scale.bandwidth():0,y=o.map((function(t,o){var c=Object(j.w)(t,f),p=Object(j.w)(t,h),y=!m()(d)&&Object(j.w)(t,d)||"-",w=[{name:m()(e.dataKey)?i.props.name:e.name||e.dataKey,unit:e.unit||"",value:c,payload:t,dataKey:f,type:u},{name:m()(r.dataKey)?i.props.name:r.name||r.dataKey,unit:r.unit||"",value:p,payload:t,dataKey:h,type:u}];"-"!==y&&w.push({name:n.name||n.dataKey,unit:n.unit||"",value:y,payload:t,dataKey:d,type:u});var x=Object(j.k)({axis:e,ticks:a,bandSize:v,entry:t,index:o,dataKey:f}),O=Object(j.k)({axis:r,ticks:s,bandSize:g,entry:t,index:o,dataKey:h}),_="-"!==y?n.scale(y):b,S=Math.sqrt(Math.max(_,0)/Math.PI);return tt(tt({},t),{},{cx:x,cy:O,x:x-S,y:O-S,xAxis:e,yAxis:r,zAxis:n,width:2*S,height:2*S,size:_,node:{x:c,y:p,z:y},tooltipPayload:w,tooltipPosition:{x:x,y:O},payload:t},l&&l[o]&&l[o].props)}));return tt({points:y},c)};var ut=r(870),lt=r(871),ft=r(240),ht=Object(n.a)({chartName:"ComposedChart",GraphicalChild:[V.a,W,q.a,ct],axisComponents:[{axisType:"xAxis",AxisComp:ut.a},{axisType:"yAxis",AxisComp:lt.a},{axisType:"zAxis",AxisComp:Y}],formatAxisMap:ft.b})},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(252)),c=r(340),u=r(339);function l(t){return Object(u.a)("MuiModal",t)}Object(c.a)("MuiModal",["root","hidden"]);var f=r(8),h=r(441),d=r(304),p=r(885),m=r(1308),b=r(78),v=r(1414),g=r(45),y=r(46),w=r(19),x=r(660),O=r(1413);function _(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function S(t){return parseInt(Object(x.a)(t).getComputedStyle(t).paddingRight,10)||0}function k(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[e,r].concat(Object(w.a)(n)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){-1===o.indexOf(t)&&-1===a.indexOf(t.tagName)&&_(t,i)}))}function E(t,e){var r=-1;return t.some((function(t,n){return!!e(t)&&(r=n,!0)})),r}function M(t,e){var r=[],n=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(d.a)(t);return e.body===t?Object(x.a)(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(n)){var i=Object(O.a)(Object(d.a)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight="".concat(S(n)+i,"px");var o=Object(d.a)(n).querySelectorAll(".mui-fixed");[].forEach.call(o,(function(t){r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(S(t)+i,"px")}))}var a=n.parentElement,s=Object(x.a)(n),c="HTML"===(null==a?void 0:a.nodeName)&&"scroll"===s.getComputedStyle(a).overflowY?a:n;r.push({value:c.style.overflow,property:"overflow",el:c},{value:c.style.overflowX,property:"overflow-x",el:c},{value:c.style.overflowY,property:"overflow-y",el:c}),c.style.overflow="hidden"}return function(){r.forEach((function(t){var e=t.value,r=t.el,n=t.property;e?r.style.setProperty(n,e):r.style.removeProperty(n)}))}}var C=function(){function t(){Object(g.a)(this,t),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return Object(y.a)(t,[{key:"add",value:function(t,e){var r=this.modals.indexOf(t);if(-1!==r)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&_(t.modalRef,!1);var n=function(t){var e=[];return[].forEach.call(t.children,(function(t){"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);k(e,t.mount,t.modalRef,n,!0);var i=E(this.containers,(function(t){return t.container===e}));return-1!==i?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblings:n}),r)}},{key:"mount",value:function(t,e){var r=E(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];n.restore||(n.restore=M(n,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var r=E(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(t),1),this.modals.splice(e,1),0===n.modals.length)n.restore&&n.restore(),t.modalRef&&_(t.modalRef,!0),k(n.container,t.mount,t.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=n.modals[n.modals.length-1];i.modalRef&&_(i.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}(),j=r(1311),A=r(6),T=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];var P=new C,D=a.forwardRef((function(t,e){var r=t.BackdropComponent,c=t.BackdropProps,u=t.children,g=t.classes,y=t.className,w=t.closeAfterTransition,x=void 0!==w&&w,O=t.component,S=void 0===O?"div":O,k=t.components,E=void 0===k?{}:k,M=t.componentsProps,C=void 0===M?{}:M,D=t.container,R=t.disableAutoFocus,L=void 0!==R&&R,I=t.disableEnforceFocus,N=void 0!==I&&I,F=t.disableEscapeKeyDown,B=void 0!==F&&F,z=t.disablePortal,H=void 0!==z&&z,U=t.disableRestoreFocus,W=void 0!==U&&U,q=t.disableScrollLock,V=void 0!==q&&q,G=t.hideBackdrop,Y=void 0!==G&&G,X=t.keepMounted,$=void 0!==X&&X,K=t.manager,Z=void 0===K?P:K,J=t.onBackdropClick,Q=t.onClose,tt=t.onKeyDown,et=t.open,rt=t.theme,nt=t.onTransitionEnter,it=t.onTransitionExited,ot=Object(i.a)(t,T),at=a.useState(!0),st=Object(n.a)(at,2),ct=st[0],ut=st[1],lt=a.useRef({}),ft=a.useRef(null),ht=a.useRef(null),dt=Object(h.a)(ht,e),pt=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(t),mt=function(){return lt.current.modalRef=ht.current,lt.current.mountNode=ft.current,lt.current},bt=function(){Z.mount(mt(),{disableScrollLock:V}),ht.current.scrollTop=0},vt=Object(p.a)((function(){var t=function(t){return"function"===typeof t?t():t}(D)||Object(d.a)(ft.current).body;Z.add(mt(),t),ht.current&&bt()})),gt=a.useCallback((function(){return Z.isTopModal(mt())}),[Z]),yt=Object(p.a)((function(t){ft.current=t,t&&(et&&gt()?bt():_(ht.current,!0))})),wt=a.useCallback((function(){Z.remove(mt())}),[Z]);a.useEffect((function(){return function(){wt()}}),[wt]),a.useEffect((function(){et?vt():pt&&x||wt()}),[et,wt,pt,x,vt]);var xt=Object(o.a)({},t,{classes:g,closeAfterTransition:x,disableAutoFocus:L,disableEnforceFocus:N,disableEscapeKeyDown:B,disablePortal:H,disableRestoreFocus:W,disableScrollLock:V,exited:ct,hideBackdrop:Y,keepMounted:$}),Ot=function(t){var e=t.open,r=t.exited,n=t.classes,i={root:["root",!e&&r&&"hidden"]};return Object(b.a)(i,l,n)}(xt);if(!$&&!et&&(!pt||ct))return null;var _t={};void 0===u.props.tabIndex&&(_t.tabIndex="-1"),pt&&(_t.onEnter=Object(m.a)((function(){ut(!1),nt&&nt()}),u.props.onEnter),_t.onExited=Object(m.a)((function(){ut(!0),it&&it(),x&&wt()}),u.props.onExited));var St=E.Root||S,kt=C.root||{};return Object(A.jsx)(v.a,{ref:yt,container:D,disablePortal:H,children:Object(A.jsxs)(St,Object(o.a)({role:"presentation"},kt,!Object(s.a)(St)&&{as:S,ownerState:Object(o.a)({},xt,kt.ownerState),theme:rt},ot,{ref:dt,onKeyDown:function(t){tt&&tt(t),"Escape"===t.key&&gt()&&(B||(t.stopPropagation(),Q&&Q(t,"escapeKeyDown")))},className:Object(f.a)(Ot.root,kt.className,y),children:[!Y&&r?Object(A.jsx)(r,Object(o.a)({open:et,onClick:function(t){t.target===t.currentTarget&&(J&&J(t),Q&&Q(t,"backdropClick"))}},c)):null,Object(A.jsx)(j.a,{disableEnforceFocus:N,disableAutoFocus:L,disableRestoreFocus:W,isEnabled:gt,open:et,children:a.cloneElement(u,_t)})]}))})})),R=r(13),L=r(22),I=r(1323),N=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],F=Object(R.a)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.open&&r.exited&&e.hidden]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!r.open&&r.exited&&{visibility:"hidden"})})),B=Object(R.a)(I.a,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(t,e){return e.backdrop}})({zIndex:-1}),z=a.forwardRef((function(t,e){var r,c=Object(L.a)({name:"MuiModal",props:t}),u=c.BackdropComponent,l=void 0===u?B:u,f=c.closeAfterTransition,h=void 0!==f&&f,d=c.children,p=c.components,m=void 0===p?{}:p,b=c.componentsProps,v=void 0===b?{}:b,g=c.disableAutoFocus,y=void 0!==g&&g,w=c.disableEnforceFocus,x=void 0!==w&&w,O=c.disableEscapeKeyDown,_=void 0!==O&&O,S=c.disablePortal,k=void 0!==S&&S,E=c.disableRestoreFocus,M=void 0!==E&&E,C=c.disableScrollLock,j=void 0!==C&&C,T=c.hideBackdrop,P=void 0!==T&&T,R=c.keepMounted,I=void 0!==R&&R,z=Object(i.a)(c,N),H=a.useState(!0),U=Object(n.a)(H,2),W=U[0],q=U[1],V={closeAfterTransition:h,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:_,disablePortal:k,disableRestoreFocus:M,disableScrollLock:j,hideBackdrop:P,keepMounted:I},G=function(t){return t.classes}(Object(o.a)({},c,V,{exited:W}));return Object(A.jsx)(D,Object(o.a)({components:Object(o.a)({Root:F},m),componentsProps:{root:Object(o.a)({},v.root,(!m.Root||!Object(s.a)(m.Root))&&{ownerState:Object(o.a)({},null==(r=v.root)?void 0:r.ownerState)})},BackdropComponent:l,onTransitionEnter:function(){return q(!1)},onTransitionExited:function(){return q(!0)},ref:e},z,{classes:G},V,{children:d}))}));e.a=z},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(22),u=r(13),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiStepper",t)}Object(f.a)("MuiStepper",["root","horizontal","vertical","alternativeLabel"]);var d=r(24),p=r(231),m=r(290);function b(t){return Object(l.a)("MuiStepConnector",t)}Object(f.a)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var v=r(6),g=["className"],y=Object(u.a)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],r.alternativeLabel&&e.alternativeLabel,r.completed&&e.completed]}})((function(t){var e=t.ownerState;return Object(i.a)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})})),w=Object(u.a)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:function(t,e){var r=t.ownerState;return[e.line,e["line".concat(Object(d.a)(r.orientation))]]}})((function(t){var e=t.ownerState,r=t.theme;return Object(i.a)({display:"block",borderColor:"light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[600]},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),x=o.forwardRef((function(t,e){var r=Object(c.a)({props:t,name:"MuiStepConnector"}),u=r.className,l=Object(n.a)(r,g),f=o.useContext(p.a),h=f.alternativeLabel,x=f.orientation,O=void 0===x?"horizontal":x,_=o.useContext(m.a),S=_.active,k=_.disabled,E=_.completed,M=Object(i.a)({},r,{alternativeLabel:h,orientation:O,active:S,completed:E,disabled:k}),C=function(t){var e=t.classes,r=t.orientation,n={root:["root",r,t.alternativeLabel&&"alternativeLabel",t.active&&"active",t.completed&&"completed",t.disabled&&"disabled"],line:["line","line".concat(Object(d.a)(r))]};return Object(s.a)(n,b,e)}(M);return Object(v.jsx)(y,Object(i.a)({className:Object(a.a)(C.root,u),ref:e,ownerState:M},l,{children:Object(v.jsx)(w,{className:C.line,ownerState:M})}))})),O=["activeStep","alternativeLabel","children","className","connector","nonLinear","orientation"],_=Object(u.a)("div",{name:"MuiStepper",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],r.alternativeLabel&&e.alternativeLabel]}})((function(t){var e=t.ownerState;return Object(i.a)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"})})),S=Object(v.jsx)(x,{}),k=o.forwardRef((function(t,e){var r=Object(c.a)({props:t,name:"MuiStepper"}),u=r.activeStep,l=void 0===u?0:u,f=r.alternativeLabel,d=void 0!==f&&f,m=r.children,b=r.className,g=r.connector,y=void 0===g?S:g,w=r.nonLinear,x=void 0!==w&&w,k=r.orientation,E=void 0===k?"horizontal":k,M=Object(n.a)(r,O),C=Object(i.a)({},r,{alternativeLabel:d,orientation:E}),j=function(t){var e=t.orientation,r=t.alternativeLabel,n=t.classes,i={root:["root",e,r&&"alternativeLabel"]};return Object(s.a)(i,h,n)}(C),A=o.Children.toArray(m).filter(Boolean),T=A.map((function(t,e){return o.cloneElement(t,Object(i.a)({index:e,last:e+1===A.length},t.props))})),P=o.useMemo((function(){return{activeStep:l,alternativeLabel:d,connector:y,nonLinear:x,orientation:E}}),[l,d,y,x,E]);return Object(v.jsx)(p.a.Provider,{value:P,children:Object(v.jsx)(_,Object(i.a)({ownerState:C,className:Object(a.a)(j.root,b),ref:e},M,{children:T}))})}));e.a=k},function(t,e,r){"use strict";var n=r(20),i=r(73),o=r(2),a=r(0),s=(r(10),r(8)),c=r(26),u=r(140),l=r(76),f=r(124),h=r(64),d=r(148);function p(t){return t.substring(2).toLowerCase()}var m=function(t){var e=t.children,r=t.disableReactTree,n=void 0!==r&&r,i=t.mouseEvent,o=void 0===i?"onClick":i,s=t.onClickAway,c=t.touchEvent,u=void 0===c?"onTouchEnd":c,m=a.useRef(!1),b=a.useRef(null),v=a.useRef(!1),g=a.useRef(!1);a.useEffect((function(){return setTimeout((function(){v.current=!0}),0),function(){v.current=!1}}),[]);var y=a.useCallback((function(t){b.current=l.findDOMNode(t)}),[]),w=Object(h.a)(e.ref,y),x=Object(d.a)((function(t){var e=g.current;if(g.current=!1,v.current&&b.current&&!function(t){return document.documentElement.clientWidth<t.clientX||document.documentElement.clientHeight<t.clientY}(t))if(m.current)m.current=!1;else{var r;if(t.composedPath)r=t.composedPath().indexOf(b.current)>-1;else r=!Object(f.a)(b.current).documentElement.contains(t.target)||b.current.contains(t.target);r||!n&&e||s(t)}})),O=function(t){return function(r){g.current=!0;var n=e.props[t];n&&n(r)}},_={ref:w};return!1!==u&&(_[u]=O(u)),a.useEffect((function(){if(!1!==u){var t=p(u),e=Object(f.a)(b.current),r=function(){m.current=!0};return e.addEventListener(t,x),e.addEventListener("touchmove",r),function(){e.removeEventListener(t,x),e.removeEventListener("touchmove",r)}}}),[x,u]),!1!==o&&(_[o]=O(o)),a.useEffect((function(){if(!1!==o){var t=p(o),e=Object(f.a)(b.current);return e.addEventListener(t,x),function(){e.removeEventListener(t,x)}}}),[x,o]),a.createElement(a.Fragment,null,a.cloneElement(e,_))},b=r(38),v=r(186),g=r(1305),y=r(658),w=r(62),x=a.forwardRef((function(t,e){var r=t.action,i=t.classes,c=t.className,u=t.message,l=t.role,f=void 0===l?"alert":l,h=Object(n.a)(t,["action","classes","className","message","role"]);return a.createElement(y.a,Object(o.a)({role:f,square:!0,elevation:6,className:Object(s.a)(i.root,c),ref:e},h),a.createElement("div",{className:i.message},u),r?a.createElement("div",{className:i.action},r):null)})),O=Object(c.a)((function(t){var e="light"===t.palette.type?.8:.98,r=Object(w.c)(t.palette.background.default,e);return{root:Object(o.a)({},t.typography.body2,Object(i.a)({color:t.palette.getContrastText(r),backgroundColor:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:t.shape.borderRadius,flexGrow:1},t.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(x),_=a.forwardRef((function(t,e){var r=t.action,i=t.anchorOrigin,c=(i=void 0===i?{vertical:"bottom",horizontal:"center"}:i).vertical,l=i.horizontal,f=t.autoHideDuration,h=void 0===f?null:f,p=t.children,y=t.classes,w=t.className,x=t.ClickAwayListenerProps,_=t.ContentProps,S=t.disableWindowBlurListener,k=void 0!==S&&S,E=t.message,M=t.onClose,C=t.onEnter,j=t.onEntered,A=t.onEntering,T=t.onExit,P=t.onExited,D=t.onExiting,R=t.onMouseEnter,L=t.onMouseLeave,I=t.open,N=t.resumeHideDuration,F=t.TransitionComponent,B=void 0===F?g.a:F,z=t.transitionDuration,H=void 0===z?{enter:u.b.enteringScreen,exit:u.b.leavingScreen}:z,U=t.TransitionProps,W=Object(n.a)(t,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),q=a.useRef(),V=a.useState(!0),G=V[0],Y=V[1],X=Object(d.a)((function(){M&&M.apply(void 0,arguments)})),$=Object(d.a)((function(t){M&&null!=t&&(clearTimeout(q.current),q.current=setTimeout((function(){X(null,"timeout")}),t))}));a.useEffect((function(){return I&&$(h),function(){clearTimeout(q.current)}}),[I,h,$]);var K=function(){clearTimeout(q.current)},Z=a.useCallback((function(){null!=h&&$(null!=N?N:.5*h)}),[h,N,$]);return a.useEffect((function(){if(!k&&I)return window.addEventListener("focus",Z),window.addEventListener("blur",K),function(){window.removeEventListener("focus",Z),window.removeEventListener("blur",K)}}),[k,Z,I]),!I&&G?null:a.createElement(m,Object(o.a)({onClickAway:function(t){M&&M(t,"clickaway")}},x),a.createElement("div",Object(o.a)({className:Object(s.a)(y.root,y["anchorOrigin".concat(Object(b.a)(c)).concat(Object(b.a)(l))],w),onMouseEnter:function(t){R&&R(t),K()},onMouseLeave:function(t){L&&L(t),Z()},ref:e},W),a.createElement(B,Object(o.a)({appear:!0,in:I,onEnter:Object(v.a)((function(){Y(!1)}),C),onEntered:j,onEntering:A,onExit:T,onExited:Object(v.a)((function(){Y(!0)}),P),onExiting:D,timeout:H,direction:"top"===c?"down":"up"},U),p||a.createElement(O,Object(o.a)({message:E,action:r},_)))))}));e.a=Object(c.a)((function(t){var e={top:8},r={bottom:8},n={justifyContent:"flex-end"},a={justifyContent:"flex-start"},s={top:24},c={bottom:24},u={right:24},l={left:24},f={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:t.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:Object(o.a)({},e,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({},s,f))),anchorOriginBottomCenter:Object(o.a)({},r,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({},c,f))),anchorOriginTopRight:Object(o.a)({},e,n,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({left:"auto"},s,u))),anchorOriginBottomRight:Object(o.a)({},r,n,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({left:"auto"},c,u))),anchorOriginTopLeft:Object(o.a)({},e,a,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({right:"auto"},s,l))),anchorOriginBottomLeft:Object(o.a)({},r,a,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({right:"auto"},c,l)))}}),{flip:!1,name:"MuiSnackbar"})(_)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(13),u=r(6),l=["children","classes","className","label","notched"],f=Object(c.a)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),h=Object(c.a)("legend",{skipSx:!0})((function(t){var e=t.ownerState,r=t.theme;return Object(o.a)({float:"unset"},void 0===e.label&&{padding:0,lineHeight:"11px",transition:r.transitions.create("width",{duration:150,easing:r.transitions.easing.easeOut})},void 0!==e.label&&Object(o.a)({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:r.transitions.create("max-width",{duration:50,easing:r.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},e.notched&&{maxWidth:"100%",transition:r.transitions.create("max-width",{duration:100,easing:r.transitions.easing.easeOut,delay:50})}))}));var d=r(339),p=r(340);function m(t){return Object(d.a)("MuiOutlinedInput",t)}var b=Object(p.a)("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]),v=r(145),g=r(22),y=["components","fullWidth","inputComponent","label","multiline","notched","type"],w=Object(c.a)(v.b,{shouldForwardProp:function(t){return Object(c.b)(t)||"classes"===t},name:"MuiOutlinedInput",slot:"Root",overridesResolver:v.e})((function(t){var e,r=t.theme,i=t.ownerState,a="light"===r.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Object(o.a)((e={position:"relative",borderRadius:r.shape.borderRadius},Object(n.a)(e,"&:hover .".concat(b.notchedOutline),{borderColor:r.palette.text.primary}),Object(n.a)(e,"@media (hover: none)",Object(n.a)({},"&:hover .".concat(b.notchedOutline),{borderColor:a})),Object(n.a)(e,"&.".concat(b.focused," .").concat(b.notchedOutline),{borderColor:r.palette[i.color].main,borderWidth:2}),Object(n.a)(e,"&.".concat(b.error," .").concat(b.notchedOutline),{borderColor:r.palette.error.main}),Object(n.a)(e,"&.".concat(b.disabled," .").concat(b.notchedOutline),{borderColor:r.palette.action.disabled}),e),i.startAdornment&&{paddingLeft:14},i.endAdornment&&{paddingRight:14},i.multiline&&Object(o.a)({padding:"16.5px 14px"},"small"===i.size&&{padding:"8.5px 14px"}))})),x=Object(c.a)((function(t){var e=t.className,r=t.label,n=t.notched,a=Object(i.a)(t,l),s=Object(o.a)({},t,{notched:n,label:r});return Object(u.jsx)(f,Object(o.a)({"aria-hidden":!0,className:e,ownerState:s},a,{children:Object(u.jsx)(h,{ownerState:s,children:r?Object(u.jsx)("span",{children:r}):Object(u.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}})})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(t,e){return e.notchedOutline}})((function(t){return{borderColor:"light"===t.theme.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}})),O=Object(c.a)(v.a,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:v.d})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===r.size&&{padding:"8.5px 14px"},r.multiline&&{padding:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0})})),_=a.forwardRef((function(t,e){var r=Object(g.a)({props:t,name:"MuiOutlinedInput"}),n=r.components,a=void 0===n?{}:n,c=r.fullWidth,l=void 0!==c&&c,f=r.inputComponent,h=void 0===f?"input":f,d=r.label,p=r.multiline,b=void 0!==p&&p,_=r.notched,S=r.type,k=void 0===S?"text":S,E=Object(i.a)(r,y),M=function(t){var e=t.classes,r=Object(s.a)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},m,e);return Object(o.a)({},e,r)}(r);return Object(u.jsx)(v.c,Object(o.a)({components:Object(o.a)({Root:w,Input:O},a),renderSuffix:function(t){return Object(u.jsx)(x,{className:M.notchedOutline,label:d,notched:"undefined"!==typeof _?_:Boolean(t.startAdornment||t.filled||t.focused)})},fullWidth:l,inputComponent:h,multiline:b,ref:e,type:k},E,{classes:Object(o.a)({},M,{notchedOutline:null})}))}));_.muiName="Input";e.a=_},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(126),u=r(1310),l=r(78),f=r(13),h=r(22);var d=a.createContext(),p=r(19),m=r(339),b=r(340);function v(t){return Object(m.a)("MuiGrid",t)}var g=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],y=Object(b.a)("MuiGrid",["root","container","item","zeroMinWidth"].concat(Object(p.a)([0,1,2,3,4,5,6,7,8,9,10].map((function(t){return"spacing-xs-".concat(t)}))),Object(p.a)(["column-reverse","column","row-reverse","row"].map((function(t){return"direction-xs-".concat(t)}))),Object(p.a)(["nowrap","wrap-reverse","wrap"].map((function(t){return"wrap-xs-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-xs-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-sm-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-md-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-lg-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-xl-".concat(t)}))))),w=r(6),x=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function O(t){var e=parseFloat(t);return"".concat(e).concat(String(t).replace(String(e),"")||"px")}var _=Object(f.a)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState,n=r.container,i=r.direction,o=r.item,a=r.lg,s=r.md,c=r.sm,u=r.spacing,l=r.wrap,f=r.xl,h=r.xs,d=r.zeroMinWidth;return[e.root,n&&e.container,o&&e.item,d&&e.zeroMinWidth,n&&0!==u&&e["spacing-xs-".concat(String(u))],"row"!==i&&e["direction-xs-".concat(String(i))],"wrap"!==l&&e["wrap-xs-".concat(String(l))],!1!==h&&e["grid-xs-".concat(String(h))],!1!==c&&e["grid-sm-".concat(String(c))],!1!==s&&e["grid-md-".concat(String(s))],!1!==a&&e["grid-lg-".concat(String(a))],!1!==f&&e["grid-xl-".concat(String(f))]]}})((function(t){var e=t.ownerState;return Object(o.a)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"nowrap"===e.wrap&&{flexWrap:"nowrap"},"reverse"===e.wrap&&{flexWrap:"wrap-reverse"})}),(function(t){var e=t.theme,r=t.ownerState,n=Object(c.d)({values:r.direction,breakpoints:e.breakpoints.values});return Object(c.b)({theme:e},n,(function(t){var e={flexDirection:t};return 0===t.indexOf("column")&&(e["& > .".concat(y.item)]={maxWidth:"none"}),e}))}),(function(t){var e=t.theme,r=t.ownerState,i=r.container,o=r.rowSpacing,a={};if(i&&0!==o){var s=Object(c.d)({values:o,breakpoints:e.breakpoints.values});a=Object(c.b)({theme:e},s,(function(t){var r=e.spacing(t);return"0px"!==r?Object(n.a)({marginTop:"-".concat(O(r))},"& > .".concat(y.item),{paddingTop:O(r)}):{}}))}return a}),(function(t){var e=t.theme,r=t.ownerState,i=r.container,o=r.columnSpacing,a={};if(i&&0!==o){var s=Object(c.d)({values:o,breakpoints:e.breakpoints.values});a=Object(c.b)({theme:e},s,(function(t){var r=e.spacing(t);return"0px"!==r?Object(n.a)({width:"calc(100% + ".concat(O(r),")"),marginLeft:"-".concat(O(r))},"& > .".concat(y.item),{paddingLeft:O(r)}):{}}))}return a}),(function(t){var e=t.theme,r=t.ownerState;return e.breakpoints.keys.reduce((function(t,n){return function(t,e,r,n){var i=n[r];if(i){var a={};if(!0===i)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===i)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var s=Object(c.d)({values:n.columns,breakpoints:e.breakpoints.values}),u="object"===typeof s?s[r]:s,l="".concat(Math.round(i/u*1e8)/1e6,"%"),f={};if(n.container&&n.item&&0!==n.columnSpacing){var h=e.spacing(n.columnSpacing);if("0px"!==h){var d="calc(".concat(l," + ").concat(O(h),")");f={flexBasis:d,maxWidth:d}}}a=Object(o.a)({flexBasis:l,flexGrow:0,maxWidth:l},f)}0===e.breakpoints.values[r]?Object.assign(t,a):t[e.breakpoints.up(r)]=a}}(t,e,n,r),t}),{})})),S=a.forwardRef((function(t,e){var r,n=Object(h.a)({props:t,name:"MuiGrid"}),c=Object(u.a)(n),f=c.className,p=c.columns,m=c.columnSpacing,b=c.component,g=void 0===b?"div":b,y=c.container,O=void 0!==y&&y,S=c.direction,k=void 0===S?"row":S,E=c.item,M=void 0!==E&&E,C=c.lg,j=void 0!==C&&C,A=c.md,T=void 0!==A&&A,P=c.rowSpacing,D=c.sm,R=void 0!==D&&D,L=c.spacing,I=void 0===L?0:L,N=c.wrap,F=void 0===N?"wrap":N,B=c.xl,z=void 0!==B&&B,H=c.xs,U=void 0!==H&&H,W=c.zeroMinWidth,q=void 0!==W&&W,V=Object(i.a)(c,x),G=P||I,Y=m||I,X=a.useContext(d),$=p||X||12,K=Object(o.a)({},c,{columns:$,container:O,direction:k,item:M,lg:j,md:T,sm:R,rowSpacing:G,columnSpacing:Y,wrap:F,xl:z,xs:U,zeroMinWidth:q}),Z=function(t){var e=t.classes,r=t.container,n=t.direction,i=t.item,o=t.lg,a=t.md,s=t.sm,c=t.spacing,u=t.wrap,f=t.xl,h=t.xs,d={root:["root",r&&"container",i&&"item",t.zeroMinWidth&&"zeroMinWidth",r&&0!==c&&"spacing-xs-".concat(String(c)),"row"!==n&&"direction-xs-".concat(String(n)),"wrap"!==u&&"wrap-xs-".concat(String(u)),!1!==h&&"grid-xs-".concat(String(h)),!1!==s&&"grid-sm-".concat(String(s)),!1!==a&&"grid-md-".concat(String(a)),!1!==o&&"grid-lg-".concat(String(o)),!1!==f&&"grid-xl-".concat(String(f))]};return Object(l.a)(d,v,e)}(K);return r=Object(w.jsx)(_,Object(o.a)({ownerState:K,className:Object(s.a)(Z.root,f),as:g,ref:e},V)),12!==$?Object(w.jsx)(d.Provider,{value:$,children:r}):r}));e.a=S},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(49),h=r(6),d=Object(f.a)(Object(h.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiAvatar",t)}Object(m.a)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var v=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],g=Object(u.a)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],r.colorDefault&&e.colorDefault]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===r.variant&&{borderRadius:e.shape.borderRadius},"square"===r.variant&&{borderRadius:0},r.colorDefault&&{color:e.palette.background.default,backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})})),y=Object(u.a)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(t,e){return e.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),w=Object(u.a)(d,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(t,e){return e.fallback}})({width:"75%",height:"75%"});var x=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiAvatar"}),u=r.alt,f=r.children,d=r.className,p=r.component,m=void 0===p?"div":p,x=r.imgProps,O=r.sizes,_=r.src,S=r.srcSet,k=r.variant,E=void 0===k?"circular":k,M=Object(i.a)(r,v),C=null,j=function(t){var e=t.crossOrigin,r=t.referrerPolicy,i=t.src,o=t.srcSet,s=a.useState(!1),c=Object(n.a)(s,2),u=c[0],l=c[1];return a.useEffect((function(){if(i||o){l(!1);var t=!0,n=new Image;return n.onload=function(){t&&l("loaded")},n.onerror=function(){t&&l("error")},n.crossOrigin=e,n.referrerPolicy=r,n.src=i,o&&(n.srcset=o),function(){t=!1}}}),[e,r,i,o]),u}(Object(o.a)({},x,{src:_,srcSet:S})),A=_||S,T=A&&"error"!==j,P=Object(o.a)({},r,{colorDefault:!T,component:m,variant:E}),D=function(t){var e=t.classes,r={root:["root",t.variant,t.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return Object(c.a)(r,b,e)}(P);return C=T?Object(h.jsx)(y,Object(o.a)({alt:u,src:_,srcSet:S,sizes:O,ownerState:P,className:D.img},x)):null!=f?f:A&&u?u[0]:Object(h.jsx)(w,{className:D.fallback}),Object(h.jsx)(g,Object(o.a)({as:m,ownerState:P,className:Object(s.a)(D.root,d),ref:e},M,{children:C}))}));e.a=x},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(159),u=Object(c.a)(o.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=o.forwardRef((function(t,e){var r=t.alt,s=t.children,c=t.classes,l=t.className,f=t.component,h=void 0===f?"div":f,d=t.imgProps,p=t.sizes,m=t.src,b=t.srcSet,v=t.variant,g=void 0===v?"circular":v,y=Object(i.a)(t,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),w=null,x=function(t){var e=t.src,r=t.srcSet,n=o.useState(!1),i=n[0],a=n[1];return o.useEffect((function(){if(e||r){a(!1);var t=!0,n=new Image;return n.src=e,n.srcSet=r,n.onload=function(){t&&a("loaded")},n.onerror=function(){t&&a("error")},function(){t=!1}}}),[e,r]),i}({src:m,srcSet:b}),O=m||b,_=O&&"error"!==x;return w=_?o.createElement("img",Object(n.a)({alt:r,src:m,srcSet:b,sizes:p,className:c.img},d)):null!=s?s:O&&r?r[0]:o.createElement(u,{className:c.fallback}),o.createElement(h,Object(n.a)({className:Object(a.a)(c.root,c.system,c[g],l,!_&&c.colorDefault),ref:e},y),w)}));e.a=Object(s.a)((function(t){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:t.palette.background.default,backgroundColor:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:t.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(l)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(24),l=r(1326),f=r(285),h=r(170),d=r(13),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiInputAdornment",t)}var v=Object(m.a)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),g=r(22),y=r(6),w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],x=Object(d.a)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["position".concat(Object(u.a)(r.position))],!0===r.disablePointerEvents&&e.disablePointerEvents,e[r.variant]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:e.palette.action.active},"filled"===r.variant&&Object(n.a)({},"&.".concat(v.positionStart,"&:not(.").concat(v.hiddenLabel,")"),{marginTop:16}),"start"===r.position&&{marginRight:8},"end"===r.position&&{marginLeft:8},!0===r.disablePointerEvents&&{pointerEvents:"none"})})),O=a.forwardRef((function(t,e){var r=Object(g.a)({props:t,name:"MuiInputAdornment"}),n=r.children,d=r.className,p=r.component,m=void 0===p?"div":p,v=r.disablePointerEvents,O=void 0!==v&&v,_=r.disableTypography,S=void 0!==_&&_,k=r.position,E=r.variant,M=Object(i.a)(r,w),C=Object(h.a)()||{},j=E;E&&C.variant,C&&!j&&(j=C.variant);var A=Object(o.a)({},r,{hiddenLabel:C.hiddenLabel,size:C.size,disablePointerEvents:O,position:k,variant:j}),T=function(t){var e=t.classes,r=t.disablePointerEvents,n=t.hiddenLabel,i=t.position,o=t.size,a=t.variant,s={root:["root",r&&"disablePointerEvents",i&&"position".concat(Object(u.a)(i)),a,n&&"hiddenLabel",o&&"size".concat(Object(u.a)(o))]};return Object(c.a)(s,b,e)}(A);return Object(y.jsx)(f.a.Provider,{value:null,children:Object(y.jsx)(x,Object(o.a)({as:m,ownerState:A,className:Object(s.a)(T.root,d),ref:e},M,{children:"string"!==typeof n||S?Object(y.jsxs)(a.Fragment,{children:["start"===k?Object(y.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):null,n]}):Object(y.jsx)(l.a,{color:"text.secondary",children:n})}))})}));e.a=O},function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(125),i=r(520),o=r(249);var a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){if(t.length>2){if(!c[t])return[t];t=c[t]}var e=t.split(""),r=Object(n.a)(e,2),i=r[0],o=r[1],u=a[i],l=s[o]||"";return Array.isArray(l)?l.map((function(t){return u+t})):[u+l]})),l=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function f(t){var e=t.spacing||8;return"number"===typeof e?function(t){return e*t}:Array.isArray(e)?function(t){return e[t]}:"function"===typeof e?e:function(){}}function h(t,e){return function(r){return t.reduce((function(t,n){return t[n]=function(t,e){if("string"===typeof e||null==e)return e;var r=t(Math.abs(e));return e>=0?r:"number"===typeof r?-r:"-".concat(r)}(e,r),t}),{})}}function d(t){var e=f(t.theme);return Object.keys(t).map((function(r){if(-1===l.indexOf(r))return null;var n=h(u(r),e),o=t[r];return Object(i.a)(t,o,n)})).reduce(o.a,{})}d.propTypes={},d.filterProps=l;e.b=d},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(424),a=r(329),s=(r(10),r(0)),c=r.n(s),u=r(375);function l(t,e){var r=Object.create(null);return t&&s.Children.map(t,(function(t){return t})).forEach((function(t){r[t.key]=function(t){return e&&Object(s.isValidElement)(t)?e(t):t}(t)})),r}function f(t,e,r){return null!=r[e]?r[e]:t.props[e]}function h(t,e,r){var n=l(t.children),i=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in e){if(i[c])for(n=0;n<i[c].length;n++){var u=i[c][n];s[i[c][n]]=r(u)}s[c]=r(c)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(e,n);return Object.keys(i).forEach((function(o){var a=i[o];if(Object(s.isValidElement)(a)){var c=o in e,u=o in n,l=e[o],h=Object(s.isValidElement)(l)&&!l.props.in;!u||c&&!h?u||!c||h?u&&c&&Object(s.isValidElement)(l)&&(i[o]=Object(s.cloneElement)(a,{onExited:r.bind(null,a),in:l.props.in,exit:f(a,"exit",t),enter:f(a,"enter",t)})):i[o]=Object(s.cloneElement)(a,{in:!1}):i[o]=Object(s.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:f(a,"exit",t),enter:f(a,"enter",t)})}})),i}var d=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},p=function(t){function e(e,r){var n,i=(n=t.call(this,e,r)||this).handleExited.bind(Object(o.a)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}Object(a.a)(e,t);var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var r,n,i=e.children,o=e.handleExited;return{children:e.firstRender?(r=t,n=o,l(r.children,(function(t){return Object(s.cloneElement)(t,{onExited:n.bind(null,t),in:!0,appear:f(t,"appear",r),enter:f(t,"enter",r),exit:f(t,"exit",r)})}))):h(t,i,o),firstRender:!1}},r.handleExited=function(t,e){var r=l(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var r=Object(i.a)({},e.children);return delete r[t.key],{children:r}})))},r.render=function(){var t=this.props,e=t.component,r=t.childFactory,i=Object(n.a)(t,["component","childFactory"]),o=this.state.contextValue,a=d(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===e?c.a.createElement(u.a.Provider,{value:o},a):c.a.createElement(u.a.Provider,{value:o},c.a.createElement(e,i,a))},e}(c.a.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(t){return t}};e.a=p},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(187),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiList",t)}Object(h.a)("MuiList",["root","padding","dense","subheader"]);var p=r(6),m=["children","className","component","dense","disablePadding","subheader"],b=Object(c.a)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.disablePadding&&e.padding,r.dense&&e.dense,r.subheader&&e.subheader]}})((function(t){var e=t.ownerState;return Object(i.a)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiList"}),c=r.children,f=r.className,h=r.component,v=void 0===h?"ul":h,g=r.dense,y=void 0!==g&&g,w=r.disablePadding,x=void 0!==w&&w,O=r.subheader,_=Object(n.a)(r,m),S=o.useMemo((function(){return{dense:y}}),[y]),k=Object(i.a)({},r,{component:v,dense:y,disablePadding:x}),E=function(t){var e=t.classes,r={root:["root",!t.disablePadding&&"padding",t.dense&&"dense",t.subheader&&"subheader"]};return Object(s.a)(r,d,e)}(k);return Object(p.jsx)(l.a.Provider,{value:S,children:Object(p.jsxs)(b,Object(i.a)({as:v,className:Object(a.a)(E.root,f),ref:e,ownerState:k},_,{children:[O,c]}))})}));e.a=v},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(24),f=r(894),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiAppBar",t)}Object(d.a)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var m=r(6),b=["className","color","enableColorOnDark","position"],v=Object(c.a)(f.a,{name:"MuiAppBar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["position".concat(Object(l.a)(r.position))],e["color".concat(Object(l.a)(r.color))]]}})((function(t){var e=t.theme,r=t.ownerState,n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Object(i.a)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===r.position&&{position:"fixed",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===r.position&&{position:"absolute",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"sticky"===r.position&&{position:"sticky",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"static"===r.position&&{position:"static"},"relative"===r.position&&{position:"relative"},"default"===r.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},r.color&&"default"!==r.color&&"inherit"!==r.color&&"transparent"!==r.color&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},"inherit"===r.color&&{color:"inherit"},"dark"===e.palette.mode&&!r.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===r.color&&Object(i.a)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"}))})),g=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiAppBar"}),o=r.className,c=r.color,f=void 0===c?"primary":c,h=r.enableColorOnDark,d=void 0!==h&&h,g=r.position,y=void 0===g?"fixed":g,w=Object(n.a)(r,b),x=Object(i.a)({},r,{color:f,position:y,enableColorOnDark:d}),O=function(t){var e=t.color,r=t.position,n=t.classes,i={root:["root","color".concat(Object(l.a)(e)),"position".concat(Object(l.a)(r))]};return Object(s.a)(i,p,n)}(x);return Object(m.jsx)(v,Object(i.a)({square:!0,component:"header",ownerState:x,elevation:4,className:Object(a.a)(O.root,o,"fixed"===y&&"mui-fixed"),ref:e},w))}));e.a=g},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(1446),l=r(24),f=r(22),h=r(13),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiTab",t)}var b=Object(p.a)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),v=r(6),g=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],y=Object(h.a)(u.a,{name:"MuiTab",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.label&&r.icon&&e.labelIcon,e["textColor".concat(Object(l.a)(r.textColor))],r.fullWidth&&e.fullWidth,r.wrapped&&e.wrapped]}})((function(t){var e,r,i,a=t.theme,s=t.ownerState;return Object(o.a)({},a.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},s.label&&{flexDirection:"top"===s.iconPosition||"bottom"===s.iconPosition?"column":"row"},{lineHeight:1.25},s.icon&&s.label&&Object(n.a)({minHeight:72,paddingTop:9,paddingBottom:9},"& > .".concat(b.iconWrapper),Object(o.a)({},"top"===s.iconPosition&&{marginBottom:6},"bottom"===s.iconPosition&&{marginTop:6},"start"===s.iconPosition&&{marginRight:a.spacing(1)},"end"===s.iconPosition&&{marginLeft:a.spacing(1)})),"inherit"===s.textColor&&(e={color:"inherit",opacity:.6},Object(n.a)(e,"&.".concat(b.selected),{opacity:1}),Object(n.a)(e,"&.".concat(b.disabled),{opacity:a.palette.action.disabledOpacity}),e),"primary"===s.textColor&&(r={color:a.palette.text.secondary},Object(n.a)(r,"&.".concat(b.selected),{color:a.palette.primary.main}),Object(n.a)(r,"&.".concat(b.disabled),{color:a.palette.text.disabled}),r),"secondary"===s.textColor&&(i={color:a.palette.text.secondary},Object(n.a)(i,"&.".concat(b.selected),{color:a.palette.secondary.main}),Object(n.a)(i,"&.".concat(b.disabled),{color:a.palette.text.disabled}),i),s.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},s.wrapped&&{fontSize:a.typography.pxToRem(12)})})),w=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiTab"}),n=r.className,u=r.disabled,h=void 0!==u&&u,d=r.disableFocusRipple,p=void 0!==d&&d,b=r.fullWidth,w=r.icon,x=r.iconPosition,O=void 0===x?"top":x,_=r.indicator,S=r.label,k=r.onChange,E=r.onClick,M=r.onFocus,C=r.selected,j=r.selectionFollowsFocus,A=r.textColor,T=void 0===A?"inherit":A,P=r.value,D=r.wrapped,R=void 0!==D&&D,L=Object(i.a)(r,g),I=Object(o.a)({},r,{disabled:h,disableFocusRipple:p,selected:C,icon:!!w,iconPosition:O,label:!!S,fullWidth:b,textColor:T,wrapped:R}),N=function(t){var e=t.classes,r=t.textColor,n=t.fullWidth,i=t.wrapped,o=t.icon,a=t.label,s=t.selected,u=t.disabled,f={root:["root",o&&a&&"labelIcon","textColor".concat(Object(l.a)(r)),n&&"fullWidth",i&&"wrapped",s&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return Object(c.a)(f,m,e)}(I),F=w&&S&&a.isValidElement(w)?a.cloneElement(w,{className:Object(s.a)(N.iconWrapper,w.props.className)}):w;return Object(v.jsxs)(y,Object(o.a)({focusRipple:!p,className:Object(s.a)(N.root,n),ref:e,role:"tab","aria-selected":C,disabled:h,onClick:function(t){!C&&k&&k(t,P),E&&E(t)},onFocus:function(t){j&&!C&&k&&k(t,P),M&&M(t)},ownerState:I,tabIndex:C?0:-1},L,{children:["top"===O||"start"===O?Object(v.jsxs)(a.Fragment,{children:[F,S]}):Object(v.jsxs)(a.Fragment,{children:[S,F]}),_]}))}));e.a=w},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiToolbar",t)}Object(h.a)("MuiToolbar",["root","gutters","regular","dense"]);var p=r(6),m=["className","component","disableGutters","variant"],b=Object(l.a)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({position:"relative",display:"flex",alignItems:"center"},!r.disableGutters&&Object(n.a)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),"dense"===r.variant&&{minHeight:48})}),(function(t){var e=t.theme;return"regular"===t.ownerState.variant&&e.mixins.toolbar})),v=a.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiToolbar"}),n=r.className,a=r.component,l=void 0===a?"div":a,f=r.disableGutters,h=void 0!==f&&f,v=r.variant,g=void 0===v?"regular":v,y=Object(i.a)(r,m),w=Object(o.a)({},r,{component:l,disableGutters:h,variant:g}),x=function(t){var e=t.classes,r={root:["root",!t.disableGutters&&"gutters",t.variant]};return Object(c.a)(r,d,e)}(w);return Object(p.jsx)(b,Object(o.a)({as:l,className:Object(s.a)(x.root,n),ref:e,ownerState:w},y))}));e.a=v},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=r(8),s=(r(10),r(178)),c=r(125),u=r(445),l=r(26),f=r(140),h=r(161),d=r(139),p=r(64),m=o.forwardRef((function(t,e){var r=t.children,s=t.classes,l=t.className,m=t.collapsedHeight,b=t.collapsedSize,v=void 0===b?"0px":b,g=t.component,y=void 0===g?"div":g,w=t.disableStrictModeCompat,x=void 0!==w&&w,O=t.in,_=t.onEnter,S=t.onEntered,k=t.onEntering,E=t.onExit,M=t.onExited,C=t.onExiting,j=t.style,A=t.timeout,T=void 0===A?f.b.standard:A,P=t.TransitionComponent,D=void 0===P?u.a:P,R=Object(i.a)(t,["children","classes","className","collapsedHeight","collapsedSize","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),L=Object(d.a)(),I=o.useRef(),N=o.useRef(null),F=o.useRef(),B="number"===typeof(m||v)?"".concat(m||v,"px"):m||v;o.useEffect((function(){return function(){clearTimeout(I.current)}}),[]);var z=L.unstable_strictMode&&!x,H=o.useRef(null),U=Object(p.a)(e,z?H:void 0),W=function(t){return function(e,r){if(t){var n=z?[H.current,e]:[e,r],i=Object(c.a)(n,2),o=i[0],a=i[1];void 0===a?t(o):t(o,a)}}},q=W((function(t,e){t.style.height=B,_&&_(t,e)})),V=W((function(t,e){var r=N.current?N.current.clientHeight:0,n=Object(h.a)({style:j,timeout:T},{mode:"enter"}).duration;if("auto"===T){var i=L.transitions.getAutoHeightDuration(r);t.style.transitionDuration="".concat(i,"ms"),F.current=i}else t.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");t.style.height="".concat(r,"px"),k&&k(t,e)})),G=W((function(t,e){t.style.height="auto",S&&S(t,e)})),Y=W((function(t){var e=N.current?N.current.clientHeight:0;t.style.height="".concat(e,"px"),E&&E(t)})),X=W(M),$=W((function(t){var e=N.current?N.current.clientHeight:0,r=Object(h.a)({style:j,timeout:T},{mode:"exit"}).duration;if("auto"===T){var n=L.transitions.getAutoHeightDuration(e);t.style.transitionDuration="".concat(n,"ms"),F.current=n}else t.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");t.style.height=B,C&&C(t)}));return o.createElement(D,Object(n.a)({in:O,onEnter:q,onEntered:G,onEntering:V,onExit:Y,onExited:X,onExiting:$,addEndListener:function(t,e){var r=z?t:e;"auto"===T&&(I.current=setTimeout(r,F.current||0))},nodeRef:z?H:void 0,timeout:"auto"===T?null:T},R),(function(t,e){return o.createElement(y,Object(n.a)({className:Object(a.a)(s.root,s.container,l,{entered:s.entered,exited:!O&&"0px"===B&&s.hidden}[t]),style:Object(n.a)({minHeight:B},j),ref:U},e),o.createElement("div",{className:s.wrapper,ref:N},o.createElement("div",{className:s.wrapperInner},r)))}))}));m.muiSupportAuto=!0;var b=Object(l.a)((function(t){return{root:{height:0,overflow:"hidden",transition:t.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(m),v=r(62),g=r(538),y=o.forwardRef((function(t,e){var r=t.children,c=t.classes,u=t.className,l=t.collapseIcon,f=t.endIcon,h=t.expandIcon,m=t.icon,v=t.label,y=t.nodeId,w=t.onClick,x=t.onLabelClick,O=t.onIconClick,_=t.onFocus,S=t.onKeyDown,k=t.onMouseDown,E=t.TransitionComponent,M=void 0===E?b:E,C=t.TransitionProps,j=Object(i.a)(t,["children","classes","className","collapseIcon","endIcon","expandIcon","icon","label","nodeId","onClick","onLabelClick","onIconClick","onFocus","onKeyDown","onMouseDown","TransitionComponent","TransitionProps"]),A=o.useContext(g.a),T=A.icons,P=A.focus,D=A.focusFirstNode,R=A.focusLastNode,L=A.focusNextNode,I=A.focusPreviousNode,N=A.focusByFirstCharacter,F=A.selectNode,B=A.selectRange,z=A.selectNextNode,H=A.selectPreviousNode,U=A.rangeSelectToFirst,W=A.rangeSelectToLast,q=A.selectAllNodes,V=A.expandAllSiblings,G=A.toggleExpansion,Y=A.isExpanded,X=A.isFocused,$=A.isSelected,K=A.isTabbable,Z=A.multiSelect,J=A.getParent,Q=A.mapFirstChar,tt=A.addNodeToNodeMap,et=A.removeNodeFromNodeMap,rt=o.useRef(null),nt=o.useRef(null),it=Object(p.a)(rt,e),ot=m,at=Boolean(Array.isArray(r)?r.length:r),st=!!Y&&Y(y),ct=!!X&&X(y),ut=!!K&&K(y),lt=!!$&&$(y),ft=T||{},ht=Object(d.a)();ot||(at?(ot=st?l||ft.defaultCollapseIcon:h||ft.defaultExpandIcon)||(ot=ft.defaultParentIcon):ot=f||ft.defaultEndIcon);var dt,pt=function(t){return at&&(st?L(y):G(t)),!0},mt=function(t){if(st)return G(t,y),!0;var e=J(y);return!!e&&(P(e),!0)};return o.useEffect((function(){if(tt){var t=[];o.Children.forEach(r,(function(e){o.isValidElement(e)&&e.props.nodeId&&t.push(e.props.nodeId)})),tt(y,t)}}),[r,y,tt]),o.useEffect((function(){if(et)return function(){et(y)}}),[y,et]),o.useEffect((function(){Q&&v&&Q(y,nt.current.textContent.substring(0,1).toLowerCase())}),[Q,y,v]),o.useEffect((function(){ct&&rt.current.focus()}),[ct]),Z?dt=lt:lt&&(dt=!0),o.createElement("li",Object(n.a)({className:Object(a.a)(c.root,u,st&&c.expanded,lt&&c.selected),role:"treeitem",onKeyDown:function(t){var e=!1,r=t.key;if(!t.altKey&&t.currentTarget===t.target){var n,i=t.ctrlKey||t.metaKey;switch(r){case" ":rt.current===t.currentTarget&&(e=Z&&t.shiftKey?B(t,{end:y}):Z?F(t,y,!0):F(t,y)),t.stopPropagation();break;case"Enter":rt.current===t.currentTarget&&at&&(G(t),e=!0),t.stopPropagation();break;case"ArrowDown":Z&&t.shiftKey&&z(t,y),L(y),e=!0;break;case"ArrowUp":Z&&t.shiftKey&&H(t,y),I(y),e=!0;break;case"ArrowRight":e="rtl"===ht.direction?mt(t):pt(t);break;case"ArrowLeft":e="rtl"===ht.direction?pt(t):mt(t);break;case"Home":Z&&i&&t.shiftKey&&U(t,y),D(),e=!0;break;case"End":Z&&i&&t.shiftKey&&W(t,y),R(),e=!0;break;default:"*"===r?(V(t,y),e=!0):Z&&i&&"a"===r.toLowerCase()?e=q(t):!i&&!t.shiftKey&&((n=r)&&1===n.length&&n.match(/\S/))&&(N(y,r),e=!0)}e&&(t.preventDefault(),t.stopPropagation()),S&&S(t)}},onFocus:function(t){ct||t.currentTarget!==t.target||P(y),_&&_(t)},"aria-expanded":at?st:null,"aria-selected":dt,ref:it,tabIndex:ut?0:-1},j),o.createElement("div",{className:c.content,onClick:function(t){ct||P(y);var e=Z&&(t.shiftKey||t.ctrlKey||t.metaKey);!at||t.defaultPrevented||e&&Y(y)||G(t,y),e?t.shiftKey?B(t,{end:y}):F(t,y,!0):F(t,y),w&&w(t)},onMouseDown:function(t){(t.shiftKey||t.ctrlKey||t.metaKey)&&t.preventDefault(),k&&k(t)},ref:nt},o.createElement("div",{onClick:O,className:c.iconContainer},ot),o.createElement(s.a,{onClick:x,component:"div",className:c.label},v)),r&&o.createElement(M,Object(n.a)({unmountOnExit:!0,className:c.group,in:st,component:"ul",role:"group"},C),r))}));e.a=Object(l.a)((function(t){return{root:{listStyle:"none",margin:0,padding:0,outline:0,WebkitTapHighlightColor:"transparent","&:focus > $content $label":{backgroundColor:t.palette.action.hover},"&$selected > $content $label":{backgroundColor:Object(v.a)(t.palette.primary.main,t.palette.action.selectedOpacity)},"&$selected > $content $label:hover, &$selected:focus > $content $label":{backgroundColor:Object(v.a)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},expanded:{},selected:{},group:{margin:0,padding:0,marginLeft:17},content:{width:"100%",display:"flex",alignItems:"center",cursor:"pointer"},iconContainer:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},label:{width:"100%",paddingLeft:4,position:"relative","&:hover":{backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}}}),{name:"MuiTreeItem"})(y)},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(1451),u=r(1426),l=r(894),f=r(24),h=r(133),d=r(122),p=r(22),m=r(13),b=r(339),v=r(340);function g(t){return Object(b.a)("MuiDrawer",t)}Object(v.a)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var y=r(6),w=["BackdropProps"],x=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],O=function(t,e){var r=t.ownerState;return[e.root,("permanent"===r.variant||"persistent"===r.variant)&&e.docked,e.modal]},_=Object(m.a)(c.a,{name:"MuiDrawer",slot:"Root",overridesResolver:O})((function(t){return{zIndex:t.theme.zIndex.drawer}})),S=Object(m.a)("div",{shouldForwardProp:m.b,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:O})({flex:"0 0 auto"}),k=Object(m.a)(l.a,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(t,e){var r=t.ownerState;return[e.paper,e["paperAnchor".concat(Object(f.a)(r.anchor))],"temporary"!==r.variant&&e["paperAnchorDocked".concat(Object(f.a)(r.anchor))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===r.anchor&&{left:0},"top"===r.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===r.anchor&&{right:0},"bottom"===r.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===r.anchor&&"temporary"!==r.variant&&{borderRight:"1px solid ".concat(e.palette.divider)},"top"===r.anchor&&"temporary"!==r.variant&&{borderBottom:"1px solid ".concat(e.palette.divider)},"right"===r.anchor&&"temporary"!==r.variant&&{borderLeft:"1px solid ".concat(e.palette.divider)},"bottom"===r.anchor&&"temporary"!==r.variant&&{borderTop:"1px solid ".concat(e.palette.divider)})})),E={left:"right",right:"left",top:"down",bottom:"up"};var M={enter:h.b.enteringScreen,exit:h.b.leavingScreen},C=o.forwardRef((function(t,e){var r=Object(p.a)({props:t,name:"MuiDrawer"}),c=r.anchor,l=void 0===c?"left":c,h=r.BackdropProps,m=r.children,b=r.className,v=r.elevation,O=void 0===v?16:v,C=r.hideBackdrop,j=void 0!==C&&C,A=r.ModalProps,T=(A=void 0===A?{}:A).BackdropProps,P=r.onClose,D=r.open,R=void 0!==D&&D,L=r.PaperProps,I=void 0===L?{}:L,N=r.SlideProps,F=r.TransitionComponent,B=void 0===F?u.a:F,z=r.transitionDuration,H=void 0===z?M:z,U=r.variant,W=void 0===U?"temporary":U,q=Object(n.a)(r.ModalProps,w),V=Object(n.a)(r,x),G=Object(d.a)(),Y=o.useRef(!1);o.useEffect((function(){Y.current=!0}),[]);var X=function(t,e){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(e)?E[e]:e}(G,l),$=l,K=Object(i.a)({},r,{anchor:$,elevation:O,open:R,variant:W},V),Z=function(t){var e=t.classes,r=t.anchor,n=t.variant,i={root:["root"],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat(Object(f.a)(r)),"temporary"!==n&&"paperAnchorDocked".concat(Object(f.a)(r))]};return Object(s.a)(i,g,e)}(K),J=Object(y.jsx)(k,Object(i.a)({elevation:"temporary"===W?O:0,square:!0},I,{className:Object(a.a)(Z.paper,I.className),ownerState:K,children:m}));if("permanent"===W)return Object(y.jsx)(S,Object(i.a)({className:Object(a.a)(Z.root,Z.docked,b),ownerState:K,ref:e},V,{children:J}));var Q=Object(y.jsx)(B,Object(i.a)({in:R,direction:E[X],timeout:H,appear:Y.current},N,{children:J}));return"persistent"===W?Object(y.jsx)(S,Object(i.a)({className:Object(a.a)(Z.root,Z.docked,b),ownerState:K,ref:e},V,{children:Q})):Object(y.jsx)(_,Object(i.a)({BackdropProps:Object(i.a)({},h,T,{transitionDuration:H}),className:Object(a.a)(Z.root,Z.modal,b),open:R,ownerState:K,onClose:P,hideBackdrop:j,ref:e},V,q,{children:Q}))}));e.a=C},function(t,e,r){"use strict";var n=r(1),i=r(19),o=r(14),a=r(2),s=r(0),c=(r(10),r(78)),u=r(558),l=r(145),f=r(13),h=r(22),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiInput",t)}var b=Object(p.a)("MuiInput",["root","formControl","focused","disabled","colorSecondary","underline","error","sizeSmall","multiline","fullWidth","input","inputSizeSmall","inputMultiline","inputTypeSearch"]),v=r(6),g=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],y=Object(f.a)(l.b,{shouldForwardProp:function(t){return Object(f.b)(t)||"classes"===t},name:"MuiInput",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[].concat(Object(i.a)(Object(l.e)(t,e)),[!r.disableUnderline&&e.underline])}})((function(t){var e,r=t.theme,i=t.ownerState,o="light"===r.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return Object(a.a)({position:"relative"},i.formControl&&{"label + &":{marginTop:16}},!i.disableUnderline&&(e={"&:after":{borderBottom:"2px solid ".concat(r.palette[i.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:r.transitions.create("transform",{duration:r.transitions.duration.shorter,easing:r.transitions.easing.easeOut}),pointerEvents:"none"}},Object(n.a)(e,"&.".concat(b.focused,":after"),{transform:"scaleX(1)"}),Object(n.a)(e,"&.".concat(b.error,":after"),{borderBottomColor:r.palette.error.main,transform:"scaleX(1)"}),Object(n.a)(e,"&:before",{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:r.transitions.create("border-bottom-color",{duration:r.transitions.duration.shorter}),pointerEvents:"none"}),Object(n.a)(e,"&:hover:not(.".concat(b.disabled,"):before"),{borderBottom:"2px solid ".concat(r.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(o)}}),Object(n.a)(e,"&.".concat(b.disabled,":before"),{borderBottomStyle:"dotted"}),e))})),w=Object(f.a)(l.a,{name:"MuiInput",slot:"Input",overridesResolver:l.d})({}),x=s.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiInput"}),n=r.disableUnderline,i=r.components,s=void 0===i?{}:i,f=r.componentsProps,d=r.fullWidth,p=void 0!==d&&d,b=r.inputComponent,x=void 0===b?"input":b,O=r.multiline,_=void 0!==O&&O,S=r.type,k=void 0===S?"text":S,E=Object(o.a)(r,g),M=function(t){var e=t.classes,r={root:["root",!t.disableUnderline&&"underline"],input:["input"]},n=Object(c.a)(r,m,e);return Object(a.a)({},e,n)}(r),C={root:{ownerState:{disableUnderline:n}}},j=f?Object(u.a)(f,C):C;return Object(v.jsx)(l.c,Object(a.a)({components:Object(a.a)({Root:y,Input:w},s),componentsProps:j,fullWidth:p,inputComponent:x,multiline:_,ref:e,type:k},E,{classes:M}))}));x.muiName="Input";e.a=x},function(t,e,r){"use strict";var n=r(1),i=r(19),o=r(14),a=r(2),s=r(0),c=r(558),u=(r(10),r(78)),l=r(145),f=r(13),h=r(22),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiFilledInput",t)}var b=Object(p.a)("MuiFilledInput",["root","colorSecondary","underline","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","hiddenLabel","input","inputSizeSmall","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd"]),v=r(6),g=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],y=Object(f.a)(l.b,{shouldForwardProp:function(t){return Object(f.b)(t)||"classes"===t},name:"MuiFilledInput",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[].concat(Object(i.a)(Object(l.e)(t,e)),[!r.disableUnderline&&e.underline])}})((function(t){var e,r,i=t.theme,o=t.ownerState,s="light"===i.palette.mode,c=s?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",u=s?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return Object(a.a)((e={position:"relative",backgroundColor:u,borderTopLeftRadius:i.shape.borderRadius,borderTopRightRadius:i.shape.borderRadius,transition:i.transitions.create("background-color",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),"&:hover":{backgroundColor:s?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:u}}},Object(n.a)(e,"&.".concat(b.focused),{backgroundColor:u}),Object(n.a)(e,"&.".concat(b.disabled),{backgroundColor:s?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}),e),!o.disableUnderline&&(r={"&:after":{borderBottom:"2px solid ".concat(i.palette[o.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:i.transitions.create("transform",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),pointerEvents:"none"}},Object(n.a)(r,"&.".concat(b.focused,":after"),{transform:"scaleX(1)"}),Object(n.a)(r,"&.".concat(b.error,":after"),{borderBottomColor:i.palette.error.main,transform:"scaleX(1)"}),Object(n.a)(r,"&:before",{borderBottom:"1px solid ".concat(c),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:i.transitions.create("border-bottom-color",{duration:i.transitions.duration.shorter}),pointerEvents:"none"}),Object(n.a)(r,"&:hover:not(.".concat(b.disabled,"):before"),{borderBottom:"1px solid ".concat(i.palette.text.primary)}),Object(n.a)(r,"&.".concat(b.disabled,":before"),{borderBottomStyle:"dotted"}),r),o.startAdornment&&{paddingLeft:12},o.endAdornment&&{paddingRight:12},o.multiline&&Object(a.a)({padding:"25px 12px 8px"},"small"===o.size&&{paddingTop:21,paddingBottom:4},o.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),w=Object(f.a)(l.a,{name:"MuiFilledInput",slot:"Input",overridesResolver:l.d})((function(t){var e=t.theme,r=t.ownerState;return Object(a.a)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9})})),x=s.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiFilledInput"}),n=r.components,i=void 0===n?{}:n,s=r.componentsProps,f=r.fullWidth,d=void 0!==f&&f,p=r.inputComponent,b=void 0===p?"input":p,x=r.multiline,O=void 0!==x&&x,_=r.type,S=void 0===_?"text":_,k=Object(o.a)(r,g),E=Object(a.a)({},r,{fullWidth:d,inputComponent:b,multiline:O,type:S}),M=function(t){var e=t.classes,r={root:["root",!t.disableUnderline&&"underline"],input:["input"]},n=Object(u.a)(r,m,e);return Object(a.a)({},e,n)}(r),C={root:{ownerState:E},input:{ownerState:E}},j=s?Object(c.a)(s,C):C;return Object(v.jsx)(l.c,Object(a.a)({components:Object(a.a)({Root:y,Input:w},i),componentsProps:j,fullWidth:d,inputComponent:b,multiline:O,ref:e,type:S},k,{classes:M}))}));x.muiName="Input";e.a=x},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(1446),h=r(532),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiAccordionSummary",t)}var b=Object(p.a)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),v=r(6),g=["children","className","expandIcon","focusVisibleClassName","onClick"],y=Object(u.a)(f.a,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e,r=t.theme,i=t.ownerState,a={duration:r.transitions.duration.shortest};return Object(o.a)((e={display:"flex",minHeight:48,padding:r.spacing(0,2),transition:r.transitions.create(["min-height","background-color"],a)},Object(n.a)(e,"&.".concat(b.focusVisible),{backgroundColor:r.palette.action.focus}),Object(n.a)(e,"&.".concat(b.disabled),{opacity:r.palette.action.disabledOpacity}),Object(n.a)(e,"&:hover:not(.".concat(b.disabled,")"),{cursor:"pointer"}),e),!i.disableGutters&&Object(n.a)({},"&.".concat(b.expanded),{minHeight:64}))})),w=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(t,e){return e.content}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"flex",flexGrow:1,margin:"12px 0"},!r.disableGutters&&Object(n.a)({transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest})},"&.".concat(b.expanded),{margin:"20px 0"}))})),x=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(t,e){return e.expandIconWrapper}})((function(t){var e=t.theme;return Object(n.a)({display:"flex",color:e.palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})},"&.".concat(b.expanded),{transform:"rotate(180deg)"})})),O=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiAccordionSummary"}),n=r.children,u=r.className,f=r.expandIcon,d=r.focusVisibleClassName,p=r.onClick,b=Object(i.a)(r,g),O=a.useContext(h.a),_=O.disabled,S=void 0!==_&&_,k=O.disableGutters,E=O.expanded,M=O.toggle,C=Object(o.a)({},r,{expanded:E,disabled:S,disableGutters:k}),j=function(t){var e=t.classes,r=t.expanded,n=t.disabled,i=t.disableGutters,o={root:["root",r&&"expanded",n&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]};return Object(c.a)(o,m,e)}(C);return Object(v.jsxs)(y,Object(o.a)({focusRipple:!1,disableRipple:!0,disabled:S,component:"div","aria-expanded":E,className:Object(s.a)(j.root,u),focusVisibleClassName:Object(s.a)(j.focusVisible,d),onClick:function(t){M&&M(t),p&&p(t)},ref:e,ownerState:C},b,{children:[Object(v.jsx)(w,{className:j.content,ownerState:C,children:n}),f&&Object(v.jsx)(x,{className:j.expandIconWrapper,ownerState:C,children:f})]}))}));e.a=O},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiAccordionDetails",t)}Object(f.a)("MuiAccordionDetails",["root"]);var d=r(6),p=["className"],m=Object(c.a)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{padding:t.theme.spacing(1,2,2)}})),b=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiAccordionDetails"}),o=r.className,c=Object(i.a)(r,p),l=r,f=function(t){var e=t.classes;return Object(s.a)({root:["root"]},h,e)}(l);return Object(d.jsx)(m,Object(n.a)({className:Object(a.a)(f.root,o),ref:e,ownerState:l},c))}));e.a=b},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(24),f=r(537),h=r(288),d=r(22),p=r(13),m=r(339),b=r(340);function v(t){return Object(m.a)("MuiTableCell",t)}var g=Object(b.a)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),y=r(6),w=["align","className","component","padding","scope","size","sortDirection","variant"],x=Object(p.a)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["size".concat(Object(l.a)(r.size))],"normal"!==r.padding&&e["padding".concat(Object(l.a)(r.padding))],"inherit"!==r.align&&e["align".concat(Object(l.a)(r.align))],r.stickyHeader&&e.stickyHeader]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n    ".concat("light"===e.palette.mode?Object(u.e)(Object(u.a)(e.palette.divider,1),.88):Object(u.b)(Object(u.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===r.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===r.variant&&{color:e.palette.text.primary},"footer"===r.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===r.size&&Object(n.a)({padding:"6px 16px"},"&.".concat(g.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===r.padding&&{width:48,padding:"0 0 0 4px"},"none"===r.padding&&{padding:0},"left"===r.align&&{textAlign:"left"},"center"===r.align&&{textAlign:"center"},"right"===r.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===r.align&&{textAlign:"justify"},r.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default})})),O=a.forwardRef((function(t,e){var r,n=Object(d.a)({props:t,name:"MuiTableCell"}),u=n.align,p=void 0===u?"inherit":u,m=n.className,b=n.component,g=n.padding,O=n.scope,_=n.size,S=n.sortDirection,k=n.variant,E=Object(i.a)(n,w),M=a.useContext(f.a),C=a.useContext(h.a),j=C&&"head"===C.variant;r=b||(j?"th":"td");var A=O;!A&&j&&(A="col");var T=k||C&&C.variant,P=Object(o.a)({},n,{align:p,component:r,padding:g||(M&&M.padding?M.padding:"normal"),size:_||(M&&M.size?M.size:"medium"),sortDirection:S,stickyHeader:"head"===T&&M&&M.stickyHeader,variant:T}),D=function(t){var e=t.classes,r=t.variant,n=t.align,i=t.padding,o=t.size,a={root:["root",r,t.stickyHeader&&"stickyHeader","inherit"!==n&&"align".concat(Object(l.a)(n)),"normal"!==i&&"padding".concat(Object(l.a)(i)),"size".concat(Object(l.a)(o))]};return Object(c.a)(a,v,e)}(P),R=null;return S&&(R="asc"===S?"ascending":"descending"),Object(y.jsx)(x,Object(o.a)({as:r,ref:e,className:Object(s.a)(D.root,m),"aria-sort":R,scope:A,ownerState:P},E))}));e.a=O},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(537),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiTable",t)}Object(h.a)("MuiTable",["root","stickyHeader"]);var p=r(6),m=["className","component","padding","size","stickyHeader"],b=Object(l.a)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.stickyHeader&&e.stickyHeader]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(i.a)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},r.stickyHeader&&{borderCollapse:"separate"})})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiTable"}),l=r.className,f=r.component,h=void 0===f?"table":f,v=r.padding,g=void 0===v?"normal":v,y=r.size,w=void 0===y?"medium":y,x=r.stickyHeader,O=void 0!==x&&x,_=Object(n.a)(r,m),S=Object(i.a)({},r,{component:h,padding:g,size:w,stickyHeader:O}),k=function(t){var e=t.classes,r={root:["root",t.stickyHeader&&"stickyHeader"]};return Object(s.a)(r,d,e)}(S),E=o.useMemo((function(){return{padding:g,size:w,stickyHeader:O}}),[g,w,O]);return Object(p.jsx)(c.a.Provider,{value:E,children:Object(p.jsx)(b,Object(i.a)({as:h,role:"table"===h?null:"table",ref:e,className:Object(a.a)(k.root,l),ownerState:S},_))})}));e.a=v},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(288),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiTableHead",t)}Object(h.a)("MuiTableHead",["root"]);var p=r(6),m=["className","component"],b=Object(l.a)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"table-header-group"}),v={variant:"head"},g=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiTableHead"}),o=r.className,l=r.component,f=void 0===l?"thead":l,h=Object(i.a)(r,m),g=Object(n.a)({},r,{component:f}),y=function(t){var e=t.classes;return Object(s.a)({root:["root"]},d,e)}(g);return Object(p.jsx)(c.a.Provider,{value:v,children:Object(p.jsx)(b,Object(n.a)({as:f,className:Object(a.a)(y.root,o),ref:e,role:"thead"===f?null:"rowgroup",ownerState:g},h))})}));e.a=g},function(t,e,r){"use strict";var n=r(1),i=r(2),o=r(14),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(288),f=r(22),h=r(13),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiTableRow",t)}var b=Object(p.a)("MuiTableRow",["root","selected","hover","head","footer"]),v=r(6),g=["className","component","hover","selected"],y=Object(h.a)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.head&&e.head,r.footer&&e.footer]}})((function(t){var e,r=t.theme;return e={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},Object(n.a)(e,"&.".concat(b.hover,":hover"),{backgroundColor:r.palette.action.hover}),Object(n.a)(e,"&.".concat(b.selected),{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity)}}),e})),w=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiTableRow"}),n=r.className,u=r.component,h=void 0===u?"tr":u,d=r.hover,p=void 0!==d&&d,b=r.selected,w=void 0!==b&&b,x=Object(o.a)(r,g),O=a.useContext(l.a),_=Object(i.a)({},r,{component:h,hover:p,selected:w,head:O&&"head"===O.variant,footer:O&&"footer"===O.variant}),S=function(t){var e=t.classes,r={root:["root",t.selected&&"selected",t.hover&&"hover",t.head&&"head",t.footer&&"footer"]};return Object(c.a)(r,m,e)}(_);return Object(v.jsx)(y,Object(i.a)({as:h,ref:e,className:Object(s.a)(S.root,n),role:"tr"===h?null:"row",ownerState:_},x))}));e.a=w},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(288),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiTableBody",t)}Object(h.a)("MuiTableBody",["root"]);var p=r(6),m=["className","component"],b=Object(l.a)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"table-row-group"}),v={variant:"body"},g=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiTableBody"}),o=r.className,l=r.component,f=void 0===l?"tbody":l,h=Object(i.a)(r,m),g=Object(n.a)({},r,{component:f}),y=function(t){var e=t.classes;return Object(s.a)({root:["root"]},d,e)}(g);return Object(p.jsx)(c.a.Provider,{value:v,children:Object(p.jsx)(b,Object(n.a)({className:Object(a.a)(y.root,o),as:f,ref:e,role:"tbody"===f?null:"rowgroup",ownerState:g},h))})}));e.a=g},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(1309),l=r(24),f=r(1451),h=r(1412),d=r(133),p=r(894),m=r(22),b=r(13),v=r(339),g=r(340);function y(t){return Object(v.a)("MuiDialog",t)}var w=Object(g.a)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),x=r(539),O=r(1323),_=r(6),S=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],k=Object(b.a)(O.a,{name:"MuiDialog",slot:"Backdrop",overrides:function(t,e){return e.backdrop}})({zIndex:-1}),E=Object(b.a)(f.a,{name:"MuiDialog",slot:"Root",overridesResolver:function(t,e){return e.root}})({"@media print":{position:"absolute !important"}}),M=Object(b.a)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(t,e){var r=t.ownerState;return[e.container,e["scroll".concat(Object(l.a)(r.scroll))]]}})((function(t){var e=t.ownerState;return Object(o.a)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),C=Object(b.a)(p.a,{name:"MuiDialog",slot:"Paper",overridesResolver:function(t,e){var r=t.ownerState;return[e.paper,e["scrollPaper".concat(Object(l.a)(r.scroll))],e["paperWidth".concat(Object(l.a)(String(r.maxWidth)))],r.fullWidth&&e.paperFullWidth,r.fullScreen&&e.paperFullScreen]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===r.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===r.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!r.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===r.maxWidth&&Object(n.a)({maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):"".concat(e.breakpoints.values.xs).concat(e.breakpoints.unit)},"&.".concat(w.paperScrollBody),Object(n.a)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),"xs"!==r.maxWidth&&Object(n.a)({maxWidth:"".concat(e.breakpoints.values[r.maxWidth]).concat(e.breakpoints.unit)},"&.".concat(w.paperScrollBody),Object(n.a)({},e.breakpoints.down(e.breakpoints.values[r.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),r.fullWidth&&{width:"calc(100% - 64px)"},r.fullScreen&&Object(n.a)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(w.paperScrollBody),{margin:0,maxWidth:"100%"}))})),j={enter:d.b.enteringScreen,exit:d.b.leavingScreen},A=a.forwardRef((function(t,e){var r=Object(m.a)({props:t,name:"MuiDialog"}),n=r["aria-describedby"],f=r["aria-labelledby"],d=r.BackdropComponent,b=r.BackdropProps,v=r.children,g=r.className,w=r.disableEscapeKeyDown,O=void 0!==w&&w,A=r.fullScreen,T=void 0!==A&&A,P=r.fullWidth,D=void 0!==P&&P,R=r.maxWidth,L=void 0===R?"sm":R,I=r.onBackdropClick,N=r.onClose,F=r.open,B=r.PaperComponent,z=void 0===B?p.a:B,H=r.PaperProps,U=void 0===H?{}:H,W=r.scroll,q=void 0===W?"paper":W,V=r.TransitionComponent,G=void 0===V?h.a:V,Y=r.transitionDuration,X=void 0===Y?j:Y,$=r.TransitionProps,K=Object(i.a)(r,S),Z=Object(o.a)({},r,{disableEscapeKeyDown:O,fullScreen:T,fullWidth:D,maxWidth:L,scroll:q}),J=function(t){var e=t.classes,r=t.scroll,n=t.maxWidth,i=t.fullWidth,o=t.fullScreen,a={root:["root"],container:["container","scroll".concat(Object(l.a)(r))],paper:["paper","paperScroll".concat(Object(l.a)(r)),"paperWidth".concat(Object(l.a)(String(n))),i&&"paperFullWidth",o&&"paperFullScreen"]};return Object(c.a)(a,y,e)}(Z),Q=a.useRef(),tt=Object(u.a)(f),et=a.useMemo((function(){return{titleId:tt}}),[tt]);return Object(_.jsx)(E,Object(o.a)({className:Object(s.a)(J.root,g),BackdropProps:Object(o.a)({transitionDuration:X,as:d},b),closeAfterTransition:!0,BackdropComponent:k,disableEscapeKeyDown:O,onClose:N,open:F,ref:e,onClick:function(t){Q.current&&(Q.current=null,I&&I(t),N&&N(t,"backdropClick"))},ownerState:Z},K,{children:Object(_.jsx)(G,Object(o.a)({appear:!0,in:F,timeout:X,role:"presentation"},$,{children:Object(_.jsx)(M,{className:Object(s.a)(J.container),onMouseDown:function(t){Q.current=t.target===t.currentTarget},ownerState:Z,children:Object(_.jsx)(C,Object(o.a)({as:z,elevation:24,role:"dialog","aria-describedby":n,"aria-labelledby":tt},U,{className:Object(s.a)(J.paper,U.className),ownerState:Z,children:Object(_.jsx)(x.a.Provider,{value:et,children:v})}))})}))}))}));e.a=A},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(78)),s=r(13),c=r(22),u=r(1326),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiDialogContentText",t)}Object(f.a)("MuiDialogContentText",["root"]);var d=r(6),p=["children"],m=Object(s.a)(u.a,{shouldForwardProp:function(t){return Object(s.b)(t)||"classes"===t},name:"MuiDialogContentText",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),b=o.forwardRef((function(t,e){var r=Object(c.a)({props:t,name:"MuiDialogContentText"}),o=Object(n.a)(r,p),s=function(t){var e=t.classes,r=Object(a.a)({root:["root"]},h,e);return Object(i.a)({},e,r)}(o);return Object(d.jsx)(m,Object(i.a)({component:"p",variant:"body1",color:"text.secondary",ref:e,ownerState:o},r,{classes:s}))}));e.a=b},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiDialogContent",t)}Object(h.a)("MuiDialogContent",["root","dividers"]);var p=r(540),m=r(6),b=["className","dividers"],v=Object(u.a)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.dividers&&e.dividers]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},r.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}:Object(n.a)({},".".concat(p.a.root," + &"),{paddingTop:0}))})),g=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiDialogContent"}),n=r.className,a=r.dividers,u=void 0!==a&&a,f=Object(i.a)(r,b),h=Object(o.a)({},r,{dividers:u}),p=function(t){var e=t.classes,r={root:["root",t.dividers&&"dividers"]};return Object(c.a)(r,d,e)}(h);return Object(m.jsx)(v,Object(o.a)({className:Object(s.a)(p.root,n),ownerState:h,ref:e},f))}));e.a=g},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiDialogActions",t)}Object(f.a)("MuiDialogActions",["root","spacing"]);var d=r(6),p=["className","disableSpacing"],m=Object(c.a)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.disableSpacing&&e.spacing]}})((function(t){var e=t.ownerState;return Object(i.a)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),b=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiDialogActions"}),o=r.className,c=r.disableSpacing,l=void 0!==c&&c,f=Object(n.a)(r,p),b=Object(i.a)({},r,{disableSpacing:l}),v=function(t){var e=t.classes,r={root:["root",!t.disableSpacing&&"spacing"]};return Object(s.a)(r,h,e)}(b);return Object(d.jsx)(m,Object(i.a)({className:Object(a.a)(v.root,o),ownerState:b,ref:e},f))}));e.a=b},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(231),u=r(290),l=r(22),f=r(13),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiStep",t)}Object(d.a)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var m=r(6),b=["active","children","className","completed","disabled","expanded","index","last"],v=Object(f.a)("div",{name:"MuiStep",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],r.alternativeLabel&&e.alternativeLabel,r.completed&&e.completed]}})((function(t){var e=t.ownerState;return Object(i.a)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})})),g=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStep"}),f=r.active,h=r.children,d=r.className,g=r.completed,y=r.disabled,w=r.expanded,x=void 0!==w&&w,O=r.index,_=r.last,S=Object(n.a)(r,b),k=o.useContext(c.a),E=k.activeStep,M=k.connector,C=k.alternativeLabel,j=k.orientation,A=k.nonLinear,T=void 0!==f&&f,P=void 0!==g&&g,D=void 0!==y&&y;E===O?T=void 0===f||f:!A&&E>O?P=void 0===g||g:!A&&E<O&&(D=void 0===y||y);var R=o.useMemo((function(){return{index:O,last:_,expanded:x,icon:O+1,active:T,completed:P,disabled:D}}),[O,_,x,T,P,D]),L=Object(i.a)({},r,{active:T,orientation:j,alternativeLabel:C,completed:P,disabled:D,expanded:x}),I=function(t){var e=t.classes,r={root:["root",t.orientation,t.alternativeLabel&&"alternativeLabel",t.completed&&"completed"]};return Object(s.a)(r,p,e)}(L),N=Object(m.jsxs)(v,Object(i.a)({className:Object(a.a)(I.root,d),ref:e,ownerState:L},S,{children:[M&&C&&0!==O?M:null,h]}));return Object(m.jsx)(u.a.Provider,{value:R,children:M&&!C&&0!==O?Object(m.jsxs)(o.Fragment,{children:[M,N]}):N})}));e.a=g},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(14),a=r(2),s=r(0),c=(r(10),r(8)),u=r(78),l=r(41),f=r(147),h=r(24),d=r(13),p=r(22),m=r(275),b=r(72),v=r(1326),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiLink",t)}var x=Object(y.a)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),O=r(6),_=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},k=Object(d.a)(v.a,{name:"MuiLink",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["underline".concat(Object(h.a)(r.underline))],"button"===r.component&&e.button]}})((function(t){var e=t.theme,r=t.ownerState,n=Object(l.b)(e,"palette.".concat(function(t){return S[t]||t}(r.color)))||r.color;return Object(a.a)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==n?Object(f.a)(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===r.component&&Object(i.a)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(x.focusVisible),{outline:"auto"}))})),E=s.forwardRef((function(t,e){var r=Object(p.a)({props:t,name:"MuiLink"}),i=r.className,l=r.color,f=void 0===l?"primary":l,d=r.component,v=void 0===d?"a":d,g=r.onBlur,y=r.onFocus,x=r.TypographyClasses,S=r.underline,E=void 0===S?"always":S,M=r.variant,C=void 0===M?"inherit":M,j=Object(o.a)(r,_),A=Object(m.a)(),T=A.isFocusVisibleRef,P=A.onBlur,D=A.onFocus,R=A.ref,L=s.useState(!1),I=Object(n.a)(L,2),N=I[0],F=I[1],B=Object(b.a)(e,R),z=Object(a.a)({},r,{color:f,component:v,focusVisible:N,underline:E,variant:C}),H=function(t){var e=t.classes,r=t.component,n=t.focusVisible,i=t.underline,o={root:["root","underline".concat(Object(h.a)(i)),"button"===r&&"button",n&&"focusVisible"]};return Object(u.a)(o,w,e)}(z);return Object(O.jsx)(k,Object(a.a)({className:Object(c.a)(H.root,i),classes:x,color:f,component:v,onBlur:function(t){P(t),!1===T.current&&F(!1),g&&g(t)},onFocus:function(t){D(t),!0===T.current&&F(!0),y&&y(t)},ref:B,ownerState:z,variant:C},j))}));e.a=E},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(894),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiCard",t)}Object(h.a)("MuiCard",["root"]);var p=r(6),m=["className","raised"],b=Object(c.a)(l.a,{name:"MuiCard",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(){return{overflow:"hidden"}})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiCard"}),o=r.className,c=r.raised,l=void 0!==c&&c,f=Object(i.a)(r,m),h=Object(n.a)({},r,{raised:l}),v=function(t){var e=t.classes;return Object(s.a)({root:["root"]},d,e)}(h);return Object(p.jsx)(b,Object(n.a)({className:Object(a.a)(v.root,o),elevation:l?8:void 0,ref:e,ownerState:h},f))}));e.a=v},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(1326),l=r(22),f=r(13),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiCardHeader",t)}var m=Object(d.a)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),b=r(6),v=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],g=Object(f.a)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:function(t,e){var r;return Object(o.a)((r={},Object(n.a)(r,"& .".concat(m.title),e.title),Object(n.a)(r,"& .".concat(m.subheader),e.subheader),r),e.root)}})({display:"flex",alignItems:"center",padding:16}),y=Object(f.a)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:function(t,e){return e.avatar}})({display:"flex",flex:"0 0 auto",marginRight:16}),w=Object(f.a)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:function(t,e){return e.action}})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),x=Object(f.a)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:function(t,e){return e.content}})({flex:"1 1 auto"}),O=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiCardHeader"}),n=r.action,a=r.avatar,f=r.className,h=r.component,d=void 0===h?"div":h,m=r.disableTypography,O=void 0!==m&&m,_=r.subheader,S=r.subheaderTypographyProps,k=r.title,E=r.titleTypographyProps,M=Object(i.a)(r,v),C=Object(o.a)({},r,{component:d,disableTypography:O}),j=function(t){var e=t.classes;return Object(c.a)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},p,e)}(C),A=k;null==A||A.type===u.a||O||(A=Object(b.jsx)(u.a,Object(o.a)({variant:a?"body2":"h5",className:j.title,component:"span",display:"block"},E,{children:A})));var T=_;return null==T||T.type===u.a||O||(T=Object(b.jsx)(u.a,Object(o.a)({variant:a?"body2":"body1",className:j.subheader,color:"text.secondary",component:"span",display:"block"},S,{children:T}))),Object(b.jsxs)(g,Object(o.a)({className:Object(s.a)(j.root,f),as:d,ref:e,ownerState:C},M,{children:[a&&Object(b.jsx)(y,{className:j.avatar,ownerState:C,children:a}),Object(b.jsxs)(x,{className:j.content,ownerState:C,children:[A,T]}),n&&Object(b.jsx)(w,{className:j.action,ownerState:C,children:n})]}))}));e.a=O},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(24),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiListSubheader",t)}Object(h.a)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var p=r(6),m=["className","color","component","disableGutters","disableSticky","inset"],b=Object(c.a)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"default"!==r.color&&e["color".concat(Object(l.a)(r.color))],!r.disableGutters&&e.gutters,r.inset&&e.inset,!r.disableSticky&&e.sticky]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===r.color&&{color:e.palette.primary.main},"inherit"===r.color&&{color:"inherit"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.inset&&{paddingLeft:72},!r.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:e.palette.background.paper})})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiListSubheader"}),o=r.className,c=r.color,f=void 0===c?"default":c,h=r.component,v=void 0===h?"li":h,g=r.disableGutters,y=void 0!==g&&g,w=r.disableSticky,x=void 0!==w&&w,O=r.inset,_=void 0!==O&&O,S=Object(n.a)(r,m),k=Object(i.a)({},r,{color:f,component:v,disableGutters:y,disableSticky:x,inset:_}),E=function(t){var e=t.classes,r=t.color,n=t.disableGutters,i=t.inset,o=t.disableSticky,a={root:["root","default"!==r&&"color".concat(Object(l.a)(r)),!n&&"gutters",i&&"inset",!o&&"sticky"]};return Object(s.a)(a,d,e)}(k);return Object(p.jsx)(b,Object(i.a)({as:v,className:Object(a.a)(E.root,o),ref:e,ownerState:k},S))}));e.a=v}]]);
          Evidence
          .version="2.29.1",e=ke,n.fn=mr,n.min=function(){var t=[].slice.call(arguments,0);return Ce("isBefore",t)},n.max=function(){var t=[].slice.call(arguments,0);return Ce("isAfter",t)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=d,n.unix=function(t){return ke(1e3*t)},n.months=function(t,e){return yr(t,e,"months")},n.isDate=l,n.locale=oe,n.invalid=b,n.duration=He,n.isMoment=
          Solution

          Please upgrade to the latest version of moment.js.

  3. Risk=Low, Confidence=High (2)

    1. https://uyenotest.infotracktelematics.com (2)

      1. Server Leaks Version Information via "Server" HTTP Response Header Field (1)
        1. GET https://uyenotest.infotracktelematics.com/static/css/main.1a2dea67.chunk.css
          Alert tags
          Alert description

          The web/application server is leaking version information via the "Server" HTTP response header. Access to such information may facilitate attackers identifying other vulnerabilities your web/application server is subject to.

          Request
          Request line and header section (453 bytes)
          GET https://uyenotest.infotracktelematics.com/static/css/main.1a2dea67.chunk.css HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: text/css,*/*;q=0.1
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Referer: https://uyenotest.infotracktelematics.com/login-test
          Sec-Fetch-Dest: style
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: same-origin
          
          
          Request body (0 bytes)
          Response
          Status line and header section (240 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: text/css
          Content-Length: 14378
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-382a"
          Accept-Ranges: bytes
          
          
          Response body (14378 bytes)
          body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif,"Meiryo UI","Mouhitsu Bold Font";background-color:#fff!important}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}html{height:auto!important}body{color:#4a4a4a!important;background:#fff!important}*{font-style:normal}.MuiToolbar-regular{padding:0!important}.MuiDialog-paper{overflow:inherit!important;background-color:transparent}.MuiSnackbar-anchorOriginBottomCenter{top:-80%!important}.popupShapes{background:#fff;position:relative;border-radius:20px}.popupShapes:after{left:-57px;border-right:58px solid #fff;border-top:189px solid transparent;-webkit-clip-path:polygon(7% 0,99% 0,100% 100%,0 100%);clip-path:polygon(5% 0,99% 0,100% 100%,0 100%)}.popupShapes:after,.popupShapes:before{content:"";position:absolute;bottom:13px;width:0;height:0;border-bottom:205px solid transparent}.popupShapes:before{right:-57px;border-left:58px solid #fff;border-top:186px solid transparent;-webkit-clip-path:ellipse(66% 57% at 33%);clip-path:ellipse(66% 57% at 33%)}.MuiDialog-paperFullWidth{border-radius:20px!important}#Featurs:before{border-left:19px solid transparent;left:-18px}#Featurs:after,#Featurs:before{content:"";width:0;height:0;border-top:67px solid #3a424e;position:absolute;z-index:9;bottom:11px;-webkit-transform:skewY(0deg);transform:skewY(0deg)}#Featurs:after{border-right:19px solid transparent;right:-18px}.popupShapesMDVR{background:#fff;position:relative;border-radius:20px}.popupShapesMDVR:after{left:-57px;border-right:58px solid #fff;-webkit-clip-path:polygon(7% 0,99% 0,100% 100%,0 100%);clip-path:polygon(5% 0,99% 0,100% 100%,0 100%)}.popupShapesMDVR:after,.popupShapesMDVR:before{content:"";position:absolute;bottom:13px;width:0;height:0;border-top:165px solid transparent;border-bottom:165px solid transparent}.popupShapesMDVR:before{right:-57px;border-left:58px solid #fff;-webkit-clip-path:ellipse(66% 57% at 33%);clip-path:ellipse(66% 57% at 33%)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#fff;border-radius:10px;-webkit-border-radius:10px;background-size:contain}::-webkit-scrollbar-thumb{background:#929292;border-radius:10px;height:8px}::-webkit-scrollbar-thumb:hover{background:#888}.MuiAutocomplete-inputRoot .MuiOutlinedInput-notchedOutline{border:0!important}.MuiAutocomplete-popper{top:0!important;left:0!important}.MuiAutocomplete-popper div{border-top-left-radius:25px;border-top-right-radius:25px;border-bottom-left-radius:25px;border-bottom-right-radius:25px;box-shadow:none;border:0}.MuiPopover-paper{border:0}.MuiPopover-paper ul{padding:0}.MuiPopover-paper ul li{padding:10px}.MuiAppBar-colorPrimary{z-index:1201!important;box-shadow:none;background-color:#fff!important}.expandright{left:auto;right:49px}.expandright:focus{padding:0 0 0 16px}@media only screen and (min-width:2561px){.chartbar{height:352px!important}}@media only screen and (min-width:1921px) and (max-width:2560px){.chartbar{height:352px!important}}@media only screen and (min-width:1801px) and (max-width:1920px){.chartbar{height:356px!important}}@media only screen and (min-width:1601px) and (max-width:1800px){.chartbar{height:354px!important}}@media only screen and (min-width:1501px) and (max-width:1600px){.chartbar{height:356px!important}}@media only screen and (min-width:1351px) and (max-width:1500px){.chartbar{height:354px!important}}@media only screen and (min-width:1201px) and (max-width:1350px){.chartbar{height:454px!important}}@media only screen and (max-width:1200px){.chartbar{height:481px!important}}.speedometer{margin-left:-44px;margin-top:-39px}.gm-svpc{display:none}.MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root]{padding:6px!important}.recharts-legend-wrapper{bottom:4px!important}#gmap{color:#fff}.highcharts-credits{display:none}.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-cell:focus,.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-columnHeader:focus{outline:0 solid #1976d2!important}.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-cell:focus-within,.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-columnHeader:focus-within{outline:0 solid rgba(25,118,210,.5)!important}#basic-menuAppbar .MuiPaper-root{top:64px!important}#basic-menuAppbar .MuiPaper-root ul{padding:0}#basic-menuAppbar .MuiPaper-root ul li{padding:8px 20px}#basic-menuAppbar .MuiPaper-root ul li:hover,#basic-menuAppbar .MuiPaper-root ul li:hover svg{color:#fff;background-color:#f2704e}#basic-menuAppbar-DataUsage .MuiPaper-root{top:64px!important}#basic-menuAppbar-DataUsage .MuiPaper-root ul{padding:0;overflow:auto;height:300px}#basic-menuAppbar-DataUsage .MuiPaper-root ul li{padding:8px 26px}#basic-menuAppbar-DataUsage .MuiPaper-root ul li:hover,#basic-menuAppbar-DataUsage .MuiPaper-root ul li:hover svg{color:#fff;background-color:#f2704e}#divControllPanel,.tab_content,.tv_control{display:block!important}.highcharts-range-selector-buttons .highcharts-label text{display:none}#download-menu{padding:0!important}#download-menu li{padding:6px 22px}#download-menu li:hover{background-color:#f2704e;color:#fff}#download-menu li svg{font-size:22px!important}#download-menu li:hover svg{color:#fff;background-color:#f2704e}.css-2tn99v-MuiDataGrid-main main{position:absolute;top:92px;text-align:center;width:100%}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementRight{color:#fff;background-color:#7c59bf;background-image:linear-gradient(90deg,#f2704e,#6755d3);padding:10px;margin-left:4px!important;font-size:13px}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementRight span{color:#e36d5d!important;margin-left:-.68em!important}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementBottom{color:#fff;background-color:#7c59bf;background-image:linear-gradient(90deg,#f2704e,#6755d3);padding:8px 15px;margin-left:4px!important;font-size:13px;text-align:center}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementBottom span{color:#e36d5d!important;margin-top:-.68em!important}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementLeft{color:#fff;background-color:#7c59bf;background-image:linear-gradient(270deg,#f2704e,#6755d3);padding:8px 15px;margin-left:4px!important;font-size:13px;text-align:center}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementLeft span{color:#e36d5d!important;margin-top:.5em!important}.error-container{text-align:center;font-size:106px;font-family:"Catamaran",sans-serif;font-weight:800;margin:70px 15px}.error-container>span{display:inline-block;position:relative}.error-container>span.four{width:136px;height:43px;border-radius:999px;background:linear-gradient(140deg,rgba(0,0,0,.1),rgba(0,0,0,.07) 43%,transparent 44%,transparent),linear-gradient(105deg,transparent,transparent 40%,rgba(0,0,0,.06) 41%,rgba(0,0,0,.07) 76%,transparent 77%,transparent),linear-gradient(90deg,#4791ab,#33a3cb)}.error-container>span.four:after,.error-container>span.four:before{content:"";display:block;position:absolute;border-radius:999px}.error-container>span.four:before{width:43px;height:156px;left:60px;bottom:-43px;background:linear-gradient(128deg,rgba(0,0,0,.1),rgba(0,0,0,.07) 40%,transparent 41%,transparent),linear-gradient(116deg,rgba(0,0,0,.1),rgba(0,0,0,.07) 50%,transparent 51%,transparent),linear-gradient(0deg,#0ba7dd,#2a5a6a,#1c80a3,#2b5a6a,#22aedf)}.error-container>span.four:after{width:137px;height:43px;-webkit-transform:rotate(-49.5deg);transform:rotate(-49.5deg);left:-18px;bottom:36px;background:linear-gradient(90deg,#67a7bd,#3a98b9,#76cae7,#2f748d,#22aedf)}.error-container>span.zero{vertical-align:text-top;width:156px;height:156px;border-radius:999px;background:linear-gradient(-45deg,transparent,rgba(0,0,0,.06) 50%,transparent 51%,transparent),linear-gradient(to top right,#22aedf,#22aedf,#22aedf,#22aedf,#22aedf,#22aedf,#22aedf);overflow:hidden;-webkit-animation:bgshadow 5s infinite;animation:bgshadow 5s infinite}.error-container>span.zero:before{content:"";display:block;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:90px;height:90px;background-color:transparent;left:0;bottom:0;background:linear-gradient(95deg,transparent,transparent 8%,rgba(0,0,0,.07) 9%,transparent 50%,transparent),linear-gradient(85deg,transparent,transparent 19%,rgba(0,0,0,.05) 20%,rgba(0,0,0,.07) 91%,transparent 92%,transparent)}.error-container>span.zero:after{content:"";display:block;position:absolute;border-radius:999px;width:70px;height:70px;left:43px;bottom:43px;background:#fdfaf5;box-shadow:-2px 2px 2px 0 rgba(0,0,0,.1)}.screen-reader-text{position:absolute;top:-9999em;left:-9999em}@-webkit-keyframes bgshadow{0%{box-shadow:inset -160px 160px 0 5px rgba(0,0,0,.4)}45%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}55%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}to{box-shadow:inset 160px -160px 0 5px rgba(0,0,0,.4)}}@keyframes bgshadow{0%{box-shadow:inset -160px 160px 0 5px rgba(0,0,0,.4)}45%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}55%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}to{box-shadow:inset 160px -160px 0 5px rgba(0,0,0,.4)}}.zoom-area{max-width:490px;margin:30px auto;font-size:19px}.link-container,.zoom-area{text-align:center}a.more-link{text-transform:uppercase;font-size:13px;background-color:#22aedf;padding:10px 25px;border-radius:25px;color:#fff;display:inline-block;margin-right:5px;margin-bottom:5px;line-height:1.5;text-decoration:none;margin-top:30px;letter-spacing:1px}a.more-link:hover{background-color:#19a26e}::-ms-reveal{display:none}#pac-input{left:auto!important;top:8px!important;right:65px;padding:14px;border-radius:25px;border:1px solid #ddd}#successBodyData{display:block;width:200px;color:#8ac72e;align-items:center;text-align:center;margin:40px auto}.circle{stroke-dasharray:89;stroke-dashoffset:76;-webkit-animation:draw 1s forwards;animation:draw 1s forwards}.tick{stroke-dasharray:18;stroke-dashoffset:18;-webkit-animation:draw 1s 1s forwards;animation:draw 1s 1s forwards}@-webkit-keyframes draw{to{stroke-dashoffset:0}}@keyframes draw{to{stroke-dashoffset:0}}.successBodyData{text-align:center;align-items:center;justify-content:center}#loading-bar-spinner.spinner{margin-left:550px;top:150px;margin-top:0;position:absolute;z-index:19!important;-webkit-animation:loading-bar-spinner .3s linear infinite;animation:loading-bar-spinner .3s linear infinite}#loading-bar-spinner.spinner .spinner-icon{width:50px;height:50px;border:10px solid transparent;border-top-color:#f5f5f5;border-left-color:#f5f5f5!important;border-radius:60%}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.toggle{--width:150px;--height:calc(var(--width)/4.5);position:relative;display:inline-block;width:var(--width);height:var(--height);box-shadow:0 1px 3px rgba(0,0,0,.3);border-radius:var(--height);cursor:pointer;margin-bottom:22px}.toggle input{display:none}.toggle .slider{width:100%;height:100%;border-radius:var(--height);background-color:#ccc}.toggle .slider,.toggle .slider:before{position:absolute;top:0;left:0;transition:all .4s ease-in-out}.toggle .slider:before{content:"";width:calc(var(--height));height:calc(var(--height));border-radius:calc(var(--height)/2);background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}.toggle input:checked+.slider{background-color:#f37521}.toggle input:checked+.slider:before{-webkit-transform:translateX(calc(var(--width) - var(--height)));transform:translateX(calc(var(--width) - var(--height)))}.toggle .labels{top:8px;left:0;width:100%;height:100%;font-size:12px;font-family:sans-serif;overflow:hidden}.toggle .labels,.toggle .labels:after{position:absolute;transition:all .4s ease-in-out}.toggle .labels:after{content:attr(data-off);right:5px;color:#4d4d4d;opacity:1;text-shadow:1px 1px 2px rgba(0,0,0,.4)}.toggle .labels:before{content:attr(data-on);position:absolute;left:calc(var(--height) - var(--width) + 2px);color:#fff;opacity:0;text-shadow:1px 1px 2px hsla(0,0%,100%,.4);transition:all .4s ease-in-out}.toggle input:checked~.labels:after{opacity:0}.toggle input:checked~.labels:after,.toggle input:checked~.labels:before{-webkit-transform:translateX(calc(var(--width) - var(--height)));transform:translateX(calc(var(--width) - var(--height)))}.toggle input:checked~.labels:before{opacity:1}.MuiListSubheader-root{background-color:#fff!important}#SelvaBar header{top:70px;left:100px}#Selvaaleft .MuiPaper-root{top:58px;left:80px;border:1px solid #ddd;padding:10px;margin-top:15px;border-radius:8px}#selvaa-Btn{position:absolute;top:55px;left:92px}#closeBtnDrawer{min-height:50px!important}#closeBtnDrawer button{position:absolute;top:3px;right:12px}.css-17beh63{margin-top:-42px!important}#menu-clientname-custom .MuiPaper-root,#menu-date_range-custom .MuiPaper-root,#menu-username-custom .MuiPaper-root,#menu-vehicleno-custom .MuiPaper-root,.MuiModal-root .MuiBackdrop-root+.MuiPaper-root{border-radius:25px!important}#menu-clientname .MuiPaper-root,#menu-username .MuiPaper-root{margin-top:6px!important}.exportPDFBtn{background-color:#d70909;border:0;color:#fff;padding:10px 15px;border-radius:4px;margin-top:20px;margin-bottom:20px;cursor:pointer}.exportPDFBtn:hover{background-color:#a80909}.exportPDFBtn:focus{background-color:#d22424}.graphHeading{color:#fff;width:100%;margin:0;padding:10px;font-size:18px;font-weight:400;background-color:#22aedf}.highcharts{border:1px solid #ddd;margin-bottom:25px;margin-top:20px}#menu-date_range .MuiPaper-root{border-radius:15px!important;width:180px;margin-top:3px!important}#menu-clientname .MuiPaper-root,#menu-username .MuiPaper-root{border-radius:15px!important;width:180px;margin-top:8px!important}#menu-driver_name .MuiPaper-root,#menu-driverName .MuiPaper-root,#menu-exportfile .MuiPaper-root,#menu-month .MuiPaper-root,#menu-vehicleno .MuiPaper-root,#menu-year .MuiPaper-root{border-radius:15px!important;width:180px;margin-top:6px!important}
          Evidence
          nginx/1.20.2
          Solution

          Ensure that your web server, application server, load balancer, etc. is configured to suppress the "Server" header or provide generic details.

      2. Strict-Transport-Security Header Not Set (1)
        1. GET https://uyenotest.infotracktelematics.com/static/css/main.1a2dea67.chunk.css
          Alert tags
          Alert description

          HTTP Strict Transport Security (HSTS) is a web security policy mechanism whereby a web server declares that complying user agents (such as a web browser) are to interact with it using only secure HTTPS connections (i.e. HTTP layered over TLS/SSL). HSTS is an IETF standards track protocol and is specified in RFC 6797.

          Request
          Request line and header section (453 bytes)
          GET https://uyenotest.infotracktelematics.com/static/css/main.1a2dea67.chunk.css HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: text/css,*/*;q=0.1
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Referer: https://uyenotest.infotracktelematics.com/login-test
          Sec-Fetch-Dest: style
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: same-origin
          
          
          Request body (0 bytes)
          Response
          Status line and header section (240 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: text/css
          Content-Length: 14378
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-382a"
          Accept-Ranges: bytes
          
          
          Response body (14378 bytes)
          body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif,"Meiryo UI","Mouhitsu Bold Font";background-color:#fff!important}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}html{height:auto!important}body{color:#4a4a4a!important;background:#fff!important}*{font-style:normal}.MuiToolbar-regular{padding:0!important}.MuiDialog-paper{overflow:inherit!important;background-color:transparent}.MuiSnackbar-anchorOriginBottomCenter{top:-80%!important}.popupShapes{background:#fff;position:relative;border-radius:20px}.popupShapes:after{left:-57px;border-right:58px solid #fff;border-top:189px solid transparent;-webkit-clip-path:polygon(7% 0,99% 0,100% 100%,0 100%);clip-path:polygon(5% 0,99% 0,100% 100%,0 100%)}.popupShapes:after,.popupShapes:before{content:"";position:absolute;bottom:13px;width:0;height:0;border-bottom:205px solid transparent}.popupShapes:before{right:-57px;border-left:58px solid #fff;border-top:186px solid transparent;-webkit-clip-path:ellipse(66% 57% at 33%);clip-path:ellipse(66% 57% at 33%)}.MuiDialog-paperFullWidth{border-radius:20px!important}#Featurs:before{border-left:19px solid transparent;left:-18px}#Featurs:after,#Featurs:before{content:"";width:0;height:0;border-top:67px solid #3a424e;position:absolute;z-index:9;bottom:11px;-webkit-transform:skewY(0deg);transform:skewY(0deg)}#Featurs:after{border-right:19px solid transparent;right:-18px}.popupShapesMDVR{background:#fff;position:relative;border-radius:20px}.popupShapesMDVR:after{left:-57px;border-right:58px solid #fff;-webkit-clip-path:polygon(7% 0,99% 0,100% 100%,0 100%);clip-path:polygon(5% 0,99% 0,100% 100%,0 100%)}.popupShapesMDVR:after,.popupShapesMDVR:before{content:"";position:absolute;bottom:13px;width:0;height:0;border-top:165px solid transparent;border-bottom:165px solid transparent}.popupShapesMDVR:before{right:-57px;border-left:58px solid #fff;-webkit-clip-path:ellipse(66% 57% at 33%);clip-path:ellipse(66% 57% at 33%)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#fff;border-radius:10px;-webkit-border-radius:10px;background-size:contain}::-webkit-scrollbar-thumb{background:#929292;border-radius:10px;height:8px}::-webkit-scrollbar-thumb:hover{background:#888}.MuiAutocomplete-inputRoot .MuiOutlinedInput-notchedOutline{border:0!important}.MuiAutocomplete-popper{top:0!important;left:0!important}.MuiAutocomplete-popper div{border-top-left-radius:25px;border-top-right-radius:25px;border-bottom-left-radius:25px;border-bottom-right-radius:25px;box-shadow:none;border:0}.MuiPopover-paper{border:0}.MuiPopover-paper ul{padding:0}.MuiPopover-paper ul li{padding:10px}.MuiAppBar-colorPrimary{z-index:1201!important;box-shadow:none;background-color:#fff!important}.expandright{left:auto;right:49px}.expandright:focus{padding:0 0 0 16px}@media only screen and (min-width:2561px){.chartbar{height:352px!important}}@media only screen and (min-width:1921px) and (max-width:2560px){.chartbar{height:352px!important}}@media only screen and (min-width:1801px) and (max-width:1920px){.chartbar{height:356px!important}}@media only screen and (min-width:1601px) and (max-width:1800px){.chartbar{height:354px!important}}@media only screen and (min-width:1501px) and (max-width:1600px){.chartbar{height:356px!important}}@media only screen and (min-width:1351px) and (max-width:1500px){.chartbar{height:354px!important}}@media only screen and (min-width:1201px) and (max-width:1350px){.chartbar{height:454px!important}}@media only screen and (max-width:1200px){.chartbar{height:481px!important}}.speedometer{margin-left:-44px;margin-top:-39px}.gm-svpc{display:none}.MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root]{padding:6px!important}.recharts-legend-wrapper{bottom:4px!important}#gmap{color:#fff}.highcharts-credits{display:none}.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-cell:focus,.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-columnHeader:focus{outline:0 solid #1976d2!important}.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-cell:focus-within,.css-1d97e6z-MuiDataGrid-root .MuiDataGrid-columnHeader:focus-within{outline:0 solid rgba(25,118,210,.5)!important}#basic-menuAppbar .MuiPaper-root{top:64px!important}#basic-menuAppbar .MuiPaper-root ul{padding:0}#basic-menuAppbar .MuiPaper-root ul li{padding:8px 20px}#basic-menuAppbar .MuiPaper-root ul li:hover,#basic-menuAppbar .MuiPaper-root ul li:hover svg{color:#fff;background-color:#f2704e}#basic-menuAppbar-DataUsage .MuiPaper-root{top:64px!important}#basic-menuAppbar-DataUsage .MuiPaper-root ul{padding:0;overflow:auto;height:300px}#basic-menuAppbar-DataUsage .MuiPaper-root ul li{padding:8px 26px}#basic-menuAppbar-DataUsage .MuiPaper-root ul li:hover,#basic-menuAppbar-DataUsage .MuiPaper-root ul li:hover svg{color:#fff;background-color:#f2704e}#divControllPanel,.tab_content,.tv_control{display:block!important}.highcharts-range-selector-buttons .highcharts-label text{display:none}#download-menu{padding:0!important}#download-menu li{padding:6px 22px}#download-menu li:hover{background-color:#f2704e;color:#fff}#download-menu li svg{font-size:22px!important}#download-menu li:hover svg{color:#fff;background-color:#f2704e}.css-2tn99v-MuiDataGrid-main main{position:absolute;top:92px;text-align:center;width:100%}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementRight{color:#fff;background-color:#7c59bf;background-image:linear-gradient(90deg,#f2704e,#6755d3);padding:10px;margin-left:4px!important;font-size:13px}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementRight span{color:#e36d5d!important;margin-left:-.68em!important}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementBottom{color:#fff;background-color:#7c59bf;background-image:linear-gradient(90deg,#f2704e,#6755d3);padding:8px 15px;margin-left:4px!important;font-size:13px;text-align:center}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementBottom span{color:#e36d5d!important;margin-top:-.68em!important}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementLeft{color:#fff;background-color:#7c59bf;background-image:linear-gradient(270deg,#f2704e,#6755d3);padding:8px 15px;margin-left:4px!important;font-size:13px;text-align:center}.MuiTooltip-popperArrow .MuiTooltip-tooltipPlacementLeft span{color:#e36d5d!important;margin-top:.5em!important}.error-container{text-align:center;font-size:106px;font-family:"Catamaran",sans-serif;font-weight:800;margin:70px 15px}.error-container>span{display:inline-block;position:relative}.error-container>span.four{width:136px;height:43px;border-radius:999px;background:linear-gradient(140deg,rgba(0,0,0,.1),rgba(0,0,0,.07) 43%,transparent 44%,transparent),linear-gradient(105deg,transparent,transparent 40%,rgba(0,0,0,.06) 41%,rgba(0,0,0,.07) 76%,transparent 77%,transparent),linear-gradient(90deg,#4791ab,#33a3cb)}.error-container>span.four:after,.error-container>span.four:before{content:"";display:block;position:absolute;border-radius:999px}.error-container>span.four:before{width:43px;height:156px;left:60px;bottom:-43px;background:linear-gradient(128deg,rgba(0,0,0,.1),rgba(0,0,0,.07) 40%,transparent 41%,transparent),linear-gradient(116deg,rgba(0,0,0,.1),rgba(0,0,0,.07) 50%,transparent 51%,transparent),linear-gradient(0deg,#0ba7dd,#2a5a6a,#1c80a3,#2b5a6a,#22aedf)}.error-container>span.four:after{width:137px;height:43px;-webkit-transform:rotate(-49.5deg);transform:rotate(-49.5deg);left:-18px;bottom:36px;background:linear-gradient(90deg,#67a7bd,#3a98b9,#76cae7,#2f748d,#22aedf)}.error-container>span.zero{vertical-align:text-top;width:156px;height:156px;border-radius:999px;background:linear-gradient(-45deg,transparent,rgba(0,0,0,.06) 50%,transparent 51%,transparent),linear-gradient(to top right,#22aedf,#22aedf,#22aedf,#22aedf,#22aedf,#22aedf,#22aedf);overflow:hidden;-webkit-animation:bgshadow 5s infinite;animation:bgshadow 5s infinite}.error-container>span.zero:before{content:"";display:block;position:absolute;-webkit-transform:rotate(45deg);transform:rotate(45deg);width:90px;height:90px;background-color:transparent;left:0;bottom:0;background:linear-gradient(95deg,transparent,transparent 8%,rgba(0,0,0,.07) 9%,transparent 50%,transparent),linear-gradient(85deg,transparent,transparent 19%,rgba(0,0,0,.05) 20%,rgba(0,0,0,.07) 91%,transparent 92%,transparent)}.error-container>span.zero:after{content:"";display:block;position:absolute;border-radius:999px;width:70px;height:70px;left:43px;bottom:43px;background:#fdfaf5;box-shadow:-2px 2px 2px 0 rgba(0,0,0,.1)}.screen-reader-text{position:absolute;top:-9999em;left:-9999em}@-webkit-keyframes bgshadow{0%{box-shadow:inset -160px 160px 0 5px rgba(0,0,0,.4)}45%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}55%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}to{box-shadow:inset 160px -160px 0 5px rgba(0,0,0,.4)}}@keyframes bgshadow{0%{box-shadow:inset -160px 160px 0 5px rgba(0,0,0,.4)}45%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}55%{box-shadow:inset 0 0 0 0 rgba(0,0,0,.1)}to{box-shadow:inset 160px -160px 0 5px rgba(0,0,0,.4)}}.zoom-area{max-width:490px;margin:30px auto;font-size:19px}.link-container,.zoom-area{text-align:center}a.more-link{text-transform:uppercase;font-size:13px;background-color:#22aedf;padding:10px 25px;border-radius:25px;color:#fff;display:inline-block;margin-right:5px;margin-bottom:5px;line-height:1.5;text-decoration:none;margin-top:30px;letter-spacing:1px}a.more-link:hover{background-color:#19a26e}::-ms-reveal{display:none}#pac-input{left:auto!important;top:8px!important;right:65px;padding:14px;border-radius:25px;border:1px solid #ddd}#successBodyData{display:block;width:200px;color:#8ac72e;align-items:center;text-align:center;margin:40px auto}.circle{stroke-dasharray:89;stroke-dashoffset:76;-webkit-animation:draw 1s forwards;animation:draw 1s forwards}.tick{stroke-dasharray:18;stroke-dashoffset:18;-webkit-animation:draw 1s 1s forwards;animation:draw 1s 1s forwards}@-webkit-keyframes draw{to{stroke-dashoffset:0}}@keyframes draw{to{stroke-dashoffset:0}}.successBodyData{text-align:center;align-items:center;justify-content:center}#loading-bar-spinner.spinner{margin-left:550px;top:150px;margin-top:0;position:absolute;z-index:19!important;-webkit-animation:loading-bar-spinner .3s linear infinite;animation:loading-bar-spinner .3s linear infinite}#loading-bar-spinner.spinner .spinner-icon{width:50px;height:50px;border:10px solid transparent;border-top-color:#f5f5f5;border-left-color:#f5f5f5!important;border-radius:60%}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.toggle{--width:150px;--height:calc(var(--width)/4.5);position:relative;display:inline-block;width:var(--width);height:var(--height);box-shadow:0 1px 3px rgba(0,0,0,.3);border-radius:var(--height);cursor:pointer;margin-bottom:22px}.toggle input{display:none}.toggle .slider{width:100%;height:100%;border-radius:var(--height);background-color:#ccc}.toggle .slider,.toggle .slider:before{position:absolute;top:0;left:0;transition:all .4s ease-in-out}.toggle .slider:before{content:"";width:calc(var(--height));height:calc(var(--height));border-radius:calc(var(--height)/2);background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}.toggle input:checked+.slider{background-color:#f37521}.toggle input:checked+.slider:before{-webkit-transform:translateX(calc(var(--width) - var(--height)));transform:translateX(calc(var(--width) - var(--height)))}.toggle .labels{top:8px;left:0;width:100%;height:100%;font-size:12px;font-family:sans-serif;overflow:hidden}.toggle .labels,.toggle .labels:after{position:absolute;transition:all .4s ease-in-out}.toggle .labels:after{content:attr(data-off);right:5px;color:#4d4d4d;opacity:1;text-shadow:1px 1px 2px rgba(0,0,0,.4)}.toggle .labels:before{content:attr(data-on);position:absolute;left:calc(var(--height) - var(--width) + 2px);color:#fff;opacity:0;text-shadow:1px 1px 2px hsla(0,0%,100%,.4);transition:all .4s ease-in-out}.toggle input:checked~.labels:after{opacity:0}.toggle input:checked~.labels:after,.toggle input:checked~.labels:before{-webkit-transform:translateX(calc(var(--width) - var(--height)));transform:translateX(calc(var(--width) - var(--height)))}.toggle input:checked~.labels:before{opacity:1}.MuiListSubheader-root{background-color:#fff!important}#SelvaBar header{top:70px;left:100px}#Selvaaleft .MuiPaper-root{top:58px;left:80px;border:1px solid #ddd;padding:10px;margin-top:15px;border-radius:8px}#selvaa-Btn{position:absolute;top:55px;left:92px}#closeBtnDrawer{min-height:50px!important}#closeBtnDrawer button{position:absolute;top:3px;right:12px}.css-17beh63{margin-top:-42px!important}#menu-clientname-custom .MuiPaper-root,#menu-date_range-custom .MuiPaper-root,#menu-username-custom .MuiPaper-root,#menu-vehicleno-custom .MuiPaper-root,.MuiModal-root .MuiBackdrop-root+.MuiPaper-root{border-radius:25px!important}#menu-clientname .MuiPaper-root,#menu-username .MuiPaper-root{margin-top:6px!important}.exportPDFBtn{background-color:#d70909;border:0;color:#fff;padding:10px 15px;border-radius:4px;margin-top:20px;margin-bottom:20px;cursor:pointer}.exportPDFBtn:hover{background-color:#a80909}.exportPDFBtn:focus{background-color:#d22424}.graphHeading{color:#fff;width:100%;margin:0;padding:10px;font-size:18px;font-weight:400;background-color:#22aedf}.highcharts{border:1px solid #ddd;margin-bottom:25px;margin-top:20px}#menu-date_range .MuiPaper-root{border-radius:15px!important;width:180px;margin-top:3px!important}#menu-clientname .MuiPaper-root,#menu-username .MuiPaper-root{border-radius:15px!important;width:180px;margin-top:8px!important}#menu-driver_name .MuiPaper-root,#menu-driverName .MuiPaper-root,#menu-exportfile .MuiPaper-root,#menu-month .MuiPaper-root,#menu-vehicleno .MuiPaper-root,#menu-year .MuiPaper-root{border-radius:15px!important;width:180px;margin-top:6px!important}
          Solution

          Ensure that your web server, application server, load balancer, etc. is configured to enforce Strict-Transport-Security.

  4. Risk=Low, Confidence=Medium (2)

    1. https://fmsv14apitest.infotracktelematics.com:5001 (1)

      1. Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) (1)
        1. OPTIONS https://fmsv14apitest.infotracktelematics.com:5001/fms/v2/auth
          Alert tags
          Alert description

          The web/application server is leaking information via one or more "X-Powered-By" HTTP response headers. Access to such information may facilitate attackers identifying other frameworks/components your web application is reliant upon and the vulnerabilities such components may be subject to.

          Request
          Request line and header section (599 bytes)
          OPTIONS https://fmsv14apitest.infotracktelematics.com:5001/fms/v2/auth HTTP/1.1
          Host: fmsv14apitest.infotracktelematics.com:5001
          Connection: keep-alive
          Accept: */*
          Access-Control-Request-Method: POST
          Access-Control-Request-Headers: content-type
          Origin: https://uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
          Sec-Fetch-Mode: cors
          Sec-Fetch-Site: same-site
          Sec-Fetch-Dest: empty
          Referer: https://uyenotest.infotracktelematics.com/
          Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
          
          
          Request body (0 bytes)
          Response
          Status line and header section (369 bytes)
          HTTP/1.1 204 No Content
          X-Powered-By: Express
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: GET,HEAD,PUT,PATCH,POST,DELETE
          Vary: Access-Control-Request-Headers
          Access-Control-Allow-Headers: content-type
          Content-Length: 0
          Date: Tue, 31 Jan 2023 10:30:20 GMT
          Connection: keep-alive
          Keep-Alive: timeout=5
          
          
          Response body (0 bytes)
          Evidence
          X-Powered-By: Express
          Solution

          Ensure that your web server, application server, load balancer, etc. is configured to suppress "X-Powered-By" headers.

    2. https://uyenotest.infotracktelematics.com (1)

      1. X-Content-Type-Options Header Missing (1)
        1. GET https://uyenotest.infotracktelematics.com/static/css/2.14f01493.chunk.css
          Alert tags
          Alert description

          The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

          Other info

          This issue still applies to error type pages (401, 403, 500, etc.) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.

          At "High" threshold this scan rule will not alert on client or server error responses.

          Request
          Request line and header section (450 bytes)
          GET https://uyenotest.infotracktelematics.com/static/css/2.14f01493.chunk.css HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: text/css,*/*;q=0.1
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Referer: https://uyenotest.infotracktelematics.com/login-test
          Sec-Fetch-Dest: style
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: same-origin
          
          
          Request body (0 bytes)
          Response
          Status line and header section (238 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: text/css
          Content-Length: 3715
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-e83"
          Accept-Ranges: bytes
          
          
          Response body (3715 bytes)
          .react-checkbox-tree{display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;font-size:16px}.react-checkbox-tree>ol{-ms-flex:1 1 auto;flex:1 1 auto}.react-checkbox-tree ol{margin:0;padding-left:0;list-style-type:none}.react-checkbox-tree ol ol{padding-left:24px}.react-checkbox-tree button{line-height:normal;color:inherit}.react-checkbox-tree button:disabled{cursor:not-allowed}.react-checkbox-tree .rct-bare-label{cursor:default}.react-checkbox-tree label{margin-bottom:0;cursor:pointer}.react-checkbox-tree label:hover{background:rgba(51,51,204,.1)}.react-checkbox-tree label:active,.react-checkbox-tree label:focus{background:rgba(51,51,204,.15)}.react-checkbox-tree:not(.rct-native-display) input{display:none}.react-checkbox-tree.rct-native-display input{margin:0 5px}.react-checkbox-tree .rct-icon{display:inline-block;text-align:center;text-rendering:auto;font-family:"Font Awesome 5 Free","FontAwesome",sans-serif;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;font-style:normal}.rct-disabled>.rct-text>label{opacity:.75;cursor:not-allowed}.rct-disabled>.rct-text>label:active,.rct-disabled>.rct-text>label:hover{background:transparent}.rct-text{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.rct-options{-ms-flex:0 0 auto;flex:0 0 auto;margin-left:.5rem;text-align:right}.rct-option{opacity:.75;border:0;background:none;cursor:pointer;padding:0 4px;font-size:18px}.rct-option:hover{opacity:1}.rct-option+.rct-option{margin-left:2px}.rct-checkbox,.rct-collapse,.rct-node-icon{padding:0 5px}.rct-checkbox *,.rct-collapse *,.rct-node-icon *{display:inline-block;margin:0;width:14px}.rct-collapse{-ms-flex-item-align:stretch;align-self:stretch;border:0;background:none;line-height:normal;color:inherit;font-size:12px}.rct-collapse.rct-collapse-btn{cursor:pointer}.rct-collapse>.rct-icon-expand-close{opacity:.5}.rct-collapse>.rct-icon-expand-close:hover{opacity:1}.rct-native-display .rct-checkbox{display:none}.rct-node-clickable{cursor:pointer}.rct-node-clickable:hover{background:rgba(51,51,204,.1)}.rct-node-clickable:focus{outline:0;background:rgba(51,51,204,.2)}.rct-node-icon{color:#33c}.rct-title{padding:0 5px}.rct-icons-fa4 .rct-icon-expand-close:before{content:"\f054"}.rct-icons-fa4 .rct-icon-expand-open:before{content:"\f078"}.rct-icons-fa4 .rct-icon-uncheck:before{content:"\f096"}.rct-icons-fa4 .rct-icon-check:before{content:"\f046"}.rct-icons-fa4 .rct-icon-half-check:before{opacity:.5;content:"\f046"}.rct-icons-fa4 .rct-icon-leaf:before{content:"\f016"}.rct-icons-fa4 .rct-icon-parent-open:before{content:"\f115"}.rct-icons-fa4 .rct-icon-parent-close:before{content:"\f114"}.rct-icons-fa4 .rct-icon-expand-all:before{content:"\f0fe"}.rct-icons-fa4 .rct-icon-collapse-all:before{content:"\f146"}.rct-icons-fa5 .rct-icon-expand-close:before{font-weight:900;content:"\f054"}.rct-icons-fa5 .rct-icon-expand-open:before{font-weight:900;content:"\f078"}.rct-icons-fa5 .rct-icon-uncheck:before{content:"\f0c8"}.rct-icons-fa5 .rct-icon-check:before{content:"\f14a"}.rct-icons-fa5 .rct-icon-half-check:before{opacity:.5;content:"\f14a"}.rct-icons-fa5 .rct-icon-leaf:before{content:"\f15b"}.rct-icons-fa5 .rct-icon-parent-open:before{content:"\f07c"}.rct-icons-fa5 .rct-icon-parent-close:before{content:"\f07b"}.rct-icons-fa5 .rct-icon-expand-all:before{content:"\f0fe"}.rct-icons-fa5 .rct-icon-collapse-all:before{content:"\f146"}.rct-direction-rtl{direction:rtl}.rct-direction-rtl ol ol{padding-right:24px;padding-left:0}.rct-direction-rtl.rct-icons-fa4 .rct-icon-expand-close:before{content:"\f105"}.rct-direction-rtl.rct-icons-fa5 .rct-icon-expand-close:before{content:"\f053"}
          Parameter
          X-Content-Type-Options
          Solution

          Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.

          If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.

  5. Risk=Low, Confidence=Low (1)

    1. https://shavar.services.mozilla.com (1)

      1. Timestamp Disclosure - Unix (1)
        1. POST https://shavar.services.mozilla.com/downloads?client=navclient-auto-ffox&appver=109.0&pver=2.2
          Alert tags
          Alert description

          A timestamp was disclosed by the application/web server - Unix

          Other info

          1668785275, which evaluates to: 2022-11-18 20:57:55

          Request
          Request line and header section (466 bytes)
          POST https://shavar.services.mozilla.com/downloads?client=navclient-auto-ffox&appver=109.0&pver=2.2 HTTP/1.1
          Host: shavar.services.mozilla.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: */*
          Accept-Language: en-US,en;q=0.5
          Content-Type: text/plain
          Content-Length: 426
          Connection: close
          Sec-Fetch-Dest: empty
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: none
          Pragma: no-cache
          Cache-Control: no-cache
          
          
          Request body (426 bytes)
          ads-track-digest256;
          social-track-digest256;
          analytics-track-digest256;
          content-track-digest256;
          mozstd-trackwhite-digest256;
          google-trackwhite-digest256;
          base-fingerprinting-track-digest256;
          base-cryptomining-track-digest256;
          social-tracking-protection-facebook-digest256;
          social-tracking-protection-linkedin-digest256;
          social-tracking-protection-twitter-digest256;
          base-email-track-digest256;
          content-email-track-digest256;
          
          Response
          Status line and header section (201 bytes)
          HTTP/1.1 200 OK
          Content-Type: application/octet-stream
          Date: Tue, 31 Jan 2023 10:15:29 GMT
          Strict-Transport-Security: max-age=31536000; includeSubDomains
          Content-Length: 1497
          Connection: Close
          
          
          Response body (1497 bytes)
          n:21600
          i:ads-track-digest256
          u:tracking-protection.cdn.mozilla.net/ads-track-digest256/1668785275
          i:social-track-digest256
          u:tracking-protection.cdn.mozilla.net/social-track-digest256/1668785275
          i:analytics-track-digest256
          u:tracking-protection.cdn.mozilla.net/analytics-track-digest256/1663274228
          i:content-track-digest256
          u:tracking-protection.cdn.mozilla.net/content-track-digest256/1670952926
          i:mozstd-trackwhite-digest256
          u:tracking-protection.cdn.mozilla.net/mozstd-trackwhite-digest256/1670952926
          i:google-trackwhite-digest256
          u:tracking-protection.cdn.mozilla.net/google-trackwhite-digest256/1604686195
          i:base-fingerprinting-track-digest256
          u:tracking-protection.cdn.mozilla.net/base-fingerprinting-track-digest256/1663274228
          i:base-cryptomining-track-digest256
          u:tracking-protection.cdn.mozilla.net/base-cryptomining-track-digest256/1604686195
          i:social-tracking-protection-facebook-digest256
          u:tracking-protection.cdn.mozilla.net/social-tracking-protection-facebook-digest256/1604686195
          i:social-tracking-protection-linkedin-digest256
          u:tracking-protection.cdn.mozilla.net/social-tracking-protection-linkedin-digest256/1564526481
          i:social-tracking-protection-twitter-digest256
          u:tracking-protection.cdn.mozilla.net/social-tracking-protection-twitter-digest256/1604686195
          i:base-email-track-digest256
          u:tracking-protection.cdn.mozilla.net/base-email-track-digest256/1668785275
          i:content-email-track-digest256
          u:tracking-protection.cdn.mozilla.net/content-email-track-digest256/1668785275
          
          Evidence
          1668785275
          Solution

          Manually confirm that the timestamp data is not sensitive, and that the data cannot be aggregated to disclose exploitable patterns.

  6. Risk=Informational, Confidence=High (1)

    1. https://fmsv14apitest.infotracktelematics.com:5001 (1)

      1. Username Hash Found (1)
        1. POST https://fmsv14apitest.infotracktelematics.com:5001/fms/v2/vehicle/dashboard
          Alert tags
          Alert description

          A hash of a username (admin) was found in the response. This may indicate that the application is subject to an Insecure Direct Object Reference (IDOR) vulnerability. Manual testing will be required to see if this discovery can be abused.

          Other info

          The hash was an MD5, with value: 21232f297a57a5a743894a0e4a801fc3

          Request
          Request line and header section (886 bytes)
          POST https://fmsv14apitest.infotracktelematics.com:5001/fms/v2/vehicle/dashboard HTTP/1.1
          Host: fmsv14apitest.infotracktelematics.com:5001
          Connection: keep-alive
          Content-Length: 25
          sec-ch-ua: "Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"
          Content-Type: application/json
          sec-ch-ua-mobile: ?0
          Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoiSW5mb0FkbWluIiwiaWF0IjoxNjc1MTYxMDIwLCJleHAiOjE2NzUxNjM0MjB9.TEfCZ1sfICGaetgYJyPOZ8i0X0Ej20tZxZlH0JlzbwE
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
          sec-ch-ua-platform: "Windows"
          Accept: */*
          Origin: https://uyenotest.infotracktelematics.com
          Sec-Fetch-Site: same-site
          Sec-Fetch-Mode: cors
          Sec-Fetch-Dest: empty
          Referer: https://uyenotest.infotracktelematics.com/
          Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
          
          
          Request body (25 bytes)
          {"ClientId":1,"UserId":1}
          Response
          Status line and header section (317 bytes)
          HTTP/1.1 201 Created
          X-Powered-By: Express
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Content-Type: application/json; charset=utf-8
          Content-Length: 15029
          ETag: W/"3ab5-0Bk04TYgssgE+6w9knFSXClU1DA"
          Date: Tue, 31 Jan 2023 10:30:21 GMT
          Connection: keep-alive
          Keep-Alive: timeout=5
          
          
          Response body (15029 bytes)
          {"data":{"columnData":[{"Fieldname":"id","ColumnNAme":"id","Width":50},{"Fieldname":"VehicleId","ColumnNAme":"VehicleId","Width":50},{"Fieldname":"VehicleNo","ColumnNAme":"VehicleNo","Width":110},{"Fieldname":"TrackingTime","ColumnNAme":"TrackingTime","Width":140},{"Fieldname":"Location","ColumnNAme":"Location","Width":280},{"Fieldname":"speed","ColumnNAme":"speed","Width":80},{"Fieldname":"ignition","ColumnNAme":"ignition","Width":90},{"Fieldname":"odometer","ColumnNAme":"odometer","Width":110},{"Fieldname":"Status","ColumnNAme":"Status","Width":50},{"Fieldname":"DelayEnable","ColumnNAme":"DelayEnable","Width":100},{"Fieldname":"LiveUrl","ColumnNAme":"LiveUrl","Width":90},{"Fieldname":"Mapit","ColumnNAme":"Mapit","Width":90}],"dashboardData":[{"id":1,"VehicleId":34,"VehicleNo":"72070","TrackingTime":"2023-01-31 19:29:33","Location":"〒870-0823 大分県大分市東大道2丁目2−13","speed":0,"ignition":"On","odometer":1302.35,"Status":"Idle","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72070&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.2294,131.603"},{"id":2,"VehicleId":24,"VehicleNo":"72085","TrackingTime":"2023-01-31 19:29:19","Location":"〒140-0003 東京都品川区八潮1丁目4","speed":18,"ignition":"On","odometer":19797.58,"Status":"Moving","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72085&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.6061,139.754"},{"id":3,"VehicleId":27,"VehicleNo":"72088","TrackingTime":"2023-01-31 19:28:43","Location":"〒870-0823 大分県大分市東大道2丁目2−13","speed":0,"ignition":"On","odometer":4721.56,"Status":"Idle","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72088&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.2293,131.603"},{"id":4,"VehicleId":52,"VehicleNo":"69","TrackingTime":"2023-01-31 18:49:50","Location":"〒690-0025 島根県松江市八幡町881","speed":0,"ignition":"Off","odometer":28414.4,"Status":"Stopped","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72104&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.4484,133.129"},{"id":5,"VehicleId":22,"VehicleNo":"72083","TrackingTime":"2023-01-31 17:49:47","Location":"〒108-0074 東京都港区高輪3丁目11−2","speed":0,"ignition":"Off","odometer":7213.17,"Status":"Stopped","DelayEnable":1,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72083&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.6313,139.73"},{"id":6,"VehicleId":50,"VehicleNo":"27","TrackingTime":"2023-01-31 17:46:27","Location":"〒690-0025 島根県松江市八幡町881","speed":0,"ignition":"Off","odometer":25325.16,"Status":"Stopped","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72102&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.4485,133.129"},{"id":7,"VehicleId":123,"VehicleNo":"MCUSA-74001","TrackingTime":"2023-01-31 17:41:49","Location":"〒870-0823 大分県大分市東大道2丁目5−60","speed":0,"ignition":"Off","odometer":3391.49,"Status":"Stopped","DelayEnable":30,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=74001&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.2292,131.603"},{"id":8,"VehicleId":49,"VehicleNo":"6","TrackingTime":"2023-01-31 17:32:08","Location":"〒690-0025 島根県松江市八幡町881","speed":0,"ignition":"Off","odometer":25809.52,"Status":"Stopped","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72101&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.4487,133.129"},{"id":9,"VehicleId":21,"VehicleNo":"72082","TrackingTime":"2023-01-31 17:11:49","Location":"〒870-0823 大分県大分市東大道2丁目5−60","speed":0,"ignition":"Off","odometer":82.32,"Status":"Stopped","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72082&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.2293,131.603"},{"id":10,"VehicleId":51,"VehicleNo":"88","TrackingTime":"2023-01-31 17:07:38","Location":"〒690-0025 島根県松江市八幡町881","speed":0,"ignition":"Off","odometer":28028.21,"Status":"Stopped","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72103&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.4483,133.129"},{"id":11,"VehicleId":9,"VehicleNo":"GreenSlow-3","TrackingTime":"2023-01-31 16:53:27","Location":"〒879-7761 大分県大分市中戸次戸次本町4663","speed":0,"ignition":"Off","odometer":46611.57,"Status":"Stopped","DelayEnable":1,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=62064&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.1511,131.655"},{"id":12,"VehicleId":14,"VehicleNo":"MCTEST-62071","TrackingTime":"2023-01-31 10:32:09","Location":"〒901-2134 沖縄県浦添市港川500−2","speed":0,"ignition":"Off","odometer":37870.79,"Status":"Stopped","DelayEnable":90,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=62071&chs=1_2_3_4_5_6&stream=0&wnum=4&panel=1","Mapit":"26.2716,127.714"},{"id":13,"VehicleId":53,"VehicleNo":"33","TrackingTime":"2023-01-24 13:21:39","Location":"〒690-0025 島根県松江市八幡町881","speed":0,"ignition":"Off","odometer":10672.34,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72105&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.4482,133.129"},{"id":14,"VehicleId":25,"VehicleNo":"72086","TrackingTime":"2023-01-05 17:14:49","Location":"〒870-0823 大分県大分市東大道2丁目2−13","speed":0,"ignition":"Off","odometer":4724.92,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72086&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.632,139.73"},{"id":15,"VehicleId":38,"VehicleNo":"91004","TrackingTime":"2022-12-27 18:21:46","Location":"on Buildings A, Cunningham Rd, Vasanth Nagar, Bengaluru, Karnataka 560051 インド","speed":0,"ignition":"Off","odometer":1575.94,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=91004&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"12.991,77.5889"},{"id":16,"VehicleId":124,"VehicleNo":"MCUSA-74002","TrackingTime":"2022-10-06 15:44:07","Location":"〒870-0823 大分県大分市東大道2丁目5−60","speed":0,"ignition":"Off","odometer":0.8,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=74002&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.2293,131.603"},{"id":17,"VehicleId":179,"VehicleNo":"vehicletest2","TrackingTime":"2022-09-14 18:12:50","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=0123456789&chs=1_2_3_4_5&stream=0&wnum=4&panel=1","Mapit":"33.2292,131.602"},{"id":18,"VehicleId":178,"VehicleNo":"testvehicle","TrackingTime":"2022-09-08 16:19:28","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=2222222&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.2292,131.602"},{"id":19,"VehicleId":163,"VehicleNo":"Ka-06 8478","TrackingTime":"2022-08-18 14:43:38","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73103&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"33.2292,131.602"},{"id":20,"VehicleId":162,"VehicleNo":"Ka-05 9863","TrackingTime":"2022-08-18 13:56:01","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=9620570233&chs=&stream=0&wnum=4&panel=1","Mapit":"33.2292,131.602"},{"id":21,"VehicleId":161,"VehicleNo":"9437","TrackingTime":"2022-08-18 13:43:56","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73102&chs=&stream=0&wnum=4&panel=1","Mapit":"33.2292,131.602"},{"id":22,"VehicleId":160,"VehicleNo":"Ka-02 9437","TrackingTime":"2022-08-18 13:43:30","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73102&chs=&stream=0&wnum=4&panel=1","Mapit":"33.2292,131.602"},{"id":23,"VehicleId":23,"VehicleNo":"72084","TrackingTime":"2022-06-13 10:45:43","Location":"〒108-0074 東京都港区高輪3丁目11−2","speed":0,"ignition":"Off","odometer":4721.56,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=72084&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.6313,139.731"},{"id":24,"VehicleId":46,"VehicleNo":"U-2448","TrackingTime":"2022-05-31 14:18:53","Location":"〒302-0117 茨城県守谷市野木崎219","speed":15,"ignition":"Off","odometer":16276.61,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73110&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.9401,139.969"},{"id":25,"VehicleId":45,"VehicleNo":"U-1601","TrackingTime":"2022-05-31 14:18:50","Location":"〒192-0003 東京都八王子市丹木町3丁目 丹木町3丁目214-1","speed":45,"ignition":"Off","odometer":13544.39,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73109&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.6898,139.324"},{"id":26,"VehicleId":40,"VehicleNo":"U-6360","TrackingTime":"2022-05-31 14:18:50","Location":"〒210-0861 神奈川県川崎市川崎区小島町6−3","speed":0,"ignition":"Off","odometer":17648.07,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73104&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.5347,139.762"},{"id":27,"VehicleId":42,"VehicleNo":"U-2483","TrackingTime":"2022-05-31 14:18:48","Location":"〒108-0022 東京都港区海岸3丁目1−3 芝通ビル","speed":60,"ignition":"Off","odometer":22992.04,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73106&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.6466,139.757"},{"id":28,"VehicleId":43,"VehicleNo":"U-6561","TrackingTime":"2022-05-31 14:18:48","Location":"〒210-0862 神奈川県川崎市川崎区浮島町 多摩川トンネル","speed":0,"ignition":"Off","odometer":23951.31,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73107&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.5178,139.79"},{"id":29,"VehicleId":41,"VehicleNo":"U-1722","TrackingTime":"2022-05-31 14:18:46","Location":"〒273-0011 千葉県船橋市湊町1丁目24−1","speed":61,"ignition":"Off","odometer":20827.37,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73105&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.6921,139.986"},{"id":30,"VehicleId":44,"VehicleNo":"U-2127","TrackingTime":"2022-05-30 22:21:06","Location":"市原市青柳北2-6-22","speed":0,"ignition":"Off","odometer":12675.38,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=73108&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.5092,140.062"},{"id":31,"VehicleId":125,"VehicleNo":"MCUSA-74003","TrackingTime":"1900-01-01 00:00:00","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=74003&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.5095,140.062"},{"id":32,"VehicleId":126,"VehicleNo":"MCUSA-74004","TrackingTime":"1900-01-01 00:00:00","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=74004&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.5095,140.062"},{"id":33,"VehicleId":127,"VehicleNo":"MCUSA-74005","TrackingTime":"1900-01-01 00:00:00","Location":"","speed":0,"ignition":"Off","odometer":0,"Status":"Inactive","DelayEnable":0,"LiveUrl":"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/RealVideo.html?token==21232f297a57a5a743894a0e4a801fc3&deviceId=74005&chs=1_2_3_4&stream=0&wnum=4&panel=1","Mapit":"35.5095,140.062"}],"message":"Data recieved"}}
          Evidence
          21232f297a57a5a743894a0e4a801fc3
          Solution

          Use per user or session indirect object references (create a temporary mapping at time of use). Or, ensure that each use of a direct object reference is tied to an authorization check to ensure the user is authorized for the requested object.

  7. Risk=Informational, Confidence=Medium (3)

    1. https://maps.googleapis.com (1)

      1. Information Disclosure - Sensitive Information in URL (1)
        1. GET https://maps.googleapis.com/maps/api/js/ViewportInfoService.GetViewportInfo?1m6&1m2&1d33.10021394038909&2d131.57626074838723&2m2&1d33.20045882434298&2d131.73471233915305&2u14&4sen&5e0&6sm%40631000000&7b0&8e0&12e1&13shttps%3A%2F%2Fuyenotest.infotracktelematics.com%2Fmcdashboard&14b1&callback=_xdc_._1n817d&key=AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c&token=90236
          Alert tags
          Alert description

          The request appeared to contain sensitive information leaked in the URL. This can violate PCI and most organizational compliance policies. You can configure the list of strings for this check to add or remove values specific to your environment.

          Other info

          The URL contains potentially sensitive information. The following string was found via the pattern: token

          token

          Request
          Request line and header section (898 bytes)
          GET https://maps.googleapis.com/maps/api/js/ViewportInfoService.GetViewportInfo?1m6&1m2&1d33.10021394038909&2d131.57626074838723&2m2&1d33.20045882434298&2d131.73471233915305&2u14&4sen&5e0&6sm%40631000000&7b0&8e0&12e1&13shttps%3A%2F%2Fuyenotest.infotracktelematics.com%2Fmcdashboard&14b1&callback=_xdc_._1n817d&key=AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c&token=90236 HTTP/1.1
          Host: maps.googleapis.com
          Connection: keep-alive
          sec-ch-ua: "Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"
          sec-ch-ua-mobile: ?0
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
          sec-ch-ua-platform: "Windows"
          Accept: */*
          X-Client-Data: CIiTywE=
          Sec-Fetch-Site: cross-site
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Dest: script
          Referer: https://uyenotest.infotracktelematics.com/
          Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
          
          
          Request body (0 bytes)
          Response
          Status line and header section (500 bytes)
          HTTP/1.1 200 OK
          Content-Type: text/javascript; charset=UTF-8
          Date: Tue, 31 Jan 2023 10:29:36 GMT
          Pragma: no-cache
          Expires: Fri, 01 Jan 1990 00:00:00 GMT
          Cache-Control: no-cache, must-revalidate
          Content-Disposition: attachment
          Cross-Origin-Resource-Policy: cross-origin
          Server: mafe
          X-XSS-Protection: 0
          X-Frame-Options: SAMEORIGIN
          Server-Timing: gfet4t7; dur=122
          Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
          Accept-Ranges: none
          Vary: Accept-Encoding
          Content-Length: 32830
          
          
          Response body (32830 bytes)
          /**/_xdc_._1n817d && _xdc_._1n817d( ["Map data ©2023",[["report_map_issue",[[33.13755119234614,131.572265625],[33.21111647241684,131.748046875]]],["report_map_issue",[[33.06392419812064,131.572265625],[33.13755119234614,131.748046875]]],["traffic",[[33.19273094190692,131.572265625],[33.20192418977892,131.737060546875]]],["traffic",[[33.18353672893614,131.572265625],[33.19273094190692,131.737060546875]]],["traffic",[[33.17434155100207,131.572265625],[33.18353672893614,131.737060546875]]],["traffic",[[33.16514540824029,131.572265625],[33.17434155100207,131.737060546875]]],["traffic",[[33.15594830078649,131.572265625],[33.16514540824029,131.737060546875]]],["traffic",[[33.14675022877647,131.572265625],[33.15594830078649,131.737060546875]]],["traffic",[[33.13755119234614,131.572265625],[33.14675022877647,131.737060546875]]],["traffic",[[33.12835119163156,131.572265625],[33.13755119234614,131.737060546875]]],["traffic",[[33.11915022676886,131.572265625],[33.12835119163156,131.737060546875]]],["traffic",[[33.10994829789429,131.572265625],[33.11915022676886,131.737060546875]]],["traffic",[[33.10074540514425,131.572265625],[33.10994829789429,131.737060546875]]],["traffic",[[33.09154154865519,131.572265625],[33.10074540514425,131.737060546875]]]],[[19,[[-90,-180],[90,180]]],[9,[[-90,-180],[90,180]]],[14,[[-84.375,-180],[84.375,180]]],[14,[[-57.00007429999999,-180],[83.68835439999998,180]]],[14,[[16.00000370000001,59.99999990000001],[80,144.0000058]]],[16,[[30.05859369999999,128.3203125],[46.0546875,146.4257812]]],[20,[[30.95397940000001,130.6054687],[33.5412597,134.0771484]]],[20,[[32.77221669999999,130.5230712],[34.8156738,132.5445556]]],[20,[[32.41516110000001,130.4846191],[33.7609863,133.3135986]]],[20,[[32.80517570000001,130.0286865],[34.46960440000001,131.6107177]]],[20,[[32.67333980000002,131.1437988],[34.255371,132.72583]]],[20,[[33.11828610000001,131.1218261],[34.16748039999999,133.2202148]]],[20,[[32.2064208,130.3088378],[33.5412597,131.8634033]]],[20,[[31.3275146,131.1218261],[33.10729979999999,132.0721435]]],[20,[[32.05810539999999,130.715332],[33.17321770000001,131.7590332]]],[20,[[32.87658690000001,130.9625244],[33.7774658,132.121582]]],[20,[[32.88207999999999,130.9625244],[33.76647940000001,132.1160888]]],[20,[[32.05810539999999,131.1767578],[33.1677246,132.0721435]]],[20,[[32.88207999999999,131.017456],[33.72253409999999,132.1160888]]],[20,[[32.05261229999999,130.9295654],[33.17321770000001,131.6162109000001]]],[17,[[32.9589843,131.0449218],[33.6621093,131.9238281]]],[13,[[32.96636580000001,131.0682678000001],[33.63395690000002,131.9792747]]],[17,[[32.43164060000002,131.3964843],[33.13476560000002,132.1875]]],[20,[[32.18444819999999,131.1822509],[33.17321770000001,131.7095947]]],[17,[[32.78320310000002,130.8691406],[33.3984375,131.6601562]]],[20,[[32.88207999999999,131.5777587],[33.76647940000001,132.121582]]],[20,[[32.88207999999999,131.4953613],[33.7719726,131.8579101]]],[13,[[32.96241760000001,131.4591407],[34.0347862,131.675949]]],[18,[[32.43164060000002,131.484375],[33.48632810000002,131.6601562]]],[18,[[32.43164060000002,131.484375],[33.4423828,131.6601562]]],[13,[[32.93649670000001,131.5077209],[34.0337562,131.6689109]]],[14,[[32.9716014,131.5140724],[33.64399900000001,131.7755126]]],[14,[[32.9577827,131.4656639],[33.6458015,131.6846179]]],[14,[[33.03949349999998,131.4715003],[33.64279740000001,131.6689109]]],[20,[[33.12377919999999,131.4404296],[33.75549310000001,131.6271972]]],[15,[[33.12656870000001,131.4959621],[33.26947680000001,131.696763]]],[18,[[32.91503900000002,131.6601562],[33.1787109,131.7480468]]],[18,[[32.91503900000002,131.5722656],[33.1787109,131.6601562]]],[17,[[33.1128787,131.6013729],[33.1623816,131.649599]]],[17,[[33.08777330000001,131.6961944],[33.1203782,131.7536258]]],[17,[[33.10626979999999,131.6930294],[33.2074642,131.7111933]]],[18,[[33.13477089999999,131.545583],[33.15767700000001,131.5950268000001]]],[19,[[33.08755600000001,131.6580855],[33.104006,131.6679507]]],[20,[[33.12700459999999,131.6445699],[33.12823710000002,131.645852]]]],[[["m",[14,14172,6583],631370035],["m",[14,14173,6583],631369962],["m",[14,14174,6583],631370551],["m",[14,14175,6583],631370587],["m",[14,14176,6583],631370587],["m",[14,14177,6583],631370587],["m",[14,14178,6583],631370143],["m",[14,14179,6583],631362894],["m",[14,14180,6583],631362894],["m",[14,14181,6583],631369962],["m",[14,14182,6583],631369962],["m",[14,14183,6583],631369962],["m",[14,14184,6583],631369962],["m",[14,14185,6583],631369962],["m",[14,14186,6583],631369962],["m",[14,14187,6583],631369962],["m",[14,14188,6583],631362894],["m",[14,14189,6583],631362894],["m",[14,14190,6583],631362894],["m",[14,14191,6583],631362894],["m",[14,14192,6583],631369962],["m",[14,14193,6583],631369962],["m",[14,14194,6583],631369962],["m",[14,14172,6584],631369962],["m",[14,14173,6584],631369962],["m",[14,14174,6584],631370551],["m",[14,14175,6584],631370587],["m",[14,14176,6584],631370587],["m",[14,14177,6584],631370587],["m",[14,14178,6584],631370467],["m",[14,14179,6584],631370467],["m",[14,14180,6584],631370467],["m",[14,14181,6584],631370371],["m",[14,14182,6584],631370503],["m",[14,14183,6584],631370551],["m",[14,14184,6584],631370551],["m",[14,14185,6584],631370563],["m",[14,14186,6584],631370563],["m",[14,14187,6584],631370563],["m",[14,14188,6584],631369962],["m",[14,14189,6584],631369962],["m",[14,14190,6584],631369962],["m",[14,14191,6584],631369962],["m",[14,14192,6584],631370467],["m",[14,14193,6584],631370467],["m",[14,14194,6584],631370467],["m",[14,14172,6585],631369962],["m",[14,14173,6585],631369962],["m",[14,14174,6585],631370551],["m",[14,14175,6585],631370587],["m",[14,14176,6585],631370587],["m",[14,14177,6585],631370587],["m",[14,14178,6585],631370467],["m",[14,14179,6585],631370587],["m",[14,14180,6585],631370587],["m",[14,14181,6585],631370587],["m",[14,14182,6585],631370575],["m",[14,14183,6585],631370551],["m",[14,14184,6585],631370551],["m",[14,14185,6585],631370563],["m",[14,14186,6585],631370563],["m",[14,14187,6585],631370563],["m",[14,14188,6585],631370491],["m",[14,14189,6585],631370491],["m",[14,14190,6585],631369962],["m",[14,14191,6585],631369962],["m",[14,14192,6585],631370467],["m",[14,14193,6585],631370467],["m",[14,14194,6585],631370467],["m",[14,14172,6586],631369962],["m",[14,14173,6586],631369962],["m",[14,14174,6586],631370035],["m",[14,14175,6586],631370467],["m",[14,14176,6586],631370467],["m",[14,14177,6586],631370467],["m",[14,14178,6586],631370587],["m",[14,14179,6586],631370587],["m",[14,14180,6586],631370587],["m",[14,14181,6586],631370587],["m",[14,14182,6586],631370575],["m",[14,14183,6586],631370563],["m",[14,14184,6586],631370563],["m",[14,14185,6586],631370563],["m",[14,14186,6586],631370563],["m",[14,14187,6586],631370563],["m",[14,14188,6586],631370491],["m",[14,14189,6586],631370491],["m",[14,14190,6586],631369962],["m",[14,14191,6586],631369962],["m",[14,14192,6586],631370467],["m",[14,14193,6586],631370467],["m",[14,14194,6586],631370467],["m",[14,14172,6587],631369962],["m",[14,14173,6587],631369962],["m",[14,14174,6587],631370035],["m",[14,14175,6587],631370467],["m",[14,14176,6587],631370467],["m",[14,14177,6587],631370467],["m",[14,14178,6587],631370587],["m",[14,14179,6587],631370587],["m",[14,14180,6587],631370587],["m",[14,14181,6587],631370587],["m",[14,14182,6587],631370575],["m",[14,14183,6587],631370563],["m",[14,14184,6587],631370563],["m",[14,14185,6587],631370467],["m",[14,14186,6587],631370467],["m",[14,14187,6587],631370491],["m",[14,14188,6587],631370491],["m",[14,14189,6587],631370491],["m",[14,14190,6587],631369962],["m",[14,14191,6587],631369962],["m",[14,14192,6587],631370467],["m",[14,14193,6587],631370467],["m",[14,14194,6587],631370467],["m",[14,14172,6588],631369962],["m",[14,14173,6588],631370467],["m",[14,14174,6588],631370467],["m",[14,14175,6588],631370467],["m",[14,14176,6588],631370467],["m",[14,14177,6588],631370467],["m",[14,14178,6588],631370587],["m",[14,14179,6588],631370587],["m",[14,14180,6588],631370587],["m",[14,14181,6588],631370563],["m",[14,14182,6588],631370563],["m",[14,14183,6588],631370563],["m",[14,14184,6588],631370563],["m",[14,14185,6588],631370467],["m",[14,14186,6588],631370467],["m",[14,14187,6588],631370467],["m",[14,14188,6588],631369962],["m",[14,14189,6588],631369962],["m",[14,14190,6588],631369962],["m",[14,14191,6588],631369962],["m",[14,14192,6588],631369962],["m",[14,14193,6588],631369962],["m",[14,14194,6588],631369962],["m",[14,14172,6589],631369987],["m",[14,14173,6589],631370467],["m",[14,14174,6589],631370467],["m",[14,14175,6589],631370467],["m",[14,14176,6589],631370467],["m",[14,14177,6589],631370467],["m",[14,14178,6589],631370551],["m",[14,14179,6589],631370551],["m",[14,14180,6589],631370551],["m",[14,14181,6589],631370491],["m",[14,14182,6589],631370491],["m",[14,14183,6589],631370491],["m",[14,14184,6589],631370491],["m",[14,14185,6589],631370467],["m",[14,14186,6589],631370467],["m",[14,14187,6589],631369962],["m",[14,14188,6589],631369962],["m",[14,14189,6589],631369962],["m",[14,14190,6589],631369962],["m",[14,14191,6589],631369962],["m",[14,14192,6589],631369962],["m",[14,14193,6589],631369962],["m",[14,14194,6589],631369962],["m",[14,14172,6590],631369987],["m",[14,14173,6590],631370467],["m",[14,14174,6590],631370467],["m",[14,14175,6590],631370467],["m",[14,14176,6590],631370467],["m",[14,14177,6590],631370467],["m",[14,14178,6590],631370551],["m",[14,14179,6590],631370551],["m",[14,14180,6590],631370551],["m",[14,14181,6590],631370467],["m",[14,14182,6590],631370467],["m",[14,14183,6590],631370467],["m",[14,14184,6590],631370467],["m",[14,14185,6590],631370467],["m",[14,14186,6590],631369962],["m",[14,14187,6590],631369962],["m",[14,14188,6590],631370563],["m",[14,14189,6590],631370563],["m",[14,14190,6590],631370563],["m",[14,14191,6590],631370563],["m",[14,14192,6590],631369962],["m",[14,14193,6590],631369962],["m",[14,14194,6590],631366638],["m",[14,14172,6591],631369987],["m",[14,14173,6591],631369987],["m",[14,14174,6591],631369987],["m",[14,14175,6591],631370035],["m",[14,14176,6591],631370035],["m",[14,14177,6591],631370467],["m",[14,14178,6591],631370467],["m",[14,14179,6591],631370467],["m",[14,14180,6591],631370143],["m",[14,14181,6591],631370467],["m",[14,14182,6591],631370467],["m",[14,14183,6591],631370467],["m",[14,14184,6591],631370467],["m",[14,14185,6591],631369962],["m",[14,14186,6591],631369962],["m",[14,14187,6591],631369962],["m",[14,14188,6591],631370563],["m",[14,14189,6591],631370563],["m",[14,14190,6591],631370563],["m",[14,14191,6591],631370563],["m",[14,14192,6591],631369962],["m",[14,14193,6591],631369962],["m",[14,14194,6591],631369962],["m",[14,14172,6592],631369962],["m",[14,14173,6592],631369962],["m",[14,14174,6592],631369962],["m",[14,14175,6592],631370035],["m",[14,14176,6592],631370035],["m",[14,14177,6592],631370035],["m",[14,14178,6592],631369962],["m",[14,14179,6592],631370035],["m",[14,14180,6592],631370035],["m",[14,14181,6592],631370035],["m",[14,14182,6592],631370467],["m",[14,14183,6592],631370467],["m",[14,14184,6592],631370467],["m",[14,14185,6592],631369962],["m",[14,14186,6592],631369962],["m",[14,14187,6592],631369962],["m",[14,14188,6592],631370563],["m",[14,14189,6592],631370563],["m",[14,14190,6592],631370563],["m",[14,14191,6592],631370563],["m",[14,14192,6592],631369962],["m",[14,14193,6592],631369962],["m",[14,14194,6592],631369962],["m",[14,14172,6593],631369962],["m",[14,14173,6593],631369962],["m",[14,14174,6593],631369962],["m",[14,14175,6593],631369962],["m",[14,14176,6593],631369962],["m",[14,14177,6593],631369962],["m",[14,14178,6593],631369962],["m",[14,14179,6593],631369962],["m",[14,14180,6593],631369962],["m",[14,14181,6593],631369962],["m",[14,14182,6593],631370467],["m",[14,14183,6593],631370467],["m",[14,14184,6593],631370467],["m",[14,14185,6593],631369962],["m",[14,14186,6593],631369962],["m",[14,14187,6593],631369962],["m",[14,14188,6593],631370311],["m",[14,14189,6593],631370311],["m",[14,14190,6593],631370311],["m",[14,14191,6593],631370467],["m",[14,14192,6593],631370467],["m",[14,14193,6593],631370467],["m",[14,14194,6593],631369962],["m",[14,14172,6594],631369962],["m",[14,14173,6594],631369962],["m",[14,14174,6594],631369962],["m",[14,14175,6594],631369962],["m",[14,14176,6594],631369962],["m",[14,14177,6594],631369962],["m",[14,14178,6594],631369962],["m",[14,14179,6594],631369962],["m",[14,14180,6594],631369962],["m",[14,14181,6594],631370527],["m",[14,14182,6594],631370527],["m",[14,14183,6594],631370527],["m",[14,14184,6594],631370527],["m",[14,14185,6594],631369962],["m",[14,14186,6594],631369962],["m",[14,14187,6594],631369962],["m",[14,14188,6594],631370311],["m",[14,14189,6594],631370311],["m",[14,14190,6594],631370311],["m",[14,14191,6594],631370467],["m",[14,14192,6594],631370467],["m",[14,14193,6594],631370467],["m",[14,14194,6594],631370467],["m",[14,14172,6595],631369962],["m",[14,14173,6595],631369962],["m",[14,14174,6595],631369962],["m",[14,14175,6595],631369962],["m",[14,14176,6595],631369962],["m",[14,14177,6595],631369962],["m",[14,14178,6595],631369962],["m",[14,14179,6595],631369962],["m",[14,14180,6595],631369962],["m",[14,14181,6595],631370527],["m",[14,14182,6595],631370527],["m",[14,14183,6595],631370527],["m",[14,14184,6595],631370527],["m",[14,14185,6595],631370491],["m",[14,14186,6595],631369962],["m",[14,14187,6595],631369962],["m",[14,14188,6595],631369962],["m",[14,14189,6595],631369962],["m",[14,14190,6595],631369962],["m",[14,14191,6595],631370467],["m",[14,14192,6595],631370467],["m",[14,14193,6595],631370467],["m",[14,14194,6595],631370467],["m",[14,14172,6596],631369962],["m",[14,14173,6596],631369962],["m",[14,14174,6596],631369962],["m",[14,14175,6596],631369962],["m",[14,14176,6596],631369962],["m",[14,14177,6596],631369962],["m",[14,14178,6596],631369962],["m",[14,14179,6596],631369962],["m",[14,14180,6596],631370551],["m",[14,14181,6596],631370551],["m",[14,14182,6596],631370551],["m",[14,14183,6596],631370527],["m",[14,14184,6596],631370527],["m",[14,14185,6596],631370491],["m",[14,14186,6596],631370035],["m",[14,14187,6596],631369962],["m",[14,14188,6596],631369962],["m",[14,14189,6596],631369962],["m",[14,14190,6596],631369962],["m",[14,14191,6596],631370023],["m",[14,14192,6596],631370467],["m",[14,14193,6596],631370467],["m",[14,14194,6596],631370467],["m",[14,14172,6597],631369962],["m",[14,14173,6597],631369962],["m",[14,14174,6597],631369962],["m",[14,14175,6597],631369962],["m",[14,14176,6597],631369962],["m",[14,14177,6597],631369962],["m",[14,14178,6597],631369962],["m",[14,14179,6597],631369962],["m",[14,14180,6597],631370551],["m",[14,14181,6597],631370551],["m",[14,14182,6597],631370551],["m",[14,14183,6597],631370527],["m",[14,14184,6597],631370527],["m",[14,14185,6597],631370491],["m",[14,14186,6597],631370275],["m",[14,14187,6597],631369962],["m",[14,14188,6597],631369962],["m",[14,14189,6597],631369962],["m",[14,14190,6597],631369962],["m",[14,14191,6597],631369962],["m",[14,14192,6597],631369962],["m",[14,14193,6597],631369962],["m",[14,14194,6597],631369962],["m",[14,14172,6598],631370443],["m",[14,14173,6598],631369962],["m",[14,14174,6598],631369962],["m",[14,14175,6598],631369962],["m",[14,14176,6598],631369962],["m",[14,14177,6598],631369962],["m",[14,14178,6598],631369962],["m",[14,14179,6598],631369962],["m",[14,14180,6598],631370551],["m",[14,14181,6598],631370551],["m",[14,14182,6598],631370551],["m",[14,14183,6598],631370035],["m",[14,14184,6598],631370275],["m",[14,14185,6598],631370275],["m",[14,14186,6598],631370275],["m",[14,14187,6598],631369962],["m",[14,14188,6598],631369962],["m",[14,14189,6598],631369962],["m",[14,14190,6598],631369962],["m",[14,14191,6598],631369962],["m",[14,14192,6598],631369962],["m",[14,14193,6598],631369962],["m",[14,14194,6598],631369962],["m",[14,14172,6599],631370443],["m",[14,14173,6599],631369962],["m",[14,14174,6599],631370467],["m",[14,14175,6599],631370467],["m",[14,14176,6599],631370467],["m",[14,14177,6599],631369962],["m",[14,14178,6599],631370467],["m",[14,14179,6599],631370467],["m",[14,14180,6599],631370467],["m",[14,14181,6599],631370467],["m",[14,14182,6599],631370467],["m",[14,14183,6599],631370035],["m",[14,14184,6599],631370275],["m",[14,14185,6599],631370275],["m",[14,14186,6599],631370275],["m",[14,14187,6599],631369962],["m",[14,14188,6599],631369962],["m",[14,14189,6599],631369962],["m",[14,14190,6599],631370035],["m",[14,14191,6599],631370467],["m",[14,14192,6599],631370467],["m",[14,14193,6599],631370467],["m",[14,14194,6599],631370467],["m",[13,7086,3291],631370551],["m",[13,7087,3291],631370587],["m",[13,7088,3291],631370587],["m",[13,7089,3291],631370587],["m",[13,7090,3291],631370587],["m",[13,7091,3291],631370587],["m",[13,7092,3291],631370587],["m",[13,7093,3291],631370551],["m",[13,7094,3291],631370551],["m",[13,7095,3291],631370047],["m",[13,7096,3291],631370047],["m",[13,7097,3291],631370047],["m",[13,7086,3292],631370551],["m",[13,7087,3292],631370587],["m",[13,7088,3292],631370587],["m",[13,7089,3292],631370587],["m",[13,7090,3292],631370587],["m",[13,7091,3292],631370587],["m",[13,7092,3292],631370587],["m",[13,7093,3292],631370551],["m",[13,7094,3292],631370551],["m",[13,7095,3292],631370047],["m",[13,7096,3292],631370047],["m",[13,7097,3292],631370047],["m",[13,7086,3293],631370551],["m",[13,7087,3293],631370587],["m",[13,7088,3293],631370587],["m",[13,7089,3293],631370587],["m",[13,7090,3293],631370587],["m",[13,7091,3293],631370587],["m",[13,7092,3293],631370587],["m",[13,7093,3293],631370551],["m",[13,7094,3293],631370551],["m",[13,7095,3293],631370515],["m",[13,7096,3293],631370515],["m",[13,7097,3293],631370047],["m",[13,7086,3294],631370551],["m",[13,7087,3294],631370587],["m",[13,7088,3294],631370587],["m",[13,7089,3294],631370587],["m",[13,7090,3294],631370587],["m",[13,7091,3294],631370587],["m",[13,7092,3294],631370587],["m",[13,7093,3294],631370551],["m",[13,7094,3294],631370551],["m",[13,7095,3294],631370515],["m",[13,7096,3294],631370515],["m",[13,7097,3294],631370047],["m",[13,7086,3295],631370515],["m",[13,7087,3295],631370515],["m",[13,7088,3295],631370515],["m",[13,7089,3295],631370527],["m",[13,7090,3295],631370527],["m",[13,7091,3295],631370527],["m",[13,7092,3295],631370527],["m",[13,7093,3295],631370515],["m",[13,7094,3295],631370515],["m",[13,7095,3295],631370515],["m",[13,7096,3295],631370515],["m",[13,7097,3295],631370467],["m",[13,7086,3296],631370515],["m",[13,7087,3296],631370515],["m",[13,7088,3296],631370515],["m",[13,7089,3296],631370527],["m",[13,7090,3296],631370527],["m",[13,7091,3296],631370527],["m",[13,7092,3296],631370527],["m",[13,7093,3296],631370515],["m",[13,7094,3296],631370515],["m",[13,7095,3296],631370515],["m",[13,7096,3296],631370515],["m",[13,7097,3296],631370467],["m",[13,7086,3297],631369962],["m",[13,7087,3297],631369962],["m",[13,7088,3297],631369962],["m",[13,7089,3297],631370527],["m",[13,7090,3297],631370527],["m",[13,7091,3297],631370527],["m",[13,7092,3297],631370527],["m",[13,7093,3297],631370515],["m",[13,7094,3297],631370515],["m",[13,7095,3297],631370515],["m",[13,7096,3297],631370515],["m",[13,7097,3297],631370515],["m",[13,7086,3298],631369962],["m",[13,7087,3298],631369962],["m",[13,7088,3298],631369962],["m",[13,7089,3298],631370527],["m",[13,7090,3298],631370527],["m",[13,7091,3298],631370527],["m",[13,7092,3298],631370527],["m",[13,7093,3298],631370515],["m",[13,7094,3298],631370515],["m",[13,7095,3298],631370515],["m",[13,7096,3298],631370515],["m",[13,7097,3298],631370515],["m",[13,7086,3299],631370515],["m",[13,7087,3299],631370515],["m",[13,7088,3299],631370515],["m",[13,7089,3299],631370515],["m",[13,7090,3299],631370515],["m",[13,7091,3299],631370515],["m",[13,7092,3299],631370515],["m",[13,7093,3299],631370515],["m",[13,7094,3299],631370515],["m",[13,7095,3299],631370515],["m",[13,7096,3299],631370515],["m",[13,7097,3299],631370515],["m",[15,28356,13174],631369962],["m",[15,28357,13174],631370467],["m",[15,28358,13174],631370587],["m",[15,28359,13174],631370587],["m",[15,28360,13174],631370587],["m",[15,28361,13174],631370575],["m",[15,28362,13174],631370575],["m",[15,28363,13174],631370479],["m",[15,28364,13174],631370491],["m",[15,28365,13174],631370563],["m",[15,28366,13174],631370563],["m",[15,28367,13174],631370563],["m",[15,28368,13174],631370467],["m",[15,28369,13174],631370575],["m",[15,28370,13174],631370575],["m",[15,28371,13174],631370575],["m",[15,28372,13174],631370467],["m",[15,28373,13174],631370467],["m",[15,28374,13174],631370467],["m",[15,28375,13174],631370467],["m",[15,28376,13174],631370491],["m",[15,28377,13174],631370491],["m",[15,28378,13174],631370491],["m",[15,28356,13175],631370035],["m",[15,28357,13175],631370467],["m",[15,28358,13175],631370587],["m",[15,28359,13175],631370587],["m",[15,28360,13175],631370587],["m",[15,28361,13175],631370575],["m",[15,28362,13175],631370575],["m",[15,28363,13175],631370479],["m",[15,28364,13175],631370491],["m",[15,28365,13175],631370563],["m",[15,28366,13175],631370563],["m",[15,28367,13175],631370563],["m",[15,28368,13175],631370467],["m",[15,28369,13175],631370575],["m",[15,28370,13175],631370575],["m",[15,28371,13175],631370575],["m",[15,28372,13175],631370467],["m",[15,28373,13175],631370467],["m",[15,28374,13175],631369962],["m",[15,28375,13175],631369962],["m",[15,28376,13175],631369962],["m",[15,28377,13175],631369962],["m",[15,28378,13175],631369962],["m",[15,28356,13176],631370035],["m",[15,28357,13176],631370467],["m",[15,28358,13176],631370587],["m",[15,28359,13176],631370587],["m",[15,28360,13176],631370587],["m",[15,28361,13176],631370467],["m",[15,28362,13176],631370467],["m",[15,28363,13176],631370479],["m",[15,28364,13176],631370491],["m",[15,28365,13176],631370563],["m",[15,28366,13176],631370563],["m",[15,28367,13176],631370563],["m",[15,28368,13176],631370467],["m",[15,28369,13176],631370467],["m",[15,28370,13176],631370467],["m",[15,28371,13176],631370467],["m",[15,28372,13176],631369962],["m",[15,28373,13176],631369962],["m",[15,28374,13176],631369962],["m",[15,28375,13176],631369962],["m",[15,28376,13176],631369962],["m",[15,28377,13176],631369962],["m",[15,28378,13176],631369962],["m",[15,28356,13177],631370035],["m",[15,28357,13177],631370035],["m",[15,28358,13177],631370467],["m",[15,28359,13177],631370467],["m",[15,28360,13177],631370467],["m",[15,28361,13177],631370467],["m",[15,28362,13177],631370563],["m",[15,28363,13177],631370563],["m",[15,28364,13177],631370563],["m",[15,28365,13177],631370035],["m",[15,28366,13177],631370467],["m",[15,28367,13177],631370467],["m",[15,28368,13177],631370467],["m",[15,28369,13177],631370467],["m",[15,28370,13177],631370467],["m",[15,28371,13177],631370467],["m",[15,28372,13177],631369962],["m",[15,28373,13177],631369962],["m",[15,28374,13177],631369962],["m",[15,28375,13177],631369962],["m",[15,28376,13177],631369962],["m",[15,28377,13177],631369962],["m",[15,28378,13177],631369962],["m",[15,28356,13178],631370035],["m",[15,28357,13178],631370035],["m",[15,28358,13178],631370551],["m",[15,28359,13178],631370551],["m",[15,28360,13178],631370551],["m",[15,28361,13178],631370467],["m",[15,28362,13178],631370563],["m",[15,28363,13178],631370563],["m",[15,28364,13178],631370563],["m",[15,28365,13178],631370035],["m",[15,28366,13178],631370467],["m",[15,28367,13178],631370467],["m",[15,28368,13178],631370467],["m",[15,28369,13178],631370467],["m",[15,28370,13178],631370467],["m",[15,28371,13178],631369962],["m",[15,28372,13178],631369962],["m",[15,28373,13178],631369962],["m",[15,28374,13178],631369962],["m",[15,28375,13178],631369962],["m",[15,28376,13178],631369962],["m",[15,28377,13178],631369962],["m",[15,28378,13178],631369962],["m",[15,28356,13179],631370467],["m",[15,28357,13179],631370467],["m",[15,28358,13179],631370551],["m",[15,28359,13179],631370551],["m",[15,28360,13179],631370551],["m",[15,28361,13179],631370467],["m",[15,28362,13179],631370563],["m",[15,28363,13179],631370563],["m",[15,28364,13179],631370563],["m",[15,28365,13179],631370467],["m",[15,28366,13179],631370467],["m",[15,28367,13179],631370467],["m",[15,28368,13179],631370467],["m",[15,28369,13179],631370467],["m",[15,28370,13179],631370467],["m",[15,28371,13179],631369962],["m",[15,28372,13179],631369962],["m",[15,28373,13179],631369962],["m",[15,28374,13179],631369962],["m",[15,28375,13179],631369962],["m",[15,28376,13179],631369962],["m",[15,28377,13179],631369962],["m",[15,28378,13179],631369962],["m",[15,28356,13180],631370467],["m",[15,28357,13180],631370467],["m",[15,28358,13180],631370551],["m",[15,28359,13180],631370551],["m",[15,28360,13180],631370551],["m",[15,28361,13180],631369962],["m",[15,28362,13180],631370035],["m",[15,28363,13180],631370467],["m",[15,28364,13180],631370467],["m",[15,28365,13180],631370467],["m",[15,28366,13180],631370467],["m",[15,28367,13180],631370467],["m",[15,28368,13180],631370467],["m",[15,28369,13180],631370467],["m",[15,28370,13180],631369962],["m",[15,28371,13180],631369962],["m",[15,28372,13180],631369962],["m",[15,28373,13180],631369962],["m",[15,28374,13180],631369962],["m",[15,28375,13180],631369962],["m",[15,28376,13180],631369962],["m",[15,28377,13180],631369962],["m",[15,28378,13180],631369962],["m",[15,28356,13181],631370467],["m",[15,28357,13181],631370467],["m",[15,28358,13181],631370143],["m",[15,28359,13181],631370143],["m",[15,28360,13181],631370143],["m",[15,28361,13181],631369962],["m",[15,28362,13181],631369962],["m",[15,28363,13181],631370467],["m",[15,28364,13181],631370467],["m",[15,28365,13181],631370467],["m",[15,28366,13181],631370467],["m",[15,28367,13181],631370467],["m",[15,28368,13181],631370467],["m",[15,28369,13181],631369962],["m",[15,28370,13181],631369962],["m",[15,28371,13181],631369962],["m",[15,28372,13181],631369962],["m",[15,28373,13181],631369962],["m",[15,28374,13181],631369962],["m",[15,28375,13181],631369962],["m",[15,28376,13181],631369962],["m",[15,28377,13181],631369962],["m",[15,28378,13181],631370563],["m",[15,28356,13182],631370035],["m",[15,28357,13182],631370035],["m",[15,28358,13182],631369962],["m",[15,28359,13182],631370035],["m",[15,28360,13182],631370035],["m",[15,28361,13182],631370035],["m",[15,28362,13182],631369962],["m",[15,28363,13182],631369962],["m",[15,28364,13182],631370407],["m",[15,28365,13182],631370407],["m",[15,28366,13182],631370467],["m",[15,28367,13182],631370467],["m",[15,28368,13182],631370467],["m",[15,28369,13182],631369962],["m",[15,28370,13182],631369962],["m",[15,28371,13182],631369962],["m",[15,28372,13182],631369962],["m",[15,28373,13182],631369962],["m",[15,28374,13182],631369962],["m",[15,28375,13182],631369962],["m",[15,28376,13182],631369962],["m",[15,28377,13182],631369962],["m",[15,28378,13182],631370563],["m",[15,28356,13183],631369962],["m",[15,28357,13183],631369962],["m",[15,28358,13183],631369962],["m",[15,28359,13183],631370035],["m",[15,28360,13183],631370035],["m",[15,28361,13183],631370035],["m",[15,28362,13183],631369962],["m",[15,28363,13183],631369962],["m",[15,28364,13183],631369962],["m",[15,28365,13183],631369962],["m",[15,28366,13183],631370467],["m",[15,28367,13183],631370467],["m",[15,28368,13183],631370467],["m",[15,28369,13183],631369962],["m",[15,28370,13183],631369962],["m",[15,28371,13183],631369962],["m",[15,28372,13183],631369962],["m",[15,28373,13183],631369962],["m",[15,28374,13183],631369962],["m",[15,28375,13183],631369962],["m",[15,28376,13183],631369962],["m",[15,28377,13183],631369962],["m",[15,28378,13183],631370563],["m",[15,28356,13184],631369962],["m",[15,28357,13184],631369962],["m",[15,28358,13184],631368654],["m",[15,28359,13184],631370035],["m",[15,28360,13184],631370035],["m",[15,28361,13184],631370035],["m",[15,28362,13184],631369962],["m",[15,28363,13184],631369962],["m",[15,28364,13184],631369962],["m",[15,28365,13184],631369962],["m",[15,28366,13184],631370467],["m",[15,28367,13184],631370467],["m",[15,28368,13184],631370467],["m",[15,28369,13184],631369962],["m",[15,28370,13184],631369962],["m",[15,28371,13184],631369962],["m",[15,28372,13184],631369962],["m",[15,28373,13184],631369962],["m",[15,28374,13184],631369962],["m",[15,28375,13184],631369962],["m",[15,28376,13184],631369962],["m",[15,28377,13184],631370035],["m",[15,28378,13184],631370563],["m",[15,28356,13185],631369962],["m",[15,28357,13185],631363590],["m",[15,28358,13185],631369962],["m",[15,28359,13185],631369962],["m",[15,28360,13185],631369962],["m",[15,28361,13185],631369962],["m",[15,28362,13185],631369962],["m",[15,28363,13185],631369962],["m",[15,28364,13185],631369962],["m",[15,28365,13185],631369962],["m",[15,28366,13185],631370467],["m",[15,28367,13185],631370467],["m",[15,28368,13185],631370467],["m",[15,28369,13185],631369962],["m",[15,28370,13185],631370467],["m",[15,28371,13185],631370467],["m",[15,28372,13185],631370467],["m",[15,28373,13185],631369962],["m",[15,28374,13185],631369962],["m",[15,28375,13185],631369962],["m",[15,28376,13185],631369962],["m",[15,28377,13185],631370311],["m",[15,28378,13185],631370311],["m",[15,28356,13186],631369962],["m",[15,28357,13186],631369962],["m",[15,28358,13186],631369962],["m",[15,28359,13186],631369962],["m",[15,28360,13186],631369962],["m",[15,28361,13186],631369962],["m",[15,28362,13186],631369962],["m",[15,28363,13186],631369962],["m",[15,28364,13186],631369962],["m",[15,28365,13186],631369962],["m",[15,28366,13186],631369962],["m",[15,28367,13186],631369962],["m",[15,28368,13186],631369962],["m",[15,28369,13186],631369962],["m",[15,28370,13186],631370467],["m",[15,28371,13186],631370467],["m",[15,28372,13186],631370467],["m",[15,28373,13186],631369962],["m",[15,28374,13186],631369962],["m",[15,28375,13186],631369962],["m",[15,28376,13186],631369962],["m",[15,28377,13186],631370311],["m",[15,28378,13186],631370311],["m",[15,28356,13187],631369962],["m",[15,28357,13187],631369962],["m",[15,28358,13187],631369962],["m",[15,28359,13187],631369962],["m",[15,28360,13187],631369962],["m",[15,28361,13187],631369962],["m",[15,28362,13187],631369962],["m",[15,28363,13187],631369962],["m",[15,28364,13187],631369962],["m",[15,28365,13187],631369962],["m",[15,28366,13187],631369962],["m",[15,28367,13187],631369962],["m",[15,28368,13187],631369962],["m",[15,28369,13187],631369962],["m",[15,28370,13187],631370467],["m",[15,28371,13187],631370467],["m",[15,28372,13187],631370467],["m",[15,28373,13187],631369962],["m",[15,28374,13187],631369962],["m",[15,28375,13187],631369962],["m",[15,28376,13187],631369962],["m",[15,28377,13187],631370311],["m",[15,28378,13187],631370311],["m",[15,28356,13188],631369962],["m",[15,28357,13188],631369962],["m",[15,28358,13188],631369962],["m",[15,28359,13188],631369962],["m",[15,28360,13188],631369962],["m",[15,28361,13188],631369962],["m",[15,28362,13188],631369962],["m",[15,28363,13188],631369962],["m",[15,28364,13188],631369962],["m",[15,28365,13188],631369962],["m",[15,28366,13188],631369962],["m",[15,28367,13188],631369962],["m",[15,28368,13188],631369962],["m",[15,28369,13188],631369962],["m",[15,28370,13188],631369962],["m",[15,28371,13188],631369962],["m",[15,28372,13188],631369962],["m",[15,28373,13188],631369962],["m",[15,28374,13188],631369962],["m",[15,28375,13188],631369962],["m",[15,28376,13188],631369962],["m",[15,28377,13188],631369962],["m",[15,28378,13188],631369962],["m",[15,28356,13189],631369962],["m",[15,28357,13189],631369962],["m",[15,28358,13189],631369962],["m",[15,28359,13189],631369962],["m",[15,28360,13189],631369962],["m",[15,28361,13189],631369962],["m",[15,28362,13189],631369962],["m",[15,28363,13189],631369962],["m",[15,28364,13189],631369962],["m",[15,28365,13189],631369962],["m",[15,28366,13189],631369962],["m",[15,28367,13189],631369962],["m",[15,28368,13189],631369962],["m",[15,28369,13189],631369962],["m",[15,28370,13189],631369962],["m",[15,28371,13189],631369962],["m",[15,28372,13189],631369962],["m",[15,28373,13189],631369962],["m",[15,28374,13189],631369962],["m",[15,28375,13189],631369962],["m",[15,28376,13189],631369962],["m",[15,28377,13189],631369962],["m",[15,28378,13189],631369962],["m",[15,28356,13190],631369962],["m",[15,28357,13190],631369962],["m",[15,28358,13190],631369962],["m",[15,28359,13190],631369962],["m",[15,28360,13190],631369962],["m",[15,28361,13190],631369962],["m",[15,28362,13190],631369962],["m",[15,28363,13190],631369962],["m",[15,28364,13190],631370527],["m",[15,28365,13190],631370527],["m",[15,28366,13190],631370527],["m",[15,28367,13190],631370527],["m",[15,28368,13190],631369962],["m",[15,28369,13190],631369962],["m",[15,28370,13190],631369962],["m",[15,28371,13190],631369962],["m",[15,28372,13190],631369962],["m",[15,28373,13190],631369962],["m",[15,28374,13190],631369962],["m",[15,28375,13190],631369962],["m",[15,28376,13190],631369962],["m",[15,28377,13190],631369962],["m",[15,28378,13190],631369962]]],0,null,[0],1] )
          Parameter
          token
          Evidence
          token
          Solution

          Do not pass sensitive information in URIs.

    2. https://firefox.settings.services.mozilla.com (1)

      1. Retrieved from Cache (1)
        1. GET https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?collection=query-stripping&bucket=main&_expected=0
          Alert tags
          Alert description

          The content was retrieved from a shared cache. If the response data is sensitive, personal or user-specific, this may result in sensitive information being leaked. In some cases, this may even result in a user gaining complete control of the session of another user, depending on the configuration of the caching components in use in their environment. This is primarily an issue where caching servers such as "proxy" caches are configured on the local network. This configuration is typically found in corporate or educational environments, for instance.

          Other info

          The presence of the 'Age' header indicates that that a HTTP/1.1 compliant caching server is in use.

          Request
          Request line and header section (447 bytes)
          GET https://firefox.settings.services.mozilla.com/v1/buckets/monitor/collections/changes/changeset?collection=query-stripping&bucket=main&_expected=0 HTTP/1.1
          Host: firefox.settings.services.mozilla.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: */*
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Sec-Fetch-Dest: empty
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: cross-site
          
          
          Request body (0 bytes)
          Response
          Status line and header section (522 bytes)
          HTTP/1.1 200 OK
          Access-Control-Allow-Origin: *
          Access-Control-Expose-Headers: Content-Length, Retry-After, Backoff, Content-Type, Alert
          Content-Security-Policy: default-src 'none'; frame-ancestors 'none'; base-uri 'none';
          Strict-Transport-Security: max-age=31536000
          X-Content-Type-Options: nosniff
          Content-Length: 223
          Via: 1.1 google
          Date: Tue, 31 Jan 2023 09:20:41 GMT
          Last-Modified: Tue, 31 Jan 2023 08:57:13 GMT
          Content-Type: application/json
          Age: 3287
          Cache-Control: max-age=3600,public
          Alt-Svc: clear
          
          
          Response body (223 bytes)
          {"metadata":{},"timestamp":1675155433200,"changes":[{"id":"651e8969-24fa-eb4a-aa3d-d64b894cbe9a","last_modified":1667238122278,"bucket":"main","collection":"query-stripping","host":"firefox.settings.services.mozilla.com"}]}
          Evidence
          Age: 3287
          Solution

          Validate that the response does not contain sensitive, personal or user-specific information. If it does, consider the use of the following HTTP response headers, to limit, or prevent the content being stored and retrieved from the cache by another user:

          Cache-Control: no-cache, no-store, must-revalidate, private

          Pragma: no-cache

          Expires: 0

          This configuration directs both HTTP 1.0 and HTTP 1.1 compliant caching servers to not store the response, and to not retrieve the response (without validation) from the cache, in response to a similar request.

    3. https://uyenotest.infotracktelematics.com (1)

      1. Modern Web Application (1)
        1. GET https://uyenotest.infotracktelematics.com/login-test
          Alert tags
          Alert description

          The application appears to be a modern web application. If you need to explore it automatically then the Ajax Spider may well be more effective than the standard one.

          Other info

          No links have been found while there are scripts, which is an indication that this is a modern web application.

          Request
          Request line and header section (480 bytes)
          GET https://uyenotest.infotracktelematics.com/login-test HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Upgrade-Insecure-Requests: 1
          Sec-Fetch-Dest: document
          Sec-Fetch-Mode: navigate
          Sec-Fetch-Site: none
          Sec-Fetch-User: ?1
          
          
          Request body (0 bytes)
          Response
          Status line and header section (239 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: text/html
          Content-Length: 3352
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-d18"
          Accept-Ranges: bytes
          
          
          Response body (3352 bytes)
          <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./assets/logo_mc.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Fleet Management System"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><title>FMS</title><link href="/static/css/2.14f01493.chunk.css" rel="stylesheet"><link href="/static/css/main.1a2dea67.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"fe722aaa",4:"e0fdadd1",5:"876bc555"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this.webpackJsonpclient=this.webpackJsonpclient||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.43b88232.chunk.js"></script><script src="/static/js/main.4d38df23.chunk.js"></script></body></html>
          Evidence
          <script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"fe722aaa",4:"e0fdadd1",5:"876bc555"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this.webpackJsonpclient=this.webpackJsonpclient||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script>
          Solution

          This is an informational alert and so no changes are required.

  8. Risk=Informational, Confidence=Low (2)

    1. https://uyenotest.infotracktelematics.com (2)

      1. Information Disclosure - Suspicious Comments (1)
        1. GET https://uyenotest.infotracktelematics.com/static/js/2.43b88232.chunk.js
          Alert tags
          Alert description

          The response appears to contain suspicious comments which may help an attacker. Note: Matches made within script blocks or files are against the entire content not only comments.

          Other info

          The following pattern was used: \bTODO\b and was detected in the element starting with: "(this.webpackJsonpclient=this.webpackJsonpclient||[]).push([[2],[function(t,e,r){"use strict";t.exports=r(928)},function(t,e,r){", see evidence field for the suspicious comment/snippet.

          Request
          Request line and header section (434 bytes)
          GET https://uyenotest.infotracktelematics.com/static/js/2.43b88232.chunk.js HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: */*
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Referer: https://uyenotest.infotracktelematics.com/login-test
          Sec-Fetch-Dest: script
          Sec-Fetch-Mode: no-cors
          Sec-Fetch-Site: same-origin
          
          
          Request body (0 bytes)
          Response
          Status line and header section (258 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: application/javascript
          Content-Length: 5719486
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-5745be"
          Accept-Ranges: bytes
          
          
          Response body (5719486 bytes)
          /*! For license information please see 2.43b88232.chunk.js.LICENSE.txt */
          (this.webpackJsonpclient=this.webpackJsonpclient||[]).push([[2],[function(t,e,r){"use strict";t.exports=r(928)},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(506);var i=r(277),o=r(507);function a(t,e){return Object(n.a)(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(1);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},function(t,e,r){(function(t){t.exports=function(){"use strict";var e,r;function n(){return e.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var r,n=[];for(r=0;r<t.length;++r)n.push(e(t[r],r));return n}function h(t,e){for(var r in e)a(e,r)&&(t[r]=e[r]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,r,n){return Se(t,e,r,n,!0).utc()}function p(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function m(t){if(null==t._isValid){var e=p(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function b(t){var e=d(NaN);return null!=t?h(p(e),t):p(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,r=Object(this),n=r.length>>>0;for(e=0;e<n;e++)if(e in r&&t.call(this,r[e],e,r))return!0;return!1};var v=n.momentProperties=[],g=!1;function y(t,e){var r,n,i;if(c(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),c(e._i)||(t._i=e._i),c(e._f)||(t._f=e._f),c(e._l)||(t._l=e._l),c(e._strict)||(t._strict=e._strict),c(e._tzm)||(t._tzm=e._tzm),c(e._isUTC)||(t._isUTC=e._isUTC),c(e._offset)||(t._offset=e._offset),c(e._pf)||(t._pf=p(e)),c(e._locale)||(t._locale=e._locale),v.length>0)for(r=0;r<v.length;r++)c(i=e[n=v[r]])||(t[n]=i);return t}function w(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,n.updateOffset(this),g=!1)}function x(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function O(t){!1===n.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function _(t,e){var r=!0;return h((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,t),r){var i,o,s,c=[];for(o=0;o<arguments.length;o++){if(i="","object"===typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];c.push(i)}O(t+"\nArguments: "+Array.prototype.slice.call(c).join("")+"\n"+(new Error).stack),r=!1}return e.apply(this,arguments)}),e)}var S,k={};function E(t,e){null!=n.deprecationHandler&&n.deprecationHandler(t,e),k[t]||(O(e),k[t]=!0)}function M(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,e){var r,n=h({},t);for(r in e)a(e,r)&&(o(t[r])&&o(e[r])?(n[r]={},h(n[r],t[r]),h(n[r],e[r])):null!=e[r]?n[r]=e[r]:delete n[r]);for(r in t)a(t,r)&&!a(e,r)&&o(t[r])&&(n[r]=h({},n[r]));return n}function j(t){null!=t&&this.set(t)}function A(t,e,r){var n=""+Math.abs(t),i=e-n.length;return(t>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,r=[];for(e in t)a(t,e)&&r.push(e);return r};var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},R={};function L(t,e,r,n){var i=n;"string"===typeof n&&(i=function(){return this[n]()}),t&&(R[t]=i),e&&(R[e[0]]=function(){return A(i.apply(this,arguments),e[1],e[2])}),r&&(R[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function I(t,e){return t.isValid()?(e=N(e,t.localeData()),D[e]=D[e]||function(t){var e,r,n,i=t.match(T);for(e=0,r=i.length;e<r;e++)R[i[e]]?i[e]=R[i[e]]:i[e]=(n=i[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,o="";for(n=0;n<r;n++)o+=M(i[n])?i[n].call(e,t):i[n];return o}}(e),D[e](t)):t.localeData().invalidDate()}function N(t,e){var r=5;function n(t){return e.longDateFormat(t)||t}for(P.lastIndex=0;r>=0&&P.test(t);)t=t.replace(P,n),P.lastIndex=0,r-=1;return t}var F={};function B(t,e){var r=t.toLowerCase();F[r]=F[r+"s"]=F[e]=t}function z(t){return"string"===typeof t?F[t]||F[t.toLowerCase()]:void 0}function H(t){var e,r,n={};for(r in t)a(t,r)&&(e=z(r))&&(n[e]=t[r]);return n}var U={};function W(t,e){U[t]=e}function q(t){return t%4===0&&t%100!==0||t%400===0}function V(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function G(t){var e=+t,r=0;return 0!==e&&isFinite(e)&&(r=V(e)),r}function Y(t,e){return function(r){return null!=r?($(this,t,r),n.updateOffset(this,e),this):X(this,t)}}function X(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function $(t,e,r){t.isValid()&&!isNaN(r)&&("FullYear"===e&&q(t.year())&&1===t.month()&&29===t.date()?(r=G(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),xt(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}var K,Z=/\d/,J=/\d\d/,Q=/\d{3}/,tt=/\d{4}/,et=/[+-]?\d{6}/,rt=/\d\d?/,nt=/\d\d\d\d?/,it=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,at=/\d{1,4}/,st=/[+-]?\d{1,6}/,ct=/\d+/,ut=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,ft=/Z|[+-]\d\d(?::?\d\d)?/gi,ht=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function dt(t,e,r){K[t]=M(e)?e:function(t,n){return t&&r?r:e}}function pt(t,e){return a(K,t)?K[t](e._strict,e._locale):new RegExp(mt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,r,n,i){return e||r||n||i}))))}function mt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var bt,vt={};function gt(t,e){var r,n=e;for("string"===typeof t&&(t=[t]),u(e)&&(n=function(t,r){r[e]=G(t)}),r=0;r<t.length;r++)vt[t[r]]=n}function yt(t,e){gt(t,(function(t,r,n,i){n._w=n._w||{},e(t,n._w,n,i)}))}function wt(t,e,r){null!=e&&a(vt,t)&&vt[t](e,r._a,r,t)}function xt(t,e){if(isNaN(t)||isNaN(e))return NaN;var r,n=(e%(r=12)+r)%r;return t+=(e-n)/12,1===n?q(t)?29:28:31-n%7%2}bt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},L("M",["MM",2],"Mo",(function(){return this.month()+1})),L("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),L("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),B("month","M"),W("month",8),dt("M",rt),dt("MM",rt,J),dt("MMM",(function(t,e){return e.monthsShortRegex(t)})),dt("MMMM",(function(t,e){return e.monthsRegex(t)})),gt(["M","MM"],(function(t,e){e[1]=G(t)-1})),gt(["MMM","MMMM"],(function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);null!=i?e[1]=i:p(r).invalidMonth=t}));var Ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),_t="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),St=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=ht,Et=ht;function Mt(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===e?-1!==(i=bt.call(this._shortMonthsParse,a))?i:null:-1!==(i=bt.call(this._longMonthsParse,a))?i:null:"MMM"===e?-1!==(i=bt.call(this._shortMonthsParse,a))||-1!==(i=bt.call(this._longMonthsParse,a))?i:null:-1!==(i=bt.call(this._longMonthsParse,a))||-1!==(i=bt.call(this._shortMonthsParse,a))?i:null}function Ct(t,e){var r;if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=G(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return r=Math.min(t.date(),xt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function jt(t){return null!=t?(Ct(this,t),n.updateOffset(this,!0),this):X(this,"Month")}function At(){function t(t,e){return e.length-t.length}var e,r,n=[],i=[],o=[];for(e=0;e<12;e++)r=d([2e3,e]),n.push(this.monthsShort(r,"")),i.push(this.months(r,"")),o.push(this.months(r,"")),o.push(this.monthsShort(r,""));for(n.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)n[e]=mt(n[e]),i[e]=mt(i[e]);for(e=0;e<24;e++)o[e]=mt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Tt(t){return q(t)?366:365}L("Y",0,0,(function(){var t=this.year();return t<=9999?A(t,4):"+"+t})),L(0,["YY",2],0,(function(){return this.year()%100})),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),B("year","y"),W("year",1),dt("Y",ut),dt("YY",rt,J),dt("YYYY",at,tt),dt("YYYYY",st,et),dt("YYYYYY",st,et),gt(["YYYYY","YYYYYY"],0),gt("YYYY",(function(t,e){e[0]=2===t.length?n.parseTwoDigitYear(t):G(t)})),gt("YY",(function(t,e){e[0]=n.parseTwoDigitYear(t)})),gt("Y",(function(t,e){e[0]=parseInt(t,10)})),n.parseTwoDigitYear=function(t){return G(t)+(G(t)>68?1900:2e3)};var Pt=Y("FullYear",!0);function Dt(t,e,r,n,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,n,i,o,a),s}function Rt(t){var e,r;return t<100&&t>=0?((r=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Lt(t,e,r){var n=7+e-r;return-(7+Rt(t,0,n).getUTCDay()-e)%7+n-1}function It(t,e,r,n,i){var o,a,s=1+7*(e-1)+(7+r-n)%7+Lt(t,n,i);return s<=0?a=Tt(o=t-1)+s:s>Tt(t)?(o=t+1,a=s-Tt(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Nt(t,e,r){var n,i,o=Lt(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Ft(i=t.year()-1,e,r):a>Ft(t.year(),e,r)?(n=a-Ft(t.year(),e,r),i=t.year()+1):(i=t.year(),n=a),{week:n,year:i}}function Ft(t,e,r){var n=Lt(t,e,r),i=Lt(t+1,e,r);return(Tt(t)-n+i)/7}function Bt(t,e){return t.slice(e,7).concat(t.slice(0,e))}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),W("week",5),W("isoWeek",5),dt("w",rt),dt("ww",rt,J),dt("W",rt),dt("WW",rt,J),yt(["w","ww","W","WW"],(function(t,e,r,n){e[n.substr(0,1)]=G(t)})),L("d",0,"do","day"),L("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),L("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),L("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),dt("d",rt),dt("e",rt),dt("E",rt),dt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),dt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),dt("dddd",(function(t,e){return e.weekdaysRegex(t)})),yt(["dd","ddd","dddd"],(function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);null!=i?e.d=i:p(r).invalidWeekday=t})),yt(["d","e","E"],(function(t,e,r,n){e[n]=G(t)}));var zt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ht="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ut="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wt=ht,qt=ht,Vt=ht;function Gt(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===e?-1!==(i=bt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=bt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=bt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=bt.call(this._weekdaysParse,a))||-1!==(i=bt.call(this._shortWeekdaysParse,a))||-1!==(i=bt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=bt.call(this._shortWeekdaysParse,a))||-1!==(i=bt.call(this._weekdaysParse,a))||-1!==(i=bt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=bt.call(this._minWeekdaysParse,a))||-1!==(i=bt.call(this._weekdaysParse,a))||-1!==(i=bt.call(this._shortWeekdaysParse,a))?i:null}function Yt(){function t(t,e){return e.length-t.length}var e,r,n,i,o,a=[],s=[],c=[],u=[];for(e=0;e<7;e++)r=d([2e3,1]).day(e),n=mt(this.weekdaysMin(r,"")),i=mt(this.weekdaysShort(r,"")),o=mt(this.weekdays(r,"")),a.push(n),s.push(i),c.push(o),u.push(n),u.push(i),u.push(o);a.sort(t),s.sort(t),c.sort(t),u.sort(t),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xt(){return this.hours()%12||12}function $t(t,e){L(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Kt(t,e){return e._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Xt),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+Xt.apply(this)+A(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+Xt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),$t("a",!0),$t("A",!1),B("hour","h"),W("hour",13),dt("a",Kt),dt("A",Kt),dt("H",rt),dt("h",rt),dt("k",rt),dt("HH",rt,J),dt("hh",rt,J),dt("kk",rt,J),dt("hmm",nt),dt("hmmss",it),dt("Hmm",nt),dt("Hmmss",it),gt(["H","HH"],3),gt(["k","kk"],(function(t,e,r){var n=G(t);e[3]=24===n?0:n})),gt(["a","A"],(function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t})),gt(["h","hh"],(function(t,e,r){e[3]=G(t),p(r).bigHour=!0})),gt("hmm",(function(t,e,r){var n=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n)),p(r).bigHour=!0})),gt("hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n,2)),e[5]=G(t.substr(i)),p(r).bigHour=!0})),gt("Hmm",(function(t,e,r){var n=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n))})),gt("Hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=G(t.substr(0,n)),e[4]=G(t.substr(n,2)),e[5]=G(t.substr(i))}));var Zt,Jt=Y("Hours",!0),Qt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ot,monthsShort:_t,week:{dow:0,doy:6},weekdays:zt,weekdaysMin:Ut,weekdaysShort:Ht,meridiemParse:/[ap]\.?m?\.?/i},te={},ee={};function re(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function ne(t){return t?t.toLowerCase().replace("_","-"):t}function ie(e){var r=null;if(void 0===te[e]&&"undefined"!==typeof t&&t&&t.exports)try{r=Zt._abbr,function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}(),oe(r)}catch(n){te[e]=null}return te[e]}function oe(t,e){var r;return t&&((r=c(e)?se(t):ae(t,e))?Zt=r:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Zt._abbr}function ae(t,e){if(null!==e){var r,n=Qt;if(e.abbr=t,null!=te[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=te[t]._config;else if(null!=e.parentLocale)if(null!=te[e.parentLocale])n=te[e.parentLocale]._config;else{if(null==(r=ie(e.parentLocale)))return ee[e.parentLocale]||(ee[e.parentLocale]=[]),ee[e.parentLocale].push({name:t,config:e}),null;n=r._config}return te[t]=new j(C(n,e)),ee[t]&&ee[t].forEach((function(t){ae(t.name,t.config)})),oe(t),te[t]}return delete te[t],null}function se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Zt;if(!i(t)){if(e=ie(t))return e;t=[t]}return function(t){for(var e,r,n,i,o=0;o<t.length;){for(e=(i=ne(t[o]).split("-")).length,r=(r=ne(t[o+1]))?r.split("-"):null;e>0;){if(n=ie(i.slice(0,e).join("-")))return n;if(r&&r.length>=e&&re(i,r)>=e-1)break;e--}o++}return Zt}(t)}function ce(t){var e,r=t._a;return r&&-2===p(t).overflow&&(e=r[1]<0||r[1]>11?1:r[2]<1||r[2]>xt(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}var ue=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,le=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fe=/Z|[+-]\d\d(?::?\d\d)?/,he=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],de=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pe=/^\/?Date\((-?\d+)/i,me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ve(t){var e,r,n,i,o,a,s=t._i,c=ue.exec(s)||le.exec(s);if(c){for(p(t).iso=!0,e=0,r=he.length;e<r;e++)if(he[e][1].exec(c[1])){i=he[e][0],n=!1!==he[e][2];break}if(null==i)return void(t._isValid=!1);if(c[3]){for(e=0,r=de.length;e<r;e++)if(de[e][1].exec(c[3])){o=(c[2]||" ")+de[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(c[4]){if(!fe.exec(c[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),Oe(t)}else t._isValid=!1}function ge(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ye(t){var e,r=me.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){if(e=function(t,e,r,n,i,o){var a=[ge(t),_t.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}(r[4],r[3],r[2],r[5],r[6],r[7]),!function(t,e,r){return!t||Ht.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(p(r).weekdayMismatch=!0,r._isValid=!1,!1)}(r[1],e,t))return;t._a=e,t._tzm=function(t,e,r){if(t)return be[t];if(e)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}(r[8],r[9],r[10]),t._d=Rt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function we(t,e,r){return null!=t?t:null!=e?e:r}function xe(t){var e,r,i,o,a,s=[];if(!t._d){for(i=function(t){var e=new Date(n.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,r,n,i,o,a,s,c,u;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,r=we(e.GG,t._a[0],Nt(ke(),1,4).year),n=we(e.W,1),((i=we(e.E,1))<1||i>7)&&(c=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,u=Nt(ke(),o,a),r=we(e.gg,t._a[0],u.year),n=we(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(c=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(c=!0)):i=o),n<1||n>Ft(r,o,a)?p(t)._overflowWeeks=!0:null!=c?p(t)._overflowWeekday=!0:(s=It(r,n,i,o,a),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=we(t._a[0],i[0]),(t._dayOfYear>Tt(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),r=Rt(a,0,t._dayOfYear),t._a[1]=r.getUTCMonth(),t._a[2]=r.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Rt:Dt).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==o&&(p(t).weekdayMismatch=!0)}}function Oe(t){if(t._f!==n.ISO_8601)if(t._f!==n.RFC_2822){t._a=[],p(t).empty=!0;var e,r,i,o,a,s,c=""+t._i,u=c.length,l=0;for(i=N(t._f,t._locale).match(T)||[],e=0;e<i.length;e++)o=i[e],(r=(c.match(pt(o,t))||[])[0])&&((a=c.substr(0,c.indexOf(r))).length>0&&p(t).unusedInput.push(a),c=c.slice(c.indexOf(r)+r.length),l+=r.length),R[o]?(r?p(t).empty=!1:p(t).unusedTokens.push(o),wt(o,r,t)):t._strict&&!r&&p(t).unusedTokens.push(o);p(t).charsLeftOver=u-l,c.length>0&&p(t).unusedInput.push(c),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,r){var n;return null==r?e:null!=t.meridiemHour?t.meridiemHour(e,r):null!=t.isPM?((n=t.isPM(r))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=p(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),xe(t),ce(t)}else ye(t);else ve(t)}function _e(t){var e=t._i,r=t._f;return t._locale=t._locale||se(t._l),null===e||void 0===r&&""===e?b({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new w(ce(e)):(l(e)?t._d=e:i(r)?function(t){var e,r,n,i,o,a,s=!1;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,a=!1,e=y({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Oe(e),m(e)&&(a=!0),o+=p(e).charsLeftOver,o+=10*p(e).unusedTokens.length,p(e).score=o,s?o<n&&(n=o,r=e):(null==n||o<n||a)&&(n=o,r=e,a&&(s=!0));h(t,r||e)}(t):r?Oe(t):function(t){var e=t._i;c(e)?t._d=new Date(n.now()):l(e)?t._d=new Date(e.valueOf()):"string"===typeof e?function(t){var e=pe.exec(t._i);null===e?(ve(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:n.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):i(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),xe(t)):o(e)?function(t){if(!t._d){var e=H(t._i),r=void 0===e.day?e.date:e.day;t._a=f([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),xe(t)}}(t):u(e)?t._d=new Date(e):n.createFromInputFallback(t)}(t),m(t)||(t._d=null),t))}function Se(t,e,r,n,a){var c={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(o(t)&&s(t)||i(t)&&0===t.length)&&(t=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=r,c._i=t,c._f=e,c._strict=n,function(t){var e=new w(ce(_e(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}(c)}function ke(t,e,r,n){return Se(t,e,r,n,!1)}n.createFromInputFallback=_("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var Ee=_("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()})),Me=_("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:b()}));function Ce(t,e){var r,n;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return ke();for(r=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](r)||(r=e[n]);return r}var je=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ae(t){var e=H(t),r=e.year||0,n=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,u=e.minute||0,l=e.second||0,f=e.millisecond||0;this._isValid=function(t){var e,r,n=!1;for(e in t)if(a(t,e)&&(-1===bt.call(je,e)||null!=t[e]&&isNaN(t[e])))return!1;for(r=0;r<je.length;++r)if(t[je[r]]){if(n)return!1;parseFloat(t[je[r]])!==G(t[je[r]])&&(n=!0)}return!0}(e),this._milliseconds=+f+1e3*l+6e4*u+1e3*c*60*60,this._days=+s+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=se(),this._bubble()}function Te(t){return t instanceof Ae}function Pe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function De(t,e){L(t,0,0,(function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+A(~~(t/60),2)+e+A(~~t%60,2)}))}De("Z",":"),De("ZZ",""),dt("Z",ft),dt("ZZ",ft),gt(["Z","ZZ"],(function(t,e,r){r._useUTC=!0,r._tzm=Le(ft,t)}));var Re=/([\+\-]|\d\d)/gi;function Le(t,e){var r,n,i=(e||"").match(t);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(Re)||["-",0,0])[1]+G(r[2]))?0:"+"===r[0]?n:-n}function Ie(t,e){var r,i;return e._isUTC?(r=e.clone(),i=(x(t)||l(t)?t.valueOf():ke(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):ke(t).local()}function Ne(t){return-Math.round(t._d.getTimezoneOffset())}function Fe(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function He(t,e){var r,n,i,o=t,s=null;return Te(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(s=Be.exec(t))?(r="-"===s[1]?-1:1,o={y:0,d:G(s[2])*r,h:G(s[3])*r,m:G(s[4])*r,s:G(s[5])*r,ms:G(Pe(1e3*s[6]))*r}):(s=ze.exec(t))?(r="-"===s[1]?-1:1,o={y:Ue(s[2],r),M:Ue(s[3],r),w:Ue(s[4],r),d:Ue(s[5],r),h:Ue(s[6],r),m:Ue(s[7],r),s:Ue(s[8],r)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=function(t,e){var r;return t.isValid()&&e.isValid()?(e=Ie(e,t),t.isBefore(e)?r=We(t,e):((r=We(e,t)).milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}(ke(o.from),ke(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),n=new Ae(o),Te(t)&&a(t,"_locale")&&(n._locale=t._locale),Te(t)&&a(t,"_isValid")&&(n._isValid=t._isValid),n}function Ue(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function We(t,e){var r={};return r.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function qe(t,e){return function(r,n){var i;return null===n||isNaN(+n)||(E(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),Ve(this,He(r,n),t),this}}function Ve(t,e,r,i){var o=e._milliseconds,a=Pe(e._days),s=Pe(e._months);t.isValid()&&(i=null==i||i,s&&Ct(t,X(t,"Month")+s*r),a&&$(t,"Date",X(t,"Date")+a*r),o&&t._d.setTime(t._d.valueOf()+o*r),i&&n.updateOffset(t,a||s))}He.fn=Ae.prototype,He.invalid=function(){return He(NaN)};var Ge=qe(1,"add"),Ye=qe(-1,"subtract");function Xe(t){return"string"===typeof t||t instanceof String}function $e(t){return x(t)||l(t)||Xe(t)||u(t)||function(t){var e=i(t),r=!1;return e&&(r=0===t.filter((function(e){return!u(e)&&Xe(t)})).length),e&&r}(t)||function(t){var e,r,n=o(t)&&!s(t),i=!1,c=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(e=0;e<c.length;e+=1)r=c[e],i=i||a(t,r);return n&&i}(t)||null===t||void 0===t}function Ke(t){var e,r=o(t)&&!s(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<i.length;e+=1)n=n||a(t,i[e]);return r&&n}function Ze(t,e){if(t.date()<e.date())return-Ze(e,t);var r=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(r,"months");return-(r+(e-n<0?(e-n)/(n-t.clone().add(r-1,"months")):(e-n)/(t.clone().add(r+1,"months")-n)))||0}function Je(t){var e;return void 0===t?this._locale._abbr:(null!=(e=se(t))&&(this._locale=e),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qe=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function tr(){return this._locale}function er(t,e){return(t%e+e)%e}function rr(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-126227808e5:new Date(t,e,r).valueOf()}function nr(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-126227808e5:Date.UTC(t,e,r)}function ir(t,e){return e.erasAbbrRegex(t)}function or(){var t,e,r=[],n=[],i=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)n.push(mt(a[t].name)),r.push(mt(a[t].abbr)),i.push(mt(a[t].narrow)),o.push(mt(a[t].name)),o.push(mt(a[t].abbr)),o.push(mt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ar(t,e){L(0,[t,t.length],0,e)}function sr(t,e,r,n,i){var o;return null==t?Nt(this,n,i).year:(e>(o=Ft(t,n,i))&&(e=o),cr.call(this,t,e,r,n,i))}function cr(t,e,r,n,i){var o=It(t,e,r,n,i),a=Rt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),dt("N",ir),dt("NN",ir),dt("NNN",ir),dt("NNNN",(function(t,e){return e.erasNameRegex(t)})),dt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),gt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?p(r).era=i:p(r).invalidEra=t})),dt("y",ct),dt("yy",ct),dt("yyy",ct),dt("yyyy",ct),dt("yo",(function(t,e){return e._eraYearOrdinalRegex||ct})),gt(["y","yy","yyy","yyyy"],0),gt(["yo"],(function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[0]=r._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),dt("G",ut),dt("g",ut),dt("GG",rt,J),dt("gg",rt,J),dt("GGGG",at,tt),dt("gggg",at,tt),dt("GGGGG",st,et),dt("ggggg",st,et),yt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,r,n){e[n.substr(0,2)]=G(t)})),yt(["gg","GG"],(function(t,e,r,i){e[i]=n.parseTwoDigitYear(t)})),L("Q",0,"Qo","quarter"),B("quarter","Q"),W("quarter",7),dt("Q",Z),gt("Q",(function(t,e){e[1]=3*(G(t)-1)})),L("D",["DD",2],"Do","date"),B("date","D"),W("date",9),dt("D",rt),dt("DD",rt,J),dt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),gt(["D","DD"],2),gt("Do",(function(t,e){e[2]=G(t.match(rt)[0])}));var ur=Y("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),W("dayOfYear",4),dt("DDD",ot),dt("DDDD",Q),gt(["DDD","DDDD"],(function(t,e,r){r._dayOfYear=G(t)})),L("m",["mm",2],0,"minute"),B("minute","m"),W("minute",14),dt("m",rt),dt("mm",rt,J),gt(["m","mm"],4);var lr=Y("Minutes",!1);L("s",["ss",2],0,"second"),B("second","s"),W("second",15),dt("s",rt),dt("ss",rt,J),gt(["s","ss"],5);var fr,hr,dr=Y("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),W("millisecond",16),dt("S",ot,Z),dt("SS",ot,J),dt("SSS",ot,Q),fr="SSSS";fr.length<=9;fr+="S")dt(fr,ct);function pr(t,e){e[6]=G(1e3*("0."+t))}for(fr="S";fr.length<=9;fr+="S")gt(fr,pr);hr=Y("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var mr=w.prototype;function br(t){return t}mr.add=Ge,mr.calendar=function(t,e){1===arguments.length&&(arguments[0]?$e(arguments[0])?(t=arguments[0],e=void 0):Ke(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||ke(),i=Ie(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=e&&(M(e[o])?e[o].call(this,r):e[o]);return this.format(a||this.localeData().calendar(o,this,ke(r)))},mr.clone=function(){return new w(this)},mr.diff=function(t,e,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=Ie(t,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),e=z(e)){case"year":o=Ze(this,n)/12;break;case"month":o=Ze(this,n);break;case"quarter":o=Ze(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:V(o)},mr.endOf=function(t){var e,r;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-er(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-er(e,1e3)-1}return this._d.setTime(e),n.updateOffset(this,!0),this},mr.format=function(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var e=I(this,t);return this.localeData().postformat(e)},mr.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||ke(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mr.fromNow=function(t){return this.from(ke(),t)},mr.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||ke(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mr.toNow=function(t){return this.to(ke(),t)},mr.get=function(t){return M(this[t=z(t)])?this[t]():this},mr.invalidAt=function(){return p(this).overflow},mr.isAfter=function(t,e){var r=x(t)?t:ke(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf())},mr.isBefore=function(t,e){var r=x(t)?t:ke(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf())},mr.isBetween=function(t,e,r,n){var i=x(t)?t:ke(t),o=x(e)?e:ke(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r)))},mr.isSame=function(t,e){var r,n=x(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=z(e)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf()))},mr.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},mr.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},mr.isValid=function(){return m(this)},mr.lang=Qe,mr.locale=Je,mr.localeData=tr,mr.max=Me,mr.min=Ee,mr.parsingFlags=function(){return h({},p(this))},mr.set=function(t,e){if("object"===typeof t){var r,n=function(t){var e,r=[];for(e in t)a(t,e)&&r.push({unit:e,priority:U[e]});return r.sort((function(t,e){return t.priority-e.priority})),r}(t=H(t));for(r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(M(this[t=z(t)]))return this[t](e);return this},mr.startOf=function(t){var e,r;if(void 0===(t=z(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=er(e,6e4);break;case"second":e=this._d.valueOf(),e-=er(e,1e3)}return this._d.setTime(e),n.updateOffset(this,!0),this},mr.subtract=Ye,mr.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},mr.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},mr.toDate=function(){return new Date(this.valueOf())},mr.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?I(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(r,"Z")):I(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,r,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!==typeof Symbol&&null!=Symbol.for&&(mr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),mr.toJSON=function(){return this.isValid()?this.toISOString():null},mr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mr.unix=function(){return Math.floor(this.valueOf()/1e3)},mr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mr.eraName=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].name;if(n[t].until<=r&&r<=n[t].since)return n[t].name}return""},mr.eraNarrow=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].narrow;if(n[t].until<=r&&r<=n[t].since)return n[t].narrow}return""},mr.eraAbbr=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].abbr;if(n[t].until<=r&&r<=n[t].since)return n[t].abbr}return""},mr.eraYear=function(){var t,e,r,i,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=o[t].since<=o[t].until?1:-1,i=this.clone().startOf("day").valueOf(),o[t].since<=i&&i<=o[t].until||o[t].until<=i&&i<=o[t].since)return(this.year()-n(o[t].since).year())*r+o[t].offset;return this.year()},mr.year=Pt,mr.isLeapYear=function(){return q(this.year())},mr.weekYear=function(t){return sr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mr.isoWeekYear=function(t){return sr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mr.quarter=mr.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mr.month=jt,mr.daysInMonth=function(){return xt(this.year(),this.month())},mr.week=mr.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mr.isoWeek=mr.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mr.weeksInYear=function(){var t=this.localeData()._week;return Ft(this.year(),t.dow,t.doy)},mr.weeksInWeekYear=function(){var t=this.localeData()._week;return Ft(this.weekYear(),t.dow,t.doy)},mr.isoWeeksInYear=function(){return Ft(this.year(),1,4)},mr.isoWeeksInISOWeekYear=function(){return Ft(this.isoWeekYear(),1,4)},mr.date=ur,mr.day=mr.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!==typeof t?t:isNaN(t)?"number"===typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mr.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mr.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mr.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mr.hour=mr.hours=Jt,mr.minute=mr.minutes=lr,mr.second=mr.seconds=dr,mr.millisecond=mr.milliseconds=hr,mr.utcOffset=function(t,e,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(null===(t=Le(ft,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&e&&(i=Ne(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!e||this._changeInProgress?Ve(this,He(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ne(this)},mr.utc=function(t){return this.utcOffset(0,t)},mr.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this},mr.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=Le(lt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mr.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?ke(t).utcOffset():0,(this.utcOffset()-t)%60===0)},mr.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mr.isLocal=function(){return!!this.isValid()&&!this._isUTC},mr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mr.isUtc=Fe,mr.isUTC=Fe,mr.zoneAbbr=function(){return this._isUTC?"UTC":""},mr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mr.dates=_("dates accessor is deprecated. Use date instead.",ur),mr.months=_("months accessor is deprecated. Use month instead",jt),mr.years=_("years accessor is deprecated. Use year instead",Pt),mr.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),mr.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return y(e,this),(e=_e(e))._a?(t=e._isUTC?d(e._a):ke(e._a),this._isDSTShifted=this.isValid()&&function(t,e,r){var n,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(n=0;n<i;n++)(r&&t[n]!==e[n]||!r&&G(t[n])!==G(e[n]))&&a++;return a+o}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var vr=j.prototype;function gr(t,e,r,n){var i=se(),o=d().set(n,e);return i[r](o,t)}function yr(t,e,r){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return gr(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=gr(t,n,r,"month");return i}function wr(t,e,r,n){"boolean"===typeof t?(u(e)&&(r=e,e=void 0),e=e||""):(r=e=t,t=!1,u(e)&&(r=e,e=void 0),e=e||"");var i,o=se(),a=t?o._week.dow:0,s=[];if(null!=r)return gr(e,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=gr(e,(i+a)%7,n,"day");return s}vr.calendar=function(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return M(n)?n.call(e,r):n},vr.longDateFormat=function(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(T).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},vr.invalidDate=function(){return this._invalidDate},vr.ordinal=function(t){return this._ordinal.replace("%d",t)},vr.preparse=br,vr.postformat=br,vr.relativeTime=function(t,e,r,n){var i=this._relativeTime[r];return M(i)?i(t,e,r,n):i.replace(/%d/i,t)},vr.pastFuture=function(t,e){var r=this._relativeTime[t>0?"future":"past"];return M(r)?r(e):r.replace(/%s/i,e)},vr.set=function(t){var e,r;for(r in t)a(t,r)&&(M(e=t[r])?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vr.eras=function(t,e){var r,i,o,a=this._eras||se("en")._eras;for(r=0,i=a.length;r<i;++r){switch(typeof a[r].since){case"string":o=n(a[r].since).startOf("day"),a[r].since=o.valueOf()}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":o=n(a[r].until).startOf("day").valueOf(),a[r].until=o.valueOf()}}return a},vr.erasParse=function(t,e,r){var n,i,o,a,s,c=this.eras();for(t=t.toUpperCase(),n=0,i=c.length;n<i;++n)if(o=c[n].name.toUpperCase(),a=c[n].abbr.toUpperCase(),s=c[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(a===t)return c[n];break;case"NNNN":if(o===t)return c[n];break;case"NNNNN":if(s===t)return c[n]}else if([o,a,s].indexOf(t)>=0)return c[n]},vr.erasConvertYear=function(t,e){var r=t.since<=t.until?1:-1;return void 0===e?n(t.since).year():n(t.since).year()+(e-t.offset)*r},vr.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||or.call(this),t?this._erasAbbrRegex:this._erasRegex},vr.erasNameRegex=function(t){return a(this,"_erasNameRegex")||or.call(this),t?this._erasNameRegex:this._erasRegex},vr.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||or.call(this),t?this._erasNarrowRegex:this._erasRegex},vr.months=function(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||St).test(e)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},vr.monthsShort=function(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[St.test(e)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vr.monthsParse=function(t,e,r){var n,i,o;if(this._monthsParseExact)return Mt.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=d([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(r&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}},vr.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||At.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},vr.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||At.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},vr.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},vr.firstDayOfYear=function(){return this._week.doy},vr.firstDayOfWeek=function(){return this._week.dow},vr.weekdays=function(t,e){var r=i(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Bt(r,this._week.dow):t?r[t.day()]:r},vr.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},vr.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},vr.weekdaysParse=function(t,e,r){var n,i,o;if(this._weekdaysParseExact)return Gt.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=d([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(r&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(r&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}},vr.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},vr.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vr.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vr.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},vr.meridiem=function(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"},oe("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===G(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=_("moment.lang is deprecated. Use moment.locale instead.",oe),n.langData=_("moment.langData is deprecated. Use moment.localeData instead.",se);var xr=Math.abs;function Or(t,e,r,n){var i=He(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function _r(t){return t<0?Math.floor(t):Math.ceil(t)}function Sr(t){return 4800*t/146097}function kr(t){return 146097*t/4800}function Er(t){return function(){return this.as(t)}}var Mr=Er("ms"),Cr=Er("s"),jr=Er("m"),Ar=Er("h"),Tr=Er("d"),Pr=Er("w"),Dr=Er("M"),Rr=Er("Q"),Lr=Er("y");function Ir(t){return function(){return this.isValid()?this._data[t]:NaN}}var Nr=Ir("milliseconds"),Fr=Ir("seconds"),Br=Ir("minutes"),zr=Ir("hours"),Hr=Ir("days"),Ur=Ir("months"),Wr=Ir("years"),qr=Math.round,Vr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gr(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}var Yr=Math.abs;function Xr(t){return(t>0)-(t<0)||+t}function $r(){if(!this.isValid())return this.localeData().invalidDate();var t,e,r,n,i,o,a,s,c=Yr(this._milliseconds)/1e3,u=Yr(this._days),l=Yr(this._months),f=this.asSeconds();return f?(t=V(c/60),e=V(t/60),c%=60,t%=60,r=V(l/12),l%=12,n=c?c.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=Xr(this._months)!==Xr(f)?"-":"",a=Xr(this._days)!==Xr(f)?"-":"",s=Xr(this._milliseconds)!==Xr(f)?"-":"",i+"P"+(r?o+r+"Y":"")+(l?o+l+"M":"")+(u?a+u+"D":"")+(e||t||c?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(c?s+n+"S":"")):"P0D"}var Kr=Ae.prototype;return Kr.isValid=function(){return this._isValid},Kr.abs=function(){var t=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),t.milliseconds=xr(t.milliseconds),t.seconds=xr(t.seconds),t.minutes=xr(t.minutes),t.hours=xr(t.hours),t.months=xr(t.months),t.years=xr(t.years),this},Kr.add=function(t,e){return Or(this,t,e,1)},Kr.subtract=function(t,e){return Or(this,t,e,-1)},Kr.as=function(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if("month"===(t=z(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,r=this._months+Sr(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(kr(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Kr.asMilliseconds=Mr,Kr.asSeconds=Cr,Kr.asMinutes=jr,Kr.asHours=Ar,Kr.asDays=Tr,Kr.asWeeks=Pr,Kr.asMonths=Dr,Kr.asQuarters=Rr,Kr.asYears=Lr,Kr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Kr._bubble=function(){var t,e,r,n,i,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*_r(kr(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=V(o/1e3),c.seconds=t%60,e=V(t/60),c.minutes=e%60,r=V(e/60),c.hours=r%24,a+=V(r/24),i=V(Sr(a)),s+=i,a-=_r(kr(i)),n=V(s/12),s%=12,c.days=a,c.months=s,c.years=n,this},Kr.clone=function(){return He(this)},Kr.get=function(t){return t=z(t),this.isValid()?this[t+"s"]():NaN},Kr.milliseconds=Nr,Kr.seconds=Fr,Kr.minutes=Br,Kr.hours=zr,Kr.days=Hr,Kr.weeks=function(){return V(this.days()/7)},Kr.months=Ur,Kr.years=Wr,Kr.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=Vr;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(i=t),"object"===typeof e&&(o=Object.assign({},Vr,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=this.localeData(),n=function(t,e,r,n){var i=He(t).abs(),o=qr(i.as("s")),a=qr(i.as("m")),s=qr(i.as("h")),c=qr(i.as("d")),u=qr(i.as("M")),l=qr(i.as("w")),f=qr(i.as("y")),h=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||c<=1&&["d"]||c<r.d&&["dd",c];return null!=r.w&&(h=h||l<=1&&["w"]||l<r.w&&["ww",l]),(h=h||u<=1&&["M"]||u<r.M&&["MM",u]||f<=1&&["y"]||["yy",f])[2]=e,h[3]=+t>0,h[4]=n,Gr.apply(null,h)}(this,!i,o,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},Kr.toISOString=$r,Kr.toString=$r,Kr.toJSON=$r,Kr.locale=Je,Kr.localeData=tr,Kr.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$r),Kr.lang=Qe,L("X",0,0,"unix"),L("x",0,0,"valueOf"),dt("x",ut),dt("X",/[+-]?\d+(\.\d{1,3})?/),gt("X",(function(t,e,r){r._d=new Date(1e3*parseFloat(t))})),gt("x",(function(t,e,r){r._d=new Date(G(t))})),n.version="2.29.1",e=ke,n.fn=mr,n.min=function(){var t=[].slice.call(arguments,0);return Ce("isBefore",t)},n.max=function(){var t=[].slice.call(arguments,0);return Ce("isAfter",t)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=d,n.unix=function(t){return ke(1e3*t)},n.months=function(t,e){return yr(t,e,"months")},n.isDate=l,n.locale=oe,n.invalid=b,n.duration=He,n.isMoment=x,n.weekdays=function(t,e,r){return wr(t,e,r,"weekdays")},n.parseZone=function(){return ke.apply(null,arguments).parseZone()},n.localeData=se,n.isDuration=Te,n.monthsShort=function(t,e){return yr(t,e,"monthsShort")},n.weekdaysMin=function(t,e,r){return wr(t,e,r,"weekdaysMin")},n.defineLocale=ae,n.updateLocale=function(t,e){if(null!=e){var r,n,i=Qt;null!=te[t]&&null!=te[t].parentLocale?te[t].set(C(te[t]._config,e)):(null!=(n=ie(t))&&(i=n._config),e=C(i,e),null==n&&(e.abbr=t),(r=new j(e)).parentLocale=te[t],te[t]=r),oe(t)}else null!=te[t]&&(null!=te[t].parentLocale?(te[t]=te[t].parentLocale,t===oe()&&oe(t)):null!=te[t]&&delete te[t]);return te[t]},n.locales=function(){return S(te)},n.weekdaysShort=function(t,e,r){return wr(t,e,r,"weekdaysShort")},n.normalizeUnits=z,n.relativeTimeRounding=function(t){return void 0===t?qr:"function"===typeof t&&(qr=t,!0)},n.relativeTimeThreshold=function(t,e){return void 0!==Vr[t]&&(void 0===e?Vr[t]:(Vr[t]=e,"s"===t&&(Vr.ss=e-1),!0))},n.calendarFormat=function(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},n.prototype=mr,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}()}).call(this,r(203)(t))},function(t,e,r){"use strict";t.exports=r(1177)},function(t,e,r){"use strict";r.d(e,"a",(function(){return lt})),r.d(e,"f",(function(){return yt})),r.d(e,"c",(function(){return xt})),r.d(e,"b",(function(){return kt})),r.d(e,"d",(function(){return Wt})),r.d(e,"e",(function(){return U}));var n,i,o=r(19),a=r(45),s=r(46);try{n=Map}catch(Gt){}try{i=Set}catch(Gt){}function c(t){return function t(e,r,o){if(!e||"object"!==typeof e||"function"===typeof e)return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(c);if(n&&e instanceof n)return new Map(Array.from(e.entries()));if(i&&e instanceof i)return new Set(Array.from(e.values()));if(e instanceof Object){r.push(e);var a=Object.create(e);for(var s in o.push(a),e){var u=r.findIndex((function(t){return t===e[s]}));a[s]=u>-1?o[u]:t(e[s],r,o)}return a}return e}(t,[],[])}var u=Object.prototype.toString,l=Error.prototype.toString,f=RegExp.prototype.toString,h="undefined"!==typeof Symbol?Symbol.prototype.toString:function(){return""},d=/^Symbol\((.*)\)(.*)$/;function p(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}function m(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t||!0===t||!1===t)return""+t;var r=typeof t;if("number"===r)return p(t);if("string"===r)return e?'"'.concat(t,'"'):t;if("function"===r)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===r)return h.call(t).replace(d,"Symbol($1)");var n=u.call(t).slice(8,-1);return"Date"===n?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===n||t instanceof Error?"["+l.call(t)+"]":"RegExp"===n?f.call(t):null}function b(t,e){var r=m(t,e);return null!==r?r:JSON.stringify(t,(function(t,r){var n=m(this[t],e);return null!==n?n:r}),2)}var v={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(t){var e=t.path,r=t.type,n=t.value,i=t.originalValue,o=null!=i&&i!==n,a="".concat(e," must be a `").concat(r,"` type, ")+"but the final value was: `".concat(b(n,!0),"`")+(o?" (cast from the value `".concat(b(i,!0),"`)."):".");return null===n&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},g={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},y={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},w={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},x={isValue:"${path} field must be ${value}"},O={noUnknown:"${path} field has unspecified keys: ${unknown}"},_={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must be have ${length} items"},S=(Object.assign(Object.create(null),{mixed:v,string:g,number:y,date:w,object:O,array:_,boolean:x}),r(328)),k=r.n(S),E=function(t){return t&&t.__isYupSchema__},M=function(){function t(e,r){if(Object(a.a)(this,t),this.refs=e,this.refs=e,"function"!==typeof r){if(!k()(r,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!r.then&&!r.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=r.is,i=r.then,o=r.otherwise,s="function"===typeof n?n:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.every((function(t){return t===n}))};this.fn=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.pop(),a=e.pop(),c=s.apply(void 0,e)?i:o;if(c)return"function"===typeof c?c(a):a.concat(c.resolve(n))}}else this.fn=r}return Object(s.a)(t,[{key:"resolve",value:function(t,e){var r=this.refs.map((function(t){return t.getValue(null==e?void 0:e.value,null==e?void 0:e.parent,null==e?void 0:e.context)})),n=this.fn.apply(t,r.concat(t,e));if(void 0===n||n===t)return t;if(!E(n))throw new TypeError("conditions must return a schema object");return n.resolve(e)}}]),t}(),C=r(319),j=r(95),A=r(96),T=r(432);function P(t){return null==t?[]:[].concat(t)}function D(){return(D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var R=/\$\{\s*(\w+)\s*\}/g,L=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(t,n,i,s){var c;return Object(a.a)(this,r),(c=e.call(this)).name="ValidationError",c.value=n,c.path=i,c.type=s,c.errors=[],c.inner=[],P(t).forEach((function(t){var e;r.isError(t)?((e=c.errors).push.apply(e,Object(o.a)(t.errors)),c.inner=c.inner.concat(t.inner.length?t.inner:t)):c.errors.push(t)})),c.message=c.errors.length>1?"".concat(c.errors.length," errors occurred"):c.errors[0],Error.captureStackTrace&&Error.captureStackTrace(Object(C.a)(c),r),c}return Object(s.a)(r,null,[{key:"formatError",value:function(t,e){var r=e.label||e.path||"this";return r!==e.path&&(e=D({},e,{path:r})),"string"===typeof t?t.replace(R,(function(t,r){return b(e[r])})):"function"===typeof t?t(e):t}},{key:"isError",value:function(t){return t&&"ValidationError"===t.name}}]),r}(Object(T.a)(Error));function I(t,e){var r=t.endEarly,n=t.tests,i=t.args,a=t.value,s=t.errors,c=t.sort,u=t.path,l=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(e),f=n.length,h=[];if(s=s||[],!f)return s.length?l(new L(s,a,u)):l(null,a);for(var d=0;d<n.length;d++){(0,n[d])(i,(function(t){if(t){if(!L.isError(t))return l(t,a);if(r)return t.value=a,l(t,a);h.push(t)}if(--f<=0){if(h.length&&(c&&h.sort(c),s.length&&h.push.apply(h,Object(o.a)(s)),s=h),s.length)return void l(new L(s,a,u),a);l(null,a)}}))}}var N=r(364),F=r.n(N),B=r(280),z="$",H=".";function U(t,e){return new W(t,e)}var W=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(a.a)(this,t),"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===z,this.isValue=this.key[0]===H,this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?z:this.isValue?H:"";this.path=this.key.slice(n.length),this.getter=this.path&&Object(B.getter)(this.path,!0),this.map=r.map}return Object(s.a)(t,[{key:"getValue",value:function(t,e,r){var n=this.isContext?r:this.isValue?t:e;return this.getter&&(n=this.getter(n||{})),this.map&&(n=this.map(n)),n}},{key:"cast",value:function(t,e){return this.getValue(t,null==e?void 0:e.parent,null==e?void 0:e.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(t){return t&&t.__isYupRef}}]),t}();function q(){return(q=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function V(t){function e(e,r){var n=e.value,i=e.path,o=void 0===i?"":i,a=e.label,s=e.options,c=e.originalValue,u=e.sync,l=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(e,["value","path","label","options","originalValue","sync"]),f=t.name,h=t.test,d=t.params,p=t.message,m=s.parent,b=s.context;function v(t){return W.isRef(t)?t.getValue(n,m,b):t}function g(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=F()(q({value:n,originalValue:c,label:a,path:t.path||o},d,t.params),v),r=new L(L.formatError(t.message||p,e),n,e.path,t.type||f);return r.params=e,r}var y=q({path:o,parent:m,type:f,createError:g,resolve:v,options:s,originalValue:c},l);if(u){var w;try{var x;if("function"===typeof(null==(x=w=h.call(y,n,y))?void 0:x.then))throw new Error('Validation test of type: "'.concat(y.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(O){return void r(O)}L.isError(w)?r(w):w?r(null,w):r(g())}else try{Promise.resolve(h.call(y,n,y)).then((function(t){L.isError(t)?r(t):t?r(null,t):r(g())}))}catch(O){r(O)}}return e.OPTIONS=t,e}W.prototype.__isYupRef=!0;var G=function(t){return t.substr(0,t.length-1).substr(1)};function Y(t,e,r){var n,i,o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return e?(Object(B.forEach)(e,(function(s,c,u){var l=c?G(s):s;if((t=t.resolve({context:a,parent:n,value:r})).innerType){var f=u?parseInt(l,10):0;if(r&&f>=r.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(s,", in the path: ").concat(e,". ")+"because there is no value at that index. ");n=r,r=r&&r[f],t=t.innerType}if(!u){if(!t.fields||!t.fields[l])throw new Error("The schema does not contain the path: ".concat(e,". ")+"(failed at: ".concat(o,' which is a type: "').concat(t._type,'")'));n=r,r=r&&r[l],t=t.fields[l]}i=l,o=c?"["+s+"]":"."+s})),{schema:t,parent:n,parentPath:i}):{parent:n,parentPath:e,schema:t}}var X=r(3),$=r(29),K=function(){function t(){Object(a.a)(this,t),this.list=new Set,this.refs=new Map}return Object(s.a)(t,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var t,e=[],r=Object($.a)(this.list);try{for(r.s();!(t=r.n()).done;){var n=t.value;e.push(n)}}catch(s){r.e(s)}finally{r.f()}var i,o=Object($.a)(this.refs);try{for(o.s();!(i=o.n()).done;){var a=Object(X.a)(i.value,2)[1];e.push(a.describe())}}catch(s){o.e(s)}finally{o.f()}return e}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"add",value:function(t){W.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}},{key:"delete",value:function(t){W.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}},{key:"has",value:function(t,e){if(this.list.has(t))return!0;for(var r,n=this.refs.values();!(r=n.next()).done;)if(e(r.value)===t)return!0;return!1}},{key:"clone",value:function(){var e=new t;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}},{key:"merge",value:function(t,e){var r=this.clone();return t.list.forEach((function(t){return r.add(t)})),t.refs.forEach((function(t){return r.add(t)})),e.list.forEach((function(t){return r.delete(t)})),e.refs.forEach((function(t){return r.delete(t)})),r}}]),t}();function Z(){return(Z=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var J=function(){function t(e){var r=this;Object(a.a)(this,t),this.deps=[],this.conditions=[],this._whitelist=new K,this._blacklist=new K,this.exclusiveTests=Object.create(null),this.tests=[],this.transforms=[],this.withMutation((function(){r.typeError(v.notType)})),this.type=(null==e?void 0:e.type)||"mixed",this.spec=Z({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}return Object(s.a)(t,[{key:"_type",get:function(){return this.type}},{key:"_typeCheck",value:function(t){return!0}},{key:"clone",value:function(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;var e=Object.create(Object.getPrototypeOf(this));return e.type=this.type,e._typeError=this._typeError,e._whitelistError=this._whitelistError,e._blacklistError=this._blacklistError,e._whitelist=this._whitelist.clone(),e._blacklist=this._blacklist.clone(),e.exclusiveTests=Z({},this.exclusiveTests),e.deps=Object(o.a)(this.deps),e.conditions=Object(o.a)(this.conditions),e.tests=Object(o.a)(this.tests),e.transforms=Object(o.a)(this.transforms),e.spec=c(Z({},this.spec,t)),e}},{key:"label",value:function(t){var e=this.clone();return e.spec.label=t,e}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},arguments.length<=0?void 0:arguments[0]),t}},{key:"withMutation",value:function(t){var e=this._mutate;this._mutate=!0;var r=t(this);return this._mutate=e,r}},{key:"concat",value:function(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(t.type));var e=t.clone(),r=Z({},this.spec,e.spec);return e.spec=r,e._typeError||(e._typeError=this._typeError),e._whitelistError||(e._whitelistError=this._whitelistError),e._blacklistError||(e._blacklistError=this._blacklistError),e._whitelist=this._whitelist.merge(t._whitelist,t._blacklist),e._blacklist=this._blacklist.merge(t._blacklist,t._whitelist),e.tests=this.tests,e.exclusiveTests=this.exclusiveTests,e.withMutation((function(e){t.tests.forEach((function(t){e.test(t.OPTIONS)}))})),e}},{key:"isType",value:function(t){return!(!this.spec.nullable||null!==t)||this._typeCheck(t)}},{key:"resolve",value:function(t){var e=this;if(e.conditions.length){var r=e.conditions;(e=e.clone()).conditions=[],e=(e=r.reduce((function(e,r){return r.resolve(e,t)}),e)).resolve(t)}return e}},{key:"cast",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.resolve(Z({value:t},e)),n=r._cast(t,e);if(void 0!==t&&!1!==e.assert&&!0!==r.isType(n)){var i=b(t),o=b(n);throw new TypeError("The value of ".concat(e.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(r._type,'". \n\n')+"attempted value: ".concat(i," \n")+(o!==i?"result of cast: ".concat(o):""))}return n}},{key:"_cast",value:function(t,e){var r=this,n=void 0===t?t:this.transforms.reduce((function(e,n){return n.call(r,e,t,r)}),t);return void 0===n&&(n=this.getDefault()),n}},{key:"_validate",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=r.sync,o=r.path,a=r.from,s=void 0===a?[]:a,c=r.originalValue,u=void 0===c?t:c,l=r.strict,f=void 0===l?this.spec.strict:l,h=r.abortEarly,d=void 0===h?this.spec.abortEarly:h,p=t;f||(p=this._cast(p,Z({assert:!1},r)));var m={value:p,path:o,options:r,originalValue:u,schema:this,label:this.spec.label,sync:i,from:s},b=[];this._typeError&&b.push(this._typeError),this._whitelistError&&b.push(this._whitelistError),this._blacklistError&&b.push(this._blacklistError),I({args:m,value:p,path:o,sync:i,tests:b,endEarly:d},(function(t){t?n(t,p):I({tests:e.tests,args:m,path:o,sync:i,value:p,endEarly:d},n)}))}},{key:"validate",value:function(t,e,r){var n=this.resolve(Z({},e,{value:t}));return"function"===typeof r?n._validate(t,e,r):new Promise((function(r,i){return n._validate(t,e,(function(t,e){t?i(t):r(e)}))}))}},{key:"validateSync",value:function(t,e){var r;return this.resolve(Z({},e,{value:t}))._validate(t,Z({},e,{sync:!0}),(function(t,e){if(t)throw t;r=e})),r}},{key:"isValid",value:function(t,e){return this.validate(t,e).then((function(){return!0}),(function(t){if(L.isError(t))return!1;throw t}))}},{key:"isValidSync",value:function(t,e){try{return this.validateSync(t,e),!0}catch(r){if(L.isError(r))return!1;throw r}}},{key:"_getDefault",value:function(){var t=this.spec.default;return null==t?t:"function"===typeof t?t.call(this):c(t)}},{key:"getDefault",value:function(t){return this.resolve(t||{})._getDefault()}},{key:"default",value:function(t){if(0===arguments.length)return this._getDefault();var e=this.clone({default:t});return e}},{key:"strict",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strict=t,e}},{key:"_isPresent",value:function(t){return null!=t}},{key:"defined",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.defined;return this.test({message:t,name:"defined",exclusive:!0,test:function(t){return void 0!==t}})}},{key:"required",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.required;return this.clone({presence:"required"}).withMutation((function(e){return e.test({message:t,name:"required",exclusive:!0,test:function(t){return this.schema._isPresent(t)}})}))}},{key:"notRequired",value:function(){var t=this.clone({presence:"optional"});return t.tests=t.tests.filter((function(t){return"required"!==t.OPTIONS.name})),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone({nullable:!1!==t});return e}},{key:"transform",value:function(t){var e=this.clone();return e.transforms.push(t),e}},{key:"test",value:function(){var t;if(void 0===(t=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(t.message=v.default),"function"!==typeof t.test)throw new TypeError("`test` is a required parameters");var e=this.clone(),r=V(t),n=t.exclusive||t.name&&!0===e.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(e.exclusiveTests[t.name]=!!t.exclusive),e.tests=e.tests.filter((function(e){if(e.OPTIONS.name===t.name){if(n)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0})),e.tests.push(r),e}},{key:"when",value:function(t,e){Array.isArray(t)||"string"===typeof t||(e=t,t=".");var r=this.clone(),n=P(t).map((function(t){return new W(t)}));return n.forEach((function(t){t.isSibling&&r.deps.push(t.key)})),r.conditions.push(new M(n,e)),r}},{key:"typeError",value:function(t){var e=this.clone();return e._typeError=V({message:t,name:"typeError",test:function(t){return!(void 0!==t&&!this.schema.isType(t))||this.createError({params:{type:this.schema._type}})}}),e}},{key:"oneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.oneOf,r=this.clone();return t.forEach((function(t){r._whitelist.add(t),r._blacklist.delete(t)})),r._whitelistError=V({message:e,name:"oneOf",test:function(t){if(void 0===t)return!0;var e=this.schema._whitelist;return!!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),r}},{key:"notOneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.notOneOf,r=this.clone();return t.forEach((function(t){r._blacklist.add(t),r._whitelist.delete(t)})),r._blacklistError=V({message:e,name:"notOneOf",test:function(t){var e=this.schema._blacklist;return!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),r}},{key:"strip",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strip=t,e}},{key:"describe",value:function(){var t=this.clone(),e=t.spec,r=e.label;return{meta:e.meta,label:r,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(t){return{name:t.OPTIONS.name,params:t.OPTIONS.params}})).filter((function(t,e,r){return r.findIndex((function(e){return e.name===t.name}))===e}))}}}]),t}();J.prototype.__isYupSchema__=!0;for(var Q=function(){var t=et[tt];J.prototype["".concat(t,"At")]=function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Y(this,e,r,n.context),o=i.parent,a=i.parentPath,s=i.schema;return s[t](o&&o[a],Z({},n,{parent:o,path:e}))}},tt=0,et=["validate","validateSync"];tt<et.length;tt++)Q();for(var rt=0,nt=["equals","is"];rt<nt.length;rt++){var it=nt[rt];J.prototype[it]=J.prototype.oneOf}for(var ot=0,at=["not","nope"];ot<at.length;ot++){var st=at[ot];J.prototype[st]=J.prototype.notOneOf}J.prototype.optional=J.prototype.notRequired;var ct=J;ct.prototype;var ut=function(t){return null==t};function lt(){return new ft}var ft=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"boolean"})).withMutation((function(){t.transform((function(t){if(!this.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return t instanceof Boolean&&(t=t.valueOf()),"boolean"===typeof t}},{key:"isTrue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test:function(t){return ut(t)||!0===t}})}},{key:"isFalse",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test:function(t){return ut(t)||!1===t}})}}]),r}(J);lt.prototype=ft.prototype;var ht=r(111),dt=r(98),pt=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,mt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,bt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,vt=function(t){return ut(t)||t===t.trim()},gt={}.toString();function yt(){return new wt}var wt=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"string"})).withMutation((function(){t.transform((function(t){if(this.isType(t))return t;if(Array.isArray(t))return t;var e=null!=t&&t.toString?t.toString():t;return e===gt?t:e}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return t instanceof String&&(t=t.valueOf()),"string"===typeof t}},{key:"_isPresent",value:function(t){return Object(ht.a)(Object(dt.a)(r.prototype),"_isPresent",this).call(this,t)&&!!t.length}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return ut(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return ut(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.max;return this.test({name:"max",exclusive:!0,message:e,params:{max:t},test:function(e){return ut(e)||e.length<=this.resolve(t)}})}},{key:"matches",value:function(t,e){var r,n,i=!1;if(e)if("object"===typeof e){var o=e.excludeEmptyString;i=void 0!==o&&o,r=e.message,n=e.name}else r=e;return this.test({name:n||"matches",message:r||g.matches,params:{regex:t},test:function(e){return ut(e)||""===e&&i||-1!==e.search(t)}})}},{key:"email",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.email;return this.matches(pt,{name:"email",message:t,excludeEmptyString:!0})}},{key:"url",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.url;return this.matches(mt,{name:"url",message:t,excludeEmptyString:!0})}},{key:"uuid",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.uuid;return this.matches(bt,{name:"uuid",message:t,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(t){return null===t?"":t}))}},{key:"trim",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.trim;return this.transform((function(t){return null!=t?t.trim():t})).test({message:t,name:"trim",test:vt})}},{key:"lowercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.lowercase;return this.transform((function(t){return ut(t)?t:t.toLowerCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return ut(t)||t===t.toLowerCase()}})}},{key:"uppercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.uppercase;return this.transform((function(t){return ut(t)?t:t.toUpperCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return ut(t)||t===t.toUpperCase()}})}}]),r}(J);yt.prototype=wt.prototype;function xt(){return new Ot}var Ot=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"number"})).withMutation((function(){t.transform((function(t){var e=t;if("string"===typeof e){if(""===(e=e.replace(/\s/g,"")))return NaN;e=+e}return this.isType(e)?e:parseFloat(e)}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return t instanceof Number&&(t=t.valueOf()),"number"===typeof t&&!function(t){return t!=+t}(t)}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return ut(e)||e>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.max;return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return ut(e)||e<=this.resolve(t)}})}},{key:"lessThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.lessThan;return this.test({message:e,name:"max",exclusive:!0,params:{less:t},test:function(e){return ut(e)||e<this.resolve(t)}})}},{key:"moreThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.moreThan;return this.test({message:e,name:"min",exclusive:!0,params:{more:t},test:function(e){return ut(e)||e>this.resolve(t)}})}},{key:"positive",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.positive;return this.moreThan(0,t)}},{key:"negative",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.negative;return this.lessThan(0,t)}},{key:"integer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.integer;return this.test({name:"integer",message:t,test:function(t){return ut(t)||Number.isInteger(t)}})}},{key:"truncate",value:function(){return this.transform((function(t){return ut(t)?t:0|t}))}},{key:"round",value:function(t){var e,r=["ceil","floor","round","trunc"];if("trunc"===(t=(null==(e=t)?void 0:e.toLowerCase())||"round"))return this.truncate();if(-1===r.indexOf(t.toLowerCase()))throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform((function(e){return ut(e)?e:Math[t](e)}))}}]),r}(J);xt.prototype=Ot.prototype;var _t=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var St=new Date("");function kt(){return new Et}var Et=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(){var t;return Object(a.a)(this,r),(t=e.call(this,{type:"date"})).withMutation((function(){t.transform((function(t){return this.isType(t)?t:(t=function(t){var e,r,n=[1,4,5,6,7,10,11],i=0;if(r=_t.exec(t)){for(var o,a=0;o=n[a];++a)r[o]=+r[o]||0;r[2]=(+r[2]||1)-1,r[3]=+r[3]||1,r[7]=r[7]?String(r[7]).substr(0,3):0,void 0!==r[8]&&""!==r[8]||void 0!==r[9]&&""!==r[9]?("Z"!==r[8]&&void 0!==r[9]&&(i=60*r[10]+r[11],"+"===r[9]&&(i=0-i)),e=Date.UTC(r[1],r[2],r[3],r[4],r[5]+i,r[6],r[7])):e=+new Date(r[1],r[2],r[3],r[4],r[5],r[6],r[7])}else e=Date.parse?Date.parse(t):NaN;return e}(t),isNaN(t)?St:new Date(t))}))})),t}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return e=t,"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(t.getTime());var e}},{key:"prepareParam",value:function(t,e){var r;if(W.isRef(t))r=t;else{var n=this.cast(t);if(!this._typeCheck(n))throw new TypeError("`".concat(e,"` must be a Date or a value that can be `cast()` to a Date"));r=n}return r}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.min,r=this.prepareParam(t,"min");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(t){return ut(t)||t>=this.resolve(r)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.max,r=this.prepareParam(t,"max");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(t){return ut(t)||t<=this.resolve(r)}})}}]),r}(J);Et.INVALID_DATE=St,kt.prototype=Et.prototype,kt.INVALID_DATE=St;var Mt=r(647),Ct=r.n(Mt),jt=r(816),At=r.n(jt),Tt=r(817),Pt=r.n(Tt),Dt=r(818),Rt=r.n(Dt);function Lt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],n=[];function i(t,i){var o=Object(B.split)(t)[0];~n.indexOf(o)||n.push(o),~e.indexOf("".concat(i,"-").concat(o))||r.push([i,o])}var o=function(e){if(k()(t,e)){var r=t[e];~n.indexOf(e)||n.push(e),W.isRef(r)&&r.isSibling?i(r.path,e):E(r)&&"deps"in r&&r.deps.forEach((function(t){return i(t,e)}))}};for(var a in t)o(a);return Rt.a.array(n,r).reverse()}function It(t,e){var r=1/0;return t.some((function(t,n){var i;if(-1!==(null==(i=e.path)?void 0:i.indexOf(t)))return r=n,!0})),r}function Nt(t){return function(e,r){return It(t,e)-It(t,r)}}function Ft(){return(Ft=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var Bt=function(t){return"[object Object]"===Object.prototype.toString.call(t)};function zt(t,e){var r=Object.keys(t.fields);return Object.keys(e).filter((function(t){return-1===r.indexOf(t)}))}var Ht=Nt([]),Ut=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(t){var n;return Object(a.a)(this,r),(n=e.call(this,{type:"object"})).fields=Object.create(null),n._sortErrors=Ht,n._nodes=[],n._excludedEdges=[],n.withMutation((function(){n.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null})),t&&n.shape(t)})),n}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return Bt(t)||"function"===typeof t}},{key:"_cast",value:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Object(ht.a)(Object(dt.a)(r.prototype),"_cast",this).call(this,t,i);if(void 0===o)return this.getDefault();if(!this._typeCheck(o))return o;var a,s=this.fields,c=null!=(e=i.stripUnknown)?e:this.spec.noUnknown,u=this._nodes.concat(Object.keys(o).filter((function(t){return-1===n._nodes.indexOf(t)}))),l={},f=Ft({},i,{parent:l,__validating:i.__validating||!1}),h=!1,d=Object($.a)(u);try{for(d.s();!(a=d.n()).done;){var p=a.value,m=s[p],b=k()(o,p);if(m){var v=void 0,g=o[p];f.path=(i.path?"".concat(i.path,"."):"")+p;var y="spec"in(m=m.resolve({value:g,context:i.context,parent:l}))?m.spec:void 0,w=null==y?void 0:y.strict;if(null==y?void 0:y.strip){h=h||p in o;continue}void 0!==(v=i.__validating&&w?o[p]:m.cast(o[p],f))&&(l[p]=v)}else b&&!c&&(l[p]=o[p]);l[p]!==o[p]&&(h=!0)}}catch(x){d.e(x)}finally{d.f()}return h?l:o}},{key:"_validate",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,a=[],s=n.sync,c=n.from,u=void 0===c?[]:c,l=n.originalValue,f=void 0===l?t:l,h=n.abortEarly,d=void 0===h?this.spec.abortEarly:h,p=n.recursive,m=void 0===p?this.spec.recursive:p;u=[{schema:this,value:f}].concat(Object(o.a)(u)),n.__validating=!0,n.originalValue=f,n.from=u,Object(ht.a)(Object(dt.a)(r.prototype),"_validate",this).call(this,t,n,(function(t,r){if(t){if(!L.isError(t)||d)return void i(t,r);a.push(t)}if(m&&Bt(r)){f=f||r;var o=e._nodes.map((function(t){return function(i,o){var a=-1===t.indexOf(".")?(n.path?"".concat(n.path,"."):"")+t:"".concat(n.path||"",'["').concat(t,'"]'),s=e.fields[t];s&&"validate"in s?s.validate(r[t],Ft({},n,{path:a,from:u,strict:!0,parent:r,originalValue:f[t]}),o):o(null)}}));I({sync:s,tests:o,value:r,errors:a,endEarly:d,sort:e._sortErrors,path:n.path},i)}else i(a[0]||null,r)}))}},{key:"clone",value:function(t){var e=Object(ht.a)(Object(dt.a)(r.prototype),"clone",this).call(this,t);return e.fields=Ft({},this.fields),e._nodes=this._nodes,e._excludedEdges=this._excludedEdges,e._sortErrors=this._sortErrors,e}},{key:"concat",value:function(t){for(var e=Object(ht.a)(Object(dt.a)(r.prototype),"concat",this).call(this,t),n=e.fields,i=0,o=Object.entries(this.fields);i<o.length;i++){var a=Object(X.a)(o[i],2),s=a[0],c=a[1],u=n[s];void 0===u?n[s]=c:u instanceof J&&c instanceof J&&(n[s]=c.concat(u))}return e.withMutation((function(){return e.shape(n)}))}},{key:"getDefaultFromShape",value:function(){var t=this,e={};return this._nodes.forEach((function(r){var n=t.fields[r];e[r]="default"in n?n.getDefault():void 0})),e}},{key:"_getDefault",value:function(){return"default"in this.spec?Object(ht.a)(Object(dt.a)(r.prototype),"_getDefault",this).call(this):this._nodes.length?this.getDefaultFromShape():void 0}},{key:"shape",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=this.clone(),n=Object.assign(r.fields,t);if(r.fields=n,r._sortErrors=Nt(Object.keys(n)),e.length){Array.isArray(e[0])||(e=[e]);var i=e.map((function(t){var e=Object(X.a)(t,2),r=e[0],n=e[1];return"".concat(r,"-").concat(n)}));r._excludedEdges=r._excludedEdges.concat(i)}return r._nodes=Lt(n,r._excludedEdges),r}},{key:"pick",value:function(t){var e,r={},n=Object($.a)(t);try{for(n.s();!(e=n.n()).done;){var i=e.value;this.fields[i]&&(r[i]=this.fields[i])}}catch(o){n.e(o)}finally{n.f()}return this.clone().withMutation((function(t){return t.fields={},t.shape(r)}))}},{key:"omit",value:function(t){var e=this.clone(),r=e.fields;e.fields={};var n,i=Object($.a)(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;delete r[o]}}catch(a){i.e(a)}finally{i.f()}return e.withMutation((function(){return e.shape(r)}))}},{key:"from",value:function(t,e,r){var n=Object(B.getter)(t,!0);return this.transform((function(i){if(null==i)return i;var o=i;return k()(i,t)&&(o=Ft({},i),r||delete o[t],o[e]=n(i)),o}))}},{key:"noUnknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;"string"===typeof t&&(e=t,t=!0);var r=this.test({name:"noUnknown",exclusive:!0,message:e,test:function(e){if(null==e)return!0;var r=zt(this.schema,e);return!t||0===r.length||this.createError({params:{unknown:r.join(", ")}})}});return r.spec.noUnknown=t,r}},{key:"unknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.noUnknown;return this.noUnknown(!t,e)}},{key:"transformKeys",value:function(t){return this.transform((function(e){return e&&Pt()(e,(function(e,r){return t(r)}))}))}},{key:"camelCase",value:function(){return this.transformKeys(At.a)}},{key:"snakeCase",value:function(){return this.transformKeys(Ct.a)}},{key:"constantCase",value:function(){return this.transformKeys((function(t){return Ct()(t).toUpperCase()}))}},{key:"describe",value:function(){var t=Object(ht.a)(Object(dt.a)(r.prototype),"describe",this).call(this);return t.fields=F()(this.fields,(function(t){return t.describe()})),t}}]),r}(J);function Wt(t){return new Ut(t)}function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}Wt.prototype=Ut.prototype;var Vt=function(t){Object(j.a)(r,t);var e=Object(A.a)(r);function r(t){var n;return Object(a.a)(this,r),(n=e.call(this,{type:"array"})).innerType=t,n.withMutation((function(){n.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null}))})),n}return Object(s.a)(r,[{key:"_typeCheck",value:function(t){return Array.isArray(t)}},{key:"_subType",get:function(){return this.innerType}},{key:"_cast",value:function(t,e){var n=this,i=Object(ht.a)(Object(dt.a)(r.prototype),"_cast",this).call(this,t,e);if(!this._typeCheck(i)||!this.innerType)return i;var o=!1,a=i.map((function(t,r){var i=n.innerType.cast(t,qt({},e,{path:"".concat(e.path||"","[").concat(r,"]")}));return i!==t&&(o=!0),i}));return o?a:i}},{key:"_validate",value:function(t){var e,n,i=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,s=[],c=o.sync,u=o.path,l=this.innerType,f=null!=(e=o.abortEarly)?e:this.spec.abortEarly,h=null!=(n=o.recursive)?n:this.spec.recursive,d=null!=o.originalValue?o.originalValue:t;Object(ht.a)(Object(dt.a)(r.prototype),"_validate",this).call(this,t,o,(function(t,e){if(t){if(!L.isError(t)||f)return void a(t,e);s.push(t)}if(h&&l&&i._typeCheck(e)){d=d||e;for(var r=new Array(e.length),n=function(t){var n=e[t],i="".concat(o.path||"","[").concat(t,"]"),a=qt({},o,{path:i,strict:!0,parent:e,index:t,originalValue:d[t]});r[t]=function(t,e){return l.validate(n,a,e)}},p=0;p<e.length;p++)n(p);I({sync:c,path:u,value:e,errors:s,endEarly:f,tests:r},a)}else a(s[0]||null,e)}))}},{key:"clone",value:function(t){var e=Object(ht.a)(Object(dt.a)(r.prototype),"clone",this).call(this,t);return e.innerType=this.innerType,e}},{key:"concat",value:function(t){var e=Object(ht.a)(Object(dt.a)(r.prototype),"concat",this).call(this,t);return e.innerType=this.innerType,t.innerType&&(e.innerType=e.innerType?e.innerType.concat(t.innerType):t.innerType),e}},{key:"of",value:function(t){var e=this.clone();if(!E(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+b(t));return e.innerType=t,e}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return ut(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t,e){return e=e||_.min,this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return ut(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t,e){return e=e||_.max,this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return ut(e)||e.length<=this.resolve(t)}})}},{key:"ensure",value:function(){var t=this;return this.default((function(){return[]})).transform((function(e,r){return t._typeCheck(e)?e:null==r?[]:[].concat(r)}))}},{key:"compact",value:function(t){var e=t?function(e,r,n){return!t(e,r,n)}:function(t){return!!t};return this.transform((function(t){return null!=t?t.filter(e):t}))}},{key:"describe",value:function(){var t=Object(ht.a)(Object(dt.a)(r.prototype),"describe",this).call(this);return this.innerType&&(t.innerType=this.innerType.describe()),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return Object(ht.a)(Object(dt.a)(r.prototype),"nullable",this).call(this,t)}},{key:"defined",value:function(){return Object(ht.a)(Object(dt.a)(r.prototype),"defined",this).call(this)}},{key:"required",value:function(t){return Object(ht.a)(Object(dt.a)(r.prototype),"required",this).call(this,t)}}]),r}(J);Vt.prototype},function(t,e,r){"use strict";function n(t){var e,r,i="";if("string"===typeof t||"number"===typeof t)i+=t;else if("object"===typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=n(t[e]))&&(i&&(i+=" "),i+=r);else for(e in t)t[e]&&(i&&(i+=" "),i+=e);return i}e.a=function(){for(var t,e,r=0,i="";r<arguments.length;)(t=arguments[r++])&&(e=n(t))&&(i&&(i+=" "),i+=e);return i}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i.v})),r.d(e,"b",(function(){return i.l})),r.d(e,"c",(function(){return i.u})),r.d(e,"d",(function(){return l}));r(93),r(2);var n=r(57),i=r(25),o=(r(490),function(t){return{done:!0,value:t}}),a={};function s(t){return Object(n.b)(t)?"channel":Object(n.l)(t)?String(t):Object(n.d)(t)?t.name:String(t)}function c(t,e,r){var n,s,c,u=e;function l(e,r){if(u===a)return o(e);if(r&&!s)throw u=a,r;n&&n(e);var i=r?t[s](r):t[u]();return u=i.nextState,c=i.effect,n=i.stateUpdater,s=i.errorState,u===a?o(e):c}return Object(i.M)(l,(function(t){return l(null,t)}),r)}function u(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a,u,l={done:!1,value:Object(i.i)(t)},f=function(t){return{done:!1,value:i.j.apply(void 0,[e].concat(n,[t]))}},h=function(t){return{done:!1,value:Object(i.k)(t)}},d=function(t){return a=t},p=function(t){return u=t};return c({q1:function(){return{nextState:"q2",effect:l,stateUpdater:p}},q2:function(){return a?{nextState:"q3",effect:h(a)}:{nextState:"q1",effect:f(u),stateUpdater:d}},q3:function(){return{nextState:"q1",effect:f(u),stateUpdater:d}}},"q1","takeLatest("+s(t)+", "+e.name+")")}function l(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return i.j.apply(void 0,[u,t,e].concat(n))}},function(t,e,r){t.exports=r(934)()},function(t,e,r){"use strict";r.d(e,"a",(function(){return f})),r.d(e,"b",(function(){return z})),r.d(e,"c",(function(){return V})),r.d(e,"d",(function(){return $}));var n=r(0),i=r.n(n),o=(r(10),i.a.createContext(null));var a=function(t){t()},s={notify:function(){}};function c(){var t=a,e=null,r=null;return{clear:function(){e=null,r=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],r=e;r;)t.push(r),r=r.next;return t},subscribe:function(t){var n=!0,i=r={callback:t,next:null,prev:r};return i.prev?i.prev.next=i:e=i,function(){n&&null!==e&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var u=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=s,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=c())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=s)},t}(),l="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect;var f=function(t){var e=t.store,r=t.context,a=t.children,s=Object(n.useMemo)((function(){var t=new u(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),c=Object(n.useMemo)((function(){return e.getState()}),[e]);l((function(){var t=s.subscription;return t.trySubscribe(),c!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[s,c]);var f=r||o;return i.a.createElement(f.Provider,{value:s},a)},h=r(2),d=r(14),p=r(183),m=r.n(p),b=r(276),v=[],g=[null,null];function y(t,e){var r=t[1];return[e.payload,r+1]}function w(t,e,r){l((function(){return t.apply(void 0,e)}),r)}function x(t,e,r,n,i,o,a){t.current=n,e.current=i,r.current=!1,o.current&&(o.current=null,a())}function O(t,e,r,n,i,o,a,s,c,u){if(t){var l=!1,f=null,h=function(){if(!l){var t,r,h=e.getState();try{t=n(h,i.current)}catch(d){r=d,f=d}r||(f=null),t===o.current?a.current||c():(o.current=t,s.current=t,a.current=!0,u({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=h,r.trySubscribe(),h();return function(){if(l=!0,r.tryUnsubscribe(),r.onStateChange=null,f)throw f}}}var _=function(){return[null,0]};function S(t,e){void 0===e&&(e={});var r=e,a=r.getDisplayName,s=void 0===a?function(t){return"ConnectAdvanced("+t+")"}:a,c=r.methodName,l=void 0===c?"connectAdvanced":c,f=r.renderCountProp,p=void 0===f?void 0:f,S=r.shouldHandleStateChanges,k=void 0===S||S,E=r.storeKey,M=void 0===E?"store":E,C=(r.withRef,r.forwardRef),j=void 0!==C&&C,A=r.context,T=void 0===A?o:A,P=Object(d.a)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),D=T;return function(e){var r=e.displayName||e.name||"Component",o=s(r),a=Object(h.a)({},P,{getDisplayName:s,methodName:l,renderCountProp:p,shouldHandleStateChanges:k,storeKey:M,displayName:o,wrappedComponentName:r,WrappedComponent:e}),c=P.pure;var f=c?n.useMemo:function(t){return t()};function S(r){var o=Object(n.useMemo)((function(){var t=r.reactReduxForwardedRef,e=Object(d.a)(r,["reactReduxForwardedRef"]);return[r.context,t,e]}),[r]),s=o[0],c=o[1],l=o[2],p=Object(n.useMemo)((function(){return s&&s.Consumer&&Object(b.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:D}),[s,D]),m=Object(n.useContext)(p),S=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(m)&&Boolean(m.store);var E=S?r.store:m.store,M=Object(n.useMemo)((function(){return function(e){return t(e.dispatch,a)}(E)}),[E]),C=Object(n.useMemo)((function(){if(!k)return g;var t=new u(E,S?null:m.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[E,S,m]),j=C[0],A=C[1],T=Object(n.useMemo)((function(){return S?m:Object(h.a)({},m,{subscription:j})}),[S,m,j]),P=Object(n.useReducer)(y,v,_),R=P[0][0],L=P[1];if(R&&R.error)throw R.error;var I=Object(n.useRef)(),N=Object(n.useRef)(l),F=Object(n.useRef)(),B=Object(n.useRef)(!1),z=f((function(){return F.current&&l===N.current?F.current:M(E.getState(),l)}),[E,R,l]);w(x,[N,I,B,l,z,F,A]),w(O,[k,E,j,M,N,I,B,F,A,L],[E,j,M]);var H=Object(n.useMemo)((function(){return i.a.createElement(e,Object(h.a)({},z,{ref:c}))}),[c,e,z]);return Object(n.useMemo)((function(){return k?i.a.createElement(p.Provider,{value:T},H):H}),[p,H,T])}var E=c?i.a.memo(S):S;if(E.WrappedComponent=e,E.displayName=S.displayName=o,j){var C=i.a.forwardRef((function(t,e){return i.a.createElement(E,Object(h.a)({},t,{reactReduxForwardedRef:e}))}));return C.displayName=o,C.WrappedComponent=e,m()(C,e)}return m()(E,e)}}function k(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function E(t,e){if(k(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(e,r[i])||!k(t[r[i]],e[r[i]]))return!1;return!0}function M(t){return function(e,r){var n=t(e,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function C(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function j(t,e){return function(e,r){r.displayName;var n=function(t,e){return n.dependsOnOwnProps?n.mapToProps(t,e):n.mapToProps(t)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,r){n.mapToProps=t,n.dependsOnOwnProps=C(t);var i=n(e,r);return"function"===typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=C(i),i=n(e,r)),i},n}}var A=[function(t){return"function"===typeof t?j(t):void 0},function(t){return t?void 0:M((function(t){return{dispatch:t}}))},function(t){return t&&"object"===typeof t?M((function(e){return function(t,e){var r={},n=function(n){var i=t[n];"function"===typeof i&&(r[n]=function(){return e(i.apply(void 0,arguments))})};for(var i in t)n(i);return r}(t,e)})):void 0}];var T=[function(t){return"function"===typeof t?j(t):void 0},function(t){return t?void 0:M((function(){return{}}))}];function P(t,e,r){return Object(h.a)({},r,t,e)}var D=[function(t){return"function"===typeof t?function(t){return function(e,r){r.displayName;var n,i=r.pure,o=r.areMergedPropsEqual,a=!1;return function(e,r,s){var c=t(e,r,s);return a?i&&o(c,n)||(n=c):(a=!0,n=c),n}}}(t):void 0},function(t){return t?void 0:function(){return P}}];function R(t,e,r,n){return function(i,o){return r(t(i,o),e(n,o),o)}}function L(t,e,r,n,i){var o,a,s,c,u,l=i.areStatesEqual,f=i.areOwnPropsEqual,h=i.areStatePropsEqual,d=!1;function p(i,d){var p=!f(d,a),m=!l(i,o);return o=i,a=d,p&&m?(s=t(o,a),e.dependsOnOwnProps&&(c=e(n,a)),u=r(s,c,a)):p?(t.dependsOnOwnProps&&(s=t(o,a)),e.dependsOnOwnProps&&(c=e(n,a)),u=r(s,c,a)):m?function(){var e=t(o,a),n=!h(e,s);return s=e,n&&(u=r(s,c,a)),u}():u}return function(i,l){return d?p(i,l):(s=t(o=i,a=l),c=e(n,a),u=r(s,c,a),d=!0,u)}}function I(t,e){var r=e.initMapStateToProps,n=e.initMapDispatchToProps,i=e.initMergeProps,o=Object(d.a)(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=r(t,o),s=n(t,o),c=i(t,o);return(o.pure?L:R)(a,s,c,t,o)}function N(t,e,r){for(var n=e.length-1;n>=0;n--){var i=e[n](t);if(i)return i}return function(e,n){throw new Error("Invalid value of type "+typeof t+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function F(t,e){return t===e}function B(t){var e=void 0===t?{}:t,r=e.connectHOC,n=void 0===r?S:r,i=e.mapStateToPropsFactories,o=void 0===i?T:i,a=e.mapDispatchToPropsFactories,s=void 0===a?A:a,c=e.mergePropsFactories,u=void 0===c?D:c,l=e.selectorFactory,f=void 0===l?I:l;return function(t,e,r,i){void 0===i&&(i={});var a=i,c=a.pure,l=void 0===c||c,p=a.areStatesEqual,m=void 0===p?F:p,b=a.areOwnPropsEqual,v=void 0===b?E:b,g=a.areStatePropsEqual,y=void 0===g?E:g,w=a.areMergedPropsEqual,x=void 0===w?E:w,O=Object(d.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=N(t,o,"mapStateToProps"),S=N(e,s,"mapDispatchToProps"),k=N(r,u,"mergeProps");return n(f,Object(h.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:_,initMapDispatchToProps:S,initMergeProps:k,pure:l,areStatesEqual:m,areOwnPropsEqual:v,areStatePropsEqual:y,areMergedPropsEqual:x},O))}}var z=B();function H(){return Object(n.useContext)(o)}function U(t){void 0===t&&(t=o);var e=t===o?H:function(){return Object(n.useContext)(t)};return function(){return e().store}}var W=U();function q(t){void 0===t&&(t=o);var e=t===o?W:U(t);return function(){return e().dispatch}}var V=q(),G=function(t,e){return t===e};function Y(t){void 0===t&&(t=o);var e=t===o?H:function(){return Object(n.useContext)(t)};return function(t,r){void 0===r&&(r=G);var i=e(),o=function(t,e,r,i){var o,a=Object(n.useReducer)((function(t){return t+1}),0)[1],s=Object(n.useMemo)((function(){return new u(r,i)}),[r,i]),c=Object(n.useRef)(),f=Object(n.useRef)(),h=Object(n.useRef)(),d=Object(n.useRef)(),p=r.getState();try{if(t!==f.current||p!==h.current||c.current){var m=t(p);o=void 0!==d.current&&e(m,d.current)?d.current:m}else o=d.current}catch(b){throw c.current&&(b.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),b}return l((function(){f.current=t,h.current=p,d.current=o,c.current=void 0})),l((function(){function t(){try{var t=r.getState(),n=f.current(t);if(e(n,d.current))return;d.current=n,h.current=t}catch(b){c.current=b}a()}return s.onStateChange=t,s.trySubscribe(),t(),function(){return s.tryUnsubscribe()}}),[r,s]),o}(t,r,i.store,i.subscription);return Object(n.useDebugValue)(o),o}}var X,$=Y(),K=r(76);X=K.unstable_batchedUpdates,a=X},function(t,e,r){t.exports=r(1181)},function(t,e,r){"use strict";r.d(e,"b",(function(){return _})),r.d(e,"c",(function(){return S}));var n=r(19),i=r(2),o=r(14),a=r(548),s=r(1322),c=r(1406),u=r(884),l=["variant"];function f(t){return 0===t.length}function h(t){var e=t.variant,r=Object(o.a)(t,l),n=e||"";return Object.keys(r).sort().forEach((function(e){n+="color"===e?f(n)?t[e]:Object(u.a)(t[e]):"".concat(f(n)?e:Object(u.a)(e)).concat(Object(u.a)(t[e].toString()))})),n}var d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],p=["theme"],m=["theme"];function b(t){return 0===Object.keys(t).length}var v=function(t,e){return e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null},g=function(t,e){var r=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(r=e.components[t].variants);var n={};return r.forEach((function(t){var e=h(t.props);n[e]=t.style})),n},y=function(t,e,r,n){var i,o,a=t.ownerState,s=void 0===a?{}:a,c=[],u=null==r||null==(i=r.components)||null==(o=i[n])?void 0:o.variants;return u&&u.forEach((function(r){var n=!0;Object.keys(r.props).forEach((function(e){s[e]!==r.props[e]&&t[e]!==r.props[e]&&(n=!1)})),n&&c.push(e[h(r.props)])})),c};function w(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}var x=Object(s.a)();var O=r(284),_=function(t){return w(t)&&"classes"!==t},S=w,k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,r=void 0===e?x:e,s=t.rootShouldForwardProp,u=void 0===s?w:s,l=t.slotShouldForwardProp,f=void 0===l?w:l;return function(t){var e,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=s.name,h=s.slot,x=s.skipVariantsResolver,O=s.skipSx,_=s.overridesResolver,S=Object(o.a)(s,d),k=void 0!==x?x:h&&"Root"!==h||!1,E=O||!1;var M=w;"Root"===h?M=u:h&&(M=f);var C=Object(a.a)(t,Object(i.a)({shouldForwardProp:M,label:e},S)),j=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),s=1;s<e;s++)a[s-1]=arguments[s];var u=a?a.map((function(t){return"function"===typeof t&&t.__emotion_real!==t?function(e){var n=e.theme,a=Object(o.a)(e,p);return t(Object(i.a)({theme:b(n)?r:n},a))}:t})):[],f=t;l&&_&&u.push((function(t){var e=b(t.theme)?r:t.theme,n=v(l,e);return n?_(t,n):null})),l&&!k&&u.push((function(t){var e=b(t.theme)?r:t.theme;return y(t,g(l,e),e,l)})),E||u.push((function(t){var e=b(t.theme)?r:t.theme;return Object(c.a)(Object(i.a)({},t,{theme:e}))}));var h=u.length-a.length;if(Array.isArray(t)&&h>0){var d=new Array(h).fill("");(f=[].concat(Object(n.a)(t),Object(n.a)(d))).raw=[].concat(Object(n.a)(t.raw),Object(n.a)(d))}else"function"===typeof t&&(f=function(e){var n=e.theme,a=Object(o.a)(e,m);return t(Object(i.a)({theme:b(n)?r:n},a))});var w=C.apply(void 0,[f].concat(Object(n.a)(u)));return w};return j}}({defaultTheme:O.a,rootShouldForwardProp:_});e.a=k},function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}r.d(e,"a",(function(){return n}))},,,function(t,e,r){"use strict";r.d(e,"j",(function(){return d})),r.d(e,"i",(function(){return p})),r.d(e,"h",(function(){return m})),r.d(e,"g",(function(){return b})),r.d(e,"k",(function(){return g})),r.d(e,"d",(function(){return y})),r.d(e,"b",(function(){return w})),r.d(e,"e",(function(){return x})),r.d(e,"f",(function(){return O})),r.d(e,"a",(function(){return _})),r.d(e,"c",(function(){return S}));var n=r(114),i=r.n(n),o=r(68),a=r.n(o),s=r(300),c=r.n(s),u=r(645),l=r.n(u),f=r(301),h=r.n(f),d=function(t){return 0===t?0:t>0?1:-1},p=function(t){return h()(t)&&t.indexOf("%")===t.length-1},m=function(t){return l()(t)&&!c()(t)},b=function(t){return m(t)||h()(t)},v=0,g=function(t){var e=++v;return"".concat(t||"").concat(e)},y=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!m(t)&&!h()(t))return n;if(p(t)){var o=t.indexOf("%");r=e*parseFloat(t.slice(0,o))/100}else r=+t;return c()(r)&&(r=n),i&&r>e&&(r=e),r},w=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},x=function(t){if(!a()(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1},O=function(t,e){return m(t)&&m(e)?function(r){return t+r*(e-t)}:function(){return e}};function _(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"===typeof e?e(t):i()(t,e))===r})):null}var S=function(t){if(!t||!t.length)return null;for(var e=t.length,r=0,n=0,i=0,o=0,a=1/0,s=-1/0,c=0;c<e;c++)r+=t[c].cx,n+=t[c].cy,i+=t[c].cx*t[c].cy,o+=t[c].cx*t[c].cx,a=Math.min(a,t[c].cx),s=Math.max(s,t[c].cx);var u=e*o!==r*r?(e*i-r*n)/(e*o-r*r):0;return{xmin:a,xmax:s,a:u,b:(n-u*r)/e}}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(423);var i=r(513),o=r(277);function a(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(14);function i(t,e){if(null==t)return{};var r,i,o=Object(n.a)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}},function(t,e,r){"use strict";(function(t,n,i){r.d(e,"a",(function(){return as})),r.d(e,"b",(function(){return qo})),r.d(e,"c",(function(){return Ji})),r.d(e,"d",(function(){return Yo})),r.d(e,"e",(function(){return mr})),r.d(e,"f",(function(){return ft}));var o,a,s=r(12),c=r.n(s),u=r(1),l=r(19),f=r(45),h=r(46),d=r(95),p=r(96),m=r(3),b=r(0),v=r.n(b),g=r(10),y=r.n(g),w=r(339),x=r(340),O=r(78),_=r(13),S=r(147),k=r(22),E=r(141),M=r(210),C=r(156),j=r(72),A=r(49),T=r(115),P=r(24),D=r(155),R=r(195),L=r(67),I=r(8),N=r(443),F=r(145),B=r(305),z=r(563),H=r(889),U=r(1312),W=r(894),q=r(890),V=r(561),G=r(892),Y=r(562),X=r(179),$=r(888),K=(r(1325),r(1318)),Z=r(662),J=r(384),Q=r(146),tt=r(1319),et=r(341),rt=r(1327),nt=r(1311),it=r(444),ot=r(661),at=r(1328),st=r(1321),ct=r(260),ut=r(128);(a=o||(o={})).resize="resize",a.debouncedResize="debouncedResize",a.viewportInnerSizeChange="viewportInnerSizeChange",a.componentError="componentError",a.unmount="unmount",a.cellModeChange="cellModeChange",a.cellClick="cellClick",a.cellDoubleClick="cellDoubleClick",a.cellMouseDown="cellMouseDown",a.cellMouseUp="cellMouseUp",a.cellKeyDown="cellKeyDown",a.cellFocusIn="cellFocusIn",a.cellFocusOut="cellFocusOut",a.cellDragEnter="cellDragEnter",a.cellDragOver="cellDragOver",a.editCellPropsChange="editCellPropsChange",a.cellEditCommit="cellEditCommit",a.cellEditStart="cellEditStart",a.cellEditStop="cellEditStop",a.rowEditStart="rowEditStart",a.rowEditStop="rowEditStop",a.rowEditCommit="rowEditCommit",a.cellNavigationKeyDown="cellNavigationKeyDown",a.rowClick="rowClick",a.rowDoubleClick="rowDoubleClick",a.editRowsModelChange="editRowsModelChange",a.columnHeaderBlur="columnHeaderBlur",a.columnHeaderFocus="columnHeaderFocus",a.columnHeaderNavigationKeyDown="columnHeaderNavigationKeyDown",a.columnHeaderKeyDown="columnHeaderKeyDown",a.columnHeaderClick="columnHeaderClick",a.columnHeaderDoubleClick="columnHeaderDoubleClick",a.columnHeaderOver="columnHeaderOver",a.columnHeaderOut="columnHeaderOut",a.columnHeaderEnter="columnHeaderEnter",a.columnHeaderLeave="columnHeaderLeave",a.columnHeaderDragStart="columnHeaderDragStart",a.columnHeaderDragOver="columnHeaderDragOver",a.columnHeaderDragEnter="columnHeaderDragEnter",a.columnHeaderDragEnd="columnHeaderDragEnd",a.selectionChange="selectionChange",a.headerSelectionCheckboxChange="headerSelectionCheckboxChange",a.rowSelectionCheckboxChange="rowSelectionCheckboxChange",a.pageChange="pageChange",a.pageSizeChange="pageSizeChange",a.rowsScroll="rowsScroll",a.rowsScrollEnd="rowsScrollEnd",a.columnSeparatorMouseDown="columnSeparatorMouseDown",a.columnResize="columnResize",a.columnWidthChange="columnWidthChange",a.columnResizeStart="columnResizeStart",a.columnResizeStop="columnResizeStop",a.columnOrderChange="columnOrderChange",a.rowsSet="rowsSet",a.rowExpansionChange="rowExpansionChange",a.visibleRowsSet="visibleRowsSet",a.columnsChange="columnsChange",a.preProcessorRegister="preProcessorRegister",a.preProcessorUnregister="preProcessorUnregister",a.rowGroupsPreProcessingChange="rowGroupsPreProcessingChange",a.sortModelChange="sortModelChange",a.filterModelChange="filterModelChange",a.stateChange="stateChange",a.columnVisibilityChange="columnVisibilityChange";var lt=b.createContext(void 0);function ft(){var t=b.useContext(lt);if(void 0===t)throw new Error(["MUI: Could not find the data grid context.","It looks like you rendered your component outside of a DataGrid or DataGridPro parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return t}function ht(t){return Object(w.a)("MuiDataGrid",t)}var dt=Object(x.a)("MuiDataGrid",["actionsCell","autoHeight","booleanCell","cell--editable","cell--editing","cell--textCenter","cell--textLeft","cell--textRight","cell--withRenderer","cell","cellCheckbox","checkboxInput","columnHeader--alignCenter","columnHeader--alignLeft","columnHeader--alignRight","columnHeader--dragging","columnHeader--moving","columnHeader--numeric","columnHeader--sortable","columnHeader--sorted","columnHeader","columnHeaderCheckbox","columnHeaderDraggableContainer","columnHeaderDropZone","columnHeaderTitle","columnHeaderTitleContainer","columnHeaders","columnHeadersInner","columnHeadersInner--scrollable","columnSeparator--resizable","columnSeparator--resizing","columnSeparator","columnsPanel","columnsPanelRow","panel","panelHeader","panelWrapper","panelContent","panelFooter","paper","editBooleanCell","editInputCell","filterForm","filterIcon","footerContainer","iconButtonContainer","iconSeparator","main","menu","menuIcon","menuIconButton","menuOpen","menuList","overlay","root","row--editable","row--editing","row","rowCount","scrollArea--left","scrollArea--right","scrollArea","selectedRowCount","sortIcon","toolbarContainer","toolbarFilterList","virtualScroller","virtualScrollerContent","virtualScrollerRenderZone","withBorder","treeDataGroupingCell","treeDataGroupingCellToggle"]),pt=b.createContext(void 0),mt=function(){var t=b.useContext(pt);if(!t)throw new Error("MUI: useGridRootProps should only be used inside the DataGrid/DataGridPro component.");return t},bt=Object(_.a)("div",{name:"MuiDataGrid",slot:"Main",overridesResolver:function(t,e){return e.main}})((function(){return{position:"relative",flexGrow:1,display:"flex",flexDirection:"column"}}));function vt(t){var e=function(t){var e=t.classes;return Object(O.a)({root:["main"]},ht,e)}({classes:mt().classes});return b.createElement(bt,{className:e.root},t.children)}function gt(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}function yt(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{c(n.next(t))}catch(t){o(t)}}function s(t){try{c(n.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}c((n=n.apply(t,e||[])).next())}))}var wt=b.forwardRef((function(t,e){var r=t.children,n=t.defaultHeight,i=void 0===n?null:n,o=t.defaultWidth,a=void 0===o?null:o,s=t.disableHeight,c=void 0!==s&&s,u=t.disableWidth,l=void 0!==u&&u,f=t.nonce,h=t.onResize,d=t.style,p=gt(t,["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style"]),v=b.useState({height:i,width:a}),g=Object(m.a)(v,2),y=g[0],w=g[1],x=b.useRef(null),O=b.useRef(null),_=Object(E.a)((function(){if(O.current){var t=O.current.offsetHeight||0,e=O.current.offsetWidth||0,r=Object(M.a)(O.current).getComputedStyle(O.current),n=parseInt(r.paddingLeft,10)||0,i=parseInt(r.paddingRight,10)||0,o=t-(parseInt(r.paddingTop,10)||0)-(parseInt(r.paddingBottom,10)||0),a=e-n-i;(!c&&y.height!==o||!l&&y.width!==a)&&(w({height:o,width:a}),h&&h({height:o,width:a}))}}));Object(C.a)((function(){var t;if(O.current=x.current.parentElement,O){var e=Object(M.a)(null!==(t=O.current)&&void 0!==t?t:void 0),r=function(t,e){var r=function(t){var e=t.__resizeTriggers__,r=e.firstElementChild,n=e.lastElementChild,i=r.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,i.style.width=r.offsetWidth+1+"px",i.style.height=r.offsetHeight+1+"px",r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight},n=function(t){if(!(t.target.className.indexOf("contract-trigger")<0&&t.target.className.indexOf("expand-trigger")<0)){var n=this;r(this),this.__resizeRAF__&&e.cancelAnimationFrame(this.__resizeRAF__),this.__resizeRAF__=e.requestAnimationFrame((function(){(function(t){return t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height})(n)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach((function(e){e.call(n,t)})))}))}},i=!1,o="",a="animationstart",s="Webkit Moz O ms".split(" "),c="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),u=document.createElement("fakeelement");if(void 0!==u.style.animationName&&(i=!0),!1===i)for(var l=0;l<s.length;l++)if(void 0!==u.style[s[l]+"AnimationName"]){o="-"+s[l].toLowerCase()+"-",a=c[l],i=!0;break}var f="@"+o+"keyframes resizeanim { from { opacity: 0; } to { opacity: 0; } } ",h=o+"animation: 1ms resizeanim; ";return{addResizeListener:function(i,o){if(!i.__resizeTriggers__){var s=i.ownerDocument,c=e.getComputedStyle(i);c&&"static"==c.position&&(i.style.position="relative"),function(e){if(!e.getElementById("muiDetectElementResize")){var r=(f||"")+".Mui-resizeTriggers { "+(h||"")+'visibility: hidden; opacity: 0; } .Mui-resizeTriggers, .Mui-resizeTriggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .Mui-resizeTriggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=e.head||e.getElementsByTagName("head")[0],i=e.createElement("style");i.id="muiDetectElementResize",i.type="text/css",null!=t&&i.setAttribute("nonce",t),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(e.createTextNode(r)),n.appendChild(i)}}(s),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=s.createElement("div")).className="Mui-resizeTriggers",i.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',i.appendChild(i.__resizeTriggers__),r(i),i.addEventListener("scroll",n,!0),a&&(i.__resizeTriggers__.__animationListener__=function(t){"resizeanim"==t.animationName&&r(i)},i.__resizeTriggers__.addEventListener(a,i.__resizeTriggers__.__animationListener__))}i.__resizeListeners__.push(o)},removeResizeListener:function(t,e){if(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),!t.__resizeListeners__.length){t.removeEventListener("scroll",n,!0),t.__resizeTriggers__.__animationListener__&&(t.__resizeTriggers__.removeEventListener(a,t.__resizeTriggers__.__animationListener__),t.__resizeTriggers__.__animationListener__=null);try{t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__)}catch(t){}}}}}(f,e);return r.addResizeListener(O.current,_),_(),function(){r.removeResizeListener(O.current,_)}}}),[f,_]);var S={overflow:"visible"},k={};c||(S.height=0,k.height=y.height),l||(S.width=0,k.width=y.width);var A=Object(j.a)(x,e);return b.createElement("div",Object.assign({ref:A,style:Object.assign(Object.assign({},S),d)},p),null===y.height&&null===y.width?null:r(k))}));function xt(t,e){return t===e||t!=t&&e!=e}function Ot(t,e){for(var r=t.length;r--;)if(xt(t[r][0],e))return r;return-1}var _t=Array.prototype.splice;function St(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}St.prototype.clear=function(){this.__data__=[],this.size=0},St.prototype.delete=function(t){var e=this.__data__,r=Ot(e,t);return!(r<0)&&(r==e.length-1?e.pop():_t.call(e,r,1),--this.size,!0)},St.prototype.get=function(t){var e=this.__data__,r=Ot(e,t);return r<0?void 0:e[r][1]},St.prototype.has=function(t){return Ot(this.__data__,t)>-1},St.prototype.set=function(t,e){var r=this.__data__,n=Ot(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};var kt="object"==typeof t&&t&&t.Object===Object&&t,Et="object"==typeof self&&self&&self.Object===Object&&self,Mt=kt||Et||Function("return this")(),Ct=Mt.Symbol,jt=Object.prototype,At=jt.hasOwnProperty,Tt=jt.toString,Pt=Ct?Ct.toStringTag:void 0,Dt=Object.prototype.toString,Rt=Ct?Ct.toStringTag:void 0;function Lt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Rt&&Rt in Object(t)?function(t){var e=At.call(t,Pt),r=t[Pt];try{t[Pt]=void 0;var n=!0}catch(t){}var i=Tt.call(t);return n&&(e?t[Pt]=r:delete t[Pt]),i}(t):function(t){return Dt.call(t)}(t)}function It(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Nt(t){if(!It(t))return!1;var e=Lt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var Ft,Bt=Mt["__core-js_shared__"],zt=(Ft=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||""))?"Symbol(src)_1."+Ft:"",Ht=Function.prototype.toString;function Ut(t){if(null!=t){try{return Ht.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Wt=/^\[object .+?Constructor\]$/,qt=Function.prototype,Vt=Object.prototype,Gt=qt.toString,Yt=Vt.hasOwnProperty,Xt=RegExp("^"+Gt.call(Yt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function $t(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!It(t)||(e=t,zt&&zt in e))&&(Nt(t)?Xt:Wt).test(Ut(t));var e}(r)?r:void 0}var Kt=$t(Mt,"Map"),Zt=$t(Object,"create"),Jt=Object.prototype.hasOwnProperty,Qt=Object.prototype.hasOwnProperty;function te(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ee(t,e){var r,n,i=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof e?"string":"hash"]:i.map}function re(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ne(t){var e=this.__data__=new St(t);this.size=e.size}function ie(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new re;++e<r;)this.add(t[e])}function oe(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function ae(t,e,r,n,i,o){var a=1&r,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var l=-1,f=!0,h=2&r?new ie:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var d=t[l],p=e[l];if(n)var m=a?n(p,d,l,e,t,o):n(d,p,l,t,e,o);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!oe(e,(function(t,e){if(a=e,!h.has(a)&&(d===t||i(d,t,r,n,o)))return h.push(e);var a}))){f=!1;break}}else if(d!==p&&!i(d,p,r,n,o)){f=!1;break}}return o.delete(t),o.delete(e),f}te.prototype.clear=function(){this.__data__=Zt?Zt(null):{},this.size=0},te.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},te.prototype.get=function(t){var e=this.__data__;if(Zt){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Jt.call(e,t)?e[t]:void 0},te.prototype.has=function(t){var e=this.__data__;return Zt?void 0!==e[t]:Qt.call(e,t)},te.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Zt&&void 0===e?"__lodash_hash_undefined__":e,this},re.prototype.clear=function(){this.size=0,this.__data__={hash:new te,map:new(Kt||St),string:new te}},re.prototype.delete=function(t){var e=ee(this,t).delete(t);return this.size-=e?1:0,e},re.prototype.get=function(t){return ee(this,t).get(t)},re.prototype.has=function(t){return ee(this,t).has(t)},re.prototype.set=function(t,e){var r=ee(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},ne.prototype.clear=function(){this.__data__=new St,this.size=0},ne.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},ne.prototype.get=function(t){return this.__data__.get(t)},ne.prototype.has=function(t){return this.__data__.has(t)},ne.prototype.set=function(t,e){var r=this.__data__;if(r instanceof St){var n=r.__data__;if(!Kt||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new re(n)}return r.set(t,e),this.size=r.size,this},ie.prototype.add=ie.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ie.prototype.has=function(t){return this.__data__.has(t)};var se=Mt.Uint8Array;function ce(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function ue(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var le=Ct?Ct.prototype:void 0,fe=le?le.valueOf:void 0,he=Array.isArray,de=Object.prototype.propertyIsEnumerable,pe=Object.getOwnPropertySymbols,me=pe?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a)&&(o[i++]=a)}return o}(pe(t),(function(e){return de.call(t,e)})))}:function(){return[]};function be(t){return null!=t&&"object"==typeof t}function ve(t){return be(t)&&"[object Arguments]"==Lt(t)}var ge=Object.prototype,ye=ge.hasOwnProperty,we=ge.propertyIsEnumerable,xe=ve(function(){return arguments}())?ve:function(t){return be(t)&&ye.call(t,"callee")&&!we.call(t,"callee")},Oe="object"==typeof exports&&exports&&!exports.nodeType&&exports,_e=Oe&&"object"==typeof n&&n&&!n.nodeType&&n,Se=_e&&_e.exports===Oe?Mt.Buffer:void 0,ke=(Se?Se.isBuffer:void 0)||function(){return!1},Ee=/^(?:0|[1-9]\d*)$/;function Me(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&Ee.test(t))&&t>-1&&t%1==0&&t<e}function Ce(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}var je={};je["[object Float32Array]"]=je["[object Float64Array]"]=je["[object Int8Array]"]=je["[object Int16Array]"]=je["[object Int32Array]"]=je["[object Uint8Array]"]=je["[object Uint8ClampedArray]"]=je["[object Uint16Array]"]=je["[object Uint32Array]"]=!0,je["[object Arguments]"]=je["[object Array]"]=je["[object ArrayBuffer]"]=je["[object Boolean]"]=je["[object DataView]"]=je["[object Date]"]=je["[object Error]"]=je["[object Function]"]=je["[object Map]"]=je["[object Number]"]=je["[object Object]"]=je["[object RegExp]"]=je["[object Set]"]=je["[object String]"]=je["[object WeakMap]"]=!1;var Ae,Te="object"==typeof exports&&exports&&!exports.nodeType&&exports,Pe=Te&&"object"==typeof n&&n&&!n.nodeType&&n,De=Pe&&Pe.exports===Te&&kt.process,Re=function(){try{return De&&De.binding&&De.binding("util")}catch(a){}}(),Le=Re&&Re.isTypedArray,Ie=Le?(Ae=Le,function(t){return Ae(t)}):function(t){return be(t)&&Ce(t.length)&&!!je[Lt(t)]},Ne=Object.prototype.hasOwnProperty;var Fe=Object.prototype,Be=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),ze=Object.prototype.hasOwnProperty;function He(t){return null!=(e=t)&&Ce(e.length)&&!Nt(e)?function(t,e){var r=he(t),n=!r&&xe(t),i=!r&&!n&&ke(t),o=!r&&!n&&!i&&Ie(t),a=r||n||i||o,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=s.length;for(var u in t)!e&&!Ne.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Me(u,c))||s.push(u);return s}(t):function(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||Fe))return Be(t);var e,r,n=[];for(var i in Object(t))ze.call(t,i)&&"constructor"!=i&&n.push(i);return n}(t);var e}function Ue(t){return function(t,e,r){var n=e(t);return he(t)?n:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(n,r(t))}(t,He,me)}var We=Object.prototype.hasOwnProperty,qe=$t(Mt,"DataView"),Ve=$t(Mt,"Promise"),Ge=$t(Mt,"Set"),Ye=$t(Mt,"WeakMap"),Xe=Ut(qe),$e=Ut(Kt),Ke=Ut(Ve),Ze=Ut(Ge),Je=Ut(Ye),Qe=Lt;(qe&&"[object DataView]"!=Qe(new qe(new ArrayBuffer(1)))||Kt&&"[object Map]"!=Qe(new Kt)||Ve&&"[object Promise]"!=Qe(Ve.resolve())||Ge&&"[object Set]"!=Qe(new Ge)||Ye&&"[object WeakMap]"!=Qe(new Ye))&&(Qe=function(t){var e=Lt(t),r="[object Object]"==e?t.constructor:void 0,n=r?Ut(r):"";if(n)switch(n){case Xe:return"[object DataView]";case $e:return"[object Map]";case Ke:return"[object Promise]";case Ze:return"[object Set]";case Je:return"[object WeakMap]"}return e});var tr=Qe,er="[object Object]",rr=Object.prototype.hasOwnProperty;function nr(t,e,r,n,i){return t===e||(null==t||null==e||!be(t)&&!be(e)?t!=t&&e!=e:function(t,e,r,n,i,o){var a=he(t),s=he(e),c=a?"[object Array]":tr(t),u=s?"[object Array]":tr(e),l=(c="[object Arguments]"==c?er:c)==er,f=(u="[object Arguments]"==u?er:u)==er,h=c==u;if(h&&ke(t)){if(!ke(e))return!1;a=!0,l=!1}if(h&&!l)return o||(o=new ne),a||Ie(t)?ae(t,e,r,n,i,o):function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new se(t),new se(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=ce;case"[object Set]":var c=1&n;if(s||(s=ue),t.size!=e.size&&!c)return!1;var u=a.get(t);if(u)return u==e;n|=2,a.set(t,e);var l=ae(s(t),s(e),n,i,o,a);return a.delete(t),l;case"[object Symbol]":if(fe)return fe.call(t)==fe.call(e)}return!1}(t,e,c,r,n,i,o);if(!(1&r)){var d=l&&rr.call(t,"__wrapped__"),p=f&&rr.call(e,"__wrapped__");if(d||p){var m=d?t.value():t,b=p?e.value():e;return o||(o=new ne),i(m,b,r,n,o)}}return!!h&&(o||(o=new ne),function(t,e,r,n,i,o){var a=1&r,s=Ue(t),c=s.length;if(c!=Ue(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:We.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<c;){var p=t[l=s[u]],m=e[l];if(n)var b=a?n(m,p,l,e,t,o):n(p,m,l,t,e,o);if(!(void 0===b?p===m||i(p,m,r,n,o):b)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(h=!1)}return o.delete(t),o.delete(e),h}(t,e,r,n,i,o))}(t,e,r,n,nr,i))}function ir(t){return"function"==typeof t}function or(){try{var t="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(t,t),window.localStorage.removeItem(t),!0}catch(a){return!1}}function ar(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function sr(t,e){var r=b.useRef(null);if(r.current)return r.current;var n=t.current.getLogger(e);return r.current=n,n}function cr(t,e,r){var n=sr(t,"useGridApiMethod"),i=b.useRef(e),o=b.useState(Object.keys(e)),a=Object(m.a)(o,1)[0],s=b.useCallback((function(){t.current&&a.forEach((function(e){t.current.hasOwnProperty(e)||(n.debug("Adding ".concat(r,".").concat(e," to apiRef")),t.current[e]=function(){var t;return(t=i.current)[e].apply(t,arguments)})}))}),[a,r,t,n]);b.useEffect((function(){i.current=e}),[e]),b.useEffect((function(){s()}),[s]),s()}var ur=function(t){!function(t){var e=sr(t,"useGridApi"),r=b.useState(),n=Object(m.a)(r,2)[1];t.current.state||(e.info("Initialising state."),t.current.state={},t.current.forceUpdate=n);var i=b.useCallback((function(e){var r;r=ir(e)?e(t.current.state):e,t.current.state=r,n((function(){return r})),t.current.publishEvent(o.stateChange,r)}),[t]);cr(t,{setState:i},"GridStateApi"),t.current}(t);var e=b.useCallback((function(){return t.current.forceUpdate((function(){return t.current.state}))}),[t]),r=b.useCallback((function(e){var r=e(t.current.state);if(t.current.state===r)return!1;var n=t.current.unstable_applyControlStateConstraint(r),i=n.ignoreSetState,a=n.postUpdate;return i||(t.current.state=r,t.current.publishEvent&&t.current.publishEvent(o.stateChange,r)),a(),!i}),[t]);return[t.current.state,r,e]},lr=function(t,e){var r=ur(t);return e(Object(m.a)(r,1)[0])},fr=function(t){return t.rows},hr=Object(L.a)(fr,(function(t){return t.totalRowCount})),dr=Object(L.a)(fr,(function(t){return t.totalTopLevelRowCount})),pr=Object(L.a)(fr,(function(t){return t.idRowsLookup})),mr=Object(L.a)(fr,(function(t){return t.tree})),br=Object(L.a)(fr,(function(t){return t.treeDepth})),vr=Object(L.a)(fr,(function(t){return t.ids})),gr=function(t){return t.sorting},yr=Object(L.a)(gr,(function(t){return t.sortedRows})),wr=Object(L.a)(yr,pr,(function(t,e){return t.map((function(t){return{id:t,model:e[t]}}))})),xr=Object(L.a)(gr,(function(t){return t.sortModel})),Or=Object(L.a)(xr,(function(t){return t.reduce((function(e,r,n){return e[r.field]={sortDirection:r.sort,sortIndex:t.length>1?n+1:void 0},e}),{})})),_r=function(t){return t.columns},Sr=function(t){return t.columns.all},kr=function(t){return t.columns.lookup},Er=Object(L.a)(Sr,kr,(function(t,e){return t.map((function(t){return e[t]}))})),Mr=Object(L.a)(Er,(function(t){return t.filter((function(t){return null!=t.field&&!t.hide}))})),Cr=Object(L.a)(Mr,(function(t){var e=[];return{totalWidth:t.reduce((function(t,r){return e.push(t),t+r.computedWidth}),0),positions:e}})),jr=Object(L.a)(Er,(function(t){return t.filter((function(t){return t.filterable}))})),Ar=Object(L.a)(jr,(function(t){return t.map((function(t){return t.field}))})),Tr=Object(L.a)(Mr,(function(t){return t.length})),Pr=Object(L.a)(Cr,(function(t){return t.totalWidth})),Dr=function(t){return t.filter},Rr=Object(L.a)(Dr,(function(t){return t.filterModel})),Lr=Object(L.a)(Dr,(function(t){return t.visibleRowsLookup})),Ir=(Object(L.a)(Dr,(function(t){return t.filteredDescendantCountLookup})),Object(L.a)(Lr,wr,(function(t,e){return e.filter((function(e){return!1!==t[e.id]}))}))),Nr=Object(L.a)(Ir,(function(t){return t.map((function(t){return t.id}))})),Fr=Object(L.a)(Ir,mr,br,(function(t,e,r){return r<2?t:t.filter((function(t){var r;return 0===(null===(r=e[t.id])||void 0===r?void 0:r.depth)}))})),Br=Object(L.a)(Ir,(function(t){return t.length})),zr=Object(L.a)(Fr,(function(t){return t.length})),Hr=Object(L.a)(Rr,kr,(function(t,e){var r;return null===(r=t.items)||void 0===r?void 0:r.filter((function(t){var r,n;if(!t.columnField)return!1;var i=e[t.columnField];if(!(null==i?void 0:i.filterOperators)||0===(null===(r=null==i?void 0:i.filterOperators)||void 0===r?void 0:r.length))return!1;var o=i.filterOperators.find((function(e){return e.value===t.operatorValue}));return!!o&&(!o.InputComponent||null!=t.value&&""!==(null===(n=t.value)||void 0===n?void 0:n.toString()))}))})),Ur=Object(L.a)(Hr,(function(t){return t.reduce((function(t,e){return t[e.columnField]?t[e.columnField].push(e):t[e.columnField]=[e],t}),{})}));function Wr(){var t,e,r,n=ft(),i=mt(),o=lr(n,hr),a=lr(n,Br),s=!i.loading&&0===o,c=!i.loading&&o>0&&0===a;return s?b.createElement(i.components.NoRowsOverlay,Object.assign({},null===(t=i.componentsProps)||void 0===t?void 0:t.noRowsOverlay)):c?b.createElement(i.components.NoResultsOverlay,Object.assign({},null===(e=i.componentsProps)||void 0===e?void 0:e.noResultsOverlay)):i.loading?b.createElement(i.components.LoadingOverlay,Object.assign({},null===(r=i.componentsProps)||void 0===r?void 0:r.loadingOverlay)):null}var qr=function(t){return t.selection},Vr=Object(L.a)(qr,(function(t){return t.length})),Gr=Object(L.a)(qr,pr,(function(t,e){return new Map(t.map((function(t){return[t,e[t]]})))})),Yr=Object(L.a)(qr,(function(t){return t.reduce((function(t,e){return t[e]=e,t}),{})})),Xr=function(t){return t.density},$r=Object(L.a)(Xr,(function(t){return t.value})),Kr=Object(L.a)(Xr,(function(t){return t.rowHeight})),Zr=Object(L.a)(Xr,(function(t){return t.headerHeight}));function Jr(t){var e=t.children,r=t.VirtualScrollerComponent,n=t.ColumnHeadersComponent,i=ft(),a=mt(),s=lr(i,qr),c=lr(i,Zr),u=b.useState(a.disableVirtualization),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useCallback((function(){h(!0)}),[]),p=b.useCallback((function(){h(!1)}),[]);i.current.unstable_disableVirtualization=d,i.current.unstable_enableVirtualization=p;var v=b.useRef(null),g=b.useRef(null),y=b.useRef(null),w=b.useRef(null);i.current.columnHeadersContainerElementRef=g,i.current.columnHeadersElementRef=v,i.current.windowRef=y,i.current.renderingZoneRef=w;var x=b.useCallback((function(t){return i.current.publishEvent(o.resize,t)}),[i]),O=b.useMemo((function(){return"function"==typeof a.isRowSelectable?s.filter((function(t){return a.isRowSelectable(i.current.getRowParams(t))})):s}),[i,a.isRowSelectable,s]),_=b.useMemo((function(){return O.reduce((function(t,e){return t[e]=e,t}),{})}),[O]);return b.createElement(vt,null,b.createElement(Wr,null),b.createElement(n,{ref:g,innerRef:v}),b.createElement(wt,{nonce:a.nonce,disableHeight:a.autoHeight,onResize:x},(function(t){var e={width:t.width,height:t.height?t.height-c:"auto",marginTop:c};return b.createElement(r,{ref:y,style:e,selectionLookup:_,disableVirtualization:f})})),e)}var Qr=function(t){Object(d.a)(r,t);var e=Object(p.a)(r);function r(){return Object(f.a)(this,r),e.apply(this,arguments)}return Object(h.a)(r,[{key:"componentDidCatch",value:function(t,e){this.props.api.current&&(this.logError(t),this.props.api.current.showError({error:t,errorInfo:e}))}},{key:"logError",value:function(t,e){this.props.logger.error("An unexpected error occurred. Error: ".concat(t&&t.message,". "),t,e)}},{key:"render",value:function(){var t;return this.props.hasError||(null===(t=this.state)||void 0===t?void 0:t.hasError)?this.props.render(this.props.componentProps||this.state):this.props.children}}],[{key:"getDerivedStateFromError",value:function(t){return{hasError:!0,error:t}}}]),r}(b.Component);function tn(t){var e=t.children,r=ft(),n=sr(r,"GridErrorHandler"),i=mt(),o=ur(r),a=Object(m.a)(o,1)[0];return b.createElement(Qr,{hasError:null!=a.error,componentProps:a.error,api:r,logger:n,render:function(t){var e;return b.createElement(vt,null,b.createElement(i.components.ErrorOverlay,Object.assign({},t,null===(e=i.componentsProps)||void 0===e?void 0:e.errorOverlay)))}},e)}function en(){var t,e=ft(),r=mt(),n=b.useRef(null);return e.current.footerRef=n,r.hideFooter?null:b.createElement("div",{ref:n},b.createElement(r.components.Footer,Object.assign({},null===(t=r.componentsProps)||void 0===t?void 0:t.footer)))}function rn(){var t,e=ft(),r=mt(),n=b.useRef(null);return e.current.headerRef=n,b.createElement("div",{ref:n},b.createElement(r.components.Header,Object.assign({},null===(t=r.componentsProps)||void 0===t?void 0:t.header)))}function nn(t){var e=t.item,r=t.applyValue,n=t.apiRef,i=t.focusElementRef,o=gt(t,["item","applyValue","apiRef","focusElementRef"]),a=b.useState(e.value||""),s=Object(m.a)(a,2),c=s[0],u=s[1],l=b.useCallback((function(t){var n=t.target.value;u(n),r(Object.assign(Object.assign({},e),{value:n}))}),[r,e]);return b.useEffect((function(){u(e.value||"")}),[e.value]),b.createElement(N.a,Object.assign({label:n.current.getLocaleText("filterPanelInputLabel"),value:c,onChange:l,variant:"standard",select:!0,SelectProps:{native:!0},InputLabelProps:{shrink:!0},inputRef:i},o),b.createElement("option",{value:""},n.current.getLocaleText("filterValueAny")),b.createElement("option",{value:"true"},n.current.getLocaleText("filterValueTrue")),b.createElement("option",{value:"false"},n.current.getLocaleText("filterValueFalse")))}var on=Object(A.a)(b.createElement("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward"),an=Object(A.a)(b.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),sn=Object(A.a)(b.createElement("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight"),cn=Object(A.a)(b.createElement("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandMore"),un=Object(A.a)(b.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList"),ln=Object(A.a)(b.createElement("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"}),"FilterAlt"),fn=(Object(A.a)(b.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search"),Object(A.a)(b.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu"),Object(A.a)(b.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle"),Object(A.a)(b.createElement("path",{d:"M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"}),"ColumnIcon")),hn=Object(A.a)(b.createElement("path",{d:"M11 19V5h2v14z"}),"Separator"),dn=Object(A.a)(b.createElement("path",{d:"M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"}),"ViewHeadline"),pn=Object(A.a)(b.createElement("path",{d:"M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"}),"TableRows"),mn=Object(A.a)(b.createElement("path",{d:"M4 18h17v-6H4v6zM4 5v6h17V5H4z"}),"ViewStream"),bn=Object(A.a)(b.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"TripleDotsVertical"),vn=Object(A.a)(b.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),gn=Object(A.a)(b.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),yn=Object(A.a)(b.createElement("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Load"),wn=Object(A.a)(b.createElement("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"Drag"),xn=Object(A.a)(b.createElement("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),On=Object(A.a)(b.createElement("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),_n=Object(A.a)(b.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");function Sn(t){var e,r=t.item,n=t.applyValue,i=t.type,o=t.apiRef,a=t.focusElementRef,s=gt(t,["item","applyValue","type","apiRef","focusElementRef"]),c=b.useRef(),u=b.useState(null!==(e=r.value)&&void 0!==e?e:""),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useState(!1),p=Object(m.a)(d,2),v=p[0],g=p[1],y=Object(T.a)(),w=b.useCallback((function(t){var e=t.target.value;clearTimeout(c.current),h(String(e)),g(!0),c.current=setTimeout((function(){n(Object.assign(Object.assign({},r),{value:e})),g(!1)}),500)}),[n,r]);b.useEffect((function(){return function(){clearTimeout(c.current)}}),[]),b.useEffect((function(){var t,e=null!==(t=r.value)&&void 0!==t?t:"";h(String(e))}),[r.value]);var x=Object.assign(Object.assign(Object.assign({},v?{endAdornment:b.createElement(yn,null)}:{}),{max:"datetime-local"===i?"9999-12-31T23:59":"9999-12-31"}),s.InputProps);return b.createElement(N.a,Object.assign({id:y,label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:w,type:i||"text",variant:"standard",InputLabelProps:{shrink:!0},inputRef:a},s,{InputProps:x}))}var kn=/(\d+)-(\d+)-(\d+)/,En=/(\d+)-(\d+)-(\d+)T(\d+):(\d+)/;function Mn(t,e,r,n){if(!t.value)return null;var i=t.value.match(r?En:kn).slice(1).map(Number),o=Object(m.a)(i,5),a=o[0],s=o[1],c=o[2],u=o[3],l=o[4],f=new Date(a,s-1,c,u||0,l||0).getTime();return function(t){var i=t.value;if(!i)return!1;var o=i instanceof Date?i:new Date(i.toString());if(n)return e(o.getTime(),f);var a=(i instanceof Date?new Date(o):o).setHours(r?o.getHours():0,r?o.getMinutes():0,0,0);return e(a,f)}}var Cn=function(t){return[{value:"is",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t===e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"not",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t!==e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"after",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t>e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"onOrAfter",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t>=e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"before",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t<e}),t,!t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"onOrBefore",getApplyFilterFn:function(e){return Mn(e,(function(t,e){return t<=e}),t)},InputComponent:Sn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"isEmpty",getApplyFilterFn:function(){return function(t){return null==t.value}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){return null!=t.value}}}]},jn=function(t,e){var r=t.valueOptions,n=t.valueFormatter,i=t.field;return[""].concat("function"==typeof r?Object(l.a)(r({field:i})):Object(l.a)(r||[])).map((function(t){return"object"==typeof t?b.createElement("option",{key:t.value,value:t.value},t.label):b.createElement("option",{key:t,value:t},n&&""!==t?n({value:t,field:i,api:e}):t)}))};function An(t){var e,r=t.item,n=t.applyValue,i=t.type,o=t.apiRef,a=t.focusElementRef,s=gt(t,["item","applyValue","type","apiRef","focusElementRef"]),c=b.useRef(),u=b.useState(null!==(e=r.value)&&void 0!==e?e:""),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useState(!1),p=Object(m.a)(d,2),v=p[0],g=p[1],y=Object(T.a)(),w="singleSelect"===i?{select:!0,SelectProps:{native:!0},children:jn(o.current.getColumn(r.columnField),o.current)}:{},x=b.useCallback((function(t){var e=t.target.value;if("singleSelect"===i){var a=o.current.getColumn(r.columnField),s="function"==typeof a.valueOptions?a.valueOptions({field:a.field}):a.valueOptions;e=s.map((function(t){return"object"==typeof t?t.value:t})).find((function(t){return String(t)===e}))}clearTimeout(c.current),h(String(e)),g(!0),c.current=setTimeout((function(){n(Object.assign(Object.assign({},r),{value:e})),g(!1)}),500)}),[o,n,r,i]);b.useEffect((function(){return function(){clearTimeout(c.current)}}),[]),b.useEffect((function(){var t,e=null!==(t=r.value)&&void 0!==t?t:"";h(String(e))}),[r.value]);var O=v?{endAdornment:b.createElement(yn,null)}:s.InputProps;return b.createElement(N.a,Object.assign({id:y,label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:x,type:i||"text",variant:"standard",InputProps:O,InputLabelProps:{shrink:!0},inputRef:a},w,s))}var Tn=function(t){return null==t?null:Number(t)};function Pn(t){var e,r=t.item,n=t.applyValue,i=t.type,o=t.apiRef,a=t.focusElementRef,s=gt(t,["item","applyValue","type","apiRef","focusElementRef"]),c=b.useState(null!==(e=r.value)&&void 0!==e?e:""),u=Object(m.a)(c,2),f=u[0],h=u[1],d=Object(T.a)(),p=b.useCallback((function(t){var e=t.target.value,i=o.current.getColumn(r.columnField),a="function"==typeof i.valueOptions?i.valueOptions({field:i.field}):i.valueOptions;e=a.map((function(t){return"object"==typeof t?t.value:t})).find((function(t){return String(t)===e})),h(String(e)),n(Object.assign(Object.assign({},r),{value:e}))}),[o,n,r]);return b.useEffect((function(){var t,e=null!==(t=r.value)&&void 0!==t?t:"";h(String(e))}),[r.value]),b.createElement(N.a,Object.assign({id:d,label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),value:f,onChange:p,type:i||"text",variant:"standard",InputLabelProps:{shrink:!0},inputRef:a,select:!0,SelectProps:{native:!0}},s),function(t,e){var r=t.valueOptions,n=t.valueFormatter,i=t.field;return[""].concat("function"==typeof r?Object(l.a)(r({field:i})):Object(l.a)(r||[])).map((function(t){return"object"==typeof t?b.createElement("option",{key:t.value,value:t.value},t.label):b.createElement("option",{key:t,value:t},n&&""!==t?n({value:t,field:i,api:e}):t)}))}(o.current.getColumn(r.columnField),o.current))}var Dn=Object(_.a)(F.c,{name:"MuiDataGrid",slot:"EditInputCell",overridesResolver:function(t,e){return e.editInputCell}})((function(t){var e=t.theme;return Object.assign(Object.assign({},e.typography.body2),{padding:"1px 0","& input":{padding:"0 16px",height:"100%"}})}));function Rn(t){var e=t.id,r=t.value,n=(t.formattedValue,t.api),i=t.field,o=(t.row,t.rowNode,t.colDef),a=(t.cellMode,t.isEditable,t.tabIndex,t.hasFocus),s=(t.getValue,gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue"])),c=b.useRef(),u=b.useState(r),l=Object(m.a)(u,2),f=l[0],h=l[1],d=function(t){var e=t.classes;return Object(O.a)({root:["editInputCell"]},ht,e)}({classes:mt().classes}),p=b.useCallback((function(t){var r=t.target.value;h(r),n.setEditCellValue({id:e,field:i,value:r},t)}),[n,i,e]);return b.useEffect((function(){h(r)}),[r]),Object(C.a)((function(){a&&c.current.focus()}),[a]),b.createElement(Dn,Object.assign({inputRef:c,className:d.root,fullWidth:!0,type:"number"===o.type?o.type:"text",value:f||"",onChange:p},s))}var Ln=function(t,e){var r=t.indexOf(e);return e&&-1!==r&&r+1!==t.length?t[r+1]:t[0]},In=function(t,e){return null==t&&null!=e?-1:null==e&&null!=t?1:null==t&&null==e?0:null},Nn=new Intl.Collator,Fn=function(t,e){var r=In(t,e);return null!==r?r:Number(t)-Number(e)},Bn=function(t,e){var r=In(t,e);return null!==r?r:t>e?1:t<e?-1:0},zn={width:100,minWidth:50,hide:!1,sortable:!0,resizable:!0,filterable:!0,sortComparator:function(t,e){var r=In(t,e);return null!==r?r:"string"==typeof t?Nn.compare(t.toString(),e.toString()):t-e},type:"string",align:"left",filterOperators:[{value:"contains",getApplyFilterFn:function(t){if(!t.value)return null;var e=new RegExp(ar(t.value),"i");return function(t){var r=t.value;return e.test(r&&r.toString()||"")}},InputComponent:An},{value:"equals",getApplyFilterFn:function(t){if(!t.value)return null;var e=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return function(r){var n=r.value;return 0===e.compare(t.value,n&&n.toString()||"")}},InputComponent:An},{value:"startsWith",getApplyFilterFn:function(t){if(!t.value)return null;var e=new RegExp("^".concat(ar(t.value),".*$"),"i");return function(t){var r=t.value;return e.test(r&&r.toString()||"")}},InputComponent:An},{value:"endsWith",getApplyFilterFn:function(t){if(!t.value)return null;var e=new RegExp(".*".concat(ar(t.value),"$"),"i");return function(t){var r=t.value;return e.test(r&&r.toString()||"")}},InputComponent:An},{value:"isEmpty",getApplyFilterFn:function(){return function(t){var e=t.value;return""===e||null==e}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){var e=t.value;return""!==e&&null!=e}}}],renderEditCell:function(t){return b.createElement(Rn,Object.assign({},t))}},Hn=Object(_.a)(q.a,{name:"MuiDataGrid",slot:"Menu",overridesResolver:function(t,e){return e.menu}})((function(t){var e=t.theme;return Object(u.a)({zIndex:e.zIndex.modal},"& .".concat(dt.menuList),{outline:0})})),Un={"bottom-start":"top left","bottom-end":"top right"},Wn=function(t){var e=t.open,r=t.target,n=t.onClickAway,i=t.children,o=t.position,a=t.className,s=gt(t,["open","target","onClickAway","children","position","className"]),c=b.useRef(r),u=b.useRef(e),l=function(t){var e=t.classes;return Object(O.a)({root:["menu"]},ht,e)}({classes:mt().classes});return b.useEffect((function(){u.current&&c.current&&c.current.focus(),u.current=e,c.current=r}),[e,r]),b.createElement(Hn,Object.assign({className:Object(I.a)(a,l.root),open:e,anchorEl:r,transition:!0,placement:o},s),(function(t){var e=t.TransitionProps,r=t.placement;return b.createElement(H.a,{onClickAway:n},b.createElement(U.a,Object.assign({},e,{style:{transformOrigin:Un[r]}}),b.createElement(W.a,null,i)))}))},qn=function(t){var e=b.useState(!1),r=Object(m.a)(e,2),n=r[0],i=r[1],o=b.useRef(null),a=Object(T.a)(),s=Object(T.a)(),c=mt(),u=t.colDef,l=t.id,f=t.api,h=t.position,d=void 0===h?"bottom-end":h;if(!function(t){return"function"==typeof t.getActions}(u))throw new Error("MUI: Missing the `getActions` property in the `GridColDef`.");var p=function(){return i(!1)},v=u.getActions(f.getRowParams(l)),g=v.filter((function(t){return!t.props.showInMenu})),y=v.filter((function(t){return t.props.showInMenu}));return b.createElement("div",{className:dt.actionsCell},g.map((function(t,e){return b.cloneElement(t,{key:e})})),y.length>0&&b.createElement(B.a,{ref:o,id:s,"aria-label":f.getLocaleText("actionsCellMore"),"aria-controls":a,"aria-expanded":n?"true":void 0,"aria-haspopup":"true",size:"small",onClick:function(t){t.stopPropagation(),i(!0)}},b.createElement(c.components.MoreActionsIcon,{fontSize:"small"})),y.length>0&&b.createElement(Wn,{id:a,onClickAway:p,onClick:p,open:n,target:o.current,position:d,"aria-labelledby":s},b.createElement(z.a,{className:dt.menuList},y.map((function(t,e){return b.cloneElement(t,{key:e})})))))},Vn=Object.assign(Object.assign({},zn),{sortable:!1,filterable:!1,width:100,align:"center",headerAlign:"center",headerName:"",disableColumnMenu:!0,disableExport:!0,renderCell:function(t){return b.createElement(qn,Object.assign({},t))}}),Gn=b.memo((function(t){t.id;var e=t.value,r=(t.formattedValue,t.api),n=(t.field,t.row,t.rowNode,t.colDef,t.cellMode,t.isEditable,t.hasFocus,t.tabIndex,t.getValue,gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","hasFocus","tabIndex","getValue"])),i=mt(),o=function(t){var e=t.classes;return Object(O.a)({root:["booleanCell"]},ht,e)}({classes:i.classes}),a=b.useMemo((function(){return e?i.components.BooleanCellTrueIcon:i.components.BooleanCellFalseIcon}),[i.components.BooleanCellFalseIcon,i.components.BooleanCellTrueIcon,e]);return b.createElement(a,Object.assign({fontSize:"small",className:o.root,titleAccess:r.getLocaleText(e?"booleanCellTrueLabel":"booleanCellFalseLabel"),"data-value":Boolean(e)},n))}));function Yn(t){var e=t.id,r=t.value,n=(t.formattedValue,t.api),i=t.field,o=(t.row,t.rowNode,t.colDef,t.cellMode,t.isEditable,t.tabIndex,t.className),a=(t.getValue,t.hasFocus),s=gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus"]),c=b.useRef(null),u=Object(T.a)(),l=b.useState(r),f=Object(m.a)(l,2),h=f[0],d=f[1],p=function(t){var e=t.classes;return Object(O.a)({root:["editBooleanCell"]},ht,e)}({classes:mt().classes}),v=b.useCallback((function(t){var r=t.target.checked;d(r),n.setEditCellValue({id:e,field:i,value:r},t)}),[n,i,e]);return b.useEffect((function(){d(r)}),[r]),Object(C.a)((function(){a&&c.current.focus()}),[a]),b.createElement("label",Object.assign({htmlFor:u,className:Object(I.a)(p.root,o)},s),b.createElement(G.a,{id:u,inputRef:c,checked:Boolean(h),onChange:v,size:"small"}))}var Xn=Object.assign(Object.assign({},zn),{type:"boolean",align:"center",headerAlign:"center",renderCell:function(t){return b.createElement(Gn,Object.assign({},t))},renderEditCell:function(t){return b.createElement(Yn,Object.assign({},t))},sortComparator:Fn,valueFormatter:function(t){var e=t.value,r=t.api;return e?r.getLocaleText("booleanCellTrueLabel"):r.getLocaleText("booleanCellFalseLabel")},filterOperators:[{value:"is",getApplyFilterFn:function(t){if(!t.value)return null;var e="true"===t.value;return function(t){var r=t.value;return Boolean(r)===e}},InputComponent:nn}]}),$n=function(t){return"Escape"===t},Kn=function(t){return"Enter"===t},Zn=function(t){return"Tab"===t},Jn=function(t){return" "===t},Qn=function(t){return"Delete"===t||"Backspace"===t},ti=/^((?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])|(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF])(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])|(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD45\uDD46\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDC9-\uDDCC\uDDCE\uDDCF\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3B\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDC5E\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD806[\uDC2C-\uDC3A\uDD30-\uDD35\uDD37\uDD38\uDD3B-\uDD3E\uDD40\uDD42\uDD43\uDDD1-\uDDD7\uDDDA-\uDDE0\uDDE4\uDE01-\uDE0A\uDE33-\uDE39\uDE3B-\uDE3E\uDE47\uDE51-\uDE5B\uDE8A-\uDE99]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD8A-\uDD8E\uDD90\uDD91\uDD93-\uDD97\uDEF3-\uDEF6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF51-\uDF87\uDF8F-\uDF92\uDFE4\uDFF0\uDFF1]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF])|(?:[0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]|\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9])|[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]|(?:[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA])|(?:[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]))$/i,ei=function(t){return ti.test(t)},ri=["Enter","Escape","Tab"],ni=["Enter","Tab"],ii=function(t){return ni.indexOf(t)>-1},oi=function(t){return function(t){return"Home"===t||"End"===t}(t)||function(t){return 0===t.indexOf("Arrow")}(t)||function(t){return 0===t.indexOf("Page")}(t)||Jn(t)},ai=function(t){return!!t.key},si=function(t){return Zn(t)||$n(t)},ci=b.forwardRef((function(t,e){var r,n=t.field,i=t.id,a=t.value,s=t.tabIndex,c=t.hasFocus,u=ft(),l=mt(),f=function(t){var e=t.classes;return Object(O.a)({root:["checkboxInput"]},ht,e)}({classes:l.classes}),h=b.useRef(null),d=Object(j.a)(h,e),p=u.current.getCellElement(i,n);b.useLayoutEffect((function(){0===s&&p&&(p.tabIndex=-1)}),[p,s]),b.useLayoutEffect((function(){c&&h.current&&h.current.querySelector("input").focus()}),[c]);var m=b.useCallback((function(e){Jn(e.key)&&e.stopPropagation(),oi(e.key)&&!e.shiftKey&&u.current.publishEvent(o.cellNavigationKeyDown,t,e)}),[u,t]),v=!l.isRowSelectable||l.isRowSelectable(u.current.getRowParams(i));return b.createElement(l.components.BaseCheckbox,Object.assign({ref:d,tabIndex:s,checked:!!a,onChange:function(t){var e={value:t.target.checked,id:i};u.current.publishEvent(o.rowSelectionCheckboxChange,e,t)},onClick:function(t){t.stopPropagation()},className:f.root,color:"primary",inputProps:{"aria-label":"Select Row checkbox"},onKeyDown:m,disabled:!v},null===(r=l.componentsProps)||void 0===r?void 0:r.baseCheckbox))})),ui=b.memo(ci),li=function(t){return t.focus},fi=Object(L.a)(li,(function(t){return t.cell})),hi=Object(L.a)(li,(function(t){return t.columnHeader})),di=function(t){return t.tabIndex},pi=Object(L.a)(di,(function(t){return t.cell})),mi=Object(L.a)(di,(function(t){return t.columnHeader})),bi=function(t){return t.pagination},vi=Object(L.a)(bi,(function(t){return t.page})),gi=Object(L.a)(bi,(function(t){return t.pageSize})),yi=Object(L.a)(bi,mr,br,Ir,Fr,(function(t,e,r,n,i){var o=i.length,a=Math.min(t.pageSize*t.page,o-1),s=Math.min(a+t.pageSize-1,o-1);if(-1===a||-1===s)return null;if(r<2)return{firstRowIndex:a,lastRowIndex:s};for(var c=i[a],u=s-a+1,l=n.findIndex((function(t){return t.id===c.id})),f=l,h=0;f<n.length&&h<=u;){var d=e[n[f].id].depth;(h<u||d>0)&&(f+=1),0===d&&(h+=1)}return{firstRowIndex:l,lastRowIndex:f-1}})),wi=Object(L.a)(Ir,yi,(function(t,e){return e?t.slice(e.firstRowIndex,e.lastRowIndex+1):[]})),xi=Object(L.a)(Nr,yi,(function(t,e){return e?t.slice(e.firstRowIndex,e.lastRowIndex+1):[]})),Oi=b.forwardRef((function(t,e){var r,n=b.useState(!1),i=Object(m.a)(n,2)[1],a=ft(),s=mt(),c=function(t){var e=t.classes;return Object(O.a)({root:["checkboxInput"]},ht,e)}({classes:s.classes}),u=lr(a,mi),l=lr(a,qr),f=lr(a,Nr),h=lr(a,xi),d=b.useMemo((function(){return"function"==typeof s.isRowSelectable?l.filter((function(t){return s.isRowSelectable(a.current.getRowParams(t))})):l}),[a,s.isRowSelectable,l]),p=b.useMemo((function(){return(s.pagination&&s.checkboxSelectionVisibleOnly?h:f).reduce((function(t,e){return t[e]=!0,t}),{})}),[s.pagination,s.checkboxSelectionVisibleOnly,h,f]),v=b.useMemo((function(){return d.filter((function(t){return p[t]})).length}),[d,p]),g=v>0&&v<Object.keys(p).length,y=v>0,w=null!==u&&u.field===t.field?0:-1;b.useLayoutEffect((function(){var e=a.current.getColumnHeaderElement(t.field);0===w&&e&&(e.tabIndex=-1)}),[w,a,t.field]);var x=b.useCallback((function(e){Jn(e.key)&&e.stopPropagation(),oi(e.key)&&!e.shiftKey&&a.current.publishEvent(o.columnHeaderNavigationKeyDown,t,e)}),[a,t]),_=b.useCallback((function(){i((function(t){return!t}))}),[]);return b.useEffect((function(){return a.current.subscribeEvent(o.selectionChange,_)}),[a,_]),b.createElement(s.components.BaseCheckbox,Object.assign({ref:e,indeterminate:g,checked:y,onChange:function(t){var e={value:t.target.checked};a.current.publishEvent(o.headerSelectionCheckboxChange,e)},className:c.root,color:"primary",inputProps:{"aria-label":"Select All Rows checkbox"},tabIndex:w,onKeyDown:x},null===(r=s.componentsProps)||void 0===r?void 0:r.baseCheckbox))})),_i=Object.assign(Object.assign({},Xn),{field:"__check__",type:"checkboxSelection",width:50,resizable:!1,sortable:!1,filterable:!1,disableColumnMenu:!0,disableReorder:!0,disableExport:!0,valueGetter:function(t){return void 0!==Yr(t.api.state)[t.id]},renderHeader:function(t){return b.createElement(Oi,Object.assign({},t))},renderCell:function(t){return b.createElement(ui,Object.assign({},t))}});function Si(t){var e,r,n=t.id,i=t.value,o=(t.formattedValue,t.api),a=t.field,s=(t.row,t.rowNode,t.colDef),c=(t.cellMode,t.isEditable,t.tabIndex,t.hasFocus),u=(t.getValue,gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue"])),l="dateTime"===s.type,f=b.useRef(),h=b.useMemo((function(){var t,e;return e=null==(t=null==i?null:i instanceof Date?i:new Date((null!=i?i:"").toString()))||Number.isNaN(t.getTime())?"":new Date(t.getTime()-60*t.getTimezoneOffset()*1e3).toISOString().substr(0,l?16:10),{parsed:t,formatted:e}}),[i,l]),d=b.useState(h),p=Object(m.a)(d,2),v=p[0],g=p[1],y=function(t){var e=t.classes;return Object(O.a)({root:["editInputCell"]},ht,e)}({classes:mt().classes}),w=b.useCallback((function(t){var e,r=t.target.value;if(""===r)e=null;else{var i=r.split("T"),s=Object(m.a)(i,2),c=s[0],u=s[1],l=c.split("-"),f=Object(m.a)(l,3),h=f[0],d=f[1],p=f[2];if((e=new Date).setFullYear(Number(h)),e.setMonth(Number(d)-1),e.setDate(Number(p)),e.setHours(0,0,0,0),u){var b=u.split(":"),v=Object(m.a)(b,2),y=v[0],w=v[1];e.setHours(Number(y),Number(w),0,0)}}g({parsed:e,formatted:r}),o.setEditCellValue({id:n,field:a,value:e},t)}),[o,a,n]);return h.parsed!==v.parsed&&(null===(e=h.parsed)||void 0===e?void 0:e.getTime())!==(null===(r=v.parsed)||void 0===r?void 0:r.getTime())&&g(h),Object(C.a)((function(){c&&f.current.focus()}),[c]),b.createElement(F.c,Object.assign({inputRef:f,fullWidth:!0,className:y.root,type:l?"datetime-local":"date",value:v.formatted,onChange:w},u))}var ki=function(t){return b.createElement(Si,Object.assign({},t))};var Ei,Mi,Ci,ji=Object.assign(Object.assign({},zn),{type:"date",sortComparator:Bn,valueFormatter:function(t){var e=t.value;return e instanceof Date?e.toLocaleDateString():e},filterOperators:Cn(),renderEditCell:ki}),Ai=Object.assign(Object.assign({},zn),{type:"dateTime",sortComparator:Bn,valueFormatter:function(t){var e=t.value;return e instanceof Date?e.toLocaleString():e},filterOperators:Cn(!0),renderEditCell:ki}),Ti=Object.assign(Object.assign({},zn),{type:"number",align:"right",headerAlign:"right",sortComparator:Fn,valueParser:function(t){return""===t?null:Number(t)},valueFormatter:function(t){var e=t.value;return e&&function(t){return"number"==typeof t}(e)&&e.toLocaleString()||e},filterOperators:[{label:"=",value:"=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return Tn(r)===t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:"!=",value:"!=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return Tn(r)!==t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:">",value:">",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)>t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:">=",value:">=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)>=t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:"<",value:"<",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)<t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{label:"<=",value:"<=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var r=e.value;return null!=r&&Tn(r)<=t.value}},InputComponent:An,InputComponentProps:{type:"number"}},{value:"isEmpty",getApplyFilterFn:function(){return function(t){return null==t.value}}},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){return null!=t.value}}}]});!function(t){t.Cell="cell",t.Row="row"}(Ei||(Ei={})),function(t){t.Edit="edit",t.View="view"}(Mi||(Mi={})),function(t){t.Edit="edit",t.View="view"}(Ci||(Ci={}));var Pi=function(t){return"object"==typeof t?b.createElement(X.a,{key:t.value,value:t.value},t.label):b.createElement(X.a,{key:t,value:t},t)};function Di(t){var e,r=this,n=t.id,i=t.value,a=(t.formattedValue,t.api),s=t.field,u=t.row,l=(t.rowNode,t.colDef),f=(t.cellMode,t.isEditable,t.tabIndex,t.className,t.getValue,t.hasFocus),h=t.error,d=gt(t,["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","error"]),p=b.useRef(),v=b.useRef(),g=mt(),y=b.useState("cell"===g.editMode),w=Object(m.a)(y,2),x=w[0],O=w[1];return e="function"==typeof l.valueOptions?l.valueOptions({id:n,row:u,field:s}):l.valueOptions,l.valueFormatter&&(e=e.map((function(t){if("object"==typeof t)return t;var e={field:s,api:a,value:t};return{value:t,label:String(l.valueFormatter(e))}}))),Object(C.a)((function(){f&&v.current.focus()}),[f]),b.createElement(Y.a,Object.assign({ref:p,inputRef:v,value:i,onChange:function(t){return yt(r,void 0,void 0,c.a.mark((function e(){var r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(O(!1),a.setEditCellValue({id:n,field:s,value:t.target.value},t),g.editMode!==Ei.Row){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Promise.resolve(a.commitCellChange({id:n,field:s},t));case 4:if(e.t0=e.sent,!e.t0){e.next=7;break}e.t0=(a.setCellMode(n,s,"view"),t.key);case 7:if(!e.t0){e.next=10;break}r=a.getCellParams(n,s),a.publishEvent(o.cellNavigationKeyDown,r,t);case 10:case"end":return e.stop()}}),e)})))},open:x,onOpen:function(){O(!0)},MenuProps:{onClose:function(t,e){g.editMode!==Ei.Row?("backdropClick"===e||$n(t.key))&&a.setCellMode(n,s,"view"):O(!1)}},error:h,fullWidth:!0},d),e.map(Pi))}var Ri,Li,Ii,Ni=Object.assign(Object.assign({},zn),{type:"singleSelect",renderEditCell:function(t){return b.createElement(Di,Object.assign({},t))},filterOperators:[{value:"is",getApplyFilterFn:function(t){return null==t.value||""===t.value?null:function(e){var r=e.value;return"object"==typeof r?t.value===r.value:t.value===r}},InputComponent:Pn},{value:"not",getApplyFilterFn:function(t){return null==t.value||""===t.value?null:function(e){var r=e.value;return"object"==typeof r?t.value!==r.value:t.value!==r}},InputComponent:Pn}]}),Fi=function(){var t={string:zn,number:Ti,date:ji,dateTime:Ai,boolean:Xn,singleSelect:Ni,actions:Vn};return t.__default__=zn,t},Bi="client",zi="server";!function(t){t.And="and",t.Or="or"}(Ri||(Ri={})),function(t){t.Compact="compact",t.Standard="standard",t.Comfortable="comfortable"}(Li||(Li={}));var Hi,Ui=Object(_.a)("div",{name:"MuiDataGrid",slot:"Root",overridesResolver:function(t,e){return[Object(u.a)({},"&.".concat(dt.autoHeight),e.autoHeight),Object(u.a)({},"& .".concat(dt.editBooleanCell),e.editBooleanCell),Object(u.a)({},"& .".concat(dt["cell--editing"]),e["cell--editing"]),Object(u.a)({},"& .".concat(dt["cell--textCenter"]),e["cell--textCenter"]),Object(u.a)({},"& .".concat(dt["cell--textLeft"]),e["cell--textLeft"]),Object(u.a)({},"& .".concat(dt["cell--textRight"]),e["cell--textRight"]),Object(u.a)({},"& .".concat(dt["cell--withRenderer"]),e["cell--withRenderer"]),Object(u.a)({},"& .".concat(dt.cell),e.cell),Object(u.a)({},"& .".concat(dt.cellCheckbox),e.cellCheckbox),Object(u.a)({},"& .".concat(dt.checkboxInput),e.checkboxInput),Object(u.a)({},"& .".concat(dt["columnHeader--alignCenter"]),e["columnHeader--alignCenter"]),Object(u.a)({},"& .".concat(dt["columnHeader--alignLeft"]),e["columnHeader--alignLeft"]),Object(u.a)({},"& .".concat(dt["columnHeader--alignRight"]),e["columnHeader--alignRight"]),Object(u.a)({},"& .".concat(dt["columnHeader--dragging"]),e["columnHeader--dragging"]),Object(u.a)({},"& .".concat(dt["columnHeader--moving"]),e["columnHeader--moving"]),Object(u.a)({},"& .".concat(dt["columnHeader--numeric"]),e["columnHeader--numeric"]),Object(u.a)({},"& .".concat(dt["columnHeader--sortable"]),e["columnHeader--sortable"]),Object(u.a)({},"& .".concat(dt["columnHeader--sorted"]),e["columnHeader--sorted"]),Object(u.a)({},"& .".concat(dt.columnHeader),e.columnHeader),Object(u.a)({},"& .".concat(dt.columnHeaderCheckbox),e.columnHeaderCheckbox),Object(u.a)({},"& .".concat(dt.columnHeaderDraggableContainer),e.columnHeaderDraggableContainer),Object(u.a)({},"& .".concat(dt.columnHeaderTitleContainer),e.columnHeaderTitleContainer),Object(u.a)({},"& .".concat(dt["columnSeparator--resizable"]),e["columnSeparator--resizable"]),Object(u.a)({},"& .".concat(dt["columnSeparator--resizing"]),e["columnSeparator--resizing"]),Object(u.a)({},"& .".concat(dt.columnSeparator),e.columnSeparator),Object(u.a)({},"& .".concat(dt.filterIcon),e.filterIcon),Object(u.a)({},"& .".concat(dt.iconSeparator),e.iconSeparator),Object(u.a)({},"& .".concat(dt.menuIcon),e.menuIcon),Object(u.a)({},"& .".concat(dt.menuIconButton),e.menuIconButton),Object(u.a)({},"& .".concat(dt.menuOpen),e.menuOpen),Object(u.a)({},"& .".concat(dt.menuList),e.menuList),Object(u.a)({},"& .".concat(dt["row--editable"]),e["row--editable"]),Object(u.a)({},"& .".concat(dt["row--editing"]),e["row--editing"]),Object(u.a)({},"& .".concat(dt.row),e.row),Object(u.a)({},"& .".concat(dt.sortIcon),e.sortIcon),Object(u.a)({},"& .".concat(dt.withBorder),e.withBorder),Object(u.a)({},"& .".concat(dt.treeDataGroupingCell),e.treeDataGroupingCell),Object(u.a)({},"& .".concat(dt.treeDataGroupingCellToggle),e.treeDataGroupingCellToggle),e.root]}})((function(t){var e,r,n=t.theme,i="light"===n.palette.mode?Object(S.e)(Object(S.a)(n.palette.divider,1),.88):Object(S.b)(Object(S.a)(n.palette.divider,1),.68);return Object.assign(Object.assign({flex:1,boxSizing:"border-box",position:"relative",border:"1px solid ".concat(i),borderRadius:n.shape.borderRadius,color:n.palette.text.primary},n.typography.body2),(r={outline:"none",height:"100%",display:"flex",flexDirection:"column"},Object(u.a)(r,"&.".concat(dt.autoHeight),{height:"auto"}),Object(u.a)(r,"& .".concat(dt.columnHeader,", & .").concat(dt.cell),{WebkitTapHighlightColor:"transparent",lineHeight:null,padding:"0 10px",boxSizing:"border-box"}),Object(u.a)(r,"& .".concat(dt.columnHeader,":focus-within, & .").concat(dt.cell,":focus-within"),{outline:"solid ".concat(Object(S.a)(n.palette.primary.main,.5)," 1px"),outlineWidth:1,outlineOffset:-1}),Object(u.a)(r,"& .".concat(dt.columnHeader,":focus, & .").concat(dt.cell,":focus"),{outline:"solid ".concat(n.palette.primary.main," 1px")}),Object(u.a)(r,"& .".concat(dt.columnHeaderCheckbox,", & .").concat(dt.cellCheckbox),{padding:0,justifyContent:"center",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt.columnHeader),{position:"relative",display:"flex",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt["columnHeader--sorted"]," .").concat(dt.iconButtonContainer),{visibility:"visible",width:"auto"}),Object(u.a)(r,"& .".concat(dt.columnHeader,":not(.").concat(dt["columnHeader--sorted"],") .").concat(dt.sortIcon),{opacity:0,transition:n.transitions.create(["opacity"],{duration:n.transitions.duration.shorter})}),Object(u.a)(r,"& .".concat(dt.columnHeader,":not(.").concat(dt["columnHeader--sorted"],"):hover .").concat(dt.sortIcon),{opacity:.5}),Object(u.a)(r,"& .".concat(dt.columnHeaderTitleContainer),{display:"flex",alignItems:"center",minWidth:0,flex:1,whiteSpace:"nowrap",overflow:"hidden",padding:"0 6px"}),Object(u.a)(r,"& .".concat(dt.sortIcon,", & .").concat(dt.filterIcon),{fontSize:"inherit"}),Object(u.a)(r,"& .".concat(dt["columnHeader--sortable"]),{cursor:"pointer"}),Object(u.a)(r,"& .".concat(dt["columnHeader--alignCenter"]," .").concat(dt.columnHeaderTitleContainer),{justifyContent:"center"}),Object(u.a)(r,"& .".concat(dt["columnHeader--alignRight"]," .").concat(dt.columnHeaderDraggableContainer,", & .").concat(dt["columnHeader--alignRight"]," .").concat(dt.columnHeaderTitleContainer),{flexDirection:"row-reverse"}),Object(u.a)(r,"& .".concat(dt["columnHeader--alignCenter"]," .").concat(dt.menuIcon,", & .").concat(dt["columnHeader--alignRight"]," .").concat(dt.menuIcon),{marginRight:"auto",marginLeft:-6}),Object(u.a)(r,"& .".concat(dt["columnHeader--moving"]),{backgroundColor:n.palette.action.hover}),Object(u.a)(r,"& .".concat(dt.columnSeparator),{position:"absolute",right:-12,zIndex:100,display:"flex",flexDirection:"column",justifyContent:"center",color:i}),Object(u.a)(r,"& .".concat(dt["columnSeparator--resizable"]),Object(u.a)({cursor:"col-resize",touchAction:"none","&:hover":{color:n.palette.text.primary,"@media (hover: none)":{color:i}}},"&.".concat(dt["columnSeparator--resizing"]),{color:n.palette.text.primary})),Object(u.a)(r,"& .".concat(dt.iconSeparator),{color:"inherit"}),Object(u.a)(r,"& .".concat(dt.menuIcon),{width:0,visibility:"hidden",fontSize:20,marginRight:-6,display:"flex",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt.columnHeader,":hover"),(e={},Object(u.a)(e,"& .".concat(dt.iconButtonContainer),{visibility:"visible",width:"auto"}),Object(u.a)(e,"& .".concat(dt.menuIcon),{width:"auto",visibility:"visible"}),e)),Object(u.a)(r,".".concat(dt.menuOpen),{visibility:"visible"}),Object(u.a)(r,"& .".concat(dt.row),{display:"flex",width:"fit-content","&:hover":{backgroundColor:n.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},"&.Mui-selected":{backgroundColor:Object(S.a)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(S.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(S.a)(n.palette.primary.main,n.palette.action.selectedOpacity)}}}}),Object(u.a)(r,"& .".concat(dt.cell),{display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",borderBottom:"1px solid ".concat(i)}),Object(u.a)(r,"& .".concat(dt.cell,".").concat(dt["cell--editing"]),{padding:1,display:"flex",boxShadow:n.shadows[2],backgroundColor:n.palette.background.paper,"&:focus-within":{outline:"solid ".concat(n.palette.primary.main," 1px"),outlineOffset:"-1px"}}),Object(u.a)(r,"& .".concat(dt["row--editing"]),{boxShadow:n.shadows[2]}),Object(u.a)(r,"& .".concat(dt["row--editing"]," .").concat(dt.cell),{boxShadow:n.shadows[0],backgroundColor:n.palette.background.paper}),Object(u.a)(r,"& .".concat(dt.editBooleanCell),{display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center"}),Object(u.a)(r,"& .".concat(dt.booleanCell,'[data-value="true"]'),{color:n.palette.text.secondary}),Object(u.a)(r,"& .".concat(dt.booleanCell,'[data-value="false"]'),{color:n.palette.text.disabled}),Object(u.a)(r,"& .".concat(dt.actionsCell),{display:"inline-flex",alignItems:"center",gridGap:n.spacing(1)}),Object(u.a)(r,"& .".concat(dt["cell--withRenderer"]),{display:"flex",alignItems:"center"}),Object(u.a)(r,"& .".concat(dt.withBorder),{borderRight:"1px solid ".concat(i)}),Object(u.a)(r,"& .".concat(dt["cell--textLeft"]),{textAlign:"left"}),Object(u.a)(r,"& .".concat(dt["cell--textLeft"],".").concat(dt["cell--withRenderer"],", & .").concat(dt["cell--textLeft"],".").concat(dt["cell--editing"]),{justifyContent:"flex-start"}),Object(u.a)(r,"& .".concat(dt["cell--textRight"]),{textAlign:"right"}),Object(u.a)(r,"& .".concat(dt["cell--textRight"],".").concat(dt["cell--withRenderer"],", & .").concat(dt["cell--textRight"],".").concat(dt["cell--editing"]),{justifyContent:"flex-end"}),Object(u.a)(r,"& .".concat(dt["cell--textCenter"]),{textAlign:"center"}),Object(u.a)(r,"& .".concat(dt["cell--textCenter"],".").concat(dt["cell--withRenderer"],", & .").concat(dt["cell--textCenter"],".").concat(dt["cell--editing"]),{justifyContent:"center"}),Object(u.a)(r,"& .".concat(dt.columnHeaderDraggableContainer),{display:"flex",width:"100%"}),Object(u.a)(r,"& .".concat(dt["columnHeader--dragging"]),{background:n.palette.background.paper,padding:"0 12px",borderRadius:n.shape.borderRadius,opacity:n.palette.action.disabledOpacity}),Object(u.a)(r,"& .".concat(dt.treeDataGroupingCell),{display:"flex",alignItems:"center",width:"100%"}),Object(u.a)(r,"& .".concat(dt.treeDataGroupingCellToggle),{flex:"0 0 28px",alignSelf:"stretch",marginRight:n.spacing(2)}),r))})),Wi=b.forwardRef((function(t,e){var r,n=mt(),i=t.children,o=t.className,a=gt(t,["children","className"]),s=ft(),c=lr(s,Tr),l=lr(s,hr),f=b.useRef(null),h=Object(j.a)(f,e);return s.current.rootElementRef=f,b.createElement(K.a,null,b.createElement(Ui,Object.assign({ref:h,className:Object(I.a)(o,null===(r=n.classes)||void 0===r?void 0:r.root,dt.root,Object(u.a)({},dt.autoHeight,n.autoHeight)),role:"grid","aria-colcount":c,"aria-rowcount":l,"aria-multiselectable":!n.disableMultipleSelection,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"]},a),i))})),qi=Object(_.a)("div",{name:"MuiDataGrid",slot:"FooterContainer",overridesResolver:function(t,e){return e.footerContainer}})((function(){return{display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:52}})),Vi=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["footerContainer"]},ht,e)}({classes:mt().classes});return b.createElement(qi,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))}));function Gi(t,e,r,n){var i=b.useRef(null),o=b.useRef();if(o.current=r,!i.current&&o.current){i.current=t.current.subscribeEvent(e,(function(t,e,r){var n;e.defaultMuiPrevented||null===(n=o.current)||void 0===n||n.call(o,t,e,r)}),n)}else!o.current&&i.current&&(i.current(),i.current=null);b.useEffect((function(){if(!i.current&&o.current){i.current=t.current.subscribeEvent(e,(function(t,e,r){var n;e.defaultMuiPrevented||null===(n=o.current)||void 0===n||n.call(o,t,e,r)}),n)}return function(){var t;null===(t=i.current)||void 0===t||t.call(i),i.current=null}}),[t,e,n])}!function(t){t.DataGrid="DataGrid",t.DataGridPro="DataGridPro"}(Hi||(Hi={}));var Yi={isFirst:!0};function Xi(t,e,r){Gi(t,e,r,Yi)}var $i=Object(_.a)("div",{name:"MuiDataGrid",slot:"Overlay",overridesResolver:function(t,e){return e.overlay}})((function(t){var e=t.theme;return{display:"flex",position:"absolute",top:0,left:0,right:0,bottom:0,alignSelf:"center",alignItems:"center",justifyContent:"center",backgroundColor:Object(S.a)(e.palette.background.default,e.palette.action.disabledOpacity)}})),Ki=b.forwardRef((function(t,e){var r,n,i=t.className,a=t.style,s=gt(t,["className","style"]),c=ft(),u=mt(),l=function(t){var e=t.classes;return Object(O.a)({root:["overlay"]},ht,e)}({classes:u.classes}),f=lr(c,Zr),h=b.useState((function(){var t,e;return null!==(e=null===(t=c.current.getRootDimensions())||void 0===t?void 0:t.viewportInnerSize)&&void 0!==e?e:null})),d=Object(m.a)(h,2),p=d[0],v=d[1];Gi(c,o.viewportInnerSizeChange,(function(){var t,e;return v(null!==(e=null===(t=c.current.getRootDimensions())||void 0===t?void 0:t.viewportInnerSize)&&void 0!==e?e:null)}));var g=null!==(r=null==p?void 0:p.height)&&void 0!==r?r:0;return u.autoHeight&&0===g&&(g="auto"),b.createElement($i,Object.assign({ref:e,className:Object(I.a)(l.root,i),style:Object.assign({height:g,width:null!==(n=null==p?void 0:p.width)&&void 0!==n?n:0,top:f,position:"absolute",left:0},a)},s))})),Zi=Object(_.a)("div",{name:"MuiDataGrid",slot:"ToolbarContainer",overridesResolver:function(t,e){return e.toolbarContainer}})((function(t){return{display:"flex",alignItems:"center",padding:t.theme.spacing(.5,.5,0)}})),Ji=b.forwardRef((function(t,e){var r=t.className,n=t.children,i=gt(t,["className","children"]),o=function(t){var e=t.classes;return Object(O.a)({root:["toolbarContainer"]},ht,e)}({classes:mt().classes});return n?b.createElement(Zi,Object.assign({ref:e,className:Object(I.a)(r,o.root)},i),n):null})),Qi=Object(_.a)("div",{name:"MuiDataGrid",slot:"IconButtonContainer",overridesResolver:function(t,e){return e.iconButtonContainer}})((function(){return{display:"flex",visibility:"hidden",width:0}})),to=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["iconButtonContainer"]},ht,e)}({classes:mt().classes});return b.createElement(Qi,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))})),eo=b.memo((function(t){var e=t.direction,r=t.index,n=ft(),i=mt(),o=function(t){var e=t.classes;return Object(O.a)({icon:["sortIcon"]},ht,e)}(Object.assign(Object.assign({},t),{classes:i.classes})),a=function(t,e,r){var n=t.ColumnUnsortedIcon;return"asc"===e?n=t.ColumnSortedAscendingIcon:"desc"===e&&(n=t.ColumnSortedDescendingIcon),n?b.createElement(n,{fontSize:"small",className:r}):null}(i.components,e,o.icon);if(!a)return null;var s=b.createElement(B.a,{tabIndex:-1,"aria-label":n.current.getLocaleText("columnHeaderSortIconLabel"),title:n.current.getLocaleText("columnHeaderSortIconLabel"),size:"small"},a);return b.createElement(to,null,null!=r&&b.createElement(Z.a,{badgeContent:r,color:"default"},s),null==r&&s)}));function ro(t){return null!=t&&t.classList.contains(dt.columnHeader)}function no(t){return t.replace(/["\\]/g,"\\$&")}function io(t,e){return t.querySelector(".".concat(dt.row,'[data-id="').concat(no(String(e)),'"]'))}var oo=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnHeaderTitle",overridesResolver:function(t,e){return e.columnHeaderTitle}})((function(t){return{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:t.theme.typography.fontWeightMedium}})),ao=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["columnHeaderTitle"]},ht,e)}({classes:mt().classes});return b.createElement(oo,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))}));function so(t){var e=t.label,r=t.description,n=t.columnWidth,i=b.useRef(null),o=b.useState(""),a=Object(m.a)(o,2),s=a[0],c=a[1];return b.useEffect((function(){if(!r&&i&&i.current){var t=(n=i.current).scrollHeight>n.clientHeight||n.scrollWidth>n.clientWidth;c(t?e:"")}var n}),[i,n,r,e]),b.createElement(J.a,{title:r||s},b.createElement(ao,{ref:i},e))}var co,uo=b.memo((function(t){t.resizable,t.resizing;var e=t.height,r=gt(t,["resizable","resizing","height"]),n=mt(),i=function(t){var e=t.resizable,r=t.resizing,n=t.classes;return Object(O.a)({root:["columnSeparator",e&&"columnSeparator--resizable",r&&"columnSeparator--resizing"],icon:["iconSeparator"]},ht,n)}(Object.assign(Object.assign({},t),{classes:n.classes})),o=b.useCallback((function(t){t.preventDefault(),t.stopPropagation()}),[]);return b.createElement("div",Object.assign({className:i.root,style:{minHeight:e,opacity:n.showColumnRightBorder?0:1}},r,{onClick:o}),b.createElement(n.components.ColumnResizeIcon,{className:i.icon}))})),lo=b.memo((function(t){var e=t.column,r=t.open,n=t.columnMenuId,i=t.columnMenuButtonId,o=t.iconButtonRef,a=ft(),s=mt(),c=function(t){var e=t.classes,r=t.open;return Object(O.a)({root:["menuIcon",r&&"menuOpen"],button:["menuIconButton"]},ht,e)}(Object.assign(Object.assign({},t),{classes:s.classes})),u=b.useCallback((function(t){t.preventDefault(),t.stopPropagation(),a.current.toggleColumnMenu(e.field)}),[a,e.field]);return b.createElement("div",{className:c.root},b.createElement(B.a,{ref:o,tabIndex:-1,className:c.button,"aria-label":a.current.getLocaleText("columnMenuLabel"),title:a.current.getLocaleText("columnMenuLabel"),size:"small",onClick:u,"aria-expanded":r?"true":void 0,"aria-haspopup":"true","aria-controls":n,id:i},b.createElement(s.components.ColumnMenuIcon,{fontSize:"small"})))})),fo=function(t){return t.preferencePanel};function ho(t){var e=t.counter,r=ft(),n=mt(),i=function(t){var e=t.classes;return Object(O.a)({icon:["filterIcon"]},ht,e)}(Object.assign(Object.assign({},t),{classes:n.classes})),o=b.useCallback((function(t){t.preventDefault(),t.stopPropagation();var e=fo(r.current.state),n=e.open,i=e.openedPanelValue;n&&i===co.filters?r.current.hideFilterPanel():r.current.showFilterPanel()}),[r]);if(!e)return null;var a=b.createElement(B.a,{onClick:o,color:"default","aria-label":r.current.getLocaleText("columnHeaderFiltersLabel"),size:"small",tabIndex:-1},b.createElement(n.components.ColumnFilteredIcon,{className:i.icon,fontSize:"small"}));return b.createElement(J.a,{title:r.current.getLocaleText("columnHeaderFiltersTooltipActive")(e),enterDelay:1e3},b.createElement(to,null,e>1&&b.createElement(Z.a,{badgeContent:e,color:"default"},a),1===e&&a))}function po(t){var e=t.columnMenuId,r=t.columnMenuButtonId,n=t.ContentComponent,i=t.contentComponentProps,o=t.field,a=t.open,s=t.target,c=ft(),u=c.current.getColumn(o),l=b.useCallback((function(t){t.stopPropagation(),c.current.hideColumnMenu()}),[c]);return s?b.createElement(Wn,{placement:"bottom-"+("right"===u.align?"start":"end"),open:a,target:s,onClickAway:l},b.createElement(n,Object.assign({currentColumn:u,hideMenu:l,open:a,id:e,labelledby:r},i))):null}function mo(t){var e,r,n,i=t.column,a=t.columnMenuOpen,s=t.colIndex,c=t.headerHeight,u=t.isResizing,l=t.isLastColumn,f=t.sortDirection,h=t.sortIndex,d=t.filterItemsCounter,p=t.hasFocus,m=t.tabIndex,v=t.extendRowFullWidth,g=ft(),y=mt(),w=b.useRef(null),x=Object(T.a)(),_=Object(T.a)(),S=b.useRef(null),k=null!==(e=g.current.getRootDimensions())&&void 0!==e?e:{hasScrollX:!1,hasScrollY:!1},E=k.hasScrollX,M=k.hasScrollY,C=null;i.renderHeader&&(C=i.renderHeader(g.current.getColumnHeaderParams(i.field)));var j,A=b.useCallback((function(t){return function(e){e.currentTarget.contains(e.target)&&g.current.publishEvent(t,g.current.getColumnHeaderParams(i.field),e)}}),[g,i.field]),P={onClick:A(o.columnHeaderClick),onDoubleClick:A(o.columnHeaderDoubleClick),onMouseOver:A(o.columnHeaderOver),onMouseOut:A(o.columnHeaderOut),onMouseEnter:A(o.columnHeaderEnter),onMouseLeave:A(o.columnHeaderLeave),onKeyDown:A(o.columnHeaderKeyDown),onFocus:A(o.columnHeaderFocus),onBlur:A(o.columnHeaderBlur)},D={onDragStart:A(o.columnHeaderDragStart),onDragEnter:A(o.columnHeaderDragEnter),onDragOver:A(o.columnHeaderDragOver),onDragEnd:A(o.columnHeaderDragEnd)},R=l?!(l&&E&&!M)&&!v:y.showColumnRightBorder,L=function(t){var e=t.column,r=t.classes,n=t.isDragging,i=t.sortDirection,o=t.showRightBorder,a=null!=i,s="number"===e.type,c={root:["columnHeader","left"===e.headerAlign&&"columnHeader--alignLeft","center"===e.headerAlign&&"columnHeader--alignCenter","right"===e.headerAlign&&"columnHeader--alignRight",e.sortable&&"columnHeader--sortable",n&&"columnHeader--moving",a&&"columnHeader--sorted",s&&"columnHeader--numeric",o&&"withBorder"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"]};return Object(O.a)(c,ht,r)}(Object.assign(Object.assign({},t),{classes:y.classes,showRightBorder:R})),N=i.computedWidth;null!=f&&(j="asc"===f?"ascending":"descending");var F=!y.disableColumnMenu&&!i.disableColumnMenu&&b.createElement(lo,{column:i,columnMenuId:x,columnMenuButtonId:_,open:a,iconButtonRef:S}),B=b.createElement(b.Fragment,null,!y.disableColumnFilter&&b.createElement(ho,{counter:d}),i.sortable&&!i.hideSortIcons&&b.createElement(eo,{direction:f,index:h}));b.useLayoutEffect((function(){var t=g.current.state.columnMenu;if(p&&!t.open){var e=w.current.querySelector('[tabindex="0"]');e?e.focus():w.current.focus()}}));var z="function"==typeof i.headerClassName?i.headerClassName({field:i.field,colDef:i}):i.headerClassName;return b.createElement("div",Object.assign({ref:w,className:Object(I.a)(L.root,z),"data-field":i.field,style:{width:N,minWidth:N,maxWidth:N},role:"columnheader",tabIndex:m,"aria-colindex":s+1,"aria-sort":j},P),b.createElement("div",Object.assign({className:L.draggableContainer,draggable:!y.disableColumnReorder&&!i.disableReorder},D),b.createElement("div",{className:L.titleContainer},C||b.createElement(so,{label:null!==(r=i.headerName)&&void 0!==r?r:i.field,description:i.description,columnWidth:N}),B),F),b.createElement(uo,{resizable:!y.disableColumnResize&&!!i.resizable,resizing:u,height:c,onMouseDown:A(o.columnSeparatorMouseDown)}),b.createElement(po,{columnMenuId:x,columnMenuButtonId:_,field:i.field,open:a,target:S.current,ContentComponent:y.components.ColumnMenu,contentComponentProps:null===(n=y.componentsProps)||void 0===n?void 0:n.columnMenu}))}!function(t){t.filters="filters",t.columns="columns"}(co||(co={}));var bo=function(t){var e=t.onClick,r=ft(),n=mt(),i=b.useCallback((function(t){e(t),r.current.showPreferences(co.columns)}),[r,e]);return n.disableColumnSelector?null:b.createElement(X.a,{onClick:i},r.current.getLocaleText("columnMenuShowColumns"))},vo=function(t){var e=t.column,r=t.onClick,n=ft(),i=mt(),o=b.useCallback((function(t){r(t),n.current.showFilterPanel(null==e?void 0:e.field)}),[n,null==e?void 0:e.field,r]);return i.disableColumnFilter||!(null==e?void 0:e.filterable)?null:b.createElement(X.a,{onClick:o},n.current.getLocaleText("columnMenuFilter"))},go=b.forwardRef((function(t,e){var r=t.hideMenu,n=(t.currentColumn,t.open),i=t.id,o=t.labelledby,a=t.className,s=t.children,c=gt(t,["hideMenu","currentColumn","open","id","labelledby","className","children"]),u=b.useCallback((function(t){Zn(t.key)&&t.preventDefault(),si(t.key)&&r(t)}),[r]);return b.createElement(z.a,Object.assign({id:i,ref:e,className:Object(I.a)(dt.menuList,a),"aria-labelledby":o,onKeyDown:u,autoFocus:n},c),s)})),yo=function(t){var e=t.column,r=t.onClick,n=ft(),i=mt(),o=b.useRef(),a=b.useCallback((function(t){r(t),o.current=setTimeout((function(){n.current.setColumnVisibility(null==e?void 0:e.field,!1)}),100)}),[n,null==e?void 0:e.field,r]);return b.useEffect((function(){return function(){return clearTimeout(o.current)}}),[]),i.disableColumnSelector?null:b.createElement(X.a,{onClick:a},n.current.getLocaleText("columnMenuHideColumn"))},wo=function(t){var e=t.column,r=t.onClick,n=ft(),i=lr(n,xr),o=b.useMemo((function(){if(!e)return null;var t=i.find((function(t){return t.field===e.field}));return null==t?void 0:t.sort}),[e,i]),a=b.useCallback((function(t){r(t);var i=t.currentTarget.getAttribute("data-value")||null;n.current.sortColumn(e,i)}),[n,e,r]);return e&&e.sortable?b.createElement(b.Fragment,null,b.createElement(X.a,{onClick:a,disabled:null==o},n.current.getLocaleText("columnMenuUnsort")),b.createElement(X.a,{onClick:a,"data-value":"asc",disabled:"asc"===o},n.current.getLocaleText("columnMenuSortAsc")),b.createElement(X.a,{onClick:a,"data-value":"desc",disabled:"desc"===o},n.current.getLocaleText("columnMenuSortDesc"))):null},xo=b.forwardRef((function(t,e){var r=t.hideMenu,n=t.currentColumn;return b.createElement(go,Object.assign({ref:e},t),b.createElement(wo,{onClick:r,column:n}),b.createElement(vo,{onClick:r,column:n}),b.createElement(yo,{onClick:r,column:n}),b.createElement(bo,{onClick:r,column:n}))})),Oo=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelContent",overridesResolver:function(t,e){return e.panelContent}})({display:"flex",flexDirection:"column",overflow:"auto",flex:"1 1",maxHeight:400});function _o(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelContent"]},ht,e)}({classes:mt().classes});return b.createElement(Oo,Object.assign({className:Object(I.a)(e,n.root)},r))}var So=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelFooter",overridesResolver:function(t,e){return e.panelFooter}})((function(t){return{padding:t.theme.spacing(.5),display:"flex",justifyContent:"space-between"}}));function ko(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelFooter"]},ht,e)}({classes:mt().classes});return b.createElement(So,Object.assign({className:Object(I.a)(e,n.root)},r))}var Eo=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelHeader",overridesResolver:function(t,e){return e.panelHeader}})((function(t){return{padding:t.theme.spacing(1)}}));function Mo(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelHeader"]},ht,e)}({classes:mt().classes});return b.createElement(Eo,Object.assign({className:Object(I.a)(e,n.root)},r))}var Co=Object(_.a)("div",{name:"MuiDataGrid",slot:"PanelWrapper",overridesResolver:function(t,e){return e.panelWrapper}})({display:"flex",flexDirection:"column",flex:1,"&:focus":{outline:0}}),jo=function(){return!0};function Ao(t){var e=t.className,r=gt(t,["className"]),n=function(t){var e=t.classes;return Object(O.a)({root:["panelWrapper"]},ht,e)}({classes:mt().classes});return b.createElement(nt.a,{open:!0,disableEnforceFocus:!0,isEnabled:jo},b.createElement(Co,Object.assign({tabIndex:-1,className:Object(I.a)(e,n.root)},r)))}var To=!1;"undefined"!=typeof i&&void 0!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).GRID_EXPERIMENTAL_ENABLED&&or()&&window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED")?To="true"===window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED"):"undefined"!=typeof i&&(To="true"===Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).GRID_EXPERIMENTAL_ENABLED);var Po=To,Do={noRowsLabel:"No rows",noResultsOverlayLabel:"No results found.",errorOverlayDefaultLabel:"An error occurred.",toolbarDensity:"Density",toolbarDensityLabel:"Density",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comfortable",toolbarColumns:"Columns",toolbarColumnsLabel:"Select columns",toolbarFilters:"Filters",toolbarFiltersLabel:"Show filters",toolbarFiltersTooltipHide:"Hide filters",toolbarFiltersTooltipShow:"Show filters",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" active filters":" active filter")},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Download as CSV",toolbarExportPrint:"Print",columnsPanelTextFieldLabel:"Find column",columnsPanelTextFieldPlaceholder:"Column title",columnsPanelDragIconLabel:"Reorder column",columnsPanelShowAllButton:"Show all",columnsPanelHideAllButton:"Hide all",filterPanelAddFilter:"Add filter",filterPanelDeleteIconLabel:"Delete",filterPanelOperators:"Operators",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"Columns",filterPanelInputLabel:"Value",filterPanelInputPlaceholder:"Filter value",filterOperatorContains:"contains",filterOperatorEquals:"equals",filterOperatorStartsWith:"starts with",filterOperatorEndsWith:"ends with",filterOperatorIs:"is",filterOperatorNot:"is not",filterOperatorAfter:"is after",filterOperatorOnOrAfter:"is on or after",filterOperatorBefore:"is before",filterOperatorOnOrBefore:"is on or before",filterOperatorIsEmpty:"is empty",filterOperatorIsNotEmpty:"is not empty",filterValueAny:"any",filterValueTrue:"true",filterValueFalse:"false",columnMenuLabel:"Menu",columnMenuShowColumns:"Show columns",columnMenuFilter:"Filter",columnMenuHideColumn:"Hide",columnMenuUnsort:"Unsort",columnMenuSortAsc:"Sort by ASC",columnMenuSortDesc:"Sort by DESC",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" active filters":" active filter")},columnHeaderFiltersLabel:"Show filters",columnHeaderSortIconLabel:"Sort",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" rows selected":" row selected")},footerTotalRows:"Total Rows:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," of ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Checkbox selection",booleanCellTrueLabel:"true",booleanCellFalseLabel:"false",actionsCellMore:"more",treeDataGroupingHeaderName:"Group",treeDataExpand:"see children",treeDataCollapse:"hide children",MuiTablePagination:{}},Ro=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnsPanel",overridesResolver:function(t,e){return e.columnsPanel}})((function(){return{padding:"8px 0px 8px 8px"}})),Lo=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnsPanelRow",overridesResolver:function(t,e){return e.columnsPanelRow}})((function(t){var e=t.theme;return Object(u.a)({display:"flex",justifyContent:"space-between",padding:"1px 8px 1px 7px"},"& .".concat(Q.a.root),{marginRight:e.spacing(.5)})})),Io=Object(_.a)(B.a)({justifyContent:"flex-end"});var No=Object(x.a)("MuiDataGrid",["panel","paper"]),Fo=Object(_.a)(q.a,{name:"MuiDataGrid",slot:"Panel",overridesResolver:function(t,e){return e.panel}})((function(t){return{zIndex:t.theme.zIndex.modal}})),Bo=Object(_.a)(W.a,{name:"MuiDataGrid",slot:"Paper",overridesResolver:function(t,e){return e.paper}})((function(t){return{backgroundColor:t.theme.palette.background.paper,minWidth:300,maxHeight:450,display:"flex"}})),zo=b.forwardRef((function(t,e){var r,n=t.children,i=t.className,o=t.open,a=(t.classes,gt(t,["children","className","open","classes"])),s=ft(),c=No,u=b.useState(!1),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useCallback((function(){s.current.hidePreferences()}),[s]),p=b.useCallback((function(t){$n(t.key)&&s.current.hidePreferences()}),[s]),v=null===(r=s.current.columnHeadersContainerElementRef)||void 0===r?void 0:r.current;return v?b.createElement(Fo,Object.assign({ref:e,placement:"bottom-start",className:Object(I.a)(i,c.panel),open:o,anchorEl:v,modifiers:[{name:"flip",enabled:!1},{name:"isPlaced",enabled:!0,phase:"main",fn:function(){h(!0)}}]},a),b.createElement(H.a,{onClickAway:d},b.createElement(Bo,{className:c.paper,elevation:8,onKeyDown:p},f&&n))):null})),Ho=b.forwardRef((function(t,e){var r,n,i,o=ft(),a=lr(o,Er),s=mt(),c=lr(o,fo),u=c.openedPanelValue===co.columns,l=!c.openedPanelValue||!u;return b.createElement(s.components.Panel,Object.assign({ref:e,open:a.length>0&&c.open},null===(r=s.componentsProps)||void 0===r?void 0:r.panel,t),!s.disableColumnSelector&&u&&b.createElement(s.components.ColumnsPanel,Object.assign({},null===(n=s.componentsProps)||void 0===n?void 0:n.columnsPanel)),!s.disableColumnFilter&&l&&b.createElement(s.components.FilterPanel,Object.assign({},null===(i=s.componentsProps)||void 0===i?void 0:i.filterPanel)))})),Uo=Object(_.a)("div",{name:"MuiDataGrid",slot:"FilterForm",overridesResolver:function(t,e){return e.filterForm}})((function(t){return{display:"flex",justifyContent:"space-around",padding:t.theme.spacing(1)}}));function Wo(t){var e,r=t.item,n=t.hasMultipleFilters,i=t.deleteFilter,o=t.applyFilterChanges,a=t.multiFilterOperator,s=t.showMultiFilterOperators,c=t.disableMultiFilterOperator,u=t.applyMultiFilterOperatorChanges,l=t.focusElementRef,f=ft(),h=lr(f,jr),d=Object(T.a)(),p=Object(T.a)(),m=Object(T.a)(),v=Object(T.a)(),g=Object(T.a)(),y=Object(T.a)(),w=mt(),x=function(t){var e=t.classes;return Object(O.a)({root:["filterForm"]},ht,e)}({classes:w.classes}),_=b.useRef(null),S=b.useRef(null),k=r.columnField?f.current.getColumn(r.columnField):null,E=b.useMemo((function(){var t;return r.operatorValue&&k?null===(t=k.filterOperators)||void 0===t?void 0:t.find((function(t){return t.value===r.operatorValue})):null}),[r,k]),M=b.useCallback((function(t){var e=t.target.value,n=f.current.getColumn(e).filterOperators[0];o(Object.assign(Object.assign({},r),{value:void 0,columnField:e,operatorValue:n.value}))}),[f,o,r]),C=b.useCallback((function(t){var e=t.target.value;o(Object.assign(Object.assign({},r),{operatorValue:e}))}),[o,r]),j=b.useCallback((function(t){var e=t.target.value===Ri.And.toString()?Ri.And:Ri.Or;u(e)}),[u]);return b.useImperativeHandle(l,(function(){return{focus:function(){var t;(null==E?void 0:E.InputComponent)?null===(t=null==_?void 0:_.current)||void 0===t||t.focus():S.current.focus()}}}),[E]),b.createElement(Uo,{className:x.root},b.createElement(it.a,{variant:"standard",sx:{flexShrink:0,justifyContent:"flex-end",marginRight:.5,marginBottom:.2}},b.createElement(B.a,{"aria-label":f.current.getLocaleText("filterPanelDeleteIconLabel"),title:f.current.getLocaleText("filterPanelDeleteIconLabel"),onClick:function(){w.disableMultipleColumnsFiltering?o(Object.assign(Object.assign({},r),{value:void 0})):i(r)},size:"small"},b.createElement(vn,{fontSize:"small"}))),b.createElement(it.a,{variant:"standard",sx:{minWidth:60,display:n?"block":"none",visibility:s?"visible":"hidden"}},b.createElement(ot.a,{htmlFor:d,id:p},f.current.getLocaleText("filterPanelOperators")),b.createElement(Y.a,{labelId:p,id:d,value:a,onChange:j,disabled:!!c,native:!0},b.createElement("option",{key:Ri.And.toString(),value:Ri.And.toString()},f.current.getLocaleText("filterPanelOperatorAnd")),b.createElement("option",{key:Ri.Or.toString(),value:Ri.Or.toString()},f.current.getLocaleText("filterPanelOperatorOr")))),b.createElement(it.a,{variant:"standard",sx:{width:150}},b.createElement(ot.a,{htmlFor:m,id:v},f.current.getLocaleText("filterPanelColumns")),b.createElement(Y.a,{labelId:v,id:m,value:r.columnField||"",onChange:M,native:!0},h.map((function(t){return b.createElement("option",{key:t.field,value:t.field},t.headerName||t.field)})))),b.createElement(it.a,{variant:"standard",sx:{width:120}},b.createElement(ot.a,{htmlFor:g,id:y},f.current.getLocaleText("filterPanelOperators")),b.createElement(Y.a,{labelId:y,id:g,value:r.operatorValue,onChange:C,native:!0,inputRef:S},null===(e=null==k?void 0:k.filterOperators)||void 0===e?void 0:e.map((function(t){return b.createElement("option",{key:t.value,value:t.value},t.label||f.current.getLocaleText("filterOperator".concat(Object(P.a)(t.value))))})))),b.createElement(it.a,{variant:"standard",sx:{width:190}},(null==E?void 0:E.InputComponent)?b.createElement(E.InputComponent,Object.assign({apiRef:f,item:r,applyValue:o,focusElementRef:_},E.InputComponentProps)):null))}var qo=b.forwardRef((function(t,e){var r=t.onClick,n=gt(t,["onClick"]),i=ft(),o=mt(),a=lr(i,fo),s=a.open,c=a.openedPanelValue;return o.disableColumnSelector?null:b.createElement(et.a,Object.assign({ref:e,size:"small",color:"primary","aria-label":i.current.getLocaleText("toolbarColumnsLabel"),startIcon:b.createElement(o.components.ColumnSelectorIcon,null)},n,{onClick:function(t){s&&c===co.columns?i.current.hidePreferences():i.current.showPreferences(co.columns),null==r||r(t)}}),i.current.getLocaleText("toolbarColumns"))})),Vo=b.forwardRef((function(t,e){var r=t.onClick,n=gt(t,["onClick"]),i=ft(),o=mt(),a=lr(i,$r),s=Object(T.a)(),c=Object(T.a)(),u=b.useState(!1),l=Object(m.a)(u,2),f=l[0],h=l[1],d=b.useRef(null),p=Object(j.a)(e,d),v=[{icon:b.createElement(o.components.DensityCompactIcon,null),label:i.current.getLocaleText("toolbarDensityCompact"),value:Li.Compact},{icon:b.createElement(o.components.DensityStandardIcon,null),label:i.current.getLocaleText("toolbarDensityStandard"),value:Li.Standard},{icon:b.createElement(o.components.DensityComfortableIcon,null),label:i.current.getLocaleText("toolbarDensityComfortable"),value:Li.Comfortable}],g=b.useMemo((function(){switch(a){case Li.Compact:return b.createElement(o.components.DensityCompactIcon,null);case Li.Comfortable:return b.createElement(o.components.DensityComfortableIcon,null);default:return b.createElement(o.components.DensityStandardIcon,null)}}),[a,o]),y=function(){return h(!1)};if(o.disableDensitySelector)return null;var w=v.map((function(t,e){return b.createElement(X.a,{key:e,onClick:function(){return e=t.value,i.current.setDensity(e),void h(!1);var e},selected:t.value===a},b.createElement($.a,null,t.icon),t.label)}));return b.createElement(b.Fragment,null,b.createElement(et.a,Object.assign({ref:p,color:"primary",size:"small",startIcon:g,"aria-label":i.current.getLocaleText("toolbarDensityLabel"),"aria-expanded":f?"true":void 0,"aria-haspopup":"menu","aria-labelledby":c,id:s},n,{onClick:function(t){h(!0),null==r||r(t)}}),i.current.getLocaleText("toolbarDensity")),b.createElement(Wn,{open:f,target:d.current,onClickAway:y,position:"bottom-start"},b.createElement(z.a,{id:c,className:dt.menuList,"aria-labelledby":s,onKeyDown:function(t){Zn(t.key)&&t.preventDefault(),si(t.key)&&y()},autoFocusItem:f},w)))})),Go=Object(_.a)("ul",{name:"MuiDataGrid",slot:"ToolbarFilterList",overridesResolver:function(t,e){return e.toolbarFilterList}})((function(t){var e=t.theme;return{margin:e.spacing(1,1,.5),padding:e.spacing(0,1)}})),Yo=b.forwardRef((function(t,e){var r=t.componentsProps,n=void 0===r?{}:r,i=gt(t,["componentsProps"]),o=n.button||{},a=ft(),s=mt(),c=lr(a,Hr),u=lr(a,kr),l=lr(a,fo),f=function(t){var e=t.classes;return Object(O.a)({root:["toolbarFilterList"]},ht,e)}({classes:s.classes}),h=b.useMemo((function(){return l.open?a.current.getLocaleText("toolbarFiltersTooltipHide"):0===c.length?a.current.getLocaleText("toolbarFiltersTooltipShow"):b.createElement("div",null,a.current.getLocaleText("toolbarFiltersTooltipActive")(c.length),b.createElement(Go,{className:f.root},c.map((function(t,e){return Object.assign({},u[t.columnField]&&b.createElement("li",{key:e},"".concat(u[t.columnField].headerName||t.columnField,"\n                  ").concat(function(t){return u[t.columnField].filterOperators.find((function(e){return e.value===t.operatorValue})).label||a.current.getLocaleText("filterOperator".concat(Object(P.a)(t.operatorValue))).toString()}(t),"\n                  ").concat(t.value)))}))))}),[a,l.open,c,u,f]);return s.disableColumnFilter?null:b.createElement(J.a,Object.assign({title:h,enterDelay:1e3},i),b.createElement(et.a,Object.assign({ref:e,size:"small",color:"primary","aria-label":a.current.getLocaleText("toolbarFiltersLabel"),startIcon:b.createElement(Z.a,{badgeContent:c.length,color:"primary"},b.createElement(s.components.OpenFilterButtonIcon,null))},o,{onClick:function(t){var e,r=l.open,n=l.openedPanelValue;r&&n===co.filters?a.current.hideFilterPanel():a.current.showFilterPanel(),null===(e=o.onClick)||void 0===e||e.call(o,t)}}),a.current.getLocaleText("toolbarFilters")))})),Xo=b.forwardRef((function(t,e){var r=t.csvOptions,n=t.printOptions,i=t.onClick,o=gt(t,["csvOptions","printOptions","onClick"]),a=ft(),s=mt(),c=Object(T.a)(),u=Object(T.a)(),l=b.useState(!1),f=Object(m.a)(l,2),h=f[0],d=f[1],p=b.useRef(null),v=Object(j.a)(e,p),g=[{label:a.current.getLocaleText("toolbarExportCSV"),format:"csv",formatOptions:r},{label:a.current.getLocaleText("toolbarExportPrint"),format:"print",formatOptions:n}],y=function(){return d(!1)},w=function(t){return function(){switch(t.format){case"csv":a.current.exportDataAsCsv(t.formatOptions);break;case"print":a.current.exportDataAsPrint(t.formatOptions)}d(!1)}};return b.createElement(b.Fragment,null,b.createElement(et.a,Object.assign({ref:v,color:"primary",size:"small",startIcon:b.createElement(s.components.ExportIcon,null),"aria-expanded":h?"true":void 0,"aria-label":a.current.getLocaleText("toolbarExportLabel"),"aria-haspopup":"menu","aria-labelledby":u,id:c},o,{onClick:function(t){d(!0),null==i||i(t)}}),a.current.getLocaleText("toolbarExport")),b.createElement(Wn,{open:h,target:p.current,onClickAway:y,position:"bottom-start"},b.createElement(z.a,{id:u,className:dt.menuList,"aria-labelledby":c,onKeyDown:function(t){Zn(t.key)&&t.preventDefault(),si(t.key)&&y()},autoFocusItem:h},g.map((function(t,e){return b.createElement(X.a,{key:e,onClick:w(t)},t.label)})))))})),$o=(b.forwardRef((function(t,e){var r=gt(t,["className"]),n=mt();return n.disableColumnFilter&&n.disableColumnSelector&&n.disableDensitySelector?null:b.createElement(Ji,Object.assign({ref:e},r),b.createElement(qo,null),b.createElement(Yo,null),b.createElement(Vo,null),b.createElement(Xo,null))})),Object(_.a)("div",{name:"MuiDataGrid",slot:"RowCount",overridesResolver:function(t,e){return e.rowCount}})((function(t){return{alignItems:"center",display:"flex",margin:t.theme.spacing(0,2)}}))),Ko=b.forwardRef((function(t,e){var r=t.className,n=t.rowCount,i=t.visibleRowCount,o=gt(t,["className","rowCount","visibleRowCount"]),a=ft(),s=function(t){var e=t.classes;return Object(O.a)({root:["rowCount"]},ht,e)}({classes:mt().classes});if(0===n)return null;var c=i<n?a.current.getLocaleText("footerTotalVisibleRows")(i,n):n.toLocaleString();return b.createElement($o,Object.assign({ref:e,className:Object(I.a)(s.root,r)},o),a.current.getLocaleText("footerTotalRows")," ",c)})),Zo=Object(_.a)("div",{name:"MuiDataGrid",slot:"SelectedRowCount",overridesResolver:function(t,e){return e.selectedRowCount}})((function(t){var e=t.theme;return Object(u.a)({alignItems:"center",display:"flex",margin:e.spacing(0,2),visibility:"hidden",width:0,height:0},e.breakpoints.up("sm"),{visibility:"visible",width:"auto",height:"auto"})})),Jo=b.forwardRef((function(t,e){var r=t.className,n=t.selectedRowCount,i=gt(t,["className","selectedRowCount"]),o=ft(),a=function(t){var e=t.classes;return Object(O.a)({root:["selectedRowCount"]},ht,e)}({classes:mt().classes}),s=o.current.getLocaleText("footerRowSelected")(n);return b.createElement(Zo,Object.assign({ref:e,className:Object(I.a)(a.root,r)},i),s)})),Qo=b.forwardRef((function(t,e){var r,n=ft(),i=mt(),o=lr(n,dr),a=lr(n,Vr),s=lr(n,zr),c=!i.hideFooterSelectedRowCount&&a>0?b.createElement(Jo,{selectedRowCount:a}):b.createElement("div",null),u=i.hideFooterRowCount||i.pagination?null:b.createElement(Ko,{rowCount:o,visibleRowCount:s}),l=i.pagination&&!i.hideFooterPagination&&i.components.Pagination&&b.createElement(i.components.Pagination,Object.assign({},null===(r=i.componentsProps)||void 0===r?void 0:r.pagination));return b.createElement(Vi,Object.assign({ref:e},t),c,u,l)})),ta=b.forwardRef((function(t,e){var r,n,i=mt();return b.createElement("div",Object.assign({ref:e},t),b.createElement(i.components.PreferencesPanel,Object.assign({},null===(r=i.componentsProps)||void 0===r?void 0:r.preferencesPanel)),i.components.Toolbar&&b.createElement(i.components.Toolbar,Object.assign({},null===(n=i.componentsProps)||void 0===n?void 0:n.toolbar)))})),ea=b.forwardRef((function(t,e){return b.createElement(Ki,Object.assign({ref:e},t),b.createElement(at.a,null))})),ra=b.forwardRef((function(t,e){var r=ft().current.getLocaleText("noRowsLabel");return b.createElement(Ki,Object.assign({ref:e},t),r)})),na=Object(_.a)(st.a)((function(t){var e,r=t.theme;return e={},Object(u.a)(e,"& .".concat(ct.a.selectLabel),Object(u.a)({display:"none"},r.breakpoints.up("sm"),{display:"block"})),Object(u.a)(e,"& .".concat(ct.a.input),Object(u.a)({display:"none"},r.breakpoints.up("sm"),{display:"inline-flex"})),e})),ia=b.forwardRef((function(t,e){var r,n=ft(),i=mt(),o=lr(n,bi),a=b.useMemo((function(){return Math.floor(o.rowCount/(o.pageSize||1))}),[o.rowCount,o.pageSize]),s=b.useCallback((function(t){var e=Number(t.target.value);n.current.setPageSize(e)}),[n]),c=b.useCallback((function(t,e){n.current.setPage(e)}),[n]);return b.createElement(na,Object.assign({ref:e,component:"div",count:o.rowCount,page:o.page<=a?o.page:a,rowsPerPageOptions:(null===(r=i.rowsPerPageOptions)||void 0===r?void 0:r.includes(o.pageSize))?i.rowsPerPageOptions:[],rowsPerPage:o.pageSize,onPageChange:c,onRowsPerPageChange:s},n.current.getLocaleText("MuiTablePagination"),t))})),oa=function(t){var e=t.width,r=t.height;if(!e||!r)return null;var n={width:e,height:r};return b.createElement("div",{className:"MuiDataGrid-cell",style:n})};var aa,sa=Object(_.a)("div",{name:"MuiDataGrid",slot:"ScrollArea",overridesResolver:function(t,e){return[Object(u.a)({},"&.".concat(dt["scrollArea--left"]),e["scrollArea--left"]),Object(u.a)({},"&.".concat(dt["scrollArea--right"]),e["scrollArea--right"]),e.scrollArea]}})((function(){var t;return t={position:"absolute",top:0,zIndex:101,width:20,bottom:0},Object(u.a)(t,"&.".concat(dt["scrollArea--left"]),{left:0}),Object(u.a)(t,"&.".concat(dt["scrollArea--right"]),{right:0}),t})),ca=b.memo((function(t){var e=t.scrollDirection,r=b.useRef(null),n=ft(),i=b.useRef(),a=b.useState(!1),s=Object(m.a)(a,2),c=s[0],u=s[1],l=lr(n,Zr),f=b.useRef({left:0,top:0}),h=mt(),d=function(t){var e=t.scrollDirection,r=t.classes;return Object(O.a)({root:["scrollArea","scrollArea--".concat(e)]},ht,r)}(Object.assign(Object.assign({},t),{classes:h.classes})),p=b.useCallback((function(t){f.current=t}),[]),v=b.useCallback((function(t){var o;if("left"===e)o=t.clientX-r.current.getBoundingClientRect().right;else{if("right"!==e)throw new Error("MUI: Wrong drag direction");o=Math.max(1,t.clientX-r.current.getBoundingClientRect().left)}o=1.5*(o-1)+1,clearTimeout(i.current),i.current=setTimeout((function(){n.current.scroll({left:f.current.left+o,top:f.current.top})}))}),[e,n]);b.useEffect((function(){return function(){clearTimeout(i.current)}}),[]);var g=b.useCallback((function(){u((function(t){return!t}))}),[]);return Gi(n,o.rowsScroll,p),Gi(n,o.columnHeaderDragStart,g),Gi(n,o.columnHeaderDragEnd,g),c?b.createElement(sa,{ref:r,className:Object(I.a)(d.root),onDragOver:v,style:{height:l}}):null})),ua=function(t){return t.columnMenu};Object(L.a)((function(t){return t.columnReorder}),(function(t){return t.dragCol})),Object(L.a)((function(t){return t.columnResize}),(function(t){return t.resizingColumnField}));!function(t){t.hydrateColumns="hydrateColumns"}(aa||(aa={}));var la=function(t){var e=b.useRef(!0);e.current&&(e.current=!1,t())},fa=function(t,e){var r={},n=0,i=e;if(t.all.forEach((function(e){var o,a,s=Object.assign({},t.lookup[e]);if(s.hide)s.computedWidth=0;else{var c,u=null!==(o=s.minWidth)&&void 0!==o?o:zn.minWidth;s.flex&&s.flex>0?(n+=s.flex,c=u):c=Math.max(null!==(a=s.width)&&void 0!==a?a:zn.width,u),i-=c,s.computedWidth=c}r[e]=s})),n>0&&i>0){var o=i/n;t.all.forEach((function(t){var e=r[t];!e.hide&&e.flex&&e.flex>0&&(r[t].computedWidth+=o*e.flex)}))}return Object.assign(Object.assign({},t),{lookup:r})},ha=function(t){var e,r,n,i,o,a=t.columnsToUpsert,s=t.columnsTypes,c=t.apiRef;if(t.reset)o={all:[],lookup:{}};else{var u=_r(c.current.state);o={all:Object(l.a)(u.all),lookup:Object.assign({},u.lookup)}}a.forEach((function(t){null==o.lookup[t.field]?(o.lookup[t.field]=Object.assign(Object.assign({},function(t,e){return e?t[e]:t.__default__}(s,t.type)),t),o.all.push(t.field)):o.lookup[t.field]=Object.assign(Object.assign({},o.lookup[t.field]),t)}));var f=c.current.unstable_applyPreProcessors(aa.hydrateColumns,o);return fa(f,null!==(i=null===(n=null===(r=(e=c.current).getRootDimensions)||void 0===r?void 0:r.call(e))||void 0===n?void 0:n.viewportInnerSize.width)&&void 0!==i?i:0)},da=function(t){return t.editRows},pa=function(){function t(){Object(f.a)(this,t),this.maxListeners=10,this.warnOnce=!1,this.events={}}return Object(h.a)(t,[{key:"on",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.events[t];n||(n={highPriority:new Map,regular:new Map},this.events[t]=n),r.isFirst?n.highPriority.set(e,!0):n.regular.set(e,!0)}},{key:"removeListener",value:function(t,e){this.events[t]&&(this.events[t].regular.delete(e),this.events[t].highPriority.delete(e))}},{key:"removeAllListeners",value:function(){this.events={}}},{key:"emit",value:function(t){var e=this.events[t];if(e){for(var r=Array.from(e.highPriority.keys()),n=Array.from(e.regular.keys()),i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(var s=r.length-1;s>=0;s-=1){var c=r[s];e.highPriority.has(c)&&c.apply(this,o)}for(var u=0;u<n.length;u+=1){var l=n[u];e.regular.has(l)&&l.apply(this,o)}}}},{key:"once",value:function(t,e){var r=this;this.on(t,(function n(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r.removeListener(t,n),e.apply(r,o)}))}}]),t}();var ma=function(t,e,r,n,i){var a=sr(t,"useNativeEventListener"),s=b.useState(!1),c=Object(m.a)(s,2),u=c[0],l=c[1],f=b.useRef(n),h=b.useCallback((function(t){return f.current&&f.current(t)}),[]);b.useEffect((function(){f.current=n}),[n]),b.useEffect((function(){var n;if((n=ir(e)?e():e&&e.current?e.current:null)&&h&&r&&!u){a.debug("Binding native ".concat(r," event")),n.addEventListener(r,h,i);var s=n;l(!0);t.current.subscribeEvent(o.unmount,(function(){a.debug("Clearing native ".concat(r," event")),s.removeEventListener(r,h,i)}))}}),[e,h,r,u,a,i,t])},ba={autoHeight:!1,autoPageSize:!1,checkboxSelection:!1,checkboxSelectionVisibleOnly:!1,columnBuffer:3,rowBuffer:3,columnThreshold:3,rowThreshold:3,density:Li.Standard,disableExtendRowFullWidth:!1,disableColumnFilter:!1,disableColumnMenu:!1,disableColumnReorder:!1,disableColumnResize:!1,disableColumnSelector:!1,disableDensitySelector:!1,disableMultipleColumnsFiltering:!1,disableChildrenFiltering:!1,disableMultipleSelection:!1,disableMultipleColumnsSorting:!1,disableChildrenSorting:!1,disableSelectionOnClick:!1,disableVirtualization:!1,editMode:Ei.Cell,filterMode:Bi,headerHeight:56,hideFooter:!1,hideFooterPagination:!1,hideFooterRowCount:!1,hideFooterSelectedRowCount:!1,logger:console,logLevel:"error",pagination:!1,paginationMode:Bi,rowHeight:52,rowsPerPageOptions:[25,50,100],treeData:!1,defaultGroupingExpansionDepth:0,scrollEndThreshold:80,showCellRightBorder:!1,showColumnRightBorder:!1,sortingOrder:["asc","desc",null],sortingMode:Bi,throttleRowsMs:0},va=b.memo((function(t){var e=mt(),r="asc"===Object(m.a)(e.sortingOrder,1)[0]?e.components.ColumnSortedAscendingIcon:e.components.ColumnSortedDescendingIcon;return r?b.createElement(r,Object.assign({},t)):null})),ga=b.forwardRef((function(t,e){var r=t.message,n=(t.hasError,t.errorInfo,gt(t,["message","hasError","errorInfo"])),i=ft().current.getLocaleText("errorOverlayDefaultLabel");return b.createElement(Ki,Object.assign({ref:e},n),r||i)})),ya=b.forwardRef((function(t,e){var r=ft().current.getLocaleText("noResultsOverlayLabel");return b.createElement(Ki,Object.assign({ref:e},t),r)})),wa={BooleanCellTrueIcon:On,BooleanCellFalseIcon:vn,ColumnMenuIcon:bn,OpenFilterButtonIcon:un,ColumnFilteredIcon:ln,ColumnSelectorIcon:fn,ColumnUnsortedIcon:va,ColumnSortedAscendingIcon:on,ColumnSortedDescendingIcon:an,ColumnResizeIcon:hn,DensityCompactIcon:dn,DensityStandardIcon:pn,DensityComfortableIcon:mn,ExportIcon:xn,MoreActionsIcon:_n,TreeDataCollapseIcon:cn,TreeDataExpandIcon:sn},xa=Object.assign(Object.assign({},wa),{Cell:function(t){var e=t.align,r=t.children,n=t.colIndex,i=t.cellMode,a=t.field,s=t.formattedValue,c=t.hasFocus,u=t.height,l=t.isEditable,f=t.rowId,h=t.tabIndex,d=t.value,p=t.width,m=t.className,v=t.showRightBorder,g=(t.extendRowFullWidth,t.row,t.onClick),y=t.onDoubleClick,w=t.onMouseDown,x=t.onMouseUp,_=t.onKeyDown,S=t.onDragEnter,k=t.onDragOver,E=gt(t,["align","children","colIndex","cellMode","field","formattedValue","hasFocus","height","isEditable","rowId","tabIndex","value","width","className","showRightBorder","extendRowFullWidth","row","onClick","onDoubleClick","onMouseDown","onMouseUp","onKeyDown","onDragEnter","onDragOver"]),M=null==s?d:s,C=b.useRef(null),j=ft(),A=function(t){var e=t.align,r=t.showRightBorder,n=t.isEditable,i=t.classes,o={root:["cell","cell--text".concat(Object(P.a)(e)),n&&"cell--editable",r&&"withBorder"]};return Object(O.a)(o,ht,i)}({align:e,showRightBorder:v,isEditable:l,classes:mt().classes}),T=b.useCallback((function(t){return function(e){var r=j.current.getCellParams(f,a||"");j.current.publishEvent(t,r,e),x&&x(e)}}),[j,a,x,f]),R=b.useCallback((function(t,e){return function(r){if(r.currentTarget.contains(r.target)&&j.current.getRow(f)){var n=j.current.getCellParams(f,a||"");j.current.publishEvent(t,n,r),e&&e(r)}}}),[j,a,f]),L={minWidth:p,maxWidth:p,minHeight:u,maxHeight:u,lineHeight:u-1+"px"};return b.useLayoutEffect((function(){if(c&&i!==Mi.Edit){var t=Object(D.a)(j.current.rootElementRef.current);if(C.current&&!C.current.contains(t.activeElement)){var e=C.current.querySelector('[tabindex="0"]')||C.current;if(void 0===Ii&&document.createElement("div").focus({get preventScroll(){return Ii=!0,!1}}),Ii)e.focus({preventScroll:!0});else{var r=j.current.getScrollPosition();e.focus(),j.current.scroll(r)}}}})),b.createElement("div",Object.assign({ref:C,className:Object(I.a)(m,A.root),role:"cell","data-field":a,"data-colindex":n,"aria-colindex":n+1,style:L,tabIndex:"view"!==i&&l?-1:h,onClick:R(o.cellClick,g),onDoubleClick:R(o.cellDoubleClick,y),onMouseDown:R(o.cellMouseDown,w),onMouseUp:T(o.cellMouseUp),onKeyDown:R(o.cellKeyDown,_),onDragEnter:R(o.cellDragEnter,S),onDragOver:R(o.cellDragOver,k)},E),null!=r?r:null==M?void 0:M.toString())},BaseCheckbox:G.a,ColumnMenu:xo,ErrorOverlay:ga,Footer:Qo,Header:ta,Toolbar:null,PreferencesPanel:Ho,LoadingOverlay:ea,NoResultsOverlay:ya,NoRowsOverlay:ra,Pagination:ia,FilterPanel:function(){var t=ft(),e=mt(),r=lr(t,Rr),n=lr(t,jr),i=b.useRef(null),o=b.useCallback((function(e){t.current.upsertFilterItem(e)}),[t]),a=b.useCallback((function(e){t.current.setFilterLinkOperator(e)}),[t]),s=b.useCallback((function(){var t=n.find((function(t){var e;return null===(e=t.filterOperators)||void 0===e?void 0:e.length}));return t?{columnField:t.field,operatorValue:t.filterOperators[0].value,id:Math.round(1e5*Math.random())}:null}),[n]),c=b.useMemo((function(){if(r.items.length)return r.items;var t=s();return t?[t]:[]}),[r.items,s]),u=c.length>1,f=b.useCallback((function(e){t.current.deleteFilterItem(e)}),[t]);return b.useEffect((function(){c.length>0&&i.current.focus()}),[c.length]),b.createElement(Ao,null,b.createElement(_o,null,c.map((function(t,e){return b.createElement(Wo,{key:null==t.id?e:t.id,item:t,applyFilterChanges:o,deleteFilter:f,hasMultipleFilters:u,showMultiFilterOperators:e>0,multiFilterOperator:r.linkOperator,disableMultiFilterOperator:1!==e,applyMultiFilterOperatorChanges:a,focusElementRef:e===c.length-1?i:null})}))),!e.disableMultipleColumnsFiltering&&b.createElement(ko,null,b.createElement(et.a,{onClick:function(){var e=s();e&&t.current.setFilterModel(Object.assign(Object.assign({},r),{items:[].concat(Object(l.a)(c),[e])}))},startIcon:b.createElement(gn,null),color:"primary"},t.current.getLocaleText("filterPanelAddFilter"))))},ColumnsPanel:function(){var t=ft(),e=b.useRef(null),r=lr(t,Er),n=mt(),i=b.useState(""),o=Object(m.a)(i,2),a=o[0],s=o[1],c=function(t){var e=t.classes;return Object(O.a)({root:["columnsPanel"],columnsPanelRow:["columnsPanelRow"]},ht,e)}({classes:n.classes}),u=b.useCallback((function(e){var r=e.target.name,n=t.current.getColumn(r);t.current.setColumnVisibility(r,!!n.hide)}),[t]),l=b.useCallback((function(e){t.current.updateColumns(r.map((function(t){return t.hide=e,t})))}),[t,r]),f=b.useCallback((function(){return l(!1)}),[l]),h=b.useCallback((function(){return l(!0)}),[l]),d=b.useCallback((function(t){s(t.target.value)}),[]),p=b.useMemo((function(){return a?r.filter((function(t){return t.field.toLowerCase().indexOf(a.toLowerCase())>-1||t.headerName&&t.headerName.toLowerCase().indexOf(a.toLowerCase())>-1})):r}),[r,a]);return b.useEffect((function(){e.current.focus()}),[]),b.createElement(Ao,null,b.createElement(Mo,null,b.createElement(N.a,{label:t.current.getLocaleText("columnsPanelTextFieldLabel"),placeholder:t.current.getLocaleText("columnsPanelTextFieldPlaceholder"),inputRef:e,value:a,onChange:d,variant:"standard",fullWidth:!0})),b.createElement(_o,null,b.createElement(Ro,{className:c.root},p.map((function(e){return b.createElement(Lo,{className:c.columnsPanelRow,key:e.field},b.createElement(rt.a,{control:b.createElement(tt.a,{checked:!e.hide,onClick:u,name:e.field,color:"primary",size:"small"}),label:e.headerName||e.field}),!n.disableColumnReorder&&Po&&b.createElement(Io,{draggable:!0,"aria-label":t.current.getLocaleText("columnsPanelDragIconLabel"),title:t.current.getLocaleText("columnsPanelDragIconLabel"),size:"small",disabled:!0},b.createElement(wn,null)))})))),b.createElement(ko,null,b.createElement(et.a,{onClick:h,color:"primary"},t.current.getLocaleText("columnsPanelHideAllButton")),b.createElement(et.a,{onClick:f,color:"primary"},t.current.getLocaleText("columnsPanelShowAllButton"))))},Panel:zo,Row:function(t){for(var e,r,n,i,a=t.selected,s=t.rowId,c=(t.row,t.index),u=t.style,l=t.rowHeight,f=t.className,h=t.visibleColumns,d=t.renderedColumns,p=t.containerWidth,m=t.firstColumnToRender,v=(t.lastColumnToRender,t.cellFocus),g=t.cellTabIndex,y=t.editRowsState,w=t.onClick,x=t.onDoubleClick,_=gt(t,["selected","rowId","row","index","style","rowHeight","className","visibleColumns","renderedColumns","containerWidth","firstColumnToRender","lastColumnToRender","cellFocus","cellTabIndex","editRowsState","onClick","onDoubleClick"]),S=c+2,k=ft(),E=mt(),M=lr(k,Cr),C=null!==(e=k.current.getRootDimensions())&&void 0!==e?e:{hasScrollX:!1,hasScrollY:!1},j=C.hasScrollX,A=C.hasScrollY,T=function(t){var e=t.editable,r=t.editing,n=t.selected,i=t.classes;return Object(O.a)({root:["row",n&&"selected",e&&"row--editable",r&&"row--editing"]},ht,i)}({selected:a,classes:E.classes,editing:k.current.getRowMode(s)===Ci.Edit,editable:E.editMode===Ei.Row}),P=b.useCallback((function(t,e){return function(r){(1!==r.target.nodeType||r.currentTarget.contains(r.target))&&k.current.getRow(s)&&(k.current.publishEvent(t,k.current.getRowParams(s),r),e&&e(r))}}),[k,s]),D=Object.assign({maxHeight:l,minHeight:l},u),R="function"==typeof E.getRowClassName&&E.getRowClassName(k.current.getRowParams(s)),L=[],N=0;N<d.length;N+=1){var F=d[N],B=m+N,z=B===h.length-1,H=z?!(z&&j&&!A)&&E.disableExtendRowFullWidth:E.showCellRightBorder,U=k.current.getCellParams(s,F.field),W=[];F.cellClassName&&W.push(Object(I.a)("function"==typeof F.cellClassName?F.cellClassName(U):F.cellClassName));var q=y[s]?y[s][F.field]:null,V=null;if(null==q&&F.renderCell&&(V=F.renderCell(Object.assign(Object.assign({},U),{api:k.current})),W.push(Object(I.a)(dt["cell--withRenderer"],null===(r=E.classes)||void 0===r?void 0:r["cell--withRenderer"]))),null!=q&&F.renderEditCell){var G=Object.assign(Object.assign(Object.assign({},U),q),{api:k.current});V=F.renderEditCell(G),W.push(Object(I.a)(dt["cell--editing"],null===(n=E.classes)||void 0===n?void 0:n["cell--editing"]))}E.getCellClassName&&W.push(E.getCellClassName(U));var Y=null!==v&&v.id===s&&v.field===F.field,X=null!==g&&g.id===s&&g.field===F.field&&"view"===U.cellMode?0:-1;L.push(b.createElement(E.components.Cell,Object.assign({key:N,value:U.value,field:F.field,width:F.computedWidth,rowId:s,height:l,showRightBorder:H,formattedValue:U.formattedValue,align:F.align||"left",cellMode:U.cellMode,colIndex:B,isEditable:U.isEditable,hasFocus:Y,tabIndex:X,className:Object(I.a)(W)},null===(i=E.componentsProps)||void 0===i?void 0:i.cell),V))}var $=p-M.totalWidth;return b.createElement("div",Object.assign({"data-id":s,"data-rowindex":c,role:"row",className:Object(I.a)(R,T.root,f),"aria-rowindex":S,"aria-selected":a,style:D,onClick:P(o.rowClick,w),onDoubleClick:P(o.rowDoubleClick,x)},_),L,$>0&&b.createElement(oa,{width:$,height:l}))}}),Oa=function(t,e){var r;return{components:{MuiDataGrid:{defaultProps:{localeText:Object.assign(Object.assign({},t),{MuiTablePagination:(null===(r=null==e?void 0:e.components)||void 0===r?void 0:r.MuiTablePagination.defaultProps)||{}})}}}}},_a=(Oa({noRowsLabel:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0635\u0641\u0648\u0641",noResultsOverlayLabel:"\u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0646\u062a\u0627\u0626\u062c.",errorOverlayDefaultLabel:"\u062d\u062f\u062b \u062e\u0637\u0623.",toolbarDensity:"\u0643\u062b\u0627\u0641\u0629",toolbarDensityLabel:"\u0643\u062b\u0627\u0641\u0629",toolbarDensityCompact:"\u0645\u062f\u0645\u062c",toolbarDensityStandard:"\u0627\u0644\u0645\u0639\u064a\u0627\u0631",toolbarDensityComfortable:"\u0645\u0631\u064a\u062d",toolbarColumns:"\u0627\u0644\u0623\u0639\u0645\u062f\u0629",toolbarColumnsLabel:"\u062d\u062f\u062f \u0627\u0644\u0623\u0639\u0645\u062f\u0629",toolbarFilters:"\u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersLabel:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipHide:"\u0625\u062e\u0641\u0627\u0621 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipShow:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",toolbarFiltersTooltipActive:function(t){return"".concat(t," \u0641\u0644\u0627\u062a\u0631 \u0646\u0634\u0637\u0629")},toolbarExport:"\u062a\u0635\u062f\u064a\u0631",toolbarExportLabel:"\u062a\u0635\u062f\u064a\u0631",toolbarExportCSV:"\u062a\u0646\u0632\u064a\u0644 \u0643\u0645\u0644\u0641 CSV",columnsPanelTextFieldLabel:"\u0627\u064a\u062c\u0627\u062f \u0639\u0645\u0648\u062f",columnsPanelTextFieldPlaceholder:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0639\u0645\u0648\u062f",columnsPanelDragIconLabel:"\u0625\u0639\u0627\u062f\u0629 \u062a\u0631\u062a\u064a\u0628 \u0627\u0644\u0639\u0645\u0648\u062f",columnsPanelShowAllButton:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644",columnsPanelHideAllButton:"\u0627\u062e\u0641\u0627\u0621 \u0627\u0644\u0643\u0644",filterPanelAddFilter:"\u0627\u0636\u0641 \u0641\u0644\u062a\u0631",filterPanelDeleteIconLabel:"\u062d\u0630\u0641",filterPanelOperators:"\u0627\u0644\u0639\u0627\u0645\u0644\u064a\u0646",filterPanelOperatorAnd:"\u0648",filterPanelOperatorOr:"\u0627\u0648",filterPanelColumns:"\u0627\u0644\u0623\u0639\u0645\u062f\u0629",filterPanelInputLabel:"\u0642\u064a\u0645\u0629",filterPanelInputPlaceholder:"\u0642\u064a\u0645\u0629 \u0627\u0644\u062a\u0635\u0641\u064a\u0629",filterOperatorContains:"\u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649",filterOperatorEquals:"\u064a\u0633\u0627\u0648\u064a",filterOperatorStartsWith:"\u064a\u0628\u062f\u0623 \u0628",filterOperatorEndsWith:"\u064a\u0646\u062a\u0647\u064a \u0628\u0640",filterOperatorIs:"\u064a\u0643\u0648\u0646",filterOperatorNot:"\u0644\u064a\u0633",filterOperatorAfter:"\u064a\u0643\u0648\u0646 \u0628\u0639\u062f",filterOperatorOnOrAfter:"\u0641\u064a \u0623\u0648 \u0628\u0639\u062f",filterOperatorBefore:"\u064a\u0643\u0648\u0646",filterOperatorOnOrBefore:"\u0641\u064a \u0623\u0648 \u0642\u0628\u0644",filterOperatorIsEmpty:"\u0641\u0627\u0631\u063a",filterOperatorIsNotEmpty:"\u0644\u064a\u0633 \u0641\u0627\u0631\u063a\u0627",filterValueAny:"\u0623\u064a",filterValueTrue:"\u0635\u062d\u064a\u062d",filterValueFalse:"\u062e\u0627\u0637\u0626\u0629",columnMenuLabel:"\u0627\u0644\u0642\u0627\u0626\u0645\u0629",columnMenuShowColumns:"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0623\u0639\u0645\u062f\u0629",columnMenuFilter:"\u0641\u0644\u062a\u0631",columnMenuHideColumn:"\u0625\u062e\u0641\u0627\u0621",columnMenuUnsort:"\u063a\u064a\u0631 \u0645\u0631\u062a\u0628",columnMenuSortAsc:"\u0627\u0644\u062a\u0631\u062a\u064a\u0628 \u062d\u0633\u0628 ASC",columnMenuSortDesc:"\u0627\u0644\u062a\u0631\u062a\u064a\u0628 \u062d\u0633\u0628 DESC",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," \u0641\u0644\u0627\u062a\u0631 \u0646\u0634\u0637\u0629")},columnHeaderFiltersLabel:"\u0627\u0638\u0647\u0631 \u0627\u0644\u0641\u0644\u0627\u062a\u0631",columnHeaderSortIconLabel:"\u062a\u0631\u062a\u064a\u0628",footerRowSelected:function(t){return"".concat(t.toLocaleString()," \u0635\u0641\u0648\u0641 \u0645\u062e\u062a\u0627\u0631\u0629")},footerTotalRows:"\u0625\u062c\u0645\u0627\u0644\u064a \u0627\u0644\u0635\u0641\u0648\u0641:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u0645\u0646 ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u062a\u062d\u062f\u064a\u062f",booleanCellTrueLabel:"\u0635\u062d\u064a\u062d",booleanCellFalseLabel:"\u062e\u0627\u0637\u0626\u0629"},ut.a),Oa({noRowsLabel:"\u041d\u044f\u043c\u0430 \u0440\u0435\u0434\u043e\u0432\u0435",errorOverlayDefaultLabel:"\u0412\u044a\u0437\u043d\u0438\u043a\u043d\u0430 \u0433\u0440\u0435\u0448\u043a\u0430.",toolbarDensity:"\u0413\u044a\u0441\u0442\u043e\u0442\u0430",toolbarDensityLabel:"\u0413\u044a\u0441\u0442\u043e\u0442\u0430",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430",toolbarColumns:"\u041a\u043e\u043b\u043e\u043d\u0438",toolbarColumnsLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0438",toolbarFilters:"\u0424\u0438\u043b\u0442\u0440\u0438",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipHide:"\u0421\u043a\u0440\u0438\u0439 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",toolbarFiltersTooltipActive:function(t){return"".concat(t," \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u0444\u0438\u043b\u0442\u0440\u0438")},columnsPanelTextFieldLabel:"\u041d\u0430\u043c\u0435\u0440\u0438 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043b\u0430\u0432\u0438\u0435 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelDragIconLabel:"\u041f\u0440\u0435\u043d\u0430\u0440\u0435\u0434\u0438 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0412\u0441\u0438\u0447\u043a\u0438",columnsPanelHideAllButton:"\u0421\u043a\u0440\u0438\u0439 \u0412\u0441\u0438\u0447\u043a\u0438",filterPanelAddFilter:"\u0414\u043e\u0431\u0430\u0432\u0438 \u0424\u0438\u043b\u0442\u044a\u0440",filterPanelDeleteIconLabel:"\u0418\u0437\u0442\u0440\u0438\u0439",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438",filterPanelOperatorAnd:"\u0418",filterPanelOperatorOr:"\u0418\u043b\u0438",filterPanelColumns:"\u041a\u043e\u043b\u043e\u043d\u0438",filterPanelInputLabel:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442",filterPanelInputPlaceholder:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442 \u043d\u0430 \u0444\u0438\u043b\u0442\u044a\u0440\u0430",filterOperatorContains:"\u0441\u044a\u0434\u044a\u0440\u0436\u0430",filterOperatorEquals:"\u0440\u0430\u0432\u043d\u043e",filterOperatorStartsWith:"\u0437\u0430\u043f\u043e\u0447\u0432\u0430 \u0441",filterOperatorEndsWith:"\u0437\u0430\u0432\u044a\u0440\u0448\u0432\u0430 \u0441",filterOperatorIs:"\u0435",filterOperatorNot:"\u043d\u0435 \u0435",filterOperatorAfter:"\u0435 \u0441\u043b\u0435\u0434",filterOperatorOnOrAfter:"\u0435 \u043d\u0430 \u0438\u043b\u0438 \u0441\u043b\u0435\u0434",filterOperatorBefore:"\u0435 \u043f\u0440\u0435\u0434\u0438",filterOperatorOnOrBefore:"\u0435 \u043d\u0430 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u0438",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0436\u0438 \u043a\u043e\u043b\u043e\u043d\u0438\u0442\u0435",columnMenuFilter:"\u0424\u0438\u043b\u0442\u0440\u0438",columnMenuHideColumn:"\u0421\u043a\u0440\u0438\u0439",columnMenuUnsort:"\u041e\u0442\u043c\u0435\u043d\u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435\u0442\u043e",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439 \u043f\u043e \u0432\u044a\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439 \u043f\u043e \u043d\u0438\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," \u0430\u043a\u0442\u0438\u0432\u043d\u0438 \u0444\u0438\u043b\u0442\u0440\u0438")},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0436\u0438 \u0424\u0438\u043b\u0442\u0440\u0438\u0442\u0435",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u0439",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u0438\u0437\u0431\u0440\u0430\u043d\u0438 \u0440\u0435\u0434\u043e\u0432\u0435":" \u0438\u0437\u0431\u0440\u0430\u043d \u0440\u0435\u0434")},footerTotalRows:"\u041e\u0431\u0449\u043e R\u0435\u0434\u043e\u0432\u0435:"},ut.b),Oa({noRowsLabel:"\u017d\xe1dn\xe9 z\xe1znamy",noResultsOverlayLabel:"Nena\u0161li se \u017eadn\xe9 v\xfdsledky.",errorOverlayDefaultLabel:"Stala sa nep\u0159edv\xeddan\xe1 chyba.",toolbarDensity:"Hustota",toolbarDensityLabel:"Hustota",toolbarDensityCompact:"Kompaktn\xed",toolbarDensityStandard:"Standartn\xed",toolbarDensityComfortable:"Komfortn\xed",toolbarColumns:"Sloupce",toolbarColumnsLabel:"Vybrat sloupec",toolbarFilters:"Filtry",toolbarFiltersLabel:"Zobrazit filtry",toolbarFiltersTooltipHide:"Skr\xfdt filtry",toolbarFiltersTooltipShow:"Zobrazit filtry",toolbarFiltersTooltipActive:function(t){var e="aktivn\xedch filtr\u016f";return t>1&&t<5?e="aktivn\xed filtry":1===t&&(e="aktivn\xed filtr"),"".concat(t," ").concat(e)},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"St\xe1hnout jako CSV",columnsPanelTextFieldLabel:"Naj\xedt sloupec",columnsPanelTextFieldPlaceholder:"N\xe1zev sloupce",columnsPanelDragIconLabel:"Uspo\u0159\xe1dat sloupce",columnsPanelShowAllButton:"Zobrazit v\u0161e",columnsPanelHideAllButton:"Skr\xfdt v\u0161e",filterPanelAddFilter:"P\u0159idat filtr",filterPanelDeleteIconLabel:"Odstranit",filterPanelOperators:"Oper\xe1tory",filterPanelOperatorAnd:"A",filterPanelOperatorOr:"Nebo",filterPanelColumns:"Sloupce",filterPanelInputLabel:"Hodnota",filterPanelInputPlaceholder:"Hodnota filtru",filterOperatorContains:"obsahuje",filterOperatorEquals:"rovn\xe1 se",filterOperatorStartsWith:"za\u010d\xedn\xe1 s",filterOperatorEndsWith:"kon\u010d\xed na",filterOperatorIs:"je",filterOperatorNot:"nen\xed",filterOperatorAfter:"je po",filterOperatorOnOrAfter:"je na nebo po",filterOperatorBefore:"je p\u0159ed",filterOperatorOnOrBefore:"je na nebo d\u0159\xedve",filterValueAny:"jak\xfdkoliv",filterValueTrue:"ano",filterValueFalse:"ne",columnMenuLabel:"Menu",columnMenuShowColumns:"Zobrazit sloupce",columnMenuFilter:"Filtr",columnMenuHideColumn:"Skr\xfdt",columnMenuUnsort:"Zru\u0161it filtry",columnMenuSortAsc:"Se\u0159adit vzestupn\u011b",columnMenuSortDesc:"Se\u0159adit sestupn\u011b",columnHeaderFiltersTooltipActive:function(t){var e="aktivn\xedch filtr\u016f";return t>1&&t<5?e="aktivn\xed filtry":1===t&&(e="aktivn\xed filtr"),"".concat(t," ").concat(e)},columnHeaderFiltersLabel:"Zobrazit filtry",columnHeaderSortIconLabel:"Filtrovat",footerRowSelected:function(t){var e="vybran\xfdch z\xe1znam\u016f";return t>1&&t<5?e="vybran\xe9 z\xe1znamy":1===t&&(e="vybran\xfd z\xe1znam"),"".concat(t," ").concat(e)},footerTotalRows:"Celkem \u0159\xe1dk\u016f:",checkboxSelectionHeaderName:"V\xfdb\u011br \u0159\xe1dku",booleanCellTrueLabel:"ano",booleanCellFalseLabel:"ne"},ut.c),Oa({noRowsLabel:"Keine Eintr\xe4ge",noResultsOverlayLabel:"Keine Ergebnisse gefunden.",errorOverlayDefaultLabel:"Ein unerwarteter Fehler ist aufgetreten.",toolbarDensity:"Zeilenh\xf6he",toolbarDensityLabel:"Zeilenh\xf6he",toolbarDensityCompact:"Kompakt",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Breit",toolbarColumns:"Spalten",toolbarColumnsLabel:"Zeige Spaltenauswahl",toolbarFilters:"Filter",toolbarFiltersLabel:"Zeige Filter",toolbarFiltersTooltipHide:"Verberge Filter",toolbarFiltersTooltipShow:"Zeige Filter",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" aktive Filter":" aktiver Filter")},toolbarExport:"Exportieren",toolbarExportLabel:"Exportieren",toolbarExportCSV:"Download als CSV",toolbarExportPrint:"Drucken",columnsPanelTextFieldLabel:"Finde Spalte",columnsPanelTextFieldPlaceholder:"Spalten\xfcberschrift",columnsPanelDragIconLabel:"Spalte umsortieren",columnsPanelShowAllButton:"Zeige alle",columnsPanelHideAllButton:"Verberge alle",filterPanelAddFilter:"Filter hinzuf\xfcgen",filterPanelDeleteIconLabel:"L\xf6schen",filterPanelOperators:"Operatoren",filterPanelOperatorAnd:"Und",filterPanelOperatorOr:"Oder",filterPanelColumns:"Spalten",filterPanelInputLabel:"Wert",filterPanelInputPlaceholder:"Wert filtern",filterOperatorContains:"enth\xe4lt",filterOperatorEquals:"ist gleich",filterOperatorStartsWith:"beginnt mit",filterOperatorEndsWith:"endet mit",filterOperatorIs:"ist",filterOperatorNot:"ist nicht",filterOperatorAfter:"ist nach",filterOperatorOnOrAfter:"ist am oder nach",filterOperatorBefore:"ist vor",filterOperatorOnOrBefore:"ist am oder vor",filterOperatorIsEmpty:"ist leer",filterOperatorIsNotEmpty:"ist nicht leer",filterValueAny:"Beliebig",filterValueTrue:"Ja",filterValueFalse:"Nein",columnMenuLabel:"Men\xfc",columnMenuShowColumns:"Zeige alle Spalten",columnMenuFilter:"Filter",columnMenuHideColumn:"Verbergen",columnMenuUnsort:"Sortierung deaktivieren",columnMenuSortAsc:"Sortiere aufsteigend",columnMenuSortDesc:"Sortiere absteigend",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" aktive Filter":" aktiver Filter")},columnHeaderFiltersLabel:"Zeige Filter",columnHeaderSortIconLabel:"Sortieren",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" Eintr\xe4ge ausgew\xe4hlt":" Eintrag ausgew\xe4hlt")},footerTotalRows:"Gesamt:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," von ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Checkbox Auswahl",booleanCellTrueLabel:"Ja",booleanCellFalseLabel:"Nein",actionsCellMore:"Mehr",treeDataGroupingHeaderName:"Gruppe",treeDataExpand:"Kinder einblenden",treeDataCollapse:"Kinder ausblenden"},ut.d),Oa({noRowsLabel:"\u0394\u03b5\u03bd \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03c5\u03bd \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2",noResultsOverlayLabel:"\u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03b1\u03c0\u03bf\u03c4\u03b5\u03bb\u03ad\u03c3\u03bc\u03b1\u03c4\u03b1.",errorOverlayDefaultLabel:"\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03b1\u03c0\u03c1\u03cc\u03b2\u03bb\u03b5\u03c0\u03c4\u03bf \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1.",toolbarDensity:"\u038e\u03c8\u03bf\u03c2 \u03c3\u03b5\u03b9\u03c1\u03ac\u03c2",toolbarDensityLabel:"\u038e\u03c8\u03bf\u03c2 \u03c3\u03b5\u03b9\u03c1\u03ac\u03c2",toolbarDensityCompact:"\u03a3\u03c5\u03bc\u03c0\u03b1\u03b3\u03ae\u03c2",toolbarDensityStandard:"\u03a0\u03c1\u03bf\u03ba\u03b1\u03b8\u03bf\u03c1\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf",toolbarDensityComfortable:"\u03a0\u03bb\u03b1\u03c4\u03cd",toolbarColumns:"\u03a3\u03c4\u03ae\u03bb\u03b5\u03c2",toolbarColumnsLabel:"\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c3\u03c4\u03ae\u03bb\u03b5\u03c2",toolbarFilters:"\u03a6\u03af\u03bb\u03c4\u03c1\u03b1",toolbarFiltersLabel:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipHide:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipShow:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c6\u03af\u03bb\u03c4\u03c1\u03b1":" \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc \u03c6\u03af\u03bb\u03c4\u03c1\u03bf")},toolbarExport:"\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae",toolbarExportLabel:"\u0395\u03be\u03b1\u03b3\u03c9\u03b3\u03ae",toolbarExportCSV:"\u039b\u03ae\u03c8\u03b7 \u03c9\u03c2 CSV",columnsPanelTextFieldLabel:"\u0395\u03cd\u03c1\u03b5\u03c3\u03b7 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelTextFieldPlaceholder:"\u0395\u03c0\u03b9\u03ba\u03b5\u03c6\u03b1\u03bb\u03af\u03b4\u03b1 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelDragIconLabel:"\u0391\u03bd\u03b1\u03b4\u03b9\u03ac\u03c4\u03b1\u03be\u03b7 \u03c3\u03c4\u03ae\u03bb\u03b7\u03c2",columnsPanelShowAllButton:"\u03a0\u03c1\u03bf\u03b2\u03bf\u03bb\u03ae \u03cc\u03bb\u03c9\u03bd",columnsPanelHideAllButton:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7 \u03cc\u03bb\u03c9\u03bd",filterPanelAddFilter:"\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5",filterPanelDeleteIconLabel:"\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae",filterPanelOperators:"\u03a4\u03b5\u03bb\u03b5\u03c3\u03c4\u03ad\u03c2",filterPanelOperatorAnd:"\u039a\u03b1\u03af",filterPanelOperatorOr:"\u0389",filterPanelColumns:"\u03a3\u03c4\u03ae\u03bb\u03b5\u03c2",filterPanelInputLabel:"\u03a4\u03b9\u03bc\u03ae",filterPanelInputPlaceholder:"\u03a4\u03b9\u03bc\u03ae \u03c6\u03af\u03bb\u03c4\u03c1\u03bf\u03c5",filterOperatorContains:"\u03c0\u03b5\u03c1\u03b9\u03ad\u03c7\u03b5\u03b9",filterOperatorEquals:"\u03b9\u03c3\u03bf\u03cd\u03c4\u03b1\u03b9",filterOperatorStartsWith:"\u03be\u03b5\u03ba\u03b9\u03bd\u03ac\u03b5\u03b9 \u03bc\u03b5",filterOperatorEndsWith:"\u03c4\u03b5\u03bb\u03b5\u03b9\u03ce\u03bd\u03b5\u03b9 \u03bc\u03b5",filterOperatorIs:"\u03b5\u03af\u03bd\u03b1\u03b9",filterOperatorNot:"\u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9",filterOperatorAfter:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03bc\u03b5\u03c4\u03ac",filterOperatorOnOrAfter:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03af\u03c3\u03bf \u03ae \u03bc\u03b5\u03c4\u03ac",filterOperatorBefore:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03c0\u03c1\u03b9\u03bd",filterOperatorOnOrBefore:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03af\u03c3\u03bf \u03ae \u03c0\u03c1\u03b9\u03bd",filterOperatorIsEmpty:"\u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03b5\u03bd\u03cc",filterOperatorIsNotEmpty:"\u03b4\u03b5\u03bd \u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03b5\u03bd\u03cc",columnMenuLabel:"\u039c\u03b5\u03bd\u03bf\u03cd",columnMenuShowColumns:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bb\u03ce\u03bd",columnMenuFilter:"\u03a6\u03af\u03bb\u03c4\u03c1\u03bf",columnMenuHideColumn:"\u0391\u03c0\u03cc\u03ba\u03c1\u03c5\u03c8\u03b7",columnMenuUnsort:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7\u03c2",columnMenuSortAsc:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03b1\u03cd\u03be\u03bf\u03c5\u03c3\u03b1 \u03c3\u03b5\u03b9\u03c1\u03ac",columnMenuSortDesc:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03b5 \u03c6\u03b8\u03af\u03bd\u03bf\u03c5\u03c3\u03b1 \u03c3\u03b5\u03b9\u03c1\u03ac",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u03b5\u03bd\u03b5\u03c1\u03b3\u03ac \u03c6\u03af\u03bb\u03c4\u03c1\u03b1":" \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc \u03c6\u03af\u03bb\u03c4\u03c1\u03bf")},columnHeaderFiltersLabel:"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03c6\u03af\u03bb\u03c4\u03c1\u03c9\u03bd",columnHeaderSortIconLabel:"\u03a4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b5\u03c2 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ad\u03c2":" \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03b7 \u03b3\u03c1\u03b1\u03bc\u03bc\u03ae")},footerTotalRows:"\u03a3\u03cd\u03bd\u03bf\u03bb\u03bf \u0393\u03c1\u03b1\u03bc\u03bc\u03ce\u03bd:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u03b1\u03c0\u03cc ").concat(e.toLocaleString())},actionsCellMore:"\u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b1"}),Oa(Do,ut.e),Oa({noRowsLabel:"Sin filas",errorOverlayDefaultLabel:"Ha ocurrido un error.",toolbarDensity:"Densidad",toolbarDensityLabel:"Densidad",toolbarDensityCompact:"Compacta",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comoda",toolbarColumns:"Columnas",toolbarColumnsLabel:"Seleccionar columnas",toolbarFilters:"Filtros",toolbarFiltersLabel:"Mostrar filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Mostrar filtros",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtros activos":" filtro activo")},toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Descargar como CSV",columnsPanelTextFieldLabel:"Columna de b\xfasqueda",columnsPanelTextFieldPlaceholder:"T\xedtulo de columna",columnsPanelDragIconLabel:"Reorder columna",columnsPanelShowAllButton:"Mostrar todo",columnsPanelHideAllButton:"Ocultar todo",filterPanelAddFilter:"Agregar filtro",filterPanelDeleteIconLabel:"Borrar",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"Y",filterPanelOperatorOr:"O",filterPanelColumns:"Columnas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Valor de filtro",filterOperatorContains:"contiene",filterOperatorEquals:"es igual",filterOperatorStartsWith:"comienza con",filterOperatorEndsWith:"termina con",filterOperatorIs:"es",filterOperatorNot:"no es",filterOperatorAfter:"es posterior",filterOperatorOnOrAfter:"es en o posterior",filterOperatorBefore:"es anterior",filterOperatorOnOrBefore:"es en o anterior",filterOperatorIsEmpty:"est\xe1 vac\xedo",filterOperatorIsNotEmpty:"no esta vac\xedo",columnMenuLabel:"Men\xfa",columnMenuShowColumns:"Mostrar columnas",columnMenuFilter:"Filtro",columnMenuHideColumn:"Ocultar",columnMenuUnsort:"Desordenar",columnMenuSortAsc:"Ordenar ASC",columnMenuSortDesc:"Ordenar DESC",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtros activos":" filtro activo")},columnHeaderFiltersLabel:"Mostrar filtros",columnHeaderSortIconLabel:"Ordenar",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" filas seleccionadas":" fila seleccionada")},footerTotalRows:"Filas Totales:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," de ").concat(e.toLocaleString())},actionsCellMore:"m\xe1s"},ut.f),Oa({noRowsLabel:"\u0628\u062f\u0648\u0646 \u0633\u0637\u0631",noResultsOverlayLabel:"\u0646\u062a\u06cc\u062c\u0647 \u0627\u06cc \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f.",errorOverlayDefaultLabel:"\u062e\u0637\u0627\u06cc\u06cc \u0631\u0648\u06cc \u062f\u0627\u062f.",toolbarDensity:"\u062a\u0631\u0627\u06a9\u0645",toolbarDensityLabel:"\u062a\u0631\u0627\u06a9\u0645",toolbarDensityCompact:"\u0641\u0634\u0631\u062f\u0647",toolbarDensityStandard:"\u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f",toolbarDensityComfortable:"\u0631\u0627\u062d\u062a",toolbarColumns:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627",toolbarColumnsLabel:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f",toolbarFilters:"\u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersLabel:"\u0646\u0645\u0627\u06cc\u0634 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersTooltipHide:"\u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersTooltipShow:"\u0646\u0645\u0627\u06cc\u0634 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0641\u06cc\u0644\u062a\u0631\u0647\u0627\u06cc \u0641\u0639\u0627\u0644":" \u0641\u06cc\u0644\u062a\u0631 \u0641\u0639\u0627\u0644")},toolbarExport:"\u062e\u0631\u0648\u062c\u06cc",toolbarExportLabel:"\u062e\u0631\u0648\u062c\u06cc",toolbarExportCSV:"\u062f\u0627\u0646\u0644\u0648\u062f \u0628\u0647\u200c\u0635\u0648\u0631\u062a CSV",columnsPanelTextFieldLabel:"\u067e\u06cc\u062f\u0627\u06a9\u0631\u062f\u0646 \u0633\u062a\u0648\u0646",columnsPanelTextFieldPlaceholder:"\u0639\u0646\u0648\u0627\u0646 \u0633\u062a\u0648\u0646",columnsPanelDragIconLabel:"\u062c\u0627\u200c\u0628\u0647\u200c\u062c\u0627\u06cc\u06cc \u0633\u062a\u0648\u0646",columnsPanelShowAllButton:"\u0646\u0645\u0627\u06cc\u0634 \u0647\u0645\u0647",columnsPanelHideAllButton:"\u0645\u062e\u0641\u06cc \u0647\u0645\u0647",filterPanelAddFilter:"\u0627\u0641\u0632\u0648\u062f\u0646 \u0641\u06cc\u0644\u062a\u0631",filterPanelDeleteIconLabel:"\u062d\u0630\u0641",filterPanelOperators:"\u0639\u0645\u0644\u06af\u0631\u0647\u0627",filterPanelOperatorAnd:"\u0648",filterPanelOperatorOr:"\u06cc\u0627",filterPanelColumns:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627",filterPanelInputLabel:"\u0645\u0642\u062f\u0627\u0631",filterPanelInputPlaceholder:"\u0641\u06cc\u0644\u062a\u0631 \u0645\u0642\u062f\u0627\u0631",filterOperatorContains:"\u0634\u0627\u0645\u0644",filterOperatorEquals:"\u0645\u0633\u0627\u0648\u06cc",filterOperatorStartsWith:"\u0634\u0631\u0648\u0639 \u0628\u0627",filterOperatorEndsWith:"\u067e\u0627\u06cc\u0627\u0646 \u0628\u0627",filterOperatorIs:"\u0647\u0633\u062a",filterOperatorNot:"\u0646\u06cc\u0633\u062a",filterOperatorAfter:"\u0628\u0639\u062f \u0627\u0632",filterOperatorOnOrAfter:"\u0645\u0639\u0627\u062f\u0644 \u06cc\u0627 \u0628\u0639\u062f\u0634",filterOperatorBefore:"\u0642\u0628\u0644\u0634",filterOperatorOnOrBefore:"\u0645\u0639\u0627\u062f\u0644 \u06cc\u0627 \u0642\u0628\u0644\u0634",filterOperatorIsEmpty:"\u062e\u0627\u0644\u06cc \u0627\u0633\u062a",filterOperatorIsNotEmpty:"\u062e\u0627\u0644\u06cc \u0646\u06cc\u0633\u062a",filterValueAny:"\u0647\u0631\u0686\u06cc\u0632\u06cc",filterValueTrue:"\u0635\u062d\u06cc\u062d",filterValueFalse:"\u063a\u0644\u0637",columnMenuLabel:"\u0641\u0647\u0631\u0633\u062a",columnMenuShowColumns:"\u0646\u0645\u0627\u06cc\u0634 \u0633\u062a\u0648\u0646\u200c\u0647\u0627",columnMenuFilter:"\u0641\u06cc\u0644\u062a\u0631",columnMenuHideColumn:"\u0645\u062e\u0641\u06cc",columnMenuUnsort:"\u0646\u0627\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646",columnMenuSortAsc:"\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646 \u0635\u0639\u0648\u062f\u06cc",columnMenuSortDesc:"\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646 \u0646\u0632\u0648\u0644\u06cc",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0641\u06cc\u0644\u062a\u0631\u200c\u0647\u0627\u06cc \u0641\u0639\u0627\u0644":" \u0641\u06cc\u0644\u062a\u0631 \u0641\u0639\u0627\u0644")},columnHeaderFiltersLabel:"\u0646\u0645\u0627\u06cc\u0634 \u0641\u06cc\u0644\u062a\u0631\u0647\u0627",columnHeaderSortIconLabel:"\u0645\u0631\u062a\u0628\u200c\u06a9\u0631\u062f\u0646",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u0633\u0637\u0631\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647":" \u0633\u0637\u0631 \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647")},footerTotalRows:"\u0645\u062c\u0645\u0648\u0639 \u0633\u0637\u0631\u0647\u0627:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u0627\u0632 ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u0627\u0646\u062a\u062e\u0627\u0628 \u0686\u06a9\u200c\u0628\u0627\u06a9\u0633",booleanCellTrueLabel:"\u0635\u062d\u06cc\u062d",booleanCellFalseLabel:"\u063a\u0644\u0637",actionsCellMore:"\u0628\u06cc\u0634\u062a\u0631"},ut.g),Oa({noRowsLabel:"Pas de r\xe9sultats",noResultsOverlayLabel:"Aucun r\xe9sultat.",errorOverlayDefaultLabel:"Une erreur est apparue.",toolbarDensity:"Densit\xe9",toolbarDensityLabel:"Densit\xe9",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Confortable",toolbarColumns:"Colonnes",toolbarColumnsLabel:"Choisir les colonnes",toolbarFilters:"Filtres",toolbarFiltersLabel:"Afficher les filtres",toolbarFiltersTooltipHide:"Cacher les filtres",toolbarFiltersTooltipShow:"Afficher les filtres",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtres actifs":" filtre actif")},toolbarExport:"Exporter",toolbarExportLabel:"Exporter",toolbarExportCSV:"T\xe9l\xe9charger en CSV",columnsPanelTextFieldLabel:"Chercher colonne",columnsPanelTextFieldPlaceholder:"Titre de la colonne",columnsPanelDragIconLabel:"R\xe9organiser la colonne",columnsPanelShowAllButton:"Tout afficher",columnsPanelHideAllButton:"Tout cacher",filterPanelAddFilter:"Ajouter un filtre",filterPanelDeleteIconLabel:"Supprimer",filterPanelOperators:"Op\xe9rateurs",filterPanelOperatorAnd:"Et",filterPanelOperatorOr:"Ou",filterPanelColumns:"Colonnes",filterPanelInputLabel:"Valeur",filterPanelInputPlaceholder:"Filtrer la valeur",filterOperatorContains:"contient",filterOperatorEquals:"\xe9gal \xe0",filterOperatorStartsWith:"commence par",filterOperatorEndsWith:"se termine par",filterOperatorIs:"est",filterOperatorNot:"n'est pas",filterOperatorAfter:"post\xe9rieur",filterOperatorOnOrAfter:"\xe9gal ou post\xe9rieur",filterOperatorBefore:"ant\xe9rieur",filterOperatorOnOrBefore:"\xe9gal ou ant\xe9rieur",filterOperatorIsEmpty:"est vide",filterOperatorIsNotEmpty:"n'est pas vide",columnMenuLabel:"Menu",columnMenuShowColumns:"Afficher les colonnes",columnMenuFilter:"Filtrer",columnMenuHideColumn:"Cacher",columnMenuUnsort:"Annuler le tri",columnMenuSortAsc:"Tri ascendant",columnMenuSortDesc:"Tri descendant",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtres actifs":" filtre actif")},columnHeaderFiltersLabel:"Afficher les filtres",columnHeaderSortIconLabel:"Trier",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" lignes s\xe9lectionn\xe9es":" ligne s\xe9lectionn\xe9e")},footerTotalRows:"Lignes totales :",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," sur ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"S\xe9lection",actionsCellMore:"Plus",treeDataGroupingHeaderName:"Groupe",treeDataExpand:"afficher les enfants",treeDataCollapse:"masquer les enfants"},ut.h),Oa({noRowsLabel:"\u05d0\u05d9\u05df \u05e9\u05d5\u05e8\u05d5\u05ea",noResultsOverlayLabel:"\u05dc\u05d0 \u05e0\u05de\u05e6\u05d0\u05d5 \u05ea\u05d5\u05e6\u05d0\u05d5\u05ea.",errorOverlayDefaultLabel:"\u05d0\u05d9\u05e8\u05e2\u05d4 \u05e9\u05d2\u05d9\u05d0\u05d4.",toolbarDensity:"\u05e6\u05e4\u05d9\u05e4\u05d5\u05ea",toolbarDensityLabel:"\u05e6\u05e4\u05d9\u05e4\u05d5\u05ea",toolbarDensityCompact:"\u05d3\u05d7\u05d5\u05e1\u05d4",toolbarDensityStandard:"\u05e8\u05d2\u05d9\u05dc\u05d4",toolbarDensityComfortable:"\u05d0\u05d5\u05d5\u05e8\u05d9\u05e8\u05d9\u05ea",toolbarColumns:"\u05e2\u05de\u05d5\u05d3\u05d5\u05ea",toolbarColumnsLabel:"\u05d1\u05d7\u05e8 \u05e2\u05de\u05d5\u05d3\u05d5\u05ea",toolbarFilters:"\u05e1\u05d9\u05e0\u05d5\u05df",toolbarFiltersLabel:"\u05d4\u05e6\u05d2 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",toolbarFiltersTooltipHide:"\u05d4\u05e1\u05ea\u05e8 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",toolbarFiltersTooltipShow:"\u05d4\u05e6\u05d2 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",toolbarFiltersTooltipActive:function(t){return 1!==t?"".concat(t," \u05de\u05e1\u05e0\u05e0\u05d9\u05dd \u05e4\u05e2\u05d9\u05dc\u05d9\u05dd"):"\u05de\u05e1\u05e0\u05df \u05d0\u05d7\u05d3 \u05e4\u05e2\u05d9\u05dc"},toolbarExport:"\u05d9\u05d9\u05e6\u05d5\u05d0",toolbarExportLabel:"\u05d9\u05d9\u05e6\u05d5\u05d0",toolbarExportCSV:"\u05d4\u05d5\u05e8\u05d3\u05d4 \u05db- CSV",toolbarExportPrint:"\u05d4\u05d3\u05e4\u05e1\u05d4",columnsPanelTextFieldLabel:"\u05d7\u05e4\u05e9 \u05e2\u05de\u05d5\u05d3\u05d4",columnsPanelTextFieldPlaceholder:"\u05db\u05d5\u05ea\u05e8\u05ea \u05e2\u05de\u05d5\u05d3\u05d4",columnsPanelDragIconLabel:"\u05e1\u05d3\u05e8 \u05e2\u05de\u05d5\u05d3\u05d5\u05ea \u05de\u05d7\u05d3\u05e9",columnsPanelShowAllButton:"\u05d4\u05e6\u05d2 \u05d4\u05db\u05dc",columnsPanelHideAllButton:"\u05d4\u05e1\u05ea\u05e8 \u05d4\u05db\u05dc",filterPanelAddFilter:"\u05d4\u05d5\u05e1\u05e3 \u05de\u05e1\u05e0\u05df",filterPanelDeleteIconLabel:"\u05de\u05d7\u05e7",filterPanelOperators:"\u05d0\u05d5\u05e4\u05e8\u05d8\u05d5\u05e8",filterPanelOperatorAnd:"\u05d5\u05d2\u05dd",filterPanelOperatorOr:"\u05d0\u05d5",filterPanelColumns:"\u05e2\u05de\u05d5\u05d3\u05d5\u05ea",filterPanelInputLabel:"\u05e2\u05e8\u05da",filterPanelInputPlaceholder:"\u05e2\u05e8\u05da \u05de\u05e1\u05e0\u05df",filterOperatorContains:"\u05de\u05db\u05d9\u05dc",filterOperatorEquals:"\u05e9\u05d5\u05d5\u05d4",filterOperatorStartsWith:"\u05de\u05ea\u05d7\u05d9\u05dc \u05d1-",filterOperatorEndsWith:"\u05e0\u05d2\u05de\u05e8 \u05d1-",filterOperatorIs:"\u05d4\u05d9\u05e0\u05d5",filterOperatorNot:"\u05d0\u05d9\u05e0\u05d5",filterOperatorAfter:"\u05d0\u05d7\u05e8\u05d9",filterOperatorOnOrAfter:"\u05d1- \u05d0\u05d5 \u05d0\u05d7\u05e8\u05d9",filterOperatorBefore:"\u05dc\u05e4\u05e0\u05d9",filterOperatorOnOrBefore:"\u05d1- \u05d0\u05d5 \u05dc\u05e4\u05e0\u05d9",filterOperatorIsEmpty:"\u05e8\u05d9\u05e7",filterOperatorIsNotEmpty:"\u05d0\u05d9\u05e0\u05d5 \u05e8\u05d9\u05e7",filterValueAny:"\u05db\u05dc \u05e2\u05e8\u05da",filterValueTrue:"\u05db\u05df",filterValueFalse:"\u05dc\u05d0",columnMenuLabel:"\u05ea\u05e4\u05e8\u05d9\u05d8",columnMenuShowColumns:"\u05d4\u05e6\u05d2 \u05e2\u05de\u05d5\u05d3\u05d5\u05ea",columnMenuFilter:"\u05e1\u05e0\u05df",columnMenuHideColumn:"\u05d4\u05e1\u05ea\u05e8",columnMenuUnsort:"\u05d1\u05d8\u05dc \u05de\u05d9\u05d5\u05df",columnMenuSortAsc:"\u05de\u05d9\u05d9\u05df \u05d1\u05e1\u05d3\u05e8 \u05e2\u05d5\u05dc\u05d4",columnMenuSortDesc:"\u05de\u05d9\u05d9\u05df \u05d1\u05e1\u05d3\u05e8 \u05d9\u05d5\u05e8\u05d3",columnHeaderFiltersTooltipActive:function(t){return 1!==t?"".concat(t," \u05de\u05e1\u05e0\u05e0\u05d9\u05dd \u05e4\u05e2\u05d9\u05dc\u05d9\u05dd"):"\u05de\u05e1\u05e0\u05df \u05d0\u05d7\u05d3 \u05e4\u05e2\u05d9\u05dc"},columnHeaderFiltersLabel:"\u05d4\u05e6\u05d2 \u05de\u05e1\u05e0\u05e0\u05d9\u05dd",columnHeaderSortIconLabel:"\u05de\u05d9\u05d9\u05df",footerRowSelected:function(t){return 1!==t?"".concat(t.toLocaleString()," \u05e9\u05d5\u05e8\u05d5\u05ea \u05e0\u05d1\u05d7\u05e8\u05d5"):"\u05e9\u05d5\u05e8\u05d4 \u05d0\u05d7\u05ea \u05e0\u05d1\u05d7\u05e8\u05d4"},footerTotalRows:"\u05e1\u05da \u05d4\u05db\u05dc \u05e9\u05d5\u05e8\u05d5\u05ea: ",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u05de\u05ea\u05d5\u05da ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u05d1\u05d7\u05d9\u05e8\u05d4",booleanCellTrueLabel:"\u05db\u05df",booleanCellFalseLabel:"\u05dc\u05d0",actionsCellMore:"\u05e2\u05d5\u05d3",treeDataGroupingHeaderName:"\u05e7\u05d1\u05e5",treeDataExpand:"\u05d4\u05e8\u05d7\u05d1",treeDataCollapse:"\u05d4\u05e1\u05ea\u05e8"},ut.i),Oa({noRowsLabel:"Nessun record",noResultsOverlayLabel:"Nessun record trovato.",errorOverlayDefaultLabel:"Si \xe8 verificato un errore.",toolbarDensity:"Densit\xe0",toolbarDensityLabel:"Densit\xe0",toolbarDensityCompact:"Compatta",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comoda",toolbarColumns:"Colonne",toolbarColumnsLabel:"Seleziona le colonne",toolbarFilters:"Filtri",toolbarFiltersLabel:"Mostra i filtri",toolbarFiltersTooltipHide:"Nascondi i filtri",toolbarFiltersTooltipShow:"Mostra i filtri",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtri attivi":" filtro attivo")},toolbarExport:"Esporta",toolbarExportLabel:"Esporta",toolbarExportCSV:"Esporta in CSV",columnsPanelTextFieldLabel:"Cerca colonna",columnsPanelTextFieldPlaceholder:"Titolo della colonna",columnsPanelDragIconLabel:"Riordina la colonna",columnsPanelShowAllButton:"Mostra tutto",columnsPanelHideAllButton:"Nascondi tutto",filterPanelAddFilter:"Aggiungi un filtro",filterPanelDeleteIconLabel:"Rimuovi",filterPanelOperators:"Operatori",filterPanelOperatorAnd:"E (and)",filterPanelOperatorOr:"O (or)",filterPanelColumns:"Colonne",filterPanelInputLabel:"Valore",filterPanelInputPlaceholder:"Filtra il valore",filterOperatorContains:"contiene",filterOperatorEquals:"uguale a",filterOperatorStartsWith:"comincia per",filterOperatorEndsWith:"termina per",filterOperatorIs:"uguale a",filterOperatorNot:"diversa da",filterOperatorAfter:"dopo il",filterOperatorOnOrAfter:"a partire dal",filterOperatorBefore:"prima del",filterOperatorOnOrBefore:"fino al",filterOperatorIsEmpty:"\xe8 vuoto",filterOperatorIsNotEmpty:"non \xe8 vuoto",columnMenuLabel:"Menu",columnMenuShowColumns:"Mostra le colonne",columnMenuFilter:"Filtra",columnMenuHideColumn:"Nascondi",columnMenuUnsort:"Annulla l'ordinamento",columnMenuSortAsc:"Ordinamento crescente",columnMenuSortDesc:"Ordinamento decrescente",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" filtri attivi":" filtro attivo")},columnHeaderFiltersLabel:"Mostra i filtri",columnHeaderSortIconLabel:"Ordina",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" record selezionati":" record selezionato")},footerTotalRows:"Record totali:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," di ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Seleziona",actionsCellMore:"pi\xf9"},ut.j),Oa({noRowsLabel:"\u884c\u304c\u3042\u308a\u307e\u305b\u3093\u3002",noResultsOverlayLabel:"\u7d50\u679c\u304c\u3042\u308a\u307e\u305b\u3093\u3002",errorOverlayDefaultLabel:"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002",toolbarDensity:"\u884c\u9593\u9694",toolbarDensityLabel:"\u884c\u9593\u9694",toolbarDensityCompact:"\u30b3\u30f3\u30d1\u30af\u30c8",toolbarDensityStandard:"\u6a19\u6e96",toolbarDensityComfortable:"\u3072\u308d\u3081",toolbarColumns:"\u5217\u4e00\u89a7",toolbarColumnsLabel:"\u5217\u9078\u629e",toolbarFilters:"\u30d5\u30a3\u30eb\u30bf\u30fc",toolbarFiltersLabel:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",toolbarFiltersTooltipHide:"\u30d5\u30a3\u30eb\u30bf\u30fc\u975e\u8868\u793a",toolbarFiltersTooltipShow:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",toolbarFiltersTooltipActive:function(t){return"".concat(t,"\u4ef6\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u4e2d")},toolbarExport:"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",toolbarExportLabel:"\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",toolbarExportCSV:"CSV\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",columnsPanelTextFieldLabel:"\u5217\u691c\u7d22",columnsPanelTextFieldPlaceholder:"\u691c\u7d22\u30af\u30a8\u30ea\u3092\u5165\u529b...",columnsPanelDragIconLabel:"\u5217\u4e26\u3079\u66ff\u3048",columnsPanelShowAllButton:"\u3059\u3079\u3066\u8868\u793a",columnsPanelHideAllButton:"\u3059\u3079\u3066\u975e\u8868\u793a",filterPanelAddFilter:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8ffd\u52a0",filterPanelDeleteIconLabel:"\u524a\u9664",filterPanelOperators:"\u30aa\u30da\u30ec\u30fc\u30bf",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"\u5217",filterPanelInputLabel:"\u5024",filterPanelInputPlaceholder:"\u5024\u3092\u5165\u529b...",filterOperatorContains:"...\u3092\u542b\u3080",filterOperatorEquals:"...\u306b\u7b49\u3057\u3044",filterOperatorStartsWith:"...\u3067\u59cb\u307e\u308b",filterOperatorEndsWith:"...\u3067\u7d42\u308f\u308b",filterOperatorIs:"...\u3067\u3042\u308b",filterOperatorNot:"...\u3067\u306a\u3044",filterOperatorAfter:"...\u3088\u308a\u5f8c\u308d",filterOperatorOnOrAfter:"...\u4ee5\u964d",filterOperatorBefore:"...\u3088\u308a\u524d",filterOperatorOnOrBefore:"...\u4ee5\u524d",filterOperatorIsEmpty:"...\u7a7a\u3067\u3042\u308b",filterOperatorIsNotEmpty:"...\u7a7a\u3067\u306a\u3044",columnMenuLabel:"\u30e1\u30cb\u30e5\u30fc",columnMenuShowColumns:"\u5217\u8868\u793a",columnMenuFilter:"\u30d5\u30a3\u30eb\u30bf\u30fc",columnMenuHideColumn:"\u5217\u975e\u8868\u793a",columnMenuUnsort:"\u30bd\u30fc\u30c8\u89e3\u9664",columnMenuSortAsc:"\u6607\u9806\u30bd\u30fc\u30c8",columnMenuSortDesc:"\u964d\u9806\u30bd\u30fc\u30c8",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,"\u4ef6\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u4e2d")},columnHeaderFiltersLabel:"\u30d5\u30a3\u30eb\u30bf\u30fc\u8868\u793a",columnHeaderSortIconLabel:"\u30bd\u30fc\u30c8",footerRowSelected:function(t){return"".concat(t,"\u884c\u3092\u9078\u629e\u4e2d")},footerTotalRows:"\u7dcf\u884c\u6570:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9",booleanCellTrueLabel:"\u771f",booleanCellFalseLabel:"\u507d"},ut.k),Oa({noRowsLabel:"\ud589\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.",noResultsOverlayLabel:"\uacb0\uacfc\uac12\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.",errorOverlayDefaultLabel:"\uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.",toolbarDensity:"\ub77c\uc778 \uac04\uaca9",toolbarDensityLabel:"\ub77c\uc778 \uac04\uaca9",toolbarDensityCompact:"\uc881\uac8c",toolbarDensityStandard:"\uae30\ubcf8",toolbarDensityComfortable:"\ub113\uac8c",toolbarColumns:"\uc5f4 \ubaa9\ub85d",toolbarColumnsLabel:"\uc5f4 \uc120\ud0dd",toolbarFilters:"\ud544\ud130",toolbarFiltersLabel:"\ud544\ud130 \ud45c\uc2dc",toolbarFiltersTooltipHide:"\ud544\ud130 \uc228\uae30\uae30",toolbarFiltersTooltipShow:"\ud544\ud130 \ud45c\uc2dc",toolbarFiltersTooltipActive:function(t){return"".concat(t,"\uac74\uc758 \ud544\ud130\ub97c \uc801\uc6a9\uc911")},toolbarExport:"\ub0b4\ubcf4\ub0b4\uae30",toolbarExportLabel:"\ub0b4\ubcf4\ub0b4\uae30",toolbarExportCSV:"CSV\ub2e4\uc6b4\ub85c\ub4dc",toolbarExportPrint:"\ud504\ub9b0\ud2b8",columnsPanelTextFieldLabel:"\uc5f4 \uac80\uc0c9",columnsPanelTextFieldPlaceholder:"\uc5f4 \uc774\ub984",columnsPanelDragIconLabel:"\uc5f4 \uc815\ub82c",columnsPanelShowAllButton:"\ubaa8\ub450 \ubcf4\uae30",columnsPanelHideAllButton:"\ubaa8\ub450 \uc228\uae30\uae30",filterPanelAddFilter:"\ud544\ud130 \ucd94\uac00",filterPanelDeleteIconLabel:"\uc0ad\uc81c",filterPanelOperators:"\uc5f0\uc0b0\uc790",filterPanelOperatorAnd:"\uadf8\ub9ac\uace0",filterPanelOperatorOr:"\ub610\ub294",filterPanelColumns:"\ubaa9\ub85d",filterPanelInputLabel:"\uac12",filterPanelInputPlaceholder:"\uac12 \uc785\ub825",filterOperatorContains:"\ud3ec\ud568\ud558\ub294",filterOperatorEquals:"\uac12\uc774 \uac19\uc740",filterOperatorStartsWith:"\uc2dc\uc791\ud558\ub294",filterOperatorEndsWith:"\ub05d\ub098\ub294",filterOperatorIs:"~\uc778",filterOperatorNot:"~\uc544\ub2cc",filterOperatorAfter:"\ub354 \uc774\ud6c4",filterOperatorOnOrAfter:"\uc774\ud6c4",filterOperatorBefore:"\ub354 \uc774\uc804",filterOperatorOnOrBefore:"\uc774\uc804",filterOperatorIsEmpty:"\uac12\uc774 \uc5c6\ub294",filterOperatorIsNotEmpty:"\uac12\uc774 \uc788\ub294",filterValueAny:"\uc544\ubb34\uac12",filterValueTrue:"\ucc38",filterValueFalse:"\uac70\uc9d3",columnMenuLabel:"\uba54\ub274",columnMenuShowColumns:"\uc5f4 \ud45c\uc2dc",columnMenuFilter:"\ud544\ud130",columnMenuHideColumn:"\uc5f4 \uc228\uae30\uae30",columnMenuUnsort:"\uc815\ub82c \ud574\uc81c",columnMenuSortAsc:"\uc624\ub984\ucc28\uc21c \uc815\ub82c",columnMenuSortDesc:"\ub0b4\ub9bc\ucc28\uc21c \uc815\ub82c",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,"\uac74\uc758 \ud544\ud130\ub97c \uc801\uc6a9\uc911")},columnHeaderFiltersLabel:"\ud544\ud130 \ud45c\uc2dc",columnHeaderSortIconLabel:"\uc815\ub82c",footerRowSelected:function(t){return"".concat(t,"\ud589 \uc120\ud0dd\uc911")},footerTotalRows:"\ucd1d \ud589\uc218:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\uc120\ud0dd",booleanCellTrueLabel:"\ucc38",booleanCellFalseLabel:"\uac70\uc9d3",actionsCellMore:"\ub354\ubcf4\uae30",treeDataGroupingHeaderName:"\uadf8\ub8f9",treeDataExpand:"\ud558\uc704\ub178\ub4dc \ud3bc\uce58\uae30",treeDataCollapse:"\ud558\uc704\ub178\ub4dc \uc811\uae30"},ut.l),Oa({noRowsLabel:"Geen resultaten.",errorOverlayDefaultLabel:"Er deed zich een fout voor.",toolbarDensity:"Grootte",toolbarDensityLabel:"Grootte",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Normaal",toolbarDensityComfortable:"Breed",toolbarColumns:"Kolommen",toolbarColumnsLabel:"Kies kolommen",toolbarFilters:"Filters",toolbarFiltersLabel:"Toon filters",toolbarFiltersTooltipHide:"Verberg filters",toolbarFiltersTooltipShow:"Toon filters",toolbarFiltersTooltipActive:function(t){return"".concat(t,t>1?" actieve filters":" filter actief")},columnsPanelTextFieldLabel:"Zoek kolom",columnsPanelTextFieldPlaceholder:"Kolomtitel",columnsPanelDragIconLabel:"Kolom herschikken",columnsPanelShowAllButton:"Alles tonen",columnsPanelHideAllButton:"Alles verbergen",filterPanelAddFilter:"Filter toevoegen",filterPanelDeleteIconLabel:"Verwijderen",filterPanelOperators:"Operatoren",filterPanelOperatorAnd:"En",filterPanelOperatorOr:"Of",filterPanelColumns:"Kolommen",filterPanelInputLabel:"Waarde",filterPanelInputPlaceholder:"Filter waarde",filterOperatorContains:"bevat",filterOperatorEquals:"gelijk aan",filterOperatorStartsWith:"begint met",filterOperatorEndsWith:"eindigt met",filterOperatorIs:"is",filterOperatorNot:"is niet",filterOperatorAfter:"is voor",filterOperatorOnOrAfter:"is gelijk of er voor",filterOperatorBefore:"is na",filterOperatorOnOrBefore:"is gelijk of er na",columnMenuLabel:"Menu",columnMenuShowColumns:"Toon kolommen",columnMenuFilter:"Filteren",columnMenuHideColumn:"Verbergen",columnMenuUnsort:"Annuleer sortering",columnMenuSortAsc:"Oplopend sorteren",columnMenuSortDesc:"Aflopend sorteren",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,t>1?" actieve filters":" filter actief")},columnHeaderFiltersLabel:"Toon filters",columnHeaderSortIconLabel:"Sorteren",footerRowSelected:function(t){return"".concat(t.toLocaleString(),t>1?" rijen geselecteerd":" rij geselecteerd")},footerTotalRows:"Totaal:"},ut.m),Oa({noRowsLabel:"Brak danych",noResultsOverlayLabel:"Nie znaleziono wynik\xf3w.",errorOverlayDefaultLabel:"Wyst\u0105pi\u0142 b\u0142\u0105d.",toolbarDensity:"Wysoko\u015b\u0107 rz\u0119du",toolbarDensityLabel:"Wysoko\u015b\u0107 rz\u0119du",toolbarDensityCompact:"Kompakt",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Komfort",toolbarColumns:"Kolumny",toolbarColumnsLabel:"Zaznacz kolumny",toolbarFilters:"Filtry",toolbarFiltersLabel:"Poka\u017c filtry",toolbarFiltersTooltipHide:"Ukryj filtry",toolbarFiltersTooltipShow:"Poka\u017c filtry",toolbarFiltersTooltipActive:function(t){return"Liczba aktywnych filtr\xf3w: ".concat(t)},toolbarExport:"Eksportuj",toolbarExportLabel:"Eksportuj",toolbarExportCSV:"Pobierz jako plik CSV",columnsPanelTextFieldLabel:"Znajd\u017a kolumn\u0119",columnsPanelTextFieldPlaceholder:"Tytu\u0142 kolumny",columnsPanelDragIconLabel:"Zmie\u0144 kolejno\u015b\u0107 kolumn",columnsPanelShowAllButton:"Poka\u017c wszystko",columnsPanelHideAllButton:"Ukryj wszystko",filterPanelAddFilter:"Dodaj filtr",filterPanelDeleteIconLabel:"Usu\u0144",filterPanelOperators:"Operator",filterPanelOperatorAnd:"I",filterPanelOperatorOr:"Lub",filterPanelColumns:"Kolumny",filterPanelInputLabel:"Warto\u015b\u0107",filterPanelInputPlaceholder:"Filtrowana warto\u015b\u0107",filterOperatorContains:"zawiera",filterOperatorEquals:"r\xf3wna si\u0119",filterOperatorStartsWith:"zaczyna si\u0119 od",filterOperatorEndsWith:"ko\u0144czy si\u0119 na",filterOperatorIs:"r\xf3wna si\u0119",filterOperatorNot:"r\xf3\u017cne",filterOperatorAfter:"wi\u0119ksze ni\u017c",filterOperatorOnOrAfter:"wi\u0119ksze lub r\xf3wne",filterOperatorBefore:"mniejsze ni\u017c",filterOperatorOnOrBefore:"mniejsze lub r\xf3wne",filterOperatorIsEmpty:"jest pusty",filterOperatorIsNotEmpty:"nie jest pusty",columnMenuLabel:"Menu",columnMenuShowColumns:"Poka\u017c wszystkie kolumny",columnMenuFilter:"Filtr",columnMenuHideColumn:"Ukryj",columnMenuUnsort:"Anuluj sortowanie",columnMenuSortAsc:"Sortuj rosn\u0105co",columnMenuSortDesc:"Sortuj malej\u0105co",columnHeaderFiltersTooltipActive:function(t){return"Liczba aktywnych filtr\xf3w: ".concat(t)},columnHeaderFiltersLabel:"Poka\u017c filtry",columnHeaderSortIconLabel:"Sortuj",footerRowSelected:function(t){return"Liczba wybranych wierszy: ".concat(t.toLocaleString())},footerTotalRows:"\u0141\u0105czna liczba wierszy:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," z ").concat(e.toLocaleString())},actionsCellMore:"wi\u0119cej"},ut.n),Oa({noRowsLabel:"Nenhuma linha",noResultsOverlayLabel:"Nenhum resultado encontrado.",errorOverlayDefaultLabel:"Ocorreu um erro.",toolbarDensity:"Densidade",toolbarDensityLabel:"Densidade",toolbarDensityCompact:"Compacto",toolbarDensityStandard:"Padr\xe3o",toolbarDensityComfortable:"Confort\xe1vel",toolbarColumns:"Colunas",toolbarColumnsLabel:"Exibir seletor de colunas",toolbarFilters:"Filtros",toolbarFiltersLabel:"Exibir filtros",toolbarFiltersTooltipHide:"Ocultar filtros",toolbarFiltersTooltipShow:"Exibir filtros",toolbarFiltersTooltipActive:function(t){return"".concat(t," ").concat(1!==t?"filtros":"filtro"," ").concat(1!==t?"ativos":"ativo")},toolbarExport:"Exportar",toolbarExportLabel:"Exportar",toolbarExportCSV:"Baixar como CSV",toolbarExportPrint:"Print",columnsPanelTextFieldLabel:"Localizar coluna",columnsPanelTextFieldPlaceholder:"T\xedtulo da coluna",columnsPanelDragIconLabel:"Reordenar Coluna",columnsPanelShowAllButton:"Mostrar todas",columnsPanelHideAllButton:"Ocultar todas",filterPanelAddFilter:"Adicionar filtro",filterPanelDeleteIconLabel:"Excluir",filterPanelOperators:"Operadores",filterPanelOperatorAnd:"E",filterPanelOperatorOr:"Ou",filterPanelColumns:"Colunas",filterPanelInputLabel:"Valor",filterPanelInputPlaceholder:"Filtrar valor",filterOperatorContains:"cont\xe9m",filterOperatorEquals:"\xe9 igual a",filterOperatorStartsWith:"come\xe7a com",filterOperatorEndsWith:"termina com",filterOperatorIs:"\xe9",filterOperatorNot:"n\xe3o \xe9",filterOperatorAfter:"ap\xf3s",filterOperatorOnOrAfter:"em ou ap\xf3s",filterOperatorBefore:"antes de",filterOperatorOnOrBefore:"em ou antes de",filterOperatorIsEmpty:"est\xe1 vazio",filterOperatorIsNotEmpty:"n\xe3o est\xe1 vazio",filterValueAny:"qualquer",filterValueTrue:"verdadeiro",filterValueFalse:"falso",columnMenuLabel:"Menu",columnMenuShowColumns:"Exibir colunas",columnMenuFilter:"Filtrar",columnMenuHideColumn:"Ocultar",columnMenuUnsort:"Desfazer ordena\xe7\xe3o",columnMenuSortAsc:"Ordenar do menor para o maior",columnMenuSortDesc:"Ordenar do maior para o menor",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," ").concat(1!==t?"filtros":"filtro"," ").concat(1!==t?"ativos":"ativo")},columnHeaderFiltersLabel:"Exibir Filtros",columnHeaderSortIconLabel:"Ordenar",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" linhas selecionadas":" linha selecionada")},footerTotalRows:"Total de linhas:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," de ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Sele\xe7\xe3o",booleanCellTrueLabel:"sim",booleanCellFalseLabel:"n\xe3o",actionsCellMore:"mais"},ut.o),Oa({noRowsLabel:"\u041d\u0435\u0442 \u0441\u0442\u0440\u043e\u043a",noResultsOverlayLabel:"\u0414\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u044b.",errorOverlayDefaultLabel:"\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0430.",toolbarDensity:"\u0412\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0438",toolbarDensityLabel:"\u0412\u044b\u0441\u043e\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0438",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430\u044f",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0430\u044f",toolbarColumns:"\u0421\u0442\u043e\u043b\u0431\u0446\u044b",toolbarColumnsLabel:"\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u044b",toolbarFilters:"\u0424\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipHide:"\u0421\u043a\u0440\u044b\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",toolbarFiltersTooltipActive:function(t){var e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",r=t%10;return r>1&&r<5?e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u0430":1===r&&(e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440"),"".concat(t," ").concat(e)},toolbarExport:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportLabel:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportCSV:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 CSV",toolbarExportPrint:"\u041f\u0435\u0447\u0430\u0442\u044c",columnsPanelTextFieldLabel:"\u041d\u0430\u0439\u0442\u0438 \u0441\u0442\u043e\u043b\u0431\u0435\u0446",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u043e\u043b\u0431\u0446\u0430",columnsPanelDragIconLabel:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0442\u043e\u043b\u0431\u0446\u0430",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435",columnsPanelHideAllButton:"\u0421\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435",filterPanelAddFilter:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440",filterPanelDeleteIconLabel:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b",filterPanelOperatorAnd:"\u0418",filterPanelOperatorOr:"\u0418\u043b\u0438",filterPanelColumns:"\u0421\u0442\u043e\u043b\u0431\u0446\u044b",filterPanelInputLabel:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435",filterPanelInputPlaceholder:"\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0430",filterOperatorContains:"\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442",filterOperatorEquals:"\u0440\u0430\u0432\u0435\u043d",filterOperatorStartsWith:"\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441",filterOperatorEndsWith:"\u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430",filterOperatorIs:"\u0440\u0430\u0432\u0435\u043d",filterOperatorNot:"\u043d\u0435 \u0440\u0430\u0432\u0435\u043d",filterOperatorAfter:"\u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c",filterOperatorOnOrAfter:"\u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e",filterOperatorBefore:"\u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u043c",filterOperatorOnOrBefore:"\u043c\u0435\u043d\u044c\u0448\u0435 \u0438\u043b\u0438 \u0440\u0430\u0432\u043d\u043e",filterOperatorIsEmpty:"\u043f\u0443\u0441\u0442\u043e\u0439",filterOperatorIsNotEmpty:"\u043d\u0435 \u043f\u0443\u0441\u0442\u043e\u0439",filterValueAny:"\u043b\u044e\u0431\u043e\u0439",filterValueTrue:"\u0438\u0441\u0442\u0438\u043d\u0430",filterValueFalse:"\u043b\u043e\u0436\u044c",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b",columnMenuFilter:"\u0424\u0438\u043b\u044c\u0442\u0440",columnMenuHideColumn:"\u0421\u043a\u0440\u044b\u0442\u044c",columnMenuUnsort:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044e",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044e",columnHeaderFiltersTooltipActive:function(t){var e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",r=t%10;return r>1&&r<5?e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u0430":1===r&&(e="\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440"),"".concat(t," ").concat(e)},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440\u044b",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",footerRowSelected:function(t){var e="\u0441\u0442\u0440\u043e\u043a \u0432\u044b\u0431\u0440\u0430\u043d\u043e",r=t%10;return r>1&&r<5?e="\u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b":1===r&&(e="\u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430"),"".concat(t," ").concat(e)},footerTotalRows:"\u0412\u0441\u0435\u0433\u043e \u0441\u0442\u0440\u043e\u043a:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," \u0438\u0437 ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u0412\u044b\u0431\u043e\u0440 \u0444\u043b\u0430\u0436\u043a\u0430",booleanCellTrueLabel:"\u0438\u0441\u0442\u0438\u043d\u0430",booleanCellFalseLabel:"\u043b\u043e\u0436\u044c",actionsCellMore:"\u0435\u0449\u0451",treeDataGroupingHeaderName:"\u0413\u0440\u0443\u043f\u043f\u0430",treeDataExpand:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b",treeDataCollapse:"\u0441\u043a\u0440\u044b\u0442\u044c \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b"},ut.p),Oa({noRowsLabel:"\u017diadne z\xe1znamy",noResultsOverlayLabel:"Nena\u0161li sa \u017eadne v\xfdsledky.",errorOverlayDefaultLabel:"Stala sa nepredv\xeddan\xe1 chyba.",toolbarDensity:"Hustota",toolbarDensityLabel:"Hustota",toolbarDensityCompact:"Kompaktn\xe1",toolbarDensityStandard:"\u0160tandartn\xe1",toolbarDensityComfortable:"Komfortn\xe1",toolbarColumns:"St\u013apce",toolbarColumnsLabel:"Vybra\u0165 st\u013apce",toolbarFilters:"Filtre",toolbarFiltersLabel:"Zobrazi\u0165 filtre",toolbarFiltersTooltipHide:"Skry\u0165 filtre ",toolbarFiltersTooltipShow:"Zobrazi\u0165 filtre",toolbarFiltersTooltipActive:function(t){var e="akt\xedvnych filtrov";return t>1&&t<5?e="akt\xedvne filtre":1===t&&(e="akt\xedvny filter"),"".concat(t," ").concat(e)},toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Stiahnu\u0165 ako CSV",columnsPanelTextFieldLabel:"N\xe1js\u0165 st\u013apec",columnsPanelTextFieldPlaceholder:"N\xe1zov st\u013apca",columnsPanelDragIconLabel:"Usporiad\u0165 st\u013apce",columnsPanelShowAllButton:"Zobrazi\u0165 v\u0161etko",columnsPanelHideAllButton:"Skry\u0165 v\u0161etko",filterPanelAddFilter:"Prida\u0165 filter",filterPanelDeleteIconLabel:"Odstr\xe1ni\u0165",filterPanelOperators:"Oper\xe1tory",filterPanelOperatorAnd:"A",filterPanelOperatorOr:"Alebo",filterPanelColumns:"St\u013apce",filterPanelInputLabel:"Hodnota",filterPanelInputPlaceholder:"Hodnota filtra",filterOperatorContains:"obsahuje",filterOperatorEquals:"rovn\xe1 sa",filterOperatorStartsWith:"za\u010d\xedna s",filterOperatorEndsWith:"kon\u010d\xed na",filterOperatorIs:"je",filterOperatorNot:"nie je",filterOperatorAfter:"je po",filterOperatorOnOrAfter:"je na alebo po",filterOperatorBefore:"je pred",filterOperatorOnOrBefore:"je na alebo sk\xf4r",filterValueAny:"ak\xfdko\u013evek",filterValueTrue:"\xe1no",filterValueFalse:"nie",columnMenuLabel:"Menu",columnMenuShowColumns:"Zobrazi\u0165 st\u013apce",columnMenuFilter:"Filter",columnMenuHideColumn:"Skry\u0165",columnMenuUnsort:"Zru\u0161i\u0165 filtre",columnMenuSortAsc:"Zoradi\u0165 vzostupne",columnMenuSortDesc:"Zoradi\u0165 zostupne",columnHeaderFiltersTooltipActive:function(t){var e="akt\xedvnych filtrov";return t>1&&t<5?e="akt\xedvne filtre":1===t&&(e="akt\xedvny filter"),"".concat(t," ").concat(e)},columnHeaderFiltersLabel:"Zobrazi\u0165 filtre",columnHeaderSortIconLabel:"Filtrova\u0165",footerRowSelected:function(t){var e="vybran\xfdch z\xe1znamov";return t>1&&t<5?e="vybran\xe9 z\xe1znamy":1===t&&(e="vybran\xfd z\xe1znam"),"".concat(t," ").concat(e)},footerTotalRows:"Riadkov spolu:",checkboxSelectionHeaderName:"V\xfdber riadku",booleanCellTrueLabel:"\xe1no",booleanCellFalseLabel:"nie"},ut.q),Oa({noRowsLabel:"Sat\u0131r yok",errorOverlayDefaultLabel:"Bir hata olu\u015ftu.",toolbarDensity:"Yo\u011funluk",toolbarDensityLabel:"Yo\u011funluk",toolbarDensityCompact:"S\u0131k\u0131",toolbarDensityStandard:"Standart",toolbarDensityComfortable:"Rahat",toolbarColumns:"S\xfctunlar",toolbarColumnsLabel:"S\xfctun se\xe7",toolbarFilters:"Filtreler",toolbarFiltersLabel:"Filtreleri g\xf6ster",toolbarFiltersTooltipHide:"Filtreleri gizle",toolbarFiltersTooltipShow:"Filtreleri g\xf6ster",toolbarFiltersTooltipActive:function(t){return"".concat(t," aktif filtre")},toolbarExport:"D\u0131\u015fa aktar",toolbarExportLabel:"D\u0131\u015fa aktar",toolbarExportCSV:"CSV olarak aktar",columnsPanelTextFieldLabel:"S\xfctun ara",columnsPanelTextFieldPlaceholder:"S\xfctun ad\u0131",columnsPanelDragIconLabel:"S\xfctunlar\u0131 yeniden s\u0131rala",columnsPanelShowAllButton:"Hepsini g\xf6ster",columnsPanelHideAllButton:"Hepsini gizle",filterPanelAddFilter:"Filtre Ekle",filterPanelDeleteIconLabel:"Kald\u0131r",filterPanelOperators:"Operat\xf6r",filterPanelOperatorAnd:"Ve",filterPanelOperatorOr:"Veya",filterPanelColumns:"S\xfctunlar",filterPanelInputLabel:"De\u011fer",filterPanelInputPlaceholder:"Filtre de\u011feri",filterOperatorContains:"i\xe7erir",filterOperatorEquals:"e\u015fittir",filterOperatorStartsWith:"ile ba\u015flar",filterOperatorEndsWith:"ile biter",filterOperatorIs:"e\u015fittir",filterOperatorNot:"e\u015fit de\u011fildir",filterOperatorAfter:"b\xfcy\xfck",filterOperatorOnOrAfter:"b\xfcy\xfck e\u015fit",filterOperatorBefore:"k\xfc\xe7\xfck",filterOperatorOnOrBefore:"k\xfc\xe7\xfck e\u015fit",filterOperatorIsEmpty:"bo\u015f",filterOperatorIsNotEmpty:"dolu",columnMenuLabel:"Men\xfc",columnMenuShowColumns:"S\xfctunlar\u0131 g\xf6ster",columnMenuFilter:"Filtre uygula",columnMenuHideColumn:"Gizle",columnMenuUnsort:"S\u0131ralama",columnMenuSortAsc:"S\u0131rala - Artan",columnMenuSortDesc:"S\u0131rala - Azalan",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," filtre aktif")},columnHeaderFiltersLabel:"Filtreleri g\xf6ster",columnHeaderSortIconLabel:"S\u0131rala",footerRowSelected:function(t){return"".concat(t.toLocaleString()," sat\u0131r se\xe7ildi")},footerTotalRows:"Toplam Sat\u0131r:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())}},ut.r),Oa({noRowsLabel:"\u041d\u0435\u043c\u0430\u0454 \u0440\u044f\u0434\u043a\u0456\u0432",errorOverlayDefaultLabel:"\u0412\u0438\u044f\u0432\u043b\u0435\u043d\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443.",toolbarDensity:"\u0412\u0438\u0441\u043e\u0442\u0430 \u0440\u044f\u0434\u043a\u0430",toolbarDensityLabel:"\u0412\u0438\u0441\u043e\u0442\u0430 \u0440\u044f\u0434\u043a\u0430",toolbarDensityCompact:"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0438\u0439",toolbarDensityStandard:"\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u0439",toolbarDensityComfortable:"\u041a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0438\u0439",toolbarColumns:"\u0421\u0442\u043e\u0432\u043f\u0446\u0456",toolbarColumnsLabel:"\u0412\u0438\u0434\u0456\u043b\u0456\u0442\u044c \u0441\u0442\u043e\u0432\u043f\u0446\u0456",toolbarFilters:"\u0424\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipHide:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipShow:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0430\u043a\u0442\u0438\u0432\u043d\u0456 \u0444\u0456\u043b\u044c\u0442\u0440\u0438":" \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0444\u0456\u043b\u044c\u0442\u0440")},toolbarExport:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportLabel:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442",toolbarExportCSV:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0456 CSV",columnsPanelTextFieldLabel:"\u0417\u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c",columnsPanelTextFieldPlaceholder:"\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u0442\u043e\u0432\u043f\u0446\u044f",columnsPanelDragIconLabel:"\u0417\u043c\u0456\u043d\u0438\u0442\u0438 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0442\u043e\u0432\u043f\u0446\u044f",columnsPanelShowAllButton:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0443\u0441\u0456",columnsPanelHideAllButton:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438 \u0443\u0441\u0456",filterPanelAddFilter:"\u0414\u043e\u0434\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440",filterPanelDeleteIconLabel:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438",filterPanelOperators:"\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0438",filterPanelOperatorAnd:"\u0406",filterPanelOperatorOr:"\u0410\u0431\u043e",filterPanelColumns:"\u0421\u0442\u043e\u0432\u043f\u0446\u0456",filterPanelInputLabel:"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f",filterPanelInputPlaceholder:"\u0417\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0444\u0456\u043b\u044c\u0442\u0440\u0430",filterOperatorContains:"\u043c\u0456\u0441\u0442\u0438\u0442\u044c",filterOperatorEquals:"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorStartsWith:"\u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f \u0437",filterOperatorEndsWith:"\u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430",filterOperatorIs:"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorNot:"\u043d\u0435",filterOperatorAfter:"\u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0456\u0436",filterOperatorOnOrAfter:"\u0431\u0456\u043b\u044c\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterOperatorBefore:"\u043c\u0435\u043d\u0448\u0435 \u043d\u0456\u0436",filterOperatorOnOrBefore:"\u043c\u0435\u043d\u0448\u0435 \u0430\u0431\u043e \u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454",filterValueAny:"\u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439",filterValueTrue:"\u043f\u0440\u0430\u0432\u0434\u0430",filterValueFalse:"\u043f\u043e\u043c\u0438\u043b\u043a\u043e\u0432\u0438\u0439",columnMenuLabel:"\u041c\u0435\u043d\u044e",columnMenuShowColumns:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0446\u0456",columnMenuFilter:"\u0424\u0456\u043b\u044c\u0442\u0440",columnMenuHideColumn:"\u0421\u0445\u043e\u0432\u0430\u0442\u0438",columnMenuUnsort:"\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438 \u0441\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u043d\u044f",columnMenuSortAsc:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0437\u0440\u043e\u0441\u0442\u0430\u043d\u043d\u044f\u043c",columnMenuSortDesc:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0441\u043f\u0430\u0434\u0430\u043d\u043d\u044f\u043c",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" \u0430\u043a\u0442\u0438\u0432\u043d\u0456 \u0444\u0456\u043b\u044c\u0442\u0440\u0438":" \u0430\u043a\u0442\u0438\u0432\u043d\u0438\u0439 \u0444\u0456\u043b\u044c\u0442\u0440")},columnHeaderFiltersLabel:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440\u0438",columnHeaderSortIconLabel:"\u0421\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" \u0432\u0438\u0431\u0440\u0430\u043d\u0456 \u0440\u044f\u0434\u043a\u0438":" \u0432\u0438\u0431\u0440\u0430\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a")},footerTotalRows:"\u0412\u0441\u044c\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0456\u0432:",checkboxSelectionHeaderName:"\u0412\u0438\u0431\u0456\u0440 \u043f\u0440\u0430\u043f\u043e\u0440\u0446\u044f",booleanCellTrueLabel:"\u043f\u0440\u0430\u0432\u0434\u0430",booleanCellFalseLabel:"\u043f\u043e\u043c\u0438\u043b\u043a\u043e\u0432\u0438\u0439"},ut.s),Oa({noRowsLabel:"Kh\xf4ng c\xf3 d\u1eef li\u1ec7u",noResultsOverlayLabel:"Kh\xf4ng t\xecm th\u1ea5y k\u1ebft qu\u1ea3.",errorOverlayDefaultLabel:"C\xf3 l\u1ed7i x\u1ea3y ra.",toolbarDensity:"\u0110\u1ed9 gi\xe3n",toolbarDensityLabel:"\u0110\u1ed9 gi\xe3n",toolbarDensityCompact:"Trung b\xecnh",toolbarDensityStandard:"Ti\xeau chu\u1ea9n",toolbarDensityComfortable:"R\u1ed9ng",toolbarColumns:"C\u1ed9t",toolbarColumnsLabel:"Ch\u1ecdn c\u1ed9t",toolbarFilters:"B\u1ed9 l\u1ecdc",toolbarFiltersLabel:"Hi\u1ec3n th\u1ecb b\u1ed9 l\u1ecdc",toolbarFiltersTooltipHide:"\u1ea8n",toolbarFiltersTooltipShow:"Hi\u1ec7n",toolbarFiltersTooltipActive:function(t){return"".concat(t," b\u1ed9 l\u1ecdc ho\u1ea1t \u0111\u1ed9ng")},toolbarExport:"Xu\u1ea5t",toolbarExportLabel:"Xu\u1ea5t",toolbarExportCSV:"Xu\u1ea5t CSV",columnsPanelTextFieldLabel:"T\xecm ki\u1ebfm",columnsPanelTextFieldPlaceholder:"Ti\xeau \u0111\u1ec1 c\u1ed9t",columnsPanelDragIconLabel:"S\u1eafp x\u1ebfp",columnsPanelShowAllButton:"Hi\u1ec7n t\u1ea5t c\u1ea3",columnsPanelHideAllButton:"\u1ea8n t\u1ea5t c\u1ea3",filterPanelAddFilter:"Th\xeam b\u1ed9 l\u1ecdc",filterPanelDeleteIconLabel:"X\xf3a",filterPanelOperators:"To\xe1n t\u1eed",filterPanelOperatorAnd:"V\xe0",filterPanelOperatorOr:"Ho\u1eb7c",filterPanelColumns:"C\u1ed9t",filterPanelInputLabel:"Gi\xe1 tr\u1ecb",filterPanelInputPlaceholder:"L\u1ecdc gi\xe1 tr\u1ecb",filterOperatorContains:"Ch\u1ee9a",filterOperatorEquals:"B\u1eb1ng",filterOperatorStartsWith:"B\u1eaft \u0111\u1ea7u b\u1eb1ng",filterOperatorEndsWith:"K\u1ebft th\xfac b\u1eb1ng",filterOperatorIs:"L\xe0",filterOperatorNot:"Kh\xf4ng l\xe0",filterOperatorAfter:"Tr\u01b0\u1edbc",filterOperatorBefore:"Sau",filterOperatorIsEmpty:"R\u1ed7ng",filterOperatorIsNotEmpty:"Kh\xe1c r\u1ed7ng",columnMenuLabel:"Danh m\u1ee5c",columnMenuShowColumns:"Danh s\xe1ch c\u1ed9t",columnMenuFilter:"B\u1ed9 l\u1ecdc",columnMenuHideColumn:"\u1ea8n c\u1ed9t",columnMenuUnsort:"B\u1ecf s\u1eafp x\u1ebfp",columnMenuSortAsc:"S\u1eafp x\u1ebfp t\u0103ng d\u1ea7n",columnMenuSortDesc:"S\u1eafp x\u1ebfp gi\u1ea3m d\u1ea7n",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," b\u1ed9 l\u1ecdc ho\u1ea1t \u0111\u1ed9ng")},columnHeaderFiltersLabel:"B\u1ed9 l\u1ecdc",columnHeaderSortIconLabel:"S\u1eafp x\u1ebfp",footerRowSelected:function(t){return"".concat(t.toLocaleString()," h\xe0ng \u0111\xe3 ch\u1ecdn")},footerTotalRows:"T\u1ed5ng:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},actionsCellMore:"Th\xeam"},ut.t),Oa({noRowsLabel:"\u6ca1\u6709\u6570\u636e\u3002",noResultsOverlayLabel:"\u672a\u627e\u5230\u6570\u636e\u3002",errorOverlayDefaultLabel:"\u53d1\u751f\u9519\u8bef\u3002",toolbarDensity:"\u8868\u683c\u5bc6\u5ea6",toolbarDensityLabel:"\u8868\u683c\u5bc6\u5ea6",toolbarDensityCompact:"\u7d27\u5bc6",toolbarDensityStandard:"\u6807\u51c6",toolbarDensityComfortable:"\u7a00\u758f",toolbarColumns:"\u5217",toolbarColumnsLabel:"\u9009\u62e9\u5217",toolbarFilters:"\u7b5b\u9009\u5668",toolbarFiltersLabel:"\u663e\u793a\u7b5b\u9009\u5668",toolbarFiltersTooltipHide:"\u9690\u85cf\u7b5b\u9009\u5668",toolbarFiltersTooltipShow:"\u663e\u793a\u7b5b\u9009\u5668",toolbarFiltersTooltipActive:function(t){return"".concat(t," \u4e2a\u7b5b\u9009\u5668")},toolbarExport:"\u5bfc\u51fa",toolbarExportLabel:"\u5bfc\u51fa",toolbarExportCSV:"\u5bfc\u51fa\u81f3CSV",columnsPanelTextFieldLabel:"\u641c\u7d22\u5217",columnsPanelTextFieldPlaceholder:"\u5217\u540d",columnsPanelDragIconLabel:"\u91cd\u6392\u5e8f\u5217",columnsPanelShowAllButton:"\u663e\u793a\u6240\u6709",columnsPanelHideAllButton:"\u9690\u85cf\u6240\u6709",filterPanelAddFilter:"\u6dfb\u52a0\u7b5b\u9009\u5668",filterPanelDeleteIconLabel:"\u5220\u9664",filterPanelOperators:"\u64cd\u4f5c\u5668",filterPanelOperatorAnd:"\u4e0e",filterPanelOperatorOr:"\u6216",filterPanelColumns:"\u5217",filterPanelInputLabel:"\u503c",filterPanelInputPlaceholder:"\u7b5b\u9009\u503c",filterOperatorContains:"\u5305\u542b",filterOperatorEquals:"\u7b49\u4e8e",filterOperatorStartsWith:"\u5f00\u59cb\u4e8e",filterOperatorEndsWith:"\u7ed3\u675f\u4e8e",filterOperatorIs:"\u662f",filterOperatorNot:"\u4e0d\u662f",filterOperatorAfter:"\u5728\u540e\u9762",filterOperatorOnOrAfter:"\u6b63\u5728\u540e\u9762",filterOperatorBefore:"\u5728\u524d\u9762",filterOperatorOnOrBefore:"\u6b63\u5728\u524d\u9762",filterOperatorIsEmpty:"\u4e3a\u7a7a",filterOperatorIsNotEmpty:"\u4e0d\u4e3a\u7a7a",filterValueAny:"\u4efb\u4f55",filterValueTrue:"\u771f",filterValueFalse:"\u5047",columnMenuLabel:"\u83dc\u5355",columnMenuShowColumns:"\u663e\u793a",columnMenuFilter:"\u7b5b\u9009\u5668",columnMenuHideColumn:"\u9690\u85cf",columnMenuUnsort:"\u6062\u590d\u9ed8\u8ba4",columnMenuSortAsc:"\u5347\u5e8f",columnMenuSortDesc:"\u964d\u5e8f",columnHeaderFiltersTooltipActive:function(t){return"".concat(t," \u4e2a\u7b5b\u9009\u5668")},columnHeaderFiltersLabel:"\u663e\u793a\u7b5b\u9009\u5668",columnHeaderSortIconLabel:"\u6392\u5e8f",footerRowSelected:function(t){return"\u5171\u9009\u4e2d\u4e86".concat(t.toLocaleString(),"\u884c")},footerTotalRows:"\u6240\u6709\u884c:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," / ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"\u591a\u9009\u6846",booleanCellTrueLabel:"\u771f",booleanCellFalseLabel:"\u5047"},ut.u),function(t){var e=t.apiRef,r=t.props,n=t.children;return b.createElement(pt.Provider,{value:r},b.createElement(lt.Provider,{value:e},n))}),Sa=or()&&null!=window.localStorage.getItem("DEBUG"),ka=function(){},Ea={debug:ka,info:ka,warn:ka,error:ka},Ma=["debug","info","warn","error"];function Ca(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:console,n=Ma.indexOf(e);if(-1===n)throw new Error("MUI: Log level ".concat(e," not recognized."));return Ma.reduce((function(e,i,o){return e[i]=o>=n?function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var a=n[0],s=n.slice(1);r[i].apply(r,["MUI: ".concat(t," - ").concat(a)].concat(Object(l.a)(s)))}:ka,e}),{})}function ja(t){var e=document.createElement("span");e.style.whiteSpace="pre",e.style.userSelect="all",e.style.opacity="0px",e.textContent=t,document.body.appendChild(e);var r=document.createRange();r.selectNode(e);var n=window.getSelection();n.removeAllRanges(),n.addRange(r);try{document.execCommand("copy")}finally{document.body.removeChild(e)}}var Aa=function(t,e){var r=b.useRef(!1);r.current||(t.current.state=e(t.current.state),r.current=!0)};var Ta=function(t,e,r){switch(t){case Li.Compact:return{value:t,headerHeight:Math.floor(.7*e),rowHeight:Math.floor(.7*r)};case Li.Comfortable:return{value:t,headerHeight:Math.floor(1.3*e),rowHeight:Math.floor(1.3*r)};default:return{value:t,headerHeight:e,rowHeight:r}}},Pa=function(t,e){if("string"==typeof t){var r=t.replace(/"/g,'""');return r.includes(e)?'"'.concat(r,'"'):r}return t};var Da=function(t){var e=sr(t,"useGridCsvExport"),r=lr(t,Mr),n=lr(t,Nr),i=lr(t,Er),o=b.useCallback((function(o){var a,s;e.debug("Get data as CSV"),s=(null==o?void 0:o.fields)?o.fields.map((function(t){return i.find((function(e){return e.field===t}))})).filter((function(t){return!!t})):((null==o?void 0:o.allColumns)?i:r).filter((function(t){return!t.disableExport}));var c=t.current.getSelectedRows();return function(t){var e=t.columns,r=t.rowIds,n=t.getCellParams,i=t.delimiterCharacter,o=t.includeHeaders,a=r.reduce((function(t,r){return"".concat(t).concat(function(t,e,r,n){return e.map((function(e){return Pa(r(t,e.field).formattedValue,n)}))}(r,e,n,i).join(i),"\r\n")}),"").trim();return o?"".concat("".concat(e.filter((function(t){return t.field!==_i.field})).map((function(t){return Pa(t.headerName||t.field,i)})).join(i),"\r\n"),a).trim():a}({columns:s,rowIds:c.size>0?n.filter((function(t){return c.has(t)})):n,getCellParams:t.current.getCellParams,delimiterCharacter:(null==o?void 0:o.delimiter)||",",includeHeaders:null===(a=null==o?void 0:o.includeHeaders)||void 0===a||a})}),[e,r,i,n,t]),a=b.useCallback((function(t){e.debug("Export data as CSV");var r=o(t);!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title,n="".concat(r,".").concat(e);if("download"in HTMLAnchorElement.prototype){var i=URL.createObjectURL(t),o=document.createElement("a");return o.href=i,o.download=n,o.click(),void setTimeout((function(){URL.revokeObjectURL(i)}))}throw new Error("MUI: exportAs not supported")}(new Blob([(null==t?void 0:t.utf8WithBom)?new Uint8Array([239,187,191]):"",r],{type:"text/csv"}),"csv",null==t?void 0:t.fileName)}),[e,o]);cr(t,{getDataAsCsv:o,exportDataAsCsv:a},"GridCsvExportApi")},Ra=function(t){if(t.items.length>1&&t.items.find((function(t){return null==t.id})))throw new Error("MUI: The 'id' field is required on `filterModel.items` when you use multiple filters.")},La=function(t,e){var r,n;return e.pagination&&"client"===e.paginationMode?(n=yi(t),r=wi(t)):n=0===(r=Ir(t)).length?null:{firstRowIndex:0,lastRowIndex:r.length-1},{rows:r,range:n}},Ia=function(t,e){var r=ur(t),n=Object(m.a)(r,1)[0],i=La(n,e);return b.useMemo((function(){return{rows:i.rows,range:i.range}}),[i.rows,i.range])},Na=function(t,e){return e>0&&t>0?Math.ceil(t/e):0},Fa=function(t){return t.pageCount?Object.assign(Object.assign({},t),{page:Math.max(Math.min(t.page,t.pageCount-1),0)}):t};function Ba(t){return"function"==typeof t.then}function za(t,e,r){var n=e?e(t):t.id;return function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"A row was provided without id in the rows prop:";if(null==t)throw new Error(["MUI: The data grid component requires all rows to have a unique id property.",r,JSON.stringify(e)].join("\n"))}(n,t,r),n}var Ha=function(t){var e,r=t.prevState,n=t.rows,i=t.props,o=null!=i?i:r.props;if(n){e={idRowsLookup:{},ids:[]};for(var a=0;a<n.length;a+=1){var s=n[a],c=za(s,o.getRowId);e.idRowsLookup[c]=s,e.ids.push(c)}}else e=r.value;return{value:e,props:o,rowsBeforePartialUpdates:null!=n?n:r.rowsBeforePartialUpdates}},Ua=function(t,e){var r=t.state,n=r.props.rowCount,i=void 0===n?0:n,o=r.value,a=e.current.unstable_groupRows(o),s=Object.values(a.tree).filter((function(t){return null==t.parent})).length,c=i>a.ids.length?i:a.ids.length,u=i>s?i:s;return Object.assign(Object.assign({},a),{totalRowCount:c,totalTopLevelRowCount:u})};function Wa(t){var e=t.clientHeight,r=t.scrollTop,n=t.offsetHeight,i=t.offsetTop,o=i+n;return o-e>r?o-e:i<r?i:void 0}var qa=function(t,e){(function(t,e){(function(t,e){t.current.getLogger=b.useCallback((function(t){return Sa?Ca(t,"debug",e.logger):e.logLevel?Ca(t,e.logLevel.toString(),e.logger):Ea}),[e.logLevel,e.logger])})(t,e),function(t,e){var r=sr(t,"useApi"),n=b.useCallback((function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o=n[0],a=n[1],s=n[2],c=void 0===s?{}:s;if(c.defaultMuiPrevented=!1,!function(t){return void 0!==t.isPropagationStopped}(c)||!c.isPropagationStopped()){var u=e.signature===Hi.DataGridPro?{api:t.current}:{};t.current.unstable_eventManager.emit(o,a,c,u)}}),[t,e.signature]),i=b.useCallback((function(e,n,i){r.debug("Binding ".concat(e," event")),t.current.unstable_eventManager.on(e,n,i);var o=t.current;return function(){r.debug("Clearing ".concat(e," event")),o.unstable_eventManager.removeListener(e,n)}}),[t,r]),a=b.useCallback((function(e){t.current.publishEvent(o.componentError,e)}),[t]);cr(t,{subscribeEvent:i,publishEvent:n,showError:a},"GridCoreApi"),b.useEffect((function(){r.debug("Initializing grid api.");var e=t.current;return function(){r.info("Unmounting Grid component. Clearing all events listeners."),e.publishEvent(o.unmount),e.unstable_eventManager.removeAllListeners()}}),[r,t])}(t,e),function(t,e){var r=ur(t),n=Object(m.a)(r,2)[1],i=b.useCallback((function(t){n((function(e){return Object.assign(Object.assign({},e),{error:t})}))}),[n]);b.useEffect((function(){i(e.error)}),[i,e.error]),Gi(t,o.componentError,i)}(t,e),function(t,e){var r=v.a.useRef({}),n=v.a.useCallback((function(t){var e=t.stateId,n=gt(t,["stateId"]);r.current[e]=Object.assign(Object.assign({},n),{stateId:e})}),[]),i=v.a.useCallback((function(n){var i=!1,o=[],a=r.current;if(Object.keys(a).forEach((function(e){var r=a[e],s=r.stateSelector(t.current.state),c=r.stateSelector(n);c!==s&&(c!==r.propModel&&o.push(r.stateId),void 0!==r.propModel&&c!==r.propModel&&(i=!0))})),o.length>1)throw new Error("You're not allowed to update several sub-state in one transaction. You already updated ".concat(o[0],", therefore, you're not allowed to update ").concat(o.join(", ")," in the same transaction."));return{ignoreSetState:i,postUpdate:function(){o.forEach((function(r){var i=a[r],o=a[r].stateSelector(n);if(i.propOnChange){var s=e.signature===Hi.DataGridPro?{api:t.current}:{};i.propOnChange(o,s)}t.current.publishEvent(i.changeEvent,o)}))}}}),[t,e.signature]);cr(t,{unstable_updateControlState:n,unstable_applyControlStateConstraint:i},"controlStateApi")}(t,e),function(t){var e=b.useRef({}),r=b.useCallback((function(r,n,i){e.current[r]||(e.current[r]={});var a=e.current[r],s=a[n];return s&&s===i||(e.current[r]=Object.assign(Object.assign({},a),Object(u.a)({},n,i)),t.current.publishEvent(o.preProcessorRegister,r)),function(){var i=e.current[r],a=n;i[a];var s=gt(i,["symbol"==typeof a?a:a+""]);e.current[r]=s,t.current.publishEvent(o.preProcessorUnregister,r)}}),[t]),n=b.useCallback((function(t,r,n){return e.current[t]?Object.values(e.current[t]).reduce((function(t,e){return e(t,n)}),r):r}),[]);cr(t,{unstable_registerPreProcessor:r,unstable_applyPreProcessors:n},"GridPreProcessing")}(t),function(t){var e=b.useRef(new Map),r=b.useCallback((function(r,n){var i;(null!==(i=e.current.get(r))&&void 0!==i?i:null)!==n&&(e.current.set(r,n),t.current.publishEvent(o.rowGroupsPreProcessingChange))}),[t]),n=b.useCallback((function(){for(var t=null,r=Array.from(e.current.values());!t&&r.length;){var n=r.shift();n&&(t=n.apply(void 0,arguments))}return t||function(t){for(var e=t.ids,r=t.idRowsLookup,n={},i=0;i<e.length;i+=1){var o=e[i];n[o]={id:o,depth:0,parent:null,groupingKey:"",groupingField:null}}return{tree:n,treeDepth:1,idRowsLookup:r,ids:e}}.apply(void 0,arguments)}),[]);cr(t,{unstable_registerRowGroupsBuilder:r,unstable_groupRows:n},"GridRowGroupsPreProcessing")}(t),function(t,e){cr(t,{getLocaleText:b.useCallback((function(t){if(null==e.localeText[t])throw new Error("Missing translation for key ".concat(t,"."));return e.localeText[t]}),[e.localeText])},"LocaleTextApi")}(t,e)})(t,e),function(t,e){var r=sr(t,"useGridSelection"),n=b.useMemo((function(){return null==e.selectionModel||Array.isArray(e.selectionModel)?e.selectionModel:[e.selectionModel]}),[e.selectionModel]);Aa(t,(function(t){return Object.assign(Object.assign({},t),{selection:null!=n?n:[]})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2],u=function(t){var e=t.classes;return b.useMemo((function(){return Object(O.a)({cellCheckbox:["cellCheckbox"],columnHeaderCheckbox:["columnHeaderCheckbox"]},ht,e)}),[e])}({classes:e.classes}),f=b.useRef(null);t.current.unstable_updateControlState({stateId:"selection",propModel:n,propOnChange:e.onSelectionModelChange,stateSelector:qr,changeEvent:o.selectionChange});var h=e.checkboxSelection,d=e.disableMultipleSelection,p=e.disableSelectionOnClick,v=e.isRowSelectable,g=!d||h,y=b.useCallback((function(){return Gr(t.current.state)}),[t]),w=b.useCallback((function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!v||v(t.current.getRowParams(e)))if(f.current=e,i)r.debug("Setting selection for row ".concat(e)),t.current.setSelectionModel(n?[e]:[]);else{r.debug("Toggling selection for row ".concat(e));var o=qr(t.current.state).filter((function(t){return t!==e}));n&&o.push(e),(o.length<2||g)&&t.current.setSelectionModel(o)}}),[t,v,r,g]),x=b.useCallback((function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.debug("Setting selection for several rows");var o,a=v?e.filter((function(e){return v(t.current.getRowParams(e))})):e;if(i)o=n?a:[];else{var s=Object.assign({},Yr(t.current.state));a.forEach((function(t){n?s[t]=t:delete s[t]})),o=Object.values(s)}(o.length<2||g)&&t.current.setSelectionModel(o)}),[t,v,r,g]),_=b.useCallback((function(e){var n=e.startId,i=e.endId,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0;if(t.current.getRow(n)&&t.current.getRow(i)){r.debug("Expanding selection from row ".concat(n," to row ").concat(i));var s=Nr(t.current.state),c=s.indexOf(n),u=s.indexOf(i),l=c>u?[u,c]:[c,u],f=Object(m.a)(l,2),h=f[0],d=f[1],p=s.slice(h,d+1);t.current.selectRows(p,o,a)}}),[t,r]),S=b.useCallback((function(e){var r,n=e,i=null!==(r=f.current)&&void 0!==r?r:e,o=t.current.isRowSelected(e);if(o){var a=Nr(t.current.state),s=a.findIndex((function(t){return t===i})),c=a.findIndex((function(t){return t===n}));n=s>c?a[c+1]:a[c-1]}f.current=e,t.current.selectRowRange({startId:i,endId:n},!o)}),[t]),k=b.useCallback((function(e){qr(t.current.state)!==e&&(r.debug("Setting selection model"),s((function(t){return Object.assign(Object.assign({},t),{selection:e})})),c())}),[t,s,c,r]),E=b.useCallback((function(e){return qr(t.current.state).includes(e)}),[t]),M=b.useCallback((function(){var e=qr(t.current.state),r=pr(t.current.state),n=Object.assign({},Yr(t.current.state)),i=!1;e.forEach((function(t){r[t]||(delete n[t],i=!0)})),i&&t.current.setSelectionModel(Object.values(n))}),[t]),C=b.useCallback((function(e,r){if(!p){var n=r.metaKey||r.ctrlKey;if(r.shiftKey&&(g||h))S(e.id);else!g||!h&&!n?t.current.selectRow(e.id,!n&&!h||!t.current.isRowSelected(e.id),!0):t.current.selectRow(e.id,!t.current.isRowSelected(e.id),!1)}}),[t,S,g,p,h]),j=b.useCallback((function(t,e){var r;g&&e.shiftKey&&(null===(r=window.getSelection())||void 0===r||r.removeAllRanges())}),[g]),A=b.useCallback((function(e,r){r.nativeEvent.shiftKey?S(e.id):t.current.selectRow(e.id,e.value)}),[t,S]),T=b.useCallback((function(r){var n=e.checkboxSelectionVisibleOnly&&e.pagination?xi(t.current.state):Nr(t.current.state);t.current.selectRows(n,r.value)}),[t,e.checkboxSelectionVisibleOnly,e.pagination]);Gi(t,o.visibleRowsSet,M),Gi(t,o.rowClick,C),Gi(t,o.rowSelectionCheckboxChange,A),Gi(t,o.headerSelectionCheckboxChange,T),Gi(t,o.cellMouseDown,j),cr(t,{selectRow:w,selectRows:x,selectRowRange:_,setSelectionModel:k,getSelectedRows:y,isRowSelected:E},"GridSelectionApi"),b.useEffect((function(){void 0!==n&&t.current.setSelectionModel(n)}),[t,n]);var P=null!=n;b.useEffect((function(){if(!P){var e=qr(t.current.state);if(v){var r=e.filter((function(e){return v(t.current.getRowParams(e))}));r.length<e.length&&t.current.setSelectionModel(r)}}}),[t,v,P]);var D=b.useCallback((function(){t.current.unstable_registerPreProcessor(aa.hydrateColumns,"selection",(function(r){var n=Object.assign(Object.assign({},_i),{cellClassName:u.cellCheckbox,headerClassName:u.columnHeaderCheckbox,headerName:t.current.getLocaleText("checkboxSelectionHeaderName")}),i=e.checkboxSelection,o=null!=r.lookup[n.field];return i&&!o?(r.lookup[n.field]=n,r.all=[n.field].concat(Object(l.a)(r.all))):!i&&o&&(delete r.lookup[n.field],r.all=r.all.filter((function(t){return t!==n.field}))),r}))}),[t,e.checkboxSelection,u]);la((function(){D()}));var R=b.useRef(!0);b.useEffect((function(){R.current?R.current=!1:D()}),[D])}(t,e),function(t,e){var r=sr(t,"useGridColumns"),n=b.useMemo((function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign(Object.assign({},Fi()),t),r={};return Object.entries(e).forEach((function(t){var n=Object(m.a)(t,2),i=n[0],o=n[1];o=Object.assign(Object.assign({},e[o.extendType||"__default__"]),o),r[i]=o})),r}(e.columnTypes)}),[e.columnTypes]);Aa(t,(function(r){var i=ha({apiRef:t,columnsTypes:n,columnsToUpsert:e.columns,reset:!0});return Object.assign(Object.assign({},r),{columns:i})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2],u=b.useCallback((function(e){r.debug("Updating columns state."),s((function(t){return Object.assign(Object.assign({},t),{columns:e})})),c(),t.current.publishEvent(o.columnsChange,e.all)}),[r,s,c,t]),f=b.useCallback((function(e){return kr(t.current.state)[e]}),[t]),h=b.useCallback((function(){return Er(t.current.state)}),[t]),d=b.useCallback((function(){return Mr(t.current.state)}),[t]),p=b.useCallback((function(){return Cr(t.current.state)}),[t]),v=b.useCallback((function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(r?Mr(t.current.state):Er(t.current.state)).findIndex((function(t){return t.field===e}))}),[t]),g=b.useCallback((function(e){var r=v(e);return Cr(t.current.state).positions[r]}),[t,v]),y=b.useCallback((function(e){var r=ha({apiRef:t,columnsTypes:n,columnsToUpsert:e,reset:!1});u(r)}),[t,u,n]),w=b.useCallback((function(t){return y([t])}),[y]),x=b.useCallback((function(e,r){var n=f(e),i=Object.assign(Object.assign({},n),{hide:!r});y([i]);var a={field:e,colDef:i,isVisible:r};t.current.publishEvent(o.columnVisibilityChange,a)}),[t,f,y]),O=b.useCallback((function(e,n){var i=Sr(t.current.state),a=i.findIndex((function(t){return t===e}));if(a!==n){r.debug("Moving column ".concat(e," to index ").concat(n));var s=Object(l.a)(i);s.splice(n,0,s.splice(a,1)[0]),u(Object.assign(Object.assign({},_r(t.current.state)),{all:s}));var c={field:e,element:t.current.getColumnHeaderElement(e),colDef:t.current.getColumn(e),targetIndex:n,oldIndex:a};t.current.publishEvent(o.columnOrderChange,c)}}),[t,r,u]),_=b.useCallback((function(e,n){r.debug("Updating column ".concat(e," width to ").concat(n));var i=t.current.getColumn(e),a=Object.assign(Object.assign({},i),{width:n});t.current.updateColumns([a]),t.current.publishEvent(o.columnWidthChange,{element:t.current.getColumnHeaderElement(e),colDef:a,width:n})}),[t,r]);cr(t,{getColumn:f,getAllColumns:h,getColumnIndex:v,getColumnPosition:g,getVisibleColumns:d,getColumnsMeta:p,updateColumn:w,updateColumns:y,setColumnVisibility:x,setColumnIndex:O,setColumnWidth:_},"ColApi");var S=b.useRef(!0);b.useEffect((function(){if(S.current)S.current=!1;else{r.info("GridColumns have changed, new length ".concat(e.columns.length));var i=ha({apiRef:t,columnsTypes:n,columnsToUpsert:e.columns,reset:!0});u(i)}}),[r,t,u,e.columns,n]);var k=b.useCallback((function(e){if(e===aa.hydrateColumns){r.info("Columns pre-processing have changed, regenerating the columns");var i=ha({apiRef:t,columnsTypes:n,columnsToUpsert:[],reset:!1});u(i)}}),[t,r,u,n]),E=b.useRef(null);Gi(t,o.preProcessorRegister,k),Gi(t,o.viewportInnerSizeChange,(function(e){E.current!==e.width&&(E.current=e.width,u(fa(_r(t.current.state),e.width)))})),Xi(t,o.columnVisibilityChange,e.onColumnVisibilityChange)}(t,e),function(t,e){var r=sr(t,"useGridRows"),n=b.useRef({state:{value:{idRowsLookup:{},ids:[]},props:{rowCount:void 0,getRowId:void 0},rowsBeforePartialUpdates:[]},timeout:null,lastUpdateMs:0});Aa(t,(function(r){return n.current.state=Ha({rows:e.rows,props:{rowCount:e.rowCount,getRowId:e.getRowId},prevState:n.current.state}),n.current.lastUpdateMs=Date.now(),Object.assign(Object.assign({},r),{rows:Ua(n.current,t)})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2],f=b.useCallback((function(e){var r;return null!==(r=pr(t.current.state)[e])&&void 0!==r?r:null}),[t]),h=b.useCallback((function(r,i){var a=function(){n.current.timeout=null,n.current.lastUpdateMs=Date.now(),s((function(e){return Object.assign(Object.assign({},e),{rows:Ua(n.current,t)})})),t.current.publishEvent(o.rowsSet),c()};if(n.current.timeout&&clearTimeout(n.current.timeout),n.current.state=r,n.current.timeout=null,i){var u=e.throttleRowsMs-(Date.now()-n.current.lastUpdateMs);u>0?n.current.timeout=setTimeout(a,u):a()}else a()}),[t,c,s,n,e.throttleRowsMs]),d=b.useCallback((function(t){r.debug("Updating all rows, new length ".concat(t.length)),h(Ha({rows:t,prevState:n.current.state}),!0)}),[r,h]),p=b.useCallback((function(r){if(e.signature===Hi.DataGrid&&r.length>1)throw new Error(["MUI: You can't update several rows at once in `apiRef.current.updateRows` on the DataGrid.","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n"));var i=new Map;r.forEach((function(t){var r=za(t,e.getRowId,"A row was provided without id when calling updateRows():");i.has(r)?i.set(r,Object.assign(Object.assign({},i.get(r)),t)):i.set(r,t)}));var o=[],a={idRowsLookup:Object.assign({},n.current.state.value.idRowsLookup),ids:Object(l.a)(n.current.state.value.ids)};i.forEach((function(e,r){return"delete"===e._action?(delete a.idRowsLookup[r],void o.push(r)):t.current.getRow(r)?void(a.idRowsLookup[r]=Object.assign(Object.assign({},t.current.getRow(r)),e)):(a.idRowsLookup[r]=e,void a.ids.push(r))})),o.length>0&&(a.ids=a.ids.filter((function(t){return!o.includes(t)})));var s=Object.assign(Object.assign({},n.current.state),{value:a});h(s,!0)}),[t,e.getRowId,h,e.signature]),v=b.useCallback((function(){var e=vr(t.current.state),r=pr(t.current.state);return new Map(e.map((function(t){return[t,r[t]]})))}),[t]),g=b.useCallback((function(){return hr(t.current.state)}),[t]),y=b.useCallback((function(){return vr(t.current.state)}),[t]),w=b.useCallback((function(e,r){var n=t.current.getRowNode(e);if(!n)throw new Error("MUI: No row with id #".concat(e," found"));var i=Object.assign(Object.assign({},n),{childrenExpanded:r});s((function(t){return Object.assign(Object.assign({},t),{rows:Object.assign(Object.assign({},t.rows),{tree:Object.assign(Object.assign({},t.rows.tree),Object(u.a)({},e,i))})})})),c(),t.current.publishEvent(o.rowExpansionChange,i)}),[t,s,c]),x=b.useCallback((function(e){var r;return null!==(r=mr(t.current.state)[e])&&void 0!==r?r:null}),[t]);b.useEffect((function(){return function(){null!==n.current.timeout&&clearTimeout(n.current.timeout)}}),[]);var O=b.useRef(!0);b.useEffect((function(){O.current?O.current=!1:n.current.state.rowsBeforePartialUpdates!==e.rows&&(r.debug("Updating all rows, new length ".concat(e.rows.length)),h(Ha({rows:e.rows,props:{rowCount:e.rowCount,getRowId:e.getRowId},prevState:n.current.state}),!1))}),[e.rows,e.rowCount,e.getRowId,r,h]);var _=b.useCallback((function(){var t;r.info("Row grouping pre-processing have changed, regenerating the row tree"),t=n.current.state.rowsBeforePartialUpdates===e.rows?void 0:e.rows,h(Ha({rows:t,props:{rowCount:e.rowCount,getRowId:e.getRowId},prevState:n.current.state}),!1)}),[r,h,e.rowCount,e.getRowId,e.rows]);Gi(t,o.rowGroupsPreProcessingChange,_),cr(t,{getRow:f,getRowModels:v,getRowsCount:g,getAllRowIds:y,setRows:d,updateRows:p,setRowChildrenExpansion:w,getRowNode:x},"GridRowApi")}(t,e),function(t){var e=b.useCallback((function(e){return{field:e,colDef:t.current.getColumn(e)}}),[t]),r=b.useCallback((function(e){var r=t.current.getRow(e);if(!r)throw new Error("No row with id #".concat(e," found"));return{id:e,columns:t.current.getAllColumns(),row:r,getValue:t.current.getCellValue}}),[t]),n=b.useCallback((function(e,r){var n=t.current.getRow(e),i=t.current.getRowNode(e);if(!n||!i)throw new Error("No row with id #".concat(e," found"));var o=fi(t.current.state),a=pi(t.current.state);return{id:e,field:r,row:n,rowNode:i,value:n[r],colDef:t.current.getColumn(r),cellMode:t.current.getCellMode(e,r),getValue:t.current.getCellValue,api:t.current,hasFocus:null!==o&&o.field===r&&o.id===e,tabIndex:a&&a.field===r&&a.id===e?0:-1}}),[t]),i=b.useCallback((function(e,r){var n=t.current.getColumn(r),i=t.current.getCellValue(e,r),o=t.current.getRow(e),a=t.current.getRowNode(e);if(!o||!a)throw new Error("No row with id #".concat(e," found"));var s=fi(t.current.state),c=pi(t.current.state),u={id:e,field:r,row:o,rowNode:a,colDef:n,cellMode:t.current.getCellMode(e,r),getValue:t.current.getCellValue,hasFocus:null!==s&&s.field===r&&s.id===e,tabIndex:c&&c.field===r&&c.id===e?0:-1,value:i,formattedValue:i};return n.valueFormatter&&(u.formattedValue=n.valueFormatter({id:e,field:u.field,value:u.value,api:t.current})),u.isEditable=n&&t.current.isCellEditable(u),u}),[t]),o=b.useCallback((function(e,r){var i=t.current.getColumn(r);if(!i||!i.valueGetter){var o=t.current.getRow(e);if(!o)throw new Error("No row with id #".concat(e," found"));return o[r]}return i.valueGetter(n(e,r))}),[t,n]),a=b.useCallback((function(e){return t.current.rootElementRef.current?function(t,e){return t.querySelector('[role="columnheader"][data-field="'.concat(no(e),'"]'))}(t.current.rootElementRef.current,e):null}),[t]),s=b.useCallback((function(e){return t.current.rootElementRef.current?io(t.current.rootElementRef.current,e):null}),[t]),c=b.useCallback((function(e,r){return t.current.rootElementRef.current?function(t,e){var r=e.field,n=io(t,e.id);return n?n.querySelector(".".concat(dt.cell,'[data-field="').concat(no(r),'"]')):null}(t.current.rootElementRef.current,{id:e,field:r}):null}),[t]);cr(t,{getCellValue:o,getCellParams:i,getCellElement:c,getRowParams:r,getRowElement:s,getColumnHeaderParams:e,getColumnHeaderElement:a},"GridParamsApi")}(t),function(t,e){var r=this,n=sr(t,"useGridEditRows");Aa(t,(function(t){return Object.assign(Object.assign({},t),{editRows:{}})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],l=a[2],f=b.useRef(null),h=b.useRef(null),d=lr(t,Er);t.current.unstable_updateControlState({stateId:"editRows",propModel:e.editRowsModel,propOnChange:e.onEditRowsModelChange,stateSelector:da,changeEvent:o.editRowsModelChange});var p=function(n,i){return yt(r,void 0,void 0,c.a.mark((function r(){var a=this;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.t0=n.cellMode!==Mi.View,!r.t0){r.next=9;break}if(e.editMode!==Ei.Row){r.next=6;break}h.current=null,f.current=setTimeout((function(){return yt(a,void 0,void 0,c.a.mark((function e(){var r,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((null===(r=h.current)||void 0===r?void 0:r.id)===n.id){e.next=5;break}return e.next=3,t.current.commitRowChange(n.id,i);case 3:a=t.current.getRowParams(n.id),t.current.publishEvent(o.rowEditStop,a,i);case 5:case"end":return e.stop()}}),e)})))})),r.next=9;break;case 6:return r.next=8,t.current.commitCellChange(n,i);case 8:t.current.publishEvent(o.cellEditStop,n,i);case 9:case"end":return r.stop()}}),r)})))},v=b.useCallback((function(t){h.current=t}),[]),g=Object(E.a)((function(t,e){p(t,e)})),y=Object(E.a)((function(){var e=t.current.state.focus.cell;if(e){var r=t.current.getCellParams(e.id,e.field);p(r,{})}})),w=b.useCallback((function(e,r,i){var a=t.current.getCellMode(e,r)===Mi.Edit;i===Mi.Edit&&a||i===Mi.View&&!a||(n.debug("Switching cell id: ".concat(e," field: ").concat(r," to mode: ").concat(i)),s((function(n){var o=Object.assign({},n.editRows);return o[e]=Object.assign({},o[e]),i===Mi.Edit?o[e][r]={value:t.current.getCellValue(e,r)}:(delete o[e][r],Object.keys(o[e]).length||delete o[e]),Object.assign(Object.assign({},n),{editRows:o})})),l(),t.current.publishEvent(o.cellModeChange,t.current.getCellParams(e,r)))}),[t,l,n,s]),x=b.useCallback((function(e,r){var n=t.current.getRowMode(e)===Ci.Edit;r===Ci.Edit&&n||r===Ci.View&&!n||(s((function(n){var i=Object.assign({},n.editRows);return r===Ci.Edit?(i[e]={},d.forEach((function(r){var n=t.current.getCellParams(e,r.field);n.isEditable&&(i[e][r.field]={value:n.value})}))):delete i[e],Object.assign(Object.assign({},n),{editRows:i})})),l())}),[t,d,l,s]),O=b.useCallback((function(r){return e.editMode===Ei.Cell?Ci.View:t.current.state.editRows[r]?Ci.Edit:Ci.View}),[t,e.editMode]),_=b.useCallback((function(e,r){var n=t.current.state.editRows;return n[e]&&n[e][r]?Mi.Edit:Mi.View}),[t]),S=b.useCallback((function(t){return!!t.colDef.editable&&!!t.colDef.renderEditCell&&(!e.isCellEditable||e.isCellEditable(t))}),[e.isCellEditable]),k=b.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={id:e.id,field:e.field,props:{value:e.value}};t.current.publishEvent(o.editCellPropsChange,n,r)}),[t]),M=b.useCallback((function(e){var r=e.id,i=e.field,o=e.props;n.debug("Setting cell props on id: ".concat(r," field: ").concat(i)),s((function(e){var n=t.current.getColumn(i),a=n.valueParser?n.valueParser(o.value,t.current.getCellParams(r,i)):o.value,s=Object.assign({},e.editRows);return s[r]=Object.assign({},e.editRows[r]),s[r][i]=Object.assign(Object.assign({},o),{value:a}),Object.assign(Object.assign({},e),{editRows:s})})),l()}),[t,l,n,s]),C=b.useCallback((function(n){var i=t.current.getRow(n.id);if("row"===e.editMode){var o=t.current.getEditRowsModel()[n.id];Object.keys(o).forEach((function(e){return yt(r,void 0,void 0,c.a.mark((function r(){var a,s,u;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(a=t.current.getColumn(e)).preProcessEditCellProps){r.next=9;break}return s=e===n.field?n.props:o[e],r.next=5,Promise.resolve(a.preProcessEditCellProps({id:n.id,row:i,props:s}));case 5:u=r.sent,M({id:n.id,field:e,props:u}),r.next=10;break;case 9:e===n.field&&M(n);case 10:case"end":return r.stop()}}),r)})))}))}else{var a=t.current.getColumn(n.field),s=a.preProcessEditCellProps?a.preProcessEditCellProps({id:n.id,row:i,props:n.props}):n.props;Ba(s)?s.then((function(t){M(Object.assign(Object.assign({},n),{props:t}))})):M(Object.assign(Object.assign({},n),{props:s}))}}),[t,e.editMode,M]),j=b.useCallback((function(e){da(t.current.state)!==e&&(n.debug("Setting editRows model"),s((function(t){return Object.assign(Object.assign({},t),{editRows:e})})),l())}),[t,l,n,s]),A=b.useCallback((function(){return t.current.state.editRows}),[t]),T=b.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.id,i=e.field,a=t.current.getEditRowsModel();if(!a[n]||!a[n][i])throw new Error("MUI: Cell at id: ".concat(n," and field: ").concat(i," is not in edit mode."));var s=a[n][i],c=t.current.getColumn(i),u=t.current.getRow(n),l=Object.assign(Object.assign({},e),{value:s.value}),f=!!s.error;if(!f&&"function"==typeof c.preProcessEditCellProps){var h=c.preProcessEditCellProps({id:n,row:u,props:s});if(Ba(h))return h.then((function(e){return M({id:n,field:i,props:e}),!e.error&&(t.current.publishEvent(o.cellEditCommit,l,r),!0)}));M({id:n,field:i,props:h}),f=!!h.error}return!f&&(t.current.publishEvent(o.cellEditCommit,l,r),!0)}),[t,M]),P=b.useCallback((function(r){if(e.editMode===Ei.Row)throw new Error("MUI: You can't commit changes when the edit mode is 'row'.");var i=r.id,o=r.field,a=t.current.getEditRowsModel()[i][o].value;n.debug("Setting cell id: ".concat(i," field: ").concat(o," to value: ").concat(null==a?void 0:a.toString()));var s=t.current.getRow(i);if(s){var c=t.current.getColumn(r.field),l=Object.assign(Object.assign({},s),Object(u.a)({},o,a));c.valueSetter&&(l=c.valueSetter({row:s,value:a})),t.current.updateRows([l])}}),[t,n,e.editMode]),D=b.useCallback((function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.editMode===Ei.Cell)throw new Error("MUI: You can't commit changes when the edit mode is 'cell'.");var a=t.current.getEditRowsModel()[n];if(!a)throw new Error("MUI: Row at id: ".concat(n," is not being edited."));if(Object.values(a).some((function(t){return!!t.error})))return!1;var s=Object.keys(a).filter((function(e){return"function"==typeof t.current.getColumn(e).preProcessEditCellProps}));if(s.length>0){var u=t.current.getRow(n),l=s.map((function(e){return yt(r,void 0,void 0,c.a.mark((function r(){var i,o;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=t.current.getColumn(e),r.next=3,Promise.resolve(i.preProcessEditCellProps({id:n,row:u,props:a[e]}));case 3:return o=r.sent,r.abrupt("return",(M({id:n,field:e,props:o}),o.error));case 5:case"end":return r.stop()}}),r)})))}));return Promise.all(l).then((function(e){return!e.some((function(t){return!!t}))&&(t.current.publishEvent(o.rowEditCommit,n,i),!0)}))}return t.current.publishEvent(o.rowEditCommit,n,i),!0}),[t,e.editMode,M]),R=b.useCallback((function(t,e){t.isEditable&&(w(t.id,t.field,Mi.Edit),ai(e)&&ei(e.key)&&M({id:t.id,field:t.field,props:{value:""}}))}),[M,w]),L=b.useCallback((function(e){t.current.setRowMode(e.id,Ci.Edit)}),[t]),I=b.useCallback((function(e,r){t.current.setRowMode(e.id,Ci.View),"Enter"===r.key&&t.current.publishEvent(o.cellNavigationKeyDown,e,r)}),[t]),N=b.useCallback((function(e){var r=t.current.getEditRowsModel()[e];if(!r)throw new Error("MUI: Row at id: ".concat(e," is not being edited."));var n=t.current.getRow(e);if(n){var i=Object.assign({},n);Object.keys(r).forEach((function(e){var n=t.current.getColumn(e),o=r[e].value;n.valueSetter?i=n.valueSetter({row:i,value:o}):i[e]=o})),t.current.updateRows([i])}}),[t]),F=b.useCallback((function(t,e){var r=e.detail>1;t.isEditable&&t.cellMode===Mi.View&&r&&e.preventDefault()}),[]),B=b.useCallback((function(n,i){return yt(r,void 0,void 0,c.a.mark((function r(){var a,s,u,l,f,h,d,p;return c.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=n.id,s=n.field,u=n.cellMode,n.isEditable){r.next=3;break}return r.abrupt("return");case 3:if(l=u===Mi.Edit,e.editMode!==Ei.Row){r.next=7;break}return f=t.current.getRowParams(n.id),r.abrupt("return",void(l?"Enter"===i.key?(t.current.commitRowChange(n.id),t.current.publishEvent(o.rowEditStop,f,i)):"Escape"===i.key&&t.current.publishEvent(o.rowEditStop,f,i):"Enter"===i.key&&t.current.publishEvent(o.rowEditStart,f,i)));case 7:if(h=i.ctrlKey||i.metaKey||i.altKey,!l&&(d=i.key,Kn(d)||Qn(d)||ei(d))&&!h&&t.current.publishEvent(o.cellEditStart,n,i),!l&&Qn(i.key)&&(t.current.setEditCellValue({id:a,field:s,value:""}),t.current.commitCellChange({id:a,field:s},i),t.current.publishEvent(o.cellEditStop,n,i)),!l||!ii(i.key)){r.next=14;break}return p={id:a,field:s},r.next=12,t.current.commitCellChange(p,i);case 12:if(r.sent){r.next=14;break}return r.abrupt("return");case 14:l&&function(t){return ri.indexOf(t)>-1}(i.key)&&t.current.publishEvent(o.cellEditStop,n,i);case 15:case"end":return r.stop()}}),r)})))}),[t,e.editMode]),z=b.useCallback((function(e,r){w(e.id,e.field,Mi.View),ai(r)&&(ii(r.key)?t.current.publishEvent(o.cellNavigationKeyDown,e,r):("Escape"===r.key||Qn(r.key))&&t.current.setCellFocus(e.id,e.field))}),[t,w]),H=b.useCallback((function(r,n){if(r.isEditable)if(e.editMode===Ei.Row){var i=t.current.getRowParams(r.id);t.current.publishEvent(o.rowEditStart,i,n)}else t.current.publishEvent(o.cellEditStart,r,n)}),[t,e.editMode]);Gi(t,o.cellKeyDown,B),Gi(t,o.cellMouseDown,F),Gi(t,o.cellDoubleClick,H),Gi(t,o.cellFocusOut,g),Gi(t,o.cellFocusIn,v),Gi(t,o.columnHeaderDragStart,y),Gi(t,o.editCellPropsChange,C),Gi(t,o.cellEditStart,R),Gi(t,o.cellEditStop,z),Gi(t,o.cellEditCommit,P),Gi(t,o.rowEditStart,L),Gi(t,o.rowEditStop,I),Gi(t,o.rowEditCommit,N),Xi(t,o.editCellPropsChange,e.onEditCellPropsChange),Xi(t,o.cellEditCommit,e.onCellEditCommit),Xi(t,o.cellEditStart,e.onCellEditStart),Xi(t,o.cellEditStop,e.onCellEditStop),Xi(t,o.rowEditCommit,e.onRowEditCommit),Xi(t,o.rowEditStart,e.onRowEditStart),Xi(t,o.rowEditStop,e.onRowEditStop),cr(t,{setCellMode:w,getCellMode:_,setRowMode:x,getRowMode:O,isCellEditable:S,commitCellChange:T,commitRowChange:D,setEditRowsModel:j,getEditRowsModel:A,setEditCellValue:k},"EditRowApi"),b.useEffect((function(){void 0!==e.editRowsModel&&t.current.setEditRowsModel(e.editRowsModel)}),[t,e.editRowsModel])}(t,e),function(t,e){var r=sr(t,"useGridFocus");Aa(t,(function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null},tabIndex:{cell:null,columnHeader:null}})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2],c=b.useRef(null),u=b.useCallback((function(e,n){t.current.getRow(e)&&(a((function(t){return r.debug("Focusing on cell with id=".concat(e," and field=").concat(n)),Object.assign(Object.assign({},t),{tabIndex:{cell:{id:e,field:n},columnHeader:null},focus:{cell:{id:e,field:n},columnHeader:null}})})),s(),t.current.publishEvent(o.cellFocusIn,t.current.getCellParams(e,n)))}),[t,s,r,a]),l=b.useCallback((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.current.state.focus.cell;i&&t.current.publishEvent(o.cellFocusOut,t.current.getCellParams(i.id,i.field),n),a((function(t){return r.debug("Focusing on column header with colIndex=".concat(e)),Object.assign(Object.assign({},t),{tabIndex:{columnHeader:{field:e},cell:null},focus:{columnHeader:{field:e},cell:null}})})),s()}),[t,s,r,a]),f=b.useCallback((function(e){var r=e.id,n=e.field;t.current.setCellFocus(r,n)}),[t]),h=b.useCallback((function(e,r){"Enter"===r.key||"Tab"===r.key||oi(r.key)||t.current.setCellFocus(e.id,e.field)}),[t]),d=b.useCallback((function(e,r){var n=e.field;r.target===r.currentTarget&&t.current.setColumnHeaderFocus(n,r)}),[t]),p=b.useCallback((function(){r.debug("Clearing focus"),a((function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null}})}))}),[r,a]),v=b.useCallback((function(t){c.current=t}),[]),g=b.useCallback((function(e){var r=c.current;c.current=null;var n=t.current.state.focus.cell;if(n){if((null==r?void 0:r.id)!==n.id||(null==r?void 0:r.field)!==n.field){var i=t.current.getCellElement(n.id,n.field);(null==i?void 0:i.contains(e.target))||t.current.getRow(n.id)&&(t.current.publishEvent(o.cellFocusOut,t.current.getCellParams(n.id,n.field),e),r?t.current.setCellFocus(r.id,r.field):(a((function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null}})})),s()))}}else r&&t.current.setCellFocus(r.id,r.field)}),[t,s,a]),y=b.useCallback((function(e){if("view"!==e.cellMode){var r=t.current.state.focus.cell;(null==r?void 0:r.id)===e.id&&(null==r?void 0:r.field)===e.field||t.current.setCellFocus(e.id,e.field)}}),[t]);cr(t,{setCellFocus:u,setColumnHeaderFocus:l},"GridFocusApi"),b.useEffect((function(){var e=t.current.state.focus.cell;e&&(t.current.getRow(e.id)||a((function(t){return Object.assign(Object.assign({},t),{focus:{cell:null,columnHeader:null}})})))}),[t,a,e.rows]),b.useEffect((function(){var e=Object(D.a)(t.current.rootElementRef.current);return e.addEventListener("click",g),function(){e.removeEventListener("click",g)}}),[t,g]),Gi(t,o.columnHeaderBlur,p),Gi(t,o.cellDoubleClick,f),Gi(t,o.cellMouseUp,v),Gi(t,o.cellKeyDown,h),Gi(t,o.cellModeChange,y),Gi(t,o.columnHeaderFocus,d)}(t,e),function(t,e){var r=sr(t,"useGridSorting");Aa(t,(function(t){var r,n,i,o;return Object.assign(Object.assign({},t),{sorting:{sortModel:null!==(o=null!==(r=e.sortModel)&&void 0!==r?r:null===(i=null===(n=e.initialState)||void 0===n?void 0:n.sorting)||void 0===i?void 0:i.sortModel)&&void 0!==o?o:[],sortedRows:[]}})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2];t.current.unstable_updateControlState({stateId:"sortModel",propModel:e.sortModel,propOnChange:e.onSortModelChange,stateSelector:xr,changeEvent:o.sortModelChange});var c=b.useCallback((function(e,r){var n=xr(t.current.state),i=n.findIndex((function(t){return t.field===e})),o=Object(l.a)(n);return i>-1?r?o.splice(i,1,r):o.splice(i,1):o=[].concat(Object(l.a)(n),[r]),o}),[t]),u=b.useCallback((function(r,n){var i=xr(t.current.state).find((function(t){return t.field===r.field}));if(i){var o=void 0===n?Ln(e.sortingOrder,i.sort):n;return null==o?void 0:Object.assign(Object.assign({},i),{sort:o})}return{field:r.field,sort:void 0===n?Ln(e.sortingOrder):n}}),[t,e.sortingOrder]),f=b.useCallback((function(e,r){return{id:e,field:r,value:t.current.getCellValue(e,r),api:t.current}}),[t]),h=b.useCallback((function(t){return function(e,r){return t.reduce((function(t,n,i){if(0!==t)return t;var o=n.comparator,a=e[i],s=r[i];return o(a.value,s.value,a,s)}),0)}}),[]),d=b.useCallback((function(e){return e.map((function(e){var r=t.current.getColumn(e.field);if(!r)throw new Error("Error sorting: column with field '".concat(e.field,"' not found. "));var n="desc"===e.sort?function(t,e,n,i){return-1*r.sortComparator(t,e,n,i)}:r.sortComparator;return{field:r.field,comparator:n}}))}),[t]),p=b.useCallback((function(){if(e.sortingMode===zi)return r.debug("Skipping sorting rows as sortingMode = server"),void a((function(t){return Object.assign(Object.assign({},t),{sorting:Object.assign(Object.assign({},t.sorting),{sortedRows:vr(t)})})}));a((function(t){var r=vr(t),n=mr(t),i=br(t)>1,o=xr(t),a=d(o),s=h(a),c=function(t){return t.map((function(t){return{value:t,params:a.map((function(e){return f(t.id,e.field)}))}})).sort((function(t,e){return s(t.params,e.params)})).map((function(t){return t.value.id}))},u=[];if(i){for(var p=new Map([[null,[]]]),m=0;m<r.length;m+=1){var b=n[r[m]],v=p.get(b.parent);v||(v=[],p.set(b.parent,v)),v.push(b)}var g=new Map;p.forEach((function(t,r){0===t.length?g.set(r,[]):t[0].depth>0&&e.disableChildrenSorting||0===a.length?g.set(r,t.map((function(t){return t.id}))):g.set(r,c(t))}));!function t(e,r){u=[].concat(Object(l.a)(u.slice(0,e)),Object(l.a)(r),Object(l.a)(u.slice(e)));var n=0;return r.forEach((function(r){n+=1;var i=g.get(r);if(null==i?void 0:i.length){var o=t(e+n,i);n+=o}})),n}(0,g.get(null))}else u=0===a.length?r:c(Object.values(n));return Object.assign(Object.assign({},t),{sorting:Object.assign(Object.assign({},t.sorting),{sortedRows:u})})})),s()}),[r,f,a,s,d,h,e.sortingMode,e.disableChildrenSorting]),v=b.useCallback((function(e){xr(t.current.state)!==e&&(r.debug("Setting sort model"),a((function(t){return Object.assign(Object.assign({},t),{sorting:Object.assign(Object.assign({},t.sorting),{sortModel:e})})})),s(),t.current.applySorting())}),[t,a,s,r]),g=b.useCallback((function(r,n,i){if(r.sortable){var o,a=u(r,n);o=!i||e.disableMultipleColumnsSorting?a?[a]:[]:c(r.field,a),t.current.setSortModel(o)}}),[t,c,u,e.disableMultipleColumnsSorting]),y=b.useCallback((function(){return xr(t.current.state)}),[t]),w=b.useCallback((function(){return wr(t.current.state).map((function(t){return t.model}))}),[t]),x=b.useCallback((function(){return yr(t.current.state)}),[t]),O=b.useCallback((function(e){return t.current.getSortedRowIds().indexOf(e)}),[t]),_=b.useCallback((function(e){return t.current.getSortedRowIds()[e]}),[t]);cr(t,{getSortModel:y,getSortedRows:w,getSortedRowIds:x,getRowIndex:O,getRowIdFromRowIndex:_,setSortModel:v,sortColumn:g,applySorting:p},"GridSortApi"),b.useEffect((function(){void 0!==e.sortModel&&t.current.setSortModel(e.sortModel)}),[t,e.sortModel]);var S=b.useRef(!0);b.useEffect((function(){S.current?S.current=!1:t.current.applySorting()}),[t,e.disableChildrenSorting]),la((function(){return t.current.applySorting()}));var k=b.useCallback((function(t,e){var r=t.colDef,n=e.shiftKey||e.metaKey||e.ctrlKey;g(r,void 0,n)}),[g]),E=b.useCallback((function(t,e){var r=t.colDef;!Kn(e.key)||e.ctrlKey||e.metaKey||g(r,void 0,e.shiftKey)}),[g]),M=b.useCallback((function(){var e=xr(t.current.state),r=Er(t.current.state);if(e.length>0){var n=e.filter((function(t){return r.find((function(e){return e.field===t.field}))}));n.length<e.length&&t.current.setSortModel(n)}}),[t]);Gi(t,o.columnHeaderClick,k),Gi(t,o.columnHeaderKeyDown,E),Gi(t,o.rowsSet,t.current.applySorting),Gi(t,o.columnsChange,M)}(t,e),function(t,e){var r=sr(t,"useGridPreferencesPanel");Aa(t,(function(t){var r,n;return Object.assign(Object.assign({},t),{preferencePanel:null!==(n=null===(r=e.initialState)||void 0===r?void 0:r.preferencePanel)&&void 0!==n?n:{open:!1}})}));var n=ur(t),i=Object(m.a)(n,3),o=i[1],a=i[2],s=b.useRef(),c=b.useRef(),u=b.useCallback((function(){r.debug("Hiding Preferences Panel"),o((function(t){return Object.assign(Object.assign({},t),{preferencePanel:{open:!1}})})),a()}),[a,r,o]),l=b.useCallback((function(){c.current=setTimeout((function(){return clearTimeout(s.current)}),0)}),[]),f=b.useCallback((function(){s.current=setTimeout(u,100)}),[u]);cr(t,{showPreferences:b.useCallback((function(t){r.debug("Opening Preferences Panel"),l(),o((function(e){return Object.assign(Object.assign({},e),{preferencePanel:Object.assign(Object.assign({},e.preferencePanel),{open:!0,openedPanelValue:t})})})),a()}),[l,a,r,o]),hidePreferences:f},"ColumnMenuApi"),b.useEffect((function(){return function(){clearTimeout(s.current),clearTimeout(c.current)}}),[])}(t,e),function(t,e){var r=sr(t,"useGridFilter");Aa(t,(function(t){var r,n,i,o;return e.filterModel&&Ra(e.filterModel),Object.assign(Object.assign({},t),{filter:{filterModel:null!==(o=null!==(r=e.filterModel)&&void 0!==r?r:null===(i=null===(n=e.initialState)||void 0===n?void 0:n.filter)||void 0===i?void 0:i.filterModel)&&void 0!==o?o:{items:[],linkOperator:Ri.And},visibleRowsLookup:{},filteredDescendantCountLookup:{}}})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2];t.current.unstable_updateControlState({stateId:"filter",propModel:e.filterModel,propOnChange:e.onFilterModelChange,stateSelector:Rr,changeEvent:o.filterModelChange});var c=b.useCallback((function(e){var r=e.items,n=e.linkOperator,i=void 0===n?Ri.And:n,o=r.map((function(e){if(!e.columnField||!e.operatorValue)return null;var r=t.current.getColumn(e.columnField);if(!r)return null;var n=r.valueParser?r.valueParser(e.value):e.value,i=Object.assign(Object.assign({},e),{value:n}),o=r.filterOperators;if(!(null==o?void 0:o.length))throw new Error("MUI: No filter operators found for column '".concat(r.field,"'."));var a=o.find((function(t){return t.value===i.operatorValue}));if(!a)throw new Error("MUI: No filter operator found for column '".concat(r.field,"' and operator value '").concat(i.operatorValue,"'."));var s=a.getApplyFilterFn(i,r);return"function"!=typeof s?null:function(e){var r=t.current.getCellParams(e,i.columnField);return s(r)}})).filter((function(t){return!!t}));return 0===o.length?null:function(t){return i===Ri.And?o.every((function(e){return e(t)})):o.some((function(e){return e(t)}))}}),[t]),u=b.useCallback((function(){a((function(t){var r=Rr(t),n=vr(t),i=mr(t),o=br(t)>1,a=e.filterMode===Bi?c(r):null,s={},u={};if(o)for(var l=function t(r,n,o){var c,l,f=e.disableChildrenFiltering&&r.depth>0;l=f?null:!a||a(r.id);var h,d=0;switch(null===(c=r.children)||void 0===c||c.forEach((function(e){var a=i[e],s=t(a,null!=l?l:n,o&&!!r.childrenExpanded);d+=s})),l){case!0:h=!0;break;case!1:h=d>0;break;default:h=n}return s[r.id]=h&&o,h?(u[r.id]=d,d+1):0},f=Object.values(i),h=0;h<f.length;h+=1){var d=f[h];0===d.depth&&l(d,!0,!0)}else if(e.filterMode===Bi&&a)for(var p=0;p<n.length;p+=1){var m=n[p];s[m]=a(m)}return Object.assign(Object.assign({},t),{filter:Object.assign(Object.assign({},t.filter),{visibleRowsLookup:s,filteredDescendantCountLookup:u})})})),t.current.publishEvent(o.visibleRowsSet),s()}),[t,a,s,e.filterMode,c,e.disableChildrenFiltering]),f=b.useCallback((function(e){var r=Object.assign({},e);if(null==r.id&&(r.id=Math.round(1e5*Math.random())),null==r.operatorValue){var n=t.current.getColumn(r.columnField);r.operatorValue=n&&n.filterOperators[0].value}return r}),[t]),h=b.useCallback((function(e){var r=Rr(t.current.state),n=Object(l.a)(r.items),i=n.findIndex((function(t){return t.id===e.id})),o=f(e);-1===i?n.push(o):n[i]=o,t.current.setFilterModel(Object.assign(Object.assign({},r),{items:n}))}),[t,f]),d=b.useCallback((function(e){var r=Rr(t.current.state),n=r.items.filter((function(t){return t.id!==e.id}));n.length!==r.items.length&&t.current.setFilterModel(Object.assign(Object.assign({},r),{items:n}))}),[t]),p=b.useCallback((function(n){if(r.debug("Displaying filter panel"),n){var i,o=Rr(t.current.state),a=o.items.filter((function(t){return void 0!==t.value}));i=a.find((function(t){return t.columnField===n}))?a:e.disableMultipleColumnsFiltering?[f({columnField:n})]:[].concat(Object(l.a)(a),[f({columnField:n})]),t.current.setFilterModel(Object.assign(Object.assign({},o),{items:i}))}t.current.showPreferences(co.filters)}),[t,r,f,e.disableMultipleColumnsFiltering]),v=b.useCallback((function(){r.debug("Hiding filter panel"),t.current.hidePreferences()}),[t,r]),g=b.useCallback((function(e){var r=Rr(t.current.state);r.linkOperator!==e&&t.current.setFilterModel(Object.assign(Object.assign({},r),{linkOperator:e}))}),[t]),y=b.useCallback((function(n){Rr(t.current.state)!==n&&(Ra(n),n.items.length>1&&e.disableMultipleColumnsFiltering&&(n.items=[n.items[0]]),r.debug("Setting filter model"),a((function(t){return Object.assign(Object.assign({},t),{filter:Object.assign(Object.assign({},t.filter),{filterModel:n})})})),t.current.unstable_applyFilters())}),[t,r,a,e.disableMultipleColumnsFiltering]),w=b.useCallback((function(){var e=Ir(t.current.state);return new Map(e.map((function(t){return[t.id,t.model]})))}),[t]);cr(t,{setFilterLinkOperator:g,unstable_applyFilters:u,deleteFilterItem:d,upsertFilterItem:h,setFilterModel:y,showFilterPanel:p,hideFilterPanel:v,getVisibleRowModels:w},"FilterApi");var x=b.useCallback((function(){r.debug("onColUpdated - GridColumns changed, applying filters");var e=Rr(t.current.state),n=Ar(t.current.state),i=e.items.filter((function(t){return t.columnField&&n.includes(t.columnField)}));i.length<e.items.length&&t.current.setFilterModel(Object.assign(Object.assign({},e),{items:i}))}),[t,r]);b.useEffect((function(){void 0!==e.filterModel&&t.current.setFilterModel(e.filterModel)}),[t,r,e.filterModel]);var O=b.useRef(!0);b.useEffect((function(){O.current?O.current=!1:t.current.unstable_applyFilters()}),[t,e.disableChildrenFiltering]),la((function(){return t.current.unstable_applyFilters()})),Gi(t,o.rowsSet,t.current.unstable_applyFilters),Gi(t,o.rowExpansionChange,t.current.unstable_applyFilters),Gi(t,o.columnsChange,x)}(t,e),function(t,e){var r=sr(t,"useDensity");Aa(t,(function(t){return Object.assign(Object.assign({},t),{density:Ta(e.density,e.headerHeight,e.rowHeight)})}));var n=ur(t),i=Object(m.a)(n,3),o=i[1],a=i[2],s=b.useCallback((function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.headerHeight,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.rowHeight;r.debug("Set grid density to ".concat(t)),o((function(e){var r=Xr(e),o=Ta(t,n,i);return nr(r,o)?e:Object.assign(Object.assign({},e),{density:o})})),a()}),[r,o,a,e.headerHeight,e.rowHeight]);b.useEffect((function(){t.current.setDensity(e.density,e.headerHeight,e.rowHeight)}),[t,e.density,e.rowHeight,e.headerHeight]),cr(t,{setDensity:s},"GridDensityApi")}(t,e),function(t,e){var r=sr(t,"useGridPageSize"),n=lr(t,Kr);Aa(t,(function(t){var r;return Object.assign(Object.assign({},t),{pagination:{pageSize:null!==(r=e.pageSize)&&void 0!==r?r:e.autoPageSize?0:100}})}));var i=ur(t),a=Object(m.a)(i,3),s=a[1],c=a[2];t.current.unstable_updateControlState({stateId:"pageSize",propModel:e.pageSize,propOnChange:e.onPageSizeChange,stateSelector:gi,changeEvent:o.pageSizeChange});var u=b.useCallback((function(e){e!==gi(t.current.state)&&(r.debug("Setting page size to ".concat(e)),s((function(t){return Object.assign(Object.assign({},t),{pagination:Object.assign(Object.assign({},t.pagination),{pageSize:e})})})),c())}),[t,s,c,r]);b.useEffect((function(){null==e.pageSize||e.autoPageSize||t.current.setPageSize(e.pageSize)}),[t,e.autoPageSize,e.pageSize]),cr(t,{setPageSize:u},"GridPageSizeApi");var l=b.useCallback((function(){var r=t.current.getRootDimensions();if(e.autoPageSize&&r){var i=Math.floor(r.viewportInnerSize.height/n);t.current.setPageSize(i)}}),[t,e.autoPageSize,n]);b.useEffect((function(){l()}),[l]),Gi(t,o.viewportInnerSizeChange,l)}(t,e),function(t,e){var r=sr(t,"useGridPage");Aa(t,(function(t){var r,n,i;return Object.assign(Object.assign({},t),{pagination:Object.assign(Object.assign({},t.pagination),{page:null!==(r=e.page)&&void 0!==r?r:0,pageCount:Na(null!==(n=e.rowCount)&&void 0!==n?n:0,t.pagination.pageSize),rowCount:null!==(i=e.rowCount)&&void 0!==i?i:0})})}));var n=ur(t),i=Object(m.a)(n,3),a=i[1],s=i[2],c=lr(t,zr);t.current.unstable_updateControlState({stateId:"page",propModel:e.page,propOnChange:e.onPageChange,stateSelector:vi,changeEvent:o.pageChange});var u=b.useCallback((function(t){r.debug("Setting page to ".concat(t)),a((function(e){return Object.assign(Object.assign({},e),{pagination:Fa(Object.assign(Object.assign({},e.pagination),{page:t}))})})),s()}),[a,s,r]);b.useEffect((function(){a((function(t){var r=void 0!==e.rowCount?e.rowCount:c,n=Na(r,t.pagination.pageSize),i=null==e.page?t.pagination.page:e.page;return Object.assign(Object.assign({},t),{pagination:Fa(Object.assign(Object.assign({},t.pagination),{page:i,rowCount:r,pageCount:n}))})})),s()}),[a,s,c,e.rowCount,e.page,t]),Gi(t,o.pageSizeChange,(function(t){a((function(e){var r=Na(e.pagination.rowCount,t);return Object.assign(Object.assign({},e),{pagination:Fa(Object.assign(Object.assign({},e.pagination),{pageCount:r,page:e.pagination.page}))})})),s()})),cr(t,{setPage:u},"GridPageApi")}(t,e),function(t,e){var r=sr(t,"useGridScroll"),n=t.current.columnHeadersElementRef,i=t.current.windowRef,o=lr(t,Kr),a=lr(t,bi),s=lr(t,hr),c=lr(t,Mr),u=lr(t,Cr),l=b.useCallback((function(n){if(0===s||0===c.length)return!1;r.debug("Scrolling to cell at row ".concat(n.rowIndex,", col: ").concat(n.colIndex," "));var l={};if(null!=n.colIndex&&(l.left=Wa({clientHeight:i.current.clientWidth,scrollTop:i.current.scrollLeft,offsetHeight:c[n.colIndex].computedWidth,offsetTop:u.positions[n.colIndex]})),null!=n.rowIndex){var f=e.pagination?n.rowIndex-a.page*a.pageSize:n.rowIndex;l.top=Wa({clientHeight:i.current.clientHeight,scrollTop:i.current.scrollTop,offsetHeight:o,offsetTop:o*f})}return(void 0!==typeof l.left||void 0!==typeof l.top)&&(t.current.scroll(l),!0)}),[s,c,r,t,e.pagination,a.page,a.pageSize,i,u.positions,o]),f=b.useCallback((function(t){i.current&&null!=t.left&&n.current&&(n.current.scrollLeft=t.left,i.current.scrollLeft=t.left,r.debug("Scrolling left: ".concat(t.left))),i.current&&null!=t.top&&(i.current.scrollTop=t.top,r.debug("Scrolling top: ".concat(t.top))),r.debug("Scrolling, updating container, and viewport")}),[i,n,r]),h=b.useCallback((function(){return(null==i?void 0:i.current)?{top:i.current.scrollTop,left:i.current.scrollLeft}:{top:0,left:0}}),[i]);cr(t,{scroll:f,scrollToIndexes:l,getScrollPosition:h},"GridScrollApi");var d=b.useCallback((function(t){t.target.scrollLeft=0,t.target.scrollTop=0}),[]);ma(t,(function(){var e,r,n;return null===(n=null===(r=null===(e=t.current)||void 0===e?void 0:e.renderingZoneRef)||void 0===r?void 0:r.current)||void 0===n?void 0:n.parentElement}),"scroll",d)}(t,e),function(t){var e=sr(t,"useGridColumnMenu");Aa(t,(function(t){return Object.assign(Object.assign({},t),{columnMenu:{open:!1}})}));var r=ur(t),n=Object(m.a)(r,3),i=n[1],a=n[2],s=lr(t,ua),c=b.useCallback((function(r){i((function(t){return t.columnMenu.open&&t.columnMenu.field===r?t:(e.debug("Opening Column Menu"),Object.assign(Object.assign({},t),{columnMenu:{open:!0,field:r}}))}))&&(t.current.hidePreferences(),a())}),[t,a,e,i]),u=b.useCallback((function(){i((function(t){return t.columnMenu.open||void 0!==t.columnMenu.field?(e.debug("Hiding Column Menu"),Object.assign(Object.assign({},t),{columnMenu:Object.assign(Object.assign({},t.columnMenu),{open:!1,field:void 0})})):t}))&&a()}),[a,e,i]),l=b.useCallback((function(t){e.debug("Toggle Column Menu"),s.open&&s.field===t?u():c(t)}),[e,c,u,s]);cr(t,{showColumnMenu:c,hideColumnMenu:u,toggleColumnMenu:l},"ColumnMenuApi"),Gi(t,o.columnResizeStart,u),Gi(t,o.rowsScroll,u)}(t),function(t){var e=b.useCallback((function(e,r){t.current.publishEvent(o.cellNavigationKeyDown,e,r);var n=t.current.state.focus.cell;if(n){var i,a,s=(i=r.target,a=dt.row,i.closest(".".concat(a))),c=Number(s.getAttribute("data-rowindex")),u=Nr(t.current.state)[c];u!==n.id&&t.current.selectRowRange({startId:u,endId:n.id},!t.current.isRowSelected(n.id))}}),[t]),r=b.useCallback((function(r,n){if(null!=(i=n.target)&&i.classList.contains(dt.cell)){var i,a=t.current.getCellParams(r.id,r.field);if(a.cellMode!==Mi.Edit){if(Jn(n.key)&&n.shiftKey)return n.preventDefault(),void t.current.selectRow(a.id,!t.current.isRowSelected(a.id),!1);if(!oi(n.key)||n.shiftKey)return oi(n.key)&&n.shiftKey?(n.preventDefault(),void e(a,n)):void("c"===n.key.toLowerCase()&&(n.ctrlKey||n.metaKey)||"a"===n.key.toLowerCase()&&(n.ctrlKey||n.metaKey)&&(n.preventDefault(),t.current.selectRows(t.current.getAllRowIds(),!0)));t.current.publishEvent(o.cellNavigationKeyDown,a,n)}}}),[t,e]),n=b.useCallback((function(e,r){ro(r.target)&&(Jn(r.key)&&ro(r.target)&&r.preventDefault(),!oi(r.key)||Jn(r.key)||r.shiftKey?Kn(r.key)&&(r.ctrlKey||r.metaKey)&&t.current.toggleColumnMenu(e.field):t.current.publishEvent(o.columnHeaderNavigationKeyDown,e,r))}),[t]);Gi(t,o.cellKeyDown,r),Gi(t,o.columnHeaderKeyDown,n)}(t),function(t,e){var r=sr(t,"useGridKeyboardNavigation"),n=lr(t,Tr),i=lr(t,Ir),a=Ia(t,e),s=b.useCallback((function(e,n){r.debug("Navigating to cell row ".concat(n,", col ").concat(e)),t.current.scrollToIndexes({colIndex:e,rowIndex:n});var o=t.current.getVisibleColumns()[e].field,a=i[n];t.current.setCellFocus(a.id,o)}),[t,r,i]),c=b.useCallback((function(e,n){r.debug("Navigating to header col ".concat(e)),t.current.scrollToIndexes({colIndex:e});var i=t.current.getVisibleColumns()[e].field;t.current.setColumnHeaderFocus(i,n)}),[t,r]),u=b.useCallback((function(e,r){r.preventDefault();var o=t.current.getRootDimensions();if(a.range&&o){var u=t.current.unstable_getViewportPageSize(),l=e.field?t.current.getColumnIndex(e.field):0,f=i.findIndex((function(t){return t.id===e.id})),h=a.range.firstRowIndex,d=a.range.lastRowIndex,p=n-1;switch(r.key){case"ArrowDown":case"Enter":f<d&&s(l,f+1);break;case"ArrowUp":f>h?s(l,f-1):c(l,r);break;case"ArrowRight":l<p&&s(l+1,f);break;case"ArrowLeft":l>0&&s(l-1,f);break;case"Tab":r.shiftKey&&l>0?s(l-1,f):!r.shiftKey&&l<p&&s(l+1,f);break;case"PageDown":case" ":f<d&&s(l,Math.min(f+u,d));break;case"PageUp":f-u>=h?s(l,f-u):c(l,r);break;case"Home":r.ctrlKey||r.metaKey||r.shiftKey?s(0,h):s(0,f);break;case"End":r.ctrlKey||r.metaKey||r.shiftKey?s(p,d):s(p,f)}}}),[t,i,n,a,s,c]),l=b.useCallback((function(e,r){var i,o,u,l;if(r.preventDefault(),t.current.getRootDimensions()){var f=t.current.unstable_getViewportPageSize(),h=e.field?t.current.getColumnIndex(e.field):0,d=null!==(o=null===(i=a.range)||void 0===i?void 0:i.firstRowIndex)&&void 0!==o?o:null,p=null!==(l=null===(u=a.range)||void 0===u?void 0:u.lastRowIndex)&&void 0!==l?l:null,m=n-1;switch(r.key){case"ArrowDown":case"Enter":null!==d&&s(h,d);break;case"ArrowRight":h<m&&c(h+1,r);break;case"ArrowLeft":h>0&&c(h-1,r);break;case"PageDown":null!==d&&null!==p&&s(h,Math.min(d+f,p));break;case"Home":c(0,r);break;case"End":c(m,r)}}}),[t,n,a,s,c]);Gi(t,o.cellNavigationKeyDown,u),Gi(t,o.columnHeaderNavigationKeyDown,l)}(t,e),Da(t),function(t,e){var r=sr(t,"useGridPrintExport"),n=ur(t),i=Object(m.a)(n,2),o=i[0],a=i[1],s=lr(t,Kr),u=lr(t,Zr),f=lr(t,Br),h=lr(t,Er),d=b.useRef(null),p=b.useRef(),v=b.useRef([]);b.useEffect((function(){d.current=Object(D.a)(t.current.rootElementRef.current)}),[t]);var g=b.useCallback((function(e,r){return new Promise((function(n){e||r?(t.current.updateColumns(h.map((function(t){return t.hide&&v.current.push(t.field),r?(t.hide=!1,t):(t.hide=!(null==e?void 0:e.includes(t.field))||t.disableExport,t)}))),n()):n()}))}),[h,t]),y=b.useCallback((function(t){var e=document.createElement("iframe");return e.id="grid-print-window",e.src=window.location.href,e.style.position="absolute",e.style.width="0px",e.style.height="0px",e.title=t||document.title,e}),[]),w=b.useCallback((function(e,r){var n,i,o,a,c,h,p=Object.assign({copyStyles:!0,hideToolbar:!1,hideFooter:!1},r);e.onload=null;var m=e.contentDocument||(null===(i=e.contentWindow)||void 0===i?void 0:i.document);if(m){var b=t.current.rootElementRef.current,v=b.cloneNode(!0),g=v.querySelector(".".concat(dt.virtualScroller));g.style.height="auto",g.style.width="auto",g.parentElement.style.width="auto",g.parentElement.style.height="auto",v.querySelector(".".concat(dt.columnHeaders)).firstChild.style.width="100%";var y=(null===(o=b.querySelector(".".concat(dt.toolbarContainer)))||void 0===o?void 0:o.clientHeight)||0,w=(null===(a=b.querySelector(".".concat(dt.footerContainer)))||void 0===a?void 0:a.clientHeight)||0;p.hideToolbar&&(null===(c=v.querySelector(".".concat(dt.toolbarContainer)))||void 0===c||c.remove(),y=0),p.hideFooter&&(null===(h=v.querySelector(".".concat(dt.footerContainer)))||void 0===h||h.remove(),w=0),v.style.height="".concat(f*s+u+y+w,"px"),m.body.innerHTML="",m.body.appendChild(v);var x="function"==typeof p.pageStyle?p.pageStyle():p.pageStyle;if("string"==typeof x){var O=m.createElement("style");O.appendChild(m.createTextNode(x)),m.head.appendChild(O)}if(p.bodyClassName&&(n=m.body.classList).add.apply(n,Object(l.a)(p.bodyClassName.split(" "))),p.copyStyles)for(var _=d.current.querySelectorAll("style, link[rel='stylesheet']"),S=0;S<_.length;S+=1){var k=_[S];if("STYLE"===k.tagName){var E=m.createElement(k.tagName),M=k.sheet;if(M){for(var C="",j=0;j<M.cssRules.length;j+=1)"string"==typeof M.cssRules[j].cssText&&(C+="".concat(M.cssRules[j].cssText,"\r\n"));E.appendChild(m.createTextNode(C)),m.head.appendChild(E)}}else if(k.getAttribute("href")){for(var A=m.createElement(k.tagName),T=0;T<k.attributes.length;T+=1){var P=k.attributes[T];P&&A.setAttribute(P.nodeName,P.nodeValue||"")}m.head.appendChild(A)}}e.contentWindow.print()}}),[t,d,f,s,u]),x=b.useCallback((function(e){d.current.body.removeChild(e),a((function(t){return Object.assign(Object.assign({},t),p.current)})),t.current.unstable_enableVirtualization(),v.current.length&&t.current.updateColumns(h.map((function(t){return t.hide=v.current.includes(t.field),t}))),p.current=null,v.current=[]}),[h,t,a]),O=b.useCallback((function(n){return yt(void 0,void 0,void 0,c.a.mark((function i(){var a;return c.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(r.debug("Export data as Print"),t.current.rootElementRef.current){i.next=2;break}throw new Error("MUI: No grid root element available.");case 2:return p.current=o,e.pagination&&t.current.setPageSize(f),i.next=6,g(null==n?void 0:n.fields,null==n?void 0:n.allColumns);case 6:t.current.unstable_disableVirtualization(),a=y(null==n?void 0:n.fileName),d.current.body.appendChild(a),a.onload=function(){return w(a,n)},a.contentWindow.onafterprint=function(){return x(a)};case 9:case"end":return i.stop()}}),i)})))}),[f,e,r,t,o,y,w,x,g]);cr(t,{exportDataAsPrint:O},"GridPrintExportApi")}(t,e),function(t){var e=b.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0!==t.current.getSelectedRows().size){var r=t.current.getDataAsCsv({includeHeaders:e,delimiter:"\t"});navigator.clipboard?navigator.clipboard.writeText(r).catch((function(){ja(r)})):ja(r)}}),[t]),r=b.useCallback((function(e){var r,n=e.ctrlKey||e.metaKey||e.altKey;"c"===e.key.toLowerCase()&&n&&""===(null===(r=window.getSelection())||void 0===r?void 0:r.toString())&&t.current.unstable_copySelectedRowsToClipboard(e.altKey)}),[t]);ma(t,t.current.rootElementRef,"keydown",r),cr(t,{unstable_copySelectedRowsToClipboard:e},"GridClipboardApi")}(t),function(t,e){var r=sr(t,"useResizeContainer"),n=b.useRef(!1),i=b.useRef(null),a=b.useRef(null),s=lr(t,Kr),c=lr(t,Zr),u=b.useCallback((function(){var r,n=null===(r=t.current.rootElementRef)||void 0===r?void 0:r.current,u=Pr(t.current.state);if(i.current){var l;if(null!=e.scrollbarSize)l=e.scrollbarSize;else if(u&&n){var f=Object(D.a)(n).createElement("div");f.style.width="99px",f.style.height="99px",f.style.position="absolute",f.style.overflow="scroll",f.className="scrollDiv",n.appendChild(f),l=f.offsetWidth-f.clientWidth,n.removeChild(f)}else l=0;var h=La(t.current.state,{pagination:e.pagination,paginationMode:e.paginationMode}).rows.length*s,d={width:i.current.width,height:e.autoHeight?h:i.current.height-c},p=function(t){var e=t.content,r=t.container,n=t.scrollBarSize,i=e.width>r.width,o=e.height>r.height,a=!1,s=!1;return(i||o)&&(a=i,(s=e.height+(a?n:0)>r.height)&&(a=e.width+n>r.width)),{hasScrollX:a,hasScrollY:s}}({content:{width:Math.round(u),height:h},container:d,scrollBarSize:l}),m=p.hasScrollX,b=p.hasScrollY,v={viewportOuterSize:d,viewportInnerSize:{height:d.height-(m?l:0),width:d.width-(b?l:0)},hasScrollX:m,hasScrollY:b},g=a.current;a.current=v,v.viewportInnerSize.width===(null==g?void 0:g.viewportInnerSize.width)&&v.viewportInnerSize.height===(null==g?void 0:g.viewportInnerSize.height)||t.current.publishEvent(o.viewportInnerSizeChange,v.viewportInnerSize)}}),[t,e.scrollbarSize,e.autoHeight,e.pagination,e.paginationMode,c,s]),l=b.useCallback((function(){u(),t.current.publishEvent(o.debouncedResize,i.current)}),[t,u]),f=b.useCallback((function(){return a.current}),[]),h=b.useCallback((function(){var r=t.current.getRootDimensions();if(!r)return 0;var n=La(t.current.state,{pagination:e.pagination,paginationMode:e.paginationMode}),i=Math.floor(r.viewportInnerSize.height/Kr(t.current.state));return Math.min(i,n.rows.length)}),[t,e.pagination,e.paginationMode]);cr(t,{resize:l,getRootDimensions:f,unstable_getViewportPageSize:h},"GridDimensionsApi");var d=b.useMemo((function(){return Object(R.a)(l,60)}),[l]),p=b.useRef(!0),m=b.useCallback((function(t){i.current=t;var o=/jsdom/.test(window.navigator.userAgent);return 0!==t.height||n.current||e.autoHeight||o||(r.warn(["The parent of the grid has an empty height.","You need to make sure the container has an intrinsic height.","The grid displays with a height of 0px.","","You can find a solution in the docs:","https://mui.com/components/data-grid/layout/"].join("\n")),n.current=!0),0!==t.width||n.current||o||(r.warn(["The parent of the grid has an empty width.","You need to make sure the container has an intrinsic width.","The grid displays with a width of 0px.","","You can find a solution in the docs:","https://mui.com/components/data-grid/layout/"].join("\n")),n.current=!0),p.current?(l(),void(p.current=!1)):void d()}),[e.autoHeight,d,r,l]);Object(C.a)((function(){return u()}),[u]),Xi(t,o.visibleRowsSet,u),Xi(t,o.pageChange,u),Xi(t,o.pageSizeChange,u),Xi(t,o.columnsChange,u),Gi(t,o.resize,m),Xi(t,o.debouncedResize,e.onResize)}(t,e),function(t,e){Xi(t,o.columnHeaderClick,e.onColumnHeaderClick),Xi(t,o.columnHeaderDoubleClick,e.onColumnHeaderDoubleClick),Xi(t,o.columnHeaderOver,e.onColumnHeaderOver),Xi(t,o.columnHeaderOut,e.onColumnHeaderOut),Xi(t,o.columnHeaderEnter,e.onColumnHeaderEnter),Xi(t,o.columnHeaderLeave,e.onColumnHeaderLeave),Xi(t,o.columnOrderChange,e.onColumnOrderChange),Xi(t,o.cellClick,e.onCellClick),Xi(t,o.cellDoubleClick,e.onCellDoubleClick),Xi(t,o.cellKeyDown,e.onCellKeyDown),Xi(t,o.cellFocusOut,e.onCellFocusOut),Xi(t,o.rowDoubleClick,e.onRowDoubleClick),Xi(t,o.rowClick,e.onRowClick),Xi(t,o.componentError,e.onError),Xi(t,o.stateChange,e.onStateChange)}(t,e)},Va={apiRef:void 0,disableColumnResize:!0,disableColumnReorder:!0,disableMultipleColumnsFiltering:!0,disableMultipleColumnsSorting:!0,disableMultipleSelection:!0,disableChildrenFiltering:void 0,disableChildrenSorting:void 0,getTreeDataPath:void 0,groupingColDef:void 0,throttleRowsMs:void 0,hideFooterRowCount:!1,pagination:!0,onRowsScrollEnd:void 0,checkboxSelectionVisibleOnly:!1,scrollEndThreshold:void 0,defaultGroupingExpansionDepth:void 0,treeData:void 0,signature:"DataGrid"},Ga=Object(_.a)("div",{name:"MuiDataGrid",slot:"ColumnHeaders",overridesResolver:function(t,e){return e.columnHeaders}})((function(t){var e=t.theme;return{position:"absolute",top:0,left:0,right:0,overflow:"hidden",display:"flex",alignItems:"center",borderBottom:"1px solid ".concat("light"===e.palette.mode?Object(S.e)(Object(S.a)(e.palette.divider,1),.88):Object(S.b)(Object(S.a)(e.palette.divider,1),.68))}})),Ya=b.forwardRef((function(t,e){t.innerRef;var r=t.className,n=gt(t,["innerRef","className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["columnHeaders"]},ht,e)}({classes:mt().classes});return b.createElement(Ga,Object.assign({ref:e,className:Object(I.a)(r,i.root)},n))})),Xa=Object(_.a)("div",{name:"MuiDataGrid",slot:"columnHeadersInner",overridesResolver:function(t,e){return[Object(u.a)({},"&.".concat(dt.columnHeaderDropZone),e.columnHeaderDropZone),e.columnHeadersInner]}})((function(){var t;return t={display:"flex",alignItems:"center"},Object(u.a)(t,"&.".concat(dt.columnHeaderDropZone," .").concat(dt.columnHeaderDraggableContainer),{cursor:"move"}),Object(u.a)(t,"&.".concat(dt["columnHeadersInner--scrollable"]," .").concat(dt.columnHeader,":last-child"),{borderRight:"none"}),t})),$a=b.forwardRef((function(t,e){var r,n,i=t.isDragging,o=t.className,a=gt(t,["isDragging","className"]),s=ft(),c=mt(),u=function(t){var e=t.isDragging,r=t.hasScrollX,n=t.classes;return Object(O.a)({root:["columnHeadersInner",e&&"columnHeaderDropZone",r&&"columnHeadersInner--scrollable"]},ht,n)}({isDragging:i,hasScrollX:null!==(n=null===(r=s.current.getRootDimensions())||void 0===r?void 0:r.hasScrollX)&&void 0!==n&&n,classes:c.classes});return b.createElement(Xa,Object.assign({ref:e,className:Object(I.a)(o,u.root)},a))})),Ka=b.forwardRef((function(t,e){var r=t.innerRef,n=(t.className,gt(t,["innerRef","className"])),i=function(t){var e=t.innerRef,r=b.useState(""),n=Object(m.a)(r,2),i=n[0],a=n[1],s=b.useState(""),c=Object(m.a)(s,2),u=c[0],l=c[1],f=ft(),h=lr(f,Mr),d=lr(f,Cr),p=lr(f,mi),v=lr(f,pi),g=lr(f,hi),y=lr(f,Zr),w=lr(f,Ur),x=lr(f,Or),O=lr(f,ua),_=mt(),S=b.useRef(null),k=Object(j.a)(e,S),E=b.useState(null),M=Object(m.a)(E,2),C=M[0],A=M[1],T=b.useRef(C),P=b.useRef(0),D=b.useMemo((function(){if(null==C)return[];var t=Math.max(C.firstColumnIndex-_.columnBuffer,0),e=Math.min(C.lastColumnIndex+_.columnBuffer,h.length);return h.slice(t,e)}),[C,_.columnBuffer,h]);b.useEffect((function(){f.current.columnHeadersContainerElementRef.current.scrollLeft=0}),[f]);var R=b.useCallback((function(t){var e=Math.max(t.firstColumnIndex-_.columnBuffer,0),r=e>0?P.current-d.positions[e]:P.current;S.current.style.transform="translate3d(".concat(-r,"px, 0px, 0px)")}),[d.positions,_.columnBuffer]),L=b.useCallback((function(t){var e,r,n=t.left,i=t.renderContext,o=void 0===i?null:i;S.current&&(P.current===n&&(null===(e=T.current)||void 0===e?void 0:e.firstColumnIndex)===(null==o?void 0:o.firstColumnIndex)&&(null===(r=T.current)||void 0===r?void 0:r.lastColumnIndex)===(null==o?void 0:o.lastColumnIndex)||(P.current=n,o===T.current&&T.current||(A(o),T.current=o),o&&R(o)))}),[R]),I=b.useCallback((function(t){return l(t.field)}),[]),N=b.useCallback((function(){return l("")}),[]),F=b.useCallback((function(t){return a(t.field)}),[]),B=b.useCallback((function(){return a("")}),[]);Gi(f,o.columnResizeStart,I),Gi(f,o.columnResizeStop,N),Gi(f,o.columnHeaderDragStart,F),Gi(f,o.columnHeaderDragEnd,B),Gi(f,o.rowsScroll,L);var z={minHeight:y,maxHeight:y,lineHeight:"".concat(y,"px")};return{renderContext:C,isDragging:!!i,getColumns:function(){if(!C)return null;for(var t=[],e=Math.max(C.firstColumnIndex-_.columnBuffer,0),r=0;r<D.length;r+=1){var n=D[r],o=e+r,a=0===o,s=!(null===p&&null===v),c=null!==p&&p.field===n.field||a&&!s?0:-1,l=null!==g&&g.field===n.field,f=O.open&&O.field===n.field;t.push(b.createElement(mo,Object.assign({key:r},x[n.field],{columnMenuOpen:f,filterItemsCounter:w[n.field]&&w[n.field].length,headerHeight:y,isDragging:n.field===i,column:n,colIndex:o,isResizing:u===n.field,isLastColumn:o===t.length-1,extendRowFullWidth:!_.disableExtendRowFullWidth,hasFocus:l,tabIndex:c})))}return t},getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({style:z},t)},getInnerProps:function(){return{ref:k,"aria-rowindex":1,role:"row"}}}}({innerRef:r}),a=i.isDragging,s=i.getRootProps,c=i.getInnerProps,u=i.getColumns;return b.createElement(Ya,Object.assign({ref:e},s(n)),b.createElement(ca,{scrollDirection:"left"}),b.createElement($a,Object.assign({isDragging:a},c()),u()),b.createElement(ca,{scrollDirection:"right"}))})),Za=Object(_.a)("div",{name:"MuiDataGrid",slot:"VirtualScroller",overridesResolver:function(t,e){return e.virtualScroller}})({overflow:"auto","@media print":{overflow:"hidden"}}),Ja=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["virtualScroller"]},ht,e)}({classes:mt().classes});return b.createElement(Za,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))})),Qa=Object(_.a)("div",{name:"MuiDataGrid",slot:"VirtualScrollerContent",overridesResolver:function(t,e){return e.virtualScrollerContent}})({position:"relative",overflow:"hidden"}),ts=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["virtualScrollerContent"]},ht,e)}({classes:mt().classes});return b.createElement(Qa,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))})),es=Object(_.a)("div",{name:"MuiDataGrid",slot:"VirtualScrollerRenderZone",overridesResolver:function(t,e){return e.virtualScrollerRenderZone}})({position:"absolute"}),rs=b.forwardRef((function(t,e){var r=t.className,n=gt(t,["className"]),i=function(t){var e=t.classes;return Object(O.a)({root:["virtualScrollerRenderZone"]},ht,e)}({classes:mt().classes});return b.createElement(es,Object.assign({ref:e,className:Object(I.a)(i.root,r)},n))}));function ns(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(e.length<=0)return-1;if(r>=n)return r;var i=r+Math.floor((n-r)/2);return t<=e[i]?ns(t,e,r,i):ns(t,e,i+1,n)}var is=b.forwardRef((function(t,e){var r=t.className,n=t.selectionLookup,i=t.disableVirtualization,a=gt(t,["className","selectionLookup","disableVirtualization"]),s=function(t){var e=t.ref,r=t.selectionLookup,n=t.disableVirtualization,i=ft(),a=mt(),s=lr(i,Mr),c=lr(i,Cr),u=lr(i,Kr),l=lr(i,fi),f=lr(i,pi),h=lr(i,da),d=Ia(i,a),p=b.useRef(null),v=b.useRef(null),g=Object(j.a)(e,v),y=b.useState(null),w=Object(m.a)(y,2),x=w[0],O=w[1],_=b.useRef(x),S=b.useRef({top:0,left:0}),k=b.useState(null),E=Object(m.a)(k,2),M=E[0],C=E[1],A=b.useRef(c.totalWidth),T=b.useCallback((function(){if(n)return{firstRowIndex:0,lastRowIndex:d.rows.length,firstColumnIndex:0,lastColumnIndex:s.length};var t=S.current,e=t.top,r=t.left,o=a.autoHeight?d.rows.length:Math.floor(v.current.clientHeight/u),c=Math.floor(e/u),l=c+o,f=Cr(i.current.state).positions;return{firstRowIndex:c,lastRowIndex:l,firstColumnIndex:ns(r,f),lastColumnIndex:ns(r+M,f)}}),[i,M,a.autoHeight,n,u,d.rows.length,s.length]);b.useEffect((function(){n?p.current.style.transform="translate3d(0px, 0px, 0px)":(v.current.scrollLeft=0,v.current.scrollTop=0),C(v.current.clientWidth)}),[n]),b.useEffect((function(){if(null!=M){var t=T();_.current=t,O(t);var e=S.current,r={top:e.top,left:e.left,renderContext:t};i.current.publishEvent(o.rowsScroll,r)}}),[i,T,M]);var P=b.useCallback((function(){v.current&&C(v.current.clientWidth)}),[]);Gi(i,o.resize,P);var D=function(t){var e=t.currentTarget,r=e.scrollTop,s=e.scrollLeft;if(S.current.top=r,S.current.left=s,!(s<0||r<0)&&_.current){var l=n?_.current:T(),f=Math.abs(l.firstRowIndex-_.current.firstRowIndex),h=Math.abs(l.firstColumnIndex-_.current.firstColumnIndex),d=f>=a.rowThreshold||h>=a.columnThreshold||A.current!==c.totalWidth;if(i.current.publishEvent(o.rowsScroll,{top:r,left:s,renderContext:d?l:_.current}),d){O(l),_.current=l,A.current=c.totalWidth;var m=Math.max(l.firstRowIndex-a.rowBuffer,0)*u,b=Math.max(l.firstColumnIndex-a.columnBuffer,0),v=c.positions[b];p.current.style.transform="translate3d(".concat(v,"px, ").concat(m,"px, 0px)")}}},R={width:M&&c.totalWidth>M?c.totalWidth:"auto",height:Math.max(d.rows.length*u,1)};return a.autoHeight&&0===d.rows.length&&(R.height=2*u),{getRows:function(){var t;if(!d.range||!x||null==M)return null;for(var e=n?0:a.rowBuffer,i=n?0:a.columnBuffer,o=Math.max(x.firstRowIndex-e,0),c=Math.min(x.lastRowIndex+e,d.rows.length),p=Math.max(x.firstColumnIndex-i,0),m=Math.min(x.lastColumnIndex+i,s.length),v=d.rows.slice(o,c),g=s.slice(p,m),y=[],w=0;w<v.length;w+=1){var O=v[w],_=O.id,S=O.model;y.push(b.createElement(a.components.Row,Object.assign({key:w,row:S,rowId:_,rowHeight:u,cellFocus:l,cellTabIndex:f,editRowsState:h,renderedColumns:g,visibleColumns:s,firstColumnToRender:p,lastColumnToRender:m,selected:void 0!==r[_],index:d.range.firstRowIndex+x.firstRowIndex+w,containerWidth:M},null===(t=a.componentsProps)||void 0===t?void 0:t.row)))}return y},getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({ref:g,onScroll:D},t)},getContentProps:function(){return{style:R}},getRenderZone:function(){return{ref:p}}}}({ref:e,selectionLookup:n,disableVirtualization:i}),c=s.getRootProps,u=s.getContentProps,l=s.getRenderZone,f=s.getRows;return b.createElement(Ja,Object.assign({className:r},c(a)),b.createElement(ts,Object.assign({},u()),b.createElement(rs,Object.assign({},l()),f())))})),os=b.forwardRef((function(t,e){var r=function(t){if(t.pageSize>100)throw new Error("'props.pageSize' cannot exceed 100 in DataGrid.");var e=Object(k.a)({props:t,name:"MuiDataGrid"});return function(t){var e=b.useMemo((function(){return Object.assign(Object.assign({},Do),t.localeText)}),[t.localeText]),r=b.useMemo((function(){var e=t.components;if(!e)return Object.assign({},xa);var r={};return Object.keys(xa).forEach((function(t){r[t]=void 0===e[t]?xa[t]:e[t]})),r}),[t.components]);return b.useMemo((function(){return Object.assign(Object.assign(Object.assign({},ba),t),{localeText:e,components:r})}),[t,e,r])}(b.useMemo((function(){return Object.assign(Object.assign({},e),Va)}),[e]))}(t),n=function(){var t=arguments.length<=0?void 0:arguments[0],e=b.useRef();return e.current||(e.current={unstable_eventManager:new pa}),b.useImperativeHandle(t,(function(){return e.current}),[e]),e}();return qa(n,r),b.createElement(_a,{apiRef:n,props:r},b.createElement(Wi,{className:r.className,style:r.style,sx:r.sx,ref:e},b.createElement(tn,null,b.createElement(rn,null),b.createElement(Jr,{ColumnHeadersComponent:Ka,VirtualScrollerComponent:is}),b.createElement(en,null))))})),as=b.memo(os);os.propTypes={"aria-label":y.a.string,"aria-labelledby":y.a.string,autoHeight:y.a.bool,autoPageSize:y.a.bool,checkboxSelection:y.a.bool,classes:y.a.object,columnBuffer:y.a.number,columns:Object(V.a)(y.a.array.isRequired,(function(t){return t.columns&&t.columns.some((function(t){return t.resizable}))?new Error(["MUI: `column.resizable = true` is not a valid prop.","Column resizing is not available in the MIT version.","","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n")):null})),columnThreshold:y.a.number,columnTypes:y.a.object,components:y.a.object,componentsProps:y.a.object,density:y.a.oneOf(["comfortable","compact","standard"]),disableColumnFilter:y.a.bool,disableColumnMenu:y.a.bool,disableColumnSelector:y.a.bool,disableDensitySelector:y.a.bool,disableExtendRowFullWidth:y.a.bool,disableSelectionOnClick:y.a.bool,disableVirtualization:y.a.bool,editMode:y.a.oneOf(["cell","row"]),editRowsModel:y.a.object,error:y.a.any,filterMode:y.a.oneOf(["client","server"]),filterModel:Object(V.a)(y.a.any,(function(t){return null!=t.filterModel&&t.filterModel.items.length>1?new Error(["MUI: `<DataGrid filterModel={model} />` is not a valid prop. `model.items` has more than 1 item.","Only single filter is available in the MIT version.","","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n")):null})),getCellClassName:y.a.func,getRowClassName:y.a.func,getRowId:y.a.func,headerHeight:y.a.number,hideFooter:y.a.bool,hideFooterPagination:y.a.bool,hideFooterSelectedRowCount:y.a.bool,initialState:y.a.object,isCellEditable:y.a.func,isRowSelectable:y.a.func,loading:y.a.bool,localeText:y.a.object,logger:y.a.shape({debug:y.a.func.isRequired,error:y.a.func.isRequired,info:y.a.func.isRequired,warn:y.a.func.isRequired}),logLevel:y.a.oneOf(["debug","error","info","warn",!1]),nonce:y.a.string,onCellClick:y.a.func,onCellDoubleClick:y.a.func,onCellEditCommit:y.a.func,onCellEditStart:y.a.func,onCellEditStop:y.a.func,onCellFocusOut:y.a.func,onCellKeyDown:y.a.func,onColumnHeaderClick:y.a.func,onColumnHeaderDoubleClick:y.a.func,onColumnHeaderEnter:y.a.func,onColumnHeaderLeave:y.a.func,onColumnHeaderOut:y.a.func,onColumnHeaderOver:y.a.func,onColumnOrderChange:y.a.func,onColumnResize:y.a.func,onColumnVisibilityChange:y.a.func,onColumnWidthChange:y.a.func,onEditCellPropsChange:y.a.func,onEditRowsModelChange:y.a.func,onError:y.a.func,onFilterModelChange:y.a.func,onPageChange:y.a.func,onPageSizeChange:y.a.func,onResize:y.a.func,onRowClick:y.a.func,onRowDoubleClick:y.a.func,onRowEditCommit:y.a.func,onRowEditStart:y.a.func,onRowEditStop:y.a.func,onSelectionModelChange:y.a.func,onSortModelChange:y.a.func,onStateChange:y.a.func,page:y.a.number,pageSize:Object(V.a)(y.a.number,(function(t){return t.pageSize&&t.pageSize>100?new Error(["MUI: `<DataGrid pageSize={".concat(t.pageSize,"} />` is not a valid prop."),"Only page size below 100 is available in the MIT version.","","You need to upgrade to the DataGridPro component to unlock this feature."].join("\n")):null})),pagination:function(t){return!1===t.pagination?new Error(["MUI: `<DataGrid pagination={false} />` is not a valid prop.","Infinite scrolling is not available in the MIT version.","","You need to upgrade to the DataGridPro component to disable the pagination."].join("\n")):null},paginationMode:y.a.oneOf(["client","server"]),rowBuffer:y.a.number,rowCount:y.a.number,rowHeight:y.a.number,rows:y.a.arrayOf(y.a.object).isRequired,rowsPerPageOptions:y.a.arrayOf(y.a.number),rowThreshold:y.a.number,scrollbarSize:y.a.number,selectionModel:Object(V.a)(y.a.oneOfType([y.a.number,y.a.string,y.a.array]),(function(t){return!t.checkboxSelection&&Array.isArray(t.selectionModel)&&t.selectionModel.length>1?new Error(["MUI: `<DataGrid selectionModel={".concat(JSON.stringify(t.selectionModel),"} />` is not a valid prop."),"selectionModel can only be of 1 item in DataGrid.","","You need to upgrade to the DataGridPro component to unlock multiple selection."].join("\n")):null})),showCellRightBorder:y.a.bool,showColumnRightBorder:y.a.bool,sortingMode:y.a.oneOf(["client","server"]),sortingOrder:y.a.arrayOf(y.a.oneOf(["asc","desc"])),sortModel:y.a.arrayOf(y.a.shape({field:y.a.string.isRequired,sort:y.a.oneOf(["asc","desc"])})),sx:y.a.oneOfType([y.a.arrayOf(y.a.oneOfType([y.a.func,y.a.object])),y.a.func,y.a.object])}}).call(this,r(120),r(466)(t),r(112))},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(2);var i=r(426);function o(t){var e=t.props,r=t.name,o=t.defaultTheme;return function(t){var e=t.theme,r=t.name,i=t.props;if(!e||!e.components||!e.components[r]||!e.components[r].defaultProps)return i;var o,a=Object(n.a)({},i),s=e.components[r].defaultProps;for(o in s)void 0===a[o]&&(a[o]=s[o]);return a}({theme:Object(i.a)(o),name:r,props:e})}var a=r(284);function s(t){return o({props:t.props,name:t.name,defaultTheme:a.a})}},,function(t,e,r){"use strict";var n=r(884);e.a=n.a},function(t,e,r){"use strict";r.d(e,"a",(function(){return L})),r.d(e,"b",(function(){return g})),r.d(e,"c",(function(){return N})),r.d(e,"d",(function(){return x})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return B})),r.d(e,"g",(function(){return G})),r.d(e,"h",(function(){return z})),r.d(e,"i",(function(){return $})),r.d(e,"j",(function(){return et})),r.d(e,"k",(function(){return rt})),r.d(e,"l",(function(){return tt})),r.d(e,"m",(function(){return nt})),r.d(e,"n",(function(){return R})),r.d(e,"o",(function(){return T})),r.d(e,"p",(function(){return I})),r.d(e,"q",(function(){return U})),r.d(e,"r",(function(){return D})),r.d(e,"s",(function(){return it})),r.d(e,"t",(function(){return J})),r.d(e,"u",(function(){return K})),r.d(e,"v",(function(){return Z})),r.d(e,"w",(function(){return F})),r.d(e,"x",(function(){return H})),r.d(e,"y",(function(){return l})),r.d(e,"z",(function(){return W})),r.d(e,"A",(function(){return P})),r.d(e,"B",(function(){return q})),r.d(e,"C",(function(){return V})),r.d(e,"D",(function(){return Y})),r.d(e,"E",(function(){return y})),r.d(e,"F",(function(){return E})),r.d(e,"G",(function(){return s})),r.d(e,"H",(function(){return k})),r.d(e,"I",(function(){return w})),r.d(e,"J",(function(){return A})),r.d(e,"K",(function(){return p})),r.d(e,"L",(function(){return f})),r.d(e,"M",(function(){return v})),r.d(e,"N",(function(){return d})),r.d(e,"O",(function(){return S})),r.d(e,"P",(function(){return c})),r.d(e,"Q",(function(){return h})),r.d(e,"R",(function(){return M})),r.d(e,"S",(function(){return _})),r.d(e,"T",(function(){return O}));var n=r(93),i=r(2),o=r(57),a=r(490),s=function(t){return function(){return t}}(!0),c=function(){};var u=function(t){return t};"function"===typeof Symbol&&Symbol.asyncIterator&&Symbol.asyncIterator;function l(t,e,r){if(!e(t))throw new Error(r)}var f=function(t,e){Object(i.a)(t,e),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach((function(r){t[r]=e[r]}))},h=function(t,e){var r;return(r=[]).concat.apply(r,e.map(t))};function d(t,e){var r=t.indexOf(e);r>=0&&t.splice(r,1)}function p(t){var e=!1;return function(){e||(e=!0,t())}}var m=function(t){throw t},b=function(t){return{value:t,done:!0}};function v(t,e,r){void 0===e&&(e=m),void 0===r&&(r="iterator");var n={meta:{name:r},next:t,throw:e,return:b,isSagaIterator:!0};return"undefined"!==typeof Symbol&&(n[Symbol.iterator]=function(){return n}),n}function g(t,e){var r=e.sagaStack;console.error(t),console.error(r)}var y=function(t){return new Error("\n  redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n  in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n  Error: "+t+"\n")},w=function(t){return Array.apply(null,new Array(t))},x=function(t){return function(e){return t(Object.defineProperty(e,n.f,{value:!0}))}},O=function(t){return t===n.k},_=function(t){return t===n.j},S=function(t){return O(t)||_(t)};function k(t,e){var r=Object.keys(t),n=r.length;var i,a=0,s=Object(o.a)(t)?w(n):{},u={};return r.forEach((function(t){var r=function(r,o){i||(o||S(r)?(e.cancel(),e(r,o)):(s[t]=r,++a===n&&(i=!0,e(s))))};r.cancel=c,u[t]=r})),e.cancel=function(){i||(i=!0,r.forEach((function(t){return u[t].cancel()})))},u}function E(t){return{name:t.name||"anonymous",location:M(t)}}function M(t){return t[n.g]}var C={isEmpty:s,put:c,take:c};function j(t,e){void 0===t&&(t=10);var r=new Array(t),n=0,i=0,o=0,a=function(e){r[i]=e,i=(i+1)%t,n++},s=function(){if(0!=n){var e=r[o];return r[o]=null,n--,o=(o+1)%t,e}},c=function(){for(var t=[];n;)t.push(s());return t};return{isEmpty:function(){return 0==n},put:function(s){var u;if(n<t)a(s);else switch(e){case 1:throw new Error("Channel's Buffer overflow!");case 3:r[i]=s,o=i=(i+1)%t;break;case 4:u=2*t,r=c(),n=r.length,i=r.length,o=0,r.length=u,t=u,a(s)}},take:s,flush:c}}var A=function(){return C},T=function(t){return j(t,3)},P=function(t){return j(t,4)},D="TAKE",R="PUT",L="ALL",I="RACE",N="CALL",F="CPS",B="FORK",z="JOIN",H="CANCEL",U="SELECT",W="ACTION_CHANNEL",q="CANCELLED",V="FLUSH",G="GET_CONTEXT",Y="SET_CONTEXT",X=function(t,e){var r;return(r={})[n.c]=!0,r.combinator=!1,r.type=t,r.payload=e,r};function $(t,e){return void 0===t&&(t="*"),Object(o.i)(t)?X(D,{pattern:t}):Object(o.f)(t)&&Object(o.g)(e)&&Object(o.i)(e)?X(D,{channel:t,pattern:e}):Object(o.b)(t)?X(D,{channel:t}):void 0}function K(t,e){return Object(o.n)(e)&&(e=t,t=void 0),X(R,{channel:t,action:e})}function Z(t){var e=X(L,t);return e.combinator=!0,e}function J(t){var e=X(I,t);return e.combinator=!0,e}function Q(t,e){var r,n=null;return Object(o.d)(t)?r=t:(Object(o.a)(t)?(n=t[0],r=t[1]):(n=t.context,r=t.fn),n&&Object(o.k)(r)&&Object(o.d)(n[r])&&(r=n[r])),{context:n,fn:r,args:e}}function tt(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return X(N,Q(t,r))}function et(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return X(B,Q(t,r))}function rt(t){return void 0===t&&(t=n.h),X(H,t)}function nt(t,e){return X(W,{pattern:t,buffer:e})}var it=tt.bind(null,a.a)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=r.n(o),s=(r(10),r(183)),c=r.n(s),u=r(891),l=r(1400),f=r(656),h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var o=e.defaultTheme,s=e.withTheme,h=void 0!==s&&s,d=e.name,p=Object(i.a)(e,["defaultTheme","withTheme","name"]);var m=d,b=Object(u.a)(t,Object(n.a)({defaultTheme:o,Component:r,name:d||r.displayName,classNamePrefix:m},p)),v=a.a.forwardRef((function(t,e){t.classes;var s,c=t.innerRef,u=Object(i.a)(t,["classes","innerRef"]),p=b(Object(n.a)({},r.defaultProps,t)),m=u;return("string"===typeof d||h)&&(s=Object(f.a)()||o,d&&(m=Object(l.a)({theme:s,name:d,props:u})),h&&!m.theme&&(m.theme=s)),a.a.createElement(r,Object(n.a)({ref:c||e,classes:p},m))}));return c()(v,r),v}},d=r(282);e.a=function(t,e){return h(t,Object(n.a)({defaultTheme:d.a},e))}},,,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(277);function i(t){if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=Object(n.a)(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"d",(function(){return i})),r.d(e,"e",(function(){return o})),r.d(e,"h",(function(){return a})),r.d(e,"i",(function(){return s})),r.d(e,"k",(function(){return c})),r.d(e,"l",(function(){return u})),r.d(e,"f",(function(){return l})),r.d(e,"j",(function(){return f})),r.d(e,"g",(function(){return h})),r.d(e,"m",(function(){return d})),r.d(e,"b",(function(){return p})),r.d(e,"c",(function(){return m}));var n=Math.abs,i=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,c=Math.sin,u=Math.sqrt,l=1e-12,f=Math.PI,h=f/2,d=2*f;function p(t){return t>1?0:t<-1?f:Math.acos(t)}function m(t){return t>=1?h:t<=-1?-h:Math.asin(t)}},,function(t,e){t.exports=function(t){return null==t}},function(t,e,r){"use strict";r.d(e,"w",(function(){return bt})),r.d(e,"m",(function(){return vt})),r.d(e,"b",(function(){return gt})),r.d(e,"q",(function(){return yt})),r.d(e,"p",(function(){return wt})),r.d(e,"h",(function(){return xt})),r.d(e,"g",(function(){return Ot})),r.d(e,"a",(function(){return _t})),r.d(e,"z",(function(){return kt})),r.d(e,"n",(function(){return Et})),r.d(e,"x",(function(){return Mt})),r.d(e,"l",(function(){return Ct})),r.d(e,"t",(function(){return jt})),r.d(e,"d",(function(){return At})),r.d(e,"A",(function(){return Tt})),r.d(e,"c",(function(){return Pt})),r.d(e,"e",(function(){return Dt})),r.d(e,"C",(function(){return Rt})),r.d(e,"r",(function(){return Nt})),r.d(e,"u",(function(){return Ft})),r.d(e,"k",(function(){return Bt})),r.d(e,"j",(function(){return zt})),r.d(e,"i",(function(){return Ht})),r.d(e,"s",(function(){return Ut})),r.d(e,"o",(function(){return Wt})),r.d(e,"B",(function(){return Gt})),r.d(e,"f",(function(){return Yt})),r.d(e,"y",(function(){return Xt})),r.d(e,"v",(function(){return $t}));var n=r(207),i=r.n(n),o=r(370),a=r.n(o),s=r(300),c=r.n(s),u=r(281),l=r.n(u),f=r(301),h=r.n(f),d=r(68),p=r.n(d),m=r(243),b=r.n(m),v=r(438),g=r.n(v),y=r(861),w=r.n(y),x=r(44),O=r.n(x),_=r(114),S=r.n(_),k=r(36),E=r.n(k),M=r(99),C=r.n(M);function j(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var T=function(t){return t},P={"@@functional/placeholder":!0},D=function(t){return t===P},R=function(t){return function e(){return 0===arguments.length||1===arguments.length&&D(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},L=function(t){return function t(e,r){return 1===e?r:R((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(t){return t!==P})).length;return a>=e?r.apply(void 0,i):t(e-a,R((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=i.map((function(t){return D(t)?e.shift():t}));return r.apply(void 0,j(o).concat(e))})))}))}(t.length,t)},I=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},N=L((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),F=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return T;var n=e.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(t,e){return e(t)}),i.apply(void 0,arguments))}},B=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},z=function(t){var e=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e&&i.every((function(t,r){return t===e[r]}))?r:(e=i,r=t.apply(void 0,i))}};var H={rangeStep:function(t,e,r){for(var n=new C.a(t),i=0,o=[];n.lt(e)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new C.a(t).abs().log(10).toNumber())+1},interpolateNumber:L((function(t,e,r){var n=+t;return n+r*(+e-n)})),uninterpolateNumber:L((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),uninterpolateTruncation:L((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))}))};function U(t){return function(t){if(Array.isArray(t))return V(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||q(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||q(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(t,e){if(t){if("string"===typeof t)return V(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(t,e):void 0}}function V(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function G(t){var e=W(t,2),r=e[0],n=e[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Y(t,e,r){if(t.lte(0))return new C.a(0);var n=H.getDigitCount(t.toNumber()),i=new C.a(10).pow(n),o=t.div(i),a=1!==n?.05:.1,s=new C.a(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return e?s:new C.a(Math.ceil(s))}function X(t,e,r){var n=1,i=new C.a(t);if(!i.isint()&&r){var o=Math.abs(t);o<1?(n=new C.a(10).pow(H.getDigitCount(t)-1),i=new C.a(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new C.a(Math.floor(t)))}else 0===t?i=new C.a(Math.floor((e-1)/2)):r||(i=new C.a(Math.floor(t)));var a=Math.floor((e-1)/2);return F(N((function(t){return i.add(new C.a(t-a).mul(n)).toNumber()})),I)(0,e)}function $(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new C.a(0),tickMin:new C.a(0),tickMax:new C.a(0)};var o,a=Y(new C.a(e).sub(t).div(r-1),n,i);o=t<=0&&e>=0?new C.a(0):(o=new C.a(t).add(e).div(2)).sub(new C.a(o).mod(a));var s=Math.ceil(o.sub(t).div(a).toNumber()),c=Math.ceil(new C.a(e).sub(o).div(a).toNumber()),u=s+c+1;return u>r?$(t,e,r,n,i+1):(u<r&&(c=e>0?c+(r-u):c,s=e>0?s:s+(r-u)),{step:a,tickMin:o.sub(new C.a(s).mul(a)),tickMax:o.add(new C.a(c).mul(a))})}var K=z((function(t){var e=W(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=G([r,n]),c=W(s,2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var f=l===1/0?[u].concat(U(I(0,i-1).map((function(){return 1/0})))):[].concat(U(I(0,i-1).map((function(){return-1/0}))),[l]);return r>n?B(f):f}if(u===l)return X(u,i,o);var h=$(u,l,a,o),d=h.step,p=h.tickMin,m=h.tickMax,b=H.rangeStep(p,m.add(new C.a(.1).mul(d)),d);return r>n?B(b):b})),Z=(z((function(t){var e=W(t,2),r=e[0],n=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=G([r,n]),c=W(s,2),u=c[0],l=c[1];if(u===-1/0||l===1/0)return[r,n];if(u===l)return X(u,i,o);var f=Y(new C.a(l).sub(u).div(a-1),o,0),h=F(N((function(t){return new C.a(u).add(new C.a(t).mul(f)).toNumber()})),I),d=h(0,a).filter((function(t){return t>=u&&t<=l}));return r>n?B(d):d})),z((function(t,e){var r=W(t,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=G([n,i]),s=W(a,2),c=s[0],u=s[1];if(c===-1/0||u===1/0)return[n,i];if(c===u)return[c];var l=Math.max(e,2),f=Y(new C.a(u).sub(c).div(l-1),o,0),h=[].concat(U(H.rangeStep(new C.a(c),new C.a(u).sub(new C.a(.99).mul(f)),f)),[u]);return n>i?B(h):h}))),J=r(625),Q=r(152),tt=r(359),et=r(788),rt=r(205),nt=r(789),it=r(790),ot=r(787),at=r(204),st=r(17),ct=r(433),ut=r(74),lt=r(42);function ft(t){return function(t){if(Array.isArray(t))return ht(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return ht(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ht(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(r),!0).forEach((function(e){mt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function bt(t,e,r){return E()(t)||E()(e)?r:Object(st.g)(e)?S()(t,e,r):O()(e)?e(t):r}function vt(t,e,r,n){var i=w()(t,(function(t){return bt(t,e)}));if("number"===r){var o=i.filter((function(t){return Object(st.h)(t)||parseFloat(t)}));return o.length?[g()(o),b()(o)]:[1/0,-1/0]}return(n?i.filter((function(t){return!E()(t)})):i).map((function(t){return Object(st.g)(t)||t instanceof Date?t:""}))}var gt=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(e=null===r||void 0===r?void 0:r.length)&&void 0!==e?e:0;if(a>1){if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var s=i.range,c=0;c<a;c++){var u=c>0?n[c-1].coordinate:n[a-1].coordinate,l=n[c].coordinate,f=c>=a-1?n[0].coordinate:n[c+1].coordinate,h=void 0;if(Object(st.j)(l-u)!==Object(st.j)(f-l)){var d=[];if(Object(st.j)(f-l)===Object(st.j)(s[1]-s[0])){h=f;var p=l+s[1]-s[0];d[0]=Math.min(p,(p+u)/2),d[1]=Math.max(p,(p+u)/2)}else{h=u;var m=f+s[1]-s[0];d[0]=Math.min(l,(m+l)/2),d[1]=Math.max(l,(m+l)/2)}var b=[Math.min(l,(h+l)/2),Math.max(l,(h+l)/2)];if(t>b[0]&&t<=b[1]||t>=d[0]&&t<=d[1]){o=n[c].index;break}}else{var v=Math.min(u,f),g=Math.max(u,f);if(t>(v+l)/2&&t<=(g+l)/2){o=n[c].index;break}}}else for(var y=0;y<a;y++)if(0===y&&t<=(r[y].coordinate+r[y+1].coordinate)/2||y>0&&y<a-1&&t>(r[y].coordinate+r[y-1].coordinate)/2&&t<=(r[y].coordinate+r[y+1].coordinate)/2||y===a-1&&t>(r[y].coordinate+r[y-1].coordinate)/2){o=r[y].index;break}}else o=0;return o},yt=function(t){var e,r=t.type.displayName,n=t.props,i=n.stroke,o=n.fill;switch(r){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},wt=function(t){var e,r=t.children,n=t.formattedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Object(ut.b)(r,ct.a.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(t,e){var r=e.item,n=e.props,i=n.sectors||n.data||[];return t.concat(i.map((function(t){return{type:a.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(n||[]).map((function(t){var e=t.item,r=e.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:yt(e),value:i||n,payload:e.props}})),pt(pt(pt({},a.props),ct.a.getWithHeight(a,i)),{},{payload:e,item:a})):null},xt=function(t){var e=t.barSize,r=t.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,s=o.length;a<s;a++)for(var c=n[o[a]].stackGroups,u=Object.keys(c),l=0,f=u.length;l<f;l++){var h=c[u[l]],d=h.items,p=h.cateAxisId,m=d.filter((function(t){return Object(ut.c)(t.type).indexOf("Bar")>=0}));if(m&&m.length){var b=m[0].props.barSize,v=m[0].props[p];i[v]||(i[v]=[]),i[v].push({item:m[0],stackList:m.slice(1),barSize:E()(b)?e:b})}}return i},Ot=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,s=o.length;if(s<1)return null;var c,u=Object(st.d)(e,n,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=n/s,h=o.reduce((function(t,e){return t+e.barSize||0}),0);(h+=(s-1)*u)>=n&&(h-=(s-1)*u,u=0),h>=n&&f>0&&(l=!0,h=s*(f*=.9));var d={offset:((n-h)/2>>0)-u,size:0};c=o.reduce((function(t,e){var r=[].concat(ft(t),[{item:e.item,position:{offset:d.offset+d.size+u,size:l?f:e.barSize}}]);return d=r[r.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:d})})),r}),[])}else{var p=Object(st.d)(r,n,0,!0);n-2*p-(s-1)*u<=0&&(u=0);var m=(n-2*p-(s-1)*u)/s;m>1&&(m>>=0);var b=a===+a?Math.min(m,a):m;c=o.reduce((function(t,e,r){var n=[].concat(ft(t),[{item:e.item,position:{offset:p+(m+u)*r+(m-b)/2,size:b}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:n[n.length-1].position})})),n}),[])}return c},_t=function(t,e,r,n){var i=r.children,o=r.width,a=r.margin,s=o-(a.left||0)-(a.right||0),c=wt({children:i,legendWidth:s}),u=t;if(c){var l=n||{},f=c.align,h=c.verticalAlign,d=c.layout;("vertical"===d||"horizontal"===d&&"center"===h)&&Object(st.h)(t[f])&&(u=pt(pt({},t),{},mt({},f,u[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&Object(st.h)(t[h])&&(u=pt(pt({},t),{},mt({},h,u[h]+(l.height||0))))}return u},St=function(t,e,r,n){var i=e.props.children,o=Object(ut.a)(i,"ErrorBar").filter((function(t){var e=t.props.direction;return!(!E()(e)&&!E()(n))||n.indexOf(e)>=0}));if(o&&o.length){var a=o.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=bt(e,r,0),i=p()(n)?[g()(n),b()(n)]:[n,n],o=a.reduce((function(t,r){var n=bt(e,r,0),o=i[0]-Math.abs(p()(n)?n[0]:n),a=i[1]+Math.abs(p()(n)?n[1]:n);return[Math.min(o,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]}),[1/0,-1/0])}return null},kt=function(t,e,r,n){var i=e.map((function(e){return St(t,e,r,n)})).filter((function(t){return!E()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null},Et=function(t,e,r,n){var i=e.map((function(e){var i=e.props.dataKey;return"number"===r&&i&&St(t,e,i)||vt(t,i,r,n)}));if("number"===r)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(t,e){for(var r=0,n=e.length;r<n;r++)o[e[r]]||(o[e[r]]=!0,t.push(e[r]));return t}),[])},Mt=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},Ct=function(t,e,r){var n,i,o=t.map((function(t){return t.coordinate===e&&(n=!0),t.coordinate===r&&(i=!0),t.coordinate}));return n||o.push(e),i||o.push(r),o},jt=function(t,e,r){if(!t)return null;var n=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,s=(e||r)&&"category"===o&&n.bandwidth?n.bandwidth()/2:0;return s="angleAxis"===t.axisType?2*Object(st.j)(a[0]-a[1])*s:s,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=i?i.indexOf(t):t;return{coordinate:n(e)+s,value:t,offset:s}})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+s,value:t,index:e,offset:s}})):n.ticks&&!r?n.ticks(t.tickCount).map((function(t){return{coordinate:n(t)+s,value:t,offset:s}})):n.domain().map((function(t,e){return{coordinate:n(t)+s,value:i?i[t]:t,index:e,offset:s}}))},At=function(t,e,r){var n;return O()(r)?n=r:O()(e)&&(n=e),O()(t)||n?function(e,r,i,o){O()(t)&&t(e,r,i,o),O()(n)&&n(e,r,i,o)}:null},Tt=function(t,e,r){var n=t.scale,i=t.type,o=t.layout,a=t.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:J.a(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Q.a(),realScaleType:"linear"}:"category"===i&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:J.b(),realScaleType:"point"}:"category"===i?{scale:J.a(),realScaleType:"band"}:{scale:Q.a(),realScaleType:"linear"};if(h()(n)){var s="scale".concat(l()(n));return{scale:(tt[s]||J.b)(),realScaleType:tt[s]?s:"point"}}return O()(n)?{scale:n}:{scale:J.b(),realScaleType:"point"}},Pt=function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),i=Math.min(n[0],n[1])-1e-4,o=Math.max(n[0],n[1])+1e-4,a=t(e[0]),s=t(e[r-1]);(a<i||a>o||s<i||s>o)&&t.domain([e[0],e[r-1]])}},Dt=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null},Rt=function(t,e){if(!e||2!==e.length||!Object(st.h)(e[0])||!Object(st.h)(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!Object(st.h)(t[0])||t[0]<r)&&(i[0]=r),(!Object(st.h)(t[1])||t[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i},Lt={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0,a=0;a<e;++a){var s=c()(t[a][r][1])?t[a][r][0]:t[a][r][1];s>=0?(t[a][r][0]=i,t[a][r][1]=i+s,i=t[a][r][1]):(t[a][r][0]=o,t[a][r][1]=o+s,o=t[a][r][1])}},expand:et.a,none:rt.a,silhouette:nt.a,wiggle:it.a,positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var i=0,o=0;o<e;++o){var a=c()(t[o][r][1])?t[o][r][0]:t[o][r][1];a>=0?(t[o][r][0]=i,t[o][r][1]=i+a,i=t[o][r][1]):(t[o][r][0]=0,t[o][r][1]=0)}}},It=function(t,e,r){var n=e.map((function(t){return t.props.dataKey}));return Object(ot.a)().keys(n).value((function(t,e){return+bt(t,e,0)})).order(at.a).offset(Lt[r])(t)},Nt=function(t,e,r,n,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce((function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[r],s=t[a]||{hasStack:!1,stackGroups:{}};if(Object(st.g)(o)){var c=s.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};c.items.push(e),s.hasStack=!0,s.stackGroups[o]=c}else s.stackGroups[Object(st.k)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return pt(pt({},t),{},mt({},a,s))}),{});return Object.keys(a).reduce((function(e,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(e,o){var a=s.stackGroups[o];return pt(pt({},e),{},mt({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:It(t,a.items,i)}))}),{})),pt(pt({},e),{},mt({},o,s))}),{})},Ft=function(t,e){var r=e.realScaleType,n=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,s=r||e.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var c=t.domain();if(!c.length)return null;var u=K(c,i,a);return t.domain(function(t,e){return"number"===e?[g()(t),b()(t)]:t}(u,n)),{niceTicks:u}}if(i&&"number"===n){var l=t.domain();return{niceTicks:Z(l,i,a)}}return null},Bt=function(t){var e=t.axis,r=t.ticks,n=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!E()(i[e.dataKey])){var s=Object(st.a)(r,"value",i[e.dataKey]);if(s)return s.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var c=bt(i,E()(a)?e.dataKey:a);return E()(c)?null:e.scale(c)},zt=function(t){var e=t.axis,r=t.ticks,n=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var s=bt(o,e.dataKey,e.domain[a]);return E()(s)?null:e.scale(s)-i/2+n},Ht=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]},Ut=function(t,e){var r=t.props.stackId;if(Object(st.g)(r)){var n=e[r];if(n&&n.items.length){for(var i=-1,o=0,a=n.items.length;o<a;o++)if(n.items[o]===t){i=o;break}return i>=0?n.stackedData[i]:null}}return null},Wt=function(t,e,r){return Object.keys(t).reduce((function(n,i){var o=t[i].stackedData.reduce((function(t,n){var i=n.slice(e,r+1).reduce((function(t,e){return[g()(e.concat([t[0]]).filter(st.h)),b()(e.concat([t[1]]).filter(st.h))]}),[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},qt=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Vt=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Gt=function(t,e,r){if(!p()(t))return e;var n=[];if(Object(st.h)(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(qt.test(t[0])){var i=+qt.exec(t[0])[1];n[0]=e[0]-i}else O()(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(Object(st.h)(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(Vt.test(t[1])){var o=+Vt.exec(t[1])[1];n[1]=e[1]+o}else O()(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},Yt=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var i=a()(e,(function(t){return t.coordinate})),o=1/0,s=1,c=i.length;s<c;s++){var u=i[s],l=i[s-1];o=Math.min((u.coordinate||0)-(l.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},Xt=function(t,e,r){return t&&t.length?i()(t,S()(r,"type.defaultProps.domain"))?e:t:e},$t=function(t,e){var r=t.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,s=r.tooltipType,c=r.chartType;return pt(pt({},Object(lt.c)(t)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:yt(t),value:bt(e,n),type:s,payload:e,chartType:c})}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(519);function i(t){if("string"!==typeof t)throw new Error(Object(n.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return h})),r.d(e,"c",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"e",(function(){return E})),r.d(e,"f",(function(){return M})),r.d(e,"g",(function(){return b})),r.d(e,"h",(function(){return v})),r.d(e,"i",(function(){return C})),r.d(e,"j",(function(){return g}));var n=r(241),i=(r(10),r(0));function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r,n=arguments[e];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var a=function(t){return t};function s(t,e){if(!t)throw Error(e)}var c=Object(i.createContext)({static:!1}),u=Object(i.createContext)({outlet:null,params:a({}),pathname:"",route:null});function l(t){var e=t.to,r=t.replace,n=t.state;m()||s(!1);var o=v();return Object(i.useEffect)((function(){o(e,{replace:r,state:n})})),null}function f(){return Object(i.useContext)(u).outlet}function h(t){return void 0===(t=t.element)?Object(i.createElement)(f,null):t}function d(t){var e=t.children;e=void 0===e?null:e;var r=t.action;r=void 0===r?n.a.Pop:r;var o=t.location,a=t.navigator;return t=void 0!==(t=t.static)&&t,m()&&s(!1),Object(i.createElement)(c.Provider,{children:e,value:{action:r,location:o,navigator:a,static:t}})}function p(t){var e=t.basename;return e=void 0===e?"":e,y(t=function t(e){var r=[];return i.Children.forEach(e,(function(e){if(Object(i.isValidElement)(e))if(e.type===i.Fragment)r.push.apply(r,t(e.props.children));else{var n={path:e.props.path||"/",caseSensitive:!0===e.props.caseSensitive,element:e};e.props.children&&((e=t(e.props.children)).length&&(n.children=e)),r.push(n)}})),r}(t.children),e)}function m(){return null!=Object(i.useContext)(c).location}function b(){return m()||s(!1),Object(i.useContext)(c).location}function v(){m()||s(!1);var t=Object(i.useContext)(c).navigator,e=Object(i.useContext)(u).pathname,r=Object(i.useRef)(!1);return Object(i.useEffect)((function(){r.current=!0})),Object(i.useCallback)((function(n,i){void 0===i&&(i={}),r.current&&("number"===typeof n?t.go(n):(n=_(n,e),(i.replace?t.replace:t.push)(n,i.state)))}),[t,e])}function g(t){var e=Object(i.useContext)(u).pathname;return Object(i.useMemo)((function(){return _(t,e)}),[t,e])}function y(t,e){void 0===e&&(e="");var r=Object(i.useContext)(u),s=r.route,c=r.pathname,l=r.params;e=e?S([c,e]):c;var f=b();return(s=Object(i.useMemo)((function(){return function(t,e,r){if(void 0===r&&(r=""),"string"===typeof e&&(e=Object(n.f)(e)),e=e.pathname||"/",r){if(r=r.replace(/^\/*/,"/").replace(/\/+$/,""),!e.startsWith(r))return null;e=e===r?"/":e.slice(r.length)}!function(t){var e=t.reduce((function(t,e){return t[e=e[0]]=function(t){var e=(t=t.split("/")).length;return t.some(x)&&(e+=-2),t.filter((function(t){return!x(t)})).reduce((function(t,e){return t+(w.test(e)?2:""===e?1:10)}),e)}(e),t}),{});!function(t,e){var r=t.slice(0);t.sort((function(t,n){return e(t,n)||r.indexOf(t)-r.indexOf(n)}))}(t,(function(t,r){var n=t[2];t=e[t[0]];var i=r[2];return t!==(r=e[r[0]])?r-t:function(t,e){return t.length===e.length&&t.slice(0,-1).every((function(t,r){return t===e[r]}))?t[t.length-1]-e[e.length-1]:0}(n,i)}))}(t=function t(e,r,n,i,o){return void 0===r&&(r=[]),void 0===n&&(n=""),void 0===i&&(i=[]),void 0===o&&(o=[]),e.forEach((function(e,a){var s=S([n,e.path]),c=i.concat(e);a=o.concat(a),e.children&&t(e.children,r,s,c,a),r.push([s,c,a])})),r}(t));var i=null;for(r=0;null==i&&r<t.length;++r)t:{i=e;for(var s=t[r][1],c="/",u={},l=[],f=0;f<s.length;++f){var h=s[f],d="/"===c?i:i.slice(c.length)||"/";if(!(d=O({path:h.path,caseSensitive:h.caseSensitive,end:f===s.length-1},d))){i=null;break t}c=S([c,d.pathname]),u=o({},u,{},d.params),l.push({route:h,pathname:c,params:a(u)})}i=l}return i}(t,f,e)}),[f,t,e]))?s.reduceRight((function(t,r){var n=r.pathname,s=r.route;return Object(i.createElement)(u.Provider,{children:s.element,value:{outlet:t,params:a(o({},l,{},r.params)),pathname:S([e,n]),route:s}})}),null):null}var w=/^:\w+$/;function x(t){return"*"===t}function O(t,e){"string"===typeof t&&(t={path:t});var r=t;t=r.path;var n=r.caseSensitive;if(r=function(t,e,r){var n=[],i="^("+t.replace(/^\/*/,"/").replace(/\/?\*?$/,"").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(t,e){return n.push(e),"([^\\/]+)"}))+")";return t.endsWith("*")?(t.endsWith("/*")&&(i+="\\/?"),n.push("*"),i+="(.*)"):r&&(i+="\\/?"),r&&(i+="$"),[new RegExp(i,e?void 0:"i"),n]}(t,void 0!==n&&n,void 0===(r=r.end)||r),n=r[1],!(r=e.match(r[0])))return null;e=r[1];var i=r.slice(2);return n=n.reduce((function(t,e,r){r=i[r];try{var n=decodeURIComponent(r.replace(/\+/g," "))}catch(o){n=r}return t[e]=n,t}),{}),{path:t,pathname:e,params:n}}function _(t,e){void 0===e&&(e="/");var r="string"===typeof t?Object(n.f)(t):t;t=r.pathname;var i=r.search;return i=void 0===i?"":i,r=void 0===(r=r.hash)?"":r,{pathname:t?k(t,t.startsWith("/")?"/":e):e,search:i,hash:r}}function S(t){return t.join("/").replace(/\/\/+/g,"/")}function k(t,e){var r=e.replace(/\/+$/,"").replace(/\/\/+/g,"/").split("/");return t.replace(/\/\/+/g,"/").split("/").forEach((function(t){".."===t?1<r.length&&r.pop():"."!==t&&r.push(t)})),1<r.length?S(r):"/"}function E(t,e){void 0===e&&(e=!0),m()||s(!1);var r=Object(i.useContext)(c).navigator;Object(i.useEffect)((function(){if(e){var n=r.block((function(e){var r=o({},e,{retry:function(){n(),e.retry()}});t(r)}));return n}}),[r,t,e])}function M(t){m()||s(!1);var e=Object(i.useContext)(c).navigator;return t=g(t),e.createHref(t)}function C(){return Object(i.useContext)(u).params}},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(1),i=r(884),o=r(126);function a(t,e){return e&&"string"===typeof e?e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t):null}function s(t,e,r){var n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"===typeof t?t(r):Array.isArray(t)?t[r]||i:a(t,r)||i,e&&(n=e(n)),n}e.a=function(t){var e=t.prop,r=t.cssProperty,c=void 0===r?t.prop:r,u=t.themeKey,l=t.transform,f=function(t){if(null==t[e])return null;var r=t[e],f=a(t.theme,u)||{};return Object(o.b)(t,r,(function(t){var r=s(f,l,t);return t===r&&"string"===typeof t&&(r=s(f,l,"".concat(e).concat("default"===t?"":Object(i.a)(t)),t)),!1===c?r:Object(n.a)({},c,r)}))};return f.propTypes={},f.filterProps=[e],f}},function(t,e,r){"use strict";r.d(e,"c",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"b",(function(){return h}));var n=r(150),i=r.n(n),o=r(0);function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=["viewBox","children"],c=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],u=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],l=function(t,e,r){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var n=t;if(Object(o.isValidElement)(t)&&(n=t.props),!i()(n))return null;var a={};return Object.keys(n).forEach((function(t){(c.includes(t)||r&&s.includes(t)||e&&u.includes(t))&&(a[t]=n[t])})),a},f=function(t,e){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var r=t;if(Object(o.isValidElement)(t)&&(r=t.props),!i()(r))return null;var n={};return Object.keys(r).forEach((function(t){u.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},h=function(t,e,r){if(!i()(t)||"object"!==a(t))return null;var n=null;return Object.keys(t).forEach((function(i){var o=t[i];u.includes(i)&&"function"===typeof o&&(n||(n={}),n[i]=function(t,e,r){return function(n){return t(e,r,n),null}}(o,e,r))})),n}},,function(t,e,r){var n=r(263),i=r(150);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}r.d(e,"a",(function(){return i}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return nr}));var n=r(0),i=r(259),o=r.n(i),a=function(t){return function(t){return!!t&&"object"===typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===s}(t)}(t)};var s="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(t,e){return!1!==e.clone&&e.isMergeableObject(t)?l((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function u(t,e,r){return t.concat(e).map((function(t){return c(t,r)}))}function l(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||u,r.isMergeableObject=r.isMergeableObject||a;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):function(t,e,r){var n={};return r.isMergeableObject(t)&&Object.keys(t).forEach((function(e){n[e]=c(t[e],r)})),Object.keys(e).forEach((function(i){r.isMergeableObject(e[i])&&t[i]?n[i]=l(t[i],e[i],r):n[i]=c(e[i],r)})),n}(t,e,r):c(e,r)}l.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return l(t,r,e)}),{})};var f=l,h=r(160),d=r(510),p=Object(d.a)(Object.getPrototypeOf,Object),m=r(153),b=Function.prototype,v=Object.prototype,g=b.toString,y=v.hasOwnProperty,w=g.call(Object);var x=function(t){if(!Object(m.a)(t)||"[object Object]"!=Object(h.a)(t))return!1;var e=p(t);if(null===e)return!0;var r=y.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&g.call(r)==w};var O=function(){this.__data__=[],this.size=0};var _=function(t,e){return t===e||t!==t&&e!==e};var S=function(t,e){for(var r=t.length;r--;)if(_(t[r][0],e))return r;return-1},k=Array.prototype.splice;var E=function(t){var e=this.__data__,r=S(e,t);return!(r<0)&&(r==e.length-1?e.pop():k.call(e,r,1),--this.size,!0)};var M=function(t){var e=this.__data__,r=S(e,t);return r<0?void 0:e[r][1]};var C=function(t){return S(this.__data__,t)>-1};var j=function(t,e){var r=this.__data__,n=S(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function A(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}A.prototype.clear=O,A.prototype.delete=E,A.prototype.get=M,A.prototype.has=C,A.prototype.set=j;var T=A;var P=function(){this.__data__=new T,this.size=0};var D=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};var R=function(t){return this.__data__.get(t)};var L=function(t){return this.__data__.has(t)},I=r(295),N=r(172),F=Object(N.a)(Object,"create");var B=function(){this.__data__=F?F(null):{},this.size=0};var z=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},H=Object.prototype.hasOwnProperty;var U=function(t){var e=this.__data__;if(F){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return H.call(e,t)?e[t]:void 0},W=Object.prototype.hasOwnProperty;var q=function(t){var e=this.__data__;return F?void 0!==e[t]:W.call(e,t)};var V=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=F&&void 0===e?"__lodash_hash_undefined__":e,this};function G(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}G.prototype.clear=B,G.prototype.delete=z,G.prototype.get=U,G.prototype.has=q,G.prototype.set=V;var Y=G;var X=function(){this.size=0,this.__data__={hash:new Y,map:new(I.a||T),string:new Y}};var $=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var K=function(t,e){var r=t.__data__;return $(e)?r["string"==typeof e?"string":"hash"]:r.map};var Z=function(t){var e=K(this,t).delete(t);return this.size-=e?1:0,e};var J=function(t){return K(this,t).get(t)};var Q=function(t){return K(this,t).has(t)};var tt=function(t,e){var r=K(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function et(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}et.prototype.clear=X,et.prototype.delete=Z,et.prototype.get=J,et.prototype.has=Q,et.prototype.set=tt;var rt=et;var nt=function(t,e){var r=this.__data__;if(r instanceof T){var n=r.__data__;if(!I.a||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new rt(n)}return r.set(t,e),this.size=r.size,this};function it(t){var e=this.__data__=new T(t);this.size=e.size}it.prototype.clear=P,it.prototype.delete=D,it.prototype.get=R,it.prototype.has=L,it.prototype.set=nt;var ot=it;var at=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t},st=function(){try{var t=Object(N.a)(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();var ct=function(t,e,r){"__proto__"==e&&st?st(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},ut=Object.prototype.hasOwnProperty;var lt=function(t,e,r){var n=t[e];ut.call(t,e)&&_(n,r)&&(void 0!==r||e in t)||ct(t,e,r)};var ft=function(t,e,r,n){var i=!r;r||(r={});for(var o=-1,a=e.length;++o<a;){var s=e[o],c=n?n(r[s],t[s],s,r,t):void 0;void 0===c&&(c=t[s]),i?ct(r,s,c):lt(r,s,c)}return r},ht=r(512),dt=r(550),pt=r(167),mt=r(360),bt=/^(?:0|[1-9]\d*)$/;var vt=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&bt.test(t))&&t>-1&&t%1==0&&t<e},gt=r(551),yt=Object.prototype.hasOwnProperty;var wt=function(t,e){var r=Object(pt.default)(t),n=!r&&Object(dt.a)(t),i=!r&&!n&&Object(mt.a)(t),o=!r&&!n&&!i&&Object(gt.a)(t),a=r||n||i||o,s=a?Object(ht.a)(t.length,String):[],c=s.length;for(var u in t)!e&&!yt.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||vt(u,c))||s.push(u);return s},xt=r(549),Ot=r(361);var _t=function(t){return Object(Ot.a)(t)?wt(t):Object(xt.a)(t)};var St=function(t,e){return t&&ft(e,_t(e),t)},kt=r(184),Et=r(279);var Mt=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e},Ct=Object.prototype.hasOwnProperty;var jt=function(t){if(!Object(kt.a)(t))return Mt(t);var e=Object(Et.a)(t),r=[];for(var n in t)("constructor"!=n||!e&&Ct.call(t,n))&&r.push(n);return r};var At=function(t){return Object(Ot.a)(t)?wt(t,!0):jt(t)};var Tt=function(t,e){return t&&ft(e,At(e),t)},Pt=r(815);var Dt=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};var Rt=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o};var Lt=function(){return[]},It=Object.prototype.propertyIsEnumerable,Nt=Object.getOwnPropertySymbols,Ft=Nt?function(t){return null==t?[]:(t=Object(t),Rt(Nt(t),(function(e){return It.call(t,e)})))}:Lt;var Bt=function(t,e){return ft(t,Ft(t),e)};var zt=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t},Ht=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)zt(e,Ft(t)),t=p(t);return e}:Lt;var Ut=function(t,e){return ft(t,Ht(t),e)};var Wt=function(t,e,r){var n=e(t);return Object(pt.default)(t)?n:zt(n,r(t))};var qt=function(t){return Wt(t,_t,Ft)};var Vt=function(t){return Wt(t,At,Ht)},Gt=r(293),Yt=Object.prototype.hasOwnProperty;var Xt=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&Yt.call(t,"index")&&(r.index=t.index,r.input=t.input),r},$t=r(136).a.Uint8Array;var Kt=function(t){var e=new t.constructor(t.byteLength);return new $t(e).set(new $t(t)),e};var Zt=function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)},Jt=/\w*$/;var Qt=function(t){var e=new t.constructor(t.source,Jt.exec(t));return e.lastIndex=t.lastIndex,e},te=r(198),ee=te.a?te.a.prototype:void 0,re=ee?ee.valueOf:void 0;var ne=function(t){return re?Object(re.call(t)):{}};var ie=function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};var oe=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Kt(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Zt(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ie(t,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Qt(t);case"[object Set]":return new n;case"[object Symbol]":return ne(t)}},ae=Object.create,se=function(){function t(){}return function(e){if(!Object(kt.a)(e))return{};if(ae)return ae(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var ce=function(t){return"function"!=typeof t.constructor||Object(Et.a)(t)?{}:se(p(t))};var ue=function(t){return Object(m.a)(t)&&"[object Map]"==Object(Gt.a)(t)},le=r(362),fe=r(255),he=fe.a&&fe.a.isMap,de=he?Object(le.a)(he):ue;var pe=function(t){return Object(m.a)(t)&&"[object Set]"==Object(Gt.a)(t)},me=fe.a&&fe.a.isSet,be=me?Object(le.a)(me):pe,ve={};ve["[object Arguments]"]=ve["[object Array]"]=ve["[object ArrayBuffer]"]=ve["[object DataView]"]=ve["[object Boolean]"]=ve["[object Date]"]=ve["[object Float32Array]"]=ve["[object Float64Array]"]=ve["[object Int8Array]"]=ve["[object Int16Array]"]=ve["[object Int32Array]"]=ve["[object Map]"]=ve["[object Number]"]=ve["[object Object]"]=ve["[object RegExp]"]=ve["[object Set]"]=ve["[object String]"]=ve["[object Symbol]"]=ve["[object Uint8Array]"]=ve["[object Uint8ClampedArray]"]=ve["[object Uint16Array]"]=ve["[object Uint32Array]"]=!0,ve["[object Error]"]=ve["[object Function]"]=ve["[object WeakMap]"]=!1;var ge=function t(e,r,n,i,o,a){var s,c=1&r,u=2&r,l=4&r;if(n&&(s=o?n(e,i,o,a):n(e)),void 0!==s)return s;if(!Object(kt.a)(e))return e;var f=Object(pt.default)(e);if(f){if(s=Xt(e),!c)return Dt(e,s)}else{var h=Object(Gt.a)(e),d="[object Function]"==h||"[object GeneratorFunction]"==h;if(Object(mt.a)(e))return Object(Pt.a)(e,c);if("[object Object]"==h||"[object Arguments]"==h||d&&!o){if(s=u||d?{}:ce(e),!c)return u?Ut(e,Tt(s,e)):Bt(e,St(s,e))}else{if(!ve[h])return o?e:{};s=oe(e,h,c)}}a||(a=new ot);var p=a.get(e);if(p)return p;a.set(e,s),be(e)?e.forEach((function(i){s.add(t(i,r,n,i,e,a))})):de(e)&&e.forEach((function(i,o){s.set(o,t(i,r,n,o,e,a))}));var m=f?void 0:(l?u?Vt:qt:u?At:_t)(e);return at(m||e,(function(i,o){m&&(i=e[o=i]),lt(s,o,t(i,r,n,o,e,a))})),s};var ye=function(t){return ge(t,4)};var we=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i},xe=r(278);function Oe(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Oe.Cache||rt),r}Oe.Cache=rt;var _e=Oe;var Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ke=/\\(\\)?/g,Ee=function(t){var e=_e(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Se,(function(t,r,n,i){e.push(n?i.replace(ke,"$1"):r||t)})),e}));var Me=function(t){if("string"==typeof t||Object(xe.a)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e},Ce=te.a?te.a.prototype:void 0,je=Ce?Ce.toString:void 0;var Ae=function t(e){if("string"==typeof e)return e;if(Object(pt.default)(e))return we(e,t)+"";if(Object(xe.a)(e))return je?je.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};var Te=function(t){return null==t?"":Ae(t)};var Pe=function(t){return Object(pt.default)(t)?we(t,Me):Object(xe.a)(t)?[t]:Dt(Ee(Te(t)))},De=r(176),Re=r(183),Le=r.n(Re);var Ie=function(t){return ge(t,5)};function Ne(){return(Ne=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Fe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Be(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}function ze(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var He=function(t){return Array.isArray(t)&&0===t.length},Ue=function(t){return"function"===typeof t},We=function(t){return null!==t&&"object"===typeof t},qe=function(t){return String(Math.floor(Number(t)))===t},Ve=function(t){return"[object String]"===Object.prototype.toString.call(t)},Ge=function(t){return 0===n.Children.count(t)},Ye=function(t){return We(t)&&Ue(t.then)};function Xe(t,e,r,n){void 0===n&&(n=0);for(var i=Pe(e);t&&n<i.length;)t=t[i[n++]];return void 0===t?r:t}function $e(t,e,r){for(var n=ye(t),i=n,o=0,a=Pe(e);o<a.length-1;o++){var s=a[o],c=Xe(t,a.slice(0,o+1));if(c&&(We(c)||Array.isArray(c)))i=i[s]=ye(c);else{var u=a[o+1];i=i[s]=qe(u)&&Number(u)>=0?[]:{}}}return(0===o?t:i)[a[o]]===r?t:(void 0===r?delete i[a[o]]:i[a[o]]=r,0===o&&void 0===r&&delete n[a[o]],n)}function Ke(t,e,r,n){void 0===r&&(r=new WeakMap),void 0===n&&(n={});for(var i=0,o=Object.keys(t);i<o.length;i++){var a=o[i],s=t[a];We(s)?r.get(s)||(r.set(s,!0),n[a]=Array.isArray(s)?[]:{},Ke(s,e,r,n[a])):n[a]=e}return n}var Ze=Object(n.createContext)(void 0);Ze.displayName="FormikContext";Ze.Provider;var Je=Ze.Consumer;function Qe(){var t=Object(n.useContext)(Ze);return t||Object(De.a)(!1),t}function tr(t,e){switch(e.type){case"SET_VALUES":return Ne({},t,{values:e.payload});case"SET_TOUCHED":return Ne({},t,{touched:e.payload});case"SET_ERRORS":return o()(t.errors,e.payload)?t:Ne({},t,{errors:e.payload});case"SET_STATUS":return Ne({},t,{status:e.payload});case"SET_ISSUBMITTING":return Ne({},t,{isSubmitting:e.payload});case"SET_ISVALIDATING":return Ne({},t,{isValidating:e.payload});case"SET_FIELD_VALUE":return Ne({},t,{values:$e(t.values,e.payload.field,e.payload.value)});case"SET_FIELD_TOUCHED":return Ne({},t,{touched:$e(t.touched,e.payload.field,e.payload.value)});case"SET_FIELD_ERROR":return Ne({},t,{errors:$e(t.errors,e.payload.field,e.payload.value)});case"RESET_FORM":return Ne({},t,e.payload);case"SET_FORMIK_STATE":return e.payload(t);case"SUBMIT_ATTEMPT":return Ne({},t,{touched:Ke(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Ne({},t,{isSubmitting:!1});default:return t}}var er={},rr={};function nr(t){var e=t.validateOnChange,r=void 0===e||e,i=t.validateOnBlur,a=void 0===i||i,s=t.validateOnMount,c=void 0!==s&&s,u=t.isInitialValid,l=t.enableReinitialize,h=void 0!==l&&l,d=t.onSubmit,p=Be(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),m=Ne({validateOnChange:r,validateOnBlur:a,validateOnMount:c,onSubmit:d},p),b=Object(n.useRef)(m.initialValues),v=Object(n.useRef)(m.initialErrors||er),g=Object(n.useRef)(m.initialTouched||rr),y=Object(n.useRef)(m.initialStatus),w=Object(n.useRef)(!1),O=Object(n.useRef)({});Object(n.useEffect)((function(){return w.current=!0,function(){w.current=!1}}),[]);var _=Object(n.useReducer)(tr,{values:m.initialValues,errors:m.initialErrors||er,touched:m.initialTouched||rr,status:m.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),S=_[0],k=_[1],E=Object(n.useCallback)((function(t,e){return new Promise((function(r,n){var i=m.validate(t,e);null==i?r(er):Ye(i)?i.then((function(t){r(t||er)}),(function(t){n(t)})):r(i)}))}),[m.validate]),M=Object(n.useCallback)((function(t,e){var r=m.validationSchema,n=Ue(r)?r(e):r,i=e&&n.validateAt?n.validateAt(e,t):function(t,e,r,n){void 0===r&&(r=!1);void 0===n&&(n={});var i=function t(e){var r=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=String(n);!0===Array.isArray(e[i])?r[i]=e[i].map((function(e){return!0===Array.isArray(e)||x(e)?t(e):""!==e?e:void 0})):x(e[i])?r[i]=t(e[i]):r[i]=""!==e[i]?e[i]:void 0}return r}(t);return e[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}(t,n);return new Promise((function(t,e){i.then((function(){t(er)}),(function(r){"ValidationError"===r.name?t(function(t){var e={};if(t.inner){if(0===t.inner.length)return $e(e,t.path,t.message);var r=t.inner,n=Array.isArray(r),i=0;for(r=n?r:r[Symbol.iterator]();;){var o;if(n){if(i>=r.length)break;o=r[i++]}else{if((i=r.next()).done)break;o=i.value}var a=o;Xe(e,a.path)||(e=$e(e,a.path,a.message))}}return e}(r)):e(r)}))}))}),[m.validationSchema]),C=Object(n.useCallback)((function(t,e){return new Promise((function(r){return r(O.current[t].validate(e))}))}),[]),j=Object(n.useCallback)((function(t){var e=Object.keys(O.current).filter((function(t){return Ue(O.current[t].validate)})),r=e.length>0?e.map((function(e){return C(e,Xe(t,e))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(r).then((function(t){return t.reduce((function(t,r,n){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===r||r&&(t=$e(t,e[n],r)),t}),{})}))}),[C]),A=Object(n.useCallback)((function(t){return Promise.all([j(t),m.validationSchema?M(t):{},m.validate?E(t):{}]).then((function(t){var e=t[0],r=t[1],n=t[2];return f.all([e,r,n],{arrayMerge:ir})}))}),[m.validate,m.validationSchema,j,E,M]),T=ar((function(t){return void 0===t&&(t=S.values),k({type:"SET_ISVALIDATING",payload:!0}),A(t).then((function(t){return w.current&&(k({type:"SET_ISVALIDATING",payload:!1}),k({type:"SET_ERRORS",payload:t})),t}))}));Object(n.useEffect)((function(){c&&!0===w.current&&o()(b.current,m.initialValues)&&T(b.current)}),[c,T]);var P=Object(n.useCallback)((function(t){var e=t&&t.values?t.values:b.current,r=t&&t.errors?t.errors:v.current?v.current:m.initialErrors||{},n=t&&t.touched?t.touched:g.current?g.current:m.initialTouched||{},i=t&&t.status?t.status:y.current?y.current:m.initialStatus;b.current=e,v.current=r,g.current=n,y.current=i;var o=function(){k({type:"RESET_FORM",payload:{isSubmitting:!!t&&!!t.isSubmitting,errors:r,touched:n,status:i,values:e,isValidating:!!t&&!!t.isValidating,submitCount:t&&t.submitCount&&"number"===typeof t.submitCount?t.submitCount:0}})};if(m.onReset){var a=m.onReset(S.values,Z);Ye(a)?a.then(o):o()}else o()}),[m.initialErrors,m.initialStatus,m.initialTouched]);Object(n.useEffect)((function(){!0!==w.current||o()(b.current,m.initialValues)||(h&&(b.current=m.initialValues,P()),c&&T(b.current))}),[h,m.initialValues,P,c,T]),Object(n.useEffect)((function(){h&&!0===w.current&&!o()(v.current,m.initialErrors)&&(v.current=m.initialErrors||er,k({type:"SET_ERRORS",payload:m.initialErrors||er}))}),[h,m.initialErrors]),Object(n.useEffect)((function(){h&&!0===w.current&&!o()(g.current,m.initialTouched)&&(g.current=m.initialTouched||rr,k({type:"SET_TOUCHED",payload:m.initialTouched||rr}))}),[h,m.initialTouched]),Object(n.useEffect)((function(){h&&!0===w.current&&!o()(y.current,m.initialStatus)&&(y.current=m.initialStatus,k({type:"SET_STATUS",payload:m.initialStatus}))}),[h,m.initialStatus,m.initialTouched]);var D=ar((function(t){if(O.current[t]&&Ue(O.current[t].validate)){var e=Xe(S.values,t),r=O.current[t].validate(e);return Ye(r)?(k({type:"SET_ISVALIDATING",payload:!0}),r.then((function(t){return t})).then((function(e){k({type:"SET_FIELD_ERROR",payload:{field:t,value:e}}),k({type:"SET_ISVALIDATING",payload:!1})}))):(k({type:"SET_FIELD_ERROR",payload:{field:t,value:r}}),Promise.resolve(r))}return m.validationSchema?(k({type:"SET_ISVALIDATING",payload:!0}),M(S.values,t).then((function(t){return t})).then((function(e){k({type:"SET_FIELD_ERROR",payload:{field:t,value:e[t]}}),k({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),R=Object(n.useCallback)((function(t,e){var r=e.validate;O.current[t]={validate:r}}),[]),L=Object(n.useCallback)((function(t){delete O.current[t]}),[]),I=ar((function(t,e){return k({type:"SET_TOUCHED",payload:t}),(void 0===e?a:e)?T(S.values):Promise.resolve()})),N=Object(n.useCallback)((function(t){k({type:"SET_ERRORS",payload:t})}),[]),F=ar((function(t,e){var n=Ue(t)?t(S.values):t;return k({type:"SET_VALUES",payload:n}),(void 0===e?r:e)?T(n):Promise.resolve()})),B=Object(n.useCallback)((function(t,e){k({type:"SET_FIELD_ERROR",payload:{field:t,value:e}})}),[]),z=ar((function(t,e,n){return k({type:"SET_FIELD_VALUE",payload:{field:t,value:e}}),(void 0===n?r:n)?T($e(S.values,t,e)):Promise.resolve()})),H=Object(n.useCallback)((function(t,e){var r,n=e,i=t;if(!Ve(t)){t.persist&&t.persist();var o=t.target?t.target:t.currentTarget,a=o.type,s=o.name,c=o.id,u=o.value,l=o.checked,f=(o.outerHTML,o.options),h=o.multiple;n=e||(s||c),i=/number|range/.test(a)?(r=parseFloat(u),isNaN(r)?"":r):/checkbox/.test(a)?function(t,e,r){if("boolean"===typeof t)return Boolean(e);var n=[],i=!1,o=-1;if(Array.isArray(t))n=t,o=t.indexOf(r),i=o>=0;else if(!r||"true"==r||"false"==r)return Boolean(e);if(e&&r&&!i)return n.concat(r);if(!i)return n;return n.slice(0,o).concat(n.slice(o+1))}(Xe(S.values,n),l,u):f&&h?function(t){return Array.from(t).filter((function(t){return t.selected})).map((function(t){return t.value}))}(f):u}n&&z(n,i)}),[z,S.values]),U=ar((function(t){if(Ve(t))return function(e){return H(e,t)};H(t)})),W=ar((function(t,e,r){return void 0===e&&(e=!0),k({type:"SET_FIELD_TOUCHED",payload:{field:t,value:e}}),(void 0===r?a:r)?T(S.values):Promise.resolve()})),q=Object(n.useCallback)((function(t,e){t.persist&&t.persist();var r=t.target,n=r.name,i=r.id,o=(r.outerHTML,e||(n||i));W(o,!0)}),[W]),V=ar((function(t){if(Ve(t))return function(e){return q(e,t)};q(t)})),G=Object(n.useCallback)((function(t){Ue(t)?k({type:"SET_FORMIK_STATE",payload:t}):k({type:"SET_FORMIK_STATE",payload:function(){return t}})}),[]),Y=Object(n.useCallback)((function(t){k({type:"SET_STATUS",payload:t})}),[]),X=Object(n.useCallback)((function(t){k({type:"SET_ISSUBMITTING",payload:t})}),[]),$=ar((function(){return k({type:"SUBMIT_ATTEMPT"}),T().then((function(t){var e=t instanceof Error;if(!e&&0===Object.keys(t).length){var r;try{if(void 0===(r=J()))return}catch(n){throw n}return Promise.resolve(r).then((function(t){return w.current&&k({type:"SUBMIT_SUCCESS"}),t})).catch((function(t){if(w.current)throw k({type:"SUBMIT_FAILURE"}),t}))}if(w.current&&(k({type:"SUBMIT_FAILURE"}),e))throw t}))})),K=ar((function(t){t&&t.preventDefault&&Ue(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&Ue(t.stopPropagation)&&t.stopPropagation(),$().catch((function(t){console.warn("Warning: An unhandled error was caught from submitForm()",t)}))})),Z={resetForm:P,validateForm:T,validateField:D,setErrors:N,setFieldError:B,setFieldTouched:W,setFieldValue:z,setStatus:Y,setSubmitting:X,setTouched:I,setValues:F,setFormikState:G,submitForm:$},J=ar((function(){return d(S.values,Z)})),Q=ar((function(t){t&&t.preventDefault&&Ue(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&Ue(t.stopPropagation)&&t.stopPropagation(),P()})),tt=Object(n.useCallback)((function(t){return{value:Xe(S.values,t),error:Xe(S.errors,t),touched:!!Xe(S.touched,t),initialValue:Xe(b.current,t),initialTouched:!!Xe(g.current,t),initialError:Xe(v.current,t)}}),[S.errors,S.touched,S.values]),et=Object(n.useCallback)((function(t){return{setValue:function(e,r){return z(t,e,r)},setTouched:function(e,r){return W(t,e,r)},setError:function(e){return B(t,e)}}}),[z,W,B]),rt=Object(n.useCallback)((function(t){var e=We(t),r=e?t.name:t,n=Xe(S.values,r),i={name:r,value:n,onChange:U,onBlur:V};if(e){var o=t.type,a=t.value,s=t.as,c=t.multiple;"checkbox"===o?void 0===a?i.checked=!!n:(i.checked=!(!Array.isArray(n)||!~n.indexOf(a)),i.value=a):"radio"===o?(i.checked=n===a,i.value=a):"select"===s&&c&&(i.value=i.value||[],i.multiple=!0)}return i}),[V,U,S.values]),nt=Object(n.useMemo)((function(){return!o()(b.current,S.values)}),[b.current,S.values]),it=Object(n.useMemo)((function(){return"undefined"!==typeof u?nt?S.errors&&0===Object.keys(S.errors).length:!1!==u&&Ue(u)?u(m):u:S.errors&&0===Object.keys(S.errors).length}),[u,nt,S.errors,m]);return Ne({},S,{initialValues:b.current,initialErrors:v.current,initialTouched:g.current,initialStatus:y.current,handleBlur:V,handleChange:U,handleReset:Q,handleSubmit:K,resetForm:P,setErrors:N,setFormikState:G,setFieldTouched:W,setFieldValue:z,setFieldError:B,setStatus:Y,setSubmitting:X,setTouched:I,setValues:F,submitForm:$,validateForm:T,validateField:D,isValid:it,dirty:nt,unregisterField:L,registerField:R,getFieldProps:rt,getFieldMeta:tt,getFieldHelpers:et,validateOnBlur:a,validateOnChange:r,validateOnMount:c})}function ir(t,e,r){var n=t.slice();return e.forEach((function(e,i){if("undefined"===typeof n[i]){var o=!1!==r.clone&&r.isMergeableObject(e);n[i]=o?f(Array.isArray(e)?[]:{},e,r):e}else r.isMergeableObject(e)?n[i]=f(t[i],e,r):-1===t.indexOf(e)&&n.push(e)})),n}var or="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?n.useLayoutEffect:n.useEffect;function ar(t){var e=Object(n.useRef)(t);return or((function(){e.current=t})),Object(n.useCallback)((function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.current.apply(void 0,r)}),[])}function sr(t){var e=function(e){return Object(n.createElement)(Je,null,(function(r){return r||Object(De.a)(!1),Object(n.createElement)(t,Object.assign({},e,{formik:r}))}))},r=t.displayName||t.name||t.constructor&&t.constructor.name||"Component";return e.WrappedComponent=t,e.displayName="FormikConnect("+r+")",Le()(e,t)}Object(n.forwardRef)((function(t,e){var r=t.action,i=Be(t,["action"]),o=null!=r?r:"#",a=Qe(),s=a.handleReset,c=a.handleSubmit;return Object(n.createElement)("form",Object.assign({onSubmit:c,ref:e,onReset:s,action:o},i))})).displayName="Form";var cr=function(t,e,r){var n=ur(t);return n.splice(e,0,r),n},ur=function(t){if(t){if(Array.isArray(t))return[].concat(t);var e=Object.keys(t).map((function(t){return parseInt(t)})).reduce((function(t,e){return e>t?e:t}),0);return Array.from(Ne({},t,{length:e+1}))}return[]},lr=function(t){function e(e){var r;return(r=t.call(this,e)||this).updateArrayField=function(t,e,n){var i=r.props,o=i.name;(0,i.formik.setFormikState)((function(r){var i="function"===typeof n?n:t,a="function"===typeof e?e:t,s=$e(r.values,o,t(Xe(r.values,o))),c=n?i(Xe(r.errors,o)):void 0,u=e?a(Xe(r.touched,o)):void 0;return He(c)&&(c=void 0),He(u)&&(u=void 0),Ne({},r,{values:s,errors:n?$e(r.errors,o,c):r.errors,touched:e?$e(r.touched,o,u):r.touched})}))},r.push=function(t){return r.updateArrayField((function(e){return[].concat(ur(e),[Ie(t)])}),!1,!1)},r.handlePush=function(t){return function(){return r.push(t)}},r.swap=function(t,e){return r.updateArrayField((function(r){return function(t,e,r){var n=ur(t),i=n[e];return n[e]=n[r],n[r]=i,n}(r,t,e)}),!0,!0)},r.handleSwap=function(t,e){return function(){return r.swap(t,e)}},r.move=function(t,e){return r.updateArrayField((function(r){return function(t,e,r){var n=ur(t),i=n[e];return n.splice(e,1),n.splice(r,0,i),n}(r,t,e)}),!0,!0)},r.handleMove=function(t,e){return function(){return r.move(t,e)}},r.insert=function(t,e){return r.updateArrayField((function(r){return cr(r,t,e)}),(function(e){return cr(e,t,null)}),(function(e){return cr(e,t,null)}))},r.handleInsert=function(t,e){return function(){return r.insert(t,e)}},r.replace=function(t,e){return r.updateArrayField((function(r){return function(t,e,r){var n=ur(t);return n[e]=r,n}(r,t,e)}),!1,!1)},r.handleReplace=function(t,e){return function(){return r.replace(t,e)}},r.unshift=function(t){var e=-1;return r.updateArrayField((function(r){var n=r?[t].concat(r):[t];return e<0&&(e=n.length),n}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r}),(function(t){var r=t?[null].concat(t):[null];return e<0&&(e=r.length),r})),e},r.handleUnshift=function(t){return function(){return r.unshift(t)}},r.handleRemove=function(t){return function(){return r.remove(t)}},r.handlePop=function(){return function(){return r.pop()}},r.remove=r.remove.bind(ze(r)),r.pop=r.pop.bind(ze(r)),r}Fe(e,t);var r=e.prototype;return r.componentDidUpdate=function(t){this.props.validateOnChange&&this.props.formik.validateOnChange&&!o()(Xe(t.formik.values,t.name),Xe(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(t){var e;return this.updateArrayField((function(r){var n=r?ur(r):[];return e||(e=n[t]),Ue(n.splice)&&n.splice(t,1),n}),!0,!0),e},r.pop=function(){var t;return this.updateArrayField((function(e){var r=e;return t||(t=r&&r.pop&&r.pop()),r}),!0,!0),t},r.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},e=this.props,r=e.component,i=e.render,o=e.children,a=e.name,s=Ne({},t,{form:Be(e.formik,["validate","validationSchema"]),name:a});return r?Object(n.createElement)(r,s):i?i(s):o?"function"===typeof o?o(s):Ge(o)?null:n.Children.only(o):null},e}(n.Component);lr.defaultProps={validateOnChange:!0};n.Component,n.Component},,function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(2),i=r(0),o=r(893),a=r(6);function s(t,e){var r=function(r,i){return Object(a.jsx)(o.a,Object(n.a)({"data-testid":"".concat(e,"Icon"),ref:i},r,{children:t}))};return r.muiName=o.a.muiName,i.memo(i.forwardRef(r))}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";r.r(e),function(t){r.d(e,"AcroForm",(function(){return Mt})),r.d(e,"AcroFormAppearance",(function(){return kt})),r.d(e,"AcroFormButton",(function(){return gt})),r.d(e,"AcroFormCheckBox",(function(){return Ot})),r.d(e,"AcroFormChoiceField",(function(){return pt})),r.d(e,"AcroFormComboBox",(function(){return bt})),r.d(e,"AcroFormEditBox",(function(){return vt})),r.d(e,"AcroFormListBox",(function(){return mt})),r.d(e,"AcroFormPasswordField",(function(){return St})),r.d(e,"AcroFormPushButton",(function(){return yt})),r.d(e,"AcroFormRadioButton",(function(){return wt})),r.d(e,"AcroFormTextField",(function(){return _t})),r.d(e,"GState",(function(){return L})),r.d(e,"ShadingPattern",(function(){return N})),r.d(e,"TilingPattern",(function(){return F})),r.d(e,"jsPDF",(function(){return B}));var n=r(101),i=r.n(n),o=r(436),a=function(){return"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:this}();function s(){a.console&&"function"==typeof a.console.log&&a.console.log.apply(a.console,arguments)}var c={log:s,warn:function(t){a.console&&("function"==typeof a.console.warn?a.console.warn.apply(a.console,arguments):s.call(null,arguments))},error:function(t){a.console&&("function"==typeof a.console.error?a.console.error.apply(a.console,arguments):s(t))}};function u(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){p(n.response,e,r)},n.onerror=function(){c.error("could not download file")},n.send()}function l(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function f(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var h,d,p=a.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==a?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,e,r){var n=a.URL||a.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener","string"==typeof t?(i.href=t,i.origin!==location.origin?l(i.href)?u(t,e,r):f(i,i.target="_blank"):f(i)):(i.href=n.createObjectURL(t),setTimeout((function(){n.revokeObjectURL(i.href)}),4e4),setTimeout((function(){f(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download","string"==typeof t)if(l(t))u(t,e,r);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout((function(){f(n)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!==i()(e)&&(c.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,r),e)}:function(t,e,r,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof t)return u(t,e,r);var o="application/octet-stream"===t.type,s=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||o&&s)&&"object"===("undefined"==typeof FileReader?"undefined":i()(FileReader))){var l=new FileReader;l.onloadend=function(){var t=l.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=t:location=t,n=null},l.readAsDataURL(t)}else{var f=a.URL||a.webkitURL,h=f.createObjectURL(t);n?n.location=h:location.href=h,n=null,setTimeout((function(){f.revokeObjectURL(h)}),4e4)}});function m(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,o=r[n].process,a=i.exec(t);a&&(e=o(a),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}function b(t,e){var r=t[0],n=t[1],i=t[2],o=t[3];r=g(r,n,i,o,e[0],7,-680876936),o=g(o,r,n,i,e[1],12,-389564586),i=g(i,o,r,n,e[2],17,606105819),n=g(n,i,o,r,e[3],22,-1044525330),r=g(r,n,i,o,e[4],7,-176418897),o=g(o,r,n,i,e[5],12,1200080426),i=g(i,o,r,n,e[6],17,-1473231341),n=g(n,i,o,r,e[7],22,-45705983),r=g(r,n,i,o,e[8],7,1770035416),o=g(o,r,n,i,e[9],12,-1958414417),i=g(i,o,r,n,e[10],17,-42063),n=g(n,i,o,r,e[11],22,-1990404162),r=g(r,n,i,o,e[12],7,1804603682),o=g(o,r,n,i,e[13],12,-40341101),i=g(i,o,r,n,e[14],17,-1502002290),r=y(r,n=g(n,i,o,r,e[15],22,1236535329),i,o,e[1],5,-165796510),o=y(o,r,n,i,e[6],9,-1069501632),i=y(i,o,r,n,e[11],14,643717713),n=y(n,i,o,r,e[0],20,-373897302),r=y(r,n,i,o,e[5],5,-701558691),o=y(o,r,n,i,e[10],9,38016083),i=y(i,o,r,n,e[15],14,-660478335),n=y(n,i,o,r,e[4],20,-405537848),r=y(r,n,i,o,e[9],5,568446438),o=y(o,r,n,i,e[14],9,-1019803690),i=y(i,o,r,n,e[3],14,-187363961),n=y(n,i,o,r,e[8],20,1163531501),r=y(r,n,i,o,e[13],5,-1444681467),o=y(o,r,n,i,e[2],9,-51403784),i=y(i,o,r,n,e[7],14,1735328473),r=w(r,n=y(n,i,o,r,e[12],20,-1926607734),i,o,e[5],4,-378558),o=w(o,r,n,i,e[8],11,-2022574463),i=w(i,o,r,n,e[11],16,1839030562),n=w(n,i,o,r,e[14],23,-35309556),r=w(r,n,i,o,e[1],4,-1530992060),o=w(o,r,n,i,e[4],11,1272893353),i=w(i,o,r,n,e[7],16,-155497632),n=w(n,i,o,r,e[10],23,-1094730640),r=w(r,n,i,o,e[13],4,681279174),o=w(o,r,n,i,e[0],11,-358537222),i=w(i,o,r,n,e[3],16,-722521979),n=w(n,i,o,r,e[6],23,76029189),r=w(r,n,i,o,e[9],4,-640364487),o=w(o,r,n,i,e[12],11,-421815835),i=w(i,o,r,n,e[15],16,530742520),r=x(r,n=w(n,i,o,r,e[2],23,-995338651),i,o,e[0],6,-198630844),o=x(o,r,n,i,e[7],10,1126891415),i=x(i,o,r,n,e[14],15,-1416354905),n=x(n,i,o,r,e[5],21,-57434055),r=x(r,n,i,o,e[12],6,1700485571),o=x(o,r,n,i,e[3],10,-1894986606),i=x(i,o,r,n,e[10],15,-1051523),n=x(n,i,o,r,e[1],21,-2054922799),r=x(r,n,i,o,e[8],6,1873313359),o=x(o,r,n,i,e[15],10,-30611744),i=x(i,o,r,n,e[6],15,-1560198380),n=x(n,i,o,r,e[13],21,1309151649),r=x(r,n,i,o,e[4],6,-145523070),o=x(o,r,n,i,e[11],10,-1120210379),i=x(i,o,r,n,e[2],15,718787259),n=x(n,i,o,r,e[9],21,-343485551),t[0]=j(r,t[0]),t[1]=j(n,t[1]),t[2]=j(i,t[2]),t[3]=j(o,t[3])}function v(t,e,r,n,i,o){return e=j(j(e,t),j(n,o)),j(e<<i|e>>>32-i,r)}function g(t,e,r,n,i,o,a){return v(e&r|~e&n,t,e,i,o,a)}function y(t,e,r,n,i,o,a){return v(e&n|r&~n,t,e,i,o,a)}function w(t,e,r,n,i,o,a){return v(e^r^n,t,e,i,o,a)}function x(t,e,r,n,i,o,a){return v(r^(e|~n),t,e,i,o,a)}function O(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)b(n,_(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(b(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,b(n,i),n}function _(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}h=a.atob.bind(a),d=a.btoa.bind(a);var S="0123456789abcdef".split("");function k(t){for(var e="",r=0;r<4;r++)e+=S[t>>8*r+4&15]+S[t>>8*r&15];return e}function E(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function M(t){return O(t).map(E).join("")}var C="5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e<t.length;e++)t[e]=k(t[e]);return t.join("")}(O("hello"));function j(t,e){if(C){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}return t+e&4294967295}function A(t,e){var r,n,i,o;if(t!==r){for(var a=(i=t,o=1+(256/t.length>>0),new Array(o+1).join(i)),s=[],c=0;c<256;c++)s[c]=c;var u=0;for(c=0;c<256;c++){var l=s[c];u=(u+l+a.charCodeAt(c))%256,s[c]=s[u],s[u]=l}r=t,n=s}else s=n;var f=e.length,h=0,d=0,p="";for(c=0;c<f;c++)d=(d+(l=s[h=(h+1)%256]))%256,s[h]=s[d],s[d]=l,a=s[(s[h]+s[d])%256],p+=String.fromCharCode(e.charCodeAt(c)^a);return p}var T={print:4,modify:8,copy:16,"annot-forms":32};function P(t,e,r,n){this.v=1,this.r=2;var i=192;t.forEach((function(t){if(void 0!==T.perm)throw new Error("Invalid permission: "+t);i+=T[t]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var o=(e+this.padding).substr(0,32),a=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=M(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=A(this.encryptionKey,this.padding)}function D(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,n=0;n<r;n++){var i=t.charCodeAt(n);e+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):t[n]}return e}function R(t){if("object"!==i()(t))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,r,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof r||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var i=Math.random().toString(35);return e[t][i]=[r,!!n],i},this.unsubscribe=function(t){for(var r in e)if(e[r][t])return delete e[r][t],0===Object.keys(e[r]).length&&delete e[r],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var o in e[r]){var s=e[r][o];try{s[0].apply(t,n)}catch(r){a.console&&c.error("jsPDF PubSub Error",r.message,r)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function L(t){if(!(this instanceof L))return new L(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function I(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function N(t,e,r,n,i){if(!(this instanceof N))return new N(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,I.call(this,n,i)}function F(t,e,r,n,i){if(!(this instanceof F))return new F(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,I.call(this,n,i)}function B(t){var e,r="string"==typeof arguments[0]?arguments[0]:"p",n=arguments[1],o=arguments[2],s=arguments[3],u=[],l=1,f=16,h="S",b=null;"object"===i()(t=t||{})&&(r=t.orientation,n=t.unit||n,o=t.format||o,s=t.compress||t.compressPdf||s,null!==(b=t.encryption||null)&&(b.userPassword=b.userPassword||"",b.ownerPassword=b.ownerPassword||"",b.userPermissions=b.userPermissions||[]),l="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(f=t.floatPrecision),h=t.defaultPathOperation||"S"),u=t.filters||(!0===s?["FlateEncode"]:u),n=n||"mm",r=(""+(r||"P")).toLowerCase();var v=t.putOnlyUsedFonts||!1,g={},y={internal:{},__private__:{}};y.__private__.PubSub=R;var w="1.3",x=y.__private__.getPdfVersion=function(){return w};y.__private__.setPdfVersion=function(t){w=t};var O={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};y.__private__.getPageFormats=function(){return O};var _=y.__private__.getPageFormat=function(t){return O[t]};o=o||"a4";var S={COMPAT:"compat",ADVANCED:"advanced"},k=S.COMPAT;function E(){this.saveGraphicsState(),ft(new Vt(Et,0,0,-Et,0,Br()*Et).toString()+" cm"),this.setFontSize(this.getFontSize()/Et),h="n",k=S.ADVANCED}function M(){this.restoreGraphicsState(),h="S",k=S.COMPAT}var C=y.__private__.combineFontStyleAndFontWeight=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&(t=400==e||"normal"===e?"italic"===t?"italic":"normal":700!=e&&"bold"!==e||"normal"!==t?(700==e?"bold":e)+""+t:"bold"),t};y.advancedAPI=function(t){var e=k===S.COMPAT;return e&&E.call(this),"function"!=typeof t||(t(this),e&&M.call(this)),this},y.compatAPI=function(t){var e=k===S.ADVANCED;return e&&M.call(this),"function"!=typeof t||(t(this),e&&E.call(this)),this},y.isAdvancedAPI=function(){return k===S.ADVANCED};var j,A=function(t){if(k!==S.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},T=y.roundToPrecision=y.__private__.roundToPrecision=function(t,r){var n=e||r;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};j=y.hpf=y.__private__.hpf="number"==typeof f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return T(t,f)}:"smart"===f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return T(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return T(t,16)};var I=y.f2=y.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return T(t,2)},z=y.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return T(t,3)},H=y.scale=y.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return k===S.COMPAT?t*Et:k===S.ADVANCED?t:void 0},U=function(t){return k===S.COMPAT?Br()-t:k===S.ADVANCED?t:void 0},W=function(t){return H(U(t))};y.__private__.setPrecision=y.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var q,V="00000000000000000000000000000000",G=y.__private__.getFileId=function(){return V},Y=y.__private__.setFileId=function(t){return V=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():V.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==b&&(Ye=new P(b.userPermissions,b.userPassword,b.ownerPassword,V)),V};y.setFileId=function(t){return Y(t),this},y.getFileId=function(){return G()};var X=y.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),o=[r,Q(n),"'",Q(i),"'"].join("");return["D:",t.getFullYear(),Q(t.getMonth()+1),Q(t.getDate()),Q(t.getHours()),Q(t.getMinutes()),Q(t.getSeconds()),o].join("")},$=y.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),o=parseInt(t.substr(12,2),10),a=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,o,a,0)},K=y.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=X(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return q=e},Z=y.__private__.getCreationDate=function(t){var e=q;return"jsDate"===t&&(e=$(q)),e};y.setCreationDate=function(t){return K(t),this},y.getCreationDate=function(t){return Z(t)};var J,Q=y.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},tt=y.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},et=0,rt=[],nt=[],it=0,ot=[],at=[],st=!1,ct=nt,ut=function(){et=0,it=0,nt=[],rt=[],ot=[],Qt=Kt(),te=Kt()};y.__private__.setCustomOutputDestination=function(t){st=!0,ct=t};var lt=function(t){st||(ct=t)};y.__private__.resetCustomOutputDestination=function(){st=!1,ct=nt};var ft=y.__private__.out=function(t){return t=t.toString(),it+=t.length+1,ct.push(t),ct},ht=y.__private__.write=function(t){return ft(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},dt=y.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},pt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];y.__private__.getStandardFonts=function(){return pt};var mt=t.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(t){return mt=k===S.ADVANCED?t/Et:t,this};var bt,vt=y.__private__.getFontSize=y.getFontSize=function(){return k===S.COMPAT?mt:mt*Et},gt=t.R2L||!1;y.__private__.setR2L=y.setR2L=function(t){return gt=t,this},y.__private__.getR2L=y.getR2L=function(){return gt};var yt,wt=y.__private__.setZoomMode=function(t){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(t))bt=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');bt=t}else bt=parseInt(t,10)};y.__private__.getZoomMode=function(){return bt};var xt,Ot=y.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');yt=t};y.__private__.getPageMode=function(){return yt};var _t=y.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');xt=t};y.__private__.getLayoutMode=function(){return xt},y.__private__.setDisplayMode=y.setDisplayMode=function(t,e,r){return wt(t),_t(e),Ot(r),this};var St={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(t){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return St[t]},y.__private__.getDocumentProperties=function(){return St},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(t){for(var e in St)St.hasOwnProperty(e)&&t[e]&&(St[e]=t[e]);return this},y.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(St).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return St[t]=e};var kt,Et,Mt,Ct,jt,At={},Tt={},Pt=[],Dt={},Rt={},Lt={},It={},Nt=null,Ft=0,Bt=[],zt=new R(y),Ht=t.hotfixes||[],Ut={},Wt={},qt=[],Vt=function t(e,r,n,i,o,a){if(!(this instanceof t))return new t(e,r,n,i,o,a);isNaN(e)&&(e=1),isNaN(r)&&(r=0),isNaN(n)&&(n=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(a)&&(a=0),this._matrix=[e,r,n,i,o,a]};Object.defineProperty(Vt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Vt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Vt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Vt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Vt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(j).join(t)},Vt.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,o=t.tx*this.sx+t.ty*this.shx+this.tx,a=t.tx*this.shy+t.ty*this.sy+this.ty;return new Vt(e,r,n,i,o,a)},Vt.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(t*t+e*e),s=(t/=a)*r+(e/=a)*n;r-=t*s,n-=e*s;var c=Math.sqrt(r*r+n*n);return s/=c,t*(n/=c)<e*(r/=c)&&(t=-t,e=-e,s=-s,a=-a),{scale:new Vt(a,0,0,c,0,0),translate:new Vt(1,0,0,1,i,o),rotate:new Vt(t,e,-e,t,0,0),skew:new Vt(1,0,s,1,0,0)}},Vt.prototype.toString=function(t){return this.join(" ")},Vt.prototype.inversed=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty,a=1/(t*n-e*r),s=n*a,c=-e*a,u=-r*a,l=t*a;return new Vt(s,c,u,l,-s*i-u*o,-c*i-l*o)},Vt.prototype.applyToPoint=function(t){var e=t.x*this.sx+t.y*this.shx+this.tx,r=t.x*this.shy+t.y*this.sy+this.ty;return new Tr(e,r)},Vt.prototype.applyToRectangle=function(t){var e=this.applyToPoint(t),r=this.applyToPoint(new Tr(t.x+t.w,t.y+t.h));return new Pr(e.x,e.y,r.x-e.x,r.y-e.y)},Vt.prototype.clone=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,o=this.ty;return new Vt(t,e,r,n,i,o)},y.Matrix=Vt;var Gt=y.matrixMult=function(t,e){return e.multiply(t)},Yt=new Vt(1,0,0,1,0,0);y.unitMatrix=y.identityMatrix=Yt;var Xt=function(t,e){if(!Rt[t]){var r=(e instanceof N?"Sh":"P")+(Object.keys(Dt).length+1).toString(10);e.id=r,Rt[t]=r,Dt[r]=e,zt.publish("addPattern",e)}};y.ShadingPattern=N,y.TilingPattern=F,y.addShadingPattern=function(t,e){return A("addShadingPattern()"),Xt(t,e),this},y.beginTilingPattern=function(t){A("beginTilingPattern()"),Rr(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},y.endTilingPattern=function(t,e){A("endTilingPattern()"),e.stream=at[J].join("\n"),Xt(t,e),zt.publish("endTilingPattern",e),qt.pop().restore()};var $t=y.__private__.newObject=function(){var t=Kt();return Zt(t,!0),t},Kt=y.__private__.newObjectDeferred=function(){return et++,rt[et]=function(){return it},et},Zt=function(t,e){return e="boolean"==typeof e&&e,rt[t]=it,e&&ft(t+" 0 obj"),t},Jt=y.__private__.newAdditionalObject=function(){var t={objId:Kt(),content:""};return ot.push(t),t},Qt=Kt(),te=Kt(),ee=y.__private__.decodeColorString=function(t){var e=t.split(" ");if(2!==e.length||"g"!==e[1]&&"G"!==e[1])5!==e.length||"k"!==e[4]&&"K"!==e[4]||(e=[(1-e[0])*(1-e[3]),(1-e[1])*(1-e[3]),(1-e[2])*(1-e[3]),"r"]);else{var r=parseFloat(e[0]);e=[r,r,r,"r"]}for(var n="#",i=0;i<3;i++)n+=("0"+Math.floor(255*parseFloat(e[i])).toString(16)).slice(-2);return n},re=y.__private__.encodeColorString=function(t){var e;"string"==typeof t&&(t={ch1:t});var r=t.ch1,n=t.ch2,o=t.ch3,a=t.ch4,s="draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var c=new m(r);if(c.ok)r=c.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var u=parseInt(r.substr(1),16);r=u>>16&255,n=u>>8&255,o=255&u}if(void 0===n||void 0===a&&r===n&&n===o)if("string"==typeof r)e=r+" "+s[0];else switch(t.precision){case 2:e=I(r/255)+" "+s[0];break;case 3:default:e=z(r/255)+" "+s[0]}else if(void 0===a||"object"===i()(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof r)e=[r,n,o,s[1]].join(" ");else switch(t.precision){case 2:e=[I(r/255),I(n/255),I(o/255),s[1]].join(" ");break;default:case 3:e=[z(r/255),z(n/255),z(o/255),s[1]].join(" ")}}else if("string"==typeof r)e=[r,n,o,a,s[2]].join(" ");else switch(t.precision){case 2:e=[I(r),I(n),I(o),I(a),s[2]].join(" ");break;case 3:default:e=[z(r),z(n),z(o),z(a),s[2]].join(" ")}return e},ne=y.__private__.getFilters=function(){return u},ie=y.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||ne(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=e.length,a=t.objectId,s=function(t){return t};if(null!==b&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==b&&(s=Ye.encryptor(a,0));var c={};!0===r&&(r=["FlateEncode"]);var u=t.additionalKeyValues||[],l=(c=void 0!==B.API.processDataByFilters?B.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(u.push({key:"Length",value:c.data.length}),!0===i&&u.push({key:"Length1",value:o})),0!=l.length)if(l.split("/").length-1==1)u.push({key:"Filter",value:l});else{u.push({key:"Filter",value:"["+l+"]"});for(var f=0;f<u.length;f+=1)if("DecodeParms"===u[f].key){for(var h=[],d=0;d<c.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(u[f].value),u[f].value="["+h.join(" ")+"]"}}ft("<<");for(var p=0;p<u.length;p++)ft("/"+u[p].key+" "+u[p].value);ft(">>"),0!==c.data.length&&(ft("stream"),ft(s(c.data)),ft("endstream"))},oe=y.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Zt(n,!0),ft("<</Type /Page"),ft("/Parent "+t.rootDictionaryObjId+" 0 R"),ft("/Resources "+t.resourceDictionaryObjId+" 0 R"),ft("/MediaBox ["+parseFloat(j(t.mediaBox.bottomLeftX))+" "+parseFloat(j(t.mediaBox.bottomLeftY))+" "+j(t.mediaBox.topRightX)+" "+j(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&ft("/CropBox ["+j(t.cropBox.bottomLeftX)+" "+j(t.cropBox.bottomLeftY)+" "+j(t.cropBox.topRightX)+" "+j(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&ft("/BleedBox ["+j(t.bleedBox.bottomLeftX)+" "+j(t.bleedBox.bottomLeftY)+" "+j(t.bleedBox.topRightX)+" "+j(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&ft("/TrimBox ["+j(t.trimBox.bottomLeftX)+" "+j(t.trimBox.bottomLeftY)+" "+j(t.trimBox.topRightX)+" "+j(t.trimBox.topRightY)+"]"),null!==t.artBox&&ft("/ArtBox ["+j(t.artBox.bottomLeftX)+" "+j(t.artBox.bottomLeftY)+" "+j(t.artBox.topRightX)+" "+j(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&ft("/UserUnit "+t.userUnit),zt.publish("putPage",{objId:n,pageContext:Bt[e],pageNumber:e,page:r}),ft("/Contents "+i+" 0 R"),ft(">>"),ft("endobj");var o=r.join("\n");return k===S.ADVANCED&&(o+="\nQ"),Zt(i,!0),ie({data:o,filters:ne(),objectId:i}),ft("endobj"),n},ae=y.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=Ft;t++)Bt[t].objId=Kt(),Bt[t].contentsObjId=Kt();for(t=1;t<=Ft;t++)r.push(oe({number:t,data:at[t],objId:Bt[t].objId,contentsObjId:Bt[t].contentsObjId,mediaBox:Bt[t].mediaBox,cropBox:Bt[t].cropBox,bleedBox:Bt[t].bleedBox,trimBox:Bt[t].trimBox,artBox:Bt[t].artBox,userUnit:Bt[t].userUnit,rootDictionaryObjId:Qt,resourceDictionaryObjId:te}));Zt(Qt,!0),ft("<</Type /Pages");var n="/Kids [";for(e=0;e<Ft;e++)n+=r[e]+" 0 R ";ft(n+"]"),ft("/Count "+Ft),ft(">>"),ft("endobj"),zt.publish("postPutPages")},se=function(t){zt.publish("putFont",{font:t,out:ft,newObject:$t,putStream:ie}),!0!==t.isAlreadyPutted&&(t.objectNumber=$t(),ft("<<"),ft("/Type /Font"),ft("/BaseFont /"+D(t.postScriptName)),ft("/Subtype /Type1"),"string"==typeof t.encoding&&ft("/Encoding /"+t.encoding),ft("/FirstChar 32"),ft("/LastChar 255"),ft(">>"),ft("endobj"))},ce=function(){for(var t in At)At.hasOwnProperty(t)&&(!1===v||!0===v&&g.hasOwnProperty(t))&&se(At[t])},ue=function(t){t.objectNumber=$t();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[j(t.x),j(t.y),j(t.x+t.width),j(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");ie({data:r,additionalKeyValues:e,objectId:t.objectNumber}),ft("endobj")},le=function(){for(var t in Ut)Ut.hasOwnProperty(t)&&ue(Ut[t])},fe=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var o={offset:0,color:t[0].color};t.unshift(o)}if(1!=t[t.length-1].offset){var a={offset:1,color:t[t.length-1].color};t.push(a)}for(var s="",c=0,u=0;u<n.length;u++){for(r=n[u];r>t[c+1].offset;)c++;var l=t[c].offset,f=(r-l)/(t[c+1].offset-l),h=t[c].color,d=t[c+1].color;s+=tt(Math.round((1-f)*h[0]+f*d[0]).toString(16))+tt(Math.round((1-f)*h[1]+f*d[1]).toString(16))+tt(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return s.trim()},he=function(t,e){e||(e=21);var r=$t(),n=fe(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ie({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),ft("endobj"),t.objectNumber=$t(),ft("<< /ShadingType "+t.type),ft("/ColorSpace /DeviceRGB");var o="/Coords ["+j(parseFloat(t.coords[0]))+" "+j(parseFloat(t.coords[1]))+" ";2===t.type?o+=j(parseFloat(t.coords[2]))+" "+j(parseFloat(t.coords[3])):o+=j(parseFloat(t.coords[2]))+" "+j(parseFloat(t.coords[3]))+" "+j(parseFloat(t.coords[4]))+" "+j(parseFloat(t.coords[5])),ft(o+="]"),t.matrix&&ft("/Matrix ["+t.matrix.toString()+"]"),ft("/Function "+r+" 0 R"),ft("/Extend [true true]"),ft(">>"),ft("endobj")},de=function(t,e){var r=Kt(),n=$t();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(j).join(" ")+"]"}),i.push({key:"XStep",value:j(t.xStep)}),i.push({key:"YStep",value:j(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ie({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),ft("endobj")},pe=function(t){var e;for(e in Dt)Dt.hasOwnProperty(e)&&(Dt[e]instanceof N?he(Dt[e]):Dt[e]instanceof F&&de(Dt[e],t))},me=function(t){for(var e in t.objectNumber=$t(),ft("<<"),t)switch(e){case"opacity":ft("/ca "+I(t[e]));break;case"stroke-opacity":ft("/CA "+I(t[e]))}ft(">>"),ft("endobj")},be=function(){var t;for(t in Lt)Lt.hasOwnProperty(t)&&me(Lt[t])},ve=function(){for(var t in ft("/XObject <<"),Ut)Ut.hasOwnProperty(t)&&Ut[t].objectNumber>=0&&ft("/"+t+" "+Ut[t].objectNumber+" 0 R");zt.publish("putXobjectDict"),ft(">>")},ge=function(){Ye.oid=$t(),ft("<<"),ft("/Filter /Standard"),ft("/V "+Ye.v),ft("/R "+Ye.r),ft("/U <"+Ye.toHexString(Ye.U)+">"),ft("/O <"+Ye.toHexString(Ye.O)+">"),ft("/P "+Ye.P),ft(">>"),ft("endobj")},ye=function(){for(var t in ft("/Font <<"),At)At.hasOwnProperty(t)&&(!1===v||!0===v&&g.hasOwnProperty(t))&&ft("/"+t+" "+At[t].objectNumber+" 0 R");ft(">>")},we=function(){if(Object.keys(Dt).length>0){for(var t in ft("/Shading <<"),Dt)Dt.hasOwnProperty(t)&&Dt[t]instanceof N&&Dt[t].objectNumber>=0&&ft("/"+t+" "+Dt[t].objectNumber+" 0 R");zt.publish("putShadingPatternDict"),ft(">>")}},xe=function(t){if(Object.keys(Dt).length>0){for(var e in ft("/Pattern <<"),Dt)Dt.hasOwnProperty(e)&&Dt[e]instanceof y.TilingPattern&&Dt[e].objectNumber>=0&&Dt[e].objectNumber<t&&ft("/"+e+" "+Dt[e].objectNumber+" 0 R");zt.publish("putTilingPatternDict"),ft(">>")}},Oe=function(){if(Object.keys(Lt).length>0){var t;for(t in ft("/ExtGState <<"),Lt)Lt.hasOwnProperty(t)&&Lt[t].objectNumber>=0&&ft("/"+t+" "+Lt[t].objectNumber+" 0 R");zt.publish("putGStateDict"),ft(">>")}},_e=function(t){Zt(t.resourcesOid,!0),ft("<<"),ft("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ye(),we(),xe(t.objectOid),Oe(),ve(),ft(">>"),ft("endobj")},Se=function(){var t=[];ce(),be(),le(),pe(t),zt.publish("putResources"),t.forEach(_e),_e({resourcesOid:te,objectOid:Number.MAX_SAFE_INTEGER}),zt.publish("postPutResources")},ke=function(){zt.publish("putAdditionalObjects");for(var t=0;t<ot.length;t++){var e=ot[t];Zt(e.objId,!0),ft(e.content),ft("endobj")}zt.publish("postPutAdditionalObjects")},Ee=function(t){Tt[t.fontName]=Tt[t.fontName]||{},Tt[t.fontName][t.fontStyle]=t.id},Me=function(t,e,r,n,i){var o={id:"F"+(Object.keys(At).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return zt.publish("addFont",{font:o,instance:this}),At[o.id]=o,Ee(o),o.id},Ce=function(t){for(var e=0,r=pt.length;e<r;e++){var n=Me.call(this,t[e][0],t[e][1],t[e][2],pt[e][3],!0);!1===v&&(g[n]=!0);var i=t[e][0].split("-");Ee({id:n,fontName:i[0],fontStyle:i[1]||""})}zt.publish("addFonts",{fonts:At,dictionary:Tt})},je=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var e=t.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var r="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!a.console)throw new Error(r);a.console.error(r,t),a.alert&&alert(r)}},t.foo.bar=t,t.foo},Ae=function(t,e){var r,n,i,o,a,s,c,u,l;if(i=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&At[kt].metadata&&At[kt].metadata[i]&&At[kt].metadata[i].encoding&&(o=At[kt].metadata[i].encoding,!a&&At[kt].encoding&&(a=At[kt].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(c=!1,s=[],r=0,n=t.length;r<n;r++)(u=a[t.charCodeAt(r)])?s.push(String.fromCharCode(u)):s.push(t[r]),s[r].charCodeAt(0)>>8&&(c=!0);t=s.join("")}for(r=t.length;void 0===c&&0!==r;)t.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return t;for(s=e.noBOM?[]:[254,255],r=0,n=t.length;r<n;r++){if((l=(u=t.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(l),s.push(u-(l<<8))}return String.fromCharCode.apply(void 0,s)},Te=y.__private__.pdfEscape=y.pdfEscape=function(t,e){return Ae(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Pe=y.__private__.beginPage=function(t){at[++Ft]=[],Bt[Ft]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},Le(Ft),lt(at[J])},De=function(t,e){var n,i,a;switch(r=e||r,"string"==typeof t&&(n=_(t.toLowerCase()),Array.isArray(n)&&(i=n[0],a=n[1])),Array.isArray(t)&&(i=t[0]*Et,a=t[1]*Et),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>14400)&&(c.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),a=Math.min(14400,a)),o=[i,a],r.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}Pe(o),pr(hr),ft(Or),0!==Cr&&ft(Cr+" J"),0!==jr&&ft(jr+" j"),zt.publish("addPage",{pageNumber:Ft})},Re=function(t){t>0&&t<=Ft&&(at.splice(t,1),Bt.splice(t,1),Ft--,J>Ft&&(J=Ft),this.setPage(J))},Le=function(t){t>0&&t<=Ft&&(J=t)},Ie=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return at.length-1},Ne=function(t,e,r){var n,i=void 0;return r=r||{},t=void 0!==t?t:At[kt].fontName,e=void 0!==e?e:At[kt].fontStyle,n=t.toLowerCase(),void 0!==Tt[n]&&void 0!==Tt[n][e]?i=Tt[n][e]:void 0!==Tt[t]&&void 0!==Tt[t][e]?i=Tt[t][e]:!1===r.disableWarning&&c.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||r.noFallback||null==(i=Tt.times[e])&&(i=Tt.times.normal),i},Fe=y.__private__.putInfo=function(){var t=$t(),e=function(t){return t};for(var r in null!==b&&(e=Ye.encryptor(t,0)),ft("<<"),ft("/Producer ("+Te(e("jsPDF "+B.version))+")"),St)St.hasOwnProperty(r)&&St[r]&&ft("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+Te(e(St[r]))+")");ft("/CreationDate ("+Te(e(q))+")"),ft(">>"),ft("endobj")},Be=y.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Qt;switch($t(),ft("<<"),ft("/Type /Catalog"),ft("/Pages "+e+" 0 R"),bt||(bt="fullwidth"),bt){case"fullwidth":ft("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ft("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ft("/OpenAction [3 0 R /Fit]");break;case"original":ft("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+bt;"%"===r.substr(r.length-1)&&(bt=parseInt(bt)/100),"number"==typeof bt&&ft("/OpenAction [3 0 R /XYZ null null "+I(bt)+"]")}switch(xt||(xt="continuous"),xt){case"continuous":ft("/PageLayout /OneColumn");break;case"single":ft("/PageLayout /SinglePage");break;case"two":case"twoleft":ft("/PageLayout /TwoColumnLeft");break;case"tworight":ft("/PageLayout /TwoColumnRight")}yt&&ft("/PageMode /"+yt),zt.publish("putCatalog"),ft(">>"),ft("endobj")},ze=y.__private__.putTrailer=function(){ft("trailer"),ft("<<"),ft("/Size "+(et+1)),ft("/Root "+et+" 0 R"),ft("/Info "+(et-1)+" 0 R"),null!==b&&ft("/Encrypt "+Ye.oid+" 0 R"),ft("/ID [ <"+V+"> <"+V+"> ]"),ft(">>")},He=y.__private__.putHeader=function(){ft("%PDF-"+w),ft("%\xba\xdf\xac\xe0")},Ue=y.__private__.putXRef=function(){var t="0000000000";ft("xref"),ft("0 "+(et+1)),ft("0000000000 65535 f ");for(var e=1;e<=et;e++)"function"==typeof rt[e]?ft((t+rt[e]()).slice(-10)+" 00000 n "):void 0!==rt[e]?ft((t+rt[e]).slice(-10)+" 00000 n "):ft("0000000000 00000 n ")},We=y.__private__.buildDocument=function(){ut(),lt(nt),zt.publish("buildDocument"),He(),ae(),ke(),Se(),null!==b&&ge(),Fe(),Be();var t=it;return Ue(),ze(),ft("startxref"),ft(""+t),ft("%%EOF"),lt(at[J]),nt.join("\n")},qe=y.__private__.getBlob=function(t){return new Blob([dt(t)],{type:"application/pdf"})},Ve=y.output=y.__private__.output=je((function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return We();case"save":y.save(e.filename);break;case"arraybuffer":return dt(We());case"blob":return qe(We());case"bloburi":case"bloburl":if(void 0!==a.URL&&"function"==typeof a.URL.createObjectURL)return a.URL&&a.URL.createObjectURL(qe(We()))||void 0;c.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=We();try{r=d(n)}catch(t){r=d(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+e.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';e.pdfObjectUrl&&(i=e.pdfObjectUrl,o="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+i+'"'+o+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(e)+");<\/script></body></html>",u=a.open();return null!==u&&u.document.write(s),u}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(e.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+e.filename+'" width="500px" height="400px" /></body></html>',f=a.open();if(null!==f){f.document.write(l);var h=this;f.document.documentElement.querySelector("#pdfViewer").onload=function(){f.document.title=e.filename,f.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.output("bloburl"))}}return f}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(a))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var p='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",e)+'"></iframe></body></html>',m=a.open();if(null!==m&&(m.document.write(p),m.document.title=e.filename),m||"undefined"==typeof safari)return m;break;case"datauri":case"dataurl":return a.document.location.href=this.output("datauristring",e);default:return null}})),Ge=function(t){return!0===Array.isArray(Ht)&&Ht.indexOf(t)>-1};switch(n){case"pt":Et=1;break;case"mm":Et=72/25.4;break;case"cm":Et=72/2.54;break;case"in":Et=72;break;case"px":Et=1==Ge("px_scaling")?.75:96/72;break;case"pc":case"em":Et=12;break;case"ex":Et=6;break;default:if("number"!=typeof n)throw new Error("Invalid unit: "+n);Et=n}var Ye=null;K(),Y();var Xe=function(t){return null!==b?Ye.encryptor(t,0):function(t){return t}},$e=y.__private__.getPageInfo=y.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Bt[t].objId,pageNumber:t,pageContext:Bt[t]}},Ke=y.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in Bt)if(Bt[e].objId===t)break;return $e(e)},Ze=y.__private__.getCurrentPageInfo=y.getCurrentPageInfo=function(){return{objId:Bt[J].objId,pageNumber:J,pageContext:Bt[J]}};y.addPage=function(){return De.apply(this,arguments),this},y.setPage=function(){return Le.apply(this,arguments),lt.call(this,at[J]),this},y.insertPage=function(t){return this.addPage(),this.movePage(J,t),this},y.movePage=function(t,e){var r,n;if(t>e){r=at[t],n=Bt[t];for(var i=t;i>e;i--)at[i]=at[i-1],Bt[i]=Bt[i-1];at[e]=r,Bt[e]=n,this.setPage(e)}else if(t<e){r=at[t],n=Bt[t];for(var o=t;o<e;o++)at[o]=at[o+1],Bt[o]=Bt[o+1];at[e]=r,Bt[e]=n,this.setPage(e)}return this},y.deletePage=function(){return Re.apply(this,arguments),this},y.__private__.text=y.text=function(t,e,r,n,o){var a,s,c,u,l,f,h,d,p,m=(n=n||{}).scope||this;if("number"==typeof t&&"number"==typeof e&&("string"==typeof r||Array.isArray(r))){var b=r;r=e,e=t,t=b}if(arguments[3]instanceof Vt==0?(c=arguments[4],u=arguments[5],"object"===i()(h=arguments[3])&&null!==h||("string"==typeof c&&(u=c,c=null),"string"==typeof h&&(u=h,h=null),"number"==typeof h&&(c=h,h=null),n={flags:h,angle:c,align:u})):(A("The transform parameter of text() with a Matrix value"),p=o),isNaN(e)||isNaN(r)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return m;var v="",y=!1,w="number"==typeof n.lineHeightFactor?n.lineHeightFactor:fr,x=m.internal.scaleFactor;function O(t){return t=t.split("\t").join(Array(n.TabLen||9).join(" ")),Te(t,h)}function _(t){for(var e,r=t.concat(),n=[],i=r.length;i--;)"string"==typeof(e=r.shift())?n.push(e):Array.isArray(t)&&(1===e.length||void 0===e[1]&&void 0===e[2])?n.push(e[0]):n.push([e[0],e[1],e[2]]);return n}function E(t,e){var r;if("string"==typeof t)r=e(t)[0];else if(Array.isArray(t)){for(var n,i,o=t.concat(),a=[],s=o.length;s--;)"string"==typeof(n=o.shift())?a.push(e(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(i=e(n[0],n[1],n[2]),a.push([i[0],i[1],i[2]]));r=a}return r}var M=!1,C=!0;if("string"==typeof t)M=!0;else if(Array.isArray(t)){var T=t.concat();s=[];for(var P,D=T.length;D--;)("string"!=typeof(P=T.shift())||Array.isArray(P)&&"string"!=typeof P[0])&&(C=!1);M=C}if(!1===M)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var R=mt/m.internal.scaleFactor,L=R*(w-1);switch(n.baseline){case"bottom":r-=L;break;case"top":r+=R-L;break;case"hanging":r+=R-2*L;break;case"middle":r+=R/2-L}if((f=n.maxWidth||0)>0&&("string"==typeof t?t=m.splitTextToSize(t,f):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(m.splitTextToSize(e,f))}),[]))),a={text:t,x:e,y:r,options:n,mutex:{pdfEscape:Te,activeFontKey:kt,fonts:At,activeFontSize:mt}},zt.publish("preProcessText",a),t=a.text,c=(n=a.options).angle,p instanceof Vt==0&&c&&"number"==typeof c){c*=Math.PI/180,0===n.rotationDirection&&(c=-c),k===S.ADVANCED&&(c=-c);var I=Math.cos(c),N=Math.sin(c);p=new Vt(I,N,-N,I,0,0)}else c&&c instanceof Vt&&(p=c);k!==S.ADVANCED||p||(p=Yt),void 0!==(l=n.charSpace||Er)&&(v+=j(H(l))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(d=n.horizontalScale)&&(v+=j(100*d)+" Tz\n"),n.lang;var F=-1,B=void 0!==n.renderingMode?n.renderingMode:n.stroke,z=m.internal.getCurrentPageInfo().pageContext;switch(B){case 0:case!1:case"fill":F=0;break;case 1:case!0:case"stroke":F=1;break;case 2:case"fillThenStroke":F=2;break;case 3:case"invisible":F=3;break;case 4:case"fillAndAddForClipping":F=4;break;case 5:case"strokeAndAddPathForClipping":F=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":F=6;break;case 7:case"addToPathForClipping":F=7}var U=void 0!==z.usedRenderingMode?z.usedRenderingMode:-1;-1!==F?v+=F+" Tr\n":-1!==U&&(v+="0 Tr\n"),-1!==F&&(z.usedRenderingMode=F),u=n.align||"left";var W,q=mt*w,V=m.internal.pageSize.getWidth(),G=At[kt];l=n.charSpace||Er,f=n.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},n.flags);var Y=[];if("[object Array]"===Object.prototype.toString.call(t)){var X;s=_(t),"left"!==u&&(W=s.map((function(t){return m.getStringUnitWidth(t,{font:G,charSpace:l,fontSize:mt,doKerning:!1})*mt/x})));var $,K=0;if("right"===u){e-=W[0],t=[],D=s.length;for(var Z=0;Z<D;Z++)0===Z?($=gr(e),X=yr(r)):($=H(K-W[Z]),X=-q),t.push([s[Z],$,X]),K=W[Z]}else if("center"===u){e-=W[0]/2,t=[],D=s.length;for(var J=0;J<D;J++)0===J?($=gr(e),X=yr(r)):($=H((K-W[J])/2),X=-q),t.push([s[J],$,X]),K=W[J]}else if("left"===u){t=[],D=s.length;for(var Q=0;Q<D;Q++)t.push(s[Q])}else{if("justify"!==u)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');t=[],D=s.length,f=0!==f?f:V;for(var tt=0;tt<D;tt++)X=0===tt?yr(r):-q,$=0===tt?gr(e):0,tt<D-1?Y.push(j(H((f-W[tt])/(s[tt].split(" ").length-1)))):Y.push(0),t.push([s[tt],$,X])}}var et="boolean"==typeof n.R2L?n.R2L:gt;!0===et&&(t=E(t,(function(t,e,r){return[t.split("").reverse().join(""),e,r]}))),a={text:t,x:e,y:r,options:n,mutex:{pdfEscape:Te,activeFontKey:kt,fonts:At,activeFontSize:mt}},zt.publish("postProcessText",a),t=a.text,y=a.mutex.isHex||!1;var rt=At[kt].encoding;"WinAnsiEncoding"!==rt&&"StandardEncoding"!==rt||(t=E(t,(function(t,e,r){return[O(t),e,r]}))),s=_(t),t=[];for(var nt,it,ot,at=0,st=1,ct=Array.isArray(s[0])?st:at,ut="",lt=function(t,e,r){var i="";return r instanceof Vt?(r="number"==typeof n.angle?Gt(r,new Vt(1,0,0,1,t,e)):Gt(new Vt(1,0,0,1,t,e),r),k===S.ADVANCED&&(r=Gt(new Vt(1,0,0,-1,0,0),r)),i=r.join(" ")+" Tm\n"):i=j(t)+" "+j(e)+" Td\n",i},ht=0;ht<s.length;ht++){switch(ut="",ct){case st:ot=(y?"<":"(")+s[ht][0]+(y?">":")"),nt=parseFloat(s[ht][1]),it=parseFloat(s[ht][2]);break;case at:ot=(y?"<":"(")+s[ht]+(y?">":")"),nt=gr(e),it=yr(r)}void 0!==Y&&void 0!==Y[ht]&&(ut=Y[ht]+" Tw\n"),0===ht?t.push(ut+lt(nt,it,p)+ot):ct===at?t.push(ut+ot):ct===st&&t.push(ut+lt(nt,it,p)+ot)}t=ct===at?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var dt="BT\n/";return dt+=kt+" "+mt+" Tf\n",dt+=j(mt*w)+" TL\n",dt+=Sr+"\n",dt+=v,dt+=t,ft(dt+="ET"),g[kt]=!0,m};var Je=y.__private__.clip=y.clip=function(t){return ft("evenodd"===t?"W*":"W"),this};y.clipEvenOdd=function(){return Je("evenodd")},y.__private__.discardPath=y.discardPath=function(){return ft("n"),this};var Qe=y.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};y.__private__.setDefaultPathOperation=y.setDefaultPathOperation=function(t){return Qe(t)&&(h=t),this};var tr=y.__private__.getStyle=y.getStyle=function(t){var e=h;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},er=y.close=function(){return ft("h"),this};y.stroke=function(){return ft("S"),this},y.fill=function(t){return rr("f",t),this},y.fillEvenOdd=function(t){return rr("f*",t),this},y.fillStroke=function(t){return rr("B",t),this},y.fillStrokeEvenOdd=function(t){return rr("B*",t),this};var rr=function(t,e){"object"===i()(e)?or(e,t):ft(t)},nr=function(t){null===t||k===S.ADVANCED&&void 0===t||(t=tr(t),ft(t))};function ir(t,e,r,n,i){var o=new F(e||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var a=t+"$$"+this.cloneIndex+++"$$";return Xt(a,o),o}var or=function(t,e){var r=Rt[t.key],n=Dt[r];if(n instanceof N)ft("q"),ft(ar(e)),n.gState&&y.setGState(n.gState),ft(t.matrix.toString()+" cm"),ft("/"+r+" sh"),ft("Q");else if(n instanceof F){var i=new Vt(1,0,0,-1,0,Br());t.matrix&&(i=i.multiply(t.matrix||Yt),r=ir.call(n,t.key,t.boundingBox,t.xStep,t.yStep,i).id),ft("q"),ft("/Pattern cs"),ft("/"+r+" scn"),n.gState&&y.setGState(n.gState),ft(e),ft("Q")}},ar=function(t){switch(t){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},sr=y.moveTo=function(t,e){return ft(j(H(t))+" "+j(W(e))+" m"),this},cr=y.lineTo=function(t,e){return ft(j(H(t))+" "+j(W(e))+" l"),this},ur=y.curveTo=function(t,e,r,n,i,o){return ft([j(H(t)),j(W(e)),j(H(r)),j(W(n)),j(H(i)),j(W(o)),"c"].join(" ")),this};y.__private__.line=y.line=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Qe(i))throw new Error("Invalid arguments passed to jsPDF.line");return k===S.COMPAT?this.lines([[r-t,n-e]],t,e,[1,1],i||"S"):this.lines([[r-t,n-e]],t,e,[1,1]).stroke()},y.__private__.lines=y.lines=function(t,e,r,n,i,o){var a,s,c,u,l,f,h,d,p,m,b,v;if("number"==typeof t&&(v=r,r=e,e=t,t=v),n=n||[1,1],o=o||!1,isNaN(e)||isNaN(r)||!Array.isArray(t)||!Array.isArray(n)||!Qe(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(sr(e,r),a=n[0],s=n[1],u=t.length,m=e,b=r,c=0;c<u;c++)2===(l=t[c]).length?(m=l[0]*a+m,b=l[1]*s+b,cr(m,b)):(f=l[0]*a+m,h=l[1]*s+b,d=l[2]*a+m,p=l[3]*s+b,m=l[4]*a+m,b=l[5]*s+b,ur(f,h,d,p,m,b));return o&&er(),nr(i),this},y.path=function(t){for(var e=0;e<t.length;e++){var r=t[e],n=r.c;switch(r.op){case"m":sr(n[0],n[1]);break;case"l":cr(n[0],n[1]);break;case"c":ur.apply(this,n);break;case"h":er()}}return this},y.__private__.rect=y.rect=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Qe(i))throw new Error("Invalid arguments passed to jsPDF.rect");return k===S.COMPAT&&(n=-n),ft([j(H(t)),j(W(e)),j(H(r)),j(H(n)),"re"].join(" ")),nr(i),this},y.__private__.triangle=y.triangle=function(t,e,r,n,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||!Qe(a))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-t,n-e],[i-r,o-n],[t-i,e-o]],t,e,[1,1],a,!0),this},y.__private__.roundedRect=y.roundedRect=function(t,e,r,n,i,o,a){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o)||!Qe(a))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*r),o=Math.min(o,.5*n),this.lines([[r-2*i,0],[i*s,0,i,o-o*s,i,o],[0,n-2*o],[0,o*s,-i*s,o,-i,o],[2*i-r,0],[-i*s,0,-i,-o*s,-i,-o],[0,2*o-n],[0,-o*s,i*s,-o,i,-o]],t+i,e,[1,1],a,!0),this},y.__private__.ellipse=y.ellipse=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Qe(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*r,a=4/3*(Math.SQRT2-1)*n;return sr(t+r,e),ur(t+r,e-a,t+o,e-n,t,e-n),ur(t-o,e-n,t-r,e-a,t-r,e),ur(t-r,e+a,t-o,e+n,t,e+n),ur(t+o,e+n,t+r,e+a,t+r,e),nr(i),this},y.__private__.circle=y.circle=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||!Qe(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,e,r,r,n)},y.setFont=function(t,e,r){return r&&(e=C(e,r)),kt=Ne(t,e,{disableWarning:!1}),this};var lr=y.__private__.getFont=y.getFont=function(){return At[Ne.apply(y,arguments)]};y.__private__.getFontList=y.getFontList=function(){var t,e,r={};for(t in Tt)if(Tt.hasOwnProperty(t))for(e in r[t]=[],Tt[t])Tt[t].hasOwnProperty(e)&&r[t].push(e);return r},y.addFont=function(t,e,r,n,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(r=C(r,n)),i=i||"Identity-H",Me.call(this,t,e,r,i)};var fr,hr=t.lineWidth||.200025,dr=y.__private__.getLineWidth=y.getLineWidth=function(){return hr},pr=y.__private__.setLineWidth=y.setLineWidth=function(t){return hr=t,ft(j(H(t))+" w"),this};y.__private__.setLineDash=B.API.setLineDash=B.API.setLineDashPattern=function(t,e){if(t=t||[],e=e||0,isNaN(e)||!Array.isArray(t))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return t=t.map((function(t){return j(H(t))})).join(" "),e=j(H(e)),ft("["+t+"] "+e+" d"),this};var mr=y.__private__.getLineHeight=y.getLineHeight=function(){return mt*fr};y.__private__.getLineHeight=y.getLineHeight=function(){return mt*fr};var br=y.__private__.setLineHeightFactor=y.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&(fr=t),this},vr=y.__private__.getLineHeightFactor=y.getLineHeightFactor=function(){return fr};br(t.lineHeight);var gr=y.__private__.getHorizontalCoordinate=function(t){return H(t)},yr=y.__private__.getVerticalCoordinate=function(t){return k===S.ADVANCED?t:Bt[J].mediaBox.topRightY-Bt[J].mediaBox.bottomLeftY-H(t)},wr=y.__private__.getHorizontalCoordinateString=y.getHorizontalCoordinateString=function(t){return j(gr(t))},xr=y.__private__.getVerticalCoordinateString=y.getVerticalCoordinateString=function(t){return j(yr(t))},Or=t.strokeColor||"0 G";y.__private__.getStrokeColor=y.getDrawColor=function(){return ee(Or)},y.__private__.setStrokeColor=y.setDrawColor=function(t,e,r,n){return Or=re({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),ft(Or),this};var _r=t.fillColor||"0 g";y.__private__.getFillColor=y.getFillColor=function(){return ee(_r)},y.__private__.setFillColor=y.setFillColor=function(t,e,r,n){return _r=re({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),ft(_r),this};var Sr=t.textColor||"0 g",kr=y.__private__.getTextColor=y.getTextColor=function(){return ee(Sr)};y.__private__.setTextColor=y.setTextColor=function(t,e,r,n){return Sr=re({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var Er=t.charSpace,Mr=y.__private__.getCharSpace=y.getCharSpace=function(){return parseFloat(Er||0)};y.__private__.setCharSpace=y.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Er=t,this};var Cr=0;y.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},y.__private__.setLineCap=y.setLineCap=function(t){var e=y.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Cr=e,ft(e+" J"),this};var jr=0;y.__private__.setLineJoin=y.setLineJoin=function(t){var e=y.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return jr=e,ft(e+" j"),this},y.__private__.setLineMiterLimit=y.__private__.setMiterLimit=y.setLineMiterLimit=y.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ft(j(H(t))+" M"),this},y.GState=L,y.setGState=function(t){(t="string"==typeof t?Lt[It[t]]:Ar(null,t)).equals(Nt)||(ft("/"+t.id+" gs"),Nt=t)};var Ar=function(t,e){if(!t||!It[t]){var r=!1;for(var n in Lt)if(Lt.hasOwnProperty(n)&&Lt[n].equals(e)){r=!0;break}if(r)e=Lt[n];else{var i="GS"+(Object.keys(Lt).length+1).toString(10);Lt[i]=e,e.id=i}return t&&(It[t]=e.id),zt.publish("addGState",e),e}};y.addGState=function(t,e){return Ar(t,e),this},y.saveGraphicsState=function(){return ft("q"),Pt.push({key:kt,size:mt,color:Sr}),this},y.restoreGraphicsState=function(){ft("Q");var t=Pt.pop();return kt=t.key,mt=t.size,Sr=t.color,Nt=null,this},y.setCurrentTransformationMatrix=function(t){return ft(t.toString()+" cm"),this},y.comment=function(t){return ft("#"+t),this};var Tr=function(t,e){var r=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var n=e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(t){isNaN(t)||(n=parseFloat(t))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(t){i=t.toString()}}),this},Pr=function(t,e,r,n){Tr.call(this,t,e),this.type="rect";var i=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}});var o=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(t){isNaN(t)||(o=parseFloat(t))}}),this},Dr=function(){this.page=Ft,this.currentPage=J,this.pages=at.slice(0),this.pagesContext=Bt.slice(0),this.x=Mt,this.y=Ct,this.matrix=jt,this.width=Nr(J),this.height=Br(J),this.outputDestination=ct,this.id="",this.objectNumber=-1};Dr.prototype.restore=function(){Ft=this.page,J=this.currentPage,Bt=this.pagesContext,at=this.pages,Mt=this.x,Ct=this.y,jt=this.matrix,Fr(J,this.width),zr(J,this.height),ct=this.outputDestination};var Rr=function(t,e,r,n,i){qt.push(new Dr),Ft=J=0,at=[],Mt=t,Ct=e,jt=i,Pe([r,n])},Lr=function(t){if(Wt[t])qt.pop().restore();else{var e=new Dr,r="Xo"+(Object.keys(Ut).length+1).toString(10);e.id=r,Wt[t]=r,Ut[r]=e,zt.publish("addFormObject",e),qt.pop().restore()}};for(var Ir in y.beginFormObject=function(t,e,r,n,i){return Rr(t,e,r,n,i),this},y.endFormObject=function(t){return Lr(t),this},y.doFormObject=function(t,e){var r=Ut[Wt[t]];return ft("q"),ft(e.toString()+" cm"),ft("/"+r.id+" Do"),ft("Q"),this},y.getFormObject=function(t){var e=Ut[Wt[t]];return{x:e.x,y:e.y,width:e.width,height:e.height,matrix:e.matrix}},y.save=function(t,e){return t=t||"generated.pdf",(e=e||{}).returnPromise=e.returnPromise||!1,!1===e.returnPromise?(p(qe(We()),t),"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),this):new Promise((function(e,r){try{var n=p(qe(We()),t);"function"==typeof p.unload&&a.setTimeout&&setTimeout(p.unload,911),e(n)}catch(t){r(t.message)}}))},B.API)B.API.hasOwnProperty(Ir)&&("events"===Ir&&B.API.events.length?function(t,e){var r,n,i;for(i=e.length-1;-1!==i;i--)r=e[i][0],n=e[i][1],t.subscribe.apply(t,[r].concat("function"==typeof n?[n]:n))}(zt,B.API.events):y[Ir]=B.API[Ir]);var Nr=y.getPageWidth=function(t){return(Bt[t=t||J].mediaBox.topRightX-Bt[t].mediaBox.bottomLeftX)/Et},Fr=y.setPageWidth=function(t,e){Bt[t].mediaBox.topRightX=e*Et+Bt[t].mediaBox.bottomLeftX},Br=y.getPageHeight=function(t){return(Bt[t=t||J].mediaBox.topRightY-Bt[t].mediaBox.bottomLeftY)/Et},zr=y.setPageHeight=function(t,e){Bt[t].mediaBox.topRightY=e*Et+Bt[t].mediaBox.bottomLeftY};return y.internal={pdfEscape:Te,getStyle:tr,getFont:lr,getFontSize:vt,getCharSpace:Mr,getTextColor:kr,getLineHeight:mr,getLineHeightFactor:vr,getLineWidth:dr,write:ht,getHorizontalCoordinate:gr,getVerticalCoordinate:yr,getCoordinateString:wr,getVerticalCoordinateString:xr,collections:{},newObject:$t,newAdditionalObject:Jt,newObjectDeferred:Kt,newObjectDeferredBegin:Zt,getFilters:ne,putStream:ie,events:zt,scaleFactor:Et,pageSize:{getWidth:function(){return Nr(J)},setWidth:function(t){Fr(J,t)},getHeight:function(){return Br(J)},setHeight:function(t){zr(J,t)}},encryptionOptions:b,encryption:Ye,getEncryptor:Xe,output:Ve,getNumberOfPages:Ie,pages:at,out:ft,f2:I,f3:z,getPageInfo:$e,getPageInfoByObjId:Ke,getCurrentPageInfo:Ze,getPDFVersion:x,Point:Tr,Rectangle:Pr,Matrix:Vt,hasHotfix:Ge},Object.defineProperty(y.internal.pageSize,"width",{get:function(){return Nr(J)},set:function(t){Fr(J,t)},enumerable:!0,configurable:!0}),Object.defineProperty(y.internal.pageSize,"height",{get:function(){return Br(J)},set:function(t){zr(J,t)},enumerable:!0,configurable:!0}),Ce.call(y,pt),kt="F1",De(o,r),zt.publish("initialized"),y}P.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},P.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},P.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},P.prototype.processOwnerPassword=function(t,e){return A(M(e).substr(0,5),t)},P.prototype.encryptor=function(t,e){var r=M(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return A(r,t)}},L.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||i()(t)!==i()(this))return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return 0===n},B.API={events:[]},B.version="2.5.1";var z=B.API,H=1,U=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},W=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},q=function(t){return t.toFixed(2)},V=function(t){return t.toFixed(5)};z.__acroform__={};var G=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},Y=function(t){return t*H},X=function(t){var e=new ft,r=kt.internal.getHeight(t)||0,n=kt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(q(n)),Number(q(r))],e},$=z.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<e},K=z.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<e)},Z=z.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(t&1<<e)?0:1},J=z.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Z(t,e-1)},Q=z.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return $(t,e-1)},tt=z.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return K(t,e-1)},et=z.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,i=t[0],o=t[1],a=t[2],s=t[3],c={};return c.lowerLeft_X=r(i)||0,c.lowerLeft_Y=n(o+s)||0,c.upperRight_X=r(i+a)||0,c.upperRight_Y=n(o)||0,[Number(q(c.lowerLeft_X)),Number(q(c.lowerLeft_Y)),Number(q(c.upperRight_X)),Number(q(c.upperRight_Y))]},rt=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,n=nt(t,r),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+q(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push("Q"),e.push("EMC");var o=X(t);return o.scope=t.scope,o.stream=e.join("\n"),o}},nt=function(t,e){var r=0===t.fontSize?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},i=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" ");i=t.multiline?i.map((function(t){return t.split("\n")})):i.map((function(t){return[t]}));var o=r,a=kt.internal.getHeight(t)||0;a=a<0?-a:a;var s=kt.internal.getWidth(t)||0;s=s<0?-s:s;var c=function(e,r,n){if(e+1<i.length){var o=r+" "+i[e+1][0];return it(o,t,n).width<=s-4}return!1};o++;t:for(;o>0;){e="",o--;var u,l,f=it("3",t,o).height,h=t.multiline?a-o:(a-f)/2,d=h+=2,p=0,m=0,b=0;if(o<=0){e="(...) Tj\n",e+="% Width of Text: "+it(e,t,o=12).width+", FieldWidth:"+s+"\n";break}for(var v="",g=0,y=0;y<i.length;y++)if(i.hasOwnProperty(y)){var w=!1;if(1!==i[y].length&&b!==i[y].length-1){if((f+2)*(g+2)+2>a)continue t;v+=i[y][b],w=!0,m=y,y--}else{v=" "==(v+=i[y][b]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var x=parseInt(y),O=c(x,v,o),_=y>=i.length-1;if(O&&!_){v+=" ",b=0;continue}if(O||_){if(_)m=x;else if(t.multiline&&(f+2)*(g+2)+2>a)continue t}else{if(!t.multiline)continue t;if((f+2)*(g+2)+2>a)continue t;m=x}}for(var S="",k=p;k<=m;k++){var E=i[k];if(t.multiline){if(k===m){S+=E[b]+" ",b=(b+1)%E.length;continue}if(k===p){S+=E[E.length-1]+" ";continue}}S+=E[0]+" "}switch(S=" "==S.substr(S.length-1)?S.substr(0,S.length-1):S,l=it(S,t,o).width,t.textAlign){case"right":u=s-l-2;break;case"center":u=(s-l)/2;break;case"left":default:u=2}e+=q(u)+" "+q(d)+" Td\n",e+="("+U(S)+") Tj\n",e+=-q(u)+" 0 Td\n",d=-(o+2),l=0,p=w?m:m+1,g++,v=""}break}return n.text=e,n.fontSize=o,n},it=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},ot={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},at=function(t,e){var r={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===r.type&&t.object===r.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},st=function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(dt.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(ot)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");H=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new ht,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",(function(){var e;(e=t).internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})),t.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];n.objId=void 0,n.hasAnnotation&&at(n,t)}}(t)})),t.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)})),t.internal.events.subscribe("postPutPages",(function(e){!function(t,e){var r=!t;for(var n in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(n)){var o=t[n],a=[],s=o.Rect;if(o.Rect&&(o.Rect=et(o.Rect,e)),e.internal.newObjectDeferredBegin(o.objId,!0),o.DA=kt.createDefaultAppearanceStream(o),"object"===i()(o)&&"function"==typeof o.getKeyValueListForStream&&(a=o.getKeyValueListForStream()),o.Rect=s,o.hasAppearanceStream&&!o.appearanceStreamContent){var c=rt(o);a.push({key:"AP",value:"<</N "+c+">>"}),e.internal.acroformPlugin.xForms.push(c)}if(o.appearanceStreamContent){var u="";for(var l in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(l)){var f=o.appearanceStreamContent[l];if(u+="/"+l+" ",u+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var n in f)if(f.hasOwnProperty(n)){var h=f[n];"function"==typeof h&&(h=h.call(e,o)),u+="/"+n+" "+h+" ",e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=f)&&(h=h.call(e,o)),u+="/"+n+" "+h,e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h);u+=">>"}a.push({key:"AP",value:"<<\n"+u+">>"})}e.internal.putStream({additionalKeyValues:a,objectId:o.objId}),e.internal.out("endobj")}r&&function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,o=t[r];e.internal.newObjectDeferredBegin(o.objId,!0),"object"===i()(o)&&"function"==typeof o.putStream&&o.putStream(),delete t[n]}}(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}},ct=z.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(t){return t};if(Array.isArray(t)){for(var o="[",a=0;a<t.length;a++)switch(0!==a&&(o+=" "),i()(t[a])){case"boolean":case"number":case"object":o+=t[a].toString();break;case"string":"/"!==t[a].substr(0,1)?(void 0!==e&&r&&(n=r.internal.getEncryptor(e)),o+="("+U(n(t[a].toString()))+")"):o+=t[a].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ut=function(t,e,r){var n=function(t){return t};return void 0!==e&&r&&(n=r.internal.getEncryptor(e)),(t=t||"").toString(),"("+U(n(t))+")"},lt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};lt.prototype.toString=function(){return this.objId+" 0 R"},lt.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},lt.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter((function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"scope"!=t&&"objId"!=t&&"_"!=t.substring(0,1)}));for(var r in e)if(!1===Object.getOwnPropertyDescriptor(this,e[r]).configurable){var n=e[r],i=this[n];i&&(Array.isArray(i)?t.push({key:n,value:ct(i,this.objId,this.scope)}):i instanceof lt?(i.scope=this.scope,t.push({key:n,value:i.objId+" 0 R"})):"function"!=typeof i&&t.push({key:n,value:i}))}return t};var ft=function(){lt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};G(ft,lt);var ht=function(){lt.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+U(e(t))+")"}},set:function(e){t=e}})};G(ht,lt);var dt=function t(){lt.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(e,3))},set:function(t){!0===Boolean(t)?this.F=Q(e,3):this.F=tt(e,3)}});var r=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');r=t}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==n.length)return n},set:function(t){n=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(t){n[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(t){n[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(t){n[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(t){n[3]=t}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof xt)return;o="FieldObject"+t.FieldNum++}var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+U(e(o))+")"},set:function(t){o=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(t){o=t}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(t){s=t}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(t){c=t}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/H:u},set:function(t){u=t}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(t){l=t}});var f="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!f||this instanceof xt||this instanceof _t))return ut(f,this.objId,this.scope)},set:function(t){t=t.toString(),f=t}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof gt==0?ut(h,this.objId,this.scope):h},set:function(t){t=t.toString(),h=this instanceof gt==0?"("===t.substr(0,1)?W(t.substr(1,t.length-2)):W(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof gt==1?W(h.substr(1,h.length-1)):h},set:function(t){t=t.toString(),h=this instanceof gt==1?"/"+t:t}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof gt==0?ut(d,this.objId,this.scope):d},set:function(t){t=t.toString(),d=this instanceof gt==0?"("===t.substr(0,1)?W(t.substr(1,t.length-2)):W(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof gt==1?W(d.substr(1,d.length-1)):d},set:function(t){t=t.toString(),d=this instanceof gt==1?"/"+t:t}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var p,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(t){t=Boolean(t),m=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(t){p=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,1):this.Ff=tt(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,2):this.Ff=tt(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,3):this.Ff=tt(this.Ff,3)}});var b=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==b)return b},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');b=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(b){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:b=2;break;case"center":case 1:b=1;break;case"left":case 0:default:b=0}}})};G(dt,lt);var pt=function(){dt.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ct(e,this.objId,this.scope)},set:function(t){var r,n;n=[],"string"==typeof(r=t)&&(n=function(t,e,r){r||(r=1);for(var n,i=[];n=e.exec(t);)i.push(n[r]);return i}(r,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,18):this.Ff=tt(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=Q(this.Ff,19):this.Ff=tt(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=Q(this.Ff,20),e.sort()):this.Ff=tt(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,22):this.Ff=tt(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,23):this.Ff=tt(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,27):this.Ff=tt(this.Ff,27)}}),this.hasAppearanceStream=!1};G(pt,dt);var mt=function(){pt.call(this),this.fontName="helvetica",this.combo=!1};G(mt,pt);var bt=function(){mt.call(this),this.combo=!0};G(bt,mt);var vt=function(){bt.call(this),this.edit=!0};G(vt,bt);var gt=function(){dt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,15):this.Ff=tt(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,16):this.Ff=tt(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,17):this.Ff=tt(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,26):this.Ff=tt(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var r,n=[];for(r in n.push("<<"),e)n.push("/"+r+" ("+U(t(e[r]))+")");return n.push(">>"),n.join("\n")}},set:function(t){"object"===i()(t)&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};G(gt,dt);var yt=function(){gt.call(this),this.pushButton=!0};G(yt,gt);var wt=function(){gt.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};G(wt,gt);var xt=function(){var t,e;dt.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,r=[];for(e in r.push("<<"),n)r.push("/"+e+" ("+U(t(n[e]))+")");return r.push(">>"),r.join("\n")},set:function(t){"object"===i()(t)&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){"string"==typeof t&&(n.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(t){r="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=kt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};G(xt,dt),wt.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},wt.prototype.createOption=function(t){var e=new xt;return e.Parent=this,e.optionName=t,this.Kids.push(e),Et.call(this.scope,e),e};var Ot=function(){gt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=kt.CheckBox.createAppearanceStream()};G(Ot,gt);var _t=function(){dt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,13):this.Ff=tt(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,21):this.Ff=tt(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,23):this.Ff=tt(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,24):this.Ff=tt(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,25):this.Ff=tt(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,26):this.Ff=tt(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};G(_t,dt);var St=function(){_t.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(J(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=Q(this.Ff,14):this.Ff=tt(this.Ff,14)}}),this.password=!0};G(St,_t);var kt={CheckBox:{createAppearanceStream:function(){return{N:{On:kt.CheckBox.YesNormal},D:{On:kt.CheckBox.YesPushDown,Off:kt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),o=nt(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+q(o.fontSize)+" Tf "+i),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=X(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],o=kt.internal.getHeight(t),a=kt.internal.getWidth(t),s=nt(t,t.caption);return i.push("1 g"),i.push("0 0 "+q(a)+" "+q(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+q(a-1)+" "+q(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+q(s.fontSize)+" Tf "+n),i.push(s.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:kt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=kt.RadioButton.Circle.YesNormal,e.D[t]=kt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.getWidth(t)<=kt.internal.getHeight(t)?kt.internal.getWidth(t)/4:kt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=kt.internal.Bezier_C,o=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.getWidth(t)<=kt.internal.getHeight(t)?kt.internal.getWidth(t)/4:kt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*kt.internal.Bezier_C).toFixed(5)),a=Number((n*kt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.getWidth(t)<=kt.internal.getHeight(t)?kt.internal.getWidth(t)/4:kt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),o=Number((i*kt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+V(kt.internal.getWidth(t)/2)+" "+V(kt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),r.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),r.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),r.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:kt.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=kt.RadioButton.Cross.YesNormal,e.D[t]=kt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=X(t);e.scope=t.scope;var r=[],n=kt.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+q(kt.internal.getWidth(t)-2)+" "+q(kt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(q(n.x1.x)+" "+q(n.x1.y)+" m"),r.push(q(n.x2.x)+" "+q(n.x2.y)+" l"),r.push(q(n.x4.x)+" "+q(n.x4.y)+" m"),r.push(q(n.x3.x)+" "+q(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var r=kt.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+q(kt.internal.getWidth(t)-2)+" "+q(kt.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(q(r.x1.x)+" "+q(r.x1.y)+" m"),n.push(q(r.x2.x)+" "+q(r.x2.y)+" l"),n.push(q(r.x4.x)+" "+q(r.x4.y)+" m"),n.push(q(r.x3.x)+" "+q(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+q(kt.internal.getWidth(t))+" "+q(kt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};kt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=kt.internal.getWidth(t),r=kt.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},kt.internal.getWidth=function(t){var e=0;return"object"===i()(t)&&(e=Y(t.Rect[2])),e},kt.internal.getHeight=function(t){var e=0;return"object"===i()(t)&&(e=Y(t.Rect[3])),e};var Et=z.addField=function(t){if(st(this,t),!(t instanceof dt))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};z.AcroFormChoiceField=pt,z.AcroFormListBox=mt,z.AcroFormComboBox=bt,z.AcroFormEditBox=vt,z.AcroFormButton=gt,z.AcroFormPushButton=yt,z.AcroFormRadioButton=wt,z.AcroFormCheckBox=Ot,z.AcroFormTextField=_t,z.AcroFormPasswordField=St,z.AcroFormAppearance=kt,z.AcroForm={ChoiceField:pt,ListBox:mt,ComboBox:bt,EditBox:vt,Button:gt,PushButton:yt,RadioButton:wt,CheckBox:Ot,TextField:_t,PasswordField:St,Appearance:kt},B.AcroForm={ChoiceField:pt,ListBox:mt,ComboBox:bt,EditBox:vt,Button:gt,PushButton:yt,RadioButton:wt,CheckBox:Ot,TextField:_t,PasswordField:St,Appearance:kt};var Mt=B.AcroForm;function Ct(t){return t.reduce((function(t,e,r){return t[e]=r,t}),{})}!function(t){t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(t,n){var i,o,a,s,c,u=e;if("RGBA"===(n=n||e)||void 0!==t.data&&t.data instanceof Uint8ClampedArray&&"height"in t&&"width"in t)return"RGBA";if(S(t))for(c in r)for(a=r[c],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t[o]){s=!1;break}if(!0===s){u=c;break}}else for(c in r)for(a=r[c],i=0;i<a.length;i+=1){for(s=!0,o=0;o<a[i].length;o+=1)if(void 0!==a[i][o]&&a[i][o]!==t.charCodeAt(o)){s=!1;break}if(!0===s){u=c;break}}return u===e&&n!==e&&(u=n),u},o=function t(e){for(var r=this.internal.write,n=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:e.width}),o.push({key:"Height",value:e.height}),e.colorSpace===g.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===g.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var a="",s=0,c=e.transparency.length;s<c;s++)a+=e.transparency[s]+" "+e.transparency[s]+" ";o.push({key:"Mask",value:"["+a+"]"})}void 0!==e.sMask&&o.push({key:"SMask",value:e.objectId+1+" 0 R"});var u=void 0!==e.filter?["/"+e.filter]:void 0;if(n({data:e.data,additionalKeyValues:o,alreadyAppliedFilters:u,objectId:e.objectId}),r("endobj"),"sMask"in e&&void 0!==e.sMask){var l="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,f={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:l,data:e.sMask};"filter"in e&&(f.filter=e.filter),t.call(this,f)}if(e.colorSpace===g.INDEXED){var h=this.internal.newObject();n({data:E(new Uint8Array(e.palette)),objectId:h}),r("endobj")}},a=function(){var t=this.internal.collections.addImage_images;for(var e in t)o.call(this,t[e])},s=function(){var t,e=this.internal.collections.addImage_images,r=this.internal.write;for(var n in e)r("/I"+(t=e[n]).index,t.objectId,"0","R")},c=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var t=this.internal.collections.addImage_images;return c.call(this),t},l=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(e){return"function"==typeof t["process"+e.toUpperCase()]},d=function(t){return"object"===i()(t)&&1===t.nodeType},p=function(e,r){if("IMG"===e.nodeName&&e.hasAttribute("src")){var n=""+e.getAttribute("src");if(0===n.indexOf("data:image/"))return h(unescape(n).split("base64,").pop());var i=t.loadFile(n,!0);if(void 0!==i)return i}if("CANVAS"===e.nodeName){if(0===e.width||0===e.height)throw new Error("Given canvas must have data. Canvas width: "+e.width+", height: "+e.height);var o;switch(r){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;case"JPEG":case"JPG":default:o="image/jpeg"}return h(e.toDataURL(o,1).split("base64,").pop())}},m=function(t){var e=this.internal.collections.addImage_images;if(e)for(var r in e)if(t===e[r].alias)return e[r]},b=function(t,e,r){return t||e||(t=-96,e=-96),t<0&&(t=-1*r.width*72/t/this.internal.scaleFactor),e<0&&(e=-1*r.height*72/e/this.internal.scaleFactor),0===t&&(t=e*r.width/r.height),0===e&&(e=t*r.height/r.width),[t,e]},v=function(t,e,r,n,i,o){var a=b.call(this,r,n,i),s=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=u.call(this);if(r=a[0],n=a[1],l[i.index]=i,o){o*=Math.PI/180;var f=Math.cos(o),h=Math.sin(o),d=function(t){return t.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(t),c(e+n),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(t),c(e+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},g=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=t.__addimage__.sHashCode=function(t){var e,r,n=0;if("string"==typeof t)for(r=t.length,e=0;e<r;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;else if(S(t))for(r=t.byteLength/2,e=0;e<r;e++)n=(n<<5)-n+t[e],n|=0;return n},x=t.__addimage__.validateStringAsBase64=function(t){(t=t||"").toString().trim();var e=!0;return 0===t.length&&(e=!1),t.length%4!=0&&(e=!1),!1===/^[A-Za-z0-9+/]+$/.test(t.substr(0,t.length-2))&&(e=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(t.substr(-2))&&(e=!1),e},O=t.__addimage__.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),r=null;if(2===e.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(e[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:e[1]})}return r},_=t.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};t.__addimage__.isArrayBuffer=function(t){return _()&&t instanceof ArrayBuffer};var S=t.__addimage__.isArrayBufferView=function(t){return _()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},k=t.__addimage__.binaryStringToUint8Array=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r},E=t.__addimage__.arrayBufferToBinaryString=function(t){for(var e="",r=S(t)?t:new Uint8Array(t),n=0;n<r.length;n+=8192)e+=String.fromCharCode.apply(null,r.subarray(n,n+8192));return e};t.addImage=function(){var t,r,n,o,a,s,u,l,f;if("number"==typeof arguments[1]?(r=e,n=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],u=arguments[5],l=arguments[6],f=arguments[7]):(r=arguments[1],n=arguments[2],o=arguments[3],a=arguments[4],s=arguments[5],u=arguments[6],l=arguments[7],f=arguments[8]),"object"===i()(t=arguments[0])&&!d(t)&&"imageData"in t){var h=t;t=h.imageData,r=h.format||r||e,n=h.x||n||0,o=h.y||o||0,a=h.w||h.width||a,s=h.h||h.height||s,u=h.alias||u,l=h.compression||l,f=h.rotation||h.angle||f}var p=this.internal.getFilters();if(void 0===l&&-1!==p.indexOf("FlateEncode")&&(l="SLOW"),isNaN(n)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var m=M.call(this,t,r,u,l);return v.call(this,n,o,a,s,m,f),this};var M=function(r,i,o,a){var s,c,u;if("string"==typeof r&&n(r)===e){r=unescape(r);var h=C(r,!1);(""!==h||void 0!==(h=t.loadFile(r,!0)))&&(r=h)}if(d(r)&&(r=p(r,i)),i=n(r,i),!f(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(u=o)||0===u.length)&&(o=function(t){return"string"==typeof t||S(t)?w(t):S(t.data)?w(t.data):null}(r)),(s=m.call(this,o))||(_()&&(r instanceof Uint8Array||"RGBA"===i||(c=r,r=k(r))),s=this["process"+i.toUpperCase()](r,l.call(this),o,function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:y.NONE}(a),c)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},C=t.__addimage__.convertBase64ToBinaryString=function(t,e){var r;e="boolean"!=typeof e||e;var n,i="";if("string"==typeof t){n=null!==(r=O(t))?r.data:t;try{i=h(n)}catch(t){if(e)throw x(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};t.getImageProperties=function(r){var i,o,a="";if(d(r)&&(r=p(r)),"string"==typeof r&&n(r)===e&&(""===(a=C(r,!1))&&(a=t.loadFile(r)||""),r=a),o=n(r),!f(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!_()||r instanceof Uint8Array||(r=k(r)),!(i=this["process"+o.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=o,i}}(B.API),function(t){var e=function(t){if(void 0!==t&&""!=t)return!0};B.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(t){for(var r,n,i,o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(t.objId),c=t.pageContext.annotations,u=!1,l=0;l<c.length&&!u;l++)switch((r=c[l]).type){case"link":(e(r.options.url)||e(r.options.pageNumber))&&(u=!0);break;case"reference":case"text":case"freetext":u=!0}if(0!=u){this.internal.write("/Annots [");for(var f=0;f<c.length;f++){r=c[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(t.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),b=this.internal.getEncryptor(p.objId),v=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+o(r.bounds.x)+" "+a(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y)+"] ")+"/Contents ("+h(b(r.contents))+")",i+=" /Popup "+m.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+h(b(v))+") >>",p.content=i;var g=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+o(r.bounds.x+30)+" "+a(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w+30)+" "+a(r.bounds.y)+"] ")+" /Parent "+g,r.open&&(i+=" /Open true"),i+=" >>",m.content=i,this.internal.write(p.objId,"0 R",m.objId,"0 R");break;case"freetext":n="/Rect ["+o(r.bounds.x)+" "+a(r.bounds.y)+" "+o(r.bounds.x+r.bounds.w)+" "+a(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(d(r.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(r.options.url))+") >>";else if(r.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var x=a(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+x+" "+r.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},t.link=function(t,e,r,n,i){var o=this.internal.getCurrentPageInfo(),a=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:a(t),y:s(e),w:a(t+r),h:s(e+n)},options:i,type:"link"})},t.textWithLink=function(t,e,r,n){var i,o,a=this.getTextWidth(t),s=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==n.maxWidth){o=n.maxWidth;var c=this.splitTextToSize(t,o).length;i=Math.ceil(s*c)}else o=a,i=s;return this.text(t,e,r,n),r+=.2*s,"center"===n.align&&(e-=a/2),"right"===n.align&&(e-=a),this.link(e,r-s,o,i,n),a},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(B.API),function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},a=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(t){return a(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return a(t)&&o(t)&&e[t.charCodeAt(0)].length>=3};var l=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return a(t)&&o(t)&&4==e[t.charCodeAt(0)].length},f=t.__arabicParser__.resolveLigatures=function(t){var e=0,n=r,i="",o=0;for(e=0;e<t.length;e+=1)void 0!==n[t.charCodeAt(e)]?(o++,"number"==typeof(n=n[t.charCodeAt(e)])&&(i+=String.fromCharCode(n),n=r,o=0),e===t.length-1&&(n=r,i+=t.charAt(e-(o-1)),e-=o-1,o=0)):(n=r,i+=t.charAt(e-o),e-=o,o=0);return i};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==n[t.charCodeAt(0)]};var h=t.__arabicParser__.getCorrectForm=function(t,e,r){return a(t)?!1===o(t)?-1:!u(t)||!a(e)&&!a(r)||!a(r)&&s(e)||s(t)&&!a(e)||s(t)&&c(e)||s(t)&&s(e)?0:l(t)&&a(e)&&!s(e)&&a(r)&&u(r)?3:s(t)||!a(r)?1:2:-1},d=function(t){var r=0,n=0,i=0,o="",s="",c="",u=(t=t||"").split("\\s+"),l=[];for(r=0;r<u.length;r+=1){for(l.push(""),n=0;n<u[r].length;n+=1)o=u[r][n],s=u[r][n-1],c=u[r][n+1],a(o)?(i=h(o,s,c),l[r]+=-1!==i?String.fromCharCode(e[o.charCodeAt(0)][i]):o):l[r]+=o;l[r]=f(l[r])}return l.join(" ")},p=t.__arabicParser__.processArabic=t.processArabic=function(){var t,e="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(e)){var n=0;for(r=[],n=0;n<e.length;n+=1)Array.isArray(e[n])?r.push([d(e[n][0]),e[n][1],e[n][2]]):r.push([d(e[n])]);t=r}else t=d(e);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",p])}(B.API),B.API.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}))}return this},function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(t){r=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(t){n=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var r;if("2d"!==(t=t||"2d"))return null;for(r in e)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=e[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(B.API),function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(t){o=t}});var a=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return a},set:function(t){a=t}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){n.call(this);var r=(e=e||{}).fontSize||this.getFontSize(),i=e.font||this.getFont(),o=e.scaleFactor||this.internal.scaleFactor,a=0,s=0,c=0,u=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}var l=e.maxWidth;l>0?"string"==typeof t?t=this.splitTextToSize(t,l):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(u.splitTextToSize(e,l))}),[])):t=Array.isArray(t)?t:[t];for(var f=0;f<t.length;f++)a<(c=this.getStringUnitWidth(t[f],{font:i})*r)&&(a=c);return 0!==a&&(s=t.length),{w:a/=o,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/o,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var t=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=t.cell=function(){var t;t=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||e,c=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===t.lineNumber?(t.x=(i.x||0)+(i.width||0),t.y=i.y||0):i.y+i.height+t.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=s.top,u&&c&&(this.printHeaderRow(t.lineNumber,!0),t.y+=c[0].height)):t.y=i.y+i.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===r?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-o,t.y+o,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+o,{align:"center",baseline:"top",maxWidth:t.width-o-o}):this.text(t.text,t.x+o,t.y+o,{align:"left",baseline:"top",maxWidth:t.width-o-o})),this.internal.__cell__.lastCell=t,this};t.table=function(t,r,u,l,f){if(n.call(this),!u)throw new Error("No data for PDF table.");var h,d,p,m,b=[],v=[],g=[],y={},w={},x=[],O=[],_=(f=f||{}).autoSize||!1,S=!1!==f.printHeaders,k=f.css&&void 0!==f.css["font-size"]?16*f.css["font-size"]:f.fontSize||12,E=f.margins||Object.assign({width:this.getPageWidth()},e),M="number"==typeof f.padding?f.padding:3,C=f.headerBackgroundColor||"#c8c8c8",j=f.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=S,this.internal.__cell__.margins=E,this.internal.__cell__.table_font_size=k,this.internal.__cell__.padding=M,this.internal.__cell__.headerBackgroundColor=C,this.internal.__cell__.headerTextColor=j,this.setFontSize(k),null==l)v=b=Object.keys(u[0]),g=b.map((function(){return"left"}));else if(Array.isArray(l)&&"object"===i()(l[0]))for(b=l.map((function(t){return t.name})),v=l.map((function(t){return t.prompt||t.name||""})),g=l.map((function(t){return t.align||"left"})),h=0;h<l.length;h+=1)w[l[h].name]=l[h].width*(19.049976/25.4);else Array.isArray(l)&&"string"==typeof l[0]&&(v=b=l,g=b.map((function(){return"left"})));if(_||Array.isArray(l)&&"string"==typeof l[0])for(h=0;h<b.length;h+=1){for(y[m=b[h]]=u.map((function(t){return t[m]})),this.setFont(void 0,"bold"),x.push(this.getTextDimensions(v[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=y[m],this.setFont(void 0,"normal"),p=0;p<d.length;p+=1)x.push(this.getTextDimensions(d[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[m]=Math.max.apply(null,x)+M+M,x=[]}if(S){var A={};for(h=0;h<b.length;h+=1)A[b[h]]={},A[b[h]].text=v[h],A[b[h]].align=g[h];var T=c.call(this,A,w);O=b.map((function(e){return new a(t,r,w[e],T,A[e].text,void 0,A[e].align)})),this.setTableHeaderRow(O),this.printHeaderRow(1,!1)}var P=l.reduce((function(t,e){return t[e.name]=e.align,t}),{});for(h=0;h<u.length;h+=1){"rowStart"in f&&f.rowStart instanceof Function&&f.rowStart({row:h,data:u[h]},this);var D=c.call(this,u[h],w);for(p=0;p<b.length;p+=1){var R=u[h][b[p]];"cellStart"in f&&f.cellStart instanceof Function&&f.cellStart({row:h,col:p,data:R},this),s.call(this,new a(t,r,w[b[p]],D,R,h+2,P[b[p]]))}}return this.internal.__cell__.table_x=t,this.internal.__cell__.table_y=r,this};var c=function(t,e){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(t).map((function(n){var i=t[n];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,e[n]-r-r)}),this).map((function(t){return this.getLineHeightFactor()*t.length*n/i+r+r}),this).reduce((function(t,e){return Math.max(t,e)}),0)};t.setTableHeaderRow=function(t){n.call(this),this.internal.__cell__.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1){i=this.internal.__cell__.tableHeaderRow[u].clone(),e&&(i.y=this.internal.__cell__.margins.top||0,c.push(i)),i.lineNumber=t;var l=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,i),this.setTextColor(l)}c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),r=!1}}(B.API);var jt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},At=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tt=Ct(At),Pt=[100,200,300,400,500,600,700,800,900],Dt=Ct(Pt);function Rt(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(t){return jt[t=t||"normal"]?t:"normal"}(t.style),n=function(t){if(!t)return 400;if("number"==typeof t)return t>=100&&t<=900&&t%100==0?t:400;if(/^\d00$/.test(t))return parseInt(t);switch(t){case"bold":return 700;case"normal":default:return 400}}(t.weight),i=function(t){return"number"==typeof Tt[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function Lt(t,e,r,n){var i;for(i=r;i>=0&&i<e.length;i+=n)if(t[e[i]])return t[e[i]];for(i=r;i>=0&&i<e.length;i-=n)if(t[e[i]])return t[e[i]]}var It={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Nt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Ft(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Bt(t){return t.trimLeft()}function zt(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function Ht(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===e?null:[e[0],t.substring(e[0].length)]}var Ut,Wt,qt,Vt,Gt=["times"];!function(t){var e,r,n,o,a,s,u,l,f,h=function(t){return t=t||{},this.isStrokeTransparent=t.isStrokeTransparent||!1,this.strokeOpacity=t.strokeOpacity||1,this.strokeStyle=t.strokeStyle||"#000000",this.fillStyle=t.fillStyle||"#000000",this.isFillTransparent=t.isFillTransparent||!1,this.fillOpacity=t.fillOpacity||1,this.font=t.font||"10px sans-serif",this.textBaseline=t.textBaseline||"alphabetic",this.textAlign=t.textAlign||"left",this.lineWidth=t.lineWidth||1,this.lineJoin=t.lineJoin||"miter",this.lineCap=t.lineCap||"butt",this.path=t.path||[],this.transform=void 0!==t.transform?t.transform.clone():new l,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new s,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new s,this.lineDashOffset=t.lineDashOffset||0,this.lineDash=t.lineDash||[],this.margin=t.margin||[0,0,0,0],this.prevPageLastElemOffset=t.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new d(this),e=this.internal.f2,r=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,u=this.internal.Rectangle,l=this.internal.Matrix,f=new h}]);var d=function(t){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var e=t;Object.defineProperty(this,"pdf",{get:function(){return e}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(t){r=Boolean(t)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(t){n=Boolean(t)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(t){isNaN(t)||(i=t)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(t){isNaN(t)||(o=t)}}),Object.defineProperty(this,"margin",{get:function(){return f.margin},set:function(t){var e;"number"==typeof t?e=[t,t,t,t]:((e=new Array(4))[0]=t[0],e[1]=t.length>=2?t[1]:e[0],e[2]=t.length>=3?t[2]:e[0],e[3]=t.length>=4?t[3]:e[1]),f.margin=e}});var a=!1;Object.defineProperty(this,"autoPaging",{get:function(){return a},set:function(t){a=t}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(t){s=t}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(t){c=t}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(t){t instanceof h&&(f=t)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(t){f.path=t}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(t){u=t}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(t){var e;e=p(t),this.ctx.fillStyle=e.style,this.ctx.isFillTransparent=0===e.a,this.ctx.fillOpacity=e.a,this.pdf.setFillColor(e.r,e.g,e.b,{a:e.a}),this.pdf.setTextColor(e.r,e.g,e.b,{a:e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(t){var e=p(t);this.ctx.strokeStyle=e.style,this.ctx.isStrokeTransparent=0===e.a,this.ctx.strokeOpacity=e.a,0===e.a?this.pdf.setDrawColor(255,255,255):(e.a,this.pdf.setDrawColor(e.r,e.g,e.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(t){-1!==["butt","round","square"].indexOf(t)&&(this.ctx.lineCap=t,this.pdf.setLineCap(t))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(t){isNaN(t)||(this.ctx.lineWidth=t,this.pdf.setLineWidth(t))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(t){-1!==["bevel","round","miter"].indexOf(t)&&(this.ctx.lineJoin=t,this.pdf.setLineJoin(t))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(t){isNaN(t)||(this.ctx.miterLimit=t,this.pdf.setMiterLimit(t))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(t){this.ctx.textBaseline=t}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(t){-1!==["right","end","center","left","start"].indexOf(t)&&(this.ctx.textAlign=t)}});var l=null;function d(t,e){if(null===l){var r=function(t){var e=[];return Object.keys(t).forEach((function(r){t[r].forEach((function(t){var n=null;switch(t){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:t},e.push(n))}))})),e}(t.getFontList());l=function(t){for(var e={},r=0;r<t.length;++r){var n=Rt(t[r]),i=n.family,o=n.stretch,a=n.style,s=n.weight;e[i]=e[i]||{},e[i][o]=e[i][o]||{},e[i][o][a]=e[i][o][a]||{},e[i][o][a][s]=n}return e}(r.concat(e))}return l}var m=null;Object.defineProperty(this,"fontFaces",{get:function(){return m},set:function(t){l=null,m=t}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(t){var e;if(this.ctx.font=t,null!==(e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(t))){var r=e[1],n=(e[2],e[3]),i=e[4],o=(e[5],e[6]),a=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===a?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===a?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(t){var e,r,n=[],i=t.trim();if(""===i)return Gt;if(i in Nt)return[Nt[i]];for(;""!==i;){switch(r=null,e=(i=Bt(i)).charAt(0)){case'"':case"'":r=zt(i.substring(1),e);break;default:r=Ht(i)}if(null===r)return Gt;if(n.push(r[0]),""!==(i=Bt(r[1]))&&","!==i.charAt(0))return Gt;i=i.replace(/^,/,"")}return n}(o);if(this.fontFaces){var c=function(t,e,r){for(var n=(r=r||{}).defaultFontFamily||"times",i=Object.assign({},It,r.genericFontFamilies||{}),o=null,a=null,s=0;s<e.length;++s)if(i[(o=Rt(e[s])).family]&&(o.family=i[o.family]),t.hasOwnProperty(o.family)){a=t[o.family];break}if(!(a=a||t[n]))throw new Error("Could not find a font-family for the rule '"+Ft(o)+"' and default family '"+n+"'.");if(a=function(t,e){if(e[t])return e[t];var r=Tt[t],n=r<=Tt.normal?-1:1,i=Lt(e,At,r,n);if(!i)throw new Error("Could not find a matching font-stretch value for "+t);return i}(o.stretch,a),a=function(t,e){if(e[t])return e[t];for(var r=jt[t],n=0;n<r.length;++n)if(e[r[n]])return e[r[n]];throw new Error("Could not find a matching font-style for "+t)}(o.style,a),!(a=function(t,e){if(e[t])return e[t];if(400===t&&e[500])return e[500];if(500===t&&e[400])return e[400];var r=Dt[t],n=Lt(e,Pt,r,t<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+t);return n}(o.weight,a)))throw new Error("Failed to resolve a font for the rule '"+Ft(o)+"'.");return a}(d(this.pdf,this.fontFaces),s.map((function(t){return{family:t,stretch:"normal",weight:n,style:r}})));this.pdf.setFont(c.ref.name,c.ref.style)}else{var u="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(u="bold"),"italic"===r&&(u+="italic"),0===u.length&&(u="normal");for(var l="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],u,{noFallback:!0,disableWarning:!0})){l=s[h];break}if("bolditalic"===u&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))l=s[h],u="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){l=s[h],u="normal";break}}if(""===l)for(var p=0;p<s.length;p++)if(f[s[p]]){l=f[s[p]];break}l=""===l?"Times":l,this.pdf.setFont(l,u)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(t){this.ctx.globalCompositeOperation=t}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(t){this.ctx.globalAlpha=t}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(t){this.ctx.lineDashOffset=t,z.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(t){this.ctx.lineDash=t,z.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};d.prototype.setLineDash=function(t){this.lineDash=t},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){_.call(this,"fill",!1)},d.prototype.stroke=function(){_.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(t,e)},d.prototype.closePath=function(){var t=new s(0,0),e=0;for(e=this.path.length-1;-1!==e;e--)if("begin"===this.path[e].type&&"object"===i()(this.path[e+1])&&"number"==typeof this.path[e+1].x){t=new s(this.path[e+1].x,this.path[e+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(t.x,t.y)},d.prototype.lineTo=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),_.call(this,null,!0)},d.prototype.quadraticCurveTo=function(t,e,r,n){if(isNaN(r)||isNaN(n)||isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new s(r,n)),o=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new s(i.x,i.y)},d.prototype.bezierCurveTo=function(t,e,r,n,i,o){if(isNaN(i)||isNaN(o)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new s(i,o)),u=this.ctx.transform.applyToPoint(new s(t,e)),l=this.ctx.transform.applyToPoint(new s(r,n));this.path.push({type:"bct",x1:u.x,y1:u.y,x2:l.x,y2:l.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},d.prototype.arc=function(t,e,r,n,i,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i))throw c.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var a=this.ctx.transform.applyToPoint(new s(t,e));t=a.x,e=a.y;var u=this.ctx.transform.applyToPoint(new s(0,r)),l=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(u.x-l.x,2)+Math.pow(u.y-l.y,2))}Math.abs(i-n)>=2*Math.PI&&(n=0,i=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:r,startAngle:n,endAngle:i,counterclockwise:o})},d.prototype.arcTo=function(t,e,r,n,i){throw new Error("arcTo not implemented.")},d.prototype.rect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+r,e),this.lineTo(t+r,e+n),this.lineTo(t,e+n),this.lineTo(t,e),this.lineTo(t+r,e),this.lineTo(t,e)},d.prototype.fillRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!b.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,r,n),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},d.prototype.strokeRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");v.call(this)||(this.beginPath(),this.rect(t,e,r,n),this.stroke())},d.prototype.clearRect=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw c.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,r,n))},d.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},d.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(e),t&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(t){var e,r,n,i;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))e=0,r=0,n=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==o)e=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))e=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof t&&"#"!==t.charAt(0)){var a=new m(t);t=a.ok?a.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,r=t.substring(2,3),r+=r,n=t.substring(3,4),n+=n):(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7)),e=parseInt(e,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:e,g:r,b:n,a:i,style:t}},b=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},v=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(t,e,r,n){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw c.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(n=isNaN(n)?void 0:n,!b.call(this)){var i=N(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:t,x:e,y:r,scale:o,angle:i,align:this.textAlign,maxWidth:n})}},d.prototype.strokeText=function(t,e,r,n){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw c.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!v.call(this)){n=isNaN(n)?void 0:n;var i=N(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;T.call(this,{text:t,x:e,y:r,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:n})}},d.prototype.measureText=function(t){if("string"!=typeof t)throw c.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,r=this.pdf.internal.scaleFactor,n=e.internal.getFontSize(),i=e.getStringUnitWidth(t)*n/e.internal.scaleFactor,o=function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this};return new o({width:i*=Math.round(96*r/72*1e4)/1e4})},d.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new l(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.rotate=function(t){if(isNaN(t))throw c.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var e=new l(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(e)},d.prototype.translate=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new l(1,0,0,1,t,e);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.transform=function(t,e,r,n,i,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(o))throw c.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var a=new l(t,e,r,n,i,o);this.ctx.transform=this.ctx.transform.multiply(a)},d.prototype.setTransform=function(t,e,r,n,i,o){t=isNaN(t)?1:t,e=isNaN(e)?0:e,r=isNaN(r)?0:r,n=isNaN(n)?1:n,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new l(t,e,r,n,i,o)};var g=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(t,e,r,n,i,o,a,s,c){var f=this.pdf.getImageProperties(t),h=1,d=1,p=1,m=1;void 0!==n&&void 0!==s&&(p=s/n,m=c/i,h=f.width/n*s/n,d=f.height/i*c/i),void 0===o&&(o=e,a=r,e=0,r=0),void 0!==n&&void 0===s&&(s=n,c=i),void 0===n&&void 0===s&&(s=f.width,c=f.height);for(var b,v=this.ctx.transform.decompose(),w=N(v.rotate.shx),_=new l,k=(_=(_=(_=_.multiply(v.translate)).multiply(v.skew)).multiply(v.scale)).applyToRectangle(new u(o-e*p,a-r*m,n*h,i*d)),E=y.call(this,k),M=[],C=0;C<E.length;C+=1)-1===M.indexOf(E[C])&&M.push(E[C]);if(O(M),this.autoPaging)for(var j=M[0],A=M[M.length-1],T=j;T<A+1;T++){this.pdf.setPage(T);var P=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],D=1===T?this.posY+this.margin[0]:this.margin[0],R=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],L=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],I=1===T?0:R+(T-2)*L;if(0!==this.ctx.clip_path.length){var F=this.path;b=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(b,this.posX+this.margin[3],-I+D+this.ctx.prevPageLastElemOffset),S.call(this,"fill",!0),this.path=F}var B=JSON.parse(JSON.stringify(k));B=x([B],this.posX+this.margin[3],-I+D+this.ctx.prevPageLastElemOffset)[0];var z=(T>j||T<A)&&g.call(this);z&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],P,L,null).clip().discardPath()),this.pdf.addImage(t,"JPEG",B.x,B.y,B.w,B.h,null,null,w),z&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(t,"JPEG",k.x,k.y,k.w,k.h,null,null,w)};var y=function(t,e,r){var n=[];e=e||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(t.type){default:case"mt":case"lt":n.push(Math.floor((t.y+i)/r)+1);break;case"arc":n.push(Math.floor((t.y+i-t.radius)/r)+1),n.push(Math.floor((t.y+i+t.radius)/r)+1);break;case"qct":var o=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);n.push(Math.floor((o.y+i)/r)+1),n.push(Math.floor((o.y+o.h+i)/r)+1);break;case"bct":var a=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);n.push(Math.floor((a.y+i)/r)+1),n.push(Math.floor((a.y+a.h+i)/r)+1);break;case"rect":n.push(Math.floor((t.y+i)/r)+1),n.push(Math.floor((t.y+t.h+i)/r)+1)}for(var s=0;s<n.length;s+=1)for(;this.pdf.internal.getNumberOfPages()<n[s];)w.call(this);return n},w=function(){var t=this.fillStyle,e=this.strokeStyle,r=this.font,n=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=e,this.font=r,this.lineCap=n,this.lineWidth=i,this.lineJoin=o},x=function(t,e,r){for(var n=0;n<t.length;n++)switch(t[n].type){case"bct":t[n].x2+=e,t[n].y2+=r;case"qct":t[n].x1+=e,t[n].y1+=r;case"mt":case"lt":case"arc":default:t[n].x+=e,t[n].y+=r}return t},O=function(t){return t.sort((function(t,e){return t-e}))},_=function(t,e){for(var r,n,i=this.fillStyle,o=this.strokeStyle,a=this.lineCap,s=this.lineWidth,c=Math.abs(s*this.ctx.transform.scaleX),u=this.lineJoin,l=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<f.length;d++)if(void 0!==f[d].x)for(var p=y.call(this,f[d]),m=0;m<p.length;m+=1)-1===h.indexOf(p[m])&&h.push(p[m]);for(var b=0;b<h.length;b++)for(;this.pdf.internal.getNumberOfPages()<h[b];)w.call(this);if(O(h),this.autoPaging)for(var v=h[0],_=h[h.length-1],k=v;k<_+1;k++){this.pdf.setPage(k),this.fillStyle=i,this.strokeStyle=o,this.lineCap=a,this.lineWidth=c,this.lineJoin=u;var E=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],M=1===k?this.posY+this.margin[0]:this.margin[0],C=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],j=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],A=1===k?0:C+(k-2)*j;if(0!==this.ctx.clip_path.length){var T=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(r,this.posX+this.margin[3],-A+M+this.ctx.prevPageLastElemOffset),S.call(this,t,!0),this.path=T}if(n=JSON.parse(JSON.stringify(l)),this.path=x(n,this.posX+this.margin[3],-A+M+this.ctx.prevPageLastElemOffset),!1===e||0===k){var P=(k>v||k<_)&&g.call(this);P&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],E,j,null).clip().discardPath()),S.call(this,t,e),P&&this.pdf.restoreGraphicsState()}this.lineWidth=s}else this.lineWidth=c,S.call(this,t,e),this.lineWidth=s;this.path=l},S=function(t,e){if(("stroke"!==t||e||!v.call(this))&&("stroke"===t||e||!b.call(this))){for(var r,n,i=[],o=this.path,a=0;a<o.length;a++){var s=o[a];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var c=i.length;if(o[a-1]&&!isNaN(o[a-1].x)&&(r=[s.x-o[a-1].x,s.y-o[a-1].y],c>0))for(;c>=0;c--)if(!0!==i[c-1].close&&!0!==i[c-1].begin){i[c-1].deltas.push(r),i[c-1].abs.push(s);break}break;case"bct":r=[s.x1-o[a-1].x,s.y1-o[a-1].y,s.x2-o[a-1].x,s.y2-o[a-1].y,s.x-o[a-1].x,s.y-o[a-1].y],i[i.length-1].deltas.push(r);break;case"qct":var u=o[a-1].x+2/3*(s.x1-o[a-1].x),l=o[a-1].y+2/3*(s.y1-o[a-1].y),f=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),d=s.x,p=s.y;r=[u-o[a-1].x,l-o[a-1].y,f-o[a-1].x,h-o[a-1].y,d-o[a-1].x,p-o[a-1].y],i[i.length-1].deltas.push(r);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}n=e?null:"stroke"===t?"stroke":"fill";for(var m=!1,g=0;g<i.length;g++)if(i[g].arc)for(var y=i[g].abs,w=0;w<y.length;w++){var x=y[w];"arc"===x.type?M.call(this,x.x,x.y,x.radius,x.startAngle,x.endAngle,x.counterclockwise,void 0,e,!m):P.call(this,x.x,x.y),m=!0}else if(!0===i[g].close)this.pdf.internal.out("h"),m=!1;else if(!0!==i[g].begin){var O=i[g].start.x,_=i[g].start.y;D.call(this,i[g].deltas,O,_),m=!0}n&&C.call(this,n),e&&j.call(this)}},k=function(t){var e=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=e*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-r;case"top":return t+e-r;case"hanging":return t+e-2*r;case"middle":return t+e/2-r;case"ideographic":return t;case"alphabetic":default:return t}},E=function(t){return t+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(t,e){this.colorStops.push([t,e])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var M=function(t,e,r,n,i,o,a,s,c){for(var u=L.call(this,r,n,i,o),l=0;l<u.length;l++){var f=u[l];0===l&&(c?A.call(this,f.x1+t,f.y1+e):P.call(this,f.x1+t,f.y1+e)),R.call(this,t,e,f.x2,f.y2,f.x3,f.y3,f.x4,f.y4)}s?j.call(this):C.call(this,a)},C=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},j=function(){this.pdf.clip(),this.pdf.discardPath()},A=function(t,e){this.pdf.internal.out(r(t)+" "+n(e)+" m")},T=function(t){var e;switch(t.align){case"right":case"end":e="right";break;case"center":e="center";break;case"left":case"start":default:e="left"}var r=this.pdf.getTextDimensions(t.text),n=k.call(this,t.y),i=E.call(this,n)-r.h,o=this.ctx.transform.applyToPoint(new s(t.x,n)),a=this.ctx.transform.decompose(),c=new l;c=(c=(c=c.multiply(a.translate)).multiply(a.skew)).multiply(a.scale);for(var f,h,d,p=this.ctx.transform.applyToRectangle(new u(t.x,n,r.w,r.h)),m=c.applyToRectangle(new u(t.x,i,r.w,r.h)),b=y.call(this,m),v=[],w=0;w<b.length;w+=1)-1===v.indexOf(b[w])&&v.push(b[w]);if(O(v),this.autoPaging)for(var _=v[0],M=v[v.length-1],C=_;C<M+1;C++){this.pdf.setPage(C);var j=1===C?this.posY+this.margin[0]:this.margin[0],A=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],T=this.pdf.internal.pageSize.height-this.margin[2],P=T-this.margin[0],D=this.pdf.internal.pageSize.width-this.margin[1],R=D-this.margin[3],L=1===C?0:A+(C-2)*P;if(0!==this.ctx.clip_path.length){var I=this.path;f=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(f,this.posX+this.margin[3],-1*L+j),S.call(this,"fill",!0),this.path=I}var N=x([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-L+j+this.ctx.prevPageLastElemOffset)[0];t.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale);var F="text"!==this.autoPaging;if(F||N.y+N.h<=T){if(F||N.y>=j&&N.x<=D){var B=F?t.text:this.pdf.splitTextToSize(t.text,t.maxWidth||D-N.x)[0],z=x([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-L+j+this.ctx.prevPageLastElemOffset)[0],H=F&&(C>_||C<M)&&g.call(this);H&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],R,P,null).clip().discardPath()),this.pdf.text(B,z.x,z.y,{angle:t.angle,align:e,renderingMode:t.renderingMode}),H&&this.pdf.restoreGraphicsState()}}else N.y<T&&(this.ctx.prevPageLastElemOffset+=T-N.y);t.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=d)}else t.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale),this.pdf.text(t.text,o.x+this.posX,o.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=d)},P=function(t,e,i,o){i=i||0,o=o||0,this.pdf.internal.out(r(t+i)+" "+n(e+o)+" l")},D=function(t,e,r){return this.pdf.lines(t,e,r,null,null)},R=function(t,r,n,i,s,c,u,l){this.pdf.internal.out([e(o(n+t)),e(a(i+r)),e(o(s+t)),e(a(c+r)),e(o(u+t)),e(a(l+r)),"c"].join(" "))},L=function(t,e,r,n){for(var i=2*Math.PI,o=Math.PI/2;e>r;)e-=i;var a=Math.abs(r-e);a<i&&n&&(a=i-a);for(var s=[],c=n?-1:1,u=e;a>1e-5;){var l=u+c*Math.min(a,o);s.push(I.call(this,t,u,l)),a-=Math.abs(l-u),u=l}return s},I=function(t,e,r){var n=(r-e)/2,i=t*Math.cos(n),o=t*Math.sin(n),a=i,s=-o,c=a*a+s*s,u=c+a*i+s*o,l=4/3*(Math.sqrt(2*c*u)-u)/(a*o-s*i),f=a-l*s,h=s+l*a,d=f,p=-h,m=n+e,b=Math.cos(m),v=Math.sin(m);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:f*b-h*v,y2:f*v+h*b,x3:d*b-p*v,y3:d*v+p*b,x4:t*Math.cos(r),y4:t*Math.sin(r)}},N=function(t){return 180*t/Math.PI},F=function(t,e,r,n,i,o){var a=t+.5*(r-t),s=e+.5*(n-e),c=i+.5*(r-i),l=o+.5*(n-o),f=Math.min(t,i,a,c),h=Math.max(t,i,a,c),d=Math.min(e,o,s,l),p=Math.max(e,o,s,l);return new u(f,d,h-f,p-d)},B=function(t,e,r,n,i,o,a,s){var c,l,f,h,d,p,m,b,v,g,y,w,x,O,_=r-t,S=n-e,k=i-r,E=o-n,M=a-i,C=s-o;for(l=0;l<41;l++)v=(m=(f=t+(c=l/40)*_)+c*((d=r+c*k)-f))+c*(d+c*(i+c*M-d)-m),g=(b=(h=e+c*S)+c*((p=n+c*E)-h))+c*(p+c*(o+c*C-p)-b),0==l?(y=v,w=g,x=v,O=g):(y=Math.min(y,v),w=Math.min(w,g),x=Math.max(x,v),O=Math.max(O,g));return new u(Math.round(y),Math.round(w),Math.round(x-y),Math.round(O-w))},z=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var t,e,r=(t=this.ctx.lineDash,e=this.ctx.lineDashOffset,JSON.stringify({lineDash:t,lineDashOffset:e}));this.prevLineDash!==r&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=r)}}}(B.API),function(t){var e=function(t){var e,r,n,i,o,a,s,c,u,l;for(/[^\x00-\xFF]/.test(t),r=[],n=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>n;n+=4)0!==(o=(t.charCodeAt(n)<<24)+(t.charCodeAt(n+1)<<16)+(t.charCodeAt(n+2)<<8)+t.charCodeAt(n+3))?(a=(o=((o=((o=((o=(o-(l=o%85))/85)-(u=o%85))/85)-(c=o%85))/85)-(s=o%85))/85)%85,r.push(a+33,s+33,c+33,u+33,l+33)):r.push(122);return function(t,e){for(var r=e;r>0;r--)t.pop()}(r,e.length),String.fromCharCode.apply(String,r)+"~>"},r=function(t){var e,r,n,i,o,a=String,s="length",c=255,u="charCodeAt",l="slice",f="replace";for(t[l](-2),t=t[l](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),n=[],i=0,o=(t+=e="uuuuu"[l](t[s]%5||5))[s];o>i;i+=5)r=52200625*(t[u](i)-33)+614125*(t[u](i+1)-33)+7225*(t[u](i+2)-33)+85*(t[u](i+3)-33)+(t[u](i+4)-33),n.push(c&r>>24,c&r>>16,c&r>>8,c&r);return function(t,e){for(var r=e;r>0;r--)t.pop()}(n,e[s]),a.fromCharCode.apply(a,n)},n=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var r="",n=0;n<t.length;n+=2)r+=String.fromCharCode("0x"+(t[n]+t[n+1]));return r},i=function(t){for(var e=new Uint8Array(t.length),r=t.length;r--;)e[r]=t.charCodeAt(r);return(e=Object(o.b)(e)).reduce((function(t,e){return t+String.fromCharCode(e)}),"")};t.processDataByFilters=function(t,o){var a=0,s=t||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),a=0;a<o.length;a+=1)switch(o[a]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=e(s),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)})).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[a]+'" is not implemented')}return{data:s,reverseChain:c.reverse().join(" ")}}}(B.API),(Vt=B.API).loadFile=function(t,e,r){return function(t,e,r){e=!1!==e,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(t,e,r){var n=new XMLHttpRequest,i=0,o=function(t){var e=t.length,r=[],n=String.fromCharCode;for(i=0;i<e;i+=1)r.push(n(255&t.charCodeAt(i)));return r.join("")};if(n.open("GET",t,!e),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(n.onload=function(){200===n.status?r(o(this.responseText)):r(void 0)}),n.send(null),e&&200===n.status)return o(n.responseText)}(t,e,r)}catch(t){}return n}(t,e,r)},Vt.loadImageFile=Vt.loadFile,function(t){function e(){return(a.html2canvas?Promise.resolve(a.html2canvas):r.e(5).then(r.t.bind(null,1329,7))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function n(){return(a.DOMPurify?Promise.resolve(a.DOMPurify):r.e(4).then(r.t.bind(null,1330,7))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var o=function(t){var e=i()(t);return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},s=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},c=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return(n=n.setProgress(1,t,1,[t])).set(e)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(t,e){return t.__proto__=e||c.prototype,t},c.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},c.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(o(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(n).then((function(e){return this.set({src:s("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},c.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},c.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=function t(e,r){for(var n=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),i=e.firstChild;i;i=i.nextSibling)!0!==r&&1===i.nodeType&&"SCRIPT"===i.nodeName||n.appendChild(t(i,r));return 1===e.nodeType&&("CANVAS"===e.nodeName?(n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(n.value=e.value),n.addEventListener("load",(function(){n.scrollTop=e.scrollTop,n.scrollLeft=e.scrollLeft}),!0)),n}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(s("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},c.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},c.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:n,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,e.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.margin=this.opt.margin,e.context2d.fontFaces=r,r)for(var o=0;o<r.length;++o){var a=r[o],s=a.src.find((function(t){return"truetype"===t.format}));s&&e.addFont(s.url,a.ref.name,a.ref.style)}return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,e.context2d.save(!0),t(this.prop.container,i)})).then((function(t){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t}))},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},c.prototype.output=function(t,e,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},c.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},c.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+t+'" is not supported.'}}))},c.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},c.prototype.set=function(t){if("object"!==o(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in c.template.prop)return function(){this.prop[e]=t[e]};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e]}}}),this);return this.then((function(){return this.thenList(e)}))},c.prototype.get=function(t,e){return this.then((function(){var r=t in c.template.prop?this.prop[t]:this.opt[t];return e?e(r):r}))},c.prototype.setMargin=function(t){return this.then((function(){switch(o(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t})).then(this.setPageSize)},c.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||B.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t}))},c.prototype.setProgress=function(t,e,r,n){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(t,e,r,n){return this.setProgress(t?this.progress.val+t:null,e||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},c.prototype.then=function(t,e){var r=this;return this.thenCore(t,e,(function(t,e){return r.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return r.updateProgress(null,t),e})).then(t,e).then((function(t){return r.updateProgress(1),t}))}))},c.prototype.thenCore=function(t,e,r){r=r||Promise.prototype.then,t&&(t=t.bind(this)),e&&(e=e.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:c.convert(Object.assign({},this),Promise.prototype),i=r.call(n,t,e);return c.convert(i,this.__proto__)},c.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},c.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t)})),e},c.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return c.convert(e,this)},c.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},c.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,B.getPageSize=function(t,e,r){if("object"===i()(t)){var n=t;t=n.orientation,e=n.unit||e,r=n.format||r}e=e||"mm",r=r||"a4",t=(""+(t||"P")).toLowerCase();var o,a=(""+r).toLowerCase(),s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(e){case"pt":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+e}var c,u=0,l=0;if(s.hasOwnProperty(a))u=s[a][1]/o,l=s[a][0]/o;else try{u=r[1],l=r[0]}catch(Vt){throw new Error("Invalid format: "+r)}if("p"===t||"portrait"===t)t="p",l>u&&(c=l,l=u,u=c);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",u>l&&(c=l,l=u,u=c)}return{width:l,height:u,unit:e,k:o,orientation:t}},t.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(Rt):null;var r=new c(e);return e.worker?r:r.from(t).doCallback()}}(B.API),B.API.addJS=function(t){return qt=t,this.internal.events.subscribe("postPutResources",(function(){Ut=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ut+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Wt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+qt+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ut&&void 0!==Wt&&this.internal.out("/Names <</JavaScript "+Ut+" 0 R>>")})),this},function(t){var e;t.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),i=0;i<n.length;i++){var o=n[i],a=r.exec(o);if(null!=a){var s=a[1];t.internal.newObjectDeferredBegin(s,!1)}t.internal.write(o)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,u=[];for(i=0;i<c;i++){var l=t.internal.newObject();u.push(l);var f=t.internal.getPageInfo(i+1);t.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=t.internal.newObject();for(t.internal.write("<< /Names [ "),i=0;i<u.length;i++)t.internal.write("(page_"+(i+1)+")"+u[i]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+h+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,r){var n={title:e,options:r,children:[]};return null==t&&(t=this.root),t.children.push(n),n},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var r=0;r<e.children.length;r++)this.genIds_r(e.children[r])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<e.children.length;n++){var i=e.children[n];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(e)),n>0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[n+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var a=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+a.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<e.children.length;s++)this.renderItems(e.children[s])},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var r=0;r<e.children.length;r++)t.count++,this.count_r(t,e.children[r]);return t.count}}])}(B.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(t,r,n,i,o,a){var s,c=this.decode.DCT_DECODE,u=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=o||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,(s=function(t){for(var r,n=256*t.charCodeAt(4)+t.charCodeAt(5),i=t.length,o={width:0,height:0,numcomponents:1},a=4;a<i;a+=2){if(a+=n,-1!==e.indexOf(t.charCodeAt(a+1))){r=256*t.charCodeAt(a+5)+t.charCodeAt(a+6),o={width:256*t.charCodeAt(a+7)+t.charCodeAt(a+8),height:r,numcomponents:t.charCodeAt(a+9)};break}n=256*t.charCodeAt(a+2)+t.charCodeAt(a+3)}return o}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:a=this.color_spaces.DEVICE_GRAY;break;case 4:a=this.color_spaces.DEVICE_CMYK;break;case 3:a=this.color_spaces.DEVICE_RGB}u={data:t,width:s.width,height:s.height,colorSpace:a,bitsPerComponent:8,filter:c,index:r,alias:n}}return u}}(B.API);var Yt,Xt,$t,Kt,Zt,Jt=function(){var t,e,r;function n(t){var e,r,n,i,o,a,s,c,u,l,f,h,d,p;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(e=this.readUInt32(),u=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,a.delay=1e3*o/i,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===u&&(this.pos+=4,e-=4),t=(null!=a?a.data:void 0)||this.imgData,h=0;0<=e?h<e:h>e;0<=e?++h:--h)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((l=n-this.transparency.indexed.length)>0)for(d=0;0<=l?d<l:d>l;0<=l?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":s=(f=this.read(e)).indexOf(0),c=String.fromCharCode.apply(String,f.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)r.push(this.data[this.pos++]);return r},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*e),n=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function a(o,a,s,c){var u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A=Math.ceil((i.width-o)/s),T=Math.ceil((i.height-a)/c),P=i.width==A&&i.height==T;for(O=e*A,w=P?r:new Uint8Array(O*T),p=t.length,x=0,l=0;x<T&&n<p;){switch(t[n++]){case 0:for(h=k=0;k<O;h=k+=1)w[l++]=t[n++];break;case 1:for(h=E=0;E<O;h=E+=1)u=t[n++],d=h<e?0:w[l-e],w[l++]=(u+d)%256;break;case 2:for(h=M=0;M<O;h=M+=1)u=t[n++],f=(h-h%e)/e,_=x&&w[(x-1)*O+f*e+h%e],w[l++]=(_+u)%256;break;case 3:for(h=C=0;C<O;h=C+=1)u=t[n++],f=(h-h%e)/e,d=h<e?0:w[l-e],_=x&&w[(x-1)*O+f*e+h%e],w[l++]=(u+Math.floor((d+_)/2))%256;break;case 4:for(h=j=0;j<O;h=j+=1)u=t[n++],f=(h-h%e)/e,d=h<e?0:w[l-e],0===x?_=S=0:(_=w[(x-1)*O+f*e+h%e],S=f&&w[(x-1)*O+(f-1)*e+h%e]),m=d+_-S,b=Math.abs(m-d),g=Math.abs(m-_),y=Math.abs(m-S),v=b<=g&&b<=y?d:g<=y?_:S,w[l++]=(u+v)%256;break;default:throw new Error("Invalid filter algorithm: "+t[n-1])}if(!P){var D=((a+x*c)*i.width+o)*e,R=x*O;for(h=0;h<A;h+=1){for(var L=0;L<e;L+=1)r[D++]=w[R++];D+=(s-1)*e}}x++}}return t=Object(o.a)(t),1==i.interlaceMethod?(a(0,0,8,8),a(4,0,8,8),a(0,4,4,8),a(2,0,4,4),a(0,2,2,4),a(1,0,2,2),a(0,1,1,2)):a(0,0,1,1),r},n.prototype.decodePalette=function(){var t,e,r,n,i,o,a,s,c;for(r=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+r.length),n=0,t=0,e=a=0,s=r.length;a<s;e=a+=3)i[n++]=r[e],i[n++]=r[e+1],i[n++]=r[e+2],i[n++]=null!=(c=o[t++])?c:255;return i},n.prototype.copyToImageData=function(t,e){var r,n,i,o,a,s,c,u,l,f,h;if(n=this.colors,l=null,r=this.hasAlphaChannel,this.palette.length&&(l=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),u=(i=t.data||t).length,a=l||e,o=s=0,1===n)for(;o<u;)c=l?4*e[o/4]:s,f=a[c++],i[o++]=f,i[o++]=f,i[o++]=f,i[o++]=r?a[c++]:255,s=c;else for(;o<u;)c=l?4*e[o/4]:s,i[o++]=a[c++],i[o++]=a[c++],i[o++]=a[c++],i[o++]=r?a[c++]:255,s=c},n.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var i=function(){if("[object Window]"===Object.prototype.toString.call(a)){try{e=a.document.createElement("canvas"),r=e.getContext("2d")}catch(t){return!1}return!0}return!1};return i(),t=function(t){var n;if(!0===i())return r.width=t.width,r.height=t.height,r.clearRect(0,0,t.width,t.height),r.putImageData(t,0,0),(n=new Image).src=e.toDataURL(),n;throw new Error("This method requires a Browser with Canvas-capability.")},n.prototype.decodeFrames=function(e){var r,n,i,o,a,s,c,u;if(this.animation){for(u=[],n=a=0,s=(c=this.animation.frames).length;a<s;n=++a)r=c[n],i=e.createImageData(r.width,r.height),o=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(i,o),r.imageData=i,u.push(r.image=t(i));return u}},n.prototype.renderFrame=function(t,e){var r,n,i;return r=(n=this.animation.frames)[e],i=n[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?t.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&t.putImageData(i.imageData,i.xOffset,i.yOffset),0===r.blendOp&&t.clearRect(r.xOffset,r.yOffset,r.width,r.height),t.drawImage(r.image,r.xOffset,r.yOffset)},n.prototype.animate=function(t){var e,r,n,i,o,a,s=this;return r=0,a=this.animation,i=a.numFrames,n=a.frames,o=a.numPlays,(e=function(){var a,c;if(a=r++%i,c=n[a],s.renderFrame(t,a),i>1&&r/i<o)return s.animation._timeout=setTimeout(e,c.delay)})()},n.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},n.prototype.render=function(t){var e,r;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(r=e.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),e.putImageData(r,0,0))},n}();function Qt(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],o=i>>7,a=1<<1+(7&i);t[e++],t[e++];var s=null,c=null;o&&(s=e,c=a,e+=3*a);var u=!0,l=[],f=0,h=null,d=0,p=null;for(this.width=r,this.height=n;u&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(11!==t[e]||78==t[e+1]&&69==t[e+2]&&84==t[e+3]&&83==t[e+4]&&67==t[e+5]&&65==t[e+6]&&80==t[e+7]&&69==t[e+8]&&50==t[e+9]&&46==t[e+10]&&48==t[e+11]&&3==t[e+12]&&1==t[e+13]&&0==t[e+16])e+=14,p=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((M=t[e++])>=0))throw Error("Invalid block size");if(0===M)break;e+=M}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var m=t[e++];f=t[e++]|t[e++]<<8,h=t[e++],0==(1&m)&&(h=null),d=m>>2&7,e++;break;case 254:for(;;){if(!((M=t[e++])>=0))throw Error("Invalid block size");if(0===M)break;e+=M}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var b=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,g=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,w=t[e++],x=w>>6&1,O=1<<1+(7&w),_=s,S=c,k=!1;w>>7&&(k=!0,_=e,S=O,e+=3*O);var E=e;for(e++;;){var M;if(!((M=t[e++])>=0))throw Error("Invalid block size");if(0===M)break;e+=M}l.push({x:b,y:v,width:g,height:y,has_local_palette:k,palette_offset:_,palette_size:S,data_offset:E,data_length:e-E,transparent_index:h,interlaced:!!x,delay:f,disposal:d});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return l.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=l.length)throw new Error("Frame index out of range.");return l[t]},this.decodeAndBlitFrameBGRA=function(e,n){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);te(t,i.data_offset,a,o);var s=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var u=i.width,l=r-u,f=u,h=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=h,m=4*l;!0===i.interlaced&&(m+=4*r*7);for(var b=8,v=0,g=a.length;v<g;++v){var y=a[v];if(0===f&&(f=u,(p+=m)>=d&&(m=4*l+4*r*(b-1),p=h+(u+l)*(b<<1),b>>=1)),y===c)p+=4;else{var w=t[s+3*y],x=t[s+3*y+1],O=t[s+3*y+2];n[p++]=O,n[p++]=x,n[p++]=w,n[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(e,n){var i=this.frameInfo(e),o=i.width*i.height,a=new Uint8Array(o);te(t,i.data_offset,a,o);var s=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var u=i.width,l=r-u,f=u,h=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=h,m=4*l;!0===i.interlaced&&(m+=4*r*7);for(var b=8,v=0,g=a.length;v<g;++v){var y=a[v];if(0===f&&(f=u,(p+=m)>=d&&(m=4*l+4*r*(b-1),p=h+(u+l)*(b<<1),b>>=1)),y===c)p+=4;else{var w=t[s+3*y],x=t[s+3*y+1],O=t[s+3*y+2];n[p++]=w,n[p++]=x,n[p++]=O,n[p++]=255}--f}}}function te(t,e,r,n){for(var i=t[e++],o=1<<i,a=o+1,s=a+1,u=i+1,l=(1<<u)-1,f=0,h=0,d=0,p=t[e++],m=new Int32Array(4096),b=null;;){for(;f<16&&0!==p;)h|=t[e++]<<f,f+=8,1===p?p=t[e++]:--p;if(f<u)break;var v=h&l;if(h>>=u,f-=u,v!==o){if(v===a)break;for(var g=v<s?v:b,y=0,w=g;w>o;)w=m[w]>>8,++y;var x=w;if(d+y+(g!==v?1:0)>n)return void c.log("Warning, gif stream longer than expected.");r[d++]=x;var O=d+=y;for(g!==v&&(r[d++]=x),w=g;y--;)w=m[w],r[--O]=255&w,w>>=8;null!==b&&s<4096&&(m[s++]=b<<8|x,s>=l+1&&u<12&&(++u,l=l<<1|1)),b=v}else s=a+1,l=(1<<(u=i+1))-1,b=null}return d!==n&&c.log("Warning, gif stream shorter than expected."),r}function ee(t){var e,r,n,i,o,a=Math.floor,s=new Array(64),c=new Array(64),u=new Array(64),l=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),m=[],b=0,v=7,g=new Array(64),y=new Array(64),w=new Array(64),x=new Array(256),O=new Array(2048),_=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],S=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],k=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],M=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],C=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],j=[0,1,2,3,4,5,6,7,8,9,10,11],A=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],T=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function P(t,e){for(var r=0,n=0,i=new Array,o=1;o<=16;o++){for(var a=1;a<=t[o];a++)i[e[n]]=[],i[e[n]][0]=r,i[e[n]][1]=o,n++,r++;r*=2}return i}function D(t){for(var e=t[0],r=t[1]-1;r>=0;)e&1<<r&&(b|=1<<v),r--,--v<0&&(255==b?(R(255),R(0)):R(b),v=7,b=0)}function R(t){m.push(t)}function L(t){R(t>>8&255),R(255&t)}function I(t,e,r,n,i){for(var o,a=i[0],s=i[240],c=function(t,e){var r,n,i,o,a,s,c,u,l,f,h=0;for(l=0;l<8;++l){r=t[h],n=t[h+1],i=t[h+2],o=t[h+3],a=t[h+4],s=t[h+5],c=t[h+6];var p=r+(u=t[h+7]),m=r-u,b=n+c,v=n-c,g=i+s,y=i-s,w=o+a,x=o-a,O=p+w,_=p-w,S=b+g,k=b-g;t[h]=O+S,t[h+4]=O-S;var E=.707106781*(k+_);t[h+2]=_+E,t[h+6]=_-E;var M=.382683433*((O=x+y)-(k=v+m)),C=.5411961*O+M,j=1.306562965*k+M,A=.707106781*(S=y+v),T=m+A,P=m-A;t[h+5]=P+C,t[h+3]=P-C,t[h+1]=T+j,t[h+7]=T-j,h+=8}for(h=0,l=0;l<8;++l){r=t[h],n=t[h+8],i=t[h+16],o=t[h+24],a=t[h+32],s=t[h+40],c=t[h+48];var D=r+(u=t[h+56]),R=r-u,L=n+c,I=n-c,N=i+s,F=i-s,B=o+a,z=o-a,H=D+B,U=D-B,W=L+N,q=L-N;t[h]=H+W,t[h+32]=H-W;var V=.707106781*(q+U);t[h+16]=U+V,t[h+48]=U-V;var G=.382683433*((H=z+F)-(q=I+R)),Y=.5411961*H+G,X=1.306562965*q+G,$=.707106781*(W=F+I),K=R+$,Z=R-$;t[h+40]=Z+Y,t[h+24]=Z-Y,t[h+8]=K+X,t[h+56]=K-X,h++}for(l=0;l<64;++l)f=t[l]*e[l],d[l]=f>0?f+.5|0:f-.5|0;return d}(t,e),u=0;u<64;++u)p[_[u]]=c[u];var l=p[0]-r;r=p[0],0==l?D(n[0]):(D(n[h[o=32767+l]]),D(f[o]));for(var m=63;m>0&&0==p[m];)m--;if(0==m)return D(a),r;for(var b,v=1;v<=m;){for(var g=v;0==p[v]&&v<=m;)++v;var y=v-g;if(y>=16){b=y>>4;for(var w=1;w<=b;++w)D(s);y&=15}o=32767+p[v],D(i[(y<<4)+h[o]]),D(f[o]),v++}return 63!=m&&D(a),r}function N(t){t=Math.min(Math.max(t,1),100),o!=t&&(function(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=a((e[r]*t+50)/100);n=Math.min(Math.max(n,1),255),s[_[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var f=a((i[o]*t+50)/100);f=Math.min(Math.max(f,1),255),c[_[o]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var m=0;m<8;m++)u[d]=1/(s[_[d]]*h[p]*h[m]*8),l[d]=1/(c[_[d]]*h[p]*h[m]*8),d++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),o=t)}this.encode=function(t,o){o&&N(o),m=new Array,b=0,v=7,L(65496),L(65504),L(16),R(74),R(70),R(73),R(70),R(0),R(1),R(1),R(0),L(1),L(1),R(0),R(0),function(){L(65499),L(132),R(0);for(var t=0;t<64;t++)R(s[t]);R(1);for(var e=0;e<64;e++)R(c[e])}(),function(t,e){L(65472),L(17),R(8),L(e),L(t),R(3),R(1),R(17),R(0),R(2),R(17),R(1),R(3),R(17),R(1)}(t.width,t.height),function(){L(65476),L(418),R(0);for(var t=0;t<16;t++)R(S[t+1]);for(var e=0;e<=11;e++)R(k[e]);R(16);for(var r=0;r<16;r++)R(E[r+1]);for(var n=0;n<=161;n++)R(M[n]);R(1);for(var i=0;i<16;i++)R(C[i+1]);for(var o=0;o<=11;o++)R(j[o]);R(17);for(var a=0;a<16;a++)R(A[a+1]);for(var s=0;s<=161;s++)R(T[s])}(),L(65498),L(12),R(3),R(1),R(0),R(2),R(17),R(3),R(17),R(0),R(63),R(0);var a=0,f=0,h=0;b=0,v=7,this.encode.displayName="_encode_";for(var d,p,x,_,P,F,B,z,H,U=t.data,W=t.width,q=t.height,V=4*W,G=0;G<q;){for(d=0;d<V;){for(P=V*G+d,B=-1,z=0,H=0;H<64;H++)F=P+(z=H>>3)*V+(B=4*(7&H)),G+z>=q&&(F-=V*(G+1+z-q)),d+B>=V&&(F-=d+B-V+4),p=U[F++],x=U[F++],_=U[F++],g[H]=(O[p]+O[x+256>>0]+O[_+512>>0]>>16)-128,y[H]=(O[p+768>>0]+O[x+1024>>0]+O[_+1280>>0]>>16)-128,w[H]=(O[p+1280>>0]+O[x+1536>>0]+O[_+1792>>0]>>16)-128;a=I(g,u,a,e,n),f=I(y,l,f,r,i),h=I(w,l,h,r,i),d+=32}G+=8}if(v>=0){var Y=[];Y[1]=v+1,Y[0]=(1<<v+1)-1,D(Y)}return L(65497),new Uint8Array(m)},t=t||50,function(){for(var t=String.fromCharCode,e=0;e<256;e++)x[e]=t(e)}(),e=P(S,k),r=P(C,j),n=P(E,M),i=P(A,T),function(){for(var t=1,e=2,r=1;r<=15;r++){for(var n=t;n<e;n++)h[32767+n]=r,f[32767+n]=[],f[32767+n][1]=r,f[32767+n][0]=n;for(var i=-(e-1);i<=-t;i++)h[32767+i]=r,f[32767+i]=[],f[32767+i][1]=r,f[32767+i][0]=e-1+i;t<<=1,e<<=1}}(),function(){for(var t=0;t<256;t++)O[t]=19595*t,O[t+256>>0]=38470*t,O[t+512>>0]=7471*t+32768,O[t+768>>0]=-11059*t,O[t+1024>>0]=-21709*t,O[t+1280>>0]=32768*t+8421375,O[t+1536>>0]=-27439*t,O[t+1792>>0]=-5329*t}(),N(t)}function re(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function ne(t){function e(t){if(!t)throw Error("assert :P")}function r(t,e,r){for(var n=0;4>n;n++)if(t[e+n]!=r.charCodeAt(n))return!0;return!1}function n(t,e,r,n,i){for(var o=0;o<i;o++)t[e+o]=r[n+o]}function i(t,e,r,n){for(var i=0;i<n;i++)t[e+i]=r}function o(t){return new Int32Array(t)}function a(t,e){for(var r=[],n=0;n<t;n++)r.push(new e);return r}function s(t,e){var r=[];return function t(r,n,i){for(var o=i[n],a=0;a<o&&(r.push(i.length>n+1?[]:new e),!(i.length<n+1));a++)t(r[a],n+1,i)}(r,0,t),r}var c=function(){var t=this;function c(t,e){for(var r=1<<e-1>>>0;t&r;)r>>>=1;return r?(t&r-1)+r:t}function u(t,r,n,i,o){e(!(i%n));do{t[r+(i-=n)]=o}while(0<i)}function l(t,r,n,i,a){if(e(2328>=a),512>=a)var s=o(512);else if(null==(s=o(a)))return 0;return function(t,r,n,i,a,s){var l,h,d=r,p=1<<n,m=o(16),b=o(16);for(e(0!=a),e(null!=i),e(null!=t),e(0<n),h=0;h<a;++h){if(15<i[h])return 0;++m[i[h]]}if(m[0]==a)return 0;for(b[1]=0,l=1;15>l;++l){if(m[l]>1<<l)return 0;b[l+1]=b[l]+m[l]}for(h=0;h<a;++h)l=i[h],0<i[h]&&(s[b[l]++]=h);if(1==b[15])return(i=new f).g=0,i.value=s[0],u(t,d,1,p,i),p;var v,g=-1,y=p-1,w=0,x=1,O=1,_=1<<n;for(h=0,l=1,a=2;l<=n;++l,a<<=1){if(x+=O<<=1,0>(O-=m[l]))return 0;for(;0<m[l];--m[l])(i=new f).g=l,i.value=s[h++],u(t,d+w,a,_,i),w=c(w,l)}for(l=n+1,a=2;15>=l;++l,a<<=1){if(x+=O<<=1,0>(O-=m[l]))return 0;for(;0<m[l];--m[l]){if(i=new f,(w&y)!=g){for(d+=_,v=1<<(g=l)-n;15>g&&!(0>=(v-=m[g]));)++g,v<<=1;p+=_=1<<(v=g-n),t[r+(g=w&y)].g=v+n,t[r+g].value=d-r-g}i.g=l-n,i.value=s[h++],u(t,d+(w>>n),a,_,i),w=c(w,l)}}return x!=2*b[15]-1?0:p}(t,r,n,i,a,s)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=a(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=a(Fr,h)}function p(t,r,n,i){e(null!=t),e(null!=r),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=r,t.pa=n,t.Jd=r,t.Yc=n+i,t.Zc=4<=i?n+i-4+1:n,E(t)}function m(t,e){for(var r=0;0<e--;)r|=C(t,128)<<e;return r}function b(t,e){var r=m(t,e);return M(t)?-r:r}function v(t,r,n,i){var o,a=0;for(e(null!=t),e(null!=r),e(4294967288>i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4<i&&(i=4),o=0;o<i;++o)a+=r[n+o]<<8*o;t.Ra=a,t.bb=i,t.oa=r,t.pa=n}function g(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<Hr-8>>>0,++t.bb,t.u-=8;_(t)&&(t.h=1,t.u=0)}function y(t,r){if(e(0<=r),!t.h&&r<=zr){var n=O(t)&Br[r];return t.u+=r,g(t),n}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function x(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function O(t){return t.Ra>>>(t.u&Hr-1)>>>0}function _(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Hr}function S(t,e){t.u=e,t.h=_(t)}function k(t){t.u>=Ur&&(e(t.u>=Ur),g(t))}function E(t){e(null!=t&&null!=t.oa),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function M(t){return m(t,1)}function C(t,e){var r=t.Ca;0>t.b&&E(t);var n=t.b,i=r*e>>>8,o=(t.I>>>n>i)+0;for(o?(r-=i,t.I-=i+1<<n>>>0):r=i+1,n=r,i=0;256<=n;)i+=8,n>>=8;return n=7^i+Wr[n],t.b-=n,t.Ca=(r<<n)-1,o}function j(t,e,r){t[e+0]=r>>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r>>0&255}function A(t,e){return t[e+0]<<0|t[e+1]<<8}function T(t,e){return A(t,e)|t[e+2]<<16}function P(t,e){return A(t,e)|A(t,e+2)<<16}function D(t,r){var n=1<<r;return e(null!=t),e(0<r),t.X=o(n),null==t.X?0:(t.Mb=32-r,t.Xa=r,1)}function R(t,r){e(null!=t),e(null!=r),e(t.Xa==r.Xa),n(r.X,0,t.X,0,1<<r.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function I(t,r,n,i){e(null!=n),e(null!=i);var o=n[0],a=i[0];return 0==o&&(o=(t*a+r/2)/r),0==a&&(a=(r*o+t/2)/t),0>=o||0>=a?0:(n[0]=o,i[0]=a,1)}function N(t,e){return t+(1<<e)-1>>>e}function F(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function B(e,r){t[r]=function(r,n,i,o,a,s,c){var u;for(u=0;u<a;++u){var l=t[e](s[c+u-1],i,o+u);s[c+u]=F(r[n+u],l)}}}function z(){this.ud=this.hd=this.jd=0}function H(t,e){return((4278124286&(t^e))>>>1)+(t&e)>>>0}function U(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function W(t,e){return U(t+(t-e+.5>>1))}function q(t,e,r){return Math.abs(e-r)-Math.abs(t-r)}function V(t,e,r,n,i,o,a){for(n=o[a-1],r=0;r<i;++r)o[a+r]=n=F(t[e+r],n)}function G(t,e,r,n,i){var o;for(o=0;o<r;++o){var a=t[e+o],s=a>>8&255,c=16711935&(c=(c=16711935&a)+((s<<16)+s));n[i+o]=(4278255360&a)+c>>>0}}function Y(t,e){e.jd=t>>0&255,e.hd=t>>8&255,e.ud=t>>16&255}function X(t,e,r,n,i,o){var a;for(a=0;a<n;++a){var s=e[r+a],c=s>>>8,u=s,l=255&(l=(l=s>>>16)+((t.jd<<24>>24)*(c<<24>>24)>>>5));u=255&(u=(u+=(t.hd<<24>>24)*(c<<24>>24)>>>5)+((t.ud<<24>>24)*(l<<24>>24)>>>5)),i[o+a]=(4278255360&s)+(l<<16)+u}}function $(e,r,n,i,o){t[r]=function(t,e,r,n,a,s,c,u,l){for(n=c;n<u;++n)for(c=0;c<l;++c)a[s++]=o(r[i(t[e++])])},t[e]=function(e,r,a,s,c,u,l){var f=8>>e.b,h=e.Ea,d=e.K[0],p=e.w;if(8>f)for(e=(1<<e.b)-1,p=(1<<f)-1;r<a;++r){var m,b=0;for(m=0;m<h;++m)m&e||(b=i(s[c++])),u[l++]=o(d[b&p]),b>>=f}else t["VP8LMapColor"+n](s,c,d,p,u,l,r,a,h)}}function K(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=o>>0&255}}function Z(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>16&255,n[i++]=o>>8&255,n[i++]=o>>0&255,n[i++]=o>>24&255}}function J(t,e,r,n,i){for(r=e+r;e<r;){var o=(a=t[e++])>>16&240|a>>12&15,a=a>>0&240|a>>28&15;n[i++]=o,n[i++]=a}}function Q(t,e,r,n,i){for(r=e+r;e<r;){var o=(a=t[e++])>>16&248|a>>13&7,a=a>>5&224|a>>3&31;n[i++]=o,n[i++]=a}}function tt(t,e,r,n,i){for(r=e+r;e<r;){var o=t[e++];n[i++]=o>>0&255,n[i++]=o>>8&255,n[i++]=o>>16&255}}function et(t,e,r,i,o,a){if(0==a)for(r=e+r;e<r;)j(i,((a=t[e++])[0]>>24|a[1]>>8&65280|a[2]<<8&16711680|a[3]<<24)>>>0),o+=32;else n(i,o,t,e,r)}function rt(e,r){t[r][0]=t[e+"0"],t[r][1]=t[e+"1"],t[r][2]=t[e+"2"],t[r][3]=t[e+"3"],t[r][4]=t[e+"4"],t[r][5]=t[e+"5"],t[r][6]=t[e+"6"],t[r][7]=t[e+"7"],t[r][8]=t[e+"8"],t[r][9]=t[e+"9"],t[r][10]=t[e+"10"],t[r][11]=t[e+"11"],t[r][12]=t[e+"12"],t[r][13]=t[e+"13"],t[r][14]=t[e+"0"],t[r][15]=t[e+"0"]}function nt(t){return t==Wn||t==qn||t==Vn||t==Gn}function it(){this.eb=[],this.size=this.A=this.fb=0}function ot(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function at(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new ot,this.sd=null}function st(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ct(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ut(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function lt(t,e){var r=t.T,i=e.ba.f.RGBA,o=i.eb,a=i.fb+t.ka*i.A,s=vi[e.ba.S],c=t.y,u=t.O,l=t.f,f=t.N,h=t.ea,d=t.W,p=e.cc,m=e.dc,b=e.Mc,v=e.Nc,g=t.ka,y=t.ka+t.T,w=t.U,x=w+1>>1;for(0==g?s(c,u,null,null,l,f,h,d,l,f,h,d,o,a,null,null,w):(s(e.ec,e.fc,c,u,p,m,b,v,l,f,h,d,o,a-i.A,o,a,w),++r);g+2<y;g+=2)p=l,m=f,b=h,v=d,f+=t.Rc,d+=t.Rc,a+=2*i.A,s(c,(u+=2*t.fa)-t.fa,c,u,p,m,b,v,l,f,h,d,o,a-i.A,o,a,w);return u+=t.fa,t.j+y<t.o?(n(e.ec,e.fc,c,u,w),n(e.cc,e.dc,l,f,x),n(e.Mc,e.Nc,h,d,x),r--):1&y||s(c,u,null,null,l,f,h,d,l,f,h,d,o,a+i.A,null,null,w),r}function ft(t,r,n){var i=t.F,o=[t.J];if(null!=i){var a=t.U,s=r.ba.S,c=s==zn||s==Vn;r=r.ba.f.RGBA;var u=[0],l=t.ka;u[0]=t.T,t.Kb&&(0==l?--u[0]:(--l,o[0]-=t.width),t.j+t.ka+t.T==t.o&&(u[0]=t.o-t.j-l));var f=r.eb;l=r.fb+l*r.A,t=kn(i,o[0],t.width,a,u,f,l+(c?0:3),r.A),e(n==u),t&&nt(s)&&_n(f,l,c,a,u,r.A)}return 0}function ht(t){var e=t.ma,r=e.ba.S,n=11>r,i=r==Nn||r==Bn||r==zn||r==Hn||12==r||nt(r);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Lr(e.Oa,t,i?11:12))return 0;if(i&&nt(r)&&gr(),t.da)alert("todo:use_scaling");else{if(n){if(e.Ib=ut,t.Kb){if(r=t.U+1>>1,e.memory=o(t.U+2*r),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+r,e.Ib=lt,gr()}}else alert("todo:EmitYUV");i&&(e.Jb=ft,n&&br())}if(n&&!Ti){for(t=0;256>t;++t)Pi[t]=89858*(t-128)+Ei>>ki,Li[t]=-22014*(t-128)+Ei,Ri[t]=-45773*(t-128),Di[t]=113618*(t-128)+Ei>>ki;for(t=Mi;t<Ci;++t)e=76283*(t-16)+Ei>>ki,Ii[t-Mi]=Vt(e,255),Ni[t-Mi]=Vt(e+8>>4,15);Ti=1}return 1}function dt(t){var r=t.ma,n=t.U,i=t.T;return e(!(1&t.ka)),0>=n||0>=i?0:(n=r.Ib(t,r),null!=r.Jb&&r.Jb(t,r,n),r.Dc+=n,1)}function pt(t){t.ma.memory=null}function mt(t,e,r,n){return 47!=y(t,8)?0:(e[0]=y(t,14)+1,r[0]=y(t,14)+1,n[0]=y(t,1),0!=y(t,3)?0:!t.h)}function bt(t,e){if(4>t)return t+1;var r=t-2>>1;return(2+(1&t)<<r)+y(e,r)+1}function vt(t,e){return 120<e?e-120:1<=(r=((r=Jn[e-1])>>4)*t+(8-(15&r)))?r:1;var r}function gt(t,e,r){var n=O(r),i=t[e+=255&n].g-8;return 0<i&&(S(r,r.u+8),n=O(r),e+=t[e].value,e+=n&(1<<i)-1),S(r,r.u+t[e].g),t[e].value}function yt(t,r,n){return n.g+=t.g,n.value+=t.value<<r>>>0,e(8>=n.g),t.g}function wt(t,r,n){var i=t.xc;return e((r=0==i?0:t.vc[t.md*(n>>i)+(r>>i)])<t.Wb),t.Ya[r]}function xt(t,r,i,o){var a=t.ab,s=t.c*r,c=t.C;r=c+r;var u=i,l=o;for(o=t.Ta,i=t.Ua;0<a--;){var f=t.gc[a],h=c,d=r,p=u,m=l,b=(l=o,u=i,f.Ea);switch(e(h<d),e(d<=f.nc),f.hc){case 2:Gr(p,m,(d-h)*b,l,u);break;case 0:var v=h,g=d,y=l,w=u,x=(E=f).Ea;0==v&&(qr(p,m,null,null,1,y,w),V(p,m+1,0,0,x-1,y,w+1),m+=x,w+=x,++v);for(var O=1<<E.b,_=O-1,S=N(x,E.b),k=E.K,E=E.w+(v>>E.b)*S;v<g;){var M=k,C=E,j=1;for(Vr(p,m,y,w-x,1,y,w);j<x;){var A=(j&~_)+O;A>x&&(A=x),(0,Zr[M[C++]>>8&15])(p,m+ +j,y,w+j-x,A-j,y,w+j),j=A}m+=x,w+=x,++v&_||(E+=S)}d!=f.nc&&n(l,u-b,l,u+(d-h-1)*b,b);break;case 1:for(b=p,g=m,x=(p=f.Ea)-(w=p&~(y=(m=1<<f.b)-1)),v=N(p,f.b),O=f.K,f=f.w+(h>>f.b)*v;h<d;){for(_=O,S=f,k=new z,E=g+w,M=g+p;g<E;)Y(_[S++],k),Jr(k,b,g,m,l,u),g+=m,u+=m;g<M&&(Y(_[S++],k),Jr(k,b,g,x,l,u),g+=x,u+=x),++h&y||(f+=v)}break;case 3:if(p==l&&m==u&&0<f.b){for(g=l,p=b=u+(d-h)*b-(w=(d-h)*N(f.Ea,f.b)),m=l,y=u,v=[],w=(x=w)-1;0<=w;--w)v[w]=m[y+w];for(w=x-1;0<=w;--w)g[p+w]=v[w];Yr(f,h,d,l,b,l,u)}else Yr(f,h,d,p,m,l,u)}u=o,l=i}l!=i&&n(o,i,u,l,s)}function Ot(t,r){var n=t.V,i=t.Ba+t.c*t.C,o=r-t.C;if(e(r<=t.l.o),e(16>=o),0<o){var a=t.l,s=t.Ta,c=t.Ua,u=a.width;if(xt(t,o,n,i),o=c=[c],e((n=t.C)<(i=r)),e(a.v<a.va),i>a.o&&(i=a.o),n<a.j){var l=a.j-n;n=a.j,o[0]+=l*u}if(n>=i?n=0:(o[0]+=4*a.v,a.ka=n-a.j,a.U=a.va-a.v,a.T=i-n,n=1),n){if(c=c[0],11>(n=t.ca).S){var f=n.f.RGBA,h=(i=n.S,o=a.U,a=a.T,l=f.eb,f.A),d=a;for(f=f.fb+t.Ma*f.A;0<d--;){var p=s,m=c,b=o,v=l,g=f;switch(i){case In:Qr(p,m,b,v,g);break;case Nn:tn(p,m,b,v,g);break;case Wn:tn(p,m,b,v,g),_n(v,g,0,b,1,0);break;case Fn:nn(p,m,b,v,g);break;case Bn:et(p,m,b,v,g,1);break;case qn:et(p,m,b,v,g,1),_n(v,g,0,b,1,0);break;case zn:et(p,m,b,v,g,0);break;case Vn:et(p,m,b,v,g,0),_n(v,g,1,b,1,0);break;case Hn:en(p,m,b,v,g);break;case Gn:en(p,m,b,v,g),Sn(v,g,b,1,0);break;case Un:rn(p,m,b,v,g);break;default:e(0)}c+=u,f+=h}t.Ma+=a}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=n.height)}}t.C=r,e(t.C<=t.i)}function _t(t){var e;if(0<t.ua)return 0;for(e=0;e<t.Wb;++e){var r=t.Ya[e].G,n=t.Ya[e].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function St(t,r,n,i,o,a){if(0!=t.Z){var s=t.qd,c=t.rd;for(e(null!=bi[t.Z]);r<n;++r)bi[t.Z](s,c,i,o,i,o,a),s=i,c=o,o+=a;t.qd=s,t.rd=c}}function kt(t,r){var n=t.l.ma,i=0==n.Z||1==n.Z?t.l.j:t.C;if(i=t.C<i?i:t.C,e(r<=t.l.o),r>i){var o=t.l.width,a=n.ca,s=n.tb+o*i,c=t.V,u=t.Ba+t.c*i,l=t.gc;e(1==t.ab),e(3==l[0].hc),$r(l[0],i,r,c,u,a,s),St(n,i,r,a,s,o)}t.C=t.Ma=r}function Et(t,r,n,i,o,a,s){var c=t.$/i,u=t.$%i,l=t.m,f=t.s,h=n+t.$,d=h;o=n+i*o;var p=n+i*a,m=280+f.ua,b=t.Pb?c:16777216,v=0<f.ua?f.Wa:null,g=f.wc,y=h<p?wt(f,u,c):null;e(t.C<a),e(p<=o);var w=!1;t:for(;;){for(;w||h<p;){var x=0;if(c>=b){var E=h-n;e((b=t).Pb),b.wd=b.m,b.xd=E,0<b.s.ua&&R(b.s.Wa,b.s.vb),b=c+ti}if(u&g||(y=wt(f,u,c)),e(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if(k(l),y.jc){x=l,E=r;var M=h,C=y.pd[O(x)&Fr-1];e(y.jc),256>C.g?(S(x,x.u+C.g),E[M]=C.value,x=0):(S(x,x.u+C.g-256),e(256<=C.value),x=C.value),0==x&&(w=!0)}else x=gt(y.G[0],y.H[0],l);if(l.h)break;if(w||256>x){if(!w)if(y.nd)r[h]=(y.qb|x<<8)>>>0;else{if(k(l),w=gt(y.G[1],y.H[1],l),k(l),E=gt(y.G[2],y.H[2],l),M=gt(y.G[3],y.H[3],l),l.h)break;r[h]=(M<<24|w<<16|x<<8|E)>>>0}if(w=!1,++h,++u>=i&&(u=0,++c,null!=s&&c<=a&&!(c%16)&&s(t,c),null!=v))for(;d<h;)x=r[d++],v.X[(506832829*x&4294967295)>>>v.Mb]=x}else if(280>x){if(x=bt(x-256,l),E=gt(y.G[4],y.H[4],l),k(l),E=vt(i,E=bt(E,l)),l.h)break;if(h-n<E||o-h<x)break t;for(M=0;M<x;++M)r[h+M]=r[h+M-E];for(h+=x,u+=x;u>=i;)u-=i,++c,null!=s&&c<=a&&!(c%16)&&s(t,c);if(e(h<=o),u&g&&(y=wt(f,u,c)),null!=v)for(;d<h;)x=r[d++],v.X[(506832829*x&4294967295)>>>v.Mb]=x}else{if(!(x<m))break t;for(w=x-280,e(null!=v);d<h;)x=r[d++],v.X[(506832829*x&4294967295)>>>v.Mb]=x;x=h,e(!(w>>>(E=v).Xa)),r[x]=E.X[w],w=!0}w||e(l.h==_(l))}if(t.Pb&&l.h&&h<o)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&R(t.s.vb,t.s.Wa);else{if(l.h)break t;null!=s&&s(t,c>a?a:c),t.a=0,t.$=h-n}return 1}return t.a=3,0}function Mt(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var r=t.Wa;null!=r&&(r.X=null),t.vb=null,e(null!=t)}function Ct(){var e=new ar;return null==e?null:(e.a=0,e.xb=mi,rt("Predictor","VP8LPredictors"),rt("Predictor","VP8LPredictors_C"),rt("PredictorAdd","VP8LPredictorsAdd"),rt("PredictorAdd","VP8LPredictorsAdd_C"),Gr=G,Jr=X,Qr=K,tn=Z,en=J,rn=Q,nn=tt,t.VP8LMapColor32b=Xr,t.VP8LMapColor8b=Kr,e)}function jt(t,r,n,s,c){var u=1,h=[t],p=[r],m=s.m,b=s.s,v=null,g=0;t:for(;;){if(n)for(;u&&y(m,1);){var w=h,x=p,_=s,E=1,M=_.m,C=_.gc[_.ab],j=y(M,2);if(_.Oc&1<<j)u=0;else{switch(_.Oc|=1<<j,C.hc=j,C.Ea=w[0],C.nc=x[0],C.K=[null],++_.ab,e(4>=_.ab),j){case 0:case 1:C.b=y(M,3)+2,E=jt(N(C.Ea,C.b),N(C.nc,C.b),0,_,C.K),C.K=C.K[0];break;case 3:var A,T=y(M,8)+1,P=16<T?0:4<T?1:2<T?2:3;if(w[0]=N(C.Ea,P),C.b=P,A=E=jt(T,1,0,_,C.K)){var R,L=T,I=C,B=1<<(8>>I.b),z=o(B);if(null==z)A=0;else{var H=I.K[0],U=I.w;for(z[0]=I.K[0][0],R=1;R<1*L;++R)z[R]=F(H[U+R],z[R-1]);for(;R<4*B;++R)z[R]=0;I.K[0]=null,I.K[0]=z,A=1}}E=A;break;case 2:break;default:e(0)}u=E}}if(h=h[0],p=p[0],u&&y(m,1)&&!(u=1<=(g=y(m,4))&&11>=g)){s.a=3;break t}var W;if(W=u)e:{var q,V,G,Y=s,X=h,$=p,K=g,Z=n,J=Y.m,Q=Y.s,tt=[null],et=1,rt=0,nt=Qn[K];r:for(;;){if(Z&&y(J,1)){var it=y(J,3)+2,ot=N(X,it),at=N($,it),st=ot*at;if(!jt(ot,at,0,Y,tt))break r;for(tt=tt[0],Q.xc=it,q=0;q<st;++q){var ct=tt[q]>>8&65535;tt[q]=ct,ct>=et&&(et=ct+1)}}if(J.h)break r;for(V=0;5>V;++V){var ut=$n[V];!V&&0<K&&(ut+=1<<K),rt<ut&&(rt=ut)}var lt=a(et*nt,f),ft=et,ht=a(ft,d);if(null==ht)var dt=null;else e(65536>=ft),dt=ht;var pt=o(rt);if(null==dt||null==pt||null==lt){Y.a=1;break r}var mt=lt;for(q=G=0;q<et;++q){var bt=dt[q],vt=bt.G,gt=bt.H,wt=0,xt=1,Ot=0;for(V=0;5>V;++V){ut=$n[V],vt[V]=mt,gt[V]=G,!V&&0<K&&(ut+=1<<K);n:{var _t,St=ut,kt=Y,Ct=pt,At=mt,Tt=G,Pt=0,Dt=kt.m,Rt=y(Dt,1);if(i(Ct,0,0,St),Rt){var Lt=y(Dt,1)+1,It=y(Dt,1),Nt=y(Dt,0==It?1:8);Ct[Nt]=1,2==Lt&&(Ct[Nt=y(Dt,8)]=1);var Ft=1}else{var Bt=o(19),zt=y(Dt,4)+4;if(19<zt){kt.a=3;var Ht=0;break n}for(_t=0;_t<zt;++_t)Bt[Zn[_t]]=y(Dt,3);var Ut=void 0,Wt=void 0,qt=kt,Vt=Bt,Gt=St,Yt=Ct,Xt=0,$t=qt.m,Kt=8,Zt=a(128,f);i:for(;l(Zt,0,7,Vt,19);){if(y($t,1)){var Jt=2+2*y($t,3);if((Ut=2+y($t,Jt))>Gt)break i}else Ut=Gt;for(Wt=0;Wt<Gt&&Ut--;){k($t);var Qt=Zt[0+(127&O($t))];S($t,$t.u+Qt.g);var te=Qt.value;if(16>te)Yt[Wt++]=te,0!=te&&(Kt=te);else{var ee=16==te,re=te-16,ne=Xn[re],ie=y($t,Yn[re])+ne;if(Wt+ie>Gt)break i;for(var oe=ee?Kt:0;0<ie--;)Yt[Wt++]=oe}}Xt=1;break i}Xt||(qt.a=3),Ft=Xt}(Ft=Ft&&!Dt.h)&&(Pt=l(At,Tt,8,Ct,St)),Ft&&0!=Pt?Ht=Pt:(kt.a=3,Ht=0)}if(0==Ht)break r;if(xt&&1==Kn[V]&&(xt=0==mt[G].g),wt+=mt[G].g,G+=Ht,3>=V){var ae,se=pt[0];for(ae=1;ae<ut;++ae)pt[ae]>se&&(se=pt[ae]);Ot+=se}}if(bt.nd=xt,bt.Qb=0,xt&&(bt.qb=(vt[3][gt[3]+0].value<<24|vt[1][gt[1]+0].value<<16|vt[2][gt[2]+0].value)>>>0,0==wt&&256>vt[0][gt[0]+0].value&&(bt.Qb=1,bt.qb+=vt[0][gt[0]+0].value<<8)),bt.jc=!bt.Qb&&6>Ot,bt.jc){var ce,ue=bt;for(ce=0;ce<Fr;++ce){var le=ce,fe=ue.pd[le],he=ue.G[0][ue.H[0]+le];256<=he.value?(fe.g=he.g+256,fe.value=he.value):(fe.g=0,fe.value=0,le>>=yt(he,8,fe),le>>=yt(ue.G[1][ue.H[1]+le],16,fe),le>>=yt(ue.G[2][ue.H[2]+le],0,fe),yt(ue.G[3][ue.H[3]+le],24,fe))}}}Q.vc=tt,Q.Wb=et,Q.Ya=dt,Q.yc=lt,W=1;break e}W=0}if(!(u=W)){s.a=3;break t}if(0<g){if(b.ua=1<<g,!D(b.Wa,g)){s.a=1,u=0;break t}}else b.ua=0;var de=s,pe=h,me=p,be=de.s,ve=be.xc;if(de.c=pe,de.i=me,be.md=N(pe,ve),be.wc=0==ve?-1:(1<<ve)-1,n){s.xb=pi;break t}if(null==(v=o(h*p))){s.a=1,u=0;break t}u=(u=Et(s,v,0,h,p,p,null))&&!m.h;break t}return u?(null!=c?c[0]=v:(e(null==v),e(n)),s.$=0,n||Mt(b)):Mt(b),u}function At(t,r){var n=t.c*t.i,i=n+r+16*r;return e(t.c<=r),t.V=o(i),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+n+r,1)}function Tt(t,r){var n=t.C,i=r-n,o=t.V,a=t.Ba+t.c*n;for(e(r<=t.l.o);0<i;){var s=16<i?16:i,c=t.l.ma,u=t.l.width,l=u*s,f=c.ca,h=c.tb+u*n,d=t.Ta,p=t.Ua;xt(t,s,o,a),En(d,p,f,h,l),St(c,n,n+s,f,h,u),i-=s,o+=s*t.c,n+=s}e(n==r),t.C=t.Ma=r}function Pt(){this.ub=this.yd=this.td=this.Rb=0}function Dt(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Rt(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Lt(){this.Yb=function(){var t=[];return function t(e,r,n){for(var i=n[r],o=0;o<i&&(e.push(n.length>r+1?[]:0),!(n.length<r+1));o++)t(e[o],r+1,n)}(t,0,[3,11]),t}()}function It(){this.jb=o(3),this.Wc=s([4,8],Lt),this.Xc=s([4,17],Lt)}function Nt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Ft(){this.ld=this.La=this.dd=this.tc=0}function Bt(){this.Na=this.la=0}function zt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ht(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ut(){this.uc=this.M=this.Nb=0,this.wa=Array(new Ft),this.Y=0,this.ya=Array(new Ht),this.aa=0,this.l=new Gt}function Wt(){this.y=o(16),this.f=o(8),this.ea=o(8)}function qt(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Pt,this.Kc=new Dt,this.ed=new Nt,this.Qa=new Rt,this.Ic=this.$c=this.Aa=0,this.D=new Ut,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=a(8,w),this.ia=0,this.pb=a(4,zt),this.Pa=new It,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Wt),this.Hd=0,this.rb=Array(new Bt),this.sb=0,this.wa=Array(new Ft),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ht),this.L=this.aa=0,this.gd=s([4,2],Ft),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Vt(t,e){return 0>t?0:t>e?e:t}function Gt(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Yt(){var t=new qt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ni||(ni=Zt)),t}function Xt(t,e,r){return 0==t.a&&(t.a=e,t.sc=r,t.cb=0),0}function $t(t,e,r){return 3<=r&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Kt(t,r){if(null==t)return 0;if(t.a=0,t.sc="OK",null==r)return Xt(t,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,o=r.w,a=r.ha;if(4>a)return Xt(t,7,"Truncated header.");var s=n[o+0]|n[o+1]<<8|n[o+2]<<16,c=t.Od;if(c.Rb=!(1&s),c.td=s>>1&7,c.yd=s>>4&1,c.ub=s>>5,3<c.td)return Xt(t,3,"Incorrect keyframe parameters.");if(!c.yd)return Xt(t,4,"Frame not displayable.");o+=3,a-=3;var u=t.Kc;if(c.Rb){if(7>a)return Xt(t,7,"cannot parse picture header");if(!$t(n,o,a))return Xt(t,3,"Bad code word");u.c=16383&(n[o+4]<<8|n[o+3]),u.Td=n[o+4]>>6,u.i=16383&(n[o+6]<<8|n[o+5]),u.Ud=n[o+6]>>6,o+=7,a-=7,t.za=u.c+15>>4,t.Ub=u.i+15>>4,r.width=u.c,r.height=u.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,i((s=t.Pa).jb,0,255,s.jb.length),e(null!=(s=t.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(c.ub>a)return Xt(t,7,"bad partition length");p(s=t.m,n,o,c.ub),o+=c.ub,a-=c.ub,c.Rb&&(u.Ld=M(s),u.Kd=M(s)),u=t.Qa;var l,f=t.Pa;if(e(null!=s),e(null!=u),u.Cb=M(s),u.Cb){if(u.Bb=M(s),M(s)){for(u.Fb=M(s),l=0;4>l;++l)u.Zb[l]=M(s)?b(s,7):0;for(l=0;4>l;++l)u.Lb[l]=M(s)?b(s,6):0}if(u.Bb)for(l=0;3>l;++l)f.jb[l]=M(s)?m(s,8):255}else u.Bb=0;if(s.Ka)return Xt(t,3,"cannot parse segment header");if((u=t.ed).zd=M(s),u.Tb=m(s,6),u.wb=m(s,3),u.Pc=M(s),u.Pc&&M(s)){for(f=0;4>f;++f)M(s)&&(u.vd[f]=b(s,6));for(f=0;4>f;++f)M(s)&&(u.od[f]=b(s,6))}if(t.L=0==u.Tb?0:u.zd?1:2,s.Ka)return Xt(t,3,"cannot parse filter header");var h=a;if(a=l=o,o=l+h,u=h,t.Xb=(1<<m(t.m,2))-1,h<3*(f=t.Xb))n=7;else{for(l+=3*f,u-=3*f,h=0;h<f;++h){var d=n[a+0]|n[a+1]<<8|n[a+2]<<16;d>u&&(d=u),p(t.Jc[+h],n,l,d),l+=d,u-=d,a+=3}p(t.Jc[+f],n,l,u),n=l<o?0:5}if(0!=n)return Xt(t,n,"cannot parse partitions");for(n=m(l=t.m,7),a=M(l)?b(l,4):0,o=M(l)?b(l,4):0,u=M(l)?b(l,4):0,f=M(l)?b(l,4):0,l=M(l)?b(l,4):0,h=t.Qa,d=0;4>d;++d){if(h.Cb){var v=h.Zb[d];h.Fb||(v+=n)}else{if(0<d){t.pb[d]=t.pb[0];continue}v=n}var g=t.pb[d];g.Sc[0]=ei[Vt(v+a,127)],g.Sc[1]=ri[Vt(v+0,127)],g.Eb[0]=2*ei[Vt(v+o,127)],g.Eb[1]=101581*ri[Vt(v+u,127)]>>16,8>g.Eb[1]&&(g.Eb[1]=8),g.Qc[0]=ei[Vt(v+f,117)],g.Qc[1]=ri[Vt(v+l,127)],g.lc=v+l}if(!c.Rb)return Xt(t,4,"Not a key frame.");for(M(s),c=t.Pa,n=0;4>n;++n){for(a=0;8>a;++a)for(o=0;3>o;++o)for(u=0;11>u;++u)f=C(s,ui[n][a][o][u])?m(s,8):si[n][a][o][u],c.Wc[n][a].Yb[o][u]=f;for(a=0;17>a;++a)c.Xc[n][a]=c.Wc[n][li[a]]}return t.kc=M(s),t.kc&&(t.Bd=m(s,8)),t.cb=1}function Zt(t,e,r,n,i,o,a){var s=e[i].Yb[r];for(r=0;16>i;++i){if(!C(t,s[r+0]))return i;for(;!C(t,s[r+1]);)if(s=e[++i].Yb[0],r=0,16==i)return 16;var c=e[i+1].Yb;if(C(t,s[r+2])){var u=t,l=0;if(C(u,(h=s)[(f=r)+3]))if(C(u,h[f+6])){for(s=0,f=2*(l=C(u,h[f+8]))+(h=C(u,h[f+9+l])),l=0,h=ii[f];h[s];++s)l+=l+C(u,h[s]);l+=3+(8<<f)}else C(u,h[f+7])?(l=7+2*C(u,165),l+=C(u,145)):l=5+C(u,159);else l=C(u,h[f+4])?3+C(u,h[f+5]):2;s=c[2]}else l=1,s=c[1];c=a+oi[i],0>(u=t).b&&E(u);var f,h=u.b,d=(f=u.Ca>>1)-(u.I>>h)>>31;--u.b,u.Ca+=d,u.Ca|=1,u.I-=(f+1&d)<<h,o[c]=((l^d)-d)*n[(0<i)+0]}return 16}function Jt(t){var e=t.rb[t.sb-1];e.la=0,e.Na=0,i(t.zc,0,0,t.zc.length),t.ja=0}function Qt(t,r){if(null==t)return 0;if(null==r)return Xt(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Kt(t,r))return 0;if(e(t.cb),null==r.ac||r.ac(r)){r.ob&&(t.L=0);var s=Bi[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=r.v-s>>4,t.zb=r.j-s>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=r.o+15+s>>4,t.Hb=r.va+15+s>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var c=t.ed;for(s=0;4>s;++s){var u;if(t.Qa.Cb){var l=t.Qa.Lb[s];t.Qa.Fb||(l+=c.Tb)}else l=c.Tb;for(u=0;1>=u;++u){var f=t.gd[s][u],h=l;if(c.Pc&&(h+=c.vd[0],u&&(h+=c.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<c.wb&&(d=4<c.wb?d>>2:d>>1)>9-c.wb&&(d=9-c.wb),1>d&&(d=1),f.dd=d,f.tc=2*h+d,f.ld=40<=h?2:15<=h?1:0}else f.tc=0;f.La=u}}}s=0}else Xt(t,6,"Frame setup failed"),s=t.a;if(s=0==s){if(s){t.$c=0,0<t.Aa||(t.Ic=Hi);t:{s=t.Ic,c=4*(d=t.za);var p=32*d,m=d+1,b=0<t.L?d*(0<t.Aa?2:1):0,v=(2==t.Aa?2:1)*d;if((f=c+832+(u=3*(16*s+Bi[t.L])/2*p)+(l=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=f)s=0;else{if(f>t.Vb){if(t.Vb=0,t.Ec=o(f),t.Fc=0,null==t.Ec){s=Xt(t,1,"no memory during frame initialization.");break t}t.Vb=f}f=t.Ec,h=t.Fc,t.Ac=f,t.Bc=h,h+=c,t.Gd=a(p,Wt),t.Hd=0,t.rb=a(m+1,Bt),t.sb=1,t.wa=b?a(b,Ft):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=d),e(!0),t.oc=f,t.pc=h,h+=832,t.ya=a(v,Ht),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=d),t.R=16*d,t.B=8*d,d=(p=Bi[t.L])*t.R,p=p/2*t.B,t.sa=f,t.ta=h+d,t.qa=t.sa,t.ra=t.ta+16*s*t.R+p,t.Ha=t.qa,t.Ia=t.ra+8*s*t.B+p,t.$c=0,h+=u,t.mb=l?f:null,t.nb=l?h:null,e(h+l<=t.Fc+t.Vb),Jt(t),i(t.Ac,t.Bc,0,c),s=1}}if(s){if(r.ka=0,r.y=t.sa,r.O=t.ta,r.f=t.qa,r.N=t.ra,r.ea=t.Ha,r.Vd=t.Ia,r.fa=t.R,r.Rc=t.B,r.F=null,r.J=0,!Tn){for(s=-255;255>=s;++s)Mn[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Cn[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)jn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)An[255+s]=0>s?0:255<s?255:s;Tn=1}on=ue,an=oe,cn=ae,un=se,ln=ce,sn=ie,fn=Xe,hn=$e,dn=Je,pn=Qe,mn=Ke,bn=Ze,vn=tr,gn=er,yn=Ue,wn=We,xn=qe,On=Ve,hi[0]=Se,hi[1]=fe,hi[2]=Oe,hi[3]=_e,hi[4]=ke,hi[5]=Me,hi[6]=Ee,hi[7]=Ce,hi[8]=Ae,hi[9]=je,fi[0]=ve,fi[1]=de,fi[2]=pe,fi[3]=me,fi[4]=ge,fi[5]=ye,fi[6]=we,di[0]=Re,di[1]=he,di[2]=Te,di[3]=Pe,di[4]=Ie,di[5]=Le,di[6]=Ne,s=1}else s=0}s&&(s=function(t,r){for(t.M=0;t.M<t.Va;++t.M){var a,s=t.Jc[t.M&t.Xb],c=t.m,u=t;for(a=0;a<u.za;++a){var l=c,f=u,h=f.Ac,d=f.Bc+4*a,p=f.zc,m=f.ya[f.aa+a];if(f.Qa.Bb?m.$b=C(l,f.Pa.jb[0])?2+C(l,f.Pa.jb[2]):C(l,f.Pa.jb[1]):m.$b=0,f.kc&&(m.Ad=C(l,f.Bd)),m.Za=!C(l,145)+0,m.Za){var b=m.Ob,v=0;for(f=0;4>f;++f){var g,y=p[0+f];for(g=0;4>g;++g){y=ci[h[d+g]][y];for(var w=ai[C(l,y[0])];0<w;)w=ai[2*w+C(l,y[w])];y=-w,h[d+g]=y}n(b,v,h,d,4),v+=4,p[0+f]=y}}else y=C(l,156)?C(l,128)?1:3:C(l,163)?2:0,m.Ob[0]=y,i(h,d,y,4),i(p,0,y,4);m.Dd=C(l,142)?C(l,114)?C(l,183)?1:3:2:0}if(u.m.Ka)return Xt(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(u=s,l=(c=t).rb[c.sb-1],h=c.rb[c.sb+c.ja],a=c.ya[c.aa+c.ja],d=c.kc?a.Ad:0)l.la=h.la=0,a.Za||(l.Na=h.Na=0),a.Hc=0,a.Gc=0,a.ia=0;else{var x,O;if(l=h,h=u,d=c.Pa.Xc,p=c.ya[c.aa+c.ja],m=c.pb[p.$b],f=p.ad,b=0,v=c.rb[c.sb-1],y=g=0,i(f,b,0,384),p.Za)var _=0,S=d[3];else{w=o(16);var k=l.Na+v.Na;if(k=ni(h,d[1],k,m.Eb,0,w,0),l.Na=v.Na=(0<k)+0,1<k)on(w,0,f,b);else{var E=w[0]+3>>3;for(w=0;256>w;w+=16)f[b+w]=E}_=1,S=d[0]}var M=15&l.la,j=15&v.la;for(w=0;4>w;++w){var A=1&j;for(E=O=0;4>E;++E)M=M>>1|(A=(k=ni(h,S,k=A+(1&M),m.Sc,_,f,b))>_)<<7,O=O<<2|(3<k?3:1<k?2:0!=f[b+0]),b+=16;M>>=4,j=j>>1|A<<7,g=(g<<8|O)>>>0}for(S=M,_=j>>4,x=0;4>x;x+=2){for(O=0,M=l.la>>4+x,j=v.la>>4+x,w=0;2>w;++w){for(A=1&j,E=0;2>E;++E)k=A+(1&M),M=M>>1|(A=0<(k=ni(h,d[2],k,m.Qc,0,f,b)))<<3,O=O<<2|(3<k?3:1<k?2:0!=f[b+0]),b+=16;M>>=2,j=j>>1|A<<5}y|=O<<4*x,S|=M<<4<<x,_|=(240&j)<<x}l.la=S,v.la=_,p.Hc=g,p.Gc=y,p.ia=43690&y?0:m.ia,d=!(g|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[a.$b][a.Za],c.wa[c.Y+c.ja].La|=!d),u.Ka)return Xt(t,7,"Premature end-of-file encountered.")}if(Jt(t),c=r,u=1,a=(s=t).D,l=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(a.M=s.M,a.uc=l,Dr(s,a),u=1,a=(O=s.D).Nb,l=(y=Bi[s.L])*s.R,h=y/2*s.B,w=16*a*s.R,E=8*a*s.B,d=s.sa,p=s.ta-l+w,m=s.qa,f=s.ra-h+E,b=s.Ha,v=s.Ia-h+E,j=0==(M=O.M),g=M>=s.Va-1,2==s.Aa&&Dr(s,O),O.uc)for(A=(k=s).D.M,e(k.D.uc),O=k.yb;O<k.Hb;++O){_=O,S=A;var T=(P=(H=k).D).Nb;x=H.R;var P=P.wa[P.Y+_],D=H.sa,R=H.ta+16*T*x+16*_,L=P.dd,I=P.tc;if(0!=I)if(e(3<=I),1==H.L)0<_&&wn(D,R,x,I+4),P.La&&On(D,R,x,I),0<S&&yn(D,R,x,I+4),P.La&&xn(D,R,x,I);else{var N=H.B,F=H.qa,B=H.ra+8*T*N+8*_,z=H.Ha,H=H.Ia+8*T*N+8*_;T=P.ld,0<_&&(hn(D,R,x,I+4,L,T),pn(F,B,z,H,N,I+4,L,T)),P.La&&(bn(D,R,x,I,L,T),gn(F,B,z,H,N,I,L,T)),0<S&&(fn(D,R,x,I+4,L,T),dn(F,B,z,H,N,I+4,L,T)),P.La&&(mn(D,R,x,I,L,T),vn(F,B,z,H,N,I,L,T))}}if(s.ia&&alert("todo:DitherRow"),null!=c.put){if(O=16*M,M=16*(M+1),j?(c.y=s.sa,c.O=s.ta+w,c.f=s.qa,c.N=s.ra+E,c.ea=s.Ha,c.W=s.Ia+E):(O-=y,c.y=d,c.O=p,c.f=m,c.N=f,c.ea=b,c.W=v),g||(M-=y),M>c.o&&(M=c.o),c.F=null,c.J=null,null!=s.Fa&&0<s.Fa.length&&O<M&&(c.J=fr(s,c,O,M-O),c.F=s.mb,null==c.F&&0==c.F.length)){u=Xt(s,3,"Could not decode alpha data.");break t}O<c.j&&(y=c.j-O,O=c.j,e(!(1&y)),c.O+=s.R*y,c.N+=s.B*(y>>1),c.W+=s.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),O<M&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=O-c.j,c.U=c.va-c.v,c.T=M-O,u=c.put(c))}a+1!=s.Ic||g||(n(s.sa,s.ta-l,d,p+16*s.R,l),n(s.qa,s.ra-h,m,f+8*s.B,h),n(s.Ha,s.Ia-h,b,v+8*s.B,h))}if(!u)return Xt(t,6,"Output aborted.")}return 1}(t,r)),null!=r.bc&&r.bc(r),s&=1}return s?(t.cb=0,s):0}function te(t,e,r,n,i){i=t[e+r+32*n]+(i>>3),t[e+r+32*n]=-256&i?0>i?0:255:i}function ee(t,e,r,n,i,o){te(t,e,0,r,n+i),te(t,e,1,r,n+o),te(t,e,2,r,n-o),te(t,e,3,r,n-i)}function re(t){return(20091*t>>16)+t}function ne(t,e,r,n){var i,a=0,s=o(16);for(i=0;4>i;++i){var c=t[e+0]+t[e+8],u=t[e+0]-t[e+8],l=(35468*t[e+4]>>16)-re(t[e+12]),f=re(t[e+4])+(35468*t[e+12]>>16);s[a+0]=c+f,s[a+1]=u+l,s[a+2]=u-l,s[a+3]=c-f,a+=4,e++}for(i=a=0;4>i;++i)c=(t=s[a+0]+4)+s[a+8],u=t-s[a+8],l=(35468*s[a+4]>>16)-re(s[a+12]),te(r,n,0,0,c+(f=re(s[a+4])+(35468*s[a+12]>>16))),te(r,n,1,0,u+l),te(r,n,2,0,u-l),te(r,n,3,0,c-f),a++,n+=32}function ie(t,e,r,n){var i=t[e+0]+4,o=35468*t[e+4]>>16,a=re(t[e+4]),s=35468*t[e+1]>>16;ee(r,n,0,i+a,t=re(t[e+1]),s),ee(r,n,1,i+o,t,s),ee(r,n,2,i-o,t,s),ee(r,n,3,i-a,t,s)}function oe(t,e,r,n,i){ne(t,e,r,n),i&&ne(t,e+16,r,n+4)}function ae(t,e,r,n){an(t,e+0,r,n,1),an(t,e+32,r,n+128,1)}function se(t,e,r,n){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(r,n,e,i,t)}function ce(t,e,r,n){t[e+0]&&un(t,e+0,r,n),t[e+16]&&un(t,e+16,r,n+4),t[e+32]&&un(t,e+32,r,n+128),t[e+48]&&un(t,e+48,r,n+128+4)}function ue(t,e,r,n){var i,a=o(16);for(i=0;4>i;++i){var s=t[e+0+i]+t[e+12+i],c=t[e+4+i]+t[e+8+i],u=t[e+4+i]-t[e+8+i],l=t[e+0+i]-t[e+12+i];a[0+i]=s+c,a[8+i]=s-c,a[4+i]=l+u,a[12+i]=l-u}for(i=0;4>i;++i)s=(t=a[0+4*i]+3)+a[3+4*i],c=a[1+4*i]+a[2+4*i],u=a[1+4*i]-a[2+4*i],l=t-a[3+4*i],r[n+0]=s+c>>3,r[n+16]=l+u>>3,r[n+32]=s-c>>3,r[n+48]=l-u>>3,n+=64}function le(t,e,r){var n,i=e-32,o=Rn,a=255-t[i-1];for(n=0;n<r;++n){var s,c=o,u=a+t[e-1];for(s=0;s<r;++s)t[e+s]=c[u+t[i+s]];e+=32}}function fe(t,e){le(t,e,4)}function he(t,e){le(t,e,8)}function de(t,e){le(t,e,16)}function pe(t,e){var r;for(r=0;16>r;++r)n(t,e+32*r,t,e-32,16)}function me(t,e){var r;for(r=16;0<r;--r)i(t,e,t[e-1],16),e+=32}function be(t,e,r){var n;for(n=0;16>n;++n)i(e,r+32*n,t,16)}function ve(t,e){var r,n=16;for(r=0;16>r;++r)n+=t[e-1+32*r]+t[e+r-32];be(n>>5,t,e)}function ge(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e-1+32*r];be(n>>4,t,e)}function ye(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e+r-32];be(n>>4,t,e)}function we(t,e){be(128,t,e)}function xe(t,e,r){return t+2*e+r+2>>2}function Oe(t,e){var r,i=e-32;for(i=new Uint8Array([xe(t[i-1],t[i+0],t[i+1]),xe(t[i+0],t[i+1],t[i+2]),xe(t[i+1],t[i+2],t[i+3]),xe(t[i+2],t[i+3],t[i+4])]),r=0;4>r;++r)n(t,e+32*r,i,0,i.length)}function _e(t,e){var r=t[e-1],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96];j(t,e+0,16843009*xe(t[e-1-32],r,n)),j(t,e+32,16843009*xe(r,n,i)),j(t,e+64,16843009*xe(n,i,o)),j(t,e+96,16843009*xe(i,o,o))}function Se(t,e){var r,n=4;for(r=0;4>r;++r)n+=t[e+r-32]+t[e-1+32*r];for(n>>=3,r=0;4>r;++r)i(t,e+32*r,n,4)}function ke(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],c=t[e+2-32],u=t[e+3-32];t[e+0+96]=xe(n,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=xe(r,n,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=xe(o,r,n),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=xe(a,o,r),t[e+3+64]=t[e+2+32]=t[e+1+0]=xe(s,a,o),t[e+3+32]=t[e+2+0]=xe(c,s,a),t[e+3+0]=xe(u,c,s)}function Ee(t,e){var r=t[e+1-32],n=t[e+2-32],i=t[e+3-32],o=t[e+4-32],a=t[e+5-32],s=t[e+6-32],c=t[e+7-32];t[e+0+0]=xe(t[e+0-32],r,n),t[e+1+0]=t[e+0+32]=xe(r,n,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=xe(n,i,o),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=xe(i,o,a),t[e+3+32]=t[e+2+64]=t[e+1+96]=xe(o,a,s),t[e+3+64]=t[e+2+96]=xe(a,s,c),t[e+3+96]=xe(s,c,c)}function Me(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],c=t[e+2-32],u=t[e+3-32];t[e+0+0]=t[e+1+64]=o+a+1>>1,t[e+1+0]=t[e+2+64]=a+s+1>>1,t[e+2+0]=t[e+3+64]=s+c+1>>1,t[e+3+0]=c+u+1>>1,t[e+0+96]=xe(i,n,r),t[e+0+64]=xe(n,r,o),t[e+0+32]=t[e+1+96]=xe(r,o,a),t[e+1+32]=t[e+2+96]=xe(o,a,s),t[e+2+32]=t[e+3+96]=xe(a,s,c),t[e+3+32]=xe(s,c,u)}function Ce(t,e){var r=t[e+0-32],n=t[e+1-32],i=t[e+2-32],o=t[e+3-32],a=t[e+4-32],s=t[e+5-32],c=t[e+6-32],u=t[e+7-32];t[e+0+0]=r+n+1>>1,t[e+1+0]=t[e+0+64]=n+i+1>>1,t[e+2+0]=t[e+1+64]=i+o+1>>1,t[e+3+0]=t[e+2+64]=o+a+1>>1,t[e+0+32]=xe(r,n,i),t[e+1+32]=t[e+0+96]=xe(n,i,o),t[e+2+32]=t[e+1+96]=xe(i,o,a),t[e+3+32]=t[e+2+96]=xe(o,a,s),t[e+3+64]=xe(a,s,c),t[e+3+96]=xe(s,c,u)}function je(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96];t[e+0+0]=r+n+1>>1,t[e+2+0]=t[e+0+32]=n+i+1>>1,t[e+2+32]=t[e+0+64]=i+o+1>>1,t[e+1+0]=xe(r,n,i),t[e+3+0]=t[e+1+32]=xe(n,i,o),t[e+3+32]=t[e+1+64]=xe(i,o,o),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=o}function Ae(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],o=t[e-1+96],a=t[e-1-32],s=t[e+0-32],c=t[e+1-32],u=t[e+2-32];t[e+0+0]=t[e+2+32]=r+a+1>>1,t[e+0+32]=t[e+2+64]=n+r+1>>1,t[e+0+64]=t[e+2+96]=i+n+1>>1,t[e+0+96]=o+i+1>>1,t[e+3+0]=xe(s,c,u),t[e+2+0]=xe(a,s,c),t[e+1+0]=t[e+3+32]=xe(r,a,s),t[e+1+32]=t[e+3+64]=xe(n,r,a),t[e+1+64]=t[e+3+96]=xe(i,n,r),t[e+1+96]=xe(o,i,n)}function Te(t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,t,e-32,8)}function Pe(t,e){var r;for(r=0;8>r;++r)i(t,e,t[e-1],8),e+=32}function De(t,e,r){var n;for(n=0;8>n;++n)i(e,r+32*n,t,8)}function Re(t,e){var r,n=8;for(r=0;8>r;++r)n+=t[e+r-32]+t[e-1+32*r];De(n>>4,t,e)}function Le(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e+r-32];De(n>>3,t,e)}function Ie(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e-1+32*r];De(n>>3,t,e)}function Ne(t,e){De(128,t,e)}function Fe(t,e,r){var n=t[e-r],i=t[e+0],o=3*(i-n)+Pn[1020+t[e-2*r]-t[e+r]],a=Dn[112+(o+4>>3)];t[e-r]=Rn[255+n+Dn[112+(o+3>>3)]],t[e+0]=Rn[255+i-a]}function Be(t,e,r,n){var i=t[e+0],o=t[e+r];return Ln[255+t[e-2*r]-t[e-r]]>n||Ln[255+o-i]>n}function ze(t,e,r,n){return 4*Ln[255+t[e-r]-t[e+0]]+Ln[255+t[e-2*r]-t[e+r]]<=n}function He(t,e,r,n,i){var o=t[e-3*r],a=t[e-2*r],s=t[e-r],c=t[e+0],u=t[e+r],l=t[e+2*r],f=t[e+3*r];return 4*Ln[255+s-c]+Ln[255+a-u]>n?0:Ln[255+t[e-4*r]-o]<=i&&Ln[255+o-a]<=i&&Ln[255+a-s]<=i&&Ln[255+f-l]<=i&&Ln[255+l-u]<=i&&Ln[255+u-c]<=i}function Ue(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)ze(t,e+n,r,i)&&Fe(t,e+n,r)}function We(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)ze(t,e+n*r,1,i)&&Fe(t,e+n*r,1)}function qe(t,e,r,n){var i;for(i=3;0<i;--i)Ue(t,e+=4*r,r,n)}function Ve(t,e,r,n){var i;for(i=3;0<i;--i)We(t,e+=4,r,n)}function Ge(t,e,r,n,i,o,a,s){for(o=2*o+1;0<i--;){if(He(t,e,r,o,a))if(Be(t,e,r,s))Fe(t,e,r);else{var c=t,u=e,l=r,f=c[u-2*l],h=c[u-l],d=c[u+0],p=c[u+l],m=c[u+2*l],b=27*(g=Pn[1020+3*(d-h)+Pn[1020+f-p]])+63>>7,v=18*g+63>>7,g=9*g+63>>7;c[u-3*l]=Rn[255+c[u-3*l]+g],c[u-2*l]=Rn[255+f+v],c[u-l]=Rn[255+h+b],c[u+0]=Rn[255+d-b],c[u+l]=Rn[255+p-v],c[u+2*l]=Rn[255+m-g]}e+=n}}function Ye(t,e,r,n,i,o,a,s){for(o=2*o+1;0<i--;){if(He(t,e,r,o,a))if(Be(t,e,r,s))Fe(t,e,r);else{var c=t,u=e,l=r,f=c[u-l],h=c[u+0],d=c[u+l],p=Dn[112+(4+(m=3*(h-f))>>3)],m=Dn[112+(m+3>>3)],b=p+1>>1;c[u-2*l]=Rn[255+c[u-2*l]+b],c[u-l]=Rn[255+f+m],c[u+0]=Rn[255+h-p],c[u+l]=Rn[255+d-b]}e+=n}}function Xe(t,e,r,n,i,o){Ge(t,e,r,1,16,n,i,o)}function $e(t,e,r,n,i,o){Ge(t,e,1,r,16,n,i,o)}function Ke(t,e,r,n,i,o){var a;for(a=3;0<a;--a)Ye(t,e+=4*r,r,1,16,n,i,o)}function Ze(t,e,r,n,i,o){var a;for(a=3;0<a;--a)Ye(t,e+=4,1,r,16,n,i,o)}function Je(t,e,r,n,i,o,a,s){Ge(t,e,i,1,8,o,a,s),Ge(r,n,i,1,8,o,a,s)}function Qe(t,e,r,n,i,o,a,s){Ge(t,e,1,i,8,o,a,s),Ge(r,n,1,i,8,o,a,s)}function tr(t,e,r,n,i,o,a,s){Ye(t,e+4*i,i,1,8,o,a,s),Ye(r,n+4*i,i,1,8,o,a,s)}function er(t,e,r,n,i,o,a,s){Ye(t,e+4,1,i,8,o,a,s),Ye(r,n+4,1,i,8,o,a,s)}function rr(){this.ba=new at,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ct,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ir(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function or(){this.ua=0,this.Wa=new L,this.vb=new L,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function ar(){this.xb=this.a=0,this.l=new Gt,this.ca=new at,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new x,this.Pb=0,this.wd=new x,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new or,this.ab=0,this.gc=a(4,ir),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cr(t,e,r,n,i,o,a){for(t=null==t?0:t[e+0],e=0;e<a;++e)i[o+e]=t+r[n+e]&255,t=i[o+e]}function ur(t,e,r,n,i,o,a){var s;if(null==t)cr(null,null,r,n,i,o,a);else for(s=0;s<a;++s)i[o+s]=t[e+s]+r[n+s]&255}function lr(t,e,r,n,i,o,a){if(null==t)cr(null,null,r,n,i,o,a);else{var s,c=t[e+0],u=c,l=c;for(s=0;s<a;++s)u=l+(c=t[e+s])-u,l=r[n+s]+(-256&u?0>u?0:255:u)&255,u=c,i[o+s]=l}}function fr(t,r,i,a){var s=r.width,c=r.o;if(e(null!=t&&null!=r),0>i||0>=a||i+a>c)return null;if(!t.Cc){if(null==t.ga){var u;if(t.ga=new sr,(u=null==t.ga)||(u=r.width*r.o,e(0==t.Gb.length),t.Gb=o(u),t.Uc=0,null==t.Gb?u=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,u=1),u=!u),!u){u=t.ga;var l=t.Fa,f=t.P,h=t.qc,d=t.mb,p=t.nb,m=f+1,b=h-1,g=u.l;if(e(null!=l&&null!=d&&null!=r),bi[0]=null,bi[1]=cr,bi[2]=ur,bi[3]=lr,u.ca=d,u.tb=p,u.c=r.width,u.i=r.height,e(0<u.c&&0<u.i),1>=h)r=0;else if(u.$a=l[f+0]>>0&3,u.Z=l[f+0]>>2&3,u.Lc=l[f+0]>>4&3,f=l[f+0]>>6&3,0>u.$a||1<u.$a||4<=u.Z||1<u.Lc||f)r=0;else if(g.put=dt,g.ac=ht,g.bc=pt,g.ma=u,g.width=r.width,g.height=r.height,g.Da=r.Da,g.v=r.v,g.va=r.va,g.j=r.j,g.o=r.o,u.$a)t:{e(1==u.$a),r=Ct();e:for(;;){if(null==r){r=0;break t}if(e(null!=u),u.mc=r,r.c=u.c,r.i=u.i,r.l=u.l,r.l.ma=u,r.l.width=u.c,r.l.height=u.i,r.a=0,v(r.m,l,m,b),!jt(u.c,u.i,1,r,null))break e;if(1==r.ab&&3==r.gc[0].hc&&_t(r.s)?(u.ic=1,l=r.c*r.i,r.Ta=null,r.Ua=0,r.V=o(l),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(u.ic=0,r=At(r,u.c)),!r)break e;r=1;break t}u.mc=null,r=0}else r=b>=u.c*u.i;u=!r}if(u)return null;1!=t.ga.Lc?t.Ga=0:a=c-i}e(null!=t.ga),e(i+a<=c);t:{if(r=(l=t.ga).c,c=l.l.o,0==l.$a){if(m=t.rc,b=t.Vc,g=t.Fa,f=t.P+1+i*r,h=t.mb,d=t.nb+i*r,e(f<=t.P+t.qc),0!=l.Z)for(e(null!=bi[l.Z]),u=0;u<a;++u)bi[l.Z](m,b,g,f,h,d,r),m=h,b=d,d+=r,f+=r;else for(u=0;u<a;++u)n(h,d,g,f,r),m=h,b=d,d+=r,f+=r;t.rc=m,t.Vc=b}else{if(e(null!=l.mc),r=i+a,e(null!=(u=l.mc)),e(r<=u.i),u.C>=r)r=1;else if(l.ic||br(),l.ic){l=u.V,m=u.Ba,b=u.c;var y=u.i,w=(g=1,f=u.$/b,h=u.$%b,d=u.m,p=u.s,u.$),x=b*y,O=b*r,S=p.wc,E=w<O?wt(p,h,f):null;e(w<=x),e(r<=y),e(_t(p));e:for(;;){for(;!d.h&&w<O;){if(h&S||(E=wt(p,h,f)),e(null!=E),k(d),256>(y=gt(E.G[0],E.H[0],d)))l[m+w]=y,++w,++h>=b&&(h=0,++f<=r&&!(f%16)&&kt(u,f));else{if(!(280>y)){g=0;break e}y=bt(y-256,d);var M,C=gt(E.G[4],E.H[4],d);if(k(d),!(w>=(C=vt(b,C=bt(C,d)))&&x-w>=y)){g=0;break e}for(M=0;M<y;++M)l[m+w+M]=l[m+w+M-C];for(w+=y,h+=y;h>=b;)h-=b,++f<=r&&!(f%16)&&kt(u,f);w<O&&h&S&&(E=wt(p,h,f))}e(d.h==_(d))}kt(u,f>r?r:f);break e}!g||d.h&&w<x?(g=0,u.a=d.h?5:3):u.$=w,r=g}else r=Et(u,u.V,u.Ba,u.c,u.i,r,Tt);if(!r){a=0;break t}}i+a>=c&&(t.Cc=1),a=1}if(!a)return null;if(t.Cc&&(null!=(a=t.ga)&&(a.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+i*s}function hr(t,e,r,n,i,o){for(;0<i--;){var a,s=t,c=e+(r?1:0),u=t,l=e+(r?0:3);for(a=0;a<n;++a){var f=u[l+4*a];255!=f&&(f*=32897,s[c+4*a+0]=s[c+4*a+0]*f>>23,s[c+4*a+1]=s[c+4*a+1]*f>>23,s[c+4*a+2]=s[c+4*a+2]*f>>23)}e+=o}}function dr(t,e,r,n,i){for(;0<n--;){var o;for(o=0;o<r;++o){var a=t[e+2*o+0],s=15&(u=t[e+2*o+1]),c=4369*s,u=(240&u|u>>4)*c>>16;t[e+2*o+0]=(240&a|a>>4)*c>>16&240|(15&a|a<<4)*c>>16>>4&15,t[e+2*o+1]=240&u|s}e+=i}}function pr(t,e,r,n,i,o,a,s){var c,u,l=255;for(u=0;u<i;++u){for(c=0;c<n;++c){var f=t[e+c];o[a+4*c]=f,l&=f}e+=r,a+=s}return 255!=l}function mr(t,e,r,n,i){var o;for(o=0;o<i;++o)r[n+o]=t[e+o]>>8}function br(){_n=hr,Sn=dr,kn=pr,En=mr}function vr(r,n,i){t[r]=function(t,r,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y){var w,x=y-1>>1,O=s[c+0]|u[l+0]<<16,_=f[h+0]|d[p+0]<<16;e(null!=t);var S=3*O+_+131074>>2;for(n(t[r+0],255&S,S>>16,m,b),null!=o&&(S=3*_+O+131074>>2,n(o[a+0],255&S,S>>16,v,g)),w=1;w<=x;++w){var k=s[c+w]|u[l+w]<<16,E=f[h+w]|d[p+w]<<16,M=O+k+_+E+524296,C=M+2*(k+_)>>3;S=C+O>>1,O=(M=M+2*(O+E)>>3)+k>>1,n(t[r+2*w-1],255&S,S>>16,m,b+(2*w-1)*i),n(t[r+2*w-0],255&O,O>>16,m,b+(2*w-0)*i),null!=o&&(S=M+_>>1,O=C+E>>1,n(o[a+2*w-1],255&S,S>>16,v,g+(2*w-1)*i),n(o[a+2*w+0],255&O,O>>16,v,g+(2*w+0)*i)),O=k,_=E}1&y||(S=3*O+_+131074>>2,n(t[r+y-1],255&S,S>>16,m,b+(y-1)*i),null!=o&&(S=3*_+O+131074>>2,n(o[a+y-1],255&S,S>>16,v,g+(y-1)*i)))}}function gr(){vi[In]=gi,vi[Nn]=wi,vi[Fn]=yi,vi[Bn]=xi,vi[zn]=Oi,vi[Hn]=_i,vi[Un]=Si,vi[Wn]=wi,vi[qn]=xi,vi[Vn]=Oi,vi[Gn]=_i}function yr(t){return t&~Ai?0>t?0:255:t>>ji}function wr(t,e){return yr((19077*t>>8)+(26149*e>>8)-14234)}function xr(t,e,r){return yr((19077*t>>8)-(6419*e>>8)-(13320*r>>8)+8708)}function Or(t,e){return yr((19077*t>>8)+(33050*e>>8)-17685)}function _r(t,e,r,n,i){n[i+0]=wr(t,r),n[i+1]=xr(t,e,r),n[i+2]=Or(t,e)}function Sr(t,e,r,n,i){n[i+0]=Or(t,e),n[i+1]=xr(t,e,r),n[i+2]=wr(t,r)}function kr(t,e,r,n,i){var o=xr(t,e,r);e=o<<3&224|Or(t,e)>>3,n[i+0]=248&wr(t,r)|o>>5,n[i+1]=e}function Er(t,e,r,n,i){var o=240&Or(t,e)|15;n[i+0]=240&wr(t,r)|xr(t,e,r)>>4,n[i+1]=o}function Mr(t,e,r,n,i){n[i+0]=255,_r(t,e,r,n,i+1)}function Cr(t,e,r,n,i){Sr(t,e,r,n,i),n[i+3]=255}function jr(t,e,r,n,i){_r(t,e,r,n,i),n[i+3]=255}function Vt(t,e){return 0>t?0:t>e?e:t}function Ar(e,r,n){t[e]=function(t,e,i,o,a,s,c,u,l){for(var f=u+(-2&l)*n;u!=f;)r(t[e+0],i[o+0],a[s+0],c,u),r(t[e+1],i[o+0],a[s+0],c,u+n),e+=2,++o,++s,u+=2*n;1&l&&r(t[e+0],i[o+0],a[s+0],c,u)}}function Tr(t,e,r){return 0==r?0==t?0==e?6:5:0==e?4:0:r}function Pr(t,e,r,n,i){switch(t>>>30){case 3:an(e,r,n,i,0);break;case 2:sn(e,r,n,i);break;case 1:un(e,r,n,i)}}function Dr(t,e){var r,o,a=e.M,s=e.Nb,c=t.oc,u=t.pc+40,l=t.oc,f=t.pc+584,h=t.oc,d=t.pc+600;for(r=0;16>r;++r)c[u+32*r-1]=129;for(r=0;8>r;++r)l[f+32*r-1]=129,h[d+32*r-1]=129;for(0<a?c[u-1-32]=l[f-1-32]=h[d-1-32]=129:(i(c,u-32-1,127,21),i(l,f-32-1,127,9),i(h,d-32-1,127,9)),o=0;o<t.za;++o){var p=e.ya[e.aa+o];if(0<o){for(r=-1;16>r;++r)n(c,u+32*r-4,c,u+32*r+12,4);for(r=-1;8>r;++r)n(l,f+32*r-4,l,f+32*r+4,4),n(h,d+32*r-4,h,d+32*r+4,4)}var m=t.Gd,b=t.Hd+o,v=p.ad,g=p.Hc;if(0<a&&(n(c,u-32,m[b].y,0,16),n(l,f-32,m[b].f,0,8),n(h,d-32,m[b].ea,0,8)),p.Za){var y=c,w=u-32+16;for(0<a&&(o>=t.za-1?i(y,w,m[b].y[15],4):n(y,w,m[b+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,g<<=2)y=c,w=u+Fi[r],hi[p.Ob[r]](y,w),Pr(g,v,16*+r,y,w)}else if(y=Tr(o,a,p.Ob[0]),fi[y](c,u),0!=g)for(r=0;16>r;++r,g<<=2)Pr(g,v,16*+r,c,u+Fi[r]);for(r=p.Gc,y=Tr(o,a,p.Dd),di[y](l,f),di[y](h,d),g=v,y=l,w=f,255&(p=r>>0)&&(170&p?cn(g,256,y,w):ln(g,256,y,w)),p=h,g=d,255&(r>>=8)&&(170&r?cn(v,320,p,g):ln(v,320,p,g)),a<t.Ub-1&&(n(m[b].y,0,c,u+480,16),n(m[b].f,0,l,f+224,8),n(m[b].ea,0,h,d+224,8)),r=8*s*t.B,m=t.sa,b=t.ta+16*o+16*s*t.R,v=t.qa,p=t.ra+8*o+r,g=t.Ha,y=t.Ia+8*o+r,r=0;16>r;++r)n(m,b+r*t.R,c,u+32*r,16);for(r=0;8>r;++r)n(v,p+r*t.B,l,f+32*r,8),n(g,y+r*t.B,h,d+32*r,8)}}function Rr(t,n,i,o,a,s,c,u,l){var f=[0],h=[0],d=0,p=null!=l?l.kd:0,m=null!=l?l:new nr;if(null==t||12>i)return 7;m.data=t,m.w=n,m.ha=i,n=[n],i=[i],m.gb=[m.gb];t:{var b=n,g=i,y=m.gb;if(e(null!=t),e(null!=g),e(null!=y),y[0]=0,12<=g[0]&&!r(t,b[0],"RIFF")){if(r(t,b[0]+8,"WEBP")){y=3;break t}var w=P(t,b[0]+4);if(12>w||4294967286<w){y=3;break t}if(p&&w>g[0]-8){y=7;break t}y[0]=w,b[0]+=12,g[0]-=12}y=0}if(0!=y)return y;for(w=0<m.gb[0],i=i[0];;){t:{var O=t;g=n,y=i;var _=f,S=h,k=b=[0];if((C=d=[d])[0]=0,8>y[0])y=7;else{if(!r(O,g[0],"VP8X")){if(10!=P(O,g[0]+4)){y=3;break t}if(18>y[0]){y=7;break t}var E=P(O,g[0]+8),M=1+T(O,g[0]+12);if(2147483648<=M*(O=1+T(O,g[0]+15))){y=3;break t}null!=k&&(k[0]=E),null!=_&&(_[0]=M),null!=S&&(S[0]=O),g[0]+=18,y[0]-=18,C[0]=1}y=0}}if(d=d[0],b=b[0],0!=y)return y;if(g=!!(2&b),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&b)),null!=c&&(c[0]=g),null!=u&&(u[0]=0),c=f[0],b=h[0],d&&g&&null==l){y=0;break}if(4>i){y=7;break}if(w&&d||!w&&!d&&!r(t,n[0],"ALPH")){i=[i],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];t:{E=t,y=n,w=i;var C=m.gb;_=m.na,S=m.P,k=m.Sa,M=22,e(null!=E),e(null!=w),O=y[0];var j=w[0];for(e(null!=_),e(null!=k),_[0]=null,S[0]=null,k[0]=0;;){if(y[0]=O,w[0]=j,8>j){y=7;break t}var A=P(E,O+4);if(4294967286<A){y=3;break t}var D=8+A+1&-2;if(M+=D,0<C&&M>C){y=3;break t}if(!r(E,O,"VP8 ")||!r(E,O,"VP8L")){y=0;break t}if(j[0]<D){y=7;break t}r(E,O,"ALPH")||(_[0]=E,S[0]=O+8,k[0]=A),O+=D,j-=D}}if(i=i[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=y)break}i=[i],m.Ja=[m.Ja],m.xa=[m.xa];t:if(C=t,y=n,w=i,_=m.gb[0],S=m.Ja,k=m.xa,E=y[0],O=!r(C,E,"VP8 "),M=!r(C,E,"VP8L"),e(null!=C),e(null!=w),e(null!=S),e(null!=k),8>w[0])y=7;else{if(O||M){if(C=P(C,E+4),12<=_&&C>_-12){y=3;break t}if(p&&C>w[0]-8){y=7;break t}S[0]=C,y[0]+=8,w[0]-=8,k[0]=M}else k[0]=5<=w[0]&&47==C[E+0]&&!(C[E+4]>>5),S[0]=w[0];y=0}if(i=i[0],m.Ja=m.Ja[0],m.xa=m.xa[0],n=n[0],0!=y)break;if(4294967286<m.Ja)return 3;if(null==u||g||(u[0]=m.xa?2:1),c=[c],b=[b],m.xa){if(5>i){y=7;break}u=c,p=b,g=s,null==t||5>i?t=0:5<=i&&47==t[n+0]&&!(t[n+4]>>5)?(w=[0],C=[0],_=[0],v(S=new x,t,n,i),mt(S,w,C,_)?(null!=u&&(u[0]=w[0]),null!=p&&(p[0]=C[0]),null!=g&&(g[0]=_[0]),t=1):t=0):t=0}else{if(10>i){y=7;break}u=b,null==t||10>i||!$t(t,n+3,i-3)?t=0:(p=t[n+0]|t[n+1]<<8|t[n+2]<<16,g=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=m.Ja||!g||!t?t=0:(c&&(c[0]=g),u&&(u[0]=t),t=1))}if(!t)return 3;if(c=c[0],b=b[0],d&&(f[0]!=c||h[0]!=b))return 3;null!=l&&(l[0]=m,l.offset=n-l.w,e(4294967286>n-l.w),e(l.offset==l.ha-i));break}return 0==y||7==y&&d&&null==l?(null!=s&&(s[0]|=null!=m.na&&0<m.na.length),null!=o&&(o[0]=c),null!=a&&(a[0]=b),0):y}function Lr(t,e,r){var n=e.width,i=e.height,o=0,a=0,s=n,c=i;if(e.Da=null!=t&&0<t.Da,e.Da&&(s=t.cd,c=t.bd,o=t.v,a=t.j,11>r||(o&=-2,a&=-2),0>o||0>a||0>=s||0>=c||o+s>n||a+c>i))return 0;if(e.v=o,e.j=a,e.va=o+s,e.o=a+c,e.U=s,e.T=c,e.da=null!=t&&0<t.da,e.da){if(!I(s,c,r=[t.ib],o=[t.hb]))return 0;e.ib=r[0],e.hb=o[0]}return e.ob=null!=t&&t.ob,e.Kb=null==t||!t.Sd,e.da&&(e.ob=e.ib<3*n/4&&e.hb<3*i/4,e.Kb=0),1}function Ir(t){if(null==t)return 2;if(11>t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else e=t.f.kb,t=t.height,e.O+=(t-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function Nr(t,e,r,n){if(null==n||0>=t||0>=e)return 2;if(null!=r){if(r.Da){var i=r.cd,a=r.bd,s=-2&r.v,c=-2&r.j;if(0>s||0>c||0>=i||0>=a||s+i>t||c+a>e)return 2;t=i,e=a}if(r.da){if(!I(t,e,i=[r.ib],a=[r.hb]))return 2;t=i[0],e=a[0]}}n.width=t,n.height=e;t:{var u=n.width,l=n.height;if(t=n.S,0>=u||0>=l||!(t>=In&&13>t))t=2;else{if(0>=n.Rd&&null==n.sd){s=a=i=e=0;var f=(c=u*Ui[t])*l;if(11>t||(a=(l+1)/2*(e=(u+1)/2),12==t&&(s=(i=u)*l)),null==(l=o(f+2*a+s))){t=1;break t}n.sd=l,11>t?((u=n.f.RGBA).eb=l,u.fb=0,u.A=c,u.size=f):((u=n.f.kb).y=l,u.O=0,u.fa=c,u.Fd=f,u.f=l,u.N=0+f,u.Ab=e,u.Cd=a,u.ea=l,u.W=0+f+a,u.Db=e,u.Ed=a,12==t&&(u.F=l,u.J=0+f+2*a),u.Tc=s,u.lb=i)}if(e=1,i=n.S,a=n.width,s=n.height,i>=In&&13>i)if(11>i)t=n.f.RGBA,e&=(c=Math.abs(t.A))*(s-1)+a<=t.size,e&=c>=a*Ui[i],e&=null!=t.eb;else{t=n.f.kb,c=(a+1)/2,f=(s+1)/2,u=Math.abs(t.fa),l=Math.abs(t.Ab);var h=Math.abs(t.Db),d=Math.abs(t.lb),p=d*(s-1)+a;e&=u*(s-1)+a<=t.Fd,e&=l*(f-1)+c<=t.Cd,e=(e&=h*(f-1)+c<=t.Ed)&u>=a&l>=c&h>=c,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=d>=a,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=r&&r.fd&&(t=Ir(n)),t}var Fr=64,Br=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],zr=24,Hr=32,Ur=8,Wr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,r){return e[r+0]},t.Predictor3=function(t,e,r){return e[r+1]},t.Predictor4=function(t,e,r){return e[r-1]},t.Predictor5=function(t,e,r){return H(H(t,e[r+1]),e[r+0])},t.Predictor6=function(t,e,r){return H(t,e[r-1])},t.Predictor7=function(t,e,r){return H(t,e[r+0])},t.Predictor8=function(t,e,r){return H(e[r-1],e[r+0])},t.Predictor9=function(t,e,r){return H(e[r+0],e[r+1])},t.Predictor10=function(t,e,r){return H(H(t,e[r-1]),H(e[r+0],e[r+1]))},t.Predictor11=function(t,e,r){var n=e[r+0];return 0>=q(n>>24&255,t>>24&255,(e=e[r-1])>>24&255)+q(n>>16&255,t>>16&255,e>>16&255)+q(n>>8&255,t>>8&255,e>>8&255)+q(255&n,255&t,255&e)?n:t},t.Predictor12=function(t,e,r){var n=e[r+0];return(U((t>>24&255)+(n>>24&255)-((e=e[r-1])>>24&255))<<24|U((t>>16&255)+(n>>16&255)-(e>>16&255))<<16|U((t>>8&255)+(n>>8&255)-(e>>8&255))<<8|U((255&t)+(255&n)-(255&e)))>>>0},t.Predictor13=function(t,e,r){var n=e[r-1];return(W((t=H(t,e[r+0]))>>24&255,n>>24&255)<<24|W(t>>16&255,n>>16&255)<<16|W(t>>8&255,n>>8&255)<<8|W(t>>0&255,n>>0&255))>>>0};var qr=t.PredictorAdd0;t.PredictorAdd1=V,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var Vr=t.PredictorAdd2;$("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),$("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}));var Gr,Yr=t.ColorIndexInverseTransform,Xr=t.MapARGB,$r=t.VP8LColorIndexInverseTransformAlpha,Kr=t.MapAlpha,Zr=t.VP8LPredictorsAdd=[];Zr.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Jr,Qr,tn,en,rn,nn,on,an,sn,cn,un,ln,fn,hn,dn,pn,mn,bn,vn,gn,yn,wn,xn,On,_n,Sn,kn,En,Mn=o(511),Cn=o(2041),jn=o(225),An=o(767),Tn=0,Pn=Cn,Dn=jn,Rn=An,Ln=Mn,In=0,Nn=1,Fn=2,Bn=3,zn=4,Hn=5,Un=6,Wn=7,qn=8,Vn=9,Gn=10,Yn=[2,3,7],Xn=[3,3,11],$n=[280,256,256,256,40],Kn=[0,1,1,1,0],Zn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ri=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ai=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ci=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ui=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],li=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],fi=[],hi=[],di=[],pi=1,mi=2,bi=[],vi=[];vr("UpsampleRgbLinePair",_r,3),vr("UpsampleBgrLinePair",Sr,3),vr("UpsampleRgbaLinePair",jr,4),vr("UpsampleBgraLinePair",Cr,4),vr("UpsampleArgbLinePair",Mr,4),vr("UpsampleRgba4444LinePair",Er,2),vr("UpsampleRgb565LinePair",kr,2);var gi=t.UpsampleRgbLinePair,yi=t.UpsampleBgrLinePair,wi=t.UpsampleRgbaLinePair,xi=t.UpsampleBgraLinePair,Oi=t.UpsampleArgbLinePair,_i=t.UpsampleRgba4444LinePair,Si=t.UpsampleRgb565LinePair,ki=16,Ei=1<<ki-1,Mi=-227,Ci=482,ji=6,Ai=(256<<ji)-1,Ti=0,Pi=o(256),Di=o(256),Ri=o(256),Li=o(256),Ii=o(Ci-Mi),Ni=o(Ci-Mi);Ar("YuvToRgbRow",_r,3),Ar("YuvToBgrRow",Sr,3),Ar("YuvToRgbaRow",jr,4),Ar("YuvToBgraRow",Cr,4),Ar("YuvToArgbRow",Mr,4),Ar("YuvToRgba4444Row",Er,2),Ar("YuvToRgb565Row",kr,2);var Fi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Bi=[0,2,8],zi=[8,7,6,4,4,2,2,2,1,1,1,1],Hi=1;this.WebPDecodeRGBA=function(t,r,n,i,o){var a=Nn,s=new rr,c=new at;s.ba=c,c.S=a,c.width=[c.width],c.height=[c.height];var u=c.width,l=c.height,f=new st;if(null==f||null==t)var h=2;else e(null!=f),h=Rr(t,r,n,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?u=0:(null!=u&&(u[0]=f.width[0]),null!=l&&(l[0]=f.height[0]),u=1),u){c.width=c.width[0],c.height=c.height[0],null!=i&&(i[0]=c.width),null!=o&&(o[0]=c.height);t:{if(i=new Gt,(o=new nr).data=t,o.w=r,o.ha=n,o.kd=1,r=[0],e(null!=o),(0==(t=Rr(o.data,o.w,o.ha,null,null,null,r,null,o))||7==t)&&r[0]&&(t=4),0==(r=t)){if(e(null!=s),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=dt,i.ac=ht,i.bc=pt,i.ma=s,o.xa){if(null==(t=Ct())){s=1;break t}if(function(t,r){var n=[0],i=[0],o=[0];e:for(;;){if(null==t)return 0;if(null==r)return t.a=2,0;if(t.l=r,t.a=0,v(t.m,r.data,r.w,r.ha),!mt(t.m,n,i,o)){t.a=3;break e}if(t.xb=mi,r.width=n[0],r.height=i[0],!jt(n[0],i[0],1,t,null))break e;return 1}return e(0!=t.a),0}(t,i)){if(i=0==(r=Nr(i.width,i.height,s.Oa,s.ba))){e:{i=t;r:for(;;){if(null==i){i=0;break e}if(e(null!=i.s.yc),e(null!=i.s.Ya),e(0<i.s.Wb),e(null!=(n=i.l)),e(null!=(o=n.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,e(null!=i.ca),!Lr(o.Oa,n,Bn)){i.a=2;break r}if(!At(i,n.width))break r;if(n.da)break r;if((n.da||nt(i.ca.S))&&br(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&br()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!D(i.s.vb,i.s.Wa.Xa)){i.a=1;break r}i.xb=0}if(!Et(i,i.V,i.Ba,i.c,i.i,n.o,Ot))break r;o.Dc=i.Ma,i=1;break e}e(0!=i.a),i=0}i=!i}i&&(r=t.a)}else r=t.a}else{if(null==(t=new Yt)){s=1;break t}if(t.Fa=o.na,t.P=o.P,t.qc=o.Sa,Kt(t,i)){if(0==(r=Nr(i.width,i.height,s.Oa,s.ba))){if(t.Aa=0,n=s.Oa,e(null!=(o=t)),null!=n){if(0<(u=0>(u=n.Md)?0:100<u?255:255*u/100)){for(l=f=0;4>l;++l)12>(h=o.pb[l]).lc&&(h.ia=u*zi[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=n.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qt(t,i)||(r=t.a)}}else r=t.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Ir(s.ba))}s=r}a=0!=s?null:11>a?c.f.RGBA.eb:c.f.kb.y}else a=null;return a};var Ui=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(t,e){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(t[e++]);return r}function l(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16)>>>0}function f(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}new c;var h=[0],d=[0],p=[],m=new c,b=t,v=function(t,e){var r={},n=0,i=!1,o=0,a=0;if(r.frames=[],!function(t,e,r,n){for(var i=0;i<4;i++)if(t[e+i]!="RIFF".charCodeAt(i))return!0;return!1}(t,e)){var s,c;for(f(t,e+=4),e+=8;e<t.length;){var h=u(t,e),d=f(t,e+=4);e+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(v=r.frames[n]).src_off=i?a:e-8,v.src_size=o+d+8,n++,i&&(i=!1,o=0,a=0);break;case"VP8X":(v=r.header={}).feature_flags=t[e];var m=e+4;v.canvas_width=1+l(t,m),m+=3,v.canvas_height=1+l(t,m),m+=3;break;case"ALPH":i=!0,o=p+8,a=e-8;break;case"ANIM":(v=r.header).bgcolor=f(t,e),m=e+4,v.loop_count=(s=t)[(c=m)+0]<<0|s[c+1]<<8,m+=2;break;case"ANMF":var b,v;(v=r.frames[n]={}).offset_x=2*l(t,e),e+=3,v.offset_y=2*l(t,e),e+=3,v.width=1+l(t,e),e+=3,v.height=1+l(t,e),e+=3,v.duration=l(t,e),e+=3,b=t[e++],v.dispose=1&b,v.blend=b>>1&1}"ANMF"!=h&&(e+=p)}return r}}(b,0);v.response=b,v.rgbaoutput=!0,v.dataurl=!1;var g=v.header?v.header:null,y=v.frames?v.frames:null;if(g){g.loop_counter=g.loop_count,h=[g.canvas_height],d=[g.canvas_width];for(var w=0;w<y.length&&0!=y[w].blend;w++);}var x=y[0],O=m.WebPDecodeRGBA(b,x.src_off,x.src_size,d,h);x.rgba=O,x.imgwidth=d[0],x.imgheight=h[0];for(var _=0;_<d[0]*h[0]*4;_++)p[_]=O[_];return this.width=d,this.height=h,this.data=p,this}!function(t){var e=function(e,n,u,l){var f=4,h=a;switch(l){case t.image_compression.FAST:f=1,h=i;break;case t.image_compression.MEDIUM:f=6,h=s;break;case t.image_compression.SLOW:f=9,h=c}e=r(e,n,u,h);var d=Object(o.b)(e,{level:f});return t.__addimage__.arrayBufferToBinaryString(d)},r=function(t,e,r,n){for(var i,o,a,s=t.length/e,c=new Uint8Array(t.length+s),u=l(),h=0;h<s;h+=1){if(a=h*e,i=t.subarray(a,a+e),n)c.set(n(i,r,o),a+h);else{for(var d,p=u.length,m=[];d<p;d+=1)m[d]=u[d](i,r,o);var b=f(m.concat());c.set(m[b],a+h)}o=i}return c},n=function(t){var e=Array.apply([],t);return e.unshift(0),e},i=function(t,e){var r,n=[],i=t.length;n[0]=1;for(var o=0;o<i;o+=1)r=t[o-e]||0,n[o+1]=t[o]-r+256&255;return n},a=function(t,e,r){var n,i=[],o=t.length;i[0]=2;for(var a=0;a<o;a+=1)n=r&&r[a]||0,i[a+1]=t[a]-n+256&255;return i},s=function(t,e,r){var n,i,o=[],a=t.length;o[0]=3;for(var s=0;s<a;s+=1)n=t[s-e]||0,i=r&&r[s]||0,o[s+1]=t[s]+256-(n+i>>>1)&255;return o},c=function(t,e,r){var n,i,o,a,s=[],c=t.length;s[0]=4;for(var l=0;l<c;l+=1)n=t[l-e]||0,i=r&&r[l]||0,o=r&&r[l-e]||0,a=u(n,i,o),s[l+1]=t[l]-a+256&255;return s},u=function(t,e,r){if(t===e&&e===r)return t;var n=Math.abs(e-r),i=Math.abs(t-r),o=Math.abs(t+e-r-r);return n<=i&&n<=o?t:i<=o?e:r},l=function(){return[n,i,a,s,c]},f=function(t){var e=t.map((function(t){return t.reduce((function(t,e){return t+Math.abs(e)}),0)}));return e.indexOf(Math.min.apply(null,e))};t.processPNG=function(r,n,i,a){var s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O=this.decode.FLATE_DECODE,_="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(u=new Jt(r)).imgData,c=u.bits,s=u.colorSpace,f=u.colors,-1!==[4,6].indexOf(u.colorType)){if(8===u.bits){m=(p=32==u.pixelBitlength?new Uint32Array(u.decodePixels().buffer):16==u.pixelBitlength?new Uint16Array(u.decodePixels().buffer):new Uint8Array(u.decodePixels().buffer)).length,v=new Uint8Array(m*u.colors),b=new Uint8Array(m);var S,k=u.pixelBitlength-u.bits;for(w=0,x=0;w<m;w++){for(y=p[w],S=0;S<k;)v[x++]=y>>>S&255,S+=u.bits;b[w]=y>>>S&255}}if(16===u.bits){m=(p=new Uint32Array(u.decodePixels().buffer)).length,v=new Uint8Array(m*(32/u.pixelBitlength)*u.colors),b=new Uint8Array(m*(32/u.pixelBitlength)),g=u.colors>1,w=0,x=0;for(var E=0;w<m;)y=p[w++],v[x++]=y>>>0&255,g&&(v[x++]=y>>>16&255,y=p[w++],v[x++]=y>>>0&255),b[E++]=y>>>16&255;c=8}a!==t.image_compression.NONE&&"function"==typeof o.b?(r=e(v,u.width*u.colors,u.colors,a),d=e(b,u.width,1,a)):(r=v,d=b,O=void 0)}if(3===u.colorType&&(s=this.color_spaces.INDEXED,h=u.palette,u.transparency.indexed)){var M=u.transparency.indexed,C=0;for(w=0,m=M.length;w<m;++w)C+=M[w];if((C/=255)===m-1&&-1!==M.indexOf(0))l=[M.indexOf(0)];else if(C!==m){for(p=u.decodePixels(),b=new Uint8Array(p.length),w=0,m=p.length;w<m;w++)b[w]=M[p[w]];d=e(b,u.width,1)}}var j=function(e){var r;switch(e){case t.image_compression.FAST:r=11;break;case t.image_compression.MEDIUM:r=13;break;case t.image_compression.SLOW:r=14;break;default:r=12}return r}(a);return O===this.decode.FLATE_DECODE&&(_="/Predictor "+j+" "),_+="/Colors "+f+" /BitsPerComponent "+c+" /Columns "+u.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:i,data:r,index:n,filter:O,decodeParameters:_,transparency:l,palette:h,sMask:d,predictor:j,width:u.width,height:u.height,bitsPerComponent:c,colorSpace:s}}}}(B.API),function(t){t.processGIF89A=function(e,r,n,i){var o=new Qt(e),a=o.width,s=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var u={data:c,width:a,height:s},l=new ee(100).encode(u,100);return t.processJPEG.call(this,l,r,n,i)},t.processGIF87A=t.processGIF89A}(B.API),re.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},re.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(t){c.log("bit decode error:"+t)}},re.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var c=this.palette[o>>7-s&1];this.data[a+4*s]=c.blue,this.data[a+4*s+1]=c.green,this.data[a+4*s+2]=c.red,this.data[a+4*s+3]=255}0!==r&&(this.pos+=4-r)}},re.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<t;i++){var o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+2*i*4,s=o>>4,c=15&o,u=this.palette[s];if(this.data[a]=u.blue,this.data[a+1]=u.green,this.data[a+2]=u.red,this.data[a+3]=255,2*i+1>=this.width)break;u=this.palette[c],this.data[a+4]=u.blue,this.data[a+4+1]=u.green,this.data[a+4+2]=u.red,this.data[a+4+3]=255}0!==e&&(this.pos+=4-e)}},re.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*n;if(i<this.palette.length){var a=this.palette[i];this.data[o]=a.red,this.data[o+1]=a.green,this.data[o+2]=a.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==t&&(this.pos+=4-t)}},re.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&e)/e*255|0,s=(o>>5&e)/e*255|0,c=(o>>10&e)/e*255|0,u=o>>15?255:0,l=n*this.width*4+4*i;this.data[l]=c,this.data[l+1]=s,this.data[l+2]=a,this.data[l+3]=u}this.pos+=t}},re.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&e)/e*255|0,c=(a>>5&r)/r*255|0,u=(a>>11)/e*255|0,l=i*this.width*4+4*o;this.data[l]=u,this.data[l+1]=c,this.data[l+2]=s,this.data[l+3]=255}this.pos+=t}},re.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*r;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=n,this.data[a+3]=255}this.pos+=this.width%4}},re.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*r;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=a}},re.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,r,n,i){var o=new re(e,!1),a=o.width,s=o.height,c={data:o.getData(),width:a,height:s},u=new ee(100).encode(c,100);return t.processJPEG.call(this,u,r,n,i)}}(B.API),ne.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,r,n,i){var o=new ne(e,!1),a=o.width,s=o.height,c={data:o.getData(),width:a,height:s},u=new ee(100).encode(c,100);return t.processJPEG.call(this,u,r,n,i)}}(B.API),B.API.processRGBA=function(t,e,r){for(var n=t.data,i=n.length,o=new Uint8Array(i/4*3),a=new Uint8Array(i/4),s=0,c=0,u=0;u<i;u+=4){var l=n[u],f=n[u+1],h=n[u+2],d=n[u+3];o[s++]=l,o[s++]=f,o[s++]=h,a[c++]=d}var p=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(a),data:p,index:e,alias:r,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},B.API.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]&&(this.internal.languageSettings.languageCode=t,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},Yt=B.API,Xt=Yt.getCharWidthsArray=function(t,e){var r,n,o=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),s=e.charSpace||this.internal.getCharSpace(),c=e.widths?e.widths:o.metadata.Unicode.widths,u=c.fof?c.fof:1,l=e.kerning?e.kerning:o.metadata.Unicode.kerning,f=l.fof?l.fof:1,h=!1!==e.doKerning,d=0,p=t.length,m=0,b=c[0]||u,v=[];for(r=0;r<p;r++)n=t.charCodeAt(r),"function"==typeof o.metadata.widthOfString?v.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(n))+s*(1e3/a)||0)/1e3):(d=h&&"object"===i()(l[n])&&!isNaN(parseInt(l[n][m],10))?l[n][m]/f:0,v.push((c[n]||b)/u+d)),m=n;return v},$t=Yt.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return Yt.processArabic&&(t=Yt.processArabic(t)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(t,r,i)/r:Xt.apply(this,arguments).reduce((function(t,e){return t+e}),0)},Kt=function(t,e,r,n){for(var i=[],o=0,a=t.length,s=0;o!==a&&s+e[o]<r;)s+=e[o],o++;i.push(t.slice(0,o));var c=o;for(s=0;o!==a;)s+e[o]>n&&(i.push(t.slice(c,o)),s=0,c=o),s+=e[o],o++;return c!==o&&i.push(t.slice(c,o)),i},Zt=function(t,e,r){r||(r={});var n,i,o,a,s,c,u,l=[],f=[l],h=r.textIndent||0,d=0,p=0,m=t.split(" "),b=Xt.apply(this,[" ",r])[0];if(c=-1===r.lineIndent?m[0].length+2:r.lineIndent||0){var v=Array(c).join(" "),g=[];m.map((function(t){(t=t.split(/\s*\n/)).length>1?g=g.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):g.push(t[0])})),m=g,c=$t.apply(this,[v,r])}for(o=0,a=m.length;o<a;o++){var y=0;if(n=m[o],c&&"\n"==n[0]&&(n=n.substr(1),y=1),h+d+(p=(i=Xt.apply(this,[n,r])).reduce((function(t,e){return t+e}),0))>e||y){if(p>e){for(s=Kt.apply(this,[n,i,e-(h+d),e]),l.push(s.shift()),l=[s.pop()];s.length;)f.push([s.shift()]);p=i.slice(n.length-(l[0]?l[0].length:0)).reduce((function(t,e){return t+e}),0)}else l=[n];f.push(l),h=p+c,d=b}else l.push(n),h+=d+p,d=b}return u=c?function(t,e){return(e?v:"")+t.join(" ")}:function(t){return t.join(" ")},f.map(u)},Yt.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),o=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle);return e.metadata.Unicode?{widths:e.metadata.Unicode.widths||{0:1},kerning:e.metadata.Unicode.kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var a=1*this.internal.scaleFactor*e/i;o.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=r.lineIndent;var s,c,u=[];for(s=0,c=n.length;s<c;s++)u=u.concat(Zt.apply(this,[n[s],a,o]));return u},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",r={},n={},o=0;o<e.length;o++)r[e[o]]="0123456789abcdef"[o],n["0123456789abcdef"[o]]=e[o];var a=function(t){return"0x"+parseInt(t,10).toString(16)},s=t.__fontmetrics__.compress=function(t){var e,r,o,c,u=["{"];for(var l in t){if(e=t[l],isNaN(parseInt(l,10))?r="'"+l+"'":(l=parseInt(l,10),r=(r=a(l).slice(2)).slice(0,-1)+n[r.slice(-1)]),"number"==typeof e)e<0?(o=a(e).slice(3),c="-"):(o=a(e).slice(2),c=""),o=c+o.slice(0,-1)+n[o.slice(-1)];else{if("object"!==i()(e))throw new Error("Don't know what to do with value type "+i()(e)+".");o=s(e)}u.push(r+o)}return u.push("}"),u.join("")},c=t.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var e,n,i,o,a={},s=1,c=a,u=[],l="",f="",h=t.length-1,d=1;d<h;d+=1)"'"==(o=t[d])?e?(i=e.join(""),e=void 0):e=[]:e?e.push(o):"{"==o?(u.push([c,i]),c={},i=void 0):"}"==o?((n=u.pop())[0][n[1]]=c,i=void 0,c=n[0]):"-"==o?s=-1:void 0===i?r.hasOwnProperty(o)?(l+=r[o],i=parseInt(l,16)*s,s=1,l=""):l+=o:r.hasOwnProperty(o)?(f+=r[o],c[i]=parseInt(f,16)*s,s=1,i=void 0,f=""):f+=o;return a},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},f={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":c("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(t){var e=t.font,r=f.Unicode[e.postScriptName];r&&(e.metadata.Unicode={},e.metadata.Unicode.widths=r.widths,e.metadata.Unicode.kerning=r.kerning);var n=l.Unicode[e.postScriptName];n&&(e.metadata.Unicode.encoding=n,e.encoding=n.codePages[0])}])}(B.API),function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r};t.API.events.push(["addFont",function(r){var n=void 0,i=r.font,o=r.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(n=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?e(n):e(h(n)),r.metadata=t.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(i,n)}}])}(B),function(t){function e(){return(a.canvg?Promise.resolve(a.canvg):r.e(3).then(r.bind(null,1331))).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}B.API.addSvgAsImage=function(t,r,n,i,o,a,s,u){if(isNaN(r)||isNaN(n))throw c.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw c.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=i,l.height=o;var f=l.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,l.width,l.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(f,t,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){d.addImage(l.toDataURL("image/jpeg",1),r,n,i,o,s,u)}))}}(),B.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},B.API.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var n,o,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],l=0,f=0,h=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===t||!0===e){var p=c.length;for(h=0;h<p;h+=1)r[c[h]].value=r[c[h]].defaultValue,r[c[h]].explicitSet=!1}if("object"===i()(t))for(o in t)if(a=t[o],d(c,o)&&void 0!==a){if("boolean"===r[o].type&&"boolean"==typeof a)r[o].value=a;else if("name"===r[o].type&&d(r[o].valueSet,a))r[o].value=a;else if("integer"===r[o].type&&Number.isInteger(a))r[o].value=a;else if("array"===r[o].type){for(l=0;l<a.length;l+=1)if(n=!0,1===a[l].length&&"number"==typeof a[l][0])u.push(String(a[l]-1));else if(a[l].length>1){for(f=0;f<a[l].length;f+=1)"number"!=typeof a[l][f]&&(n=!1);!0===n&&u.push([a[l][0]-1,a[l][1]-1].join(" "))}r[o].value="["+u.join(" ")+"]"}else r[o].value=r[o].defaultValue;r[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in r)!0===r[t].explicitSet&&("name"===r[t].type?e.push("/"+t+" /"+r[t].value):e.push("/"+t+" "+r[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},function(t){var e=function(){var t='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',e=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(t)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),a=r.length+n.length+i.length+e.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(e+r+n+i+o),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(B.API),function(t){var e=t.API,r=e.pdfEscape16=function(t,e){for(var r,n=e.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],a=0,s=t.length;a<s;++a){if(r=e.metadata.characterToGlyph(t.charCodeAt(a)),e.metadata.glyIdsUsed.push(r),e.metadata.toUnicode[r]=t.charCodeAt(a),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(e.metadata.widthOfGlyph(r),10)])),"0"==r)return o.join("");r=r.toString(16),o.push(i[4-r.length],r)}return o.join("")},n=function(t){var e,r,n,i,o,a,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],a=0,s=(r=Object.keys(t).sort((function(t,e){return t-e}))).length;a<s;a++)e=r[a],n.length>=100&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),n.push("<"+e+"><"+i+">"));return n.length&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,o=e.newObject,a=e.putStream;if(r.metadata instanceof t.API.TTFFont&&"Identity-H"===r.encoding){for(var s=r.metadata.Unicode.widths,c=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",l=0;l<c.length;l++)u+=String.fromCharCode(c[l]);var f=o();a({data:u,addLength1:!0,objectId:f}),i("endobj");var h=o();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var d=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+D(r.fontName)),i("/FontFile2 "+f+" 0 R"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/Flags "+r.metadata.flags),i("/StemV "+r.metadata.stemV),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i(">>"),i("endobj");var p=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+D(r.fontName)),i("/FontDescriptor "+d+" 0 R"),i("/W "+t.API.PDFObject.convert(s)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+r.encoding+")"),i(">>"),i(">>"),i("endobj"),r.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+D(r.fontName)),i("/Encoding /"+r.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]),e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,o=e.newObject,a=e.putStream;if(r.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var s=r.metadata.rawData,c="",u=0;u<s.length;u++)c+=String.fromCharCode(s[u]);var l=o();a({data:c,addLength1:!0,objectId:l}),i("endobj");var f=o();a({data:n(r.metadata.toUnicode),addLength1:!0,objectId:f}),i("endobj");var h=o();i("<<"),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i("/StemV "+r.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+l+" 0 R"),i("/Flags 96"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/FontName /"+D(r.fontName)),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i(">>"),i("endobj"),r.objectNumber=o();for(var d=0;d<r.metadata.hmtx.widths.length;d++)r.metadata.hmtx.widths[d]=parseInt(r.metadata.hmtx.widths[d]*(1e3/r.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+f+" 0 R/BaseFont/"+D(r.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,n=t.text||"",i=t.x,o=t.y,a=t.options||{},s=t.mutex||{},c=s.pdfEscape,u=s.activeFontKey,l=s.fonts,f=u,h="",d=0,p="",m=l[f].encoding;if("Identity-H"!==l[f].encoding)return{text:n,x:i,y:o,options:a,mutex:s};for(p=n,f=u,Array.isArray(n)&&(p=n[0]),d=0;d<p.length;d+=1)l[f].metadata.hasOwnProperty("cmap")&&(e=l[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),e||p[d].charCodeAt(0)<256&&l[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var b="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===m?b=c(h,f).split("").map((function(t){return t.charCodeAt(0).toString(16)})).join(""):"Identity-H"===m&&(b=r(h,l[f])),s.isHex=!0,{text:b,x:i,y:o,options:a,mutex:s}};e.events.push(["postProcessText",function(t){var e=t.text||"",r=[],n={text:e,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(e)){var o=0;for(o=0;o<e.length;o+=1)Array.isArray(e[o])&&3===e[o].length?r.push([i(Object.assign({},n,{text:e[o][0]})).text,e[o][1],e[o][2]]):r.push(i(Object.assign({},n,{text:e[o]})).text);t.text=r}else t.text=i(Object.assign({},n,{text:e})).text}])}(B),function(t){var e=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]},t.addFileToVFS=function(t,r){return e.call(this),this.internal.vFS[t]=r,this},t.getFileFromVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(B.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var r,n,i,o,a,s,c,u=e,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],m=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),b=!1,v=0;this.__bidiEngine__={};var g=function(t){var e=t.charCodeAt(),r=e>>8,n=d[r];return void 0!==n?u[256*n+(255&e)]:252===r||253===r?"AL":m.test(r)?"L":8===r?"R":"N"},y=function(t){for(var e,r=0;r<t.length;r++){if("L"===(e=g(t.charAt(r))))return!1;if("R"===e)return!0}return!1},w=function(t,e,a,s){var c,u,l,f,h=e[s];switch(h){case"L":case"R":b=!1;break;case"N":case"AN":break;case"EN":b&&(h="AN");break;case"AL":b=!0,h="R";break;case"WS":h="N";break;case"CS":s<1||s+1>=e.length||"EN"!==(c=a[s-1])&&"AN"!==c||"EN"!==(u=e[s+1])&&"AN"!==u?h="N":b&&(u="AN"),h=u===c?u:"N";break;case"ES":h="EN"===(c=s>0?a[s-1]:"B")&&s+1<e.length&&"EN"===e[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===a[s-1]){h="EN";break}if(b){h="N";break}for(l=s+1,f=e.length;l<f&&"ET"===e[l];)l++;h=l<f&&"EN"===e[l]?"EN":"N";break;case"NSM":if(i&&!o){for(f=e.length,l=s+1;l<f&&"NSM"===e[l];)l++;if(l<f){var d=t[s],p=d>=1425&&d<=2303||64286===d;if(c=e[l],p&&("R"===c||"AL"===c)){h="R";break}}}h=s<1||"B"===(c=e[s-1])?"N":a[s-1];break;case"B":b=!1,r=!0,h=v;break;case"S":n=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":b=!1;break;case"BN":h="N"}return h},x=function(t,e,r){var n=t.split("");return r&&O(n,r,{hiLevel:v}),n.reverse(),e&&e.reverse(),n.join("")},O=function(t,e,i){var o,a,s,c,u,d=-1,p=t.length,m=0,y=[],x=v?f:l,O=[];for(b=!1,r=!1,n=!1,a=0;a<p;a++)O[a]=g(t[a]);for(s=0;s<p;s++){if(u=m,y[s]=w(t,O,y,s),o=240&(m=x[u][h[y[s]]]),m&=15,e[s]=c=x[m][5],o>0)if(16===o){for(a=d;a<s;a++)e[a]=1;d=-1}else d=-1;if(x[m][6])-1===d&&(d=s);else if(d>-1){for(a=d;a<s;a++)e[a]=c;d=-1}"B"===O[s]&&(e[s]=0),i.hiLevel|=c}n&&function(t,e,r){for(var n=0;n<r;n++)if("S"===t[n]){e[n]=v;for(var i=n-1;i>=0&&"WS"===t[i];i--)e[i]=v}}(O,e,p)},_=function(t,e,n,i,o){if(!(o.hiLevel<t)){if(1===t&&1===v&&!r)return e.reverse(),void(n&&n.reverse());for(var a,s,c,u,l=e.length,f=0;f<l;){if(i[f]>=t){for(c=f+1;c<l&&i[c]>=t;)c++;for(u=f,s=c-1;u<s;u++,s--)a=e[u],e[u]=e[s],e[s]=a,n&&(a=n[u],n[u]=n[s],n[s]=a);f=c}f++}}},S=function(t,e,r){var n=t.split(""),i={hiLevel:v};return r||(r=[]),O(n,r,i),function(t,e,r){if(0!==r.hiLevel&&c)for(var n,i=0;i<t.length;i++)1===e[i]&&(n=p.indexOf(t[i]))>=0&&(t[i]=p[n+1])}(n,r,i),_(2,n,e,r,i),_(1,n,e,r,i),n.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,r){if(function(t,e){if(e)for(var r=0;r<t.length;r++)e[r]=r;void 0===o&&(o=y(t)),void 0===s&&(s=y(t))}(t,e),i||!a||s)if(i&&a&&o^s)v=o?1:0,t=x(t,e,r);else if(!i&&a&&s)v=o?1:0,t=S(t,e,r),t=x(t,e);else if(!i||o||a||s){if(i&&!a&&o^s)t=x(t,e),o?(v=0,t=S(t,e,r)):(v=1,t=S(t,e,r),t=x(t,e));else if(i&&o&&!a&&s)v=1,t=S(t,e,r),t=x(t,e);else if(!i&&!a&&o^s){var n=c;o?(v=1,t=S(t,e,r),v=0,c=!1,t=S(t,e,r),c=n):(v=0,t=S(t,e,r),t=x(t,e),v=1,c=!1,t=S(t,e,r),c=n,t=x(t,e))}}else v=0,t=S(t,e,r);else v=o?1:0,t=S(t,e,r);return t},this.__bidiEngine__.setOptions=function(t){t&&(i=t.isInputVisual,a=t.isOutputVisual,o=t.isInputRtl,s=t.isOutputRtl,c=t.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var e=t.text,n=(t.x,t.y,t.options||{}),i=(t.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(e)){var o=0;for(i=[],o=0;o<e.length;o+=1)"[object Array]"===Object.prototype.toString.call(e[o])?i.push([r.doBidiReorder(e[o][0]),e[o][1],e[o][2]]):i.push([r.doBidiReorder(e[o])]);t.text=i}else t.text=r.doBidiReorder(e);r.setOptions({isInputVisual:!0})}])}(B),B.API.TTFFont=function(){function t(t){var e;if(this.rawData=t,e=this.contents=new oe(t),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new Se(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new ae(this.contents),this.head=new ue(this),this.name=new be(this),this.cmap=new fe(this),this.toUnicode={},this.hhea=new he(this),this.maxp=new ve(this),this.hmtx=new ge(this),this.post=new pe(this),this.os2=new de(this),this.loca=new _e(this),this.glyf=new we(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var t,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var e,r,n,i;for(i=[],e=0,r=(n=this.bbox).length;e<r;e++)t=n[e],i.push(Math.round(t*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),0!=(32768&(e=n>>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,r){var n,i,o,a;for(o=0,i=0,a=(t=""+t).length;0<=a?i<a:i>a;i=0<=a?++i:--i)n=t.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return o*(e/1e3)},t.prototype.lineHeight=function(t,e){var r;return null==e&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},t}();var ie,oe=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(t){var e,r,n;for(n=[],e=0,r=t.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(t.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,r,n,i,o,a,s;return t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*o+256*a+s},t.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(t){var e,r,n,i;for(i=[],r=0,n=t.length;r<n;r++)e=t[r],i.push(this.writeByte(e));return i},t}(),ae=function(){var t;function e(t){var e,r,n;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var r,n,i,o,a,s,c,u,l,f,h,d,p;for(p in h=Object.keys(e).length,s=Math.log(2),l=16*Math.floor(Math.log(h)/s),o=Math.floor(l/s),u=16*h-l,(n=new oe).writeInt(this.scalarType),n.writeShort(h),n.writeShort(l),n.writeShort(o),n.writeShort(u),i=16*h,c=n.pos+i,a=null,d=[],e)for(f=e[p],n.writeString(p),n.writeInt(t(f)),n.writeInt(c),n.writeInt(f.length),d=d.concat(f),"head"===p&&(a=c),c+=f.length;c%4;)d.push(0),c++;return n.write(d),r=2981146554-t(n.data),n.pos=a+8,n.writeUInt32(r),n.data},t=function(t){var e,r,n,i;for(t=ye.call(t);t.length%4;)t.push(0);for(n=new oe(t),r=0,e=0,i=t.length;e<i;e=e+=4)r+=n.readUInt32();return 4294967295&r},e}(),se={}.hasOwnProperty,ce=function(t,e){for(var r in e)se.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};ie=function(){function t(t){var e;this.file=t,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var ue=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="head",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},e.prototype.encode=function(t){var e;return(e=new oe).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(t),e.writeShort(this.glyphDataFormat),e.data},e}(),le=function(){function t(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),l=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=t.readByte();break;case 4:for(h=t.readUInt16(),f=h/2,t.pos+=6,i=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),t.pos+=2,p=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),c=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),u=function(){var e,r;for(r=[],s=e=0;0<=f?e<f:e>f;s=0<=f?++e:--e)r.push(t.readUInt16());return r}(),n=(this.length-t.pos+this.offset)/2,a=function(){var e,r;for(r=[],s=e=0;0<=n?e<n:e>n;s=0<=n?++e:--e)r.push(t.readUInt16());return r}(),s=b=0,g=i.length;b<g;s=++b)for(m=i[s],r=v=d=p[s];d<=m?v<=m:v>=m;r=d<=m?++v:--v)0===u[s]?o=r+c[s]:0!==(o=a[u[s]/2+(r-d)-(f-s)]||0)&&(o+=c[s]),this.codeMap[r]=65535&o}t.pos=l}return t.encode=function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A,T,P,D,R,L,I,N,F,B,z,H,U,W,q,V,G,Y;switch(j=new oe,o=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(p=0,m=function(){var t=[];for(d=0;d<256;++d)t.push(0);return t}(),v={0:0},i={},A=0,R=o.length;A<R;A++)null==v[q=t[n=o[A]]]&&(v[q]=++p),i[n]={old:t[n],new:v[t[n]]},m[n]=v[t[n]];return j.writeUInt16(1),j.writeUInt16(0),j.writeUInt32(12),j.writeUInt16(0),j.writeUInt16(262),j.writeUInt16(0),j.write(m),{charMap:i,subtable:j.data,maxGlyphID:p+1};case"unicode":for(M=[],l=[],g=0,v={},r={},b=c=null,T=0,L=o.length;T<L;T++)null==v[w=t[n=o[T]]]&&(v[w]=++g),r[n]={old:w,new:v[w]},a=v[w]-n,null!=b&&a===c||(b&&l.push(b),M.push(n),c=a),b=n;for(b&&l.push(b),l.push(65535),M.push(65535),k=2*(S=M.length),_=2*Math.pow(Math.log(S)/Math.LN2,2),f=Math.log(_/2)/Math.LN2,O=2*S-_,s=[],x=[],h=[],d=P=0,I=M.length;P<I;d=++P){if(E=M[d],u=l[d],65535===E){s.push(0),x.push(0);break}if(E-(C=r[E].new)>=32768)for(s.push(0),x.push(2*(h.length+S-d)),n=D=E;E<=u?D<=u:D>=u;n=E<=u?++D:--D)h.push(r[n].new);else s.push(C-E),x.push(0)}for(j.writeUInt16(3),j.writeUInt16(1),j.writeUInt32(12),j.writeUInt16(4),j.writeUInt16(16+8*S+2*h.length),j.writeUInt16(0),j.writeUInt16(k),j.writeUInt16(_),j.writeUInt16(f),j.writeUInt16(O),U=0,N=l.length;U<N;U++)n=l[U],j.writeUInt16(n);for(j.writeUInt16(0),W=0,F=M.length;W<F;W++)n=M[W],j.writeUInt16(n);for(V=0,B=s.length;V<B;V++)a=s[V],j.writeUInt16(a);for(G=0,z=x.length;G<z;G++)y=x[G],j.writeUInt16(y);for(Y=0,H=h.length;Y<H;Y++)p=h[Y],j.writeUInt16(p);return{charMap:r,subtable:j.data,maxGlyphID:g+1}}},t}(),fe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="cmap",e.prototype.parse=function(t){var e,r,n;for(t.pos=this.offset,this.version=t.readUInt16(),n=t.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e=new le(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var r,n;return null==e&&(e="macroman"),r=le.encode(t,e),(n=new oe).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(),he=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(),de=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(t.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(t.readInt());return r}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(t.readInt());return r}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(),pe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="post",e.prototype.parse=function(t){var e,r,n;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:break;case 131072:var i;for(r=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],n=[];t.pos<this.offset+this.length;)e=t.readByte(),n.push(this.names.push(t.readString(e)));return n;case 151552:return r=t.readUInt16(),this.offsets=t.read(r);case 196608:break;case 262144:return this.map=function(){var e,r,n;for(n=[],i=e=0,r=this.file.maxp.numGlyphs;0<=r?e<r:e>r;i=0<=r?++e:--e)n.push(t.readUInt32());return n}.call(this)}},e}(),me=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},be=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="name",e.prototype.parse=function(t){var e,r,n,i,o,a,s,c,u,l,f;for(t.pos=this.offset,t.readShort(),e=t.readShort(),a=t.readShort(),r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+a+t.readShort()});for(s={},i=u=0,l=r.length;u<l;i=++u)n=r[i],t.pos=n.offset,c=t.readString(n.length),o=new me(c,n),null==s[f=n.nameID]&&(s[f]=[]),s[n.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(),ve=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},e}(),ge=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="hmtx",e.prototype.parse=function(t){var e,r,n,i,o,a,s;for(t.pos=this.offset,this.metrics=[],e=0,a=this.file.hhea.numberOfMetrics;0<=a?e<a:e>a;e=0<=a?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,i;for(i=[],e=r=0;0<=n?r<n:r>n;e=0<=n?++r:--r)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.metrics).length;t<e;t++)i=r[t],n.push(i.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],e=o=0;0<=n?o<n:o>n;e=0<=n?++o:--o)s.push(this.widths.push(r));return s},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(),ye=[].slice,we=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,r,n,i,o,a,s,c,u,l;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(t),0===(n=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+r,o=(a=new oe(e.read(n))).readShort(),c=a.readShort(),l=a.readShort(),s=a.readShort(),u=a.readShort(),this.cache[t]=-1===o?new Oe(a,c,l,s,u):new xe(a,o,c,l,s,u),this.cache[t]))},e.prototype.encode=function(t,e,r){var n,i,o,a,s;for(o=[],i=[],a=0,s=e.length;a<s;a++)n=t[e[a]],i.push(o.length),n&&(o=o.concat(n.encode(r)));return i.push(o.length),{table:o,offsets:i}},e}(),xe=function(){function t(t,e,r,n,i,o){this.raw=t,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=o,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),Oe=function(){function t(t,e,r,n,i){var o,a;for(this.raw=t,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;a=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&a;)o.pos+=1&a?4:2,128&a?o.pos+=8:64&a?o.pos+=4:8&a&&(o.pos+=2)}return t.prototype.encode=function(){var t,e,r;for(e=new oe(ye.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)e.pos=this.glyphOffsets[t];return e.data},t}(),_e=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="loca",e.prototype.parse=function(t){var e,r;return t.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=0===e?function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=2)n.push(2*t.readUInt16());return n}.call(this):function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=4)n.push(t.readUInt32());return n}.call(this)},e.prototype.indexOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},e.prototype.encode=function(t,e){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,o=0;o<r.length;++o)if(r[o]=n,i<e.length&&e[i]==o){++i,r[o]=n;var a=this.offsets[o],s=this.offsets[o+1]-a;s>0&&(n+=s)}for(var c=new Array(4*r.length),u=0;u<r.length;++u)c[4*u+3]=255&r[u],c[4*u+2]=(65280&r[u])>>8,c[4*u+1]=(16711680&r[u])>>16,c[4*u]=(4278190080&r[u])>>24;return c},e}(),Se=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,t={},i=this.subset)r=i[e],t[e]=n[r];return t},t.prototype.glyphsFor=function(t){var e,r,n,i,o,a,s;for(n={},o=0,a=t.length;o<a;o++)n[i=t[o]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(null!=(r=n[i])?r.compound:void 0)&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in s=this.glyphsFor(e))r=s[i],n[i]=r;return n},t.prototype.encode=function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b;for(n in r=fe.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(t),h={0:0},b=r.charMap)h[(s=b[n]).old]=s.new;for(d in f=r.maxGlyphID,o)d in h||(h[d]=f++);return u=function(t){var e,r;for(e in r={},t)r[t[e]]=e;return r}(h),l=Object.keys(u).sort((function(t,e){return t-e})),p=function(){var t,e,r;for(r=[],t=0,e=l.length;t<e;t++)a=l[t],r.push(u[a]);return r}(),i=this.font.glyf.encode(o,p,h),c=this.font.loca.encode(i.offsets,p),m={cmap:this.font.cmap.raw(),glyf:i.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(m["OS/2"]=this.font.os2.raw()),this.font.directory.encode(m)},t}();B.API.PDFObject=function(){var t;function e(){}return t=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},e.convert=function(r){var n,i,o,a;if(Array.isArray(r))return"["+function(){var t,i,o;for(o=[],t=0,i=r.length;t<i;t++)n=r[t],o.push(e.convert(n));return o}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(i in o=["<<"],r)a=r[i],o.push("/"+i+" "+e.convert(a));return o.push(">>"),o.join("\n")}return""+r},e}(),e.default=B}.call(this,r(120))},function(t,e,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&t.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&t.push(s);else t.push(n.toString())}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},,function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return d})),r.d(e,"c",(function(){return v})),r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return f})),r.d(e,"f",(function(){return b})),r.d(e,"g",(function(){return o})),r.d(e,"h",(function(){return u})),r.d(e,"i",(function(){return h})),r.d(e,"j",(function(){return l})),r.d(e,"k",(function(){return s})),r.d(e,"l",(function(){return p})),r.d(e,"m",(function(){return m})),r.d(e,"n",(function(){return i}));var n=r(93),i=function(t){return null===t||void 0===t},o=function(t){return null!==t&&void 0!==t},a=function(t){return"function"===typeof t},s=function(t){return"string"===typeof t},c=Array.isArray,u=function(t){return t&&!c(t)&&"object"===typeof t},l=function(t){return t&&a(t.then)},f=function(t){return t&&a(t.next)&&a(t.throw)},h=function t(e){return e&&(s(e)||m(e)||a(e)||c(e)&&e.every(t))},d=function(t){return t&&a(t.take)&&a(t.close)},p=function(t){return a(t)&&t.hasOwnProperty("toString")},m=function(t){return Boolean(t)&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype},b=function(t){return d(t)&&t[n.e]},v=function(t){return t&&t[n.c]}},,function(t,e,r){"use strict";e.a=function(t){return function(){return t}}},function(t,e,r){"use strict";r.d(e,"e",(function(){return n})),r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"f",(function(){return s})),r.d(e,"d",(function(){return c})),r.d(e,"g",(function(){return u}));var n=1e3,i=60*n,o=60*i,a=24*o,s=7*a,c=30*a,u=365*a},function(t,e,r){"use strict";function n(t,e){return function(){return null}}r.r(e),r.d(e,"chainPropTypes",(function(){return n})),r.d(e,"deepmerge",(function(){return i.a})),r.d(e,"elementAcceptingRef",(function(){return c})),r.d(e,"elementTypeAcceptingRef",(function(){return u})),r.d(e,"exactProp",(function(){return l})),r.d(e,"formatMuiErrorMessage",(function(){return f.a})),r.d(e,"getDisplayName",(function(){return g})),r.d(e,"HTMLElementType",(function(){return y})),r.d(e,"ponyfillGlobal",(function(){return w})),r.d(e,"refType",(function(){return x}));var i=r(515),o=r(10),a=r.n(o);var s=(a.a.element,function(){return null});s.isRequired=(a.a.element.isRequired,function(){return null});var c=s;var u=(o.elementType,function(){return null});r(73),r(2);function l(t){return t}var f=r(519),h=r(217),d=r(651),p=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function m(t){var e="".concat(t).match(p);return e&&e[1]||""}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.displayName||t.name||m(t)||e}function v(t,e,r){var n=b(e);return t.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}function g(t){if(null!=t){if("string"===typeof t)return t;if("function"===typeof t)return b(t,"Component");if("object"===Object(h.a)(t))switch(t.$$typeof){case d.ForwardRef:return v(t,t.render,"ForwardRef");case d.Memo:return v(t,t.type,"memo");default:return}}}function y(t,e,r,n,i){return null}var w="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),x=a.a.oneOfType([a.a.func,a.a.object])},function(t,e,r){"use strict";r.d(e,"d",(function(){return s})),r.d(e,"c",(function(){return u})),r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return f})),r.d(e,"e",(function(){return h}));var n=r(519);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),r)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map((function(t){return t+t}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),r=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error(Object(n.a)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:r,values:i=i.map((function(t){return parseFloat(t)}))}}function a(t){var e=t.type,r=t.values;return-1!==e.indexOf("rgb")?r=r.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(e,"(").concat(r.join(", "),")")}function s(t,e){var r=c(t),n=c(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function c(t){var e="hsl"===(t=o(t)).type?o(function(t){var e=(t=o(t)).values,r=e[0],n=e[1]/100,i=e[2]/100,s=n*Math.min(i,1-i),c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+r/30)%12;return i-s*Math.max(Math.min(e-3,9-e,1),-1)},u="rgb",l=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===t.type&&(u+="a",l.push(e[3])),a({type:u,values:l})}(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return c(t)>.5?f(t,e):h(t,e)}function l(t,e){return t=o(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,a(t)}function f(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]*=1-e;return a(t)}function h(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;return a(t)}},function(t,e,r){"use strict";function n(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void r(u)}s.done?e(c):Promise.resolve(c).then(n,i)}function i(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var a=t.apply(e,r);function s(t){n(a,i,o,s,c,"next",t)}function c(t){n(a,i,o,s,c,"throw",t)}s(void 0)}))}}r.d(e,"a",(function(){return i}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(169);function o(t,e){return n.useMemo((function(){return null==t&&null==e?null:function(r){Object(i.a)(t,r),Object(i.a)(e,r)}}),[t,e])}},,function(t,e,r){var n,i,o;i=[e,r(1223),r(1227),r(1228),r(1231),r(1232),r(1233),r(1234),r(1235),r(0),r(10),r(76),r(314),r(1237)],void 0===(o="function"===typeof(n=function(t,e,r,n,i,o,a,s,c,u,l,f,h,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Map=t.Rectangle=t.Circle=t.Polyline=t.Polygon=t.HeatMap=t.InfoWindow=t.Marker=t.GoogleApiWrapper=void 0,Object.defineProperty(t,"GoogleApiWrapper",{enumerable:!0,get:function(){return e.wrapper}}),Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return r.Marker}}),Object.defineProperty(t,"InfoWindow",{enumerable:!0,get:function(){return n.InfoWindow}}),Object.defineProperty(t,"HeatMap",{enumerable:!0,get:function(){return i.HeatMap}}),Object.defineProperty(t,"Polygon",{enumerable:!0,get:function(){return o.Polygon}}),Object.defineProperty(t,"Polyline",{enumerable:!0,get:function(){return a.Polyline}}),Object.defineProperty(t,"Circle",{enumerable:!0,get:function(){return s.Circle}}),Object.defineProperty(t,"Rectangle",{enumerable:!0,get:function(){return c.Rectangle}});var p=v(u),m=v(l),b=v(f);function v(t){return t&&t.__esModule?t:{default:t}}var g=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),y={position:"absolute",width:"100%",height:"100%"},w={position:"absolute",left:0,right:0,bottom:0,top:0},x=["ready","click","dragend","recenter","bounds_changed","center_changed","dblclick","dragstart","heading_change","idle","maptypeid_changed","mousemove","mouseout","mouseover","projection_changed","resize","rightclick","tilesloaded","tilt_changed","zoom_changed"],O=t.Map=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));if(!t.hasOwnProperty("google"))throw new Error("You must include a `google` prop");return r.listeners={},r.state={currentLocation:{lat:r.props.initialCenter.lat,lng:r.props.initialCenter.lng}},r.mapRef=p.default.createRef(),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),g(e,[{key:"componentDidMount",value:function(){var t=this;this.props.centerAroundCurrentLocation&&navigator&&navigator.geolocation&&(this.geoPromise=(0,d.makeCancelable)(new Promise((function(t,e){navigator.geolocation.getCurrentPosition(t,e)}))),this.geoPromise.promise.then((function(e){var r=e.coords;t.setState({currentLocation:{lat:r.latitude,lng:r.longitude}})})).catch((function(t){return t}))),this.loadMap()}},{key:"componentDidUpdate",value:function(t,e){t.google!==this.props.google&&this.loadMap(),this.props.visible!==t.visible&&this.restyleMap(),this.props.zoom!==t.zoom&&this.map.setZoom(this.props.zoom),this.props.center!==t.center&&this.setState({currentLocation:this.props.center}),e.currentLocation!==this.state.currentLocation&&this.recenterMap(),this.props.bounds&&this.props.bounds!==t.bounds&&this.map.fitBounds(this.props.bounds)}},{key:"componentWillUnmount",value:function(){var t=this,e=this.props.google;this.geoPromise&&this.geoPromise.cancel(),Object.keys(this.listeners).forEach((function(r){e.maps.event.removeListener(t.listeners[r])}))}},{key:"loadMap",value:function(){var t=this;if(this.props&&this.props.google){var e=this.props.google.maps,r=this.mapRef.current,n=b.default.findDOMNode(r),i=this.state.currentLocation,o=new e.LatLng(i.lat,i.lng),a=this.props.google.maps.MapTypeId||{},s=String(this.props.mapType).toUpperCase(),c=Object.assign({},{mapTypeId:a[s],center:o,zoom:this.props.zoom,maxZoom:this.props.maxZoom,minZoom:this.props.minZoom,clickableIcons:!!this.props.clickableIcons,disableDefaultUI:this.props.disableDefaultUI,zoomControl:this.props.zoomControl,zoomControlOptions:this.props.zoomControlOptions,mapTypeControl:this.props.mapTypeControl,mapTypeControlOptions:this.props.mapTypeControlOptions,scaleControl:this.props.scaleControl,streetViewControl:this.props.streetViewControl,streetViewControlOptions:this.props.streetViewControlOptions,panControl:this.props.panControl,rotateControl:this.props.rotateControl,fullscreenControl:this.props.fullscreenControl,scrollwheel:this.props.scrollwheel,draggable:this.props.draggable,draggableCursor:this.props.draggableCursor,keyboardShortcuts:this.props.keyboardShortcuts,disableDoubleClickZoom:this.props.disableDoubleClickZoom,noClear:this.props.noClear,styles:this.props.styles,gestureHandling:this.props.gestureHandling});Object.keys(c).forEach((function(t){null===c[t]&&delete c[t]})),this.map=new e.Map(n,c),x.forEach((function(e){t.listeners[e]=t.map.addListener(e,t.handleEvent(e))})),e.event.trigger(this.map,"ready"),this.forceUpdate()}}},{key:"handleEvent",value:function(t){var e=this,r=void 0,n="on"+(0,h.camelize)(t);return function(t){r&&(clearTimeout(r),r=null),r=setTimeout((function(){e.props[n]&&e.props[n](e.props,e.map,t)}),0)}}},{key:"recenterMap",value:function(){var t=this.map,e=this.props.google;if(e){var r=e.maps;if(t){var n=this.state.currentLocation;n instanceof e.maps.LatLng||(n=new e.maps.LatLng(n.lat,n.lng)),t.setCenter(n),r.event.trigger(t,"recenter")}}}},{key:"restyleMap",value:function(){this.map&&this.props.google.maps.event.trigger(this.map,"resize")}},{key:"renderChildren",value:function(){var t=this,e=this.props.children;if(e)return p.default.Children.map(e,(function(e){if(e)return p.default.cloneElement(e,{map:t.map,google:t.props.google,mapCenter:t.state.currentLocation})}))}},{key:"render",value:function(){var t=Object.assign({},w,this.props.style,{display:this.props.visible?"inherit":"none"}),e=Object.assign({},y,this.props.containerStyle);return p.default.createElement("div",{style:e,className:this.props.className},p.default.createElement("div",{style:t,ref:this.mapRef},"Loading map..."),this.renderChildren())}}]),e}(p.default.Component);O.propTypes={google:m.default.object,zoom:m.default.number,centerAroundCurrentLocation:m.default.bool,center:m.default.object,initialCenter:m.default.object,className:m.default.string,style:m.default.object,containerStyle:m.default.object,visible:m.default.bool,mapType:m.default.string,maxZoom:m.default.number,minZoom:m.default.number,clickableIcons:m.default.bool,disableDefaultUI:m.default.bool,zoomControl:m.default.bool,zoomControlOptions:m.default.object,mapTypeControl:m.default.bool,mapTypeControlOptions:m.default.bool,scaleControl:m.default.bool,streetViewControl:m.default.bool,streetViewControlOptions:m.default.object,panControl:m.default.bool,rotateControl:m.default.bool,fullscreenControl:m.default.bool,scrollwheel:m.default.bool,draggable:m.default.bool,draggableCursor:m.default.string,keyboardShortcuts:m.default.bool,disableDoubleClickZoom:m.default.bool,noClear:m.default.bool,styles:m.default.array,gestureHandling:m.default.string,bounds:m.default.object},x.forEach((function(t){return O.propTypes[(0,h.camelize)(t)]=m.default.func})),O.defaultProps={zoom:14,initialCenter:{lat:37.774929,lng:-122.419416},center:{},centerAroundCurrentLocation:!1,style:{},containerStyle:{},visible:!0},t.default=O})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=function(t,e){return t===e};function i(t,e){var r="object"===typeof e?e:{equalityCheck:e},i=r.equalityCheck,o=void 0===i?n:i,a=r.maxSize,s=void 0===a?1:a,c=r.resultEqualityCheck,u=function(t){return function(e,r){if(null===e||null===r||e.length!==r.length)return!1;for(var n=e.length,i=0;i<n;i++)if(!t(e[i],r[i]))return!1;return!0}}(o),l=1===s?function(t){var e;return{get:function(r){return e&&t(e.key,r)?e.value:"NOT_FOUND"},put:function(t,r){e={key:t,value:r}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}(u):function(t,e){var r=[];function n(t){var n=r.findIndex((function(r){return e(t,r.key)}));if(n>-1){var i=r[n];return n>0&&(r.splice(n,1),r.unshift(i)),i.value}return"NOT_FOUND"}return{get:n,put:function(e,i){"NOT_FOUND"===n(e)&&(r.unshift({key:e,value:i}),r.length>t&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(s,u);function f(){var e=l.get(arguments);if("NOT_FOUND"===e){if(e=t.apply(null,arguments),c){var r=l.getEntries(),n=r.find((function(t){return c(t.value,e)}));n&&(e=n.value)}l.put(arguments,e)}return e}return f.clearCache=function(){return l.clear()},f}function o(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every((function(t){return"function"===typeof t}))){var r=e.map((function(t){return"function"===typeof t?"function "+(t.name||"unnamed")+"()":typeof t})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return e}function a(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a,s=0,c={memoizeOptions:void 0},u=n.pop();if("object"===typeof u&&(c=u,u=n.pop()),"function"!==typeof u)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof u+"]");var l=c,f=l.memoizeOptions,h=void 0===f?r:f,d=Array.isArray(h)?h:[h],p=o(n),m=t.apply(void 0,[function(){return s++,u.apply(null,arguments)}].concat(d)),b=t((function(){for(var t=[],e=p.length,r=0;r<e;r++)t.push(p[r].apply(null,arguments));return a=m.apply(null,t)}));return Object.assign(b,{resultFunc:u,memoizedResultFunc:m,dependencies:p,lastResult:function(){return a},recomputations:function(){return s},resetRecomputations:function(){return s=0}}),b};return i}var s=a(i)},function(t,e){var r=Array.isArray;t.exports=r},,,function(t,e,r){var n=r(121),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";var n=r(441);e.a=n.a},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"c",(function(){return v})),r.d(e,"a",(function(){return x})),r.d(e,"b",(function(){return O})),r.d(e,"h",(function(){return _})),r.d(e,"e",(function(){return E})),r.d(e,"g",(function(){return C})),r.d(e,"d",(function(){return j})),r.d(e,"f",(function(){return A}));var n=r(301),i=r.n(n),o=r(114),a=r.n(o),s=r(36),c=r.n(s),u=r(68),l=r.n(u),f=r(0),h=r(276),d=r(17),p=r(302);function m(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var b={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},v=function(t){return"string"===typeof t?t:t?t.displayName||t.name||"Component":""},g=null,y=null,w=function t(e){if(e===g&&l()(y))return y;var r=[];return f.Children.forEach(e,(function(e){c()(e)||(Object(h.isFragment)(e)?r=r.concat(t(e.props.children)):r.push(e))})),y=r,g=e,r},x=function(t,e){var r=[],n=[];return n=l()(e)?e.map((function(t){return v(t)})):[v(e)],w(t).forEach((function(t){var e=a()(t,"type.displayName")||a()(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r},O=function(t,e){var r=x(t,e);return r&&r[0]},_=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!Object(d.h)(r)||r<=0||!Object(d.h)(n)||n<=0)},S=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],k=function(t){return t&&t.type&&i()(t.type)&&S.indexOf(t.type)>=0},E=function t(e,r){if(e===r)return!0;var n=f.Children.count(e);if(n!==f.Children.count(r))return!1;if(0===n)return!0;if(1===n)return M(l()(e)?e[0]:e,l()(r)?r[0]:r);for(var i=0;i<n;i++){var o=e[i],a=r[i];if(l()(o)||l()(a)){if(!t(o,a))return!1}else if(!M(o,a))return!1}return!0},M=function(t,e){if(c()(t)&&c()(e))return!0;if(!c()(t)&&!c()(e)){var r=t.props||{},n=r.children,i=m(r,["children"]),o=e.props||{},a=o.children,s=m(o,["children"]);return n&&a?Object(p.a)(i,s)&&E(n,a):!n&&!a&&Object(p.a)(i,s)}return!1},C=function(t,e){var r=[],n={};return w(t).forEach((function(t,i){if(k(t))r.push(t);else if(t){var o=v(t.type),a=e[o]||{},s=a.handler,c=a.once;if(s&&(!c||!n[o])){var u=s(t,o,i);r.push(u),n[o]=!0}}})),r},j=function(t){var e=t&&t.type;return e&&b[e]?b[e]:null},A=function(t,e){return w(e).indexOf(t)}},,function(t,e,r){"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}(),t.exports=r(929)},,function(t,e,r){"use strict";function n(t,e,r){var n={};return Object.keys(t).forEach((function(i){n[i]=t[i].reduce((function(t,n){return n&&(r&&r[n]&&t.push(r[n]),t.push(e(n))),t}),[]).join(" ")})),n}r.d(e,"a",(function(){return n}))},,function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function l(t){var e=t.children,r=t.className,n=u(t,["children","className"]),o=a()("recharts-layer",r);return i.a.createElement("g",c({className:o},Object(s.c)(n,!0)),e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return h}));var n=r(0),i=r.n(n),o={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5,fullscreen:6},a=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],s=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],c=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"],u="undefined"!==typeof window&&"undefined"!==typeof window.document?window.document:{},l="fullscreenEnabled"in u&&Object.keys(o)||a[0]in u&&a||s[0]in u&&s||c[0]in u&&c||[],f={requestFullscreen:function(t){return t[l[o.requestFullscreen]]()},requestFullscreenFunction:function(t){return t[l[o.requestFullscreen]]},get exitFullscreen(){return u[l[o.exitFullscreen]].bind(u)},get fullscreenPseudoClass(){return":"+l[o.fullscreen]},addEventListener:function(t,e,r){return u.addEventListener(l[o[t]],e,r)},removeEventListener:function(t,e,r){return u.removeEventListener(l[o[t]],e,r)},get fullscreenEnabled(){return Boolean(u[l[o.fullscreenEnabled]])},set fullscreenEnabled(t){},get fullscreenElement(){return u[l[o.fullscreenElement]]},set fullscreenElement(t){},get onfullscreenchange(){return u[("on"+l[o.fullscreenchange]).toLowerCase()]},set onfullscreenchange(t){return u[("on"+l[o.fullscreenchange]).toLowerCase()]=t},get onfullscreenerror(){return u[("on"+l[o.fullscreenerror]).toLowerCase()]},set onfullscreenerror(t){return u[("on"+l[o.fullscreenerror]).toLowerCase()]=t}};function h(){var t=Object(n.useState)(!1),e=t[0],r=t[1],i=Object(n.useRef)(null);Object(n.useEffect)((function(){var t=function(){r(f.fullscreenElement===i.current)};return f.addEventListener("fullscreenchange",t),function(){return f.removeEventListener("fullscreenchange",t)}}),[]);var o=Object(n.useCallback)((function(){return f.fullscreenElement?f.exitFullscreen().then((function(){return f.requestFullscreen(i.current)})):i.current?f.requestFullscreen(i.current):void 0}),[]),a=Object(n.useCallback)((function(){return f.fullscreenElement===i.current?f.exitFullscreen():Promise.resolve()}),[]);return Object(n.useMemo)((function(){return{active:e,enter:o,exit:a,node:i}}),[e,o,a])}var d=function(t){var e=t.handle,r=t.onChange,o=t.children,a=t.className,s=[];return a&&s.push(a),s.push("fullscreen"),e.active&&s.push("fullscreen-enabled"),Object(n.useEffect)((function(){r&&r(e.active,e)}),[e.active]),i.a.createElement("div",{className:s.join(" "),ref:e.node,style:e.active?{height:"100%",width:"100%"}:void 0},o)}},,,,,,function(t,e,r){"use strict";function n(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function i(t,e){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof e?this.interpolator(e):this.range(e)}return this}r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}))},,,,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(354)},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return c})),r.d(e,"f",(function(){return u})),r.d(e,"g",(function(){return p})),r.d(e,"h",(function(){return l})),r.d(e,"i",(function(){return f})),r.d(e,"j",(function(){return h})),r.d(e,"k",(function(){return d}));var n=function(t){return"@@redux-saga/"+t},i=n("CANCEL_PROMISE"),o=n("CHANNEL_END"),a=n("IO"),s=n("MATCH"),c=n("MULTICAST"),u=n("SAGA_ACTION"),l=n("SELF_CANCELLATION"),f=n("TASK"),h=n("TASK_CANCEL"),d=n("TERMINATE"),p=n("LOCATION")},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=new Date,i=new Date;function o(t,e,r,a){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(r){return t(r=new Date(r-1)),e(r,1),t(r),r},s.round=function(t){var e=s(t),r=s.ceil(t);return t-e<r-t?e:r},s.offset=function(t,r){return e(t=new Date(+t),null==r?1:Math.floor(r)),t},s.range=function(r,n,i){var o,a=[];if(r=s.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return a;do{a.push(o=new Date(+r)),e(r,i),t(r)}while(o<r&&r<n);return a},s.filter=function(r){return o((function(e){if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)}),(function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}))},r&&(s.count=function(e,o){return n.setTime(+e),i.setTime(+o),t(n),t(i),Math.floor(r(n,i))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(a?function(e){return a(e)%t===0}:function(e){return s.count(0,e)%t===0}):s:null}),s}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(363);function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Object(n.a)(t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(98),i=r(514),o=r(813);function a(t){return function(){var e,r=Object(n.a)(t);if(Object(i.a)()){var a=Object(n.a)(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return Object(o.a)(this,e)}}},,function(t,e,r){"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){var n;!function(i){"use strict";var o,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",u=c+"Invalid argument: ",l=c+"Exponent out of range: ",f=Math.floor,h=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=1e7,m=f(1286742750677284.5),b={};function v(t,e){var r,n,i,o,a,c,u,l,f=t.constructor,h=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),s?M(e,h):e;if(u=t.d,l=e.d,a=t.e,i=e.e,u=u.slice(),o=a-i){for(o<0?(n=u,o=-o,c=l.length):(n=l,i=a,c=u.length),o>(c=(a=Math.ceil(h/7))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=u.length)-(o=l.length)<0&&(o=c,n=l,l=u,u=n),r=0;o;)r=(u[--o]=u[o]+l[o]+r)/p|0,u[o]%=p;for(r&&(u.unshift(r),++i),c=u.length;0==u[--c];)u.pop();return e.d=u,e.e=i,s?M(e,h):e}function g(t,e,r){if(t!==~~t||t<e||t>r)throw Error(u+t)}function y(t){var e,r,n,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(r=7-(n=t[e]+"").length)&&(o+=S(r)),o+=n;(r=7-(n=(a=t[e])+"").length)&&(o+=S(r))}else if(0===a)return"0";for(;a%10===0;)a/=10;return o+a}b.absoluteValue=b.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},b.comparedTo=b.cmp=function(t){var e,r,n,i,o=this;if(t=new o.constructor(t),o.s!==t.s)return o.s||-t.s;if(o.e!==t.e)return o.e>t.e^o.s<0?1:-1;for(e=0,r=(n=o.d.length)<(i=t.d.length)?n:i;e<r;++e)if(o.d[e]!==t.d[e])return o.d[e]>t.d[e]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},b.decimalPlaces=b.dp=function(){var t=this,e=t.d.length-1,r=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},b.dividedBy=b.div=function(t){return w(this,new this.constructor(t))},b.dividedToIntegerBy=b.idiv=function(t){var e=this.constructor;return M(w(this,new e(t),0,1),e.precision)},b.equals=b.eq=function(t){return!this.cmp(t)},b.exponent=function(){return O(this)},b.greaterThan=b.gt=function(t){return this.cmp(t)>0},b.greaterThanOrEqualTo=b.gte=function(t){return this.cmp(t)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(t){return this.cmp(t)<0},b.lessThanOrEqualTo=b.lte=function(t){return this.cmp(t)<1},b.logarithm=b.log=function(t){var e,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(o))throw Error(c+"NaN");if(r.s<1)throw Error(c+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(s=!1,e=w(k(r,a),k(t,a),a),s=!0,M(e,i))},b.minus=b.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?C(e,t):v(e,(t.s=-t.s,t))},b.modulo=b.mod=function(t){var e,r=this,n=r.constructor,i=n.precision;if(!(t=new n(t)).s)throw Error(c+"NaN");return r.s?(s=!1,e=w(r,t,0,1).times(t),s=!0,r.minus(e)):M(new n(r),i)},b.naturalExponential=b.exp=function(){return x(this)},b.naturalLogarithm=b.ln=function(){return k(this)},b.negated=b.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},b.plus=b.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?v(e,t):C(e,(t.s=-t.s,t))},b.precision=b.sd=function(t){var e,r,n,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(u+t);if(e=O(i)+1,r=7*(n=i.d.length-1)+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},b.squareRoot=b.sqrt=function(){var t,e,r,n,i,o,a,u=this,l=u.constructor;if(u.s<1){if(!u.s)return new l(0);throw Error(c+"NaN")}for(t=O(u),s=!1,0==(i=Math.sqrt(+u))||i==1/0?(((e=y(u.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),n=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(w(u,o,a+2)).times(.5),y(o.d).slice(0,a)===(e=y(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(M(o,r+1,0),o.times(o).eq(u)){n=o;break}}else if("9999"!=e)break;a+=4}return s=!0,M(n,r)},b.times=b.mul=function(t){var e,r,n,i,o,a,c,u,l,f=this,h=f.constructor,d=f.d,m=(t=new h(t)).d;if(!f.s||!t.s)return new h(0);for(t.s*=f.s,r=f.e+t.e,(u=d.length)<(l=m.length)&&(o=d,d=m,m=o,a=u,u=l,l=a),o=[],n=a=u+l;n--;)o.push(0);for(n=l;--n>=0;){for(e=0,i=u+n;i>n;)c=o[i]+m[n]*d[i-n-1]+e,o[i--]=c%p|0,e=c/p|0;o[i]=(o[i]+e)%p|0}for(;!o[--a];)o.pop();return e?++r:o.shift(),t.d=o,t.e=r,s?M(t,h.precision):t},b.toDecimalPlaces=b.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(g(t,0,1e9),void 0===e?e=n.rounding:g(e,0,8),M(r,t+O(r)+1,e))},b.toExponential=function(t,e){var r,n=this,i=n.constructor;return void 0===t?r=j(n,!0):(g(t,0,1e9),void 0===e?e=i.rounding:g(e,0,8),r=j(n=M(new i(n),t+1,e),!0,t+1)),r},b.toFixed=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?j(i):(g(t,0,1e9),void 0===e?e=o.rounding:g(e,0,8),r=j((n=M(new o(i),t+O(i)+1,e)).abs(),!1,t+O(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},b.toInteger=b.toint=function(){var t=this,e=t.constructor;return M(new e(t),O(t)+1,e.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(t){var e,r,n,i,a,u,l=this,h=l.constructor,d=+(t=new h(t));if(!t.s)return new h(o);if(!(l=new h(l)).s){if(t.s<1)throw Error(c+"Infinity");return l}if(l.eq(o))return l;if(n=h.precision,t.eq(o))return M(l,n);if(u=(e=t.e)>=(r=t.d.length-1),a=l.s,u){if((r=d<0?-d:d)<=9007199254740991){for(i=new h(o),e=Math.ceil(n/7+4),s=!1;r%2&&A((i=i.times(l)).d,e),0!==(r=f(r/2));)A((l=l.times(l)).d,e);return s=!0,t.s<0?new h(o).div(i):M(i,n)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,r)]?-1:1,l.s=1,s=!1,i=t.times(k(l,n+12)),s=!0,(i=x(i)).s=a,i},b.toPrecision=function(t,e){var r,n,i=this,o=i.constructor;return void 0===t?n=j(i,(r=O(i))<=o.toExpNeg||r>=o.toExpPos):(g(t,1,1e9),void 0===e?e=o.rounding:g(e,0,8),n=j(i=M(new o(i),t,e),t<=(r=O(i))||r<=o.toExpNeg,t)),n},b.toSignificantDigits=b.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(g(t,1,1e9),void 0===e?e=r.rounding:g(e,0,8)),M(new r(this),t,e)},b.toString=b.valueOf=b.val=b.toJSON=function(){var t=this,e=O(t),r=t.constructor;return j(t,e<=r.toExpNeg||e>=r.toExpPos)};var w=function(){function t(t,e){var r,n=0,i=t.length;for(t=t.slice();i--;)r=t[i]*e+n,t[i]=r%p|0,n=r/p|0;return n&&t.unshift(n),t}function e(t,e,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=n*p+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,i,o,a){var s,u,l,f,h,d,m,b,v,g,y,w,x,_,S,k,E,C,j=n.constructor,A=n.s==i.s?1:-1,T=n.d,P=i.d;if(!n.s)return new j(n);if(!i.s)throw Error(c+"Division by zero");for(u=n.e-i.e,E=P.length,S=T.length,b=(m=new j(A)).d=[],l=0;P[l]==(T[l]||0);)++l;if(P[l]>(T[l]||0)&&--u,(w=null==o?o=j.precision:a?o+(O(n)-O(i))+1:o)<0)return new j(0);if(w=w/7+2|0,l=0,1==E)for(f=0,P=P[0],w++;(l<S||f)&&w--;l++)x=f*p+(T[l]||0),b[l]=x/P|0,f=x%P|0;else{for((f=p/(P[0]+1)|0)>1&&(P=t(P,f),T=t(T,f),E=P.length,S=T.length),_=E,g=(v=T.slice(0,E)).length;g<E;)v[g++]=0;(C=P.slice()).unshift(0),k=P[0],P[1]>=p/2&&++k;do{f=0,(s=e(P,v,E,g))<0?(y=v[0],E!=g&&(y=y*p+(v[1]||0)),(f=y/k|0)>1?(f>=p&&(f=p-1),1==(s=e(h=t(P,f),v,d=h.length,g=v.length))&&(f--,r(h,E<d?C:P,d))):(0==f&&(s=f=1),h=P.slice()),(d=h.length)<g&&h.unshift(0),r(v,h,g),-1==s&&(s=e(P,v,E,g=v.length))<1&&(f++,r(v,E<g?C:P,g)),g=v.length):0===s&&(f++,v=[0]),b[l++]=f,s&&v[0]?v[g++]=T[_]||0:(v=[T[_]],g=1)}while((_++<S||void 0!==v[0])&&w--)}return b[0]||b.shift(),m.e=u,M(m,a?o+O(m)+1:o)}}();function x(t,e){var r,n,i,a,c,u=0,f=0,d=t.constructor,p=d.precision;if(O(t)>16)throw Error(l+O(t));if(!t.s)return new d(o);for(null==e?(s=!1,c=p):c=e,a=new d(.03125);t.abs().gte(.1);)t=t.times(a),f+=5;for(c+=Math.log(h(2,f))/Math.LN10*2+5|0,r=n=i=new d(o),d.precision=c;;){if(n=M(n.times(t),c),r=r.times(++u),y((a=i.plus(w(n,r,c))).d).slice(0,c)===y(i.d).slice(0,c)){for(;f--;)i=M(i.times(i),c);return d.precision=p,null==e?(s=!0,M(i,p)):i}i=a}}function O(t){for(var e=7*t.e,r=t.d[0];r>=10;r/=10)e++;return e}function _(t,e,r){if(e>t.LN10.sd())throw s=!0,r&&(t.precision=r),Error(c+"LN10 precision limit exceeded");return M(new t(t.LN10),e)}function S(t){for(var e="";t--;)e+="0";return e}function k(t,e){var r,n,i,a,u,l,f,h,d,p=1,m=t,b=m.d,v=m.constructor,g=v.precision;if(m.s<1)throw Error(c+(m.s?"NaN":"-Infinity"));if(m.eq(o))return new v(0);if(null==e?(s=!1,h=g):h=e,m.eq(10))return null==e&&(s=!0),_(v,h);if(h+=10,v.precision=h,n=(r=y(b)).charAt(0),a=O(m),!(Math.abs(a)<15e14))return f=_(v,h+2,g).times(a+""),m=k(new v(n+"."+r.slice(1)),h-10).plus(f),v.precision=g,null==e?(s=!0,M(m,g)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=y((m=m.times(t)).d)).charAt(0),p++;for(a=O(m),n>1?(m=new v("0."+r),a++):m=new v(n+"."+r.slice(1)),l=u=m=w(m.minus(o),m.plus(o),h),d=M(m.times(m),h),i=3;;){if(u=M(u.times(d),h),y((f=l.plus(w(u,new v(i),h))).d).slice(0,h)===y(l.d).slice(0,h))return l=l.times(2),0!==a&&(l=l.plus(_(v,h+2,g).times(a+""))),l=w(l,new v(p),h),v.precision=g,null==e?(s=!0,M(l,g)):l;l=f,i+=2}}function E(t,e){var r,n,i;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(n,i)){if(i-=n,r=r-n-1,t.e=f(r/7),t.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&t.d.push(+e.slice(0,n)),i-=7;n<i;)t.d.push(+e.slice(n,n+=7));n=7-(e=e.slice(n)).length}else n-=i;for(;n--;)e+="0";if(t.d.push(+e),s&&(t.e>m||t.e<-m))throw Error(l+r)}else t.s=0,t.e=0,t.d=[0];return t}function M(t,e,r){var n,i,o,a,c,u,d,b,v=t.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=e-a)<0)n+=7,i=e,d=v[b=0];else{if((b=Math.ceil((n+1)/7))>=(o=v.length))return t;for(d=o=v[b],a=1;o>=10;o/=10)a++;i=(n%=7)-7+a}if(void 0!==r&&(c=d/(o=h(10,a-i-1))%10|0,u=e<0||void 0!==v[b+1]||d%o,u=r<4?(c||u)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||u||6==r&&(n>0?i>0?d/h(10,a-i):0:v[b-1])%10&1||r==(t.s<0?8:7))),e<1||!v[0])return u?(o=O(t),v.length=1,e=e-o-1,v[0]=h(10,(7-e%7)%7),t.e=f(-e/7)||0):(v.length=1,v[0]=t.e=t.s=0),t;if(0==n?(v.length=b,o=1,b--):(v.length=b+1,o=h(10,7-n),v[b]=i>0?(d/h(10,a-i)%h(10,i)|0)*o:0),u)for(;;){if(0==b){(v[0]+=o)==p&&(v[0]=1,++t.e);break}if(v[b]+=o,v[b]!=p)break;v[b--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(s&&(t.e>m||t.e<-m))throw Error(l+O(t));return t}function C(t,e){var r,n,i,o,a,c,u,l,f,h,d=t.constructor,m=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),s?M(e,m):e;if(u=t.d,h=e.d,n=e.e,l=t.e,u=u.slice(),a=l-n){for((f=a<0)?(r=u,a=-a,c=h.length):(r=h,n=l,c=u.length),a>(i=Math.max(Math.ceil(m/7),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=u.length)<(c=h.length))&&(c=i),i=0;i<c;i++)if(u[i]!=h[i]){f=u[i]<h[i];break}a=0}for(f&&(r=u,u=h,h=r,e.s=-e.s),c=u.length,i=h.length-c;i>0;--i)u[c++]=0;for(i=h.length;i>a;){if(u[--i]<h[i]){for(o=i;o&&0===u[--o];)u[o]=p-1;--u[o],u[i]+=p}u[i]-=h[i]}for(;0===u[--c];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,s?M(e,m):e):new d(0)}function j(t,e,r){var n,i=O(t),o=y(t.d),a=o.length;return e?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+S(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+S(-i-1)+o,r&&(n=r-a)>0&&(o+=S(n))):i>=a?(o+=S(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+S(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=S(n))),t.s<0?"-"+o:o}function A(t,e){if(t.length>e)return t.length=e,!0}function T(t){if(!t||"object"!==typeof t)throw Error(c+"Object expected");var e,r,n,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(n=t[r=i[e]])){if(!(f(n)===n&&n>=i[e+1]&&n<=i[e+2]))throw Error(u+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(u+r+": "+n);this[r]=new this(n)}return this}(a=function t(e){var r,n,i;function o(t){var e=this;if(!(e instanceof o))return new o(t);if(e.constructor=o,t instanceof o)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"===typeof t){if(0*t!==0)throw Error(u+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):E(e,t.toString())}if("string"!==typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!d.test(t))throw Error(u+t);E(e,t)}if(o.prototype=b,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=T,void 0===e&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)e.hasOwnProperty(n=i[r++])||(e[n]=this[n]);return o.config(e),o}(a)).default=a.Decimal=a,o=new a(1),void 0===(n=function(){return a}.call(e,r,e,t))||(t.exports=n)}()},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");e.default=a},function(t,e){function r(e){return t.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e,r){"use strict";r.d(e,"c",(function(){return u})),r.d(e,"a",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"b",(function(){return m}));var n=r(316),i=r(274),o=r(175),a=r(784);var s=r(333),c=[0,1];function u(t){return t}function l(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r});var r}function f(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1];return i<n?(n=l(i,n),o=r(a,o)):(n=l(n,i),o=r(o,a)),function(t){return o(n(t))}}function h(t,e,r){var i=Math.min(t.length,e.length)-1,o=new Array(i),a=new Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<i;)o[s]=l(t[s],t[s+1]),a[s]=r(e[s],e[s+1]);return function(e){var r=Object(n.d)(t,e,1,i)-1;return a[r](o[r](e))}}function d(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function p(){var t,e,r,n,l,d,p=c,m=c,b=i.a,v=u;function g(){var t=Math.min(p.length,m.length);return v!==u&&(v=function(t,e){var r;return t>e&&(r=t,t=e,e=r),function(r){return Math.max(t,Math.min(e,r))}}(p[0],p[t-1])),n=t>2?h:f,l=d=null,y}function y(e){return null==e||isNaN(e=+e)?r:(l||(l=n(p.map(t),m,b)))(t(v(e)))}return y.invert=function(r){return v(e((d||(d=n(m,p.map(t),o.a)))(r)))},y.domain=function(t){return arguments.length?(p=Array.from(t,s.a),g()):p.slice()},y.range=function(t){return arguments.length?(m=Array.from(t),g()):m.slice()},y.rangeRound=function(t){return m=Array.from(t),b=a.a,g()},y.clamp=function(t){return arguments.length?(v=!!t||u,g()):v!==u},y.interpolate=function(t){return arguments.length?(b=t,g()):b},y.unknown=function(t){return arguments.length?(r=t,y):r},function(r,n){return t=r,e=n,g()}}function m(){return p()(u,u)}},function(t,e,r){"use strict";r.d(e,"g",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"k",(function(){return c})),r.d(e,"m",(function(){return u})),r.d(e,"i",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"e",(function(){return h})),r.d(e,"h",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"l",(function(){return m})),r.d(e,"n",(function(){return b})),r.d(e,"j",(function(){return v})),r.d(e,"b",(function(){return g})),r.d(e,"f",(function(){return y}));var n=r(94),i=r(60);function o(t){return Object(n.a)((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/i.f}))}var a=o(0),s=o(1),c=o(2),u=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=s.range,m=c.range,b=u.range,v=l.range,g=f.range,y=h.range},function(t,e,r){"use strict";r.d(e,"g",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"k",(function(){return c})),r.d(e,"m",(function(){return u})),r.d(e,"i",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"e",(function(){return h})),r.d(e,"h",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"l",(function(){return m})),r.d(e,"n",(function(){return b})),r.d(e,"j",(function(){return v})),r.d(e,"b",(function(){return g})),r.d(e,"f",(function(){return y}));var n=r(94),i=r(60);function o(t){return Object(n.a)((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.f}))}var a=o(0),s=o(1),c=o(2),u=o(3),l=o(4),f=o(5),h=o(6),d=a.range,p=s.range,m=c.range,b=u.range,v=l.range,g=f.range,y=h.range},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"Launch");e.default=a},function(t,e,r){"use strict";e.a=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}},,function(t,e,r){"use strict";r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"a",(function(){return s}));var n=r(377);function i(t,e){return function(r){return t+r*e}}function o(t,e){var r=e-t;return r?i(t,r>180||r<-180?r-360*Math.round(r/360):r):Object(n.a)(isNaN(t)?e:t)}function a(t){return 1===(t=+t)?s:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):Object(n.a)(isNaN(e)?r:e)}}function s(t,e){var r=e-t;return r?i(t,r):Object(n.a)(isNaN(t)?e:t)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(98);function i(t,e,r){return(i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var i=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(n.a)(t)););return t}(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(r):o.value}})(t,e,r||t)}},function(t,e){var r,n,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"===typeof setTimeout?setTimeout:o}catch(t){r=o}try{n="function"===typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var c,u=[],l=!1,f=-1;function h(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var t=s(h);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,l=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new p(t,e)),1!==u.length||l||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},,function(t,e,r){var n=r(594);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},function(t,e,r){"use strict";var n=r(1309);e.a=n.a},function(t,e,r){"use strict";r.d(e,"f",(function(){return n.d})),r.d(e,"i",(function(){return n.c})),r.d(e,"h",(function(){return n.b})),r.d(e,"g",(function(){return n.a})),r.d(e,"d",(function(){return i.a})),r.d(e,"j",(function(){return o.a})),r.d(e,"k",(function(){return a.a})),r.d(e,"l",(function(){return h})),r.d(e,"m",(function(){return d})),r.d(e,"n",(function(){return p})),r.d(e,"o",(function(){return v})),r.d(e,"s",(function(){return g.a})),r.d(e,"a",(function(){return y.a})),r.d(e,"v",(function(){return y.c})),r.d(e,"t",(function(){return y.b})),r.d(e,"y",(function(){return I})),r.d(e,"A",(function(){return N})),r.d(e,"C",(function(){return z})),r.d(e,"D",(function(){return H})),r.d(e,"Y",(function(){return F})),r.d(e,"Z",(function(){return B})),r.d(e,"z",(function(){return G})),r.d(e,"e",(function(){return Q})),r.d(e,"B",(function(){return Q})),r.d(e,"ib",(function(){return et})),r.d(e,"jb",(function(){return rt})),r.d(e,"kb",(function(){return J.a})),r.d(e,"I",(function(){return nt.a})),r.d(e,"J",(function(){return it})),r.d(e,"K",(function(){return ot})),r.d(e,"L",(function(){return at})),r.d(e,"M",(function(){return st.a})),r.d(e,"N",(function(){return ct.a})),r.d(e,"O",(function(){return ut})),r.d(e,"P",(function(){return Z})),r.d(e,"Q",(function(){return lt})),r.d(e,"R",(function(){return q})),r.d(e,"S",(function(){return tt.a})),r.d(e,"T",(function(){return tt.b})),r.d(e,"U",(function(){return ht.a})),r.d(e,"V",(function(){return dt.a})),r.d(e,"F",(function(){return pt})),r.d(e,"G",(function(){return mt})),r.d(e,"w",(function(){return bt})),r.d(e,"x",(function(){return vt})),r.d(e,"ab",(function(){return gt})),r.d(e,"bb",(function(){return yt})),r.d(e,"cb",(function(){return wt})),r.d(e,"gb",(function(){return xt})),r.d(e,"nb",(function(){return K.a})),r.d(e,"lb",(function(){return K.b})),r.d(e,"mb",(function(){return K.c})),r.d(e,"ob",(function(){return Ot})),r.d(e,"qb",(function(){return b})),r.d(e,"rb",(function(){return St})),r.d(e,"r",(function(){return kt})),r.d(e,"db",(function(){return Et})),r.d(e,"u",(function(){return Mt})),r.d(e,"H",(function(){return Ct})),r.d(e,"W",(function(){return jt})),r.d(e,"X",(function(){return At})),r.d(e,"eb",(function(){return V})),r.d(e,"p",(function(){return Tt})),r.d(e,"q",(function(){return Pt})),r.d(e,"E",(function(){return Rt})),r.d(e,"fb",(function(){return It})),r.d(e,"hb",(function(){return Lt})),r.d(e,"pb",(function(){return Nt})),r.d(e,"b",(function(){return j})),r.d(e,"c",(function(){return A}));var n=r(316),i=r(108),o=r(365),a=r(272),s=r(19);function c(t){return 0|t.length}function u(t){return!(t>0)}function l(t){return"object"!==typeof t||"length"in t?t:Array.from(t)}function f(t){return function(e){return t.apply(void 0,Object(s.a)(e))}}function h(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n="function"===typeof e[e.length-1]&&f(e.pop()),i=(e=e.map(l)).map(c),o=e.length-1,a=new Array(o+1).fill(0),s=[];if(o<0||i.some(u))return s;for(;;){s.push(a.map((function(t,r){return e[r][t]})));for(var h=o;++a[h]===i[h];){if(0===h)return n?s.map(n):s;a[h--]=0}}}function d(t,e){var r=0,n=0;return Float64Array.from(t,void 0===e?function(t){return r+=+t||0}:function(i){return r+=+e(i,n++,t)||0})}var p=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},m=r(29);function b(t,e){var r,n=0,i=0,o=0;if(void 0===e){var a,s=Object(m.a)(t);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=c&&(c=+c)>=c&&(o+=(r=c-i)*(c-(i+=r/++n)))}}catch(d){s.e(d)}finally{s.f()}}else{var u,l=-1,f=Object(m.a)(t);try{for(f.s();!(u=f.n()).done;){var h=u.value;null!=(h=e(h,++l,t))&&(h=+h)>=h&&(o+=(r=h-i)*(h-(i+=r/++n)))}}catch(d){f.e(d)}finally{f.f()}}if(n>1)return o/(n-1)}function v(t,e){var r=b(t,e);return r?Math.sqrt(r):r}var g=r(366),y=r(481),w=r(3),x=r(45),O=r(46),_=r(319),S=r(111),k=r(98),E=r(95),M=r(96),C=r(432),j=function(t){Object(E.a)(r,t);var e=Object(M.a)(r);function r(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(Object(x.a)(this,r),n=e.call(this),Object.defineProperties(Object(_.a)(n),{_intern:{value:new Map},_key:{value:i}}),null!=t){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=Object(w.a)(o.value,2),c=s[0],u=s[1];n.set(c,u)}}catch(l){a.e(l)}finally{a.f()}}return n}return Object(O.a)(r,[{key:"get",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"get",this).call(this,T(this,t))}},{key:"has",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"has",this).call(this,T(this,t))}},{key:"set",value:function(t,e){return Object(S.a)(Object(k.a)(r.prototype),"set",this).call(this,P(this,t),e)}},{key:"delete",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"delete",this).call(this,D(this,t))}}]),r}(Object(C.a)(Map)),A=function(t){Object(E.a)(r,t);var e=Object(M.a)(r);function r(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(Object(x.a)(this,r),n=e.call(this),Object.defineProperties(Object(_.a)(n),{_intern:{value:new Map},_key:{value:i}}),null!=t){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;n.add(s)}}catch(c){a.e(c)}finally{a.f()}}return n}return Object(O.a)(r,[{key:"has",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"has",this).call(this,T(this,t))}},{key:"add",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"add",this).call(this,P(this,t))}},{key:"delete",value:function(t){return Object(S.a)(Object(k.a)(r.prototype),"delete",this).call(this,D(this,t))}}]),r}(Object(C.a)(Set));function T(t,e){var r=t._intern,n=(0,t._key)(e);return r.has(n)?r.get(n):e}function P(t,e){var r=t._intern,n=(0,t._key)(e);return r.has(n)?r.get(n):(r.set(n,e),e)}function D(t,e){var r=t._intern,n=(0,t._key)(e);return r.has(n)&&(e=r.get(e),r.delete(n)),e}function R(t){return null!==t&&"object"===typeof t?t.valueOf():t}var L=function(t){return t};function I(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,L,L,r)}function N(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,Array.from,L,r)}function F(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return W(t,L,e,n)}function B(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return W(t,Array.from,e,n)}function z(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,L,U,r)}function H(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return W(t,Array.from,U,r)}function U(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function W(t,e,r,n){return function t(i,o){if(o>=n.length)return r(i);var a,s=new j,c=n[o++],u=-1,l=Object(m.a)(i);try{for(l.s();!(a=l.n()).done;){var f=a.value,h=c(f,++u,i),d=s.get(h);d?d.push(f):s.set(h,[f])}}catch(x){l.e(x)}finally{l.f()}var p,b=Object(m.a)(s);try{for(b.s();!(p=b.n()).done;){var v=Object(w.a)(p.value,2),g=v[0],y=v[1];s.set(g,t(y,o))}}catch(x){b.e(x)}finally{b.f()}return e(s)}(t,0)}var q=function(t,e){return Array.from(e,(function(e){return t[e]}))};function V(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");t=Array.from(t);var o=r,a=Object(w.a)(o,1),s=a[0],c=void 0===s?i.a:s;if(1===c.length||r.length>1){var u=Uint32Array.from(t,(function(t,e){return e}));return r.length>1?(r=r.map((function(e){return t.map(e)})),u.sort((function(t,e){var n,o=Object(m.a)(r);try{for(o.s();!(n=o.n()).done;){var a=n.value,s=Object(i.a)(a[t],a[e]);if(s)return s}}catch(c){o.e(c)}finally{o.f()}}))):(c=t.map(c),u.sort((function(t,e){return Object(i.a)(c[t],c[e])}))),q(t,u)}return t.sort(c)}function G(t,e,r){return(1===e.length?V(F(t,e,r),(function(t,e){var r=Object(w.a)(t,2),n=r[0],o=r[1],a=Object(w.a)(e,2),s=a[0],c=a[1];return Object(i.a)(o,c)||Object(i.a)(n,s)})):V(I(t,r),(function(t,r){var n=Object(w.a)(t,2),o=n[0],a=n[1],s=Object(w.a)(r,2),c=s[0],u=s[1];return e(a,u)||Object(i.a)(o,c)}))).map((function(t){return Object(w.a)(t,1)[0]}))}var Y=Array.prototype,X=Y.slice,$=(Y.map,function(t){return function(){return t}}),K=r(173);function Z(t,e,r){for(var n;;){var i=Object(K.b)(t,e,r);if(i===n||0===i||!isFinite(i))return[t,e];i>0?(t=Math.floor(t/i)*i,e=Math.ceil(e/i)*i):i<0&&(t=Math.ceil(t*i)/i,e=Math.floor(e*i)/i),n=i}}var J=r(492),Q=function(){var t=L,e=g.a,r=J.a;function i(i){Array.isArray(i)||(i=Array.from(i));var o,a,s=i.length,c=new Array(s);for(o=0;o<s;++o)c[o]=t(i[o],o,i);var u=e(c),l=u[0],f=u[1],h=r(c,l,f);if(!Array.isArray(h)){var d=f,p=+h;if(e===g.a){var m=Z(l,f,p),b=Object(w.a)(m,2);l=b[0],f=b[1]}if((h=Object(K.a)(l,f,p))[h.length-1]>=f)if(d>=f&&e===g.a){var v=Object(K.b)(l,f,p);isFinite(v)&&(v>0?f=(Math.floor(f/v)+1)*v:v<0&&(f=(Math.ceil(f*-v)+1)/-v))}else h.pop()}for(var y=h.length;h[0]<=l;)h.shift(),--y;for(;h[y-1]>f;)h.pop(),--y;var x,O=new Array(y+1);for(o=0;o<=y;++o)(x=O[o]=[]).x0=o>0?h[o-1]:l,x.x1=o<y?h[o]:f;for(o=0;o<s;++o)l<=(a=c[o])&&a<=f&&O[Object(n.d)(h,a,0,y)].push(i[o]);return O}return i.value=function(e){return arguments.length?(t="function"===typeof e?e:$(e),i):t},i.domain=function(t){return arguments.length?(e="function"===typeof t?t:$([t[0],t[1]]),i):e},i.thresholds=function(t){return arguments.length?(r="function"===typeof t?t:Array.isArray(t)?$(X.call(t)):$(t),i):r},i},tt=r(273),et=function(t,e,r){return Math.ceil((r-e)/(2*(Object(tt.a)(t,.75)-Object(tt.a)(t,.25))*Math.pow(Object(a.a)(t),-1/3)))},rt=function(t,e,r){return Math.ceil((r-e)/(3.5*v(t)*Math.pow(Object(a.a)(t),-1/3)))},nt=r(414);function it(t,e){var r,n=-1,i=-1;if(void 0===e){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;++i,null!=s&&(r<s||void 0===r&&s>=s)&&(r=s,n=i)}}catch(f){a.e(f)}finally{a.f()}}else{var c,u=Object(m.a)(t);try{for(u.s();!(c=u.n()).done;){var l=c.value;null!=(l=e(l,++i,t))&&(r<l||void 0===r&&l>=l)&&(r=l,n=i)}}catch(f){u.e(f)}finally{u.f()}}return n}function ot(t,e){var r=0,n=0;if(void 0===e){var i,o=Object(m.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(a=+a)>=a&&(++r,n+=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(m.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(l=+l)>=l&&(++r,n+=l)}}catch(f){u.e(f)}finally{u.f()}}if(r)return n/r}var at=function(t,e){return Object(tt.a)(t,.5,e)},st=r(783),ct=r(321);function ut(t,e){var r,n=-1,i=-1;if(void 0===e){var o,a=Object(m.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;++i,null!=s&&(r>s||void 0===r&&s>=s)&&(r=s,n=i)}}catch(f){a.e(f)}finally{a.f()}}else{var c,u=Object(m.a)(t);try{for(u.s();!(c=u.n()).done;){var l=c.value;null!=(l=e(l,++i,t))&&(r>l||void 0===r&&l>=l)&&(r=l,n=i)}}catch(f){u.e(f)}finally{u.f()}}return n}function lt(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ft,i=[],o=!1,a=Object(m.a)(t);try{for(a.s();!(r=a.n()).done;){var s=r.value;o&&i.push(n(e,s)),e=s,o=!0}}catch(c){a.e(c)}finally{a.f()}return i}function ft(t,e){return[t,e]}var ht=r(493),dt=r(635);function pt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a,n=!1;if(1===r.length){var o,a,s=Object(m.a)(t);try{for(s.s();!(a=s.n()).done;){var c=a.value,u=r(c);(n?Object(i.a)(u,o)<0:0===Object(i.a)(u,u))&&(e=c,o=u,n=!0)}}catch(d){s.e(d)}finally{s.f()}}else{var l,f=Object(m.a)(t);try{for(f.s();!(l=f.n()).done;){var h=l.value;(n?r(h,e)<0:0===r(h,h))&&(e=h,n=!0)}}catch(d){f.e(d)}finally{f.f()}}return e}function mt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;if(1===r.length)return ut(t,r);var n,o=-1,a=-1,s=Object(m.a)(t);try{for(s.s();!(n=s.n()).done;){var c=n.value;++a,(o<0?0===r(c,c):r(c,e)<0)&&(e=c,o=a)}}catch(u){s.e(u)}finally{s.f()}return o}function bt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a,n=!1;if(1===r.length){var o,a,s=Object(m.a)(t);try{for(s.s();!(a=s.n()).done;){var c=a.value,u=r(c);(n?Object(i.a)(u,o)>0:0===Object(i.a)(u,u))&&(e=c,o=u,n=!0)}}catch(d){s.e(d)}finally{s.f()}}else{var l,f=Object(m.a)(t);try{for(f.s();!(l=f.n()).done;){var h=l.value;(n?r(h,e)>0:0===r(h,h))&&(e=h,n=!0)}}catch(d){f.e(d)}finally{f.f()}}return e}function vt(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;if(1===r.length)return it(t,r);var n,o=-1,a=-1,s=Object(m.a)(t);try{for(s.s();!(n=s.n()).done;){var c=n.value;++a,(o<0?0===r(c,c):r(c,e)>0)&&(e=c,o=a)}}catch(u){s.e(u)}finally{s.f()}return o}function gt(t,e){var r=mt(t,e);return r<0?void 0:r}var yt=wt(Math.random);function wt(t){return function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,i=n-(r=+r);i;){var o=t()*i--|0,a=e[i+r];e[i+r]=e[o+r],e[o+r]=a}return e}}function xt(t,e){var r=0;if(void 0===e){var n,i=Object(m.a)(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;(o=+o)&&(r+=o)}}catch(l){i.e(l)}finally{i.f()}}else{var a,s=-1,c=Object(m.a)(t);try{for(c.s();!(a=c.n()).done;){var u=a.value;(u=+e(u,++s,t))&&(r+=u)}}catch(l){c.e(l)}finally{c.f()}}return r}var Ot=function(t){if(!(i=t.length))return[];for(var e=-1,r=Object(ct.a)(t,_t),n=new Array(r);++e<r;)for(var i,o=-1,a=n[e]=new Array(i);++o<i;)a[o]=t[o][e];return n};function _t(t){return t.length}var St=function(){return Ot(arguments)};function kt(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var r,n=-1,i=Object(m.a)(t);try{for(i.s();!(r=i.n()).done;){if(!e(r.value,++n,t))return!1}}catch(o){i.e(o)}finally{i.f()}return!0}function Et(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var r,n=-1,i=Object(m.a)(t);try{for(i.s();!(r=i.n()).done;){if(e(r.value,++n,t))return!0}}catch(o){i.e(o)}finally{i.f()}return!1}function Mt(t,e){if("function"!==typeof e)throw new TypeError("test is not a function");var r,n=[],i=-1,o=Object(m.a)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;e(a,++i,t)&&n.push(a)}}catch(s){o.e(s)}finally{o.f()}return n}function Ct(t,e){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");if("function"!==typeof e)throw new TypeError("mapper is not a function");return Array.from(t,(function(r,n){return e(r,n,t)}))}function jt(t,e,r){if("function"!==typeof e)throw new TypeError("reducer is not a function");var n,i,o=t[Symbol.iterator](),a=-1;if(arguments.length<3){var s=o.next();if(n=s.done,r=s.value,n)return;++a}for(;n=(c=o.next()).done,i=c.value,!n;){var c;r=e(r,i,++a,t)}return r}function At(t){if("function"!==typeof t[Symbol.iterator])throw new TypeError("values is not iterable");return Array.from(t).reverse()}function Tt(t){t=new Set(t);for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a,s=o[i],c=Object(m.a)(s);try{for(c.s();!(a=c.n()).done;){var u=a.value;t.delete(u)}}catch(l){c.e(l)}finally{c.f()}}return t}function Pt(t,e){var r,n=e[Symbol.iterator](),i=new Set,o=Object(m.a)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(i.has(a))return!1;for(var s=void 0,c=void 0;s=(u=n.next()).value,c=u.done,u;){var u;if(c)break;if(Object.is(a,s))return!1;i.add(s)}}}catch(l){o.e(l)}finally{o.f()}return!0}function Dt(t){return t instanceof Set?t:new Set(t)}function Rt(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];t=new Set(t),r=r.map(Dt);var i,o=Object(m.a)(t);try{t:for(o.s();!(i=o.n()).done;){var a,s=i.value,c=Object(m.a)(r);try{for(c.s();!(a=c.n()).done;){var u=a.value;if(!u.has(s)){t.delete(s);continue t}}}catch(l){c.e(l)}finally{c.f()}}}catch(l){o.e(l)}finally{o.f()}return t}function Lt(t,e){var r,n=t[Symbol.iterator](),i=new Set,o=Object(m.a)(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(!i.has(a))for(var s=void 0,c=void 0;s=(u=n.next()).value,c=u.done,u;){var u;if(c)return!1;if(i.add(s),Object.is(a,s))break}}}catch(l){o.e(l)}finally{o.f()}return!0}function It(t,e){return Lt(e,t)}function Nt(){for(var t=new Set,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a,s=o[i],c=Object(m.a)(s);try{for(c.s();!(a=c.n()).done;){var u=a.value;t.add(u)}}catch(l){c.e(l)}finally{c.f()}}return t}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"d",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"e",(function(){return w})),r.d(e,"h",(function(){return _})),r.d(e,"g",(function(){return S})),r.d(e,"b",(function(){return k})),r.d(e,"f",(function(){return T}));var n=r(177);function i(){}var o=.7,a=1/o,s="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),h=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),m=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),b=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function g(){return this.rgb().formatHex()}function y(){return this.rgb().formatRgb()}function w(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?x(e):3===r?new k(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?O(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?O(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new k(e[1],e[2],e[3],1):(e=h.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?O(e[1],e[2],e[3],e[4]):(e=p.exec(t))?O(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=m.exec(t))?j(e[1],e[2]/100,e[3]/100,1):(e=b.exec(t))?j(e[1],e[2]/100,e[3]/100,e[4]):v.hasOwnProperty(t)?x(v[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function x(t){return new k(t>>16&255,t>>8&255,255&t,1)}function O(t,e,r,n){return n<=0&&(t=e=r=NaN),new k(t,e,r,n)}function _(t){return t instanceof i||(t=w(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function S(t,e,r,n){return 1===arguments.length?_(t):new k(t,e,r,null==n?1:n)}function k(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function E(){return"#"+C(this.r)+C(this.g)+C(this.b)}function M(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function C(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function j(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new P(t,e,r,n)}function A(t){if(t instanceof P)return new P(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new P;if(t instanceof P)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),a=Math.max(e,r,n),s=NaN,c=a-o,u=(a+o)/2;return c?(s=e===a?(r-n)/c+6*(r<n):r===a?(n-e)/c+2:(e-r)/c+4,c/=u<.5?a+o:2-a-o,s*=60):c=u>0&&u<1?0:s,new P(s,c,u,t.opacity)}function T(t,e,r,n){return 1===arguments.length?A(t):new P(t,e,r,null==n?1:n)}function P(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function D(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}Object(n.a)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:g,formatHex:g,formatHsl:function(){return A(this).formatHsl()},formatRgb:y,toString:y}),Object(n.a)(k,S,Object(n.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:E,formatHex:E,formatRgb:M,toString:M})),Object(n.a)(P,T,Object(n.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new P(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new P(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,i=2*r-n;return new k(D(t>=240?t-240:t+120,i,n),D(t,i,n),D(t<120?t+240:t-120,i,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return c})),r.d(e,"b",(function(){return f}));r(36),r(17),r(37);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var a=Math.PI/180,s=function(t){return 180*t/Math.PI},c=function(t,e,r,n){return{x:t+Math.cos(-a*n)*r,y:e+Math.sin(-a*n)*r}},u=function(t,e){var r=t.x,n=t.y,i=e.cx,o=e.cy,a=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,u=Math.acos(c);return n>o&&(u=2*Math.PI-u),{radius:a,angle:s(u),angleInRadian:u}},l=function(t,e){var r=e.startAngle,n=e.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return t+360*Math.min(i,o)},f=function(t,e){var r=t.x,n=t.y,o=u({x:r,y:n},e),a=o.radius,s=o.angle,c=e.innerRadius,f=e.outerRadius;if(a<c||a>f)return!1;if(0===a)return!0;var h,d=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:e-360*o,endAngle:r-360*o}}(e),p=d.startAngle,m=d.endAngle,b=s;if(p<=m){for(;b>m;)b-=360;for(;b<p;)b+=360;h=b>=p&&b<=m}else{for(;b>p;)b-=360;for(;b<m;)b+=360;h=b>=m&&b<=p}return h?i(i({},e),{},{radius:a,angle:l(b,e)}):null}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";(function(t){var n=r(1023),i=r(1024),o=r(706);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(t,e,r);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return u(this,t,e,r)}function u(t,e,r,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=h(t,e);return t}(t,e,r,n):"string"===typeof e?function(t,e,r){"string"===typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(e,r),i=(t=s(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(c.isBuffer(e)){var r=0|d(e.length);return 0===(t=s(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||(n=e.length)!==n?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e){if(l(e),t=s(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e){var r=e.length<0?0:0|d(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(t).length;default:if(n)return z(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return E(this,e,r);case"ascii":return M(this,e,r);case"latin1":case"binary":return C(this,e,r);case"base64":return k(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,i);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,i){var o,a=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(t,o+h)!==u(e,h)){f=!1;break}if(f)return o}return-1}function y(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function w(t,e,r,n){return U(z(e,t.length-r),t,r,n)}function x(t,e,r,n){return U(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function O(t,e,r,n){return x(t,e,r,n)}function _(t,e,r,n){return U(H(e),t,r,n)}function S(t,e,r,n){return U(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function k(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function E(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,c,u=t[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128===(192&(o=t[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}(),e.kMaxLength=a(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return u(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return function(t,e,r,n){return l(e),e<=0?s(t,e):void 0!==r?"string"===typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},c.allocUnsafe=function(t){return f(null,t)},c.allocUnsafeSlow=function(t){return f(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)b(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?E(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,r,n,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(n,i),l=t.slice(e,r),f=0;f<s;++f)if(u[f]!==l[f]){o=u[f],a=l[f];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return y(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":return x(this,t,e,r);case"latin1":case"binary":return O(this,t,e,r);case"base64":return _(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function C(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function j(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=B(t[o]);return i}function A(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function T(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function P(t,e,r,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function D(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function R(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function L(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function I(t,e,r,n,o){return o||L(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function N(t,e,r,n,o){return o||L(t,0,r,8),i.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=c.prototype;else{var i=e-t;r=new c(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},c.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||T(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||P(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);P(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||P(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return I(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return I(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return N(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return N(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},c.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=c.isBuffer(t)?t:z(new c(t,n).toString()),s=a.length;for(o=0;o<r-e;++o)this[o+e]=a[o%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function H(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function U(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(120))},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r(0);var n=r(426),i=r(284);function o(){return Object(n.a)(i.a)}},,function(t,e,r){"use strict";function n(t){return t&&t.ownerDocument||document}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(823);var i=r(517),o=r(824);function a(t,e){return Object(n.a)(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||Object(i.a)(t,e)||Object(o.a)()}},function(t,e,r){"use strict";r.d(e,"e",(function(){return n})),r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"d",(function(){return c}));r(19),r(2),r(10),r(558),r(236);var n={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(n[t],"px)")}};function o(t,e,r){var o=t.theme||{};if(Array.isArray(e)){var a=o.breakpoints||i;return e.reduce((function(t,n,i){return t[a.up(a.keys[i])]=r(e[i]),t}),{})}if("object"===typeof e){var s=o.breakpoints||i;return Object.keys(e).reduce((function(t,i){if(-1!==Object.keys(s.values||n).indexOf(i)){t[s.up(i)]=r(e[i],i)}else{var o=i;t[o]=e[o]}return t}),{})}return r(e)}function a(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=null==e||null==(t=e.keys)?void 0:t.reduce((function(t,r){return t[e.up(r)]={},t}),{});return r||{}}function s(t,e){return t.reduce((function(t,e){var r=t[e];return(!r||0===Object.keys(r).length)&&delete t[e],t}),e)}function c(t){var e,r=t.values,n=t.breakpoints,i=t.base||function(t,e){if("object"!==typeof t)return{};var r={},n=Object.keys(e);return Array.isArray(t)?n.forEach((function(e,n){n<t.length&&(r[e]=!0)})):n.forEach((function(e){null!=t[e]&&(r[e]=!0)})),r}(r,n),o=Object.keys(i);return 0===o.length?r:o.reduce((function(t,n,i){return Array.isArray(r)?(t[n]=null!=r[i]?r[i]:r[e],e=i):(t[n]=null!=r[n]?r[n]:r[e]||r,e=n),t}),{})}},function(t,e,r){"use strict";var n;!function(i,o){t.exports?(o.default=o,t.exports=i.document?o(i):o):void 0===(n=function(){return o(i)}.call(e,r,e,t))||(t.exports=n)}("undefined"!==typeof window?window:this,(function(t){function e(t,e,r,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,r))}var r={};return e(r,"Core/Globals.js",[],(function(){var e,r,n="undefined"!==typeof t?t:"undefined"!==typeof window?window:{};return(r=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",r.product="Highcharts",r.version="9.3.2",r.win=n,r.doc=r.win.document,r.svg=r.doc&&r.doc.createElementNS&&!!r.doc.createElementNS(r.SVG_NS,"svg").createSVGRect,r.userAgent=r.win.navigator&&r.win.navigator.userAgent||"",r.isChrome=-1!==r.userAgent.indexOf("Chrome"),r.isFirefox=-1!==r.userAgent.indexOf("Firefox"),r.isMS=/(edge|msie|trident)/i.test(r.userAgent)&&!r.win.opera,r.isSafari=!r.isChrome&&-1!==r.userAgent.indexOf("Safari"),r.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(r.userAgent),r.isWebKit=-1!==r.userAgent.indexOf("AppleWebKit"),r.deg2rad=2*Math.PI/360,r.hasBidiBug=r.isFirefox&&4>parseInt(r.userAgent.split("Firefox/")[1],10),r.hasTouch=!!r.win.TouchEvent,r.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],r.noop=function(){},r.supportsPassiveEvents=function(){var t=!1;if(!r.isMS){var e=Object.defineProperty({},"passive",{get:function(){t=!0}});r.win.addEventListener&&r.win.removeEventListener&&(r.win.addEventListener("testPassive",r.noop,e),r.win.removeEventListener("testPassive",r.noop,e))}return t}(),r.charts=[],r.dateFormats={},r.seriesTypes={},r.symbolSizes={},r.chartCount=0,e})),e(r,"Core/Utilities.js",[r["Core/Globals.js"]],(function(t){function e(r,n,i,o){var a=n?"Highcharts error":"Highcharts warning";32===r&&(r=a+": Deprecated member");var s=c(r),u=s?a+" #"+r+": www.highcharts.com/errors/"+r+"/":r.toString();if("undefined"!==typeof o){var l="";s&&(u+="?"),m(o,(function(t,e){l+="\n - "+e+": "+t,s&&(u+=encodeURI(e)+"="+encodeURI(t))})),u+=l}v(t,"displayError",{chart:i,code:r,message:u,params:o},(function(){if(n)throw Error(u);w.console&&-1===e.messages.indexOf(u)&&console.warn(u)})),e.messages.push(u)}function r(t,e){return parseInt(t,e||10)}function n(t){return"string"===typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!!t&&"object"===typeof t&&(!e||!i(t))}function a(t){return o(t)&&"number"===typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function c(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function u(t){return"undefined"!==typeof t&&null!==t}function l(t,e,r){var i;return n(e)?u(r)?t.setAttribute(e,r):t&&t.getAttribute&&((i=t.getAttribute(e))||"class"!==e||(i=t.getAttribute(e+"Name"))):m(e,(function(e,r){u(e)?t.setAttribute(r,e):t.removeAttribute(r)})),i}function f(t,e){var r;for(r in t||(t={}),e)t[r]=e[r];return t}function h(){for(var t=arguments,e=t.length,r=0;r<e;r++){var n=t[r];if("undefined"!==typeof n&&null!==n)return n}}function d(e,r){t.isMS&&!t.svg&&r&&"undefined"!==typeof r.opacity&&(r.filter="alpha(opacity="+100*r.opacity+")"),f(e.style,r)}function p(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,r){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(r||t[n],t[n],n,t)}function b(e,r,n){function i(r,n){var i=e.removeEventListener||t.removeEventListenerPolyfill;i&&i.call(e,r,n,!1)}function o(t){var n;if(e.nodeName){if(r){var o={};o[r]=!0}else o=t;m(o,(function(e,r){if(t[r])for(n=t[r].length;n--;)i(r,t[r][n].fn)}))}}var a="function"===typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;r?(a=s[r]||[],n?(s[r]=a.filter((function(t){return n!==t.fn})),i(r,n)):(o(s),s[r]=[])):(o(s),delete a.hcEvents)}}function v(e,r,n,i){if(n=n||{},y.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=y.createEvent("Events");o.initEvent(r,!0,!0),n=f(o,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(r,n)}else if(e.hcEvents){n.target||f(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:r}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[r]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[r])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,n)&&n.preventDefault()}))}i&&!n.defaultPrevented&&i.call(e,n)}var g=t.charts,y=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var r,n=t.length;for(r=0;r<n;r++)if(e(t[r],r))return t[r]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(r,n){t[n]=function(t){var i;return e(32,!1,void 0,((i={})["Highcharts."+n]="use Array."+r,i)),Array.prototype[r].apply(t,[].slice.call(arguments,1))}}));var O,_=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(O?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):g[l(this[0],"data-highcharts-chart")]}),x={addEvent:function(e,r,n,i){void 0===i&&(i={});var o="function"===typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,r,n,!!t.supportsPassiveEvents&&{passive:void 0===i.passive?-1!==r.indexOf("touch"):i.passive,capture:!1}),o[r]||(o[r]=[]),o[r].push({fn:n,order:"number"===typeof i.order?i.order:1/0}),o[r].sort((function(t,e){return t.order-e.order})),function(){b(e,r,n)}},arrayMax:function(t){for(var e=t.length,r=t[0];e--;)t[e]>r&&(r=t[e]);return r},arrayMin:function(t){for(var e=t.length,r=t[0];e--;)t[e]<r&&(r=t[e]);return r},attr:l,clamp:function(t,e,r){return t>e?t<r?t:r:e},cleanRecursively:function t(e,r){var n={};return m(e,(function(i,a){o(e[a],!0)&&!e.nodeType&&r[a]?(i=t(e[a],r[a]),Object.keys(i).length&&(n[a]=i)):(o(e[a])||e[a]!==r[a])&&(n[a]=e[a])})),n},clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){u(t)&&clearTimeout(t)})),correctFloat:p,createElement:function(t,e,r,n,i){return t=y.createElement(t),e&&f(t,e),i&&d(t,{padding:"0",border:"none",margin:"0"}),r&&d(t,r),n&&n.appendChild(t),t},css:d,defined:u,destroyObjectProperties:function(t,e){m(t,(function(r,n){r&&r!==e&&r.destroy&&r.destroy(),delete t[n]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var r=t.length;r--;)if(t[r]===e){t.splice(r,1);break}},error:e,extend:f,extendClass:function(t,e){var r=function(){};return f(r.prototype=new t,e),r},find:x,fireEvent:v,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&u(e);){var r=t.shift();if("undefined"===typeof r||"__proto__"===r)return;if(!u(e=e[r])||"function"===typeof e||"number"===typeof e.nodeType||e===w)return}return e},getStyle:function n(i,o,a){var s=t.getStyle||n;if("width"===o)return o=Math.min(i.offsetWidth,i.scrollWidth),(a=i.getBoundingClientRect&&i.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(i,"padding-left",!0)||0)-(s(i,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(s(i,"padding-top",!0)||0)-(s(i,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),i=w.getComputedStyle(i,void 0)){var c=i.getPropertyValue(o);h(a,"opacity"!==o)&&(c=r(c))}return c},inArray:function(t,r,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),r.indexOf(t,n)},isArray:i,isClass:s,isDOMElement:a,isFunction:function(t){return"function"===typeof t},isNumber:c,isObject:o,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,r={},n=function t(e,r){return"object"!==typeof e&&(e={}),m(r,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!o(n,!0)||s(n)||a(n)?e[i]=r[i]:e[i]=t(e[i]||{},n))})),e};!0===e[0]&&(r=e[1],e=Array.prototype.slice.call(e,2));var i=e.length;for(t=0;t<i;t++)r=n(r,e[t]);return r},normalizeTickInterval:function(t,e,r,n,i){var o=t,a=t/(r=h(r,1));for(e||(e=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===r?e=e.filter((function(t){return 0===t%1})):.1>=r&&(e=[1/r]))),n=0;n<e.length&&(o=e[n],!(i&&o*r>=t||!i&&a<=(e[n]+(e[n+1]||e[n]))/2));n++);return p(o*r,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=y.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,r){return Array((e||2)+1-String(t).replace("-","").length).join(r||"0")+t},pick:h,pInt:r,relativeLength:function(t,e,r){return/%$/.test(t)?e*parseFloat(t)/100+(r||0):parseFloat(t)},removeEvent:b,splat:function(t){return i(t)?t:[t]},stableSort:function(t,e){var r,n,i=t.length;for(n=0;n<i;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(r=e(t,n))?t.safeI-n.safeI:r})),n=0;n<i;n++)delete t[n].safeI},syncTimeout:function(t,e,r){return 0<e?setTimeout(t,e,r):(t.call(0,r),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:_,useSerialIds:function(t){return O=h(t,O)},wrap:function(t,e,r){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,i=this;return i.proceed=function(){n.apply(i,arguments.length?arguments:e)},t.unshift(n),t=r.apply(this,t),i.proceed=null,t}}}})),e(r,"Core/Chart/ChartDefaults.js",[],(function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(r,"Core/Color/Color.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.isNumber,n=e.merge,i=e.pInt;return e=function(){function e(r){this.rgba=[NaN,NaN,NaN,NaN],this.input=r;var n=t.Color;return n&&n!==e?new n(r):this instanceof e?void this.init(r):new e(r)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var r;if("object"===typeof t&&"undefined"!==typeof t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"===typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var n=t.length,i=parseInt(t.substr(1),16);7===n?r=[(16711680&i)>>16,(65280&i)>>8,255&i,1]:4===n&&(r=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!r)for(i=e.parsers.length;i--&&!r;){var o=e.parsers[i];(n=o.regex.exec(t))&&(r=o.parse(n))}}r&&(this.rgba=r)},e.prototype.get=function(t){var e=this.input,i=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var o=n(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,r){o.stops[r]=[o.stops[r][0],e.get(t)]})),o}return i&&r(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?""+i[3]:"rgba("+i.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(r(t)&&0!==t)for(var n=0;3>n;n++)e[n]+=i(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,i=t.rgba;return r(n[0])&&r(i[0])?((t=1!==i[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(i[0]+(n[0]-i[0])*(1-e))+","+Math.round(i[1]+(n[1]-i[1])*(1-e))+","+Math.round(i[2]+(n[2]-i[2])*(1-e))+(t?","+(i[3]+(n[3]-i[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),1]}}],e.None=new e(""),e}()})),e(r,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(r,"Core/Time.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.win,n=e.defined,i=e.error,o=e.extend,a=e.isObject,s=e.merge,c=e.objectEach,u=e.pad,l=e.pick,f=e.splat,h=e.timeUnits,d=t.isSafari&&r.Intl&&r.Intl.DateTimeFormat.prototype.formatRange,p=t.isSafari&&r.Intl&&!r.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=r.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var r=e.getTime(),n=r-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(r),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,r){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0===this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](r);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](r),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||d&&"FullYear"===t?e["setUTC"+t](r):e["set"+t](r)},e.prototype.update=function(t){var e=l(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||r.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,r,n,i,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var c=this.getTimezoneOffset(a);s!==c?a+=c-s:s-36e5!==this.getTimezoneOffset(a-36e5)||p||(a-=36e5)}else a=new this.Date(t,e,l(r,1),l(n,0),l(i,0),l(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.getTimezoneOffset,o=e.moment||r.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};i(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,r,i){if(!n(r)||isNaN(r))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=l(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(r),f=this.get("Hours",s),h=this.get("Day",s),d=this.get("Date",s),p=this.get("Month",s),m=this.get("FullYear",s),b=t.defaultOptions.lang,v=b&&b.weekdays,g=b&&b.shortWeekdays;return s=o({a:g?g[h]:v[h].substr(0,3),A:v[h],d:u(d),e:u(d,2," "),w:h,b:b.shortMonths[p],B:b.months[p],m:u(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:u(f),k:f,I:u(f%12||12),l:f%12||12,M:u(this.get("Minutes",s)),p:12>f?"AM":"PM",P:12>f?"am":"pm",S:u(s.getSeconds()),L:u(Math.floor(r%1e3),3)},t.dateFormats),c(s,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"===typeof t?t.call(a,r):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=f(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,r,i){var a,s=this,c=[],u={},f=new s.Date(e),d=t.unitRange,p=t.count||1;if(i=l(i,1),n(e)){if(s.set("Milliseconds",f,d>=h.second?0:p*Math.floor(s.get("Milliseconds",f)/p)),d>=h.second&&s.set("Seconds",f,d>=h.minute?0:p*Math.floor(s.get("Seconds",f)/p)),d>=h.minute&&s.set("Minutes",f,d>=h.hour?0:p*Math.floor(s.get("Minutes",f)/p)),d>=h.hour&&s.set("Hours",f,d>=h.day?0:p*Math.floor(s.get("Hours",f)/p)),d>=h.day&&s.set("Date",f,d>=h.month?1:Math.max(1,p*Math.floor(s.get("Date",f)/p))),d>=h.month){s.set("Month",f,d>=h.year?0:p*Math.floor(s.get("Month",f)/p));var m=s.get("FullYear",f)}d>=h.year&&s.set("FullYear",f,m-m%p),d===h.week&&(m=s.get("Day",f),s.set("Date",f,s.get("Date",f)-m+i+(m<i?-7:0))),m=s.get("FullYear",f),i=s.get("Month",f);var b=s.get("Date",f),v=s.get("Hours",f);for(e=f.getTime(),!s.variableTimezone&&s.useUTC||!n(r)||(a=r-e>4*h.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(r)),e=f.getTime(),f=1;e<r;)c.push(e),e=d===h.year?s.makeTime(m+f*p,0):d===h.month?s.makeTime(m,i+f*p):!a||d!==h.day&&d!==h.week?a&&d===h.hour&&1<p?s.makeTime(m,i,b,v+f*p):e+d*p:s.makeTime(m,i,b+f*p*(d===h.day?1:7)),f++;c.push(e),d<=h.hour&&1e4>c.length&&c.forEach((function(t){0===t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(u[t]="day")}))}return c.info=o(t,{higherRanks:u,totalRange:d*p}),c},e.prototype.getDateFormat=function(t,e,r,n){var i=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in h){if(t===h.week&&+this.dateFormat("%w",e)===r&&"00:00:00.000"===i.substr(6)){var s="week";break}if(h[s]>t){s=a;break}if(o[s]&&i.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}if(s)var c=this.resolveDTLFormat(n[s]).main;return c},e}()})),e(r,"Core/DefaultOptions.js",[r["Core/Chart/ChartDefaults.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Color/Palettes.js"],r["Core/Time.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){e=e.parse;var a=o.merge,s={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:r.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:r.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var c=new i(a(s.global,s.time));return t={defaultOptions:s,defaultTime:c,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(r.time?r.time.update(a(s.global,s.time,t.global,t.time)):r.time=c),s}}})),e(r,"Core/Animation/Fx.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=t.parse,i=e.win,o=r.isNumber,a=r.objectEach;return function(){function t(t,e,r){this.pos=NaN,this.options=e,this.elem=t,this.prop=r}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var r=this.now||0,n=[];if(1!==r&&e&&t)if(e.length===t.length&&1>r)for(var i=0;i<t.length;i++){for(var a=e[i],s=t[i],c=[],u=0;u<s.length;u++){var l=a[u],f=s[u];o(l)&&o(f)&&("A"!==s[0]||4!==u&&5!==u)?c[u]=l+r*(f-l):c[u]=f}n.push(c)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,r=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,r,null,!0):t.style[e]=r+this.unit,n&&n.call(t,r,this)},t.prototype.run=function(e,r,n){var o=this,a=o.options,s=function t(e){return!t.stopped&&o.step(e)},c=i.requestAnimationFrame||function(t){setTimeout(t,13)};e!==r||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=r,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&c((function e(){for(var r=0;r<t.timers.length;r++)t.timers[r]()||t.timers.splice(r--,1);t.timers.length&&c(e)}))):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,r=this.options,n=this.elem,i=r.complete,o=r.duration,s=r.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var c=s[this.prop]=!0;a(s,(function(t){!0!==t&&(c=!1)})),c&&i&&i.call(n),t=!1}else this.pos=r.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,r){function n(t,e){for(;t.length<h;){var r=t[0],n=e[h-t.length];n&&"M"===r[0]&&(t[0]="C"===n[0]?["C",r[1],r[2],r[1],r[2],r[1],r[2]]:["L",r[1],r[2]]),t.unshift(r),c&&(r=t.pop(),t.push(t[t.length-1],r))}}function i(t,e){for(;t.length<h;)if("C"===(e=t[Math.floor(t.length/u)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),c){var r=t[Math.floor(t.length/u)].slice();t.splice(t.length/2,0,e,r)}else t.push(e)}var a=t.startX,s=t.endX;r=r.slice();var c=t.isArea,u=c?2:1;if(!(e=e&&e.slice()))return[r,r];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var l=t;break}if(a[0]===s[s.length-a.length+t]){l=t;var f=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){l=a.length-t;break}}"undefined"===typeof l&&(e=[])}if(e.length&&o(l)){var h=r.length+l*u;f?(n(e,r),i(r,e)):(n(r,e),i(e,r))}return[e,r]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(r,"Core/Animation/AnimationUtilities.js",[r["Core/Animation/Fx.js"],r["Core/Utilities.js"]],(function(t,e){function r(t){return c(t)?u({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,r){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||r&&r!==t.timers[n].prop||(t.timers[n].stopped=!0)}var i=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,c=e.isObject,u=e.merge,l=e.objectEach,f=e.pick;return{animate:function(e,r,i){var f,h,d,p="";if(!c(i)){var m=arguments;i={duration:m[2],easing:m[3],complete:m[4]}}s(i.duration)||(i.duration=400),i.easing="function"===typeof i.easing?i.easing:Math[i.easing]||Math.easeInOutSine,i.curAnim=u(r),l(r,(function(s,c){n(e,c),d=new t(e,i,c),h=void 0,"d"===c&&a(r.d)?(d.paths=d.initPath(e,e.pathArray,r.d),d.toD=r.d,f=0,h=1):e.attr?f=e.attr(c):(f=parseFloat(o(e,c))||0,"opacity"!==c&&(p="px")),h||(h=s),"string"===typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),d.run(f,h,p)}))},animObject:r,getDeferredAnimation:function(t,e,n){var o=r(e),a=0,s=0;return(n?[n]:t.series).forEach((function(t){t=r(t.options.animation),a=e&&i(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=f(t,e.options.chart.animation,!0)},stop:n}})),e(r,"Core/Renderer/HTML/AST.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.SVG_NS,n=e.attr,i=e.createElement,o=e.error,a=e.isFunction,s=e.isString,c=e.objectEach,u=e.splat,l=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),f=l?l.createHTML(""):"";try{var h=!!(new DOMParser).parseFromString(f,"text/html")}catch(d){h=!1}return a=function(){function e(t){this.nodes="string"===typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return c(t,(function(r,n){var i=!0;-1===e.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=s(r)&&e.allowedReferences.some((function(t){return 0===r.indexOf(t)}))),i||(o("Highcharts warning: Invalid attribute '"+n+"' in config"),delete t[n])})),t},e.setElementHTML=function(t,r){t.innerHTML=e.emptyHTML,r&&new e(r).addToDOM(t)},e.prototype.addToDOM=function(i){return function i(a,s){var l;return u(a).forEach((function(a){var u=a.tagName,f=a.textContent?t.doc.createTextNode(a.textContent):void 0;if(u)if("#text"===u)var h=f;else if(-1!==e.allowedTags.indexOf(u)){u=t.doc.createElementNS("svg"===u?r:s.namespaceURI||r,u);var d=a.attributes||{};c(a,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(d[e]=t)})),n(u,e.filterUserAttributes(d)),f&&u.appendChild(f),i(a.children||[],u),h=u}else o("Highcharts warning: Invalid tagName "+u+" in config");h&&s.appendChild(h),l=h})),l}(this.nodes,i)},e.prototype.parseMarkup=function(t){var e=[];if(t=t.trim(),h)t=(new DOMParser).parseFromString(l?l.createHTML(t):t,"text/html");else{var r=i("div");r.innerHTML=t,t={body:r}}return[].forEach.call(t.body.childNodes,(function(t){return function t(e,r){var n=e.nodeName.toLowerCase(),i={tagName:n};if("#text"===n&&(i.textContent=e.textContent||""),n=e.attributes){var o={};[].forEach.call(n,(function(t){o[t.name]=t.value})),i.attributes=o}if(e.childNodes.length){var a=[];[].forEach.call(e.childNodes,(function(e){t(e,a)})),a.length&&(i.children=a)}r.push(i)}(t,e)})),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=f,e}()})),e(r,"Core/FormatUtilities.js",[r["Core/DefaultOptions.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e,r,i){t=+t||0,e=+e;var o=n.lang,u=(t.toString().split(".")[1]||"").split("e")[0].length,l=t.toString().split("e"),f=e;if(-1===e)e=Math.min(u,20);else if(a(e)){if(e&&l[1]&&0>l[1]){var h=e+ +l[1];0<=h?(l[0]=(+l[0]).toExponential(h).split("e")[0],e=h):(l[0]=l[0].split(".")[0]||0,t=20>e?(l[0]*Math.pow(10,l[1])).toFixed(e):0,l[1]=0)}}else e=2;h=(Math.abs(l[1]?l[0]:t)+Math.pow(10,-Math.max(e,u)-1)).toFixed(e);var d=3<(u=String(c(h))).length?u.length%3:0;return r=s(r,o.decimalPoint),i=s(i,o.thousandsSep),t=(0>t?"-":"")+(d?u.substr(0,d)+i:""),t=0>+l[1]&&!f?"0":t+u.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=r+h.slice(-e)),l[1]&&0!==+t&&(t+="e"+l[1]),t}var n=t.defaultOptions,i=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,c=e.pInt;return{dateFormat:function(t,e,r){return i.dateFormat(t,e,r)},format:function(t,e,a){var s="{",c=!1,u=/f$/,l=/\.([0-9])/,f=n.lang,h=a&&a.time||i;a=a&&a.numberFormatter||r;for(var d=[];t;){var p=t.indexOf(s);if(-1===p)break;var m=t.slice(0,p);if(c){if(m=m.split(":"),s=o(m.shift()||"",e),m.length&&"number"===typeof s)if(m=m.join(":"),u.test(m)){var b=parseInt((m.match(l)||["","-1"])[1],10);null!==s&&(s=a(s,b,f.decimalPoint,-1<m.indexOf(",")?f.thousandsSep:""))}else s=h.dateFormat(m,s);d.push(s)}else d.push(m);t=t.slice(p+1),s=(c=!c)?"}":"{"}return d.push(t),d.join("")},numberFormat:r}})),e(r,"Core/Renderer/RendererUtilities.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.clamp,n=t.pick,i=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,c=e,u=c.reducedLen||o,l=function(t,e){return(e.rank||0)-(t.rank||0)},f=function(t,e){return t.target-e.target},h=!0,d=[],p=0;for(s=e.length;s--;)p+=e[s].size;if(p>u){for(i(e,l),p=s=0;p<=u;)p+=e[s].size,s++;d=e.splice(s-1,e.length)}for(i(e,f),e=e.map((function(t){return{size:t.size,targets:[t.target],align:n(t.align,.5)}}));h;){for(s=e.length;s--;)u=e[s],l=(Math.min.apply(0,u.targets)+Math.max.apply(0,u.targets))/2,u.pos=r(l-u.size*u.align,0,o-u.size);for(s=e.length,h=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),h=!0)}return c.push.apply(c,d),s=0,e.some((function(e){var r=0;return(e.targets||[]).some((function(){return c[s].pos=e.pos+r,"undefined"!==typeof a&&Math.abs(c[s].pos-c[s].target)>a?(c.slice(0,s+1).forEach((function(t){return delete t.pos})),c.reducedLen=(c.reducedLen||o)-.1*o,c.reducedLen>.1*o&&t(c,o,a),!0):(r+=c[s].size,s++,!1)}))})),i(c,f),c}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGElement.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.animate,a=t.animObject,s=t.stop,c=n.deg2rad,u=n.doc,l=n.noop,f=n.svg,h=n.SVG_NS,d=n.win,p=i.addEvent,m=i.attr,b=i.createElement,v=i.css,g=i.defined,y=i.erase,w=i.extend,x=i.fireEvent,O=i.isArray,_=i.isFunction,S=i.isNumber,k=i.isString,E=i.merge,M=i.objectEach,C=i.pick,j=i.pInt,A=i.syncTimeout,T=i.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=h,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,r){r.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,r=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(r),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var r=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===r.indexOf(e)&&t.push(e),t}),r?[r]:[]).join(" "))!==r&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,r){var n,i,o,a={},s=this.renderer,c=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!r||k(r))&&(this.alignTo=n=r||"renderer",y(c,this),c.push(this),r=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),r=C(r,s[n],"scrollablePlotBox"===n?s.plotBox:void 0,s),n=t.align;var u=t.verticalAlign;return s=(r.x||0)+(t.x||0),c=(r.y||0)+(t.y||0),"right"===n?i=1:"center"===n&&(i=2),i&&(s+=(r.width-(t.width||0))/i),a[e?"translateX":"x"]=Math.round(s),"bottom"===u?o=1:"middle"===u&&(o=2),o&&(c+=(r.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(c),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,r){var n=this,i=a(C(e,this.renderer.globalAnimation,!0));return e=i.defer,C(u.hidden,u.msHidden,u.webkitHidden,!1)&&(i.duration=0),0!==i.duration?(r&&(i.complete=r),A((function(){n.element&&o(n,t,i)}),e)):(this.attr(t,void 0,r),M(t,(function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var r=t.split(" ");if(t=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,r){return 2*Number(e)+r})),this.removeTextOutline();var i=u.createElementNS(h,"tspan");m(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":r,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),i.appendChild(e)}));var o=u.createElementNS(h,"tspan");o.textContent="\u200b",["x","y"].forEach((function(t){var r=e.getAttribute(t);r&&o.setAttribute(t,r)})),i.appendChild(o),e.insertBefore(i,e.firstChild)}},t.prototype.attr=function(t,e,r,n){var i,o,a,c=this.element,u=this.symbolCustomAttribs,l=this;if("string"===typeof t&&"undefined"!==typeof e){var f=t;(t={})[f]=e}return"string"===typeof t?l=(this[t+"Getter"]||this._defaultGetter).call(this,t,c):(M(t,(function(e,r){o=!1,n||s(this,r),this.symbolName&&-1!==u.indexOf(r)&&(i||(this.symbolAttr(t),i=!0),o=!0),!this.rotation||"x"!==r&&"y"!==r||(this.doTransform=!0),o||((a=this[r+"Setter"]||this._defaultSetter).call(this,e,r,c),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(r)&&this.updateShadows(r,e,a))}),this),this.afterSetters()),r&&r.call(this),l},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var r=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+r,t.y=Math.floor(t.y||this.y||0)+r,t.width=Math.floor((t.width||this.width||0)-2*r),t.height=Math.floor((t.height||this.height||0)-2*r),g(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var i,o,a,s,c,u,l,f,h,d,p,m=this.renderer,b=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],c=m.gradients,u=t.stops,h=n.radialReference,O(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!g(a.gradientUnits)&&(s=a,a=E(a,m.getRadialAttr(h,s),{gradientUnits:"userSpaceOnUse"})),M(a,(function(t,e){"id"!==e&&b.push(e,t)})),M(u,(function(t){b.push(t)})),b=b.join(","),c[b])d=c[b].attr("id");else{a.id=d=T();var v=c[b]=m.createElement(o).attr(a).add(m.defs);v.radAttr=s,v.stops=[],u.forEach((function(t){0===t[1].indexOf("rgba")?(i=r.parse(t[1]),l=i.get("rgb"),f=i.get("a")):(l=t[1],f=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":f}).add(v),v.stops.push(t)}))}p="url("+m.url+"#"+d+")",n.setAttribute(e,p),n.gradient=b,t.toString=function(){return p}}}))},t.prototype.css=function(t){var e=this.styles,r={},n=this.element,i=["textOutline","textOverflow","width"],o="",a=!e;if(t&&t.color&&(t.fill=t.color),e&&M(t,(function(t,n){e&&e[n]!==t&&(r[n]=t,a=!0)})),a){if(e&&(t=w(e,r)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var s=this.textWidth=j(t.width);if(this.styles=t,s&&!f&&this.renderer.forExport&&delete t.width,n.namespaceURI===this.SVG_NS){var c=function(t,e){return"-"+e.toLowerCase()};M(t,(function(t,e){-1===i.indexOf(e)&&(o+=e.replace(/([A-Z])/g,c)+":"+t+";")})),o&&m(n,"style",o)}else v(n,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var r=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=r.length;t--;)r[t]=""+j(r[t])*C(e,NaN);t=r.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},r=t.renderer,n=e.ownerSVGElement,i=r.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&n){var o=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),r.styledMode||t.destroyShadows();i&&i.div&&0===i.div.childNodes.length;)e=i.parentGroup,t.safeRemoveChild(i.div),delete i.div,i=e;t.alignTo&&y(r.alignedObjects,t),M(t,(function(e,r){t[r]&&t[r].parentGroup===t&&t[r].destroy&&t[r].destroy(),delete t[r]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var r=t.getElementsByTagName("text")[0];if(r){if(r.removeAttribute("dx"),r.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&r.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)r.appendChild(t[0]);r.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,r){O(t)&&("string"===typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,r){return e&&e.join?(r?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(r.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:C(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,r){"string"===typeof t?r.setAttribute(e,t):t&&this.complexColor(t,e,r)},t.prototype.getBBox=function(e,r){var n=this.renderer,i=this.element,o=this.styles,a=this.textStr,s=n.cache,u=n.cacheKeys,l=i.namespaceURI===this.SVG_NS;r=C(r,this.rotation,0);var f,h=n.styledMode?i&&t.prototype.getStyle.call(i,"font-size"):o&&o.fontSize;if(g(a)){var d=a.toString();-1===d.indexOf("<")&&(d=d.replace(/[0-9]/g,"0")),d+=["",r,h,this.textWidth,o&&o.textOverflow,o&&o.fontWeight].join()}if(d&&!e&&(f=s[d]),!f){if(l||n.forExport){try{var p=this.fakeTS&&function(t){var e=i.querySelector(".highcharts-text-outline");e&&v(e,{display:t})};_(p)&&p("none"),f=i.getBBox?w({},i.getBBox()):{width:i.offsetWidth,height:i.offsetHeight},_(p)&&p("")}catch(m){}(!f||0>f.width)&&(f={width:0,height:0})}else f=this.htmlGetBBox();if(n.isSVG&&(e=f.width,n=f.height,l&&(f.height=n={"11px,17":14,"13px,20":16}[(h||"")+","+Math.round(n)]||n),r&&(l=r*c,f.width=Math.abs(n*Math.sin(l))+Math.abs(e*Math.cos(l)),f.height=Math.abs(n*Math.cos(l))+Math.abs(e*Math.sin(l)))),d&&(""===a||0<f.height)){for(;250<u.length;)delete s[u.shift()];s[d]||u.push(d),s[d]=f}}return f},t.prototype.getStyle=function(t){return d.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?b(e):u.createElementNS(this.SVG_NS,e),this.renderer=t,x(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var r=this.onEvents;return r[t]&&r[t](),r[t]=p(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,r){this.opacity=t=Number(Number(t).toFixed(3)),r.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,r){var n=this.element,i=this.text?this.text.element:n,o={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,c=!s;r=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},r);var u=e.filterUserAttributes(r.attributes);if(t&&r&&r.enabled){s&&null===s.element.parentNode?(c=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(u.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var f=s.element;if((r=t.element.getAttribute("id"))||t.element.setAttribute("id",r=T()),c)for(i.setAttribute("y",0),S(u.dx)&&i.setAttribute("x",-u.dx),t=[].slice.call(i.childNodes),c=0;c<t.length;c++){var h=t[c];h.nodeType!==d.Node.TEXT_NODE&&"tspan"!==h.nodeName||f.appendChild(h)}a&&s&&s.add({element:i}),f.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+r),g(u.dy)&&(f.parentNode.setAttribute("dy",u.dy),delete u.dy),g(u.dx)&&(f.parentNode.setAttribute("dx",u.dx),delete u.dx),M(u,(function(t,e){f.setAttribute(o[e]||e,t)})),n.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=l}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,r){var n,i=[],o=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},c=!1;if(!0===t?n=s:"object"===typeof t&&(n=w(s,t)),n&&(n&&a&&M(n,(function(t,e){t!==a[e]&&(c=!0)})),c&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var u=n.opacity/n.width,l=this.parentInverted?"translate("+n.offsetY+", "+n.offsetX+")":"translate("+n.offsetX+", "+n.offsetY+")";for(s=1;s<=n.width;s++){var f=o.cloneNode(!1),h=2*n.width+1-2*s;m(f,{stroke:t.color||"#000000","stroke-opacity":u*s,"stroke-width":h,transform:l,fill:"none"}),f.setAttribute("class",(f.getAttribute("class")||"")+" highcharts-shadow"),r&&(m(f,"height",Math.max(m(f,"height")-h,0)),f.cutHeight=h),e?e.element.appendChild(f):o.parentNode&&o.parentNode.insertBefore(f,o),i.push(f)}this.shadows=i}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,r,n){this[r]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===r&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=j(t);else if(""!==t){var r=u.createElementNS(h,"rect");m(r,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(r),e=r.getBBox().width,r.parentNode.removeChild(r)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(r){e[r]=C(t[r],e[r])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,r=e.getElementsByTagName("title")[0]||u.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(r,e.firstChild):e.appendChild(r),r.textContent=String(C(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,r){var n=this.shadows;if(n)for(var i=n.length;i--;)r.call(n[i],"height"===t?Math.max(e-(n[i].cutHeight||0),0):"d"===t?this.d:e,t,n[i])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,r=this.inverted,n=this.rotation,i=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;r&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],g(i)&&a.push("matrix("+i.join(",")+")"),r?a.push("rotate(90) scale(-1,1)"):n&&a.push("rotate("+n+" "+C(this.rotationOriginX,o.getAttribute("x"),0)+" "+C(this.rotationOriginY,o.getAttribute("y")||0)+")"),(g(t)||g(e))&&a.push("scale("+C(t,1)+" "+C(e,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,r){"inherit"===t?r.removeAttribute(e):this[e]!==t&&r.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var r=this.renderer,n=this.parentGroup,i=(n||r).element||r.box,o=this.element;r=i===r.box;var a,s=!1,c=this.added;if(g(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(c=!1)):g(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,c){for((t=this.zIndex)&&n&&(n.handleZ=!0),a=(e=i.childNodes).length-1;0<=a&&!s;a--){c=(n=e[a]).getAttribute("data-z-index");var u=!g(c);n!==o&&(0>t&&u&&!r&&!a?(i.insertBefore(o,e[a]),s=!0):(j(c)<=t||u&&(!g(t)||0<=t))&&(i.insertBefore(o,e[a+1]||null),s=!0))}s||(i.insertBefore(o,e[r?3:0]||null),s=!0)}return s},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(r,"Core/Renderer/RendererRegistry.js",[r["Core/Globals.js"]],(function(t){var e;return function(e){var r;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=r),e.rendererTypes[t]||e.rendererTypes[r]},e.registerRendererType=function(n,i,o){e.rendererTypes[n]=i,r&&!o||(r=n,t.Renderer=i)}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGLabel.js",[r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=e.defined,i=e.extend,o=e.isNumber,a=e.merge,s=e.pick,c=e.removeEvent;return function(e){function u(t,r,n,i,o,a,s,c,l,f){var h,d=e.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=r,d.x=n,d.y=i,d.anchorX=a,d.anchorY=s,d.baseline=l,d.className=f,d.addClass("button"===f?"highcharts-no-tooltip":"highcharts-label"),f&&d.addClass("highcharts-"+f),d.text=t.text(void 0,0,0,c).attr({zIndex:1}),"string"===typeof o&&((h=/^url\((.*?)\)$/.test(o))||d.renderer.symbols[o])&&(d.symbolKey=o),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||h,d.deferredAttr={},d.alignFactor=0,d}return r(u,e),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){if(e){var r={};e=a(e),u.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(r[t]=e[t],delete e[t])})),this.text.css(r);var n="width"in r;"fontSize"in r||"fontWeight"in r?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},u.prototype.destroy=function(){c(this.element,"mouseenter"),c(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},r=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?u.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*r,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=r+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((r=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),r.add(this)),r=this.getCrispAdjust(),e.x=r,e.y=(this.baseline?-this.baselineOffset:0)+r,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(i(e,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,r=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),r===t.x&&e===t.y||(t.attr("x",r),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=r,t.y=e},u.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u}(t)})),e(r,"Core/Renderer/SVG/Symbols.js",[r["Core/Utilities.js"]],(function(t){function e(t,e,r,n,o){var s=[];if(o){var c=o.start||0,u=a(o.r,r);r=a(o.r,n||r);var l=(o.end||0)-.001;n=o.innerR;var f=a(o.open,.001>Math.abs((o.end||0)-c-2*Math.PI)),h=Math.cos(c),d=Math.sin(c),p=Math.cos(l),m=Math.sin(l);c=a(o.longArc,.001>l-c-Math.PI?0:1),s.push(["M",t+u*h,e+r*d],["A",u,r,0,c,a(o.clockwise,1),t+u*p,e+r*m]),i(n)&&s.push(f?["M",t+n*p,e+n*m]:["L",t+n*p,e+n*m],["A",n,n,0,c,i(o.clockwise)?1-o.clockwise:0,t+n*h,e+n*d]),f||s.push(["Z"])}return s}function r(t,e,r,i,o){return o&&o.r?n(t,e,r,i,o):[["M",t,e],["L",t+r,e],["L",t+r,e+i],["L",t,e+i],["Z"]]}function n(t,e,r,n,i){return[["M",t+(i=i&&i.r||0),e],["L",t+r-i,e],["C",t+r,e,t+r,e,t+r,e+i],["L",t+r,e+n-i],["C",t+r,e+n,t+r,e+n,t+r-i,e+n],["L",t+i,e+n],["C",t,e+n,t,e+n,t,e+n-i],["L",t,e+i],["C",t,e,t,e,t+i,e]]}var i=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,r,i,a){var s=Math.min(a&&a.r||0,r,i),c=s+6,u=a&&a.anchorX;a=a&&a.anchorY||0;var l=n(t,e,r,i,{r:s});return o(u)?(t+u>=r?a>e+c&&a<e+i-c?l.splice(3,1,["L",t+r,a-6],["L",t+r+6,a],["L",t+r,a+6],["L",t+r,e+i-s]):l.splice(3,1,["L",t+r,i/2],["L",u,a],["L",t+r,i/2],["L",t+r,e+i-s]):0>=t+u?a>e+c&&a<e+i-c?l.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):l.splice(7,1,["L",t,i/2],["L",u,a],["L",t,i/2],["L",t,e+s]):a&&a>i&&u>t+c&&u<t+r-c?l.splice(5,1,["L",u+6,e+i],["L",u,e+i+6],["L",u-6,e+i],["L",t+s,e+i]):a&&0>a&&u>t+c&&u<t+r-c&&l.splice(1,1,["L",u-6,e],["L",u,e-6],["L",u+6,e],["L",r-s,e]),l):l},circle:function(t,r,n,i){return e(t+n/2,r+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n/2],["L",t+r/2,e+n],["L",t,e+n/2],["Z"]]},rect:r,roundedRect:n,square:r,triangle:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,r,n){return[["M",t,e],["L",t+r,e],["L",t+r/2,e+n],["Z"]]}}})),e(r,"Core/Renderer/SVG/TextBuilder.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.doc,i=e.SVG_NS,o=e.win,a=r.attr,s=r.isString,c=r.objectEach,u=r.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,r=e.element,i=e.renderer,o=u(e.textStr,"").toString(),a=-1!==o.indexOf("<"),c=r.childNodes;i=this.width&&!e.added&&i.box;var l=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==e.textCache){for(e.textCache=l,delete e.actualWidth,l=c.length;l--;)r.removeChild(c[l]);a||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(i&&i.appendChild(r),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(r.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),i&&i.removeChild(r)):r.appendChild(n.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,r=this.svgElement,s=a(r.element,"x");for(r.firstLineMetrics=void 0;(t=r.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)r.element.removeChild(t);[].forEach.call(r.element.querySelectorAll("tspan.highcharts-br"),(function(t,n){t.nextSibling&&t.previousSibling&&(0===n&&1===t.previousSibling.nodeType&&(r.firstLineMetrics=r.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var c=this.width||0;if(c){var u=function(t,o){var u=t.textContent||"",l=u.replace(/([^\^])-/g,"$1- ").split(" "),f=!e.noWrap&&(1<l.length||1<r.element.childNodes.length),h=e.getLineHeight(o),d=0,p=r.actualWidth;if(e.ellipsis)u&&e.truncate(t,u,void 0,0,Math.max(0,c-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"\u2026"}));else if(f){for(u=[],f=[];o.firstChild&&o.firstChild!==t;)f.push(o.firstChild),o.removeChild(o.firstChild);for(;l.length;)l.length&&!e.noWrap&&0<d&&(u.push(t.textContent||""),t.textContent=l.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,l,0===d&&p||0,c,(function(t,e){return l.slice(0,e).join(" ").replace(/- /g,"-")})),p=r.actualWidth,d++;f.forEach((function(e){o.insertBefore(e,t)})),u.forEach((function(e){o.insertBefore(n.createTextNode(e),t),(e=n.createElementNS(i,"tspan")).textContent="\u200b",a(e,{dy:h,x:s}),o.insertBefore(e,t)}))}};!function t(e){[].slice.call(e.childNodes).forEach((function(n){n.nodeType===o.Node.TEXT_NODE?u(n,e):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(r.actualWidth=0),t(n))}))}(r.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this;t.forEach((function r(n,i){var o=n.attributes;o=void 0===o?{}:o;var a=n.children,c=n.tagName,u=e.renderer.styledMode;"b"===c||"strong"===c?u?o.class="highcharts-strong":o.style="font-weight:bold;"+(o.style||""):"i"!==c&&"em"!==c||(u?o.class="highcharts-emphasized":o.style="font-style:italic;"+(o.style||"")),s(o.style)&&(o.style=o.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===c?(o.class="highcharts-br",n.textContent="\u200b",(i=t[i+1])&&i.textContent&&(i.textContent=i.textContent.replace(/^ +/gm,""))):"a"===c&&a&&a.some((function(t){return"#text"===t.tagName}))&&(n.children=[{children:a,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(n.tagName="tspan"),n.attributes=o,a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(r)}))},e.prototype.truncate=function(t,e,r,n,i,o){var a,s=this.svgElement,c=s.renderer,u=s.rotation,l=[],f=r?1:0,h=(e||r||"").length,d=h,p=function(i,a){a=a||i;var u=t.parentNode;if(u&&"undefined"===typeof l[a])if(u.getSubStringLength)try{l[a]=n+u.getSubStringLength(0,r?a+1:a)}catch(f){}else c.getSpanWidth&&(t.textContent=o(e||r,i),l[a]=n+c.getSpanWidth(s,t));return l[a]};s.rotation=0;var m=p(t.textContent.length);if(n+m>i){for(;f<=h;)d=Math.ceil((f+h)/2),r&&(a=o(r,d)),m=p(d,a&&a.length-1),f===h?f=h+1:m>i?h=d-1:f=d;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=a||o(e||r,d))}r&&r.splice(0,d),s.actualWidth=m,s.rotation=u},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(r,n){e&&-1!==e.indexOf(r)||(t=t.toString().replace(new RegExp(r,"g"),n))})),t},e}()})),e(r,"Core/Renderer/SVG/SVGRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGLabel.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Renderer/SVG/TextBuilder.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u,l=r.charts,f=r.deg2rad,h=r.doc,d=r.isFirefox,p=r.isMS,m=r.isWebKit,b=r.noop,v=r.SVG_NS,g=r.symbolSizes,y=r.win,w=c.addEvent,x=c.attr,O=c.createElement,_=c.css,S=c.defined,k=c.destroyObjectProperties,E=c.extend,M=c.isArray,C=c.isNumber,j=c.isObject,A=c.isString,T=c.merge,P=c.pick,D=c.pInt,R=c.uniqueKey;return r=function(){function r(t,e,r,n,i,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,r,n,i,o,a)}return r.prototype.init=function(t,e,r,n,i,o,a){var s,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;a||c.css(this.getStyle(n)),t.appendChild(u),x(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&x(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 9.3.2")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,r,!1),d&&t.getBoundingClientRect&&((e=function(){_(t,{left:0,top:0}),s=t.getBoundingClientRect(),_(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=w(y,"resize",e))},r.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},r.prototype.getReferenceURL=function(){if((d||m)&&h.getElementsByTagName("base").length){if(!S(u)){var e=R();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(h.body),_(e,{position:"fixed",top:0,left:0,zIndex:9e5});var r=h.elementFromPoint(6,6);u="hitme"===(r&&r.id),h.body.removeChild(e)}if(u)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},r.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},r.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},r.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},r.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},r.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},r.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},r.prototype.buildText=function(t){new s(t).buildSVG()},r.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},r.prototype.button=function(e,r,n,i,o,a,s,c,u,l){var f=this.label(e,r,n,u,void 0,void 0,l,void 0,"button"),h=this.styledMode,d=0,m=o?T(o):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),f.attr(T({padding:8,r:2},m)),!h){var b=(m=T({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;var v=(a=T(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||{}))).style;delete a.style;var g=(s=T(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||{}))).style;delete s.style;var y=(c=T(m,{style:{color:"#cccccc"}},t.filterUserAttributes(c||{}))).style;delete c.style}return w(f.element,p?"mouseover":"mouseenter",(function(){3!==d&&f.setState(1)})),w(f.element,p?"mouseout":"mouseleave",(function(){3!==d&&f.setState(d)})),f.setState=function(t){1!==t&&(f.state=d=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),h||f.attr([m,a,s,c][t||0]).css([b,v,g,y][t||0])},h||f.attr(m).css(E({cursor:"default"},b)),f.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==d&&i.call(f,t)}))},r.prototype.crispLine=function(t,e,r){void 0===r&&(r="round");var n=t[0],i=t[1];return S(n[1])&&n[1]===i[1]&&(n[1]=i[1]=Math[r](n[1])-e%2/2),S(n[2])&&n[2]===i[2]&&(n[2]=i[2]=Math[r](n[2])+e%2/2),t},r.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:j(t)&&E(e,t),this.createElement("path").attr(e)},r.prototype.circle=function(t,e,r){return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:r},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,r){r.setAttribute("c"+e,t)},e.attr(t)},r.prototype.arc=function(t,e,r,n,i,o){return j(t)?(e=(n=t).y,r=n.r,t=n.x):n={innerR:n,start:i,end:o},(t=this.symbol("arc",t,e,r,r,n)).r=r,t},r.prototype.rect=function(t,e,r,n,i,o){i=j(t)?t.r:i;var a=this.createElement("rect");return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(r,0),height:Math.max(n,0)},this.styledMode||("undefined"!==typeof o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),i&&(t.r=i),a.rSetter=function(t,e,r){a.r=t,x(r,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},r.prototype.setSize=function(t,e,r){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(r,!0)?void 0:0}),this.alignElements()},r.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},r.prototype.image=function(t,e,r,n,i,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};C(e)&&(a.x=e),C(r)&&(a.y=r),C(n)&&(a.width=n),C(i)&&(a.height=i);var c=this.createElement("image").attr(a);return e=function(e){s(c.element,t),o.call(c,e)},o?(s(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r=new y.Image,w(r,"load",e),r.src=t,r.complete&&e({})):s(c.element,t),c},r.prototype.symbol=function(t,e,r,n,i,o){var a,s=this,c=/^url\((.*?)\)$/,u=c.test(t),f=!u&&(this.symbols[t]?t:"circle"),d=f&&this.symbols[f];if(d){"number"===typeof e&&(a=d.call(this.symbols,Math.round(e||0),Math.round(r||0),n||0,i||0,o));var p=this.path(a);s.styledMode||p.attr("fill","none"),E(p,{symbolName:f||void 0,x:e,y:r,width:n,height:i}),o&&E(p,o)}else if(u){var m=t.match(c)[1],b=p=this.image(m);b.imgwidth=P(g[m]&&g[m].width,o&&o.width),b.imgheight=P(g[m]&&g[m].height,o&&o.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){b[t+"Setter"]=function(t,e){var r=this["img"+e];this[e]=t,S(r)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(r=Math.round(r*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,r),this.alignByTranslate||(t=((this[e]||0)-r)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),S(e)&&b.attr({x:e,y:r}),b.isImg=!0,S(b.imgwidth)&&S(b.imgheight)?v(b):(b.attr({width:0,height:0}),O("img",{onload:function(){var t=l[s.chartIndex];0===this.width&&(_(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this)),g[m]={width:this.width,height:this.height},b.imgwidth=this.width,b.imgheight=this.height,b.element&&v(b),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return p},r.prototype.clipRect=function(t,e,r,n){var i=R()+"-",o=this.createElement("clipPath").attr({id:i}).add(this.defs);return(t=this.rect(t,e,r,n,0).add(o)).id=i,t.clipPath=o,t.count=0,t},r.prototype.text=function(t,e,r,n){var i={};return!n||!this.allowHTML&&this.forExport?(i.x=Math.round(e||0),r&&(i.y=Math.round(r)),S(t)&&(i.text=t),t=this.createElement("text").attr(i),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,r){for(var n,i=r.getElementsByTagName("tspan"),o=r.getAttribute(e),a=0;a<i.length;a++)(n=i[a]).getAttribute(e)===o&&n.setAttribute(e,t);r.setAttribute(e,t)}),t):this.html(t,e,r)},r.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&i.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?D(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},r.prototype.rotCorr=function(t,e,r){var n=t;return e&&r&&(n=Math.max(n*Math.cos(e*f),4)),{x:-t/3*Math.sin(e*f),y:n}},r.prototype.pathToSegments=function(t){for(var e=[],r=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i<t.length;i++)A(r[0])&&C(t[i])&&r.length===n[r[0].toUpperCase()]&&t.splice(i,0,r[0].replace("M","L").replace("m","l")),"string"===typeof t[i]&&(r.length&&e.push(r.slice(0)),r.length=0),r.push(t[i]);return e.push(r.slice(0)),e},r.prototype.label=function(t,e,r,n,i,a,s,c,u){return new o(this,t,e,r,n,i,a,s,c,u)},r.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},r}(),E(r.prototype,{Element:i,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:b}),n.registerRendererType("svg",r,!0),r})),e(r,"Core/Renderer/HTML/HTMLElement.js",[r["Core/Globals.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,c=r.css,u=r.defined,l=r.extend,f=r.pick,h=r.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var r=e.prototype,n=t.prototype;n.getSpanCorrection=r.getSpanCorrection,n.htmlCss=r.htmlCss,n.htmlGetBBox=r.htmlGetBBox,n.htmlUpdateTransform=r.htmlUpdateTransform,n.setSpanRotation=r.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,r){this.xCorr=-t*r,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,r=f(e&&t.width,void 0);if(e){delete t.width,this.textWidth=r;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=l(this.styles,t),c(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,r=this.translateX||0,n=this.translateY||0,i=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],l=this.styles;if(l=l&&l.whiteSpace,c(e,{marginLeft:r,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){c(t,{marginLeft:r+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(r){t.invertChild(r,e)})),"SPAN"===e.tagName){var f=this.rotation,d=this.textWidth&&h(this.textWidth),p=[f,a,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,d!==this.oldTextWidth){if(this.textPxLength)var b=this.textPxLength;else c(e,{width:"",whiteSpace:l||"nowrap"}),b=e.offsetWidth;(d>this.oldTextWidth||b>d)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(c(e,{width:b>d||f?d+"px":"auto",display:"block",whiteSpace:l||"normal"}),this.oldTextWidth=d,m=!0)}this.hasBoxWidthChanged=m,p!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!u(f)||f===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(f,s,m),this.getSpanCorrection(!u(f)&&this.textPxLength||e.offsetWidth,m,s,f,a)),c(e,{left:i+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=p,this.oldRotation=f,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,r){var n={},u=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":i?"MozTransform":s.opera?"-o-transform":void 0;u&&(n[u]=n.transform="rotate("+t+"deg)",n[u+(i?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+r+"px",c(this.element,n))},e.composedClasses=[],e}(e)})),e(r,"Core/Renderer/HTML/HTMLRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.attr,a=n.createElement,s=n.extend,c=n.pick;return function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return i(n,r),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(r,n,i){var u=this.createElement("span"),l=u.element,f=u.renderer,h=f.isSVG,d=function(t,r){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(i,o,a){var s=t.div?t.div.style:r;e.prototype[n+"Setter"].call(this,i,o,a),s&&(s[o]=i)}})),t.addedSetters=!0};return u.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,c(e,"")),this.textStr=e,u.doTransform=!0)},h&&d(u,u.element.style),u.xSetter=u.ySetter=u.alignSetter=u.rotationSetter=function(t,e){"align"===e?u.alignValue=u.textAlign=t:u[e]=t,u.doTransform=!0},u.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},u.attr({text:r,x:Math.round(n),y:Math.round(i)}).css({position:"absolute"}),f.styledMode||u.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),l.style.whiteSpace="nowrap",u.css=u.htmlCss,h&&(u.add=function(t){var e=f.box.parentNode,r=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)r.push(t),t=t.parentGroup;r.reverse().forEach((function(t){function i(e,r){t[r]=e,"translateX"===r?h.left=e+"px":h.top=e+"px",t.doTransform=!0}var c,l=o(t.element,"class"),f=t.styles||{},h=(n=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:f.cursor,pointerEvents:f.pointerEvents,visibility:t.visibility},n||e)).style;s(t,{classSetter:(c=n,function(t){this.element.setAttribute("class",t),c.className=t}),on:function(){return r[0].div&&u.on.apply({element:r[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:i,translateYSetter:i}),t.addedSetters||d(t)}))}}else n=e;return n.appendChild(l),u.added=!0,u.alignOnAdd&&u.htmlUpdateTransform(),u}),u},n.composedClasses=[],n}(r)})),e(r,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(r,"Core/Foundation.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.isFunction,i=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},i(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(o(t,i,t.eventOptions[i]),delete t.eventOptions[i]),n(e)&&(t.eventOptions[i]=e,r(t,i,e)))}))}}(e||(e={})),e})),e(r,"Core/Axis/Tick.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.deg2rad,i=r.clamp,o=r.correctFloat,a=r.defined,s=r.destroyObjectProperties,c=r.extend,u=r.fireEvent,l=r.isNumber,f=r.merge,h=r.objectEach,d=r.pick;return e=function(){function e(t,e,r,n,i){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=r||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,u(this,"init"),r||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,r=e.axis,n=r.options,i=r.chart,s=r.categories,f=r.logarithmic,h=r.names,p=e.pos,m=d(e.options&&e.options.labels,n.labels),b=r.tickPositions,v=p===b[0],g=p===b[b.length-1],y=(!m.step||1===m.step)&&1===r.tickInterval;b=b.info;var w,x=e.label;if(s=this.parameters.category||(s?d(s[p],h[p],p):p),f&&l(s)&&(s=o(f.lin2log(s))),r.dateTime)if(b)var O=i.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&b.higherRanks[p]||b.unitName]),_=O.main;else l(s)&&(_=r.dateTime.getXDateFormat(s,n.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=g;var S={axis:r,chart:i,dateTimeLabelFormat:_,isFirst:v,isLast:g,pos:p,tick:e,tickPositionInfo:b,value:s};u(this,"labelFormat",S);var k=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=r.defaultLabelFormatter.call(e),t.format(m.format,e,i)):r.defaultLabelFormatter.call(e,e)};n=k.call(S,S);var E=O&&O.list;e.shortenLabel=E?function(){for(w=0;w<E.length;w++)if(c(S,{dateTimeLabelFormat:E[w]}),x.attr({text:k.call(S,S)}),x.getBBox().width<r.getSlotWidth(e)-2*m.padding)return;x.attr({text:""})}:void 0,y&&r._addedPlotLB&&e.moveLabel(n,m),a(x)||e.movedLabel?x&&x.textStr!==n&&!y&&(!x.textWidth||m.style.width||x.styles.width||x.css({width:null}),x.attr({text:n}),x.textPxLength=x.getBBox().width):(e.label=x=e.createLabel({x:0,y:0},n,m),e.rotation=0)},e.prototype.createLabel=function(t,e,r){var n=this.axis,i=n.chart;return(t=a(e)&&r.enabled?i.renderer.text(e,t.x,t.y,r.useHTML).add(n.labelGroup):null)&&(i.styledMode||t.css(f(r.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,r,n){var a=this.axis,s=a.chart,c=n&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+r,null,null,n)+a.transB):a.left+a.offset+(a.opposite?(n&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?c-a.bottom+a.offset-(a.opposite?a.height:0):o(c-a.translate(e+r,null,null,n)-a.transB)}).y=i(t.y,-1e5,1e5),u(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,r,i,o,s,c,l){var f=this.axis,h=f.transA,d=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,p=f.staggerLines,m=f.tickRotCorr||{x:0,y:0},b=i||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),v={},g=o.y;return a(g)||(g=0===f.side?r.rotation?-8:-r.getBBox().height:2===f.side?m.y+8:Math.cos(r.rotation*n)*(m.y-r.getBBox(!1,0).height/2)),t=t+o.x+b+m.x-(s&&i?s*h*(d?-1:1):0),e=e+g-(s&&!i?s*h*(d?1:-1):0),p&&(r=c/(l||1)%p,f.opposite&&(r=p-r-1),e+=f.labelOffset/p*r),v.x=t,v.y=Math.round(e),u(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:c}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,r,n,i,o){return o.crispLine([["M",t,e],["L",t+(i?0:-r),e+(i?r:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,r=e.options.labels,i=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=d(e.labelLeft,Math.min(e.pos,a[3]));a=d(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var c,u=this.label,l=this.rotation,f={left:0,center:.5,right:1}[e.labelAlign||u.attr("align")],h=u.getBBox().width,p=e.getSlotWidth(this),m={},b=p,v=1;l||"justify"!==r.overflow?0>l&&i-f*h<s?c=Math.round(i/Math.cos(l*n)-s):0<l&&i+f*h>a&&(c=Math.round((o-i)/Math.cos(l*n))):(o=i+(1-f)*h,i-f*h<s?b=t.x+b*(1-f)-s:o>a&&(b=a-t.x+b*f,v=-1),(b=Math.min(p,b))<p&&"center"===e.labelAlign&&(t.x+=v*(p-b-f*(p-Math.min(h,b)))),(h>b||e.autoRotation&&(u.styles||{}).width)&&(c=b)),c&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(c)+"px",(r.style||{}).textOverflow||(m.textOverflow="ellipsis"),u.css(m)))},e.prototype.moveLabel=function(t,e){var r=this,n=r.label,i=r.axis,o=i.reversed,a=!1;if(n&&n.textStr===t?(r.movedLabel=n,a=!0,delete r.label):h(i.ticks,(function(e){a||e.isNew||e===r||!e.label||e.label.textStr!==t||(r.movedLabel=e.label,a=!0,e.labelPos=r.movedLabel.xy,delete e.label)})),!a&&(r.labelPos||n)){var s=r.labelPos||n.xy;n=i.horiz?o?0:i.width+i.left:s.x,i=i.horiz?s.y:o?i.width+i.left:0,r.movedLabel=r.createLabel({x:n,y:i},t,e),r.movedLabel&&r.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,r){var n=this.axis,i=n.horiz,o=this.pos,a=d(this.tickmarkOffset,n.tickmarkOffset);a=(o=this.getPosition(i,o,a,e)).x;var s=o.y;n=i&&a===n.pos+n.len||!i&&s===n.pos?-1:1,i=d(r,this.label&&this.label.newOpacity,1),r=d(r,1),this.isActive=!0,this.renderGridLine(e,r,n),this.renderMark(o,r,n),this.renderLabel(o,e,i,t),this.isNew=!1,u(this,"afterRender")},e.prototype.renderGridLine=function(t,e,r){var n=this.axis,i=n.options,o={},a=this.pos,s=this.type,c=d(this.tickmarkOffset,n.tickmarkOffset),u=n.chart.renderer,l=this.gridLine,f=i.gridLineWidth,h=i.gridLineColor,p=i.gridLineDashStyle;"minor"===this.type&&(f=i.minorGridLineWidth,h=i.minorGridLineColor,p=i.minorGridLineDashStyle),l||(n.chart.styledMode||(o.stroke=h,o["stroke-width"]=f||0,o.dashstyle=p),s||(o.zIndex=1),t&&(e=0),this.gridLine=l=u.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(n.gridGroup)),l&&(r=n.getPlotLinePath({value:a+c,lineWidth:l.strokeWidth()*r,force:"pass",old:t}))&&l[t||this.isNew?"attr":"animate"]({d:r,opacity:e})},e.prototype.renderMark=function(t,e,r){var n=this.axis,i=n.options,o=n.chart.renderer,a=this.type,s=n.tickSize(a?a+"Tick":"tick"),c=t.x;t=t.y;var u=d(i["minor"!==a?"tickWidth":"minorTickWidth"],!a&&n.isXAxis?1:0);i=i["minor"!==a?"tickColor":"minorTickColor"];var l=this.mark,f=!l;s&&(n.opposite&&(s[0]=-s[0]),l||(this.mark=l=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||l.attr({stroke:i,"stroke-width":u})),l[f?"attr":"animate"]({d:this.getMarkPath(c,t,s[0],l.strokeWidth()*r,n.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,r,n){var i=this.axis,o=i.horiz,a=i.options,s=this.label,c=a.labels,u=c.step;i=d(this.tickmarkOffset,i.tickmarkOffset);var f=t.x;t=t.y;var h=!0;s&&l(f)&&(s.xy=t=this.getLabelPosition(f,t,s,o,c,i,n,u),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?h=!1:!o||c.step||c.rotation||e||0===r||this.handleOverflow(t),u&&n%u&&(h=!1),h&&l(t.y)?(t.opacity=r,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,r=e.reversed;if(t&&!this.isNew){var n=e.horiz?r?e.left:e.width+e.left:t.xy.x;r=e.horiz?t.xy.y:r?e.width+e.top:e.top,t.animate({x:n,y:r,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(r,"Core/Axis/Axis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/AxisDefaults.js"],r["Core/Color/Color.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Axis/Tick.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s){var c=t.animObject,u=n.defaultOptions,l=i.registerEventOptions,f=o.deg2rad,h=s.arrayMax,d=s.arrayMin,p=s.clamp,m=s.correctFloat,b=s.defined,v=s.destroyObjectProperties,g=s.erase,y=s.error,w=s.extend,x=s.fireEvent,O=s.getMagnitude,_=s.isArray,S=s.isNumber,k=s.isString,E=s.merge,M=s.normalizeTickInterval,C=s.objectEach,j=s.pick,A=s.relativeLength,T=s.removeEvent,P=s.splat,D=s.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var r=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!r:r,this.isXAxis=r,this.coll=this.coll||(r?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),this.opposite=j(e.opposite,this.opposite),this.side=j(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,i=n.labels,o=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=j(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===o||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=j(n.crosshair,P(t.options.tooltip.crosshairs)[r?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(r?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&r&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=S(i.rotation)?i.rotation:void 0,l(this,n),x(this,"afterInit")},t.prototype.setOptions=function(t){this.options=E(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],E(u[this.coll],t)),x(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var r=S(this.value)?this.value:NaN,n=e.chart.time,i=this.dateTimeLabelFormat,o=u.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(r):e.tickInterval,c=a&&a.length;if(e.categories)var l=""+this.value;else if(i)l=n.dateFormat(i,r);else if(c&&1e3<=s)for(;c--&&"undefined"===typeof l;)s>=(e=Math.pow(o,c+1))&&0===10*r%e&&null!==a[c]&&0!==r&&(l=t(r/e,-1)+a[c]);return"undefined"===typeof l&&(l=1e4<=Math.abs(r)?t(r,-1):t(r,-1,void 0,"")),l},t.prototype.getSeriesExtremes=function(){var t,e=this,r=e.chart;x(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!r.options.chart.ignoreHiddenSeries){var i=n.options,o=i.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((i=n.xData).length){i=e.logarithmic?i.filter(e.validatePositiveValue):i;var a=(t=n.getXExtremes(i)).min,s=t.max;S(a)||a instanceof Date||(i=i.filter(S),a=(t=n.getXExtremes(i)).min,s=t.max),i.length&&(e.dataMin=Math.min(j(e.dataMin,a),a),e.dataMax=Math.max(j(e.dataMax,s),s))}}else n=n.applyExtremes(),S(n.dataMin)&&(a=n.dataMin,e.dataMin=Math.min(j(e.dataMin,a),a)),S(n.dataMax)&&(s=n.dataMax,e.dataMax=Math.max(j(e.dataMax,s),s)),b(o)&&(e.threshold=o),(!i.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,r,n,i,o){var a=this.linkedParent||this,s=n&&a.old?a.old.min:a.min,c=a.minPixelPadding;i=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&i)&&a.lin2val;var u=1,l=0;return(n=n&&a.old?a.old.transA:a.transA)||(n=a.transA),r&&(u*=-1,l=a.len),a.reversed&&(l-=(u*=-1)*(a.sector||a.len)),e?(t=(t*u+l-c)/n+s,i&&(t=a.lin2val(t))):(i&&(t=a.val2lin(t)),t=S(s)?u*(t-s)*n+l+u*c+(S(o)?n*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,r){return("pass"!==y&&t<e||t>r)&&(y?t=p(t,e,r):a=!0),t}var r,n,i,o,a,s=this,c=s.chart,u=s.left,l=s.top,f=t.old,h=t.value,d=t.lineWidth,m=f&&c.oldChartHeight||c.chartHeight,b=f&&c.oldChartWidth||c.chartWidth,v=s.transB,g=t.translatedValue,y=t.force;return t={value:h,lineWidth:d,old:f,force:y,acrossPanes:t.acrossPanes,translatedValue:g},x(this,"getPlotLinePath",t,(function(t){g=j(g,s.translate(h,null,null,f)),g=p(g,-1e5,1e5),r=i=Math.round(g+v),n=o=Math.round(m-g-v),S(g)?s.horiz?(n=l,o=m-s.bottom,r=i=e(r,u,u+s.width)):(r=u,i=b-s.right,n=o=e(n,l,l+s.height)):(a=!0,y=!1),t.path=a&&!y?null:c.renderer.crispLine([["M",r,n],["L",i,o]],d||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,r){var n=m(Math.floor(e/t)*t);r=m(Math.ceil(r/t)*t);var i,o=[];if(m(n+t)===n&&(i=20),this.single)return[e];for(e=n;e<=r&&(o.push(e),(e=m(e+t,i))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?j(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,r=this.minorTickInterval,n=this.pointRangePadding||0,i=this.min-n,o=(n=this.max+n)-i,a=[];if(o&&o/r<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,n){e&&a.push.apply(a,s.getLogTickPositions(r,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(r),i,n,t.startOfWeek));else for(t=i+(e[0]-i)%r;t<=n&&t!==a[0];t+=r)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,r,n,i=this.options,o=this.logarithmic,a=this.min,s=this.max,c=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!o&&(b(i.min)||b(i.max)||b(i.floor)||b(i.ceiling)?this.minRange=null:(this.series.forEach((function(i){if(r=i.xData,n=i.xIncrement?1:r.length-1,1<r.length)for(t=n;0<t;t--)e=r[t]-r[t-1],(!c||e<c)&&(c=e)})),this.minRange=Math.min(5*c,this.dataMax-this.dataMin))),s-a<this.minRange){var u=this.dataMax-this.dataMin>=this.minRange,l=this.minRange,f=(l-s+a)/2;f=[a-f,j(i.min,a-f)],u&&(f[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=h(f))+l,j(i.max,a+l)],u&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=d(s))-a<l&&(f[0]=s-l,f[1]=j(i.min,s-l),a=h(f))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var r=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&b(r)&&n&&(t=b(t)?Math.min(t,r):r)})),t},t.prototype.nameToX=function(t){var e=_(this.categories),r=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,b(n)||(n=this.options.uniqueNames?e?r.indexOf(t.name):j(r.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e)var i=r.length}else i=n;return"undefined"!==typeof i&&(this.names[i]=t.name,this.names.keys[t.name]=i),i},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(r,n){if(r&&r.options&&"undefined"!==typeof r.name){var i=t.nameToX(r);"undefined"!==typeof i&&i!==r.x&&(r.x=i,e.xData[n]=i)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,r=t.linkedParent,n=!!t.categories,i=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,c=t.transA;if(i||n||o){var u=t.getClosest();r?(a=r.minPointOffset,s=r.pointRangePadding):t.series.forEach((function(e){var r=n?1:i?j(e.options.pointRange,u,0):t.axisPointRange||0,c=e.options.pointPlacement;o=Math.max(o,r),t.single&&!n||(e=e.is("xrange")?!i:i,a=Math.max(a,e&&k(c)?0:r/2),s=Math.max(s,e&&"on"===c?0:r))})),r=t.ordinal&&t.ordinal.slope&&u?t.ordinal.slope/u:1,t.minPointOffset=a*=r,t.pointRangePadding=s*=r,t.pointRange=Math.min(o,t.single&&n?1:e),i&&(t.closestPointRange=u)}t.translationSlope=t.transA=c=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=c*a,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,r=this.logarithmic,n=this.options,i=this.isXAxis,o=this.isLinked,a=n.tickPixelInterval,s=this.categories,c=this.softThreshold,u=n.maxPadding,l=n.minPadding,f=S(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,h=S(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var d=j(this.userMin,n.min),p=j(this.userMax,n.max);if(o){this.linkedParent=e[this.coll][n.linkedTo];var v=this.linkedParent.getExtremes();this.min=j(v.min,v.dataMin),this.max=j(v.max,v.dataMax),n.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(c&&b(h))if(this.dataMin>=h)v=h,l=0;else if(this.dataMax<=h){var g=h;u=0}this.min=j(d,v,this.dataMin),this.max=j(p,g,this.dataMax)}if(r&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,j(this.dataMin,this.min))&&y(10,1,e),this.min=m(r.log2lin(this.min),16),this.max=m(r.log2lin(this.max),16)),this.range&&b(this.max)&&(this.userMin=this.min=d=Math.max(this.dataMin,this.minFromRange()),this.userMax=p=this.max,this.range=null),x(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&b(this.min)&&b(this.max)&&(e=this.max-this.min)&&(!b(d)&&l&&(this.min-=e*l),!b(p)&&u&&(this.max+=e*u)),S(this.userMin)||(S(n.softMin)&&n.softMin<this.min&&(this.min=d=n.softMin),S(n.floor)&&(this.min=Math.max(this.min,n.floor))),S(this.userMax)||(S(n.softMax)&&n.softMax>this.max&&(this.max=p=n.softMax),S(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),c&&b(this.dataMin)&&(h=h||0,!b(d)&&this.min<h&&this.dataMin>=h?this.min=this.options.minRange?Math.min(h,this.max-this.minRange):h:!b(p)&&this.max>h&&this.dataMax<=h&&(this.max=this.options.minRange?Math.max(h,this.min+this.minRange):h)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(b(this.options.min)?this.max=this.min:b(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:o&&this.linkedParent&&!f&&a===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:j(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),i&&!t){var w=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(w)})),x(this,"postProcessData",{hasExtemesChanged:w})}this.setAxisTranslation(),x(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=j(n.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!f&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||f||(this.tickInterval=M(this.tickInterval,void 0,O(this.tickInterval),j(n.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,r=this.getMinorTickInterval(),n=this.hasVerticalPanning(),i="colorAxis"===this.coll,o=(i||!n)&&t.startOnTick;n=(i||!n)&&t.endOnTick,i=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=r=e&&e.slice(),!r&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?r=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(r=[this.min,this.max],y(19,!1,this.chart)),r.length>this.len&&((r=[r[0],r.pop()])[0]===r[1]&&(r.length=1)),this.tickPositions=r,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=r=i),this.paddedTicks=r.slice(0),this.trimTicks(r,o,n),this.isLinked||(this.single&&2>r.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||i||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,r){var n=t[0],i=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-o>t[0];)t.shift();if(r)this.max=i;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&b(n)&&!this.options.tickPositions&&t.push((i+n)/2)}},t.prototype.alignToOthers=function(){var t,e={},r=this.options;return!1!==this.chart.options.chart.alignTicks&&r.alignTicks&&!1!==r.startOnTick&&!1!==r.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(r){var n=r.options;n=[r.horiz?n.left:n.top,n.width,n.height,n.pane].join(),r.series.length&&(e[n]?t=!0:e[n]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,r=t.tickAmount;!b(t.tickInterval)&&!r&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(r=2),!r&&this.alignToOthers()&&(r=Math.ceil(this.len/e)+1),4>r&&(this.finalTickAmt=r,r=5),this.tickAmount=r},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,r=this.tickPositions,n=this.tickAmount,i=this.finalTickAmt,o=r&&r.length,a=j(this.threshold,this.softThreshold?0:null);if(this.hasData()&&S(this.min)&&S(this.max)){if(o<n){for(;r.length<n;)r.length%2||this.min===a?r.push(m(r[r.length-1]+e)):r.unshift(m(r[0]-e));this.transA*=(o-1)/(n-1),this.min=t.startOnTick?r[0]:Math.min(this.min,r[0]),this.max=t.endOnTick?r[r.length-1]:Math.max(this.max,r[r.length-1])}else o>n&&(this.tickInterval*=2,this.setTickPositions());if(b(i)){for(e=t=r.length;e--;)(3===i&&1===e%2||2>=i&&0<e&&e<t-1)&&r.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(r){t=t||r.isDirtyData||r.isDirty,e=e||r.xAxis&&r.xAxis.isDirty||!1})),this.setAxisSize();var r=this.len!==(this.old&&this.old.len);r||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=r||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,r,n,i){var o=this,a=o.chart;r=j(r,!0),o.series.forEach((function(t){delete t.kdTree})),i=w(i,{min:t,max:e}),x(o,"setExtremes",i,(function(){o.userMin=t,o.userMax=e,o.eventArgs=i,r&&a.redraw(n)}))},t.prototype.zoom=function(t,e){var r=this,n=this.dataMin,i=this.dataMax,o=this.options,a=Math.min(n,j(o.min,n)),s=Math.max(i,j(o.max,i));return x(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===r.min&&o===r.max||(r.allowZoomOutside||(b(n)&&(e<a&&(e=a),e>s&&(e=s)),b(i)&&(o<a&&(o=a),o>s&&(o=s))),r.displayBtn="undefined"!==typeof e||"undefined"!==typeof o,r.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,r=e.offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(A(j(e.width,t.plotWidth-r[3]+r[1]),t.plotWidth)),o=this.height=Math.round(A(j(e.height,t.plotHeight-r[0]+r[2]),t.plotHeight)),a=this.top=Math.round(A(j(e.top,t.plotTop+r[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(A(j(e.left,t.plotLeft+r[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-i-e,this.len=Math.max(n?i:o,0),this.pos=n?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,r=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=r:1/0===t?t=e:r>t?t=r:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(j(t,0)-90*this.side+720)%360;return x(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,r=j(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(r&&n){"inside"===e[t+"Position"]&&(n=-n);var i=[n,r]}return x(this,"afterTickSize",t={tickSize:i}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,r=this.options.labels,n=this.horiz,i=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/i),a=r.rotation,s=this.labelMetrics(),c=Math.max(this.max-this.min,0),u=function(t){var e=t/(o||1);return(e=1<e?Math.ceil(e):1)*i>c&&1/0!==t&&1/0!==o&&c&&(e=Math.ceil(c/i)),m(e*i)},l=i,h=Number.MAX_VALUE;if(n){if(!r.staggerLines&&!r.step)if(S(a))var d=[a];else o<r.autoRotationLimit&&(d=r.autoRotation);d&&d.forEach((function(r){if(r===a||r&&-90<=r&&90>=r){var n=(e=u(Math.abs(s.h/Math.sin(f*r))))+Math.abs(r/360);n<h&&(h=n,t=r,l=e)}}))}else r.step||(l=u(s.h));return this.autoRotation=d,this.labelRotation=j(t,S(a)?a:0),l},t.prototype.getSlotWidth=function(t){var e=this.chart,r=this.horiz,n=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(r&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/i;if(!r){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,r=this.tickPositions,n=this.ticks,i=this.options.labels,o=i.style,a=this.horiz,s=this.getSlotWidth(),c=Math.max(1,Math.round(s-2*i.padding)),u={},l=this.labelMetrics(),f=o.textOverflow,h=0;if(k(i.rotation)||(u.rotation=i.rotation||0),r.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>h&&(h=t.label.textPxLength)})),this.maxLabelLength=h,this.autoRotation)h>c&&h>l.h?u.rotation=this.labelRotation:this.labelRotation=0;else if(s){var d=c;if(!f){var p="clip";for(c=r.length;!a&&c--;){var m=r[c];(m=n[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/r.length-(l.h-l.f)&&(m.specificTextOverflow="ellipsis"))}}}u.rotation&&(d=h>.5*t.chartHeight?.33*t.chartHeight:h,f||(p="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(u.align=this.labelAlign),r.forEach((function(t){var e=(t=n[t])&&t.label,r=o.width,i={};e&&(e.attr(u),t.shortenLabel?t.shortenLabel():d&&!r&&"nowrap"!==o.whiteSpace&&(d<e.textPxLength||"SPAN"===e.element.tagName)?(i.width=d+"px",f||(i.textOverflow=e.specificTextOverflow||p),e.css(i)):e.styles&&e.styles.width&&!i.width&&!r&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=u.rotation)}),this),this.tickRotCorr=e.rotCorr(l.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&b(this.min)&&b(this.max)},t.prototype.addTitle=function(t){var e,r=this.chart.renderer,n=this.horiz,i=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=r.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,r=e.chart,n=e.horiz,i=e.options,o=e.side,a=e.ticks,s=e.tickPositions,c=e.coll,u=e.axisParent,l=r.renderer,f=r.inverted&&!e.isZAxis?[1,0,3,2][o]:o,h=e.hasData(),d=i.title,p=i.labels,m=r.axisOffset;r=r.clipOffset;var v,g=[-1,1,1,-1][o],y=i.className,w=0,O=0,_=0;if(e.showAxis=v=h||i.showEmpty,e.staggerLines=e.horiz&&p.staggerLines||void 0,!e.axisGroup){var S=function(e,r,n){return l.g(e).attr({zIndex:n}).addClass("highcharts-"+c.toLowerCase()+r+" "+(t.isRadial?"highcharts-radial-axis"+r+" ":"")+(y||"")).add(u)};e.gridGroup=S("grid","-grid",i.gridZIndex),e.axisGroup=S("axis","",i.zIndex),e.labelGroup=S("axis-labels","-labels",p.zIndex)}if(h||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,j(p.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){_=Math.max(a[t].getLabelSize(),_)})),e.staggerLines&&(_*=e.staggerLines),e.labelOffset=_*(e.opposite?-1:1)):C(a,(function(t,e){t.destroy(),delete a[e]})),d&&d.text&&!1!==d.enabled&&(e.addTitle(v),v&&!1!==d.reserveSpace)){e.titleOffset=w=e.axisTitle.getBBox()[n?"height":"width"];var k=d.offset;O=b(k)?0:j(d.margin,n?5:10)}e.renderLine(),e.offset=g*j(i.offset,m[o]?m[o]+(i.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},d=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,h=Math.abs(_)+O,_&&(h=h-d+g*(n?j(p.y,e.tickRotCorr.y+8*g):p.x)),e.axisTitleMargin=j(k,h),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==c&&(n=this.tickSize("tick"),m[o]=Math.max(m[o],(e.axisTitleMargin||0)+w+g*e.offset,h,s&&s.length&&n?n[0]+g*e.offset:0),i=!e.axisLine||i.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),r[f]=Math.max(r[f],i)),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,r=this.opposite,n=this.offset,i=this.horiz,o=this.left+(r?this.width:0)+n;return n=e.chartHeight-this.bottom-(r?this.height:0)+n,r&&(t*=-1),e.renderer.crispLine([["M",i?this.left:o,i?n:this.top],["L",i?e.chartWidth-this.right:o,i?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,r=this.top,n=this.len,i=this.options.title,o=t?e:r,a=this.opposite,s=this.offset,c=i.x,u=i.y,l=this.axisTitle,f=this.chart.renderer.fontMetrics(i.style.fontSize,l);return l=Math.max(l.getBBox(null,0).height-f.h-1,0),n={low:o+(t?0:n),middle:o+n/2,high:o+(t?n:0)}[i.align],e=(t?r+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-l,l,f.f,-l][this.side],t={x:t?n+c:e+(a?this.width:0)+s+c,y:t?e+u-(a?this.height:0)+s:n+u},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var r=this.minorTicks;r[t]||(r[t]=new a(this,t,"minor")),e&&r[t].isNew&&r[t].render(null,!0),r[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,r){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new a(this,t)),r&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,r=this,n=r.chart,i=r.logarithmic,s=r.options,u=r.isLinked,l=r.tickPositions,f=r.axisTitle,h=r.ticks,d=r.minorTicks,p=r.alternateBands,m=s.stackLabels,b=s.alternateGridColor,v=r.tickmarkOffset,g=r.axisLine,y=r.showAxis,w=c(n.renderer.globalAnimation);if(r.labelEdge.length=0,r.overlap=!1,[h,d,p].forEach((function(t){C(t,(function(t){t.isActive=!1}))})),r.hasData()||u){var O=r.chart.hasRendered&&r.old&&S(r.old.min);r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach((function(t){r.renderMinorTick(t,O)})),l.length&&(l.forEach((function(t,e){r.renderTick(t,e,O)})),v&&(0===r.min||r.single)&&(h[-1]||(h[-1]=new a(r,-1,null,!0)),h[-1].render(-1))),b&&l.forEach((function(a,s){e="undefined"!==typeof l[s+1]?l[s+1]+v:r.max-v,0===s%2&&a<r.max&&e<=r.max+(n.polar?-v:v)&&(p[a]||(p[a]=new o.PlotLineOrBand(r)),t=a+v,p[a].options={from:i?i.lin2log(t):t,to:i?i.lin2log(e):e,color:b,className:"highcharts-alternate-grid"},p[a].render(),p[a].isActive=!0)})),r._addedPlotLB||(r._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)})))}[h,d,p].forEach((function(t){var e=[],r=w.duration;C(t,(function(t,r){t.isActive||(t.render(r,!1,0),t.isActive=!1,e.push(r))})),D((function(){for(var r=e.length;r--;)t[e[r]]&&!t[e[r]].isActive&&(t[e[r]].destroy(),delete t[e[r]])}),t!==p&&n.hasRendered&&r?r:0)})),g&&(g[g.isPlaced?"animate":"attr"]({d:this.getLinePath(g.strokeWidth())}),g.isPlaced=!0,g[y?"show":"hide"](y)),f&&y&&(s=r.getTitlePosition(),S(s.y)?(f[f.isNew?"attr":"animate"](s),f.isNew=!1):(f.attr("y",-9999),f.isNew=!0)),m&&m.enabled&&r.stacking&&r.stacking.renderStackTotals(),r.old={len:r.len,max:r.max,min:r.min,transA:r.transA,userMax:r.userMax,userMin:r.userMin},r.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,r=e.plotLinesAndBands,n=this.eventOptions;if(x(this,"destroy",{keepEvents:t}),t||T(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){v(t)})),r)for(t=r.length;t--;)r[t].destroy();for(var i in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[i]=e.plotLinesAndBandsGroups[i].destroy();C(e,(function(t,r){-1===e.getKeepProps().indexOf(r)&&delete e[r]})),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,i=this.crosshair,o=j(i&&i.snap,!0),a=this.chart,s=this.cross;if(x(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),i&&!1!==(b(e)||!o)){if(o?b(e)&&(n=j("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),b(n)){var c={value:e&&(this.isXAxis?e.x:j(e.stackY,e.y)),translatedValue:n};a.polar&&w(c,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),c=this.getPlotLinePath(c)||null}if(!b(c))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(i.className||"")).attr({zIndex:j(i.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:i.color||(o?r.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":j(i.width,1)}).css({"pointer-events":"none"}),i.dashStyle&&s.attr({dashstyle:i.dashStyle}))),s.show().attr({d:c}),o&&!i.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var r=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(r,t),r.isDirtyBox=!0,j(e,!0)&&r.redraw()},t.prototype.remove=function(t){for(var e=this.chart,r=this.coll,n=this.series,i=n.length;i--;)n[i]&&n[i].remove(!1);g(e.axes,this),g(e[r],this),e[r].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,j(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(r,"Core/Axis/DateTimeAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new c(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,r(t,"init",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var r=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=r[r.length-1];var a,s=o[e[0]],c=e[1];for(a=0;a<r.length&&(e=r[a],s=o[e[0]],c=e[1],!(r[a+1]&&t<=(s*c[c.length-1]+o[r[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(c=[1,2,5]),{unitRange:s,count:t=i(t/s,c,"year"===e[0]?Math.max(n(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var r=this.axis;return r.closestPointRange?r.chart.time.getDateFormat(r.closestPointRange,t,r.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/LogarithmicAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new c(this))}function a(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("logarithmic"),r(t,"init",e),r(t,"afterInit",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,r,a){var s=this.axis,c=s.len,u=s.options,l=[];if(a||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),l=s.getLinearTickPositions(t,e,r);else if(.08<=t){var f,h=Math.floor(e),d=u=void 0;for(c=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];h<r+1&&!d;h++){var p=c.length;for(f=0;f<p&&!d;f++){var m=this.log2lin(this.lin2log(h)*c[f]);m>e&&(!a||u<=r)&&"undefined"!==typeof u&&l.push(u),u>r&&(d=!0),u=m}}}else e=this.lin2log(e),r=this.lin2log(r),t=a?s.getMinorTickInterval():u.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,u.tickPixelInterval/(a?5:1)*(r-e)/((a?c/s.tickPositions.length:c)||1)),t=i(t,void 0,n(t)),l=s.getLinearTickPositions(t,e,r).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),l},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.erase,n=t.extend,i=t.isNumber;return function(t){var e,o=[];t.compose=function(t,r){return e||(e=t),-1===o.indexOf(r)&&(o.push(r),n(r.prototype,a.prototype)),r};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,r){void 0===r&&(r=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:r.acrossPanes}),o=[],a=this.horiz;if(e=!i(this.min)||!i(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:r.acrossPanes}),r=1,t&&n){if(e){var s=t.toString()===n.toString();r=0}for(e=0;e<t.length;e+=2){var c=t[e],u=t[e+1],l=n[e],f=n[e+1];"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==f[0]&&"L"!==f[0]||(a&&l[1]===c[1]?(l[1]+=r,f[1]+=r):a||l[2]!==c[2]||(l[2]+=r,f[2]+=r),o.push(["M",c[1],c[2]],["L",u[1],u[2]],["L",f[1],f[2]],["L",l[1],l[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,r){var n=this,i=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)}))),r){var a=i[r]||[];a.push(t),i[r]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,i=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[n.plotLines||[],i.plotLines||[],n.plotBands||[],i.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&r(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[r["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.arrayMax,n=e.arrayMin,i=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,c=e.merge,u=e.objectEach,l=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(r){return t.compose(e,r)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,r=e.horiz,n=e.logarithmic,o=t.options,a=o.color,f=l(o.zIndex,0),h=o.events,d={},p=e.chart.renderer,m=o.label,b=t.label,v=o.to,g=o.from,y=o.value,w=t.svgElem,x=[],O=i(g)&&i(v);x=i(y);var _=!w,S={class:"highcharts-plot-"+(O?"band ":"line ")+(o.className||"")},k=O?"bands":"lines";if(n&&(g=n.log2lin(g),v=n.log2lin(v),y=n.log2lin(y)),e.chart.styledMode||(x?(S.stroke=a||"#999999",S["stroke-width"]=l(o.width,1),o.dashStyle&&(S.dashstyle=o.dashStyle)):O&&(S.fill=a||"#e6ebf5",o.borderWidth&&(S.stroke=o.borderColor,S["stroke-width"]=o.borderWidth))),d.zIndex=f,k+="-"+f,(n=e.plotLinesAndBandsGroups[k])||(e.plotLinesAndBandsGroups[k]=n=p.g("plot-"+k).attr(d).add()),_&&(t.svgElem=w=p.path().attr(S).add(n)),x)x=e.getPlotLinePath({value:y,lineWidth:w.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!O)return;x=e.getPlotBandPath(g,v,o)}return!t.eventsAdded&&h&&(u(h,(function(e,r){w.on(r,(function(e){h[r].apply(t,[e])}))})),t.eventsAdded=!0),(_||!w.d)&&x&&x.length?w.attr({d:x}):w&&(x?(w.show(!0),w.animate({d:x})):w.d&&(w.hide(),b&&(t.label=b=b.destroy()))),m&&(i(m.text)||i(m.formatter))&&x&&x.length&&0<e.width&&0<e.height&&!x.isFlat?(m=c({align:r&&O&&"center",x:r?!O&&4:10,verticalAlign:!r&&O&&"middle",y:r?O?16:10:O?6:-4,rotation:r&&!O&&90},m),this.renderLabel(m,x,O,f)):b&&b.hide(),t},e.prototype.renderLabel=function(t,e,i,o){var a=this.axis,s=a.chart.renderer,u=this.label;u||(this.label=u=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||u.css(c({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=n(o),s=n(e),u.align(t,!1,{x:i,y:s,width:r(o)-i,height:r(e)-s}),u.alignValue&&"left"!==u.alignValue||u.css({width:(90===u.rotation?a.height-(u.alignAttr.y-a.top):a.width-(u.alignAttr.x-a.left))+"px"}),u.show(!0)},e.prototype.getLabelText=function(t){return i(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(r,"Core/Tooltip.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.format,a=e.doc,s=r.distribute,c=i.addEvent,u=i.clamp,l=i.css,f=i.defined,h=i.discardElement,d=i.extend,p=i.fireEvent,m=i.isArray,b=i.isNumber,v=i.isString,g=i.merge,y=i.pick,w=i.splat,x=i.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var r=e&&e.tt;r&&(!r.isActive||t?e.tt=r.destroy():r.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||w(this),r=[t.tooltipFooterHeaderFormatter(e[0])];return(r=r.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),r},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),h(this.container)),i.clearTimeout(this.hideTimer),i.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var r,n,i=this.chart,o=i.pointer,a=i.inverted,s=i.plotTop,c=i.plotLeft,u=0,l=0;return t=w(t),this.followPointer&&e?("undefined"===typeof e.chartX&&(e=o.normalize(e)),o=[e.chartX-c,e.chartY-s]):t[0].tooltipPos?o=t[0].tooltipPos:(t.forEach((function(t){r=t.series.yAxis,n=t.series.xAxis,u+=t.plotX||0,l+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&r&&(a?(u+=s+i.plotHeight-n.len-n.pos,l+=c+i.plotWidth-r.len-r.pos):(u+=n.pos-c,l+=r.pos-s))})),u/=t.length,l/=t.length,o=[a?i.plotWidth-l:u,a?i.plotHeight-u:l],this.shared&&1<t.length&&e&&(a?o[0]=e.chartX-c:o[1]=e.chartY-s)),o.map(Math.round)},t.prototype.getLabel=function(){var t,r=this,i=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s="tooltip"+(f(o.className)?" "+o.className:""),u=o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),h=function(){r.inContact=!0},d=function(t){var e=r.chart.hoverSeries;r.inContact=r.shouldStickOnContact()&&r.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!r.inContact&&e&&e.onMouseOut&&e.onMouseOut()},p=this.chart.renderer;if(r.label){var m=!r.label.hasClass("highcharts-label");(a&&!m||!a&&m)&&r.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var b=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",l(t,{position:"absolute",top:"1px",pointerEvents:u,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),c(t,"mouseenter",h),c(t,"mouseleave",d),e.doc.body.appendChild(t),this.renderer=p=new b(t,0,0,m,void 0,void 0,p.styledMode)}if(a?this.label=p.g(s):(this.label=p.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,s).attr({padding:o.padding,r:o.borderRadius}),i||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:u}).shadow(o.shadow)),i&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),r.outside&&!r.split){var v=this.label,g=v.xSetter,y=v.ySetter;v.xSetter=function(e){g.call(v,r.distance),t.style.left=e+"px"},v.ySetter=function(e){y.call(v,r.distance),t.style.top=e+"px"}}this.label.on("mouseenter",h).on("mouseleave",d).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,r){var n,i=this.chart,o=this.distance,s={},c=i.inverted&&r.h||0,u=this.outside,l=u?a.documentElement.clientWidth-2*o:i.chartWidth,f=u?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):i.chartHeight,h=i.pointer.getChartPosition(),d=function(n){var a="x"===n;return[n,a?l:f,a?t:e].concat(u?[a?t*h.scaleX:e*h.scaleY,a?h.left-o+(r.plotX+i.plotLeft)*h.scaleX:h.top-o+(r.plotY+i.plotTop)*h.scaleY,0,a?l:f]:[a?t:e,a?r.plotX+i.plotLeft:r.plotY+i.plotTop,a?i.plotLeft:i.plotTop,a?i.plotLeft+i.plotWidth:i.plotTop+i.plotHeight])},p=d("y"),m=d("x");d=!!r.negative,!i.polar&&i.hoverSeries&&i.hoverSeries.yAxis&&i.hoverSeries.yAxis.reversed&&(d=!d);var b=!this.followPointer&&y(r.ttBelow,!i.inverted===d),v=function(t,e,r,n,i,a,l){var f=u?"y"===t?o*h.scaleY:o*h.scaleX:o,d=(r-n)/2,p=n<i-o,m=i+o+n<e,v=i-f-r+d;if(i=i+f-d,b&&m)s[t]=i;else if(!b&&p)s[t]=v;else if(p)s[t]=Math.min(l-n,0>v-c?v:v-c);else{if(!m)return!1;s[t]=Math.max(a,i+c+r>e?i:i+c)}},g=function(t,e,r,n,i){var a;return i<o||i>e-o?a=!1:s[t]=i<r/2?1:i>e-n/2?e-n-2:i-r/2,a},w=function(t){var e=p;p=m,m=e,n=t};return(i.inverted||1<this.len)&&w(),function t(){!1!==v.apply(0,p)?!1!==g.apply(0,m)||n||(w(!0),t()):n?s.x=s.y=0:(w(!0),t())}(),s},t.prototype.hide=function(t){var e=this;i.clearTimeout(this.hideTimer),t=y(t,this.options.hideDelay),this.isHidden||(this.hideTimer=x((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=y(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,r,n){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),c=o.followPointer||1<o.len;d(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:c?void 0:s?(2*a.anchorX+r)/3:r,anchorY:c?void 0:s?(a.anchorY+n)/2:n}),o.getLabel().attr(a),o.drawTracker(),s&&(i.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,r,n)}),32))},t.prototype.refresh=function(t,e){var r=this.chart,n=this.options,o=w(t),a=o[0],s=[],c=n.formatter||this.defaultFormatter,u=this.shared,l=r.styledMode,f={};if(n.enabled){i.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var h=(t=this.getAnchor(t,e))[0],d=t[1];if(u&&this.allowShared?(r.pointer.applyInactiveState(o),o.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(f={x:a.category,y:a.y}).points=s):f=a.getLabelConfig(),this.len=s.length,c=c.call(f,this),u=a.series,this.distance=y(u.tooltipOptions.distance,16),!1===c)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(c,o);else{var b=h,v=d;if(e&&r.pointer.isDirectTouch&&(b=e.chartX-r.plotLeft,v=e.chartY-r.plotTop),!r.polar&&!1!==u.options.clip&&!o.some((function(t){return t.series.shouldShowTooltip(b,v)})))return void this.hide();e=this.getLabel(),n.style.width&&!l||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:c&&c.join?c.join(""):c}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(a.colorIndex,u.colorIndex)),l||e.attr({stroke:n.borderColor||a.color||u.color||"#666666"}),this.updatePosition({plotX:h,plotY:d,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}p(this,"refresh")}},t.prototype.renderSplit=function(t,e){function r(t,e,r,i,o){return void 0===o&&(o=!0),r?(e=j?0:D,t=u(t-i/2,E.left,E.right-i-(n.outside?A:0))):(e-=T,t=u(t=o?t-i-_:t+_,o?t:E.left,E.right)),{x:t,y:e}}var n=this,i=n.chart,o=n.chart,c=o.chartWidth,l=o.chartHeight,f=o.plotHeight,h=o.plotLeft,p=o.plotTop,m=o.pointer,b=o.scrollablePixelsY;b=void 0===b?0:b;var g=o.scrollablePixelsX,w=o.scrollingContainer,x=(w=void 0===w?{scrollLeft:0,scrollTop:0}:w).scrollLeft;w=w.scrollTop;var O=o.styledMode,_=n.distance,S=n.options,k=n.options.positioner,E=n.outside&&"number"!==typeof g?a.documentElement.getBoundingClientRect():{left:x,right:x+c,top:w,bottom:w+l},M=n.getLabel(),C=this.renderer||i.renderer,j=!(!i.xAxis[0]||!i.xAxis[0].opposite),A=(i=m.getChartPosition()).left;i=i.top;var T=p+w,P=0,D=f-b;v(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,i,o){if(!1!==i&&""!==i){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:f,series:{}}).isHeader,s=a?n:o.series;i=i.toString();var c=s.tt,l=o.isHeader,d=o.series,m="highcharts-color-"+y(o.colorIndex,d.colorIndex,"none");if(c||(c={padding:S.padding,r:S.borderRadius},O||(c.fill=S.backgroundColor,c["stroke-width"]=S.borderWidth),c=C.label("",0,0,S[l?"headerShape":"shape"],void 0,void 0,S.useHTML).addClass((l?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(c).add(M)),c.isActive=!0,c.attr({text:i}),O||c.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||o.color||d.color||"#333333"}),i=(l=(s=s.tt=c).getBBox()).width+s.strokeWidth(),a&&(P=l.height,D+=P,j&&(T-=P)),d=void 0===(d=o.plotX)?0:d,m=void 0===(m=o.plotY)?0:m,c=o.series,o.isHeader){d=h+d;var b=p+f/2}else{var v=c.xAxis,g=c.yAxis;d=v.pos+u(d,-_,v.len+_),c.shouldShowTooltip(0,g.pos-p+m,{ignoreX:!0})&&(b=g.pos+m)}d=u(d,E.left-_,E.right+_),"number"===typeof b?(l=l.height+1,m=k?k.call(n,i,l,o):r(d,b,a,i),t.push({align:k?0:void 0,anchorX:d,anchorY:b,boxWidth:i,point:o,rank:y(m.rank,a?1:0),size:l,target:m.y,tt:s,x:m.x})):s.isActive=!1}return t}),[]),!k&&t.some((function(t){var e=(n.outside?A:0)+t.anchorX;return e<E.left&&e+t.boxWidth<E.right||e<A-E.left+t.boxWidth&&E.right-e>e}))&&(t=t.map((function(t){var e=r(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return d(t,{target:e.y,x:e.x})}))),n.cleanSplit(),s(t,D);var R=A,L=A;t.forEach((function(t){var e=t.x,r=t.boxWidth;(t=t.isHeader)||(n.outside&&A+e<R&&(R=A+e),!t&&n.outside&&R+r>L&&(L=A+e))})),t.forEach((function(t){var e=t.x,r=t.anchorX,i=t.pos,o=t.point.isHeader;if(i={visibility:"undefined"===typeof i?"hidden":"inherit",x:e,y:i+T,anchorX:r,anchorY:t.anchorY},n.outside&&e<r){var a=A-R;0<a&&(o||(i.x=e+a,i.anchorX=r+a),o&&(i.x=(L-R)/2,i.anchorX=r+a))}t.tt.attr(i)})),t=n.container,b=n.renderer,n.outside&&t&&b&&(o=M.getBBox(),b.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=R+"px",t.style.top=i+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,r=this.shared?t.hoverPoints:t.hoverPoint;if(e&&r){var n={x:0,y:0,width:0,height:0};r=this.getAnchor(r);var i=e.getBBox();r[0]+=t.plotLeft-e.translateX,r[1]+=t.plotTop-e.translateY,n.x=Math.min(0,r[0]),n.y=Math.min(0,r[1]),n.width=0>r[0]?Math.max(Math.abs(r[0]),i.width-r[0]):Math.max(Math.abs(r[0]),i.width),n.height=0>r[1]?Math.max(Math.abs(r[1]),i.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),i.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var r=t.series,n=r.tooltipOptions,i=r.xAxis,a=i&&i.dateTime;i={isFooter:e,labelConfig:t};var s=n.xDateFormat,c=n[e?"footerFormat":"headerFormat"];return p(this,"headerFormatter",i,(function(e){a&&!s&&b(t.key)&&(s=a.getXDateFormat(t.key,n.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+s+"}")})),r.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=o(c,{point:t,series:r},this.chart)})),i.text},t.prototype.update=function(t){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,g(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,r=this.options,n=e.pointer,i=this.getLabel();n=n.getChartPosition();var o=(r.positioner||this.getPosition).call(this,i.width,i.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(r=r.borderWidth+2*this.distance,this.renderer.setSize(i.width+r,i.height+r,!1),1===n.scaleX&&1===n.scaleY||(l(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),a*=n.scaleX,t*=n.scaleY),a+=n.left-o.x,t+=n.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}()})),e(r,"Core/Series/Point.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=e.animObject,a=r.defaultOptions,s=n.format,c=i.addEvent,u=i.defined,l=i.erase,f=i.extend,h=i.fireEvent,d=i.getNestedProperty,p=i.isArray,m=i.isFunction,b=i.isNumber,v=i.isObject,g=i.merge,y=i.objectEach,w=i.pick,x=i.syncTimeout,O=i.removeEvent,_=i.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},r=t.getGraphicalProps();r.singular.forEach((function(r){t[r]=t[r].animate("dataLabel"===r?{x:t[r].startXPos,y:t[r].startYPos,opacity:0}:e)})),r.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(f({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,r){var n=this.series,i=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),f(this,t),this.options=this.options?f(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=e.prototype.getNestedProperty.call(this,i)),this.formatPrefix=(this.isNull=w(this.isValid&&!this.isValid(),null===this.x||!b(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof r&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"===typeof this.x&&n?this.x="undefined"===typeof r?n.autoIncrement():r:b(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(i in(e.graphic||e.dataLabel||e.dataLabels)&&(O(e),e.destroyElements()),e)e[i]=null}var e=this,r=e.series,n=r.chart;r=r.options.dataSorting;var i,a=n.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),a&&(e.setState(),l(a,e),a.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),x(t,s.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,r){var n=this,i=this.series.options;(i.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&i.allowPointSelect&&(r=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(n,t,e,r)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,r=this,n=[],i={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var o=n[e];r[o]&&i.singular.push(o)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&r[n]&&i.plural.push(n)})),i},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?d(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var r,n=0;for(r=e[n];this[t]>=r.value;)r=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=r&&r.color&&!this.options.color?r.color:this.nonZonedColor,r},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,r){return this.series=t,this.applyOptions(e,r),this.id=u(this.id)?this.id:_(),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var r=this.series,n=r.options.keys,i=n||r.pointArrayMap||["y"],o=i.length,a={},s=0,c=0;if(b(t)||null===t)a[i[0]]=t;else if(p(t))for(!n&&t.length>o&&("string"===(r=typeof t[0])?a.name=t[0]:"number"===r&&(a.x=t[0]),s++);c<o;)n&&"undefined"===typeof t[s]||(0<i[c].indexOf(".")?e.prototype.setNestedProperty(a,t[s],i[c]):a[i[c]]=t[s]),s++,c++;else"object"===typeof t&&(a=t,t.dataLabels&&(r._hasPointLabels=!0),t.marker&&(r._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,r=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var n=(r=t.options.colors||t.chart.options.colors)[t.colorCounter];r=r.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===r&&(t.colorCounter=0)}else e||(n=t.color),e=t.colorIndex;this.colorIndex=w(this.options.colorIndex,e),this.color=w(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,r){return r.split(".").reduce((function(t,r,n,i){return t[r]=i.length-1===n?e:v(t[r],!0)?t[r]:{},t[r]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,r=e.tooltipOptions,n=w(r.valueDecimals,""),i=r.valuePrefix||"",o=r.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(i||o)&&(t=t.replace(RegExp(e+"}","g"),i+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,r,n){function i(){a.applyOptions(t);var n=c&&a.hasDummyGraphic;n=null===a.y?!n:n,c&&n&&(a.graphic=c.destroy(),delete a.hasDummyGraphic),v(t,!0)&&(c&&c.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(a.graphic=c.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),l.data[o]=v(l.data[o],!0)||v(t,!0)?a.options:w(t,l.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(u.isDirtyBox=!0),"point"===l.legendType&&(u.isDirtyLegend=!0),e&&u.redraw(r)}var o,a=this,s=a.series,c=a.graphic,u=s.chart,l=s.options;e=w(e,!0),!1===n?i():a.firePointEvent("update",{options:t},i)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var r=this,n=r.series,i=n.chart;this.selectedStaging=t=w(t,!r.selected),r.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){r.selected=r.options.selected=t,n.options.data[n.data.indexOf(r)]=r.options,r.setState(t&&"select"),e||i.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==r&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(i.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,r=e.pointer;t=t?r.normalize(t):r.getChartCoordinatesFromPoint(this,e.inverted),r.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=g(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,r){m(e)&&c(t,r,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,r){var n,i=this.series,o=this.state,s=i.options.states[e||"normal"]||{},c=a.plotOptions[i.type].marker&&i.options.marker,u=c&&!1===c.enabled,l=c&&c.states&&c.states[e||"normal"]||{},d=!1===l.enabled,p=this.marker||{},m=i.chart,v=c&&i.markerAttribs,g=i.halo,y=i.stateMarkerGraphic;if(!((e=e||"")===this.state&&!r||this.selected&&"select"!==e||!1===s.enabled||e&&(d||u&&!1===l.enabled)||e&&p.states&&p.states[e]&&!1===p.states[e].enabled)){if(this.state=e,v&&(n=i.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=i.pointAttribs(this,e),O=w(m.options.chart.animation,s.animation);i.options.inactiveOtherPoints&&b(x.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:x.opacity},O)})),this.connector&&this.connector.animate({opacity:x.opacity},O)),this.graphic.animate(x,O)}n&&this.graphic.animate(n,w(m.options.chart.animation,l.animation,c.animation)),y&&y.hide()}else e&&l&&(o=p.symbol||i.symbol,y&&y.currentSymbol!==o&&(y=y.destroy()),n&&(y?y[r?"animate":"attr"]({x:n.x,y:n.y}):o&&(i.stateMarkerGraphic=y=m.renderer.symbol(o,n.x,n.y,n.width,n.height).add(i.markerGroup),y.currentSymbol=o)),!m.styledMode&&y&&"inactive"!==this.state&&y.attr(i.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,n=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==n&&!this.isCluster?(g||(i.halo=g=m.renderer.path().add(y.parentGroup)),g.show()[r?"animate":"attr"]({d:this.haloPath(s.size)}),g.attr({class:"highcharts-halo highcharts-color-"+w(this.colorIndex,i.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),g.point=this,m.styledMode||g.attr(f({fill:this.color||i.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):g&&g.point&&g.point.haloPath&&g.animate({d:g.point.haloPath(0)},null,g.hide),h(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()})),e(r,"Core/Pointer.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Tooltip.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=t.parse,o=e.charts,a=e.noop,s=n.addEvent,c=n.attr,u=n.css,l=n.defined,f=n.extend,h=n.find,d=n.fireEvent,p=n.isNumber,m=n.isObject,b=n.objectEach,v=n.offset,g=n.pick,y=n.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,r=[];(t||[]).forEach((function(t){e=t.series,r.push(e),e.linkedParent&&r.push(e.linkedParent),e.linkedSeries&&(r=r.concat(e.linkedSeries)),e.navigatorSeries&&r.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===r.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var r=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(r.tooltipTimeout),b(r,(function(t,e){r[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,r=e.options.chart,n=this.zoomHor,o=this.zoomVert,a=e.plotLeft,s=e.plotTop,c=e.plotWidth,u=e.plotHeight,l=this.mouseDownX||0,f=this.mouseDownY||0,h=m(r.panning)?r.panning&&r.panning.enabled:r.panning,d=r.panKey&&t[r.panKey+"Key"],p=t.chartX,b=t.chartY,v=this.selectionMarker;if((!v||!v.touch)&&(p<a?p=a:p>a+c&&(p=a+c),b<s?b=s:b>s+u&&(b=s+u),this.hasDragged=Math.sqrt(Math.pow(l-p,2)+Math.pow(f-b,2)),10<this.hasDragged)){var g=e.isInsidePlot(l-a,f-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!g||d||v||(this.selectionMarker=v=e.renderer.rect(a,s,n?1:c,o?1:u,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||v.attr({fill:r.selectionMarkerFill||i("#335cad").setOpacity(.25).get()})),v&&n&&(n=p-l,v.attr({width:Math.abs(n),x:(0<n?0:n)+l})),v&&o&&(n=b-f,v.attr({height:Math.abs(n),y:(0<n?0:n)+f})),g&&!v&&h&&e.pan(t,r.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,r=this.chart,n=this.hasPinched;if(this.selectionMarker){var i=this.selectionMarker,o=i.attr?i.attr("x"):i.x,a=i.attr?i.attr("y"):i.y,s=i.attr?i.attr("width"):i.width,c=i.attr?i.attr("height"):i.height,h={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:c},m=!!r.mapView;(this.hasDragged||n)&&(r.axes.forEach((function(r){if(r.zoomEnabled&&l(r.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[r.coll]])&&p(o)&&p(a)){var i=r.horiz,u="touchend"===t.type?r.minPixelPadding:0,f=r.toValue((i?o:a)+u);i=r.toValue((i?o+s:a+c)-u),h[r.coll].push({axis:r,min:Math.min(f,i),max:Math.max(f,i)}),m=!0}})),m&&d(r,"selection",h,(function(t){r.zoom(f(t,n?{animation:!1}:null))}))),p(r.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}r&&p(r.index)&&(u(r.container,{cursor:r._cursor}),r.cancelClick=10<this.hasDragged,r.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,r){var n,i=this.chart,o=i.hoverPoint;return i=i.tooltip,o&&i&&i.isStickyOnContact()?o:(t.forEach((function(t){var i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(r,i),(i=m(t,!0)&&t.series)&&!(i=!m(n,!0))){i=n.distX-t.distX;var o=n.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);i=0<(0!==i&&e?i:0!==o?o:0!==a?a:n.series.index>t.series.index?-1:1)}i&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var r=t.series,n=r.xAxis;r=r.yAxis;var i=t.shapeArgs;if(n&&r){var o=g(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&i&&p(i.x)&&p(i.y)&&(o=i.x,a=i.y),e?{chartX:r.len+r.pos-a,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:a+r.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var r=t.offsetWidth;return t=t.offsetHeight,2<r&&2<t&&(this.chartPosition.scaleX=e.width/r,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(r){e[r.isXAxis?"xAxis":"yAxis"].push({axis:r,value:r.toValue(t[r.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,r,n,i,o){var a=[];n=!(!n||!t);var s={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:i};d(this,"beforeGetHoverData",s);var c=e&&!e.stickyTracking?[e]:r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&t.stickyTracking})),u=n||!o?t:this.findNearestKDPoint(c,i,o);return e=u&&u.series,u&&(i&&!e.noSharedTooltip?(c=r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=h(t.points,(function(t){return t.x===u.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(u)),d(this,"afterGetHoverData",s={hoverPoint:u}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var r;t;){if(r=c(t,"class")){if(-1!==r.indexOf(e))return!0;if(-1!==r.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},r&&(t.tooltip=new r(t,e.tooltip),this.followTouchMove=g(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var r=t.touches,n=r?r.length?r.item(0):g(r.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),r=n.pageX-e.left,n=n.pageY-e.top,r/=e.scaleX,n/=e.scaleY,f(t,{chartX:Math.round(r),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,r=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,i=e.plotTop;e.cancelClick||(r&&this.inClass(t.target,"highcharts-tracker")?(d(r.series,"click",f(t,{point:r})),e.hoverPoint&&r.firePointEvent("click",t)):(f(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-i,{visiblePlotOnly:!0})&&d(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var r=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||r)&&(this.zoomOption(t),r&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var r=o[g(t.hoverChartIndex,-1)],n=this.chart.tooltip;n&&n.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),r&&(e.relatedTarget||e.toElement)&&(r.pointer.reset(),r.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,r=this.chartPosition;t=this.normalize(t,r);var n=e.tooltip;!r||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,r=e.chart,n=e.pinchDown,i=t.touches||[],o=i.length,s=e.lastValidTouch,c=e.hasZoom,u={},l=1===o&&(e.inClass(t.target,"highcharts-tracker")&&r.runTrackerClick||e.runChartClick),h={},p=e.selectionMarker;1<o?e.initiated=!0:1===o&&this.followTouchMove&&(e.initiated=!1),c&&e.initiated&&!l&&!1!==t.cancelable&&t.preventDefault(),[].map.call(i,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(i,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[n[0].chartX,n[1]&&n[1].chartX],s.y=[n[0].chartY,n[1]&&n[1].chartY],r.axes.forEach((function(t){if(t.zoomEnabled){var e=r.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,i=t.toPixels(Math.min(g(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(g(t.options.max,t.dataMax),t.dataMax)),a=Math.max(i,o);e.min=Math.min(t.pos,Math.min(i,o)-n),e.max=Math.max(t.pos+t.len,a+n)}})),e.res=!0):e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):n.length&&(d(r,"touchpan",{originalEvent:t},(function(){p||(e.selectionMarker=p=f({destroy:a,touch:!0},r.plotBox)),e.pinchTranslate(n,i,u,p,h,s),e.hasPinched=c,e.scaleGroups(u,h)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,r,n,i,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,r,n,i,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,r,n,i,o)},t.prototype.pinchTranslateDirection=function(t,e,r,n,i,o,a,s){var c=this.chart,u=t?"x":"y",l=t?"X":"Y",f="chart"+l,h=t?"width":"height",d=c["plot"+(t?"Left":"Top")],p=c.inverted,m=c.bounds[t?"h":"v"],b=1===e.length,v=e[0][f],g=!b&&e[1][f];e=function(){"number"===typeof _&&20<Math.abs(v-g)&&(x=s||Math.abs(O-_)/Math.abs(v-g)),w=(d-O)/x+v,y=c["plot"+(t?"Width":"Height")]/x};var y,w,x=s||1,O=r[0][f],_=!b&&r[1][f];if(e(),(r=w)<m.min){r=m.min;var S=!0}else r+y>m.max&&(r=m.max-y,S=!0);S?(O-=.8*(O-a[u][0]),"number"===typeof _&&(_-=.8*(_-a[u][1])),e()):a[u]=[O,_],p||(o[u]=w-d,o[h]=y),o=p?1/x:x,i[h]=y,i[u]=r,n[p?t?"scaleY":"scaleX":"scale"+l]=x,n["translate"+l]=o*d+(O-o*v)},t.prototype.reset=function(t,e){var r=this.chart,n=r.hoverSeries,i=r.hoverPoint,o=r.hoverPoints,a=r.tooltip,s=a&&a.shared?o:i;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):i&&(i.setState(i.state,!0),r.axes.forEach((function(t){t.crosshair&&i.series[t.coll]===t&&t.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(t){t.setState()})),n&&n.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),r.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=r.hoverPoints=r.hoverPoint=null)},t.prototype.runPointActions=function(e,r){var n=this.chart,i=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,a=!!i&&i.shared,c=r||n.hoverPoint,u=c&&c.series||n.hoverSeries;c=(r=this.getHoverData(c,u,n.series,(!e||"touchmove"!==e.type)&&(!!r||u&&u.directTouch&&this.isDirectTouch),a,e)).hoverPoint,u=r.hoverSeries;var l=r.hoverPoints;if(r=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,a=a&&u&&!u.noSharedTooltip,c&&(c!==n.hoverPoint||i&&i.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===l.indexOf(t)&&t.setState()})),n.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(l),(l||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!c.series)return;n.hoverPoints=l,n.hoverPoint=c,c.firePointEvent("mouseOver"),i&&i.refresh(a?l:c,e)}else r&&i&&!i.isHidden&&(c=i.getAnchor([{}],e),n.isInsidePlot(c[0],c[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(n.container.ownerDocument,"mousemove",(function(e){var r=o[t.hoverChartIndex];r&&r.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var r,i=g((t.crosshair||{}).snap,!0);i&&((r=n.hoverPoint)&&r.series[t.coll]===t||(r=h(l,(function(e){return e.series[t.coll]===t})))),r||!i?t.drawCrosshair(e,r):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var r=this.chart;r.series.forEach((function(n){var i=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||r.mapView)&&(n.group.attr(i),n.markerGroup&&(n.markerGroup.attr(i),n.markerGroup.clip(e?r.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(i))})),r.clipRect.attr(e||r.clipBox)},t.prototype.setDOMEvents=function(){var r=this,n=this.chart.container,i=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete r.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var r=this.chart,n=e.charts[g(t.hoverChartIndex,-1)];n&&n!==r&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=r.index)},t.prototype.touch=function(t,e){var r=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),r.isInsidePlot(t.chartX-r.plotLeft,t.chartY-r.plotTop,{visiblePlotOnly:!0})&&!r.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));g(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,r=e.options.chart;e=e.inverted;var n=r.zoomType||"";/touch/.test(t.type)&&(n=g(r.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=r=/y/.test(n),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},t}()})),e(r,"Core/MSPointer.js",[r["Core/Globals.js"],r["Core/Pointer.js"],r["Core/Utilities.js"]],(function(t,e,r){function n(){var t=[];return t.item=function(t){return this[t]},h(p,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function i(t,r,i,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[r]({type:i,target:t.currentTarget,preventDefault:c,touches:n()}))}var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.charts,s=t.doc,c=t.noop,u=t.win,l=r.addEvent,f=r.css,h=r.objectEach,d=r.removeEvent,p={},m=!!u.PointerEvent;return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return o(r,e),r.isRequired=function(){return!(t.hasTouch||!u.PointerEvent&&!u.MSPointerEvent)},r.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},r.prototype.destroy=function(){this.batchMSEvents(d),e.prototype.destroy.call(this)},r.prototype.init=function(t,r){e.prototype.init.call(this,t,r),this.hasZoom&&f(t.container,{"-ms-touch-action":"none","touch-action":"none"})},r.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},r.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY},p[t.pointerId].target||(p[t.pointerId].target=t.currentTarget)}))},r.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",(function(t){delete p[t.pointerId]}))},r.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},r}(e)})),e(r,"Core/Legend/Legend.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Point.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.animObject,s=t.setAnimation,c=e.format;t=r.isFirefox;var u=r.marginNames;r=r.win;var l=i.distribute,f=o.addEvent,h=o.createElement,d=o.css,p=o.defined,m=o.discardElement,b=o.find,v=o.fireEvent,g=o.isNumber,y=o.merge,w=o.pick,x=o.relativeLength,O=o.stableSort,_=o.syncTimeout;return i=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),f(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=f(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=w(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=w(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var r=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,w(e,!0)&&r.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var r=this.options,n=t.legendItem,i=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;r=e?r.itemStyle.color:a;var s=e&&t.color||a,c=t.options&&t.options.marker,u={fill:s};n&&n.css({fill:r,color:r}),i&&i.attr({stroke:s}),o&&(c&&o.isMarker&&(u=t.pointAttribs(),e||(u.stroke=u.fill=a)),o.attr(u))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,r=this.options,n=r.symbolPadding,i=!r.rtl,o=t._legendItemPos;r=o[0],o=o[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(n={translateX:i?r:this.legendWidth-r-2*n-4,translateY:o},i=function(){v(e,"afterPositionItem",{item:t})},p(s.translateY)?s.animate(n,void 0,i):(s.attr(n),i())),a&&(a.x=r,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,r=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach((function(i){var o=i.checkbox;if(o){var a=n+r+o.y+(this.scrollOffset||0)+3;d(o,{left:t.translateX+i.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>n-6&&a<n+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,r=t.title,n=0;r.text&&(this.title||(this.title=this.chart.renderer.label(r.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(r.style),this.title.add(this.group)),r.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?c(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,r=e.renderer,n=this.options,i=this.symbolWidth,o=n.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,c="horizontal"===n.layout?w(n.itemDistance,20):0,u=!n.rtl,l=!t.series,f=!l&&t.series.drawLegendSymbol?t.series:t,h=f.options,d=this.createCheckboxForItem&&h&&h.showCheckbox,p=n.useHTML,m=t.options.className,b=t.legendItem;h=i+o+c+(d?20:0),b||(t.legendGroup=r.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(l?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=b=r.text("",u?i+o:-o,this.baseline||0,p),e.styledMode||b.css(y(t.visible?a:s)),b.attr({align:u?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=r.fontMetrics(e.styledMode?12:a.fontSize,b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=w(n.symbolWidth,Math.max(this.symbolHeight,16)),h=this.symbolWidth+o+c+(d?20:0),u&&b.attr("x",this.symbolWidth+o))),f.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,b,p)),d&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||b.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-h+"px"}),this.setText(t),e=b.getBBox(),r=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+h,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*r?e.height:r))},t.prototype.layoutItem=function(t){var e=this.options,r=this.padding,n="horizontal"===e.layout,i=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=n?w(e.itemDistance,20):0,c=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>c?this.maxItemWidth:t.itemWidth,n&&this.itemX-r+e>c&&(this.itemX=r,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=a+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-r-(t.checkbox?0:s):e)+r,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var r=e&&e.options;e&&w(r.showInLegend,!p(r.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===r.legendType?e.data:e)))})),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var r=this.chart,n=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(i)&&!p(t[a])&&(r[u[a]]=Math.max(r[u[a]],r.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*n[a%2?"x":"y"]+w(n.margin,12)+e[a]+(r.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],r="left"===this.options.align;this.allItems.forEach((function(n){var i,o=r;if(n.yAxis){n.xAxis.options.reversed&&(o=!o),n.points&&(i=b(o?n.points:n.points.slice(0).reverse(),(function(t){return g(t.plotY)}))),o=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var a=n.yAxis.top-t.plotTop;n.visible?(i=i?i.plotY:n.yAxis.height,i+=a-.3*o):i=a+n.yAxis.height,e.push({target:i,size:o,item:n})}}),this),l(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,r=this.options,n=this.padding,i=this.getAllItems(),o=this.group,a=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(r.width,t.spacingBox.width-n);var s=t.spacingBox.width-2*n-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(r.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),O(i,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),r.reversed&&i.reverse(),this.allItems=i,this.display=s=!!i.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,i.forEach(this.renderItem,this),i.forEach(this.layoutItem,this),i=(this.widthOption||this.offsetWidth)+n;var c=this.lastItemY+this.lastLineHeight+this.titleHeight;c=this.handleOverflow(c),c+=n,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(o),a.isNew=!0),t.styledMode||a.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0<i&&0<c&&(a[a.isNew?"attr":"animate"](a.crisp.call({},{x:0,y:0,width:i,height:c},a.strokeWidth())),a.isNew=!1),a[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(i=c=0),this.legendWidth=i,this.legendHeight=c,s&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,r=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=y(t,{y:n})),this.group.align(y(r,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":r.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,r,n=this,i=this.chart,o=i.renderer,a=this.options,s=a.y,c="top"===a.verticalAlign,u=this.padding,l=a.maxHeight,f=a.navigation,h=w(f.animation,!0),d=f.arrowSize||12,p=this.pages,m=this.allItems,b=function(t){"number"===typeof t?y.attr({height:t}):y&&(n.clipRect=y.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},v=function(t){return n[t]=o.circle(0,0,1.3*d).translate(d/2,d/2).add(g),i.styledMode||n[t].attr("fill","rgba(0,0,0,0.0001)"),n[t]};s=i.spacingBox.height+(c?-s:s)-u;var g=this.nav,y=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),l&&(s=Math.min(s,l)),p.length=0,t&&0<s&&t>s&&!1!==f.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-u,0),this.currentPage=w(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,n){var i=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),a=p.length;(!a||i-p[a-1]>e&&(r||i)!==p[a-1])&&(p.push(r||i),a++),t.pageIx=a-1,r&&(m[n-1].pageIx=a-1),n===m.length-1&&i+o-p[a-1]>e&&o<=e&&(p.push(i),t.pageIx=a),i!==r&&(r=i)})),y||(y=n.clipRect=o.clipRect(0,u,9999,0),n.contentGroup.clip(y)),b(e),g||(this.nav=g=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,d,d).add(g),v("upTracker").on("click",(function(){n.scroll(-1,h)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(f.style),this.pager.add(g),this.down=o.symbol("triangle-down",0,0,d,d).add(g),v("downTracker").on("click",(function(){n.scroll(1,h)}))),n.scroll(0),t=s):g&&(b(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var r=this,n=this.chart,i=this.pages,o=i.length,c=this.clipHeight,u=this.options.navigation,l=this.pager,f=this.padding,h=this.currentPage+t;h>o&&(h=o),0<h&&("undefined"!==typeof e&&s(e,n),this.nav.attr({translateX:f,translateY:c+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),l.attr({text:h+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===h?u.inactiveColor:u.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===o?u.inactiveColor:u.activeColor}),this.downTracker.css({cursor:h===o?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),t=a(w(e,n.renderer.globalAnimation,!0)),_((function(){v(r,"afterScroll",{currentPage:h})}),t.duration))},t.prototype.setItemEvents=function(t,e,r){var i=this,o=i.chart.renderer.boxWrapper,a=t instanceof n,s="highcharts-legend-"+(a?"point":"series")+"-active",c=i.chart.styledMode,u=function(e){i.allItems.forEach((function(r){t!==r&&[r].concat(r.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(r?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(r){r&&r.on("mouseover",(function(){t.visible&&u("inactive"),t.setState("hover"),t.visible&&o.addClass(s),c||e.css(i.options.itemHoverStyle)})).on("mouseout",(function(){i.chart.styledMode||e.css(y(t.visible?i.itemStyle:i.itemHiddenStyle)),u(""),o.removeClass(s),t.setState()})).on("click",(function(e){var r=function(){t.setVisible&&t.setVisible(),u(t.visible?"inactive":"")};o.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,r):v(t,"legendItemClick",e,r)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=h("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),f(t.checkbox,"click",(function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(r.navigator&&r.navigator.userAgent)||t)&&i(o.prototype,"positionItem",(function(t,e){var r=this,n=function(){e._legendItemPos&&t.call(r,e)};n(),r.bubbleLegend||setTimeout(n)})),o})),e(r,"Core/Series/SeriesRegistry.js",[r["Core/Globals.js"],r["Core/DefaultOptions.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=e.defaultOptions,a=n.error,s=n.extendClass,c=n.merge;return function(e){function n(t,n){var i=o.plotOptions||{},a=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=r),n.prototype.type=t,a&&(i[t]=a),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,r){void 0===r&&(r={});var n=t.options.chart;n=r.type||n.type||n.defaultSeriesType||"";var i=e.seriesTypes[n];return e||a(17,!0,t,{missingModuleFor:n}),"function"===typeof(n=new i).init&&n.init(t,r),n},e.registerSeriesType=n,e.seriesType=function(t,i,a,u,l){var f=o.plotOptions||{};return i=i||"",f[t]=c(f[i],a),n(t,s(e.seriesTypes[i]||function(){},u)),e.seriesTypes[t].prototype.type=t,l&&(e.seriesTypes[t].prototype.pointClass=s(r,l)),e.seriesTypes[t]}}(i||(i={})),i})),e(r,"Core/Chart/Chart.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/FormatUtilities.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/Legend.js"],r["Core/MSPointer.js"],r["Core/DefaultOptions.js"],r["Core/Pointer.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Time.js"],r["Core/Utilities.js"],r["Core/Renderer/HTML/AST.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p){var m=t.animate,b=t.animObject,v=t.setAnimation,g=r.numberFormat,y=n.registerEventOptions,w=i.charts,x=i.doc,O=i.marginNames,_=i.svg,S=i.win,k=s.defaultOptions,E=s.defaultTime,M=l.seriesTypes,C=d.addEvent,j=d.attr,A=d.cleanRecursively,T=d.createElement,P=d.css,D=d.defined,R=d.discardElement,L=d.erase,I=d.error,N=d.extend,F=d.find,B=d.fireEvent,z=d.getStyle,H=d.isArray,U=d.isNumber,W=d.isObject,q=d.isString,V=d.merge,G=d.objectEach,Y=d.pick,X=d.pInt,$=d.relativeLength,K=d.removeEvent,Z=d.splat,J=d.syncTimeout,Q=d.uniqueKey;return t=function(){function t(t,e,r){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,r)}return t.chart=function(e,r,n){return new t(e,r,n)},t.prototype.getArgs=function(t,e,r){q(t)||t.nodeName?(this.renderTo=t,this.init(e,r)):this.init(t,e)},t.prototype.init=function(t,e){var r=t.plotOptions||{};B(this,"init",{args:arguments},(function(){var n=V(k,t),o=n.chart;G(n.plotOptions,(function(t,e){W(t)&&(t.tooltip=r[e]&&V(r[e].tooltip)||void 0)})),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):i.time,this.numberFormatter=o.numberFormatter||g,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=w.length,w.push(this),i.chartCount++,y(this,o),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,B(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var r=M[e];return r||I(17,!0,this,{missingModuleFor:e}),"function"===typeof(e=new r).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var r=e.length;t<r;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,r){void 0===r&&(r={});var n=this.inverted,i=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,c=0,u=0;r.visiblePlotOnly&&this.scrollingContainer&&(c=(u=this.scrollingContainer).scrollLeft,u=u.scrollTop);var l=r.series;if(i=r.visiblePlotOnly&&s||i,t={x:s=r.inverted?e:t,y:e=r.inverted?t:e,isInsidePlot:!0},!r.ignoreX){var f=l&&(n?l.yAxis:l.xAxis)||{pos:o,len:1/0};(s=r.paneCoordinates?f.pos+s:o+s)>=Math.max(c+o,f.pos)&&s<=Math.min(c+o+i.width,f.pos+f.len)||(t.isInsidePlot=!1)}return!r.ignoreY&&t.isInsidePlot&&(n=l&&(n?l.xAxis:l.yAxis)||{pos:a,len:1/0},(r=r.paneCoordinates?n.pos+e:a+e)>=Math.max(u+a,n.pos)&&r<=Math.min(u+a+i.height,n.pos+n.len)||(t.isInsidePlot=!1)),B(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){B(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],r=this.series,n=this.pointer,i=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),c=[],u=this.isDirtyBox,l=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=r.length;t--;){var f=r[t];if(f.options.stacking||f.options.centerInCategory){var h=!0;if(f.isDirty){var d=!0;break}}}if(d)for(t=r.length;t--;)(f=r[t]).options.stacking&&(f.isDirty=!0);r.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),l=!0):o&&(o.labelFormatter||o.labelFormat)&&(l=!0)),t.isDirtyData&&B(t,"updatedData")})),l&&i&&i.options.enabled&&(i.render(),this.isDirtyLegend=!1),h&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(u=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,c.push((function(){B(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(u||h)&&t.redraw()})),u&&this.drawChartBox(),B(this,"predraw"),r.forEach((function(t){(u||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),a.draw(),B(this,"redraw"),B(this,"render"),s&&this.temporaryDisplay(!0),c.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var r=this.series,n=F(this.axes,e)||F(this.series,e),i=0;!n&&i<r.length;i++)n=F(r[i].points||[],e);return n},t.prototype.getAxes=function(){var t=this,r=this.options,n=r.xAxis=Z(r.xAxis||{});r=r.yAxis=Z(r.yAxis||{}),B(this,"getAxes"),n.forEach((function(t,e){t.index=e,t.isX=!0})),r.forEach((function(t,e){t.index=e})),n.concat(r).forEach((function(r){new e(t,r)})),B(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){Y(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,r){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(r)},t.prototype.applyDescription=function(t,e){var r=this,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=V(!this.styledMode&&{style:n},this.options[t],e);var i=this[t];i&&e&&(this[t]=i=i.destroy()),n&&!i&&((i=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}).add()).update=function(e){r[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||i.css(n.style),this[t]=i)},t.prototype.layOutTitles=function(t){var e=[0,0,0],r=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var i,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(i=a.style&&a.style.fontSize),i=r.fontMetrics(i,o).b,o.css({width:(a.width||n.width+(a.widthAdjust||0))+"px"});var c=Math.round(o.getBBox(a.useHTML).height);o.align(N({y:"bottom"===s?i:t+i,height:c},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+c):"bottom"===s&&(e[2]=Math.ceil(e[2]+c)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var i=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var r=this.renderTo;D(e)||(this.containerWidth=z(r,"width")),D(t)||(this.containerHeight=z(r,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,$(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==x.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,r=e.chart,n=Q(),i=this.renderTo;i||(this.renderTo=i=r.renderTo),q(i)&&(this.renderTo=i=x.getElementById(i)),i||I(13,!0,this);var o=X(j(i,"data-highcharts-chart"));U(o)&&w[o]&&w[o].hasRendered&&w[o].destroy(),j(i,"data-highcharts-chart",this.index),i.innerHTML=p.emptyHTML,r.skipClone||i.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(i,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:o+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},r.style||{})),this.container=n=T("div",{id:n},t,i),this._cursor=n.style.cursor,this.renderer=new(r.renderer||!_?u.getRendererType(r.renderer):f)(n,o,a,void 0,r.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(r.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(r.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,r=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!D(r[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!D(r[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(r,e),B(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],r=t.colorAxis,n=t.margin,i=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?i(t.axes):r&&r.length&&i(r),O.forEach((function(r,i){D(n[i])||(t[r]+=e[i])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,r=e.options.chart,n=e.renderTo,i=D(r.width)&&D(r.height),o=r.width||z(n,"width");r=r.height||z(n,"height"),n=t?t.target:S,delete e.pointer.chartPosition,i||e.isPrinting||!o||!r||n!==S&&n!==x||(o===e.containerWidth&&r===e.containerHeight||(d.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=r)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=C(S,"resize",(function(t){e.options&&e.reflow(t)})),C(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,r){var n=this,i=n.renderer;n.isResizing+=1,v(r,n),r=i.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,"undefined"!==typeof t&&(n.options.chart.width=t),"undefined"!==typeof e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(r?m:P)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},r),n.setChartSize(!0),i.setSize(n.chartWidth,n.chartHeight,r),n.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(r),n.oldChartHeight=null,B(n,"resize"),J((function(){n&&B(n,"endResize",null,(function(){--n.isResizing}))}),b(r).duration)},t.prototype.setChartSize=function(t){var e,r,n,i,o=this.inverted,a=this.renderer,s=this.chartWidth,c=this.chartHeight,u=this.options.chart,l=this.spacing,f=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=r=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=i=Math.max(0,Math.round(c-r-this.marginBottom)),this.plotSizeX=o?i:n,this.plotSizeY=o?n:i,this.plotBorderWidth=u.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:c-l[0]-l[2]},this.plotBox=a.plotBox={x:e,y:r,width:n,height:i},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,f[3])/2),c=Math.ceil(Math.max(o,f[0])/2),this.clipBox={x:s,y:c,width:Math.floor(this.plotSizeX-Math.max(o,f[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,f[2])/2-c))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){B(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(r){var n=e[r],i=W(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((function(n,o){t[r][o]=Y(e[r+n],i[o])}))})),O.forEach((function(e,r){t[e]=Y(t.margin[r],t.spacing[r])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,r=this.renderer,n=this.chartWidth,i=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,c=e.plotBackgroundColor,u=e.plotBackgroundImage,l=this.plotLeft,f=this.plotTop,h=this.plotWidth,d=this.plotHeight,p=this.plotBox,m=this.clipRect,b=this.clipBox,v=this.chartBackground,g=this.plotBackground,y=this.plotBorder,w="animate";if(v||(this.chartBackground=v=r.rect().addClass("highcharts-background").add(),w="attr"),o)var x=t=v.strokeWidth();else t=(x=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(x||v["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=x),v.attr(s).shadow(e.shadow);v[w]({x:t/2,y:t/2,width:n-t-x%2,height:i-t-x%2,r:e.borderRadius}),w="animate",g||(w="attr",this.plotBackground=g=r.rect().addClass("highcharts-plot-background").add()),g[w](p),o||(g.attr({fill:c||"none"}).shadow(e.plotShadow),u&&(a?(u!==a.attr("href")&&a.attr("href",u),a.animate(p)):this.plotBGImage=r.image(u,l,f,h,d).add())),m?m.animate({width:b.width,height:b.height}):this.clipRect=r.clipRect(b),w="animate",y||(w="attr",this.plotBorder=y=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[w](y.crisp({x:l,y:f,width:h,height:d},-y.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,r,n=this,i=n.options.chart,o=n.options.series;["inverted","angular","polar"].forEach((function(a){for(e=M[i.type||i.defaultSeriesType],r=i[a]||e&&e.prototype[a],t=o&&o.length;!r&&t--;)(e=M[o[t].type])&&e.prototype[a]&&(r=!0);n[a]=r}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var r=e.options.linkedTo;q(r)&&(r=":previous"===r?t.series[e.index-1]:t.get(r))&&r.linkedParent!==e&&(r.linkedSeries.push(e),e.linkedParent=r,r.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,r.options.visible,e.visible))})),B(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(r){var n=N(e.style,r.style),i=X(n.left)+t.plotLeft,o=X(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(r.html,i,o).attr({zIndex:2}).css(n).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,r=this.renderer,n=this.options,i=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new o(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var c=1.1<n/this.plotWidth,u=1.05<s/this.plotHeight;(c||u)&&(t.forEach((function(t){(t.horiz&&c||!t.horiz&&u)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?i(t):e&&e.length&&i(e),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,r=V(!0,this.options.credits,t);r.enabled&&!this.credits&&(this.credits=this.renderer.text(r.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){r.href&&(S.location.href=r.href)})).attr({align:r.position.align,zIndex:8}),e.styledMode||this.credits.css(r.style),this.credits.add().align(r.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,r=e.axes,n=e.series,o=e.container,a=o&&o.parentNode;for(B(e,"destroy"),e.renderer.forExport?L(w,e):w[e.index]=void 0,i.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=r.length;t--;)r[t]=r[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var r=e[t];r&&r.destroy&&(e[t]=r.destroy())})),o&&(o.innerHTML=p.emptyHTML,K(o),a&&R(o)),G(e,(function(t,r){delete e[r]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(H(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),B(t,"beforeRender"),c&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new c(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),B(this,"load"),B(this,"render"),D(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,r){var n,i=this;return t&&(e=Y(e,!0),B(i,"addSeries",{options:t},(function(){n=i.initSeries(t),i.isDirtyLegend=!0,i.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),B(i,"afterAddSeries",{series:n}),e&&i.redraw(r)}))),n},t.prototype.addAxis=function(t,e,r,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:r,animation:n})},t.prototype.addColorAxis=function(t,e,r){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:r})},t.prototype.createAxis=function(t,r){return t=new e(this,V(r.axis,{index:this[t].length,isX:"xAxis"===t})),Y(r.redraw,!0)&&this.redraw(r.animation),t},t.prototype.showLoading=function(t){var e=this,r=e.options,n=r.loading,i=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=T("span",{className:"highcharts-loading-inner"},null,o),C(e,"redraw",i)),o.className="highcharts-loading",p.setElementHTML(a,Y(t,r.lang.loading,"")),e.styledMode||(P(o,N(n.style,{zIndex:10})),P(a,n.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),m(o,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,i()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,r,n){var i,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,u=[];B(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=A(t,a.options),a.userOptions=V(a.userOptions,t);var l=t.chart;if(l){if(V(!0,a.options.chart,l),"className"in l&&a.setClassName(l.className),"reflow"in l&&a.setReflow(l.reflow),"inverted"in l||"polar"in l||"type"in l){a.propFromSeries();var f=!0}"alignTicks"in l&&(f=!0),"events"in l&&y(this,l),G(l,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(i=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(c?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&l.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===E&&(this.time=new h(t.time)),V(!0,a.options.time,t.time)),G(t,(function(e,r){a[r]&&"function"===typeof a[r].update?a[r].update(e,!1):"function"===typeof a[s[r]]?a[s[r]](e):"colors"!==r&&-1===a.collectionsWithUpdate.indexOf(r)&&V(!0,a.options[r],t[r]),"chart"!==r&&-1!==a.propsRequireUpdateSeries.indexOf(r)&&(i=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var n=[];a[e].forEach((function(t,e){t.options.isInternal||n.push(Y(t.options.index,e))})),Z(t[e]).forEach((function(t,i){var o,s=D(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][n?n[i]:i])&&s&&D(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),r&&(o.touched=!0)),!o&&r&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),r&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:u.push(t)}))}})),u.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),f&&a.axes.forEach((function(t){t.update({},!1)})),i&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),f=l&&l.width,l=l&&(q(l.height)?$(l.height,f||a.chartWidth):l.height),o||U(f)&&f!==a.chartWidth||U(l)&&l!==a.chartHeight?a.setSize(f,l,n):Y(e,!0)&&a.redraw(n),B(a,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,r=k.lang,n=e.options.chart.resetZoomButton,i=n.theme,o=i.states,a="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";B(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(r.resetZoom,null,null,t,i,o&&o.hover).attr({align:n.position.align,title:r.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,a)})),B(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){B(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,r=this,n=r.pointer,i=r.inverted?n.mouseDownX:n.mouseDownY,o=!1;!t||t.resetSelection?(r.axes.forEach((function(t){e=t.zoom()})),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=r.inverted?a.left:a.top,c=r.inverted?s+a.width:s+a.height,u=a.isXAxis,l=!1;(!u&&i>=s&&i<=c||u||!D(i))&&(l=!0),n[u?"zoomX":"zoomY"]&&l&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))}));var a=r.resetZoomButton;o&&!a?r.showResetZoom():!o&&W(a)&&(r.resetZoomButton=a.destroy()),e&&r.redraw(Y(r.options.chart.animation,t&&t.animation,100>r.pointCount))},t.prototype.pan=function(t,e){var r=this,n=r.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var i=r.options.chart,o=r.options.mapNavigation&&r.options.mapNavigation.enabled;i&&i.panning&&(i.panning=e);var a,s=e.type;B(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=r.xAxis;"xy"===s?e=e.concat(r.yAxis):"y"===s&&(e=r.yAxis);var i={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,c=t[n?"chartX":"chartY"],u=r[n=n?"mouseDownX":"mouseDownY"],l=e.minPointOffset||0,f=e.reversed&&!r.inverted||!e.reversed&&r.inverted?-1:1,h=e.getExtremes(),d=e.toValue(u-c,!0)+l*f,p=e.toValue(u+e.len-c,!0)-(l*f||e.isXAxis&&e.pointRangePadding||0),m=p<d;f=e.hasVerticalPanning(),u=m?p:d,d=m?d:p;var b=e.panningState;!f||e.isXAxis||b&&!b.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),b||(b={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),U(e.dataMin)&&U(e.dataMax)&&(b.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,b.startMin),b.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,b.startMax))})),f=Math.min(Y(b&&b.startMin,h.dataMin),l?h.min:e.toValue(e.toPixels(h.min)-e.minPixelPadding)),p=Math.max(Y(b&&b.startMax,h.dataMax),l?h.max:e.toValue(e.toPixels(h.max)+e.minPixelPadding)),e.panningState=b,e.isOrdinal||(0<(l=f-u)&&(d+=l,u=f),0<(l=d-p)&&(d=p,u-=l),e.series.length&&u!==h.min&&d!==h.max&&u>=f&&d<=p&&(e.setExtremes(u,d,!1,!1,{trigger:"pan"}),r.resetZoomButton||o||u===f||d===p||!s.match("y")||(r.showResetZoom(),e.displayBtn=!1),a=!0),i[n]=c)}})),G(i,(function(t,e){r[e]=t})),a&&r.redraw(!1),P(r.container,{cursor:"move"})}))},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(r,"Core/Legend/LegendSymbol.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.merge,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,i=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,c=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var u={},l=e.marker;this.chart.styledMode||(u={"stroke-width":e.lineWidth||0},e.dashStyle&&(u.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",i,t]]).addClass("highcharts-graph").attr(u).add(c),l&&!1!==l.enabled&&i&&(e=Math.min(n(l.radius,a),a),0===this.symbol.indexOf("url")&&(l=r(l,{width:o,height:o}),e=0),this.legendSymbol=i=s.symbol(this.symbol,i/2-e,t-e,2*e,2*e,l).addClass("highcharts-point").add(c),i.isMarker=!0)},t.drawRectangle=function(t,e){var r=t.symbolHeight,i=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(i?(t.symbolWidth-r)/2:0,t.baseline-r+1,i?r:t.symbolWidth,r,n(t.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(r,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(r,"Core/Series/Series.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Point.js"],r["Core/Series/SeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c,u){var l=t.animObject,f=t.setAnimation,h=e.defaultOptions,d=r.registerEventOptions,p=n.hasTouch,m=n.svg,b=n.win,v=s.seriesTypes,g=u.addEvent,y=u.arrayMax,w=u.arrayMin,x=u.clamp,O=u.cleanRecursively,_=u.correctFloat,S=u.defined,k=u.erase,E=u.error,M=u.extend,C=u.find,j=u.fireEvent,A=u.getNestedProperty,T=u.isArray,P=u.isNumber,D=u.isString,R=u.merge,L=u.objectEach,I=u.pick,N=u.removeEvent,F=u.splat,B=u.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){j(this,"init",{options:e});var r=this,n=t.series;this.eventsToUnbind=[],r.chart=t,r.options=r.setOptions(e),e=r.options,r.linkedSeries=[],r.bindAxes(),M(r,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),d(this,e);var i,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(i=n[n.length-1]),r._i=I(i&&i._i,-1)+1,r.opacity=r.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(e.data,!1),j(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,r=this.options.index;if(P(r)){for(e=t.length;e--;)if(r>=I(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return I(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,r=e.options,n=e.chart;j(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(i){var o=0;n[i].forEach((function(n){t=n.options,(r[i]===o&&!t.isInternal||"undefined"!==typeof r[i]&&r[i]===t.id||"undefined"===typeof r[i]&&0===t.index)&&(e.insert(n.series),e[i]=n,n.isDirty=!0),t.isInternal||o++})),e[i]||e.optionalAxis===i||E(18,!0,n)}))})),j(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var r=t.series,n=arguments,i=P(e)?function(n){var i="y"===n&&r.toYData?r.toYData(t):t[n];r[n+"Data"][e]=i}:function(t){Array.prototype[e].apply(r[t+"Data"],Array.prototype.slice.call(n,2))};r.parallelArrays.forEach(i)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,r=this.options,n=r.pointIntervalUnit,i=r.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=I(a,r.pointStart,0),this.pointInterval=e=I(this.pointInterval,r.pointInterval,1),i&&P(t)&&(e*=t),n&&(r=new o.Date(a),"day"===n?o.set("Date",r,o.get("Date",r)+e):"month"===n?o.set("Month",r,o.get("Month",r)+e):"year"===n&&o.set("FullYear",r,o.get("FullYear",r)+e),e=r.getTime()-a),i&&P(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;M(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,r=e.options,n=r.plotOptions,i=e.userOptions||{};t=R(t),e=e.styledMode;var o={plotOptions:n,userOptions:t};j(this,"setOptions",o);var a=o.plotOptions[this.type],s=i.plotOptions||{};return this.userOptions=o.userOptions,i=R(a,n.series,i.plotOptions&&i.plotOptions[this.type],t),this.tooltipOptions=R(h.tooltip,h.plotOptions.series&&h.plotOptions.series.tooltip,h.plotOptions[this.type].tooltip,r.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=I(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||i.stickyTracking),null===a.marker&&delete i.marker,this.zoneAxis=i.zoneAxis,n=this.zones=(i.zones||[]).slice(),!i.negativeColor&&!i.negativeFillColor||i.zones||(r={value:i[this.zoneAxis+"Threshold"]||i.threshold||0,className:"highcharts-negative"},e||(r.color=i.negativeColor,r.fillColor=i.negativeFillColor),n.push(r)),n.length&&S(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),j(this,"afterSetOptions",{options:i}),i},t.prototype.getName=function(){return I(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,r){var n=this.chart,i=this.userOptions,o=t+"Index",a=t+"Counter",s=r?r.length:I(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var c=I(i[o],i["_"+o]);S(c)||(n.series.length||(n[a]=0),i["_"+o]=c=n[a]%s,n[a]+=1),r&&(e=r[c])}"undefined"!==typeof c&&(this[o]=c),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var r,n,i=t.id,a=t.x,s=this.points,c=this.options.dataSorting;if(i)(c=this.chart.get(i))instanceof o&&(r=c);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(r=function(e){return!e.touched&&e.index===t.index},c&&c.matchByName?r=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(r=function(e){return!e.touched&&e.options.x===t.x}),!(r=C(s,r))))return;if(r){var u=r&&r.index;"undefined"!==typeof u&&(n=!0)}return"undefined"===typeof u&&P(a)&&(u=this.xData.indexOf(a,e)),-1!==u&&"undefined"!==typeof u&&this.cropped&&(u=u>=this.cropStart?u-this.cropStart:u),!n&&P(u)&&s[u]&&s[u].touched&&(u=void 0),u},t.prototype.updateData=function(t,e){var r,n,i,o=this.options,a=o.dataSorting,s=this.points,c=[],u=this.requireSorting,l=t.length===s.length,f=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=S(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},f=n.x;n.id||P(f)?(-1===(n=this.findPointIndex(n,i))||"undefined"===typeof n?c.push(t):s[n]&&t!==o.data[n]?(s[n].update(t,!1,null,!1),s[n].touched=!0,u&&(i=n+1)):s[n]&&(s[n].touched=!0),(!l||e!==n||a&&a.enabled||this.hasDerivedData)&&(r=!0)):c.push(t)}),this),r)for(t=s.length;t--;)(n=s[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!l||a&&a.enabled?f=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),c.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!f&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,r,n){var i=this,o=i.points,a=o&&o.length||0,s=i.options,c=i.chart,u=s.dataSorting,l=i.xAxis,f=s.turboThreshold,h=this.xData,d=this.yData,p=i.pointArrayMap;p=p&&p.length;var m,b=s.keys,v=0,g=1,y=null,w=(t=t||[]).length;if(e=I(e,!0),u&&u.enabled&&(t=this.sortData(t)),!1!==n&&w&&a&&!i.cropped&&!i.hasGroupedData&&i.visible&&!i.isSeriesBoosting&&(m=this.updateData(t,r)),!m){if(i.xIncrement=null,i.colorCounter=0,this.parallelArrays.forEach((function(t){i[t+"Data"].length=0})),f&&w>f)if(y=i.getFirstValidPoint(t),P(y))for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else if(T(y))if(p)if(y.length===p)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else for(r=0;r<w;r++)n=t[r],h[r]=n[0],d[r]=n.slice(1,p+1);else if(b&&(v=0<=(v=b.indexOf("x"))?v:0,g=0<=(g=b.indexOf("y"))?g:1),1===y.length&&(g=0),v===g)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r][g];else for(r=0;r<w;r++)n=t[r],h[r]=n[v],d[r]=n[g];else E(12,!1,c);else for(r=0;r<w;r++)"undefined"!==typeof t[r]&&(n={series:i},i.pointClass.prototype.applyOptions.apply(n,[t[r]]),i.updateParallelArrays(n,r));for(d&&D(d[0])&&E(14,!0,c),i.data=[],i.options.data=i.userOptions.data=t,r=a;r--;)o[r]&&o[r].destroy&&o[r].destroy();l&&(l.minRange=l.userMinRange),i.isDirty=c.isDirtyBox=!0,i.isDirtyData=!!o,r=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&c.redraw(r)},t.prototype.sortData=function(t){var e=this,r=e.options.dataSorting.sortKey||"y",n=function(t,e){return S(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(r,i){t[i]=n(e,r),t[i].index=i}),this),t.concat().sort((function(t,e){return t=A(r,t),(e=A(r,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var r=e.options,i=r.data;r.dataSorting&&r.dataSorting.enabled||!i||(i.forEach((function(r,o){i[o]=n(e,r),t[o]&&(i[o].x=t[o].x,i[o].index=o)})),e.setData(i,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,r=this.options,n=r.cropThreshold,i=t||this.getExtremesFromAll||r.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,r=!(!e||!e.logarithmic);var a=0,s=this.xData,c=this.yData,u=this.requireSorting,l=!1,f=s.length;if(e){var h=(l=e.getExtremes()).min,d=l.max;l=e.categories&&!e.names.length}if(o&&this.sorted&&!i&&(!n||f>n||this.forceCrop))if(s[f-1]<h||s[0]>d)s=[],c=[];else if(this.yData&&(s[0]<h||s[f-1]>d)){var p=this.cropData(this.xData,this.yData,h,d);s=p.xData,c=p.yData,a=p.start,p=!0}for(n=s.length||1;--n;)if(0<(e=r?t(s[n])-t(s[n-1]):s[n]-s[n-1])&&("undefined"===typeof m||e<m))var m=e;else 0>e&&u&&!l&&(E(15,!1,this.chart),u=!1);return{xData:s,yData:c,cropped:p,cropStart:a,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,j(this,"afterProcessData")},t.prototype.cropData=function(t,e,r,n,i){var o,a=t.length,s=0,c=a;for(i=I(i,this.cropShoulder),o=0;o<a;o++)if(t[o]>=r){s=Math.max(0,o-i);break}for(r=o;r<a;r++)if(t[r]>n){c=r+i;break}return{xData:t.slice(s,c),yData:e.slice(s,c),start:s,end:c}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,r=this.processedXData,n=this.processedYData,i=this.pointClass,o=r.length,a=this.cropStart||0,s=this.hasGroupedData,c=t.keys,u=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var l,f,h=this.data;if(!h&&!s){var d=[];d.length=e.length,h=this.data=d}for(c&&s&&(this.options.keys=!1),f=0;f<o;f++){if(d=a+f,s){var p=(new i).init(this,[r[f]].concat(F(n[f])));p.dataGroup=this.groupMap[t+f],p.dataGroup.options&&(p.options=p.dataGroup.options,M(p,p.dataGroup.options),delete p.dataLabels)}else(p=h[d])||"undefined"===typeof e[d]||(h[d]=p=(new i).init(this,e[d],r[f]));p&&(p.index=s?t+f:d,u[f]=p)}if(this.options.keys=c,h&&(o!==(l=h.length)||s))for(f=0;f<l;f++)f!==a||s||(f+=o),h[f]&&(h[f].destroyElements(),h[f].plotX=void 0);this.data=h,this.points=u,j(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:w(t),max:y(t)}},t.prototype.getExtremes=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;n=!!n&&n.positiveValuesOnly;var s,c=0,u=0,l=0,f=(t=t||this.stackedYData||this.processedYData||[]).length;if(r){var h=r.getExtremes();c=h.min,u=h.max}for(s=0;s<f;s++){var d=i[s];h=t[s];var p=(P(h)||T(h))&&(h.length||0<h||!n);if(d=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!r||(i[s+a]||d)>=c&&(i[s-a]||d)<=u,p&&d)if(p=h.length)for(;p--;)P(h[p])&&(o[l++]=h[p]);else o[l++]=h}return t={activeYData:o,dataMin:w(o),dataMax:y(o)},j(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,r=0,n=null;null===n&&r<e;)n=t[r],r++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,r=this.options,n=r.stacking,i=this.xAxis,o=i.categories,a=this.enabledDataSorting,s=this.yAxis,c=this.points,u=c.length,l=this.pointPlacementToXValue(),f=!!l,h=r.threshold,d=r.startFromThreshold?h:0,p=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<u;t++){var b=c[t],v=b.x,g=void 0,y=void 0,w=b.y,O=b.low,k=n&&s.stacking&&s.stacking.stacks[(this.negStacks&&w<(d?0:h)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(w)||i.positiveValuesOnly&&!i.validatePositiveValue(v))&&(b.isNull=!0),b.plotX=e=_(x(i.translate(v,0,0,0,1,l,"flags"===this.type),-1e5,1e5)),n&&this.visible&&k&&k[v]){var E=this.getStackIndicator(E,v,this.index);b.isNull||(y=(g=k[v]).points[E.key])}if(T(y)&&(O=y[0],w=y[1],O===d&&E.key===k[v].base&&(O=I(P(h)&&h,s.min)),s.positiveValuesOnly&&0>=O&&(O=null),b.total=b.stackTotal=g.total,b.percentage=g.total&&b.y/g.total*100,b.stackY=w,this.irregularWidths||g.setOffset(this.pointXOffset||0,this.barW||0)),b.yBottom=S(O)?x(s.translate(O,0,1,0,1),-1e5,1e5):null,this.dataModify&&(w=this.dataModify.modifyValue(w,t)),b.plotY=void 0,P(w)&&("undefined"!==typeof(g=s.translate(w,!1,!0,!1,!0))&&(b.plotY=x(g,-1e5,1e5))),b.isInside=this.isPointInside(b),b.clientX=f?_(i.translate(v,0,0,0,1,l)):e,b.negative=b[p]<(r[p+"Threshold"]||h||0),b.category=o&&"undefined"!==typeof o[b.x]?o[b.x]:b.x,!b.isNull&&!1!==b.visible){"undefined"!==typeof M&&(m=Math.min(m,Math.abs(e-M)));var M=e}b.zone=this.zones.length?b.getZone():void 0,!b.graphic&&this.group&&a&&(b.isNew=!0)}this.closestPointRangePx=m,j(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,r){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(r||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis,n=R(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),r&&r.len!==t.plotSizeY&&(n.height=r.len),n},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,r=this.markerGroup,n=t.sharedClips;t=t.renderer;var i=this.getClipBox(),o=this.getSharedClipKey(),a=n[o];a?a.animate(i):n[o]=a=t.clipRect(i),e&&e.clip(!1===this.options.clip?void 0:a),r&&r.clip()},t.prototype.animate=function(t){var e=this.chart,r=this.group,n=this.markerGroup,i=e.inverted,o=l(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],c=e.sharedClips[a+"m"];if(t&&r)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,i&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,c=e.renderer.clipRect({x:i?(e.plotSizeX||0)+99:-99,y:i?-e.plotLeft:-e.plotTop,width:99,height:i?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=c),r.clip(s),n&&n.clip(c);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var u=o.step;n&&n.element.childNodes.length&&(o.step=function(t,e){u&&u.apply(e,arguments),c&&c.element&&c.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,r,n){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete n[r])})),this.finishedAnimating=!0,j(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,r=this.points,n=this.chart,i=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=I(i.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(t=0;t<r.length;t++){var c=r[t],u=(e=c.graphic)?"animate":"attr",l=c.marker||{},f=!!c.marker;if((s&&"undefined"===typeof l.enabled||l.enabled)&&!c.isNull&&!1!==c.visible){var h=I(l.symbol,this.symbol,"rect"),d=this.markerAttribs(c,c.selected&&"select");this.enabledDataSorting&&(c.startXPos=a.reversed?-(d.width||0):a.width);var p=!1!==c.isInside;e?e[p?"show":"hide"](p).animate(d):p&&(0<(d.width||0)||c.hasImage)&&(c.graphic=e=n.renderer.symbol(h,d.x,d.y,d.width,d.height,f?l:i).add(o),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:c.startXPos}),u="animate")),e&&"animate"===u&&e[p?"show":"hide"](p).animate(d),e&&!n.styledMode&&e[u](this.pointAttribs(c,c.selected&&"select")),e&&e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var r=this.options,n=r.marker,i=t.marker||{},o=i.symbol||n.symbol,a=I(i.radius,n.radius);return e&&(n=n.states[e],e=i.states&&i.states[e],a=I(e&&e.radius,n&&n.radius,a+(n&&n.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(a=0),t={x:r.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var r=this.options.marker,n=t&&t.options,i=n&&n.marker||{},o=n&&n.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,c=this.color;return t=I(i.lineWidth,r.lineWidth),n=1,c=o||s||a||c,o=i.fillColor||r.fillColor||c,a=i.lineColor||r.lineColor||c,e=e||"normal",r=r.states[e]||{},e=i.states&&i.states[e]||{},t=I(e.lineWidth,r.lineWidth,t+I(e.lineWidthPlus,r.lineWidthPlus,0)),o=e.fillColor||r.fillColor||o,{stroke:a=e.lineColor||r.lineColor||a,"stroke-width":t,fill:o,opacity:n=I(e.opacity,r.opacity,n)}},t.prototype.destroy=function(t){var e,r,n,i=this,o=i.chart,a=/AppleWebKit\/533/.test(b.navigator.userAgent),s=i.data||[];for(j(i,"destroy"),this.removeEvents(t),(i.axisTypes||[]).forEach((function(t){(n=i[t])&&n.series&&(k(n.series,i),n.isDirty=n.forceRedraw=!0)})),i.legendItem&&i.chart.legend.destroyItem(i),e=s.length;e--;)(r=s[e])&&r.destroy&&r.destroy();i.clips&&i.clips.forEach((function(t){return t.destroy()})),u.clearTimeout(i.animationTimeout),L(i,(function(t,e){t instanceof c&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===i&&(o.hoverSeries=void 0),k(o.series,i),o.orderSeries(),L(i,(function(e,r){t&&"hcEvents"===r||delete i[r]}))},t.prototype.applyZones=function(){var t,e,r,n,i,o,a,s,c=this,u=this.chart,l=u.renderer,f=this.zones,h=this.clips||[],d=this.graph,p=this.area,m=Math.max(u.chartWidth,u.chartHeight),b=this[(this.zoneAxis||"y")+"Axis"],v=u.inverted,g=!1;if(f.length&&(d||p)&&b&&"undefined"!==typeof b.min){var y=b.reversed,w=b.horiz;d&&!this.showLine&&d.hide(),p&&p.hide();var O=b.getExtremes();f.forEach((function(f,_){t=y?w?u.plotWidth:0:w?0:b.toPixels(O.min)||0,t=x(I(e,t),0,m),e=x(Math.round(b.toPixels(I(f.value,O.max),!0)||0),0,m),g&&(t=e=b.toPixels(O.max)),n=Math.abs(t-e),i=Math.min(t,e),o=Math.max(t,e),b.isXAxis?(r={x:v?o:i,y:0,width:n,height:m},w||(r.x=u.plotHeight-r.x)):(r={x:0,y:v?o:i,width:m,height:n},w&&(r.y=u.plotWidth-r.y)),v&&l.isVML&&(r=b.isXAxis?{x:0,y:y?i:o,height:r.width,width:u.chartWidth}:{x:r.y-u.plotLeft-u.spacingBox.x,y:0,width:r.height,height:u.chartHeight}),h[_]?h[_].animate(r):h[_]=l.clipRect(r),a=c["zone-area-"+_],s=c["zone-graph-"+_],d&&s&&s.clip(h[_]),p&&a&&a.clip(h[_]),g=f.value>O.max,c.resetZones&&0===e&&(e=void 0)})),this.clips=h}else c.visible&&(d&&d.show(!0),p&&p.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){r[e]&&(n.renderer.isVML&&r[e].attr({width:r.yAxis.len,height:r.xAxis.len}),r[e].width=r.yAxis.len,r[e].height=r.xAxis.len,r[e].invert(!r.isRadialSeries&&t))}))}var r=this,n=r.chart;r.xAxis&&(r.eventsToUnbind.push(g(n,"resize",e)),e(),r.invertGroups=e)},t.prototype.plotGroup=function(t,e,r,n,i){var o=this[t],a=!o;return r={visibility:r,zIndex:n||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(r.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(r)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis;return t.inverted&&(e=r,r=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:r?r.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,r=t.options,n=l(r.animation),i=t.visible?"inherit":"hidden",o=r.zIndex,a=t.hasRendered,s=e.seriesGroup,c=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,j(this,"render");var u=t.plotGroup("group","series",i,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",i,o,s),!1!==r.clip&&t.setClip(),t.animate&&e&&t.animate(!0),u.inverted=!!I(t.invertible,t.isCartesian)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),t.animate&&e&&t.animate(),a||(e&&n.defer&&(e+=n.defer),t.animationTimeout=B((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,j(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,r=this.group,n=this.xAxis,i=this.yAxis;r&&(t.inverted&&r.attr({width:t.plotWidth,height:t.plotHeight}),r.animate({translateX:I(n&&n.left,t.plotLeft),translateY:I(i&&i.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?r.len-t.chartY+r.pos:t.chartX-r.pos,plotY:i?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,r=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,B((function(){e.kdTree=function t(r,n,i){var o=r&&r.length;if(o){var a=e.kdAxisArray[n%i];return r.sort((function(t,e){return t[a]-e[a]})),{point:r[o=Math.floor(o/2)],left:t(r.slice(0,o),n+1,i),right:t(r.slice(o+1),n+1,i)}}}(e.getValidPoints(null,!e.directTouch),r,r),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,r){var n=this,i=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<n.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(r),this.kdTree)return function t(e,r,s,c){var u=r.point,l=n.kdAxisArray[s%c],f=u,h=S(e[i])&&S(u[i])?Math.pow(e[i]-u[i],2):null,d=S(e[o])&&S(u[o])?Math.pow(e[o]-u[o],2):null;return d=(h||0)+(d||0),u.dist=S(d)?Math.sqrt(d):Number.MAX_VALUE,u.distX=S(h)?Math.sqrt(h):Number.MAX_VALUE,h=0>(l=e[l]-u[l])?"right":"left",r[d=0>l?"left":"right"]&&(f=(d=t(e,r[d],s+1,c))[a]<f[a]?d:u),r[h]&&Math.sqrt(l*l)<f[a]&&(f=(e=t(e,r[h],s+1,c))[a]<f[a]?e:f),f}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,r=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=r.reversed?-.5:.5),P(t)?t*(e||r.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,r=this.xAxis,n=this.yAxis;return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=(n?n.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(r?r.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,r=e.trackByArea,n=[].concat(r?t.areaPath:t.graphPath),i=t.chart,o=i.pointer,a=i.renderer,s=i.options.tooltip.snap,c=t.tracker,u=function(e){i.hoverSeries!==t&&t.onMouseOver()},l="rgba(192,192,192,"+(m?1e-4:.002)+")";c?c.attr({d:n}):t.graph&&(t.tracker=a.path(n).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(r?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),i.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l,fill:r?l:"none","stroke-width":t.graph.strokeWidth()+(r?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",u).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!i.styledMode&&t.css({cursor:e.cursor}),p)&&t.on("touchstart",u)}))),j(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,r,n,i){var o=this.options,a=this.data,s=this.chart,c=this.xAxis;c=c&&c.hasNames&&c.names;var u,l=o.data,f=this.xData;e=I(e,!0);var h={series:this};this.pointClass.prototype.applyOptions.apply(h,[t]);var d=h.x,p=f.length;if(this.requireSorting&&d<f[p-1])for(u=!0;p&&f[p-1]>d;)p--;this.updateParallelArrays(h,"splice",p,0,0),this.updateParallelArrays(h,p),c&&h.name&&(c[d]=h.name),l.splice(p,0,t),u&&(this.data.splice(p,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),r&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(h,"shift"),l.shift())),!1!==i&&j(this,"addPoint",{point:h}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(n)},t.prototype.removePoint=function(t,e,r){var n=this,i=n.data,o=i[t],a=n.points,s=n.chart,c=function(){a&&a.length===i.length&&a.splice(t,1),i.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(o||{series:n},"splice",t,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&s.redraw()};f(r,s),e=I(e,!0),o?o.firePointEvent("remove",null,c):c()},t.prototype.remove=function(t,e,r,n){function i(){o.destroy(n),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),I(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==r?j(o,"remove",null,i):i()},t.prototype.update=function(t,e){t=O(t,this.userOptions),j(this,"update",{options:t});var r,n=this,i=n.chart,o=n.userOptions,a=n.initialType||n.type,s=i.options.plotOptions,c=v[a].prototype,u=n.finishedAnimating&&{animation:!1},l={},f=["eventOptions","navigatorSeries","baseSeries"],h=t.type||o.type||i.options.chart.type,d=!(this.hasDerivedData||h&&h!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(h=h||a,d&&(f.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&f.push("area","graph"),n.parallelArrays.forEach((function(t){f.push(t+"Data")})),t.data&&(t.dataSorting&&M(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=R(o,u,{index:"undefined"===typeof o.index?n.index:o.index,pointStart:I(s&&s.series&&s.series.pointStart,o.pointStart,n.xData[0])},!d&&{data:n.options.data},t),d&&t.data&&(t.data=n.options.data),(f=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(f)).forEach((function(t){f[t]=n[t],delete n[t]})),s=!1,v[h]){if(s=h!==n.type,n.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[h].prototype);else{for(r in u=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,c)n[r]=void 0;M(n,v[h].prototype),u?n.hcEvents=u:delete n.hcEvents}}else E(17,!0,i,{missingModuleFor:h});if(f.forEach((function(t){n[t]=f[t]})),n.init(i,t),d&&this.points){var p=n.options;!1===p.visible?(l.graphic=1,l.dataLabel=1):n._hasPointLabels||(t=p.marker,c=p.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(l.graphic=1),c&&!1===c.enabled&&(l.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(l).length&&t.destroyElements(l),!1===p.showInLegend&&t.legendItem&&i.legend.destroyItem(t))}),this)}n.initialType=a,i.linkSeries(),s&&n.linkedSeries.length&&(n.isDirtyData=!0),j(this,"afterUpdate"),I(e,!0)&&i.redraw(!!d&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],r=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==I(r&&r[this.type]&&r[this.type][t],r&&r.series&&r.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&j(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,r=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&j(this,"mouseOut"),!r||this.stickyTracking||r.shared&&!this.noSharedTooltip||r.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var r=this,n=r.options,i=r.graph,o=n.inactiveOtherPoints,a=n.states,s=I(a[t||"normal"]&&a[t||"normal"].animation,r.chart.options.chart.animation),c=n.lineWidth,u=0,l=n.opacity;if(t=t||"",r.state!==t&&([r.group,r.markerGroup,r.dataLabelsGroup].forEach((function(e){e&&(r.state&&e.removeClass("highcharts-series-"+r.state),t&&e.addClass("highcharts-series-"+t))})),r.state=t,!r.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(c=a[t].lineWidth||c+(a[t].lineWidthPlus||0),l=I(a[t].opacity,l)),i&&!i.dashstyle)for(n={"stroke-width":c},i.animate(n,s);r["zone-graph-"+u];)r["zone-graph-"+u].animate(n,s),u+=1;o||[r.group,r.markerGroup,r.dataLabelsGroup,r.labelBySeries].forEach((function(t){t&&t.animate({opacity:l},s)}))}e&&o&&r.points&&r.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var r=this,n=r.chart,i=r.legendItem,o=n.options.chart.ignoreHiddenSeries,a=r.visible,s=(r.visible=t=r.options.visible=r.userOptions.visible="undefined"===typeof t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){r[t]&&r[t][s]()})),n.hoverSeries!==r&&(n.hoverPoint&&n.hoverPoint.series)!==r||r.onMouseOut(),i&&n.legend.colorizeItem(r,t),r.isDirty=!0,r.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),r.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(n.isDirtyBox=!0),j(r,s),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),j(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,r){return void 0===r&&(r={}),r.series=this,r.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,r)},t.defaultOptions=a,t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(r,"Extensions/ScrollablePlotArea.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.stop,s=o.addEvent,c=o.createElement,u=o.merge,l=o.pick;s(r,"afterSetChartSize",(function(t){var r=this.options.chart.scrollablePlotArea,n=r&&r.minWidth;if(r=r&&r.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var i={1:{name:"right",value:n}}}}else r&&(this.scrollablePixelsY=n=Math.max(0,r-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,i={2:{name:"bottom",value:n}});i&&!t.skipAxes&&this.axes.forEach((function(t){i[t.side]?t.getPlotLinePath=function(){var r=i[t.side].name,n=this[r];this[r]=n-i[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[r]=n,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(r,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),r.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=c("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=c("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=c("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},r.prototype.moveFixedElements=function(){var t,e=this.container,r=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===r.SVG_NS?r.box:r.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},r.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,r=e.scrollablePlotArea,n=i.getRendererType();t?(this.fixedDiv=c("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":l(r.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(r.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*r.scrollPositionX),r.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*r.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,r=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),u=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",r,0],["L",r,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",r,u],["L",r,this.chartHeight],["L",n,this.chartHeight],["L",n,u],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(r,"Core/Axis/StackingAxis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=r.addEvent,a=r.destroyObjectProperties,s=r.fireEvent,c=r.isNumber,u=r.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;u(e,(function(t,r){a(t),e[r]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function r(){this.stacking||(this.stacking=new l(this))}var n=[];t.compose=function(t){return-1===n.indexOf(t)&&(n.push(t),o(t,"init",r),o(t,"destroy",e)),t};var l=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,r=e.series,n=e.options.reversedStacks,i=r.length;if(!e.isXAxis){for(this.usePercentage=!1,t=i;t--;){var o=r[n?t:i-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<i;t++)r[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;u(t,(function(t){u(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||u(e,(function(e){u(e,(function(r,n){c(r.touched)&&r.touched<t.stacksTouched?(r.destroy(),delete e[n]):(r.total=null,r.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,r=e.renderer,n=this.stacks;t=i(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||r.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),u(n,(function(t){u(t,(function(t){t.render(o)}))})),o.animate({opacity:1},t)},t}();t.Additions=l}(n||(n={})),n})),e(r,"Extensions/Stacking.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Axis/StackingAxis.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=r.format,c=a.correctFloat,u=a.defined,l=a.destroyObjectProperties,f=a.isArray,h=a.isNumber,d=a.objectEach,p=a.pick,m=function(){function t(t,e,r,n,i){var o=t.chart.inverted;this.axis=t,this.isNegative=r,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=i,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?r?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":r?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?r?"right":"left":"center")}return t.prototype.destroy=function(){l(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,r=this.options,n=r.format;n=n?s(n,this,e):r.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,r.shape,null,null,r.useHTML,!1,"stack-labels"),n={r:r.borderRadius||0,text:n,rotation:r.rotation,padding:p(r.padding,5),visibility:"hidden"},e.styledMode||(n.fill=r.backgroundColor,n.stroke=r.borderColor,n["stroke-width"]=r.borderWidth,this.label.css(r.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,r,n,o){var a=this.axis,s=a.chart;n=a.translate(a.stacking.usePercentage?100:n||this.total,0,0,0,1),r=a.translate(r||0),r=u(n)&&Math.abs(n-r),t=p(o,s.xAxis[0].translate(this.x))+t,a=u(n)&&this.getStackBox(s,this,t,n,e,r,a),e=this.label,r=this.isNegative,t="justify"===p(this.options.overflow,"justify");var c=this.textAlign;e&&a&&(o=e.getBBox(),n=e.padding,c="left"===c?s.inverted?-n:n:"right"===c?o.width:s.inverted&&"center"===c?o.width/2:s.inverted?r?o.width+n:-n:o.width/2,r=s.inverted?o.height/2:r?-n:o.height,this.alignOptions.x=p(this.options.x,0),this.alignOptions.y=p(this.options.y,0),a.x-=c,a.y-=r,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+c-this.alignOptions.x,e.alignAttr.y+r-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&i.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),p(!t&&this.options.crop,!0)&&((s=h(e.x)&&h(e.y)&&s.isInsidePlot(e.x-n+e.width,e.y)&&s.isInsidePlot(e.x+n,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,r,n,i,o,a){var s=e.axis.reversed,c=t.inverted,u=a.height+a.pos-(c?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:c?e?n-a.right:n-o+a.pos-t.plotLeft:r+t.xAxis[0].transB-t.plotLeft,y:c?a.height-r-i:e?u-n-o:u-n,width:c?o:i,height:c?i:o}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(r){var n=r.xAxis&&r.xAxis.options||{};!r.options.stacking||!0!==r.visible&&!1!==t.options.chart.ignoreHiddenSeries||(r.stackKey=[r.type,p(r.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())}))},o.compose(t),i.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?i.prototype.setStackedPoints.call(this,"group"):t&&d(t.stacks,(function(e,r){"group"===r.slice(-5)&&(d(e,(function(t){return t.destroy()})),delete t.stacks[r])}))},i.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var r=this.processedXData,n=this.processedYData,i=[],o=n.length,a=this.options,s=a.threshold,l=p(a.startFromThreshold&&s,0);a=a.stack;var h,d,b="-"+(t=t?this.type+","+e:this.stackKey),v=this.negStacks,g=this.yAxis,y=g.stacking.stacks,w=g.stacking.oldStacks;for(g.stacking.stacksTouched+=1,d=0;d<o;d++){var x=r[d],O=n[d],_=this.getStackIndicator(_,x,this.index),S=_.key,k=(h=v&&O<(l?0:s))?b:t;y[k]||(y[k]={}),y[k][x]||(w[k]&&w[k][x]?(y[k][x]=w[k][x],y[k][x].total=null):y[k][x]=new m(g,g.options.stackLabels,h,x,a)),k=y[k][x],null!==O?(k.points[S]=k.points[this.index]=[p(k.cumulative,l)],u(k.cumulative)||(k.base=S),k.touched=g.stacking.stacksTouched,0<_.index&&!1===this.singleStacks&&(k.points[S][0]=k.points[this.index+","+x+",0"][0])):k.points[S]=k.points[this.index]=null,"percent"===e?(h=h?t:b,v&&y[h]&&y[h][x]?(h=y[h][x],k.total=h.total=Math.max(h.total,k.total)+Math.abs(O)||0):k.total=c(k.total+(Math.abs(O)||0))):"group"===e?(f(O)&&(O=O[0]),null!==O&&(k.total=(k.total||0)+1)):k.total=c(k.total+(O||0)),k.cumulative="group"===e?(k.total||1)-1:p(k.cumulative,l)+(O||0),null!==O&&(k.points[S].push(k.cumulative),i[d]=k.cumulative,k.hasValidPoints=!0)}"percent"===e&&(g.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=i),g.stacking.oldStacks={}}},i.prototype.modifyStacks=function(){var t,e=this,r=e.stackKey,n=e.yAxis.stacking.stacks,i=e.processedXData,o=e.options.stacking;e[o+"Stacker"]&&[r,"-"+r].forEach((function(r){for(var a,s,c=i.length;c--;)a=i[c],t=e.getStackIndicator(t,a,e.index,r),(s=(a=n[r]&&n[r][a])&&a.points[t.key])&&e[o+"Stacker"](s,a,c)}))},i.prototype.percentStacker=function(t,e,r){e=e.total?100/e.total:0,t[0]=c(t[0]*e),t[1]=c(t[1]*e),this.stackedYData[r]=t[1]},i.prototype.getStackIndicator=function(t,e,r,n){return!u(t)||t.x!==e||n&&t.key!==n?t={x:e,index:0,key:n}:t.index++,t.key=[r,e,t.index].join(),t},n.StackItem=m,n.StackItem})),e(r,"Series/Line/LineSeries.js",[r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.defined,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.prototype.drawGraph=function(){var t=this,e=this.options,r=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,i=[["graph","highcharts-graph"]];n||i[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(i=t.getZonesGraphs(i)).forEach((function(i,o){var a=i[0],s=t[a],c=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:r.xMap,s.animate({d:r})):r.length&&(t[a]=s=t.chart.renderer.path(r).addClass(i[1]).attr({zIndex:1}).add(t.group)),s&&!n&&(a={stroke:i[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},i[3]?a.dashstyle=i[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[c](a).shadow(2>o&&e.shadow)),s&&(s.startX=r.xMap,s.isArea=r.isArea)}))},r.prototype.getGraphPath=function(t,e,r){var n,o=this,a=o.options,s=[],c=[],u=a.step,l=(t=t||o.points).reversed;return l&&t.reverse(),(u={right:1,center:2}[u]||u&&3)&&l&&(u=4-u),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!r))).forEach((function(l,f){var h=l.plotX,d=l.plotY,p=t[f-1];(l.leftCliff||p&&p.rightCliff)&&!r&&(n=!0),l.isNull&&!i(e)&&0<f?n=!a.connectNulls:l.isNull&&!e?n=!0:(0===f||n?f=[["M",l.plotX,l.plotY]]:o.getPointSpline?f=[o.getPointSpline(t,l,f)]:u?(f=1===u?[["L",p.plotX,d]]:2===u?[["L",(p.plotX+h)/2,p.plotY],["L",(p.plotX+h)/2,d]]:[["L",h,p.plotY]]).push(["L",h,d]):f=[["L",h,d]],c.push(l.x),u&&(c.push(l.x),2===u&&c.push(l.x)),s.push.apply(s,f),n=!1)})),s.xMap=c,o.graphPath=s},r.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,r){r=["zone-graph-"+r,"highcharts-graph highcharts-zone-graph-"+r+" "+(e.className||"")],this.chart.styledMode||r.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(r)}),this),t},r.defaultOptions=o(t.defaultOptions,{}),r}(t),e.registerSeriesType("line",r),r})),e(r,"Series/Area/AreaSeries.js",[r["Core/Color/Color.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=t.parse,a=r.seriesTypes.line;t=n.extend;var s=n.merge,c=n.objectEach,u=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,r=this.areaPath,n=this.options,i=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(t,r){i.push(["zone-area-"+r,"highcharts-area highcharts-zone-area-"+r+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])})),i.forEach((function(t){var i=t[0],a=e[i],s=a?"animate":"attr",c={};a?(a.endX=e.preventGraphAnimation?null:r.xMap,a.animate({d:r})):(c.zIndex=0,(a=e[i]=e.chart.renderer.path(r).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(c.fill=u(t[3],o(t[2]).setOpacity(u(n.fillOpacity,.75)).get())),a[s](c),a.startX=r.xMap,a.shiftUnit=n.step?2:1}))},e.prototype.getGraphPath=function(t){var e,r=a.prototype.getGraphPath,n=this.options,i=n.stacking,o=this.yAxis,s=[],c=[],l=this.index,f=o.stacking.stacks[this.stackKey],h=n.threshold,d=Math.round(o.getThreshold(n.threshold));n=u(n.connectNulls,"percent"===i);var p=function(e,r,n){var a=t[e];e=i&&f[a.x].points[l];var u=a[n+"Null"]||0;if(n=a[n+"Cliff"]||0,a=!0,n||u){var p=(u?e[0]:e[1])+n,m=e[0]+n;a=!!u}else!i&&t[r]&&t[r].isNull&&(p=m=h);"undefined"!==typeof p&&(c.push({plotX:b,plotY:null===p?d:o.getThreshold(p),isNull:a,isCliff:!0}),s.push({plotX:b,plotY:null===m?d:o.getThreshold(m),doCurve:!1}))};for(t=t||this.points,i&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){i||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,b=u(t[e].rectPlotX,t[e].plotX),v=i?u(t[e].yBottom,d):d;m&&!n||(n||p(e,e-1,"left"),m&&!i&&n||(c.push(t[e]),s.push({x:e,plotX:b,plotY:v})),n||p(e,e+1,"right"))}return e=r.call(this,c,!0,!0),s.reversed=!0,(v=(m=r.call(this,s,!0,!0))[0])&&"M"===v[0]&&(m[0]=["L",v[1],v[2]]),(m=e.concat(m)).length&&m.push(["Z"]),r=r.call(this,c,!1,n),m.xMap=e.xMap,this.areaPath=m,r},e.prototype.getStackPoints=function(t){var e=this,r=[],n=[],i=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},l=o.series,f=l.length,h=o.options.reversedStacks?1:-1,d=l.indexOf(e);if(t=t||this.points,this.options.stacking){for(var p=0;p<t.length;p++)t[p].leftNull=t[p].rightNull=void 0,s[t[p].x]=t[p];c(a,(function(t,e){null!==t.total&&n.push(e)})),n.sort((function(t,e){return t-e}));var m=l.map((function(t){return t.visible}));n.forEach((function(t,c){var p,b,v=0;if(s[t]&&!s[t].isNull)r.push(s[t]),[-1,1].forEach((function(r){var i=1===r?"rightNull":"leftNull",o=0,u=a[n[c+r]];if(u)for(var v=d;0<=v&&v<f;){var g=l[v].index;(p=u.points[g])||(g===e.index?s[t][i]=!0:m[v]&&(b=a[t].points[g])&&(o-=b[1]-b[0])),v+=h}s[t][1===r?"rightCliff":"leftCliff"]=o}));else{for(var g=d;0<=g&&g<f;){if(p=a[t].points[l[g].index]){v=p[1];break}g+=h}v=u(v,0),v=o.translate(v,0,1,0,1),r.push({isNull:!0,plotX:i.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return r},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),r.registerSeriesType("area",n),n})),e(r,"Series/Spline/SplineSeries.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=t.seriesTypes.line,i=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getPointSpline=function(t,e,r){var n=e.plotX||0,i=e.plotY||0,a=t[r-1];if(r=t[r+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!e.isCliff){t=a.plotY||0;var s=r.plotX||0;r=r.plotY||0;var c=0,u=(1.5*n+(a.plotX||0))/2.5,l=(1.5*i+t)/2.5,f=(1.5*i+r)/2.5;(s=(1.5*n+s)/2.5)!==u&&(c=(f-l)*(s-n)/(s-u)+i-f),f+=c,(l+=c)>t&&l>i?f=2*i-(l=Math.max(t,i)):l<t&&l<i&&(f=2*i-(l=Math.min(t,i))),f>r&&f>i?l=2*i-(f=Math.max(r,i)):f<r&&f<i&&(l=2*i-(f=Math.min(r,i))),e.rightContX=s,e.rightContY=f}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(u,n,0),o(l,i,0),n,i],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=i(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e})),e(r,"Series/AreaSpline/AreaSplineSeries.js",[r["Series/Area/AreaSeries.js"],r["Series/Spline/SplineSeries.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.prototype,s=i.extend,c=i.merge;return s((i=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(n,r),n.defaultOptions=c(e.defaultOptions,t.defaultOptions),n}(e)).prototype,{getGraphPath:a.getGraphPath,getStackPoints:a.getStackPoints,drawGraph:a.drawGraph,drawLegendSymbol:r.drawRectangle}),n.registerSeriesType("areaspline",i),i})),e(r,"Series/Column/ColumnSeries.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),c=t.animObject,u=e.parse,l=r.hasTouch;t=r.noop;var f=a.clamp,h=a.css,d=a.defined,p=a.extend,m=a.fireEvent,b=a.isArray,v=a.isNumber,g=a.merge,y=a.pick,w=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,r=this.yAxis,n=e.options,i=this.chart.inverted,o={},a=i?"translateX":"translateY";if(t)o.scaleY=.001,t=f(r.toPixels(n.threshold),r.pos,r.pos+r.len),i?o.translateX=t-r.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},p(c(e.options.animation),{step:function(t,n){e.group&&(o[a]=s+n.pos*(r.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,r){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,r=t.xAxis,n=t.yAxis,i=r.options.reversedStacks;i=r.reversed&&!i||!r.reversed&&i;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var r=e.yAxis,i=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===r.len&&n.pos===r.pos){if(i.stacking&&"group"!==i.stacking){o=e.stackKey,"undefined"===typeof a[o]&&(a[o]=s++);var c=a[o]}else!1!==i.grouping&&(c=s++);e.columnIndex=c}}));var c=Math.min(Math.abs(r.transA)*(r.ordinal&&r.ordinal.slope||e.pointRange||r.closestPointRange||r.tickInterval||1),r.len),u=c*e.groupPadding,l=(c-2*u)/(s||1);return e=Math.min(e.maxPointWidth||r.len,y(e.pointWidth,l*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(l-e)/2+(u+((t.columnIndex||0)+(i?1:0))*l-c/2)*(i?-1:1),paddedWidth:l,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,r,n){var i=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,i.inverted&&i.renderer.isVML&&(o+=1),this.options.crisp&&(r=Math.round(t+r)+a,r-=t=Math.round(t)+a),n=Math.round(e+n)+o,a=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+o,a&&n&&(--e,n+=1),{x:t,y:e,width:r,height:n}},e.prototype.adjustForMissingColumns=function(t,e,r,n){var i=this,o=this.options.stacking;if(!r.isNull&&1<n.columnCount){var a=0,s=0;w(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof r.x&&(t=t[r.x.toString()])){var e=t.points[i.index],n=t.total;o?(e&&(a=s),t.hasValidPoints&&s++):b(e)&&(a=e[1],s=n||0)}})),t=(r.plotX||0)+((s-1)*n.paddedWidth+e)/2-e-a*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,r=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=y(r.borderWidth,n?0:1);var o=t.xAxis,a=t.yAxis,s=r.threshold,c=t.translatedThreshold=a.getThreshold(s),u=y(r.minPointLength,5),l=t.getColumnMetrics(),h=l.width,p=t.pointXOffset=l.offset,m=t.dataMin,b=t.dataMax,g=t.barW=Math.max(h,1+2*n);e.inverted&&(c-=.5),r.pointPadding&&(g=Math.ceil(g)),i.prototype.translate.apply(t),t.points.forEach((function(n){var i=y(n.yBottom,c),w=999+Math.abs(i),x=n.plotX||0;w=f(n.plotY,-w,a.len+w);var O=Math.min(w,i),_=Math.max(w,i)-O,S=h,k=x+p,E=g;u&&Math.abs(_)<u&&(_=u,x=!a.reversed&&!n.negative||a.reversed&&n.negative,v(s)&&v(b)&&n.y===s&&b<=s&&(a.min||0)<s&&(m!==b||(a.max||0)<=s)&&(x=!x),O=Math.abs(O-c)>u?i-u:c-(x?u:0)),d(n.options.pointWidth)&&(S=E=Math.ceil(n.options.pointWidth),k-=Math.round((S-h)/2)),r.centerInCategory&&(k=t.adjustForMissingColumns(k,S,n,l)),n.barX=k,n.pointWidth=S,n.tooltipPos=e.inverted?[f(a.len+a.pos-e.plotLeft-w,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-k-E/2,_]:[o.left-e.plotLeft+k+E/2,f(w+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),_],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[k,c,E,0]:[k,O,E,_])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var r=this.options,n=this.pointAttrToOptions||{},i=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[i]||r[i]||a;n=t&&t.options.dashStyle||r.dashStyle;var c=t&&t[o]||r[o]||this[o]||0,l=y(t&&t.opacity,r.opacity,1);if(t&&this.zones.length){var f=t.getZone();a=t.options.color||f&&(f.color||t.nonZonedColor)||this.color,f&&(s=f.borderColor||s,n=f.dashStyle||n,c=f.borderWidth||c)}return e&&t&&(e=(t=g(r.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||"undefined"!==typeof e&&u(a).brighten(t.brightness).get()||a,s=t[i]||s,c=t[o]||c,n=t.dashStyle||n,l=y(t.opacity,l)),i={fill:a,stroke:s,"stroke-width":c,opacity:l},n&&(i.dashstyle=n),i},e.prototype.drawPoints=function(){var t,e=this,r=this.chart,n=e.options,i=r.renderer,o=n.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,c=!!s,u=s&&r.pointCount<o?"animate":"attr";v(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=i[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&r.hasRendered&&r.pointCount<o&&(s.attr({x:a.startXPos}),c=!0,u="animate"),s&&c&&s[u](g(t)),n.borderRadius&&s[u]({r:n.borderRadius}),r.styledMode||s[u](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,r=e.chart,n=r.pointer,i=function(t){var e=n.getPointFromEvent(t);"undefined"!==typeof e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=b(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",i).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),l&&e[t].on("touchstart",i),!r.styledMode&&e.options.cursor&&e[t].css(h).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),i.prototype.remove.apply(t,arguments)},e.defaultOptions=g(i.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(i),p(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",a),a})),e(r,"Core/Series/DataLabel.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=e.format,a=r.defined,s=r.extend,c=r.fireEvent,u=r.isArray,l=r.merge,f=r.objectEach,h=r.pick,d=r.splat;return function(t){function e(t,e,r,n,i){var o=this,a=this.chart,c=this.isCartesian&&a.inverted,u=this.enabledDataSorting,l=h(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),f=h(t.plotY,-9999),d=e.getBBox(),p=r.rotation,m=r.align,b=a.isInsidePlot(l,Math.round(f),{inverted:c,paneCoordinates:!0,series:o}),v=function(r){u&&o.xAxis&&!g&&o.setDataLabelStartPos(t,e,i,b,r)},g="justify"===h(r.overflow,u?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||u&&!g||b||h(r.inside,!!this.options.stacking)&&n&&a.isInsidePlot(l,c?n.x+1:n.y+n.height-1,{inverted:c,paneCoordinates:!0,series:o}));if(y){var w=a.renderer.fontMetrics(a.styledMode?void 0:r.style.fontSize,e).b;n=s({x:c?this.yAxis.len-f:l,y:Math.round(c?this.xAxis.len-l:f),width:0,height:0},n),s(r,{width:d.width,height:d.height}),p?(g=!1,l=a.renderer.rotCorr(w,p),v(l={x:n.x+(r.x||0)+n.width/2+l.x,y:n.y+(r.y||0)+{top:0,middle:.5,bottom:1}[r.verticalAlign]*n.height}),e[i?"attr":"animate"](l).attr({align:m}),v=180<(v=(p+720)%360)&&360>v,"left"===m?l.y-=v?d.height:0:"center"===m?(l.x-=d.width/2,l.y-=d.height/2):"right"===m&&(l.x-=d.width,l.y-=v?0:d.height),e.placed=!0,e.alignAttr=l):(v(n),e.align(r,void 0,n),l=e.alignAttr),g&&0<=n.height?this.justifyDataLabel(e,r,l,d,n,i):h(r.crop,!0)&&(y=a.isInsidePlot(l.x,l.y,{paneCoordinates:!0,series:o})&&a.isInsidePlot(l.x+d.width,l.y+d.height,{paneCoordinates:!0,series:o})),r.shape&&!p&&e[i?"attr":"animate"]({anchorX:c?a.plotWidth-t.plotY:t.plotX,anchorY:c?a.plotHeight-t.plotX:t.plotY})}i&&u&&(e.placed=!1),y||u&&!g||(e.hide(!0),e.placed=!1)}function r(){var t=this,e=t.chart,r=t.options,n=t.points,s=t.hasRendered||0,l=e.renderer,m=r.dataLabels,b=m.animation;if(b=m.defer?i(e,b,t):{defer:0,duration:0},m=p(p(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),m),c(this,"drawDataLabels"),u(m)||m.enabled||t._hasPointLabels){var v=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",m.zIndex||6);v.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&v.show(!0),s[r.animation?"animate":"attr"]({opacity:1},b)),n.forEach((function(n){d(p(m,n.dlOptions||n.options&&n.options.dataLabels)).forEach((function(i,s){var c=i.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(t,e){var r=e.filter;return!r||(e=r.operator,t=t[r.property],r=r.value,">"===e&&t>r||"<"===e&&t<r||">="===e&&t>=r||"<="===e&&t<=r||"=="===e&&t==r||"==="===e&&t===r)}(n,i),u=n.connectors?n.connectors[s]:n.connector,d=n.dataLabels?n.dataLabels[s]:n.dataLabel,p=h(i.distance,n.labelDistance),m=!d;if(c){var b=n.getLabelConfig(),g=h(i[n.formatPrefix+"Format"],i.format);b=a(g)?o(g,b,e):(i[n.formatPrefix+"Formatter"]||i.formatter).call(b,i),g=i.style;var y=i.rotation;e.styledMode||(g.color=h(i.color,g.color,t.color,"#000000"),"contrast"===g.color?(n.contrastColor=l.getContrast(n.color||t.color),g.color=!a(p)&&i.inside||0>p||r.stacking?n.contrastColor:"#000000"):delete n.contrastColor,r.cursor&&(g.cursor=r.cursor));var w={r:i.borderRadius||0,rotation:y,padding:i.padding,zIndex:1};e.styledMode||(w.fill=i.backgroundColor,w.stroke=i.borderColor,w["stroke-width"]=i.borderWidth),f(w,(function(t,e){"undefined"===typeof t&&delete w[e]}))}!d||c&&a(b)&&!!d.div===!!i.useHTML||(n.dataLabel=d=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[s]),s||delete n.dataLabel,u&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[s]))),c&&a(b)&&(d?w.text=b:(n.dataLabels=n.dataLabels||[],d=n.dataLabels[s]=y?l.text(b,0,-9999,i.useHTML).addClass("highcharts-data-label"):l.label(b,0,-9999,i.shape,null,null,i.useHTML,null,"data-label"),s||(n.dataLabel=d),d.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(i.className||"")+(i.useHTML?" highcharts-tracker":""))),d.options=i,d.attr(w),e.styledMode||d.css(g).shadow(i.shadow),d.added||d.add(v),i.textPath&&!i.useHTML&&(d.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(d)||n.graphic,i.textPath),n.dataLabelPath&&!i.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),t.alignDataLabel(n,d,i,null,m))}))}))}c(this,"afterDrawDataLabels")}function n(t,e,r,n,i,o){var a=this.chart,s=e.align,c=e.verticalAlign,u=t.box?0:t.padding||0,l=e.x;l=void 0===l?0:l;var f=e.y;f=void 0===f?0:f;var h=(r.x||0)+u;if(0>h){"right"===s&&0<=l?(e.align="left",e.inside=!0):l-=h;var d=!0}return(h=(r.x||0)+n.width-u)>a.plotWidth&&("left"===s&&0>=l?(e.align="right",e.inside=!0):l+=a.plotWidth-h,d=!0),0>(h=r.y+u)&&("bottom"===c&&0<=f?(e.verticalAlign="top",e.inside=!0):f-=h,d=!0),(h=(r.y||0)+n.height-u)>a.plotHeight&&("top"===c&&0>=f?(e.verticalAlign="bottom",e.inside=!0):f+=a.plotHeight-h,d=!0),d&&(e.x=l,e.y=f,t.placed=!o,t.align(e,void 0,i)),d}function p(t,e){var r,n=[];if(u(t)&&!u(e))n=t.map((function(t){return l(t,e)}));else if(u(e)&&!u(t))n=e.map((function(e){return l(t,e)}));else if(u(t)||u(e))for(r=Math.max(t.length,e.length);r--;)n[r]=l(t[r],e[r]);else n=l(t,e);return n}function m(t,e,r,n,i){var o=this.chart,a=o.inverted,s=this.xAxis,c=s.reversed,u=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?i.x:c?-u-t:s.width-u+t,e.startYPos=a?c?this.yAxis.height-u+t:-u-t:i.y,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(r&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var b=[];t.compose=function(t){if(-1===b.indexOf(t)){var i=t.prototype;b.push(t),i.alignDataLabel=e,i.drawDataLabels=r,i.justifyDataLabel=n,i.setDataLabelStartPos=m}}}(n||(n={})),n})),e(r,"Series/Column/ColumnDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=e.series,o=r.merge,a=r.pick;return function(e){function r(t,e,r,n,s){var c=this.chart.inverted,u=t.series,l=(u.xAxis?u.xAxis.len:this.chart.plotSizeX)||0;u=(u.yAxis?u.yAxis.len:this.chart.plotSizeY)||0;var f=t.dlBox||t.shapeArgs,h=a(t.below,t.plotY>a(this.translatedThreshold,u)),d=a(r.inside,!!this.options.stacking);f&&(0>(n=o(f)).y&&(n.height+=n.y,n.y=0),0<(f=n.y+n.height-u)&&f<n.height&&(n.height-=f),c&&(n={x:u-n.y-n.height,y:l-n.x-n.width,width:n.height,height:n.width}),d||(c?(n.x+=h?0:n.width,n.width=0):(n.y+=h?n.height:0,n.height=0))),r.align=a(r.align,!c||d?"center":h?"right":"left"),r.verticalAlign=a(r.verticalAlign,c||d?"middle":h?"top":"bottom"),i.prototype.alignDataLabel.call(this,t,e,r,n,s),r.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(i),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=r)}}(n||(n={})),n})),e(r,"Series/Bar/BarSeries.js",[r["Series/Column/ColumnSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.extend,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.defaultOptions=o(t.defaultOptions,{}),r}(t),i(r.prototype,{inverted:!0}),e.registerSeriesType("bar",r),r})),e(r,"Series/Scatter/ScatterSeries.js",[r["Series/Column/ColumnSeries.js"],r["Series/Line/LineSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.addEvent,a=n.extend,s=n.merge;return a((n=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(r,t),r.prototype.applyJitter=function(){var t=this,e=this.options.jitter,r=this.points.length;e&&this.points.forEach((function(n,i){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!n.isNull){var c=t[o+"Axis"],u=e[o]*c.transA;if(c&&!c.isLog){var l=Math.max(0,n[s]-u);c=Math.min(c.len,n[s]+u),a=1e4*Math.sin(i+a*r),n[s]=l+(c-l)*(a-Math.floor(a)),"x"===o&&(n.clientX=n.plotX)}}}))}))},r.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},r.defaultOptions=s(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),r}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(n,"afterTranslate",(function(){this.applyJitter()})),r.registerSeriesType("scatter",n),n})),e(r,"Series/CenteredUtilities.js",[r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.deg2rad,o=r.isNumber,a=r.pick,s=r.relativeLength;return function(t){t.getCenter=function(){var t=this.options,r=this.chart,n=2*(t.slicedOffset||0),i=r.plotWidth-2*n,o=r.plotHeight-2*n,c=t.center,u=Math.min(i,o),l=t.size,f=t.innerSize||0;for("string"===typeof l&&(l=parseFloat(l)),"string"===typeof f&&(f=parseFloat(f)),t=[a(c[0],"50%"),a(c[1],"50%"),a(l&&0>l?void 0:t.size,"100%"),a(f&&0>f?void 0:t.innerSize||0,"0%")],!r.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)l=t[c],r=2>c||2===c&&/%$/.test(l),t[c]=s(l,[i,o,u,t[2]][c])+(r?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=o(t)?t:0,e=o(e)&&e>t&&360>e-t?e:t+360,{start:i*(t+-90),end:i*(e+-90)}}}(n||(n={})),n})),e(r,"Series/Pie/PiePoint.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.setAnimation,o=r.addEvent,a=r.defined;t=r.extend;var s=r.isNumber,c=r.pick,u=r.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,r=this.connectorShapes,n=e.connectorShape;return r[n]&&(n=r[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=c(this.name,"Slice");var r=function(t){e.slice("select"===t.type)};return o(this,"select",r),o(this,"unselect",r),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var r=this,n=this.series,i=n.chart,o=n.options.ignoreHiddenPoint;e=c(e,o),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){r[e]&&r[e][t?"show":"hide"](t)})),this.legendItem&&i.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(n.isDirty=!0),e&&i.redraw())},e.prototype.slice=function(t,e,r){var n=this.series;i(r,n.chart),c(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,r){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],r.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,r){e=e.touchingSliceAt;var n=this.series,i=n.center[0],o=n.chart.plotWidth,a=n.chart.plotLeft;n=t.alignment;var s=this.shapeArgs.r;return r=u(r.crookDistance,1),r=["L",o="left"===n?i+s+(o+a-i-s)*(1-r):a+(i-s)*r,t.y],i=!0,("left"===n?o>t.x||o<e.x:o<t.x||o>e.x)&&(i=!1),t=[["M",t.x,t.y]],i&&t.push(r),t.push(["L",e.x,e.y]),t}}}),e})),e(r,"Series/Pie/PieSeries.js",[r["Series/CenteredUtilities.js"],r["Series/Column/ColumnSeries.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Series/Pie/PiePoint.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=t.getStartAndEndRadians;r=r.noop;var f=c.clamp,h=c.extend,d=c.fireEvent,p=c.merge,m=c.pick,b=c.relativeLength;return c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return u(e,t),e.prototype.animate=function(t){var e=this,r=e.points,n=e.startAngleRad;t||r.forEach((function(t){var r=t.graphic,i=t.shapeArgs;r&&i&&(r.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),r.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,r=this.options;if(0===this.total&&this.center){var n=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,i,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(n,i,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,r){var n=this.center,i=this.radii?this.radii[r.index]||0:n[2]/2;return t=Math.asin(f((t-n[1])/(i+r.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(i+r.labelDistance)+(0<r.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,r,n,i=this,o=i.chart,a=o.renderer,s=i.options.shadow;this.drawEmpty(),!s||i.shadowGroup||o.styledMode||(i.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(i.group)),i.points.forEach((function(c){var u={};if(e=c.graphic,!c.isNull&&e){var l=void 0;n=c.shapeArgs,t=c.getTranslate(),o.styledMode||(l=c.shadowGroup,s&&!l&&(l=c.shadowGroup=a.g("shadow").add(i.shadowGroup)),l&&l.attr(t),r=i.pointAttribs(c,c.selected&&"select")),c.delayedRendering?(e.setRadialReference(i.center).attr(n).attr(t),o.styledMode||e.attr(r).attr({"stroke-linejoin":"round"}).shadow(s,l),c.delayedRendering=!1):(e.setRadialReference(i.center),o.styledMode||p(!0,u,r),p(!0,u,n,t),e.animate(u)),e.attr({visibility:c.visible?"inherit":"hidden"}),e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,r){return"undefined"!==typeof t.angle&&(r.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=this.options,r=e.slicedOffset,n=r+(e.borderWidth||0),i=l(e.startAngle,e.endAngle),o=this.startAngleRad=i.start;i=(this.endAngleRad=i.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var c,u=a.length,f=0;for(t||(this.center=t=this.getCenter()),c=0;c<u;c++){var h=a[c],p=o+f*i;!h.isValid()||e&&!h.visible||(f+=h.percentage/100);var v=o+f*i,g={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*p)/1e3,end:Math.round(1e3*v)/1e3};h.shapeType="arc",h.shapeArgs=g,h.labelDistance=m(h.options.dataLabels&&h.options.dataLabels.distance,s),h.labelDistance=b(h.labelDistance,g.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,h.labelDistance),(v=(v+p)/2)>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),h.slicedTranslation={translateX:Math.round(Math.cos(v)*r),translateY:Math.round(Math.sin(v)*r)},g=Math.cos(v)*t[2]/2;var y=Math.sin(v)*t[2]/2;h.tooltipPos=[t[0]+.7*g,t[1]+.7*y],h.half=v<-Math.PI/2||v>Math.PI/2?1:0,h.angle=v,p=Math.min(n,h.labelDistance/5),h.labelPosition={natural:{x:t[0]+g+Math.cos(v)*h.labelDistance,y:t[1]+y+Math.sin(v)*h.labelDistance},final:{},alignment:0>h.labelDistance?"center":h.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+g+Math.cos(v)*p,y:t[1]+y+Math.sin(v)*p},touchingSliceAt:{x:t[0]+g,y:t[1]+y}}}}d(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,r=e.length,n=this.options.ignoreHiddenPoint,i=0;for(t=0;t<r;t++){var o=e[t];!o.isValid()||n&&!o.visible||(i+=o.y)}for(this.total=i,t=0;t<r;t++)(o=e[t]).percentage=0<i&&(o.visible||!n)?o.y/i*100:0,o.total=i},e.defaultOptions=p(o.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(o),h(c.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:r,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:r,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",c),c})),e(r,"Series/Pie/PieDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o,a=e.noop,s=r.distribute,c=n.series,u=i.arrayMax,l=i.clamp,f=i.defined,h=i.merge,d=i.pick,p=i.relativeLength;return function(e){function r(){var t,e,r,n,i,o,a,l,p,m,b,v,g=this,y=g.data,w=g.chart,x=g.options.dataLabels||{},O=x.connectorPadding,_=w.plotWidth,S=w.plotHeight,k=w.plotLeft,E=Math.round(w.chartWidth/3),M=g.center,C=M[2]/2,j=M[1],A=[[],[]],T=[0,0,0,0],P=g.dataLabelPositioners;g.visible&&(x.enabled||g._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),c.prototype.drawDataLabels.apply(g),y.forEach((function(t){t.dataLabel&&(t.visible?(A[t.half].push(t),t.dataLabel._pos=null,!f(x.style.width)&&!f(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>E&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),A.forEach((function(e,r){var c,u=e.length,h=[];if(u){if(g.sortByAngle(e,r-.5),0<g.maxLabelDistance){var y=Math.max(0,j-C-g.maxLabelDistance),E=Math.min(j+C+g.maxLabelDistance,w.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,j-C-t.labelDistance),t.bottom=Math.min(j+C+t.labelDistance,w.plotHeight),c=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+c/2,size:c,rank:t.y},h.push(t.distributeBox))})),s(h,y=E+c-y,y/5)}for(b=0;b<u;b++){if(t=e[b],o=t.labelPosition,n=t.dataLabel,m=!1===t.visible?"hidden":"inherit",p=y=o.natural.y,h&&f(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?m="hidden":(a=t.distributeBox.size,p=P.radialDistributionY(t))),delete t.positionIndex,x.justify)l=P.justify(t,C,M);else switch(x.alignTo){case"connectors":l=P.alignToConnectors(e,r,_,k);break;case"plotEdges":l=P.alignToPlotEdges(n,r,_,k);break;default:l=P.radialDistributionX(g,t,p,y)}n._attr={visibility:m,align:o.alignment},v=t.options.dataLabels||{},n._pos={x:l+d(v.x,x.x)+({left:O,right:-O}[o.alignment]||0),y:p+d(v.y,x.y)-10},o.final.x=l,o.final.y=p,d(x.crop,!0)&&(i=n.getBBox().width,y=null,l-i<O&&1===r?(y=Math.round(i-l+O),T[3]=Math.max(y,T[3])):l+i>_-O&&0===r&&(y=Math.round(l+i-_+O),T[1]=Math.max(y,T[1])),0>p-a/2?T[0]=Math.max(Math.round(a/2-p),T[0]):p+a/2>S&&(T[2]=Math.max(Math.round(p+a/2-S),T[2])),n.sideOverflow=y)}}})),0===u(T)||this.verifyDataLabelOverflow(T))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;(v=h(x,t.options.dataLabels),e=d(v.connectorWidth,1))&&(r=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(m=n._attr.visibility,(i=!r)&&(t.connector=r=w.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(g.dataLabelsGroup),w.styledMode||r.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),r[i?"attr":"animate"]({d:t.getConnectorPath()}),r.attr("visibility",m)):r&&(t.connector=r.destroy()))})))}function n(){this.points.forEach((function(t){var e,r=t.dataLabel;r&&t.visible&&((e=r._pos)?(r.sideOverflow&&(r._attr.width=Math.max(r.getBBox().width-r.sideOverflow,0),r.css({width:r._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),r.shortened=!0),r.attr(r._attr),r[r.moved?"animate":"attr"](e),r.moved=!0):r&&r.attr({y:-9999})),delete t.distributeBox}),this)}function i(t){var e=this.center,r=this.options,n=r.center,i=r.minSize||80,o=null!==r.size;if(!o){if(null!==n[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),i);else a=Math.max(e[2]-t[1]-t[3],i),e[0]+=(t[3]-t[1])/2;null!==n[1]?a=l(a,i,e[2]-Math.max(t[0],t[2])):(a=l(a,i,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(p(r.innerSize||0,a),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,r,n){return t.getX(r<e.top+2||r>e.bottom-2?n:r,e.half,e)},justify:function(t,e,r){return r[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,r,n){return t=t.getBBox().width,e?t+n:r-t-n},alignToConnectors:function(t,e,r,n){var i,o=0;return t.forEach((function(t){(i=t.dataLabel.getBBox().width)>o&&(o=i)})),e?o+n:r-o-n}};e.compose=function(e){t.compose(c),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=a,e.drawDataLabels=r,e.placeDataLabels=n,e.verifyDataLabelOverflow=i)}}(o||(o={})),o})),e(r,"Extensions/OverlappingDataLabels.js",[r["Core/Chart/Chart.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e){var r=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})})),i(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return r}var n=e.addEvent,i=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,c=e.pick;n(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(n){var i=n.options.dataLabels;n.visible&&(!1!==i.enabled||n._hasPointLabels)&&((i=function(n){return n.forEach((function(n){n.visible&&(o(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=c(o.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),o.allowOverlap?(i.oldOpacity=i.opacity,i.newOpacity=1,r(i,t)):e.push(i)}))}))})(n.nodes||[]),i(n.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,n,o,s=this,c=t.length,u=s.renderer,l=!1,f=function(t){var e,r,n=t.box?0:t.padding||0,i=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=u.fontMetrics(null,t.element).h);var c=t.width-2*n;return(r={left:"0",center:"0.5",right:"1"}[t.alignValue])?i=+r*c:a(t.x)&&Math.round(t.x)!==t.translateX&&(i=t.x-t.translateX),{x:o.x+(s.translateX||0)+n-(i||0),y:o.y+(s.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=f(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<c;n++){var h=(f=t[n])&&f.absoluteBox;for(e=n+1;e<c;++e){var d=(o=t[e])&&o.absoluteBox;!h||!d||f===o||0===f.newOpacity||0===o.newOpacity||d.x>=h.x+h.width||d.x+d.width<=h.x||d.y>=h.y+h.height||d.y+d.height<=h.y||((f.labelrank<o.labelrank?f:o).newOpacity=0)}}t.forEach((function(t){r(t,s)&&(l=!0)})),l&&i(s,"afterHideAllOverlappingLabels")}})),e(r,"Core/Responsive.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.extend,n=t.find,i=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,c=t.pick,u=t.splat,l=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),r(t.prototype,f.prototype)),t};var f=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,r={};return function t(r,n,a,c){var l;s(r,(function(r,s){if(!c&&-1<e.collectionsWithUpdate.indexOf(s)&&n[s])for(r=u(r),a[s]=[],l=0;l<Math.max(r.length,n[s].length);l++)n[s][l]&&(void 0===r[l]?a[s][l]=n[s][l]:(a[s][l]={},t(r[l],n[s][l],a[s][l],c+1)));else o(r)?(a[s]=i(r)?[]:{},t(r,n[s]||{},a[s],c+1)):a[s]="undefined"===typeof n[s]?null:n[s]}))}(t,this.options,r,0),r},t.prototype.matchResponsiveRule=function(t,e){var r=t.condition;(r.callback||function(){return this.chartWidth<=c(r.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=c(r.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=c(r.minWidth,0)&&this.chartHeight>=c(r.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var r=this,i=this.options.responsive,o=this.currentResponsive,s=[];!e&&i&&i.rules&&i.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=l()),r.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return n((i||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(r,"masters/highcharts.src.js",[r["Core/Globals.js"],r["Core/Utilities.js"],r["Core/DefaultOptions.js"],r["Core/Animation/Fx.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/FormatUtilities.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Renderer/HTML/HTMLElement.js"],r["Core/Renderer/HTML/HTMLRenderer.js"],r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/Axis/LogarithmicAxis.js"],r["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],r["Core/Axis/Tick.js"],r["Core/Tooltip.js"],r["Core/Series/Point.js"],r["Core/Pointer.js"],r["Core/MSPointer.js"],r["Core/Legend/Legend.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Series/Column/ColumnSeries.js"],r["Series/Column/ColumnDataLabel.js"],r["Series/Pie/PieSeries.js"],r["Series/Pie/PieDataLabel.js"],r["Core/Series/DataLabel.js"],r["Core/Responsive.js"],r["Core/Color/Color.js"],r["Core/Time.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A,T,P){return t.animate=i.animate,t.animObject=i.animObject,t.getDeferredAnimation=i.getDeferredAnimation,t.setAnimation=i.setAnimation,t.stop=i.stop,t.timers=n.timers,t.AST=o,t.Axis=h,t.Chart=O,t.chart=O.chart,t.Fx=n,t.Legend=x,t.PlotLineOrBand=m,t.Point=g,t.Pointer=w.isRequired()?w:y,t.Series=_,t.SVGElement=c,t.SVGRenderer=u,t.Tick=b,t.Time=P,t.Tooltip=v,t.Color=T,t.color=T.parse,f.compose(u),l.compose(c),t.defaultOptions=r.defaultOptions,t.getOptions=r.getOptions,t.time=r.defaultTime,t.setOptions=r.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=S.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,E.compose(k),j.compose(_),d.compose(h),p.compose(h),C.compose(M),m.compose(h),A.compose(O),t})),e(r,"Core/Axis/OrdinalAxis.js",[r["Core/Axis/Axis.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=n.addEvent,a=n.correctFloat,s=n.css,c=n.defined,u=n.error,l=n.pick,f=n.timeUnits,h=[];return function(t){function n(t,e,r,n,i,o,a){void 0===i&&(i=[]),void 0===o&&(o=0);var s,l,h={},d=this.options.tickPixelInterval,p=this.chart.time,m=[],b=0,v=[],g=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!i||3>i.length||"undefined"===typeof e)return p.getTimeTicks.apply(p,arguments);var y=i.length;for(s=0;s<y;s++){var w=s&&i[s-1]>r;if(i[s]<e&&(b=s),s===y-1||i[s+1]-i[s]>5*o||w){if(i[s]>g){for(l=p.getTimeTicks(t,i[b],i[s],n);l.length&&l[0]<=g;)l.shift();l.length&&(g=l[l.length-1]),m.push(v.length),v=v.concat(l)}b=s+1}if(w)break}if(l){if(l=l.info,a&&l.unitRange<=f.hour){for(s=v.length-1,b=1;b<s;b++)if(p.dateFormat("%d",v[b])!==p.dateFormat("%d",v[b-1])){h[v[b]]="day";var x=!0}x&&(h[v[0]]="day"),l.higherRanks=h}l.segmentStarts=m,v.info=l}else u(12,!1,this.chart);if(a&&c(d)){for(p=[],b=[],s=void 0,x=l=v.length;x--;)m=this.translate(v[x]),s&&(b[x]=s-m),p[x]=s=m;for(b.sort(),(b=b[Math.floor(b.length/2)])<.6*d&&(b=null),x=v[l-1]>r?l-1:l,s=void 0;x--;)m=p[x],l=Math.abs(s-m),s&&l<.8*d&&(null===b||l<.8*b)?(h[v[x]]&&!h[v[x+1]]?(l=x+1,s=m):l=x,v.splice(l,1)):s=m}return v}function i(t){var e=this.ordinal.positions;if(!e)return t;var r=e.length-1;if(0>t)t=e[0];else if(t>r)t=e[r];else var n=t-(r=Math.floor(t));return"undefined"!==typeof n&&"undefined"!==typeof e[r]?e[r]+(n?n*(e[r+1]-e[r]):0):t}function d(t){var e=this.ordinal,r=e.positions;if(!r)return t;var n=(t-(this.old?this.old.min:this.min))*(this.old?this.old.transA:this.transA)+this.minPixelPadding;if(0<n&&n<this.left+this.len||(e.extendedOrdinalPositions||(e.extendedOrdinalPositions=e.getExtendedPositions()),r=e.extendedOrdinalPositions),r&&r.length){if(t=e.getIndexOfPoint(n,r),e=a(t%1),0<=t&&t<r.length-1)return r[Math.floor(t)]+e*(r[Math.ceil(t)]-r[Math.floor(t)]);e=r.length,n=r[0];var i=((r=r[e-1])-n)/(e-1);return 0>t?n+i*t:r+i*(t-e)}return t}function p(e,r){var n=t.Additions.findIndexOf(e,r,!0);return e[n]===r?n:n+(r-e[n])/(e[n+1]-e[n])}function m(){this.ordinal||(this.ordinal=new t.Additions(this))}function b(){this.isXAxis&&c(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&c(this.userMin)&&(this.min+=this.options.overscroll))}function v(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function g(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function y(t){var e=this.xAxis[0],r=e.options.overscroll,n=t.originalEvent.chartX,i=this.options.chart.panning,o=!1;if(i&&"y"!==i.type&&e.options.ordinal&&e.series.length){var a=this.mouseDownX,c=e.getExtremes(),u=c.dataMax,l=c.min,f=c.max,h=this.hoverPoints,d=e.closestPointRange||e.ordinal&&e.ordinal.overscrollPointsRange;a=(a-n)/(e.translationSlope*(e.ordinal.slope||d)),d={ordinal:{positions:e.ordinal.getExtendedPositions()}};var p=e.index2val,m=e.val2lin,b=void 0,v=b=void 0,g=void 0;d.ordinal.positions?1<Math.abs(a)&&(h&&h.forEach((function(t){t.setState()})),0>a?(v=d,g=e.ordinal.positions?e:d):(v=e.ordinal.positions?e:d,g=d),u>(b=g.ordinal.positions)[b.length-1]&&b.push(u),this.fixedRange=f-l,(b=e.navigatorAxis.toFixedRange(void 0,void 0,p.apply(v,[m.apply(v,[l,!0])+a]),p.apply(g,[m.apply(g,[f,!0])+a]))).min>=Math.min(c.dataMin,l)&&b.max<=Math.max(u,f)+r&&e.setExtremes(b.min,b.max,!0,!1,{trigger:"pan"}),this.mouseDownX=n,s(this.container,{cursor:"move"})):o=!0}else o=!0;o||i&&/y/.test(i.type)?r&&(e.max=e.dataMax+r):t.preventDefault()}function w(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function x(t,e){var r=this.ordinal,n=r.positions,i=r.slope,o=r.extendedOrdinalPositions;if(!n)return t;var a=n.length;if(n[0]<=t&&n[a-1]>=t)t=p(n,t);else{if(o||(o=r.getExtendedPositions&&r.getExtendedPositions(),r.extendedOrdinalPositions=o),!o||!o.length)return t;a=o.length,i||(i=(o[a-1]-o[0])/a),n=p(o,n[0]),t>=o[0]&&t<=o[a-1]?t=p(o,t)-n:t<o[0]?t=-n-(t=o[0]-t)/i:t=(t-=o[a-1])/i+a-n}return e?t:i*(t||0)+r.offset}t.compose=function(t,e,r){if(-1===h.indexOf(t)){h.push(t);var a=t.prototype;a.getTimeTicks=n,a.index2val=i,a.lin2val=d,a.val2lin=x,a.ordinal2lin=a.val2lin,o(t,"afterInit",m),o(t,"foundExtremes",b),o(t,"afterSetScale",v),o(t,"initialAxisTranslation",g)}return-1===h.indexOf(r)&&(h.push(r),o(r,"pan",y)),-1===h.indexOf(e)&&(h.push(e),o(e,"updatedData",w)),t};var O=function(){function t(t){this.index={},this.axis=t}return t.prototype.beforeSetTickPositions=function(){var t=this.axis,e=t.ordinal,r=t.getExtremes(),n=r.min,i=r.max,o=t.isXAxis&&!!t.options.breaks;r=t.options.ordinal;var a,s,c=t.chart.options.chart.ignoreHiddenSeries,u=[],f=Number.MAX_VALUE,h=!1;if(r||o){t.series.forEach((function(t,e){if(a=[],!(c&&!1===t.visible||!1===t.takeOrdinalPosition&&!o)&&(u=u.concat(t.processedXData),d=u.length,u.sort((function(t,e){return t-e})),f=Math.min(f,l(t.closestPointRange,f)),d)){for(e=0;e<d-1;)u[e]!==u[e+1]&&a.push(u[e+1]),e++;a[0]!==u[0]&&a.unshift(u[0]),u=a}}));var d=u.length;if(2<d){var p=u[1]-u[0];for(s=d-1;s--&&!h;)u[s+1]-u[s]!==p&&(h=!0);!t.options.keepOrdinalPadding&&(u[0]-n>p||i-u[u.length-1]>p)&&(h=!0)}else t.options.overscroll&&(2===d?f=u[1]-u[0]:1===d?(f=t.options.overscroll,u=[u[0],u[0]+f]):f=e.overscrollPointsRange);h||t.forceOrdinal?(t.options.overscroll&&(e.overscrollPointsRange=f,u=u.concat(e.getOverscrollPositions())),e.positions=u,p=t.ordinal2lin(Math.max(n,u[0]),!0),s=Math.max(t.ordinal2lin(Math.min(i,u[u.length-1]),!0),1),e.slope=i=(i-n)/(s-p),e.offset=n-p*i):(e.overscrollPointsRange=l(t.closestPointRange,e.overscrollPointsRange),e.positions=t.ordinal.slope=e.offset=void 0)}t.isOrdinal=r&&h,e.groupIntervalFactor=null},t.findIndexOf=function(t,e,r){for(var n,i=0,o=t.length-1;i<o;)t[n=Math.ceil((i+o)/2)]<=e?i=n:o=n-1;return t[i]===e||r?i:-1},t.prototype.getExtendedPositions=function(){var t=this,n=t.axis,i=n.constructor.prototype,o=n.chart,a=n.series[0].currentDataGrouping,s=a?a.count+a.unitName:"raw",c=n.options.overscroll,u=n.getExtremes(),l=void 0,f=t.index;if(f||(f=t.index={}),!f[s]){var h={series:[],chart:o,forceOrdinal:!1,getExtremes:function(){return{min:u.dataMin,max:u.dataMax+c}},getGroupPixelWidth:i.getGroupPixelWidth,getTimeTicks:i.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:i.ordinal2lin,getIndexOfPoint:i.getIndexOfPoint,val2lin:i.val2lin};h.ordinal.axis=h,n.series.forEach((function(n){(l={xAxis:h,xData:n.xData.slice(),chart:o,destroyGroupedData:e.noop,getProcessedData:r.prototype.getProcessedData,applyGrouping:r.prototype.applyGrouping}).xData=l.xData.concat(t.getOverscrollPositions()),l.options={dataGrouping:a?{firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",enabled:!0,forced:!0,approximation:"open",units:[[a.unitName,[a.count]]]}:{enabled:!1}},h.series.push(l),n.processData.apply(l)})),l.closestPointRange!==l.basePointRange&&l.currentDataGrouping&&(h.forceOrdinal=!0),n.ordinal.beforeSetTickPositions.apply({axis:h}),f[s]=h.ordinal.positions}return f[s]},t.prototype.getGroupIntervalFactor=function(t,e,r){var n=(r=r.processedXData).length,i=[],o=this.groupIntervalFactor;if(!o){for(o=0;o<n-1;o++)i[o]=r[o+1]-r[o];i.sort((function(t,e){return t-e})),i=i[Math.floor(n/2)],t=Math.max(t,r[0]),e=Math.min(e,r[n-1]),this.groupIntervalFactor=o=n*i/(e-t)}return o},t.prototype.getIndexOfPoint=function(e,r){var n=this.axis,i=this.positions?this.positions[0]:0,o=n.series[0].points&&n.series[0].points[0]&&n.series[0].points[0].plotX||n.minPixelPadding;return 1<n.series.length&&n.series.forEach((function(t){t.points&&c(t.points[0])&&c(t.points[0].plotX)&&t.points[0].plotX<o&&(o=t.points[0].plotX)})),e=(e-o)/(n.translationSlope*(this.slope||n.closestPointRange||this.overscrollPointsRange)),t.findIndexOf(r,i)+e},t.prototype.getOverscrollPositions=function(){var t=this.axis,e=t.options.overscroll,r=this.overscrollPointsRange,n=[],i=t.dataMax;if(c(r))for(;i<=t.dataMax+e;)i+=r,n.push(i);return n},t.prototype.postProcessTickInterval=function(t){var e=this.axis,r=this.slope;return r?e.options.breaks?e.closestPointRange||t:t/(r/e.closestPointRange):t},t}();t.Additions=O}(i||(i={})),i})),e(r,"Series/DataModifyComposition.js",[r["Core/Axis/Axis.js"],r["Core/Series/Point.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=e.prototype.tooltipFormatter,a=n.addEvent,s=n.arrayMax,c=n.arrayMin,u=n.correctFloat,l=n.defined,f=n.isArray,h=n.isNumber,d=n.isString,p=n.pick;return function(t){function e(t,e,r){this.isXAxis||(this.series.forEach((function(r){"compare"===t&&"boolean"!==typeof e?r.setCompare(e,!1):"cumulative"!==t||d(e)||r.setCumulative(e,!1)})),p(r,!0)&&this.chart.redraw())}function r(t){var e=this,r=e.series.chart.numberFormatter,n=function(n){t=t.replace("{point."+n+"}",(0<e[n]&&"change"===n?"+":"")+r(e[n],p(e.series.tooltipOptions.changeDecimals,2)))};return l(e.change)&&n("change"),l(e.cumulativeSum)&&n("cumulativeSum"),o.apply(this,[t])}function n(){var t=this.options.compare;if("percent"===t||"value"===t||this.options.cumulative){var e=new x(this);"percent"===t||"value"===t?e.initCompare(t):e.initCumulative()}this.dataModify=e}function i(t){var e=(t=t.dataExtremes).activeYData;if(this.dataModify&&t){var r=void 0;this.options.compare?r=[this.dataModify.modifyValue(t.dataMin),this.dataModify.modifyValue(t.dataMax)]:this.options.cumulative&&f(e)&&2<=e.length&&(r=x.getCumulativeExtremes(e)),r&&(t.dataMin=c(r),t.dataMax=s(r))}}function m(t,e){this.options.compare=this.userOptions.compare=t,this.update({},p(e,!0)),!this.dataModify||"value"!==t&&"percent"!==t?this.points.forEach((function(t){delete t.change})):this.dataModify.initCompare(t)}function b(){if(this.xAxis&&this.processedYData&&this.dataModify){var t,e=this.processedXData,r=this.processedYData,n=r.length,i=!0===this.options.compareStart?0:1,o=-1;for(this.pointArrayMap&&(o=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),t=0;t<n-i;t++){var a=r[t]&&-1<o?r[t][o]:r[t];if(h(a)&&0!==a&&e[t+i]>=(this.xAxis.min||0)){this.dataModify.compareValue=a;break}}}}function v(t,e){this.setModifier("compare",t,e)}function g(t,e){t=p(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},p(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach((function(t){delete t.cumulativeSum}))}function y(t,e){this.setModifier("cumulative",t,e)}var w=[];t.compose=function(t,o,s){if(-1===w.indexOf(t)){w.push(t);var c=t.prototype;c.setCompare=m,c.setCumulative=g,a(t,"afterInit",n),a(t,"afterGetExtremes",i),a(t,"afterProcessData",b)}return-1===w.indexOf(o)&&(w.push(o),(o=o.prototype).setCompare=v,o.setModifier=e,o.setCumulative=y),-1===w.indexOf(s)&&(w.push(s),s.prototype.tooltipFormatter=r),t};var x=function(){function t(t){this.series=t}return t.prototype.modifyValue=function(){return 0},t.getCumulativeExtremes=function(t){var e=1/0,r=-1/0;return t.reduce((function(t,n){return n=t+n,e=Math.min(e,n,t),r=Math.max(r,n,t),n})),[e,r]},t.prototype.initCompare=function(t){this.modifyValue=function(e,r){null===e&&(e=0);var n=this.compareValue;return"undefined"!==typeof e&&"undefined"!==typeof n?(e="value"===t?e-n:e/n*100-(100===this.series.options.compareBase?0:100),"undefined"!==typeof r&&(r=this.series.points[r])&&(r.change=e),e):0}},t.prototype.initCumulative=function(){this.modifyValue=function(t,e){if(null===t&&(t=0),void 0!==t&&void 0!==e){var r=0<e?this.series.points[e-1]:null;return r&&r.cumulativeSum&&(t=u(r.cumulativeSum+t)),(e=this.series.points[e])&&(e.cumulativeSum=t),t}return 0}},t}();t.Additions=x}(i||(i={})),i})),e(r,"Core/Axis/BrokenAxis.js",[r["Extensions/Stacking.js"],r["Core/Utilities.js"]],(function(t,e){var r,n=e.addEvent,i=e.find,o=e.fireEvent,a=e.isArray,s=e.isNumber,c=e.pick;return function(e){function r(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function u(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function l(){var t=this.brokenAxis;if(t&&t.hasBreaks){for(var e=this.tickPositions,r=this.tickPositions.info,n=[],i=0;i<e.length;i++)t.isInAnyBreak(e[i])||n.push(e[i]);this.tickPositions=n,this.tickPositions.info=r}}function f(){this.brokenAxis||(this.brokenAxis=new v(this))}function h(){var t=this.options.connectNulls,e=this.points,r=this.xAxis,n=this.yAxis;if(this.isDirty)for(var i=e.length;i--;){var o=e[i],a=!(null===o.y&&!1===t)&&(r&&r.brokenAxis&&r.brokenAxis.isInAnyBreak(o.x,!0)||n&&n.brokenAxis&&n.brokenAxis.isInAnyBreak(o.y,!0));o.visible=!a&&!1!==o.options.visible}}function d(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,c(this.pointArrayMap,["y"]))}function p(t,e){var r,n,i,a,u=this,l=u.points;if(t&&t.brokenAxis&&t.brokenAxis.hasBreaks){var f=t.brokenAxis;e.forEach((function(e){r=f&&f.breakArray||[],n=t.isXAxis?t.min:c(u.options.threshold,t.min),l.forEach((function(u){a=c(u["stack"+e.toUpperCase()],u[e]),r.forEach((function(e){s(n)&&s(a)&&(i=!1,n<e.from&&a>e.to||n>e.from&&a<e.from?i="pointBreak":(n<e.from&&a>e.from&&a<e.to||n>e.from&&a>e.to&&a<e.from)&&(i="pointInBreak"),i&&o(t,i,{point:u,brk:e}))}))}))}))}}function m(){var e=this.currentDataGrouping,r=e&&e.gapSize;e=this.points.slice();var n,i=this.yAxis,o=this.options.gapSize,a=e.length-1;if(o&&0<a)for("value"!==this.options.gapUnit&&(o*=this.basePointRange),r&&r>o&&r>=this.basePointRange&&(o=r),n=void 0;a--;)n&&!1!==n.visible||(n=e[a+1]),r=e[a],!1!==n.visible&&!1!==r.visible&&(n.x-r.x>o&&(n=(r.x+n.x)/2,e.splice(a+1,0,{isNull:!0,x:n}),i.stacking&&this.options.stacking&&((n=i.stacking.stacks[this.stackKey][n]=new t(i,i.options.stackLabels,!1,n,this.stack)).total=0)),n=r);return this.getGraphPath(e)}var b=[];e.compose=function(t,e){if(-1===b.indexOf(t)&&(b.push(t),t.keepProps.push("brokenAxis"),n(t,"init",f),n(t,"afterInit",r),n(t,"afterSetTickPositions",l),n(t,"afterSetOptions",u)),-1===b.indexOf(e)){b.push(e);var i=e.prototype;i.drawBreaks=p,i.gappedPath=m,n(e,"afterGeneratePoints",h),n(e,"afterRender",d)}return t};var v=function(){function t(t){this.hasBreaks=!1,this.axis=t}return t.isInBreak=function(t,e){var r=t.repeat||1/0,n=t.from,i=t.to-t.from;return e=e>=n?(e-n)%r:r-(n-e)%r,t.inclusive?e<=i:e<i&&0!==e},t.lin2Val=function(e){var r,n=this.brokenAxis;if(!(n=n&&n.breakArray)||!s(e))return e;for(r=0;r<n.length;r++){var i=n[r];if(i.from>=e)break;(i.to<e||t.isInBreak(i,e))&&(e+=i.len)}return e},t.val2Lin=function(e){var r=this.brokenAxis;if(!(r=r&&r.breakArray)||!s(e))return e;var n,i=e;for(n=0;n<r.length;n++){var o=r[n];if(o.to<=e)i-=o.len;else{if(o.from>=e)break;if(t.isInBreak(o,e)){i-=e-o.from;break}}}return i},t.prototype.findBreakAt=function(t,e){return i(e,(function(e){return e.from<t&&t<e.to}))},t.prototype.isInAnyBreak=function(e,r){var n,i=this.axis,o=i.options.breaks||[],a=o.length;if(a&&s(e)){for(;a--;)if(t.isInBreak(o[a],e)){var u=!0;n||(n=c(o[a].showPoints,!i.isXAxis))}var l=u&&r?u&&!n:u}return l},t.prototype.setBreaks=function(e,r){var n=this,i=n.axis,u=a(e)&&!!e.length;i.isDirty=n.hasBreaks!==u,n.hasBreaks=u,i.options.breaks=i.userOptions.breaks=e,i.forceRedraw=!0,i.series.forEach((function(t){t.isDirty=!0})),u||i.val2lin!==t.val2Lin||(delete i.val2lin,delete i.lin2val),u&&(i.userOptions.ordinal=!1,i.lin2val=t.lin2Val,i.val2lin=t.val2Lin,i.setExtremes=function(t,e,r,o,a){if(n.hasBreaks){for(var s,c=this.options.breaks||[];s=n.findBreakAt(t,c);)t=s.to;for(;s=n.findBreakAt(e,c);)e=s.from;e<t&&(e=t)}i.constructor.prototype.setExtremes.call(this,t,e,r,o,a)},i.setAxisTranslation=function(){if(i.constructor.prototype.setAxisTranslation.call(this),n.unitLength=void 0,n.hasBreaks){var e,r,a=i.options.breaks||[],u=[],l=[],f=c(i.pointRangePadding,0),h=0,d=i.userMin||i.min,p=i.userMax||i.max;a.forEach((function(r){e=r.repeat||1/0,s(d)&&s(p)&&(t.isInBreak(r,d)&&(d+=r.to%e-d%e),t.isInBreak(r,p)&&(p-=p%e-r.from%e))})),a.forEach((function(t){if(b=t.from,e=t.repeat||1/0,s(d)&&s(p)){for(;b-e>d;)b-=e;for(;b<d;)b+=e;for(r=b;r<p;r+=e)u.push({value:r,move:"in"}),u.push({value:r+t.to-t.from,move:"out",size:t.breakSize})}})),u.sort((function(t,e){return t.value===e.value?("in"===t.move?0:1)-("in"===e.move?0:1):t.value-e.value}));var m=0,b=d;u.forEach((function(t){1===(m+="in"===t.move?1:-1)&&"in"===t.move&&(b=t.value),0===m&&s(b)&&(l.push({from:b,to:t.value,len:t.value-b-(t.size||0)}),h+=t.value-b-(t.size||0))})),n.breakArray=l,s(d)&&s(p)&&s(i.min)&&(n.unitLength=p-d-h+f,o(i,"afterBreaks"),i.staticScale?i.transA=i.staticScale:n.unitLength&&(i.transA*=(p-i.min+f)/n.unitLength),f&&(i.minPixelPadding=i.transA*(i.minPointOffset||0)),i.min=d,i.max=p)}}),c(r,!0)&&i.chart.redraw()},t}();e.Additions=v}(r||(r={})),r})),e(r,"masters/modules/broken-axis.src.js",[r["Core/Globals.js"],r["Core/Axis/BrokenAxis.js"]],(function(t,e){e.compose(t.Axis,t.Series)})),e(r,"Extensions/DataGrouping.js",[r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Point.js"],r["Core/Series/Series.js"],r["Core/Tooltip.js"],r["Core/DefaultOptions.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u=r.format,l=o.prototype;r=c.addEvent;var f=c.arrayMax,h=c.arrayMin,d=c.correctFloat,p=c.defined,m=c.error,b=c.extend,v=c.isNumber,g=c.merge,y=c.pick,w=n.approximations={sum:function(t){var e=t.length;if(!e&&t.hasNulls)var r=null;else if(e)for(r=0;e--;)r+=t[e];return r},average:function(t){var e=t.length;return t=w.sum(t),v(t)&&e&&(t=d(t/e)),t},averages:function(){var t=[];return[].forEach.call(arguments,(function(e){t.push(w.average(e))})),"undefined"===typeof t[0]?void 0:t},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},high:function(t){return t.length?f(t):t.hasNulls?null:void 0},low:function(t){return t.length?h(t):t.hasNulls?null:void 0},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},hlc:function(t,e,r){if(t=w.high(t),e=w.low(e),r=w.close(r),v(t)||v(e)||v(r))return[t,e,r]},ohlc:function(t,e,r,n){if(t=w.open(t),e=w.high(e),r=w.low(r),n=w.close(n),v(t)||v(e)||v(r)||v(n))return[t,e,r,n]},range:function(t,e){return t=w.low(t),e=w.high(e),v(t)||v(e)?[t,e]:null===t&&null===e?null:void 0}},x={approximations:w,groupData:c=function(t,e,r,n){var i,o=this,a=o.data,s=o.options&&o.options.data,c=[],u=[],l=[],f=t.length,h=!!e,d=[],m=o.pointArrayMap,b=m&&m.length,y=["x"].concat(m||["y"]),x=this.options.dataGrouping&&this.options.dataGrouping.groupAll,O=0,_=0;n="function"===typeof n?n:w[n]?w[n]:w[o.getDGApproximation&&o.getDGApproximation()||"average"],b?m.forEach((function(){d.push([])})):d.push([]);var S=b||1;for(i=0;i<=f&&!(t[i]>=r[0]);i++);for(;i<=f;i++){for(;"undefined"!==typeof r[O+1]&&t[i]>=r[O+1]||i===f;){var k=r[O];o.dataGroupInfo={start:x?_:o.cropStart+_,length:d[0].length};var E=n.apply(o,d);for(o.pointClass&&!p(o.dataGroupInfo.options)&&(o.dataGroupInfo.options=g(o.pointClass.prototype.optionsToObject.call({series:o},o.options.data[o.cropStart+_])),y.forEach((function(t){delete o.dataGroupInfo.options[t]}))),"undefined"!==typeof E&&(c.push(k),u.push(E),l.push(o.dataGroupInfo)),_=i,k=0;k<S;k++)d[k].length=0,d[k].hasNulls=!1;if(O+=1,i===f)break}if(i===f)break;if(m){k=o.options.dataGrouping&&o.options.dataGrouping.groupAll?i:o.cropStart+i,E=a&&a[k]||o.pointClass.prototype.applyOptions.apply({series:o},[s[k]]);var M=void 0;for(k=0;k<b;k++)M=E[m[k]],v(M)?d[k].push(M):null===M&&(d[k].hasNulls=!0)}else k=h?e[i]:null,v(k)?d[0].push(k):null===k&&(d[0].hasNulls=!0)}return{groupedXData:c,groupedYData:u,groupMap:l}}},O=l.generatePoints,_={groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L","%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S","%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},S={line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},k=n.defaultDataGroupingUnits=[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]];return l.getDGApproximation=function(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"},l.groupData=c,l.applyGrouping=function(t){var r,n=this.chart,i=this.options.dataGrouping,o=!1!==this.allowDG&&i&&y(i.enabled,n.options.isStock),a=this.visible||!n.options.chart.ignoreHiddenSeries,s=this.currentDataGrouping,c=!1;if(o&&!this.requireSorting&&(this.requireSorting=c=!0),t=!1===!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!o,c&&(this.requireSorting=!1),!t){this.destroyGroupedData(),o=i.groupAll?this.xData:this.processedXData;var u=i.groupAll?this.yData:this.processedYData;t=n.plotSizeX;var f=(c=this.xAxis).options.ordinal,h=this.groupPixelWidth;if(h&&o&&o.length){this.isDirty=r=!0,this.points=null;var d=c.getExtremes(),b=d.min;d=d.max,f=f&&c.ordinal&&c.ordinal.getGroupIntervalFactor(b,d,this)||1,t=c.getTimeTicks(e.Additions.prototype.normalizeTimeTickInterval(h*(d-b)/t*f,i.units||k),Math.min(b,o[0]),Math.max(d,o[o.length-1]),c.options.startOfWeek,o,this.closestPointRange),o=(h=l.groupData.apply(this,[o,u,t,i.approximation])).groupedXData,u=h.groupedYData,f=0,i&&i.smoothed&&o.length&&(i.firstAnchor="firstPoint",i.anchor="middle",i.lastAnchor="lastPoint",m(32,!1,n,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),n=o;var g=this.options.dataGrouping;if(b=this.currentDataGrouping&&this.currentDataGrouping.gapSize,g&&this.xData&&b&&this.groupMap){var w=n.length-1,x=g.anchor,O=y(g.firstAnchor,x);if(g=y(g.lastAnchor,x),x&&"start"!==x){var _=b*{middle:.5,end:1}[x];for(x=n.length-1;x--&&0<x;)n[x]+=_}if(O&&"start"!==O&&this.xData[0]>=n[0]){x=this.groupMap[0].start,_=this.groupMap[0].length;var S=void 0;v(x)&&v(_)&&(S=x+(_-1)),n[0]={middle:n[0]+.5*b,end:n[0]+b,firstPoint:this.xData[0],lastPoint:S&&this.xData[S]}[O]}g&&"start"!==g&&b&&n[w]>=d-b&&(d=this.groupMap[this.groupMap.length-1].start,n[w]={middle:n[w]+.5*b,end:n[w]+b,firstPoint:d&&this.xData[d],lastPoint:this.xData[this.xData.length-1]}[g])}for(d=1;d<t.length;d++)t.info.segmentStarts&&-1!==t.info.segmentStarts.indexOf(d)||(f=Math.max(t[d]-t[d-1],f));(d=t.info).gapSize=f,this.closestPointRange=t.info.totalRange,this.groupMap=h.groupMap,a&&(p((a=o)[0])&&v(c.min)&&v(c.dataMin)&&a[0]<c.min&&((!p(c.options.min)&&c.min<=c.dataMin||c.min===c.dataMin)&&(c.min=Math.min(a[0],c.min)),c.dataMin=Math.min(a[0],c.dataMin)),p(a[a.length-1])&&v(c.max)&&v(c.dataMax)&&a[a.length-1]>c.max&&((!p(c.options.max)&&v(c.dataMax)&&c.max>=c.dataMax||c.max===c.dataMax)&&(c.max=Math.max(a[a.length-1],c.max)),c.dataMax=Math.max(a[a.length-1],c.dataMax))),i.groupAll&&(this.allGroupedData=u,o=(i=this.cropData(o,u,c.min,c.max,1)).xData,u=i.yData,this.cropStart=i.start),this.processedXData=o,this.processedYData=u}else this.groupMap=null;this.hasGroupedData=r,this.currentDataGrouping=d,this.preventGraphAnimation=(s&&s.totalRange)!==(d&&d.totalRange)}},l.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach((function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)}),this),this.groupedData.length=0)},l.generatePoints=function(){O.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},t.prototype.applyGrouping=function(t){var e=this;e.series.forEach((function(r){r.groupPixelWidth=void 0,r.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),r.groupPixelWidth&&(r.hasProcessed=!0),r.applyGrouping(!!t.hasExtemesChanged)}))},t.prototype.getGroupPixelWidth=function(){var t,e,r=this.series,n=r.length,i=0,o=!1;for(t=n;t--;)(e=r[t].options.dataGrouping)&&(i=Math.max(i,y(e.groupPixelWidth,_.groupPixelWidth)));for(t=n;t--;)(e=r[t].options.dataGrouping)&&(n=(r[t].processedXData||r[t].data).length,(r[t].groupPixelWidth||n>this.chart.plotSizeX/i||n&&e.forced)&&(o=!0));return o?i:0},t.prototype.setDataGrouping=function(e,r){var n;if(r=y(r,!0),e||(e={forced:!1,units:null}),this instanceof t)for(n=this.series.length;n--;)this.series[n].update({dataGrouping:e},!1);else this.chart.options.series.forEach((function(t){t.dataGrouping=e}),!1);this.ordinal&&(this.ordinal.slope=void 0),r&&this.chart.redraw()},r(t,"postProcessData",t.prototype.applyGrouping),r(i,"update",(function(){if(this.dataGroup)return m(24,!1,this.series.chart),!1})),r(a,"headerFormatter",(function(t){var e=this.chart,r=e.time,n=t.labelConfig,i=n.series,o=i.tooltipOptions,a=i.options.dataGrouping,s=o.xDateFormat,c=i.xAxis,l=o[t.isFooter?"footerFormat":"headerFormat"];if(c&&"datetime"===c.options.type&&a&&v(n.key)){var f=i.currentDataGrouping;if(a=a.dateTimeLabelFormats||_.dateTimeLabelFormats,f)if(o=a[f.unitName],1===f.count)s=o[0];else{s=o[1];var h=o[2]}else!s&&a&&c.dateTime&&(s=c.dateTime.getXDateFormat(n.x,o.dateTimeLabelFormats));s=r.dateFormat(s,n.key),h&&(s+=r.dateFormat(h,n.key+f.totalRange-1)),i.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=u(l,{point:b(n.point,{key:s}),series:i},e),t.preventDefault()}})),r(o,"destroy",l.destroyGroupedData),r(o,"afterSetOptions",(function(t){t=t.options;var e=this.type,r=this.chart.options.plotOptions,n=s.defaultOptions.plotOptions[e].dataGrouping,i=this.useCommonDataGrouping&&_;if(r&&(S[e]||i)){n||(n=g(_,S[e]));var o=this.chart.rangeSelector;t.dataGrouping=g(i,n,r.series&&r.series.dataGrouping,r[e].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&o&&v(o.selected)&&o.buttonOptions[o.selected].dataGrouping)}})),r(t,"afterSetScale",(function(){this.series.forEach((function(t){t.hasProcessed=!1}))})),n.dataGrouping=x,x})),e(r,"Series/HLC/HLCPoint.js",[r["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();return function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.close=void 0,e.high=void 0,e.low=void 0,e.options=void 0,e.plotClose=void 0,e.series=void 0,e}return e(r,t),r}(t.seriesTypes.column.prototype.pointClass)})),e(r,"Series/HLC/HLCSeries.js",[r["Series/HLC/HLCPoint.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=e.seriesTypes.column,o=r.extend,a=r.merge;return o((r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.yData=void 0,e}return n(e,t),e.prototype.extendStem=function(t,e,r){var n=t[0];t=t[1],"number"===typeof n[2]&&(n[2]=Math.max(r+e,n[2])),"number"===typeof t[2]&&(t[2]=Math.min(r-e,t[2]))},e.prototype.getPointPath=function(t,e){e=e.strokeWidth();var r=t.series,n=e%2/2,i=Math.round(t.plotX)-n,o=Math.round(t.shapeArgs.width/2),a=[["M",i,Math.round(t.yBottom)],["L",i,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+n,a.push(["M",i,t],["L",i+o,t]),r.extendStem(a,e/2,t)),a},e.prototype.drawSinglePoint=function(t){var e=t.series,r=e.chart,n=t.graphic,i=!n;"undefined"!==typeof t.plotY&&(n||(t.graphic=n=r.renderer.path().add(e.group)),r.styledMode||n.attr(e.pointAttribs(t,t.selected&&"select")),e=e.getPointPath(t,n),n[i?"attr":"animate"]({d:e}).addClass(t.getClassName(),!0))},e.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.options.stacking=void 0},e.prototype.pointAttribs=function(e,r){return delete(e=t.prototype.pointAttribs.call(this,e,r)).fill,e},e.prototype.toYData=function(t){return[t.high,t.low,t.close]},e.prototype.translate=function(){var e=this,r=e.yAxis,n=this.pointArrayMap&&this.pointArrayMap.slice()||[],i=n.map((function(t){return"plot"+(t.charAt(0).toUpperCase()+t.slice(1))}));i.push("yBottom"),n.push("low"),t.prototype.translate.apply(e),e.points.forEach((function(t){n.forEach((function(n,o){null!==(n=t[n])&&(e.dataModify&&(n=e.dataModify.modifyValue(n)),t[i[o]]=r.toPixels(n,!0))})),t.tooltipPos[1]=t.plotHigh+r.pos-e.chart.plotTop}))},e.defaultOptions=a(i.defaultOptions,{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),e}(i)).prototype,{animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),r.prototype.pointClass=t,e.registerSeriesType("hlc",r),r})),e(r,"Series/OHLC/OHLCPoint.js",[r["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();return function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.open=void 0,e.options=void 0,e.plotOpen=void 0,e.series=void 0,e}return e(r,t),r.prototype.getClassName=function(){return t.prototype.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")},r.prototype.resolveUpColor=function(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)},r.prototype.resolveColor=function(){t.prototype.resolveColor.call(this),this.resolveUpColor()},r.prototype.getZone=function(){var e=t.prototype.getZone.call(this);return this.resolveUpColor(),e},r.prototype.applyOptions=function(){return t.prototype.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this},r}(t.seriesTypes.hlc.prototype.pointClass)})),e(r,"Series/OHLC/OHLCSeries.js",[r["Series/OHLC/OHLCPoint.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=e.series,o=e.seriesTypes.hlc,a=r.addEvent,s=r.extend,c=r.merge,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointPath=function(e,r){var n=t.prototype.getPointPath.call(this,e,r),i=(r=r.strokeWidth())%2/2,o=Math.round(e.plotX)-i,a=Math.round(e.shapeArgs.width/2);return null!==e.open&&(e=Math.round(e.plotOpen)+i,n.push(["M",o,e],["L",o-a,e]),t.prototype.extendStem.call(this,n,r/2,e)),n},e.prototype.pointAttribs=function(e,r){r=t.prototype.pointAttribs.call(this,e,r);var n=this.options;return delete r.fill,!e.options.color&&n.upColor&&e.open<e.close&&(r.stroke=n.upColor),r},e.prototype.toYData=function(t){return[t.open,t.high,t.low,t.close]},e.defaultOptions=c(o.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}),e}(o);return s(u.prototype,{pointArrayMap:["open","high","low","close"]}),u.prototype.pointClass=t,e.registerSeriesType("ohlc",u),a(i,"init",(function(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&s(this,{pointValKey:u.prototype.pointValKey,pointArrayMap:u.prototype.pointArrayMap,toYData:u.prototype.toYData})})),a(i,"afterSetOptions",(function(t){var e=(t=t.options).dataGrouping;e&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(e.approximation="ohlc")})),u})),e(r,"Series/Candlestick/CandlestickSeries.js",[r["Core/DefaultOptions.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.defaultOptions,o=(t=e.seriesTypes).column,a=t.ohlc,s=r.merge;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.pointAttribs=function(t,e){var r=o.prototype.pointAttribs.call(this,t,e),n=this.options,i=t.open<t.close,a=n.lineColor||this.color,s=t.color||this.color;return r["stroke-width"]=n.lineWidth,r.fill=t.options.color||i&&n.upColor||s,r.stroke=t.options.lineColor||i&&n.upLineColor||a,e&&(t=n.states[e],r.fill=t.color||r.fill,r.stroke=t.lineColor||r.stroke,r["stroke-width"]=t.lineWidth||r["stroke-width"]),r},e.prototype.drawPoints=function(){var t=this,e=t.chart,r=t.yAxis.reversed;t.points.forEach((function(n){var i=n.graphic,o=!i;if("undefined"!==typeof n.plotY){i||(n.graphic=i=e.renderer.path().add(t.group)),t.chart.styledMode||i.attr(t.pointAttribs(n,n.selected&&"select")).shadow(t.options.shadow);var a=i.strokeWidth()%2/2,s=Math.round(n.plotX)-a,c=n.plotOpen,u=n.plotClose,l=Math.min(c,u);c=Math.max(c,u);var f=Math.round(n.shapeArgs.width/2);u=r?c!==n.yBottom:Math.round(l)!==Math.round(n.plotHigh);var h=r?Math.round(l)!==Math.round(n.plotHigh):c!==n.yBottom;l=Math.round(l)+a,c=Math.round(c)+a,(a=[]).push(["M",s-f,c],["L",s-f,l],["L",s+f,l],["L",s+f,c],["Z"],["M",s,l],["L",s,u?Math.round(r?n.yBottom:n.plotHigh):l],["M",s,c],["L",s,h?Math.round(r?n.plotHigh:n.yBottom):c]),i[o?"attr":"animate"]({d:a}).addClass(n.getClassName(),!0)}}))},e.defaultOptions=s(a.defaultOptions,i.plotOptions,{states:{hover:{lineWidth:2}},tooltip:i.plotOptions.ohlc.tooltip,threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}),e}(a),e.registerSeriesType("candlestick",r),r})),e(r,"Series/Flags/FlagsPoint.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return r(e,t),e.prototype.isValid=function(){return n(this.y)||"undefined"===typeof this.y},e.prototype.hasNewShapeType=function(){var t=this.options.shape||this.series.options.shape;return this.graphic&&t&&t!==this.graphic.symbolKey},e}(t.seriesTypes.column.prototype.pointClass)})),e(r,"Series/OnSeriesComposition.js",[r["Series/Column/ColumnSeries.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.prototype,o=e.prototype,a=r.defined,s=r.stableSort;return function(t){function e(){return o.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this)}function r(){i.translate.apply(this);var t,e=this,r=e.options,n=e.chart,o=e.points,c=r.onSeries,u=(c=c&&n.get(c))&&c.options.step,l=c&&c.points,f=n.inverted,h=e.xAxis,d=e.yAxis;n=o.length-1,r=r.onKey||"y";var p,m=l&&l.length,b=0;if(c&&c.visible&&m){b=(c.pointXOffset||0)+(c.barW||0)/2;var v=c.currentDataGrouping,g=l[m-1].x+(v?v.totalRange:0);for(s(o,(function(t,e){return t.x-e.x})),r="plot"+r[0].toUpperCase()+r.substr(1);m--&&o[n];){var y=l[m];if((v=o[n]).y=y.y,y.x<=v.x&&"undefined"!==typeof y[r]){if(v.x<=g&&(v.plotY=y[r],y.x<v.x&&!u&&(p=l[m+1])&&"undefined"!==typeof p[r])){var w=(v.x-y.x)/(p.x-y.x);v.plotY+=w*(p[r]-y[r]),v.y+=w*(p.y-y.y)}if(m++,0>--n)break}}}o.forEach((function(r,n){if(r.plotX+=b,("undefined"===typeof r.plotY||f)&&(0<=r.plotX&&r.plotX<=h.len?f?(r.plotY=h.translate(r.x,0,1,0,1),r.plotX=a(r.y)?d.translate(r.y,0,0,0,1):0):r.plotY=(h.opposite?0:e.yAxis.len)+h.offset:r.shapeArgs={}),(t=o[n-1])&&t.plotX===r.plotX){"undefined"===typeof t.stackIndex&&(t.stackIndex=0);var i=t.stackIndex+1}r.stackIndex=i})),this.onSeries=c}var n=[];t.compose=function(t){if(-1===n.indexOf(t)){n.push(t);var i=t.prototype;i.getPlotBox=e,i.translate=r}return t},t.getPlotBox=e,t.translate=r}(n||(n={})),n})),e(r,"Series/Flags/FlagsSymbols.js",[r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"]],(function(t,e){function r(t){n[t+"pin"]=function(e,r,i,o,a){var s=a&&a.anchorX;a=a&&a.anchorY,"circle"===t&&o>i&&(e-=Math.round((o-i)/2),i=o);var c=n[t](e,r,i,o);if(s&&a){var u=s;"circle"===t?u=e+i/2:(e=c[0],i=c[1],"M"===e[0]&&"L"===i[0]&&(u=(e[1]+i[1])/2)),c.push(["M",u,r>a?r:r+o],["L",s,a]),c=c.concat(n.circle(s-1,a-1,2,2))}return c}}var n=e.prototype.symbols;return n.flag=function(t,e,r,i,o){var a=o&&o.anchorX||t;o=o&&o.anchorY||e;var s=n.circle(a-1,o-1,2,2);return s.push(["M",a,o],["L",t,e+i],["L",t,e],["L",t+r,e],["L",t+r,e+i],["L",t,e+i],["Z"]),s},r("circle"),r("square"),(t=t.getRendererType())!==e&&(t.prototype.symbols.circlepin=n.circlepin,t.prototype.symbols.flag=n.flag,t.prototype.symbols.squarepin=n.squarepin),n})),e(r,"Series/Flags/FlagsSeries.js",[r["Series/Flags/FlagsPoint.js"],r["Core/Globals.js"],r["Series/OnSeriesComposition.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();e=e.noop;var c=n.distribute,u=i.series,l=i.seriesTypes.column,f=a.addEvent,h=a.defined;n=a.extend;var d=a.merge,p=a.objectEach,m=a.wrap;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){t&&this.setClip()},e.prototype.drawPoints=function(){var t,e=this.points,r=this.chart,n=r.renderer,i=r.inverted,a=this.options,s=a.y,u=this.yAxis,l={},f=[];for(t=e.length;t--;){var b=e[t],v=(i?b.plotY:b.plotX)>this.xAxis.len,g=b.plotX,y=b.stackIndex,w=b.options.shape||a.shape,x=b.plotY;"undefined"!==typeof x&&(x=b.plotY+s-("undefined"!==typeof y&&y*a.stackDistance)),b.anchorX=y?void 0:b.plotX;var O=y?void 0:b.plotY,_="flag"!==w;y=b.graphic,"undefined"!==typeof x&&0<=g&&!v?(y&&b.hasNewShapeType()&&(y=y.destroy()),y||(y=b.graphic=n.label("",null,null,w,null,null,a.useHTML).addClass("highcharts-point").add(this.markerGroup),b.graphic.div&&(b.graphic.div.point=b),y.isNew=!0),y.attr({align:_?"center":"left",width:a.width,height:a.height,"text-align":a.textAlign}),r.styledMode||y.attr(this.pointAttribs(b)).css(d(a.style,b.style)).shadow(a.shadow),0<g&&(g-=y.strokeWidth()%2),w={y:x,anchorY:O},a.allowOverlapX&&(w.x=g,w.anchorX=b.anchorX),y.attr({text:b.options.title||a.title||"A"})[y.isNew?"attr":"animate"](w),a.allowOverlapX||(l[b.plotX]?l[b.plotX].size=Math.max(l[b.plotX].size,y.width):l[b.plotX]={align:_?.5:0,size:y.width,target:g,anchorX:g}),b.tooltipPos=[g,x+u.pos-r.plotTop]):y&&(b.graphic=y.destroy())}if(!a.allowOverlapX){var S=100;p(l,(function(t){t.plotX=t.anchorX,f.push(t),S=Math.max(t.size,S)})),c(f,i?u.len:this.xAxis.len,S),e.forEach((function(t){var e=t.graphic&&l[t.plotX];e&&(t.graphic[t.graphic.isNew?"attr":"animate"]({x:e.pos+e.align*e.size,anchorX:t.anchorX}),h(e.pos)?t.graphic.isNew=!1:(t.graphic.attr({x:-9999,anchorX:-9999}),t.graphic.isNew=!0))}))}a.useHTML&&m(this.markerGroup,"on",(function(t){return o.prototype.on.apply(t.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))}))},e.prototype.drawTracker=function(){var e=this.points;t.prototype.drawTracker.call(this),e.forEach((function(t){var r=t.graphic;r&&(t.unbindMouseOver&&t.unbindMouseOver(),t.unbindMouseOver=f(r.element,"mouseover",(function(){0<t.stackIndex&&!t.raised&&(t._y=r.y,r.attr({y:t._y-8}),t.raised=!0),e.forEach((function(e){e!==t&&e.raised&&e.graphic&&(e.graphic.attr({y:e._y}),e.raised=!1)}))})))}))},e.prototype.pointAttribs=function(t,e){var r=this.options,n=t&&t.color||this.color,i=r.lineColor,o=t&&t.lineWidth;return t=t&&t.fillColor||r.fillColor,e&&(t=r.states[e].fillColor,i=r.states[e].lineColor,o=r.states[e].lineWidth),{fill:t||n,stroke:i||n,"stroke-width":o||r.lineWidth||0}},e.prototype.setClip=function(){u.prototype.setClip.apply(this,arguments),!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])},e.defaultOptions=d(l.defaultOptions,{pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd6eb"}},style:{fontSize:"11px",fontWeight:"bold"}}),e}(l),r.compose(a),n(a.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:t,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:e,init:u.prototype.init,invertGroups:e}),i.registerSeriesType("flags",a),a})),e(r,"Core/Axis/ScrollbarAxis.js",[r["Core/Utilities.js"]],(function(t){var e=t.addEvent,r=t.defined,n=t.pick;return function(){function t(){}return t.compose=function(i,o){if(-1!==t.composed.indexOf(i))return i;t.composed.push(i);var a=function(t){var e=n(t.options&&t.options.min,t.min),i=n(t.options&&t.options.max,t.max);return{axisMin:e,axisMax:i,scrollMin:r(t.dataMin)?Math.min(e,t.min,t.dataMin,n(t.threshold,1/0)):e,scrollMax:r(t.dataMax)?Math.max(i,t.max,t.dataMax,n(t.threshold,-1/0)):i}};return e(i,"afterInit",(function(){var t=this;t.options&&t.options.scrollbar&&t.options.scrollbar.enabled&&(t.options.scrollbar.vertical=!t.horiz,t.options.startOnTick=t.options.endOnTick=!1,t.scrollbar=new o(t.chart.renderer,t.options.scrollbar,t.chart),e(t.scrollbar,"changed",(function(e){var n=a(t),i=n.axisMax,o=n.scrollMin,s=n.scrollMax-o;r(n.axisMin)&&r(i)&&(t.horiz&&!t.reversed||!t.horiz&&t.reversed?(n=o+s*this.to,o+=s*this.from):(n=o+s*(1-this.from),o+=s*(1-this.to)),this.shouldUpdateExtremes(e.DOMType)?t.setExtremes(o,n,!0,"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType,e):this.setRange(this.from,this.to))})))})),e(i,"afterRender",(function(){var t=a(this),e=t.scrollMin,n=t.scrollMax;t=this.scrollbar;var i=this.axisTitleMargin+(this.titleOffset||0),o=this.chart.scrollbarsOffsets,s=this.options.margin||0;t&&(this.horiz?(this.opposite||(o[1]+=i),t.position(this.left,this.top+this.height+2+o[1]-(this.opposite?s:0),this.width,this.height),this.opposite||(o[1]+=s),i=1):(this.opposite&&(o[0]+=i),t.position(t.options.opposite?this.left+this.width+2+o[0]-(this.opposite?0:s):this.opposite?0:s,this.top,this.width,this.height),this.opposite&&(o[0]+=s),i=0),o[i]+=t.size+t.options.margin,isNaN(e)||isNaN(n)||!r(this.min)||!r(this.max)||this.min===this.max?t.setRange(0,1):(o=(this.min-e)/(n-e),e=(this.max-e)/(n-e),this.horiz&&!this.reversed||!this.horiz&&this.reversed?t.setRange(o,e):t.setRange(1-e,1-o)))})),e(i,"afterGetOffset",(function(){var t=this.scrollbar&&!this.scrollbar.options.opposite;t=this.horiz?2:t?3:1;var e=this.scrollbar;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[t]+=e.size+e.options.margin)})),i},t.composed=[],t}()})),e(r,"Core/ScrollbarDefaults.js",[r["Core/Globals.js"]],(function(t){return{height:t.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:1,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"#333333",trackBackgroundColor:"#f2f2f2",trackBorderColor:"#f2f2f2",trackBorderWidth:1}})),e(r,"Core/Scrollbar.js",[r["Core/DefaultOptions.js"],r["Core/Globals.js"],r["Core/Axis/ScrollbarAxis.js"],r["Core/ScrollbarDefaults.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.defaultOptions,a=i.addEvent,s=i.correctFloat,c=i.defined,u=i.destroyObjectProperties,l=i.fireEvent,f=i.merge,h=i.pick,d=i.removeEvent;return t=function(){function t(t,e,r){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(t,e,r)}return t.compose=function(e){r.compose(e,t)},t.swapXY=function(t,e){return e&&t.forEach((function(t){for(var e,r=t.length,n=0;n<r;n+=2)"number"===typeof(e=t[n+1])&&(t[n+1]=t[n+2],t[n+2]=e)})),t},t.prototype.addEvents=function(){var t=this.options.inverted?[1,0]:[0,1],r=this.scrollbarButtons,n=this.scrollbarGroup.element,i=this.track.element,o=this.mouseDownHandler.bind(this),s=this.mouseMoveHandler.bind(this),c=this.mouseUpHandler.bind(this);t=[[r[t[0]].element,"click",this.buttonToMinClick.bind(this)],[r[t[1]].element,"click",this.buttonToMaxClick.bind(this)],[i,"click",this.trackClick.bind(this)],[n,"mousedown",o],[n.ownerDocument,"mousemove",s],[n.ownerDocument,"mouseup",c]],e.hasTouch&&t.push([n,"touchstart",o],[n.ownerDocument,"touchmove",s],[n.ownerDocument,"touchend",c]),t.forEach((function(t){a.apply(null,t)})),this._events=t},t.prototype.buttonToMaxClick=function(t){var e=(this.to-this.from)*h(this.options.step,.2);this.updatePosition(this.from+e,this.to+e),l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.buttonToMinClick=function(t){var e=s(this.to-this.from)*h(this.options.step,.2);this.updatePosition(s(this.from-e),s(this.to-e)),l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.cursorToScrollbarPosition=function(t){var e=this.options;return e=e.minWidth>this.calculatedWidth?e.minWidth:0,{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},t.prototype.destroy=function(){var t=this,e=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach((function(e){t[e]&&t[e].destroy&&(t[e]=t[e].destroy())})),e&&t===e.scrollbar&&(e.scrollbar=null,u(e.scrollbarButtons))},t.prototype.drawScrollbarButton=function(e){var r=this.renderer,n=this.scrollbarButtons,i=this.options,o=this.size,a=r.g().add(this.group);n.push(a),a=r.rect().addClass("highcharts-scrollbar-button").add(a),this.chart.styledMode||a.attr({stroke:i.buttonBorderColor,"stroke-width":i.buttonBorderWidth,fill:i.buttonBackgroundColor}),a.attr(a.crisp({x:-.5,y:-.5,width:o+1,height:o+1,r:i.buttonBorderRadius},a.strokeWidth())),a=r.path(t.swapXY([["M",o/2+(e?-1:1),o/2-3],["L",o/2+(e?-1:1),o/2+3],["L",o/2+(e?2:-2),o/2]],i.vertical)).addClass("highcharts-scrollbar-arrow").add(n[e]),this.chart.styledMode||a.attr({fill:i.buttonArrowColor})},t.prototype.init=function(t,e,r){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=f(n,o.scrollbar,e),this.chart=r,this.size=h(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},t.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},t.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),r=this.options.vertical?"chartY":"chartX",n=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][r]||(r=(e=this.cursorToScrollbarPosition(e)[r])-(r=this[r]),this.hasDragged=!0,this.updatePosition(n[0]+r,n[1]+r),this.hasDragged&&l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},t.prototype.mouseUpHandler=function(t){this.hasDragged&&l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},t.prototype.position=function(t,e,r,n){var i=this.options.vertical,o=this.rendered?"animate":"attr",a=0;this.x=t,this.y=e+this.trackBorderWidth,this.width=r,this.xOffset=this.height=n,this.yOffset=a,i?(this.width=this.yOffset=r=a=this.size,this.xOffset=e=0,this.barWidth=n-2*r,this.x=t+=this.options.margin):(this.height=this.xOffset=n=e=this.size,this.barWidth=r-2*n,this.y+=this.options.margin),this.group[o]({translateX:t,translateY:this.y}),this.track[o]({width:r,height:n}),this.scrollbarButtons[1][o]({translateX:i?0:r-e,translateY:i?n-a:0})},t.prototype.removeEvents=function(){this._events.forEach((function(t){d.apply(null,t)})),this._events.length=0},t.prototype.render=function(){var e=this.renderer,r=this.options,n=this.size,i=this.chart.styledMode,o=e.g("scrollbar").attr({zIndex:r.zIndex,translateY:-99999}).add();this.group=o,this.track=e.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:r.trackBorderRadius||0,height:n,width:n}).add(o),i||this.track.attr({fill:r.trackBackgroundColor,stroke:r.trackBorderColor,"stroke-width":r.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=e.g().add(o),this.scrollbar=e.rect().addClass("highcharts-scrollbar-thumb").attr({height:n,width:n,r:r.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=e.path(t.swapXY([["M",-3,n/4],["L",-3,2*n/3],["M",0,n/4],["L",0,2*n/3],["M",3,n/4],["L",3,2*n/3]],r.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),i||(this.scrollbar.attr({fill:r.barBackgroundColor,stroke:r.barBorderColor,"stroke-width":r.barBorderWidth}),this.scrollbarRifles.attr({stroke:r.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},t.prototype.setRange=function(t,e){var r=this.options,n=r.vertical,i=r.minWidth,o=this.barWidth,a=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(c(o)){var u=o*Math.min(e,1);t=Math.max(t,0);var l=Math.ceil(o*t);this.calculatedWidth=u=s(u-l),u<i&&(l=(o-i+u)*t,u=i),i=Math.floor(l+this.xOffset+this.yOffset),o=u/2-.5,this.from=t,this.to=e,n?(this.scrollbarGroup[a]({translateY:i}),this.scrollbar[a]({height:u}),this.scrollbarRifles[a]({translateY:o}),this.scrollbarTop=i,this.scrollbarLeft=0):(this.scrollbarGroup[a]({translateX:i}),this.scrollbar[a]({width:u}),this.scrollbarRifles[a]({translateX:o}),this.scrollbarLeft=i,this.scrollbarTop=0),12>=u?this.scrollbarRifles.hide():this.scrollbarRifles.show(!0),!1===r.showFull&&(0>=t&&1<=e?this.group.hide():this.group.show()),this.rendered=!0}},t.prototype.shouldUpdateExtremes=function(t){return h(this.options.liveRedraw,e.svg&&!e.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===t||"touchend"===t||!c(t)},t.prototype.trackClick=function(t){var e=this.chart.pointer.normalize(t),r=this.to-this.from,n=this.y+this.scrollbarTop,i=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>n||!this.options.vertical&&e.chartX>i?this.updatePosition(this.from+r,this.to+r):this.updatePosition(this.from-r,this.to-r),l(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,f(!0,this.options,t),this.chart)},t.prototype.updatePosition=function(t,e){1<e&&(t=s(1-s(e-t)),e=1),0>t&&(e=s(e-t),t=0),this.from=t,this.to=e},t.defaultOptions=n,t}(),o.scrollbar=f(!0,t.defaultOptions,o.scrollbar),t})),e(r,"Core/Axis/NavigatorAxis.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.isTouchDevice,n=e.addEvent,i=e.correctFloat,o=e.defined,a=e.isNumber,s=e.pick,c=function(){function t(t){this.axis=t}return t.prototype.destroy=function(){this.axis=void 0},t.prototype.toFixedRange=function(t,e,r,n){var c=this.axis,u=c.chart;u=u&&u.fixedRange;var l=(c.pointRange||0)/2;return t=s(r,c.translate(t,!0,!c.horiz)),e=s(n,c.translate(e,!0,!c.horiz)),c=u&&(e-t)/u,o(r)||(t=i(t+l)),o(n)||(e=i(e-l)),.7<c&&1.3>c&&(n?t=e-u:e=t+u),a(t)&&a(e)||(t=e=void 0),{min:t,max:e}},t}();return function(){function t(){}return t.compose=function(t){t.keepProps.push("navigatorAxis"),n(t,"init",(function(){this.navigatorAxis||(this.navigatorAxis=new c(this))})),n(t,"zoom",(function(t){var e=this.chart.options,n=e.navigator,i=this.navigatorAxis,a=e.chart.pinchType,s=e.rangeSelector;e=e.chart.zoomType,this.isXAxis&&(n&&n.enabled||s&&s.enabled)&&("y"===e?t.zoomed=!1:(!r&&"xy"===e||r&&"xy"===a)&&this.options.range&&(n=i.previousZoom,o(t.newMin)?i.previousZoom=[this.min,this.max]:n&&(t.newMin=n[0],t.newMax=n[1],i.previousZoom=void 0))),"undefined"!==typeof t.zoomed&&t.preventDefault()}))},t.AdditionsClass=c,t}()})),e(r,"Core/Navigator.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Axis/NavigatorAxis.js"],r["Core/DefaultOptions.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Scrollbar.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c,u,l){r=r.parse;var f=n.hasTouch,h=n.isTouchDevice,d=o.defaultOptions,p=l.addEvent,m=l.clamp,b=l.correctFloat,v=l.defined,g=l.destroyObjectProperties,y=l.erase,w=l.extend,x=l.find,O=l.isArray,_=l.isNumber,S=l.merge,k=l.pick,E=l.removeEvent,M=l.splat,C=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(e=[].filter.call(e,_),e.length)return Math[t].apply(0,e)};o="undefined"===typeof u.seriesTypes.areaspline?"line":"areaspline",w(d,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:r("#6685c2").setOpacity(.3).get(),outlineColor:"#cccccc",outlineWidth:1,series:{type:o,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#999999"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}}),a.getRendererType().prototype.symbols["navigator-handle"]=function(t,e,r,n,i){return t=(i&&i.width||0)/2,e=Math.round(t/3)+.5,[["M",-t-1,.5],["L",t,.5],["L",t,(i=i&&i.height||0)+.5],["L",-t-1,i+.5],["L",-t-1,.5],["M",-e,4],["L",-e,i-3],["M",e-1,4],["L",e-1,i-3]]};var j=function(){function e(t){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=this.chart=this.baseSeries=void 0,this.init(t)}return e.prototype.drawHandle=function(t,e,r,n){var i=this.navigatorOptions.handles.height;this.handles[e][n](r?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(t,10)+.5-i)}:{translateX:Math.round(this.left+parseInt(t,10)),translateY:Math.round(this.top+this.height/2-i/2-1)})},e.prototype.drawOutline=function(t,e,r,n){var i=this.navigatorOptions.maskInside,o=this.outline.strokeWidth(),a=o/2,s=o%2/2;o=this.outlineHeight;var c=this.scrollbarHeight||0,u=this.size,l=this.left-c,f=this.top;r?(s=[["M",(l-=a)+o,f-c-s],["L",l+o,r=f+e+s],["L",l,r],["L",l,e=f+t+s],["L",l+o,e],["L",l+o,f+u+c]],i&&s.push(["M",l+o,r-a],["L",l+o,e+a])):(s=[["M",l,f+=a],["L",t+=l+c-s,f],["L",t,f+o],["L",e+=l+c-s,f+o],["L",e,f],["L",l+u+2*c,f]],i&&s.push(["M",t-a,f],["L",e+a,f])),this.outline[n]({d:s})},e.prototype.drawMasks=function(t,e,r,n){var i=this.left,o=this.top,a=this.height;if(r)var s=[i,i,i],c=[o,o+t,o+e],u=[a,a,a],l=[t,e-t,this.size-e];else s=[i,i+t,i+e],c=[o,o,o],u=[t,e-t,this.size-e],l=[a,a,a];this.shades.forEach((function(t,e){t[n]({x:s[e],y:c[e],width:u[e],height:l[e]})}))},e.prototype.renderElements=function(){var t,e=this,r=e.navigatorOptions,n=r.maskInside,i=e.chart,o=i.renderer,a={cursor:i.inverted?"ns-resize":"ew-resize"};e.navigatorGroup=t=o.g("navigator").attr({zIndex:8,visibility:"hidden"}).add(),[!n,n,!n].forEach((function(n,s){e.shades[s]=o.rect().addClass("highcharts-navigator-mask"+(1===s?"-inside":"-outside")).add(t),i.styledMode||e.shades[s].attr({fill:n?r.maskFill:"rgba(0,0,0,0)"}).css(1===s&&a)})),e.outline=o.path().addClass("highcharts-navigator-outline").add(t),i.styledMode||e.outline.attr({"stroke-width":r.outlineWidth,stroke:r.outlineColor}),r.handles.enabled&&[0,1].forEach((function(n){if(r.handles.inverted=i.inverted,e.handles[n]=o.symbol(r.handles.symbols[n],-r.handles.width/2-1,0,r.handles.width,r.handles.height,r.handles),e.handles[n].attr({zIndex:7-n}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][n]).add(t),!i.styledMode){var s=r.handles;e.handles[n].attr({fill:s.backgroundColor,stroke:s.borderColor,"stroke-width":s.lineWidth}).css(a)}}))},e.prototype.update=function(t){(this.series||[]).forEach((function(t){t.baseSeries&&delete t.baseSeries.navigatorSeries})),this.destroy(),S(!0,this.chart.options.navigator,this.options,t),this.init(this.chart)},e.prototype.render=function(t,e,r,n){var i,o,a=this.chart,s=this.scrollbarHeight,c=this.xAxis,u=c.pointRange||0,l=c.navigatorAxis.fake?a.xAxis[0]:c,f=this.navigatorEnabled,h=this.rendered,d=a.inverted,p=a.xAxis[0].minRange,g=a.xAxis[0].options.maxRange;if(!this.hasDragged||v(r)){if(t=b(t-u/2),e=b(e+u/2),!_(t)||!_(e)){if(!h)return;r=0,n=k(c.width,l.width)}this.left=k(c.left,a.plotLeft+s+(d?a.plotWidth:0)),this.size=o=i=k(c.len,(d?a.plotHeight:a.plotWidth)-2*s),a=d?s:i+2*s,r=k(r,c.toPixels(t,!0)),n=k(n,c.toPixels(e,!0)),_(r)&&1/0!==Math.abs(r)||(r=0,n=a),t=c.toValue(r,!0),e=c.toValue(n,!0);var y=Math.abs(b(e-t));y<p?this.grabbedLeft?r=c.toPixels(e-p-u,!0):this.grabbedRight&&(n=c.toPixels(t+p+u,!0)):v(g)&&b(y-u)>g&&(this.grabbedLeft?r=c.toPixels(e-g-u,!0):this.grabbedRight&&(n=c.toPixels(t+g+u,!0))),this.zoomedMax=m(Math.max(r,n),0,o),this.zoomedMin=m(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(r,n),0,o),this.range=this.zoomedMax-this.zoomedMin,o=Math.round(this.zoomedMax),r=Math.round(this.zoomedMin),f&&(this.navigatorGroup.attr({visibility:"visible"}),h=h&&!this.hasDragged?"animate":"attr",this.drawMasks(r,o,d,h),this.drawOutline(r,o,d,h),this.navigatorOptions.handles.enabled&&(this.drawHandle(r,0,d,h),this.drawHandle(o,1,d,h))),this.scrollbar&&(d?(d=this.top-s,l=this.left-s+(f||!l.opposite?0:(l.titleOffset||0)+l.axisTitleMargin),s=i+2*s):(d=this.top+(f?this.height:-s),l=this.left-s),this.scrollbar.position(l,d,a,s),this.scrollbar.setRange(this.zoomedMin/(i||1),this.zoomedMax/(i||1))),this.rendered=!0}},e.prototype.addMouseEvents=function(){var t,e,r=this,n=r.chart,i=n.container,o=[];r.mouseMoveHandler=t=function(t){r.onMouseMove(t)},r.mouseUpHandler=e=function(t){r.onMouseUp(t)},(o=r.getPartsEvents("mousedown")).push(p(n.renderTo,"mousemove",t),p(i.ownerDocument,"mouseup",e)),f&&(o.push(p(n.renderTo,"touchmove",t),p(i.ownerDocument,"touchend",e)),o.concat(r.getPartsEvents("touchstart"))),r.eventsToUnbind=o,r.series&&r.series[0]&&o.push(p(r.series[0].xAxis,"foundExtremes",(function(){n.navigator.modifyNavigatorAxisExtremes()})))},e.prototype.getPartsEvents=function(t){var e=this,r=[];return["shades","handles"].forEach((function(n){e[n].forEach((function(i,o){r.push(p(i.element,t,(function(t){e[n+"Mousedown"](t,o)})))}))})),r},e.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var r=this.chart,n=this.xAxis,i=this.zoomedMin,o=this.left,a=this.size,s=this.range,c=t.chartX;if(r.inverted&&(c=t.chartY,o=this.top),1===e)this.grabbedCenter=c,this.fixedWidth=s,this.dragOffset=c-i;else{if(t=c-o-s/2,0===e)t=Math.max(0,t);else if(2===e&&t+s>=a)if(t=a-s,this.reversedExtremes){t-=s;var u=this.getUnionExtremes().dataMin}else var l=this.getUnionExtremes().dataMax;t!==i&&(this.fixedWidth=s,e=n.navigatorAxis.toFixedRange(t,t+s,u,l),v(e.min)&&r.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"}))}},e.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var r=(t=this.chart).xAxis[0],n=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=n?r.min:r.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=n?r.max:r.min),t.fixedRange=null},e.prototype.onMouseMove=function(t){var e=this,r=e.chart,i=e.left,o=e.navigatorSize,a=e.range,s=e.dragOffset,c=r.inverted;t.touches&&0===t.touches[0].pageX||(t=r.pointer.normalize(t),r=t.chartX,c&&(i=e.top,r=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,r-i,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,r-i)):e.grabbedCenter&&(e.hasDragged=!0,r<s?r=s:r>o+s-a&&(r=o+s-a),e.render(0,0,r-s,r-s+a)),e.hasDragged&&e.scrollbar&&k(e.scrollbar.options.liveRedraw,n.svg&&!h&&!this.chart.isBoosting)&&(t.DOMType=t.type,setTimeout((function(){e.onMouseUp(t)}),0)))},e.prototype.onMouseUp=function(t){var e=this.chart,r=this.xAxis,n=this.scrollbar,i=t.DOMEvent||t,o=e.inverted,a=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!n||!n.hasDragged)||"scrollbar"===t.trigger){if(n=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos)var s=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var c=this.fixedExtreme;this.zoomedMax===this.size&&(c=this.reversedExtremes?n.dataMin:n.dataMax),0===this.zoomedMin&&(s=this.reversedExtremes?n.dataMax:n.dataMin),r=r.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,s,c),v(r.min)&&e.xAxis[0].setExtremes(Math.min(r.min,r.max),Math.max(r.min,r.max),!0,!this.hasDragged&&null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:i})}"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&_(this.zoomedMin)&&_(this.zoomedMax)&&(e=Math.round(this.zoomedMin),t=Math.round(this.zoomedMax),this.shades&&this.drawMasks(e,t,o,a),this.outline&&this.drawOutline(e,t,o,a),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(e,0,o,a),this.drawHandle(t,1,o,a)))},e.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()},e.prototype.removeBaseSeriesEvents=function(){var t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&t.forEach((function(t){E(t,"updatedData",this.updatedDataHandler)}),this),t[0].xAxis&&E(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))},e.prototype.init=function(e){var r=e.options,n=r.navigator,o=n.enabled,a=r.scrollbar,c=a.enabled;r=o?n.height:0;var u=c?a.height:0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=r,this.scrollbarHeight=u,this.scrollbarEnabled=c,this.navigatorEnabled=o,this.navigatorOptions=n,this.scrollbarOptions=a,this.outlineHeight=r+u,this.opposite=k(n.opposite,!(o||!e.inverted));var l=this;o=l.baseSeries,a=e.xAxis.length,c=e.yAxis.length;var f=o&&o[0]&&o[0].xAxis||e.xAxis[0]||{options:{}};e.isDirtyBox=!0,l.navigatorEnabled?(l.xAxis=new t(e,S({breaks:f.options.breaks,ordinal:f.options.ordinal},n.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:a,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},e.inverted?{offsets:[u,0,-u,0],width:r}:{offsets:[0,-u,0,u],height:r})),l.yAxis=new t(e,S(n.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:c,isInternal:!0,reversed:k(n.yAxis&&n.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:r}:{height:r})),o||n.series.data?l.updateNavigatorSeries(!1):0===e.series.length&&(l.unbindRedraw=p(e,"beforeRedraw",(function(){0<e.series.length&&!l.series&&(l.setBaseSeries(),l.unbindRedraw())}))),l.reversedExtremes=e.inverted&&!l.xAxis.reversed||!e.inverted&&l.xAxis.reversed,l.renderElements(),l.addMouseEvents()):(l.xAxis={chart:e,navigatorAxis:{fake:!0},translate:function(t,r){var n=e.xAxis[0],i=n.getExtremes(),o=n.len-2*u,a=C("min",n.options.min,i.dataMin);return n=C("max",n.options.max,i.dataMax)-a,r?t*n/o+a:o*(t-a)/n},toPixels:function(t){return this.translate(t)},toValue:function(t){return this.translate(t,!0)}},l.xAxis.navigatorAxis.axis=l.xAxis,l.xAxis.navigatorAxis.toFixedRange=i.AdditionsClass.prototype.toFixedRange.bind(l.xAxis.navigatorAxis)),e.options.scrollbar.enabled&&(e.scrollbar=l.scrollbar=new s(e.renderer,S(e.options.scrollbar,{margin:l.navigatorEnabled?0:10,vertical:e.inverted}),e),p(l.scrollbar,"changed",(function(t){var e=l.size,r=e*this.to;e*=this.from,l.hasDragged=l.scrollbar.hasDragged,l.render(0,0,e,r),this.shouldUpdateExtremes(t.DOMType)&&setTimeout((function(){l.onMouseUp(t)}))}))),l.addBaseSeriesEvents(),l.addChartEvents()},e.prototype.getUnionExtremes=function(t){var e,r=this.chart.xAxis[0],n=this.xAxis,i=n.options,o=r.options;return t&&null===r.dataMin||(e={dataMin:k(i&&i.min,C("min",o.min,r.dataMin,n.dataMin,n.min)),dataMax:k(i&&i.max,C("max",o.max,r.dataMax,n.dataMax,n.max))}),e},e.prototype.setBaseSeries=function(t,e){var r=this.chart,n=this.baseSeries=[];t=t||r.options&&r.options.navigator.baseSeries||(r.series.length?x(r.series,(function(t){return!t.options.isInternal})).index:0),(r.series||[]).forEach((function(e,r){e.options.isInternal||!e.options.showInNavigator&&(r!==t&&e.options.id!==t||!1===e.options.showInNavigator)||n.push(e)})),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,e)},e.prototype.updateNavigatorSeries=function(t,e){var r,n,i,o=this,a=o.chart,s=o.baseSeries,c=o.navigatorOptions.series,u={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},l=o.series=(o.series||[]).filter((function(t){var e=t.baseSeries;return!(0>s.indexOf(e))||(e&&(E(e,"updatedData",o.updatedDataHandler),delete e.navigatorSeries),t.chart&&t.destroy(),!1)}));s&&s.length&&s.forEach((function(t){var f=t.navigatorSeries,h=w({color:t.color,visible:t.visible},O(c)?d.navigator.series:c);f&&!1===o.navigatorOptions.adaptToUpdatedData||(u.name="Navigator "+s.length,r=t.options||{},i=r.navigatorOptions||{},h.dataLabels=M(h.dataLabels),(n=S(r,u,h,i)).pointRange=k(h.pointRange,i.pointRange,d.plotOptions[n.type||"line"].pointRange),h=i.data||h.data,o.hasNavigatorData=o.hasNavigatorData||!!h,n.data=h||r.data&&r.data.slice(0),f&&f.options?f.update(n,e):(t.navigatorSeries=a.initSeries(n),t.navigatorSeries.baseSeries=t,l.push(t.navigatorSeries)))})),(!c.data||s&&s.length)&&!O(c)||(o.hasNavigatorData=!1,(c=M(c)).forEach((function(t,e){u.name="Navigator "+(l.length+1),(n=S(d.navigator.series,{color:a.series[e]&&!a.series[e].options.isInternal&&a.series[e].color||a.options.colors[e]||a.options.colors[0]},u,t)).data=t.data,n.data&&(o.hasNavigatorData=!0,l.push(a.initSeries(n)))}))),t&&this.addBaseSeriesEvents()},e.prototype.addBaseSeriesEvents=function(){var t=this,e=t.baseSeries||[];e[0]&&e[0].xAxis&&e[0].eventsToUnbind.push(p(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),e.forEach((function(e){e.eventsToUnbind.push(p(e,"show",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}))),e.eventsToUnbind.push(p(e,"hide",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}))),!1!==this.navigatorOptions.adaptToUpdatedData&&e.xAxis&&e.eventsToUnbind.push(p(e,"updatedData",this.updatedDataHandler)),e.eventsToUnbind.push(p(e,"remove",(function(){this.navigatorSeries&&(y(t.series,this.navigatorSeries),v(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})))}),this)},e.prototype.getBaseSeriesMin=function(t){return this.baseSeries.reduce((function(t,e){return Math.min(t,e.xData?e.xData[0]:t)}),t)},e.prototype.modifyNavigatorAxisExtremes=function(){var t,e=this.xAxis;"undefined"!==typeof e.getExtremes&&(!(t=this.getUnionExtremes(!0))||t.dataMin===e.min&&t.dataMax===e.max||(e.min=t.dataMin,e.max=t.dataMax))},e.prototype.modifyBaseAxisExtremes=function(){var t=this.chart.navigator,e=this.getExtremes(),r=e.dataMin,n=e.dataMax;e=e.max-e.min;var i=t.stickToMin,o=t.stickToMax,a=k(this.options.overscroll,0),s=t.series&&t.series[0],c=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(i)var u=r,l=r+e;o&&(l=n+a,i||(u=Math.max(r,l-e,t.getBaseSeriesMin(s&&s.xData?s.xData[0]:-Number.MAX_VALUE)))),c&&(i||o)&&_(u)&&(this.min=this.userMin=u,this.max=this.userMax=l)}t.stickToMin=t.stickToMax=null},e.prototype.updatedDataHandler=function(){var t=this.chart.navigator,e=this.navigatorSeries;t.stickToMax=t.reversedExtremes?0===Math.round(t.zoomedMin):Math.round(t.zoomedMax)>=Math.round(t.size),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},e.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);var r=t.xAxis;t=r.max;var n=r.min;return r=r.options.range,!(!_(t)||!_(n))&&(r&&0<t-e?t-e<r:n<=e)},e.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(p(this.chart,"redraw",(function(){var t=this.navigator,e=t&&(t.baseSeries&&t.baseSeries[0]&&t.baseSeries[0].xAxis||this.xAxis[0]);e&&t.render(e.min,e.max)})),p(this.chart,"getMargins",(function(){var t=this.navigator,e=t.opposite?"plotTop":"marginBottom";this.inverted&&(e=t.opposite?"marginRight":"plotLeft"),this[e]=(this[e]||0)+(t.navigatorEnabled||!this.inverted?t.outlineHeight:0)+t.navigatorOptions.margin})))},e.prototype.destroy=function(){this.removeEvents(),this.xAxis&&(y(this.chart.xAxis,this.xAxis),y(this.chart.axes,this.xAxis)),this.yAxis&&(y(this.chart.yAxis,this.yAxis),y(this.chart.axes,this.yAxis)),(this.series||[]).forEach((function(t){t.destroy&&t.destroy()})),"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach((function(t){this[t]&&this[t].destroy&&this[t].destroy(),this[t]=null}),this),[this.handles].forEach((function(t){g(t)}),this)},e}();return n.Navigator||(n.Navigator=j,i.compose(t),p(e,"beforeShowResetZoom",(function(){var t=this.options,e=t.navigator,r=t.rangeSelector;if((e&&e.enabled||r&&r.enabled)&&(!h&&"x"===t.chart.zoomType||h&&"x"===t.chart.pinchType))return!1})),p(e,"beforeRender",(function(){var t=this.options;(t.navigator.enabled||t.scrollbar.enabled)&&(this.scroller=this.navigator=new j(this))})),p(e,"afterSetChartSize",(function(){var t=this.legend,e=this.navigator;if(e){var r=t&&t.options,n=e.xAxis,i=e.yAxis,o=e.scrollbarHeight;this.inverted?(e.left=e.opposite?this.chartWidth-o-e.height:this.spacing[3]+o,e.top=this.plotTop+o):(e.left=k(n.left,this.plotLeft+o),e.top=e.navigatorOptions.top||this.chartHeight-e.height-o-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(r&&"bottom"===r.verticalAlign&&"proximate"!==r.layout&&r.enabled&&!r.floating?t.legendHeight+k(r.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),n&&i&&(this.inverted?n.options.left=i.options.left=e.left:n.options.top=i.options.top=e.top,n.setAxisSize(),i.setAxisSize())}})),p(e,"update",(function(t){var e=t.options.navigator||{},r=t.options.scrollbar||{};this.navigator||this.scroller||!e.enabled&&!r.enabled||(S(!0,this.options.navigator,e),S(!0,this.options.scrollbar,r),delete t.options.navigator,delete t.options.scrollbar)})),p(e,"afterUpdate",(function(t){this.navigator||this.scroller||!this.options.navigator.enabled&&!this.options.scrollbar.enabled||(this.scroller=this.navigator=new j(this),k(t.redraw,!0)&&this.redraw(t.animation))})),p(e,"afterAddSeries",(function(){this.navigator&&this.navigator.setBaseSeries(null,!1)})),p(c,"afterUpdate",(function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)})),e.prototype.callbacks.push((function(t){var e=t.navigator;e&&t.xAxis[0]&&(t=t.xAxis[0].getExtremes(),e.render(t.min,t.max))}))),n.Navigator=j,n.Navigator})),e(r,"Extensions/RangeSelector.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Globals.js"],r["Core/DefaultOptions.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=n.defaultOptions,s=o.addEvent,c=o.createElement,u=o.css,l=o.defined,f=o.destroyObjectProperties,h=o.discardElement,d=o.extend,p=o.find,m=o.fireEvent,b=o.isNumber,v=o.merge,g=o.objectEach,y=o.pad,w=o.pick,x=o.pInt,O=o.splat;d(a,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}),d(a.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"});var _=function(){function e(t){this.buttons=void 0,this.buttonOptions=e.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=t,this.init(t)}return e.prototype.clickButton=function(e,r){var n=this.chart,i=this.buttonOptions[e],o=n.xAxis[0],a=n.scroller&&n.scroller.getUnionExtremes()||o||{},c=a.dataMin,u=a.dataMax,f=o&&Math.round(Math.min(o.max,w(u,o.max))),h=i.type;a=i._range;var d,p=i.dataGrouping;if(null!==c&&null!==u){if(n.fixedRange=a,this.setSelected(e),p&&(this.forcedDataGrouping=!0,t.prototype.setDataGrouping.call(o||{chart:this.chart},p,!1),this.frozenStates=i.preserveDataGrouping),"month"===h||"year"===h)if(o){h={range:i,max:f,chart:n,dataMin:c,dataMax:u};var v=o.minFromRange.call(h);b(h.newMax)&&(f=h.newMax)}else a=i;else if(a)v=Math.max(f-a,c),f=Math.min(v+a,u);else if("ytd"===h){if(!o)return void(this.deferredYTDClick=e);"undefined"===typeof u&&(c=Number.MAX_VALUE,u=Number.MIN_VALUE,n.series.forEach((function(t){t=t.xData,c=Math.min(t[0],c),u=Math.max(t[t.length-1],u)})),r=!1),v=d=(f=this.getYTDExtremes(u,c,n.time.useUTC)).min,f=f.max}else"all"===h&&o&&(n.navigator&&n.navigator.baseSeries[0]&&(n.navigator.baseSeries[0].xAxis.options.range=void 0),v=c,f=u);if(l(v)&&(v+=i._offsetMin),l(f)&&(f+=i._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=e+1),o)o.setExtremes(v,f,w(r,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:i});else{var g=O(n.options.xAxis)[0],y=g.range;g.range=a;var x=g.min;g.min=d,s(n,"load",(function(){g.range=y,g.min=x}))}m(this,"afterBtnClick")}},e.prototype.setSelected=function(t){this.selected=this.options.selected=t},e.prototype.init=function(t){var e=this,r=t.options.rangeSelector,n=r.buttons||e.defaultButtons.slice(),i=r.selected,o=function(){var t=e.minInput,r=e.maxInput;t&&t.blur&&m(t,"blur"),r&&r.blur&&m(r,"blur")};e.chart=t,e.options=r,e.buttons=[],e.buttonOptions=n,this.eventsToUnbind=[],this.eventsToUnbind.push(s(t.container,"mousedown",o)),this.eventsToUnbind.push(s(t,"resize",o)),n.forEach(e.computeButtonRange),"undefined"!==typeof i&&n[i]&&this.clickButton(i,!1),this.eventsToUnbind.push(s(t,"load",(function(){t.xAxis&&t.xAxis[0]&&s(t.xAxis[0],"setExtremes",(function(r){this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==r.trigger&&"updatedData"!==r.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)}))})))},e.prototype.updateButtonStates=function(){var t=this,e=this.chart,r=this.dropdown,n=e.xAxis[0],i=Math.round(n.max-n.min),o=!n.hasVisibleSeries,a=e.scroller&&e.scroller.getUnionExtremes()||n,s=a.dataMin,c=a.dataMax,u=(e=t.getYTDExtremes(c,s,e.time.useUTC)).min,l=e.max,f=t.selected,h=b(f),d=t.options.allButtonsEnabled,p=t.buttons;t.buttonOptions.forEach((function(e,a){var m=e._range,b=e.type,v=e.count||1,g=p[a],y=0,w=e._offsetMax-e._offsetMin;e=a===f;var x=m>c-s,O=m<n.minRange,_=!1,S=!1;m=m===i,("month"===b||"year"===b)&&i+36e5>=864e5*{month:28,year:365}[b]*v-w&&i-36e5<=864e5*{month:31,year:366}[b]*v+w?m=!0:"ytd"===b?(m=l-u+w===i,_=!e):"all"===b&&(m=n.max-n.min>=c-s,S=!e&&h&&m),b=!d&&(x||O||S||o),v=e&&m||m&&!h&&!_||e&&t.frozenStates,b?y=3:v&&(h=!0,y=2),g.state!==y&&(g.setState(y),r&&(r.options[a+1].disabled=b,2===y&&(r.selectedIndex=a+1)),0===y&&f===a&&t.setSelected())}))},e.prototype.computeButtonRange=function(t){var e=t.type,r=t.count||1,n={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};n[e]?t._range=n[e]*r:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*r),t._offsetMin=w(t.offsetMin,0),t._offsetMax=w(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},e.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,r=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,r.useUTC,r):0},e.prototype.setInputValue=function(t,e){var r=this.options,n=this.chart.time,i="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,i){var o=i.getAttribute("data-hc-time");o=l(o)?Number(o):void 0,l(e)&&(l(o)&&i.setAttribute("data-hc-time-previous",o),i.setAttribute("data-hc-time",e),o=e),i.value=n.dateFormat(this.inputTypeFormats[i.type]||r.inputEditDateFormat,o),t&&t.attr({text:n.dateFormat(r.inputDateFormat,o)})}},e.prototype.setInputExtremes=function(t,e,r){if(t="min"===t?this.minInput:this.maxInput){var n=this.inputTypeFormats[t.type],i=this.chart.time;n&&(e=i.dateFormat(n,e),t.min!==e&&(t.min=e),r=i.dateFormat(n,r),t.max!==r&&(t.max=r))}},e.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var r="text"===t.type,n=this.inputGroup,i=n.translateX;n=n.translateY;var o=this.options.inputBoxWidth;u(t,{width:r?e.width+(o?-2:20)+"px":"auto",height:r?e.height-2+"px":"auto",border:"2px solid silver"}),u(t,r&&o?{left:i+e.x+"px",top:n+"px"}:{left:Math.min(Math.round(e.x+i-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:n-(t.offsetHeight-e.height)/2+"px"})}},e.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&u(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},e.prototype.defaultInputDateParser=function(t,e,n){var i,o=t.split("/").join("-").split(" ").join("T");(-1===o.indexOf("T")&&(o+="T00:00"),e)?o+="Z":((i=r.isSafari)&&(i=!(6<(i=o).length&&(i.lastIndexOf("-")===i.length-6||i.lastIndexOf("+")===i.length-6))),i&&(o+=0>=(i=new Date(o).getTimezoneOffset()/60)?"+"+y(-i)+":00":"-"+y(i)+":00"));return o=Date.parse(o),b(o)||(t=t.split("-"),o=Date.UTC(x(t[0]),x(t[1])-1,x(t[2]))),n&&e&&b(o)&&(o+=n.getTimezoneOffset(o)),o},e.prototype.drawInput=function(t){function e(){var e=s.getInputValue(t),r=n.xAxis[0],i=n.scroller&&n.scroller.xAxis?n.scroller.xAxis:r,o=i.dataMin;i=i.dataMax;var a=s.maxInput,c=s.minInput;e!==Number(g.getAttribute("data-hc-time-previous"))&&b(e)&&(g.setAttribute("data-hc-time-previous",e),p&&a&&b(o)?e>Number(a.getAttribute("data-hc-time"))?e=void 0:e<o&&(e=o):c&&b(i)&&(e<Number(c.getAttribute("data-hc-time"))?e=void 0:e>i&&(e=i)),"undefined"!==typeof e&&r.setExtremes(p?e:r.min,p?r.max:e,void 0,void 0,{trigger:"rangeSelectorInput"}))}var n=this.chart,i=this.div,o=this.inputGroup,s=this,l=n.renderer.style||{},f=n.renderer,h=n.options.rangeSelector,p="min"===t,m=a.lang[p?"rangeSelectorFrom":"rangeSelectorTo"]||"";m=f.label(m,0).addClass("highcharts-range-label").attr({padding:m?2:0,height:m?h.inputBoxHeight:0}).add(o),f=f.label("",0).addClass("highcharts-range-input").attr({padding:2,width:h.inputBoxWidth,height:h.inputBoxHeight,"text-align":"center"}).on("click",(function(){s.showInput(t),s[t+"Input"].focus()})),n.styledMode||f.attr({stroke:h.inputBoxBorderColor,"stroke-width":1}),f.add(o);var g=c("input",{name:t,className:"highcharts-range-selector"},void 0,i);g.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some((function(e){return-1!==t.indexOf("%"+e)})),r="HkIlMS".split("").some((function(e){return-1!==t.indexOf("%"+e)}));return e&&r?"datetime-local":e?"date":r?"time":"text"}(h.inputDateFormat||"%b %e, %Y")),n.styledMode||(m.css(v(l,h.labelStyle)),f.css(v({color:"#333333"},l,h.inputStyle)),u(g,d({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:l.fontSize,fontFamily:l.fontFamily,top:"-9999em"},h.inputStyle))),g.onfocus=function(){s.showInput(t)},g.onblur=function(){g===r.doc.activeElement&&e(),s.hideInput(t),s.setInputValue(t),g.blur()};var y=!1;return g.onchange=function(){y||(e(),s.hideInput(t),g.blur())},g.onkeypress=function(t){13===t.keyCode&&e()},g.onkeydown=function(t){y=!0,38!==t.keyCode&&40!==t.keyCode||e()},g.onkeyup=function(){y=!1},{dateBox:f,input:g,label:m}},e.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}},e.prototype.getYTDExtremes=function(t,e,r){var n=this.chart.time,i=new n.Date(t),o=n.get("FullYear",i);return r=r?n.Date.UTC(o,0,1):+new n.Date(o,0,1),e=Math.max(e,r),i=i.getTime(),{max:Math.min(t||i,i),min:e}},e.prototype.render=function(t,e){var r=this.chart,n=r.renderer,i=r.container,o=r.options,a=o.rangeSelector,s=w(o.chart.style&&o.chart.style.zIndex,0)+1;if(o=a.inputEnabled,!1!==a.enabled){if(this.rendered||(this.group=n.g("range-selector-group").attr({zIndex:7}).add(),this.div=c("div",void 0,{position:"relative",height:0,zIndex:s}),this.buttonOptions.length&&this.renderButtons(),i.parentNode&&i.parentNode.insertBefore(this.div,i),o&&(this.inputGroup=n.g("input-group").add(this.group),n=this.drawInput("min"),this.minDateBox=n.dateBox,this.minLabel=n.label,this.minInput=n.input,n=this.drawInput("max"),this.maxDateBox=n.dateBox,this.maxLabel=n.label,this.maxInput=n.input)),o&&(this.setInputValue("min",t),this.setInputValue("max",e),t=r.scroller&&r.scroller.getUnionExtremes()||r.xAxis[0]||{},l(t.dataMin)&&l(t.dataMax)&&(r=r.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-r),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+r,t.dataMax)),this.inputGroup)){var u=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:u}),u+=e+a.inputSpacing)}}))}this.alignElements(),this.rendered=!0}},e.prototype.renderButtons=function(){var t=this,e=this.buttons,n=this.options,i=a.lang,o=this.chart.renderer,u=v(n.buttonTheme),l=u&&u.states,f=u.width||28;delete u.width,delete u.states,this.buttonGroup=o.g("range-selector-buttons").add(this.group);var h=this.dropdown=c("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);s(h,"touchstart",(function(){h.style.fontSize="16px"})),[[r.isMS?"mouseover":"mouseenter"],[r.isMS?"mouseout":"mouseleave"],["change","click"]].forEach((function(r){var n=r[0],i=r[1];s(h,n,(function(){var r=e[t.currentButtonIndex()];r&&m(r.element,i||n)}))})),this.zoomText=o.label(i&&i.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),u["stroke-width"]=w(u["stroke-width"],0)),c("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,h),this.buttonOptions.forEach((function(r,n){c("option",{textContent:r.title||r.text},void 0,h),e[n]=o.button(r.text,0,0,(function(e){var i,o=r.events&&r.events.click;o&&(i=o.call(r,e)),!1!==i&&t.clickButton(n),t.isActive=!0}),u,l&&l.hover,l&&l.select,l&&l.disabled).attr({"text-align":"center",width:f}).add(t.buttonGroup),r.title&&e[n].attr("title",r.title)}))},e.prototype.alignElements=function(){var t=this,e=this.buttonGroup,r=this.buttons,n=this.chart,i=this.group,o=this.inputGroup,a=this.options,s=this.zoomText,c=n.options,u=c.exporting&&!1!==c.exporting.enabled&&c.navigation&&c.navigation.buttonOptions;c=a.buttonPosition;var l=a.inputPosition,f=a.verticalAlign,h=function(e,r){return u&&t.titleCollision(n)&&"top"===f&&"right"===r.align&&r.y-e.getBBox().height-12<(u.y||0)+(u.height||0)+n.spacing[0]?-40:0},d=n.plotLeft;if(i&&c&&l){var p=c.x-n.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var m=0;s&&(m+=s.getBBox().width+5),r.forEach((function(t,e){m+=t.width,e!==r.length-1&&(m+=a.buttonSpacing)})),this.initialButtonGroupWidth=m}d-=n.spacing[3],this.updateButtonStates(),s=h(e,c),this.alignButtonGroup(s),i.placed=e.placed=n.hasLoaded}e=0,o&&(e=h(o,l),"left"===l.align?p=d:"right"===l.align&&(p=-Math.max(n.axisOffset[1],-e)),o.align({y:l.y,width:o.getBBox().width,align:l.align,x:l.x+p-2},!0,n.spacingBox),o.placed=n.hasLoaded),this.handleCollision(e),i.align({verticalAlign:f},!0,n.spacingBox),o=i.alignAttr.translateY,e=i.getBBox().height+20,h=0,"bottom"===f&&(h=o-(e=e+(h=(h=n.legend&&n.legend.options)&&"bottom"===h.verticalAlign&&h.enabled&&!h.floating?n.legend.legendHeight+w(h.margin,10):0)-20)-(a.floating?0:a.y)-(n.titleOffset?n.titleOffset[2]:0)-10),"top"===f?(a.floating&&(h=0),n.titleOffset&&n.titleOffset[0]&&(h=n.titleOffset[0]),h+=n.margin[0]-n.spacing[0]||0):"middle"===f&&(l.y===c.y?h=o:(l.y||c.y)&&(h=0>l.y||0>c.y?h-Math.min(l.y,c.y):o-e)),i.translate(a.x,a.y+Math.floor(h)),c=this.minInput,l=this.maxInput,o=this.dropdown,a.inputEnabled&&c&&l&&(c.style.marginTop=i.translateY+"px",l.style.marginTop=i.translateY+"px"),o&&(o.style.marginTop=i.translateY+"px")}},e.prototype.alignButtonGroup=function(t,e){var r=this.chart,n=this.buttonGroup,i=this.options.buttonPosition,o=r.plotLeft-r.spacing[3],a=i.x-r.spacing[3];"right"===i.align?a+=t-o:"center"===i.align&&(a-=o/2),n&&n.align({y:i.y,width:w(e,this.initialButtonGroupWidth),align:i.align,x:a},!0,r.spacingBox)},e.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,r=this.options,n=this.zoomText,i=e.hasLoaded?"animate":"attr",o=r.buttonPosition,a=e.plotLeft,s=a;n&&"hidden"!==n.visibility&&(n[i]({x:w(a+o.x,a)}),s+=o.x+n.getBBox().width+5),this.buttonOptions.forEach((function(e,n){"hidden"!==t[n].visibility?(t[n][i]({x:s}),s+=t[n].width+r.buttonSpacing):t[n][i]({x:a})}))},e.prototype.handleCollision=function(t){var e=this,r=this.chart,n=this.buttonGroup,i=this.inputGroup,o=this.options,a=o.buttonPosition,s=o.dropdown,c=o.inputPosition;o=function(){var t=0;return e.buttons.forEach((function(e){(e=e.getBBox()).width>t&&(t=e.width)})),t};var u=function(e){if(i&&n){var r=i.alignAttr.translateX+i.alignOptions.x-t+i.getBBox().x+2,o=i.alignOptions.width,s=n.alignAttr.translateX+n.getBBox().x;return s+e>r&&r+o>s&&a.y<c.y+i.getBBox().height}return!1},l=function(){i&&n&&i.attr({translateX:i.alignAttr.translateX+(r.axisOffset[1]>=-t?0:-t),translateY:i.alignAttr.translateY+n.getBBox().height+10})};if(n){if("always"===s)return this.collapseButtons(t),void(u(o())&&l());"never"===s&&this.expandButtons()}i&&n?c.align===a.align||u(this.initialButtonGroupWidth+20)?"responsive"===s?(this.collapseButtons(t),u(o())&&l()):l():"responsive"===s&&this.expandButtons():n&&"responsive"===s&&(this.initialButtonGroupWidth>r.plotWidth?this.collapseButtons(t):this.expandButtons())},e.prototype.collapseButtons=function(t){var e=this.buttons,r=this.buttonOptions,n=this.chart,i=this.dropdown,o=this.options,a=this.zoomText,s=n.userOptions.rangeSelector&&n.userOptions.rangeSelector.buttonTheme||{},c=function(t){return{text:t?t+" \u25be":"\u25be",width:"auto",paddingLeft:w(o.buttonTheme.paddingLeft,s.padding,8),paddingRight:w(o.buttonTheme.paddingRight,s.padding,8)}};a&&a.hide();var u=!1;r.forEach((function(t,r){2!==(r=e[r]).state?r.hide():(r.show(),r.attr(c(t.text)),u=!0)})),u||(i&&(i.selectedIndex=0),e[0].show(),e[0].attr(c(this.zoomText&&this.zoomText.textStr))),r=o.buttonPosition.align,this.positionButtons(),"right"!==r&&"center"!==r||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},e.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,r=this.options,n=this.zoomText;this.hideDropdown(),n&&n.show(),e.forEach((function(e,n){(n=t[n]).show(),n.attr({text:e.text,width:r.buttonTheme.width||28,paddingLeft:w(r.buttonTheme.paddingLeft,"unset"),paddingRight:w(r.buttonTheme.paddingRight,"unset")}),2>n.state&&n.setState(0)})),this.positionButtons()},e.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0<t.selectedIndex?t.selectedIndex-1:0},e.prototype.showDropdown=function(){var t=this.buttonGroup,e=this.buttons,r=this.chart,n=this.dropdown;if(t&&n){var i=t.translateX;t=t.translateY,e=e[this.currentButtonIndex()].getBBox(),u(n,{left:r.plotLeft+i+"px",top:t+.5+"px",width:e.width+"px",height:e.height+"px"}),this.hasVisibleDropdown=!0}},e.prototype.hideDropdown=function(){var t=this.dropdown;t&&(u(t,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},e.prototype.getHeight=function(){var t=this.options,e=this.group,r=t.y,n=t.buttonPosition.y,i=t.inputPosition.y;return t.height?t.height:(this.alignElements(),t=e?e.getBBox(!0).height+13+r:0,e=Math.min(i,n),(0>i&&0>n||0<i&&0<n)&&(t+=Math.abs(e)),t)},e.prototype.titleCollision=function(t){return!(t.options.title.text||t.options.subtitle.text)},e.prototype.update=function(t){var e=this.chart;v(!0,e.options.rangeSelector,t),this.destroy(),this.init(e),this.render()},e.prototype.destroy=function(){var t=this,r=t.minInput,n=t.maxInput;t.eventsToUnbind&&(t.eventsToUnbind.forEach((function(t){return t()})),t.eventsToUnbind=void 0),f(t.buttons),r&&(r.onfocus=r.onblur=r.onchange=null),n&&(n.onfocus=n.onblur=n.onchange=null),g(t,(function(r,n){r&&"chart"!==n&&(r instanceof i?r.destroy():r instanceof window.HTMLElement&&h(r)),r!==e.prototype[n]&&(t[n]=null)}),this)},e}();if(_.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],_.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"},t.prototype.minFromRange=function(){var t=this.range,e=t.type,r=this.max,n=this.chart.time,i=function(t,r){var i="year"===e?"FullYear":"Month",o=new n.Date(t),a=n.get(i,o);return n.set(i,o,a+r),a===n.get(i,o)&&n.set("Date",o,0),o.getTime()-t};if(b(t))var o=r-t,a=t;else o=r+i(r,-t.count),this.chart&&(this.chart.fixedRange=r-o);var s=w(this.dataMin,Number.MIN_VALUE);return b(o)||(o=s),o<=s&&(o=s,"undefined"===typeof a&&(a=i(o,t.count)),this.newMax=Math.min(o+a,this.dataMax)),b(r)||(o=void 0),o},!r.RangeSelector){var S=[],k=function(t){function e(){a&&(r=t.xAxis[0].getExtremes(),n=t.legend,o=a&&a.options.verticalAlign,b(r.min)&&a.render(r.min,r.max),n.display&&"top"===o&&o===n.options.verticalAlign&&((i=v(t.spacingBox)).y="vertical"===n.options.layout?t.plotTop:i.y+a.getHeight(),n.group.placed=!1,n.align(i)))}var r,n,i,o,a=t.rangeSelector;a&&(p(S,(function(e){return e[0]===t}))||S.push([t,[s(t.xAxis[0],"afterSetExtremes",(function(t){a&&a.render(t.min,t.max)})),s(t,"redraw",e)]]),e())};s(e,"afterGetContainer",(function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new _(this))})),s(e,"beforeRender",(function(){var t=this.axes,e=this.rangeSelector;e&&(b(e.deferredYTDClick)&&(e.clickButton(e.deferredYTDClick),delete e.deferredYTDClick),t.forEach((function(t){t.updateNames(),t.setScale()})),this.getAxisMargins(),e.render(),t=e.options.verticalAlign,e.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)))})),s(e,"update",(function(t){var e=t.options.rangeSelector;t=this.rangeSelector;var r=this.extraBottomMargin,n=this.extraTopMargin;e&&e.enabled&&!l(t)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=t=new _(this)),this.extraTopMargin=this.extraBottomMargin=!1,t&&(k(this),e=e&&e.verticalAlign||t.options&&t.options.verticalAlign,t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)),this.extraBottomMargin!==r||this.extraTopMargin!==n)&&(this.isDirtyBox=!0)})),s(e,"render",(function(){var t=this.rangeSelector;t&&!t.options.floating&&(t.render(),"bottom"===(t=t.options.verticalAlign)?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0))})),s(e,"getMargins",(function(){var t=this.rangeSelector;t&&(t=t.getHeight(),this.extraTopMargin&&(this.plotTop+=t),this.extraBottomMargin&&(this.marginBottom+=t))})),e.prototype.callbacks.push(k),s(e,"destroy",(function(){for(var t=0;t<S.length;t++){var e=S[t];if(e[0]===this){e[1].forEach((function(t){return t()})),S.splice(t,1);break}}})),r.RangeSelector=_}return _})),e(r,"Core/Chart/StockChart.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/FormatUtilities.js"],r["Core/DefaultOptions.js"],r["Core/Series/Series.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s){function c(t,e){return"xAxis"===t?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0,title:{text:null},labels:{overflow:"justify"},showLastLabel:!0}:"yAxis"===t?{labels:{y:-2},opposite:w(e.opposite,!0),showLastLabel:!(!e.categories&&"category"!==e.type),title:{text:null}}:{}}function u(t,e){if("xAxis"===t){t=h();var r={type:"datetime",categories:void 0};return w(e.navigator&&e.navigator.enabled,t.navigator.enabled,!0)&&(r.startOnTick=!1,r.endOnTick=!1),r}return{}}var l=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=n.format,h=i.getOptions;t=s.addEvent;var d=s.clamp,p=s.defined,m=s.extend,b=s.find,v=s.isNumber,g=s.isString,y=s.merge,w=s.pick,x=s.splat;return function(t){t.stockChart=function(e,r,n){return new t(e,r,n)}}((s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.init=function(e,r){var n=h(),i=e.xAxis,o=e.yAxis,a=w(e.navigator&&e.navigator.enabled,n.navigator.enabled,!0);e.xAxis=e.yAxis=void 0,a=y({chart:{panning:{enabled:!0,type:"x"},pinchType:"x"},navigator:{enabled:a},scrollbar:{enabled:w(n.scrollbar&&n.scrollbar.enabled,!0)},rangeSelector:{enabled:w(n.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:w(n.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},e,{isStock:!0}),e.xAxis=i,e.yAxis=o,a.xAxis=x(e.xAxis||{}).map((function(t,r){return y(c("xAxis",t),n.xAxis,n.xAxis&&n.xAxis[r],t,u("xAxis",e))})),a.yAxis=x(e.yAxis||{}).map((function(t,e){return y(c("yAxis",t),n.yAxis,n.yAxis&&n.yAxis[e],t)})),t.prototype.init.call(this,a,r)},e.prototype.createAxis=function(e,r){return r.axis=y(c(e,r.axis),r.axis,u(e,this.userOptions)),t.prototype.createAxis.call(this,e,r)},e}(r))||(s={})),t(o,"setOptions",(function(t){var e;this.chart.options.isStock&&(this.is("column")||this.is("columnrange")?e={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(e={marker:{enabled:!1,radius:2}}),e&&(t.plotOptions[this.type]=y(t.plotOptions[this.type],e)))})),t(e,"autoLabelAlign",(function(t){var e=this.chart,r=this.options;e=e._labelPanes=e._labelPanes||{};var n=this.options.labels;this.chart.options.isStock&&"yAxis"===this.coll&&(!e[r=r.top+","+r.height]&&n.enabled&&(15===n.x&&(n.x=0),"undefined"===typeof n.align&&(n.align="right"),e[r]=this,t.align="right",t.preventDefault()))})),t(e,"destroy",(function(){var t=this.chart,e=this.options&&this.options.top+","+this.options.height;e&&t._labelPanes&&t._labelPanes[e]===this&&delete t._labelPanes[e]})),t(e,"getPlotLinePath",(function(t){var e,r,n,i,o=this,a=this.isLinked&&!this.series?this.linkedParent.series:this.series,s=o.chart,c=s.renderer,u=o.left,l=o.top,f=[],h=[],m=t.translatedValue,y=t.value,x=t.force;if(s.options.isStock&&!1!==t.acrossPanes&&"xAxis"===o.coll||"yAxis"===o.coll){t.preventDefault(),h=function(t){var e="xAxis"===t?"yAxis":"xAxis";return t=o.options[e],v(t)?[s[e][t]]:g(t)?[s.get(t)]:a.map((function(t){return t[e]}))}(o.coll),(o.isXAxis?s.yAxis:s.xAxis).forEach((function(t){if(!p(t.options.id)||-1===t.options.id.indexOf("navigator")){var e=t.isXAxis?"yAxis":"xAxis";e=p(t.options[e])?s[e][t.options[e]]:s[e][0],o===e&&h.push(t)}}));var O=h.length?[]:[o.isXAxis?s.yAxis[0]:s.xAxis[0]];h.forEach((function(t){-1!==O.indexOf(t)||b(O,(function(e){return e.pos===t.pos&&e.len===t.len}))||O.push(t)}));var _=w(m,o.translate(y,null,null,t.old));v(_)&&(o.horiz?O.forEach((function(t){var a;r=t.pos,i=r+t.len,e=n=Math.round(_+o.transB),"pass"!==x&&(e<u||e>u+o.width)&&(x?e=n=d(e,u,u+o.width):a=!0),a||f.push(["M",e,r],["L",n,i])})):O.forEach((function(t){var a;e=t.pos,n=e+t.len,r=i=Math.round(l+o.height-_),"pass"!==x&&(r<l||r>l+o.height)&&(x?r=i=d(r,l,l+o.height):a=!0),a||f.push(["M",e,r],["L",n,i])}))),t.path=0<f.length?c.crispPolyLine(f,t.lineWidth||1):null}})),a.prototype.crispPolyLine=function(t,e){for(var r=0;r<t.length;r+=2){var n=t[r],i=t[r+1];n[1]===i[1]&&(n[1]=i[1]=Math.round(n[1])-e%2/2),n[2]===i[2]&&(n[2]=i[2]=Math.round(n[2])+e%2/2)}return t},t(e,"afterHideCrosshair",(function(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())})),t(e,"afterDrawCrosshair",(function(t){var e,r;if(this.crosshair&&this.crosshair.label&&this.crosshair.label.enabled&&this.cross&&v(this.min)&&v(this.max)){var n=this.chart,i=this.logarithmic,o=this.crosshair.label,a=this.horiz,s=this.opposite,c=this.left,u=this.top,l=this.crossLabel,h=o.format,d="",p="inside"===this.options.tickPosition,b=!1!==this.crosshair.snap,g=0,y=t.e||this.cross&&this.cross.e;t=t.point;var x=this.min,O=this.max;i&&(x=i.lin2log(x),O=i.lin2log(O)),i=a?"center":s?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center",l||(l=this.crossLabel=n.renderer.label("",0,void 0,o.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(t?t.series.colorIndex:this.series[0]&&this.series[0].colorIndex)).attr({align:o.align||i,padding:w(o.padding,8),r:w(o.borderRadius,3),zIndex:2}).add(this.labelGroup),n.styledMode||l.attr({fill:o.backgroundColor||t&&t.series&&t.series.color||"#666666",stroke:o.borderColor||"","stroke-width":o.borderWidth||0}).css(m({color:"#ffffff",fontWeight:"normal",fontSize:"11px",textAlign:"center"},o.style||{}))),a?(i=b?(t.plotX||0)+c:y.chartX,u+=s?0:this.height):(i=s?this.width+c:0,u=b?(t.plotY||0)+u:y.chartY),h||o.formatter||(this.dateTime&&(d="%b %d, %Y"),h="{value"+(d?":"+d:"")+"}"),d=b?this.isXAxis?t.x:t.y:this.toValue(a?y.chartX:y.chartY),b=t?t.series.isPointInside(t):v(d)&&d>x&&d<O,y="",h?y=f(h,{value:d},n):o.formatter&&v(d)&&(y=o.formatter.call(this,d)),l.attr({text:y,x:i,y:u,visibility:b?"visible":"hidden"}),o=l.getBBox(),v(l.y)&&(a?(p&&!s||!p&&s)&&(u=l.y-o.height):u=l.y-o.height/2),a?(e=c-o.x,r=c+this.width-o.x):(e="left"===this.labelAlign?c:0,r="right"===this.labelAlign?c+this.width:n.chartWidth),l.translateX<e&&(g=e-l.translateX),l.translateX+o.width>=r&&(g=-(l.translateX+o.width-r)),l.attr({x:i+g,y:u,anchorX:a?i:this.opposite?0:n.chartWidth,anchorY:a?this.opposite?n.chartHeight:0:u+o.height/2})}})),o.prototype.forceCropping=function(){var t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&w(e.enabled,t.options.isStock)},t(r,"update",(function(t){"scrollbar"in(t=t.options)&&this.navigator&&(y(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({},!1),delete t.scrollbar)})),s})),e(r,"masters/modules/stock.src.js",[r["Core/Globals.js"],r["Core/Axis/OrdinalAxis.js"],r["Series/DataModifyComposition.js"],r["Core/Scrollbar.js"],r["Core/Chart/StockChart.js"]],(function(t,e,r,n,i){t.Scrollbar=n,t.StockChart=t.stockChart=i.stockChart,n.compose(t.Axis),e.compose(t.Axis,t.Series,t.Chart),r.compose(t.Series,t.Axis,t.Point)})),e(r,"masters/highstock.src.js",[r["masters/highcharts.src.js"]],(function(t){return t.product="Highstock",t})),r["masters/highstock.src.js"]._modules=r,r["masters/highstock.src.js"]}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"f",(function(){return c})),r.d(e,"g",(function(){return u})),r.d(e,"h",(function(){return l})),r.d(e,"i",(function(){return f})),r.d(e,"j",(function(){return h})),r.d(e,"k",(function(){return d})),r.d(e,"l",(function(){return p})),r.d(e,"m",(function(){return m})),r.d(e,"n",(function(){return b})),r.d(e,"o",(function(){return v})),r.d(e,"p",(function(){return g})),r.d(e,"q",(function(){return y})),r.d(e,"r",(function(){return w})),r.d(e,"s",(function(){return x})),r.d(e,"t",(function(){return O})),r.d(e,"u",(function(){return _}));var n={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u0625\u0638\u0647\u0631 \u0627\u0644\u0639\u0646\u0648\u0627\u0646"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649":"last"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u064a \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629":"next"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629":"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629"},labelRowsPerPage:"\u0639\u062f\u062f \u0627\u0644\u0635\u0641\u0648\u0641 \u0641\u064a \u0627\u0644\u0635\u0641\u062d\u0629:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u0645\u0646 ").concat(-1!==n?n:" \u0623\u0643\u062b\u0631 \u0645\u0646".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," ").concat(1!==t?"\u0646\u062c\u0648\u0645":"\u0646\u062c\u0645\u0629")},emptyLabelText:"\u0641\u0627\u0631\u063a"}},MuiAutocomplete:{defaultProps:{clearText:"\u0645\u0633\u062d",closeText:"\u0625\u063a\u0644\u0627\u0642",loadingText:"\u064a\u062a\u0645 \u0627\u0644\u062a\u062d\u0645\u064a\u0644\u2026",noOptionsText:"\u0644\u0627 \u064a\u0648\u062c\u062f \u062e\u064a\u0627\u0631\u0627\u062a",openText:"\u0641\u062a\u062d"}},MuiAlert:{defaultProps:{closeText:"\u0625\u063a\u0644\u0627\u0642"}},MuiPagination:{defaultProps:{"aria-label":"\u0627\u0644\u062a\u0646\u0642\u0644 \u0639\u0628\u0631 \u0627\u0644\u0635\u0641\u062d\u0627\u062a",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u0625\u0630\u0647\u0628 \u0625\u0644\u0649 "," \u0635\u0641\u062d\u0629 ").concat(e):"first"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649":"last"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u064a \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629":"next"===t?"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629":"\u0625\u0630\u0647\u0628 \u0627\u0644\u0649 \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629"}}}}},i={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u044a\u0442\u044f"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"last"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"next"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},labelRowsPerPage:"\u0420\u0435\u0434\u043e\u0432\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u0417\u0432\u0435\u0437\u0434").concat(1!==t?"\u0438":"\u0430")},emptyLabelText:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438"}},MuiAutocomplete:{defaultProps:{clearText:"\u0418\u0437\u0447\u0438\u0441\u0442\u0438",closeText:"\u0417\u0430\u0442\u0432\u043e\u0440\u0438",loadingText:"\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043d\u0435\u2026",noOptionsText:"\u041d\u044f\u043c\u0430 \u043d\u0430\u043b\u0438\u0447\u043d\u0438 \u043e\u043f\u0446\u0438\u0438",openText:"\u041e\u0442\u0432\u043e\u0440\u0438"}},MuiAlert:{defaultProps:{closeText:"\u0417\u0430\u0442\u0432\u043e\u0440\u0438"}},MuiPagination:{defaultProps:{"aria-label":"\u041f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u044f",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u041a\u044a\u043c ","\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 ").concat(e):"first"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u044a\u0440\u0432\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"last"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"next"===t?"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430":"\u041e\u0442\u0438\u0434\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u0438\u0448\u043d\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"}}}}},o={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Uk\xe1zat cestu"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"J\xedt na prvn\xed str\xe1nku":"last"===t?"J\xedt na posledn\xed str\xe1nku":"next"===t?"J\xedt na dal\u0161\xed str\xe1nku":"J\xedt na p\u0159edchoz\xed str\xe1nku"},labelRowsPerPage:"\u0158\xe1dk\u016f na str\xe1nce:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," z ").concat(-1!==n?n:"v\xedce ne\u017e ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t,1===t?" hv\u011bzdi\u010dka":t>=2&&t<=4?" hv\u011bzdi\u010dky":" hv\u011bzdi\u010dek")},emptyLabelText:"Pr\xe1zdn\xe9"}},MuiAutocomplete:{defaultProps:{clearText:"Vymazat",closeText:"Zav\u0159\xedt",loadingText:"Na\u010d\xedt\xe1n\xed\u2026",noOptionsText:"\u017d\xe1dn\xe9 mo\u017enosti",openText:"Otev\u0159\xedt"}},MuiAlert:{defaultProps:{closeText:"Zav\u0159\xedt"}},MuiPagination:{defaultProps:{"aria-label":"Navigace str\xe1nkov\xe1n\xedm",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"J\xedt na ").concat(e," str\xe1nku"):"first"===t?"J\xedt na prvn\xed str\xe1nku":"last"===t?"J\xedt na posledn\xed str\xe1nku":"next"===t?"J\xedt na dal\u0161\xed str\xe1nku":"J\xedt na p\u0159edchoz\xed str\xe1nku"}}}}},a={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pfad anzeigen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Zur ersten Seite":"last"===t?"Zur letzten Seite":"next"===t?"Zur n\xe4chsten Seite":"Zur vorherigen Seite"},labelRowsPerPage:"Zeilen pro Seite:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," von ").concat(-1!==n?n:"mehr als ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," ").concat(1!==t?"Sterne":"Stern")},emptyLabelText:"Keine Wertung"}},MuiAutocomplete:{defaultProps:{clearText:"Leeren",closeText:"Schlie\xdfen",loadingText:"Wird geladen\u2026",noOptionsText:"Keine Optionen",openText:"\xd6ffnen"}},MuiAlert:{defaultProps:{closeText:"Schlie\xdfen"}},MuiPagination:{defaultProps:{"aria-label":"Navigation via Seitennummerierung",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Gehe zu ","Seite ").concat(e):"first"===t?"Zur ersten Seite":"last"===t?"Zur letzten Seite":"next"===t?"Zur n\xe4chsten Seite":"Zur vorherigen Seite"}}}}},s={},c={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar ruta"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Ir a la primera p\xe1gina":"last"===t?"Ir a la \xfaltima p\xe1gina":"next"===t?"Ir a la p\xe1gina siguiente":"Ir a la p\xe1gina anterior"},labelRowsPerPage:"Filas por p\xe1gina:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," de ").concat(-1!==n?n:"m\xe1s de ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Estrella").concat(1!==t?"s":"")},emptyLabelText:"Vac\xedo"}},MuiAutocomplete:{defaultProps:{clearText:"Limpiar",closeText:"Cerrar",loadingText:"Cargando\u2026",noOptionsText:"Sin opciones",openText:"Abierto"}},MuiAlert:{defaultProps:{closeText:"Cerrar"}},MuiPagination:{defaultProps:{"aria-label":"Paginador",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Ir a la ","p\xe1gina ").concat(e):"first"===t?"Ir a la primera p\xe1gina":"last"===t?"Ir a la \xfaltima p\xe1gina":"next"===t?"Ir a la p\xe1gina siguiente":"Ir a la p\xe1gina anterior"}}}}},u={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u0646\u0645\u0627\u06cc\u0634 \u0645\u0633\u06cc\u0631"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0627\u0648\u0644\u06cc\u0646 \u0635\u0641\u062d\u0647":"last"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0635\u0641\u062d\u0647":"next"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0628\u0639\u062f\u06cc":"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc"},labelRowsPerPage:"\u062a\u0639\u062f\u0627\u062f \u0633\u0637\u0631\u0647\u0627\u06cc \u0647\u0631 \u0635\u0641\u062d\u0647:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u0633\u062a\u0627\u0631\u0647")},emptyLabelText:"\u062e\u0627\u0644\u06cc"}},MuiAutocomplete:{defaultProps:{clearText:"\u067e\u0627\u06a9\u200c\u06a9\u0631\u062f\u0646",closeText:"\u0628\u0633\u062a\u0646",loadingText:"\u062f\u0631 \u062d\u0627\u0644 \u0628\u0627\u0631\u06af\u0630\u0627\u0631\u06cc\u2026",noOptionsText:"\u0628\u06cc\u200c\u0646\u062a\u06cc\u062c\u0647",openText:"\u0628\u0627\u0632\u06a9\u0631\u062f\u0646"}},MuiAlert:{defaultProps:{closeText:"\u0628\u0633\u062a\u0646"}},MuiPagination:{defaultProps:{"aria-label":"\u0646\u0627\u0648\u0628\u0631\u06cc \u0635\u0641\u062d\u0647",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u0631\u0641\u062a\u0646 \u0628\u0647 ","\u0635\u0641\u062d\u0647\u0654 ").concat(e):"first"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0627\u0648\u0644\u06cc\u0646 \u0635\u0641\u062d\u0647":"last"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0635\u0641\u062d\u0647":"next"===t?"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0628\u0639\u062f\u06cc":"\u0631\u0641\u062a\u0646 \u0628\u0647 \u0635\u0641\u062d\u0647\u200c\u06cc \u0642\u0628\u0644\u06cc"}}}}},l={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Montrer le chemin"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Aller \xe0 la premi\xe8re page":"last"===t?"Aller \xe0 la derni\xe8re page":"next"===t?"Aller \xe0 la page suivante":"Aller \xe0 la page pr\xe9c\xe9dente"},labelRowsPerPage:"Lignes par page :",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," sur ").concat(-1!==n?n:"plus que ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Etoile").concat(1!==t?"s":"")},emptyLabelText:"Vide"}},MuiAutocomplete:{defaultProps:{clearText:"Vider",closeText:"Fermer",loadingText:"Chargement\u2026",noOptionsText:"Pas de r\xe9sultats",openText:"Ouvrir"}},MuiAlert:{defaultProps:{closeText:"Fermer"}},MuiPagination:{defaultProps:{"aria-label":"navigation de pagination",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Aller \xe0 la ","page ").concat(e):"first"===t?"Aller \xe0 la premi\xe8re page":"last"===t?"Aller \xe0 la derni\xe8re page":"next"===t?"Aller \xe0 la page suivante":"Aller \xe0 la page pr\xe9c\xe9dente"}}}}},f={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u05d4\u05e6\u05d2 \u05e0\u05ea\u05d9\u05d1"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df":"last"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d0\u05d7\u05e8\u05d5\u05df":"next"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d1\u05d0":"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e7\u05d5\u05d3\u05dd"},labelRowsPerPage:"\u05e9\u05d5\u05e8\u05d5\u05ea \u05d1\u05e2\u05de\u05d5\u05d3:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u05de\u05ea\u05d5\u05da ").concat(-1!==n?n:"\u05d9\u05d5\u05ea\u05e8 \u05de ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u05db\u05d5\u05db\u05d1").concat(1!==t?"\u05d9\u05dd":"")},emptyLabelText:"\u05e8\u05d9\u05e7"}},MuiAutocomplete:{defaultProps:{clearText:"\u05e0\u05e7\u05d4",closeText:"\u05e1\u05d2\u05d5\u05e8",loadingText:"\u05d8\u05d5\u05e2\u05df\u2026",noOptionsText:"\u05d0\u05d9\u05df \u05d0\u05d5\u05e4\u05e6\u05d9\u05d5\u05ea",openText:"\u05e4\u05ea\u05d7"}},MuiAlert:{defaultProps:{closeText:"\u05e1\u05d2\u05d5\u05e8"}},MuiPagination:{defaultProps:{"aria-label":"\u05e0\u05d9\u05d5\u05d5\u05d8 \u05d1\u05e2\u05de\u05d5\u05d3\u05d9\u05dd",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u05dc ","\u05e2\u05de\u05d5\u05d3 ").concat(e):"first"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df":"last"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d0\u05d7\u05e8\u05d5\u05df":"next"===t?"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05d1\u05d0":"\u05dc\u05e2\u05de\u05d5\u05d3 \u05d4\u05e7\u05d5\u05d3\u05dd"}}}}},h={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Visualizza percorso"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Vai alla prima pagina":"last"===t?"Vai all'ultima pagina":"next"===t?"Vai alla pagina successiva":"Vai alla pagina precedente"},labelRowsPerPage:"Righe per pagina:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Stell").concat(1!==t?"e":"a")},emptyLabelText:"Vuoto"}},MuiAutocomplete:{defaultProps:{clearText:"Svuota",closeText:"Chiudi",loadingText:"Caricamento in corso\u2026",noOptionsText:"Nessuna opzione",openText:"Apri"}},MuiAlert:{defaultProps:{closeText:"Chiudi"}},MuiPagination:{defaultProps:{"aria-label":"Navigazione impaginata",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Vai alla ","pagina ").concat(e):"first"===t?"Vai alla prima pagina":"last"===t?"Vai all'ultima pagina":"next"===t?"Vai alla pagina successiva":"Vai alla pagina precedente"}}}}},d={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u3059\u3079\u3066\u8868\u793a"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u6700\u521d\u306e\u30da\u30fc\u30b8\u3078":"last"===t?"\u6700\u5f8c\u306e\u30da\u30fc\u30b8\u3078":"next"===t?"\u6b21\u306e\u30da\u30fc\u30b8\u3078":"\u524d\u306e\u30da\u30fc\u30b8\u3078"},labelRowsPerPage:"\u30da\u30fc\u30b8\u3042\u305f\u308a\u306e\u884c\u6570:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\uff5e").concat(r," / ").concat(-1!==n?n:"".concat(r,"\u4ee5\u4e0a"))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"\u661f".concat(t)},emptyLabelText:"\u661f\u306a\u3057"}},MuiAutocomplete:{defaultProps:{clearText:"\u30af\u30ea\u30a2",closeText:"\u9589\u3058\u308b",loadingText:"\u8aad\u307f\u8fbc\u307f\u4e2d\u2026",noOptionsText:"\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093",openText:"\u958b\u304f"}},MuiAlert:{defaultProps:{closeText:"\u9589\u3058\u308b"}},MuiPagination:{defaultProps:{"aria-label":"\u30da\u30fc\u30b8\u9078\u629e",getItemAriaLabel:function(t,e,r){return"page"===t?"\u30da\u30fc\u30b8".concat(e).concat(r?"":"\u3078"):"first"===t?"\u6700\u521d\u306e\u30da\u30fc\u30b8\u3078":"last"===t?"\u6700\u5f8c\u306e\u30da\u30fc\u30b8\u3078":"next"===t?"\u6b21\u306e\u30da\u30fc\u30b8\u3078":"\u524d\u306e\u30da\u30fc\u30b8\u3078"}}}}},p={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\uacbd\ub85c \ubcf4\uae30"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\uccab \ubc88\uc9f8 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"last"===t?"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"next"===t?"\ub2e4\uc74c \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"\uc774\uc804 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9"},labelRowsPerPage:"\ud398\uc774\uc9c0 \ub2f9 \ud589:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," / ").concat(-1!==n?n:"".concat(r,"\uac1c \uc774\uc0c1"))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \uc810")},emptyLabelText:"\ube48 \ud14d\uc2a4\ud2b8"}},MuiAutocomplete:{defaultProps:{clearText:"\uc9c0\uc6b0\uae30",closeText:"\ub2eb\uae30",loadingText:"\ubd88\ub7ec\uc624\ub294 \uc911\u2026",noOptionsText:"\uc635\uc158 \uc5c6\uc74c",openText:"\uc5f4\uae30"}},MuiAlert:{defaultProps:{closeText:"\ub2eb\uae30"}},MuiPagination:{defaultProps:{"aria-label":"\ud398\uc774\uc9c0\ub124\uc774\uc158 \ub124\ube44\uac8c\uc774\uc158",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(e," \ubc88\uc9f8 \ud398\uc774\uc9c0").concat(r?"":"\ub85c \uc774\ub3d9"):"first"===t?"\uccab \ubc88\uc9f8 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"last"===t?"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"next"===t?"\ub2e4\uc74c \ud398\uc774\uc9c0\ub85c \uc774\ub3d9":"\uc774\uc804 \ud398\uc774\uc9c0\ub85c \uc774\ub3d9"}}}}},m={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Pad tonen"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Ga naar eerste pagina":"last"===t?"Ga naar laatste pagina":"next"===t?"Ga naar volgende pagina":"Ga naar vorige pagina"},labelRowsPerPage:"Regels per pagina:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," van ").concat(-1!==n?n:"meer dan ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Ster").concat(1!==t?"ren":"")},emptyLabelText:"Leeg"}},MuiAutocomplete:{defaultProps:{clearText:"Wissen",closeText:"Sluiten",loadingText:"Laden\u2026",noOptionsText:"Geen opties",openText:"Openen"}},MuiAlert:{defaultProps:{closeText:"Sluiten"}},MuiPagination:{defaultProps:{"aria-label":"Navigatie via paginering",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Ga naar ","pagina ").concat(e):"first"===t?"Ga naar eerste pagina":"last"===t?"Ga naar laatste pagina":"next"===t?"Ga naar volgende pagina":"Ga naar vorige pagina"}}}}},b={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Poka\u017c \u015bcie\u017ck\u0119"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Przejd\u017a do pierwszej strony":"last"===t?"Przejd\u017a do ostatniej strony":"next"===t?"Przejd\u017a do nast\u0119pnej strony":"Przejd\u017a do poprzedniej strony"},labelRowsPerPage:"Wierszy na stron\u0119:"}},MuiRating:{defaultProps:{getLabelText:function(t){var e="gwiazdek",r=t%10;return(t<10||t>20)&&r>1&&r<5?e="gwiazdki":1===t&&(e="gwiazdka"),"".concat(t," ").concat(e)},emptyLabelText:"Brak gwiazdek"}},MuiAutocomplete:{defaultProps:{clearText:"Wyczy\u015b\u0107",closeText:"Zamknij",loadingText:"\u0141adowanie\u2026",noOptionsText:"Brak opcji",openText:"Otw\xf3rz"}},MuiAlert:{defaultProps:{closeText:"Zamknij"}},MuiPagination:{defaultProps:{"aria-label":"Nawigacja podzia\u0142u na strony",getItemAriaLabel:function(t,e,r){return"page"===t?r?"".concat(e,". strona"):"Przejd\u017a do ".concat(e,". strony"):"first"===t?"Przejd\u017a do pierwszej strony":"last"===t?"Przejd\u017a do ostatniej strony":"next"===t?"Przejd\u017a do nast\u0119pnej strony":"Przejd\u017a do poprzedniej strony"}}}}},v={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Mostrar caminho"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"Ir para a primeira p\xe1gina":"last"===t?"Ir para a \xfaltima p\xe1gina":"next"===t?"Ir para a pr\xf3xima p\xe1gina":"Ir para a p\xe1gina anterior"},labelRowsPerPage:"Linhas por p\xe1gina:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," de ").concat(-1!==n?n:"mais de ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Estrela").concat(1!==t?"s":"")},emptyLabelText:"Vazio"}},MuiAutocomplete:{defaultProps:{clearText:"Limpar",closeText:"Fechar",loadingText:"Carregando\u2026",noOptionsText:"Sem op\xe7\xf5es",openText:"Abrir"}},MuiAlert:{defaultProps:{closeText:"Fechar"}},MuiPagination:{defaultProps:{"aria-label":"Navegar pela pagina\xe7\xe3o",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"Ir para a ","p\xe1gina ").concat(e):"first"===t?"Ir para a primeira p\xe1gina":"last"===t?"Ir para a \xfaltima p\xe1gina":"next"===t?"Ir para a pr\xf3xima p\xe1gina":"Ir para a p\xe1gina anterior"}}}}},g={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"},labelRowsPerPage:"\u0421\u0442\u0440\u043e\u043a \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u0438\u0437 ").concat(-1!==n?n:"\u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){var e="\u0417\u0432\u0451\u0437\u0434",r=t%10;return r>1&&r<5?e="\u0417\u0432\u0435\u0437\u0434\u044b":1===r&&(e="\u0417\u0432\u0435\u0437\u0434\u0430"),"".concat(t," ").concat(e)},emptyLabelText:"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"}},MuiAutocomplete:{defaultProps:{clearText:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",closeText:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",loadingText:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u2026",noOptionsText:"\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432",openText:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c"}},MuiAlert:{defaultProps:{closeText:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"}},MuiPagination:{defaultProps:{"aria-label":"\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043f\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c",getItemAriaLabel:function(t,e,r){return"page"===t?r?"".concat(e," \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"):"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 ".concat(e," \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"):"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"}}}}},y={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Uk\xe1za\u0165 cestu "}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\xcds\u0165 na prv\xfa str\xe1nku":"last"===t?"\xcds\u0165 na posledn\xfa str\xe1nku":"next"===t?"\xcds\u0165 na \u010fa\u013e\u0161iu str\xe1nku":"\xcds\u0165 na predch\xe1dzaj\xfacu str\xe1nku"},labelRowsPerPage:"Riadkov na str\xe1nke:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," z ").concat(-1!==n?n:"viac ako ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t,1===t?" hviezdi\u010dka":t>=2&&t<=4?" hviezdi\u010dky":" hviezdi\u010diek")},emptyLabelText:"Pr\xe1zdne"}},MuiAutocomplete:{defaultProps:{clearText:"Vymaza\u0165",closeText:"Zavrie\u0165",loadingText:"Na\u010d\xedtanie\u2026",noOptionsText:"\u017diadne mo\u017enosti",openText:"Otvori\u0165"}},MuiAlert:{defaultProps:{closeText:"Zavrie\u0165"}},MuiPagination:{defaultProps:{"aria-label":"Navig\xe1cia str\xe1nkovanim",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\xcds\u0165 na ","str\xe1nku ").concat(e):"first"===t?"\xcds\u0165 na prv\xfa str\xe1nku":"last"===t?"\xcds\u0165 na posledn\xfa str\xe1nku":"next"===t?"\xcds\u0165 na \u010fa\u013e\u0161iu str\xe1nku":"\xcds\u0165 na predch\xe1dzaj\xfacu str\xe1nku"}}}}},w={components:{MuiBreadcrumbs:{defaultProps:{expandText:"Yolu g\xf6ster"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u0130lk sayfaya git":"last"===t?"Son sayfaya git":"next"===t?"Sonraki sayfaya git":"\xd6nceki sayfaya git"},labelRowsPerPage:"Sayfa ba\u015f\u0131na sat\u0131r:"}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," Y\u0131ld\u0131z")},emptyLabelText:"Bo\u015f"}},MuiAutocomplete:{defaultProps:{clearText:"Temizle",closeText:"Kapat",loadingText:"Y\xfckleniyor\u2026",noOptionsText:"Se\xe7enek yok",openText:"A\xe7"}},MuiAlert:{defaultProps:{closeText:"Kapat"}},MuiPagination:{defaultProps:{"aria-label":"Sayfa navigasyonu",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(e,". ").concat(r?"sayfa":"sayfaya git"):"first"===t?"\u0130lk sayfaya git":"last"===t?"Son sayfaya git":"next"===t?"Sonraki sayfaya git":"\xd6nceki sayfaya git"}}}}},x={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0448\u043b\u044f\u0445 \u0441\u0442\u043e\u0440\u0456\u043d\u043e\u043a"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0448\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043e\u0441\u0442\u0430\u043d\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443"},labelRowsPerPage:"\u0420\u044f\u0434\u043a\u0456\u0432 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u0446\u0456:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," \u0437 ").concat(-1!==n?n:"\u043f\u043e\u043d\u0430\u0434 ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){var e="\u0417\u0456\u0440\u043e\u043a",r=t%10;return r>1&&r<5?e="\u0417\u0456\u0440\u043a\u0438":1===r&&(e="\u0417\u0456\u0440\u043a\u0430"),"".concat(t," ").concat(e)},emptyLabelText:"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u0432\u0456\u0434\u0441\u0443\u0442\u043d\u0456\u0439"}},MuiAutocomplete:{defaultProps:{clearText:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438",closeText:"\u0417\u0433\u043e\u0440\u043d\u0443\u0442\u0438",loadingText:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f\u2026",noOptionsText:"\u041d\u0435\u043c\u0430\u0454 \u0432\u0430\u0440\u0456\u0430\u043d\u0442\u0456\u0432",openText:"\u0420\u043e\u0437\u0433\u043e\u0440\u043d\u0443\u0442\u0438"}},MuiAlert:{defaultProps:{closeText:"\u0417\u0433\u043e\u0440\u043d\u0443\u0442\u0438"}},MuiPagination:{defaultProps:{"aria-label":"\u041d\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430\u043c\u0438",getItemAriaLabel:function(t,e,r){return"page"===t?"".concat(r?"":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 ","\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 ").concat(e):"first"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u0435\u0440\u0448\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"last"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043e\u0441\u0442\u0430\u043d\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"next"===t?"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443":"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044e \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443"}}}}},O={components:{MuiTablePagination:{defaultProps:{labelRowsPerPage:"S\u1ed1 h\xe0ng m\u1ed7i trang:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," trong ").concat(-1!==n?n:"nhi\u1ec1u h\u01a1n ".concat(r))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," sao")},emptyLabelText:"Tr\u1ed1ng"}},MuiAutocomplete:{defaultProps:{clearText:"X\xf3a",closeText:"\u0110\xf3ng",loadingText:"\u0110ang t\u1ea3i\u2026",noOptionsText:"Kh\xf4ng c\xf3 l\u1ef1a ch\u1ecdn",openText:"M\u1edf"}},MuiAlert:{defaultProps:{closeText:"\u0110\xf3ng"}}}},_={components:{MuiBreadcrumbs:{defaultProps:{expandText:"\u5c55\u5f00"}},MuiTablePagination:{defaultProps:{getItemAriaLabel:function(t){return"first"===t?"\u7b2c\u4e00\u9875":"last"===t?"\u6700\u540e\u4e00\u9875":"next"===t?"\u4e0b\u4e00\u9875":"\u4e0a\u4e00\u9875"},labelRowsPerPage:"\u6bcf\u9875\u884c\u6570:",labelDisplayedRows:function(t){var e=t.from,r=t.to,n=t.count;return"\u7b2c ".concat(e," \u6761\u5230\u7b2c ").concat(r," \u6761\uff0c").concat(-1!==n?"\u5171 ".concat(n," \u6761"):"\u81f3\u5c11 ".concat(r," \u6761"))}}},MuiRating:{defaultProps:{getLabelText:function(t){return"".concat(t," \u9897\u661f")},emptyLabelText:"\u65e0\u6807\u7b7e"}},MuiAutocomplete:{defaultProps:{clearText:"\u6e05\u7a7a",closeText:"\u5173\u95ed",loadingText:"\u52a0\u8f7d\u4e2d\u2026\u2026",noOptionsText:"\u6ca1\u6709\u53ef\u7528\u9009\u9879",openText:"\u6253\u5f00"}},MuiAlert:{defaultProps:{closeText:"\u5173\u95ed"}}}}},,function(t,e,r){var n;void 0!==this||window,t.exports=(n=function(){try{return r(54)}catch(n){}}(),function(){"use strict";var t={662:function(t,e){var r,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.CellHookData=e.HookData=void 0;var i=function(t,e,r){this.table=e,this.pageNumber=e.pageNumber,this.pageCount=this.pageNumber,this.settings=e.settings,this.cursor=r,this.doc=t.getDocument()};e.HookData=i;var o=function(t){function e(e,r,n,i,o,a){var s=t.call(this,e,r,a)||this;return s.cell=n,s.row=i,s.column=o,s.section=i.section,s}return n(e,t),e}(i);e.CellHookData=o},790:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});var n=r(148),i=r(938),o=r(323),a=r(587),s=r(49),c=r(858);e.default=function(t){t.API.autoTable=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];1===e.length?t=e[0]:(console.error("Use of deprecated autoTable initiation"),(t=e[2]||{}).columns=e[0],t.body=e[1]);var n=(0,a.parseInput)(this,t),i=(0,c.createTable)(this,n);return(0,s.drawTable)(this,i),this},t.API.lastAutoTable=!1,t.API.previousAutoTable=!1,t.API.autoTable.previous=!1,t.API.autoTableText=function(t,e,r,n){(0,i.default)(t,e,r,n,this)},t.API.autoTableSetDefaults=function(t){return o.DocHandler.setDefaults(t,this),this},t.autoTableSetDefaults=function(t,e){o.DocHandler.setDefaults(t,e)},t.API.autoTableHtmlToJson=function(t,e){if(void 0===e&&(e=!1),"undefined"==typeof window)return console.error("Cannot run autoTableHtmlToJson in non browser environment"),null;var r=new o.DocHandler(this),i=(0,n.parseHtml)(r,t,window,e,!1),a=i.head,s=i.body;return{columns:a[0].map((function(t){return t.content})),rows:s,data:s}},t.API.autoTableEndPosY=function(){console.error("Use of deprecated function: autoTableEndPosY. Use doc.lastAutoTable.finalY instead.");var t=this.lastAutoTable;return t&&t.finalY?t.finalY:0},t.API.autoTableAddPageContent=function(e){return console.error("Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead."),t.API.autoTable.globalDefaults||(t.API.autoTable.globalDefaults={}),t.API.autoTable.globalDefaults.addPageContent=e,this},t.API.autoTableAddPage=function(){return console.error("Use of deprecated function: autoTableAddPage. Use doc.addPage()"),this.addPage(),this}}},938:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r,n,i){n=n||{};var o=1.15,a=i.internal.scaleFactor,s=i.internal.getFontSize()/a,c="",u=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(u=(c="string"==typeof t?t.split(/\r\n|\r|\n/g):t).length||1),r+=s*(2-o),"middle"===n.valign?r-=u/2*s*o:"bottom"===n.valign&&(r-=u*s*o),"center"===n.halign||"right"===n.halign){var l=s;if("center"===n.halign&&(l*=.5),c&&u>=1){for(var f=0;f<c.length;f++)i.text(c[f],e-i.getStringUnitWidth(c[f])*l,r),r+=s*o;return i}e-=i.getStringUnitWidth(t)*l}return"justify"===n.halign?i.text(t,e,r,{maxWidth:n.maxWidth||100,align:"justify"}):i.text(t,e,r),i}},200:function(t,e){function r(t,e){var r=t>0,n=e||0===e;return r&&n?"DF":r?"S":n?"F":null}Object.defineProperty(e,"__esModule",{value:!0}),e.parseSpacing=e.getFillStyle=e.addTableBorder=e.getStringWidth=void 0,e.getStringWidth=function(t,e,r){return r.applyStyles(e,!0),(Array.isArray(t)?t:[t]).map((function(t){return r.getTextWidth(t)})).reduce((function(t,e){return Math.max(t,e)}),0)},e.addTableBorder=function(t,e,n,i){var o=e.settings.tableLineWidth,a=e.settings.tableLineColor;t.applyStyles({lineWidth:o,lineColor:a});var s=r(o,!1);s&&t.rect(n.x,n.y,e.getWidth(t.pageSize().width),i.y-n.y,s)},e.getFillStyle=r,e.parseSpacing=function(t,e){var r,n,i,o;if(t=t||e,Array.isArray(t)){if(t.length>=4)return{top:t[0],right:t[1],bottom:t[2],left:t[3]};if(3===t.length)return{top:t[0],right:t[1],bottom:t[2],left:t[1]};if(2===t.length)return{top:t[0],right:t[1],bottom:t[0],left:t[1]};t=1===t.length?t[0]:e}return"object"==typeof t?("number"==typeof t.vertical&&(t.top=t.vertical,t.bottom=t.vertical),"number"==typeof t.horizontal&&(t.right=t.horizontal,t.left=t.horizontal),{left:null!==(r=t.left)&&void 0!==r?r:e,top:null!==(n=t.top)&&void 0!==n?n:e,right:null!==(i=t.right)&&void 0!==i?i:e,bottom:null!==(o=t.bottom)&&void 0!==o?o:e}):("number"!=typeof t&&(t=e),{top:t,right:t,bottom:t,left:t})}},913:function(t,e){var r,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,"__esModule",{value:!0}),e.getTheme=e.defaultStyles=e.HtmlRowInput=e.FONT_ROW_RATIO=void 0,e.FONT_ROW_RATIO=1.15;var i=function(t){function e(e){var r=t.call(this)||this;return r._element=e,r}return n(e,t),e}(Array);e.HtmlRowInput=i,e.defaultStyles=function(t){return{font:"helvetica",fontStyle:"normal",overflow:"linebreak",fillColor:!1,textColor:20,halign:"left",valign:"top",fontSize:10,cellPadding:5/t,lineColor:200,lineWidth:0,cellWidth:"auto",minCellHeight:0,minCellWidth:0}},e.getTheme=function(t){return{striped:{table:{fillColor:255,textColor:80,fontStyle:"normal"},head:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},body:{},foot:{textColor:255,fillColor:[41,128,185],fontStyle:"bold"},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1},head:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},body:{},foot:{textColor:255,fillColor:[26,188,156],fontStyle:"bold",lineWidth:0},alternateRow:{}},plain:{head:{fontStyle:"bold"},foot:{fontStyle:"bold"}}}[t]}},259:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.parseCss=void 0;var n=r(200);function i(t,e){var r=function t(e,r){var n=r(e);return"rgba(0, 0, 0, 0)"===n||"transparent"===n||"initial"===n||"inherit"===n?null==e.parentElement?null:t(e.parentElement,r):n}(t,e);if(!r)return null;var n=r.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/);if(!n||!Array.isArray(n))return null;var i=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])];return 0===parseInt(n[4])||isNaN(i[0])||isNaN(i[1])||isNaN(i[2])?null:i}e.parseCss=function(t,e,r,o,a){var s={},c=i(e,(function(t){return a.getComputedStyle(t).backgroundColor}));null!=c&&(s.fillColor=c);var u=i(e,(function(t){return a.getComputedStyle(t).color}));null!=u&&(s.textColor=u);var l=i(e,(function(t){return a.getComputedStyle(t).borderTopColor}));null!=l&&(s.lineColor=l);var f=function(t,e){var r=[t.paddingTop,t.paddingRight,t.paddingBottom,t.paddingLeft],i=96/(72/e),o=(parseInt(t.lineHeight)-parseInt(t.fontSize))/e/2,a=r.map((function(t){return parseInt(t||"0")/i})),s=(0,n.parseSpacing)(a,0);return o>s.top&&(s.top=o),o>s.bottom&&(s.bottom=o),s}(o,r);f&&(s.cellPadding=f);var h=parseInt(o.borderTopWidth||"");(h=h/(96/72)/r)&&(s.lineWidth=h);var d=["left","right","center","justify"];-1!==d.indexOf(o.textAlign)&&(s.halign=o.textAlign),-1!==(d=["middle","bottom","top"]).indexOf(o.verticalAlign)&&(s.valign=o.verticalAlign);var p=parseInt(o.fontSize||"");isNaN(p)||(s.fontSize=p/(96/72));var m=function(t){var e="";return("bold"===t.fontWeight||"bolder"===t.fontWeight||parseInt(t.fontWeight)>=700)&&(e="bold"),"italic"!==t.fontStyle&&"oblique"!==t.fontStyle||(e+="italic"),e}(o);m&&(s.fontStyle=m);var b=(o.fontFamily||"").toLowerCase();return-1!==t.indexOf(b)&&(s.font=b),s}},323:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.DocHandler=void 0;var r={},n=function(){function t(t){this.jsPDFDocument=t,this.userStyles={textColor:t.getTextColor?this.jsPDFDocument.getTextColor():0,fontSize:t.internal.getFontSize(),fontStyle:t.internal.getFont().fontStyle,font:t.internal.getFont().fontName}}return t.setDefaults=function(t,e){void 0===e&&(e=null),e?e.__autoTableDocumentDefaults=t:r=t},t.unifyColor=function(t){return Array.isArray(t)?t:"number"==typeof t?[t,t,t]:"string"==typeof t?[t]:null},t.prototype.applyStyles=function(e,r){var n,i,o;void 0===r&&(r=!1),e.fontStyle&&this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(e.fontStyle);var a=this.jsPDFDocument.internal.getFont(),s=a.fontStyle,c=a.fontName;if(e.font&&(c=e.font),e.fontStyle){s=e.fontStyle;var u=this.getFontList()[c];u&&-1===u.indexOf(s)&&(this.jsPDFDocument.setFontStyle&&this.jsPDFDocument.setFontStyle(u[0]),s=u[0])}if(this.jsPDFDocument.setFont(c,s),e.fontSize&&this.jsPDFDocument.setFontSize(e.fontSize),!r){var l=t.unifyColor(e.fillColor);l&&(n=this.jsPDFDocument).setFillColor.apply(n,l),(l=t.unifyColor(e.textColor))&&(i=this.jsPDFDocument).setTextColor.apply(i,l),(l=t.unifyColor(e.lineColor))&&(o=this.jsPDFDocument).setDrawColor.apply(o,l),"number"==typeof e.lineWidth&&this.jsPDFDocument.setLineWidth(e.lineWidth)}},t.prototype.splitTextToSize=function(t,e,r){return this.jsPDFDocument.splitTextToSize(t,e,r)},t.prototype.rect=function(t,e,r,n,i){return this.jsPDFDocument.rect(t,e,r,n,i)},t.prototype.getLastAutoTable=function(){return this.jsPDFDocument.lastAutoTable||null},t.prototype.getTextWidth=function(t){return this.jsPDFDocument.getTextWidth(t)},t.prototype.getDocument=function(){return this.jsPDFDocument},t.prototype.setPage=function(t){this.jsPDFDocument.setPage(t)},t.prototype.addPage=function(){return this.jsPDFDocument.addPage()},t.prototype.getFontList=function(){return this.jsPDFDocument.getFontList()},t.prototype.getGlobalOptions=function(){return r||{}},t.prototype.getDocumentOptions=function(){return this.jsPDFDocument.__autoTableDocumentDefaults||{}},t.prototype.pageSize=function(){var t=this.jsPDFDocument.internal.pageSize;return null==t.width&&(t={width:t.getWidth(),height:t.getHeight()}),t},t.prototype.scaleFactor=function(){return this.jsPDFDocument.internal.scaleFactor},t.prototype.pageNumber=function(){var t=this.jsPDFDocument.internal.getCurrentPageInfo();return t?t.pageNumber:this.jsPDFDocument.internal.getNumberOfPages()},t}();e.DocHandler=n},148:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.parseHtml=void 0;var n=r(259),i=r(913);function o(t,e,r,o,s,c){for(var u=new i.HtmlRowInput(o),l=0;l<o.cells.length;l++){var f=o.cells[l],h=r.getComputedStyle(f);if(s||"none"!==h.display){var d=void 0;c&&(d=(0,n.parseCss)(t,f,e,h,r)),u.push({rowSpan:f.rowSpan,colSpan:f.colSpan,styles:d,_element:f,content:a(f)})}}var p=r.getComputedStyle(o);if(u.length>0&&(s||"none"!==p.display))return u}function a(t){var e=t.cloneNode(!0);return e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/ +/g," "),e.innerHTML=e.innerHTML.split(/\<br.*?\>/).map((function(t){return t.trim()})).join("\n"),e.innerText||e.textContent||""}e.parseHtml=function(t,e,r,n,i){var a,s,c;void 0===n&&(n=!1),void 0===i&&(i=!1),c="string"==typeof e?r.document.querySelector(e):e;var u=Object.keys(t.getFontList()),l=t.scaleFactor(),f=[],h=[],d=[];if(!c)return console.error("Html table could not be found with input: ",e),{head:f,body:h,foot:d};for(var p=0;p<c.rows.length;p++){var m=c.rows[p],b=null===(s=null===(a=null==m?void 0:m.parentElement)||void 0===a?void 0:a.tagName)||void 0===s?void 0:s.toLowerCase(),v=o(u,l,r,m,n,i);v&&("thead"===b?f.push(v):"tfoot"===b?d.push(v):h.push(v))}return{head:f,body:h,foot:d}}},587:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.parseInput=void 0;var n=r(148),i=r(360),o=r(200),a=r(323),s=r(291);function c(t,e,r){var n=t[0]||e[0]||r[0]||[],i=[];return Object.keys(n).filter((function(t){return"_element"!==t})).forEach((function(t){var e,r=1;"object"!=typeof(e=Array.isArray(n)?n[parseInt(t)]:n[t])||Array.isArray(e)||(r=(null==e?void 0:e.colSpan)||1);for(var o=0;o<r;o++){var a={dataKey:Array.isArray(n)?i.length:t+(o>0?"_"+o:"")};i.push(a)}})),i}e.parseInput=function(t,e){var r=new a.DocHandler(t),u=r.getDocumentOptions(),l=r.getGlobalOptions();(0,s.default)(r,l,u,e);var f,h=(0,i.assign)({},l,u,e);"undefined"!=typeof window&&(f=window);var d=function(t,e,r){for(var n={styles:{},headStyles:{},bodyStyles:{},footStyles:{},alternateRowStyles:{},columnStyles:{}},o=function(o){if("columnStyles"===o){var a=t[o],s=e[o],c=r[o];n.columnStyles=(0,i.assign)({},a,s,c)}else{var u=[t,e,r].map((function(t){return t[o]||{}}));n[o]=(0,i.assign)({},u[0],u[1],u[2])}},a=0,s=Object.keys(n);a<s.length;a++)o(s[a]);return n}(l,u,e),p=function(t,e,r){for(var n={didParseCell:[],willDrawCell:[],didDrawCell:[],didDrawPage:[]},i=0,o=[t,e,r];i<o.length;i++){var a=o[i];a.didParseCell&&n.didParseCell.push(a.didParseCell),a.willDrawCell&&n.willDrawCell.push(a.willDrawCell),a.didDrawCell&&n.didDrawCell.push(a.didDrawCell),a.didDrawPage&&n.didDrawPage.push(a.didDrawPage)}return n}(l,u,e),m=function(t,e){var r,n,i,a,s,c,u,l,f,h,d,p,m,b=(0,o.parseSpacing)(e.margin,40/t.scaleFactor()),v=null!==(r=function(t,e){var r=t.getLastAutoTable(),n=t.scaleFactor(),i=t.pageNumber(),o=!1;return r&&r.startPageNumber&&(o=r.startPageNumber+r.pageNumber-1===i),"number"==typeof e?e:null!=e&&!1!==e||!o||null==(null==r?void 0:r.finalY)?null:r.finalY+20/n}(t,e.startY))&&void 0!==r?r:b.top;p=!0===e.showFoot?"everyPage":!1===e.showFoot?"never":null!==(n=e.showFoot)&&void 0!==n?n:"everyPage",m=!0===e.showHead?"everyPage":!1===e.showHead?"never":null!==(i=e.showHead)&&void 0!==i?i:"everyPage";var g=null!==(a=e.useCss)&&void 0!==a&&a,y=e.theme||(g?"plain":"striped"),w=!!e.horizontalPageBreak,x=null!==(s=e.horizontalPageBreakRepeat)&&void 0!==s?s:null;return{includeHiddenHtml:null!==(c=e.includeHiddenHtml)&&void 0!==c&&c,useCss:g,theme:y,startY:v,margin:b,pageBreak:null!==(u=e.pageBreak)&&void 0!==u?u:"auto",rowPageBreak:null!==(l=e.rowPageBreak)&&void 0!==l?l:"auto",tableWidth:null!==(f=e.tableWidth)&&void 0!==f?f:"auto",showHead:m,showFoot:p,tableLineWidth:null!==(h=e.tableLineWidth)&&void 0!==h?h:0,tableLineColor:null!==(d=e.tableLineColor)&&void 0!==d?d:200,horizontalPageBreak:w,horizontalPageBreakRepeat:x}}(r,h),b=function(t,e,r){var i=e.head||[],o=e.body||[],a=e.foot||[];if(e.html){var s=e.includeHiddenHtml;if(r){var u=(0,n.parseHtml)(t,e.html,r,s,e.useCss)||{};i=u.head||i,o=u.body||i,a=u.foot||i}else console.error("Cannot parse html in non browser environment")}return{columns:e.columns||c(i,o,a),head:i,body:o,foot:a}}(r,h,f);return{id:e.tableId,content:b,hooks:p,styles:d,settings:m}}},291:function(t,e){function r(t){t.rowHeight?(console.error("Use of deprecated style rowHeight. It is renamed to minCellHeight."),t.minCellHeight||(t.minCellHeight=t.rowHeight)):t.columnWidth&&(console.error("Use of deprecated style columnWidth. It is renamed to cellWidth."),t.cellWidth||(t.cellWidth=t.columnWidth))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,i){for(var o=function(e){e&&"object"!=typeof e&&console.error("The options parameter should be of type object, is: "+typeof e),void 0!==e.extendWidth&&(e.tableWidth=e.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),void 0!==e.margins&&(void 0===e.margin&&(e.margin=e.margins),console.error("Use of deprecated option: margins, use margin instead.")),e.startY&&"number"!=typeof e.startY&&(console.error("Invalid value for startY option",e.startY),delete e.startY),!e.didDrawPage&&(e.afterPageContent||e.beforePageContent||e.afterPageAdd)&&(console.error("The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead"),e.didDrawPage=function(r){t.applyStyles(t.userStyles),e.beforePageContent&&e.beforePageContent(r),t.applyStyles(t.userStyles),e.afterPageContent&&e.afterPageContent(r),t.applyStyles(t.userStyles),e.afterPageAdd&&r.pageNumber>1&&r.afterPageAdd(r),t.applyStyles(t.userStyles)}),["createdHeaderCell","drawHeaderRow","drawRow","drawHeaderCell"].forEach((function(t){e[t]&&console.error('The "'+t+'" hook has changed in version 3.0, check the changelog for how to migrate.')})),[["showFoot","showFooter"],["showHead","showHeader"],["didDrawPage","addPageContent"],["didParseCell","createdCell"],["headStyles","headerStyles"]].forEach((function(t){var r=t[0],n=t[1];e[n]&&(console.error("Use of deprecated option "+n+". Use "+r+" instead"),e[r]=e[n])})),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(t){var r="string"==typeof t?t:t[0],n="string"==typeof t?t:t[1];void 0!==e[r]&&(void 0===e.styles[n]&&(e.styles[n]=e[r]),console.error("Use of deprecated option: "+r+", use the style "+n+" instead."))}));for(var n=0,i=["styles","bodyStyles","headStyles","footStyles"];n<i.length;n++)r(e[i[n]]||{});for(var o=e.columnStyles||{},a=0,s=Object.keys(o);a<s.length;a++)r(o[s[a]]||{})},a=0,s=[e,n,i];a<s.length;a++)o(s[a])}},287:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.Column=e.Cell=e.Row=e.Table=void 0;var n=r(913),i=r(662),o=r(200),a=function(){function t(t,e){this.pageNumber=1,this.pageCount=1,this.id=t.id,this.settings=t.settings,this.styles=t.styles,this.hooks=t.hooks,this.columns=e.columns,this.head=e.head,this.body=e.body,this.foot=e.foot}return t.prototype.getHeadHeight=function(t){return this.head.reduce((function(e,r){return e+r.getMaxCellHeight(t)}),0)},t.prototype.getFootHeight=function(t){return this.foot.reduce((function(e,r){return e+r.getMaxCellHeight(t)}),0)},t.prototype.allRows=function(){return this.head.concat(this.body).concat(this.foot)},t.prototype.callCellHooks=function(t,e,r,n,o,a){for(var s=0,c=e;s<c.length;s++){var u=!1===(0,c[s])(new i.CellHookData(t,this,r,n,o,a));if(r.text=Array.isArray(r.text)?r.text:[r.text],u)return!1}return!0},t.prototype.callEndPageHooks=function(t,e){t.applyStyles(t.userStyles);for(var r=0,n=this.hooks.didDrawPage;r<n.length;r++)(0,n[r])(new i.HookData(t,this,e))},t.prototype.getWidth=function(t){if("number"==typeof this.settings.tableWidth)return this.settings.tableWidth;if("wrap"===this.settings.tableWidth)return this.columns.reduce((function(t,e){return t+e.wrappedWidth}),0);var e=this.settings.margin;return t-e.left-e.right},t}();e.Table=a;var s=function(){function t(t,e,r,i,o){void 0===o&&(o=!1),this.height=0,this.raw=t,t instanceof n.HtmlRowInput&&(this.raw=t._element,this.element=t._element),this.index=e,this.section=r,this.cells=i,this.spansMultiplePages=o}return t.prototype.getMaxCellHeight=function(t){var e=this;return t.reduce((function(t,r){var n;return Math.max(t,(null===(n=e.cells[r.index])||void 0===n?void 0:n.height)||0)}),0)},t.prototype.hasRowSpan=function(t){var e=this;return t.filter((function(t){var r=e.cells[t.index];return!!r&&r.rowSpan>1})).length>0},t.prototype.canEntireRowFit=function(t,e){return this.getMaxCellHeight(e)<=t},t.prototype.getMinimumRowHeight=function(t,e){var r=this;return t.reduce((function(t,i){var o=r.cells[i.index];if(!o)return 0;var a=o.styles.fontSize/e.scaleFactor()*n.FONT_ROW_RATIO,s=o.padding("vertical")+a;return s>t?s:t}),0)},t}();e.Row=s;var c=function(){function t(t,e,r){var n,i;this.contentHeight=0,this.contentWidth=0,this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.height=0,this.x=0,this.y=0,this.styles=e,this.section=r,this.raw=t;var o=t;null==t||"object"!=typeof t||Array.isArray(t)?(this.rowSpan=1,this.colSpan=1):(this.rowSpan=t.rowSpan||1,this.colSpan=t.colSpan||1,o=null!==(i=null!==(n=t.content)&&void 0!==n?n:t.title)&&void 0!==i?i:t,t._element&&(this.raw=t._element));var a=null!=o?""+o:"";this.text=a.split(/\r\n|\r|\n/g)}return t.prototype.getTextPos=function(){var t,e;if("top"===this.styles.valign)t=this.y+this.padding("top");else if("bottom"===this.styles.valign)t=this.y+this.height-this.padding("bottom");else{var r=this.height-this.padding("vertical");t=this.y+r/2+this.padding("top")}if("right"===this.styles.halign)e=this.x+this.width-this.padding("right");else if("center"===this.styles.halign){var n=this.width-this.padding("horizontal");e=this.x+n/2+this.padding("left")}else e=this.x+this.padding("left");return{x:e,y:t}},t.prototype.getContentHeight=function(t){var e=(Array.isArray(this.text)?this.text.length:1)*(this.styles.fontSize/t*n.FONT_ROW_RATIO)+this.padding("vertical");return Math.max(e,this.styles.minCellHeight)},t.prototype.padding=function(t){var e=(0,o.parseSpacing)(this.styles.cellPadding,0);return"vertical"===t?e.top+e.bottom:"horizontal"===t?e.left+e.right:e[t]},t}();e.Cell=c;var u=function(){function t(t,e,r){this.wrappedWidth=0,this.minReadableWidth=0,this.minWidth=0,this.width=0,this.dataKey=t,this.raw=e,this.index=r}return t.prototype.getMaxCustomCellWidth=function(t){for(var e=0,r=0,n=t.allRows();r<n.length;r++){var i=n[r].cells[this.index];i&&"number"==typeof i.styles.cellWidth&&(e=Math.max(e,i.styles.cellWidth))}return e},t}();e.Column=u},360:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.assign=void 0,e.assign=function(t,e,r,n,i){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(t),a=1;a<arguments.length;a++){var s=arguments[a];if(null!=s)for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(o[c]=s[c])}return o}},858:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.createTable=void 0;var n=r(323),i=r(287),o=r(189),a=r(913),s=r(360);function c(t,e,r,n,o,a){var s={};return e.map((function(e,c){for(var u=0,f={},h=0,d=0,p=0,m=r;p<m.length;p++){var b=m[p];if(null==s[b.index]||0===s[b.index].left)if(0===d){var v,g={};"object"!=typeof(v=Array.isArray(e)?e[b.index-h-u]:e[b.dataKey])||Array.isArray(v)||(g=(null==v?void 0:v.styles)||{});var y=l(t,b,c,o,n,a,g),w=new i.Cell(v,y,t);f[b.dataKey]=w,f[b.index]=w,d=w.colSpan-1,s[b.index]={left:w.rowSpan-1,times:d}}else d--,h++;else s[b.index].left--,d=s[b.index].times,u++}return new i.Row(e,c,t,f)}))}function u(t,e){var r={};return t.forEach((function(t){if(null!=t.raw){var n=function(t,e){if("head"===t){if("object"==typeof e)return e.header||e.title||null;if("string"==typeof e||"number"==typeof e)return e}else if("foot"===t&&"object"==typeof e)return e.footer;return null}(e,t.raw);null!=n&&(r[t.dataKey]=n)}})),Object.keys(r).length>0?r:null}function l(t,e,r,n,i,o,c){var u,l=(0,a.getTheme)(n);"head"===t?u=i.headStyles:"body"===t?u=i.bodyStyles:"foot"===t&&(u=i.footStyles);var f=(0,s.assign)({},l.table,l[t],i.styles,u),h=i.columnStyles[e.dataKey]||i.columnStyles[e.index]||{},d="body"===t?h:{},p="body"===t&&r%2==0?(0,s.assign)({},l.alternateRow,i.alternateRowStyles):{},m=(0,a.defaultStyles)(o),b=(0,s.assign)({},m,f,p,d);return(0,s.assign)(b,c)}e.createTable=function(t,e){var r=new n.DocHandler(t),a=function(t,e){var r,n=t.content,o=function(t){return t.map((function(t,e){var r,n,o;return o="object"==typeof t&&null!==(n=null!==(r=t.dataKey)&&void 0!==r?r:t.key)&&void 0!==n?n:e,new i.Column(o,t,e)}))}(n.columns);0===n.head.length&&(r=u(o,"head"))&&n.head.push(r),0===n.foot.length&&(r=u(o,"foot"))&&n.foot.push(r);var a=t.settings.theme,s=t.styles;return{columns:o,head:c("head",n.head,o,s,a,e),body:c("body",n.body,o,s,a,e),foot:c("foot",n.foot,o,s,a,e)}}(e,r.scaleFactor()),s=new i.Table(e,a);return(0,o.calculateWidths)(r,s),r.applyStyles(r.userStyles),s}},49:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.addPage=e.drawTable=void 0;var n=r(913),i=r(200),o=r(287),a=r(323),s=r(360),c=r(938),u=r(435);function l(t,e,r){var i=t.styles.fontSize/r.scaleFactor()*n.FONT_ROW_RATIO,o=t.padding("vertical"),a=Math.floor((e-o)/i);return Math.max(0,a)}function f(t,e,r,n,i,a,c){var u=function(t,e,r,n){var i=e.settings.margin.bottom,o=e.settings.showFoot;return("everyPage"===o||"lastPage"===o&&r)&&(i+=e.getFootHeight(e.columns)),t.pageSize().height-n.y-i}(t,e,n,a);if(r.canEntireRowFit(u,c))h(t,e,r,a,c);else if(function(t,e,r,n){var i=t.pageSize().height,o=n.settings.margin,a=i-(o.top+o.bottom);"body"===e.section&&(a-=n.getHeadHeight(n.columns)+n.getFootHeight(n.columns));var s=e.getMinimumRowHeight(n.columns,t),c=s<r;if(s>a)return console.error("Will not be able to print row "+e.index+" correctly since it's minimum height is larger than page height"),!0;if(!c)return!1;var u=e.hasRowSpan(n.columns);return e.getMaxCellHeight(n.columns)>a?(u&&console.error("The content of row "+e.index+" will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported."),!0):!u&&"avoid"!==n.settings.rowPageBreak}(t,r,u,e)){var d=function(t,e,r,n){var i={};t.spansMultiplePages=!0,t.height=0;for(var a=0,c=0,u=r.columns;c<u.length;c++){var f=u[c];if(g=t.cells[f.index]){Array.isArray(g.text)||(g.text=[g.text]);var h=new o.Cell(g.raw,g.styles,g.section);(h=(0,s.assign)(h,g)).text=[];var d=l(g,e,n);g.text.length>d&&(h.text=g.text.splice(d,g.text.length));var p=n.scaleFactor();g.contentHeight=g.getContentHeight(p),g.contentHeight>=e&&(g.contentHeight=e,h.styles.minCellHeight-=e),g.contentHeight>t.height&&(t.height=g.contentHeight),h.contentHeight=h.getContentHeight(p),h.contentHeight>a&&(a=h.contentHeight),i[f.index]=h}}var m=new o.Row(t.raw,-1,t.section,i,!0);m.height=a;for(var b=0,v=r.columns;b<v.length;b++){var g;f=v[b],(h=m.cells[f.index])&&(h.height=m.height),(g=t.cells[f.index])&&(g.height=t.height)}return m}(r,u,e,t);h(t,e,r,a,c),p(t,e,i,a,c),f(t,e,d,n,i,a,c)}else p(t,e,i,a,c),f(t,e,r,n,i,a,c)}function h(t,e,r,n,i){n.x=e.settings.margin.left;for(var o=0,a=i;o<a.length;o++){var s=a[o],u=r.cells[s.index];if(u)if(t.applyStyles(u.styles),u.x=n.x,u.y=n.y,!1!==e.callCellHooks(t,e.hooks.willDrawCell,u,r,s,n)){d(t,u,n);var l=u.getTextPos();(0,c.default)(u.text,l.x,l.y,{halign:u.styles.halign,valign:u.styles.valign,maxWidth:Math.ceil(u.width-u.padding("left")-u.padding("right"))},t.getDocument()),e.callCellHooks(t,e.hooks.didDrawCell,u,r,s,n),n.x+=s.width}else n.x+=s.width;else n.x+=s.width}n.y+=r.height}function d(t,e,r){var n=e.styles;if(t.getDocument().setFillColor(t.getDocument().getFillColor()),"number"==typeof n.lineWidth){var o=(0,i.getFillStyle)(n.lineWidth,n.fillColor);o&&t.rect(e.x,r.y,e.width,e.height,o)}else if("object"==typeof n.lineWidth){t.rect(e.x,r.y,e.width,e.height,"F");var a=Object.keys(n.lineWidth),s=n.lineWidth;a.map((function(o){var a=(0,i.getFillStyle)(s[o],n.fillColor);!function(t,e,r,n,i,o){var a,s,c,u;switch(n){case"top":a=r.x,s=r.y,c=r.x+e.width,u=r.y;break;case"left":a=r.x,s=r.y,c=r.x,u=r.y+e.height;break;case"right":a=r.x+e.width,s=r.y,c=r.x+e.width,u=r.y+e.height;break;default:a=r.x,s=r.y+e.height-o,c=r.x+e.width,u=r.y+e.height-o}t.getDocument().setLineWidth(o),t.getDocument().line(a,s,c,u,i)}(t,e,r,o,a||"S",s[o])}))}}function p(t,e,r,n,o){void 0===o&&(o=[]),t.applyStyles(t.userStyles),"everyPage"===e.settings.showFoot&&e.foot.forEach((function(r){return h(t,e,r,n,o)})),e.callEndPageHooks(t,n);var a=e.settings.margin;(0,i.addTableBorder)(t,e,r,n),m(t),e.pageNumber++,e.pageCount++,n.x=a.left,n.y=a.top,r.y=a.top,"everyPage"===e.settings.showHead&&e.head.forEach((function(r){return h(t,e,r,n,o)}))}function m(t){var e=t.pageNumber();t.setPage(e+1),t.pageNumber()===e&&t.addPage()}e.drawTable=function(t,e){var r=e.settings,n=r.startY,o=r.margin,c={x:o.left,y:n},l=e.getHeadHeight(e.columns)+e.getFootHeight(e.columns),d=n+o.bottom+l;"avoid"===r.pageBreak&&(d+=e.allRows().reduce((function(t,e){return t+e.height}),0));var b=new a.DocHandler(t);("always"===r.pageBreak||null!=r.startY&&d>b.pageSize().height)&&(m(b),c.y=o.top);var v=(0,s.assign)({},c);e.startPageNumber=b.pageNumber(),!0===r.horizontalPageBreak?function(t,e,r,n){u.default.calculateAllColumnsCanFitInPage(t,e).map((function(i,o){t.applyStyles(t.userStyles),o>0?p(t,e,r,n,i.columns):function(t,e,r,n){var i=e.settings;t.applyStyles(t.userStyles),("firstPage"===i.showHead||"everyPage"===i.showHead)&&e.head.forEach((function(i){return h(t,e,i,r,n)}))}(t,e,n,i.columns),function(t,e,r,n,i){t.applyStyles(t.userStyles),e.body.forEach((function(o,a){var s=a===e.body.length-1;f(t,e,o,s,r,n,i)}))}(t,e,r,n,i.columns),function(t,e,r,n){var i=e.settings;t.applyStyles(t.userStyles),("lastPage"===i.showFoot||"everyPage"===i.showFoot)&&e.foot.forEach((function(i){return h(t,e,i,r,n)}))}(t,e,n,i.columns)}))}(b,e,v,c):(b.applyStyles(b.userStyles),"firstPage"!==r.showHead&&"everyPage"!==r.showHead||e.head.forEach((function(t){return h(b,e,t,c,e.columns)})),b.applyStyles(b.userStyles),e.body.forEach((function(t,r){var n=r===e.body.length-1;f(b,e,t,n,v,c,e.columns)})),b.applyStyles(b.userStyles),"lastPage"!==r.showFoot&&"everyPage"!==r.showFoot||e.foot.forEach((function(t){return h(b,e,t,c,e.columns)}))),(0,i.addTableBorder)(b,e,v,c),e.callEndPageHooks(b,c),e.finalY=c.y,t.lastAutoTable=e,t.previousAutoTable=e,t.autoTable&&(t.autoTable.previous=e),b.applyStyles(b.userStyles)},e.addPage=p},435:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});var n=r(200),i=function(t,e){var r=(0,n.parseSpacing)(e.settings.margin,0);return t.pageSize().width-(r.left+r.right)},o=function(t,e,r){void 0===r&&(r={});var n=i(t,e),o=e.settings.horizontalPageBreakRepeat,a=null,s=[],c=[],u=e.columns.length,l=r&&r.start?r.start:0;for(null!=o&&(a=e.columns.find((function(t){return t.dataKey===o||t.index===o})))&&(s.push(a.index),c.push(e.columns[a.index]),n-=a.wrappedWidth);l<u;)if((null==a?void 0:a.index)!==l){var f=e.columns[l].wrappedWidth;if(n<f){0!==l&&l!==r.start||(s.push(l),c.push(e.columns[l]));break}s.push(l),c.push(e.columns[l]),n-=f,l++}else l++;return{colIndexes:s,columns:c,lastIndex:l}};e.default={getColumnsCanFitInPage:o,calculateAllColumnsCanFitInPage:function(t,e){for(var r=[],n=0,i=e.columns.length;n<i;){var a=o(t,e,{start:0===n?0:n});a&&a.columns&&a.columns.length?(n=a.lastIndex,r.push(a)):n++}return r},getPageAvailableWidth:i}},189:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.ellipsize=e.resizeColumns=e.calculateWidths=void 0;var n=r(200),i=r(435);function o(t,e,r){for(var n=e,i=t.reduce((function(t,e){return t+e.wrappedWidth}),0),a=0;a<t.length;a++){var s=t[a],c=n*(s.wrappedWidth/i),u=s.width+c,l=r(s),f=u<l?l:u;e-=f-s.width,s.width=f}if(e=Math.round(1e10*e)/1e10){var h=t.filter((function(t){return!(e<0)||t.width>r(t)}));h.length&&(e=o(h,e,r))}return e}function a(t,e,r,i,o){return t.map((function(t){return function(t,e,r,i,o){var a=1e4*i.scaleFactor();if((e=Math.ceil(e*a)/a)>=(0,n.getStringWidth)(t,r,i))return t;for(;e<(0,n.getStringWidth)(t+o,r,i)&&!(t.length<=1);)t=t.substring(0,t.length-1);return t.trim()+o}(t,e,r,i,o)}))}e.calculateWidths=function(t,e){!function(t,e){var r=t.scaleFactor(),o=e.settings.horizontalPageBreak,a=i.default.getPageAvailableWidth(t,e);e.allRows().forEach((function(i){for(var s=0,c=e.columns;s<c.length;s++){var u=c[s],l=i.cells[u.index];if(l){var f=e.hooks.didParseCell;e.callCellHooks(t,f,l,i,u,null);var h=l.padding("horizontal");l.contentWidth=(0,n.getStringWidth)(l.text,l.styles,t)+h;var d=(0,n.getStringWidth)(l.text.join(" ").split(/\s+/),l.styles,t);if(l.minReadableWidth=d+l.padding("horizontal"),"number"==typeof l.styles.cellWidth)l.minWidth=l.styles.cellWidth,l.wrappedWidth=l.styles.cellWidth;else if("wrap"===l.styles.cellWidth||!0===o)l.contentWidth>a?(l.minWidth=a,l.wrappedWidth=a):(l.minWidth=l.contentWidth,l.wrappedWidth=l.contentWidth);else{var p=10/r;l.minWidth=l.styles.minCellWidth||p,l.wrappedWidth=l.contentWidth,l.minWidth>l.wrappedWidth&&(l.wrappedWidth=l.minWidth)}}}})),e.allRows().forEach((function(t){for(var r=0,n=e.columns;r<n.length;r++){var i=n[r],o=t.cells[i.index];if(o&&1===o.colSpan)i.wrappedWidth=Math.max(i.wrappedWidth,o.wrappedWidth),i.minWidth=Math.max(i.minWidth,o.minWidth),i.minReadableWidth=Math.max(i.minReadableWidth,o.minReadableWidth);else{var a=e.styles.columnStyles[i.dataKey]||e.styles.columnStyles[i.index]||{},s=a.cellWidth||a.minCellWidth;s&&"number"==typeof s&&(i.minWidth=s,i.wrappedWidth=s)}o&&(o.colSpan>1&&!i.minWidth&&(i.minWidth=o.minWidth),o.colSpan>1&&!i.wrappedWidth&&(i.wrappedWidth=o.minWidth))}}))}(t,e);var r=[],s=0;e.columns.forEach((function(t){var n=t.getMaxCustomCellWidth(e);n?t.width=n:(t.width=t.wrappedWidth,r.push(t)),s+=t.width}));var c=e.getWidth(t.pageSize().width)-s;c&&(c=o(r,c,(function(t){return Math.max(t.minReadableWidth,t.minWidth)}))),c&&(c=o(r,c,(function(t){return t.minWidth}))),c=Math.abs(c),!e.settings.horizontalPageBreak&&c>.1/t.scaleFactor()&&(c=c<1?c:Math.round(c),console.error("Of the table content, "+c+" units width could not fit page")),function(t){for(var e=t.allRows(),r=0;r<e.length;r++)for(var n=e[r],i=null,o=0,a=0,s=0;s<t.columns.length;s++){var c=t.columns[s];if((a-=1)>1&&t.columns[s+1])o+=c.width,delete n.cells[c.index];else if(i){var u=i;delete n.cells[c.index],i=null,u.width=c.width+o}else{if(!(u=n.cells[c.index]))continue;if(a=u.colSpan,o=0,u.colSpan>1){i=u,o+=c.width;continue}u.width=c.width+o}}}(e),function(t,e){for(var r={count:0,height:0},n=0,i=t.allRows();n<i.length;n++){for(var o=i[n],s=0,c=t.columns;s<c.length;s++){var u=c[s],l=o.cells[u.index];if(l){e.applyStyles(l.styles,!0);var f=l.width-l.padding("horizontal");"linebreak"===l.styles.overflow?l.text=e.splitTextToSize(l.text,f+1/e.scaleFactor(),{fontSize:l.styles.fontSize}):"ellipsize"===l.styles.overflow?l.text=a(l.text,f,l.styles,e,"..."):"hidden"===l.styles.overflow?l.text=a(l.text,f,l.styles,e,""):"function"==typeof l.styles.overflow&&(l.text=l.styles.overflow(l.text,f)),l.contentHeight=l.getContentHeight(e.scaleFactor());var h=l.contentHeight/l.rowSpan;l.rowSpan>1&&r.count*r.height<h*l.rowSpan?r={height:h,count:l.rowSpan}:r&&r.count>0&&r.height>h&&(h=r.height),h>o.height&&(o.height=h)}}r.count--}}(e,t),function(t){for(var e={},r=1,n=t.allRows(),i=0;i<n.length;i++)for(var o=n[i],a=0,s=t.columns;a<s.length;a++){var c=s[a],u=e[c.index];if(r>1)r--,delete o.cells[c.index];else if(u)u.cell.height+=o.height,r=u.cell.colSpan,delete o.cells[c.index],u.left--,u.left<=1&&delete e[c.index];else{var l=o.cells[c.index];if(!l)continue;if(l.height=o.height,l.rowSpan>1){var f=n.length-i,h=l.rowSpan>f?f:l.rowSpan;e[c.index]={cell:l,left:h,row:o}}}}}(e)},e.resizeColumns=o,e.ellipsize=a},84:function(t){if(void 0===n){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}t.exports=n}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}var i={};return function(){var t=i;Object.defineProperty(t,"__esModule",{value:!0}),t.Cell=t.Column=t.Row=t.Table=t.CellHookData=t.__drawTable=t.__createTable=t.applyPlugin=void 0;var e=r(790),n=r(587),o=r(49),a=r(858),s=r(287);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return s.Table}});var c=r(662);Object.defineProperty(t,"CellHookData",{enumerable:!0,get:function(){return c.CellHookData}});var u=r(287);function l(t){(0,e.default)(t)}Object.defineProperty(t,"Cell",{enumerable:!0,get:function(){return u.Cell}}),Object.defineProperty(t,"Column",{enumerable:!0,get:function(){return u.Column}}),Object.defineProperty(t,"Row",{enumerable:!0,get:function(){return u.Row}}),t.applyPlugin=l,t.default=function(t,e){var r=(0,n.parseInput)(t,e),i=(0,a.createTable)(t,r);(0,o.drawTable)(t,i)},t.__createTable=function(t,e){var r=(0,n.parseInput)(t,e);return(0,a.createTable)(t,r)},t.__drawTable=function(t,e){(0,o.drawTable)(t,e)};try{var f=r(84);f.jsPDF&&(f=f.jsPDF),l(f)}catch(t){}}(),i}())},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");e.default=a},function(t,e,r){"use strict";r.d(e,"c",(function(){return a})),r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return l}));var n=r(14),i=r(2),o=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function c(t){return"".concat(Math.round(t),"ms")}function u(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}function l(t){var e=Object(i.a)({},a,t.easing),r=Object(i.a)({},s,t.duration);return Object(i.a)({getAutoHeightDuration:u,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.duration,s=void 0===a?r.standard:a,u=i.easing,l=void 0===u?e.easeInOut:u,f=i.delay,h=void 0===f?0:f;Object(n.a)(i,o);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:c(s)," ").concat(l," ").concat("string"===typeof h?h:c(h))})).join(",")}},t,{easing:e,duration:r})}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return R})),r.d(e,"b",(function(){return H})),r.d(e,"c",(function(){return L})),r.d(e,"d",(function(){return I})),r.d(e,"e",(function(){return l})),r.d(e,"f",(function(){return X})),r.d(e,"g",(function(){return j})),r.d(e,"h",(function(){return A})),r.d(e,"i",(function(){return _})),r.d(e,"j",(function(){return K})),r.d(e,"k",(function(){return $})),r.d(e,"l",(function(){return G})),r.d(e,"m",(function(){return P})),r.d(e,"n",(function(){return Y})),r.d(e,"o",(function(){return D}));var n="-ms-",i="-moz-",o="-webkit-",a="comm",s="rule",c="decl",u=Math.abs,l=String.fromCharCode;function f(t){return t.trim()}function h(t,e,r){return t.replace(e,r)}function d(t,e){return t.indexOf(e)}function p(t,e){return 0|t.charCodeAt(e)}function m(t,e,r){return t.slice(e,r)}function b(t){return t.length}function v(t){return t.length}function g(t,e){return e.push(t),t}function y(t,e){return t.map(e).join("")}var w=1,x=1,O=0,_=0,S=0,k="";function E(t,e,r,n,i,o,a){return{value:t,root:e,parent:r,type:n,props:i,children:o,line:w,column:x,length:a,return:""}}function M(t,e,r){return E(t,e.root,e.parent,r,e.props,e.children,0)}function C(){return S=_>0?p(k,--_):0,x--,10===S&&(x=1,w--),S}function j(){return S=_<O?p(k,_++):0,x++,10===S&&(x=1,w++),S}function A(){return p(k,_)}function T(){return _}function P(t,e){return m(k,t,e)}function D(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function R(t){return w=x=1,O=b(k=t),_=0,[]}function L(t){return k="",t}function I(t){return f(P(_-1,function t(e){for(;j();)switch(S){case e:return _;case 34:case 39:return t(34===e||39===e?e:S);case 40:41===e&&t(e);break;case 92:j()}return _}(91===t?t+2:40===t?t+1:t)))}function N(t){for(;(S=A())&&S<33;)j();return D(t)>2||D(S)>3?"":" "}function F(t,e){for(;--e&&j()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return P(t,T()+(e<6&&32==A()&&32==j()))}function B(t,e){for(;j()&&t+S!==57&&(t+S!==84||47!==A()););return"/*"+P(e,_-1)+"*"+l(47===t?t:j())}function z(t){for(;!D(A());)j();return P(t,_)}function H(t){return L(function t(e,r,n,i,o,a,s,c,u){var f=0,d=0,p=s,m=0,v=0,y=0,w=1,x=1,O=1,_=0,S="",k=o,E=a,M=i,P=S;for(;x;)switch(y=_,_=j()){case 34:case 39:case 91:case 40:P+=I(_);break;case 9:case 10:case 13:case 32:P+=N(y);break;case 92:P+=F(T()-1,7);continue;case 47:switch(A()){case 42:case 47:g(W(B(j(),T()),r,n),u);break;default:P+="/"}break;case 123*w:c[f++]=b(P)*O;case 125*w:case 59:case 0:switch(_){case 0:case 125:x=0;case 59+d:v>0&&b(P)-p&&g(v>32?q(P+";",i,n,p-1):q(h(P," ","")+";",i,n,p-2),u);break;case 59:P+=";";default:if(g(M=U(P,r,n,f,d,o,c,S,k=[],E=[],p),a),123===_)if(0===d)t(P,r,M,M,k,a,p,c,E);else switch(m){case 100:case 109:case 115:t(e,M,M,i&&g(U(e,M,M,0,0,o,c,S,o,k=[],p),E),o,E,p,c,i?k:E);break;default:t(P,M,M,M,[""],E,p,c,E)}}f=d=v=0,w=O=1,S=P="",p=s;break;case 58:p=1+b(P),v=y;default:if(w<1)if(123==_)--w;else if(125==_&&0==w++&&125==C())continue;switch(P+=l(_),_*w){case 38:O=d>0?1:(P+="\f",-1);break;case 44:c[f++]=(b(P)-1)*O,O=1;break;case 64:45===A()&&(P+=I(j())),m=A(),d=b(S=P+=z(T())),_++;break;case 45:45===y&&2==b(P)&&(w=0)}}return a}("",null,null,null,[""],t=R(t),0,[0],t))}function U(t,e,r,n,i,o,a,c,l,d,p){for(var b=i-1,g=0===i?o:[""],y=v(g),w=0,x=0,O=0;w<n;++w)for(var _=0,S=m(t,b+1,b=u(x=a[w])),k=t;_<y;++_)(k=f(x>0?g[_]+" "+S:h(S,/&\f/g,g[_])))&&(l[O++]=k);return E(t,e,r,0===i?s:c,l,d,p)}function W(t,e,r){return E(t,e,r,a,l(S),m(t,2,-2),0)}function q(t,e,r,n){return E(t,e,r,c,m(t,0,n),m(t,n+1,-1),n)}function V(t,e){switch(function(t,e){return(((e<<2^p(t,0))<<2^p(t,1))<<2^p(t,2))<<2^p(t,3)}(t,e)){case 5103:return o+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return o+t+i+t+n+t+t;case 6828:case 4268:return o+t+n+t+t;case 6165:return o+t+n+"flex-"+t+t;case 5187:return o+t+h(t,/(\w+).+(:[^]+)/,o+"box-$1$2"+n+"flex-$1$2")+t;case 5443:return o+t+n+"flex-item-"+h(t,/flex-|-self/,"")+t;case 4675:return o+t+n+"flex-line-pack"+h(t,/align-content|flex-|-self/,"")+t;case 5548:return o+t+n+h(t,"shrink","negative")+t;case 5292:return o+t+n+h(t,"basis","preferred-size")+t;case 6060:return o+"box-"+h(t,"-grow","")+o+t+n+h(t,"grow","positive")+t;case 4554:return o+h(t,/([^-])(transform)/g,"$1"+o+"$2")+t;case 6187:return h(h(h(t,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),t,"")+t;case 5495:case 3959:return h(t,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return h(h(t,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+t+t;case 4095:case 3583:case 4068:case 2532:return h(t,/(.+)-inline(.+)/,o+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(t)-1-e>6)switch(p(t,e+1)){case 109:if(45!==p(t,e+4))break;case 102:return h(t,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+i+(108==p(t,e+3)?"$3":"$2-$3"))+t;case 115:return~d(t,"stretch")?V(h(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==p(t,e+1))break;case 6444:switch(p(t,b(t)-3-(~d(t,"!important")&&10))){case 107:return h(t,":",":"+o)+t;case 101:return h(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===p(t,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+n+"$2box$3")+t}break;case 5936:switch(p(t,e+11)){case 114:return o+t+n+h(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return o+t+n+h(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return o+t+n+h(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return o+t+n+t+t}return t}function G(t,e){for(var r="",n=v(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function Y(t,e,r,n){switch(t.type){case"@import":case c:return t.return=t.return||t.value;case a:return"";case s:t.value=t.props.join(",")}return b(r=G(t.children,n))?t.return=t.value+"{"+r+"}":""}function X(t){var e=v(t);return function(r,n,i,o){for(var a="",s=0;s<e;s++)a+=t[s](r,n,i,o)||"";return a}}function $(t){return function(e){e.root||(e=e.return)&&t(e)}}function K(t,e,r,i){if(!t.return)switch(t.type){case c:t.return=V(t.value,t.length);break;case"@keyframes":return G([M(h(t.value,"@","@"+o),t,"")],i);case s:if(t.length)return y(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return G([M(h(e,/:(read-\w+)/,":-moz-$1"),t,"")],i);case"::placeholder":return G([M(h(e,/:(plac\w+)/,":"+o+"input-$1"),t,""),M(h(e,/:(plac\w+)/,":-moz-$1"),t,""),M(h(e,/:(plac\w+)/,n+"input-$1"),t,"")],i)}return""}))}}},function(t,e,r){"use strict";var n=r(508),i="object"==typeof self&&self&&self.Object===Object&&self,o=n.a||i||Function("return this")();e.a=o},,,function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(656),i=(r(0),r(282));function o(){return Object(n.a)()||i.a}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(20),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(t){return"".concat(Math.round(t),"ms")}e.a={easing:i,duration:o,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.duration,s=void 0===r?o.standard:r,c=e.easing,u=void 0===c?i.easeInOut:c,l=e.delay,f=void 0===l?0:l;Object(n.a)(e,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:a(s)," ").concat(u," ").concat("string"===typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}}},function(t,e,r){"use strict";var n=r(885);e.a=n.a},,,function(t,e,r){var n;"undefined"!=typeof self&&self,t.exports=(n=r(0),function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,r){"use strict";function n(){return(n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0});var s=r(1),c=r.n(s),u="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,l=Object(s.forwardRef)((function(t,e){var r=Object(s.useRef)(),o=Object(s.useRef)();return u((function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":a(window))&&window.Highcharts,n=t.constructorType||"chart";e?e[n]?t.options?o.current=e[n](r.current,t.options,t.callback?t.callback:void 0):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(o.current){if(!1!==t.allowChartUpdate)if(!t.immutable&&o.current){var n;(n=o.current).update.apply(n,[t.options].concat(i(t.updateArgs||[!0,!0])))}else e()}else e()})),u((function(){return function(){o.current&&(o.current.destroy(),o.current=null)}}),[]),Object(s.useImperativeHandle)(e,(function(){return{get chart(){return o.current},container:r}}),[]),c.a.createElement("div",n({},t.containerProps,{ref:r}))}));e.default=Object(s.memo)(l)},function(t,e){t.exports=n}]))},function(t,e,r){"use strict";r.d(e,"e",(function(){return j})),r.d(e,"d",(function(){return A})),r.d(e,"b",(function(){return T})),r.d(e,"a",(function(){return P}));var n=r(3),i=r(1),o=r(14),a=r(2),s=r(553),c=r(0),u=(r(10),r(8)),l=r(78),f=r(1415),h=r(252),d=r(222),p=r(285),m=r(170),b=r(13),v=r(22),g=r(24),y=r(72),w=r(156),x=r(1313),O=r(332),_=r(339),S=r(340);function k(t){return Object(_.a)("MuiInputBase",t)}var E=Object(S.a)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),M=r(6),C=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],j=function(t,e){var r=t.ownerState;return[e.root,r.formControl&&e.formControl,r.startAdornment&&e.adornedStart,r.endAdornment&&e.adornedEnd,r.error&&e.error,"small"===r.size&&e.sizeSmall,r.multiline&&e.multiline,r.color&&e["color".concat(Object(g.a)(r.color))],r.fullWidth&&e.fullWidth,r.hiddenLabel&&e.hiddenLabel]},A=function(t,e){var r=t.ownerState;return[e.input,"small"===r.size&&e.inputSizeSmall,r.multiline&&e.inputMultiline,"search"===r.type&&e.inputTypeSearch,r.startAdornment&&e.inputAdornedStart,r.endAdornment&&e.inputAdornedEnd,r.hiddenLabel&&e.inputHiddenLabel]},T=Object(b.a)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:j})((function(t){var e=t.theme,r=t.ownerState;return Object(a.a)({},e.typography.body1,Object(i.a)({color:e.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(E.disabled),{color:e.palette.text.disabled,cursor:"default"}),r.multiline&&Object(a.a)({padding:"4px 0 5px"},"small"===r.size&&{paddingTop:1}),r.fullWidth&&{width:"100%"})})),P=Object(b.a)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:A})((function(t){var e,r=t.theme,n=t.ownerState,o="light"===r.palette.mode,s={color:"currentColor",opacity:o?.42:.5,transition:r.transitions.create("opacity",{duration:r.transitions.duration.shorter})},c={opacity:"0 !important"},u={opacity:o?.42:.5};return Object(a.a)((e={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},Object(i.a)(e,"label[data-shrink=false] + .".concat(E.formControl," &"),{"&::-webkit-input-placeholder":c,"&::-moz-placeholder":c,"&:-ms-input-placeholder":c,"&::-ms-input-placeholder":c,"&:focus::-webkit-input-placeholder":u,"&:focus::-moz-placeholder":u,"&:focus:-ms-input-placeholder":u,"&:focus::-ms-input-placeholder":u}),Object(i.a)(e,"&.".concat(E.disabled),{opacity:1,WebkitTextFillColor:r.palette.text.disabled}),Object(i.a)(e,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),e),"small"===n.size&&{paddingTop:1},n.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===n.type&&{MozAppearance:"textfield"})})),D=Object(M.jsx)(x.a,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),R=c.forwardRef((function(t,e){var r=Object(v.a)({props:t,name:"MuiInputBase"}),i=r["aria-describedby"],b=r.autoComplete,x=r.autoFocus,_=r.className,S=r.components,E=void 0===S?{}:S,j=r.componentsProps,A=void 0===j?{}:j,R=r.defaultValue,L=r.disabled,I=r.endAdornment,N=r.fullWidth,F=void 0!==N&&N,B=r.id,z=r.inputComponent,H=void 0===z?"input":z,U=r.inputProps,W=void 0===U?{}:U,q=r.inputRef,V=r.maxRows,G=r.minRows,Y=r.multiline,X=void 0!==Y&&Y,$=r.name,K=r.onBlur,Z=r.onChange,J=r.onClick,Q=r.onFocus,tt=r.onKeyDown,et=r.onKeyUp,rt=r.placeholder,nt=r.readOnly,it=r.renderSuffix,ot=r.rows,at=r.startAdornment,st=r.type,ct=void 0===st?"text":st,ut=r.value,lt=Object(o.a)(r,C),ft=null!=W.value?W.value:ut,ht=c.useRef(null!=ft).current,dt=c.useRef(),pt=c.useCallback((function(t){0}),[]),mt=Object(y.a)(W.ref,pt),bt=Object(y.a)(q,mt),vt=Object(y.a)(dt,bt),gt=c.useState(!1),yt=Object(n.a)(gt,2),wt=yt[0],xt=yt[1],Ot=Object(m.a)();var _t=Object(d.a)({props:r,muiFormControl:Ot,states:["color","disabled","error","hiddenLabel","size","required","filled"]});_t.focused=Ot?Ot.focused:wt,c.useEffect((function(){!Ot&&L&&wt&&(xt(!1),K&&K())}),[Ot,L,wt,K]);var St=Ot&&Ot.onFilled,kt=Ot&&Ot.onEmpty,Et=c.useCallback((function(t){Object(O.b)(t)?St&&St():kt&&kt()}),[St,kt]);Object(w.a)((function(){ht&&Et({value:ft})}),[ft,Et,ht]);c.useEffect((function(){Et(dt.current)}),[]);var Mt=H,Ct=W;X&&"input"===Mt&&(Ct=ot?Object(a.a)({type:void 0,minRows:ot,maxRows:ot},Ct):Object(a.a)({type:void 0,maxRows:V,minRows:G},Ct),Mt=f.a);c.useEffect((function(){Ot&&Ot.setAdornedStart(Boolean(at))}),[Ot,at]);var jt=Object(a.a)({},r,{color:_t.color||"primary",disabled:_t.disabled,endAdornment:I,error:_t.error,focused:_t.focused,formControl:Ot,fullWidth:F,hiddenLabel:_t.hiddenLabel,multiline:X,size:_t.size,startAdornment:at,type:ct}),At=function(t){var e=t.classes,r=t.color,n=t.disabled,i=t.error,o=t.endAdornment,a=t.focused,s=t.formControl,c=t.fullWidth,u=t.hiddenLabel,f=t.multiline,h=t.size,d=t.startAdornment,p=t.type,m={root:["root","color".concat(Object(g.a)(r)),n&&"disabled",i&&"error",c&&"fullWidth",a&&"focused",s&&"formControl","small"===h&&"sizeSmall",f&&"multiline",d&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel"],input:["input",n&&"disabled","search"===p&&"inputTypeSearch",f&&"inputMultiline","small"===h&&"inputSizeSmall",u&&"inputHiddenLabel",d&&"inputAdornedStart",o&&"inputAdornedEnd"]};return Object(l.a)(m,k,e)}(jt),Tt=E.Root||T,Pt=A.root||{},Dt=E.Input||P;return Ct=Object(a.a)({},Ct,A.input),Object(M.jsxs)(c.Fragment,{children:[D,Object(M.jsxs)(Tt,Object(a.a)({},Pt,!Object(h.a)(Tt)&&{ownerState:Object(a.a)({},jt,Pt.ownerState)},{ref:e,onClick:function(t){dt.current&&t.currentTarget===t.target&&dt.current.focus(),J&&J(t)}},lt,{className:Object(u.a)(At.root,Pt.className,_),children:[at,Object(M.jsx)(p.a.Provider,{value:null,children:Object(M.jsx)(Dt,Object(a.a)({ownerState:jt,"aria-invalid":_t.error,"aria-describedby":i,autoComplete:b,autoFocus:x,defaultValue:R,disabled:_t.disabled,id:B,onAnimationStart:function(t){Et("mui-auto-fill-cancel"===t.animationName?dt.current:{value:"x"})},name:$,placeholder:rt,readOnly:nt,required:_t.required,rows:ot,value:ft,onKeyDown:tt,onKeyUp:et,type:ct},Ct,!Object(h.a)(Dt)&&{as:Mt,ownerState:Object(a.a)({},jt,Ct.ownerState)},{ref:vt,className:Object(u.a)(At.input,Ct.className),onBlur:function(t){K&&K(t),W.onBlur&&W.onBlur(t),Ot&&Ot.onBlur?Ot.onBlur(t):xt(!1)},onChange:function(t){if(!ht){var e=t.target||dt.current;if(null==e)throw new Error(Object(s.a)(1));Et({value:e.value})}for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];W.onChange&&W.onChange.apply(W,[t].concat(n)),Z&&Z.apply(void 0,[t].concat(n))},onFocus:function(t){_t.disabled?t.stopPropagation():(Q&&Q(t),W.onFocus&&W.onFocus(t),Ot&&Ot.onFocus?Ot.onFocus(t):xt(!0))}}))}),I,it?it(Object(a.a)({},_t,{startAdornment:at})):null]}))]})}));e.c=R},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiSwitch",t)}var a=Object(i.a)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);e.a=a},function(t,e,r){"use strict";r.d(e,"d",(function(){return c})),r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return l})),r.d(e,"e",(function(){return f})),r.d(e,"c",(function(){return h}));var n=r(553);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),r)}function o(t){if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map((function(t){return t+t}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),r=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(Object(n.a)(9,t));var i,a=t.substring(e+1,t.length-1);if("color"===r){if(i=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(n.a)(10,i))}else a=a.split(",");return{type:r,values:a=a.map((function(t){return parseFloat(t)})),colorSpace:i}}function a(t){var e=t.type,r=t.colorSpace,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),n=-1!==e.indexOf("color")?"".concat(r," ").concat(n.join(" ")):"".concat(n.join(", ")),"".concat(e,"(").concat(n,")")}function s(t){var e="hsl"===(t=o(t)).type?o(function(t){var e=(t=o(t)).values,r=e[0],n=e[1]/100,i=e[2]/100,s=n*Math.min(i,1-i),c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+r/30)%12;return i-s*Math.max(Math.min(e-3,9-e,1),-1)},u="rgb",l=[Math.round(255*c(0)),Math.round(255*c(8)),Math.round(255*c(4))];return"hsla"===t.type&&(u+="a",l.push(e[3])),a({type:u,values:l})}(t)).values:t.values;return e=e.map((function(e){return"color"!==t.type&&(e/=255),e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t,e){var r=s(t),n=s(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function u(t,e){return t=o(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]="/".concat(e):t.values[3]=e,a(t)}function l(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(var r=0;r<3;r+=1)t.values[r]*=1-e;return a(t)}function f(t,e){if(t=o(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;else if(-1!==t.type.indexOf("color"))for(var n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return a(t)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(t)>.5?l(t,e):f(t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i="undefined"!==typeof window?n.useLayoutEffect:n.useEffect;function o(t){var e=n.useRef(t);return i((function(){e.current=t})),n.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}},function(t,e,r){"use strict";r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return m})),r.d(e,"d",(function(){return b}));var n=r(3),i=r(126),o=r(41),a=r(236);var s={m:"margin",p:"padding"},c={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},u={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){if(t.length>2){if(!u[t])return[t];t=u[t]}var e=t.split(""),r=Object(n.a)(e,2),i=r[0],o=r[1],a=s[i],l=c[o]||"";return Array.isArray(l)?l.map((function(t){return a+t})):[a+l]})),f=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[].concat(f,h);function p(t,e,r,n){var i=Object(o.b)(t,e)||r;return"number"===typeof i?function(t){return"string"===typeof t?t:i*t}:Array.isArray(i)?function(t){return"string"===typeof t?t:i[t]}:"function"===typeof i?i:function(){}}function m(t){return p(t,"spacing",8)}function b(t,e){if("string"===typeof e||null==e)return e;var r=t(Math.abs(e));return e>=0?r:"number"===typeof r?-r:"-".concat(r)}function v(t,e,r,n){if(-1===e.indexOf(r))return null;var o=function(t,e){return function(r){return t.reduce((function(t,n){return t[n]=b(e,r),t}),{})}}(l(r),n),a=t[r];return Object(i.b)(t,a,o)}function g(t,e){var r=m(t.theme);return Object.keys(t).map((function(n){return v(t,e,n,r)})).reduce(a.a,{})}function y(t){return g(t,f)}function w(t){return g(t,h)}function x(t){return g(t,d)}y.propTypes={},y.filterProps=f,w.propTypes={},w.filterProps=h,x.propTypes={},x.filterProps=d;e.c=x},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return l})),r.d(e,"c",(function(){return h})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return u}));var n=r(0),i=r(633),o=(r(2),r(413),r(634),r(209)),a=r(254),s=Object.prototype.hasOwnProperty,c=Object(n.createContext)("undefined"!==typeof HTMLElement?Object(i.a)({key:"css"}):null);c.Provider;var u=function(t){return Object(n.forwardRef)((function(e,r){var i=Object(n.useContext)(c);return t(e,i,r)}))},l=Object(n.createContext)({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=function(t,e){var r={};for(var n in e)s.call(e,n)&&(r[n]=e[n]);return r[f]=t,r},d=u((function(t,e,r){var i=t.css;"string"===typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var c=t[f],u=[i],h="";"string"===typeof t.className?h=Object(o.a)(e.registered,u,t.className):null!=t.className&&(h=t.className+" ");var d=Object(a.a)(u,void 0,Object(n.useContext)(l));Object(o.b)(e,d,"string"===typeof c);h+=e.key+"-"+d.name;var p={};for(var m in t)s.call(t,m)&&"css"!==m&&m!==f&&(p[m]=t[m]);return p.ref=r,p.className=h,Object(n.createElement)(c,p)}))},function(t,e,r){"use strict";r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return c}));var n=r(173),i=r(104),o=r(87),a=r(499);function s(t){var e=t.domain;return t.ticks=function(t){var r=e();return Object(n.a)(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Object(a.a)(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var i,o,a=e(),s=0,c=a.length-1,u=a[s],l=a[c],f=10;for(l<u&&(o=u,u=l,l=o,o=s,s=c,c=o);f-- >0;){if((o=Object(n.b)(u,l,r))===i)return a[s]=u,a[c]=l,e(a);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o}i=o}return t},t}function c(){var t=Object(i.b)();return t.copy=function(){return Object(i.a)(t,c())},o.b.apply(t,arguments),s(t)}},function(t,e,r){"use strict";e.a=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return n[t]},set:function(t,e){if("string"===typeof t)n[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){n[e]=t[e]}))}}}},function(t,e,r){"use strict";var n=r(304);e.a=n.a},function(t,e,r){"use strict";var n=r(338);e.a=n.a},,function(t,e,r){var n=r(101).default;function i(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(i=function(t){return t?r:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!==typeof t)return{default:t};var r=i(e);if(r&&r.has(t))return r.get(t);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=a?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(o,s,c):o[s]=t[s]}return o.default=t,r&&r.set(t,o),o},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(2),i=r(0),o=r.n(i),a=r(20),s=(r(10),r(8)),c=r(26),u=r(38),l=i.forwardRef((function(t,e){var r=t.children,o=t.classes,c=t.className,l=t.color,f=void 0===l?"inherit":l,h=t.component,d=void 0===h?"svg":h,p=t.fontSize,m=void 0===p?"medium":p,b=t.htmlColor,v=t.titleAccess,g=t.viewBox,y=void 0===g?"0 0 24 24":g,w=Object(a.a)(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(d,Object(n.a)({className:Object(s.a)(o.root,c,"inherit"!==f&&o["color".concat(Object(u.a)(f))],"default"!==m&&"medium"!==m&&o["fontSize".concat(Object(u.a)(m))]),focusable:"false",viewBox:y,color:b,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:e},w),r,v?i.createElement("title",null,v):null)}));l.muiName="SvgIcon";var f=Object(c.a)((function(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(l);function h(t,e){var r=function(e,r){return o.a.createElement(f,Object(n.a)({ref:r},e),t)};return r.muiName=f.muiName,o.a.memo(o.a.forwardRef(r))}},function(t,e,r){"use strict";var n=r(198),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n.a?n.a.toStringTag:void 0;var c=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(c){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i},u=Object.prototype.toString;var l=function(t){return u.call(t)},f=n.a?n.a.toStringTag:void 0;e.a=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":f&&f in Object(t)?c(t):l(t)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}));var n=function(t){return t.scrollTop};function i(t,e){var r=t.timeout,n=t.style,i=void 0===n?{}:n;return{duration:i.transitionDuration||"number"===typeof r?r:r[e.mode]||0,delay:i.transitionDelay}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}));var n=function(t){return t.scrollTop};function i(t,e){var r,n,i=t.timeout,o=t.easing,a=t.style,s=void 0===a?{}:a;return{duration:null!=(r=s.transitionDuration)?r:"number"===typeof i?i:i[e.mode]||0,easing:null!=(n=s.transitionTimingFunction)?n:"object"===typeof o?o[e.mode]:o,delay:s.transitionDelay}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n=r(866),i=new(r.n(n).a);i.setMaxListeners&&i.setMaxListeners(10);var o="recharts.syncMouseEvents"},,,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(192)},function(t,e,r){"use strict";r.r(e);var n=Array.isArray;e.default=n},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");e.default=a},function(t,e,r){"use strict";function n(t,e){"function"===typeof t?t(e):t&&(t.current=e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(285);function o(){return n.useContext(i.a)}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined");e.default=a},function(t,e,r){"use strict";var n=r(509),i=r(136).a["__core-js_shared__"],o=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var a=function(t){return!!o&&o in t},s=r(184),c=r(258),u=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,h=l.toString,d=f.hasOwnProperty,p=RegExp("^"+h.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var m=function(t){return!(!Object(s.a)(t)||a(t))&&(Object(n.a)(t)?p:u).test(Object(c.a)(t))};var b=function(t,e){return null==t?void 0:t[e]};e.a=function(t,e){var r=b(t,e);return m(r)?r:void 0}},function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return s}));var n=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(t,e,r){var a=(e-t)/Math.max(0,r),s=Math.floor(Math.log(a)/Math.LN10),c=a/Math.pow(10,s);return s>=0?(c>=n?10:c>=i?5:c>=o?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(c>=n?10:c>=i?5:c>=o?2:1)}function s(t,e,r){var a=Math.abs(e-t)/Math.max(0,r),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),c=a/s;return c>=n?s*=10:c>=i?s*=5:c>=o&&(s*=2),e<t?-s:s}e.a=function(t,e,r){var n,i,o,s,c=-1;if(r=+r,(t=+t)===(e=+e)&&r>0)return[t];if((n=e<t)&&(i=t,t=e,e=i),0===(s=a(t,e,r))||!isFinite(s))return[];if(s>0){var u=Math.round(t/s),l=Math.round(e/s);for(u*s<t&&++u,l*s>e&&--l,o=new Array(i=l-u+1);++c<i;)o[c]=(u+c)*s}else{s=-s;var f=Math.round(t*s),h=Math.round(e*s);for(f/s<t&&++f,h/s>e&&--h,o=new Array(i=h-f+1);++c<i;)o[c]=(f+c)/s}return n&&o.reverse(),o}},function(t,e,r){"use strict";r.d(e,"b",(function(){return _}));var n=r(0),i=r.n(n),o=r(10),a=r.n(o),s=r(863),c=r(303),u=r.n(c);function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1,n=function n(i){r<0&&(r=i),i-r>e?(t(i),r=-1):u()(n)};u()(n)}function f(t){return(f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function p(){var t=function(){return null},e=!1;return{stop:function(){e=!0},start:function(r){e=!1,function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var i=h(n),o=i[0],a=i.slice(1);return"number"===typeof o?void l(r.bind(null,a),o):(r(o),void l(r.bind(null,a)))}"object"===f(n)&&t(n),"function"===typeof n&&n()}}(r)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach((function(e){v(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var g=["Webkit","Moz","O","ms"],y=["-webkit-","-moz-","-o-","-ms-"],w=["transform","transformOrigin","transition"],x=function(t){return t},O=function(t,e){return Object.keys(e).reduce((function(r,n){return b(b({},r),{},v({},n,t(n,e[n])))}),{})},_=function(t){return Object.keys(t).reduce((function(t,e){return b(b({},t),function(t,e){if(-1===w.indexOf(t))return v({},t,e);var r="transition"===t,n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),i=e;return g.reduce((function(t,o,a){return r&&(i=e.replace(/(transform|transform-origin)/gim,"".concat(y[a],"$1"))),b(b({},t),{},v({},o+n,i))}),{})}(e,t[e]))}),t)},S=function(t,e,r){return t.map((function(t){return"".concat((n=t,n.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(r);var n})).join(",")};function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||M(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t){return function(t){if(Array.isArray(t))return C(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||M(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){if(t){if("string"===typeof t)return C(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var j=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},A=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},T=function(t,e){return function(r){var n=j(t,e);return A(n,r)}},P=function(t,e){return function(r){var n=j(t,e),i=[].concat(E(n.map((function(t,e){return t*e})).slice(1)),[0]);return A(i,r)}},D=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var s=e[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var c=s[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),u=k(c,4);n=u[0],i=u[1],o=u[2],a=u[3]}}[n,o,i,a].every((function(t){return"number"===typeof t&&t>=0&&t<=1}));var l=T(n,o),f=T(i,a),h=P(n,o),d=function(t){return t>1?1:t<0?0:t},p=function(t){for(var e=t>1?1:t,r=e,n=0;n<8;++n){var i=l(r)-e,o=h(r);if(Math.abs(i-e)<1e-4||o<1e-4)return f(r);r=d(r-i/o)}return f(r)};return p.isStepper=!1,p},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,i=void 0===n?8:n,o=t.dt,a=void 0===o?17:o,s=function(t,e,n){var o=n+(-(t-e)*r-n*i)*a/1e3,s=n*a/1e3+t;return Math.abs(s-e)<1e-4&&Math.abs(o)<1e-4?[e,0]:[s,o]};return s.isStepper=!0,s.dt=a,s};function L(t){return function(t){if(Array.isArray(t))return H(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||z(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function N(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?I(Object(r),!0).forEach((function(e){F(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function F(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function B(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||z(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(t,e){if(t){if("string"===typeof t)return H(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(t,e):void 0}}function H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var U=function(t,e,r){return t+(e-t)*r},W=function(t){return t.from!==t.to},q=function(t,e,r,n,i){var o,a,s,l,f=(o=t,a=e,[Object.keys(o),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),h=f.reduce((function(r,n){return N(N({},r),{},F({},n,[t[n],e[n]]))}),{}),d=f.reduce((function(r,n){return N(N({},r),{},F({},n,{from:t[n],velocity:0,to:e[n]}))}),{}),p=-1,m=function(){return null};return m=r.isStepper?function(n){s||(s=n);var o=(n-s)/r.dt;d=function t(e,r,n){var i=O((function(t,r){if(W(r)){var n=B(e(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return N(N({},r),{},{from:i,velocity:o})}return r}),r);return n<1?O((function(t,e){return W(e)?N(N({},e),{},{velocity:U(e.velocity,i[t].velocity,n),from:U(e.from,i[t].from,n)}):e}),r):t(e,i,n-1)}(r,d,o),i(N(N(N({},t),e),O((function(t,e){return e.from}),d))),s=n,Object.values(d).filter(W).length&&(p=u()(m))}:function(o){l||(l=o);var a=(o-l)/n,s=O((function(t,e){return U.apply(void 0,L(e).concat([r(a)]))}),h);if(i(N(N(N({},t),e),s)),a<1)p=u()(m);else{var c=O((function(t,e){return U.apply(void 0,L(e).concat([r(1)]))}),h);i(N(N(N({},t),e),c))}},function(){return u()(m),function(){Object(c.cancel)(p)}}};function V(t){return(V="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function G(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function Y(t){return function(t){if(Array.isArray(t))return X(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return X(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return X(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function K(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$(Object(r),!0).forEach((function(e){Z(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function J(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Q(t,e){return(Q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=nt(t);if(e){var i=nt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return et(this,r)}}function et(t,e){return!e||"object"!==V(e)&&"function"!==typeof e?rt(t):e}function rt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var it=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q(t,e)}(c,t);var e,r,o,a=tt(c);function c(t,e){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var n=(r=a.call(this,t,e)).props,i=n.isActive,o=n.attributeName,s=n.from,u=n.to,l=n.steps,f=n.children;if(r.handleStyleChange=r.handleStyleChange.bind(rt(r)),r.changeStyle=r.changeStyle.bind(rt(r)),!i)return r.state={style:{}},"function"===typeof f&&(r.state={style:u}),et(r);if(l&&l.length)r.state={style:l[0].style};else if(s){if("function"===typeof f)return r.state={style:s},et(r);r.state={style:o?Z({},o,s):s}}else r.state={style:{}};return r}return e=c,(r=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,i=e.attributeName,o=e.shouldReAnimate;if(n)if(r){if(!(Object(s.deepEqual)(t.to,this.props.to)&&t.canBegin&&t.isActive)){var a=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:t.to;if(this.state&&this.state.style){var u={style:i?Z({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(K(K({},this.props),{},{from:c,begin:0}))}}else{var l={style:i?Z({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(l)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,i=t.duration,o=t.easing,a=t.begin,s=t.onAnimationEnd,c=t.onAnimationStart,u=q(r,n,function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"===typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return D(n);case"spring":return R();default:if("cubic-bezier"===n.split("(")[0])return D(n)}return"function"===typeof n?n:null}(o),i,this.changeStyle);this.manager.start([c,a,function(){e.stopJSAnimation=u()},i,s])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,i=t.onAnimationStart,o=r[0],a=o.style,s=o.duration,c=void 0===s?0:s;return this.manager.start([i].concat(Y(r.reduce((function(t,n,i){if(0===i)return t;var o=n.duration,a=n.easing,s=void 0===a?"ease":a,c=n.style,u=n.properties,l=n.onAnimationEnd,f=i>0?r[i-1]:n,h=u||Object.keys(c);if("function"===typeof s||"spring"===s)return[].concat(Y(t),[e.runJSAnimation.bind(e,{from:f.style,to:c,duration:o,easing:s}),o]);var d=S(h,o,s),p=K(K(K({},f.style),c),{},{transition:d});return[].concat(Y(t),[p,o,l]).filter(x)}),[a,Math.max(c,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=p());var e=t.begin,r=t.duration,n=t.attributeName,i=t.to,o=t.easing,a=t.onAnimationStart,s=t.onAnimationEnd,c=t.steps,u=t.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!==typeof o&&"function"!==typeof u&&"spring"!==o)if(c.length>1)this.runStepAnimation(t);else{var f=n?Z({},n,i):i,h=S(Object.keys(f),r,o);l.start([a,e,K(K({},f),{},{transition:h}),r,s])}else this.runJSAnimation(t)}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,r=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),o=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,G(t,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),a=n.Children.count(e),s=_(this.state.style);if("function"===typeof e)return e(s);if(!r||0===a)return e;var c=function(t){var e=t.props,r=e.style,i=void 0===r?{}:r,a=e.className;return Object(n.cloneElement)(t,K(K({},o),{},{style:K(K({},i),s),className:a}))};return 1===a?c(n.Children.only(e)):i.a.createElement("div",null,n.Children.map(e,(function(t){return c(t)})))}}])&&J(e.prototype,r),o&&J(e,o),c}(n.PureComponent);it.displayName="Animate",it.propTypes={from:a.a.oneOfType([a.a.object,a.a.string]),to:a.a.oneOfType([a.a.object,a.a.string]),attributeName:a.a.string,duration:a.a.number,begin:a.a.number,easing:a.a.oneOfType([a.a.string,a.a.func]),steps:a.a.arrayOf(a.a.shape({duration:a.a.number.isRequired,style:a.a.object.isRequired,easing:a.a.oneOfType([a.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),a.a.func]),properties:a.a.arrayOf("string"),onAnimationEnd:a.a.func})),children:a.a.oneOfType([a.a.node,a.a.func]),isActive:a.a.bool,canBegin:a.a.bool,onAnimationEnd:a.a.func,shouldReAnimate:a.a.bool,onAnimationStart:a.a.func,onAnimationReStart:a.a.func},it.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var ot=it,at=r(546);function st(t){return(st="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ct(){return(ct=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function ut(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ft(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lt(Object(r),!0).forEach((function(e){ht(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ht(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function mt(t,e){return(mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function bt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=gt(t);if(e){var i=gt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return vt(this,r)}}function vt(t,e){return!e||"object"!==st(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function gt(t){return(gt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"===typeof t&&isFinite(t)});var yt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,r=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)}),0):Number.isFinite(r)?r:0},wt=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mt(t,e)}(s,t);var e,r,o,a=bt(s);function s(){var t;dt(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=a.call.apply(a,[this].concat(r))).state={isActive:!1},t.handleEnter=function(e,r){var n=t.props,i=n.appearOptions,o=n.enterOptions;t.handleStyleActive(r?i:o)},t.handleExit=function(){t.handleStyleActive(t.props.leaveOptions)},t}return e=s,(r=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(ft(ft({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,r=t.enterOptions,n=t.leaveOptions;return yt(e)+yt(r)+yt(n)}},{key:"render",value:function(){var t=this,e=this.props,r=e.children,o=(e.appearOptions,e.enterOptions,e.leaveOptions,ut(e,["children","appearOptions","enterOptions","leaveOptions"]));return i.a.createElement(at.Transition,ct({},o,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return i.a.createElement(ot,t.state,n.Children.only(r))}))}}])&&pt(e.prototype,r),o&&pt(e,o),s}(n.Component);wt.propTypes={appearOptions:a.a.object,enterOptions:a.a.object,leaveOptions:a.a.object,children:a.a.element};var xt=wt;function Ot(t){var e=t.component,r=t.children,o=t.appear,a=t.enter,s=t.leave;return i.a.createElement(at.TransitionGroup,{component:e},n.Children.map(r,(function(t,e){return i.a.createElement(xt,{appearOptions:o,enterOptions:a,leaveOptions:s,key:"child-".concat(e)},t)})))}Ot.propTypes={appear:a.a.object,enter:a.a.object,leave:a.a.object,children:a.a.oneOfType([a.a.array,a.a.element]),component:a.a.any},Ot.defaultProps={component:"span"};e.a=ot},function(t,e,r){"use strict";e.a=function(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}},function(t,e,r){"use strict";e.a=function(t,e){}},function(t,e,r){"use strict";function n(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}r.d(e,"b",(function(){return n})),e.a=function(t,e,r){t.prototype=e.prototype=r,r.constructor=t}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},l=o.forwardRef((function(t,e){var r=t.align,s=void 0===r?"inherit":r,l=t.classes,f=t.className,h=t.color,d=void 0===h?"initial":h,p=t.component,m=t.display,b=void 0===m?"initial":m,v=t.gutterBottom,g=void 0!==v&&v,y=t.noWrap,w=void 0!==y&&y,x=t.paragraph,O=void 0!==x&&x,_=t.variant,S=void 0===_?"body1":_,k=t.variantMapping,E=void 0===k?u:k,M=Object(i.a)(t,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=p||(O?"p":E[S]||u[S])||"span";return o.createElement(C,Object(n.a)({className:Object(a.a)(l.root,f,"inherit"!==S&&l[S],"initial"!==d&&l["color".concat(Object(c.a)(d))],w&&l.noWrap,g&&l.gutterBottom,O&&l.paragraph,"inherit"!==s&&l["align".concat(Object(c.a)(s))],"initial"!==b&&l["display".concat(Object(c.a)(b))]),ref:e},M))}));e.a=Object(s.a)((function(t){return{root:{margin:0},body2:t.typography.body2,body1:t.typography.body1,caption:t.typography.caption,button:t.typography.button,h1:t.typography.h1,h2:t.typography.h2,h3:t.typography.h3,h4:t.typography.h4,h5:t.typography.h5,h6:t.typography.h6,subtitle1:t.typography.subtitle1,subtitle2:t.typography.subtitle2,overline:t.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorTextPrimary:{color:t.palette.text.primary},colorTextSecondary:{color:t.palette.text.secondary},colorError:{color:t.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(l)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(187),d=r(1446),p=r(156),m=r(72),b=r(832),v=r(833),g=r(339),y=r(340);var w=Object(y.a)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function x(t){return Object(g.a)("MuiMenuItem",t)}var O=Object(y.a)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),_=r(6),S=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],k=Object(l.a)(d.a,{shouldForwardProp:function(t){return Object(l.b)(t)||"classes"===t},name:"MuiMenuItem",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.dense&&e.dense,r.divider&&e.divider,!r.disableGutters&&e.gutters]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({},r.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!i.disableGutters&&{paddingLeft:16,paddingRight:16},i.divider&&{borderBottom:"1px solid ".concat(r.palette.divider),backgroundClip:"padding-box"},(e={"&:hover":{textDecoration:"none",backgroundColor:r.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},Object(n.a)(e,"&.".concat(O.selected),Object(n.a)({backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity)},"&.".concat(O.focusVisible),{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)})),Object(n.a)(e,"&.".concat(O.selected,":hover"),{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity)}}),Object(n.a)(e,"&.".concat(O.focusVisible),{backgroundColor:r.palette.action.focus}),Object(n.a)(e,"&.".concat(O.disabled),{opacity:r.palette.action.disabledOpacity}),Object(n.a)(e,"& + .".concat(b.a.root),{marginTop:r.spacing(1),marginBottom:r.spacing(1)}),Object(n.a)(e,"& + .".concat(b.a.inset),{marginLeft:52}),Object(n.a)(e,"& .".concat(w.root),{marginTop:0,marginBottom:0}),Object(n.a)(e,"& .".concat(w.inset),{paddingLeft:36}),Object(n.a)(e,"& .".concat(v.a.root),{minWidth:36}),e),!i.dense&&Object(n.a)({},r.breakpoints.up("sm"),{minHeight:"auto"}),i.dense&&Object(o.a)({minHeight:32,paddingTop:4,paddingBottom:4},r.typography.body2,Object(n.a)({},"& .".concat(v.a.root," svg"),{fontSize:"1.25rem"})))})),E=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiMenuItem"}),n=r.autoFocus,u=void 0!==n&&n,l=r.component,d=void 0===l?"li":l,b=r.dense,v=void 0!==b&&b,g=r.divider,y=void 0!==g&&g,w=r.disableGutters,O=void 0!==w&&w,E=r.focusVisibleClassName,M=r.role,C=void 0===M?"menuitem":M,j=r.tabIndex,A=Object(i.a)(r,S),T=a.useContext(h.a),P={dense:v||T.dense||!1,disableGutters:O},D=a.useRef(null);Object(p.a)((function(){u&&D.current&&D.current.focus()}),[u]);var R,L=Object(o.a)({},r,{dense:P.dense,divider:y,disableGutters:O}),I=function(t){var e=t.disabled,r=t.dense,n=t.divider,i=t.disableGutters,a=t.selected,s=t.classes,u={root:["root",r&&"dense",e&&"disabled",!i&&"gutters",n&&"divider",a&&"selected"]},l=Object(c.a)(u,x,s);return Object(o.a)({},s,l)}(r),N=Object(m.a)(D,e);return r.disabled||(R=void 0!==j?j:-1),Object(_.jsx)(h.a.Provider,{value:P,children:Object(_.jsx)(k,Object(o.a)({ref:N,role:C,tabIndex:R,component:d,focusVisibleClassName:Object(s.a)(I.focusVisible,E)},A,{ownerState:L,classes:I}))})}));e.a=E},,function(t,e,r){"use strict";r.d(e,"a",(function(){return n.a})),r.d(e,"b",(function(){return i.a})),r.d(e,"c",(function(){return o.b})),r.d(e,"d",(function(){return a.a})),r.d(e,"g",(function(){return s.a})),r.d(e,"h",(function(){return c})),r.d(e,"m",(function(){return l})),r.d(e,"o",(function(){return f.a})),r.d(e,"p",(function(){return h.a})),r.d(e,"q",(function(){return d.a})),r.d(e,"u",(function(){return p.a})),r.d(e,"v",(function(){return m.a})),r.d(e,"w",(function(){return b.a})),r.d(e,"x",(function(){return b.b})),r.d(e,"y",(function(){return v.a})),r.d(e,"r",(function(){return g.a})),r.d(e,"s",(function(){return g.b})),r.d(e,"t",(function(){return g.c})),r.d(e,"k",(function(){return x})),r.d(e,"l",(function(){return O})),r.d(e,"n",(function(){return S})),r.d(e,"i",(function(){return E})),r.d(e,"j",(function(){return M})),r.d(e,"e",(function(){return C.b})),r.d(e,"f",(function(){return C.a})),r.d(e,"z",(function(){return j.a})),r.d(e,"A",(function(){return A}));var n=r(274),i=r(497),o=r(357),a=r(494),s=r(496),c=function(t){var e=t.length;return function(r){return t[Math.max(0,Math.min(e-1,Math.floor(r*e)))]}},u=r(110),l=function(t,e){var r=Object(u.c)(+t,+e);return function(t){var e=r(t);return e-360*Math.floor(e/360)}},f=r(175),h=r(286),d=r(498),p=r(784),m=r(495),b=r(630),v=r(785),g=r(318),y=r(118);function w(t){return function(e,r){var n=t((e=Object(y.f)(e)).h,(r=Object(y.f)(r)).h),i=Object(u.a)(e.s,r.s),o=Object(u.a)(e.l,r.l),a=Object(u.a)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var x=w(u.c),O=w(u.a),_=r(400);function S(t,e){var r=Object(u.a)((t=Object(_.a)(t)).l,(e=Object(_.a)(e)).l),n=Object(u.a)(t.a,e.a),i=Object(u.a)(t.b,e.b),o=Object(u.a)(t.opacity,e.opacity);return function(e){return t.l=r(e),t.a=n(e),t.b=i(e),t.opacity=o(e),t+""}}function k(t){return function(e,r){var n=t((e=Object(_.c)(e)).h,(r=Object(_.c)(r)).h),i=Object(u.a)(e.c,r.c),o=Object(u.a)(e.l,r.l),a=Object(u.a)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var E=k(u.c),M=k(u.a),C=r(624),j=r(786),A=function(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t(n/(e-1));return r}},function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return l}));var n=r(40),i=r(241),o=(r(10),r(0));function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r,n=arguments[e];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t,e){if(null==t)return{};var r,n={},i=Object.keys(t);for(r=0;r<i.length;r++){var o=i[r];0<=e.indexOf(o)||(n[o]=t[o])}return n}function c(t){var e=t.children;t=t.window;var r=Object(o.useRef)();null==r.current&&(r.current=Object(i.b)({window:t}));var a=r.current;r=(t=Object(o.useReducer)((function(t,e){return e}),{action:a.action,location:a.location}))[0];var s=t[1];return Object(o.useLayoutEffect)((function(){return a.listen(s)}),[a]),Object(o.createElement)(n.c,{children:e,action:r.action,location:r.location,navigator:a})}var u=Object(o.forwardRef)((function(t,e){var r=t.onClick,a=t.replace,c=void 0!==a&&a,u=t.state,l=t.target,f=t.to;t=s(t,["onClick","replace","state","target","to"]),a=Object(n.f)(f);var h=Object(n.h)(),d=Object(n.g)(),p=Object(n.j)(f);return Object(o.createElement)("a",Object.assign({},t,{href:a,onClick:function(t){r&&r(t),t.defaultPrevented||0!==t.button||l&&"_self"!==l||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),t=!!c||Object(i.e)(d)===Object(i.e)(p),h(f,{replace:t,state:u}))},ref:e,target:l}))})),l=Object(o.forwardRef)((function(t,e){var r=t["aria-current"],i=void 0===r?"page":r,c=void 0===(r=t.activeClassName)?"active":r;r=t.activeStyle;var l=t.caseSensitive,f=void 0!==l&&l,h=void 0===(l=t.className)?"":l,d=void 0!==(l=t.end)&&l,p=t.style;l=t.to,t=s(t,"aria-current activeClassName activeStyle caseSensitive className end style to".split(" "));var m=Object(n.g)(),b=Object(n.j)(l);return m=m.pathname,b=b.pathname,f||(m=m.toLowerCase(),b=b.toLowerCase()),i=(f=d?m===b:m.startsWith(b))?i:void 0,c=[h,f?c:null].filter(Boolean).join(" "),r=a({},p,{},f?r:null),Object(o.createElement)(u,Object.assign({},t,{"aria-current":i,className:c,ref:e,style:r,to:l}))}))},function(t,e,r){"use strict";var n=r(276),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(t){return n.isMemo(t)?a:s[t.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,r,n){if("string"!==typeof r){if(p){var i=d(r);i&&i!==p&&t(e,i,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=c(e),m=c(r),b=0;b<a.length;++b){var v=a[b];if(!o[v]&&(!n||!n[v])&&(!m||!m[v])&&(!s||!s[v])){var g=h(r,v);try{u(e,v,g)}catch(y){}}}}return e}},function(t,e,r){"use strict";e.a=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(234);function o(){return n.useContext(i.a)}},function(t,e,r){"use strict";function n(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce((function(t,e){return null==e?t:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n),e.apply(this,n)}}),(function(){}))}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},,,function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},function(t,e,r){"use strict";var n=e,i=r(246),o=r(190),a=r(746);n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<n.length;a++){var s,c=o.andln(i-1);o.isOdd()?(s=c>(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,c=t.andln(3)+i&3,u=e.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),a=0===(1&c)?0:3!==(n=t.andln(7)+i&7)&&5!==n||2!==u?c:-c,r[0].push(a),s=0===(1&u)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==c?u:-u,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"===typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new i(t,"hex","le")}},function(t,e,r){"use strict";r.r(e);var n=r(38);r.d(e,"capitalize",(function(){return n.a}));var i=r(186);r.d(e,"createChainedFunction",(function(){return i.a}));var o=r(159);r.d(e,"createSvgIcon",(function(){return o.a}));var a=r(270);r.d(e,"debounce",(function(){return a.a}));var s=r(193);r.d(e,"deprecatedPropType",(function(){return s.a}));var c=r(283);r.d(e,"isMuiElement",(function(){return c.a}));var u=r(124);r.d(e,"ownerDocument",(function(){return u.a}));var l=r(356);r.d(e,"ownerWindow",(function(){return l.a}));var f=r(622);r.d(e,"requirePropFactory",(function(){return f.a}));var h=r(169);r.d(e,"setRef",(function(){return h.a}));var d=r(623);r.d(e,"unsupportedProp",(function(){return d.a}));var p=r(221);r.d(e,"useControlled",(function(){return p.a}));var m=r(148);r.d(e,"useEventCallback",(function(){return m.a}));var b=r(64);r.d(e,"useForkRef",(function(){return b.a}));var v=r(488);r.d(e,"unstable_useId",(function(){return v.a}));var g=r(269);r.d(e,"useIsFocusVisible",(function(){return g.a}))},function(t,e,r){"use strict";function n(t,e){return function(){return null}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(118);r.d(e,"a",(function(){return n.e})),r.d(e,"h",(function(){return n.g})),r.d(e,"e",(function(){return n.f}));var i=r(400);r.d(e,"f",(function(){return i.a})),r.d(e,"d",(function(){return i.c})),r.d(e,"g",(function(){return i.d})),r.d(e,"c",(function(){return i.b}));var o=r(527);r.d(e,"b",(function(){return o.a}))},function(t,e,r){"use strict";var n=r(886);e.a=n.a},,function(t,e,r){"use strict";r.d(e,"a",(function(){return p})),r.d(e,"b",(function(){return h})),r.d(e,"c",(function(){return d})),r.d(e,"d",(function(){return f}));var n=r(73);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){Object(n.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var s="function"===typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function l(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function f(t,e,r){var n;if("function"===typeof e&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error(a(0));if("function"===typeof e&&"undefined"===typeof r&&(r=e,e=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error(a(1));return r(f)(t,e)}if("function"!==typeof t)throw new Error(a(2));var i=t,o=e,c=[],h=c,d=!1;function p(){h===c&&(h=c.slice())}function m(){if(d)throw new Error(a(3));return o}function b(t){if("function"!==typeof t)throw new Error(a(4));if(d)throw new Error(a(5));var e=!0;return p(),h.push(t),function(){if(e){if(d)throw new Error(a(6));e=!1,p();var r=h.indexOf(t);h.splice(r,1),c=null}}}function v(t){if(!l(t))throw new Error(a(7));if("undefined"===typeof t.type)throw new Error(a(8));if(d)throw new Error(a(9));try{d=!0,o=i(o,t)}finally{d=!1}for(var e=c=h,r=0;r<e.length;r++){(0,e[r])()}return t}function g(t){if("function"!==typeof t)throw new Error(a(10));i=t,v({type:u.REPLACE})}function y(){var t,e=b;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(a(11));function r(){t.next&&t.next(m())}return r(),{unsubscribe:e(r)}}})[s]=function(){return this},t}return v({type:u.INIT}),(n={dispatch:v,subscribe:b,getState:m,replaceReducer:g})[s]=y,n}function h(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];0,"function"===typeof t[i]&&(r[i]=t[i])}var o,s=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(e){var r=t[e];if("undefined"===typeof r(void 0,{type:u.INIT}))throw new Error(a(12));if("undefined"===typeof r(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error(a(13))}))}(r)}catch(c){o=c}return function(t,e){if(void 0===t&&(t={}),o)throw o;for(var n=!1,i={},c=0;c<s.length;c++){var u=s[c],l=r[u],f=t[u],h=l(f,e);if("undefined"===typeof h){e&&e.type;throw new Error(a(14))}i[u]=h,n=n||h!==f}return(n=n||s.length!==Object.keys(t).length)?i:t}}function d(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function p(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),n=function(){throw new Error(a(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},s=e.map((function(t){return t(i)}));return n=d.apply(void 0,s)(r.dispatch),o(o({},r),{},{dispatch:n})}}}},function(t,e,r){"use strict";var n=r(136).a.Symbol;e.a=n},function(t,e,r){"use strict";e.a=function(){}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");e.default=a},function(t,e,r){"use strict";r.d(e,"c",(function(){return d})),r.d(e,"b",(function(){return p})),r.d(e,"a",(function(){return m}));var n=r(154);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u={widthCache:{},cacheCount:0},l={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},f=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"];var h=function(t){return Object.keys(t).reduce((function(e,r){return"".concat(e).concat((o=r,o.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(s(t),["-",e.toLowerCase()]):[].concat(s(t),[e])}),[]).join("")),":").concat((n=r,i=t[r],f.indexOf(n)>=0&&i===+i?"".concat(i,"px"):i),";");var n,i,o}),"")},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t||null===t||n.a.isSsr)return{width:0,height:0};var r="".concat(t),i=h(e),a="".concat(r,"-").concat(i);if(u.widthCache[a])return u.widthCache[a];try{var s=document.getElementById("recharts_measurement_span");s||((s=document.createElement("span")).setAttribute("id","recharts_measurement_span"),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var c=o(o({},l),e);Object.keys(c).map((function(t){return s.style[t]=c[t],t})),s.textContent=r;var f=s.getBoundingClientRect(),d={width:f.width,height:f.height};return u.widthCache[a]=d,++u.cacheCount>2e3&&(u.cacheCount=0,u.widthCache={}),d}catch(p){return{width:0,height:0}}},p=function(t){var e=t.ownerDocument.documentElement,r={top:0,left:0};return"undefined"!==typeof t.getBoundingClientRect&&(r=t.getBoundingClientRect()),{top:r.top+window.pageYOffset-e.clientTop,left:r.left+window.pageXOffset-e.clientLeft}},m=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}},,function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){"use strict";e.a=function(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}},function(t,e,r){"use strict";e.a=function(t,e){if((i=t.length)>1)for(var r,n,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(n=a,a=t[e[o]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");e.default=a},function(t,e,r){var n=r(592);t.exports=function(t,e){return n(t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return k}));var n=r(150),i=r.n(n),o=r(44),a=r.n(o),s=r(36),c=r.n(s),u=r(0),l=r.n(u),f=r(55),h=r.n(f),d=r(335),p=r(74),m=r(17),b=r(119),v=r(42);function g(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){O(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function O(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(){return(_=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var S=function(t,e,r){var n,i,o=t.position,a=t.viewBox,s=t.offset,u=t.className,f=a,d=f.cx,p=f.cy,v=f.innerRadius,g=f.outerRadius,y=f.startAngle,w=f.endAngle,x=f.clockWise,O=(v+g)/2,S=function(t,e){return Object(m.j)(e-t)*Math.min(Math.abs(e-t),360)}(y,w),k=S>=0?1:-1;"insideStart"===o?(n=y+k*s,i=x):"insideEnd"===o?(n=w-k*s,i=!x):"end"===o&&(n=w+k*s,i=x),i=S<=0?i:!i;var E=Object(b.c)(d,p,O,n),M=Object(b.c)(d,p,O,n+359*(i?1:-1)),C="M".concat(E.x,",").concat(E.y,"\n    A").concat(O,",").concat(O,",0,1,").concat(i?0:1,",\n    ").concat(M.x,",").concat(M.y),j=c()(t.id)?Object(m.k)("recharts-radial-line-"):t.id;return l.a.createElement("text",_({},r,{dominantBaseline:"central",className:h()("recharts-radial-bar-label",u)}),l.a.createElement("defs",null,l.a.createElement("path",{id:j,d:C})),l.a.createElement("textPath",{xlinkHref:"#".concat(j)},e))};function k(t){var e,r=t.viewBox,n=t.position,o=t.value,s=t.children,f=t.content,p=t.className,g=void 0===p?"":p,y=t.textBreakAll;if(!r||c()(o)&&c()(s)&&!Object(u.isValidElement)(f)&&!a()(f))return null;if(Object(u.isValidElement)(f))return Object(u.cloneElement)(f,t);if(a()(f)){if(e=Object(u.createElement)(f,t),Object(u.isValidElement)(e))return e}else e=function(t){var e=t.value,r=t.formatter,n=c()(t.children)?e:t.children;return a()(r)?r(n):n}(t);var w=function(t){return Object(m.h)(t.cx)}(r),O=Object(v.c)(t,!0);if(w&&("insideStart"===n||"insideEnd"===n||"end"===n))return S(t,e,O);var k=w?function(t){var e=t.viewBox,r=t.offset,n=t.position,i=e,o=i.cx,a=i.cy,s=i.innerRadius,c=i.outerRadius,u=(i.startAngle+i.endAngle)/2;if("outside"===n){var l=Object(b.c)(o,a,c+r,u),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var h=(s+c)/2,d=Object(b.c)(o,a,h,u);return{x:d.x,y:d.y,textAnchor:"middle",verticalAnchor:"middle"}}(t):function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,a=e,s=a.x,c=a.y,u=a.width,l=a.height,f=l>=0?1:-1,h=f*n,d=f>0?"end":"start",p=f>0?"start":"end",b=u>=0?1:-1,v=b*n,g=b>0?"end":"start",y=b>0?"start":"end";if("top"===o)return x(x({},{x:s+u/2,y:c-f*n,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===o)return x(x({},{x:s+u/2,y:c+l+h,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(r.y+r.height-(c+l),0),width:u}:{});if("left"===o){var w={x:s-v,y:c+l/2,textAnchor:g,verticalAnchor:"middle"};return x(x({},w),r?{width:Math.max(w.x-r.x,0),height:l}:{})}if("right"===o){var O={x:s+u+v,y:c+l/2,textAnchor:y,verticalAnchor:"middle"};return x(x({},O),r?{width:Math.max(r.x+r.width-O.x,0),height:l}:{})}var _=r?{width:u,height:l}:{};return"insideLeft"===o?x({x:s+v,y:c+l/2,textAnchor:y,verticalAnchor:"middle"},_):"insideRight"===o?x({x:s+u-v,y:c+l/2,textAnchor:g,verticalAnchor:"middle"},_):"insideTop"===o?x({x:s+u/2,y:c+h,textAnchor:"middle",verticalAnchor:p},_):"insideBottom"===o?x({x:s+u/2,y:c+l-h,textAnchor:"middle",verticalAnchor:d},_):"insideTopLeft"===o?x({x:s+v,y:c+h,textAnchor:y,verticalAnchor:p},_):"insideTopRight"===o?x({x:s+u-v,y:c+h,textAnchor:g,verticalAnchor:p},_):"insideBottomLeft"===o?x({x:s+v,y:c+l-h,textAnchor:y,verticalAnchor:d},_):"insideBottomRight"===o?x({x:s+u-v,y:c+l-h,textAnchor:g,verticalAnchor:d},_):i()(o)&&(Object(m.h)(o.x)||Object(m.i)(o.x))&&(Object(m.h)(o.y)||Object(m.i)(o.y))?x({x:s+Object(m.d)(o.x,u),y:c+Object(m.d)(o.y,l),textAnchor:"end",verticalAnchor:"end"},_):x({x:s+u/2,y:c+l/2,textAnchor:"middle",verticalAnchor:"middle"},_)}(t);return l.a.createElement(d.a,_({className:h()("recharts-label",g)},O,k,{breakAll:y}),e)}k.displayName="Label",k.defaultProps={offset:5};var E=function(t){var e=t.cx,r=t.cy,n=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,s=t.radius,c=t.innerRadius,u=t.outerRadius,l=t.x,f=t.y,h=t.top,d=t.left,p=t.width,b=t.height,v=t.clockWise,g=t.labelViewBox;if(g)return g;if(Object(m.h)(p)&&Object(m.h)(b)){if(Object(m.h)(l)&&Object(m.h)(f))return{x:l,y:f,width:p,height:b};if(Object(m.h)(h)&&Object(m.h)(d))return{x:h,y:d,width:p,height:b}}return Object(m.h)(l)&&Object(m.h)(f)?{x:l,y:f,width:0,height:0}:Object(m.h)(e)&&Object(m.h)(r)?{cx:e,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:c||0,outerRadius:u||s||a||0,clockWise:v}:t.viewBox?t.viewBox:{}},M=function(t,e){return t?!0===t?l.a.createElement(k,{key:"label-implicit",viewBox:e}):Object(m.g)(t)?l.a.createElement(k,{key:"label-implicit",viewBox:e,value:t}):Object(u.isValidElement)(t)?t.type===k?Object(u.cloneElement)(t,{key:"label-implicit",viewBox:e}):l.a.createElement(k,{key:"label-implicit",content:t,viewBox:e}):a()(t)?l.a.createElement(k,{key:"label-implicit",content:t,viewBox:e}):i()(t)?l.a.createElement(k,_({viewBox:e},t,{key:"label-implicit"})):null:null};k.parseViewBox=E,k.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,i=E(t),o=Object(p.a)(n,k.displayName).map((function(t,r){return Object(u.cloneElement)(t,{viewBox:e||i,key:"label-".concat(r)})}));if(!r)return o;var a=M(t.label,e||i);return[a].concat(g(o))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}));function n(t,e,r){var n="";return r.split(" ").forEach((function(r){void 0!==t[r]?e.push(t[r]+";"):n+=r+" "})),n}var i=function(t,e,r){var n=t.key+"-"+e.name;if(!1===r&&void 0===t.registered[n]&&(t.registered[n]=e.styles),void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+n:"",i,t.sheet,!0);i=i.next}while(void 0!==i)}}},function(t,e,r){"use strict";var n=r(660);e.a=n.a},function(t,e,r){"use strict";r.d(e,"a",(function(){return z}));var n=r(68),i=r.n(n),o=r(281),a=r.n(o),s=r(44),c=r.n(s),u=r(0),l=r.n(u),f=r(639),h=r(640),d=r(225),p=r(641),m=r(223),b=r(421),v=r(642),g=r(326),y=r(296),w=r(325),x=r(55),O=r.n(x),_=r(42),S=r(17);function k(t){return(k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(){return(E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=L(t);if(e){var i=L(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return R(this,r)}}function R(t,e){return!e||"object"!==k(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var I={curveBasisClosed:f.a,curveBasisOpen:h.a,curveBasis:d.b,curveLinearClosed:p.a,curveLinear:m.a,curveMonotoneX:b.a,curveMonotoneY:b.b,curveNatural:v.a,curveStep:g.a,curveStepAfter:g.b,curveStepBefore:g.c},N=function(t){return t.x===+t.x&&t.y===+t.y},F=function(t){return t.x},B=function(t){return t.y},z=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(s,t);var e,r,n,o=D(s);function s(){return A(this,s),o.apply(this,arguments)}return e=s,(r=[{key:"getPath",value:function(){var t,e=this.props,r=e.type,n=e.points,o=e.baseLine,s=e.layout,u=e.connectNulls,l=function(t,e){if(c()(t))return t;var r="curve".concat(a()(t));return"curveMonotone"===r&&e?I["".concat(r).concat("vertical"===e?"Y":"X")]:I[r]||m.a}(r,s),f=u?n.filter((function(t){return N(t)})):n;if(i()(o)){var h=u?o.filter((function(t){return N(t)})):o,d=f.map((function(t,e){return C(C({},t),{},{base:h[e]})}));return(t="vertical"===s?Object(y.a)().y(B).x1(F).x0((function(t){return t.base.x})):Object(y.a)().x(F).y1(B).y0((function(t){return t.base.y}))).defined(N).curve(l),t(d)}return(t="vertical"===s&&Object(S.h)(o)?Object(y.a)().y(B).x1(F).x0(o):Object(S.h)(o)?Object(y.a)().x(F).y1(B).y0(o):Object(w.a)().x(F).y(B)).defined(N).curve(l),t(f)}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.points,n=t.path,i=t.pathRef;if((!r||!r.length)&&!n)return null;var o=r&&r.length?this.getPath():n;return l.a.createElement("path",E({},Object(_.c)(this.props),Object(_.a)(this.props),{className:O()("recharts-curve",e),d:o,ref:i}))}}])&&T(e.prototype,r),n&&T(e,n),s}(u.PureComponent);z.defaultProps={type:"linear",points:[],connectNulls:!1}},,,function(t,e,r){var n=r(687),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},function(t,e,r){"use strict";var n=r(190),i=r(53);function o(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"===typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r},e.toHex=function(t){for(var e="",r=0;r<t.length;r++)e+=s(t[r].toString(16));return e},e.htonl=a,e.toHex32=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];"little"===e&&(i=a(i)),r+=c(i.toString(16))}return r},e.zero2=s,e.zero8=c,e.join32=function(t,e,r,i){var o=r-e;n(o%4===0);for(var a=new Array(o/4),s=0,c=e;s<a.length;s++,c+=4){var u;u="big"===i?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c],a[s]=u>>>0}return a},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,a=(o<n?1:0)+r+i;t[e]=a>>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,a,s){var c=0,u=e;return c+=(u=u+n>>>0)<e?1:0,c+=(u=u+o>>>0)<o?1:0,t+r+i+a+(c+=(u=u+s>>>0)<s?1:0)>>>0},e.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,a,s,c,u){var l=0,f=e;return l+=(f=f+n>>>0)<e?1:0,l+=(f=f+o>>>0)<o?1:0,l+=(f=f+s>>>0)<s?1:0,t+r+i+a+c+(l+=(f=f+u>>>0)<u?1:0)>>>0},e.sum64_5_lo=function(t,e,r,n,i,o,a,s,c,u){return e+n+o+s+u>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"a",(function(){return u}));var n,i,o,a,s,c=r(500);function u(t){return n=Object(c.a)(t),i=n.format,o=n.parse,a=n.utcFormat,s=n.utcParse,n}u({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*i.e)}),(function(t,e){return(e-t)/i.e}),(function(t){return t.getUTCSeconds()}));e.a=o;var a=o.range},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");e.default=a},function(t,e,r){"use strict";var n=r(3),i=r(0);e.a=function(t){var e=t.controlled,r=t.default,o=(t.name,t.state,i.useRef(void 0!==e).current),a=i.useState(r),s=Object(n.a)(a,2),c=s[0],u=s[1];return[o?e:c,i.useCallback((function(t){o||u(t)}),[])]}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(0);function i(t){var e=t.controlled,r=t.default,i=(t.name,t.state,n.useRef(void 0!==e).current),o=n.useState(r),a=o[0],s=o[1];return[i?e:a,n.useCallback((function(t){i||s(t)}),[])]}},function(t,e,r){"use strict";function n(t){var e=t.props,r=t.states,n=t.muiFormControl;return r.reduce((function(t,r){return t[r]=e[r],n&&"undefined"===typeof e[r]&&(t[r]=n[r]),t}),{})}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t){this._context=t}n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},e.a=function(t){return new n(t)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n}));var n=Array.prototype.slice;e.a=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}},function(t,e,r){"use strict";function n(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function i(t){this._context=t}r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){return i})),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:n(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:n(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.b=function(t){return new i(t)}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7 1.62-4.33L19.12 17h-3.24z"}),"TranslateOutlined");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"}),"AccountCircle");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m14.5 14.2 2.9 1.7-.8 1.3L13 15v-5h1.5v4.2zM22 14c0 4.41-3.59 8-8 8-2.02 0-3.86-.76-5.27-2H4c-1.15 0-2-.85-2-2V9c0-1.12.89-1.96 2-2v-.5C4 4.01 6.01 2 8.5 2c2.34 0 4.24 1.79 4.46 4.08.34-.05.69-.08 1.04-.08 4.41 0 8 3.59 8 8zM6 7h5v-.74C10.88 4.99 9.8 4 8.5 4 7.12 4 6 5.12 6 6.5V7zm14 7c0-3.31-2.69-6-6-6s-6 2.69-6 6 2.69 6 6 6 6-2.69 6-6z"}),"LockClock");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"}),"Logout");e.default=a},function(t,e,r){"use strict";var n,i;!function(o){t.exports?(o.default=o,t.exports=o):(n=[r(1242)],void 0===(i=function(t){return o(t),o.Highcharts=t,o}.apply(e,n))||(t.exports=i))}((function(t){function e(t,e,r,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,r))}e(t=t?t._modules:{},"Extensions/FullScreen.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],(function(t,e,r,n){var i=n.addEvent;return n=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"===typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this.chart,e=t.options.chart;this.isOpen&&this.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[this.browserProps.exitFullscreen](),this.unbindFullscreenEvent&&(this.unbindFullscreenEvent=this.unbindFullscreenEvent()),t.setSize(this.origWidth,this.origHeight,!1),this.origHeight=this.origWidth=void 0,e.width=this.origWidthOption,e.height=this.origHeightOption,this.origHeightOption=this.origWidthOption=void 0,this.isOpen=!1,this.setButtonText()},t.prototype.open=function(){var t=this,e=t.chart,r=e.options.chart;if(r&&(t.origWidthOption=r.width,t.origHeightOption=r.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var n=i(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())})),o=i(e,"destroy",n);t.unbindFullscreenEvent=function(){n(),o()},(r=e.renderTo[t.browserProps.requestFullscreen]())&&r.catch((function(){alert("Full screen is not supported inside a frame.")}))}},t.prototype.setButtonText=function(){var t=this.chart,e=t.exportDivElements,n=t.options.exporting,i=n&&n.buttons&&n.buttons.contextButton.menuItems;t=t.options.lang,n&&n.menuItemDefinitions&&t&&t.exitFullscreen&&t.viewFullscreen&&i&&e&&(e=e[i.indexOf("viewFullscreen")])&&r.setElementHTML(e,this.isOpen?t.exitFullscreen:n.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=n,i(t,"beforeRender",(function(){this.fullscreen=new e.Fullscreen(this)})),e.Fullscreen})),e(t,"Core/Chart/ChartNavigationComposition.js",[],(function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var r=this;this.updates.forEach((function(n){n.call(r.chart,t,e)}))},t}();t.Additions=e}(t||(t={})),t})),e(t,"Extensions/Exporting/ExportingDefaults.js",[t["Core/Globals.js"]],(function(t){return{exporting:{type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:t.isTouchDevice?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"}}}})),e(t,"Extensions/Exporting/ExportingSymbols.js",[],(function(){var t;return function(t){function e(t,e,r,n){return[["M",t,e+2.5],["L",t+r,e+2.5],["M",t,e+n/2+.5],["L",t+r,e+n/2+.5],["M",t,e+n-1.5],["L",t+r,e+n-1.5]]}function r(t,e,r,n){return t=n/3-2,(n=[]).concat(this.circle(r-t,e,t,t),this.circle(r-t,e+t+4,t,t),this.circle(r-t,e+2*(t+4),t,t))}var n=[];t.compose=function(t){-1===n.indexOf(t)&&(n.push(t),(t=t.prototype.symbols).menu=e,t.menuball=r.bind(t))}}(t||(t={})),t})),e(t,"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var r=t.doc,n=e.createElement,i=e.discardElement,o=e.merge,a=e.objectEach,s={ajax:function(t){var e=o(!0,{url:!1,type:"get",dataType:"json",success:!1,error:!1,data:!1,headers:{}},t);t={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"};var r=new XMLHttpRequest;if(!e.url)return!1;r.open(e.type.toUpperCase(),e.url,!0),e.headers["Content-Type"]||r.setRequestHeader("Content-Type",t[e.dataType]||t.text),a(e.headers,(function(t,e){r.setRequestHeader(e,t)})),r.onreadystatechange=function(){if(4===r.readyState){if(200===r.status){var t=r.responseText;if("json"===e.dataType)try{t=JSON.parse(t)}catch(n){return void(e.error&&e.error(r,n))}return e.success&&e.success(t)}e.error&&e.error(r,r.responseText)}};try{e.data=JSON.stringify(e.data)}catch(n){}r.send(e.data||!0)},getJSON:function(t,e){s.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,s){var c=n("form",o({method:"post",action:t,enctype:"multipart/form-data"},s),{display:"none"},r.body);a(e,(function(t,e){n("input",{type:"hidden",name:e,value:t},null,c)})),c.submit(),i(c)}};return s})),e(t,"Extensions/Exporting/Exporting.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Extensions/Exporting/ExportingDefaults.js"],t["Extensions/Exporting/ExportingSymbols.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){e=n.defaultOptions;var u,l=a.doc,f=a.win,h=c.addEvent,d=c.css,p=c.createElement,m=c.discardElement,b=c.extend,v=c.find,g=c.fireEvent,y=c.isObject,w=c.merge,x=c.objectEach,O=c.pick,_=c.removeEvent,S=c.uniqueKey;return function(e){function n(t){var e=this,r=e.renderer,n=w(e.options.navigation.buttonOptions,t),i=n.onclick,o=n.menuItems,a=n.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==n.enabled&&n.theme){var s,c=n.theme,u=c.states,l=u&&u.hover;u=u&&u.select,e.styledMode||(c.fill=O(c.fill,"#ffffff"),c.stroke=O(c.stroke,"none")),delete c.states,i?s=function(t){t&&t.stopPropagation(),i.call(e,t)}:o&&(s=function(t){t&&t.stopPropagation(),e.contextMenu(f.menuClassName,o,f.translateX,f.translateY,f.width,f.height,f),f.setState(2)}),n.text&&n.symbol?c.paddingLeft=O(c.paddingLeft,30):n.text||b(c,{width:n.width,height:n.height,padding:0}),e.styledMode||(c["stroke-linecap"]="round",c.fill=O(c.fill,"#ffffff"),c.stroke=O(c.stroke,"none"));var f=r.button(n.text,0,0,s,c,l,u).addClass(t.className).attr({title:O(e.options.lang[n._titleKey||n.titleKey],"")});if(f.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,n.symbol){var h=r.symbol(n.symbol,n.symbolX-a/2,n.symbolY-a/2,a,a,{width:a,height:a}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(f);e.styledMode||h.attr({stroke:n.symbolStroke,fill:n.symbolFill,"stroke-width":n.symbolStrokeWidth||1})}f.add(e.exportingGroup).align(b(n,{width:f.width,x:O(n.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(f.width+n.buttonSpacing)*("right"===n.align?-1:1),e.exportSVGElements.push(f,h)}}function i(){if(this.printReverseInfo){var t=this.printReverseInfo,e=t.childNodes,r=t.origDisplay;t=t.resetParams,this.moveContainers(this.renderTo),[].forEach.call(e,(function(t,e){1===t.nodeType&&(t.style.display=r[e]||"")})),this.isPrinting=!1,t&&this.setSize.apply(this,t),delete this.printReverseInfo,W=void 0,g(this,"afterPrint")}}function u(){var t=l.body,e=this.options.exporting.printMaxWidth,r={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),g(this,"beforePrint"),e&&this.chartWidth>e&&(r.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(r.childNodes,(function(t,e){1===t.nodeType&&(r.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=r}function k(t){t.renderExporting(),h(t,"redraw",t.renderExporting),h(t,"destroy",t.destroyExport)}function E(e,r,n,i,o,a,s){var u=this,m=u.options.navigation,v=u.chartWidth,w=u.chartHeight,x="cache-"+e,O=Math.max(o,a),_=u[x];if(!_){u.exportContextMenu=u[x]=_=p("div",{className:e},{position:"absolute",zIndex:1e3,padding:O+"px",pointerEvents:"auto"},u.fixedDiv||u.container);var S=p("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},_);u.styledMode||d(S,b({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},m.menuStyle)),_.hideMenu=function(){d(_,{display:"none"}),s&&s.setState(0),u.openMenu=!1,d(u.renderTo,{overflow:"hidden"}),d(u.container,{overflow:"hidden"}),c.clearTimeout(_.hideTimer),g(u,"exportMenuHidden")},u.exportEvents.push(h(_,"mouseleave",(function(){_.hideTimer=f.setTimeout(_.hideMenu,500)})),h(_,"mouseenter",(function(){c.clearTimeout(_.hideTimer)})),h(l,"mouseup",(function(t){u.pointer.inClass(t.target,e)||_.hideMenu()})),h(_,"click",(function(){u.openMenu&&_.hideMenu()}))),r.forEach((function(e){if("string"===typeof e&&(e=u.options.exporting.menuItemDefinitions[e]),y(e,!0)){var r=void 0;e.separator?r=p("hr",void 0,void 0,S):("viewData"===e.textKey&&u.isDataTableVisible&&(e.textKey="hideData"),r=p("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),_.hideMenu(),e.onclick&&e.onclick.apply(u,arguments)}},void 0,S),t.setElementHTML(r,e.text||u.options.lang[e.textKey]),u.styledMode||(r.onmouseover=function(){d(this,m.menuItemHoverStyle)},r.onmouseout=function(){d(this,m.menuItemStyle)},d(r,b({cursor:"pointer"},m.menuItemStyle)))),u.exportDivElements.push(r)}})),u.exportDivElements.push(S,_),u.exportMenuWidth=_.offsetWidth,u.exportMenuHeight=_.offsetHeight}r={display:"block"},n+u.exportMenuWidth>v?r.right=v-n-o-O+"px":r.left=n-O+"px",i+a+u.exportMenuHeight>w&&"top"!==s.alignOptions.verticalAlign?r.bottom=w-i-O+"px":r.top=i+a-O+"px",d(_,r),d(u.renderTo,{overflow:""}),d(u.container,{overflow:""}),u.openMenu=!0,g(u,"exportMenuShown")}function M(t){var e,r=t?t.target:this,n=r.exportSVGElements,i=r.exportDivElements;t=r.exportEvents,n&&(n.forEach((function(t,i){t&&(t.onclick=t.ontouchstart=null,e="cache-"+t.menuClassName,r[e]&&delete r[e],n[i]=t.destroy())})),n.length=0),r.exportingGroup&&(r.exportingGroup.destroy(),delete r.exportingGroup),i&&(i.forEach((function(t,e){t&&(c.clearTimeout(t.hideTimer),_(t,"mouseleave"),i[e]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,m(t))})),i.length=0),t&&(t.forEach((function(t){t()})),t.length=0)}function C(t,e){e=this.getSVGForExport(t,e),t=w(this.options.exporting,t),s.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)}function j(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function A(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"===typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)}function T(t){var e,r=w(this.options,t);r.plotOptions=w(this.userOptions.plotOptions,t&&t.plotOptions),r.time=w(this.userOptions.time,t&&t.time);var n=p("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},l.body),i=this.renderTo.style.width,o=this.renderTo.style.height;i=r.exporting.sourceWidth||r.chart.width||/px$/.test(i)&&parseInt(i,10)||(r.isGantt?800:600),o=r.exporting.sourceHeight||r.chart.height||/px$/.test(o)&&parseInt(o,10)||400,b(r.chart,{animation:!1,renderTo:n,forExport:!0,renderer:"SVGRenderer",width:i,height:o}),r.exporting.enabled=!1,delete r.data,r.series=[],this.series.forEach((function(t){(e=w(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||r.series.push(e)}));var a={};this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=S()),t.options.isInternal||(a[t.coll]||(a[t.coll]=!0,r[t.coll]=[]),r[t.coll].push(w(t.userOptions,{visible:t.visible})))}));var s=new this.constructor(r,this.callback);return t&&["xAxis","yAxis","series"].forEach((function(e){var r={};t[e]&&(r[e]=t[e],s.update(r))})),this.axes.forEach((function(t){var e=v(s.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),r=t.getExtremes(),n=r.userMin;r=r.userMax,e&&("undefined"!==typeof n&&n!==e.min||"undefined"!==typeof r&&r!==e.max)&&e.setExtremes(n,r,!0,!1)})),o=s.getChartHTML(),g(this,"getSVG",{chartCopy:s}),o=this.sanitizeSVG(o,r),r=null,s.destroy(),m(n),o}function P(t,e){var r=this.options.exporting;return this.getSVG(w({chart:{borderRadius:0}},r.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||r.sourceWidth,sourceHeight:t&&t.sourceHeight||r.sourceHeight}}))}function D(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function R(){var t,r=H,n=e.inlineWhitelist,i={},o=l.createElement("iframe");d(o,{width:"1px",height:"1px",visibility:"hidden"}),l.body.appendChild(o);var s=o.contentWindow.document;s.open(),s.write('<svg xmlns="http://www.w3.org/2000/svg"></svg>'),s.close(),function e(o){function c(t,e){if(u=l=!1,n.length){for(h=n.length;h--&&!l;)l=n[h].test(e);u=!l}for("transform"===e&&"none"===t&&(u=!0),h=r.length;h--&&!u;)u=r[h].test(e)||"function"===typeof t;u||m[e]===t&&"svg"!==o.nodeName||i[o.nodeName][e]===t||(U&&-1===U.indexOf(e)?d+=D(e)+":"+t+";":t&&o.setAttribute(D(e),t))}var u,l,h,d="";if(1===o.nodeType&&-1===q.indexOf(o.nodeName)){var p=f.getComputedStyle(o,null),m="svg"===o.nodeName?{}:f.getComputedStyle(o.parentNode,null);if(!i[o.nodeName]){t=s.getElementsByTagName("svg")[0];var b=s.createElementNS(o.namespaceURI,o.nodeName);t.appendChild(b),i[o.nodeName]=w(f.getComputedStyle(b,null)),"text"===o.nodeName&&delete i.text.fill,t.removeChild(b)}if(a.isFirefox||a.isMS)for(var v in p)c(p[v],v);else x(p,c);d&&(p=o.getAttribute("style"),o.setAttribute("style",(p?p+";":"")+d)),"svg"===o.nodeName&&o.setAttribute("stroke-width","1px"),"text"!==o.nodeName&&[].forEach.call(o.children||o.childNodes,e)}}(this.container.querySelector("svg")),t.parentNode.removeChild(t),o.parentNode.removeChild(o)}function L(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))}function I(){var t=this;t.exporting={update:function(e,r){t.isDirtyExporting=!0,w(!0,t.options.exporting,e),O(r,!0)&&t.redraw()}},r.compose(t).navigation.addUpdate((function(e,r){t.isDirtyExporting=!0,w(!0,t.options.navigation,e),O(r,!0)&&t.redraw()}))}function N(){var t=this;t.isPrinting||(W=t,a.isSafari||t.beforePrint(),setTimeout((function(){f.focus(),f.print(),a.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))}function F(){var t=this,e=t.options.exporting,r=e.buttons,n=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),n&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),x(r,(function(e){t.addButton(e)})),t.isDirtyExporting=!1)}function B(t,e){var r=t.indexOf("</svg>")+6,n=t.substr(r);return t=t.substr(0,r),e&&e.exporting&&e.exporting.allowHTML&&n&&(n='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+n.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",n+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g,"\xa0").replace(/&shy;/g,"\xad"),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t}var z=[],H=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],U="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");e.inlineWhitelist=[];var W,q=["clipPath","defs","desc"];e.compose=function(t,e){o.compose(e),-1===z.indexOf(t)&&(z.push(t),(e=t.prototype).afterPrint=i,e.exportChart=C,e.inlineStyles=R,e.print=N,e.sanitizeSVG=B,e.getChartHTML=j,e.getSVG=T,e.getSVGForExport=P,e.getFilename=A,e.moveContainers=L,e.beforePrint=u,e.contextMenu=E,e.addButton=n,e.destroyExport=M,e.renderExporting=F,e.callbacks.push(k),h(t,"init",I),a.isSafari&&a.win.matchMedia("print").addListener((function(t){W&&(t.matches?W.beforePrint():W.afterPrint())})))}}(u||(u={})),e.exporting=w(i.exporting,e.exporting),e.lang=w(i.lang,e.lang),e.navigation=w(i.navigation,e.navigation),u})),e(t,"masters/modules/exporting.src.js",[t["Core/Globals.js"],t["Extensions/Exporting/Exporting.js"],t["Core/HttpUtilities.js"]],(function(t,e,r){t.HttpUtilities=r,t.ajax=r.ajax,t.getJSON=r.getJSON,t.post=r.post,e.compose(t.Chart,t.Renderer)}))}))},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(425);var i=r(820),o=r(517);function a(t){return function(t){if(Array.isArray(t))return Object(n.a)(t)}(t)||Object(i.a)(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,r){"use strict";var n=r(0);e.a=function(t,e){return n.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(0),i=n.createContext();function o(){return n.useContext(i)}e.a=i},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";var n=r(558);e.a=function(t,e){return e?Object(n.a)(t,e,{clone:!1}):t}},function(t,e,r){"use strict";var n=r(253);e.a=function(t){return(t=Object(n.b)(Math.abs(t)))?t[1]:NaN}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(n.a)((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,r){e.setUTCFullYear(e.getUTCFullYear()+r*t)})):null},e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(n.a)((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,r){e.setFullYear(e.getFullYear()+r*t)})):null},e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return p})),r.d(e,"d",(function(){return m})),r.d(e,"c",(function(){return b})),r.d(e,"a",(function(){return g}));var n=r(544),i=r.n(n),o=r(364),a=r.n(o),s=r(37),c=r(74),u=r(17);function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p=function(t,e,r,n,i){var o=t.width,a=t.height,l=t.layout,f=t.children,p=Object.keys(e),m={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},b=!!Object(c.b)(f,"Bar");return p.reduce((function(o,a){var c,f,p,v,g,y=e[a],w=y.orientation,x=y.domain,O=y.padding,_=void 0===O?{}:O,S=y.mirror,k=y.reversed,E="".concat(w).concat(S?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var M=x[1]-x[0],C=1/0,j=y.categoricalDomain.sort();j.forEach((function(t,e){e>0&&(C=Math.min((t||0)-(j[e-1]||0),C))}));var A=C/M,T="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(c=A*T/2),"no-gap"===y.padding){var P=Object(u.d)(t.barCategoryGap,A*T),D=A*T/2;c=D-P-(D-P)/T*P}}f="xAxis"===n?[r.left+(_.left||0)+(c||0),r.left+r.width-(_.right||0)-(c||0)]:"yAxis"===n?"horizontal"===l?[r.top+r.height-(_.bottom||0),r.top+(_.top||0)]:[r.top+(_.top||0)+(c||0),r.top+r.height-(_.bottom||0)-(c||0)]:y.range,k&&(f=[f[1],f[0]]);var R=Object(s.A)(y,i,b),L=R.scale,I=R.realScaleType;L.domain(x).range(f),Object(s.c)(L);var N=Object(s.u)(L,h(h({},y),{},{realScaleType:I}));"xAxis"===n?(g="top"===w&&!S||"bottom"===w&&S,p=r.left,v=m[E]-g*y.height):"yAxis"===n&&(g="left"===w&&!S||"right"===w&&S,p=m[E]-g*y.width,v=r.top);var F=h(h(h({},y),N),{},{realScaleType:I,x:p,y:v,scale:L,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return F.bandSize=Object(s.f)(F,N),y.hide||"xAxis"!==n?y.hide||(m[E]+=(g?-1:1)*F.width):m[E]+=(g?-1:1)*F.height,h(h({},o),{},d({},a,F))}),{})},m=function(t,e){var r=t.x,n=t.y,i=e.x,o=e.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},b=function(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;return m({x:e,y:r},{x:n,y:i})},v=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}var e,r,n;return e=t,n=[{key:"create",value:function(e){return new t(e)}}],(r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o;default:return this.scale(t)}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}])&&l(e.prototype,r),n&&l(e,n),t}();v.EPS=1e-4;var g=function(t){var e=Object.keys(t).reduce((function(e,r){return h(h({},e),{},d({},r,v.create(t[r])))}),{});return h(h({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return a()(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:i})}))},isInRange:function(t){return i()(t,(function(t,r){return e[r].isInRange(t)}))}})}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return h})),r.d(e,"c",(function(){return d})),r.d(e,"d",(function(){return p})),r.d(e,"e",(function(){return l})),r.d(e,"f",(function(){return f}));var n,i=r(2),o=n||(n={});o.Pop="POP",o.Push="PUSH",o.Replace="REPLACE";var a=function(t){return t};function s(t){t.preventDefault(),t.returnValue=""}function c(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function u(){return Math.random().toString(36).substr(2,8)}function l(t){var e=t.pathname,r=t.search;return(void 0===e?"/":e)+(void 0===r?"":r)+(void 0===(t=t.hash)?"":t)}function f(t){var e={};if(t){var r=t.indexOf("#");0<=r&&(e.hash=t.substr(r),t=t.substr(0,r)),0<=(r=t.indexOf("?"))&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function h(t){function e(){var t=p.location,e=m.state||{};return[e.idx,a({pathname:t.pathname,search:t.search,hash:t.hash,state:e.usr||null,key:e.key||"default"})]}function r(t){return"string"===typeof t?t:l(t)}function o(t,e){return void 0===e&&(e=null),a(Object(i.a)({},y,{},"string"===typeof t?f(t):t,{state:e,key:u()}))}function h(t){v=t,t=e(),g=t[0],y=t[1],w.call({action:v,location:y})}function d(t){m.go(t)}void 0===t&&(t={});var p=void 0===(t=t.window)?document.defaultView:t,m=p.history,b=null;p.addEventListener("popstate",(function(){if(b)x.call(b),b=null;else{var t=n.Pop,r=e(),i=r[0];if(r=r[1],x.length){if(null!=i){var o=g-i;o&&(b={action:t,location:r,retry:function(){d(-1*o)}},d(o))}}else h(t)}}));var v=n.Pop,g=(t=e())[0],y=t[1],w=c(),x=c();return null==g&&(g=0,m.replaceState(Object(i.a)({},m.state,{idx:g}),"")),{get action(){return v},get location(){return y},createHref:r,push:function t(e,i){var a=n.Push,s=o(e,i);if(!x.length||(x.call({action:a,location:s,retry:function(){t(e,i)}}),0)){var c=[{usr:s.state,key:s.key,idx:g+1},r(s)];s=c[0],c=c[1];try{m.pushState(s,"",c)}catch(u){p.location.assign(c)}h(a)}},replace:function t(e,i){var a=n.Replace,s=o(e,i);x.length&&(x.call({action:a,location:s,retry:function(){t(e,i)}}),1)||(s=[{usr:s.state,key:s.key,idx:g},r(s)],m.replaceState(s[0],"",s[1]),h(a))},go:d,back:function(){d(-1)},forward:function(){d(1)},listen:function(t){return w.push(t)},block:function(t){var e=x.push(t);return 1===x.length&&p.addEventListener("beforeunload",s),function(){e(),x.length||p.removeEventListener("beforeunload",s)}}}}function d(t){function e(){var t=f(m.location.hash.substr(1)),e=t.pathname,r=t.search;t=t.hash;var n=b.state||{};return[n.idx,a({pathname:void 0===e?"/":e,search:void 0===r?"":r,hash:void 0===t?"":t,state:n.usr||null,key:n.key||"default"})]}function r(){if(v)O.call(v),v=null;else{var t=n.Pop,r=e(),i=r[0];if(r=r[1],O.length){if(null!=i){var o=y-i;o&&(v={action:t,location:r,retry:function(){p(-1*o)}},p(o))}}else d(t)}}function o(t){var e=document.querySelector("base"),r="";return e&&e.getAttribute("href")&&(r=-1===(r=(e=m.location.href).indexOf("#"))?e:e.slice(0,r)),r+"#"+("string"===typeof t?t:l(t))}function h(t,e){return void 0===e&&(e=null),a(Object(i.a)({},w,{},"string"===typeof t?f(t):t,{state:e,key:u()}))}function d(t){g=t,t=e(),y=t[0],w=t[1],x.call({action:g,location:w})}function p(t){b.go(t)}void 0===t&&(t={});var m=void 0===(t=t.window)?document.defaultView:t,b=m.history,v=null;m.addEventListener("popstate",r),m.addEventListener("hashchange",(function(){l(e()[1])!==l(w)&&r()}));var g=n.Pop,y=(t=e())[0],w=t[1],x=c(),O=c();return null==y&&(y=0,b.replaceState(Object(i.a)({},b.state,{idx:y}),"")),{get action(){return g},get location(){return w},createHref:o,push:function t(e,r){var i=n.Push,a=h(e,r);if(!O.length||(O.call({action:i,location:a,retry:function(){t(e,r)}}),0)){var s=[{usr:a.state,key:a.key,idx:y+1},o(a)];a=s[0],s=s[1];try{b.pushState(a,"",s)}catch(c){m.location.assign(s)}d(i)}},replace:function t(e,r){var i=n.Replace,a=h(e,r);O.length&&(O.call({action:i,location:a,retry:function(){t(e,r)}}),1)||(a=[{usr:a.state,key:a.key,idx:y},o(a)],b.replaceState(a[0],"",a[1]),d(i))},go:p,back:function(){p(-1)},forward:function(){p(1)},listen:function(t){return x.push(t)},block:function(t){var e=O.push(t);return 1===O.length&&m.addEventListener("beforeunload",s),function(){e(),O.length||m.removeEventListener("beforeunload",s)}}}}function p(t){function e(t,e){return void 0===e&&(e=null),a(Object(i.a)({},b,{},"string"===typeof t?f(t):t,{state:e,key:u()}))}function r(t,e,r){return!g.length||(g.call({action:t,location:e,retry:r}),!1)}function o(t,e){m=t,b=e,v.call({action:m,location:b})}function s(t){var e=Math.min(Math.max(p+t,0),d.length-1),i=n.Pop,a=d[e];r(i,a,(function(){s(t)}))&&(p=e,o(i,a))}void 0===t&&(t={});var h=t;t=h.initialEntries,h=h.initialIndex;var d=(void 0===t?["/"]:t).map((function(t){return a(Object(i.a)({pathname:"/",search:"",hash:"",state:null,key:u()},"string"===typeof t?f(t):t))})),p=Math.min(Math.max(null==h?d.length-1:h,0),d.length-1),m=n.Pop,b=d[p],v=c(),g=c();return{get index(){return p},get action(){return m},get location(){return b},createHref:function(t){return"string"===typeof t?t:l(t)},push:function t(i,a){var s=n.Push,c=e(i,a);r(s,c,(function(){t(i,a)}))&&(p+=1,d.splice(p,d.length,c),o(s,c))},replace:function t(i,a){var s=n.Replace,c=e(i,a);r(s,c,(function(){t(i,a)}))&&(d[p]=c,o(s,c))},go:s,back:function(){s(-1)},forward:function(){s(1)},listen:function(t){return v.push(t)},block:function(t){return g.push(t)}}}},function(t,e,r){"use strict";function n(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}r.d(e,"a",(function(){return n}))},function(t,e,r){var n=r(803),i=r(1274),o=r(345);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},,function(t,e,r){var n=r(977),i=r(1001),o=r(345),a=r(68),s=r(1004);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):n(t):s(t)}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1088).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";var n=r(0),i=r.n(n),o=r(355),a=r.n(o),s=function(){return(s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};e.a=function(t){for(var e=t.url,r=t.allowFullScreen,n=t.position,o=t.display,c=t.height,u=t.width,l=t.overflow,f=t.styles,h=t.onLoad,d=t.onMouseOver,p=t.onMouseOut,m=t.scrolling,b=t.id,v=t.frameBorder,g=t.ariaHidden,y=t.sandbox,w=t.allow,x=t.className,O=t.title,_=t.ariaLabel,S=t.ariaLabelledby,k=t.name,E=t.target,M=t.loading,C=t.importance,j=t.referrerpolicy,A=t.allowpaymentrequest,T=t.src,P=a()({src:T||e,target:E||null,style:{position:n||null,display:o||"block",overflow:l||null},scrolling:m||null,allowpaymentrequest:A||null,importance:C||null,sandbox:y||null,loading:M||null,styles:f||null,name:k||null,className:x||null,referrerpolicy:j||null,title:O||null,allow:w||null,id:b||null,"aria-labelledby":S||null,"aria-hidden":g||null,"aria-label":_||null,width:u||null,height:c||null,onLoad:h||null,onMouseOver:d||null,onMouseOut:p||null}),D=Object.create(null),R=0,L=Object.keys(P);R<L.length;R++){var I=L[R];null!=P[I]&&(D[I]=P[I])}for(var N=0,F=Object.keys(D.style);N<F.length;N++){var B=F[N];null==D.style[B]&&delete D.style[B]}if(r)if("allow"in D){var z=D.allow.replace("fullscreen","");D.allow=("fullscreen "+z.trim()).trim()}else D.allow="fullscreen";return v>=0&&(D.style.hasOwnProperty("border")||(D.style.border=v)),i.a.createElement("iframe",s({},D))}},function(t,e,r){t.exports={decode:r(705),verify:r(1128),sign:r(1131),JsonWebTokenError:r(480),NotBeforeError:r(762),TokenExpiredError:r(763)}},function(t,e,r){"use strict";var n=r(515);e.a=function(t,e){return e?Object(n.a)(t,e,{clone:!1}):t}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");e.default=a},function(t,e,r){"use strict";e.a=function(t){return"string"===typeof t}},function(t,e,r){"use strict";function n(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}r.d(e,"b",(function(){return n})),e.a=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));var n=function(t){for(var e,r=0,n=0,i=t.length;i>=4;++n,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))+(59797*(e>>>16)<<16),r=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&t.charCodeAt(n+2))<<16;case 2:r^=(255&t.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},i=r(525),o=r(412),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!==typeof t},l=Object(o.a)((function(t){return c(t)?t:t.replace(a,"-$&").toLowerCase()})),f=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(s,(function(t,e,r){return d={name:e,styles:r,next:d},e}))}return 1===i.a[t]||c(t)||"number"!==typeof e||0===e?e:e+"px"};function h(t,e,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return d={name:r.name,styles:r.styles,next:d},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)d={name:n.name,styles:n.styles,next:d},n=n.next;return r.styles+";"}return function(t,e,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(t,e,r[i])+";";else for(var o in r){var a=r[o];if("object"!==typeof a)null!=e&&void 0!==e[a]?n+=o+"{"+e[a]+"}":u(a)&&(n+=l(o)+":"+f(o,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=h(t,e,a);switch(o){case"animation":case"animationName":n+=l(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}else for(var c=0;c<a.length;c++)u(a[c])&&(n+=l(o)+":"+f(o,a[c])+";")}return n}(t,e,r);case"function":if(void 0!==t){var i=d,o=r(t);return d=i,h(t,e,o)}break;case"string":}if(null==e)return r;var a=e[r];return void 0!==a?a:r}var d,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var m=function(t,e,r){if(1===t.length&&"object"===typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i=!0,o="";d=void 0;var a=t[0];null==a||void 0===a.raw?(i=!1,o+=h(r,e,a)):o+=a[0];for(var s=1;s<t.length;s++)o+=h(r,e,t[s]),i&&(o+=a[s]);p.lastIndex=0;for(var c,u="";null!==(c=p.exec(o));)u+="-"+c[1];return{name:n(o)+u,styles:o,next:d}}},function(t,e,r){"use strict";(function(t){var n=r(508),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.a.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();e.a=s}).call(this,r(466)(t))},function(t,e,r){"use strict";function n(t){return t[0]}function i(t){return t[1]}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}))},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.default=a},function(t,e,r){"use strict";var n=Function.prototype.toString;e.a=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e,r){"use strict";var n=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;t.exports=function(t,e){try{return function t(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){var s,c,u,l=n(e),f=n(r);if(l&&f){if((c=e.length)!=r.length)return!1;for(s=c;0!==s--;)if(!t(e[s],r[s]))return!1;return!0}if(l!=f)return!1;var h=e instanceof Date,d=r instanceof Date;if(h!=d)return!1;if(h&&d)return e.getTime()==r.getTime();var p=e instanceof RegExp,m=r instanceof RegExp;if(p!=m)return!1;if(p&&m)return e.toString()==r.toString();var b=i(e);if((c=b.length)!==i(r).length)return!1;for(s=c;0!==s--;)if(!o.call(r,b[s]))return!1;if(a&&e instanceof Element&&r instanceof Element)return e===r;for(s=c;0!==s--;)if(("_owner"!==(u=b[s])||!e.$$typeof)&&!t(e[u],r[u]))return!1;return!0}return e!==e&&r!==r}(t,e)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||-2146828260===r.number)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiTablePagination",t)}var a=Object(i.a)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);e.a=a},,,function(t,e,r){var n=r(390),i=r(938),o=r(939),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!==t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"===typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}v(t,e,o,{once:!0}),"error"!==e&&function(t,e,r){"function"===typeof t.on&&v(t,"error",e,r)}(t,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var i,o,a,s;if(u(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),a=o[e]),void 0===a)a=o[e]=r,++t._eventsCount;else if("function"===typeof a?a=o[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(t))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return t}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=h.bind(n);return i.listener=r,n.wrapFn=i,i}function p(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):b(i,i.length)}function m(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function b(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function v(t,e,r,n){if("function"===typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[t];if(void 0===c)return!1;if("function"===typeof c)o(c,this,e);else{var u=c.length,l=b(c,u);for(r=0;r<u;++r)o(l[r],this,e)}return!0},s.prototype.addListener=function(t,e){return f(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return f(this,t,e,!0)},s.prototype.once=function(t,e){return u(e),this.on(t,d(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return u(e),this.prependListener(t,d(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,i,o,a;if(u(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){"use strict";var n=r(71).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!==typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=f,e=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){var n=r(71).Buffer,i=r(473).Transform,o=r(266).StringDecoder;function a(t){i.call(this),this.hashMode="string"===typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(53)(a,i),a.prototype.update=function(t,e,r){"string"===typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(i){n=i}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(r){e=r}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=a},function(t,e,r){"use strict";var n=r(428);r.d(e,"a",(function(){return n.a}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));var n=r(0),i=r(76),o=!0,a=!1,s=null,c={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function l(){o=!1}function f(){"hidden"===this.visibilityState&&a&&(o=!0)}function h(t){var e=t.target;try{return e.matches(":focus-visible")}catch(r){}return o||function(t){var e=t.type,r=t.tagName;return!("INPUT"!==r||!c[e]||t.readOnly)||("TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}(e)}function d(){a=!0,window.clearTimeout(s),s=window.setTimeout((function(){a=!1}),100)}function p(){return{isFocusVisible:h,onBlurVisible:d,ref:n.useCallback((function(t){var e,r=i.findDOMNode(t);null!=r&&((e=r.ownerDocument).addEventListener("keydown",u,!0),e.addEventListener("mousedown",l,!0),e.addEventListener("pointerdown",l,!0),e.addEventListener("touchstart",l,!0),e.addEventListener("visibilitychange",f,!0))}),[])}}},function(t,e,r){"use strict";function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=this,s=function(){t.apply(a,i)};clearTimeout(e),e=setTimeout(s,r)}return n.clear=function(){clearTimeout(e)},n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}),"Fullscreen");e.default=a},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(29);function i(t,e){var r=0;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(a=+a)>=a&&++r}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(n.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(l=+l)>=l&&++r}}catch(f){u.e(f)}finally{u.f()}}return r}},function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return c}));var n=r(414),i=r(321),o=r(493),a=r(427);function s(t,e,r){if(s=(t=Float64Array.from(Object(a.b)(t,r))).length){if((e=+e)<=0||s<2)return Object(i.a)(t);if(e>=1)return Object(n.a)(t);var s,c=(s-1)*e,u=Math.floor(c),l=Object(n.a)(Object(o.a)(t,u).subarray(0,u+1));return l+(Object(i.a)(t.subarray(u+1))-l)*(c-u)}}function c(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.a;if(n=t.length){if((e=+e)<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,i=(n-1)*e,o=Math.floor(i),s=+r(t[o],o,t),c=+r(t[o+1],o+1,t);return s+(c-s)*(i-o)}}},function(t,e,r){"use strict";var n=r(118),i=r(318),o=r(497),a=r(496),s=r(175),c=r(498),u=r(495),l=r(377),f=r(286);e.a=function(t,e){var r,h=typeof e;return null==e||"boolean"===h?Object(l.a)(e):("number"===h?s.a:"string"===h?(r=Object(n.e)(e))?(e=r,i.a):u.a:e instanceof n.e?i.a:e instanceof Date?a.a:Object(f.b)(e)?f.a:Array.isArray(e)?o.b:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?c.a:s.a)(t,e)}},function(t,e,r){"use strict";var n,i=r(0),o=!0,a=!1,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(t){t.metaKey||t.altKey||t.ctrlKey||(o=!0)}function u(){o=!1}function l(){"hidden"===this.visibilityState&&a&&(o=!0)}function f(t){var e=t.target;try{return e.matches(":focus-visible")}catch(r){}return o||function(t){var e=t.type,r=t.tagName;return!("INPUT"!==r||!s[e]||t.readOnly)||("TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}(e)}e.a=function(){var t=i.useCallback((function(t){var e;null!=t&&((e=t.ownerDocument).addEventListener("keydown",c,!0),e.addEventListener("mousedown",u,!0),e.addEventListener("pointerdown",u,!0),e.addEventListener("touchstart",u,!0),e.addEventListener("visibilitychange",l,!0))}),[]),e=i.useRef(!1);return{isFocusVisibleRef:e,onFocus:function(t){return!!f(t)&&(e.current=!0,!0)},onBlur:function(){return!!e.current&&(a=!0,window.clearTimeout(n),n=window.setTimeout((function(){a=!1}),100),e.current=!1,!0)},ref:t}}},function(t,e,r){"use strict";t.exports=r(936)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(423);function i(t,e){if(t){if("string"===typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},function(t,e,r){"use strict";var n=r(160),i=r(153);e.a=function(t){return"symbol"==typeof t||Object(i.a)(t)&&"[object Symbol]"==Object(n.a)(t)}},function(t,e,r){"use strict";var n=Object.prototype;e.a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,r){"use strict";function n(t){this._maxSize=t,this.clear()}n.prototype.clear=function(){this._size=0,this._values=Object.create(null)},n.prototype.get=function(t){return this._values[t]},n.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),t in this._values||this._size++,this._values[t]=e};var i=/[^.^\]^[]+|(?=\[\]|\.\.)/g,o=/^\d+$/,a=/^\d/,s=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,c=/^\s*(['"]?)(.*?)(\1)\s*$/,u=new n(512),l=new n(512),f=new n(512);function h(t){return u.get(t)||u.set(t,d(t).map((function(t){return t.replace(c,"$2")})))}function d(t){return t.match(i)}function p(t){return"string"===typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function m(t){return!p(t)&&(function(t){return t.match(a)&&!t.match(o)}(t)||function(t){return s.test(t)}(t))}t.exports={Cache:n,split:d,normalizePath:h,setter:function(t){var e=h(t);return l.get(t)||l.set(t,(function(t,r){for(var n=0,i=e.length,o=t;n<i-1;){var a=e[n];if("__proto__"===a||"constructor"===a||"prototype"===a)return t;o=o[e[n++]]}o[e[n]]=r}))},getter:function(t,e){var r=h(t);return f.get(t)||f.set(t,(function(t){for(var n=0,i=r.length;n<i;){if(null==t&&e)return;t=t[r[n++]]}return t}))},join:function(t){return t.reduce((function(t,e){return t+(p(e)||o.test(e)?"["+e+"]":(t?".":"")+e)}),"")},forEach:function(t,e,r){!function(t,e,r){var n,i,o,a,s=t.length;for(i=0;i<s;i++)(n=t[i])&&(m(n)&&(n='"'+n+'"'),a=p(n),o=!a&&/^\d+$/.test(n),e.call(r,n,a,o,i,t))}(Array.isArray(t)?t:d(t),e,r)}}},function(t,e,r){var n=r(1016)("toUpperCase");t.exports=n},function(t,e,r){"use strict";var n=r(874),i=Object(n.b)();e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(0);function i(t,e){return n.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,r){"use strict";var n=r(875),i=Object(n.a)();e.a=i},function(t,e,r){"use strict";var n=r(0),i=n.createContext();e.a=i},function(t,e,r){"use strict";function n(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}r.d(e,"b",(function(){return n})),e.a=function(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(r=0;r<n;++r)i[r]=t[r]*(1-o)+e[r]*o;return i}}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");e.default=a},function(t,e,r){"use strict";var n=r(0),i=n.createContext();e.a=i},,function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return b}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42);function c(t){return(c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=m(t);if(e){var i=m(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return p(this,r)}}function p(t,e){return!e||"object"!==c(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(c,t);var e,r,n,o=d(c);function c(){return l(this,c),o.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.r,o=t.className,c=a()("recharts-dot",o);return e===+e&&r===+r&&n===+n?i.a.createElement("circle",u({},Object(s.c)(this.props),Object(s.a)(this.props),{className:c,cx:e,cy:r,r:n})):null}}])&&f(e.prototype,r),n&&f(e,n),c}(n.PureComponent)},function(t,e,r){"use strict";r.d(e,"a",(function(){return C}));var n=r(150),i=r.n(n),o=r(44),a=r.n(o),s=r(36),c=r.n(s),u=r(868),l=r.n(u),f=r(68),h=r.n(f),d=r(0),p=r.n(d),m=r(208),b=r(80),v=r(74),g=r(37),y=r(42);function w(t){return function(t){if(Array.isArray(t))return x(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O(){return(O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var M={valueAccessor:function(t){return h()(t.value)?l()(t.value):t.value}};function C(t){var e=t.data,r=t.valueAccessor,n=t.dataKey,i=t.clockWise,o=t.id,a=t.textBreakAll,s=E(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?p.a.createElement(b.a,{className:"recharts-label-list"},e.map((function(t,e){var u=c()(n)?r(t,e):Object(g.w)(t&&t.payload,n),l=c()(o)?{}:{id:"".concat(o,"-").concat(e)};return p.a.createElement(m.a,O({},Object(y.c)(t,!0),s,l,{parentViewBox:t.parentViewBox,index:e,value:u,textBreakAll:a,viewBox:m.a.parseViewBox(c()(i)?t:S(S({},t),{},{clockWise:i})),key:"label-".concat(e)}))}))):null}function j(t,e){return t?!0===t?p.a.createElement(C,{key:"labelList-implicit",data:e}):p.a.isValidElement(t)||a()(t)?p.a.createElement(C,{key:"labelList-implicit",data:e,content:t}):i()(t)?p.a.createElement(C,O({data:e},t,{key:"labelList-implicit"})):null:null}C.displayName="LabelList",C.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,i=Object(v.a)(n,C.displayName).map((function(t,r){return Object(d.cloneElement)(t,{data:e,key:"labelList-".concat(r)})}));if(!r)return i;var o=j(t.label,e);return[o].concat(w(i))},C.defaultProps=M},function(t,e,r){"use strict";var n=r(172),i=r(136),o=Object(n.a)(i.a,"DataView"),a=r(295),s=Object(n.a)(i.a,"Promise"),c=Object(n.a)(i.a,"Set"),u=Object(n.a)(i.a,"WeakMap"),l=r(160),f=r(258),h=Object(f.a)(o),d=Object(f.a)(a.a),p=Object(f.a)(s),m=Object(f.a)(c),b=Object(f.a)(u),v=l.a;(o&&"[object DataView]"!=v(new o(new ArrayBuffer(1)))||a.a&&"[object Map]"!=v(new a.a)||s&&"[object Promise]"!=v(s.resolve())||c&&"[object Set]"!=v(new c)||u&&"[object WeakMap]"!=v(new u))&&(v=function(t){var e=Object(l.a)(t),r="[object Object]"==e?t.constructor:void 0,n=r?Object(f.a)(r):"";if(n)switch(n){case h:return"[object DataView]";case d:return"[object Map]";case p:return"[object Promise]";case m:return"[object Set]";case b:return"[object WeakMap]"}return e});e.a=v},function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(172),i=r(136),o=Object(n.a)(i.a,"Map");e.a=o},function(t,e,r){"use strict";var n=r(428),i=r(224),o=r(59),a=r(223),s=r(325),c=r(256);e.a=function(t,e,r){var u=null,l=Object(o.a)(!0),f=null,h=a.a,d=null;function p(o){var a,s,c,p,m,b=(o=Object(i.a)(o)).length,v=!1,g=new Array(b),y=new Array(b);for(null==f&&(d=h(m=Object(n.a)())),a=0;a<=b;++a){if(!(a<b&&l(p=o[a],a,o))===v)if(v=!v)s=a,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),c=a-1;c>=s;--c)d.point(g[c],y[c]);d.lineEnd(),d.areaEnd()}v&&(g[a]=+t(p,a,o),y[a]=+e(p,a,o),d.point(u?+u(p,a,o):g[a],r?+r(p,a,o):y[a]))}if(m)return d=null,m+""||null}function m(){return Object(s.a)().defined(l).curve(h).context(f)}return t="function"===typeof t?t:void 0===t?c.a:Object(o.a)(+t),e="function"===typeof e?e:void 0===e?Object(o.a)(0):Object(o.a)(+e),r="function"===typeof r?r:void 0===r?c.b:Object(o.a)(+r),p.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(+e),u=null,p):t},p.x0=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(+e),p):t},p.x1=function(t){return arguments.length?(u=null==t?null:"function"===typeof t?t:Object(o.a)(+t),p):u},p.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(o.a)(+t),r=null,p):e},p.y0=function(t){return arguments.length?(e="function"===typeof t?t:Object(o.a)(+t),p):e},p.y1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:Object(o.a)(+t),p):r},p.lineX0=p.lineY0=function(){return m().x(t).y(e)},p.lineY1=function(){return m().x(t).y(r)},p.lineX1=function(){return m().x(u).y(e)},p.defined=function(t){return arguments.length?(l="function"===typeof t?t:Object(o.a)(!!t),p):l},p.curve=function(t){return arguments.length?(h=t,null!=f&&(d=h(f)),p):h},p.context=function(t){return arguments.length?(null==t?f=d=null:d=h(f=t),p):f},p}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z"}),"SwapHoriz");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M23.64 7c-.45-.34-4.93-4-11.64-4-1.5 0-2.89.19-4.15.48L18.18 13.8 23.64 7zm-6.6 8.22L3.27 1.44 2 2.72l2.05 2.06C1.91 5.76.59 6.82.36 7l11.63 14.49.01.01.01-.01 3.9-4.86 3.32 3.32 1.27-1.27-3.46-3.46z"}),"SignalWifiOff");e.default=a},function(t,e,r){var n=r(645);t.exports=function(t){return n(t)&&t!=+t}},function(t,e,r){var n=r(263),i=r(68),o=r(264);t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==n(t)}},function(t,e,r){"use strict";function n(t,e){for(var r in t)if({}.hasOwnProperty.call(t,r)&&(!{}.hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if({}.hasOwnProperty.call(e,n)&&!{}.hasOwnProperty.call(t,n))return!1;return!0}r.d(e,"a",(function(){return n}))},function(t,e,r){(function(e){for(var n=r(1295),i="undefined"===typeof window?e:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],c=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],c=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!c){var l=0,f=0,h=[];s=function(t){if(0===h.length){var e=n(),r=Math.max(0,1e3/60-(e-l));l=r+e,setTimeout((function(){var t=h.slice(0);h.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(l)}catch(r){setTimeout((function(){throw r}),0)}}),Math.round(r))}return h.push({handle:++f,callback:t,cancelled:!1}),f},c=function(t){for(var e=0;e<h.length;e++)h[e].handle===t&&(h[e].cancelled=!0)}}t.exports=function(t){return s.call(i,t)},t.exports.cancel=function(){c.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=s,t.cancelAnimationFrame=c}}).call(this,r(120))},function(t,e,r){"use strict";function n(t){return t&&t.ownerDocument||document}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(1446),d=r(24),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiIconButton",t)}var v=Object(m.a)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),g=r(6),y=["edge","children","className","color","disabled","disableFocusRipple","size"],w=Object(l.a)(h.a,{name:"MuiIconButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"default"!==r.color&&e["color".concat(Object(d.a)(r.color))],r.edge&&e["edge".concat(Object(d.a)(r.edge))],e["size".concat(Object(d.a)(r.size))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!r.disableRipple&&{"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===r.edge&&{marginLeft:"small"===r.size?-3:-12},"end"===r.edge&&{marginRight:"small"===r.size?-3:-12})}),(function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&Object(o.a)({color:e.palette[r.color].main},!r.disableRipple&&{"&:hover":{backgroundColor:Object(u.a)(e.palette[r.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===r.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:e.typography.pxToRem(28)},Object(n.a)({},"&.".concat(v.disabled),{backgroundColor:"transparent",color:e.palette.action.disabled}))})),x=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiIconButton"}),n=r.edge,a=void 0!==n&&n,u=r.children,l=r.className,h=r.color,p=void 0===h?"default":h,m=r.disabled,v=void 0!==m&&m,x=r.disableFocusRipple,O=void 0!==x&&x,_=r.size,S=void 0===_?"medium":_,k=Object(i.a)(r,y),E=Object(o.a)({},r,{edge:a,color:p,disabled:v,disableFocusRipple:O,size:S}),M=function(t){var e=t.classes,r=t.disabled,n=t.color,i=t.edge,o=t.size,a={root:["root",r&&"disabled","default"!==n&&"color".concat(Object(d.a)(n)),i&&"edge".concat(Object(d.a)(i)),"size".concat(Object(d.a)(o))]};return Object(c.a)(a,b,e)}(E);return Object(g.jsx)(w,Object(o.a)({className:Object(s.a)(M.root,l),centerRipple:!0,focusRipple:!O,disabled:v,ref:e,ownerState:E},k,{children:u}))}));e.a=x},,,,,,,function(t,e,r){var n=r(946),i=r(949);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},function(t,e,r){"use strict";var n=r(474),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=f;var o=Object.create(r(393));o.inherits=r(53);var a=r(708),s=r(597);o.inherits(f,a);for(var c=i(s.prototype),u=0;u<c.length;u++){var l=c[u];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(t){if(!(this instanceof f))return new f(t);a.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=function(t){return t.split("_").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return u})),r.d(e,"c",(function(){return l}));var n=r(0),i=(r(633),r(151)),o=(r(779),r(413),r(183),r(209)),a=r(254),s=r(526),c=Object(i.e)((function(t,e){var r=t.styles,c=Object(a.a)([r],void 0,Object(n.useContext)(i.b)),u=Object(n.useRef)();return Object(n.useLayoutEffect)((function(){var t=e.key+"-global",r=new s.a({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),n=!1,i=document.querySelector('style[data-emotion="'+t+" "+c.name+'"]');return e.sheet.tags.length&&(r.before=e.sheet.tags[0]),null!==i&&(n=!0,i.setAttribute("data-emotion",t),r.hydrate([i])),u.current=[r,n],function(){r.flush()}}),[e]),Object(n.useLayoutEffect)((function(){var t=u.current,r=t[0];if(t[1])t[1]=!1;else{if(void 0!==c.next&&Object(o.b)(e,c.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}e.insert("",c,r,!1)}}),[e,c.name]),null}));function u(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Object(a.a)(e)}var l=function(){var t=u.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},function(t,e,r){"use strict";r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return u}));var n=r(108),i=r(365),o=r(427),a=Object(i.a)(n.a),s=a.right,c=a.left,u=Object(i.a)(o.a).center;e.d=s},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(n.a)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,r){e.setTime(+e+r*t)}),(function(e,r){return(r-e)/t})):i:null},e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"c",(function(){return u}));var n=r(118),i=r(357),o=r(494),a=r(110);function s(t){return function(e){var r,i,o=e.length,a=new Array(o),s=new Array(o),c=new Array(o);for(r=0;r<o;++r)i=Object(n.g)(e[r]),a[r]=i.r||0,s[r]=i.g||0,c[r]=i.b||0;return a=t(a),s=t(s),c=t(c),i.opacity=1,function(t){return i.r=a(t),i.g=s(t),i.b=c(t),i+""}}}e.a=function t(e){var r=Object(a.b)(e);function i(t,e){var i=r((t=Object(n.g)(t)).r,(e=Object(n.g)(e)).r),o=r(t.g,e.g),s=r(t.b,e.b),c=Object(a.a)(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=o(e),t.b=s(e),t.opacity=c(e),t+""}}return i.gamma=t,i}(1);var c=s(i.b),u=s(o.a)},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",(function(){return n}))},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(29);function i(t,e){var r;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(r>a||void 0===r&&a>=a)&&(r=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(n.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(r>l||void 0===r&&l>=l)&&(r=l)}}catch(f){u.e(f)}finally{u.f()}}return r}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=n.exec(t)))throw new Error("invalid format: "+t);var e;return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/i.a}),(function(t){return t.getUTCDate()-1}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){return t.setHours(0,0,0,0)}),(function(t,e){return t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*i.c)/i.a}),(function(t){return t.getDate()-1}));e.b=o;var a=o.range},function(t,e,r){"use strict";var n=r(428),i=r(224),o=r(59),a=r(223),s=r(256);e.a=function(t,e){var r=Object(o.a)(!0),c=null,u=a.a,l=null;function f(o){var a,s,f,h=(o=Object(i.a)(o)).length,d=!1;for(null==c&&(l=u(f=Object(n.a)())),a=0;a<=h;++a)!(a<h&&r(s=o[a],a,o))===d&&((d=!d)?l.lineStart():l.lineEnd()),d&&l.point(+t(s,a,o),+e(s,a,o));if(f)return l=null,f+""||null}return t="function"===typeof t?t:void 0===t?s.a:Object(o.a)(t),e="function"===typeof e?e:void 0===e?s.b:Object(o.a)(e),f.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(+e),f):t},f.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(o.a)(+t),f):e},f.defined=function(t){return arguments.length?(r="function"===typeof t?t:Object(o.a)(!!t),f):r},f.curve=function(t){return arguments.length?(u=t,null!=c&&(l=u(c)),f):u},f.context=function(t){return arguments.length?(null==t?c=l=null:l=u(c=t),f):c},f}},function(t,e,r){"use strict";function n(t,e){this._context=t,this._t=e}function i(t){return new n(t,0)}function o(t){return new n(t,1)}r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return o})),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},e.a=function(t){return new n(t,.5)}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");e.default=a},function(t,e,r){var n=r(937),i=r(685);t.exports=function(t,e){return null!=t&&i(t,e,n)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(819);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Object(n.a)(t,e)}},function(t,e,r){"use strict";function n(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(n(t.value)&&""!==t.value||e&&n(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}))},,function(t,e,r){"use strict";function n(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(n(t.value)&&""!==t.value||e&&n(t.defaultValue)&&""!==t.defaultValue)}function o(t){return t.startAdornment}r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}))},function(t,e,r){"use strict";function n(t){return+t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(34);e.a={draw:function(t,e){var r=Math.sqrt(e/n.j);t.moveTo(r,0),t.arc(0,0,r,0,n.m)}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return D}));var n=r(36),i=r.n(n),o=r(0),a=r.n(o),s=r(554),c=r.n(s),u=r(55),l=r.n(u),f=r(17),h=r(154),d=r(42),p=r(201);function m(t){return(m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(){return(b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function v(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=_(t);if(e){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return O(this,r)}}function O(t,e){return!e||"object"!==m(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return k(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){C(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function C(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var j=/[ \f\n\r\t\v\u2028\u2029]+/,A=function(t){try{var e=[];return i()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(j)),{wordsWithComputedWidth:e.map((function(e){return{word:e,width:Object(p.c)(e,t.style).width}})),spaceWidth:t.breakAll?0:Object(p.c)("\xa0",t.style).width}}catch(r){return null}},T=function(t){return[{words:i()(t)?[]:t.toString().split(j)}]},P=function(t,e){if((t.width||t.scaleToFit)&&!h.a.isSsr&&e){var r=A(t);return r?function(t,e,r,n,i){var o=Object(f.h)(t.maxLines),a=t.children,s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce((function(t,e){var o=e.word,a=e.width,s=t[t.length-1];if(s&&(null==n||i||s.width+a+r<n))s.words.push(o),s.width+=a+r;else{var c={words:[o],width:a};t.push(c)}return t}),[])},c=s(e);if(!o)return c;for(var u,l=function(e){var r=a.slice(0,e),i=A(M(M({},t),{},{children:r+"\u2026"})).wordsWithComputedWidth,o=s(i);return[o.length>t.maxLines||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>n,o]},h=0,d=a.length-1,p=0;h<=d&&p<=a.length-1;){var m=Math.floor((h+d)/2),b=S(l(m-1),2),v=b[0],g=b[1],y=S(l(m),1)[0];if(v||y||(h=m+1),v&&y&&(d=m-1),!v&&y){u=g;break}p++}return u||c}(t,r.wordsWithComputedWidth,r.spaceWidth,t.width,t.scaleToFit):T(t.children)}return T(t.children)},D=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(o,t);var e,r,n,i=x(o);function o(){var t;g(this,o);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=i.call.apply(i,[this].concat(r))).state={},t}return e=o,n=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var r=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:P(t,r)}}return null}}],(r=[{key:"render",value:function(){var t=this.props,e=t.dx,r=t.dy,n=t.textAnchor,i=t.verticalAnchor,o=t.scaleToFit,s=t.angle,u=t.lineHeight,h=t.capHeight,p=t.className,m=t.breakAll,g=v(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),y=this.state.wordsByLines;if(!Object(f.g)(g.x)||!Object(f.g)(g.y))return null;var w,x=g.x+(Object(f.h)(e)?e:0),O=g.y+(Object(f.h)(r)?r:0);switch(i){case"start":w=c()("calc(".concat(h,")"));break;case"middle":w=c()("calc(".concat((y.length-1)/2," * -").concat(u," + (").concat(h," / 2))"));break;default:w=c()("calc(".concat(y.length-1," * -").concat(u,")"))}var _=[];if(o){var S=y[0].width,k=this.props.width;_.push("scale(".concat((Object(f.h)(k)?k/S:1)/S,")"))}return s&&_.push("rotate(".concat(s,", ").concat(x,", ").concat(O,")")),_.length&&(g.transform=_.join(" ")),a.a.createElement("text",b({},Object(d.c)(g,!0),{x:x,y:O,className:l()("recharts-text",p),textAnchor:n}),y.map((function(t,e){return a.a.createElement("tspan",{x:x,dy:0===e?w:u,key:e},t.words.join(m?"":" "))})))}}])&&y(e.prototype,r),n&&y(e,n),o}(o.Component);D.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"}},function(t,e,r){"use strict";r.d(e,"b",(function(){return g})),r.d(e,"a",(function(){return y}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(174),c=r(42);function u(t){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=b(t);if(e){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(t,e){return!e||"object"!==u(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t,e,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),s=n>=0?1:-1,c=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+s*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(u,",").concat(t+c*l[0],",").concat(e)),o+="L ".concat(t+r-c*l[1],",").concat(e),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(u,",\n        ").concat(t+r,",").concat(e+s*l[1])),o+="L ".concat(t+r,",").concat(e+n-s*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(u,",\n        ").concat(t+r-c*l[2],",").concat(e+n)),o+="L ".concat(t+c*l[3],",").concat(e+n),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(u,",\n        ").concat(t,",").concat(e+n-s*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var h=Math.min(a,i);o="M ".concat(t,",").concat(e+s*h,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+c*h,",").concat(e,"\n            L ").concat(t+r-c*h,",").concat(e,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+r,",").concat(e+s*h,"\n            L ").concat(t+r,",").concat(e+n-s*h,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t+r-c*h,",").concat(e+n,"\n            L ").concat(t+c*h,",").concat(e+n,"\n            A ").concat(h,",").concat(h,",0,0,").concat(u,",").concat(t,",").concat(e+n-s*h," Z")}else o="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},g=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,i=e.x,o=e.y,a=e.width,s=e.height;if(Math.abs(a)>0&&Math.abs(s)>0){var c=Math.min(i,i+a),u=Math.max(i,i+a),l=Math.min(o,o+s),f=Math.max(o,o+s);return r>=c&&r<=u&&n>=l&&n<=f}return!1},y=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(u,t);var e,r,n,o=p(u);function u(){var t;f(this,u);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).state={totalLength:-1},t.node=void 0,t}return e=u,(r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(e){}}},{key:"render",value:function(){var t=this,e=this.props,r=e.x,n=e.y,o=e.width,u=e.height,f=e.radius,h=e.className,d=this.state.totalLength,p=this.props,m=p.animationEasing,b=p.animationDuration,g=p.animationBegin,y=p.isAnimationActive,w=p.isUpdateAnimationActive;if(r!==+r||n!==+n||o!==+o||u!==+u||0===o||0===u)return null;var x=a()("recharts-rectangle",h);return w?i.a.createElement(s.a,{canBegin:d>0,from:{width:o,height:u,x:r,y:n},to:{width:o,height:u,x:r,y:n},duration:b,animationEasing:m,isActive:w},(function(e){var r=e.width,n=e.height,o=e.x,a=e.y;return i.a.createElement(s.a,{canBegin:d>0,from:"0px ".concat(-1===d?1:d,"px"),to:"".concat(d,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:b,isActive:y,easing:m},i.a.createElement("path",l({},Object(c.c)(t.props,!0),{className:x,d:v(o,a,r,n,f),ref:function(e){t.node=e}})))})):i.a.createElement("path",l({},Object(c.c)(this.props,!0),{className:x,d:v(r,n,o,u,f)}))}}])&&h(e.prototype,r),n&&h(e,n),u}(n.PureComponent);y.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"}},function(t,e,r){t.exports=function(){var t={characters:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var r,n,i,o,a,s,c,u="",l=0;for(e=t.utf8Encode(e);l<e.length;)o=(r=e.charCodeAt(l++))>>2,a=(3&r)<<4|(n=e.charCodeAt(l++))>>4,s=(15&n)<<2|(i=e.charCodeAt(l++))>>6,c=63&i,isNaN(n)?s=c=64:isNaN(i)&&(c=64),u=u+this.characters.charAt(o)+this.characters.charAt(a)+this.characters.charAt(s)+this.characters.charAt(c);return u},utf8Encode:function(t){t=t.replace(/\r\n/g,"\n");for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}},e=function(e){return"data:image/svg+xml;base64,"+t.encode(e)};return function(t){var r;switch("string"===typeof(r=t)?"string":"undefined"!==typeof SVGElement&&r instanceof SVGElement?"element":void 0){case"string":return e(t);case"element":return function(t){var r=(new XMLSerializer).serializeToString(t);return e(r)}(t);default:return t}}}()},function(t,e,r){"use strict";var n=r(0),i="undefined"!==typeof window?n.useLayoutEffect:n.useEffect;e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(825),i={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function o(t,e){return i[e]||"".concat(n.a.generate(t),"-").concat(e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(339);function i(t,e){var r={};return e.forEach((function(e){r[e]=Object(n.a)(t,e)})),r}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(1446),d=r(24),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiButton",t)}var v=Object(m.a)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=a.createContext({}),y=r(6),w=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],x=function(t){return Object(o.a)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},O=Object(l.a)(h.a,{shouldForwardProp:function(t){return Object(l.b)(t)||"classes"===t},name:"MuiButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["".concat(r.variant).concat(Object(d.a)(r.color))],e["size".concat(Object(d.a)(r.size))],e["".concat(r.variant,"Size").concat(Object(d.a)(r.size))],"inherit"===r.color&&e.colorInherit,r.disableElevation&&e.disableElevation,r.fullWidth&&e.fullWidth]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({},r.typography.button,(e={minWidth:64,padding:"6px 16px",borderRadius:r.shape.borderRadius,transition:r.transitions.create(["background-color","box-shadow","border-color","color"],{duration:r.transitions.duration.short}),"&:hover":Object(o.a)({textDecoration:"none",backgroundColor:Object(u.a)(r.palette.text.primary,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:Object(u.a)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat(r.palette[i.color].main),backgroundColor:Object(u.a)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:r.palette.grey.A100,boxShadow:r.shadows[4],"@media (hover: none)":{boxShadow:r.shadows[2],backgroundColor:r.palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:r.palette[i.color].dark,"@media (hover: none)":{backgroundColor:r.palette[i.color].main}}),"&:active":Object(o.a)({},"contained"===i.variant&&{boxShadow:r.shadows[8]})},Object(n.a)(e,"&.".concat(v.focusVisible),Object(o.a)({},"contained"===i.variant&&{boxShadow:r.shadows[6]})),Object(n.a)(e,"&.".concat(v.disabled),Object(o.a)({color:r.palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat(r.palette.action.disabledBackground)},"outlined"===i.variant&&"secondary"===i.color&&{border:"1px solid ".concat(r.palette.action.disabled)},"contained"===i.variant&&{color:r.palette.action.disabled,boxShadow:r.shadows[0],backgroundColor:r.palette.action.disabledBackground})),e),"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:r.palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid ".concat("light"===r.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===i.variant&&"inherit"!==i.color&&{color:r.palette[i.color].main,border:"1px solid ".concat(Object(u.a)(r.palette[i.color].main,.5))},"contained"===i.variant&&{color:r.palette.getContrastText(r.palette.grey[300]),backgroundColor:r.palette.grey[300],boxShadow:r.shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:r.palette[i.color].contrastText,backgroundColor:r.palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:r.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:r.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:r.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:r.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})}),(function(t){var e;return t.ownerState.disableElevation&&(e={boxShadow:"none","&:hover":{boxShadow:"none"}},Object(n.a)(e,"&.".concat(v.focusVisible),{boxShadow:"none"}),Object(n.a)(e,"&:active",{boxShadow:"none"}),Object(n.a)(e,"&.".concat(v.disabled),{boxShadow:"none"}),e)})),_=Object(l.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(t,e){var r=t.ownerState;return[e.startIcon,e["iconSize".concat(Object(d.a)(r.size))]]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},x(e))})),S=Object(l.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(t,e){var r=t.ownerState;return[e.endIcon,e["iconSize".concat(Object(d.a)(r.size))]]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},x(e))})),k=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiButton"}),n=a.useContext(g),u=n.className,l=n.color,h=n.disabled,p=n.disableElevation,m=n.disableFocusRipple,v=n.disableRipple,x=n.fullWidth,k=n.size,E=n.variant,M=r.children,C=r.className,j=r.color,A=r.component,T=void 0===A?"button":A,P=r.disabled,D=r.disableElevation,R=r.disableFocusRipple,L=r.disableRipple,I=r.endIcon,N=r.focusVisibleClassName,F=r.fullWidth,B=r.size,z=r.startIcon,H=r.type,U=r.variant,W=Object(i.a)(r,w),q=j||l||"primary",V=P||h||!1,G=D||p||!1,Y=R||m||!1,X=F||x||!1,$=B||k||"medium",K=U||E||"text",Z=L||v||!1,J=Object(o.a)({},r,{color:q,component:T,disabled:V,disableElevation:G,disableFocusRipple:Y,fullWidth:X,size:$,type:H,variant:K}),Q=function(t){var e=t.color,r=t.disableElevation,n=t.fullWidth,i=t.size,a=t.variant,s=t.classes,u={root:["root",a,"".concat(a).concat(Object(d.a)(e)),"size".concat(Object(d.a)(i)),"".concat(a,"Size").concat(Object(d.a)(i)),"inherit"===e&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat(Object(d.a)(i))],endIcon:["endIcon","iconSize".concat(Object(d.a)(i))]},l=Object(c.a)(u,b,s);return Object(o.a)({},s,l)}(J),tt=z&&Object(y.jsx)(_,{className:Q.startIcon,ownerState:J,children:z}),et=I&&Object(y.jsx)(S,{className:Q.endIcon,ownerState:J,children:I});return Object(y.jsxs)(O,Object(o.a)({ownerState:J,className:Object(s.a)(C,u),component:T,disabled:V,disableRipple:Z,focusRipple:!Y,focusVisibleClassName:Object(s.a)(Q.focusVisible,N),ref:e,type:H},W,{classes:Q,children:[tt,M,et]}))}));e.a=k},,,function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,r){"use strict";(function(e,n){var i=r(71).Buffer,o=e.crypto||e.msCrypto;o&&o.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var r=i.allocUnsafe(t);if(t>0)if(t>65536)for(var a=0;a<t;a+=65536)o.getRandomValues(r.slice(a,a+65536));else o.getRandomValues(r);if("function"===typeof e)return n.nextTick((function(){e(null,r)}));return r}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(120),r(112))},function(t,e,r){"use strict";var n={};function i(t,e,r){r||(r=Error);var i=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"===typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=t,n[t]=i}function o(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,i,a,s;if("string"===typeof e&&(i="not ",e.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(n," ").concat(o(e,"type"));else{var c=function(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(c," ").concat(n," ").concat(o(e,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=u;var i=r(714),o=r(718);r(53)(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var c=a[s];u.prototype[c]||(u.prototype[c]=o.prototype[c])}function u(t){if(!(this instanceof u))return new u(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||e.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(112))},function(t,e,r){var n=r(71).Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"===typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var c=a%i,u=Math.min(o-s,i-c),l=0;l<u;l++)r[c+l]=t[s+l];s+=u,(a+=u)%i===0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,r){"use strict";var n={};function i(t,e,r){r||(r=Error);var i=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"===typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);i.prototype.name=r.name,i.prototype.code=t,n[t]=i}function o(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,i,a,s;if("string"===typeof e&&(i="not ",e.substr(!a||a<0?0:+a,i.length)===i)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(n," ").concat(o(e,"type"));else{var c=function(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(c," ").concat(n," ").concat(o(e,"type"))}return s+=". Received type ".concat(typeof r)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=u;var i=r(740),o=r(744);r(53)(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var c=a[s];u.prototype[c]||(u.prototype[c]=o.prototype[c])}function u(t){if(!(this instanceof u))return new u(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||e.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(112))},function(t,e,r){var n=r(767),i=r(769);function o(e,r){return delete t.exports[e],t.exports[e]=r,r}t.exports={Parser:n,Tokenizer:r(768),ElementType:r(398),DomHandler:i,get FeedHandler(){return o("FeedHandler",r(1148))},get Stream(){return o("Stream",r(1162))},get WritableStream(){return o("WritableStream",r(776))},get ProxyHandler(){return o("ProxyHandler",r(1164))},get DomUtils(){return o("DomUtils",r(771))},get CollectingHandler(){return o("CollectingHandler",r(1165))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var r=new i(e);return new n(r,e).end(t),r.dom},parseFeed:function(e,r){var i=new t.exports.FeedHandler(r);return new n(i,r).end(e),i.dom},createDomStream:function(t,e,r){var o=new i(t,e,r);return new n(o,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(t,e,r){"use strict";r.r(e),r.d(e,"version",(function(){return n})),r.d(e,"bisect",(function(){return i.f})),r.d(e,"bisectRight",(function(){return i.i})),r.d(e,"bisectLeft",(function(){return i.h})),r.d(e,"bisectCenter",(function(){return i.g})),r.d(e,"ascending",(function(){return i.d})),r.d(e,"bisector",(function(){return i.j})),r.d(e,"count",(function(){return i.k})),r.d(e,"cross",(function(){return i.l})),r.d(e,"cumsum",(function(){return i.m})),r.d(e,"descending",(function(){return i.n})),r.d(e,"deviation",(function(){return i.o})),r.d(e,"extent",(function(){return i.s})),r.d(e,"Adder",(function(){return i.a})),r.d(e,"fsum",(function(){return i.v})),r.d(e,"fcumsum",(function(){return i.t})),r.d(e,"group",(function(){return i.y})),r.d(e,"groups",(function(){return i.A})),r.d(e,"index",(function(){return i.C})),r.d(e,"indexes",(function(){return i.D})),r.d(e,"rollup",(function(){return i.Y})),r.d(e,"rollups",(function(){return i.Z})),r.d(e,"groupSort",(function(){return i.z})),r.d(e,"bin",(function(){return i.e})),r.d(e,"histogram",(function(){return i.B})),r.d(e,"thresholdFreedmanDiaconis",(function(){return i.ib})),r.d(e,"thresholdScott",(function(){return i.jb})),r.d(e,"thresholdSturges",(function(){return i.kb})),r.d(e,"max",(function(){return i.I})),r.d(e,"maxIndex",(function(){return i.J})),r.d(e,"mean",(function(){return i.K})),r.d(e,"median",(function(){return i.L})),r.d(e,"merge",(function(){return i.M})),r.d(e,"min",(function(){return i.N})),r.d(e,"minIndex",(function(){return i.O})),r.d(e,"nice",(function(){return i.P})),r.d(e,"pairs",(function(){return i.Q})),r.d(e,"permute",(function(){return i.R})),r.d(e,"quantile",(function(){return i.S})),r.d(e,"quantileSorted",(function(){return i.T})),r.d(e,"quickselect",(function(){return i.U})),r.d(e,"range",(function(){return i.V})),r.d(e,"least",(function(){return i.F})),r.d(e,"leastIndex",(function(){return i.G})),r.d(e,"greatest",(function(){return i.w})),r.d(e,"greatestIndex",(function(){return i.x})),r.d(e,"scan",(function(){return i.ab})),r.d(e,"shuffle",(function(){return i.bb})),r.d(e,"shuffler",(function(){return i.cb})),r.d(e,"sum",(function(){return i.gb})),r.d(e,"ticks",(function(){return i.nb})),r.d(e,"tickIncrement",(function(){return i.lb})),r.d(e,"tickStep",(function(){return i.mb})),r.d(e,"transpose",(function(){return i.ob})),r.d(e,"variance",(function(){return i.qb})),r.d(e,"zip",(function(){return i.rb})),r.d(e,"every",(function(){return i.r})),r.d(e,"some",(function(){return i.db})),r.d(e,"filter",(function(){return i.u})),r.d(e,"map",(function(){return i.H})),r.d(e,"reduce",(function(){return i.W})),r.d(e,"reverse",(function(){return i.X})),r.d(e,"sort",(function(){return i.eb})),r.d(e,"difference",(function(){return i.p})),r.d(e,"disjoint",(function(){return i.q})),r.d(e,"intersection",(function(){return i.E})),r.d(e,"subset",(function(){return i.fb})),r.d(e,"superset",(function(){return i.hb})),r.d(e,"union",(function(){return i.pb})),r.d(e,"InternMap",(function(){return i.b})),r.d(e,"InternSet",(function(){return i.c})),r.d(e,"axisTop",(function(){return d})),r.d(e,"axisRight",(function(){return p})),r.d(e,"axisBottom",(function(){return m})),r.d(e,"axisLeft",(function(){return b})),r.d(e,"brush",(function(){return Wr})),r.d(e,"brushX",(function(){return Hr})),r.d(e,"brushY",(function(){return Ur})),r.d(e,"brushSelection",(function(){return zr})),r.d(e,"chord",(function(){return tn})),r.d(e,"chordTranspose",(function(){return en})),r.d(e,"chordDirected",(function(){return rn})),r.d(e,"ribbon",(function(){return bn})),r.d(e,"ribbonArrow",(function(){return vn})),r.d(e,"color",(function(){return gn.a})),r.d(e,"rgb",(function(){return gn.h})),r.d(e,"hsl",(function(){return gn.e})),r.d(e,"lab",(function(){return gn.f})),r.d(e,"hcl",(function(){return gn.d})),r.d(e,"lch",(function(){return gn.g})),r.d(e,"gray",(function(){return gn.c})),r.d(e,"cubehelix",(function(){return gn.b})),r.d(e,"contours",(function(){return Tn})),r.d(e,"contourDensity",(function(){return Fn})),r.d(e,"Delaunay",(function(){return ui})),r.d(e,"Voronoi",(function(){return ri})),r.d(e,"dispatch",(function(){return S})),r.d(e,"drag",(function(){return gi})),r.d(e,"dragDisable",(function(){return Yt})),r.d(e,"dragEnable",(function(){return Xt})),r.d(e,"dsvFormat",(function(){return ki})),r.d(e,"csvParse",(function(){return Mi})),r.d(e,"csvParseRows",(function(){return Ci})),r.d(e,"csvFormat",(function(){return ji})),r.d(e,"csvFormatBody",(function(){return Ai})),r.d(e,"csvFormatRows",(function(){return Ti})),r.d(e,"csvFormatRow",(function(){return Pi})),r.d(e,"csvFormatValue",(function(){return Di})),r.d(e,"tsvParse",(function(){return Li})),r.d(e,"tsvParseRows",(function(){return Ii})),r.d(e,"tsvFormat",(function(){return Ni})),r.d(e,"tsvFormatBody",(function(){return Fi})),r.d(e,"tsvFormatRows",(function(){return Bi})),r.d(e,"tsvFormatRow",(function(){return zi})),r.d(e,"tsvFormatValue",(function(){return Hi})),r.d(e,"autoType",(function(){return Ui})),r.d(e,"easeLinear",(function(){return qi})),r.d(e,"easeQuad",(function(){return Yi})),r.d(e,"easeQuadIn",(function(){return Vi})),r.d(e,"easeQuadOut",(function(){return Gi})),r.d(e,"easeQuadInOut",(function(){return Yi})),r.d(e,"easeCubic",(function(){return cr})),r.d(e,"easeCubicIn",(function(){return ar})),r.d(e,"easeCubicOut",(function(){return sr})),r.d(e,"easeCubicInOut",(function(){return cr})),r.d(e,"easePoly",(function(){return Ki})),r.d(e,"easePolyIn",(function(){return Xi})),r.d(e,"easePolyOut",(function(){return $i})),r.d(e,"easePolyInOut",(function(){return Ki})),r.d(e,"easeSin",(function(){return eo})),r.d(e,"easeSinIn",(function(){return Qi})),r.d(e,"easeSinOut",(function(){return to})),r.d(e,"easeSinInOut",(function(){return eo})),r.d(e,"easeExp",(function(){return oo})),r.d(e,"easeExpIn",(function(){return no})),r.d(e,"easeExpOut",(function(){return io})),r.d(e,"easeExpInOut",(function(){return oo})),r.d(e,"easeCircle",(function(){return co})),r.d(e,"easeCircleIn",(function(){return ao})),r.d(e,"easeCircleOut",(function(){return so})),r.d(e,"easeCircleInOut",(function(){return co})),r.d(e,"easeBounce",(function(){return lo})),r.d(e,"easeBounceIn",(function(){return uo})),r.d(e,"easeBounceOut",(function(){return lo})),r.d(e,"easeBounceInOut",(function(){return fo})),r.d(e,"easeBack",(function(){return mo})),r.d(e,"easeBackIn",(function(){return ho})),r.d(e,"easeBackOut",(function(){return po})),r.d(e,"easeBackInOut",(function(){return mo})),r.d(e,"easeElastic",(function(){return go})),r.d(e,"easeElasticIn",(function(){return vo})),r.d(e,"easeElasticOut",(function(){return go})),r.d(e,"easeElasticInOut",(function(){return yo})),r.d(e,"blob",(function(){return xo})),r.d(e,"buffer",(function(){return _o})),r.d(e,"dsv",(function(){return Mo})),r.d(e,"csv",(function(){return Co})),r.d(e,"tsv",(function(){return jo})),r.d(e,"image",(function(){return Ao})),r.d(e,"json",(function(){return Po})),r.d(e,"text",(function(){return ko})),r.d(e,"xml",(function(){return Ro})),r.d(e,"html",(function(){return Lo})),r.d(e,"svg",(function(){return Io})),r.d(e,"forceCenter",(function(){return No})),r.d(e,"forceCollide",(function(){return Ko})),r.d(e,"forceLink",(function(){return Qo})),r.d(e,"forceManyBody",(function(){return ia})),r.d(e,"forceRadial",(function(){return oa})),r.d(e,"forceSimulation",(function(){return na})),r.d(e,"forceX",(function(){return aa})),r.d(e,"forceY",(function(){return sa})),r.d(e,"formatDefaultLocale",(function(){return ca.c})),r.d(e,"format",(function(){return ca.b})),r.d(e,"formatPrefix",(function(){return ca.e})),r.d(e,"formatLocale",(function(){return ca.d})),r.d(e,"formatSpecifier",(function(){return ca.f})),r.d(e,"FormatSpecifier",(function(){return ca.a})),r.d(e,"precisionFixed",(function(){return ca.g})),r.d(e,"precisionPrefix",(function(){return ca.h})),r.d(e,"precisionRound",(function(){return ca.i})),r.d(e,"geoArea",(function(){return cs})),r.d(e,"geoBounds",(function(){return Ws})),r.d(e,"geoCentroid",(function(){return ec})),r.d(e,"geoCircle",(function(){return hc})),r.d(e,"geoClipAntimeridian",(function(){return Sc})),r.d(e,"geoClipCircle",(function(){return kc})),r.d(e,"geoClipExtent",(function(){return Tc})),r.d(e,"geoClipRectangle",(function(){return Ec})),r.d(e,"geoContains",(function(){return Xc})),r.d(e,"geoDistance",(function(){return Bc})),r.d(e,"geoGraticule",(function(){return Zc})),r.d(e,"geoGraticule10",(function(){return Jc})),r.d(e,"geoInterpolate",(function(){return nu})),r.d(e,"geoLength",(function(){return Ic})),r.d(e,"geoPath",(function(){return el})),r.d(e,"geoAlbers",(function(){return yl})),r.d(e,"geoAlbersUsa",(function(){return wl})),r.d(e,"geoAzimuthalEqualArea",(function(){return Sl})),r.d(e,"geoAzimuthalEqualAreaRaw",(function(){return _l})),r.d(e,"geoAzimuthalEquidistant",(function(){return El})),r.d(e,"geoAzimuthalEquidistantRaw",(function(){return kl})),r.d(e,"geoConicConformal",(function(){return Pl})),r.d(e,"geoConicConformalRaw",(function(){return Tl})),r.d(e,"geoConicEqualArea",(function(){return gl})),r.d(e,"geoConicEqualAreaRaw",(function(){return vl})),r.d(e,"geoConicEquidistant",(function(){return Il})),r.d(e,"geoConicEquidistantRaw",(function(){return Ll})),r.d(e,"geoEqualEarth",(function(){return Wl})),r.d(e,"geoEqualEarthRaw",(function(){return Ul})),r.d(e,"geoEquirectangular",(function(){return Rl})),r.d(e,"geoEquirectangularRaw",(function(){return Dl})),r.d(e,"geoGnomonic",(function(){return Vl})),r.d(e,"geoGnomonicRaw",(function(){return ql})),r.d(e,"geoIdentity",(function(){return Gl})),r.d(e,"geoProjection",(function(){return pl})),r.d(e,"geoProjectionMutator",(function(){return ml})),r.d(e,"geoMercator",(function(){return Cl})),r.d(e,"geoMercatorRaw",(function(){return Ml})),r.d(e,"geoNaturalEarth1",(function(){return Xl})),r.d(e,"geoNaturalEarth1Raw",(function(){return Yl})),r.d(e,"geoOrthographic",(function(){return Kl})),r.d(e,"geoOrthographicRaw",(function(){return $l})),r.d(e,"geoStereographic",(function(){return Jl})),r.d(e,"geoStereographicRaw",(function(){return Zl})),r.d(e,"geoTransverseMercator",(function(){return tf})),r.d(e,"geoTransverseMercatorRaw",(function(){return Ql})),r.d(e,"geoRotation",(function(){return uc})),r.d(e,"geoStream",(function(){return Wa})),r.d(e,"geoTransform",(function(){return rl})),r.d(e,"cluster",(function(){return of})),r.d(e,"hierarchy",(function(){return uf})),r.d(e,"pack",(function(){return Rf})),r.d(e,"packSiblings",(function(){return Cf})),r.d(e,"packEnclose",(function(){return mf})),r.d(e,"partition",(function(){return zf})),r.d(e,"stratify",(function(){return Vf})),r.d(e,"tree",(function(){return Jf})),r.d(e,"treemap",(function(){return nh})),r.d(e,"treemapBinary",(function(){return ih})),r.d(e,"treemapDice",(function(){return Bf})),r.d(e,"treemapSlice",(function(){return Qf})),r.d(e,"treemapSliceDice",(function(){return oh})),r.d(e,"treemapSquarify",(function(){return rh})),r.d(e,"treemapResquarify",(function(){return ah})),r.d(e,"interpolate",(function(){return sh.a})),r.d(e,"interpolateArray",(function(){return sh.b})),r.d(e,"interpolateBasis",(function(){return sh.c})),r.d(e,"interpolateBasisClosed",(function(){return sh.d})),r.d(e,"interpolateDate",(function(){return sh.g})),r.d(e,"interpolateDiscrete",(function(){return sh.h})),r.d(e,"interpolateHue",(function(){return sh.m})),r.d(e,"interpolateNumber",(function(){return sh.o})),r.d(e,"interpolateNumberArray",(function(){return sh.p})),r.d(e,"interpolateObject",(function(){return sh.q})),r.d(e,"interpolateRound",(function(){return sh.u})),r.d(e,"interpolateString",(function(){return sh.v})),r.d(e,"interpolateTransformCss",(function(){return sh.w})),r.d(e,"interpolateTransformSvg",(function(){return sh.x})),r.d(e,"interpolateZoom",(function(){return sh.y})),r.d(e,"interpolateRgb",(function(){return sh.r})),r.d(e,"interpolateRgbBasis",(function(){return sh.s})),r.d(e,"interpolateRgbBasisClosed",(function(){return sh.t})),r.d(e,"interpolateHsl",(function(){return sh.k})),r.d(e,"interpolateHslLong",(function(){return sh.l})),r.d(e,"interpolateLab",(function(){return sh.n})),r.d(e,"interpolateHcl",(function(){return sh.i})),r.d(e,"interpolateHclLong",(function(){return sh.j})),r.d(e,"interpolateCubehelix",(function(){return sh.e})),r.d(e,"interpolateCubehelixLong",(function(){return sh.f})),r.d(e,"piecewise",(function(){return sh.z})),r.d(e,"quantize",(function(){return sh.A})),r.d(e,"path",(function(){return ch.a})),r.d(e,"polygonArea",(function(){return uh})),r.d(e,"polygonCentroid",(function(){return lh})),r.d(e,"polygonHull",(function(){return dh})),r.d(e,"polygonContains",(function(){return ph})),r.d(e,"polygonLength",(function(){return mh})),r.d(e,"quadtree",(function(){return Uo})),r.d(e,"randomUniform",(function(){return vh})),r.d(e,"randomInt",(function(){return gh})),r.d(e,"randomNormal",(function(){return yh})),r.d(e,"randomLogNormal",(function(){return wh})),r.d(e,"randomBates",(function(){return Oh})),r.d(e,"randomIrwinHall",(function(){return xh})),r.d(e,"randomExponential",(function(){return _h})),r.d(e,"randomPareto",(function(){return Sh})),r.d(e,"randomBernoulli",(function(){return kh})),r.d(e,"randomGeometric",(function(){return Eh})),r.d(e,"randomBinomial",(function(){return jh})),r.d(e,"randomGamma",(function(){return Mh})),r.d(e,"randomBeta",(function(){return Ch})),r.d(e,"randomWeibull",(function(){return Ah})),r.d(e,"randomCauchy",(function(){return Th})),r.d(e,"randomLogistic",(function(){return Ph})),r.d(e,"randomPoisson",(function(){return Dh})),r.d(e,"randomLcg",(function(){return Lh})),r.d(e,"scaleBand",(function(){return Ih.scaleBand})),r.d(e,"scalePoint",(function(){return Ih.scalePoint})),r.d(e,"scaleIdentity",(function(){return Ih.scaleIdentity})),r.d(e,"scaleLinear",(function(){return Ih.scaleLinear})),r.d(e,"scaleLog",(function(){return Ih.scaleLog})),r.d(e,"scaleSymlog",(function(){return Ih.scaleSymlog})),r.d(e,"scaleOrdinal",(function(){return Ih.scaleOrdinal})),r.d(e,"scaleImplicit",(function(){return Ih.scaleImplicit})),r.d(e,"scalePow",(function(){return Ih.scalePow})),r.d(e,"scaleSqrt",(function(){return Ih.scaleSqrt})),r.d(e,"scaleRadial",(function(){return Ih.scaleRadial})),r.d(e,"scaleQuantile",(function(){return Ih.scaleQuantile})),r.d(e,"scaleQuantize",(function(){return Ih.scaleQuantize})),r.d(e,"scaleThreshold",(function(){return Ih.scaleThreshold})),r.d(e,"scaleTime",(function(){return Ih.scaleTime})),r.d(e,"scaleUtc",(function(){return Ih.scaleUtc})),r.d(e,"scaleSequential",(function(){return Ih.scaleSequential})),r.d(e,"scaleSequentialLog",(function(){return Ih.scaleSequentialLog})),r.d(e,"scaleSequentialPow",(function(){return Ih.scaleSequentialPow})),r.d(e,"scaleSequentialSqrt",(function(){return Ih.scaleSequentialSqrt})),r.d(e,"scaleSequentialSymlog",(function(){return Ih.scaleSequentialSymlog})),r.d(e,"scaleSequentialQuantile",(function(){return Ih.scaleSequentialQuantile})),r.d(e,"scaleDiverging",(function(){return Ih.scaleDiverging})),r.d(e,"scaleDivergingLog",(function(){return Ih.scaleDivergingLog})),r.d(e,"scaleDivergingPow",(function(){return Ih.scaleDivergingPow})),r.d(e,"scaleDivergingSqrt",(function(){return Ih.scaleDivergingSqrt})),r.d(e,"scaleDivergingSymlog",(function(){return Ih.scaleDivergingSymlog})),r.d(e,"tickFormat",(function(){return Ih.tickFormat})),r.d(e,"schemeCategory10",(function(){return Fh})),r.d(e,"schemeAccent",(function(){return Bh})),r.d(e,"schemeDark2",(function(){return zh})),r.d(e,"schemePaired",(function(){return Hh})),r.d(e,"schemePastel1",(function(){return Uh})),r.d(e,"schemePastel2",(function(){return Wh})),r.d(e,"schemeSet1",(function(){return qh})),r.d(e,"schemeSet2",(function(){return Vh})),r.d(e,"schemeSet3",(function(){return Gh})),r.d(e,"schemeTableau10",(function(){return Yh})),r.d(e,"interpolateBrBG",(function(){return Kh})),r.d(e,"schemeBrBG",(function(){return $h})),r.d(e,"interpolatePRGn",(function(){return Jh})),r.d(e,"schemePRGn",(function(){return Zh})),r.d(e,"interpolatePiYG",(function(){return td})),r.d(e,"schemePiYG",(function(){return Qh})),r.d(e,"interpolatePuOr",(function(){return rd})),r.d(e,"schemePuOr",(function(){return ed})),r.d(e,"interpolateRdBu",(function(){return id})),r.d(e,"schemeRdBu",(function(){return nd})),r.d(e,"interpolateRdGy",(function(){return ad})),r.d(e,"schemeRdGy",(function(){return od})),r.d(e,"interpolateRdYlBu",(function(){return cd})),r.d(e,"schemeRdYlBu",(function(){return sd})),r.d(e,"interpolateRdYlGn",(function(){return ld})),r.d(e,"schemeRdYlGn",(function(){return ud})),r.d(e,"interpolateSpectral",(function(){return hd})),r.d(e,"schemeSpectral",(function(){return fd})),r.d(e,"interpolateBuGn",(function(){return pd})),r.d(e,"schemeBuGn",(function(){return dd})),r.d(e,"interpolateBuPu",(function(){return bd})),r.d(e,"schemeBuPu",(function(){return md})),r.d(e,"interpolateGnBu",(function(){return gd})),r.d(e,"schemeGnBu",(function(){return vd})),r.d(e,"interpolateOrRd",(function(){return wd})),r.d(e,"schemeOrRd",(function(){return yd})),r.d(e,"interpolatePuBuGn",(function(){return Od})),r.d(e,"schemePuBuGn",(function(){return xd})),r.d(e,"interpolatePuBu",(function(){return Sd})),r.d(e,"schemePuBu",(function(){return _d})),r.d(e,"interpolatePuRd",(function(){return Ed})),r.d(e,"schemePuRd",(function(){return kd})),r.d(e,"interpolateRdPu",(function(){return Cd})),r.d(e,"schemeRdPu",(function(){return Md})),r.d(e,"interpolateYlGnBu",(function(){return Ad})),r.d(e,"schemeYlGnBu",(function(){return jd})),r.d(e,"interpolateYlGn",(function(){return Pd})),r.d(e,"schemeYlGn",(function(){return Td})),r.d(e,"interpolateYlOrBr",(function(){return Rd})),r.d(e,"schemeYlOrBr",(function(){return Dd})),r.d(e,"interpolateYlOrRd",(function(){return Id})),r.d(e,"schemeYlOrRd",(function(){return Ld})),r.d(e,"interpolateBlues",(function(){return Fd})),r.d(e,"schemeBlues",(function(){return Nd})),r.d(e,"interpolateGreens",(function(){return zd})),r.d(e,"schemeGreens",(function(){return Bd})),r.d(e,"interpolateGreys",(function(){return Ud})),r.d(e,"schemeGreys",(function(){return Hd})),r.d(e,"interpolatePurples",(function(){return qd})),r.d(e,"schemePurples",(function(){return Wd})),r.d(e,"interpolateReds",(function(){return Gd})),r.d(e,"schemeReds",(function(){return Vd})),r.d(e,"interpolateOranges",(function(){return Xd})),r.d(e,"schemeOranges",(function(){return Yd})),r.d(e,"interpolateCividis",(function(){return $d})),r.d(e,"interpolateCubehelixDefault",(function(){return Jd})),r.d(e,"interpolateRainbow",(function(){return rp})),r.d(e,"interpolateWarm",(function(){return Qd})),r.d(e,"interpolateCool",(function(){return tp})),r.d(e,"interpolateSinebow",(function(){return ap})),r.d(e,"interpolateTurbo",(function(){return sp})),r.d(e,"interpolateViridis",(function(){return up})),r.d(e,"interpolateMagma",(function(){return lp})),r.d(e,"interpolateInferno",(function(){return fp})),r.d(e,"interpolatePlasma",(function(){return hp})),r.d(e,"create",(function(){return dp})),r.d(e,"creator",(function(){return kt})),r.d(e,"local",(function(){return mp})),r.d(e,"matcher",(function(){return T})),r.d(e,"namespace",(function(){return G})),r.d(e,"namespaces",(function(){return V})),r.d(e,"pointer",(function(){return Qt})),r.d(e,"pointers",(function(){return vp})),r.d(e,"select",(function(){return qt})),r.d(e,"selectAll",(function(){return gp})),r.d(e,"selection",(function(){return Wt})),r.d(e,"selector",(function(){return M})),r.d(e,"selectorAll",(function(){return A})),r.d(e,"style",(function(){return nt})),r.d(e,"window",(function(){return Q})),r.d(e,"arc",(function(){return yp.a})),r.d(e,"area",(function(){return yp.b})),r.d(e,"line",(function(){return yp.x})),r.d(e,"pie",(function(){return yp.C})),r.d(e,"areaRadial",(function(){return yp.c})),r.d(e,"radialArea",(function(){return yp.E})),r.d(e,"lineRadial",(function(){return yp.y})),r.d(e,"radialLine",(function(){return yp.F})),r.d(e,"pointRadial",(function(){return yp.D})),r.d(e,"linkHorizontal",(function(){return yp.z})),r.d(e,"linkVertical",(function(){return yp.B})),r.d(e,"linkRadial",(function(){return yp.A})),r.d(e,"symbol",(function(){return yp.S})),r.d(e,"symbols",(function(){return yp.ab})),r.d(e,"symbolCircle",(function(){return yp.T})),r.d(e,"symbolCross",(function(){return yp.U})),r.d(e,"symbolDiamond",(function(){return yp.V})),r.d(e,"symbolSquare",(function(){return yp.W})),r.d(e,"symbolStar",(function(){return yp.X})),r.d(e,"symbolTriangle",(function(){return yp.Y})),r.d(e,"symbolWye",(function(){return yp.Z})),r.d(e,"curveBasisClosed",(function(){return yp.e})),r.d(e,"curveBasisOpen",(function(){return yp.f})),r.d(e,"curveBasis",(function(){return yp.d})),r.d(e,"curveBumpX",(function(){return yp.g})),r.d(e,"curveBumpY",(function(){return yp.h})),r.d(e,"curveBundle",(function(){return yp.i})),r.d(e,"curveCardinalClosed",(function(){return yp.k})),r.d(e,"curveCardinalOpen",(function(){return yp.l})),r.d(e,"curveCardinal",(function(){return yp.j})),r.d(e,"curveCatmullRomClosed",(function(){return yp.n})),r.d(e,"curveCatmullRomOpen",(function(){return yp.o})),r.d(e,"curveCatmullRom",(function(){return yp.m})),r.d(e,"curveLinearClosed",(function(){return yp.q})),r.d(e,"curveLinear",(function(){return yp.p})),r.d(e,"curveMonotoneX",(function(){return yp.r})),r.d(e,"curveMonotoneY",(function(){return yp.s})),r.d(e,"curveNatural",(function(){return yp.t})),r.d(e,"curveStep",(function(){return yp.u})),r.d(e,"curveStepAfter",(function(){return yp.v})),r.d(e,"curveStepBefore",(function(){return yp.w})),r.d(e,"stack",(function(){return yp.G})),r.d(e,"stackOffsetExpand",(function(){return yp.I})),r.d(e,"stackOffsetDiverging",(function(){return yp.H})),r.d(e,"stackOffsetNone",(function(){return yp.J})),r.d(e,"stackOffsetSilhouette",(function(){return yp.K})),r.d(e,"stackOffsetWiggle",(function(){return yp.L})),r.d(e,"stackOrderAppearance",(function(){return yp.M})),r.d(e,"stackOrderAscending",(function(){return yp.N})),r.d(e,"stackOrderDescending",(function(){return yp.O})),r.d(e,"stackOrderInsideOut",(function(){return yp.P})),r.d(e,"stackOrderNone",(function(){return yp.Q})),r.d(e,"stackOrderReverse",(function(){return yp.R})),r.d(e,"timeInterval",(function(){return wp.g})),r.d(e,"timeMillisecond",(function(){return wp.h})),r.d(e,"timeMilliseconds",(function(){return wp.i})),r.d(e,"utcMillisecond",(function(){return wp.N})),r.d(e,"utcMilliseconds",(function(){return wp.O})),r.d(e,"timeSecond",(function(){return wp.r})),r.d(e,"timeSeconds",(function(){return wp.s})),r.d(e,"utcSecond",(function(){return wp.X})),r.d(e,"utcSeconds",(function(){return wp.Y})),r.d(e,"timeMinute",(function(){return wp.j})),r.d(e,"timeMinutes",(function(){return wp.k})),r.d(e,"timeHour",(function(){return wp.e})),r.d(e,"timeHours",(function(){return wp.f})),r.d(e,"timeDay",(function(){return wp.a})),r.d(e,"timeDays",(function(){return wp.b})),r.d(e,"timeWeek",(function(){return wp.D})),r.d(e,"timeWeeks",(function(){return wp.E})),r.d(e,"timeSunday",(function(){return wp.t})),r.d(e,"timeSundays",(function(){return wp.u})),r.d(e,"timeMonday",(function(){return wp.l})),r.d(e,"timeMondays",(function(){return wp.m})),r.d(e,"timeTuesday",(function(){return wp.z})),r.d(e,"timeTuesdays",(function(){return wp.A})),r.d(e,"timeWednesday",(function(){return wp.B})),r.d(e,"timeWednesdays",(function(){return wp.C})),r.d(e,"timeThursday",(function(){return wp.v})),r.d(e,"timeThursdays",(function(){return wp.w})),r.d(e,"timeFriday",(function(){return wp.c})),r.d(e,"timeFridays",(function(){return wp.d})),r.d(e,"timeSaturday",(function(){return wp.p})),r.d(e,"timeSaturdays",(function(){return wp.q})),r.d(e,"timeMonth",(function(){return wp.n})),r.d(e,"timeMonths",(function(){return wp.o})),r.d(e,"timeYear",(function(){return wp.F})),r.d(e,"timeYears",(function(){return wp.G})),r.d(e,"utcMinute",(function(){return wp.P})),r.d(e,"utcMinutes",(function(){return wp.Q})),r.d(e,"utcHour",(function(){return wp.L})),r.d(e,"utcHours",(function(){return wp.M})),r.d(e,"utcDay",(function(){return wp.H})),r.d(e,"utcDays",(function(){return wp.I})),r.d(e,"utcWeek",(function(){return wp.jb})),r.d(e,"utcWeeks",(function(){return wp.kb})),r.d(e,"utcSunday",(function(){return wp.Z})),r.d(e,"utcSundays",(function(){return wp.ab})),r.d(e,"utcMonday",(function(){return wp.R})),r.d(e,"utcMondays",(function(){return wp.S})),r.d(e,"utcTuesday",(function(){return wp.fb})),r.d(e,"utcTuesdays",(function(){return wp.gb})),r.d(e,"utcWednesday",(function(){return wp.hb})),r.d(e,"utcWednesdays",(function(){return wp.ib})),r.d(e,"utcThursday",(function(){return wp.bb})),r.d(e,"utcThursdays",(function(){return wp.cb})),r.d(e,"utcFriday",(function(){return wp.J})),r.d(e,"utcFridays",(function(){return wp.K})),r.d(e,"utcSaturday",(function(){return wp.V})),r.d(e,"utcSaturdays",(function(){return wp.W})),r.d(e,"utcMonth",(function(){return wp.T})),r.d(e,"utcMonths",(function(){return wp.U})),r.d(e,"utcYear",(function(){return wp.lb})),r.d(e,"utcYears",(function(){return wp.mb})),r.d(e,"utcTicks",(function(){return wp.eb})),r.d(e,"utcTickInterval",(function(){return wp.db})),r.d(e,"timeTicks",(function(){return wp.y})),r.d(e,"timeTickInterval",(function(){return wp.x})),r.d(e,"timeFormatDefaultLocale",(function(){return xp.d})),r.d(e,"timeFormat",(function(){return xp.c})),r.d(e,"timeParse",(function(){return xp.f})),r.d(e,"utcFormat",(function(){return xp.g})),r.d(e,"utcParse",(function(){return xp.h})),r.d(e,"timeFormatLocale",(function(){return xp.e})),r.d(e,"isoFormat",(function(){return xp.a})),r.d(e,"isoParse",(function(){return xp.b})),r.d(e,"now",(function(){return ce})),r.d(e,"timer",(function(){return fe})),r.d(e,"timerFlush",(function(){return he})),r.d(e,"timeout",(function(){return be})),r.d(e,"interval",(function(){return Op})),r.d(e,"transition",(function(){return nr})),r.d(e,"active",(function(){return hr})),r.d(e,"interrupt",(function(){return _e})),r.d(e,"zoom",(function(){return Np})),r.d(e,"zoomTransform",(function(){return Cp})),r.d(e,"zoomIdentity",(function(){return Mp}));var n="6.7.0",i=r(116),o=Array.prototype.slice,a=function(t){return t};function s(t){return"translate("+t+",0)"}function c(t){return"translate(0,"+t+")"}function u(t){return function(e){return+t(e)}}function l(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),function(r){return+t(r)+e}}function f(){return!this.__axis}function h(t,e){var r=[],n=null,i=null,h=6,d=6,p=3,m="undefined"!==typeof window&&window.devicePixelRatio>1?0:.5,b=1===t||4===t?-1:1,v=4===t||2===t?"x":"y",g=1===t||3===t?s:c;function y(o){var s=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,c=null==i?e.tickFormat?e.tickFormat.apply(e,r):a:i,y=Math.max(h,0)+p,w=e.range(),x=+w[0]+m,O=+w[w.length-1]+m,_=(e.bandwidth?l:u)(e.copy(),m),S=o.selection?o.selection():o,k=S.selectAll(".domain").data([null]),E=S.selectAll(".tick").data(s,e).order(),M=E.exit(),C=E.enter().append("g").attr("class","tick"),j=E.select("line"),A=E.select("text");k=k.merge(k.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),E=E.merge(C),j=j.merge(C.append("line").attr("stroke","currentColor").attr(v+"2",b*h)),A=A.merge(C.append("text").attr("fill","currentColor").attr(v,b*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==S&&(k=k.transition(o),E=E.transition(o),j=j.transition(o),A=A.transition(o),M=M.transition(o).attr("opacity",1e-6).attr("transform",(function(t){return isFinite(t=_(t))?g(t+m):this.getAttribute("transform")})),C.attr("opacity",1e-6).attr("transform",(function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:_(t))+m)}))),M.remove(),k.attr("d",4===t||2===t?d?"M"+b*d+","+x+"H"+m+"V"+O+"H"+b*d:"M"+m+","+x+"V"+O:d?"M"+x+","+b*d+"V"+m+"H"+O+"V"+b*d:"M"+x+","+m+"H"+O),E.attr("opacity",1).attr("transform",(function(t){return g(_(t)+m)})),j.attr(v+"2",b*h),A.attr(v,b*y).text(c),S.filter(f).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),S.each((function(){this.__axis=_}))}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return r=o.call(arguments),y},y.tickArguments=function(t){return arguments.length?(r=null==t?[]:o.call(t),y):r.slice()},y.tickValues=function(t){return arguments.length?(n=null==t?null:o.call(t),y):n&&n.slice()},y.tickFormat=function(t){return arguments.length?(i=t,y):i},y.tickSize=function(t){return arguments.length?(h=d=+t,y):h},y.tickSizeInner=function(t){return arguments.length?(h=+t,y):h},y.tickSizeOuter=function(t){return arguments.length?(d=+t,y):d},y.tickPadding=function(t){return arguments.length?(p=+t,y):p},y.offset=function(t){return arguments.length?(m=+t,y):m},y}function d(t){return h(1,t)}function p(t){return h(2,t)}function m(t){return h(3,t)}function b(t){return h(4,t)}var v=r(29),g={value:function(){}};function y(){for(var t,e=0,r=arguments.length,n={};e<r;++e){if(!(t=arguments[e]+"")||t in n||/[\s.]/.test(t))throw new Error("illegal type: "+t);n[t]=[]}return new w(n)}function w(t){this._=t}function x(t,e){return t.trim().split(/^|\s+/).map((function(t){var r="",n=t.indexOf(".");if(n>=0&&(r=t.slice(n+1),t=t.slice(0,n)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:r}}))}function O(t,e){for(var r,n=0,i=t.length;n<i;++n)if((r=t[n]).name===e)return r.value}function _(t,e,r){for(var n=0,i=t.length;n<i;++n)if(t[n].name===e){t[n]=g,t=t.slice(0,n).concat(t.slice(n+1));break}return null!=r&&t.push({name:e,value:r}),t}w.prototype=y.prototype={constructor:w,on:function(t,e){var r,n=this._,i=x(t+"",n),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(r=(t=i[o]).type)n[r]=_(n[r],t.name,e);else if(null==e)for(r in n)n[r]=_(n[r],t.name,null);return this}for(;++o<a;)if((r=(t=i[o]).type)&&(r=O(n[r],t.name)))return r},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new w(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var r,n,i=new Array(r),o=0;o<r;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,r=(n=this._[t]).length;o<r;++o)n[o].value.apply(e,i)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var n=this._[t],i=0,o=n.length;i<o;++i)n[i].value.apply(e,r)}};var S=y,k=r(1);function E(){}var M=function(t){return null==t?E:function(){return this.querySelector(t)}},C=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)};function j(){return[]}var A=function(t){return null==t?j:function(){return this.querySelectorAll(t)}};var T=function(t){return function(){return this.matches(t)}};function P(t){return function(e){return e.matches(t)}}var D=Array.prototype.find;function R(){return this.firstElementChild}var L=Array.prototype.filter;function I(){return this.children}var N=function(t){return new Array(t.length)};function F(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}F.prototype={constructor:F,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var B=function(t){return function(){return t}};function z(t,e,r,n,i,o){for(var a,s=0,c=e.length,u=o.length;s<u;++s)(a=e[s])?(a.__data__=o[s],n[s]=a):r[s]=new F(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function H(t,e,r,n,i,o,a){var s,c,u,l=new Map,f=e.length,h=o.length,d=new Array(f);for(s=0;s<f;++s)(c=e[s])&&(d[s]=u=a.call(c,c.__data__,s,e)+"",l.has(u)?i[s]=c:l.set(u,c));for(s=0;s<h;++s)u=a.call(t,o[s],s,o)+"",(c=l.get(u))?(n[s]=c,c.__data__=o[s],l.delete(u)):r[s]=new F(t,o[s]);for(s=0;s<f;++s)(c=e[s])&&l.get(d[s])===c&&(i[s]=c)}function U(t){return t.__data__}function W(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var q="http://www.w3.org/1999/xhtml",V={svg:"http://www.w3.org/2000/svg",xhtml:q,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},G=function(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),V.hasOwnProperty(e)?{space:V[e],local:t}:t};function Y(t){return function(){this.removeAttribute(t)}}function X(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $(t,e){return function(){this.setAttribute(t,e)}}function K(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Z(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}function J(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}var Q=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function tt(t){return function(){this.style.removeProperty(t)}}function et(t,e,r){return function(){this.style.setProperty(t,e,r)}}function rt(t,e,r){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}function nt(t,e){return t.style.getPropertyValue(e)||Q(t).getComputedStyle(t,null).getPropertyValue(e)}function it(t){return function(){delete this[t]}}function ot(t,e){return function(){this[t]=e}}function at(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}function st(t){return t.trim().split(/^|\s+/)}function ct(t){return t.classList||new ut(t)}function ut(t){this._node=t,this._names=st(t.getAttribute("class")||"")}function lt(t,e){for(var r=ct(t),n=-1,i=e.length;++n<i;)r.add(e[n])}function ft(t,e){for(var r=ct(t),n=-1,i=e.length;++n<i;)r.remove(e[n])}function ht(t){return function(){lt(this,t)}}function dt(t){return function(){ft(this,t)}}function pt(t,e){return function(){(e.apply(this,arguments)?lt:ft)(this,t)}}ut.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function mt(){this.textContent=""}function bt(t){return function(){this.textContent=t}}function vt(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function gt(){this.innerHTML=""}function yt(t){return function(){this.innerHTML=t}}function wt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function xt(){this.nextSibling&&this.parentNode.appendChild(this)}function Ot(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function _t(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===q&&e.documentElement.namespaceURI===q?e.createElement(t):e.createElementNS(r,t)}}function St(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var kt=function(t){var e=G(t);return(e.local?St:_t)(e)};function Et(){return null}function Mt(){var t=this.parentNode;t&&t.removeChild(this)}function Ct(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function jt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function At(t){return t.trim().split(/^|\s+/).map((function(t){var e="",r=t.indexOf(".");return r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}))}function Tt(t){return function(){var e=this.__on;if(e){for(var r,n=0,i=-1,o=e.length;n<o;++n)r=e[n],t.type&&r.type!==t.type||r.name!==t.name?e[++i]=r:this.removeEventListener(r.type,r.listener,r.options);++i?e.length=i:delete this.__on}}}function Pt(t,e,r){return function(){var n,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((n=i[a]).type===t.type&&n.name===t.name)return this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=o,n.options=r),void(n.value=e);this.addEventListener(t.type,o,r),n={type:t.type,name:t.name,value:e,listener:o,options:r},i?i.push(n):this.__on=[n]}}function Dt(t,e,r){var n=Q(t),i=n.CustomEvent;"function"===typeof i?i=new i(e,r):(i=n.document.createEvent("Event"),r?(i.initEvent(e,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function Rt(t,e){return function(){return Dt(this,t,e)}}function Lt(t,e){return function(){return Dt(this,t,e.apply(this,arguments))}}var It=r(12),Nt=r.n(It),Ft=Nt.a.mark(Bt);function Bt(){var t,e,r,n,i,o,a;return Nt.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:t=this._groups,e=0,r=t.length;case 1:if(!(e<r)){s.next=13;break}n=t[e],i=0,o=n.length;case 3:if(!(i<o)){s.next=10;break}if(!(a=n[i])){s.next=7;break}return s.next=7,a;case 7:++i,s.next=3;break;case 10:++e,s.next=1;break;case 13:case"end":return s.stop()}}),Ft,this)}var zt=[null];function Ht(t,e){this._groups=t,this._parents=e}function Ut(){return new Ht([[document.documentElement]],zt)}Ht.prototype=Ut.prototype=Object(k.a)({constructor:Ht,select:function(t){"function"!==typeof t&&(t=M(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var o,a,s=e[i],c=s.length,u=n[i]=new Array(c),l=0;l<c;++l)(o=s[l])&&(a=t.call(o,o.__data__,l,s))&&("__data__"in o&&(a.__data__=o.__data__),u[l]=a);return new Ht(n,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){var e=t.apply(this,arguments);return null==e?[]:C(e)}}(t):A(t);for(var e=this._groups,r=e.length,n=[],i=[],o=0;o<r;++o)for(var a,s=e[o],c=s.length,u=0;u<c;++u)(a=s[u])&&(n.push(t.call(a,a.__data__,u,s)),i.push(a));return new Ht(n,i)},selectChild:function(t){return this.select(null==t?R:function(t){return function(){return D.call(this.children,t)}}("function"===typeof t?t:P(t)))},selectChildren:function(t){return this.selectAll(null==t?I:function(t){return function(){return L.call(this.children,t)}}("function"===typeof t?t:P(t)))},filter:function(t){"function"!==typeof t&&(t=T(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var o,a=e[i],s=a.length,c=n[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new Ht(n,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,U);var r=e?H:z,n=this._parents,i=this._groups;"function"!==typeof t&&(t=B(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),u=0;u<o;++u){var l=n[u],f=i[u],h=f.length,d=C(t.call(l,l&&l.__data__,u,n)),p=d.length,m=s[u]=new Array(p),b=a[u]=new Array(p),v=c[u]=new Array(h);r(l,f,m,b,v,d,e);for(var g,y,w=0,x=0;w<p;++w)if(g=m[w]){for(w>=x&&(x=w+1);!(y=b[x])&&++x<p;);g._next=y||null}}return(a=new Ht(a,n))._enter=s,a._exit=c,a},enter:function(){return new Ht(this._enter||this._groups.map(N),this._parents)},exit:function(){return new Ht(this._exit||this._groups.map(N),this._parents)},join:function(t,e,r){var n=this.enter(),i=this,o=this.exit();return n="function"===typeof t?t(n):n.append(t+""),null!=e&&(i=e(i)),null==r?o.remove():r(o),n&&i?n.merge(i).order():i},merge:function(t){if(!(t instanceof Ht))throw new Error("invalid merge");for(var e=this._groups,r=t._groups,n=e.length,i=r.length,o=Math.min(n,i),a=new Array(n),s=0;s<o;++s)for(var c,u=e[s],l=r[s],f=u.length,h=a[s]=new Array(f),d=0;d<f;++d)(c=u[d]||l[d])&&(h[d]=c);for(;s<n;++s)a[s]=e[s];return new Ht(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var n,i=t[e],o=i.length-1,a=i[o];--o>=0;)(n=i[o])&&(a&&4^n.compareDocumentPosition(a)&&a.parentNode.insertBefore(n,a),a=n);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}t||(t=W);for(var r=this._groups,n=r.length,i=new Array(n),o=0;o<n;++o){for(var a,s=r[o],c=s.length,u=i[o]=new Array(c),l=0;l<c;++l)(a=s[l])&&(u[l]=a);u.sort(e)}return new Ht(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n=t[e],i=0,o=n.length;i<o;++i){var a=n[i];if(a)return a}return null},size:function(){var t,e=0,r=Object(v.a)(this);try{for(r.s();!(t=r.n()).done;){t.value;++e}}catch(n){r.e(n)}finally{r.f()}return e},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,r=0,n=e.length;r<n;++r)for(var i,o=e[r],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var r=G(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((null==e?r.local?X:Y:"function"===typeof e?r.local?J:Z:r.local?K:$)(r,e))},style:function(t,e,r){return arguments.length>1?this.each((null==e?tt:"function"===typeof e?rt:et)(t,e,null==r?"":r)):nt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?it:"function"===typeof e?at:ot)(t,e)):this.node()[t]},classed:function(t,e){var r=st(t+"");if(arguments.length<2){for(var n=ct(this.node()),i=-1,o=r.length;++i<o;)if(!n.contains(r[i]))return!1;return!0}return this.each(("function"===typeof e?pt:e?ht:dt)(r,e))},text:function(t){return arguments.length?this.each(null==t?mt:("function"===typeof t?vt:bt)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?gt:("function"===typeof t?wt:yt)(t)):this.node().innerHTML},raise:function(){return this.each(xt)},lower:function(){return this.each(Ot)},append:function(t){var e="function"===typeof t?t:kt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var r="function"===typeof t?t:kt(t),n=null==e?Et:"function"===typeof e?e:M(e);return this.select((function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)}))},remove:function(){return this.each(Mt)},clone:function(t){return this.select(t?jt:Ct)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,r){var n,i,o=At(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Pt:Tt,n=0;n<a;++n)this.each(s(o[n],e,r));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(n=0,c=s[u];n<a;++n)if((i=o[n]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"===typeof e?Lt:Rt)(t,e))}},Symbol.iterator,Bt);var Wt=Ut,qt=function(t){return"string"===typeof t?new Ht([[document.querySelector(t)]],[document.documentElement]):new Ht([[t]],zt)};function Vt(t){t.stopImmediatePropagation()}var Gt=function(t){t.preventDefault(),t.stopImmediatePropagation()},Yt=function(t){var e=t.document.documentElement,r=qt(t).on("dragstart.drag",Gt,!0);"onselectstart"in e?r.on("selectstart.drag",Gt,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function Xt(t,e){var r=t.document.documentElement,n=qt(t).on("dragstart.drag",null);e&&(n.on("click.drag",Gt,!0),setTimeout((function(){n.on("click.drag",null)}),0)),"onselectstart"in r?n.on("selectstart.drag",null):(r.style.MozUserSelect=r.__noselect,delete r.__noselect)}var $t,Kt,Zt=r(274),Jt=function(t){for(var e;e=t.sourceEvent;)t=e;return t},Qt=function(t,e){if(t=Jt(t),void 0===e&&(e=t.currentTarget),e){var r=e.ownerSVGElement||e;if(r.createSVGPoint){var n=r.createSVGPoint();return n.x=t.clientX,n.y=t.clientY,[(n=n.matrixTransform(e.getScreenCTM().inverse())).x,n.y]}if(e.getBoundingClientRect){var i=e.getBoundingClientRect();return[t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop]}}return[t.pageX,t.pageY]},te=0,ee=0,re=0,ne=0,ie=0,oe=0,ae="object"===typeof performance&&performance.now?performance:Date,se="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function ce(){return ie||(se(ue),ie=ae.now()+oe)}function ue(){ie=0}function le(){this._call=this._time=this._next=null}function fe(t,e,r){var n=new le;return n.restart(t,e,r),n}function he(){ce(),++te;for(var t,e=$t;e;)(t=ie-e._time)>=0&&e._call.call(null,t),e=e._next;--te}function de(){ie=(ne=ae.now())+oe,te=ee=0;try{he()}finally{te=0,function(){var t,e,r=$t,n=1/0;for(;r;)r._call?(n>r._time&&(n=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:$t=e);Kt=t,me(n)}(),ie=0}}function pe(){var t=ae.now(),e=t-ne;e>1e3&&(oe-=e,ne=t)}function me(t){te||(ee&&(ee=clearTimeout(ee)),t-ie>24?(t<1/0&&(ee=setTimeout(de,t-ae.now()-oe)),re&&(re=clearInterval(re))):(re||(ne=ae.now(),re=setInterval(pe,1e3)),te=1,se(de)))}le.prototype=fe.prototype={constructor:le,restart:function(t,e,r){if("function"!==typeof t)throw new TypeError("callback is not a function");r=(null==r?ce():+r)+(null==e?0:+e),this._next||Kt===this||(Kt?Kt._next=this:$t=this,Kt=this),this._call=t,this._time=r,me()},stop:function(){this._call&&(this._call=null,this._time=1/0,me())}};var be=function(t,e,r){var n=new le;return e=null==e?0:+e,n.restart((function(r){n.stop(),t(r+e)}),e,r),n},ve=S("start","end","cancel","interrupt"),ge=[],ye=function(t,e,r,n,i,o){var a=t.__transition;if(a){if(r in a)return}else t.__transition={};!function(t,e,r){var n,i=t.__transition;function o(c){var u,l,f,h;if(1!==r.state)return s();for(u in i)if((h=i[u]).name===r.name){if(3===h.state)return be(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=6,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[u])}if(be((function(){3===r.state&&(r.state=4,r.timer.restart(a,r.delay,r.time),a(c))})),r.state=2,r.on.call("start",t,t.__data__,r.index,r.group),2===r.state){for(r.state=3,n=new Array(f=r.tween.length),u=0,l=-1;u<f;++u)(h=r.tween[u].value.call(t,t.__data__,r.index,r.group))&&(n[++l]=h);n.length=l+1}}function a(e){for(var i=e<r.duration?r.ease.call(null,e/r.duration):(r.timer.restart(s),r.state=5,1),o=-1,a=n.length;++o<a;)n[o].call(t,i);5===r.state&&(r.on.call("end",t,t.__data__,r.index,r.group),s())}function s(){for(var n in r.state=6,r.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=r,r.timer=fe((function(t){r.state=1,r.timer.restart(o,r.delay,r.time),r.delay<=t&&o(t-r.delay)}),0,r.time)}(t,r,{name:e,index:n,group:i,on:ve,tween:ge,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})};function we(t,e){var r=Oe(t,e);if(r.state>0)throw new Error("too late; already scheduled");return r}function xe(t,e){var r=Oe(t,e);if(r.state>3)throw new Error("too late; already running");return r}function Oe(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw new Error("transition not found");return r}var _e=function(t,e){var r,n,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(r=o[i]).name===e?(n=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(n?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete o[i]):a=!1;a&&delete t.__transition}},Se=r(630);function ke(t,e){var r,n;return function(){var i=xe(this,t),o=i.tween;if(o!==r)for(var a=0,s=(n=r=o).length;a<s;++a)if(n[a].name===e){(n=n.slice()).splice(a,1);break}i.tween=n}}function Ee(t,e,r){var n,i;if("function"!==typeof r)throw new Error;return function(){var o=xe(this,t),a=o.tween;if(a!==n){i=(n=a).slice();for(var s={name:e,value:r},c=0,u=i.length;c<u;++c)if(i[c].name===e){i[c]=s;break}c===u&&i.push(s)}o.tween=i}}function Me(t,e,r){var n=t._id;return t.each((function(){var t=xe(this,n);(t.value||(t.value={}))[e]=r.apply(this,arguments)})),function(t){return Oe(t,n).value[e]}}var Ce=r(118),je=r(175),Ae=r(318),Te=r(495),Pe=function(t,e){var r;return("number"===typeof e?je.a:e instanceof Ce.e?Ae.a:(r=Object(Ce.e)(e))?(e=r,Ae.a):Te.a)(t,e)};function De(t){return function(){this.removeAttribute(t)}}function Re(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Le(t,e,r){var n,i,o=r+"";return function(){var a=this.getAttribute(t);return a===o?null:a===n?i:i=e(n=a,r)}}function Ie(t,e,r){var n,i,o=r+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===n?i:i=e(n=a,r)}}function Ne(t,e,r){var n,i,o;return function(){var a,s,c=r(this);if(null!=c)return(a=this.getAttribute(t))===(s=c+"")?null:a===n&&s===i?o:(i=s,o=e(n=a,c));this.removeAttribute(t)}}function Fe(t,e,r){var n,i,o;return function(){var a,s,c=r(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:a===n&&s===i?o:(i=s,o=e(n=a,c));this.removeAttributeNS(t.space,t.local)}}function Be(t,e){return function(r){this.setAttribute(t,e.call(this,r))}}function ze(t,e){return function(r){this.setAttributeNS(t.space,t.local,e.call(this,r))}}function He(t,e){var r,n;function i(){var i=e.apply(this,arguments);return i!==n&&(r=(n=i)&&ze(t,i)),r}return i._value=e,i}function Ue(t,e){var r,n;function i(){var i=e.apply(this,arguments);return i!==n&&(r=(n=i)&&Be(t,i)),r}return i._value=e,i}function We(t,e){return function(){we(this,t).delay=+e.apply(this,arguments)}}function qe(t,e){return e=+e,function(){we(this,t).delay=e}}function Ve(t,e){return function(){xe(this,t).duration=+e.apply(this,arguments)}}function Ge(t,e){return e=+e,function(){xe(this,t).duration=e}}function Ye(t,e){if("function"!==typeof e)throw new Error;return function(){xe(this,t).ease=e}}function Xe(t,e,r){var n,i,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?we:xe;return function(){var a=o(this,t),s=a.on;s!==n&&(i=(n=s).copy()).on(e,r),a.on=i}}var $e=Wt.prototype.constructor;function Ke(t){return function(){this.style.removeProperty(t)}}function Ze(t,e,r){return function(n){this.style.setProperty(t,e.call(this,n),r)}}function Je(t,e,r){var n,i;function o(){var o=e.apply(this,arguments);return o!==i&&(n=(i=o)&&Ze(t,o,r)),n}return o._value=e,o}function Qe(t){return function(e){this.textContent=t.call(this,e)}}function tr(t){var e,r;function n(){var n=t.apply(this,arguments);return n!==r&&(e=(r=n)&&Qe(n)),e}return n._value=t,n}var er=0;function rr(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}function nr(t){return Wt().transition(t)}function ir(){return++er}var or=Wt.prototype;function ar(t){return t*t*t}function sr(t){return--t*t*t+1}function cr(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}rr.prototype=nr.prototype=Object(k.a)({constructor:rr,select:function(t){var e=this._name,r=this._id;"function"!==typeof t&&(t=M(t));for(var n=this._groups,i=n.length,o=new Array(i),a=0;a<i;++a)for(var s,c,u=n[a],l=u.length,f=o[a]=new Array(l),h=0;h<l;++h)(s=u[h])&&(c=t.call(s,s.__data__,h,u))&&("__data__"in s&&(c.__data__=s.__data__),f[h]=c,ye(f[h],e,r,h,f,Oe(s,r)));return new rr(o,this._parents,e,r)},selectAll:function(t){var e=this._name,r=this._id;"function"!==typeof t&&(t=A(t));for(var n=this._groups,i=n.length,o=[],a=[],s=0;s<i;++s)for(var c,u=n[s],l=u.length,f=0;f<l;++f)if(c=u[f]){for(var h,d=t.call(c,c.__data__,f,u),p=Oe(c,r),m=0,b=d.length;m<b;++m)(h=d[m])&&ye(h,e,r,m,d,p);o.push(d),a.push(c)}return new rr(o,a,e,r)},filter:function(t){"function"!==typeof t&&(t=T(t));for(var e=this._groups,r=e.length,n=new Array(r),i=0;i<r;++i)for(var o,a=e[i],s=a.length,c=n[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new rr(n,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,r=t._groups,n=e.length,i=r.length,o=Math.min(n,i),a=new Array(n),s=0;s<o;++s)for(var c,u=e[s],l=r[s],f=u.length,h=a[s]=new Array(f),d=0;d<f;++d)(c=u[d]||l[d])&&(h[d]=c);for(;s<n;++s)a[s]=e[s];return new rr(a,this._parents,this._name,this._id)},selection:function(){return new $e(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,r=ir(),n=this._groups,i=n.length,o=0;o<i;++o)for(var a,s=n[o],c=s.length,u=0;u<c;++u)if(a=s[u]){var l=Oe(a,e);ye(a,t,r,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new rr(n,this._parents,t,r)},call:or.call,nodes:or.nodes,node:or.node,size:or.size,empty:or.empty,each:or.each,on:function(t,e){var r=this._id;return arguments.length<2?Oe(this.node(),r).on.on(t):this.each(Xe(r,t,e))},attr:function(t,e){var r=G(t),n="transform"===r?Se.b:Pe;return this.attrTween(t,"function"===typeof e?(r.local?Fe:Ne)(r,n,Me(this,"attr."+t,e)):null==e?(r.local?Re:De)(r):(r.local?Ie:Le)(r,n,e))},attrTween:function(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!==typeof e)throw new Error;var n=G(t);return this.tween(r,(n.local?He:Ue)(n,e))},style:function(t,e,r){var n="transform"===(t+="")?Se.a:Pe;return null==e?this.styleTween(t,function(t,e){var r,n,i;return function(){var o=nt(this,t),a=(this.style.removeProperty(t),nt(this,t));return o===a?null:o===r&&a===n?i:i=e(r=o,n=a)}}(t,n)).on("end.style."+t,Ke(t)):"function"===typeof e?this.styleTween(t,function(t,e,r){var n,i,o;return function(){var a=nt(this,t),s=r(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=nt(this,t)),a===c?null:a===n&&c===i?o:(i=c,o=e(n=a,s))}}(t,n,Me(this,"style."+t,e))).each(function(t,e){var r,n,i,o,a="style."+e,s="end."+a;return function(){var c=xe(this,t),u=c.on,l=null==c.value[a]?o||(o=Ke(e)):void 0;u===r&&i===l||(n=(r=u).copy()).on(s,i=l),c.on=n}}(this._id,t)):this.styleTween(t,function(t,e,r){var n,i,o=r+"";return function(){var a=nt(this,t);return a===o?null:a===n?i:i=e(n=a,r)}}(t,n,e),r).on("end.style."+t,null)},styleTween:function(t,e,r){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!==typeof e)throw new Error;return this.tween(n,Je(t,e,null==r?"":r))},text:function(t){return this.tween("text","function"===typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(Me(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!==typeof t)throw new Error;return this.tween(e,tr(t))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var n,i=Oe(this.node(),r).tween,o=0,a=i.length;o<a;++o)if((n=i[o]).name===t)return n.value;return null}return this.each((null==e?ke:Ee)(r,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?We:qe)(e,t)):Oe(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?Ve:Ge)(e,t)):Oe(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(Ye(e,t)):Oe(this.node(),e).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,e){return function(){var r=e.apply(this,arguments);if("function"!==typeof r)throw new Error;xe(this,t).ease=r}}(this._id,t))},end:function(){var t,e,r=this,n=r._id,i=r.size();return new Promise((function(o,a){var s={value:a},c={value:function(){0===--i&&o()}};r.each((function(){var r=xe(this,n),i=r.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),r.on=e})),0===i&&o()}))}},Symbol.iterator,or[Symbol.iterator]);var ur={time:null,delay:0,duration:250,ease:cr};function lr(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw new Error("transition ".concat(e," not found"));return r}Wt.prototype.interrupt=function(t){return this.each((function(){_e(this,t)}))},Wt.prototype.transition=function(t){var e,r;t instanceof rr?(e=t._id,t=t._name):(e=ir(),(r=ur).time=ce(),t=null==t?null:t+"");for(var n=this._groups,i=n.length,o=0;o<i;++o)for(var a,s=n[o],c=s.length,u=0;u<c;++u)(a=s[u])&&ye(a,t,e,u,s,r||lr(a,e));return new rr(n,this._parents,t,e)};var fr=[null],hr=function(t,e){var r,n,i=t.__transition;if(i)for(n in e=null==e?null:e+"",i)if((r=i[n]).state>1&&r.name===e)return new rr([[t]],fr,e,+n);return null},dr=function(t){return function(){return t}};function pr(t,e){var r=e.sourceEvent,n=e.target,i=e.selection,o=e.mode,a=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},selection:{value:i,enumerable:!0,configurable:!0},mode:{value:o,enumerable:!0,configurable:!0},_:{value:a}})}function mr(t){t.stopImmediatePropagation()}var br=function(t){t.preventDefault(),t.stopImmediatePropagation()},vr={name:"drag"},gr={name:"space"},yr={name:"handle"},wr={name:"center"},xr=Math.abs,Or=Math.max,_r=Math.min;function Sr(t){return[+t[0],+t[1]]}function kr(t){return[Sr(t[0]),Sr(t[1])]}var Er={name:"x",handles:["w","e"].map(Rr),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Mr={name:"y",handles:["n","s"].map(Rr),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},Cr={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Rr),input:function(t){return null==t?null:kr(t)},output:function(t){return t}},jr={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Ar={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Tr={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Pr={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Dr={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Rr(t){return{type:t}}function Lr(t){return!t.ctrlKey&&!t.button}function Ir(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Nr(){return navigator.maxTouchPoints||"ontouchstart"in this}function Fr(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Br(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function zr(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Hr(){return qr(Er)}function Ur(){return qr(Mr)}var Wr=function(){return qr(Cr)};function qr(t){var e,r=Ir,n=Lr,i=Nr,o=!0,a=S("start","brush","end"),s=6;function c(e){var r=e.property("__brush",m).selectAll(".overlay").data([Rr("overlay")]);r.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",jr.overlay).merge(r).each((function(){var t=Fr(this).extent;qt(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([Rr("selection")]).enter().append("rect").attr("class","selection").attr("cursor",jr.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var n=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));n.exit().remove(),n.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return jr[t.type]})),e.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t=qt(this),e=Fr(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,e,r){var n=t.__brush.emitter;return!n||r&&n.clean?new f(t,e,r):n}function f(t,e,r){this.that=t,this.args=e,this.state=t.__brush,this.active=0,this.clean=r}function h(r){if((!e||r.touches)&&n.apply(this,arguments)){var i,a,s,c,f,h,d,p,m,b,g,y=this,w=r.target.__data__.type,x="selection"===(o&&r.metaKey?w="overlay":w)?vr:o&&r.altKey?wr:yr,O=t===Mr?null:Pr[w],_=t===Er?null:Dr[w],S=Fr(y),k=S.extent,E=S.selection,M=k[0][0],C=k[0][1],j=k[1][0],A=k[1][1],T=0,P=0,D=O&&_&&o&&r.shiftKey,R=Array.from(r.touches||[r],(function(t){var e=t.identifier;return(t=Qt(t,y)).point0=t.slice(),t.identifier=e,t}));if("overlay"===w){E&&(m=!0);var L=[R[0],R[1]||R[0]];S.selection=E=[[i=t===Mr?M:_r(L[0][0],L[1][0]),s=t===Er?C:_r(L[0][1],L[1][1])],[f=t===Mr?j:Or(L[0][0],L[1][0]),d=t===Er?A:Or(L[0][1],L[1][1])]],R.length>1&&H()}else i=E[0][0],s=E[0][1],f=E[1][0],d=E[1][1];a=i,c=s,h=f,p=d;var I=qt(y).attr("pointer-events","none"),N=I.selectAll(".overlay").attr("cursor",jr[w]);_e(y);var F=l(y,arguments,!0).beforestart();if(r.touches)F.moved=z,F.ended=U;else{var B=qt(r.view).on("mousemove.brush",z,!0).on("mouseup.brush",U,!0);o&&B.on("keydown.brush",W,!0).on("keyup.brush",q,!0),Yt(r.view)}u.call(y),F.start(r,x.name)}function z(t){var e,r=Object(v.a)(t.changedTouches||[t]);try{for(r.s();!(e=r.n()).done;){var n,i=e.value,o=Object(v.a)(R);try{for(o.s();!(n=o.n()).done;){var a=n.value;a.identifier===i.identifier&&(a.cur=Qt(i,y))}}catch(f){o.e(f)}finally{o.f()}}}catch(f){r.e(f)}finally{r.f()}if(D&&!b&&!g&&1===R.length){var s=R[0];xr(s.cur[0]-s[0])>xr(s.cur[1]-s[1])?g=!0:b=!0}var c,u=Object(v.a)(R);try{for(u.s();!(c=u.n()).done;){var l=c.value;l.cur&&(l[0]=l.cur[0],l[1]=l.cur[1])}}catch(f){u.e(f)}finally{u.f()}m=!0,br(t),H(t)}function H(t){var e,r=R[0],n=r.point0;switch(T=r[0]-n[0],P=r[1]-n[1],x){case gr:case vr:O&&(T=Or(M-i,_r(j-f,T)),a=i+T,h=f+T),_&&(P=Or(C-s,_r(A-d,P)),c=s+P,p=d+P);break;case yr:R[1]?(O&&(a=Or(M,_r(j,R[0][0])),h=Or(M,_r(j,R[1][0])),O=1),_&&(c=Or(C,_r(A,R[0][1])),p=Or(C,_r(A,R[1][1])),_=1)):(O<0?(T=Or(M-i,_r(j-i,T)),a=i+T,h=f):O>0&&(T=Or(M-f,_r(j-f,T)),a=i,h=f+T),_<0?(P=Or(C-s,_r(A-s,P)),c=s+P,p=d):_>0&&(P=Or(C-d,_r(A-d,P)),c=s,p=d+P));break;case wr:O&&(a=Or(M,_r(j,i-T*O)),h=Or(M,_r(j,f+T*O))),_&&(c=Or(C,_r(A,s-P*_)),p=Or(C,_r(A,d+P*_)))}h<a&&(O*=-1,e=i,i=f,f=e,e=a,a=h,h=e,w in Ar&&N.attr("cursor",jr[w=Ar[w]])),p<c&&(_*=-1,e=s,s=d,d=e,e=c,c=p,p=e,w in Tr&&N.attr("cursor",jr[w=Tr[w]])),S.selection&&(E=S.selection),b&&(a=E[0][0],h=E[1][0]),g&&(c=E[0][1],p=E[1][1]),E[0][0]===a&&E[0][1]===c&&E[1][0]===h&&E[1][1]===p||(S.selection=[[a,c],[h,p]],u.call(y),F.brush(t,x.name))}function U(t){if(mr(t),t.touches){if(t.touches.length)return;e&&clearTimeout(e),e=setTimeout((function(){e=null}),500)}else Xt(t.view,m),B.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);I.attr("pointer-events","all"),N.attr("cursor",jr.overlay),S.selection&&(E=S.selection),Br(E)&&(S.selection=null,u.call(y)),F.end(t,x.name)}function W(t){switch(t.keyCode){case 16:D=O&&_;break;case 18:x===yr&&(O&&(f=h-T*O,i=a+T*O),_&&(d=p-P*_,s=c+P*_),x=wr,H());break;case 32:x!==yr&&x!==wr||(O<0?f=h-T:O>0&&(i=a-T),_<0?d=p-P:_>0&&(s=c-P),x=gr,N.attr("cursor",jr.selection),H());break;default:return}br(t)}function q(t){switch(t.keyCode){case 16:D&&(b=g=D=!1,H());break;case 18:x===wr&&(O<0?f=h:O>0&&(i=a),_<0?d=p:_>0&&(s=c),x=yr,H());break;case 32:x===gr&&(t.altKey?(O&&(f=h-T*O,i=a+T*O),_&&(d=p-P*_,s=c+P*_),x=wr):(O<0?f=h:O>0&&(i=a),_<0?d=p:_>0&&(s=c),x=yr),N.attr("cursor",jr[w]),H());break;default:return}br(t)}}function d(t){l(this,arguments).moved(t)}function p(t){l(this,arguments).ended(t)}function m(){var e=this.__brush||{selection:null};return e.extent=kr(r.apply(this,arguments)),e.dim=t,e}return c.move=function(e,r){e.tween?e.on("start.brush",(function(t){l(this,arguments).beforestart().start(t)})).on("interrupt.brush end.brush",(function(t){l(this,arguments).end(t)})).tween("brush",(function(){var e=this,n=e.__brush,i=l(e,arguments),o=n.selection,a=t.input("function"===typeof r?r.apply(this,arguments):r,n.extent),s=Object(Zt.a)(o,a);function c(t){n.selection=1===t&&null===a?null:s(t),u.call(e),i.brush()}return null!==o&&null!==a?c:c(1)})):e.each((function(){var e=this,n=arguments,i=e.__brush,o=t.input("function"===typeof r?r.apply(e,n):r,i.extent),a=l(e,n).beforestart();_e(e),i.selection=null===o?null:o,u.call(e),a.start().brush().end()}))},c.clear=function(t){c.move(t,null)},f.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(t,e){return this.starting?(this.starting=!1,this.emit("start",t,e)):this.emit("brush",t),this},brush:function(t,e){return this.emit("brush",t,e),this},end:function(t,e){return 0===--this.active&&(delete this.state.emitter,this.emit("end",t,e)),this},emit:function(e,r,n){var i=qt(this.that).datum();a.call(e,this.that,new pr(e,{sourceEvent:r,target:c,selection:t.output(this.state.selection),mode:n,dispatch:a}),i)}},c.extent=function(t){return arguments.length?(r="function"===typeof t?t:dr(kr(t)),c):r},c.filter=function(t){return arguments.length?(n="function"===typeof t?t:dr(!!t),c):n},c.touchable=function(t){return arguments.length?(i="function"===typeof t?t:dr(!!t),c):i},c.handleSize=function(t){return arguments.length?(s=+t,c):s},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=a.on.apply(a,arguments);return t===a?c:t},c}var Vr=Math.abs,Gr=Math.cos,Yr=Math.sin,Xr=Math.PI,$r=Xr/2,Kr=2*Xr,Zr=Math.max;function Jr(t,e){return Array.from({length:e-t},(function(e,r){return t+r}))}function Qr(t){return function(e,r){return t(e.source.value+e.target.value,r.source.value+r.target.value)}}var tn=function(){return nn(!1,!1)};function en(){return nn(!1,!0)}function rn(){return nn(!0,!1)}function nn(t,e){var r=0,n=null,i=null,o=null;function a(a){var s,c=a.length,u=new Array(c),l=Jr(0,c),f=new Array(c*c),h=new Array(c),d=0;a=Float64Array.from({length:c*c},e?function(t,e){return a[e%c][e/c|0]}:function(t,e){return a[e/c|0][e%c]});for(var p=0;p<c;++p){for(var m=0,b=0;b<c;++b)m+=a[p*c+b]+t*a[b*c+p];d+=u[p]=m}d=Zr(0,Kr-r*c)/d,s=d?r:Kr/c;var g=0;n&&l.sort((function(t,e){return n(u[t],u[e])}));var y,w=Object(v.a)(l);try{var x=function(){var e=y.value,r=g;if(t){var n=Jr(1+~c,c).filter((function(t){return t<0?a[~t*c+e]:a[e*c+t]}));i&&n.sort((function(t,r){return i(t<0?-a[~t*c+e]:a[e*c+t],r<0?-a[~r*c+e]:a[e*c+r])}));var o,l=Object(v.a)(n);try{for(l.s();!(o=l.n()).done;){var p=o.value;if(p<0)(f[~p*c+e]||(f[~p*c+e]={source:null,target:null})).target={index:e,startAngle:g,endAngle:g+=a[~p*c+e]*d,value:a[~p*c+e]};else(f[e*c+p]||(f[e*c+p]={source:null,target:null})).source={index:e,startAngle:g,endAngle:g+=a[e*c+p]*d,value:a[e*c+p]}}}catch(S){l.e(S)}finally{l.f()}h[e]={index:e,startAngle:r,endAngle:g,value:u[e]}}else{var m=Jr(0,c).filter((function(t){return a[e*c+t]||a[t*c+e]}));i&&m.sort((function(t,r){return i(a[e*c+t],a[e*c+r])}));var b,w=Object(v.a)(m);try{for(w.s();!(b=w.n()).done;){var x=b.value,O=void 0;if(e<x?(O=f[e*c+x]||(f[e*c+x]={source:null,target:null})).source={index:e,startAngle:g,endAngle:g+=a[e*c+x]*d,value:a[e*c+x]}:((O=f[x*c+e]||(f[x*c+e]={source:null,target:null})).target={index:e,startAngle:g,endAngle:g+=a[e*c+x]*d,value:a[e*c+x]},e===x&&(O.source=O.target)),O.source&&O.target&&O.source.value<O.target.value){var _=O.source;O.source=O.target,O.target=_}}}catch(S){w.e(S)}finally{w.f()}h[e]={index:e,startAngle:r,endAngle:g,value:u[e]}}g+=s};for(w.s();!(y=w.n()).done;)x()}catch(O){w.e(O)}finally{w.f()}return(f=Object.values(f)).groups=h,o?f.sort(o):f}return a.padAngle=function(t){return arguments.length?(r=Zr(0,t),a):r},a.sortGroups=function(t){return arguments.length?(n=t,a):n},a.sortSubgroups=function(t){return arguments.length?(i=t,a):i},a.sortChords=function(t){return arguments.length?(null==t?o=null:(o=Qr(t))._=t,a):o&&o._},a}var on=r(428),an=Array.prototype.slice,sn=function(t){return function(){return t}};function cn(t){return t.source}function un(t){return t.target}function ln(t){return t.radius}function fn(t){return t.startAngle}function hn(t){return t.endAngle}function dn(){return 0}function pn(){return 10}function mn(t){var e=cn,r=un,n=ln,i=ln,o=fn,a=hn,s=dn,c=null;function u(){var u,l=e.apply(this,arguments),f=r.apply(this,arguments),h=s.apply(this,arguments)/2,d=an.call(arguments),p=+n.apply(this,(d[0]=l,d)),m=o.apply(this,d)-$r,b=a.apply(this,d)-$r,v=+i.apply(this,(d[0]=f,d)),g=o.apply(this,d)-$r,y=a.apply(this,d)-$r;if(c||(c=u=Object(on.a)()),h>1e-12&&(Vr(b-m)>2*h+1e-12?b>m?(m+=h,b-=h):(m-=h,b+=h):m=b=(m+b)/2,Vr(y-g)>2*h+1e-12?y>g?(g+=h,y-=h):(g-=h,y+=h):g=y=(g+y)/2),c.moveTo(p*Gr(m),p*Yr(m)),c.arc(0,0,p,m,b),m!==g||b!==y)if(t){var w=+t.apply(this,arguments),x=v-w,O=(g+y)/2;c.quadraticCurveTo(0,0,x*Gr(g),x*Yr(g)),c.lineTo(v*Gr(O),v*Yr(O)),c.lineTo(x*Gr(y),x*Yr(y))}else c.quadraticCurveTo(0,0,v*Gr(g),v*Yr(g)),c.arc(0,0,v,g,y);if(c.quadraticCurveTo(0,0,p*Gr(m),p*Yr(m)),c.closePath(),u)return c=null,u+""||null}return t&&(u.headRadius=function(e){return arguments.length?(t="function"===typeof e?e:sn(+e),u):t}),u.radius=function(t){return arguments.length?(n=i="function"===typeof t?t:sn(+t),u):n},u.sourceRadius=function(t){return arguments.length?(n="function"===typeof t?t:sn(+t),u):n},u.targetRadius=function(t){return arguments.length?(i="function"===typeof t?t:sn(+t),u):i},u.startAngle=function(t){return arguments.length?(o="function"===typeof t?t:sn(+t),u):o},u.endAngle=function(t){return arguments.length?(a="function"===typeof t?t:sn(+t),u):a},u.padAngle=function(t){return arguments.length?(s="function"===typeof t?t:sn(+t),u):s},u.source=function(t){return arguments.length?(e=t,u):e},u.target=function(t){return arguments.length?(r=t,u):r},u.context=function(t){return arguments.length?(c=null==t?null:t,u):c},u}var bn=function(){return mn()};function vn(){return mn(pn)}var gn=r(194),yn=r(492),wn=r(366),xn=r(173),On=r(635),_n=Array.prototype.slice,Sn=function(t,e){return t-e},kn=function(t){return function(){return t}},En=function(t,e){for(var r,n=-1,i=e.length;++n<i;)if(r=Mn(t,e[n]))return r;return 0};function Mn(t,e){for(var r=e[0],n=e[1],i=-1,o=0,a=t.length,s=a-1;o<a;s=o++){var c=t[o],u=c[0],l=c[1],f=t[s],h=f[0],d=f[1];if(Cn(c,f,e))return 0;l>n!==d>n&&r<(h-u)*(n-l)/(d-l)+u&&(i=-i)}return i}function Cn(t,e,r){var n,i,o,a;return function(t,e,r){return(e[0]-t[0])*(r[1]-t[1])===(r[0]-t[0])*(e[1]-t[1])}(t,e,r)&&(i=t[n=+(t[0]===e[0])],o=r[n],a=e[n],i<=o&&o<=a||a<=o&&o<=i)}var jn=function(){},An=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],Tn=function(){var t=1,e=1,r=yn.a,n=s;function i(t){var e=r(t);if(Array.isArray(e))e=e.slice().sort(Sn);else{var n=Object(wn.a)(t),i=n[0],a=n[1];e=Object(xn.c)(i,a,e),e=Object(On.a)(Math.floor(i/e)*e,Math.floor(a/e)*e,e)}return e.map((function(e){return o(t,e)}))}function o(r,i){var o=[],s=[];return function(r,n,i){var o,s,c,u,l,f,h=new Array,d=new Array;o=s=-1,u=r[0]>=n,An[u<<1].forEach(p);for(;++o<t-1;)c=u,u=r[o+1]>=n,An[c|u<<1].forEach(p);An[u<<0].forEach(p);for(;++s<e-1;){for(o=-1,u=r[s*t+t]>=n,l=r[s*t]>=n,An[u<<1|l<<2].forEach(p);++o<t-1;)c=u,u=r[s*t+t+o+1]>=n,f=l,l=r[s*t+o+1]>=n,An[c|u<<1|l<<2|f<<3].forEach(p);An[u|l<<3].forEach(p)}o=-1,l=r[s*t]>=n,An[l<<2].forEach(p);for(;++o<t-1;)f=l,l=r[s*t+o+1]>=n,An[l<<2|f<<3].forEach(p);function p(t){var e,r,n=[t[0][0]+o,t[0][1]+s],c=[t[1][0]+o,t[1][1]+s],u=a(n),l=a(c);(e=d[u])?(r=h[l])?(delete d[e.end],delete h[r.start],e===r?(e.ring.push(c),i(e.ring)):h[e.start]=d[r.end]={start:e.start,end:r.end,ring:e.ring.concat(r.ring)}):(delete d[e.end],e.ring.push(c),d[e.end=l]=e):(e=h[l])?(r=d[u])?(delete h[e.start],delete d[r.end],e===r?(e.ring.push(c),i(e.ring)):h[r.start]=d[e.end]={start:r.start,end:e.end,ring:r.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(n),h[e.start=u]=e):h[u]=d[l]={start:u,end:l,ring:[n,c]}}An[l<<3].forEach(p)}(r,i,(function(t){n(t,r,i),function(t){for(var e=0,r=t.length,n=t[r-1][1]*t[0][0]-t[r-1][0]*t[0][1];++e<r;)n+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return n}(t)>0?o.push([t]):s.push(t)})),s.forEach((function(t){for(var e,r=0,n=o.length;r<n;++r)if(-1!==En((e=o[r])[0],t))return void e.push(t)})),{type:"MultiPolygon",value:i,coordinates:o}}function a(e){return 2*e[0]+e[1]*(t+1)*4}function s(r,n,i){r.forEach((function(r){var o,a=r[0],s=r[1],c=0|a,u=0|s,l=n[u*t+c];a>0&&a<t&&c===a&&(o=n[u*t+c-1],r[0]=a+(i-o)/(l-o)-.5),s>0&&s<e&&u===s&&(o=n[(u-1)*t+c],r[1]=s+(i-o)/(l-o)-.5)}))}return i.contour=o,i.size=function(r){if(!arguments.length)return[t,e];var n=Math.floor(r[0]),o=Math.floor(r[1]);if(!(n>=0&&o>=0))throw new Error("invalid size");return t=n,e=o,i},i.thresholds=function(t){return arguments.length?(r="function"===typeof t?t:Array.isArray(t)?kn(_n.call(t)):kn(t),i):r},i.smooth=function(t){return arguments.length?(n=t?s:jn,i):n===s},i},Pn=r(414);function Dn(t,e,r){for(var n=t.width,i=t.height,o=1+(r<<1),a=0;a<i;++a)for(var s=0,c=0;s<n+r;++s)s<n&&(c+=t.data[s+a*n]),s>=r&&(s>=o&&(c-=t.data[s-o+a*n]),e.data[s-r+a*n]=c/Math.min(s+1,n-1+o-s,o))}function Rn(t,e,r){for(var n=t.width,i=t.height,o=1+(r<<1),a=0;a<n;++a)for(var s=0,c=0;s<i+r;++s)s<i&&(c+=t.data[a+s*n]),s>=r&&(s>=o&&(c-=t.data[a+(s-o)*n]),e.data[a+(s-r)*n]=c/Math.min(s+1,i-1+o-s,o))}function Ln(t){return t[0]}function In(t){return t[1]}function Nn(){return 1}var Fn=function(){var t=Ln,e=In,r=Nn,n=960,i=500,o=20,a=2,s=3*o,c=n+2*s>>a,u=i+2*s>>a,l=kn(20);function f(n){var i=new Float32Array(c*u),f=new Float32Array(c*u);n.forEach((function(n,o,l){var f=+t(n,o,l)+s>>a,h=+e(n,o,l)+s>>a,d=+r(n,o,l);f>=0&&f<c&&h>=0&&h<u&&(i[f+h*c]+=d)})),Dn({width:c,height:u,data:i},{width:c,height:u,data:f},o>>a),Rn({width:c,height:u,data:f},{width:c,height:u,data:i},o>>a),Dn({width:c,height:u,data:i},{width:c,height:u,data:f},o>>a),Rn({width:c,height:u,data:f},{width:c,height:u,data:i},o>>a),Dn({width:c,height:u,data:i},{width:c,height:u,data:f},o>>a),Rn({width:c,height:u,data:f},{width:c,height:u,data:i},o>>a);var d=l(i);if(!Array.isArray(d)){var p=Object(Pn.a)(i);d=Object(xn.c)(0,p,d),(d=Object(On.a)(0,Math.floor(p/d)*d,d)).shift()}return Tn().thresholds(d).size([c,u])(i).map(h)}function h(t){return t.value*=Math.pow(2,-2*a),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(m)}function m(t){t[0]=t[0]*Math.pow(2,a)-s,t[1]=t[1]*Math.pow(2,a)-s}function b(){return c=n+2*(s=3*o)>>a,u=i+2*s>>a,f}return f.x=function(e){return arguments.length?(t="function"===typeof e?e:kn(+e),f):t},f.y=function(t){return arguments.length?(e="function"===typeof t?t:kn(+t),f):e},f.weight=function(t){return arguments.length?(r="function"===typeof t?t:kn(+t),f):r},f.size=function(t){if(!arguments.length)return[n,i];var e=+t[0],r=+t[1];if(!(e>=0&&r>=0))throw new Error("invalid size");return n=e,i=r,b()},f.cellSize=function(t){if(!arguments.length)return 1<<a;if(!((t=+t)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),b()},f.thresholds=function(t){return arguments.length?(l="function"===typeof t?t:Array.isArray(t)?kn(_n.call(t)):kn(t),f):l},f.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),b()},f},Bn=r(45),zn=r(46),Hn=Math.pow(2,-52),Un=new Uint32Array(512),Wn=function(){function t(e){Object(Bn.a)(this,t);var r=e.length>>1;if(r>0&&"number"!==typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;var n=Math.max(2*r-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(r)),this._hullPrev=new Uint32Array(r),this._hullNext=new Uint32Array(r),this._hullTri=new Uint32Array(r),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(r),this._dists=new Float64Array(r),this.update()}return Object(zn.a)(t,[{key:"update",value:function(){for(var t=this.coords,e=this._hullPrev,r=this._hullNext,n=this._hullTri,i=this._hullHash,o=t.length>>1,a=1/0,s=1/0,c=-1/0,u=-1/0,l=0;l<o;l++){var f=t[2*l],h=t[2*l+1];f<a&&(a=f),h<s&&(s=h),f>c&&(c=f),h>u&&(u=h),this._ids[l]=l}for(var d,p,m,b=(a+c)/2,v=(s+u)/2,g=1/0,y=0;y<o;y++){var w=qn(b,v,t[2*y],t[2*y+1]);w<g&&(d=y,g=w)}var x=t[2*d],O=t[2*d+1];g=1/0;for(var _=0;_<o;_++)if(_!==d){var S=qn(x,O,t[2*_],t[2*_+1]);S<g&&S>0&&(p=_,g=S)}for(var k=t[2*p],E=t[2*p+1],M=1/0,C=0;C<o;C++)if(C!==d&&C!==p){var j=Xn(x,O,k,E,t[2*C],t[2*C+1]);j<M&&(m=C,M=j)}var A=t[2*m],T=t[2*m+1];if(M===1/0){for(var P=0;P<o;P++)this._dists[P]=t[2*P]-t[0]||t[2*P+1]-t[1];$n(this._ids,this._dists,0,o-1);for(var D=new Uint32Array(o),R=0,L=0,I=-1/0;L<o;L++){var N=this._ids[L];this._dists[N]>I&&(D[R++]=N,I=this._dists[N])}return this.hull=D.subarray(0,R),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(Gn(x,O,k,E,A,T)){var F=p,B=k,z=E;p=m,k=A,E=T,m=F,A=B,T=z}var H=function(t,e,r,n,i,o){var a=r-t,s=n-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c);return{x:t+(u*l-s*f)*h,y:e+(a*f-c*l)*h}}(x,O,k,E,A,T);this._cx=H.x,this._cy=H.y;for(var U=0;U<o;U++)this._dists[U]=qn(t[2*U],t[2*U+1],H.x,H.y);$n(this._ids,this._dists,0,o-1),this._hullStart=d;var W=3;r[d]=e[m]=p,r[p]=e[d]=m,r[m]=e[p]=d,n[d]=0,n[p]=1,n[m]=2,i.fill(-1),i[this._hashKey(x,O)]=d,i[this._hashKey(k,E)]=p,i[this._hashKey(A,T)]=m,this.trianglesLen=0,this._addTriangle(d,p,m,-1,-1,-1);for(var q,V,G=0;G<this._ids.length;G++){var Y=this._ids[G],X=t[2*Y],$=t[2*Y+1];if(!(G>0&&Math.abs(X-q)<=Hn&&Math.abs($-V)<=Hn)&&(q=X,V=$,Y!==d&&Y!==p&&Y!==m)){for(var K=0,Z=0,J=this._hashKey(X,$);Z<this._hashSize&&(-1===(K=i[(J+Z)%this._hashSize])||K===r[K]);Z++);for(var Q=K=e[K],tt=void 0;tt=r[Q],!Gn(X,$,t[2*Q],t[2*Q+1],t[2*tt],t[2*tt+1]);)if((Q=tt)===K){Q=-1;break}if(-1!==Q){var et=this._addTriangle(Q,Y,r[Q],-1,-1,n[Q]);n[Y]=this._legalize(et+2),n[Q]=et,W++;for(var rt=r[Q];tt=r[rt],Gn(X,$,t[2*rt],t[2*rt+1],t[2*tt],t[2*tt+1]);)et=this._addTriangle(rt,Y,tt,n[Y],-1,n[rt]),n[Y]=this._legalize(et+2),r[rt]=rt,W--,rt=tt;if(Q===K)for(;Gn(X,$,t[2*(tt=e[Q])],t[2*tt+1],t[2*Q],t[2*Q+1]);)et=this._addTriangle(tt,Y,Q,-1,n[Q],n[tt]),this._legalize(et+2),n[tt]=et,r[Q]=Q,W--,Q=tt;this._hullStart=e[Y]=Q,r[Q]=e[rt]=Y,r[Y]=rt,i[this._hashKey(X,$)]=Y,i[this._hashKey(t[2*Q],t[2*Q+1])]=Q}}}this.hull=new Uint32Array(W);for(var nt=0,it=this._hullStart;nt<W;nt++)this.hull[nt]=it,it=r[it];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}},{key:"_hashKey",value:function(t,e){return Math.floor(function(t,e){var r=t/(Math.abs(t)+Math.abs(e));return(e>0?3-r:1+r)/4}(t-this._cx,e-this._cy)*this._hashSize)%this._hashSize}},{key:"_legalize",value:function(t){for(var e=this._triangles,r=this._halfedges,n=this.coords,i=0,o=0;;){var a=r[t],s=t-t%3;if(o=s+(t+2)%3,-1!==a){var c=a-a%3,u=s+(t+1)%3,l=c+(a+2)%3,f=e[o],h=e[t],d=e[u],p=e[l];if(Yn(n[2*f],n[2*f+1],n[2*h],n[2*h+1],n[2*d],n[2*d+1],n[2*p],n[2*p+1])){e[t]=p,e[a]=f;var m=r[l];if(-1===m){var b=this._hullStart;do{if(this._hullTri[b]===l){this._hullTri[b]=t;break}b=this._hullPrev[b]}while(b!==this._hullStart)}this._link(t,m),this._link(a,r[o]),this._link(o,l);var v=c+(a+1)%3;i<Un.length&&(Un[i++]=v)}else{if(0===i)break;t=Un[--i]}}else{if(0===i)break;t=Un[--i]}}return o}},{key:"_link",value:function(t,e){this._halfedges[t]=e,-1!==e&&(this._halfedges[e]=t)}},{key:"_addTriangle",value:function(t,e,r,n,i,o){var a=this.trianglesLen;return this._triangles[a]=t,this._triangles[a+1]=e,this._triangles[a+2]=r,this._link(a,n),this._link(a+1,i),this._link(a+2,o),this.trianglesLen+=3,a}}],[{key:"from",value:function(e){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jn,i=e.length,o=new Float64Array(2*i),a=0;a<i;a++){var s=e[a];o[2*a]=r(s),o[2*a+1]=n(s)}return new t(o)}}]),t}();function qn(t,e,r,n){var i=t-r,o=e-n;return i*i+o*o}function Vn(t,e,r,n,i,o){var a=(n-e)*(i-t),s=(r-t)*(o-e);return Math.abs(a-s)>=33306690738754716e-32*Math.abs(a+s)?a-s:0}function Gn(t,e,r,n,i,o){return(Vn(i,o,t,e,r,n)||Vn(t,e,r,n,i,o)||Vn(r,n,i,o,t,e))<0}function Yn(t,e,r,n,i,o,a,s){var c=t-a,u=e-s,l=r-a,f=n-s,h=i-a,d=o-s,p=l*l+f*f,m=h*h+d*d;return c*(f*m-p*d)-u*(l*m-p*h)+(c*c+u*u)*(l*d-f*h)<0}function Xn(t,e,r,n,i,o){var a=r-t,s=n-e,c=i-t,u=o-e,l=a*a+s*s,f=c*c+u*u,h=.5/(a*u-s*c),d=(u*l-s*f)*h,p=(a*f-c*l)*h;return d*d+p*p}function $n(t,e,r,n){if(n-r<=20)for(var i=r+1;i<=n;i++){for(var o=t[i],a=e[o],s=i-1;s>=r&&e[t[s]]>a;)t[s+1]=t[s--];t[s+1]=o}else{var c=r+1,u=n;Kn(t,r+n>>1,c),e[t[r]]>e[t[n]]&&Kn(t,r,n),e[t[c]]>e[t[n]]&&Kn(t,c,n),e[t[r]]>e[t[c]]&&Kn(t,r,c);for(var l=t[c],f=e[l];;){do{c++}while(e[t[c]]<f);do{u--}while(e[t[u]]>f);if(u<c)break;Kn(t,c,u)}t[r+1]=t[u],t[u]=l,n-c+1>=u-r?($n(t,e,c,n),$n(t,e,r,u-1)):($n(t,e,r,u-1),$n(t,e,c,n))}}function Kn(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Zn(t){return t[0]}function Jn(t){return t[1]}var Qn=function(){function t(){Object(Bn.a)(this,t),this._x0=this._y0=this._x1=this._y1=null,this._=""}return Object(zn.a)(t,[{key:"moveTo",value:function(t,e){this._+="M".concat(this._x0=this._x1=+t,",").concat(this._y0=this._y1=+e)}},{key:"closePath",value:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}},{key:"lineTo",value:function(t,e){this._+="L".concat(this._x1=+t,",").concat(this._y1=+e)}},{key:"arc",value:function(t,e,r){var n=(t=+t)+(r=+r),i=e=+e;if(r<0)throw new Error("negative radius");null===this._x1?this._+="M".concat(n,",").concat(i):(Math.abs(this._x1-n)>1e-6||Math.abs(this._y1-i)>1e-6)&&(this._+="L"+n+","+i),r&&(this._+="A".concat(r,",").concat(r,",0,1,1,").concat(t-r,",").concat(e,"A").concat(r,",").concat(r,",0,1,1,").concat(this._x1=n,",").concat(this._y1=i))}},{key:"rect",value:function(t,e,r,n){this._+="M".concat(this._x0=this._x1=+t,",").concat(this._y0=this._y1=+e,"h").concat(+r,"v").concat(+n,"h").concat(-r,"Z")}},{key:"value",value:function(){return this._||null}}]),t}(),ti=function(){function t(){Object(Bn.a)(this,t),this._=[]}return Object(zn.a)(t,[{key:"moveTo",value:function(t,e){this._.push([t,e])}},{key:"closePath",value:function(){this._.push(this._[0].slice())}},{key:"lineTo",value:function(t,e){this._.push([t,e])}},{key:"value",value:function(){return this._.length?this._:null}}]),t}(),ei=r(3),ri=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,960,500],n=Object(ei.a)(r,4),i=n[0],o=n[1],a=n[2],s=n[3];if(Object(Bn.a)(this,t),!((a=+a)>=(i=+i))||!((s=+s)>=(o=+o)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=a,this.xmin=i,this.ymax=s,this.ymin=o,this._init()}return Object(zn.a)(t,[{key:"update",value:function(){return this.delaunay.update(),this._init(),this}},{key:"_init",value:function(){for(var t,e,r=this.delaunay,n=r.points,i=r.hull,o=r.triangles,a=this.vectors,s=this.circumcenters=this._circumcenters.subarray(0,o.length/3*2),c=0,u=0,l=o.length;c<l;c+=3,u+=2){var f=2*o[c],h=2*o[c+1],d=2*o[c+2],p=n[f],m=n[f+1],b=n[h],v=n[h+1],g=n[d],y=n[d+1],w=b-p,x=v-m,O=g-p,_=y-m,S=w*w+x*x,k=O*O+_*_,E=2*(w*_-x*O);if(E)if(Math.abs(E)<1e-8)t=(p+g)/2,e=(m+y)/2;else{var M=1/E;t=p+(_*S-x*k)*M,e=m+(w*k-O*S)*M}else t=(p+g)/2-1e8*_,e=(m+y)/2+1e8*O;s[u]=t,s[u+1]=e}var C,j,A,T=i[i.length-1],P=4*T,D=n[2*T],R=n[2*T+1];a.fill(0);for(var L=0;L<i.length;++L)C=P,j=D,A=R,P=4*(T=i[L]),D=n[2*T],R=n[2*T+1],a[C+2]=a[P]=A-R,a[C+3]=a[P+1]=D-j}},{key:"render",value:function(t){var e=null==t?t=new Qn:void 0,r=this.delaunay,n=r.halfedges,i=r.inedges,o=r.hull,a=this.circumcenters,s=this.vectors;if(o.length<=1)return null;for(var c=0,u=n.length;c<u;++c){var l=n[c];if(!(l<c)){var f=2*Math.floor(c/3),h=2*Math.floor(l/3),d=a[f],p=a[f+1],m=a[h],b=a[h+1];this._renderSegment(d,p,m,b,t)}}for(var v,g=o[o.length-1],y=0;y<o.length;++y){v=g,g=o[y];var w=2*Math.floor(i[g]/3),x=a[w],O=a[w+1],_=4*v,S=this._project(x,O,s[_+2],s[_+3]);S&&this._renderSegment(x,O,S[0],S[1],t)}return e&&e.value()}},{key:"renderBounds",value:function(t){var e=null==t?t=new Qn:void 0;return t.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),e&&e.value()}},{key:"renderCell",value:function(t,e){var r=null==e?e=new Qn:void 0,n=this._clip(t);if(null!==n&&n.length){e.moveTo(n[0],n[1]);for(var i=n.length;n[0]===n[i-2]&&n[1]===n[i-1]&&i>1;)i-=2;for(var o=2;o<i;o+=2)n[o]===n[o-2]&&n[o+1]===n[o-1]||e.lineTo(n[o],n[o+1]);return e.closePath(),r&&r.value()}}},{key:"cellPolygons",value:Nt.a.mark((function t(){var e,r,n,i;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.delaunay.points,r=0,n=e.length/2;case 2:if(!(r<n)){t.next=11;break}if(!(i=this.cellPolygon(r))){t.next=8;break}return i.index=r,t.next=8,i;case 8:++r,t.next=2;break;case 11:case"end":return t.stop()}}),t,this)}))},{key:"cellPolygon",value:function(t){var e=new ti;return this.renderCell(t,e),e.value()}},{key:"_renderSegment",value:function(t,e,r,n,i){var o,a=this._regioncode(t,e),s=this._regioncode(r,n);0===a&&0===s?(i.moveTo(t,e),i.lineTo(r,n)):(o=this._clipSegment(t,e,r,n,a,s))&&(i.moveTo(o[0],o[1]),i.lineTo(o[2],o[3]))}},{key:"contains",value:function(t,e,r){return(e=+e)===e&&(r=+r)===r&&this.delaunay._step(t,e,r)===t}},{key:"neighbors",value:Nt.a.mark((function t(e){var r,n,i,o,a,s,c,u,l;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=this._clip(e))){t.next=33;break}n=Object(v.a)(this.delaunay.neighbors(e)),t.prev=3,n.s();case 5:if((i=n.n()).done){t.next=25;break}if(o=i.value,!(a=this._clip(o))){t.next=23;break}s=0,c=r.length;case 10:if(!(s<c)){t.next=23;break}u=0,l=a.length;case 12:if(!(u<l)){t.next=20;break}if(r[s]!=a[u]||r[s+1]!=a[u+1]||r[(s+2)%c]!=a[(u+l-2)%l]||r[(s+3)%c]!=a[(u+l-1)%l]){t.next=17;break}return t.next=16,o;case 16:return t.abrupt("break",23);case 17:u+=2,t.next=12;break;case 20:s+=2,t.next=10;break;case 23:t.next=5;break;case 25:t.next=30;break;case 27:t.prev=27,t.t0=t.catch(3),n.e(t.t0);case 30:return t.prev=30,n.f(),t.finish(30);case 33:case"end":return t.stop()}}),t,this,[[3,27,30,33]])}))},{key:"_cell",value:function(t){var e=this.circumcenters,r=this.delaunay,n=r.inedges,i=r.halfedges,o=r.triangles,a=n[t];if(-1===a)return null;var s=[],c=a;do{var u=Math.floor(c/3);if(s.push(e[2*u],e[2*u+1]),o[c=c%3===2?c-2:c+1]!==t)break;c=i[c]}while(c!==a&&-1!==c);return s}},{key:"_clip",value:function(t){if(0===t&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];var e=this._cell(t);if(null===e)return null;var r=this.vectors,n=4*t;return r[n]||r[n+1]?this._clipInfinite(t,e,r[n],r[n+1],r[n+2],r[n+3]):this._clipFinite(t,e)}},{key:"_clipFinite",value:function(t,e){for(var r,n,i,o,a,s=e.length,c=null,u=e[s-2],l=e[s-1],f=this._regioncode(u,l),h=0;h<s;h+=2)if(r=u,n=l,u=e[h],l=e[h+1],i=f,f=this._regioncode(u,l),0===i&&0===f)o=a,a=0,c?c.push(u,l):c=[u,l];else{var d=void 0,p=void 0,m=void 0,b=void 0,v=void 0;if(0===i){if(null===(d=this._clipSegment(r,n,u,l,i,f)))continue;var g=d,y=Object(ei.a)(g,4);p=y[0],m=y[1],b=y[2],v=y[3]}else{if(null===(d=this._clipSegment(u,l,r,n,f,i)))continue;var w=d,x=Object(ei.a)(w,4);b=x[0],v=x[1],p=x[2],m=x[3],o=a,a=this._edgecode(p,m),o&&a&&this._edge(t,o,a,c,c.length),c?c.push(p,m):c=[p,m]}o=a,a=this._edgecode(b,v),o&&a&&this._edge(t,o,a,c,c.length),c?c.push(b,v):c=[b,v]}if(c)o=a,a=this._edgecode(c[0],c[1]),o&&a&&this._edge(t,o,a,c,c.length);else if(this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return c}},{key:"_clipSegment",value:function(t,e,r,n,i,o){for(;;){if(0===i&&0===o)return[t,e,r,n];if(i&o)return null;var a=void 0,s=void 0,c=i||o;8&c?(a=t+(r-t)*(this.ymax-e)/(n-e),s=this.ymax):4&c?(a=t+(r-t)*(this.ymin-e)/(n-e),s=this.ymin):2&c?(s=e+(n-e)*(this.xmax-t)/(r-t),a=this.xmax):(s=e+(n-e)*(this.xmin-t)/(r-t),a=this.xmin),i?(t=a,e=s,i=this._regioncode(t,e)):(r=a,n=s,o=this._regioncode(r,n))}}},{key:"_clipInfinite",value:function(t,e,r,n,i,o){var a,s=Array.from(e);if((a=this._project(s[0],s[1],r,n))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],i,o))&&s.push(a[0],a[1]),s=this._clipFinite(t,s))for(var c,u=0,l=s.length,f=this._edgecode(s[l-2],s[l-1]);u<l;u+=2)c=f,f=this._edgecode(s[u],s[u+1]),c&&f&&(u=this._edge(t,c,f,s,u),l=s.length);else this.contains(t,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}},{key:"_edge",value:function(t,e,r,n,i){for(;e!==r;){var o=void 0,a=void 0;switch(e){case 5:e=4;continue;case 4:e=6,o=this.xmax,a=this.ymin;break;case 6:e=2;continue;case 2:e=10,o=this.xmax,a=this.ymax;break;case 10:e=8;continue;case 8:e=9,o=this.xmin,a=this.ymax;break;case 9:e=1;continue;case 1:e=5,o=this.xmin,a=this.ymin}n[i]===o&&n[i+1]===a||!this.contains(t,o,a)||(n.splice(i,0,o,a),i+=2)}if(n.length>4)for(var s=0;s<n.length;s+=2){var c=(s+2)%n.length,u=(s+4)%n.length;(n[s]===n[c]&&n[c]===n[u]||n[s+1]===n[c+1]&&n[c+1]===n[u+1])&&(n.splice(c,2),s-=2)}return i}},{key:"_project",value:function(t,e,r,n){var i,o,a,s=1/0;if(n<0){if(e<=this.ymin)return null;(i=(this.ymin-e)/n)<s&&(a=this.ymin,o=t+(s=i)*r)}else if(n>0){if(e>=this.ymax)return null;(i=(this.ymax-e)/n)<s&&(a=this.ymax,o=t+(s=i)*r)}if(r>0){if(t>=this.xmax)return null;(i=(this.xmax-t)/r)<s&&(o=this.xmax,a=e+(s=i)*n)}else if(r<0){if(t<=this.xmin)return null;(i=(this.xmin-t)/r)<s&&(o=this.xmin,a=e+(s=i)*n)}return[o,a]}},{key:"_edgecode",value:function(t,e){return(t===this.xmin?1:t===this.xmax?2:0)|(e===this.ymin?4:e===this.ymax?8:0)}},{key:"_regioncode",value:function(t,e){return(t<this.xmin?1:t>this.xmax?2:0)|(e<this.ymin?4:e>this.ymax?8:0)}}]),t}(),ni=Nt.a.mark(fi),ii=2*Math.PI,oi=Math.pow;function ai(t){return t[0]}function si(t){return t[1]}function ci(t,e,r){return[t+Math.sin(t+e)*r,e+Math.cos(t-e)*r]}var ui=function(){function t(e){Object(Bn.a)(this,t),this._delaunator=new Wn(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}return Object(zn.a)(t,[{key:"update",value:function(){return this._delaunator.update(),this._init(),this}},{key:"_init",value:function(){var t=this._delaunator,e=this.points;if(t.hull&&t.hull.length>2&&function(t){for(var e=t.triangles,r=t.coords,n=0;n<e.length;n+=3){var i=2*e[n],o=2*e[n+1],a=2*e[n+2];if((r[a]-r[i])*(r[o+1]-r[i+1])-(r[o]-r[i])*(r[a+1]-r[i+1])>1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:e.length/2},(function(t,e){return e})).sort((function(t,r){return e[2*t]-e[2*r]||e[2*t+1]-e[2*r+1]}));for(var r=this.collinear[0],n=this.collinear[this.collinear.length-1],i=[e[2*r],e[2*r+1],e[2*n],e[2*n+1]],o=1e-8*Math.hypot(i[3]-i[1],i[2]-i[0]),a=0,s=e.length/2;a<s;++a){var c=ci(e[2*a],e[2*a+1],o);e[2*a]=c[0],e[2*a+1]=c[1]}this._delaunator=new Wn(e)}else delete this.collinear;for(var u=this.halfedges=this._delaunator.halfedges,l=this.hull=this._delaunator.hull,f=this.triangles=this._delaunator.triangles,h=this.inedges.fill(-1),d=this._hullIndex.fill(-1),p=0,m=u.length;p<m;++p){var b=f[p%3===2?p-2:p+1];-1!==u[p]&&-1!==h[b]||(h[b]=p)}for(var v=0,g=l.length;v<g;++v)d[l[v]]=v;l.length<=2&&l.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=l[0],this.triangles[1]=l[1],this.triangles[2]=l[1],h[l[0]]=1,2===l.length&&(h[l[1]]=0))}},{key:"voronoi",value:function(t){return new ri(this,t)}},{key:"neighbors",value:Nt.a.mark((function t(e){var r,n,i,o,a,s,c,u,l,f,h;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this.inedges,n=this.hull,i=this._hullIndex,o=this.halfedges,a=this.triangles,!(s=this.collinear)){t.next=10;break}if(!((c=s.indexOf(e))>0)){t.next=6;break}return t.next=6,s[c-1];case 6:if(!(c<s.length-1)){t.next=9;break}return t.next=9,s[c+1];case 9:return t.abrupt("return");case 10:if(-1!==(u=r[e])){t.next=13;break}return t.abrupt("return");case 13:l=u,f=-1;case 14:return t.next=16,f=a[l];case 16:if(a[l=l%3===2?l-2:l+1]===e){t.next=19;break}return t.abrupt("return");case 19:if(-1!==(l=o[l])){t.next=26;break}if((h=n[(i[e]+1)%n.length])===f){t.next=25;break}return t.next=25,h;case 25:return t.abrupt("return");case 26:if(l!==u){t.next=14;break}case 27:case"end":return t.stop()}}),t,this)}))},{key:"find",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if((t=+t)!==t||(e=+e)!==e)return-1;for(var n,i=r;(n=this._step(r,t,e))>=0&&n!==r&&n!==i;)r=n;return n}},{key:"_step",value:function(t,e,r){var n=this.inedges,i=this.hull,o=this._hullIndex,a=this.halfedges,s=this.triangles,c=this.points;if(-1===n[t]||!c.length)return(t+1)%(c.length>>1);var u=t,l=oi(e-c[2*t],2)+oi(r-c[2*t+1],2),f=n[t],h=f;do{var d=s[h],p=oi(e-c[2*d],2)+oi(r-c[2*d+1],2);if(p<l&&(l=p,u=d),s[h=h%3===2?h-2:h+1]!==t)break;if(-1===(h=a[h])){if((h=i[(o[t]+1)%i.length])!==d&&oi(e-c[2*h],2)+oi(r-c[2*h+1],2)<l)return h;break}}while(h!==f);return u}},{key:"render",value:function(t){for(var e=null==t?t=new Qn:void 0,r=this.points,n=this.halfedges,i=this.triangles,o=0,a=n.length;o<a;++o){var s=n[o];if(!(s<o)){var c=2*i[o],u=2*i[s];t.moveTo(r[c],r[c+1]),t.lineTo(r[u],r[u+1])}}return this.renderHull(t),e&&e.value()}},{key:"renderPoints",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=null==t?t=new Qn:void 0,n=this.points,i=0,o=n.length;i<o;i+=2){var a=n[i],s=n[i+1];t.moveTo(a+e,s),t.arc(a,s,e,0,ii)}return r&&r.value()}},{key:"renderHull",value:function(t){var e=null==t?t=new Qn:void 0,r=this.hull,n=this.points,i=2*r[0],o=r.length;t.moveTo(n[i],n[i+1]);for(var a=1;a<o;++a){var s=2*r[a];t.lineTo(n[s],n[s+1])}return t.closePath(),e&&e.value()}},{key:"hullPolygon",value:function(){var t=new ti;return this.renderHull(t),t.value()}},{key:"renderTriangle",value:function(t,e){var r=null==e?e=new Qn:void 0,n=this.points,i=this.triangles,o=2*i[t*=3],a=2*i[t+1],s=2*i[t+2];return e.moveTo(n[o],n[o+1]),e.lineTo(n[a],n[a+1]),e.lineTo(n[s],n[s+1]),e.closePath(),r&&r.value()}},{key:"trianglePolygons",value:Nt.a.mark((function t(){var e,r,n;return Nt.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.triangles,r=0,n=e.length/3;case 2:if(!(r<n)){t.next=8;break}return t.next=5,this.trianglePolygon(r);case 5:++r,t.next=2;break;case 8:case"end":return t.stop()}}),t,this)}))},{key:"trianglePolygon",value:function(t){var e=new ti;return this.renderTriangle(t,e),e.value()}}],[{key:"from",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ai,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:si,i=arguments.length>3?arguments[3]:void 0;return new t("length"in e?li(e,r,n,i):Float64Array.from(fi(e,r,n,i)))}}]),t}();function li(t,e,r,n){for(var i=t.length,o=new Float64Array(2*i),a=0;a<i;++a){var s=t[a];o[2*a]=e.call(n,s,a,t),o[2*a+1]=r.call(n,s,a,t)}return o}function fi(t,e,r,n){var i,o,a,s;return Nt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:i=0,o=Object(v.a)(t),c.prev=2,o.s();case 4:if((a=o.n()).done){c.next=13;break}return s=a.value,c.next=8,e.call(n,s,i,t);case 8:return c.next=10,r.call(n,s,i,t);case 10:++i;case 11:c.next=4;break;case 13:c.next=18;break;case 15:c.prev=15,c.t0=c.catch(2),o.e(c.t0);case 18:return c.prev=18,o.f(),c.finish(18);case 21:case"end":return c.stop()}}),ni,null,[[2,15,18,21]])}var hi=function(t){return function(){return t}};function di(t,e){var r=e.sourceEvent,n=e.subject,i=e.target,o=e.identifier,a=e.active,s=e.x,c=e.y,u=e.dx,l=e.dy,f=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:a,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:c,enumerable:!0,configurable:!0},dx:{value:u,enumerable:!0,configurable:!0},dy:{value:l,enumerable:!0,configurable:!0},_:{value:f}})}function pi(t){return!t.ctrlKey&&!t.button}function mi(){return this.parentNode}function bi(t,e){return null==e?{x:t.x,y:t.y}:e}function vi(){return navigator.maxTouchPoints||"ontouchstart"in this}di.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var gi=function(){var t,e,r,n,i=pi,o=mi,a=bi,s=vi,c={},u=S("start","drag","end"),l=0,f=0;function h(t){t.on("mousedown.drag",d).filter(s).on("touchstart.drag",b).on("touchmove.drag",v).on("touchend.drag touchcancel.drag",g).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(a,s){if(!n&&i.call(this,a,s)){var c=y(this,o.call(this,a,s),a,s,"mouse");c&&(qt(a.view).on("mousemove.drag",p,!0).on("mouseup.drag",m,!0),Yt(a.view),Vt(a),r=!1,t=a.clientX,e=a.clientY,c("start",a))}}function p(n){if(Gt(n),!r){var i=n.clientX-t,o=n.clientY-e;r=i*i+o*o>f}c.mouse("drag",n)}function m(t){qt(t.view).on("mousemove.drag mouseup.drag",null),Xt(t.view,r),Gt(t),c.mouse("end",t)}function b(t,e){if(i.call(this,t,e)){var r,n,a=t.changedTouches,s=o.call(this,t,e),c=a.length;for(r=0;r<c;++r)(n=y(this,s,t,e,a[r].identifier,a[r]))&&(Vt(t),n("start",t,a[r]))}}function v(t){var e,r,n=t.changedTouches,i=n.length;for(e=0;e<i;++e)(r=c[n[e].identifier])&&(Gt(t),r("drag",t,n[e]))}function g(t){var e,r,i=t.changedTouches,o=i.length;for(n&&clearTimeout(n),n=setTimeout((function(){n=null}),500),e=0;e<o;++e)(r=c[i[e].identifier])&&(Vt(t),r("end",t,i[e]))}function y(t,e,r,n,i,o){var s,f,d,p=u.copy(),m=Qt(o||r,e);if(null!=(d=a.call(t,new di("beforestart",{sourceEvent:r,target:h,identifier:i,active:l,x:m[0],y:m[1],dx:0,dy:0,dispatch:p}),n)))return s=d.x-m[0]||0,f=d.y-m[1]||0,function r(o,a,u){var b,v=m;switch(o){case"start":c[i]=r,b=l++;break;case"end":delete c[i],--l;case"drag":m=Qt(u||a,e),b=l}p.call(o,t,new di(o,{sourceEvent:a,subject:d,target:h,identifier:i,active:b,x:m[0]+s,y:m[1]+f,dx:m[0]-v[0],dy:m[1]-v[1],dispatch:p}),n)}}return h.filter=function(t){return arguments.length?(i="function"===typeof t?t:hi(!!t),h):i},h.container=function(t){return arguments.length?(o="function"===typeof t?t:hi(t),h):o},h.subject=function(t){return arguments.length?(a="function"===typeof t?t:hi(t),h):a},h.touchable=function(t){return arguments.length?(s="function"===typeof t?t:hi(!!t),h):s},h.on=function(){var t=u.on.apply(u,arguments);return t===u?h:t},h.clickDistance=function(t){return arguments.length?(f=(t=+t)*t,h):Math.sqrt(f)},h},yi={},wi={};function xi(t){return new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'})).join(",")+"}")}function Oi(t){var e=Object.create(null),r=[];return t.forEach((function(t){for(var n in t)n in e||r.push(e[n]=n)})),r}function _i(t,e){var r=t+"",n=r.length;return n<e?new Array(e-n+1).join(0)+r:r}function Si(t){var e,r=t.getUTCHours(),n=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+_i(-e,6):e>9999?"+"+_i(e,6):_i(e,4))+"-"+_i(t.getUTCMonth()+1,2)+"-"+_i(t.getUTCDate(),2)+(o?"T"+_i(r,2)+":"+_i(n,2)+":"+_i(i,2)+"."+_i(o,3)+"Z":i?"T"+_i(r,2)+":"+_i(n,2)+":"+_i(i,2)+"Z":n||r?"T"+_i(r,2)+":"+_i(n,2)+"Z":"")}var ki=function(t){var e=new RegExp('["'+t+"\n\r]"),r=t.charCodeAt(0);function n(t,e){var n,i=[],o=t.length,a=0,s=0,c=o<=0,u=!1;function l(){if(c)return wi;if(u)return u=!1,yi;var e,n,i=a;if(34===t.charCodeAt(i)){for(;a++<o&&34!==t.charCodeAt(a)||34===t.charCodeAt(++a););return(e=a)>=o?c=!0:10===(n=t.charCodeAt(a++))?u=!0:13===n&&(u=!0,10===t.charCodeAt(a)&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a<o;){if(10===(n=t.charCodeAt(e=a++)))u=!0;else if(13===n)u=!0,10===t.charCodeAt(a)&&++a;else if(n!==r)continue;return t.slice(i,e)}return c=!0,t.slice(i,o)}for(10===t.charCodeAt(o-1)&&--o,13===t.charCodeAt(o-1)&&--o;(n=l())!==wi;){for(var f=[];n!==yi&&n!==wi;)f.push(n),n=l();e&&null==(f=e(f,s++))||i.push(f)}return i}function i(e,r){return e.map((function(e){return r.map((function(t){return a(e[t])})).join(t)}))}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":t instanceof Date?Si(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var r,i,o=n(t,(function(t,n){if(r)return r(t,n-1);i=t,r=e?function(t,e){var r=xi(t);return function(n,i){return e(r(n),i,t)}}(t,e):xi(t)}));return o.columns=i||[],o},parseRows:n,format:function(e,r){return null==r&&(r=Oi(e)),[r.map(a).join(t)].concat(i(e,r)).join("\n")},formatBody:function(t,e){return null==e&&(e=Oi(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:a}},Ei=ki(","),Mi=Ei.parse,Ci=Ei.parseRows,ji=Ei.format,Ai=Ei.formatBody,Ti=Ei.formatRows,Pi=Ei.formatRow,Di=Ei.formatValue,Ri=ki("\t"),Li=Ri.parse,Ii=Ri.parseRows,Ni=Ri.format,Fi=Ri.formatBody,Bi=Ri.formatRows,zi=Ri.formatRow,Hi=Ri.formatValue;function Ui(t){for(var e in t){var r,n,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(r=+i)){if(!(n=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Wi&&n[4]&&!n[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=r;else i=null;t[e]=i}return t}var Wi=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours(),qi=function(t){return+t};function Vi(t){return t*t}function Gi(t){return t*(2-t)}function Yi(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Xi=function t(e){function r(t){return Math.pow(t,e)}return e=+e,r.exponent=t,r}(3),$i=function t(e){function r(t){return 1-Math.pow(1-t,e)}return e=+e,r.exponent=t,r}(3),Ki=function t(e){function r(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,r.exponent=t,r}(3),Zi=Math.PI,Ji=Zi/2;function Qi(t){return 1===+t?1:1-Math.cos(t*Ji)}function to(t){return Math.sin(t*Ji)}function eo(t){return(1-Math.cos(Zi*t))/2}function ro(t){return 1.0009775171065494*(Math.pow(2,-10*t)-.0009765625)}function no(t){return ro(1-+t)}function io(t){return 1-ro(t)}function oo(t){return((t*=2)<=1?ro(1-t):2-ro(t-1))/2}function ao(t){return 1-Math.sqrt(1-t*t)}function so(t){return Math.sqrt(1- --t*t)}function co(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function uo(t){return 1-lo(1-t)}function lo(t){return(t=+t)<4/11?7.5625*t*t:t<8/11?7.5625*(t-=6/11)*t+3/4:t<10/11?7.5625*(t-=9/11)*t+15/16:7.5625*(t-=21/22)*t+63/64}function fo(t){return((t*=2)<=1?1-lo(1-t):lo(t-1)+1)/2}var ho=function t(e){function r(t){return(t=+t)*t*(e*(t-1)+t)}return e=+e,r.overshoot=t,r}(1.70158),po=function t(e){function r(t){return--t*t*((t+1)*e+t)+1}return e=+e,r.overshoot=t,r}(1.70158),mo=function t(e){function r(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,r.overshoot=t,r}(1.70158),bo=2*Math.PI,vo=function t(e,r){var n=Math.asin(1/(e=Math.max(1,e)))*(r/=bo);function i(t){return e*ro(- --t)*Math.sin((n-t)/r)}return i.amplitude=function(e){return t(e,r*bo)},i.period=function(r){return t(e,r)},i}(1,.3),go=function t(e,r){var n=Math.asin(1/(e=Math.max(1,e)))*(r/=bo);function i(t){return 1-e*ro(t=+t)*Math.sin((t+n)/r)}return i.amplitude=function(e){return t(e,r*bo)},i.period=function(r){return t(e,r)},i}(1,.3),yo=function t(e,r){var n=Math.asin(1/(e=Math.max(1,e)))*(r/=bo);function i(t){return((t=2*t-1)<0?e*ro(-t)*Math.sin((n-t)/r):2-e*ro(t)*Math.sin((n+t)/r))/2}return i.amplitude=function(e){return t(e,r*bo)},i.period=function(r){return t(e,r)},i}(1,.3);function wo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var xo=function(t,e){return fetch(t,e).then(wo)};function Oo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var _o=function(t,e){return fetch(t,e).then(Oo)};function So(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var ko=function(t,e){return fetch(t,e).then(So)};function Eo(t){return function(e,r,n){return 2===arguments.length&&"function"===typeof r&&(n=r,r=void 0),ko(e,r).then((function(e){return t(e,n)}))}}function Mo(t,e,r,n){3===arguments.length&&"function"===typeof r&&(n=r,r=void 0);var i=ki(t);return ko(e,r).then((function(t){return i.parse(t,n)}))}var Co=Eo(Mi),jo=Eo(Li),Ao=function(t,e){return new Promise((function(r,n){var i=new Image;for(var o in e)i[o]=e[o];i.onerror=n,i.onload=function(){r(i)},i.src=t}))};function To(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}var Po=function(t,e){return fetch(t,e).then(To)};function Do(t){return function(e,r){return ko(e,r).then((function(e){return(new DOMParser).parseFromString(e,t)}))}}var Ro=Do("application/xml"),Lo=Do("text/html"),Io=Do("image/svg+xml"),No=function(t,e){var r,n=1;function i(){var i,o,a=r.length,s=0,c=0;for(i=0;i<a;++i)s+=(o=r[i]).x,c+=o.y;for(s=(s/a-t)*n,c=(c/a-e)*n,i=0;i<a;++i)(o=r[i]).x-=s,o.y-=c}return null==t&&(t=0),null==e&&(e=0),i.initialize=function(t){r=t},i.x=function(e){return arguments.length?(t=+e,i):t},i.y=function(t){return arguments.length?(e=+t,i):e},i.strength=function(t){return arguments.length?(n=+t,i):n},i};function Fo(t,e,r,n){if(isNaN(e)||isNaN(r))return t;var i,o,a,s,c,u,l,f,h,d=t._root,p={data:n},m=t._x0,b=t._y0,v=t._x1,g=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((u=e>=(o=(m+v)/2))?m=o:v=o,(l=r>=(a=(b+g)/2))?b=a:g=a,i=d,!(d=d[f=l<<1|u]))return i[f]=p,t;if(s=+t._x.call(null,d.data),c=+t._y.call(null,d.data),e===s&&r===c)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(u=e>=(o=(m+v)/2))?m=o:v=o,(l=r>=(a=(b+g)/2))?b=a:g=a}while((f=l<<1|u)===(h=(c>=a)<<1|s>=o));return i[h]=d,i[f]=p,t}var Bo=function(t,e,r,n,i){this.node=t,this.x0=e,this.y0=r,this.x1=n,this.y1=i};function zo(t){return t[0]}function Ho(t){return t[1]}function Uo(t,e,r){var n=new Wo(null==e?zo:e,null==r?Ho:r,NaN,NaN,NaN,NaN);return null==t?n:n.addAll(t)}function Wo(t,e,r,n,i,o){this._x=t,this._y=e,this._x0=r,this._y0=n,this._x1=i,this._y1=o,this._root=void 0}function qo(t){for(var e={data:t.data},r=e;t=t.next;)r=r.next={data:t.data};return e}var Vo=Uo.prototype=Wo.prototype;Vo.copy=function(){var t,e,r=new Wo(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return r;if(!n.length)return r._root=qo(n),r;for(t=[{source:n,target:r._root=new Array(4)}];n=t.pop();)for(var i=0;i<4;++i)(e=n.source[i])&&(e.length?t.push({source:e,target:n.target[i]=new Array(4)}):n.target[i]=qo(e));return r},Vo.add=function(t){var e=+this._x.call(null,t),r=+this._y.call(null,t);return Fo(this.cover(e,r),e,r,t)},Vo.addAll=function(t){var e,r,n,i,o=t.length,a=new Array(o),s=new Array(o),c=1/0,u=1/0,l=-1/0,f=-1/0;for(r=0;r<o;++r)isNaN(n=+this._x.call(null,e=t[r]))||isNaN(i=+this._y.call(null,e))||(a[r]=n,s[r]=i,n<c&&(c=n),n>l&&(l=n),i<u&&(u=i),i>f&&(f=i));if(c>l||u>f)return this;for(this.cover(c,u).cover(l,f),r=0;r<o;++r)Fo(this,a[r],s[r],t[r]);return this},Vo.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var r=this._x0,n=this._y0,i=this._x1,o=this._y1;if(isNaN(r))i=(r=Math.floor(t))+1,o=(n=Math.floor(e))+1;else{for(var a,s,c=i-r||1,u=this._root;r>t||t>=i||n>e||e>=o;)switch(s=(e<n)<<1|t<r,(a=new Array(4))[s]=u,u=a,c*=2,s){case 0:i=r+c,o=n+c;break;case 1:r=i-c,o=n+c;break;case 2:i=r+c,n=o-c;break;case 3:r=i-c,n=o-c}this._root&&this._root.length&&(this._root=u)}return this._x0=r,this._y0=n,this._x1=i,this._y1=o,this},Vo.data=function(){var t=[];return this.visit((function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)})),t},Vo.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Vo.find=function(t,e,r){var n,i,o,a,s,c,u,l=this._x0,f=this._y0,h=this._x1,d=this._y1,p=[],m=this._root;for(m&&p.push(new Bo(m,l,f,h,d)),null==r?r=1/0:(l=t-r,f=e-r,h=t+r,d=e+r,r*=r);c=p.pop();)if(!(!(m=c.node)||(i=c.x0)>h||(o=c.y0)>d||(a=c.x1)<l||(s=c.y1)<f))if(m.length){var b=(i+a)/2,v=(o+s)/2;p.push(new Bo(m[3],b,v,a,s),new Bo(m[2],i,v,b,s),new Bo(m[1],b,o,a,v),new Bo(m[0],i,o,b,v)),(u=(e>=v)<<1|t>=b)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-u],p[p.length-1-u]=c)}else{var g=t-+this._x.call(null,m.data),y=e-+this._y.call(null,m.data),w=g*g+y*y;if(w<r){var x=Math.sqrt(r=w);l=t-x,f=e-x,h=t+x,d=e+x,n=m.data}}return n},Vo.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,r,n,i,o,a,s,c,u,l,f,h,d=this._root,p=this._x0,m=this._y0,b=this._x1,v=this._y1;if(!d)return this;if(d.length)for(;;){if((u=o>=(s=(p+b)/2))?p=s:b=s,(l=a>=(c=(m+v)/2))?m=c:v=c,e=d,!(d=d[f=l<<1|u]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(r=e,h=f)}for(;d.data!==t;)if(n=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,n?(i?n.next=i:delete n.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(r?r[h]=d:this._root=d),this):(this._root=i,this)},Vo.removeAll=function(t){for(var e=0,r=t.length;e<r;++e)this.remove(t[e]);return this},Vo.root=function(){return this._root},Vo.size=function(){var t=0;return this.visit((function(e){if(!e.length)do{++t}while(e=e.next)})),t},Vo.visit=function(t){var e,r,n,i,o,a,s=[],c=this._root;for(c&&s.push(new Bo(c,this._x0,this._y0,this._x1,this._y1));e=s.pop();)if(!t(c=e.node,n=e.x0,i=e.y0,o=e.x1,a=e.y1)&&c.length){var u=(n+o)/2,l=(i+a)/2;(r=c[3])&&s.push(new Bo(r,u,l,o,a)),(r=c[2])&&s.push(new Bo(r,n,l,u,a)),(r=c[1])&&s.push(new Bo(r,u,i,o,l)),(r=c[0])&&s.push(new Bo(r,n,i,u,l))}return this},Vo.visitAfter=function(t){var e,r=[],n=[];for(this._root&&r.push(new Bo(this._root,this._x0,this._y0,this._x1,this._y1));e=r.pop();){var i=e.node;if(i.length){var o,a=e.x0,s=e.y0,c=e.x1,u=e.y1,l=(a+c)/2,f=(s+u)/2;(o=i[0])&&r.push(new Bo(o,a,s,l,f)),(o=i[1])&&r.push(new Bo(o,l,s,c,f)),(o=i[2])&&r.push(new Bo(o,a,f,l,u)),(o=i[3])&&r.push(new Bo(o,l,f,c,u))}n.push(e)}for(;e=n.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},Vo.x=function(t){return arguments.length?(this._x=t,this):this._x},Vo.y=function(t){return arguments.length?(this._y=t,this):this._y};var Go=function(t){return function(){return t}},Yo=function(t){return 1e-6*(t()-.5)};function Xo(t){return t.x+t.vx}function $o(t){return t.y+t.vy}var Ko=function(t){var e,r,n,i=1,o=1;function a(){for(var t,a,c,u,l,f,h,d=e.length,p=0;p<o;++p)for(a=Uo(e,Xo,$o).visitAfter(s),t=0;t<d;++t)c=e[t],f=r[c.index],h=f*f,u=c.x+c.vx,l=c.y+c.vy,a.visit(m);function m(t,e,r,o,a){var s=t.data,d=t.r,p=f+d;if(!s)return e>u+p||o<u-p||r>l+p||a<l-p;if(s.index>c.index){var m=u-s.x-s.vx,b=l-s.y-s.vy,v=m*m+b*b;v<p*p&&(0===m&&(v+=(m=Yo(n))*m),0===b&&(v+=(b=Yo(n))*b),v=(p-(v=Math.sqrt(v)))/v*i,c.vx+=(m*=v)*(p=(d*=d)/(h+d)),c.vy+=(b*=v)*p,s.vx-=m*(p=1-p),s.vy-=b*p)}}}function s(t){if(t.data)return t.r=r[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function c(){if(e){var n,i,o=e.length;for(r=new Array(o),n=0;n<o;++n)i=e[n],r[i.index]=+t(i,n,e)}}return"function"!==typeof t&&(t=Go(null==t?1:+t)),a.initialize=function(t,r){e=t,n=r,c()},a.iterations=function(t){return arguments.length?(o=+t,a):o},a.strength=function(t){return arguments.length?(i=+t,a):i},a.radius=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),c(),a):t},a};function Zo(t){return t.index}function Jo(t,e){var r=t.get(e);if(!r)throw new Error("node not found: "+e);return r}var Qo=function(t){var e,r,n,i,o,a,s=Zo,c=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},u=Go(30),l=1;function f(n){for(var i=0,s=t.length;i<l;++i)for(var c,u,f,h,d,p,m,b=0;b<s;++b)u=(c=t[b]).source,h=(f=c.target).x+f.vx-u.x-u.vx||Yo(a),d=f.y+f.vy-u.y-u.vy||Yo(a),h*=p=((p=Math.sqrt(h*h+d*d))-r[b])/p*n*e[b],d*=p,f.vx-=h*(m=o[b]),f.vy-=d*m,u.vx+=h*(m=1-m),u.vy+=d*m}function h(){if(n){var a,c,u=n.length,l=t.length,f=new Map(n.map((function(t,e){return[s(t,e,n),t]})));for(a=0,i=new Array(u);a<l;++a)(c=t[a]).index=a,"object"!==typeof c.source&&(c.source=Jo(f,c.source)),"object"!==typeof c.target&&(c.target=Jo(f,c.target)),i[c.source.index]=(i[c.source.index]||0)+1,i[c.target.index]=(i[c.target.index]||0)+1;for(a=0,o=new Array(l);a<l;++a)c=t[a],o[a]=i[c.source.index]/(i[c.source.index]+i[c.target.index]);e=new Array(l),d(),r=new Array(l),p()}}function d(){if(n)for(var r=0,i=t.length;r<i;++r)e[r]=+c(t[r],r,t)}function p(){if(n)for(var e=0,i=t.length;e<i;++e)r[e]=+u(t[e],e,t)}return null==t&&(t=[]),f.initialize=function(t,e){n=t,a=e,h()},f.links=function(e){return arguments.length?(t=e,h(),f):t},f.id=function(t){return arguments.length?(s=t,f):s},f.iterations=function(t){return arguments.length?(l=+t,f):l},f.strength=function(t){return arguments.length?(c="function"===typeof t?t:Go(+t),d(),f):c},f.distance=function(t){return arguments.length?(u="function"===typeof t?t:Go(+t),p(),f):u},f};function ta(t){return t.x}function ea(t){return t.y}var ra=Math.PI*(3-Math.sqrt(5)),na=function(t){var e,r=1,n=.001,i=1-Math.pow(n,1/300),o=0,a=.6,s=new Map,c=fe(f),u=S("tick","end"),l=function(){var t=1;return function(){return(t=(1664525*t+1013904223)%4294967296)/4294967296}}();function f(){h(),u.call("tick",e),r<n&&(c.stop(),u.call("end",e))}function h(n){var c,u,l=t.length;void 0===n&&(n=1);for(var f=0;f<n;++f)for(r+=(o-r)*i,s.forEach((function(t){t(r)})),c=0;c<l;++c)null==(u=t[c]).fx?u.x+=u.vx*=a:(u.x=u.fx,u.vx=0),null==u.fy?u.y+=u.vy*=a:(u.y=u.fy,u.vy=0);return e}function d(){for(var e,r=0,n=t.length;r<n;++r){if((e=t[r]).index=r,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=10*Math.sqrt(.5+r),o=r*ra;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function p(e){return e.initialize&&e.initialize(t,l),e}return null==t&&(t=[]),d(),e={tick:h,restart:function(){return c.restart(f),e},stop:function(){return c.stop(),e},nodes:function(r){return arguments.length?(t=r,d(),s.forEach(p),e):t},alpha:function(t){return arguments.length?(r=+t,e):r},alphaMin:function(t){return arguments.length?(n=+t,e):n},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(o=+t,e):o},velocityDecay:function(t){return arguments.length?(a=1-t,e):1-a},randomSource:function(t){return arguments.length?(l=t,s.forEach(p),e):l},force:function(t,r){return arguments.length>1?(null==r?s.delete(t):s.set(t,p(r)),e):s.get(t)},find:function(e,r,n){var i,o,a,s,c,u=0,l=t.length;for(null==n?n=1/0:n*=n,u=0;u<l;++u)(a=(i=e-(s=t[u]).x)*i+(o=r-s.y)*o)<n&&(c=s,n=a);return c},on:function(t,r){return arguments.length>1?(u.on(t,r),e):u.on(t)}}},ia=function(){var t,e,r,n,i,o=Go(-30),a=1,s=1/0,c=.81;function u(r){var i,o=t.length,a=Uo(t,ta,ea).visitAfter(f);for(n=r,i=0;i<o;++i)e=t[i],a.visit(h)}function l(){if(t){var e,r,n=t.length;for(i=new Array(n),e=0;e<n;++e)r=t[e],i[r.index]=+o(r,e,t)}}function f(t){var e,r,n,o,a,s=0,c=0;if(t.length){for(n=o=a=0;a<4;++a)(e=t[a])&&(r=Math.abs(e.value))&&(s+=e.value,c+=r,n+=r*e.x,o+=r*e.y);t.x=n/c,t.y=o/c}else{(e=t).x=e.data.x,e.y=e.data.y;do{s+=i[e.data.index]}while(e=e.next)}t.value=s}function h(t,o,u,l){if(!t.value)return!0;var f=t.x-e.x,h=t.y-e.y,d=l-o,p=f*f+h*h;if(d*d/c<p)return p<s&&(0===f&&(p+=(f=Yo(r))*f),0===h&&(p+=(h=Yo(r))*h),p<a&&(p=Math.sqrt(a*p)),e.vx+=f*t.value*n/p,e.vy+=h*t.value*n/p),!0;if(!(t.length||p>=s)){(t.data!==e||t.next)&&(0===f&&(p+=(f=Yo(r))*f),0===h&&(p+=(h=Yo(r))*h),p<a&&(p=Math.sqrt(a*p)));do{t.data!==e&&(d=i[t.data.index]*n/p,e.vx+=f*d,e.vy+=h*d)}while(t=t.next)}}return u.initialize=function(e,n){t=e,r=n,l()},u.strength=function(t){return arguments.length?(o="function"===typeof t?t:Go(+t),l(),u):o},u.distanceMin=function(t){return arguments.length?(a=t*t,u):Math.sqrt(a)},u.distanceMax=function(t){return arguments.length?(s=t*t,u):Math.sqrt(s)},u.theta=function(t){return arguments.length?(c=t*t,u):Math.sqrt(c)},u},oa=function(t,e,r){var n,i,o,a=Go(.1);function s(t){for(var a=0,s=n.length;a<s;++a){var c=n[a],u=c.x-e||1e-6,l=c.y-r||1e-6,f=Math.sqrt(u*u+l*l),h=(o[a]-f)*i[a]*t/f;c.vx+=u*h,c.vy+=l*h}}function c(){if(n){var e,r=n.length;for(i=new Array(r),o=new Array(r),e=0;e<r;++e)o[e]=+t(n[e],e,n),i[e]=isNaN(o[e])?0:+a(n[e],e,n)}}return"function"!==typeof t&&(t=Go(+t)),null==e&&(e=0),null==r&&(r=0),s.initialize=function(t){n=t,c()},s.strength=function(t){return arguments.length?(a="function"===typeof t?t:Go(+t),c(),s):a},s.radius=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),c(),s):t},s.x=function(t){return arguments.length?(e=+t,s):e},s.y=function(t){return arguments.length?(r=+t,s):r},s},aa=function(t){var e,r,n,i=Go(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vx+=(n[o]-i.x)*r[o]*t}function a(){if(e){var o,a=e.length;for(r=new Array(a),n=new Array(a),o=0;o<a;++o)r[o]=isNaN(n[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!==typeof t&&(t=Go(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:Go(+t),a(),o):i},o.x=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),a(),o):t},o},sa=function(t){var e,r,n,i=Go(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vy+=(n[o]-i.y)*r[o]*t}function a(){if(e){var o,a=e.length;for(r=new Array(a),n=new Array(a),o=0;o<a;++o)r[o]=isNaN(n[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!==typeof t&&(t=Go(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"===typeof t?t:Go(+t),a(),o):i},o.y=function(e){return arguments.length?(t="function"===typeof e?e:Go(+e),a(),o):t},o},ca=r(482),ua=r(481),la=Math.PI,fa=la/2,ha=la/4,da=2*la,pa=180/la,ma=la/180,ba=Math.abs,va=Math.atan,ga=Math.atan2,ya=Math.cos,wa=Math.ceil,xa=Math.exp,Oa=(Math.floor,Math.hypot),_a=Math.log,Sa=Math.pow,ka=Math.sin,Ea=Math.sign||function(t){return t>0?1:t<0?-1:0},Ma=Math.sqrt,Ca=Math.tan;function ja(t){return t>1?0:t<-1?la:Math.acos(t)}function Aa(t){return t>1?fa:t<-1?-fa:Math.asin(t)}function Ta(t){return(t=ka(t/2))*t}function Pa(){}function Da(t,e){t&&La.hasOwnProperty(t.type)&&La[t.type](t,e)}var Ra={Feature:function(t,e){Da(t.geometry,e)},FeatureCollection:function(t,e){for(var r=t.features,n=-1,i=r.length;++n<i;)Da(r[n].geometry,e)}},La={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)t=r[n],e.point(t[0],t[1],t[2])},LineString:function(t,e){Ia(t.coordinates,e,0)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)Ia(r[n],e,0)},Polygon:function(t,e){Na(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)Na(r[n],e)},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,i=r.length;++n<i;)Da(r[n],e)}};function Ia(t,e,r){var n,i=-1,o=t.length-r;for(e.lineStart();++i<o;)n=t[i],e.point(n[0],n[1],n[2]);e.lineEnd()}function Na(t,e){var r=-1,n=t.length;for(e.polygonStart();++r<n;)Ia(t[r],e,1);e.polygonEnd()}var Fa,Ba,za,Ha,Ua,Wa=function(t,e){t&&Ra.hasOwnProperty(t.type)?Ra[t.type](t,e):Da(t,e)},qa=new ua.a,Va=new ua.a,Ga={point:Pa,lineStart:Pa,lineEnd:Pa,polygonStart:function(){qa=new ua.a,Ga.lineStart=Ya,Ga.lineEnd=Xa},polygonEnd:function(){var t=+qa;Va.add(t<0?da+t:t),this.lineStart=this.lineEnd=this.point=Pa},sphere:function(){Va.add(da)}};function Ya(){Ga.point=$a}function Xa(){Ka(Fa,Ba)}function $a(t,e){Ga.point=Ka,Fa=t,Ba=e,za=t*=ma,Ha=ya(e=(e*=ma)/2+ha),Ua=ka(e)}function Ka(t,e){var r=(t*=ma)-za,n=r>=0?1:-1,i=n*r,o=ya(e=(e*=ma)/2+ha),a=ka(e),s=Ua*a,c=Ha*o+s*ya(i),u=s*n*ka(i);qa.add(ga(u,c)),za=t,Ha=o,Ua=a}var Za,Ja,Qa,ts,es,rs,ns,is,os,as,ss,cs=function(t){return Va=new ua.a,Wa(t,Ga),2*Va};function us(t){return[ga(t[1],t[0]),Aa(t[2])]}function ls(t){var e=t[0],r=t[1],n=ya(r);return[n*ya(e),n*ka(e),ka(r)]}function fs(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function hs(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ds(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ps(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function ms(t){var e=Ma(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var bs={point:vs,lineStart:ys,lineEnd:ws,polygonStart:function(){bs.point=xs,bs.lineStart=Os,bs.lineEnd=_s,os=new ua.a,Ga.polygonStart()},polygonEnd:function(){Ga.polygonEnd(),bs.point=vs,bs.lineStart=ys,bs.lineEnd=ws,qa<0?(Za=-(Qa=180),Ja=-(ts=90)):os>1e-6?ts=90:os<-1e-6&&(Ja=-90),ss[0]=Za,ss[1]=Qa},sphere:function(){Za=-(Qa=180),Ja=-(ts=90)}};function vs(t,e){as.push(ss=[Za=t,Qa=t]),e<Ja&&(Ja=e),e>ts&&(ts=e)}function gs(t,e){var r=ls([t*ma,e*ma]);if(is){var n=hs(is,r),i=hs([n[1],-n[0],0],n);ms(i),i=us(i);var o,a=t-es,s=a>0?1:-1,c=i[0]*pa*s,u=ba(a)>180;u^(s*es<c&&c<s*t)?(o=i[1]*pa)>ts&&(ts=o):u^(s*es<(c=(c+360)%360-180)&&c<s*t)?(o=-i[1]*pa)<Ja&&(Ja=o):(e<Ja&&(Ja=e),e>ts&&(ts=e)),u?t<es?Ss(Za,t)>Ss(Za,Qa)&&(Qa=t):Ss(t,Qa)>Ss(Za,Qa)&&(Za=t):Qa>=Za?(t<Za&&(Za=t),t>Qa&&(Qa=t)):t>es?Ss(Za,t)>Ss(Za,Qa)&&(Qa=t):Ss(t,Qa)>Ss(Za,Qa)&&(Za=t)}else as.push(ss=[Za=t,Qa=t]);e<Ja&&(Ja=e),e>ts&&(ts=e),is=r,es=t}function ys(){bs.point=gs}function ws(){ss[0]=Za,ss[1]=Qa,bs.point=vs,is=null}function xs(t,e){if(is){var r=t-es;os.add(ba(r)>180?r+(r>0?360:-360):r)}else rs=t,ns=e;Ga.point(t,e),gs(t,e)}function Os(){Ga.lineStart()}function _s(){xs(rs,ns),Ga.lineEnd(),ba(os)>1e-6&&(Za=-(Qa=180)),ss[0]=Za,ss[1]=Qa,is=null}function Ss(t,e){return(e-=t)<0?e+360:e}function ks(t,e){return t[0]-e[0]}function Es(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Ms,Cs,js,As,Ts,Ps,Ds,Rs,Ls,Is,Ns,Fs,Bs,zs,Hs,Us,Ws=function(t){var e,r,n,i,o,a,s;if(ts=Qa=-(Za=Ja=1/0),as=[],Wa(t,bs),r=as.length){for(as.sort(ks),e=1,o=[n=as[0]];e<r;++e)Es(n,(i=as[e])[0])||Es(n,i[1])?(Ss(n[0],i[1])>Ss(n[0],n[1])&&(n[1]=i[1]),Ss(i[0],n[1])>Ss(n[0],n[1])&&(n[0]=i[0])):o.push(n=i);for(a=-1/0,e=0,n=o[r=o.length-1];e<=r;n=i,++e)i=o[e],(s=Ss(n[1],i[0]))>a&&(a=s,Za=i[0],Qa=n[1])}return as=ss=null,Za===1/0||Ja===1/0?[[NaN,NaN],[NaN,NaN]]:[[Za,Ja],[Qa,ts]]},qs={sphere:Pa,point:Vs,lineStart:Ys,lineEnd:Ks,polygonStart:function(){qs.lineStart=Zs,qs.lineEnd=Js},polygonEnd:function(){qs.lineStart=Ys,qs.lineEnd=Ks}};function Vs(t,e){t*=ma;var r=ya(e*=ma);Gs(r*ya(t),r*ka(t),ka(e))}function Gs(t,e,r){++Ms,js+=(t-js)/Ms,As+=(e-As)/Ms,Ts+=(r-Ts)/Ms}function Ys(){qs.point=Xs}function Xs(t,e){t*=ma;var r=ya(e*=ma);zs=r*ya(t),Hs=r*ka(t),Us=ka(e),qs.point=$s,Gs(zs,Hs,Us)}function $s(t,e){t*=ma;var r=ya(e*=ma),n=r*ya(t),i=r*ka(t),o=ka(e),a=ga(Ma((a=Hs*o-Us*i)*a+(a=Us*n-zs*o)*a+(a=zs*i-Hs*n)*a),zs*n+Hs*i+Us*o);Cs+=a,Ps+=a*(zs+(zs=n)),Ds+=a*(Hs+(Hs=i)),Rs+=a*(Us+(Us=o)),Gs(zs,Hs,Us)}function Ks(){qs.point=Vs}function Zs(){qs.point=Qs}function Js(){tc(Fs,Bs),qs.point=Vs}function Qs(t,e){Fs=t,Bs=e,t*=ma,e*=ma,qs.point=tc;var r=ya(e);zs=r*ya(t),Hs=r*ka(t),Us=ka(e),Gs(zs,Hs,Us)}function tc(t,e){t*=ma;var r=ya(e*=ma),n=r*ya(t),i=r*ka(t),o=ka(e),a=Hs*o-Us*i,s=Us*n-zs*o,c=zs*i-Hs*n,u=Oa(a,s,c),l=Aa(u),f=u&&-l/u;Ls.add(f*a),Is.add(f*s),Ns.add(f*c),Cs+=l,Ps+=l*(zs+(zs=n)),Ds+=l*(Hs+(Hs=i)),Rs+=l*(Us+(Us=o)),Gs(zs,Hs,Us)}var ec=function(t){Ms=Cs=js=As=Ts=Ps=Ds=Rs=0,Ls=new ua.a,Is=new ua.a,Ns=new ua.a,Wa(t,qs);var e=+Ls,r=+Is,n=+Ns,i=Oa(e,r,n);return i<1e-12&&(e=Ps,r=Ds,n=Rs,Cs<1e-6&&(e=js,r=As,n=Ts),(i=Oa(e,r,n))<1e-12)?[NaN,NaN]:[ga(r,e)*pa,Aa(n/i)*pa]},rc=function(t){return function(){return t}},nc=function(t,e){function r(r,n){return r=t(r,n),e(r[0],r[1])}return t.invert&&e.invert&&(r.invert=function(r,n){return(r=e.invert(r,n))&&t.invert(r[0],r[1])}),r};function ic(t,e){return[ba(t)>la?t+Math.round(-t/da)*da:t,e]}function oc(t,e,r){return(t%=da)?e||r?nc(sc(t),cc(e,r)):sc(t):e||r?cc(e,r):ic}function ac(t){return function(e,r){return[(e+=t)>la?e-da:e<-la?e+da:e,r]}}function sc(t){var e=ac(t);return e.invert=ac(-t),e}function cc(t,e){var r=ya(t),n=ka(t),i=ya(e),o=ka(e);function a(t,e){var a=ya(e),s=ya(t)*a,c=ka(t)*a,u=ka(e),l=u*r+s*n;return[ga(c*i-l*o,s*r-u*n),Aa(l*i+c*o)]}return a.invert=function(t,e){var a=ya(e),s=ya(t)*a,c=ka(t)*a,u=ka(e),l=u*i-c*o;return[ga(c*i+u*o,s*r+l*n),Aa(l*r-s*n)]},a}ic.invert=ic;var uc=function(t){function e(e){return(e=t(e[0]*ma,e[1]*ma))[0]*=pa,e[1]*=pa,e}return t=oc(t[0]*ma,t[1]*ma,t.length>2?t[2]*ma:0),e.invert=function(e){return(e=t.invert(e[0]*ma,e[1]*ma))[0]*=pa,e[1]*=pa,e},e};function lc(t,e,r,n,i,o){if(r){var a=ya(e),s=ka(e),c=n*r;null==i?(i=e+n*da,o=e-c/2):(i=fc(a,i),o=fc(a,o),(n>0?i<o:i>o)&&(i+=n*da));for(var u,l=i;n>0?l>o:l<o;l-=c)u=us([a,-s*ya(l),-s*ka(l)]),t.point(u[0],u[1])}}function fc(t,e){(e=ls(e))[0]-=t,ms(e);var r=ja(-e[1]);return((-e[2]<0?-r:r)+da-1e-6)%da}var hc=function(){var t,e,r=rc([0,0]),n=rc(90),i=rc(6),o={point:function(r,n){t.push(r=e(r,n)),r[0]*=pa,r[1]*=pa}};function a(){var a=r.apply(this,arguments),s=n.apply(this,arguments)*ma,c=i.apply(this,arguments)*ma;return t=[],e=oc(-a[0]*ma,-a[1]*ma,0).invert,lc(o,s,c,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(r="function"===typeof t?t:rc([+t[0],+t[1]]),a):r},a.radius=function(t){return arguments.length?(n="function"===typeof t?t:rc(+t),a):n},a.precision=function(t){return arguments.length?(i="function"===typeof t?t:rc(+t),a):i},a},dc=function(){var t,e=[];return{point:function(e,r,n){t.push([e,r,n])},lineStart:function(){e.push(t=[])},lineEnd:Pa,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var r=e;return e=[],t=null,r}}},pc=function(t,e){return ba(t[0]-e[0])<1e-6&&ba(t[1]-e[1])<1e-6};function mc(t,e,r,n){this.x=t,this.z=e,this.o=r,this.e=n,this.v=!1,this.n=this.p=null}var bc=function(t,e,r,n,i){var o,a,s=[],c=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,r,n=t[0],a=t[e];if(pc(n,a)){if(!n[2]&&!a[2]){for(i.lineStart(),o=0;o<e;++o)i.point((n=t[o])[0],n[1]);return void i.lineEnd()}a[0]+=2e-6}s.push(r=new mc(n,t,null,!0)),c.push(r.o=new mc(n,null,r,!1)),s.push(r=new mc(a,t,null,!1)),c.push(r.o=new mc(a,null,r,!0))}})),s.length){for(c.sort(e),vc(s),vc(c),o=0,a=c.length;o<a;++o)c[o].e=r=!r;for(var u,l,f=s[0];;){for(var h=f,d=!0;h.v;)if((h=h.n)===f)return;u=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,a=u.length;o<a;++o)i.point((l=u[o])[0],l[1]);else n(h.x,h.n.x,1,i);h=h.n}else{if(d)for(u=h.p.z,o=u.length-1;o>=0;--o)i.point((l=u[o])[0],l[1]);else n(h.x,h.p.x,-1,i);h=h.p}u=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}};function vc(t){if(e=t.length){for(var e,r,n=0,i=t[0];++n<e;)i.n=r=t[n],r.p=i,i=r;i.n=r=t[0],r.p=i}}function gc(t){return ba(t[0])<=la?t[0]:Ea(t[0])*((ba(t[0])+la)%da-la)}var yc=function(t,e){var r=gc(e),n=e[1],i=ka(n),o=[ka(r),-ya(r),0],a=0,s=0,c=new ua.a;1===i?n=fa+1e-6:-1===i&&(n=-fa-1e-6);for(var u=0,l=t.length;u<l;++u)if(h=(f=t[u]).length)for(var f,h,d=f[h-1],p=gc(d),m=d[1]/2+ha,b=ka(m),v=ya(m),g=0;g<h;++g,p=w,b=O,v=_,d=y){var y=f[g],w=gc(y),x=y[1]/2+ha,O=ka(x),_=ya(x),S=w-p,k=S>=0?1:-1,E=k*S,M=E>la,C=b*O;if(c.add(ga(C*k*ka(E),v*_+C*ya(E))),a+=M?S+k*da:S,M^p>=r^w>=r){var j=hs(ls(d),ls(y));ms(j);var A=hs(o,j);ms(A);var T=(M^S>=0?-1:1)*Aa(A[2]);(n>T||n===T&&(j[0]||j[1]))&&(s+=M^S>=0?1:-1)}}return(a<-1e-6||a<1e-6&&c<-1e-12)^1&s},wc=r(783),xc=function(t,e,r,n){return function(i){var o,a,s,c=e(i),u=dc(),l=e(u),f=!1,h={point:d,lineStart:m,lineEnd:b,polygonStart:function(){h.point=v,h.lineStart=g,h.lineEnd=y,a=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=m,h.lineEnd=b,a=Object(wc.a)(a);var t=yc(o,n);a.length?(f||(i.polygonStart(),f=!0),bc(a,_c,t,r,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),r(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),r(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,r){t(e,r)&&i.point(e,r)}function p(t,e){c.point(t,e)}function m(){h.point=p,c.lineStart()}function b(){h.point=d,c.lineEnd()}function v(t,e){s.push([t,e]),l.point(t,e)}function g(){l.lineStart(),s=[]}function y(){v(s[0][0],s[0][1]),l.lineEnd();var t,e,r,n,c=l.clean(),h=u.result(),d=h.length;if(s.pop(),o.push(s),s=null,d)if(1&c){if((e=(r=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<e;++t)i.point((n=r[t])[0],n[1]);i.lineEnd()}}else d>1&&2&c&&h.push(h.pop().concat(h.shift())),a.push(h.filter(Oc))}return h}};function Oc(t){return t.length>1}function _c(t,e){return((t=t.x)[0]<0?t[1]-fa-1e-6:fa-t[1])-((e=e.x)[0]<0?e[1]-fa-1e-6:fa-e[1])}var Sc=xc((function(){return!0}),(function(t){var e,r=NaN,n=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?la:-la,c=ba(o-r);ba(c-la)<1e-6?(t.point(r,n=(n+a)/2>0?fa:-fa),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(s,n),t.point(o,n),e=0):i!==s&&c>=la&&(ba(r-i)<1e-6&&(r-=1e-6*i),ba(o-s)<1e-6&&(o-=1e-6*s),n=function(t,e,r,n){var i,o,a=ka(t-r);return ba(a)>1e-6?va((ka(e)*(o=ya(n))*ka(r)-ka(n)*(i=ya(e))*ka(t))/(i*o*a)):(e+n)/2}(r,n,o,a),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(s,n),e=0),t.point(r=o,n=a),i=s},lineEnd:function(){t.lineEnd(),r=n=NaN},clean:function(){return 2-e}}}),(function(t,e,r,n){var i;if(null==t)i=r*fa,n.point(-la,i),n.point(0,i),n.point(la,i),n.point(la,0),n.point(la,-i),n.point(0,-i),n.point(-la,-i),n.point(-la,0),n.point(-la,i);else if(ba(t[0]-e[0])>1e-6){var o=t[0]<e[0]?la:-la;i=r*o/2,n.point(-o,i),n.point(0,i),n.point(o,i)}else n.point(e[0],e[1])}),[-la,-fa]);var kc=function(t){var e=ya(t),r=6*ma,n=e>0,i=ba(e)>1e-6;function o(t,r){return ya(t)*ya(r)>e}function a(t,r,n){var i=[1,0,0],o=hs(ls(t),ls(r)),a=fs(o,o),s=o[0],c=a-s*s;if(!c)return!n&&t;var u=e*a/c,l=-e*s/c,f=hs(i,o),h=ps(i,u);ds(h,ps(o,l));var d=f,p=fs(h,d),m=fs(d,d),b=p*p-m*(fs(h,h)-1);if(!(b<0)){var v=Ma(b),g=ps(d,(-p-v)/m);if(ds(g,h),g=us(g),!n)return g;var y,w=t[0],x=r[0],O=t[1],_=r[1];x<w&&(y=w,w=x,x=y);var S=x-w,k=ba(S-la)<1e-6;if(!k&&_<O&&(y=O,O=_,_=y),k||S<1e-6?k?O+_>0^g[1]<(ba(g[0]-w)<1e-6?O:_):O<=g[1]&&g[1]<=_:S>la^(w<=g[0]&&g[0]<=x)){var E=ps(d,(-p+v)/m);return ds(E,h),[g,us(E)]}}}function s(e,r){var i=n?t:la-t,o=0;return e<-i?o|=1:e>i&&(o|=2),r<-i?o|=4:r>i&&(o|=8),o}return xc(o,(function(t){var e,r,c,u,l;return{lineStart:function(){u=c=!1,l=1},point:function(f,h){var d,p=[f,h],m=o(f,h),b=n?m?0:s(f,h):m?s(f+(f<0?la:-la),h):0;if(!e&&(u=c=m)&&t.lineStart(),m!==c&&(!(d=a(e,p))||pc(e,d)||pc(p,d))&&(p[2]=1),m!==c)l=0,m?(t.lineStart(),d=a(p,e),t.point(d[0],d[1])):(d=a(e,p),t.point(d[0],d[1],2),t.lineEnd()),e=d;else if(i&&e&&n^m){var v;b&r||!(v=a(p,e,!0))||(l=0,n?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1],3)))}!m||e&&pc(e,p)||t.point(p[0],p[1]),e=p,c=m,r=b},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return l|(u&&c)<<1}}}),(function(e,n,i,o){lc(o,t,r,i,e,n)}),n?[0,-t]:[-la,t-la])};function Ec(t,e,r,n){function i(i,o){return t<=i&&i<=r&&e<=o&&o<=n}function o(i,o,s,u){var l=0,f=0;if(null==i||(l=a(i,s))!==(f=a(o,s))||c(i,o)<0^s>0)do{u.point(0===l||3===l?t:r,l>1?n:e)}while((l=(l+s+4)%4)!==f);else u.point(o[0],o[1])}function a(n,i){return ba(n[0]-t)<1e-6?i>0?0:3:ba(n[0]-r)<1e-6?i>0?2:1:ba(n[1]-e)<1e-6?i>0?1:0:i>0?3:2}function s(t,e){return c(t.x,e.x)}function c(t,e){var r=a(t,1),n=a(e,1);return r!==n?r-n:0===r?e[1]-t[1]:1===r?t[0]-e[0]:2===r?t[1]-e[1]:e[0]-t[0]}return function(a){var c,u,l,f,h,d,p,m,b,v,g,y=a,w=dc(),x={point:O,lineStart:function(){x.point=_,u&&u.push(l=[]);v=!0,b=!1,p=m=NaN},lineEnd:function(){c&&(_(f,h),d&&b&&w.rejoin(),c.push(w.result()));x.point=O,b&&y.lineEnd()},polygonStart:function(){y=w,c=[],u=[],g=!0},polygonEnd:function(){var e=function(){for(var e=0,r=0,i=u.length;r<i;++r)for(var o,a,s=u[r],c=1,l=s.length,f=s[0],h=f[0],d=f[1];c<l;++c)o=h,a=d,f=s[c],h=f[0],d=f[1],a<=n?d>n&&(h-o)*(n-a)>(d-a)*(t-o)&&++e:d<=n&&(h-o)*(n-a)<(d-a)*(t-o)&&--e;return e}(),r=g&&e,i=(c=Object(wc.a)(c)).length;(r||i)&&(a.polygonStart(),r&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&bc(c,s,e,o,a),a.polygonEnd());y=a,c=u=l=null}};function O(t,e){i(t,e)&&y.point(t,e)}function _(o,a){var s=i(o,a);if(u&&l.push([o,a]),v)f=o,h=a,d=s,v=!1,s&&(y.lineStart(),y.point(o,a));else if(s&&b)y.point(o,a);else{var c=[p=Math.max(-1e9,Math.min(1e9,p)),m=Math.max(-1e9,Math.min(1e9,m))],w=[o=Math.max(-1e9,Math.min(1e9,o)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,e,r,n,i,o){var a,s=t[0],c=t[1],u=0,l=1,f=e[0]-s,h=e[1]-c;if(a=r-s,f||!(a>0)){if(a/=f,f<0){if(a<u)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>u&&(u=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>u&&(u=a)}else if(f>0){if(a<u)return;a<l&&(l=a)}if(a=n-c,h||!(a>0)){if(a/=h,h<0){if(a<u)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>u&&(u=a)}if(a=o-c,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>u&&(u=a)}else if(h>0){if(a<u)return;a<l&&(l=a)}return u>0&&(t[0]=s+u*f,t[1]=c+u*h),l<1&&(e[0]=s+l*f,e[1]=c+l*h),!0}}}}}(c,w,t,e,r,n)?s&&(y.lineStart(),y.point(o,a),g=!1):(b||(y.lineStart(),y.point(c[0],c[1])),y.point(w[0],w[1]),s||y.lineEnd(),g=!1)}p=o,m=a,b=s}return x}}var Mc,Cc,jc,Ac,Tc=function(){var t,e,r,n=0,i=0,o=960,a=500;return r={stream:function(r){return t&&e===r?t:t=Ec(n,i,o,a)(e=r)},extent:function(s){return arguments.length?(n=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,r):[[n,i],[o,a]]}}},Pc={sphere:Pa,point:Pa,lineStart:function(){Pc.point=Rc,Pc.lineEnd=Dc},lineEnd:Pa,polygonStart:Pa,polygonEnd:Pa};function Dc(){Pc.point=Pc.lineEnd=Pa}function Rc(t,e){Cc=t*=ma,jc=ka(e*=ma),Ac=ya(e),Pc.point=Lc}function Lc(t,e){t*=ma;var r=ka(e*=ma),n=ya(e),i=ba(t-Cc),o=ya(i),a=n*ka(i),s=Ac*r-jc*n*o,c=jc*r+Ac*n*o;Mc.add(ga(Ma(a*a+s*s),c)),Cc=t,jc=r,Ac=n}var Ic=function(t){return Mc=new ua.a,Wa(t,Pc),+Mc},Nc=[null,null],Fc={type:"LineString",coordinates:Nc},Bc=function(t,e){return Nc[0]=t,Nc[1]=e,Ic(Fc)},zc={Feature:function(t,e){return Uc(t.geometry,e)},FeatureCollection:function(t,e){for(var r=t.features,n=-1,i=r.length;++n<i;)if(Uc(r[n].geometry,e))return!0;return!1}},Hc={Sphere:function(){return!0},Point:function(t,e){return Wc(t.coordinates,e)},MultiPoint:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(Wc(r[n],e))return!0;return!1},LineString:function(t,e){return qc(t.coordinates,e)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(qc(r[n],e))return!0;return!1},Polygon:function(t,e){return Vc(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)if(Vc(r[n],e))return!0;return!1},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,i=r.length;++n<i;)if(Uc(r[n],e))return!0;return!1}};function Uc(t,e){return!(!t||!Hc.hasOwnProperty(t.type))&&Hc[t.type](t,e)}function Wc(t,e){return 0===Bc(t,e)}function qc(t,e){for(var r,n,i,o=0,a=t.length;o<a;o++){if(0===(n=Bc(t[o],e)))return!0;if(o>0&&(i=Bc(t[o],t[o-1]))>0&&r<=i&&n<=i&&(r+n-i)*(1-Math.pow((r-n)/i,2))<1e-12*i)return!0;r=n}return!1}function Vc(t,e){return!!yc(t.map(Gc),Yc(e))}function Gc(t){return(t=t.map(Yc)).pop(),t}function Yc(t){return[t[0]*ma,t[1]*ma]}var Xc=function(t,e){return(t&&zc.hasOwnProperty(t.type)?zc[t.type]:Uc)(t,e)};function $c(t,e,r){var n=Object(On.a)(t,e-1e-6,r).concat(e);return function(t){return n.map((function(e){return[t,e]}))}}function Kc(t,e,r){var n=Object(On.a)(t,e-1e-6,r).concat(e);return function(t){return n.map((function(e){return[e,t]}))}}function Zc(){var t,e,r,n,i,o,a,s,c,u,l,f,h=10,d=h,p=90,m=360,b=2.5;function v(){return{type:"MultiLineString",coordinates:g()}}function g(){return Object(On.a)(wa(n/p)*p,r,p).map(l).concat(Object(On.a)(wa(s/m)*m,a,m).map(f)).concat(Object(On.a)(wa(e/h)*h,t,h).filter((function(t){return ba(t%p)>1e-6})).map(c)).concat(Object(On.a)(wa(o/d)*d,i,d).filter((function(t){return ba(t%m)>1e-6})).map(u))}return v.lines=function(){return g().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[l(n).concat(f(a).slice(1),l(r).reverse().slice(1),f(s).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(n=+t[0][0],r=+t[1][0],s=+t[0][1],a=+t[1][1],n>r&&(t=n,n=r,r=t),s>a&&(t=s,s=a,a=t),v.precision(b)):[[n,s],[r,a]]},v.extentMinor=function(r){return arguments.length?(e=+r[0][0],t=+r[1][0],o=+r[0][1],i=+r[1][1],e>t&&(r=e,e=t,t=r),o>i&&(r=o,o=i,i=r),v.precision(b)):[[e,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],m=+t[1],v):[p,m]},v.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],v):[h,d]},v.precision=function(h){return arguments.length?(b=+h,c=$c(o,i,90),u=Kc(e,t,b),l=$c(s,a,90),f=Kc(n,r,b),v):b},v.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Jc(){return Zc()()}var Qc,tu,eu,ru,nu=function(t,e){var r=t[0]*ma,n=t[1]*ma,i=e[0]*ma,o=e[1]*ma,a=ya(n),s=ka(n),c=ya(o),u=ka(o),l=a*ya(r),f=a*ka(r),h=c*ya(i),d=c*ka(i),p=2*Aa(Ma(Ta(o-n)+a*c*Ta(i-r))),m=ka(p),b=p?function(t){var e=ka(t*=p)/m,r=ka(p-t)/m,n=r*l+e*h,i=r*f+e*d,o=r*s+e*u;return[ga(i,n)*pa,ga(o,Ma(n*n+i*i))*pa]}:function(){return[r*pa,n*pa]};return b.distance=p,b},iu=function(t){return t},ou=new ua.a,au=new ua.a,su={point:Pa,lineStart:Pa,lineEnd:Pa,polygonStart:function(){su.lineStart=cu,su.lineEnd=fu},polygonEnd:function(){su.lineStart=su.lineEnd=su.point=Pa,ou.add(ba(au)),au=new ua.a},result:function(){var t=ou/2;return ou=new ua.a,t}};function cu(){su.point=uu}function uu(t,e){su.point=lu,Qc=eu=t,tu=ru=e}function lu(t,e){au.add(ru*t-eu*e),eu=t,ru=e}function fu(){lu(Qc,tu)}var hu=su,du=1/0,pu=du,mu=-du,bu=mu;var vu,gu,yu,wu,xu={point:function(t,e){t<du&&(du=t);t>mu&&(mu=t);e<pu&&(pu=e);e>bu&&(bu=e)},lineStart:Pa,lineEnd:Pa,polygonStart:Pa,polygonEnd:Pa,result:function(){var t=[[du,pu],[mu,bu]];return mu=bu=-(pu=du=1/0),t}},Ou=0,_u=0,Su=0,ku=0,Eu=0,Mu=0,Cu=0,ju=0,Au=0,Tu={point:Pu,lineStart:Du,lineEnd:Iu,polygonStart:function(){Tu.lineStart=Nu,Tu.lineEnd=Fu},polygonEnd:function(){Tu.point=Pu,Tu.lineStart=Du,Tu.lineEnd=Iu},result:function(){var t=Au?[Cu/Au,ju/Au]:Mu?[ku/Mu,Eu/Mu]:Su?[Ou/Su,_u/Su]:[NaN,NaN];return Ou=_u=Su=ku=Eu=Mu=Cu=ju=Au=0,t}};function Pu(t,e){Ou+=t,_u+=e,++Su}function Du(){Tu.point=Ru}function Ru(t,e){Tu.point=Lu,Pu(yu=t,wu=e)}function Lu(t,e){var r=t-yu,n=e-wu,i=Ma(r*r+n*n);ku+=i*(yu+t)/2,Eu+=i*(wu+e)/2,Mu+=i,Pu(yu=t,wu=e)}function Iu(){Tu.point=Pu}function Nu(){Tu.point=Bu}function Fu(){zu(vu,gu)}function Bu(t,e){Tu.point=zu,Pu(vu=yu=t,gu=wu=e)}function zu(t,e){var r=t-yu,n=e-wu,i=Ma(r*r+n*n);ku+=i*(yu+t)/2,Eu+=i*(wu+e)/2,Mu+=i,Cu+=(i=wu*t-yu*e)*(yu+t),ju+=i*(wu+e),Au+=3*i,Pu(yu=t,wu=e)}var Hu=Tu;function Uu(t){this._context=t}Uu.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,da)}},result:Pa};var Wu,qu,Vu,Gu,Yu,Xu=new ua.a,$u={point:Pa,lineStart:function(){$u.point=Ku},lineEnd:function(){Wu&&Zu(qu,Vu),$u.point=Pa},polygonStart:function(){Wu=!0},polygonEnd:function(){Wu=null},result:function(){var t=+Xu;return Xu=new ua.a,t}};function Ku(t,e){$u.point=Zu,qu=Gu=t,Vu=Yu=e}function Zu(t,e){Gu-=t,Yu-=e,Xu.add(Ma(Gu*Gu+Yu*Yu)),Gu=t,Yu=e}var Ju=$u;function Qu(){this._string=[]}function tl(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Qu.prototype={_radius:4.5,_circle:tl(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=tl(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var el=function(t,e){var r,n,i=4.5;function o(t){return t&&("function"===typeof i&&n.pointRadius(+i.apply(this,arguments)),Wa(t,r(n))),n.result()}return o.area=function(t){return Wa(t,r(hu)),hu.result()},o.measure=function(t){return Wa(t,r(Ju)),Ju.result()},o.bounds=function(t){return Wa(t,r(xu)),xu.result()},o.centroid=function(t){return Wa(t,r(Hu)),Hu.result()},o.projection=function(e){return arguments.length?(r=null==e?(t=null,iu):(t=e).stream,o):t},o.context=function(t){return arguments.length?(n=null==t?(e=null,new Qu):new Uu(e=t),"function"!==typeof i&&n.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"===typeof t?t:(n.pointRadius(+t),+t),o):i},o.projection(t).context(e)},rl=function(t){return{stream:nl(t)}};function nl(t){return function(e){var r=new il;for(var n in t)r[n]=t[n];return r.stream=e,r}}function il(){}function ol(t,e,r){var n=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=n&&t.clipExtent(null),Wa(r,t.stream(xu)),e(xu.result()),null!=n&&t.clipExtent(n),t}function al(t,e,r){return ol(t,(function(r){var n=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(n/(r[1][0]-r[0][0]),i/(r[1][1]-r[0][1])),a=+e[0][0]+(n-o*(r[1][0]+r[0][0]))/2,s=+e[0][1]+(i-o*(r[1][1]+r[0][1]))/2;t.scale(150*o).translate([a,s])}),r)}function sl(t,e,r){return al(t,[[0,0],e],r)}function cl(t,e,r){return ol(t,(function(r){var n=+e,i=n/(r[1][0]-r[0][0]),o=(n-i*(r[1][0]+r[0][0]))/2,a=-i*r[0][1];t.scale(150*i).translate([o,a])}),r)}function ul(t,e,r){return ol(t,(function(r){var n=+e,i=n/(r[1][1]-r[0][1]),o=-i*r[0][0],a=(n-i*(r[1][1]+r[0][1]))/2;t.scale(150*i).translate([o,a])}),r)}il.prototype={constructor:il,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var ll=ya(30*ma),fl=function(t,e){return+e?function(t,e){function r(n,i,o,a,s,c,u,l,f,h,d,p,m,b){var v=u-n,g=l-i,y=v*v+g*g;if(y>4*e&&m--){var w=a+h,x=s+d,O=c+p,_=Ma(w*w+x*x+O*O),S=Aa(O/=_),k=ba(ba(O)-1)<1e-6||ba(o-f)<1e-6?(o+f)/2:ga(x,w),E=t(k,S),M=E[0],C=E[1],j=M-n,A=C-i,T=g*j-v*A;(T*T/y>e||ba((v*j+g*A)/y-.5)>.3||a*h+s*d+c*p<ll)&&(r(n,i,o,a,s,c,M,C,k,w/=_,x/=_,O,m,b),b.point(M,C),r(M,C,k,w,x,O,u,l,f,h,d,p,m,b))}}return function(e){var n,i,o,a,s,c,u,l,f,h,d,p,m={point:b,lineStart:v,lineEnd:y,polygonStart:function(){e.polygonStart(),m.lineStart=w},polygonEnd:function(){e.polygonEnd(),m.lineStart=v}};function b(r,n){r=t(r,n),e.point(r[0],r[1])}function v(){l=NaN,m.point=g,e.lineStart()}function g(n,i){var o=ls([n,i]),a=t(n,i);r(l,f,u,h,d,p,l=a[0],f=a[1],u=n,h=o[0],d=o[1],p=o[2],16,e),e.point(l,f)}function y(){m.point=b,e.lineEnd()}function w(){v(),m.point=x,m.lineEnd=O}function x(t,e){g(n=t,e),i=l,o=f,a=h,s=d,c=p,m.point=g}function O(){r(l,f,u,h,d,p,i,o,n,a,s,c,16,e),m.lineEnd=y,y()}return m}}(t,e):function(t){return nl({point:function(e,r){e=t(e,r),this.stream.point(e[0],e[1])}})}(t)};var hl=nl({point:function(t,e){this.stream.point(t*ma,e*ma)}});function dl(t,e,r,n,i,o){if(!o)return function(t,e,r,n,i){function o(o,a){return[e+t*(o*=n),r-t*(a*=i)]}return o.invert=function(o,a){return[(o-e)/t*n,(r-a)/t*i]},o}(t,e,r,n,i);var a=ya(o),s=ka(o),c=a*t,u=s*t,l=a/t,f=s/t,h=(s*r-a*e)/t,d=(s*e+a*r)/t;function p(t,o){return[c*(t*=n)-u*(o*=i)+e,r-u*t-c*o]}return p.invert=function(t,e){return[n*(l*t-f*e+h),i*(d-f*t-l*e)]},p}function pl(t){return ml((function(){return t}))()}function ml(t){var e,r,n,i,o,a,s,c,u,l,f=150,h=480,d=250,p=0,m=0,b=0,v=0,g=0,y=0,w=1,x=1,O=null,_=Sc,S=null,k=iu,E=.5;function M(t){return c(t[0]*ma,t[1]*ma)}function C(t){return(t=c.invert(t[0],t[1]))&&[t[0]*pa,t[1]*pa]}function j(){var t=dl(f,0,0,w,x,y).apply(null,e(p,m)),n=dl(f,h-t[0],d-t[1],w,x,y);return r=oc(b,v,g),s=nc(e,n),c=nc(r,s),a=fl(s,E),A()}function A(){return u=l=null,M}return M.stream=function(t){return u&&l===t?u:u=hl(function(t){return nl({point:function(e,r){var n=t(e,r);return this.stream.point(n[0],n[1])}})}(r)(_(a(k(l=t)))))},M.preclip=function(t){return arguments.length?(_=t,O=void 0,A()):_},M.postclip=function(t){return arguments.length?(k=t,S=n=i=o=null,A()):k},M.clipAngle=function(t){return arguments.length?(_=+t?kc(O=t*ma):(O=null,Sc),A()):O*pa},M.clipExtent=function(t){return arguments.length?(k=null==t?(S=n=i=o=null,iu):Ec(S=+t[0][0],n=+t[0][1],i=+t[1][0],o=+t[1][1]),A()):null==S?null:[[S,n],[i,o]]},M.scale=function(t){return arguments.length?(f=+t,j()):f},M.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],j()):[h,d]},M.center=function(t){return arguments.length?(p=t[0]%360*ma,m=t[1]%360*ma,j()):[p*pa,m*pa]},M.rotate=function(t){return arguments.length?(b=t[0]%360*ma,v=t[1]%360*ma,g=t.length>2?t[2]%360*ma:0,j()):[b*pa,v*pa,g*pa]},M.angle=function(t){return arguments.length?(y=t%360*ma,j()):y*pa},M.reflectX=function(t){return arguments.length?(w=t?-1:1,j()):w<0},M.reflectY=function(t){return arguments.length?(x=t?-1:1,j()):x<0},M.precision=function(t){return arguments.length?(a=fl(s,E=t*t),A()):Ma(E)},M.fitExtent=function(t,e){return al(M,t,e)},M.fitSize=function(t,e){return sl(M,t,e)},M.fitWidth=function(t,e){return cl(M,t,e)},M.fitHeight=function(t,e){return ul(M,t,e)},function(){return e=t.apply(this,arguments),M.invert=e.invert&&C,j()}}function bl(t){var e=0,r=la/3,n=ml(t),i=n(e,r);return i.parallels=function(t){return arguments.length?n(e=t[0]*ma,r=t[1]*ma):[e*pa,r*pa]},i}function vl(t,e){var r=ka(t),n=(r+ka(e))/2;if(ba(n)<1e-6)return function(t){var e=ya(t);function r(t,r){return[t*e,ka(r)/e]}return r.invert=function(t,r){return[t/e,Aa(r*e)]},r}(t);var i=1+r*(2*n-r),o=Ma(i)/n;function a(t,e){var r=Ma(i-2*n*ka(e))/n;return[r*ka(t*=n),o-r*ya(t)]}return a.invert=function(t,e){var r=o-e,a=ga(t,ba(r))*Ea(r);return r*n<0&&(a-=la*Ea(t)*Ea(r)),[a/n,Aa((i-(t*t+r*r)*n*n)/(2*n))]},a}var gl=function(){return bl(vl).scale(155.424).center([0,33.6442])},yl=function(){return gl().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var wl=function(){var t,e,r,n,i,o,a=yl(),s=gl().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=gl().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(t,e){o=[t,e]}};function l(t){var e=t[0],a=t[1];return o=null,r.point(e,a),o||(n.point(e,a),o)||(i.point(e,a),o)}function f(){return t=e=null,l}return l.invert=function(t){var e=a.scale(),r=a.translate(),n=(t[0]-r[0])/e,i=(t[1]-r[1])/e;return(i>=.12&&i<.234&&n>=-.425&&n<-.214?s:i>=.166&&i<.234&&n>=-.214&&n<-.115?c:a).invert(t)},l.stream=function(r){return t&&e===r?t:t=function(t){var e=t.length;return{point:function(r,n){for(var i=-1;++i<e;)t[i].point(r,n)},sphere:function(){for(var r=-1;++r<e;)t[r].sphere()},lineStart:function(){for(var r=-1;++r<e;)t[r].lineStart()},lineEnd:function(){for(var r=-1;++r<e;)t[r].lineEnd()},polygonStart:function(){for(var r=-1;++r<e;)t[r].polygonStart()},polygonEnd:function(){for(var r=-1;++r<e;)t[r].polygonEnd()}}}([a.stream(e=r),s.stream(r),c.stream(r)])},l.precision=function(t){return arguments.length?(a.precision(t),s.precision(t),c.precision(t),f()):a.precision()},l.scale=function(t){return arguments.length?(a.scale(t),s.scale(.35*t),c.scale(t),l.translate(a.translate())):a.scale()},l.translate=function(t){if(!arguments.length)return a.translate();var e=a.scale(),o=+t[0],l=+t[1];return r=a.translate(t).clipExtent([[o-.455*e,l-.238*e],[o+.455*e,l+.238*e]]).stream(u),n=s.translate([o-.307*e,l+.201*e]).clipExtent([[o-.425*e+1e-6,l+.12*e+1e-6],[o-.214*e-1e-6,l+.234*e-1e-6]]).stream(u),i=c.translate([o-.205*e,l+.212*e]).clipExtent([[o-.214*e+1e-6,l+.166*e+1e-6],[o-.115*e-1e-6,l+.234*e-1e-6]]).stream(u),f()},l.fitExtent=function(t,e){return al(l,t,e)},l.fitSize=function(t,e){return sl(l,t,e)},l.fitWidth=function(t,e){return cl(l,t,e)},l.fitHeight=function(t,e){return ul(l,t,e)},l.scale(1070)};function xl(t){return function(e,r){var n=ya(e),i=ya(r),o=t(n*i);return o===1/0?[2,0]:[o*i*ka(e),o*ka(r)]}}function Ol(t){return function(e,r){var n=Ma(e*e+r*r),i=t(n),o=ka(i),a=ya(i);return[ga(e*o,n*a),Aa(n&&r*o/n)]}}var _l=xl((function(t){return Ma(2/(1+t))}));_l.invert=Ol((function(t){return 2*Aa(t/2)}));var Sl=function(){return pl(_l).scale(124.75).clipAngle(179.999)},kl=xl((function(t){return(t=ja(t))&&t/ka(t)}));kl.invert=Ol((function(t){return t}));var El=function(){return pl(kl).scale(79.4188).clipAngle(179.999)};function Ml(t,e){return[t,_a(Ca((fa+e)/2))]}Ml.invert=function(t,e){return[t,2*va(xa(e))-fa]};var Cl=function(){return jl(Ml).scale(961/da)};function jl(t){var e,r,n,i=pl(t),o=i.center,a=i.scale,s=i.translate,c=i.clipExtent,u=null;function l(){var o=la*a(),s=i(uc(i.rotate()).invert([0,0]));return c(null==u?[[s[0]-o,s[1]-o],[s[0]+o,s[1]+o]]:t===Ml?[[Math.max(s[0]-o,u),e],[Math.min(s[0]+o,r),n]]:[[u,Math.max(s[1]-o,e)],[r,Math.min(s[1]+o,n)]])}return i.scale=function(t){return arguments.length?(a(t),l()):a()},i.translate=function(t){return arguments.length?(s(t),l()):s()},i.center=function(t){return arguments.length?(o(t),l()):o()},i.clipExtent=function(t){return arguments.length?(null==t?u=e=r=n=null:(u=+t[0][0],e=+t[0][1],r=+t[1][0],n=+t[1][1]),l()):null==u?null:[[u,e],[r,n]]},l()}function Al(t){return Ca((fa+t)/2)}function Tl(t,e){var r=ya(t),n=t===e?ka(t):_a(r/ya(e))/_a(Al(e)/Al(t)),i=r*Sa(Al(t),n)/n;if(!n)return Ml;function o(t,e){i>0?e<1e-6-fa&&(e=1e-6-fa):e>fa-1e-6&&(e=fa-1e-6);var r=i/Sa(Al(e),n);return[r*ka(n*t),i-r*ya(n*t)]}return o.invert=function(t,e){var r=i-e,o=Ea(n)*Ma(t*t+r*r),a=ga(t,ba(r))*Ea(r);return r*n<0&&(a-=la*Ea(t)*Ea(r)),[a/n,2*va(Sa(i/o,1/n))-fa]},o}var Pl=function(){return bl(Tl).scale(109.5).parallels([30,30])};function Dl(t,e){return[t,e]}Dl.invert=Dl;var Rl=function(){return pl(Dl).scale(152.63)};function Ll(t,e){var r=ya(t),n=t===e?ka(t):(r-ya(e))/(e-t),i=r/n+t;if(ba(n)<1e-6)return Dl;function o(t,e){var r=i-e,o=n*t;return[r*ka(o),i-r*ya(o)]}return o.invert=function(t,e){var r=i-e,o=ga(t,ba(r))*Ea(r);return r*n<0&&(o-=la*Ea(t)*Ea(r)),[o/n,i-Ea(n)*Ma(t*t+r*r)]},o}var Il=function(){return bl(Ll).scale(131.154).center([0,13.9389])},Nl=1.340264,Fl=-.081106,Bl=893e-6,zl=.003796,Hl=Ma(3)/2;function Ul(t,e){var r=Aa(Hl*ka(e)),n=r*r,i=n*n*n;return[t*ya(r)/(Hl*(Nl+3*Fl*n+i*(7*Bl+9*zl*n))),r*(Nl+Fl*n+i*(Bl+zl*n))]}Ul.invert=function(t,e){for(var r,n=e,i=n*n,o=i*i*i,a=0;a<12&&(o=(i=(n-=r=(n*(Nl+Fl*i+o*(Bl+zl*i))-e)/(Nl+3*Fl*i+o*(7*Bl+9*zl*i)))*n)*i*i,!(ba(r)<1e-12));++a);return[Hl*t*(Nl+3*Fl*i+o*(7*Bl+9*zl*i))/ya(n),Aa(ka(n)/Hl)]};var Wl=function(){return pl(Ul).scale(177.158)};function ql(t,e){var r=ya(e),n=ya(t)*r;return[r*ka(t)/n,ka(e)/n]}ql.invert=Ol(va);var Vl=function(){return pl(ql).scale(144.049).clipAngle(60)},Gl=function(){var t,e,r,n,i,o,a,s=1,c=0,u=0,l=1,f=1,h=0,d=null,p=1,m=1,b=nl({point:function(t,e){var r=y([t,e]);this.stream.point(r[0],r[1])}}),v=iu;function g(){return p=s*l,m=s*f,o=a=null,y}function y(r){var n=r[0]*p,i=r[1]*m;if(h){var o=i*t-n*e;n=n*t+i*e,i=o}return[n+c,i+u]}return y.invert=function(r){var n=r[0]-c,i=r[1]-u;if(h){var o=i*t+n*e;n=n*t-i*e,i=o}return[n/p,i/m]},y.stream=function(t){return o&&a===t?o:o=b(v(a=t))},y.postclip=function(t){return arguments.length?(v=t,d=r=n=i=null,g()):v},y.clipExtent=function(t){return arguments.length?(v=null==t?(d=r=n=i=null,iu):Ec(d=+t[0][0],r=+t[0][1],n=+t[1][0],i=+t[1][1]),g()):null==d?null:[[d,r],[n,i]]},y.scale=function(t){return arguments.length?(s=+t,g()):s},y.translate=function(t){return arguments.length?(c=+t[0],u=+t[1],g()):[c,u]},y.angle=function(r){return arguments.length?(e=ka(h=r%360*ma),t=ya(h),g()):h*pa},y.reflectX=function(t){return arguments.length?(l=t?-1:1,g()):l<0},y.reflectY=function(t){return arguments.length?(f=t?-1:1,g()):f<0},y.fitExtent=function(t,e){return al(y,t,e)},y.fitSize=function(t,e){return sl(y,t,e)},y.fitWidth=function(t,e){return cl(y,t,e)},y.fitHeight=function(t,e){return ul(y,t,e)},y};function Yl(t,e){var r=e*e,n=r*r;return[t*(.8707-.131979*r+n*(n*(.003971*r-.001529*n)-.013791)),e*(1.007226+r*(.015085+n*(.028874*r-.044475-.005916*n)))]}Yl.invert=function(t,e){var r,n=e,i=25;do{var o=n*n,a=o*o;n-=r=(n*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(ba(r)>1e-6&&--i>0);return[t/(.8707+(o=n*n)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),n]};var Xl=function(){return pl(Yl).scale(175.295)};function $l(t,e){return[ya(e)*ka(t),ka(e)]}$l.invert=Ol(Aa);var Kl=function(){return pl($l).scale(249.5).clipAngle(90.000001)};function Zl(t,e){var r=ya(e),n=1+ya(t)*r;return[r*ka(t)/n,ka(e)/n]}Zl.invert=Ol((function(t){return 2*va(t)}));var Jl=function(){return pl(Zl).scale(250).clipAngle(142)};function Ql(t,e){return[_a(Ca((fa+e)/2)),-t]}Ql.invert=function(t,e){return[-e,2*va(xa(t))-fa]};var tf=function(){var t=jl(Ql),e=t.center,r=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?r([t[0],t[1],t.length>2?t[2]+90:90]):[(t=r())[0],t[1],t[2]-90]},r([0,0,90]).scale(159.155)};function ef(t,e){return t.parent===e.parent?1:2}function rf(t,e){return t+e.x}function nf(t,e){return Math.max(t,e.y)}var of=function(){var t=ef,e=1,r=1,n=!1;function i(i){var o,a=0;i.eachAfter((function(e){var r=e.children;r?(e.x=function(t){return t.reduce(rf,0)/t.length}(r),e.y=function(t){return 1+t.reduce(nf,0)}(r)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)}));var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),u=s.x-t(s,c)/2,l=c.x+t(c,s)/2;return i.eachAfter(n?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*r}:function(t){t.x=(t.x-u)/(l-u)*e,t.y=(1-(i.y?t.y/i.y:1))*r})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(n=!1,e=+t[0],r=+t[1],i):n?null:[e,r]},i.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],r=+t[1],i):n?[e,r]:null},i};function af(t){var e=0,r=t.children,n=r&&r.length;if(n)for(;--n>=0;)e+=r[n].value;else e=1;t.value=e}var sf=Nt.a.mark(cf);function cf(){var t,e,r,n,i,o;return Nt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:r=[t=this];case 1:e=r.reverse(),r=[];case 2:if(!(t=e.pop())){a.next=8;break}return a.next=5,t;case 5:if(n=t.children)for(i=0,o=n.length;i<o;++i)r.push(n[i]);a.next=2;break;case 8:if(r.length){a.next=1;break}case 9:case"end":return a.stop()}}),sf,this)}function uf(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=ff)):void 0===e&&(e=lf);for(var r,n,i,o,a,s=new pf(t),c=[s];r=c.pop();)if((i=e(r.data))&&(a=(i=Array.from(i)).length))for(r.children=i,o=a-1;o>=0;--o)c.push(n=i[o]=new pf(i[o])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(df)}function lf(t){return t.children}function ff(t){return Array.isArray(t)?t[1]:null}function hf(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function df(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function pf(t){this.data=t,this.depth=this.height=0,this.parent=null}pf.prototype=uf.prototype=Object(k.a)({constructor:pf,count:function(){return this.eachAfter(af)},each:function(t,e){var r,n=-1,i=Object(v.a)(this);try{for(i.s();!(r=i.n()).done;){var o=r.value;t.call(e,o,++n,this)}}catch(a){i.e(a)}finally{i.f()}return this},eachAfter:function(t,e){for(var r,n,i,o=this,a=[o],s=[],c=-1;o=a.pop();)if(s.push(o),r=o.children)for(n=0,i=r.length;n<i;++n)a.push(r[n]);for(;o=s.pop();)t.call(e,o,++c,this);return this},eachBefore:function(t,e){for(var r,n,i=this,o=[i],a=-1;i=o.pop();)if(t.call(e,i,++a,this),r=i.children)for(n=r.length-1;n>=0;--n)o.push(r[n]);return this},find:function(t,e){var r,n=-1,i=Object(v.a)(this);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(t.call(e,o,++n,this))return o}}catch(a){i.e(a)}finally{i.f()}},sum:function(t){return this.eachAfter((function(e){for(var r=+t(e.data)||0,n=e.children,i=n&&n.length;--i>=0;)r+=n[i].value;e.value=r}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),n=e.ancestors(),i=null;t=r.pop(),e=n.pop();for(;t===e;)i=t,t=r.pop(),e=n.pop();return i}(e,t),n=[e];e!==r;)e=e.parent,n.push(e);for(var i=n.length;t!==r;)n.splice(i,0,t),t=t.parent;return n},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(r){r!==t&&e.push({source:r.parent,target:r})})),e},copy:function(){return uf(this).eachBefore(hf)}},Symbol.iterator,cf);var mf=function(t){for(var e,r,n=0,i=(t=function(t){for(var e,r,n=t.length;n;)r=Math.random()*n--|0,e=t[n],t[n]=t[r],t[r]=e;return t}(Array.from(t))).length,o=[];n<i;)e=t[n],r&&gf(r,e)?++n:(r=wf(o=bf(o,e)),n=0);return r};function bf(t,e){var r,n;if(yf(e,t))return[e];for(r=0;r<t.length;++r)if(vf(e,t[r])&&yf(xf(t[r],e),t))return[t[r],e];for(r=0;r<t.length-1;++r)for(n=r+1;n<t.length;++n)if(vf(xf(t[r],t[n]),e)&&vf(xf(t[r],e),t[n])&&vf(xf(t[n],e),t[r])&&yf(Of(t[r],t[n],e),t))return[t[r],t[n],e];throw new Error}function vf(t,e){var r=t.r-e.r,n=e.x-t.x,i=e.y-t.y;return r<0||r*r<n*n+i*i}function gf(t,e){var r=t.r-e.r+1e-9*Math.max(t.r,e.r,1),n=e.x-t.x,i=e.y-t.y;return r>0&&r*r>n*n+i*i}function yf(t,e){for(var r=0;r<e.length;++r)if(!gf(t,e[r]))return!1;return!0}function wf(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return xf(t[0],t[1]);case 3:return Of(t[0],t[1],t[2])}var e}function xf(t,e){var r=t.x,n=t.y,i=t.r,o=e.x,a=e.y,s=e.r,c=o-r,u=a-n,l=s-i,f=Math.sqrt(c*c+u*u);return{x:(r+o+c/f*l)/2,y:(n+a+u/f*l)/2,r:(f+i+s)/2}}function Of(t,e,r){var n=t.x,i=t.y,o=t.r,a=e.x,s=e.y,c=e.r,u=r.x,l=r.y,f=r.r,h=n-a,d=n-u,p=i-s,m=i-l,b=c-o,v=f-o,g=n*n+i*i-o*o,y=g-a*a-s*s+c*c,w=g-u*u-l*l+f*f,x=d*p-h*m,O=(p*w-m*y)/(2*x)-n,_=(m*b-p*v)/x,S=(d*y-h*w)/(2*x)-i,k=(h*v-d*b)/x,E=_*_+k*k-1,M=2*(o+O*_+S*k),C=O*O+S*S-o*o,j=-(E?(M+Math.sqrt(M*M-4*E*C))/(2*E):C/M);return{x:n+O+_*j,y:i+S+k*j,r:j}}function _f(t,e,r){var n,i,o,a,s=t.x-e.x,c=t.y-e.y,u=s*s+c*c;u?(i=e.r+r.r,i*=i,a=t.r+r.r,i>(a*=a)?(n=(u+a-i)/(2*u),o=Math.sqrt(Math.max(0,a/u-n*n)),r.x=t.x-n*s-o*c,r.y=t.y-n*c+o*s):(n=(u+i-a)/(2*u),o=Math.sqrt(Math.max(0,i/u-n*n)),r.x=e.x+n*s-o*c,r.y=e.y+n*c+o*s)):(r.x=e.x+r.r,r.y=e.y)}function Sf(t,e){var r=t.r+e.r-1e-6,n=e.x-t.x,i=e.y-t.y;return r>0&&r*r>n*n+i*i}function kf(t){var e=t._,r=t.next._,n=e.r+r.r,i=(e.x*r.r+r.x*e.r)/n,o=(e.y*r.r+r.y*e.r)/n;return i*i+o*o}function Ef(t){this._=t,this.next=null,this.previous=null}function Mf(t){if(!(o=(e=t,t="object"===typeof e&&"length"in e?e:Array.from(e)).length))return 0;var e,r,n,i,o,a,s,c,u,l,f,h;if((r=t[0]).x=0,r.y=0,!(o>1))return r.r;if(n=t[1],r.x=-n.r,n.x=r.r,n.y=0,!(o>2))return r.r+n.r;_f(n,r,i=t[2]),r=new Ef(r),n=new Ef(n),i=new Ef(i),r.next=i.previous=n,n.next=r.previous=i,i.next=n.previous=r;t:for(c=3;c<o;++c){_f(r._,n._,i=t[c]),i=new Ef(i),u=n.next,l=r.previous,f=n._.r,h=r._.r;do{if(f<=h){if(Sf(u._,i._)){n=u,r.next=n,n.previous=r,--c;continue t}f+=u._.r,u=u.next}else{if(Sf(l._,i._)){(r=l).next=n,n.previous=r,--c;continue t}h+=l._.r,l=l.previous}}while(u!==l.next);for(i.previous=r,i.next=n,r.next=n.previous=n=i,a=kf(r);(i=i.next)!==n;)(s=kf(i))<a&&(r=i,a=s);n=r.next}for(r=[n._],i=n;(i=i.next)!==n;)r.push(i._);for(i=mf(r),c=0;c<o;++c)(r=t[c]).x-=i.x,r.y-=i.y;return i.r}var Cf=function(t){return Mf(t),t};function jf(t){return null==t?null:Af(t)}function Af(t){if("function"!==typeof t)throw new Error;return t}function Tf(){return 0}var Pf=function(t){return function(){return t}};function Df(t){return Math.sqrt(t.value)}var Rf=function(){var t=null,e=1,r=1,n=Tf;function i(i){return i.x=e/2,i.y=r/2,t?i.eachBefore(Lf(t)).eachAfter(If(n,.5)).eachBefore(Nf(1)):i.eachBefore(Lf(Df)).eachAfter(If(Tf,1)).eachAfter(If(n,i.r/Math.min(e,r))).eachBefore(Nf(Math.min(e,r)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=jf(e),i):t},i.size=function(t){return arguments.length?(e=+t[0],r=+t[1],i):[e,r]},i.padding=function(t){return arguments.length?(n="function"===typeof t?t:Pf(+t),i):n},i};function Lf(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function If(t,e){return function(r){if(n=r.children){var n,i,o,a=n.length,s=t(r)*e||0;if(s)for(i=0;i<a;++i)n[i].r+=s;if(o=Mf(n),s)for(i=0;i<a;++i)n[i].r-=s;r.r=o+s}}}function Nf(t){return function(e){var r=e.parent;e.r*=t,r&&(e.x=r.x+t*e.x,e.y=r.y+t*e.y)}}var Ff=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Bf=function(t,e,r,n,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(n-e)/t.value;++s<c;)(o=a[s]).y0=r,o.y1=i,o.x0=e,o.x1=e+=o.value*u},zf=function(){var t=1,e=1,r=0,n=!1;function i(i){var o=i.height+1;return i.x0=i.y0=r,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(n){n.children&&Bf(n,n.x0,t*(n.depth+1)/e,n.x1,t*(n.depth+2)/e);var i=n.x0,o=n.y0,a=n.x1-r,s=n.y1-r;a<i&&(i=a=(i+a)/2),s<o&&(o=s=(o+s)/2),n.x0=i,n.y0=o,n.x1=a,n.y1=s}}(e,o)),n&&i.eachBefore(Ff),i}return i.round=function(t){return arguments.length?(n=!!t,i):n},i.size=function(r){return arguments.length?(t=+r[0],e=+r[1],i):[t,e]},i.padding=function(t){return arguments.length?(r=+t,i):r},i},Hf={depth:-1},Uf={};function Wf(t){return t.id}function qf(t){return t.parentId}var Vf=function(){var t=Wf,e=qf;function r(r){var n,i,o,a,s,c,u,l=Array.from(r),f=l.length,h=new Map;for(i=0;i<f;++i)n=l[i],s=l[i]=new pf(n),null!=(c=t(n,i,r))&&(c+="")&&(u=s.id=c,h.set(u,h.has(u)?Uf:s)),null!=(c=e(n,i,r))&&(c+="")&&(s.parent=c);for(i=0;i<f;++i)if(c=(s=l[i]).parent){if(!(a=h.get(c)))throw new Error("missing: "+c);if(a===Uf)throw new Error("ambiguous: "+c);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(o)throw new Error("multiple roots");o=s}if(!o)throw new Error("no root");if(o.parent=Hf,o.eachBefore((function(t){t.depth=t.parent.depth+1,--f})).eachBefore(df),o.parent=null,f>0)throw new Error("cycle");return o}return r.id=function(e){return arguments.length?(t=Af(e),r):t},r.parentId=function(t){return arguments.length?(e=Af(t),r):e},r};function Gf(t,e){return t.parent===e.parent?1:2}function Yf(t){var e=t.children;return e?e[0]:t.t}function Xf(t){var e=t.children;return e?e[e.length-1]:t.t}function $f(t,e,r){var n=r/(e.i-t.i);e.c-=n,e.s+=r,t.c+=n,e.z+=r,e.m+=r}function Kf(t,e,r){return t.a.parent===e.parent?t.a:r}function Zf(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Zf.prototype=Object.create(pf.prototype);var Jf=function(){var t=Gf,e=1,r=1,n=null;function i(i){var c=function(t){for(var e,r,n,i,o,a=new Zf(t,0),s=[a];e=s.pop();)if(n=e._.children)for(e.children=new Array(o=n.length),i=o-1;i>=0;--i)s.push(r=e.children[i]=new Zf(n[i],i)),r.parent=e;return(a.parent=new Zf(null,0)).children=[a],a}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(a),n)i.eachBefore(s);else{var u=i,l=i,f=i;i.eachBefore((function(t){t.x<u.x&&(u=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)}));var h=u===l?1:t(u,l)/2,d=h-u.x,p=e/(l.x+h+d),m=r/(f.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*m}))}return i}function o(e){var r=e.children,n=e.parent.children,i=e.i?n[e.i-1]:null;if(r){!function(t){for(var e,r=0,n=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=r,e.m+=r,r+=e.s+(n+=e.c)}(e);var o=(r[0].z+r[r.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,r,n){if(r){for(var i,o=e,a=e,s=r,c=o.parent.children[0],u=o.m,l=a.m,f=s.m,h=c.m;s=Xf(s),o=Yf(o),s&&o;)c=Yf(c),(a=Xf(a)).a=e,(i=s.z+f-o.z-u+t(s._,o._))>0&&($f(Kf(s,e,n),e,i),u+=i,l+=i),f+=s.m,u+=o.m,h+=c.m,l+=a.m;s&&!Xf(a)&&(a.t=s,a.m+=f-l),o&&!Yf(c)&&(c.t=o,c.m+=u-h,n=e)}return n}(e,i,e.parent.A||n[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*r}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(n=!1,e=+t[0],r=+t[1],i):n?null:[e,r]},i.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],r=+t[1],i):n?[e,r]:null},i},Qf=function(t,e,r,n,i){for(var o,a=t.children,s=-1,c=a.length,u=t.value&&(i-r)/t.value;++s<c;)(o=a[s]).x0=e,o.x1=n,o.y0=r,o.y1=r+=o.value*u},th=(1+Math.sqrt(5))/2;function eh(t,e,r,n,i,o){for(var a,s,c,u,l,f,h,d,p,m,b,v=[],g=e.children,y=0,w=0,x=g.length,O=e.value;y<x;){c=i-r,u=o-n;do{l=g[w++].value}while(!l&&w<x);for(f=h=l,b=l*l*(m=Math.max(u/c,c/u)/(O*t)),p=Math.max(h/b,b/f);w<x;++w){if(l+=s=g[w].value,s<f&&(f=s),s>h&&(h=s),b=l*l*m,(d=Math.max(h/b,b/f))>p){l-=s;break}p=d}v.push(a={value:l,dice:c<u,children:g.slice(y,w)}),a.dice?Bf(a,r,n,i,O?n+=u*l/O:o):Qf(a,r,n,O?r+=c*l/O:i,o),O-=l,y=w}return v}var rh=function t(e){function r(t,r,n,i,o){eh(e,t,r,n,i,o)}return r.ratio=function(e){return t((e=+e)>1?e:1)},r}(th),nh=function(){var t=rh,e=!1,r=1,n=1,i=[0],o=Tf,a=Tf,s=Tf,c=Tf,u=Tf;function l(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(f),i=[0],e&&t.eachBefore(Ff),t}function f(e){var r=i[e.depth],n=e.x0+r,l=e.y0+r,f=e.x1-r,h=e.y1-r;f<n&&(n=f=(n+f)/2),h<l&&(l=h=(l+h)/2),e.x0=n,e.y0=l,e.x1=f,e.y1=h,e.children&&(r=i[e.depth+1]=o(e)/2,n+=u(e)-r,l+=a(e)-r,(f-=s(e)-r)<n&&(n=f=(n+f)/2),(h-=c(e)-r)<l&&(l=h=(l+h)/2),t(e,n,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(r=+t[0],n=+t[1],l):[r,n]},l.tile=function(e){return arguments.length?(t=Af(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"===typeof t?t:Pf(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(a="function"===typeof t?t:Pf(+t),l):a},l.paddingRight=function(t){return arguments.length?(s="function"===typeof t?t:Pf(+t),l):s},l.paddingBottom=function(t){return arguments.length?(c="function"===typeof t?t:Pf(+t),l):c},l.paddingLeft=function(t){return arguments.length?(u="function"===typeof t?t:Pf(+t),l):u},l},ih=function(t,e,r,n,i){var o,a,s=t.children,c=s.length,u=new Array(c+1);for(u[0]=a=o=0;o<c;++o)u[o+1]=a+=s[o].value;!function t(e,r,n,i,o,a,c){if(e>=r-1){var l=s[e];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=c)}var f=u[e],h=n/2+f,d=e+1,p=r-1;for(;d<p;){var m=d+p>>>1;u[m]<h?d=m+1:p=m}h-u[d-1]<u[d]-h&&e+1<d&&--d;var b=u[d]-f,v=n-b;if(a-i>c-o){var g=n?(i*v+a*b)/n:a;t(e,d,b,i,o,g,c),t(d,r,v,g,o,a,c)}else{var y=n?(o*v+c*b)/n:c;t(e,d,b,i,o,a,y),t(d,r,v,i,y,a,c)}}(0,c,t.value,e,r,n,i)},oh=function(t,e,r,n,i){(1&t.depth?Qf:Bf)(t,e,r,n,i)},ah=function t(e){function r(t,r,n,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,c,u,l,f=-1,h=a.length,d=t.value;++f<h;){for(c=(s=a[f]).children,u=s.value=0,l=c.length;u<l;++u)s.value+=c[u].value;s.dice?Bf(s,r,n,i,d?n+=(o-n)*s.value/d:o):Qf(s,r,n,d?r+=(i-r)*s.value/d:i,o),d-=s.value}else t._squarify=a=eh(e,t,r,n,i,o),a.ratio=e}return r.ratio=function(e){return t((e=+e)>1?e:1)},r}(th),sh=r(181),ch=r(268),uh=function(t){for(var e,r=-1,n=t.length,i=t[n-1],o=0;++r<n;)e=i,i=t[r],o+=e[1]*i[0]-e[0]*i[1];return o/2},lh=function(t){for(var e,r,n=-1,i=t.length,o=0,a=0,s=t[i-1],c=0;++n<i;)e=s,s=t[n],c+=r=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*r,a+=(e[1]+s[1])*r;return[o/(c*=3),a/c]};function fh(t,e){return t[0]-e[0]||t[1]-e[1]}function hh(t){var e,r,n,i,o=t.length,a=[0,1],s=2;for(e=2;e<o;++e){for(;s>1&&(r=t[a[s-2]],n=t[a[s-1]],i=t[e],(n[0]-r[0])*(i[1]-r[1])-(n[1]-r[1])*(i[0]-r[0])<=0);)--s;a[s++]=e}return a.slice(0,s)}var dh=function(t){if((r=t.length)<3)return null;var e,r,n=new Array(r),i=new Array(r);for(e=0;e<r;++e)n[e]=[+t[e][0],+t[e][1],e];for(n.sort(fh),e=0;e<r;++e)i[e]=[n[e][0],-n[e][1]];var o=hh(n),a=hh(i),s=a[0]===o[0],c=a[a.length-1]===o[o.length-1],u=[];for(e=o.length-1;e>=0;--e)u.push(t[n[o[e]][2]]);for(e=+s;e<a.length-c;++e)u.push(t[n[a[e]][2]]);return u},ph=function(t,e){for(var r,n,i=t.length,o=t[i-1],a=e[0],s=e[1],c=o[0],u=o[1],l=!1,f=0;f<i;++f)r=(o=t[f])[0],(n=o[1])>s!==u>s&&a<(c-r)*(s-n)/(u-n)+r&&(l=!l),c=r,u=n;return l},mh=function(t){for(var e,r,n=-1,i=t.length,o=t[i-1],a=o[0],s=o[1],c=0;++n<i;)e=a,r=s,e-=a=(o=t[n])[0],r-=s=o[1],c+=Math.hypot(e,r);return c},bh=Math.random,vh=function t(e){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,1===arguments.length?(r=t,t=0):r-=t,function(){return e()*r+t}}return r.source=t,r}(bh),gh=function t(e){function r(t,r){return arguments.length<2&&(r=t,t=0),t=Math.floor(t),r=Math.floor(r)-t,function(){return Math.floor(e()*r+t)}}return r.source=t,r}(bh),yh=function t(e){function r(t,r){var n,i;return t=null==t?0:+t,r=null==r?1:+r,function(){var o;if(null!=n)o=n,n=null;else do{n=2*e()-1,o=2*e()-1,i=n*n+o*o}while(!i||i>1);return t+r*o*Math.sqrt(-2*Math.log(i)/i)}}return r.source=t,r}(bh),wh=function t(e){var r=yh.source(e);function n(){var t=r.apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(bh),xh=function t(e){function r(t){return(t=+t)<=0?function(){return 0}:function(){for(var r=0,n=t;n>1;--n)r+=e();return r+n*e()}}return r.source=t,r}(bh),Oh=function t(e){var r=xh.source(e);function n(t){if(0===(t=+t))return e;var n=r(t);return function(){return n()/t}}return n.source=t,n}(bh),_h=function t(e){function r(t){return function(){return-Math.log1p(-e())/t}}return r.source=t,r}(bh),Sh=function t(e){function r(t){if((t=+t)<0)throw new RangeError("invalid alpha");return t=1/-t,function(){return Math.pow(1-e(),t)}}return r.source=t,r}(bh),kh=function t(e){function r(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return function(){return Math.floor(e()+t)}}return r.source=t,r}(bh),Eh=function t(e){function r(t){if((t=+t)<0||t>1)throw new RangeError("invalid p");return 0===t?function(){return 1/0}:1===t?function(){return 1}:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-e())/t)})}return r.source=t,r}(bh),Mh=function t(e){var r=yh.source(e)();function n(t,n){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return function(){return 0};if(n=null==n?1:+n,1===t)return function(){return-Math.log1p(-e())*n};var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?function(){return Math.pow(e(),1/t)}:function(){return 1};return function(){do{do{var t=r(),s=1+o*t}while(s<=0);s*=s*s;var c=1-e()}while(c>=1-.0331*t*t*t*t&&Math.log(c)>=.5*t*t+i*(1-s+Math.log(s)));return i*s*a()*n}}return n.source=t,n}(bh),Ch=function t(e){var r=Mh.source(e);function n(t,e){var n=r(t),i=r(e);return function(){var t=n();return 0===t?0:t/(t+i())}}return n.source=t,n}(bh),jh=function t(e){var r=Eh.source(e),n=Ch.source(e);function i(t,e){return t=+t,(e=+e)>=1?function(){return t}:e<=0?function(){return 0}:function(){for(var i=0,o=t,a=e;o*a>16&&o*(1-a)>16;){var s=Math.floor((o+1)*a),c=n(s,o-s+1)();c<=a?(i+=s,o-=s,a=(a-c)/(1-c)):(o=s-1,a/=c)}for(var u=a<.5,l=r(u?a:1-a),f=l(),h=0;f<=o;++h)f+=l();return i+(u?h:o-h)}}return i.source=t,i}(bh),Ah=function t(e){function r(t,r,n){var i;return 0===(t=+t)?i=function(t){return-Math.log(t)}:(t=1/t,i=function(e){return Math.pow(e,t)}),r=null==r?0:+r,n=null==n?1:+n,function(){return r+n*i(-Math.log1p(-e()))}}return r.source=t,r}(bh),Th=function t(e){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,function(){return t+r*Math.tan(Math.PI*e())}}return r.source=t,r}(bh),Ph=function t(e){function r(t,r){return t=null==t?0:+t,r=null==r?1:+r,function(){var n=e();return t+r*Math.log(n/(1-n))}}return r.source=t,r}(bh),Dh=function t(e){var r=Mh.source(e),n=jh.source(e);function i(t){return function(){for(var i=0,o=t;o>16;){var a=Math.floor(.875*o),s=r(a)();if(s>o)return i+n(a-1,o/s)();i+=a,o-=s}for(var c=-Math.log1p(-e()),u=0;c<=o;++u)c-=Math.log1p(-e());return i+u}}return i.source=t,i}(bh),Rh=1/4294967296;function Lh(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Math.random(),e=0|(0<=t&&t<1?t/Rh:Math.abs(t));return function(){return Rh*((e=1664525*e+1013904223|0)>>>0)}}var Ih=r(359),Nh=function(t){for(var e=t.length/6|0,r=new Array(e),n=0;n<e;)r[n]="#"+t.slice(6*n,6*++n);return r},Fh=Nh("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Bh=Nh("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),zh=Nh("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Hh=Nh("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Uh=Nh("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Wh=Nh("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),qh=Nh("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Vh=Nh("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Gh=Nh("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Yh=Nh("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),Xh=function(t){return Object(Ae.b)(t[t.length-1])},$h=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Nh),Kh=Xh($h),Zh=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Nh),Jh=Xh(Zh),Qh=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Nh),td=Xh(Qh),ed=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Nh),rd=Xh(ed),nd=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Nh),id=Xh(nd),od=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Nh),ad=Xh(od),sd=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Nh),cd=Xh(sd),ud=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Nh),ld=Xh(ud),fd=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Nh),hd=Xh(fd),dd=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Nh),pd=Xh(dd),md=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Nh),bd=Xh(md),vd=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Nh),gd=Xh(vd),yd=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Nh),wd=Xh(yd),xd=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Nh),Od=Xh(xd),_d=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Nh),Sd=Xh(_d),kd=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Nh),Ed=Xh(kd),Md=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Nh),Cd=Xh(Md),jd=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Nh),Ad=Xh(jd),Td=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Nh),Pd=Xh(Td),Dd=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Nh),Rd=Xh(Dd),Ld=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Nh),Id=Xh(Ld),Nd=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Nh),Fd=Xh(Nd),Bd=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Nh),zd=Xh(Bd),Hd=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Nh),Ud=Xh(Hd),Wd=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Nh),qd=Xh(Wd),Vd=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Nh),Gd=Xh(Vd),Yd=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Nh),Xd=Xh(Yd),$d=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},Kd=r(527),Zd=r(624),Jd=Object(Zd.a)(Object(Kd.a)(300,.5,0),Object(Kd.a)(-240,.5,1)),Qd=Object(Zd.a)(Object(Kd.a)(-100,.75,.35),Object(Kd.a)(80,1.5,.8)),tp=Object(Zd.a)(Object(Kd.a)(260,.75,.35),Object(Kd.a)(80,1.5,.8)),ep=Object(Kd.a)(),rp=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return ep.h=360*t-100,ep.s=1.5-1.5*e,ep.l=.8-.9*e,ep+""},np=Object(Ce.g)(),ip=Math.PI/3,op=2*Math.PI/3,ap=function(t){var e;return t=(.5-t)*Math.PI,np.r=255*(e=Math.sin(t))*e,np.g=255*(e=Math.sin(t+ip))*e,np.b=255*(e=Math.sin(t+op))*e,np+""},sp=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function cp(t){var e=t.length;return function(r){return t[Math.max(0,Math.min(e-1,Math.floor(r*e)))]}}var up=cp(Nh("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),lp=cp(Nh("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),fp=cp(Nh("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),hp=cp(Nh("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),dp=function(t){return qt(kt(t).call(document.documentElement))},pp=0;function mp(){return new bp}function bp(){this._="@"+(++pp).toString(36)}bp.prototype=mp.prototype={constructor:bp,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var vp=function(t,e){return t.target&&(t=Jt(t),void 0===e&&(e=t.currentTarget),t=t.touches||[t]),Array.from(t,(function(t){return Qt(t,e)}))},gp=function(t){return"string"===typeof t?new Ht([document.querySelectorAll(t)],[document.documentElement]):new Ht([null==t?[]:C(t)],zt)},yp=r(404),wp=r(402),xp=r(486),Op=function(t,e,r){var n=new le,i=e;return null==e?(n.restart(t,e,r),n):(n._restart=n.restart,n.restart=function(t,e,r){e=+e,r=null==r?ce():+r,n._restart((function o(a){a+=i,n._restart(o,i+=e,r),t(a)}),e,r)},n.restart(t,e,r),n)},_p=r(785),Sp=function(t){return function(){return t}};function kp(t,e){var r=e.sourceEvent,n=e.target,i=e.transform,o=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:r,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function Ep(t,e,r){this.k=t,this.x=e,this.y=r}Ep.prototype={constructor:Ep,scale:function(t){return 1===t?this:new Ep(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Ep(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Mp=new Ep(1,0,0);function Cp(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Mp;return t.__zoom}function jp(t){t.stopImmediatePropagation()}Cp.prototype=Ep.prototype;var Ap=function(t){t.preventDefault(),t.stopImmediatePropagation()};function Tp(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function Pp(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function Dp(){return this.__zoom||Mp}function Rp(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Lp(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ip(t,e,r){var n=t.invertX(e[0][0])-r[0][0],i=t.invertX(e[1][0])-r[1][0],o=t.invertY(e[0][1])-r[0][1],a=t.invertY(e[1][1])-r[1][1];return t.translate(i>n?(n+i)/2:Math.min(0,n)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var Np=function(){var t,e,r,n=Tp,i=Pp,o=Ip,a=Rp,s=Lp,c=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],l=250,f=_p.a,h=S("start","zoom","end"),d=0,p=10;function m(t){t.property("__zoom",Dp).on("wheel.zoom",O).on("mousedown.zoom",_).on("dblclick.zoom",k).filter(s).on("touchstart.zoom",E).on("touchmove.zoom",M).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(t,e){return(e=Math.max(c[0],Math.min(c[1],e)))===t.k?t:new Ep(e,t.x,t.y)}function v(t,e,r){var n=e[0]-r[0]*t.k,i=e[1]-r[1]*t.k;return n===t.x&&i===t.y?t:new Ep(t.k,n,i)}function g(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function y(t,e,r,n){t.on("start.zoom",(function(){w(this,arguments).event(n).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(n).end()})).tween("zoom",(function(){var t=this,o=arguments,a=w(t,o).event(n),s=i.apply(t,o),c=null==r?g(s):"function"===typeof r?r.apply(t,o):r,u=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),l=t.__zoom,h="function"===typeof e?e.apply(t,o):e,d=f(l.invert(c).concat(u/l.k),h.invert(c).concat(u/h.k));return function(t){if(1===t)t=h;else{var e=d(t),r=u/e[2];t=new Ep(r,c[0]-e[0]*r,c[1]-e[1]*r)}a.zoom(null,t)}}))}function w(t,e,r){return!r&&t.__zooming||new x(t,e)}function x(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=i.apply(t,e),this.taps=0}function O(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(n.apply(this,arguments)){var s=w(this,r).event(t),l=this.__zoom,f=Math.max(c[0],Math.min(c[1],l.k*Math.pow(2,a.apply(this,arguments)))),h=Qt(t);if(s.wheel)s.mouse[0][0]===h[0]&&s.mouse[0][1]===h[1]||(s.mouse[1]=l.invert(s.mouse[0]=h)),clearTimeout(s.wheel);else{if(l.k===f)return;s.mouse=[h,l.invert(h)],_e(this),s.start()}Ap(t),s.wheel=setTimeout(d,150),s.zoom("mouse",o(v(b(l,f),s.mouse[0],s.mouse[1]),s.extent,u))}function d(){s.wheel=null,s.end()}}function _(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];if(!r&&n.apply(this,arguments)){var s=w(this,i,!0).event(t),c=qt(t.view).on("mousemove.zoom",m,!0).on("mouseup.zoom",b,!0),l=Qt(t,f),f=t.currentTarget,h=t.clientX,p=t.clientY;Yt(t.view),jp(t),s.mouse=[l,this.__zoom.invert(l)],_e(this),s.start()}function m(t){if(Ap(t),!s.moved){var e=t.clientX-h,r=t.clientY-p;s.moved=e*e+r*r>d}s.event(t).zoom("mouse",o(v(s.that.__zoom,s.mouse[0]=Qt(t,f),s.mouse[1]),s.extent,u))}function b(t){c.on("mousemove.zoom mouseup.zoom",null),Xt(t.view,s.moved),Ap(t),s.event(t).end()}}function k(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),a=1;a<e;a++)r[a-1]=arguments[a];if(n.apply(this,arguments)){var s=this.__zoom,c=Qt(t.changedTouches?t.changedTouches[0]:t,this),f=s.invert(c),h=s.k*(t.shiftKey?.5:2),d=o(v(b(s,h),c,f),i.apply(this,r),u);Ap(t),l>0?qt(this).transition().duration(l).call(y,d,c,t):qt(this).call(m.transform,d,c,t)}}function E(r){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(n.apply(this,arguments)){var s,c,u,l,f=r.touches,h=f.length,d=w(this,o,r.changedTouches.length===h).event(r);for(jp(r),c=0;c<h;++c)u=f[c],l=[l=Qt(u,this),this.__zoom.invert(l),u.identifier],d.touch0?d.touch1||d.touch0[2]===l[2]||(d.touch1=l,d.taps=0):(d.touch0=l,s=!0,d.taps=1+!!t);t&&(t=clearTimeout(t)),s&&(d.taps<2&&(e=l[0],t=setTimeout((function(){t=null}),500)),_e(this),d.start())}}function M(t){if(this.__zooming){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i,a,s,c,l=w(this,r).event(t),f=t.changedTouches,h=f.length;for(Ap(t),i=0;i<h;++i)a=f[i],s=Qt(a,this),l.touch0&&l.touch0[2]===a.identifier?l.touch0[0]=s:l.touch1&&l.touch1[2]===a.identifier&&(l.touch1[0]=s);if(a=l.that.__zoom,l.touch1){var d=l.touch0[0],p=l.touch0[1],m=l.touch1[0],g=l.touch1[1],y=(y=m[0]-d[0])*y+(y=m[1]-d[1])*y,x=(x=g[0]-p[0])*x+(x=g[1]-p[1])*x;a=b(a,Math.sqrt(y/x)),s=[(d[0]+m[0])/2,(d[1]+m[1])/2],c=[(p[0]+g[0])/2,(p[1]+g[1])/2]}else{if(!l.touch0)return;s=l.touch0[0],c=l.touch0[1]}l.zoom("touch",o(v(a,s,c),l.extent,u))}}function C(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];if(this.__zooming){var a,s,c=w(this,i).event(t),u=t.changedTouches,l=u.length;for(jp(t),r&&clearTimeout(r),r=setTimeout((function(){r=null}),500),a=0;a<l;++a)s=u[a],c.touch0&&c.touch0[2]===s.identifier?delete c.touch0:c.touch1&&c.touch1[2]===s.identifier&&delete c.touch1;if(c.touch1&&!c.touch0&&(c.touch0=c.touch1,delete c.touch1),c.touch0)c.touch0[1]=this.__zoom.invert(c.touch0[0]);else if(c.end(),2===c.taps&&(s=Qt(s,this),Math.hypot(e[0]-s[0],e[1]-s[1])<p)){var f=qt(this).on("dblclick.zoom");f&&f.apply(this,arguments)}}}return m.transform=function(t,e,r,n){var i=t.selection?t.selection():t;i.property("__zoom",Dp),t!==i?y(t,e,r,n):i.interrupt().each((function(){w(this,arguments).event(n).start().zoom(null,"function"===typeof e?e.apply(this,arguments):e).end()}))},m.scaleBy=function(t,e,r,n){m.scaleTo(t,(function(){var t=this.__zoom.k,r="function"===typeof e?e.apply(this,arguments):e;return t*r}),r,n)},m.scaleTo=function(t,e,r,n){m.transform(t,(function(){var t=i.apply(this,arguments),n=this.__zoom,a=null==r?g(t):"function"===typeof r?r.apply(this,arguments):r,s=n.invert(a),c="function"===typeof e?e.apply(this,arguments):e;return o(v(b(n,c),a,s),t,u)}),r,n)},m.translateBy=function(t,e,r,n){m.transform(t,(function(){return o(this.__zoom.translate("function"===typeof e?e.apply(this,arguments):e,"function"===typeof r?r.apply(this,arguments):r),i.apply(this,arguments),u)}),null,n)},m.translateTo=function(t,e,r,n,a){m.transform(t,(function(){var t=i.apply(this,arguments),a=this.__zoom,s=null==n?g(t):"function"===typeof n?n.apply(this,arguments):n;return o(Mp.translate(s[0],s[1]).scale(a.k).translate("function"===typeof e?-e.apply(this,arguments):-e,"function"===typeof r?-r.apply(this,arguments):-r),t,u)}),n,a)},x.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1===++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0===--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=qt(this.that).datum();h.call(t,this.that,new kp(t,{sourceEvent:this.sourceEvent,target:m,type:t,transform:this.that.__zoom,dispatch:h}),e)}},m.wheelDelta=function(t){return arguments.length?(a="function"===typeof t?t:Sp(+t),m):a},m.filter=function(t){return arguments.length?(n="function"===typeof t?t:Sp(!!t),m):n},m.touchable=function(t){return arguments.length?(s="function"===typeof t?t:Sp(!!t),m):s},m.extent=function(t){return arguments.length?(i="function"===typeof t?t:Sp([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),m):i},m.scaleExtent=function(t){return arguments.length?(c[0]=+t[0],c[1]=+t[1],m):[c[0],c[1]]},m.translateExtent=function(t){return arguments.length?(u[0][0]=+t[0][0],u[1][0]=+t[1][0],u[0][1]=+t[0][1],u[1][1]=+t[1][1],m):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},m.constrain=function(t){return arguments.length?(o=t,m):o},m.duration=function(t){return arguments.length?(l=+t,m):l},m.interpolate=function(t){return arguments.length?(f=t,m):f},m.on=function(){var t=h.on.apply(h,arguments);return t===h?m:t},m.clickDistance=function(t){return arguments.length?(d=(t=+t)*t,m):Math.sqrt(d)},m.tapDistance=function(t){return arguments.length?(p=+t,m):p},m}},function(t,e,r){"use strict";r.r(e),r.d(e,"capitalize",(function(){return n.a})),r.d(e,"createChainedFunction",(function(){return i.a})),r.d(e,"createSvgIcon",(function(){return o.a})),r.d(e,"debounce",(function(){return a.a})),r.d(e,"deprecatedPropType",(function(){return s})),r.d(e,"isMuiElement",(function(){return c.a})),r.d(e,"ownerDocument",(function(){return u.a})),r.d(e,"ownerWindow",(function(){return l.a})),r.d(e,"requirePropFactory",(function(){return f.a})),r.d(e,"setRef",(function(){return h})),r.d(e,"unstable_useEnhancedEffect",(function(){return d.a})),r.d(e,"unstable_useId",(function(){return p.a})),r.d(e,"unsupportedProp",(function(){return m.a})),r.d(e,"useControlled",(function(){return b.a})),r.d(e,"useEventCallback",(function(){return v.a})),r.d(e,"useForkRef",(function(){return g.a})),r.d(e,"useIsFocusVisible",(function(){return y.a})),r.d(e,"unstable_ClassNameGenerator",(function(){return w.a}));var n=r(24),i=r(491),o=r(49),a=r(195);var s=function(t,e){return function(){return null}},c=r(233),u=r(155),l=r(210),f=r(631),h=r(435).a,d=r(156),p=r(115),m=r(632),b=r(220),v=r(141),g=r(72),y=r(275),w=r(825)},function(t,e,r){"use strict";var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(t,e){for(var r,s,c=a(t),u=1;u<arguments.length;u++){for(var l in r=Object(arguments[u]))i.call(r,l)&&(c[l]=r[l]);if(n){s=n(r);for(var f=0;f<s.length;f++)o.call(r,s[f])&&(c[s[f]]=r[s[f]])}}return c}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(124);function i(t){return Object(n.a)(t).defaultView||window}},function(t,e,r){"use strict";function n(t,e,r,n,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*r+(1+3*t+3*o-3*a)*n+a*i)/6}r.d(e,"a",(function(){return n})),e.b=function(t){var e=t.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,e-1):Math.floor(r*e),o=t[i],a=t[i+1],s=i>0?t[i-1]:2*o-a,c=i<e-1?t[i+2]:2*a-o;return n((r-i/e)*e,s,o,a,c)}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return s}));var n,i,o,a=r(503);function s(t){return n=Object(a.a)(t),i=n.format,o=n.formatPrefix,n}s({thousands:",",grouping:[3],currency:["$",""]})},function(t,e,r){"use strict";r.r(e),r.d(e,"scaleBand",(function(){return n.a})),r.d(e,"scalePoint",(function(){return n.b})),r.d(e,"scaleIdentity",(function(){return a})),r.d(e,"scaleLinear",(function(){return i.a})),r.d(e,"scaleLog",(function(){return y})),r.d(e,"scaleSymlog",(function(){return _})),r.d(e,"scaleOrdinal",(function(){return S.a})),r.d(e,"scaleImplicit",(function(){return S.b})),r.d(e,"scalePow",(function(){return j})),r.d(e,"scaleSqrt",(function(){return A})),r.d(e,"scaleRadial",(function(){return D})),r.d(e,"scaleQuantile",(function(){return F})),r.d(e,"scaleQuantize",(function(){return z})),r.d(e,"scaleThreshold",(function(){return H})),r.d(e,"scaleTime",(function(){return tt})),r.d(e,"scaleUtc",(function(){return st})),r.d(e,"scaleSequential",(function(){return ht})),r.d(e,"scaleSequentialLog",(function(){return dt})),r.d(e,"scaleSequentialPow",(function(){return mt})),r.d(e,"scaleSequentialSqrt",(function(){return bt})),r.d(e,"scaleSequentialSymlog",(function(){return pt})),r.d(e,"scaleSequentialQuantile",(function(){return vt})),r.d(e,"scaleDiverging",(function(){return wt})),r.d(e,"scaleDivergingLog",(function(){return xt})),r.d(e,"scaleDivergingPow",(function(){return _t})),r.d(e,"scaleDivergingSqrt",(function(){return St})),r.d(e,"scaleDivergingSymlog",(function(){return Ot})),r.d(e,"tickFormat",(function(){return kt.a}));var n=r(625),i=r(152),o=r(333);function a(t){var e;function r(t){return null==t||isNaN(t=+t)?e:t}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,o.a),r):t.slice()},r.unknown=function(t){return arguments.length?(e=t,r):e},r.copy=function(){return a(t).unknown(e)},t=arguments.length?Array.from(t,o.a):[0,1],Object(i.b)(r)}var s=r(173),c=r(358);function u(t,e){var r,n=0,i=(t=t.slice()).length-1,o=t[n],a=t[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),t[n]=e.floor(o),t[i]=e.ceil(a),t}var l=r(104),f=r(87);function h(t){return Math.log(t)}function d(t){return Math.exp(t)}function p(t){return-Math.log(-t)}function m(t){return-Math.exp(-t)}function b(t){return isFinite(t)?+("1e"+t):t<0?0:t}function v(t){return function(e){return-t(-e)}}function g(t){var e,r,n=t(h,d),i=n.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),r=function(t){return 10===t?b:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=v(e),r=v(r),t(p,m)):t(h,d),n}return n.base=function(t){return arguments.length?(o=+t,a()):o},n.domain=function(t){return arguments.length?(i(t),a()):i()},n.ticks=function(t){var n,a=i(),c=a[0],u=a[a.length-1];(n=u<c)&&(d=c,c=u,u=d);var l,f,h,d=e(c),p=e(u),m=null==t?10:+t,b=[];if(!(o%1)&&p-d<m){if(d=Math.floor(d),p=Math.ceil(p),c>0){for(;d<=p;++d)for(f=1,l=r(d);f<o;++f)if(!((h=l*f)<c)){if(h>u)break;b.push(h)}}else for(;d<=p;++d)for(f=o-1,l=r(d);f>=1;--f)if(!((h=l*f)<c)){if(h>u)break;b.push(h)}2*b.length<m&&(b=Object(s.a)(c,u,m))}else b=Object(s.a)(d,p,Math.min(p-d,m)).map(r);return n?b.reverse():b},n.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!==typeof i&&(i=Object(c.b)(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/n.ticks().length);return function(t){var n=t/r(Math.round(e(t)));return n*o<o-.5&&(n*=o),n<=a?i(t):""}},n.nice=function(){return i(u(i(),{floor:function(t){return r(Math.floor(e(t)))},ceil:function(t){return r(Math.ceil(e(t)))}}))},n}function y(){var t=g(Object(l.d)()).domain([1,10]);return t.copy=function(){return Object(l.a)(t,y()).base(t.base())},f.b.apply(t,arguments),t}function w(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function x(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function O(t){var e=1,r=t(w(e),x(e));return r.constant=function(r){return arguments.length?t(w(e=+r),x(e)):e},Object(i.b)(r)}function _(){var t=O(Object(l.d)());return t.copy=function(){return Object(l.a)(t,_()).constant(t.constant())},f.b.apply(t,arguments)}var S=r(405);function k(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function E(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function M(t){return t<0?-t*t:t*t}function C(t){var e=t(l.c,l.c),r=1;function n(){return 1===r?t(l.c,l.c):.5===r?t(E,M):t(k(r),k(1/r))}return e.exponent=function(t){return arguments.length?(r=+t,n()):r},Object(i.b)(e)}function j(){var t=C(Object(l.d)());return t.copy=function(){return Object(l.a)(t,j()).exponent(t.exponent())},f.b.apply(t,arguments),t}function A(){return j.apply(null,arguments).exponent(.5)}function T(t){return Math.sign(t)*t*t}function P(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function D(){var t,e=Object(l.b)(),r=[0,1],n=!1;function a(r){var i=P(e(r));return isNaN(i)?t:n?Math.round(i):i}return a.invert=function(t){return e.invert(T(t))},a.domain=function(t){return arguments.length?(e.domain(t),a):e.domain()},a.range=function(t){return arguments.length?(e.range((r=Array.from(t,o.a)).map(T)),a):r.slice()},a.rangeRound=function(t){return a.range(t).round(!0)},a.round=function(t){return arguments.length?(n=!!t,a):n},a.clamp=function(t){return arguments.length?(e.clamp(t),a):e.clamp()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.copy=function(){return D(e.domain(),r).round(n).clamp(e.clamp()).unknown(t)},f.b.apply(a,arguments),Object(i.b)(a)}var R=r(29),L=r(273),I=r(316),N=r(108);function F(){var t,e=[],r=[],n=[];function i(){var t=0,i=Math.max(1,r.length);for(n=new Array(i-1);++t<i;)n[t-1]=Object(L.b)(e,t/i);return o}function o(e){return null==e||isNaN(e=+e)?t:r[Object(I.d)(n,e)]}return o.invertExtent=function(t){var i=r.indexOf(t);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];var r,n=Object(R.a)(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;null==o||isNaN(o=+o)||e.push(o)}}catch(a){n.e(a)}finally{n.f()}return e.sort(N.a),i()},o.range=function(t){return arguments.length?(r=Array.from(t),i()):r.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return n.slice()},o.copy=function(){return F().domain(e).range(r).unknown(t)},f.b.apply(o,arguments)}var B=r(3);function z(){var t,e=0,r=1,n=1,o=[.5],a=[0,1];function s(e){return null!=e&&e<=e?a[Object(I.d)(o,e,0,n)]:t}function c(){var t=-1;for(o=new Array(n);++t<n;)o[t]=((t+1)*r-(t-n)*e)/(n+1);return s}return s.domain=function(t){var n,i;return arguments.length?(n=t,i=Object(B.a)(n,2),e=i[0],r=i[1],e=+e,r=+r,c()):[e,r]},s.range=function(t){return arguments.length?(n=(a=Array.from(t)).length-1,c()):a.slice()},s.invertExtent=function(t){var i=a.indexOf(t);return i<0?[NaN,NaN]:i<1?[e,o[0]]:i>=n?[o[n-1],r]:[o[i-1],o[i]]},s.unknown=function(e){return arguments.length?(t=e,s):s},s.thresholds=function(){return o.slice()},s.copy=function(){return z().domain([e,r]).range(a).unknown(t)},f.b.apply(Object(i.b)(s),arguments)}function H(){var t,e=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[Object(I.d)(e,i,0,n)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),n=Math.min(e.length,r.length-1),i):e.slice()},i.range=function(t){return arguments.length?(r=Array.from(t),n=Math.min(e.length,r.length-1),i):r.slice()},i.invertExtent=function(t){var n=r.indexOf(t);return[e[n-1],e[n]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return H().domain(e).range(r).unknown(t)},f.b.apply(i,arguments)}var U=r(401),W=r(239),q=r(409),V=r(106),G=r(324),Y=r(410),X=r(411),$=r(218),K=r(216);function Z(t){return new Date(t)}function J(t){return t instanceof Date?+t:+new Date(+t)}function Q(t,e,r,n,i,o,a,s,c,f){var h=Object(l.b)(),d=h.invert,p=h.domain,m=f(".%L"),b=f(":%S"),v=f("%I:%M"),g=f("%I %p"),y=f("%a %d"),w=f("%b %d"),x=f("%B"),O=f("%Y");function _(t){return(c(t)<t?m:s(t)<t?b:a(t)<t?v:o(t)<t?g:n(t)<t?i(t)<t?y:w:r(t)<t?x:O)(t)}return h.invert=function(t){return new Date(d(t))},h.domain=function(t){return arguments.length?p(Array.from(t,J)):p().map(Z)},h.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},h.tickFormat=function(t,e){return null==e?_:f(e)},h.nice=function(t){var r=p();return t&&"function"===typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(u(r,t)):h},h.copy=function(){return Object(l.a)(h,Q(t,e,r,n,i,o,a,s,c,f))},h}function tt(){return f.b.apply(Q(U.b,U.a,W.a,q.a,V.g,G.b,Y.a,X.a,$.a,K.b).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var et=r(238),rt=r(406),nt=r(105),it=r(323),ot=r(407),at=r(408);function st(){return f.b.apply(Q(U.d,U.c,et.a,rt.a,nt.g,it.a,ot.a,at.a,$.a,K.d).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}var ct=r(274),ut=r(784);function lt(){var t,e,r,n,i,o=0,a=1,s=l.c,c=!1;function u(e){return null==e||isNaN(e=+e)?i:s(0===r?.5:(e=(n(e)-t)*r,c?Math.max(0,Math.min(1,e)):e))}function f(t){return function(e){var r,n,i,o;return arguments.length?(r=e,i=(n=Object(B.a)(r,2))[0],o=n[1],s=t(i,o),u):[s(0),s(1)]}}return u.domain=function(i){var s,c;return arguments.length?(s=i,c=Object(B.a)(s,2),o=c[0],a=c[1],t=n(o=+o),e=n(a=+a),r=t===e?0:1/(e-t),u):[o,a]},u.clamp=function(t){return arguments.length?(c=!!t,u):c},u.interpolator=function(t){return arguments.length?(s=t,u):s},u.range=f(ct.a),u.rangeRound=f(ut.a),u.unknown=function(t){return arguments.length?(i=t,u):i},function(i){return n=i,t=i(o),e=i(a),r=t===e?0:1/(e-t),u}}function ft(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function ht(){var t=Object(i.b)(lt()(l.c));return t.copy=function(){return ft(t,ht())},f.a.apply(t,arguments)}function dt(){var t=g(lt()).domain([1,10]);return t.copy=function(){return ft(t,dt()).base(t.base())},f.a.apply(t,arguments)}function pt(){var t=O(lt());return t.copy=function(){return ft(t,pt()).constant(t.constant())},f.a.apply(t,arguments)}function mt(){var t=C(lt());return t.copy=function(){return ft(t,mt()).exponent(t.exponent())},f.a.apply(t,arguments)}function bt(){return mt.apply(null,arguments).exponent(.5)}function vt(){var t=[],e=l.c;function r(r){if(null!=r&&!isNaN(r=+r))return e((Object(I.d)(t,r,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();t=[];var n,i=Object(R.a)(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;null==o||isNaN(o=+o)||t.push(o)}}catch(a){i.e(a)}finally{i.f()}return t.sort(N.a),r},r.interpolator=function(t){return arguments.length?(e=t,r):e},r.range=function(){return t.map((function(r,n){return e(n/(t.length-1))}))},r.quantiles=function(e){return Array.from({length:e+1},(function(r,n){return Object(L.a)(t,n/e)}))},r.copy=function(){return vt(e).domain(t)},f.a.apply(r,arguments)}var gt=r(786);function yt(){var t,e,r,n,i,o,a,s=0,c=.5,u=1,f=1,h=l.c,d=!1;function p(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(f*t<f*e?n:i),h(d?Math.max(0,Math.min(1,t)):t))}function m(t){return function(e){var r,n,i,o,a;return arguments.length?(r=e,i=(n=Object(B.a)(r,3))[0],o=n[1],a=n[2],h=Object(gt.a)(t,[i,o,a]),p):[h(0),h(.5),h(1)]}}return p.domain=function(a){var l,h;return arguments.length?(l=a,h=Object(B.a)(l,3),s=h[0],c=h[1],u=h[2],t=o(s=+s),e=o(c=+c),r=o(u=+u),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),f=e<t?-1:1,p):[s,c,u]},p.clamp=function(t){return arguments.length?(d=!!t,p):d},p.interpolator=function(t){return arguments.length?(h=t,p):h},p.range=m(ct.a),p.rangeRound=m(ut.a),p.unknown=function(t){return arguments.length?(a=t,p):a},function(a){return o=a,t=a(s),e=a(c),r=a(u),n=t===e?0:.5/(e-t),i=e===r?0:.5/(r-e),f=e<t?-1:1,p}}function wt(){var t=Object(i.b)(yt()(l.c));return t.copy=function(){return ft(t,wt())},f.a.apply(t,arguments)}function xt(){var t=g(yt()).domain([.1,1,10]);return t.copy=function(){return ft(t,xt()).base(t.base())},f.a.apply(t,arguments)}function Ot(){var t=O(yt());return t.copy=function(){return ft(t,Ot()).constant(t.constant())},f.a.apply(t,arguments)}function _t(){var t=C(yt());return t.copy=function(){return ft(t,_t()).exponent(t.exponent())},f.a.apply(t,arguments)}function St(){return _t.apply(null,arguments).exponent(.5)}var kt=r(499)},function(t,e,r){"use strict";(function(t){var n=r(136),i=r(814),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?n.a.Buffer:void 0,c=(s?s.isBuffer:void 0)||i.a;e.a=c}).call(this,r(466)(t))},function(t,e,r){"use strict";var n=r(509),i=r(511);e.a=function(t){return null!=t&&Object(i.a)(t.length)&&!Object(n.a)(t)}},function(t,e,r){"use strict";e.a=function(t){return function(e){return t(e)}}},function(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}r.d(e,"a",(function(){return n}))},function(t,e,r){var n=r(689),i=r(591),o=r(245);t.exports=function(t,e){var r={};return e=o(e,3),i(t,(function(t,i,o){n(r,i,e(t,i,o))})),r}},function(t,e,r){"use strict";var n=r(108);e.a=function(t){var e=t,r=t;function i(t,e,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;r(t[o],e)<0?n=o+1:i=o}return n}return 1===t.length&&(e=function(e,r){return t(e)-r},r=function(t){return function(e,r){return Object(n.a)(t(e),r)}}(t)),{left:i,center:function(t,r,n,o){null==n&&(n=0),null==o&&(o=t.length);var a=i(t,r,n,o-1);return a>n&&e(t[a-1],r)>-e(t[a],r)?a-1:a},right:function(t,e,n,i){for(null==n&&(n=0),null==i&&(i=t.length);n<i;){var o=n+i>>>1;r(t[o],e)>0?i=o:n=o+1}return n}}}},function(t,e,r){"use strict";var n=r(29);e.a=function(t,e){var r,i;if(void 0===e){var o,a=Object(n.a)(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;null!=s&&(void 0===r?s>=s&&(r=i=s):(r>s&&(r=s),i<s&&(i=s)))}}catch(h){a.e(h)}finally{a.f()}}else{var c,u=-1,l=Object(n.a)(t);try{for(l.s();!(c=l.n()).done;){var f=c.value;null!=(f=e(f,++u,t))&&(void 0===r?f>=f&&(r=i=f):(r>f&&(r=f),i<f&&(i=f)))}}catch(h){l.e(h)}finally{l.f()}}return[r,i]}},,function(t,e,r){(function(e){var n=r(12);t.exports=function t(e,r,n){function i(a,s){if(!r[a]){if(!e[a]){if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[a]={exports:{}};e[a][0].call(u.exports,(function(t){return i(e[a][1][t]||t)}),u,u.exports,t,e,r,n)}return r[a].exports}for(var o=!1,a=0;a<n.length;a++)i(n[a]);return i}({1:[function(t,e,r){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function s(t){o(a,n,i,s,c,"next",t)}function c(t){o(a,n,i,s,c,"throw",t)}s(void 0)}))}}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var c=t("fs"),u=t("fast-csv"),l=t("dayjs/plugin/customParseFormat"),f=t("dayjs/plugin/utc"),h=t("dayjs").extend(l).extend(f),d=t("../utils/stream-buf"),p=t("../utils/utils").fs.exists,m={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}},b=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.workbook=e,this.worksheet=null}var e,r,o,l;return e=t,(r=[{key:"readFile",value:(l=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=r||{},t.next=3,p(e);case 3:if(t.sent){t.next=5;break}throw new Error("File not found: ".concat(e));case 5:return i=c.createReadStream(e),t.next=8,this.read(i,r);case 8:return o=t.sent,i.close(),t.abrupt("return",o);case 11:case"end":return t.stop()}}),t,this)}))),function(t,e){return l.apply(this,arguments)})},{key:"read",value:function(t,e){var r=this;return e=e||{},new Promise((function(n,i){var o=r.workbook.addWorksheet(e.sheetName),a=e.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],s=e.map||function(t){if(""===t)return null;var e=Number(t);if(!Number.isNaN(e)&&e!==1/0)return e;var r=a.reduce((function(e,r){if(e)return e;var n=h(t,r,!0);return n.isValid()?n:null}),null);if(r)return new Date(r.valueOf());var n=m[t];return void 0!==n?n:t},c=u.parse(e.parserOptions).on("data",(function(t){o.addRow(t.map(s))})).on("end",(function(){c.emit("worksheet",o)}));c.on("worksheet",n).on("error",i),t.pipe(c)}))}},{key:"createInputStream",value:function(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"write",value:function(t,e){var r=this;return new Promise((function(n,o){e=e||{};var a=r.workbook.getWorksheet(e.sheetName||e.sheetId),s=u.format(e.formatterOptions);t.on("finish",(function(){n()})),s.on("error",o),s.pipe(t);var c=e,l=c.dateFormat,f=c.dateUTC,d=e.map||function(t){if(t){if(t.text||t.hyperlink)return t.hyperlink||t.text||"";if(t.formula||t.result)return t.result||"";if(t instanceof Date)return l?f?h.utc(t).format(l):h(t).format(l):f?h.utc(t).format():h(t).format();if(t.error)return t.error;if("object"===i(t))return JSON.stringify(t)}return t},p=void 0===e.includeEmptyRows||e.includeEmptyRows,m=1;a&&a.eachRow((function(t,e){if(p)for(;m++<e-1;)s.write([]);var r=t.values;r.shift(),s.write(r.map(d)),m=e})),s.end()}))}},{key:"writeFile",value:function(t,e){var r={encoding:(e=e||{}).encoding||"utf8"},n=c.createWriteStream(t,r);return this.write(n,e)}},{key:"writeBuffer",value:(o=a(n.mark((function t(e){var r;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new d,t.next=3,this.write(r,e);case 3:return t.abrupt("return",r.read());case 4:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})}])&&s(e.prototype,r),t}();e.exports=b},{"../utils/stream-buf":23,"../utils/utils":26,dayjs:336,"dayjs/plugin/customParseFormat":337,"dayjs/plugin/utc":338,"fast-csv":369,fs:215}],2:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=t("../utils/col-cache"),a=function(){function t(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n(this,t),r)if("string"==typeof r){var a=o.decodeAddress(r);this.nativeCol=a.col+i,this.nativeColOff=0,this.nativeRow=a.row+i,this.nativeRowOff=0}else void 0!==r.nativeCol?(this.nativeCol=r.nativeCol||0,this.nativeColOff=r.nativeColOff||0,this.nativeRow=r.nativeRow||0,this.nativeRowOff=r.nativeRowOff||0):void 0!==r.col?(this.col=r.col+i,this.row=r.row+i):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;this.worksheet=e}var e,r,a;return e=t,a=[{key:"asInstance",value:function(e){return e instanceof t||null==e?e:new t(e)}}],(r=[{key:"col",get:function(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth},set:function(t){this.nativeCol=Math.floor(t),this.nativeColOff=Math.floor((t-this.nativeCol)*this.colWidth)}},{key:"row",get:function(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight},set:function(t){this.nativeRow=Math.floor(t),this.nativeRowOff=Math.floor((t-this.nativeRow)*this.rowHeight)}},{key:"colWidth",get:function(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}},{key:"rowHeight",get:function(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}},{key:"model",get:function(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}},set:function(t){this.nativeCol=t.nativeCol,this.nativeColOff=t.nativeColOff,this.nativeRow=t.nativeRow,this.nativeRowOff=t.nativeRowOff}}])&&i(e.prototype,r),a&&i(e,a),t}();e.exports=a},{"../utils/col-cache":19}],3:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}var a=t("../utils/col-cache"),s=t("../utils/under-dash"),c=t("./enums"),u=t("../utils/shared-formula").slideFormula,l=t("./note"),f=function(){function t(e,r,i){if(n(this,t),!e||!r)throw new Error("A Cell needs a Row");this._row=e,this._column=r,a.validateAddress(i),this._address=i,this._value=S.create(t.Types.Null,this),this.style=this._mergeStyle(e.style,r.style,{}),this._mergeCount=0}return o(t,[{key:"destroy",value:function(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}},{key:"_mergeStyle",value:function(t,e,r){var n=t&&t.numFmt||e&&e.numFmt;n&&(r.numFmt=n);var i=t&&t.font||e&&e.font;i&&(r.font=i);var o=t&&t.alignment||e&&e.alignment;o&&(r.alignment=o);var a=t&&t.border||e&&e.border;a&&(r.border=a);var s=t&&t.fill||e&&e.fill;s&&(r.fill=s);var c=t&&t.protection||e&&e.protection;return c&&(r.protection=c),r}},{key:"toCsvString",value:function(){return this._value.toCsvString()}},{key:"addMergeRef",value:function(){this._mergeCount++}},{key:"releaseMergeRef",value:function(){this._mergeCount--}},{key:"merge",value:function(e,r){this._value.release(),this._value=S.create(t.Types.Merge,this,e),r||(this.style=e.style)}},{key:"unmerge",value:function(){this.type===t.Types.Merge&&(this._value.release(),this._value=S.create(t.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}},{key:"isMergedTo",value:function(e){return this._value.type===t.Types.Merge&&this._value.isMergedTo(e)}},{key:"toString",value:function(){return this.text}},{key:"_upgradeToHyperlink",value:function(e){this.type===t.Types.String&&(this._value=S.create(t.Types.Hyperlink,this,{text:this._value.value,hyperlink:e}))}},{key:"addName",value:function(t){this.workbook.definedNames.addEx(this.fullAddress,t)}},{key:"removeName",value:function(t){this.workbook.definedNames.removeEx(this.fullAddress,t)}},{key:"removeAllNames",value:function(){this.workbook.definedNames.removeAllNames(this.fullAddress)}},{key:"worksheet",get:function(){return this._row.worksheet}},{key:"workbook",get:function(){return this._row.worksheet.workbook}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(t){this.style.numFmt=t}},{key:"font",get:function(){return this.style.font},set:function(t){this.style.font=t}},{key:"alignment",get:function(){return this.style.alignment},set:function(t){this.style.alignment=t}},{key:"border",get:function(){return this.style.border},set:function(t){this.style.border=t}},{key:"fill",get:function(){return this.style.fill},set:function(t){this.style.fill=t}},{key:"protection",get:function(){return this.style.protection},set:function(t){this.style.protection=t}},{key:"address",get:function(){return this._address}},{key:"row",get:function(){return this._row.number}},{key:"col",get:function(){return this._column.number}},{key:"$col$row",get:function(){return"$".concat(this._column.letter,"$").concat(this.row)}},{key:"type",get:function(){return this._value.type}},{key:"effectiveType",get:function(){return this._value.effectiveType}},{key:"isMerged",get:function(){return this._mergeCount>0||this.type===t.Types.Merge}},{key:"master",get:function(){return this.type===t.Types.Merge?this._value.master:this}},{key:"isHyperlink",get:function(){return this._value.type===t.Types.Hyperlink}},{key:"hyperlink",get:function(){return this._value.hyperlink}},{key:"value",get:function(){return this._value.value},set:function(e){this.type!==t.Types.Merge?(this._value.release(),this._value=S.create(S.getType(e),this,e)):this._value.master.value=e}},{key:"note",get:function(){return this._comment&&this._comment.note},set:function(t){this._comment=new l(t)}},{key:"text",get:function(){return this._value.toString()}},{key:"html",get:function(){return s.escapeHtml(this.text)}},{key:"formula",get:function(){return this._value.formula}},{key:"result",get:function(){return this._value.result}},{key:"formulaType",get:function(){return this._value.formulaType}},{key:"fullAddress",get:function(){return{sheetName:this._row.worksheet.name,address:this.address,row:this.row,col:this.col}}},{key:"name",get:function(){return this.names[0]},set:function(t){this.names=[t]}},{key:"names",get:function(){return this.workbook.definedNames.getNamesEx(this.fullAddress)},set:function(t){var e=this,r=this.workbook.definedNames;r.removeAllNames(this.fullAddress),t.forEach((function(t){r.addEx(e.fullAddress,t)}))}},{key:"_dataValidations",get:function(){return this.worksheet.dataValidations}},{key:"dataValidation",get:function(){return this._dataValidations.find(this.address)},set:function(t){this._dataValidations.add(this.address,t)}},{key:"model",get:function(){var t=this._value.model;return t.style=this.style,this._comment&&(t.comment=this._comment.model),t},set:function(t){if(this._value.release(),this._value=S.create(t.type,this),this._value.model=t,t.comment)switch(t.comment.type){case"note":this._comment=l.fromModel(t.comment)}t.style?this.style=t.style:this.style={}}}]),t}();f.Types=c.ValueType;var h=function(){function t(e){n(this,t),this.model={address:e.address,type:f.Types.Null}}return o(t,[{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){}},{key:"toString",value:function(){return""}},{key:"value",get:function(){return null},set:function(t){}},{key:"type",get:function(){return f.Types.Null}},{key:"effectiveType",get:function(){return f.Types.Null}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),d=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Number,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Number}},{key:"effectiveType",get:function(){return f.Types.Number}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),p=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.String,value:r}}return o(t,[{key:"toCsvString",value:function(){return'"'.concat(this.model.value.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.String}},{key:"effectiveType",get:function(){return f.Types.String}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),m=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.String,value:r}}return o(t,[{key:"toString",value:function(){return this.model.value.richText.map((function(t){return t.text})).join("")}},{key:"toCsvString",value:function(){return'"'.concat(this.text.replace(/"/g,'""'),'"')}},{key:"release",value:function(){}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.RichText}},{key:"effectiveType",get:function(){return f.Types.RichText}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),b=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Date,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value.toISOString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Date}},{key:"effectiveType",get:function(){return f.Types.Date}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),v=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Hyperlink,text:r?r.text:void 0,hyperlink:r?r.hyperlink:void 0},r&&r.tooltip&&(this.model.tooltip=r.tooltip)}return o(t,[{key:"toCsvString",value:function(){return this.model.hyperlink}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.text}},{key:"value",get:function(){var t={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(t.tooltip=this.model.tooltip),t},set:function(t){this.model={text:t.text,hyperlink:t.hyperlink},t.tooltip&&(this.model.tooltip=t.tooltip)}},{key:"text",get:function(){return this.model.text},set:function(t){this.model.text=t}},{key:"hyperlink",get:function(){return this.model.hyperlink},set:function(t){this.model.hyperlink=t}},{key:"type",get:function(){return f.Types.Hyperlink}},{key:"effectiveType",get:function(){return f.Types.Hyperlink}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),g=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Merge,master:r?r.address:void 0},this._master=r,r&&r.addMergeRef()}return o(t,[{key:"isMergedTo",value:function(t){return t===this._master}},{key:"toCsvString",value:function(){return""}},{key:"release",value:function(){this._master.releaseMergeRef()}},{key:"toString",value:function(){return this.value.toString()}},{key:"value",get:function(){return this._master.value},set:function(t){t instanceof f?(this._master&&this._master.releaseMergeRef(),t.addMergeRef(),this._master=t):this._master.value=t}},{key:"master",get:function(){return this._master}},{key:"type",get:function(){return f.Types.Merge}},{key:"effectiveType",get:function(){return this._master.effectiveType}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),y=function(){function t(e,r){n(this,t),this.cell=e,this.model={address:e.address,type:f.Types.Formula,shareType:r?r.shareType:void 0,ref:r?r.ref:void 0,formula:r?r.formula:void 0,sharedFormula:r?r.sharedFormula:void 0,result:r?r.result:void 0}}return o(t,[{key:"_copyModel",value:function(t){var e={},r=function(r){var n=t[r];n&&(e[r]=n)};return r("formula"),r("result"),r("ref"),r("shareType"),r("sharedFormula"),e}},{key:"validate",value:function(t){switch(S.getType(t)){case f.Types.Null:case f.Types.String:case f.Types.Number:case f.Types.Date:break;case f.Types.Hyperlink:case f.Types.Formula:default:throw new Error("Cannot process that type of result value")}}},{key:"_getTranslatedFormula",value:function(){if(!this._translatedFormula&&this.model.sharedFormula){var t=this.cell.worksheet.findCell(this.model.sharedFormula);this._translatedFormula=t&&u(t.formula,t.address,this.model.address)}return this._translatedFormula}},{key:"toCsvString",value:function(){return"".concat(this.model.result||"")}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.result?this.model.result.toString():""}},{key:"value",get:function(){return this._copyModel(this.model)},set:function(t){this.model=this._copyModel(t)}},{key:"dependencies",get:function(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}},{key:"formula",get:function(){return this.model.formula||this._getTranslatedFormula()},set:function(t){this.model.formula=t}},{key:"formulaType",get:function(){return this.model.formula?c.FormulaType.Master:this.model.sharedFormula?c.FormulaType.Shared:c.FormulaType.None}},{key:"result",get:function(){return this.model.result},set:function(t){this.model.result=t}},{key:"type",get:function(){return f.Types.Formula}},{key:"effectiveType",get:function(){var t=this.model.result;return null==t?c.ValueType.Null:t instanceof String||"string"==typeof t?c.ValueType.String:"number"==typeof t?c.ValueType.Number:t instanceof Date?c.ValueType.Date:t.text&&t.hyperlink?c.ValueType.Hyperlink:t.formula?c.ValueType.Formula:c.ValueType.Null}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),w=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.SharedString,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.SharedString}},{key:"effectiveType",get:function(){return f.Types.SharedString}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),x=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Boolean,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value?1:0}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Boolean}},{key:"effectiveType",get:function(){return f.Types.Boolean}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),O=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.Error,value:r}}return o(t,[{key:"toCsvString",value:function(){return this.toString()}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value.error.toString()}},{key:"value",get:function(){return this.model.value},set:function(t){this.model.value=t}},{key:"type",get:function(){return f.Types.Error}},{key:"effectiveType",get:function(){return f.Types.Error}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),_=function(){function t(e,r){n(this,t),this.model={address:e.address,type:f.Types.String,value:JSON.stringify(r),rawValue:r}}return o(t,[{key:"toCsvString",value:function(){return this.model.value}},{key:"release",value:function(){}},{key:"toString",value:function(){return this.model.value}},{key:"value",get:function(){return this.model.rawValue},set:function(t){this.model.rawValue=t,this.model.value=JSON.stringify(t)}},{key:"type",get:function(){return f.Types.String}},{key:"effectiveType",get:function(){return f.Types.String}},{key:"address",get:function(){return this.model.address},set:function(t){this.model.address=t}}]),t}(),S={getType:function(t){return null==t?f.Types.Null:t instanceof String||"string"==typeof t?f.Types.String:"number"==typeof t?f.Types.Number:"boolean"==typeof t?f.Types.Boolean:t instanceof Date?f.Types.Date:t.text&&t.hyperlink?f.Types.Hyperlink:t.formula||t.sharedFormula?f.Types.Formula:t.richText?f.Types.RichText:t.sharedString?f.Types.SharedString:t.error?f.Types.Error:f.Types.JSON},types:[{t:f.Types.Null,f:h},{t:f.Types.Number,f:d},{t:f.Types.String,f:p},{t:f.Types.Date,f:b},{t:f.Types.Hyperlink,f:v},{t:f.Types.Formula,f:y},{t:f.Types.Merge,f:g},{t:f.Types.JSON,f:_},{t:f.Types.SharedString,f:w},{t:f.Types.RichText,f:m},{t:f.Types.Boolean,f:x},{t:f.Types.Error,f:O}].reduce((function(t,e){return t[e.t]=e.f,t}),[]),create:function(t,e,r){var n=this.types[t];if(!n)throw new Error("Could not create Value of type ".concat(t));return new n(e,r)}};e.exports=f},{"../utils/col-cache":19,"../utils/shared-formula":22,"../utils/under-dash":25,"./enums":7,"./note":9}],4:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/under-dash"),o=t("./enums"),a=t("../utils/col-cache"),s=function(){function t(e,r,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._worksheet=e,this._number=r,!1!==n&&(this.defn=n)}var e,r,s;return e=t,s=[{key:"toModel",value:function(t){var e=[],r=null;return t&&t.forEach((function(t,n){t.isDefault?r&&(r=null):r&&t.equivalentTo(r)?r.max=n+1:(r={min:n+1,max:n+1,width:void 0!==t.width?t.width:9,style:t.style,isCustomWidth:t.isCustomWidth,hidden:t.hidden,outlineLevel:t.outlineLevel,collapsed:t.collapsed},e.push(r))})),e.length?e:void 0}},{key:"fromModel",value:function(e,r){r=r||[];for(var n=[],i=1,o=0;o<r.length;){for(var a=r[o++];i<a.min;)n.push(new t(e,i++));for(;i<=a.max;)n.push(new t(e,i++,a))}return n.length?n:null}}],(r=[{key:"toString",value:function(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}},{key:"equivalentTo",value:function(t){return this.width===t.width&&this.hidden===t.hidden&&this.outlineLevel===t.outlineLevel&&i.isEqual(this.style,t.style)}},{key:"eachCell",value:function(t,e){var r=this.number;e||(e=t,t=null),this._worksheet.eachRow(t,(function(t,n){e(t.getCell(r),n)}))}},{key:"_applyStyle",value:function(t,e){return this.style[t]=e,this.eachCell((function(r){r[t]=e})),e}},{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"letter",get:function(){return a.n2l(this._number)}},{key:"isCustomWidth",get:function(){return void 0!==this.width&&9!==this.width}},{key:"defn",get:function(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}},set:function(t){t?(this.key=t.key,this.width=void 0!==t.width?t.width:9,this.outlineLevel=t.outlineLevel,t.style?this.style=t.style:this.style={},this.header=t.header,this._hidden=!!t.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}},{key:"headers",get:function(){return this._header&&this._header instanceof Array?this._header:[this._header]}},{key:"header",get:function(){return this._header},set:function(t){var e=this;void 0!==t?(this._header=t,this.headers.forEach((function(t,r){e._worksheet.getCell(r+1,e.number).value=t}))):this._header=void 0}},{key:"key",get:function(){return this._key},set:function(t){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=t,t&&this._worksheet.setColumnKey(this._key,this)}},{key:"hidden",get:function(){return!!this._hidden},set:function(t){this._hidden=t}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(t){this._outlineLevel=t}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}},{key:"isDefault",get:function(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;var t=this.style;return!t||!(t.font||t.numFmt||t.alignment||t.border||t.fill||t.protection)}},{key:"headerCount",get:function(){return this.headers.length}},{key:"values",get:function(){var t=[];return this.eachCell((function(e,r){e&&e.type!==o.ValueType.Null&&(t[r]=e.value)})),t},set:function(t){var e=this;if(t){var r=this.number,n=0;t.hasOwnProperty("0")&&(n=1),t.forEach((function(t,i){e._worksheet.getCell(i+n,r).value=t}))}}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(t){this._applyStyle("numFmt",t)}},{key:"font",get:function(){return this.style.font},set:function(t){this._applyStyle("font",t)}},{key:"alignment",get:function(){return this.style.alignment},set:function(t){this._applyStyle("alignment",t)}},{key:"protection",get:function(){return this.style.protection},set:function(t){this._applyStyle("protection",t)}},{key:"border",get:function(){return this.style.border},set:function(t){this._applyStyle("border",t)}},{key:"fill",get:function(){return this.style.fill},set:function(t){this._applyStyle("fill",t)}}])&&n(e.prototype,r),s&&n(e,s),t}();e.exports=s},{"../utils/col-cache":19,"../utils/under-dash":25,"./enums":7}],5:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=e||{}}var e,r;return e=t,(r=[{key:"add",value:function(t,e){return this.model[t]=e}},{key:"find",value:function(t){return this.model[t]}},{key:"remove",value:function(t){this.model[t]=void 0}}])&&n(e.prototype,r),t}();e.exports=i},{}],6:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/under-dash"),o=t("../utils/col-cache"),a=t("../utils/cell-matrix"),s=t("./range"),c=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/,u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.matrixMap={}}var e,r;return e=t,(r=[{key:"getMatrix",value:function(t){return this.matrixMap[t]||(this.matrixMap[t]=new a)}},{key:"add",value:function(t,e){var r=o.decodeEx(t);this.addEx(r,e)}},{key:"addEx",value:function(t,e){var r=this.getMatrix(e);if(t.top)for(var n=t.left;n<=t.right;n++)for(var i=t.top;i<=t.bottom;i++){var a={sheetName:t.sheetName,address:o.n2l(n)+i,row:i,col:n};r.addCellEx(a)}else r.addCellEx(t)}},{key:"remove",value:function(t,e){var r=o.decodeEx(t);this.removeEx(r,e)}},{key:"removeEx",value:function(t,e){this.getMatrix(e).removeCellEx(t)}},{key:"removeAllNames",value:function(t){i.each(this.matrixMap,(function(e){e.removeCellEx(t)}))}},{key:"forEach",value:function(t){i.each(this.matrixMap,(function(e,r){e.forEach((function(e){t(r,e)}))}))}},{key:"getNames",value:function(t){return this.getNamesEx(o.decodeEx(t))}},{key:"getNamesEx",value:function(t){return i.map(this.matrixMap,(function(e,r){return e.findCellEx(t)&&r})).filter(Boolean)}},{key:"_explore",value:function(t,e){e.mark=!1;var r,n,i=e.sheetName,o=new s(e.row,e.col,e.row,e.col,i);function a(r,n){var a=t.findCellAt(i,r,e.col);return!(!a||!a.mark||(o[n]=r,a.mark=!1,0))}for(n=e.row-1;a(n,"top");n--);for(n=e.row+1;a(n,"bottom");n++);function c(e,r){var a=[];for(n=o.top;n<=o.bottom;n++){var s=t.findCellAt(i,n,e);if(!s||!s.mark)return!1;a.push(s)}o[r]=e;for(var c=0;c<a.length;c++)a[c].mark=!1;return!0}for(r=e.col-1;c(r,"left");r--);for(r=e.col+1;c(r,"right");r++);return o}},{key:"getRanges",value:function(t,e){var r=this;return(e=e||this.matrixMap[t])?(e.forEach((function(t){t.mark=!0})),{name:t,ranges:e.map((function(t){return t.mark&&r._explore(e,t)})).filter(Boolean).map((function(t){return t.$shortRange}))}):{name:t,ranges:[]}}},{key:"normaliseMatrix",value:function(t,e){t.forEachInSheet(e,(function(t,e,r){t&&(t.row===e&&t.col===r||(t.row=e,t.col=r,t.address=o.n2l(r)+e))}))}},{key:"spliceRows",value:function(t,e,r,n){var o=this;i.each(this.matrixMap,(function(i){i.spliceRows(t,e,r,n),o.normaliseMatrix(i,t)}))}},{key:"spliceColumns",value:function(t,e,r,n){var o=this;i.each(this.matrixMap,(function(i){i.spliceColumns(t,e,r,n),o.normaliseMatrix(i,t)}))}},{key:"model",get:function(){var t=this;return i.map(this.matrixMap,(function(e,r){return t.getRanges(r,e)})).filter((function(t){return t.ranges.length}))},set:function(t){var e=this.matrixMap={};t.forEach((function(t){var r=e[t.name]=new a;t.ranges.forEach((function(t){c.test(t.split("!").pop()||"")&&r.addCell(t)}))}))}}])&&n(e.prototype,r),t}();e.exports=u},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":25,"./range":10}],7:[function(t,e,r){"use strict";e.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/col-cache"),o=t("./anchor"),a=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.worksheet=e,this.model=r}var e,r;return e=t,(r=[{key:"model",get:function(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}},set:function(t){var e=t.type,r=t.imageId,n=t.range,a=t.hyperlinks;if(this.type=e,this.imageId=r,"image"===e)if("string"==typeof n){var s=i.decode(n);this.range={tl:new o(this.worksheet,{col:s.left,row:s.top},-1),br:new o(this.worksheet,{col:s.right,row:s.bottom},0),editAs:"oneCell"}}else this.range={tl:new o(this.worksheet,n.tl,0),br:n.br&&new o(this.worksheet,n.br,0),ext:n.ext,editAs:n.editAs,hyperlinks:a||n.hyperlinks}}}])&&n(e.prototype,r),t}();e.exports=a},{"../utils/col-cache":19,"./anchor":2}],9:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=t("../utils/under-dash"),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.note=e}var e,r,a;return e=t,a=[{key:"fromModel",value:function(e){var r=new t;return r.model=e,r}}],(r=[{key:"model",get:function(){var e=null;switch(n(this.note)){case"string":e={type:"note",note:{texts:[{text:this.note}]}};break;default:e={type:"note",note:this.note}}return o.deepMerge({},t.DEFAULT_CONFIGS,e)},set:function(t){var e=t.note,r=e.texts;1===r.length&&1===Object.keys(r[0]).length?this.note=r[0].text:this.note=e}}])&&i(e.prototype,r),a&&i(e,a),t}();a.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},e.exports=a},{"../utils/under-dash":25}],10:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var o=t("../utils/col-cache"),a=function(){function t(){n(this,t),this.decode(arguments)}var e,r;return e=t,(r=[{key:"setTLBR",value:function(t,e,r,n,i){if(arguments.length<4){var a=o.decodeAddress(t),s=o.decodeAddress(e);this.model={top:Math.min(a.row,s.row),left:Math.min(a.col,s.col),bottom:Math.max(a.row,s.row),right:Math.max(a.col,s.col),sheetName:r},this.setTLBR(a.row,a.col,s.row,s.col,i)}else this.model={top:Math.min(t,r),left:Math.min(e,n),bottom:Math.max(t,r),right:Math.max(e,n),sheetName:i}}},{key:"decode",value:function(e){switch(e.length){case 5:this.setTLBR(e[0],e[1],e[2],e[3],e[4]);break;case 4:this.setTLBR(e[0],e[1],e[2],e[3]);break;case 3:this.setTLBR(e[0],e[1],e[2]);break;case 2:this.setTLBR(e[0],e[1]);break;case 1:var r=e[0];if(r instanceof t)this.model={top:r.model.top,left:r.model.left,bottom:r.model.bottom,right:r.model.right,sheetName:r.sheetName};else if(r instanceof Array)this.decode(r);else if(r.top&&r.left&&r.bottom&&r.right)this.model={top:r.top,left:r.left,bottom:r.bottom,right:r.right,sheetName:r.sheetName};else{var n=o.decodeEx(r);n.top?this.model={top:n.top,left:n.left,bottom:n.bottom,right:n.right,sheetName:n.sheetName}:this.model={top:n.row,left:n.col,bottom:n.row,right:n.col,sheetName:n.sheetName}}break;case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - ".concat(e.length))}}},{key:"expand",value:function(t,e,r,n){(!this.model.top||t<this.top)&&(this.top=t),(!this.model.left||e<this.left)&&(this.left=e),(!this.model.bottom||r>this.bottom)&&(this.bottom=r),(!this.model.right||n>this.right)&&(this.right=n)}},{key:"expandRow",value:function(t){if(t){var e=t.dimensions,r=t.number;e&&this.expand(r,e.min,r,e.max)}}},{key:"expandToAddress",value:function(t){var e=o.decodeEx(t);this.expand(e.row,e.col,e.row,e.col)}},{key:"toString",value:function(){return this.range}},{key:"intersects",value:function(t){return!(t.sheetName&&this.sheetName&&t.sheetName!==this.sheetName||t.bottom<this.top||t.top>this.bottom||t.right<this.left||t.left>this.right)}},{key:"contains",value:function(t){var e=o.decodeEx(t);return this.containsEx(e)}},{key:"containsEx",value:function(t){return(!t.sheetName||!this.sheetName||t.sheetName===this.sheetName)&&t.row>=this.top&&t.row<=this.bottom&&t.col>=this.left&&t.col<=this.right}},{key:"forEachAddress",value:function(t){for(var e=this.left;e<=this.right;e++)for(var r=this.top;r<=this.bottom;r++)t(o.encodeAddress(r,e),r,e)}},{key:"top",get:function(){return this.model.top||1},set:function(t){this.model.top=t}},{key:"left",get:function(){return this.model.left||1},set:function(t){this.model.left=t}},{key:"bottom",get:function(){return this.model.bottom||1},set:function(t){this.model.bottom=t}},{key:"right",get:function(){return this.model.right||1},set:function(t){this.model.right=t}},{key:"sheetName",get:function(){return this.model.sheetName},set:function(t){this.model.sheetName=t}},{key:"_serialisedSheetName",get:function(){var t=this.model.sheetName;return t?/^[a-zA-Z0-9]*$/.test(t)?"".concat(t,"!"):"'".concat(t,"'!"):""}},{key:"tl",get:function(){return o.n2l(this.left)+this.top}},{key:"$t$l",get:function(){return"$".concat(o.n2l(this.left),"$").concat(this.top)}},{key:"br",get:function(){return o.n2l(this.right)+this.bottom}},{key:"$b$r",get:function(){return"$".concat(o.n2l(this.right),"$").concat(this.bottom)}},{key:"range",get:function(){return"".concat(this._serialisedSheetName+this.tl,":").concat(this.br)}},{key:"$range",get:function(){return"".concat(this._serialisedSheetName+this.$t$l,":").concat(this.$b$r)}},{key:"shortRange",get:function(){return this.count>1?this.range:this._serialisedSheetName+this.tl}},{key:"$shortRange",get:function(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}},{key:"count",get:function(){return(1+this.bottom-this.top)*(1+this.right-this.left)}}])&&i(e.prototype,r),t}();e.exports=a},{"../utils/col-cache":19}],11:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../utils/under-dash"),o=t("./enums"),a=t("../utils/col-cache"),s=t("./cell"),c=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._worksheet=e,this._number=r,this._cells=[],this.style={},this.outlineLevel=0}var e,r;return e=t,(r=[{key:"commit",value:function(){this._worksheet._commitRow(this)}},{key:"destroy",value:function(){delete this._worksheet,delete this._cells,delete this.style}},{key:"findCell",value:function(t){return this._cells[t-1]}},{key:"getCellEx",value:function(t){var e=this._cells[t.col-1];if(!e){var r=this._worksheet.getColumn(t.col);e=new s(this,r,t.address),this._cells[t.col-1]=e}return e}},{key:"getCell",value:function(t){if("string"==typeof t){var e=this._worksheet.getColumnKey(t);t=e?e.number:a.l2n(t)}return this._cells[t-1]||this.getCellEx({address:a.encodeAddress(this._number,t),row:this._number,col:t})}},{key:"splice",value:function(t,e){for(var r=t+e,n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var a,s,c,u=i.length-e,l=this._cells.length;if(u<0)for(a=t+i.length;a<=l;a++)c=this._cells[a-1],(s=this._cells[a-u-1])?((c=this.getCell(a)).value=s.value,c.style=s.style,c._comment=s._comment):c&&(c.value=null,c.style={},c._comment=void 0);else if(u>0)for(a=l;a>=r;a--)(s=this._cells[a-1])?((c=this.getCell(a+u)).value=s.value,c.style=s.style,c._comment=s._comment):this._cells[a+u-1]=void 0;for(a=0;a<i.length;a++)(c=this.getCell(t+a)).value=i[a],c.style={},c._comment=void 0}},{key:"eachCell",value:function(t,e){if(e||(e=t,t=null),t&&t.includeEmpty)for(var r=this._cells.length,n=1;n<=r;n++)e(this.getCell(n),n);else this._cells.forEach((function(t,r){t&&t.type!==o.ValueType.Null&&e(t,r+1)}))}},{key:"addPageBreak",value:function(t,e){var r=this._worksheet,n=Math.max(0,t-1)||0,i=Math.max(0,e-1)||16838,o={id:this._number,max:i,man:1};n&&(o.min=n),r.rowBreaks.push(o)}},{key:"_applyStyle",value:function(t,e){return this.style[t]=e,this._cells.forEach((function(r){r&&(r[t]=e)})),e}},{key:"number",get:function(){return this._number}},{key:"worksheet",get:function(){return this._worksheet}},{key:"values",get:function(){var t=[];return this._cells.forEach((function(e){e&&e.type!==o.ValueType.Null&&(t[e.col]=e.value)})),t},set:function(t){var e=this;if(this._cells=[],t)if(t instanceof Array){var r=0;t.hasOwnProperty("0")&&(r=1),t.forEach((function(t,n){void 0!==t&&(e.getCellEx({address:a.encodeAddress(e._number,n+r),row:e._number,col:n+r}).value=t)}))}else this._worksheet.eachColumnKey((function(r,n){void 0!==t[n]&&(e.getCellEx({address:a.encodeAddress(e._number,r.number),row:e._number,col:r.number}).value=t[n])}))}},{key:"hasValues",get:function(){return i.some(this._cells,(function(t){return t&&t.type!==o.ValueType.Null}))}},{key:"cellCount",get:function(){return this._cells.length}},{key:"actualCellCount",get:function(){var t=0;return this.eachCell((function(){t++})),t}},{key:"dimensions",get:function(){var t=0,e=0;return this._cells.forEach((function(r){r&&r.type!==o.ValueType.Null&&((!t||t>r.col)&&(t=r.col),e<r.col&&(e=r.col))})),t>0?{min:t,max:e}:null}},{key:"numFmt",get:function(){return this.style.numFmt},set:function(t){this._applyStyle("numFmt",t)}},{key:"font",get:function(){return this.style.font},set:function(t){this._applyStyle("font",t)}},{key:"alignment",get:function(){return this.style.alignment},set:function(t){this._applyStyle("alignment",t)}},{key:"protection",get:function(){return this.style.protection},set:function(t){this._applyStyle("protection",t)}},{key:"border",get:function(){return this.style.border},set:function(t){this._applyStyle("border",t)}},{key:"fill",get:function(){return this.style.fill},set:function(t){this._applyStyle("fill",t)}},{key:"hidden",get:function(){return!!this._hidden},set:function(t){this._hidden=t}},{key:"outlineLevel",get:function(){return this._outlineLevel||0},set:function(t){this._outlineLevel=t}},{key:"collapsed",get:function(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}},{key:"model",get:function(){var t=[],e=0,r=0;return this._cells.forEach((function(n){if(n){var i=n.model;i&&((!e||e>n.col)&&(e=n.col),r<n.col&&(r=n.col),t.push(i))}})),this.height||t.length?{cells:t,number:this.number,min:e,max:r,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null},set:function(t){var e,r=this;if(t.number!==this._number)throw new Error("Invalid row number in model");this._cells=[],t.cells.forEach((function(t){switch(t.type){case s.Types.Merge:break;default:var n;if(t.address)n=a.decodeAddress(t.address);else if(e){var i=e.row,o=e.col+1;n={row:i,col:o,address:a.encodeAddress(i,o),$col$row:"$".concat(a.n2l(o),"$").concat(i)}}e=n,r.getCellEx(n).model=t}})),t.height?this.height=t.height:delete this.height,this.hidden=t.hidden,this.outlineLevel=t.outlineLevel||0,this.style=t.style&&JSON.parse(JSON.stringify(t.style))||{}}}])&&n(e.prototype,r),t}();e.exports=c},{"../utils/col-cache":19,"../utils/under-dash":25,"./cell":3,"./enums":7}],12:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}var a=t("../utils/col-cache"),s=function(){function t(e,r,i){n(this,t),this.table=e,this.column=r,this.index=i}return o(t,[{key:"_set",value:function(t,e){this.table.cacheState(),this.column[t]=e}},{key:"name",get:function(){return this.column.name},set:function(t){this._set("name",t)}},{key:"filterButton",get:function(){return this.column.filterButton},set:function(t){this.column.filterButton=t}},{key:"style",get:function(){return this.column.style},set:function(t){this.column.style=t}},{key:"totalsRowLabel",get:function(){return this.column.totalsRowLabel},set:function(t){this._set("totalsRowLabel",t)}},{key:"totalsRowFunction",get:function(){return this.column.totalsRowFunction},set:function(t){this._set("totalsRowFunction",t)}},{key:"totalsRowResult",get:function(){return this.column.totalsRowResult},set:function(t){this._set("totalsRowResult",t)}},{key:"totalsRowFormula",get:function(){return this.column.totalsRowFormula},set:function(t){this._set("totalsRowFormula",t)}}]),t}(),c=function(){function t(e,r){n(this,t),this.worksheet=e,r&&(this.table=r,this.validate(),this.store())}return o(t,[{key:"getFormula",value:function(t){switch(t.totalsRowFunction){case"none":return null;case"average":return"SUBTOTAL(101,".concat(this.table.name,"[").concat(t.name,"])");case"countNums":return"SUBTOTAL(102,".concat(this.table.name,"[").concat(t.name,"])");case"count":return"SUBTOTAL(103,".concat(this.table.name,"[").concat(t.name,"])");case"max":return"SUBTOTAL(104,".concat(this.table.name,"[").concat(t.name,"])");case"min":return"SUBTOTAL(105,".concat(this.table.name,"[").concat(t.name,"])");case"stdDev":return"SUBTOTAL(106,".concat(this.table.name,"[").concat(t.name,"])");case"var":return"SUBTOTAL(107,".concat(this.table.name,"[").concat(t.name,"])");case"sum":return"SUBTOTAL(109,".concat(this.table.name,"[").concat(t.name,"])");case"custom":return t.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: ".concat(t.totalsRowFunction))}}},{key:"validate",value:function(){var t=this,e=this.table,r=function(t,e,r){void 0===t[e]&&(t[e]=r)};r(e,"headerRow",!0),r(e,"totalsRow",!1),r(e,"style",{}),r(e.style,"theme","TableStyleMedium2"),r(e.style,"showFirstColumn",!1),r(e.style,"showLastColumn",!1),r(e.style,"showRowStripes",!1),r(e.style,"showColumnStripes",!1);var n=function(t,e){if(!t)throw new Error(e)};n(e.ref,"Table must have ref"),n(e.columns,"Table must have column definitions"),n(e.rows,"Table must have row definitions"),e.tl=a.decodeAddress(e.ref);var i=e.tl,o=i.row,s=i.col;n(o>0,"Table must be on valid row"),n(s>0,"Table must be on valid col");var c=this.width,u=this.filterHeight,l=this.tableHeight;e.autoFilterRef=a.encode(o,s,o+u-1,s+c-1),e.tableRef=a.encode(o,s,o+l-1,s+c-1),e.columns.forEach((function(e,i){n(e.name,"Column ".concat(i," must have a name")),0===i?r(e,"totalsRowLabel","Total"):(r(e,"totalsRowFunction","none"),e.totalsRowFormula=t.getFormula(e))}))}},{key:"store",value:function(){var t=this,e=function(t,e){e&&Object.keys(e).forEach((function(r){t[r]=e[r]}))},r=this.worksheet,n=this.table,i=n.tl,o=i.row,a=i.col,s=0;if(n.headerRow){var c=r.getRow(o+s++);n.columns.forEach((function(t,r){var n=t.style,i=t.name,o=c.getCell(a+r);o.value=i,e(o,n)}))}if(n.rows.forEach((function(t){var i=r.getRow(o+s++);t.forEach((function(t,r){var o=i.getCell(a+r);o.value=t,e(o,n.columns[r].style)}))})),n.totalsRow){var u=r.getRow(o+s++);n.columns.forEach((function(r,n){var i=u.getCell(a+n);if(0===n)i.value=r.totalsRowLabel;else{var o=t.getFormula(r);i.value=o?{formula:r.totalsRowFormula,result:r.totalsRowResult}:null}e(i,r.style)}))}}},{key:"load",value:function(t){var e=this,r=this.table,n=r.tl,i=n.row,o=n.col,a=0;if(r.headerRow){var s=t.getRow(i+a++);r.columns.forEach((function(t,e){s.getCell(o+e).value=t.name}))}if(r.rows.forEach((function(e){var r=t.getRow(i+a++);e.forEach((function(t,e){r.getCell(o+e).value=t}))})),r.totalsRow){var c=t.getRow(i+a++);r.columns.forEach((function(t,r){var n=c.getCell(o+r);0===r?n.value=t.totalsRowLabel:e.getFormula(t)&&(n.value={formula:t.totalsRowFormula,result:t.totalsRowResult})}))}}},{key:"cacheState",value:function(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}},{key:"commit",value:function(){if(this._cache){this.validate();var t=a.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(var e=0;e<this._cache.tableHeight;e++)for(var r=this.worksheet.getRow(t.row+e),n=0;n<this._cache.width;n++)r.getCell(t.col+n).value=null;else{for(var i=this.tableHeight;i<this._cache.tableHeight;i++)for(var o=this.worksheet.getRow(t.row+i),s=0;s<this._cache.width;s++)o.getCell(t.col+s).value=null;for(var c=0;c<this.tableHeight;c++)for(var u=this.worksheet.getRow(t.row+c),l=this.width;l<this._cache.width;l++)u.getCell(t.col+l).value=null}this.store()}}},{key:"addRow",value:function(t,e){this.cacheState(),void 0===e?this.table.rows.push(t):this.table.rows.splice(e,0,t)}},{key:"removeRows",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.rows.splice(t,e)}},{key:"getColumn",value:function(t){var e=this.table.columns[t];return new s(this,e,t)}},{key:"addColumn",value:function(t,e,r){this.cacheState(),void 0===r?(this.table.columns.push(t),this.table.rows.forEach((function(t,r){t.push(e[r])}))):(this.table.columns.splice(r,0,t),this.table.rows.forEach((function(t,n){t.splice(r,0,e[n])})))}},{key:"removeColumns",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cacheState(),this.table.columns.splice(t,e),this.table.rows.forEach((function(r){r.splice(t,e)}))}},{key:"_assign",value:function(t,e,r){this.cacheState(),t[e]=r}},{key:"width",get:function(){return this.table.columns.length}},{key:"height",get:function(){return this.table.rows.length}},{key:"filterHeight",get:function(){return this.height+(this.table.headerRow?1:0)}},{key:"tableHeight",get:function(){return this.filterHeight+(this.table.totalsRow?1:0)}},{key:"model",get:function(){return this.table},set:function(t){this.table=t}},{key:"ref",get:function(){return this.table.ref},set:function(t){this._assign(this.table,"ref",t)}},{key:"name",get:function(){return this.table.name},set:function(t){this.table.name=t}},{key:"displayName",get:function(){return this.table.displyName||this.table.name}},{key:"displayNamename",set:function(t){this.table.displayName=t}},{key:"headerRow",get:function(){return this.table.headerRow},set:function(t){this._assign(this.table,"headerRow",t)}},{key:"totalsRow",get:function(){return this.table.totalsRow},set:function(t){this._assign(this.table,"totalsRow",t)}},{key:"theme",get:function(){return this.table.style.name},set:function(t){this.table.style.name=t}},{key:"showFirstColumn",get:function(){return this.table.style.showFirstColumn},set:function(t){this.table.style.showFirstColumn=t}},{key:"showLastColumn",get:function(){return this.table.style.showLastColumn},set:function(t){this.table.style.showLastColumn=t}},{key:"showRowStripes",get:function(){return this.table.style.showRowStripes},set:function(t){this.table.style.showRowStripes=t}},{key:"showColumnStripes",get:function(){return this.table.style.showColumnStripes},set:function(t){this.table.style.showColumnStripes=t}}]),t}();e.exports=c},{"../utils/col-cache":19}],13:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("./worksheet"),o=t("./defined-names"),a=t("../xlsx/xlsx"),s=t("../csv/csv"),c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new o}var e,r;return e=t,(r=[{key:"addWorksheet",value:function(t,e){var r=this.nextId;if(t&&t.length>31&&console.warn("Worksheet name ".concat(t," exceeds 31 chars. This will be truncated")),/[*?:/\\[\]]/.test(t))throw new Error("Worksheet name ".concat(t," cannot include any of the following characters: * ? : \\ / [ ]"));if(/(^')|('$)/.test(t))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: ".concat(t));if(t=(t||"sheet".concat(r)).substring(0,31),this._worksheets.find((function(e){return e&&e.name.toLowerCase()===t.toLowerCase()})))throw new Error("Worksheet name already exists: ".concat(t));e&&("string"==typeof e?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),e={properties:{tabColor:{argb:e}}}):(e.argb||e.theme||e.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),e={properties:{tabColor:e}}));var n=this._worksheets.reduce((function(t,e){return(e&&e.orderNo)>t?e.orderNo:t}),0),o=Object.assign({},e,{id:r,name:t,orderNo:n+1,workbook:this}),a=new i(o);return this._worksheets[r]=a,a}},{key:"removeWorksheetEx",value:function(t){delete this._worksheets[t.id]}},{key:"removeWorksheet",value:function(t){var e=this.getWorksheet(t);e&&e.destroy()}},{key:"getWorksheet",value:function(t){return void 0===t?this._worksheets.find(Boolean):"number"==typeof t?this._worksheets[t]:"string"==typeof t?this._worksheets.find((function(e){return e&&e.name===t})):void 0}},{key:"eachSheet",value:function(t){this.worksheets.forEach((function(e){t(e,e.id)}))}},{key:"clearThemes",value:function(){this._themes=void 0}},{key:"addImage",value:function(t){var e=this.media.length;return this.media.push(Object.assign({},t,{type:"image"})),e}},{key:"getImage",value:function(t){return this.media[t]}},{key:"xlsx",get:function(){return this._xlsx||(this._xlsx=new a(this)),this._xlsx}},{key:"csv",get:function(){return this._csv||(this._csv=new s(this)),this._csv}},{key:"nextId",get:function(){for(var t=1;t<this._worksheets.length;t++)if(!this._worksheets[t])return t;return this._worksheets.length||1}},{key:"worksheets",get:function(){return this._worksheets.slice(1).sort((function(t,e){return t.orderNo-e.orderNo})).filter(Boolean)}},{key:"definedNames",get:function(){return this._definedNames}},{key:"model",get:function(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map((function(t){return t.model})),sheets:this.worksheets.map((function(t){return t.model})).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}},set:function(t){var e=this;this.creator=t.creator,this.lastModifiedBy=t.lastModifiedBy,this.lastPrinted=t.lastPrinted,this.created=t.created,this.modified=t.modified,this.company=t.company,this.manager=t.manager,this.title=t.title,this.subject=t.subject,this.keywords=t.keywords,this.category=t.category,this.description=t.description,this.language=t.language,this.revision=t.revision,this.contentStatus=t.contentStatus,this.properties=t.properties,this.calcProperties=t.calcProperties,this._worksheets=[],t.worksheets.forEach((function(r){var n=r.id,o=r.name,a=r.state,s=t.sheets&&t.sheets.findIndex((function(t){return t.id===n}));(e._worksheets[n]=new i({id:n,name:o,orderNo:s,state:a,workbook:e})).model=r})),this._definedNames.model=t.definedNames,this.views=t.views,this._themes=t.themes,this.media=t.media||[]}}])&&n(e.prototype,r),t}();e.exports=c},{"../csv/csv":1,"../xlsx/xlsx":141,"./defined-names":6,"./worksheet":14}],14:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var u=t("../utils/under-dash"),l=t("../utils/col-cache"),f=t("./range"),h=t("./row"),d=t("./column"),p=t("./enums"),m=t("./image"),b=t("./table"),v=t("./data-validations"),g=t("../utils/encryptor"),y=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=e||{},this.id=e.id,this.orderNo=e.orderNo,this.name=e.name||"Sheet".concat(this.id),this.state=e.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this._workbook=e.workbook,this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!e.pageSetup||!e.pageSetup.fitToWidth&&!e.pageSetup.fitToHeight||e.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.dataValidations=new v,this.views=e.views||[],this.autoFilter=e.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}var e,r;return e=t,(r=[{key:"destroy",value:function(){this._workbook.removeWorksheetEx(this)}},{key:"getColumnKey",value:function(t){return this._keys[t]}},{key:"setColumnKey",value:function(t,e){this._keys[t]=e}},{key:"deleteColumnKey",value:function(t){delete this._keys[t]}},{key:"eachColumnKey",value:function(t){u.each(this._keys,t)}},{key:"getColumn",value:function(t){if("string"==typeof t){var e=this._keys[t];if(e)return e;t=l.l2n(t)}if(this._columns||(this._columns=[]),t>this._columns.length)for(var r=this._columns.length+1;r<=t;)this._columns.push(new d(this,r++));return this._columns[t-1]}},{key:"spliceColumns",value:function(t,e){for(var r=this,n=this._rows,i=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];if(a.length>0)for(var c=function(n){var i=[t,e];a.forEach((function(t){i.push(t[n]||null)}));var o=r.getRow(n+1);o.splice.apply(o,i)},u=0;u<i;u++)c(u);else this._rows.forEach((function(r){r&&r.splice(t,e)}));var l=a.length-e,f=t+e,h=this._columns.length;if(l<0)for(var d=t+a.length;d<=h;d++)this.getColumn(d).defn=this.getColumn(d-l).defn;else if(l>0)for(var p=h;p>=f;p--)this.getColumn(p+l).defn=this.getColumn(p).defn;for(var m=t;m<t+a.length;m++)this.getColumn(m).defn=null;this.workbook.definedNames.spliceColumns(this.name,t,e,a.length)}},{key:"_commitRow",value:function(){}},{key:"findRow",value:function(t){return this._rows[t-1]}},{key:"findRows",value:function(t,e){return this._rows.slice(t-1,t-1+e)}},{key:"getRow",value:function(t){var e=this._rows[t-1];return e||(e=this._rows[t-1]=new h(this,t)),e}},{key:"getRows",value:function(t,e){if(!(e<1)){for(var r=[],n=t;n<t+e;n++)r.push(this.getRow(n));return r}}},{key:"addRow",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n",r=this._nextRow,n=this.getRow(r);return n.values=t,this._setStyleOption(r,"i"===e[0]?e:"n"),n}},{key:"addRows",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n",n=[];return t.forEach((function(t){n.push(e.addRow(t,r))})),n}},{key:"insertRow",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";return this.spliceRows(t,0,e),this._setStyleOption(t,r),this.getRow(t)}},{key:"insertRows",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"n";if(this.spliceRows.apply(this,[t,0].concat(a(e))),"n"!==r)for(var n=0;n<e.length;n++)"o"===r[0]&&void 0!==this.findRow(e.length+t+n)?this._copyStyle(e.length+t+n,t+n,"+"===r[1]):"i"===r[0]&&void 0!==this.findRow(t-1)&&this._copyStyle(t-1,t+n,"+"===r[1]);return this.getRows(t,e.length)}},{key:"_setStyleOption",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"n";"o"===e[0]&&void 0!==this.findRow(t+1)?this._copyStyle(t+1,t,"+"===e[1]):"i"===e[0]&&void 0!==this.findRow(t-1)&&this._copyStyle(t-1,t,"+"===e[1])}},{key:"_copyStyle",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getRow(t),o=this.getRow(e);o.style=Object.freeze(i({},n.style)),n.eachCell({includeEmpty:r},(function(t,e){o.getCell(e).style=Object.freeze(i({},t.style))})),o.height=n.height}},{key:"duplicateRow",value:function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this._rows[t-1],o=new Array(e).fill(i.values);this.spliceRows.apply(this,[t+1,n?0:e].concat(a(o)));for(var s=function(e){var n=r._rows[t+e];n.style=i.style,n.height=i.height,i.eachCell({includeEmpty:!0},(function(t,e){n.getCell(e).style=t.style}))},c=0;c<e;c++)s(c)}},{key:"spliceRows",value:function(t,e){for(var r=this,n=t+e,i=arguments.length,o=new Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];var s,c,u=o.length,l=u-e,f=this._rows.length;if(l<0)for(s=n;s<=f;s++)(c=this._rows[s-1])?function(){var t=r.getRow(s+l);t.values=c.values,t.style=c.style,t.height=c.height,c.eachCell({includeEmpty:!0},(function(e,r){t.getCell(r).style=e.style})),r._rows[s-1]=void 0}():this._rows[s+l-1]=void 0;else if(l>0)for(s=f;s>=n;s--)(c=this._rows[s-1])?function(){var t=r.getRow(s+l);t.values=c.values,t.style=c.style,t.height=c.height,c.eachCell({includeEmpty:!0},(function(e,n){if(t.getCell(n).style=e.style,"MergeValue"===e._value.constructor.name){var i=r.getRow(e._row._number+u).getCell(n),o=e._value._master,a=r.getRow(o._row._number+u).getCell(o._column._number);i.merge(a)}}))}():this._rows[s+l-1]=void 0;for(s=0;s<u;s++){var h=this.getRow(t+s);h.style={},h.values=o[s]}this.workbook.definedNames.spliceRows(this.name,t,e,u)}},{key:"eachRow",value:function(t,e){if(e||(e=t,t=void 0),t&&t.includeEmpty)for(var r=this._rows.length,n=1;n<=r;n++)e(this.getRow(n),n);else this._rows.forEach((function(t){t&&t.hasValues&&e(t,t.number)}))}},{key:"getSheetValues",value:function(){var t=[];return this._rows.forEach((function(e){e&&(t[e.number]=e.values)})),t}},{key:"findCell",value:function(t,e){var r=l.getAddress(t,e),n=this._rows[r.row-1];return n?n.findCell(r.col):void 0}},{key:"getCell",value:function(t,e){var r=l.getAddress(t,e);return this.getRow(r.row).getCellEx(r)}},{key:"mergeCells",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=new f(e);this._mergeCellsInternal(n)}},{key:"mergeCellsWithoutStyle",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=new f(e);this._mergeCellsInternal(n,!0)}},{key:"_mergeCellsInternal",value:function(t,e){u.each(this._merges,(function(e){if(e.intersects(t))throw new Error("Cannot merge already merged cells")}));for(var r=this.getCell(t.top,t.left),n=t.top;n<=t.bottom;n++)for(var i=t.left;i<=t.right;i++)(n>t.top||i>t.left)&&this.getCell(n,i).merge(r,e);this._merges[r.address]=t}},{key:"_unMergeMaster",value:function(t){var e=this._merges[t.address];if(e){for(var r=e.top;r<=e.bottom;r++)for(var n=e.left;n<=e.right;n++)this.getCell(r,n).unmerge();delete this._merges[t.address]}}},{key:"unMergeCells",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=new f(e),i=n.top;i<=n.bottom;i++)for(var o=n.left;o<=n.right;o++){var a=this.findCell(i,o);a&&(a.type===p.ValueType.Merge?this._unMergeMaster(a.master):this._merges[a.address]&&this._unMergeMaster(a))}}},{key:"fillFormula",value:function(t,e,r){var n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"shared",o=l.decode(t),a=o.top,s=o.left,c=o.bottom,u=o.right,f=u-s+1,h=l.encodeAddress(a,s),d="shared"===i;n="function"==typeof r?r:Array.isArray(r)?Array.isArray(r[0])?function(t,e){return r[t-a][e-s]}:function(t,e){return r[(t-a)*f+(e-s)]}:function(){};for(var p=!0,m=a;m<=c;m++)for(var b=s;b<=u;b++)p?(this.getCell(m,b).value={shareType:i,formula:e,ref:t,result:n(m,b)},p=!1):this.getCell(m,b).value=d?{sharedFormula:h,result:n(m,b)}:n(m,b)}},{key:"addImage",value:function(t,e){var r={type:"image",imageId:t,range:e};this._media.push(new m(this,r))}},{key:"getImages",value:function(){return this._media.filter((function(t){return"image"===t.type}))}},{key:"addBackgroundImage",value:function(t){var e={type:"background",imageId:t};this._media.push(new m(this,e))}},{key:"getBackgroundImageId",value:function(){var t=this._media.find((function(t){return"background"===t.type}));return t&&t.imageId}},{key:"protect",value:function(t,e){var r=this;return new Promise((function(n){r.sheetProtection={sheet:!0},e&&"spinCount"in e&&(e.spinCount=Number.isFinite(e.spinCount)?Math.round(Math.max(0,e.spinCount)):1e5),t&&(r.sheetProtection.algorithmName="SHA-512",r.sheetProtection.saltValue=g.randomBytes(16).toString("base64"),r.sheetProtection.spinCount=e&&"spinCount"in e?e.spinCount:1e5,r.sheetProtection.hashValue=g.convertPasswordToHash(t,"SHA512",r.sheetProtection.saltValue,r.sheetProtection.spinCount)),e&&(r.sheetProtection=Object.assign(r.sheetProtection,e),!t&&"spinCount"in e&&delete r.sheetProtection.spinCount),n()}))}},{key:"unprotect",value:function(){this.sheetProtection=null}},{key:"addTable",value:function(t){var e=new b(this,t);return this.tables[t.name]=e,e}},{key:"getTable",value:function(t){return this.tables[t]}},{key:"removeTable",value:function(t){delete this.tables[t]}},{key:"getTables",value:function(){return Object.values(this.tables)}},{key:"addConditionalFormatting",value:function(t){this.conditionalFormattings.push(t)}},{key:"removeConditionalFormatting",value:function(t){"number"==typeof t?this.conditionalFormattings.splice(t,1):this.conditionalFormattings=t instanceof Function?this.conditionalFormattings.filter(t):[]}},{key:"_parseRows",value:function(t){var e=this;this._rows=[],t.rows.forEach((function(t){var r=new h(e,t.number);e._rows[r.number-1]=r,r.model=t}))}},{key:"_parseMergeCells",value:function(t){var e=this;u.each(t.mergeCells,(function(t){e.mergeCellsWithoutStyle(t)}))}},{key:"workbook",get:function(){return this._workbook}},{key:"dimensions",get:function(){var t=new f;return this._rows.forEach((function(e){if(e){var r=e.dimensions;r&&t.expand(e.number,r.min,e.number,r.max)}})),t}},{key:"columns",get:function(){return this._columns},set:function(t){var e=this;this._headerRowCount=t.reduce((function(t,e){var r=(e.header?1:e.headers&&e.headers.length)||0;return Math.max(t,r)}),0);var r=1,n=this._columns=[];t.forEach((function(t){var i=new d(e,r++,!1);n.push(i),i.defn=t}))}},{key:"lastColumn",get:function(){return this.getColumn(this.columnCount)}},{key:"columnCount",get:function(){var t=0;return this.eachRow((function(e){t=Math.max(t,e.cellCount)})),t}},{key:"actualColumnCount",get:function(){var t=[],e=0;return this.eachRow((function(r){r.eachCell((function(r){var n=r.col;t[n]||(t[n]=!0,e++)}))})),e}},{key:"_lastRowNumber",get:function(){for(var t=this._rows,e=t.length;e>0&&void 0===t[e-1];)e--;return e}},{key:"_nextRow",get:function(){return this._lastRowNumber+1}},{key:"lastRow",get:function(){if(this._rows.length)return this._rows[this._rows.length-1]}},{key:"rowCount",get:function(){return this._lastRowNumber}},{key:"actualRowCount",get:function(){var t=0;return this.eachRow((function(){t++})),t}},{key:"hasMerges",get:function(){return u.some(this._merges,Boolean)}},{key:"tabColor",get:function(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor},set:function(t){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=t}},{key:"model",get:function(){var t={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((function(t){return t.model})),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((function(t){return t.model})),conditionalFormattings:this.conditionalFormattings};t.cols=d.toModel(this.columns);var e=t.rows=[],r=t.dimensions=new f;return this._rows.forEach((function(t){var n=t&&t.model;n&&(r.expand(n.number,n.min,n.number,n.max),e.push(n))})),t.merges=[],u.each(this._merges,(function(e){t.merges.push(e.range)})),t},set:function(t){var e=this;this.name=t.name,this._columns=d.fromModel(this,t.cols),this._parseRows(t),this._parseMergeCells(t),this.dataValidations=new v(t.dataValidations),this.properties=t.properties,this.pageSetup=t.pageSetup,this.headerFooter=t.headerFooter,this.views=t.views,this.autoFilter=t.autoFilter,this._media=t.media.map((function(t){return new m(e,t)})),this.sheetProtection=t.sheetProtection,this.tables=t.tables.reduce((function(t,e){var r=new b;return r.model=e,t[e.name]=r,t}),{}),this.conditionalFormattings=t.conditionalFormattings}}])&&c(e.prototype,r),t}();e.exports=y},{"../utils/col-cache":19,"../utils/encryptor":20,"../utils/under-dash":25,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(t,e,r){"use strict";t("core-js/modules/es.promise"),t("core-js/modules/es.object.assign"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.values"),t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.async-iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.find-index"),t("core-js/modules/es.array.find"),t("core-js/modules/es.string.from-code-point"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.number.is-nan"),t("regenerator-runtime/runtime");var n={Workbook:t("./doc/workbook")},i=t("./doc/enums");Object.keys(i).forEach((function(t){n[t]=i[t]})),e.exports=n},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":316,"core-js/modules/es.array.find-index":315,"core-js/modules/es.array.includes":317,"core-js/modules/es.array.iterator":318,"core-js/modules/es.number.is-nan":319,"core-js/modules/es.object.assign":320,"core-js/modules/es.object.keys":321,"core-js/modules/es.object.values":322,"core-js/modules/es.promise":323,"core-js/modules/es.string.from-code-point":324,"core-js/modules/es.string.includes":325,"core-js/modules/es.symbol":327,"core-js/modules/es.symbol.async-iterator":326,"regenerator-runtime/runtime":492}],16:[function(t,e,r){"use strict";var n="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");r.bufferToString=function(t){return"string"==typeof t?t:n?n.decode(t):t.toString()}},{}],17:[function(t,e,r){"use strict";var n="undefined"==typeof TextEncoder?null:new TextEncoder("utf-8"),i=t("buffer").Buffer;r.stringToBuffer=function(t){return"string"!=typeof t?t:n?i.from(n.encode(t).buffer):i.from(t)}},{buffer:216}],18:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("./under-dash"),o=t("./col-cache"),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.template=e,this.sheets={}}var e,r;return e=t,(r=[{key:"addCell",value:function(t){this.addCellEx(o.decodeEx(t))}},{key:"getCell",value:function(t){return this.findCellEx(o.decodeEx(t),!0)}},{key:"findCell",value:function(t){return this.findCellEx(o.decodeEx(t),!1)}},{key:"findCellAt",value:function(t,e,r){var n=this.sheets[t],i=n&&n[e];return i&&i[r]}},{key:"addCellEx",value:function(t){if(t.top)for(var e=t.top;e<=t.bottom;e++)for(var r=t.left;r<=t.right;r++)this.getCellAt(t.sheetName,e,r);else this.findCellEx(t,!0)}},{key:"getCellEx",value:function(t){return this.findCellEx(t,!0)}},{key:"findCellEx",value:function(t,e){var r=this.findSheet(t,e),n=this.findSheetRow(r,t,e);return this.findRowCell(n,t,e)}},{key:"getCellAt",value:function(t,e,r){var n=this.sheets[t]||(this.sheets[t]=[]),i=n[e]||(n[e]=[]);return i[r]||(i[r]={sheetName:t,address:o.n2l(r)+e,row:e,col:r})}},{key:"removeCellEx",value:function(t){var e=this.findSheet(t);if(e){var r=this.findSheetRow(e,t);r&&delete r[t.col]}}},{key:"forEachInSheet",value:function(t,e){var r=this.sheets[t];r&&r.forEach((function(t,r){t&&t.forEach((function(t,n){t&&e(t,r,n)}))}))}},{key:"forEach",value:function(t){var e=this;i.each(this.sheets,(function(r,n){e.forEachInSheet(n,t)}))}},{key:"map",value:function(t){var e=[];return this.forEach((function(r){e.push(t(r))})),e}},{key:"findSheet",value:function(t,e){var r=t.sheetName;return this.sheets[r]?this.sheets[r]:e?this.sheets[r]=[]:void 0}},{key:"findSheetRow",value:function(t,e,r){var n=e.row;return t&&t[n]?t[n]:r?t[n]=[]:void 0}},{key:"findRowCell",value:function(t,e,r){var n=e.col;return t&&t[n]?t[n]:r?t[n]=this.template?Object.assign(e,JSON.parse(JSON.stringify(this.template))):e:void 0}},{key:"spliceRows",value:function(t,e,r,n){var i=this.sheets[t];if(i){for(var o=[],a=0;a<n;a++)o.push([]);i.splice.apply(i,[e,r].concat(o))}}},{key:"spliceColumns",value:function(t,e,r,n){var o=this.sheets[t];if(o){for(var a=[],s=0;s<n;s++)a.push(null);i.each(o,(function(t){t.splice.apply(t,[e,r].concat(a))}))}}}])&&n(e.prototype,r),t}();e.exports=a},{"./col-cache":19,"./under-dash":25}],19:[function(t,e,r){"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=/^[A-Z]+\d+$/,c={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:function(t){return t<=26?1:t<=676?2:3},_fill:function(t){var e,r,n,i,o,a=1;if(t>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&t>=1){for(;a<=26;)e=this._dictionary[a-1],this._n2l[a]=e,this._l2n[e]=a,a++;this._l2nFill=1}if(this._l2nFill<2&&t>=2){for(a=27;a<=702;)n=(r=a-27)%26,i=Math.floor(r/26),e=this._dictionary[i]+this._dictionary[n],this._n2l[a]=e,this._l2n[e]=a,a++;this._l2nFill=2}if(this._l2nFill<3&&t>=3){for(a=703;a<=16384;)n=(r=a-703)%26,i=Math.floor(r/26)%26,o=Math.floor(r/676),e=this._dictionary[o]+this._dictionary[i]+this._dictionary[n],this._n2l[a]=e,this._l2n[e]=a,a++;this._l2nFill=3}},l2n:function(t){if(this._l2n[t]||this._fill(t.length),!this._l2n[t])throw new Error("Out of bounds. Invalid column letter: ".concat(t));return this._l2n[t]},n2l:function(t){if(t<1||t>16384)throw new Error("".concat(t," is out of bounds. Excel supports columns from 1 to 16384"));return this._n2l[t]||this._fill(this._level(t)),this._n2l[t]},_hash:{},validateAddress:function(t){if(!s.test(t))throw new Error("Invalid Address: ".concat(t));return!0},decodeAddress:function(t){var e=t.length<5&&this._hash[t];if(e)return e;for(var r,n=!1,i="",o=0,a=!1,s="",c=0,u=0;u<t.length;u++)if(r=t.charCodeAt(u),!a&&r>=65&&r<=90)n=!0,i+=t[u],o=26*o+r-64;else if(r>=48&&r<=57)a=!0,s+=t[u],c=10*c+r-48;else if(a&&n&&36!==r)break;if(n){if(o>16384)throw new Error("Out of bounds. Invalid column letter: ".concat(i))}else o=void 0;a||(c=void 0);var l={address:t=i+s,col:o,row:c,$col$row:"$".concat(i,"$").concat(s)};return o<=100&&c<=100&&(this._hash[t]=l,this._hash[l.$col$row]=l),l},getAddress:function(t,e){if(e){var r=this.n2l(e)+t;return this.decodeAddress(r)}return this.decodeAddress(t)},decode:function(t){var e=t.split(":");if(2===e.length){var r=this.decodeAddress(e[0]),n=this.decodeAddress(e[1]),i={top:Math.min(r.row,n.row),left:Math.min(r.col,n.col),bottom:Math.max(r.row,n.row),right:Math.max(r.col,n.col)};return i.tl=this.n2l(i.left)+i.top,i.br=this.n2l(i.right)+i.bottom,i.dimensions="".concat(i.tl,":").concat(i.br),i}return this.decodeAddress(t)},decodeEx:function(t){var e=t.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),r=e[1]||e[2],n=e[3],i=n.split(":");if(i.length>1){var s=this.decodeAddress(i[0]),c=this.decodeAddress(i[1]),u=Math.min(s.row,c.row),l=Math.min(s.col,c.col),f=Math.max(s.row,c.row),h=Math.max(s.col,c.col);return s=this.n2l(l)+u,c=this.n2l(h)+f,{top:u,left:l,bottom:f,right:h,sheetName:r,tl:{address:s,col:l,row:u,$col$row:"$".concat(this.n2l(l),"$").concat(u),sheetName:r},br:{address:c,col:h,row:f,$col$row:"$".concat(this.n2l(h),"$").concat(f),sheetName:r},dimensions:"".concat(s,":").concat(c)}}if(n.startsWith("#"))return r?{sheetName:r,error:n}:{error:n};var d=this.decodeAddress(n);return r?function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({sheetName:r},d):d},encodeAddress:function(t,e){return c.n2l(e)+t},encode:function(){switch(arguments.length){case 2:return c.encodeAddress(arguments[0],arguments[1]);case 4:return"".concat(c.encodeAddress(arguments[0],arguments[1]),":").concat(c.encodeAddress(arguments[2],arguments[3]));default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange:function(t,e){var r=n(t,5),i=r[0],o=r[1],a=r[3],s=r[4],c=n(e,2),u=c[0],l=c[1];return u>=i&&u<=a&&l>=o&&l<=s}};e.exports=c},{}],20:[function(t,e,r){(function(r){"use strict";var n=t("crypto"),i={hash:function(t){for(var e=n.createHash(t),i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return e.update(r.concat(o)),e.digest()},convertPasswordToHash:function(t,e,i,o){if(e=e.toLowerCase(),n.getHashes().indexOf(e)<0)throw new Error("Hash algorithm '".concat(e,"' not supported!"));for(var a=r.from(t,"utf16le"),s=this.hash(e,r.from(i,"base64"),a),c=0;c<o;c++){var u=r.alloc(4);u.writeUInt32LE(c,0),s=this.hash(e,s,u)}return s.toString("base64")},randomBytes:function(t){return n.randomBytes(t)}};e.exports=i}).call(this,t("buffer").Buffer)},{buffer:216,crypto:335}],21:[function(t,e,r){"use strict";function i(t){return new a(t)}function o(t){var e,r;function n(e,r){try{var o=t[e](r),s=o.value,c=s instanceof a;Promise.resolve(c?s.wrapped:s).then((function(t){c?n("return"===e?"return":"next",t):i(o.done?"return":"normal",t)}),(function(t){n("throw",t)}))}catch(t){i("throw",t)}}function i(t,i){switch(t){case"return":e.resolve({value:i,done:!0});break;case"throw":e.reject(i);break;default:e.resolve({value:i,done:!1})}(e=e.next)?n(e.key,e.arg):r=null}this._invoke=function(t,i){return new Promise((function(o,a){var s={key:t,arg:i,resolve:o,reject:a,next:null};r?r=r.next=s:(e=r=s,n(t,i))}))},"function"!=typeof t.return&&(this.return=void 0)}function a(t){this.wrapped=t}function s(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}"function"==typeof Symbol&&Symbol.asyncIterator&&(o.prototype[Symbol.asyncIterator]=function(){return this}),o.prototype.next=function(t){return this._invoke("next",t)},o.prototype.throw=function(t){return this._invoke("throw",t)},o.prototype.return=function(t){return this._invoke("return",t)};var c=t("saxes").SaxesParser,u=t("readable-stream").PassThrough,l=t("./browser-buffer-decode").bufferToString;e.exports=function(){var t,e=(t=n.mark((function t(e){var r,o,a,f,h,d,p,m,b,v;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.pipe&&!e[Symbol.asyncIterator]&&(e=e.pipe(new u)),(r=new c).on("error",(function(t){o=t})),a=[],r.on("opentag",(function(t){return a.push({eventType:"opentag",value:t})})),r.on("text",(function(t){return a.push({eventType:"text",value:t})})),r.on("closetag",(function(t){return a.push({eventType:"closetag",value:t})})),f=!0,h=!1,t.prev=9,p=s(e);case 11:return t.next=13,i(p.next());case 13:return m=t.sent,f=m.done,t.next=17,i(m.value);case 17:if(b=t.sent,f){t.next=29;break}if(v=b,r.write(l(v)),!o){t.next=23;break}throw o;case 23:return t.next=25,a;case 25:a=[];case 26:f=!0,t.next=11;break;case 29:t.next=35;break;case 31:t.prev=31,t.t0=t.catch(9),h=!0,d=t.t0;case 35:if(t.prev=35,t.prev=36,f||null==p.return){t.next=40;break}return t.next=40,i(p.return());case 40:if(t.prev=40,!h){t.next=43;break}throw d;case 43:return t.finish(40);case 44:return t.finish(35);case 45:case"end":return t.stop()}}),t,null,[[9,31,35,45],[36,,40,44]])})),function(){return new o(t.apply(this,arguments))});return function(t){return e.apply(this,arguments)}}()},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],22:[function(t,e,r){"use strict";var n=t("./col-cache"),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,o=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;e.exports={slideFormula:function(t,e,r){var a=n.decode(e),s=n.decode(r);return t.replace(i,(function(t,e,r,i,c){if(c)return t;var u=o.exec(i);if(u){var l=u[1],f=u[2].toUpperCase(),h=u[3],d=u[4];if(f.length>3||3===f.length&&f>"XFD")return t;var p=n.l2n(f),m=parseInt(d,10);return l||(p+=s.col-a.col),h||(m+=s.row-a.row),(e||"")+(l||"")+n.n2l(p)+(h||"")+m}return t}))}}},{"./col-cache":19}],23:[function(t,e,r){(function(r,i){"use strict";function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function s(t){o(a,n,i,s,c,"next",t)}function c(t){o(a,n,i,s,c,"throw",t)}s(void 0)}))}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),t}var l=t("readable-stream"),f=t("./utils"),h=t("./string-buf"),d=function(){function t(e,r){s(this,t),this._data=e,this._encoding=r}return u(t,[{key:"copy",value:function(t,e,r,n){return this.toBuffer().copy(t,e,r,n)}},{key:"toBuffer",value:function(){return this._buffer||(this._buffer=i.from(this._data,this._encoding)),this._buffer}},{key:"length",get:function(){return this.toBuffer().length}}]),t}(),p=function(){function t(e){s(this,t),this._data=e}return u(t,[{key:"copy",value:function(t,e,r,n){return this._data._buf.copy(t,e,r,n)}},{key:"toBuffer",value:function(){return this._data.toBuffer()}},{key:"length",get:function(){return this._data.length}}]),t}(),m=function(){function t(e){s(this,t),this._data=e}return u(t,[{key:"copy",value:function(t,e,r,n){this._data.copy(t,e,r,n)}},{key:"toBuffer",value:function(){return this._data}},{key:"length",get:function(){return this._data.length}}]),t}(),b=function(){function t(e){s(this,t),this.size=e,this.buffer=i.alloc(e),this.iRead=0,this.iWrite=0}return u(t,[{key:"toBuffer",value:function(){if(0===this.iRead&&this.iWrite===this.size)return this.buffer;var t=i.alloc(this.iWrite-this.iRead);return this.buffer.copy(t,0,this.iRead,this.iWrite),t}},{key:"read",value:function(t){var e;return 0===t?null:void 0===t||t>=this.length?(e=this.toBuffer(),this.iRead=this.iWrite,e):(e=i.alloc(t),this.buffer.copy(e,0,this.iRead,t),this.iRead+=t,e)}},{key:"write",value:function(t,e,r){var n=Math.min(r,this.size-this.iWrite);return t.copy(this.buffer,this.iWrite,e,e+n),this.iWrite+=n,n}},{key:"length",get:function(){return this.iWrite-this.iRead}},{key:"eod",get:function(){return this.iRead===this.iWrite}},{key:"full",get:function(){return this.iWrite===this.size}}]),t}(),v=function(t){t=t||{},this.bufSize=t.bufSize||1048576,this.buffers=[],this.batch=t.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};f.inherits(v,l.Duplex,{toBuffer:function(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return i.concat(this.buffers.map((function(t){return t.toBuffer()})))}},_getWritableBuffer:function(){if(this.buffers.length){var t=this.buffers[this.buffers.length-1];if(!t.full)return t}var e=new b(this.bufSize);return this.buffers.push(e),e},_pipe:function(t){var e=this;return a(n.mark((function r(){var i;return n.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=function(e){return new Promise((function(r){e.write(t.toBuffer(),(function(){r()}))}))},r.next=3,Promise.all(e.pipes.map(i));case 3:case"end":return r.stop()}}),r)})))()},_writeToBuffers:function(t){for(var e=0,r=t.length;e<r;)e+=this._getWritableBuffer().write(t,e,r-e)},write:function(t,e,o){var s=this;return a(n.mark((function a(){var c;return n.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e instanceof Function&&(o=e,e="utf8"),o=o||f.nop,!(t instanceof h)){n.next=6;break}c=new p(t),n.next=15;break;case 6:if(!(t instanceof i)){n.next=10;break}c=new m(t),n.next=15;break;case 10:if(!("string"==typeof t||t instanceof String||t instanceof ArrayBuffer)){n.next=14;break}c=new d(t,e),n.next=15;break;case 14:throw new Error("Chunk must be one of type String, Buffer or StringBuf.");case 15:if(!s.pipes.length){n.next=31;break}if(!s.batch){n.next=21;break}for(s._writeToBuffers(c);!s.corked&&s.buffers.length>1;)s._pipe(s.buffers.shift());n.next=29;break;case 21:if(s.corked){n.next=27;break}return n.next=24,s._pipe(c);case 24:o(),n.next=29;break;case 27:s._writeToBuffers(c),r.nextTick(o);case 29:n.next=34;break;case 31:s.paused||s.emit("data",c.toBuffer()),s._writeToBuffers(c),s.emit("readable");case 34:return n.abrupt("return",!0);case 35:case"end":return n.stop()}}),a)})))()},cork:function(){this.corked=!0},_flush:function(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork:function(){this.corked=!1,this._flush()},end:function(t,e,r){var n=this,i=function(t){t?r(t):(n._flush(),n.pipes.forEach((function(t){t.end()})),n.emit("finish"))};t?this.write(t,e,i):i()},read:function(t){var e;if(t){for(e=[];t&&this.buffers.length&&!this.buffers[0].eod;){var r=this.buffers[0],n=r.read(t);t-=n.length,e.push(n),r.eod&&r.full&&this.buffers.shift()}return i.concat(e)}return e=this.buffers.map((function(t){return t.toBuffer()})).filter(Boolean),this.buffers=[],i.concat(e)},setEncoding:function(t){this.encoding=t},pause:function(){this.paused=!0},resume:function(){this.paused=!1},isPaused:function(){return!!this.paused},pipe:function(t){this.pipes.push(t),!this.paused&&this.buffers.length&&this.end()},unpipe:function(t){this.pipes=this.pipes.filter((function(e){return e!==t}))},unshift:function(){throw new Error("Not Implemented")},wrap:function(){throw new Error("Not Implemented")}}),e.exports=v}).call(this,t("_process"),t("buffer").Buffer)},{"./string-buf":24,"./utils":26,_process:467,buffer:216,"readable-stream":491}],24:[function(t,e,r){(function(t){"use strict";function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var n=function(){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this._buf=t.alloc(r&&r.size||16384),this._encoding=r&&r.encoding||"utf8",this._inPos=0,this._buffer=void 0}var n,i;return n=e,(i=[{key:"toBuffer",value:function(){return this._buffer||(this._buffer=t.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}},{key:"reset",value:function(t){t=t||0,this._buffer=void 0,this._inPos=t}},{key:"_grow",value:function(e){for(var r=2*this._buf.length;r<e;)r*=2;var n=t.alloc(r);this._buf.copy(n,0),this._buf=n}},{key:"addText",value:function(t){this._buffer=void 0;for(var e=this._inPos+this._buf.write(t,this._inPos,this._encoding);e>=this._buf.length-4;)this._grow(this._inPos+t.length),e=this._inPos+this._buf.write(t,this._inPos,this._encoding);this._inPos=e}},{key:"addStringBuf",value:function(t){t.length&&(this._buffer=void 0,this.length+t.length>this.capacity&&this._grow(this.length+t.length),t._buf.copy(this._buf,this._inPos,0,t.length),this._inPos+=t.length)}},{key:"length",get:function(){return this._inPos}},{key:"capacity",get:function(){return this._buf.length}},{key:"buffer",get:function(){return this._buf}}])&&r(n.prototype,i),e}();e.exports=n}).call(this,t("buffer").Buffer)},{buffer:216}],25:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=Object.prototype.toString,o=/["&<>]/,a={each:function(t,e){t&&(Array.isArray(t)?t.forEach(e):Object.keys(t).forEach((function(r){e(t[r],r)})))},some:function(t,e){return!!t&&(Array.isArray(t)?t.some(e):Object.keys(t).some((function(r){return e(t[r],r)})))},every:function(t,e){return!t||(Array.isArray(t)?t.every(e):Object.keys(t).every((function(r){return e(t[r],r)})))},map:function(t,e){return t?Array.isArray(t)?t.map(e):Object.keys(t).map((function(r){return e(t[r],r)})):[]},keyBy:function(t,e){return t.reduce((function(t,r){return t[r[e]]=r,t}),{})},isEqual:function(t,e){var r=n(t),i=n(e),o=Array.isArray(t),s=Array.isArray(e);if(r!==i)return!1;switch(n(t)){case"object":return o||s?!(!o||!s)&&t.length===e.length&&t.every((function(t,r){var n=e[r];return a.isEqual(t,n)})):a.every(t,(function(t,r){var n=e[r];return a.isEqual(t,n)}));default:return t===e}},escapeHtml:function(t){var e=o.exec(t);if(!e)return t;for(var r="",n="",i=0,a=e.index;a<t.length;a++){switch(t.charAt(a)){case'"':n="&quot;";break;case"&":n="&amp;";break;case"'":n="&apos;";break;case"<":n="&lt;";break;case">":n="&gt;";break;default:continue}i!==a&&(r+=t.substring(i,a)),i=a+1,r+=n}return i!==a?r+t.substring(i,a):r},strcmp:function(t,e){return t<e?-1:t>e?1:0},isUndefined:function(t){return"[object Undefined]"===i.call(t)},isObject:function(t){return"[object Object]"===i.call(t)},deepMerge:function(){var t,e,r,n=arguments[0]||{},i=arguments.length;function o(i,o){t=n[o],r=Array.isArray(i),a.isObject(i)||r?(r?(r=!1,e=t&&Array.isArray(t)?t:[]):e=t&&a.isObject(t)?t:{},n[o]=a.deepMerge(e,i)):a.isUndefined(i)||(n[o]=i)}for(var s=0;s<i;s++)a.each(arguments[s],o);return n}};e.exports=a},{}],26:[function(t,r,n){(function(e,n){"use strict";var i=t("fs"),o=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,a={nop:function(){},promiseImmediate:function(t){return new Promise((function(r){e.setImmediate?n((function(){r(t)})):setTimeout((function(){r(t)}),1)}))},inherits:function(t,e,r,n){t.super_=e,n||(n=r,r=null),r&&Object.keys(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}));var i={constructor:{value:t,enumerable:!1,writable:!1,configurable:!0}};n&&Object.keys(n).forEach((function(t){i[t]=Object.getOwnPropertyDescriptor(n,t)})),t.prototype=Object.create(e.prototype,i)},dateToExcel:function(t,e){return 25569+t.getTime()/864e5-(e?1462:0)},excelToDate:function(t,e){var r=Math.round(24*(t-25569+(e?1462:0))*3600*1e3);return new Date(r)},parsePath:function(t){var e=t.lastIndexOf("/");return{path:t.substring(0,e),name:t.substring(e+1)}},getRelsPath:function(t){var e=a.parsePath(t);return"".concat(e.path,"/_rels/").concat(e.name,".rels")},xmlEncode:function(t){var e=o.exec(t);if(!e)return t;for(var r="",n="",i=0,a=e.index;a<t.length;a++){var s=t.charCodeAt(a);switch(s){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&apos;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;case 127:n="";break;default:if(s<=31&&(s<=8||s>=11&&13!==s)){n="";break}continue}i!==a&&(r+=t.substring(i,a)),i=a+1,n&&(r+=n)}return i!==a?r+t.substring(i,a):r},xmlDecode:function(t){return t.replace(/&([a-z]*);/g,(function(t){switch(t){case"&lt;":return"<";case"&gt;":return">";case"&amp;":return"&";case"&apos;":return"'";case"&quot;":return'"';default:return t}}))},validInt:function(t){var e=parseInt(t,10);return Number.isNaN(e)?0:e},isDateFmt:function(t){return!!t&&null!==(t=(t=t.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)},fs:{exists:function(t){return new Promise((function(e){i.access(t,i.constants.F_OK,(function(t){e(!t)}))}))}},toIsoDateString:function(t){return t.toIsoString().subsstr(0,10)}};r.exports=a}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("timers").setImmediate)},{fs:215,timers:521}],27:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("./under-dash"),o=t("./utils");function a(t,e,r){t.push(" "),t.push(e),t.push('="'),t.push(o.xmlEncode(r.toString())),t.push('"')}function s(t,e){e&&i.each(e,(function(e,r){void 0!==e&&a(t,r,e)}))}var c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._xml=[],this._stack=[],this._rollbacks=[]}var e,r;return e=t,(r=[{key:"openXml",value:function(t){var e=this._xml;e.push("<?xml"),s(e,t),e.push("?>\n")}},{key:"openNode",value:function(t,e){var r=this.tos,n=this._xml;r&&this.open&&n.push(">"),this._stack.push(t),n.push("<"),n.push(t),s(n,e),this.leaf=!0,this.open=!0}},{key:"addAttribute",value:function(t,e){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");void 0!==e&&a(this._xml,t,e)}},{key:"addAttributes",value:function(t){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");s(this._xml,t)}},{key:"writeText",value:function(t){var e=this._xml;this.open&&(e.push(">"),this.open=!1),this.leaf=!1,e.push(o.xmlEncode(t.toString()))}},{key:"writeXml",value:function(t){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(t)}},{key:"closeNode",value:function(){var t=this._stack.pop(),e=this._xml;this.leaf?e.push("/>"):(e.push("</"),e.push(t),e.push(">")),this.open=!1,this.leaf=!1}},{key:"leafNode",value:function(t,e,r){this.openNode(t,e),void 0!==r&&this.writeText(r),this.closeNode()}},{key:"closeAll",value:function(){for(;this._stack.length;)this.closeNode()}},{key:"addRollback",value:function(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}},{key:"commit",value:function(){this._rollbacks.pop()}},{key:"rollback",value:function(){var t=this._rollbacks.pop();this._xml.length>t.xml&&this._xml.splice(t.xml,this._xml.length-t.xml),this._stack.length>t.stack&&this._stack.splice(t.stack,this._stack.length-t.stack),this.leaf=t.leaf,this.open=t.open}},{key:"tos",get:function(){return this._stack.length?this._stack[this._stack.length-1]:void 0}},{key:"cursor",get:function(){return this._xml.length}},{key:"xml",get:function(){return this.closeAll(),this._xml.join("")}}])&&n(e.prototype,r),t}();c.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},e.exports=c},{"./under-dash":25,"./utils":26}],28:[function(t,e,r){(function(r){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("events"),h=t("jszip"),d=t("./stream-buf"),p=t("./browser-buffer-encode").stringToBuffer,m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(m,t);var e,i,u,l,f=c(m);function m(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,m),(e=f.call(this)).options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},t),e.zip=new h,e.stream=new d,e}return e=m,(i=[{key:"append",value:function(t,e){e.hasOwnProperty("base64")&&e.base64?this.zip.file(e.name,t,{base64:!0}):(r.browser&&"string"==typeof t&&(t=p(t)),this.zip.file(e.name,t))}},{key:"finalize",value:(u=n.mark((function t(){var e;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.zip.generateAsync(this.options);case 2:e=t.sent,this.stream.end(e),this.emit("finish");case 5:case"end":return t.stop()}}),t,this)})),l=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=u.apply(t,e);function a(t){o(i,r,n,a,s,"next",t)}function s(t){o(i,r,n,a,s,"throw",t)}a(void 0)}))},function(){return l.apply(this,arguments)})},{key:"read",value:function(t){return this.stream.read(t)}},{key:"setEncoding",value:function(t){return this.stream.setEncoding(t)}},{key:"pause",value:function(){return this.stream.pause()}},{key:"resume",value:function(){return this.stream.resume()}},{key:"isPaused",value:function(){return this.stream.isPaused()}},{key:"pipe",value:function(t,e){return this.stream.pipe(t,e)}},{key:"unpipe",value:function(t){return this.stream.unpipe(t)}},{key:"unshift",value:function(t){return this.stream.unshift(t)}},{key:"wrap",value:function(t){return this.stream.wrap(t)}}])&&a(e.prototype,i),m}(f.EventEmitter);e.exports={ZipWriter:m}}).call(this,t("_process"))},{"./browser-buffer-encode":17,"./stream-buf":23,_process:467,events:367,jszip:399}],29:[function(t,e,r){"use strict";e.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},28:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"ja-jp":'yyyy"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":'yyyy"\ub144" mm"\uc6d4" dd"\uc77c"'},32:{"zh-tw":'hh"\u6642"mm"\u5206"',"zh-cn":'h"\u65f6"mm"\u5206"',"ja-jp":'h"\u6642"mm"\u5206"',"ko-kr":'h"\uc2dc" mm"\ubd84"'},33:{"zh-tw":'hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'h"\u6642"mm"\u5206"ss"\u79d2"',"ko-kr":'h"\uc2dc" mm"\ubd84" ss"\ucd08"'},34:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},51:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},52:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},55:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"',"ja-jp":'yyyy"\u5e74"m"\u6708"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'\u4e0a\u5348/\u4e0b\u5348 hh"\u6642"mm"\u5206"ss"\u79d2"',"zh-cn":'\u4e0a\u5348/\u4e0b\u5348 h"\u65f6"mm"\u5206"ss"\u79d2"',"ja-jp":'m"\u6708"d"\u65e5"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"\u5e74"m"\u6708"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"\u5e74" mm"\u6708" dd"\u65e5"'},58:{"zh-tw":'[$-404]e"\u5e74"m"\u6708"d"\u65e5"',"zh-cn":'m"\u6708"d"\u65e5"',"ja-jp":'[$-411]ggge"\u5e74"m"\u6708"d"\u65e5"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],30:[function(t,e,r){"use strict";e.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],31:[function(t,e,r){"use strict";function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw a}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function s(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function s(t){a(o,n,i,s,c,"next",t)}function c(t){a(o,n,i,s,c,"throw",t)}s(void 0)}))}}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}var l=t("../../utils/parse-sax"),f=t("../../utils/xml-stream"),h=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,r,o,a,h;return e=t,r=[{key:"prepare",value:function(){}},{key:"render",value:function(){}},{key:"parseOpen",value:function(t){}},{key:"parseText",value:function(t){}},{key:"parseClose",value:function(t){}},{key:"reconcile",value:function(t,e){}},{key:"reset",value:function(){this.model=null,this.map&&Object.values(this.map).forEach((function(e){e instanceof t?e.reset():e.xform&&e.xform.reset()}))}},{key:"mergeModel",value:function(t){this.model=Object.assign(this.model||{},t)}},{key:"parse",value:(h=s(n.mark((function t(e){var r,o,a,s,c,l,f,h,d,p,m;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=!0,o=!1,t.prev=2,s=u(e);case 4:return t.next=6,s.next();case 6:return c=t.sent,r=c.done,t.next=10,c.value;case 10:if(l=t.sent,r){t.next=42;break}f=i(l),t.prev=14,f.s();case 16:if((h=f.n()).done){t.next=31;break}if(d=h.value,p=d.eventType,m=d.value,"opentag"!==p){t.next=22;break}this.parseOpen(m),t.next=29;break;case 22:if("text"!==p){t.next=26;break}this.parseText(m),t.next=29;break;case 26:if("closetag"!==p){t.next=29;break}if(this.parseClose(m.name)){t.next=29;break}return t.abrupt("return",this.model);case 29:t.next=16;break;case 31:t.next=36;break;case 33:t.prev=33,t.t0=t.catch(14),f.e(t.t0);case 36:return t.prev=36,f.f(),t.finish(36);case 39:r=!0,t.next=4;break;case 42:t.next=48;break;case 44:t.prev=44,t.t1=t.catch(2),o=!0,a=t.t1;case 48:if(t.prev=48,t.prev=49,r||null==s.return){t.next=53;break}return t.next=53,s.return();case 53:if(t.prev=53,!o){t.next=56;break}throw a;case 56:return t.finish(53);case 57:return t.finish(48);case 58:return t.abrupt("return",this.model);case 59:case"end":return t.stop()}}),t,this,[[2,44,48,58],[14,33,36,39],[49,,53,57]])}))),function(t){return h.apply(this,arguments)})},{key:"parseStream",value:(a=s(n.mark((function t(e){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.parse(l(e)));case 1:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"toXml",value:function(t){var e=new f;return this.render(e,t),e.xml}},{key:"xml",get:function(){return this.toXml(this.model)}}],o=[{key:"toAttribute",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===t){if(r)return e}else if(r||t!==e)return t.toString()}},{key:"toStringAttribute",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.toAttribute(e,r,n)}},{key:"toStringValue",value:function(t,e){return void 0===t?e:t}},{key:"toBoolAttribute",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(void 0===t){if(r)return e}else if(r||t!==e)return t?"1":"0"}},{key:"toBoolValue",value:function(t,e){return void 0===t?e:"1"===t}},{key:"toIntAttribute",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.toAttribute(e,r,n)}},{key:"toIntValue",value:function(t,e){return void 0===t?e:parseInt(t,10)}},{key:"toFloatAttribute",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t.toAttribute(e,r,n)}},{key:"toFloatValue",value:function(t,e){return void 0===t?e:parseFloat(t)}}],r&&c(e.prototype,r),o&&c(e,o),t}();e.exports=h},{"../../utils/parse-sax":21,"../../utils/xml-stream":27}],32:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../base-xform"),f=t("../../../utils/col-cache"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("definedName",{name:e.name,localSheetId:e.localSheetId}),t.writeText(e.ranges.join(",")),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case"definedName":return this._parsedName=t.attributes.name,this._parsedLocalSheetId=t.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}},{key:"parseText",value:function(t){this._parsedText.push(t)}},{key:"parseClose",value:function(){return this.model={name:this._parsedName,ranges:p(this._parsedText.join(""))},void 0!==this._parsedLocalSheetId&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}])&&o(e.prototype,r),c}(l);function d(t){try{return f.decodeEx(t),!0}catch(t){return!1}}function p(t){var e=[],r=!1,n="";return t.split(",").forEach((function(t){if(t){var i=(t.match(/'/g)||[]).length;if(i){var o=i%2==0;!r&&o&&d(t)?e.push(t):r&&!o?(r=!1,d(n+t)&&e.push(n+t),n=""):(r=!0,n+="".concat(t,","))}else r?n+="".concat(t,","):d(t)&&e.push(t)}})),e}e.exports=h},{"../../../utils/col-cache":19,"../base-xform":31}],33:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/utils"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("sheet",{sheetId:e.id,name:e.name,state:e.state,"r:id":e.rId})}},{key:"parseOpen",value:function(t){return"sheet"===t.name&&(this.model={name:l.xmlDecode(t.attributes.name),id:parseInt(t.attributes.sheetId,10),state:t.attributes.state,rId:t.attributes["r:id"]},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/utils":26,"../base-xform":31}],34:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:e.fullCalcOnLoad?1:void 0})}},{key:"parseOpen",value:function(t){return"calcPr"===t.name&&(this.model={},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],35:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("workbookPr",{date1904:e.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}},{key:"parseOpen",value:function(t){return"workbookPr"===t.name&&(this.model={date1904:"1"===t.attributes.date1904},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],36:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){var r={xWindow:e.x||0,yWindow:e.y||0,windowWidth:e.width||12e3,windowHeight:e.height||24e3,firstSheet:e.firstSheet,activeTab:e.activeTab};e.visibility&&"visible"!==e.visibility&&(r.visibility=e.visibility),t.leafNode("workbookView",r)}},{key:"parseOpen",value:function(t){if("workbookView"===t.name){var e=this.model={},r=function(t,r,n){var i=void 0!==r?e[t]=parseInt(r,10):n;void 0!==i&&(e[t]=i)};return r("x",t.attributes.xWindow,0),r("y",t.attributes.yWindow,0),r("width",t.attributes.windowWidth,25e3),r("height",t.attributes.windowHeight,1e4),n="visibility",void 0!==(o=void 0!==(i=t.attributes.visibility)?e[n]=i:"visible")&&(e[n]=o),r("activeTab",t.attributes.activeTab,void 0),r("firstSheet",t.attributes.firstSheet,void 0),!0}var n,i,o;return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],37:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/under-dash"),l=t("../../../utils/col-cache"),f=t("../../../utils/xml-stream"),h=t("../base-xform"),d=t("../static-xform"),p=t("../list-xform"),m=t("./defined-name-xform"),b=t("./sheet-xform"),v=t("./workbook-view-xform"),g=t("./workbook-properties-xform"),y=t("./workbook-calc-properties-xform"),w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={fileVersion:s.STATIC_XFORMS.fileVersion,workbookPr:new g,bookViews:new p({tag:"bookViews",count:!1,childXform:new v}),sheets:new p({tag:"sheets",count:!1,childXform:new b}),definedNames:new p({tag:"definedNames",count:!1,childXform:new m}),calcPr:new y},t}return e=s,(r=[{key:"prepare",value:function(t){t.sheets=t.worksheets;var e=[],r=0;t.sheets.forEach((function(t){if(t.pageSetup&&t.pageSetup.printArea&&t.pageSetup.printArea.split("&&").forEach((function(n){var i=n.split(":"),o={name:"_xlnm.Print_Area",ranges:["'".concat(t.name,"'!$").concat(i[0],":$").concat(i[1])],localSheetId:r};e.push(o)})),t.pageSetup&&(t.pageSetup.printTitlesRow||t.pageSetup.printTitlesColumn)){var n=[];if(t.pageSetup.printTitlesColumn){var i=t.pageSetup.printTitlesColumn.split(":");n.push("'".concat(t.name,"'!$").concat(i[0],":$").concat(i[1]))}if(t.pageSetup.printTitlesRow){var o=t.pageSetup.printTitlesRow.split(":");n.push("'".concat(t.name,"'!$").concat(o[0],":$").concat(o[1]))}var a={name:"_xlnm.Print_Titles",ranges:n,localSheetId:r};e.push(a)}r++})),e.length&&(t.definedNames=t.definedNames.concat(e)),(t.media||[]).forEach((function(t,e){t.name=t.type+(e+1)}))}},{key:"render",value:function(t,e){t.openXml(f.StdDocAttributes),t.openNode("workbook",s.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(t),this.map.workbookPr.render(t,e.properties),this.map.bookViews.render(t,e.views),this.map.sheets.render(t,e.sheets),this.map.definedNames.render(t,e.definedNames),this.map.calcPr.render(t,e.calcProperties),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"workbook":return!0;default:return this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}},{key:"reconcile",value:function(t){var e,r=(t.workbookRels||[]).reduce((function(t,e){return t[e.Id]=e,t}),{}),n=[],i=0;(t.sheets||[]).forEach((function(o){var a=r[o.rId];a&&(e=t.worksheetHash["xl/".concat(a.Target.replace(/^(\s|\/xl\/)+/,""))])&&(e.name=o.name,e.id=o.id,e.state=o.state,n[i++]=e)}));var o=[];u.each(t.definedNames,(function(t){if("_xlnm.Print_Area"===t.name){if(e=n[t.localSheetId]){e.pageSetup||(e.pageSetup={});var r=l.decodeEx(t.ranges[0]);e.pageSetup.printArea=e.pageSetup.printArea?"".concat(e.pageSetup.printArea,"&&").concat(r.dimensions):r.dimensions}}else if("_xlnm.Print_Titles"===t.name){if(e=n[t.localSheetId]){e.pageSetup||(e.pageSetup={});var i=t.ranges.join(","),a=/\$/g,s=i.match(/\$\d+:\$\d+/);if(s&&s.length){var c=s[0];e.pageSetup.printTitlesRow=c.replace(a,"")}var u=i.match(/\$[A-Z]+:\$[A-Z]+/);if(u&&u.length){var f=u[0];e.pageSetup.printTitlesColumn=f.replace(a,"")}}}else o.push(t)})),t.definedNames=o,t.media.forEach((function(t,e){t.index=e}))}}])&&i(e.prototype,r),s}(h);w.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},w.STATIC_XFORMS={fileVersion:new d({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},e.exports=w},{"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"../static-xform":119,"./defined-name-xform":32,"./sheet-xform":33,"./workbook-calc-properties-xform":34,"./workbook-properties-xform":35,"./workbook-view-xform":36}],38:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=t("../strings/rich-text-xform"),a=t("../../../utils/utils"),s=t("../base-xform"),c=e.exports=function(t){this.model=t};a.inherits(c,s,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new o),this._richTextXform},render:function(t,e){var r=this;e=e||this.model,t.openNode("comment",{ref:e.ref,authorId:0}),t.openNode("text"),e&&e.note&&e.note.texts&&e.note.texts.forEach((function(e){r.richTextXform.render(t,e)})),t.closeNode(),t.closeNode()},parseOpen:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"comment":return this.model=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({type:"note",note:{texts:[]}},t.attributes),!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(t),!0;default:return!1}},parseText:function(t){this.parser&&this.parser.parseText(t)},parseClose:function(t){switch(t){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(t),!0}}})},{"../../../utils/utils":26,"../base-xform":31,"../strings/rich-text-xform":121}],39:[function(t,e,r){"use strict";var n=t("../../../utils/xml-stream"),i=t("../../../utils/utils"),o=t("../base-xform"),a=t("./comment-xform"),s=e.exports=function(){this.map={comment:new a}};i.inherits(s,o,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render:function(t,e){var r=this;e=e||this.model,t.openXml(n.StdDocAttributes),t.openNode("comments",s.COMMENTS_ATTRIBUTES),t.openNode("authors"),t.leafNode("author",null,"Author"),t.closeNode(),t.openNode("commentList"),e.comments.forEach((function(e){r.map.comment.render(t,e)})),t.closeNode(),t.closeNode()},parseOpen:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(t),!0;default:return!1}},parseText:function(t){this.parser&&this.parser.parseText(t)},parseClose:function(t){switch(t){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(t),!0}}})},{"../../../utils/utils":26,"../../../utils/xml-stream":27,"../base-xform":31,"./comment-xform":38}],40:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this))._model=t,e}return e=s,(r=[{key:"render",value:function(t,e,r){(e===r[2]||"x:SizeWithCells"===this.tag&&e===r[1])&&t.leafNode(this.tag)}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this._model&&this._model.tag}}])&&i(e.prototype,r),s}(t("../../base-xform"));e.exports=u},{"../../base-xform":31}],41:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this))._model=t,e}return e=s,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.text="",!0;default:return!1}}},{key:"parseText",value:function(t){this.text=t}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this._model&&this._model.tag}}])&&i(e.prototype,r),s}(t("../../base-xform"));e.exports=u},{"../../base-xform":31}],42:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"getAnchorRect",value:function(t){var e=Math.floor(t.left),r=Math.floor(68*(t.left-e)),n=Math.floor(t.top),i=Math.floor(18*(t.top-n)),o=Math.floor(t.right),a=Math.floor(68*(t.right-o)),s=Math.floor(t.bottom);return[e,r,n,i,o,a,s,Math.floor(18*(t.bottom-s))]}},{key:"getDefaultRect",value:function(t){var e=t.col,r=Math.max(t.row-2,0);return[e,6,r,14,e+2,2,r+4,16]}},{key:"render",value:function(t,e){var r=e.anchor?this.getAnchorRect(e.anchor):this.getDefaultRect(e.refAddress);t.leafNode("x:Anchor",null,r.join(", "))}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.text="",!0;default:return!1}}},{key:"parseText",value:function(t){this.text=t}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"x:Anchor"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],43:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./vml-anchor-xform"),f=t("./style/vml-protection-xform"),h=t("./style/vml-position-xform"),d=["twoCells","oneCells","absolute"],p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"x:Anchor":new l,"x:Locked":new f({tag:"x:Locked"}),"x:LockText":new f({tag:"x:LockText"}),"x:SizeWithCells":new h({tag:"x:SizeWithCells"}),"x:MoveWithCells":new h({tag:"x:MoveWithCells"})},t}return e=s,(r=[{key:"render",value:function(t,e){var r=e.note,n=r.protection,i=r.editAs;t.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(t,i,d),this.map["x:SizeWithCells"].render(t,i,d),this.map["x:Anchor"].render(t,e),this.map["x:Locked"].render(t,n.locked),t.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(t,n.lockText),t.leafNode("x:Row",null,e.refAddress.row-1),t.leafNode("x:Column",null,e.refAddress.col-1),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.normalizeModel(),!1;default:return!0}}},{key:"normalizeModel",value:function(){var t=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),e=Object.keys(t).length;this.model.editAs=d[e],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}},{key:"tag",get:function(){return"x:ClientData"}}])&&i(e.prototype,r),s}(u);e.exports=p},{"../base-xform":31,"./style/vml-position-xform":40,"./style/vml-protection-xform":41,"./vml-anchor-xform":42}],44:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("./vml-shape-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"v:shape":new f},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openXml(u.StdDocAttributes),t.openNode(this.tag,s.DRAWING_ATTRIBUTES),t.openNode("o:shapelayout",{"v:ext":"edit"}),t.leafNode("o:idmap",{"v:ext":"edit",data:1}),t.closeNode(),t.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),t.leafNode("v:stroke",{joinstyle:"miter"}),t.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),t.closeNode(),e.comments.forEach((function(e,n){r.map["v:shape"].render(t,e,n)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:return!0}}},{key:"reconcile",value:function(t,e){var r=this;t.anchors.forEach((function(t){t.br?r.map["xdr:twoCellAnchor"].reconcile(t,e):r.map["xdr:oneCellAnchor"].reconcile(t,e)}))}},{key:"tag",get:function(){return"xml"}}])&&i(e.prototype,r),s}(l);h.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},e.exports=h},{"../../../utils/xml-stream":27,"../base-xform":31,"./vml-shape-xform":45}],45:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./vml-textbox-xform"),f=t("./vml-client-data-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"v:textbox":new l,"x:ClientData":new f},t}return e=s,(r=[{key:"render",value:function(t,e,r){t.openNode("v:shape",s.V_SHAPE_ATTRIBUTES(e,r)),t.leafNode("v:fill",{color2:"infoBackground [80]"}),t.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),t.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(t,e),this.map["x:ClientData"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={margins:{insetmode:t.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}},{key:"tag",get:function(){return"v:shape"}}])&&i(e.prototype,r),s}(u);h.V_SHAPE_ATTRIBUTES=function(t,e){return{id:"_x0000_s".concat(1025+e),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":t.note.margins&&t.note.margins.insetmode}},e.exports=h},{"../base-xform":31,"./vml-client-data-xform":43,"./vml-textbox-xform":46}],46:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"conversionUnit",value:function(t,e,r){return"".concat(parseFloat(t)*e.toFixed(2)).concat(r)}},{key:"reverseConversionUnit",value:function(t){var e=this;return(t||"").split(",").map((function(t){return Number(parseFloat(e.conversionUnit(parseFloat(t),.1,"")).toFixed(2))}))}},{key:"render",value:function(t,e){var r=this,n={style:"mso-direction-alt:auto"};if(e&&e.note){var i=(e.note&&e.note.margins).inset;Array.isArray(i)&&(i=i.map((function(t){return r.conversionUnit(t,10,"mm")})).join(",")),i&&(n.inset=i)}t.openNode("v:textbox",n),t.leafNode("div",{style:"text-align:left"}),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={inset:this.reverseConversionUnit(t.attributes.inset)},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"v:textbox"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],47:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"createNewModel",value:function(t){return{}}},{key:"parseOpen",value:function(t){return this.parser=this.parser||this.map[t.name],this.parser?(this.parser.parseOpen(t),!0):t.name===this.tag&&(this.model=this.createNewModel(t),!0)}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"onParserClose",value:function(t,e){this.model[t]=e.model}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.onParserClose(t,this.parser),this.parser=void 0),!0):t!==this.tag}}])&&o(e.prototype,r),c}(t("./base-xform"));e.exports=l},{"./base-xform":31}],48:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("HeadingPairs"),t.openNode("vt:vector",{size:2,baseType:"variant"}),t.openNode("vt:variant"),t.leafNode("vt:lpstr",void 0,"Worksheets"),t.closeNode(),t.openNode("vt:variant"),t.leafNode("vt:i4",void 0,e.length),t.closeNode(),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){return"HeadingPairs"===t.name}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){return"HeadingPairs"!==t}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],49:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("TitlesOfParts"),t.openNode("vt:vector",{size:e.length,baseType:"lpstr"}),e.forEach((function(e){t.leafNode("vt:lpstr",void 0,e.name)})),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){return"TitlesOfParts"===t.name}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){return"TitlesOfParts"!==t}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],50:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("../simple/string-xform"),h=t("./app-heading-pairs-xform"),d=t("./app-titles-of-parts-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={Company:new f({tag:"Company"}),Manager:new f({tag:"Manager"}),HeadingPairs:new h,TitleOfParts:new d},t}return e=s,(r=[{key:"render",value:function(t,e){t.openXml(u.StdDocAttributes),t.openNode("Properties",s.PROPERTY_ATTRIBUTES),t.leafNode("Application",void 0,"Microsoft Excel"),t.leafNode("DocSecurity",void 0,"0"),t.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(t,e.worksheets),this.map.TitleOfParts.render(t,e.worksheets),this.map.Company.render(t,e.company||""),this.map.Manager.render(t,e.manager),t.leafNode("LinksUpToDate",void 0,"false"),t.leafNode("SharedDoc",void 0,"false"),t.leafNode("HyperlinksChanged",void 0,"false"),t.leafNode("AppVersion",void 0,"16.0300"),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"Properties":return!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}])&&i(e.prototype,r),s}(l);p.DateFormat=function(t){return t.toISOString().replace(/[.]\d{3,6}/,"")},p.DateAttrs={"xsi:type":"dcterms:W3CDTF"},p.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},e.exports=p},{"../../../utils/xml-stream":27,"../base-xform":31,"../simple/string-xform":118,"./app-heading-pairs-xform":48,"./app-titles-of-parts-xform":49}],51:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/xml-stream"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openXml(l.StdDocAttributes),t.openNode("Types",c.PROPERTY_ATTRIBUTES);var r={};(e.media||[]).forEach((function(e){if("image"===e.type){var n=e.extension;r[n]||(r[n]=!0,t.leafNode("Default",{Extension:n,ContentType:"image/".concat(n)}))}})),t.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),t.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),t.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),e.worksheets.forEach((function(e){var r="/xl/worksheets/sheet".concat(e.id,".xml");t.leafNode("Override",{PartName:r,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})})),t.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),t.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),e.sharedStrings&&e.sharedStrings.count&&t.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),e.tables&&e.tables.forEach((function(e){t.leafNode("Override",{PartName:"/xl/tables/".concat(e.target),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})})),e.drawings&&e.drawings.forEach((function(e){t.leafNode("Override",{PartName:"/xl/drawings/".concat(e.name,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})})),e.commentRefs&&(t.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),e.commentRefs.forEach((function(e){var r=e.commentName;t.leafNode("Override",{PartName:"/xl/".concat(r,".xml"),ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})}))),t.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),t.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),t.closeNode()}},{key:"parseOpen",value:function(){return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));f.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},e.exports=f},{"../../../utils/xml-stream":27,"../base-xform":31}],52:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("../simple/date-xform"),h=t("../simple/string-xform"),d=t("../simple/integer-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"dc:creator":new h({tag:"dc:creator"}),"dc:title":new h({tag:"dc:title"}),"dc:subject":new h({tag:"dc:subject"}),"dc:description":new h({tag:"dc:description"}),"dc:identifier":new h({tag:"dc:identifier"}),"dc:language":new h({tag:"dc:language"}),"cp:keywords":new h({tag:"cp:keywords"}),"cp:category":new h({tag:"cp:category"}),"cp:lastModifiedBy":new h({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new f({tag:"cp:lastPrinted",format:s.DateFormat}),"cp:revision":new d({tag:"cp:revision"}),"cp:version":new h({tag:"cp:version"}),"cp:contentStatus":new h({tag:"cp:contentStatus"}),"cp:contentType":new h({tag:"cp:contentType"}),"dcterms:created":new f({tag:"dcterms:created",attrs:s.DateAttrs,format:s.DateFormat}),"dcterms:modified":new f({tag:"dcterms:modified",attrs:s.DateAttrs,format:s.DateFormat})},t}return e=s,(r=[{key:"render",value:function(t,e){t.openXml(u.StdDocAttributes),t.openNode("cp:coreProperties",s.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(t,e.creator),this.map["dc:title"].render(t,e.title),this.map["dc:subject"].render(t,e.subject),this.map["dc:description"].render(t,e.description),this.map["dc:identifier"].render(t,e.identifier),this.map["dc:language"].render(t,e.language),this.map["cp:keywords"].render(t,e.keywords),this.map["cp:category"].render(t,e.category),this.map["cp:lastModifiedBy"].render(t,e.lastModifiedBy),this.map["cp:lastPrinted"].render(t,e.lastPrinted),this.map["cp:revision"].render(t,e.revision),this.map["cp:version"].render(t,e.version),this.map["cp:contentStatus"].render(t,e.contentStatus),this.map["cp:contentType"].render(t,e.contentType),this.map["dcterms:created"].render(t,e.created),this.map["dcterms:modified"].render(t,e.modified),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[t.name],this.parser)return this.parser.parseOpen(t),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}}])&&i(e.prototype,r),s}(l);p.DateFormat=function(t){return t.toISOString().replace(/[.]\d{3}/,"")},p.DateAttrs={"xsi:type":"dcterms:W3CDTF"},p.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},e.exports=p},{"../../../utils/xml-stream":27,"../base-xform":31,"../simple/date-xform":116,"../simple/integer-xform":117,"../simple/string-xform":118}],53:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("Relationship",e)}},{key:"parseOpen",value:function(t){switch(t.name){case"Relationship":return this.model=t.attributes,!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],54:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("./relationship-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={Relationship:new f},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;e=e||this._values,t.openXml(u.StdDocAttributes),t.openNode("Relationships",s.RELATIONSHIPS_ATTRIBUTES),e.forEach((function(e){r.map.Relationship.render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[t.name],this.parser)return this.parser.parseOpen(t),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(t){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}}])&&i(e.prototype,r),s}(l);h.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},e.exports=h},{"../../../utils/xml-stream":27,"../base-xform":31,"./relationship-xform":53}],55:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={range:{editAs:t.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"reconcilePicture",value:function(t,e){if(t&&t.rId){var r=e.rels[t.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(r){var n=r[1],i=e.mediaIndex[n];return e.media[i]}}}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],56:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./blip-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"a:blip":new l},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),this.map["a:blip"].render(t,e),t.openNode("a:stretch"),t.leafNode("a:fillRect"),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:blipFill"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"./blip-xform":57}],57:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":e.rId,cstate:"print"})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:embed"]},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"a:blip"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],58:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t){t.openNode(this.tag),t.leafNode("a:picLocks",{noChangeAspect:"1"}),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"xdr:cNvPicPr"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],59:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./hlink-click-xform"),f=t("./ext-lst-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"a:hlinkClick":new l,"a:extLst":new f},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag,{id:e.index,name:"Picture ".concat(e.index)}),this.map["a:hlinkClick"].render(t,e),this.map["a:extLst"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:cNvPr"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../base-xform":31,"./ext-lst-xform":62,"./hlink-click-xform":64}],60:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("../simple/integer-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.map={"xdr:col":new l({tag:"xdr:col",zero:!0}),"xdr:colOff":new l({tag:"xdr:colOff",zero:!0}),"xdr:row":new l({tag:"xdr:row",zero:!0}),"xdr:rowOff":new l({tag:"xdr:rowOff",zero:!0})},e}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),this.map["xdr:col"].render(t,e.nativeCol),this.map["xdr:colOff"].render(t,e.nativeColOff),this.map["xdr:row"].render(t,e.nativeRow),this.map["xdr:rowOff"].render(t,e.nativeRowOff),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"../simple/integer-xform":117}],61:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/col-cache"),l=t("../../../utils/xml-stream"),f=t("../base-xform"),h=t("./two-cell-anchor-xform"),d=t("./one-cell-anchor-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:twoCellAnchor":new h,"xdr:oneCellAnchor":new d},t}return e=s,(r=[{key:"prepare",value:function(t){var e=this;t.anchors.forEach((function(t,r){t.anchorType=function(t){return("string"==typeof t.range?u.decode(t.range):t.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(t),e.map[t.anchorType].prepare(t,{index:r})}))}},{key:"render",value:function(t,e){var r=this;t.openXml(l.StdDocAttributes),t.openNode(this.tag,s.DRAWING_ATTRIBUTES),e.anchors.forEach((function(e){r.map[e.anchorType].render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:return!0}}},{key:"reconcile",value:function(t,e){var r=this;t.anchors.forEach((function(t){t.br?r.map["xdr:twoCellAnchor"].reconcile(t,e):r.map["xdr:oneCellAnchor"].reconcile(t,e)}))}},{key:"tag",get:function(){return"xdr:wsDr"}}])&&i(e.prototype,r),s}(f);p.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},e.exports=p},{"../../../utils/col-cache":19,"../../../utils/xml-stream":27,"../base-xform":31,"./one-cell-anchor-xform":66,"./two-cell-anchor-xform":69}],62:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t){t.openNode(this.tag),t.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),t.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),t.closeNode(),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"a:extLst"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],63:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.map={},e}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag);var r=Math.floor(9525*e.width),n=Math.floor(9525*e.height);t.addAttribute("cx",r),t.addAttribute("cy",n),t.closeNode()}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.model={width:parseInt(t.attributes.cx||"0",10)/9525,height:parseInt(t.attributes.cy||"0",10)/9525},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],64:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e.hyperlinks&&e.hyperlinks.rId&&t.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":e.hyperlinks.rId,tooltip:e.hyperlinks.tooltip})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={hyperlinks:{rId:t.attributes["r:id"],tooltip:t.attributes.tooltip}},!0;default:return!0}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"a:hlinkClick"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],65:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./c-nv-pr-xform"),f=t("./c-nv-pic-pr-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:cNvPr":new l,"xdr:cNvPicPr":new f},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),this.map["xdr:cNvPr"].render(t,e),this.map["xdr:cNvPicPr"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}},{key:"tag",get:function(){return"xdr:nvPicPr"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../base-xform":31,"./c-nv-pic-pr-xform":58,"./c-nv-pr-xform":59}],66:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./base-cell-anchor-xform"),l=t("../static-xform"),f=t("./cell-position-xform"),h=t("./ext-xform"),d=t("./pic-xform"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:from":new f({tag:"xdr:from"}),"xdr:ext":new h({tag:"xdr:ext"}),"xdr:pic":new d,"xdr:clientData":new l({tag:"xdr:clientData"})},t}return e=s,(r=[{key:"prepare",value:function(t,e){this.map["xdr:pic"].prepare(t.picture,e)}},{key:"render",value:function(t,e){t.openNode(this.tag,{editAs:e.range.editAs||"oneCell"}),this.map["xdr:from"].render(t,e.range.tl),this.map["xdr:ext"].render(t,e.range.ext),this.map["xdr:pic"].render(t,e.picture),this.map["xdr:clientData"].render(t,{}),t.closeNode()}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}},{key:"reconcile",value:function(t,e){t.medium=this.reconcilePicture(t.picture,e)}},{key:"tag",get:function(){return"xdr:oneCellAnchor"}}])&&i(e.prototype,r),s}(u);e.exports=p},{"../static-xform":119,"./base-cell-anchor-xform":55,"./cell-position-xform":60,"./ext-xform":63,"./pic-xform":67}],67:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("../static-xform"),f=t("./blip-fill-xform"),h=t("./nv-pic-pr-xform"),d=t("./sp-pr"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:nvPicPr":new h,"xdr:blipFill":new f,"xdr:spPr":new l(d)},t}return e=s,(r=[{key:"prepare",value:function(t,e){t.index=e.index+1}},{key:"render",value:function(t,e){t.openNode(this.tag),this.map["xdr:nvPicPr"].render(t,e),this.map["xdr:blipFill"].render(t,e),this.map["xdr:spPr"].render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:this.reset();break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"xdr:pic"}}])&&i(e.prototype,r),s}(u);e.exports=p},{"../base-xform":31,"../static-xform":119,"./blip-fill-xform":56,"./nv-pic-pr-xform":65,"./sp-pr":68}],68:[function(t,e,r){"use strict";e.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],69:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./base-cell-anchor-xform"),l=t("../static-xform"),f=t("./cell-position-xform"),h=t("./pic-xform"),d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xdr:from":new f({tag:"xdr:from"}),"xdr:to":new f({tag:"xdr:to"}),"xdr:pic":new h,"xdr:clientData":new l({tag:"xdr:clientData"})},t}return e=s,(r=[{key:"prepare",value:function(t,e){this.map["xdr:pic"].prepare(t.picture,e)}},{key:"render",value:function(t,e){t.openNode(this.tag,{editAs:e.range.editAs||"oneCell"}),this.map["xdr:from"].render(t,e.range.tl),this.map["xdr:to"].render(t,e.range.br),this.map["xdr:pic"].render(t,e.picture),this.map["xdr:clientData"].render(t,{}),t.closeNode()}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}},{key:"reconcile",value:function(t,e){t.medium=this.reconcilePicture(t.picture,e)}},{key:"tag",get:function(){return"xdr:twoCellAnchor"}}])&&i(e.prototype,r),s}(u);e.exports=d},{"../static-xform":119,"./base-cell-anchor-xform":55,"./cell-position-xform":60,"./pic-xform":67}],70:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.always=!!t.always,e.count=t.count,e.empty=t.empty,e.$count=t.$count||"count",e.$=t.$,e.childXform=t.childXform,e.maxItems=t.maxItems,e}return e=s,(r=[{key:"prepare",value:function(t,e){var r=this.childXform;t&&t.forEach((function(t,n){e.index=n,r.prepare(t,e)}))}},{key:"render",value:function(t,e){if(this.always||e&&e.length){t.openNode(this.tag,this.$),this.count&&t.addAttribute(this.$count,e&&e.length||0);var r=this.childXform;(e||[]).forEach((function(e,n){r.render(t,e,n)})),t.closeNode()}else this.empty&&t.leafNode(this.tag)}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(t)&&(this.parser=this.childXform,!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error("Max ".concat(this.childXform.tag," count (").concat(this.maxItems,") exceeded"));return!0}return!1}},{key:"reconcile",value:function(t,e){if(t){var r=this.childXform;t.forEach((function(t){r.reconcile(t,e)}))}}}])&&i(e.prototype,r),s}(t("./base-xform"));e.exports=u},{"./base-xform":31}],71:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/col-cache"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e)if("string"==typeof e)t.leafNode("autoFilter",{ref:e});else{var r=function(t){return"string"==typeof t?t:l.getAddress(t.row,t.column).address},n=r(e.from),i=r(e.to);n&&i&&t.leafNode("autoFilter",{ref:"".concat(n,":").concat(i)})}}},{key:"parseOpen",value:function(t){"autoFilter"===t.name&&(this.model=t.attributes.ref)}},{key:"tag",get:function(){return"autoFilter"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/col-cache":19,"../base-xform":31}],72:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../../utils/utils"),h=t("../base-xform"),d=t("../../../doc/range"),p=t("../../../doc/enums"),m=t("../strings/rich-text-xform");function b(t){if(null==t)return p.ValueType.Null;if(t instanceof String||"string"==typeof t)return p.ValueType.String;if("number"==typeof t)return p.ValueType.Number;if("boolean"==typeof t)return p.ValueType.Boolean;if(t instanceof Date)return p.ValueType.Date;if(t.text&&t.hyperlink)return p.ValueType.Hyperlink;if(t.formula)return p.ValueType.Formula;if(t.error)return p.ValueType.Error;throw new Error("I could not understand type of value")}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(i,t);var e,r,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=n.call(this)).richTextXForm=new m,t}return e=i,(r=[{key:"prepare",value:function(t,e){var r=e.styles.addStyleModel(t.style||{},function(t){switch(t.type){case p.ValueType.Formula:return b(t.result);default:return t.type}}(t));switch(r&&(t.styleId=r),t.comment&&e.comments.push(o(o({},t.comment),{},{ref:t.address})),t.type){case p.ValueType.String:case p.ValueType.RichText:e.sharedStrings&&(t.ssId=e.sharedStrings.add(t.value));break;case p.ValueType.Date:e.date1904&&(t.date1904=!0);break;case p.ValueType.Hyperlink:e.sharedStrings&&void 0!==t.text&&null!==t.text&&(t.ssId=e.sharedStrings.add(t.text)),e.hyperlinks.push({address:t.address,target:t.hyperlink,tooltip:t.tooltip});break;case p.ValueType.Merge:e.merges.add(t);break;case p.ValueType.Formula:if(e.date1904&&(t.date1904=!0),"shared"===t.shareType&&(t.si=e.siFormulae++),t.formula)e.formulae[t.address]=t;else if(t.sharedFormula){var n=e.formulae[t.sharedFormula];if(!n)throw new Error("Shared Formula master must exist above and or left of clone for cell ".concat(t.address));void 0===n.si?(n.shareType="shared",n.si=e.siFormulae++,n.range=new d(n.address,t.address)):n.range&&n.range.expandToAddress(t.address),t.si=n.si}}}},{key:"renderFormula",value:function(t,e){var r=null;switch(e.shareType){case"shared":r={t:"shared",ref:e.ref||e.range.range,si:e.si};break;case"array":r={t:"array",ref:e.ref};break;default:void 0!==e.si&&(r={t:"shared",si:e.si})}switch(b(e.result)){case p.ValueType.Null:t.leafNode("f",r,e.formula);break;case p.ValueType.String:t.addAttribute("t","str"),t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result);break;case p.ValueType.Number:t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result);break;case p.ValueType.Boolean:t.addAttribute("t","b"),t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result?1:0);break;case p.ValueType.Error:t.addAttribute("t","e"),t.leafNode("f",r,e.formula),t.leafNode("v",null,e.result.error);break;case p.ValueType.Date:t.leafNode("f",r,e.formula),t.leafNode("v",null,f.dateToExcel(e.result,e.date1904));break;default:throw new Error("I could not understand type of value")}}},{key:"render",value:function(t,e){var r=this;if(e.type!==p.ValueType.Null||e.styleId){switch(t.openNode("c"),t.addAttribute("r",e.address),e.styleId&&t.addAttribute("s",e.styleId),e.type){case p.ValueType.Null:break;case p.ValueType.Number:t.leafNode("v",null,e.value);break;case p.ValueType.Boolean:t.addAttribute("t","b"),t.leafNode("v",null,e.value?"1":"0");break;case p.ValueType.Error:t.addAttribute("t","e"),t.leafNode("v",null,e.value.error);break;case p.ValueType.String:case p.ValueType.RichText:void 0!==e.ssId?(t.addAttribute("t","s"),t.leafNode("v",null,e.ssId)):e.value&&e.value.richText?(t.addAttribute("t","inlineStr"),t.openNode("is"),e.value.richText.forEach((function(e){r.richTextXForm.render(t,e)})),t.closeNode("is")):(t.addAttribute("t","str"),t.leafNode("v",null,e.value));break;case p.ValueType.Date:t.leafNode("v",null,f.dateToExcel(e.value,e.date1904));break;case p.ValueType.Hyperlink:void 0!==e.ssId?(t.addAttribute("t","s"),t.leafNode("v",null,e.ssId)):(t.addAttribute("t","str"),t.leafNode("v",null,e.text));break;case p.ValueType.Formula:this.renderFormula(t,e);break;case p.ValueType.Merge:}t.closeNode()}}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"c":return this.model={address:t.attributes.r},this.t=t.attributes.t,t.attributes.s&&(this.model.styleId=parseInt(t.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=t.attributes.si,this.model.shareType=t.attributes.t,this.model.ref=t.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){if(this.parser)this.parser.parseText(t);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+t:t;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+t:t:this.model.value=this.model.value?this.model.value+t:t}}},{key:"parseClose",value:function(t){switch(t){case"c":var e=this.model;if(e.formula||e.shareType)e.type=p.ValueType.Formula,e.value&&("str"===this.t?e.result=f.xmlDecode(e.value):"b"===this.t?e.result=0!==parseInt(e.value,10):"e"===this.t?e.result={error:e.value}:e.result=parseFloat(e.value),e.value=void 0);else if(void 0!==e.value)switch(this.t){case"s":e.type=p.ValueType.String,e.value=parseInt(e.value,10);break;case"str":e.type=p.ValueType.String,e.value=f.xmlDecode(e.value);break;case"inlineStr":e.type=p.ValueType.String;break;case"b":e.type=p.ValueType.Boolean,e.value=0!==parseInt(e.value,10);break;case"e":e.type=p.ValueType.Error,e.value={error:e.value};break;default:e.type=p.ValueType.Number,e.value=parseFloat(e.value)}else e.styleId?e.type=p.ValueType.Null:e.type=p.ValueType.Merge;return!1;case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(t),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(t),!0)}}},{key:"reconcile",value:function(t,e){var r=t.styleId&&e.styles&&e.styles.getStyleModel(t.styleId);switch(r&&(t.style=r),void 0!==t.styleId&&(t.styleId=void 0),t.type){case p.ValueType.String:"number"==typeof t.value&&e.sharedStrings&&(t.value=e.sharedStrings.getString(t.value)),t.value.richText&&(t.type=p.ValueType.RichText);break;case p.ValueType.Number:r&&f.isDateFmt(r.numFmt)&&(t.type=p.ValueType.Date,t.value=f.excelToDate(t.value,e.date1904));break;case p.ValueType.Formula:void 0!==t.result&&r&&f.isDateFmt(r.numFmt)&&(t.result=f.excelToDate(t.result,e.date1904)),"shared"===t.shareType&&(t.ref?e.formulae[t.si]=t.address:(t.sharedFormula=e.formulae[t.si],delete t.shareType),delete t.si)}var n=e.hyperlinkMap[t.address];n&&(t.type===p.ValueType.Formula?(t.text=t.result,t.result=void 0):(t.text=t.value,t.value=void 0),t.type=p.ValueType.Hyperlink,t.hyperlink=n);var i=e.commentsMap&&e.commentsMap[t.address];i&&(t.comment=i)}},{key:"tag",get:function(){return"c"}}])&&s(e.prototype,r),i}(h);e.exports=v},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":26,"../base-xform":31,"../strings/rich-text-xform":121}],73:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../base-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,{iconSet:e.iconSet,iconId:e.iconId})}},{key:"parseOpen",value:function(t){var e=t.attributes;this.model={iconSet:e.iconSet,iconId:l.toIntValue(e.iconId)}}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"x14:cfIcon"}}])&&o(e.prototype,r),c}(l);e.exports=f},{"../../base-xform":31}],74:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("uuid").v4,l=t("../../base-xform"),f=t("../../composite-xform"),h=t("./databar-ext-xform"),d=t("./icon-set-ext-xform"),p={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(c,t);var e,r,n,s=a(c);function c(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(t=s.call(this)).map={"x14:dataBar":t.databarXform=new h,"x14:iconSet":t.iconSetXform=new d},t}return e=c,n=[{key:"isExt",value:function(t){return"dataBar"===t.type?h.isExt(t):!("iconSet"!==t.type||!t.custom&&!p[t.iconSet])}}],(r=[{key:"prepare",value:function(t){c.isExt(t)&&(t.x14Id="{".concat(u(),"}").toUpperCase())}},{key:"render",value:function(t,e){if(c.isExt(e))switch(e.type){case"dataBar":this.renderDataBar(t,e);break;case"iconSet":this.renderIconSet(t,e)}}},{key:"renderDataBar",value:function(t,e){t.openNode(this.tag,{type:"dataBar",id:e.x14Id}),this.databarXform.render(t,e),t.closeNode()}},{key:"renderIconSet",value:function(t,e){t.openNode(this.tag,{type:"iconSet",priority:e.priority,id:e.x14Id||"{".concat(u(),"}")}),this.iconSetXform.render(t,e),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{type:e.type,x14Id:e.id,priority:l.toIntValue(e.priority)}}},{key:"onParserClose",value:function(t,e){Object.assign(this.model,e.model)}},{key:"tag",get:function(){return"x14:cfRule"}}])&&i(e.prototype,r),n&&i(e,n),c}(f);e.exports=m},{"../../base-xform":31,"../../composite-xform":47,"./databar-ext-xform":78,"./icon-set-ext-xform":80,uuid:526}],75:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./f-ext-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xm:f":t.fExtXform=new l},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag,{type:e.type}),void 0!==e.value&&this.fExtXform.render(t,e.value),t.closeNode()}},{key:"createNewModel",value:function(t){return{type:t.attributes.type}}},{key:"onParserClose",value:function(t,e){switch(t){case"xm:f":this.model.value=e.model?parseFloat(e.model):0}}},{key:"tag",get:function(){return"x14:cfvo"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../../composite-xform":47,"./f-ext-xform":79}],76:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./sqref-ext-xform"),f=t("./cf-rule-ext-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"xm:sqref":t.sqRef=new l,"x14:cfRule":t.cfRule=new f},t}return e=s,(r=[{key:"prepare",value:function(t,e){var r=this;t.rules.forEach((function(t){r.cfRule.prepare(t,e)}))}},{key:"render",value:function(t,e){var r=this;e.rules.some(f.isExt)&&(t.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),e.rules.filter(f.isExt).forEach((function(e){return r.cfRule.render(t,e)})),this.sqRef.render(t,e.ref),t.closeNode())}},{key:"createNewModel",value:function(){return{rules:[]}}},{key:"onParserClose",value:function(t,e){switch(t){case"xm:sqref":this.model.ref=e.model;break;case"x14:cfRule":this.model.rules.push(e.model)}}},{key:"tag",get:function(){return"x14:conditionalFormatting"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"./cf-rule-ext-xform":74,"./sqref-ext-xform":81}],77:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./cf-rule-ext-xform"),f=t("./conditional-formatting-ext-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={"x14:conditionalFormatting":t.cfXform=new f},t}return e=s,(r=[{key:"hasContent",value:function(t){return void 0===t.hasExtContent&&(t.hasExtContent=t.some((function(t){return t.rules.some(l.isExt)}))),t.hasExtContent}},{key:"prepare",value:function(t,e){var r=this;t.forEach((function(t){r.cfXform.prepare(t,e)}))}},{key:"render",value:function(t,e){var r=this;this.hasContent(e)&&(t.openNode(this.tag),e.forEach((function(e){return r.cfXform.render(t,e)})),t.closeNode())}},{key:"createNewModel",value:function(){return[]}},{key:"onParserClose",value:function(t,e){this.model.push(e.model)}},{key:"tag",get:function(){return"x14:conditionalFormattings"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"./cf-rule-ext-xform":74,"./conditional-formatting-ext-xform":76}],78:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=t("../../style/color-xform"),p=t("./cfvo-ext-xform"),m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(u,t);var e,r,n,o=c(u);function u(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(t=o.call(this)).map={"x14:cfvo":t.cfvoXform=new p,"x14:borderColor":t.borderColorXform=new d("x14:borderColor"),"x14:negativeBorderColor":t.negativeBorderColorXform=new d("x14:negativeBorderColor"),"x14:negativeFillColor":t.negativeFillColorXform=new d("x14:negativeFillColor"),"x14:axisColor":t.axisColorXform=new d("x14:axisColor")},t}return e=u,n=[{key:"isExt",value:function(t){return!t.gradient}}],(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag,{minLength:f.toIntAttribute(e.minLength,0,!0),maxLength:f.toIntAttribute(e.maxLength,100,!0),border:f.toBoolAttribute(e.border,!1),gradient:f.toBoolAttribute(e.gradient,!0),negativeBarColorSameAsPositive:f.toBoolAttribute(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:f.toBoolAttribute(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:f.toAttribute(e.axisPosition,"auto"),direction:f.toAttribute(e.direction,"leftToRight")}),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),this.borderColorXform.render(t,e.borderColor),this.negativeBorderColorXform.render(t,e.negativeBorderColor),this.negativeFillColorXform.render(t,e.negativeFillColor),this.axisColorXform.render(t,e.axisColor),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{cfvo:[],minLength:f.toIntValue(e.minLength,0),maxLength:f.toIntValue(e.maxLength,100),border:f.toBoolValue(e.border,!1),gradient:f.toBoolValue(e.gradient,!0),negativeBarColorSameAsPositive:f.toBoolValue(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:f.toBoolValue(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:f.toStringValue(e.axisPosition,"auto"),direction:f.toStringValue(e.direction,"leftToRight")}}},{key:"onParserClose",value:function(t,e){var r=i(t.split(":"),2)[1];switch(r){case"cfvo":this.model.cfvo.push(e.model);break;default:this.model[r]=e.model}}},{key:"tag",get:function(){return"x14:dataBar"}}])&&a(e.prototype,r),n&&a(e,n),u}(h);e.exports=m},{"../../base-xform":31,"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-ext-xform":75}],79:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"xm:f"}}])&&o(e.prototype,r),c}(t("../../base-xform"));e.exports=l},{"../../base-xform":31}],80:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=t("./cfvo-ext-xform"),p=t("./cf-icon-ext-xform"),m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(o,t);var e,r,n=c(o);function o(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=n.call(this)).map={"x14:cfvo":t.cfvoXform=new d,"x14:cfIcon":t.cfIconXform=new p},t}return e=o,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag,{iconSet:f.toStringAttribute(e.iconSet),reverse:f.toBoolAttribute(e.reverse,!1),showValue:f.toBoolAttribute(e.showValue,!0),custom:f.toBoolAttribute(e.icons,!1)}),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),e.icons&&e.icons.forEach((function(e,n){e.iconId=n,r.cfIconXform.render(t,e)})),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{cfvo:[],iconSet:f.toStringValue(e.iconSet,"3TrafficLights"),reverse:f.toBoolValue(e.reverse,!1),showValue:f.toBoolValue(e.showValue,!0)}}},{key:"onParserClose",value:function(t,e){var r=i(t.split(":"),2)[1];switch(r){case"cfvo":this.model.cfvo.push(e.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(e.model);break;default:this.model[r]=e.model}}},{key:"tag",get:function(){return"x14:iconSet"}}])&&a(e.prototype,r),o}(h);e.exports=m},{"../../base-xform":31,"../../composite-xform":47,"./cf-icon-ext-xform":73,"./cfvo-ext-xform":75}],81:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"xm:sqref"}}])&&o(e.prototype,r),c}(t("../../base-xform"));e.exports=l},{"../../base-xform":31}],82:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=t("../../../../doc/range"),p=t("./databar-xform"),m=t("./ext-lst-ref-xform"),b=t("./formula-xform"),v=t("./color-scale-xform"),g=t("./icon-set-xform"),y={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(a,t);var e,r,n,i=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}(a);function a(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this)).map={dataBar:t.databarXform=new p,extLst:t.extLstRefXform=new m,formula:t.formulaXform=new b,colorScale:t.colorScaleXform=new v,iconSet:t.iconSetXform=new g},t}return e=a,n=[{key:"isPrimitive",value:function(t){return"iconSet"!==t.type||!t.custom&&!y[t.iconSet]}}],(r=[{key:"render",value:function(t,e){switch(e.type){case"expression":this.renderExpression(t,e);break;case"cellIs":this.renderCellIs(t,e);break;case"top10":this.renderTop10(t,e);break;case"aboveAverage":this.renderAboveAverage(t,e);break;case"dataBar":this.renderDataBar(t,e);break;case"colorScale":this.renderColorScale(t,e);break;case"iconSet":this.renderIconSet(t,e);break;case"containsText":this.renderText(t,e);break;case"timePeriod":this.renderTimePeriod(t,e)}}},{key:"renderExpression",value:function(t,e){t.openNode(this.tag,{type:"expression",dxfId:e.dxfId,priority:e.priority}),this.formulaXform.render(t,e.formulae[0]),t.closeNode()}},{key:"renderCellIs",value:function(t,e){var r=this;t.openNode(this.tag,{type:"cellIs",dxfId:e.dxfId,priority:e.priority,operator:e.operator}),e.formulae.forEach((function(e){r.formulaXform.render(t,e)})),t.closeNode()}},{key:"renderTop10",value:function(t,e){t.leafNode(this.tag,{type:"top10",dxfId:e.dxfId,priority:e.priority,percent:f.toBoolAttribute(e.percent,!1),bottom:f.toBoolAttribute(e.bottom,!1),rank:f.toIntValue(e.rank,10,!0)})}},{key:"renderAboveAverage",value:function(t,e){t.leafNode(this.tag,{type:"aboveAverage",dxfId:e.dxfId,priority:e.priority,aboveAverage:f.toBoolAttribute(e.aboveAverage,!0)})}},{key:"renderDataBar",value:function(t,e){t.openNode(this.tag,{type:"dataBar",priority:e.priority}),this.databarXform.render(t,e),this.extLstRefXform.render(t,e),t.closeNode()}},{key:"renderColorScale",value:function(t,e){t.openNode(this.tag,{type:"colorScale",priority:e.priority}),this.colorScaleXform.render(t,e),t.closeNode()}},{key:"renderIconSet",value:function(t,e){a.isPrimitive(e)&&(t.openNode(this.tag,{type:"iconSet",priority:e.priority}),this.iconSetXform.render(t,e),t.closeNode())}},{key:"renderText",value:function(t,e){t.openNode(this.tag,{type:e.operator,dxfId:e.dxfId,priority:e.priority,operator:f.toStringAttribute(e.operator,"containsText")});var r=function(t){if(t.formulae&&t.formulae[0])return t.formulae[0];var e=new d(t.ref).tl;switch(t.operator){case"containsText":return'NOT(ISERROR(SEARCH("'.concat(t.text,'",').concat(e,")))");case"containsBlanks":return"LEN(TRIM(".concat(e,"))=0");case"notContainsBlanks":return"LEN(TRIM(".concat(e,"))>0");case"containsErrors":return"ISERROR(".concat(e,")");case"notContainsErrors":return"NOT(ISERROR(".concat(e,"))");default:return}}(e);r&&this.formulaXform.render(t,r),t.closeNode()}},{key:"renderTimePeriod",value:function(t,e){t.openNode(this.tag,{type:"timePeriod",dxfId:e.dxfId,priority:e.priority,timePeriod:e.timePeriod});var r=function(t){if(t.formulae&&t.formulae[0])return t.formulae[0];var e=new d(t.ref).tl;switch(t.timePeriod){case"thisWeek":return"AND(TODAY()-ROUNDDOWN(".concat(e,",0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(").concat(e,",0)-TODAY()<=7-WEEKDAY(TODAY()))");case"lastWeek":return"AND(TODAY()-ROUNDDOWN(".concat(e,",0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(").concat(e,",0)<(WEEKDAY(TODAY())+7))");case"nextWeek":return"AND(ROUNDDOWN(".concat(e,",0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(").concat(e,",0)-TODAY()<(15-WEEKDAY(TODAY())))");case"yesterday":return"FLOOR(".concat(e,",1)=TODAY()-1");case"today":return"FLOOR(".concat(e,",1)=TODAY()");case"tomorrow":return"FLOOR(".concat(e,",1)=TODAY()+1");case"last7Days":return"AND(TODAY()-FLOOR(".concat(e,",1)<=6,FLOOR(").concat(e,",1)<=TODAY())");case"lastMonth":return"AND(MONTH(".concat(e,")=MONTH(EDATE(TODAY(),0-1)),YEAR(").concat(e,")=YEAR(EDATE(TODAY(),0-1)))");case"thisMonth":return"AND(MONTH(".concat(e,")=MONTH(TODAY()),YEAR(").concat(e,")=YEAR(TODAY()))");case"nextMonth":return"AND(MONTH(".concat(e,")=MONTH(EDATE(TODAY(),0+1)),YEAR(").concat(e,")=YEAR(EDATE(TODAY(),0+1)))");default:return}}(e);r&&this.formulaXform.render(t,r),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return o(o({},function(t){var e=t.type,r=t.operator;switch(e){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:e};default:return{type:e,operator:r}}}(e)),{},{dxfId:f.toIntValue(e.dxfId),priority:f.toIntValue(e.priority),timePeriod:e.timePeriod,percent:f.toBoolValue(e.percent),bottom:f.toBoolValue(e.bottom),rank:f.toIntValue(e.rank),aboveAverage:f.toBoolValue(e.aboveAverage)})}},{key:"onParserClose",value:function(t,e){switch(t){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,e.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(e.model)}}},{key:"tag",get:function(){return"cfRule"}}])&&s(e.prototype,r),n&&s(e,n),a}(h);e.exports=w},{"../../../../doc/range":10,"../../base-xform":31,"../../composite-xform":47,"./color-scale-xform":84,"./databar-xform":87,"./ext-lst-ref-xform":88,"./formula-xform":89,"./icon-set-xform":90}],83:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../base-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,{type:e.type,val:e.value})}},{key:"parseOpen",value:function(t){this.model={type:t.attributes.type,value:l.toFloatValue(t.attributes.val)}}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"cfvo"}}])&&o(e.prototype,r),c}(l);e.exports=f},{"../../base-xform":31}],84:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("../../style/color-xform"),f=t("./cfvo-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfvo:t.cfvoXform=new f,color:t.colorXform=new l},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),e.color.forEach((function(e){r.colorXform.render(t,e)})),t.closeNode()}},{key:"createNewModel",value:function(t){return{cfvo:[],color:[]}}},{key:"onParserClose",value:function(t,e){this.model[t].push(e.model)}},{key:"tag",get:function(){return"colorScale"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-xform":83}],85:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("./cf-rule-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfRule:new l},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;e.rules.some(l.isPrimitive)&&(t.openNode(this.tag,{sqref:e.ref}),e.rules.forEach((function(n){l.isPrimitive(n)&&(n.ref=e.ref,r.map.cfRule.render(t,n))})),t.closeNode())}},{key:"createNewModel",value:function(t){return{ref:t.attributes.sqref,rules:[]}}},{key:"onParserClose",value:function(t,e){this.model.rules.push(e.model)}},{key:"tag",get:function(){return"conditionalFormatting"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../../composite-xform":47,"./cf-rule-xform":82}],86:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("./conditional-formatting-xform"),d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(o,t);var e,r,n=c(o);function o(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=n.call(this)).cfXform=new h,t}return e=o,(r=[{key:"reset",value:function(){this.model=[]}},{key:"prepare",value:function(t,e){var r=t.reduce((function(t,e){return Math.max.apply(Math,[t].concat(i(e.rules.map((function(t){return t.priority||0})))))}),1);t.forEach((function(t){t.rules.forEach((function(t){t.priority||(t.priority=r++),t.style&&(t.dxfId=e.styles.addDxfStyle(t.style))}))}))}},{key:"render",value:function(t,e){var r=this;e.forEach((function(e){r.cfXform.render(t,e)}))}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!(!this.parser||!this.parser.parseClose(t)&&(this.model.push(this.parser.model),this.parser=void 0,1))}},{key:"reconcile",value:function(t,e){t.forEach((function(t){t.rules.forEach((function(t){void 0!==t.dxfId&&(t.style=e.styles.getDxfStyle(t.dxfId),delete t.dxfId)}))}))}},{key:"tag",get:function(){return"conditionalFormatting"}}])&&a(e.prototype,r),o}(f);e.exports=d},{"../../base-xform":31,"./conditional-formatting-xform":85}],87:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../composite-xform"),l=t("../../style/color-xform"),f=t("./cfvo-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfvo:t.cfvoXform=new f,color:t.colorXform=new l},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),this.colorXform.render(t,e.color),t.closeNode()}},{key:"createNewModel",value:function(){return{cfvo:[]}}},{key:"onParserClose",value:function(t,e){switch(t){case"cfvo":this.model.cfvo.push(e.model);break;case"color":this.model.color=e.model}}},{key:"tag",get:function(){return"dataBar"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../../composite-xform":47,"../../style/color-xform":127,"./cfvo-xform":83}],88:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../base-xform"),h=t("../../composite-xform"),d=function(t){s(r,t);var e=c(r);function r(){return i(this,r),e.apply(this,arguments)}return a(r,[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"x14:id"}}]),r}(f),p=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={"x14:id":t.idXform=new d},t}return a(r,[{key:"render",value:function(t,e){t.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(t,e.x14Id),t.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){this.model.x14Id=e.model}},{key:"tag",get:function(){return"ext"}}]),r}(h),m=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={ext:new p},t}return a(r,[{key:"render",value:function(t,e){t.openNode(this.tag),this.map.ext.render(t,e),t.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){Object.assign(this.model,e.model)}},{key:"tag",get:function(){return"extLst"}}]),r}(h);e.exports=m},{"../../base-xform":31,"../../composite-xform":47}],89:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode(this.tag,null,e)}},{key:"parseOpen",value:function(){this.model=""}},{key:"parseText",value:function(t){this.model+=t}},{key:"parseClose",value:function(t){return t!==this.tag}},{key:"tag",get:function(){return"formula"}}])&&o(e.prototype,r),c}(t("../../base-xform"));e.exports=l},{"../../base-xform":31}],90:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../base-xform"),l=t("../../composite-xform"),f=t("./cfvo-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={cfvo:t.cfvoXform=new f},t}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag,{iconSet:u.toStringAttribute(e.iconSet,"3TrafficLights"),reverse:u.toBoolAttribute(e.reverse,!1),showValue:u.toBoolAttribute(e.showValue,!0)}),e.cfvo.forEach((function(e){r.cfvoXform.render(t,e)})),t.closeNode()}},{key:"createNewModel",value:function(t){var e=t.attributes;return{iconSet:u.toStringValue(e.iconSet,"3TrafficLights"),reverse:u.toBoolValue(e.reverse),showValue:u.toBoolValue(e.showValue),cfvo:[]}}},{key:"onParserClose",value:function(t,e){this.model[t].push(e.model)}},{key:"tag",get:function(){return"iconSet"}}])&&i(e.prototype,r),s}(l);e.exports=h},{"../../base-xform":31,"../../composite-xform":47,"./cfvo-xform":83}],91:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t,e){var r=e.styles.addStyleModel(t.style||{});r&&(t.styleId=r)}},{key:"render",value:function(t,e){t.openNode("col"),t.addAttribute("min",e.min),t.addAttribute("max",e.max),e.width&&t.addAttribute("width",e.width),e.styleId&&t.addAttribute("style",e.styleId),e.hidden&&t.addAttribute("hidden","1"),e.bestFit&&t.addAttribute("bestFit","1"),e.outlineLevel&&t.addAttribute("outlineLevel",e.outlineLevel),e.collapsed&&t.addAttribute("collapsed","1"),t.addAttribute("customWidth","1"),t.closeNode()}},{key:"parseOpen",value:function(t){if("col"===t.name){var e=this.model={min:parseInt(t.attributes.min||"0",10),max:parseInt(t.attributes.max||"0",10),width:void 0===t.attributes.width?void 0:parseFloat(t.attributes.width||"0")};return t.attributes.style&&(e.styleId=parseInt(t.attributes.style,10)),!0!==t.attributes.hidden&&"true"!==t.attributes.hidden&&1!==t.attributes.hidden&&"1"!==t.attributes.hidden||(e.hidden=!0),t.attributes.bestFit&&(e.bestFit=!0),t.attributes.outlineLevel&&(e.outlineLevel=parseInt(t.attributes.outlineLevel,10)),t.attributes.collapsed&&(e.collapsed=!0),!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"reconcile",value:function(t,e){t.styleId&&(t.style=e.styles.getStyleModel(t.styleId))}},{key:"tag",get:function(){return"col"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],92:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d=t("../../../utils/under-dash"),p=t("../../../utils/utils"),m=t("../../../utils/col-cache"),b=t("../base-xform"),v=t("../../../doc/range");function g(t,e,r,n){var i=e[r];void 0!==i?t[r]=i:void 0!==n&&(t[r]=n)}function y(t,e,r,n){var i=e[r];void 0!==i?t[r]=function(t){switch(t){case"1":case"true":return!0;default:return!1}}(i):void 0!==n&&(t[r]=n)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){var r=function(t){var e=d.map(t,(function(t,e){return{address:e,dataValidation:t,marked:!1}})).sort((function(t,e){return d.strcmp(t.address,e.address)})),r=d.keyBy(e,"address"),n=function(e,r,n){for(var i=0;i<r;i++){var o=m.encodeAddress(e.row+i,n);if(!t[o]||!d.isEqual(t[e.address],t[o]))return!1}return!0};return e.map((function(e){if(!e.marked){var i=m.decodeEx(e.address);if(i.dimensions)return r[i.dimensions].marked=!0,f(f({},e.dataValidation),{},{sqref:e.address});for(var o=1,a=m.encodeAddress(i.row+o,i.col);t[a]&&d.isEqual(e.dataValidation,t[a]);)o++,a=m.encodeAddress(i.row+o,i.col);for(var s=1;n(i,o,i.col+s);)s++;for(var c=0;c<o;c++)for(var u=0;u<s;u++)a=m.encodeAddress(i.row+c,i.col+u),r[a].marked=!0;if(o>1||s>1){var l=i.row+(o-1),h=i.col+(s-1);return f(f({},e.dataValidation),{},{sqref:"".concat(e.address,":").concat(m.encodeAddress(l,h))})}return f(f({},e.dataValidation),{},{sqref:e.address})}return null})).filter(Boolean)}(e);r.length&&(t.openNode("dataValidations",{count:r.length}),r.forEach((function(e){t.openNode("dataValidation"),"any"!==e.type&&(t.addAttribute("type",e.type),e.operator&&"list"!==e.type&&"between"!==e.operator&&t.addAttribute("operator",e.operator),e.allowBlank&&t.addAttribute("allowBlank","1")),e.showInputMessage&&t.addAttribute("showInputMessage","1"),e.promptTitle&&t.addAttribute("promptTitle",e.promptTitle),e.prompt&&t.addAttribute("prompt",e.prompt),e.showErrorMessage&&t.addAttribute("showErrorMessage","1"),e.errorStyle&&t.addAttribute("errorStyle",e.errorStyle),e.errorTitle&&t.addAttribute("errorTitle",e.errorTitle),e.error&&t.addAttribute("error",e.error),t.addAttribute("sqref",e.sqref),(e.formulae||[]).forEach((function(r,n){t.openNode("formula".concat(n+1)),"date"===e.type?t.writeText(p.dateToExcel(new Date(r))):t.writeText(r),t.closeNode()})),t.closeNode()})),t.closeNode())}},{key:"parseOpen",value:function(t){switch(t.name){case"dataValidations":return this.model={},!0;case"dataValidation":this._address=t.attributes.sqref;var e={type:t.attributes.type||"any",formulae:[]};switch(t.attributes.type&&y(e,t.attributes,"allowBlank"),y(e,t.attributes,"showInputMessage"),y(e,t.attributes,"showErrorMessage"),e.type){case"any":case"list":case"custom":break;default:g(e,t.attributes,"operator","between")}return g(e,t.attributes,"promptTitle"),g(e,t.attributes,"prompt"),g(e,t.attributes,"errorStyle"),g(e,t.attributes,"errorTitle"),g(e,t.attributes,"error"),this._dataValidation=e,!0;case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}},{key:"parseText",value:function(t){this._formula&&this._formula.push(t)}},{key:"parseClose",value:function(t){var e=this;switch(t){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach((function(t){t.includes(":")?new v(t).forEachAddress((function(t){e.model[t]=e._dataValidation})):e.model[t]=e._dataValidation})),!0;case"formula1":case"formula2":var r=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":r=parseInt(r,10);break;case"decimal":r=parseFloat(r);break;case"date":r=p.excelToDate(parseFloat(r))}return this._dataValidation.formulae.push(r),this._formula=void 0,!0;default:return!0}}},{key:"tag",get:function(){return"dataValidations"}}])&&o(e.prototype,r),c}(b);e.exports=w},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/utils":26,"../base-xform":31}],93:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode("dimension",{ref:e})}},{key:"parseOpen",value:function(t){return"dimension"===t.name&&(this.model=t.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"dimension"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],94:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode(this.tag,{"r:id":e.rId})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"drawing"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],95:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../composite-xform"),h=t("./cf-ext/conditional-formattings-ext-xform"),d=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={"x14:conditionalFormattings":t.conditionalFormattings=new h},t}return a(r,[{key:"hasContent",value:function(t){return this.conditionalFormattings.hasContent(t.conditionalFormattings)}},{key:"prepare",value:function(t,e){this.conditionalFormattings.prepare(t.conditionalFormattings,e)}},{key:"render",value:function(t,e){t.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(t,e.conditionalFormattings),t.closeNode()}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){this.model[t]=e.model}},{key:"tag",get:function(){return"ext"}}]),r}(f),p=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={ext:t.ext=new d},t}return a(r,[{key:"prepare",value:function(t,e){this.ext.prepare(t,e)}},{key:"hasContent",value:function(t){return this.ext.hasContent(t)}},{key:"render",value:function(t,e){this.hasContent(e)&&(t.openNode("extLst"),this.ext.render(t,e),t.closeNode())}},{key:"createNewModel",value:function(){return{}}},{key:"onParserClose",value:function(t,e){Object.assign(this.model,e.model)}},{key:"tag",get:function(){return"extLst"}}]),r}(f);e.exports=p},{"../composite-xform":47,"./cf-ext/conditional-formattings-ext-xform":77}],96:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){t.addRollback();var r=!1;t.openNode("headerFooter"),e.differentFirst&&(t.addAttribute("differentFirst","1"),r=!0),e.differentOddEven&&(t.addAttribute("differentOddEven","1"),r=!0),e.oddHeader&&"string"==typeof e.oddHeader&&(t.leafNode("oddHeader",null,e.oddHeader),r=!0),e.oddFooter&&"string"==typeof e.oddFooter&&(t.leafNode("oddFooter",null,e.oddFooter),r=!0),e.evenHeader&&"string"==typeof e.evenHeader&&(t.leafNode("evenHeader",null,e.evenHeader),r=!0),e.evenFooter&&"string"==typeof e.evenFooter&&(t.leafNode("evenFooter",null,e.evenFooter),r=!0),e.firstHeader&&"string"==typeof e.firstHeader&&(t.leafNode("firstHeader",null,e.firstHeader),r=!0),e.firstFooter&&"string"==typeof e.firstFooter&&(t.leafNode("firstFooter",null,e.firstFooter),r=!0),r?(t.closeNode(),t.commit()):t.rollback()}}},{key:"parseOpen",value:function(t){switch(t.name){case"headerFooter":return this.model={},t.attributes.differentFirst&&(this.model.differentFirst=1===parseInt(t.attributes.differentFirst,0)),t.attributes.differentOddEven&&(this.model.differentOddEven=1===parseInt(t.attributes.differentOddEven,0)),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}},{key:"parseText",value:function(t){switch(this.currentNode){case"oddHeader":this.model.oddHeader=t;break;case"oddFooter":this.model.oddFooter=t;break;case"evenHeader":this.model.evenHeader=t;break;case"evenFooter":this.model.evenFooter=t;break;case"firstHeader":this.model.firstHeader=t;break;case"firstFooter":this.model.firstFooter=t}}},{key:"parseClose",value:function(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}},{key:"tag",get:function(){return"headerFooter"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],97:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("hyperlink",{ref:e.address,"r:id":e.rId,tooltip:e.tooltip})}},{key:"parseOpen",value:function(t){return"hyperlink"===t.name&&(this.model={address:t.attributes.ref,rId:t.attributes["r:id"],tooltip:t.attributes.tooltip},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"hyperlink"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],98:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("mergeCell",{ref:e})}},{key:"parseOpen",value:function(t){return"mergeCell"===t.name&&(this.model=t.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"mergeCell"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],99:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=t("../../../utils/under-dash"),o=t("../../../doc/range"),a=t("../../../utils/col-cache"),s=t("../../../doc/enums"),c=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.merges={}}var e,r;return e=t,(r=[{key:"add",value:function(t){if(this.merges[t.master])this.merges[t.master].expandToAddress(t.address);else{var e="".concat(t.master,":").concat(t.address);this.merges[t.master]=new o(e)}}},{key:"reconcile",value:function(t,e){i.each(t,(function(t){for(var r=a.decode(t),n=r.top;n<=r.bottom;n++)for(var i=e[n-1],o=r.left;o<=r.right;o++){var c=i.cells[o-1];c?c.type===s.ValueType.Merge&&(c.master=r.tl):i.cells[o]={type:s.ValueType.Null,address:a.encodeAddress(n,o)}}}))}},{key:"getMasterAddress",value:function(t){var e=this.hash[t];return e&&e.tl}},{key:"mergeCells",get:function(){return i.map(this.merges,(function(t){return t.range}))}}])&&n(e.prototype,r),t}();e.exports=c},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":25}],100:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../base-xform"),f=function(t){return void 0!==t},h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){return!(!e||!f(e.summaryBelow)&&!f(e.summaryRight)||(t.leafNode(this.tag,{summaryBelow:f(e.summaryBelow)?Number(e.summaryBelow):void 0,summaryRight:f(e.summaryRight)?Number(e.summaryRight):void 0}),0))}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.model={summaryBelow:f(t.attributes.summaryBelow)?Boolean(Number(t.attributes.summaryBelow)):void 0,summaryRight:f(t.attributes.summaryRight)?Boolean(Number(t.attributes.summaryRight)):void 0},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"outlinePr"}}])&&o(e.prototype,r),c}(l);e.exports=h},{"../base-xform":31}],101:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.leafNode("brk",e)}},{key:"parseOpen",value:function(t){return"brk"===t.name&&(this.model=t.attributes.ref,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"brk"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],102:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={left:e.left,right:e.right,top:e.top,bottom:e.bottom,header:e.header,footer:e.footer};l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={left:parseFloat(t.attributes.left||.7),right:parseFloat(t.attributes.right||.7),top:parseFloat(t.attributes.top||.75),bottom:parseFloat(t.attributes.bottom||.75),header:parseFloat(t.attributes.header||.3),footer:parseFloat(t.attributes.footer||.3)},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageMargins"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/under-dash":25,"../base-xform":31}],103:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){return!(!e||!e.fitToPage||(t.leafNode(this.tag,{fitToPage:e.fitToPage?"1":void 0}),0))}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.model={fitToPage:"1"===t.attributes.fitToPage},!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageSetUpPr"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],104:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash");function f(t){return t?"1":void 0}function h(t){switch(t){case"overThenDown":return t;default:return}}function d(t){switch(t){case"atEnd":case"asDisplyed":return t;default:return}}function p(t){switch(t){case"dash":case"blank":case"NA":return t;default:return}}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={paperSize:e.paperSize,orientation:e.orientation,horizontalDpi:e.horizontalDpi,verticalDpi:e.verticalDpi,pageOrder:h(e.pageOrder),blackAndWhite:f(e.blackAndWhite),draft:f(e.draft),cellComments:d(e.cellComments),errors:p(e.errors),scale:e.scale,fitToWidth:e.fitToWidth,fitToHeight:e.fitToHeight,firstPageNumber:e.firstPageNumber,useFirstPageNumber:f(e.firstPageNumber),usePrinterDefaults:f(e.usePrinterDefaults),copies:e.copies};l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={paperSize:(e=t.attributes.paperSize,void 0!==e?parseInt(e,10):void 0),orientation:t.attributes.orientation||"portrait",horizontalDpi:parseInt(t.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(t.attributes.verticalDpi||"4294967295",10),pageOrder:t.attributes.pageOrder||"downThenOver",blackAndWhite:"1"===t.attributes.blackAndWhite,draft:"1"===t.attributes.draft,cellComments:t.attributes.cellComments||"None",errors:t.attributes.errors||"displayed",scale:parseInt(t.attributes.scale||"100",10),fitToWidth:parseInt(t.attributes.fitToWidth||"1",10),fitToHeight:parseInt(t.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(t.attributes.firstPageNumber||"1",10),useFirstPageNumber:"1"===t.attributes.useFirstPageNumber,usePrinterDefaults:"1"===t.attributes.usePrinterDefaults,copies:parseInt(t.attributes.copies||"1",10)},!0;default:return!1}var e}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"pageSetup"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=m},{"../../../utils/under-dash":25,"../base-xform":31}],105:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode(this.tag,{"r:id":e.rId})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"picture"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],106:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash");function f(t){return t?"1":void 0}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={headings:f(e.showRowColHeaders),gridLines:f(e.showGridLines),horizontalCentered:f(e.horizontalCentered),verticalCentered:f(e.verticalCentered)};l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={showRowColHeaders:"1"===t.attributes.headings,showGridLines:"1"===t.attributes.gridLines,horizontalCentered:"1"===t.attributes.horizontalCentered,verticalCentered:"1"===t.attributes.verticalCentered},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"printOptions"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=h},{"../../../utils/under-dash":25,"../base-xform":31}],107:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./page-breaks-xform"),l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s);var t={tag:"rowBreaks",count:!0,childXform:new u};return n.call(this,t)}return e=s,(r=[{key:"render",value:function(t,e){if(e&&e.length){t.openNode(this.tag,this.$),this.count&&(t.addAttribute(this.$count,e.length),t.addAttribute("manualBreakCount",e.length));var r=this.childXform;e.forEach((function(e){r.render(t,e)})),t.closeNode()}else this.empty&&t.leafNode(this.tag)}}])&&i(e.prototype,r),s}(t("../list-xform"));e.exports=l},{"../list-xform":70,"./page-breaks-xform":101}],108:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./cell-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).maxItems=t&&t.maxItems,e.map={c:new l},e}return e=s,(r=[{key:"prepare",value:function(t,e){var r=e.styles.addStyleModel(t.style);r&&(t.styleId=r);var n=this.map.c;t.cells.forEach((function(t){n.prepare(t,e)}))}},{key:"render",value:function(t,e,r){t.openNode("row"),t.addAttribute("r",e.number),e.height&&(t.addAttribute("ht",e.height),t.addAttribute("customHeight","1")),e.hidden&&t.addAttribute("hidden","1"),e.min>0&&e.max>0&&e.min<=e.max&&t.addAttribute("spans","".concat(e.min,":").concat(e.max)),e.styleId&&(t.addAttribute("s",e.styleId),t.addAttribute("customFormat","1")),t.addAttribute("x14ac:dyDescent","0.25"),e.outlineLevel&&t.addAttribute("outlineLevel",e.outlineLevel),e.collapsed&&t.addAttribute("collapsed","1");var n=this.map.c;e.cells.forEach((function(e){n.render(t,e,r)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;if("row"===t.name){this.numRowsSeen+=1;var e=t.attributes.spans?t.attributes.spans.split(":").map((function(t){return parseInt(t,10)})):[void 0,void 0],r=this.model={number:parseInt(t.attributes.r,10),min:e[0],max:e[1],cells:[]};return t.attributes.s&&(r.styleId=parseInt(t.attributes.s,10)),!0!==t.attributes.hidden&&"true"!==t.attributes.hidden&&1!==t.attributes.hidden&&"1"!==t.attributes.hidden||(r.hidden=!0),t.attributes.bestFit&&(r.bestFit=!0),t.attributes.ht&&(r.height=parseFloat(t.attributes.ht)),t.attributes.outlineLevel&&(r.outlineLevel=parseInt(t.attributes.outlineLevel,10)),t.attributes.collapsed&&(r.collapsed=!0),!0}return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error("Max column count (".concat(this.maxItems,") exceeded"));this.parser=void 0}return!0}return!1}},{key:"reconcile",value:function(t,e){t.style=t.styleId?e.styles.getStyleModel(t.styleId):{},void 0!==t.styleId&&(t.styleId=void 0);var r=this.map.c;t.cells.forEach((function(t){r.reconcile(t,e)}))}},{key:"tag",get:function(){return"row"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"./cell-xform":72}],109:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={defaultRowHeight:e.defaultRowHeight,outlineLevelRow:e.outlineLevelRow,outlineLevelCol:e.outlineLevelCol,"x14ac:dyDescent":e.dyDescent};e.defaultColWidth&&(r.defaultColWidth=e.defaultColWidth),e.defaultRowHeight&&15===e.defaultRowHeight||(r.customHeight="1"),l.some(r,(function(t){return void 0!==t}))&&t.leafNode("sheetFormatPr",r)}}},{key:"parseOpen",value:function(t){return"sheetFormatPr"===t.name&&(this.model={defaultRowHeight:parseFloat(t.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(t.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(t.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(t.attributes.outlineLevelCol||"0",10)},t.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(t.attributes.defaultColWidth)),!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"sheetFormatPr"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=f},{"../../../utils/under-dash":25,"../base-xform":31}],110:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("../style/color-xform"),f=t("./page-setup-properties-xform"),h=t("./outline-properties-xform"),d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={tabColor:new l("tabColor"),pageSetUpPr:new f,outlinePr:new h},t}return e=s,(r=[{key:"render",value:function(t,e){if(e){t.addRollback(),t.openNode("sheetPr");var r=!1;r=this.map.tabColor.render(t,e.tabColor)||r,r=this.map.pageSetUpPr.render(t,e.pageSetup)||r,(r=this.map.outlinePr.render(t,e.outlineProperties)||r)?(t.closeNode(),t.commit()):t.rollback()}}},{key:"parseOpen",value:function(t){return this.parser?(this.parser.parseOpen(t),!0):t.name===this.tag?(this.reset(),!0):!!this.map[t.name]&&(this.parser=this.map[t.name],this.parser.parseOpen(t),!0)}},{key:"parseText",value:function(t){return!!this.parser&&(this.parser.parseText(t),!0)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}},{key:"tag",get:function(){return"sheetPr"}}])&&i(e.prototype,r),s}(u);e.exports=d},{"../base-xform":31,"../style/color-xform":127,"./outline-properties-xform":100,"./page-setup-properties-xform":103}],111:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/under-dash");function f(t,e){return t?e:void 0}function h(t,e){return t===e||void 0}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){if(e){var r={sheet:f(e.sheet,"1"),selectLockedCells:!1===e.selectLockedCells?"1":void 0,selectUnlockedCells:!1===e.selectUnlockedCells?"1":void 0,formatCells:f(e.formatCells,"0"),formatColumns:f(e.formatColumns,"0"),formatRows:f(e.formatRows,"0"),insertColumns:f(e.insertColumns,"0"),insertRows:f(e.insertRows,"0"),insertHyperlinks:f(e.insertHyperlinks,"0"),deleteColumns:f(e.deleteColumns,"0"),deleteRows:f(e.deleteRows,"0"),sort:f(e.sort,"0"),autoFilter:f(e.autoFilter,"0"),pivotTables:f(e.pivotTables,"0")};e.sheet&&(r.algorithmName=e.algorithmName,r.hashValue=e.hashValue,r.saltValue=e.saltValue,r.spinCount=e.spinCount,r.objects=f(!1===e.objects,"1"),r.scenarios=f(!1===e.scenarios,"1")),l.some(r,(function(t){return void 0!==t}))&&t.leafNode(this.tag,r)}}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={sheet:h(t.attributes.sheet,"1"),objects:"1"!==t.attributes.objects&&void 0,scenarios:"1"!==t.attributes.scenarios&&void 0,selectLockedCells:"1"!==t.attributes.selectLockedCells&&void 0,selectUnlockedCells:"1"!==t.attributes.selectUnlockedCells&&void 0,formatCells:h(t.attributes.formatCells,"0"),formatColumns:h(t.attributes.formatColumns,"0"),formatRows:h(t.attributes.formatRows,"0"),insertColumns:h(t.attributes.insertColumns,"0"),insertRows:h(t.attributes.insertRows,"0"),insertHyperlinks:h(t.attributes.insertHyperlinks,"0"),deleteColumns:h(t.attributes.deleteColumns,"0"),deleteRows:h(t.attributes.deleteRows,"0"),sort:h(t.attributes.sort,"0"),autoFilter:h(t.attributes.autoFilter,"0"),pivotTables:h(t.attributes.pivotTables,"0")},t.attributes.algorithmName&&(this.model.algorithmName=t.attributes.algorithmName,this.model.hashValue=t.attributes.hashValue,this.model.saltValue=t.attributes.saltValue,this.model.spinCount=parseInt(t.attributes.spinCount,10)),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"sheetProtection"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=d},{"../../../utils/under-dash":25,"../base-xform":31}],112:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../utils/col-cache"),f=t("../base-xform"),h={frozen:"frozen",frozenSplit:"frozen",split:"split"},d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t){switch(t.state){case"frozen":case"split":break;default:t.state="normal"}}},{key:"render",value:function(t,e){t.openNode("sheetView",{workbookViewId:e.workbookViewId||0});var r,n,i,o,a=function(e,r,n){n&&t.addAttribute(e,r)};switch(a("rightToLeft","1",!0===e.rightToLeft),a("tabSelected","1",e.tabSelected),a("showRuler","0",!1===e.showRuler),a("showRowColHeaders","0",!1===e.showRowColHeaders),a("showGridLines","0",!1===e.showGridLines),a("zoomScale",e.zoomScale,e.zoomScale),a("zoomScaleNormal",e.zoomScaleNormal,e.zoomScaleNormal),a("view",e.style,e.style),e.state){case"frozen":n=e.xSplit||0,i=e.ySplit||0,r=e.topLeftCell||l.getAddress(i+1,n+1).address,o=(e.xSplit&&e.ySplit?"bottomRight":e.xSplit&&"topRight")||"bottomLeft",t.leafNode("pane",{xSplit:e.xSplit||void 0,ySplit:e.ySplit||void 0,topLeftCell:r,activePane:o,state:"frozen"}),t.leafNode("selection",{pane:o,activeCell:e.activeCell,sqref:e.activeCell});break;case"split":"topLeft"===e.activePane&&(e.activePane=void 0),t.leafNode("pane",{xSplit:e.xSplit||void 0,ySplit:e.ySplit||void 0,topLeftCell:e.topLeftCell,activePane:e.activePane}),t.leafNode("selection",{pane:e.activePane,activeCell:e.activeCell,sqref:e.activeCell});break;case"normal":e.activeCell&&t.leafNode("selection",{activeCell:e.activeCell,sqref:e.activeCell})}t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(t.attributes.workbookViewId,10),rightToLeft:"1"===t.attributes.rightToLeft,tabSelected:"1"===t.attributes.tabSelected,showRuler:!("0"===t.attributes.showRuler),showRowColHeaders:!("0"===t.attributes.showRowColHeaders),showGridLines:!("0"===t.attributes.showGridLines),zoomScale:parseInt(t.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(t.attributes.zoomScaleNormal||"100",10),style:t.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(t.attributes.xSplit||"0",10),ySplit:parseInt(t.attributes.ySplit||"0",10),topLeftCell:t.attributes.topLeftCell,activePane:t.attributes.activePane||"topLeft",state:t.attributes.state},!0;case"selection":var e=t.attributes.pane||"topLeft";return this.selections[e]={pane:e,activeCell:t.attributes.activeCell},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){var e,r;switch(t){case"sheetView":return this.sheetView&&this.pane?(e=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:h[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},"split"===this.model.state&&(e.activePane=this.pane.activePane),(r=this.selections[this.pane.activePane])&&r.activeCell&&(e.activeCell=r.activeCell),this.sheetView.style&&(e.style=this.sheetView.style)):(e=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},(r=this.selections.topLeft)&&r.activeCell&&(e.activeCell=r.activeCell),this.sheetView.style&&(e.style=this.sheetView.style)),!1;default:return!0}}},{key:"reconcile",value:function(){}},{key:"tag",get:function(){return"sheetView"}}])&&o(e.prototype,r),c}(f);e.exports=d},{"../../../utils/col-cache":19,"../base-xform":31}],113:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){e&&t.leafNode(this.tag,{"r:id":e.rId})}},{key:"parseOpen",value:function(t){switch(t.name){case this.tag:return this.model={rId:t.attributes["r:id"]},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tablePart"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],114:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/under-dash"),l=t("../../../utils/col-cache"),f=t("../../../utils/xml-stream"),h=t("../../rel-type"),d=t("./merges"),p=t("../base-xform"),m=t("../list-xform"),b=t("./row-xform"),v=t("./col-xform"),g=t("./dimension-xform"),y=t("./hyperlink-xform"),w=t("./merge-cell-xform"),x=t("./data-validations-xform"),O=t("./sheet-properties-xform"),_=t("./sheet-format-properties-xform"),S=t("./sheet-view-xform"),k=t("./sheet-protection-xform"),E=t("./page-margins-xform"),M=t("./page-setup-xform"),C=t("./print-options-xform"),j=t("./auto-filter-xform"),A=t("./picture-xform"),T=t("./drawing-xform"),P=t("./table-part-xform"),D=t("./row-breaks-xform"),R=t("./header-footer-xform"),L=t("./cf/conditional-formattings-xform"),I=t("./ext-lst-xform"),N=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),e=n.call(this);var r=t||{},i=r.maxRows,o=r.maxCols;return e.map={sheetPr:new O,dimension:new g,sheetViews:new m({tag:"sheetViews",count:!1,childXform:new S}),sheetFormatPr:new _,cols:new m({tag:"cols",count:!1,childXform:new v}),sheetData:new m({tag:"sheetData",count:!1,empty:!0,childXform:new b({maxItems:o}),maxItems:i}),autoFilter:new j,mergeCells:new m({tag:"mergeCells",count:!0,childXform:new w}),rowBreaks:new D,hyperlinks:new m({tag:"hyperlinks",count:!1,childXform:new y}),pageMargins:new E,dataValidations:new x,pageSetup:new M,headerFooter:new R,printOptions:new C,picture:new A,drawing:new T,sheetProtection:new k,tableParts:new m({tag:"tableParts",count:!0,childXform:new P}),conditionalFormatting:new L,extLst:new I},e}return e=s,(r=[{key:"prepare",value:function(t,e){var r=this;e.merges=new d,t.hyperlinks=e.hyperlinks=[],t.comments=e.comments=[],e.formulae={},e.siFormulae=0,this.map.cols.prepare(t.cols,e),this.map.sheetData.prepare(t.rows,e),this.map.conditionalFormatting.prepare(t.conditionalFormattings,e),t.mergeCells=e.merges.mergeCells;var n=t.rels=[];function i(t){return"rId".concat(t.length+1)}if(t.hyperlinks.forEach((function(t){var e=i(n);t.rId=e,n.push({Id:e,Type:h.Hyperlink,Target:t.target,TargetMode:"External"})})),t.comments.length>0){var o={Id:i(n),Type:h.Comments,Target:"../comments".concat(t.id,".xml")};n.push(o);var a={Id:i(n),Type:h.VmlDrawing,Target:"../drawings/vmlDrawing".concat(t.id,".vml")};n.push(a),t.comments.forEach((function(t){t.refAddress=l.decodeAddress(t.ref)})),e.commentRefs.push({commentName:"comments".concat(t.id),vmlDrawing:"vmlDrawing".concat(t.id)})}var s,c=[];t.media.forEach((function(o){if("background"===o.type){var a=i(n);s=e.media[o.imageId],n.push({Id:a,Type:h.Image,Target:"../media/".concat(s.name,".").concat(s.extension)}),t.background={rId:a},t.image=e.media[o.imageId]}else if("image"===o.type){var u=t.drawing;s=e.media[o.imageId],u||(u=t.drawing={rId:i(n),name:"drawing".concat(++e.drawingsCount),anchors:[],rels:[]},e.drawings.push(u),n.push({Id:u.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:"../drawings/".concat(u.name,".xml")}));var l=r.preImageId===o.imageId?c[o.imageId]:c[u.rels.length];l||(l=i(u.rels),c[u.rels.length]=l,u.rels.push({Id:l,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:"../media/".concat(s.name,".").concat(s.extension)}));var f={picture:{rId:l},range:o.range};if(o.hyperlinks&&o.hyperlinks.hyperlink){var d=i(u.rels);c[u.rels.length]=d,f.picture.hyperlinks={tooltip:o.hyperlinks.tooltip,rId:d},u.rels.push({Id:d,Type:h.Hyperlink,Target:o.hyperlinks.hyperlink,TargetMode:"External"})}r.preImageId=o.imageId,u.anchors.push(f)}})),t.tables.forEach((function(t){var r=i(n);t.rId=r,n.push({Id:r,Type:h.Table,Target:"../tables/".concat(t.target)}),t.columns.forEach((function(t){var r=t.style;r&&(t.dxfId=e.styles.addDxfStyle(r))}))})),this.map.extLst.prepare(t,e)}},{key:"render",value:function(t,e){t.openXml(f.StdDocAttributes),t.openNode("worksheet",s.WORKSHEET_ATTRIBUTES);var r=e.properties?{defaultRowHeight:e.properties.defaultRowHeight,dyDescent:e.properties.dyDescent,outlineLevelCol:e.properties.outlineLevelCol,outlineLevelRow:e.properties.outlineLevelRow}:void 0;e.properties&&e.properties.defaultColWidth&&(r.defaultColWidth=e.properties.defaultColWidth);var n={outlineProperties:e.properties&&e.properties.outlineProperties,tabColor:e.properties&&e.properties.tabColor,pageSetup:e.pageSetup&&e.pageSetup.fitToPage?{fitToPage:e.pageSetup.fitToPage}:void 0},i=e.pageSetup&&e.pageSetup.margins,o={showRowColHeaders:e.pageSetup&&e.pageSetup.showRowColHeaders,showGridLines:e.pageSetup&&e.pageSetup.showGridLines,horizontalCentered:e.pageSetup&&e.pageSetup.horizontalCentered,verticalCentered:e.pageSetup&&e.pageSetup.verticalCentered},a=e.sheetProtection;this.map.sheetPr.render(t,n),this.map.dimension.render(t,e.dimensions),this.map.sheetViews.render(t,e.views),this.map.sheetFormatPr.render(t,r),this.map.cols.render(t,e.cols),this.map.sheetData.render(t,e.rows),this.map.sheetProtection.render(t,a),this.map.autoFilter.render(t,e.autoFilter),this.map.mergeCells.render(t,e.mergeCells),this.map.conditionalFormatting.render(t,e.conditionalFormattings),this.map.dataValidations.render(t,e.dataValidations),this.map.hyperlinks.render(t,e.hyperlinks),this.map.printOptions.render(t,o),this.map.pageMargins.render(t,i),this.map.pageSetup.render(t,e.pageSetup),this.map.headerFooter.render(t,e.headerFooter),this.map.rowBreaks.render(t,e.rowBreaks),this.map.drawing.render(t,e.drawing),this.map.picture.render(t,e.background),this.map.tableParts.render(t,e.tables),this.map.extLst.render(t,e),e.rels&&e.rels.forEach((function(e){e.Type===h.VmlDrawing&&t.leafNode("legacyDrawing",{"r:id":e.Id})})),t.closeNode()}},{key:"parseOpen",value:function(t){return this.parser?(this.parser.parseOpen(t),!0):"worksheet"===t.name?(u.each(this.map,(function(t){t.reset()})),!0):(this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0)}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"worksheet":var e=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(e.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(e.outlineProperties=this.map.sheetPr.model.outlineProperties);var r={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},n=Object.assign(r,this.map.pageSetup.model,this.map.printOptions.model),i=function(t,e){if(!e||!e.length)return t;if(!t||!t.length)return e;var r={},n={};return t.forEach((function(t){r[t.ref]=t,t.rules.forEach((function(t){var e=t.x14Id;e&&(n[e]=t)}))})),e.forEach((function(e){e.rules.forEach((function(i){var o=n[i.x14Id];o?function(t,e){Object.keys(e).forEach((function(r){var n=t[r],i=e[r];void 0===n&&void 0!==i&&(t[r]=i)}))}(o,i):r[e.ref]?r[e.ref].rules.push(i):t.push({ref:e.ref,rules:[i]})}))})),t}(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:e,views:this.map.sheetViews.model,pageSetup:n,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:i},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1;default:return!0}}},{key:"reconcile",value:function(t,e){var r=(t.relationships||[]).reduce((function(r,n){if(r[n.Id]=n,n.Type===h.Comments&&(t.comments=e.comments[n.Target].comments),n.Type===h.VmlDrawing&&t.comments&&t.comments.length){var i=e.vmlDrawings[n.Target].comments;t.comments.forEach((function(t,e){t.note=Object.assign({},t.note,i[e])}))}return r}),{});if(e.commentsMap=(t.comments||[]).reduce((function(t,e){return e.ref&&(t[e.ref]=e),t}),{}),e.hyperlinkMap=(t.hyperlinks||[]).reduce((function(t,e){return e.rId&&(t[e.address]=r[e.rId].Target),t}),{}),e.formulae={},t.rows=t.rows&&t.rows.filter(Boolean)||[],t.rows.forEach((function(t){t.cells=t.cells&&t.cells.filter(Boolean)||[]})),this.map.cols.reconcile(t.cols,e),this.map.sheetData.reconcile(t.rows,e),this.map.conditionalFormatting.reconcile(t.conditionalFormattings,e),t.media=[],t.drawing){var n=r[t.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(n){var i=n[1];e.drawings[i].anchors.forEach((function(e){if(e.medium){var r={type:"image",imageId:e.medium.index,range:e.range,hyperlinks:e.picture.hyperlinks};t.media.push(r)}}))}}var o=t.background&&r[t.background.rId];if(o){var a=o.Target.split("/media/")[1],s=e.mediaIndex&&e.mediaIndex[a];void 0!==s&&t.media.push({type:"background",imageId:s})}t.tables=(t.tables||[]).map((function(t){var n=r[t.rId];return e.tables[n.Target]})),delete t.relationships,delete t.hyperlinks,delete t.comments}}])&&i(e.prototype,r),s}(p);N.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},e.exports=N},{"../../../utils/col-cache":19,"../../../utils/under-dash":25,"../../../utils/xml-stream":27,"../../rel-type":30,"../base-xform":31,"../list-xform":70,"./auto-filter-xform":71,"./cf/conditional-formattings-xform":86,"./col-xform":91,"./data-validations-xform":92,"./dimension-xform":93,"./drawing-xform":94,"./ext-lst-xform":95,"./header-footer-xform":96,"./hyperlink-xform":97,"./merge-cell-xform":98,"./merges":99,"./page-margins-xform":102,"./page-setup-xform":104,"./picture-xform":105,"./print-options-xform":106,"./row-breaks-xform":107,"./row-xform":108,"./sheet-format-properties-xform":109,"./sheet-properties-xform":110,"./sheet-protection-xform":111,"./sheet-view-xform":112,"./table-part-xform":113}],115:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e}return e=s,(r=[{key:"render",value:function(t,e){e&&(t.openNode(this.tag),t.closeNode())}},{key:"parseOpen",value:function(t){t.name===this.tag&&(this.model=!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],116:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e.attrs=t.attrs,e._format=t.format||function(t){try{return Number.isNaN(t.getTime())?"":t.toISOString()}catch(t){return""}},e._parse=t.parse||function(t){return new Date(t)},e}return e=s,(r=[{key:"render",value:function(t,e){e&&(t.openNode(this.tag),this.attrs&&t.addAttributes(this.attrs),this.attr?t.addAttribute(this.attr,this._format(e)):t.writeText(this._format(e)),t.closeNode())}},{key:"parseOpen",value:function(t){t.name===this.tag&&(this.attr?this.model=this._parse(t.attributes[this.attr]):this.text=[])}},{key:"parseText",value:function(t){this.attr||this.text.push(t)}},{key:"parseClose",value:function(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],117:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e.attrs=t.attrs,e.zero=t.zero,e}return e=s,(r=[{key:"render",value:function(t,e){(e||this.zero)&&(t.openNode(this.tag),this.attrs&&t.addAttributes(this.attrs),this.attr?t.addAttribute(this.attr,e):t.writeText(e),t.closeNode())}},{key:"parseOpen",value:function(t){return t.name===this.tag&&(this.attr?this.model=parseInt(t.attributes[this.attr],10):this.text=[],!0)}},{key:"parseText",value:function(t){this.attr||this.text.push(t)}},{key:"parseClose",value:function(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],118:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).tag=t.tag,e.attr=t.attr,e.attrs=t.attrs,e}return e=s,(r=[{key:"render",value:function(t,e){void 0!==e&&(t.openNode(this.tag),this.attrs&&t.addAttributes(this.attrs),this.attr?t.addAttribute(this.attr,e):t.writeText(e),t.closeNode())}},{key:"parseOpen",value:function(t){t.name===this.tag&&(this.attr?this.model=t.attributes[this.attr]:this.text=[])}},{key:"parseText",value:function(t){this.attr||this.text.push(t)}},{key:"parseClose",value:function(){return this.attr||(this.model=this.text.join("")),!1}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],119:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./base-xform"),l=t("../../utils/xml-stream"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this))._model=t,e}return e=s,(r=[{key:"render",value:function(t){if(!this._xml){var e=new l;!function t(e,r){e.openNode(r.tag,r.$),r.c&&r.c.forEach((function(r){t(e,r)})),r.t&&e.writeText(r.t),e.closeNode()}(e,this._model),this._xml=e.xml}t.writeXml(this._xml)}},{key:"parseOpen",value:function(){return!0}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){switch(t){case this._model.tag:return!1;default:return!0}}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../../utils/xml-stream":27,"./base-xform":31}],120:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./text-xform"),l=t("./rich-text-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={r:new l,t:new u},t}return e=s,(r=[{key:"render",value:function(t,e){if(t.openNode(this.tag,{sb:e.sb||0,eb:e.eb||0}),e&&e.hasOwnProperty("richText")&&e.richText){var r=this.map.r;e.richText.forEach((function(e){r.render(t,e)}))}else e&&this.map.t.render(t,e.text);t.closeNode()}},{key:"parseOpen",value:function(t){var e=t.name;return this.parser?(this.parser.parseOpen(t),!0):e===this.tag?(this.model={sb:parseInt(t.attributes.sb,10),eb:parseInt(t.attributes.eb,10)},!0):(this.parser=this.map[e],!!this.parser&&(this.parser.parseOpen(t),!0))}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)){switch(t){case"r":var e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break;case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"rPh"}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=f},{"../base-xform":31,"./rich-text-xform":121,"./text-xform":124}],121:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./text-xform"),l=t("../style/font-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t,e}return e=s,(r=[{key:"render",value:function(t,e){e=e||this.model,t.openNode("r"),e.font&&this.fontXform.render(t,e.font),this.textXform.render(t,e.text),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(t),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){switch(t){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(t),!0}}},{key:"tag",get:function(){return"r"}},{key:"textXform",get:function(){return this._textXform||(this._textXform=new u)}},{key:"fontXform",get:function(){return this._fontXform||(this._fontXform=new l(s.FONT_OPTIONS))}}])&&i(e.prototype,r),s}(t("../base-xform"));f.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},e.exports=f},{"../base-xform":31,"../style/font-xform":130,"./text-xform":124}],122:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./text-xform"),l=t("./rich-text-xform"),f=t("./phonetic-text-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t,e.map={r:new l,t:new u,rPh:new f},e}return e=s,(r=[{key:"render",value:function(t,e){var r=this;t.openNode(this.tag),e&&e.hasOwnProperty("richText")&&e.richText?e.richText.length?e.richText.forEach((function(e){r.map.r.render(t,e)})):this.map.t.render(t,""):null!=e&&this.map.t.render(t,e),t.closeNode()}},{key:"parseOpen",value:function(t){var e=t.name;return this.parser?(this.parser.parseOpen(t),!0):e===this.tag?(this.model={},!0):(this.parser=this.map[e],!!this.parser&&(this.parser.parseOpen(t),!0))}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser){if(!this.parser.parseClose(t)){switch(t){case"r":var e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break;case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(t){case this.tag:return!1;default:return!0}}},{key:"tag",get:function(){return"si"}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=h},{"../base-xform":31,"./phonetic-text-xform":120,"./rich-text-xform":121,"./text-xform":124}],123:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../../../utils/xml-stream"),l=t("../base-xform"),f=t("./shared-string-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t||{values:[],count:0},e.hash=Object.create(null),e.rich=Object.create(null),e}return e=s,(r=[{key:"getString",value:function(t){return this.model.values[t]}},{key:"add",value:function(t){return t.richText?this.addRichText(t):this.addText(t)}},{key:"addText",value:function(t){var e=this.hash[t];return void 0===e&&(e=this.hash[t]=this.model.values.length,this.model.values.push(t)),this.model.count++,e}},{key:"addRichText",value:function(t){var e=this.sharedStringXform.toXml(t),r=this.rich[e];return void 0===r&&(r=this.rich[e]=this.model.values.length,this.model.values.push(t)),this.model.count++,r}},{key:"render",value:function(t,e){e=e||this._values,t.openXml(u.StdDocAttributes),t.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:e.count,uniqueCount:e.values.length});var r=this.sharedStringXform;e.values.forEach((function(e){r.render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(t),!0;default:throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(t){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}},{key:"sharedStringXform",get:function(){return this._sharedStringXform||(this._sharedStringXform=new f)}},{key:"values",get:function(){return this.model.values}},{key:"uniqueCount",get:function(){return this.model.values.length}},{key:"count",get:function(){return this.model.count}}])&&i(e.prototype,r),s}(l);e.exports=h},{"../../../utils/xml-stream":27,"../base-xform":31,"./shared-string-xform":122}],124:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.openNode("t"),/^\s|\n|\s$/.test(e)&&t.addAttribute("xml:space","preserve"),t.writeText(e),t.closeNode()}},{key:"parseOpen",value:function(t){switch(t.name){case"t":return this._text=[],!0;default:return!1}}},{key:"parseText",value:function(t){this._text.push(t)}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"t"}},{key:"model",get:function(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,(function(t,e){return String.fromCharCode(parseInt(e,16))}))}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],125:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../../../doc/enums"),f=t("../../../utils/utils"),h=t("../base-xform"),d={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce((function(t,e){return t[e]=!0,t}),{}),horizontal:function(t){return this.horizontalValues[t]?t:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce((function(t,e){return t[e]=!0,t}),{}),vertical:function(t){return"middle"===t?"center":this.verticalValues[t]?t:void 0},wrapText:function(t){return!!t||void 0},shrinkToFit:function(t){return!!t||void 0},textRotation:function(t){switch(t){case"vertical":return t;default:return(t=f.validInt(t))>=-90&&t<=90?t:void 0}},indent:function(t){return t=f.validInt(t),Math.max(0,t)},readingOrder:function(t){switch(t){case"ltr":return l.ReadingOrder.LeftToRight;case"rtl":return l.ReadingOrder.RightToLeft;default:return}}},p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.addRollback(),t.openNode("alignment");var r=!1;function n(e,n){n&&(t.addAttribute(e,n),r=!0)}n("horizontal",d.horizontal(e.horizontal)),n("vertical",d.vertical(e.vertical)),n("wrapText",!!d.wrapText(e.wrapText)&&"1"),n("shrinkToFit",!!d.shrinkToFit(e.shrinkToFit)&&"1"),n("indent",d.indent(e.indent)),n("textRotation",function(t){if(t=d.textRotation(t)){if("vertical"===t)return 255;var e=Math.round(t);if(e>=0&&e<=90)return e;if(e<0&&e>=-90)return 90-e}}(e.textRotation)),n("readingOrder",d.readingOrder(e.readingOrder)),t.closeNode(),r?t.commit():t.rollback()}},{key:"parseOpen",value:function(t){var e={},r=!1;function n(t,n,i){t&&(e[n]=i,r=!0)}n(t.attributes.horizontal,"horizontal",t.attributes.horizontal),n(t.attributes.vertical,"vertical","center"===t.attributes.vertical?"middle":t.attributes.vertical),n(t.attributes.wrapText,"wrapText",!!t.attributes.wrapText),n(t.attributes.shrinkToFit,"shrinkToFit",!!t.attributes.shrinkToFit),n(t.attributes.indent,"indent",parseInt(t.attributes.indent,10)),n(t.attributes.textRotation,"textRotation",function(t){var e=f.validInt(t);if(void 0!==e){if(255===e)return"vertical";if(e>=0&&e<=90)return e;if(e>90&&e<=180)return 90-e}}(t.attributes.textRotation)),n(t.attributes.readingOrder,"readingOrder","2"===t.attributes.readingOrder?"rtl":"ltr"),this.model=r?e:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"alignment"}}])&&o(e.prototype,r),c}(h);e.exports=p},{"../../../doc/enums":7,"../../../utils/utils":26,"../base-xform":31}],126:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function u(t,e,r){return e&&c(t.prototype,e),r&&c(t,r),t}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d(t);if(e){var i=d(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return h(this,r)}}function h(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=t("../base-xform"),m=t("./color-xform"),b=function(t){l(r,t);var e=f(r);function r(t){var n;return s(this,r),(n=e.call(this)).name=t,n.map={color:new m},n}return u(r,[{key:"render",value:function(t,e,r){var n=e&&e.color||r||this.defaultColor;t.openNode(this.name),e&&e.style&&(t.addAttribute("style",e.style),n&&this.map.color.render(t,n)),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.name:var e=t.attributes.style;return this.model=e?{style:e}:void 0,!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.parser=void 0),!0):(t===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}},{key:"validStyle",value:function(t){return r.validStyleValues[t]}},{key:"tag",get:function(){return this.name}}]),r}(p);b.validStyleValues=["thin","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce((function(t,e){return t[e]=!0,t}),{});var v=function(t){l(r,t);var e=f(r);function r(){var t;return s(this,r),(t=e.call(this)).map={top:new b("top"),left:new b("left"),bottom:new b("bottom"),right:new b("right"),diagonal:new b("diagonal")},t}return u(r,[{key:"render",value:function(t,e){var r=e.color;function n(n,o){n&&!n.color&&e.color&&(n=i(i({},n),{},{color:e.color})),o.render(t,n,r)}t.openNode("border"),e.diagonal&&e.diagonal.style&&(e.diagonal.up&&t.addAttribute("diagonalUp","1"),e.diagonal.down&&t.addAttribute("diagonalDown","1")),n(e.left,this.map.left),n(e.right,this.map.right),n(e.top,this.map.top),n(e.bottom,this.map.bottom),n(e.diagonal,this.map.diagonal),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"border":return this.reset(),this.diagonalUp=!!t.attributes.diagonalUp,this.diagonalDown=!!t.attributes.diagonalDown,!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;if("border"===t){var e=this.model={},r=function(t,r,n){r&&(n&&Object.assign(r,n),e[t]=r)};r("left",this.map.left.model),r("right",this.map.right.model),r("top",this.map.top.model),r("bottom",this.map.bottom.model),r("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}]),r}(p);e.exports=v},{"../base-xform":31,"./color-xform":127}],127:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).name=t||"color",e}return e=s,(r=[{key:"render",value:function(t,e){return!!e&&(t.openNode(this.name),e.argb?t.addAttribute("rgb",e.argb):void 0!==e.theme?(t.addAttribute("theme",e.theme),void 0!==e.tint&&t.addAttribute("tint",e.tint)):void 0!==e.indexed?t.addAttribute("indexed",e.indexed):t.addAttribute("auto","1"),t.closeNode(),!0)}},{key:"parseOpen",value:function(t){return t.name===this.name&&(t.attributes.rgb?this.model={argb:t.attributes.rgb}:t.attributes.theme?(this.model={theme:parseInt(t.attributes.theme,10)},t.attributes.tint&&(this.model.tint=parseFloat(t.attributes.tint))):t.attributes.indexed?this.model={indexed:parseInt(t.attributes.indexed,10)}:this.model=void 0,!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return this.name}}])&&i(e.prototype,r),s}(t("../base-xform"));e.exports=u},{"../base-xform":31}],128:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./alignment-xform"),f=t("./border-xform"),h=t("./fill-xform"),d=t("./font-xform"),p=t("./numfmt-xform"),m=t("./protection-xform"),b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={alignment:new l,border:new f,fill:new h,font:new d,numFmt:new p,protection:new m},t}return e=s,(r=[{key:"render",value:function(t,e){t.openNode(this.tag),e.font&&this.map.font.render(t,e.font),e.numFmt&&this.map.numFmt.render(t,e.numFmt),e.fill&&this.map.fill.render(t,e.fill),e.alignment&&this.map.alignment.render(t,e.alignment),e.border&&this.map.border.render(t,e.border),e.protection&&this.map.protection.render(t,e.protection),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.parser=void 0),!0):t!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}},{key:"tag",get:function(){return"dxf"}}])&&i(e.prototype,r),s}(u);e.exports=b},{"../base-xform":31,"./alignment-xform":125,"./border-xform":126,"./fill-xform":129,"./font-xform":130,"./numfmt-xform":131,"./protection-xform":132}],129:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../base-xform"),h=t("./color-xform"),d=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={color:new h},t}return a(r,[{key:"render",value:function(t,e){t.openNode("stop"),t.addAttribute("position",e.position),this.map.color.render(t,e.color),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"stop":return this.model={position:parseFloat(t.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.model.color=this.parser.model,this.parser=void 0),!0)}},{key:"tag",get:function(){return"stop"}}]),r}(f),p=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={fgColor:new h("fgColor"),bgColor:new h("bgColor")},t}return a(r,[{key:"render",value:function(t,e){t.openNode("patternFill"),t.addAttribute("patternType",e.pattern),e.fgColor&&this.map.fgColor.render(t,e.fgColor),e.bgColor&&this.map.bgColor.render(t,e.bgColor),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"patternFill":return this.model={type:"pattern",pattern:t.attributes.patternType},!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.parser.model&&(this.model[t]=this.parser.model),this.parser=void 0),!0)}},{key:"name",get:function(){return"pattern"}},{key:"tag",get:function(){return"patternFill"}}]),r}(f),m=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={stop:new d},t}return a(r,[{key:"render",value:function(t,e){switch(t.openNode("gradientFill"),e.gradient){case"angle":t.addAttribute("degree",e.degree);break;case"path":t.addAttribute("type","path"),e.center.left&&(t.addAttribute("left",e.center.left),void 0===e.center.right&&t.addAttribute("right",e.center.left)),e.center.right&&t.addAttribute("right",e.center.right),e.center.top&&(t.addAttribute("top",e.center.top),void 0===e.center.bottom&&t.addAttribute("bottom",e.center.top)),e.center.bottom&&t.addAttribute("bottom",e.center.bottom)}var r=this.map.stop;e.stops.forEach((function(e){r.render(t,e)})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"gradientFill":var e=this.model={stops:[]};return t.attributes.degree?(e.gradient="angle",e.degree=parseInt(t.attributes.degree,10)):"path"===t.attributes.type&&(e.gradient="path",e.center={left:t.attributes.left?parseFloat(t.attributes.left):0,top:t.attributes.top?parseFloat(t.attributes.top):0},t.attributes.right!==t.attributes.left&&(e.center.right=t.attributes.right?parseFloat(t.attributes.right):0),t.attributes.bottom!==t.attributes.top&&(e.center.bottom=t.attributes.bottom?parseFloat(t.attributes.bottom):0)),!0;case"stop":return this.parser=this.map.stop,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}},{key:"name",get:function(){return"gradient"}},{key:"tag",get:function(){return"gradientFill"}}]),r}(f),b=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).map={patternFill:new p,gradientFill:new m},t}return a(r,[{key:"render",value:function(t,e){switch(t.addRollback(),t.openNode("fill"),e.type){case"pattern":this.map.patternFill.render(t,e);break;case"gradient":this.map.gradientFill.render(t,e);break;default:return void t.rollback()}t.closeNode(),t.commit()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"fill":return this.model={},!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return!!this.parser&&(this.parser.parseClose(t)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}},{key:"validStyle",value:function(t){return r.validPatternValues[t]}},{key:"tag",get:function(){return"fill"}}]),r}(f);b.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce((function(t,e){return t[e]=!0,t}),{}),b.StopXform=d,b.PatternFillXform=p,b.GradientFillXform=m,e.exports=b},{"../base-xform":31,"./color-xform":127}],130:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("./color-xform"),l=t("../simple/boolean-xform"),f=t("../simple/integer-xform"),h=t("../simple/string-xform"),d=t("./underline-xform"),p=t("../../../utils/under-dash"),m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).options=t||s.OPTIONS,e.map={b:{prop:"bold",xform:new l({tag:"b",attr:"val"})},i:{prop:"italic",xform:new l({tag:"i",attr:"val"})},u:{prop:"underline",xform:new d},charset:{prop:"charset",xform:new f({tag:"charset",attr:"val"})},color:{prop:"color",xform:new u},condense:{prop:"condense",xform:new l({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new l({tag:"extend",attr:"val"})},family:{prop:"family",xform:new f({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new l({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new h({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new h({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new l({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new l({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new f({tag:"sz",attr:"val"})}},e.map[e.options.fontNameTag]={prop:"name",xform:new h({tag:e.options.fontNameTag,attr:"val"})},e}return e=s,(r=[{key:"render",value:function(t,e){var r=this.map;t.openNode(this.options.tagName),p.each(this.map,(function(n,i){r[i].xform.render(t,e[n.prop])})),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;if(this.map[t.name])return this.parser=this.map[t.name].xform,this.parser.parseOpen(t);switch(t.name){case this.options.tagName:return this.model={},!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser&&!this.parser.parseClose(t)){var e=this.map[t];return this.parser.model&&(this.model[e.prop]=this.parser.model),this.parser=void 0,!0}switch(t){case this.options.tagName:return!1;default:return!0}}},{key:"tag",get:function(){return this.options.tagName}}])&&i(e.prototype,r),s}(t("../base-xform"));m.OPTIONS={tagName:"font",fontNameTag:"name"},e.exports=m},{"../../../utils/under-dash":25,"../base-xform":31,"../simple/boolean-xform":115,"../simple/integer-xform":117,"../simple/string-xform":118,"./color-xform":127,"./underline-xform":135}],131:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u,l=t("../../../utils/under-dash"),f=t("../../defaultnumformats"),h=t("../base-xform"),d=(u={},l.each(f,(function(t,e){t.f&&(u[t.f]=parseInt(e,10))})),u),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t,e){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(r=n.call(this)).id=t,r.formatCode=e,r}return e=s,(r=[{key:"render",value:function(t,e){t.leafNode("numFmt",{numFmtId:e.id,formatCode:e.formatCode})}},{key:"parseOpen",value:function(t){switch(t.name){case"numFmt":return this.model={id:parseInt(t.attributes.numFmtId,10),formatCode:t.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"numFmt"}}])&&i(e.prototype,r),s}(h);p.getDefaultFmtId=function(t){return d[t]},p.getDefaultFmtCode=function(t){return f[t]&&f[t].f},e.exports=p},{"../../../utils/under-dash":25,"../../defaultnumformats":29,"../base-xform":31}],132:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=t("../base-xform"),f=function(t,e){return void 0===t?e:t},h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){t.addRollback(),t.openNode("protection");var r=!1;function n(e,n){void 0!==n&&(t.addAttribute(e,n),r=!0)}n("locked",f(e.locked,!0)?void 0:"0"),n("hidden",f(e.hidden,!1)?"1":void 0),t.closeNode(),r?t.commit():t.rollback()}},{key:"parseOpen",value:function(t){var e={locked:!("0"===t.attributes.locked),hidden:"1"===t.attributes.hidden},r=!e.locked||e.hidden;this.model=r?e:null}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"protection"}}])&&o(e.prototype,r),c}(l);e.exports=h},{"../base-xform":31}],133:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./alignment-xform"),f=t("./protection-xform"),h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).xfId=!(!t||!t.xfId),e.map={alignment:new l,protection:new f},e}return e=s,(r=[{key:"render",value:function(t,e){t.openNode("xf",{numFmtId:e.numFmtId||0,fontId:e.fontId||0,fillId:e.fillId||0,borderId:e.borderId||0}),this.xfId&&t.addAttribute("xfId",e.xfId||0),e.numFmtId&&t.addAttribute("applyNumberFormat","1"),e.fontId&&t.addAttribute("applyFont","1"),e.fillId&&t.addAttribute("applyFill","1"),e.borderId&&t.addAttribute("applyBorder","1"),e.alignment&&t.addAttribute("applyAlignment","1"),e.protection&&t.addAttribute("applyProtection","1"),e.alignment&&this.map.alignment.render(t,e.alignment),e.protection&&this.map.protection.render(t,e.protection),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"xf":return this.model={numFmtId:parseInt(t.attributes.numFmtId,10),fontId:parseInt(t.attributes.fontId,10),fillId:parseInt(t.attributes.fillId,10),borderId:parseInt(t.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(t.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(t),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(t),!0;default:return!1}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){return this.parser?(this.parser.parseClose(t)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):"xf"!==t}},{key:"tag",get:function(){return"xf"}}])&&i(e.prototype,r),s}(u);e.exports=h},{"../base-xform":31,"./alignment-xform":125,"./protection-xform":132}],134:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../../doc/enums"),h=t("../../../utils/xml-stream"),d=t("../base-xform"),p=t("../static-xform"),m=t("../list-xform"),b=t("./font-xform"),v=t("./fill-xform"),g=t("./border-xform"),y=t("./numfmt-xform"),w=t("./style-xform"),x=t("./dxf-xform"),O=function(t){s(r,t);var e=c(r);function r(t){var n;return i(this,r),(n=e.call(this)).map={numFmts:new m({tag:"numFmts",count:!0,childXform:new y}),fonts:new m({tag:"fonts",count:!0,childXform:new b,$:{"x14ac:knownFonts":1}}),fills:new m({tag:"fills",count:!0,childXform:new v}),borders:new m({tag:"borders",count:!0,childXform:new g}),cellStyleXfs:new m({tag:"cellStyleXfs",count:!0,childXform:new w}),cellXfs:new m({tag:"cellXfs",count:!0,childXform:new w({xfId:!0})}),dxfs:new m({tag:"dxfs",always:!0,count:!0,childXform:new x}),numFmt:new y,font:new b,fill:new v,border:new g,style:new w({xfId:!0}),cellStyles:r.STATIC_XFORMS.cellStyles,tableStyles:r.STATIC_XFORMS.tableStyles,extLst:r.STATIC_XFORMS.extLst},t&&n.init(),n}return a(r,[{key:"initIndex",value:function(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}},{key:"init",value:function(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}},{key:"render",value:function(t,e){e=e||this.model,t.openXml(h.StdDocAttributes),t.openNode("styleSheet",r.STYLESHEET_ATTRIBUTES),this.index?(e.numFmts&&e.numFmts.length&&(t.openNode("numFmts",{count:e.numFmts.length}),e.numFmts.forEach((function(e){t.writeXml(e)})),t.closeNode()),e.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),t.openNode("fonts",{count:e.fonts.length,"x14ac:knownFonts":1}),e.fonts.forEach((function(e){t.writeXml(e)})),t.closeNode(),t.openNode("fills",{count:e.fills.length}),e.fills.forEach((function(e){t.writeXml(e)})),t.closeNode(),t.openNode("borders",{count:e.borders.length}),e.borders.forEach((function(e){t.writeXml(e)})),t.closeNode(),this.map.cellStyleXfs.render(t,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),t.openNode("cellXfs",{count:e.styles.length}),e.styles.forEach((function(e){t.writeXml(e)})),t.closeNode()):(this.map.numFmts.render(t,e.numFmts),this.map.fonts.render(t,e.fonts),this.map.fills.render(t,e.fills),this.map.borders.render(t,e.borders),this.map.cellStyleXfs.render(t,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(t,e.styles)),r.STATIC_XFORMS.cellStyles.render(t),this.map.dxfs.render(t,e.dxfs),r.STATIC_XFORMS.tableStyles.render(t),r.STATIC_XFORMS.extLst.render(t),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t),!0}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){var e=this;if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case"styleSheet":this.model={};var r=function(t,r){r.model&&r.model.length&&(e.model[t]=r.model)};if(r("numFmts",this.map.numFmts),r("fonts",this.map.fonts),r("fills",this.map.fills),r("borders",this.map.borders),r("styles",this.map.cellXfs),r("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){var n=this.index.numFmt;this.model.numFmts.forEach((function(t){n[t.id]=t.formatCode}))}return!1;default:return!0}}},{key:"addStyleModel",value:function(t,e){if(!t)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(t))return this.weakMap.get(t);var r={};if(e=e||f.ValueType.Number,t.numFmt)r.numFmtId=this._addNumFmtStr(t.numFmt);else switch(e){case f.ValueType.Number:r.numFmtId=this._addNumFmtStr("General");break;case f.ValueType.Date:r.numFmtId=this._addNumFmtStr("mm-dd-yy")}t.font&&(r.fontId=this._addFont(t.font)),t.border&&(r.borderId=this._addBorder(t.border)),t.fill&&(r.fillId=this._addFill(t.fill)),t.alignment&&(r.alignment=t.alignment),t.protection&&(r.protection=t.protection);var n=this._addStyle(r);return this.weakMap&&this.weakMap.set(t,n),n}},{key:"getStyleModel",value:function(t){var e=this.model.styles[t];if(!e)return null;var r=this.index.model[t];if(r)return r;if(r=this.index.model[t]={},e.numFmtId){var n=this.index.numFmt[e.numFmtId]||y.getDefaultFmtCode(e.numFmtId);n&&(r.numFmt=n)}function i(t,e,n){if(n||0===n){var i=e[n];i&&(r[t]=i)}}return i("font",this.model.fonts,e.fontId),i("border",this.model.borders,e.borderId),i("fill",this.model.fills,e.fillId),e.alignment&&(r.alignment=e.alignment),e.protection&&(r.protection=e.protection),r}},{key:"addDxfStyle",value:function(t){return this.model.dxfs.push(t),this.model.dxfs.length-1}},{key:"getDxfStyle",value:function(t){return this.model.dxfs[t]}},{key:"_addStyle",value:function(t){var e=this.map.style.toXml(t),r=this.index.style[e];return void 0===r&&(r=this.index.style[e]=this.model.styles.length,this.model.styles.push(e)),r}},{key:"_addNumFmtStr",value:function(t){var e=y.getDefaultFmtId(t);if(void 0!==e)return e;if(void 0!==(e=this.index.numFmt[t]))return e;e=this.index.numFmt[t]=164+this.model.numFmts.length;var r=this.map.numFmt.toXml({id:e,formatCode:t});return this.model.numFmts.push(r),e}},{key:"_addFont",value:function(t){var e=this.map.font.toXml(t),r=this.index.font[e];return void 0===r&&(r=this.index.font[e]=this.model.fonts.length,this.model.fonts.push(e)),r}},{key:"_addBorder",value:function(t){var e=this.map.border.toXml(t),r=this.index.border[e];return void 0===r&&(r=this.index.border[e]=this.model.borders.length,this.model.borders.push(e)),r}},{key:"_addFill",value:function(t){var e=this.map.fill.toXml(t),r=this.index.fill[e];return void 0===r&&(r=this.index.fill[e]=this.model.fills.length,this.model.fills.push(e)),r}}]),r}(d);O.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},O.STATIC_XFORMS={cellStyles:new p({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new p({tag:"dxfs",$:{count:0}}),tableStyles:new p({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new p({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};var _=function(t){s(r,t);var e=c(r);function r(){var t;return i(this,r),(t=e.call(this)).model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]},t}return a(r,[{key:"parseStream",value:function(t){return t.autodrain(),Promise.resolve()}},{key:"addStyleModel",value:function(t,e){switch(e){case f.ValueType.Date:return this.dateStyleId;default:return 0}}},{key:"getStyleModel",value:function(){return{}}},{key:"dateStyleId",get:function(){if(!this._dateStyleId){var t={numFmtId:y.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(t)}return this._dateStyleId}}]),r}(O);O.Mock=_,e.exports=O},{"../../../doc/enums":7,"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"../static-xform":119,"./border-xform":126,"./dxf-xform":128,"./fill-xform":129,"./font-xform":130,"./numfmt-xform":131,"./style-xform":133}],135:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=n.call(this)).model=t,e}return e=s,(r=[{key:"render",value:function(t,e){if(!0===(e=e||this.model))t.leafNode("u");else{var r=s.Attributes[e];r&&t.leafNode("u",r)}}},{key:"parseOpen",value:function(t){"u"===t.name&&(this.model=t.attributes.val||!0)}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"u"}}])&&i(e.prototype,r),s}(t("../base-xform"));u.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},e.exports=u},{"../base-xform":31}],136:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var u=t("../base-xform"),l=t("./filter-column-xform"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var e,r,n=a(s);function s(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(t=n.call(this)).map={filterColumn:new l},t}return e=s,(r=[{key:"prepare",value:function(t){var e=this;t.columns.forEach((function(t,r){e.map.filterColumn.prepare(t,{index:r})}))}},{key:"render",value:function(t,e){var r=this;return t.openNode(this.tag,{ref:e.autoFilterRef}),e.columns.forEach((function(e){r.map.filterColumn.render(t,e)})),t.closeNode(),!0}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case this.tag:return this.model={autoFilterRef:t.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[t.name],this.parser)return this.parseOpen(t),!0;throw new Error("Unexpected xml node in parseOpen: ".concat(JSON.stringify(t)))}}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){if(this.parser)return this.parser.parseClose(t)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(t){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: ".concat(t))}}},{key:"tag",get:function(){return"autoFilter"}}])&&i(e.prototype,r),s}(u);e.exports=f},{"../base-xform":31,"./filter-column-xform":137}],137:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t,e){t.colId=e.index.toString()}},{key:"render",value:function(t,e){return t.leafNode(this.tag,{colId:e.colId,hiddenButton:e.filterButton?"0":"1"}),!0}},{key:"parseOpen",value:function(t){if(t.name===this.tag){var e=t.attributes;return this.model={filterButton:"0"===e.hiddenButton},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"filterColumn"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],138:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"prepare",value:function(t,e){t.id=e.index+1}},{key:"render",value:function(t,e){return t.leafNode(this.tag,{id:e.id.toString(),name:e.name,totalsRowLabel:e.totalsRowLabel,totalsRowFunction:e.totalsRowFunction,dxfId:e.dxfId}),!0}},{key:"parseOpen",value:function(t){if(t.name===this.tag){var e=t.attributes;return this.model={name:e.name,totalsRowLabel:e.totalsRowLabel,totalsRowFunction:e.totalsRowFunction,dxfId:e.dxfId},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tableColumn"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],139:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(c,t);var e,r,n=s(c);function c(){return i(this,c),n.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(t,e){return t.leafNode(this.tag,{name:e.theme?e.theme:void 0,showFirstColumn:e.showFirstColumn?"1":"0",showLastColumn:e.showLastColumn?"1":"0",showRowStripes:e.showRowStripes?"1":"0",showColumnStripes:e.showColumnStripes?"1":"0"}),!0}},{key:"parseOpen",value:function(t){if(t.name===this.tag){var e=t.attributes;return this.model={theme:e.name?e.name:null,showFirstColumn:"1"===e.showFirstColumn,showLastColumn:"1"===e.showLastColumn,showRowStripes:"1"===e.showRowStripes,showColumnStripes:"1"===e.showColumnStripes},!0}return!1}},{key:"parseText",value:function(){}},{key:"parseClose",value:function(){return!1}},{key:"tag",get:function(){return"tableStyleInfo"}}])&&o(e.prototype,r),c}(t("../base-xform"));e.exports=l},{"../base-xform":31}],140:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var f=t("../../../utils/xml-stream"),h=t("../base-xform"),d=t("../list-xform"),p=t("./auto-filter-xform"),m=t("./table-column-xform"),b=t("./table-style-info-xform"),v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(i,t);var e,r,n=function(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=l(t);if(e){var i=l(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return u(this,r)}}(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=n.call(this)).map={autoFilter:new p,tableColumns:new d({tag:"tableColumns",count:!0,empty:!0,childXform:new m}),tableStyleInfo:new b},t}return e=i,(r=[{key:"prepare",value:function(t,e){this.map.autoFilter.prepare(t),this.map.tableColumns.prepare(t.columns,e)}},{key:"render",value:function(t,e){t.openXml(f.StdDocAttributes),t.openNode(this.tag,o(o({},i.TABLE_ATTRIBUTES),{},{id:e.id,name:e.name,displayName:e.displayName||e.name,ref:e.tableRef,totalsRowCount:e.totalsRow?"1":void 0,totalsRowShown:e.totalsRow?void 0:"1",headerRowCount:e.headerRow?"1":"0"})),this.map.autoFilter.render(t,e),this.map.tableColumns.render(t,e.columns),this.map.tableStyleInfo.render(t,e.style),t.closeNode()}},{key:"parseOpen",value:function(t){if(this.parser)return this.parser.parseOpen(t),!0;var e=t.name,r=t.attributes;switch(e){case this.tag:this.reset(),this.model={name:r.name,displayName:r.displayName||r.name,tableRef:r.ref,totalsRow:"1"===r.totalsRowCount,headerRow:"1"===r.headerRowCount};break;default:this.parser=this.map[t.name],this.parser&&this.parser.parseOpen(t)}return!0}},{key:"parseText",value:function(t){this.parser&&this.parser.parseText(t)}},{key:"parseClose",value:function(t){var e=this;if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((function(t,r){e.model.columns[r].filterButton=t.filterButton}))),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}},{key:"reconcile",value:function(t,e){t.columns.forEach((function(t){void 0!==t.dxfId&&(t.style=e.styles.getDxfStyle(t.dxfId))}))}},{key:"tag",get:function(){return"table"}}])&&s(e.prototype,r),i}(h);v.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},e.exports=v},{"../../../utils/xml-stream":27,"../base-xform":31,"../list-xform":70,"./auto-filter-xform":136,"./table-column-xform":138,"./table-style-info-xform":139}],141:[function(t,e,r){(function(r,i){"use strict";function o(t,e,r,n,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,i)}function a(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function s(t){o(a,n,i,s,c,"next",t)}function c(t){o(a,n,i,s,c,"throw",t)}s(void 0)}))}}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t){var e;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(e=t[Symbol.asyncIterator]))return e.call(t);if(Symbol.iterator&&null!=(e=t[Symbol.iterator]))return e.call(t)}throw new TypeError("Object is not async iterable")}var u=t("fs"),l=t("jszip"),f=t("readable-stream").PassThrough,h=t("../utils/zip-stream"),d=t("../utils/stream-buf"),p=t("../utils/utils"),m=t("../utils/xml-stream"),b=t("../utils/browser-buffer-decode").bufferToString,v=t("./xform/style/styles-xform"),g=t("./xform/core/core-xform"),y=t("./xform/strings/shared-strings-xform"),w=t("./xform/core/relationships-xform"),x=t("./xform/core/content-types-xform"),O=t("./xform/core/app-xform"),_=t("./xform/book/workbook-xform"),S=t("./xform/sheet/worksheet-xform"),k=t("./xform/drawing/drawing-xform"),E=t("./xform/table/table-xform"),M=t("./xform/comment/comments-xform"),C=t("./xform/comment/vml-notes-xform"),j=t("./xml/theme1.js");function A(t,e){return new Promise((function(r,n){u.readFile(t,e,(function(t,e){t?n(t):r(e)}))}))}var T=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.workbook=e}var e,o,T,P,D,R,L,I,N,F,B,z,H,U,W,q,V,G,Y,X,$,K,Z,J,Q,tt,et;return e=t,(o=[{key:"readFile",value:(et=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.fs.exists(e);case 2:if(t.sent){t.next=4;break}throw new Error("File not found: ".concat(e));case 4:return i=u.createReadStream(e),t.prev=5,t.next=8,this.read(i,r);case 8:return o=t.sent,i.close(),t.abrupt("return",o);case 13:throw t.prev=13,t.t0=t.catch(5),i.close(),t.t0;case 17:case"end":return t.stop()}}),t,this,[[5,13]])}))),function(t,e){return et.apply(this,arguments)})},{key:"parseRels",value:function(t){return(new w).parseStream(t)}},{key:"parseWorkbook",value:function(t){return(new _).parseStream(t)}},{key:"parseSharedStrings",value:function(t){return(new y).parseStream(t)}},{key:"reconcile",value:function(t,e){var r=new _,n=new S(e),i=new k,o=new E;r.reconcile(t);var a={media:t.media,mediaIndex:t.mediaIndex};Object.keys(t.drawings).forEach((function(e){var r=t.drawings[e],n=t.drawingRels[e];n&&(a.rels=n.reduce((function(t,e){return t[e.Id]=e,t}),{}),(r.anchors||[]).forEach((function(t){var e=t.picture&&t.picture.hyperlinks;e&&a.rels[e.rId]&&(e.hyperlink=a.rels[e.rId].Target,delete e.rId)})),i.reconcile(r,a))}));var s={styles:t.styles};Object.values(t.tables).forEach((function(t){o.reconcile(t,s)}));var c={styles:t.styles,sharedStrings:t.sharedStrings,media:t.media,mediaIndex:t.mediaIndex,date1904:t.properties&&t.properties.date1904,drawings:t.drawings,comments:t.comments,tables:t.tables,vmlDrawings:t.vmlDrawings};t.worksheets.forEach((function(e){e.relationships=t.worksheetRels[e.sheetNo],n.reconcile(e,c)})),delete t.worksheetHash,delete t.worksheetRels,delete t.globalRels,delete t.sharedStrings,delete t.workbookRels,delete t.sheetDefs,delete t.styles,delete t.mediaIndex,delete t.drawings,delete t.drawingRels,delete t.vmlDrawings}},{key:"_processWorksheetEntry",value:(tt=a(n.mark((function t(e,r,i,o,a){var s,c;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=new S(o),t.next=3,s.parseStream(e);case 3:(c=t.sent).sheetNo=i,r.worksheetHash[a]=c,r.worksheets.push(c);case 7:case"end":return t.stop()}}),t)}))),function(t,e,r,n,i){return tt.apply(this,arguments)})},{key:"_processCommentEntry",value:(Q=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new M,t.next=3,o.parseStream(e);case 3:a=t.sent,r.comments["../".concat(i,".xml")]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return Q.apply(this,arguments)})},{key:"_processTableEntry",value:(J=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new E,t.next=3,o.parseStream(e);case 3:a=t.sent,r.tables["../tables/".concat(i,".xml")]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return J.apply(this,arguments)})},{key:"_processWorksheetRelsEntry",value:(Z=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new w,t.next=3,o.parseStream(e);case 3:a=t.sent,r.worksheetRels[i]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return Z.apply(this,arguments)})},{key:"_processMediaEntry",value:(K=a(n.mark((function t(e,r,i){var o,a,s;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!((o=i.lastIndexOf("."))>=1)){t.next=6;break}return a=i.substr(o+1),s=i.substr(0,o),t.next=6,new Promise((function(t,n){var o=new d;o.on("finish",(function(){r.mediaIndex[i]=r.media.length,r.mediaIndex[s]=r.media.length;var e={type:"image",name:s,extension:a,buffer:o.toBuffer()};r.media.push(e),t()})),e.on("error",(function(t){n(t)})),e.pipe(o)}));case 6:case"end":return t.stop()}}),t)}))),function(t,e,r){return K.apply(this,arguments)})},{key:"_processDrawingEntry",value:($=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new k,t.next=3,o.parseStream(e);case 3:a=t.sent,r.drawings[i]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return $.apply(this,arguments)})},{key:"_processDrawingRelsEntry",value:(X=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new w,t.next=3,o.parseStream(e);case 3:a=t.sent,r.drawingRels[i]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return X.apply(this,arguments)})},{key:"_processVmlDrawingEntry",value:(Y=a(n.mark((function t(e,r,i){var o,a;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=new C,t.next=3,o.parseStream(e);case 3:a=t.sent,r.vmlDrawings["../drawings/".concat(i,".vml")]=a;case 5:case"end":return t.stop()}}),t)}))),function(t,e,r){return Y.apply(this,arguments)})},{key:"_processThemeEntry",value:(G=a(n.mark((function t(e,r,i){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(t,n){var o=new d;e.on("error",n),o.on("error",n),o.on("finish",(function(){r.themes[i]=o.read().toString(),t()})),e.pipe(o)}));case 2:case"end":return t.stop()}}),t)}))),function(t,e,r){return G.apply(this,arguments)})},{key:"createInputStream",value:function(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}},{key:"read",value:(V=a(n.mark((function t(e,r){var o,a,s,u,l,h,d,p;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:!e[Symbol.asyncIterator]&&e.pipe&&(e=e.pipe(new f)),o=[],a=!0,s=!1,t.prev=4,l=c(e);case 6:return t.next=8,l.next();case 8:return h=t.sent,a=h.done,t.next=12,h.value;case 12:if(d=t.sent,a){t.next=19;break}p=d,o.push(p);case 16:a=!0,t.next=6;break;case 19:t.next=25;break;case 21:t.prev=21,t.t0=t.catch(4),s=!0,u=t.t0;case 25:if(t.prev=25,t.prev=26,a||null==l.return){t.next=30;break}return t.next=30,l.return();case 30:if(t.prev=30,!s){t.next=33;break}throw u;case 33:return t.finish(30);case 34:return t.finish(25);case 35:return t.abrupt("return",this.load(i.concat(o),r));case 36:case"end":return t.stop()}}),t,this,[[4,21,25,35],[26,,30,34]])}))),function(t,e){return V.apply(this,arguments)})},{key:"load",value:(q=a(n.mark((function t(e,o){var a,s,c,u,h,d,p,m,w,x,_,S,k,E,M,C;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=o&&o.base64?i.from(e.toString(),"base64"):e,s={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},t.next=4,l.loadAsync(a);case 4:c=t.sent,u=0,h=Object.values(c.files);case 6:if(!(u<h.length)){t.next=126;break}if((d=h[u]).dir){t.next=123;break}if("/"===(p=d.name)[0]&&(p=p.substr(1)),m=void 0,!p.match(/xl\/media\//)&&!p.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/)){t.next=21;break}return m=new f,t.t0=m,t.next=17,d.async("nodebuffer");case 17:t.t1=t.sent,t.t0.write.call(t.t0,t.t1),t.next=36;break;case 21:if(m=new f({writableObjectMode:!0,readableObjectMode:!0}),w=void 0,!r.browser){t.next=31;break}return t.t2=b,t.next=27,d.async("nodebuffer");case 27:t.t3=t.sent,w=(0,t.t2)(t.t3),t.next=34;break;case 31:return t.next=33,d.async("string");case 33:w=t.sent;case 34:for(x=0;x<w.length;x+=16384)m.write(w.substring(x,x+16384));case 36:m.end(),t.t4=p,t.next="_rels/.rels"===t.t4?40:"xl/workbook.xml"===t.t4?44:"xl/_rels/workbook.xml.rels"===t.t4?53:"xl/sharedStrings.xml"===t.t4?57:"xl/styles.xml"===t.t4?61:"docProps/app.xml"===t.t4?65:"docProps/core.xml"===t.t4?72:78;break;case 40:return t.next=42,this.parseRels(m);case 42:return s.globalRels=t.sent,t.abrupt("break",123);case 44:return t.next=46,this.parseWorkbook(m);case 46:return _=t.sent,s.sheets=_.sheets,s.definedNames=_.definedNames,s.views=_.views,s.properties=_.properties,s.calcProperties=_.calcProperties,t.abrupt("break",123);case 53:return t.next=55,this.parseRels(m);case 55:return s.workbookRels=t.sent,t.abrupt("break",123);case 57:return s.sharedStrings=new y,t.next=60,s.sharedStrings.parseStream(m);case 60:return t.abrupt("break",123);case 61:return s.styles=new v,t.next=64,s.styles.parseStream(m);case 64:return t.abrupt("break",123);case 65:return S=new O,t.next=68,S.parseStream(m);case 68:return k=t.sent,s.company=k.company,s.manager=k.manager,t.abrupt("break",123);case 72:return E=new g,t.next=75,E.parseStream(m);case 75:return M=t.sent,Object.assign(s,M),t.abrupt("break",123);case 78:if(!(C=p.match(/xl\/worksheets\/sheet(\d+)[.]xml/))){t.next=83;break}return t.next=82,this._processWorksheetEntry(m,s,C[1],o,p);case 82:return t.abrupt("break",123);case 83:if(!(C=p.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/))){t.next=88;break}return t.next=87,this._processWorksheetRelsEntry(m,s,C[1]);case 87:return t.abrupt("break",123);case 88:if(!(C=p.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))){t.next=93;break}return t.next=92,this._processThemeEntry(m,s,C[1]);case 92:return t.abrupt("break",123);case 93:if(!(C=p.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/))){t.next=98;break}return t.next=97,this._processMediaEntry(m,s,C[1]);case 97:return t.abrupt("break",123);case 98:if(!(C=p.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/))){t.next=103;break}return t.next=102,this._processDrawingEntry(m,s,C[1]);case 102:return t.abrupt("break",123);case 103:if(!(C=p.match(/xl\/(comments\d+)[.]xml/))){t.next=108;break}return t.next=107,this._processCommentEntry(m,s,C[1]);case 107:return t.abrupt("break",123);case 108:if(!(C=p.match(/xl\/tables\/(table\d+)[.]xml/))){t.next=113;break}return t.next=112,this._processTableEntry(m,s,C[1]);case 112:return t.abrupt("break",123);case 113:if(!(C=p.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/))){t.next=118;break}return t.next=117,this._processDrawingRelsEntry(m,s,C[1]);case 117:return t.abrupt("break",123);case 118:if(!(C=p.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/))){t.next=123;break}return t.next=122,this._processVmlDrawingEntry(m,s,C[1]);case 122:return t.abrupt("break",123);case 123:u++,t.next=6;break;case 126:return this.reconcile(s,o),this.workbook.model=s,t.abrupt("return",this.workbook);case 129:case"end":return t.stop()}}),t,this)}))),function(t,e){return q.apply(this,arguments)})},{key:"addMedia",value:(W=a(n.mark((function t(e,r){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(r.media.map(function(){var t=a(n.mark((function t(r){var i,o,a,s;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("image"!==r.type){t.next=13;break}if(i="xl/media/".concat(r.name,".").concat(r.extension),!r.filename){t.next=7;break}return t.next=5,A(r.filename);case 5:return o=t.sent,t.abrupt("return",e.append(o,{name:i}));case 7:if(!r.buffer){t.next=9;break}return t.abrupt("return",e.append(r.buffer,{name:i}));case 9:if(!r.base64){t.next=13;break}return a=r.base64,s=a.substring(a.indexOf(",")+1),t.abrupt("return",e.append(s,{name:i,base64:!0}));case 13:throw new Error("Unsupported media");case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 2:case"end":return t.stop()}}),t)}))),function(t,e){return W.apply(this,arguments)})},{key:"addDrawings",value:function(t,e){var r=new k,n=new w;e.worksheets.forEach((function(e){var i=e.drawing;if(i){r.prepare(i,{});var o=r.toXml(i);t.append(o,{name:"xl/drawings/".concat(i.name,".xml")}),o=n.toXml(i.rels),t.append(o,{name:"xl/drawings/_rels/".concat(i.name,".xml.rels")})}}))}},{key:"addTables",value:function(t,e){var r=new E;e.worksheets.forEach((function(e){e.tables.forEach((function(e){r.prepare(e,{});var n=r.toXml(e);t.append(n,{name:"xl/tables/".concat(e.target)})}))}))}},{key:"addContentTypes",value:(U=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new x,o=i.toXml(r),e.append(o,{name:"[Content_Types].xml"});case 3:case"end":return t.stop()}}),t)}))),function(t,e){return U.apply(this,arguments)})},{key:"addApp",value:(H=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new O,o=i.toXml(r),e.append(o,{name:"docProps/app.xml"});case 3:case"end":return t.stop()}}),t)}))),function(t,e){return H.apply(this,arguments)})},{key:"addCore",value:(z=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new g,e.append(i.toXml(r),{name:"docProps/core.xml"});case 2:case"end":return t.stop()}}),t)}))),function(t,e){return z.apply(this,arguments)})},{key:"addThemes",value:(B=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=r.themes||{theme1:j},Object.keys(i).forEach((function(t){var r=i[t],n="xl/theme/".concat(t,".xml");e.append(r,{name:n})}));case 2:case"end":return t.stop()}}),t)}))),function(t,e){return B.apply(this,arguments)})},{key:"addOfficeRels",value:(F=a(n.mark((function e(r){var i,o;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=new w,o=i.toXml([{Id:"rId1",Type:t.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:t.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:t.RelType.ExtenderProperties,Target:"docProps/app.xml"}]),r.append(o,{name:"_rels/.rels"});case 3:case"end":return e.stop()}}),e)}))),function(t){return F.apply(this,arguments)})},{key:"addWorkbookRels",value:(N=a(n.mark((function e(r,i){var o,a,s,c;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=1,a=[{Id:"rId".concat(o++),Type:t.RelType.Styles,Target:"styles.xml"},{Id:"rId".concat(o++),Type:t.RelType.Theme,Target:"theme/theme1.xml"}],i.sharedStrings.count&&a.push({Id:"rId".concat(o++),Type:t.RelType.SharedStrings,Target:"sharedStrings.xml"}),i.worksheets.forEach((function(e){e.rId="rId".concat(o++),a.push({Id:e.rId,Type:t.RelType.Worksheet,Target:"worksheets/sheet".concat(e.id,".xml")})})),s=new w,c=s.toXml(a),r.append(c,{name:"xl/_rels/workbook.xml.rels"});case 7:case"end":return e.stop()}}),e)}))),function(t,e){return N.apply(this,arguments)})},{key:"addSharedStrings",value:(I=a(n.mark((function t(e,r){return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r.sharedStrings&&r.sharedStrings.count&&e.append(r.sharedStrings.xml,{name:"xl/sharedStrings.xml"});case 1:case"end":return t.stop()}}),t)}))),function(t,e){return I.apply(this,arguments)})},{key:"addStyles",value:(L=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(i=r.styles.xml)&&e.append(i,{name:"xl/styles.xml"});case 2:case"end":return t.stop()}}),t)}))),function(t,e){return L.apply(this,arguments)})},{key:"addWorkbook",value:(R=a(n.mark((function t(e,r){var i;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new _,e.append(i.toXml(r),{name:"xl/workbook.xml"});case 2:case"end":return t.stop()}}),t)}))),function(t,e){return R.apply(this,arguments)})},{key:"addWorksheets",value:(D=a(n.mark((function t(e,r){var i,o,a,s;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=new S,o=new w,a=new M,s=new C,r.worksheets.forEach((function(t){var r=new m;i.render(r,t),e.append(r.xml,{name:"xl/worksheets/sheet".concat(t.id,".xml")}),t.rels&&t.rels.length&&(r=new m,o.render(r,t.rels),e.append(r.xml,{name:"xl/worksheets/_rels/sheet".concat(t.id,".xml.rels")})),t.comments.length>0&&(r=new m,a.render(r,t),e.append(r.xml,{name:"xl/comments".concat(t.id,".xml")}),r=new m,s.render(r,t),e.append(r.xml,{name:"xl/drawings/vmlDrawing".concat(t.id,".vml")}))}));case 5:case"end":return t.stop()}}),t)}))),function(t,e){return D.apply(this,arguments)})},{key:"_finalize",value:function(t){var e=this;return new Promise((function(r,n){t.on("finish",(function(){r(e)})),t.on("error",n),t.finalize()}))}},{key:"prepareModel",value:function(t,e){t.creator=t.creator||"ExcelJS",t.lastModifiedBy=t.lastModifiedBy||"ExcelJS",t.created=t.created||new Date,t.modified=t.modified||new Date,t.useSharedStrings=void 0===e.useSharedStrings||e.useSharedStrings,t.useStyles=void 0===e.useStyles||e.useStyles,t.sharedStrings=new y,t.styles=t.useStyles?new v(!0):new v.Mock;var r=new _,n=new S;r.prepare(t);var i={sharedStrings:t.sharedStrings,styles:t.styles,date1904:t.properties.date1904,drawingsCount:0,media:t.media};i.drawings=t.drawings=[],i.commentRefs=t.commentRefs=[];var o=0;t.tables=[],t.worksheets.forEach((function(e){e.tables.forEach((function(e){o++,e.target="table".concat(o,".xml"),e.id=o,t.tables.push(e)})),n.prepare(e,i)}))}},{key:"write",value:(P=a(n.mark((function t(e,r){var i,o;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=r||{},i=this.workbook.model,(o=new h.ZipWriter(r.zip)).pipe(e),this.prepareModel(i,r),t.next=7,this.addContentTypes(o,i);case 7:return t.next=9,this.addOfficeRels(o,i);case 9:return t.next=11,this.addWorkbookRels(o,i);case 11:return t.next=13,this.addWorksheets(o,i);case 13:return t.next=15,this.addSharedStrings(o,i);case 15:return t.next=17,this.addDrawings(o,i);case 17:return t.next=19,this.addTables(o,i);case 19:return t.next=21,Promise.all([this.addThemes(o,i),this.addStyles(o,i)]);case 21:return t.next=23,this.addMedia(o,i);case 23:return t.next=25,Promise.all([this.addApp(o,i),this.addCore(o,i)]);case 25:return t.next=27,this.addWorkbook(o,i);case 27:return t.abrupt("return",this._finalize(o));case 28:case"end":return t.stop()}}),t,this)}))),function(t,e){return P.apply(this,arguments)})},{key:"writeFile",value:function(t,e){var r=this,n=u.createWriteStream(t);return new Promise((function(t,i){n.on("finish",(function(){t()})),n.on("error",(function(t){i(t)})),r.write(n,e).then((function(){n.end()}))}))}},{key:"writeBuffer",value:(T=a(n.mark((function t(e){var r;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new d,t.next=3,this.write(r,e);case 3:return t.abrupt("return",r.read());case 4:case"end":return t.stop()}}),t,this)}))),function(t){return T.apply(this,arguments)})}])&&s(e.prototype,o),t}();T.RelType=t("./rel-type"),e.exports=T}).call(this,t("_process"),t("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":23,"../utils/utils":26,"../utils/xml-stream":27,"../utils/zip-stream":28,"./rel-type":30,"./xform/book/workbook-xform":37,"./xform/comment/comments-xform":39,"./xform/comment/vml-notes-xform":44,"./xform/core/app-xform":50,"./xform/core/content-types-xform":51,"./xform/core/core-xform":52,"./xform/core/relationships-xform":54,"./xform/drawing/drawing-xform":61,"./xform/sheet/worksheet-xform":114,"./xform/strings/shared-strings-xform":123,"./xform/style/styles-xform":134,"./xform/table/table-xform":140,"./xml/theme1.js":142,_process:467,buffer:216,fs:215,jszip:399,"readable-stream":491}],142:[function(t,e,r){"use strict";e.exports='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/> <a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/> <a:font script="Hans" typeface="\u5b8b\u4f53"/> <a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/> <a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/> <a:font script="Hans" typeface="\u5b8b\u4f53"/> <a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>'},{}],143:[function(t,e,r){(function(e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=c(t);if(e){var i=c(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return s(this,r)}}function s(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.CsvFormatterStream=void 0;var u=t("stream"),l=t("./formatter"),f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(c,t);var r,n,s=a(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this,{writableObjectMode:t.objectMode})).hasWrittenBOM=!1,e.formatterOptions=t,e.rowFormatter=new l.RowFormatter(t),e.hasWrittenBOM=!t.writeBOM,e}return r=c,(n=[{key:"transform",value:function(t){return this.rowFormatter.rowTransform=t,this}},{key:"_transform",value:function(t,r,n){var i=this,o=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(t,(function(t,r){return t?(o=!0,n(t)):(r&&r.forEach((function(t){i.push(e.from(t,"utf8"))})),o=!0,n())}))}catch(t){if(o)throw t;n(t)}}},{key:"_flush",value:function(t){var r=this;this.rowFormatter.finish((function(n,i){return n?t(n):(i&&i.forEach((function(t){r.push(e.from(t,"utf8"))})),t())}))}}])&&i(r.prototype,n),c}(u.Transform);r.CsvFormatterStream=f}).call(this,t("buffer").Buffer)},{"./formatter":147,buffer:216,stream:506}],144:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0}),r.FormatterOptions=void 0,r.FormatterOptions=function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,t),this.objectMode=!0,this.delimiter=",",this.rowDelimiter="\n",this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\ufeff",this.alwaysWriteHeaders=!1,Object.assign(this,r||{}),void 0===(null==r?void 0:r.quoteHeaders)&&(this.quoteHeaders=this.quoteColumns),!0===(null==r?void 0:r.quote)?this.quote='"':!1===(null==r?void 0:r.quote)&&(this.quote=""),"string"!=typeof(null==r?void 0:r.escape)&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&(null===(e=r.writeHeaders)||void 0===e||e),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote="".concat(this.escape).concat(this.quote)}},{}],145:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.FieldFormatter=void 0;var o=i(t("lodash.isboolean")),a=i(t("lodash.isnil")),s=i(t("lodash.escaperegexp")),c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._headers=null,this.formatterOptions=e,null!==e.headers&&(this.headers=e.headers),this.REPLACE_REGEXP=new RegExp(e.quote,"g");var r="[".concat(e.delimiter).concat(s.default(e.rowDelimiter),"|\r|\n']");this.ESCAPE_REGEXP=new RegExp(r)}var e,r;return e=t,(r=[{key:"shouldQuote",value:function(t,e){var r=e?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return o.default(r)?r:Array.isArray(r)?r[t]:null!==this._headers&&r[this._headers[t]]}},{key:"format",value:function(t,e,r){var n="".concat(a.default(t)?"":t).replace(/\0/g,""),i=this.formatterOptions;return""!==i.quote&&-1!==n.indexOf(i.quote)?this.quoteField(n.replace(this.REPLACE_REGEXP,i.escapedQuote)):-1!==n.search(this.ESCAPE_REGEXP)||this.shouldQuote(e,r)?this.quoteField(n):n}},{key:"quoteField",value:function(t){var e=this.formatterOptions.quote;return"".concat(e).concat(t).concat(e)}},{key:"headers",set:function(t){this._headers=t}}])&&n(e.prototype,r),t}();r.FieldFormatter=c},{"lodash.escaperegexp":426,"lodash.isboolean":428,"lodash.isnil":431}],146:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.RowFormatter=void 0;var o=i(t("lodash.isfunction")),a=i(t("lodash.isequal")),s=t("./FieldFormatter"),c=t("../types"),u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.rowCount=0,this.formatterOptions=e,this.fieldFormatter=new s.FieldFormatter(e),this.headers=e.headers,this.shouldWriteHeaders=e.shouldWriteHeaders,this.hasWrittenHeaders=!1,null!==this.headers&&(this.fieldFormatter.headers=this.headers),e.transform&&(this.rowTransform=e.transform)}var e,r,i;return e=t,i=[{key:"isHashArray",value:function(t){return!!Array.isArray(t)&&Array.isArray(t[0])&&2===t[0].length}},{key:"gatherHeaders",value:function(e){return t.isHashArray(e)?e.map((function(t){return t[0]})):Array.isArray(e)?e:Object.keys(e)}},{key:"createTransform",value:function(t){return c.isSyncTransform(t)?function(e,r){var n=null;try{n=t(e)}catch(t){return r(t)}return r(null,n)}:function(e,r){t(e,r)}}}],(r=[{key:"format",value:function(t,e){var r=this;this.callTransformer(t,(function(n,i){if(n)return e(n);if(!t)return e(null);var o=[];if(i){var a=r.checkHeaders(i),s=a.shouldFormatColumns,c=a.headers;if(r.shouldWriteHeaders&&c&&!r.hasWrittenHeaders&&(o.push(r.formatColumns(c,!0)),r.hasWrittenHeaders=!0),s){var u=r.gatherColumns(i);o.push(r.formatColumns(u,!1))}}return e(null,o)}))}},{key:"finish",value:function(t){var e=[];if(this.formatterOptions.alwaysWriteHeaders&&0===this.rowCount){if(!this.headers)return t(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));e.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&e.push(this.formatterOptions.rowDelimiter),t(null,e)}},{key:"checkHeaders",value:function(e){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};var r=t.gatherHeaders(e);return this.headers=r,this.fieldFormatter.headers=r,this.shouldWriteHeaders?{shouldFormatColumns:!a.default(r,e),headers:r}:{shouldFormatColumns:!0,headers:null}}},{key:"gatherColumns",value:function(e){if(null===this.headers)throw new Error("Headers is currently null");return Array.isArray(e)?t.isHashArray(e)?this.headers.map((function(t,r){var n=e[r];return n?n[1]:""})):this.headers.map((function(t,r){return e[r]})):this.headers.map((function(t){return e[t]}))}},{key:"callTransformer",value:function(t,e){return this._rowTransform?this._rowTransform(t,e):e(null,t)}},{key:"formatColumns",value:function(t,e){var r=this,n=t.map((function(t,n){return r.fieldFormatter.format(t,n,e)})).join(this.formatterOptions.delimiter),i=this.rowCount;return this.rowCount+=1,i?[this.formatterOptions.rowDelimiter,n].join(""):n}},{key:"rowTransform",set:function(e){if(!o.default(e))throw new TypeError("The transform should be a function");this._rowTransform=t.createTransform(e)}}])&&n(e.prototype,r),i&&n(e,i),t}();r.RowFormatter=u},{"../types":149,"./FieldFormatter":145,"lodash.isequal":429,"lodash.isfunction":430}],147:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./RowFormatter");Object.defineProperty(r,"RowFormatter",{enumerable:!0,get:function(){return n.RowFormatter}});var i=t("./FieldFormatter");Object.defineProperty(r,"FieldFormatter",{enumerable:!0,get:function(){return i.FieldFormatter}})},{"./FieldFormatter":145,"./RowFormatter":146}],148:[function(t,e,r){(function(e){"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Object.defineProperty(r,"__esModule",{value:!0}),r.writeToPath=r.writeToString=r.writeToBuffer=r.writeToStream=r.write=r.format=void 0;var o=t("util"),a=t("stream"),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e}(t("fs")),c=t("./FormatterOptions"),u=t("./CsvFormatterStream");!function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||n(e,t,r)}(t("./types"),r);var l=t("./CsvFormatterStream");Object.defineProperty(r,"CsvFormatterStream",{enumerable:!0,get:function(){return l.CsvFormatterStream}});var f=t("./FormatterOptions");Object.defineProperty(r,"FormatterOptions",{enumerable:!0,get:function(){return f.FormatterOptions}}),r.format=function(t){return new u.CsvFormatterStream(new c.FormatterOptions(t))},r.write=function(t,e){var n=r.format(e),i=o.promisify((function(t,e){n.write(t,void 0,e)}));return t.reduce((function(t,e){return t.then((function(){return i(e)}))}),Promise.resolve()).then((function(){return n.end()})).catch((function(t){n.emit("error",t)})),n},r.writeToStream=function(t,e,n){return r.write(e,n).pipe(t)},r.writeToBuffer=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[],o=new a.Writable({write:function(t,e,r){i.push(t),r()}});return new Promise((function(a,s){o.on("error",s).on("finish",(function(){return a(e.concat(i))})),r.write(t,n).pipe(o)}))},r.writeToString=function(t,e){return r.writeToBuffer(t,e).then((function(t){return t.toString()}))},r.writeToPath=function(t,e,n){var i=s.createWriteStream(t,{encoding:"utf8"});return r.write(e,n).pipe(i)}}).call(this,t("buffer").Buffer)},{"./CsvFormatterStream":143,"./FormatterOptions":144,"./types":149,buffer:216,fs:215,stream:506,util:525}],149:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isSyncTransform=void 0,r.isSyncTransform=function(t){return 1===t.length}},{}],150:[function(t,e,r){(function(e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,e,r){return(o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=u(t)););return t}(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(r):i.value}})(t,e,r||t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=u(t);if(e){var i=u(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return c(this,r)}}function c(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.CsvParserStream=void 0;var l=t("string_decoder"),f=t("stream"),h=t("./transforms"),d=t("./parser"),p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(f,t);var r,n,c=s(f);function f(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),(e=c.call(this,{objectMode:t.objectMode})).lines="",e.rowCount=0,e.parsedRowCount=0,e.parsedLineCount=0,e.endEmitted=!1,e.headersEmitted=!1,e.parserOptions=t,e.parser=new d.Parser(t),e.headerTransformer=new h.HeaderTransformer(t),e.decoder=new l.StringDecoder(t.encoding),e.rowTransformerValidator=new h.RowTransformerValidator,e}return r=f,(n=[{key:"transform",value:function(t){return this.rowTransformerValidator.rowTransform=t,this}},{key:"validate",value:function(t){return this.rowTransformerValidator.rowValidator=t,this}},{key:"emit",value:function(t){var e;if("end"===t)return this.endEmitted||(this.endEmitted=!0,o(u(f.prototype),"emit",this).call(this,"end",this.rowCount)),!1;for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(e=o(u(f.prototype),"emit",this)).call.apply(e,[this,t].concat(n))}},{key:"_transform",value:function(t,e,r){if(this.hasHitRowLimit)return r();try{var n=this.lines+this.decoder.write(t),i=this.parse(n,!0);return this.processRows(i,r)}catch(t){return r(t)}}},{key:"_flush",value:function(t){if(this.hasHitRowLimit)return t();try{var e=this.lines+this.decoder.end(),r=this.parse(e,!1);return this.processRows(r,t)}catch(e){return t(e)}}},{key:"parse",value:function(t,e){if(!t)return[];var r=this.parser.parse(t,e),n=r.line,i=r.rows;return this.lines=n,i}},{key:"processRows",value:function(t,r){var n=this,i=t.length;!function o(a){var s=function(t){return t?r(t):a%100!=0?o(a+1):void e((function(){return o(a+1)}))};if(n.checkAndEmitHeaders(),a>=i||n.hasHitRowLimit)return r();if(n.parsedLineCount+=1,n.shouldSkipLine)return s();var c=t[a];n.rowCount+=1,n.parsedRowCount+=1;var u=n.rowCount;return n.transformRow(c,(function(t,e){if(t)return n.rowCount-=1,s(t);if(!e)return s(new Error("expected transform result"));if(e.isValid){if(e.row)return n.pushRow(e.row,s)}else n.emit("data-invalid",e.row,u,e.reason);return s()}))}(0)}},{key:"transformRow",value:function(t,e){var r=this;try{this.headerTransformer.transform(t,(function(n,i){return n?e(n):i?i.isValid?i.row?r.shouldEmitRows?r.rowTransformerValidator.transformAndValidate(i.row,e):r.skipRow(e):(r.rowCount-=1,r.parsedRowCount-=1,e(null,{row:null,isValid:!0})):r.shouldEmitRows?e(null,{isValid:!1,row:t}):r.skipRow(e):e(new Error("Expected result from header transform"))}))}catch(t){e(t)}}},{key:"checkAndEmitHeaders",value:function(){!this.headersEmitted&&this.headerTransformer.headers&&(this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers))}},{key:"skipRow",value:function(t){return this.rowCount-=1,t(null,{row:null,isValid:!0})}},{key:"pushRow",value:function(t,e){try{this.parserOptions.objectMode?this.push(t):this.push(JSON.stringify(t)),e()}catch(t){e(t)}}},{key:"hasHitRowLimit",get:function(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}},{key:"shouldEmitRows",get:function(){return this.parsedRowCount>this.parserOptions.skipRows}},{key:"shouldSkipLine",get:function(){return this.parsedLineCount<=this.parserOptions.skipLines}}])&&i(r.prototype,n),f}(f.Transform);r.CsvParserStream=p}).call(this,t("timers").setImmediate)},{"./parser":162,"./transforms":165,stream:506,string_decoder:520,timers:521}],151:[function(t,e,r){"use strict";var n=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.ParserOptions=void 0;var i=n(t("lodash.escaperegexp")),o=n(t("lodash.isnil"));r.ParserOptions=function t(e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,e||{}),this.delimiter.length>1)throw new Error("delimiter option must be one character long");this.escapedDelimiter=i.default(this.delimiter),this.escapeChar=null!==(r=this.escape)&&void 0!==r?r:this.quote,this.supportsComments=!o.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp("([^\\s]|\\r\\n|\\n|\\r|".concat(this.escapedDelimiter,")")),this.maxRows>0&&(this.limitRows=!0)}},{"lodash.escaperegexp":426,"lodash.isnil":431}],152:[function(t,e,r){"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Object.defineProperty(r,"__esModule",{value:!0}),r.parseString=r.parseFile=r.parseStream=r.parse=void 0;var o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e}(t("fs")),a=t("stream"),s=t("./ParserOptions"),c=t("./CsvParserStream");!function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||n(e,t,r)}(t("./types"),r);var u=t("./CsvParserStream");Object.defineProperty(r,"CsvParserStream",{enumerable:!0,get:function(){return u.CsvParserStream}});var l=t("./ParserOptions");Object.defineProperty(r,"ParserOptions",{enumerable:!0,get:function(){return l.ParserOptions}}),r.parse=function(t){return new c.CsvParserStream(new s.ParserOptions(t))},r.parseStream=function(t,e){return t.pipe(new c.CsvParserStream(new s.ParserOptions(e)))},r.parseFile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.createReadStream(t).pipe(new c.CsvParserStream(new s.ParserOptions(e)))},r.parseString=function(t,e){var r=new a.Readable;return r.push(t),r.push(null),r.pipe(new c.CsvParserStream(new s.ParserOptions(e)))}},{"./CsvParserStream":150,"./ParserOptions":151,"./types":166,fs:215,stream:506}],153:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.Parser=void 0;var i=t("./Scanner"),o=t("./RowParser"),a=t("./Token"),s=/^\s*(?:''|"")?\s*(?:,\s*(?:''|"")?\s*)*$/,c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.rowParser=new o.RowParser(this.parserOptions)}var e,r,c;return e=t,c=[{key:"removeBOM",value:function(t){return t&&65279===t.charCodeAt(0)?t.slice(1):t}}],(r=[{key:"parse",value:function(e,r){var n=new i.Scanner({line:t.removeBOM(e),parserOptions:this.parserOptions,hasMoreData:r});return this.parserOptions.supportsComments?this.parseWithComments(n):this.parseWithoutComments(n)}},{key:"parseWithoutComments",value:function(t){for(var e=[],r=!0;r;)r=this.parseRow(t,e);return{line:t.line,rows:e}}},{key:"parseWithComments",value:function(t){for(var e=this.parserOptions,r=[],n=t.nextCharacterToken;null!==n;n=t.nextCharacterToken)if(a.Token.isTokenComment(n,e)){if(null===t.advancePastLine())return{line:t.lineFromCursor,rows:r};if(!t.hasMoreCharacters)return{line:t.lineFromCursor,rows:r};t.truncateToCursor()}else if(!this.parseRow(t,r))break;return{line:t.line,rows:r}}},{key:"parseRow",value:function(t,e){if(!t.nextNonSpaceToken)return!1;var r=this.rowParser.parse(t);return null!==r&&(this.parserOptions.ignoreEmpty&&s.test(r.join(""))||e.push(r),!0)}}])&&n(e.prototype,r),c&&n(e,c),t}();r.Parser=c},{"./RowParser":154,"./Scanner":155,"./Token":156}],154:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.RowParser=void 0;var i=t("./column"),o=t("./Token").Token,a=o.isTokenRowDelimiter,s=o.isTokenCarriageReturn,c=o.isTokenDelimiter,u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.columnParser=new i.ColumnParser(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){for(var e=this.parserOptions,r=t.hasMoreData,n=t,i=[],o=this.getStartToken(n,i);o;){if(a(o))return n.advancePastToken(o),!n.hasMoreCharacters&&s(o,e)&&r?null:(n.truncateToCursor(),i);if(!this.shouldSkipColumnParse(n,o,i)){var c=this.columnParser.parse(n);if(null===c)return null;i.push(c)}o=n.nextNonSpaceToken}return r?null:(n.truncateToCursor(),i)}},{key:"getStartToken",value:function(t,e){var r=t.nextNonSpaceToken;return null!==r&&c(r,this.parserOptions)?(e.push(""),t.nextNonSpaceToken):r}},{key:"shouldSkipColumnParse",value:function(t,e,r){var n=this.parserOptions;if(c(e,n)){t.advancePastToken(e);var i=t.nextCharacterToken;if(!t.hasMoreCharacters||null!==i&&a(i))return r.push(""),!0;if(null!==i&&c(i,n))return r.push(""),!0}return!1}}])&&n(e.prototype,r),t}();r.RowParser=u},{"./Token":156,"./column":161}],155:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.Scanner=void 0;var i=t("./Token"),o=/((?:\r\n)|\n|\r)/,a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cursor=0,this.line=e.line,this.lineLength=this.line.length,this.parserOptions=e.parserOptions,this.hasMoreData=e.hasMoreData,this.cursor=e.cursor||0}var e,r;return e=t,(r=[{key:"advancePastLine",value:function(){var t=o.exec(this.lineFromCursor);return t?(this.cursor+=(t.index||0)+t[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}},{key:"advanceTo",value:function(t){return this.cursor=t,this}},{key:"advanceToToken",value:function(t){return this.cursor=t.startCursor,this}},{key:"advancePastToken",value:function(t){return this.cursor=t.endCursor+1,this}},{key:"truncateToCursor",value:function(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}},{key:"hasMoreCharacters",get:function(){return this.lineLength>this.cursor}},{key:"nextNonSpaceToken",get:function(){var t=this.lineFromCursor,e=this.parserOptions.NEXT_TOKEN_REGEXP;if(-1===t.search(e))return null;var r=e.exec(t);if(null==r)return null;var n=r[1],o=this.cursor+(r.index||0);return new i.Token({token:n,startCursor:o,endCursor:o+n.length-1})}},{key:"nextCharacterToken",get:function(){var t=this.cursor;return this.lineLength<=t?null:new i.Token({token:this.line[t],startCursor:t,endCursor:t})}},{key:"lineFromCursor",get:function(){return this.line.substr(this.cursor)}}])&&n(e.prototype,r),t}();r.Scanner=a},{"./Token":156}],156:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.Token=void 0;var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.token=e.token,this.startCursor=e.startCursor,this.endCursor=e.endCursor}var e,r;return e=t,(r=[{key:"isTokenRowDelimiter",value:function(t){var e=t.token;return"\r"===e||"\n"===e||"\r\n"===e}},{key:"isTokenCarriageReturn",value:function(t,e){return t.token===e.carriageReturn}},{key:"isTokenComment",value:function(t,e){return e.supportsComments&&!!t&&t.token===e.comment}},{key:"isTokenEscapeCharacter",value:function(t,e){return t.token===e.escapeChar}},{key:"isTokenQuote",value:function(t,e){return t.token===e.quote}},{key:"isTokenDelimiter",value:function(t,e){return t.token===e.delimiter}}])&&n(e,r),t}();r.Token=i},{}],157:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ColumnFormatter=void 0,r.ColumnFormatter=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e.trim?this.format=function(t){return t.trim()}:e.ltrim?this.format=function(t){return t.trimLeft()}:e.rtrim?this.format=function(t){return t.trimRight()}:this.format=function(t){return t}}},{}],158:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.ColumnParser=void 0;var i=t("./NonQuotedColumnParser"),o=t("./QuotedColumnParser"),a=t("../Token"),s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.quotedColumnParser=new o.QuotedColumnParser(e),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){var e=t.nextNonSpaceToken;return null!==e&&a.Token.isTokenQuote(e,this.parserOptions)?(t.advanceToToken(e),this.quotedColumnParser.parse(t)):this.nonQuotedColumnParser.parse(t)}}])&&n(e.prototype,r),t}();r.ColumnParser=s},{"../Token":156,"./NonQuotedColumnParser":159,"./QuotedColumnParser":160}],159:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.NonQuotedColumnParser=void 0;var i=t("./ColumnFormatter"),o=t("../Token").Token,a=o.isTokenDelimiter,s=o.isTokenRowDelimiter,c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.columnFormatter=new i.ColumnFormatter(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){if(!t.hasMoreCharacters)return null;for(var e=this.parserOptions,r=[],n=t.nextCharacterToken;n&&!a(n,e)&&!s(n);n=t.nextCharacterToken)r.push(n.token),t.advancePastToken(n);return this.columnFormatter.format(r.join(""))}}])&&n(e.prototype,r),t}();r.NonQuotedColumnParser=c},{"../Token":156,"./ColumnFormatter":157}],160:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.QuotedColumnParser=void 0;var i=t("./ColumnFormatter"),o=t("../Token").Token,a=o.isTokenDelimiter,s=o.isTokenRowDelimiter,c=o.isTokenEscapeCharacter,u=o.isTokenQuote,l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.parserOptions=e,this.columnFormatter=new i.ColumnFormatter(e)}var e,r;return e=t,(r=[{key:"parse",value:function(t){if(!t.hasMoreCharacters)return null;var e=t.cursor,r=this.gatherDataBetweenQuotes(t),n=r.foundClosingQuote,i=r.col;if(!n){if(t.advanceTo(e),!t.hasMoreData)throw new Error("Parse Error: missing closing: '".concat(this.parserOptions.quote||"","' in line: at '").concat(t.lineFromCursor.replace(/[\r\n]/g,"\\n'"),"'"));return null}return this.checkForMalformedColumn(t),i}},{key:"gatherDataBetweenQuotes",value:function(t){for(var e=this.parserOptions,r=!1,n=!1,i=[],o=t.nextCharacterToken;!n&&null!==o;o=t.nextCharacterToken){var a=u(o,e);if(!r&&a)r=!0;else if(r)if(c(o,e)){t.advancePastToken(o);var s=t.nextCharacterToken;null!==s&&(u(s,e)||c(s,e))?(i.push(s.token),o=s):a?n=!0:i.push(o.token)}else a?n=!0:i.push(o.token);t.advancePastToken(o)}return{col:this.columnFormatter.format(i.join("")),foundClosingQuote:n}}},{key:"checkForMalformedColumn",value:function(t){var e=this.parserOptions,r=t.nextNonSpaceToken;if(r){var n=a(r,e),i=s(r);if(!n&&!i){var o=t.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error("Parse Error: expected: '".concat(e.escapedDelimiter,"' OR new line got: '").concat(r.token,"'. at '").concat(o))}t.advanceToToken(r)}else t.hasMoreData||t.advancePastLine()}}])&&n(e.prototype,r),t}();r.QuotedColumnParser=l},{"../Token":156,"./ColumnFormatter":157}],161:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./ColumnParser");Object.defineProperty(r,"ColumnParser",{enumerable:!0,get:function(){return n.ColumnParser}});var i=t("./NonQuotedColumnParser");Object.defineProperty(r,"NonQuotedColumnParser",{enumerable:!0,get:function(){return i.NonQuotedColumnParser}});var o=t("./QuotedColumnParser");Object.defineProperty(r,"QuotedColumnParser",{enumerable:!0,get:function(){return o.QuotedColumnParser}});var a=t("./ColumnFormatter");Object.defineProperty(r,"ColumnFormatter",{enumerable:!0,get:function(){return a.ColumnFormatter}})},{"./ColumnFormatter":157,"./ColumnParser":158,"./NonQuotedColumnParser":159,"./QuotedColumnParser":160}],162:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./Parser");Object.defineProperty(r,"Parser",{enumerable:!0,get:function(){return n.Parser}});var i=t("./RowParser");Object.defineProperty(r,"RowParser",{enumerable:!0,get:function(){return i.RowParser}});var o=t("./Scanner");Object.defineProperty(r,"Scanner",{enumerable:!0,get:function(){return o.Scanner}});var a=t("./Token");Object.defineProperty(r,"Token",{enumerable:!0,get:function(){return a.Token}});var s=t("./column");Object.defineProperty(r,"ColumnParser",{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(r,"NonQuotedColumnParser",{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(r,"QuotedColumnParser",{enumerable:!0,get:function(){return s.QuotedColumnParser}})},{"./Parser":153,"./RowParser":154,"./Scanner":155,"./Token":156,"./column":161}],163:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.HeaderTransformer=void 0;var o=i(t("lodash.isundefined")),a=i(t("lodash.isfunction")),s=i(t("lodash.uniq")),c=i(t("lodash.groupby")),u=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=e,!0===e.headers?this.shouldUseFirstRow=!0:Array.isArray(e.headers)?this.setHeaders(e.headers):a.default(e.headers)&&(this.headersTransform=e.headers)}var e,r;return e=t,(r=[{key:"transform",value:function(t,e){return this.shouldMapRow(t)?e(null,this.processRow(t)):e(null,{row:null,isValid:!0})}},{key:"shouldMapRow",value:function(t){var e=this.parserOptions;if(!this.headersTransform&&e.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw new Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray(t)){if(this.headersTransform)this.setHeaders(this.headersTransform(t));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(t)}return!1}return!0}},{key:"processRow",value:function(t){if(!this.headers)return{row:t,isValid:!0};var e=this.parserOptions;if(!e.discardUnmappedColumns&&t.length>this.headersLength){if(!e.strictColumnHandling)throw new Error("Unexpected Error: column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(t.length));return{row:t,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(t.length)}}return e.strictColumnHandling&&t.length<this.headersLength?{row:t,isValid:!1,reason:"Column header mismatch expected: ".concat(this.headersLength," columns got: ").concat(t.length)}:{row:this.mapHeaders(t),isValid:!0}}},{key:"mapHeaders",value:function(t){for(var e={},r=this.headers,n=this.headersLength,i=0;i<n;i+=1){var a=r[i];if(!o.default(a)){var s=t[i];o.default(s)?e[a]="":e[a]=s}}return e}},{key:"setHeaders",value:function(t){var e,r=t.filter((function(t){return!!t}));if(s.default(r).length!==r.length){var n=c.default(r),i=Object.keys(n).filter((function(t){return n[t].length>1}));throw new Error("Duplicate headers found ".concat(JSON.stringify(i)))}this.headers=t,this.receivedHeaders=!0,this.headersLength=(null===(e=this.headers)||void 0===e?void 0:e.length)||0}}])&&n(e.prototype,r),t}();r.HeaderTransformer=u},{"lodash.groupby":427,"lodash.isfunction":430,"lodash.isundefined":432,"lodash.uniq":433}],164:[function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.RowTransformerValidator=void 0;var i=function(t){return t&&t.__esModule?t:{default:t}}(t("lodash.isfunction")),o=t("../types"),a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._rowTransform=null,this._rowValidator=null}var e,r,a;return e=t,a=[{key:"createTransform",value:function(t){return o.isSyncTransform(t)?function(e,r){var n=null;try{n=t(e)}catch(t){return r(t)}return r(null,n)}:t}},{key:"createValidator",value:function(t){return o.isSyncValidate(t)?function(e,r){r(null,{row:e,isValid:t(e)})}:function(e,r){t(e,(function(t,n,i){return t?r(t):r(null,n?{row:e,isValid:n,reason:i}:{row:e,isValid:!1,reason:i})}))}}}],(r=[{key:"transformAndValidate",value:function(t,e){var r=this;return this.callTransformer(t,(function(t,n){return t?e(t):n?r.callValidator(n,(function(t,r){return t?e(t):r&&!r.isValid?e(null,{row:n,isValid:!1,reason:r.reason}):e(null,{row:n,isValid:!0})})):e(null,{row:null,isValid:!0})}))}},{key:"callTransformer",value:function(t,e){return this._rowTransform?this._rowTransform(t,e):e(null,t)}},{key:"callValidator",value:function(t,e){return this._rowValidator?this._rowValidator(t,e):e(null,{row:t,isValid:!0})}},{key:"rowTransform",set:function(e){if(!i.default(e))throw new TypeError("The transform should be a function");this._rowTransform=t.createTransform(e)}},{key:"rowValidator",set:function(e){if(!i.default(e))throw new TypeError("The validate should be a function");this._rowValidator=t.createValidator(e)}}])&&n(e.prototype,r),a&&n(e,a),t}();r.RowTransformerValidator=a},{"../types":166,"lodash.isfunction":430}],165:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("./RowTransformerValidator");Object.defineProperty(r,"RowTransformerValidator",{enumerable:!0,get:function(){return n.RowTransformerValidator}});var i=t("./HeaderTransformer");Object.defineProperty(r,"HeaderTransformer",{enumerable:!0,get:function(){return i.HeaderTransformer}})},{"./HeaderTransformer":163,"./RowTransformerValidator":164}],166:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.isSyncValidate=r.isSyncTransform=void 0,r.isSyncTransform=function(t){return 1===t.length},r.isSyncValidate=function(t){return 1===t.length}},{}],167:[function(t,e,r){"use strict";var n=r;n.bignum=t("bn.js"),n.define=t("./asn1/api").define,n.base=t("./asn1/base"),n.constants=t("./asn1/constants"),n.decoders=t("./asn1/decoders"),n.encoders=t("./asn1/encoders")},{"./asn1/api":168,"./asn1/base":170,"./asn1/constants":174,"./asn1/decoders":176,"./asn1/encoders":179,"bn.js":181}],168:[function(t,e,r){"use strict";var n=t("./encoders"),i=t("./decoders"),o=t("inherits");function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}r.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){var e=this.name;function r(t){this._initNamed(t,e)}return o(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,r){return this._getDecoder(e).decode(t,r)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},a.prototype.encode=function(t,e,r){return this._getEncoder(e).encode(t,r)}},{"./decoders":176,"./encoders":179,inherits:387}],169:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("inherits"),o=t("../base/reporter").Reporter,a=t("safer-buffer").Buffer;function s(t,e){o.call(this,e),a.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function c(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return c.isEncoderBuffer(t)||(t=new c(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=a.byteLength(t);else{if(!a.isBuffer(t))return e.error("Unsupported type: "+n(t));this.value=t,this.length=t.length}}i(s,o),r.DecoderBuffer=s,s.isDecoderBuffer=function(t){return t instanceof s||"object"===n(t)&&a.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeof t.offset&&"number"==typeof t.length&&"function"==typeof t.save&&"function"==typeof t.restore&&"function"==typeof t.isEmpty&&"function"==typeof t.readUInt8&&"function"==typeof t.skip&&"function"==typeof t.raw},s.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},s.prototype.restore=function(t){var e=new s(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,o.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var r=new s(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},r.EncoderBuffer=c,c.isEncoderBuffer=function(t){return t instanceof c||"object"===n(t)&&"EncoderBuffer"===t.constructor.name&&"number"==typeof t.length&&"function"==typeof t.join},c.prototype.join=function(t,e){return t||(t=a.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):a.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},{"../base/reporter":172,inherits:387,"safer-buffer":495}],170:[function(t,e,r){"use strict";var n=r;n.Reporter=t("./reporter").Reporter,n.DecoderBuffer=t("./buffer").DecoderBuffer,n.EncoderBuffer=t("./buffer").EncoderBuffer,n.Node=t("./node")},{"./buffer":169,"./node":171,"./reporter":172}],171:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("../base/reporter").Reporter,o=t("../base/buffer").EncoderBuffer,a=t("../base/buffer").DecoderBuffer,s=t("minimalistic-assert"),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);function l(t,e,r){var n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=l;var f=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var t=this._baseState,e={};f.forEach((function(r){e[r]=t[r]}));var r=new this.constructor(e.parent);return r._baseState=e,r},l.prototype._wrap=function(){var t=this._baseState;u.forEach((function(e){this[e]=function(){var r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},l.prototype._init=function(t){var e=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(t){var e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(s(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(s(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==n(t)||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);var n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){l.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),c.forEach((function(t){l.prototype[t]=function(){var e=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===e.tag),e.tag=t,this._useArgs(r),this}})),l.prototype.use=function(t){s(t);var e=this._baseState;return s(null===e.use),e.use=t,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(t){var e=this._baseState;return s(null===e.default),e.default=t,e.optional=!0,this},l.prototype.explicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.explicit=t,this},l.prototype.implicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.implicit=t,this},l.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},l.prototype.key=function(t){var e=this._baseState;return s(null===e.key),e.key=t,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(t){var e=this._baseState;return s(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},l.prototype.contains=function(t){var e=this._baseState;return s(null===e.use),e.contains=t,this},l.prototype._decode=function(t,e){var r=this._baseState;if(null===r.parent)return t.wrapResult(r.children[0]._decode(t,e));var n,i=r.default,o=!0,s=null;if(null!==r.key&&(s=t.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(o=this._peekTag(t,c,r.any),t.isError(o))return o}else{var u=t.save();try{null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e),o=!0}catch(t){o=!1}t.restore(u)}}if(r.obj&&o&&(n=t.enterObject()),o){if(null!==r.explicit){var l=this._decodeTag(t,r.explicit);if(t.isError(l))return l;t=l}var f=t.offset;if(null===r.use&&null===r.choice){var h;r.any&&(h=t.save());var d=this._decodeTag(t,null!==r.implicit?r.implicit:r.tag,r.any);if(t.isError(d))return d;r.any?i=t.raw(h):t=d}if(e&&e.track&&null!==r.tag&&e.track(t.path(),f,t.length,"tagged"),e&&e.track&&null!==r.tag&&e.track(t.path(),t.offset,t.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(t,e)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new a(i);i=this._getUse(r.contains,t._reporterState.obj)._decode(p,e)}}return r.obj&&o&&(i=t.leaveObject(n)),null===r.key||null===i&&!0!==o?null!==s&&t.exitKey(s):t.leaveKey(s,r.key,i),i},l.prototype._decodeGeneric=function(t,e,r){var n=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,n.args[0],r):/str$/.test(t)?this._decodeStr(e,t,r):"objid"===t&&n.args?this._decodeObjid(e,n.args[0],n.args[1],r):"objid"===t?this._decodeObjid(e,null,null,r):"gentime"===t||"utctime"===t?this._decodeTime(e,t,r):"null_"===t?this._decodeNull(e,r):"bool"===t?this._decodeBool(e,r):"objDesc"===t?this._decodeStr(e,t,r):"int"===t||"enum"===t?this._decodeInt(e,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,e._reporterState.obj)._decode(e,r):e.error("unknown tag: "+t)},l.prototype._getUse=function(t,e){var r=this._baseState;return r.useDecoder=this._use(t,e),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},l.prototype._decodeChoice=function(t,e){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=t.save(),s=r.choice[o];try{var c=s._decode(t,e);if(t.isError(c))return!1;n={type:o,value:c},i=!0}catch(e){return t.restore(a),!1}return!0}),this),i?n:t.error("Choice not matched")},l.prototype._createEncoderBuffer=function(t){return new o(t,this.reporter)},l.prototype._encode=function(t,e,r){var n=this._baseState;if(null===n.default||n.default!==t){var i=this._encodeValue(t,e,r);if(void 0!==i&&!this._skipDefault(i,e,r))return i}},l.prototype._encodeValue=function(t,e,r){var o=this._baseState;if(null===o.parent)return o.children[0]._encode(t,e||new i);var a=null;if(this.reporter=e,o.optional&&void 0===t){if(null===o.default)return;t=o.default}var s=null,c=!1;if(o.any)a=this._createEncoderBuffer(t);else if(o.choice)a=this._encodeChoice(t,e);else if(o.contains)s=this._getUse(o.contains,r)._encode(t,e),c=!0;else if(o.children)s=o.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,e,t);if(null===r._baseState.key)return e.error("Child should have a key");var i=e.enterKey(r._baseState.key);if("object"!==n(t))return e.error("Child expected, but input is not object");var o=r._encode(t[r._baseState.key],e,t);return e.leaveKey(i),o}),this).filter((function(t){return t})),s=this._createEncoderBuffer(s);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return e.error("Too many args for : "+o.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,s=this._createEncoderBuffer(t.map((function(r){var n=this._baseState;return this._getUse(n.args[0],t)._encode(r,e)}),u))}else null!==o.use?a=this._getUse(o.use,r)._encode(t,e):(s=this._encodePrimitive(o.tag,t),c=!0);if(!o.any&&null===o.choice){var l=null!==o.implicit?o.implicit:o.tag,f=null===o.implicit?"universal":"context";null===l?null===o.use&&e.error("Tag could be omitted only for .use()"):null===o.use&&(a=this._encodeComposite(l,c,f,s))}return null!==o.explicit&&(a=this._encodeComposite(o.explicit,!1,"context",a)),a},l.prototype._encodeChoice=function(t,e){var r=this._baseState,n=r.choice[t.type];return n||s(!1,t.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(t.value,e)},l.prototype._encodePrimitive=function(t,e){var r=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&r.args)return this._encodeObjid(e,r.reverseArgs[0],r.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,r.args&&r.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},l.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},l.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},{"../base/buffer":169,"../base/reporter":172,"minimalistic-assert":437}],172:[function(t,e,r){"use strict";var n=t("inherits");function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}r.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,r){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,r=e.obj;return e.obj=t,r},i.prototype.error=function(t){var e,r=this._reporterState,n=t instanceof o;if(e=n?t:new o(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},{inherits:387}],173:[function(t,e,r){"use strict";function n(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e}r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n(r.tag)},{}],174:[function(t,e,r){"use strict";var n=r;n._reverse=function(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e},n.der=t("./der")},{"./der":173}],175:[function(t,e,r){"use strict";var n=t("inherits"),i=t("bn.js"),o=t("../base/buffer").DecoderBuffer,a=t("../base/node"),s=t("../constants/der");function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){a.call(this,"der",t)}function l(t,e){var r=t.readUInt8(e);if(t.isError(r))return r;var n=s.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function f(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=t.readUInt8(r);if(t.isError(a))return a;n|=a}return n}e.exports=c,c.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},n(u,a),u.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;var n=t.save(),i=l(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(n),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||r)},u.prototype._decodeTag=function(t,e,r){var n=l(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;var i=f(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},u.prototype._skipUntilEnd=function(t,e){for(;;){var r=l(t,e);if(t.isError(r))return r;var n,i=f(t,r.primitive,e);if(t.isError(i))return i;if(n=r.primitive||null!==i?t.skip(i):this._skipUntilEnd(t,e),t.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(t,e,r,n){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=r.decode(t,"der",n);if(t.isError(a)&&o)break;i.push(a)}return i},u.prototype._decodeStr=function(t,e){if("bitstr"===e){var r=t.readUInt8();return t.isError(r)?r:{unused:r,data:t.raw()}}if("bmpstr"===e){var n=t.raw();if(n.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===e){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var s=t.raw().toString("ascii");return this._isPrintstr(s)?s:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},u.prototype._decodeObjid=function(t,e,r){for(var n,i=[],o=0,a=0;!t.isEmpty();)o<<=7,o|=127&(a=t.readUInt8()),0==(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var s=i[0]/40|0,c=i[0]%40;if(n=r?i:[s,c].concat(i.slice(1)),e){var u=e[n.join(" ")];void 0===u&&(u=e[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(t,e){var r,n,i,o,a,s,c=t.raw().toString();if("gentime"===e)r=0|c.slice(0,4),n=0|c.slice(4,6),i=0|c.slice(6,8),o=0|c.slice(8,10),a=0|c.slice(10,12),s=0|c.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|c.slice(0,2),n=0|c.slice(2,4),i=0|c.slice(4,6),o=0|c.slice(6,8),a=0|c.slice(8,10),s=0|c.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,n-1,i,o,a,s,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},u.prototype._decodeInt=function(t,e){var r=t.raw(),n=new i(r);return e&&(n=e[n.toString(10)]||n),n},u.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},{"../base/buffer":169,"../base/node":171,"../constants/der":173,"bn.js":181,inherits:387}],176:[function(t,e,r){"use strict";var n=r;n.der=t("./der"),n.pem=t("./pem")},{"./der":175,"./pem":177}],177:[function(t,e,r){"use strict";var n=t("inherits"),i=t("safer-buffer").Buffer,o=t("./der");function a(t){o.call(this,t),this.enc="pem"}n(a,o),e.exports=a,a.prototype.decode=function(t,e){for(var r=t.toString().split(/[\r\n]+/g),n=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(a);if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+n);var f=r.slice(s+1,c).join("");f.replace(/[^a-z0-9+/=]+/gi,"");var h=i.from(f,"base64");return o.prototype.decode.call(this,h,e)}},{"./der":175,inherits:387,"safer-buffer":495}],178:[function(t,e,r){"use strict";var n=t("inherits"),i=t("safer-buffer").Buffer,o=t("../base/node"),a=t("../constants/der");function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){o.call(this,"der",t)}function u(t){return t<10?"0"+t:t}e.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},n(c,o),c.prototype._encodeComposite=function(t,e,r,n){var o=function(t,e,r,n){var i;if("seqof"===t?t="seq":"setof"===t&&(t="set"),a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);i=t}return i>=31?n.error("Multi-octet tag encoding unsupported"):(e||(i|=32),i|a.tagClassByName[r||"universal"]<<6)}(t,e,r,this.reporter);if(n.length<128){var s=i.alloc(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var c=1,u=n.length;u>=256;u>>=8)c++;var l=i.alloc(2+c);l[0]=o,l[1]=128|c;for(var f=1+c,h=n.length;h>0;f--,h>>=8)l[f]=255&h;return this._createEncoderBuffer([l,n])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=i.alloc(2*t.length),n=0;n<t.length;n++)r.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},c.prototype._encodeObjid=function(t,e,r){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t)){t=t.slice();for(var o=0;o<t.length;o++)t[o]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,s=0;s<t.length;s++){var c=t[s];for(a++;c>=128;c>>=7)a++}for(var u=i.alloc(a),l=u.length-1,f=t.length-1;f>=0;f--){var h=t[f];for(u[l--]=127&h;(h>>=7)>0;)u[l--]=128|127&h}return this._createEncoderBuffer(u)},c.prototype._encodeTime=function(t,e){var r,n=new Date(t);return"gentime"===e?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=i.from(r)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var o=i.alloc(n);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var a=1,s=t;s>=256;s>>=8)a++;for(var c=new Array(a),u=c.length-1;u>=0;u--)c[u]=255&t,t>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(i.from(c))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},{"../base/node":171,"../constants/der":173,inherits:387,"safer-buffer":495}],179:[function(t,e,r){"use strict";var n=r;n.der=t("./der"),n.pem=t("./pem")},{"./der":178,"./pem":180}],180:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./der");function o(t){i.call(this,t),this.enc="pem"}n(o,i),e.exports=o,o.prototype.encode=function(t,e){for(var r=i.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+e.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+e.label+"-----"),n.join("\n")}},{"./der":178,inherits:387}],181:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(e,r){function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function a(t,e,r){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"===n(e)?e.exports=a:(void 0).BN=a,a.BN=a,a.wordSize=26;try{s=t("buffer").Buffer}catch(t){}function c(t,e,r){for(var n=0,i=Math.min(t.length,r),o=e;o<i;o++){var a=t.charCodeAt(o)-48;n<<=4,n|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}a.isBN=function(t){return t instanceof a||null!==t&&"object"===n(t)&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===n(t))return this._initArray(t,e,r);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&o++,16===e?this._parseHex(t,o):this._parseBase(t,e,o),"-"===t[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initArray=function(t,e,r){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,a,s=0;if("be"===r)for(n=t.length-1,o=0;n>=0;n-=3)a=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(n=0,o=0;n<t.length;n+=3)a=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},a.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=c(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=c(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this.strip()},a.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}a.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var n=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<n|o)).toString(16);r=0!==(o=s>>>24-n&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(n+=2)>=26&&(n-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(t,e){return i(void 0!==s),this.toArrayLike(s,t,e)},a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,r){var n=this.byteLength(),o=r||Math.max(1,n);i(n<=o,"byte array longer than desired length"),i(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-n;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},a.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var n=0;n<e;n++)this.words[n]=67108863&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&67108863>>26-r),this.strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var r=t/26|0,n=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<n:this.words[r]&~(1<<n),this.strip()},a.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),a.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=a.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,n){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<n;++a)r[a]=0;i(0===o),i(0==(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),m(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){i("number"==typeof t),i(t<67108864);for(var e=0,r=0;r<this.length;r++){var n=(0|this.words[r])*t,o=(67108863&n)+(67108863&e);e>>=26,e+=n/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new a(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,r=t%26,n=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==n){for(e=this.length-1;e>=0;e--)this.words[e+n]=this.words[e];for(e=0;e<n;e++)this.words[e]=0;this.length+=n}return this.strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,r){var n;i("number"==typeof t&&t>=0),n=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(n-=a,n=Math.max(0,n),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=n);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(t,e,r){return i(0===this.negative),this.iushrn(t,e,r)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,n=1<<e;return!(this.length<=r)&&!!(this.words[r]&n)},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var n=67108863^67108863>>>e<<e;this.words[this.length-1]&=n}return this.strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,r){var n,o,a=t.length+r;this._expand(a);var s=0;for(n=0;n<t.length;n++){o=(0|this.words[n+r])+s;var c=(0|t.words[n])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[n+r]=67108863&o}for(;n<this.length-r;n++)s=(o=(0|this.words[n+r])+s)>>26,this.words[n+r]=67108863&o;if(0===s)return this.strip();for(i(-1===s),s=0,n=0;n<this.length;n++)s=(o=-(0|this.words[n])+s)>>26,this.words[n]=67108863&o;return this.negative=1,this.strip()},a.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(t,e,r){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(n=s.div.neg()),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:n,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modn(t.words[0]))}:this._wordDiv(t,e);var n,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modn=function(t){i(t<=67108863);for(var e=(1<<26)%t,r=0,n=this.length-1;n>=0;n--)r=(e*r+(0|this.words[n]))%t;return r},a.prototype.idivn=function(t){i(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+67108864*e;this.words[r]=n/t|0,e=n%t}return this.strip()},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0==(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(l),o.isub(f)),n.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),n.isub(s),o.isub(c)):(r.isub(e),s.isub(n),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n,o=new a(1),s=new a(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var f=0,h=1;0==(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s)):(r.isub(e),s.isub(o))}return(n=0===e.cmpn(1)?o:s).cmpn(0)<0&&n.iadd(t),n},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,r=(t-e)/26,n=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var o=n,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),i(t<=67108863,"Number is too big");var n=0|this.words[0];e=n===t?0:n<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new _(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},o(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(w,g),o(x,g),o(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var r=this.m.add(new a(1)).iushrn(2);return this.pow(t,r)}for(var n=this.m.subn(1),o=0;!n.isZero()&&0===n.andln(1);)o++,n.iushrn(1);i(!n.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,n),h=this.pow(t,n.addn(1).iushrn(1)),d=this.pow(t,n),p=o;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();i(b<p);var v=this.pow(f,new a(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],o=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new S(t)},o(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e)},{buffer:185}],182:[function(t,e,r){"use strict";r.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},r.toByteArray=function(t){var e,r,n=u(t),a=n[0],s=n[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,c[l++]=255&e),1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},r.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(l(t,a,a+16383>s?s:a+16383));return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],183:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(e,r){function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function a(t,e,r){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"===n(e)?e.exports=a:(void 0).BN=a,a.BN=a,a.wordSize=26;try{s=t("buffer").Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),a=0,s=e;s<o;s++){var c,u=t.charCodeAt(s)-48;n<<=4,n|=c=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,a|=c}return i(!(240&a),"Invalid character in "+t),n}function u(t,e,r,n){for(var o=0,a=0,s=Math.min(t.length,r),c=e;c<s;c++){var u=t.charCodeAt(c)-48;o*=n,a=u>=49?u-49+10:u>=17?u-17+10:u,i(u>=0&&a<n,"Invalid character"),o+=a}return o}function l(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(a.isBN=function(t){return t instanceof a||null!==t&&"object"===n(t)&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===n(t))return this._initArray(t,e,r);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&o++,16===e?this._parseHex(t,o):this._parseBase(t,e,o),"-"===t[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initArray=function(t,e,r){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,a,s=0;if("be"===r)for(n=t.length-1,o=0;n>=0;n-=3)a=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(n=0,o=0;n<t.length;n+=3)a=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},a.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,o=0;for(r=t.length-6,n=0;r>=e;r-=6)i=c(t,r,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,n++);r+6!==e&&(i=c(t,e,r+6),this.words[n]|=i<<o&67108863,this.words[n+1]|=i>>>26-o&4194303),this._strip()},a.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype._move=function(t){l(t,this)},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(t){a.prototype.inspect=f}else a.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}a.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var n=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<n|o)).toString(16);r=0!==(o=s>>>24-n&16777215)||a!==this.length-1?h[6-c.length]+c+r:c+r,(n+=2)>=26&&(n-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=d[t],l=p[t];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(l).toString(t);r=(f=f.idivn(l)).isZero()?m+r:h[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16,2)},s&&(a.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,r){this._strip();var n=this.byteLength(),o=r||Math.max(1,n);i(n<=o,"byte array longer than desired length"),i(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,n),a},a.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r++]=255&a,r<t.length&&(t[r++]=a>>8&255),r<t.length&&(t[r++]=a>>16&255),6===o?(r<t.length&&(t[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},a.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r--]=255&a,r>=0&&(t[r--]=a>>8&255),r>=0&&(t[r--]=a>>16&255),6===o?(r>=0&&(t[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},a.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this._strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this._strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var n=0;n<e;n++)this.words[n]=67108863&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&67108863>>26-r),this._strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var r=t/26|0,n=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<n:this.words[r]&~(1<<n),this._strip()},a.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var b=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function v(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function g(t,e,r){return v(t,e,r)}function y(t,e){this.x=t,this.y=e}Math.imul||(b=m),a.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?b(this,t,e):r<63?m(this,t,e):r<1024?v(this,t,e):g(this,t,e)},y.prototype.makeRBT=function(t){for(var e=new Array(t),r=a.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},y.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},y.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},y.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},y.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},y.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},y.prototype.convert13b=function(t,e,r,n){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<n;++a)r[a]=0;i(0===o),i(0==(-8192&o))},y.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},y.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),g(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){var e=t<0;e&&(t=-t),i("number"==typeof t),i(t<67108864);for(var r=0,n=0;n<this.length;n++){var o=(0|this.words[n])*t,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[n]=67108863&a}return 0!==r&&(this.words[n]=r,this.length++),e?this.ineg():this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=t.words[n]>>>i&1}return e}(t);if(0===e.length)return new a(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,r=t%26,n=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==n){for(e=this.length-1;e>=0;e--)this.words[e+n]=this.words[e];for(e=0;e<n;e++)this.words[e]=0;this.length+=n}return this._strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,r){var n;i("number"==typeof t&&t>=0),n=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(n-=a,n=Math.max(0,n),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=n);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(t,e,r){return i(0===this.negative),this.iushrn(t,e,r)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,n=1<<e;return!(this.length<=r)&&!!(this.words[r]&n)},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var n=67108863^67108863>>>e<<e;this.words[this.length-1]&=n}return this._strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,r){var n,o,a=t.length+r;this._expand(a);var s=0;for(n=0;n<t.length;n++){o=(0|this.words[n+r])+s;var c=(0|t.words[n])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[n+r]=67108863&o}for(;n<this.length-r;n++)s=(o=(0|this.words[n+r])+s)>>26,this.words[n+r]=67108863&o;if(0===s)return this._strip();for(i(-1===s),s=0,n=0;n<this.length;n++)s=(o=-(0|this.words[n])+s)>>26,this.words[n]=67108863&o;return this.negative=1,this._strip()},a.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(t,e,r){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(n=s.div.neg()),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:n,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modrn(t.words[0]))}:this._wordDiv(t,e);var n,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modrn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var r=(1<<26)%t,n=0,o=this.length-1;o>=0;o--)n=(r*n+(0|this.words[o]))%t;return e?-n:n},a.prototype.modn=function(t){return this.modrn(t)},a.prototype.idivn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var r=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*r;this.words[n]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0==(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(l),o.isub(f)),n.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),n.isub(s),o.isub(c)):(r.isub(e),s.isub(n),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n,o=new a(1),s=new a(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var f=0,h=1;0==(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s)):(r.isub(e),s.isub(o))}return(n=0===e.cmpn(1)?o:s).cmpn(0)<0&&n.iadd(t),n},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,r=(t-e)/26,n=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var o=n,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),i(t<=67108863,"Number is too big");var n=0|this.words[0];e=n===t?0:n<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new E(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function x(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){E.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(t,e){t.iushrn(this.n,0,e)},x.prototype.imulK=function(t){return t.imul(this.k)},o(O,x),O.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},O.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(_,x),o(S,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new O;else if("p224"===t)e=new _;else if("p192"===t)e=new S;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return w[t]=e,e},E.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},E.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},E.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(l(t,t.umod(this.m)._forceRed(this)),t)},E.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},E.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},E.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},E.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},E.prototype.isqr=function(t){return this.imul(t,t.clone())},E.prototype.sqr=function(t){return this.mul(t,t)},E.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var r=this.m.add(new a(1)).iushrn(2);return this.pow(t,r)}for(var n=this.m.subn(1),o=0;!n.isZero()&&0===n.andln(1);)o++,n.iushrn(1);i(!n.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,n),h=this.pow(t,n.addn(1).iushrn(1)),d=this.pow(t,n),p=o;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();i(b<p);var v=this.pow(f,new a(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},E.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},E.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],o=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},E.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},E.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new M(t)},o(M,E),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e)},{buffer:185}],184:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;function o(t){this.rand=t}if(e.exports=function(t){return i||(i=new o(null)),i.generate(t)},e.exports.Rand=o,o.prototype.generate=function(t){return this._rand(t)},o.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r<e.length;r++)e[r]=this.rand.getByte();return e},"object"===("undefined"==typeof self?"undefined":n(self)))self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===("undefined"==typeof window?"undefined":n(window))&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=t("crypto");if("function"!=typeof a.randomBytes)throw new Error("Not supported");o.prototype._rand=function(t){return a.randomBytes(t)}}catch(t){}},{crypto:185}],185:[function(t,e,r){},{}],186:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i<e;i++)r[i]=t.readUInt32BE(4*i);return r}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,r,n,i){for(var o,a,s,c,u=r[0],l=r[1],f=r[2],h=r[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],b=t[3]^e[3],v=4,g=1;g<i;g++)o=u[d>>>24]^l[p>>>16&255]^f[m>>>8&255]^h[255&b]^e[v++],a=u[p>>>24]^l[m>>>16&255]^f[b>>>8&255]^h[255&d]^e[v++],s=u[m>>>24]^l[b>>>16&255]^f[d>>>8&255]^h[255&p]^e[v++],c=u[b>>>24]^l[d>>>16&255]^f[p>>>8&255]^h[255&m]^e[v++],d=o,p=a,m=s,b=c;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&b])^e[v++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[b>>>8&255]<<8|n[255&d])^e[v++],s=(n[m>>>24]<<24|n[b>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^e[v++],c=(n[b>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^e[v++],[o>>>=0,a>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var l=t[a],f=t[l],h=t[f],d=257*t[u]^16843008*u;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*h^65537*f^257*l^16843008*a,o[0][u]=d<<24|d>>>8,o[1][u]=d<<16|d>>>16,o[2][u]=d<<8|d>>>24,o[3][u]=d,0===a?a=s=1:(a=l^t[t[t[h^l]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(t){this._key=i(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<n;o++){var a=i[o-1];o%e==0?(a=a<<8|a>>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e==4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-e]^a}for(var u=[],l=0;l<n;l++){var f=n-l,h=i[f-(l%4?0:4)];u[l]=l<4||f<=4?h:c.INV_SUB_MIX[0][c.SBOX[h>>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},u.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var r=a(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},{"safe-buffer":494}],187:[function(t,e,r){"use strict";var n=t("./aes"),i=t("safe-buffer").Buffer,o=t("cipher-base"),a=t("inherits"),s=t("./ghash"),c=t("buffer-xor"),u=t("./incr32");function l(t,e,r,a){o.call(this);var c=i.alloc(4,0);this._cipher=new n.AES(e);var l=this._cipher.encryptBlock(c);this._ghash=new s(l),r=function(t,e,r){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var n=new s(r),o=e.length,a=o%16;n.update(e),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var c=8*o,l=i.alloc(8);l.writeUIntBE(c,0,8),n.update(l),t._finID=n.state;var f=i.from(t._finID);return u(f),f}(this,r,l),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(l,o),l.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;i<n;++i)r+=t[i]^e[i];return r}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},l.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},e.exports=l},{"./aes":186,"./ghash":191,"./incr32":192,"buffer-xor":217,"cipher-base":218,inherits:387,"safe-buffer":494}],188:[function(t,e,r){"use strict";var n=t("./encrypter"),i=t("./decrypter"),o=t("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=i.createDecipher,r.createDecipheriv=r.Decipheriv=i.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(o)}},{"./decrypter":189,"./encrypter":190,"./modes/list.json":200}],189:[function(t,e,r){"use strict";var n=t("./authCipher"),i=t("safe-buffer").Buffer,o=t("./modes"),a=t("./streamCipher"),s=t("cipher-base"),c=t("./aes"),u=t("evp_bytestokey");function l(t,e,r){s.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(e),this._prev=i.from(r),this._mode=t,this._autopadding=!0}function f(){this.cache=i.allocUnsafe(0)}function h(t,e,r){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,r,!0):"auth"===s.type?new n(s.module,e,r,!0):new l(s.module,e,r)}t("inherits")(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return i.concat(n)},l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var r=-1;++r<e;)if(t[r+(16-e)]!==e)throw new Error("unable to decrypt data");if(16!==e)return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=i.concat([this.cache,t])},f.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(e,!1,r.key,r.iv);return h(t,n.key,n.iv)},r.createDecipheriv=h},{"./aes":186,"./authCipher":187,"./modes":199,"./streamCipher":202,"cipher-base":218,evp_bytestokey:368,inherits:387,"safe-buffer":494}],190:[function(t,e,r){"use strict";var n=t("./modes"),i=t("./authCipher"),o=t("safe-buffer").Buffer,a=t("./streamCipher"),s=t("cipher-base"),c=t("./aes"),u=t("evp_bytestokey");function l(t,e,r){s.call(this),this._cache=new h,this._cipher=new c.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}t("inherits")(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return o.concat(n)};var f=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function d(t,e,r){var s=n[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,e,r):"auth"===s.type?new i(s.module,e,r):new l(s.module,e,r)}l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=o.concat([this.cache,t])},h.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},h.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),r=-1;++r<t;)e.writeUInt8(t,r);return o.concat([this.cache,e])},r.createCipheriv=d,r.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(e,!1,r.key,r.iv);return d(t,i.key,i.iv)}},{"./aes":186,"./authCipher":187,"./modes":199,"./streamCipher":202,"cipher-base":218,evp_bytestokey:368,inherits:387,"safe-buffer":494}],191:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=n.alloc(16,0);function o(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!=(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},e.exports=a},{"safe-buffer":494}],192:[function(t,e,r){"use strict";e.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},{}],193:[function(t,e,r){"use strict";var n=t("buffer-xor");r.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},r.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},{"buffer-xor":217}],194:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("buffer-xor");function o(t,e,r){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=n.concat([t._prev,r?e:a]),a}r.encrypt=function(t,e,r){for(var i,a=n.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=e.length)){a=n.concat([a,o(t,e,r)]);break}i=t._cache.length,a=n.concat([a,o(t,e.slice(0,i),r)]),e=e.slice(i)}return a}},{"buffer-xor":217,"safe-buffer":494}],195:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t,e,r){for(var n,i,a=-1,s=0;++a<8;)n=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^n))>>a%8,t._prev=o(t._prev,r?n:i);return s}function o(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}r.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},{"safe-buffer":494}],196:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t,e,r){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:i])]),i}r.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},{"safe-buffer":494}],197:[function(t,e,r){"use strict";var n=t("buffer-xor"),i=t("safe-buffer").Buffer,o=t("../incr32");function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}r.encrypt=function(t,e){var r=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var c=a(t),u=o+16*s;t._cache.writeUInt32BE(c[0],u+0),t._cache.writeUInt32BE(c[1],u+4),t._cache.writeUInt32BE(c[2],u+8),t._cache.writeUInt32BE(c[3],u+12)}var l=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,l)}},{"../incr32":192,"buffer-xor":217,"safe-buffer":494}],198:[function(t,e,r){"use strict";r.encrypt=function(t,e){return t._cipher.encryptBlock(e)},r.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},{}],199:[function(t,e,r){"use strict";var n={ECB:t("./ecb"),CBC:t("./cbc"),CFB:t("./cfb"),CFB8:t("./cfb8"),CFB1:t("./cfb1"),OFB:t("./ofb"),CTR:t("./ctr"),GCM:t("./ctr")},i=t("./list.json");for(var o in i)i[o].module=n[i[o].mode];e.exports=i},{"./cbc":193,"./cfb":194,"./cfb1":195,"./cfb8":196,"./ctr":197,"./ecb":198,"./list.json":200,"./ofb":201}],200:[function(t,e,r){e.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],201:[function(t,e,r){(function(e){"use strict";var n=t("buffer-xor");function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}r.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,i(t)]);var o=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,o)}}).call(this,t("buffer").Buffer)},{buffer:216,"buffer-xor":217}],202:[function(t,e,r){"use strict";var n=t("./aes"),i=t("safe-buffer").Buffer,o=t("cipher-base");function a(t,e,r,a){o.call(this),this._cipher=new n.AES(e),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}t("inherits")(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},{"./aes":186,"cipher-base":218,inherits:387,"safe-buffer":494}],203:[function(t,e,r){"use strict";var n=t("browserify-des"),i=t("browserify-aes/browser"),o=t("browserify-aes/modes"),a=t("browserify-des/modes"),s=t("evp_bytestokey");function c(t,e,r){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function u(t,e,r){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}r.createCipher=r.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return c(t,i.key,i.iv)},r.createCipheriv=r.Cipheriv=c,r.createDecipher=r.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return u(t,i.key,i.iv)},r.createDecipheriv=r.Decipheriv=u,r.listCiphers=r.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},{"browserify-aes/browser":188,"browserify-aes/modes":199,"browserify-des":204,"browserify-des/modes":205,evp_bytestokey:368}],204:[function(t,e,r){"use strict";var n=t("cipher-base"),i=t("des.js"),o=t("inherits"),a=t("safe-buffer").Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(t){n.call(this);var e,r=t.mode.toLowerCase(),i=s[r];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var c=t.iv;a.isBuffer(c)||(c=a.from(c)),this._des=i.create({key:o,iv:c,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,o(c,n),c.prototype._update=function(t){return a.from(this._des.update(t))},c.prototype._final=function(){return a.from(this._des.final())}},{"cipher-base":218,"des.js":339,inherits:387,"safe-buffer":494}],205:[function(t,e,r){"use strict";r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],206:[function(t,e,r){(function(r){"use strict";var n=t("bn.js"),i=t("randombytes");function o(t,e){var i=function(t){var e=a(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(e),o=e.modulus.byteLength(),s=(n.mont(e.modulus),new n(t).mul(i.blinder).umod(e.modulus)),c=s.toRed(n.mont(e.prime1)),u=s.toRed(n.mont(e.prime2)),l=e.coefficient,f=e.prime1,h=e.prime2,d=c.redPow(e.exponent1),p=u.redPow(e.exponent2);d=d.fromRed(),p=p.fromRed();var m=d.isub(p).imul(l).umod(f);return m.imul(h),p.iadd(m),new r(p.imul(i.unblinder).umod(e.modulus).toArray(!1,o))}function a(t){for(var e=t.modulus.byteLength(),r=new n(i(e));r.cmp(t.modulus)>=0||!r.umod(t.prime1)||!r.umod(t.prime2);)r=new n(i(e));return r}e.exports=o,o.getr=a}).call(this,t("buffer").Buffer)},{"bn.js":207,buffer:216,randombytes:475}],207:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],208:[function(t,e,r){"use strict";e.exports=t("./browser/algorithms.json")},{"./browser/algorithms.json":209}],209:[function(t,e,r){e.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],210:[function(t,e,r){e.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],211:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("create-hash"),o=t("readable-stream"),a=t("inherits"),s=t("./sign"),c=t("./verify"),u=t("./algorithms.json");function l(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){return new l(t)}function d(t){return new f(t)}Object.keys(u).forEach((function(t){u[t].id=n.from(u[t].id,"hex"),u[t.toLowerCase()]=u[t]})),a(l,o.Writable),l.prototype._write=function(t,e,r){this._hash.update(t),r()},l.prototype.update=function(t,e){return"string"==typeof t&&(t=n.from(t,e)),this._hash.update(t),this},l.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=s(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},a(f,o.Writable),f.prototype._write=function(t,e,r){this._hash.update(t),r()},f.prototype.update=function(t,e){return"string"==typeof t&&(t=n.from(t,e)),this._hash.update(t),this},f.prototype.verify=function(t,e,r){"string"==typeof e&&(e=n.from(e,r)),this.end();var i=this._hash.digest();return c(e,i,t,this._signType,this._tag)},e.exports={Sign:h,Verify:d,createSign:h,createVerify:d}},{"./algorithms.json":209,"./sign":212,"./verify":213,"create-hash":331,inherits:387,"readable-stream":491,"safe-buffer":214}],212:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("create-hmac"),o=t("browserify-rsa"),a=t("elliptic").ec,s=t("bn.js"),c=t("parse-asn1"),u=t("./curves.json");function l(t,e,r,o){if((t=n.from(t.toArray())).length<e.byteLength()){var a=n.alloc(e.byteLength()-t.length);t=n.concat([a,t])}var s=r.length,c=function(t,e){t=(t=f(t,e)).mod(e);var r=n.from(t.toArray());if(r.length<e.byteLength()){var i=n.alloc(e.byteLength()-r.length);r=n.concat([i,r])}return r}(r,e),u=n.alloc(s);u.fill(1);var l=n.alloc(s);return l=i(o,l).update(u).update(n.from([0])).update(t).update(c).digest(),u=i(o,l).update(u).digest(),{k:l=i(o,l).update(u).update(n.from([1])).update(t).update(c).digest(),v:u=i(o,l).update(u).digest()}}function f(t,e){var r=new s(t),n=(t.length<<3)-e.bitLength();return n>0&&r.ishrn(n),r}function h(t,e,r){var o,a;do{for(o=n.alloc(0);8*o.length<t.bitLength();)e.v=i(r,e.k).update(e.v).digest(),o=n.concat([o,e.v]);a=f(o,t),e.k=i(r,e.k).update(e.v).update(n.from([0])).digest(),e.v=i(r,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function d(t,e,r,n){return t.toRed(s.mont(r)).redPow(e).fromRed().mod(n)}e.exports=function(t,e,r,i,p){var m=c(e);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var r=u[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var i=new a(r).keyFromPrivate(e.privateKey).sign(t);return n.from(i.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,r){for(var i,o=e.params.priv_key,a=e.params.p,c=e.params.q,u=e.params.g,p=new s(0),m=f(t,c).mod(c),b=!1,v=l(o,c,t,r);!1===b;)p=d(u,i=h(c,v,r),a,c),0===(b=i.invm(c).imul(m.add(o.mul(p))).mod(c)).cmpn(0)&&(b=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].concat(e));var r=[48,t.length+e.length+4,2,t.length];return r=r.concat(t,[2,e.length],e),n.from(r)}(p,b)}(t,m,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=n.concat([p,t]);for(var b=m.modulus.byteLength(),v=[0,1];t.length+v.length+1<b;)v.push(255);v.push(0);for(var g=-1;++g<t.length;)v.push(t[g]);return o(v,m)},e.exports.getKey=l,e.exports.makeKey=h},{"./curves.json":210,"bn.js":183,"browserify-rsa":206,"create-hmac":333,elliptic:350,"parse-asn1":459,"safe-buffer":214}],213:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("bn.js"),o=t("elliptic").ec,a=t("parse-asn1"),s=t("./curves.json");function c(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}e.exports=function(t,e,r,u,l){var f=a(r);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=r.data.p,o=r.data.q,s=r.data.g,u=r.data.pub_key,l=a.signature.decode(t,"der"),f=l.s,h=l.r;c(f,o),c(h,o);var d=i.mont(n),p=f.invm(o);return 0===s.toRed(d).redPow(new i(e).mul(p).mod(o)).fromRed().mul(u.toRed(d).redPow(h.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(h)}(t,e,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");e=n.concat([l,e]);for(var h=f.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<h;)d.push(255),p++;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=n.from(d);var b=i.mont(f.modulus);t=(t=new i(t).toRed(b)).redPow(new i(f.publicExponent)),t=n.from(t.fromRed().toArray());var v=p<8?1:0;for(h=Math.min(t.length,d.length),t.length!==d.length&&(v=1),m=-1;++m<h;)v|=t[m]^d[m];return 0===v}},{"./curves.json":210,"bn.js":183,elliptic:350,"parse-asn1":459,"safe-buffer":214}],214:[function(t,e,r){"use strict";var n=t("buffer"),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,r),r.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},{buffer:216}],215:[function(t,e,r){arguments[4][185][0].apply(r,arguments)},{dup:185}],216:[function(t,e,r){(function(e){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("base64-js"),o=t("ieee754");function a(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return r.__proto__=e.prototype,r}function e(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return u(t)}return s(t,e,r)}function s(t,r,i){if("string"==typeof t)return function(t,r){if("string"==typeof r&&""!==r||(r="utf8"),!e.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var n=0|h(t,r),i=a(n),o=i.write(t,r);return o!==n&&(i=i.slice(0,o)),i}(t,r);if(ArrayBuffer.isView(t))return l(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+n(t));if(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer))return function(t,r,n){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(n||0))throw new RangeError('"length" is outside of buffer bounds');var i;return(i=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n)).__proto__=e.prototype,i}(t,r,i);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=t.valueOf&&t.valueOf();if(null!=o&&o!==t)return e.from(o,r,i);var s=function(t){if(e.isBuffer(t)){var r=0|f(t.length),n=a(r);return 0===n.length||t.copy(n,0,0,r),n}return void 0!==t.length?"number"!=typeof t.length||z(t.length)?a(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}(t);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return e.from(t[Symbol.toPrimitive]("string"),r,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+n(t))}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function u(t){return c(t),a(t<0?0:0|f(t))}function l(t){for(var e=t.length<0?0:0|f(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function f(t){if(t>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|t}function h(t,r){if(e.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+n(t));var i=t.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===i)return 0;for(var a=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return I(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return N(t).length;default:if(a)return o?-1:I(t).length;r=(""+r).toLowerCase(),a=!0}}function d(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return M(this,e,r);case"utf8":case"utf-8":return S(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return E(this,e,r);case"base64":return _(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function p(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,r,n,i,o){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),z(n=+n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof r&&(r=e.from(r,i)),e.isBuffer(r))return 0===r.length?-1:b(t,r,n,i,o);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,n):Uint8Array.prototype.lastIndexOf.call(t,r,n):b(t,[r],n,i,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){var o,a=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(t,o+h)!==u(e,h)){f=!1;break}if(f)return o}return-1}function v(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(z(s))return a;t[r+a]=s}return a}function g(t,e,r,n){return F(I(e,t.length-r),t,r,n)}function y(t,e,r,n){return F(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function w(t,e,r,n){return y(t,e,r,n)}function x(t,e,r,n){return F(N(e),t,r,n)}function O(t,e,r,n){return F(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function _(t,e,r){return 0===e&&r===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,r))}function S(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,c,u=t[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}function k(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function E(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function M(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=L(t[o]);return i}function C(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function j(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function A(t,r,n,i,o,a){if(!e.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<a)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function T(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,n,i){return e=+e,r>>>=0,i||T(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function D(t,e,r,n,i){return e=+e,r>>>=0,i||T(t,0,r,8),o.write(t,e,r,n,52,8),r+8}r.Buffer=e,r.SlowBuffer=function(t){return+t!=t&&(t=0),e.alloc(+t)},r.INSPECT_MAX_BYTES=50,r.kMaxLength=2147483647,e.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}(),e.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(e.prototype,"parent",{enumerable:!0,get:function(){if(e.isBuffer(this))return this.buffer}}),Object.defineProperty(e.prototype,"offset",{enumerable:!0,get:function(){if(e.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&e[Symbol.species]===e&&Object.defineProperty(e,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),e.poolSize=8192,e.from=function(t,e,r){return s(t,e,r)},e.prototype.__proto__=Uint8Array.prototype,e.__proto__=Uint8Array,e.alloc=function(t,e,r){return function(t,e,r){return c(t),t<=0?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)}(t,e,r)},e.allocUnsafe=function(t){return u(t)},e.allocUnsafeSlow=function(t){return u(t)},e.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==e.prototype},e.compare=function(t,r){if(B(t,Uint8Array)&&(t=e.from(t,t.offset,t.byteLength)),B(r,Uint8Array)&&(r=e.from(r,r.offset,r.byteLength)),!e.isBuffer(t)||!e.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,i=r.length,o=0,a=Math.min(n,i);o<a;++o)if(t[o]!==r[o]){n=t[o],i=r[o];break}return n<i?-1:i<n?1:0},e.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},e.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return e.alloc(0);var n;if(void 0===r)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=e.allocUnsafe(r),o=0;for(n=0;n<t.length;++n){var a=t[n];if(B(a,Uint8Array)&&(a=e.from(a)),!e.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},e.byteLength=h,e.prototype._isBuffer=!0,e.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)p(this,e,e+1);return this},e.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)p(this,e,e+3),p(this,e+1,e+2);return this},e.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)p(this,e,e+7),p(this,e+1,e+6),p(this,e+2,e+5),p(this,e+3,e+4);return this},e.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?S(this,0,t):d.apply(this,arguments)},e.prototype.toLocaleString=e.prototype.toString,e.prototype.equals=function(t){if(!e.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===e.compare(this,t)},e.prototype.inspect=function(){var t="",e=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),"<Buffer "+t+">"},e.prototype.compare=function(t,r,i,o,a){if(B(t,Uint8Array)&&(t=e.from(t,t.offset,t.byteLength)),!e.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+n(t));if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===o&&(o=0),void 0===a&&(a=this.length),r<0||i>t.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&r>=i)return 0;if(o>=a)return-1;if(r>=i)return 1;if(this===t)return 0;for(var s=(a>>>=0)-(o>>>=0),c=(i>>>=0)-(r>>>=0),u=Math.min(s,c),l=this.slice(o,a),f=t.slice(r,i),h=0;h<u;++h)if(l[h]!==f[h]){s=l[h],c=f[h];break}return s<c?-1:c<s?1:0},e.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},e.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},e.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},e.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,t,e,r);case"utf8":case"utf-8":return g(this,t,e,r);case"ascii":return y(this,t,e,r);case"latin1":case"binary":return w(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},e.prototype.slice=function(t,r){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),r<t&&(r=t);var i=this.subarray(t,r);return i.__proto__=e.prototype,i},e.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},e.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},e.prototype.readUInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),this[t]},e.prototype.readUInt16LE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]|this[t+1]<<8},e.prototype.readUInt16BE=function(t,e){return t>>>=0,e||j(t,2,this.length),this[t]<<8|this[t+1]},e.prototype.readUInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},e.prototype.readUInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},e.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},e.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||j(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},e.prototype.readInt8=function(t,e){return t>>>=0,e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},e.prototype.readInt16LE=function(t,e){t>>>=0,e||j(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},e.prototype.readInt16BE=function(t,e){t>>>=0,e||j(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},e.prototype.readInt32LE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},e.prototype.readInt32BE=function(t,e){return t>>>=0,e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},e.prototype.readFloatLE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!0,23,4)},e.prototype.readFloatBE=function(t,e){return t>>>=0,e||j(t,4,this.length),o.read(this,t,!1,23,4)},e.prototype.readDoubleLE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!0,52,8)},e.prototype.readDoubleBE=function(t,e){return t>>>=0,e||j(t,8,this.length),o.read(this,t,!1,52,8)},e.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||A(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},e.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||A(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},e.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,1,255,0),this[e]=255&t,e+1},e.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},e.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},e.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},e.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},e.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},e.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},e.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},e.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},e.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},e.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},e.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||A(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},e.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},e.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},e.prototype.writeDoubleLE=function(t,e,r){return D(this,t,e,!0,r)},e.prototype.writeDoubleBE=function(t,e,r){return D(this,t,e,!1,r)},e.prototype.copy=function(t,r,n,i){if(!e.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var o=i-n;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,n,i);else if(this===t&&n<r&&r<i)for(var a=o-1;a>=0;--a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,i),r);return o},e.prototype.fill=function(t,r,n,i){if("string"==typeof t){if("string"==typeof r?(i=r,r=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!e.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===t.length){var o=t.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(t=o)}}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;var a;if(r>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=r;a<n;++a)this[a]=t;else{var s=e.isBuffer(t)?t:e.from(t,i),c=s.length;if(0===c)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=s[a%c]}return this};var R=/[^+/0-9A-Za-z-_]/g;function L(t){return t<16?"0"+t.toString(16):t.toString(16)}function I(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function N(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function F(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function B(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function z(t){return t!=t}}).call(this,t("buffer").Buffer)},{"base64-js":182,buffer:216,ieee754:385}],217:[function(t,e,r){(function(t){"use strict";e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),o=0;o<n;++o)i[o]=e[o]^r[o];return i}}).call(this,t("buffer").Buffer)},{buffer:216}],218:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("stream").Transform,o=t("string_decoder").StringDecoder;function a(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}t("inherits")(a,i),a.prototype.update=function(t,e,r){"string"==typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){n=t}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},e.exports=a},{inherits:387,"safe-buffer":494,stream:506,string_decoder:520}],219:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},{}],220:[function(t,e,r){var n=t("../internals/is-object");e.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},{"../internals/is-object":263}],221:[function(t,e,r){var n=t("../internals/well-known-symbol"),i=t("../internals/object-create"),o=t("../internals/object-define-property"),a=n("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(t){s[a][t]=!0}},{"../internals/object-create":276,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],222:[function(t,e,r){e.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},{}],223:[function(t,e,r){var n=t("../internals/is-object");e.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},{"../internals/is-object":263}],224:[function(t,e,r){var n=t("../internals/to-indexed-object"),i=t("../internals/to-length"),o=t("../internals/to-absolute-index"),a=function(t){return function(e,r,a){var s,c=n(e),u=i(c.length),l=o(a,u);if(t&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/to-absolute-index":304,"../internals/to-indexed-object":305,"../internals/to-length":307}],225:[function(t,e,r){var n=t("../internals/function-bind-context"),i=t("../internals/indexed-object"),o=t("../internals/to-object"),a=t("../internals/to-length"),s=t("../internals/array-species-create"),c=[].push,u=function(t){var e=1==t,r=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f;return function(d,p,m,b){for(var v,g,y=o(d),w=i(y),x=n(p,m,3),O=a(w.length),_=0,S=b||s,k=e?S(d,O):r?S(d,0):void 0;O>_;_++)if((h||_ in w)&&(g=x(v=w[_],_,y),t))if(e)k[_]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:c.call(k,v)}else if(l)return!1;return f?-1:u||l?l:k}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},{"../internals/array-species-create":227,"../internals/function-bind-context":248,"../internals/indexed-object":257,"../internals/to-length":307,"../internals/to-object":308}],226:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/fails"),o=t("../internals/has"),a=Object.defineProperty,s={},c=function(t){throw t};e.exports=function(t,e){if(o(s,t))return s[t];e||(e={});var r=[][t],u=!!o(e,"ACCESSORS")&&e.ACCESSORS,l=o(e,0)?e[0]:c,f=o(e,1)?e[1]:void 0;return s[t]=!!r&&!i((function(){if(u&&!n)return!0;var t={length:-1};u?a(t,1,{enumerable:!0,get:c}):t[1]=1,r.call(t,l,f)}))}},{"../internals/descriptors":240,"../internals/fails":247,"../internals/has":252}],227:[function(t,e,r){var n=t("../internals/is-object"),i=t("../internals/is-array"),o=t("../internals/well-known-symbol")("species");e.exports=function(t,e){var r;return i(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[o])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},{"../internals/is-array":261,"../internals/is-object":263,"../internals/well-known-symbol":314}],228:[function(t,e,r){var n=t("../internals/an-object");e.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},{"../internals/an-object":223}],229:[function(t,e,r){var n=t("../internals/well-known-symbol")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}e.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},{"../internals/well-known-symbol":314}],230:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],231:[function(t,e,r){var n=t("../internals/to-string-tag-support"),i=t("../internals/classof-raw"),o=t("../internals/well-known-symbol")("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:a?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n}},{"../internals/classof-raw":230,"../internals/to-string-tag-support":310,"../internals/well-known-symbol":314}],232:[function(t,e,r){var n=t("../internals/has"),i=t("../internals/own-keys"),o=t("../internals/object-get-own-property-descriptor"),a=t("../internals/object-define-property");e.exports=function(t,e){for(var r=i(e),s=a.f,c=o.f,u=0;u<r.length;u++){var l=r[u];n(t,l)||s(t,l,c(e,l))}}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/object-get-own-property-descriptor":279,"../internals/own-keys":289}],233:[function(t,e,r){var n=t("../internals/well-known-symbol")("match");e.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},{"../internals/well-known-symbol":314}],234:[function(t,e,r){var n=t("../internals/fails");e.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},{"../internals/fails":247}],235:[function(t,e,r){"use strict";var n=t("../internals/iterators-core").IteratorPrototype,i=t("../internals/object-create"),o=t("../internals/create-property-descriptor"),a=t("../internals/set-to-string-tag"),s=t("../internals/iterators"),c=function(){return this};e.exports=function(t,e,r){var u=e+" Iterator";return t.prototype=i(n,{next:o(1,r)}),a(t,u,!1,!0),s[u]=c,t}},{"../internals/create-property-descriptor":237,"../internals/iterators":268,"../internals/iterators-core":267,"../internals/object-create":276,"../internals/set-to-string-tag":298}],236:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-define-property"),o=t("../internals/create-property-descriptor");e.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"../internals/create-property-descriptor":237,"../internals/descriptors":240,"../internals/object-define-property":278}],237:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],238:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/create-iterator-constructor"),o=t("../internals/object-get-prototype-of"),a=t("../internals/object-set-prototype-of"),s=t("../internals/set-to-string-tag"),c=t("../internals/create-non-enumerable-property"),u=t("../internals/redefine"),l=t("../internals/well-known-symbol"),f=t("../internals/is-pure"),h=t("../internals/iterators"),d=t("../internals/iterators-core"),p=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,b=l("iterator"),v=function(){return this};e.exports=function(t,e,r,l,d,g,y){i(r,e,l);var w,x,O,_=function(t){if(t===d&&C)return C;if(!m&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},S=e+" Iterator",k=!1,E=t.prototype,M=E[b]||E["@@iterator"]||d&&E[d],C=!m&&M||_(d),j="Array"==e&&E.entries||M;if(j&&(w=o(j.call(new t)),p!==Object.prototype&&w.next&&(f||o(w)===p||(a?a(w,p):"function"!=typeof w[b]&&c(w,b,v)),s(w,S,!0,!0),f&&(h[S]=v))),"values"==d&&M&&"values"!==M.name&&(k=!0,C=function(){return M.call(this)}),f&&!y||E[b]===C||c(E,b,C),h[e]=C,d)if(x={values:_("values"),keys:g?C:_("keys"),entries:_("entries")},y)for(O in x)(m||k||!(O in E))&&u(E,O,x[O]);else n({target:e,proto:!0,forced:m||k},x);return x}},{"../internals/create-iterator-constructor":235,"../internals/create-non-enumerable-property":236,"../internals/export":246,"../internals/is-pure":264,"../internals/iterators":268,"../internals/iterators-core":267,"../internals/object-get-prototype-of":283,"../internals/object-set-prototype-of":287,"../internals/redefine":294,"../internals/set-to-string-tag":298,"../internals/well-known-symbol":314}],239:[function(t,e,r){var n=t("../internals/path"),i=t("../internals/has"),o=t("../internals/well-known-symbol-wrapped"),a=t("../internals/object-define-property").f;e.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/path":290,"../internals/well-known-symbol-wrapped":313}],240:[function(t,e,r){var n=t("../internals/fails");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":247}],241:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/is-object"),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(t){return a?o.createElement(t):{}}},{"../internals/global":251,"../internals/is-object":263}],242:[function(t,e,r){var n=t("../internals/engine-user-agent");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},{"../internals/engine-user-agent":243}],243:[function(t,e,r){var n=t("../internals/get-built-in");e.exports=n("navigator","userAgent")||""},{"../internals/get-built-in":249}],244:[function(t,e,r){var n,i,o=t("../internals/global"),a=t("../internals/engine-user-agent"),s=o.process,c=s&&s.versions,u=c&&c.v8;u?i=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},{"../internals/engine-user-agent":243,"../internals/global":251}],245:[function(t,e,r){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],246:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/object-get-own-property-descriptor").f,o=t("../internals/create-non-enumerable-property"),a=t("../internals/redefine"),s=t("../internals/set-global"),c=t("../internals/copy-constructor-properties"),u=t("../internals/is-forced");e.exports=function(t,e){var r,l,f,h,d,p=t.target,m=t.global,b=t.stat;if(r=m?n:b?n[p]||s(p,{}):(n[p]||{}).prototype)for(l in e){if(h=e[l],f=t.noTargetGet?(d=i(r,l))&&d.value:r[l],!u(m?l:p+(b?".":"#")+l,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(t.sham||f&&f.sham)&&o(h,"sham",!0),a(r,l,h,t)}}},{"../internals/copy-constructor-properties":232,"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/is-forced":262,"../internals/object-get-own-property-descriptor":279,"../internals/redefine":294,"../internals/set-global":296}],247:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],248:[function(t,e,r){var n=t("../internals/a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},{"../internals/a-function":219}],249:[function(t,e,r){var n=t("../internals/path"),i=t("../internals/global"),o=function(t){return"function"==typeof t?t:void 0};e.exports=function(t,e){return arguments.length<2?o(n[t])||o(i[t]):n[t]&&n[t][e]||i[t]&&i[t][e]}},{"../internals/global":251,"../internals/path":290}],250:[function(t,e,r){var n=t("../internals/classof"),i=t("../internals/iterators"),o=t("../internals/well-known-symbol")("iterator");e.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[n(t)]}},{"../internals/classof":231,"../internals/iterators":268,"../internals/well-known-symbol":314}],251:[function(t,r,n){(function(t){var e=function(t){return t&&t.Math==Math&&t};r.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||Function("return this")()}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],252:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],253:[function(t,e,r){e.exports={}},{}],254:[function(t,e,r){var n=t("../internals/global");e.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},{"../internals/global":251}],255:[function(t,e,r){var n=t("../internals/get-built-in");e.exports=n("document","documentElement")},{"../internals/get-built-in":249}],256:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/fails"),o=t("../internals/document-create-element");e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":240,"../internals/document-create-element":241,"../internals/fails":247}],257:[function(t,e,r){var n=t("../internals/fails"),i=t("../internals/classof-raw"),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},{"../internals/classof-raw":230,"../internals/fails":247}],258:[function(t,e,r){var n=t("../internals/shared-store"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return i.call(t)}),e.exports=n.inspectSource},{"../internals/shared-store":300}],259:[function(t,e,r){var n,i,o,a=t("../internals/native-weak-map"),s=t("../internals/global"),c=t("../internals/is-object"),u=t("../internals/create-non-enumerable-property"),l=t("../internals/has"),f=t("../internals/shared-key"),h=t("../internals/hidden-keys"),d=s.WeakMap;if(a){var p=new d,m=p.get,b=p.has,v=p.set;n=function(t,e){return v.call(p,t,e),e},i=function(t){return m.call(p,t)||{}},o=function(t){return b.call(p,t)}}else{var g=f("state");h[g]=!0,n=function(t,e){return u(t,g,e),e},i=function(t){return l(t,g)?t[g]:{}},o=function(t){return l(t,g)}}e.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},{"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/has":252,"../internals/hidden-keys":253,"../internals/is-object":263,"../internals/native-weak-map":272,"../internals/shared-key":299}],260:[function(t,e,r){var n=t("../internals/well-known-symbol"),i=t("../internals/iterators"),o=n("iterator"),a=Array.prototype;e.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},{"../internals/iterators":268,"../internals/well-known-symbol":314}],261:[function(t,e,r){var n=t("../internals/classof-raw");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"../internals/classof-raw":230}],262:[function(t,e,r){var n=t("../internals/fails"),i=/#|\.prototype\./,o=function(t,e){var r=s[a(t)];return r==u||r!=c&&("function"==typeof e?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},{"../internals/fails":247}],263:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],264:[function(t,e,r){e.exports=!1},{}],265:[function(t,e,r){var n=t("../internals/is-object"),i=t("../internals/classof-raw"),o=t("../internals/well-known-symbol")("match");e.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},{"../internals/classof-raw":230,"../internals/is-object":263,"../internals/well-known-symbol":314}],266:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/is-array-iterator-method"),o=t("../internals/to-length"),a=t("../internals/function-bind-context"),s=t("../internals/get-iterator-method"),c=t("../internals/call-with-safe-iteration-closing"),u=function(t,e){this.stopped=t,this.result=e};(e.exports=function(t,e,r,l,f){var h,d,p,m,b,v,g,y=a(e,r,l?2:1);if(f)h=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(i(d)){for(p=0,m=o(t.length);m>p;p++)if((b=l?y(n(g=t[p])[0],g[1]):y(t[p]))&&b instanceof u)return b;return new u(!1)}h=d.call(t)}for(v=h.next;!(g=v.call(h)).done;)if("object"==typeof(b=c(h,y,g.value,l))&&b&&b instanceof u)return b;return new u(!1)}).stop=function(t){return new u(!0,t)}},{"../internals/an-object":223,"../internals/call-with-safe-iteration-closing":228,"../internals/function-bind-context":248,"../internals/get-iterator-method":250,"../internals/is-array-iterator-method":260,"../internals/to-length":307}],267:[function(t,e,r){"use strict";var n,i,o,a=t("../internals/object-get-prototype-of"),s=t("../internals/create-non-enumerable-property"),c=t("../internals/has"),u=t("../internals/well-known-symbol"),l=t("../internals/is-pure"),f=u("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(n=i):h=!0),null==n&&(n={}),l||c(n,f)||s(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},{"../internals/create-non-enumerable-property":236,"../internals/has":252,"../internals/is-pure":264,"../internals/object-get-prototype-of":283,"../internals/well-known-symbol":314}],268:[function(t,e,r){arguments[4][253][0].apply(r,arguments)},{dup:253}],269:[function(t,e,r){var n,i,o,a,s,c,u,l,f=t("../internals/global"),h=t("../internals/object-get-own-property-descriptor").f,d=t("../internals/classof-raw"),p=t("../internals/task").set,m=t("../internals/engine-is-ios"),b=f.MutationObserver||f.WebKitMutationObserver,v=f.process,g=f.Promise,y="process"==d(v),w=h(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var t,e;for(y&&(t=v.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},y?a=function(){v.nextTick(n)}:b&&!m?(s=!0,c=document.createTextNode(""),new b(n).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):g&&g.resolve?(u=g.resolve(void 0),l=u.then,a=function(){l.call(u,n)}):a=function(){p.call(f,n)}),e.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},{"../internals/classof-raw":230,"../internals/engine-is-ios":242,"../internals/global":251,"../internals/object-get-own-property-descriptor":279,"../internals/task":303}],270:[function(t,e,r){var n=t("../internals/global");e.exports=n.Promise},{"../internals/global":251}],271:[function(t,e,r){var n=t("../internals/fails");e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},{"../internals/fails":247}],272:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/inspect-source"),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},{"../internals/global":251,"../internals/inspect-source":258}],273:[function(t,e,r){"use strict";var n=t("../internals/a-function"),i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};e.exports.f=function(t){return new i(t)}},{"../internals/a-function":219}],274:[function(t,e,r){var n=t("../internals/is-regexp");e.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},{"../internals/is-regexp":265}],275:[function(t,e,r){"use strict";var n=t("../internals/descriptors"),i=t("../internals/fails"),o=t("../internals/object-keys"),a=t("../internals/object-get-own-property-symbols"),s=t("../internals/object-property-is-enumerable"),c=t("../internals/to-object"),u=t("../internals/indexed-object"),l=Object.assign,f=Object.defineProperty;e.exports=!l||i((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[r]||"abcdefghijklmnopqrst"!=o(l({},e)).join("")}))?function(t,e){for(var r=c(t),i=arguments.length,l=1,f=a.f,h=s.f;i>l;)for(var d,p=u(arguments[l++]),m=f?o(p).concat(f(p)):o(p),b=m.length,v=0;b>v;)d=m[v++],n&&!h.call(p,d)||(r[d]=p[d]);return r}:l},{"../internals/descriptors":240,"../internals/fails":247,"../internals/indexed-object":257,"../internals/object-get-own-property-symbols":282,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/to-object":308}],276:[function(t,e,r){var n,i=t("../internals/an-object"),o=t("../internals/object-define-properties"),a=t("../internals/enum-bug-keys"),s=t("../internals/hidden-keys"),c=t("../internals/html"),u=t("../internals/document-create-element"),l=t("../internals/shared-key")("IE_PROTO"),f=function(){},h=function(t){return"<script>"+t+"<\/script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;d=n?function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};s[l]=!0,e.exports=Object.create||function(t,e){var r;return null!==t?(f.prototype=i(t),r=new f,f.prototype=null,r[l]=t):r=d(),void 0===e?r:o(r,e)}},{"../internals/an-object":223,"../internals/document-create-element":241,"../internals/enum-bug-keys":245,"../internals/hidden-keys":253,"../internals/html":255,"../internals/object-define-properties":277,"../internals/shared-key":299}],277:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-define-property"),o=t("../internals/an-object"),a=t("../internals/object-keys");e.exports=n?Object.defineProperties:function(t,e){o(t);for(var r,n=a(e),s=n.length,c=0;s>c;)i.f(t,r=n[c++],e[r]);return t}},{"../internals/an-object":223,"../internals/descriptors":240,"../internals/object-define-property":278,"../internals/object-keys":285}],278:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/ie8-dom-define"),o=t("../internals/an-object"),a=t("../internals/to-primitive"),s=Object.defineProperty;r.f=n?s:function(t,e,r){if(o(t),e=a(e,!0),o(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},{"../internals/an-object":223,"../internals/descriptors":240,"../internals/ie8-dom-define":256,"../internals/to-primitive":309}],279:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-property-is-enumerable"),o=t("../internals/create-property-descriptor"),a=t("../internals/to-indexed-object"),s=t("../internals/to-primitive"),c=t("../internals/has"),u=t("../internals/ie8-dom-define"),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,e){if(t=a(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},{"../internals/create-property-descriptor":237,"../internals/descriptors":240,"../internals/has":252,"../internals/ie8-dom-define":256,"../internals/object-property-is-enumerable":286,"../internals/to-indexed-object":305,"../internals/to-primitive":309}],280:[function(t,e,r){var n=t("../internals/to-indexed-object"),i=t("../internals/object-get-own-property-names").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(n(t))}},{"../internals/object-get-own-property-names":281,"../internals/to-indexed-object":305}],281:[function(t,e,r){var n=t("../internals/object-keys-internal"),i=t("../internals/enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},{"../internals/enum-bug-keys":245,"../internals/object-keys-internal":284}],282:[function(t,e,r){r.f=Object.getOwnPropertySymbols},{}],283:[function(t,e,r){var n=t("../internals/has"),i=t("../internals/to-object"),o=t("../internals/shared-key"),a=t("../internals/correct-prototype-getter"),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(t){return t=i(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},{"../internals/correct-prototype-getter":234,"../internals/has":252,"../internals/shared-key":299,"../internals/to-object":308}],284:[function(t,e,r){var n=t("../internals/has"),i=t("../internals/to-indexed-object"),o=t("../internals/array-includes").indexOf,a=t("../internals/hidden-keys");e.exports=function(t,e){var r,s=i(t),c=0,u=[];for(r in s)!n(a,r)&&n(s,r)&&u.push(r);for(;e.length>c;)n(s,r=e[c++])&&(~o(u,r)||u.push(r));return u}},{"../internals/array-includes":224,"../internals/has":252,"../internals/hidden-keys":253,"../internals/to-indexed-object":305}],285:[function(t,e,r){var n=t("../internals/object-keys-internal"),i=t("../internals/enum-bug-keys");e.exports=Object.keys||function(t){return n(t,i)}},{"../internals/enum-bug-keys":245,"../internals/object-keys-internal":284}],286:[function(t,e,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);r.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},{}],287:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/a-possible-prototype");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,o){return n(r),i(o),e?t.call(r,o):r.__proto__=o,r}}():void 0)},{"../internals/a-possible-prototype":220,"../internals/an-object":223}],288:[function(t,e,r){var n=t("../internals/descriptors"),i=t("../internals/object-keys"),o=t("../internals/to-indexed-object"),a=t("../internals/object-property-is-enumerable").f,s=function(t){return function(e){for(var r,s=o(e),c=i(s),u=c.length,l=0,f=[];u>l;)r=c[l++],n&&!a.call(s,r)||f.push(t?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},{"../internals/descriptors":240,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/to-indexed-object":305}],289:[function(t,e,r){var n=t("../internals/get-built-in"),i=t("../internals/object-get-own-property-names"),o=t("../internals/object-get-own-property-symbols"),a=t("../internals/an-object");e.exports=n("Reflect","ownKeys")||function(t){var e=i.f(a(t)),r=o.f;return r?e.concat(r(t)):e}},{"../internals/an-object":223,"../internals/get-built-in":249,"../internals/object-get-own-property-names":281,"../internals/object-get-own-property-symbols":282}],290:[function(t,e,r){var n=t("../internals/global");e.exports=n},{"../internals/global":251}],291:[function(t,e,r){e.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},{}],292:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/is-object"),o=t("../internals/new-promise-capability");e.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{"../internals/an-object":223,"../internals/is-object":263,"../internals/new-promise-capability":273}],293:[function(t,e,r){var n=t("../internals/redefine");e.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},{"../internals/redefine":294}],294:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/create-non-enumerable-property"),o=t("../internals/has"),a=t("../internals/set-global"),s=t("../internals/inspect-source"),c=t("../internals/internal-state"),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(t,e,r,s){var c=!!s&&!!s.unsafe,u=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof e||o(r,"name")||i(r,"name",e),l(r).source=f.join("string"==typeof e?e:"")),t!==n?(c?!h&&t[e]&&(u=!0):delete t[e],u?t[e]=r:i(t,e,r)):u?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},{"../internals/create-non-enumerable-property":236,"../internals/global":251,"../internals/has":252,"../internals/inspect-source":258,"../internals/internal-state":259,"../internals/set-global":296}],295:[function(t,e,r){e.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},{}],296:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/create-non-enumerable-property");e.exports=function(t,e){try{i(n,t,e)}catch(r){n[t]=e}return e}},{"../internals/create-non-enumerable-property":236,"../internals/global":251}],297:[function(t,e,r){"use strict";var n=t("../internals/get-built-in"),i=t("../internals/object-define-property"),o=t("../internals/well-known-symbol"),a=t("../internals/descriptors"),s=o("species");e.exports=function(t){var e=n(t),r=i.f;a&&e&&!e[s]&&r(e,s,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":240,"../internals/get-built-in":249,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],298:[function(t,e,r){var n=t("../internals/object-define-property").f,i=t("../internals/has"),o=t("../internals/well-known-symbol")("toStringTag");e.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},{"../internals/has":252,"../internals/object-define-property":278,"../internals/well-known-symbol":314}],299:[function(t,e,r){var n=t("../internals/shared"),i=t("../internals/uid"),o=n("keys");e.exports=function(t){return o[t]||(o[t]=i(t))}},{"../internals/shared":301,"../internals/uid":311}],300:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/set-global"),o=n["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},{"../internals/global":251,"../internals/set-global":296}],301:[function(t,e,r){var n=t("../internals/is-pure"),i=t("../internals/shared-store");(e.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},{"../internals/is-pure":264,"../internals/shared-store":300}],302:[function(t,e,r){var n=t("../internals/an-object"),i=t("../internals/a-function"),o=t("../internals/well-known-symbol")("species");e.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[o])?e:i(r)}},{"../internals/a-function":219,"../internals/an-object":223,"../internals/well-known-symbol":314}],303:[function(t,e,r){var n,i,o,a=t("../internals/global"),s=t("../internals/fails"),c=t("../internals/classof-raw"),u=t("../internals/function-bind-context"),l=t("../internals/html"),f=t("../internals/document-create-element"),h=t("../internals/engine-is-ios"),d=a.location,p=a.setImmediate,m=a.clearImmediate,b=a.process,v=a.MessageChannel,g=a.Dispatch,y=0,w={},x=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},O=function(t){return function(){x(t)}},_=function(t){x(t.data)},S=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};p&&m||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return w[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(y),y},m=function(t){delete w[t]},"process"==c(b)?n=function(t){b.nextTick(O(t))}:g&&g.now?n=function(t){g.now(O(t))}:v&&!h?(o=(i=new v).port2,i.port1.onmessage=_,n=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(S)||"file:"===d.protocol?n="onreadystatechange"in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),x(t)}}:function(t){setTimeout(O(t),0)}:(n=S,a.addEventListener("message",_,!1))),e.exports={set:p,clear:m}},{"../internals/classof-raw":230,"../internals/document-create-element":241,"../internals/engine-is-ios":242,"../internals/fails":247,"../internals/function-bind-context":248,"../internals/global":251,"../internals/html":255}],304:[function(t,e,r){var n=t("../internals/to-integer"),i=Math.max,o=Math.min;e.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},{"../internals/to-integer":306}],305:[function(t,e,r){var n=t("../internals/indexed-object"),i=t("../internals/require-object-coercible");e.exports=function(t){return n(i(t))}},{"../internals/indexed-object":257,"../internals/require-object-coercible":295}],306:[function(t,e,r){var n=Math.ceil,i=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},{}],307:[function(t,e,r){var n=t("../internals/to-integer"),i=Math.min;e.exports=function(t){return t>0?i(n(t),9007199254740991):0}},{"../internals/to-integer":306}],308:[function(t,e,r){var n=t("../internals/require-object-coercible");e.exports=function(t){return Object(n(t))}},{"../internals/require-object-coercible":295}],309:[function(t,e,r){var n=t("../internals/is-object");e.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":263}],310:[function(t,e,r){var n={};n[t("../internals/well-known-symbol")("toStringTag")]="z",e.exports="[object z]"===String(n)},{"../internals/well-known-symbol":314}],311:[function(t,e,r){var n=0,i=Math.random();e.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},{}],312:[function(t,e,r){var n=t("../internals/native-symbol");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":271}],313:[function(t,e,r){var n=t("../internals/well-known-symbol");r.f=n},{"../internals/well-known-symbol":314}],314:[function(t,e,r){var n=t("../internals/global"),i=t("../internals/shared"),o=t("../internals/has"),a=t("../internals/uid"),s=t("../internals/native-symbol"),c=t("../internals/use-symbol-as-uid"),u=i("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||a;e.exports=function(t){return o(u,t)||(s&&o(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},{"../internals/global":251,"../internals/has":252,"../internals/native-symbol":271,"../internals/shared":301,"../internals/uid":311,"../internals/use-symbol-as-uid":312}],315:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/array-iteration").findIndex,o=t("../internals/add-to-unscopables"),a=t("../internals/array-method-uses-to-length"),s=!0,c=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!c},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},{"../internals/add-to-unscopables":221,"../internals/array-iteration":225,"../internals/array-method-uses-to-length":226,"../internals/export":246}],316:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/array-iteration").find,o=t("../internals/add-to-unscopables"),a=t("../internals/array-method-uses-to-length"),s=!0,c=a("find");"find"in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s||!c},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},{"../internals/add-to-unscopables":221,"../internals/array-iteration":225,"../internals/array-method-uses-to-length":226,"../internals/export":246}],317:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/array-includes").includes,o=t("../internals/add-to-unscopables");n({target:"Array",proto:!0,forced:!t("../internals/array-method-uses-to-length")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},{"../internals/add-to-unscopables":221,"../internals/array-includes":224,"../internals/array-method-uses-to-length":226,"../internals/export":246}],318:[function(t,e,r){"use strict";var n=t("../internals/to-indexed-object"),i=t("../internals/add-to-unscopables"),o=t("../internals/iterators"),a=t("../internals/internal-state"),s=t("../internals/define-iterator"),c=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(t,e){c(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},{"../internals/add-to-unscopables":221,"../internals/define-iterator":238,"../internals/internal-state":259,"../internals/iterators":268,"../internals/to-indexed-object":305}],319:[function(t,e,r){t("../internals/export")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},{"../internals/export":246}],320:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/object-assign");n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},{"../internals/export":246,"../internals/object-assign":275}],321:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/to-object"),o=t("../internals/object-keys");n({target:"Object",stat:!0,forced:t("../internals/fails")((function(){o(1)}))},{keys:function(t){return o(i(t))}})},{"../internals/export":246,"../internals/fails":247,"../internals/object-keys":285,"../internals/to-object":308}],322:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/object-to-array").values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},{"../internals/export":246,"../internals/object-to-array":288}],323:[function(t,e,r){"use strict";var n,i,o,a,s=t("../internals/export"),c=t("../internals/is-pure"),u=t("../internals/global"),l=t("../internals/get-built-in"),f=t("../internals/native-promise-constructor"),h=t("../internals/redefine"),d=t("../internals/redefine-all"),p=t("../internals/set-to-string-tag"),m=t("../internals/set-species"),b=t("../internals/is-object"),v=t("../internals/a-function"),g=t("../internals/an-instance"),y=t("../internals/classof-raw"),w=t("../internals/inspect-source"),x=t("../internals/iterate"),O=t("../internals/check-correctness-of-iteration"),_=t("../internals/species-constructor"),S=t("../internals/task").set,k=t("../internals/microtask"),E=t("../internals/promise-resolve"),M=t("../internals/host-report-errors"),C=t("../internals/new-promise-capability"),j=t("../internals/perform"),A=t("../internals/internal-state"),T=t("../internals/is-forced"),P=t("../internals/well-known-symbol"),D=t("../internals/engine-v8-version"),R=P("species"),L="Promise",I=A.get,N=A.set,F=A.getterFor(L),B=f,z=u.TypeError,H=u.document,U=u.process,W=l("fetch"),q=C.f,V=q,G="process"==y(U),Y=!!(H&&H.createEvent&&u.dispatchEvent),X=T(L,(function(){if(w(B)===String(B)){if(66===D)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!B.prototype.finally)return!0;if(D>=51&&/native code/.test(B))return!1;var t=B.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[R]=e,!(t.then((function(){}))instanceof e)})),$=X||!O((function(t){B.all(t).catch((function(){}))})),K=function(t){var e;return!(!b(t)||"function"!=typeof(e=t.then))&&e},Z=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;k((function(){for(var i=e.value,o=1==e.state,a=0;n.length>a;){var s,c,u,l=n[a++],f=o?l.ok:l.fail,h=l.resolve,d=l.reject,p=l.domain;try{f?(o||(2===e.rejection&&et(t,e),e.rejection=1),!0===f?s=i:(p&&p.enter(),s=f(i),p&&(p.exit(),u=!0)),s===l.promise?d(z("Promise-chain cycle")):(c=K(s))?c.call(s,h,d):h(s)):d(i)}catch(t){p&&!u&&p.exit(),d(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Q(t,e)}))}},J=function(t,e,r){var n,i;Y?((n=H.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),u.dispatchEvent(n)):n={promise:e,reason:r},(i=u["on"+t])?i(n):"unhandledrejection"===t&&M("Unhandled promise rejection",r)},Q=function(t,e){S.call(u,(function(){var r,n=e.value;if(tt(e)&&(r=j((function(){G?U.emit("unhandledRejection",n,t):J("unhandledrejection",t,n)})),e.rejection=G||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){S.call(u,(function(){G?U.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(i){t(e,r,i,n)}},nt=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,Z(t,e,!0))},it=function t(e,r,n,i){if(!r.done){r.done=!0,i&&(r=i);try{if(e===n)throw z("Promise can't be resolved itself");var o=K(n);o?k((function(){var i={done:!1};try{o.call(n,rt(t,e,i,r),rt(nt,e,i,r))}catch(n){nt(e,i,n,r)}})):(r.value=n,r.state=1,Z(e,r,!1))}catch(n){nt(e,{done:!1},n,r)}}};X&&(B=function(t){g(this,B,L),v(t),n.call(this);var e=I(this);try{t(rt(it,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){N(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(B.prototype,{then:function(t,e){var r=F(this),n=q(_(this,B));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=G?U.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n,e=I(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(nt,t,e)},C.f=q=function(t){return t===B||t===o?new i(t):V(t)},c||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(t,e){var r=this;return new B((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(B,W.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:X},{Promise:B}),p(B,L,!1,!0),m(L),o=l(L),s({target:L,stat:!0,forced:X},{reject:function(t){var e=q(this);return e.reject.call(void 0,t),e.promise}}),s({target:L,stat:!0,forced:c||X},{resolve:function(t){return E(c&&this===o?B:this,t)}}),s({target:L,stat:!0,forced:$},{all:function(t){var e=this,r=q(e),n=r.resolve,i=r.reject,o=j((function(){var r=v(e.resolve),o=[],a=0,s=1;x(t,(function(t){var c=a++,u=!1;o.push(void 0),s++,r.call(e,t).then((function(t){u||(u=!0,o[c]=t,--s||n(o))}),i)})),--s||n(o)}));return o.error&&i(o.value),r.promise},race:function(t){var e=this,r=q(e),n=r.reject,i=j((function(){var i=v(e.resolve);x(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},{"../internals/a-function":219,"../internals/an-instance":222,"../internals/check-correctness-of-iteration":229,"../internals/classof-raw":230,"../internals/engine-v8-version":244,"../internals/export":246,"../internals/get-built-in":249,"../internals/global":251,"../internals/host-report-errors":254,"../internals/inspect-source":258,"../internals/internal-state":259,"../internals/is-forced":262,"../internals/is-object":263,"../internals/is-pure":264,"../internals/iterate":266,"../internals/microtask":269,"../internals/native-promise-constructor":270,"../internals/new-promise-capability":273,"../internals/perform":291,"../internals/promise-resolve":292,"../internals/redefine":294,"../internals/redefine-all":293,"../internals/set-species":297,"../internals/set-to-string-tag":298,"../internals/species-constructor":302,"../internals/task":303,"../internals/well-known-symbol":314}],324:[function(t,e,r){var n=t("../internals/export"),i=t("../internals/to-absolute-index"),o=String.fromCharCode,a=String.fromCodePoint;n({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,a=0;n>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}})},{"../internals/export":246,"../internals/to-absolute-index":304}],325:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/not-a-regexp"),o=t("../internals/require-object-coercible");n({target:"String",proto:!0,forced:!t("../internals/correct-is-regexp-logic")("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":233,"../internals/export":246,"../internals/not-a-regexp":274,"../internals/require-object-coercible":295}],326:[function(t,e,r){t("../internals/define-well-known-symbol")("asyncIterator")},{"../internals/define-well-known-symbol":239}],327:[function(t,e,r){"use strict";var n=t("../internals/export"),i=t("../internals/global"),o=t("../internals/get-built-in"),a=t("../internals/is-pure"),s=t("../internals/descriptors"),c=t("../internals/native-symbol"),u=t("../internals/use-symbol-as-uid"),l=t("../internals/fails"),f=t("../internals/has"),h=t("../internals/is-array"),d=t("../internals/is-object"),p=t("../internals/an-object"),m=t("../internals/to-object"),b=t("../internals/to-indexed-object"),v=t("../internals/to-primitive"),g=t("../internals/create-property-descriptor"),y=t("../internals/object-create"),w=t("../internals/object-keys"),x=t("../internals/object-get-own-property-names"),O=t("../internals/object-get-own-property-names-external"),_=t("../internals/object-get-own-property-symbols"),S=t("../internals/object-get-own-property-descriptor"),k=t("../internals/object-define-property"),E=t("../internals/object-property-is-enumerable"),M=t("../internals/create-non-enumerable-property"),C=t("../internals/redefine"),j=t("../internals/shared"),A=t("../internals/shared-key"),T=t("../internals/hidden-keys"),P=t("../internals/uid"),D=t("../internals/well-known-symbol"),R=t("../internals/well-known-symbol-wrapped"),L=t("../internals/define-well-known-symbol"),I=t("../internals/set-to-string-tag"),N=t("../internals/internal-state"),F=t("../internals/array-iteration").forEach,B=A("hidden"),z=D("toPrimitive"),H=N.set,U=N.getterFor("Symbol"),W=Object.prototype,q=i.Symbol,V=o("JSON","stringify"),G=S.f,Y=k.f,X=O.f,$=E.f,K=j("symbols"),Z=j("op-symbols"),J=j("string-to-symbol-registry"),Q=j("symbol-to-string-registry"),tt=j("wks"),et=i.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=s&&l((function(){return 7!=y(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(W,e);n&&delete W[e],Y(t,e,r),n&&t!==W&&Y(W,e,n)}:Y,it=function(t,e){var r=K[t]=y(q.prototype);return H(r,{type:"Symbol",tag:t,description:e}),s||(r.description=e),r},ot=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},at=function t(e,r,n){e===W&&t(Z,r,n),p(e);var i=v(r,!0);return p(n),f(K,i)?(n.enumerable?(f(e,B)&&e[B][i]&&(e[B][i]=!1),n=y(n,{enumerable:g(0,!1)})):(f(e,B)||Y(e,B,g(1,{})),e[B][i]=!0),nt(e,i,n)):Y(e,i,n)},st=function(t,e){p(t);var r=b(e),n=w(r).concat(ft(r));return F(n,(function(e){s&&!ct.call(r,e)||at(t,e,r[e])})),t},ct=function(t){var e=v(t,!0),r=$.call(this,e);return!(this===W&&f(K,e)&&!f(Z,e))&&(!(r||!f(this,e)||!f(K,e)||f(this,B)&&this[B][e])||r)},ut=function(t,e){var r=b(t),n=v(e,!0);if(r!==W||!f(K,n)||f(Z,n)){var i=G(r,n);return!i||!f(K,n)||f(r,B)&&r[B][n]||(i.enumerable=!0),i}},lt=function(t){var e=X(b(t)),r=[];return F(e,(function(t){f(K,t)||f(T,t)||r.push(t)})),r},ft=function(t){var e=t===W,r=X(e?Z:b(t)),n=[];return F(r,(function(t){!f(K,t)||e&&!f(W,t)||n.push(K[t])})),n};c||(C((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=P(t),r=function t(r){this===W&&t.call(Z,r),f(this,B)&&f(this[B],e)&&(this[B][e]=!1),nt(this,e,g(1,r))};return s&&rt&&nt(W,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return U(this).tag})),C(q,"withoutSetter",(function(t){return it(P(t),t)})),E.f=ct,k.f=at,S.f=ut,x.f=O.f=lt,_.f=ft,R.f=function(t){return it(D(t),t)},s&&(Y(q.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||C(W,"propertyIsEnumerable",ct,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),F(w(tt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(f(J,e))return J[e];var r=q(e);return J[e]=r,Q[r]=e,r},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(f(Q,t))return Q[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?y(t):st(y(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ut}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt,getOwnPropertySymbols:ft}),n({target:"Object",stat:!0,forced:l((function(){_.f(1)}))},{getOwnPropertySymbols:function(t){return _.f(m(t))}}),V&&n({target:"JSON",stat:!0,forced:!c||l((function(){var t=q();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],o=1;arguments.length>o;)i.push(arguments[o++]);if(n=e,(d(e)||void 0!==t)&&!ot(t))return h(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!ot(e))return e}),i[1]=e,V.apply(null,i)}}),q.prototype[z]||M(q.prototype,z,q.prototype.valueOf),I(q,"Symbol"),T[B]=!0},{"../internals/an-object":223,"../internals/array-iteration":225,"../internals/create-non-enumerable-property":236,"../internals/create-property-descriptor":237,"../internals/define-well-known-symbol":239,"../internals/descriptors":240,"../internals/export":246,"../internals/fails":247,"../internals/get-built-in":249,"../internals/global":251,"../internals/has":252,"../internals/hidden-keys":253,"../internals/internal-state":259,"../internals/is-array":261,"../internals/is-object":263,"../internals/is-pure":264,"../internals/native-symbol":271,"../internals/object-create":276,"../internals/object-define-property":278,"../internals/object-get-own-property-descriptor":279,"../internals/object-get-own-property-names":281,"../internals/object-get-own-property-names-external":280,"../internals/object-get-own-property-symbols":282,"../internals/object-keys":285,"../internals/object-property-is-enumerable":286,"../internals/redefine":294,"../internals/set-to-string-tag":298,"../internals/shared":301,"../internals/shared-key":299,"../internals/to-indexed-object":305,"../internals/to-object":308,"../internals/to-primitive":309,"../internals/uid":311,"../internals/use-symbol-as-uid":312,"../internals/well-known-symbol":314,"../internals/well-known-symbol-wrapped":313}],328:[function(t,e,r){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(t){return Object.prototype.toString.call(t)}r.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},r.isBoolean=function(t){return"boolean"==typeof t},r.isNull=function(t){return null===t},r.isNullOrUndefined=function(t){return null==t},r.isNumber=function(t){return"number"==typeof t},r.isString=function(t){return"string"==typeof t},r.isSymbol=function(t){return"symbol"===e(t)},r.isUndefined=function(t){return void 0===t},r.isRegExp=function(t){return"[object RegExp]"===n(t)},r.isObject=function(t){return"object"===e(t)&&null!==t},r.isDate=function(t){return"[object Date]"===n(t)},r.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},r.isFunction=function(t){return"function"==typeof t},r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===e(t)||void 0===t},r.isBuffer=t.isBuffer}).call(this,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":388}],329:[function(t,e,r){(function(r){"use strict";var n=t("elliptic"),i=t("bn.js");e.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(t,e,n){Array.isArray(t)||(t=t.toArray());var i=new r(t);if(n&&i.length<n){var o=new r(n-i.length);o.fill(0),i=r.concat([o,i])}return e?i.toString(e):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},a.prototype.computeSecret=function(t,e,n){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),s(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,t)},a.prototype.getPrivateKey=function(t){return s(this.keys.getPrivate(),t)},a.prototype.setPublicKey=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.keys._importPublic(t),this},a.prototype.setPrivateKey=function(t,e){e=e||"utf8",r.isBuffer(t)||(t=new r(t,e));var n=new i(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,t("buffer").Buffer)},{"bn.js":330,buffer:216,elliptic:350}],330:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],331:[function(t,e,r){"use strict";var n=t("inherits"),i=t("md5.js"),o=t("ripemd160"),a=t("sha.js"),s=t("cipher-base");function c(t){s.call(this,"digest"),this._hash=t}n(c,s),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new c(a(t))}},{"cipher-base":218,inherits:387,"md5.js":434,ripemd160:493,"sha.js":499}],332:[function(t,e,r){"use strict";var n=t("md5.js");e.exports=function(t){return(new n).update(t).digest()}},{"md5.js":434}],333:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./legacy"),o=t("cipher-base"),a=t("safe-buffer").Buffer,s=t("create-hash/md5"),c=t("ripemd160"),u=t("sha.js"),l=a.alloc(128);function f(t,e){o.call(this,"digest"),"string"==typeof e&&(e=a.from(e));var r="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>r?e=("rmd160"===t?new c:u(t)).update(e).digest():e.length<r&&(e=a.concat([e,l],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new c:u(t),this._hash.update(n)}n(f,o),f.prototype._update=function(t){this._hash.update(t)},f.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(t).digest()},e.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new f("rmd160",e):"md5"===t?new i(s,e):new f(t,e)}},{"./legacy":334,"cipher-base":218,"create-hash/md5":332,inherits:387,ripemd160:493,"safe-buffer":494,"sha.js":499}],334:[function(t,e,r){"use strict";var n=t("inherits"),i=t("safe-buffer").Buffer,o=t("cipher-base"),a=i.alloc(128);function s(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=i.concat([e,a],64));for(var r=this._ipad=i.allocUnsafe(64),n=this._opad=i.allocUnsafe(64),s=0;s<64;s++)r[s]=54^e[s],n[s]=92^e[s];this._hash=[r]}n(s,o),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},e.exports=s},{"cipher-base":218,inherits:387,"safe-buffer":494}],335:[function(t,e,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=t("randombytes"),r.createHash=r.Hash=t("create-hash"),r.createHmac=r.Hmac=t("create-hmac");var n=t("browserify-sign/algos"),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return o};var a=t("pbkdf2");r.pbkdf2=a.pbkdf2,r.pbkdf2Sync=a.pbkdf2Sync;var s=t("browserify-cipher");r.Cipher=s.Cipher,r.createCipher=s.createCipher,r.Cipheriv=s.Cipheriv,r.createCipheriv=s.createCipheriv,r.Decipher=s.Decipher,r.createDecipher=s.createDecipher,r.Decipheriv=s.Decipheriv,r.createDecipheriv=s.createDecipheriv,r.getCiphers=s.getCiphers,r.listCiphers=s.listCiphers;var c=t("diffie-hellman");r.DiffieHellmanGroup=c.DiffieHellmanGroup,r.createDiffieHellmanGroup=c.createDiffieHellmanGroup,r.getDiffieHellman=c.getDiffieHellman,r.createDiffieHellman=c.createDiffieHellman,r.DiffieHellman=c.DiffieHellman;var u=t("browserify-sign");r.createSign=u.createSign,r.Sign=u.Sign,r.createVerify=u.createVerify,r.Verify=u.Verify,r.createECDH=t("create-ecdh");var l=t("public-encrypt");r.publicEncrypt=l.publicEncrypt,r.privateEncrypt=l.privateEncrypt,r.publicDecrypt=l.publicDecrypt,r.privateDecrypt=l.privateDecrypt;var f=t("randomfill");r.randomFill=f.randomFill,r.randomFillSync=f.randomFillSync,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":203,"browserify-sign":211,"browserify-sign/algos":208,"create-ecdh":329,"create-hash":331,"create-hmac":333,"diffie-hellman":345,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],336:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,i){"object"==(void 0===r?"undefined":n(r))&&void 0!==e?e.exports=i():(void 0).dayjs=i()}(0,(function(){var t="millisecond",e="second",r="minute",i="hour",o="day",a="week",s="month",c="quarter",u="year",l="date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,h=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},p={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+d(n,2,"0")+":"+d(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.add(n,s),o=r-i<0,a=e.add(n+(o?-1:1),s);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(n){return{M:s,y:u,w:a,d:o,D:l,h:i,m:r,s:e,ms:t,Q:c}[n]||String(n||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},b="en",v={};v[b]=m;var g=function(t){return t instanceof O},y=function(t,e,r){var n;if(!t)return b;if("string"==typeof t)v[t]&&(n=t),e&&(v[t]=e,n=t);else{var i=t.name;v[i]=t,n=i}return!r&&n&&(b=n),n||!r&&b},w=function(t,e){if(g(t))return t.clone();var r="object"==n(e)?e:{};return r.date=t,r.args=arguments,new O(r)},x=p;x.l=y,x.i=g,x.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var O=function(){function n(t){this.$L=this.$L||y(t.locale,null,!0),this.parse(t)}var d=n.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(f);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return x},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,e){var r=w(t);return this.startOf(e)<=r&&r<=this.endOf(e)},d.isAfter=function(t,e){return w(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<w(t)},d.$g=function(t,e,r){return x.u(t)?this[e]:this.set(r,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,n){var c=this,f=!!x.u(n)||n,h=x.p(t),d=function(t,e){var r=x.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return f?r:r.endOf(o)},p=function(t,e){return x.w(c.toDate()[t].apply(c.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},m=this.$W,b=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case u:return f?d(1,0):d(31,11);case s:return f?d(1,b):d(0,b+1);case a:var y=this.$locale().weekStart||0,w=(m<y?m+7:m)-y;return d(f?v-w:v+(6-w),b);case o:case l:return p(g+"Hours",0);case i:return p(g+"Minutes",1);case r:return p(g+"Seconds",2);case e:return p(g+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(n,a){var c,f=x.p(n),h="set"+(this.$u?"UTC":""),d=(c={},c[o]=h+"Date",c[l]=h+"Date",c[s]=h+"Month",c[u]=h+"FullYear",c[i]=h+"Hours",c[r]=h+"Minutes",c[e]=h+"Seconds",c[t]=h+"Milliseconds",c)[f],p=f===o?this.$D+(a-this.$W):a;if(f===s||f===u){var m=this.clone().set(l,1);m.$d[d](p),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[x.p(t)]()},d.add=function(t,n){var c,l=this;t=Number(t);var f=x.p(n),h=function(e){var r=w(l);return x.w(r.date(r.date()+Math.round(e*t)),l)};if(f===s)return this.set(s,this.$M+t);if(f===u)return this.set(u,this.$y+t);if(f===o)return h(1);if(f===a)return h(7);var d=(c={},c[r]=6e4,c[i]=36e5,c[e]=1e3,c)[f]||1,p=this.$d.getTime()+t*d;return x.w(p,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var r=t||"YYYY-MM-DDTHH:mm:ssZ",n=x.z(this),i=this.$locale(),o=this.$H,a=this.$m,s=this.$M,c=i.weekdays,u=i.months,l=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].substr(0,o)},f=function(t){return x.s(o%12||12,t,"0")},d=i.meridiem||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:x.s(s+1,2,"0"),MMM:l(i.monthsShort,s,u,3),MMMM:l(u,s),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:l(i.weekdaysMin,this.$W,c,2),ddd:l(i.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:x.s(o,2,"0"),h:f(1),hh:f(2),a:d(o,a,!0),A:d(o,a,!1),m:String(a),mm:x.s(a,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:n};return r.replace(h,(function(t,e){return e||p[t]||n.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,n,l){var f,h=x.p(n),d=w(t),p=6e4*(d.utcOffset()-this.utcOffset()),m=this-d,b=x.m(this,d);return b=(f={},f[u]=b/12,f[s]=b,f[c]=b/3,f[a]=(m-p)/6048e5,f[o]=(m-p)/864e5,f[i]=m/36e5,f[r]=m/6e4,f[e]=m/1e3,f)[h]||m,l?b:x.a(b)},d.daysInMonth=function(){return this.endOf(s).$D},d.$locale=function(){return v[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=y(t,e,!0);return n&&(r.$L=n),r},d.clone=function(){return x.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},n}(),_=O.prototype;return w.prototype=_,[["$ms",t],["$s",e],["$m",r],["$H",i],["$W",o],["$M",s],["$y",u],["$D",l]].forEach((function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t(e,O,w),w},w.locale=y,w.isDayjs=g,w.unix=function(t){return w(1e3*t)},w.en=v[b],w.Ls=v,w}))},{}],337:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,i){"object"==(void 0===r?"undefined":n(r))&&void 0!==e?e.exports=i():(void 0).dayjs_plugin_customParseFormat=i()}(0,(function(){var t,e=/(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,n=/\d\d?/,i=/\d*[^\s\d-:/()]+/,o=function(t){return function(e){this[t]=+e}},a=[/[+-]\d\d:?\d\d/,function(t){var e,r;(this.zone||(this.zone={})).offset=0==(r=60*(e=t.match(/([+-]|\d\d)/g))[1]+ +e[2])?0:"+"===e[0]?-r:r}],s=function(e){var r=t[e];return r&&(r.indexOf?r:r.s.concat(r.f))},c={A:[/[AP]M/,function(t){this.afternoon="PM"===t}],a:[/[ap]m/,function(t){this.afternoon="pm"===t}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[r,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[n,o("seconds")],ss:[n,o("seconds")],m:[n,o("minutes")],mm:[n,o("minutes")],H:[n,o("hours")],h:[n,o("hours")],HH:[n,o("hours")],hh:[n,o("hours")],D:[n,o("day")],DD:[r,o("day")],Do:[i,function(e){var r=t.ordinal,n=e.match(/\d+/);if(this.day=n[0],r)for(var i=1;i<=31;i+=1)r(i).replace(/\[|\]/g,"")===e&&(this.day=i)}],M:[n,o("month")],MM:[r,o("month")],MMM:[i,function(t){var e=s("months"),r=(s("monthsShort")||e.map((function(t){return t.substr(0,3)}))).indexOf(t)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[i,function(t){var e=s("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[r,function(t){t=+t,this.year=t+(t>68?1900:2e3)}],YYYY:[/\d{4}/,o("year")],Z:a,ZZ:a},u=function(t,r,n){try{var i=function(t){for(var r=t.match(e),n=r.length,i=0;i<n;i+=1){var o=r[i],a=c[o],s=a&&a[0],u=a&&a[1];r[i]=u?{regex:s,parser:u}:o.replace(/^\[|\]$/g,"")}return function(t){for(var e={},i=0,o=0;i<n;i+=1){var a=r[i];if("string"==typeof a)o+=a.length;else{var s=a.regex,c=a.parser,u=t.substr(o),l=s.exec(u)[0];c.call(e,l),t=t.replace(l,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var r=t.hours;e?r<12&&(t.hours+=12):12===r&&(t.hours=0),delete t.afternoon}}(e),e}}(r)(t),o=i.year,a=i.month,s=i.day,u=i.hours,l=i.minutes,f=i.seconds,h=i.milliseconds,d=i.zone,p=new Date,m=s||(o||a?1:p.getDate()),b=o||p.getFullYear(),v=0;o&&!a||(v=a>0?a-1:p.getMonth());var g=u||0,y=l||0,w=f||0,x=h||0;return d?new Date(Date.UTC(b,v,m,g,y,w,x+60*d.offset*1e3)):n?new Date(Date.UTC(b,v,m,g,y,w,x)):new Date(b,v,m,g,y,w,x)}catch(t){return new Date("")}};return function(e,r,n){var i=r.prototype,o=i.parse;i.parse=function(e){var r=e.date,i=e.utc,a=e.args;this.$u=i;var s=a[1];if("string"==typeof s){var c=!0===a[2],l=!0===a[3],f=c||l,h=a[2];l&&(h=a[2]),c||(t=h?n.Ls[h]:this.$locale()),this.$d=u(r,s,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),f&&r!==this.format(s)&&(this.$d=new Date(""))}else if(s instanceof Array)for(var d=s.length,p=1;p<=d;p+=1){a[1]=s[p-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===d&&(this.$d=new Date(""))}else o.call(this,e)}}}))},{}],338:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;i=function(){return function(t,e,r){var n=(new Date).getTimezoneOffset(),i=e.prototype;r.utc=function(t){return new e({date:t,utc:!0,args:arguments})},i.utc=function(){return r(this.toDate(),{locale:this.$L,utc:!0})},i.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var o=i.parse;i.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var a=i.init;i.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else a.call(this)};var s=i.utcOffset;i.utcOffset=function(t,e){var r=this.$utils().u;if(r(t))return this.$u?0:r(this.$offset)?s.call(this):this.$offset;var i=Math.abs(t)<=16?60*t:t,o=this;return e?(o.$offset=i,o.$u=0===t,o):(0!==t?(o=this.local().add(i+n,"minute")).$offset=i:o=this.utc(),o)};var c=i.format;i.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,e)},i.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+n;return this.$d.valueOf()-6e4*t},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var u=i.toDate;i.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var l=i.diff;i.diff=function(t,e,n){var i=this.local(),o=r(t).local();return l.call(i,o,e,n)}}},"object"==(void 0===r?"undefined":n(r))&&void 0!==e?e.exports=i():(void 0).dayjs_plugin_utc=i()},{}],339:[function(t,e,r){"use strict";r.utils=t("./des/utils"),r.Cipher=t("./des/cipher"),r.DES=t("./des/des"),r.CBC=t("./des/cbc"),r.EDE=t("./des/ede")},{"./des/cbc":340,"./des/cipher":341,"./des/des":342,"./des/ede":343,"./des/utils":344}],340:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits"),o={};function a(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}r.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];for(o._update.call(this,a,0,r,n),s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{for(o._update.call(this,t,e,r,n),s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},{inherits:387,"minimalistic-assert":437}],341:[function(t,e,r){"use strict";var n=t("minimalistic-assert");function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var r=Math.min(this.buffer.length-this.bufferOff,t.length-e),n=0;n<r;n++)this.buffer[this.bufferOff+n]=t[e+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,r=0,n=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,r),r+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,r=0,n=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)e+=this._buffer(t,e),r+=this._flushBuffer(i,r);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},{"minimalistic-assert":437}],342:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits"),o=t("./utils"),a=t("./cipher");function s(){this.tmp=new Array(2),this.keys=null}function c(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(c,a),e.exports=c,c.create=function(t){return new c(t)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(r,i,t.tmp,0),r=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=u[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,t.keys,a)}},c.prototype._update=function(t,e,r,n){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},c.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n<t.length;n++)t[n]=r;return!0},c.prototype._unpad=function(t){for(var e=t[t.length-1],r=t.length-e;r<t.length;r++)n.equal(t[r],e);return t.slice(0,t.length-e)},c.prototype._encrypt=function(t,e,r,n,i){for(var a=e,s=r,c=0;c<t.keys.length;c+=2){var u=t.keys[c],l=t.keys[c+1];o.expand(s,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=s;s=(a^o.permute(f))>>>0,a=h}o.rip(s,a,n,i)},c.prototype._decrypt=function(t,e,r,n,i){for(var a=r,s=e,c=t.keys.length-2;c>=0;c-=2){var u=t.keys[c],l=t.keys[c+1];o.expand(a,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=a;a=(s^o.permute(f))>>>0,s=h}o.rip(a,s,n,i)}},{"./cipher":341,"./utils":344,inherits:387,"minimalistic-assert":437}],343:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits"),o=t("./cipher"),a=t("./des");function s(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function c(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(c,o),e.exports=c,c.create=function(t){return new c(t)},c.prototype._update=function(t,e,r,n){var i=this._edeState;i.ciphers[0]._update(t,e,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad},{"./cipher":341,"./des":342,inherits:387,"minimalistic-assert":437}],344:[function(t,e,r){"use strict";r.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},r.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},r.ip=function(t,e,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},r.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},r.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,c=0;c<s;c++)o<<=1,o|=t>>>n[c]&1;for(c=s;c<n.length;c++)a<<=1,a|=e>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},r.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(t,e){for(var r=0,n=0;n<4;n++)r<<=4,r|=i[64*n+(t>>>18-6*n&63)];for(n=0;n<4;n++)r<<=4,r|=i[256+64*n+(e>>>18-6*n&63)];return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(t){for(var e=0,r=0;r<o.length;r++)e<<=1,e|=t>>>o[r]&1;return e>>>0},r.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var i=[],o=0;o<e;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},{}],345:[function(t,e,r){(function(e){"use strict";var n=t("./lib/generatePrime"),i=t("./lib/primes.json"),o=t("./lib/dh"),a={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(t){var r=new e(i[t].prime,"hex"),n=new e(i[t].gen,"hex");return new o(r,n)},r.createDiffieHellman=r.DiffieHellman=function t(r,i,s,c){return e.isBuffer(i)||void 0===a[i]?t(r,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new e([2]),e.isBuffer(s)||(s=new e(s,c)),"number"==typeof r?new o(n(r,s),s,!0):(e.isBuffer(r)||(r=new e(r,i)),new o(r,s,!0)))}}).call(this,t("buffer").Buffer)},{"./lib/dh":346,"./lib/generatePrime":347,"./lib/primes.json":348,buffer:216}],346:[function(t,e,r){(function(r){"use strict";var n=t("bn.js"),i=new(t("miller-rabin")),o=new n(24),a=new n(11),s=new n(10),c=new n(3),u=new n(7),l=t("./generatePrime"),f=t("randombytes");function h(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._pub=new n(t),this}function d(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this._priv=new n(t),this}e.exports=m;var p={};function m(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=d):this._primeCode=8}function b(t,e){var n=new r(t.toArray());return e?n.toString(e):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in p)return p[n];var f,h=0;if(t.isEven()||!l.simpleSieve||!l.fermatTest(t)||!i.test(t))return h+=1,h+="02"===r||"05"===r?8:4,p[n]=h,h;switch(i.test(t.shrn(1))||(h+=2),r){case"02":t.mod(o).cmp(a)&&(h+=8);break;case"05":(f=t.mod(s)).cmp(c)&&f.cmp(u)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(t){var e=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new r(e.toArray()),o=this.getPrime();if(i.length<o.length){var a=new r(o.length-i.length);a.fill(0),i=r.concat([a,i])}return i},m.prototype.getPublicKey=function(t){return b(this._pub,t)},m.prototype.getPrivateKey=function(t){return b(this._priv,t)},m.prototype.getPrime=function(t){return b(this.__prime,t)},m.prototype.getGenerator=function(t){return b(this._gen,t)},m.prototype.setGenerator=function(t,e){return e=e||"utf8",r.isBuffer(t)||(t=new r(t,e)),this.__gen=t,this._gen=new n(t),this}}).call(this,t("buffer").Buffer)},{"./generatePrime":347,"bn.js":349,buffer:216,"miller-rabin":435,randombytes:475}],347:[function(t,e,r){"use strict";var n=t("randombytes");e.exports=v,v.simpleSieve=m,v.fermatTest=b;var i=t("bn.js"),o=new i(24),a=new(t("miller-rabin")),s=new i(1),c=new i(2),u=new i(5),l=(new i(16),new i(8),new i(10)),f=new i(3),h=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function m(t){for(var e=function(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<e&&t[i]<=n&&r%t[i]!=0;i++);e!==i&&t[i]<=n||(t[e++]=r)}return p=t,t}(),r=0;r<e.length;r++)if(0===t.modn(e[r]))return 0===t.cmpn(e[r]);return!0}function b(t){var e=i.mont(t);return 0===c.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function v(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var r,p;for(e=new i(e);;){for(r=new i(n(Math.ceil(t/8)));r.bitLength()>t;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(c),e.cmp(c)){if(!e.cmp(u))for(;r.mod(l).cmp(f);)r.iadd(d)}else for(;r.mod(o).cmp(h);)r.iadd(d);if(m(p=r.shrn(1))&&m(r)&&b(p)&&b(r)&&a.test(p)&&a.test(r))return r}}},{"bn.js":349,"miller-rabin":435,randombytes:475}],348:[function(t,e,r){e.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],349:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],350:[function(t,e,r){"use strict";var n=r;n.version=t("../package.json").version,n.utils=t("./elliptic/utils"),n.rand=t("brorand"),n.curve=t("./elliptic/curve"),n.curves=t("./elliptic/curves"),n.ec=t("./elliptic/ec"),n.eddsa=t("./elliptic/eddsa")},{"../package.json":366,"./elliptic/curve":353,"./elliptic/curves":356,"./elliptic/ec":357,"./elliptic/eddsa":360,"./elliptic/utils":364,brorand:184}],351:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("../utils"),o=i.getNAF,a=i.getJSF,s=i.assert;function c(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(t,e){this.curve=t,this.type=e,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(t,e){s(t.precomputed);var r=t._getDoubles(),n=o(e,1,this._bitLength),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;for(var a=[],c=0;c<n.length;c+=r.step){var u=0;for(e=c+r.step-1;e>=c;e--)u=(u<<1)+n[e];a.push(u)}for(var l=this.jpoint(null,null,null),f=this.jpoint(null,null,null),h=i;h>0;h--){for(c=0;c<a.length;c++)(u=a[c])===h?f=f.mixedAdd(r.points[c]):u===-h&&(f=f.mixedAdd(r.points[c].neg()));l=l.add(f)}return l.toP()},c.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(e,r,this._bitLength),c=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(e=0;u>=0&&0===a[u];u--)e++;if(u>=0&&e++,c=c.dblp(e),u<0)break;var l=a[u];s(0!==l),c="affine"===t.type?l>0?c.mixedAdd(i[l-1>>1]):c.mixedAdd(i[-l-1>>1].neg()):l>0?c.add(i[l-1>>1]):c.add(i[-l-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,e,r,n,i){for(var s=this._wnafT1,c=this._wnafT2,u=this._wnafT3,l=0,f=0;f<n;f++){var h=(k=e[f])._getNAFPoints(t);s[f]=h.wnd,c[f]=h.points}for(f=n-1;f>=1;f-=2){var d=f-1,p=f;if(1===s[d]&&1===s[p]){var m=[e[d],null,null,e[p]];0===e[d].y.cmp(e[p].y)?(m[1]=e[d].add(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg())):0===e[d].y.cmp(e[p].y.redNeg())?(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].add(e[p].neg())):(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],v=a(r[d],r[p]);l=Math.max(v[0].length,l),u[d]=new Array(l),u[p]=new Array(l);for(var g=0;g<l;g++){var y=0|v[0][g],w=0|v[1][g];u[d][g]=b[3*(y+1)+(w+1)],u[p][g]=0,c[d]=m}}else u[d]=o(r[d],s[d],this._bitLength),u[p]=o(r[p],s[p],this._bitLength),l=Math.max(u[d].length,l),l=Math.max(u[p].length,l)}var x=this.jpoint(null,null,null),O=this._wnafT4;for(f=l;f>=0;f--){for(var _=0;f>=0;){var S=!0;for(g=0;g<n;g++)O[g]=0|u[g][f],0!==O[g]&&(S=!1);if(!S)break;_++,f--}if(f>=0&&_++,x=x.dblp(_),f<0)break;for(g=0;g<n;g++){var k,E=O[g];0!==E&&(E>0?k=c[g][E-1>>1]:E<0&&(k=c[g][-E-1>>1].neg()),x="affine"===k.type?x.mixedAdd(k):x.add(k))}}for(f=0;f<n;f++)c[f]=null;return i?x:x.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*r)return 6===t[0]?s(t[t.length-1]%2==0):7===t[0]&&s(t[t.length-1]%2==1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(t){return this.encode(t,!0)},u.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},u.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},u.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},u.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},u.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},u.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}},{"../utils":364,"bn.js":365}],352:[function(t,e,r){"use strict";var n=t("../utils"),i=t("bn.js"),o=t("inherits"),a=t("./base"),s=n.assert;function c(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function u(t,e,r,n,o){a.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),e.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(e&&!c||!e&&c)&&(s=s.redNeg()),this.point(t,s)},c.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},o(u,a.BasePoint),c.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},c.prototype.point=function(t,e,r,n){return new u(this,t,e,r,n)},u.fromJSON=function(t,e){return new u(t,e[0],e[1],e[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),c=i.redMul(a),u=o.redMul(s),l=i.redMul(s),f=a.redMul(o);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var t,e,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=(u=this.curve._mulA(i)).redAdd(o);if(this.zOne)t=n.redSub(i).redSub(o).redMul(a.redSub(this.curve.two)),e=a.redMul(u.redSub(o)),r=a.redSqr().redSub(a).redSub(a);else{var s=this.z.redSqr(),c=a.redSub(s).redISub(s);t=n.redSub(i).redISub(o).redMul(c),e=a.redMul(u.redSub(o)),r=a.redMul(c)}}else{var u=i.redAdd(o);s=this.curve._mulC(this.z).redSqr(),c=u.redSub(s).redSub(s),t=this.curve._mulC(n.redISub(u)).redMul(c),e=this.curve._mulC(u).redMul(i.redISub(o)),r=u.redMul(c)}return this.curve.point(t,e,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),c=r.redAdd(e),u=o.redMul(a),l=s.redMul(c),f=o.redMul(c),h=a.redMul(s);return this.curve.point(u,l,h,f)},u.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),u=i.redAdd(s),l=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),f=n.redMul(c).redMul(l);return this.curve.twisted?(e=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=c.redMul(u)):(e=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,e,r)},u.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},u.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},u.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},u.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],353:[function(t,e,r){"use strict";var n=r;n.base=t("./base"),n.short=t("./short"),n.mont=t("./mont"),n.edwards=t("./edwards")},{"./base":351,"./edwards":352,"./mont":354,"./short":355}],354:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("inherits"),o=t("./base"),a=t("../utils");function s(t){o.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,e,r){o.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},i(c,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new c(this,t,e)},s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,e){return new c(t,e[0],e[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),i=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(r),a=i.redMul(n),s=e.z.redMul(o.redAdd(a).redSqr()),c=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],355:[function(t,e,r){"use strict";var n=t("../utils"),i=t("bn.js"),o=t("inherits"),a=t("./base"),s=n.assert;function c(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(t,e,r,n){a.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(t,e,r,n){a.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),e.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(t){for(var e,r,n,o,a,s,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=t,d=this.n.clone(),p=new i(1),m=new i(0),b=new i(0),v=new i(1),g=0;0!==h.cmpn(0);){var y=d.div(h);u=d.sub(y.mul(h)),l=b.sub(y.mul(p));var w=v.sub(y.mul(m));if(!n&&u.cmp(f)<0)e=c.neg(),r=p,n=u.neg(),o=l;else if(n&&2==++g)break;c=u,d=h,h=u,b=p,p=l,v=m,m=w}a=u.neg(),s=l;var x=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(x)>=0&&(a=e,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),c=i.mul(r.b),u=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:c.add(u).neg()}},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],c=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),c=c.neg(!0)),n[2*o]=s,n[2*o+1]=c,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return u},o(u,a.BasePoint),c.prototype.point=function(t,e,r){return new u(this,t,e,r)},c.prototype.pointFromJSON=function(t,e){return u.fromJSON(this,t,e)},u.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(t,e,r){"string"==typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},u.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,a.BasePoint),c.prototype.jpoint=function(t,e,r){return new l(this,t,e,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=n.redMul(u),h=c.redSqr().redIAdd(l).redISub(f).redISub(f),d=c.redMul(f.redISub(h)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,d,p)},l.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),l=r.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),h=s.redMul(l.redISub(f)).redISub(i.redMul(u)),d=this.z.redMul(a);return this.curve.jpoint(f,h,d)},l.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,c=s.redSqr().redSqr(),u=a.redAdd(a);for(r=0;r<t;r++){var l=o.redSqr(),f=u.redSqr(),h=f.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),p=o.redMul(f),m=d.redSqr().redISub(p.redAdd(p)),b=p.redISub(m),v=d.redMul(b);v=v.redIAdd(v).redISub(h);var g=u.redMul(s);r+1<t&&(c=c.redMul(h)),o=m,s=g,u=v}return this.curve.jpoint(o,u.redMul(i),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=c,e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),f=this.y.redSqr(),h=f.redSqr(),d=this.x.redAdd(f).redSqr().redISub(l).redISub(h);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),b=h.redIAdd(h);b=(b=b.redIAdd(b)).redIAdd(b),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(b),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},l.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(a).redISub(a);t=c;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),f=this.y.redSqr(),h=this.x.redMul(f),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(l);var b=f.redSqr();b=(b=(b=b.redIAdd(b)).redIAdd(b)).redIAdd(b),e=d.redMul(p.redISub(t)).redISub(b)}return this.curve.jpoint(t,e,r)},l.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),c=e.redAdd(e),u=(c=c.redIAdd(c)).redMul(a),l=s.redSqr().redISub(u.redAdd(u)),f=u.redISub(l),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=s.redMul(f).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,p)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(c),l=e.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var f=this.x.redMul(s).redISub(l);f=(f=f.redIAdd(f)).redIAdd(f);var h=this.y.redMul(u.redMul(c.redISub(u)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,h,d)},l.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},l.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":364,"./base":351,"bn.js":365,inherits:387}],356:[function(t,e,r){"use strict";var n,i=r,o=t("hash.js"),a=t("./curve"),s=t("./utils").assert;function c(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new c(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=t("./precomputed/secp256k1")}catch(t){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"./curve":353,"./precomputed/secp256k1":363,"./utils":364,"hash.js":372}],357:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("bn.js"),o=t("hmac-drbg"),a=t("../utils"),s=t("../curves"),c=t("brorand"),u=a.assert,l=t("./key"),f=t("./signature");function h(t){if(!(this instanceof h))return new h(t);"string"==typeof t&&(u(s.hasOwnProperty(t),"Unknown curve "+t),t=s[t]),t instanceof s.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}e.exports=h,h.prototype.keyPair=function(t){return new l(this,t)},h.prototype.keyFromPrivate=function(t,e){return l.fromPrivate(this,t,e)},h.prototype.keyFromPublic=function(t,e){return l.fromPublic(this,t,e)},h.prototype.genKeyPair=function(t){t||(t={});for(var e=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||c(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var a=new i(e.generate(r));if(!(a.cmp(n)>0))return a.iaddn(1),this.keyFromPrivate(a)}},h.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},h.prototype.sign=function(t,e,r,a){"object"===n(r)&&(a=r,r=null),a||(a={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new i(t,16));for(var s=this.n.byteLength(),c=e.getPrivate().toArray("be",s),u=t.toArray("be",s),l=new o({hash:this.hash,entropy:c,nonce:u,pers:a.pers,persEnc:a.persEnc||"utf8"}),h=this.n.sub(new i(1)),d=0;;d++){var p=a.k?a.k(d):new i(l.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(h)>=0)){var m=this.g.mul(p);if(!m.isInfinity()){var b=m.getX(),v=b.umod(this.n);if(0!==v.cmpn(0)){var g=p.invm(this.n).mul(v.mul(e.getPrivate()).iadd(t));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(m.getY().isOdd()?1:0)|(0!==b.cmp(v)?2:0);return a.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new f({r:v,s:g,recoveryParam:y})}}}}}},h.prototype.verify=function(t,e,r,n){t=this._truncateToN(new i(t,16)),r=this.keyFromPublic(r,n);var o=(e=new f(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(t).umod(this.n),l=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),l)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},h.prototype.recoverPubKey=function(t,e,r,n){u((3&r)===r,"The recovery param is more than two bits"),e=new f(e,n);var o=this.n,a=new i(t),s=e.r,c=e.s,l=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),l):this.curve.pointFromX(s,l);var d=e.r.invm(o),p=o.sub(a).mul(d).umod(o),m=c.mul(d).umod(o);return this.g.mulAdd(p,s,m)},h.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new f(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":356,"../utils":364,"./key":358,"./signature":359,"bn.js":365,brorand:184,"hmac-drbg":384}],358:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("../utils").assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}e.exports=o,o.fromPublic=function(t,e,r){return e instanceof o?e:new o(t,{pub:e,pubEnc:r})},o.fromPrivate=function(t,e,r){return e instanceof o?e:new o(t,{priv:e,privEnc:r})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.mul(this.priv).getX()},o.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":364,"bn.js":365}],359:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("../utils"),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function c(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=e.place;o<n;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function u(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e<r;)e++;return 0===e?t:t.slice(e)}function l(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}e.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new s;if(48!==t[r.place++])return!1;var o=c(t,r);if(!1===o)return!1;if(o+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var a=c(t,r);if(!1===a)return!1;var u=t.slice(r.place,a+r.place);if(r.place+=a,2!==t[r.place++])return!1;var l=c(t,r);if(!1===l)return!1;if(t.length!==l+r.place)return!1;var f=t.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=u(e),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,e.length),(n=n.concat(e)).push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,t)}},{"../utils":364,"bn.js":365}],360:[function(t,e,r){"use strict";var n=t("hash.js"),i=t("../curves"),o=t("../utils"),a=o.assert,s=o.parseBytes,c=t("./key"),u=t("./signature");function l(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof l))return new l(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(t,e){t=s(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},l.prototype.verify=function(t,e,r){t=s(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},l.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(t){return c.fromPublic(this,t)},l.prototype.keyFromSecret=function(t){return c.fromSecret(this,t)},l.prototype.makeSignature=function(t){return t instanceof u?t:new u(this,t)},l.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},l.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!=(128&t[e]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},l.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(t){return o.intFromLE(t)},l.prototype.isPoint=function(t){return t instanceof this.pointClass}},{"../curves":356,"../utils":364,"./key":361,"./signature":362,"hash.js":372}],361:[function(t,e,r){"use strict";var n=t("../utils"),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,n=e.slice(0,t.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},s.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},e.exports=s},{"../utils":364}],362:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("bn.js"),o=t("../utils"),a=o.assert,s=o.cachedProperty,c=o.parseBytes;function u(t,e){this.eddsa=t,"object"!==n(e)&&(e=c(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),a(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof i&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}s(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},e.exports=u},{"../utils":364,"bn.js":365}],363:[function(t,e,r){"use strict";e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],364:[function(t,e,r){"use strict";var n=r,i=t("bn.js"),o=t("minimalistic-assert"),a=t("minimalistic-crypto-utils");n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<n.length;a++){var s,c=o.andln(i-1);o.isOdd()?(s=c>(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n=0,i=0;t.cmpn(-n)>0||e.cmpn(-i)>0;){var o,a,s,c=t.andln(3)+n&3,u=e.andln(3)+i&3;3===c&&(c=-1),3===u&&(u=-1),o=0==(1&c)?0:3!==(s=t.andln(7)+n&7)&&5!==s||2!==u?c:-c,r[0].push(o),a=0==(1&u)?0:3!==(s=e.andln(7)+i&7)&&5!==s||2!==c?u:-u,r[1].push(a),2*n===o+1&&(n=1-n),2*i===a+1&&(i=1-i),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new i(t,"hex","le")}},{"bn.js":365,"minimalistic-assert":437,"minimalistic-crypto-utils":438}],365:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],366:[function(t,e,r){e.exports={_from:"elliptic@^6.5.3",_id:"elliptic@6.5.3",_inBundle:!1,_integrity:"sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",_location:"/elliptic",_phantomChildren:{},_requested:{type:"range",registry:!0,raw:"elliptic@^6.5.3",name:"elliptic",escapedName:"elliptic",rawSpec:"^6.5.3",saveSpec:null,fetchSpec:"^6.5.3"},_requiredBy:["/browserify-sign","/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",_shasum:"cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6",_spec:"elliptic@^6.5.3",_where:"/mnt/d/dev/git/exceljs/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"fedor@indutny.com"},bugs:{url:"https://github.com/indutny/elliptic/issues"},bundleDependencies:!1,dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},deprecated:!1,description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^3.0.8",grunt:"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.2",jscs:"^3.0.7",jshint:"^2.10.3",mocha:"^6.2.2"},files:["lib"],homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",name:"elliptic",repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.5.3"}},{}],367:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=Object.create||function(t){var e=function(){};return e.prototype=t,new e},o=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return r},a=Function.prototype.bind||function(t){var e=this;return function(){return e.apply(t,arguments)}};function s(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._maxListeners=void 0;var c,u=10;try{var l={};Object.defineProperty&&Object.defineProperty(l,"x",{value:0}),c=0===l.x}catch(t){c=!1}function f(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function h(t,e,r){if(e)t.call(r);else for(var n=t.length,i=O(t,n),o=0;o<n;++o)i[o].call(r)}function d(t,e,r,n){if(e)t.call(r,n);else for(var i=t.length,o=O(t,i),a=0;a<i;++a)o[a].call(r,n)}function p(t,e,r,n,i){if(e)t.call(r,n,i);else for(var o=t.length,a=O(t,o),s=0;s<o;++s)a[s].call(r,n,i)}function m(t,e,r,n,i,o){if(e)t.call(r,n,i,o);else for(var a=t.length,s=O(t,a),c=0;c<a;++c)s[c].call(r,n,i,o)}function b(t,e,r,n){if(e)t.apply(r,n);else for(var i=t.length,o=O(t,i),a=0;a<i;++a)o[a].apply(r,n)}function v(t,e,r,o){var a,s,c;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((s=t._events)?(s.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),s=t._events),c=s[e]):(s=t._events=i(null),t._eventsCount=0),c){if("function"==typeof c?c=s[e]=o?[r,c]:[c,r]:o?c.unshift(r):c.push(r),!c.warned&&(a=f(t))&&a>0&&c.length>a){c.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+c.length+' "'+String(e)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=c.length,"object"===("undefined"==typeof console?"undefined":n(console))&&console.warn&&console.warn("%s: %s",u.name,u.message)}}else c=s[e]=r,++t._eventsCount;return t}function g(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var t=new Array(arguments.length),e=0;e<t.length;++e)t[e]=arguments[e];this.listener.apply(this.target,t)}}function y(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=a.call(g,n);return i.listener=r,n.wrapFn=i,i}function w(t,e,r){var n=t._events;if(!n)return[];var i=n[e];return i?"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):O(i,i.length):[]}function x(t){var e=this._events;if(e){var r=e[t];if("function"==typeof r)return 1;if(r)return r.length}return 0}function O(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}c?Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t||t<0||t!=t)throw new TypeError('"defaultMaxListeners" must be a positive number');u=t}}):s.defaultMaxListeners=u,s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return f(this)},s.prototype.emit=function(t){var e,r,n,i,o,a,s="error"===t;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(e=arguments[1]),e instanceof Error)throw e;var c=new Error('Unhandled "error" event. ('+e+")");throw c.context=e,c}if(!(r=a[t]))return!1;var u="function"==typeof r;switch(n=arguments.length){case 1:h(r,u,this);break;case 2:d(r,u,this,arguments[1]);break;case 3:p(r,u,this,arguments[1],arguments[2]);break;case 4:m(r,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),o=1;o<n;o++)i[o-1]=arguments[o];b(r,u,this,i)}return!0},s.prototype.addListener=function(t,e){return v(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return v(this,t,e,!0)},s.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,y(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,y(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,o,a,s;if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=i(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,a=r.length-1;a>=0;a--)if(r[a]===e||r[a].listener===e){s=r[a].listener,o=a;break}if(o<0)return this;0===o?r.shift():function(t,e){for(var r=e,n=r+1,i=t.length;n<i;r+=1,n+=1)t[r]=t[n];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),n.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.removeAllListeners=function(t){var e,r,n;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=i(null),this._eventsCount=0):r[t]&&(0==--this._eventsCount?this._events=i(null):delete r[t]),this;if(0===arguments.length){var a,s=o(r);for(n=0;n<s.length;++n)"removeListener"!==(a=s[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=i(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return w(this,t,!0)},s.prototype.rawListeners=function(t){return w(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):x.call(t,e)},s.prototype.listenerCount=x,s.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],368:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("md5.js");e.exports=function(t,e,r,o){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),c=n.alloc(o||0),u=n.alloc(0);a>0||o>0;){var l=new i;l.update(u),l.update(t),e&&l.update(e),u=l.digest();var f=0;if(a>0){var h=s.length-a;f=Math.min(a,u.length),u.copy(s,h,0,f),a-=f}if(f<u.length&&o>0){var d=c.length-o,p=Math.min(o,u.length-f);u.copy(c,d,f,f+p),o-=p}}return u.fill(0),{key:s,iv:c}}},{"md5.js":434,"safe-buffer":494}],369:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t("@fast-csv/format");Object.defineProperty(r,"format",{enumerable:!0,get:function(){return n.format}}),Object.defineProperty(r,"write",{enumerable:!0,get:function(){return n.write}}),Object.defineProperty(r,"writeToStream",{enumerable:!0,get:function(){return n.writeToStream}}),Object.defineProperty(r,"writeToBuffer",{enumerable:!0,get:function(){return n.writeToBuffer}}),Object.defineProperty(r,"writeToString",{enumerable:!0,get:function(){return n.writeToString}}),Object.defineProperty(r,"writeToPath",{enumerable:!0,get:function(){return n.writeToPath}}),Object.defineProperty(r,"CsvFormatterStream",{enumerable:!0,get:function(){return n.CsvFormatterStream}}),Object.defineProperty(r,"FormatterOptions",{enumerable:!0,get:function(){return n.FormatterOptions}});var i=t("@fast-csv/parse");Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(r,"parseString",{enumerable:!0,get:function(){return i.parseString}}),Object.defineProperty(r,"parseStream",{enumerable:!0,get:function(){return i.parseStream}}),Object.defineProperty(r,"parseFile",{enumerable:!0,get:function(){return i.parseFile}}),Object.defineProperty(r,"ParserOptions",{enumerable:!0,get:function(){return i.ParserOptions}}),Object.defineProperty(r,"CsvParserStream",{enumerable:!0,get:function(){return i.CsvParserStream}})},{"@fast-csv/format":148,"@fast-csv/parse":152}],370:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("readable-stream").Transform;function o(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t("inherits")(o,i),o.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer")}(t),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));for(var r=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)r[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},{inherits:387,"readable-stream":491,"safe-buffer":371}],371:[function(t,e,r){arguments[4][214][0].apply(r,arguments)},{buffer:216,dup:214}],372:[function(t,e,r){"use strict";var n=r;n.utils=t("./hash/utils"),n.common=t("./hash/common"),n.sha=t("./hash/sha"),n.ripemd=t("./hash/ripemd"),n.hmac=t("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":373,"./hash/hmac":374,"./hash/ripemd":375,"./hash/sha":376,"./hash/utils":383}],373:[function(t,e,r){"use strict";var n=t("./utils"),i=t("minimalistic-assert");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}r.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},{"./utils":383,"minimalistic-assert":437}],374:[function(t,e,r){"use strict";var n=t("./utils"),i=t("minimalistic-assert");function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}e.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},{"./utils":383,"minimalistic-assert":437}],375:[function(t,e,r){"use strict";var n=t("./utils"),i=t("./common"),o=n.rotl32,a=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function h(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(l,u),r.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],g=r,y=n,w=i,x=u,O=l,_=0;_<80;_++){var S=a(o(c(r,f(_,n,i,u),t[p[_]+e],h(_)),b[_]),l);r=l,l=u,u=o(i,10),i=n,n=S,S=a(o(c(g,f(79-_,y,w,x),t[m[_]+e],d(_)),v[_]),O),g=O,O=x,x=o(w,10),w=y,y=S}S=s(this.h[1],i,x),this.h[1]=s(this.h[2],u,O),this.h[2]=s(this.h[3],l,g),this.h[3]=s(this.h[4],r,y),this.h[4]=s(this.h[0],n,w),this.h[0]=S},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":373,"./utils":383}],376:[function(t,e,r){"use strict";r.sha1=t("./sha/1"),r.sha224=t("./sha/224"),r.sha256=t("./sha/256"),r.sha384=t("./sha/384"),r.sha512=t("./sha/512")},{"./sha/1":377,"./sha/224":378,"./sha/256":379,"./sha/384":380,"./sha/512":381}],377:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../common"),o=t("./common"),a=n.rotl32,s=n.sum32,c=n.sum32_5,u=o.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,l),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=c(a(i,5),u(p,o,l,h),d,r[n],f[p]);d=h,h=l,l=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],d)},h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":373,"../utils":383,"./common":382}],378:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./256");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},{"../utils":383,"./256":379}],379:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../common"),o=t("./common"),a=t("minimalistic-assert"),s=n.sum32,c=n.sum32_4,u=n.sum32_5,l=o.ch32,f=o.maj32,h=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,b=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}n.inherits(g,b),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=c(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],b=this.h[2],v=this.h[3],g=this.h[4],y=this.h[5],w=this.h[6],x=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var O=u(x,d(g),l(g,y,w),this.k[n],r[n]),_=s(h(i),f(i,o,b));x=w,w=y,y=g,g=s(v,O),v=b,b=o,o=i,i=s(O,_)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],b),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],g),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],x)},g.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":373,"../utils":383,"./common":382,"minimalistic-assert":437}],380:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./512");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},{"../utils":383,"./512":381}],381:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../common"),o=t("minimalistic-assert"),a=n.rotr64_hi,s=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,f=n.sum64_hi,h=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,b=n.sum64_5_lo,v=i.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function w(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function x(t,e,r,n,i,o){var a=e&n^~e&o;return a<0&&(a+=4294967296),a}function O(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function _(t,e,r,n,i,o){var a=e&n^e&o^n&o;return a<0&&(a+=4294967296),a}function S(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function k(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function E(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=4294967296),r}function M(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function C(t,e){var r=a(t,e,1)^a(t,e,8)^c(t,e,7);return r<0&&(r+=4294967296),r}function j(t,e){var r=s(t,e,1)^s(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function A(t,e){var r=a(t,e,19)^a(e,t,29)^c(t,e,6);return r<0&&(r+=4294967296),r}function T(t,e){var r=s(t,e,19)^s(e,t,29)^u(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(y,v),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=A(r[n-4],r[n-3]),o=T(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],c=C(r[n-30],r[n-29]),u=j(r[n-30],r[n-29]),l=r[n-32],f=r[n-31];r[n]=d(i,o,a,s,c,u,l,f),r[n+1]=p(i,o,a,s,c,u,l,f)}},y.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],c=this.h[4],u=this.h[5],d=this.h[6],p=this.h[7],v=this.h[8],g=this.h[9],y=this.h[10],C=this.h[11],j=this.h[12],A=this.h[13],T=this.h[14],P=this.h[15];o(this.k.length===r.length);for(var D=0;D<r.length;D+=2){var R=T,L=P,I=E(v,g),N=M(v,g),F=w(v,0,y,0,j),B=x(0,g,0,C,0,A),z=this.k[D],H=this.k[D+1],U=r[D],W=r[D+1],q=m(R,L,I,N,F,B,z,H,U,W),V=b(R,L,I,N,F,B,z,H,U,W);R=S(n,i),L=k(n,i),I=O(n,0,a,0,c),N=_(0,i,0,s,0,u);var G=f(R,L,I,N),Y=h(R,L,I,N);T=j,P=A,j=y,A=C,y=v,C=g,v=f(d,p,q,V),g=h(p,p,q,V),d=c,p=u,c=a,u=s,a=n,s=i,n=f(q,V,G,Y),i=h(q,V,G,Y)}l(this.h,0,n,i),l(this.h,2,a,s),l(this.h,4,c,u),l(this.h,6,d,p),l(this.h,8,v,g),l(this.h,10,y,C),l(this.h,12,j,A),l(this.h,14,T,P)},y.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},{"../common":373,"../utils":383,"minimalistic-assert":437}],382:[function(t,e,r){"use strict";var n=t("../utils").rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function a(t,e,r){return t^e^r}r.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?a(e,r,n):2===t?o(e,r,n):void 0},r.ch32=i,r.maj32=o,r.p32=a,r.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},r.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},r.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},r.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},{"../utils":383}],383:[function(t,e,r){"use strict";var n=t("minimalistic-assert"),i=t("inherits");function o(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}r.inherits=i,r.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r},r.toHex=function(t){for(var e="",r=0;r<t.length;r++)e+=s(t[r].toString(16));return e},r.htonl=a,r.toHex32=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];"little"===e&&(i=a(i)),r+=c(i.toString(16))}return r},r.zero2=s,r.zero8=c,r.join32=function(t,e,r,i){var o=r-e;n(o%4==0);for(var a=new Array(o/4),s=0,c=e;s<a.length;s++,c+=4){var u;u="big"===i?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c],a[s]=u>>>0}return a},r.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},r.rotr32=function(t,e){return t>>>e|t<<32-e},r.rotl32=function(t,e){return t<<e|t>>>32-e},r.sum32=function(t,e){return t+e>>>0},r.sum32_3=function(t,e,r){return t+e+r>>>0},r.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},r.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},r.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,a=(o<n?1:0)+r+i;t[e]=a>>>0,t[e+1]=o},r.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>0},r.sum64_lo=function(t,e,r,n){return e+n>>>0},r.sum64_4_hi=function(t,e,r,n,i,o,a,s){var c=0,u=e;return c+=(u=u+n>>>0)<e?1:0,c+=(u=u+o>>>0)<o?1:0,t+r+i+a+(c+=(u=u+s>>>0)<s?1:0)>>>0},r.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},r.sum64_5_hi=function(t,e,r,n,i,o,a,s,c,u){var l=0,f=e;return l+=(f=f+n>>>0)<e?1:0,l+=(f=f+o>>>0)<o?1:0,l+=(f=f+s>>>0)<s?1:0,t+r+i+a+c+(l+=(f=f+u>>>0)<u?1:0)>>>0},r.sum64_5_lo=function(t,e,r,n,i,o,a,s,c,u){return e+n+o+s+u>>>0},r.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},r.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},r.shr64_hi=function(t,e,r){return t>>>r},r.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},{inherits:387,"minimalistic-assert":437}],384:[function(t,e,r){"use strict";var n=t("hash.js"),i=t("minimalistic-crypto-utils"),o=t("minimalistic-assert");function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}e.exports=a,a.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,r,n){"string"!=typeof e&&(n=r,r=e,e=null),t=i.toArray(t,e),r=i.toArray(r,n),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},a.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(r),this._reseed++,i.encode(a,e)}},{"hash.js":372,"minimalistic-assert":437,"minimalistic-crypto-utils":438}],385:[function(t,e,r){"use strict";r.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},r.write=function(t,e,r,n,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*c-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+d]=255&a,d+=p,a/=256,u-=8);t[r+d-p]|=128*m}},{}],386:[function(t,r,n){(function(t){"use strict";var e,n,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var o=0,a=new i(l),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),e=function(){s.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)e="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){l(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(l,0)};else{var c=new t.MessageChannel;c.port1.onmessage=l,e=function(){c.port2.postMessage(0)}}var u=[];function l(){var t,e;n=!0;for(var r=u.length;r;){for(e=u,u=[],t=-1;++t<r;)e[t]();r=u.length}n=!1}r.exports=function(t){1!==u.push(t)||n||e()}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],387:[function(t,e,r){"use strict";"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},{}],388:[function(t,e,r){"use strict";function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}e.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},{}],389:[function(t,e,r){"use strict";var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},{}],390:[function(t,e,r){"use strict";var n=t("./utils"),i=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t){for(var e,r,i,a,s,c,u,l=[],f=0,h=t.length,d=h,p="string"!==n.getTypeOf(t);f<t.length;)d=h-f,p?(e=t[f++],r=f<h?t[f++]:0,i=f<h?t[f++]:0):(e=t.charCodeAt(f++),r=f<h?t.charCodeAt(f++):0,i=f<h?t.charCodeAt(f++):0),a=e>>2,s=(3&e)<<4|r>>4,c=d>1?(15&r)<<2|i>>6:64,u=d>2?63&i:64,l.push(o.charAt(a)+o.charAt(s)+o.charAt(c)+o.charAt(u));return l.join("")},r.decode=function(t){var e,r,n,a,s,c,u=0,l=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var f,h=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&h--,t.charAt(t.length-2)===o.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|h):new Array(0|h);u<t.length;)e=o.indexOf(t.charAt(u++))<<2|(a=o.indexOf(t.charAt(u++)))>>4,r=(15&a)<<4|(s=o.indexOf(t.charAt(u++)))>>2,n=(3&s)<<6|(c=o.indexOf(t.charAt(u++))),f[l++]=e,64!==s&&(f[l++]=r),64!==c&&(f[l++]=n);return f}},{"./support":419,"./utils":421}],391:[function(t,e,r){"use strict";var n=t("./external"),i=t("./stream/DataWorker"),o=t("./stream/DataLengthProbe"),a=t("./stream/Crc32Probe");function s(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}o=t("./stream/DataLengthProbe"),s.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new a).pipe(new o("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":395,"./stream/Crc32Probe":414,"./stream/DataLengthProbe":415,"./stream/DataWorker":416}],392:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":396,"./stream/GenericWorker":417}],393:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r,n){var o=i,a=0+r;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,r,n){var o=i,a=0+r;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":421}],394:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],395:[function(t,e,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:425}],396:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),s=n?"uint8array":"array";function c(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(c,a),c.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},c.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(t){return new c("Deflate",t)},r.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":417,"./utils":421,pako:439}],397:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../stream/GenericWorker"),o=t("../utf8"),a=t("../crc32"),s=t("../signature"),c=function(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n},u=function(t,e,r,i,u,l){var f,h,d=t.file,p=t.compression,m=l!==o.utf8encode,b=n.transformTo("string",l(d.name)),v=n.transformTo("string",o.utf8encode(d.name)),g=d.comment,y=n.transformTo("string",l(g)),w=n.transformTo("string",o.utf8encode(g)),x=v.length!==d.name.length,O=w.length!==g.length,_="",S="",k="",E=d.dir,M=d.date,C={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(C.crc32=t.crc32,C.compressedSize=t.compressedSize,C.uncompressedSize=t.uncompressedSize);var j=0;e&&(j|=8),m||!x&&!O||(j|=2048);var A,T,P=0,D=0;E&&(P|=16),"UNIX"===u?(D=798,P|=(T=A=d.unixPermissions,A||(T=E?16893:33204),(65535&T)<<16)):(D=20,P|=63&(d.dosPermissions||0)),f=M.getUTCHours(),f<<=6,f|=M.getUTCMinutes(),f<<=5,f|=M.getUTCSeconds()/2,h=M.getUTCFullYear()-1980,h<<=4,h|=M.getUTCMonth()+1,h<<=5,h|=M.getUTCDate(),x&&(S=c(1,1)+c(a(b),4)+v,_+="up"+c(S.length,2)+S),O&&(k=c(1,1)+c(a(y),4)+w,_+="uc"+c(k.length,2)+k);var R="";return R+="\n\0",R+=c(j,2),R+=p.magic,R+=c(f,2),R+=c(h,2),R+=c(C.crc32,4),R+=c(C.compressedSize,4),R+=c(C.uncompressedSize,4),R+=c(b.length,2),R+=c(_.length,2),{fileRecord:s.LOCAL_FILE_HEADER+R+b+_,dirRecord:s.CENTRAL_FILE_HEADER+c(D,2)+R+c(y.length,2)+"\0\0\0\0"+c(P,4)+c(i,4)+b+_+y}},l=function(t){return s.DATA_DESCRIPTOR+c(t.crc32,4)+c(t.compressedSize,4)+c(t.uncompressedSize,4)};function f(t,e,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(f,i),f.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,i.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},f.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=u(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=u(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:l(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var r=this.bytesWritten-t,i=function(t,e,r,i,o){var a=n.transformTo("string",o(i));return s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(t,2)+c(t,2)+c(e,4)+c(r,4)+c(a.length,2)+a}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},f.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(t){var e=this._sources;if(!i.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},f.prototype.lock=function(){i.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=f},{"../crc32":393,"../signature":412,"../stream/GenericWorker":417,"../utf8":420,"../utils":421}],398:[function(t,e,r){"use strict";var n=t("../compressions"),i=t("./ZipFileWorker");r.generateWorker=function(t,e,r){var o=new i(e.streamFiles,r,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,r){a++;var i=function(t,e){var r=t||e,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,e.compression),s=r.options.compressionOptions||e.compressionOptions||{},c=r.dir,u=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:t,dir:c,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(o)})),o.entriesCount=a}catch(t){o.error(t)}return o}},{"../compressions":392,"./ZipFileWorker":397}],399:[function(t,e,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var t=new n;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}n.prototype=t("./object"),n.prototype.loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.5.0",n.loadAsync=function(t,e){return(new n).loadAsync(t,e)},n.external=t("./external"),e.exports=n},{"./defaults":394,"./external":395,"./load":400,"./object":404,"./support":419}],400:[function(t,e,r){"use strict";var n=t("./utils"),i=t("./external"),o=t("./utf8"),a=(n=t("./utils"),t("./zipEntries")),s=t("./stream/Crc32Probe"),c=t("./nodejsUtils");function u(t){return new i.Promise((function(e,r){var n=t.decompressed.getContentWorker().pipe(new s);n.on("error",(function(t){r(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}e.exports=function(t,e){var r=this;return e=n.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),c.isNode&&c.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new a(e);return r.load(t),r})).then((function(t){var r=[i.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var o=0;o<n.length;o++)r.push(u(n[o]));return i.Promise.all(r)})).then((function(t){for(var n=t.shift(),i=n.files,o=0;o<i.length;o++){var a=i[o];r.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders})}return n.zipComment.length&&(r.comment=n.zipComment),r}))}},{"./external":395,"./nodejsUtils":403,"./stream/Crc32Probe":414,"./utf8":420,"./utils":421,"./zipEntries":422}],401:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../stream/GenericWorker");function o(t,e){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}n.inherits(o,i),o.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=o},{"../stream/GenericWorker":417,"../utils":421}],402:[function(t,e,r){"use strict";var n=t("readable-stream").Readable;function i(t,e,r){n.call(this,e),this._helper=t;var i=this;t.on("data",(function(t,e){i.push(t)||i._helper.pause(),r&&r(e)})).on("error",(function(t){i.emit("error",t)})).on("end",(function(){i.push(null)}))}t("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},e.exports=i},{"../utils":421,"readable-stream":405}],403:[function(t,e,r){(function(t){"use strict";e.exports={isNode:void 0!==t,newBufferFrom:function(e,r){if(t.from&&t.from!==Uint8Array.from)return t.from(e,r);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,r)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var r=new t(e);return r.fill(0),r},isBuffer:function(e){return t.isBuffer(e)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}}).call(this,t("buffer").Buffer)},{buffer:216}],404:[function(t,e,r){"use strict";var n=t("./utf8"),i=t("./utils"),o=t("./stream/GenericWorker"),a=t("./stream/StreamHelper"),s=t("./defaults"),c=t("./compressedObject"),u=t("./zipObject"),l=t("./generate"),f=t("./nodejsUtils"),h=t("./nodejs/NodejsStreamInputAdapter"),d=function(t,e,r){var n,a=i.getTypeOf(e),l=i.extend(r||{},s);l.date=l.date||new Date,null!==l.compression&&(l.compression=l.compression.toUpperCase()),"string"==typeof l.unixPermissions&&(l.unixPermissions=parseInt(l.unixPermissions,8)),l.unixPermissions&&16384&l.unixPermissions&&(l.dir=!0),l.dosPermissions&&16&l.dosPermissions&&(l.dir=!0),l.dir&&(t=m(t)),l.createFolders&&(n=p(t))&&b.call(this,n,!0);var d,v="string"===a&&!1===l.binary&&!1===l.base64;r&&void 0!==r.binary||(l.binary=!v),(e instanceof c&&0===e.uncompressedSize||l.dir||!e||0===e.length)&&(l.base64=!1,l.binary=!0,e="",l.compression="STORE",a="string"),d=e instanceof c||e instanceof o?e:f.isNode&&f.isStream(e)?new h(t,e):i.prepareContent(t,e,l.binary,l.optimizedBinaryString,l.base64);var g=new u(t,d,l);this.files[t]=g},p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},b=function(t,e){return e=void 0!==e?e:s.createFolders,t=m(t),this.files[t]||d.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function v(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var g={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,n;for(e in this.files)this.files.hasOwnProperty(e)&&(n=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,n))},filter:function(t){var e=[];return this.forEach((function(r,n){t(r,n)&&e.push(n)})),e},file:function(t,e,r){if(1===arguments.length){if(v(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var i=this.files[this.root+t];return i&&!i.dir?i:null}return t=this.root+t,d.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(v(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=b.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(t){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=i.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");i.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var s=r.comment||this.comment||"";e=l.generateWorker(this,r,s)}catch(t){(e=new o("error")).error(t)}return new a(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=g},{"./compressedObject":391,"./defaults":394,"./generate":398,"./nodejs/NodejsStreamInputAdapter":401,"./nodejsUtils":403,"./stream/GenericWorker":417,"./stream/StreamHelper":418,"./utf8":420,"./utils":421,"./zipObject":424}],405:[function(t,e,r){"use strict";e.exports=t("stream")},{stream:506}],406:[function(t,e,r){"use strict";var n=t("./DataReader");function i(t){n.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===e&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./DataReader":407}],407:[function(t,e,r){"use strict";var n=t("../utils");function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":421}],408:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./Uint8ArrayReader":410}],409:[function(t,e,r){"use strict";var n=t("./DataReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./DataReader":407}],410:[function(t,e,r){"use strict";var n=t("./ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":421,"./ArrayReader":406}],411:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),c=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new s(t):i.uint8array?new c(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new a(t)}},{"../support":419,"../utils":421,"./ArrayReader":406,"./NodeBufferReader":408,"./StringReader":409,"./Uint8ArrayReader":410}],412:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],413:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":421,"./GenericWorker":417}],414:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":393,"../utils":421,"./GenericWorker":417}],415:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,i),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":421,"./GenericWorker":417}],416:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":421,"./GenericWorker":417}],417:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=n},{}],418:[function(t,e,r){(function(r){"use strict";var n=t("../utils"),i=t("./ConvertWorker"),o=t("./GenericWorker"),a=t("../base64"),s=t("../support"),c=t("../external"),u=null;if(s.nodestream)try{u=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=r,n.checkSupport(a),this._worker=t.pipe(new i(a)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return function(t,e){return new c.Promise((function(i,o){var s=[],c=t._internalType,u=t._outputType,l=t._mimeType;t.on("data",(function(t,r){s.push(t),e&&e(r)})).on("error",(function(t){s=[],o(t)})).on("end",(function(){try{var t=function(t,e,r){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",e),r);case"base64":return a.encode(e);default:return n.transformTo(t,e)}}(u,function(t,e){var n,i=0,o=null,a=0;for(n=0;n<e.length;n++)a+=e[n].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(o=new Uint8Array(a),n=0;n<e.length;n++)o.set(e[n],i),i+=e[n].length;return o;case"nodebuffer":return r.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(c,s),l);i(t)}catch(t){o(t)}s=[]})).resume()}))}(this,t)},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,(function(t){e.call(r,t.data,t.meta)})):this._worker.on(t,(function(){n.delay(e,arguments,r)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=l}).call(this,t("buffer").Buffer)},{"../base64":390,"../external":395,"../nodejs/NodejsStreamOutputAdapter":402,"../support":419,"../utils":421,"./ConvertWorker":413,"./GenericWorker":417,buffer:216}],419:[function(t,e,r){(function(e){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer=void 0!==e,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:"application/zip"}).size}catch(t){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),r.blob=0===i.getBlob("application/zip").size}catch(t){r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch(t){r.nodestream=!1}}).call(this,t("buffer").Buffer)},{buffer:216,"readable-stream":405}],420:[function(t,e,r){"use strict";for(var n=t("./utils"),i=t("./support"),o=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),c=0;c<256;c++)s[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;function u(){a.call(this,"utf-8 decode"),this.leftOver=null}function l(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,r.utf8encode=function(t){return i.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var e,r,n,o,a,s=t.length,c=0;for(o=0;o<s;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=i.uint8array?new Uint8Array(c):new Array(c),a=0,o=0;a<c;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e}(t)},r.utf8decode=function(t){return i.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,i,o,a=t.length,c=new Array(2*a);for(r=0,e=0;e<a;)if((i=t[e++])<128)c[r++]=i;else if((o=s[i])>4)c[r++]=65533,e+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&e<a;)i=i<<6|63&t[e++],o--;o>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),n.applyFromCharCode(c)}(t=n.transformTo(i.uint8array?"uint8array":"array",t))},n.inherits(u,a),u.prototype.processChunk=function(t){var e=n.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=e;(e=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),e.set(o,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+s[t[r]]>e?r:e}(e),c=e;a!==e.length&&(i.uint8array?(c=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(c=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:r.utf8decode(c),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(l,a),l.prototype.processChunk=function(t){this.push({data:r.utf8encode(t.data),meta:t.meta})},r.Utf8EncodeWorker=l},{"./nodejsUtils":403,"./stream/GenericWorker":417,"./support":419,"./utils":421}],421:[function(t,e,r){"use strict";var n=t("./support"),i=t("./base64"),o=t("./nodejsUtils"),a=t("set-immediate-shim"),s=t("./external");function c(t){return t}function u(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}r.newBlob=function(t,e){r.checkSupport("blob");try{return new Blob([t],{type:e})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(t,e,r){var n=[],i=0,o=t.length;if(o<=r)return String.fromCharCode.apply(null,t);for(;i<o;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(i,Math.min(i+r,o)))):n.push(String.fromCharCode.apply(null,t.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function f(t){var e=65536,n=r.getTypeOf(t),i=!0;if("uint8array"===n?i=l.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=l.applyCanBeUsed.nodebuffer),i)for(;e>1;)try{return l.stringifyByChunk(t,n,e)}catch(t){e=Math.floor(e/2)}return l.stringifyByChar(t)}function h(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}r.applyFromCharCode=f;var d={};d.string={string:c,array:function(t){return u(t,new Array(t.length))},arraybuffer:function(t){return d.string.uint8array(t).buffer},uint8array:function(t){return u(t,new Uint8Array(t.length))},nodebuffer:function(t){return u(t,o.allocBuffer(t.length))}},d.array={string:f,array:c,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},d.arraybuffer={string:function(t){return f(new Uint8Array(t))},array:function(t){return h(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:c,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},d.uint8array={string:f,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:c,nodebuffer:function(t){return o.newBufferFrom(t)}},d.nodebuffer={string:f,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return d.nodebuffer.uint8array(t).buffer},uint8array:function(t){return h(t,new Uint8Array(t.length))},nodebuffer:c},r.transformTo=function(t,e){if(e||(e=""),!t)return e;r.checkSupport(t);var n=r.getTypeOf(e);return d[n][t](e)},r.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":n.nodebuffer&&o.isBuffer(t)?"nodebuffer":n.uint8array&&t instanceof Uint8Array?"uint8array":n.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(t){if(!n[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(t){var e,r,n="";for(r=0;r<(t||"").length;r++)n+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return n},r.delay=function(t,e,r){a((function(){t.apply(r||null,e||[])}))},r.inherits=function(t,e){var r=function(){};r.prototype=e.prototype,t.prototype=new r},r.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},r.prepareContent=function(t,e,o,a,c){return s.Promise.resolve(e).then((function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new s.Promise((function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){r(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(e){var l,f=r.getTypeOf(e);return f?("arraybuffer"===f?e=r.transformTo("uint8array",e):"string"===f&&(c?e=i.decode(e):o&&!0!==a&&(e=u(l=e,n.uint8array?new Uint8Array(l.length):new Array(l.length)))),e):s.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":390,"./external":395,"./nodejsUtils":403,"./support":419,"set-immediate-shim":497}],422:[function(t,e,r){"use strict";var n=t("./reader/readerFor"),i=t("./utils"),o=t("./signature"),a=t("./zipEntry"),s=(t("./utf8"),t("./support"));function c(t){this.files=[],this.loadOptions=t}c.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(e)+", expected "+i.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",r=i.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=e-r;if(n>0)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=n(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=c},{"./reader/readerFor":411,"./signature":412,"./support":419,"./utf8":420,"./utils":421,"./zipEntry":423}],423:[function(t,e,r){"use strict";var n=t("./reader/readerFor"),i=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),c=t("./compressions"),u=t("./support");function l(t,e){this.options=t,this.loadOptions=e}l.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in c)if(c.hasOwnProperty(e)&&c[e].magic===t)return c[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<i;)e=t.readInt(2),r=t.readInt(2),n=t.readData(r),this.extraFields[e]={id:e,length:r,value:n};t.setIndex(i)},handleUTF8:function(){var t=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var o=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=n(t.value);return 1!==e.readInt(1)||a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=n(t.value);return 1!==e.readInt(1)||a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=l},{"./compressedObject":391,"./compressions":392,"./crc32":393,"./reader/readerFor":411,"./support":419,"./utf8":420,"./utils":421}],424:[function(t,e,r){"use strict";var n=t("./stream/StreamHelper"),i=t("./stream/DataWorker"),o=t("./utf8"),a=t("./compressedObject"),s=t("./stream/GenericWorker"),c=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};c.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw new Error("No output type specified.");var i="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var a=!this._dataBinary;a&&!i&&(e=e.pipe(new o.Utf8EncodeWorker)),!a&&i&&(e=e.pipe(new o.Utf8DecodeWorker))}catch(t){(e=new s("error")).error(t)}return new n(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof a&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),a.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof s?this._data:new i(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<u.length;f++)c.prototype[u[f]]=l;e.exports=c},{"./compressedObject":391,"./stream/DataWorker":416,"./stream/GenericWorker":417,"./stream/StreamHelper":418,"./utf8":420}],425:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("immediate");function o(){}var a={},s=["REJECTED"],c=["FULFILLED"],u=["PENDING"];function l(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,t!==o&&p(this,t)}function f(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function h(t,e,r){i((function(){var n;try{n=e(r)}catch(e){return a.reject(t,e)}n===t?a.reject(t,new TypeError("Cannot resolve promise with itself")):a.resolve(t,n)}))}function d(t){var e=t&&t.then;if(t&&("object"===n(t)||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function p(t,e){var r=!1;function n(e){r||(r=!0,a.reject(t,e))}function i(e){r||(r=!0,a.resolve(t,e))}var o=m((function(){e(i,n)}));"error"===o.status&&n(o.value)}function m(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}e.exports=l,l.prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(r){return e.resolve(t()).then((function(){return r}))}),(function(r){return e.resolve(t()).then((function(){throw r}))}))},l.prototype.catch=function(t){return this.then(null,t)},l.prototype.then=function(t,e){if("function"!=typeof t&&this.state===c||"function"!=typeof e&&this.state===s)return this;var r=new this.constructor(o);return this.state!==u?h(r,this.state===c?t:e,this.outcome):this.queue.push(new f(r,t,e)),r},f.prototype.callFulfilled=function(t){a.resolve(this.promise,t)},f.prototype.otherCallFulfilled=function(t){h(this.promise,this.onFulfilled,t)},f.prototype.callRejected=function(t){a.reject(this.promise,t)},f.prototype.otherCallRejected=function(t){h(this.promise,this.onRejected,t)},a.resolve=function(t,e){var r=m(d,e);if("error"===r.status)return a.reject(t,r.value);var n=r.value;if(n)p(t,n);else{t.state=c,t.outcome=e;for(var i=-1,o=t.queue.length;++i<o;)t.queue[i].callFulfilled(e)}return t},a.reject=function(t,e){t.state=s,t.outcome=e;for(var r=-1,n=t.queue.length;++r<n;)t.queue[r].callRejected(e);return t},l.resolve=function(t){return t instanceof this?t:a.resolve(new this(o),t)},l.reject=function(t){var e=new this(o);return a.reject(e,t)},l.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);for(var i=new Array(r),s=0,c=-1,u=new this(o);++c<r;)l(t[c],c);return u;function l(t,o){e.resolve(t).then((function(t){i[o]=t,++s!==r||n||(n=!0,a.resolve(u,i))}),(function(t){n||(n=!0,a.reject(u,t))}))}},l.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,r=!1;if(!e)return this.resolve([]);for(var n,i=-1,s=new this(o);++i<e;)n=t[i],this.resolve(n).then((function(t){r||(r=!0,a.resolve(s,t))}),(function(t){r||(r=!0,a.reject(s,t))}));return s}},{immediate:386}],426:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=/[\\^$.*+?()[\]{}|]/g,i=RegExp(n.source),o="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,a="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,s=o||a||Function("return this")(),c=Object.prototype.toString,u=s.Symbol,l=u?u.prototype:void 0,f=l?l.toString:void 0;r.exports=function(t){var r;return(t=null==(r=t)?"":function(t){if("string"==typeof t)return t;if(function(t){return"symbol"==e(t)||function(t){return!!t&&"object"==e(t)}(t)&&"[object Symbol]"==c.call(t)}(t))return f?f.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}(r))&&i.test(t)?t.replace(n,"\\$&"):t}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],427:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i="[object Arguments]",o="[object Map]",a="[object Object]",s="[object Set]",c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,l=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[i]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m["[object Function]"]=m[o]=m["[object Number]"]=m[a]=m["[object RegExp]"]=m[s]=m["[object String]"]=m["[object WeakMap]"]=!1;var b="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,v="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,g=b||v||Function("return this")(),y="object"==(void 0===n?"undefined":e(n))&&n&&!n.nodeType&&n,w=y&&"object"==(void 0===r?"undefined":e(r))&&r&&!r.nodeType&&r,x=w&&w.exports===y&&b.process,O=function(){try{return x&&x.binding("util")}catch(t){}}(),_=O&&O.isTypedArray;function S(t,e,r,n){for(var i=-1,o=t?t.length:0;++i<o;){var a=t[i];e(n,a,r(a),t)}return n}function k(t,e){for(var r=-1,n=t?t.length:0;++r<n;)if(e(t[r],r,t))return!0;return!1}function E(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function M(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function C(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var j,A,T,P=Array.prototype,D=Function.prototype,R=Object.prototype,L=g["__core-js_shared__"],I=(j=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"",N=D.toString,F=R.hasOwnProperty,B=R.toString,z=RegExp("^"+N.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=g.Symbol,U=g.Uint8Array,W=R.propertyIsEnumerable,q=P.splice,V=(A=Object.keys,T=Object,function(t){return A(T(t))}),G=_t(g,"DataView"),Y=_t(g,"Map"),X=_t(g,"Promise"),$=_t(g,"Set"),K=_t(g,"WeakMap"),Z=_t(Object,"create"),J=Tt(G),Q=Tt(Y),tt=Tt(X),et=Tt($),rt=Tt(K),nt=H?H.prototype:void 0,it=nt?nt.valueOf:void 0,ot=nt?nt.toString:void 0;function at(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function st(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ct(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ut(t){var e=-1,r=t?t.length:0;for(this.__data__=new ct;++e<r;)this.add(t[e])}function lt(t){this.__data__=new st(t)}function ft(t,e){for(var r=t.length;r--;)if(Lt(t[r][0],e))return r;return-1}function ht(t,e,r,n){return pt(t,(function(t,i,o){e(n,t,r(t),o)})),n}at.prototype.clear=function(){this.__data__=Z?Z(null):{}},at.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},at.prototype.get=function(t){var e=this.__data__;if(Z){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return F.call(e,t)?e[t]:void 0},at.prototype.has=function(t){var e=this.__data__;return Z?void 0!==e[t]:F.call(e,t)},at.prototype.set=function(t,e){return this.__data__[t]=Z&&void 0===e?"__lodash_hash_undefined__":e,this},st.prototype.clear=function(){this.__data__=[]},st.prototype.delete=function(t){var e=this.__data__,r=ft(e,t);return!(r<0)&&(r==e.length-1?e.pop():q.call(e,r,1),!0)},st.prototype.get=function(t){var e=this.__data__,r=ft(e,t);return r<0?void 0:e[r][1]},st.prototype.has=function(t){return ft(this.__data__,t)>-1},st.prototype.set=function(t,e){var r=this.__data__,n=ft(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},ct.prototype.clear=function(){this.__data__={hash:new at,map:new(Y||st),string:new at}},ct.prototype.delete=function(t){return Ot(this,t).delete(t)},ct.prototype.get=function(t){return Ot(this,t).get(t)},ct.prototype.has=function(t){return Ot(this,t).has(t)},ct.prototype.set=function(t,e){return Ot(this,t).set(t,e),this},ut.prototype.add=ut.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ut.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.clear=function(){this.__data__=new st},lt.prototype.delete=function(t){return this.__data__.delete(t)},lt.prototype.get=function(t){return this.__data__.get(t)},lt.prototype.has=function(t){return this.__data__.has(t)},lt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof st){var n=r.__data__;if(!Y||n.length<199)return n.push([t,e]),this;r=this.__data__=new ct(n)}return r.set(t,e),this};var dt,pt=(dt=function(t,e){return t&&mt(t,e,Vt)},function(t,e){if(null==t)return t;if(!Ft(t))return dt(t,e);for(var r=t.length,n=-1,i=Object(t);++n<r&&!1!==e(i[n],n,i););return t}),mt=function(t,e,r){for(var n=-1,i=Object(t),o=r(t),a=o.length;a--;){var s=o[++n];if(!1===e(i[s],s,i))break}return t};function bt(t,e){for(var r=0,n=(e=Et(e,t)?[e]:wt(e)).length;null!=t&&r<n;)t=t[At(e[r++])];return r&&r==n?t:void 0}function vt(t,e){return null!=t&&e in Object(t)}function gt(t,e,r,n,c){return t===e||(null==t||null==e||!Ht(t)&&!Ut(e)?t!=t&&e!=e:function(t,e,r,n,c,u){var l=Nt(t),f=Nt(e),h="[object Array]",d="[object Array]";l||(h=(h=St(t))==i?a:h),f||(d=(d=St(e))==i?a:d);var p=h==a&&!E(t),m=d==a&&!E(e),b=h==d;if(b&&!p)return u||(u=new lt),l||qt(t)?xt(t,e,r,n,c,u):function(t,e,r,n,i,a,c){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!n(new U(t),new U(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Lt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case o:var u=M;case s:var l=2&a;if(u||(u=C),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;a|=1,c.set(t,e);var h=xt(u(t),u(e),n,i,a,c);return c.delete(t),h;case"[object Symbol]":if(it)return it.call(t)==it.call(e)}return!1}(t,e,h,r,n,c,u);if(!(2&c)){var v=p&&F.call(t,"__wrapped__"),g=m&&F.call(e,"__wrapped__");if(v||g){var y=v?t.value():t,w=g?e.value():e;return u||(u=new lt),r(y,w,n,c,u)}}return!!b&&(u||(u=new lt),function(t,e,r,n,i,o){var a=2&i,s=Vt(t),c=s.length;if(c!=Vt(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:F.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<c;){var p=t[l=s[u]],m=e[l];if(n)var b=a?n(m,p,l,e,t,o):n(p,m,l,t,e,o);if(!(void 0===b?p===m||r(p,m,n,i,o):b)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(h=!1)}return o.delete(t),o.delete(e),h}(t,e,r,n,c,u))}(t,e,gt,r,n,c))}function yt(t){return"function"==typeof t?t:null==t?Gt:"object"==e(t)?Nt(t)?function(t,e){return Et(t)&&Mt(e)?Ct(At(t),e):function(r){var n=function(t,e,r){var n=null==t?void 0:bt(t,e);return void 0===n?void 0:n}(r,t);return void 0===n&&n===e?function(t,e){return null!=t&&function(t,e,r){for(var n,i=-1,o=(e=Et(e,t)?[e]:wt(e)).length;++i<o;){var a=At(e[i]);if(!(n=null!=t&&r(t,a)))break;t=t[a]}return n||!!(o=t?t.length:0)&&zt(o)&&kt(a,o)&&(Nt(t)||It(t))}(t,e,vt)}(r,t):gt(e,n,void 0,3)}}(t[0],t[1]):function(t){var e=function(t){for(var e=Vt(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,Mt(i)]}return e}(t);return 1==e.length&&e[0][2]?Ct(e[0][0],e[0][1]):function(r){return r===t||function(t,e,r,n){var i=r.length,o=i;if(null==t)return!o;for(t=Object(t);i--;){var a=r[i];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){var s=(a=r[i])[0],c=t[s],u=a[1];if(a[2]){if(void 0===c&&!(s in t))return!1}else{var l,f=new lt;if(!(void 0===l?gt(u,c,n,3,f):l))return!1}}return!0}(r,0,e)}}(t):Et(r=t)?(n=At(r),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return bt(e,t)}}(r);var r,n}function wt(t){return Nt(t)?t:jt(t)}function xt(t,e,r,n,i,o){var a=2&i,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var l=-1,f=!0,h=1&i?new ut:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var d=t[l],p=e[l];if(n)var m=a?n(p,d,l,e,t,o):n(d,p,l,t,e,o);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!k(e,(function(t,e){if(!h.has(e)&&(d===t||r(d,t,n,i,o)))return h.add(e)}))){f=!1;break}}else if(d!==p&&!r(d,p,n,i,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function Ot(t,r){var n,i,o=t.__data__;return("string"==(i=e(n=r))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function _t(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Ht(t)||function(t){return!!I&&I in t}(t))&&(Bt(t)||E(t)?z:d).test(Tt(t))}(r)?r:void 0}var St=function(t){return B.call(t)};function kt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||p.test(t))&&t>-1&&t%1==0&&t<e}function Et(t,r){if(Nt(t))return!1;var n=e(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Wt(t))||u.test(t)||!c.test(t)||null!=r&&t in Object(r)}function Mt(t){return t==t&&!Ht(t)}function Ct(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}(G&&"[object DataView]"!=St(new G(new ArrayBuffer(1)))||Y&&St(new Y)!=o||X&&"[object Promise]"!=St(X.resolve())||$&&St(new $)!=s||K&&"[object WeakMap]"!=St(new K))&&(St=function(t){var e=B.call(t),r=e==a?t.constructor:void 0,n=r?Tt(r):void 0;if(n)switch(n){case J:return"[object DataView]";case Q:return o;case tt:return"[object Promise]";case et:return s;case rt:return"[object WeakMap]"}return e});var jt=Rt((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(Wt(t))return ot?ot.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var r=[];return l.test(t)&&r.push(""),t.replace(f,(function(t,e,n,i){r.push(n?i.replace(h,"$1"):e||t)})),r}));function At(t){if("string"==typeof t||Wt(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Tt(t){if(null!=t){try{return N.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var Pt,Dt=(Pt=function(t,e,r){F.call(t,r)?t[r].push(e):t[r]=[e]},function(t,e){var r={};return(Nt(t)?S:ht)(t,Pt,yt(e),r)});function Rt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a),a};return r.cache=new(Rt.Cache||ct),r}function Lt(t,e){return t===e||t!=t&&e!=e}function It(t){return function(t){return Ut(t)&&Ft(t)}(t)&&F.call(t,"callee")&&(!W.call(t,"callee")||B.call(t)==i)}Rt.Cache=ct;var Nt=Array.isArray;function Ft(t){return null!=t&&zt(t.length)&&!Bt(t)}function Bt(t){var e=Ht(t)?B.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function zt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ht(t){var r=e(t);return!!t&&("object"==r||"function"==r)}function Ut(t){return!!t&&"object"==e(t)}function Wt(t){return"symbol"==e(t)||Ut(t)&&"[object Symbol]"==B.call(t)}var qt=_?function(t){return function(e){return t(e)}}(_):function(t){return Ut(t)&&zt(t.length)&&!!m[B.call(t)]};function Vt(t){return Ft(t)?function(t,e){var r=Nt(t)||It(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,i=!!n;for(var o in t)!e&&!F.call(t,o)||i&&("length"==o||kt(o,n))||r.push(o);return r}(t):function(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||R))return V(t);var e,r,n=[];for(var i in Object(t))F.call(t,i)&&"constructor"!=i&&n.push(i);return n}(t)}function Gt(t){return t}r.exports=Dt}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],428:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=Object.prototype.toString;e.exports=function(t){return!0===t||!1===t||function(t){return!!t&&"object"==n(t)}(t)&&"[object Boolean]"==i.call(t)}},{}],429:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i="[object Arguments]",o="[object Map]",a="[object Object]",s="[object Set]",c=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[i]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l[o]=l["[object Number]"]=l[a]=l["[object RegExp]"]=l[s]=l["[object String]"]=l["[object WeakMap]"]=!1;var f="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,h="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,d=f||h||Function("return this")(),p="object"==(void 0===n?"undefined":e(n))&&n&&!n.nodeType&&n,m=p&&"object"==(void 0===r?"undefined":e(r))&&r&&!r.nodeType&&r,b=m&&m.exports===p,v=b&&f.process,g=function(){try{return v&&v.binding&&v.binding("util")}catch(t){}}(),y=g&&g.isTypedArray;function w(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function x(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function O(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var _,S,k,E=Array.prototype,M=Function.prototype,C=Object.prototype,j=d["__core-js_shared__"],A=M.toString,T=C.hasOwnProperty,P=(_=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",D=C.toString,R=RegExp("^"+A.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=b?d.Buffer:void 0,I=d.Symbol,N=d.Uint8Array,F=C.propertyIsEnumerable,B=E.splice,z=I?I.toStringTag:void 0,H=Object.getOwnPropertySymbols,U=L?L.isBuffer:void 0,W=(S=Object.keys,k=Object,function(t){return S(k(t))}),q=mt(d,"DataView"),V=mt(d,"Map"),G=mt(d,"Promise"),Y=mt(d,"Set"),X=mt(d,"WeakMap"),$=mt(Object,"create"),K=yt(q),Z=yt(V),J=yt(G),Q=yt(Y),tt=yt(X),et=I?I.prototype:void 0,rt=et?et.valueOf:void 0;function nt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function it(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function ot(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function at(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new ot;++e<r;)this.add(t[e])}function st(t){var e=this.__data__=new it(t);this.size=e.size}function ct(t,e){for(var r=t.length;r--;)if(wt(t[r][0],e))return r;return-1}function ut(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":z&&z in Object(t)?function(t){var e=T.call(t,z),r=t[z];try{t[z]=void 0;var n=!0}catch(t){}var i=D.call(t);return n&&(e?t[z]=r:delete t[z]),i}(t):function(t){return D.call(t)}(t)}function lt(t){return Mt(t)&&ut(t)==i}function ft(t,e,r,n,c){return t===e||(null==t||null==e||!Mt(t)&&!Mt(e)?t!=t&&e!=e:function(t,e,r,n,c,u){var l=Ot(t),f=Ot(e),h=l?"[object Array]":vt(t),d=f?"[object Array]":vt(e),p=(h=h==i?a:h)==a,m=(d=d==i?a:d)==a,b=h==d;if(b&&_t(t)){if(!_t(e))return!1;l=!0,p=!1}if(b&&!p)return u||(u=new st),l||Ct(t)?ht(t,e,r,n,c,u):function(t,e,r,n,i,a,c){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new N(t),new N(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return wt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case o:var u=x;case s:var l=1&n;if(u||(u=O),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;n|=2,c.set(t,e);var h=ht(u(t),u(e),n,i,a,c);return c.delete(t),h;case"[object Symbol]":if(rt)return rt.call(t)==rt.call(e)}return!1}(t,e,h,r,n,c,u);if(!(1&r)){var v=p&&T.call(t,"__wrapped__"),g=m&&T.call(e,"__wrapped__");if(v||g){var y=v?t.value():t,w=g?e.value():e;return u||(u=new st),c(y,w,r,n,u)}}return!!b&&(u||(u=new st),function(t,e,r,n,i,o){var a=1&r,s=dt(t),c=s.length;if(c!=dt(e).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in e:T.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<c;){var p=t[l=s[u]],m=e[l];if(n)var b=a?n(m,p,l,e,t,o):n(p,m,l,t,e,o);if(!(void 0===b?p===m||i(p,m,r,n,o):b)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var v=t.constructor,g=e.constructor;v==g||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof g&&g instanceof g||(h=!1)}return o.delete(t),o.delete(e),h}(t,e,r,n,c,u))}(t,e,r,n,ft,c))}function ht(t,e,r,n,i,o){var a=1&r,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var l=-1,f=!0,h=2&r?new at:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var d=t[l],p=e[l];if(n)var m=a?n(p,d,l,e,t,o):n(d,p,l,t,e,o);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!w(e,(function(t,e){if(a=e,!h.has(a)&&(d===t||i(d,t,r,n,o)))return h.push(e);var a}))){f=!1;break}}else if(d!==p&&!i(d,p,r,n,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function dt(t){return function(t,e,r){var n=e(t);return Ot(t)?n:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(n,r(t))}(t,jt,bt)}function pt(t,r){var n,i,o=t.__data__;return("string"==(i=e(n=r))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function mt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Et(t)||function(t){return!!P&&P in t}(t))&&(St(t)?R:c).test(yt(t))}(r)?r:void 0}nt.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},nt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},nt.prototype.get=function(t){var e=this.__data__;if($){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return T.call(e,t)?e[t]:void 0},nt.prototype.has=function(t){var e=this.__data__;return $?void 0!==e[t]:T.call(e,t)},nt.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=$&&void 0===e?"__lodash_hash_undefined__":e,this},it.prototype.clear=function(){this.__data__=[],this.size=0},it.prototype.delete=function(t){var e=this.__data__,r=ct(e,t);return!(r<0)&&(r==e.length-1?e.pop():B.call(e,r,1),--this.size,!0)},it.prototype.get=function(t){var e=this.__data__,r=ct(e,t);return r<0?void 0:e[r][1]},it.prototype.has=function(t){return ct(this.__data__,t)>-1},it.prototype.set=function(t,e){var r=this.__data__,n=ct(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this},ot.prototype.clear=function(){this.size=0,this.__data__={hash:new nt,map:new(V||it),string:new nt}},ot.prototype.delete=function(t){var e=pt(this,t).delete(t);return this.size-=e?1:0,e},ot.prototype.get=function(t){return pt(this,t).get(t)},ot.prototype.has=function(t){return pt(this,t).has(t)},ot.prototype.set=function(t,e){var r=pt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},at.prototype.add=at.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},at.prototype.has=function(t){return this.__data__.has(t)},st.prototype.clear=function(){this.__data__=new it,this.size=0},st.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},st.prototype.get=function(t){return this.__data__.get(t)},st.prototype.has=function(t){return this.__data__.has(t)},st.prototype.set=function(t,e){var r=this.__data__;if(r instanceof it){var n=r.__data__;if(!V||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new ot(n)}return r.set(t,e),this.size=r.size,this};var bt=H?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a)&&(o[i++]=a)}return o}(H(t),(function(e){return F.call(t,e)})))}:function(){return[]},vt=ut;function gt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||u.test(t))&&t>-1&&t%1==0&&t<e}function yt(t){if(null!=t){try{return A.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function wt(t,e){return t===e||t!=t&&e!=e}(q&&"[object DataView]"!=vt(new q(new ArrayBuffer(1)))||V&&vt(new V)!=o||G&&"[object Promise]"!=vt(G.resolve())||Y&&vt(new Y)!=s||X&&"[object WeakMap]"!=vt(new X))&&(vt=function(t){var e=ut(t),r=e==a?t.constructor:void 0,n=r?yt(r):"";if(n)switch(n){case K:return"[object DataView]";case Z:return o;case J:return"[object Promise]";case Q:return s;case tt:return"[object WeakMap]"}return e});var xt=lt(function(){return arguments}())?lt:function(t){return Mt(t)&&T.call(t,"callee")&&!F.call(t,"callee")},Ot=Array.isArray,_t=U||function(){return!1};function St(t){if(!Et(t))return!1;var e=ut(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function kt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Et(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}function Mt(t){return null!=t&&"object"==e(t)}var Ct=y?function(t){return function(e){return t(e)}}(y):function(t){return Mt(t)&&kt(t.length)&&!!l[ut(t)]};function jt(t){return null!=(e=t)&&kt(e.length)&&!St(e)?function(t,e){var r=Ot(t),n=!r&&xt(t),i=!r&&!n&&_t(t),o=!r&&!n&&!i&&Ct(t),a=r||n||i||o,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=s.length;for(var u in t)!e&&!T.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||gt(u,c))||s.push(u);return s}(t):function(t){if(r=(e=t)&&e.constructor,e!==("function"==typeof r&&r.prototype||C))return W(t);var e,r,n=[];for(var i in Object(t))T.call(t,i)&&"constructor"!=i&&n.push(i);return n}(t);var e}r.exports=function(t,e){return ft(t,e)}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],430:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,i="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,o=n||i||Function("return this")(),a=Object.prototype,s=a.hasOwnProperty,c=a.toString,u=o.Symbol,l=u?u.toStringTag:void 0;r.exports=function(t){if(!function(t){var r=e(t);return null!=t&&("object"==r||"function"==r)}(t))return!1;var r=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?function(t){var e=s.call(t,l),r=t[l];try{t[l]=void 0;var n=!0}catch(t){}var i=c.call(t);return n&&(e?t[l]=r:delete t[l]),i}(t):function(t){return c.call(t)}(t)}(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],431:[function(t,e,r){"use strict";e.exports=function(t){return null==t}},{}],432:[function(t,e,r){"use strict";e.exports=function(t){return void 0===t}},{}],433:[function(t,r,n){(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var n=/^\[object .+?Constructor\]$/,i="object"==(void 0===t?"undefined":e(t))&&t&&t.Object===Object&&t,o="object"==("undefined"==typeof self?"undefined":e(self))&&self&&self.Object===Object&&self,a=i||o||Function("return this")();function s(t,e){return!(!t||!t.length)&&function(t,e,r){if(e!=e)return function(t,e,r,n){for(var i=t.length,o=-1;++o<i;)if(e(t[o],o,t))return o;return-1}(t,c);for(var n=-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}(t,e)>-1}function c(t){return t!=t}function u(t,e){return t.has(e)}function l(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var f,h=Array.prototype,d=Function.prototype,p=Object.prototype,m=a["__core-js_shared__"],b=(f=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",v=d.toString,g=p.hasOwnProperty,y=p.toString,w=RegExp("^"+v.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=h.splice,O=P(a,"Map"),_=P(a,"Set"),S=P(Object,"create");function k(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function E(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function M(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function C(t){var e=-1,r=t?t.length:0;for(this.__data__=new M;++e<r;)this.add(t[e])}function j(t,e){for(var r,n,i=t.length;i--;)if((r=t[i][0])===(n=e)||r!=r&&n!=n)return i;return-1}k.prototype.clear=function(){this.__data__=S?S(null):{}},k.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},k.prototype.get=function(t){var e=this.__data__;if(S){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return g.call(e,t)?e[t]:void 0},k.prototype.has=function(t){var e=this.__data__;return S?void 0!==e[t]:g.call(e,t)},k.prototype.set=function(t,e){return this.__data__[t]=S&&void 0===e?"__lodash_hash_undefined__":e,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(t){var e=this.__data__,r=j(e,t);return!(r<0)&&(r==e.length-1?e.pop():x.call(e,r,1),!0)},E.prototype.get=function(t){var e=this.__data__,r=j(e,t);return r<0?void 0:e[r][1]},E.prototype.has=function(t){return j(this.__data__,t)>-1},E.prototype.set=function(t,e){var r=this.__data__,n=j(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},M.prototype.clear=function(){this.__data__={hash:new k,map:new(O||E),string:new k}},M.prototype.delete=function(t){return T(this,t).delete(t)},M.prototype.get=function(t){return T(this,t).get(t)},M.prototype.has=function(t){return T(this,t).has(t)},M.prototype.set=function(t,e){return T(this,t).set(t,e),this},C.prototype.add=C.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},C.prototype.has=function(t){return this.__data__.has(t)};var A=_&&1/l(new _([,-0]))[1]==1/0?function(t){return new _(t)}:function(){};function T(t,r){var n,i,o=t.__data__;return("string"==(i=e(n=r))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?o["string"==typeof r?"string":"hash"]:o.map}function P(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!D(t)||(e=t,b&&b in e))&&(function(t){var e=D(t)?y.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?w:n).test(function(t){if(null!=t){try{return v.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}(r)?r:void 0}function D(t){var r=e(t);return!!t&&("object"==r||"function"==r)}r.exports=function(t){return t&&t.length?function(t,e,r){var n=-1,i=s,o=t.length,a=!0,c=[],f=c;if(o>=200){var h=A(t);if(h)return l(h);a=!1,i=u,f=new C}else f=c;t:for(;++n<o;){var d=t[n],p=d;if(d=0!==d?d:0,a&&p==p){for(var m=f.length;m--;)if(f[m]===p)continue t;c.push(d)}else i(f,p,r)||(f!==c&&f.push(p),c.push(d))}return c}(t):[]}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],434:[function(t,e,r){"use strict";var n=t("inherits"),i=t("hash-base"),o=t("safe-buffer").Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(t,e){return t<<e|t>>>32-e}function u(t,e,r,n,i,o,a){return c(t+(e&r|~e&n)+i+o|0,a)+e|0}function l(t,e,r,n,i,o,a){return c(t+(e&n|r&~n)+i+o|0,a)+e|0}function f(t,e,r,n,i,o,a){return c(t+(e^r^n)+i+o|0,a)+e|0}function h(t,e,r,n,i,o,a){return c(t+(r^(e|~n))+i+o|0,a)+e|0}n(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,t[0],3614090360,7),o=u(o,r,n,i,t[1],3905402710,12),i=u(i,o,r,n,t[2],606105819,17),n=u(n,i,o,r,t[3],3250441966,22),r=u(r,n,i,o,t[4],4118548399,7),o=u(o,r,n,i,t[5],1200080426,12),i=u(i,o,r,n,t[6],2821735955,17),n=u(n,i,o,r,t[7],4249261313,22),r=u(r,n,i,o,t[8],1770035416,7),o=u(o,r,n,i,t[9],2336552879,12),i=u(i,o,r,n,t[10],4294925233,17),n=u(n,i,o,r,t[11],2304563134,22),r=u(r,n,i,o,t[12],1804603682,7),o=u(o,r,n,i,t[13],4254626195,12),i=u(i,o,r,n,t[14],2792965006,17),r=l(r,n=u(n,i,o,r,t[15],1236535329,22),i,o,t[1],4129170786,5),o=l(o,r,n,i,t[6],3225465664,9),i=l(i,o,r,n,t[11],643717713,14),n=l(n,i,o,r,t[0],3921069994,20),r=l(r,n,i,o,t[5],3593408605,5),o=l(o,r,n,i,t[10],38016083,9),i=l(i,o,r,n,t[15],3634488961,14),n=l(n,i,o,r,t[4],3889429448,20),r=l(r,n,i,o,t[9],568446438,5),o=l(o,r,n,i,t[14],3275163606,9),i=l(i,o,r,n,t[3],4107603335,14),n=l(n,i,o,r,t[8],1163531501,20),r=l(r,n,i,o,t[13],2850285829,5),o=l(o,r,n,i,t[2],4243563512,9),i=l(i,o,r,n,t[7],1735328473,14),r=f(r,n=l(n,i,o,r,t[12],2368359562,20),i,o,t[5],4294588738,4),o=f(o,r,n,i,t[8],2272392833,11),i=f(i,o,r,n,t[11],1839030562,16),n=f(n,i,o,r,t[14],4259657740,23),r=f(r,n,i,o,t[1],2763975236,4),o=f(o,r,n,i,t[4],1272893353,11),i=f(i,o,r,n,t[7],4139469664,16),n=f(n,i,o,r,t[10],3200236656,23),r=f(r,n,i,o,t[13],681279174,4),o=f(o,r,n,i,t[0],3936430074,11),i=f(i,o,r,n,t[3],3572445317,16),n=f(n,i,o,r,t[6],76029189,23),r=f(r,n,i,o,t[9],3654602809,4),o=f(o,r,n,i,t[12],3873151461,11),i=f(i,o,r,n,t[15],530742520,16),r=h(r,n=f(n,i,o,r,t[2],3299628645,23),i,o,t[0],4096336452,6),o=h(o,r,n,i,t[7],1126891415,10),i=h(i,o,r,n,t[14],2878612391,15),n=h(n,i,o,r,t[5],4237533241,21),r=h(r,n,i,o,t[12],1700485571,6),o=h(o,r,n,i,t[3],2399980690,10),i=h(i,o,r,n,t[10],4293915773,15),n=h(n,i,o,r,t[1],2240044497,21),r=h(r,n,i,o,t[8],1873313359,6),o=h(o,r,n,i,t[15],4264355552,10),i=h(i,o,r,n,t[6],2734768916,15),n=h(n,i,o,r,t[13],1309151649,21),r=h(r,n,i,o,t[4],4149444226,6),o=h(o,r,n,i,t[11],3174756917,10),i=h(i,o,r,n,t[2],718787259,15),n=h(n,i,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},e.exports=s},{"hash-base":370,inherits:387,"safe-buffer":494}],435:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("brorand");function o(t){this.rand=t||new i.Rand}e.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,e,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),c=0;!s.testn(c);c++);for(var u=t.shrn(c),l=s.toRed(o);e>0;e--){var f=this._randrange(new n(2),s);r&&r(f);var h=f.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(l)){for(var d=1;d<c;d++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(l))break}if(d===c)return!1}}return!0},o.prototype.getDivisor=function(t,e){var r=t.bitLength(),i=n.mont(t),o=new n(1).toRed(i);e||(e=Math.max(1,r/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var c=t.shrn(s),u=a.toRed(i);e>0;e--){var l=this._randrange(new n(2),a),f=t.gcd(l);if(0!==f.cmpn(1))return f;var h=l.toRed(i).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var d=1;d<s;d++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(t);if(0===h.cmp(u))break}if(d===s)return(h=h.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},{"bn.js":436,brorand:184}],436:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],437:[function(t,e,r){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}e.exports=n,n.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},{}],438:[function(t,e,r){"use strict";var n=r;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",r=0;r<t.length;r++)e+=i(t[r].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!=typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16));else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(t,e){return"hex"===e?o(t):t}},{}],439:[function(t,e,r){"use strict";var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":440,"./lib/inflate":441,"./lib/utils/common":442,"./lib/zlib/constants":445}],440:[function(t,e,r){"use strict";var n=t("./zlib/deflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),c=Object.prototype.toString;function u(t){if(!(this instanceof u))return new u(t);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error(a[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var l;if(l="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===c.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=n.deflateSetDictionary(this.strm,l)))throw new Error(a[r]);this._dict_set=!0}}function l(t,e){var r=new u(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}u.prototype.push=function(t,e){var r,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===c.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(r=n.deflate(s,a))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),s.avail_out=0,!0)},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=u,r.deflate=l,r.deflateRaw=function(t,e){return(e=e||{}).raw=!0,l(t,e)},r.gzip=function(t,e){return(e=e||{}).gzip=!0,l(t,e)}},{"./utils/common":442,"./utils/strings":443,"./zlib/deflate":447,"./zlib/messages":452,"./zlib/zstream":454}],441:[function(t,e,r){"use strict";var n=t("./zlib/inflate"),i=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),c=t("./zlib/zstream"),u=t("./zlib/gzheader"),l=Object.prototype.toString;function f(t){if(!(this instanceof f))return new f(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==a.Z_OK)throw new Error(s[r]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=o.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=n.inflateSetDictionary(this.strm,e.dictionary))!==a.Z_OK))throw new Error(s[r])}function h(t,e){var r=new f(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}f.prototype.push=function(t,e){var r,s,c,u,f,h=this.strm,d=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?h.input=o.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?h.input=new Uint8Array(t):h.input=t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(r=n.inflate(h,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===a.Z_BUF_ERROR&&!0===m&&(r=a.Z_OK,m=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&r!==a.Z_STREAM_END&&(0!==h.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(c=o.utf8border(h.output,h.next_out),u=h.next_out-c,f=o.buf2string(h.output,c),h.next_out=u,h.avail_out=d-u,u&&i.arraySet(h.output,h.output,c,u,0),this.onData(f)):this.onData(i.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(m=!0)}while((h.avail_in>0||0===h.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),h.avail_out=0,!0)},f.prototype.onData=function(t){this.chunks.push(t)},f.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=f,r.inflate=h,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,h(t,e)},r.ungzip=h},{"./utils/common":442,"./utils/strings":443,"./zlib/constants":445,"./zlib/gzheader":448,"./zlib/inflate":450,"./zlib/messages":452,"./zlib/zstream":454}],442:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!==n(r))throw new TypeError(r+"must be non-object");for(var i in r)o(r,i)&&(t[i]=r[i])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var a={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),i);else for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){var e,r,n,i,o,a;for(n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(a=new Uint8Array(n),i=0,e=0,r=t.length;e<r;e++)o=t[e],a.set(o,i),i+=o.length;return a}},s={arraySet:function(t,e,r,n,i){for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,a)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,s))},r.setTyped(i)},{}],443:[function(t,e,r){"use strict";var n=t("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(t,e){if(e<65534&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",a=0;a<e;a++)r+=String.fromCharCode(t[a]);return r}a[254]=a[254]=1,r.string2buf=function(t){var e,r,i,o,a,s=t.length,c=0;for(o=0;o<s;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=new n.Buf8(c),a=0,o=0;a<c;o++)55296==(64512&(r=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(i-56320),o++),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e},r.buf2binstring=function(t){return c(t,t.length)},r.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,i=e.length;r<i;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,n,i,o,s=e||t.length,u=new Array(2*s);for(n=0,r=0;r<s;)if((i=t[r++])<128)u[n++]=i;else if((o=a[i])>4)u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<s;)i=i<<6|63&t[r++],o--;o>1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return c(u,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}},{"./common":442}],444:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+e[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},{}],445:[function(t,e,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],446:[function(t,e,r){"use strict";var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,i){var o=n,a=i+r;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],447:[function(t,e,r){"use strict";var n,i=t("../utils/common"),o=t("./trees"),a=t("./adler32"),s=t("./crc32"),c=t("./messages");function u(t,e){return t.msg=c[e],e}function l(t){return(t<<1)-(t>4?9:0)}function f(t){for(var e=t.length;--e>=0;)t[e]=0}function h(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function d(t,e){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,h(t.strm)}function p(t,e){t.pending_buf[t.pending++]=e}function m(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function b(t,e){var r,n,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,c=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,u=t.window,l=t.w_mask,f=t.prev,h=t.strstart+258,d=u[o+a-1],p=u[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(u[(r=e)+a]===p&&u[r+a-1]===d&&u[r]===u[o]&&u[++r]===u[o+1]){o+=2,r++;do{}while(u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&u[++o]===u[++r]&&o<h);if(n=258-(h-o),o=h-258,n>a){if(t.match_start=e,a=n,n>=s)break;d=u[o+a-1],p=u[o+a]}}}while((e=f[e&l])>c&&0!=--i);return a<=t.lookahead?a:t.lookahead}function v(t){var e,r,n,o,c,u,l,f,h,d,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-262)){i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=p?n-p:0}while(--r);e=r=p;do{n=t.prev[--e],t.prev[e]=n>=p?n-p:0}while(--r);o+=p}if(0===t.strm.avail_in)break;if(u=t.strm,l=t.window,f=t.strstart+t.lookahead,h=o,d=void 0,(d=u.avail_in)>h&&(d=h),r=0===d?0:(u.avail_in-=d,i.arraySet(l,u.input,u.next_in,d,f),1===u.state.wrap?u.adler=a(u.adler,l,d,f):2===u.state.wrap&&(u.adler=s(u.adler,l,d,f)),u.next_in+=d,u.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=3)for(c=t.strstart-t.insert,t.ins_h=t.window[c],t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+3-1])&t.hash_mask,t.prev[c&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=c,c++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function g(t,e){for(var r,n;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=b(t,r)),t.match_length>=3)if(n=o._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function y(t,e){for(var r,n,i;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=b(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(d(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=o._tr_tally(t,0,t.window[t.strstart-1]))&&d(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function w(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}function x(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),f(this.dyn_ltree),f(this.dyn_dtree),f(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),f(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),f(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function O(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=0,o._tr_init(e),0):u(t,-2)}function _(t){var e,r=O(t);return 0===r&&((e=t.state).window_size=2*e.w_size,f(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function S(t,e,r,n,o,a){if(!t)return-2;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),o<1||o>9||8!==r||n<8||n>15||e<0||e>9||a<0||a>4)return u(t,-2);8===n&&(n=9);var c=new x;return t.state=c,c.strm=t,c.wrap=s,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=o+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+3-1)/3),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<o+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=e,c.strategy=a,c.method=r,_(t)}n=[new w(0,0,0,0,(function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(v(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,d(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-262&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(d(t,!1),t.strm.avail_out),1)})),new w(4,4,8,4,g),new w(4,5,16,8,g),new w(4,6,32,32,g),new w(4,4,16,16,y),new w(8,16,32,32,y),new w(8,16,128,128,y),new w(8,32,128,256,y),new w(32,128,258,1024,y),new w(32,258,258,4096,y)],r.deflateInit=function(t,e){return S(t,e,8,15,8,0)},r.deflateInit2=S,r.deflateReset=_,r.deflateResetKeep=O,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},r.deflate=function(t,e){var r,i,a,c;if(!t||!t.state||e>5||e<0)return t?u(t,-2):-2;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return u(t,0===t.avail_out?-5:-2);if(i.strm=t,r=i.last_flush,i.last_flush=e,42===i.status)if(2===i.wrap)t.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var b=8+(i.w_bits-8<<4)<<8;b|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(b|=32),b+=31-b%31,i.status=113,m(i,b),0!==i.strstart&&(m(i,t.adler>>>16),m(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),h(t),a=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),h(t),a=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),h(t),a=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===c&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&h(t),i.pending+2<=i.pending_buf_size&&(p(i,255&t.adler),p(i,t.adler>>8&255),t.adler=0,i.status=113)):i.status=113),0!==i.pending){if(h(t),0===t.avail_out)return i.last_flush=-1,0}else if(0===t.avail_in&&l(e)<=l(r)&&4!==e)return u(t,-5);if(666===i.status&&0!==t.avail_in)return u(t,-5);if(0!==t.avail_in||0!==i.lookahead||0!==e&&666!==i.status){var g=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(v(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=258){if(v(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=t.strstart+258;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);t.match_length=258-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=o._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):n[i.level].func(i,e);if(3!==g&&4!==g||(i.status=666),1===g||3===g)return 0===t.avail_out&&(i.last_flush=-1),0;if(2===g&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(f(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),h(t),0===t.avail_out))return i.last_flush=-1,0}return 4!==e?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&t.adler),p(i,t.adler>>8&255),p(i,t.adler>>16&255),p(i,t.adler>>24&255),p(i,255&t.total_in),p(i,t.total_in>>8&255),p(i,t.total_in>>16&255),p(i,t.total_in>>24&255)):(m(i,t.adler>>>16),m(i,65535&t.adler)),h(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},r.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?u(t,-2):(t.state=null,113===e?u(t,-3):0):-2},r.deflateSetDictionary=function(t,e){var r,n,o,s,c,u,l,h,d=e.length;if(!t||!t.state)return-2;if(2===(s=(r=t.state).wrap)||1===s&&42!==r.status||r.lookahead)return-2;for(1===s&&(t.adler=a(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===s&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,e,d-r.w_size,r.w_size,0),e=h,d=r.w_size),c=t.avail_in,u=t.next_in,l=t.input,t.avail_in=d,t.next_in=0,t.input=e,v(r);r.lookahead>=3;){n=r.strstart,o=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--o);r.strstart=n,r.lookahead=2,v(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=u,t.input=l,t.avail_in=c,r.wrap=s,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":442,"./adler32":444,"./crc32":446,"./messages":452,"./trees":453}],448:[function(t,e,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],449:[function(t,e,r){"use strict";e.exports=function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E;r=t.state,n=t.next_in,k=t.input,i=n+(t.avail_in-5),o=t.next_out,E=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),c=r.dmax,u=r.wsize,l=r.whave,f=r.wnext,h=r.window,d=r.hold,p=r.bits,m=r.lencode,b=r.distcode,v=(1<<r.lenbits)-1,g=(1<<r.distbits)-1;t:do{p<15&&(d+=k[n++]<<p,p+=8,d+=k[n++]<<p,p+=8),y=m[d&v];e:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))E[o++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=m[(65535&y)+(d&(1<<w)-1)];continue e}if(32&w){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}x=65535&y,(w&=15)&&(p<w&&(d+=k[n++]<<p,p+=8),x+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=k[n++]<<p,p+=8,d+=k[n++]<<p,p+=8),y=b[d&g];r:for(;;){if(d>>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=b[(65535&y)+(d&(1<<w)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(O=65535&y,p<(w&=15)&&(d+=k[n++]<<p,(p+=8)<w&&(d+=k[n++]<<p,p+=8)),(O+=d&(1<<w)-1)>c){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=w,p-=w,O>(w=o-a)){if((w=O-w)>l&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(_=0,S=h,0===f){if(_+=u-w,w<x){x-=w;do{E[o++]=h[_++]}while(--w);_=o-O,S=E}}else if(f<w){if(_+=u+f-w,(w-=f)<x){x-=w;do{E[o++]=h[_++]}while(--w);if(_=0,f<x){x-=w=f;do{E[o++]=h[_++]}while(--w);_=o-O,S=E}}}else if(_+=f-w,w<x){x-=w;do{E[o++]=h[_++]}while(--w);_=o-O,S=E}for(;x>2;)E[o++]=S[_++],E[o++]=S[_++],E[o++]=S[_++],x-=3;x&&(E[o++]=S[_++],x>1&&(E[o++]=S[_++]))}else{_=o-O;do{E[o++]=E[_++],E[o++]=E[_++],E[o++]=E[_++],x-=3}while(x>2);x&&(E[o++]=E[_++],x>1&&(E[o++]=E[_++]))}break}}break}}while(n<i&&o<s);n-=x=p>>3,d&=(1<<(p-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=o<s?s-o+257:257-(o-s),r.hold=d,r.bits=p}},{}],450:[function(t,e,r){"use strict";var n=t("../utils/common"),i=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees");function c(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(852),e.distcode=e.distdyn=new n.Buf32(592),e.sane=1,e.back=-1,0):-2}function f(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,l(t)):-2}function h(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,f(t))):-2}function d(t,e){var r,n;return t?(n=new u,t.state=n,n.window=null,0!==(r=h(t,e))&&(t.state=null),r):-2}var p,m,b=!0;function v(t){if(b){var e;for(p=new n.Buf32(512),m=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,p,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,m,0,t.work,{bits:5}),b=!1}t.lencode=p,t.lenbits=9,t.distcode=m,t.distbits=5}function g(t,e,r,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),i>=a.wsize?(n.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),n.arraySet(a.window,e,r-i,o,a.wnext),(i-=o)?(n.arraySet(a.window,e,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}r.inflateReset=f,r.inflateReset2=h,r.inflateResetKeep=l,r.inflateInit=function(t){return d(t,15)},r.inflateInit2=d,r.inflate=function(t,e){var r,u,l,f,h,d,p,m,b,y,w,x,O,_,S,k,E,M,C,j,A,T,P,D,R=0,L=new n.Buf8(4),I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return-2;12===(r=t.state).mode&&(r.mode=13),h=t.next_out,l=t.output,p=t.avail_out,f=t.next_in,u=t.input,d=t.avail_in,m=r.hold,b=r.bits,y=d,w=p,T=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(2&r.wrap&&35615===m){r.check=0,L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0),m=0,b=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&m)<<8)+(m>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&m)){t.msg="unknown compression method",r.mode=30;break}if(b-=4,A=8+(15&(m>>>=4)),0===r.wbits)r.wbits=A;else if(A>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<A,t.adler=r.check=1,r.mode=512&m?10:12,m=0,b=0;break;case 2:for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(r.flags=m,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=m>>8&1),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0)),m=0,b=0,r.mode=3;case 3:for(;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.head&&(r.head.time=m),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,L[2]=m>>>16&255,L[3]=m>>>24&255,r.check=o(r.check,L,4,0)),m=0,b=0,r.mode=4;case 4:for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.head&&(r.head.xflags=255&m,r.head.os=m>>8),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0)),m=0,b=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.length=m,r.head&&(r.head.extra_len=m),512&r.flags&&(L[0]=255&m,L[1]=m>>>8&255,r.check=o(r.check,L,2,0)),m=0,b=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((x=r.length)>d&&(x=d),x&&(r.head&&(A=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,u,f,x,A)),512&r.flags&&(r.check=o(r.check,u,x,f)),d-=x,f+=x,r.length-=x),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break t;x=0;do{A=u[f+x++],r.head&&A&&r.length<65536&&(r.head.name+=String.fromCharCode(A))}while(A&&x<d);if(512&r.flags&&(r.check=o(r.check,u,x,f)),d-=x,f+=x,A)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break t;x=0;do{A=u[f+x++],r.head&&A&&r.length<65536&&(r.head.comment+=String.fromCharCode(A))}while(A&&x<d);if(512&r.flags&&(r.check=o(r.check,u,x,f)),d-=x,f+=x,A)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;b<16;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(m!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}m=0,b=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}t.adler=r.check=c(m),m=0,b=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=h,t.avail_out=p,t.next_in=f,t.avail_in=d,r.hold=m,r.bits=b,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){m>>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}switch(r.last=1&m,b-=1,3&(m>>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6===e){m>>>=2,b-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}m>>>=2,b-=2;break;case 14:for(m>>>=7&b,b-=7&b;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if((65535&m)!=(m>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&m,m=0,b=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(x=r.length){if(x>d&&(x=d),x>p&&(x=p),0===x)break t;n.arraySet(l,u,f,x,h),d-=x,f+=x,p-=x,h+=x,r.length-=x;break}r.mode=12;break;case 17:for(;b<14;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(r.nlen=257+(31&m),m>>>=5,b-=5,r.ndist=1+(31&m),m>>>=5,b-=5,r.ncode=4+(15&m),m>>>=4,b-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;b<3;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.lens[I[r.have++]]=7&m,m>>>=3,b-=3}for(;r.have<19;)r.lens[I[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,P={bits:r.lenbits},T=s(0,r.lens,0,19,r.lencode,0,r.work,P),r.lenbits=P.bits,T){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;k=(R=r.lencode[m&(1<<r.lenbits)-1])>>>16&255,E=65535&R,!((S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(E<16)m>>>=S,b-=S,r.lens[r.have++]=E;else{if(16===E){for(D=S+2;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(m>>>=S,b-=S,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}A=r.lens[r.have-1],x=3+(3&m),m>>>=2,b-=2}else if(17===E){for(D=S+3;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}b-=S,A=0,x=3+(7&(m>>>=S)),m>>>=3,b-=3}else{for(D=S+7;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}b-=S,A=0,x=11+(127&(m>>>=S)),m>>>=7,b-=7}if(r.have+x>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;x--;)r.lens[r.have++]=A}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,P={bits:r.lenbits},T=s(1,r.lens,0,r.nlen,r.lencode,0,r.work,P),r.lenbits=P.bits,T){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,P={bits:r.distbits},T=s(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,P),r.distbits=P.bits,T){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(d>=6&&p>=258){t.next_out=h,t.avail_out=p,t.next_in=f,t.avail_in=d,r.hold=m,r.bits=b,a(t,w),h=t.next_out,l=t.output,p=t.avail_out,f=t.next_in,u=t.input,d=t.avail_in,m=r.hold,b=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;k=(R=r.lencode[m&(1<<r.lenbits)-1])>>>16&255,E=65535&R,!((S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(k&&0==(240&k)){for(M=S,C=k,j=E;k=(R=r.lencode[j+((m&(1<<M+C)-1)>>M)])>>>16&255,E=65535&R,!(M+(S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}m>>>=M,b-=M,r.back+=M}if(m>>>=S,b-=S,r.back+=S,r.length=E,0===k){r.mode=26;break}if(32&k){r.back=-1,r.mode=12;break}if(64&k){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&k,r.mode=22;case 22:if(r.extra){for(D=r.extra;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.length+=m&(1<<r.extra)-1,m>>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;k=(R=r.distcode[m&(1<<r.distbits)-1])>>>16&255,E=65535&R,!((S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(0==(240&k)){for(M=S,C=k,j=E;k=(R=r.distcode[j+((m&(1<<M+C)-1)>>M)])>>>16&255,E=65535&R,!(M+(S=R>>>24)<=b);){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}m>>>=M,b-=M,r.back+=M}if(m>>>=S,b-=S,r.back+=S,64&k){t.msg="invalid distance code",r.mode=30;break}r.offset=E,r.extra=15&k,r.mode=24;case 24:if(r.extra){for(D=r.extra;b<D;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}r.offset+=m&(1<<r.extra)-1,m>>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break t;if(x=w-p,r.offset>x){if((x=r.offset-x)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}x>r.wnext?(x-=r.wnext,O=r.wsize-x):O=r.wnext-x,x>r.length&&(x=r.length),_=r.window}else _=l,O=h-r.offset,x=r.length;x>p&&(x=p),p-=x,r.length-=x;do{l[h++]=_[O++]}while(--x);0===r.length&&(r.mode=21);break;case 26:if(0===p)break t;l[h++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===d)break t;d--,m|=u[f++]<<b,b+=8}if(w-=p,t.total_out+=w,r.total+=w,w&&(t.adler=r.check=r.flags?o(r.check,l,w,h-w):i(r.check,l,w,h-w)),w=p,(r.flags?m:c(m))!==r.check){t.msg="incorrect data check",r.mode=30;break}m=0,b=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;b<32;){if(0===d)break t;d--,m+=u[f++]<<b,b+=8}if(m!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}m=0,b=0}r.mode=29;case 29:T=1;break t;case 30:T=-3;break t;case 31:return-4;case 32:default:return-2}return t.next_out=h,t.avail_out=p,t.next_in=f,t.avail_in=d,r.hold=m,r.bits=b,(r.wsize||w!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&g(t,t.output,t.next_out,w-t.avail_out)?(r.mode=31,-4):(y-=t.avail_in,w-=t.avail_out,t.total_in+=y,t.total_out+=w,r.total+=w,r.wrap&&w&&(t.adler=r.check=r.flags?o(r.check,l,w,t.next_out-w):i(r.check,l,w,t.next_out-w)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===y&&0===w||4===e)&&0===T&&(T=-5),T)},r.inflateEnd=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},r.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?-2:(r.head=e,e.done=!1,0):-2},r.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?-2:11===r.mode&&i(1,e,n,0)!==r.check?-3:g(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":442,"./adler32":444,"./crc32":446,"./inffast":449,"./inftrees":451}],451:[function(t,e,r){"use strict";var n=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,c,u,l,f,h){var d,p,m,b,v,g,y,w,x,O=h.bits,_=0,S=0,k=0,E=0,M=0,C=0,j=0,A=0,T=0,P=0,D=null,R=0,L=new n.Buf16(16),I=new n.Buf16(16),N=null,F=0;for(_=0;_<=15;_++)L[_]=0;for(S=0;S<c;S++)L[e[r+S]]++;for(M=O,E=15;E>=1&&0===L[E];E--);if(M>E&&(M=E),0===E)return u[l++]=20971520,u[l++]=20971520,h.bits=1,0;for(k=1;k<E&&0===L[k];k++);for(M<k&&(M=k),A=1,_=1;_<=15;_++)if(A<<=1,(A-=L[_])<0)return-1;if(A>0&&(0===t||1!==E))return-1;for(I[1]=0,_=1;_<15;_++)I[_+1]=I[_]+L[_];for(S=0;S<c;S++)0!==e[r+S]&&(f[I[e[r+S]]++]=S);if(0===t?(D=N=f,g=19):1===t?(D=i,R-=257,N=o,F-=257,g=256):(D=a,N=s,g=-1),P=0,S=0,_=k,v=l,C=M,j=0,m=-1,b=(T=1<<M)-1,1===t&&T>852||2===t&&T>592)return 1;for(;;){y=_-j,f[S]<g?(w=0,x=f[S]):f[S]>g?(w=N[F+f[S]],x=D[R+f[S]]):(w=96,x=0),d=1<<_-j,k=p=1<<C;do{u[v+(P>>j)+(p-=d)]=y<<24|w<<16|x|0}while(0!==p);for(d=1<<_-1;P&d;)d>>=1;if(0!==d?(P&=d-1,P+=d):P=0,S++,0==--L[_]){if(_===E)break;_=e[r+f[S]]}if(_>M&&(P&b)!==m){for(0===j&&(j=M),v+=k,A=1<<(C=_-j);C+j<E&&!((A-=L[C+j])<=0);)C++,A<<=1;if(T+=1<<C,1===t&&T>852||2===t&&T>592)return 1;u[m=P&b]=M<<24|C<<16|v-l|0}}return 0!==P&&(u[v+P]=_-j<<24|64<<16|0),h.bits=M,0}},{"../utils/common":442}],452:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],453:[function(t,e,r){"use strict";var n=t("../utils/common");function i(t){for(var e=t.length;--e>=0;)t[e]=0}var o=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u=new Array(576);i(u);var l=new Array(60);i(l);var f=new Array(512);i(f);var h=new Array(256);i(h);var d=new Array(29);i(d);var p,m,b,v=new Array(30);function g(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function y(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function w(t){return t<256?f[t]:f[256+(t>>>7)]}function x(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function O(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,x(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function _(t,e,r){O(t,r[2*e],r[2*e+1])}function S(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function k(t,e,r){var n,i,o=new Array(16),a=0;for(n=1;n<=15;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function M(t){t.bi_valid>8?x(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function C(t,e,r,n){var i=2*e,o=2*r;return t[i]<t[o]||t[i]===t[o]&&n[e]<=n[r]}function j(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&C(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!C(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function A(t,e,r){var n,i,s,c,u=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*u]<<8|t.pending_buf[t.d_buf+2*u+1],i=t.pending_buf[t.l_buf+u],u++,0===n?_(t,i,e):(_(t,(s=h[i])+256+1,e),0!==(c=o[s])&&O(t,i-=d[s],c),_(t,s=w(--n),r),0!==(c=a[s])&&O(t,n-=v[s],c))}while(u<t.last_lit);_(t,256,e)}function T(t,e){var r,n,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,c=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<c;r++)0!==o[2*r]?(t.heap[++t.heap_len]=u=r,t.depth[r]=0):o[2*r+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=u,r=t.heap_len>>1;r>=1;r--)j(t,o,r);i=c;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],j(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*i]=o[2*r]+o[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=i,t.heap[1]=i++,j(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,o,a,s,c=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,m=0;for(o=0;o<=15;o++)t.bl_count[o]=0;for(c[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)(o=c[2*c[2*(n=t.heap[r])+1]+1]+1)>p&&(o=p,m++),c[2*n+1]=o,n>u||(t.bl_count[o]++,a=0,n>=d&&(a=h[n-d]),s=c[2*n],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(l[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(i=t.heap[--r])>u||(c[2*i+1]!==o&&(t.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),n--)}}(t,e),k(o,u,t.bl_count)}function P(t,e,r){var n,i,o=-1,a=e[1],s=0,c=7,u=4;for(0===a&&(c=138,u=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=e[2*(n+1)+1],++s<c&&i===a||(s<u?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(c=138,u=3):i===a?(c=6,u=3):(c=7,u=4))}function D(t,e,r){var n,i,o=-1,a=e[1],s=0,c=7,u=4;for(0===a&&(c=138,u=3),n=0;n<=r;n++)if(i=a,a=e[2*(n+1)+1],!(++s<c&&i===a)){if(s<u)do{_(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(_(t,i,t.bl_tree),s--),_(t,16,t.bl_tree),O(t,s-3,2)):s<=10?(_(t,17,t.bl_tree),O(t,s-3,3)):(_(t,18,t.bl_tree),O(t,s-11,7));s=0,o=i,0===a?(c=138,u=3):i===a?(c=6,u=3):(c=7,u=4)}}i(v);var R=!1;function L(t,e,r,i){O(t,0+(i?1:0),3),function(t,e,r,i){M(t),x(t,r),x(t,~r),n.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r)}r._tr_init=function(t){R||(function(){var t,e,r,n,i,c=new Array(16);for(r=0,n=0;n<28;n++)for(d[n]=r,t=0;t<1<<o[n];t++)h[r++]=n;for(h[r-1]=n,i=0,n=0;n<16;n++)for(v[n]=i,t=0;t<1<<a[n];t++)f[i++]=n;for(i>>=7;n<30;n++)for(v[n]=i<<7,t=0;t<1<<a[n]-7;t++)f[256+i++]=n;for(e=0;e<=15;e++)c[e]=0;for(t=0;t<=143;)u[2*t+1]=8,t++,c[8]++;for(;t<=255;)u[2*t+1]=9,t++,c[9]++;for(;t<=279;)u[2*t+1]=7,t++,c[7]++;for(;t<=287;)u[2*t+1]=8,t++,c[8]++;for(k(u,287,c),t=0;t<30;t++)l[2*t+1]=5,l[2*t]=S(t,5);p=new g(u,o,257,286,15),m=new g(l,a,0,30,15),b=new g(new Array(0),s,0,19,7)}(),R=!0),t.l_desc=new y(t.dyn_ltree,p),t.d_desc=new y(t.dyn_dtree,m),t.bl_desc=new y(t.bl_tree,b),t.bi_buf=0,t.bi_valid=0,E(t)},r._tr_stored_block=L,r._tr_flush_block=function(t,e,r,n){var i,o,a=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),T(t,t.l_desc),T(t,t.d_desc),a=function(t){var e;for(P(t,t.dyn_ltree,t.l_desc.max_code),P(t,t.dyn_dtree,t.d_desc.max_code),T(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*c[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==e?L(t,e,r,n):4===t.strategy||o===i?(O(t,2+(n?1:0),3),A(t,u,l)):(O(t,4+(n?1:0),3),function(t,e,r,n){var i;for(O(t,e-257,5),O(t,r-1,5),O(t,n-4,4),i=0;i<n;i++)O(t,t.bl_tree[2*c[i]+1],3);D(t,t.dyn_ltree,e-1),D(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),A(t,t.dyn_ltree,t.dyn_dtree)),E(t),n&&M(t)},r._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){O(t,2,3),_(t,256,u),function(t){16===t.bi_valid?(x(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":442}],454:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],455:[function(t,e,r){e.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],456:[function(t,e,r){"use strict";var n=t("asn1.js");r.certificate=t("./certificate");var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));r.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));r.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));r.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));r.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));r.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));r.DSAPrivateKey=l,r.DSAparam=n.define("DSAparam",(function(){this.int()}));var f=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));r.ECPrivateKey=f;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));r.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":457,"asn1.js":167}],457:[function(t,e,r){"use strict";var n=t("asn1.js"),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=n.define("RDNSequence",(function(){this.seqof(c)})),l=n.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),f=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(l),this.key("validity").use(f),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));e.exports=p},{"asn1.js":167}],458:[function(t,e,r){"use strict";var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=t("evp_bytestokey"),s=t("browserify-aes"),c=t("safe-buffer").Buffer;e.exports=function(t,e){var r,u=t.toString(),l=u.match(n);if(l){var f="aes"+l[1],h=c.from(l[2],"hex"),d=c.from(l[3].replace(/[\r\n]/g,""),"base64"),p=a(e,h.slice(0,8),parseInt(l[1],10)).key,m=[],b=s.createDecipheriv(f,p,h);m.push(b.update(d)),m.push(b.final()),r=c.concat(m)}else{var v=u.match(o);r=c.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:r}}},{"browserify-aes":188,evp_bytestokey:368,"safe-buffer":494}],459:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=t("./asn1"),o=t("./aesid.json"),a=t("./fixProc"),s=t("browserify-aes"),c=t("pbkdf2"),u=t("safe-buffer").Buffer;function l(t){var e;"object"!==n(t)||u.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=u.from(t));var r,l,f=a(t,e),h=f.tag,d=f.data;switch(h){case"CERTIFICATE":l=i.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=i.PublicKey.decode(d,"der")),r=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=i.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":d=function(t,e){var r=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=o[t.algorithm.decrypt.cipher.algo.join(".")],a=t.algorithm.decrypt.cipher.iv,l=t.subjectPrivateKey,f=parseInt(i.split("-")[1],10)/8,h=c.pbkdf2Sync(e,r,n,f,"sha1"),d=s.createDecipheriv(i,h,a),p=[];return p.push(d.update(l)),p.push(d.final()),u.concat(p)}(d=i.EncryptedPrivateKey.decode(d,"der"),e);case"PRIVATE KEY":switch(r=(l=i.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:i.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=i.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=i.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+h)}}e.exports=l,l.signature=i.signature},{"./aesid.json":455,"./asn1":456,"./fixProc":458,"browserify-aes":188,pbkdf2:460,"safe-buffer":494}],460:[function(t,e,r){"use strict";r.pbkdf2=t("./lib/async"),r.pbkdf2Sync=t("./lib/sync")},{"./lib/async":461,"./lib/sync":464}],461:[function(t,r,n){(function(e,n){"use strict";var i,o=t("safe-buffer").Buffer,a=t("./precondition"),s=t("./default-encoding"),c=t("./sync"),u=t("./to-buffer"),l=n.crypto&&n.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(t,e,r,n,i){return l.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return l.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:i}},t,n<<3)})).then((function(t){return o.from(t)}))}r.exports=function(t,r,p,m,b,v){"function"==typeof b&&(v=b,b=void 0);var g=f[(b=b||"sha1").toLowerCase()];if(!g||"function"!=typeof n.Promise)return e.nextTick((function(){var e;try{e=c(t,r,p,m,b)}catch(t){return v(t)}v(null,e)}));if(a(p,m),t=u(t,s,"Password"),r=u(r,s,"Salt"),"function"!=typeof v)throw new Error("No callback provided to pbkdf2");!function(t,r){t.then((function(t){e.nextTick((function(){r(null,t)}))}),(function(t){e.nextTick((function(){r(t)}))}))}(function(t){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==h[t])return h[t];var e=d(i=i||o.alloc(8),i,10,128,t).then((function(){return!0})).catch((function(){return!1}));return h[t]=e,e}(g).then((function(e){return e?d(t,r,p,m,g):c(t,r,p,m,b)})),v)}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":462,"./precondition":463,"./sync":464,"./to-buffer":465,_process:467,"safe-buffer":494}],462:[function(t,e,r){(function(t){"use strict";var r;r=t.browser?"utf-8":t.version?parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",e.exports=r}).call(this,t("_process"))},{_process:467}],463:[function(t,e,r){"use strict";var n=Math.pow(2,30)-1;e.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>n||e!=e)throw new TypeError("Bad key length")}},{}],464:[function(t,e,r){"use strict";var n=t("create-hash/md5"),i=t("ripemd160"),o=t("sha.js"),a=t("safe-buffer").Buffer,s=t("./precondition"),c=t("./default-encoding"),u=t("./to-buffer"),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(t,e,r){var s=function(t){return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?n:function(e){return o(t).update(e).digest()}}(t),c="sha512"===t||"sha384"===t?128:64;e.length>c?e=s(e):e.length<c&&(e=a.concat([e,l],c));for(var u=a.allocUnsafe(c+f[t]),h=a.allocUnsafe(c+f[t]),d=0;d<c;d++)u[d]=54^e[d],h[d]=92^e[d];var p=a.allocUnsafe(c+r+4);u.copy(p,0,0,c),this.ipad1=p,this.ipad2=u,this.opad=h,this.alg=t,this.blocksize=c,this.hash=s,this.size=f[t]}h.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(t,e,r,n,i){s(r,n);var o=new h(i=i||"sha1",t=u(t,c,"Password"),(e=u(e,c,"Salt")).length),l=a.allocUnsafe(n),d=a.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=f[i],b=Math.ceil(n/m),v=1;v<=b;v++){d.writeUInt32BE(v,e.length);for(var g=o.run(d,o.ipad1),y=g,w=1;w<r;w++){y=o.run(y,o.ipad2);for(var x=0;x<m;x++)g[x]^=y[x]}g.copy(l,p),p+=m}return l}},{"./default-encoding":462,"./precondition":463,"./to-buffer":465,"create-hash/md5":332,ripemd160:493,"safe-buffer":494,"sha.js":499}],465:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;e.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"==typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},{"safe-buffer":494}],466:[function(t,e,r){(function(t){"use strict";void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick((function(){e.apply(null,o)}))}}}:e.exports=t}).call(this,t("_process"))},{_process:467}],467:[function(t,e,r){"use strict";var n,i,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(t){i=s}}();var u,l=[],f=!1,h=-1;function d(){f&&u&&(f=!1,u.length?l=u.concat(l):h=-1,l.length&&p())}function p(){if(!f){var t=c(d);f=!0;for(var e=l.length;e;){for(u=l,l=[];++h<e;)u&&u[h].run();h=-1,e=l.length}u=null,f=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function b(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new m(t,e)),1!==l.length||f||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=b,o.addListener=b,o.once=b,o.off=b,o.removeListener=b,o.removeAllListeners=b,o.emit=b,o.prependListener=b,o.prependOnceListener=b,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],468:[function(t,e,r){"use strict";r.publicEncrypt=t("./publicEncrypt"),r.privateDecrypt=t("./privateDecrypt"),r.privateEncrypt=function(t,e){return r.publicEncrypt(t,e,!0)},r.publicDecrypt=function(t,e){return r.privateDecrypt(t,e,!0)}},{"./privateDecrypt":471,"./publicEncrypt":472}],469:[function(t,e,r){"use strict";var n=t("create-hash"),i=t("safe-buffer").Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}e.exports=function(t,e){for(var r,a=i.alloc(0),s=0;a.length<e;)r=o(s++),a=i.concat([a,n("sha1").update(t).update(r).digest()]);return a.slice(0,e)}},{"create-hash":331,"safe-buffer":494}],470:[function(t,e,r){arguments[4][181][0].apply(r,arguments)},{buffer:185,dup:181}],471:[function(t,e,r){"use strict";var n=t("parse-asn1"),i=t("./mgf"),o=t("./xor"),a=t("bn.js"),s=t("browserify-rsa"),c=t("create-hash"),u=t("./withPublic"),l=t("safe-buffer").Buffer;e.exports=function(t,e,r){var f;f=t.padding?t.padding:r?1:4;var h,d=n(t),p=d.modulus.byteLength();if(e.length>p||new a(e).cmp(d.modulus)>=0)throw new Error("decryption error");h=r?u(new a(e),d):s(e,d);var m=l.alloc(p-h.length);if(h=l.concat([m,h],p),4===f)return function(t,e){var r=t.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),a=n.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),u=e.slice(a+1),f=o(s,i(u,a)),h=o(u,i(f,r-a-1));if(function(t,e){t=l.from(t),e=l.from(e);var r=0,n=t.length;t.length!==e.length&&(r++,n=Math.min(t.length,e.length));for(var i=-1;++i<n;)r+=t[i]^e[i];return r}(n,h.slice(0,a)))throw new Error("decryption error");for(var d=a;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}(d,h);if(1===f)return function(t,e,r){for(var n=e.slice(0,2),i=2,o=0;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return e.slice(i)}(0,h,r);if(3===f)return h;throw new Error("unknown padding")}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":206,"create-hash":331,"parse-asn1":459,"safe-buffer":494}],472:[function(t,e,r){"use strict";var n=t("parse-asn1"),i=t("randombytes"),o=t("create-hash"),a=t("./mgf"),s=t("./xor"),c=t("bn.js"),u=t("./withPublic"),l=t("browserify-rsa"),f=t("safe-buffer").Buffer;e.exports=function(t,e,r){var h;h=t.padding?t.padding:r?1:4;var d,p=n(t);if(4===h)d=function(t,e){var r=t.modulus.byteLength(),n=e.length,u=o("sha1").update(f.alloc(0)).digest(),l=u.length,h=2*l;if(n>r-h-2)throw new Error("message too long");var d=f.alloc(r-n-h-2),p=r-l-1,m=i(l),b=s(f.concat([u,d,f.alloc(1,1),e],p),a(m,p)),v=s(m,a(b,l));return new c(f.concat([f.alloc(1),v,b],r))}(p,e);else if(1===h)d=function(t,e,r){var n,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");return n=r?f.alloc(a-o-3,255):function(t){for(var e,r=f.allocUnsafe(t),n=0,o=i(2*t),a=0;n<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(r[n++]=e);return r}(a-o-3),new c(f.concat([f.from([0,r?1:2]),n,f.alloc(1),e],a))}(p,e,r);else{if(3!==h)throw new Error("unknown padding");if((d=new c(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,p):u(d,p)}},{"./mgf":469,"./withPublic":473,"./xor":474,"bn.js":470,"browserify-rsa":206,"create-hash":331,"parse-asn1":459,randombytes:475,"safe-buffer":494}],473:[function(t,e,r){"use strict";var n=t("bn.js"),i=t("safe-buffer").Buffer;e.exports=function(t,e){return i.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},{"bn.js":470,"safe-buffer":494}],474:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=t.length,n=-1;++n<r;)t[n]^=e[n];return t}},{}],475:[function(t,r,n){(function(e,n){"use strict";var i=t("safe-buffer").Buffer,o=n.crypto||n.msCrypto;o&&o.getRandomValues?r.exports=function(t,r){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(t);if(t>0)if(t>65536)for(var a=0;a<t;a+=65536)o.getRandomValues(n.slice(a,a+65536));else o.getRandomValues(n);return"function"==typeof r?e.nextTick((function(){r(null,n)})):n}:r.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,"safe-buffer":494}],476:[function(t,r,n){(function(e,r){"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=t("safe-buffer"),a=t("randombytes"),s=o.Buffer,c=o.kMaxLength,u=r.crypto||r.msCrypto,l=Math.pow(2,32)-1;function f(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>l||t<0)throw new TypeError("offset must be a uint32");if(t>c||t>e)throw new RangeError("offset out of range")}function h(t,e,r){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>l||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>c)throw new RangeError("buffer too small")}function d(t,r,n,i){if(e.browser){var o=t.buffer,s=new Uint8Array(o,r,n);return u.getRandomValues(s),i?void e.nextTick((function(){i(null,t)})):t}if(!i)return a(n).copy(t,r),t;a(n,(function(e,n){if(e)return i(e);n.copy(t,r),i(null,t)}))}u&&u.getRandomValues||!e.browser?(n.randomFill=function(t,e,n,i){if(!(s.isBuffer(t)||t instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof e)i=e,e=0,n=t.length;else if("function"==typeof n)i=n,n=t.length-e;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return f(e,t.length),h(n,e,t.length),d(t,e,n,i)},n.randomFillSync=function(t,e,n){if(void 0===e&&(e=0),!(s.isBuffer(t)||t instanceof r.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return f(e,t.length),void 0===n&&(n=t.length-e),h(n,e,t.length),d(t,e,n)}):(n.randomFill=i,n.randomFillSync=i)}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i={};function o(t,e,r){r||(r=Error);var n=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);n.prototype.name=r.name,n.prototype.code=t,i[t]=n}function a(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,r){var i,o,s;if("string"==typeof e&&(o="not ",e.substr(0,o.length)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(i," ").concat(a(e,"type"));else{var c=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+".".length>t.length)&&-1!==t.indexOf(".",r)}(t)?"property":"argument";s='The "'.concat(t,'" ').concat(c," ").concat(i," ").concat(a(e,"type"))}return s+". Received type ".concat(n(r))}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=i},{}],478:[function(t,e,r){(function(r){"use strict";var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};e.exports=u;var i=t("./_stream_readable"),o=t("./_stream_writable");t("inherits")(u,i);for(var a=n(o.prototype),s=0;s<a.length;s++){var c=a[s];u.prototype[c]||(u.prototype[c]=o.prototype[c])}function u(t){if(!(this instanceof u))return new u(t);i.call(this,t),o.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",l)))}function l(){this._writableState.ended||r.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,t("_process"))},{"./_stream_readable":480,"./_stream_writable":482,_process:467,inherits:387}],479:[function(t,e,r){"use strict";e.exports=i;var n=t("./_stream_transform");function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}t("inherits")(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},{"./_stream_transform":481,inherits:387}],480:[function(t,r,n){(function(e,n){"use strict";var i;r.exports=k,k.ReadableState=S,t("events").EventEmitter;var o,a=function(t,e){return t.listeners(e).length},s=t("./internal/streams/stream"),c=t("buffer").Buffer,u=n.Uint8Array||function(){},l=t("util");o=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=t("./internal/streams/buffer_list"),m=t("./internal/streams/destroy"),b=t("./internal/streams/state").getHighWaterMark,v=t("../errors").codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t("inherits")(k,s);var O=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function S(e,r,n){i=i||t("./_stream_duplex"),e=e||{},"boolean"!=typeof n&&(n=r instanceof i),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=t("string_decoder/").StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function k(e){if(i=i||t("./_stream_duplex"),!(this instanceof k))return new k(e);var r=this instanceof i;this._readableState=new S(e,this,r),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function E(t,e,r,n,i){o("readableAddChunk",e);var a,s=t._readableState;if(null===e)s.reading=!1,function(t,e){if(o("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,A(t)))}}(t,s);else if(i||(a=function(t,e){var r,n;return n=e,c.isBuffer(n)||n instanceof u||"string"==typeof e||void 0===e||t.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],e)),r}(s,e)),a)O(t,a);else if(s.objectMode||e&&e.length>0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),n)s.endEmitted?O(t,new x):M(t,s,e,!0);else if(s.ended)O(t,new y);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||0!==e.length?M(t,s,e,!1):T(t,s)):M(t,s,e,!1)}else n||(s.reading=!1,T(t,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function M(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),T(t,e)}function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var r=t._readableState;o("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(o("emitReadable",r.flowing),r.emittedReadable=!0,e.nextTick(A,t))}function A(t){var e=t._readableState;o("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,I(t)}function T(t,r){r.readingMore||(r.readingMore=!0,e.nextTick(P,t,r))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(o("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){o("readable nexttick read 0"),t.read(0)}function L(t,e){o("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),I(t),e.flowing&&!e.reading&&t.read(0)}function I(t){var e=t._readableState;for(o("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var r=t._readableState;o("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,e.nextTick(B,r,t))}function B(t,e){if(o("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function z(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(t,e){e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=c.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},k.prototype.unshift=function(t){return E(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){f||(f=t("string_decoder/").StringDecoder);var r=new f(e);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=r.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this},k.prototype.read=function(t){o("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return o("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):j(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return o("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&o("length less than watermark",i=!0),e.ended||e.reading?o("reading or ended",i=!1):i&&(o("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){O(this,new w("_read()"))},k.prototype.pipe=function(t,r){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,r);var s=r&&!1===r.end||t===e.stdout||t===e.stderr?m:c;function c(){o("onend"),t.end()}i.endEmitted?e.nextTick(s):n.once("end",s),t.on("unpipe",(function e(r,a){o("onunpipe"),r===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,o("cleanup"),t.removeListener("close",d),t.removeListener("finish",p),t.removeListener("drain",u),t.removeListener("error",h),t.removeListener("unpipe",e),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",f),l=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||u())}));var u=function(t){return function(){var e=t._readableState;o("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,I(t))}}(n);t.on("drain",u);var l=!1;function f(e){o("ondata");var r=t.write(e);o("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==z(i.pipes,t))&&!l&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(e){o("onerror",e),m(),t.removeListener("error",h),0===a(t,"error")&&O(t,e)}function d(){t.removeListener("finish",p),m()}function p(){o("onfinish"),t.removeListener("close",d),m()}function m(){o("unpipe"),n.unpipe(t)}return n.on("data",f),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",h),t.once("close",d),t.once("finish",p),t.emit("pipe",n),i.flowing||(o("pipe resume"),n.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,r){var n=s.prototype.on.call(this,t,r),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?j(this):i.reading||e.nextTick(R,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(t,r){var n=s.prototype.removeListener.call(this,t,r);return"readable"===t&&e.nextTick(D,this),n},k.prototype.removeAllListeners=function(t){var r=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||e.nextTick(D,this),r},k.prototype.resume=function(){var t=this._readableState;return t.flowing||(o("resume"),t.flowing=!t.readableListening,function(t,r){r.resumeScheduled||(r.resumeScheduled=!0,e.nextTick(L,t,r))}(this,t)),t.paused=!1,this},k.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(o("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){o("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var a=0;a<_.length;a++)t.on(_[a],this.emit.bind(this,_[a]));return this._read=function(e){o("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=t("./internal/streams/async_iterator")),h(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),k._fromList=N,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,r){return void 0===d&&(d=t("./internal/streams/from")),d(k,e,r)})}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/async_iterator":483,"./internal/streams/buffer_list":484,"./internal/streams/destroy":485,"./internal/streams/from":487,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:216,events:367,inherits:387,"string_decoder/":520,util:185}],481:[function(t,e,r){"use strict";e.exports=l;var n=t("../errors").codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=t("./_stream_duplex");function u(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(e,r){h(t,e,r)}))}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}t("inherits")(l,c),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new i("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,(function(t){e(t)}))}},{"../errors":477,"./_stream_duplex":478,inherits:387}],482:[function(t,r,n){(function(e,n){"use strict";function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(void 0),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var o;r.exports=k,k.WritableState=S;var a,s={deprecate:t("util-deprecate")},c=t("./internal/streams/stream"),u=t("buffer").Buffer,l=n.Uint8Array||function(){},f=t("./internal/streams/destroy"),h=t("./internal/streams/state").getHighWaterMark,d=t("../errors").codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,O=f.errorOrDestroy;function _(){}function S(r,n,a){o=o||t("./_stream_duplex"),r=r||{},"boolean"!=typeof a&&(a=n instanceof o),this.objectMode=!!r.objectMode,a&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=h(this,r,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===r.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,r){var n=t._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new b;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),r)!function(t,r,n,i,o){--r.pendingcb,n?(e.nextTick(o,i),e.nextTick(T,t,r),t._writableState.errorEmitted=!0,O(t,i)):(o(i),t._writableState.errorEmitted=!0,O(t,i),T(t,r))}(t,n,i,r,o);else{var a=j(n)||t.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||C(t,n),i?e.nextTick(M,t,n,a,o):M(t,n,a,o)}}(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(e){var r=this instanceof(o=o||t("./_stream_duplex"));if(!r&&!a.call(k,this))return new k(e);this._writableState=new S(e,this,r),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function E(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),T(t,e)}function C(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)o[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;o.allBuffers=c,E(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(E(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(r){e.pendingcb--,r&&O(t,r),e.prefinished=!0,t.emit("prefinish"),T(t,e)}))}function T(t,r){var n=j(r);if(n&&(function(t,r){r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,e.nextTick(A,t,r)))}(t,r),0===r.pendingcb&&(r.finished=!0,t.emit("finish"),r.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}t("inherits")(k,c),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!a.call(this,t)||this===k&&t&&t._writableState instanceof S}})):a=function(t){return t instanceof this},k.prototype.pipe=function(){O(this,new v)},k.prototype.write=function(t,r,n){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,u.isBuffer(i)||i instanceof l);return s&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=o.defaultEncoding),"function"!=typeof n&&(n=_),o.ending?function(t,r){var n=new w;O(t,n),e.nextTick(r,n)}(this,n):(s||function(t,r,n,i){var o;return null===n?o=new y:"string"==typeof n||r.objectMode||(o=new p("chunk",["string","Buffer"],n)),!o||(O(t,o),e.nextTick(i,o),!1)}(this,o,t,n))&&(o.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r)),e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,s,n,i,o);return c}(this,o,s,t,r,n)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},k.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,r){r(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,r,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),null!=t&&this.write(t,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,r,n){r.ending=!0,T(t,r),n&&(r.finished?e.nextTick(n):t.once("finish",n)),r.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=f.destroy,k.prototype._undestroy=f.undestroy,k.prototype._destroy=function(t,e){e(t)}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../errors":477,"./_stream_duplex":478,"./internal/streams/destroy":485,"./internal/streams/state":489,"./internal/streams/stream":490,_process:467,buffer:216,inherits:387,"util-deprecate":522}],483:[function(t,e,r){(function(r){"use strict";var n;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=t("./end-of-stream"),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var r=t[h].read();null!==r&&(t[l]=null,t[a]=null,t[s]=null,e(d(r,!1)))}}function m(t){r.nextTick(p,t)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var t=this,e=this[c];if(null!==e)return Promise.reject(e);if(this[u])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(e,n){r.nextTick((function(){t[c]?n(t[c]):e(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[u]?r(d(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[h].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),b);e.exports=function(t){var e,r=Object.create(v,(i(e={},h,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,c,{value:null,writable:!0}),i(e,u,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,t(d(n,!1))):(r[a]=t,r[s]=e)},writable:!0}),e));return r[l]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[l]=null,r[a]=null,r[s]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[u]=!0})),t.on("readable",m.bind(null,r)),r}}).call(this,t("_process"))},{"./end-of-stream":486,_process:467}],484:[function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=t("buffer").Buffer,s=t("util").inspect,c=s&&s.custom||"inspect";e.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n,i=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0==(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:c,value:function(t,e){return s(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,r),t}()},{buffer:216,util:185}],485:[function(t,e,r){(function(t){"use strict";function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?a._writableState?a._writableState.errorEmitted?t.nextTick(n,a):(a._writableState.errorEmitted=!0,t.nextTick(r,a,e)):t.nextTick(r,a,e):o?(t.nextTick(n,a),o(e)):t.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,t("_process"))},{_process:467}],486:[function(t,e,r){"use strict";var n=t("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function t(e,r,o){if("function"==typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,c=function(){e.writable||l()},u=e._writableState&&e._writableState.finished,l=function(){s=!1,u=!0,a||o.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!f?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!u?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",h),e.on("finish",l),!1!==r.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("end",h),e.removeListener("error",d),e.removeListener("close",p)}}},{"../../../errors":477}],487:[function(t,e,r){"use strict";e.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],488:[function(t,e,r){"use strict";var n,i=t("../../../errors").codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function c(e,r,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=t("./end-of-stream")),n(e,{readable:r,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var c=!1;return function(t){if(!s&&!c)return c=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function u(t){t()}function l(t,e){return t.pipe(e)}function f(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}e.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,r){var o=r<e.length-1;return c(t,o,r>0,(function(t){n||(n=t),t&&a.forEach(u),o||(a.forEach(u),i(n))}))}));return e.reduce(l)}},{"../../../errors":477,"./end-of-stream":486}],489:[function(t,e,r){"use strict";var n=t("../../../errors").codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},{"../../../errors":477}],490:[function(t,e,r){"use strict";e.exports=t("events").EventEmitter},{events:367}],491:[function(t,e,r){"use strict";(r=e.exports=t("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=t("./lib/_stream_writable.js"),r.Duplex=t("./lib/_stream_duplex.js"),r.Transform=t("./lib/_stream_transform.js"),r.PassThrough=t("./lib/_stream_passthrough.js"),r.finished=t("./lib/internal/streams/end-of-stream.js"),r.pipeline=t("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":478,"./lib/_stream_passthrough.js":479,"./lib/_stream_readable.js":480,"./lib/_stream_transform.js":481,"./lib/_stream_writable.js":482,"./lib/internal/streams/end-of-stream.js":486,"./lib/internal/streams/pipeline.js":488}],492:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=function(t){var e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new S(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===f)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=l(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),o}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function h(){}function d(){}function p(){}var m={};m[o]=function(){return this};var b=Object.getPrototypeOf,v=b&&b(b(k([])));v&&v!==e&&r.call(v,o)&&(m=v);var g=p.prototype=h.prototype=Object.create(m);function y(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var i;this._invoke=function(o,a){function s(){return new e((function(i,s){!function i(o,a,s,c){var u=l(t[o],t,a);if("throw"!==u.type){var f=u.arg,h=f.value;return h&&"object"===n(h)&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):e.resolve(h).then((function(t){f.value=t,s(f)}),(function(t){return i("throw",t,s,c)}))}c(u.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}}function x(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=l(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function k(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=g.constructor=p,p.constructor=d,d.displayName=c(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c(t,s,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},y(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new w(u(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(g),c(g,s,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}("object"===(void 0===e?"undefined":n(e))?e.exports:{});try{regeneratorRuntime=i}catch(t){Function("r","regeneratorRuntime = r")(i)}},{}],493:[function(t,e,r){"use strict";var n=t("buffer").Buffer,i=t("inherits"),o=t("hash-base"),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,r,n,i,o,a,s){return p(t+(e^r^n)+o+a|0,s)+i|0}function b(t,e,r,n,i,o,a,s){return p(t+(e&r|~e&n)+o+a|0,s)+i|0}function v(t,e,r,n,i,o,a,s){return p(t+((e|~r)^n)+o+a|0,s)+i|0}function g(t,e,r,n,i,o,a,s){return p(t+(e&n|r&~n)+o+a|0,s)+i|0}function y(t,e,r,n,i,o,a,s){return p(t+(e^(r|~n))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,x=0|this._b,O=0|this._c,_=0|this._d,S=0|this._e,k=0;k<80;k+=1){var E,M;k<16?(E=m(r,n,i,o,d,t[s[k]],f[0],u[k]),M=y(w,x,O,_,S,t[c[k]],h[0],l[k])):k<32?(E=b(r,n,i,o,d,t[s[k]],f[1],u[k]),M=g(w,x,O,_,S,t[c[k]],h[1],l[k])):k<48?(E=v(r,n,i,o,d,t[s[k]],f[2],u[k]),M=v(w,x,O,_,S,t[c[k]],h[2],l[k])):k<64?(E=g(r,n,i,o,d,t[s[k]],f[3],u[k]),M=b(w,x,O,_,S,t[c[k]],h[3],l[k])):(E=y(r,n,i,o,d,t[s[k]],f[4],u[k]),M=m(w,x,O,_,S,t[c[k]],h[4],l[k])),r=d,d=o,o=p(i,10),i=n,n=E,w=S,S=_,_=p(O,10),O=x,x=M}var C=this._b+i+_|0;this._b=this._c+o+S|0,this._c=this._d+d+w|0,this._d=this._e+r+x|0,this._e=this._a+n+O|0,this._a=C},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},e.exports=d},{buffer:216,"hash-base":370,inherits:387}],494:[function(t,e,r){"use strict";var n=t("buffer"),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,r),r.Buffer=a),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},{buffer:216}],495:[function(t,e,r){(function(r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i,o=t("buffer"),a=o.Buffer,s={};for(i in o)o.hasOwnProperty(i)&&"SlowBuffer"!==i&&"Buffer"!==i&&(s[i]=o[i]);var c=s.Buffer={};for(i in a)a.hasOwnProperty(i)&&"allocUnsafe"!==i&&"allocUnsafeSlow"!==i&&(c[i]=a[i]);if(s.Buffer.prototype=a.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(t,e,r){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+n(t));if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+n(t));return a(t,e,r)}),c.alloc||(c.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+n(t));if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var i=a(t);return e&&0!==e.length?"string"==typeof r?i.fill(e,r):i.fill(e):i.fill(0),i}),!s.kStringMaxLength)try{s.kStringMaxLength=r.binding("buffer").kStringMaxLength}catch(t){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s}).call(this,t("_process"))},{_process:467,buffer:216}],496:[function(t,e,r){"use strict";function n(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=s(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw o}}}}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){if(t){if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,e):void 0}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}Object.defineProperty(r,"__esModule",{value:!0});var u=t("xmlchars/xml/1.0/ed5"),l=t("xmlchars/xml/1.1/ed2"),f=t("xmlchars/xmlns/1.0/ed3"),h=u.isS,d=u.isChar,p=u.isNameStartChar,m=u.isNameChar,b=u.S_LIST,v=u.NAME_RE,g=l.isChar,y=f.isNCNameStartChar,w=f.isNCNameChar,x=f.NC_NAME_RE,O="http://www.w3.org/XML/1998/namespace",_="http://www.w3.org/2000/xmlns/",S={__proto__:null,xml:O,xmlns:_},k={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},E=61,M=63,C=function(t){return 34===t||39===t},j=[34,39],A=[].concat(j,[91,62]),T=[].concat(j,[60,93]),P=[E,M].concat(a(b)),D=[].concat(a(b),[62,38,60]);function R(t,e,r){switch(e){case"xml":r!==O&&t.fail("xml prefix must be bound to ".concat(O,"."));break;case"xmlns":r!==_&&t.fail("xmlns prefix must be bound to ".concat(_,"."))}switch(r){case _:t.fail(""===e?"the default namespace may not be set to ".concat(r,"."):'may not assign a prefix (even "xmlns") to the URI '.concat(_,"."));break;case O:switch(e){case"xml":break;case"":t.fail("the default namespace may not be set to ".concat(r,"."));break;default:t.fail("may not assign the xml namespace to another prefix.")}}}var L=function(t){return x.test(t)},I=function(t){return v.test(t)};r.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var N={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"},F=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.opt=null!=e?e:{},this.fragmentOpt=!!this.opt.fragment;var r=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,r){this.nameStartCheck=y,this.nameCheck=w,this.isName=L,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},S);var n=this.opt.additionalNamespaces;null!=n&&(function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];R(t,i,e[i])}}(this,n),Object.assign(this.ns,n))}else this.nameStartCheck=p,this.nameCheck=m,this.isName=I,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}var e,r;return e=t,(r=[{key:"_init",value:function(){var t;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];var e=this.fragmentOpt;this.state=e?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;var r=this.opt.defaultXMLVersion;if(void 0===r){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");r="1.0"}this.setXMLVersion(r),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(k),null===(t=this.readyHandler)||void 0===t||t.call(this)}},{key:"on",value:function(t,e){this[N[t]]=e}},{key:"off",value:function(t){this[N[t]]=void 0}},{key:"makeError",value:function(t){var e,r=null!==(e=this.fileName)&&void 0!==e?e:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+="".concat(this.line,":").concat(this.column)),r.length>0&&(r+=": "),new Error(r+t)}},{key:"fail",value:function(t){var e=this.makeError(t),r=this.errorHandler;if(void 0===r)throw e;return r(e),this}},{key:"write",value:function(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");var e=!1;null===t?(e=!0,t=""):"object"===i(t)&&(t=t.toString()),void 0!==this.carriedFromPrevious&&(t="".concat(this.carriedFromPrevious).concat(t),this.carriedFromPrevious=void 0);var r=t.length,n=t.charCodeAt(r-1);!e&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[r-1],r--,t=t.slice(0,r));var o=this.stateTable;for(this.chunk=t,this.i=0;this.i<r;)o[this.state].call(this);return this.chunkPosition+=r,e?this.end():this}},{key:"close",value:function(){return this.write(null)}},{key:"getCode10",value:function(){var t=this.chunk,e=this.i;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;var r=t.charCodeAt(e);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===t.charCodeAt(e+1)&&(this.i=e+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;var n=65536+1024*(r-55296)+(t.charCodeAt(e+1)-56320);return this.i=e+2,n>1114111&&this.fail("disallowed character."),n}},{key:"getCode11",value:function(){var t=this.chunk,e=this.i;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;var r=t.charCodeAt(e);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:var n=t.charCodeAt(e+1);10!==n&&133!==n||(this.i=e+2);case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;var i=65536+1024*(r-55296)+(t.charCodeAt(e+1)-56320);return this.i=e+2,i>1114111&&this.fail("disallowed character."),i}},{key:"getCodeNorm",value:function(){var t=this.getCode();return-2===t?10:t}},{key:"unget",value:function(){this.i=this.prevI,this.column--}},{key:"captureTo",value:function(t){for(var e=this.i,r=this.chunk;;){var n=this.getCode(),i=-2===n,o=i?10:n;if(-1===o||t.includes(o))return this.text+=r.slice(e,this.prevI),o;i&&(this.text+="".concat(r.slice(e,this.prevI),"\n"),e=this.i)}}},{key:"captureToChar",value:function(t){for(var e=this.i,r=this.chunk;;){var n=this.getCode();switch(n){case-2:this.text+="".concat(r.slice(e,this.prevI),"\n"),e=this.i,n=10;break;case-1:return this.text+=r.slice(e),!1}if(n===t)return this.text+=r.slice(e,this.prevI),!0}}},{key:"captureNameChars",value:function(){for(var t=this.chunk,e=this.i;;){var r=this.getCode();if(-1===r)return this.name+=t.slice(e),-1;if(!m(r))return this.name+=t.slice(e,this.prevI),-2===r?10:r}}},{key:"skipSpaces",value:function(){for(;;){var t=this.getCodeNorm();if(-1===t||!h(t))return t}}},{key:"setXMLVersion",value:function(t){this.currentXMLVersion=t,"1.0"===t?(this.isChar=d,this.getCode=this.getCode10):(this.isChar=g,this.getCode=this.getCode11)}},{key:"sBegin",value:function(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}},{key:"sBeginWhitespace",value:function(){var t=this.i,e=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),e){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}},{key:"sDoctype",value:function(){var t,e=this.captureTo(A);switch(e){case 62:null===(t=this.doctypeHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(e),91===e?this.state=4:C(e)&&(this.state=3,this.q=e)}}},{key:"sDoctypeQuote",value:function(){var t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}},{key:"sDTD",value:function(){var t=this.captureTo(T);-1!==t&&(this.text+=String.fromCodePoint(t),93===t?this.state=2:60===t?this.state=6:C(t)&&(this.state=5,this.q=t))}},{key:"sDTDQuoted",value:function(){var t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}},{key:"sDTDOpenWaka",value:function(){var t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case M:this.state=11;break;default:this.state=4}}},{key:"sDTDOpenWakaBang",value:function(){var t=String.fromCodePoint(this.getCodeNorm()),e=this.openWakaBang+=t;this.text+=t,"-"!==e&&(this.state="--"===e?8:4,this.openWakaBang="")}},{key:"sDTDComment",value:function(){this.captureToChar(45)&&(this.text+="-",this.state=9)}},{key:"sDTDCommentEnding",value:function(){var t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=45===t?10:8}},{key:"sDTDCommentEnded",value:function(){var t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t?this.state=4:(this.fail("malformed comment."),this.state=8)}},{key:"sDTDPI",value:function(){this.captureToChar(M)&&(this.text+="?",this.state=12)}},{key:"sDTDPIEnding",value:function(){var t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t&&(this.state=4)}},{key:"sText",value:function(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}},{key:"sEntity",value:function(){var t=this.i,e=this.chunk;t:for(;;)switch(this.getCode()){case-2:this.entity+="".concat(e.slice(t,this.prevI),"\n"),t=this.i;break;case 59:var r=this.entityReturnState,n=this.entity+e.slice(t,this.prevI);this.state=r;var i=void 0;""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),13===r&&void 0===this.textHandler||(this.text+=i);break t;case-1:this.entity+=e.slice(t);break t}}},{key:"sOpenWaka",value:function(){var t=this.getCode();if(p(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case M:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}},{key:"sOpenWakaBang",value:function(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}},{key:"sComment",value:function(){this.captureToChar(45)&&(this.state=18)}},{key:"sCommentEnding",value:function(){var t,e=this.getCodeNorm();45===e?(this.state=19,null===(t=this.commentHandler)||void 0===t||t.call(this,this.text),this.text=""):(this.text+="-".concat(String.fromCodePoint(e)),this.state=17)}},{key:"sCommentEnded",value:function(){var t=this.getCodeNorm();62!==t?(this.fail("malformed comment."),this.text+="--".concat(String.fromCodePoint(t)),this.state=17):this.state=13}},{key:"sCData",value:function(){this.captureToChar(93)&&(this.state=21)}},{key:"sCDataEnding",value:function(){var t=this.getCodeNorm();93===t?this.state=22:(this.text+="]".concat(String.fromCodePoint(t)),this.state=20)}},{key:"sCDataEnding2",value:function(){var t,e=this.getCodeNorm();switch(e){case 62:null===(t=this.cdataHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]".concat(String.fromCodePoint(e)),this.state=20}}},{key:"sPIFirstChar",value:function(){var t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===M||h(t)?(this.fail("processing instruction without a target."),this.state=t===M?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}},{key:"sPIRest",value:function(){for(var t=this.chunk,e=this.i;;){var r=this.getCodeNorm();if(-1===r)return void(this.piTarget+=t.slice(e));if(!this.nameCheck(r)){this.piTarget+=t.slice(e,this.prevI);var n=r===M;n||h(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?33:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r));break}}}},{key:"sPIBody",value:function(){if(0===this.text.length){var t=this.getCodeNorm();t===M?this.state=26:h(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(M)&&(this.state=26)}},{key:"sPIEnding",value:function(){var t,e=this.getCodeNorm();if(62===e){var r=this.piTarget;"xml"===r.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(t=this.piHandler)||void 0===t||t.call(this,{target:r,body:this.text}),this.piTarget=this.text="",this.state=13}else e===M?this.text+="?":(this.text+="?".concat(String.fromCodePoint(e)),this.state=25);this.xmlDeclPossible=!1}},{key:"sXMLDeclNameStart",value:function(){var t=this.skipSpaces();t!==M?-1!==t&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=33}},{key:"sXMLDeclName",value:function(){var t=this.captureTo(P);if(t===M)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(h(t)||t===E){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail("expected the name ".concat(this.xmlDeclExpects[0],"."));break;default:this.fail("expected one of ".concat(this.xmlDeclExpects.join(", ")))}this.state=t===E?30:29}}},{key:"sXMLDeclEq",value:function(){var t=this.getCodeNorm();if(t===M)return this.state=33,void this.fail("XML declaration is incomplete.");h(t)||(t!==E&&this.fail("value required."),this.state=30)}},{key:"sXMLDeclValueStart",value:function(){var t=this.getCodeNorm();if(t===M)return this.state=33,void this.fail("XML declaration is incomplete.");h(t)||(C(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}},{key:"sXMLDeclValue",value:function(){var t=this.captureTo([this.q,M]);if(t===M)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1!==t){var e=this.text;switch(this.text="",this.name){case"version":this.xmlDeclExpects=["encoding","standalone"];var r=e;this.xmlDecl.version=r,/^1\.[0-9]+$/.test(r)?this.opt.forceXMLVersion||this.setXMLVersion(r):this.fail("version number must match /^1\\.[0-9]+$/.");break;case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(e)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=e;break;case"standalone":"yes"!==e&&"no"!==e&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=e}this.name="",this.state=32}}},{key:"sXMLDeclSeparator",value:function(){var t=this.getCodeNorm();t!==M?(h(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}},{key:"sXMLDeclEnding",value:function(){var t;62===this.getCodeNorm()?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(t=this.xmldeclHandler)||void 0===t||t.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}},{key:"sOpenTag",value:function(){var t,e=this.captureNameChars();if(-1!==e){var r=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=r.ns=Object.create(null)),null===(t=this.openTagStartHandler)||void 0===t||t.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),e){case 62:this.openTag();break;case 47:this.state=35;break;default:h(e)||this.fail("disallowed character in tag name."),this.state=36}}}},{key:"sOpenTagSlash",value:function(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}},{key:"sAttrib",value:function(){var t=this.skipSpaces();-1!==t&&(p(t)?(this.unget(),this.state=37):62===t?this.openTag():47===t?this.state=35:this.fail("disallowed character in attribute name."))}},{key:"sAttribName",value:function(){var t=this.captureNameChars();t===E?this.state=39:h(t)?this.state=38:62===t?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==t&&this.fail("disallowed character in attribute name.")}},{key:"sAttribNameSawWhite",value:function(){var t=this.skipSpaces();switch(t){case-1:return;case E:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===t?this.openTag():p(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}},{key:"sAttribValue",value:function(){var t=this.getCodeNorm();C(t)?(this.q=t,this.state=40):h(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}},{key:"sAttribValueQuoted",value:function(){for(var t=this.q,e=this.chunk,r=this.i;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+e.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=e.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+="".concat(e.slice(r,this.prevI)," "),r=this.i;break;case 60:return this.text+=e.slice(r,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=e.slice(r))}}},{key:"sAttribValueClosed",value:function(){var t=this.getCodeNorm();h(t)?this.state=36:62===t?this.openTag():47===t?this.state=35:p(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}},{key:"sAttribValueUnquoted",value:function(){var t=this.captureTo(D);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===t?this.openTag():this.state=36}}},{key:"sCloseTag",value:function(){var t=this.captureNameChars();62===t?this.closeTag():h(t)?this.state=44:-1!==t&&this.fail("disallowed character in closing tag.")}},{key:"sCloseTagSawWhite",value:function(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}},{key:"handleTextInRoot",value:function(){var t=this.i,e=this.forbiddenState,r=this.chunk,n=this.textHandler;t:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==n){var i=this.text,o=r.slice(t,this.prevI);0!==i.length?(n(i+o),this.text=""):0!==o.length&&n(o)}e=0;break t;case 38:this.state=14,this.entityReturnState=13,void 0!==n&&(this.text+=r.slice(t,this.prevI)),e=0;break t;case 93:switch(e){case 0:e=1;break;case 1:e=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===e&&this.fail('the string "]]>" is disallowed in char data.'),e=0;break;case-2:void 0!==n&&(this.text+="".concat(r.slice(t,this.prevI),"\n")),t=this.i,e=0;break;case-1:void 0!==n&&(this.text+=r.slice(t));break t;default:e=0}this.forbiddenState=e}},{key:"handleTextOutsideRoot",value:function(){var t=this.i,e=this.chunk,r=this.textHandler,n=!1;t:for(;;){var i=this.getCode();switch(i){case 60:if(this.state=15,void 0!==r){var o=this.text,a=e.slice(t,this.prevI);0!==o.length?(r(o+a),this.text=""):0!==a.length&&r(a)}break t;case 38:this.state=14,this.entityReturnState=13,void 0!==r&&(this.text+=e.slice(t,this.prevI)),n=!0;break t;case-2:void 0!==r&&(this.text+="".concat(e.slice(t,this.prevI),"\n")),t=this.i;break;case-1:void 0!==r&&(this.text+=e.slice(t));break t;default:h(i)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}},{key:"pushAttribNS",value:function(t,e){var r,n=this.qname(t),i=n.prefix,o=n.local,a={name:t,prefix:i,local:o,value:e};if(this.attribList.push(a),null===(r=this.attributeHandler)||void 0===r||r.call(this,a),"xmlns"===i){var s=e.trim();"1.0"===this.currentXMLVersion&&""===s&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[o]=s,R(this,o,s)}else if("xmlns"===t){var c=e.trim();this.topNS[""]=c,R(this,"",c)}}},{key:"pushAttribPlain",value:function(t,e){var r,n={name:t,value:e};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}},{key:"end",value:function(){var t,e;this.sawRoot||this.fail("document must contain a root element.");for(var r=this.tags;r.length>0;){var n=r.pop();this.fail("unclosed tag: ".concat(n.name))}0!==this.state&&13!==this.state&&this.fail("unexpected end.");var i=this.text;return 0!==i.length&&(null===(t=this.textHandler)||void 0===t||t.call(this,i),this.text=""),this._closed=!0,null===(e=this.endHandler)||void 0===e||e.call(this),this._init(),this}},{key:"resolve",value:function(t){var e,r,n=this.topNS[t];if(void 0!==n)return n;for(var i=this.tags,o=i.length-1;o>=0;o--)if(void 0!==(n=i[o].ns[t]))return n;return void 0!==(n=this.ns[t])?n:null===(r=(e=this.opt).resolvePrefix)||void 0===r?void 0:r.call(e,t)}},{key:"qname",value:function(t){var e=t.indexOf(":");if(-1===e)return{prefix:"",local:t};var r=t.slice(e+1),n=t.slice(0,e);return(""===n||""===r||r.includes(":"))&&this.fail("malformed name: ".concat(t,".")),{prefix:n,local:r}}},{key:"processAttribsNS",value:function(){var t,e=this.attribList,r=this.tag,i=this.qname(r.name),o=i.prefix,a=i.local;r.prefix=o,r.local=a;var s=r.uri=null!==(t=this.resolve(o))&&void 0!==t?t:"";if(""!==o&&("xmlns"===o&&this.fail('tags may not have "xmlns" as prefix.'),""===s&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(o),".")),r.uri=o)),0!==e.length){var c,u=r.attributes,l=new Set,f=n(e);try{for(f.s();!(c=f.n()).done;){var h=c.value,d=h.name,p=h.prefix,m=h.local,b=void 0,v=void 0;""===p?(b="xmlns"===d?_:"",v=d):(void 0===(b=this.resolve(p))&&(this.fail("unbound namespace prefix: ".concat(JSON.stringify(p),".")),b=p),v="{".concat(b,"}").concat(m)),l.has(v)&&this.fail("duplicate attribute: ".concat(v,".")),l.add(v),h.uri=b,u[d]=h}}catch(t){f.e(t)}finally{f.f()}this.attribList=[]}}},{key:"processAttribsPlain",value:function(){var t,e=this.attribList,r=this.tag.attributes,i=n(e);try{for(i.s();!(t=i.n()).done;){var o=t.value,a=o.name,s=o.value;void 0!==r[a]&&this.fail("duplicate attribute: ".concat(a,".")),r[a]=s}}catch(t){i.e(t)}finally{i.f()}this.attribList=[]}},{key:"openTag",value:function(){var t;this.processAttribs();var e=this.tags,r=this.tag;r.isSelfClosing=!1,null===(t=this.openTagHandler)||void 0===t||t.call(this,r),e.push(r),this.state=13,this.name=""}},{key:"openSelfClosingTag",value:function(){var t,e,r;this.processAttribs();var n=this.tags,i=this.tag;i.isSelfClosing=!0,null===(t=this.openTagHandler)||void 0===t||t.call(this,i),null===(e=this.closeTagHandler)||void 0===e||e.call(this,i),null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=13,this.name=""}},{key:"closeTag",value:function(){var t=this.tags,e=this.name;if(this.state=13,this.name="",""===e)return this.fail("weird empty close tag."),void(this.text+="</>");for(var r=this.closeTagHandler,n=t.length;n-- >0;){var i=this.tag=t.pop();if(this.topNS=i.ns,null==r||r(i),i.name===e)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail("unmatched closing tag: ".concat(e,".")),this.text+="</".concat(e,">"))}},{key:"parseEntity",value:function(t){if("#"!==t[0]){var e=this.ENTITIES[t];return void 0!==e?e:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),"&".concat(t,";"))}var r=NaN;return"x"===t[1]&&/^#x[0-9a-f]+$/i.test(t)?r=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(r=parseInt(t.slice(1),10)),this.isChar(r)?String.fromCodePoint(r):(this.fail("malformed character entity."),"&".concat(t,";"))}},{key:"closed",get:function(){return this._closed}},{key:"position",get:function(){return this.chunkPosition+this.i}},{key:"columnIndex",get:function(){return this.position-this.positionAtNewLine}}])&&o(e.prototype,r),t}();r.SaxesParser=F},{"xmlchars/xml/1.0/ed5":541,"xmlchars/xml/1.1/ed2":542,"xmlchars/xmlns/1.0/ed3":543}],497:[function(t,e,r){(function(t){"use strict";e.exports="function"==typeof t?t:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}}).call(this,t("timers").setImmediate)},{timers:521}],498:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var c=a%i,u=Math.min(o-s,i-c),l=0;l<u;l++)r[c+l]=t[s+l];s+=u,(a+=u)%i==0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},{"safe-buffer":494}],499:[function(t,e,r){"use strict";var n=e.exports=function(t){t=t.toLowerCase();var e=n[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e};n.sha=t("./sha"),n.sha1=t("./sha1"),n.sha224=t("./sha224"),n.sha256=t("./sha256"),n.sha384=t("./sha384"),n.sha512=t("./sha512")},{"./sha":500,"./sha1":501,"./sha224":502,"./sha256":503,"./sha384":504,"./sha512":505}],500:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<30|t>>>2}function l(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=t.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var h=0;h<80;++h){var d=~~(h/20),p=0|((e=n)<<5|e>>>27)+l(d,i,o,s)+c+r[h]+a[d];c=s,s=o,o=u(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],501:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function f(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,h=0;h<16;++h)r[h]=t.readInt32BE(4*h);for(;h<80;++h)r[h]=(e=r[h-3]^r[h-8]^r[h-14]^r[h-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=u(n)+f(p,i,o,s)+c+r[d]+a[p]|0;c=s,s=o,o=l(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],502:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./sha256"),o=t("./hash"),a=t("safe-buffer").Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}n(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},e.exports=c},{"./hash":498,"./sha256":503,inherits:387,"safe-buffer":494}],503:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function h(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,b=0|this._h,v=0;v<16;++v)r[v]=t.readInt32BE(4*v);for(;v<64;++v)r[v]=0|(((e=r[v-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[v-7]+d(r[v-15])+r[v-16];for(var g=0;g<64;++g){var y=b+h(c)+u(c,p,m)+a[g]+r[g]|0,w=f(n)+l(n,i,o)|0;b=m,m=p,p=c,c=s+y|0,s=o,o=i,i=n,n=y+w|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},c.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],504:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./sha512"),o=t("./hash"),a=t("safe-buffer").Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},e.exports=c},{"./hash":498,"./sha512":505,inherits:387,"safe-buffer":494}],505:[function(t,e,r){"use strict";var n=t("inherits"),i=t("./hash"),o=t("safe-buffer").Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function h(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function v(t,e){return t>>>0<e>>>0?1:0}n(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,w=0|this._al,x=0|this._bl,O=0|this._cl,_=0|this._dl,S=0|this._el,k=0|this._fl,E=0|this._gl,M=0|this._hl,C=0;C<32;C+=2)e[C]=t.readInt32BE(4*C),e[C+1]=t.readInt32BE(4*C+4);for(;C<160;C+=2){var j=e[C-30],A=e[C-30+1],T=d(j,A),P=p(A,j),D=m(j=e[C-4],A=e[C-4+1]),R=b(A,j),L=e[C-14],I=e[C-14+1],N=e[C-32],F=e[C-32+1],B=P+I|0,z=T+L+v(B,P)|0;z=(z=z+D+v(B=B+R|0,R)|0)+N+v(B=B+F|0,F)|0,e[C]=z,e[C+1]=B}for(var H=0;H<160;H+=2){z=e[H],B=e[H+1];var U=l(r,n,i),W=l(w,x,O),q=f(r,w),V=f(w,r),G=h(s,S),Y=h(S,s),X=a[H],$=a[H+1],K=u(s,c,g),Z=u(S,k,E),J=M+Y|0,Q=y+G+v(J,M)|0;Q=(Q=(Q=Q+K+v(J=J+Z|0,Z)|0)+X+v(J=J+$|0,$)|0)+z+v(J=J+B|0,B)|0;var tt=V+W|0,et=q+U+v(tt,V)|0;y=g,M=E,g=c,E=k,c=s,k=S,s=o+Q+v(S=_+J|0,_)|0,o=i,_=O,i=n,O=x,n=r,x=w,r=Q+et+v(w=J+tt|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+O|0,this._dl=this._dl+_|0,this._el=this._el+S|0,this._fl=this._fl+k|0,this._gl=this._gl+E|0,this._hl=this._hl+M|0,this._ah=this._ah+r+v(this._al,w)|0,this._bh=this._bh+n+v(this._bl,x)|0,this._ch=this._ch+i+v(this._cl,O)|0,this._dh=this._dh+o+v(this._dl,_)|0,this._eh=this._eh+s+v(this._el,S)|0,this._fh=this._fh+c+v(this._fl,k)|0,this._gh=this._gh+g+v(this._gl,E)|0,this._hh=this._hh+y+v(this._hl,M)|0},c.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},e.exports=c},{"./hash":498,inherits:387,"safe-buffer":494}],506:[function(t,e,r){"use strict";e.exports=i;var n=t("events").EventEmitter;function i(){n.call(this)}t("inherits")(i,n),i.Readable=t("readable-stream/readable.js"),i.Writable=t("readable-stream/writable.js"),i.Duplex=t("readable-stream/duplex.js"),i.Transform=t("readable-stream/transform.js"),i.PassThrough=t("readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,t.end())}function c(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(l(),0===n.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("error",u),t.on("error",u),r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t}},{events:367,inherits:387,"readable-stream/duplex.js":507,"readable-stream/passthrough.js":516,"readable-stream/readable.js":517,"readable-stream/transform.js":518,"readable-stream/writable.js":519}],507:[function(t,e,r){"use strict";e.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":508}],508:[function(t,e,r){"use strict";var n=t("process-nextick-args"),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};e.exports=f;var o=Object.create(t("core-util-is"));o.inherits=t("inherits");var a=t("./_stream_readable"),s=t("./_stream_writable");o.inherits(f,a);for(var c=i(s.prototype),u=0;u<c.length;u++){var l=c[u];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(t){if(!(this instanceof f))return new f(t);a.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(t){t.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),f.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},{"./_stream_readable":510,"./_stream_writable":512,"core-util-is":328,inherits:387,"process-nextick-args":466}],509:[function(t,e,r){"use strict";e.exports=o;var n=t("./_stream_transform"),i=Object.create(t("core-util-is"));function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}i.inherits=t("inherits"),i.inherits(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},{"./_stream_transform":511,"core-util-is":328,inherits:387}],510:[function(t,r,n){(function(e,n){"use strict";var i=t("process-nextick-args");r.exports=y;var o,a=t("isarray");y.ReadableState=g,t("events").EventEmitter;var s=function(t,e){return t.listeners(e).length},c=t("./internal/streams/stream"),u=t("safe-buffer").Buffer,l=n.Uint8Array||function(){},f=Object.create(t("core-util-is"));f.inherits=t("inherits");var h=t("util"),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=t("./internal/streams/BufferList"),b=t("./internal/streams/destroy");f.inherits(y,c);var v=["error","close","destroy","pause","resume"];function g(e,r){e=e||{};var n=r instanceof(o=o||t("./_stream_duplex"));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=t("string_decoder/").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function y(e){if(o=o||t("./_stream_duplex"),!(this instanceof y))return new y(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(t,e,r,n,i){var o,a=t._readableState;return null===e?(a.reading=!1,function(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}}(t,a)):(i||(o=function(t,e){var r,n;return n=e,u.isBuffer(n)||n instanceof l||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"==typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):x(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?x(t,a,e,!1):k(t,a)):x(t,a,e,!1))):n||(a.reading=!1)),function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(a)}function x(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),k(t,e)}function O(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(S,t):S(t))}function S(t){d("emit readable"),t.emit("readable"),j(t)}function k(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(E,t,e))}function E(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(d("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function M(t){d("readable nexttick read 0"),t.read(0)}function C(t,e){e.reading||(d("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),j(t),e.flowing&&!e.reading&&t.read(0)}function j(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function A(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;return t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;for(t-=i.length;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=u.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}(t,e),n}(t,e.buffer,e.decoder),r);var r}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(P,e,t))}function P(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function D(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=b.destroy,y.prototype._undestroy=b.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=u.from(t,e),e=""),r=!0),w(this,t,e,!1,r)},y.prototype.unshift=function(t){return w(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return p||(p=t("string_decoder/").StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this},y.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):_(this),null;if(0===(t=O(t,e))&&e.ended)return 0===e.length&&T(this),null;var n,i=e.needReadable;return d("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",i=!0),e.ended||e.reading?d("reading or ended",i=!1):i&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=O(r,e))),null===(n=t>0?A(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&T(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,r){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,r);var c=r&&!1===r.end||t===e.stdout||t===e.stderr?g:u;function u(){d("onend"),t.end()}o.endEmitted?i.nextTick(c):n.once("end",c),t.on("unpipe",(function e(r,i){d("onunpipe"),r===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,d("cleanup"),t.removeListener("close",b),t.removeListener("finish",v),t.removeListener("drain",l),t.removeListener("error",m),t.removeListener("unpipe",e),n.removeListener("end",u),n.removeListener("end",g),n.removeListener("data",p),f=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}));var l=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,j(t))}}(n);t.on("drain",l);var f=!1,h=!1;function p(e){d("ondata"),h=!1,!1!==t.write(e)||h||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==D(o.pipes,t))&&!f&&(d("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function m(e){d("onerror",e),g(),t.removeListener("error",m),0===s(t,"error")&&t.emit("error",e)}function b(){t.removeListener("finish",v),g()}function v(){d("onfinish"),t.removeListener("close",b),g()}function g(){d("unpipe"),n.unpipe(t)}return n.on("data",p),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",m),t.once("close",b),t.once("finish",v),t.emit("pipe",n),o.flowing||(d("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,r);return this}var a=D(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},y.prototype.on=function(t,e){var r=c.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):i.nextTick(M,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(C,t,e))}(this,t)),this},y.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<v.length;o++)t.on(v[o],this.emit.bind(this,v[o]));return this._read=function(e){d("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=A}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":508,"./internal/streams/BufferList":513,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":328,events:367,inherits:387,isarray:389,"process-nextick-args":466,"safe-buffer":494,"string_decoder/":520,util:185}],511:[function(t,e,r){"use strict";e.exports=a;var n=t("./_stream_duplex"),i=Object.create(t("core-util-is"));function o(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);n.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"==typeof this._flush?this._flush((function(e,r){c(t,e,r)})):c(this,null,null)}function c(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=t("inherits"),i.inherits(a,n),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},{"./_stream_duplex":508,"core-util-is":328,inherits:387}],512:[function(t,r,n){(function(e,n,i){"use strict";var o=t("process-nextick-args");function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(void 0),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}r.exports=g;var s,c=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?i:o.nextTick;g.WritableState=v;var u=Object.create(t("core-util-is"));u.inherits=t("inherits");var l,f={deprecate:t("util-deprecate")},h=t("./internal/streams/stream"),d=t("safe-buffer").Buffer,p=n.Uint8Array||function(){},m=t("./internal/streams/destroy");function b(){}function v(e,r){s=s||t("./_stream_duplex"),e=e||{};var n=r instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o.nextTick(i,n),o.nextTick(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),S(t,e))}(t,r,n,e,i);else{var a=O(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||x(t,r),n?c(w,t,r,a,i):w(t,r,a,i)}}(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(e){if(s=s||t("./_stream_duplex"),!(l.call(g,this)||this instanceof s))return new g(e);this._writableState=new v(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function y(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function w(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),S(t,e)}function x(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)i[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;i.allBuffers=c,y(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(y(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function O(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function _(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var r=O(e);return r&&(function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(_,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}u.inherits(g,h),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===g&&t&&t._writableState instanceof v}})):l=function(t){return t instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(t,e,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=t,d.isBuffer(n)||n instanceof p);return s&&!d.isBuffer(t)&&(t=function(t){return d.from(t)}(t)),"function"==typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof r&&(r=b),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),o.nextTick(e,r)}(this,r):(s||function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,t,r))&&(i.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=d.from(e,r)),e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else y(t,e,!1,s,n,i,o);return c}(this,i,s,t,e,r)),a},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||x(this,t))},g.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,S(t,e),r&&(e.finished?o.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("timers").setImmediate)},{"./_stream_duplex":508,"./internal/streams/destroy":514,"./internal/streams/stream":515,_process:467,"core-util-is":328,inherits:387,"process-nextick-args":466,"safe-buffer":494,timers:521,"util-deprecate":522}],513:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=t("util");e.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i=n.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=i,r=a,o.data.copy(e,r),a+=o.data.length,o=o.next;return i},t}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},{"safe-buffer":494,util:185}],514:[function(t,e,r){"use strict";var n=t("process-nextick-args");function i(t,e){t.emit("error",e)}e.exports={destroy:function(t,e){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(i,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":466}],515:[function(t,e,r){arguments[4][490][0].apply(r,arguments)},{dup:490,events:367}],516:[function(t,e,r){"use strict";e.exports=t("./readable").PassThrough},{"./readable":517}],517:[function(t,e,r){"use strict";(r=e.exports=t("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=t("./lib/_stream_writable.js"),r.Duplex=t("./lib/_stream_duplex.js"),r.Transform=t("./lib/_stream_transform.js"),r.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":508,"./lib/_stream_passthrough.js":509,"./lib/_stream_readable.js":510,"./lib/_stream_transform.js":511,"./lib/_stream_writable.js":512}],518:[function(t,e,r){"use strict";e.exports=t("./readable").Transform},{"./readable":517}],519:[function(t,e,r){"use strict";e.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":512}],520:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=f,e=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}r.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},{"safe-buffer":494}],521:[function(t,e,r){(function(e,n){"use strict";var i=t("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},c=0;function u(t,e){this._id=t,this._clearFn=e}r.setTimeout=function(){return new u(o.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new u(o.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(t){t.close()},u.prototype.unref=u.prototype.ref=function(){},u.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},r.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},r._unrefActive=r.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r.setImmediate="function"==typeof e?e:function(t){var e=c++,n=!(arguments.length<2)&&a.call(arguments,1);return s[e]=!0,i((function(){s[e]&&(n?t.apply(null,n):t.call(null),r.clearImmediate(e))})),e},r.clearImmediate="function"==typeof n?n:function(t){delete s[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":467,timers:521}],522:[function(t,r,n){(function(t){"use strict";function e(e){try{if(!t.localStorage)return!1}catch(t){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}r.exports=function(t,r){if(e("noDeprecation"))return t;var n=!1;return function(){if(!n){if(e("throwDeprecation"))throw new Error(r);e("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return t.apply(this,arguments)}}}).call(this,"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],523:[function(t,e,r){"use strict";"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},{}],524:[function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.exports=function(t){return t&&"object"===n(t)&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],525:[function(t,r,n){(function(e,r){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=/%[sdj%]/g;n.format=function(t){if(!g(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(c(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(t).replace(o,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),s=n[r];r<i;s=n[++r])b(s)||!x(s)?a+=" "+s:a+=" "+c(s);return a},n.deprecate=function(t,i){if(y(r.process))return function(){return n.deprecate(t,i).apply(this,arguments)};if(!0===e.noDeprecation)return t;var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(i);e.traceDeprecation?console.trace(i):console.error(i),o=!0}return t.apply(this,arguments)}};var a,s={};function c(t,e){var r={seen:[],stylize:l};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(e)?r.showHidden=e:e&&n._extend(r,e),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),f(r,t,r.depth)}function u(t,e){var r=c.styles[e];return r?"\x1b["+c.colors[r][0]+"m"+t+"\x1b["+c.colors[r][1]+"m":t}function l(t,e){return t}function f(t,e,r){if(t.customInspect&&e&&S(e.inspect)&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(r,t);return g(i)||(i=f(t,i,r)),i}var o=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(g(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return v(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):b(e)?t.stylize("null","null"):void 0}(t,e);if(o)return o;var a=Object.keys(e),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),_(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(e);if(0===a.length){if(S(e)){var c=e.name?": "+e.name:"";return t.stylize("[Function"+c+"]","special")}if(w(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(O(e))return t.stylize(Date.prototype.toString.call(e),"date");if(_(e))return h(e)}var u,l="",x=!1,k=["{","}"];return p(e)&&(x=!0,k=["[","]"]),S(e)&&(l=" [Function"+(e.name?": "+e.name:"")+"]"),w(e)&&(l=" "+RegExp.prototype.toString.call(e)),O(e)&&(l=" "+Date.prototype.toUTCString.call(e)),_(e)&&(l=" "+h(e)),0!==a.length||x&&0!=e.length?r<0?w(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=x?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)j(e,String(a))?o.push(d(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(t,e,r,n,i,!0))})),o}(t,e,r,s,a):a.map((function(n){return d(t,e,r,s,n,x)})),t.seen.pop(),function(t,e,r){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(u,l,k)):k[0]+l+k[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,r,n,i,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),j(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(c.value)<0?(s=b(r)?f(t,c.value,null):f(t,c.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function p(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function b(t){return null===t}function v(t){return"number"==typeof t}function g(t){return"string"==typeof t}function y(t){return void 0===t}function w(t){return x(t)&&"[object RegExp]"===k(t)}function x(t){return"object"===i(t)&&null!==t}function O(t){return x(t)&&"[object Date]"===k(t)}function _(t){return x(t)&&("[object Error]"===k(t)||t instanceof Error)}function S(t){return"function"==typeof t}function k(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}n.debuglog=function(t){if(y(a)&&(a=e.env.NODE_DEBUG||""),t=t.toUpperCase(),!s[t])if(new RegExp("\\b"+t+"\\b","i").test(a)){var r=e.pid;s[t]=function(){var e=n.format.apply(n,arguments);console.error("%s %d: %s",t,r,e)}}else s[t]=function(){};return s[t]},n.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=p,n.isBoolean=m,n.isNull=b,n.isNullOrUndefined=function(t){return null==t},n.isNumber=v,n.isString=g,n.isSymbol=function(t){return"symbol"===i(t)},n.isUndefined=y,n.isRegExp=w,n.isObject=x,n.isDate=O,n.isError=_,n.isFunction=S,n.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===i(t)||void 0===t},n.isBuffer=t("./support/isBuffer");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var t=new Date,e=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":");return[t.getDate(),M[t.getMonth()],e].join(" ")}function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}n.log=function(){console.log("%s - %s",C(),n.format.apply(n,arguments))},n.inherits=t("inherits"),n._extend=function(t,e){if(!e||!x(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}}).call(this,t("_process"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":524,_process:467,inherits:523}],526:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(r,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(r,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(r,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(r,"version",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(r,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(r,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(r,"parse",{enumerable:!0,get:function(){return f.default}});var n=h(t("./v1.js")),i=h(t("./v3.js")),o=h(t("./v4.js")),a=h(t("./v5.js")),s=h(t("./nil.js")),c=h(t("./version.js")),u=h(t("./validate.js")),l=h(t("./stringify.js")),f=h(t("./parse.js"));function h(t){return t&&t.__esModule?t:{default:t}}},{"./nil.js":528,"./parse.js":529,"./stringify.js":533,"./v1.js":534,"./v3.js":535,"./v4.js":537,"./v5.js":538,"./validate.js":539,"./version.js":540}],527:[function(t,e,r){"use strict";function n(t){return 14+(t+64>>>9<<4)+1}function i(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function o(t,e,r,n,o,a){return i((s=i(i(e,t),i(n,a)))<<(c=o)|s>>>32-c,r);var s,c}function a(t,e,r,n,i,a,s){return o(e&r|~e&n,t,e,i,a,s)}function s(t,e,r,n,i,a,s){return o(e&n|r&~n,t,e,i,a,s)}function c(t,e,r,n,i,a,s){return o(e^r^n,t,e,i,a,s)}function u(t,e,r,n,i,a,s){return o(r^(e|~n),t,e,i,a,s)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var r=0;r<e.length;++r)t[r]=e.charCodeAt(r)}return function(t){for(var e=[],r=32*t.length,n=0;n<r;n+=8){var i=t[n>>5]>>>n%32&255,o=parseInt("0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i),16);e.push(o)}return e}(function(t,e){t[e>>5]|=128<<e%32,t[n(e)-1]=e;for(var r=1732584193,o=-271733879,l=-1732584194,f=271733878,h=0;h<t.length;h+=16){var d=r,p=o,m=l,b=f;r=a(r,o,l,f,t[h],7,-680876936),f=a(f,r,o,l,t[h+1],12,-389564586),l=a(l,f,r,o,t[h+2],17,606105819),o=a(o,l,f,r,t[h+3],22,-1044525330),r=a(r,o,l,f,t[h+4],7,-176418897),f=a(f,r,o,l,t[h+5],12,1200080426),l=a(l,f,r,o,t[h+6],17,-1473231341),o=a(o,l,f,r,t[h+7],22,-45705983),r=a(r,o,l,f,t[h+8],7,1770035416),f=a(f,r,o,l,t[h+9],12,-1958414417),l=a(l,f,r,o,t[h+10],17,-42063),o=a(o,l,f,r,t[h+11],22,-1990404162),r=a(r,o,l,f,t[h+12],7,1804603682),f=a(f,r,o,l,t[h+13],12,-40341101),l=a(l,f,r,o,t[h+14],17,-1502002290),r=s(r,o=a(o,l,f,r,t[h+15],22,1236535329),l,f,t[h+1],5,-165796510),f=s(f,r,o,l,t[h+6],9,-1069501632),l=s(l,f,r,o,t[h+11],14,643717713),o=s(o,l,f,r,t[h],20,-373897302),r=s(r,o,l,f,t[h+5],5,-701558691),f=s(f,r,o,l,t[h+10],9,38016083),l=s(l,f,r,o,t[h+15],14,-660478335),o=s(o,l,f,r,t[h+4],20,-405537848),r=s(r,o,l,f,t[h+9],5,568446438),f=s(f,r,o,l,t[h+14],9,-1019803690),l=s(l,f,r,o,t[h+3],14,-187363961),o=s(o,l,f,r,t[h+8],20,1163531501),r=s(r,o,l,f,t[h+13],5,-1444681467),f=s(f,r,o,l,t[h+2],9,-51403784),l=s(l,f,r,o,t[h+7],14,1735328473),r=c(r,o=s(o,l,f,r,t[h+12],20,-1926607734),l,f,t[h+5],4,-378558),f=c(f,r,o,l,t[h+8],11,-2022574463),l=c(l,f,r,o,t[h+11],16,1839030562),o=c(o,l,f,r,t[h+14],23,-35309556),r=c(r,o,l,f,t[h+1],4,-1530992060),f=c(f,r,o,l,t[h+4],11,1272893353),l=c(l,f,r,o,t[h+7],16,-155497632),o=c(o,l,f,r,t[h+10],23,-1094730640),r=c(r,o,l,f,t[h+13],4,681279174),f=c(f,r,o,l,t[h],11,-358537222),l=c(l,f,r,o,t[h+3],16,-722521979),o=c(o,l,f,r,t[h+6],23,76029189),r=c(r,o,l,f,t[h+9],4,-640364487),f=c(f,r,o,l,t[h+12],11,-421815835),l=c(l,f,r,o,t[h+15],16,530742520),r=u(r,o=c(o,l,f,r,t[h+2],23,-995338651),l,f,t[h],6,-198630844),f=u(f,r,o,l,t[h+7],10,1126891415),l=u(l,f,r,o,t[h+14],15,-1416354905),o=u(o,l,f,r,t[h+5],21,-57434055),r=u(r,o,l,f,t[h+12],6,1700485571),f=u(f,r,o,l,t[h+3],10,-1894986606),l=u(l,f,r,o,t[h+10],15,-1051523),o=u(o,l,f,r,t[h+1],21,-2054922799),r=u(r,o,l,f,t[h+8],6,1873313359),f=u(f,r,o,l,t[h+15],10,-30611744),l=u(l,f,r,o,t[h+6],15,-1560198380),o=u(o,l,f,r,t[h+13],21,1309151649),r=u(r,o,l,f,t[h+4],6,-145523070),f=u(f,r,o,l,t[h+11],10,-1120210379),l=u(l,f,r,o,t[h+2],15,718787259),o=u(o,l,f,r,t[h+9],21,-343485551),r=i(r,d),o=i(o,p),l=i(l,m),f=i(f,b)}return[r,o,l,f]}(function(t){if(0===t.length)return[];for(var e=8*t.length,r=new Uint32Array(n(e)),i=0;i<e;i+=8)r[i>>5]|=(255&t[i/8])<<i%32;return r}(t),8*t.length))}},{}],528:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default="00000000-0000-0000-0000-000000000000"},{}],529:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=t("./validate.js"))&&n.__esModule?n:{default:n};r.default=function(t){if(!(0,i.default)(t))throw TypeError("Invalid UUID");var e,r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r}},{"./validate.js":539}],530:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],531:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){if(!n)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)};var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16)},{}],532:[function(t,e,r){"use strict";function n(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:return e^r^n;case 2:return e&r^e&n^r&n;case 3:return e^r^n}}function i(t,e){return t<<e|t>>>32-e}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.default=function(t){var e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var o=unescape(encodeURIComponent(t));t=[];for(var a=0;a<o.length;++a)t.push(o.charCodeAt(a))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var s=t.length/4+2,c=Math.ceil(s/16),u=new Array(c),l=0;l<c;++l){for(var f=new Uint32Array(16),h=0;h<16;++h)f[h]=t[64*l+4*h]<<24|t[64*l+4*h+1]<<16|t[64*l+4*h+2]<<8|t[64*l+4*h+3];u[l]=f}u[c-1][14]=8*(t.length-1)/Math.pow(2,32),u[c-1][14]=Math.floor(u[c-1][14]),u[c-1][15]=8*(t.length-1)&4294967295;for(var d=0;d<c;++d){for(var p=new Uint32Array(80),m=0;m<16;++m)p[m]=u[d][m];for(var b=16;b<80;++b)p[b]=i(p[b-3]^p[b-8]^p[b-14]^p[b-16],1);for(var v=r[0],g=r[1],y=r[2],w=r[3],x=r[4],O=0;O<80;++O){var _=Math.floor(O/20),S=i(v,5)+n(_,g,y,w)+x+e[_]+p[O]>>>0;x=w,w=y,y=i(g,30)>>>0,g=v,v=S}r[0]=r[0]+v>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+y>>>0,r[3]=r[3]+w>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}},{}],533:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;for(var n,i=(n=t("./validate.js"))&&n.__esModule?n:{default:n},o=[],a=0;a<256;++a)o.push((a+256).toString(16).substr(1));r.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase();if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid");return r}},{"./validate.js":539}],534:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i,o=s(t("./rng.js")),a=s(t("./stringify.js"));function s(t){return t&&t.__esModule?t:{default:t}}var c=0,u=0;r.default=function(t,e,r){var s=e&&r||0,l=e||new Array(16),f=(t=t||{}).node||n,h=void 0!==t.clockseq?t.clockseq:i;if(null==f||null==h){var d=t.random||(t.rng||o.default)();null==f&&(f=n=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==h&&(h=i=16383&(d[6]<<8|d[7]))}var p=void 0!==t.msecs?t.msecs:Date.now(),m=void 0!==t.nsecs?t.nsecs:u+1,b=p-c+(m-u)/1e4;if(b<0&&void 0===t.clockseq&&(h=h+1&16383),(b<0||p>c)&&void 0===t.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=p,u=m,i=h;var v=(1e4*(268435455&(p+=122192928e5))+m)%4294967296;l[s++]=v>>>24&255,l[s++]=v>>>16&255,l[s++]=v>>>8&255,l[s++]=255&v;var g=p/4294967296*1e4&268435455;l[s++]=g>>>8&255,l[s++]=255&g,l[s++]=g>>>24&15|16,l[s++]=g>>>16&255,l[s++]=h>>>8|128,l[s++]=255&h;for(var y=0;y<6;++y)l[s+y]=f[y];return e||(0,a.default)(l)}},{"./rng.js":531,"./stringify.js":533}],535:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(t("./v35.js")),i=o(t("./md5.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a=(0,n.default)("v3",48,i.default);r.default=a},{"./md5.js":527,"./v35.js":536}],536:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e,r){function o(t,o,a,s){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}(t)),"string"==typeof o&&(o=(0,i.default)(o)),16!==o.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var c=new Uint8Array(16+t.length);if(c.set(o),c.set(t,o.length),(c=r(c))[6]=15&c[6]|e,c[8]=63&c[8]|128,a){s=s||0;for(var u=0;u<16;++u)a[s+u]=c[u];return a}return(0,n.default)(c)}try{o.name=t}catch(t){}return o.DNS=a,o.URL=s,o},r.URL=r.DNS=void 0;var n=o(t("./stringify.js")),i=o(t("./parse.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";r.DNS=a;var s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";r.URL=s},{"./parse.js":529,"./stringify.js":533}],537:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(t("./rng.js")),i=o(t("./stringify.js"));function o(t){return t&&t.__esModule?t:{default:t}}r.default=function(t,e,r){var o=(t=t||{}).random||(t.rng||n.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,e){r=r||0;for(var a=0;a<16;++a)e[r+a]=o[a];return e}return(0,i.default)(o)}},{"./rng.js":531,"./stringify.js":533}],538:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n=o(t("./v35.js")),i=o(t("./sha1.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a=(0,n.default)("v5",80,i.default);r.default=a},{"./sha1.js":532,"./v35.js":536}],539:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=t("./regex.js"))&&n.__esModule?n:{default:n};r.default=function(t){return"string"==typeof t&&i.default.test(t)}},{"./regex.js":530}],540:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var n,i=(n=t("./validate.js"))&&n.__esModule?n:{default:n};r.default=function(t){if(!(0,i.default)(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}},{"./validate.js":539}],541:[function(t,e,r){"use strict";function n(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.CHAR="\t\n\r -\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff",r.S=" \t\r\n",r.NAME_START_CHAR=":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",r.NAME_CHAR="-"+r.NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",r.CHAR_RE=new RegExp("^["+r.CHAR+"]$","u"),r.S_RE=new RegExp("^["+r.S+"]+$","u"),r.NAME_START_CHAR_RE=new RegExp("^["+r.NAME_START_CHAR+"]$","u"),r.NAME_CHAR_RE=new RegExp("^["+r.NAME_CHAR+"]$","u"),r.NAME_RE=new RegExp("^["+r.NAME_START_CHAR+"]["+r.NAME_CHAR+"]*$","u"),r.NMTOKEN_RE=new RegExp("^["+r.NAME_CHAR+"]+$","u"),r.S_LIST=[32,10,13,9],r.isChar=function(t){return t>=32&&t<=55295||10===t||13===t||9===t||t>=57344&&t<=65533||t>=65536&&t<=1114111},r.isS=function(t){return 32===t||10===t||13===t||9===t},r.isNameStartChar=n,r.isNameChar=function(t){return n(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},{}],542:[function(t,e,r){"use strict";function n(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.CHAR="\x01-\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff",r.RESTRICTED_CHAR="\x01-\b\v\f\x0e-\x1f\x7f-\x84\x86-\x9f",r.S=" \t\r\n",r.NAME_START_CHAR=":A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",r.NAME_CHAR="-"+r.NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",r.CHAR_RE=new RegExp("^["+r.CHAR+"]$","u"),r.RESTRICTED_CHAR_RE=new RegExp("^["+r.RESTRICTED_CHAR+"]$","u"),r.S_RE=new RegExp("^["+r.S+"]+$","u"),r.NAME_START_CHAR_RE=new RegExp("^["+r.NAME_START_CHAR+"]$","u"),r.NAME_CHAR_RE=new RegExp("^["+r.NAME_CHAR+"]$","u"),r.NAME_RE=new RegExp("^["+r.NAME_START_CHAR+"]["+r.NAME_CHAR+"]*$","u"),r.NMTOKEN_RE=new RegExp("^["+r.NAME_CHAR+"]+$","u"),r.S_LIST=[32,10,13,9],r.isChar=function(t){return t>=1&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},r.isRestrictedChar=function(t){return t>=1&&t<=8||11===t||12===t||t>=14&&t<=31||t>=127&&t<=132||t>=134&&t<=159},r.isCharAndNotRestricted=function(t){return 9===t||10===t||13===t||t>31&&t<127||133===t||t>159&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},r.isS=function(t){return 32===t||10===t||13===t||9===t},r.isNameStartChar=n,r.isNameChar=function(t){return n(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},{}],543:[function(t,e,r){"use strict";function n(t){return t>=65&&t<=90||95===t||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(r,"__esModule",{value:!0}),r.NC_NAME_START_CHAR="A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c-\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd\ud800\udc00-\udb7f\udfff",r.NC_NAME_CHAR="-"+r.NC_NAME_START_CHAR+".0-9\xb7\u0300-\u036f\u203f-\u2040",r.NC_NAME_START_CHAR_RE=new RegExp("^["+r.NC_NAME_START_CHAR+"]$","u"),r.NC_NAME_CHAR_RE=new RegExp("^["+r.NC_NAME_CHAR+"]$","u"),r.NC_NAME_RE=new RegExp("^["+r.NC_NAME_START_CHAR+"]["+r.NC_NAME_CHAR+"]*$","u"),r.isNCNameStartChar=n,r.isNCNameChar=function(t){return n(t)||45===t||46===t||t>=48&&t<=57||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},{}]},{},[15])(15)}).call(this,r(120))},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined");e.default=a},function(t,e,r){var n=r(801),i=r(1261),o=r(1265),a=r(484),s=o((function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])}));t.exports=s},function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(0),i=r.n(n),o=r(80),a=r(42);function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function f(t){var e=t.offset,r=t.layout,n=t.width,u=t.dataKey,f=t.data,h=t.dataPointFormatter,d=t.xAxis,p=t.yAxis,m=l(t,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),b=Object(a.c)(m),v=f.map((function(t,a){var l=h(t,u),f=l.x,m=l.y,v=l.value,g=l.errorVal;if(!g)return null;var y,w,x=[];if(Array.isArray(g)){var O=c(g,2);y=O[0],w=O[1]}else y=w=g;if("vertical"===r){var _=d.scale,S=m+e,k=S+n,E=S-n,M=_(v-y),C=_(v+w);x.push({x1:C,y1:k,x2:C,y2:E}),x.push({x1:M,y1:S,x2:C,y2:S}),x.push({x1:M,y1:k,x2:M,y2:E})}else if("horizontal"===r){var j=p.scale,A=f+e,T=A-n,P=A+n,D=j(v-y),R=j(v+w);x.push({x1:T,y1:R,x2:P,y2:R}),x.push({x1:A,y1:D,x2:A,y2:R}),x.push({x1:T,y1:D,x2:P,y2:D})}return i.a.createElement(o.a,s({className:"recharts-errorBar",key:"bar-".concat(a)},b),x.map((function(t,e){return i.a.createElement("line",s({},t,{key:"line-".concat(e)}))})))}));return i.a.createElement(o.a,{className:"recharts-errorBars"},v)}f.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},f.displayName="ErrorBar"},function(t,e,r){"use strict";var n=/\s/;var i=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e},o=/^\s+/;var a=function(t){return t?t.slice(0,i(t)+1).replace(o,""):t},s=r(184),c=r(278),u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,f=/^0o[0-7]+$/i,h=parseInt;var d=function(t){if("number"==typeof t)return t;if(Object(c.a)(t))return NaN;if(Object(s.a)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Object(s.a)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=a(t);var r=l.test(t);return r||f.test(t)?h(t.slice(2),r?2:8):u.test(t)?NaN:+t};var p=function(t){return t?(t=d(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0};e.a=function(t){var e=p(t),r=e%1;return e===e?r?e-r:e:0}},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(24),l=r(13),f=r(220),h=r(170),d=r(1446),p=r(339),m=r(340);function b(t){return Object(p.a)("PrivateSwitchBase",t)}Object(m.a)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=r(6),g=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],y=Object(l.a)(d.a,{skipSx:!0})((function(t){var e=t.ownerState;return Object(o.a)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})})),w=Object(l.a)("input",{skipSx:!0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),x=a.forwardRef((function(t,e){var r=t.autoFocus,a=t.checked,l=t.checkedIcon,d=t.className,p=t.defaultChecked,m=t.disabled,x=t.disableFocusRipple,O=void 0!==x&&x,_=t.edge,S=void 0!==_&&_,k=t.icon,E=t.id,M=t.inputProps,C=t.inputRef,j=t.name,A=t.onBlur,T=t.onChange,P=t.onFocus,D=t.readOnly,R=t.required,L=t.tabIndex,I=t.type,N=t.value,F=Object(i.a)(t,g),B=Object(f.a)({controlled:a,default:Boolean(p),name:"SwitchBase",state:"checked"}),z=Object(n.a)(B,2),H=z[0],U=z[1],W=Object(h.a)(),q=m;W&&"undefined"===typeof q&&(q=W.disabled);var V="checkbox"===I||"radio"===I,G=Object(o.a)({},t,{checked:H,disabled:q,disableFocusRipple:O,edge:S}),Y=function(t){var e=t.classes,r=t.checked,n=t.disabled,i=t.edge,o={root:["root",r&&"checked",n&&"disabled",i&&"edge".concat(Object(u.a)(i))],input:["input"]};return Object(c.a)(o,b,e)}(G);return Object(v.jsxs)(y,Object(o.a)({component:"span",className:Object(s.a)(Y.root,d),centerRipple:!0,focusRipple:!O,disabled:q,tabIndex:null,role:void 0,onFocus:function(t){P&&P(t),W&&W.onFocus&&W.onFocus(t)},onBlur:function(t){A&&A(t),W&&W.onBlur&&W.onBlur(t)},ownerState:G,ref:e},F,{children:[Object(v.jsx)(w,Object(o.a)({autoFocus:r,checked:a,defaultChecked:p,className:Y.input,disabled:q,id:V&&E,name:j,onChange:function(t){if(!t.nativeEvent.defaultPrevented){var e=t.target.checked;U(e),T&&T(t,e)}},readOnly:D,ref:C,required:R,ownerState:G,tabIndex:L,type:I},"checkbox"===I&&void 0===N?{}:{value:N},M)),H?l:k]}))}));e.a=x},function(t,e,r){"use strict";function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}r.d(e,"a",(function(){return i}))},function(t,e,r){"use strict";var n=r(0),i=r.n(n);e.a=i.a.createContext(null)},,function(t,e,r){"use strict";e.a=function(t){return function(){return t}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}));var n=Math.PI/180,i=180/Math.PI},function(t,e,r){"use strict";r.d(e,"a",(function(){return pc})),r.d(e,"b",(function(){return Ec}));var n={version:"0.18.5"},i=1200,o=1252,a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],s={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},c=function(t){-1!=a.indexOf(t)&&(o=s[0]=t)};var u=function(t){i=t,c(t)};function l(){u(1200),c(1252)}function f(t){for(var e=[],r=0,n=t.length;r<n;++r)e[r]=t.charCodeAt(r);return e}function h(t){for(var e=[],r=0;r<t.length>>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r+1)+(t.charCodeAt(2*r)<<8));return e.join("")}var d,p=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return 255==e&&254==r?function(t){for(var e=[],r=0;r<t.length>>1;++r)e[r]=String.fromCharCode(t.charCodeAt(2*r)+(t.charCodeAt(2*r+1)<<8));return e.join("")}(t.slice(2)):254==e&&255==r?h(t.slice(2)):65279==e?t.slice(1):t},m=function(t){return String.fromCharCode(t)},b=function(t){return String.fromCharCode(t)};var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function g(t){for(var e="",r=0,n=0,i=0,o=0,a=0,s=0,c=0,u=0;u<t.length;)o=(r=t.charCodeAt(u++))>>2,a=(3&r)<<4|(n=t.charCodeAt(u++))>>4,s=(15&n)<<2|(i=t.charCodeAt(u++))>>6,c=63&i,isNaN(n)?s=c=64:isNaN(i)&&(c=64),e+=v.charAt(o)+v.charAt(a)+v.charAt(s)+v.charAt(c);return e}function y(t){var e="",r=0,n=0,i=0,o=0,a=0,s=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<t.length;)r=v.indexOf(t.charAt(c++))<<2|(o=v.indexOf(t.charAt(c++)))>>4,e+=String.fromCharCode(r),n=(15&o)<<4|(a=v.indexOf(t.charAt(c++)))>>2,64!==a&&(e+=String.fromCharCode(n)),i=(3&a)<<6|(s=v.indexOf(t.charAt(c++))),64!==s&&(e+=String.fromCharCode(i));return e}var w=function(){return"undefined"!==typeof Buffer&&"undefined"!==typeof process&&"undefined"!==typeof process.versions&&!!process.versions.node}(),x=function(){if("undefined"!==typeof Buffer){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch(e){t=!0}return t?function(t,e){return e?new Buffer(t,e):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function O(t){return w?Buffer.alloc?Buffer.alloc(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}function _(t){return w?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):"undefined"!=typeof Uint8Array?new Uint8Array(t):new Array(t)}var S=function(t){return w?x(t,"binary"):t.split("").map((function(t){return 255&t.charCodeAt(0)}))};function k(t){if(Array.isArray(t))return t.map((function(t){return String.fromCharCode(t)})).join("");for(var e=[],r=0;r<t.length;++r)e[r]=String.fromCharCode(t[r]);return e.join("")}function E(t){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(t instanceof ArrayBuffer)return E(new Uint8Array(t));for(var e=new Array(t.length),r=0;r<t.length;++r)e[r]=t[r];return e}var M=w?function(t){return Buffer.concat(t.map((function(t){return Buffer.isBuffer(t)?t:x(t)})))}:function(t){if("undefined"!==typeof Uint8Array){var e=0,r=0;for(e=0;e<t.length;++e)r+=t[e].length;var n=new Uint8Array(r),i=0;for(e=0,r=0;e<t.length;r+=i,++e)if(i=t[e].length,t[e]instanceof Uint8Array)n.set(t[e],r);else{if("string"==typeof t[e])throw"wtf";n.set(new Uint8Array(t[e]),r)}return n}return[].concat.apply([],t.map((function(t){return Array.isArray(t)?t:[].slice.call(t)})))};var C=/\u0000/g,j=/[\u0001-\u0006]/g;function A(t){for(var e="",r=t.length-1;r>=0;)e+=t.charAt(r--);return e}function T(t,e){var r=""+t;return r.length>=e?r:Bt("0",e-r.length)+r}function P(t,e){var r=""+t;return r.length>=e?r:Bt(" ",e-r.length)+r}function D(t,e){var r=""+t;return r.length>=e?r:r+Bt(" ",e-r.length)}var R=Math.pow(2,32);function L(t,e){return t>R||t<-R?function(t,e){var r=""+Math.round(t);return r.length>=e?r:Bt("0",e-r.length)+r}(t,e):function(t,e){var r=""+t;return r.length>=e?r:Bt("0",e-r.length)+r}(Math.round(t),e)}function I(t,e){return e=e||0,t.length>=7+e&&103===(32|t.charCodeAt(e))&&101===(32|t.charCodeAt(e+1))&&110===(32|t.charCodeAt(e+2))&&101===(32|t.charCodeAt(e+3))&&114===(32|t.charCodeAt(e+4))&&97===(32|t.charCodeAt(e+5))&&108===(32|t.charCodeAt(e+6))}var N=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],F=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var B={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},z={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},H={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function U(t,e,r){for(var n=t<0?-1:1,i=t*n,o=0,a=1,s=0,c=1,u=0,l=0,f=Math.floor(i);u<e&&(s=(f=Math.floor(i))*a+o,l=f*u+c,!(i-f<5e-8));)i=1/(i-f),o=a,a=s,c=u,u=l;if(l>e&&(u>e?(l=c,s=o):(l=u,s=a)),!r)return[0,n*s,l];var h=Math.floor(n*s/l);return[h,n*s-h*l,l]}function W(t,e,r){if(t>2958465||t<0)return null;var n=0|t,i=Math.floor(86400*(t-n)),o=0,a=[],s={D:n,T:i,u:86400*(t-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),e&&e.date1904&&(n+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++n,++s.D)),60===n)a=r?[1317,10,29]:[1900,2,29],o=3;else if(0===n)a=r?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),a=[c.getFullYear(),c.getMonth()+1,c.getDate()],o=c.getDay(),n<60&&(o=(o+6)%7),r&&(o=function(t,e){e[0]-=581;var r=t.getDay();t<60&&(r=(r+6)%7);return r}(c,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}var q=new Date(1899,11,31,0,0,0),V=q.getTime(),G=new Date(1900,2,1,0,0,0);function Y(t,e){var r=t.getTime();return e?r-=1262304e5:t>=G&&(r+=864e5),(r-(V+6e4*(t.getTimezoneOffset()-q.getTimezoneOffset())))/864e5}function X(t){return-1==t.indexOf(".")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function K(t){var e,r=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return e=r>=-4&&r<=-1?t.toPrecision(10+r):Math.abs(r)<=9?function(t){var e=t<0?12:11,r=X(t.toFixed(12));return r.length<=e||(r=t.toPrecision(10)).length<=e?r:t.toExponential(5)}(t):10===r?t.toFixed(10).substr(0,12):function(t){var e=X(t.toFixed(11));return e.length>(t<0?12:11)||"0"===e||"-0"===e?t.toPrecision(6):e}(t),X(function(t){return-1==t.indexOf("E")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(e.toUpperCase()))}function Z(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(0|t)===t?t.toString(10):K(t);case"undefined":return"";case"object":if(null==t)return"";if(t instanceof Date)return bt(14,Y(t,e&&e.date1904),e)}throw new Error("unsupported value in General format: "+t)}function J(t,e,r,n){var i,o="",a=0,s=0,c=r.y,u=0;switch(t){case 98:c=r.y+543;case 121:switch(e.length){case 1:case 2:i=c%100,u=2;break;default:i=c%1e4,u=4}break;case 109:switch(e.length){case 1:case 2:i=r.m,u=e.length;break;case 3:return F[r.m-1][1];case 5:return F[r.m-1][0];default:return F[r.m-1][2]}break;case 100:switch(e.length){case 1:case 2:i=r.d,u=e.length;break;case 3:return N[r.q][0];default:return N[r.q][1]}break;case 104:switch(e.length){case 1:case 2:i=1+(r.H+11)%12,u=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:i=r.H,u=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:i=r.M,u=e.length;break;default:throw"bad minute format: "+e}break;case 115:if("s"!=e&&"ss"!=e&&".0"!=e&&".00"!=e&&".000"!=e)throw"bad second format: "+e;return 0!==r.u||"s"!=e&&"ss"!=e?(s=n>=2?3===n?1e3:100:1===n?10:1,(a=Math.round(s*(r.S+r.u)))>=60*s&&(a=0),"s"===e?0===a?"0":""+a/s:(o=T(a,2+n),"ss"===e?o.substr(0,2):"."+o.substr(2,e.length-1))):T(r.S,e.length);case 90:switch(e){case"[h]":case"[hh]":i=24*r.D+r.H;break;case"[m]":case"[mm]":i=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":i=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+e}u=3===e.length?1:2;break;case 101:i=c,u=1}return u>0?T(i,u):""}function Q(t){if(t.length<=3)return t;for(var e=t.length%3,r=t.substr(0,e);e!=t.length;e+=3)r+=(r.length>0?",":"")+t.substr(e,3);return r}var tt=/%/g;var et=/# (\?+)( ?)\/( ?)(\d+)/;var rt=/^#*0*\.([0#]+)/,nt=/\).*[0#]/,it=/\(###\) ###\\?-####/;function ot(t){for(var e,r="",n=0;n!=t.length;++n)switch(e=t.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(e)}return r}function at(t,e){var r=Math.pow(10,e);return""+Math.round(t*r)/r}function st(t,e){var r=t-Math.floor(t),n=Math.pow(10,e);return e<(""+Math.round(r*n)).length?0:Math.round(r*n)}function ct(t,e,r){if(40===t.charCodeAt(0)&&!e.match(nt)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ct("n",n,r):"("+ct("n",n,-r)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,r){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return lt(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}(t,e,r);if(-1!==e.indexOf("%"))return function(t,e,r){var n=e.replace(tt,""),i=e.length-n.length;return lt(t,n,r*Math.pow(10,2*i))+Bt("%",i)}(t,e,r);if(-1!==e.indexOf("E"))return function t(e,r){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+t(e,-r);var o=e.indexOf(".");-1===o&&(o=e.indexOf("E"));var a=Math.floor(Math.log(r)*Math.LOG10E)%o;if(a<0&&(a+=o),-1===(n=(r/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).indexOf("e")){var s=Math.floor(Math.log(r)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,o)+"."+n.substr(2+o)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,r,n){return e+r+n.substr(0,(o+a)%o)+"."+n.substr(a)+"E"}))}else n=r.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(e,r);if(36===e.charCodeAt(0))return"$"+ct(t,e.substr(" "==e.charAt(1)?2:1),r);var i,o,a,s,c=Math.abs(r),u=r<0?"-":"";if(e.match(/^00+$/))return u+L(c,e.length);if(e.match(/^[#?]+$/))return"0"===(i=L(r,0))&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,r){var n=parseInt(t[4],10),i=Math.round(e*n),o=Math.floor(i/n),a=i-o*n,s=n;return r+(0===o?"":""+o)+" "+(0===a?Bt(" ",t[1].length+1+t[4].length):P(a,t[1].length)+t[2]+"/"+t[3]+T(s,t[4].length))}(o,c,u);if(e.match(/^#+0+$/))return u+L(c,e.length-e.indexOf("0"));if(o=e.match(rt))return i=at(r,o[1].length).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1])).replace(/\.(\d*)$/,(function(t,e){return"."+e+Bt("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return u+at(c,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return u+Q(L(c,0));if(o=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ct(t,e,-r):Q(""+(Math.floor(r)+function(t,e){return e<(""+Math.round((t-Math.floor(t))*Math.pow(10,e))).length?1:0}(r,o[1].length)))+"."+T(st(r,o[1].length),o[1].length);if(o=e.match(/^#,#*,#0/))return ct(t,e.replace(/^#,#*,/,""),r);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=A(ct(t,e.replace(/[\\-]/g,""),r)),a=0,A(A(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a<i.length?i.charAt(a++):"0"===t?"0":""})));if(e.match(it))return"("+(i=ct(t,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var l="";if(o=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(o[4].length,7),s=U(c,Math.pow(10,a)-1,!1),i=""+u," "==(l=lt("n",o[1],s[1])).charAt(l.length-1)&&(l=l.substr(0,l.length-1)+"0"),i+=l+o[2]+"/"+o[3],(l=D(s[2],a)).length<o[4].length&&(l=ot(o[4].substr(o[4].length-l.length))+l),i+=l;if(o=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(Math.max(o[1].length,o[4].length),7),u+((s=U(c,Math.pow(10,a)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?P(s[1],a)+o[2]+"/"+o[3]+D(s[2],a):Bt(" ",2*a+1+o[2].length+o[3].length));if(o=e.match(/^[#0?]+$/))return i=L(r,0),e.length<=i.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(/^([#0?]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),a=i.indexOf(".");var f=e.indexOf(".")-a,h=e.length-i.length-f;return ot(e.substr(0,f)+i+e.substr(e.length-h))}if(o=e.match(/^00,000\.([#0]*0)$/))return a=st(r,o[1].length),r<0?"-"+ct(t,e,-r):Q(function(t){return t<2147483647&&t>-2147483648?""+(t>=0?0|t:t-1|0):""+Math.floor(t)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(t){return"00,"+(t.length<3?T(0,3-t.length):"")+t}))+"."+T(a,o[1].length);switch(e){case"###,##0.00":return ct(t,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=Q(L(c,0));return"0"!==d?u+d:"";case"###,###.00":return ct(t,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return ct(t,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+e+"|")}function ut(t,e,r){if(40===t.charCodeAt(0)&&!e.match(nt)){var n=e.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ut("n",n,r):"("+ut("n",n,-r)+")"}if(44===e.charCodeAt(e.length-1))return function(t,e,r){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return lt(t,e.substr(0,n),r/Math.pow(10,3*(e.length-n)))}(t,e,r);if(-1!==e.indexOf("%"))return function(t,e,r){var n=e.replace(tt,""),i=e.length-n.length;return lt(t,n,r*Math.pow(10,2*i))+Bt("%",i)}(t,e,r);if(-1!==e.indexOf("E"))return function t(e,r){var n,i=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+t(e,-r);var o=e.indexOf(".");-1===o&&(o=e.indexOf("E"));var a=Math.floor(Math.log(r)*Math.LOG10E)%o;if(a<0&&(a+=o),!(n=(r/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).match(/[Ee]/)){var s=Math.floor(Math.log(r)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+a):n+="E+"+(s-a),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(t,e,r,n){return e+r+n.substr(0,(o+a)%o)+"."+n.substr(a)+"E"}))}else n=r.toExponential(i);return e.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),e.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(e,r);if(36===e.charCodeAt(0))return"$"+ut(t,e.substr(" "==e.charAt(1)?2:1),r);var i,o,a,s,c=Math.abs(r),u=r<0?"-":"";if(e.match(/^00+$/))return u+T(c,e.length);if(e.match(/^[#?]+$/))return i=""+r,0===r&&(i=""),i.length>e.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(et))return function(t,e,r){return r+(0===e?"":""+e)+Bt(" ",t[1].length+2+t[4].length)}(o,c,u);if(e.match(/^#+0+$/))return u+T(c,e.length-e.indexOf("0"));if(o=e.match(rt))return i=(i=(""+r).replace(/^([^\.]+)$/,"$1."+ot(o[1])).replace(/\.$/,"."+ot(o[1]))).replace(/\.(\d*)$/,(function(t,e){return"."+e+Bt("0",ot(o[1]).length-e.length)})),-1!==e.indexOf("0.")?i:i.replace(/^0\./,".");if(e=e.replace(/^#+([0.])/,"$1"),o=e.match(/^(0*)\.(#*)$/))return u+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=e.match(/^#{1,3},##0(\.?)$/))return u+Q(""+c);if(o=e.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ut(t,e,-r):Q(""+r)+"."+Bt("0",o[1].length);if(o=e.match(/^#,#*,#0/))return ut(t,e.replace(/^#,#*,/,""),r);if(o=e.match(/^([0#]+)(\\?-([0#]+))+$/))return i=A(ut(t,e.replace(/[\\-]/g,""),r)),a=0,A(A(e.replace(/\\/g,"")).replace(/[0#]/g,(function(t){return a<i.length?i.charAt(a++):"0"===t?"0":""})));if(e.match(it))return"("+(i=ut(t,"##########",r)).substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var l="";if(o=e.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(o[4].length,7),s=U(c,Math.pow(10,a)-1,!1),i=""+u," "==(l=lt("n",o[1],s[1])).charAt(l.length-1)&&(l=l.substr(0,l.length-1)+"0"),i+=l+o[2]+"/"+o[3],(l=D(s[2],a)).length<o[4].length&&(l=ot(o[4].substr(o[4].length-l.length))+l),i+=l;if(o=e.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return a=Math.min(Math.max(o[1].length,o[4].length),7),u+((s=U(c,Math.pow(10,a)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?P(s[1],a)+o[2]+"/"+o[3]+D(s[2],a):Bt(" ",2*a+1+o[2].length+o[3].length));if(o=e.match(/^[#0?]+$/))return i=""+r,e.length<=i.length?i:ot(e.substr(0,e.length-i.length))+i;if(o=e.match(/^([#0]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),a=i.indexOf(".");var f=e.indexOf(".")-a,h=e.length-i.length-f;return ot(e.substr(0,f)+i+e.substr(e.length-h))}if(o=e.match(/^00,000\.([#0]*0)$/))return r<0?"-"+ut(t,e,-r):Q(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(t){return"00,"+(t.length<3?T(0,3-t.length):"")+t}))+"."+T(0,o[1].length);switch(e){case"###,###":case"##,###":case"#,###":var d=Q(""+c);return"0"!==d?u+d:"";default:if(e.match(/\.[0#?]*$/))return ut(t,e.slice(0,e.lastIndexOf(".")),r)+ot(e.slice(e.lastIndexOf(".")))}throw new Error("unsupported format |"+e+"|")}function lt(t,e,r){return(0|r)===r?ut(t,e,r):ct(t,e,r)}var ft=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function ht(t){for(var e=0,r="",n="";e<t.length;)switch(r=t.charAt(e)){case"G":I(t,e)&&(e+=6),e++;break;case'"':for(;34!==t.charCodeAt(++e)&&e<t.length;);++e;break;case"\\":case"_":e+=2;break;case"@":++e;break;case"B":case"b":if("1"===t.charAt(e+1)||"2"===t.charAt(e+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4e0a":if("A/P"===t.substr(e,3).toUpperCase())return!0;if("AM/PM"===t.substr(e,5).toUpperCase())return!0;if("\u4e0a\u5348/\u4e0b\u5348"===t.substr(e,5).toUpperCase())return!0;++e;break;case"[":for(n=r;"]"!==t.charAt(e++)&&e<t.length;)n+=t.charAt(e);if(n.match(ft))return!0;break;case".":case"0":case"#":for(;e<t.length&&("0#?.,E+-%".indexOf(r=t.charAt(++e))>-1||"\\"==r&&"-"==t.charAt(e+1)&&"0#".indexOf(t.charAt(e+2))>-1););break;case"?":for(;t.charAt(++e)===r;);break;case"*":++e," "!=t.charAt(e)&&"*"!=t.charAt(e)||++e;break;case"(":case")":++e;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;e<t.length&&"0123456789".indexOf(t.charAt(++e))>-1;);break;case" ":default:++e}return!1}var dt=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function pt(t,e){if(null==e)return!1;var r=parseFloat(e[2]);switch(e[1]){case"=":if(t==r)return!0;break;case">":if(t>r)return!0;break;case"<":if(t<r)return!0;break;case"<>":if(t!=r)return!0;break;case">=":if(t>=r)return!0;break;case"<=":if(t<=r)return!0}return!1}function mt(t,e){var r=function(t){for(var e=[],r=!1,n=0,i=0;n<t.length;++n)switch(t.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:e[e.length]=t.substr(i,n-i),i=n+1}if(e[e.length]=t.substr(i),!0===r)throw new Error("Format |"+t+"| unterminated string ");return e}(t),n=r.length,i=r[n-1].indexOf("@");if(n<4&&i>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!==typeof e)return[4,4===r.length||i>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=i>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=i>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=i>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var o=e>0?r[0]:e<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,o];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var a=r[0].match(dt),s=r[1].match(dt);return pt(e,a)?[n,r[0]]:pt(e,s)?[n,r[1]]:[n,r[null!=a&&null!=s?2:1]]}return[n,o]}function bt(t,e,r){null==r&&(r={});var n="";switch(typeof t){case"string":n="m/d/yy"==t&&r.dateNF?r.dateNF:t;break;case"number":null==(n=14==t&&r.dateNF?r.dateNF:(null!=r.table?r.table:B)[t])&&(n=r.table&&r.table[z[t]]||B[z[t]]),null==n&&(n=H[t]||"General")}if(I(n,0))return Z(e,r);e instanceof Date&&(e=Y(e,r.date1904));var i=mt(n,e);if(I(i[1]))return Z(e,r);if(!0===e)e="TRUE";else if(!1===e)e="FALSE";else if(""===e||null==e)return"";return function(t,e,r,n){for(var i,o,a,s=[],c="",u=0,l="",f="t",h="H";u<t.length;)switch(l=t.charAt(u)){case"G":if(!I(t,u))throw new Error("unrecognized character "+l+" in "+t);s[s.length]={t:"G",v:"General"},u+=7;break;case'"':for(c="";34!==(a=t.charCodeAt(++u))&&u<t.length;)c+=String.fromCharCode(a);s[s.length]={t:"t",v:c},++u;break;case"\\":var d=t.charAt(++u),p="("===d||")"===d?d:"t";s[s.length]={t:p,v:d},++u;break;case"_":s[s.length]={t:"t",v:" "},u+=2;break;case"@":s[s.length]={t:"T",v:e},++u;break;case"B":case"b":if("1"===t.charAt(u+1)||"2"===t.charAt(u+1)){if(null==i&&null==(i=W(e,r,"2"===t.charAt(u+1))))return"";s[s.length]={t:"X",v:t.substr(u,2)},f=l,u+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":l=l.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(e<0)return"";if(null==i&&null==(i=W(e,r)))return"";for(c=l;++u<t.length&&t.charAt(u).toLowerCase()===l;)c+=l;"m"===l&&"h"===f.toLowerCase()&&(l="M"),"h"===l&&(l=h),s[s.length]={t:l,v:c},f=l;break;case"A":case"a":case"\u4e0a":var m={t:l,v:l};if(null==i&&(i=W(e,r)),"A/P"===t.substr(u,3).toUpperCase()?(null!=i&&(m.v=i.H>=12?"P":"A"),m.t="T",h="h",u+=3):"AM/PM"===t.substr(u,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"PM":"AM"),m.t="T",u+=5,h="h"):"\u4e0a\u5348/\u4e0b\u5348"===t.substr(u,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),m.t="T",u+=5,h="h"):(m.t="t",++u),null==i&&"T"===m.t)return"";s[s.length]=m,f=l;break;case"[":for(c=l;"]"!==t.charAt(u++)&&u<t.length;)c+=t.charAt(u);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(ft)){if(null==i&&null==(i=W(e,r)))return"";s[s.length]={t:"Z",v:c.toLowerCase()},f=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",ht(t)||(s[s.length]={t:"t",v:c}));break;case".":if(null!=i){for(c=l;++u<t.length&&"0"===(l=t.charAt(u));)c+=l;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=l;++u<t.length&&"0#?.,E+-%".indexOf(l=t.charAt(u))>-1;)c+=l;s[s.length]={t:"n",v:c};break;case"?":for(c=l;t.charAt(++u)===l;)c+=l;s[s.length]={t:l,v:c},f=l;break;case"*":++u," "!=t.charAt(u)&&"*"!=t.charAt(u)||++u;break;case"(":case")":s[s.length]={t:1===n?"t":l,v:l},++u;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=l;u<t.length&&"0123456789".indexOf(t.charAt(++u))>-1;)c+=t.charAt(u);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:l,v:l},++u;break;case"$":s[s.length]={t:"t",v:"$"},++u;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(l))throw new Error("unrecognized character "+l+" in "+t);s[s.length]={t:"t",v:l},++u}var b,v=0,g=0;for(u=s.length-1,f="t";u>=0;--u)switch(s[u].t){case"h":case"H":s[u].t=h,f="h",v<1&&(v=1);break;case"s":(b=s[u].v.match(/\.0+$/))&&(g=Math.max(g,b[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[u].t;break;case"m":"s"===f&&(s[u].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[u].v.match(/[Hh]/)&&(v=1),v<2&&s[u].v.match(/[Mm]/)&&(v=2),v<3&&s[u].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var y,w="";for(u=0;u<s.length;++u)switch(s[u].t){case"t":case"T":case" ":case"D":break;case"X":s[u].v="",s[u].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[u].v=J(s[u].t.charCodeAt(0),s[u].v,i,g),s[u].t="t";break;case"n":case"?":for(y=u+1;null!=s[y]&&("?"===(l=s[y].t)||"D"===l||(" "===l||"t"===l)&&null!=s[y+1]&&("?"===s[y+1].t||"t"===s[y+1].t&&"/"===s[y+1].v)||"("===s[u].t&&(" "===l||"n"===l||")"===l)||"t"===l&&("/"===s[y].v||" "===s[y].v&&null!=s[y+1]&&"?"==s[y+1].t));)s[u].v+=s[y].v,s[y]={v:"",t:";"},++y;w+=s[u].v,u=y-1;break;case"G":s[u].t="t",s[u].v=Z(e,r)}var x,O,_="";if(w.length>0){40==w.charCodeAt(0)?(x=e<0&&45===w.charCodeAt(0)?-e:e,O=lt("n",w,x)):(O=lt("n",w,x=e<0&&n>1?-e:e),x<0&&s[0]&&"t"==s[0].t&&(O=O.substr(1),s[0].v="-"+s[0].v)),y=O.length-1;var S=s.length;for(u=0;u<s.length;++u)if(null!=s[u]&&"t"!=s[u].t&&s[u].v.indexOf(".")>-1){S=u;break}var k=s.length;if(S===s.length&&-1===O.indexOf("E")){for(u=s.length-1;u>=0;--u)null!=s[u]&&-1!=="n?".indexOf(s[u].t)&&(y>=s[u].v.length-1?(y-=s[u].v.length,s[u].v=O.substr(y+1,s[u].v.length)):y<0?s[u].v="":(s[u].v=O.substr(0,y+1),y=-1),s[u].t="t",k=u);y>=0&&k<s.length&&(s[k].v=O.substr(0,y+1)+s[k].v)}else if(S!==s.length&&-1===O.indexOf("E")){for(y=O.indexOf(".")-1,u=S;u>=0;--u)if(null!=s[u]&&-1!=="n?".indexOf(s[u].t)){for(o=s[u].v.indexOf(".")>-1&&u===S?s[u].v.indexOf(".")-1:s[u].v.length-1,_=s[u].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[u].v.charAt(o)||"#"===s[u].v.charAt(o))&&(_=O.charAt(y--)+_);s[u].v=_,s[u].t="t",k=u}for(y>=0&&k<s.length&&(s[k].v=O.substr(0,y+1)+s[k].v),y=O.indexOf(".")+1,u=S;u<s.length;++u)if(null!=s[u]&&(-1!=="n?(".indexOf(s[u].t)||u===S)){for(o=s[u].v.indexOf(".")>-1&&u===S?s[u].v.indexOf(".")+1:0,_=s[u].v.substr(0,o);o<s[u].v.length;++o)y<O.length&&(_+=O.charAt(y++));s[u].v=_,s[u].t="t",k=u}}}for(u=0;u<s.length;++u)null!=s[u]&&"n?".indexOf(s[u].t)>-1&&(x=n>1&&e<0&&u>0&&"-"===s[u-1].v?-e:e,s[u].v=lt(s[u].t,s[u].v,x),s[u].t="t");var E="";for(u=0;u!==s.length;++u)null!=s[u]&&(E+=s[u].v);return E}(i[1],e,r,i[0])}function vt(t,e){if("number"!=typeof e){e=+e||-1;for(var r=0;r<392;++r)if(void 0!=B[r]){if(B[r]==t){e=r;break}}else e<0&&(e=r);e<0&&(e=391)}return B[e]=t,e}function gt(){var t;t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',B=t}var yt={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},wt=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var xt=function(){var t={};t.version="1.2.0";var e=function(){for(var t=0,e=new Array(256),r=0;256!=r;++r)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=r)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[r]=t;return"undefined"!==typeof Int32Array?new Int32Array(e):e}();var r=function(t){var e=0,r=0,n=0,i="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)i[n]=t[n];for(n=0;256!=n;++n)for(r=t[n],e=256+n;e<4096;e+=256)r=i[e]=r>>>8^t[255&r];var o=[];for(n=1;16!=n;++n)o[n-1]="undefined"!==typeof Int32Array?i.subarray(256*n,256*n+256):i.slice(256*n,256*n+256);return o}(e),n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],c=r[5],u=r[6],l=r[7],f=r[8],h=r[9],d=r[10],p=r[11],m=r[12],b=r[13],v=r[14];return t.table=e,t.bstr=function(t,r){for(var n=-1^r,i=0,o=t.length;i<o;)n=n>>>8^e[255&(n^t.charCodeAt(i++))];return~n},t.buf=function(t,r){for(var g=-1^r,y=t.length-15,w=0;w<y;)g=v[t[w++]^255&g]^b[t[w++]^g>>8&255]^m[t[w++]^g>>16&255]^p[t[w++]^g>>>24]^d[t[w++]]^h[t[w++]]^f[t[w++]]^l[t[w++]]^u[t[w++]]^c[t[w++]]^s[t[w++]]^a[t[w++]]^o[t[w++]]^i[t[w++]]^n[t[w++]]^e[t[w++]];for(y+=15;w<y;)g=g>>>8^e[255&(g^t[w++])];return~g},t.str=function(t,r){for(var n=-1^r,i=0,o=t.length,a=0,s=0;i<o;)(a=t.charCodeAt(i++))<128?n=n>>>8^e[255&(n^a)]:a<2048?n=(n=n>>>8^e[255&(n^(192|a>>6&31))])>>>8^e[255&(n^(128|63&a))]:a>=55296&&a<57344?(a=64+(1023&a),s=1023&t.charCodeAt(i++),n=(n=(n=(n=n>>>8^e[255&(n^(240|a>>8&7))])>>>8^e[255&(n^(128|a>>2&63))])>>>8^e[255&(n^(128|s>>6&15|(3&a)<<4))])>>>8^e[255&(n^(128|63&s))]):n=(n=(n=n>>>8^e[255&(n^(224|a>>12&15))])>>>8^e[255&(n^(128|a>>6&63))])>>>8^e[255&(n^(128|63&a))];return~n},t}(),Ot=function(){var t,e={};function r(t){if("/"==t.charAt(t.length-1))return-1===t.slice(0,-1).indexOf("/")?t:r(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(0,e+1)}function n(t){if("/"==t.charAt(t.length-1))return n(t.slice(0,-1));var e=t.lastIndexOf("/");return-1===e?t:t.slice(e+1)}function i(t,e){"string"===typeof e&&(e=new Date(e));var r=e.getHours();r=(r=r<<6|e.getMinutes())<<5|e.getSeconds()>>>1,t.write_shift(2,r);var n=e.getFullYear()-1980;n=(n=n<<4|e.getMonth()+1)<<5|e.getDate(),t.write_shift(2,n)}function o(t){dr(t,0);for(var e={},r=0;t.l<=t.length-4;){var n=t.read_shift(2),i=t.read_shift(2),o=t.l+i,a={};switch(n){case 21589:1&(r=t.read_shift(1))&&(a.mtime=t.read_shift(4)),i>5&&(2&r&&(a.atime=t.read_shift(4)),4&r&&(a.ctime=t.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime))}t.l=o,e[n]=a}return e}function a(){return t||(t={})}function s(t,e){if(80==t[0]&&75==t[1])return ft(t,e);if(109==(32|t[0])&&105==(32|t[1]))return function(t,e){if("mime-version:"!=T(t.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=e&&e.root||"",n=(w&&Buffer.isBuffer(t)?t.toString("binary"):T(t)).split("\r\n"),i=0,o="";for(i=0;i<n.length;++i)if(o=n[i],/^Content-Location:/i.test(o)&&(o=o.slice(o.indexOf("file")),r||(r=o.slice(0,o.lastIndexOf("/")+1)),o.slice(0,r.length)!=r))for(;r.length>0&&(r=(r=r.slice(0,r.length-1)).slice(0,r.lastIndexOf("/")+1),o.slice(0,r.length)!=r););var a=(n[1]||"").match(/boundary="(.*?)"/);if(!a)throw new Error("MAD cannot find boundary");var s="--"+(a[1]||""),c={FileIndex:[],FullPaths:[]};f(c);var u,l=0;for(i=0;i<n.length;++i){var h=n[i];h!==s&&h!==s+"--"||(l++&&vt(c,n.slice(u,i),r),u=i)}return c}(t,e);if(t.length<512)throw new Error("CFB file size "+t.length+" < 512");var r,n,i,o,a,s,h=512,d=[],p=t.slice(0,512);dr(p,0);var m=function(t){if(80==t[t.l]&&75==t[t.l+1])return[0,0];t.chk(v,"Header Signature: "),t.l+=16;var e=t.read_shift(2,"u");return[t.read_shift(2,"u"),e]}(p);switch(r=m[0]){case 3:h=512;break;case 4:h=4096;break;case 0:if(0==m[1])return ft(t,e);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==h&&dr(p=t.slice(0,h),28);var g=t.slice(0,h);!function(t,e){var r;switch(t.l+=2,r=t.read_shift(2)){case 9:if(3!=e)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=e)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}t.chk("0600","Mini Sector Shift: "),t.chk("000000000000","Reserved: ")}(p,r);var y=p.read_shift(4,"i");if(3===r&&0!==y)throw new Error("# Directory Sectors: Expected 0 saw "+y);p.l+=4,o=p.read_shift(4,"i"),p.l+=4,p.chk("00100000","Mini Stream Cutoff Size: "),a=p.read_shift(4,"i"),n=p.read_shift(4,"i"),s=p.read_shift(4,"i"),i=p.read_shift(4,"i");for(var x=-1,O=0;O<109&&!((x=p.read_shift(4,"i"))<0);++O)d[O]=x;var _=function(t,e){for(var r=Math.ceil(t.length/e)-1,n=[],i=1;i<r;++i)n[i-1]=t.slice(i*e,(i+1)*e);return n[r-1]=t.slice(r*e),n}(t,h);!function t(e,r,n,i,o){var a=b;if(e===b){if(0!==r)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var s=n[e],c=(i>>>2)-1;if(!s)return;for(var u=0;u<c&&(a=sr(s,4*u))!==b;++u)o.push(a);t(sr(s,i-4),r-1,n,i,o)}}(s,i,_,h,d);var S=function(t,e,r,n){var i=t.length,o=[],a=[],s=[],c=[],u=n-1,l=0,f=0,h=0,d=0;for(l=0;l<i;++l)if(s=[],(h=l+e)>=i&&(h-=i),!a[h]){c=[];var p=[];for(f=h;f>=0;){p[f]=!0,a[f]=!0,s[s.length]=f,c.push(t[f]);var m=r[Math.floor(4*f/n)];if(n<4+(d=4*f&u))throw new Error("FAT boundary crossed: "+f+" 4 "+n);if(!t[m])break;if(f=sr(t[m],d),p[f])break}o[h]={nodes:s,data:Ie([c])}}return o}(_,o,d,h);S[o].name="!Directory",n>0&&a!==b&&(S[a].name="!MiniFAT"),S[d[0]].name="!FAT",S.fat_addrs=d,S.ssz=h;var k=[],E=[],M=[];!function(t,e,r,n,i,o,a,s){for(var f,h=0,d=n.length?2:0,p=e[t].data,m=0,v=0;m<p.length;m+=128){var g=p.slice(m,m+128);dr(g,64),v=g.read_shift(2),f=Fe(g,0,v-d),n.push(f);var y={name:f,type:g.read_shift(1),color:g.read_shift(1),L:g.read_shift(4,"i"),R:g.read_shift(4,"i"),C:g.read_shift(4,"i"),clsid:g.read_shift(16),state:g.read_shift(4,"i"),start:0,size:0};0!==g.read_shift(2)+g.read_shift(2)+g.read_shift(2)+g.read_shift(2)&&(y.ct=l(g,g.l-8)),0!==g.read_shift(2)+g.read_shift(2)+g.read_shift(2)+g.read_shift(2)&&(y.mt=l(g,g.l-8)),y.start=g.read_shift(4,"i"),y.size=g.read_shift(4,"i"),y.size<0&&y.start<0&&(y.size=y.type=0,y.start=b,y.name=""),5===y.type?(h=y.start,i>0&&h!==b&&(e[h].name="!StreamData")):y.size>=4096?(y.storage="fat",void 0===e[y.start]&&(e[y.start]=u(r,y.start,e.fat_addrs,e.ssz)),e[y.start].name=y.name,y.content=e[y.start].data.slice(0,y.size)):(y.storage="minifat",y.size<0?y.size=0:h!==b&&y.start!==b&&e[h]&&(y.content=c(y,e[h].data,(e[s]||{}).data))),y.content&&dr(y.content,0),o[f]=y,a.push(y)}}(o,S,_,k,n,{},E,a),function(t,e,r){for(var n=0,i=0,o=0,a=0,s=0,c=r.length,u=[],l=[];n<c;++n)u[n]=l[n]=n,e[n]=r[n];for(;s<l.length;++s)n=l[s],i=t[n].L,o=t[n].R,a=t[n].C,u[n]===n&&(-1!==i&&u[i]!==i&&(u[n]=u[i]),-1!==o&&u[o]!==o&&(u[n]=u[o])),-1!==a&&(u[a]=n),-1!==i&&n!=u[n]&&(u[i]=u[n],l.lastIndexOf(i)<s&&l.push(i)),-1!==o&&n!=u[n]&&(u[o]=u[n],l.lastIndexOf(o)<s&&l.push(o));for(n=1;n<c;++n)u[n]===n&&(-1!==o&&u[o]!==o?u[n]=u[o]:-1!==i&&u[i]!==i&&(u[n]=u[i]));for(n=1;n<c;++n)if(0!==t[n].type){if((s=n)!=u[s])do{s=u[s],e[n]=e[s]+"/"+e[n]}while(0!==s&&-1!==u[s]&&s!=u[s]);u[n]=-1}for(e[0]+="/",n=1;n<c;++n)2!==t[n].type&&(e[n]+="/")}(E,M,k),k.shift();var C={FileIndex:E,FullPaths:M};return e&&e.raw&&(C.raw={header:g,sectors:_}),C}function c(t,e,r){for(var n=t.start,i=t.size,o=[],a=n;r&&i>0&&a>=0;)o.push(e.slice(a*m,a*m+m)),i-=m,a=sr(r,4*a);return 0===o.length?mr(0):M(o).slice(0,t.size)}function u(t,e,r,n,i){var o=[],a=[];i||(i=[]);var s=n-1,c=0,u=0;for(c=e;c>=0;){i[c]=!0,o[o.length]=c,a.push(t[c]);var l=r[Math.floor(4*c/n)];if(n<4+(u=4*c&s))throw new Error("FAT boundary crossed: "+c+" 4 "+n);if(!t[l])break;c=sr(t[l],u)}return{nodes:o,data:Ie([a])}}function l(t,e){return new Date(1e3*(ar(t,e+4)/1e7*Math.pow(2,32)+ar(t,e)/1e7-11644473600))}function f(t,e){var r=e||{},n=r.root||"Root Entry";if(t.FullPaths||(t.FullPaths=[]),t.FileIndex||(t.FileIndex=[]),t.FullPaths.length!==t.FileIndex.length)throw new Error("inconsistent CFB structure");0===t.FullPaths.length&&(t.FullPaths[0]=n+"/",t.FileIndex[0]={name:n,type:5}),r.CLSID&&(t.FileIndex[0].clsid=r.CLSID),function(t){var e="\x01Sh33tJ5";if(Ot.find(t,"/"+e))return;var r=mr(4);r[0]=55,r[1]=r[3]=50,r[2]=54,t.FileIndex.push({name:e,type:2,content:r,size:4,L:69,R:69,C:69}),t.FullPaths.push(t.FullPaths[0]+e),h(t)}(t)}function h(t,e){f(t);for(var i=!1,o=!1,a=t.FullPaths.length-1;a>=0;--a){var s=t.FileIndex[a];switch(s.type){case 0:o?i=!0:(t.FileIndex.pop(),t.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(i=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(i=!0);break;default:i=!0}}if(i||e){var c=new Date(1987,1,19),u=0,l=Object.create?Object.create(null):{},h=[];for(a=0;a<t.FullPaths.length;++a)l[t.FullPaths[a]]=!0,0!==t.FileIndex[a].type&&h.push([t.FullPaths[a],t.FileIndex[a]]);for(a=0;a<h.length;++a){var d=r(h[a][0]);(o=l[d])||(h.push([d,{name:n(d).replace("/",""),type:1,clsid:E,ct:c,mt:c,content:null}]),l[d]=!0)}for(h.sort((function(t,e){return function(t,e){for(var r=t.split("/"),n=e.split("/"),i=0,o=0,a=Math.min(r.length,n.length);i<a;++i){if(o=r[i].length-n[i].length)return o;if(r[i]!=n[i])return r[i]<n[i]?-1:1}return r.length-n.length}(t[0],e[0])})),t.FullPaths=[],t.FileIndex=[],a=0;a<h.length;++a)t.FullPaths[a]=h[a][0],t.FileIndex[a]=h[a][1];for(a=0;a<h.length;++a){var p=t.FileIndex[a],m=t.FullPaths[a];if(p.name=n(m).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||E,0===a)p.C=h.length>1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(u=a+1;u<h.length&&r(t.FullPaths[u])!=m;++u);for(p.C=u>=h.length?-1:u,u=a+1;u<h.length&&r(t.FullPaths[u])!=r(m);++u);p.R=u>=h.length?-1:u,p.type=1}else r(t.FullPaths[a+1]||"")==r(m)&&(p.R=a+1),p.type=2}}}function d(t,e){var r=e||{};if("mad"==r.fileType)return function(t,e){for(var r=e||{},n=r.boundary||"SheetJS",i=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(n="------="+n).slice(2)+'"',"","",""],o=t.FullPaths[0],a=o,s=t.FileIndex[0],c=1;c<t.FullPaths.length;++c)if(a=t.FullPaths[c].slice(o.length),(s=t.FileIndex[c]).size&&s.content&&"\x01Sh33tJ5"!=a){a=a.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(t){return"_x"+t.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(t){return"_u"+t.charCodeAt(0).toString(16)+"_"}));for(var u=s.content,l=w&&Buffer.isBuffer(u)?u.toString("binary"):T(u),f=0,h=Math.min(1024,l.length),d=0,p=0;p<=h;++p)(d=l.charCodeAt(p))>=32&&d<128&&++f;var m=f>=4*h/5;i.push(n),i.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+a),i.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),i.push("Content-Type: "+pt(s,a)),i.push(""),i.push(m?bt(l):mt(l))}return i.push(n+"--\r\n"),i.join("\r\n")}(t,r);switch(h(t),r.fileType){case"zip":return function(t,e){var r=e||{},n=[],o=[],a=mr(1),s=r.compression?8:0,c=0;0;var u=0,l=0,f=0,h=0,d=t.FullPaths[0],m=d,b=t.FileIndex[0],v=[],g=0;for(u=1;u<t.FullPaths.length;++u)if(m=t.FullPaths[u].slice(d.length),(b=t.FileIndex[u]).size&&b.content&&"\x01Sh33tJ5"!=m){var y=f,w=mr(m.length);for(l=0;l<m.length;++l)w.write_shift(1,127&m.charCodeAt(l));w=w.slice(0,w.l),v[h]=xt.buf(b.content,0);var x=b.content;8==s&&(O=x,x=p?p.deflateRawSync(O):rt(O)),(a=mr(30)).write_shift(4,67324752),a.write_shift(2,20),a.write_shift(2,c),a.write_shift(2,s),b.mt?i(a,b.mt):a.write_shift(4,0),a.write_shift(-4,8&c?0:v[h]),a.write_shift(4,8&c?0:x.length),a.write_shift(4,8&c?0:b.content.length),a.write_shift(2,w.length),a.write_shift(2,0),f+=a.length,n.push(a),f+=w.length,n.push(w),f+=x.length,n.push(x),8&c&&((a=mr(12)).write_shift(-4,v[h]),a.write_shift(4,x.length),a.write_shift(4,b.content.length),f+=a.l,n.push(a)),(a=mr(46)).write_shift(4,33639248),a.write_shift(2,0),a.write_shift(2,20),a.write_shift(2,c),a.write_shift(2,s),a.write_shift(4,0),a.write_shift(-4,v[h]),a.write_shift(4,x.length),a.write_shift(4,b.content.length),a.write_shift(2,w.length),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(4,0),a.write_shift(4,y),g+=a.l,o.push(a),g+=w.length,o.push(w),++h}var O;return(a=mr(22)).write_shift(4,101010256),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,h),a.write_shift(2,h),a.write_shift(4,g),a.write_shift(4,f),a.write_shift(2,0),M([M(n),M(o),a])}(t,r)}var n=function(t){for(var e=0,r=0,n=0;n<t.FileIndex.length;++n){var i=t.FileIndex[n];if(i.content){var o=i.content.length;o>0&&(o<4096?e+=o+63>>6:r+=o+511>>9)}}for(var a=t.FullPaths.length+3>>2,s=e+127>>7,c=(e+7>>3)+r+a+s,u=c+127>>7,l=u<=109?0:Math.ceil((u-109)/127);c+u+l+127>>7>u;)l=++u<=109?0:Math.ceil((u-109)/127);var f=[1,l,u,s,a,r,e,0];return t.FileIndex[0].size=e<<6,f[7]=(t.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(t),o=mr(n[7]<<9),a=0,s=0;for(a=0;a<8;++a)o.write_shift(1,k[a]);for(a=0;a<8;++a)o.write_shift(2,0);for(o.write_shift(2,62),o.write_shift(2,3),o.write_shift(2,65534),o.write_shift(2,9),o.write_shift(2,6),a=0;a<3;++a)o.write_shift(2,0);for(o.write_shift(4,0),o.write_shift(4,n[2]),o.write_shift(4,n[0]+n[1]+n[2]+n[3]-1),o.write_shift(4,0),o.write_shift(4,4096),o.write_shift(4,n[3]?n[0]+n[1]+n[2]-1:b),o.write_shift(4,n[3]),o.write_shift(-4,n[1]?n[0]-1:b),o.write_shift(4,n[1]),a=0;a<109;++a)o.write_shift(-4,a<n[2]?n[1]+a:-1);if(n[1])for(s=0;s<n[1];++s){for(;a<236+127*s;++a)o.write_shift(-4,a<n[2]?n[1]+a:-1);o.write_shift(-4,s===n[1]-1?b:s+1)}var c=function(t){for(s+=t;a<s-1;++a)o.write_shift(-4,a+1);t&&(++a,o.write_shift(-4,b))};for(s=a=0,s+=n[1];a<s;++a)o.write_shift(-4,A.DIFSECT);for(s+=n[2];a<s;++a)o.write_shift(-4,A.FATSECT);c(n[3]),c(n[4]);for(var u=0,l=0,f=t.FileIndex[0];u<t.FileIndex.length;++u)(f=t.FileIndex[u]).content&&((l=f.content.length)<4096||(f.start=s,c(l+511>>9)));for(c(n[6]+7>>3);511&o.l;)o.write_shift(-4,A.ENDOFCHAIN);for(s=a=0,u=0;u<t.FileIndex.length;++u)(f=t.FileIndex[u]).content&&(!(l=f.content.length)||l>=4096||(f.start=s,c(l+63>>6)));for(;511&o.l;)o.write_shift(-4,A.ENDOFCHAIN);for(a=0;a<n[4]<<2;++a){var d=t.FullPaths[a];if(d&&0!==d.length){f=t.FileIndex[a],0===a&&(f.start=f.size?f.start-1:b);var m=0===a&&r.root||f.name;if(l=2*(m.length+1),o.write_shift(64,m,"utf16le"),o.write_shift(2,l),o.write_shift(1,f.type),o.write_shift(1,f.color),o.write_shift(-4,f.L),o.write_shift(-4,f.R),o.write_shift(-4,f.C),f.clsid)o.write_shift(16,f.clsid,"hex");else for(u=0;u<4;++u)o.write_shift(4,0);o.write_shift(4,f.state||0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,f.start),o.write_shift(4,f.size),o.write_shift(4,0)}else{for(u=0;u<17;++u)o.write_shift(4,0);for(u=0;u<3;++u)o.write_shift(4,-1);for(u=0;u<12;++u)o.write_shift(4,0)}}for(a=1;a<t.FileIndex.length;++a)if((f=t.FileIndex[a]).size>=4096)if(o.l=f.start+1<<9,w&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+511&-512;else{for(u=0;u<f.size;++u)o.write_shift(1,f.content[u]);for(;511&u;++u)o.write_shift(1,0)}for(a=1;a<t.FileIndex.length;++a)if((f=t.FileIndex[a]).size>0&&f.size<4096)if(w&&Buffer.isBuffer(f.content))f.content.copy(o,o.l,0,f.size),o.l+=f.size+63&-64;else{for(u=0;u<f.size;++u)o.write_shift(1,f.content[u]);for(;63&u;++u)o.write_shift(1,0)}if(w)o.l=o.length;else for(;o.l<o.length;)o.write_shift(1,0);return o}e.version="1.2.1";var p,m=64,b=-2,v="d0cf11e0a1b11ae1",k=[208,207,17,224,161,177,26,225],E="00000000000000000000000000000000",A={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:b,FREESECT:-1,HEADER_SIGNATURE:v,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:E,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function T(t){for(var e=new Array(t.length),r=0;r<t.length;++r)e[r]=String.fromCharCode(t[r]);return e.join("")}var P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],R=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function L(t){var e=139536&(t<<1|t<<11)|558144&(t<<5|t<<15);return 255&(e>>16|e>>8|e)}for(var I="undefined"!==typeof Uint8Array,N=I?new Uint8Array(256):[],F=0;F<256;++F)N[F]=L(F);function B(t,e){var r=N[255&t];return e<=8?r>>>8-e:(r=r<<8|N[t>>8&255],e<=16?r>>>16-e:(r=r<<8|N[t>>16&255])>>>24-e)}function z(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=6?0:t[n+1]<<8))>>>r&3}function H(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=5?0:t[n+1]<<8))>>>r&7}function U(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=3?0:t[n+1]<<8))>>>r&31}function W(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=1?0:t[n+1]<<8))>>>r&127}function q(t,e,r){var n=7&e,i=e>>>3,o=(1<<r)-1,a=t[i]>>>n;return r<8-n?a&o:(a|=t[i+1]<<8-n,r<16-n?a&o:(a|=t[i+2]<<16-n,r<24-n?a&o:(a|=t[i+3]<<24-n)&o))}function V(t,e,r){var n=7&e,i=e>>>3;return n<=5?t[i]|=(7&r)<<n:(t[i]|=r<<n&255,t[i+1]=(7&r)>>8-n),e+3}function G(t,e,r){return r=(1&r)<<(7&e),t[e>>>3]|=r,e+1}function Y(t,e,r){var n=e>>>3;return r<<=7&e,t[n]|=255&r,r>>>=8,t[n+1]=r,e+8}function X(t,e,r){var n=e>>>3;return r<<=7&e,t[n]|=255&r,r>>>=8,t[n+1]=255&r,t[n+2]=r>>>8,e+16}function $(t,e){var r=t.length,n=2*r>e?2*r:e+5,i=0;if(r>=e)return t;if(w){var o=_(n);if(t.copy)t.copy(o);else for(;i<t.length;++i)o[i]=t[i];return o}if(I){var a=new Uint8Array(n);if(a.set)a.set(t);else for(;i<r;++i)a[i]=t[i];return a}return t.length=n,t}function K(t){for(var e=new Array(t),r=0;r<t;++r)e[r]=0;return e}function Z(t,e,r){var n=1,i=0,o=0,a=0,s=0,c=t.length,u=I?new Uint16Array(32):K(32);for(o=0;o<32;++o)u[o]=0;for(o=c;o<r;++o)t[o]=0;c=t.length;var l=I?new Uint16Array(c):K(c);for(o=0;o<c;++o)u[i=t[o]]++,n<i&&(n=i),l[o]=0;for(u[0]=0,o=1;o<=n;++o)u[o+16]=s=s+u[o-1]<<1;for(o=0;o<c;++o)0!=(s=t[o])&&(l[o]=u[s+16]++);var f=0;for(o=0;o<c;++o)if(0!=(f=t[o]))for(s=B(l[o],n)>>n-f,a=(1<<n+4-f)-1;a>=0;--a)e[s|a<<f]=15&f|o<<4;return n}var J=I?new Uint16Array(512):K(512),Q=I?new Uint16Array(32):K(32);if(!I){for(var tt=0;tt<512;++tt)J[tt]=0;for(tt=0;tt<32;++tt)Q[tt]=0}!function(){for(var t=[],e=0;e<32;e++)t.push(5);Z(t,Q,32);var r=[];for(e=0;e<=143;e++)r.push(8);for(;e<=255;e++)r.push(9);for(;e<=279;e++)r.push(7);for(;e<=287;e++)r.push(8);Z(r,J,288)}();var et=function(){for(var t=I?new Uint8Array(32768):[],e=0,r=0;e<R.length-1;++e)for(;r<R[e+1];++r)t[r]=e;for(;r<32768;++r)t[r]=29;var n=I?new Uint8Array(259):[];for(e=0,r=0;e<D.length-1;++e)for(;r<D[e+1];++r)n[r]=e;return function(e,r){return e.length<8?function(t,e){for(var r=0;r<t.length;){var n=Math.min(65535,t.length-r),i=r+n==t.length;for(e.write_shift(1,+i),e.write_shift(2,n),e.write_shift(2,65535&~n);n-- >0;)e[e.l++]=t[r++]}return e.l}(e,r):function(e,r){for(var i=0,o=0,a=I?new Uint16Array(32768):[];o<e.length;){var s=Math.min(65535,e.length-o);if(s<10){for(7&(i=V(r,i,+!(o+s!=e.length)))&&(i+=8-(7&i)),r.l=i/8|0,r.write_shift(2,s),r.write_shift(2,65535&~s);s-- >0;)r[r.l++]=e[o++];i=8*r.l}else{i=V(r,i,+!(o+s!=e.length)+2);for(var c=0;s-- >0;){var u=e[o],l=-1,f=0;if((l=a[c=32767&(c<<5^u)])&&((l|=-32768&o)>o&&(l-=32768),l<o))for(;e[l+f]==e[o+f]&&f<250;)++f;if(f>2){(u=n[f])<=22?i=Y(r,i,N[u+1]>>1)-1:(Y(r,i,3),Y(r,i+=5,N[u-23]>>5),i+=3);var h=u<8?0:u-4>>2;h>0&&(X(r,i,f-D[u]),i+=h),u=t[o-l],i=Y(r,i,N[u]>>3),i-=3;var d=u<4?0:u-2>>1;d>0&&(X(r,i,o-l-R[u]),i+=d);for(var p=0;p<f;++p)a[c]=32767&o,c=32767&(c<<5^e[o]),++o;s-=f-1}else u<=143?u+=48:i=G(r,i,1),i=Y(r,i,N[u]),a[c]=32767&o,++o}i=Y(r,i,0)-1}}return r.l=(i+7)/8|0,r.l}(e,r)}}();function rt(t){var e=mr(50+Math.floor(1.1*t.length)),r=et(t,e);return e.slice(0,r)}var nt=I?new Uint16Array(32768):K(32768),it=I?new Uint16Array(32768):K(32768),ot=I?new Uint16Array(128):K(128),at=1,st=1;function ct(t,e){var r=U(t,e)+257,n=U(t,e+=5)+1,i=function(t,e){var r=7&e,n=e>>>3;return(t[n]|(r<=4?0:t[n+1]<<8))>>>r&15}(t,e+=5)+4;e+=4;for(var o=0,a=I?new Uint8Array(19):K(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,u=I?new Uint8Array(8):K(8),l=I?new Uint8Array(8):K(8),f=a.length,h=0;h<i;++h)a[P[h]]=o=H(t,e),c<o&&(c=o),u[o]++,e+=3;var d=0;for(u[0]=0,h=1;h<=c;++h)l[h]=d=d+u[h-1]<<1;for(h=0;h<f;++h)0!=(d=a[h])&&(s[h]=l[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=a[h])){d=N[s[h]]>>8-p;for(var m=(1<<7-p)-1;m>=0;--m)ot[d|m<<p]=7&p|h<<3}var b=[];for(c=1;b.length<r+n;)switch(e+=7&(d=ot[W(t,e)]),d>>>=3){case 16:for(o=3+z(t,e),e+=2,d=b[b.length-1];o-- >0;)b.push(d);break;case 17:for(o=3+H(t,e),e+=3;o-- >0;)b.push(0);break;case 18:for(o=11+W(t,e),e+=7;o-- >0;)b.push(0);break;default:b.push(d),c<d&&(c=d)}var v=b.slice(0,r),g=b.slice(r);for(h=r;h<286;++h)v[h]=0;for(h=n;h<30;++h)g[h]=0;return at=Z(v,nt,286),st=Z(g,it,30),e}function ut(t,e){var r=function(t,e){if(3==t[0]&&!(3&t[1]))return[O(e),2];for(var r=0,n=0,i=_(e||1<<18),o=0,a=i.length>>>0,s=0,c=0;0==(1&n);)if(n=H(t,r),r+=3,n>>>1!=0)for(n>>1==1?(s=9,c=5):(r=ct(t,r),s=at,c=st);;){!e&&a<o+32767&&(a=(i=$(i,o+32767)).length);var u=q(t,r,s),l=n>>>1==1?J[u]:nt[u];if(r+=15&l,0===((l>>>=4)>>>8&255))i[o++]=l;else{if(256==l)break;var f=(l-=257)<8?0:l-4>>2;f>5&&(f=0);var h=o+D[l];f>0&&(h+=q(t,r,f),r+=f),u=q(t,r,c),r+=15&(l=n>>>1==1?Q[u]:it[u]);var d=(l>>>=4)<4?0:l-2>>1,p=R[l];for(d>0&&(p+=q(t,r,d),r+=d),!e&&a<h&&(a=(i=$(i,h+100)).length);o<h;)i[o]=i[o-p],++o}}else{7&r&&(r+=8-(7&r));var m=t[r>>>3]|t[1+(r>>>3)]<<8;if(r+=32,m>0)for(!e&&a<o+m&&(a=(i=$(i,o+m)).length);m-- >0;)i[o++]=t[r>>>3],r+=8}return e?[i,r+7>>>3]:[i.slice(0,o),r+7>>>3]}(t.slice(t.l||0),e);return t.l+=r[1],r[0]}function lt(t,e){if(!t)throw new Error(e);"undefined"!==typeof console&&console.error(e)}function ft(t,e){var r=t;dr(r,0);var n={FileIndex:[],FullPaths:[]};f(n,{root:e.root});for(var i=r.length-4;(80!=r[i]||75!=r[i+1]||5!=r[i+2]||6!=r[i+3])&&i>=0;)--i;r.l=i+4,r.l+=4;var a=r.read_shift(2);r.l+=6;var s=r.read_shift(4);for(r.l=s,i=0;i<a;++i){r.l+=20;var c=r.read_shift(4),u=r.read_shift(4),l=r.read_shift(2),h=r.read_shift(2),d=r.read_shift(2);r.l+=8;var p=r.read_shift(4),m=o(r.slice(r.l+l,r.l+l+h));r.l+=l+h+d;var b=r.l;r.l=p+4,ht(r,c,u,n,m),r.l=b}return n}function ht(t,e,r,n,i){t.l+=2;var a=t.read_shift(2),s=t.read_shift(2),c=function(t){var e=65535&t.read_shift(2),r=65535&t.read_shift(2),n=new Date,i=31&r,o=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(o-1),n.setDate(i);var a=31&e,s=63&(e>>>=5);return e>>>=6,n.setHours(e),n.setMinutes(s),n.setSeconds(a<<1),n}(t);if(8257&a)throw new Error("Unsupported ZIP encryption");t.read_shift(4);for(var u=t.read_shift(4),l=t.read_shift(4),f=t.read_shift(2),h=t.read_shift(2),d="",m=0;m<f;++m)d+=String.fromCharCode(t[t.l++]);if(h){var b=o(t.slice(t.l,t.l+h));(b[21589]||{}).mt&&(c=b[21589].mt),((i||{})[21589]||{}).mt&&(c=i[21589].mt)}t.l+=h;var v=t.slice(t.l,t.l+u);switch(s){case 8:v=function(t,e){if(!p)return ut(t,e);var r=new(0,p.InflateRaw),n=r._processChunk(t.slice(t.l),r._finishFlushFlag);return t.l+=r.bytesRead,n}(t,l);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var g=!1;8&a&&(134695760==t.read_shift(4)&&(t.read_shift(4),g=!0),u=t.read_shift(4),l=t.read_shift(4)),u!=e&&lt(g,"Bad compressed size: "+e+" != "+u),l!=r&&lt(g,"Bad uncompressed size: "+r+" != "+l),gt(n,d,v,{unsafe:!0,mt:c})}var dt={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function pt(t,e){if(t.ctype)return t.ctype;var r=t.name||"",n=r.match(/\.([^\.]+)$/);return n&&dt[n[1]]||e&&(n=(r=e).match(/[\.\\]([^\.\\])+$/))&&dt[n[1]]?dt[n[1]]:"application/octet-stream"}function mt(t){for(var e=g(t),r=[],n=0;n<e.length;n+=76)r.push(e.slice(n,n+76));return r.join("\r\n")+"\r\n"}function bt(t){var e=t.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(t){var e=t.charCodeAt(0).toString(16).toUpperCase();return"="+(1==e.length?"0"+e:e)}));"\n"==(e=e.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(e="=0D"+e.slice(1));for(var r=[],n=(e=e.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),i=0;i<n.length;++i){var o=n[i];if(0!=o.length)for(var a=0;a<o.length;){var s=76,c=o.slice(a,a+s);"="==c.charAt(s-1)?s--:"="==c.charAt(s-2)?s-=2:"="==c.charAt(s-3)&&(s-=3),c=o.slice(a,a+s),(a+=s)<o.length&&(c+="="),r.push(c)}else r.push("")}return r.join("\r\n")}function vt(t,e,r){for(var n,i="",o="",a="",s=0;s<10;++s){var c=e[s];if(!c||c.match(/^\s*$/))break;var u=c.match(/^(.*?):\s*([^\s].*)$/);if(u)switch(u[1].toLowerCase()){case"content-location":i=u[2].trim();break;case"content-type":a=u[2].trim();break;case"content-transfer-encoding":o=u[2].trim()}}switch(++s,o.toLowerCase()){case"base64":n=S(y(e.slice(s).join("")));break;case"quoted-printable":n=function(t){for(var e=[],r=0;r<t.length;++r){for(var n=t[r];r<=t.length&&"="==n.charAt(n.length-1);)n=n.slice(0,n.length-1)+t[++r];e.push(n)}for(var i=0;i<e.length;++i)e[i]=e[i].replace(/[=][0-9A-Fa-f]{2}/g,(function(t){return String.fromCharCode(parseInt(t.slice(1),16))}));return S(e.join("\r\n"))}(e.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+o)}var l=gt(t,i.slice(r.length),n,{unsafe:!0});a&&(l.ctype=a)}function gt(t,e,r,i){var o=i&&i.unsafe;o||f(t);var a=!o&&Ot.find(t,e);if(!a){var s=t.FullPaths[0];e.slice(0,s.length)==s?s=e:("/"!=s.slice(-1)&&(s+="/"),s=(s+e).replace("//","/")),a={name:n(e),type:2},t.FileIndex.push(a),t.FullPaths.push(s),o||Ot.utils.cfb_gc(t)}return a.content=r,a.size=r?r.length:0,i&&(i.CLSID&&(a.clsid=i.CLSID),i.mt&&(a.mt=i.mt),i.ct&&(a.ct=i.ct)),a}return e.find=function(t,e){var r=t.FullPaths.map((function(t){return t.toUpperCase()})),n=r.map((function(t){var e=t.split("/");return e[e.length-("/"==t.slice(-1)?2:1)]})),i=!1;47===e.charCodeAt(0)?(i=!0,e=r[0].slice(0,-1)+e):i=-1!==e.indexOf("/");var o=e.toUpperCase(),a=!0===i?r.indexOf(o):n.indexOf(o);if(-1!==a)return t.FileIndex[a];var s=!o.match(j);for(o=o.replace(C,""),s&&(o=o.replace(j,"!")),a=0;a<r.length;++a){if((s?r[a].replace(j,"!"):r[a]).replace(C,"")==o)return t.FileIndex[a];if((s?n[a].replace(j,"!"):n[a]).replace(C,"")==o)return t.FileIndex[a]}return null},e.read=function(e,r){var n=r&&r.type;switch(n||w&&Buffer.isBuffer(e)&&(n="buffer"),n||"base64"){case"file":return function(e,r){return a(),s(t.readFileSync(e),r)}(e,r);case"base64":return s(S(y(e)),r);case"binary":return s(S(e),r)}return s(e,r)},e.parse=s,e.write=function(e,r){var n=d(e,r);switch(r&&r.type||"buffer"){case"file":return a(),t.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:T(n);case"base64":return g("string"==typeof n?n:T(n));case"buffer":if(w)return Buffer.isBuffer(n)?n:x(n);case"array":return"string"==typeof n?S(n):n}return n},e.writeFile=function(e,r,n){a();var i=d(e,n);t.writeFileSync(r,i)},e.utils={cfb_new:function(t){var e={};return f(e,t),e},cfb_add:gt,cfb_del:function(t,e){f(t);var r=Ot.find(t,e);if(r)for(var n=0;n<t.FileIndex.length;++n)if(t.FileIndex[n]==r)return t.FileIndex.splice(n,1),t.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(t,e,r){f(t);var i=Ot.find(t,e);if(i)for(var o=0;o<t.FileIndex.length;++o)if(t.FileIndex[o]==i)return t.FileIndex[o].name=n(r),t.FullPaths[o]=r,!0;return!1},cfb_gc:function(t){h(t,!0)},ReadShift:ur,CheckField:hr,prep_blob:dr,bconcat:M,use_zlib:function(t){try{var e=new(0,t.InflateRaw);if(e._processChunk(new Uint8Array([3,0]),e._finishFlushFlag),!e.bytesRead)throw new Error("zlib does not expose bytesRead");p=t}catch(r){console.error("cannot use native zlib: "+(r.message||r))}},_deflateRaw:rt,_inflateRaw:ut,consts:A},e}(),_t=void 0;function St(t){for(var e=Object.keys(t),r=[],n=0;n<e.length;++n)Object.prototype.hasOwnProperty.call(t,e[n])&&r.push(e[n]);return r}function kt(t){for(var e=[],r=St(t),n=0;n!==r.length;++n)e[t[r[n]]]=r[n];return e}var Et=new Date(1899,11,30,0,0,0);function Mt(t,e){var r=t.getTime();return e&&(r-=1263168e5),(r-(Et.getTime()+6e4*(t.getTimezoneOffset()-Et.getTimezoneOffset())))/864e5}var Ct=new Date,jt=Et.getTime()+6e4*(Ct.getTimezoneOffset()-Et.getTimezoneOffset()),At=Ct.getTimezoneOffset();function Tt(t){var e=new Date;return e.setTime(24*t*60*60*1e3+jt),e.getTimezoneOffset()!==At&&e.setTime(e.getTime()+6e4*(e.getTimezoneOffset()-At)),e}function Pt(t){var e=0,r=0,n=!1,i=t.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+t+"| is not an ISO8601 Duration");for(var o=1;o!=i.length;++o)if(i[o]){switch(r=1,o>3&&(n=!0),i[o].slice(i[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[o].slice(i[o].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}e+=r*parseInt(i[o],10)}return e}var Dt=new Date("2017-02-19T19:06:09.000Z"),Rt=isNaN(Dt.getFullYear())?new Date("2/19/17"):Dt,Lt=2017==Rt.getFullYear();function It(t,e){var r=new Date(t);if(Lt)return e>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):e<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(t instanceof Date)return t;if(1917==Rt.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return t.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var i=t.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return t.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function Nt(t,e){if(w&&Buffer.isBuffer(t)){if(e){if(255==t[0]&&254==t[1])return xe(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return xe(h(t.slice(2).toString("binary")))}return t.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(e){if(255==t[0]&&254==t[1])return xe(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return xe(new TextDecoder("utf-16be").decode(t.slice(2)))}var r={"\u20ac":"\x80","\u201a":"\x82","\u0192":"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02c6":"\x88","\u2030":"\x89","\u0160":"\x8a","\u2039":"\x8b","\u0152":"\x8c","\u017d":"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99","\u0161":"\x9a","\u203a":"\x9b","\u0153":"\x9c","\u017e":"\x9e","\u0178":"\x9f"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,(function(t){return r[t]||t}))}catch(o){}for(var n=[],i=0;i!=t.length;++i)n.push(String.fromCharCode(t[i]));return n.join("")}function Ft(t){if("undefined"!=typeof JSON&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if("object"!=typeof t||null==t)return t;if(t instanceof Date)return new Date(t.getTime());var e={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=Ft(t[r]));return e}function Bt(t,e){for(var r="";r.length<e;)r+=t;return r}function zt(t){var e=Number(t);if(!isNaN(e))return isFinite(e)?e:NaN;if(!/\d/.test(t))return e;var r=1,n=t.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(e=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(t,e){return r=-r,e})),isNaN(e=Number(n))?e:e/r):e/r}var Ht=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ut(t){var e=new Date(t),r=new Date(NaN),n=e.getYear(),i=e.getMonth(),o=e.getDate();if(isNaN(o))return r;var a=t.toLowerCase();if(a.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((a=a.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==Ht.indexOf(a))return r}else if(a.match(/[a-z]/))return r;return n<0||n>8099?r:(i>0||o>1)&&101!=n?e:t.match(/[^-0-9:,\/\\]/)?r:e}var Wt=function(){var t=5=="abacaba".split(/(:?b)/i).length;return function(e,r,n){if(t||"string"==typeof r)return e.split(r);for(var i=e.split(r),o=[i[0]],a=1;a<i.length;++a)o.push(n),o.push(i[a]);return o}}();function qt(t){return t?t.content&&t.type?Nt(t.content,!0):t.data?p(t.data):t.asNodeBuffer&&w?p(t.asNodeBuffer().toString("binary")):t.asBinary?p(t.asBinary()):t._data&&t._data.getContent?p(Nt(Array.prototype.slice.call(t._data.getContent(),0))):null:null}function Vt(t){if(!t)return null;if(t.data)return f(t.data);if(t.asNodeBuffer&&w)return t.asNodeBuffer();if(t._data&&t._data.getContent){var e=t._data.getContent();return"string"==typeof e?f(e):Array.prototype.slice.call(e)}return t.content&&t.type?t.content:null}function Gt(t,e){for(var r=t.FullPaths||St(t.files),n=e.toLowerCase().replace(/[\/]/g,"\\"),i=n.replace(/\\/g,"/"),o=0;o<r.length;++o){var a=r[o].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==a||i==a)return t.files?t.files[r[o]]:t.FileIndex[o]}return null}function Yt(t,e){var r=Gt(t,e);if(null==r)throw new Error("Cannot find file "+e+" in zip");return r}function Xt(t,e,r){if(!r)return(n=Yt(t,e))&&".bin"===n.name.slice(-4)?Vt(n):qt(n);var n;if(!e)return null;try{return Xt(t,e)}catch(i){return null}}function $t(t,e,r){if(!r)return qt(Yt(t,e));if(!e)return null;try{return $t(t,e)}catch(n){return null}}function Kt(t){for(var e=t.FullPaths||St(t.files),r=[],n=0;n<e.length;++n)"/"!=e[n].slice(-1)&&r.push(e[n].replace(/^Root Entry[\/]/,""));return r.sort()}function Zt(t,e,r){if(t.FullPaths){var n;if("string"==typeof r)return n=w?x(r):function(t){for(var e=[],r=0,n=t.length+250,i=O(t.length+255),o=0;o<t.length;++o){var a=t.charCodeAt(o);if(a<128)i[r++]=a;else if(a<2048)i[r++]=192|a>>6&31,i[r++]=128|63&a;else if(a>=55296&&a<57344){a=64+(1023&a);var s=1023&t.charCodeAt(++o);i[r++]=240|a>>8&7,i[r++]=128|a>>2&63,i[r++]=128|s>>6&15|(3&a)<<4,i[r++]=128|63&s}else i[r++]=224|a>>12&15,i[r++]=128|a>>6&63,i[r++]=128|63&a;r>n&&(e.push(i.slice(0,r)),r=0,i=O(65535),n=65530)}return e.push(i.slice(0,r)),M(e)}(r),Ot.utils.cfb_add(t,e,n);Ot.utils.cfb_add(t,e,r)}else t.file(e,r)}function Jt(t,e){switch(e.type){case"base64":return Ot.read(t,{type:"base64"});case"binary":return Ot.read(t,{type:"binary"});case"buffer":case"array":return Ot.read(t,{type:"buffer"})}throw new Error("Unrecognized type "+e.type)}function Qt(t,e){if("/"==t.charAt(0))return t.slice(1);var r=e.split("/");"/"!=e.slice(-1)&&r.pop();for(var n=t.split("/");0!==n.length;){var i=n.shift();".."===i?r.pop():"."!==i&&r.push(i)}return r.join("/")}var te='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ee=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,re=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,ne=te.match(re)?re:/<[^>]*>/g,ie=/<\w*:/,oe=/<(\/?)\w+:/;function ae(t,e,r){for(var n={},i=0,o=0;i!==t.length&&(32!==(o=t.charCodeAt(i))&&10!==o&&13!==o);++i);if(e||(n[0]=t.slice(0,i)),i===t.length)return n;var a=t.match(ee),s=0,c="",u=0,l="",f="",h=1;if(a)for(u=0;u!=a.length;++u){for(f=a[u],o=0;o!=f.length&&61!==f.charCodeAt(o);++o);for(l=f.slice(0,o).trim();32==f.charCodeAt(o+1);)++o;for(h=34==(i=f.charCodeAt(o+1))||39==i?1:0,c=f.slice(o+1+h,f.length-h),s=0;s!=l.length&&58!==l.charCodeAt(s);++s);if(s===l.length)l.indexOf("_")>0&&(l=l.slice(0,l.indexOf("_"))),n[l]=c,r||(n[l.toLowerCase()]=c);else{var d=(5===s&&"xmlns"===l.slice(0,5)?"xmlns":"")+l.slice(s+1);if(n[d]&&"ext"==l.slice(s-3,s))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function se(t){return t.replace(oe,"<$1")}var ce={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},ue=kt(ce),le=function(){var t=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,e=/_x([\da-fA-F]{4})_/gi;return function r(n){var i=n+"",o=i.indexOf("<![CDATA[");if(-1==o)return i.replace(t,(function(t,e){return ce[t]||String.fromCharCode(parseInt(e,t.indexOf("x")>-1?16:10))||t})).replace(e,(function(t,e){return String.fromCharCode(parseInt(e,16))}));var a=i.indexOf("]]>");return r(i.slice(0,o))+i.slice(o+9,a)+r(i.slice(a+3))}}(),fe=/[&<>'"]/g;var he=/[\u0000-\u001f]/g;function de(t){return(t+"").replace(fe,(function(t){return ue[t]})).replace(/\n/g,"<br/>").replace(he,(function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"}))}var pe=function(){var t=/&#(\d+);/g;function e(t,e){return String.fromCharCode(parseInt(e,10))}return function(r){return r.replace(t,e)}}();function me(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function be(t){for(var e="",r=0,n=0,i=0,o=0,a=0,s=0;r<t.length;)(n=t.charCodeAt(r++))<128?e+=String.fromCharCode(n):(i=t.charCodeAt(r++),n>191&&n<224?(a=(31&n)<<6,a|=63&i,e+=String.fromCharCode(a)):(o=t.charCodeAt(r++),n<240?e+=String.fromCharCode((15&n)<<12|(63&i)<<6|63&o):(s=((7&n)<<18|(63&i)<<12|(63&o)<<6|63&(a=t.charCodeAt(r++)))-65536,e+=String.fromCharCode(55296+(s>>>10&1023)),e+=String.fromCharCode(56320+(1023&s)))));return e}function ve(t){var e,r,n,i=O(2*t.length),o=1,a=0,s=0;for(r=0;r<t.length;r+=o)o=1,(n=t.charCodeAt(r))<128?e=n:n<224?(e=64*(31&n)+(63&t.charCodeAt(r+1)),o=2):n<240?(e=4096*(15&n)+64*(63&t.charCodeAt(r+1))+(63&t.charCodeAt(r+2)),o=3):(o=4,e=262144*(7&n)+4096*(63&t.charCodeAt(r+1))+64*(63&t.charCodeAt(r+2))+(63&t.charCodeAt(r+3)),s=55296+((e-=65536)>>>10&1023),e=56320+(1023&e)),0!==s&&(i[a++]=255&s,i[a++]=s>>>8,s=0),i[a++]=e%256,i[a++]=e>>>8;return i.slice(0,a).toString("ucs2")}function ge(t){return x(t,"binary").toString("utf8")}var ye="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",we=w&&(ge(ye)==be(ye)&&ge||ve(ye)==be(ye)&&ve)||be,xe=w?function(t){return x(t,"utf8").toString("binary")}:function(t){for(var e=[],r=0,n=0,i=0;r<t.length;)switch(n=t.charCodeAt(r++),!0){case n<128:e.push(String.fromCharCode(n));break;case n<2048:e.push(String.fromCharCode(192+(n>>6))),e.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,i=t.charCodeAt(r++)-56320+(n<<10),e.push(String.fromCharCode(240+(i>>18&7))),e.push(String.fromCharCode(144+(i>>12&63))),e.push(String.fromCharCode(128+(i>>6&63))),e.push(String.fromCharCode(128+(63&i)));break;default:e.push(String.fromCharCode(224+(n>>12))),e.push(String.fromCharCode(128+(n>>6&63))),e.push(String.fromCharCode(128+(63&n)))}return e.join("")},Oe=function(){var t={};return function(e,r){var n=e+"|"+(r||"");return t[n]?t[n]:t[n]=new RegExp("<(?:\\w+:)?"+e+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+e+">",r||"")}}(),_e=function(){var t=[["nbsp"," "],["middot","\xb7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]}));return function(e){for(var r=e.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<t.length;++n)r=r.replace(t[n][0],t[n][1]);return r}}(),Se=function(){var t={};return function(e){return void 0!==t[e]?t[e]:t[e]=new RegExp("<(?:vt:)?"+e+">([\\s\\S]*?)</(?:vt:)?"+e+">","g")}}(),ke=/<\/?(?:vt:)?variant>/g,Ee=/<(?:vt:)([^>]*)>([\s\S]*)</;function Me(t,e){var r=ae(t),n=t.match(Se(r.baseType))||[],i=[];if(n.length!=r.size){if(e.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return i}return n.forEach((function(t){var e=t.replace(ke,"").match(Ee);e&&i.push({v:we(e[2]),t:e[1]})})),i}var Ce=/(^\s|\s$|\n)/;function je(t){return St(t).map((function(e){return" "+e+'="'+t[e]+'"'})).join("")}function Ae(t,e,r){return"<"+t+(null!=r?je(r):"")+(null!=e?(e.match(Ce)?' xml:space="preserve"':"")+">"+e+"</"+t:"/")+">"}function Te(t){if(w&&Buffer.isBuffer(t))return t.toString("utf8");if("string"===typeof t)return t;if("undefined"!==typeof Uint8Array&&t instanceof Uint8Array)return we(k(E(t)));throw new Error("Bad input format: expected Buffer or string")}var Pe=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,De="http://schemas.openxmlformats.org/package/2006/content-types",Re=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var Le=function(t){for(var e=[],r=0;r<t[0].length;++r)if(t[0][r])for(var n=0,i=t[0][r].length;n<i;n+=10240)e.push.apply(e,t[0][r].slice(n,n+10240));return e},Ie=w?function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map((function(t){return Buffer.isBuffer(t)?t:x(t)}))):Le(t)}:Le,Ne=function(t,e,r){for(var n=[],i=e;i<r;i+=2)n.push(String.fromCharCode(ir(t,i)));return n.join("").replace(C,"")},Fe=w?function(t,e,r){return Buffer.isBuffer(t)?t.toString("utf16le",e,r).replace(C,""):Ne(t,e,r)}:Ne,Be=function(t,e,r){for(var n=[],i=e;i<e+r;++i)n.push(("0"+t[i].toString(16)).slice(-2));return n.join("")},ze=w?function(t,e,r){return Buffer.isBuffer(t)?t.toString("hex",e,e+r):Be(t,e,r)}:Be,He=function(t,e,r){for(var n=[],i=e;i<r;i++)n.push(String.fromCharCode(nr(t,i)));return n.join("")},Ue=w?function(t,e,r){return Buffer.isBuffer(t)?t.toString("utf8",e,r):He(t,e,r)}:He,We=function(t,e){var r=ar(t,e);return r>0?Ue(t,e+4,e+4+r-1):""},qe=We,Ve=function(t,e){var r=ar(t,e);return r>0?Ue(t,e+4,e+4+r-1):""},Ge=Ve,Ye=function(t,e){var r=2*ar(t,e);return r>0?Ue(t,e+4,e+4+r-1):""},Xe=Ye,$e=function(t,e){var r=ar(t,e);return r>0?Fe(t,e+4,e+4+r):""},Ke=$e,Ze=function(t,e){var r=ar(t,e);return r>0?Ue(t,e+4,e+4+r):""},Je=Ze,Qe=function(t,e){return function(t,e){for(var r=1-2*(t[e+7]>>>7),n=((127&t[e+7])<<4)+(t[e+6]>>>4&15),i=15&t[e+6],o=5;o>=0;--o)i=256*i+t[e+o];return 2047==n?0==i?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,i+=Math.pow(2,52)),r*Math.pow(2,n-52)*i)}(t,e)},tr=Qe,er=function(t){return Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array};function rr(){Fe=function(t,e,r){return d.utils.decode(1200,t.slice(e,r)).replace(C,"")},Ue=function(t,e,r){return d.utils.decode(65001,t.slice(e,r))},qe=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(o,t.slice(e+4,e+4+r-1)):""},Ge=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(i,t.slice(e+4,e+4+r-1)):""},Xe=function(t,e){var r=2*ar(t,e);return r>0?d.utils.decode(1200,t.slice(e+4,e+4+r-1)):""},Ke=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(1200,t.slice(e+4,e+4+r)):""},Je=function(t,e){var r=ar(t,e);return r>0?d.utils.decode(65001,t.slice(e+4,e+4+r)):""}}w&&(qe=function(t,e){if(!Buffer.isBuffer(t))return We(t,e);var r=t.readUInt32LE(e);return r>0?t.toString("utf8",e+4,e+4+r-1):""},Ge=function(t,e){if(!Buffer.isBuffer(t))return Ve(t,e);var r=t.readUInt32LE(e);return r>0?t.toString("utf8",e+4,e+4+r-1):""},Xe=function(t,e){if(!Buffer.isBuffer(t))return Ye(t,e);var r=2*t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+r-1)},Ke=function(t,e){if(!Buffer.isBuffer(t))return $e(t,e);var r=t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+r)},Je=function(t,e){if(!Buffer.isBuffer(t))return Ze(t,e);var r=t.readUInt32LE(e);return t.toString("utf8",e+4,e+4+r)},tr=function(t,e){return Buffer.isBuffer(t)?t.readDoubleLE(e):Qe(t,e)},er=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||"undefined"!==typeof Uint8Array&&t instanceof Uint8Array}),"undefined"!==typeof d&&rr();var nr=function(t,e){return t[e]},ir=function(t,e){return 256*t[e+1]+t[e]},or=function(t,e){var r=256*t[e+1]+t[e];return r<32768?r:-1*(65535-r+1)},ar=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},sr=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},cr=function(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]};function ur(t,e){var r,n,o,a,s,c,u="",l=[];switch(e){case"dbcs":if(c=this.l,w&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(s=0;s<t;++s)u+=String.fromCharCode(ir(this,c)),c+=2;t*=2;break;case"utf8":u=Ue(this,this.l,this.l+t);break;case"utf16le":t*=2,u=Fe(this,this.l,this.l+t);break;case"wstr":if("undefined"===typeof d)return ur.call(this,t,"dbcs");u=d.utils.decode(i,this.slice(this.l,this.l+2*t)),t*=2;break;case"lpstr-ansi":u=qe(this,this.l),t=4+ar(this,this.l);break;case"lpstr-cp":u=Ge(this,this.l),t=4+ar(this,this.l);break;case"lpwstr":u=Xe(this,this.l),t=4+2*ar(this,this.l);break;case"lpp4":t=4+ar(this,this.l),u=Ke(this,this.l),2&t&&(t+=2);break;case"8lpp4":t=4+ar(this,this.l),u=Je(this,this.l),3&t&&(t+=4-(3&t));break;case"cstr":for(t=0,u="";0!==(o=nr(this,this.l+t++));)l.push(m(o));u=l.join("");break;case"_wstr":for(t=0,u="";0!==(o=ir(this,this.l+t));)l.push(m(o)),t+=2;t+=2,u=l.join("");break;case"dbcs-cont":for(u="",c=this.l,s=0;s<t;++s){if(this.lens&&-1!==this.lens.indexOf(c))return o=nr(this,c),this.l=c+1,a=ur.call(this,t-s,o?"dbcs-cont":"sbcs-cont"),l.join("")+a;l.push(m(ir(this,c))),c+=2}u=l.join(""),t*=2;break;case"cpstr":if("undefined"!==typeof d){u=d.utils.decode(i,this.slice(this.l,this.l+t));break}case"sbcs-cont":for(u="",c=this.l,s=0;s!=t;++s){if(this.lens&&-1!==this.lens.indexOf(c))return o=nr(this,c),this.l=c+1,a=ur.call(this,t-s,o?"dbcs-cont":"sbcs-cont"),l.join("")+a;l.push(m(nr(this,c))),c+=1}u=l.join("");break;default:switch(t){case 1:return r=nr(this,this.l),this.l++,r;case 2:return r=("i"===e?or:ir)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===e||0===(128&this[this.l+3])?(r=(t>0?sr:cr)(this,this.l),this.l+=4,r):(n=ar(this,this.l),this.l+=4,n);case 8:case-8:if("f"===e)return n=8==t?tr(this,this.l):tr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;t=8;case 16:u=ze(this,this.l,t)}}return this.l+=t,u}var lr=function(t,e,r){t[r]=255&e,t[r+1]=e>>>8&255};function fr(t,e,r){var n=0,i=0;if("dbcs"===r){for(i=0;i!=e.length;++i)lr(this,e.charCodeAt(i),this.l+2*i);n=2*e.length}else if("sbcs"===r){if("undefined"!==typeof d&&874==o)for(i=0;i!=e.length;++i){var a=d.utils.encode(o,e.charAt(i));this[this.l+i]=a[0]}else for(e=e.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=e.length;++i)this[this.l+i]=255&e.charCodeAt(i);n=e.length}else{if("hex"===r){for(;i<t;++i)this[this.l++]=parseInt(e.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===r){var s=Math.min(this.l+t,this.length);for(i=0;i<Math.min(e.length,t);++i){var c=e.charCodeAt(i);this[this.l++]=255&c,this[this.l++]=c>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(t){case 1:n=1,this[this.l]=255&e;break;case 2:n=2,this[this.l]=255&e,e>>>=8,this[this.l+1]=255&e;break;case 3:n=3,this[this.l]=255&e,e>>>=8,this[this.l+1]=255&e,e>>>=8,this[this.l+2]=255&e;break;case 4:n=4,function(t,e,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24&255}(this,e,this.l);break;case 8:if(n=8,"f"===r){!function(t,e,r){var n=(e<0||1/e==-1/0?1:0)<<7,i=0,o=0,a=n?-e:e;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?i=-1022:(o-=Math.pow(2,52),i+=1023)):(i=2047,o=isNaN(e)?26985:0);for(var s=0;s<=5;++s,o/=256)t[r+s]=255&o;t[r+6]=(15&i)<<4|15&o,t[r+7]=i>>4|n}(this,e,this.l);break}case 16:break;case-4:n=4,function(t,e,r){t[r]=255&e,t[r+1]=e>>8&255,t[r+2]=e>>16&255,t[r+3]=e>>24&255}(this,e,this.l)}}return this.l+=n,this}function hr(t,e){var r=ze(this,this.l,t.length>>1);if(r!==t)throw new Error(e+"Expected "+t+" saw "+r);this.l+=t.length>>1}function dr(t,e){t.l=e,t.read_shift=ur,t.chk=hr,t.write_shift=fr}function pr(t,e){t.l+=e}function mr(t){var e=O(t);return dr(e,0),e}function br(t,e,r){if(t){var n,i,o;dr(t,t.l||0);for(var a=t.length,s=0,c=0;t.l<a;){128&(s=t.read_shift(1))&&(s=(127&s)+((127&t.read_shift(1))<<7));var u=Ss[s]||Ss[65535];for(o=127&(n=t.read_shift(1)),i=1;i<4&&128&n;++i)o+=(127&(n=t.read_shift(1)))<<7*i;c=t.l+o;var l=u.f&&u.f(t,o,r);if(t.l=c,e(l,u,s))return}}}function vr(){var t=[],e=w?256:2048,r=function(t){var e=mr(t);return dr(e,0),e},n=r(e),i=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&t.push(n),n=null)},o=function(t){return n&&t<n.length-n.l?n:(i(),n=r(Math.max(t+1,e)))};return{next:o,push:function(t){i(),null==(n=t).l&&(n.l=n.length),o(e)},end:function(){return i(),M(t)},_bufs:t}}function gr(t,e,r){var n=Ft(t);if(e.s?(n.cRel&&(n.c+=e.s.c),n.rRel&&(n.r+=e.s.r)):(n.cRel&&(n.c+=e.c),n.rRel&&(n.r+=e.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function yr(t,e,r){var n=Ft(t);return n.s=gr(n.s,e.s,r),n.e=gr(n.e,e.s,r),n}function wr(t,e){if(t.cRel&&t.c<0)for(t=Ft(t);t.c<0;)t.c+=e>8?16384:256;if(t.rRel&&t.r<0)for(t=Ft(t);t.r<0;)t.r+=e>8?1048576:e>5?65536:16384;var r=Mr(t);return t.cRel||null==t.cRel||(r=r.replace(/^([A-Z])/,"$$$1")),t.rRel||null==t.rRel||(r=function(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function xr(t,e){return 0!=t.s.r||t.s.rRel||t.e.r!=(e.biff>=12?1048575:e.biff>=8?65536:16384)||t.e.rRel?0!=t.s.c||t.s.cRel||t.e.c!=(e.biff>=12?16383:255)||t.e.cRel?wr(t.s,e.biff)+":"+wr(t.e,e.biff):(t.s.rRel?"":"$")+_r(t.s.r)+":"+(t.e.rRel?"":"$")+_r(t.e.r):(t.s.cRel?"":"$")+kr(t.s.c)+":"+(t.e.cRel?"":"$")+kr(t.e.c)}function Or(t){return parseInt(t.replace(/\$(\d+)$/,"$1"),10)-1}function _r(t){return""+(t+1)}function Sr(t){for(var e=t.replace(/^\$([A-Z])/,"$1"),r=0,n=0;n!==e.length;++n)r=26*r+e.charCodeAt(n)-64;return r-1}function kr(t){if(t<0)throw new Error("invalid column "+t);var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function Er(t){for(var e=0,r=0,n=0;n<t.length;++n){var i=t.charCodeAt(n);i>=48&&i<=57?e=10*e+(i-48):i>=65&&i<=90&&(r=26*r+(i-64))}return{c:r-1,r:e-1}}function Mr(t){for(var e=t.c+1,r="";e;e=(e-1)/26|0)r=String.fromCharCode((e-1)%26+65)+r;return r+(t.r+1)}function Cr(t){var e=t.indexOf(":");return-1==e?{s:Er(t),e:Er(t)}:{s:Er(t.slice(0,e)),e:Er(t.slice(e+1))}}function jr(t,e){return"undefined"===typeof e||"number"===typeof e?jr(t.s,t.e):("string"!==typeof t&&(t=Mr(t)),"string"!==typeof e&&(e=Mr(e)),t==e?t:t+":"+e)}function Ar(t){var e={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,i=0,o=t.length;for(r=0;n<o&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.s.c=--r,r=0;n<o&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;if(e.s.r=--r,n===o||10!=i)return e.e.c=e.s.c,e.e.r=e.s.r,e;for(++n,r=0;n!=o&&!((i=t.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(e.e.c=--r,r=0;n!=o&&!((i=t.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;return e.e.r=--r,e}function Tr(t,e){var r="d"==t.t&&e instanceof Date;if(null!=t.z)try{return t.w=bt(t.z,r?Mt(e):e)}catch(n){}try{return t.w=bt((t.XF||{}).numFmtId||(r?14:0),r?Mt(e):e)}catch(n){return""+e}}function Pr(t,e,r){return null==t||null==t.t||"z"==t.t?"":void 0!==t.w?t.w:("d"==t.t&&!t.z&&r&&r.dateNF&&(t.z=r.dateNF),"e"==t.t?on[t.v]||t.v:Tr(t,void 0==e?t.v:e))}function Dr(t,e){var r=e&&e.sheet?e.sheet:"Sheet1",n={};return n[r]=t,{SheetNames:[r],Sheets:n}}function Rr(t,e,r){var n=r||{},i=t?Array.isArray(t):n.dense;var o=t||(i?[]:{}),a=0,s=0;if(o&&null!=n.origin){if("number"==typeof n.origin)a=n.origin;else{var c="string"==typeof n.origin?Er(n.origin):n.origin;a=c.r,s=c.c}o["!ref"]||(o["!ref"]="A1:A1")}var u={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var l=Ar(o["!ref"]);u.s.c=l.s.c,u.s.r=l.s.r,u.e.c=Math.max(u.e.c,l.e.c),u.e.r=Math.max(u.e.r,l.e.r),-1==a&&(u.e.r=a=l.e.r+1)}for(var f=0;f!=e.length;++f)if(e[f]){if(!Array.isArray(e[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=e[f].length;++h)if("undefined"!==typeof e[f][h]){var d={v:e[f][h]},p=a+f,m=s+h;if(u.s.r>p&&(u.s.r=p),u.s.c>m&&(u.s.c=m),u.e.r<p&&(u.e.r=p),u.e.c<m&&(u.e.c=m),!e[f][h]||"object"!==typeof e[f][h]||Array.isArray(e[f][h])||e[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=e[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else{if(!n.sheetStubs)continue;d.t="z"}else"number"===typeof d.v?d.t="n":"boolean"===typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||B[14],n.cellDates?(d.t="d",d.w=bt(d.z,Mt(d.v))):(d.t="n",d.v=Mt(d.v),d.w=bt(d.z,d.v))):d.t="s";else d=e[f][h];if(i)o[p]||(o[p]=[]),o[p][m]&&o[p][m].z&&(d.z=o[p][m].z),o[p][m]=d;else{var b=Mr({c:m,r:p});o[b]&&o[b].z&&(d.z=o[b].z),o[b]=d}}}return u.s.c<1e7&&(o["!ref"]=jr(u)),o}function Lr(t,e){return Rr(null,t,e)}function Ir(t){var e=t.read_shift(4);return 0===e?"":t.read_shift(e,"dbcs")}function Nr(t){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function Fr(t,e){var r=t.l,n=t.read_shift(1),i=Ir(t),o=[],a={t:i,h:i};if(0!==(1&n)){for(var s=t.read_shift(4),c=0;c!=s;++c)o.push(Nr(t));a.r=o}else a.r=[{ich:0,ifnt:0}];return t.l=r+e,a}var Br=Fr;function zr(t){var e=t.read_shift(4),r=t.read_shift(2);return r+=t.read_shift(1)<<16,t.l++,{c:e,iStyleRef:r}}function Hr(t){var e=t.read_shift(2);return e+=t.read_shift(1)<<16,t.l++,{c:-1,iStyleRef:e}}var Ur=Ir;function Wr(t){var e=t.read_shift(4);return 0===e||4294967295===e?"":t.read_shift(e,"dbcs")}var qr=Ir,Vr=Wr;function Gr(t){var e=t.slice(t.l,t.l+4),r=1&e[0],n=2&e[0];t.l+=4;var i=0===n?tr([0,0,0,0,252&e[0],e[1],e[2],e[3]],0):sr(e,0)>>2;return r?i/100:i}function Yr(t){var e={s:{},e:{}};return e.s.r=t.read_shift(4),e.e.r=t.read_shift(4),e.s.c=t.read_shift(4),e.e.c=t.read_shift(4),e}var Xr=Yr;function $r(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function Kr(t,e){var r=t.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[t.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return t.l-=4,t.read_shift(0,1==e?"lpstr":"lpwstr")}var Zr=[80,81],Jr={1:{n:"CodePage",t:2},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Qr={1:{n:"CodePage",t:2},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},tn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},en=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function rn(t){return t.map((function(t){return[t>>16&255,t>>8&255,255&t]}))}var nn=Ft(rn([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),on={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},an={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},sn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};var cn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function un(t){var e=t.lastIndexOf("/");return t.slice(0,e+1)+"_rels/"+t.slice(e+1)+".rels"}function ln(t,e){var r={"!id":{}};if(!t)return r;"/"!==e.charAt(0)&&(e="/"+e);var n={};return(t.match(ne)||[]).forEach((function(t){var i=ae(t);if("<Relationship"===i[0]){var o={};o.Type=i.Type,o.Target=i.Target,o.Id=i.Id,i.TargetMode&&(o.TargetMode=i.TargetMode);var a="External"===i.TargetMode?i.Target:Qt(i.Target,e);r[a]=o,n[i.Id]=o}})),r["!id"]=n,r}var fn=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],hn=function(){for(var t=new Array(fn.length),e=0;e<fn.length;++e){var r=fn[e],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);t[e]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return t}();function dn(t){var e={};t=we(t);for(var r=0;r<fn.length;++r){var n=fn[r],i=t.match(hn[r]);null!=i&&i.length>0&&(e[n[1]]=le(i[1])),"date"===n[2]&&e[n[1]]&&(e[n[1]]=It(e[n[1]]))}return e}var pn=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function mn(t,e,r,n){var i=[];if("string"==typeof t)i=Me(t,n);else for(var o=0;o<t.length;++o)i=i.concat(t[o].map((function(t){return{v:t}})));var a="string"==typeof e?Me(e,n).map((function(t){return t.v})):e,s=0,c=0;if(a.length>0)for(var u=0;u!==i.length;u+=2){switch(c=+i[u+1].v,i[u].v){case"Worksheets":case"\u5de5\u4f5c\u8868":case"\u041b\u0438\u0441\u0442\u044b":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30ef\u30fc\u30af\u30b7\u30fc\u30c8":case"\u05d2\u05dc\u05d9\u05d5\u05e0\u05d5\u05ea \u05e2\u05d1\u05d5\u05d3\u05d4":case"Arbeitsbl\xe4tter":case"\xc7al\u0131\u015fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xe1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xe1lculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=a.slice(s,s+c);break;case"Named Ranges":case"Rangos con nombre":case"\u540d\u524d\u4ed8\u304d\u4e00\u89a7":case"Benannte Bereiche":case"Navngivne omr\xe5der":r.NamedRanges=c,r.DefinedNames=a.slice(s,s+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=a.slice(s,s+c)}s+=c}}var bn=/<[^>]+>[^<]*/g;var vn,gn={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function yn(t,e,r){vn||(vn=kt(gn)),t[e=vn[e]||e]=r}function wn(t){var e=t.read_shift(4),r=t.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+e/1e7-11644473600)).toISOString().replace(/\.000/,"")}function xn(t,e,r){var n=t.l,i=t.read_shift(0,"lpstr-cp");if(r)for(;t.l-n&3;)++t.l;return i}function On(t,e,r){var n=t.read_shift(0,"lpwstr");return r&&(t.l+=4-(n.length+1&3)&3),n}function _n(t,e,r){return 31===e?On(t):xn(t,0,r)}function Sn(t,e,r){return _n(t,e,!1===r?0:4)}function kn(t){var e=t.l,r=Cn(t,81);return 0==t[t.l]&&0==t[t.l+1]&&t.l-e&2&&(t.l+=2),[r,Cn(t,3)]}function En(t,e){for(var r=t.read_shift(4),n={},i=0;i!=r;++i){var o=t.read_shift(4),a=t.read_shift(4);n[o]=t.read_shift(a,1200===e?"utf16le":"utf8").replace(C,"").replace(j,"!"),1200===e&&a%2&&(t.l+=2)}return 3&t.l&&(t.l=t.l>>3<<2),n}function Mn(t){var e=t.read_shift(4),r=t.slice(t.l,t.l+e);return t.l+=e,(3&e)>0&&(t.l+=4-(3&e)&3),r}function Cn(t,e,r){var n,i=t.read_shift(2),o=r||{};if(t.l+=2,12!==e&&i!==e&&-1===Zr.indexOf(e)&&(4126!=(65534&e)||4126!=(65534&i)))throw new Error("Expected type "+e+" saw "+i);switch(12===e?i:e){case 2:return n=t.read_shift(2,"i"),o.raw||(t.l+=2),n;case 3:return n=t.read_shift(4,"i");case 11:return 0!==t.read_shift(4);case 19:return n=t.read_shift(4);case 30:return xn(t,0,4).replace(C,"");case 31:return On(t);case 64:return wn(t);case 65:return Mn(t);case 71:return function(t){var e={};return e.Size=t.read_shift(4),t.l+=e.Size+3-(e.Size-1)%4,e}(t);case 80:return Sn(t,i,!o.raw).replace(C,"");case 81:return function(t,e){if(!e)throw new Error("VtUnalignedString must have positive length");return _n(t,e,0)}(t,i).replace(C,"");case 4108:return function(t){for(var e=t.read_shift(4),r=[],n=0;n<e/2;++n)r.push(kn(t));return r}(t);case 4126:case 4127:return 4127==i?function(t){for(var e=t.read_shift(4),r=[],n=0;n!=e;++n){var i=t.l;r[n]=t.read_shift(0,"lpwstr").replace(C,""),t.l-i&2&&(t.l+=2)}return r}(t):function(t){for(var e=t.read_shift(4),r=[],n=0;n!=e;++n)r[n]=t.read_shift(0,"lpstr-cp").replace(C,"");return r}(t);default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+i)}}function jn(t,e){var r=t.l,n=t.read_shift(4),i=t.read_shift(4),o=[],a=0,s=0,c=-1,l={};for(a=0;a!=i;++a){var f=t.read_shift(4),h=t.read_shift(4);o[a]=[f,h+r]}o.sort((function(t,e){return t[1]-e[1]}));var d={};for(a=0;a!=i;++a){if(t.l!==o[a][1]){var p=!0;if(a>0&&e)switch(e[o[a-1][0]].t){case 2:t.l+2===o[a][1]&&(t.l+=2,p=!1);break;case 80:case 4108:t.l<=o[a][1]&&(t.l=o[a][1],p=!1)}if((!e||0==a)&&t.l<=o[a][1]&&(p=!1,t.l=o[a][1]),p)throw new Error("Read Error: Expected address "+o[a][1]+" at "+t.l+" :"+a)}if(e){var m=e[o[a][0]];if(d[m.n]=Cn(t,m.t,{raw:!0}),"version"===m.p&&(d[m.n]=String(d[m.n]>>16)+"."+("0000"+String(65535&d[m.n])).slice(-4)),"CodePage"==m.n)switch(d[m.n]){case 0:d[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:u(s=d[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[m.n])}}else if(1===o[a][0]){if(s=d.CodePage=Cn(t,2),u(s),-1!==c){var b=t.l;t.l=o[c][1],l=En(t,s),t.l=b}}else if(0===o[a][0]){if(0===s){c=a,t.l=o[a+1][1];continue}l=En(t,s)}else{var v,g=l[o[a][0]];switch(t[t.l]){case 65:t.l+=4,v=Mn(t);break;case 30:case 31:t.l+=4,v=Sn(t,t[t.l-4]).replace(/\u0000+$/,"");break;case 3:t.l+=4,v=t.read_shift(4,"i");break;case 19:t.l+=4,v=t.read_shift(4);break;case 5:t.l+=4,v=t.read_shift(8,"f");break;case 11:t.l+=4,v=Pn(t,4);break;case 64:t.l+=4,v=It(wn(t));break;default:throw new Error("unparsed value: "+t[t.l])}d[g]=v}}return t.l=r+n,d}function An(t,e,r){var n=t.content;if(!n)return{};dr(n,0);var i,o,a,s,c=0;n.chk("feff","Byte Order: "),n.read_shift(2);var u=n.read_shift(4),l=n.read_shift(16);if(l!==Ot.utils.consts.HEADER_CLSID&&l!==r)throw new Error("Bad PropertySet CLSID "+l);if(1!==(i=n.read_shift(4))&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(o=n.read_shift(16),s=n.read_shift(4),1===i&&s!==n.l)throw new Error("Length mismatch: "+s+" !== "+n.l);2===i&&(a=n.read_shift(16),c=n.read_shift(4));var f,h=jn(n,e),d={SystemIdentifier:u};for(var p in h)d[p]=h[p];if(d.FMTID=o,1===i)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{f=jn(n,null)}catch(m){}for(p in f)d[p]=f[p];return d.FMTID=[o,a],d}function Tn(t,e){return t.read_shift(e),null}function Pn(t,e){return 1===t.read_shift(e)}function Dn(t){return t.read_shift(2,"u")}function Rn(t,e){return function(t,e,r){for(var n=[],i=t.l+e;t.l<i;)n.push(r(t,i-t.l));if(i!==t.l)throw new Error("Slurp error");return n}(t,e,Dn)}function Ln(t,e,r){var n=t.read_shift(r&&r.biff>=12?2:1),o="sbcs-cont",a=i;(r&&r.biff>=8&&(i=1200),r&&8!=r.biff)?12==r.biff&&(o="wstr"):t.read_shift(1)&&(o="dbcs-cont");r.biff>=2&&r.biff<=5&&(o="cpstr");var s=n?t.read_shift(n,o):"";return i=a,s}function In(t){var e=i;i=1200;var r,n=t.read_shift(2),o=t.read_shift(1),a=4&o,s=8&o,c=1+(1&o),u=0,l={};s&&(u=t.read_shift(2)),a&&(r=t.read_shift(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===n?"":t.read_shift(n,f);return s&&(t.l+=4*u),a&&(t.l+=r),l.t=h,s||(l.raw="<t>"+l.t+"</t>",l.r=l.t),i=e,l}function Nn(t,e,r){if(r){if(r.biff>=2&&r.biff<=5)return t.read_shift(e,"cpstr");if(r.biff>=12)return t.read_shift(e,"dbcs-cont")}return 0===t.read_shift(1)?t.read_shift(e,"sbcs-cont"):t.read_shift(e,"dbcs-cont")}function Fn(t,e,r){var n=t.read_shift(r&&2==r.biff?1:2);return 0===n?(t.l++,""):Nn(t,n,r)}function Bn(t,e,r){if(r.biff>5)return Fn(t,0,r);var n=t.read_shift(1);return 0===n?(t.l++,""):t.read_shift(n,r.biff<=4||!t.lens?"cpstr":"sbcs-cont")}function zn(t,e){var r=t.read_shift(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(t){var e=t.read_shift(4),r=t.l,n=!1;e>24&&(t.l+=e-24,"795881f43b1d7f48af2c825dc4852763"===t.read_shift(16)&&(n=!0),t.l=r);var i=t.read_shift((n?e-24:e)>>1,"utf16le").replace(C,"");return n&&(t.l+=24),i}(t);case"0303000000000000c000000000000046":return function(t){for(var e=t.read_shift(2),r="";e-- >0;)r+="../";var n=t.read_shift(0,"lpstr-ansi");if(t.l+=2,57005!=t.read_shift(2))throw new Error("Bad FileMoniker");if(0===t.read_shift(4))return r+n.replace(/\\/g,"/");var i=t.read_shift(4);if(3!=t.read_shift(2))throw new Error("Bad FileMoniker");return r+t.read_shift(i>>1,"utf16le").replace(C,"")}(t);default:throw new Error("Unsupported Moniker "+r)}}function Hn(t){var e=t.read_shift(4);return e>0?t.read_shift(e,"utf16le").replace(C,""):""}function Un(t){return[t.read_shift(1),t.read_shift(1),t.read_shift(1),t.read_shift(1)]}function Wn(t,e){var r=Un(t);return r[3]=0,r}function qn(t){return{r:t.read_shift(2),c:t.read_shift(2),ixfe:t.read_shift(2)}}function Vn(t,e,r){var n=r.biff>8?4:2;return[t.read_shift(n),t.read_shift(n,"i"),t.read_shift(n,"i")]}function Gn(t){return[t.read_shift(2),Gr(t)]}function Yn(t){var e=t.read_shift(2),r=t.read_shift(2);return{s:{c:t.read_shift(2),r:e},e:{c:t.read_shift(2),r:r}}}function Xn(t){var e=t.read_shift(2),r=t.read_shift(2);return{s:{c:t.read_shift(1),r:e},e:{c:t.read_shift(1),r:r}}}var $n=Xn;function Kn(t){t.l+=4;var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(2);return t.l+=12,[r,e,n]}function Zn(t){t.l+=2,t.l+=t.read_shift(2)}var Jn={0:Zn,4:Zn,5:Zn,6:Zn,7:function(t){return t.l+=4,t.cf=t.read_shift(2),{}},8:Zn,9:Zn,10:Zn,11:Zn,12:Zn,13:function(t){var e={};return t.l+=4,t.l+=16,e.fSharedNote=t.read_shift(2),t.l+=4,e},14:Zn,15:Zn,16:Zn,17:Zn,18:Zn,19:Zn,20:Zn,21:Kn};function Qn(t,e){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=t.read_shift(2),(e-=2)>=2&&(r.dt=t.read_shift(2),t.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(e>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return t.read_shift(e),r}function ti(t,e,r){var n=0;r&&2==r.biff||(n=t.read_shift(2));var i=t.read_shift(2);return r&&2==r.biff&&(n=1-(i>>15),i&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},i]}var ei=Bn;function ri(t,e,r){var n=t.l+e,i=8!=r.biff&&r.biff?2:4,o=t.read_shift(i),a=t.read_shift(i),s=t.read_shift(2),c=t.read_shift(2);return t.l=n,{s:{r:o,c:s},e:{r:a,c:c}}}function ni(t,e,r){var n=qn(t);2!=r.biff&&9!=e||++t.l;var i=function(t){var e=t.read_shift(1);return 1===t.read_shift(1)?e:1===e}(t);return n.val=i,n.t=!0===i||!1===i?"b":"e",n}var ii=function(t,e,r){return 0===e?"":Bn(t,0,r)};function oi(t,e,r){var n,i=t.read_shift(2),o={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===r.sbcch&&(n=function(t,e,r){t.l+=4,e-=4;var n=t.l+e,i=Ln(t,0,r),o=t.read_shift(2);if(o!==(n-=t.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+o);return t.l+=o,i}(t,e-2,r)),o.body=n||t.read_shift(e-2),"string"===typeof n&&(o.Name=n),o}var ai=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function si(t,e,r){var n=t.l+e,i=t.read_shift(2),o=t.read_shift(1),a=t.read_shift(1),s=t.read_shift(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(t.l+=2),c=t.read_shift(2),5==r.biff&&(t.l+=2),t.l+=4);var u=Nn(t,a,r);32&i&&(u=ai[u.charCodeAt(0)]);var l=n-t.l;return r&&2==r.biff&&--l,{chKey:o,Name:u,itab:c,rgce:n!=t.l&&0!==s&&l>0?function(t,e,r,n){var i,o=t.l+e,a=$o(t,n,r);o!==t.l&&(i=Xo(t,o-t.l,a,r));return[a,i]}(t,l,r,s):[]}}function ci(t,e,r){if(r.biff<8)return function(t,e,r){3==t[t.l+1]&&t[t.l]++;var n=Ln(t,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(t,0,r);for(var n=[],i=t.l+e,o=t.read_shift(r.biff>8?4:2);0!==o--;)n.push(Vn(t,r.biff,r));if(t.l!=i)throw new Error("Bad ExternSheet: "+t.l+" != "+i);return n}function ui(t,e,r){var n=$n(t,6);switch(r.biff){case 2:t.l++,e-=7;break;case 3:case 4:t.l+=2,e-=8;break;default:t.l+=6,e-=12}return[n,ea(t,e,r)]}var li={8:function(t,e){var r=t.l+e;t.l+=10;var n=t.read_shift(2);t.l+=4,t.l+=2,t.l+=2,t.l+=2,t.l+=4;var i=t.read_shift(1);return t.l+=i,t.l=r,{fmt:n}}};function fi(t,e,r){if(!r.cellStyles)return pr(t,e);var n=r&&r.biff>=12?4:2,i=t.read_shift(n),o=t.read_shift(n),a=t.read_shift(n),s=t.read_shift(n),c=t.read_shift(2);2==n&&(t.l+=2);var u={s:i,e:o,w:a,ixfe:s,flags:c};return(r.biff>=5||!r.biff)&&(u.level=c>>8&7),u}var hi=qn,di=Rn,pi=Fn;var mi=[2,3,48,49,131,139,140,245],bi=function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},e=kt({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(e,r){var n=r||{};n.dateNF||(n.dateNF="yyyymmdd");var i=Lr(function(e,r){var n=[],i=O(1);switch(r.type){case"base64":i=S(y(e));break;case"binary":i=S(e);break;case"buffer":case"array":i=e}dr(i,0);var o=i.read_shift(1),a=!!(136&o),s=!1,c=!1;switch(o){case 2:case 3:break;case 48:case 49:s=!0,a=!0;break;case 131:case 139:break;case 140:c=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var u=0,l=521;2==o&&(u=i.read_shift(2)),i.l+=3,2!=o&&(u=i.read_shift(4)),u>1048576&&(u=1e6),2!=o&&(l=i.read_shift(2));var f=i.read_shift(2),h=r.codepage||1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(h=t[i[i.l]]),i.l+=1,i.l+=2),c&&(i.l+=36);for(var p=[],m={},b=Math.min(i.length,2==o?521:l-10-(s?264:0)),v=c?32:11;i.l<b&&13!=i[i.l];)switch((m={}).name=d.utils.decode(h,i.slice(i.l,i.l+v)).replace(/[\u0000\r\n].*$/g,""),i.l+=v,m.type=String.fromCharCode(i.read_shift(1)),2==o||c||(m.offset=i.read_shift(4)),m.len=i.read_shift(1),2==o&&(m.offset=i.read_shift(2)),m.dec=i.read_shift(1),m.name.length&&p.push(m),2!=o&&(i.l+=c?13:14),m.type){case"B":s&&8==m.len||!r.WTF||console.log("Skipping "+m.name+":"+m.type);break;case"G":case"P":r.WTF&&console.log("Skipping "+m.name+":"+m.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+m.type)}if(13!==i[i.l]&&(i.l=l-1),13!==i.read_shift(1))throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=l;var g=0,w=0;for(n[0]=[],w=0;w!=p.length;++w)n[0][w]=p[w].name;for(;u-- >0;)if(42!==i[i.l])for(++i.l,n[++g]=[],w=0,w=0;w!=p.length;++w){var x=i.slice(i.l,i.l+p[w].len);i.l+=p[w].len,dr(x,0);var _=d.utils.decode(h,x);switch(p[w].type){case"C":_.trim().length&&(n[g][w]=_.replace(/\s+$/,""));break;case"D":8===_.length?n[g][w]=new Date(+_.slice(0,4),+_.slice(4,6)-1,+_.slice(6,8)):n[g][w]=_;break;case"F":n[g][w]=parseFloat(_.trim());break;case"+":case"I":n[g][w]=c?2147483648^x.read_shift(-4,"i"):x.read_shift(4,"i");break;case"L":switch(_.trim().toUpperCase()){case"Y":case"T":n[g][w]=!0;break;case"N":case"F":n[g][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+_+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));n[g][w]="##MEMO##"+(c?parseInt(_.trim(),10):x.read_shift(4));break;case"N":(_=_.replace(/\u0000/g,"").trim())&&"."!=_&&(n[g][w]=+_||0);break;case"@":n[g][w]=new Date(x.read_shift(-8,"f")-621356832e5);break;case"T":n[g][w]=new Date(864e5*(x.read_shift(4)-2440588)+x.read_shift(4));break;case"Y":n[g][w]=x.read_shift(4,"i")/1e4+x.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":n[g][w]=-x.read_shift(-8,"f");break;case"B":if(s&&8==p[w].len){n[g][w]=x.read_shift(8,"f");break}case"G":case"P":x.l+=p[w].len;break;case"0":if("_NullFlags"===p[w].name)break;default:throw new Error("DBF Unsupported data type "+p[w].type)}}else i.l+=f;if(2!=o&&i.l<i.length&&26!=i[i.l++])throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));return r&&r.sheetRows&&(n=n.slice(0,r.sheetRows)),r.DBF=p,n}(e,n),n);return i["!cols"]=n.DBF.map((function(t){return{wch:t.len,DBF:t}})),delete n.DBF,i}var n={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(t,e){try{return Dr(r(t,e),e)}catch(n){if(e&&e.WTF)throw n}return{SheetNames:[],Sheets:{}}},to_sheet:r,from_sheet:function(t,r){var i=r||{};if(+i.codepage>=0&&u(+i.codepage),"string"==i.type)throw new Error("Cannot write DBF to JS string");var a=vr(),s=bc(t,{header:1,raw:!0,cellDates:!0}),c=s[0],l=s.slice(1),f=t["!cols"]||[],h=0,d=0,p=0,m=1;for(h=0;h<c.length;++h)if(((f[h]||{}).DBF||{}).name)c[h]=f[h].DBF.name,++p;else if(null!=c[h]){if(++p,"number"===typeof c[h]&&(c[h]=c[h].toString(10)),"string"!==typeof c[h])throw new Error("DBF Invalid column name "+c[h]+" |"+typeof c[h]+"|");if(c.indexOf(c[h])!==h)for(d=0;d<1024;++d)if(-1==c.indexOf(c[h]+"_"+d)){c[h]+="_"+d;break}}var b=Ar(t["!ref"]),v=[],g=[],y=[];for(h=0;h<=b.e.c-b.s.c;++h){var w="",x="",O=0,_=[];for(d=0;d<l.length;++d)null!=l[d][h]&&_.push(l[d][h]);if(0!=_.length&&null!=c[h]){for(d=0;d<_.length;++d){switch(typeof _[d]){case"number":x="B";break;case"string":x="C";break;case"boolean":x="L";break;case"object":x=_[d]instanceof Date?"D":"C";break;default:x="C"}O=Math.max(O,String(_[d]).length),w=w&&w!=x?"C":x}O>250&&(O=250),"C"==(x=((f[h]||{}).DBF||{}).type)&&f[h].DBF.len>O&&(O=f[h].DBF.len),"B"==w&&"N"==x&&(w="N",y[h]=f[h].DBF.dec,O=f[h].DBF.len),g[h]="C"==w||"N"==x?O:n[w]||0,m+=g[h],v[h]=w}else v[h]="?"}var S=a.next(32);for(S.write_shift(4,318902576),S.write_shift(4,l.length),S.write_shift(2,296+32*p),S.write_shift(2,m),h=0;h<4;++h)S.write_shift(4,0);for(S.write_shift(4,0|(+e[o]||3)<<8),h=0,d=0;h<c.length;++h)if(null!=c[h]){var k=a.next(32),E=(c[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);k.write_shift(1,E,"sbcs"),k.write_shift(1,"?"==v[h]?"C":v[h],"sbcs"),k.write_shift(4,d),k.write_shift(1,g[h]||n[v[h]]||0),k.write_shift(1,y[h]||0),k.write_shift(1,2),k.write_shift(4,0),k.write_shift(1,0),k.write_shift(4,0),k.write_shift(4,0),d+=g[h]||n[v[h]]||0}var M=a.next(264);for(M.write_shift(4,13),h=0;h<65;++h)M.write_shift(4,0);for(h=0;h<l.length;++h){var C=a.next(m);for(C.write_shift(1,0),d=0;d<c.length;++d)if(null!=c[d])switch(v[d]){case"L":C.write_shift(1,null==l[h][d]?63:l[h][d]?84:70);break;case"B":C.write_shift(8,l[h][d]||0,"f");break;case"N":var j="0";for("number"==typeof l[h][d]&&(j=l[h][d].toFixed(y[d]||0)),p=0;p<g[d]-j.length;++p)C.write_shift(1,32);C.write_shift(1,j,"sbcs");break;case"D":l[h][d]?(C.write_shift(4,("0000"+l[h][d].getFullYear()).slice(-4),"sbcs"),C.write_shift(2,("00"+(l[h][d].getMonth()+1)).slice(-2),"sbcs"),C.write_shift(2,("00"+l[h][d].getDate()).slice(-2),"sbcs")):C.write_shift(8,"00000000","sbcs");break;case"C":var A=String(null!=l[h][d]?l[h][d]:"").slice(0,g[d]);for(C.write_shift(1,A,"sbcs"),p=0;p<g[d]-A.length;++p)C.write_shift(1,32)}}return a.next(1).write_shift(1,26),a.end()}}}(),vi=function(){var t={AA:"\xc0",BA:"\xc1",CA:"\xc2",DA:195,HA:"\xc4",JA:197,AE:"\xc8",BE:"\xc9",CE:"\xca",HE:"\xcb",AI:"\xcc",BI:"\xcd",CI:"\xce",HI:"\xcf",AO:"\xd2",BO:"\xd3",CO:"\xd4",DO:213,HO:"\xd6",AU:"\xd9",BU:"\xda",CU:"\xdb",HU:"\xdc",Aa:"\xe0",Ba:"\xe1",Ca:"\xe2",Da:227,Ha:"\xe4",Ja:229,Ae:"\xe8",Be:"\xe9",Ce:"\xea",He:"\xeb",Ai:"\xec",Bi:"\xed",Ci:"\xee",Hi:"\xef",Ao:"\xf2",Bo:"\xf3",Co:"\xf4",Do:245,Ho:"\xf6",Au:"\xf9",Bu:"\xfa",Cu:"\xfb",Hu:"\xfc",KC:"\xc7",Kc:"\xe7",q:"\xe6",z:"\u0153",a:"\xc6",j:"\u0152",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},e=new RegExp("\x1bN("+St(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(e,r){var n=t[r];return"number"==typeof n?b(n):n},n=function(t,e,r){var n=e.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?t:b(n)};function i(t,i){var o,a=t.split(/[\n\r]+/),s=-1,c=-1,l=0,f=0,h=[],p=[],m=null,b={},v=[],g=[],y=[],w=0;for(+i.codepage>=0&&u(+i.codepage);l!==a.length;++l){w=0;var x,O=a[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(e,r),_=O.replace(/;;/g,"\0").split(";").map((function(t){return t.replace(/\u0000/g,";")})),S=_[0];if(O.length>0)switch(S){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==_[1].charAt(0)&&p.push(O.slice(3).replace(/;;/g,";"));break;case"C":var k=!1,E=!1,M=!1,C=!1,j=-1,A=-1;for(f=1;f<_.length;++f)switch(_[f].charAt(0)){case"A":break;case"X":c=parseInt(_[f].slice(1))-1,E=!0;break;case"Y":for(s=parseInt(_[f].slice(1))-1,E||(c=0),o=h.length;o<=s;++o)h[o]=[];break;case"K":'"'===(x=_[f].slice(1)).charAt(0)?x=x.slice(1,x.length-1):"TRUE"===x?x=!0:"FALSE"===x?x=!1:isNaN(zt(x))?isNaN(Ut(x).getDate())||(x=It(x)):(x=zt(x),null!==m&&ht(m)&&(x=Tt(x))),"undefined"!==typeof d&&"string"==typeof x&&"string"!=(i||{}).type&&(i||{}).codepage&&(x=d.utils.decode(i.codepage,x)),k=!0;break;case"E":C=!0;var T=_o(_[f].slice(1),{r:s,c:c});h[s][c]=[h[s][c],T];break;case"S":M=!0,h[s][c]=[h[s][c],"S5S"];break;case"G":break;case"R":j=parseInt(_[f].slice(1))-1;break;case"C":A=parseInt(_[f].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+O)}if(k&&(h[s][c]&&2==h[s][c].length?h[s][c][0]=x:h[s][c]=x,m=null),M){if(C)throw new Error("SYLK shared formula cannot have own formula");var P=j>-1&&h[j][A];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");h[s][c][1]=Eo(P[1],{r:s-j,c:c-A})}break;case"F":var D=0;for(f=1;f<_.length;++f)switch(_[f].charAt(0)){case"X":c=parseInt(_[f].slice(1))-1,++D;break;case"Y":for(s=parseInt(_[f].slice(1))-1,o=h.length;o<=s;++o)h[o]=[];break;case"M":w=parseInt(_[f].slice(1))/20;break;case"F":case"G":break;case"P":m=p[parseInt(_[f].slice(1))];break;case"S":case"D":case"N":break;case"W":for(y=_[f].slice(1).split(" "),o=parseInt(y[0],10);o<=parseInt(y[1],10);++o)w=parseInt(y[2],10),g[o-1]=0===w?{hidden:!0}:{wch:w},Qi(g[o-1]);break;case"C":g[c=parseInt(_[f].slice(1))-1]||(g[c]={});break;case"R":v[s=parseInt(_[f].slice(1))-1]||(v[s]={}),w>0?(v[s].hpt=w,v[s].hpx=eo(w)):0===w&&(v[s].hidden=!0);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+O)}D<1&&(m=null);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+O)}}return v.length>0&&(b["!rows"]=v),g.length>0&&(b["!cols"]=g),i&&i.sheetRows&&(h=h.slice(0,i.sheetRows)),[h,b]}function o(t,e){var r=function(t,e){switch(e.type){case"base64":return i(y(t),e);case"binary":return i(t,e);case"buffer":return i(w&&Buffer.isBuffer(t)?t.toString("binary"):k(t),e);case"array":return i(Nt(t),e)}throw new Error("Unrecognized type "+e.type)}(t,e),n=r[0],o=r[1],a=Lr(n,e);return St(o).forEach((function(t){a[t]=o[t]})),a}function a(t,e,r,n){var i="C;Y"+(r+1)+";X"+(n+1)+";K";switch(t.t){case"n":i+=t.v||0,t.f&&!t.F&&(i+=";E"+ko(t.f,{r:r,c:n}));break;case"b":i+=t.v?"TRUE":"FALSE";break;case"e":i+=t.w||t.v;break;case"d":i+='"'+(t.w||t.v)+'"';break;case"s":i+='"'+t.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return i}return t["|"]=254,{to_workbook:function(t,e){return Dr(o(t,e),e)},to_sheet:o,from_sheet:function(t,e){var r,n,i=["ID;PWXL;N;E"],o=[],s=Ar(t["!ref"]),c=Array.isArray(t),u="\r\n";i.push("P;PGeneral"),i.push("F;P0;DG0G8;M255"),t["!cols"]&&(n=i,t["!cols"].forEach((function(t,e){var r="F;W"+(e+1)+" "+(e+1)+" ";t.hidden?r+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Xi(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=$i(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&n.push(r)}))),t["!rows"]&&function(t,e){e.forEach((function(e,r){var n="F;";e.hidden?n+="M0;":e.hpt?n+="M"+20*e.hpt+";":e.hpx&&(n+="M"+20*to(e.hpx)+";"),n.length>2&&t.push(n+"R"+(r+1))}))}(i,t["!rows"]),i.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var l=s.s.r;l<=s.e.r;++l)for(var f=s.s.c;f<=s.e.c;++f){var h=Mr({r:l,c:f});(r=c?(t[l]||[])[f]:t[h])&&(null!=r.v||r.f&&!r.F)&&o.push(a(r,0,l,f))}return i.join(u)+u+o.join(u)+u+"E"+u}}}(),gi=function(){function t(t,e){for(var r=t.split("\n"),n=-1,i=-1,o=0,a=[];o!==r.length;++o)if("BOT"!==r[o].trim()){if(!(n<0)){for(var s=r[o].trim().split(","),c=s[0],u=s[1],l=r[++o]||"";1&(l.match(/["]/g)||[]).length&&o<r.length-1;)l+="\n"+r[++o];switch(l=l.trim(),+c){case-1:if("BOT"===l){a[++n]=[],i=0;continue}if("EOD"!==l)throw new Error("Unrecognized DIF special command "+l);break;case 0:"TRUE"===l?a[n][i]=!0:"FALSE"===l?a[n][i]=!1:isNaN(zt(u))?isNaN(Ut(u).getDate())?a[n][i]=u:a[n][i]=It(u):a[n][i]=zt(u),++i;break;case 1:(l=(l=l.slice(1,l.length-1)).replace(/""/g,'"'))&&l.match(/^=".*"$/)&&(l=l.slice(2,-1)),a[n][i++]=""!==l?l:null}if("EOD"===l)break}}else a[++n]=[],i=0;return e&&e.sheetRows&&(a=a.slice(0,e.sheetRows)),a}function e(e,r){return Lr(function(e,r){switch(r.type){case"base64":return t(y(e),r);case"binary":return t(e,r);case"buffer":return t(w&&Buffer.isBuffer(e)?e.toString("binary"):k(e),r);case"array":return t(Nt(e),r)}throw new Error("Unrecognized type "+r.type)}(e,r),r)}return{to_workbook:function(t,r){return Dr(e(t,r),r)},to_sheet:e,from_sheet:function(){var t=function(t,e,r,n,i){t.push(e),t.push(r+","+n),t.push('"'+i.replace(/"/g,'""')+'"')},e=function(t,e,r,n){t.push(e+","+r),t.push(1==e?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,i=[],o=Ar(r["!ref"]),a=Array.isArray(r);t(i,"TABLE",0,1,"sheetjs"),t(i,"VECTORS",0,o.e.r-o.s.r+1,""),t(i,"TUPLES",0,o.e.c-o.s.c+1,""),t(i,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){e(i,-1,0,"BOT");for(var c=o.s.c;c<=o.e.c;++c){var u=Mr({r:s,c:c});if(n=a?(r[s]||[])[c]:r[u])switch(n.t){case"n":var l=n.w;l||null==n.v||(l=n.v),null==l?n.f&&!n.F?e(i,1,0,"="+n.f):e(i,1,0,""):e(i,0,l,"V");break;case"b":e(i,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":e(i,1,0,isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=bt(n.z||B[14],Mt(It(n.v)))),e(i,0,n.w,"V");break;default:e(i,1,0,"")}else e(i,1,0,"")}}e(i,-1,0,"EOD");return i.join("\r\n")}}()}}(),yi=function(){function t(t){return t.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function e(t,e){return Lr(function(t,e){for(var r=t.split("\n"),n=-1,i=-1,o=0,a=[];o!==r.length;++o){var s=r[o].trim().split(":");if("cell"===s[0]){var c=Er(s[1]);if(a.length<=c.r)for(n=a.length;n<=c.r;++n)a[n]||(a[n]=[]);switch(n=c.r,i=c.c,s[2]){case"t":a[n][i]=s[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n");break;case"v":a[n][i]=+s[3];break;case"vtf":var u=s[s.length-1];case"vtc":switch(s[3]){case"nl":a[n][i]=!!+s[4];break;default:a[n][i]=+s[4]}"vtf"==s[2]&&(a[n][i]=[a[n][i],u])}}}return e&&e.sheetRows&&(a=a.slice(0,e.sheetRows)),a}(t,e),e)}var r=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),n=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",i=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),o="--SocialCalcSpreadsheetControlSave--";function a(e){if(!e||!e["!ref"])return"";for(var r,n=[],i=[],o="",a=Cr(e["!ref"]),s=Array.isArray(e),c=a.s.r;c<=a.e.r;++c)for(var u=a.s.c;u<=a.e.c;++u)if(o=Mr({r:c,c:u}),(r=s?(e[c]||[])[u]:e[o])&&null!=r.v&&"z"!==r.t){switch(i=["cell",o,"t"],r.t){case"s":case"str":i.push(t(r.v));break;case"n":r.f?(i[2]="vtf",i[3]="n",i[4]=r.v,i[5]=t(r.f)):(i[2]="v",i[3]=r.v);break;case"b":i[2]="vt"+(r.f?"f":"c"),i[3]="nl",i[4]=r.v?"1":"0",i[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var l=Mt(It(r.v));i[2]="vtc",i[3]="nd",i[4]=""+l,i[5]=r.w||bt(r.z||B[14],l);break;case"e":continue}n.push(i.join(":"))}return n.push("sheet:c:"+(a.e.c-a.s.c+1)+":r:"+(a.e.r-a.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(t,r){return Dr(e(t,r),r)},to_sheet:e,from_sheet:function(t){return[r,n,i,n,a(t),o].join("\n")}}}(),wi=function(){function t(t,e,r,n,i){i.raw?e[r][n]=t:""===t||("TRUE"===t?e[r][n]=!0:"FALSE"===t?e[r][n]=!1:isNaN(zt(t))?isNaN(Ut(t).getDate())?e[r][n]=t:e[r][n]=It(t):e[r][n]=zt(t))}var e={44:",",9:"\t",59:";",124:"|"},r={44:3,9:2,59:1,124:0};function n(t){for(var n={},i=!1,o=0,a=0;o<t.length;++o)34==(a=t.charCodeAt(o))?i=!i:!i&&a in e&&(n[a]=(n[a]||0)+1);for(o in a=[],n)Object.prototype.hasOwnProperty.call(n,o)&&a.push([n[o],o]);if(!a.length)for(o in n=r)Object.prototype.hasOwnProperty.call(n,o)&&a.push([n[o],o]);return a.sort((function(t,e){return t[0]-e[0]||r[t[1]]-r[e[1]]})),e[a.pop()[1]]||44}function i(t,e){var r=e||{},i="";var o=r.dense?[]:{},a={s:{c:0,r:0},e:{c:0,r:0}};"sep="==t.slice(0,4)?13==t.charCodeAt(5)&&10==t.charCodeAt(6)?(i=t.charAt(4),t=t.slice(7)):13==t.charCodeAt(5)||10==t.charCodeAt(5)?(i=t.charAt(4),t=t.slice(6)):i=n(t.slice(0,1024)):i=r&&r.FS?r.FS:n(t.slice(0,1024));var s=0,c=0,u=0,l=0,f=0,h=i.charCodeAt(0),d=!1,p=0,m=t.charCodeAt(0);t=t.replace(/\r\n/gm,"\n");var b=null!=r.dateNF?function(t){var e="number"==typeof t?B[t]:t;return e=e.replace(wt,"(\\d+)"),new RegExp("^"+e+"$")}(r.dateNF):null;function v(){var e=t.slice(l,f),n={};if('"'==e.charAt(0)&&'"'==e.charAt(e.length-1)&&(e=e.slice(1,-1).replace(/""/g,'"')),0===e.length)n.t="z";else if(r.raw)n.t="s",n.v=e;else if(0===e.trim().length)n.t="s",n.v=e;else if(61==e.charCodeAt(0))34==e.charCodeAt(1)&&34==e.charCodeAt(e.length-1)?(n.t="s",n.v=e.slice(2,-1).replace(/""/g,'"')):1!=e.length?(n.t="n",n.f=e.slice(1)):(n.t="s",n.v=e);else if("TRUE"==e)n.t="b",n.v=!0;else if("FALSE"==e)n.t="b",n.v=!1;else if(isNaN(u=zt(e)))if(!isNaN(Ut(e).getDate())||b&&e.match(b)){n.z=r.dateNF||B[14];var i=0;b&&e.match(b)&&(e=function(t,e,r){var n=-1,i=-1,o=-1,a=-1,s=-1,c=-1;(e.match(wt)||[]).forEach((function(t,e){var u=parseInt(r[e+1],10);switch(t.toLowerCase().charAt(0)){case"y":n=u;break;case"d":o=u;break;case"h":a=u;break;case"s":c=u;break;case"m":a>=0?s=u:i=u}})),c>=0&&-1==s&&i>=0&&(s=i,i=-1);var u=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==u.length&&(u="0"+u),8==u.length&&(u="20"+u);var l=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==a&&-1==s&&-1==c?u:-1==n&&-1==i&&-1==o?l:u+"T"+l}(0,r.dateNF,e.match(b)||[]),i=1),r.cellDates?(n.t="d",n.v=It(e,i)):(n.t="n",n.v=Mt(It(e,i))),!1!==r.cellText&&(n.w=bt(n.z,n.v instanceof Date?Mt(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=e;else n.t="n",!1!==r.cellText&&(n.w=e),n.v=u;if("z"==n.t||(r.dense?(o[s]||(o[s]=[]),o[s][c]=n):o[Mr({c:c,r:s})]=n),l=f+1,m=t.charCodeAt(l),a.e.c<c&&(a.e.c=c),a.e.r<s&&(a.e.r=s),p==h)++c;else if(c=0,++s,r.sheetRows&&r.sheetRows<=s)return!0}t:for(;f<t.length;++f)switch(p=t.charCodeAt(f)){case 34:34===m&&(d=!d);break;case h:case 10:case 13:if(!d&&v())break t}return f-l>0&&v(),o["!ref"]=jr(a),o}function o(e,r){return r&&r.PRN?r.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?i(e,r):Lr(function(e,r){var n=r||{},i=[];if(!e||0===e.length)return i;for(var o=e.split(/[\r\n]/),a=o.length-1;a>=0&&0===o[a].length;)--a;for(var s=10,c=0,u=0;u<=a;++u)-1==(c=o[u].indexOf(" "))?c=o[u].length:c++,s=Math.max(s,c);for(u=0;u<=a;++u){i[u]=[];var l=0;for(t(o[u].slice(0,s).trim(),i,u,l,n),l=1;l<=(o[u].length-s)/10+1;++l)t(o[u].slice(s+10*(l-1),s+10*l).trim(),i,u,l,n)}return n.sheetRows&&(i=i.slice(0,n.sheetRows)),i}(e,r),r):i(e,r)}function a(t,e){var r="",n="string"==e.type?[0,0,0,0]:fc(t,e);switch(e.type){case"base64":r=y(t);break;case"binary":r=t;break;case"buffer":r=65001==e.codepage?t.toString("utf8"):e.codepage&&"undefined"!==typeof d?d.utils.decode(e.codepage,t):w&&Buffer.isBuffer(t)?t.toString("binary"):k(t);break;case"array":r=Nt(t);break;case"string":r=t;break;default:throw new Error("Unrecognized type "+e.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=we(r.slice(3)):"string"!=e.type&&"buffer"!=e.type&&65001==e.codepage?r=we(r):"binary"==e.type&&"undefined"!==typeof d&&e.codepage&&(r=d.utils.decode(e.codepage,d.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?yi.to_sheet("string"==e.type?r:we(r),e):o(r,e)}return{to_workbook:function(t,e){return Dr(a(t,e),e)},to_sheet:a,from_sheet:function(t){for(var e,r=[],n=Ar(t["!ref"]),i=Array.isArray(t),o=n.s.r;o<=n.e.r;++o){for(var a=[],s=n.s.c;s<=n.e.c;++s){var c=Mr({r:o,c:s});if((e=i?(t[o]||[])[s]:t[c])&&null!=e.v){for(var u=(e.w||(Pr(e),e.w)||"").slice(0,10);u.length<10;)u+=" ";a.push(u+(0===s?" ":""))}else a.push("          ")}r.push(a.join(""))}return r.join("\n")}}}();var xi=function(){function t(t,e,r){if(t){dr(t,t.l||0);for(var n=r.Enum||g;t.l<t.length;){var i=t.read_shift(2),o=n[i]||n[65535],a=t.read_shift(2),s=t.l+a,c=o.f&&o.f(t,a,r);if(t.l=s,e(c,o,i))return}}}function e(e,r){if(!e)return e;var n=r||{};var i=n.dense?[]:{},o="Sheet1",a="",s=0,c={},u=[],l=[],f={s:{r:0,c:0},e:{r:0,c:0}},h=n.sheetRows||0;if(0==e[2]&&(8==e[3]||9==e[3])&&e.length>=16&&5==e[14]&&108===e[15])throw new Error("Unsupported Works 3 for Mac file");if(2==e[2])n.Enum=g,t(e,(function(t,e,r){switch(r){case 0:n.vers=t,t>=4096&&(n.qpro=!0);break;case 6:f=t;break;case 204:t&&(a=t);break;case 222:a=t;break;case 15:case 51:n.qpro||(t[1].v=t[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&t[2])&&(15&t[2])>1&&(15&t[2])<15&&(t[1].z=n.dateNF||B[14],n.cellDates&&(t[1].t="d",t[1].v=Tt(t[1].v))),n.qpro&&t[3]>s&&(i["!ref"]=jr(f),c[o]=i,u.push(o),i=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o=a||"Sheet"+(s+1),a="");var l=n.dense?(i[t[0].r]||[])[t[0].c]:i[Mr(t[0])];if(l){l.t=t[1].t,l.v=t[1].v,null!=t[1].z&&(l.z=t[1].z),null!=t[1].f&&(l.f=t[1].f);break}n.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[Mr(t[0])]=t[1]}}),n);else{if(26!=e[2]&&14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);n.Enum=w,14==e[2]&&(n.qpro=!0,e.l=0),t(e,(function(t,e,r){switch(r){case 204:o=t;break;case 22:t[1].v=t[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(t[3]>s&&(i["!ref"]=jr(f),c[o]=i,u.push(o),i=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=t[3],o="Sheet"+(s+1)),h>0&&t[0].r>=h)break;n.dense?(i[t[0].r]||(i[t[0].r]=[]),i[t[0].r][t[0].c]=t[1]):i[Mr(t[0])]=t[1],f.e.c<t[0].c&&(f.e.c=t[0].c),f.e.r<t[0].r&&(f.e.r=t[0].r);break;case 27:t[14e3]&&(l[t[14e3][0]]=t[14e3][1]);break;case 1537:l[t[0]]=t[1],t[0]==s&&(o=t[1])}}),n)}if(i["!ref"]=jr(f),c[a||o]=i,u.push(a||o),!l.length)return{SheetNames:u,Sheets:c};for(var d={},p=[],m=0;m<l.length;++m)c[u[m]]?(p.push(l[m]||u[m]),d[l[m]]=c[l[m]]||c[u[m]]):(p.push(l[m]),d[l[m]]={"!ref":"A1"});return{SheetNames:p,Sheets:d}}function r(t,e,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=t.read_shift(1),n[3]=t.read_shift(1),n[0].r=t.read_shift(2),t.l+=2):(n[2]=t.read_shift(1),n[0].c=t.read_shift(2),n[0].r=t.read_shift(2)),n}function n(t,e,n){var i=t.l+e,o=r(t,0,n);if(o[1].t="s",20768==n.vers){t.l++;var a=t.read_shift(1);return o[1].v=t.read_shift(a,"utf8"),o}return n.qpro&&t.l++,o[1].v=t.read_shift(i-t.l,"cstr"),o}function i(t,e,r){var n=mr(7+r.length);n.write_shift(1,255),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(1,39);for(var i=0;i<n.length;++i){var o=r.charCodeAt(i);n.write_shift(1,o>=128?95:o)}return n.write_shift(1,0),n}function o(t,e,r){var n=mr(7);return n.write_shift(1,255),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r,"i"),n}function a(t,e,r){var n=mr(13);return n.write_shift(1,255),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(8,r,"f"),n}function s(t,e,r){var n=32768&e;return e=(n?t:0)+((e&=-32769)>=8192?e-16384:e),(n?"":"$")+(r?kr(e):_r(e))}var c={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},l=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function f(t){var e=[{c:0,r:0},{t:"n",v:0},0];return e[0].r=t.read_shift(2),e[3]=t[t.l++],e[0].c=t[t.l++],e}function h(t,e,r,n){var i=mr(6+n.length);i.write_shift(2,t),i.write_shift(1,r),i.write_shift(1,e),i.write_shift(1,39);for(var o=0;o<n.length;++o){var a=n.charCodeAt(o);i.write_shift(1,a>=128?95:a)}return i.write_shift(1,0),i}function d(t,e){var r=f(t),n=t.read_shift(4),i=t.read_shift(4),o=t.read_shift(2);if(65535==o)return 0===n&&3221225472===i?(r[1].t="e",r[1].v=15):0===n&&3489660928===i?(r[1].t="e",r[1].v=42):r[1].v=0,r;var a=32768&o;return o=(32767&o)-16446,r[1].v=(1-2*a)*(i*Math.pow(2,o+32)+n*Math.pow(2,o)),r}function p(t,e,r,n){var i=mr(14);if(i.write_shift(2,t),i.write_shift(1,r),i.write_shift(1,e),0==n)return i.write_shift(4,0),i.write_shift(4,0),i.write_shift(2,65535),i;var o,a=0,s=0,c=0;return n<0&&(a=1,n=-n),s=0|Math.log2(n),0==(2147483648&(c=(n/=Math.pow(2,s-31))>>>0))&&(++s,c=(n/=2)>>>0),n-=c,c|=2147483648,c>>>=0,o=(n*=Math.pow(2,32))>>>0,i.write_shift(4,o),i.write_shift(4,c),s+=16383+(a?32768:0),i.write_shift(2,s),i}function m(t,e){var r=f(t),n=t.read_shift(8,"f");return r[1].v=n,r}function b(t,e){return 0==t[t.l+e-1]?t.read_shift(e,"cstr"):""}function v(t,e){var r=mr(5+t.length);r.write_shift(2,14e3),r.write_shift(2,e);for(var n=0;n<t.length;++n){var i=t.charCodeAt(n);r[r.l++]=i>127?95:i}return r[r.l++]=0,r}var g={0:{n:"BOF",f:Dn},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(t,e,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==e&&r.qpro?(n.s.c=t.read_shift(1),t.l++,n.s.r=t.read_shift(2),n.e.c=t.read_shift(1),t.l++,n.e.r=t.read_shift(2),n):(n.s.c=t.read_shift(2),n.s.r=t.read_shift(2),12==e&&r.qpro&&(t.l+=2),n.e.c=t.read_shift(2),n.e.r=t.read_shift(2),12==e&&r.qpro&&(t.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(t,e,n){var i=r(t,0,n);return i[1].v=t.read_shift(2,"i"),i}},14:{n:"NUMBER",f:function(t,e,n){var i=r(t,0,n);return i[1].v=t.read_shift(8,"f"),i}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(t,e,n){var i=t.l+e,o=r(t,0,n);if(o[1].v=t.read_shift(8,"f"),n.qpro)t.l=i;else{var a=t.read_shift(2);!function(t,e){dr(t,0);var r=[],n=0,i="",o="",a="",u="";for(;t.l<t.length;){var f=t[t.l++];switch(f){case 0:r.push(t.read_shift(8,"f"));break;case 1:o=s(e[0].c,t.read_shift(2),!0),i=s(e[0].r,t.read_shift(2),!1),r.push(o+i);break;case 2:var h=s(e[0].c,t.read_shift(2),!0),d=s(e[0].r,t.read_shift(2),!1);o=s(e[0].c,t.read_shift(2),!0),i=s(e[0].r,t.read_shift(2),!1),r.push(h+d+":"+o+i);break;case 3:if(t.l<t.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(t.read_shift(2));break;case 6:for(var p="";f=t[t.l++];)p+=String.fromCharCode(f);r.push('"'+p.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:u=r.pop(),a=r.pop(),r.push(["AND","OR"][f-20]+"("+a+","+u+")");break;default:if(f<32&&l[f])u=r.pop(),a=r.pop(),r.push(a+l[f]+u);else{if(!c[f])return f<=7?console.error("WK1 invalid opcode "+f.toString(16)):f<=24?console.error("WK1 unsupported op "+f.toString(16)):f<=30?console.error("WK1 invalid opcode "+f.toString(16)):f<=115?console.error("WK1 unsupported function opcode "+f.toString(16)):console.error("WK1 unrecognized opcode "+f.toString(16));if(69==(n=c[f][1])&&(n=t[t.l++]),n>r.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+r.join("|")+"|");var m=r.slice(-n);r.length-=n,r.push(c[f][0]+"("+m.join(",")+")")}}}1==r.length?e[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(t.slice(t.l,t.l+a),o),t.l+=a}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:b},222:{n:"SHEETNAMELP",f:function(t,e){var r=t[t.l++];r>e-1&&(r=e-1);for(var n="";n.length<r;)n+=String.fromCharCode(t[t.l++]);return n}},65535:{n:""}},w={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(t,e){var r=f(t);return r[1].t="s",r[1].v=t.read_shift(e-4,"cstr"),r}},23:{n:"NUMBER17",f:d},24:{n:"NUMBER18",f:function(t,e){var r=f(t);r[1].v=t.read_shift(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(t,e){var r=d(t);return t.l+=e-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(t,e){for(var r={},n=t.l+e;t.l<n;){var i=t.read_shift(2);if(14e3==i){for(r[i]=[0,""],r[i][0]=t.read_shift(2);t[t.l];)r[i][1]+=String.fromCharCode(t[t.l]),t.l++;t.l++}}return r}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(t,e){var r=f(t),n=t.read_shift(4);return r[1].v=n>>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(t,e){var r=m(t);return t.l+=e-10,r}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:b},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(t,e,r){if(r.qpro&&!(e<21)){var n=t.read_shift(1);return t.l+=17,t.l+=1,t.l+=2,[n,t.read_shift(e-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(t,e){var r=e||{};if(+r.codepage>=0&&u(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=vr(),s=Ar(t["!ref"]),c=Array.isArray(t),l=[];Es(n,0,function(t){var e=mr(2);return e.write_shift(2,t),e}(1030)),Es(n,6,function(t){var e=mr(8);return e.write_shift(2,t.s.c),e.write_shift(2,t.s.r),e.write_shift(2,t.e.c),e.write_shift(2,t.e.r),e}(s));for(var f=Math.min(s.e.r,8191),h=s.s.r;h<=f;++h)for(var d=_r(h),p=s.s.c;p<=s.e.c;++p){h===s.s.r&&(l[p]=kr(p));var m=l[p]+d,b=c?(t[h]||[])[p]:t[m];if(b&&"z"!=b.t)if("n"==b.t)(0|b.v)==b.v&&b.v>=-32768&&b.v<=32767?Es(n,13,o(h,p,b.v)):Es(n,14,a(h,p,b.v));else Es(n,15,i(h,p,Pr(b).slice(0,239)))}return Es(n,1),n.end()},book_to_wk3:function(t,e){var r=e||{};if(+r.codepage>=0&&u(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=vr();Es(n,0,function(t){var e=mr(26);e.write_shift(2,4096),e.write_shift(2,4),e.write_shift(4,0);for(var r=0,n=0,i=0,o=0;o<t.SheetNames.length;++o){var a=t.SheetNames[o],s=t.Sheets[a];if(s&&s["!ref"]){++i;var c=Cr(s["!ref"]);r<c.e.r&&(r=c.e.r),n<c.e.c&&(n=c.e.c)}}r>8191&&(r=8191);return e.write_shift(2,r),e.write_shift(1,i),e.write_shift(1,n),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(1,1),e.write_shift(1,2),e.write_shift(4,0),e.write_shift(4,0),e}(t));for(var i=0,o=0;i<t.SheetNames.length;++i)(t.Sheets[t.SheetNames[i]]||{})["!ref"]&&Es(n,27,v(t.SheetNames[i],o++));var a=0;for(i=0;i<t.SheetNames.length;++i){var s=t.Sheets[t.SheetNames[i]];if(s&&s["!ref"]){for(var c=Ar(s["!ref"]),l=Array.isArray(s),f=[],d=Math.min(c.e.r,8191),m=c.s.r;m<=d;++m)for(var b=_r(m),g=c.s.c;g<=c.e.c;++g){m===c.s.r&&(f[g]=kr(g));var y=f[g]+b,w=l?(s[m]||[])[g]:s[y];if(w&&"z"!=w.t)if("n"==w.t)Es(n,23,p(m,g,a,w.v));else Es(n,22,h(m,g,a,Pr(w).slice(0,239)))}++a}}return Es(n,1),n.end()},to_workbook:function(t,r){switch(r.type){case"base64":return e(S(y(t)),r);case"binary":return e(S(t),r);case"buffer":case"array":return e(t,r)}throw"Unsupported type "+r.type}}}();var Oi=function(){var t=Oe("t"),e=Oe("rPr");function r(r){var n=r.match(t);if(!n)return{t:"s",v:""};var i={t:"s",v:le(n[1])},o=r.match(e);return o&&(i.s=function(t){var e={},r=t.match(ne),n=0,i=!1;if(r)for(;n!=r.length;++n){var o=ae(r[n]);switch(o[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!o.val)break;case"<shadow>":case"<shadow/>":e.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==o.val)break;e.cp=s[parseInt(o.val,10)];break;case"<outline":if(!o.val)break;case"<outline>":case"<outline/>":e.outline=1;break;case"</outline>":break;case"<rFont":e.name=o.val;break;case"<sz":e.sz=o.val;break;case"<strike":if(!o.val)break;case"<strike>":case"<strike/>":e.strike=1;break;case"</strike>":break;case"<u":if(!o.val)break;switch(o.val){case"double":e.uval="double";break;case"singleAccounting":e.uval="single-accounting";break;case"doubleAccounting":e.uval="double-accounting"}case"<u>":case"<u/>":e.u=1;break;case"</u>":break;case"<b":if("0"==o.val)break;case"<b>":case"<b/>":e.b=1;break;case"</b>":break;case"<i":if("0"==o.val)break;case"<i>":case"<i/>":e.i=1;break;case"</i>":break;case"<color":o.rgb&&(e.color=o.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":e.family=o.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":e.valign=o.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==o[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+o[0])}}return e}(o[1])),i}var n=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(t){return t.replace(n,"").split(i).map(r).filter((function(t){return t.v}))}}(),_i=function(){var t=/(\r\n|\n)/g;function e(e){var r=[[],e.v,[]];return e.v?(e.s&&function(t,e,r){var n=[];t.u&&n.push("text-decoration: underline;"),t.uval&&n.push("text-underline-style:"+t.uval+";"),t.sz&&n.push("font-size:"+t.sz+"pt;"),t.outline&&n.push("text-effect: outline;"),t.shadow&&n.push("text-shadow: auto;"),e.push('<span style="'+n.join("")+'">'),t.b&&(e.push("<b>"),r.push("</b>")),t.i&&(e.push("<i>"),r.push("</i>")),t.strike&&(e.push("<s>"),r.push("</s>"));var i=t.valign||"";"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(e.push("<"+i+">"),r.push("</"+i+">")),r.push("</span>")}(e.s,r[0],r[2]),r[0].join("")+r[1].replace(t,"<br/>")+r[2].join("")):""}return function(t){return t.map(e).join("")}}(),Si=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,ki=/<(?:\w+:)?r>/,Ei=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Mi(t,e){var r=!e||e.cellHTML,n={};return t?(t.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=le(we(t.slice(t.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=we(t),r&&(n.h=de(n.t))):t.match(ki)&&(n.r=we(t),n.t=le(we((t.replace(Ei,"").match(Si)||[]).join("").replace(ne,""))),r&&(n.h=_i(Oi(n.r)))),n):{t:""}}var Ci=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,ji=/<(?:\w+:)?(?:si|sstItem)>/g,Ai=/<\/(?:\w+:)?(?:si|sstItem)>/;function Ti(t){if("undefined"!==typeof d)return d.utils.encode(o,t);for(var e=[],r=t.split(""),n=0;n<r.length;++n)e[n]=r[n].charCodeAt(0);return e}function Pi(t,e){var r={};return r.Major=t.read_shift(2),r.Minor=t.read_shift(2),e>=4&&(t.l+=e-4),r}function Di(t){for(var e=t.read_shift(4),r=t.l+e-4,n={},i=t.read_shift(4),o=[];i-- >0;)o.push({t:t.read_shift(4),v:t.read_shift(0,"lpp4")});if(n.name=t.read_shift(0,"lpp4"),n.comps=o,t.l!=r)throw new Error("Bad DataSpaceMapEntry: "+t.l+" != "+r);return n}function Ri(t){var e=function(t){var e={};return t.read_shift(4),t.l+=4,e.id=t.read_shift(0,"lpp4"),e.name=t.read_shift(0,"lpp4"),e.R=Pi(t,4),e.U=Pi(t,4),e.W=Pi(t,4),e}(t);if(e.ename=t.read_shift(0,"8lpp4"),e.blksz=t.read_shift(4),e.cmode=t.read_shift(4),4!=t.read_shift(4))throw new Error("Bad !Primary record");return e}function Li(t,e){var r=t.l+e,n={};n.Flags=63&t.read_shift(4),t.l+=4,n.AlgID=t.read_shift(4);var i=!1;switch(n.AlgID){case 26126:case 26127:case 26128:i=36==n.Flags;break;case 26625:i=4==n.Flags;break;case 0:i=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=t.read_shift(4),n.KeySize=t.read_shift(4),n.ProviderType=t.read_shift(4),t.l+=8,n.CSPName=t.read_shift(r-t.l>>1,"utf16le"),t.l=r,n}function Ii(t,e){var r={},n=t.l+e;return t.l+=4,r.Salt=t.slice(t.l,t.l+16),t.l+=16,r.Verifier=t.slice(t.l,t.l+16),t.l+=16,t.read_shift(4),r.VerifierHash=t.slice(t.l,n),t.l=n,r}function Ni(t){if(36!=(63&t.read_shift(4)))throw new Error("EncryptionInfo mismatch");var e=t.read_shift(4);return{t:"Std",h:Li(t,e),v:Ii(t,t.length-t.l)}}function Fi(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Bi(t){var e=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];t.l+=4;var r=t.read_shift(t.length-t.l,"utf8"),n={};return r.replace(ne,(function(t){var r=ae(t);switch(se(r[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":e.forEach((function(t){n[t]=r[t]}));break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":n.uri=r.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}})),n}function zi(t){var e,r,n=0,i=Ti(t),o=i.length+1;for((e=O(o))[0]=i.length,r=1;r!=o;++r)e[r]=i[r-1];for(r=o-1;r>=0;--r)n=((0===(16384&n)?0:1)|n<<1&32767)^e[r];return 52811^n}var Hi=function(){var t=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],e=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(t,e){return 255&((r=t^e)/2|128*r);var r};return function(i){for(var o,a,s,c=Ti(i),u=function(t){for(var n=e[t.length-1],i=104,o=t.length-1;o>=0;--o)for(var a=t[o],s=0;7!=s;++s)64&a&&(n^=r[i]),a*=2,--i;return n}(c),l=c.length,f=O(16),h=0;16!=h;++h)f[h]=0;for(1===(1&l)&&(o=u>>8,f[l]=n(t[0],o),--l,o=255&u,a=c[c.length-1],f[l]=n(a,o));l>0;)o=u>>8,f[--l]=n(c[l],o),o=255&u,f[--l]=n(c[l],o);for(l=15,s=15-c.length;s>0;)o=u>>8,f[l]=n(t[s],o),--s,o=255&u,f[--l]=n(c[l],o),--l,--s;return f}}(),Ui=function(t){var e=0,r=Hi(t);return function(t){var n=function(t,e,r,n,i){var o,a;for(i||(i=e),n||(n=Hi(t)),o=0;o!=e.length;++o)a=e[o],a=255&((a^=n[r])>>5|a<<3),i[o]=a,++r;return[i,r,n]}("",t,e,r);return e=n[1],n[0]}};function Wi(t,e,r){var n=r||{};return n.Info=t.read_shift(2),t.l-=2,1===n.Info?n.Data=function(t){var e={},r=e.EncryptionVersionInfo=Pi(t,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return e.Salt=t.read_shift(16),e.EncryptedVerifier=t.read_shift(16),e.EncryptedVerifierHash=t.read_shift(16),e}(t):n.Data=function(t,e){var r={},n=r.EncryptionVersionInfo=Pi(t,4);if(e-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=t.read_shift(4),e-=4;var i=t.read_shift(4);return e-=4,r.EncryptionHeader=Li(t,i),e-=i,r.EncryptionVerifier=Ii(t,e),r}(t,e),n}var qi=function(){function t(t,r){switch(r.type){case"base64":return e(y(t),r);case"binary":return e(t,r);case"buffer":return e(w&&Buffer.isBuffer(t)?t.toString("binary"):k(t),r);case"array":return e(Nt(t),r)}throw new Error("Unrecognized type "+r.type)}function e(t,e){var r=(e||{}).dense?[]:{},n=t.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var i={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(t,e){Array.isArray(r)&&(r[e]=[]);for(var n,o=/\\\w+\b/g,a=0,s=-1;n=o.exec(t);){switch(n[0]){case"\\cell":var c=t.slice(a,o.lastIndex-n[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var u={v:c,t:"s"};Array.isArray(r)?r[e][s]=u:r[Mr({r:e,c:s})]=u}}a=o.lastIndex}s>i.e.c&&(i.e.c=s)})),r["!ref"]=jr(i),r}return{to_workbook:function(e,r){return Dr(t(e,r),r)},to_sheet:t,from_sheet:function(t){for(var e,r=["{\\rtf1\\ansi"],n=Ar(t["!ref"]),i=Array.isArray(t),o=n.s.r;o<=n.e.r;++o){r.push("\\trowd\\trautofit1");for(var a=n.s.c;a<=n.e.c;++a)r.push("\\cellx"+(a+1));for(r.push("\\pard\\intbl"),a=n.s.c;a<=n.e.c;++a){var s=Mr({r:o,c:a});(e=i?(t[o]||[])[a]:t[s])&&(null!=e.v||e.f&&!e.F)&&(r.push(" "+(e.w||(Pr(e),e.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function Vi(t){for(var e=0,r=1;3!=e;++e)r=256*r+(t[e]>255?255:t[e]<0?0:t[e]);return r.toString(16).toUpperCase().slice(1)}function Gi(t,e){if(0===e)return t;var r=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(e,r,n),o=Math.min(e,r,n),a=i-o;if(0===a)return[0,0,e];var s,c=0,u=i+o;switch(s=a/(u>1?2-u:u),i){case e:c=((r-n)/a+6)%6;break;case r:c=(n-e)/a+2;break;case n:c=(e-r)/a+4}return[c/6,s,u/2]}(function(t){var e=t.slice("#"===t[0]?1:0).slice(0,6);return[parseInt(e.slice(0,2),16),parseInt(e.slice(2,4),16),parseInt(e.slice(4,6),16)]}(t));return r[2]=e<0?r[2]*(1+e):1-(1-r[2])*(1-e),Vi(function(t){var e,r=t[0],n=t[1],i=t[2],o=2*n*(i<.5?i:1-i),a=i-o/2,s=[a,a,a],c=6*r;if(0!==n)switch(0|c){case 0:case 6:e=o*c,s[0]+=o,s[1]+=e;break;case 1:e=o*(2-c),s[0]+=e,s[1]+=o;break;case 2:e=o*(c-2),s[1]+=o,s[2]+=e;break;case 3:e=o*(4-c),s[1]+=e,s[2]+=o;break;case 4:e=o*(c-4),s[2]+=o,s[0]+=e;break;case 5:e=o*(6-c),s[2]+=e,s[0]+=o}for(var u=0;3!=u;++u)s[u]=Math.round(255*s[u]);return s}(r))}var Yi=6;function Xi(t){return Math.floor((t+Math.round(128/Yi)/256)*Yi)}function $i(t){return Math.floor((t-5)/Yi*100+.5)/100}function Ki(t){return Math.round((t*Yi+5)/Yi*256)/256}function Zi(t){return Ki($i(Xi(t)))}function Ji(t){var e=Math.abs(t-Zi(t)),r=Yi;if(e>.005)for(Yi=1;Yi<15;++Yi)Math.abs(t-Zi(t))<=e&&(e=Math.abs(t-Zi(t)),r=Yi);Yi=r}function Qi(t){t.width?(t.wpx=Xi(t.width),t.wch=$i(t.wpx),t.MDW=Yi):t.wpx?(t.wch=$i(t.wpx),t.width=Ki(t.wch),t.MDW=Yi):"number"==typeof t.wch&&(t.width=Ki(t.wch),t.wpx=Xi(t.width),t.MDW=Yi),t.customWidth&&delete t.customWidth}function to(t){return 96*t/96}function eo(t){return 96*t/96}var ro={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};var no=["numFmtId","fillId","fontId","borderId","xfId"],io=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var oo=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,e=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,a,c){var u,l={};return o?((u=(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(t))&&function(t,e,r){e.NumberFmt=[];for(var n=St(B),i=0;i<n.length;++i)e.NumberFmt[n[i]]=B[n[i]];var o=t[0].match(ne);if(o)for(i=0;i<o.length;++i){var a=ae(o[i]);switch(se(a[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var s=le(we(a.formatCode)),c=parseInt(a.numFmtId,10);if(e.NumberFmt[c]=s,c>0){if(c>392){for(c=392;c>60&&null!=e.NumberFmt[c];--c);e.NumberFmt[c]=s}vt(s,c)}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}(u,l,c),(u=o.match(n))&&function(t,e,r,n){e.Fonts=[];var i={},o=!1;(t[0].match(ne)||[]).forEach((function(t){var a=ae(t);switch(se(a[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":e.Fonts.push(i),i={};break;case"<name":a.val&&(i.name=we(a.val));break;case"<name/>":case"</name>":break;case"<b":i.bold=a.val?me(a.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=a.val?me(a.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(a.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=a.val?me(a.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=a.val?me(a.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=a.val?me(a.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=a.val?me(a.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=a.val?me(a.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":a.val&&(i.sz=+a.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":a.val&&(i.vertAlign=a.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":a.val&&(i.family=parseInt(a.val,10));break;case"<family/>":case"</family>":break;case"<scheme":a.val&&(i.scheme=a.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==a.val)break;a.codepage=s[parseInt(a.val,10)];break;case"<color":if(i.color||(i.color={}),a.auto&&(i.color.auto=me(a.auto)),a.rgb)i.color.rgb=a.rgb.slice(-6);else if(a.indexed){i.color.index=parseInt(a.indexed,10);var c=nn[i.color.index];81==i.color.index&&(c=nn[1]),c||(c=nn[1]),i.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else a.theme&&(i.color.theme=parseInt(a.theme,10),a.tint&&(i.color.tint=parseFloat(a.tint)),a.theme&&r.themeElements&&r.themeElements.clrScheme&&(i.color.rgb=Gi(r.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":o=!0;break;case"</AlternateContent>":o=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+a[0]+" in fonts")}}))}(u,l,a,c),(u=o.match(r))&&function(t,e,r,n){e.Fills=[];var i={},o=!1;(t[0].match(ne)||[]).forEach((function(t){var r=ae(t);switch(se(r[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":i={},e.Fills.push(i);break;case"</fill>":case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":e.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":r.patternType&&(i.patternType=r.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":i.bgColor||(i.bgColor={}),r.indexed&&(i.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(i.bgColor.theme=parseInt(r.theme,10)),r.tint&&(i.bgColor.tint=parseFloat(r.tint)),r.rgb&&(i.bgColor.rgb=r.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":i.fgColor||(i.fgColor={}),r.theme&&(i.fgColor.theme=parseInt(r.theme,10)),r.tint&&(i.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(i.fgColor.rgb=r.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":case"</stop>":break;case"<color":case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fills")}}))}(u,l,0,c),(u=o.match(i))&&function(t,e,r,n){e.Borders=[];var i={},o=!1;(t[0].match(ne)||[]).forEach((function(t){var r=ae(t);switch(se(r[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":i={},r.diagonalUp&&(i.diagonalUp=me(r.diagonalUp)),r.diagonalDown&&(i.diagonalDown=me(r.diagonalDown)),e.Borders.push(i);break;case"</border>":case"<left/>":break;case"<left":case"<left>":case"</left>":case"<right/>":break;case"<right":case"<right>":case"</right>":case"<top/>":break;case"<top":case"<top>":case"</top>":case"<bottom/>":break;case"<bottom":case"<bottom>":case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":break;case"<start":case"<start>":case"<start/>":case"</start>":break;case"<end":case"<end>":case"<end/>":case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in borders")}}))}(u,l,0,c),(u=o.match(e))&&function(t,e,r){var n;e.CellXf=[];var i=!1;(t[0].match(ne)||[]).forEach((function(t){var o=ae(t),a=0;switch(se(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(delete(n=o)[0],a=0;a<no.length;++a)n[no[a]]&&(n[no[a]]=parseInt(n[no[a]],10));for(a=0;a<io.length;++a)n[io[a]]&&(n[io[a]]=me(n[io[a]]));if(e.NumberFmt&&n.numFmtId>392)for(a=392;a>60;--a)if(e.NumberFmt[n.numFmtId]==e.NumberFmt[a]){n.numFmtId=a;break}e.CellXf.push(n);break;case"</xf>":break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=me(o.wrapText)),n.alignment=s;break;case"</alignment>":case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":i=!0;break;case"</AlternateContent>":i=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}(u,l,c),l):l}}();var ao=pr;var so=pr;var co=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function uo(t,e,r){e.themeElements.clrScheme=[];var n={};(t[0].match(ne)||[]).forEach((function(t){var i=ae(t);switch(i[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=i.val;break;case"<a:sysClr":n.rgb=i.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===i[0].charAt(1)?(e.themeElements.clrScheme[co.indexOf(i[0])]=n,n={}):n.name=i[0].slice(3,i[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}}))}function lo(){}function fo(){}var ho=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,po=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,mo=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var bo=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function vo(t,e){var r;t&&0!==t.length||(t=go());var n={};if(!(r=t.match(bo)))throw new Error("themeElements not found in theme");return function(t,e,r){var n;e.themeElements={},[["clrScheme",ho,uo],["fontScheme",po,lo],["fmtScheme",mo,fo]].forEach((function(i){if(!(n=t.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](n,e,r)}))}(r[0],n,e),n.raw=t,n}function go(t,e){if(e&&e.themeXLSX)return e.themeXLSX;if(t&&"string"==typeof t.raw)return t.raw;var r=[te];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',r[r.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',r[r.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',r[r.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function yo(t){var e={};switch(e.xclrType=t.read_shift(2),e.nTintShade=t.read_shift(2),e.xclrType){case 0:t.l+=4;break;case 1:e.xclrValue=function(t,e){return pr(t,e)}(t,4);break;case 2:e.xclrValue=Un(t);break;case 3:e.xclrValue=function(t){return t.read_shift(4)}(t);break;case 4:t.l+=4}return t.l+=8,e}function wo(t){var e=t.read_shift(2),r=t.read_shift(2)-4,n=[e];switch(e){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=yo(t);break;case 6:n[1]=function(t,e){return pr(t,e)}(t,r);break;case 14:case 15:n[1]=t.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+e+" "+r)}return n}function xo(t,e,r,n){var i,o=Array.isArray(t);e.forEach((function(e){var a=Er(e.ref);if(o?(t[a.r]||(t[a.r]=[]),i=t[a.r][a.c]):i=t[e.ref],!i){i={t:"z"},o?t[a.r][a.c]=i:t[e.ref]=i;var s=Ar(t["!ref"]||"BDWGO1000001:A1");s.s.r>a.r&&(s.s.r=a.r),s.e.r<a.r&&(s.e.r=a.r),s.s.c>a.c&&(s.s.c=a.c),s.e.c<a.c&&(s.e.c=a.c);var c=jr(s);c!==t["!ref"]&&(t["!ref"]=c)}i.c||(i.c=[]);var u={a:e.author,t:e.t,r:e.r,T:r};e.h&&(u.h=e.h);for(var l=i.c.length-1;l>=0;--l){if(!r&&i.c[l].T)return;r&&!i.c[l].T&&i.c.splice(l,1)}if(r&&n)for(l=0;l<n.length;++l)if(u.a==n[l].id){u.a=n[l].name||u.a;break}i.c.push(u)}))}var Oo=Ir;var _o=function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,e={r:0,c:0};function r(t,r,n,i){var o=!1,a=!1;0==n.length?a=!0:"["==n.charAt(0)&&(a=!0,n=n.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=n.length>0?0|parseInt(n,10):0,c=i.length>0?0|parseInt(i,10):0;return o?c+=e.c:--c,a?s+=e.r:--s,r+(o?"":"$")+kr(c)+(a?"":"$")+_r(s)}return function(n,i){return e=i,n.replace(t,r)}}(),So=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ko=function(){return function(t,e){return t.replace(So,(function(t,r,n,i,o,a){var s=Sr(i)-(n?0:e.c),c=Or(a)-(o?0:e.r);return r+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":n?s+1:"["+s+"]")}))}}();function Eo(t,e){return t.replace(So,(function(t,r,n,i,o,a){return r+("$"==n?n+i:kr(Sr(i)+e.c))+("$"==o?o+a:_r(Or(a)+e.r))}))}function Mo(t,e,r){var n=Cr(e).s,i=Er(r);return Eo(t,{r:i.r-n.r,c:i.c-n.c})}function Co(t){return t.replace(/_xlfn\./g,"")}function jo(t){t.l+=1}function Ao(t,e){var r=t.read_shift(1==e?1:2);return[16383&r,r>>14&1,r>>15&1]}function To(t,e,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Po(t);12==r.biff&&(n=4)}var i=t.read_shift(n),o=t.read_shift(n),a=Ao(t,2),s=Ao(t,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function Po(t){var e=Ao(t,2),r=Ao(t,2),n=t.read_shift(1),i=t.read_shift(1);return{s:{r:e[0],c:n,cRel:e[1],rRel:e[2]},e:{r:r[0],c:i,cRel:r[1],rRel:r[2]}}}function Do(t,e,r){if(r&&r.biff>=2&&r.biff<=5)return function(t){var e=Ao(t,2),r=t.read_shift(1);return{r:e[0],c:r,cRel:e[1],rRel:e[2]}}(t);var n=t.read_shift(r&&12==r.biff?4:2),i=Ao(t,2);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function Ro(t){var e=t.read_shift(2),r=t.read_shift(2);return{r:e,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Lo(t){var e=1&t[t.l+1];return t.l+=4,[e,1]}function Io(t){return[t.read_shift(1),t.read_shift(1)]}function No(t,e){var r=[t.read_shift(1)];if(12==e)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Pn(t,1)?"TRUE":"FALSE",12!=e&&(t.l+=7);break;case 37:case 16:r[1]=on[t[t.l]],t.l+=12==e?4:8;break;case 0:t.l+=8;break;case 1:r[1]=$r(t);break;case 2:r[1]=Bn(t,0,{biff:e>0&&e<8?2:e});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Fo(t,e,r){for(var n=t.read_shift(12==r.biff?4:2),i=[],o=0;o!=n;++o)i.push((12==r.biff?Xr:Yn)(t,8));return i}function Bo(t,e,r){var n=0,i=0;12==r.biff?(n=t.read_shift(4),i=t.read_shift(4)):(i=1+t.read_shift(1),n=1+t.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--i&&(i=256));for(var o=0,a=[];o!=n&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=No(t,r.biff);return a}function zo(t,e,r){return t.l+=2,[Ro(t)]}function Ho(t){return t.l+=6,[]}function Uo(t){return t.l+=2,[Dn(t),1&t.read_shift(2)]}var Wo=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var qo={1:{n:"PtgExp",f:function(t,e,r){return t.l++,r&&12==r.biff?[t.read_shift(4,"i"),0]:[t.read_shift(2),t.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:pr},3:{n:"PtgAdd",f:jo},4:{n:"PtgSub",f:jo},5:{n:"PtgMul",f:jo},6:{n:"PtgDiv",f:jo},7:{n:"PtgPower",f:jo},8:{n:"PtgConcat",f:jo},9:{n:"PtgLt",f:jo},10:{n:"PtgLe",f:jo},11:{n:"PtgEq",f:jo},12:{n:"PtgGe",f:jo},13:{n:"PtgGt",f:jo},14:{n:"PtgNe",f:jo},15:{n:"PtgIsect",f:jo},16:{n:"PtgUnion",f:jo},17:{n:"PtgRange",f:jo},18:{n:"PtgUplus",f:jo},19:{n:"PtgUminus",f:jo},20:{n:"PtgPercent",f:jo},21:{n:"PtgParen",f:jo},22:{n:"PtgMissArg",f:jo},23:{n:"PtgStr",f:function(t,e,r){return t.l++,Ln(t,0,r)}},26:{n:"PtgSheet",f:function(t,e,r){return t.l+=5,t.l+=2,t.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(t,e,r){return t.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(t){return t.l++,on[t.read_shift(1)]}},29:{n:"PtgBool",f:function(t){return t.l++,0!==t.read_shift(1)}},30:{n:"PtgInt",f:function(t){return t.l++,t.read_shift(2)}},31:{n:"PtgNum",f:function(t){return t.l++,$r(t)}},32:{n:"PtgArray",f:function(t,e,r){var n=(96&t[t.l++])>>5;return t.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(t,e,r){var n=(96&t[t.l])>>5;t.l+=1;var i=t.read_shift(r&&r.biff<=3?1:2);return[fa[i],la[i],n]}},34:{n:"PtgFuncVar",f:function(t,e,r){var n=t[t.l++],i=t.read_shift(1),o=r&&r.biff<=3?[88==n?-1:0,t.read_shift(1)]:function(t){return[t[t.l+1]>>7,32767&t.read_shift(2)]}(t);return[i,(0===o[0]?la:ua)[o[1]]]}},35:{n:"PtgName",f:function(t,e,r){var n=t.read_shift(1)>>>5&3,i=!r||r.biff>=8?4:2,o=t.read_shift(i);switch(r.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12}return[n,0,o]}},36:{n:"PtgRef",f:function(t,e,r){var n=(96&t[t.l])>>5;return t.l+=1,[n,Do(t,0,r)]}},37:{n:"PtgArea",f:function(t,e,r){return[(96&t[t.l++])>>5,To(t,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(t,e,r){var n=t.read_shift(1)>>>5&3;return t.l+=r&&2==r.biff?3:4,[n,t.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:pr},40:{n:"PtgMemNoMem",f:pr},41:{n:"PtgMemFunc",f:function(t,e,r){return[t.read_shift(1)>>>5&3,t.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(t,e,r){var n=t.read_shift(1)>>>5&3;return t.l+=4,r.biff<8&&t.l--,12==r.biff&&(t.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(t,e,r){var n=(96&t[t.l++])>>5;return t.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(t,e,r){var n=(96&t[t.l])>>5;return t.l+=1,[n,function(t,e,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(t){var e=t.read_shift(2),r=t.read_shift(1),n=(32768&e)>>15,i=(16384&e)>>14;e&=16383,1==n&&e>=8192&&(e-=16384);1==i&&r>=128&&(r-=256);return{r:e,c:r,cRel:i,rRel:n}}(t);var i=t.read_shift(n>=12?4:2),o=t.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;i>524287;)i-=1048576;if(1==a)for(;o>8191;)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}(t,0,r)]}},45:{n:"PtgAreaN",f:function(t,e,r){return[(96&t[t.l++])>>5,function(t,e,r){if(r.biff<8)return Po(t);var n=t.read_shift(12==r.biff?4:2),i=t.read_shift(12==r.biff?4:2),o=Ao(t,2),a=Ao(t,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}(t,0,r)]}},46:{n:"PtgMemAreaN",f:function(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},57:{n:"PtgNameX",f:function(t,e,r){return 5==r.biff?function(t){var e=t.read_shift(1)>>>5&3,r=t.read_shift(2,"i");t.l+=8;var n=t.read_shift(2);return t.l+=12,[e,r,n]}(t):[t.read_shift(1)>>>5&3,t.read_shift(2),t.read_shift(4)]}},58:{n:"PtgRef3d",f:function(t,e,r){var n=(96&t[t.l])>>5;t.l+=1;var i=t.read_shift(2);return r&&5==r.biff&&(t.l+=12),[n,i,Do(t,0,r)]}},59:{n:"PtgArea3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t.read_shift(2,"i");if(r)switch(r.biff){case 5:t.l+=12,6;break;case 12:12}return[n,i,To(t,0,r)]}},60:{n:"PtgRefErr3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t.read_shift(2),o=4;if(r)switch(r.biff){case 5:o=15;break;case 12:o=6}return t.l+=o,[n,i]}},61:{n:"PtgAreaErr3d",f:function(t,e,r){var n=(96&t[t.l++])>>5,i=t.read_shift(2),o=8;if(r)switch(r.biff){case 5:t.l+=12,o=6;break;case 12:o=12}return t.l+=o,[n,i]}},255:{}},Vo={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Go={1:{n:"PtgElfLel",f:Uo},2:{n:"PtgElfRw",f:zo},3:{n:"PtgElfCol",f:zo},6:{n:"PtgElfRwV",f:zo},7:{n:"PtgElfColV",f:zo},10:{n:"PtgElfRadical",f:zo},11:{n:"PtgElfRadicalS",f:Ho},13:{n:"PtgElfColS",f:Ho},15:{n:"PtgElfColSV",f:Ho},16:{n:"PtgElfRadicalLel",f:Uo},25:{n:"PtgList",f:function(t){t.l+=2;var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(4),i=t.read_shift(2),o=t.read_shift(2);return{ixti:e,coltype:3&r,rt:Wo[r>>2&31],idx:n,c:i,C:o}}},29:{n:"PtgSxName",f:function(t){return t.l+=2,[t.read_shift(4)]}},255:{}},Yo={0:{n:"PtgAttrNoop",f:function(t){return t.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=2,[n,t.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(t,e,r){t.l+=2;for(var n=t.read_shift(r&&2==r.biff?1:2),i=[],o=0;o<=n;++o)i.push(t.read_shift(r&&2==r.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function(t,e,r){var n=255&t[t.l+1]?1:0;return t.l+=2,[n,t.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(t,e,r){t.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Lo},33:{n:"PtgAttrBaxcel",f:Lo},64:{n:"PtgAttrSpace",f:function(t){return t.read_shift(2),Io(t)}},65:{n:"PtgAttrSpaceSemi",f:function(t){return t.read_shift(2),Io(t)}},128:{n:"PtgAttrIfError",f:function(t){var e=255&t[t.l+1]?1:0;return t.l+=2,[e,t.read_shift(2)]}},255:{}};function Xo(t,e,r,n){if(n.biff<8)return pr(t,e);for(var i=t.l+e,o=[],a=0;a!==r.length;++a)switch(r[a][0]){case"PtgArray":r[a][1]=Bo(t,0,n),o.push(r[a][1]);break;case"PtgMemArea":r[a][2]=Fo(t,r[a][1],n),o.push(r[a][2]);break;case"PtgExp":n&&12==n.biff&&(r[a][1][1]=t.read_shift(4),o.push(r[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[a][0]}return 0!==(e=i-t.l)&&o.push(pr(t,e)),o}function $o(t,e,r){for(var n,i,o=t.l+e,a=[];o!=t.l;)e=o-t.l,i=t[t.l],n=qo[i]||qo[Vo[i]],24!==i&&25!==i||(n=(24===i?Go:Yo)[t[t.l+1]]),n&&n.f?a.push([n.n,n.f(t,e,r)]):pr(t,e);return a}function Ko(t){for(var e=[],r=0;r<t.length;++r){for(var n=t[r],i=[],o=0;o<n.length;++o){var a=n[o];if(a)switch(a[0]){case 2:i.push('"'+a[1].replace(/"/g,'""')+'"');break;default:i.push(a[1])}else i.push("")}e.push(i.join(","))}return e.join(";")}var Zo={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Jo(t,e,r){if(!t)return"SH33TJSERR0";if(r.biff>8&&(!t.XTI||!t.XTI[e]))return t.SheetNames[e];if(!t.XTI)return"SH33TJSERR6";var n=t.XTI[e];if(r.biff<8)return e>1e4&&(e-=65536),e<0&&(e=-e),0==e?"":t.XTI[e-1];if(!n)return"SH33TJSERR1";var i="";if(r.biff>8)switch(t[n[0]][0]){case 357:return i=-1==n[1]?"#REF":t.SheetNames[n[1]],n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 358:return null!=r.SID?t.SheetNames[r.SID]:"SH33TJSSAME"+t[n[0]][0];case 355:default:return"SH33TJSSRC"+t[n[0]][0]}switch(t[n[0]][0][0]){case 1025:return i=-1==n[1]?"#REF":t.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+t.SheetNames[n[2]];case 14849:return t[n[0]].slice(1).map((function(t){return t.Name})).join(";;");default:return t[n[0]][0][3]?(i=-1==n[1]?"#REF":t[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+t[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Qo(t,e,r){var n=Jo(t,e,r);return"#REF"==n?n:function(t,e){if(!t&&!(e&&e.biff<=5&&e.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t+"'":t}(n,r)}function ta(t,e,r,n,i){var o,a,s,c,u=i&&i.biff||8,l={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!t[0]||!t[0][0])return"";for(var m=-1,b="",v=0,g=t[0].length;v<g;++v){var y=t[0][v];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),a=f.pop(),m>=0){switch(t[0][m][1][0]){case 0:b=Bt(" ",t[0][m][1][1]);break;case 1:b=Bt("\r",t[0][m][1][1]);break;default:if(b="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}a+=b,m=-1}f.push(a+Zo[y[0]]+o);break;case"PtgIsect":o=f.pop(),a=f.pop(),f.push(a+" "+o);break;case"PtgUnion":o=f.pop(),a=f.pop(),f.push(a+","+o);break;case"PtgRange":o=f.pop(),a=f.pop(),f.push(a+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=gr(y[1][1],l,i),f.push(wr(s,u));break;case"PtgRefN":s=r?gr(y[1][1],r,i):y[1][1],f.push(wr(s,u));break;case"PtgRef3d":h=y[1][1],s=gr(y[1][2],l,i);p=Qo(n,h,i);f.push(p+"!"+wr(s,u));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0);var O=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===x&&(x=O.shift()),f.push(x+"("+O.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":c=yr(y[1][1],r?{s:r}:l,i),f.push(xr(c,i));break;case"PtgArea":c=yr(y[1][1],l,i),f.push(xr(c,i));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=Qo(n,h,i),f.push(p+"!"+xr(c,i));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var _=(n.names||[])[d-1]||(n[0]||[])[d],S=_?_.Name:"SH33TJSNAME"+String(d);S&&"_xlfn."==S.slice(0,6)&&!i.xlfn&&(S=S.slice(6)),f.push(S);break;case"PtgNameX":var k,E=y[1][1];if(d=y[1][2],!(i.biff<=5)){var M="";if(14849==((n[E]||[])[0]||[])[0]||(1025==((n[E]||[])[0]||[])[0]?n[E][d]&&n[E][d].itab>0&&(M=n.SheetNames[n[E][d].itab-1]+"!"):M=n.SheetNames[d-1]+"!"),n[E]&&n[E][d])M+=n[E][d].Name;else if(n[0]&&n[0][d])M+=n[0][d].Name;else{var C=(Jo(n,E,i)||"").split(";;");C[d-1]?M=C[d-1]:M+="SH33TJSERRX"}f.push(M);break}E<0&&(E=-E),n[E]&&(k=n[E][d]),k||(k={Name:"SH33TJSERRY"}),f.push(k.Name);break;case"PtgParen":var j="(",A=")";if(m>=0){switch(b="",t[0][m][1][0]){case 2:j=Bt(" ",t[0][m][1][1])+j;break;case 3:j=Bt("\r",t[0][m][1][1])+j;break;case 4:A=Bt(" ",t[0][m][1][1])+A;break;case 5:A=Bt("\r",t[0][m][1][1])+A;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][m][1][0])}m=-1}f.push(j+f.pop()+A);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var T={c:r.c,r:r.r};if(n.sharedf[Mr(s)]){var P=n.sharedf[Mr(s)];f.push(ta(P,l,T,n,i))}else{var D=!1;for(o=0;o!=n.arrayf.length;++o)if(a=n.arrayf[o],!(s.c<a[0].s.c||s.c>a[0].e.c)&&!(s.r<a[0].s.r||s.r>a[0].e.r)){f.push(ta(a[1],l,T,n,i)),D=!0;break}D||f.push(y[1])}break;case"PtgArray":f.push("{"+Ko(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=i.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(t[0][v][0])){var R=!0;switch((y=t[0][m])[1][0]){case 4:R=!1;case 0:b=Bt(" ",y[1][1]);break;case 5:R=!1;case 1:b=Bt("\r",y[1][1]);break;default:if(b="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((R?b:"")+f.pop()+(R?"":b)),m=-1}}if(f.length>1&&i.WTF)throw new Error("bad formula stack");return f[0]}function ea(t,e,r){var n,i=t.l+e,o=2==r.biff?1:2,a=t.read_shift(o);if(65535==a)return[[],pr(t,e-2)];var s=$o(t,a,r);return e!==a+o&&(n=Xo(t,e-a-o,s,r)),t.l=i,[s,n]}function ra(t,e,r){var n,i=t.l+e,o=t.read_shift(2),a=$o(t,o,r);return 65535==o?[[],pr(t,e-2)]:(e!==o+2&&(n=Xo(t,i-o-2,a,r)),[a,n])}function na(t,e,r){var n=t.l+e,i=qn(t);2==r.biff&&++t.l;var o=function(t){var e;if(65535!==ir(t,t.l+6))return[$r(t),"n"];switch(t[t.l]){case 0:return t.l+=8,["String","s"];case 1:return e=1===t[t.l+2],t.l+=8,[e,"b"];case 2:return e=t[t.l+2],t.l+=8,[e,"e"];case 3:return t.l+=8,["","s"]}return[]}(t),a=t.read_shift(1);2!=r.biff&&(t.read_shift(1),r.biff>=5&&t.read_shift(4));var s=function(t,e,r){var n,i=t.l+e,o=2==r.biff?1:2,a=t.read_shift(o);if(65535==a)return[[],pr(t,e-2)];var s=$o(t,a,r);return e!==a+o&&(n=Xo(t,e-a-o,s,r)),t.l=i,[s,n]}(t,n-t.l,r);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function ia(t,e,r){var n=t.read_shift(4),i=$o(t,n,r),o=t.read_shift(4);return[i,o>0?Xo(t,o,i,r):null]}var oa=ia,aa=ia,sa=ia,ca=ia,ua={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},la={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},fa={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function ha(t){return"of:"==t.slice(0,3)&&(t=t.slice(3)),61==t.charCodeAt(0)&&61==(t=t.slice(1)).charCodeAt(0)&&(t=t.slice(1)),(t=(t=(t=t.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(t,e){return e.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function da(t){var e=t.split(":");return[e[0].split(".")[0],e[0].split(".")[1]+(e.length>1?":"+(e[1].split(".")[1]||e[1].split(".")[0]):"")]}var pa={},ma={};function ba(t,e){if(t){var r=[.7,.7,.75,.75,.3,.3];"xlml"==e&&(r=[1,1,1,1,.5,.5]),null==t.left&&(t.left=r[0]),null==t.right&&(t.right=r[1]),null==t.top&&(t.top=r[2]),null==t.bottom&&(t.bottom=r[3]),null==t.header&&(t.header=r[4]),null==t.footer&&(t.footer=r[5])}}function va(t,e,r,n,i,o){try{n.cellNF&&(t.z=B[e])}catch(s){if(n.WTF)throw s}if("z"!==t.t||n.cellStyles){if("d"===t.t&&"string"===typeof t.v&&(t.v=It(t.v)),(!n||!1!==n.cellText)&&"z"!==t.t)try{if(null==B[e]&&vt(yt[e]||"General",e),"e"===t.t)t.w=t.w||on[t.v];else if(0===e)if("n"===t.t)(0|t.v)===t.v?t.w=t.v.toString(10):t.w=K(t.v);else if("d"===t.t){var a=Mt(t.v);t.w=(0|a)===a?a.toString(10):K(a)}else{if(void 0===t.v)return"";t.w=Z(t.v,ma)}else"d"===t.t?t.w=bt(e,Mt(t.v),ma):t.w=bt(e,t.v,ma)}catch(s){if(n.WTF)throw s}if(n.cellStyles&&null!=r)try{t.s=o.Fills[r],t.s.fgColor&&t.s.fgColor.theme&&!t.s.fgColor.rgb&&(t.s.fgColor.rgb=Gi(i.themeElements.clrScheme[t.s.fgColor.theme].rgb,t.s.fgColor.tint||0),n.WTF&&(t.s.fgColor.raw_rgb=i.themeElements.clrScheme[t.s.fgColor.theme].rgb)),t.s.bgColor&&t.s.bgColor.theme&&(t.s.bgColor.rgb=Gi(i.themeElements.clrScheme[t.s.bgColor.theme].rgb,t.s.bgColor.tint||0),n.WTF&&(t.s.bgColor.raw_rgb=i.themeElements.clrScheme[t.s.bgColor.theme].rgb))}catch(s){if(n.WTF&&o.Fills)throw s}}}var ga=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,ya=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,wa=/<(?:\w:)?hyperlink [^>]*>/gm,xa=/"(\w*:\w*)"/,Oa=/<(?:\w:)?col\b[^>]*[\/]?>/g,_a=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Sa=/<(?:\w:)?pageMargins[^>]*\/>/g,ka=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Ea=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ma=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Ca(t,e,r,n,i,o,a){if(!t)return t;n||(n={"!id":{}});var s=e.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},u="",l="",f=t.match(ya);f?(u=t.slice(0,f.index),l=t.slice(f.index+f[0].length)):u=l=t;var h=u.match(ka);h?ja(h[0],s,i,r):(h=u.match(Ea))&&function(t,e,r,n,i){ja(t.slice(0,t.indexOf(">")),r,n,i)}(h[0],h[1],s,i,r);var d=(u.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=u.slice(d,d+50).match(xa);p&&function(t,e){var r=Ar(e);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(t["!ref"]=jr(r))}(s,p[1])}var m=u.match(Ma);m&&m[1]&&function(t,e){e.Views||(e.Views=[{}]);(t.match(Aa)||[]).forEach((function(t,r){var n=ae(t);e.Views[r]||(e.Views[r]={}),+n.zoomScale&&(e.Views[r].zoom=+n.zoomScale),me(n.rightToLeft)&&(e.Views[r].RTL=!0)}))}(m[1],i);var b=[];if(e.cellStyles){var v=u.match(Oa);v&&function(t,e){for(var r=!1,n=0;n!=e.length;++n){var i=ae(e[n],!0);i.hidden&&(i.hidden=me(i.hidden));var o=parseInt(i.min,10)-1,a=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!r&&i.width&&(r=!0,Ji(i.width)),Qi(i);o<=a;)t[o++]=Ft(i)}}(b,v)}f&&Ta(f[1],s,e,c,o,a);var g=l.match(_a);g&&(s["!autofilter"]=function(t){return{ref:(t.match(/ref="([^"]*)"/)||[])[1]}}(g[0]));var y=[],w=l.match(ga);if(w)for(d=0;d!=w.length;++d)y[d]=Ar(w[d].slice(w[d].indexOf('"')+1));var x=l.match(wa);x&&function(t,e,r){for(var n=Array.isArray(t),i=0;i!=e.length;++i){var o=ae(we(e[i]),!0);if(!o.ref)return;var a=((r||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+le(o.location))):(o.Target="#"+le(o.location),a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=Ar(o.ref),c=s.s.r;c<=s.e.r;++c)for(var u=s.s.c;u<=s.e.c;++u){var l=Mr({c:u,r:c});n?(t[c]||(t[c]=[]),t[c][u]||(t[c][u]={t:"z",v:void 0}),t[c][u].l=o):(t[l]||(t[l]={t:"z",v:void 0}),t[l].l=o)}}}(s,x,n);var O=l.match(Sa);if(O&&(s["!margins"]=function(t){var e={};return["left","right","top","bottom","header","footer"].forEach((function(r){t[r]&&(e[r]=parseFloat(t[r]))})),e}(ae(O[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=jr(c)),e.sheetRows>0&&s["!ref"]){var _=Ar(s["!ref"]);e.sheetRows<=+_.e.r&&(_.e.r=e.sheetRows-1,_.e.r>c.e.r&&(_.e.r=c.e.r),_.e.r<_.s.r&&(_.s.r=_.e.r),_.e.c>c.e.c&&(_.e.c=c.e.c),_.e.c<_.s.c&&(_.s.c=_.e.c),s["!fullref"]=s["!ref"],s["!ref"]=jr(_))}return b.length>0&&(s["!cols"]=b),y.length>0&&(s["!merges"]=y),s}function ja(t,e,r,n){var i=ae(t);r.Sheets[n]||(r.Sheets[n]={}),i.codeName&&(r.Sheets[n].CodeName=le(we(i.codeName)))}var Aa=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;var Ta=function(){var t=/<(?:\w+:)?c[ \/>]/,e=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,i=/ref=["']([^"']*)["']/,o=Oe("v"),a=Oe("f");return function(s,c,u,l,f,h){for(var d,p,m,b,v,g=0,y="",w=[],x=[],O=0,_=0,S=0,k="",E=0,M=0,C=0,j=0,A=Array.isArray(h.CellXf),T=[],P=[],D=Array.isArray(c),R=[],L={},I=!1,N=!!u.sheetStubs,F=s.split(e),z=0,H=F.length;z!=H;++z){var U=(y=F[z].trim()).length;if(0!==U){var W=0;t:for(g=0;g<U;++g)switch(y[g]){case">":if("/"!=y[g-1]){++g;break t}if(u&&u.cellStyles){if(E=null!=(p=ae(y.slice(W,g),!0)).r?parseInt(p.r,10):E+1,M=-1,u.sheetRows&&u.sheetRows<E)continue;L={},I=!1,p.ht&&(I=!0,L.hpt=parseFloat(p.ht),L.hpx=eo(L.hpt)),"1"==p.hidden&&(I=!0,L.hidden=!0),null!=p.outlineLevel&&(I=!0,L.level=+p.outlineLevel),I&&(R[E-1]=L)}break;case"<":W=g}if(W>=g)break;if(E=null!=(p=ae(y.slice(W,g),!0)).r?parseInt(p.r,10):E+1,M=-1,!(u.sheetRows&&u.sheetRows<E)){l.s.r>E-1&&(l.s.r=E-1),l.e.r<E-1&&(l.e.r=E-1),u&&u.cellStyles&&(L={},I=!1,p.ht&&(I=!0,L.hpt=parseFloat(p.ht),L.hpx=eo(L.hpt)),"1"==p.hidden&&(I=!0,L.hidden=!0),null!=p.outlineLevel&&(I=!0,L.level=+p.outlineLevel),I&&(R[E-1]=L)),w=y.slice(g).split(t);for(var q=0;q!=w.length&&"<"==w[q].trim().charAt(0);++q);for(w=w.slice(q),g=0;g!=w.length;++g)if(0!==(y=w[g].trim()).length){if(x=y.match(r),O=g,_=0,S=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=x&&2===x.length){for(O=0,k=x[1],_=0;_!=k.length&&!((S=k.charCodeAt(_)-64)<1||S>26);++_)O=26*O+S;M=--O}else++M;for(_=0;_!=y.length&&62!==y.charCodeAt(_);++_);if(++_,(p=ae(y.slice(0,_),!0)).r||(p.r=Mr({r:E-1,c:M})),d={t:""},null!=(x=(k=y.slice(_)).match(o))&&""!==x[1]&&(d.v=le(x[1])),u.cellFormula){if(null!=(x=k.match(a))&&""!==x[1]){if(d.f=le(we(x[1])).replace(/\r\n/g,"\n"),u.xlfn||(d.f=Co(d.f)),x[0].indexOf('t="array"')>-1)d.F=(k.match(i)||[])[1],d.F.indexOf(":")>-1&&T.push([Ar(d.F),d.F]);else if(x[0].indexOf('t="shared"')>-1){b=ae(x[0]);var V=le(we(x[1]));u.xlfn||(V=Co(V)),P[parseInt(b.si,10)]=[b,V,p.r]}}else(x=k.match(/<f[^>]*\/>/))&&P[(b=ae(x[0])).si]&&(d.f=Mo(P[b.si][1],P[b.si][2],p.r));var G=Er(p.r);for(_=0;_<T.length;++_)G.r>=T[_][0].s.r&&G.r<=T[_][0].e.r&&G.c>=T[_][0].s.c&&G.c<=T[_][0].e.c&&(d.F=T[_][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!N)continue;d.t="z"}else d.t=p.t||"n";switch(l.s.c>M&&(l.s.c=M),l.e.c<M&&(l.e.c=M),d.t){case"n":if(""==d.v||null==d.v){if(!N)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if("undefined"==typeof d.v){if(!N)continue;d.t="z"}else m=pa[parseInt(d.v,10)],d.v=m.t,d.r=m.r,u.cellHTML&&(d.h=m.h);break;case"str":d.t="s",d.v=null!=d.v?we(d.v):"",u.cellHTML&&(d.h=de(d.v));break;case"inlineStr":x=k.match(n),d.t="s",null!=x&&(m=Mi(x[1]))?(d.v=m.t,u.cellHTML&&(d.h=m.h)):d.v="";break;case"b":d.v=me(d.v);break;case"d":u.cellDates?d.v=It(d.v,1):(d.v=Mt(It(d.v,1)),d.t="n");break;case"e":u&&!1===u.cellText||(d.w=d.v),d.v=an[d.v]}if(C=j=0,v=null,A&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(C=v.numFmtId),u.cellStyles&&null!=v.fillId&&(j=v.fillId)),va(d,C,j,u,f,h),u.cellDates&&A&&"n"==d.t&&ht(B[C])&&(d.t="d",d.v=Tt(d.v)),p.cm&&u.xlmeta){var Y=(u.xlmeta.Cell||[])[+p.cm-1];Y&&"XLDAPR"==Y.type&&(d.D=!0)}if(D){var X=Er(p.r);c[X.r]||(c[X.r]=[]),c[X.r][X.c]=d}else c[p.r]=d}}}}R.length>0&&(c["!rows"]=R)}}();var Pa=Xr;function Da(t){return[Hr(t),$r(t),"n"]}var Ra=Xr;var La=["left","right","top","bottom","header","footer"];function Ia(t,e,r,n,i,o){var a=o||{"!type":"chart"};if(!t)return o;var s=0,c=0,u="A",l={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(t.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(t){var e=function(t){var e,r=[],n=t.match(/^<c:numCache>/);(t.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(t){var e=t.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);e&&(r[+e[1]]=n?+e[2]:e[2])}));var i=le((t.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(t.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(t){e=t.replace(/<.*?>/g,"")})),[r,i,e]}(t);l.s.r=l.s.c=0,l.e.c=s,u=kr(s),e[0].forEach((function(t,r){a[u+_r(r)]={t:"n",v:t,z:e[1]},c=r})),l.e.r<c&&(l.e.r=c),++s})),s>0&&(a["!ref"]=jr(l)),a}var Na=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Fa=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Ba=[],za=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Ha(t,e){for(var r=0;r!=t.length;++r)for(var n=t[r],i=0;i!=e.length;++i){var o=e[i];if(null==n[o[0]])n[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof n[o[0]]&&(n[o[0]]=me(n[o[0]]));break;case"int":"string"==typeof n[o[0]]&&(n[o[0]]=parseInt(n[o[0]],10))}}}function Ua(t,e){for(var r=0;r!=e.length;++r){var n=e[r];if(null==t[n[0]])t[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof t[n[0]]&&(t[n[0]]=me(t[n[0]]));break;case"int":"string"==typeof t[n[0]]&&(t[n[0]]=parseInt(t[n[0]],10))}}}function Wa(t){Ua(t.WBProps,Na),Ua(t.CalcPr,za),Ha(t.WBView,Fa),Ha(t.Sheets,Ba),ma.date1904=me(t.WBProps.date1904)}var qa="][*?/\\".split("");function Va(t,e){if(t.length>31){if(e)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return qa.forEach((function(n){if(-1!=t.indexOf(n)){if(!e)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}var Ga=/<\w+:workbook/;function Ya(t,e){var r={};return t.read_shift(4),r.ArchID=t.read_shift(4),t.l+=e-8,r}function Xa(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],i=!1;e||(e={}),e.biff=12;var o=[],a=[[]];return a.SheetNames=[],a.XTI=[],Ss[16]={n:"BrtFRTArchID$",f:Ya},br(t,(function(t,s,c){switch(c){case 156:a.SheetNames.push(t.name),r.Sheets.push(t);break;case 153:r.WBProps=t;break;case 39:null!=t.Sheet&&(e.SID=t.Sheet),t.Ref=ta(t.Ptg,0,null,a,e),delete e.SID,delete t.Ptg,o.push(t);break;case 1036:break;case 357:case 358:case 355:case 667:a[0].length?a.push([c,t]):a[0]=[c,t],a[a.length-1].XTI=[];break;case 362:0===a.length&&(a[0]=[],a[0].XTI=[]),a[a.length-1].XTI=a[a.length-1].XTI.concat(t),a.XTI=a.XTI.concat(t);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(c),i=!0;break;case 36:n.pop(),i=!1;break;case 37:n.push(c),i=!0;break;case 38:n.pop(),i=!1;break;case 16:break;default:if(s.T);else if(!i||e.WTF&&37!=n[n.length-1]&&35!=n[n.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),e),Wa(r),r.Names=o,r.supbooks=a,r}(t,r):function(t,e){if(!t)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,i="xmlns",o={},a=0;if(t.replace(ne,(function(s,c){var u=ae(s);switch(se(u[0])){case"<?xml":break;case"<workbook":s.match(Ga)&&(i="xmlns"+s.match(/<(\w+):/)[1]),r.xmlns=u[i];break;case"</workbook>":break;case"<fileVersion":delete u[0],r.AppVersion=u;break;case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":Na.forEach((function(t){if(null!=u[t[0]])switch(t[2]){case"bool":r.WBProps[t[0]]=me(u[t[0]]);break;case"int":r.WBProps[t[0]]=parseInt(u[t[0]],10);break;default:r.WBProps[t[0]]=u[t[0]]}})),u.codeName&&(r.WBProps.CodeName=we(u.codeName));break;case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete u[0],r.WBView.push(u);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(u.state){case"hidden":u.Hidden=1;break;case"veryHidden":u.Hidden=2;break;default:u.Hidden=0}delete u.state,u.name=le(we(u.name)),delete u[0],r.Sheets.push(u);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":n=!0;break;case"</definedNames>":n=!1;break;case"<definedName":(o={}).Name=we(u.name),u.comment&&(o.Comment=u.comment),u.localSheetId&&(o.Sheet=+u.localSheetId),me(u.hidden||"0")&&(o.Hidden=!0),a=c+s.length;break;case"</definedName>":o.Ref=le(we(t.slice(a,c))),r.Names.push(o);break;case"<definedName/>":break;case"<calcPr":case"<calcPr/>":delete u[0],r.CalcPr=u;break;case"</calcPr>":case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</AlternateContent>":n=!1;break;case"<revisionPtr":break;default:if(!n&&e.WTF)throw new Error("unrecognized "+u[0]+" in workbook")}return s})),-1===Re.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return Wa(r),r}(t,r)}function $a(t,e,r,n,i,o,a,s){return".bin"===e.slice(-4)?function(t,e,r,n,i,o,a){if(!t)return t;var s=e||{};n||(n={"!id":{}});var c,u,l,f,h,d,p,m,b,v,g=s.dense?[]:{},y={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=[],x=!1,O=!1,_=[];s.biff=12,s["!row"]=0;var S=0,k=!1,E=[],M={},C=s.supbooks||i.supbooks||[[]];if(C.sharedf=M,C.arrayf=E,C.SheetNames=i.SheetNames||i.Sheets.map((function(t){return t.name})),!s.supbooks&&(s.supbooks=C,i.Names))for(var j=0;j<i.Names.length;++j)C[0][j+1]=i.Names[j];var A,T,P=[],D=[],R=!1;if(Ss[16]={n:"BrtShortReal",f:Da},br(t,(function(t,e,j){if(!O)switch(j){case 148:c=t;break;case 0:u=t,s.sheetRows&&s.sheetRows<=u.r&&(O=!0),b=_r(h=u.r),s["!row"]=u.r,(t.hidden||t.hpt||null!=t.level)&&(t.hpt&&(t.hpx=eo(t.hpt)),D[t.r]=t);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(l={t:t[2]},t[2]){case"n":l.v=t[1];break;case"s":m=pa[t[1]],l.v=m.t,l.r=m.r;break;case"b":l.v=!!t[1];break;case"e":l.v=t[1],!1!==s.cellText&&(l.w=on[l.v]);break;case"str":l.t="s",l.v=t[1];break;case"is":l.t="s",l.v=t[1].t}if((f=a.CellXf[t[0].iStyleRef])&&va(l,f.numFmtId,null,s,o,a),d=-1==t[0].c?d+1:t[0].c,s.dense?(g[h]||(g[h]=[]),g[h][d]=l):g[kr(d)+b]=l,s.cellFormula){for(k=!1,S=0;S<E.length;++S){var L=E[S];u.r>=L[0].s.r&&u.r<=L[0].e.r&&d>=L[0].s.c&&d<=L[0].e.c&&(l.F=jr(L[0]),k=!0)}!k&&t.length>3&&(l.f=t[3])}if(y.s.r>u.r&&(y.s.r=u.r),y.s.c>d&&(y.s.c=d),y.e.r<u.r&&(y.e.r=u.r),y.e.c<d&&(y.e.c=d),s.cellDates&&f&&"n"==l.t&&ht(B[f.numFmtId])){var I=W(l.v);I&&(l.t="d",l.v=new Date(I.y,I.m-1,I.d,I.H,I.M,I.S,I.u))}A&&("XLDAPR"==A.type&&(l.D=!0),A=void 0),T&&(T=void 0);break;case 1:case 12:if(!s.sheetStubs||x)break;l={t:"z",v:void 0},d=-1==t[0].c?d+1:t[0].c,s.dense?(g[h]||(g[h]=[]),g[h][d]=l):g[kr(d)+b]=l,y.s.r>u.r&&(y.s.r=u.r),y.s.c>d&&(y.s.c=d),y.e.r<u.r&&(y.e.r=u.r),y.e.c<d&&(y.e.c=d),A&&("XLDAPR"==A.type&&(l.D=!0),A=void 0),T&&(T=void 0);break;case 176:_.push(t);break;case 49:A=((s.xlmeta||{}).Cell||[])[t-1];break;case 494:var N=n["!id"][t.relId];for(N?(t.Target=N.Target,t.loc&&(t.Target+="#"+t.loc),t.Rel=N):""==t.relId&&(t.Target="#"+t.loc),h=t.rfx.s.r;h<=t.rfx.e.r;++h)for(d=t.rfx.s.c;d<=t.rfx.e.c;++d)s.dense?(g[h]||(g[h]=[]),g[h][d]||(g[h][d]={t:"z",v:void 0}),g[h][d].l=t):(p=Mr({c:d,r:h}),g[p]||(g[p]={t:"z",v:void 0}),g[p].l=t);break;case 426:if(!s.cellFormula)break;E.push(t),(v=s.dense?g[h][d]:g[kr(d)+b]).f=ta(t[1],0,{r:u.r,c:d},C,s),v.F=jr(t[0]);break;case 427:if(!s.cellFormula)break;M[Mr(t[0].s)]=t[1],(v=s.dense?g[h][d]:g[kr(d)+b]).f=ta(t[1],0,{r:u.r,c:d},C,s);break;case 60:if(!s.cellStyles)break;for(;t.e>=t.s;)P[t.e--]={width:t.w/256,hidden:!!(1&t.flags),level:t.level},R||(R=!0,Ji(t.w/256)),Qi(P[t.e+1]);break;case 161:g["!autofilter"]={ref:jr(t)};break;case 476:g["!margins"]=t;break;case 147:i.Sheets[r]||(i.Sheets[r]={}),t.name&&(i.Sheets[r].CodeName=t.name),(t.above||t.left)&&(g["!outline"]={above:t.above,left:t.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),t.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:w.push(j),x=!0;break;case 38:w.pop(),x=!1;break;default:if(e.T);else if(!x||s.WTF)throw new Error("Unexpected record 0x"+j.toString(16))}}),s),delete s.supbooks,delete s["!row"],!g["!ref"]&&(y.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(g["!ref"]=jr(c||y)),s.sheetRows&&g["!ref"]){var L=Ar(g["!ref"]);s.sheetRows<=+L.e.r&&(L.e.r=s.sheetRows-1,L.e.r>y.e.r&&(L.e.r=y.e.r),L.e.r<L.s.r&&(L.s.r=L.e.r),L.e.c>y.e.c&&(L.e.c=y.e.c),L.e.c<L.s.c&&(L.s.c=L.e.c),g["!fullref"]=g["!ref"],g["!ref"]=jr(L))}return _.length>0&&(g["!merges"]=_),P.length>0&&(g["!cols"]=P),D.length>0&&(g["!rows"]=D),g}(t,n,r,i,o,a,s):Ca(t,n,r,i,o,a,s)}function Ka(t,e,r,n,i,o,a,s){return".bin"===e.slice(-4)?function(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return br(t,(function(t,n,c){switch(c){case 550:o["!rel"]=t;break;case 651:i.Sheets[r]||(i.Sheets[r]={}),t.name&&(i.Sheets[r].CodeName=t.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(c);break;case 38:a.pop();break;default:if(n.T>0)a.push(c);else if(n.T<0)a.pop();else if(!s||e.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}),e),n["!id"][o["!rel"]]&&(o["!drawel"]=n["!id"][o["!rel"]]),o}(t,n,r,i,o):function(t,e,r,n,i){if(!t)return t;n||(n={"!id":{}});var o,a={"!type":"chart","!drawel":null,"!rel":""},s=t.match(ka);return s&&ja(s[0],0,i,r),(o=t.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),n["!id"][a["!rel"]]&&(a["!drawel"]=n["!id"][a["!rel"]]),a}(t,0,r,i,o)}function Za(t,e,r,n){return".bin"===e.slice(-4)?function(t,e,r){var n={NumberFmt:[]};for(var i in B)n.NumberFmt[i]=B[i];n.CellXf=[],n.Fonts=[];var o=[],a=!1;return br(t,(function(t,i,s){switch(s){case 44:n.NumberFmt[t[0]]=t[1],vt(t[1],t[0]);break;case 43:n.Fonts.push(t),null!=t.color.theme&&e&&e.themeElements&&e.themeElements.clrScheme&&(t.color.rgb=Gi(e.themeElements.clrScheme[t.color.theme].rgb,t.color.tint||0));break;case 1025:case 45:case 46:break;case 47:617==o[o.length-1]&&n.CellXf.push(t);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:o.push(s),a=!0;break;case 38:o.pop(),a=!1;break;default:if(i.T>0)o.push(s);else if(i.T<0)o.pop();else if(!a||r.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}})),n}(t,r,n):oo(t,r,n)}function Ja(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r=[],n=!1;return br(t,(function(t,i,o){switch(o){case 159:r.Count=t[0],r.Unique=t[1];break;case 19:r.push(t);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(i.T,!n||e.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),r}(t,r):function(t,e){var r=[],n="";if(!t)return r;var i=t.match(Ci);if(i){n=i[2].replace(ji,"").split(Ai);for(var o=0;o!=n.length;++o){var a=Mi(n[o].trim(),e);null!=a&&(r[r.length]=a)}i=ae(i[1]),r.Count=i.count,r.Unique=i.uniqueCount}return r}(t,r)}function Qa(t,e,r){return".bin"===e.slice(-4)?function(t,e){var r=[],n=[],i={},o=!1;return br(t,(function(t,a,s){switch(s){case 632:n.push(t);break;case 635:i=t;break;case 637:i.t=t.t,i.h=t.h,i.r=t.r;break;case 636:if(i.author=n[i.iauthor],delete i.iauthor,e.sheetRows&&i.rfx&&e.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,r.push(i);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:case 38:break;default:if(a.T);else if(!o||e.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}(t,r):function(t,e){if(t.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],i=t.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach((function(t){if(""!==t&&""!==t.trim()){var e=t.match(/<(?:\w+:)?author[^>]*>(.*)/);e&&r.push(e[1])}}));var o=t.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(t){if(""!==t&&""!==t.trim()){var i=t.match(/<(?:\w+:)?comment[^>]*>/);if(i){var o=ae(i[0]),a={author:o.authorId&&r[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=Er(o.ref);if(!(e.sheetRows&&e.sheetRows<=s.r)){var c=t.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),u=!!c&&!!c[1]&&Mi(c[1])||{r:"",t:"",h:""};a.r=u.r,"<t></t>"==u.r&&(u.t=u.h=""),a.t=(u.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.cellHTML&&(a.h=u.h),n.push(a)}}}})),n}(t,r)}function ts(t,e,r){return".bin"===e.slice(-4)?function(t,e,r){var n=[];return br(t,(function(t,e,r){switch(r){case 63:n.push(t);break;default:if(!e.T)throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(t):function(t){var e=[];if(!t)return e;var r=1;return(t.match(ne)||[]).forEach((function(t){var n=ae(t);switch(n[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,e.push(n)}})),e}(t)}function es(t,e,r,n){if(".bin"===r.slice(-4))return function(t,e,r,n){if(!t)return t;var i=n||{},o=!1;br(t,(function(t,e,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if(e.T);else if(!o||i.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),i)}(t,0,0,n)}function rs(t,e,r){return".bin"===e.slice(-4)?function(t,e,r){var n={Types:[],Cell:[],Value:[]},i=r||{},o=[],a=!1,s=2;return br(t,(function(t,e,r){switch(r){case 335:n.Types.push({name:t.name});break;case 51:t.forEach((function(t){1==s?n.Cell.push({type:n.Types[t[0]-1].name,index:t[1]}):0==s&&n.Value.push({type:n.Types[t[0]-1].name,index:t[1]})}));break;case 337:s=t?1:0;break;case 338:s=2;break;case 35:o.push(r),a=!0;break;case 36:o.pop(),a=!1;break;default:if(e.T);else if(!a||i.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(t,0,r):function(t,e,r){var n={Types:[],Cell:[],Value:[]};if(!t)return n;var i,o=!1,a=2;return t.replace(ne,(function(t){var e=ae(t);switch(se(e[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":n.Types.push({name:e.name});break;case"</metadataType>":break;case"<futureMetadata":for(var s=0;s<n.Types.length;++s)n.Types[s].name==e.name&&(i=n.Types[s]);break;case"</futureMetadata>":case"<bk>":case"</bk>":break;case"<rc":1==a?n.Cell.push({type:n.Types[e.t-1].name,index:+e.v}):0==a&&n.Value.push({type:n.Types[e.t-1].name,index:+e.v});break;case"</rc>":break;case"<cellMetadata":a=1;break;case"</cellMetadata>":a=2;break;case"<valueMetadata":a=0;break;case"</valueMetadata>":a=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;case"<rvb":if(!i)break;i.offsets||(i.offsets=[]),i.offsets.push(+e.i);break;default:if(!o&&r.WTF)throw new Error("unrecognized "+e[0]+" in metadata")}return t})),n}(t,0,r)}var ns,is=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,os=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function as(t,e){var r=t.split(/\s+/),n=[];if(e||(n[0]=r[0]),1===r.length)return n;var i,o,a,s=t.match(is);if(s)for(a=0;a!=s.length;++a)-1===(o=(i=s[a].match(os))[1].indexOf(":"))?n[i[1]]=i[2].slice(1,i[2].length-1):n["xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(o+1)]=i[2].slice(1,i[2].length-1);return n}function ss(t){var e={};if(1===t.split(/\s+/).length)return e;var r,n,i,o=t.match(is);if(o)for(i=0;i!=o.length;++i)-1===(n=(r=o[i].match(os))[1].indexOf(":"))?e[r[1]]=r[2].slice(1,r[2].length-1):e["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return e}function cs(t,e,r,n){var i=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=me(n);break;case"i2":case"int":i=parseInt(n,10);break;case"r4":case"float":i=parseFloat(n);break;case"date":case"dateTime.tz":i=It(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}t[le(e)]=i}function us(t,e,r){if("z"!==t.t){if(!r||!1!==r.cellText)try{"e"===t.t?t.w=t.w||on[t.v]:"General"===e?"n"===t.t?(0|t.v)===t.v?t.w=t.v.toString(10):t.w=K(t.v):t.w=Z(t.v):t.w=function(t,e){var r=ns[t]||le(t);return"General"===r?Z(e):bt(r,e)}(e||"General",t.v)}catch(o){if(r.WTF)throw o}try{var n=ns[e]||e||"General";if(r.cellNF&&(t.z=n),r.cellDates&&"n"==t.t&&ht(n)){var i=W(t.v);i&&(t.t="d",t.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(o){if(r.WTF)throw o}}}function ls(t,e,r){if(r.cellStyles&&e.Interior){var n=e.Interior;n.Pattern&&(n.patternType=ro[n.Pattern]||n.Pattern)}t[e.ID]=e}function fs(t,e,r,n,i,o,a,s,c,u){var l="General",f=n.StyleID,h={};u=u||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&a&&(f=a.StyleID);void 0!==o[f]&&(o[f].nf&&(l=o[f].nf),o[f].Interior&&d.push(o[f].Interior),o[f].Parent);)f=o[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=me(t);break;case"String":n.t="s",n.r=pe(le(t)),n.v=t.indexOf("<")>-1?le(e||t).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=t.slice(-1)&&(t+="Z"),n.v=(It(t)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!==n.v?n.v=le(t):n.v<60&&(n.v=n.v-1),l&&"General"!=l||(l="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+t),n.t||(n.t="n");break;case"Error":n.t="e",n.v=an[t],!1!==u.cellText&&(n.w=t);break;default:""==t&&""==e?n.t="z":(n.t="s",n.v=pe(e||t))}if(us(n,l,u),!1!==u.cellFormula)if(n.Formula){var m=le(n.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),n.f=_o(m,i),delete n.Formula,"RC"==n.ArrayRange?n.F=_o("RC:RC",i):n.ArrayRange&&(n.F=_o(n.ArrayRange,i),c.push([Ar(n.F),n.F]))}else for(p=0;p<c.length;++p)i.r>=c[p][0].s.r&&i.r<=c[p][0].e.r&&i.c>=c[p][0].s.c&&i.c<=c[p][0].e.c&&(n.F=c[p][1]);u.cellStyles&&(d.forEach((function(t){!h.patternType&&t.patternType&&(h.patternType=t.patternType)})),n.s=h),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function hs(t){t.t=t.v||"",t.t=t.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.v=t.w=t.ixfe=void 0}function ds(t,e){var r=e||{};gt();var n=p(Te(t));"binary"!=r.type&&"array"!=r.type&&"base64"!=r.type||(n="undefined"!==typeof d?d.utils.decode(65001,f(n)):we(n));var i,o=n.slice(0,1024).toLowerCase(),a=!1;if((1023&(o=o.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&o.indexOf(","),1023&o.indexOf(";"))){var s=Ft(r);return s.type="string",wi.to_workbook(n,s)}if(-1==o.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(t){o.indexOf("<"+t)>=0&&(a=!0)})),a)return function(t,e){var r=t.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return Dr(Ms(r[0],e),e);var n={SheetNames:[],Sheets:{}};return r.forEach((function(t,r){Sc(n,Ms(t,e),"Sheet"+(r+1))})),n}(n,r);ns={"General Number":"General","General Date":B[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":B[15],"Short Date":B[14],"Long Time":B[19],"Medium Time":B[18],"Short Time":B[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:B[2],Standard:B[4],Percent:B[10],Scientific:B[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var c,u=[];var l,h={},m=[],b=r.dense?[]:{},v="",g={},y={},w=as('<Data ss:Type="String">'),x=0,O=0,_=0,S={s:{r:2e6,c:2e6},e:{r:0,c:0}},k={},E={},M="",C=0,j=[],A={},T={},P=0,D=[],R=[],L={},I=[],N=!1,F=[],z=[],H={},U=0,W=0,q={Sheets:[],WBProps:{date1904:!1}},V={};Pe.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/gm,"");for(var G="";i=Pe.exec(n);)switch(i[3]=(G=i[3]).toLowerCase()){case"data":if("data"==G){if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break}if(u[u.length-1][1])break;"/"===i[1]?fs(n.slice(x,i.index),M,w,"comment"==u[u.length-1][0]?L:g,{c:O,r:_},k,I[O],y,F,r):(M="",w=as(i[0]),x=i.index+i[0].length);break;case"cell":if("/"===i[1])if(R.length>0&&(g.c=R),(!r.sheetRows||r.sheetRows>_)&&void 0!==g.v&&(r.dense?(b[_]||(b[_]=[]),b[_][O]=g):b[kr(O)+_r(_)]=g),g.HRef&&(g.l={Target:le(g.HRef)},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(U=O+(0|parseInt(g.MergeAcross,10)),W=_+(0|parseInt(g.MergeDown,10)),j.push({s:{c:O,r:_},e:{c:U,r:W}})),r.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var Y=O;Y<=U;++Y)for(var X=_;X<=W;++X)(Y>O||X>_)&&(r.dense?(b[X]||(b[X]=[]),b[X][Y]={t:"z"}):b[kr(Y)+_r(X)]={t:"z"});O=U+1}else++O;else g.MergeAcross?O=U+1:++O;else(g=ss(i[0])).Index&&(O=+g.Index-1),O<S.s.c&&(S.s.c=O),O>S.e.c&&(S.e.c=O),"/>"===i[0].slice(-2)&&++O,R=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(_<S.s.r&&(S.s.r=_),_>S.e.r&&(S.e.r=_),"/>"===i[0].slice(-2)&&(y=as(i[0])).Index&&(_=+y.Index-1),O=0,++_):((y=as(i[0])).Index&&(_=+y.Index-1),H={},("0"==y.AutoFitHeight||y.Height)&&(H.hpx=parseInt(y.Height,10),H.hpt=to(H.hpx),z[_]=H),"1"==y.Hidden&&(H.hidden=!0,z[_]=H));break;case"worksheet":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"));m.push(v),S.s.r<=S.e.r&&S.s.c<=S.e.c&&(b["!ref"]=jr(S),r.sheetRows&&r.sheetRows<=S.e.r&&(b["!fullref"]=b["!ref"],S.e.r=r.sheetRows-1,b["!ref"]=jr(S))),j.length&&(b["!merges"]=j),I.length>0&&(b["!cols"]=I),z.length>0&&(b["!rows"]=z),h[v]=b}else S={s:{r:2e6,c:2e6},e:{r:0,c:0}},_=O=0,u.push([i[3],!1]),c=as(i[0]),v=le(c.Name),b=r.dense?[]:{},j=[],F=[],z=[],V={name:v,Hidden:0},q.Sheets.push(V);break;case"table":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else{if("/>"==i[0].slice(-2))break;u.push([i[3],!1]),I=[],N=!1}break;case"style":"/"===i[1]?ls(k,E,r):E=as(i[0]);break;case"numberformat":E.nf=le(as(i[0]).Format||"General"),ns[E.nf]&&(E.nf=ns[E.nf]);for(var $=0;392!=$&&B[$]!=E.nf;++$);if(392==$)for($=57;392!=$;++$)if(null==B[$]){vt(E.nf,$);break}break;case"column":if("table"!==u[u.length-1][0])break;if((l=as(i[0])).Hidden&&(l.hidden=!0,delete l.Hidden),l.Width&&(l.wpx=parseInt(l.Width,10)),!N&&l.wpx>10){N=!0,Yi=6;for(var K=0;K<I.length;++K)I[K]&&Qi(I[K])}N&&Qi(l),I[l.Index-1||I.length]=l;for(var Z=0;Z<+l.Span;++Z)I[I.length]=Ft(l);break;case"namedrange":if("/"===i[1])break;q.Names||(q.Names=[]);var J=ae(i[0]),Q={Name:J.Name,Ref:_o(J.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(Q.Sheet=q.Sheets.length-1),q.Names.push(Q);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===i[0].slice(-2))break;"/"===i[1]?M+=n.slice(C,i.index):C=i.index+i[0].length;break;case"interior":if(!r.cellStyles)break;E.Interior=as(i[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===i[0].slice(-2))break;"/"===i[1]?yn(A,G,n.slice(P,i.index)):P=i.index+i[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else u.push([i[3],!1]);break;case"comment":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"));hs(L),R.push(L)}else u.push([i[3],!1]),L={a:(c=as(i[0])).Author};break;case"autofilter":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else if("/"!==i[0].charAt(i[0].length-2)){var tt=as(i[0]);b["!autofilter"]={ref:_o(tt.Range).replace(/\$/g,"")},u.push([i[3],!0])}break;case"name":break;case"datavalidation":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===i[1]){if((c=u.pop())[0]!==i[3])throw new Error("Bad state: "+c.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&u.push([i[3],!0]);break;case"null":break;default:if(0==u.length&&"document"==i[3])return Bs(n,r);if(0==u.length&&"uof"==i[3])return Bs(n,r);var et=!0;switch(u[u.length-1][0]){case"officedocumentsettings":switch(i[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:et=!1}break;case"componentoptions":switch(i[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:et=!1}break;case"excelworkbook":switch(i[3]){case"date1904":q.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:et=!1}break;case"workbookoptions":switch(i[3]){case"owcversion":case"height":case"width":break;default:et=!1}break;case"worksheetoptions":switch(i[3]){case"visible":if("/>"===i[0].slice(-2));else if("/"===i[1])switch(n.slice(P,i.index)){case"SheetHidden":V.Hidden=1;break;case"SheetVeryHidden":V.Hidden=2}else P=i.index+i[0].length;break;case"header":b["!margins"]||ba(b["!margins"]={},"xlml"),isNaN(+ae(i[0]).Margin)||(b["!margins"].header=+ae(i[0]).Margin);break;case"footer":b["!margins"]||ba(b["!margins"]={},"xlml"),isNaN(+ae(i[0]).Margin)||(b["!margins"].footer=+ae(i[0]).Margin);break;case"pagemargins":var rt=ae(i[0]);b["!margins"]||ba(b["!margins"]={},"xlml"),isNaN(+rt.Top)||(b["!margins"].top=+rt.Top),isNaN(+rt.Left)||(b["!margins"].left=+rt.Left),isNaN(+rt.Right)||(b["!margins"].right=+rt.Right),isNaN(+rt.Bottom)||(b["!margins"].bottom=+rt.Bottom);break;case"displayrighttoleft":q.Views||(q.Views=[]),q.Views[0]||(q.Views[0]={}),q.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":break;case"nosummaryrowsbelowdetail":b["!outline"]||(b["!outline"]={}),b["!outline"].above=!0;break;case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":b["!outline"]||(b["!outline"]={}),b["!outline"].left=!0;break;case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:et=!1}break;case"pivottable":case"pivotcache":switch(i[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:et=!1}break;case"pagebreaks":switch(i[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:et=!1}break;case"autofilter":switch(i[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:et=!1}break;case"querytable":switch(i[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:et=!1}break;case"datavalidation":switch(i[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:et=!1}break;case"sorting":case"conditionalformatting":switch(i[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:et=!1}break;case"mapinfo":case"schema":case"data":switch(i[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:et=!1}break;case"smarttags":break;default:et=!1}if(et)break;if(i[3].match(/!\[CDATA/))break;if(!u[u.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+u.join("|");if("customdocumentproperties"===u[u.length-1][0]){if("/>"===i[0].slice(-2))break;"/"===i[1]?cs(T,G,D,n.slice(P,i.index)):(D=i,P=i.index+i[0].length);break}if(r.WTF)throw"Unrecognized tag: "+i[3]+"|"+u.join("|")}var nt={};return r.bookSheets||r.bookProps||(nt.Sheets=h),nt.SheetNames=m,nt.Workbook=q,nt.SSF=Ft(B),nt.Props=A,nt.Custprops=T,nt}function ps(t,e){switch(ac(e=e||{}),e.type||"base64"){case"base64":return ds(y(t),e);case"binary":case"buffer":case"file":return ds(t,e);case"array":return ds(k(t),e)}}function ms(t){var e={},r=t.content;if(r.l=28,e.AnsiUserType=r.read_shift(0,"lpstr-ansi"),e.AnsiClipboardFormat=function(t){return Kr(t,1)}(r),r.length-r.l<=4)return e;var n=r.read_shift(4);return 0==n||n>40?e:(r.l-=4,e.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4||1907505652!==(n=r.read_shift(4))?e:(e.UnicodeClipboardFormat=function(t){return Kr(t,2)}(r),0==(n=r.read_shift(4))||n>40?e:(r.l-=4,void(e.Reserved2=r.read_shift(0,"lpwstr")))))}var bs=[60,1084,2066,2165,2175];function vs(t,e,r,n,i){var o=n,a=[],s=r.slice(r.l,r.l+o);if(i&&i.enc&&i.enc.insitu&&s.length>0)switch(t){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:i.enc.insitu(s)}a.push(s),r.l+=o;for(var c=ir(r,r.l),u=ks[c],l=0;null!=u&&bs.indexOf(c)>-1;)o=ir(r,r.l+2),l=r.l+4,2066==c?l+=4:2165!=c&&2175!=c||(l+=12),s=r.slice(l,r.l+4+o),a.push(s),r.l+=4+o,u=ks[c=ir(r,r.l)];var f=M(a);dr(f,0);var h=0;f.lens=[];for(var d=0;d<a.length;++d)f.lens.push(h),h+=a[d].length;if(f.length<n)throw"XLS Record 0x"+t.toString(16)+" Truncated: "+f.length+" < "+n;return e.f(f,f.length,i)}function gs(t,e,r){if("z"!==t.t&&t.XF){var n=0;try{n=t.z||t.XF.numFmtId||0,e.cellNF&&(t.z=B[n])}catch(o){if(e.WTF)throw o}if(!e||!1!==e.cellText)try{"e"===t.t?t.w=t.w||on[t.v]:0===n||"General"==n?"n"===t.t?(0|t.v)===t.v?t.w=t.v.toString(10):t.w=K(t.v):t.w=Z(t.v):t.w=bt(n,t.v,{date1904:!!r,dateNF:e&&e.dateNF})}catch(o){if(e.WTF)throw o}if(e.cellDates&&n&&"n"==t.t&&ht(B[n]||String(n))){var i=W(t.v);i&&(t.t="d",t.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function ys(t,e,r){return{v:t,ixfe:e,t:r}}function ws(t,e){var r={opts:{}},n={};var i,o,a,s,c,l,f,h,d=e.dense?[]:{},p={},m={},b=null,v=[],g="",y={},w="",x={},O=[],_=[],S=[],k={Sheets:[],WBProps:{date1904:!1},Views:[{}]},E={},M=function(t){return t<8?nn[t]:t<64&&S[t-8]||nn[t]},C=function(t,e,r){if(!(F>1)&&!(r.sheetRows&&t.r>=r.sheetRows)){if(r.cellStyles&&e.XF&&e.XF.data&&function(t,e,r){var n,i=e.XF.data;i&&i.patternType&&r&&r.cellStyles&&(e.s={},e.s.patternType=i.patternType,(n=Vi(M(i.icvFore)))&&(e.s.fgColor={rgb:n}),(n=Vi(M(i.icvBack)))&&(e.s.bgColor={rgb:n}))}(0,e,r),delete e.ixfe,delete e.XF,i=t,w=Mr(t),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),t.r<m.s.r&&(m.s.r=t.r),t.c<m.s.c&&(m.s.c=t.c),t.r+1>m.e.r&&(m.e.r=t.r+1),t.c+1>m.e.c&&(m.e.c=t.c+1),r.cellFormula&&e.f)for(var n=0;n<O.length;++n)if(!(O[n][0].s.c>t.c||O[n][0].s.r>t.r)&&!(O[n][0].e.c<t.c||O[n][0].e.r<t.r)){e.F=jr(O[n][0]),O[n][0].s.c==t.c&&O[n][0].s.r==t.r||delete e.f,e.f&&(e.f=""+ta(O[n][1],0,t,L,j));break}r.dense?(d[t.r]||(d[t.r]=[]),d[t.r][t.c]=e):d[w]=e}},j={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:O,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!e&&!!e.cellStyles,WTF:!!e&&!!e.wtf};e.password&&(j.password=e.password);var A=[],T=[],P=[],D=[],R=!1,L=[];L.SheetNames=j.snames,L.sharedf=j.sharedf,L.arrayf=j.arrayf,L.names=[],L.XTI=[];var I,N=0,F=0,z=0,H=[],U=[];j.codepage=1200,u(1200);for(var W=!1;t.l<t.length-1;){var q=t.l,V=t.read_shift(2);if(0===V&&10===N)break;var G=t.l===t.length?0:t.read_shift(2),Y=ks[V];if(Y&&Y.f){if(e.bookSheets&&133===N&&133!==V)break;if(N=V,2===Y.r||12==Y.r){var X=t.read_shift(2);if(G-=2,!j.enc&&X!==V&&((255&X)<<8|X>>8)!==V)throw new Error("rt mismatch: "+X+"!="+V);12==Y.r&&(t.l+=10,G-=10)}var $={};if($=10===V?Y.f(t,G,j):vs(V,Y,t,G,j),0==F&&-1===[9,521,1033,2057].indexOf(N))continue;switch(V){case 34:r.opts.Date1904=k.WBProps.date1904=$;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(j.enc||(t.l=0),j.enc=$,!e.password)throw new Error("File is password-protected");if(null==$.valid)throw new Error("Encryption scheme unsupported");if(!$.valid)throw new Error("Password is incorrect");break;case 92:j.lastuser=$;break;case 66:var K=Number($);switch(K){case 21010:K=1200;break;case 32768:K=1e4;break;case 32769:K=1252}u(j.codepage=K),W=!0;break;case 317:j.rrtabid=$;break;case 25:j.winlocked=$;break;case 439:r.opts.RefreshAll=$;break;case 12:r.opts.CalcCount=$;break;case 16:r.opts.CalcDelta=$;break;case 17:r.opts.CalcIter=$;break;case 13:r.opts.CalcMode=$;break;case 14:r.opts.CalcPrecision=$;break;case 95:r.opts.CalcSaveRecalc=$;break;case 15:j.CalcRefMode=$;break;case 2211:r.opts.FullCalc=$;break;case 129:$.fDialog&&(d["!type"]="dialog"),$.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),$.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:_.push($);break;case 430:L.push([$]),L[L.length-1].XTI=[];break;case 35:case 547:L[L.length-1].push($);break;case 24:case 536:I={Name:$.Name,Ref:ta($.rgce,0,null,L,j)},$.itab>0&&(I.Sheet=$.itab-1),L.names.push(I),L[0]||(L[0]=[],L[0].XTI=[]),L[L.length-1].push($),"_xlnm._FilterDatabase"==$.Name&&$.itab>0&&$.rgce&&$.rgce[0]&&$.rgce[0][0]&&"PtgArea3d"==$.rgce[0][0][0]&&(U[$.itab-1]={ref:jr($.rgce[0][0][1][2])});break;case 22:j.ExternCount=$;break;case 23:0==L.length&&(L[0]=[],L[0].XTI=[]),L[L.length-1].XTI=L[L.length-1].XTI.concat($),L.XTI=L.XTI.concat($);break;case 2196:if(j.biff<8)break;null!=I&&(I.Comment=$[1]);break;case 18:d["!protect"]=$;break;case 19:0!==$&&j.WTF&&console.error("Password verifier: "+$);break;case 133:p[$.pos]=$,j.snames.push($.name);break;case 10:if(--F)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=jr(m),e.sheetRows&&e.sheetRows<=m.e.r){var Z=m.e.r;m.e.r=e.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=jr(m),m.e.r=Z}m.e.r++,m.e.c++}A.length>0&&(d["!merges"]=A),T.length>0&&(d["!objects"]=T),P.length>0&&(d["!cols"]=P),D.length>0&&(d["!rows"]=D),k.Sheets.push(E)}""===g?y=d:n[g]=d,d=e.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===j.biff&&(j.biff={9:2,521:3,1033:4}[V]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[$.BIFFVer]||8),j.biffguess=0==$.BIFFVer,0==$.BIFFVer&&4096==$.dt&&(j.biff=5,W=!0,u(j.codepage=28591)),8==j.biff&&0==$.BIFFVer&&16==$.dt&&(j.biff=2),F++)break;if(d=e.dense?[]:{},j.biff<8&&!W&&(W=!0,u(j.codepage=e.codepage||1252)),j.biff<5||0==$.BIFFVer&&4096==$.dt){""===g&&(g="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var J={pos:t.l-G,name:g};p[J.pos]=J,j.snames.push(g)}else g=(p[q]||{name:""}).name;32==$.dt&&(d["!type"]="chart"),64==$.dt&&(d["!type"]="macro"),A=[],T=[],j.arrayf=O=[],P=[],D=[],R=!1,E={Hidden:(p[q]||{hs:0}).hs,name:g};break;case 515:case 3:case 2:"chart"==d["!type"]&&(e.dense?(d[$.r]||[])[$.c]:d[Mr({c:$.c,r:$.r})])&&++$.c,l={ixfe:$.ixfe,XF:_[$.ixfe]||{},v:$.val,t:"n"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 5:case 517:l={ixfe:$.ixfe,XF:_[$.ixfe],v:$.val,t:$.t},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 638:l={ixfe:$.ixfe,XF:_[$.ixfe],v:$.rknum,t:"n"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 189:for(var Q=$.c;Q<=$.C;++Q){var tt=$.rkrec[Q-$.c][0];l={ixfe:tt,XF:_[tt],v:$.rkrec[Q-$.c][1],t:"n"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:Q,r:$.r},l,e)}break;case 6:case 518:case 1030:if("String"==$.val){b=$;break}if((l=ys($.val,$.cell.ixfe,$.tt)).XF=_[l.ixfe],e.cellFormula){var et=$.formula;if(et&&et[0]&&et[0][0]&&"PtgExp"==et[0][0][0]){var rt=et[0][0][1][0],nt=et[0][0][1][1],it=Mr({r:rt,c:nt});x[it]?l.f=""+ta($.formula,0,$.cell,L,j):l.F=((e.dense?(d[rt]||[])[nt]:d[it])||{}).F}else l.f=""+ta($.formula,0,$.cell,L,j)}z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C($.cell,l,e),b=$;break;case 7:case 519:if(!b)throw new Error("String record expects Formula");b.val=$,(l=ys($,b.cell.ixfe,"s")).XF=_[l.ixfe],e.cellFormula&&(l.f=""+ta(b.formula,0,b.cell,L,j)),z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C(b.cell,l,e),b=null;break;case 33:case 545:O.push($);var ot=Mr($[0].s);if(o=e.dense?(d[$[0].s.r]||[])[$[0].s.c]:d[ot],e.cellFormula&&o){if(!b)break;if(!ot||!o)break;o.f=""+ta($[1],0,$[0],L,j),o.F=jr($[0])}break;case 1212:if(!e.cellFormula)break;if(w){if(!b)break;x[Mr(b.cell)]=$[0],((o=e.dense?(d[b.cell.r]||[])[b.cell.c]:d[Mr(b.cell)])||{}).f=""+ta($[0],0,i,L,j)}break;case 253:l=ys(v[$.isst].t,$.ixfe,"s"),v[$.isst].h&&(l.h=v[$.isst].h),l.XF=_[l.ixfe],z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 513:e.sheetStubs&&(l={ixfe:$.ixfe,XF:_[$.ixfe],t:"z"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e));break;case 190:if(e.sheetStubs)for(var at=$.c;at<=$.C;++at){var st=$.ixfe[at-$.c];l={ixfe:st,XF:_[st],t:"z"},z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:at,r:$.r},l,e)}break;case 214:case 516:case 4:(l=ys($.val,$.ixfe,"s")).XF=_[l.ixfe],z>0&&(l.z=H[l.ixfe>>8&63]),gs(l,e,r.opts.Date1904),C({c:$.c,r:$.r},l,e);break;case 0:case 512:1===F&&(m=$);break;case 252:v=$;break;case 1054:if(4==j.biff){H[z++]=$[1];for(var ct=0;ct<z+163&&B[ct]!=$[1];++ct);ct>=163&&vt($[1],z+163)}else vt($[1],$[0]);break;case 30:H[z++]=$;for(var ut=0;ut<z+163&&B[ut]!=$;++ut);ut>=163&&vt($,z+163);break;case 229:A=A.concat($);break;case 93:T[$.cmo[0]]=j.lastobj=$;break;case 438:j.lastobj.TxO=$;break;case 127:j.lastobj.ImData=$;break;case 440:for(c=$[0].s.r;c<=$[0].e.r;++c)for(s=$[0].s.c;s<=$[0].e.c;++s)(o=e.dense?(d[c]||[])[s]:d[Mr({c:s,r:c})])&&(o.l=$[1]);break;case 2048:for(c=$[0].s.r;c<=$[0].e.r;++c)for(s=$[0].s.c;s<=$[0].e.c;++s)(o=e.dense?(d[c]||[])[s]:d[Mr({c:s,r:c})])&&o.l&&(o.l.Tooltip=$[1]);break;case 28:if(j.biff<=5&&j.biff>=2)break;o=e.dense?(d[$[0].r]||[])[$[0].c]:d[Mr($[0])];var lt=T[$[2]];o||(e.dense?(d[$[0].r]||(d[$[0].r]=[]),o=d[$[0].r][$[0].c]={t:"z"}):o=d[Mr($[0])]={t:"z"},m.e.r=Math.max(m.e.r,$[0].r),m.s.r=Math.min(m.s.r,$[0].r),m.e.c=Math.max(m.e.c,$[0].c),m.s.c=Math.min(m.s.c,$[0].c)),o.c||(o.c=[]),a={a:$[1],t:lt.TxO.t},o.c.push(a);break;case 2173:_[$.ixfe],$.ext.forEach((function(t){t[0]}));break;case 125:if(!j.cellStyles)break;for(;$.e>=$.s;)P[$.e--]={width:$.w/256,level:$.level||0,hidden:!!(1&$.flags)},R||(R=!0,Ji($.w/256)),Qi(P[$.e+1]);break;case 520:var ft={};null!=$.level&&(D[$.r]=ft,ft.level=$.level),$.hidden&&(D[$.r]=ft,ft.hidden=!0),$.hpt&&(D[$.r]=ft,ft.hpt=$.hpt,ft.hpx=eo($.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||ba(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[V]]=$;break;case 161:d["!margins"]||ba(d["!margins"]={}),d["!margins"].header=$.header,d["!margins"].footer=$.footer;break;case 574:$.RTL&&(k.Views[0].RTL=!0);break;case 146:S=$;break;case 2198:h=$;break;case 140:f=$;break;case 442:g?E.CodeName=$||E.name:k.WBProps.CodeName=$||"ThisWorkbook"}}else Y||console.error("Missing Info for XLS Record 0x"+V.toString(16)),t.l+=G}return r.SheetNames=St(p).sort((function(t,e){return Number(t)-Number(e)})).map((function(t){return p[t].name})),e.bookSheets||(r.Sheets=n),!r.SheetNames.length&&y["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=y)):r.Preamble=y,r.Sheets&&U.forEach((function(t,e){r.Sheets[r.SheetNames[e]]["!autofilter"]=t})),r.Strings=v,r.SSF=Ft(B),j.enc&&(r.Encryption=j.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),L.names.length>0&&(k.Names=L.names),r.Workbook=k,r}var xs="e0859ff2f94f6810ab9108002b27b3d9",Os="02d5cdd59c2e1b10939708002b2cf9ae";function _s(t,e){var r,n,i,o;if(e||(e={}),ac(e),l(),e.codepage&&c(e.codepage),t.FullPaths){if(Ot.find(t,"/encryption"))throw new Error("File is password-protected");r=Ot.find(t,"!CompObj"),n=Ot.find(t,"/Workbook")||Ot.find(t,"/Book")}else{switch(e.type){case"base64":t=S(y(t));break;case"binary":t=S(t);break;case"buffer":break;case"array":Array.isArray(t)||(t=Array.prototype.slice.call(t))}dr(t,0),n={content:t}}if(r&&ms(r),e.bookProps&&!e.bookSheets)i={};else{var a=w?"buffer":"array";if(n&&n.content)i=ws(n.content,e);else if((o=Ot.find(t,"PerfectOffice_MAIN"))&&o.content)i=xi.to_workbook(o.content,(e.type=a,e));else{if(!(o=Ot.find(t,"NativeContent_MAIN"))||!o.content)throw(o=Ot.find(t,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");i=xi.to_workbook(o.content,(e.type=a,e))}e.bookVBA&&t.FullPaths&&Ot.find(t,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=function(t){var e=Ot.utils.cfb_new({root:"R"});return t.FullPaths.forEach((function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var i=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Ot.utils.cfb_add(e,i,t.FileIndex[n].content)}})),Ot.write(e)}(t))}var s={};return t.FullPaths&&function(t,e,r){var n=Ot.find(t,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var i=An(n,Jr,Os);for(var o in i)e[o]=i[o]}catch(u){if(r.WTF)throw u}var a=Ot.find(t,"/!SummaryInformation");if(a&&a.size>0)try{var s=An(a,Qr,xs);for(var c in s)null==e[c]&&(e[c]=s[c])}catch(u){if(r.WTF)throw u}e.HeadingPairs&&e.TitlesOfParts&&(mn(e.HeadingPairs,e.TitlesOfParts,e,r),delete e.HeadingPairs,delete e.TitlesOfParts)}(t,s,e),i.Props=i.Custprops=s,e.bookFiles&&(i.cfb=t),i}var Ss={0:{f:function(t,e){var r={},n=t.l+e;r.r=t.read_shift(4),t.l+=4;var i=t.read_shift(2);t.l+=1;var o=t.read_shift(1);return t.l=n,7&o&&(r.level=7&o),16&o&&(r.hidden=!0),32&o&&(r.hpt=i/20),r}},1:{f:function(t){return[zr(t)]}},2:{f:function(t){return[zr(t),Gr(t),"n"]}},3:{f:function(t){return[zr(t),t.read_shift(1),"e"]}},4:{f:function(t){return[zr(t),t.read_shift(1),"b"]}},5:{f:function(t){return[zr(t),$r(t),"n"]}},6:{f:function(t){return[zr(t),Ir(t),"str"]}},7:{f:function(t){return[zr(t),t.read_shift(4),"s"]}},8:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,Ir(t),"str"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},9:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,$r(t),"n"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},10:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,t.read_shift(1),"b"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},11:{f:function(t,e,r){var n=t.l+e,i=zr(t);i.r=r["!row"];var o=[i,t.read_shift(1),"e"];if(r.cellFormula){t.l+=2;var a=aa(t,n-t.l,r);o[3]=ta(a,0,i,r.supbooks,r)}else t.l=n;return o}},12:{f:function(t){return[Hr(t)]}},13:{f:function(t){return[Hr(t),Gr(t),"n"]}},14:{f:function(t){return[Hr(t),t.read_shift(1),"e"]}},15:{f:function(t){return[Hr(t),t.read_shift(1),"b"]}},16:{f:Da},17:{f:function(t){return[Hr(t),Ir(t),"str"]}},18:{f:function(t){return[Hr(t),t.read_shift(4),"s"]}},19:{f:Fr},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(t,e,r){var n=t.l+e;t.l+=4,t.l+=1;var i=t.read_shift(4),o=qr(t),a=sa(t,0,r),s=Wr(t);t.l=n;var c={Name:o,Ptg:a};return i<268435455&&(c.Sheet=i),s&&(c.Comment=s),c}},40:{},42:{},43:{f:function(t,e,r){var n={};n.sz=t.read_shift(2)/20;var i=function(t){var e=t.read_shift(1);return t.l++,{fBold:1&e,fItalic:2&e,fUnderline:4&e,fStrikeout:8&e,fOutline:16&e,fShadow:32&e,fCondense:64&e,fExtend:128&e}}(t);switch(i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1),700===t.read_shift(2)&&(n.bold=1),t.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var o=t.read_shift(1);0!=o&&(n.underline=o);var a=t.read_shift(1);a>0&&(n.family=a);var s=t.read_shift(1);switch(s>0&&(n.charset=s),t.l++,n.color=function(t){var e={},r=t.read_shift(1)>>>1,n=t.read_shift(1),i=t.read_shift(2,"i"),o=t.read_shift(1),a=t.read_shift(1),s=t.read_shift(1);switch(t.l++,r){case 0:e.auto=1;break;case 1:e.index=n;var c=nn[n];c&&(e.rgb=Vi(c));break;case 2:e.rgb=Vi([o,a,s]);break;case 3:e.theme=n}return 0!=i&&(e.tint=i>0?i/32767:i/32768),e}(t),t.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=Ir(t),n}},44:{f:function(t,e){return[t.read_shift(2),Ir(t)]}},45:{f:ao},46:{f:so},47:{f:function(t,e){var r=t.l+e,n=t.read_shift(2),i=t.read_shift(2);return t.l=r,{ixfe:n,numFmtId:i}}},48:{},49:{f:function(t){return t.read_shift(4,"i")}},50:{},51:{f:function(t){for(var e=[],r=t.read_shift(4);r-- >0;)e.push([t.read_shift(4),t.read_shift(4)]);return e}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:fi},62:{f:function(t){return[zr(t),Fr(t),"is"]}},63:{f:function(t){var e={};e.i=t.read_shift(4);var r={};r.r=t.read_shift(4),r.c=t.read_shift(4),e.r=Mr(r);var n=t.read_shift(1);return 2&n&&(e.l="1"),8&n&&(e.a="1"),e}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:pr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(t){var e=t.read_shift(2);return t.l+=28,{RTL:32&e}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(t,e){var r={},n=t[t.l];return++t.l,r.above=!(64&n),r.left=!(128&n),t.l+=18,r.name=Ur(t,e-19),r}},148:{f:Pa,p:16},151:{f:function(){}},152:{},153:{f:function(t,e){var r={},n=t.read_shift(4);r.defaultThemeVersion=t.read_shift(4);var i=e>8?Ir(t):"";return i.length>0&&(r.CodeName=i),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(t,e){var r={};return r.Hidden=t.read_shift(4),r.iTabID=t.read_shift(4),r.strRelID=Vr(t,e-8),r.name=Ir(t),r}},157:{},158:{},159:{T:1,f:function(t){return[t.read_shift(4),t.read_shift(4)]}},160:{T:-1},161:{T:1,f:Xr},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Ra},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(t,e){return{flags:t.read_shift(4),version:t.read_shift(4),name:Ir(t)}}},336:{T:-1},337:{f:function(t){return t.l+=4,0!=t.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Vr},357:{},358:{},359:{},360:{T:1},361:{},362:{f:ci},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(t,e,r){var n=t.l+e,i=Yr(t),o=t.read_shift(1),a=[i];if(a[2]=o,r.cellFormula){var s=oa(t,n-t.l,r);a[1]=s}else t.l=n;return a}},427:{f:function(t,e,r){var n=t.l+e,i=[Xr(t,16)];if(r.cellFormula){var o=ca(t,n-t.l,r);i[1]=o,t.l=n}else t.l=n;return i}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(t){var e={};return La.forEach((function(r){e[r]=$r(t)})),e}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(t,e){var r=t.l+e,n=Xr(t,16),i=Wr(t),o=Ir(t),a=Ir(t),s=Ir(t);t.l=r;var c={rfx:n,relId:i,loc:o,display:s};return a&&(c.Tooltip=a),c}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Vr},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Oo},633:{T:1},634:{T:-1},635:{T:1,f:function(t){var e={};e.iauthor=t.read_shift(4);var r=Xr(t,16);return e.rfx=r.s,e.ref=Mr(r.s),t.l+=16,e}},636:{T:-1},637:{f:Br},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(t,e){return t.l+=10,{name:Ir(t)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},ks={6:{f:na},10:{f:Tn},12:{f:Dn},13:{f:Dn},14:{f:Pn},15:{f:Pn},16:{f:$r},17:{f:Pn},18:{f:Pn},19:{f:Dn},20:{f:ii},21:{f:ii},23:{f:ci},24:{f:si},25:{f:Pn},26:{},27:{},28:{f:function(t,e,r){return function(t,e,r){if(!(r.biff<8)){var n=t.read_shift(2),i=t.read_shift(2),o=t.read_shift(2),a=t.read_shift(2),s=Bn(t,0,r);return r.biff<8&&t.read_shift(1),[{r:n,c:i},s,a,o]}}(t,0,r)}},29:{},34:{f:Pn},35:{f:oi},38:{f:$r},39:{f:$r},40:{f:$r},41:{f:$r},42:{f:Pn},43:{f:Pn},47:{f:function(t,e,r){var n={Type:r.biff>=8?t.read_shift(2):0};return n.Type?Wi(t,e-2,n):function(t,e,r,n){var i={key:Dn(t),verificationBytes:Dn(t)};r.password&&(i.verifier=zi(r.password)),n.valid=i.verificationBytes===i.verifier,n.valid&&(n.insitu=Ui(r.password))}(t,r.biff,r,n),n}},49:{f:function(t,e,r){var n={dyHeight:t.read_shift(2),fl:t.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:t.l+=2;break;default:t.l+=10}return n.name=Ln(t,0,r),n}},51:{f:Dn},60:{},61:{f:function(t){return{Pos:[t.read_shift(2),t.read_shift(2)],Dim:[t.read_shift(2),t.read_shift(2)],Flags:t.read_shift(2),CurTab:t.read_shift(2),FirstTab:t.read_shift(2),Selected:t.read_shift(2),TabRatio:t.read_shift(2)}}},64:{f:Pn},65:{f:function(){}},66:{f:Dn},77:{},80:{},81:{},82:{},85:{f:Dn},89:{},90:{},91:{},92:{f:function(t,e,r){if(r.enc)return t.l+=e,"";var n=t.l,i=Bn(t,0,r);return t.read_shift(e+n-t.l),i}},93:{f:function(t,e,r){if(r&&r.biff<8)return function(t,e,r){t.l+=4;var n=t.read_shift(2),i=t.read_shift(2),o=t.read_shift(2);t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=2,t.l+=6,e-=36;var a=[];return a.push((li[n]||pr)(t,e,r)),{cmo:[i,n,o],ft:a}}(t,e,r);var n=Kn(t);return{cmo:n,ft:function(t,e){for(var r=t.l+e,n=[];t.l<r;){var i=t.read_shift(2);t.l-=2;try{n.push(Jn[i](t,r-t.l))}catch(o){return t.l=r,n}}return t.l!=r&&(t.l=r),n}(t,e-22,n[1])}}},94:{},95:{f:Pn},96:{},97:{},99:{f:Pn},125:{f:fi},128:{f:function(t){t.l+=4;var e=[t.read_shift(2),t.read_shift(2)];if(0!==e[0]&&e[0]--,0!==e[1]&&e[1]--,e[0]>7||e[1]>7)throw new Error("Bad Gutters: "+e.join("|"));return e}},129:{f:function(t,e,r){var n=r&&8==r.biff||2==e?t.read_shift(2):(t.l+=e,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:Dn},131:{f:Pn},132:{f:Pn},133:{f:function(t,e,r){var n=t.read_shift(4),i=3&t.read_shift(1),o=t.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var a=Ln(t,0,r);return 0===a.length&&(a="Sheet1"),{pos:n,hs:i,dt:o,name:a}}},134:{},140:{f:function(t){var e,r=[0,0];return e=t.read_shift(2),r[0]=tn[e]||e,e=t.read_shift(2),r[1]=tn[e]||e,r}},141:{f:Dn},144:{},146:{f:function(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(Wn(t));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:Dn},157:{},158:{},160:{f:di},161:{f:function(t,e){var r={};return e<32||(t.l+=16,r.header=$r(t),r.footer=$r(t),t.l+=2),r}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(t,e){for(var r=t.l+e-2,n=t.read_shift(2),i=t.read_shift(2),o=[];t.l<r;)o.push(Gn(t));if(t.l!==r)throw new Error("MulRK read error");var a=t.read_shift(2);if(o.length!=a-i+1)throw new Error("MulRK length mismatch");return{r:n,c:i,C:a,rkrec:o}}},190:{f:function(t,e){for(var r=t.l+e-2,n=t.read_shift(2),i=t.read_shift(2),o=[];t.l<r;)o.push(t.read_shift(2));if(t.l!==r)throw new Error("MulBlank read error");var a=t.read_shift(2);if(o.length!=a-i+1)throw new Error("MulBlank length mismatch");return{r:n,c:i,C:a,ixfe:o}}},193:{f:Tn},197:{},198:{},199:{},200:{},201:{},202:{f:Pn},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Dn},220:{},221:{f:Pn},222:{},224:{f:function(t,e,r){var n={};return n.ifnt=t.read_shift(2),n.numFmtId=t.read_shift(2),n.flags=t.read_shift(2),n.fStyle=n.flags>>2&1,6,n.data=function(t,e,r,n){var i={},o=t.read_shift(4),a=t.read_shift(4),s=t.read_shift(4),c=t.read_shift(2);return i.patternType=en[s>>26],n.cellStyles?(i.alc=7&o,i.fWrap=o>>3&1,i.alcV=o>>4&7,i.fJustLast=o>>7&1,i.trot=o>>8&255,i.cIndent=o>>16&15,i.fShrinkToFit=o>>20&1,i.iReadOrder=o>>22&2,i.fAtrNum=o>>26&1,i.fAtrFnt=o>>27&1,i.fAtrAlc=o>>28&1,i.fAtrBdr=o>>29&1,i.fAtrPat=o>>30&1,i.fAtrProt=o>>31&1,i.dgLeft=15&a,i.dgRight=a>>4&15,i.dgTop=a>>8&15,i.dgBottom=a>>12&15,i.icvLeft=a>>16&127,i.icvRight=a>>23&127,i.grbitDiag=a>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&c,i.icvBack=c>>7&127,i.fsxButton=c>>14&1,i):i}(t,0,n.fStyle,r),n}},225:{f:function(t,e){return 0===e||t.read_shift(2),1200}},226:{f:Tn},227:{},229:{f:function(t,e){for(var r=[],n=t.read_shift(2);n--;)r.push(Yn(t));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(t,e){for(var r=t.l+e,n=t.read_shift(4),i=t.read_shift(4),o=[],a=0;a!=i&&t.l<r;++a)o.push(In(t));return o.Count=n,o.Unique=i,o}},253:{f:function(t){var e=qn(t);return e.isst=t.read_shift(4),e}},255:{f:function(t,e){var r={};return r.dsst=t.read_shift(2),t.l+=e-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Rn},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Pn},353:{f:Tn},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(t,e,r){var n=t.l+e,i=t.read_shift(2),o=t.read_shift(2);if(r.sbcch=o,1025==o||14849==o)return[o,i];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);for(var a=Nn(t,o),s=[];n>t.l;)s.push(Fn(t));return[o,i,a,s]}},431:{f:Pn},432:{},433:{},434:{},437:{},438:{f:function(t,e,r){var n=t.l,i="";try{t.l+=4;var o=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?t.l+=6:function(t){var e=t.read_shift(1);t.l++;var r=t.read_shift(2);return t.l+=2,[e,r]}(t);var a=t.read_shift(2);t.read_shift(2),Dn(t);var s=t.read_shift(2);t.l+=s;for(var c=1;c<t.lens.length-1;++c){if(t.l-n!=t.lens[c])throw new Error("TxO: bad continue record");var u=t[t.l];if((i+=Nn(t,t.lens[c+1]-t.lens[c]-1)).length>=(u?a:2*a))break}if(i.length!==a&&i.length!==2*a)throw new Error("cchText: "+a+" != "+i.length);return t.l=n+e,{t:i}}catch(l){return t.l=n+e,{t:i}}}},439:{f:Pn},440:{f:function(t,e){var r=Yn(t);return t.l+=16,[r,function(t,e){var r=t.l+e,n=t.read_shift(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var i=t.read_shift(2);t.l+=2;var o,a,s,c,u,l,f="";16&i&&(o=Hn(t,t.l)),128&i&&(a=Hn(t,t.l)),257===(257&i)&&(s=Hn(t,t.l)),1===(257&i)&&(c=zn(t,t.l)),8&i&&(f=Hn(t,t.l)),32&i&&(u=t.read_shift(16)),64&i&&(l=wn(t)),t.l=r;var h=a||s||c||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&i&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return u&&(d.guid=u),l&&(d.time=l),o&&(d.Tooltip=o),d}(t,e-24)]}},441:{},442:{f:Fn},443:{},444:{f:Dn},445:{},446:{},448:{f:Tn},449:{f:function(t){return t.read_shift(2),t.read_shift(4)},r:2},450:{f:Tn},512:{f:ri},513:{f:hi},515:{f:function(t,e,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=qn(t),i=$r(t);return n.val=i,n}},516:{f:function(t,e,r){r.biffguess&&2==r.biff&&(r.biff=5),t.l;var n=qn(t);2==r.biff&&t.l++;var i=Fn(t,t.l,r);return n.val=i,n}},517:{f:ni},519:{f:pi},520:{f:function(t){var e={};e.r=t.read_shift(2),e.c=t.read_shift(2),e.cnt=t.read_shift(2)-e.c;var r=t.read_shift(2);t.l+=4;var n=t.read_shift(1);return t.l+=3,7&n&&(e.level=7&n),32&n&&(e.hidden=!0),64&n&&(e.hpt=r/20),e}},523:{},545:{f:ui},549:{f:ti},566:{},574:{f:function(t,e,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&t.read_shift(2)}}},638:{f:function(t){var e=t.read_shift(2),r=t.read_shift(2),n=Gn(t);return{r:e,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(t,e,r){return[t.read_shift(2),Bn(t,0,r)]}},1084:{},1212:{f:function(t,e,r){var n=Xn(t);t.l++;var i=t.read_shift(1);return[ra(t,e-=8,r),i,n]}},2048:{f:function(t,e){t.read_shift(2);var r=Yn(t),n=t.read_shift((e-10)/2,"dbcs-cont");return[r,n=n.replace(C,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Qn},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Tn},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(t){t.l+=2;var e={cxfs:0,crc:0};return e.cxfs=t.read_shift(2),e.crc=t.read_shift(4),e},r:12},2173:{f:function(t,e){t.l,t.l+=2;var r=t.read_shift(2);t.l+=2;for(var n=t.read_shift(2),i=[];n-- >0;)i.push(wo(t,t.l));return{ixfe:r,ext:i}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Pn,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(t,e,r){if(!(r.biff<8)){var n=t.read_shift(2),i=t.read_shift(2);return[Nn(t,n,r),Nn(t,i,r)]}t.l+=e},r:12},2197:{},2198:{f:function(t,e,r){var n=t.l+e;if(124226!==t.read_shift(4))if(r.cellStyles){var i,o=t.slice(t.l);t.l=n;try{i=Jt(o,{type:"array"})}catch(s){return}var a=$t(i,"theme/theme/theme1.xml",!0);if(a)return vo(a,r)}else t.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(t){return[0!==t.read_shift(4),0!==t.read_shift(4),t.read_shift(4)]},r:12},2203:{f:Tn},2204:{},2205:{},2206:{},2207:{},2211:{f:function(t){var e=function(t){var e=t.read_shift(2),r=t.read_shift(2);return t.l+=8,{type:e,flags:r}}(t);if(2211!=e.type)throw new Error("Invalid Future Record "+e.type);return 0!==t.read_shift(4)}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Dn},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(t,e,r){var n={area:!1};if(5!=r.biff)return t.l+=e,n;var i=t.read_shift(1);return t.l+=3,16&i&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(t){for(var e=t.read_shift(2),r=[];e-- >0;)r.push(Wn(t));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:ri},1:{},2:{f:function(t){var e=qn(t);++t.l;var r=t.read_shift(2);return e.t="n",e.val=r,e}},3:{f:function(t){var e=qn(t);++t.l;var r=$r(t);return e.t="n",e.val=r,e}},4:{f:function(t,e,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=qn(t);++t.l;var i=Bn(t,0,r);return n.t="str",n.val=i,n}},5:{f:ni},7:{f:function(t){var e=t.read_shift(1);return 0===e?(t.l++,""):t.read_shift(e,"sbcs-cont")}},8:{},9:{f:Qn},11:{},22:{f:Dn},30:{f:ei},31:{},32:{},33:{f:ui},36:{},37:{f:ti},50:{f:function(t,e){t.l+=6,t.l+=2,t.l+=1,t.l+=3,t.l+=1,t.l+=e-13}},62:{},52:{},67:{},68:{f:Dn},69:{},86:{},126:{},127:{f:function(t){var e=t.read_shift(2),r=t.read_shift(2),n=t.read_shift(4),i={fmt:e,env:r,len:n,data:t.slice(t.l,t.l+n)};return t.l+=n,i}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(t,e,r){var n=t.l+e,i=qn(t),o=t.read_shift(2),a=Nn(t,o,r);return t.l=n,i.t="str",i.val=a,i}},223:{},234:{},354:{},421:{},518:{f:na},521:{f:Qn},536:{f:si},547:{f:oi},561:{},579:{},1030:{f:na},1033:{f:Qn},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function Es(t,e,r,n){var i=e;if(!isNaN(i)){var o=n||(r||[]).length||0,a=t.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&er(r)&&t.push(r)}}function Ms(t,e){var r=e||{};var n=r.dense?[]:{},i=(t=t.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var o=t.match(/<\/table/i),a=i.index,s=o&&o.index||t.length,c=Wt(t.slice(a,s),/(:?<tr[^>]*>)/i,"<tr>"),u=-1,l=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(a=0;a<c.length;++a){var m=c[a].trim(),b=m.slice(0,3).toLowerCase();if("<tr"!=b){if("<td"==b||"<th"==b){var v=m.split(/<\/t[dh]>/i);for(s=0;s<v.length;++s){var g=v[s].trim();if(g.match(/<t[dh]/i)){for(var y=g,w=0;"<"==y.charAt(0)&&(w=y.indexOf(">"))>-1;)y=y.slice(w+1);for(var x=0;x<p.length;++x){var O=p[x];O.s.c==l&&O.s.r<u&&u<=O.e.r&&(l=O.e.c+1,x=-1)}var _=ae(g.slice(0,g.indexOf(">")));h=_.colspan?+_.colspan:1,((f=+_.rowspan)>1||h>1)&&p.push({s:{r:u,c:l},e:{r:u+(f||1)-1,c:l+h-1}});var S=_.t||_["data-t"]||"";if(y.length)if(y=_e(y),d.s.r>u&&(d.s.r=u),d.e.r<u&&(d.e.r=u),d.s.c>l&&(d.s.c=l),d.e.c<l&&(d.e.c=l),y.length){var k={t:"s",v:y};r.raw||!y.trim().length||"s"==S||("TRUE"===y?k={t:"b",v:!0}:"FALSE"===y?k={t:"b",v:!1}:isNaN(zt(y))?isNaN(Ut(y).getDate())||(k={t:"d",v:It(y)},r.cellDates||(k={t:"n",v:Mt(k.v)}),k.z=r.dateNF||B[14]):k={t:"n",v:zt(y)}),r.dense?(n[u]||(n[u]=[]),n[u][l]=k):n[Mr({r:u,c:l})]=k,l+=h}else l+=h;else l+=h}}}}else{if(++u,r.sheetRows&&r.sheetRows<=u){--u;break}l=0}}return n["!ref"]=jr(d),p.length&&(n["!merges"]=p),n}function Cs(t,e,r,n){for(var i=t["!merges"]||[],o=[],a=e.s.c;a<=e.e.c;++a){for(var s=0,c=0,u=0;u<i.length;++u)if(!(i[u].s.r>r||i[u].s.c>a)&&!(i[u].e.r<r||i[u].e.c<a)){if(i[u].s.r<r||i[u].s.c<a){s=-1;break}s=i[u].e.r-i[u].s.r+1,c=i[u].e.c-i[u].s.c+1;break}if(!(s<0)){var l=Mr({r:r,c:a}),f=n.dense?(t[r]||[])[a]:t[l],h=f&&null!=f.v&&(f.h||de(f.w||(Pr(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),c>1&&(d.colspan=c),n.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(n.id||"sjs")+"-"+l,o.push(Ae("td",h,d))}}return"<tr>"+o.join("")+"</tr>"}var js='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>';function As(t,e,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function Ts(t,e){var r=e||{},n=null!=r.header?r.header:js,i=null!=r.footer?r.footer:"</body></html>",o=[n],a=Cr(t["!ref"]);r.dense=Array.isArray(t),o.push(As(0,0,r));for(var s=a.s.r;s<=a.e.r;++s)o.push(Cs(t,a,s,r));return o.push("</table>"+i),o.join("")}function Ps(t,e,r){var n=r||{};var i=0,o=0;if(null!=n.origin)if("number"==typeof n.origin)i=n.origin;else{var a="string"==typeof n.origin?Er(n.origin):n.origin;i=a.r,o=a.c}var s=e.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,s.length),u={s:{r:0,c:0},e:{r:i,c:o}};if(t["!ref"]){var l=Cr(t["!ref"]);u.s.r=Math.min(u.s.r,l.s.r),u.s.c=Math.min(u.s.c,l.s.c),u.e.r=Math.max(u.e.r,l.e.r),u.e.c=Math.max(u.e.c,l.e.c),-1==i&&(u.e.r=i=l.e.r+1)}var f=[],h=0,d=t["!rows"]||(t["!rows"]=[]),p=0,m=0,b=0,v=0,g=0,y=0;for(t["!cols"]||(t["!cols"]=[]);p<s.length&&m<c;++p){var w=s[p];if(Rs(w)){if(n.display)continue;d[m]={hidden:!0}}var x=w.children;for(b=v=0;b<x.length;++b){var O=x[b];if(!n.display||!Rs(O)){var _=O.hasAttribute("data-v")?O.getAttribute("data-v"):O.hasAttribute("v")?O.getAttribute("v"):_e(O.innerHTML),S=O.getAttribute("data-z")||O.getAttribute("z");for(h=0;h<f.length;++h){var k=f[h];k.s.c==v+o&&k.s.r<m+i&&m+i<=k.e.r&&(v=k.e.c+1-o,h=-1)}y=+O.getAttribute("colspan")||1,((g=+O.getAttribute("rowspan")||1)>1||y>1)&&f.push({s:{r:m+i,c:v+o},e:{r:m+i+(g||1)-1,c:v+o+(y||1)-1}});var E={t:"s",v:_},M=O.getAttribute("data-t")||O.getAttribute("t")||"";null!=_&&(0==_.length?E.t=M||"z":n.raw||0==_.trim().length||"s"==M||("TRUE"===_?E={t:"b",v:!0}:"FALSE"===_?E={t:"b",v:!1}:isNaN(zt(_))?isNaN(Ut(_).getDate())||(E={t:"d",v:It(_)},n.cellDates||(E={t:"n",v:Mt(E.v)}),E.z=n.dateNF||B[14]):E={t:"n",v:zt(_)})),void 0===E.z&&null!=S&&(E.z=S);var C="",j=O.getElementsByTagName("A");if(j&&j.length)for(var A=0;A<j.length&&(!j[A].hasAttribute("href")||"#"==(C=j[A].getAttribute("href")).charAt(0));++A);C&&"#"!=C.charAt(0)&&(E.l={Target:C}),n.dense?(t[m+i]||(t[m+i]=[]),t[m+i][v+o]=E):t[Mr({c:v+o,r:m+i})]=E,u.e.c<v+o&&(u.e.c=v+o),v+=y}}++m}return f.length&&(t["!merges"]=(t["!merges"]||[]).concat(f)),u.e.r=Math.max(u.e.r,m-1+i),t["!ref"]=jr(u),m>=c&&(t["!fullref"]=jr((u.e.r=s.length-p+m-1+i,u))),t}function Ds(t,e){return Ps((e||{}).dense?[]:{},t,e)}function Rs(t){var e="",r=function(t){return t.ownerDocument.defaultView&&"function"===typeof t.ownerDocument.defaultView.getComputedStyle?t.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}(t);return r&&(e=r(t).getPropertyValue("display")),e||(e=t.style&&t.style.display),"none"===e}function Ls(t){var e=t.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(t,e){return Array(parseInt(e,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[le(e.replace(/<[^>]*>/g,""))]}var Is={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Ns(t,e){var r=e||{};var n,i,o,a,s,c,u=Te(t),l=[],f={name:""},h="",d=0,p={},m=[],b=r.dense?[]:{},v={value:""},g="",y=0,w=[],x=-1,O=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}},S=0,k={},E=[],M={},C=[],j=1,A=1,T=[],P={Names:[]},D={},R=["",""],L=[],I={},N="",F=0,B=!1,z=!1,H=0;for(Pe.lastIndex=0,u=u.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=Pe.exec(u);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"\u5de5\u4f5c\u8868":"/"===s[1]?(_.e.c>=_.s.c&&_.e.r>=_.s.r?b["!ref"]=jr(_):b["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=_.e.r&&(b["!fullref"]=b["!ref"],_.e.r=r.sheetRows-1,b["!ref"]=jr(_)),E.length&&(b["!merges"]=E),C.length&&(b["!rows"]=C),o.name=o["\u540d\u79f0"]||o.name,"undefined"!==typeof JSON&&JSON.stringify(o),m.push(o.name),p[o.name]=b,z=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=ae(s[0],!1),x=O=-1,_.s.r=_.s.c=1e7,_.e.r=_.e.c=0,b=r.dense?[]:{},E=[],C=[],z=!0);break;case"table-row-group":"/"===s[1]?--S:++S;break;case"table-row":case"\u884c":if("/"===s[1]){x+=j,j=1;break}if((a=ae(s[0],!1))["\u884c\u53f7"]?x=a["\u884c\u53f7"]-1:-1==x&&(x=0),(j=+a["number-rows-repeated"]||1)<10)for(H=0;H<j;++H)S>0&&(C[x+H]={level:S});O=-1;break;case"covered-table-cell":"/"!==s[1]&&++O,r.sheetStubs&&(r.dense?(b[x]||(b[x]=[]),b[x][O]={t:"z"}):b[Mr({r:x,c:O})]={t:"z"}),g="",w=[];break;case"table-cell":case"\u6570\u636e":if("/"===s[0].charAt(s[0].length-2))++O,v=ae(s[0],!1),A=parseInt(v["number-columns-repeated"]||"1",10),c={t:"z",v:null},v.formula&&0!=r.cellFormula&&(c.f=ha(le(v.formula))),"string"==(v["\u6570\u636e\u7c7b\u578b"]||v["value-type"])&&(c.t="s",c.v=le(v["string-value"]||""),r.dense?(b[x]||(b[x]=[]),b[x][O]=c):b[Mr({r:x,c:O})]=c),O+=A-1;else if("/"!==s[1]){g="",y=0,w=[],A=1;var U=j?x+j-1:x;if(++O>_.e.c&&(_.e.c=O),O<_.s.c&&(_.s.c=O),x<_.s.r&&(_.s.r=x),U>_.e.r&&(_.e.r=U),L=[],I={},c={t:(v=ae(s[0],!1))["\u6570\u636e\u7c7b\u578b"]||v["value-type"],v:null},r.cellFormula)if(v.formula&&(v.formula=le(v.formula)),v["number-matrix-columns-spanned"]&&v["number-matrix-rows-spanned"]&&(M={s:{r:x,c:O},e:{r:x+(parseInt(v["number-matrix-rows-spanned"],10)||0)-1,c:O+(parseInt(v["number-matrix-columns-spanned"],10)||0)-1}},c.F=jr(M),T.push([M,c.F])),v.formula)c.f=ha(v.formula);else for(H=0;H<T.length;++H)x>=T[H][0].s.r&&x<=T[H][0].e.r&&O>=T[H][0].s.c&&O<=T[H][0].e.c&&(c.F=T[H][1]);switch((v["number-columns-spanned"]||v["number-rows-spanned"])&&(M={s:{r:x,c:O},e:{r:x+(parseInt(v["number-rows-spanned"],10)||0)-1,c:O+(parseInt(v["number-columns-spanned"],10)||0)-1}},E.push(M)),v["number-columns-repeated"]&&(A=parseInt(v["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=me(v["boolean-value"]);break;case"float":case"percentage":case"currency":c.t="n",c.v=parseFloat(v.value);break;case"date":c.t="d",c.v=It(v["date-value"]),r.cellDates||(c.t="n",c.v=Mt(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=Pt(v["time-value"])/86400,r.cellDates&&(c.t="d",c.v=Tt(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(v["\u6570\u636e\u6570\u503c"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=v["string-value"]&&(g=le(v["string-value"]),w=[])}}else{if(B=!1,"s"===c.t&&(c.v=g||"",w.length&&(c.R=w),B=0==y),D.Target&&(c.l=D),L.length>0&&(c.c=L,L=[]),g&&!1!==r.cellText&&(c.w=g),B&&(c.t="z",delete c.v),(!B||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=x))for(var W=0;W<j;++W){if(A=parseInt(v["number-columns-repeated"]||"1",10),r.dense)for(b[x+W]||(b[x+W]=[]),b[x+W][O]=0==W?c:Ft(c);--A>0;)b[x+W][O+A]=Ft(c);else for(b[Mr({r:x+W,c:O})]=c;--A>0;)b[Mr({r:x+W,c:O+A})]=Ft(c);_.e.c<=O&&(_.e.c=O)}O+=(A=parseInt(v["number-columns-repeated"]||"1",10))-1,A=0,c={},g="",w=[]}D={};break;case"document":case"document-content":case"\u7535\u5b50\u8868\u683c\u6587\u6863":case"spreadsheet":case"\u4e3b\u4f53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((n=l.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&l.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=l.pop())[0]!==s[3])throw"Bad state: "+n;I.t=g,w.length&&(I.R=w),I.a=N,L.push(I)}else"/"!==s[0].charAt(s[0].length-2)&&l.push([s[3],!1]);N="",F=0,g="",y=0,w=[];break;case"creator":"/"===s[1]?N=u.slice(F,s.index):F=s.index+s[0].length;break;case"meta":case"\u5143\u6570\u636e":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((n=l.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&l.push([s[3],!1]);g="",y=0,w=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(k[f.name]=h,(n=l.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(h="",f=ae(s[0],!1),l.push([s[3],!0]));break;case"script":case"libraries":case"automatic-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(l[l.length-1][0]){case"time-style":case"date-style":i=ae(s[0],!1),h+=Is[s[3]]["long"===i.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(l[l.length-1][0]){case"time-style":case"date-style":i=ae(s[0],!1),h+=Is[s[3]]["long"===i.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(l[l.length-1][0]){case"number-style":case"date-style":case"time-style":h+=u.slice(d,s.index)}else d=s.index+s[0].length;break;case"named-range":R=da((i=ae(s[0],!1))["cell-range-address"]);var q={Name:i.name,Ref:R[0]+"!"+R[1]};z&&(q.Sheet=m.length),P.Names.push(q);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"\u7535\u5b50\u8868\u683c":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"\u6587\u672c\u4e32":if(["master-styles"].indexOf(l[l.length-1][0])>-1)break;if("/"!==s[1]||v&&v["string-value"])ae(s[0],!1),y=s.index+s[0].length;else{var V=Ls(u.slice(y,s.index));g=(g.length>0?g+"\n":"")+V[0]}break;case"s":break;case"database-range":if("/"===s[1])break;try{p[(R=da(ae(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:R[1]}}catch(Y){}break;case"date":case"object":break;case"title":case"\u6807\u9898":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==s[1]){if(!(D=ae(s[0],!1)).href)break;D.Target=le(D.href),delete D.href,"#"==D.Target.charAt(0)&&D.Target.indexOf(".")>-1?(R=da(D.Target.slice(1)),D.Target="#"+R[0]+"!"+R[1]):D.Target.match(/^\.\.[\\\/]/)&&(D.Target=D.Target.slice(3))}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5b57:":break;default:if(r.WTF)throw new Error(s)}}var G={Sheets:p,SheetNames:m,Workbook:P};return r.bookSheets&&delete G.Sheets,G}function Fs(t,e){e=e||{},Gt(t,"META-INF/manifest.xml")&&function(t,e){for(var r,n,i=Te(t);r=Pe.exec(i);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=ae(r[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==n.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(e&&e.WTF)throw r}}(Xt(t,"META-INF/manifest.xml"),e);var r=$t(t,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=Ns(we(r),e);return Gt(t,"meta.xml")&&(n.Props=dn(Xt(t,"meta.xml"))),n}function Bs(t,e){return Ns(t,e)}function zs(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Hs(t){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(t):we(k(t))}function Us(t){var e=t.reduce((function(t,e){return t+e.length}),0),r=new Uint8Array(e),n=0;return t.forEach((function(t){r.set(t,n),n+=t.length})),r}function Ws(t){return 16843009*((t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135)>>>24}function qs(t,e){var r=e?e[0]:0,n=127&t[r];t:if(t[r++]>=128){if(n|=(127&t[r])<<7,t[r++]<128)break t;if(n|=(127&t[r])<<14,t[r++]<128)break t;if(n|=(127&t[r])<<21,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,28),++r,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,35),++r,t[r++]<128)break t;if(n+=(127&t[r])*Math.pow(2,42),++r,t[r++]<128)break t}return e&&(e[0]=r),n}function Vs(t){var e=0,r=127&t[e];t:if(t[e++]>=128){if(r|=(127&t[e])<<7,t[e++]<128)break t;if(r|=(127&t[e])<<14,t[e++]<128)break t;if(r|=(127&t[e])<<21,t[e++]<128)break t;r|=(127&t[e])<<28}return r}function Gs(t){for(var e=[],r=[0];r[0]<t.length;){var n,i=r[0],o=qs(t,r),a=7&o,s=0;if(0==(o=Math.floor(o/8)))break;switch(a){case 0:for(var c=r[0];t[r[0]++]>=128;);n=t.slice(c,r[0]);break;case 5:s=4,n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=qs(t,r),n=t.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(o," at offset ").concat(i))}var u={data:n,type:a};null==e[o]?e[o]=[u]:e[o].push(u)}return e}function Ys(t,e){return(null==t?void 0:t.map((function(t){return e(t.data)})))||[]}function Xs(t){for(var e,r=[],n=[0];n[0]<t.length;){var i=qs(t,n),o=Gs(t.slice(n[0],n[0]+i));n[0]+=i;var a={id:Vs(o[1][0].data),messages:[]};o[2].forEach((function(e){var r=Gs(e.data),i=Vs(r[3][0].data);a.messages.push({meta:r,data:t.slice(n[0],n[0]+i)}),n[0]+=i})),(null==(e=o[3])?void 0:e[0])&&(a.merge=Vs(o[3][0].data)>>>0>0),r.push(a)}return r}function $s(t,e){if(0!=t)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=qs(e,r),i=[];r[0]<e.length;){var o=3&e[r[0]];if(0!=o){var a=0,s=0;if(1==o?(s=4+(e[r[0]]>>2&7),a=(224&e[r[0]++])<<3,a|=e[r[0]++]):(s=1+(e[r[0]++]>>2),2==o?(a=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(a=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),i=[Us(i)],0==a)throw new Error("Invalid offset 0");if(a>i[0].length)throw new Error("Invalid offset beyond length");if(s>=a)for(i.push(i[0].slice(-a)),s-=a;s>=i[i.length-1].length;)i.push(i[i.length-1]),s-=i[i.length-1].length;i.push(i[0].slice(-a,-a+s))}else{var c=e[r[0]++]>>2;if(c<60)++c;else{var u=c-59;c=e[r[0]],u>1&&(c|=e[r[0]+1]<<8),u>2&&(c|=e[r[0]+2]<<16),u>3&&(c|=e[r[0]+3]<<24),c>>>=0,c++,r[0]+=u}i.push(e.slice(r[0],r[0]+c)),r[0]+=c}}var l=Us(i);if(l.length!=n)throw new Error("Unexpected length: ".concat(l.length," != ").concat(n));return l}function Ks(t){for(var e=[],r=0;r<t.length;){var n=t[r++],i=t[r]|t[r+1]<<8|t[r+2]<<16;r+=3,e.push($s(n,t.slice(r,r+i))),r+=i}if(r!==t.length)throw new Error("data is not a valid framed stream!");return Us(e)}function Zs(t,e,r){var n,i=zs(t),o=i.getUint32(8,!0),a=12,s=-1,c=-1,u=NaN,l=NaN,f=new Date(2001,0,1);switch(1&o&&(u=function(t,e){for(var r=(127&t[e+15])<<7|t[e+14]>>1,n=1&t[e+14],i=e+13;i>=e;--i)n=256*n+t[i];return(128&t[e+15]?-n:n)*Math.pow(10,r-6176)}(t,a),a+=16),2&o&&(l=i.getFloat64(a,!0),a+=8),4&o&&(f.setTime(f.getTime()+1e3*i.getFloat64(a,!0)),a+=8),8&o&&(c=i.getUint32(a,!0),a+=4),16&o&&(s=i.getUint32(a,!0),a+=4),t[1]){case 0:break;case 2:n={t:"n",v:u};break;case 3:n={t:"s",v:e[c]};break;case 5:n={t:"d",v:f};break;case 6:n={t:"b",v:l>0};break;case 7:n={t:"n",v:l/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(31&o," : ").concat(t.slice(0,4)));n={t:"s",v:r[s]};break;case 10:n={t:"n",v:u};break;default:throw new Error("Unsupported cell type ".concat(t[1]," : ").concat(31&o," : ").concat(t.slice(0,4)))}return n}function Js(t,e,r){switch(t[0]){case 0:case 1:case 2:case 3:return function(t,e,r,n){var i,o=zs(t),a=o.getUint32(4,!0),s=(n>1?12:8)+4*Ws(a&(n>1?3470:398)),c=-1,u=-1,l=NaN,f=new Date(2001,0,1);switch(512&a&&(c=o.getUint32(s,!0),s+=4),s+=4*Ws(a&(n>1?12288:4096)),16&a&&(u=o.getUint32(s,!0),s+=4),32&a&&(l=o.getFloat64(s,!0),s+=8),64&a&&(f.setTime(f.getTime()+1e3*o.getFloat64(s,!0)),s+=8),t[2]){case 0:break;case 2:i={t:"n",v:l};break;case 3:i={t:"s",v:e[u]};break;case 5:i={t:"d",v:f};break;case 6:i={t:"b",v:l>0};break;case 7:i={t:"n",v:l/86400};break;case 8:i={t:"e",v:0};break;case 9:if(c>-1)i={t:"s",v:r[c]};else if(u>-1)i={t:"s",v:e[u]};else{if(isNaN(l))throw new Error("Unsupported cell type ".concat(t.slice(0,4)));i={t:"n",v:l}}break;default:throw new Error("Unsupported cell type ".concat(t.slice(0,4)))}return i}(t,e,r,t[0]);case 5:return Zs(t,e,r);default:throw new Error("Unsupported payload version ".concat(t[0]))}}function Qs(t){return qs(Gs(t)[1][0].data)}function tc(t,e){var r=Gs(e.data),n=Vs(r[1][0].data),i=r[3],o=[];return(i||[]).forEach((function(e){var r=Gs(e.data),i=Vs(r[1][0].data)>>>0;switch(n){case 1:o[i]=Hs(r[3][0].data);break;case 8:var a=Gs(t[Qs(r[9][0].data)][0].data),s=t[Qs(a[1][0].data)][0],c=Vs(s.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var u=Gs(s.data);o[i]=u[3].map((function(t){return Hs(t.data)})).join("")}})),o}function ec(t,e){var r,n=Gs(e.data),i=(null==(r=null==n?void 0:n[7])?void 0:r[0])?Vs(n[7][0].data)>>>0>0?1:0:-1,o=Ys(n[5],(function(t){return function(t,e){var r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g=Gs(t),y=Vs(g[1][0].data)>>>0,w=Vs(g[2][0].data)>>>0,x=(null==(n=null==(r=g[8])?void 0:r[0])?void 0:n.data)&&Vs(g[8][0].data)>0||!1;if((null==(o=null==(i=g[7])?void 0:i[0])?void 0:o.data)&&0!=e)b=null==(s=null==(a=g[7])?void 0:a[0])?void 0:s.data,v=null==(u=null==(c=g[6])?void 0:c[0])?void 0:u.data;else{if(!(null==(f=null==(l=g[4])?void 0:l[0])?void 0:f.data)||1==e)throw"NUMBERS Tile missing ".concat(e," cell storage");b=null==(d=null==(h=g[4])?void 0:h[0])?void 0:d.data,v=null==(m=null==(p=g[3])?void 0:p[0])?void 0:m.data}for(var O=x?4:1,_=zs(b),S=[],k=0;k<b.length/2;++k){var E=_.getUint16(2*k,!0);E<65535&&S.push([k,E])}if(S.length!=w)throw"Expected ".concat(w," cells, found ").concat(S.length);var M=[];for(k=0;k<S.length-1;++k)M[S[k][0]]=v.subarray(S[k][1]*O,S[k+1][1]*O);return S.length>=1&&(M[S[S.length-1][0]]=v.subarray(S[S.length-1][1]*O)),{R:y,cells:M}}(t,i)}));return{nrows:Vs(n[4][0].data)>>>0,data:o.reduce((function(t,e){return t[e.R]||(t[e.R]=[]),e.cells.forEach((function(r,n){if(t[e.R][n])throw new Error("Duplicate cell r=".concat(e.R," c=").concat(n));t[e.R][n]=r})),t}),[])}}function rc(t,e){var r={"!ref":"A1"},n=t[Qs(Gs(e.data)[2][0].data)],i=Vs(n[0].meta[1][0].data);if(6001!=i)throw new Error("6000 unexpected reference to ".concat(i));return function(t,e,r){var n,i=Gs(e.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Vs(i[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(i[6][0].data));if(o.e.c=(Vs(i[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(i[7][0].data));r["!ref"]=jr(o);var a=Gs(i[4][0].data),s=tc(t,t[Qs(a[4][0].data)][0]),c=(null==(n=a[17])?void 0:n[0])?tc(t,t[Qs(a[17][0].data)][0]):[],u=Gs(a[3][0].data),l=0;u[1].forEach((function(e){var n=Gs(e.data),i=t[Qs(n[2][0].data)][0],o=Vs(i.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var a=ec(0,i);a.data.forEach((function(t,e){t.forEach((function(t,n){var i=Mr({r:l+e,c:n}),o=Js(t,s,c);o&&(r[i]=o)}))})),l+=a.nrows}))}(t,n[0],r),r}function nc(t,e){var r={SheetNames:[],Sheets:{}};if(Ys(Gs(e.data)[1],Qs).forEach((function(e){t[e].forEach((function(e){if(2==Vs(e.meta[1][0].data)){var n=function(t,e){var r,n=Gs(e.data),i={name:(null==(r=n[1])?void 0:r[0])?Hs(n[1][0].data):"",sheets:[]};return Ys(n[2],Qs).forEach((function(e){t[e].forEach((function(e){6e3==Vs(e.meta[1][0].data)&&i.sheets.push(rc(t,e))}))})),i}(t,e);n.sheets.forEach((function(t,e){Sc(r,t,0==e?n.name:n.name+"_"+e,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function ic(t){var e,r,n,i,o={},a=[];if(t.FullPaths.forEach((function(t){if(t.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),t.FileIndex.forEach((function(t){if(t.name.match(/\.iwa$/)){var e,r;try{e=Ks(t.content)}catch(n){return console.log("?? "+t.content.length+" "+(n.message||n))}try{r=Xs(e)}catch(n){return console.log("## "+(n.message||n))}r.forEach((function(t){o[t.id]=t.messages,a.push(t.id)}))}})),!a.length)throw new Error("File has no messages");var s=(null==(i=null==(n=null==(r=null==(e=null==o?void 0:o[1])?void 0:e[0])?void 0:r.meta)?void 0:n[1])?void 0:i[0].data)&&1==Vs(o[1][0].meta[1][0].data)&&o[1][0];if(s||a.forEach((function(t){o[t].forEach((function(t){if(1==Vs(t.meta[1][0].data)>>>0){if(s)throw new Error("Document has multiple roots");s=t}}))})),!s)throw new Error("Cannot find Document root");return nc(o,s)}function oc(t){return function(e){for(var r=0;r!=t.length;++r){var n=t[r];void 0===e[n[0]]&&(e[n[0]]=n[1]),"n"===n[2]&&(e[n[0]]=Number(e[n[0]]))}}}function ac(t){oc([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(t)}function sc(t,e,r,n,i,o,a,s,c,u,l,f){try{o[n]=ln($t(t,r,!0),e);var h,d=Xt(t,e);switch(s){case"sheet":h=$a(d,e,i,c,o[n],u,l,f);break;case"chart":if(!(h=Ka(d,e,i,c,o[n],u))||!h["!drawel"])break;var p=Qt(h["!drawel"].Target,e),m=un(p),b=Qt(function(t,e){if(!t)return"??";var r=(t.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return e["!id"][r].Target}($t(t,p,!0),ln($t(t,m,!0),p)),p),v=un(b);h=Ia($t(t,b,!0),0,0,ln($t(t,v,!0),b),0,h);break;case"macro":y=e,o[n],y.slice(-4),h={"!type":"macro"};break;case"dialog":h=function(t,e,r,n,i,o,a,s){return e.slice(-4),{"!type":"dialog"}}(0,e,0,0,o[n]);break;default:throw new Error("Unrecognized sheet type "+s)}a[n]=h;var g=[];o&&o[n]&&St(o[n]).forEach((function(r){var i="";if(o[n][r].Type==cn.CMNT){i=Qt(o[n][r].Target,e);var a=Qa(Xt(t,i,!0),i,c);if(!a||!a.length)return;xo(h,a,!1)}o[n][r].Type==cn.TCMNT&&(i=Qt(o[n][r].Target,e),g=g.concat(function(t,e){var r=[],n=!1,i={},o=0;return t.replace(ne,(function(a,s){var c=ae(a);switch(se(c[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":break;case"<threadedComment":i={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=i.t&&r.push(i);break;case"<text>":case"<text":o=s+a.length;break;case"</text>":i.t=t.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":n=!0;break;case"</mentions>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return a})),r}(Xt(t,i,!0),c)))})),g&&g.length&&xo(h,g,!0,c.people||[])}catch(w){if(c.WTF)throw w}var y}function cc(t){return"/"==t.charAt(0)?t.slice(1):t}function uc(t,e){if(gt(),ac(e=e||{}),Gt(t,"META-INF/manifest.xml"))return Fs(t,e);if(Gt(t,"objectdata.xml"))return Fs(t,e);if(Gt(t,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(t.FileIndex)return ic(t);var r=Ot.utils.cfb_new();return Kt(t).forEach((function(e){Zt(r,e,function t(r,n,i){if(!i)return Vt(Yt(r,n));if(!n)return null;try{return t(r,n)}catch(e){return null}}(t,e))})),ic(r)}if(!Gt(t,"[Content_Types].xml")){if(Gt(t,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Gt(t,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,i,o=Kt(t),a=function(t){var e={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!t||!t.match)return e;var r={};if((t.match(ne)||[]).forEach((function(t){var n=ae(t);switch(n[0].replace(ie,"<")){case"<?xml":break;case"<Types":e.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==e[sn[n.ContentType]]&&e[sn[n.ContentType]].push(n.PartName)}})),e.xmlns!==De)throw new Error("Unknown Namespace: "+e.xmlns);return e.calcchain=e.calcchains.length>0?e.calcchains[0]:"",e.sst=e.strs.length>0?e.strs[0]:"",e.style=e.styles.length>0?e.styles[0]:"",e.defaults=r,delete e.calcchains,e}($t(t,"[Content_Types].xml")),s=!1;if(0===a.workbooks.length&&Xt(t,i="xl/workbook.xml",!0)&&a.workbooks.push(i),0===a.workbooks.length){if(!Xt(t,i="xl/workbook.bin",!0))throw new Error("Could not find workbook");a.workbooks.push(i),s=!0}"bin"==a.workbooks[0].slice(-3)&&(s=!0);var c={},u={};if(!e.bookSheets&&!e.bookProps){if(pa=[],a.sst)try{pa=Ja(Xt(t,cc(a.sst)),a.sst,e)}catch(A){if(e.WTF)throw A}e.cellStyles&&a.themes.length&&(c=function(t,e,r){return vo(t,r)}($t(t,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],e)),a.style&&(u=Za(Xt(t,cc(a.style)),a.style,c,e))}a.links.map((function(r){try{ln($t(t,un(cc(r))),r);return es(Xt(t,cc(r)),0,r,e)}catch(A){}}));var l=Xa(Xt(t,cc(a.workbooks[0])),a.workbooks[0],e),f={},h="";a.coreprops.length&&((h=Xt(t,cc(a.coreprops[0]),!0))&&(f=dn(h)),0!==a.extprops.length&&(h=Xt(t,cc(a.extprops[0]),!0))&&function(t,e,r){var n={};e||(e={}),t=we(t),pn.forEach((function(r){var i=(t.match(Oe(r[0]))||[])[1];switch(r[2]){case"string":i&&(e[r[1]]=le(i));break;case"bool":e[r[1]]="true"===i;break;case"raw":var o=t.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));o&&o.length>0&&(n[r[1]]=o[1])}})),n.HeadingPairs&&n.TitlesOfParts&&mn(n.HeadingPairs,n.TitlesOfParts,e,r)}(h,f,e));var d={};e.bookSheets&&!e.bookProps||0!==a.custprops.length&&(h=$t(t,cc(a.custprops[0]),!0))&&(d=function(t,e){var r={},n="",i=t.match(bn);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=ae(a);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":n=le(s.name);break;case"</property>":n=null;break;default:if(0===a.indexOf("<vt:")){var c=a.split(">"),u=c[0].slice(4),l=c[1];switch(u){case"lpstr":case"bstr":case"lpwstr":r[n]=le(l);break;case"bool":r[n]=me(l);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(l,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(l);break;case"filetime":case"date":r[n]=It(l);break;case"cy":case"error":r[n]=le(l);break;default:if("/"==u.slice(-1))break;e.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",a,u,c)}}else if("</"===a.slice(0,2));else if(e.WTF)throw new Error(a)}}return r}(h,e));var p={};if((e.bookSheets||e.bookProps)&&(l.Sheets?n=l.Sheets.map((function(t){return t.name})):f.Worksheets&&f.SheetNames.length>0&&(n=f.SheetNames),e.bookProps&&(p.Props=f,p.Custprops=d),e.bookSheets&&"undefined"!==typeof n&&(p.SheetNames=n),e.bookSheets?p.SheetNames:e.bookProps))return p;n={};var m={};e.bookDeps&&a.calcchain&&(m=ts(Xt(t,cc(a.calcchain)),a.calcchain));var b,v,g=0,y={},w=l.Sheets;f.Worksheets=w.length,f.SheetNames=[];for(var x=0;x!=w.length;++x)f.SheetNames[x]=w[x].name;var O=s?"bin":"xml",_=a.workbooks[0].lastIndexOf("/"),S=(a.workbooks[0].slice(0,_+1)+"_rels/"+a.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");Gt(t,S)||(S="xl/_rels/workbook."+O+".rels");var k=ln($t(t,S,!0),S.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(e.xlmeta=rs(Xt(t,cc(a.metadata[0])),a.metadata[0],e)),(a.people||[]).length>=1&&(e.people=function(t,e){var r=[],n=!1;return t.replace(ne,(function(t){var i=ae(t);switch(se(i[0])){case"<?xml":case"<personList":case"</personList>":break;case"<person":r.push({name:i.displayname,id:i.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&e.WTF)throw new Error("unrecognized "+i[0]+" in threaded comments")}return t})),r}(Xt(t,cc(a.people[0])),e)),k&&(k=function(t,e){if(!t)return 0;try{t=e.map((function(e){return e.id||(e.id=e.strRelID),[e.name,t["!id"][e.id].Target,(r=t["!id"][e.id].Type,cn.WS.indexOf(r)>-1?"sheet":cn.CS&&r==cn.CS?"chart":cn.DS&&r==cn.DS?"dialog":cn.MS&&r==cn.MS?"macro":r&&r.length?r:"sheet")];var r}))}catch(A){return null}return t&&0!==t.length?t:null}(k,l.Sheets));var E=Xt(t,"xl/worksheets/sheet.xml",!0)?1:0;t:for(g=0;g!=f.Worksheets;++g){var M="sheet";if(k&&k[g]?(b="xl/"+k[g][1].replace(/[\/]?xl\//,""),Gt(t,b)||(b=k[g][1]),Gt(t,b)||(b=S.replace(/_rels\/.*$/,"")+k[g][1]),M=k[g][2]):b=(b="xl/worksheets/sheet"+(g+1-E)+"."+O).replace(/sheet0\./,"sheet."),v=b.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),e&&null!=e.sheets)switch(typeof e.sheets){case"number":if(g!=e.sheets)continue t;break;case"string":if(f.SheetNames[g].toLowerCase()!=e.sheets.toLowerCase())continue t;break;default:if(Array.isArray&&Array.isArray(e.sheets)){for(var C=!1,j=0;j!=e.sheets.length;++j)"number"==typeof e.sheets[j]&&e.sheets[j]==g&&(C=1),"string"==typeof e.sheets[j]&&e.sheets[j].toLowerCase()==f.SheetNames[g].toLowerCase()&&(C=1);if(!C)continue t}}sc(t,b,v,f.SheetNames[g],g,y,n,M,e,l,c,u)}return p={Directory:a,Workbook:l,Props:f,Custprops:d,Deps:m,Sheets:n,SheetNames:f.SheetNames,Strings:pa,Styles:u,Themes:c,SSF:Ft(B)},e&&e.bookFiles&&(t.files?(p.keys=o,p.files=t.files):(p.keys=[],p.files={},t.FullPaths.forEach((function(e,r){e=e.replace(/^Root Entry[\/]/,""),p.keys.push(e),p.files[e]=t.FileIndex[r]})))),e&&e.bookVBA&&(a.vba.length>0?p.vbaraw=Xt(t,cc(a.vba[0]),!0):a.defaults&&"application/vnd.ms-office.vbaProject"===a.defaults.bin&&(p.vbaraw=Xt(t,"xl/vbaProject.bin",!0))),p}function lc(t,e){var r=e||{},n="Workbook",i=Ot.find(t,n);try{if(n="/!DataSpaces/Version",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function(t){var e={};e.id=t.read_shift(0,"lpp4"),e.R=Pi(t,4),e.U=Pi(t,4),e.W=Pi(t,4)}(i.content),n="/!DataSpaces/DataSpaceMap",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function(t){var e=[];t.l+=4;for(var r=t.read_shift(4);r-- >0;)e.push(Di(t));return e}(i.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var a=function(t){var e=[];t.l+=4;for(var r=t.read_shift(4);r-- >0;)e.push(t.read_shift(0,"lpp4"));return e}(i.content);if(1!=a.length||"StrongEncryptionTransform"!=a[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);Ri(i.content)}catch(c){}if(n="/EncryptionInfo",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function(t){var e=Pi(t);switch(e.Minor){case 2:return[e.Minor,Ni(t)];case 3:return[e.Minor,Fi()];case 4:return[e.Minor,Bi(t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+e.Minor)}(i.content);if(n="/EncryptedPackage",!(i=Ot.find(t,n))||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==s[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(s[1],i.content,r.password||"",r);if(2==s[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(s[1],i.content,r.password||"",r);throw new Error("File is password-protected")}function fc(t,e){var r="";switch((e||{}).type||"base64"){case"buffer":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":r=y(t.slice(0,12));break;case"binary":r=t;break;case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function hc(t,e){var r=0;t:for(;r<t.length;)switch(t.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return ps(t.slice(r),e);default:break t}return wi.to_workbook(t,e)}function dc(t,e,r,n){return n?(r.type="string",wi.to_workbook(t,r)):wi.to_workbook(e,r)}function pc(t,e){l();var r=e||{};if("undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer)return pc(new Uint8Array(t),((r=Ft(r)).type="array",r));"undefined"!==typeof Uint8Array&&t instanceof Uint8Array&&!r.type&&(r.type="undefined"!==typeof Deno?"buffer":"array");var n,i=t,o=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),ma={},r.dateNF&&(ma.dateNF=r.dateNF),r.type||(r.type=w&&Buffer.isBuffer(t)?"buffer":"base64"),"file"==r.type&&(r.type=w?"buffer":"binary",i=function(t){if("undefined"!==typeof _t)return _t.readFileSync(t);if("undefined"!==typeof Deno)return Deno.readFileSync(t);if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var e=File(t);e.open("r"),e.encoding="binary";var r=e.read();return e.close(),r}catch(n){if(!n.message||!n.message.match(/onstruct/))throw n}throw new Error("Cannot access file "+t)}(t),"undefined"===typeof Uint8Array||w||(r.type="array")),"string"==r.type&&(o=!0,r.type="binary",r.codepage=65001,i=function(t){return t.match(/[^\x00-\x7F]/)?xe(t):t}(t)),"array"==r.type&&"undefined"!==typeof Uint8Array&&t instanceof Uint8Array&&"undefined"!==typeof ArrayBuffer){var a=new ArrayBuffer(3),s=new Uint8Array(a);if(s.foo="bar",!s.foo)return(r=Ft(r)).type="array",pc(E(i),r)}switch((n=fc(i,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(t,e){return Ot.find(t,"EncryptedPackage")?lc(t,e):_s(t,e)}(Ot.read(i,r),r);break;case 9:if(n[1]<=8)return _s(i,r);break;case 60:return ps(i,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return function(t,e){var r=e||{},n=!!r.WTF;r.WTF=!0;try{var i=vi.to_workbook(t,r);return r.WTF=n,i}catch(o){if(r.WTF=n,!o.message.match(/SYLK bad record ID/)&&n)throw o;return wi.to_workbook(t,e)}}(i,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return gi.to_workbook(i,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?function(t,e){var r=t,n=e||{};return n.type||(n.type=w&&Buffer.isBuffer(t)?"buffer":"base64"),uc(Jt(r,n),n)}(i,r):dc(t,i,r,o);case 239:return 60===n[3]?ps(i,r):dc(t,i,r,o);case 255:if(254===n[1])return function(t,e){var r=t;return"base64"==e.type&&(r=y(r)),r=d.utils.decode(1200,r.slice(2),"str"),e.type="binary",hc(r,e)}(i,r);if(0===n[1]&&2===n[2]&&0===n[3])return xi.to_workbook(i,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return xi.to_workbook(i,r);if(0===n[2]&&(8===n[3]||9===n[3]))return xi.to_workbook(i,r)}break;case 3:case 131:case 139:case 140:return bi.to_workbook(i,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return qi.to_workbook(i,r);break;case 10:case 13:case 32:return function(t,e){var r="",n=fc(t,e);switch(e.type){case"base64":r=y(t);break;case"binary":r=t;break;case"buffer":r=t.toString("binary");break;case"array":r=Nt(t);break;default:throw new Error("Unrecognized type "+e.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=we(r)),e.type="binary",hc(r,e)}(i,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet")}return mi.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?bi.to_workbook(i,r):dc(t,i,r,o)}function mc(t,e,r,n,i,o,a,s){var c=_r(r),u=s.defval,l=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch(b){h.__rowNum__=r}else h.__rowNum__=r;if(!a||t[r])for(var d=e.s.c;d<=e.e.c;++d){var p=a?t[r][d]:t[n[d]+c];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[d]){if(null==m)if("e"==p.t&&null===m)h[o[d]]=null;else if(void 0!==u)h[o[d]]=u;else{if(!l||null!==m)continue;h[o[d]]=null}else h[o[d]]=l&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?m:Pr(p,m,s);null!=m&&(f=!1)}}else{if(void 0===u)continue;null!=o[d]&&(h[o[d]]=u)}}return{row:h,isempty:f}}function bc(t,e){if(null==t||null==t["!ref"])return[];var r={t:"n",v:0},n=0,i=1,o=[],a=0,s="",c={s:{r:0,c:0},e:{r:0,c:0}},u=e||{},l=null!=u.range?u.range:t["!ref"];switch(1===u.header?n=1:"A"===u.header?n=2:Array.isArray(u.header)?n=3:null==u.header&&(n=0),typeof l){case"string":c=Ar(l);break;case"number":(c=Ar(t["!ref"])).s.r=l;break;default:c=l}n>0&&(i=0);var f=_r(c.s.r),h=[],d=[],p=0,m=0,b=Array.isArray(t),v=c.s.r,g=0,y={};b&&!t[v]&&(t[v]=[]);var w=u.skipHidden&&t["!cols"]||[],x=u.skipHidden&&t["!rows"]||[];for(g=c.s.c;g<=c.e.c;++g)if(!(w[g]||{}).hidden)switch(h[g]=kr(g),r=b?t[v][g]:t[h[g]+f],n){case 1:o[g]=g-c.s.c;break;case 2:o[g]=h[g];break;case 3:o[g]=u.header[g-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),s=a=Pr(r,null,u),m=y[a]||0){do{s=a+"_"+m++}while(y[s]);y[a]=m,y[s]=1}else y[a]=1;o[g]=s}for(v=c.s.r+i;v<=c.e.r;++v)if(!(x[v]||{}).hidden){var O=mc(t,c,v,h,n,o,b,u);(!1===O.isempty||(1===n?!1!==u.blankrows:u.blankrows))&&(d[p++]=O.row)}return d.length=p,d}var vc=/"/g;function gc(t,e,r,n,i,o,a,s){for(var c=!0,u=[],l="",f=_r(r),h=e.s.c;h<=e.e.c;++h)if(n[h]){var d=s.dense?(t[r]||[])[h]:t[n[h]+f];if(null==d)l="";else if(null!=d.v){c=!1,l=""+(s.rawNumbers&&"n"==d.t?d.v:Pr(d,null,s));for(var p=0,m=0;p!==l.length;++p)if((m=l.charCodeAt(p))===i||m===o||34===m||s.forceQuotes){l='"'+l.replace(vc,'""')+'"';break}"ID"==l&&(l='"ID"')}else null==d.f||d.F?l="":(c=!1,(l="="+d.f).indexOf(",")>=0&&(l='"'+l.replace(vc,'""')+'"'));u.push(l)}return!1===s.blankrows&&c?null:u.join(a)}function yc(t,e){var r=[],n=null==e?{}:e;if(null==t||null==t["!ref"])return"";var i=Ar(t["!ref"]),o=void 0!==n.FS?n.FS:",",a=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),u=new RegExp(("|"==o?"\\|":o)+"+$"),l="",f=[];n.dense=Array.isArray(t);for(var h=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(h[p]||{}).hidden||(f[p]=kr(p));for(var m=0,b=i.s.r;b<=i.e.r;++b)(d[b]||{}).hidden||null!=(l=gc(t,i,b,f,a,c,o,n))&&(n.strip&&(l=l.replace(u,"")),(l||!1!==n.blankrows)&&r.push((m++?s:"")+l));return delete n.dense,r.join("")}function wc(t,e){e||(e={}),e.FS="\t",e.RS="\n";var r=yc(t,e);if("undefined"==typeof d||"string"==e.type)return r;var n=d.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function xc(t,e,r){var n,i=r||{},o=+!i.skipHeader,a=t||{},s=0,c=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var u="string"==typeof i.origin?Er(i.origin):i.origin;s=u.r,c=u.c}var l={s:{c:0,r:0},e:{c:c,r:s+e.length-1+o}};if(a["!ref"]){var f=Ar(a["!ref"]);l.e.c=Math.max(l.e.c,f.e.c),l.e.r=Math.max(l.e.r,f.e.r),-1==s&&(s=f.e.r+1,l.e.r=s+e.length-1+o)}else-1==s&&(s=0,l.e.r=e.length-1+o);var h=i.header||[],d=0;e.forEach((function(t,e){St(t).forEach((function(r){-1==(d=h.indexOf(r))&&(h[d=h.length]=r);var u=t[r],l="z",f="",p=Mr({c:c+d,r:s+e+o});n=Oc(a,p),!u||"object"!==typeof u||u instanceof Date?("number"==typeof u?l="n":"boolean"==typeof u?l="b":"string"==typeof u?l="s":u instanceof Date?(l="d",i.cellDates||(l="n",u=Mt(u)),f=i.dateNF||B[14]):null===u&&i.nullError&&(l="e",u=0),n?(n.t=l,n.v=u,delete n.w,delete n.R,f&&(n.z=f)):a[p]=n={t:l,v:u},f&&(n.z=f)):a[p]=u}))})),l.e.c=Math.max(l.e.c,c+h.length-1);var p=_r(s);if(o)for(d=0;d<h.length;++d)a[kr(d+c)+p]={t:"s",v:h[d]};return a["!ref"]=jr(l),a}function Oc(t,e,r){if("string"==typeof e){if(Array.isArray(t)){var n=Er(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return Oc(t,Mr("number"!=typeof e?e:{r:e,c:r||0}))}function _c(){return{SheetNames:[],Sheets:{}}}function Sc(t,e,r,n){var i=1;if(!r)for(;i<=65535&&-1!=t.SheetNames.indexOf(r="Sheet"+i);++i,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var o=r.match(/(^.*?)(\d+)$/);i=o&&+o[2]||0;var a=o&&o[1]||r;for(++i;i<=65535&&-1!=t.SheetNames.indexOf(r=a+i);++i);}if(Va(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function kc(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}var Ec={encode_col:kr,encode_row:_r,encode_cell:Mr,encode_range:jr,decode_col:Sr,decode_row:Or,split_cell:function(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:Er,decode_range:Cr,format_cell:Pr,sheet_add_aoa:Rr,sheet_add_json:xc,sheet_add_dom:Ps,aoa_to_sheet:Lr,json_to_sheet:function(t,e){return xc(null,t,e)},table_to_sheet:Ds,table_to_book:function(t,e){return Dr(Ds(t,e),e)},sheet_to_csv:yc,sheet_to_txt:wc,sheet_to_json:bc,sheet_to_html:Ts,sheet_to_formulae:function(t){var e,r="",n="";if(null==t||null==t["!ref"])return[];var i,o=Ar(t["!ref"]),a="",s=[],c=[],u=Array.isArray(t);for(i=o.s.c;i<=o.e.c;++i)s[i]=kr(i);for(var l=o.s.r;l<=o.e.r;++l)for(a=_r(l),i=o.s.c;i<=o.e.c;++i)if(r=s[i]+a,n="",void 0!==(e=u?(t[l]||[])[i]:t[r])){if(null!=e.F){if(r=e.F,!e.f)continue;n=e.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=e.f)n=e.f;else{if("z"==e.t)continue;if("n"==e.t&&null!=e.v)n=""+e.v;else if("b"==e.t)n=e.v?"TRUE":"FALSE";else if(void 0!==e.w)n="'"+e.w;else{if(void 0===e.v)continue;n="s"==e.t?"'"+e.v:""+e.v}}c[c.length]=r+"="+n}return c},sheet_to_row_object_array:bc,sheet_get_cell:Oc,book_new:_c,book_append_sheet:Sc,book_set_sheet_visibility:function(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=function(t,e){if("number"==typeof e){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}if("string"==typeof e){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}throw new Error("Cannot find sheet |"+e+"|")}(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(t,e){return t.z=e,t},cell_set_hyperlink:kc,cell_set_internal_link:function(t,e,r){return kc(t,"#"+e,r)},cell_add_comment:function(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})},sheet_set_array_formula:function(t,e,r,n){for(var i="string"!=typeof e?e:Ar(e),o="string"==typeof e?e:jr(e),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var c=Oc(t,a,s);c.t="n",c.F=o,delete c.v,a==i.s.r&&s==i.s.c&&(c.f=r,n&&(c.D=!0))}return t},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};n.version},function(t,e,r){var n=r(1272)();t.exports=n},function(t,e,r){var n=r(245),i=r(1277);t.exports=function(t,e){return t&&t.length?i(t,n(e,2)):[]}},function(t,e,r){"use strict";r.d(e,"b",(function(){return $}));var n=r(1),i=r(41),o=r(236);var a=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.reduce((function(t,e){return e.filterProps.forEach((function(r){t[r]=e})),t}),{}),i=function(t){return Object.keys(t).reduce((function(e,r){return n[r]?Object(o.a)(e,n[r](t)):e}),{})};return i.propTypes={},i.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),i},s=r(149),c=r(126);function u(t){return"number"!==typeof t?t:"".concat(t,"px solid")}var l=Object(i.a)({prop:"border",themeKey:"borders",transform:u}),f=Object(i.a)({prop:"borderTop",themeKey:"borders",transform:u}),h=Object(i.a)({prop:"borderRight",themeKey:"borders",transform:u}),d=Object(i.a)({prop:"borderBottom",themeKey:"borders",transform:u}),p=Object(i.a)({prop:"borderLeft",themeKey:"borders",transform:u}),m=Object(i.a)({prop:"borderColor",themeKey:"palette"}),b=Object(i.a)({prop:"borderTopColor",themeKey:"palette"}),v=Object(i.a)({prop:"borderRightColor",themeKey:"palette"}),g=Object(i.a)({prop:"borderBottomColor",themeKey:"palette"}),y=Object(i.a)({prop:"borderLeftColor",themeKey:"palette"}),w=function(t){if(void 0!==t.borderRadius&&null!==t.borderRadius){var e=Object(s.b)(t.theme,"shape.borderRadius",4,"borderRadius");return Object(c.b)(t,t.borderRadius,(function(t){return{borderRadius:Object(s.d)(e,t)}}))}return null};w.propTypes={},w.filterProps=["borderRadius"];var x=a(l,f,h,d,p,m,b,v,g,y,w),O=a(Object(i.a)({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),Object(i.a)({prop:"display"}),Object(i.a)({prop:"overflow"}),Object(i.a)({prop:"textOverflow"}),Object(i.a)({prop:"visibility"}),Object(i.a)({prop:"whiteSpace"})),_=a(Object(i.a)({prop:"flexBasis"}),Object(i.a)({prop:"flexDirection"}),Object(i.a)({prop:"flexWrap"}),Object(i.a)({prop:"justifyContent"}),Object(i.a)({prop:"alignItems"}),Object(i.a)({prop:"alignContent"}),Object(i.a)({prop:"order"}),Object(i.a)({prop:"flex"}),Object(i.a)({prop:"flexGrow"}),Object(i.a)({prop:"flexShrink"}),Object(i.a)({prop:"alignSelf"}),Object(i.a)({prop:"justifyItems"}),Object(i.a)({prop:"justifySelf"})),S=function(t){if(void 0!==t.gap&&null!==t.gap){var e=Object(s.b)(t.theme,"spacing",8,"gap");return Object(c.b)(t,t.gap,(function(t){return{gap:Object(s.d)(e,t)}}))}return null};S.propTypes={},S.filterProps=["gap"];var k=function(t){if(void 0!==t.columnGap&&null!==t.columnGap){var e=Object(s.b)(t.theme,"spacing",8,"columnGap");return Object(c.b)(t,t.columnGap,(function(t){return{columnGap:Object(s.d)(e,t)}}))}return null};k.propTypes={},k.filterProps=["columnGap"];var E=function(t){if(void 0!==t.rowGap&&null!==t.rowGap){var e=Object(s.b)(t.theme,"spacing",8,"rowGap");return Object(c.b)(t,t.rowGap,(function(t){return{rowGap:Object(s.d)(e,t)}}))}return null};E.propTypes={},E.filterProps=["rowGap"];var M=a(S,k,E,Object(i.a)({prop:"gridColumn"}),Object(i.a)({prop:"gridRow"}),Object(i.a)({prop:"gridAutoFlow"}),Object(i.a)({prop:"gridAutoColumns"}),Object(i.a)({prop:"gridAutoRows"}),Object(i.a)({prop:"gridTemplateColumns"}),Object(i.a)({prop:"gridTemplateRows"}),Object(i.a)({prop:"gridTemplateAreas"}),Object(i.a)({prop:"gridArea"})),C=a(Object(i.a)({prop:"position"}),Object(i.a)({prop:"zIndex",themeKey:"zIndex"}),Object(i.a)({prop:"top"}),Object(i.a)({prop:"right"}),Object(i.a)({prop:"bottom"}),Object(i.a)({prop:"left"})),j=a(Object(i.a)({prop:"color",themeKey:"palette"}),Object(i.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),Object(i.a)({prop:"backgroundColor",themeKey:"palette"})),A=Object(i.a)({prop:"boxShadow",themeKey:"shadows"});function T(t){return t<=1&&0!==t?"".concat(100*t,"%"):t}var P=Object(i.a)({prop:"width",transform:T}),D=function(t){if(void 0!==t.maxWidth&&null!==t.maxWidth){return Object(c.b)(t,t.maxWidth,(function(e){var r,n,i;return{maxWidth:(null==(r=t.theme)||null==(n=r.breakpoints)||null==(i=n.values)?void 0:i[e])||c.e[e]||T(e)}}))}return null};D.filterProps=["maxWidth"];var R=Object(i.a)({prop:"minWidth",transform:T}),L=Object(i.a)({prop:"height",transform:T}),I=Object(i.a)({prop:"maxHeight",transform:T}),N=Object(i.a)({prop:"minHeight",transform:T}),F=(Object(i.a)({prop:"size",cssProperty:"width",transform:T}),Object(i.a)({prop:"size",cssProperty:"height",transform:T}),a(P,D,R,L,I,N,Object(i.a)({prop:"boxSizing"}))),B=Object(i.a)({prop:"fontFamily",themeKey:"typography"}),z=Object(i.a)({prop:"fontSize",themeKey:"typography"}),H=Object(i.a)({prop:"fontStyle",themeKey:"typography"}),U=Object(i.a)({prop:"fontWeight",themeKey:"typography"}),W=Object(i.a)({prop:"letterSpacing"}),q=Object(i.a)({prop:"lineHeight"}),V=Object(i.a)({prop:"textAlign"}),G=a(Object(i.a)({prop:"typography",cssProperty:!1,themeKey:"typography"}),B,z,H,U,W,q,V),Y={borders:x.filterProps,display:O.filterProps,flexbox:_.filterProps,grid:M.filterProps,positions:C.filterProps,palette:j.filterProps,shadows:A.filterProps,sizing:F.filterProps,spacing:s.c.filterProps,typography:G.filterProps},X={borders:x,display:O,flexbox:_,grid:M,positions:C,palette:j,shadows:A,sizing:F,spacing:s.c,typography:G},$=Object.keys(Y).reduce((function(t,e){return Y[e].forEach((function(r){t[r]=X[e]})),t}),{});e.a=function(t,e,r){var i,o=(i={},Object(n.a)(i,t,e),Object(n.a)(i,"theme",r),i),a=$[t];return a?a(o):Object(n.a)({},t,e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return T}));var n=r(114),i=r.n(n),o=r(44),a=r.n(o),s=r(0),c=r.n(s),u=r(55),l=r.n(u),f=r(302),h=r(201),d=r(80),p=r(335),m=r(208),b=r(154),v=r(17),g=r(42);function y(t){return(y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(){return(w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(Object(r),!0).forEach((function(e){_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=A(t);if(e){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return j(this,r)}}function j(t,e){return!e||"object"!==y(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(s,t);var e,r,n,o=C(s);function s(){return k(this,s),o.apply(this,arguments)}return e=s,n=[{key:"getTicks",value:function(t){var e=t.tick,r=t.ticks,n=t.viewBox,i=t.minTickGap,o=t.orientation,a=t.interval,c=t.tickFormatter,u=t.unit;return r&&r.length&&e?Object(v.h)(a)||b.a.isSsr?s.getNumberIntervalTicks(r,"number"===typeof a&&Object(v.h)(a)?a:0):"preserveStartEnd"===a?s.getTicksStart({ticks:r,tickFormatter:c,viewBox:n,orientation:o,minTickGap:i,unit:u},!0):"preserveStart"===a?s.getTicksStart({ticks:r,tickFormatter:c,viewBox:n,orientation:o,minTickGap:i,unit:u}):s.getTicksEnd({ticks:r,tickFormatter:c,viewBox:n,orientation:o,minTickGap:i,unit:u}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter((function(t,r){return r%(e+1)===0}))}},{key:"getTicksStart",value:function(t,e){var r,n,i=t.ticks,o=t.tickFormatter,s=t.viewBox,c=t.orientation,u=t.minTickGap,l=t.unit,f=s.x,d=s.y,p=s.width,m=s.height,b="top"===c||"bottom"===c?"width":"height",g=(i||[]).slice(),y=l&&"width"===b?Object(h.c)(l)[b]:0,w=g.length,x=w>=2?Object(v.j)(g[1].coordinate-g[0].coordinate):1;if(1===x?(r="width"===b?f:d,n="width"===b?f+p:d+m):(r="width"===b?f+p:d+m,n="width"===b?f:d),e){var _=i[w-1],S=a()(o)?o(_.value,w-1):_.value,k=Object(h.c)(S)[b]+y,E=x*(_.coordinate+x*k/2-n);g[w-1]=_=O(O({},_),{},{tickCoord:E>0?_.coordinate-E*x:_.coordinate}),x*(_.tickCoord-x*k/2-r)>=0&&x*(_.tickCoord+x*k/2-n)<=0&&(n=_.tickCoord-x*(k/2+u),g[w-1]=O(O({},_),{},{isShow:!0}))}for(var M=e?w-1:w,C=0;C<M;C++){var j=g[C],A=a()(o)?o(j.value,C):j.value,T=Object(h.c)(A)[b]+y;if(0===C){var P=x*(j.coordinate-x*T/2-r);g[C]=j=O(O({},j),{},{tickCoord:P<0?j.coordinate-P*x:j.coordinate})}else g[C]=j=O(O({},j),{},{tickCoord:j.coordinate});x*(j.tickCoord-x*T/2-r)>=0&&x*(j.tickCoord+x*T/2-n)<=0&&(r=j.tickCoord+x*(T/2+u),g[C]=O(O({},j),{},{isShow:!0}))}return g.filter((function(t){return t.isShow}))}},{key:"getTicksEnd",value:function(t){var e,r,n=t.ticks,i=t.tickFormatter,o=t.viewBox,s=t.orientation,c=t.minTickGap,u=t.unit,l=o.x,f=o.y,d=o.width,p=o.height,m="top"===s||"bottom"===s?"width":"height",b=u&&"width"===m?Object(h.c)(u)[m]:0,g=(n||[]).slice(),y=g.length,w=y>=2?Object(v.j)(g[1].coordinate-g[0].coordinate):1;1===w?(e="width"===m?l:f,r="width"===m?l+d:f+p):(e="width"===m?l+d:f+p,r="width"===m?l:f);for(var x=y-1;x>=0;x--){var _=g[x],S=a()(i)?i(_.value,y-x-1):_.value,k=Object(h.c)(S)[m]+b;if(x===y-1){var E=w*(_.coordinate+w*k/2-r);g[x]=_=O(O({},_),{},{tickCoord:E>0?_.coordinate-E*w:_.coordinate})}else g[x]=_=O(O({},_),{},{tickCoord:_.coordinate});w*(_.tickCoord-w*k/2-e)>=0&&w*(_.tickCoord+w*k/2-r)<=0&&(r=_.tickCoord-w*(k/2+c),g[x]=O(O({},_),{},{isShow:!0}))}return g.filter((function(t){return t.isShow}))}},{key:"renderTickItem",value:function(t,e,r){return c.a.isValidElement(t)?c.a.cloneElement(t,e):a()(t)?t(e):c.a.createElement(p.a,w({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(r=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,r=S(t,["viewBox"]),n=this.props,i=n.viewBox,o=S(n,["viewBox"]);return!Object(f.a)(e,i)||!Object(f.a)(r,o)}},{key:"getTickLineCoord",value:function(t){var e,r,n,i,o,a,s=this.props,c=s.x,u=s.y,l=s.width,f=s.height,h=s.orientation,d=s.tickSize,p=s.mirror,m=s.tickMargin,b=p?-1:1,g=t.tickSize||d,y=Object(v.h)(t.tickCoord)?t.tickCoord:t.coordinate;switch(h){case"top":e=r=t.coordinate,a=(n=(i=u+ +!p*f)-b*g)-b*m,o=y;break;case"left":n=i=t.coordinate,o=(e=(r=c+ +!p*l)-b*g)-b*m,a=y;break;case"right":n=i=t.coordinate,o=(e=(r=c+ +p*l)+b*g)+b*m,a=y;break;default:e=r=t.coordinate,a=(n=(i=u+ +p*f)+b*g)+b*m,o=y}return{line:{x1:e,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,a=t.orientation,s=t.mirror,u=t.axisLine,f=O(O(O({},Object(g.c)(this.props)),Object(g.c)(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var h=+("top"===a&&!s||"bottom"===a&&s);f=O(O({},f),{},{x1:e,y1:r+h*o,x2:e+n,y2:r+h*o})}else{var d=+("left"===a&&!s||"right"===a&&s);f=O(O({},f),{},{x1:e+d*n,y1:r,x2:e+d*n,y2:r+o})}return c.a.createElement("line",w({},f,{className:l()("recharts-cartesian-axis-line",i()(u,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,r=this.props,n=r.tickLine,o=r.stroke,u=r.tick,f=r.tickFormatter,h=r.unit,p=s.getTicks(O(O({},this.props),{},{ticks:t})),m=this.getTickTextAnchor(),b=this.getTickVerticalAnchor(),v=Object(g.c)(this.props),y=Object(g.c)(u),x=O(O({},v),{},{fill:"none"},Object(g.c)(n)),_=p.map((function(t,r){var _=e.getTickLineCoord(t),S=_.line,k=_.tick,E=O(O(O(O({textAnchor:m,verticalAnchor:b},v),{},{stroke:"none",fill:o},y),k),{},{index:r,payload:t,visibleTicksCount:p.length,tickFormatter:f});return c.a.createElement(d.a,w({className:"recharts-cartesian-axis-tick",key:"tick-".concat(r)},Object(g.b)(e.props,t,r)),n&&c.a.createElement("line",w({},x,S,{className:l()("recharts-cartesian-axis-tick-line",i()(n,"className"))})),u&&s.renderTickItem(u,E,"".concat(a()(f)?f(t.value,r):t.value).concat(h||"")))}));return c.a.createElement("g",{className:"recharts-cartesian-axis-ticks"},_)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,r=t.width,n=t.height,i=t.ticksGenerator,o=t.className;if(t.hide)return null;var s=this.props,u=s.ticks,f=S(s,["ticks"]),h=u;return a()(i)&&(h=u&&u.length>0?i(this.props):i(f)),r<=0||n<=0||!h||!h.length?null:c.a.createElement(d.a,{className:l()("recharts-cartesian-axis",o)},e&&this.renderAxisLine(),this.renderTicks(h),m.a.renderCallByParent(this.props))}}])&&E(e.prototype,r),n&&E(e,n),s}(s.Component);T.displayName="CartesianAxis",T.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"}},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(14),a=r(2),s=r(0),c=(r(10),r(8)),u=r(78),l=r(252);function f(t,e,r){return Object(l.a)(t)?e:Object(a.a)({},e,{ownerState:Object(a.a)({},e.ownerState,r)})}var h=r(147),d=r(13),p=r(122),m=r(22),b=r(24),v=r(1312),g=r(890),y=r(141),w=r(72),x=r(115),O=r(275),_=r(220),S=r(339),k=r(340);function E(t){return Object(S.a)("MuiTooltip",t)}var M=Object(k.a)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),C=r(6),j=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];var A=Object(d.a)(g.a,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(t,e){var r=t.ownerState;return[e.popper,!r.disableInteractive&&e.popperInteractive,r.arrow&&e.popperArrow,!r.open&&e.popperClose]}})((function(t){var e,r=t.theme,n=t.ownerState,o=t.open;return Object(a.a)({zIndex:r.zIndex.tooltip,pointerEvents:"none"},!n.disableInteractive&&{pointerEvents:"auto"},!o&&{pointerEvents:"none"},n.arrow&&(e={},Object(i.a)(e,'&[data-popper-placement*="bottom"] .'.concat(M.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),Object(i.a)(e,'&[data-popper-placement*="top"] .'.concat(M.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),Object(i.a)(e,'&[data-popper-placement*="right"] .'.concat(M.arrow),Object(a.a)({},n.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),Object(i.a)(e,'&[data-popper-placement*="left"] .'.concat(M.arrow),Object(a.a)({},n.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),e))})),T=Object(d.a)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(t,e){var r=t.ownerState;return[e.tooltip,r.touch&&e.touch,r.arrow&&e.tooltipArrow,e["tooltipPlacement".concat(Object(b.a)(r.placement.split("-")[0]))]]}})((function(t){var e,r,n=t.theme,o=t.ownerState;return Object(a.a)({backgroundColor:Object(h.a)(n.palette.grey[700],.92),borderRadius:n.shape.borderRadius,color:n.palette.common.white,fontFamily:n.typography.fontFamily,padding:"4px 8px",fontSize:n.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:n.typography.fontWeightMedium},o.arrow&&{position:"relative",margin:0},o.touch&&{padding:"8px 16px",fontSize:n.typography.pxToRem(14),lineHeight:"".concat((r=16/14,Math.round(1e5*r)/1e5),"em"),fontWeight:n.typography.fontWeightRegular},(e={},Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="left"] &'),Object(a.a)({transformOrigin:"right center"},o.isRtl?Object(a.a)({marginLeft:"14px"},o.touch&&{marginLeft:"24px"}):Object(a.a)({marginRight:"14px"},o.touch&&{marginRight:"24px"}))),Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="right"] &'),Object(a.a)({transformOrigin:"left center"},o.isRtl?Object(a.a)({marginRight:"14px"},o.touch&&{marginRight:"24px"}):Object(a.a)({marginLeft:"14px"},o.touch&&{marginLeft:"24px"}))),Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="top"] &'),Object(a.a)({transformOrigin:"center bottom",marginBottom:"14px"},o.touch&&{marginBottom:"24px"})),Object(i.a)(e,".".concat(M.popper,'[data-popper-placement*="bottom"] &'),Object(a.a)({transformOrigin:"center top",marginTop:"14px"},o.touch&&{marginTop:"24px"})),e))})),P=Object(d.a)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(t,e){return e.arrow}})((function(t){var e=t.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(h.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),D=!1,R=null;function L(t,e){return function(r){e&&e(r),t(r)}}var I=s.forwardRef((function(t,e){var r,i,l,h,d,S,k=Object(m.a)({props:t,name:"MuiTooltip"}),M=k.arrow,I=void 0!==M&&M,N=k.children,F=k.components,B=void 0===F?{}:F,z=k.componentsProps,H=void 0===z?{}:z,U=k.describeChild,W=void 0!==U&&U,q=k.disableFocusListener,V=void 0!==q&&q,G=k.disableHoverListener,Y=void 0!==G&&G,X=k.disableInteractive,$=void 0!==X&&X,K=k.disableTouchListener,Z=void 0!==K&&K,J=k.enterDelay,Q=void 0===J?100:J,tt=k.enterNextDelay,et=void 0===tt?0:tt,rt=k.enterTouchDelay,nt=void 0===rt?700:rt,it=k.followCursor,ot=void 0!==it&&it,at=k.id,st=k.leaveDelay,ct=void 0===st?0:st,ut=k.leaveTouchDelay,lt=void 0===ut?1500:ut,ft=k.onClose,ht=k.onOpen,dt=k.open,pt=k.placement,mt=void 0===pt?"bottom":pt,bt=k.PopperComponent,vt=k.PopperProps,gt=void 0===vt?{}:vt,yt=k.title,wt=k.TransitionComponent,xt=void 0===wt?v.a:wt,Ot=k.TransitionProps,_t=Object(o.a)(k,j),St=Object(p.a)(),kt="rtl"===St.direction,Et=s.useState(),Mt=Object(n.a)(Et,2),Ct=Mt[0],jt=Mt[1],At=s.useState(null),Tt=Object(n.a)(At,2),Pt=Tt[0],Dt=Tt[1],Rt=s.useRef(!1),Lt=$||ot,It=s.useRef(),Nt=s.useRef(),Ft=s.useRef(),Bt=s.useRef(),zt=Object(_.a)({controlled:dt,default:!1,name:"Tooltip",state:"open"}),Ht=Object(n.a)(zt,2),Ut=Ht[0],Wt=Ht[1],qt=Ut,Vt=Object(x.a)(at),Gt=s.useRef(),Yt=s.useCallback((function(){void 0!==Gt.current&&(document.body.style.WebkitUserSelect=Gt.current,Gt.current=void 0),clearTimeout(Bt.current)}),[]);s.useEffect((function(){return function(){clearTimeout(It.current),clearTimeout(Nt.current),clearTimeout(Ft.current),Yt()}}),[Yt]);var Xt=function(t){clearTimeout(R),D=!0,Wt(!0),ht&&!qt&&ht(t)},$t=Object(y.a)((function(t){clearTimeout(R),R=setTimeout((function(){D=!1}),800+ct),Wt(!1),ft&&qt&&ft(t),clearTimeout(It.current),It.current=setTimeout((function(){Rt.current=!1}),St.transitions.duration.shortest)})),Kt=function(t){Rt.current&&"touchstart"!==t.type||(Ct&&Ct.removeAttribute("title"),clearTimeout(Nt.current),clearTimeout(Ft.current),Q||D&&et?Nt.current=setTimeout((function(){Xt(t)}),D?et:Q):Xt(t))},Zt=function(t){clearTimeout(Nt.current),clearTimeout(Ft.current),Ft.current=setTimeout((function(){$t(t)}),ct)},Jt=Object(O.a)(),Qt=Jt.isFocusVisibleRef,te=Jt.onBlur,ee=Jt.onFocus,re=Jt.ref,ne=s.useState(!1),ie=Object(n.a)(ne,2)[1],oe=function(t){te(t),!1===Qt.current&&(ie(!1),Zt(t))},ae=function(t){Ct||jt(t.currentTarget),ee(t),!0===Qt.current&&(ie(!0),Kt(t))},se=function(t){Rt.current=!0;var e=N.props;e.onTouchStart&&e.onTouchStart(t)},ce=Kt,ue=Zt;s.useEffect((function(){if(qt)return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)};function t(t){"Escape"!==t.key&&"Esc"!==t.key||$t(t)}}),[$t,qt]);var le=Object(w.a)(jt,e),fe=Object(w.a)(re,le),he=Object(w.a)(N.ref,fe);""===yt&&(qt=!1);var de=s.useRef({x:0,y:0}),pe=s.useRef(),me={},be="string"===typeof yt;W?(me.title=qt||!be||Y?null:yt,me["aria-describedby"]=qt?Vt:null):(me["aria-label"]=be?yt:null,me["aria-labelledby"]=qt&&!be?Vt:null);var ve=Object(a.a)({},me,_t,N.props,{className:Object(c.a)(_t.className,N.props.className),onTouchStart:se,ref:he},ot?{onMouseMove:function(t){var e=N.props;e.onMouseMove&&e.onMouseMove(t),de.current={x:t.clientX,y:t.clientY},pe.current&&pe.current.update()}}:{});var ge={};Z||(ve.onTouchStart=function(t){se(t),clearTimeout(Ft.current),clearTimeout(It.current),Yt(),Gt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Bt.current=setTimeout((function(){document.body.style.WebkitUserSelect=Gt.current,Kt(t)}),nt)},ve.onTouchEnd=function(t){N.props.onTouchEnd&&N.props.onTouchEnd(t),Yt(),clearTimeout(Ft.current),Ft.current=setTimeout((function(){$t(t)}),lt)}),Y||(ve.onMouseOver=L(ce,ve.onMouseOver),ve.onMouseLeave=L(ue,ve.onMouseLeave),Lt||(ge.onMouseOver=ce,ge.onMouseLeave=ue)),V||(ve.onFocus=L(ae,ve.onFocus),ve.onBlur=L(oe,ve.onBlur),Lt||(ge.onFocus=ae,ge.onBlur=oe));var ye=s.useMemo((function(){var t,e=[{name:"arrow",enabled:Boolean(Pt),options:{element:Pt,padding:4}}];return null!=(t=gt.popperOptions)&&t.modifiers&&(e=e.concat(gt.popperOptions.modifiers)),Object(a.a)({},gt.popperOptions,{modifiers:e})}),[Pt,gt]),we=Object(a.a)({},k,{isRtl:kt,arrow:I,disableInteractive:Lt,placement:mt,PopperComponentProp:bt,touch:Rt.current}),xe=function(t){var e=t.classes,r=t.disableInteractive,n=t.arrow,i=t.touch,o=t.placement,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch","tooltipPlacement".concat(Object(b.a)(o.split("-")[0]))],arrow:["arrow"]};return Object(u.a)(a,E,e)}(we),Oe=null!=(r=B.Popper)?r:A,_e=null!=(i=null!=(l=B.Transition)?l:xt)?i:v.a,Se=null!=(h=B.Tooltip)?h:T,ke=null!=(d=B.Arrow)?d:P,Ee=f(Oe,Object(a.a)({},gt,H.popper),we),Me=f(_e,Object(a.a)({},Ot,H.transition),we),Ce=f(Se,Object(a.a)({},H.tooltip),we),je=f(ke,Object(a.a)({},H.arrow),we);return Object(C.jsxs)(s.Fragment,{children:[s.cloneElement(N,ve),Object(C.jsx)(Oe,Object(a.a)({as:null!=bt?bt:g.a,placement:mt,anchorEl:ot?{getBoundingClientRect:function(){return{top:de.current.y,left:de.current.x,right:de.current.x,bottom:de.current.y,width:0,height:0}}}:Ct,popperRef:pe,open:!!Ct&&qt,id:Vt,transition:!0},ge,Ee,{className:Object(c.a)(xe.popper,null==gt?void 0:gt.className,null==(S=H.popper)?void 0:S.className),popperOptions:ye,children:function(t){var e,r,n=t.TransitionProps;return Object(C.jsx)(_e,Object(a.a)({timeout:St.transitions.duration.shorter},n,Me,{children:Object(C.jsxs)(Se,Object(a.a)({},Ce,{className:Object(c.a)(xe.tooltip,null==(e=H.tooltip)?void 0:e.className),children:[yt,I?Object(C.jsx)(ke,Object(a.a)({},je,{className:Object(c.a)(xe.arrow,null==(r=H.arrow)?void 0:r.className),ref:Dt})):null]}))}))}}))]})}));e.a=I},,,,,,function(t,e,r){var n=r(214).Symbol;t.exports=n},function(t,e,r){var n=r(964);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){var n=r(44),i=r(590);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},function(t,e,r){(function(t){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"===typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"===typeof t},e.isString=function(t){return"string"===typeof t},e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"===typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"===typeof t},e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=t.isBuffer}).call(this,r(121).Buffer)},function(t,e,r){"use strict";var n=r(53),i=r(600),o=r(602),a=r(603),s=r(267);function c(t){s.call(this,"digest"),this._hash=t}n(c,s),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new c(a(t))}},function(t,e,r){(function(e){t.exports=function(t,r){for(var n=Math.min(t.length,r.length),i=new e(n),o=0;o<n;++o)i[o]=t[o]^r[o];return i}}).call(this,r(121).Buffer)},function(t,e,r){"use strict";var n=r(215),i=r(190);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},function(t,e,r){"use strict";var n=r(53),i=r(617).Reporter,o=r(615).Buffer;function a(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function s(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return s.isEncoderBuffer(t)||(t=new s(t,e)),this.length+=t.length,t}),this);else if("number"===typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"===typeof t)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}n(a,i),e.DecoderBuffer=a,a.isDecoderBuffer=function(t){return t instanceof a||"object"===typeof t&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"===typeof t.offset&&"number"===typeof t.length&&"function"===typeof t.save&&"function"===typeof t.restore&&"function"===typeof t.isEmpty&&"function"===typeof t.readUInt8&&"function"===typeof t.skip&&"function"===typeof t.raw},a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(t){var e=new a(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},a.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},a.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=s,s.isEncoderBuffer=function(t){return t instanceof s||"object"===typeof t&&"EncoderBuffer"===t.constructor.name&&"number"===typeof t.length&&"function"===typeof t.join},s.prototype.join=function(t,e){return t||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"===typeof this.value?t[e]=this.value:"string"===typeof this.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e,r){"use strict";t.exports=r(1182)},function(t,e,r){"use strict";r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return l})),r.d(e,"d",(function(){return v})),r.d(e,"c",(function(){return g}));var n=r(177),i=r(118),o=r(378),a=6/29,s=3*a*a;function c(t){if(t instanceof f)return new f(t.l,t.a,t.b,t.opacity);if(t instanceof y)return w(t);t instanceof i.b||(t=Object(i.h)(t));var e,r,n=m(t.r),o=m(t.g),a=m(t.b),s=h((.2225045*n+.7168786*o+.0606169*a)/1);return n===o&&o===a?e=r=s:(e=h((.4360747*n+.3850649*o+.1430804*a)/.96422),r=h((.0139322*n+.0971045*o+.7141733*a)/.82521)),new f(116*s-16,500*(e-s),200*(s-r),t.opacity)}function u(t,e){return new f(t,0,0,null==e?1:e)}function l(t,e,r,n){return 1===arguments.length?c(t):new f(t,e,r,null==n?1:n)}function f(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function h(t){return t>.008856451679035631?Math.pow(t,1/3):t/s+4/29}function d(t){return t>a?t*t*t:s*(t-4/29)}function p(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function m(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function b(t){if(t instanceof y)return new y(t.h,t.c,t.l,t.opacity);if(t instanceof f||(t=c(t)),0===t.a&&0===t.b)return new y(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*o.a;return new y(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function v(t,e,r,n){return 1===arguments.length?b(t):new y(r,e,t,null==n?1:n)}function g(t,e,r,n){return 1===arguments.length?b(t):new y(t,e,r,null==n?1:n)}function y(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function w(t){if(isNaN(t.h))return new f(t.l,0,0,t.opacity);var e=t.h*o.b;return new f(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Object(n.a)(f,l,Object(n.b)(i.a,{brighter:function(t){return new f(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new f(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*d(e),t=1*d(t),r=.82521*d(r),new i.b(p(3.1338561*e-1.6168667*t-.4906146*r),p(-.9787684*e+1.9161415*t+.033454*r),p(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),Object(n.a)(y,g,Object(n.b)(i.a,{brighter:function(t){return new y(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new y(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return w(this).rgb()}}))},function(t,e,r){"use strict";r.d(e,"d",(function(){return _})),r.d(e,"c",(function(){return S})),r.d(e,"b",(function(){return M})),r.d(e,"a",(function(){return C}));var n=r(3),i=r(365),o=r(173),a=r(60),s=r(317),c=r(218),u=r(411),l=r(410),f=r(324),h=r(106),d=r(409),p=r(239),m=r(408),b=r(407),v=r(323),g=r(105),y=r(406);function w(t,e,r,u,l,f){var h=[[c.a,1,a.e],[c.a,5,5*a.e],[c.a,15,15*a.e],[c.a,30,30*a.e],[f,1,a.c],[f,5,5*a.c],[f,15,15*a.c],[f,30,30*a.c],[l,1,a.b],[l,3,3*a.b],[l,6,6*a.b],[l,12,12*a.b],[u,1,a.a],[u,2,2*a.a],[r,1,a.f],[e,1,a.d],[e,3,3*a.d],[t,1,a.g]];function d(e,r,c){var u=Math.abs(r-e)/c,l=Object(i.a)((function(t){return Object(n.a)(t,3)[2]})).right(h,u);if(l===h.length)return t.every(Object(o.c)(e/a.g,r/a.g,c));if(0===l)return s.a.every(Math.max(Object(o.c)(e,r,c),1));var f=Object(n.a)(h[u/h[l-1][2]<h[l][2]/u?l-1:l],2),d=f[0],p=f[1];return d.every(p)}return[function(t,e,r){var n=e<t;if(n){var i=[e,t];t=i[0],e=i[1]}var o=r&&"function"===typeof r.range?r:d(t,e,r),a=o?o.range(t,+e+1):[];return n?a.reverse():a},d]}var x=w(r(238).a,y.a,g.g,v.a,b.a,m.a),O=Object(n.a)(x,2),_=O[0],S=O[1],k=w(p.a,d.a,h.g,f.b,l.a,u.a),E=Object(n.a)(k,2),M=E[0],C=E[1]},function(t,e,r){"use strict";var n=r(94);r.d(e,"g",(function(){return n.a}));var i=r(317);r.d(e,"h",(function(){return i.a})),r.d(e,"i",(function(){return i.b})),r.d(e,"N",(function(){return i.a})),r.d(e,"O",(function(){return i.b}));var o=r(218);r.d(e,"r",(function(){return o.a})),r.d(e,"s",(function(){return o.b})),r.d(e,"X",(function(){return o.a})),r.d(e,"Y",(function(){return o.b}));var a=r(411);r.d(e,"j",(function(){return a.a})),r.d(e,"k",(function(){return a.b}));var s=r(410);r.d(e,"e",(function(){return s.a})),r.d(e,"f",(function(){return s.b}));var c=r(324);r.d(e,"a",(function(){return c.b})),r.d(e,"b",(function(){return c.a}));var u=r(106);r.d(e,"D",(function(){return u.g})),r.d(e,"E",(function(){return u.h})),r.d(e,"t",(function(){return u.g})),r.d(e,"u",(function(){return u.h})),r.d(e,"l",(function(){return u.c})),r.d(e,"m",(function(){return u.d})),r.d(e,"z",(function(){return u.k})),r.d(e,"A",(function(){return u.l})),r.d(e,"B",(function(){return u.m})),r.d(e,"C",(function(){return u.n})),r.d(e,"v",(function(){return u.i})),r.d(e,"w",(function(){return u.j})),r.d(e,"c",(function(){return u.a})),r.d(e,"d",(function(){return u.b})),r.d(e,"p",(function(){return u.e})),r.d(e,"q",(function(){return u.f}));var l=r(409);r.d(e,"n",(function(){return l.a})),r.d(e,"o",(function(){return l.b}));var f=r(239);r.d(e,"F",(function(){return f.a})),r.d(e,"G",(function(){return f.b}));var h=r(408);r.d(e,"P",(function(){return h.a})),r.d(e,"Q",(function(){return h.b}));var d=r(407);r.d(e,"L",(function(){return d.a})),r.d(e,"M",(function(){return d.b}));var p=r(323);r.d(e,"H",(function(){return p.a})),r.d(e,"I",(function(){return p.b}));var m=r(105);r.d(e,"jb",(function(){return m.g})),r.d(e,"kb",(function(){return m.h})),r.d(e,"Z",(function(){return m.g})),r.d(e,"ab",(function(){return m.h})),r.d(e,"R",(function(){return m.c})),r.d(e,"S",(function(){return m.d})),r.d(e,"fb",(function(){return m.k})),r.d(e,"gb",(function(){return m.l})),r.d(e,"hb",(function(){return m.m})),r.d(e,"ib",(function(){return m.n})),r.d(e,"bb",(function(){return m.i})),r.d(e,"cb",(function(){return m.j})),r.d(e,"J",(function(){return m.a})),r.d(e,"K",(function(){return m.b})),r.d(e,"V",(function(){return m.e})),r.d(e,"W",(function(){return m.f}));var b=r(406);r.d(e,"T",(function(){return b.a})),r.d(e,"U",(function(){return b.b}));var v=r(238);r.d(e,"lb",(function(){return v.a})),r.d(e,"mb",(function(){return v.b}));var g=r(401);r.d(e,"eb",(function(){return g.d})),r.d(e,"db",(function(){return g.c})),r.d(e,"y",(function(){return g.b})),r.d(e,"x",(function(){return g.a}))},function(t,e,r){"use strict";r.r(e),function(t){r.d(e,"createGlobalStyle",(function(){return re})),r.d(e,"css",(function(){return yt})),r.d(e,"isStyledComponent",(function(){return E})),r.d(e,"keyframes",(function(){return ie})),r.d(e,"ServerStyleSheet",(function(){return Yt})),r.d(e,"StyleSheetConsumer",(function(){return $t})),r.d(e,"StyleSheetContext",(function(){return Xt})),r.d(e,"StyleSheetManager",(function(){return Kt})),r.d(e,"ThemeConsumer",(function(){return Vt})),r.d(e,"ThemeContext",(function(){return qt})),r.d(e,"ThemeProvider",(function(){return Gt})),r.d(e,"withTheme",(function(){return oe})),r.d(e,"__DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS",(function(){return ae}));var n=r(652),i=r.n(n),o=r(836),a=r.n(o),s=r(0),c=r.n(s),u=r(525),l=r(276),f=r(530),h=(r(10),r(880)),d=r(881),p=function(t,e){for(var r=[t[0]],n=0,i=e.length;n<i;n+=1)r.push(e[n],t[n+1]);return r},m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},v=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},y=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},w=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e},x=function(t){return"object"===("undefined"===typeof t?"undefined":m(t))&&t.constructor===Object},O=Object.freeze([]),_=Object.freeze({});function S(t){return"function"===typeof t}function k(t){return t.displayName||t.name||"Component"}function E(t){return t&&"string"===typeof t.styledComponentId}var M="undefined"!==typeof t&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).SC_ATTR)||"data-styled",C="undefined"!==typeof window&&"HTMLElement"in window,j="boolean"===typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!==typeof t&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).REACT_APP_SC_DISABLE_SPEEDY||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).SC_DISABLE_SPEEDY)||!1,A={};var T=function(t){function e(r){b(this,e);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];var a=w(this,t.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+r+" for more information."+(i.length>0?" Additional arguments: "+i.join(", "):"")));return w(a)}return y(e,t),e}(Error),P=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,D=function(t){var e=""+(t||""),r=[];return e.replace(P,(function(t,e,n){return r.push({componentId:e,matchIndex:n}),t})),r.map((function(t,n){var i=t.componentId,o=t.matchIndex,a=r[n+1];return{componentId:i,cssFromDOM:a?e.slice(o,a.matchIndex):e.slice(o)}}))},R=/^\s*\/\/.*$/gm,L=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),I=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),N=[],F=function(t){if(-2===t){var e=N;return N=[],e}},B=a()((function(t){N.push(t)})),z=void 0,H=void 0,U=void 0,W=function(t,e,r){return e>0&&-1!==r.slice(0,e).indexOf(H)&&r.slice(e-H.length,e)!==H?"."+z:t};I.use([function(t,e,r){2===t&&r.length&&r[0].lastIndexOf(H)>0&&(r[0]=r[0].replace(U,W))},B,F]),L.use([B,F]);var q=function(t){return L("",t)};function V(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",i=t.join("").replace(R,""),o=e&&r?r+" "+e+" { "+i+" }":i;return z=n,H=e,U=new RegExp("\\"+H+"\\b","g"),I(r||!e?"":e,o)}var G=function(){return r.nc},Y=function(t,e,r){r&&((t[e]||(t[e]=Object.create(null)))[r]=!0)},X=function(t,e){t[e]=Object.create(null)},$=function(t){return function(e,r){return void 0!==t[e]&&t[e][r]}},K=function(t){var e="";for(var r in t)e+=Object.keys(t[r]).join(" ")+" ";return e.trim()},Z=function(t){if(t.sheet)return t.sheet;for(var e=t.ownerDocument.styleSheets.length,r=0;r<e;r+=1){var n=t.ownerDocument.styleSheets[r];if(n.ownerNode===t)return n}throw new T(10)},J=function(t,e,r){if(!e)return!1;var n=t.cssRules.length;try{t.insertRule(e,r<=n?r:n)}catch(i){return!1}return!0},Q=function(t){return"\n/* sc-component-id: "+t+" */\n"},tt=function(t,e){for(var r=0,n=0;n<=e;n+=1)r+=t[n];return r},et=function(t,e){return function(r){var n=G();return"<style "+[n&&'nonce="'+n+'"',M+'="'+K(e)+'"','data-styled-version="4.4.1"',r].filter(Boolean).join(" ")+">"+t()+"</style>"}},rt=function(t,e){return function(){var r,n=((r={})[M]=K(e),r["data-styled-version"]="4.4.1",r),i=G();return i&&(n.nonce=i),c.a.createElement("style",g({},n,{dangerouslySetInnerHTML:{__html:t()}}))}},nt=function(t){return function(){return Object.keys(t)}},it=function(t,e){return t.createTextNode(Q(e))},ot=function t(e,r){var n=void 0===e?Object.create(null):e,i=void 0===r?Object.create(null):r,o=function(t){var e=i[t];return void 0!==e?e:i[t]=[""]},a=function(){var t="";for(var e in i){var r=i[e][0];r&&(t+=Q(e)+r)}return t};return{clone:function(){var e=function(t){var e=Object.create(null);for(var r in t)e[r]=g({},t[r]);return e}(n),r=Object.create(null);for(var o in i)r[o]=[i[o][0]];return t(e,r)},css:a,getIds:nt(i),hasNameForId:$(n),insertMarker:o,insertRules:function(t,e,r){o(t)[0]+=e.join(" "),Y(n,t,r)},removeRules:function(t){var e=i[t];void 0!==e&&(e[0]="",X(n,t))},sealed:!1,styleTag:null,toElement:rt(a,n),toHTML:et(a,n)}},at=function(t,e,r,n,i){if(C&&!r){var o=function(t,e,r){var n=document;t?n=t.ownerDocument:e&&(n=e.ownerDocument);var i=n.createElement("style");i.setAttribute(M,""),i.setAttribute("data-styled-version","4.4.1");var o=G();if(o&&i.setAttribute("nonce",o),i.appendChild(n.createTextNode("")),t&&!e)t.appendChild(i);else{if(!e||!t||!e.parentNode)throw new T(6);e.parentNode.insertBefore(i,r?e:e.nextSibling)}return i}(t,e,n);return j?function(t,e){var r=Object.create(null),n=Object.create(null),i=void 0!==e,o=!1,a=function(e){var i=n[e];return void 0!==i?i:(n[e]=it(t.ownerDocument,e),t.appendChild(n[e]),r[e]=Object.create(null),n[e])},s=function(){var t="";for(var e in n)t+=n[e].data;return t};return{clone:function(){throw new T(5)},css:s,getIds:nt(n),hasNameForId:$(r),insertMarker:a,insertRules:function(t,n,s){for(var c=a(t),u=[],l=n.length,f=0;f<l;f+=1){var h=n[f],d=i;if(d&&-1!==h.indexOf("@import"))u.push(h);else{d=!1;var p=f===l-1?"":" ";c.appendData(""+h+p)}}Y(r,t,s),i&&u.length>0&&(o=!0,e().insertRules(t+"-import",u))},removeRules:function(a){var s=n[a];if(void 0!==s){var c=it(t.ownerDocument,a);t.replaceChild(c,s),n[a]=c,X(r,a),i&&o&&e().removeRules(a+"-import")}},sealed:!1,styleTag:t,toElement:rt(s,r),toHTML:et(s,r)}}(o,i):function(t,e){var r=Object.create(null),n=Object.create(null),i=[],o=void 0!==e,a=!1,s=function(t){var e=n[t];return void 0!==e?e:(n[t]=i.length,i.push(0),X(r,t),n[t])},c=function(){var e=Z(t).cssRules,r="";for(var o in n){r+=Q(o);for(var a=n[o],s=tt(i,a),c=s-i[a];c<s;c+=1){var u=e[c];void 0!==u&&(r+=u.cssText)}}return r};return{clone:function(){throw new T(5)},css:c,getIds:nt(n),hasNameForId:$(r),insertMarker:s,insertRules:function(n,c,u){for(var l=s(n),f=Z(t),h=tt(i,l),d=0,p=[],m=c.length,b=0;b<m;b+=1){var v=c[b],g=o;g&&-1!==v.indexOf("@import")?p.push(v):J(f,v,h+d)&&(g=!1,d+=1)}o&&p.length>0&&(a=!0,e().insertRules(n+"-import",p)),i[l]+=d,Y(r,n,u)},removeRules:function(s){var c=n[s];if(void 0!==c&&!1!==t.isConnected){var u=i[c];!function(t,e,r){for(var n=e-r,i=e;i>n;i-=1)t.deleteRule(i)}(Z(t),tt(i,c)-1,u),i[c]=0,X(r,s),o&&a&&e().removeRules(s+"-import")}},sealed:!1,styleTag:t,toElement:rt(c,r),toHTML:et(c,r)}}(o,i)}return ot()},st=/\s+/,ct=void 0;ct=C?j?40:1e3:-1;var ut=0,lt=void 0,ft=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C?document.head:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];b(this,t),this.getImportRuleTag=function(){var t=e.importRuleTag;if(void 0!==t)return t;var r=e.tags[0];return e.importRuleTag=at(e.target,r?r.styleTag:null,e.forceServer,!0)},ut+=1,this.id=ut,this.forceServer=n,this.target=n?null:r,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return t.prototype.rehydrate=function(){if(!C||this.forceServer)return this;var t=[],e=[],r=!1,n=document.querySelectorAll("style["+M+'][data-styled-version="4.4.1"]'),i=n.length;if(!i)return this;for(var o=0;o<i;o+=1){var a=n[o];r||(r=!!a.getAttribute("data-styled-streamed"));for(var s,c=(a.getAttribute(M)||"").trim().split(st),u=c.length,l=0;l<u;l+=1)s=c[l],this.rehydratedNames[s]=!0;e.push.apply(e,D(a.textContent)),t.push(a)}var f=e.length;if(!f)return this;var h=this.makeTag(null);!function(t,e,r){for(var n=0,i=r.length;n<i;n+=1){var o=r[n],a=o.componentId,s=o.cssFromDOM,c=q(s);t.insertRules(a,c)}for(var u=0,l=e.length;u<l;u+=1){var f=e[u];f.parentNode&&f.parentNode.removeChild(f)}}(h,t,e),this.capacity=Math.max(1,ct-f),this.tags.push(h);for(var d=0;d<f;d+=1)this.tagMap[e[d].componentId]=h;return this},t.reset=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];lt=new t(void 0,e).rehydrate()},t.prototype.clone=function(){var e=new t(this.target,this.forceServer);return this.clones.push(e),e.tags=this.tags.map((function(t){for(var r=t.getIds(),n=t.clone(),i=0;i<r.length;i+=1)e.tagMap[r[i]]=n;return n})),e.rehydratedNames=g({},this.rehydratedNames),e.deferred=g({},this.deferred),e},t.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(t){t.sealed=!0}))},t.prototype.makeTag=function(t){var e=t?t.styleTag:null;return at(this.target,e,this.forceServer,!1,this.getImportRuleTag)},t.prototype.getTagForId=function(t){var e=this.tagMap[t];if(void 0!==e&&!e.sealed)return e;var r=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=ct,r=this.makeTag(r),this.tags.push(r)),this.tagMap[t]=r},t.prototype.hasId=function(t){return void 0!==this.tagMap[t]},t.prototype.hasNameForId=function(t,e){if(void 0===this.ignoreRehydratedNames[t]&&this.rehydratedNames[e])return!0;var r=this.tagMap[t];return void 0!==r&&r.hasNameForId(t,e)},t.prototype.deferredInject=function(t,e){if(void 0===this.tagMap[t]){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].deferredInject(t,e);this.getTagForId(t).insertMarker(t),this.deferred[t]=e}},t.prototype.inject=function(t,e,r){for(var n=this.clones,i=0;i<n.length;i+=1)n[i].inject(t,e,r);var o=this.getTagForId(t);if(void 0!==this.deferred[t]){var a=this.deferred[t].concat(e);o.insertRules(t,a,r),this.deferred[t]=void 0}else o.insertRules(t,e,r)},t.prototype.remove=function(t){var e=this.tagMap[t];if(void 0!==e){for(var r=this.clones,n=0;n<r.length;n+=1)r[n].remove(t);e.removeRules(t),this.ignoreRehydratedNames[t]=!0,this.deferred[t]=void 0}},t.prototype.toHTML=function(){return this.tags.map((function(t){return t.toHTML()})).join("")},t.prototype.toReactElements=function(){var t=this.id;return this.tags.map((function(e,r){var n="sc-"+t+"-"+r;return Object(s.cloneElement)(e.toElement(),{key:n})}))},v(t,null,[{key:"master",get:function(){return lt||(lt=(new t).rehydrate())}},{key:"instance",get:function(){return t.master}}]),t}(),ht=function(){function t(e,r){var n=this;b(this,t),this.inject=function(t){t.hasNameForId(n.id,n.name)||t.inject(n.id,n.rules,n.name)},this.toString=function(){throw new T(12,String(n.name))},this.name=e,this.rules=r,this.id="sc-keyframes-"+e}return t.prototype.getName=function(){return this.name},t}(),dt=/([A-Z])/g,pt=/^ms-/;function mt(t){return t.replace(dt,"-$1").toLowerCase().replace(pt,"-ms-")}var bt=function(t){return void 0===t||null===t||!1===t||""===t},vt=function t(e,r){var n=[];return Object.keys(e).forEach((function(r){if(!bt(e[r])){if(x(e[r]))return n.push.apply(n,t(e[r],r)),n;if(S(e[r]))return n.push(mt(r)+":",e[r],";"),n;n.push(mt(r)+": "+(i=r,(null==(o=e[r])||"boolean"===typeof o||""===o?"":"number"!==typeof o||0===o||i in u.a?String(o).trim():o+"px")+";"))}var i,o;return n})),r?[r+" {"].concat(n,["}"]):n};function gt(t,e,r){if(Array.isArray(t)){for(var n,i=[],o=0,a=t.length;o<a;o+=1)null!==(n=gt(t[o],e,r))&&(Array.isArray(n)?i.push.apply(i,n):i.push(n));return i}return bt(t)?null:E(t)?"."+t.styledComponentId:S(t)?"function"!==typeof(s=t)||s.prototype&&s.prototype.isReactComponent||!e?t:gt(t(e),e,r):t instanceof ht?r?(t.inject(r),t.getName()):t:x(t)?vt(t):t.toString();var s}function yt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return S(t)||x(t)?gt(p(O,[t].concat(r))):gt(p(t,r))}function wt(t){for(var e,r=0|t.length,n=0|r,i=0;r>=4;)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+((1540483477*(e>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(e=1540483477*(65535&(e^=e>>>24))+((1540483477*(e>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:n^=(255&t.charCodeAt(i+2))<<16;case 2:n^=(255&t.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(i)))+((1540483477*(n>>>16)&65535)<<16)}return((n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16))^n>>>15)>>>0}var xt=function(t){return String.fromCharCode(t+(t>25?39:97))};function Ot(t){var e="",r=void 0;for(r=t;r>52;r=Math.floor(r/52))e=xt(r%52)+e;return xt(r%52)+e}function _t(t,e){for(var r=0;r<t.length;r+=1){var n=t[r];if(Array.isArray(n)&&!_t(n,e))return!1;if(S(n)&&!E(n))return!1}return!e.some((function(t){return S(t)||function(t){for(var e in t)if(S(t[e]))return!0;return!1}(t)}))}var St,kt=function(t){return Ot(wt(t))},Et=function(){function t(e,r,n){b(this,t),this.rules=e,this.isStatic=_t(e,r),this.componentId=n,ft.master.hasId(n)||ft.master.deferredInject(n,[])}return t.prototype.generateAndInjectStyles=function(t,e){var r=this.isStatic,n=this.componentId,i=this.lastClassName;if(C&&r&&"string"===typeof i&&e.hasNameForId(n,i))return i;var o=gt(this.rules,t,e),a=kt(this.componentId+o.join(""));return e.hasNameForId(n,a)||e.inject(this.componentId,V(o,"."+a,void 0,n),a),this.lastClassName=a,a},t.generateName=function(t){return kt(t)},t}(),Mt=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_,n=!!r&&t.theme===r.theme,i=t.theme&&!n?t.theme:e||r.theme;return i},Ct=/[[\].#*$><+~=|^:(),"'`-]+/g,jt=/(^-|-$)/g;function At(t){return t.replace(Ct,"-").replace(jt,"")}function Tt(t){return"string"===typeof t&&!0}var Pt={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Dt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Rt=((St={})[l.ForwardRef]={$$typeof:!0,render:!0},St),Lt=Object.defineProperty,It=Object.getOwnPropertyNames,Nt=Object.getOwnPropertySymbols,Ft=void 0===Nt?function(){return[]}:Nt,Bt=Object.getOwnPropertyDescriptor,zt=Object.getPrototypeOf,Ht=Object.prototype,Ut=Array.prototype;function Wt(t,e,r){if("string"!==typeof e){var n=zt(e);n&&n!==Ht&&Wt(t,n,r);for(var i=Ut.concat(It(e),Ft(e)),o=Rt[t.$$typeof]||Pt,a=Rt[e.$$typeof]||Pt,s=i.length,c=void 0,u=void 0;s--;)if(u=i[s],!Dt[u]&&(!r||!r[u])&&(!a||!a[u])&&(!o||!o[u])&&(c=Bt(e,u)))try{Lt(t,u,c)}catch(l){}return t}return t}var qt=Object(s.createContext)(),Vt=qt.Consumer,Gt=function(t){function e(r){b(this,e);var n=w(this,t.call(this,r));return n.getContext=Object(f.default)(n.getContext.bind(n)),n.renderInner=n.renderInner.bind(n),n}return y(e,t),e.prototype.render=function(){return this.props.children?c.a.createElement(qt.Consumer,null,this.renderInner):null},e.prototype.renderInner=function(t){var e=this.getContext(this.props.theme,t);return c.a.createElement(qt.Provider,{value:e},this.props.children)},e.prototype.getTheme=function(t,e){if(S(t))return t(e);if(null===t||Array.isArray(t)||"object"!==("undefined"===typeof t?"undefined":m(t)))throw new T(8);return g({},e,t)},e.prototype.getContext=function(t,e){return this.getTheme(t,e)},e}(s.Component),Yt=function(){function t(){b(this,t),this.masterSheet=ft.master,this.instance=this.masterSheet.clone(),this.sealed=!1}return t.prototype.seal=function(){if(!this.sealed){var t=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(t,1),this.sealed=!0}},t.prototype.collectStyles=function(t){if(this.sealed)throw new T(2);return c.a.createElement(Kt,{sheet:this.instance},t)},t.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},t.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},t.prototype.interleaveWithNodeStream=function(t){throw new T(3)},t}(),Xt=Object(s.createContext)(),$t=Xt.Consumer,Kt=function(t){function e(r){b(this,e);var n=w(this,t.call(this,r));return n.getContext=Object(f.default)(n.getContext),n}return y(e,t),e.prototype.getContext=function(t,e){if(t)return t;if(e)return new ft(e);throw new T(4)},e.prototype.render=function(){var t=this.props,e=t.children,r=t.sheet,n=t.target;return c.a.createElement(Xt.Provider,{value:this.getContext(r,n)},e)},e}(s.Component),Zt={};var Jt=function(t){function e(){b(this,e);var r=w(this,t.call(this));return r.attrs={},r.renderOuter=r.renderOuter.bind(r),r.renderInner=r.renderInner.bind(r),r}return y(e,t),e.prototype.render=function(){return c.a.createElement($t,null,this.renderOuter)},e.prototype.renderOuter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ft.master;return this.styleSheet=t,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():c.a.createElement(Vt,null,this.renderInner)},e.prototype.renderInner=function(t){var e=this.props.forwardedComponent,r=e.componentStyle,n=e.defaultProps,i=(e.displayName,e.foldedComponentIds),o=e.styledComponentId,a=e.target,c=void 0;c=r.isStatic?this.generateAndInjectStyles(_,this.props):this.generateAndInjectStyles(Mt(this.props,t,n)||_,this.props);var u=this.props.as||this.attrs.as||a,l=Tt(u),f={},d=g({},this.props,this.attrs),p=void 0;for(p in d)"forwardedComponent"!==p&&"as"!==p&&("forwardedRef"===p?f.ref=d[p]:"forwardedAs"===p?f.as=d[p]:l&&!Object(h.a)(p)||(f[p]=d[p]));return this.props.style&&this.attrs.style&&(f.style=g({},this.attrs.style,this.props.style)),f.className=Array.prototype.concat(i,o,c!==o?c:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(s.createElement)(u,f)},e.prototype.buildExecutionContext=function(t,e,r){var n=this,i=g({},e,{theme:t});return r.length?(this.attrs={},r.forEach((function(t){var e,r=t,o=!1,a=void 0,s=void 0;for(s in S(r)&&(r=r(i),o=!0),r)a=r[s],o||!S(a)||(e=a)&&e.prototype&&e.prototype.isReactComponent||E(a)||(a=a(i)),n.attrs[s]=a,i[s]=a})),i):i},e.prototype.generateAndInjectStyles=function(t,e){var r=e.forwardedComponent,n=r.attrs,i=r.componentStyle;r.warnTooManyClasses;return i.isStatic&&!n.length?i.generateAndInjectStyles(_,this.styleSheet):i.generateAndInjectStyles(this.buildExecutionContext(t,e,n),this.styleSheet)},e}(s.Component);function Qt(t,e,r){var n=E(t),i=!Tt(t),o=e.displayName,a=void 0===o?function(t){return Tt(t)?"styled."+t:"Styled("+k(t)+")"}(t):o,s=e.componentId,u=void 0===s?function(t,e,r){var n="string"!==typeof e?"sc":At(e),i=(Zt[n]||0)+1;Zt[n]=i;var o=n+"-"+t.generateName(n+i);return r?r+"-"+o:o}(Et,e.displayName,e.parentComponentId):s,l=e.ParentComponent,f=void 0===l?Jt:l,h=e.attrs,p=void 0===h?O:h,m=e.displayName&&e.componentId?At(e.displayName)+"-"+e.componentId:e.componentId||u,b=n&&t.attrs?Array.prototype.concat(t.attrs,p).filter(Boolean):p,v=new Et(n?t.componentStyle.rules.concat(r):r,b,m),y=void 0,w=function(t,e){return c.a.createElement(f,g({},t,{forwardedComponent:y,forwardedRef:e}))};return w.displayName=a,(y=c.a.forwardRef(w)).displayName=a,y.attrs=b,y.componentStyle=v,y.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):O,y.styledComponentId=m,y.target=n?t.target:t,y.withComponent=function(t){var n=e.componentId,i=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["componentId"]),o=n&&n+"-"+(Tt(t)?t:At(k(t)));return Qt(t,g({},i,{attrs:b,componentId:o,ParentComponent:f}),r)},Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?Object(d.a)(t.defaultProps,e):e}}),y.toString=function(){return"."+y.styledComponentId},i&&Wt(y,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),y}var te=function(t){return function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_;if(!Object(l.isValidElementType)(r))throw new T(1,String(r));var i=function(){return e(r,n,yt.apply(void 0,arguments))};return i.withConfig=function(i){return t(e,r,g({},n,i))},i.attrs=function(i){return t(e,r,g({},n,{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},i}(Qt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){te[t]=te(t)}));var ee=function(){function t(e,r){b(this,t),this.rules=e,this.componentId=r,this.isStatic=_t(e,O),ft.master.hasId(r)||ft.master.deferredInject(r,[])}return t.prototype.createStyles=function(t,e){var r=V(gt(this.rules,t,e),"");e.inject(this.componentId,r)},t.prototype.removeStyles=function(t){var e=this.componentId;t.hasId(e)&&t.remove(e)},t.prototype.renderStyles=function(t,e){this.removeStyles(e),this.createStyles(t,e)},t}();function re(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=yt.apply(void 0,[t].concat(r)),o="sc-global-"+wt(JSON.stringify(i)),a=new ee(i,o),s=function(t){function e(r){b(this,e);var n=w(this,t.call(this,r)),i=n.constructor,o=i.globalStyle,a=i.styledComponentId;return C&&(window.scCGSHMRCache[a]=(window.scCGSHMRCache[a]||0)+1),n.state={globalStyle:o,styledComponentId:a},n}return y(e,t),e.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},e.prototype.render=function(){var t=this;return c.a.createElement($t,null,(function(e){t.styleSheet=e||ft.master;var r=t.state.globalStyle;return r.isStatic?(r.renderStyles(A,t.styleSheet),null):c.a.createElement(Vt,null,(function(e){var n=t.constructor.defaultProps,i=g({},t.props);return"undefined"!==typeof e&&(i.theme=Mt(t.props,e,n)),r.renderStyles(i,t.styleSheet),null}))}))},e}(c.a.Component);return s.globalStyle=a,s.styledComponentId=o,s}C&&(window.scCGSHMRCache={});var ne=function(t){return t.replace(/\s|\\n/g,"")};function ie(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var i=yt.apply(void 0,[t].concat(r)),o=Ot(wt(ne(JSON.stringify(i))));return new ht(o,V(i,o,"@keyframes"))}var oe=function(t){var e=c.a.forwardRef((function(e,r){return c.a.createElement(Vt,null,(function(n){var i=t.defaultProps,o=Mt(e,n,i);return c.a.createElement(t,g({},e,{theme:o,ref:r}))}))}));return Wt(e,t),e.displayName="WithTheme("+k(t)+")",e},ae={StyleSheet:ft};e.default=te}.call(this,r(112))},function(t,e,r){"use strict";r.d(e,"a",(function(){return d})),r.d(e,"b",(function(){return p.a})),r.d(e,"x",(function(){return m.a})),r.d(e,"C",(function(){return y})),r.d(e,"c",(function(){return E})),r.d(e,"E",(function(){return E})),r.d(e,"y",(function(){return k})),r.d(e,"F",(function(){return k})),r.d(e,"D",(function(){return M})),r.d(e,"z",(function(){return L})),r.d(e,"B",(function(){return I})),r.d(e,"A",(function(){return N})),r.d(e,"S",(function(){return F.a})),r.d(e,"ab",(function(){return F.b})),r.d(e,"T",(function(){return B.a})),r.d(e,"U",(function(){return z.a})),r.d(e,"V",(function(){return H.a})),r.d(e,"W",(function(){return U.a})),r.d(e,"X",(function(){return W.a})),r.d(e,"Y",(function(){return q.a})),r.d(e,"Z",(function(){return V.a})),r.d(e,"e",(function(){return G.a})),r.d(e,"f",(function(){return Y.a})),r.d(e,"d",(function(){return X.b})),r.d(e,"g",(function(){return J})),r.d(e,"h",(function(){return Q})),r.d(e,"i",(function(){return et})),r.d(e,"k",(function(){return st})),r.d(e,"l",(function(){return ut})),r.d(e,"j",(function(){return ot})),r.d(e,"n",(function(){return pt})),r.d(e,"o",(function(){return bt})),r.d(e,"m",(function(){return ht})),r.d(e,"q",(function(){return vt.a})),r.d(e,"p",(function(){return w.a})),r.d(e,"r",(function(){return gt.a})),r.d(e,"s",(function(){return gt.b})),r.d(e,"t",(function(){return yt.a})),r.d(e,"u",(function(){return wt.a})),r.d(e,"v",(function(){return wt.b})),r.d(e,"w",(function(){return wt.c})),r.d(e,"G",(function(){return xt.a})),r.d(e,"I",(function(){return Ot.a})),r.d(e,"H",(function(){return _t})),r.d(e,"J",(function(){return St.a})),r.d(e,"K",(function(){return kt.a})),r.d(e,"L",(function(){return Et.a})),r.d(e,"M",(function(){return Ct})),r.d(e,"N",(function(){return At})),r.d(e,"O",(function(){return Pt})),r.d(e,"P",(function(){return Dt})),r.d(e,"Q",(function(){return Mt.a})),r.d(e,"R",(function(){return Rt}));var n=r(428),i=r(59),o=r(34);function a(t){return t.innerRadius}function s(t){return t.outerRadius}function c(t){return t.startAngle}function u(t){return t.endAngle}function l(t){return t&&t.padAngle}function f(t,e,r,n,i,a,s,c){var u=r-t,l=n-e,f=s-i,h=c-a,d=h*u-f*l;if(!(d*d<o.f))return[t+(d=(f*(e-a)-h*(t-i))/d)*u,e+d*l]}function h(t,e,r,n,i,a,s){var c=t-r,u=e-n,l=(s?a:-a)/Object(o.l)(c*c+u*u),f=l*u,h=-l*c,d=t+f,p=e+h,m=r+f,b=n+h,v=(d+m)/2,g=(p+b)/2,y=m-d,w=b-p,x=y*y+w*w,O=i-a,_=d*b-m*p,S=(w<0?-1:1)*Object(o.l)(Object(o.h)(0,O*O*x-_*_)),k=(_*w-y*S)/x,E=(-_*y-w*S)/x,M=(_*w+y*S)/x,C=(-_*y+w*S)/x,j=k-v,A=E-g,T=M-v,P=C-g;return j*j+A*A>T*T+P*P&&(k=M,E=C),{cx:k,cy:E,x01:-f,y01:-h,x11:k*(i/O-1),y11:E*(i/O-1)}}var d=function(){var t=a,e=s,r=Object(i.a)(0),d=null,p=c,m=u,b=l,v=null;function g(){var i,a,s=+t.apply(this,arguments),c=+e.apply(this,arguments),u=p.apply(this,arguments)-o.g,l=m.apply(this,arguments)-o.g,g=Object(o.a)(l-u),y=l>u;if(v||(v=i=Object(n.a)()),c<s&&(a=c,c=s,s=a),c>o.f)if(g>o.m-o.f)v.moveTo(c*Object(o.e)(u),c*Object(o.k)(u)),v.arc(0,0,c,u,l,!y),s>o.f&&(v.moveTo(s*Object(o.e)(l),s*Object(o.k)(l)),v.arc(0,0,s,l,u,y));else{var w,x,O=u,_=l,S=u,k=l,E=g,M=g,C=b.apply(this,arguments)/2,j=C>o.f&&(d?+d.apply(this,arguments):Object(o.l)(s*s+c*c)),A=Object(o.i)(Object(o.a)(c-s)/2,+r.apply(this,arguments)),T=A,P=A;if(j>o.f){var D=Object(o.c)(j/s*Object(o.k)(C)),R=Object(o.c)(j/c*Object(o.k)(C));(E-=2*D)>o.f?(S+=D*=y?1:-1,k-=D):(E=0,S=k=(u+l)/2),(M-=2*R)>o.f?(O+=R*=y?1:-1,_-=R):(M=0,O=_=(u+l)/2)}var L=c*Object(o.e)(O),I=c*Object(o.k)(O),N=s*Object(o.e)(k),F=s*Object(o.k)(k);if(A>o.f){var B,z=c*Object(o.e)(_),H=c*Object(o.k)(_),U=s*Object(o.e)(S),W=s*Object(o.k)(S);if(g<o.j&&(B=f(L,I,U,W,z,H,N,F))){var q=L-B[0],V=I-B[1],G=z-B[0],Y=H-B[1],X=1/Object(o.k)(Object(o.b)((q*G+V*Y)/(Object(o.l)(q*q+V*V)*Object(o.l)(G*G+Y*Y)))/2),$=Object(o.l)(B[0]*B[0]+B[1]*B[1]);T=Object(o.i)(A,(s-$)/(X-1)),P=Object(o.i)(A,(c-$)/(X+1))}}M>o.f?P>o.f?(w=h(U,W,L,I,c,P,y),x=h(z,H,N,F,c,P,y),v.moveTo(w.cx+w.x01,w.cy+w.y01),P<A?v.arc(w.cx,w.cy,P,Object(o.d)(w.y01,w.x01),Object(o.d)(x.y01,x.x01),!y):(v.arc(w.cx,w.cy,P,Object(o.d)(w.y01,w.x01),Object(o.d)(w.y11,w.x11),!y),v.arc(0,0,c,Object(o.d)(w.cy+w.y11,w.cx+w.x11),Object(o.d)(x.cy+x.y11,x.cx+x.x11),!y),v.arc(x.cx,x.cy,P,Object(o.d)(x.y11,x.x11),Object(o.d)(x.y01,x.x01),!y))):(v.moveTo(L,I),v.arc(0,0,c,O,_,!y)):v.moveTo(L,I),s>o.f&&E>o.f?T>o.f?(w=h(N,F,z,H,s,-T,y),x=h(L,I,U,W,s,-T,y),v.lineTo(w.cx+w.x01,w.cy+w.y01),T<A?v.arc(w.cx,w.cy,T,Object(o.d)(w.y01,w.x01),Object(o.d)(x.y01,x.x01),!y):(v.arc(w.cx,w.cy,T,Object(o.d)(w.y01,w.x01),Object(o.d)(w.y11,w.x11),!y),v.arc(0,0,s,Object(o.d)(w.cy+w.y11,w.cx+w.x11),Object(o.d)(x.cy+x.y11,x.cx+x.x11),y),v.arc(x.cx,x.cy,T,Object(o.d)(x.y11,x.x11),Object(o.d)(x.y01,x.x01),!y))):v.arc(0,0,s,k,S,y):v.lineTo(N,F)}else v.moveTo(0,0);if(v.closePath(),i)return v=null,i+""||null}return g.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+p.apply(this,arguments)+ +m.apply(this,arguments))/2-o.j/2;return[Object(o.e)(n)*r,Object(o.k)(n)*r]},g.innerRadius=function(e){return arguments.length?(t="function"===typeof e?e:Object(i.a)(+e),g):t},g.outerRadius=function(t){return arguments.length?(e="function"===typeof t?t:Object(i.a)(+t),g):e},g.cornerRadius=function(t){return arguments.length?(r="function"===typeof t?t:Object(i.a)(+t),g):r},g.padRadius=function(t){return arguments.length?(d=null==t?null:"function"===typeof t?t:Object(i.a)(+t),g):d},g.startAngle=function(t){return arguments.length?(p="function"===typeof t?t:Object(i.a)(+t),g):p},g.endAngle=function(t){return arguments.length?(m="function"===typeof t?t:Object(i.a)(+t),g):m},g.padAngle=function(t){return arguments.length?(b="function"===typeof t?t:Object(i.a)(+t),g):b},g.context=function(t){return arguments.length?(v=null==t?null:t,g):v},g},p=r(296),m=r(325),b=r(224),v=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},g=function(t){return t},y=function(){var t=g,e=v,r=null,n=Object(i.a)(0),a=Object(i.a)(o.m),s=Object(i.a)(0);function c(i){var c,u,l,f,h,d=(i=Object(b.a)(i)).length,p=0,m=new Array(d),v=new Array(d),g=+n.apply(this,arguments),y=Math.min(o.m,Math.max(-o.m,a.apply(this,arguments)-g)),w=Math.min(Math.abs(y)/d,s.apply(this,arguments)),x=w*(y<0?-1:1);for(c=0;c<d;++c)(h=v[m[c]=c]=+t(i[c],c,i))>0&&(p+=h);for(null!=e?m.sort((function(t,r){return e(v[t],v[r])})):null!=r&&m.sort((function(t,e){return r(i[t],i[e])})),c=0,l=p?(y-d*x)/p:0;c<d;++c,g=f)u=m[c],f=g+((h=v[u])>0?h*l:0)+x,v[u]={data:i[u],index:c,value:h,startAngle:g,endAngle:f,padAngle:w};return v}return c.value=function(e){return arguments.length?(t="function"===typeof e?e:Object(i.a)(+e),c):t},c.sortValues=function(t){return arguments.length?(e=t,r=null,c):e},c.sort=function(t){return arguments.length?(r=t,e=null,c):r},c.startAngle=function(t){return arguments.length?(n="function"===typeof t?t:Object(i.a)(+t),c):n},c.endAngle=function(t){return arguments.length?(a="function"===typeof t?t:Object(i.a)(+t),c):a},c.padAngle=function(t){return arguments.length?(s="function"===typeof t?t:Object(i.a)(+t),c):s},c},w=r(223),x=_(w.a);function O(t){this._curve=t}function _(t){function e(e){return new O(t(e))}return e._curve=t,e}function S(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(_(t)):e()._curve},t}O.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var k=function(){return S(Object(m.a)().curve(x))},E=function(){var t=Object(p.a)().curve(x),e=t.curve,r=t.lineX0,n=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return S(r())},delete t.lineX0,t.lineEndAngle=function(){return S(n())},delete t.lineX1,t.lineInnerRadius=function(){return S(i())},delete t.lineY0,t.lineOuterRadius=function(){return S(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(_(t)):e()._curve},t},M=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]},C=r(256);function j(t){return t.source}function A(t){return t.target}function T(t){var e=j,r=A,o=C.a,a=C.b,s=null;function c(){var i,c=b.b.call(arguments),u=e.apply(this,c),l=r.apply(this,c);if(s||(s=i=Object(n.a)()),t(s,+o.apply(this,(c[0]=u,c)),+a.apply(this,c),+o.apply(this,(c[0]=l,c)),+a.apply(this,c)),i)return s=null,i+""||null}return c.source=function(t){return arguments.length?(e=t,c):e},c.target=function(t){return arguments.length?(r=t,c):r},c.x=function(t){return arguments.length?(o="function"===typeof t?t:Object(i.a)(+t),c):o},c.y=function(t){return arguments.length?(a="function"===typeof t?t:Object(i.a)(+t),c):a},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}function P(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e=(e+n)/2,r,e,i,n,i)}function D(t,e,r,n,i){t.moveTo(e,r),t.bezierCurveTo(e,r=(r+i)/2,n,r,n,i)}function R(t,e,r,n,i){var o=M(e,r),a=M(e,r=(r+i)/2),s=M(n,r),c=M(n,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],c[0],c[1])}function L(){return T(P)}function I(){return T(D)}function N(){var t=T(R);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var F=r(501),B=r(334),z=r(415),H=r(416),U=r(417),W=r(418),q=r(419),V=r(420),G=r(639),Y=r(640),X=r(225),$=r(45),K=r(46),Z=function(){function t(e,r){Object($.a)(this,t),this._context=e,this._x=r}return Object(K.a)(t,[{key:"areaStart",value:function(){this._line=0}},{key:"areaEnd",value:function(){this._line=NaN}},{key:"lineStart",value:function(){this._point=0}},{key:"lineEnd",value:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}},{key:"point",value:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}]),t}();function J(t){return new Z(t,!0)}function Q(t){return new Z(t,!1)}function tt(t,e){this._basis=new X.a(t),this._beta=e}tt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n,i=t[0],o=e[0],a=t[r]-i,s=e[r]-o,c=-1;++c<=r;)n=c/r,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+n*a),this._beta*e[c]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var et=function t(e){function r(t){return 1===e?new X.a(t):new tt(t,e)}return r.beta=function(e){return t(+e)},r}(.85),rt=r(199);function nt(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function it(t,e){this._context=t,this._k=(1-e)/6}it.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:nt(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:nt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ot=function t(e){function r(t){return new it(t,e)}return r.tension=function(e){return t(+e)},r}(0);function at(t,e){this._context=t,this._k=(1-e)/6}at.prototype={areaStart:rt.a,areaEnd:rt.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:nt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var st=function t(e){function r(t){return new at(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ct(t,e){this._context=t,this._k=(1-e)/6}ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:nt(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ut=function t(e){function r(t){return new ct(t,e)}return r.tension=function(e){return t(+e)},r}(0);function lt(t,e,r){var n=t._x1,i=t._y1,a=t._x2,s=t._y2;if(t._l01_a>o.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>o.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*l+t._x1*t._l23_2a-e*t._l12_2a)/f,s=(s*l+t._y1*t._l23_2a-r*t._l12_2a)/f}t._context.bezierCurveTo(n,i,a,s,t._x2,t._y2)}function ft(t,e){this._context=t,this._alpha=e}ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:lt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ht=function t(e){function r(t){return e?new ft(t,e):new it(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function dt(t,e){this._context=t,this._alpha=e}dt.prototype={areaStart:rt.a,areaEnd:rt.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:lt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var pt=function t(e){function r(t){return e?new dt(t,e):new at(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function mt(t,e){this._context=t,this._alpha=e}mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:lt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var bt=function t(e){function r(t){return e?new mt(t,e):new ct(t,0)}return r.alpha=function(e){return t(+e)},r}(.5),vt=r(641),gt=r(421),yt=r(642),wt=r(326),xt=r(787),Ot=r(788),_t=function(t,e){if((s=t.length)>0)for(var r,n,i,o,a,s,c=0,u=t[e[0]].length;c<u;++c)for(o=a=0,r=0;r<s;++r)(i=(n=t[e[r]][c])[1]-n[0])>0?(n[0]=o,n[1]=o+=i):i<0?(n[1]=a,n[0]=a+=i):(n[0]=0,n[1]=i)},St=r(205),kt=r(789),Et=r(790),Mt=r(204),Ct=function(t){var e=t.map(jt);return Object(Mt.a)(t).sort((function(t,r){return e[t]-e[r]}))};function jt(t){for(var e,r=-1,n=0,i=t.length,o=-1/0;++r<i;)(e=+t[r][1])>o&&(o=e,n=r);return n}var At=function(t){var e=t.map(Tt);return Object(Mt.a)(t).sort((function(t,r){return e[t]-e[r]}))};function Tt(t){for(var e,r=0,n=-1,i=t.length;++n<i;)(e=+t[n][1])&&(r+=e);return r}var Pt=function(t){return At(t).reverse()},Dt=function(t){var e,r,n=t.length,i=t.map(Tt),o=Ct(t),a=0,s=0,c=[],u=[];for(e=0;e<n;++e)r=o[e],a<s?(a+=i[r],c.push(r)):(s+=i[r],u.push(r));return u.reverse().concat(c)},Rt=function(t){return Object(Mt.a)(t).reverse()}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return a}));var n=r(29),i=r(87),o=Symbol("implicit");function a(){var t=new Map,e=[],r=[],s=o;function c(n){var i=n+"",a=t.get(i);if(!a){if(s!==o)return s;t.set(i,a=e.push(n))}return r[(a-1)%r.length]}return c.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new Map;var i,o=Object(n.a)(r);try{for(o.s();!(i=o.n()).done;){var a=i.value,s=a+"";t.has(s)||t.set(s,e.push(a))}}catch(u){o.e(u)}finally{o.f()}return c},c.range=function(t){return arguments.length?(r=Array.from(t),c):r.slice()},c.unknown=function(t){return arguments.length?(s=t,c):s},c.copy=function(){return a(e,r).unknown(s)},i.b.apply(c,arguments),c}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*i.b)}),(function(t,e){return(e-t)/i.b}),(function(t){return t.getUTCHours()}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*i.c)}),(function(t,e){return(e-t)/i.c}),(function(t){return t.getUTCMinutes()}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(94),i=Object(n.a)((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));e.a=i;var o=i.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.e-t.getMinutes()*i.c)}),(function(t,e){t.setTime(+t+e*i.b)}),(function(t,e){return(e-t)/i.b}),(function(t){return t.getHours()}));e.a=o;var a=o.range},function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r(94),i=r(60),o=Object(n.a)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.e)}),(function(t,e){t.setTime(+t+e*i.c)}),(function(t,e){return(e-t)/i.c}),(function(t){return t.getMinutes()}));e.a=o;var a=o.range},function(t,e,r){"use strict";e.a=function(t){var e=Object.create(null);return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}},function(t,e,r){"use strict";e.a=function(t){var e=new WeakMap;return function(r){if(e.has(r))return e.get(r);var n=t(r);return e.set(r,n),n}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(29);function i(t,e){var r;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var a=i.value;null!=a&&(r<a||void 0===r&&a>=a)&&(r=a)}}catch(f){o.e(f)}finally{o.f()}}else{var s,c=-1,u=Object(n.a)(t);try{for(u.s();!(s=u.n()).done;){var l=s.value;null!=(l=e(l,++c,t))&&(r<l||void 0===r&&l>=l)&&(r=l)}}catch(f){u.e(f)}finally{u.f()}}return r}},function(t,e,r){"use strict";e.a={draw:function(t,e){var r=Math.sqrt(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}}},function(t,e,r){"use strict";var n=Math.sqrt(1/3),i=2*n;e.a={draw:function(t,e){var r=Math.sqrt(e/i),o=r*n;t.moveTo(0,-r),t.lineTo(o,0),t.lineTo(0,r),t.lineTo(-o,0),t.closePath()}}},function(t,e,r){"use strict";e.a={draw:function(t,e){var r=Math.sqrt(e),n=-r/2;t.rect(n,n,r,r)}}},function(t,e,r){"use strict";var n=r(34),i=Math.sin(n.j/10)/Math.sin(7*n.j/10),o=Math.sin(n.m/10)*i,a=-Math.cos(n.m/10)*i;e.a={draw:function(t,e){var r=Math.sqrt(.8908130915292852*e),i=o*r,s=a*r;t.moveTo(0,-r),t.lineTo(i,s);for(var c=1;c<5;++c){var u=n.m*c/5,l=Math.cos(u),f=Math.sin(u);t.lineTo(f*r,-l*r),t.lineTo(l*i-f*s,f*i+l*s)}t.closePath()}}},function(t,e,r){"use strict";var n=Math.sqrt(3);e.a={draw:function(t,e){var r=-Math.sqrt(e/(3*n));t.moveTo(0,2*r),t.lineTo(-n*r,-r),t.lineTo(n*r,-r),t.closePath()}}},function(t,e,r){"use strict";var n=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),a=3*(o/2+1);e.a={draw:function(t,e){var r=Math.sqrt(e/a),s=r/2,c=r*o,u=s,l=r*o+r,f=-u,h=l;t.moveTo(s,c),t.lineTo(u,l),t.lineTo(f,h),t.lineTo(n*s-i*c,i*s+n*c),t.lineTo(n*u-i*l,i*u+n*l),t.lineTo(n*f-i*h,i*f+n*h),t.lineTo(n*s+i*c,n*c-i*s),t.lineTo(n*u+i*l,n*l-i*u),t.lineTo(n*f+i*h,n*h-i*f),t.closePath()}}},function(t,e,r){"use strict";function n(t){return t<0?-1:1}function i(t,e,r){var i=t._x1-t._x0,o=e-t._x1,a=(t._y1-t._y0)/(i||o<0&&-0),s=(r-t._y1)/(o||i<0&&-0),c=(a*o+s*i)/(i+o);return(n(a)+n(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(c))||0}function o(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function a(t,e,r){var n=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-n)/3;t._context.bezierCurveTo(n+s,i+s*e,o-s,a-s*r,o,a)}function s(t){this._context=t}function c(t){this._context=new u(t)}function u(t){this._context=t}function l(t){return new s(t)}function f(t){return new c(t)}r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return f})),s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,o(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,a(this,o(this,r=i(this,t,e)),r);break;default:a(this,this._t0,r=i(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(c.prototype=Object.create(s.prototype)).point=function(t,e){s.prototype.point.call(this,e,t)},u.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,o){this._context.bezierCurveTo(e,t,n,r,o,i)}}},function(t,e,r){"use strict";var n=r(792);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return i.SwipeableViewsContext}});var i=n(r(1198))},function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(1322),i=r(878),o=Object(n.a)();e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return Object(i.a)(t)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return s}));var n=r(12),i=r.n(n),o=r(29),a=i.a.mark(s);function s(t,e){var r,n,s,c,u,l,f;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(void 0!==e){i.next=21;break}r=Object(o.a)(t),i.prev=2,r.s();case 4:if((n=r.n()).done){i.next=11;break}if(!(null!=(s=n.value)&&(s=+s)>=s)){i.next=9;break}return i.next=9,s;case 9:i.next=4;break;case 11:i.next=16;break;case 13:i.prev=13,i.t0=i.catch(2),r.e(i.t0);case 16:return i.prev=16,r.f(),i.finish(16);case 19:i.next=40;break;case 21:c=-1,u=Object(o.a)(t),i.prev=23,u.s();case 25:if((l=u.n()).done){i.next=32;break}if(f=l.value,!(null!=(f=e(f,++c,t))&&(f=+f)>=f)){i.next=30;break}return i.next=30,f;case 30:i.next=25;break;case 32:i.next=37;break;case 34:i.prev=34,i.t1=i.catch(23),u.e(i.t1);case 37:return i.prev=37,u.f(),i.finish(37);case 40:case"end":return i.stop()}}),a,null,[[2,13,16,19],[23,34,37,40]])}e.a=function(t){return null===t?NaN:+t}},function(t,e,r){"use strict";var n=Math.PI,i=2*n,o=i-1e-6;function a(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new a}a.prototype=s.prototype={constructor:a,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,r,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(t,e,r,n,i,o){this._+="C"+ +t+","+ +e+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,r,i,o){t=+t,e=+e,r=+r,i=+i,o=+o;var a=this._x1,s=this._y1,c=r-t,u=i-e,l=a-t,f=s-e,h=l*l+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>1e-6)if(Math.abs(f*c-u*l)>1e-6&&o){var d=r-a,p=i-s,m=c*c+u*u,b=d*d+p*p,v=Math.sqrt(m),g=Math.sqrt(h),y=o*Math.tan((n-Math.acos((m+h-b)/(2*v*g)))/2),w=y/g,x=y/v;Math.abs(w-1)>1e-6&&(this._+="L"+(t+w*l)+","+(e+w*f)),this._+="A"+o+","+o+",0,0,"+ +(f*d>l*p)+","+(this._x1=t+x*c)+","+(this._y1=e+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,r,a,s,c){t=+t,e=+e,c=!!c;var u=(r=+r)*Math.cos(a),l=r*Math.sin(a),f=t+u,h=e+l,d=1^c,p=c?a-s:s-a;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),r&&(p<0&&(p=p%i+i),p>o?this._+="A"+r+","+r+",0,1,"+d+","+(t-u)+","+(e-l)+"A"+r+","+r+",0,1,"+d+","+(this._x1=f)+","+(this._y1=h):p>1e-6&&(this._+="A"+r+","+r+",0,"+ +(p>=n)+","+d+","+(this._x1=t+r*Math.cos(s))+","+(this._y1=e+r*Math.sin(s))))},rect:function(t,e,r,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}},e.a=s},function(t,e,r){"use strict";r(0);var n=r(49),i=r(6);e.a=Object(n.a)(Object(i.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},function(t,e,r){"use strict";r(0);var n=r(49),i=r(6);e.a=Object(n.a)(Object(i.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42);function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function l(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,l=t.className,f=t.style,h=u(t,["children","width","height","viewBox","className","style"]),d=o||{width:r,height:n,x:0,y:0},p=a()("recharts-surface",l);return i.a.createElement("svg",c({},Object(s.c)(h,!0,!0),{className:p,width:r,height:n,style:f,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height),version:"1.1"}),e)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r(98),i=r(363);var o=r(514);function a(t,e,r){return(a=Object(o.a)()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&Object(i.a)(o,r.prototype),o}).apply(null,arguments)}function s(t){var e="function"===typeof Map?new Map:void 0;return(s=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,o)}function o(){return a(t,arguments,Object(n.a)(this).constructor)}return o.prototype=Object.create(t.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Object(i.a)(o,t)})(t)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return B}));var n=r(44),i=r.n(n),o=r(381),a=r.n(o),s=r(0),c=r.n(s),u=r(55),l=r.n(u),f=r(431),h=r(545),d=r(42);function p(t){return(p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(){return(m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=_(t);if(e){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return O(this,r)}}function O(t,e){return!e||"object"!==p(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(o,t);var e,r,n,i=x(o);function o(){return g(this,o),i.apply(this,arguments)}return e=o,(r=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=t.inactive?e:t.color;if("plainline"===t.type)return c.a.createElement("line",{strokeWidth:4,fill:"none",stroke:r,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===t.type)return c.a.createElement("path",{strokeWidth:4,fill:"none",stroke:r,d:"M0,".concat(16,"h").concat(32/3,"\n            A").concat(32/6,",").concat(32/6,",0,1,1,").concat(32/3*2,",").concat(16,"\n            H").concat(32,"M").concat(32/3*2,",").concat(16,"\n            A").concat(32/6,",").concat(32/6,",0,1,1,").concat(32/3,",").concat(16),className:"recharts-legend-icon"});if("rect"===t.type)return c.a.createElement("path",{stroke:"none",fill:r,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(c.a.isValidElement(t.legendIcon)){var n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){v(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete n.legendIcon,c.a.cloneElement(t.legendIcon,n)}return c.a.createElement(h.a,{fill:r,cx:16,cy:16,size:32,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,i=e.layout,o=e.formatter,a=e.inactiveColor,s={x:0,y:0,width:32,height:32},u={display:"horizontal"===i?"inline-block":"block",marginRight:10},h={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var i,p=e.formatter||o,b=l()((v(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),v(i,"inactive",e.inactive),i));if("none"===e.type)return null;var g=e.inactive?a:e.color;return c.a.createElement("li",m({className:b,style:u,key:"legend-item-".concat(r)},Object(d.b)(t.props,e,r)),c.a.createElement(f.a,{width:n,height:n,viewBox:s,style:h},t.renderIcon(e)),c.a.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},p?p(e.value,e,r):e.value))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return c.a.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&y(e.prototype,r),n&&y(e,n),o}(s.PureComponent);S.displayName="Legend",S.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var k=r(17);function E(t){return(E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=L(t);if(e){var i=L(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return R(this,r)}}function R(t,e){return!e||"object"!==E(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function L(t){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function I(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function N(t){return t.value}function F(t,e){return!0===t?a()(e,N):i()(t)?a()(e,t):e}var B=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(a,t);var e,r,n,o=D(a);function a(){var t;A(this,a);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=a,n=[{key:"getWithHeight",value:function(t,e){var r=t.props.layout;return"vertical"===r&&Object(k.h)(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}:null}}],(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;return e>=0&&r>=0?{width:e,height:r}:null}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,s=n.margin,c=n.chartWidth,u=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((c||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((u||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),C(C({},e),r)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-e)>1||Math.abs(i.height-r)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){n&&n(i)}))}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1},(function(){n&&n(null)}))}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,a=e.wrapperStyle,s=e.payloadUniqBy,u=e.payload,l=C(C({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(a)),a);return c.a.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(e){t.wrapperNode=e}},function(t,e){if(c.a.isValidElement(t))return c.a.cloneElement(t,e);if(i()(t))return c.a.createElement(t,e);e.ref;var r=I(e,["ref"]);return c.a.createElement(S,r)}(r,C(C({},this.props),{},{payload:F(s,u)})))}}])&&T(e.prototype,r),n&&T(e,n),a}(s.PureComponent);B.displayName="Legend",B.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}},function(t,e,r){"use strict";r.d(e,"c",(function(){return v})),r.d(e,"b",(function(){return y}));var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(24),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiNativeSelect",t)}var d=Object(f.a)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),p=r(13),m=r(6),b=["className","disabled","IconComponent","inputRef","variant"],v=function(t){var e,r=t.ownerState,i=t.theme;return Object(o.a)((e={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===i.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},Object(n.a)(e,"&.".concat(d.disabled),{cursor:"default"}),Object(n.a)(e,"&[multiple]",{height:"auto"}),Object(n.a)(e,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:i.palette.background.paper}),Object(n.a)(e,"&&&",{paddingRight:24,minWidth:16}),e),"filled"===r.variant&&{"&&&":{paddingRight:32}},"outlined"===r.variant&&{borderRadius:i.shape.borderRadius,"&:focus":{borderRadius:i.shape.borderRadius},"&&&":{paddingRight:32}})},g=Object(p.a)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:p.b,overridesResolver:function(t,e){var r=t.ownerState;return[e.select,e[r.variant],Object(n.a)({},"&.".concat(d.multiple),e.multiple)]}})(v),y=function(t){var e=t.ownerState,r=t.theme;return Object(o.a)(Object(n.a)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:r.palette.action.active},"&.".concat(d.disabled),{color:r.palette.action.disabled}),e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7})},w=Object(p.a)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(t,e){var r=t.ownerState;return[e.icon,r.variant&&e["icon".concat(Object(u.a)(r.variant))],r.open&&e.iconOpen]}})(y),x=a.forwardRef((function(t,e){var r=t.className,n=t.disabled,l=t.IconComponent,f=t.inputRef,d=t.variant,p=void 0===d?"standard":d,v=Object(i.a)(t,b),y=Object(o.a)({},t,{disabled:n,variant:p}),x=function(t){var e=t.classes,r=t.variant,n=t.disabled,i=t.multiple,o=t.open,a={select:["select",r,n&&"disabled",i&&"multiple"],icon:["icon","icon".concat(Object(u.a)(r)),o&&"iconOpen",n&&"disabled"]};return Object(c.a)(a,h,e)}(y);return Object(m.jsxs)(a.Fragment,{children:[Object(m.jsx)(g,Object(o.a)({ownerState:y,className:Object(s.a)(x.select,r),disabled:n,ref:f||e},v)),t.multiple?null:Object(m.jsx)(w,{as:l,ownerState:y,className:x.icon})]})}));e.a=x},function(t,e,r){"use strict";function n(t,e){"function"===typeof t?t(e):t&&(t.current=e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"b",(function(){return gt})),r.d(e,"a",(function(){return xt}));var n={},i=Uint8Array,o=Uint16Array,a=Uint32Array,s=new i([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),c=new i([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),u=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(t,e){for(var r=new o(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];var i=new a(r[30]);for(n=1;n<30;++n)for(var s=r[n];s<r[n+1];++s)i[s]=s-r[n]<<5|n;return[r,i]},f=l(s,2),h=f[0],d=f[1];h[28]=258,d[258]=28;for(var p=l(c,0),m=p[0],b=p[1],v=new o(32768),g=0;g<32768;++g){var y=(43690&g)>>>1|(21845&g)<<1;y=(61680&(y=(52428&y)>>>2|(13107&y)<<2))>>>4|(3855&y)<<4,v[g]=((65280&y)>>>8|(255&y)<<8)>>>1}var w=function(t,e,r){for(var n=t.length,i=0,a=new o(e);i<n;++i)++a[t[i]-1];var s,c=new o(e);for(i=0;i<e;++i)c[i]=c[i-1]+a[i-1]<<1;if(r){s=new o(1<<e);var u=15-e;for(i=0;i<n;++i)if(t[i])for(var l=i<<4|t[i],f=e-t[i],h=c[t[i]-1]++<<f,d=h|(1<<f)-1;h<=d;++h)s[v[h]>>>u]=l}else for(s=new o(n),i=0;i<n;++i)s[i]=v[c[t[i]-1]++]>>>15-t[i];return s},x=new i(288);for(g=0;g<144;++g)x[g]=8;for(g=144;g<256;++g)x[g]=9;for(g=256;g<280;++g)x[g]=7;for(g=280;g<288;++g)x[g]=8;var O=new i(32);for(g=0;g<32;++g)O[g]=5;var _=w(x,9,0),S=w(x,9,1),k=w(O,5,0),E=w(O,5,1),M=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},C=function(t,e,r){var n=e/8>>0;return(t[n]|t[n+1]<<8)>>>(7&e)&r},j=function(t,e){var r=e/8>>0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&e)},A=function(t){return(t/8>>0)+(7&t&&1)},T=function(t,e,r){(null==e||e<0)&&(e=0),(null==r||r>t.length)&&(r=t.length);var n=new(t instanceof o?o:t instanceof a?a:i)(r-e);return n.set(t.subarray(e,r)),n},P=function(t,e,r){var n=t.length,o=!e||r,a=!r||r.i;r||(r={}),e||(e=new i(3*n));var l=function(t){var r=e.length;if(t>r){var n=new i(Math.max(2*r,t));n.set(e),e=n}},f=r.f||0,d=r.p||0,p=r.b||0,b=r.l,v=r.d,g=r.m,y=r.n,x=8*n;do{if(!b){r.f=f=C(t,d,1);var O=C(t,d+1,3);if(d+=3,!O){var _=t[(H=A(d)+4)-4]|t[H-3]<<8,k=H+_;if(k>n){if(a)throw"unexpected EOF";break}o&&l(p+_),e.set(t.subarray(H,k),p),r.b=p+=_,r.p=d=8*k;continue}if(1==O)b=S,v=E,g=9,y=5;else{if(2!=O)throw"invalid block type";var P=C(t,d,31)+257,D=C(t,d+10,15)+4,R=P+C(t,d+5,31)+1;d+=14;for(var L=new i(R),I=new i(19),N=0;N<D;++N)I[u[N]]=C(t,d+3*N,7);d+=3*D;var F=M(I),B=(1<<F)-1;if(!a&&d+R*(F+7)>x)break;var z=w(I,F,1);for(N=0;N<R;){var H,U=z[C(t,d,B)];if(d+=15&U,(H=U>>>4)<16)L[N++]=H;else{var W=0,q=0;for(16==H?(q=3+C(t,d,3),d+=2,W=L[N-1]):17==H?(q=3+C(t,d,7),d+=3):18==H&&(q=11+C(t,d,127),d+=7);q--;)L[N++]=W}}var V=L.subarray(0,P),G=L.subarray(P);g=M(V),y=M(G),b=w(V,g,1),v=w(G,y,1)}if(d>x)throw"unexpected EOF"}o&&l(p+131072);for(var Y=(1<<g)-1,X=(1<<y)-1,$=g+y+18;a||d+$<x;){var K=(W=b[j(t,d)&Y])>>>4;if((d+=15&W)>x)throw"unexpected EOF";if(!W)throw"invalid length/literal";if(K<256)e[p++]=K;else{if(256==K){b=null;break}var Z=K-254;if(K>264){var J=s[N=K-257];Z=C(t,d,(1<<J)-1)+h[N],d+=J}var Q=v[j(t,d)&X],tt=Q>>>4;if(!Q)throw"invalid distance";d+=15&Q;G=m[tt];if(tt>3){J=c[tt];G+=j(t,d)&(1<<J)-1,d+=J}if(d>x)throw"unexpected EOF";o&&l(p+131072);for(var et=p+Z;p<et;p+=4)e[p]=e[p-G],e[p+1]=e[p+1-G],e[p+2]=e[p+2-G],e[p+3]=e[p+3-G];p=et}}r.l=b,r.p=d,r.b=p,b&&(f=1,r.m=g,r.d=v,r.n=y)}while(!f);return p==e.length?e:T(e,0,p)},D=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8},R=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},L=function(t,e){for(var r=[],n=0;n<t.length;++n)t[n]&&r.push({s:n,f:t[n]});var a=r.length,s=r.slice();if(!a)return[new i(0),0];if(1==a){var c=new i(r[0].s+1);return c[r[0].s]=1,[c,1]}r.sort((function(t,e){return t.f-e.f})),r.push({s:-1,f:25001});var u=r[0],l=r[1],f=0,h=1,d=2;for(r[0]={s:-1,f:u.f+l.f,l:u,r:l};h!=a-1;)u=r[r[f].f<r[d].f?f++:d++],l=r[f!=h&&r[f].f<r[d].f?f++:d++],r[h++]={s:-1,f:u.f+l.f,l:u,r:l};var p=s[0].s;for(n=1;n<a;++n)s[n].s>p&&(p=s[n].s);var m=new o(p+1),b=I(r[h-1],m,0);if(b>e){n=0;var v=0,g=b-e,y=1<<g;for(s.sort((function(t,e){return m[e.s]-m[t.s]||t.f-e.f}));n<a;++n){var w=s[n].s;if(!(m[w]>e))break;v+=y-(1<<b-m[w]),m[w]=e}for(v>>>=g;v>0;){var x=s[n].s;m[x]<e?v-=1<<e-m[x]++-1:++n}for(;n>=0&&v;--n){var O=s[n].s;m[O]==e&&(--m[O],++v)}b=e}return[new i(m),b]},I=function t(e,r,n){return-1==e.s?Math.max(t(e.l,r,n+1),t(e.r,r,n+1)):r[e.s]=n},N=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new o(++e),n=0,i=t[0],a=1,s=function(t){r[n++]=t},c=1;c<=e;++c)if(t[c]==i&&c!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=t[c]}return[r.subarray(0,n),e]},F=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},B=function(t,e,r){var n=r.length,i=A(e+2);t[i]=255&n,t[i+1]=n>>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var o=0;o<n;++o)t[i+o+4]=r[o];return 8*(i+4+n)},z=function(t,e,r,n,i,a,l,f,h,d,p){D(e,p++,r),++i[256];for(var m=L(i,15),b=m[0],v=m[1],g=L(a,15),y=g[0],S=g[1],E=N(b),M=E[0],C=E[1],j=N(y),A=j[0],T=j[1],P=new o(19),I=0;I<M.length;++I)P[31&M[I]]++;for(I=0;I<A.length;++I)P[31&A[I]]++;for(var z=L(P,7),H=z[0],U=z[1],W=19;W>4&&!H[u[W-1]];--W);var q,V,G,Y,X=d+5<<3,$=F(i,x)+F(a,O)+l,K=F(i,b)+F(a,y)+l+14+3*W+F(P,H)+(2*P[16]+3*P[17]+7*P[18]);if(X<=$&&X<=K)return B(e,p,t.subarray(h,h+d));if(D(e,p,1+(K<$)),p+=2,K<$){q=w(b,v,0),V=b,G=w(y,S,0),Y=y;var Z=w(H,U,0);D(e,p,C-257),D(e,p+5,T-1),D(e,p+10,W-4),p+=14;for(I=0;I<W;++I)D(e,p+3*I,H[u[I]]);p+=3*W;for(var J=[M,A],Q=0;Q<2;++Q){var tt=J[Q];for(I=0;I<tt.length;++I){var et=31&tt[I];D(e,p,Z[et]),p+=H[et],et>15&&(D(e,p,tt[I]>>>5&127),p+=tt[I]>>>12)}}}else q=_,V=x,G=k,Y=O;for(I=0;I<f;++I)if(n[I]>255){et=n[I]>>>18&31;R(e,p,q[et+257]),p+=V[et+257],et>7&&(D(e,p,n[I]>>>23&31),p+=s[et]);var rt=31&n[I];R(e,p,G[rt]),p+=Y[rt],rt>3&&(R(e,p,n[I]>>>5&8191),p+=c[rt])}else R(e,p,q[n[I]]),p+=V[n[I]];return R(e,p,q[256]),p+V[256]},H=new a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U=new i(0),W=function(t,e,r,n,u,l){var f=t.length,h=new i(n+f+5*(1+Math.floor(f/7e3))+u),p=h.subarray(n,h.length-u),m=0;if(!e||f<8)for(var v=0;v<=f;v+=65535){var g=v+65535;g<f?m=B(p,m,t.subarray(v,g)):(p[v]=l,m=B(p,m,t.subarray(v,f)))}else{for(var y=H[e-1],w=y>>>13,x=8191&y,O=(1<<r)-1,_=new o(32768),S=new o(O+1),k=Math.ceil(r/3),E=2*k,M=function(e){return(t[e]^t[e+1]<<k^t[e+2]<<E)&O},C=new a(25e3),j=new o(288),P=new o(32),D=0,R=0,L=(v=0,0),I=0,N=0;v<f;++v){var F=M(v),W=32767&v,q=S[F];if(_[W]=q,S[F]=W,I<=v){var V=f-v;if((D>7e3||L>24576)&&V>423){m=z(t,p,0,C,j,P,R,L,N,v-N,m),L=D=R=0,N=v;for(var G=0;G<286;++G)j[G]=0;for(G=0;G<30;++G)P[G]=0}var Y=2,X=0,$=x,K=W-q&32767;if(V>2&&F==M(v-K))for(var Z=Math.min(w,V)-1,J=Math.min(32767,v),Q=Math.min(258,V);K<=J&&--$&&W!=q;){if(t[v+Y]==t[v+Y-K]){for(var tt=0;tt<Q&&t[v+tt]==t[v+tt-K];++tt);if(tt>Y){if(Y=tt,X=K,tt>Z)break;var et=Math.min(K,tt-2),rt=0;for(G=0;G<et;++G){var nt=v-K+G+32768&32767,it=nt-_[nt]+32768&32767;it>rt&&(rt=it,q=nt)}}}K+=(W=q)-(q=_[W])+32768&32767}if(X){C[L++]=268435456|d[Y]<<18|b[X];var ot=31&d[Y],at=31&b[X];R+=s[ot]+c[at],++j[257+ot],++P[at],I=v+Y,++D}else C[L++]=t[v],++j[t[v]]}}m=z(t,p,l,C,j,P,R,L,N,v-N,m),l||(m=B(p,m,U))}return T(h,0,n+A(m)+u)},q=function(){for(var t=new a(256),e=0;e<256;++e){for(var r=e,n=9;--n;)r=(1&r&&3988292384)^r>>>1;t[e]=r}return t}(),V=function(){var t=4294967295;return{p:function(e){for(var r=t,n=0;n<e.length;++n)r=q[255&r^e[n]]^r>>>8;t=r},d:function(){return 4294967295^t}}},G=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,o=r.length,a=0;a!=o;){for(var s=Math.min(a+5552,o);a<s;++a)i+=n+=r[a];n%=65521,i%=65521}t=n,e=i},d:function(){return(t>>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}},Y=function(t,e,r,n,i){return W(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,r,n,!i)},X=function(t,e){var r={};for(var n in t)r[n]=t[n];for(var n in e)r[n]=e[n];return r},$=function(t,e,r){for(var n=t(),i=t.toString(),o=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/ /g,"").split(","),a=0;a<n.length;++a){var s=n[a],c=o[a];if("function"==typeof s){e+=";"+c+"=";var u=s.toString();if(s.prototype)if(-1!=u.indexOf("[native code]")){var l=u.indexOf(" ",8)+1;e+=u.slice(l,u.indexOf("(",l))}else for(var f in e+=u,s.prototype)e+=";"+c+".prototype."+f+"="+s.prototype[f].toString();else e+=u}else r[c]=s}return[e,r]},K=[],Z=function(t,e,r,s){var c;if(!K[r]){for(var u="",l={},f=t.length-1,h=0;h<f;++h)u=(c=$(t[h],u,l))[0],l=c[1];K[r]=$(t[f],u,l)}var d=X({},K[r][1]);return function(t,e,r,i,o){var a=n[e]||(n[e]=URL.createObjectURL(new Blob([t],{type:"text/javascript"}))),s=new Worker(a);return s.onerror=function(t){return o(t.error,null)},s.onmessage=function(t){return o(null,t.data)},s.postMessage(r,i),s}(K[r][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",r,d,function(t){var e=[];for(var r in t)(t[r]instanceof i||t[r]instanceof o||t[r]instanceof a)&&e.push((t[r]=new t[r].constructor(t[r])).buffer);return e}(d),s)},J=function(){return[i,o,a,s,c,u,h,m,S,E,v,w,M,C,j,A,T,P,mt,et,rt]},Q=function(){return[st,ct]},tt=function(){return[ft]},et=function(t){return postMessage(t,[t.buffer])},rt=function(t){return t&&t.size&&new i(t.size)},nt=function(t){return t.ondata=function(t,e){return postMessage([t,e],[t.buffer])},function(e){return t.push(e.data[0],e.data[1])}},it=function(t,e,r,n,i){var o,a=Z(t,n,i,(function(t,r){t?(a.terminate(),e.ondata.call(e,t)):(r[1]&&a.terminate(),e.ondata.call(e,t,r[0],r[1]))}));a.postMessage(r),e.push=function(t,r){if(o)throw"stream finished";if(!e.ondata)throw"no stream handler";a.postMessage([t,o=r],[t.buffer])},e.terminate=function(){a.terminate()}},ot=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},at=function(t,e){var r=e.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=e.level<2?4:9==e.level?2:0,t[9]=3,0!=e.mtime&&ot(t,4,Math.floor(new Date(e.mtime||Date.now())/1e3)),r){t[3]=8;for(var n=0;n<=r.length;++n)t[n+10]=r.charCodeAt(n)}},st=function(t){if(31!=t[0]||139!=t[1]||8!=t[2])throw"invalid gzip data";var e=t[3],r=10;4&e&&(r+=t[10]|2+(t[11]<<8));for(var n=(e>>3&1)+(e>>4&1);n>0;n-=!t[r++]);return r+(2&e)},ct=function(t){var e=t.length;return(t[e-4]|t[e-3]<<8|t[e-2]<<16)+2*(t[e-1]<<23)},ut=function(t){return 10+(t.filename&&t.filename.length+1||0)},lt=function(t,e){var r=e.level,n=0==r?0:r<6?1:9==r?3:2;t[0]=120,t[1]=n<<6|(n?32-2*n:1)},ft=function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"};var ht=function(){function t(t,e){e||"function"!=typeof t||(e=t,t={}),this.ondata=e,this.o=t||{}}return t.prototype.p=function(t,e){this.ondata(Y(t,this.o,0,0,!e),e)},t.prototype.push=function(t,e){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=e,this.p(t,e||!1)},t}();var dt=function(){function t(t){this.s={},this.p=new i(0),this.ondata=t}return t.prototype.e=function(t){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var e=this.p.length,r=new i(e+t.length);r.set(this.p),r.set(t,e),this.p=r},t.prototype.c=function(t){this.d=this.s.i=t||!1;var e=this.s.b,r=P(this.p,this.o,this.s);this.ondata(T(r,e,this.s.b),this.d),this.o=T(r,this.s.b-32768),this.s.b=this.o.length,this.p=T(this.p,this.s.p/8>>0),this.s.p&=7},t.prototype.push=function(t,e){this.e(t),this.c(e)},t}(),pt=function(t){this.ondata=t,it([J,function(){return[nt,dt]}],this,0,(function(){var t=new dt;onmessage=nt(t)}),7)};function mt(t,e){return P(t,e)}!function(){function t(t,e){this.c=V(),this.l=0,this.v=1,ht.call(this,t,e)}t.prototype.push=function(t,e){ht.prototype.push.call(this,t,e)},t.prototype.p=function(t,e){this.c.p(t),this.l+=t.length;var r=Y(t,this.o,this.v&&ut(this.o),e&&8,!e);this.v&&(at(r,this.o),this.v=0),e&&(ot(r,r.length-8,this.c.d()),ot(r,r.length-4,this.l)),this.ondata(r,e)}}();var bt=function(){function t(t){this.v=1,dt.call(this,t)}return t.prototype.push=function(t,e){if(dt.prototype.e.call(this,t),this.v){var r=st(this.p);if(r>=this.p.length&&!e)return;this.p=this.p.subarray(r),this.v=0}if(e){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}dt.prototype.c.call(this,e)},t}(),vt=function(t){this.ondata=t,it([J,Q,function(){return[nt,dt,bt]}],this,0,(function(){var t=new bt;onmessage=nt(t)}),9)};!function(){function t(t,e){this.c=G(),this.v=1,ht.call(this,t,e)}t.prototype.push=function(t,e){ht.prototype.push.call(this,t,e)},t.prototype.p=function(t,e){this.c.p(t);var r=Y(t,this.o,this.v&&2,e&&4,!e);this.v&&(lt(r,this.o),this.v=0),e&&ot(r,r.length-4,this.c.d()),this.ondata(r,e)}}();function gt(t,e){void 0===e&&(e={});var r=G();r.p(t);var n=Y(t,e,2,4);return lt(n,e),ot(n,n.length-4,r.d()),n}var yt=function(){function t(t){this.v=1,dt.call(this,t)}return t.prototype.push=function(t,e){if(dt.prototype.e.call(this,t),this.v){if(this.p.length<2&&!e)return;this.p=this.p.subarray(2),this.v=0}if(e){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}dt.prototype.c.call(this,e)},t}(),wt=function(t){this.ondata=t,it([J,tt,function(){return[nt,dt,yt]}],this,0,(function(){var t=new yt;onmessage=nt(t)}),11)};function xt(t,e){return P((ft(t),t.subarray(2,-4)),e)}var Ot=function(){function t(t){this.G=bt,this.I=dt,this.Z=yt,this.ondata=t}return t.prototype.push=function(t,e){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(t,e);else{if(this.p&&this.p.length){var r=new i(this.p.length+t.length);r.set(this.p),r.set(t,this.p.length)}else this.p=t;if(this.p.length>2){var n=this,o=function(){n.ondata.apply(n,arguments)};this.s=31==this.p[0]&&139==this.p[1]&&8==this.p[2]?new this.G(o):8!=(15&this.p[0])||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(o):new this.Z(o),this.s.push(this.p,e),this.p=null}}},t}();!function(){function t(t){this.G=vt,this.I=pt,this.Z=wt,this.ondata=t}t.prototype.push=function(t,e){Ot.prototype.push.call(this,t,e)}}()},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");e.default=a},function(t,e,r){var n=r(803),i=r(1275),o=r(345);t.exports=function(t){return t&&t.length?n(t,o,i):void 0}},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(399),r(10),r(8)),s=r(78),c=r(563),u=r(894),l=r(13),f=r(22),h=r(195),d=r(155),p=r(210),m=r(72),b=r(1312),v=r(1451),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiPopover",t)}Object(y.a)("MuiPopover",["root","paper"]);var x=r(6),O=["onEntering"],_=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function S(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.height/2:"bottom"===e&&(r=t.height),r}function k(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.width/2:"right"===e&&(r=t.width),r}function E(t){return[t.horizontal,t.vertical].map((function(t){return"number"===typeof t?"".concat(t,"px"):t})).join(" ")}function M(t){return"function"===typeof t?t():t}var C=Object(l.a)(v.a,{name:"MuiPopover",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),j=Object(l.a)(u.a,{name:"MuiPopover",slot:"Paper",overridesResolver:function(t,e){return e.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),A=o.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiPopover"}),c=r.action,u=r.anchorEl,l=r.anchorOrigin,v=void 0===l?{vertical:"top",horizontal:"left"}:l,g=r.anchorPosition,y=r.anchorReference,A=void 0===y?"anchorEl":y,T=r.children,P=r.className,D=r.container,R=r.elevation,L=void 0===R?8:R,I=r.marginThreshold,N=void 0===I?16:I,F=r.open,B=r.PaperProps,z=void 0===B?{}:B,H=r.transformOrigin,U=void 0===H?{vertical:"top",horizontal:"left"}:H,W=r.TransitionComponent,q=void 0===W?b.a:W,V=r.transitionDuration,G=void 0===V?"auto":V,Y=r.TransitionProps,X=(Y=void 0===Y?{}:Y).onEntering,$=Object(i.a)(r.TransitionProps,O),K=Object(i.a)(r,_),Z=o.useRef(),J=Object(m.a)(Z,z.ref),Q=Object(n.a)({},r,{anchorOrigin:v,anchorReference:A,elevation:L,marginThreshold:N,PaperProps:z,transformOrigin:U,TransitionComponent:q,transitionDuration:G,TransitionProps:$}),tt=function(t){var e=t.classes;return Object(s.a)({root:["root"],paper:["paper"]},w,e)}(Q),et=o.useCallback((function(){if("anchorPosition"===A)return g;var t=M(u),e=(t&&1===t.nodeType?t:Object(d.a)(Z.current).body).getBoundingClientRect();return{top:e.top+S(e,v.vertical),left:e.left+k(e,v.horizontal)}}),[u,v.horizontal,v.vertical,g,A]),rt=o.useCallback((function(t){return{vertical:S(t,U.vertical),horizontal:k(t,U.horizontal)}}),[U.horizontal,U.vertical]),nt=o.useCallback((function(t){var e={width:t.offsetWidth,height:t.offsetHeight},r=rt(e);if("none"===A)return{top:null,left:null,transformOrigin:E(r)};var n=et(),i=n.top-r.vertical,o=n.left-r.horizontal,a=i+e.height,s=o+e.width,c=Object(p.a)(M(u)),l=c.innerHeight-N,f=c.innerWidth-N;if(i<N){var h=i-N;i-=h,r.vertical+=h}else if(a>l){var d=a-l;i-=d,r.vertical+=d}if(o<N){var m=o-N;o-=m,r.horizontal+=m}else if(s>f){var b=s-f;o-=b,r.horizontal+=b}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(o),"px"),transformOrigin:E(r)}}),[u,A,et,rt,N]),it=o.useCallback((function(){var t=Z.current;if(t){var e=nt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin}}),[nt]);o.useEffect((function(){F&&it()})),o.useImperativeHandle(c,(function(){return F?{updatePosition:function(){it()}}:null}),[F,it]),o.useEffect((function(){if(F){var t=Object(h.a)((function(){it()})),e=Object(p.a)(u);return e.addEventListener("resize",t),function(){t.clear(),e.removeEventListener("resize",t)}}}),[u,F,it]);var ot=G;"auto"!==G||q.muiSupportAuto||(ot=void 0);var at=D||(u?Object(d.a)(M(u)).body:void 0);return Object(x.jsx)(C,Object(n.a)({BackdropProps:{invisible:!0},className:Object(a.a)(tt.root,P),container:at,open:F,ref:e,ownerState:Q},K,{children:Object(x.jsx)(q,Object(n.a)({appear:!0,in:F,onEntering:function(t,e){X&&X(t,e),it()},timeout:ot},$,{children:Object(x.jsx)(j,Object(n.a)({elevation:L},z,{ref:J,className:Object(a.a)(tt.paper,z.className),children:T}))}))}))})),T=r(122);function P(t){return Object(g.a)("MuiMenu",t)}Object(y.a)("MuiMenu",["root","paper","list"]);var D=["onEntering"],R=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],L={vertical:"top",horizontal:"right"},I={vertical:"top",horizontal:"left"},N=Object(l.a)(A,{shouldForwardProp:function(t){return Object(l.b)(t)||"classes"===t},name:"MuiMenu",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),F=Object(l.a)(u.a,{name:"MuiMenu",slot:"Paper",overridesResolver:function(t,e){return e.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),B=Object(l.a)(c.a,{name:"MuiMenu",slot:"List",overridesResolver:function(t,e){return e.list}})({outline:0}),z=o.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiMenu"}),c=r.autoFocus,u=void 0===c||c,l=r.children,h=r.disableAutoFocusItem,d=void 0!==h&&h,p=r.MenuListProps,m=void 0===p?{}:p,b=r.onClose,v=r.open,g=r.PaperProps,y=void 0===g?{}:g,w=r.PopoverClasses,O=r.transitionDuration,_=void 0===O?"auto":O,S=r.TransitionProps,k=(S=void 0===S?{}:S).onEntering,E=r.variant,M=void 0===E?"selectedMenu":E,C=Object(i.a)(r.TransitionProps,D),j=Object(i.a)(r,R),A=Object(T.a)(),z="rtl"===A.direction,H=Object(n.a)({},r,{autoFocus:u,disableAutoFocusItem:d,MenuListProps:m,onEntering:k,PaperProps:y,transitionDuration:_,TransitionProps:C,variant:M}),U=function(t){var e=t.classes;return Object(s.a)({root:["root"],paper:["paper"],list:["list"]},P,e)}(H),W=u&&!d&&v,q=o.useRef(null),V=-1;return o.Children.map(l,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===M&&t.props.selected||-1===V)&&(V=e))})),Object(x.jsx)(N,Object(n.a)({classes:w,onClose:b,anchorOrigin:{vertical:"bottom",horizontal:z?"right":"left"},transformOrigin:z?L:I,PaperProps:Object(n.a)({component:F},y,{classes:Object(n.a)({},y.classes,{root:U.paper})}),className:U.root,open:v,ref:e,transitionDuration:_,TransitionProps:Object(n.a)({onEntering:function(t,e){q.current&&q.current.adjustStyleForScrollbar(t,A),k&&k(t,e)}},C),ownerState:H},j,{children:Object(x.jsx)(B,Object(n.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),b&&b(t,"tabKeyDown"))},actions:q,autoFocus:u&&(-1===V||d),autoFocusItem:W,variant:M},m,{className:Object(a.a)(U.list,m.className),children:l}))}))}));e.a=z},function(t,e,r){"use strict";r.d(e,"a",(function(){return G}));var n=r(36),i=r.n(n),o=r(44),a=r.n(o),s=r(381),c=r.n(s),u=r(0),l=r.n(u),f=r(174),h=r(55),d=r.n(h),p=r(370),m=r.n(p),b=r(68),v=r.n(b),g=r(17);function y(t){return(y="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){S(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function S(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=A(t);if(e){var i=A(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return j(this,r)}}function j(t,e){return!e||"object"!==y(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function A(t){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function T(t){return v()(t)&&Object(g.g)(t[0])&&Object(g.g)(t[1])?t.join(" ~ "):t}var P=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(a,t);var e,r,n,o=C(a);function a(){return k(this,a),o.apply(this,arguments)}return e=a,(r=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,r=t.separator,n=t.formatter,i=t.itemStyle,o=t.itemSorter;if(e&&e.length){var a=(o?m()(e,o):e).map((function(t,o){if("none"===t.type)return null;var a=_({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),s=t.formatter||n||T,c=t.name,u=t.value;if(s){var f=s(u,c,t,o,e);if(Array.isArray(f)){var h=w(f,2);u=h[0],c=h[1]}else u=f}return l.a.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(o),style:a},Object(g.g)(c)?l.a.createElement("span",{className:"recharts-tooltip-item-name"},c):null,Object(g.g)(c)?l.a.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,l.a.createElement("span",{className:"recharts-tooltip-item-value"},u),l.a.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return l.a.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},a)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,r=t.contentStyle,n=t.labelClassName,o=t.labelStyle,a=t.label,s=t.labelFormatter,c=t.payload,u=_({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),f=_({margin:0},o),h=!i()(a),p=h?a:"",m=d()("recharts-default-tooltip",e),b=d()("recharts-tooltip-label",n);return h&&s&&(p=s(a,c)),l.a.createElement("div",{className:m,style:u},l.a.createElement("p",{className:b,style:f},l.a.isValidElement(p)?p:"".concat(p)),this.renderContent())}}])&&E(e.prototype,r),n&&E(e,n),a}(u.PureComponent);P.displayName="DefaultTooltipContent",P.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var D=r(154);function R(t){return(R="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function L(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){N(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function N(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function z(t,e){return(z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function H(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=W(t);if(e){var i=W(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return U(this,r)}}function U(t,e){return!e||"object"!==R(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var q="recharts-tooltip-wrapper";function V(t){return t.dataKey}var G=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&z(t,e)}(s,t);var e,r,n,o=H(s);function s(){var t;F(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).state={boxWidth:-1,boxHeight:-1},t.wrapperNode=void 0,t.getTranslate=function(e){var r=e.key,n=e.tooltipDimension,i=e.viewBoxDimension,o=t.props,a=o.allowEscapeViewBox,s=o.coordinate,c=o.offset,u=o.position,l=o.viewBox;if(u&&Object(g.h)(u[r]))return u[r];var f=s[r]-n-c,h=s[r]+c;return a[r]?h:s[r]+n+c>l[r]+i?Math.max(f,l[r]):Math.max(h,l[r])},t}return e=s,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,r=t.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-e)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else-1===e&&-1===r||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,r,n=this,o=this.props,s=o.payload,u=o.isAnimationActive,h=o.animationDuration,p=o.animationEasing,m=o.filterNull,b=function(t,e){return!0===t?c()(e,V):a()(t)?c()(e,t):e}(o.payloadUniqBy,m&&s&&s.length?s.filter((function(t){return!i()(t.value)})):s),v=b&&b.length,y=this.props,w=y.content,x=y.viewBox,O=y.coordinate,_=y.position,S=y.active,k=I({pointerEvents:"none",visibility:S&&v?"visible":"hidden",position:"absolute",top:0,left:0},y.wrapperStyle);if(_&&Object(g.h)(_.x)&&Object(g.h)(_.y))e=_.x,r=_.y;else{var E=this.state,M=E.boxWidth,C=E.boxHeight;M>0&&C>0&&O?(e=this.getTranslate({key:"x",tooltipDimension:M,viewBoxDimension:x.width}),r=this.getTranslate({key:"y",tooltipDimension:C,viewBoxDimension:x.height})):k.visibility="hidden"}k=I(I({},Object(f.b)({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")})),k),u&&S&&(k=I(I({},Object(f.b)({transition:"transform ".concat(h,"ms ").concat(p)})),k));var j=d()(q,(N(t={},"".concat(q,"-right"),Object(g.h)(e)&&O&&Object(g.h)(O.x)&&e>=O.x),N(t,"".concat(q,"-left"),Object(g.h)(e)&&O&&Object(g.h)(O.x)&&e<O.x),N(t,"".concat(q,"-bottom"),Object(g.h)(r)&&O&&Object(g.h)(O.y)&&r>=O.y),N(t,"".concat(q,"-top"),Object(g.h)(r)&&O&&Object(g.h)(O.y)&&r<O.y),t));return l.a.createElement("div",{className:j,style:k,ref:function(t){n.wrapperNode=t}},function(t,e){return l.a.isValidElement(t)?l.a.cloneElement(t,e):a()(t)?l.a.createElement(t,e):l.a.createElement(P,e)}(w,I(I({},this.props),{},{payload:b})))}}])&&B(e.prototype,r),n&&B(e,n),s}(u.PureComponent);G.displayName="Tooltip",G.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!D.a.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(435);function o(t,e){return n.useMemo((function(){return null==t&&null==e?null:function(r){Object(i.a)(t,r),Object(i.a)(e,r)}}),[t,e])}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(663),u=r(283),l=r(64),f=r(235),h=r(76),d="undefined"===typeof window?o.useEffect:o.useLayoutEffect,p=o.forwardRef((function(t,e){var r=t.alignItems,s=void 0===r?"center":r,p=t.autoFocus,m=void 0!==p&&p,b=t.button,v=void 0!==b&&b,g=t.children,y=t.classes,w=t.className,x=t.component,O=t.ContainerComponent,_=void 0===O?"li":O,S=t.ContainerProps,k=(S=void 0===S?{}:S).className,E=Object(i.a)(S,["className"]),M=t.dense,C=void 0!==M&&M,j=t.disabled,A=void 0!==j&&j,T=t.disableGutters,P=void 0!==T&&T,D=t.divider,R=void 0!==D&&D,L=t.focusVisibleClassName,I=t.selected,N=void 0!==I&&I,F=Object(i.a)(t,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),B=o.useContext(f.a),z={dense:C||B.dense||!1,alignItems:s},H=o.useRef(null);d((function(){m&&H.current&&H.current.focus()}),[m]);var U=o.Children.toArray(g),W=U.length&&Object(u.a)(U[U.length-1],["ListItemSecondaryAction"]),q=o.useCallback((function(t){H.current=h.findDOMNode(t)}),[]),V=Object(l.a)(q,e),G=Object(n.a)({className:Object(a.a)(y.root,w,z.dense&&y.dense,!P&&y.gutters,R&&y.divider,A&&y.disabled,v&&y.button,"center"!==s&&y.alignItemsFlexStart,W&&y.secondaryAction,N&&y.selected),disabled:A},F),Y=x||"li";return v&&(G.component=x||"div",G.focusVisibleClassName=Object(a.a)(y.focusVisible,L),Y=c.a),W?(Y=G.component||x?Y:"div","li"===_&&("li"===Y?Y="div":"li"===G.component&&(G.component="div")),o.createElement(f.a.Provider,{value:z},o.createElement(_,Object(n.a)({className:Object(a.a)(y.container,k),ref:V},E),o.createElement(Y,G,U),U.pop()))):o.createElement(f.a.Provider,{value:z},o.createElement(Y,Object(n.a)({ref:V},G),U))}));e.a=Object(s.a)((function(t){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:t.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:t.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(t.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(p)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(1309),u=r(13),l=r(22),f=r(1467),h=r(1468),d=r(1454),p=r(661),m=r(444),b=r(1),v=r(222),g=r(170),y=r(24),w=r(339),x=r(340);function O(t){return Object(w.a)("MuiFormHelperText",t)}var _=Object(x.a)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),S=r(6),k=["children","className","component","disabled","error","filled","focused","margin","required","variant"],E=Object(u.a)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.size&&e["size".concat(Object(y.a)(r.size))],r.contained&&e.contained,r.filled&&e.filled]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(n.a)({color:r.palette.text.secondary},r.typography.caption,(e={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},Object(b.a)(e,"&.".concat(_.disabled),{color:r.palette.text.disabled}),Object(b.a)(e,"&.".concat(_.error),{color:r.palette.error.main}),e),"small"===i.size&&{marginTop:4},i.contained&&{marginLeft:14,marginRight:14})})),M=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiFormHelperText"}),o=r.children,c=r.className,u=r.component,f=void 0===u?"p":u,h=Object(i.a)(r,k),d=Object(g.a)(),p=Object(v.a)({props:r,muiFormControl:d,states:["variant","size","disabled","error","filled","focused","required"]}),m=Object(n.a)({},r,{component:f,contained:"filled"===p.variant||"outlined"===p.variant,variant:p.variant,size:p.size,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),b=function(t){var e=t.classes,r=t.contained,n=t.size,i=t.disabled,o=t.error,a=t.filled,c=t.focused,u=t.required,l={root:["root",i&&"disabled",o&&"error",n&&"size".concat(Object(y.a)(n)),r&&"contained",c&&"focused",a&&"filled",u&&"required"]};return Object(s.a)(l,O,e)}(m);return Object(S.jsx)(E,Object(n.a)({as:f,ownerState:m,className:Object(a.a)(b.root,c),ref:e},h,{children:" "===o?Object(S.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):o}))})),C=r(562);function j(t){return Object(w.a)("MuiTextField",t)}Object(x.a)("MuiTextField",["root"]);var A=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],T={standard:f.a,filled:h.a,outlined:d.a},P=Object(u.a)(m.a,{name:"MuiTextField",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),D=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiTextField"}),u=r.autoComplete,f=r.autoFocus,h=void 0!==f&&f,d=r.children,m=r.className,b=r.color,v=void 0===b?"primary":b,g=r.defaultValue,y=r.disabled,w=void 0!==y&&y,x=r.error,O=void 0!==x&&x,_=r.FormHelperTextProps,k=r.fullWidth,E=void 0!==k&&k,D=r.helperText,R=r.id,L=r.InputLabelProps,I=r.inputProps,N=r.InputProps,F=r.inputRef,B=r.label,z=r.maxRows,H=r.minRows,U=r.multiline,W=void 0!==U&&U,q=r.name,V=r.onBlur,G=r.onChange,Y=r.onFocus,X=r.placeholder,$=r.required,K=void 0!==$&&$,Z=r.rows,J=r.select,Q=void 0!==J&&J,tt=r.SelectProps,et=r.type,rt=r.value,nt=r.variant,it=void 0===nt?"outlined":nt,ot=Object(i.a)(r,A),at=Object(n.a)({},r,{autoFocus:h,color:v,disabled:w,error:O,fullWidth:E,multiline:W,required:K,select:Q,variant:it}),st=function(t){var e=t.classes;return Object(s.a)({root:["root"]},j,e)}(at);var ct={};if("outlined"===it&&(L&&"undefined"!==typeof L.shrink&&(ct.notched=L.shrink),B)){var ut,lt=null!=(ut=null==L?void 0:L.required)?ut:K;ct.label=Object(S.jsxs)(o.Fragment,{children:[B,lt&&"\xa0*"]})}Q&&(tt&&tt.native||(ct.id=void 0),ct["aria-describedby"]=void 0);var ft=Object(c.a)(R),ht=D&&ft?"".concat(ft,"-helper-text"):void 0,dt=B&&ft?"".concat(ft,"-label"):void 0,pt=T[it],mt=Object(S.jsx)(pt,Object(n.a)({"aria-describedby":ht,autoComplete:u,autoFocus:h,defaultValue:g,fullWidth:E,multiline:W,name:q,rows:Z,maxRows:z,minRows:H,type:et,value:rt,id:ft,inputRef:F,onBlur:V,onChange:G,onFocus:Y,placeholder:X,inputProps:I},ct,N));return Object(S.jsxs)(P,Object(n.a)({className:Object(a.a)(st.root,m),disabled:w,error:O,fullWidth:E,ref:e,required:K,color:v,variant:it,ownerState:at},ot,{children:[B&&Object(S.jsx)(p.a,Object(n.a)({htmlFor:ft,id:dt},L,{children:B})),Q?Object(S.jsx)(C.a,Object(n.a)({"aria-describedby":ht,id:ft,labelId:dt,value:rt,input:mt},tt,{children:d})):mt,D&&Object(S.jsx)(M,Object(n.a)({id:ht},_,{children:D}))]}))}));e.a=D},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(22),l=r(13),f=r(332),h=r(24),d=r(233),p=r(285),m=r(339),b=r(340);function v(t){return Object(m.a)("MuiFormControl",t)}Object(b.a)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var g=r(6),y=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],w=Object(l.a)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return Object(o.a)({},e.root,e["margin".concat(Object(h.a)(r.margin))],r.fullWidth&&e.fullWidth)}})((function(t){var e=t.ownerState;return Object(o.a)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})})),x=a.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiFormControl"}),l=r.children,m=r.className,b=r.color,x=void 0===b?"primary":b,O=r.component,_=void 0===O?"div":O,S=r.disabled,k=void 0!==S&&S,E=r.error,M=void 0!==E&&E,C=r.focused,j=r.fullWidth,A=void 0!==j&&j,T=r.hiddenLabel,P=void 0!==T&&T,D=r.margin,R=void 0===D?"none":D,L=r.required,I=void 0!==L&&L,N=r.size,F=void 0===N?"medium":N,B=r.variant,z=void 0===B?"outlined":B,H=Object(i.a)(r,y),U=Object(o.a)({},r,{color:x,component:_,disabled:k,error:M,fullWidth:A,hiddenLabel:P,margin:R,required:I,size:F,variant:z}),W=function(t){var e=t.classes,r=t.margin,n=t.fullWidth,i={root:["root","none"!==r&&"margin".concat(Object(h.a)(r)),n&&"fullWidth"]};return Object(c.a)(i,v,e)}(U),q=a.useState((function(){var t=!1;return l&&a.Children.forEach(l,(function(e){if(Object(d.a)(e,["Input","Select"])){var r=Object(d.a)(e,["Select"])?e.props.input:e;r&&Object(f.a)(r.props)&&(t=!0)}})),t})),V=Object(n.a)(q,2),G=V[0],Y=V[1],X=a.useState((function(){var t=!1;return l&&a.Children.forEach(l,(function(e){Object(d.a)(e,["Input","Select"])&&Object(f.b)(e.props,!0)&&(t=!0)})),t})),$=Object(n.a)(X,2),K=$[0],Z=$[1],J=a.useState(!1),Q=Object(n.a)(J,2),tt=Q[0],et=Q[1];k&&tt&&et(!1);var rt=void 0===C||k?tt:C,nt=a.useCallback((function(){Z(!0)}),[]),it={adornedStart:G,setAdornedStart:Y,color:x,disabled:k,error:M,filled:K,focused:rt,fullWidth:A,hiddenLabel:P,size:F,onBlur:function(){et(!1)},onEmpty:a.useCallback((function(){Z(!1)}),[]),onFilled:nt,onFocus:function(){et(!0)},registerEffect:void 0,required:I,variant:z};return Object(g.jsx)(p.a.Provider,{value:it,children:Object(g.jsx)(w,Object(o.a)({as:_,ownerState:U,className:Object(s.a)(W.root,m),ref:e},H,{children:l}))})}));e.a=x},function(t,e,r){"use strict";var n=r(14),i=r(329),o=(r(10),r(0)),a=r.n(o),s=r(76),c=r.n(s),u=!1,l=r(375),f=function(t){function e(e,r){var n;n=t.call(this,e,r)||this;var i,o=r&&!r.isMounting?e.enter:e.appear;return n.appearStatus=null,e.in?o?(i="exited",n.appearStatus="entering"):i="entered":i=e.unmountOnExit||e.mountOnEnter?"unmounted":"exited",n.state={status:i},n.nextCallback=null,n}Object(i.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&"unmounted"===e.status?{status:"exited"}:null};var r=e.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?"entering"!==r&&"entered"!==r&&(e="entering"):"entering"!==r&&"entered"!==r||(e="exiting")}this.updateStatus(!1,e)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!==typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},r.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),"entering"===e?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},r.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,i=this.props.nodeRef?[n]:[c.a.findDOMNode(this),n],o=i[0],a=i[1],s=this.getTimeouts(),l=n?s.appear:s.enter;!t&&!r||u?this.safeSetState({status:"entered"},(function(){e.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){e.props.onEntering(o,a),e.onTransitionEnd(l,(function(){e.safeSetState({status:"entered"},(function(){e.props.onEntered(o,a)}))}))})))},r.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:c.a.findDOMNode(this);e&&!u?(this.props.onExit(n),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(n)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},r.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:c.a.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},r.render=function(){var t=this.state.status;if("unmounted"===t)return null;var e=this.props,r=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,Object(n.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.a.Provider,{value:null},"function"===typeof r?r(t,i):a.a.cloneElement(a.a.Children.only(r),i))},e}(a.a.Component);function h(){}f.contextType=l.a,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},f.UNMOUNTED="unmounted",f.EXITED="exited",f.ENTERING="entering",f.ENTERED="entered",f.EXITING="exiting";e.a=f},,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){var n=r(312)(Object,"create");t.exports=n},function(t,e,r){var n=r(954),i=r(955),o=r(956),a=r(957),s=r(958);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,r){var n=r(585);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(960);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){var n=r(344);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},function(t,e,r){var n=r(968),i=r(973),o=r(392);t.exports=function(t){return o(t)?n(t):i(t)}},function(t,e,r){t.exports=i;var n=r(265).EventEmitter;function i(){n.call(this)}r(53)(i,n),i.Readable=r(596),i.Writable=r(1030),i.Duplex=r(1031),i.Transform=r(1032),i.PassThrough=r(1033),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",c));var a=!1;function s(){a||(a=!0,t.end())}function c(){a||(a=!0,"function"===typeof t.destroy&&t.destroy())}function u(t){if(l(),0===n.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",c),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("error",u),t.on("error",u),r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t}},function(t,e,r){"use strict";(function(e){"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this,r(112))},function(t,e,r){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},i=/%[sdj%]/g;e.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(s(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(t).replace(i,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}})),c=n[r];r<o;c=n[++r])m(c)||!w(c)?a+=" "+c:a+=" "+s(c);return a},e.deprecate=function(r,n){if("undefined"!==typeof t&&!0===t.noDeprecation)return r;if("undefined"===typeof t)return function(){return e.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var o,a={};function s(t,r){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&e._extend(n,r),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),l(n,t,n.depth)}function c(t,e){var r=s.styles[e];return r?"\x1b["+s.colors[r][0]+"m"+t+"\x1b["+s.colors[r][1]+"m":t}function u(t,e){return t}function l(t,r,n){if(t.customInspect&&r&&_(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return v(i)||(i=l(t,i,n)),i}var o=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(b(e))return t.stylize(""+e,"number");if(p(e))return t.stylize(""+e,"boolean");if(m(e))return t.stylize("null","null")}(t,r);if(o)return o;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),O(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(r);if(0===a.length){if(_(r)){var c=r.name?": "+r.name:"";return t.stylize("[Function"+c+"]","special")}if(y(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return t.stylize(Date.prototype.toString.call(r),"date");if(O(r))return f(r)}var u,w="",S=!1,k=["{","}"];(d(r)&&(S=!0,k=["[","]"]),_(r))&&(w=" [Function"+(r.name?": "+r.name:"")+"]");return y(r)&&(w=" "+RegExp.prototype.toString.call(r)),x(r)&&(w=" "+Date.prototype.toUTCString.call(r)),O(r)&&(w=" "+f(r)),0!==a.length||S&&0!=r.length?n<0?y(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),u=S?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)C(e,String(a))?o.push(h(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(t,e,r,n,i,!0))})),o}(t,r,n,s,a):a.map((function(e){return h(t,r,n,s,e,S)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(u,w,k)):k[0]+w+k[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,r,n,i,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),C(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(c.value)<0?(s=m(r)?l(t,c.value,null):l(t,c.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),g(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t){return Array.isArray(t)}function p(t){return"boolean"===typeof t}function m(t){return null===t}function b(t){return"number"===typeof t}function v(t){return"string"===typeof t}function g(t){return void 0===t}function y(t){return w(t)&&"[object RegExp]"===S(t)}function w(t){return"object"===typeof t&&null!==t}function x(t){return w(t)&&"[object Date]"===S(t)}function O(t){return w(t)&&("[object Error]"===S(t)||t instanceof Error)}function _(t){return"function"===typeof t}function S(t){return Object.prototype.toString.call(t)}function k(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(r){if(g(o)&&(o=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(o)){var n=t.pid;a[r]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",r,n,t)}}else a[r]=function(){};return a[r]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=p,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=v,e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=g,e.isRegExp=y,e.isObject=w,e.isDate=x,e.isError=O,e.isFunction=_,e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=r(1034);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(){var t=new Date,e=[k(t.getHours()),k(t.getMinutes()),k(t.getSeconds())].join(":");return[t.getDate(),E[t.getMonth()],e].join(" ")}function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",M(),e.format.apply(e,arguments))},e.inherits=r(1035),e._extend=function(t,e){if(!e||!w(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var j="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(j&&t[j]){var e;if("function"!==typeof(e=t[j]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,i)}catch(a){r(a)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),j&&Object.defineProperty(e,j,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=j,e.callbackify=function(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!==typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,r).then((function(e){t.nextTick(a,null,e)}),(function(e){t.nextTick(A,e,a)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,n(e)),r}}).call(this,r(112))},function(t,e,r){var n=r(71).Buffer;function i(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i<e;i++)r[i]=t.readUInt32BE(4*i);return r}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,r,n,i){for(var o,a,s,c,u=r[0],l=r[1],f=r[2],h=r[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],b=t[3]^e[3],v=4,g=1;g<i;g++)o=u[d>>>24]^l[p>>>16&255]^f[m>>>8&255]^h[255&b]^e[v++],a=u[p>>>24]^l[m>>>16&255]^f[b>>>8&255]^h[255&d]^e[v++],s=u[m>>>24]^l[b>>>16&255]^f[d>>>8&255]^h[255&p]^e[v++],c=u[b>>>24]^l[d>>>16&255]^f[p>>>8&255]^h[255&m]^e[v++],d=o,p=a,m=s,b=c;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&b])^e[v++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[b>>>8&255]<<8|n[255&d])^e[v++],s=(n[m>>>24]<<24|n[b>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^e[v++],c=(n[b>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^e[v++],[o>>>=0,a>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var l=t[a],f=t[l],h=t[f],d=257*t[u]^16843008*u;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*h^65537*f^257*l^16843008*a,o[0][u]=d<<24|d>>>8,o[1][u]=d<<16|d>>>16,o[2][u]=d<<8|d>>>24,o[3][u]=d,0===a?a=s=1:(a=l^t[t[t[h^l]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(t){this._key=i(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<n;o++){var a=i[o-1];o%e===0?(a=a<<8|a>>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e===4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-e]^a}for(var u=[],l=0;l<n;l++){var f=n-l,h=i[f-(l%4?0:4)];u[l]=l<4||f<=4?h:c.INV_SUB_MIX[0][c.SBOX[h>>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},u.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var r=a(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=u},function(t,e,r){var n=r(71).Buffer,i=r(600);t.exports=function(t,e,r,o){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),c=n.alloc(o||0),u=n.alloc(0);a>0||o>0;){var l=new i;l.update(u),l.update(t),e&&l.update(e),u=l.digest();var f=0;if(a>0){var h=s.length-a;f=Math.min(a,u.length),u.copy(s,h,0,f),a-=f}if(f<u.length&&o>0){var d=c.length-o,p=Math.min(o,u.length-f);u.copy(c,d,f,f+p),o-=p}}return u.fill(0),{key:s,iv:c}}},function(t,e,r){"use strict";var n=r(246),i=r(191),o=i.getNAF,a=i.getJSF,s=i.assert;function c(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(t,e){s(t.precomputed);var r=t._getDoubles(),n=o(e,1,this._bitLength),i=(1<<r.step+1)-(r.step%2===0?2:1);i/=3;var a,c,u=[];for(a=0;a<n.length;a+=r.step){c=0;for(var l=a+r.step-1;l>=a;l--)c=(c<<1)+n[l];u.push(c)}for(var f=this.jpoint(null,null,null),h=this.jpoint(null,null,null),d=i;d>0;d--){for(a=0;a<u.length;a++)(c=u[a])===d?h=h.mixedAdd(r.points[a]):c===-d&&(h=h.mixedAdd(r.points[a].neg()));f=f.add(h)}return f.toP()},c.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(e,r,this._bitLength),c=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(var l=0;u>=0&&0===a[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var f=a[u];s(0!==f),c="affine"===t.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,e,r,n,i){var s,c,u,l=this._wnafT1,f=this._wnafT2,h=this._wnafT3,d=0;for(s=0;s<n;s++){var p=(u=e[s])._getNAFPoints(t);l[s]=p.wnd,f[s]=p.points}for(s=n-1;s>=1;s-=2){var m=s-1,b=s;if(1===l[m]&&1===l[b]){var v=[e[m],null,null,e[b]];0===e[m].y.cmp(e[b].y)?(v[1]=e[m].add(e[b]),v[2]=e[m].toJ().mixedAdd(e[b].neg())):0===e[m].y.cmp(e[b].y.redNeg())?(v[1]=e[m].toJ().mixedAdd(e[b]),v[2]=e[m].add(e[b].neg())):(v[1]=e[m].toJ().mixedAdd(e[b]),v[2]=e[m].toJ().mixedAdd(e[b].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=a(r[m],r[b]);for(d=Math.max(y[0].length,d),h[m]=new Array(d),h[b]=new Array(d),c=0;c<d;c++){var w=0|y[0][c],x=0|y[1][c];h[m][c]=g[3*(w+1)+(x+1)],h[b][c]=0,f[m]=v}}else h[m]=o(r[m],l[m],this._bitLength),h[b]=o(r[b],l[b],this._bitLength),d=Math.max(h[m].length,d),d=Math.max(h[b].length,d)}var O=this.jpoint(null,null,null),_=this._wnafT4;for(s=d;s>=0;s--){for(var S=0;s>=0;){var k=!0;for(c=0;c<n;c++)_[c]=0|h[c][s],0!==_[c]&&(k=!1);if(!k)break;S++,s--}if(s>=0&&S++,O=O.dblp(S),s<0)break;for(c=0;c<n;c++){var E=_[c];0!==E&&(E>0?u=f[c][E-1>>1]:E<0&&(u=f[c][-E-1>>1].neg()),O="affine"===u.type?O.mixedAdd(u):O.add(u))}}for(s=0;s<n;s++)f[s]=null;return i?O:O.toP()},c.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1===2*r)return 6===t[0]?s(t[t.length-1]%2===0):7===t[0]&&s(t[t.length-1]%2===1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(t){return this.encode(t,!0)},u.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},u.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},u.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},u.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},u.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},u.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}},function(t,e,r){var n=r(1106),i=r(1114),o=r(1115),a=r(605),s=r(725),c=r(71).Buffer;function u(t){var e;"object"!==typeof t||c.isBuffer(t)||(e=t.passphrase,t=t.key),"string"===typeof t&&(t=c.from(t));var r,u,l=o(t,e),f=l.tag,h=l.data;switch(f){case"CERTIFICATE":u=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=n.PublicKey.decode(h,"der")),r=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=n.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":h=function(t,e){var r=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[t.algorithm.decrypt.cipher.algo.join(".")],u=t.algorithm.decrypt.cipher.iv,l=t.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,h=s.pbkdf2Sync(e,r,n,f,"sha1"),d=a.createDecipheriv(o,h,u),p=[];return p.push(d.update(l)),p.push(d.final()),c.concat(p)}(h=n.EncryptedPrivateKey.decode(h,"der"),e);case"PRIVATE KEY":switch(r=(u=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:n.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=n.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+f)}}t.exports=u,u.signature=n.signature},function(t,e){var r=function(t,e){Error.call(this,t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="JsonWebTokenError",this.message=t,e&&(this.inner=e)};(r.prototype=Object.create(Error.prototype)).constructor=r,t.exports=r},function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return s})),r.d(e,"b",(function(){return c}));var n=r(29),i=r(45),o=r(46),a=function(){function t(){Object(i.a)(this,t),this._partials=new Float64Array(32),this._n=0}return Object(o.a)(t,[{key:"add",value:function(t){for(var e=this._partials,r=0,n=0;n<this._n&&n<32;n++){var i=e[n],o=t+i,a=Math.abs(t)<Math.abs(i)?t-(o-i):i-(o-t);a&&(e[r++]=a),t=o}return e[r]=t,this._n=r+1,this}},{key:"valueOf",value:function(){var t,e,r,n=this._partials,i=this._n,o=0;if(i>0){for(o=n[--i];i>0&&(t=o,!(r=(e=n[--i])-((o=t+e)-t))););i>0&&(r<0&&n[i-1]<0||r>0&&n[i-1]>0)&&(e=2*r)==(t=o+e)-o&&(o=t)}return o}}]),t}();function s(t,e){var r=new a;if(void 0===e){var i,o=Object(n.a)(t);try{for(o.s();!(i=o.n()).done;){var s=i.value;(s=+s)&&r.add(s)}}catch(h){o.e(h)}finally{o.f()}}else{var c,u=-1,l=Object(n.a)(t);try{for(l.s();!(c=l.n()).done;){var f=c.value;(f=+e(f,++u,t))&&r.add(f)}}catch(h){l.e(h)}finally{l.f()}}return+r}function c(t,e){var r=new a,n=-1;return Float64Array.from(t,void 0===e?function(t){return r.add(+t||0)}:function(i){return r.add(+e(i,++n,t)||0)})}},function(t,e,r){"use strict";var n=r(358);r.d(e,"c",(function(){return n.a})),r.d(e,"b",(function(){return n.b})),r.d(e,"e",(function(){return n.c}));var i=r(503);r.d(e,"d",(function(){return i.a}));var o=r(322);r.d(e,"f",(function(){return o.b})),r.d(e,"a",(function(){return o.a}));var a=r(636);r.d(e,"g",(function(){return a.a}));var s=r(637);r.d(e,"h",(function(){return s.a}));var c=r(638);r.d(e,"i",(function(){return c.a}))},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){var n=r(585),i=r(392),o=r(589),a=r(150);t.exports=function(t,e,r){if(!a(r))return!1;var s=typeof e;return!!("number"==s?i(r)&&o(e,r.length):"string"==s&&e in r)&&n(r[e],t)}},,function(t,e,r){"use strict";r.d(e,"d",(function(){return n.a})),r.d(e,"c",(function(){return n.b})),r.d(e,"f",(function(){return n.c})),r.d(e,"g",(function(){return n.d})),r.d(e,"h",(function(){return n.e})),r.d(e,"e",(function(){return i.a})),r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a}));var n=r(216),i=r(500);var o=Date.prototype.toISOString?function(t){return t.toISOString()}:Object(n.d)("%Y-%m-%dT%H:%M:%S.%LZ");var a=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:Object(n.e)("%Y-%m-%dT%H:%M:%S.%LZ")},,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(0);function i(t){var e=n.useState(t),r=e[0],i=e[1],o=t||r;return n.useEffect((function(){null==r&&i("mui-".concat(Math.round(1e5*Math.random())))}),[r]),o}},,function(t,e,r){"use strict";var n=r(93);e.a=function(t,e){var r;void 0===e&&(e=!0);var i=new Promise((function(n){r=setTimeout(n,t,e)}));return i[n.a]=function(){clearTimeout(r)},i}},function(t,e,r){"use strict";var n=r(1308);e.a=n.a},function(t,e,r){"use strict";var n=r(272);e.a=function(t){return Math.ceil(Math.log(Object(n.a)(t))/Math.LN2)+1}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(108);function i(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length-1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.a;a>r;){if(a-r>600){var c=a-r+1,u=e-r+1,l=Math.log(c),f=.5*Math.exp(2*l/3),h=.5*Math.sqrt(l*f*(c-f)/c)*(u-c/2<0?-1:1),d=Math.max(r,Math.floor(e-u*f/c+h)),p=Math.min(a,Math.floor(e+(c-u)*f/c+h));i(t,e,d,p,s)}var m=t[e],b=r,v=a;for(o(t,r,e),s(t[a],m)>0&&o(t,r,a);b<v;){for(o(t,b,v),++b,--v;s(t[b],m)<0;)++b;for(;s(t[v],m)>0;)--v}0===s(t[r],m)?o(t,r,v):o(t,++v,a),v<=e&&(r=v+1),e<=v&&(a=v-1)}return t}function o(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}},function(t,e,r){"use strict";var n=r(357);e.a=function(t){var e=t.length;return function(r){var i=Math.floor(((r%=1)<0?++r:r)*e),o=t[(i+e-1)%e],a=t[i%e],s=t[(i+1)%e],c=t[(i+2)%e];return Object(n.a)((r-i/e)*e,o,a,s,c)}}},function(t,e,r){"use strict";var n=r(175),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");e.a=function(t,e){var r,a,s,c=i.lastIndex=o.lastIndex=0,u=-1,l=[],f=[];for(t+="",e+="";(r=i.exec(t))&&(a=o.exec(e));)(s=a.index)>c&&(s=e.slice(c,s),l[u]?l[u]+=s:l[++u]=s),(r=r[0])===(a=a[0])?l[u]?l[u]+=a:l[++u]=a:(l[++u]=null,f.push({i:u,x:Object(n.a)(r,a)})),c=o.lastIndex;return c<e.length&&(s=e.slice(c),l[u]?l[u]+=s:l[++u]=s),l.length<2?f[0]?function(t){return function(e){return t(e)+""}}(f[0].x):function(t){return function(){return t}}(e):(e=f.length,function(t){for(var r,n=0;n<e;++n)l[(r=f[n]).i]=r.x(t);return l.join("")})}},function(t,e,r){"use strict";e.a=function(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(274),i=r(286);function o(t,e){var r,i=e?e.length:0,o=t?Math.min(i,t.length):0,a=new Array(o),s=new Array(i);for(r=0;r<o;++r)a[r]=Object(n.a)(t[r],e[r]);for(;r<i;++r)s[r]=e[r];return function(t){for(r=0;r<o;++r)s[r]=a[r](t);return s}}e.a=function(t,e){return(Object(i.b)(e)?i.a:o)(t,e)}},function(t,e,r){"use strict";var n=r(274);e.a=function(t,e){var r,i={},o={};for(r in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)r in t?i[r]=Object(n.a)(t[r],e[r]):o[r]=e[r];return function(t){for(r in i)o[r]=i[r](t);return o}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r(173),i=r(322),o=r(637),a=r(358),s=r(638),c=r(636);function u(t,e,r,u){var l,f=Object(n.c)(t,e,r);switch((u=Object(i.b)(null==u?",f":u)).type){case"s":var h=Math.max(Math.abs(t),Math.abs(e));return null!=u.precision||isNaN(l=Object(o.a)(f,h))||(u.precision=l),Object(a.c)(u,h);case"":case"e":case"g":case"p":case"r":null!=u.precision||isNaN(l=Object(s.a)(f,Math.max(Math.abs(t),Math.abs(e))))||(u.precision=l-("e"===u.type));break;case"f":case"%":null!=u.precision||isNaN(l=Object(c.a)(f))||(u.precision=l-2*("%"===u.type))}return Object(a.b)(u)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(105),i=r(323),o=r(106),a=r(324),s=r(239),c=r(238);function u(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function l(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function f(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}function h(t){var e=t.dateTime,r=t.date,s=t.time,c=t.periods,h=t.days,p=t.shortDays,m=t.months,b=t.shortMonths,v=y(c),g=w(c),J=y(h),gt=w(h),At=y(p),Tt=w(p),Pt=y(m),Dt=w(m),Rt=y(b),Lt=w(b),It={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return b[t.getMonth()]},B:function(t){return m[t.getMonth()]},c:null,d:H,e:H,f:G,g:nt,G:ot,H:U,I:W,j:q,L:V,m:Y,M:X,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ct,s:jt,S:$,u:K,U:Z,V:Q,w:tt,W:et,x:null,X:null,y:rt,Y:it,Z:at,"%":Mt},Nt={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return b[t.getUTCMonth()]},B:function(t){return m[t.getUTCMonth()]},c:null,d:st,e:st,f:ht,g:_t,G:kt,H:ct,I:ut,j:lt,L:ft,m:dt,M:pt,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ct,s:jt,S:mt,u:bt,U:vt,V:yt,w:wt,W:xt,x:null,X:null,y:Ot,Y:St,Z:Et,"%":Mt},Ft={a:function(t,e,r){var n=At.exec(e.slice(r));return n?(t.w=Tt.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=J.exec(e.slice(r));return n?(t.w=gt.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=Rt.exec(e.slice(r));return n?(t.m=Lt.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=Pt.exec(e.slice(r));return n?(t.m=Dt.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return Ht(t,e,r,n)},d:T,e:T,f:N,g:M,G:E,H:D,I:D,j:P,L:I,m:A,M:R,p:function(t,e,r){var n=v.exec(e.slice(r));return n?(t.p=g.get(n[0].toLowerCase()),r+n[0].length):-1},q:j,Q:B,s:z,S:L,u:O,U:_,V:S,w:x,W:k,x:function(t,e,n){return Ht(t,r,e,n)},X:function(t,e,r){return Ht(t,s,e,r)},y:M,Y:E,Z:C,"%":F};function Bt(t,e){return function(r){var n,i,o,a=[],s=-1,c=0,u=t.length;for(r instanceof Date||(r=new Date(+r));++s<u;)37===t.charCodeAt(s)&&(a.push(t.slice(c,s)),null!=(i=d[n=t.charAt(++s)])?n=t.charAt(++s):i="e"===n?" ":"0",(o=e[n])&&(n=o(r,i)),a.push(n),c=s+1);return a.push(t.slice(c,s)),a.join("")}}function zt(t,e){return function(r){var s,c,h=f(1900,void 0,1);if(Ht(h,t,r+="",0)!=r.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(e&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(s=l(f(h.y,0,1))).getUTCDay(),s=c>4||0===c?n.c.ceil(s):Object(n.c)(s),s=i.a.offset(s,7*(h.V-1)),h.y=s.getUTCFullYear(),h.m=s.getUTCMonth(),h.d=s.getUTCDate()+(h.w+6)%7):(c=(s=u(f(h.y,0,1))).getDay(),s=c>4||0===c?o.c.ceil(s):Object(o.c)(s),s=a.b.offset(s,7*(h.V-1)),h.y=s.getFullYear(),h.m=s.getMonth(),h.d=s.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?l(f(h.y,0,1)).getUTCDay():u(f(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,l(h)):u(h)}}function Ht(t,e,r,n){for(var i,o,a=0,s=e.length,c=r.length;a<s;){if(n>=c)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=Ft[i in d?e.charAt(a++):i])||(n=o(t,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return It.x=Bt(r,It),It.X=Bt(s,It),It.c=Bt(e,It),Nt.x=Bt(r,Nt),Nt.X=Bt(s,Nt),Nt.c=Bt(e,Nt),{format:function(t){var e=Bt(t+="",It);return e.toString=function(){return t},e},parse:function(t){var e=zt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=Bt(t+="",Nt);return e.toString=function(){return t},e},utcParse:function(t){var e=zt(t+="",!0);return e.toString=function(){return t},e}}}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,m=/^%/,b=/[\\^$*+?|[\]().{}]/g;function v(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(e)+i:i)}function g(t){return t.replace(b,"\\$&")}function y(t){return new RegExp("^(?:"+t.map(g).join("|")+")","i")}function w(t){return new Map(t.map((function(t,e){return[t.toLowerCase(),e]})))}function x(t,e,r){var n=p.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function O(t,e,r){var n=p.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function _(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function S(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function k(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function E(t,e,r){var n=p.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function M(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function C(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function j(t,e,r){var n=p.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function A(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function T(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function P(t,e,r){var n=p.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function D(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function R(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function L(t,e,r){var n=p.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function I(t,e,r){var n=p.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function N(t,e,r){var n=p.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function F(t,e,r){var n=m.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function B(t,e,r){var n=p.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function z(t,e,r){var n=p.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function H(t,e){return v(t.getDate(),e,2)}function U(t,e){return v(t.getHours(),e,2)}function W(t,e){return v(t.getHours()%12||12,e,2)}function q(t,e){return v(1+a.b.count(Object(s.a)(t),t),e,3)}function V(t,e){return v(t.getMilliseconds(),e,3)}function G(t,e){return V(t,e)+"000"}function Y(t,e){return v(t.getMonth()+1,e,2)}function X(t,e){return v(t.getMinutes(),e,2)}function $(t,e){return v(t.getSeconds(),e,2)}function K(t){var e=t.getDay();return 0===e?7:e}function Z(t,e){return v(o.g.count(Object(s.a)(t)-1,t),e,2)}function J(t){var e=t.getDay();return e>=4||0===e?Object(o.i)(t):o.i.ceil(t)}function Q(t,e){return t=J(t),v(o.i.count(Object(s.a)(t),t)+(4===Object(s.a)(t).getDay()),e,2)}function tt(t){return t.getDay()}function et(t,e){return v(o.c.count(Object(s.a)(t)-1,t),e,2)}function rt(t,e){return v(t.getFullYear()%100,e,2)}function nt(t,e){return v((t=J(t)).getFullYear()%100,e,2)}function it(t,e){return v(t.getFullYear()%1e4,e,4)}function ot(t,e){var r=t.getDay();return v((t=r>=4||0===r?Object(o.i)(t):o.i.ceil(t)).getFullYear()%1e4,e,4)}function at(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+v(e/60|0,"0",2)+v(e%60,"0",2)}function st(t,e){return v(t.getUTCDate(),e,2)}function ct(t,e){return v(t.getUTCHours(),e,2)}function ut(t,e){return v(t.getUTCHours()%12||12,e,2)}function lt(t,e){return v(1+i.a.count(Object(c.a)(t),t),e,3)}function ft(t,e){return v(t.getUTCMilliseconds(),e,3)}function ht(t,e){return ft(t,e)+"000"}function dt(t,e){return v(t.getUTCMonth()+1,e,2)}function pt(t,e){return v(t.getUTCMinutes(),e,2)}function mt(t,e){return v(t.getUTCSeconds(),e,2)}function bt(t){var e=t.getUTCDay();return 0===e?7:e}function vt(t,e){return v(n.g.count(Object(c.a)(t)-1,t),e,2)}function gt(t){var e=t.getUTCDay();return e>=4||0===e?Object(n.i)(t):n.i.ceil(t)}function yt(t,e){return t=gt(t),v(n.i.count(Object(c.a)(t),t)+(4===Object(c.a)(t).getUTCDay()),e,2)}function wt(t){return t.getUTCDay()}function xt(t,e){return v(n.c.count(Object(c.a)(t)-1,t),e,2)}function Ot(t,e){return v(t.getUTCFullYear()%100,e,2)}function _t(t,e){return v((t=gt(t)).getUTCFullYear()%100,e,2)}function St(t,e){return v(t.getUTCFullYear()%1e4,e,4)}function kt(t,e){var r=t.getUTCDay();return v((t=r>=4||0===r?Object(n.i)(t):n.i.ceil(t)).getUTCFullYear()%1e4,e,4)}function Et(){return"+0000"}function Mt(){return"%"}function Ct(t){return+t}function jt(t){return Math.floor(+t/1e3)}},function(t,e,r){"use strict";r.d(e,"b",(function(){return h}));var n=r(428),i=r(334),o=r(415),a=r(416),s=r(418),c=r(417),u=r(419),l=r(420),f=r(59),h=[i.a,o.a,a.a,c.a,s.a,u.a,l.a];e.a=function(t,e){var r=null;function o(){var i;if(r||(r=i=Object(n.a)()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),i)return r=null,i+""||null}return t="function"===typeof t?t:Object(f.a)(t||i.a),e="function"===typeof e?e:Object(f.a)(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"===typeof e?e:Object(f.a)(e),o):t},o.size=function(t){return arguments.length?(e="function"===typeof t?t:Object(f.a)(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}},,function(t,e,r){"use strict";var n,i=r(237),o=r(322),a=r(253),s=function(t,e){var r=Object(a.b)(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")},c={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:a.a,e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return s(100*t,e)},r:s,s:function(t,e){var r=Object(a.b)(t,e);if(!r)return t+"";var i=r[0],o=r[1],s=o-(n=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=i.length;return s===c?i:s>c?i+new Array(s-c+1).join("0"):s>0?i.slice(0,s)+"."+i.slice(s):"0."+new Array(1-s).join("0")+Object(a.b)(t,Math.max(0,e+s-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},u=function(t){return t},l=Array.prototype.map,f=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];e.a=function(t){var e,r,a=void 0===t.grouping||void 0===t.thousands?u:(e=l.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,o=[],a=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>n&&(s=Math.max(1,n-c)),o.push(t.substring(i-=s,i+s)),!((c+=s+1)>n));)s=e[a=(a+1)%e.length];return o.reverse().join(r)}),s=void 0===t.currency?"":t.currency[0]+"",h=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?u:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(l.call(t.numerals,String)),m=void 0===t.percent?"%":t.percent+"",b=void 0===t.minus?"\u2212":t.minus+"",v=void 0===t.nan?"NaN":t.nan+"";function g(t){var e=(t=Object(o.b)(t)).fill,r=t.align,i=t.sign,u=t.symbol,l=t.zero,g=t.width,y=t.comma,w=t.precision,x=t.trim,O=t.type;"n"===O?(y=!0,O="g"):c[O]||(void 0===w&&(w=12),x=!0,O="g"),(l||"0"===e&&"="===r)&&(l=!0,e="0",r="=");var _="$"===u?s:"#"===u&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",S="$"===u?h:/[%p]/.test(O)?m:"",k=c[O],E=/[defgprs%]/.test(O);function M(t){var o,s,c,u=_,h=S;if("c"===O)h=k(t)+h,t="";else{var m=(t=+t)<0||1/t<0;if(t=isNaN(t)?v:k(Math.abs(t),w),x&&(t=function(t){t:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),m&&0===+t&&"+"!==i&&(m=!1),u=(m?"("===i?i:b:"-"===i||"("===i?"":i)+u,h=("s"===O?f[8+n/3]:"")+h+(m&&"("===i?")":""),E)for(o=-1,s=t.length;++o<s;)if(48>(c=t.charCodeAt(o))||c>57){h=(46===c?d+t.slice(o+1):t.slice(o))+h,t=t.slice(0,o);break}}y&&!l&&(t=a(t,1/0));var M=u.length+t.length+h.length,C=M<g?new Array(g-M+1).join(e):"";switch(y&&l&&(t=a(C+t,C.length?g-h.length:1/0),C=""),r){case"<":t=u+t+h+C;break;case"=":t=u+C+t+h;break;case"^":t=C.slice(0,M=C.length>>1)+u+t+h+C.slice(M);break;default:t=C+u+t+h}return p(t)}return w=void 0===w?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),M.toString=function(){return t+""},M}return{format:g,formatPrefix:function(t,e){var r=g(((t=Object(o.b)(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Object(i.a)(e)/3))),a=Math.pow(10,-n),s=f[8+n/3];return function(t){return r(a*t)+s}}}}},,,function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.a=r}).call(this,r(120))},function(t,e,r){"use strict";var n=r(160),i=r(184);e.a=function(t){if(!Object(i.a)(t))return!1;var e=Object(n.a)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){"use strict";e.a=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){"use strict";e.a=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,r){"use strict";e.a=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e,r){"use strict";function n(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(2),i=r(217);function o(t){return t&&"object"===Object(i.a)(t)&&t.constructor===Object}function a(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=r.clone?Object(n.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(n){"__proto__"!==n&&(o(e[n])&&n in t?i[n]=a(t[n],e[n],r):i[n]=e[n])})),i}},function(t,e,r){"use strict";var n=r(0),i=r.n(n).a.createContext(null);e.a=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(425);function i(t,e){if(t){if("string"===typeof t)return Object(n.a)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(t,e):void 0}}},function(t,e,r){"use strict";var n="function"===typeof Symbol&&Symbol.for;e.a=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(t,e,r){"use strict";function n(t){for(var e="https://material-ui.com/production-error/?code="+t,r=1;r<arguments.length;r+=1)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified Material-UI error #"+t+"; visit "+e+" for the full message."}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));r(232),r(2);var n=r(217),i=(r(10),r(249),{xs:0,sm:600,md:960,lg:1280,xl:1920}),o={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(i[t],"px)")}};function a(t,e,r){if(Array.isArray(e)){var i=t.theme.breakpoints||o;return e.reduce((function(t,n,o){return t[i.up(i.keys[o])]=r(e[o]),t}),{})}if("object"===Object(n.a)(e)){var a=t.theme.breakpoints||o;return Object.keys(e).reduce((function(t,n){return t[a.up(n)]=r(e[n]),t}),{})}return r(e)}},function(t,e,r){"use strict";e.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(t,e,r){"use strict";function n(){var t=document.createElement("div");t.style.width="99px",t.style.height="99px",t.style.position="absolute",t.style.top="-9999px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=(r(10),r(8)),c=r(221),u=r(185),l=r(26),f=r(659),h=a.forwardRef((function(t,e){var r=t.autoFocus,l=t.checked,h=t.checkedIcon,d=t.classes,p=t.className,m=t.defaultChecked,b=t.disabled,v=t.icon,g=t.id,y=t.inputProps,w=t.inputRef,x=t.name,O=t.onBlur,_=t.onChange,S=t.onFocus,k=t.readOnly,E=t.required,M=t.tabIndex,C=t.type,j=t.value,A=Object(o.a)(t,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),T=Object(c.a)({controlled:l,default:Boolean(m),name:"SwitchBase",state:"checked"}),P=Object(i.a)(T,2),D=P[0],R=P[1],L=Object(u.a)(),I=b;L&&"undefined"===typeof I&&(I=L.disabled);var N="checkbox"===C||"radio"===C;return a.createElement(f.a,Object(n.a)({component:"span",className:Object(s.a)(d.root,p,D&&d.checked,I&&d.disabled),disabled:I,tabIndex:null,role:void 0,onFocus:function(t){S&&S(t),L&&L.onFocus&&L.onFocus(t)},onBlur:function(t){O&&O(t),L&&L.onBlur&&L.onBlur(t)},ref:e},A),a.createElement("input",Object(n.a)({autoFocus:r,checked:l,defaultChecked:m,className:d.input,disabled:I,id:N&&g,name:x,onChange:function(t){var e=t.target.checked;R(e),_&&_(t,e)},readOnly:k,ref:w,required:E,tabIndex:M,type:C,value:j},y)),D?h:v)}));e.a=Object(l.a)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(h)},function(t,e,r){"use strict";var n=r(0),i=r(159);e.a=Object(i.a)(n.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},function(t,e,r){"use strict";e.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){function t(t){var e=this;this._insertTag=function(t){var r;r=0===e.tags.length?e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,r),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{r.insertRule(t,r.cssRules.length)}catch(n){0}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}()},function(t,e,r){"use strict";r.d(e,"a",(function(){return m}));var n=r(177),i=r(118),o=r(378),a=-.14861,s=1.78277,c=-.29227,u=-.90649,l=1.97294,f=l*u,h=l*s,d=s*c-u*a;function p(t){if(t instanceof b)return new b(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var e=t.r/255,r=t.g/255,n=t.b/255,a=(d*n+f*e-h*r)/(d+f-h),s=n-a,p=(l*(r-a)-c*s)/u,m=Math.sqrt(p*p+s*s)/(l*a*(1-a)),v=m?Math.atan2(p,s)*o.a-120:NaN;return new b(v<0?v+360:v,m,a,t.opacity)}function m(t,e,r,n){return 1===arguments.length?p(t):new b(t,e,r,null==n?1:n)}function b(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}Object(n.a)(b,m,Object(n.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new b(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new b(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.b,e=+this.l,r=isNaN(this.s)?0:this.s*e*(1-e),n=Math.cos(t),f=Math.sin(t);return new i.b(255*(e+r*(a*n+s*f)),255*(e+r*(c*n+u*f)),255*(e+r*(l*n)),this.opacity)}}))},function(t,e,r){"use strict";e.a=function(t){return t}},function(t,e,r){"use strict";e.a=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}},function(t,e,r){"use strict";r.r(e);var n=Number.isNaN||function(t){return"number"===typeof t&&t!==t};function i(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(i=t[r],o=e[r],!(i===o||n(i)&&n(o)))return!1;var i,o;return!0}e.default=function(t,e){var r;void 0===e&&(e=i);var n,o=[],a=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return a&&r===this&&e(i,o)||(n=t.apply(this,i),a=!0,r=this,o=i),n}}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"}),"LocationOn");e.default=a},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ReactSearchAutocomplete",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(1216))&&n.__esModule?n:{default:n}},,function(t,e,r){"use strict";var n,i=r(0),o=(n=i)&&"object"===typeof n&&"default"in n?n.default:n,a=function(){return(a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};var s="styles_scroll-to-top__2A70v";!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!==typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}(".styles_scroll-to-top__2A70v {\n  background-color: white;\n  right: 40px;\n  bottom: 40px;\n  position: fixed;\n  z-index: 2;\n  cursor: pointer;\n  border-radius: 7px;\n  width: 40px;\n  height: 40px;\n  transition: opacity 1s ease-in-out;\n  box-shadow: 0 9px 25px 0 rgba(132, 128, 177, 0.28);\n  border: none;\n  outline: none;\n}\n\n.styles_scroll-to-top__2A70v:active {\n  transform: matrix(0.95, 0, 0, 0.95, 0, 0);\n}\n");t.exports=function(t){var e=t.top,r=void 0===e?20:e,n=t.className,c=void 0===n?s:n,u=t.color,l=void 0===u?"black":u,f=t.smooth,h=void 0!==f&&f,d=t.component,p=void 0===d?"":d,m=t.viewBox,b=void 0===m?"0 0 256 256":m,v=t.svgPath,g=void 0===v?"M222.138,91.475l-89.6-89.6c-2.5-2.5-6.551-2.5-9.051,0l-89.6,89.6c-2.5,2.5-2.5,6.551,0,9.051s6.744,2.5,9.244,0L122,21.85  V249.6c0,3.535,2.466,6.4,6,6.4s6-2.865,6-6.4V21.85l78.881,78.676c1.25,1.25,2.992,1.875,4.629,1.875s3.326-0.625,4.576-1.875  C224.586,98.025,224.638,93.975,222.138,91.475z":v,y=t.width,w=void 0===y?"28":y,x=t.height,O=void 0===x?"28":x,_=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]])}return r}(t,["top","className","color","smooth","component","viewBox","svgPath","width","height"]),S=i.useState(!1),k=S[0],E=S[1],M=function(){E(document.documentElement.scrollTop>r)};return i.useEffect((function(){return document.addEventListener("scroll",M),function(){return document.removeEventListener("scroll",M)}}),[]),o.createElement(o.Fragment,null,k&&o.createElement("button",a({className:c,onClick:function(){return function(t){void 0===t&&(t=!1),t?window.scrollTo({top:0,behavior:"smooth"}):document.documentElement.scrollTop=0}(h)}},_),p||o.createElement("svg",{width:w,height:O,fill:l,viewBox:b},o.createElement("path",{d:g}))))}},,function(t,e,r){"use strict";var n=r(0),i=n.createContext();e.a=i},function(t,e,r){"use strict";var n=r(0),i=n.createContext({});e.a=i},function(t,e,r){"use strict";var n=r(0),i=Object(n.createContext)({});e.a=i},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiDialogTitle",t)}var a=Object(i.a)("MuiDialogTitle",["root"]);e.a=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z"}),"Upload");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");e.default=a},function(t,e,r){var n=r(1250),i=r(1251),o=r(245),a=r(68),s=r(484);t.exports=function(t,e,r){var c=a(t)?n:i;return r&&s(t,e,r)&&(e=void 0),c(t,o(e,3))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return C}));var n=r(281),i=r.n(n),o=r(0),a=r.n(o),s=r(334),c=r(415),u=r(416),l=r(417),f=r(418),h=r(419),d=r(420),p=r(501),m=r(55),b=r.n(m),v=r(42);function g(t){return(g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(){return(y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=k(t);if(e){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return S(this,r)}}function S(t,e){return!e||"object"!==g(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function k(t){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var E={symbolCircle:s.a,symbolCross:c.a,symbolDiamond:u.a,symbolSquare:l.a,symbolStar:f.a,symbolTriangle:h.a,symbolWye:d.a},M=Math.PI/180,C=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}(c,t);var e,r,n,o=_(c);function c(){return w(this,c),o.apply(this,arguments)}return e=c,(r=[{key:"getPath",value:function(){var t=this.props,e=t.size,r=t.sizeType,n=t.type,o=function(t){var e="symbol".concat(i()(t));return E[e]||s.a}(n);return Object(p.a)().type(o).size(function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*M;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(e,r,n))()}},{key:"render",value:function(){var t=this.props,e=t.className,r=t.cx,n=t.cy,i=t.size;return r===+r&&n===+n&&i===+i?a.a.createElement("path",y({},Object(v.c)(this.props,!0),{className:b()("recharts-symbols",e),transform:"translate(".concat(r,", ").concat(n,")"),d:this.getPath()})):null}}])&&x(e.prototype,r),n&&x(e,n),c}(o.PureComponent);C.defaultProps={type:"circle",size:64,sizeType:"area"},C.registerSymbol=function(t,e){E["symbol".concat(i()(t))]=e}},function(t,e,r){"use strict";var n=s(r(1296)),i=s(r(1300)),o=s(r(808)),a=s(r(805));function s(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:n.default}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(t){return null};n.displayName="Cell"},function(t,e,r){"use strict";r.d(e,"a",(function(){return v}));r(779);var n=r(0),i=r(412),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=Object(i.a)((function(t){return o.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),s=r(2),c=r(151),u=r(209),l=r(254),f=a,h=function(t){return"theme"!==t},d=function(t){return"string"===typeof t&&t.charCodeAt(0)>96?f:h},p=function(t,e,r){var n;if(e){var i=e.shouldForwardProp;n=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!==typeof n&&r&&(n=t.__emotion_forwardProp),n},m=function t(e,r){var i,o,a=e.__emotion_real===e,f=a&&e.__emotion_base||e;void 0!==r&&(i=r.label,o=r.target);var h=p(e,r,a),m=h||d(f),b=!m("as");return function(){var v=arguments,g=a&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==i&&g.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)g.push.apply(g,v);else{0,g.push(v[0][0]);for(var y=v.length,w=1;w<y;w++)g.push(v[w],v[0][w])}var x=Object(c.e)((function(t,e,r){var i=b&&t.as||f,a="",s=[],p=t;if(null==t.theme){for(var v in p={},t)p[v]=t[v];p.theme=Object(n.useContext)(c.b)}"string"===typeof t.className?a=Object(u.a)(e.registered,s,t.className):null!=t.className&&(a=t.className+" ");var y=Object(l.a)(g.concat(s),e.registered,p);Object(u.b)(e,y,"string"===typeof i);a+=e.key+"-"+y.name,void 0!==o&&(a+=" "+o);var w=b&&void 0===h?d(i):m,x={};for(var O in t)b&&"as"===O||w(O)&&(x[O]=t[O]);return x.className=a,x.ref=r,Object(n.createElement)(i,x)}));return x.displayName=void 0!==i?i:"Styled("+("string"===typeof f?f:f.displayName||f.name||"Component")+")",x.defaultProps=e.defaultProps,x.__emotion_real=x,x.__emotion_base=f,x.__emotion_styles=g,x.__emotion_forwardProp=h,Object.defineProperty(x,"toString",{value:function(){return"."+o}}),x.withComponent=function(e,n){return t(e,Object(s.a)({},r,n,{shouldForwardProp:p(x,n,!0)})).apply(void 0,g)},x}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){m[t]=m(t)}));var b=m;function v(t,e){return b(t,e)}},function(t,e,r){"use strict";var n=r(279),i=r(510),o=Object(i.a)(Object.keys,Object),a=Object.prototype.hasOwnProperty;e.a=function(t){if(!Object(n.a)(t))return o(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},function(t,e,r){"use strict";var n=r(160),i=r(153);var o=function(t){return Object(i.a)(t)&&"[object Arguments]"==Object(n.a)(t)},a=Object.prototype,s=a.hasOwnProperty,c=a.propertyIsEnumerable,u=o(function(){return arguments}())?o:function(t){return Object(i.a)(t)&&s.call(t,"callee")&&!c.call(t,"callee")};e.a=u},function(t,e,r){"use strict";var n=r(160),i=r(511),o=r(153),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(t){return Object(o.a)(t)&&Object(i.a)(t.length)&&!!a[Object(n.a)(t)]},c=r(362),u=r(255),l=u.a&&u.a.isTypedArray,f=l?Object(c.a)(l):s;e.a=f},function(t,e,r){"use strict";r.d(e,"b",(function(){return b})),r.d(e,"c",(function(){return v})),r.d(e,"a",(function(){return g}));var n=r(45),i=r(46),o=r(95),a=r(96),s=r(648),c=r(649),u=r.n(c),l="",f="",h="",d="",p="",m='<div><canvas id="canv"></canvas><div><a id="reload_href"  style="cursor: pointer; color: blue">Reload Captcha</a></div></div>',b=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"white",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"black",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";h=r,d=n,p=i,f=e;var o="",a="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";"upper"===i?a="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789":"lower"===i?a="abcdefghijklmnopqrstuvwxyz0123456789":"numbers"===i?a="0123456789":"special_char"===i&&(a="~`!@#$%^&*()_+-=[]{}|:'<>,.?/");for(var s=parseInt(e),c=0,u=a.length;c<s;++c)o+=a.charAt(Math.floor(Math.random()*u));var m=o;l=m;var b=Math.round(parseInt(s)/3),v=document.getElementById("canv"),g=v.getContext("2d"),y=(document.getElementById("image"),m),w=30,x=(parseInt(s),parseInt(b),y.split("\n"));x.slice(0).sort((function(t,e){return e.length-t.length}));g.canvas.width=25*parseInt(s),g.canvas.height=x.length*w,g.fillStyle=r,g.fillRect(0,0,v.width,v.height),g.textBaseline="middle",g.font="italic 20px Arial",g.fillStyle=n;for(var O=0,_=0;_<parseInt(s);_++){var S=20*(O=parseInt(O)+1);g.fillText(o[_],S,Math.round(3*Math.random()+12))}document.getElementById("reload_href").onclick=function(){t(f,r,n,i)}},v=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t==l||(1==e&&b(f,h,d,p),!1)},g=function(t){Object(o.a)(r,t);var e=Object(a.a)(r);function r(){return Object(n.a)(this,r),e.apply(this,arguments)}return Object(i.a)(r,[{key:"render",value:function(){var t="",e="";return m='<div><canvas id="canv" style="background-color: blue;"></canvas><div><a id="reload_href"  style="cursor: pointer; color: blue">Reload Captcha</a></div></div>',this.props.reloadText&&(t=this.props.reloadText),this.props.reloadColor&&(e=this.props.reloadColor),""==t&&(t="Reload Captcha"),""==e&&(e="blue"),m='<div><canvas id="canv"></canvas><div><a id="reload_href"  style="cursor: pointer; color: '+e+'">'+t+"</a></div></div>",u()(m)}}]),r}(s.Component);s.Component},function(t,e,r){"use strict";function n(t){for(var e="https://mui.com/production-error/?code="+t,r=1;r<arguments.length;r+=1)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s(r(1286)),i=r(1291),o=s(r(804)),a=s(r(1294));function s(t){return t&&t.__esModule?t:{default:t}}var c=/((?:\-[a-z]+\-)?calc)/;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,n.default)(t).walk((function(t){if("function"===t.type&&c.test(t.value)){var r=n.default.stringify(t.nodes);if(!(r.indexOf("constant")>=0||r.indexOf("env")>=0)){var s=i.parser.parse(r),u=(0,o.default)(s,e);t.type="word",t.value=(0,a.default)(t.value,u,e)}}}),!0).toString()},t.exports=e.default},function(t,e,r){"use strict";r.d(e,"a",(function(){return F}));var n=r(44),i=r.n(n),o=r(0),a=r.n(o),s=r(55),c=r.n(s),u=r(80),l=r(291),f=r(208),h=r(17),d=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e},p=r(240),m=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]},b=r(42);function v(){return(v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){w(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t){var e=t.x,r=t.y,n=t.r,i=t.alwaysShow,o=t.clipPathId,s=Object(h.g)(e),l=Object(h.g)(r);if(m(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!l)return null;var v=function(t){var e=t.x,r=t.y,n=t.xAxis,i=t.yAxis,o=Object(p.a)({x:n.scale,y:i.scale}),a=o.apply({x:e,y:r},{bandAware:!0});return d(t,"discard")&&!o.isInRange(a)?null:a}(t);if(!v)return null;var g=v.x,w=v.y,O=t.shape,_=t.className,S=y(y({clipPath:d(t,"hidden")?"url(#".concat(o,")"):void 0},Object(b.c)(t,!0)),{},{cx:g,cy:w});return a.a.createElement(u.a,{className:c()("recharts-reference-dot",_)},x.renderDot(O,S),f.a.renderCallByParent(t,{x:g-n,y:w-n,width:2*n,height:2*n}))}x.displayName="ReferenceDot",x.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},x.renderDot=function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):i()(t)?t(e):a.a.createElement(l.a,v({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var O=r(862),_=r.n(O);function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){E(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function E(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return C(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function j(){return(j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function A(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxis,s=t.yAxis,l=t.shape,v=t.className,g=t.alwaysShow,y=t.clipPathId;m(void 0===g,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var w=function(t,e,r,n,i){var o=i.viewBox,a=o.x,s=o.y,c=o.width,u=o.height,l=i.position;if(r){var f=i.y,h=i.yAxis.orientation,p=t.y.apply(f,{position:l});if(d(i,"discard")&&!t.y.isInRange(p))return null;var m=[{x:a+c,y:p},{x:a,y:p}];return"left"===h?m.reverse():m}if(e){var b=i.x,v=i.xAxis.orientation,g=t.x.apply(b,{position:l});if(d(i,"discard")&&!t.x.isInRange(g))return null;var y=[{x:g,y:s+u},{x:g,y:s}];return"top"===v?y.reverse():y}if(n){var w=i.segment.map((function(e){return t.apply(e,{position:l})}));return d(i,"discard")&&_()(w,(function(e){return!t.isInRange(e)}))?null:w}return null}(Object(p.a)({x:o.scale,y:s.scale}),Object(h.g)(e),Object(h.g)(r),n&&2===n.length,t);if(!w)return null;var x=M(w,2),O=x[0],S=O.x,E=O.y,C=x[1],A=C.x,T=C.y,P=k(k({clipPath:d(t,"hidden")?"url(#".concat(y,")"):void 0},Object(b.c)(t,!0)),{},{x1:S,y1:E,x2:A,y2:T});return a.a.createElement(u.a,{className:c()("recharts-reference-line",v)},function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):i()(t)?t(e):a.a.createElement("line",j({},e,{className:"recharts-reference-line-line"}))}(l,P),f.a.renderCallByParent(t,Object(p.c)({x1:S,y1:E,x2:A,y2:T})))}A.displayName="ReferenceLine",A.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};var T=r(336);function P(){return(P=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach((function(e){L(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function L(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function I(t){var e=t.x1,r=t.x2,n=t.y1,i=t.y2,o=t.className,s=t.alwaysShow,l=t.clipPathId;m(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var v=Object(h.g)(e),g=Object(h.g)(r),y=Object(h.g)(n),w=Object(h.g)(i),x=t.shape;if(!v&&!g&&!y&&!w&&!x)return null;var O=function(t,e,r,n,i){var o=i.x1,a=i.x2,s=i.y1,c=i.y2,u=i.xAxis,l=i.yAxis;if(!u||!l)return null;var f=Object(p.a)({x:u.scale,y:l.scale}),h={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(s,{position:"start"}):f.y.rangeMin},m={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!d(i,"discard")||f.isInRange(h)&&f.isInRange(m)?Object(p.d)(h,m):null}(v,g,y,w,t);if(!O&&!x)return null;var _=d(t,"hidden")?"url(#".concat(l,")"):void 0;return a.a.createElement(u.a,{className:c()("recharts-reference-area",o)},I.renderRect(x,R(R({clipPath:_},Object(b.c)(t,!0)),O)),f.a.renderCallByParent(t,O))}I.displayName="ReferenceArea",I.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},I.renderRect=function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):i()(t)?t(e):a.a.createElement(T.a,P({},e,{className:"recharts-reference-area-rect"}))};var N=r(74),F=function(t,e,r,n,i){var o=Object(N.a)(t,A.displayName),a=Object(N.a)(t,x.displayName),s=o.concat(a),c=Object(N.a)(t,I.displayName),u="".concat(n,"Id"),l=n[0],f=e;if(s.length&&(f=s.reduce((function(t,e){if(e.props[u]===r&&d(e.props,"extendDomain")&&Object(h.h)(e.props[l])){var n=e.props[l];return[Math.min(t[0],n),Math.max(t[1],n)]}return t}),f)),c.length){var p="".concat(l,"1"),m="".concat(l,"2");f=c.reduce((function(t,e){if(e.props[u]===r&&d(e.props,"extendDomain")&&Object(h.h)(e.props[p])&&Object(h.h)(e.props[m])){var n=e.props[p],i=e.props[m];return[Math.min(t[0],n,i),Math.max(t[1],n,i)]}return t}),f)}return i&&i.length&&(f=i.reduce((function(t,e){return Object(h.h)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f}},function(t,e,r){"use strict";r.d(e,"a",(function(){return D}));var n=r(44),i=r.n(n),o=r(380),a=r.n(o),s=r(0),c=r.n(s),u=r(55),l=r.n(u),f=r(625),h=r(80),d=r(335),p=r(37),m=r(17);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){g(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function g(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var y=["Webkit","Moz","O","ms"],w=r(42);function x(t){return(x="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(){return(O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function S(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=T(t);if(e){var i=T(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return j(this,r)}}function j(t,e){return!e||"object"!==x(e)&&"function"!==typeof e?A(t):e}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var P=function(t){return t.changedTouches&&!!t.changedTouches.length},D=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(u,t);var e,r,n,o=C(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=o.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var r=P(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(A(e),"startX"),endX:e.handleTravellerDragStart.bind(A(e),"endX")},e.state={},e}return e=u,n=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,i=t.height,o=t.stroke,a=Math.floor(r+i/2)-1;return c.a.createElement(c.a.Fragment,null,c.a.createElement("rect",{x:e,y:r,width:n,height:i,fill:o,stroke:"none"}),c.a.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),c.a.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return c.a.isValidElement(t)?c.a.cloneElement(t,e):i()(t)?t(e):u.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,i=t.x,o=t.travellerWidth,s=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||s!==e.prevUpdateId)return S({prevData:r,prevTravellerWidth:o,prevUpdateId:s,prevX:i,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,i=t.x,o=t.width,s=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=Object(f.b)().domain(a()(0,c)).range([i,i+o-s]),l=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+n-o]);var l=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:s,prevX:i,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var i=Math.floor((r+n)/2);t[i]>e?n=i:r=i}return e>=t[n]?n:r}}],(r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,r=t.endX,n=this.state.scaleValues,i=this.props,o=i.gap,a=i.data.length-1,s=Math.min(e,r),c=Math.max(e,r),l=u.getIndexInRange(n,s),f=u.getIndexInRange(n,c);return{startIndex:l-l%o,endIndex:f===a?a:f-f%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,a=Object(p.w)(r[t],o,t);return i()(n)?n(a,t):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,i=e.endX,o=this.props,a=o.x,s=o.width,c=o.travellerWidth,u=o.startIndex,l=o.endIndex,f=o.onChange,h=t.pageX-r;h>0?h=Math.min(h,a+s-c-i,a+s-c-n):h<0&&(h=Math.max(h,a-n,a-i));var d=this.getIndex({startX:n+h,endX:i+h});d.startIndex===u&&d.endIndex===l||!f||f(d),this.setState({startX:n+h,endX:i+h,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=P(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,r=this.state,n=r.brushMoveStartX,i=r.movingTravellerId,o=r.endX,a=r.startX,s=this.state[i],c=this.props,u=c.x,l=c.width,f=c.travellerWidth,h=c.onChange,d=c.gap,p=c.data,m={startX:this.state.startX,endX:this.state.endX},b=t.pageX-n;b>0?b=Math.min(b,u+l-f-s):b<0&&(b=Math.max(b,u-s)),m[i]=s+b;var v=this.getIndex(m),g=v.startIndex,y=v.endIndex;this.setState((k(e={},i,s+b),k(e,"brushMoveStartX",t.pageX),e),(function(){h&&function(){var t=p.length-1;return"startX"===i&&(o>a?g%d===0:y%d===0)||o<a&&y===t||"endX"===i&&(o>a?y%d===0:g%d===0)||o>a&&y===t}()&&h(v)}))}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.fill,a=t.stroke;return c.a.createElement("rect",{stroke:a,fill:o,x:e,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,i=t.height,o=t.data,a=t.children,u=t.padding,l=s.Children.only(a);return l?c.a.cloneElement(l,{x:e,y:r,width:n,height:i,margin:u,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(t,e){var r=this.props,n=r.y,i=r.travellerWidth,o=r.height,a=r.traveller,s=Math.max(t,this.props.x),l=S(S({},Object(w.c)(this.props)),{},{x:s,y:n,width:i,height:o});return c.a.createElement(h.a,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},u.renderTraveller(a,l))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,s=Math.min(t,e)+a,u=Math.max(Math.abs(e-t)-a,0);return c.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:s,y:n,width:u,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,i=t.height,o=t.travellerWidth,a=t.stroke,s=this.state,u=s.startX,l=s.endX,f={pointerEvents:"none",fill:a};return c.a.createElement(h.a,{className:"recharts-brush-texts"},c.a.createElement(d.a,O({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,l)-5,y:n+i/2},f),this.getTextOfTick(e)),c.a.createElement(d.a,O({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,l)+o+5,y:n+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,i=t.x,o=t.y,a=t.width,s=t.height,u=t.alwaysShowText,f=this.state,d=f.startX,p=f.endX,b=f.isTextActive,w=f.isSlideMoving,x=f.isTravellerMoving;if(!e||!e.length||!Object(m.h)(i)||!Object(m.h)(o)||!Object(m.h)(a)||!Object(m.h)(s)||a<=0||s<=0)return null;var O=l()("recharts-brush",r),_=1===c.a.Children.count(n),S=function(t,e){if(!t)return null;var r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),n=y.reduce((function(t,n){return v(v({},t),{},g({},n+r,e))}),{});return n[t]=e,n}("userSelect","none");return c.a.createElement(h.a,{className:O,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:S},this.renderBackground(),_&&this.renderPanorama(),this.renderSlide(d,p),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(p,"endX"),(b||w||x||u)&&this.renderText())}}])&&E(e.prototype,r),n&&E(e,n),u}(s.PureComponent);D.displayName="Brush",D.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(235),u=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.component,f=void 0===l?"ul":l,h=t.dense,d=void 0!==h&&h,p=t.disablePadding,m=void 0!==p&&p,b=t.subheader,v=Object(i.a)(t,["children","classes","className","component","dense","disablePadding","subheader"]),g=o.useMemo((function(){return{dense:d}}),[d]);return o.createElement(c.a.Provider,{value:g},o.createElement(f,Object(n.a)({className:Object(a.a)(s.root,u,d&&s.dense,!m&&s.padding,b&&s.subheader),ref:e},v),b,r))}));e.a=Object(s.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(u)},function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o}));var n=r(2);function i(t){return null!==t&&"object"===typeof t&&t.constructor===Object}function o(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=r.clone?Object(n.a)({},t):t;return i(t)&&i(e)&&Object.keys(e).forEach((function(n){"__proto__"!==n&&(i(e[n])&&n in t&&i(t[n])?a[n]=o(t[n],e[n],r):a[n]=e[n])})),a}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(235),u=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=Object(i.a)(t,["classes","className"]),l=o.useContext(c.a);return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,s,"flex-start"===l.alignItems&&r.alignItemsFlexStart),ref:e},u))}));e.a=Object(s.a)((function(t){return{root:{minWidth:56,color:t.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(178),u=r(235),l=o.forwardRef((function(t,e){var r=t.children,s=t.classes,l=t.className,f=t.disableTypography,h=void 0!==f&&f,d=t.inset,p=void 0!==d&&d,m=t.primary,b=t.primaryTypographyProps,v=t.secondary,g=t.secondaryTypographyProps,y=Object(i.a)(t,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),w=o.useContext(u.a).dense,x=null!=m?m:r;null==x||x.type===c.a||h||(x=o.createElement(c.a,Object(n.a)({variant:w?"body2":"body1",className:s.primary,component:"span",display:"block"},b),x));var O=v;return null==O||O.type===c.a||h||(O=o.createElement(c.a,Object(n.a)({variant:"body2",className:s.secondary,color:"textSecondary",display:"block"},g),O)),o.createElement("div",Object(n.a)({className:Object(a.a)(s.root,l,w&&s.dense,p&&s.inset,x&&O&&s.multiline),ref:e},y),x,O)}));e.a=Object(s.a)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(l)},function(t,e,r){"use strict";function n(t,e){return function(){return null}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n,i,o=r(2),a=r(14),s=r(0),c=(r(10),r(8)),u=r(558),l=r(646),f=r(222),h=r(170),d=r(49),p=r(6),m=Object(d.a)(Object(p.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),b=r(1467),v=r(434),g=r(1468),y=r(1454),w=r(22),x=r(72),O=["autoWidth","children","classes","className","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],_=s.forwardRef((function(t,e){var r=Object(w.a)({name:"MuiSelect",props:t}),d=r.autoWidth,_=void 0!==d&&d,S=r.children,k=r.classes,E=void 0===k?{}:k,M=r.className,C=r.displayEmpty,j=void 0!==C&&C,A=r.IconComponent,T=void 0===A?m:A,P=r.id,D=r.input,R=r.inputProps,L=r.label,I=r.labelId,N=r.MenuProps,F=r.multiple,B=void 0!==F&&F,z=r.native,H=void 0!==z&&z,U=r.onClose,W=r.onOpen,q=r.open,V=r.renderValue,G=r.SelectDisplayProps,Y=r.variant,X=void 0===Y?"outlined":Y,$=Object(a.a)(r,O),K=H?v.a:l.a,Z=Object(h.a)(),J=Object(f.a)({props:r,muiFormControl:Z,states:["variant"]}).variant||X,Q=D||{standard:n||(n=Object(p.jsx)(b.a,{})),outlined:Object(p.jsx)(y.a,{label:L}),filled:i||(i=Object(p.jsx)(g.a,{}))}[J],tt=function(t){return t.classes}(Object(o.a)({},r,{classes:E})),et=Object(x.a)(e,Q.ref);return s.cloneElement(Q,Object(o.a)({inputComponent:K,inputProps:Object(o.a)({children:S,IconComponent:T,variant:J,type:void 0,multiple:B},H?{id:P}:{autoWidth:_,displayEmpty:j,labelId:I,MenuProps:N,onClose:U,onOpen:W,open:q,renderValue:V,SelectDisplayProps:Object(o.a)({id:P},G)},R,{classes:R?Object(u.a)(tt,R.classes):tt},D?D.props.inputProps:{})},B&&H&&"outlined"===J?{notched:!0}:{},{ref:et,className:Object(c.a)(Q.props.className,M)},$))}));_.muiName="Select";e.a=_},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(399),r(10),r(155)),s=r(1461),c=r(1413).a,u=r(72),l=r(156),f=r(6),h=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function d(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function p(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function m(t,e){if(void 0===e)return!0;var r=t.innerText;return void 0===r&&(r=t.textContent),0!==(r=r.trim().toLowerCase()).length&&(e.repeating?r[0]===e.keys[0]:0===r.indexOf(e.keys.join("")))}function b(t,e,r,n,i,o){for(var a=!1,s=i(t,e,!!e&&r);s;){if(s===t.firstChild){if(a)return!1;a=!0}var c=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&m(s,o)&&!c)return s.focus(),!0;s=i(t,s,r)}return!1}var v=o.forwardRef((function(t,e){var r=t.actions,v=t.autoFocus,g=void 0!==v&&v,y=t.autoFocusItem,w=void 0!==y&&y,x=t.children,O=t.className,_=t.disabledItemsFocusable,S=void 0!==_&&_,k=t.disableListWrap,E=void 0!==k&&k,M=t.onKeyDown,C=t.variant,j=void 0===C?"selectedMenu":C,A=Object(i.a)(t,h),T=o.useRef(null),P=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Object(l.a)((function(){g&&T.current.focus()}),[g]),o.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(t,e){var r=!T.current.style.width;if(t.clientHeight<T.current.clientHeight&&r){var n="".concat(c(Object(a.a)(t)),"px");T.current.style["rtl"===e.direction?"paddingLeft":"paddingRight"]=n,T.current.style.width="calc(100% + ".concat(n,")")}return T.current}}}),[]);var D=Object(u.a)(T,e),R=-1;o.Children.forEach(x,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===j&&t.props.selected||-1===R)&&(R=e))}));var L=o.Children.map(x,(function(t,e){if(e===R){var r={};return w&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===j&&(r.tabIndex=0),o.cloneElement(t,r)}return t}));return Object(f.jsx)(s.a,Object(n.a)({role:"menu",ref:D,className:O,onKeyDown:function(t){var e=T.current,r=t.key,n=Object(a.a)(e).activeElement;if("ArrowDown"===r)t.preventDefault(),b(e,n,E,S,d);else if("ArrowUp"===r)t.preventDefault(),b(e,n,E,S,p);else if("Home"===r)t.preventDefault(),b(e,null,E,S,d);else if("End"===r)t.preventDefault(),b(e,null,E,S,p);else if(1===r.length){var i=P.current,o=r.toLowerCase(),s=performance.now();i.keys.length>0&&(s-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=s,i.keys.push(o);var c=n&&!i.repeating&&m(n,i);i.previousKeyMatched&&(c||b(e,n,!1,S,d,i))?t.preventDefault():i.previousKeyMatched=!1}M&&M(t)},tabIndex:g?0:-1},A,{children:L}))}));e.a=v},,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(68),i=r(344),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!i(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},function(t,e,r){var n=r(943),i=r(959),o=r(961),a=r(962),s=r(963);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e){t.exports=function(t,e){return t===e||t!==t&&e!==e}},function(t,e,r){var n=r(312)(r(214),"Map");t.exports=n},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},function(t,e,r){var n=r(965),i=r(264),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,r){var n=r(966),i=r(472);t.exports=function(t,e){return t&&n(t,e,i)}},function(t,e,r){var n=r(984),i=r(264);t.exports=function t(e,r,o,a,s){return e===r||(null==e||null==r||!i(e)&&!i(r)?e!==e&&r!==r:n(e,r,o,a,t,s))}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},function(t,e,r){var n=r(686),i=r(471);t.exports=function(t,e){for(var r=0,o=(e=n(e,t)).length;null!=t&&r<o;)t=t[i(e[r++])];return r&&r==o?t:void 0}},function(t,e,r){var n=r(1022),i=r(1127);e.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],e.sign=n.sign,e.verify=i.verify,e.decode=i.decode,e.isValid=i.isValid,e.createSign=function(t){return new n(t)},e.createVerify=function(t){return new i(t)}},function(t,e,r){(e=t.exports=r(708)).Stream=e,e.Readable=e,e.Writable=r(597),e.Duplex=r(313),e.Transform=r(711),e.PassThrough=r(1029)},function(t,e,r){"use strict";(function(e,n,i){var o=r(474);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=g;var s,c=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?n:o.nextTick;g.WritableState=v;var u=Object.create(r(393));u.inherits=r(53);var l={deprecate:r(599)},f=r(709),h=r(71).Buffer,d=i.Uint8Array||function(){};var p,m=r(710);function b(){}function v(t,e){s=s||r(313),t=t||{};var n=e instanceof s;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,u=t.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(o.nextTick(i,n),o.nextTick(S,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),S(t,e))}(t,r,n,e,i);else{var a=O(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||x(t,r),n?c(w,t,r,a,i):w(t,r,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||r(313),!p.call(g,this)&&!(this instanceof s))return new g(t);this._writableState=new v(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function y(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function w(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),S(t,e)}function x(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)i[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;i.allBuffers=c,y(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(y(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function O(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function _(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),S(t,e)}))}function S(t,e){var r=O(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,o.nextTick(_,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}u.inherits(g,f),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(t){return!!p.call(this,t)||this===g&&(t&&t._writableState instanceof v)}})):p=function(t){return t instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(t,e,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=t,h.isBuffer(n)||n instanceof d);return s&&!h.isBuffer(t)&&(t=function(t){return h.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=i.defaultEncoding),"function"!==typeof r&&(r=b),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),o.nextTick(e,r)}(this,r):(s||function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,t,r))&&(i.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=h.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var c=e.length<e.highWaterMark;c||(e.needDrain=!0);if(e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else y(t,e,!1,s,n,i,o);return c}(this,i,s,t,e,r)),a},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||x(this,t))},g.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(t,e,r){var n=this._writableState;"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,S(t,e),r&&(e.finished?o.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(112),r(598).setImmediate,r(120))},function(t,e,r){(function(t){var n="undefined"!==typeof t&&t||"undefined"!==typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,n,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,n,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(n,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r(1028),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(this,r(120))},function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(n){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(120))},function(t,e,r){"use strict";var n=r(53),i=r(713),o=r(71).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(t,e){return t<<e|t>>>32-e}function u(t,e,r,n,i,o,a){return c(t+(e&r|~e&n)+i+o|0,a)+e|0}function l(t,e,r,n,i,o,a){return c(t+(e&n|r&~n)+i+o|0,a)+e|0}function f(t,e,r,n,i,o,a){return c(t+(e^r^n)+i+o|0,a)+e|0}function h(t,e,r,n,i,o,a){return c(t+(r^(e|~n))+i+o|0,a)+e|0}n(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,t[0],3614090360,7),o=u(o,r,n,i,t[1],3905402710,12),i=u(i,o,r,n,t[2],606105819,17),n=u(n,i,o,r,t[3],3250441966,22),r=u(r,n,i,o,t[4],4118548399,7),o=u(o,r,n,i,t[5],1200080426,12),i=u(i,o,r,n,t[6],2821735955,17),n=u(n,i,o,r,t[7],4249261313,22),r=u(r,n,i,o,t[8],1770035416,7),o=u(o,r,n,i,t[9],2336552879,12),i=u(i,o,r,n,t[10],4294925233,17),n=u(n,i,o,r,t[11],2304563134,22),r=u(r,n,i,o,t[12],1804603682,7),o=u(o,r,n,i,t[13],4254626195,12),i=u(i,o,r,n,t[14],2792965006,17),r=l(r,n=u(n,i,o,r,t[15],1236535329,22),i,o,t[1],4129170786,5),o=l(o,r,n,i,t[6],3225465664,9),i=l(i,o,r,n,t[11],643717713,14),n=l(n,i,o,r,t[0],3921069994,20),r=l(r,n,i,o,t[5],3593408605,5),o=l(o,r,n,i,t[10],38016083,9),i=l(i,o,r,n,t[15],3634488961,14),n=l(n,i,o,r,t[4],3889429448,20),r=l(r,n,i,o,t[9],568446438,5),o=l(o,r,n,i,t[14],3275163606,9),i=l(i,o,r,n,t[3],4107603335,14),n=l(n,i,o,r,t[8],1163531501,20),r=l(r,n,i,o,t[13],2850285829,5),o=l(o,r,n,i,t[2],4243563512,9),i=l(i,o,r,n,t[7],1735328473,14),r=f(r,n=l(n,i,o,r,t[12],2368359562,20),i,o,t[5],4294588738,4),o=f(o,r,n,i,t[8],2272392833,11),i=f(i,o,r,n,t[11],1839030562,16),n=f(n,i,o,r,t[14],4259657740,23),r=f(r,n,i,o,t[1],2763975236,4),o=f(o,r,n,i,t[4],1272893353,11),i=f(i,o,r,n,t[7],4139469664,16),n=f(n,i,o,r,t[10],3200236656,23),r=f(r,n,i,o,t[13],681279174,4),o=f(o,r,n,i,t[0],3936430074,11),i=f(i,o,r,n,t[3],3572445317,16),n=f(n,i,o,r,t[6],76029189,23),r=f(r,n,i,o,t[9],3654602809,4),o=f(o,r,n,i,t[12],3873151461,11),i=f(i,o,r,n,t[15],530742520,16),r=h(r,n=f(n,i,o,r,t[2],3299628645,23),i,o,t[0],4096336452,6),o=h(o,r,n,i,t[7],1126891415,10),i=h(i,o,r,n,t[14],2878612391,15),n=h(n,i,o,r,t[5],4237533241,21),r=h(r,n,i,o,t[12],1700485571,6),o=h(o,r,n,i,t[3],2399980690,10),i=h(i,o,r,n,t[10],4293915773,15),n=h(n,i,o,r,t[1],2240044497,21),r=h(r,n,i,o,t[8],1873313359,6),o=h(o,r,n,i,t[15],4264355552,10),i=h(i,o,r,n,t[6],2734768916,15),n=h(n,i,o,r,t[13],1309151649,21),r=h(r,n,i,o,t[4],4149444226,6),o=h(o,r,n,i,t[11],3174756917,10),i=h(i,o,r,n,t[2],718787259,15),n=h(n,i,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},function(t,e,r){"use strict";var n=r(347).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"===typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,c=function(){e.writable||l()},u=e._writableState&&e._writableState.finished,l=function(){s=!1,u=!0,a||o.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!f?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!u?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return!function(t){return t.setHeader&&"function"===typeof t.abort}(e)?s&&!e._writableState&&(e.on("end",c),e.on("close",c)):(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)),e.on("end",h),e.on("finish",l),!1!==r.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("end",h),e.removeListener("error",d),e.removeListener("close",p)}}},function(t,e,r){"use strict";var n=r(121).Buffer,i=r(53),o=r(713),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,r,n,i,o,a,s){return p(t+(e^r^n)+o+a|0,s)+i|0}function b(t,e,r,n,i,o,a,s){return p(t+(e&r|~e&n)+o+a|0,s)+i|0}function v(t,e,r,n,i,o,a,s){return p(t+((e|~r)^n)+o+a|0,s)+i|0}function g(t,e,r,n,i,o,a,s){return p(t+(e&n|r&~n)+o+a|0,s)+i|0}function y(t,e,r,n,i,o,a,s){return p(t+(e^(r|~n))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,w=0|this._a,x=0|this._b,O=0|this._c,_=0|this._d,S=0|this._e,k=0;k<80;k+=1){var E,M;k<16?(E=m(r,n,i,o,d,t[s[k]],f[0],u[k]),M=y(w,x,O,_,S,t[c[k]],h[0],l[k])):k<32?(E=b(r,n,i,o,d,t[s[k]],f[1],u[k]),M=g(w,x,O,_,S,t[c[k]],h[1],l[k])):k<48?(E=v(r,n,i,o,d,t[s[k]],f[2],u[k]),M=v(w,x,O,_,S,t[c[k]],h[2],l[k])):k<64?(E=g(r,n,i,o,d,t[s[k]],f[3],u[k]),M=b(w,x,O,_,S,t[c[k]],h[3],l[k])):(E=y(r,n,i,o,d,t[s[k]],f[4],u[k]),M=m(w,x,O,_,S,t[c[k]],h[4],l[k])),r=d,d=o,o=p(i,10),i=n,n=E,w=S,S=_,_=p(O,10),O=x,x=M}var C=this._b+i+_|0;this._b=this._c+o+S|0,this._c=this._d+d+w|0,this._d=this._e+r+x|0,this._e=this._a+n+O|0,this._a=C},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=d},function(t,e,r){(e=t.exports=function(t){t=t.toLowerCase();var r=e[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r}).sha=r(1047),e.sha1=r(1048),e.sha224=r(1049),e.sha256=r(720),e.sha384=r(1050),e.sha512=r(721)},function(t,e,r){"use strict";var n=r(190);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var r=Math.min(this.buffer.length-this.bufferOff,t.length-e),n=0;n<r;n++)this.buffer[this.bufferOff+n]=t[e+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,r=0,n=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,r),r+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,r=0,n=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)e+=this._buffer(t,e),r+=this._flushBuffer(i,r);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},function(t,e,r){var n=r(1059),i=r(1067),o=r(734);e.createCipher=e.Cipher=n.createCipher,e.createCipheriv=e.Cipheriv=n.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},function(t,e,r){var n={ECB:r(1060),CBC:r(1061),CFB:r(1062),CFB8:r(1063),CFB1:r(1064),OFB:r(1065),CTR:r(732),GCM:r(732)},i=r(734);for(var o in i)i[o].module=n[i[o].mode];t.exports=i},function(t,e,r){var n;function i(t){this.rand=t}if(t.exports=function(t){return n||(n=new i(null)),n.generate(t)},t.exports.Rand=i,i.prototype.generate=function(t){return this._rand(t)},i.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r<e.length;r++)e[r]=this.rand.getByte();return e},"object"===typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=r(1073);if("function"!==typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(t){return o.randomBytes(t)}}catch(a){}},function(t,e,r){var n=r(121),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";var n=r(350).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"===typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,c=function(){e.writable||l()},u=e._writableState&&e._writableState.finished,l=function(){s=!1,u=!0,a||o.call(e)},f=e._readableState&&e._readableState.endEmitted,h=function(){a=!1,f=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!f?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!u?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return!function(t){return t.setHeader&&"function"===typeof t.abort}(e)?s&&!e._writableState&&(e.on("end",c),e.on("close",c)):(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)),e.on("end",h),e.on("finish",l),!1!==r.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",l),e.removeListener("end",h),e.removeListener("error",d),e.removeListener("close",p)}}},function(t,e,r){(function(e){var n=r(611),i=r(346);function o(t){var e,r=t.modulus.byteLength();do{e=new n(i(r))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function a(t,r){var i=function(t){var e=o(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(r),a=r.modulus.byteLength(),s=new n(t).mul(i.blinder).umod(r.modulus),c=s.toRed(n.mont(r.prime1)),u=s.toRed(n.mont(r.prime2)),l=r.coefficient,f=r.prime1,h=r.prime2,d=c.redPow(r.exponent1).fromRed(),p=u.redPow(r.exponent2).fromRed(),m=d.isub(p).imul(l).umod(f).imul(h);return p.iadd(m).imul(i.unblinder).umod(r.modulus).toArrayLike(e,"be",a)}a.getr=o,t.exports=a}).call(this,r(121).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1086).Buffer}catch(C){}function s(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),c=e;c<s;c++){var u=t.charCodeAt(c)-48;o*=i,a=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&a<i,"Invalid character"),o+=a}return o}function l(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this._strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype._move=function(t){l(t,this)},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(C){o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?h[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=d[t],l=p[t];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(l).toString(t);r=(f=f.idivn(l)).isZero()?m+r:h[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r++]=255&a,r<t.length&&(t[r++]=a>>8&255),r<t.length&&(t[r++]=a>>16&255),6===o?(r<t.length&&(t[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},o.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r--]=255&a,r>=0&&(t[r--]=a>>8&255),r>=0&&(t[r--]=a>>16&255),6===o?(r>=0&&(t[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this._strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this._strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var b=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function v(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function g(t,e,r){return v(t,e,r)}function y(t,e){this.x=t,this.y=e}Math.imul||(b=m),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?b(this,t,e):r<63?m(this,t,e):r<1024?v(this,t,e):g(this,t,e)},y.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},y.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},y.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},y.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},y.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},y.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},y.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},y.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},y.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},y.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),g(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"===typeof t),n(t<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=t.words[n]>>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new E(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function x(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function O(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function M(t){E.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(t,e){t.iushrn(this.n,0,e)},x.prototype.imulK=function(t){return t.imul(this.k)},i(O,x),O.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},O.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(_,x),i(S,x),i(k,x),k.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new O;else if("p224"===t)e=new _;else if("p192"===t)e=new S;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return w[t]=e,e},E.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},E.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},E.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(l(t,t.umod(this.m)._forceRed(this)),t)},E.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},E.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},E.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},E.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},E.prototype.isqr=function(t){return this.imul(t,t.clone())},E.prototype.sqr=function(t){return this.mul(t,t)},E.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},E.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},E.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},E.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},E.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new M(t)},i(M,E),M.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},M.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},M.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},M.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";var n=e;n.version=r(1087).version,n.utils=r(191),n.rand=r(607),n.curve=r(747),n.curves=r(613),n.ec=r(1099),n.eddsa=r(1103)},function(t,e,r){"use strict";var n,i=e,o=r(614),a=r(747),s=r(191).assert;function c(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new c(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(1098)}catch(l){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(t,e,r){var n=e;n.utils=r(215),n.common=r(396),n.sha=r(1092),n.ripemd=r(1096),n.hmac=r(1097),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(t,e,r){"use strict";(function(e){var n,i=r(121),o=i.Buffer,a={};for(n in i)i.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(a[n]=i[n]);var s=a.Buffer={};for(n in o)o.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(s[n]=o[n]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(t,e,r){if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&"undefined"===typeof t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return o(t,e,r)}),s.alloc||(s.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=o(t);return e&&0!==e.length?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n}),!a.kStringMaxLength)try{a.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(c){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),t.exports=a}).call(this,r(112))},function(t,e,r){"use strict";var n=r(617).Reporter,i=r(397).EncoderBuffer,o=r(397).DecoderBuffer,a=r(190),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(t,e,r){var n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=u;var l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var t=this._baseState,e={};l.forEach((function(r){e[r]=t[r]}));var r=new this.constructor(e.parent);return r._baseState=e,r},u.prototype._wrap=function(){var t=this._baseState;c.forEach((function(e){this[e]=function(){var r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},u.prototype._init=function(t){var e=this._baseState;a(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),a.equal(e.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(t){var e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(a(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(a(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);var n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){u.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),s.forEach((function(t){u.prototype[t]=function(){var e=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===e.tag),e.tag=t,this._useArgs(r),this}})),u.prototype.use=function(t){a(t);var e=this._baseState;return a(null===e.use),e.use=t,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(t){var e=this._baseState;return a(null===e.default),e.default=t,e.optional=!0,this},u.prototype.explicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.explicit=t,this},u.prototype.implicit=function(t){var e=this._baseState;return a(null===e.explicit&&null===e.implicit),e.implicit=t,this},u.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},u.prototype.key=function(t){var e=this._baseState;return a(null===e.key),e.key=t,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(t){var e=this._baseState;return a(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},u.prototype.contains=function(t){var e=this._baseState;return a(null===e.use),e.contains=t,this},u.prototype._decode=function(t,e){var r=this._baseState;if(null===r.parent)return t.wrapResult(r.children[0]._decode(t,e));var n,i=r.default,a=!0,s=null;if(null!==r.key&&(s=t.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(a=this._peekTag(t,c,r.any),t.isError(a))return a}else{var u=t.save();try{null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e),a=!0}catch(m){a=!1}t.restore(u)}}if(r.obj&&a&&(n=t.enterObject()),a){if(null!==r.explicit){var l=this._decodeTag(t,r.explicit);if(t.isError(l))return l;t=l}var f=t.offset;if(null===r.use&&null===r.choice){var h;r.any&&(h=t.save());var d=this._decodeTag(t,null!==r.implicit?r.implicit:r.tag,r.any);if(t.isError(d))return d;r.any?i=t.raw(h):t=d}if(e&&e.track&&null!==r.tag&&e.track(t.path(),f,t.length,"tagged"),e&&e.track&&null!==r.tag&&e.track(t.path(),t.offset,t.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(t,e)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new o(i);i=this._getUse(r.contains,t._reporterState.obj)._decode(p,e)}}return r.obj&&a&&(i=t.leaveObject(n)),null===r.key||null===i&&!0!==a?null!==s&&t.exitKey(s):t.leaveKey(s,r.key,i),i},u.prototype._decodeGeneric=function(t,e,r){var n=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,n.args[0],r):/str$/.test(t)?this._decodeStr(e,t,r):"objid"===t&&n.args?this._decodeObjid(e,n.args[0],n.args[1],r):"objid"===t?this._decodeObjid(e,null,null,r):"gentime"===t||"utctime"===t?this._decodeTime(e,t,r):"null_"===t?this._decodeNull(e,r):"bool"===t?this._decodeBool(e,r):"objDesc"===t?this._decodeStr(e,t,r):"int"===t||"enum"===t?this._decodeInt(e,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,e._reporterState.obj)._decode(e,r):e.error("unknown tag: "+t)},u.prototype._getUse=function(t,e){var r=this._baseState;return r.useDecoder=this._use(t,e),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(t,e){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=t.save(),s=r.choice[o];try{var c=s._decode(t,e);if(t.isError(c))return!1;n={type:o,value:c},i=!0}catch(u){return t.restore(a),!1}return!0}),this),i?n:t.error("Choice not matched")},u.prototype._createEncoderBuffer=function(t){return new i(t,this.reporter)},u.prototype._encode=function(t,e,r){var n=this._baseState;if(null===n.default||n.default!==t){var i=this._encodeValue(t,e,r);if(void 0!==i&&!this._skipDefault(i,e,r))return i}},u.prototype._encodeValue=function(t,e,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(t,e||new n);var o=null;if(this.reporter=e,i.optional&&void 0===t){if(null===i.default)return;t=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(t);else if(i.choice)o=this._encodeChoice(t,e);else if(i.contains)a=this._getUse(i.contains,r)._encode(t,e),s=!0;else if(i.children)a=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,e,t);if(null===r._baseState.key)return e.error("Child should have a key");var n=e.enterKey(r._baseState.key);if("object"!==typeof t)return e.error("Child expected, but input is not object");var i=r._encode(t[r._baseState.key],e,t);return e.leaveKey(n),i}),this).filter((function(t){return t})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return e.error("Too many args for : "+i.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,a=this._createEncoderBuffer(t.map((function(r){var n=this._baseState;return this._getUse(n.args[0],t)._encode(r,e)}),c))}else null!==i.use?o=this._getUse(i.use,r)._encode(t,e):(a=this._encodePrimitive(i.tag,t),s=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,l=null===i.implicit?"universal":"context";null===u?null===i.use&&e.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(u,s,l,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(t,e){var r=this._baseState,n=r.choice[t.type];return n||a(!1,t.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(t.value,e)},u.prototype._encodePrimitive=function(t,e){var r=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&r.args)return this._encodeObjid(e,r.reverseArgs[0],r.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,r.args&&r.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},u.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},u.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},function(t,e,r){"use strict";var n=r(53);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.Reporter=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,r){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,r=e.obj;return e.obj=t,r},i.prototype.error=function(t){var e,r=this._reporterState,n=t instanceof o;if(e=n?t:new o(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(t,e,r){"use strict";function n(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=n(e.tag)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1122).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.filter((function(t){return!(0,n.default)(t)})).map((function(t,r){var n=void 0;return"function"!==typeof e||null!==(n=e(t,r))&&!n?(0,i.default)(t,r,e):n}))};var n=o(r(1140)),i=o(r(766));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";t.exports=r(1176)},function(t,e,r){"use strict";function n(t){return function(){return null}}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t,e,r,n,i){return null}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(527),i=r(110);function o(t){return function e(r){function o(e,o){var a=t((e=Object(n.a)(e)).h,(o=Object(n.a)(o)).h),s=Object(i.a)(e.s,o.s),c=Object(i.a)(e.l,o.l),u=Object(i.a)(e.opacity,o.opacity);return function(t){return e.h=a(t),e.s=s(t),e.l=c(Math.pow(t,r)),e.opacity=u(t),e+""}}return r=+r,o.gamma=e,o}(1)}e.b=o(i.c);var a=o(i.a)},function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return u}));var n=r(3),i=r(635),o=r(87),a=r(405);function s(){var t,e,r=Object(a.a)().unknown(void 0),c=r.domain,u=r.range,l=0,f=1,h=!1,d=0,p=0,m=.5;function b(){var r=c().length,n=f<l,o=n?f:l,a=n?l:f;t=(a-o)/Math.max(1,r-d+2*p),h&&(t=Math.floor(t)),o+=(a-o-t*(r-d))*m,e=t*(1-d),h&&(o=Math.round(o),e=Math.round(e));var s=Object(i.a)(r).map((function(e){return o+t*e}));return u(n?s.reverse():s)}return delete r.unknown,r.domain=function(t){return arguments.length?(c(t),b()):c()},r.range=function(t){var e,r;return arguments.length?(e=t,r=Object(n.a)(e,2),l=r[0],f=r[1],l=+l,f=+f,b()):[l,f]},r.rangeRound=function(t){var e,r;return e=t,r=Object(n.a)(e,2),l=r[0],f=r[1],l=+l,f=+f,h=!0,b()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(h=!!t,b()):h},r.padding=function(t){return arguments.length?(d=Math.min(1,p=+t),b()):d},r.paddingInner=function(t){return arguments.length?(d=Math.min(1,t),b()):d},r.paddingOuter=function(t){return arguments.length?(p=+t,b()):p},r.align=function(t){return arguments.length?(m=Math.max(0,Math.min(1,t)),b()):m},r.copy=function(){return s(c(),[l,f]).round(h).paddingInner(d).paddingOuter(p).align(m)},o.b.apply(b(),arguments)}function c(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return c(e())},t}function u(){return c(s.apply(null,arguments).paddingInner(1))}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.sumArrayTill=function(t,e){return(0,o.default)((0,h.default)(t,e))},e.calculateSegmentStops=function(t){var e=t.tickData,r=t.customSegmentStops,n=t.min,i=t.max;if(!(0,s.default)(r)||(0,a.default)(r))return e;if((0,c.default)(r)!==n)throw new Error("First value should be equivalent to min value given. Current min value - ".concat(n));if((0,u.default)(r)!==i)throw new Error("Last value should be equivalent to max value given. Current min value - ".concat(i));var o=r.map((function(t,e){return 0===e?void 0:(t-r[e-1])/(i-n)}));return(0,l.default)(o)},e.calculateNeedleHeight=function(t){var e=t.heightRatio,r=t.radius;if(0>e||1<e)throw new Error("Invalid needleHeightRatio given - ".concat(e));return Math.round(r*e)},e.calculateSegmentLabelCount=function(t){var e=t.maxSegmentLabelCount,r=t.segmentCount,n=parseInt(e,10),o=parseInt(r,10);return(0,i.default)(n)&&0<=n&&n<=o?n:o},e.calculateScale=function(t){var e=t.min,r=t.max;t.segments;return(0,d.scaleLinear)().range([0,1]).domain([e,r])},e.calculateTicks=function(t,e){var r=e.min,n=e.max,i=e.segments,o=[];o=t.ticks(i),((0,u.default)(o)!==n||i<o.length)&&1<o.length&&(o=[r],(0,f.default)(i,(function(t){o.push(r+(t+1)*((n-r)/i))})));return 1===o.length&&(o=[r,n]),o},e.formatCurrentValueText=function(t,e){var r=e.labelFormat(t),n=e.currentValuePlaceholderStyle;return e.currentValueText.replace(n,r)},e.deg2rad=function(t){return t*Math.PI/180},e.centerTranslation=function(t,e,r){return"translate(".concat(t+e,", ").concat(t+r,")")},e.getRadius=function(t){return t.width/2};var i=n(r(1190)),o=n(r(1303)),a=n(r(791)),s=n(r(167)),c=n(r(1191)),u=n(r(1192)),l=n(r(1193)),f=n(r(1304)),h=n(r(1194)),d=r(353)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Transition=e.CustomSegmentLabelPosition=void 0;e.CustomSegmentLabelPosition={Inside:"INSIDE",Outside:"OUTSIDE"};e.Transition={easeLinear:"easeLinear",easeQuadIn:"easeQuadIn",easeQuadOut:"easeQuadOut",easeQuadInOut:"easeQuadInOut",easeCubicIn:"easeCubicIn",easeCubicOut:"easeCubicOut",easeCubicInOut:"easeCubicInOut",easePolyIn:"easePolyIn",easePolyOut:"easePolyOut",easePolyInOut:"easePolyInOut",easeSinIn:"easeSinIn",easeSinOut:"easeSinOut",easeSinInOut:"easeSinInOut",easeExpIn:"easeExpIn",easeExpOut:"easeExpOut",easeExpInOut:"easeExpInOut",easeCircleIn:"easeCircleIn",easeCircleOut:"easeCircleOut",easeCircleInOut:"easeCircleInOut",easeBounceIn:"easeBounceIn",easeBounceOut:"easeBounceOut",easeBounceInOut:"easeBounceInOut",easeBackIn:"easeBackIn",easeBackOut:"easeBackOut",easeBackInOut:"easeBackInOut",easeElasticIn:"easeElasticIn",easeElasticOut:"easeElasticOut",easeElasticInOut:"easeElasticInOut",easeElastic:"easeElastic"}},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(t.arePathsEqual=function(t,e){if(t===e)return!0;if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(t[n]!==e[n]){if(!r(t[n])||!r(e[n]))return!1;if(e[n].lat!==t[n].lat||e[n].lng!==t[n].lng)return!1}return!0},function(t){return null!==t&&"object"===("undefined"===typeof t?"undefined":e(t))&&t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")})})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n=r(591),i=r(1252)(n);t.exports=i},function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return l}));var n,i=r(175),o=180/Math.PI,a={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},s=function(t,e,r,n,i,a){var s,c,u;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(u=t*r+e*n)&&(r-=t*u,n-=e*u),(c=Math.sqrt(r*r+n*n))&&(r/=c,n/=c,u/=c),t*n<e*r&&(t=-t,e=-e,u=-u,s=-s),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*o,skewX:Math.atan(u)*o,scaleX:s,scaleY:c}};function c(t,e,r,n){function o(t){return t.length?t.pop()+" ":""}return function(a,s){var c=[],u=[];return a=t(a),s=t(s),function(t,n,o,a,s,c){if(t!==o||n!==a){var u=s.push("translate(",null,e,null,r);c.push({i:u-4,x:Object(i.a)(t,o)},{i:u-2,x:Object(i.a)(n,a)})}else(o||a)&&s.push("translate("+o+e+a+r)}(a.translateX,a.translateY,s.translateX,s.translateY,c,u),function(t,e,r,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:r.push(o(r)+"rotate(",null,n)-2,x:Object(i.a)(t,e)})):e&&r.push(o(r)+"rotate("+e+n)}(a.rotate,s.rotate,c,u),function(t,e,r,a){t!==e?a.push({i:r.push(o(r)+"skewX(",null,n)-2,x:Object(i.a)(t,e)}):e&&r.push(o(r)+"skewX("+e+n)}(a.skewX,s.skewX,c,u),function(t,e,r,n,a,s){if(t!==r||e!==n){var c=a.push(o(a)+"scale(",null,",",null,")");s.push({i:c-4,x:Object(i.a)(t,r)},{i:c-2,x:Object(i.a)(e,n)})}else 1===r&&1===n||a.push(o(a)+"scale("+r+","+n+")")}(a.scaleX,a.scaleY,s.scaleX,s.scaleY,c,u),a=s=null,function(t){for(var e,r=-1,n=u.length;++r<n;)c[(e=u[r]).i]=e.x(t);return c.join("")}}}var u=c((function(t){var e=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?a:s(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),l=c((function(t){return null==t?a:(n||(n=document.createElementNS("http://www.w3.org/2000/svg","g")),n.setAttribute("transform",t),(t=n.transform.baseVal.consolidate())?(t=t.matrix,s(t.a,t.b,t.c,t.d,t.e,t.f)):a)}),", ",")",")")},function(t,e,r){"use strict";r(2);e.a=function(t,e){return function(){return null}}},function(t,e,r){"use strict";e.a=function(t,e,r,n,i){return null}},function(t,e,r){"use strict";var n=r(526),i=r(135),o=(r(413),r(412),function(t,e,r){for(var n=0,o=0;n=o,o=Object(i.h)(),38===n&&12===o&&(e[r]=1),!Object(i.o)(o);)Object(i.g)();return Object(i.m)(t,i.i)}),a=function(t,e){return Object(i.c)(function(t,e){var r=-1,n=44;do{switch(Object(i.o)(n)){case 0:38===n&&12===Object(i.h)()&&(e[r]=1),t[r]+=o(i.i-1,e,r);break;case 2:t[r]+=Object(i.d)(n);break;case 4:if(44===n){t[++r]=58===Object(i.h)()?"&\f":"",e[r]=t[r].length;break}default:t[r]+=Object(i.e)(n)}}while(n=Object(i.g)());return t}(Object(i.a)(t),e))},s=new WeakMap,c=function(t){if("rule"===t.type&&t.parent&&t.length){for(var e=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||s.get(r))&&!n){s.set(t,!0);for(var i=[],o=a(e,i),c=r.props,u=0,l=0;u<o.length;u++)for(var f=0;f<c.length;f++,l++)t.props[l]=i[u]?o[u].replace(/&\f/g,c[f]):c[f]+" "+o[u]}}},u=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}},l=[i.j];e.a=function(t){var e=t.key;if("css"===e){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var o=t.stylisPlugins||l;var a,s,f={},h=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),r=1;r<e.length;r++)f[e[r]]=!0;h.push(t)}));var d=[c,u];var p,m=[i.n,Object(i.k)((function(t){p.insert(t)}))],b=Object(i.f)(d.concat(o,m));s=function(t,e,r,n){var o;p=r,o=t?t+"{"+e.styles+"}":e.styles,Object(i.l)(Object(i.b)(o),b),n&&(v.inserted[e.name]=!0)};var v={key:e,sheet:new n.a({key:e,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend}),nonce:t.nonce,inserted:f,registered:{},insert:s};return v.sheet.hydrate(h),v}},function(t,e,r){"use strict";var n=r(183),i=r.n(n);e.a=function(t,e){return i()(t,e)}},function(t,e,r){"use strict";e.a=function(t,e,r){t=+t,e=+e,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),o=new Array(i);++n<i;)o[n]=t+n*r;return o}},function(t,e,r){"use strict";var n=r(237);e.a=function(t){return Math.max(0,-Object(n.a)(Math.abs(t)))}},function(t,e,r){"use strict";var n=r(237);e.a=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(n.a)(e)/3)))-Object(n.a)(Math.abs(t)))}},function(t,e,r){"use strict";var n=r(237);e.a=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Object(n.a)(e)-Object(n.a)(t))+1}},function(t,e,r){"use strict";var n=r(199),i=r(225);function o(t){this._context=t}o.prototype={areaStart:n.a,areaEnd:n.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Object(i.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new o(t)}},function(t,e,r){"use strict";var n=r(225);function i(t){this._context=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:Object(n.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new i(t)}},function(t,e,r){"use strict";var n=r(199);function i(t){this._context=t}i.prototype={areaStart:n.a,areaEnd:n.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},e.a=function(t){return new i(t)}},function(t,e,r){"use strict";function n(t){this._context=t}function i(t){var e,r,n=t.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/o[e-1],o[e]-=r,a[e]-=r*a[e-1];for(i[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=i(t),o=i(e),a=0,s=1;s<r;++a,++s)this._context.bezierCurveTo(n[0][a],o[0][a],n[1][a],o[1][a],t[s],e[s]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function(t){return new n(t)}},,function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"}),"Mail");e.default=a},function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return"number"==typeof t||i(t)&&"[object Number]"==n(t)}},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(2),a=r(14),s=r(553),c=r(0),u=(r(399),r(10),r(8)),l=r(78),f=r(155),h=r(24),d=r(439),p=r(434),m=r(332),b=r(13),v=r(72),g=r(220),y=r(339),w=r(340);function x(t){return Object(y.a)("MuiSelect",t)}var O=Object(w.a)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),_=r(6),S=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],k=Object(b.a)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(t,e){var r=t.ownerState;return[Object(i.a)({},"&.".concat(O.select),e.select),Object(i.a)({},"&.".concat(O.select),e[r.variant]),Object(i.a)({},"&.".concat(O.multiple),e.multiple)]}})(p.c,Object(i.a)({},"&.".concat(O.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),E=Object(b.a)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(t,e){var r=t.ownerState;return[e.icon,r.variant&&e["icon".concat(Object(h.a)(r.variant))],r.open&&e.iconOpen]}})(p.b),M=Object(b.a)("input",{shouldForwardProp:function(t){return Object(b.c)(t)&&"classes"!==t},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(t,e){return e.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function C(t,e){return"object"===typeof e&&null!==e?t===e:String(t)===String(e)}function j(t){return null==t||"string"===typeof t&&!t.trim()}var A=c.forwardRef((function(t,e){var r=t["aria-describedby"],i=t["aria-label"],p=t.autoFocus,b=t.autoWidth,y=t.children,w=t.className,O=t.defaultValue,A=t.disabled,T=t.displayEmpty,P=t.IconComponent,D=t.inputRef,R=t.labelId,L=t.MenuProps,I=void 0===L?{}:L,N=t.multiple,F=t.name,B=t.onBlur,z=t.onChange,H=t.onClose,U=t.onFocus,W=t.onOpen,q=t.open,V=t.readOnly,G=t.renderValue,Y=t.SelectDisplayProps,X=void 0===Y?{}:Y,$=t.tabIndex,K=t.value,Z=t.variant,J=void 0===Z?"standard":Z,Q=Object(a.a)(t,S),tt=Object(g.a)({controlled:K,default:O,name:"Select"}),et=Object(n.a)(tt,2),rt=et[0],nt=et[1],it=c.useRef(null),ot=c.useRef(null),at=c.useState(null),st=Object(n.a)(at,2),ct=st[0],ut=st[1],lt=c.useRef(null!=q).current,ft=c.useState(),ht=Object(n.a)(ft,2),dt=ht[0],pt=ht[1],mt=c.useState(!1),bt=Object(n.a)(mt,2),vt=bt[0],gt=bt[1],yt=Object(v.a)(e,D),wt=c.useCallback((function(t){ot.current=t,t&&ut(t)}),[]);c.useImperativeHandle(yt,(function(){return{focus:function(){ot.current.focus()},node:it.current,value:rt}}),[rt]),c.useEffect((function(){p&&ot.current.focus()}),[p]),c.useEffect((function(){var t=Object(f.a)(ot.current).getElementById(R);if(t){var e=function(){getSelection().isCollapsed&&ot.current.focus()};return t.addEventListener("click",e),function(){t.removeEventListener("click",e)}}}),[R]);var xt,Ot,_t=function(t,e){t?W&&W(e):H&&H(e),lt||(pt(b?null:ct.clientWidth),gt(t))},St=c.Children.toArray(y),kt=function(t){return function(e){var r;if(e.currentTarget.hasAttribute("tabindex")){if(N){r=Array.isArray(rt)?rt.slice():[];var n=rt.indexOf(t.props.value);-1===n?r.push(t.props.value):r.splice(n,1)}else r=t.props.value;if(t.props.onClick&&t.props.onClick(e),rt!==r&&(nt(r),z)){var i=e.nativeEvent||e,o=new i.constructor(i.type,i);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:F}}),z(o,t)}N||_t(!1,e)}}},Et=null!==ct&&(lt?q:vt);delete Q["aria-invalid"];var Mt=[],Ct=!1;(Object(m.b)({value:rt})||T)&&(G?xt=G(rt):Ct=!0);var jt=St.map((function(t){if(!c.isValidElement(t))return null;var e;if(N){if(!Array.isArray(rt))throw new Error(Object(s.a)(2));(e=rt.some((function(e){return C(e,t.props.value)})))&&Ct&&Mt.push(t.props.children)}else(e=C(rt,t.props.value))&&Ct&&(Ot=t.props.children);return e&&!0,c.cloneElement(t,{"aria-selected":e?"true":"false",onClick:kt(t),onKeyUp:function(e){" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})}));Ct&&(xt=N?Mt.reduce((function(t,e){return[t,", ",e]})):Ot);var At,Tt=dt;!b&&lt&&ct&&(Tt=ct.clientWidth),At="undefined"!==typeof $?$:A?null:0;var Pt=X.id||(F?"mui-component-select-".concat(F):void 0),Dt=Object(o.a)({},t,{variant:J,value:rt,open:Et}),Rt=function(t){var e=t.classes,r=t.variant,n=t.disabled,i=t.multiple,o=t.open,a={select:["select",r,n&&"disabled",i&&"multiple"],icon:["icon","icon".concat(Object(h.a)(r)),o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Object(l.a)(a,x,e)}(Dt);return Object(_.jsxs)(c.Fragment,{children:[Object(_.jsx)(k,Object(o.a)({ref:wt,tabIndex:At,role:"button","aria-disabled":A?"true":void 0,"aria-expanded":Et?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[R,Pt].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:function(t){if(!V){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),_t(!0,t))}},onMouseDown:A||V?null:function(t){0===t.button&&(t.preventDefault(),ot.current.focus(),_t(!0,t))},onBlur:function(t){!Et&&B&&(Object.defineProperty(t,"target",{writable:!0,value:{value:rt,name:F}}),B(t))},onFocus:U},X,{ownerState:Dt,className:Object(u.a)(Rt.select,w,X.className),id:Pt,children:j(xt)?Object(_.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):xt})),Object(_.jsx)(M,Object(o.a)({value:Array.isArray(rt)?rt.join(","):rt,name:F,ref:it,"aria-hidden":!0,onChange:function(t){var e=St.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==e){var r=St[e];nt(r.props.value),z&&z(t,r)}},tabIndex:-1,disabled:A,className:Rt.nativeInput,autoFocus:p,ownerState:Dt},Q)),Object(_.jsx)(E,{as:P,className:Rt.icon,ownerState:Dt}),Object(_.jsx)(d.a,Object(o.a)({id:"menu-".concat(F||""),anchorEl:ct,open:Et,onClose:function(t){_t(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},I,{MenuListProps:Object(o.a)({"aria-labelledby":R,role:"listbox",disableListWrap:!0},I.MenuListProps),PaperProps:Object(o.a)({},I.PaperProps,{style:Object(o.a)({minWidth:Tt},null!=I.PaperProps?I.PaperProps.style:null)}),children:jt}))]})}));e.a=A},function(t,e,r){var n=r(703)((function(t,e,r){return t+(r?"_":"")+e.toLowerCase()}));t.exports=n},function(t,e,r){"use strict";t.exports=r(1139)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.htmlparser2=e.convertNodeToElement=e.processNodes=void 0;var n=r(620);Object.defineProperty(e,"processNodes",{enumerable:!0,get:function(){return s(n).default}});var i=r(766);Object.defineProperty(e,"convertNodeToElement",{enumerable:!0,get:function(){return s(i).default}});var o=r(352);Object.defineProperty(e,"htmlparser2",{enumerable:!0,get:function(){return s(o).default}});var a=s(r(1175));function s(t){return t&&t.__esModule?t:{default:t}}e.default=a.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hexToRgb=o,e.rgbToHex=function(t){if(0===t.indexOf("#"))return t;var e=s(t).values;return"#".concat(e.map((function(t){return function(t){var e=t.toString(16);return 1===e.length?"0".concat(e):e}(t)})).join(""))},e.hslToRgb=a,e.decomposeColor=s,e.recomposeColor=c,e.getContrastRatio=function(t,e){var r=u(t),n=u(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},e.getLuminance=u,e.emphasize=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(t)>.5?f(t,e):h(t,e)},e.fade=function(t,e){0;return l(t,e)},e.alpha=l,e.darken=f,e.lighten=h;var n=r(61);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),r)}function o(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map((function(t){return t+t}))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}function a(t){var e=(t=s(t)).values,r=e[0],n=e[1]/100,i=e[2]/100,o=n*Math.min(i,1-i),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+r/30)%12;return i-o*Math.max(Math.min(e-3,9-e,1),-1)},u="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===t.type&&(u+="a",l.push(e[3])),c({type:u,values:l})}function s(t){if(t.type)return t;if("#"===t.charAt(0))return s(o(t));var e=t.indexOf("("),r=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(r))throw new Error((0,n.formatMuiErrorMessage)(3,t));var i=t.substring(e+1,t.length-1).split(",");return{type:r,values:i=i.map((function(t){return parseFloat(t)}))}}function c(t){var e=t.type,r=t.values;return-1!==e.indexOf("rgb")?r=r.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),"".concat(e,"(").concat(r.join(", "),")")}function u(t){var e="hsl"===(t=s(t)).type?s(a(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function l(t,e){return t=s(t),e=i(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,c(t)}function f(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]*=1-e;return c(t)}function h(t,e){if(t=s(t),e=i(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var r=0;r<3;r+=1)t.values[r]+=(255-t.values[r])*e;return c(t)}},function(t,e,r){"use strict";t.exports=r(1178)},function(t,e,r){t.exports=function t(e){"use strict";var r=/^\0+/g,n=/[\0\r\f]/g,i=/: */g,o=/zoo|gra/,a=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,c=/ +\s*(?![^(]*[)])/g,u=/ *[\0] */g,l=/,\r+?/g,f=/([\t\r\n ])*\f?&/g,h=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,d=/\W+/g,p=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,b=/:(read-only)/g,v=/\s+(?=[{\];=:>])/g,g=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,w=/\s{2,}/g,x=/([^\(])(:+) */g,O=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,k=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,M=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,j="-webkit-",A="-moz-",T="-ms-",P=59,D=125,R=123,L=40,I=41,N=10,F=13,B=32,z=45,H=42,U=44,W=58,q=47,V=1,G=1,Y=0,X=1,$=1,K=1,Z=0,J=0,Q=0,tt=[],et=[],rt=0,nt=null,it=0,ot=1,at="",st="",ct="";function ut(t,e,i,o,a){for(var s,c,l=0,f=0,h=0,d=0,v=0,g=0,y=0,w=0,O=0,S=0,k=0,E=0,M=0,C=0,A=0,T=0,Z=0,et=0,nt=0,ft=i.length,vt=ft-1,gt="",yt="",wt="",xt="",Ot="",_t="";A<ft;){if(y=i.charCodeAt(A),A===vt&&f+d+h+l!==0&&(0!==f&&(y=f===q?N:q),d=h=l=0,ft++,vt++),f+d+h+l===0){if(A===vt&&(T>0&&(yt=yt.replace(n,"")),yt.trim().length>0)){switch(y){case B:case 9:case P:case F:case N:break;default:yt+=i.charAt(A)}y=P}if(1===Z)switch(y){case R:case D:case P:case 34:case 39:case L:case I:case U:Z=0;case 9:case F:case N:case B:break;default:for(Z=0,nt=A,v=y,A--,y=P;nt<ft;)switch(i.charCodeAt(nt++)){case N:case F:case P:++A,y=v,nt=ft;break;case W:T>0&&(++A,y=v);case R:nt=ft}}switch(y){case R:for(v=(yt=yt.trim()).charCodeAt(0),k=1,nt=++A;A<ft;){switch(y=i.charCodeAt(A)){case R:k++;break;case D:k--;break;case q:switch(g=i.charCodeAt(A+1)){case H:case q:A=bt(g,A,vt,i)}break;case 91:y++;case L:y++;case 34:case 39:for(;A++<vt&&i.charCodeAt(A)!==y;);}if(0===k)break;A++}switch(wt=i.substring(nt,A),0===v&&(v=(yt=yt.replace(r,"").trim()).charCodeAt(0)),v){case 64:switch(T>0&&(yt=yt.replace(n,"")),g=yt.charCodeAt(1)){case 100:case 109:case 115:case z:s=e;break;default:s=tt}if(nt=(wt=ut(e,s,wt,g,a+1)).length,Q>0&&0===nt&&(nt=yt.length),rt>0&&(c=mt(3,wt,s=lt(tt,yt,et),e,G,V,nt,g,a,o),yt=s.join(""),void 0!==c&&0===(nt=(wt=c.trim()).length)&&(g=0,wt="")),nt>0)switch(g){case 115:yt=yt.replace(_,pt);case 100:case 109:case z:wt=yt+"{"+wt+"}";break;case 107:wt=(yt=yt.replace(p,"$1 $2"+(ot>0?at:"")))+"{"+wt+"}",wt=1===$||2===$&&dt("@"+wt,3)?"@"+j+wt+"@"+wt:"@"+wt;break;default:wt=yt+wt,112===o&&(xt+=wt,wt="")}else wt="";break;default:wt=ut(e,lt(e,yt,et),wt,o,a+1)}Ot+=wt,E=0,Z=0,C=0,T=0,et=0,M=0,yt="",wt="",y=i.charCodeAt(++A);break;case D:case P:if((nt=(yt=(T>0?yt.replace(n,""):yt).trim()).length)>1)switch(0===C&&((v=yt.charCodeAt(0))===z||v>96&&v<123)&&(nt=(yt=yt.replace(" ",":")).length),rt>0&&void 0!==(c=mt(1,yt,e,t,G,V,xt.length,o,a,o))&&0===(nt=(yt=c.trim()).length)&&(yt="\0\0"),v=yt.charCodeAt(0),g=yt.charCodeAt(1),v){case 0:break;case 64:if(105===g||99===g){_t+=yt+i.charAt(A);break}default:if(yt.charCodeAt(nt-1)===W)break;xt+=ht(yt,v,g,yt.charCodeAt(2))}E=0,Z=0,C=0,T=0,et=0,yt="",y=i.charCodeAt(++A)}}switch(y){case F:case N:if(f+d+h+l+J===0)switch(S){case I:case 39:case 34:case 64:case 126:case 62:case H:case 43:case q:case z:case W:case U:case P:case R:case D:break;default:C>0&&(Z=1)}f===q?f=0:X+E===0&&107!==o&&yt.length>0&&(T=1,yt+="\0"),rt*it>0&&mt(0,yt,e,t,G,V,xt.length,o,a,o),V=1,G++;break;case P:case D:if(f+d+h+l===0){V++;break}default:switch(V++,gt=i.charAt(A),y){case 9:case B:if(d+l+f===0)switch(w){case U:case W:case 9:case B:gt="";break;default:y!==B&&(gt=" ")}break;case 0:gt="\\0";break;case 12:gt="\\f";break;case 11:gt="\\v";break;case 38:d+f+l===0&&X>0&&(et=1,T=1,gt="\f"+gt);break;case 108:if(d+f+l+Y===0&&C>0)switch(A-C){case 2:112===w&&i.charCodeAt(A-3)===W&&(Y=w);case 8:111===O&&(Y=O)}break;case W:d+f+l===0&&(C=A);break;case U:f+h+d+l===0&&(T=1,gt+="\r");break;case 34:case 39:0===f&&(d=d===y?0:0===d?y:d);break;case 91:d+f+h===0&&l++;break;case 93:d+f+h===0&&l--;break;case I:d+f+l===0&&h--;break;case L:if(d+f+l===0){if(0===E)switch(2*w+3*O){case 533:break;default:k=0,E=1}h++}break;case 64:f+h+d+l+C+M===0&&(M=1);break;case H:case q:if(d+l+h>0)break;switch(f){case 0:switch(2*y+3*i.charCodeAt(A+1)){case 235:f=q;break;case 220:nt=A,f=H}break;case H:y===q&&w===H&&nt+2!==A&&(33===i.charCodeAt(nt+2)&&(xt+=i.substring(nt,A+1)),gt="",f=0)}}if(0===f){if(X+d+l+M===0&&107!==o&&y!==P)switch(y){case U:case 126:case 62:case 43:case I:case L:if(0===E){switch(w){case 9:case B:case N:case F:gt+="\0";break;default:gt="\0"+gt+(y===U?"":"\0")}T=1}else switch(y){case L:C+7===A&&108===w&&(C=0),E=++k;break;case I:0==(E=--k)&&(T=1,gt+="\0")}break;case 9:case B:switch(w){case 0:case R:case D:case P:case U:case 12:case 9:case B:case N:case F:break;default:0===E&&(T=1,gt+="\0")}}yt+=gt,y!==B&&9!==y&&(S=y)}}O=w,w=y,A++}if(nt=xt.length,Q>0&&0===nt&&0===Ot.length&&0===e[0].length==0&&(109!==o||1===e.length&&(X>0?st:ct)===e[0])&&(nt=e.join(",").length+2),nt>0){if(s=0===X&&107!==o?function(t){for(var e,r,i=0,o=t.length,a=Array(o);i<o;++i){for(var s=t[i].split(u),c="",l=0,f=0,h=0,d=0,p=s.length;l<p;++l)if(!(0===(f=(r=s[l]).length)&&p>1)){if(h=c.charCodeAt(c.length-1),d=r.charCodeAt(0),e="",0!==l)switch(h){case H:case 126:case 62:case 43:case B:case L:break;default:e=" "}switch(d){case 38:r=e+st;case 126:case 62:case 43:case B:case I:case L:break;case 91:r=e+r+st;break;case W:switch(2*r.charCodeAt(1)+3*r.charCodeAt(2)){case 530:if(K>0){r=e+r.substring(8,f-1);break}default:(l<1||s[l-1].length<1)&&(r=e+st+r)}break;case U:e="";default:r=f>1&&r.indexOf(":")>0?e+r.replace(x,"$1"+st+"$2"):e+r+st}c+=r}a[i]=c.replace(n,"").trim()}return a}(e):e,rt>0&&void 0!==(c=mt(2,xt,s,t,G,V,nt,o,a,o))&&0===(xt=c).length)return _t+xt+Ot;if(xt=s.join(",")+"{"+xt+"}",$*Y!=0){switch(2!==$||dt(xt,2)||(Y=0),Y){case 111:xt=xt.replace(b,":-moz-$1")+xt;break;case 112:xt=xt.replace(m,"::"+j+"input-$1")+xt.replace(m,"::-moz-$1")+xt.replace(m,":-ms-input-$1")+xt}Y=0}}return _t+xt+Ot}function lt(t,e,r){var n=e.trim().split(l),i=n,o=n.length,a=t.length;switch(a){case 0:case 1:for(var s=0,c=0===a?"":t[0]+" ";s<o;++s)i[s]=ft(c,i[s],r,a).trim();break;default:s=0;var u=0;for(i=[];s<o;++s)for(var f=0;f<a;++f)i[u++]=ft(t[f]+" ",n[s],r,a).trim()}return i}function ft(t,e,r,n){var i=e,o=i.charCodeAt(0);switch(o<33&&(o=(i=i.trim()).charCodeAt(0)),o){case 38:switch(X+n){case 0:case 1:if(0===t.trim().length)break;default:return i.replace(f,"$1"+t.trim())}break;case W:switch(i.charCodeAt(1)){case 103:if(K>0&&X>0)return i.replace(h,"$1").replace(f,"$1"+ct);break;default:return t.trim()+i.replace(f,"$1"+t.trim())}default:if(r*X>0&&i.indexOf("\f")>0)return i.replace(f,(t.charCodeAt(0)===W?"":"$1")+t.trim())}return t+i}function ht(t,e,r,n){var u,l=0,f=t+";",h=2*e+3*r+4*n;if(944===h)return function(t){var e=t.length,r=t.indexOf(":",9)+1,n=t.substring(0,r).trim(),i=t.substring(r,e-1).trim();switch(t.charCodeAt(9)*ot){case 0:break;case z:if(110!==t.charCodeAt(10))break;default:var o=i.split((i="",s)),a=0;for(r=0,e=o.length;a<e;r=0,++a){for(var u=o[a],l=u.split(c);u=l[r];){var f=u.charCodeAt(0);if(1===ot&&(f>64&&f<90||f>96&&f<123||95===f||f===z&&u.charCodeAt(1)!==z))switch(isNaN(parseFloat(u))+(-1!==u.indexOf("("))){case 1:switch(u){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:u+=at}}l[r++]=u}i+=(0===a?"":",")+l.join(" ")}}return i=n+i+";",1===$||2===$&&dt(i,1)?j+i+i:i}(f);if(0===$||2===$&&!dt(f,1))return f;switch(h){case 1015:return 97===f.charCodeAt(10)?j+f+f:f;case 951:return 116===f.charCodeAt(3)?j+f+f:f;case 963:return 110===f.charCodeAt(5)?j+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return j+f+f;case 978:return j+f+A+f+f;case 1019:case 983:return j+f+A+f+T+f+f;case 883:return f.charCodeAt(8)===z?j+f+f:f.indexOf("image-set(",11)>0?f.replace(C,"$1"+j+"$2")+f:f;case 932:if(f.charCodeAt(4)===z)switch(f.charCodeAt(5)){case 103:return j+"box-"+f.replace("-grow","")+j+f+T+f.replace("grow","positive")+f;case 115:return j+f+T+f.replace("shrink","negative")+f;case 98:return j+f+T+f.replace("basis","preferred-size")+f}return j+f+T+f+f;case 964:return j+f+T+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return u=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),j+"box-pack"+u+j+f+T+"flex-pack"+u+f;case 1005:return o.test(f)?f.replace(i,":"+j)+f.replace(i,":"+A)+f:f;case 1e3:switch(l=(u=f.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(l)){case 226:u=f.replace(O,"tb");break;case 232:u=f.replace(O,"tb-rl");break;case 220:u=f.replace(O,"lr");break;default:return f}return j+f+T+u+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(l=(f=t).length-10,h=(u=(33===f.charCodeAt(l)?f.substring(0,l):f).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(u.charCodeAt(8)<111)break;case 115:f=f.replace(u,j+u)+";"+f;break;case 207:case 102:f=f.replace(u,j+(h>102?"inline-":"")+"box")+";"+f.replace(u,j+u)+";"+f.replace(u,T+u+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===z)switch(f.charCodeAt(6)){case 105:return u=f.replace("-items",""),j+f+j+"box-"+u+T+"flex-"+u+f;case 115:return j+f+T+"flex-item-"+f.replace(k,"")+f;default:return j+f+T+"flex-line-pack"+f.replace("align-content","").replace(k,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==z||122===f.charCodeAt(4))break;case 931:case 953:if(!0===M.test(t))return 115===(u=t.substring(t.indexOf(":")+1)).charCodeAt(0)?ht(t.replace("stretch","fill-available"),e,r,n).replace(":fill-available",":stretch"):f.replace(u,j+u)+f.replace(u,A+u.replace("fill-",""))+f;break;case 962:if(f=j+f+(102===f.charCodeAt(5)?T+f:"")+f,r+n===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(a,"$1"+j+"$2")+f}return f}function dt(t,e){var r=t.indexOf(1===e?":":"{"),n=t.substring(0,3!==e?r:10),i=t.substring(r+1,t.length-1);return nt(2!==e?n:n.replace(E,"$1"),i,e)}function pt(t,e){var r=ht(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return r!==e+";"?r.replace(S," or ($1)").substring(4):"("+e+")"}function mt(t,e,r,n,i,o,a,s,c,u){for(var l,f=0,h=e;f<rt;++f)switch(l=et[f].call(gt,t,h,r,n,i,o,a,s,c,u)){case void 0:case!1:case!0:case null:break;default:h=l}if(h!==e)return h}function bt(t,e,r,n){for(var i=e+1;i<r;++i)switch(n.charCodeAt(i)){case q:if(t===H&&n.charCodeAt(i-1)===H&&e+2!==i)return i+1;break;case N:if(t===q)return i+1}return i}function vt(t){for(var e in t){var r=t[e];switch(e){case"keyframe":ot=0|r;break;case"global":K=0|r;break;case"cascade":X=0|r;break;case"compress":Z=0|r;break;case"semicolon":J=0|r;break;case"preserve":Q=0|r;break;case"prefix":nt=null,r?"function"!=typeof r?$=1:($=2,nt=r):$=0}}return vt}function gt(e,r){if(void 0!==this&&this.constructor===gt)return t(e);var i=e,o=i.charCodeAt(0);o<33&&(o=(i=i.trim()).charCodeAt(0)),ot>0&&(at=i.replace(d,91===o?"":"-")),o=1,1===X?ct=i:st=i;var a,s=[ct];rt>0&&void 0!==(a=mt(-1,r,s,s,G,V,0,0,0,0))&&"string"==typeof a&&(r=a);var c=ut(tt,s,r,0,0);return rt>0&&void 0!==(a=mt(-2,c,s,s,G,V,c.length,0,0,0))&&"string"!=typeof(c=a)&&(o=0),at="",ct="",st="",Y=0,G=1,V=1,Z*o==0?c:c.replace(n,"").replace(v,"").replace(g,"$1").replace(y,"$1").replace(w," ")}return gt.use=function t(e){switch(e){case void 0:case null:rt=et.length=0;break;default:if("function"==typeof e)et[rt++]=e;else if("object"==typeof e)for(var r=0,n=e.length;r<n;++r)t(e[r]);else it=0|!!e}return t},gt.set=vt,void 0!==e&&vt(e),gt}(null)},,function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}),"GridView");e.default=a},function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return E}));var n="persist/REHYDRATE",i="persist/REGISTER";function o(t){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e,r,n){n.debug;var i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(r,!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},r);return t&&"object"===o(t)&&Object.keys(t).forEach((function(n){"_persist"!==n&&e[n]===r[n]&&(i[n]=t[n])})),i}function u(t){var e,r=t.blacklist||null,n=t.whitelist||null,i=t.transforms||[],o=t.throttle||0,a="".concat(void 0!==t.keyPrefix?t.keyPrefix:"persist:").concat(t.key),s=t.storage;e=!1===t.serialize?function(t){return t}:"function"===typeof t.serialize?t.serialize:l;var c=t.writeFailHandler||null,u={},f={},h=[],d=null,p=null;function m(){if(0===h.length)return d&&clearInterval(d),void(d=null);var t=h.shift(),r=i.reduce((function(e,r){return r.in(e,t,u)}),u[t]);if(void 0!==r)try{f[t]=e(r)}catch(n){console.error("redux-persist/createPersistoid: error serializing state",n)}else delete f[t];0===h.length&&(Object.keys(f).forEach((function(t){void 0===u[t]&&delete f[t]})),p=s.setItem(a,e(f)).catch(v))}function b(t){return(!n||-1!==n.indexOf(t)||"_persist"===t)&&(!r||-1===r.indexOf(t))}function v(t){c&&c(t)}return{update:function(t){Object.keys(t).forEach((function(e){b(e)&&u[e]!==t[e]&&-1===h.indexOf(e)&&h.push(e)})),Object.keys(u).forEach((function(e){void 0===t[e]&&b(e)&&-1===h.indexOf(e)&&void 0!==u[e]&&h.push(e)})),null===d&&(d=setInterval(m,o)),u=t},flush:function(){for(;0!==h.length;)m();return p||Promise.resolve()}}}function l(t){return JSON.stringify(t)}function f(t){var e,r=t.transforms||[],n="".concat(void 0!==t.keyPrefix?t.keyPrefix:"persist:").concat(t.key),i=t.storage;t.debug;return e=!1===t.deserialize?function(t){return t}:"function"===typeof t.deserialize?t.deserialize:h,i.getItem(n).then((function(t){if(t)try{var n={},i=e(t);return Object.keys(i).forEach((function(t){n[t]=r.reduceRight((function(e,r){return r.out(e,t,i)}),e(i[t]))})),n}catch(o){throw o}}))}function h(t){return JSON.parse(t)}function d(t){0}function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(r,!0).forEach((function(e){b(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function b(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function g(t,e){var r=void 0!==t.version?t.version:-1,i=(t.debug,void 0===t.stateReconciler?c:t.stateReconciler),o=t.getStoredState||f,a=void 0!==t.timeout?t.timeout:5e3,s=null,l=!1,h=!0,p=function(t){return t._persist.rehydrated&&s&&!h&&s.update(t),t};return function(c,f){var b=c||{},g=b._persist,y=v(b,["_persist"]);if("persist/PERSIST"===f.type){var w=!1,x=function(e,r){w||(f.rehydrate(t.key,e,r),w=!0)};if(a&&setTimeout((function(){!w&&x(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(t.key,'"')))}),a),h=!1,s||(s=u(t)),g)return m({},e(y,f),{_persist:g});if("function"!==typeof f.rehydrate||"function"!==typeof f.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(t.key),o(t).then((function(e){(t.migrate||function(t,e){return Promise.resolve(t)})(e,r).then((function(t){x(t)}),(function(t){x(void 0,t)}))}),(function(t){x(void 0,t)})),m({},e(y,f),{_persist:{version:r,rehydrated:!1}})}if("persist/PURGE"===f.type)return l=!0,f.result(function(t){var e=t.storage,r="".concat(void 0!==t.keyPrefix?t.keyPrefix:"persist:").concat(t.key);return e.removeItem(r,d)}(t)),m({},e(y,f),{_persist:g});if("persist/FLUSH"===f.type)return f.result(s&&s.flush()),m({},e(y,f),{_persist:g});if("persist/PAUSE"===f.type)h=!0;else if(f.type===n){if(l)return m({},y,{_persist:m({},g,{rehydrated:!0})});if(f.key===t.key){var O=e(y,f),_=f.payload,S=m({},!1!==i&&void 0!==_?i(_,c,O,t):O,{_persist:m({},g,{rehydrated:!0})});return p(S)}}if(!g)return e(c,f);var k=e(y,f);return k===y?c:p(m({},k,{_persist:g}))}}var y=r(197);function w(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?x(r,!0).forEach((function(e){_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):x(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var S={registry:[],bootstrapped:!1},k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case i:return O({},t,{registry:[].concat(w(t.registry),[e.key])});case n:var r=t.registry.indexOf(e.key),o=w(t.registry);return o.splice(r,1),O({},t,{registry:o,bootstrapped:0===o.length});default:return t}};function E(t,e,r){var o=r||!1,a=Object(y.d)(k,S,e&&e.enhancer?e.enhancer:void 0),s=function(t){a.dispatch({type:i,key:t})},c=function(e,r,i){var s={type:n,payload:r,err:i,key:e};t.dispatch(s),a.dispatch(s),o&&u.getState().bootstrapped&&(o(),o=!1)},u=O({},a,{purge:function(){var e=[];return t.dispatch({type:"persist/PURGE",result:function(t){e.push(t)}}),Promise.all(e)},flush:function(){var e=[];return t.dispatch({type:"persist/FLUSH",result:function(t){e.push(t)}}),Promise.all(e)},pause:function(){t.dispatch({type:"persist/PAUSE"})},persist:function(){t.dispatch({type:"persist/PERSIST",register:s,rehydrate:c})}});return e&&e.manualPersist||u.persist(),u}},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(0),i=r.n(n),o=r(516);function a(){return i.a.useContext(o.a)}},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(26),c=[0,1,2,3,4,5,6,7,8,9,10],u=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=parseFloat(t);return"".concat(r/e).concat(String(t).replace(String(r),"")||"px")}var f=o.forwardRef((function(t,e){var r=t.alignContent,s=void 0===r?"stretch":r,c=t.alignItems,u=void 0===c?"stretch":c,l=t.classes,f=t.className,h=t.component,d=void 0===h?"div":h,p=t.container,m=void 0!==p&&p,b=t.direction,v=void 0===b?"row":b,g=t.item,y=void 0!==g&&g,w=t.justify,x=t.justifyContent,O=void 0===x?"flex-start":x,_=t.lg,S=void 0!==_&&_,k=t.md,E=void 0!==k&&k,M=t.sm,C=void 0!==M&&M,j=t.spacing,A=void 0===j?0:j,T=t.wrap,P=void 0===T?"wrap":T,D=t.xl,R=void 0!==D&&D,L=t.xs,I=void 0!==L&&L,N=t.zeroMinWidth,F=void 0!==N&&N,B=Object(n.a)(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),z=Object(a.a)(l.root,f,m&&[l.container,0!==A&&l["spacing-xs-".concat(String(A))]],y&&l.item,F&&l.zeroMinWidth,"row"!==v&&l["direction-xs-".concat(String(v))],"wrap"!==P&&l["wrap-xs-".concat(String(P))],"stretch"!==u&&l["align-items-xs-".concat(String(u))],"stretch"!==s&&l["align-content-xs-".concat(String(s))],"flex-start"!==(w||O)&&l["justify-content-xs-".concat(String(w||O))],!1!==I&&l["grid-xs-".concat(String(I))],!1!==C&&l["grid-sm-".concat(String(C))],!1!==E&&l["grid-md-".concat(String(E))],!1!==S&&l["grid-lg-".concat(String(S))],!1!==R&&l["grid-xl-".concat(String(R))]);return o.createElement(d,Object(i.a)({className:z,ref:e},B))})),h=Object(s.a)((function(t){return Object(i.a)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(t,e){var r={};return c.forEach((function(n){var i=t.spacing(n);0!==i&&(r["spacing-".concat(e,"-").concat(n)]={margin:"-".concat(l(i,2)),width:"calc(100% + ".concat(l(i),")"),"& > $item":{padding:l(i,2)}})})),r}(t,"xs"),t.breakpoints.keys.reduce((function(e,r){return function(t,e,r){var n={};u.forEach((function(t){var e="grid-".concat(r,"-").concat(t);if(!0!==t)if("auto"!==t){var i="".concat(Math.round(t/12*1e8)/1e6,"%");n[e]={flexBasis:i,flexGrow:0,maxWidth:i}}else n[e]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else n[e]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===r?Object(i.a)(t,n):t[e.breakpoints.up(r)]=n}(e,t,r),e}),{}))}),{name:"MuiGrid"})(f);e.a=h},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(26),c=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.component,u=void 0===c?"div":c,l=t.square,f=void 0!==l&&l,h=t.elevation,d=void 0===h?1:h,p=t.variant,m=void 0===p?"elevation":p,b=Object(n.a)(t,["classes","className","component","square","elevation","variant"]);return o.createElement(u,Object(i.a)({className:Object(a.a)(r.root,s,"outlined"===m?r.outlined:r["elevation".concat(d)],!f&&r.rounded),ref:e},b))}));e.a=Object(s.a)((function(t){var e={};return t.shadows.forEach((function(t,r){e["elevation".concat(r)]={boxShadow:t}})),Object(i.a)({root:{backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},rounded:{borderRadius:t.shape.borderRadius},outlined:{border:"1px solid ".concat(t.palette.divider)}},e)}),{name:"MuiPaper"})(c)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=r(663),l=r(38),f=o.forwardRef((function(t,e){var r=t.edge,s=void 0!==r&&r,c=t.children,f=t.classes,h=t.className,d=t.color,p=void 0===d?"default":d,m=t.disabled,b=void 0!==m&&m,v=t.disableFocusRipple,g=void 0!==v&&v,y=t.size,w=void 0===y?"medium":y,x=Object(i.a)(t,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(u.a,Object(n.a)({className:Object(a.a)(f.root,h,"default"!==p&&f["color".concat(Object(l.a)(p))],b&&f.disabled,"small"===w&&f["size".concat(Object(l.a)(w))],{start:f.edgeStart,end:f.edgeEnd}[s]),centerRipple:!0,focusRipple:!g,disabled:b,ref:e},x),o.createElement("span",{className:f.label},c))}));e.a=Object(s.a)((function(t){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(c.a)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:t.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:t.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(f)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(304);function i(t){return Object(n.a)(t).defaultView||window}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(222),u=r(170),l=r(8),f=r(24),h=r(22),d=r(13),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiFormLabel",t)}var v=Object(m.a)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),g=r(6),y=["children","className","color","component","disabled","error","filled","focused","required"],w=Object(d.a)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return Object(o.a)({},e.root,"secondary"===r.color&&e.colorSecondary,r.filled&&e.filled)}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({color:r.palette.text.secondary},r.typography.body1,(e={lineHeight:"1.4375em",padding:0,position:"relative"},Object(n.a)(e,"&.".concat(v.focused),{color:r.palette[i.color].main}),Object(n.a)(e,"&.".concat(v.disabled),{color:r.palette.text.disabled}),Object(n.a)(e,"&.".concat(v.error),{color:r.palette.error.main}),e))})),x=Object(d.a)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(t,e){return e.asterisk}})((function(t){var e=t.theme;return Object(n.a)({},"&.".concat(v.error),{color:e.palette.error.main})})),O=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiFormLabel"}),n=r.children,a=r.className,d=r.component,p=void 0===d?"label":d,m=Object(i.a)(r,y),v=Object(u.a)(),O=Object(c.a)({props:r,muiFormControl:v,states:["color","required","focused","disabled","error","filled"]}),_=Object(o.a)({},r,{color:O.color||"primary",component:p,disabled:O.disabled,error:O.error,filled:O.filled,focused:O.focused,required:O.required}),S=function(t){var e=t.classes,r=t.color,n=t.focused,i=t.disabled,o=t.error,a=t.filled,c=t.required,u={root:["root","color".concat(Object(f.a)(r)),i&&"disabled",o&&"error",a&&"filled",n&&"focused",c&&"required"],asterisk:["asterisk",o&&"error"]};return Object(s.a)(u,b,e)}(_);return Object(g.jsxs)(w,Object(o.a)({as:p,ownerState:_,className:Object(l.a)(S.root,a),ref:e},m,{children:[n,O.required&&Object(g.jsxs)(x,{ownerState:_,"aria-hidden":!0,className:S.asterisk,children:["\u2009","*"]})]}))}));function _(t){return Object(p.a)("MuiInputLabel",t)}Object(m.a)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var S=["disableAnimation","margin","shrink","variant"],k=Object(d.a)(O,{shouldForwardProp:function(t){return Object(d.b)(t)||"classes"===t},name:"MuiInputLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(n.a)({},"& .".concat(v.asterisk),e.asterisk),e.root,r.formControl&&e.formControl,"small"===r.size&&e.sizeSmall,r.shrink&&e.shrink,!r.disableAnimation&&e.animated,e[r.variant]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},r.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===r.size&&{transform:"translate(0, 17px) scale(1)"},r.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!r.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===r.variant&&Object(o.a)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(12px, 13px) scale(1)"},r.shrink&&Object(o.a)({transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===r.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===r.variant&&Object(o.a)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===r.size&&{transform:"translate(14px, 9px) scale(1)"},r.shrink&&{maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),E=a.forwardRef((function(t,e){var r=Object(h.a)({name:"MuiInputLabel",props:t}),n=r.disableAnimation,a=void 0!==n&&n,l=r.shrink,f=Object(i.a)(r,S),d=Object(u.a)(),p=l;"undefined"===typeof p&&d&&(p=d.filled||d.focused||d.adornedStart);var m=Object(c.a)({props:r,muiFormControl:d,states:["size","variant","required"]}),b=Object(o.a)({},r,{disableAnimation:a,formControl:d,shrink:p,size:m.size,variant:m.variant,required:m.required}),v=function(t){var e=t.classes,r=t.formControl,n=t.size,i=t.shrink,a={root:["root",r&&"formControl",!t.disableAnimation&&"animated",i&&"shrink","small"===n&&"sizeSmall",t.variant],asterisk:[t.required&&"asterisk"]},c=Object(s.a)(a,_,e);return Object(o.a)({},e,c)}(b);return Object(g.jsx)(k,Object(o.a)({"data-shrink":p,ownerState:b,ref:e},f,{classes:v}))}));e.a=E},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=function(t){var e=a.useRef({});return a.useEffect((function(){e.current=t})),e.current},u=r(340),l=r(252),f=r(339);function h(t){return Object(f.a)("MuiBadge",t)}var d=Object(u.a)("MuiBadge",["root","badge","dot","standard","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular","invisible"]),p=r(884),m=r(78),b=r(6),v=["anchorOrigin","classes","badgeContent","component","children","className","components","componentsProps","invisible","max","overlap","showZero","variant","theme"],g=a.forwardRef((function(t,e){var r=t.anchorOrigin,n=void 0===r?{vertical:"top",horizontal:"right"}:r,a=t.classes,u=t.badgeContent,f=t.component,d=void 0===f?"span":f,g=t.children,y=t.className,w=t.components,x=void 0===w?{}:w,O=t.componentsProps,_=void 0===O?{}:O,S=t.invisible,k=t.max,E=void 0===k?99:k,M=t.overlap,C=void 0===M?"rectangular":M,j=t.showZero,A=void 0!==j&&j,T=t.variant,P=void 0===T?"standard":T,D=t.theme,R=Object(i.a)(t,v),L=c({anchorOrigin:n,badgeContent:u,max:E,overlap:C,variant:P}),I=S;null==S&&(0===u&&!A||null==u&&"dot"!==P)&&(I=!0);var N=I?L:t,F=N.anchorOrigin,B=void 0===F?n:F,z=N.badgeContent,H=N.max,U=void 0===H?E:H,W=N.overlap,q=void 0===W?C:W,V=N.variant,G=void 0===V?P:V,Y=Object(o.a)({},t,{anchorOrigin:B,badgeContent:z,classes:a,invisible:I,max:U,overlap:q,variant:G}),X="";"dot"!==G&&(X=z>U?"".concat(U,"+"):z);var $=function(t){var e=t.variant,r=t.anchorOrigin,n=t.overlap,i=t.invisible,o=t.classes,a={root:["root"],badge:["badge",e,"anchorOrigin".concat(Object(p.a)(r.vertical)).concat(Object(p.a)(r.horizontal)).concat(Object(p.a)(n)),i&&"invisible"]};return Object(m.a)(a,h,o)}(Y),K=x.Root||d,Z=_.root||{},J=x.Badge||"span",Q=_.badge||{};return Object(b.jsxs)(K,Object(o.a)({},Z,!Object(l.a)(K)&&{as:d,ownerState:Object(o.a)({},Y,Z.ownerState),theme:D},{ref:e},R,{className:Object(s.a)($.root,Z.className,y),children:[g,Object(b.jsx)(J,Object(o.a)({},Q,!Object(l.a)(J)&&{ownerState:Object(o.a)({},Y,Q.ownerState),theme:D},{className:Object(s.a)($.badge,Q.className),children:X}))]}))})),y=r(13),w=r(22),x=r(24),O=["components","componentsProps","color","invisible","badgeContent","showZero","variant"],_=Object(o.a)({},d,Object(u.a)("MuiBadge",["colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning"])),S=Object(y.a)("span",{name:"MuiBadge",slot:"Root",overridesResolver:function(t,e){return e.root}})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),k=Object(y.a)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:function(t,e){var r=t.ownerState;return[e.badge,e[r.variant],e["anchorOrigin".concat(Object(x.a)(r.anchorOrigin.vertical)).concat(Object(x.a)(r.anchorOrigin.horizontal)).concat(Object(x.a)(r.overlap))],"default"!==r.color&&e["color".concat(Object(x.a)(r.color))],r.invisible&&e.invisible]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==r.color&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},"dot"===r.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"rectangular"===r.overlap&&Object(n.a)({bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, 50%)"}),"top"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"right"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===r.anchorOrigin.vertical&&"left"===r.anchorOrigin.horizontal&&"circular"===r.overlap&&Object(n.a)({bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(_.invisible),{transform:"scale(0) translate(-50%, 50%)"}),r.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})})),E=a.forwardRef((function(t,e){var r,n,a=Object(w.a)({props:t,name:"MuiBadge"}),u=a.components,f=void 0===u?{}:u,d=a.componentsProps,p=void 0===d?{}:d,m=a.color,v=void 0===m?"default":m,y=a.invisible,_=a.badgeContent,E=a.showZero,M=void 0!==E&&E,C=a.variant,j=void 0===C?"standard":C,A=Object(i.a)(a,O),T=c({color:v}),P=y;null==y&&(0===_&&!M||null==_&&"dot"!==j)&&(P=!0);var D=(P?T:a).color,R=void 0===D?v:D,L=function(t){var e=t.color,r=t.classes,n=void 0===r?{}:r;return Object(o.a)({},n,{badge:Object(s.a)(n.badge,"default"!==e&&[h("color".concat(Object(x.a)(e))),n["color".concat(Object(x.a)(e))]])})}(Object(o.a)({},a,{invisible:P,color:R}));return Object(b.jsx)(g,Object(o.a)({invisible:y,badgeContent:_,showZero:M,variant:j},A,{components:Object(o.a)({Root:S,Badge:k},f),componentsProps:{root:Object(o.a)({},p.root,(!f.Root||!Object(l.a)(f.Root))&&{ownerState:Object(o.a)({},null==(r=p.root)?void 0:r.ownerState,{color:R})}),badge:Object(o.a)({},p.badge,(!f.Thumb||!Object(l.a)(f.Thumb))&&{ownerState:Object(o.a)({},null==(n=p.badge)?void 0:n.ownerState,{color:R})})},classes:L,ref:e}))}));e.a=E},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(76)),s=r(8),c=r(64),u=r(148),l=r(26),f=r(269),h=r(232),d=r(1460),p="undefined"===typeof window?o.useEffect:o.useLayoutEffect;var m=function(t){var e=t.classes,r=t.pulsate,n=void 0!==r&&r,i=t.rippleX,a=t.rippleY,c=t.rippleSize,l=t.in,f=t.onExited,h=void 0===f?function(){}:f,d=t.timeout,m=o.useState(!1),b=m[0],v=m[1],g=Object(s.a)(e.ripple,e.rippleVisible,n&&e.ripplePulsate),y={width:c,height:c,top:-c/2+a,left:-c/2+i},w=Object(s.a)(e.child,b&&e.childLeaving,n&&e.childPulsate),x=Object(u.a)(h);return p((function(){if(!l){v(!0);var t=setTimeout(x,d);return function(){clearTimeout(t)}}}),[x,l,d]),o.createElement("span",{className:g,style:y},o.createElement("span",{className:w}))},b=o.forwardRef((function(t,e){var r=t.center,a=void 0!==r&&r,c=t.classes,u=t.className,l=Object(i.a)(t,["center","classes","className"]),f=o.useState([]),p=f[0],b=f[1],v=o.useRef(0),g=o.useRef(null);o.useEffect((function(){g.current&&(g.current(),g.current=null)}),[p]);var y=o.useRef(!1),w=o.useRef(null),x=o.useRef(null),O=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(w.current)}}),[]);var _=o.useCallback((function(t){var e=t.pulsate,r=t.rippleX,n=t.rippleY,i=t.rippleSize,a=t.cb;b((function(t){return[].concat(Object(h.a)(t),[o.createElement(m,{key:v.current,classes:c,timeout:550,pulsate:e,rippleX:r,rippleY:n,rippleSize:i})])})),v.current+=1,g.current=a}),[c]),S=o.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.pulsate,i=void 0!==n&&n,o=e.center,s=void 0===o?a||e.pulsate:o,c=e.fakeElement,u=void 0!==c&&c;if("mousedown"===t.type&&y.current)y.current=!1;else{"touchstart"===t.type&&(y.current=!0);var l,f,h,d=u?null:O.current,p=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)l=Math.round(p.width/2),f=Math.round(p.height/2);else{var m=t.touches?t.touches[0]:t,b=m.clientX,v=m.clientY;l=Math.round(b-p.left),f=Math.round(v-p.top)}if(s)(h=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(h+=1);else{var g=2*Math.max(Math.abs((d?d.clientWidth:0)-l),l)+2,S=2*Math.max(Math.abs((d?d.clientHeight:0)-f),f)+2;h=Math.sqrt(Math.pow(g,2)+Math.pow(S,2))}t.touches?null===x.current&&(x.current=function(){_({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})},w.current=setTimeout((function(){x.current&&(x.current(),x.current=null)}),80)):_({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})}}),[a,_]),k=o.useCallback((function(){S({},{pulsate:!0})}),[S]),E=o.useCallback((function(t,e){if(clearTimeout(w.current),"touchend"===t.type&&x.current)return t.persist(),x.current(),x.current=null,void(w.current=setTimeout((function(){E(t,e)})));x.current=null,b((function(t){return t.length>0?t.slice(1):t})),g.current=e}),[]);return o.useImperativeHandle(e,(function(){return{pulsate:k,start:S,stop:E}}),[k,S,E]),o.createElement("span",Object(n.a)({className:Object(s.a)(c.root,u),ref:O},l),o.createElement(d.a,{component:null,exit:!0},p))})),v=Object(l.a)((function(t){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(t.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(t.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(b)),g=o.forwardRef((function(t,e){var r=t.action,l=t.buttonRef,h=t.centerRipple,d=void 0!==h&&h,p=t.children,m=t.classes,b=t.className,g=t.component,y=void 0===g?"button":g,w=t.disabled,x=void 0!==w&&w,O=t.disableRipple,_=void 0!==O&&O,S=t.disableTouchRipple,k=void 0!==S&&S,E=t.focusRipple,M=void 0!==E&&E,C=t.focusVisibleClassName,j=t.onBlur,A=t.onClick,T=t.onFocus,P=t.onFocusVisible,D=t.onKeyDown,R=t.onKeyUp,L=t.onMouseDown,I=t.onMouseLeave,N=t.onMouseUp,F=t.onTouchEnd,B=t.onTouchMove,z=t.onTouchStart,H=t.onDragLeave,U=t.tabIndex,W=void 0===U?0:U,q=t.TouchRippleProps,V=t.type,G=void 0===V?"button":V,Y=Object(i.a)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),X=o.useRef(null);var $=o.useRef(null),K=o.useState(!1),Z=K[0],J=K[1];x&&Z&&J(!1);var Q=Object(f.a)(),tt=Q.isFocusVisible,et=Q.onBlurVisible,rt=Q.ref;function nt(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:k;return Object(u.a)((function(n){return e&&e(n),!r&&$.current&&$.current[t](n),!0}))}o.useImperativeHandle(r,(function(){return{focusVisible:function(){J(!0),X.current.focus()}}}),[]),o.useEffect((function(){Z&&M&&!_&&$.current.pulsate()}),[_,M,Z]);var it=nt("start",L),ot=nt("stop",H),at=nt("stop",N),st=nt("stop",(function(t){Z&&t.preventDefault(),I&&I(t)})),ct=nt("start",z),ut=nt("stop",F),lt=nt("stop",B),ft=nt("stop",(function(t){Z&&(et(t),J(!1)),j&&j(t)}),!1),ht=Object(u.a)((function(t){X.current||(X.current=t.currentTarget),tt(t)&&(J(!0),P&&P(t)),T&&T(t)})),dt=function(){var t=a.findDOMNode(X.current);return y&&"button"!==y&&!("A"===t.tagName&&t.href)},pt=o.useRef(!1),mt=Object(u.a)((function(t){M&&!pt.current&&Z&&$.current&&" "===t.key&&(pt.current=!0,t.persist(),$.current.stop(t,(function(){$.current.start(t)}))),t.target===t.currentTarget&&dt()&&" "===t.key&&t.preventDefault(),D&&D(t),t.target===t.currentTarget&&dt()&&"Enter"===t.key&&!x&&(t.preventDefault(),A&&A(t))})),bt=Object(u.a)((function(t){M&&" "===t.key&&$.current&&Z&&!t.defaultPrevented&&(pt.current=!1,t.persist(),$.current.stop(t,(function(){$.current.pulsate(t)}))),R&&R(t),A&&t.target===t.currentTarget&&dt()&&" "===t.key&&!t.defaultPrevented&&A(t)})),vt=y;"button"===vt&&Y.href&&(vt="a");var gt={};"button"===vt?(gt.type=G,gt.disabled=x):("a"===vt&&Y.href||(gt.role="button"),gt["aria-disabled"]=x);var yt=Object(c.a)(l,e),wt=Object(c.a)(rt,X),xt=Object(c.a)(yt,wt),Ot=o.useState(!1),_t=Ot[0],St=Ot[1];o.useEffect((function(){St(!0)}),[]);var kt=_t&&!_&&!x;return o.createElement(vt,Object(n.a)({className:Object(s.a)(m.root,b,Z&&[m.focusVisible,C],x&&m.disabled),onBlur:ft,onClick:A,onFocus:ht,onKeyDown:mt,onKeyUp:bt,onMouseDown:it,onMouseLeave:st,onMouseUp:at,onDragLeave:ot,onTouchEnd:ut,onTouchMove:lt,onTouchStart:ct,ref:xt,tabIndex:x?-1:W},gt,Y),p,kt?o.createElement(v,Object(n.a)({ref:$,center:d},q)):null)}));e.a=Object(l.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(g)},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},,,,,,,,,,,,,,,,,,,,,function(t,e,r){var n=r(686),i=r(588),o=r(68),a=r(589),s=r(590),c=r(471);t.exports=function(t,e,r){for(var u=-1,l=(e=n(e,t)).length,f=!1;++u<l;){var h=c(e[u]);if(!(f=null!=t&&r(t,h)))break;t=t[h]}return f||++u!=l?f:!!(l=null==t?0:t.length)&&s(l)&&a(h,l)&&(o(t)||i(t))}},function(t,e,r){var n=r(68),i=r(583),o=r(940),a=r(391);t.exports=function(t,e){return n(t)?t:i(t,e)?[t]:o(a(t))}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(120))},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e,r){var n=r(690);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},function(t,e,r){var n=r(312),i=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},function(t,e,r){(function(t){var n=r(214),i=r(970),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c}).call(this,r(203)(t))},function(t,e,r){var n=r(971),i=r(693),o=r(972),a=o&&o.isTypedArray,s=a?i(a):n;t.exports=s},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,r){var n=r(468),i=r(979),o=r(980),a=r(981),s=r(982),c=r(983);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,t.exports=u},function(t,e,r){var n=r(696),i=r(697),o=r(698);t.exports=function(t,e,r,a,s,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var h=c.get(t),d=c.get(e);if(h&&d)return h==e&&d==t;var p=-1,m=!0,b=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++p<l;){var v=t[p],g=e[p];if(a)var y=u?a(g,v,p,e,t,c):a(v,g,p,t,e,c);if(void 0!==y){if(y)continue;m=!1;break}if(b){if(!i(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,r,a,c)))return b.push(e)}))){m=!1;break}}else if(v!==g&&!s(v,g,r,a,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},function(t,e,r){var n=r(584),i=r(985),o=r(986);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},function(t,e,r){var n=r(312)(r(214),"Set");t.exports=n},function(t,e,r){var n=r(150);t.exports=function(t){return t===t&&!n(t)}},function(t,e){t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},function(t,e,r){var n=r(1007),i=r(1008),o=r(1011),a=RegExp("['\u2019]","g");t.exports=function(t){return function(e){return n(o(i(e).replace(a,"")),t,"")}}},function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},function(t,e,r){var n=r(595);t.exports=function(t,e){e=e||{};var r=n.decode(t,e);if(!r)return null;var i=r.payload;if("string"===typeof i)try{var o=JSON.parse(i);null!==o&&"object"===typeof o&&(i=o)}catch(a){}return!0===e.complete?{header:r.header,payload:i,signature:r.signature}:i}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){(function(e){var n=r(71).Buffer,i=r(473);function o(t){if(this.buffer=null,this.writable=!0,this.readable=!0,!t)return this.buffer=n.alloc(0),this;if("function"===typeof t.pipe)return this.buffer=n.alloc(0),t.pipe(this),this;if(t.length||"object"===typeof t)return this.buffer=t,this.writable=!1,e.nextTick(function(){this.emit("end",t),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof t+")")}r(475).inherits(o,i),o.prototype.write=function(t){this.buffer=n.concat([this.buffer,n.from(t)]),this.emit("data",t)},o.prototype.end=function(t){t&&this.write(t),this.emit("end",t),this.emit("close"),this.writable=!1,this.readable=!1},t.exports=o}).call(this,r(112))},function(t,e,r){"use strict";(function(e,n){var i=r(474);t.exports=y;var o,a=r(706);y.ReadableState=g;r(265).EventEmitter;var s=function(t,e){return t.listeners(e).length},c=r(709),u=r(71).Buffer,l=e.Uint8Array||function(){};var f=Object.create(r(393));f.inherits=r(53);var h=r(1025),d=void 0;d=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=r(1026),b=r(710);f.inherits(y,c);var v=["error","close","destroy","pause","resume"];function g(t,e){t=t||{};var n=e instanceof(o=o||r(313));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(p||(p=r(266).StringDecoder),this.decoder=new p(t.encoding),this.encoding=t.encoding)}function y(t){if(o=o||r(313),!(this instanceof y))return new y(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),c.call(this)}function w(t,e,r,n,i){var o,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}(t,a)):(i||(o=function(t,e){var r;n=e,u.isBuffer(n)||n instanceof l||"string"===typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,e)),o?t.emit("error",o):a.objectMode||e&&e.length>0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):x(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?x(t,a,e,!1):k(t,a)):x(t,a,e,!1))):n||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(a)}function x(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),k(t,e)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=b.destroy,y.prototype._undestroy=b.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=u.from(t,e),e=""),r=!0),w(this,t,e,!1,r)},y.prototype.unshift=function(t){return w(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(t){return p||(p=r(266).StringDecoder),this._readableState.decoder=new p(t),this._readableState.encoding=t,this};function O(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(S,t):S(t))}function S(t){d("emit readable"),t.emit("readable"),j(t)}function k(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(E,t,e))}function E(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(d("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function M(t){d("readable nexttick read 0"),t.read(0)}function C(t,e){e.reading||(d("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),j(t),e.flowing&&!e.reading&&t.read(0)}function j(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function A(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;t-=i.length;for(;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=u.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0===(t-=a)){a===o.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(P,e,t))}function P(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function D(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}y.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):_(this),null;if(0===(t=O(t,e))&&e.ended)return 0===e.length&&T(this),null;var n,i=e.needReadable;return d("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",i=!0),e.ended||e.reading?d("reading or ended",i=!1):i&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=O(r,e))),null===(n=t>0?A(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&T(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,e);var c=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?l:y;function u(e,n){d("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),t.removeListener("close",v),t.removeListener("finish",g),t.removeListener("drain",f),t.removeListener("error",b),t.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),h=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||f())}function l(){d("onend"),t.end()}o.endEmitted?i.nextTick(c):r.once("end",c),t.on("unpipe",u);var f=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,j(t))}}(r);t.on("drain",f);var h=!1;var p=!1;function m(e){d("ondata"),p=!1,!1!==t.write(e)||p||((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==D(o.pipes,t))&&!h&&(d("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function b(e){d("onerror",e),y(),t.removeListener("error",b),0===s(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",g),y()}function g(){d("onfinish"),t.removeListener("close",v),y()}function y(){d("unpipe"),r.unpipe(t)}return r.on("data",m),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",b),t.once("close",v),t.once("finish",g),t.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,r);return this}var a=D(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},y.prototype.on=function(t,e){var r=c.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&_(this):i.nextTick(M,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(C,t,e))}(this,t)),this},y.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<v.length;o++)t.on(v[o],this.emit.bind(this,v[o]));return this._read=function(e){d("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=A}).call(this,r(120),r(112))},function(t,e,r){t.exports=r(265).EventEmitter},function(t,e,r){"use strict";var n=r(474);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(i,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,r){"use strict";t.exports=a;var n=r(313),i=Object.create(r(393));function o(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);n.call(this,t),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"===typeof this._flush?this._flush((function(e,r){c(t,e,r)})):c(this,null,null)}function c(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=r(53),i.inherits(a,n),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){var n=r(1036),i=r(71).Buffer,o=r(1037),a=r(1125),s=r(475),c="secret must be a string or buffer",u="key must be a string or a buffer",l="function"===typeof o.createPublicKey;function f(t){if(!i.isBuffer(t)&&"string"!==typeof t){if(!l)throw m(u);if("object"!==typeof t)throw m(u);if("string"!==typeof t.type)throw m(u);if("string"!==typeof t.asymmetricKeyType)throw m(u);if("function"!==typeof t.export)throw m(u)}}function h(t){if(!i.isBuffer(t)&&"string"!==typeof t&&"object"!==typeof t)throw m("key must be a string, a buffer or an object")}function d(t){return t.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function p(t){var e=4-(t=t.toString()).length%4;if(4!==e)for(var r=0;r<e;++r)t+="=";return t.replace(/\-/g,"+").replace(/_/g,"/")}function m(t){var e=[].slice.call(arguments,1),r=s.format.bind(s,t).apply(null,e);return new TypeError(r)}function b(t){var e;return e=t,i.isBuffer(e)||"string"===typeof e||(t=JSON.stringify(t)),t}function v(t){return function(e,r){!function(t){if(!i.isBuffer(t)){if("string"===typeof t)return t;if(!l)throw m(c);if("object"!==typeof t)throw m(c);if("secret"!==t.type)throw m(c);if("function"!==typeof t.export)throw m(c)}}(r),e=b(e);var n=o.createHmac("sha"+t,r);return d((n.update(e),n.digest("base64")))}}function g(t){return function(e,r,o){var a=v(t)(e,o);return n(i.from(r),i.from(a))}}function y(t){return function(e,r){h(r),e=b(e);var n=o.createSign("RSA-SHA"+t);return d((n.update(e),n.sign(r,"base64")))}}function w(t){return function(e,r,n){f(n),e=b(e),r=p(r);var i=o.createVerify("RSA-SHA"+t);return i.update(e),i.verify(n,r,"base64")}}function x(t){return function(e,r){h(r),e=b(e);var n=o.createSign("RSA-SHA"+t);return d((n.update(e),n.sign({key:r,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function O(t){return function(e,r,n){f(n),e=b(e),r=p(r);var i=o.createVerify("RSA-SHA"+t);return i.update(e),i.verify({key:n,padding:o.constants.RSA_PKCS1_PSS_PADDING,saltLength:o.constants.RSA_PSS_SALTLEN_DIGEST},r,"base64")}}function _(t){var e=y(t);return function(){var r=e.apply(null,arguments);return r=a.derToJose(r,"ES"+t)}}function S(t){var e=w(t);return function(r,n,i){return n=a.joseToDer(n,"ES"+t).toString("base64"),e(r,n,i)}}function k(){return function(){return""}}function E(){return function(t,e){return""===e}}l&&(u+=" or a KeyObject",c+="or a KeyObject"),t.exports=function(t){var e={hs:v,rs:y,ps:x,es:_,none:k},r={hs:g,rs:w,ps:O,es:S,none:E},n=t.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i);if(!n)throw m('"%s" is not a valid algorithm.\n  Supported algorithms are:\n  "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',t);var i=(n[1]||n[3]).toLowerCase(),o=n[2];return{sign:e[i](o),verify:r[i](o)}}},function(t,e,r){"use strict";var n=r(1038).Buffer,i=r(1039).Transform;function o(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(53)(o,i),o.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(i){n=i}r(n)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(r){e=r}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!n.isBuffer(t)&&"string"!==typeof t)throw new TypeError(e+" must be a string or a buffer")}(t,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));for(var r=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)r[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},function(t,e,r){"use strict";(function(e,n){var i;t.exports=k,k.ReadableState=S;r(265).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=r(715),s=r(121).Buffer,c=e.Uint8Array||function(){};var u,l=r(1040);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=r(1041),m=r(716),b=r(717).getHighWaterMark,v=r(347).codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(53)(k,a);var O=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function S(t,e,n){i=i||r(348),t=t||{},"boolean"!==typeof n&&(n=e instanceof i),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=r(266).StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function k(t){if(i=i||r(348),!(this instanceof k))return new k(t);var e=this instanceof i;this._readableState=new S(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function E(t,e,r,n,i){u("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(u("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,A(t)))}(t,a);else if(i||(o=function(t,e){var r;n=e,s.isBuffer(n)||n instanceof c||"string"===typeof e||void 0===e||t.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(a,e)),o)O(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),n)a.endEmitted?O(t,new x):M(t,a,e,!0);else if(a.ended)O(t,new y);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?M(t,a,e,!1):T(t,a)):M(t,a,e,!1)}else n||(a.reading=!1,T(t,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function M(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),T(t,e)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(t,e){e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=s.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},k.prototype.unshift=function(t){return E(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){f||(f=r(266).StringDecoder);var e=new f(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var e=t._readableState;u("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(u("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(A,t))}function A(t){var e=t._readableState;u("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,I(t)}function T(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(P,t,e))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(u("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){u("readable nexttick read 0"),t.read(0)}function L(t,e){u("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),I(t),e.flowing&&!e.reading&&t.read(0)}function I(t){var e=t._readableState;for(u("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var e=t._readableState;u("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(B,e,t))}function B(t,e){if(u("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function z(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}k.prototype.read=function(t){u("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return u("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):j(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return u("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&u("length less than watermark",i=!0),e.ended||e.reading?u("reading or ended",i=!1):i&&(u("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){O(this,new w("_read()"))},k.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?c:b;function s(e,n){u("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),t.removeListener("close",p),t.removeListener("finish",m),t.removeListener("drain",l),t.removeListener("error",d),t.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",h),f=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function c(){u("onend"),t.end()}i.endEmitted?n.nextTick(a):r.once("end",a),t.on("unpipe",s);var l=function(t){return function(){var e=t._readableState;u("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,I(t))}}(r);t.on("drain",l);var f=!1;function h(e){u("ondata");var n=t.write(e);u("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==z(i.pipes,t))&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(e){u("onerror",e),b(),t.removeListener("error",d),0===o(t,"error")&&O(t,e)}function p(){t.removeListener("finish",m),b()}function m(){u("onfinish"),t.removeListener("close",p),b()}function b(){u("unpipe"),r.unpipe(t)}return r.on("data",h),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",d),t.once("close",p),t.once("finish",m),t.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?j(this):i.reading||n.nextTick(R,this))),r},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(t,e){var r=a.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(D,this),r},k.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(D,this),e},k.prototype.resume=function(){var t=this._readableState;return t.flowing||(u("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(L,t,e))}(this,t)),t.paused=!1,this},k.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<_.length;o++)t.on(_[o],this.emit.bind(this,_[o]));return this._read=function(e){u("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"===typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(1043)),h(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),k._fromList=N,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(k.from=function(t,e){return void 0===d&&(d=r(1044)),d(k,t,e)})}).call(this,r(120),r(112))},function(t,e,r){t.exports=r(265).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(112))},function(t,e,r){"use strict";var n=r(347).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var o;t.exports=k,k.WritableState=S;var a={deprecate:r(599)},s=r(715),c=r(121).Buffer,u=e.Uint8Array||function(){};var l,f=r(716),h=r(717).getHighWaterMark,d=r(347).codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,O=f.errorOrDestroy;function _(){}function S(t,e,a){o=o||r(348),t=t||{},"boolean"!==typeof a&&(a=e instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new b;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,i,o){--e.pendingcb,r?(n.nextTick(o,i),n.nextTick(T,t,e),t._writableState.errorEmitted=!0,O(t,i)):(o(i),t._writableState.errorEmitted=!0,O(t,i),T(t,e))}(t,r,i,e,o);else{var a=j(r)||t.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(t,r),i?n.nextTick(M,t,r,a,o):M(t,r,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(t){var e=this instanceof(o=o||r(348));if(!e&&!l.call(k,this))return new k(t);this._writableState=new S(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),s.call(this)}function E(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),T(t,e)}function C(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)o[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;o.allBuffers=c,E(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(E(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(r){e.pendingcb--,r&&O(t,r),e.prefinished=!0,t.emit("prefinish"),T(t,e)}))}function T(t,e){var r=j(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(A,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return r}r(53)(k,s),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===k&&(t&&t._writableState instanceof S)}})):l=function(t){return t instanceof this},k.prototype.pipe=function(){O(this,new v)},k.prototype.write=function(t,e,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,c.isBuffer(i)||i instanceof u);return s&&!c.isBuffer(t)&&(t=function(t){return c.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof r&&(r=_),o.ending?function(t,e){var r=new w;O(t,r),n.nextTick(e,r)}(this,r):(s||function(t,e,r,i){var o;return null===r?o=new y:"string"===typeof r||e.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(O(t,o),n.nextTick(i,o),!1)}(this,o,t,r))&&(o.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=c.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,s,n,i,o);return u}(this,o,s,t,e,r)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},k.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,r){r(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,e,r){var i=this._writableState;return"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,r){e.ending=!0,T(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,i,r),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=f.destroy,k.prototype._undestroy=f.undestroy,k.prototype._destroy=function(t,e){e(t)}}).call(this,r(120),r(112))},function(t,e,r){"use strict";t.exports=l;var n=r(347).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(348);function u(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(e,r){h(t,e,r)}))}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}r(53)(l,c),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new i("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function h(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,m=0|this._g,b=0|this._h,v=0;v<16;++v)r[v]=t.readInt32BE(4*v);for(;v<64;++v)r[v]=0|(((e=r[v-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[v-7]+d(r[v-15])+r[v-16];for(var g=0;g<64;++g){var y=b+h(c)+u(c,p,m)+a[g]+r[g]|0,w=f(n)+l(n,i,o)|0;b=m,m=p,p=c,c=s+y|0,s=o,o=i,i=n,n=y+w|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},c.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=c},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function u(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function f(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function h(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function b(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function v(t,e){return t>>>0<e>>>0?1:0}n(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,w=0|this._al,x=0|this._bl,O=0|this._cl,_=0|this._dl,S=0|this._el,k=0|this._fl,E=0|this._gl,M=0|this._hl,C=0;C<32;C+=2)e[C]=t.readInt32BE(4*C),e[C+1]=t.readInt32BE(4*C+4);for(;C<160;C+=2){var j=e[C-30],A=e[C-30+1],T=d(j,A),P=p(A,j),D=m(j=e[C-4],A=e[C-4+1]),R=b(A,j),L=e[C-14],I=e[C-14+1],N=e[C-32],F=e[C-32+1],B=P+I|0,z=T+L+v(B,P)|0;z=(z=z+D+v(B=B+R|0,R)|0)+N+v(B=B+F|0,F)|0,e[C]=z,e[C+1]=B}for(var H=0;H<160;H+=2){z=e[H],B=e[H+1];var U=l(r,n,i),W=l(w,x,O),q=f(r,w),V=f(w,r),G=h(s,S),Y=h(S,s),X=a[H],$=a[H+1],K=u(s,c,g),Z=u(S,k,E),J=M+Y|0,Q=y+G+v(J,M)|0;Q=(Q=(Q=Q+K+v(J=J+Z|0,Z)|0)+X+v(J=J+$|0,$)|0)+z+v(J=J+B|0,B)|0;var tt=V+W|0,et=q+U+v(tt,V)|0;y=g,M=E,g=c,E=k,c=s,k=S,s=o+Q+v(S=_+J|0,_)|0,o=i,_=O,i=n,O=x,n=r,x=w,r=Q+et+v(w=J+tt|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+O|0,this._dl=this._dl+_|0,this._el=this._el+S|0,this._fl=this._fl+k|0,this._gl=this._gl+E|0,this._hl=this._hl+M|0,this._ah=this._ah+r+v(this._al,w)|0,this._bh=this._bh+n+v(this._bl,x)|0,this._ch=this._ch+i+v(this._cl,O)|0,this._dh=this._dh+o+v(this._dl,_)|0,this._eh=this._eh+s+v(this._el,S)|0,this._fh=this._fh+c+v(this._fl,k)|0,this._gh=this._gh+g+v(this._gl,E)|0,this._hh=this._hh+y+v(this._hl,M)|0},c.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=c},function(t,e,r){"use strict";var n=r(53),i=r(1051),o=r(267),a=r(71).Buffer,s=r(723),c=r(602),u=r(603),l=a.alloc(128);function f(t,e){o.call(this,"digest"),"string"===typeof e&&(e=a.from(e));var r="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>r)?e=("rmd160"===t?new c:u(t)).update(e).digest():e.length<r&&(e=a.concat([e,l],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new c:u(t),this._hash.update(n)}n(f,o),f.prototype._update=function(t){this._hash.update(t)},f.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new f("rmd160",e):"md5"===t?new i(s,e):new f(t,e)}},function(t,e,r){var n=r(600);t.exports=function(t){return(new n).update(t).digest()}},function(t){t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(t,e,r){e.pbkdf2=r(1053),e.pbkdf2Sync=r(728)},function(t,e){var r=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!==typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!==typeof e)throw new TypeError("Key length not a number");if(e<0||e>r||e!==e)throw new TypeError("Bad key length")}},function(t,e,r){(function(e,r){var n;if(e.process&&e.process.browser)n="utf-8";else if(e.process&&e.process.version){n=parseInt(r.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";t.exports=n}).call(this,r(120),r(112))},function(t,e,r){var n=r(723),i=r(602),o=r(603),a=r(71).Buffer,s=r(726),c=r(727),u=r(729),l=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(t,e,r){var s=function(t){function e(e){return o(t).update(e).digest()}return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?n:e}(t),c="sha512"===t||"sha384"===t?128:64;e.length>c?e=s(e):e.length<c&&(e=a.concat([e,l],c));for(var u=a.allocUnsafe(c+f[t]),h=a.allocUnsafe(c+f[t]),d=0;d<c;d++)u[d]=54^e[d],h[d]=92^e[d];var p=a.allocUnsafe(c+r+4);u.copy(p,0,0,c),this.ipad1=p,this.ipad2=u,this.opad=h,this.alg=t,this.blocksize=c,this.hash=s,this.size=f[t]}h.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,r,n,i){s(r,n);var o=new h(i=i||"sha1",t=u(t,c,"Password"),(e=u(e,c,"Salt")).length),l=a.allocUnsafe(n),d=a.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=f[i],b=Math.ceil(n/m),v=1;v<=b;v++){d.writeUInt32BE(v,e.length);for(var g=o.run(d,o.ipad1),y=g,w=1;w<r;w++){y=o.run(y,o.ipad2);for(var x=0;x<m;x++)g[x]^=y[x]}g.copy(l,p),p+=m}return l}},function(t,e,r){var n=r(71).Buffer;t.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"===typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(t,e,r){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},e.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,r,i){for(var o=0,a=0,s=n.length>>>1,c=0;c<s;c++)o<<=1,o|=t>>>n[c]&1;for(c=s;c<n.length;c++)a<<=1,a|=e>>>n[c]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},e.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var r=0,n=0;n<4;n++){r<<=4,r|=i[64*n+(t>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=i[256+64*n+(e>>>18-6*n&63)]}return r>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,r=0;r<o.length;r++)e<<=1,e|=t>>>o[r]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var i=[],o=0;o<e;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},function(t,e,r){"use strict";var n=r(190),i=r(53),o=r(730),a=r(604);function s(){this.tmp=new Array(2),this.keys=null}function c(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(c,a),t.exports=c,c.create=function(t){return new c(t)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(r,i,t.tmp,0),r=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=u[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,t.keys,a)}},c.prototype._update=function(t,e,r,n){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},c.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n<t.length;n++)t[n]=r;return!0},c.prototype._unpad=function(t){for(var e=t[t.length-1],r=t.length-e;r<t.length;r++)n.equal(t[r],e);return t.slice(0,t.length-e)},c.prototype._encrypt=function(t,e,r,n,i){for(var a=e,s=r,c=0;c<t.keys.length;c+=2){var u=t.keys[c],l=t.keys[c+1];o.expand(s,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=s;s=(a^o.permute(f))>>>0,a=h}o.rip(s,a,n,i)},c.prototype._decrypt=function(t,e,r,n,i){for(var a=r,s=e,c=t.keys.length-2;c>=0;c-=2){var u=t.keys[c],l=t.keys[c+1];o.expand(a,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var f=o.substitute(u,l),h=a;a=(s^o.permute(f))>>>0,s=h}o.rip(a,s,n,i)}},function(t,e,r){var n=r(395),i=r(71).Buffer,o=r(733);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var r=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var c=a(t),u=o+16*s;t._cache.writeUInt32BE(c[0],u+0),t._cache.writeUInt32BE(c[1],u+4),t._cache.writeUInt32BE(c[2],u+8),t._cache.writeUInt32BE(c[3],u+12)}var l=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,l)}},function(t,e){t.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},function(t){t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(t,e,r){var n=r(476),i=r(71).Buffer,o=r(267),a=r(53),s=r(1066),c=r(395),u=r(733);function l(t,e,r,a){o.call(this);var c=i.alloc(4,0);this._cipher=new n.AES(e);var l=this._cipher.encryptBlock(c);this._ghash=new s(l),r=function(t,e,r){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var n=new s(r),o=e.length,a=o%16;n.update(e),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var c=8*o,l=i.alloc(8);l.writeUIntBE(c,0,8),n.update(l),t._finID=n.state;var f=i.from(t._finID);return u(f),f}(this,r,l),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(l,o),l.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;i<n;++i)r+=t[i]^e[i];return r}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},l.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=l},function(t,e,r){var n=r(476),i=r(71).Buffer,o=r(267);function a(t,e,r,a){o.call(this),this._cipher=new n.AES(e),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}r(53)(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},function(t,e,r){var n=r(346);t.exports=g,g.simpleSieve=b,g.fermatTest=v;var i=r(738),o=new i(24),a=new(r(739)),s=new i(1),c=new i(2),u=new i(5),l=(new i(16),new i(8),new i(10)),f=new i(3),h=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<e&&t[i]<=n&&r%t[i]!==0;i++);e!==i&&t[i]<=n||(t[e++]=r)}return p=t,t}function b(t){for(var e=m(),r=0;r<e.length;r++)if(0===t.modn(e[r]))return 0===t.cmpn(e[r]);return!0}function v(t){var e=i.mont(t);return 0===c.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function g(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var r,p;for(e=new i(e);;){for(r=new i(n(Math.ceil(t/8)));r.bitLength()>t;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(c),e.cmp(c)){if(!e.cmp(u))for(;r.mod(l).cmp(f);)r.iadd(d)}else for(;r.mod(o).cmp(h);)r.iadd(d);if(b(p=r.shrn(1))&&b(r)&&v(p)&&v(r)&&a.test(p)&&a.test(r))return r}}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1070).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){var n=r(1071),i=r(607);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,e,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),c=0;!s.testn(c);c++);for(var u=t.shrn(c),l=s.toRed(o);e>0;e--){var f=this._randrange(new n(2),s);r&&r(f);var h=f.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(l)){for(var d=1;d<c;d++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(l))break}if(d===c)return!1}}return!0},o.prototype.getDivisor=function(t,e){var r=t.bitLength(),i=n.mont(t),o=new n(1).toRed(i);e||(e=Math.max(1,r/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var c=t.shrn(s),u=a.toRed(i);e>0;e--){var l=this._randrange(new n(2),a),f=t.gcd(l);if(0!==f.cmpn(1))return f;var h=l.toRed(i).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var d=1;d<s;d++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(t);if(0===h.cmp(u))break}if(d===s)return(h=h.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},function(t,e,r){"use strict";(function(e,n){var i;t.exports=k,k.ReadableState=S;r(265).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=r(741),s=r(121).Buffer,c=e.Uint8Array||function(){};var u,l=r(1078);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h,d,p=r(1079),m=r(742),b=r(743).getHighWaterMark,v=r(350).codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(53)(k,a);var O=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function S(t,e,n){i=i||r(351),t=t||{},"boolean"!==typeof n&&(n=e instanceof i),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=b(this,t,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=r(266).StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function k(t){if(i=i||r(351),!(this instanceof k))return new k(t);var e=this instanceof i;this._readableState=new S(t,this,e),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function E(t,e,r,n,i){u("readableAddChunk",e);var o,a=t._readableState;if(null===e)a.reading=!1,function(t,e){if(u("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?j(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,A(t)))}(t,a);else if(i||(o=function(t,e){var r;n=e,s.isBuffer(n)||n instanceof c||"string"===typeof e||void 0===e||t.objectMode||(r=new g("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(a,e)),o)O(t,o);else if(a.objectMode||e&&e.length>0)if("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===s.prototype||(e=function(t){return s.from(t)}(e)),n)a.endEmitted?O(t,new x):M(t,a,e,!0);else if(a.ended)O(t,new y);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(e=a.decoder.write(e),a.objectMode||0!==e.length?M(t,a,e,!1):T(t,a)):M(t,a,e,!1)}else n||(a.reading=!1,T(t,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function M(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&j(t)),T(t,e)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),k.prototype.destroy=m.destroy,k.prototype._undestroy=m.undestroy,k.prototype._destroy=function(t,e){e(t)},k.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"===typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=s.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},k.prototype.unshift=function(t){return E(this,t,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(t){f||(f=r(266).StringDecoder);var e=new f(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var e=t._readableState;u("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(u("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(A,t))}function A(t){var e=t._readableState;u("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,I(t)}function T(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(P,t,e))}function P(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(u("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function R(t){u("readable nexttick read 0"),t.read(0)}function L(t,e){u("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),I(t),e.flowing&&!e.reading&&t.read(0)}function I(t){var e=t._readableState;for(u("flow",e.flowing);e.flowing&&null!==t.read(););}function N(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var e=t._readableState;u("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(B,e,t))}function B(t,e){if(u("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function z(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}k.prototype.read=function(t){u("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return u("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):j(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return u("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&u("length less than watermark",i=!0),e.ended||e.reading?u("reading or ended",i=!1):i&&(u("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?N(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){O(this,new w("_read()"))},k.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,u("pipe count=%d opts=%j",i.pipesCount,e);var a=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?c:b;function s(e,n){u("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),t.removeListener("close",p),t.removeListener("finish",m),t.removeListener("drain",l),t.removeListener("error",d),t.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",h),f=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function c(){u("onend"),t.end()}i.endEmitted?n.nextTick(a):r.once("end",a),t.on("unpipe",s);var l=function(t){return function(){var e=t._readableState;u("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,I(t))}}(r);t.on("drain",l);var f=!1;function h(e){u("ondata");var n=t.write(e);u("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==z(i.pipes,t))&&!f&&(u("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function d(e){u("onerror",e),b(),t.removeListener("error",d),0===o(t,"error")&&O(t,e)}function p(){t.removeListener("finish",m),b()}function m(){u("onfinish"),t.removeListener("close",p),b()}function b(){u("unpipe"),r.unpipe(t)}return r.on("data",h),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",d),t.once("close",p),t.once("finish",m),t.emit("pipe",r),i.flowing||(u("pipe resume"),r.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},k.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,u("on readable",i.length,i.reading),i.length?j(this):i.reading||n.nextTick(R,this))),r},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(t,e){var r=a.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(D,this),r},k.prototype.removeAllListeners=function(t){var e=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(D,this),e},k.prototype.resume=function(){var t=this._readableState;return t.flowing||(u("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(L,t,e))}(this,t)),t.paused=!1,this},k.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),!r.objectMode||null!==i&&void 0!==i)&&((r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause())))})),t)void 0===this[i]&&"function"===typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<_.length;o++)t.on(_[o],this.emit.bind(this,_[o]));return this._read=function(e){u("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"===typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(1081)),h(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),k._fromList=N,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(k.from=function(t,e){return void 0===d&&(d=r(1082)),d(k,t,e)})}).call(this,r(120),r(112))},function(t,e,r){t.exports=r(265).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,o){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(o?o(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!o&&t?a._writableState?a._writableState.errorEmitted?e.nextTick(n,a):(a._writableState.errorEmitted=!0,e.nextTick(r,a,t)):e.nextTick(r,a,t):o?(e.nextTick(n,a),o(t)):e.nextTick(n,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(112))},function(t,e,r){"use strict";var n=r(350).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var o;t.exports=k,k.WritableState=S;var a={deprecate:r(599)},s=r(741),c=r(121).Buffer,u=e.Uint8Array||function(){};var l,f=r(742),h=r(743).getHighWaterMark,d=r(350).codes,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,b=d.ERR_MULTIPLE_CALLBACK,v=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,O=f.errorOrDestroy;function _(){}function S(t,e,a){o=o||r(351),t=t||{},"boolean"!==typeof a&&(a=e instanceof o),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=h(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,i=r.sync,o=r.writecb;if("function"!==typeof o)throw new b;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,i,o){--e.pendingcb,r?(n.nextTick(o,i),n.nextTick(T,t,e),t._writableState.errorEmitted=!0,O(t,i)):(o(i),t._writableState.errorEmitted=!0,O(t,i),T(t,e))}(t,r,i,e,o);else{var a=j(r)||t.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(t,r),i?n.nextTick(M,t,r,a,o):M(t,r,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(t){var e=this instanceof(o=o||r(351));if(!e&&!l.call(k,this))return new k(t);this._writableState=new S(t,this,e),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),s.call(this)}function E(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new g("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),T(t,e)}function C(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,o=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,c=!0;r;)o[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;o.allBuffers=c,E(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(E(t,e,!1,e.objectMode?1:u.length,u,l,f),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function j(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(r){e.pendingcb--,r&&O(t,r),e.prefinished=!0,t.emit("prefinish"),T(t,e)}))}function T(t,e){var r=j(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(A,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return r}r(53)(k,s),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(t){return!!l.call(this,t)||this===k&&(t&&t._writableState instanceof S)}})):l=function(t){return t instanceof this},k.prototype.pipe=function(){O(this,new v)},k.prototype.write=function(t,e,r){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=t,c.isBuffer(i)||i instanceof u);return s&&!c.isBuffer(t)&&(t=function(t){return c.from(t)}(t)),"function"===typeof e&&(r=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof r&&(r=_),o.ending?function(t,e){var r=new w;O(t,r),n.nextTick(e,r)}(this,r):(s||function(t,e,r,i){var o;return null===r?o=new y:"string"===typeof r||e.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(O(t,o),n.nextTick(i,o),!1)}(this,o,t,r))&&(o.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=c.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,s,n,i,o);return u}(this,o,s,t,e,r)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||C(this,t))},k.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new x(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(t,e,r){r(new m("_write()"))},k.prototype._writev=null,k.prototype.end=function(t,e,r){var i=this._writableState;return"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,r){e.ending=!0,T(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,i,r),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),k.prototype.destroy=f.destroy,k.prototype._undestroy=f.undestroy,k.prototype._destroy=function(t,e){e(t)}}).call(this,r(120),r(112))},function(t,e,r){"use strict";t.exports=l;var n=r(350).codes,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(351);function u(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function f(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush((function(e,r){h(t,e,r)}))}function h(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}r(53)(l,c),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new i("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){c.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){"use strict";var n=e;function i(t){return 1===t.length?"0"+t:t}function o(t){for(var e="",r=0;r<t.length;r++)e+=i(t[r].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!==typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t);for(n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16))}else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},n.zero2=i,n.toHex=o,n.encode=function(t,e){return"hex"===e?o(t):t}},function(t,e,r){"use strict";var n=e;n.base=r(478),n.short=r(1089),n.mont=r(1090),n.edwards=r(1091)},function(t,e,r){"use strict";var n=r(215).rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function a(t,e,r){return t^e^r}e.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?a(e,r,n):2===t?o(e,r,n):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},function(t,e,r){"use strict";var n=r(215),i=r(396),o=r(748),a=r(190),s=n.sum32,c=n.sum32_4,u=n.sum32_5,l=o.ch32,f=o.maj32,h=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,b=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}n.inherits(g,b),t.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=c(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],b=this.h[2],v=this.h[3],g=this.h[4],y=this.h[5],w=this.h[6],x=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var O=u(x,d(g),l(g,y,w),this.k[n],r[n]),_=s(h(i),f(i,o,b));x=w,w=y,y=g,g=s(v,O),v=b,b=o,o=i,i=s(O,_)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],b),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],g),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],x)},g.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(215),i=r(396),o=r(190),a=n.rotr64_hi,s=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,f=n.sum64_hi,h=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,b=n.sum64_5_lo,v=i.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function w(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function x(t,e,r,n,i,o){var a=e&n^~e&o;return a<0&&(a+=4294967296),a}function O(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function _(t,e,r,n,i,o){var a=e&n^e&o^n&o;return a<0&&(a+=4294967296),a}function S(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function k(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function E(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=4294967296),r}function M(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function C(t,e){var r=a(t,e,1)^a(t,e,8)^c(t,e,7);return r<0&&(r+=4294967296),r}function j(t,e){var r=s(t,e,1)^s(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function A(t,e){var r=a(t,e,19)^a(e,t,29)^c(t,e,6);return r<0&&(r+=4294967296),r}function T(t,e){var r=s(t,e,19)^s(e,t,29)^u(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(y,v),t.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=A(r[n-4],r[n-3]),o=T(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],c=C(r[n-30],r[n-29]),u=j(r[n-30],r[n-29]),l=r[n-32],f=r[n-31];r[n]=d(i,o,a,s,c,u,l,f),r[n+1]=p(i,o,a,s,c,u,l,f)}},y.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],c=this.h[4],u=this.h[5],d=this.h[6],p=this.h[7],v=this.h[8],g=this.h[9],y=this.h[10],C=this.h[11],j=this.h[12],A=this.h[13],T=this.h[14],P=this.h[15];o(this.k.length===r.length);for(var D=0;D<r.length;D+=2){var R=T,L=P,I=E(v,g),N=M(v,g),F=w(v,g,y,C,j),B=x(v,g,y,C,j,A),z=this.k[D],H=this.k[D+1],U=r[D],W=r[D+1],q=m(R,L,I,N,F,B,z,H,U,W),V=b(R,L,I,N,F,B,z,H,U,W);R=S(n,i),L=k(n,i),I=O(n,i,a,s,c),N=_(n,i,a,s,c,u);var G=f(R,L,I,N),Y=h(R,L,I,N);T=j,P=A,j=y,A=C,y=v,C=g,v=f(d,p,q,V),g=h(p,p,q,V),d=c,p=u,c=a,u=s,a=n,s=i,n=f(q,V,G,Y),i=h(q,V,G,Y)}l(this.h,0,n,i),l(this.h,2,a,s),l(this.h,4,c,u),l(this.h,6,d,p),l(this.h,8,v,g),l(this.h,10,y,C),l(this.h,12,j,A),l(this.h,14,T,P)},y.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=e;n.bignum=r(752),n.define=r(1108).define,n.base=r(1111),n.constants=r(1112),n.decoders=r(755),n.encoders=r(753)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1107).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},function(t,e,r){"use strict";var n=e;n.der=r(754),n.pem=r(1109)},function(t,e,r){"use strict";var n=r(53),i=r(615).Buffer,o=r(616),a=r(618);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){o.call(this,"der",t)}function u(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},n(c,o),c.prototype._encodeComposite=function(t,e,r,n){var o=function(t,e,r,n){var i;"seqof"===t?t="seq":"setof"===t&&(t="set");if(a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!==typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);i=t}if(i>=31)return n.error("Multi-octet tag encoding unsupported");e||(i|=32);return i|=a.tagClassByName[r||"universal"]<<6}(t,e,r,this.reporter);if(n.length<128){var s=i.alloc(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var c=1,u=n.length;u>=256;u>>=8)c++;var l=i.alloc(2+c);l[0]=o,l[1]=128|c;for(var f=1+c,h=n.length;h>0;f--,h>>=8)l[f]=255&h;return this._createEncoderBuffer([l,n])},c.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=i.alloc(2*t.length),n=0;n<t.length;n++)r.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},c.prototype._encodeObjid=function(t,e,r){if("string"===typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t)){t=t.slice();for(var o=0;o<t.length;o++)t[o]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,s=0;s<t.length;s++){var c=t[s];for(a++;c>=128;c>>=7)a++}for(var u=i.alloc(a),l=u.length-1,f=t.length-1;f>=0;f--){var h=t[f];for(u[l--]=127&h;(h>>=7)>0;)u[l--]=128|127&h}return this._createEncoderBuffer(u)},c.prototype._encodeTime=function(t,e){var r,n=new Date(t);return"gentime"===e?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(t,e){if("string"===typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!==typeof t&&!i.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=i.from(r)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var o=i.alloc(n);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var a=1,s=t;s>=256;s>>=8)a++;for(var c=new Array(a),u=c.length-1;u>=0;u--)c[u]=255&t,t>>=8;return 128&c[0]&&c.unshift(0),this._createEncoderBuffer(i.from(c))},c.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},c.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getEncoder("der").tree},c.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},function(t,e,r){"use strict";var n=e;n.der=r(756),n.pem=r(1110)},function(t,e,r){"use strict";var n=r(53),i=r(752),o=r(397).DecoderBuffer,a=r(616),s=r(618);function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){a.call(this,"der",t)}function l(t,e){var r=t.readUInt8(e);if(t.isError(r))return r;var n=s.tagClass[r>>6],i=0===(32&r);if(31===(31&r)){var o=r;for(r=0;128===(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function f(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0===(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=t.readUInt8(r);if(t.isError(a))return a;n|=a}return n}t.exports=c,c.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},n(u,a),u.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;var n=t.save(),i=l(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(n),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||r)},u.prototype._decodeTag=function(t,e,r){var n=l(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;var i=f(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},u.prototype._skipUntilEnd=function(t,e){for(;;){var r=l(t,e);if(t.isError(r))return r;var n=f(t,r.primitive,e);if(t.isError(n))return n;var i=void 0;if(i=r.primitive||null!==n?t.skip(n):this._skipUntilEnd(t,e),t.isError(i))return i;if("end"===r.tagStr)break}},u.prototype._decodeList=function(t,e,r,n){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=r.decode(t,"der",n);if(t.isError(a)&&o)break;i.push(a)}return i},u.prototype._decodeStr=function(t,e){if("bitstr"===e){var r=t.readUInt8();return t.isError(r)?r:{unused:r,data:t.raw()}}if("bmpstr"===e){var n=t.raw();if(n.length%2===1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===e){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var s=t.raw().toString("ascii");return this._isPrintstr(s)?s:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},u.prototype._decodeObjid=function(t,e,r){for(var n,i=[],o=0,a=0;!t.isEmpty();)o<<=7,o|=127&(a=t.readUInt8()),0===(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var s=i[0]/40|0,c=i[0]%40;if(n=r?i:[s,c].concat(i.slice(1)),e){var u=e[n.join(" ")];void 0===u&&(u=e[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(t,e){var r,n,i,o,a,s,c=t.raw().toString();if("gentime"===e)r=0|c.slice(0,4),n=0|c.slice(4,6),i=0|c.slice(6,8),o=0|c.slice(8,10),a=0|c.slice(10,12),s=0|c.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|c.slice(0,2),n=0|c.slice(2,4),i=0|c.slice(4,6),o=0|c.slice(6,8),a=0|c.slice(8,10),s=0|c.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,n-1,i,o,a,s,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},u.prototype._decodeInt=function(t,e){var r=t.raw(),n=new i(r);return e&&(n=e[n.toString(10)]||n),n},u.prototype._use=function(t,e){return"function"===typeof t&&(t=t(e)),t._getDecoder("der").tree}},function(t){t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(t,e,r){var n=r(394),i=r(71).Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var r,a=i.alloc(0),s=0;a.length<e;)r=o(s++),a=i.concat([a,n("sha1").update(t).update(r).digest()]);return a.slice(0,e)}},function(t,e){t.exports=function(t,e){for(var r=t.length,n=-1;++n<r;)t[n]^=e[n];return t}},function(t,e,r){var n=r(619),i=r(71).Buffer;t.exports=function(t,e){return i.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},function(t,e,r){var n=r(121).Buffer;t.exports=function(t){return"string"===typeof t?t:"number"===typeof t||n.isBuffer(t)?t.toString():JSON.stringify(t)}},function(t,e,r){var n=r(480),i=function(t,e){n.call(this,t),this.name="NotBeforeError",this.date=e};(i.prototype=Object.create(n.prototype)).constructor=i,t.exports=i},function(t,e,r){var n=r(480),i=function(t,e){n.call(this,t),this.name="TokenExpiredError",this.expiredAt=e};(i.prototype=Object.create(n.prototype)).constructor=i,t.exports=i},function(t,e,r){var n=r(1129);t.exports=function(t,e){var r=e||Math.floor(Date.now()/1e3);if("string"===typeof t){var i=n(t);if("undefined"===typeof i)return;return Math.floor(r+i/1e3)}return"number"===typeof t?r+t:void 0}},function(t,e,r){(function(e){var n=r(1130);t.exports=n.satisfies(e.version,"^6.12.0 || >=8.0.0")}).call(this,r(112))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){return o.default[t.type](t,e,r)};var n,i=r(1141),o=(n=i)&&n.__esModule?n:{default:n}},function(t,e,r){var n=r(768),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},u=/\s|\//;function l(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(53)(l,r(265).EventEmitter),l.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},l.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},l.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in o)for(var e;(e=this._stack[this._stack.length-1])in o[t];this.onclosetag(e));!this._options.xmlMode&&t in a||(this._stack.push(t),t in s?this._foreignContext.push(!0):t in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},l.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},l.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in s||t in c)&&this._foreignContext.pop(),!this._stack.length||t in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},l.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},l.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},l.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},l.prototype.onattribdata=function(t){this._attribvalue+=t},l.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},l.prototype._getInstructionName=function(t){var e=t.search(u),r=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},l.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},l.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},l.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},l.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},l.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},l.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},l.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},l.prototype.parseComplete=function(t){this.reset(),this.end(t)},l.prototype.write=function(t){this._tokenizer.write(t)},l.prototype.end=function(t){this._tokenizer.end(t)},l.prototype.pause=function(){this._tokenizer.pause()},l.prototype.resume=function(){this._tokenizer.resume()},l.prototype.parseChunk=l.prototype.write,l.prototype.done=l.prototype.end,t.exports=l},function(t,e,r){t.exports=bt;var n=r(1142),i=r(1144),o=r(1145),a=r(1146),s=0,c=s++,u=s++,l=s++,f=s++,h=s++,d=s++,p=s++,m=s++,b=s++,v=s++,g=s++,y=s++,w=s++,x=s++,O=s++,_=s++,S=s++,k=s++,E=s++,M=s++,C=s++,j=s++,A=s++,T=s++,P=s++,D=s++,R=s++,L=s++,I=s++,N=s++,F=s++,B=s++,z=s++,H=s++,U=s++,W=s++,q=s++,V=s++,G=s++,Y=s++,X=s++,$=s++,K=s++,Z=s++,J=s++,Q=s++,tt=s++,et=s++,rt=s++,nt=s++,it=s++,ot=s++,at=s++,st=s++,ct=s++,ut=0,lt=ut++,ft=ut++,ht=ut++;function dt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function pt(t,e,r){var n=t.toLowerCase();return t===n?function(t){t===n?this._state=e:(this._state=r,this._index--)}:function(i){i===n||i===t?this._state=e:(this._state=r,this._index--)}}function mt(t,e){var r=t.toLowerCase();return function(n){n===r||n===t?this._state=e:(this._state=l,this._index--)}}function bt(t,e){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=lt,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}bt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=u,this._sectionStart=this._index):this._decodeEntities&&this._special===lt&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=it,this._sectionStart=this._index)},bt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=h:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==lt||dt(t)?this._state=c:"!"===t?(this._state=O,this._sectionStart=this._index+1):"?"===t?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?l:F,this._sectionStart=this._index)},bt.prototype._stateInTagName=function(t){("/"===t||">"===t||dt(t))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},bt.prototype._stateBeforeCloseingTagName=function(t){dt(t)||(">"===t?this._state=c:this._special!==lt?"s"===t||"S"===t?this._state=B:(this._state=c,this._index--):(this._state=d,this._sectionStart=this._index))},bt.prototype._stateInCloseingTagName=function(t){(">"===t||dt(t))&&(this._emitToken("onclosetag"),this._state=p,this._index--)},bt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===t?this._state=f:dt(t)||(this._state=b,this._sectionStart=this._index)},bt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):dt(t)||(this._state=m,this._index--)},bt.prototype._stateInAttributeName=function(t){("="===t||"/"===t||">"===t||dt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=v,this._index--)},bt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=g:"/"===t||">"===t?(this._cbs.onattribend(),this._state=m,this._index--):dt(t)||(this._cbs.onattribend(),this._state=b,this._sectionStart=this._index)},bt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=y,this._sectionStart=this._index+1):"'"===t?(this._state=w,this._sectionStart=this._index+1):dt(t)||(this._state=x,this._sectionStart=this._index,this._index--)},bt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueNoQuotes=function(t){dt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=it,this._sectionStart=this._index)},bt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?j:"-"===t?k:_},bt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=E,this._sectionStart=this._index+1):this._state=_},bt.prototype._stateInComment=function(t){"-"===t&&(this._state=M)},bt.prototype._stateAfterComment1=function(t){this._state="-"===t?C:E},bt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==t&&(this._state=E)},bt.prototype._stateBeforeCdata1=pt("C",A,_),bt.prototype._stateBeforeCdata2=pt("D",T,_),bt.prototype._stateBeforeCdata3=pt("A",P,_),bt.prototype._stateBeforeCdata4=pt("T",D,_),bt.prototype._stateBeforeCdata5=pt("A",R,_),bt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=L,this._sectionStart=this._index+1):(this._state=_,this._index--)},bt.prototype._stateInCdata=function(t){"]"===t&&(this._state=I)},bt.prototype._stateAfterCdata1=function(t){this._state="]"===t?N:L},bt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==t&&(this._state=L)},bt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=z:"t"===t||"T"===t?this._state=K:(this._state=l,this._index--)},bt.prototype._stateBeforeSpecialEnd=function(t){this._special!==ft||"c"!==t&&"C"!==t?this._special!==ht||"t"!==t&&"T"!==t?this._state=c:this._state=tt:this._state=V},bt.prototype._stateBeforeScript1=mt("R",H),bt.prototype._stateBeforeScript2=mt("I",U),bt.prototype._stateBeforeScript3=mt("P",W),bt.prototype._stateBeforeScript4=mt("T",q),bt.prototype._stateBeforeScript5=function(t){("/"===t||">"===t||dt(t))&&(this._special=ft),this._state=l,this._index--},bt.prototype._stateAfterScript1=pt("R",G,c),bt.prototype._stateAfterScript2=pt("I",Y,c),bt.prototype._stateAfterScript3=pt("P",X,c),bt.prototype._stateAfterScript4=pt("T",$,c),bt.prototype._stateAfterScript5=function(t){">"===t||dt(t)?(this._special=lt,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=c},bt.prototype._stateBeforeStyle1=mt("Y",Z),bt.prototype._stateBeforeStyle2=mt("L",J),bt.prototype._stateBeforeStyle3=mt("E",Q),bt.prototype._stateBeforeStyle4=function(t){("/"===t||">"===t||dt(t))&&(this._special=ht),this._state=l,this._index--},bt.prototype._stateAfterStyle1=pt("Y",et,c),bt.prototype._stateAfterStyle2=pt("L",rt,c),bt.prototype._stateAfterStyle3=pt("E",nt,c),bt.prototype._stateAfterStyle4=function(t){">"===t||dt(t)?(this._special=lt,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=c},bt.prototype._stateBeforeEntity=pt("#",ot,at),bt.prototype._stateBeforeNumericEntity=pt("X",ct,st),bt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?a:i;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},bt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){var r=this._buffer.substr(t,e);if(o.hasOwnProperty(r))return this._emitPartial(o[r]),void(this._sectionStart+=e+1);e--}},bt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},bt.prototype._decodeNumericEntity=function(t,e){var r=this._sectionStart+t;if(r!==this._index){var i=this._buffer.substring(r,this._index),o=parseInt(i,e);this._emitPartial(n(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},bt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},bt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},bt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},bt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},bt.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===c?this._stateText(t):this._state===u?this._stateBeforeTagName(t):this._state===l?this._stateInTagName(t):this._state===h?this._stateBeforeCloseingTagName(t):this._state===d?this._stateInCloseingTagName(t):this._state===p?this._stateAfterCloseingTagName(t):this._state===f?this._stateInSelfClosingTag(t):this._state===m?this._stateBeforeAttributeName(t):this._state===b?this._stateInAttributeName(t):this._state===v?this._stateAfterAttributeName(t):this._state===g?this._stateBeforeAttributeValue(t):this._state===y?this._stateInAttributeValueDoubleQuotes(t):this._state===w?this._stateInAttributeValueSingleQuotes(t):this._state===x?this._stateInAttributeValueNoQuotes(t):this._state===O?this._stateBeforeDeclaration(t):this._state===_?this._stateInDeclaration(t):this._state===S?this._stateInProcessingInstruction(t):this._state===k?this._stateBeforeComment(t):this._state===E?this._stateInComment(t):this._state===M?this._stateAfterComment1(t):this._state===C?this._stateAfterComment2(t):this._state===j?this._stateBeforeCdata1(t):this._state===A?this._stateBeforeCdata2(t):this._state===T?this._stateBeforeCdata3(t):this._state===P?this._stateBeforeCdata4(t):this._state===D?this._stateBeforeCdata5(t):this._state===R?this._stateBeforeCdata6(t):this._state===L?this._stateInCdata(t):this._state===I?this._stateAfterCdata1(t):this._state===N?this._stateAfterCdata2(t):this._state===F?this._stateBeforeSpecial(t):this._state===B?this._stateBeforeSpecialEnd(t):this._state===z?this._stateBeforeScript1(t):this._state===H?this._stateBeforeScript2(t):this._state===U?this._stateBeforeScript3(t):this._state===W?this._stateBeforeScript4(t):this._state===q?this._stateBeforeScript5(t):this._state===V?this._stateAfterScript1(t):this._state===G?this._stateAfterScript2(t):this._state===Y?this._stateAfterScript3(t):this._state===X?this._stateAfterScript4(t):this._state===$?this._stateAfterScript5(t):this._state===K?this._stateBeforeStyle1(t):this._state===Z?this._stateBeforeStyle2(t):this._state===J?this._stateBeforeStyle3(t):this._state===Q?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===rt?this._stateAfterStyle3(t):this._state===nt?this._stateAfterStyle4(t):this._state===it?this._stateBeforeEntity(t):this._state===ot?this._stateBeforeNumericEntity(t):this._state===at?this._stateInNamedEntity(t):this._state===st?this._stateInNumericEntity(t):this._state===ct?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},bt.prototype.pause=function(){this._running=!1},bt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},bt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},bt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},bt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===L||this._state===I||this._state===N?this._cbs.oncdata(t):this._state===E||this._state===M||this._state===C?this._cbs.oncomment(t):this._state!==at||this._xmlMode?this._state!==st||this._xmlMode?this._state!==ct||this._xmlMode?this._state!==l&&this._state!==m&&this._state!==g&&this._state!==v&&this._state!==b&&this._state!==w&&this._state!==y&&this._state!==x&&this._state!==d&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},bt.prototype.reset=function(){bt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},bt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},bt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},bt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},bt.prototype._emitPartial=function(t){this._baseState!==c?this._cbs.onattribdata(t):this._cbs.ontext(t)}},function(t,e,r){var n=r(398),i=/\s+/g,o=r(770),a=r(1147);function s(t,e,r){"object"===typeof t?(r=e,e=t,t=null):"function"===typeof e&&(r=e,e=c),this._callback=t,this._options=e||c,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(t){this._parser=t},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(t){if("function"===typeof this._callback)this._callback(t,this.dom);else if(t)throw t},s.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},s.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var r in e="tag"===t.type?Object.create(a):Object.create(o),t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},s.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],r=e?e.children:this.dom,n=r[r.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),n?(t.prev=n,n.next=t):t.prev=null,r.push(t),t.parent=e||null},s.prototype.onopentag=function(t,e){var r={type:"script"===t?n.Script:"style"===t?n.Style:n.Tag,name:t,attribs:e,children:[]},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(t){var e,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===n.Text)r?e.data=(e.data+t).replace(i," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===n.Text)r?e.data=(e.data+t).replace(i," "):e.data+=t;else{r&&(t=t.replace(i," "));var o=this._createDomElement({data:t,type:n.Text});this._addDomElement(o)}},s.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===n.Comment)e.data+=t;else{var r={data:t,type:n.Comment},i=this._createDomElement(r);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var t={children:[{data:"",type:n.Text}],type:n.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(t,e){var r=this._createDomElement({name:t,data:e,type:n.Directive});this._addDomElement(r)},t.exports=s},function(t,e){var r=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return i[this.type]||i.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},i={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(t){var e=n[t];Object.defineProperty(r,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=t.exports;[r(1149),r(1157),r(1158),r(1159),r(1160),r(1161)].forEach((function(t){Object.keys(t).forEach((function(e){n[e]=t[e].bind(n)}))}))},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var i=n(r(773)),o=n(r(1153)),a=n(r(774)),s=n(r(1154)),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(t){var e=f(t);return function(t){return String(t).replace(c,e)}}e.decodeXML=u(a.default),e.decodeHTMLStrict=u(i.default);var l=function(t,e){return t<e?1:-1};function f(t){return function(e){if("#"===e.charAt(1)){var r=e.charAt(2);return"X"===r||"x"===r?s.default(parseInt(e.substr(3),16)):s.default(parseInt(e.substr(2),10))}return t[e.slice(1,-1)]||e}}e.decodeHTML=function(){for(var t=Object.keys(o.default).sort(l),e=Object.keys(i.default).sort(l),r=0,n=0;r<e.length;r++)t[n]===e[r]?(e[r]+=";?",n++):e[r]+=";";var a=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=f(i.default);function c(t){return";"!==t.substr(-1)&&(t+=";"),s(t)}return function(t){return String(t).replace(a,c)}}()},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var i=l(n(r(774)).default),o=f(i);e.encodeXML=b(i);var a,s,c=l(n(r(773)).default),u=f(c);function l(t){return Object.keys(t).sort().reduce((function(e,r){return e[t[r]]="&"+r+";",e}),{})}function f(t){for(var e=[],r=[],n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];1===o.length?e.push("\\"+o):r.push(o)}e.sort();for(var a=0;a<e.length-1;a++){for(var s=a;s<e.length-1&&e[s].charCodeAt(1)+1===e[s+1].charCodeAt(1);)s+=1;var c=1+s-a;c<3||e.splice(a,c,e[a]+"-"+e[s])}return r.unshift("["+e.join("")+"]"),new RegExp(r.join("|"),"g")}e.encodeHTML=(a=c,s=u,function(t){return t.replace(s,(function(t){return a[t]})).replace(h,p)}),e.encodeNonAsciiHTML=b(c);var h=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=null!=String.prototype.codePointAt?function(t){return t.codePointAt(0)}:function(t){return 1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536};function p(t){return"&#x"+(t.length>1?d(t):t.charCodeAt(0)).toString(16).toUpperCase()+";"}var m=new RegExp(o.source+"|"+h.source,"g");function b(t){return function(e){return e.replace(m,(function(e){return t[e]||p(e)}))}}e.escape=function(t){return t.replace(m,p)},e.escapeUTF8=function(t){return t.replace(o,p)}},function(t,e,r){t.exports=s;var n=r(767),i=r(1163).Writable,o=r(266).StringDecoder,a=r(121).Buffer;function s(t,e){var r=this._parser=new n(t,e),a=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(53)(s,i),s.prototype._write=function(t,e,r){t instanceof a&&(t=this._decoder.write(t)),this._parser.write(t),r()}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=function(t,e){var r=n({},(0,i.default)(t),{key:e});"string"===typeof r.style||r.style instanceof String?r.style=(0,o.default)(r.style):delete r.style;return r};var i=a(r(1168)),o=a(r(1171));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){i.hasOwnProperty(t)||(i[t]=n.test(t));return i[t]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,i={}},function(t,e){function r(){return t.exports=r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,r.apply(this,arguments)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},,,function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(12),i=r.n(n),o=r(29),a=i.a.mark(s);function s(t){var e,r,n;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:e=Object(o.a)(t),i.prev=1,e.s();case 3:if((r=e.n()).done){i.next=8;break}return n=r.value,i.delegateYield(n,"t0",6);case 6:i.next=3;break;case 8:i.next=13;break;case 10:i.prev=10,i.t1=i.catch(1),e.e(i.t1);case 13:return i.prev=13,e.f(),i.finish(13);case 16:case"end":return i.stop()}}),a,null,[[1,10,13,16]])}function c(t){return Array.from(s(t))}},function(t,e,r){"use strict";e.a=function(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}},function(t,e,r){"use strict";function n(t){return((t=Math.exp(t))+1/t)/2}e.a=function t(e,r,i){function o(t,o){var a,s,c=t[0],u=t[1],l=t[2],f=o[0],h=o[1],d=o[2],p=f-c,m=h-u,b=p*p+m*m;if(b<1e-12)s=Math.log(d/l)/e,a=function(t){return[c+t*p,u+t*m,l*Math.exp(e*t*s)]};else{var v=Math.sqrt(b),g=(d*d-l*l+i*b)/(2*l*r*v),y=(d*d-l*l-i*b)/(2*d*r*v),w=Math.log(Math.sqrt(g*g+1)-g),x=Math.log(Math.sqrt(y*y+1)-y);s=(x-w)/e,a=function(t){var i,o=t*s,a=n(w),f=l/(r*v)*(a*(i=e*o+w,((i=Math.exp(2*i))-1)/(i+1))-function(t){return((t=Math.exp(t))-1/t)/2}(w));return[c+f*p,u+f*m,l*a/n(e*o+w)]}}return a.duration=1e3*s*e/Math.SQRT2,a}return o.rho=function(e){var r=Math.max(.001,+e),n=r*r;return t(r,n,n*n)},o}(Math.SQRT2,2,4)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(274);function i(t,e){void 0===e&&(e=t,t=n.a);for(var r=0,i=e.length-1,o=e[0],a=new Array(i<0?0:i);r<i;)a[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(i-1,Math.floor(t*=i)));return a[e](t-e)}}},function(t,e,r){"use strict";var n=r(29),i=r(224),o=r(59),a=r(205),s=r(204);function c(t,e){return t[e]}function u(t){var e=[];return e.key=t,e}e.a=function(){var t=Object(o.a)([]),e=s.a,r=a.a,l=c;function f(o){var a,s,c,f=Array.from(t.apply(this,arguments),u),h=f.length,d=-1,p=Object(n.a)(o);try{for(p.s();!(c=p.n()).done;){var m=c.value;for(a=0,++d;a<h;++a)(f[a][d]=[0,+l(m,f[a].key,d,o)]).data=m}}catch(b){p.e(b)}finally{p.f()}for(a=0,s=Object(i.a)(e(f));a<h;++a)f[s[a]].index=a;return r(f,s),f}return f.keys=function(e){return arguments.length?(t="function"===typeof e?e:Object(o.a)(Array.from(e)),f):t},f.value=function(t){return arguments.length?(l="function"===typeof t?t:Object(o.a)(+t),f):l},f.order=function(t){return arguments.length?(e=null==t?s.a:"function"===typeof t?t:Object(o.a)(Array.from(t)),f):e},f.offset=function(t){return arguments.length?(r=null==t?a.a:t,f):r},f}},function(t,e,r){"use strict";var n=r(205);e.a=function(t,e){if((i=t.length)>0){for(var r,i,o,a=0,s=t[0].length;a<s;++a){for(o=r=0;r<i;++r)o+=t[r][a][1]||0;if(o)for(r=0;r<i;++r)t[r][a][1]/=o}Object(n.a)(t,e)}}},function(t,e,r){"use strict";var n=r(205);e.a=function(t,e){if((r=t.length)>0){for(var r,i=0,o=t[e[0]],a=o.length;i<a;++i){for(var s=0,c=0;s<r;++s)c+=t[s][i][1]||0;o[i][1]+=o[i][0]=-c/2}Object(n.a)(t,e)}}},function(t,e,r){"use strict";var n=r(205);e.a=function(t,e){if((o=t.length)>0&&(i=(r=t[e[0]]).length)>0){for(var r,i,o,a=0,s=1;s<i;++s){for(var c=0,u=0,l=0;c<o;++c){for(var f=t[e[c]],h=f[s][1]||0,d=(h-(f[s-1][1]||0))/2,p=0;p<c;++p){var m=t[e[p]];d+=(m[s][1]||0)-(m[s-1][1]||0)}u+=h,l+=d*h}r[s-1][1]+=r[s-1][0]=a,u&&(a-=l/u)}r[s-1][1]+=r[s-1][0]=a,Object(n.a)(t,e)}}},function(t,e,r){"use strict";r.r(e);var n=r(549),i=r(293),o=r(550),a=r(167),s=r(361),c=r(360),u=r(279),l=r(551),f=Object.prototype.hasOwnProperty;e.default=function(t){if(null==t)return!0;if(Object(s.a)(t)&&(Object(a.default)(t)||"string"==typeof t||"function"==typeof t.splice||Object(c.a)(t)||Object(l.a)(t)||Object(o.a)(t)))return!t.length;var e=Object(i.a)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Object(u.a)(t))return!Object(n.a)(t).length;for(var r in t)if(f.call(t,r))return!1;return!0}},function(t,e){t.exports=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}},function(t,e,r){"use strict";var n=function(){};t.exports=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={RESISTANCE_COEF:.6,UNCERTAINTY_THRESHOLD:3}},,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SearchIcon=void 0;var n,i=s(r(0)),o=s(r(10)),a=s(r(403));function s(t){return t&&t.__esModule?t:{default:t}}var c=function(t){return t.showIcon?i.default.createElement(f,{className:"search-icon",width:20,height:20,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"})):null};e.SearchIcon=c;var u,l,f=a.default.svg(n||(u=["\n  flex-shrink: 0;\n  margin: ",";\n  fill: ",";\n"],l||(l=u.slice(0)),n=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(l)}}))),(function(t){return t.theme.searchIconMargin}),(function(t){return t.theme.iconColor}));c.propTypes={showIcon:o.default.bool}},,function(t,e){t.exports=function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},function(t,e,r){var n=r(800);t.exports=function(t){return t?(t=n(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}},function(t,e,r){var n=r(1256),i=r(150),o=r(344),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=s.test(t);return r||c.test(t)?u(t.slice(2),r?2:8):a.test(t)?NaN:+t}},function(t,e,r){var n=r(699),i=r(1260);t.exports=function t(e,r,o,a,s){var c=-1,u=e.length;for(o||(o=i),s||(s=[]);++c<u;){var l=e[c];r>0&&o(l)?r>1?t(l,r-1,o,a,s):n(s,l):a||(s[s.length]=l)}return s}},function(t,e,r){var n=r(629),i=r(392);t.exports=function(t,e){var r=-1,o=i(t)?Array(t.length):[];return n(t,(function(t,n,i){o[++r]=e(t,n,i)})),o}},function(t,e,r){var n=r(344);t.exports=function(t,e,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=e(a);if(null!=s&&(void 0===c?s===s&&!n(s):r(s,c)))var c=s,u=a}return u}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flip=u;var n,i=r(1292),o=(n=i)&&n.__esModule?n:{default:n};function a(t,e){return"MathExpression"===t.type?function(t,e){switch((t=function(t,e){var r=(0,o.default)(t.left,t.right,e),n=a(r.left,e),i=a(r.right,e);"MathExpression"===n.type&&"MathExpression"===i.type&&("/"===n.operator&&"*"===i.operator||"-"===n.operator&&"+"===i.operator||"*"===n.operator&&"/"===i.operator||"+"===n.operator&&"-"===i.operator)&&(s(n.right,i.right)?r=(0,o.default)(n.left,i.left,e):s(n.right,i.left)&&(r=(0,o.default)(n.left,i.right,e)),n=a(r.left,e),i=a(r.right,e));return t.left=n,t.right=i,t}(t,e)).operator){case"+":case"-":return function(t,e){var r=t,n=r.left,i=r.right,o=r.operator;if("CssVariable"===n.type||"CssVariable"===i.type)return t;if(0===i.value)return n;if(0===n.value&&"+"===o)return i;if(0===n.value&&"-"===o)return function t(e){c(e.type)?e.value=-e.value:"MathExpression"==e.type&&(e.left=t(e.left),e.right=t(e.right));return e}(i);n.type===i.type&&c(n.type)&&((t=Object.assign({},n)).value="+"===o?n.value+i.value:n.value-i.value);if(c(n.type)&&("+"===i.operator||"-"===i.operator)&&"MathExpression"===i.type){if(n.type===i.left.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:o,left:n,right:i.left},e),t.right=i.right,t.operator="-"===o?u(i.operator):i.operator,a(t,e);if(n.type===i.right.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:"-"===o?u(i.operator):i.operator,left:n,right:i.right},e),t.right=i.left,a(t,e)}if("MathExpression"===n.type&&("+"===n.operator||"-"===n.operator)&&c(i.type)){if(i.type===n.left.type)return(t=Object.assign({},n)).left=a({type:"MathExpression",operator:o,left:n.left,right:i},e),a(t,e);if(i.type===n.right.type)return t=Object.assign({},n),"-"===n.operator?(t.right=a({type:"MathExpression",operator:"-"===o?"+":"-",left:i,right:n.right},e),t.operator="-"===o?"-":"+"):t.right=a({type:"MathExpression",operator:o,left:n.right,right:i},e),t.right.value<0&&(t.right.value*=-1,t.operator="-"===t.operator?"+":"-"),a(t,e)}return t}(t,e);case"/":return function(t,e){if(!c(t.right.type))return t;if("Value"!==t.right.type)throw new Error('Cannot divide by "'+t.right.unit+'", number expected');if(0===t.right.value)throw new Error("Cannot divide by zero");if("MathExpression"===t.left.type)return c(t.left.left.type)&&c(t.left.right.type)?(t.left.left.value/=t.right.value,t.left.right.value/=t.right.value,a(t.left,e)):t;if(c(t.left.type))return t.left.value/=t.right.value,t.left;return t}(t,e);case"*":return function(t){if("MathExpression"===t.left.type&&"Value"===t.right.type){if(c(t.left.left.type)&&c(t.left.right.type))return t.left.left.value*=t.right.value,t.left.right.value*=t.right.value,t.left}else{if(c(t.left.type)&&"Value"===t.right.type)return t.left.value*=t.right.value,t.left;if("Value"===t.left.type&&"MathExpression"===t.right.type){if(c(t.right.left.type)&&c(t.right.right.type))return t.right.left.value*=t.left.value,t.right.right.value*=t.left.value,t.right}else if("Value"===t.left.type&&c(t.right.type))return t.right.value*=t.left.value,t.right}return t}(t)}return t}(t,e):"Calc"===t.type?a(t.value,e):t}function s(t,e){return t.type===e.type&&t.value===e.value}function c(t){switch(t){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function u(t){return"+"===t?"-":"+"}e.default=a},function(t,e,r){"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}return e.default=t,e}(r(10)),i=s(r(0)),o=s(r(76)),a=r(806);r(807);function s(t){return t&&t.__esModule?t:{default:t}}e.UNMOUNTED="unmounted";e.EXITED="exited";e.ENTERING="entering";e.ENTERED="entered";e.EXITING="exiting";var c=function(t){var e,r;function n(e,r){var n;n=t.call(this,e,r)||this;var i,o=r.transitionGroup,a=o&&!o.isMounting?e.enter:e.appear;return n.appearStatus=null,e.in?a?(i="exited",n.appearStatus="entering"):i="entered":i=e.unmountOnExit||e.mountOnEnter?"unmounted":"exited",n.state={status:i},n.nextCallback=null,n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var a=n.prototype;return a.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(t,e){return t.in&&"unmounted"===e.status?{status:"exited"}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?"entering"!==r&&"entered"!==r&&(e="entering"):"entering"!==r&&"entered"!==r||(e="exiting")}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!==typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var r=o.default.findDOMNode(this);"entering"===e?this.performEnter(r,t):this.performExit(r)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},a.performEnter=function(t,e){var r=this,n=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,o=this.getTimeouts(),a=i?o.appear:o.enter;e||n?(this.props.onEnter(t,i),this.safeSetState({status:"entering"},(function(){r.props.onEntering(t,i),r.onTransitionEnd(t,a,(function(){r.safeSetState({status:"entered"},(function(){r.props.onEntered(t,i)}))}))}))):this.safeSetState({status:"entered"},(function(){r.props.onEntered(t)}))},a.performExit=function(t){var e=this,r=this.props.exit,n=this.getTimeouts();r?(this.props.onExit(t),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(t),e.onTransitionEnd(t,n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(t)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(t)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},a.onTransitionEnd=function(t,e,r){this.setNextCallback(r);var n=null==e&&!this.props.addEndListener;t&&!n?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if("unmounted"===t)return null;var e=this.props,r=e.children,n=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(e,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"===typeof r)return r(t,n);var o=i.default.Children.only(r);return i.default.cloneElement(o,n)},n}(i.default.Component);function u(){}c.contextTypes={transitionGroup:n.object},c.childContextTypes={transitionGroup:function(){}},c.propTypes={},c.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:u,onEntering:u,onEntered:u,onExit:u,onExiting:u,onExited:u},c.UNMOUNTED=0,c.EXITED=1,c.ENTERING=2,c.ENTERED=3,c.EXITING=4;var l=(0,a.polyfill)(c);e.default=l},function(t,e,r){"use strict";function n(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function i(t){this.setState(function(e){var r=this.constructor.getDerivedStateFromProps(t,e);return null!==r&&void 0!==r?r:null}.bind(this))}function o(t,e){try{var r=this.props,n=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof t.getDerivedStateFromProps&&"function"!==typeof e.getSnapshotBeforeUpdate)return t;var r=null,a=null,s=null;if("function"===typeof e.componentWillMount?r="componentWillMount":"function"===typeof e.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"===typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"===typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"===typeof e.componentWillUpdate?s="componentWillUpdate":"function"===typeof e.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==s){var c=t.displayName||t.name,u="function"===typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==r?"\n  "+r:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof t.getDerivedStateFromProps&&(e.componentWillMount=n,e.componentWillReceiveProps=i),"function"===typeof e.getSnapshotBeforeUpdate){if("function"!==typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=o;var l=e.componentDidUpdate;e.componentDidUpdate=function(t,e,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;l.call(this,t,e,n)}}return t}r.r(e),r.d(e,"polyfill",(function(){return a})),n.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(t,e,r){"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0;var n;(n=r(10))&&n.__esModule;e.timeoutsShape=null;e.classNamesShape=null},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n=s(r(10)),i=s(r(0)),o=r(806),a=r(1301);function s(t){return t&&t.__esModule?t:{default:t}}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var l=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},f=function(t){var e,r;function n(e,r){var n,i=(n=t.call(this,e,r)||this).handleExited.bind(u(u(n)));return n.state={handleExited:i,firstRender:!0},n}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var o=n.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,e){var r=e.children,n=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,n):(0,a.getNextChildMapping)(t,r,n),firstRender:!1}},o.handleExited=function(t,e){var r=(0,a.getChildMapping)(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var r=c({},e.children);return delete r[t.key],{children:r}})))},o.render=function(){var t=this.props,e=t.component,r=t.childFactory,n=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,["component","childFactory"]),o=l(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===e?o:i.default.createElement(e,n,o)},n}(i.default.Component);f.childContextTypes={transitionGroup:n.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}};var h=(0,o.polyfill)(f);e.default=h,t.exports=e.default},,,,,function(t,e,r){"use strict";function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,"a",(function(){return o}));var i=r(319);function o(t,e){return!e||"object"!==n(e)&&"function"!==typeof e?Object(i.a)(t):e}},function(t,e,r){"use strict";e.a=function(){return!1}},function(t,e,r){"use strict";(function(t){var n=r(136),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}}).call(this,r(466)(t))},function(t,e,r){var n=r(1015),i=r(703)((function(t,e,r){return e=e.toLowerCase(),t+(r?n(e):e)}));t.exports=i},function(t,e,r){var n=r(689),i=r(591),o=r(245);t.exports=function(t,e){var r={};return e=o(e,3),i(t,(function(t,i,o){n(r,e(t,i,o),t)})),r}},function(t,e){function r(t,e){var r=t.length,n=new Array(r),i={},o=r,a=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++){var i=t[r];e.has(i[0])||e.set(i[0],new Set),e.has(i[1])||e.set(i[1],new Set),e.get(i[0]).add(i[1])}return e}(e),s=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}(t);for(e.forEach((function(t){if(!s.has(t[0])||!s.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));o--;)i[o]||c(t[o],o,new Set);return n;function c(t,e,o){if(o.has(t)){var u;try{u=", node was:"+JSON.stringify(t)}catch(h){u=""}throw new Error("Cyclic dependency"+u)}if(!s.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[e]){i[e]=!0;var l=a.get(t)||new Set;if(e=(l=Array.from(l)).length){o.add(t);do{var f=l[--e];c(f,s.get(f),o)}while(e);o.delete(t)}n[--r]=t}}}t.exports=function(t){return r(function(t){for(var e=new Set,r=0,n=t.length;r<n;r++){var i=t[r];e.add(i[0]),e.add(i[1])}return Array.from(e)}(t),t)},t.exports.array=r},function(t,e,r){"use strict";function n(t,e){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,"a",(function(){return n}))},,,function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=function(t){return t},i=function(){var t=n;return{configure:function(e){t=e},generate:function(e){return t(e)},reset:function(){t=n}}}();e.a=i},function(t,e,r){"use strict";e.a={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.default=a},function(t,e,r){"use strict";var n;e.__esModule=!0,e.default=void 0;var i=(0,((n=r(1179))&&n.__esModule?n:{default:n}).default)("local");e.default=i},function(t,e,r){"use strict";function n(t){return function(e){var r=e.dispatch,n=e.getState;return function(e){return function(i){return"function"===typeof i?i(r,n,t):e(i)}}}}var i=n();i.withExtraArgument=n,e.a=i},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M15 8v8H5V8h10m1-2H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4V7c0-.55-.45-1-1-1z"}),"VideocamOutlined");e.default=a},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiDivider",t)}var a=Object(i.a)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);e.a=a},function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r(339),i=r(340);function o(t){return Object(n.a)("MuiListItemIcon",t)}var a=Object(i.a)("MuiListItemIcon",["root","alignItemsFlexStart"]);e.a=a},function(t,e,r){"use strict";var n=r(158),i=r(50);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"CustomSegmentLabelPosition",{enumerable:!0,get:function(){return v.CustomSegmentLabelPosition}}),Object.defineProperty(e,"Transition",{enumerable:!0,get:function(){return v.Transition}}),e.default=void 0;var o=i(r(1183)),a=i(r(1184)),s=i(r(782)),c=i(r(1185)),u=i(r(1187)),l=i(r(1188)),f=i(r(664)),h=n(r(0)),d=i(r(10)),p=r(353),m=r(1189),b=r(1195),v=r(627);function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,l.default)(t);if(e){var i=(0,l.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,u.default)(this,r)}}var y=function(t){function e(t){var n;return(0,o.default)(this,e),n=r.call(this,t),(0,f.default)((0,s.default)(n),"render",(function(){return h.default.createElement("div",{ref:function(t){return n.gaugeDiv=t}})})),n.d3_refs={pointer:!1,current_value_text:!1},n}(0,c.default)(e,t);var r=g(e);return(0,a.default)(e,[{key:"componentDidMount",value:function(){this.renderGauge()}},{key:"componentDidUpdate",value:function(){this.props.forceRender?this.renderGauge():this.updateReadings()}},{key:"renderGauge",value:function(){this.config=(0,m.getConfig)({PROPS:this.props,parentWidth:this.gaugeDiv.parentNode.clientWidth,parentHeight:this.gaugeDiv.parentNode.clientHeight}),(0,p.select)(this.gaugeDiv).select("svg").remove(),this.d3_refs=(0,b.render)({container:this.gaugeDiv,config:this.config}),(0,b.update)({d3_refs:this.d3_refs,newValue:this.props.value,config:this.config})}},{key:"updateReadings",value:function(){this.config=(0,m.updateConfig)(this.config,{labelFormat:(0,p.format)(this.props.valueFormat||""),currentValueText:this.props.currentValueText||"${value}"}),(0,b.update)({d3_refs:this.d3_refs,newValue:this.props.value||0,config:this.config})}}]),e}(h.PureComponent);(0,f.default)(y,"displayName","ReactSpeedometer"),y.propTypes={value:d.default.number.isRequired,minValue:d.default.number.isRequired,maxValue:d.default.number.isRequired,forceRender:d.default.bool.isRequired,width:d.default.number.isRequired,height:d.default.number.isRequired,paddingHorizontal:d.default.number.isRequired,paddingVertical:d.default.number.isRequired,dimensionUnit:d.default.string.isRequired,fluidWidth:d.default.bool.isRequired,segments:d.default.number.isRequired,maxSegmentLabels:d.default.number,customSegmentStops:d.default.array,customSegmentLabels:d.default.arrayOf(d.default.shape({text:d.default.string,position:d.default.oneOf(["OUTSIDE","INSIDE"]),fontSize:d.default.string,color:d.default.string})),needleColor:d.default.string.isRequired,startColor:d.default.string.isRequired,endColor:d.default.string.isRequired,segmentColors:d.default.array.isRequired,needleTransition:d.default.string.isRequired,needleTransitionDuration:d.default.number.isRequired,needleHeightRatio:d.default.number.isRequired,ringWidth:d.default.number.isRequired,textColor:d.default.string.isRequired,valueFormat:d.default.string.isRequired,currentValueText:d.default.string.isRequired,currentValuePlaceholderStyle:d.default.string.isRequired,labelFontSize:d.default.string.isRequired,valueTextFontSize:d.default.string.isRequired,valueTextFontWeight:d.default.string.isRequired},y.defaultProps=m.DEFAULT_PROPS;var w=y;e.default=w},function(t,e,r){"use strict";(function(t){var r="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,n=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(r&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),n))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var r=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?r[e]:r}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(r+i+n)?t:c(s(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var l=r&&!(!window.MSInputMethodContext||!document.documentMode),f=r&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?l:10===t?f:l||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,r=t.offsetParent||null;r===e&&t.nextElementSibling;)r=(t=t.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===a(r,"position")?d(r):r:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function m(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?t:e,i=r?e:t,o=document.createRange();o.setStart(n,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||n.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||d(t.firstElementChild)===t)}(a)?a:d(a);var s=p(t);return s.host?m(s.host,e):m(t,p(e).host)}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[r]}return t[r]}function v(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(e,"top"),i=b(e,"left"),o=r?-1:1;return t.top+=n*o,t.bottom+=n*o,t.left+=i*o,t.right+=i*o,t}function g(t,e){var r="x"===e?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(t["border"+r+"Width"])+parseFloat(t["border"+n+"Width"])}function y(t,e,r,n){return Math.max(e["offset"+t],e["scroll"+t],r["client"+t],r["offset"+t],r["scroll"+t],h(10)?parseInt(r["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,r=t.documentElement,n=h(10)&&getComputedStyle(r);return{height:y("Height",e,r,n),width:y("Width",e,r,n)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},O=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),_=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function k(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function E(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var r=b(t,"top"),n=b(t,"left");e.top+=r,e.left+=n,e.bottom+=r,e.right+=n}else e=t.getBoundingClientRect()}catch(d){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?w(t.ownerDocument):{},s=o.width||t.clientWidth||i.width,c=o.height||t.clientHeight||i.height,u=t.offsetWidth-s,l=t.offsetHeight-c;if(u||l){var f=a(t);u-=g(f,"x"),l-=g(f,"y"),i.width-=u,i.height-=l}return k(i)}function M(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=h(10),i="HTML"===e.nodeName,o=E(t),s=E(e),u=c(t),l=a(e),f=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);r&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=k({top:o.top-s.top-f,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!n&&i){var m=parseFloat(l.marginTop),b=parseFloat(l.marginLeft);p.top-=f-m,p.bottom-=f-m,p.left-=d-b,p.right-=d-b,p.marginTop=m,p.marginLeft=b}return(n&&!r?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(p=v(p,e)),p}function C(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.ownerDocument.documentElement,n=M(t,r),i=Math.max(r.clientWidth,window.innerWidth||0),o=Math.max(r.clientHeight,window.innerHeight||0),a=e?0:b(r),s=e?0:b(r,"left"),c={top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:o};return k(c)}function j(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var r=s(t);return!!r&&j(r)}function A(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?A(t):m(t,u(e));if("viewport"===n)o=C(a,i);else{var l=void 0;"scrollParent"===n?"BODY"===(l=c(s(e))).nodeName&&(l=t.ownerDocument.documentElement):l="window"===n?t.ownerDocument.documentElement:n;var f=M(l,a,i);if("HTML"!==l.nodeName||j(a))o=f;else{var h=w(t.ownerDocument),d=h.height,p=h.width;o.top+=f.top-f.marginTop,o.bottom=d+f.top,o.left+=f.left-f.marginLeft,o.right=p+f.left}}var b="number"===typeof(r=r||0);return o.left+=b?r:r.left||0,o.top+=b?r:r.top||0,o.right-=b?r:r.right||0,o.bottom-=b?r:r.bottom||0,o}function P(t){return t.width*t.height}function D(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=T(r,n,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map((function(t){return S({key:t},s[t],{area:P(s[t])})})).sort((function(t,e){return e.area-t.area})),u=c.filter((function(t){var e=t.width,n=t.height;return e>=r.clientWidth&&n>=r.clientHeight})),l=u.length>0?u[0].key:c[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function R(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=n?A(e):m(e,u(r));return M(r,i,n)}function L(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+r}}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function N(t,e,r){r=r.split("-")[0];var n=L(t),i={width:n.width,height:n.height},o=-1!==["right","left"].indexOf(r),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",u=o?"width":"height";return i[a]=e[a]+e[c]/2-n[c]/2,i[s]=r===s?e[s]-n[u]:e[I(s)],i}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function B(t,e,r){return(void 0===r?t:t.slice(0,function(t,e,r){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===r}));var n=F(t,(function(t){return t[e]===r}));return t.indexOf(n)}(t,"name",r))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=t.function||t.fn;t.enabled&&o(r)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=r(e,t))})),e}function z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=N(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function H(t,e){return t.some((function(t){var r=t.name;return t.enabled&&r===e}))}function U(t){for(var e=[!1,"ms","Webkit","Moz","O"],r=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var i=e[n],o=i?""+i+r:t;if("undefined"!==typeof document.body.style[o])return o}return null}function W(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(t){var e=t.ownerDocument;return e?e.defaultView:window}function V(t,e,r,n){r.updateBound=n,q(t).addEventListener("resize",r.updateBound,{passive:!0});var i=c(t);return function t(e,r,n,i){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(r,n,{passive:!0}),o||t(c(a.parentNode),r,n,i),i.push(a)}(i,"scroll",r.updateBound,r.scrollParents),r.scrollElement=i,r.eventsEnabled=!0,r}function G(){this.state.eventsEnabled||(this.state=V(this.reference,this.options,this.state,this.scheduleUpdate))}function Y(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,q(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function X(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(e[r])&&(n="px"),t.style[r]=e[r]+n}))}var K=r&&/Firefox/i.test(navigator.userAgent);function Z(t,e,r){var n=F(t,(function(t){return t.name===e})),i=!!n&&t.some((function(t){return t.name===r&&t.enabled&&t.order<n.order}));if(!i){var o="`"+e+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var J=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Q=J.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Q.indexOf(t),n=Q.slice(r+1).concat(Q.slice(0,r));return e?n.reverse():n}var et="flip",rt="clockwise",nt="counterclockwise";function it(t,e,r,n){var i=[0,0],o=-1!==["right","left"].indexOf(n),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(F(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(u=u.map((function(t,n){var i=(1===n?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,r,n){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=r;break;case"%":case"%r":default:s=n}return k(s)[e]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}(t,i,e,r)}))}))).forEach((function(t,e){t.forEach((function(r,n){X(r)&&(i[e]+=r*("-"===t[n-1]?-1:1))}))})),i}var ot={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,r=e.split("-")[0],n=e.split("-")[1];if(n){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(r),c=s?"left":"top",u=s?"width":"height",l={start:_({},c,o[c]),end:_({},c,o[c]+o[u]-a[u])};t.offsets.popper=S({},a,l[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var r=e.offset,n=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=n.split("-")[0],c=void 0;return c=X(+r)?[+r,0]:it(r,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var r=e.boundariesElement||d(t.instance.popper);t.instance.reference===r&&(r=d(r));var n=U("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[n];i.top="",i.left="",i[n]="";var c=T(t.instance.popper,t.instance.reference,e.padding,r,t.positionFixed);i.top=o,i.left=a,i[n]=s,e.boundaries=c;var u=e.priority,l=t.offsets.popper,f={primary:function(t){var r=l[t];return l[t]<c[t]&&!e.escapeWithReference&&(r=Math.max(l[t],c[t])),_({},t,r)},secondary:function(t){var r="right"===t?"left":"top",n=l[r];return l[t]>c[t]&&!e.escapeWithReference&&(n=Math.min(l[r],c[t]-("right"===t?l.width:l.height))),_({},r,n)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=S({},l,f[e](t))})),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,r=e.popper,n=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return r[s]<o(n[c])&&(t.offsets.popper[c]=o(n[c])-r[u]),r[c]>o(n[s])&&(t.offsets.popper[c]=o(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var r;if(!Z(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"===typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,s=o.popper,c=o.reference,u=-1!==["left","right"].indexOf(i),l=u?"height":"width",f=u?"Top":"Left",h=f.toLowerCase(),d=u?"left":"top",p=u?"bottom":"right",m=L(n)[l];c[p]-m<s[h]&&(t.offsets.popper[h]-=s[h]-(c[p]-m)),c[h]+m>s[p]&&(t.offsets.popper[h]+=c[h]+m-s[p]),t.offsets.popper=k(t.offsets.popper);var b=c[h]+c[l]/2-m/2,v=a(t.instance.popper),g=parseFloat(v["margin"+f]),y=parseFloat(v["border"+f+"Width"]),w=b-t.offsets.popper[h]-g-y;return w=Math.max(Math.min(s[l]-m,w),0),t.arrowElement=n,t.offsets.arrow=(_(r={},h,Math.round(w)),_(r,d,""),r),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var r=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],i=I(n),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case et:a=[n,i];break;case rt:a=tt(n);break;case nt:a=tt(n,!0);break;default:a=e.behavior}return a.forEach((function(s,c){if(n!==s||a.length===c+1)return t;n=t.placement.split("-")[0],i=I(n);var u=t.offsets.popper,l=t.offsets.reference,f=Math.floor,h="left"===n&&f(u.right)>f(l.left)||"right"===n&&f(u.left)<f(l.right)||"top"===n&&f(u.bottom)>f(l.top)||"bottom"===n&&f(u.top)<f(l.bottom),d=f(u.left)<f(r.left),p=f(u.right)>f(r.right),m=f(u.top)<f(r.top),b=f(u.bottom)>f(r.bottom),v="left"===n&&d||"right"===n&&p||"top"===n&&m||"bottom"===n&&b,g=-1!==["top","bottom"].indexOf(n),y=!!e.flipVariations&&(g&&"start"===o&&d||g&&"end"===o&&p||!g&&"start"===o&&m||!g&&"end"===o&&b),w=!!e.flipVariationsByContent&&(g&&"start"===o&&p||g&&"end"===o&&d||!g&&"start"===o&&b||!g&&"end"===o&&m),x=y||w;(h||v||x)&&(t.flipped=!0,(h||v)&&(n=a[c+1]),x&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=n+(o?"-"+o:""),t.offsets.popper=S({},t.offsets.popper,N(t.instance.popper,t.offsets.reference,t.placement)),t=B(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,r=e.split("-")[0],n=t.offsets,i=n.popper,o=n.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return i[a?"left":"top"]=o[r]-(s?i[a?"width":"height"]:0),t.placement=I(e),t.offsets.popper=k(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,r=F(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<r.top||e.left>r.right||e.top>r.bottom||e.right<r.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var r=e.x,n=e.y,i=t.offsets.popper,o=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=d(t.instance.popper),c=E(s),u={position:i.position},l=function(t,e){var r=t.offsets,n=r.popper,i=r.reference,o=Math.round,a=Math.floor,s=function(t){return t},c=o(i.width),u=o(n.width),l=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),h=e?l||f||c%2===u%2?o:a:s,d=e?o:s;return{left:h(c%2===1&&u%2===1&&!f&&e?n.left-1:n.left),top:d(n.top),bottom:d(n.bottom),right:h(n.right)}}(t,window.devicePixelRatio<2||!K),f="bottom"===r?"top":"bottom",h="right"===n?"left":"right",p=U("transform"),m=void 0,b=void 0;if(b="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+l.bottom:-c.height+l.bottom:l.top,m="right"===h?"HTML"===s.nodeName?-s.clientWidth+l.right:-c.width+l.right:l.left,a&&p)u[p]="translate3d("+m+"px, "+b+"px, 0)",u[f]=0,u[h]=0,u.willChange="transform";else{var v="bottom"===f?-1:1,g="right"===h?-1:1;u[f]=b*v,u[h]=m*g,u.willChange=f+", "+h}var y={"x-placement":t.placement};return t.attributes=S({},y,t.attributes),t.styles=S({},u,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,r;return $(t.instance.popper,t.styles),e=t.instance.popper,r=t.attributes,Object.keys(r).forEach((function(t){!1!==r[t]?e.setAttribute(t,r[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,r,n,i){var o=R(i,e,t,r.positionFixed),a=D(r.placement,o,e,t,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return e.setAttribute("x-placement",a),$(e,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},at=function(){function t(e,r){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=i(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){n.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(t,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return G.call(this)}},{key:"disableEventListeners",value:function(){return Y.call(this)}}]),t}();at.Utils=("undefined"!==typeof window?window:t).PopperUtils,at.placements=J,at.Defaults=ot,e.a=at}).call(this,r(120))},function(t,e,r){t.exports=function(){"use strict";return function(t){function e(e){if(e)try{t(e+"}")}catch(r){}}return function(r,n,i,o,a,s,c,u,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return t(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return t(i[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(e)}}}}()},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"VpnKey");e.default=a},function(t,e,r){"use strict";var n=r(50),i=r(158);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r(0)),a=(0,n(r(166)).default)(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"}),"Block");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"}),"Article");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}),"PictureAsPdf");e.default=a},function(t,e,r){"use strict";var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=r(0),o=r(10),a=i.createElement.bind(i,"div"),s=i.createElement.bind(i,"iframe"),c={position:"relative",height:0,overflow:"hidden",maxWidth:"100%"},u={position:"absolute",top:0,left:0,width:"100%",height:"100%"},l=function(t){var e=function(t){var e=t.split(":").map((function(t){return Number(t)})),r=n(e,2),i=r[0];return r[1]/i*100+"%"}(t.ratio),r=Object.assign({},c,{paddingBottom:e}),i=Object.assign({frameBorder:0},t,{style:u});return delete i.ratio,a({style:r},s(i))};l.defaultProps={src:"https://www.youtube.com/embed/dQw4w9WgXcQ",ratio:"16:9"},l.propTypes={src:o.string,ratio:function(t,e,r){if(!/\d+:\d+/.test(t[e]))return new Error('Invalid ratio supplied to ResponsiveEmbed. Expected a string like "16:9" or any 2 numbers seperated by a colon')}},t.exports=l},,,,function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m10 17 5-5-5-5v10z"}),"ArrowRight");e.default=a},function(t,e,r){var n;self,t.exports=(n=r(0),function(){var t={4184:function(t,e){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},8552:function(t,e,r){var n=r(852)(r(5639),"DataView");t.exports=n},1989:function(t,e,r){var n=r(1789),i=r(401),o=r(7667),a=r(1327),s=r(1866);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},8407:function(t,e,r){var n=r(7040),i=r(4125),o=r(2117),a=r(7518),s=r(4705);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},7071:function(t,e,r){var n=r(852)(r(5639),"Map");t.exports=n},3369:function(t,e,r){var n=r(4785),i=r(1285),o=r(6e3),a=r(9916),s=r(5265);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},3818:function(t,e,r){var n=r(852)(r(5639),"Promise");t.exports=n},8525:function(t,e,r){var n=r(852)(r(5639),"Set");t.exports=n},8668:function(t,e,r){var n=r(3369),i=r(619),o=r(2385);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},6384:function(t,e,r){var n=r(8407),i=r(7465),o=r(3779),a=r(7599),s=r(4758),c=r(4309);function u(t){var e=this.__data__=new n(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,t.exports=u},2705:function(t,e,r){var n=r(5639).Symbol;t.exports=n},1149:function(t,e,r){var n=r(5639).Uint8Array;t.exports=n},577:function(t,e,r){var n=r(852)(r(5639),"WeakMap");t.exports=n},4963:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},4636:function(t,e,r){var n=r(2545),i=r(5694),o=r(1469),a=r(4144),s=r(5776),c=r(6719),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=o(t),l=!r&&i(t),f=!r&&!l&&a(t),h=!r&&!l&&!f&&c(t),d=r||l||f||h,p=d?n(t.length,String):[],m=p.length;for(var b in t)!e&&!u.call(t,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||h&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},2488:function(t){t.exports=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},2908:function(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},8470:function(t,e,r){var n=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},8866:function(t,e,r){var n=r(2488),i=r(1469);t.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},4239:function(t,e,r){var n=r(2705),i=r(9607),o=r(2333),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},9454:function(t,e,r){var n=r(4239),i=r(7005);t.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},939:function(t,e,r){var n=r(2492),i=r(7005);t.exports=function t(e,r,o,a,s){return e===r||(null==e||null==r||!i(e)&&!i(r)?e!=e&&r!=r:n(e,r,o,a,t,s))}},2492:function(t,e,r){var n=r(6384),i=r(7114),o=r(8351),a=r(6096),s=r(4160),c=r(1469),u=r(4144),l=r(6719),f="[object Arguments]",h="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,m,b,v){var g=c(t),y=c(e),w=g?h:s(t),x=y?h:s(e),O=(w=w==f?d:w)==d,_=(x=x==f?d:x)==d,S=w==x;if(S&&u(t)){if(!u(e))return!1;g=!0,O=!1}if(S&&!O)return v||(v=new n),g||l(t)?i(t,e,r,m,b,v):o(t,e,w,r,m,b,v);if(!(1&r)){var k=O&&p.call(t,"__wrapped__"),E=_&&p.call(e,"__wrapped__");if(k||E){var M=k?t.value():t,C=E?e.value():e;return v||(v=new n),b(M,C,r,m,v)}}return!!S&&(v||(v=new n),a(t,e,r,m,b,v))}},8458:function(t,e,r){var n=r(3560),i=r(5346),o=r(3218),a=r(346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?h:s).test(a(t))}},8749:function(t,e,r){var n=r(4239),i=r(1780),o=r(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},280:function(t,e,r){var n=r(5726),i=r(6916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},2545:function(t){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},4757:function(t){t.exports=function(t,e){return t.has(e)}},4429:function(t,e,r){var n=r(5639)["__core-js_shared__"];t.exports=n},7114:function(t,e,r){var n=r(8668),i=r(2908),o=r(4757);t.exports=function(t,e,r,a,s,c){var u=1&r,l=t.length,f=e.length;if(l!=f&&!(u&&f>l))return!1;var h=c.get(t),d=c.get(e);if(h&&d)return h==e&&d==t;var p=-1,m=!0,b=2&r?new n:void 0;for(c.set(t,e),c.set(e,t);++p<l;){var v=t[p],g=e[p];if(a)var y=u?a(g,v,p,e,t,c):a(v,g,p,t,e,c);if(void 0!==y){if(y)continue;m=!1;break}if(b){if(!i(e,(function(t,e){if(!o(b,e)&&(v===t||s(v,t,r,a,c)))return b.push(e)}))){m=!1;break}}else if(v!==g&&!s(v,g,r,a,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},8351:function(t,e,r){var n=r(2705),i=r(1149),o=r(7813),a=r(7114),s=r(8776),c=r(1814),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,h){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var p=1&n;if(d||(d=c),t.size!=e.size&&!p)return!1;var m=h.get(t);if(m)return m==e;n|=2,h.set(t,e);var b=a(d(t),d(e),n,u,f,h);return h.delete(t),b;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},6096:function(t,e,r){var n=r(8234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,s){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var h=u[f];if(!(c?h in e:i.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var m=!0;s.set(t,e),s.set(e,t);for(var b=c;++f<l;){var v=t[h=u[f]],g=e[h];if(o)var y=c?o(g,v,h,e,t,s):o(v,g,h,t,e,s);if(!(void 0===y?v===g||a(v,g,r,o,s):y)){m=!1;break}b||(b="constructor"==h)}if(m&&!b){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(t),s.delete(e),m}},1957:function(t,e,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},8234:function(t,e,r){var n=r(8866),i=r(9551),o=r(3674);t.exports=function(t){return n(t,o,i)}},5050:function(t,e,r){var n=r(7019);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},852:function(t,e,r){var n=r(8458),i=r(7801);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},9607:function(t,e,r){var n=r(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i}},9551:function(t,e,r){var n=r(4963),i=r(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},4160:function(t,e,r){var n=r(8552),i=r(7071),o=r(3818),a=r(8525),s=r(577),c=r(4239),u=r(346),l="[object Map]",f="[object Promise]",h="[object Set]",d="[object WeakMap]",p="[object DataView]",m=u(n),b=u(i),v=u(o),g=u(a),y=u(s),w=c;(n&&w(new n(new ArrayBuffer(1)))!=p||i&&w(new i)!=l||o&&w(o.resolve())!=f||a&&w(new a)!=h||s&&w(new s)!=d)&&(w=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case m:return p;case b:return l;case v:return f;case g:return h;case y:return d}return e}),t.exports=w},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},1789:function(t,e,r){var n=r(4536);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,r){var n=r(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},1327:function(t,e,r){var n=r(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},1866:function(t,e,r){var n=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,r){var n,i=r(4429),o=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!o&&o in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,r){var n=r(8470),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0||(r==e.length-1?e.pop():i.call(e,r,1),--this.size,0))}},2117:function(t,e,r){var n=r(8470);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},7518:function(t,e,r){var n=r(8470);t.exports=function(t){return n(this.__data__,t)>-1}},4705:function(t,e,r){var n=r(8470);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},4785:function(t,e,r){var n=r(1989),i=r(8407),o=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},1285:function(t,e,r){var n=r(5050);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,r){var n=r(5050);t.exports=function(t){return n(this,t).get(t)}},9916:function(t,e,r){var n=r(5050);t.exports=function(t){return n(this,t).has(t)}},5265:function(t,e,r){var n=r(5050);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}},8776:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},4536:function(t,e,r){var n=r(852)(Object,"create");t.exports=n},6916:function(t,e,r){var n=r(5569)(Object.keys,Object);t.exports=n},1167:function(t,e,r){t=r.nmd(t);var n=r(1957),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(r){return t(e(r))}}},5639:function(t,e,r){var n=r(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:function(t){t.exports=function(t){return this.__data__.has(t)}},1814:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},7465:function(t,e,r){var n=r(8407);t.exports=function(){this.__data__=new n,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,r){var n=r(8407),i=r(7071),o=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},5694:function(t,e,r){var n=r(9454),i=r(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,r){var n=r(3560),i=r(1780);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},4144:function(t,e,r){t=r.nmd(t);var n=r(5639),i=r(5062),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;t.exports=c},8446:function(t,e,r){var n=r(939);t.exports=function(t,e){return n(t,e)}},3560:function(t,e,r){var n=r(4239),i=r(3218);t.exports=function(t){if(!i(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},6719:function(t,e,r){var n=r(8749),i=r(1717),o=r(1167),a=o&&o.isTypedArray,s=a?i(a):n;t.exports=s},3674:function(t,e,r){var n=r(4636),i=r(280),o=r(8612);t.exports=function(t){return o(t)?n(t):i(t)}},8306:function(t,e,r){var n=r(3369);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},2703:function(t,e,r){"use strict";var n=r(414);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},5697:function(t,e,r){t.exports=r(2703)()},414:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9787:function(t){"use strict";t.exports=n}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n](o,o.exports,r),o.loaded=!0,o.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){"use strict";r.r(i),r.d(i,{default:function(){return bt},expandNodesToLevel:function(){return mt}});var t=r(4184),e=r.n(t),n=r(8446),o=r.n(n),a=r(8306),s=r.n(a),c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(t)).reduce((function(t,e){return t+((e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_")}),"")},u=r(5697),l=r.n(u),f=r(9787),h=r.n(f);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var p=["children","title"];function m(){return(m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(a,t);var e,r,n,i,o=(n=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=y(n);if(i){var r=y(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return g(this,t)});function a(){return b(this,a),o.apply(this,arguments)}return e=a,(r=[{key:"render",value:function(){var t=this.props,e=t.children,r=t.title,n=function(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(t,p);return h().createElement("button",m({"aria-label":r,title:r,type:"button"},n),e)}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(h().PureComponent);w(x,"propTypes",{children:l().node.isRequired,title:l().string}),w(x,"defaultProps",{title:null});var O=x,_={ALL:"all",PARENT:"parent",LEAF:"leaf"};function S(t){this.message=t,this.stack=Error().stack}S.prototype=Object.create(Error.prototype),S.prototype.name="CheckboxTreeError";var k=S;function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function M(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var j=_,A=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};C(this,t),this.props=e,this.flatNodes=r}var e,r;return e=t,(r=[{key:"setProps",value:function(t){this.props=t}},{key:"clone",value:function(){var e=this,r={};return Object.keys(this.flatNodes).forEach((function(t){var n=e.flatNodes[t];r[t]=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){M(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},n)})),new t(this.props,r)}},{key:"getNode",value:function(t){return this.flatNodes[t]}},{key:"reset",value:function(){this.flatNodes={}}},{key:"flattenNodes",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(t)&&0!==t.length){var i=this.props,o=i.disabled,a=i.noCascade;t.forEach((function(t,i){var s=e.nodeHasChildren(t);if(void 0!==e.flatNodes[t.value])throw new k("Duplicate value '".concat(t.value,"' detected. All node values must be unique."));e.flatNodes[t.value]={label:t.label,value:t.value,children:t.children,parent:r,isChild:void 0!==r.value,isParent:s,isLeaf:!s,showCheckbox:void 0===t.showCheckbox||t.showCheckbox,disabled:e.getDisabledState(t,r,o,a),treeDepth:n,index:i},e.flattenNodes(t.children,t,n+1)}))}}},{key:"nodeHasChildren",value:function(t){return Array.isArray(t.children)}},{key:"getDisabledState",value:function(t,e,r,n){return!!r||!(n||!e.disabled)||Boolean(t.disabled)}},{key:"deserializeLists",value:function(t){var e=this,r=["checked","expanded"];Object.keys(this.flatNodes).forEach((function(t){r.forEach((function(r){e.flatNodes[t][r]=!1}))})),r.forEach((function(r){t[r].forEach((function(t){void 0!==e.flatNodes[t]&&(e.flatNodes[t][r]=!0)}))}))}},{key:"serializeList",value:function(t){var e=this,r=[];return Object.keys(this.flatNodes).forEach((function(n){e.flatNodes[n][t]&&r.push(n)})),r}},{key:"expandAllNodes",value:function(t){var e=this;return Object.keys(this.flatNodes).forEach((function(r){e.flatNodes[r].isParent&&(e.flatNodes[r].expanded=t)})),this}},{key:"toggleChecked",value:function(t,e,r,n){var i=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.flatNodes[t.value],s=[j.PARENT,j.ALL].indexOf(r)>-1,c=[j.LEAF,j.ALL].indexOf(r)>-1;if(a.isLeaf||n){if(t.disabled)return this;this.toggleNode(t.value,"checked",e)}else(s||0===a.children.length)&&this.toggleNode(t.value,"checked",e),c&&a.children.forEach((function(t){i.toggleChecked(t,e,r,n,!1)}));return o&&!n&&a.isChild&&s&&this.toggleParentStatus(a.parent,r),this}},{key:"toggleParentStatus",value:function(t,e){var r=this.flatNodes[t.value];r.isChild?(e===j.ALL&&this.toggleNode(t.value,"checked",this.isEveryChildChecked(r)),this.toggleParentStatus(r.parent,e)):this.toggleNode(t.value,"checked",this.isEveryChildChecked(r))}},{key:"isEveryChildChecked",value:function(t){var e=this;return t.children.every((function(t){return e.getNode(t.value).checked}))}},{key:"toggleNode",value:function(t,e,r){return this.flatNodes[t][e]=r,this}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(){return(P=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function D(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function I(t,e){if(e&&("object"===T(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function F(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var B=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&L(t,e)}(a,t);var e,r,n,i,o=(n=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=N(n);if(i){var r=N(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return I(this,t)});function a(){return R(this,a),o.apply(this,arguments)}return e=a,(r=[{key:"componentDidMount",value:function(){this.updateDeterminateProperty()}},{key:"componentDidUpdate",value:function(){this.updateDeterminateProperty()}},{key:"updateDeterminateProperty",value:function(){var t=this.props.indeterminate;this.checkbox.indeterminate=t}},{key:"render",value:function(){var t=this,e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?D(Object(r),!0).forEach((function(e){F(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.props);return delete e.indeterminate,h().createElement("input",P({},e,{ref:function(e){t.checkbox=e},type:"checkbox"}))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(h().PureComponent);F(B,"propTypes",{indeterminate:l().bool}),F(B,"defaultProps",{indeterminate:!1});var z=B,H=l().shape({check:l().node,uncheck:l().node,halfCheck:l().node,expandClose:l().node,expandOpen:l().node,expandAll:l().node,collapseAll:l().node,parentClose:l().node,parentOpen:l().node,leaf:l().node}),U=l().shape({collapseAll:l().string.isRequired,expandAll:l().string.isRequired,toggle:l().string.isRequired});function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(t,e){return(q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function V(t,e){if(e&&("object"===W(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return G(t)}function G(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y(t){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function X(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&q(t,e)}(s,t);var r,n,i,o,a=(i=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Y(i);if(o){var r=Y(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return V(this,t)});function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this,t)).onCheck=e.onCheck.bind(G(e)),e.onCheckboxKeyPress=e.onCheckboxKeyPress.bind(G(e)),e.onCheckboxKeyUp=e.onCheckboxKeyUp.bind(G(e)),e.onClick=e.onClick.bind(G(e)),e.onExpand=e.onExpand.bind(G(e)),e}return r=s,(n=[{key:"onCheck",value:function(){var t=this.props,e=t.value;(0,t.onCheck)({value:e,checked:this.getCheckState({toggle:!0})})}},{key:"onCheckboxKeyPress",value:function(t){32===t.which&&t.preventDefault()}},{key:"onCheckboxKeyUp",value:function(t){var e=t.keyCode;[13,32].includes(e)&&this.onCheck()}},{key:"onClick",value:function(){var t=this.props,e=t.expandOnClick,r=t.isParent,n=t.value,i=t.onClick;r&&e&&this.onExpand(),i({value:n,checked:this.getCheckState({toggle:!1})})}},{key:"onExpand",value:function(){var t=this.props,e=t.expanded,r=t.value;(0,t.onExpand)({value:r,expanded:!e})}},{key:"getCheckState",value:function(t){var e=t.toggle,r=this.props,n=r.checked,i=r.optimisticToggle;return!(0!==n||!e)||1===n&&!e||2===n&&i}},{key:"renderCollapseButton",value:function(){var t=this.props,e=t.expandDisabled,r=t.isLeaf,n=t.lang;return r?h().createElement("span",{className:"rct-collapse"},h().createElement("span",{className:"rct-icon"})):h().createElement(O,{className:"rct-collapse rct-collapse-btn",disabled:e,title:n.toggle,onClick:this.onExpand},this.renderCollapseIcon())}},{key:"renderCollapseIcon",value:function(){var t=this.props,e=t.expanded,r=t.icons,n=r.expandClose,i=r.expandOpen;return e?i:n}},{key:"renderCheckboxIcon",value:function(){var t=this.props,e=t.checked,r=t.icons,n=r.uncheck,i=r.check,o=r.halfCheck;return 0===e?n:1===e?i:o}},{key:"renderNodeIcon",value:function(){var t=this.props,e=t.expanded,r=t.icon,n=t.icons,i=n.leaf,o=n.parentClose,a=n.parentOpen,s=t.isLeaf;return null!==r?r:s?i:e?a:o}},{key:"renderBareLabel",value:function(t){var e=this.props,r=e.onClick,n=e.title,i=null!==r;return h().createElement("span",{className:"rct-bare-label",title:n},i?h().createElement("span",{className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"button",tabIndex:0},t):t)}},{key:"renderCheckboxLabel",value:function(t){var e=this.props,r=e.checked,n=e.disabled,i=e.title,o=e.treeId,a=e.value,s=null!==e.onClick,c="".concat(o,"-").concat(String(a).split(" ").join("_")),u=[h().createElement("label",{key:0,htmlFor:c,title:i},h().createElement(z,{checked:1===r,disabled:n,id:c,indeterminate:2===r,onClick:this.onCheck,onChange:function(){}}),h().createElement("span",{"aria-checked":1===r,"aria-disabled":n,className:"rct-checkbox",role:"checkbox",tabIndex:0,onKeyPress:this.onCheckboxKeyPress,onKeyUp:this.onCheckboxKeyUp},this.renderCheckboxIcon()),s?null:t)];return s&&u.push(h().createElement("span",{key:1,className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"link",tabIndex:0},t)),u}},{key:"renderLabel",value:function(){var t=this.props,e=t.label,r=t.showCheckbox,n=[t.showNodeIcon?h().createElement("span",{key:0,className:"rct-node-icon"},this.renderNodeIcon()):null,h().createElement("span",{key:1,className:"rct-title"},e)];return r?this.renderCheckboxLabel(n):this.renderBareLabel(n)}},{key:"renderChildren",value:function(){return this.props.expanded?this.props.children:null}},{key:"render",value:function(){var t=this.props,r=t.className,n=t.disabled,i=t.expanded,o=t.isLeaf,a=e()({"rct-node":!0,"rct-node-leaf":o,"rct-node-parent":!o,"rct-node-expanded":!o&&i,"rct-node-collapsed":!o&&!i,"rct-disabled":n},r);return h().createElement("li",{className:a},h().createElement("span",{className:"rct-text"},this.renderCollapseButton(),this.renderLabel()),this.renderChildren())}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),s}(h().PureComponent);X($,"propTypes",{checked:l().number.isRequired,disabled:l().bool.isRequired,expandDisabled:l().bool.isRequired,expanded:l().bool.isRequired,icons:H.isRequired,isLeaf:l().bool.isRequired,isParent:l().bool.isRequired,label:l().node.isRequired,lang:U.isRequired,optimisticToggle:l().bool.isRequired,showNodeIcon:l().bool.isRequired,treeId:l().string.isRequired,value:l().oneOfType([l().string,l().number]).isRequired,onCheck:l().func.isRequired,onExpand:l().func.isRequired,children:l().node,className:l().string,expandOnClick:l().bool,icon:l().node,showCheckbox:l().bool,title:l().string,onClick:l().func}),X($,"defaultProps",{children:null,className:null,expandOnClick:!1,icon:null,showCheckbox:!0,title:null,onClick:function(){}});var K=$,Z=l().oneOfType([l().arrayOf(l().string),l().arrayOf(l().number)]);function J(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Q(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?J(Object(r),!0).forEach((function(e){tt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function tt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var et={label:l().node.isRequired,value:l().oneOfType([l().string,l().number]).isRequired,disabled:l().bool,icon:l().node,showCheckbox:l().bool,title:l().string},rt=l().oneOfType([l().shape(et),l().shape(Q(Q({},et),{},{children:l().arrayOf(et).isRequired}))]);function nt(t){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function it(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ot(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?it(Object(r),!0).forEach((function(e){ft(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):it(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function at(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function st(t,e){return(st=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ct(t,e){if(e&&("object"===nt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ut(t)}function ut(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lt(t){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ft(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ht=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&st(t,e)}(f,t);var r,n,i,a,u,l=(a=f,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=lt(a);if(u){var r=lt(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ct(this,t)});function f(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),e=l.call(this,t);var r=new A(t);return r.flattenNodes(t.nodes),r.deserializeLists({checked:t.checked,expanded:t.expanded}),e.state={id:t.id||"rct-".concat(c()),model:r,prevProps:t},e.onCheck=e.onCheck.bind(ut(e)),e.onExpand=e.onExpand.bind(ut(e)),e.onNodeClick=e.onNodeClick.bind(ut(e)),e.onExpandAll=e.onExpandAll.bind(ut(e)),e.onCollapseAll=e.onCollapseAll.bind(ut(e)),e.combineMemorized=s()((function(t,e){return ot(ot({},t),e)})).bind(ut(e)),e}return r=f,n=[{key:"onCheck",value:function(t){var e=this.props,r=e.checkModel,n=e.noCascade,i=e.onCheck,o=this.state.model.clone(),a=o.getNode(t.value);o.toggleChecked(t,t.checked,r,n),i(o.serializeList("checked"),ot(ot({},a),t))}},{key:"onExpand",value:function(t){var e=this.props.onExpand,r=this.state.model.clone(),n=r.getNode(t.value);r.toggleNode(t.value,"expanded",t.expanded),e(r.serializeList("expanded"),ot(ot({},n),t))}},{key:"onNodeClick",value:function(t){(0,this.props.onClick)(ot(ot({},this.state.model.getNode(t.value)),t))}},{key:"onExpandAll",value:function(){this.expandAllNodes()}},{key:"onCollapseAll",value:function(){this.expandAllNodes(!1)}},{key:"expandAllNodes",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.props.onExpand;e(this.state.model.clone().expandAllNodes(t).serializeList("expanded"))}},{key:"determineShallowCheckState",value:function(t,e){var r=this.state.model.getNode(t.value);return r.isLeaf||e||0===t.children.length?r.checked?1:0:this.isEveryChildChecked(t)?1:this.isSomeChildChecked(t)?2:0}},{key:"isEveryChildChecked",value:function(t){var e=this;return t.children.every((function(t){return 1===e.state.model.getNode(t.value).checkState}))}},{key:"isSomeChildChecked",value:function(t){var e=this;return t.children.some((function(t){return e.state.model.getNode(t.value).checkState>0}))}},{key:"renderTreeNodes",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.props,i=n.expandDisabled,o=n.expandOnClick,a=n.icons,s=n.lang,c=n.noCascade,u=n.onClick,l=n.onlyLeafCheckboxes,d=n.optimisticToggle,p=n.showNodeTitle,m=n.showNodeIcon,b=this.state,v=b.id,g=b.model,y=f.defaultProps.icons,w=t.map((function(t){var n=t.value,f=g.getNode(t.value),b=f.isParent?e.renderTreeNodes(t.children,t):null;f.checkState=e.determineShallowCheckState(t,c);var w=l?f.isLeaf:f.showCheckbox;return!r.value||g.getNode(r.value).expanded?h().createElement(K,{key:n,checked:f.checkState,className:t.className,disabled:f.disabled,expandDisabled:i,expandOnClick:o,expanded:f.expanded,icon:t.icon,icons:e.combineMemorized(y,a),label:t.label,lang:s,optimisticToggle:d,isLeaf:f.isLeaf,isParent:f.isParent,showCheckbox:w,showNodeIcon:m,title:p?t.title||t.label:t.title,treeId:v,value:t.value,onCheck:e.onCheck,onClick:u&&e.onNodeClick,onExpand:e.onExpand},b):null}));return h().createElement("ol",null,w)}},{key:"renderExpandAll",value:function(){var t=this.props,e=t.icons,r=e.expandAll,n=e.collapseAll,i=t.lang;return t.showExpandAll?h().createElement("div",{className:"rct-options"},h().createElement(O,{className:"rct-option rct-option-expand-all",title:i.expandAll,onClick:this.onExpandAll},r),h().createElement(O,{className:"rct-option rct-option-collapse-all",title:i.collapseAll,onClick:this.onCollapseAll},n)):null}},{key:"renderHiddenInput",value:function(){var t=this.props,e=t.name,r=t.nameAsArray;return void 0===e?null:r?this.renderArrayHiddenInput():this.renderJoinedHiddenInput()}},{key:"renderArrayHiddenInput",value:function(){var t=this.props,e=t.checked,r=t.name;return e.map((function(t){var e="".concat(r,"[]");return h().createElement("input",{key:t,name:e,type:"hidden",value:t})}))}},{key:"renderJoinedHiddenInput",value:function(){var t=this.props,e=t.checked,r=t.name,n=e.join(",");return h().createElement("input",{name:r,type:"hidden",value:n})}},{key:"render",value:function(){var t,r=this.props,n=r.direction,i=r.disabled,o=r.iconsClass,a=r.nodes,s=r.nativeCheckboxes,c=this.state.id,u=this.renderTreeNodes(a),l=e()((ft(t={"react-checkbox-tree":!0,"rct-disabled":i},"rct-icons-".concat(o),!0),ft(t,"rct-native-display",s),ft(t,"rct-direction-rtl","rtl"===n),t));return h().createElement("div",{className:l,id:c},this.renderExpandAll(),this.renderHiddenInput(),u)}}],i=[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.model,n=e.prevProps,i=t.disabled,a=t.id,s=t.nodes,c=ot(ot({},e),{},{prevProps:t});return r.setProps(t),o()(n.nodes,s)&&n.disabled===i||(r.reset(),r.flattenNodes(s)),null!==a&&(c=ot(ot({},c),{},{id:a})),r.deserializeLists({checked:t.checked,expanded:t.expanded}),c}}],n&&at(r.prototype,n),i&&at(r,i),Object.defineProperty(r,"prototype",{writable:!1}),f}(h().Component);function dt(t){return function(t){if(Array.isArray(t))return pt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return pt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function mt(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r>e)return[];var n=[];return t.forEach((function(t){t.children&&(n=[].concat(dt(n),[t.value],dt(mt(t.children,e,r+1))))})),n}ft(ht,"propTypes",{nodes:l().arrayOf(rt).isRequired,checkModel:l().oneOf([_.LEAF,_.ALL]),checked:Z,direction:l().string,disabled:l().bool,expandDisabled:l().bool,expandOnClick:l().bool,expanded:Z,icons:H,iconsClass:l().string,id:l().string,lang:U,name:l().string,nameAsArray:l().bool,nativeCheckboxes:l().bool,noCascade:l().bool,onlyLeafCheckboxes:l().bool,optimisticToggle:l().bool,showExpandAll:l().bool,showNodeIcon:l().bool,showNodeTitle:l().bool,onCheck:l().func,onClick:l().func,onExpand:l().func}),ft(ht,"defaultProps",{checkModel:_.LEAF,checked:[],direction:"ltr",disabled:!1,expandDisabled:!1,expandOnClick:!1,expanded:[],icons:{check:h().createElement("span",{className:"rct-icon rct-icon-check"}),uncheck:h().createElement("span",{className:"rct-icon rct-icon-uncheck"}),halfCheck:h().createElement("span",{className:"rct-icon rct-icon-half-check"}),expandClose:h().createElement("span",{className:"rct-icon rct-icon-expand-close"}),expandOpen:h().createElement("span",{className:"rct-icon rct-icon-expand-open"}),expandAll:h().createElement("span",{className:"rct-icon rct-icon-expand-all"}),collapseAll:h().createElement("span",{className:"rct-icon rct-icon-collapse-all"}),parentClose:h().createElement("span",{className:"rct-icon rct-icon-parent-close"}),parentOpen:h().createElement("span",{className:"rct-icon rct-icon-parent-open"}),leaf:h().createElement("span",{className:"rct-icon rct-icon-leaf"})},iconsClass:"fa4",id:null,lang:{collapseAll:"Collapse all",expandAll:"Expand all",toggle:"Toggle"},name:void 0,nameAsArray:!1,nativeCheckboxes:!1,noCascade:!1,onlyLeafCheckboxes:!1,optimisticToggle:!0,showExpandAll:!1,showNodeIcon:!0,showNodeTitle:!1,onCheck:function(){},onClick:null,onExpand:function(){}});var bt=ht}(),i}())},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M4 20h16c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2s.9 2 2 2zm0-3h2v2H4v-2zM2 6c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2zm4 1H4V5h2v2zm-2 7h16c1.1 0 2-.9 2-2s-.9-2-2-2H4c-1.1 0-2 .9-2 2s.9 2 2 2zm0-3h2v2H4v-2z"}),"StorageRounded");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"}),"CheckCircleOutlined");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z"}),"Email");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"}),"Textsms");e.default=a},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"m19.77 7.23.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"}),"LocalGasStation");e.default=a},function(t,e,r){"use strict";(function(t,n){r.d(e,"a",(function(){return xt}));var i=r(544),o=r.n(i),a=r(858),s=r.n(a),c=r(44),u=r.n(c),l=r(859),f=r.n(l),h=r(370),d=r.n(h),p=r(114),m=r.n(p),b=r(380),v=r.n(b),g=r(36),y=r.n(g),w=r(860),x=r.n(w),O=r(68),_=r.n(O),S=r(0),k=r.n(S),E=r(55),M=r.n(E),C=r(431),j=r(80),A=r(440),T=r(433),P=r(211),D=r(864),R=r(865),L=r(291),I=r(336),N=r(74),F=r(383),B=r(556),z=r(201),H=r(17),U=r(37),W=r(555),q=r(119),V=r(302),G=r(163),Y=r(42);function X(t){return(X="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(t,e)||ot(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(){return(K=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Z(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function J(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Q(t,e){return(Q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=nt(t);if(e){var i=nt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return et(this,r)}}function et(t,e){return!e||"object"!==X(e)&&"function"!==typeof e?rt(t):e}function rt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nt(t){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function it(t){return function(t){if(Array.isArray(t))return at(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||ot(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(t,e){if(t){if("string"===typeof t)return at(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?at(t,e):void 0}}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){ut(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ut(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lt={xAxis:["bottom","top"],yAxis:["left","right"]},ft={x:0,y:0},ht=Number.isFinite?Number.isFinite:isFinite,dt="function"===typeof requestAnimationFrame?requestAnimationFrame:"function"===typeof t?t:setTimeout,pt="function"===typeof cancelAnimationFrame?cancelAnimationFrame:"function"===typeof n?n:clearTimeout,mt=function(t,e,r){var n=e.graphicalItems,i=e.dataStartIndex,o=e.dataEndIndex,a=(n||[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(it(t),it(r)):t}),[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:t&&t.length&&Object(H.h)(i)&&Object(H.h)(o)?t.slice(i,o+1):[]},bt=function(t,e,r,n){var i=t.graphicalItems,o=t.tooltipAxis,a=mt(e,t);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(t,e){if(e.props.hide)return t;var i,s=e.props.data;if(o.dataKey&&!o.allowDuplicatedCategory){var c=void 0===s?a:s;i=Object(H.a)(c,o.dataKey,n)}else i=s&&s[r]||a[r];return i?[].concat(it(t),[Object(U.v)(e,i)]):t}),[])},vt=function(t,e,r,n){var i=n||{x:t.chartX,y:t.chartY},o=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(i,r),a=t.orderedTooltipTicks,s=t.tooltipAxis,c=t.tooltipTicks,u=Object(U.b)(o,a,c,s);if(u>=0&&c){var l=c[u]&&c[u].value;return{activeTooltipIndex:u,activeLabel:l,activePayload:bt(t,e,u,l),activeCoordinate:function(t,e,r,n){var i=e.find((function(t){return t&&t.index===r}));if(i){if("horizontal"===t)return{x:i.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=n.radius;return ct(ct(ct({},n),Object(q.c)(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,c=n.angle;return ct(ct(ct({},n),Object(q.c)(n.cx,n.cy,s,c)),{},{angle:c,radius:s})}return ft}(r,a,u,i)}}return null},gt=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,u=t.children,l="".concat(n,"Id"),f=Object(N.a)(u,i),h={};return f&&f.length?h=function(t,e){var r=e.axes,n=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,u=t.layout,l=t.children,f=t.stackOffset,h=Object(U.x)(u,i);return r.reduce((function(e,r){var d=r.props,p=d.type,m=d.dataKey,b=d.allowDataOverflow,g=d.allowDuplicatedCategory,w=d.scale,x=d.ticks,O=r.props[o],_=mt(t.data,{graphicalItems:n.filter((function(t){return t.props[o]===O})),dataStartIndex:s,dataEndIndex:c}),S=_.length;if(!e[O]){var k,E,M;if(m){if(k=Object(U.m)(_,m,p),"category"===p&&h){var C=Object(H.e)(k);g&&C?(E=k,k=v()(0,S)):g||(k=Object(U.y)(r.props.domain,k,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(it(t),[e])}),[]))}else if("category"===p)k=g?k.filter((function(t){return""!==t&&!y()(t)})):Object(U.y)(r.props.domain,k,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||y()(e)?t:[].concat(it(t),[e])}),[]);else if("number"===p){var j=Object(U.z)(_,n.filter((function(t){return t.props[o]===O&&!t.props.hide})),m,i);j&&(k=j)}!h||"number"!==p&&"auto"===w||(M=Object(U.m)(_,m,"category"))}else k=h?v()(0,S):a&&a[O]&&a[O].hasStack&&"number"===p?"expand"===f?[0,1]:Object(U.o)(a[O].stackGroups,s,c):Object(U.n)(_,n.filter((function(t){return t.props[o]===O&&!t.props.hide})),p,!0);if("number"===p)k=Object(W.a)(l,k,O,i,x),r.props.domain&&(k=Object(U.B)(r.props.domain,k,b));else if("category"===p&&r.props.domain){var A=r.props.domain;k.every((function(t){return A.indexOf(t)>=0}))&&(k=A)}return ct(ct({},e),{},ut({},O,ct(ct({},r.props),{},{axisType:i,domain:k,categoricalDomain:M,duplicateDomain:E,originalDomain:r.props.domain,isCategorical:h,layout:u})))}return e}),{})}(t,{axes:f,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:s,dataEndIndex:c}):o&&o.length&&(h=function(t,e){var r=e.graphicalItems,n=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,c=e.dataEndIndex,u=t.layout,l=t.children,f=mt(t.data,{graphicalItems:r,dataStartIndex:s,dataEndIndex:c}),h=f.length,d=Object(U.x)(u,i),p=-1;return r.reduce((function(t,e){var b,g=e.props[o];return t[g]?t:(p++,d?b=v()(0,h):a&&a[g]&&a[g].hasStack?(b=Object(U.o)(a[g].stackGroups,s,c),b=Object(W.a)(l,b,g,i)):(b=Object(U.B)(n.defaultProps.domain,Object(U.n)(f,r.filter((function(t){return t.props[o]===g&&!t.props.hide})),"number"),n.defaultProps.allowDataOverflow),b=Object(W.a)(l,b,g,i)),ct(ct({},t),{},ut({},g,ct(ct({axisType:i},n.defaultProps),{},{hide:!0,orientation:m()(lt,"".concat(i,".").concat(p%2),null),domain:b,originalDomain:n.defaultProps.domain,isCategorical:d,layout:u}))))}),{})}(t,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:s,dataEndIndex:c})),h},yt=function(t){var e=t.children,r=t.defaultShowTooltip,n=Object(N.b)(e,B.a.displayName);return{chartX:0,chartY:0,dataStartIndex:n&&n.props&&n.props.startIndex||0,dataEndIndex:n&&n.props&&n.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!y()(r)&&r}},wt=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},xt=function(t){var e,r,n=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,c=void 0===a?"axis":a,l=t.validateTooltipEventTypes,h=void 0===l?["axis"]:l,p=t.axisComponents,b=t.legendContent,v=t.formatAxisMap,g=t.defaultProps,w=function(t,e){var r=e.graphicalItems,n=e.stackGroups,i=e.offset,o=e.updateId,a=e.dataStartIndex,s=e.dataEndIndex,c=t.barSize,u=t.layout,l=t.barGap,f=t.barCategoryGap,h=t.maxBarSize,d=wt(u),m=d.numericAxisName,b=d.cateAxisName,v=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Object(N.c)(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r)&&Object(U.h)({barSize:c,stackGroups:n}),g=[];return r.forEach((function(r,c){var d=mt(t.data,{dataStartIndex:a,dataEndIndex:s},r),w=r.props,x=w.dataKey,O=w.maxBarSize,_=r.props["".concat(m,"Id")],S=r.props["".concat(b,"Id")],k=p.reduce((function(t,n){var i,o=e["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],s=o&&o[a];return ct(ct({},t),{},(ut(i={},n.axisType,s),ut(i,"".concat(n.axisType,"Ticks"),Object(U.t)(s)),i))}),{}),E=k[b],M=k["".concat(b,"Ticks")],C=n&&n[_]&&n[_].hasStack&&Object(U.s)(r,n[_].stackGroups),j=Object(N.c)(r.type).indexOf("Bar")>=0,A=Object(U.f)(E,M),T=[];if(j){var P,D,R=y()(O)?h:O,L=null!==(P=null!==(D=Object(U.f)(E,M,!0))&&void 0!==D?D:R)&&void 0!==P?P:0;T=Object(U.g)({barGap:l,barCategoryGap:f,bandSize:L!==A?L:A,sizeList:v[S],maxBarSize:R}),L!==A&&(T=T.map((function(t){return ct(ct({},t),{},{position:ct(ct({},t.position),{},{offset:t.position.offset-L/2})})})))}var I,F=r&&r.type&&r.type.getComposedData;F&&g.push({props:ct(ct({},F(ct(ct({},k),{},{displayedData:d,props:t,dataKey:x,item:r,bandSize:A,barPosition:T,offset:i,stackedData:C,layout:u,dataStartIndex:a,dataEndIndex:s}))),{},(I={key:r.key||"item-".concat(c)},ut(I,m,k[m]),ut(I,b,k[b]),ut(I,"animationId",o),I)),childIndex:Object(N.f)(r,t.children),item:r})})),g},O=function(t,e){var r=t.props,o=t.dataStartIndex,a=t.dataEndIndex,s=t.updateId;if(!Object(N.h)({props:r}))return null;var c=r.children,u=r.layout,l=r.stackOffset,f=r.data,h=r.reverseStackOrder,b=wt(u),g=b.numericAxisName,y=b.cateAxisName,x=Object(N.a)(c,i),O=Object(U.r)(f,x,"".concat(g,"Id"),"".concat(y,"Id"),l,h),_=p.reduce((function(t,e){var n="".concat(e.axisType,"Map");return ct(ct({},t),{},ut({},n,gt(r,ct(ct({},e),{},{graphicalItems:x,stackGroups:e.axisType===g&&O,dataStartIndex:o,dataEndIndex:a}))))}),{}),S=function(t,e){var r=t.props,n=t.graphicalItems,i=t.xAxisMap,o=void 0===i?{}:i,a=t.yAxisMap,s=void 0===a?{}:a,c=r.width,u=r.height,l=r.children,f=r.margin||{},h=Object(N.b)(l,B.a.displayName),d=Object(N.b)(l,T.a.displayName),p=Object.keys(s).reduce((function(t,e){var r=s[e],n=r.orientation;return r.mirror||r.hide?t:ct(ct({},t),{},ut({},n,t[n]+r.width))}),{left:f.left||0,right:f.right||0}),b=Object.keys(o).reduce((function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:ct(ct({},t),{},ut({},n,m()(t,"".concat(n))+r.height))}),{top:f.top||0,bottom:f.bottom||0}),v=ct(ct({},b),p),g=v.bottom;return h&&(v.bottom+=h.props.height||B.a.defaultProps.height),d&&e&&(v=Object(U.a)(v,n,r,e)),ct(ct({brushBottom:g},v),{},{width:c-v.left-v.right,height:u-v.top-v.bottom})}(ct(ct({},_),{},{props:r,graphicalItems:x}),null===e||void 0===e?void 0:e.legendBBox);Object.keys(_).forEach((function(t){_[t]=v(r,_[t],S,t.replace("Map",""),n)}));var k=function(t){var e=Object(H.b)(t),r=Object(U.t)(e,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:d()(r,(function(t){return t.coordinate})),tooltipAxis:e,tooltipAxisBandSize:Object(U.f)(e,r)}}(_["".concat(y,"Map")]),E=w(r,ct(ct({},_),{},{dataStartIndex:o,dataEndIndex:a,updateId:s,graphicalItems:x,stackGroups:O,offset:S}));return ct(ct({formattedGraphicalItems:E,graphicalItems:x,offset:S,stackGroups:O},k),_)};return r=e=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q(t,e)}(l,t);var e,r,i,a=tt(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.deferId=void 0,e.container=void 0,e.clearDeferId=function(){!y()(e.deferId)&&pt&&pt(e.deferId),e.deferId=null},e.handleLegendBBoxUpdate=function(t){if(t&&e.legendInstance){var r=e.state,n=r.dataStartIndex,i=r.dataEndIndex,o=r.updateId;e.setState(ct({legendBBox:t},O({props:e.props,dataStartIndex:n,dataEndIndex:i,updateId:o},ct(ct({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,r,n){e.props.syncId===t&&r!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=dt&&dt(e.applySyncEvent.bind(rt(e),n)))},e.handleBrushChange=function(t){var r=t.startIndex,n=t.endIndex;if(r!==e.state.dataStartIndex||n!==e.state.dataEndIndex){var i=e.state.updateId;e.setState((function(){return ct({dataStartIndex:r,dataEndIndex:n},O({props:e.props,dataStartIndex:r,dataEndIndex:n,updateId:i},e.state))})),e.triggerSyncEvent({dataStartIndex:r,dataEndIndex:n})}},e.handleMouseEnter=function(t){var r=e.props.onMouseEnter,n=e.getMouseInfo(t);if(n){var i=ct(ct({},n),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)}},e.triggeredAfterMouseMove=function(t){var r=e.props.onMouseMove,n=e.getMouseInfo(t),i=n?ct(ct({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)},e.handleItemMouseEnter=function(t){e.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))},e.handleItemMouseLeave=function(){e.setState((function(){return{isTooltipActive:!1}}))},e.handleMouseMove=function(t){t&&u()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var r=e.props.onMouseLeave,n={isTooltipActive:!1};e.setState(n),e.triggerSyncEvent(n),u()(r)&&r(n,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var r=Object(N.d)(t),n=m()(e.props,"".concat(r));r&&u()(n)&&n(/.*touch.*/i.test(r)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var r=e.props.onClick,n=e.getMouseInfo(t);if(n){var i=ct(ct({},n),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),u()(r)&&r(i,t)}},e.handleMouseDown=function(t){var r=e.props.onMouseDown;u()(r)&&r(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var r=e.props.onMouseUp;u()(r)&&r(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,r=t.width,n=t.height,i=t.offset;return Object(U.l)(F.a.getTicks(ct(ct(ct({},F.a.defaultProps),e),{},{ticks:Object(U.t)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.left,i.left+i.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,r=t.width,n=t.height,i=t.offset;return Object(U.l)(F.a.getTicks(ct(ct(ct({},F.a.defaultProps),e),{},{ticks:Object(U.t)(e,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.top,i.top+i.height)},e.axesTicksGenerator=function(t){return Object(U.t)(t,!0)},e.renderCursor=function(t){var r=e.state,i=r.isTooltipActive,o=r.activeCoordinate,a=r.activePayload,s=r.offset,c=r.activeTooltipIndex,u=e.getTooltipEventType();if(!t||!t.props.cursor||!i||!o||"ScatterChart"!==n&&"axis"!==u)return null;var l,f=e.props.layout,h=P.a;if("ScatterChart"===n)l=o,h=D.a;else if("BarChart"===n)l=e.getCursorRectangle(),h=I.a;else if("radial"===f){var d=e.getCursorPoints(),p=d.cx,m=d.cy,b=d.radius;l={cx:p,cy:m,startAngle:d.startAngle,endAngle:d.endAngle,innerRadius:b,outerRadius:b},h=R.a}else l={points:e.getCursorPoints()},h=P.a;var v=t.key||"_recharts-cursor",g=ct(ct(ct(ct({stroke:"#ccc",pointerEvents:"none"},s),l),Object(Y.c)(t.props.cursor)),{},{payload:a,payloadIndex:c,key:v,className:"recharts-tooltip-cursor"});return Object(S.isValidElement)(t.props.cursor)?Object(S.cloneElement)(t.props.cursor,g):Object(S.createElement)(h,g)},e.renderPolarAxis=function(t,r,n){var i=m()(t,"type.axisType"),o=m()(e.state,"".concat(i,"Map"))[t.props["".concat(i,"Id")]];return Object(S.cloneElement)(t,ct(ct({},o),{},{className:i,key:t.key||"".concat(r,"-").concat(n),ticks:Object(U.t)(o,!0)}))},e.renderXAxis=function(t,r,n){var i=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(i,t,r,n)},e.renderYAxis=function(t,r,n){var i=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(i,t,r,n)},e.renderGrid=function(t){var r=e.state,n=r.xAxisMap,i=r.yAxisMap,a=r.offset,c=e.props,u=c.width,l=c.height,f=Object(H.b)(n),h=s()(i,(function(t){return o()(t.domain,ht)}))||Object(H.b)(i),d=t.props||{};return Object(S.cloneElement)(t,{key:t.key||"grid",x:Object(H.h)(d.x)?d.x:a.left,y:Object(H.h)(d.y)?d.y:a.top,width:Object(H.h)(d.width)?d.width:a.width,height:Object(H.h)(d.height)?d.height:a.height,xAxis:f,yAxis:h,offset:a,chartWidth:u,chartHeight:l,verticalCoordinatesGenerator:d.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:d.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var r=t.props,n=r.radialLines,i=r.polarAngles,o=r.polarRadius,a=e.state,s=a.radiusAxisMap,c=a.angleAxisMap,u=Object(H.b)(s),l=Object(H.b)(c),f=l.cx,h=l.cy,d=l.innerRadius,p=l.outerRadius;return Object(S.cloneElement)(t,{polarAngles:_()(i)?i:Object(U.t)(l,!0).map((function(t){return t.coordinate})),polarRadius:_()(o)?o:Object(U.t)(u,!0).map((function(t){return t.coordinate})),cx:f,cy:h,innerRadius:d,outerRadius:p,key:t.key||"polar-grid",radialLines:n})},e.renderLegend=function(){var t=e.state.formattedGraphicalItems,r=e.props,n=r.children,i=r.width,o=r.height,a=e.props.margin||{},s=i-(a.left||0)-(a.right||0),c=Object(U.p)({children:n,formattedGraphicalItems:t,legendWidth:s,legendContent:b});if(!c)return null;var u=c.item,l=Z(c,["item"]);return Object(S.cloneElement)(u,ct(ct({},l),{},{chartWidth:i,chartHeight:o,margin:a,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,r=Object(N.b)(t,A.a.displayName);if(!r)return null;var n=e.state,i=n.isTooltipActive,o=n.activeCoordinate,a=n.activePayload,s=n.activeLabel,c=n.offset;return Object(S.cloneElement)(r,{viewBox:ct(ct({},c),{},{x:c.left,y:c.top}),active:i,label:s,payload:i?a:[],coordinate:o})},e.renderBrush=function(t){var r=e.props,n=r.margin,i=r.data,o=e.state,a=o.offset,s=o.dataStartIndex,c=o.dataEndIndex,u=o.updateId;return Object(S.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:Object(U.d)(e.handleBrushChange,null,t.props.onChange),data:i,x:Object(H.h)(t.props.x)?t.props.x:a.left,y:Object(H.h)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:Object(H.h)(t.props.width)?t.props.width:a.width,startIndex:s,endIndex:c,updateId:"brush-".concat(u)})},e.renderReferenceElement=function(t,r,n){if(!t)return null;var i=rt(e).clipPathId,o=e.state,a=o.xAxisMap,s=o.yAxisMap,c=o.offset,u=t.props,l=u.xAxisId,f=u.yAxisId;return Object(S.cloneElement)(t,{key:t.key||"".concat(r,"-").concat(n),xAxis:a[l],yAxis:s[f],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:i})},e.renderActivePoints=function(t){var e=t.item,r=t.activePoint,n=t.basePoint,i=t.childIndex,o=t.isRange,a=[],s=e.props.key,c=e.item.props,u=c.activeDot,f=ct(ct({index:i,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:Object(U.q)(e.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(s,"-activePoint-").concat(i)},Object(Y.c)(u)),Object(Y.a)(u));return a.push(l.renderActiveDot(u,f)),n?a.push(l.renderActiveDot(u,ct(ct({},f),{},{cx:n.x,cy:n.y,key:"".concat(s,"-basePoint-").concat(i)}))):o&&a.push(null),a},e.renderGraphicChild=function(t,r,n){var i=e.filterFormatItem(t,r,n);if(!i)return null;var o=e.getTooltipEventType(),a=e.state,s=a.isTooltipActive,c=a.tooltipAxis,u=a.activeTooltipIndex,l=a.activeLabel,f=e.props.children,h=Object(N.b)(f,A.a.displayName),d=i.props,p=d.points,m=d.isRange,b=d.baseLine,v=i.item.props,g=v.activeDot,w=!v.hide&&s&&h&&g&&u>=0,x={};"axis"!==o&&h&&"click"===h.props.trigger?x={onClick:Object(U.d)(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==o&&(x={onMouseLeave:Object(U.d)(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:Object(U.d)(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var O=Object(S.cloneElement)(t,ct(ct({},i.props),x));if(w){var _,k;if(c.dataKey&&!c.allowDuplicatedCategory){var E="function"===typeof c.dataKey?function(t){return"function"===typeof c.dataKey?c.dataKey(t.payload):null}:"payload.".concat(c.dataKey.toString());_=Object(H.a)(p,E,l),k=m&&b&&Object(H.a)(b,E,l)}else _=p[u],k=m&&b&&b[u];if(!y()(_))return[O].concat(it(e.renderActivePoints({item:i,activePoint:_,basePoint:k,childIndex:u,isRange:m})))}return m?[O,null,null]:[O,null]},e.renderCustomized=function(t,r,n){return Object(S.cloneElement)(t,ct(ct({key:"recharts-customized-".concat(n)},e.props),e.state))},e.uniqueChartId=y()(t.id)?Object(H.k)("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=f()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=l,(r=[{key:"componentDidMount",value:function(){y()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){y()(t.syncId)&&!y()(this.props.syncId)&&this.addListener(),!y()(t.syncId)&&y()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),y()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Object(N.b)(this.props.children,A.a.displayName);if(t&&x()(t.props.shared)){var e=t.props.shared?"axis":"item";return h.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=Object(z.b)(this.container),r=Object(z.a)(t,e),n=this.inRange(r.chartX,r.chartY);if(!n)return null;var i=this.state,o=i.xAxisMap,a=i.yAxisMap;if("axis"!==this.getTooltipEventType()&&o&&a){var s=Object(H.b)(o).scale,c=Object(H.b)(a).scale,u=s&&s.invert?s.invert(r.chartX):null,l=c&&c.invert?c.invert(r.chartY):null;return ct(ct({},r),{},{xValue:u,yValue:l})}var f=vt(this.state,this.props.data,this.props.layout,n);return f?ct(ct({},r),f):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,r=e.activeCoordinate,n=e.offset,i=e.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?r.x-o:n.left+.5,y:"horizontal"===t?n.top+.5:r.y-o,width:"horizontal"===t?i:n.width-1,height:"horizontal"===t?n.height-1:i}}},{key:"getCursorPoints",value:function(){var t,e,r,n,i=this.props.layout,o=this.state,a=o.activeCoordinate,s=o.offset;if("horizontal"===i)r=t=a.x,e=s.top,n=s.top+s.height;else if("vertical"===i)n=e=a.y,t=s.left,r=s.left+s.width;else if(!y()(a.cx)||!y()(a.cy)){if("centric"!==i){var c=a.cx,u=a.cy,l=a.radius,f=a.startAngle,h=a.endAngle;return{points:[Object(q.c)(c,u,l,f),Object(q.c)(c,u,l,h)],cx:c,cy:u,radius:l,startAngle:f,endAngle:h}}var d=a.cx,p=a.cy,m=a.innerRadius,b=a.outerRadius,v=a.angle,g=Object(q.c)(d,p,m,v),w=Object(q.c)(d,p,b,v);t=g.x,e=g.y,r=w.x,n=w.y}return[{x:t,y:e},{x:r,y:n}]}},{key:"inRange",value:function(t,e){var r=this.props.layout;if("horizontal"===r||"vertical"===r){var n=this.state.offset;return t>=n.left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height?{x:t,y:e}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var s=Object(H.b)(o);return Object(q.b)({x:t,y:e},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=Object(N.b)(t,A.a.displayName),n={};return r&&"axis"===e&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),ct(ct({},Object(Y.a)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){G.b.on(G.a,this.handleReceiveSyncEvent),G.b.setMaxListeners&&G.b._maxListeners&&G.b.setMaxListeners(G.b._maxListeners+1)}},{key:"removeListener",value:function(){G.b.removeListener(G.a,this.handleReceiveSyncEvent),G.b.setMaxListeners&&G.b._maxListeners&&G.b.setMaxListeners(G.b._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;y()(e)||G.b.emit(G.a,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,r=e.layout,n=e.syncMethod,i=this.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(y()(t.dataStartIndex)&&y()(t.dataEndIndex))if(y()(t.activeTooltipIndex))this.setState(t);else{var s=t.chartX,c=t.chartY,u=t.activeTooltipIndex,l=this.state,f=l.offset,h=l.tooltipTicks;if(!f)return;if("function"===typeof n)u=n(h,t);else if("value"===n){u=-1;for(var d=0;d<h.length;d++)if(h[d].value===t.activeLabel){u=d;break}}var p=ct(ct({},f),{},{x:f.left,y:f.top}),m=Math.min(s,p.x+p.width),b=Math.min(c,p.y+p.height),v=h[u]&&h[u].value,g=bt(this.state,this.props.data,u),w=h[u]?{x:"horizontal"===r?h[u].coordinate:m,y:"horizontal"===r?b:h[u].coordinate}:ft;this.setState(ct(ct({},t),{},{activeLabel:v,activeCoordinate:w,activePayload:g,activeTooltipIndex:u}))}else this.setState(ct({dataStartIndex:o,dataEndIndex:a},O({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===t||a.props.key===t.key||e===Object(N.c)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,r,n){var i=this.props,o=i.width,a=i.height;return k.a.createElement(F.a,K({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(r,"-").concat(n),viewBox:{x:0,y:0,width:o,height:a},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,i=e.height,o=e.width;return k.a.createElement("defs",null,k.a.createElement("clipPath",{id:t},k.a.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=$(e,2),n=r[0],i=r[1];return ct(ct({},t),{},ut({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=$(e,2),n=r[0],i=r[1];return ct(ct({},t),{},ut({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,r;return null===(e=this.state.xAxisMap)||void 0===e||null===(r=e[t])||void 0===r?void 0:r.scale}},{key:"getYScaleByAxisId",value:function(t){var e,r;return null===(e=this.state.yAxisMap)||void 0===e||null===(r=e[t])||void 0===r?void 0:r.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formattedGraphicalItems;if(e&&e.length)for(var r=0,n=e.length;r<n;r++){var i=e[r],o=i.props,a=i.item,s=Object(N.c)(a.type);if("Bar"===s){var c=(o.data||[]).find((function(e){return Object(I.b)(t,e)}));if(c)return{graphicalItem:i,payload:c}}else if("RadialBar"===s){var u=(o.data||[]).find((function(e){return Object(q.b)(t,e)}));if(u)return{graphicalItem:i,payload:u}}}return null}},{key:"render",value:function(){var t=this;if(!Object(N.h)(this))return null;var e=this.props,r=e.children,n=e.className,i=e.width,o=e.height,a=e.style,s=e.compact,c=Z(e,["children","className","width","height","style","compact"]),u=Object(Y.c)(c),l={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(s)return k.a.createElement(C.a,K({},u,{width:i,height:o}),this.renderClipPath(),Object(N.g)(r,l));var f=this.parseEventsOfWrapper();return k.a.createElement("div",K({className:M()("recharts-wrapper",n),style:ct({position:"relative",cursor:"default",width:i,height:o},a)},f,{ref:function(e){t.container=e}}),k.a.createElement(C.a,K({},u,{width:i,height:o}),this.renderClipPath(),Object(N.g)(r,l)),this.renderLegend(),this.renderTooltip())}}])&&J(e.prototype,r),i&&J(e,i),l}(S.Component),e.displayName=n,e.defaultProps=ct({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},g),e.getDerivedStateFromProps=function(t,e){var r=t.data,n=t.children,i=t.width,o=t.height,a=t.layout,s=t.stackOffset,c=t.margin;if(y()(e.updateId)){var u=yt(t);return ct(ct(ct({},u),{},{updateId:0},O(ct(ct({props:t},u),{},{updateId:0}),e)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:n})}if(r!==e.prevData||i!==e.prevWidth||o!==e.prevHeight||a!==e.prevLayout||s!==e.prevStackOffset||!Object(V.a)(c,e.prevMargin)){var l=yt(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},h=ct(ct({},vt(e,r,a)),{},{updateId:e.updateId+1}),d=ct(ct(ct({},l),f),h);return ct(ct(ct({},d),O(ct({props:t},d),e)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:s,prevMargin:c,prevChildren:n})}if(!Object(N.e)(n,e.prevChildren)){var p=!y()(r)?e.updateId:e.updateId+1;return ct(ct({updateId:p},O(ct(ct({props:t},e),{},{updateId:p}),e)),{},{prevChildren:n})}return null},e.renderActiveDot=function(t,e){var r;return r=Object(S.isValidElement)(t)?Object(S.cloneElement)(t,e):u()(t)?t(e):k.a.createElement(L.a,e),k.a.createElement(j.a,{className:"recharts-active-dot",key:e.key},r)},r}}).call(this,r(598).setImmediate,r(598).clearImmediate)},function(t,e,r){var n=r(1253)(r(1254));t.exports=n},function(t,e,r){var n=r(1258),i=r(150);t.exports=function(t,e,r){var o=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:o,maxWait:e,trailing:a})}},function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return!0===t||!1===t||i(t)&&"[object Boolean]"==n(t)}},function(t,e,r){var n=r(801),i=r(1276);t.exports=function(t,e){return n(i(t,e),1)}},function(t,e,r){var n=r(697),i=r(245),o=r(1285),a=r(68),s=r(484);t.exports=function(t,e,r){var c=a(t)?n:o;return r&&s(t,e,r)&&(e=void 0),c(t,i(e,3))}},function(t,e,r){!function(t){"use strict";var e="function"===typeof WeakSet,r=Object.keys;function n(t,e){return t===e||t!==t&&e!==e}function i(t){return t.constructor===Object||null==t.constructor}function o(t){return!!t&&"function"===typeof t.then}function a(t){return!(!t||!t.$$typeof)}function s(){var t=[];return{add:function(e){t.push(e)},has:function(e){return-1!==t.indexOf(e)}}}var c=e?function(){return new WeakSet}:s;function u(t){return function(e){var r=t||e;return function(t,e,n){void 0===n&&(n=c());var i=!!t&&"object"===typeof t,o=!!e&&"object"===typeof e;if(i||o){var a=i&&n.has(t),s=o&&n.has(e);if(a||s)return a&&s;i&&n.add(t),o&&n.add(e)}return r(t,e,n)}}}var l=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function f(t,e,n,i){var o=r(t),s=o.length;if(r(e).length!==s)return!1;if(s)for(var c=void 0;s-- >0;){if("_owner"===(c=o[s])){var u=a(t),f=a(e);if((u||f)&&u!==f)return!1}if(!l(e,c)||!n(t[c],e[c],i))return!1}return!0}var h="function"===typeof Map,d="function"===typeof Set;function p(t){var e="function"===typeof t?t(r):r;function r(t,r,a){if(t===r)return!0;if(t&&r&&"object"===typeof t&&"object"===typeof r){if(i(t)&&i(r))return f(t,r,e,a);var s=Array.isArray(t),c=Array.isArray(r);return s||c?s===c&&function(t,e,r,n){var i=t.length;if(e.length!==i)return!1;for(;i-- >0;)if(!r(t[i],e[i],n))return!1;return!0}(t,r,e,a):(s=t instanceof Date,c=r instanceof Date,s||c?s===c&&n(t.getTime(),r.getTime()):(s=t instanceof RegExp,c=r instanceof RegExp,s||c?s===c&&function(t,e){return t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.unicode===e.unicode&&t.sticky===e.sticky&&t.lastIndex===e.lastIndex}(t,r):o(t)||o(r)?t===r:h&&(s=t instanceof Map,c=r instanceof Map,s||c)?s===c&&function(t,e,r,n){var i=t.size===e.size;if(i&&t.size){var o={};t.forEach((function(t,a){if(i){var s=!1,c=0;e.forEach((function(e,i){s||o[c]||(s=r(a,i,n)&&r(t,e,n))&&(o[c]=!0),c++})),i=s}}))}return i}(t,r,e,a):d&&(s=t instanceof Set,c=r instanceof Set,s||c)?s===c&&function(t,e,r,n){var i=t.size===e.size;if(i&&t.size){var o={};t.forEach((function(t){if(i){var a=!1,s=0;e.forEach((function(e){a||o[s]||(a=r(t,e,n))&&(o[s]=!0),s++})),i=a}}))}return i}(t,r,e,a):f(t,r,e,a)))}return t!==t&&r!==r}return r}var m=p(),b=p((function(){return n})),v=p(u()),g=p(u(n));t.circularDeepEqual=v,t.circularShallowEqual=g,t.createCustomEqual=p,t.deepEqual=m,t.sameValueZeroEqual=n,t.shallowEqual=b,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,r){"use strict";r.d(e,"a",(function(){return v}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(17),c=r(42);function u(t){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=b(t);if(e){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(t,e){return!e||"object"!==u(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(u,t);var e,r,n,o=p(u);function u(){return f(this,u),o.apply(this,arguments)}return e=u,n=[{key:"getPath",value:function(t,e,r,n,i,o){return"M".concat(t,",").concat(i,"v").concat(n,"M").concat(o,",").concat(e,"h").concat(r)}}],(r=[{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,f=t.top,h=t.left,d=t.className;return Object(s.h)(e)&&Object(s.h)(r)&&Object(s.h)(n)&&Object(s.h)(o)&&Object(s.h)(f)&&Object(s.h)(h)?i.a.createElement("path",l({},Object(c.c)(this.props,!0),{className:a()("recharts-cross",d),d:u.getPath(e,r,n,o,f,h)})):null}}])&&h(e.prototype,r),n&&h(e,n),u}(n.PureComponent);v.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0}},function(t,e,r){"use strict";r.d(e,"a",(function(){return w}));var n=r(0),i=r.n(n),o=r(55),a=r.n(o),s=r(42),c=r(119),u=r(17);function l(t){return(l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=v(t);if(e){var i=v(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(t,e){return!e||"object"!==l(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){var e=t.cx,r=t.cy,n=t.radius,i=t.angle,o=t.sign,a=t.isExternal,s=t.cornerRadius,u=t.cornerIsExternal,l=s*(a?1:-1)+n,f=Math.asin(s/l)/c.a,h=u?i:i+o*f,d=u?i-o*f:i;return{center:Object(c.c)(e,r,l,h),circleTangency:Object(c.c)(e,r,n,h),lineTangency:Object(c.c)(e,r,l*Math.cos(f*c.a),d),theta:f}},y=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return Object(u.j)(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),s=o+a,l=Object(c.c)(e,r,i,o),f=Object(c.c)(e,r,i,s),h="M ".concat(l.x,",").concat(l.y,"\n    A ").concat(i,",").concat(i,",0,\n    ").concat(+(Math.abs(a)>180),",").concat(+(o>s),",\n    ").concat(f.x,",").concat(f.y,"\n  ");if(n>0){var d=Object(c.c)(e,r,n,o),p=Object(c.c)(e,r,n,s);h+="L ".concat(p.x,",").concat(p.y,"\n            A ").concat(n,",").concat(n,",0,\n            ").concat(+(Math.abs(a)>180),",").concat(+(o<=s),",\n            ").concat(d.x,",").concat(d.y," Z")}else h+="L ".concat(e,",").concat(r," Z");return h},w=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,r,n,o=m(c);function c(){return h(this,c),o.apply(this,arguments)}return e=c,(r=[{key:"render",value:function(){var t=this.props,e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,c=t.cornerRadius,l=t.forceCornerRadius,h=t.cornerIsExternal,d=t.startAngle,p=t.endAngle,m=t.className;if(o<n||d===p)return null;var b,v=a()("recharts-sector",m),w=o-n,x=Object(u.d)(c,w,0,!0);return b=x>0&&Math.abs(d-p)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,s=t.cornerIsExternal,c=t.startAngle,l=t.endAngle,f=Object(u.j)(l-c),h=g({cx:e,cy:r,radius:i,angle:c,sign:f,cornerRadius:o,cornerIsExternal:s}),d=h.circleTangency,p=h.lineTangency,m=h.theta,b=g({cx:e,cy:r,radius:i,angle:l,sign:-f,cornerRadius:o,cornerIsExternal:s}),v=b.circleTangency,w=b.lineTangency,x=b.theta,O=s?Math.abs(c-l):Math.abs(c-l)-m-x;if(O<0)return a?"M ".concat(p.x,",").concat(p.y,"\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n        a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n      "):y({cx:e,cy:r,innerRadius:n,outerRadius:i,startAngle:c,endAngle:l});var _="M ".concat(p.x,",").concat(p.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(d.x,",").concat(d.y,"\n    A").concat(i,",").concat(i,",0,").concat(+(O>180),",").concat(+(f<0),",").concat(v.x,",").concat(v.y,"\n    A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(w.x,",").concat(w.y,"\n  ");if(n>0){var S=g({cx:e,cy:r,radius:n,angle:c,sign:f,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),k=S.circleTangency,E=S.lineTangency,M=S.theta,C=g({cx:e,cy:r,radius:n,angle:l,sign:-f,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),j=C.circleTangency,A=C.lineTangency,T=C.theta,P=s?Math.abs(c-l):Math.abs(c-l)-M-T;if(P<0&&0===o)return"".concat(_,"L").concat(e,",").concat(r,"Z");_+="L".concat(A.x,",").concat(A.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(j.x,",").concat(j.y,"\n      A").concat(n,",").concat(n,",0,").concat(+(P>180),",").concat(+(f>0),",").concat(k.x,",").concat(k.y,"\n      A").concat(o,",").concat(o,",0,0,").concat(+(f<0),",").concat(E.x,",").concat(E.y,"Z")}else _+="L".concat(e,",").concat(r,"Z");return _}({cx:e,cy:r,innerRadius:n,outerRadius:o,cornerRadius:Math.min(x,w/2),forceCornerRadius:l,cornerIsExternal:h,startAngle:d,endAngle:p}):y({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:d,endAngle:p}),i.a.createElement("path",f({},Object(s.c)(this.props,!0),{className:v,d:b}))}}])&&d(e.prototype,r),n&&d(e,n),c}(n.PureComponent);w.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1}},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function s(t,e,r,n,o){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||t,o),c=i?i+e:e;return t._events[c]?t._events[c].fn?t._events[c]=[t._events[c],s]:t._events[c].push(s):(t._events[c]=s,t._eventsCount++),t}function c(t,e){0===--t._eventsCount?t._events=new o:delete t._events[e]}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},u.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);n<o;n++)a[n]=r[n].fn;return a},u.prototype.listenerCount=function(t){var e=i?i+t:t,r=this._events[e];return r?r.fn?1:r.length:0},u.prototype.emit=function(t,e,r,n,o,a){var s=i?i+t:t;if(!this._events[s])return!1;var c,u,l=this._events[s],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,r),!0;case 4:return l.fn.call(l.context,e,r,n),!0;case 5:return l.fn.call(l.context,e,r,n,o),!0;case 6:return l.fn.call(l.context,e,r,n,o,a),!0}for(u=1,c=new Array(f-1);u<f;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var h,d=l.length;for(u=0;u<d;u++)switch(l[u].once&&this.removeListener(t,l[u].fn,void 0,!0),f){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,e);break;case 3:l[u].fn.call(l[u].context,e,r);break;case 4:l[u].fn.call(l[u].context,e,r,n);break;default:if(!c)for(h=1,c=new Array(f-1);h<f;h++)c[h-1]=arguments[h];l[u].fn.apply(l[u].context,c)}}return!0},u.prototype.on=function(t,e,r){return s(this,t,e,r,!1)},u.prototype.once=function(t,e,r){return s(this,t,e,r,!0)},u.prototype.removeListener=function(t,e,r,n){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return c(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||n&&!a.once||r&&a.context!==r||c(this,o);else{for(var s=0,u=[],l=a.length;s<l;s++)(a[s].fn!==e||n&&!a[s].once||r&&a[s].context!==r)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:c(this,o)}return this},u.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&c(this,e)):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=i,u.EventEmitter=u,t.exports=u},function(t,e,r){"use strict";r.d(e,"a",(function(){return F}));var n=r(207),i=r.n(n),o=r(44),a=r.n(o),s=r(36),c=r.n(s),u=r(0),l=r.n(u),f=r(174),h=r(55),d=r.n(h),p=r(211),m=r(291),b=r(80),v=r(292),g=r(371),y=r(17),w=r(74),x=r(154),O=r(37),_=r(42);function S(t){return(S="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function k(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function E(){return(E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function M(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?M(Object(r),!0).forEach((function(e){j(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function j(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function A(t){return function(t){if(Array.isArray(t))return T(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function L(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=N(t);if(e){var i=N(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return I(this,r)}}function I(t,e){return!e||"object"!==S(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var F=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(s,t);var e,r,n,o=L(s);function s(){var t;P(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).mainCurve=void 0,t.state={isAnimationFinished:!0,totalLength:0},t.getStrokeDasharray=function(t,e,r){for(var n=r.reduce((function(t,e){return t+e})),i=Math.floor(t/n),o=t%n,a=e-t,c=[],u=0,l=0;;l+=r[u],++u)if(l+r[u]>o){c=[].concat(A(r.slice(0,u)),[o-l]);break}var f=c.length%2===0?[0,a]:[a];return[].concat(A(s.repeat(r,i)),A(c),f).map((function(t){return"".concat(t,"px")})).join(", ")},t.id=Object(y.k)("recharts-line-"),t.pathRef=function(e){t.mainCurve=e},t.handleAnimationEnd=function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()},t.handleAnimationStart=function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()},t}return e=s,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!==0?[].concat(A(t),[0]):t,n=[],i=0;i<e;++i)n=[].concat(A(n),A(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(l.a.isValidElement(t))r=l.a.cloneElement(t,e);else if(a()(t))r=t(e);else{var n=d()("recharts-line-dot",t?t.className:"");r=l.a.createElement(m.a,E({},e,{className:n}))}return r}}],(r=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.points,r=t.xAxis,n=t.yAxis,i=t.layout,o=t.children,a=Object(w.a)(o,g.a.displayName);if(!a)return null;function s(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Object(O.w)(t.payload,e)}}return a.map((function(t,o){return l.a.cloneElement(t,{key:"bar-".concat(o),data:e,xAxis:r,yAxis:n,layout:i,dataPointFormatter:s})}))}},{key:"renderDots",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.dot,i=r.points,o=r.dataKey,a=Object(_.c)(this.props),c=Object(_.c)(n,!0),u=i.map((function(t,e){var r=C(C(C({key:"dot-".concat(e),r:3},a),c),{},{value:t.value,dataKey:o,cx:t.x,cy:t.y,index:e,payload:t.payload});return s.renderDotItem(n,r)})),f={clipPath:t?"url(#clipPath-".concat(e,")"):null};return l.a.createElement(b.a,E({className:"recharts-line-dots",key:"dots"},f),u)}},{key:"renderCurveStatically",value:function(t,e,r,n){var i=this.props,o=i.type,a=i.layout,s=i.connectNulls,c=(i.ref,k(i,["type","layout","connectNulls","ref"])),u=C(C(C({},Object(_.c)(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:o,layout:a,connectNulls:s});return l.a.createElement(p.a,E({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,s=n.animationBegin,c=n.animationDuration,u=n.animationEasing,h=n.animationId,d=n.animateNewValues,p=n.width,m=n.height,b=this.state,v=b.prevPoints,g=b.totalLength;return l.a.createElement(f.a,{begin:s,duration:c,isActive:a,easing:u,from:{t:0},to:{t:1},key:"line-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(v){var s=v.length/i.length,c=i.map((function(t,e){var r=Math.floor(e*s);if(v[r]){var n=v[r],i=Object(y.f)(n.x,t.x),o=Object(y.f)(n.y,t.y);return C(C({},t),{},{x:i(a),y:o(a)})}if(d){var c=Object(y.f)(2*p,t.x),u=Object(y.f)(m/2,t.y);return C(C({},t),{},{x:c(a),y:u(a)})}return C(C({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(c,t,e)}var u,l=Object(y.f)(0,g)(a);if(o){var f="".concat(o).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));u=r.getStrokeDasharray(l,g,f)}else u="".concat(l,"px ").concat(g-l,"px");return r.renderCurveStatically(i,t,e,{strokeDasharray:u})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,a=this.state,s=a.prevPoints,c=a.totalLength;return o&&n&&n.length&&(!s&&c>0||!i()(s,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.dot,n=t.points,i=t.className,o=t.xAxis,a=t.yAxis,s=t.top,u=t.left,f=t.width,h=t.height,p=t.isAnimationActive,m=t.id;if(e||!n||!n.length)return null;var g=this.state.isAnimationFinished,y=1===n.length,w=d()("recharts-line",i),x=o&&o.allowDataOverflow||a&&a.allowDataOverflow,O=c()(m)?this.id:m;return l.a.createElement(b.a,{className:w},x?l.a.createElement("defs",null,l.a.createElement("clipPath",{id:"clipPath-".concat(O)},l.a.createElement("rect",{x:u,y:s,width:f,height:h}))):null,!y&&this.renderCurve(x,O),this.renderErrorBar(),(y||r)&&this.renderDots(x,O),(!p||g)&&v.a.renderCallByParent(this.props,n))}}])&&D(e.prototype,r),n&&D(e,n),s}(u.PureComponent);F.displayName="Line",F.defaultProps={xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!x.a.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1},F.getComposedData=function(t){var e=t.props,r=t.xAxis,n=t.yAxis,i=t.xAxisTicks,o=t.yAxisTicks,a=t.dataKey,s=t.bandSize,u=t.displayedData,l=t.offset,f=e.layout;return C({points:u.map((function(t,e){var u=Object(O.w)(t,a);return"horizontal"===f?{x:Object(O.k)({axis:r,ticks:i,bandSize:s,entry:t,index:e}),y:c()(u)?null:n.scale(u),value:u,payload:t}:{x:c()(u)?null:r.scale(u),y:Object(O.k)({axis:n,ticks:o,bandSize:s,entry:t,index:e}),value:u,payload:t}})),layout:f},l)}},function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,r){"use strict";r.d(e,"a",(function(){return F}));var n=r(36),i=r.n(n),o=r(207),a=r.n(o),s=r(44),c=r.n(s),u=r(68),l=r.n(u),f=r(0),h=r.n(f),d=r(55),p=r.n(d),m=r(174),b=r(336),v=r(80),g=r(371),y=r(547),w=r(292),x=r(17),O=r(74),_=r(154),S=r(37),k=r(42);function E(t){return(E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function C(){return(C=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach((function(e){T(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function T(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function R(t,e){return(R=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function L(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=N(t);if(e){var i=N(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return I(this,r)}}function I(t,e){return!e||"object"!==E(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var F=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R(t,e)}(s,t);var e,r,n,o=L(s);function s(){var t;P(this,s);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o.call.apply(o,[this].concat(r))).state={isAnimationFinished:!1},t.id=Object(x.k)("recharts-bar-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()},t}return e=s,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}},{key:"renderRectangle",value:function(t,e){return h.a.isValidElement(t)?h.a.cloneElement(t,e):c()(t)?t(e):h.a.createElement(b.a,e)}}],(r=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props.shape,n=Object(k.c)(this.props);return t&&t.map((function(t,i){var o=A(A(A({},n),t),{},{index:i});return h.a.createElement(v.a,C({className:"recharts-bar-rectangle"},Object(k.b)(e.props,t,i),{key:"rectangle-".concat(i)}),s.renderRectangle(r,o))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,i=e.isAnimationActive,o=e.animationBegin,a=e.animationDuration,s=e.animationEasing,c=e.animationId,u=this.state.prevData;return h.a.createElement(m.a,{begin:o,duration:a,isActive:i,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,o=r.map((function(t,e){var r=u&&u[e];if(r){var o=Object(x.f)(r.x,t.x),a=Object(x.f)(r.y,t.y),s=Object(x.f)(r.width,t.width),c=Object(x.f)(r.height,t.height);return A(A({},t),{},{x:o(i),y:a(i),width:s(i),height:c(i)})}if("horizontal"===n){var l=Object(x.f)(0,t.height)(i);return A(A({},t),{},{y:t.y+t.height-l,height:l})}var f=Object(x.f)(0,t.width)(i);return A(A({},t),{},{width:f})}));return h.a.createElement(v.a,null,t.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&a()(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,r=Object(k.c)(this.props.background);return e.map((function(e,n){e.value;var i=e.background,o=M(e,["value","background"]);if(!i)return null;var a=A(A(A(A(A({},o),{},{fill:"#eee"},i),r),Object(k.b)(t.props,e,n)),{},{index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return s.renderRectangle(t.props.background,a)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.data,r=t.xAxis,n=t.yAxis,i=t.layout,o=t.children,a=Object(O.a)(o,g.a.displayName);if(!a)return null;var s="vertical"===i?e[0].height/2:e[0].width/2;function c(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Object(S.w)(t,e)}}return a.map((function(t,o){return h.a.cloneElement(t,{key:"error-bar-".concat(o),data:e,xAxis:r,yAxis:n,layout:i,offset:s,dataPointFormatter:c})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,a=t.yAxis,s=t.left,c=t.top,u=t.width,l=t.height,f=t.isAnimationActive,d=t.background,m=t.id;if(e||!r||!r.length)return null;var b=this.state.isAnimationFinished,g=p()("recharts-bar",n),y=o&&o.allowDataOverflow||a&&a.allowDataOverflow,x=i()(m)?this.id:m;return h.a.createElement(v.a,{className:g},y?h.a.createElement("defs",null,h.a.createElement("clipPath",{id:"clipPath-".concat(x)},h.a.createElement("rect",{x:s,y:c,width:u,height:l}))):null,h.a.createElement(v.a,{className:"recharts-bar-rectangles",clipPath:y?"url(#clipPath-".concat(x,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||b)&&w.a.renderCallByParent(this.props,r))}}])&&D(e.prototype,r),n&&D(e,n),s}(f.PureComponent);F.displayName="Bar",F.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!_.a.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},F.getComposedData=function(t){var e=t.props,r=t.item,n=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,s=t.xAxisTicks,c=t.yAxisTicks,u=t.stackedData,f=t.dataStartIndex,h=t.displayedData,d=t.offset,p=Object(S.e)(n,r);if(!p)return null;var m=e.layout,b=r.props,v=b.dataKey,g=b.children,w=b.minPointSize,_="horizontal"===m?a:o,k=u?_.scale.domain():null,E=Object(S.i)({numericAxis:_}),M=Object(O.a)(g,y.a.displayName),C=h.map((function(t,e){var n,h,d,b,g,y;if(u?n=Object(S.C)(u[f+e],k):(n=Object(S.w)(t,v),l()(n)||(n=[E,n])),"horizontal"===m){if(h=Object(S.j)({axis:o,ticks:s,bandSize:i,offset:p.offset,entry:t,index:e}),d=a.scale(n[1]),b=p.size,g=a.scale(n[0])-a.scale(n[1]),y={x:h,y:a.y,width:b,height:a.height},Math.abs(w)>0&&Math.abs(g)<Math.abs(w)){var O=Object(x.j)(g||w)*(Math.abs(w)-Math.abs(g));d-=O,g+=O}}else h=o.scale(n[0]),d=Object(S.j)({axis:a,ticks:c,bandSize:i,offset:p.offset,entry:t,index:e}),b=o.scale(n[1])-o.scale(n[0]),g=p.size,y={x:o.x,y:d,width:o.width,height:g},Math.abs(w)>0&&Math.abs(b)<Math.abs(w)&&(b+=Object(x.j)(b||w)*(Math.abs(w)-Math.abs(b)));return A(A(A({},t),{},{x:h,y:d,width:b,height:g,value:u?n:n[1],payload:t,background:y},M&&M[e]&&M[e].props),{},{tooltipPayload:[Object(S.v)(r,t)],tooltipPosition:{x:h+b/2,y:d+g/2}})}));return A({data:C,layout:m},d)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){return null};n.displayName="XAxis",n.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){return null};n.displayName="YAxis",n.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(91)),o=r(6),a=(0,i.default)((0,o.jsx)("path",{d:"M13 3h-2v10h2V3zm4.83 2.17-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83z"}),"PowerSettingsNew");e.default=a},function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r(0);function i(t){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!==typeof e?u(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h=function(t){function e(){var t,r;o(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return f(u(r=s(this,(t=c(e)).call.apply(t,[this].concat(i)))),"state",{bootstrapped:!1}),f(u(r),"_unsubscribe",void 0),f(u(r),"handlePersistorState",(function(){r.props.persistor.getState().bootstrapped&&(r.props.onBeforeLift?Promise.resolve(r.props.onBeforeLift()).finally((function(){return r.setState({bootstrapped:!0})})):r.setState({bootstrapped:!0}),r._unsubscribe&&r._unsubscribe())})),r}var r,n,i;return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(e,t),r=e,(n=[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"===typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}])&&a(r.prototype,n),i&&a(r,i),e}(n.PureComponent);f(h,"defaultProps",{children:null,loading:null})},function(t,e,r){"use strict";r.d(e,"a",(function(){return I}));var n=r(73),i=r(20),o=r(515),a=r(2),s=["xs","sm","md","lg","xl"];function c(t){var e=t.values,r=void 0===e?{xs:0,sm:600,md:960,lg:1280,xl:1920}:e,n=t.unit,o=void 0===n?"px":n,c=t.step,u=void 0===c?5:c,l=Object(i.a)(t,["values","unit","step"]);function f(t){var e="number"===typeof r[t]?r[t]:t;return"@media (min-width:".concat(e).concat(o,")")}function h(t,e){var n=s.indexOf(e);return n===s.length-1?f(t):"@media (min-width:".concat("number"===typeof r[t]?r[t]:t).concat(o,") and ")+"(max-width:".concat((-1!==n&&"number"===typeof r[s[n+1]]?r[s[n+1]]:e)-u/100).concat(o,")")}return Object(a.a)({keys:s,values:r,up:f,down:function(t){var e=s.indexOf(t)+1,n=r[s[e]];return e===s.length?f("xs"):"@media (max-width:".concat(("number"===typeof n&&e>0?n:t)-u/100).concat(o,")")},between:h,only:function(t){return h(t,t)},width:function(t){return r[t]}},l)}function u(t,e,r){var i;return Object(a.a)({gutters:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n      paddingLeft: theme.spacing(2),\n      paddingRight: theme.spacing(2),\n      [theme.breakpoints.up('sm')]: {\n        paddingLeft: theme.spacing(3),\n        paddingRight: theme.spacing(3),\n      },\n      "].join("\n")),Object(a.a)({paddingLeft:e(2),paddingRight:e(2)},r,Object(n.a)({},t.up("sm"),Object(a.a)({paddingLeft:e(3),paddingRight:e(3)},r[t.up("sm")])))},toolbar:(i={minHeight:56},Object(n.a)(i,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(n.a)(i,t.up("sm"),{minHeight:64}),i)},r)}var l=r(519),f={black:"#000",white:"#fff"},h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},d={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},p={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},b={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=r(62),w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:h[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:h[800],default:"#303030"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(t,e,r,n){var i=n.light||n,o=n.dark||1.5*n;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:"light"===e?t.light=Object(y.e)(t.main,i):"dark"===e&&(t.dark=Object(y.b)(t.main,o)))}function _(t){var e=t.primary,r=void 0===e?{light:d[300],main:d[500],dark:d[700]}:e,n=t.secondary,s=void 0===n?{light:p.A200,main:p.A400,dark:p.A700}:n,c=t.error,u=void 0===c?{light:m[300],main:m[500],dark:m[700]}:c,_=t.warning,S=void 0===_?{light:b[300],main:b[500],dark:b[700]}:_,k=t.info,E=void 0===k?{light:v[300],main:v[500],dark:v[700]}:k,M=t.success,C=void 0===M?{light:g[300],main:g[500],dark:g[700]}:M,j=t.type,A=void 0===j?"light":j,T=t.contrastThreshold,P=void 0===T?3:T,D=t.tonalOffset,R=void 0===D?.2:D,L=Object(i.a)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function I(t){return Object(y.d)(t,x.text.primary)>=P?x.text.primary:w.text.primary}var N=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=Object(a.a)({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(Object(l.a)(4,e));if("string"!==typeof t.main)throw new Error(Object(l.a)(5,JSON.stringify(t.main)));return O(t,"light",r,R),O(t,"dark",n,R),t.contrastText||(t.contrastText=I(t.main)),t},F={dark:x,light:w};return Object(o.a)(Object(a.a)({common:f,type:A,primary:N(r),secondary:N(s,"A400","A200","A700"),error:N(u),warning:N(S),info:N(E),success:N(C),grey:h,contrastThreshold:P,getContrastText:I,augmentColor:N,tonalOffset:R},F[A]),L)}function S(t){return Math.round(1e5*t)/1e5}function k(t){return S(t)}var E={textTransform:"uppercase"};function M(t,e){var r="function"===typeof e?e(t):e,n=r.fontFamily,s=void 0===n?'"Roboto", "Helvetica", "Arial", sans-serif':n,c=r.fontSize,u=void 0===c?14:c,l=r.fontWeightLight,f=void 0===l?300:l,h=r.fontWeightRegular,d=void 0===h?400:h,p=r.fontWeightMedium,m=void 0===p?500:p,b=r.fontWeightBold,v=void 0===b?700:b,g=r.htmlFontSize,y=void 0===g?16:g,w=r.allVariants,x=r.pxToRem,O=Object(i.a)(r,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var _=u/14,M=x||function(t){return"".concat(t/y*_,"rem")},C=function(t,e,r,n,i){return Object(a.a)({fontFamily:s,fontWeight:t,fontSize:M(e),lineHeight:r},'"Roboto", "Helvetica", "Arial", sans-serif'===s?{letterSpacing:"".concat(S(n/e),"em")}:{},i,w)},j={h1:C(f,96,1.167,-1.5),h2:C(f,60,1.2,-.5),h3:C(d,48,1.167,0),h4:C(d,34,1.235,.25),h5:C(d,24,1.334,0),h6:C(m,20,1.6,.15),subtitle1:C(d,16,1.75,.15),subtitle2:C(m,14,1.57,.1),body1:C(d,16,1.5,.15),body2:C(d,14,1.43,.15),button:C(m,14,1.75,.4,E),caption:C(d,12,1.66,.4),overline:C(d,12,2.66,1,E)};return Object(o.a)(Object(a.a)({htmlFontSize:y,pxToRem:M,round:k,fontFamily:s,fontSize:u,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:v},j),O,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var j=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],A={borderRadius:4},T=r(1459);function P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(T.a)({spacing:t}),r=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return 0===r.length?e(1):1===r.length?e(r[0]):r.map((function(t){if("string"===typeof t)return t;var r=e(t);return"number"===typeof r?"".concat(r,"px"):r})).join(" ")};return Object.defineProperty(r,"unit",{get:function(){return t}}),r.mui=!0,r}var D=r(140),R=r(521);function L(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,r=void 0===e?{}:e,n=t.mixins,a=void 0===n?{}:n,s=t.palette,l=void 0===s?{}:s,f=t.spacing,h=t.typography,d=void 0===h?{}:h,p=Object(i.a)(t,["breakpoints","mixins","palette","spacing","typography"]),m=_(l),b=c(r),v=P(f),g=Object(o.a)({breakpoints:b,direction:"ltr",mixins:u(b,v,a),overrides:{},palette:m,props:{},shadows:j,typography:M(m,d),spacing:v,shape:A,transitions:D.a,zIndex:R.a},p),y=arguments.length,w=new Array(y>1?y-1:0),x=1;x<y;x++)w[x-1]=arguments[x];return g=w.reduce((function(t,e){return Object(o.a)(t,e)}),g)}function I(){return L.apply(void 0,arguments)}e.b=L},function(t,e,r){"use strict";var n=r(1),i=r(2),o=r(14),a=r(558),s=r(1322);function c(t,e,r){var o;return Object(i.a)({toolbar:(o={minHeight:56},Object(n.a)(o,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(n.a)(o,t.up("sm"),{minHeight:64}),o)},r)}var u=r(553),l=r(147),f={black:"#000",white:"#fff"},h=r(826),d={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},p={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},b={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:f.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(t,e,r,n){var i=n.light||n,o=n.dark||1.5*n;t[e]||(t.hasOwnProperty(r)?t[e]=t[r]:"light"===e?t.light=Object(l.e)(t.main,i):"dark"===e&&(t.dark=Object(l.b)(t.main,o)))}function _(t){var e=t.mode,r=void 0===e?"light":e,n=t.contrastThreshold,s=void 0===n?3:n,c=t.tonalOffset,_=void 0===c?.2:c,S=Object(o.a)(t,y),k=t.primary||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:b[200],light:b[50],dark:b[400]}:{main:b[700],light:b[400],dark:b[800]}}(r),E=t.secondary||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:d[200],light:d[50],dark:d[400]}:{main:d[500],light:d[300],dark:d[700]}}(r),M=t.error||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:p[500],light:p[300],dark:p[700]}:{main:p[700],light:p[400],dark:p[800]}}(r),C=t.info||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:v[400],light:v[300],dark:v[700]}:{main:v[700],light:v[500],dark:v[900]}}(r),j=t.success||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(r),A=t.warning||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===t?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(r);function T(t){return Object(l.d)(t,x.text.primary)>=s?x.text.primary:w.text.primary}var P=function(t){var e=t.color,r=t.name,n=t.mainShade,o=void 0===n?500:n,a=t.lightShade,s=void 0===a?300:a,c=t.darkShade,l=void 0===c?700:c;if(!(e=Object(i.a)({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error(Object(u.a)(11,r?" (".concat(r,")"):"",o));if("string"!==typeof e.main)throw new Error(Object(u.a)(12,r?" (".concat(r,")"):"",JSON.stringify(e.main)));return O(e,"light",s,_),O(e,"dark",l,_),e.contrastText||(e.contrastText=T(e.main)),e},D={dark:x,light:w};return Object(a.a)(Object(i.a)({common:f,mode:r,primary:P({color:k,name:"primary"}),secondary:P({color:E,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:M,name:"error"}),warning:P({color:A,name:"warning"}),info:P({color:C,name:"info"}),success:P({color:j,name:"success"}),grey:h.a,contrastThreshold:s,getContrastText:T,augmentColor:P,tonalOffset:_},D[r]),S)}var S=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var k={textTransform:"uppercase"};function E(t,e){var r="function"===typeof e?e(t):e,n=r.fontFamily,s=void 0===n?'"Roboto", "Helvetica", "Arial", sans-serif':n,c=r.fontSize,u=void 0===c?14:c,l=r.fontWeightLight,f=void 0===l?300:l,h=r.fontWeightRegular,d=void 0===h?400:h,p=r.fontWeightMedium,m=void 0===p?500:p,b=r.fontWeightBold,v=void 0===b?700:b,g=r.htmlFontSize,y=void 0===g?16:g,w=r.allVariants,x=r.pxToRem,O=Object(o.a)(r,S);var _=u/14,E=x||function(t){return"".concat(t/y*_,"rem")},M=function(t,e,r,n,o){return Object(i.a)({fontFamily:s,fontWeight:t,fontSize:E(e),lineHeight:r},'"Roboto", "Helvetica", "Arial", sans-serif'===s?{letterSpacing:"".concat((a=n/e,Math.round(1e5*a)/1e5),"em")}:{},o,w);var a},C={h1:M(f,96,1.167,-1.5),h2:M(f,60,1.2,-.5),h3:M(d,48,1.167,0),h4:M(d,34,1.235,.25),h5:M(d,24,1.334,0),h6:M(m,20,1.6,.15),subtitle1:M(d,16,1.75,.15),subtitle2:M(m,14,1.57,.1),body1:M(d,16,1.5,.15),body2:M(d,14,1.43,.15),button:M(m,14,1.75,.4,k),caption:M(d,12,1.66,.4),overline:M(d,12,2.66,1,k)};return Object(a.a)(Object(i.a)({htmlFontSize:y,pxToRem:E,fontFamily:s,fontSize:u,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:v},C),O,{clone:!1})}function M(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var C=["none",M(0,2,1,-1,0,1,1,0,0,1,3,0),M(0,3,1,-2,0,2,2,0,0,1,5,0),M(0,3,3,-2,0,3,4,0,0,1,8,0),M(0,2,4,-1,0,4,5,0,0,1,10,0),M(0,3,5,-1,0,5,8,0,0,1,14,0),M(0,3,5,-1,0,6,10,0,0,1,18,0),M(0,4,5,-2,0,7,10,1,0,2,16,1),M(0,5,5,-3,0,8,10,1,0,3,14,2),M(0,5,6,-3,0,9,12,1,0,3,16,2),M(0,6,6,-3,0,10,14,1,0,4,18,3),M(0,6,7,-4,0,11,15,1,0,4,20,3),M(0,7,8,-4,0,12,17,2,0,5,22,4),M(0,7,8,-4,0,13,19,2,0,5,24,4),M(0,7,9,-4,0,14,21,2,0,5,26,4),M(0,8,9,-5,0,15,22,2,0,6,28,5),M(0,8,10,-5,0,16,24,2,0,6,30,5),M(0,8,11,-5,0,17,26,2,0,6,32,5),M(0,9,11,-5,0,18,28,2,0,7,34,6),M(0,9,12,-6,0,19,29,2,0,7,36,6),M(0,10,13,-6,0,20,31,3,0,8,38,7),M(0,10,13,-6,0,21,33,3,0,8,40,7),M(0,10,14,-6,0,22,35,3,0,8,42,7),M(0,11,14,-7,0,23,36,3,0,9,44,8),M(0,11,15,-7,0,24,38,3,0,9,46,8)],j=r(133),A={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},T=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function P(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.mixins,r=void 0===e?{}:e,n=t.palette,u=void 0===n?{}:n,l=t.transitions,f=void 0===l?{}:l,h=t.typography,d=void 0===h?{}:h,p=Object(o.a)(t,T),m=_(u),b=Object(s.a)(t),v=Object(a.a)(b,{mixins:c(b.breakpoints,b.spacing,r),palette:m,shadows:C.slice(),typography:E(m,d),transitions:Object(j.a)(f),zIndex:Object(i.a)({},A)});v=Object(a.a)(v,p);for(var g=arguments.length,y=new Array(g>1?g-1:0),w=1;w<g;w++)y[w-1]=arguments[w];return v=y.reduce((function(t,e){return Object(a.a)(t,e)}),v)}e.a=P},function(t,e,r){"use strict";r.d(e,"a",(function(){return Pt}));var n=r(12),i=r.n(n),o=r(63),a="application/font-woff",s={woff:a,woff2:a,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};function c(t){var e=function(t){var e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}(t).toLowerCase();return s[e]||""}function u(t){return t.split(/,/)[1]}function l(t){return-1!==t.search(/^(data:)/)}function f(t,e){return"data:".concat(e,";base64,").concat(t)}function h(t,e,r){return d.apply(this,arguments)}function d(){return(d=Object(o.a)(i.a.mark((function t(e,r,n){var o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e,r);case 2:if(404!==(o=t.sent).status){t.next=5;break}throw new Error('Resource "'.concat(o.url,'" not found'));case 5:return t.next=7,o.blob();case 7:return a=t.sent,t.abrupt("return",new Promise((function(t,e){var r=new FileReader;r.onerror=e,r.onloadend=function(){try{t(n({res:o,result:r.result}))}catch(i){e(i)}},r.readAsDataURL(a)})));case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var p={};function m(t,e,r){var n=t.replace(/\?.*/,"");return r&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?"[".concat(e,"]").concat(n):n}function b(t,e,r){return v.apply(this,arguments)}function v(){return(v=Object(o.a)(i.a.mark((function t(e,r,n){var o,a,s,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=m(e,r,n.includeQueryParams),null==p[o]){t.next=3;break}return t.abrupt("return",p[o]);case 3:return n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime()),t.prev=4,t.next=7,h(e,n.fetchRequestInit,(function(t){var e=t.res,n=t.result;return r||(r=e.headers.get("Content-Type")||""),u(n)}));case 7:s=t.sent,a=f(s,r),t.next=17;break;case 11:t.prev=11,t.t0=t.catch(4),a=n.imagePlaceholder||"",c="Failed to fetch resource: ".concat(e),t.t0&&(c="string"===typeof t.t0?t.t0:t.t0.message),c&&console.warn(c);case 17:return p[o]=a,t.abrupt("return",a);case 19:case"end":return t.stop()}}),t,null,[[4,11]])})))).apply(this,arguments)}function g(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;var r=document.implementation.createHTMLDocument(),n=r.createElement("base"),i=r.createElement("a");return r.head.appendChild(n),r.body.appendChild(i),e&&(n.href=e),i.href=t,i.href}var y=function(){var t=0;return function(){return t+=1,"u".concat("0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)).concat(t)}}();function w(t){for(var e=[],r=0,n=t.length;r<n;r++)e.push(t[r]);return e}function x(t,e){var r=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return r?parseFloat(r.replace("px","")):0}function O(t){var e=x(t,"border-left-width"),r=x(t,"border-right-width");return t.clientWidth+e+r}function _(t){var e=x(t,"border-top-width"),r=x(t,"border-bottom-width");return t.clientHeight+e+r}function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.width||O(t),n=e.height||_(t);return{width:r,height:n}}function k(){var t,e;try{e=process}catch(n){}var r=e&&e.env?e.env.devicePixelRatio:null;return r&&(t=parseInt(r,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}function E(t){(t.width>16384||t.height>16384)&&(t.width>16384&&t.height>16384?t.width>t.height?(t.height*=16384/t.width,t.width=16384):(t.width*=16384/t.height,t.height=16384):t.width>16384?(t.height*=16384/t.width,t.width=16384):(t.width*=16384/t.height,t.height=16384))}function M(t){return new Promise((function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=r,n.crossOrigin="anonymous",n.decoding="sync",n.src=t}))}function C(t){return j.apply(this,arguments)}function j(){return(j=Object(o.a)(i.a.mark((function t(e){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then((function(){return(new XMLSerializer).serializeToString(e)})).then(encodeURIComponent).then((function(t){return"data:image/svg+xml;charset=utf-8,".concat(t)})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function A(t,e,r){return T.apply(this,arguments)}function T(){return(T=Object(o.a)(i.a.mark((function t(e,r,n){var o,a,s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject"),a.setAttribute("width","".concat(r)),a.setAttribute("height","".concat(n)),a.setAttribute("viewBox","0 0 ".concat(r," ").concat(n)),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),a.appendChild(s),s.appendChild(e),t.abrupt("return",C(a));case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t,e,r){var n=".".concat(t,":").concat(e),i=r.cssText?function(t){var e=t.getPropertyValue("content");return"".concat(t.cssText," content: '").concat(e.replace(/'|"/g,""),"';")}(r):function(t){return w(t).map((function(e){var r=t.getPropertyValue(e),n=t.getPropertyPriority(e);return"".concat(e,": ").concat(r).concat(n?" !important":"",";")})).join(" ")}(r);return document.createTextNode("".concat(n,"{").concat(i,"}"))}function D(t,e,r){var n=window.getComputedStyle(t,r),i=n.getPropertyValue("content");if(""!==i&&"none"!==i){var o=y();try{e.className="".concat(e.className," ").concat(o)}catch(s){return}var a=document.createElement("style");a.appendChild(P(o,r,n)),e.appendChild(a)}}function R(t){return L.apply(this,arguments)}function L(){return(L=Object(o.a)(i.a.mark((function t(e){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("data:,"!==(r=e.toDataURL())){t.next=3;break}return t.abrupt("return",e.cloneNode(!1));case 3:return t.abrupt("return",M(r));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function I(t,e){return N.apply(this,arguments)}function N(){return(N=Object(o.a)(i.a.mark((function t(e,r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.poster,o=c(n),t.next=4,b(n,o,r);case 4:return a=t.sent,t.abrupt("return",M(a));case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function F(t,e){return B.apply(this,arguments)}function B(){return(B=Object(o.a)(i.a.mark((function t(e,r){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof HTMLCanvasElement)){t.next=2;break}return t.abrupt("return",R(e));case 2:if(!(e instanceof HTMLVideoElement&&e.poster)){t.next=4;break}return t.abrupt("return",I(e,r));case 4:return t.abrupt("return",e.cloneNode(!1));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var z=function(t){return null!=t.tagName&&"SLOT"===t.tagName.toUpperCase()};function H(t,e,r){return U.apply(this,arguments)}function U(){return(U=Object(o.a)(i.a.mark((function t(e,r,n){var o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(0===(a=z(e)&&e.assignedNodes?w(e.assignedNodes()):w((null!==(o=e.shadowRoot)&&void 0!==o?o:e).childNodes)).length||e instanceof HTMLVideoElement)){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,a.reduce((function(t,e){return t.then((function(){return q(e,n)})).then((function(t){t&&r.appendChild(t)}))}),Promise.resolve());case 5:return t.abrupt("return",r);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function W(t,e){return e instanceof Element&&(function(t,e){var r=e.style;if(r){var n=window.getComputedStyle(t);n.cssText?(r.cssText=n.cssText,r.transformOrigin=n.transformOrigin):w(n).forEach((function(t){var e=n.getPropertyValue(t);if("font-size"===t&&e.endsWith("px")){var i=Math.floor(parseFloat(e.substring(0,e.length-2)))-.1;e="".concat(i,"px")}r.setProperty(t,e,n.getPropertyPriority(t))}))}}(t,e),function(t,e){D(t,e,":before"),D(t,e,":after")}(t,e),function(t,e){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}(t,e),function(t,e){if(t instanceof HTMLSelectElement){var r=e,n=Array.from(r.children).find((function(e){return t.value===e.getAttribute("value")}));n&&n.setAttribute("selected","")}}(t,e)),e}function q(t,e,r){return V.apply(this,arguments)}function V(){return(V=Object(o.a)(i.a.mark((function t(e,r,n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n||!r.filter||r.filter(e)){t.next=2;break}return t.abrupt("return",null);case 2:return t.abrupt("return",Promise.resolve(e).then((function(t){return F(t,r)})).then((function(t){return H(e,t,r)})).then((function(t){return W(e,t)})));case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var G=r(3),Y=/url\((['"]?)([^'"]+?)\1\)/g,X=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,$=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function K(t){var e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp("(url\\(['\"]?)(".concat(e,")(['\"]?\\))"),"g")}function Z(t){var e=[];return t.replace(Y,(function(t,r,n){return e.push(n),t})),e.filter((function(t){return!l(t)}))}function J(t,e,r,n,i){return Q.apply(this,arguments)}function Q(){return(Q=Object(o.a)(i.a.mark((function t(e,r,n,o,a){var s,u,l,h;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,s=n?g(r,n):r,u=c(r),!a){t.next=10;break}return t.next=6,a(s);case 6:h=t.sent,l=f(h,u),t.next=13;break;case 10:return t.next=12,b(s,u,o);case 12:l=t.sent;case 13:return t.abrupt("return",e.replace(K(r),"$1".concat(l,"$3")));case 16:t.prev=16,t.t0=t.catch(0);case 18:return t.abrupt("return",e);case 19:case"end":return t.stop()}}),t,null,[[0,16]])})))).apply(this,arguments)}function tt(t,e){var r=e.preferredFontFormat;return r?t.replace($,(function(t){for(;;){var e=X.exec(t)||[],n=Object(G.a)(e,3),i=n[0],o=n[2];if(!o)return"";if(o===r)return"src: ".concat(i,";")}})):t}function et(t){return-1!==t.search(Y)}function rt(t,e,r){return nt.apply(this,arguments)}function nt(){return(nt=Object(o.a)(i.a.mark((function t(e,r,n){var o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(et(e)){t.next=2;break}return t.abrupt("return",e);case 2:return o=tt(e,n),a=Z(o),t.abrupt("return",a.reduce((function(t,e){return t.then((function(t){return J(t,e,r,n)}))}),Promise.resolve(o)));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function it(t,e){return ot.apply(this,arguments)}function ot(){return(ot=Object(o.a)(i.a.mark((function t(e,r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(o=null===(n=e.style)||void 0===n?void 0:n.getPropertyValue("background"))){t.next=6;break}return t.next=4,rt(o,null,r);case 4:a=t.sent,e.style.setProperty("background",a,e.style.getPropertyPriority("background"));case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function at(t,e){return st.apply(this,arguments)}function st(){return(st=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof HTMLImageElement&&!l(e.src)||e instanceof SVGImageElement&&!l(e.href.baseVal)){t.next=2;break}return t.abrupt("return");case 2:return n=e instanceof HTMLImageElement?e.src:e.href.baseVal,t.next=5,b(n,c(n),r);case 5:return o=t.sent,t.next=8,new Promise((function(t,r){e.onload=t,e.onerror=r,e instanceof HTMLImageElement?(e.srcset="",e.src=o):e.href.baseVal=o}));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ct(t,e){return ut.apply(this,arguments)}function ut(){return(ut=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=w(e.childNodes),o=n.map((function(t){return lt(t,r)})),t.next=4,Promise.all(o).then((function(){return e}));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function lt(t,e){return ft.apply(this,arguments)}function ft(){return(ft=Object(o.a)(i.a.mark((function t(e,r){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof Element)){t.next=7;break}return t.next=3,it(e,r);case 3:return t.next=5,at(e,r);case 5:return t.next=7,ct(e,r);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function ht(t,e){var r=t.style;e.backgroundColor&&(r.backgroundColor=e.backgroundColor),e.width&&(r.width="".concat(e.width,"px")),e.height&&(r.height="".concat(e.height,"px"));var n=e.style;return null!=n&&Object.keys(n).forEach((function(t){r[t]=n[t]})),t}var dt={};function pt(t){return mt.apply(this,arguments)}function mt(){return(mt=Object(o.a)(i.a.mark((function t(e){var r,n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==(r=dt[e])){t.next=3;break}return t.abrupt("return",r);case 3:return t.next=5,fetch(e);case 5:return n=t.sent,t.next=8,n.text();case 8:return o=t.sent,r={url:e,cssText:o},dt[e]=r,t.abrupt("return",r);case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function bt(t,e){return vt.apply(this,arguments)}function vt(){return(vt=Object(o.a)(i.a.mark((function t(e,r){var n,a,s,c;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cssText,a=/url\(["']?([^"')]+)["']?\)/g,s=n.match(/url\([^)]+\)/g)||[],c=s.map(function(){var t=Object(o.a)(i.a.mark((function t(o){var s;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(s=o.replace(a,"$1")).startsWith("https://")||(s=new URL(s,e.url).href),t.abrupt("return",h(s,r.fetchRequestInit,(function(t){var e=t.result;return n=n.replace(o,"url(".concat(e,")")),[o,e]})));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),t.abrupt("return",Promise.all(c).then((function(){return n})));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function gt(t){if(null==t)return[];for(var e=[],r=t.replace(/(\/\*[\s\S]*?\*\/)/gi,""),n=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");;){var i=n.exec(r);if(null===i)break;e.push(i[0])}r=r.replace(n,"");for(var o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");;){var s=o.exec(r);if(null===s){if(null===(s=a.exec(r)))break;o.lastIndex=a.lastIndex}else a.lastIndex=o.lastIndex;e.push(s[0])}return e}function yt(t,e){return wt.apply(this,arguments)}function wt(){return(wt=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],o=[],e.forEach((function(t){if("cssRules"in t)try{w(t.cssRules||[]).forEach((function(e,n){if(e.type===CSSRule.IMPORT_RULE){var i=n+1,a=pt(e.href).then((function(t){return bt(t,r)})).then((function(e){return gt(e).forEach((function(e){try{t.insertRule(e,e.startsWith("@import")?i+=1:t.cssRules.length)}catch(r){console.error("Error inserting rule from remote css",{rule:e,error:r})}}))})).catch((function(t){console.error("Error loading remote css",t.toString())}));o.push(a)}}))}catch(i){var n=e.find((function(t){return null==t.href}))||document.styleSheets[0];null!=t.href&&o.push(pt(t.href).then((function(t){return bt(t,r)})).then((function(e){return gt(e).forEach((function(e){n.insertRule(e,t.cssRules.length)}))})).catch((function(t){console.error("Error loading remote stylesheet",t.toString())}))),console.error("Error inlining remote css file",i.toString())}})),t.abrupt("return",Promise.all(o).then((function(){return e.forEach((function(t){if("cssRules"in t)try{w(t.cssRules||[]).forEach((function(t){n.push(t)}))}catch(e){console.error("Error while reading CSS rules from ".concat(t.href),e.toString())}})),n})));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function xt(t){return t.filter((function(t){return t.type===CSSRule.FONT_FACE_RULE})).filter((function(t){return et(t.style.getPropertyValue("src"))}))}function Ot(t,e){return _t.apply(this,arguments)}function _t(){return(_t=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=e.ownerDocument){t.next=2;break}throw new Error("Provided element is not within a Document");case 2:return n=w(e.ownerDocument.styleSheets),t.next=5,yt(n,r);case 5:return o=t.sent,t.abrupt("return",xt(o));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function St(t,e){return kt.apply(this,arguments)}function kt(){return(kt=Object(o.a)(i.a.mark((function t(e,r){var n,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ot(e,r);case 2:return n=t.sent,t.next=5,Promise.all(n.map((function(t){var e=t.parentStyleSheet?t.parentStyleSheet.href:null;return rt(t.cssText,e,r)})));case 5:return o=t.sent,t.abrupt("return",o.join("\n"));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Et(t,e){return Mt.apply(this,arguments)}function Mt(){return(Mt=Object(o.a)(i.a.mark((function t(e,r){var n,o,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==r.fontEmbedCSS){t.next=4;break}t.t0=r.fontEmbedCSS,t.next=12;break;case 4:if(!r.skipFonts){t.next=8;break}t.t1=null,t.next=11;break;case 8:return t.next=10,St(e,r);case 10:t.t1=t.sent;case 11:t.t0=t.t1;case 12:(n=t.t0)&&(o=document.createElement("style"),a=document.createTextNode(n),o.appendChild(a),e.firstChild?e.insertBefore(o,e.firstChild):e.appendChild(o));case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Ct(t){return jt.apply(this,arguments)}function jt(){return(jt=Object(o.a)(i.a.mark((function t(e){var r,n,o,a,s,c,u=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=u.length>1&&void 0!==u[1]?u[1]:{},n=S(e,r),o=n.width,a=n.height,t.next=4,q(e,r,!0);case 4:return s=t.sent,t.next=7,Et(s,r);case 7:return t.next=9,lt(s,r);case 9:return ht(s,r),t.next=12,A(s,o,a);case 12:return c=t.sent,t.abrupt("return",c);case 14:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function At(t){return Tt.apply(this,arguments)}function Tt(){return(Tt=Object(o.a)(i.a.mark((function t(e){var r,n,o,a,s,c,u,l,f,h,d,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},n=S(e,r),o=n.width,a=n.height,t.next=4,Ct(e,r);case 4:return s=t.sent,t.next=7,M(s);case 7:return c=t.sent,u=document.createElement("canvas"),l=u.getContext("2d"),f=r.pixelRatio||k(),h=r.canvasWidth||o,d=r.canvasHeight||a,u.width=h*f,u.height=d*f,r.skipAutoScale||E(u),u.style.width="".concat(h),u.style.height="".concat(d),r.backgroundColor&&(l.fillStyle=r.backgroundColor,l.fillRect(0,0,u.width,u.height)),l.drawImage(c,0,0,u.width,u.height),t.abrupt("return",u);case 21:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Pt(t){return Dt.apply(this,arguments)}function Dt(){return(Dt=Object(o.a)(i.a.mark((function t(e){var r,n,o=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:{},t.next=3,At(e,r);case 3:return n=t.sent,t.abrupt("return",n.toDataURL());case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},function(t,e,r){"use strict";var n=r(93),i=r(2),o=r(14),a=r(57),s=r(25),c=r(197);function u(){var t={};return t.promise=new Promise((function(e,r){t.resolve=e,t.reject=r})),t}var l=u,f=(r(490),[]),h=0;function d(t){try{b(),t()}finally{v()}}function p(t){f.push(t),h||(b(),g())}function m(t){try{return b(),t()}finally{g()}}function b(){h++}function v(){h--}function g(){var t;for(v();!h&&void 0!==(t=f.shift());)d(t)}var y=function(t){return function(e){return t.some((function(t){return S(t)(e)}))}},w=function(t){return function(e){return t(e)}},x=function(t){return function(e){return e.type===String(t)}},O=function(t){return function(e){return e.type===t}},_=function(){return s.G};function S(t){var e="*"===t?_:Object(a.k)(t)?x:Object(a.a)(t)?y:Object(a.l)(t)?x:Object(a.d)(t)?w:Object(a.m)(t)?O:null;if(null===e)throw new Error("invalid pattern: "+t);return e(t)}var k={type:n.b},E=function(t){return t&&t.type===n.b};function M(t){void 0===t&&(t=Object(s.A)());var e=!1,r=[];return{take:function(n){e&&t.isEmpty()?n(k):t.isEmpty()?(r.push(n),n.cancel=function(){Object(s.N)(r,n)}):n(t.take())},put:function(n){if(!e){if(0===r.length)return t.put(n);r.shift()(n)}},flush:function(r){e&&t.isEmpty()?r(k):r(t.flush())},close:function(){if(!e){e=!0;var t=r;r=[];for(var n=0,i=t.length;n<i;n++){(0,t[n])(k)}}}}}function C(){var t=function(){var t,e=!1,r=[],i=r,o=function(){i===r&&(i=r.slice())},a=function(){e=!0;var t=r=i;i=[],t.forEach((function(t){t(k)}))};return(t={})[n.e]=!0,t.put=function(t){if(!e)if(E(t))a();else for(var o=r=i,s=0,c=o.length;s<c;s++){var u=o[s];u[n.d](t)&&(u.cancel(),u(t))}},t.take=function(t,r){void 0===r&&(r=_),e?t(k):(t[n.d]=r,o(),i.push(t),t.cancel=Object(s.K)((function(){o(),Object(s.N)(i,t)})))},t.close=a,t}(),e=t.put;return t.put=function(t){t[n.f]?e(t):p((function(){e(t)}))},t}function j(t,e){var r=t[n.a];Object(a.d)(r)&&(e.cancel=r),t.then(e,(function(t){e(t,!0)}))}var A,T=0,P=function(){return++T};function D(t){t.isRunning()&&t.cancel()}var R=((A={})[s.r]=function(t,e,r){var i=e.channel,o=void 0===i?t.channel:i,s=e.pattern,c=e.maybe,u=function(t){t instanceof Error?r(t,!0):!E(t)||c?r(t):r(n.k)};try{o.take(u,Object(a.g)(s)?S(s):null)}catch(l){return void r(l,!0)}r.cancel=u.cancel},A[s.n]=function(t,e,r){var n=e.channel,i=e.action,o=e.resolve;p((function(){var e;try{e=(n?n.put:t.dispatch)(i)}catch(s){return void r(s,!0)}o&&Object(a.j)(e)?j(e,r):r(e)}))},A[s.a]=function(t,e,r,n){var i=n.digestEffect,o=T,c=Object.keys(e);if(0!==c.length){var u=Object(s.H)(e,r);c.forEach((function(t){i(e[t],o,u[t],t)}))}else r(Object(a.a)(e)?[]:{})},A[s.p]=function(t,e,r,n){var i=n.digestEffect,o=T,c=Object.keys(e),u=Object(a.a)(e)?Object(s.I)(c.length):{},l={},f=!1;c.forEach((function(t){var e=function(e,n){f||(n||Object(s.O)(e)?(r.cancel(),r(e,n)):(r.cancel(),f=!0,u[t]=e,r(u)))};e.cancel=s.P,l[t]=e})),r.cancel=function(){f||(f=!0,c.forEach((function(t){return l[t].cancel()})))},c.forEach((function(t){f||i(e[t],o,l[t],t)}))},A[s.c]=function(t,e,r,n){var i=e.context,o=e.fn,c=e.args,u=n.task;try{var l=o.apply(i,c);if(Object(a.j)(l))return void j(l,r);if(Object(a.e)(l))return void W(t,l,u.context,T,Object(s.F)(o),!1,r);r(l)}catch(f){r(f,!0)}},A[s.w]=function(t,e,r){var n=e.context,i=e.fn,o=e.args;try{var s=function(t,e){Object(a.n)(t)?r(e):r(t,!0)};i.apply(n,o.concat(s)),s.cancel&&(r.cancel=s.cancel)}catch(c){r(c,!0)}},A[s.f]=function(t,e,r,n){var i=e.context,o=e.fn,c=e.args,u=e.detached,l=n.task,f=function(t){var e=t.context,r=t.fn,n=t.args;try{var i=r.apply(e,n);if(Object(a.e)(i))return i;var o=!1;return Object(s.M)((function(t){return o?{value:t,done:!0}:(o=!0,{value:i,done:!Object(a.j)(i)})}))}catch(c){return Object(s.M)((function(){throw c}))}}({context:i,fn:o,args:c}),h=function(t,e){return t.isSagaIterator?{name:t.meta.name}:Object(s.F)(e)}(f,o);m((function(){var e=W(t,f,l.context,T,h,u,void 0);u?r(e):e.isRunning()?(l.queue.addTask(e),r(e)):e.isAborted()?l.queue.abort(e.error()):r(e)}))},A[s.h]=function(t,e,r,n){var i=n.task,o=function(t,e){if(t.isRunning()){var r={task:i,cb:e};e.cancel=function(){t.isRunning()&&Object(s.N)(t.joiners,r)},t.joiners.push(r)}else t.isAborted()?e(t.error(),!0):e(t.result())};if(Object(a.a)(e)){if(0===e.length)return void r([]);var c=Object(s.H)(e,r);e.forEach((function(t,e){o(t,c[e])}))}else o(e,r)},A[s.x]=function(t,e,r,i){var o=i.task;e===n.h?D(o):Object(a.a)(e)?e.forEach(D):D(e),r()},A[s.q]=function(t,e,r){var n=e.selector,i=e.args;try{r(n.apply(void 0,[t.getState()].concat(i)))}catch(o){r(o,!0)}},A[s.z]=function(t,e,r){var n=e.pattern,i=M(e.buffer),o=S(n),a=function e(r){E(r)||t.channel.take(e,o),i.put(r)},s=i.close;i.close=function(){a.cancel(),s()},t.channel.take(a,o),r(i)},A[s.B]=function(t,e,r,n){r(n.task.isCancelled())},A[s.C]=function(t,e,r){e.flush(r)},A[s.g]=function(t,e,r,n){r(n.task.context[e])},A[s.D]=function(t,e,r,n){var i=n.task;Object(s.L)(i.context,e),r()},A);function L(t,e){return t+"?"+e}function I(t){var e=t.name,r=t.location;return r?e+"  "+L(r.fileName,r.lineNumber):e}function N(t){var e=Object(s.Q)((function(t){return t.cancelledTasks}),t);return e.length?["Tasks cancelled due to error:"].concat(e).join("\n"):""}var F=null,B=[],z=function(){F=null,B.length=0},H=function(){var t=B[0],e=B.slice(1),r=t.crashedEffect?function(t){var e=Object(s.R)(t);return e?e.code+"  "+L(e.fileName,e.lineNumber):""}(t.crashedEffect):null;return["The above error occurred in task "+I(t.meta)+(r?" \n when executing effect "+r:"")].concat(e.map((function(t){return"    created by "+I(t.meta)})),[N(B)]).join("\n")};function U(t,e,r,i,o,a,c){var u;void 0===c&&(c=s.P);var f,h,d=0,p=null,m=[],b=Object.create(r),v=function(t,e,r){var n,i=[],o=!1;function a(t){e(),u(),r(t,!0)}function c(e){i.push(e),e.cont=function(c,u){o||(Object(s.N)(i,e),e.cont=s.P,u?a(c):(e===t&&(n=c),i.length||(o=!0,r(n))))}}function u(){o||(o=!0,i.forEach((function(t){t.cont=s.P,t.cancel()})),i=[])}return c(t),{addTask:c,cancelAll:u,abort:a,getTasks:function(){return i}}}(e,(function(){m.push.apply(m,v.getTasks().map((function(t){return t.meta.name})))}),g);function g(e,r){if(r){if(d=2,(a={meta:o,cancelledTasks:m}).crashedEffect=F,B.push(a),y.isRoot){var i=H();z(),t.onError(e,{sagaStack:i})}h=e,p&&p.reject(e)}else e===n.j?d=1:1!==d&&(d=3),f=e,p&&p.resolve(e);var a;y.cont(e,r),y.joiners.forEach((function(t){t.cb(e,r)})),y.joiners=null}var y=((u={})[n.i]=!0,u.id=i,u.meta=o,u.isRoot=a,u.context=b,u.joiners=[],u.queue=v,u.cancel=function(){0===d&&(d=1,v.cancelAll(),g(n.j,!1))},u.cont=c,u.end=g,u.setContext=function(t){Object(s.L)(b,t)},u.toPromise=function(){return p||(p=l(),2===d?p.reject(h):0!==d&&p.resolve(f)),p.promise},u.isRunning=function(){return 0===d},u.isCancelled=function(){return 1===d||0===d&&1===e.status},u.isAborted=function(){return 2===d},u.result=function(){return f},u.error=function(){return h},u);return y}function W(t,e,r,i,o,c,u){var l=t.finalizeRunEffect((function(e,r,i){if(Object(a.j)(e))j(e,i);else if(Object(a.e)(e))W(t,e,h.context,r,o,!1,i);else if(e&&e[n.c]){(0,R[e.type])(t,e.payload,i,d)}else i(e)}));p.cancel=s.P;var f={meta:o,cancel:function(){0===f.status&&(f.status=1,p(n.j))},status:0},h=U(t,f,r,i,o,c,u),d={task:h,digestEffect:m};return u&&(u.cancel=h.cancel),p(),h;function p(t,r){try{var o;r?(o=e.throw(t),z()):Object(s.S)(t)?(f.status=1,p.cancel(),o=Object(a.d)(e.return)?e.return(n.j):{done:!0,value:n.j}):o=Object(s.T)(t)?Object(a.d)(e.return)?e.return():{done:!0}:e.next(t),o.done?(1!==f.status&&(f.status=3),f.cont(o.value)):m(o.value,i,p)}catch(c){if(1===f.status)throw c;f.status=2,f.cont(c,!0)}}function m(e,r,n,i){void 0===i&&(i="");var o,a=P();function c(r,i){o||(o=!0,n.cancel=s.P,t.sagaMonitor&&(i?t.sagaMonitor.effectRejected(a,r):t.sagaMonitor.effectResolved(a,r)),i&&function(t){F=t}(e),n(r,i))}t.sagaMonitor&&t.sagaMonitor.effectTriggered({effectId:a,parentEffectId:r,label:i,effect:e}),c.cancel=s.P,n.cancel=function(){o||(o=!0,c.cancel(),c.cancel=s.P,t.sagaMonitor&&t.sagaMonitor.effectCancelled(a))},l(e,a,c)}}function q(t,e){var r=t.channel,n=void 0===r?C():r,i=t.dispatch,o=t.getState,a=t.context,u=void 0===a?{}:a,l=t.sagaMonitor,f=t.effectMiddlewares,h=t.onError,d=void 0===h?s.b:h;for(var p=arguments.length,b=new Array(p>2?p-2:0),v=2;v<p;v++)b[v-2]=arguments[v];var g=e.apply(void 0,b);var y,w=P();if(l&&(l.rootSagaStarted=l.rootSagaStarted||s.P,l.effectTriggered=l.effectTriggered||s.P,l.effectResolved=l.effectResolved||s.P,l.effectRejected=l.effectRejected||s.P,l.effectCancelled=l.effectCancelled||s.P,l.actionDispatched=l.actionDispatched||s.P,l.rootSagaStarted({effectId:w,saga:e,args:b})),f){var x=c.c.apply(void 0,f);y=function(t){return function(e,r,n){return x((function(e){return t(e,r,n)}))(e)}}}else y=s.e;var O={channel:n,dispatch:Object(s.d)(i),getState:o,sagaMonitor:l,onError:d,finalizeRunEffect:y};return m((function(){var t=W(O,g,u,w,Object(s.F)(e),!0,void 0);return l&&l.effectResolved(w,t),t}))}var V=function(t){var e,r=void 0===t?{}:t,n=r.context,a=void 0===n?{}:n,c=r.channel,u=void 0===c?C():c,l=r.sagaMonitor,f=Object(o.a)(r,["context","channel","sagaMonitor"]);function h(t){var r=t.getState,n=t.dispatch;return e=q.bind(null,Object(i.a)({},f,{context:a,channel:u,dispatch:n,getState:r,sagaMonitor:l})),function(t){return function(e){l&&l.actionDispatched&&l.actionDispatched(e);var r=t(e);return u.put(e),r}}}return h.run=function(){return e.apply(void 0,arguments)},h.setContext=function(t){Object(s.L)(a,t)},h};e.a=V},function(t,e,r){"use strict";var n=r(0);var i=n.createContext(null);function o(){return n.useContext(i)}function a(t){return 0===Object.keys(t).length}e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=o();return!e||a(e)?t:e}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=r.n(o),s=r(8),c=(r(10),r(183)),u=r.n(c),l=r(891);function f(t,e){var r={};return Object.keys(t).forEach((function(n){-1===e.indexOf(n)&&(r[n]=t[n])})),r}var h=r(282);e.a=function(t){var e=function(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,c=Object(i.a)(r,["name"]);var h,d=o,p="function"===typeof e?function(t){return{root:function(r){return e(Object(n.a)({theme:t},r))}}}:{root:e},m=Object(l.a)(p,Object(n.a)({Component:t,name:o||t.displayName,classNamePrefix:d},c));e.filterProps&&(h=e.filterProps,delete e.filterProps),e.propTypes&&(e.propTypes,delete e.propTypes);var b=a.a.forwardRef((function(e,r){var o=e.children,c=e.className,u=e.clone,l=e.component,d=Object(i.a)(e,["children","className","clone","component"]),p=m(e),b=Object(s.a)(p.root,c),v=d;if(h&&(v=f(v,h)),u)return a.a.cloneElement(o,Object(n.a)({className:Object(s.a)(o.props.className,b)},v));if("function"===typeof o)return o(Object(n.a)({className:b},v));var g=l||t;return a.a.createElement(g,Object(n.a)({ref:r,className:b},v),o)}));return u()(b,t),b}}(t);return function(t,r){return e(t,Object(n.a)({defaultTheme:h.a},r))}}},function(t,e,r){"use strict";var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){return n.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}));e.a=i},function(t,e,r){"use strict";function n(t){return Object.prototype.toString.call(t).slice(8,-1)}function i(t){return"Undefined"===n(t)}function o(t){return"Null"===n(t)}function a(t){return"Object"===n(t)&&(t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype)}function s(t){return"Array"===n(t)}function c(t){return"Symbol"===n(t)}var u,l,f,h,d;u=o,l=i;function p(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),i=0;for(e=0;e<r;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function m(t,e,r,n){var i=n.propertyIsEnumerable(e)?"enumerable":"nonenumerable";"enumerable"===i&&(t[e]=r),"nonenumerable"===i&&Object.defineProperty(t,e,{value:r,enumerable:!1,writable:!0,configurable:!0})}function b(t,e,r){if(!a(e))return r&&s(r)&&r.forEach((function(r){e=r(t,e)})),e;var n={};a(t)&&(n=p(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(r,n){var i=t[n];return(!c(n)&&!Object.getOwnPropertyNames(e).includes(n)||c(n)&&!Object.getOwnPropertySymbols(e).includes(n))&&m(r,n,i,t),r}),{}));return p(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(n,i){var o=e[i],c=a(t)?t[i]:void 0;return r&&s(r)&&r.forEach((function(t){o=t(c,o)})),void 0!==c&&a(o)&&(o=b(c,o,r)),m(n,i,o,e),n}),n)}e.a=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=null,i=t;return a(t)&&t.extensions&&1===Object.keys(t).length&&(i={},n=t.extensions),e.reduce((function(t,e){return b(t,e,n)}),i)}},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=r(663),l=r(38),f=o.forwardRef((function(t,e){var r=t.children,s=t.classes,c=t.className,f=t.color,h=void 0===f?"default":f,d=t.component,p=void 0===d?"button":d,m=t.disabled,b=void 0!==m&&m,v=t.disableElevation,g=void 0!==v&&v,y=t.disableFocusRipple,w=void 0!==y&&y,x=t.endIcon,O=t.focusVisibleClassName,_=t.fullWidth,S=void 0!==_&&_,k=t.size,E=void 0===k?"medium":k,M=t.startIcon,C=t.type,j=void 0===C?"button":C,A=t.variant,T=void 0===A?"text":A,P=Object(n.a)(t,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),D=M&&o.createElement("span",{className:Object(a.a)(s.startIcon,s["iconSize".concat(Object(l.a)(E))])},M),R=x&&o.createElement("span",{className:Object(a.a)(s.endIcon,s["iconSize".concat(Object(l.a)(E))])},x);return o.createElement(u.a,Object(i.a)({className:Object(a.a)(s.root,s[T],c,"inherit"===h?s.colorInherit:"default"!==h&&s["".concat(T).concat(Object(l.a)(h))],"medium"!==E&&[s["".concat(T,"Size").concat(Object(l.a)(E))],s["size".concat(Object(l.a)(E))]],g&&s.disableElevation,b&&s.disabled,S&&s.fullWidth),component:p,disabled:b,focusRipple:!w,focusVisibleClassName:Object(a.a)(s.focusVisible,O),ref:e,type:j},P),o.createElement("span",{className:s.label},D,r,R))}));e.a=Object(s.a)((function(t){return{root:Object(i.a)({},t.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:t.shape.borderRadius,color:t.palette.text.primary,transition:t.transitions.create(["background-color","box-shadow","border"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(c.a)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:t.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(t.palette.action.disabledBackground)}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(Object(c.a)(t.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.primary.main),backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(Object(c.a)(t.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.secondary.main),backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(t.palette.action.disabled)}},contained:{color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],boxShadow:t.shadows[2],"&:hover":{backgroundColor:t.palette.grey.A100,boxShadow:t.shadows[4],"@media (hover: none)":{boxShadow:t.shadows[2],backgroundColor:t.palette.grey[300]},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:t.shadows[6]},"&:active":{boxShadow:t.shadows[8]},"&$disabled":{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground}},containedPrimary:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},containedSecondary:{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(f)},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=(r(10),r(445)),c=r(140),u=r(139),l=r(161),f=r(64),h={entering:{opacity:1},entered:{opacity:1}},d={enter:c.b.enteringScreen,exit:c.b.leavingScreen},p=a.forwardRef((function(t,e){var r=t.children,c=t.disableStrictModeCompat,p=void 0!==c&&c,m=t.in,b=t.onEnter,v=t.onEntered,g=t.onEntering,y=t.onExit,w=t.onExited,x=t.onExiting,O=t.style,_=t.TransitionComponent,S=void 0===_?s.a:_,k=t.timeout,E=void 0===k?d:k,M=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),C=Object(u.a)(),j=C.unstable_strictMode&&!p,A=a.useRef(null),T=Object(f.a)(r.ref,e),P=Object(f.a)(j?A:void 0,T),D=function(t){return function(e,r){if(t){var n=j?[A.current,e]:[e,r],o=Object(i.a)(n,2),a=o[0],s=o[1];void 0===s?t(a):t(a,s)}}},R=D(g),L=D((function(t,e){Object(l.b)(t);var r=Object(l.a)({style:O,timeout:E},{mode:"enter"});t.style.webkitTransition=C.transitions.create("opacity",r),t.style.transition=C.transitions.create("opacity",r),b&&b(t,e)})),I=D(v),N=D(x),F=D((function(t){var e=Object(l.a)({style:O,timeout:E},{mode:"exit"});t.style.webkitTransition=C.transitions.create("opacity",e),t.style.transition=C.transitions.create("opacity",e),y&&y(t)})),B=D(w);return a.createElement(S,Object(n.a)({appear:!0,in:m,nodeRef:j?A:void 0,onEnter:L,onEntered:I,onEntering:R,onExit:F,onExited:B,onExiting:N,timeout:E},M),(function(t,e){return a.cloneElement(r,Object(n.a)({style:Object(n.a)({opacity:0,visibility:"exited"!==t||m?void 0:"hidden"},h[t],O,r.props.style),ref:P},e))}))}));e.a=p},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(553);function i(t){if("string"!==typeof t)throw new Error(Object(n.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r(0),i=r(338);function o(t){var e=n.useRef(t);return Object(i.a)((function(){e.current=t})),n.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}},function(t,e,r){"use strict";function n(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=function(){t.apply(n,o)};clearTimeout(e),e=setTimeout(s,r)}return n.clear=function(){clearTimeout(e)},n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(73),s=r(0),c=r(76),u=(r(10),r(8)),l=r(515),f=r(62),h=r(26),d=r(38),p=r(1305),m=r(1316),b=r(64),v=r(488),g=r(169),y=r(269),w=r(221),x=r(139);function O(t){return Math.round(1e5*t)/1e5}var _=!1,S=null;var k=s.forwardRef((function(t,e){var r=t.arrow,a=void 0!==r&&r,f=t.children,h=t.classes,O=t.disableFocusListener,k=void 0!==O&&O,E=t.disableHoverListener,M=void 0!==E&&E,C=t.disableTouchListener,j=void 0!==C&&C,A=t.enterDelay,T=void 0===A?100:A,P=t.enterNextDelay,D=void 0===P?0:P,R=t.enterTouchDelay,L=void 0===R?700:R,I=t.id,N=t.interactive,F=void 0!==N&&N,B=t.leaveDelay,z=void 0===B?0:B,H=t.leaveTouchDelay,U=void 0===H?1500:H,W=t.onClose,q=t.onOpen,V=t.open,G=t.placement,Y=void 0===G?"bottom":G,X=t.PopperComponent,$=void 0===X?m.a:X,K=t.PopperProps,Z=t.title,J=t.TransitionComponent,Q=void 0===J?p.a:J,tt=t.TransitionProps,et=Object(o.a)(t,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),rt=Object(x.a)(),nt=s.useState(),it=nt[0],ot=nt[1],at=s.useState(null),st=at[0],ct=at[1],ut=s.useRef(!1),lt=s.useRef(),ft=s.useRef(),ht=s.useRef(),dt=s.useRef(),pt=Object(w.a)({controlled:V,default:!1,name:"Tooltip",state:"open"}),mt=Object(i.a)(pt,2),bt=mt[0],vt=mt[1],gt=bt,yt=Object(v.a)(I);s.useEffect((function(){return function(){clearTimeout(lt.current),clearTimeout(ft.current),clearTimeout(ht.current),clearTimeout(dt.current)}}),[]);var wt=function(t){clearTimeout(S),_=!0,vt(!0),q&&q(t)},xt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var r=f.props;"mouseover"===e.type&&r.onMouseOver&&t&&r.onMouseOver(e),ut.current&&"touchstart"!==e.type||(it&&it.removeAttribute("title"),clearTimeout(ft.current),clearTimeout(ht.current),T||_&&D?(e.persist(),ft.current=setTimeout((function(){wt(e)}),_?D:T)):wt(e))}},Ot=Object(y.a)(),_t=Ot.isFocusVisible,St=Ot.onBlurVisible,kt=Ot.ref,Et=s.useState(!1),Mt=Et[0],Ct=Et[1],jt=function(){Mt&&(Ct(!1),St())},At=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){it||ot(e.currentTarget),_t(e)&&(Ct(!0),xt()(e));var r=f.props;r.onFocus&&t&&r.onFocus(e)}},Tt=function(t){clearTimeout(S),S=setTimeout((function(){_=!1}),800+z),vt(!1),W&&W(t),clearTimeout(lt.current),lt.current=setTimeout((function(){ut.current=!1}),rt.transitions.duration.shortest)},Pt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var r=f.props;"blur"===e.type&&(r.onBlur&&t&&r.onBlur(e),jt()),"mouseleave"===e.type&&r.onMouseLeave&&e.currentTarget===it&&r.onMouseLeave(e),clearTimeout(ft.current),clearTimeout(ht.current),e.persist(),ht.current=setTimeout((function(){Tt(e)}),z)}},Dt=function(t){ut.current=!0;var e=f.props;e.onTouchStart&&e.onTouchStart(t)},Rt=Object(b.a)(ot,e),Lt=Object(b.a)(kt,Rt),It=s.useCallback((function(t){Object(g.a)(Lt,c.findDOMNode(t))}),[Lt]),Nt=Object(b.a)(f.ref,It);""===Z&&(gt=!1);var Ft=!gt&&!M,Bt=Object(n.a)({"aria-describedby":gt?yt:null,title:Ft&&"string"===typeof Z?Z:null},et,f.props,{className:Object(u.a)(et.className,f.props.className),onTouchStart:Dt,ref:Nt}),zt={};j||(Bt.onTouchStart=function(t){Dt(t),clearTimeout(ht.current),clearTimeout(lt.current),clearTimeout(dt.current),t.persist(),dt.current=setTimeout((function(){xt()(t)}),L)},Bt.onTouchEnd=function(t){f.props.onTouchEnd&&f.props.onTouchEnd(t),clearTimeout(dt.current),clearTimeout(ht.current),t.persist(),ht.current=setTimeout((function(){Tt(t)}),U)}),M||(Bt.onMouseOver=xt(),Bt.onMouseLeave=Pt(),F&&(zt.onMouseOver=xt(!1),zt.onMouseLeave=Pt(!1))),k||(Bt.onFocus=At(),Bt.onBlur=Pt(),F&&(zt.onFocus=At(!1),zt.onBlur=Pt(!1)));var Ht=s.useMemo((function(){return Object(l.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(st),element:st}}}},K)}),[st,K]);return s.createElement(s.Fragment,null,s.cloneElement(f,Bt),s.createElement($,Object(n.a)({className:Object(u.a)(h.popper,F&&h.popperInteractive,a&&h.popperArrow),placement:Y,anchorEl:it,open:!!it&&gt,id:Bt["aria-describedby"],transition:!0},zt,Ht),(function(t){var e=t.placement,r=t.TransitionProps;return s.createElement(Q,Object(n.a)({timeout:rt.transitions.duration.shorter},r,tt),s.createElement("div",{className:Object(u.a)(h.tooltip,h["tooltipPlacement".concat(Object(d.a)(e.split("-")[0]))],ut.current&&h.touch,a&&h.tooltipArrow)},Z,a?s.createElement("span",{className:h.arrow,ref:ct}):null))})))}));e.a=Object(h.a)((function(t){return{popper:{zIndex:t.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(f.a)(t.palette.grey[700],.9),borderRadius:t.shape.borderRadius,color:t.palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(10),lineHeight:"".concat(O(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(f.a)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(O(16/14),"em"),fontWeight:t.typography.fontWeightRegular},tooltipPlacementLeft:Object(a.a)({transformOrigin:"right center",margin:"0 24px "},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(a.a)({transformOrigin:"left center",margin:"0 24px"},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(a.a)({transformOrigin:"center bottom",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(a.a)({transformOrigin:"center top",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(k)},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(833),f=r(187),h=r(6),d=["className"],p=Object(c.a)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"flex-start"===r.alignItems&&e.alignItemsFlexStart]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===r.alignItems&&{marginTop:8})})),m=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiListItemIcon"}),c=r.className,m=Object(n.a)(r,d),b=o.useContext(f.a),v=Object(i.a)({},r,{alignItems:b.alignItems}),g=function(t){var e=t.alignItems,r=t.classes,n={root:["root","flex-start"===e&&"alignItemsFlexStart"]};return Object(s.a)(n,l.b,r)}(v);return Object(h.jsx)(p,Object(i.a)({className:Object(a.a)(g.root,c),ownerState:v,ref:e},m))}));e.a=m},function(t,e,r){"use strict";var n=r(0),i=(r(10),r(441)),o=r(885),a=r(304),s=r(6);function c(t){return t.substring(2).toLowerCase()}e.a=function(t){var e=t.children,r=t.disableReactTree,u=void 0!==r&&r,l=t.mouseEvent,f=void 0===l?"onClick":l,h=t.onClickAway,d=t.touchEvent,p=void 0===d?"onTouchEnd":d,m=n.useRef(!1),b=n.useRef(null),v=n.useRef(!1),g=n.useRef(!1);n.useEffect((function(){return setTimeout((function(){v.current=!0}),0),function(){v.current=!1}}),[]);var y=Object(i.a)(e.ref,b),w=Object(o.a)((function(t){var e=g.current;g.current=!1;var r=Object(a.a)(b.current);!v.current||!b.current||"clientX"in t&&function(t,e){return e.documentElement.clientWidth<t.clientX||e.documentElement.clientHeight<t.clientY}(t,r)||(m.current?m.current=!1:(t.composedPath?t.composedPath().indexOf(b.current)>-1:!r.documentElement.contains(t.target)||b.current.contains(t.target))||!u&&e||h(t))})),x=function(t){return function(r){g.current=!0;var n=e.props[t];n&&n(r)}},O={ref:y};return!1!==p&&(O[p]=x(p)),n.useEffect((function(){if(!1!==p){var t=c(p),e=Object(a.a)(b.current),r=function(){m.current=!0};return e.addEventListener(t,w),e.addEventListener("touchmove",r),function(){e.removeEventListener(t,w),e.removeEventListener("touchmove",r)}}}),[w,p]),!1!==f&&(O[f]=x(f)),n.useEffect((function(){if(!1!==f){var t=c(f),e=Object(a.a)(b.current);return e.addEventListener(t,w),function(){e.removeEventListener(t,w)}}}),[w,f]),Object(s.jsx)(n.Fragment,{children:n.cloneElement(e,O)})}},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(3)),a=r(14),s=r(441),c=r(338),u=r(304);function l(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function f(t){return t instanceof l(t).Element||t instanceof Element}function h(t){return t instanceof l(t).HTMLElement||t instanceof HTMLElement}function d(t){return"undefined"!==typeof ShadowRoot&&(t instanceof l(t).ShadowRoot||t instanceof ShadowRoot)}var p=Math.round;function m(t,e){void 0===e&&(e=!1);var r=t.getBoundingClientRect(),n=1,i=1;if(h(t)&&e){var o=t.offsetHeight,a=t.offsetWidth;a>0&&(n=r.width/a||1),o>0&&(i=r.height/o||1)}return{width:p(r.width/n),height:p(r.height/i),top:p(r.top/i),right:p(r.right/n),bottom:p(r.bottom/i),left:p(r.left/n),x:p(r.left/n),y:p(r.top/i)}}function b(t){var e=l(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function v(t){return t?(t.nodeName||"").toLowerCase():null}function g(t){return((f(t)?t.ownerDocument:t.document)||window.document).documentElement}function y(t){return m(g(t)).left+b(t).scrollLeft}function w(t){return l(t).getComputedStyle(t)}function x(t){var e=w(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function O(t,e,r){void 0===r&&(r=!1);var n=h(e),i=h(e)&&function(t){var e=t.getBoundingClientRect(),r=e.width/t.offsetWidth||1,n=e.height/t.offsetHeight||1;return 1!==r||1!==n}(e),o=g(e),a=m(t,i),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&(("body"!==v(e)||x(o))&&(s=function(t){return t!==l(t)&&h(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:b(t);var e}(e)),h(e)?((c=m(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=y(o))),{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function _(t){var e=m(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function S(t){return"html"===v(t)?t:t.assignedSlot||t.parentNode||(d(t)?t.host:null)||g(t)}function k(t,e){var r;void 0===e&&(e=[]);var n=function t(e){return["html","body","#document"].indexOf(v(e))>=0?e.ownerDocument.body:h(e)&&x(e)?e:t(S(e))}(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),o=l(n),a=i?[o].concat(o.visualViewport||[],x(n)?n:[]):n,s=e.concat(a);return i?s:s.concat(k(S(a)))}function E(t){return["table","td","th"].indexOf(v(t))>=0}function M(t){return h(t)&&"fixed"!==w(t).position?t.offsetParent:null}function C(t){for(var e=l(t),r=M(t);r&&E(r)&&"static"===w(r).position;)r=M(r);return r&&("html"===v(r)||"body"===v(r)&&"static"===w(r).position)?e:r||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&h(t)&&"fixed"===w(t).position)return null;for(var r=S(t);h(r)&&["html","body"].indexOf(v(r))<0;){var n=w(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(t)||e}var j="top",A="bottom",T="right",P="left",D=[j,A,T,P],R=D.reduce((function(t,e){return t.concat([e+"-start",e+"-end"])}),[]),L=[].concat(D,["auto"]).reduce((function(t,e){return t.concat([e,e+"-start",e+"-end"])}),[]),I=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(t){var e=new Map,r=new Set,n=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||function t(i){r.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(n){if(!r.has(n)){var i=e.get(n);i&&t(i)}})),n.push(i)}(t)})),n}function F(t){var e;return function(){return e||(e=new Promise((function(r){Promise.resolve().then((function(){e=void 0,r(t())}))}))),e}}var B={placement:"bottom",modifiers:[],strategy:"absolute"};function z(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function H(t){void 0===t&&(t={});var e=t,r=e.defaultModifiers,n=void 0===r?[]:r,i=e.defaultOptions,o=void 0===i?B:i;return function(t,e,r){void 0===r&&(r=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},a=[],s=!1,c={state:i,setOptions:function(r){var s="function"===typeof r?r(i.options):r;u(),i.options=Object.assign({},o,i.options,s),i.scrollParents={reference:f(t)?k(t):t.contextElement?k(t.contextElement):[],popper:k(e)};var l=function(t){var e=N(t);return I.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}(function(t){var e=t.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(n,i.options.modifiers)));return i.orderedModifiers=l.filter((function(t){return t.enabled})),i.orderedModifiers.forEach((function(t){var e=t.name,r=t.options,n=void 0===r?{}:r,o=t.effect;if("function"===typeof o){var s=o({state:i,name:e,instance:c,options:n});a.push(s||function(){})}})),c.update()},forceUpdate:function(){if(!s){var t=i.elements,e=t.reference,r=t.popper;if(z(e,r)){i.rects={reference:O(e,C(r),"fixed"===i.options.strategy),popper:_(r)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(t){return i.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<i.orderedModifiers.length;n++)if(!0!==i.reset){var o=i.orderedModifiers[n],a=o.fn,u=o.options,l=void 0===u?{}:u,f=o.name;"function"===typeof a&&(i=a({state:i,options:l,name:f,instance:c})||i)}else i.reset=!1,n=-1}}},update:F((function(){return new Promise((function(t){c.forceUpdate(),t(i)}))})),destroy:function(){u(),s=!0}};if(!z(t,e))return c;function u(){a.forEach((function(t){return t()})),a=[]}return c.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),c}}var U={passive:!0};var W={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,n=t.options,i=n.scroll,o=void 0===i||i,a=n.resize,s=void 0===a||a,c=l(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach((function(t){t.addEventListener("scroll",r.update,U)})),s&&c.addEventListener("resize",r.update,U),function(){o&&u.forEach((function(t){t.removeEventListener("scroll",r.update,U)})),s&&c.removeEventListener("resize",r.update,U)}},data:{}};function q(t){return t.split("-")[0]}function V(t){return t.split("-")[1]}function G(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t){var e,r=t.reference,n=t.element,i=t.placement,o=i?q(i):null,a=i?V(i):null,s=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(o){case j:e={x:s,y:r.y-n.height};break;case A:e={x:s,y:r.y+r.height};break;case T:e={x:r.x+r.width,y:c};break;case P:e={x:r.x-n.width,y:c};break;default:e={x:r.x,y:r.y}}var u=o?G(o):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case"start":e[u]=e[u]-(r[l]/2-n[l]/2);break;case"end":e[u]=e[u]+(r[l]/2-n[l]/2)}}return e}var X={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=Y({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},$=Math.max,K=Math.min,Z=Math.round,J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(t){var e,r=t.popper,n=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,c=t.gpuAcceleration,u=t.adaptive,f=t.roundOffsets,h=!0===f?function(t){var e=t.x,r=t.y,n=window.devicePixelRatio||1;return{x:Z(Z(e*n)/n)||0,y:Z(Z(r*n)/n)||0}}(a):"function"===typeof f?f(a):a,d=h.x,p=void 0===d?0:d,m=h.y,b=void 0===m?0:m,v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),x=P,O=j,_=window;if(u){var S=C(r),k="clientHeight",E="clientWidth";S===l(r)&&"static"!==w(S=g(r)).position&&"absolute"===s&&(k="scrollHeight",E="scrollWidth"),S=S,i!==j&&(i!==P&&i!==T||"end"!==o)||(O=A,b-=S[k]-n.height,b*=c?1:-1),i!==P&&(i!==j&&i!==A||"end"!==o)||(x=T,p-=S[E]-n.width,p*=c?1:-1)}var M,D=Object.assign({position:s},u&&J);return c?Object.assign({},D,((M={})[O]=y?"0":"",M[x]=v?"0":"",M.transform=(_.devicePixelRatio||1)<=1?"translate("+p+"px, "+b+"px)":"translate3d("+p+"px, "+b+"px, 0)",M)):Object.assign({},D,((e={})[O]=y?b+"px":"",e[x]=v?p+"px":"",e.transform="",e))}var tt={left:"right",right:"left",bottom:"top",top:"bottom"};function et(t){return t.replace(/left|right|bottom|top/g,(function(t){return tt[t]}))}var rt={start:"end",end:"start"};function nt(t){return t.replace(/start|end/g,(function(t){return rt[t]}))}function it(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&d(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ot(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function at(t,e){return"viewport"===e?ot(function(t){var e=l(t),r=g(t),n=e.visualViewport,i=r.clientWidth,o=r.clientHeight,a=0,s=0;return n&&(i=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,s=n.offsetTop)),{width:i,height:o,x:a+y(t),y:s}}(t)):h(e)?function(t){var e=m(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ot(function(t){var e,r=g(t),n=b(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=$(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=$(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+y(t),c=-n.scrollTop;return"rtl"===w(i||r).direction&&(s+=$(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:c}}(g(t)))}function st(t,e,r){var n="clippingParents"===e?function(t){var e=k(S(t)),r=["absolute","fixed"].indexOf(w(t).position)>=0&&h(t)?C(t):t;return f(r)?e.filter((function(t){return f(t)&&it(t,r)&&"body"!==v(t)})):[]}(t):[].concat(e),i=[].concat(n,[r]),o=i[0],a=i.reduce((function(e,r){var n=at(t,r);return e.top=$(n.top,e.top),e.right=K(n.right,e.right),e.bottom=K(n.bottom,e.bottom),e.left=$(n.left,e.left),e}),at(t,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ct(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ut(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}function lt(t,e){void 0===e&&(e={});var r=e,n=r.placement,i=void 0===n?t.placement:n,o=r.boundary,a=void 0===o?"clippingParents":o,s=r.rootBoundary,c=void 0===s?"viewport":s,u=r.elementContext,l=void 0===u?"popper":u,h=r.altBoundary,d=void 0!==h&&h,p=r.padding,b=void 0===p?0:p,v=ct("number"!==typeof b?b:ut(b,D)),y="popper"===l?"reference":"popper",w=t.rects.popper,x=t.elements[d?y:l],O=st(f(x)?x:x.contextElement||g(t.elements.popper),a,c),_=m(t.elements.reference),S=Y({reference:_,element:w,strategy:"absolute",placement:i}),k=ot(Object.assign({},w,S)),E="popper"===l?k:_,M={top:O.top-E.top+v.top,bottom:E.bottom-O.bottom+v.bottom,left:O.left-E.left+v.left,right:E.right-O.right+v.right},C=t.modifiersData.offset;if("popper"===l&&C){var P=C[i];Object.keys(M).forEach((function(t){var e=[T,A].indexOf(t)>=0?1:-1,r=[j,A].indexOf(t)>=0?"y":"x";M[t]+=P[r]*e}))}return M}function ft(t,e,r){return $(t,K(e,r))}function ht(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function dt(t){return[j,T,A,P].some((function(e){return t[e]>=0}))}var pt=H({defaultModifiers:[W,X,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,n=r.gpuAcceleration,i=void 0===n||n,o=r.adaptive,a=void 0===o||o,s=r.roundOffsets,c=void 0===s||s,u={placement:q(e.placement),variation:V(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Q(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Q(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},n=e.attributes[t]||{},i=e.elements[t];h(i)&&v(i)&&(Object.assign(i.style,r),Object.keys(n).forEach((function(t){var e=n[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});h(n)&&v(n)&&(Object.assign(n.style,o),Object.keys(i).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.options,n=t.name,i=r.offset,o=void 0===i?[0,0]:i,a=L.reduce((function(t,r){return t[r]=function(t,e,r){var n=q(t),i=[P,j].indexOf(n)>=0?-1:1,o="function"===typeof r?r(Object.assign({},e,{placement:t})):r,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[P,T].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,e.rects,o),t}),{}),s=a[e.placement],c=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0===a||a,c=r.fallbackPlacements,u=r.padding,l=r.boundary,f=r.rootBoundary,h=r.altBoundary,d=r.flipVariations,p=void 0===d||d,m=r.allowedAutoPlacements,b=e.options.placement,v=q(b),g=c||(v===b||!p?[et(b)]:function(t){if("auto"===q(t))return[];var e=et(t);return[nt(t),e,nt(e)]}(b)),y=[b].concat(g).reduce((function(t,r){return t.concat("auto"===q(r)?function(t,e){void 0===e&&(e={});var r=e,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=void 0===c?L:c,l=V(n),f=l?s?R:R.filter((function(t){return V(t)===l})):D,h=f.filter((function(t){return u.indexOf(t)>=0}));0===h.length&&(h=f);var d=h.reduce((function(e,r){return e[r]=lt(t,{placement:r,boundary:i,rootBoundary:o,padding:a})[q(r)],e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}(e,{placement:r,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:m}):r)}),[]),w=e.rects.reference,x=e.rects.popper,O=new Map,_=!0,S=y[0],k=0;k<y.length;k++){var E=y[k],M=q(E),C="start"===V(E),I=[j,A].indexOf(M)>=0,N=I?"width":"height",F=lt(e,{placement:E,boundary:l,rootBoundary:f,altBoundary:h,padding:u}),B=I?C?T:P:C?A:j;w[N]>x[N]&&(B=et(B));var z=et(B),H=[];if(o&&H.push(F[M]<=0),s&&H.push(F[B]<=0,F[z]<=0),H.every((function(t){return t}))){S=E,_=!1;break}O.set(E,H)}if(_)for(var U=function(t){var e=y.find((function(e){var r=O.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},W=p?3:1;W>0;W--){if("break"===U(W))break}e.placement!==S&&(e.modifiersData[n]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,n=t.name,i=r.mainAxis,o=void 0===i||i,a=r.altAxis,s=void 0!==a&&a,c=r.boundary,u=r.rootBoundary,l=r.altBoundary,f=r.padding,h=r.tether,d=void 0===h||h,p=r.tetherOffset,m=void 0===p?0:p,b=lt(e,{boundary:c,rootBoundary:u,padding:f,altBoundary:l}),v=q(e.placement),g=V(e.placement),y=!g,w=G(v),x="x"===w?"y":"x",O=e.modifiersData.popperOffsets,S=e.rects.reference,k=e.rects.popper,E="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,M={x:0,y:0};if(O){if(o||s){var D="y"===w?j:P,R="y"===w?A:T,L="y"===w?"height":"width",I=O[w],N=O[w]+b[D],F=O[w]-b[R],B=d?-k[L]/2:0,z="start"===g?S[L]:k[L],H="start"===g?-k[L]:-S[L],U=e.elements.arrow,W=d&&U?_(U):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Y[D],Z=Y[R],J=ft(0,S[L],W[L]),Q=y?S[L]/2-B-J-X-E:z-J-X-E,tt=y?-S[L]/2+B+J+Z+E:H+J+Z+E,et=e.elements.arrow&&C(e.elements.arrow),rt=et?"y"===w?et.clientTop||0:et.clientLeft||0:0,nt=e.modifiersData.offset?e.modifiersData.offset[e.placement][w]:0,it=O[w]+Q-nt-rt,ot=O[w]+tt-nt;if(o){var at=ft(d?K(N,it):N,I,d?$(F,ot):F);O[w]=at,M[w]=at-I}if(s){var st="x"===w?j:P,ct="x"===w?A:T,ut=O[x],ht=ut+b[st],dt=ut-b[ct],pt=ft(d?K(ht,it):ht,ut,d?$(dt,ot):dt);O[x]=pt,M[x]=pt-ut}}e.modifiersData[n]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,n=t.name,i=t.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,s=q(r.placement),c=G(s),u=[P,T].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(t,e){return ct("number"!==typeof(t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ut(t,D))}(i.padding,r),f=_(o),h="y"===c?j:P,d="y"===c?A:T,p=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],m=a[c]-r.rects.reference[c],b=C(o),v=b?"y"===c?b.clientHeight||0:b.clientWidth||0:0,g=p/2-m/2,y=l[h],w=v-f[u]-l[d],x=v/2-f[u]/2+g,O=ft(y,x,w),S=c;r.modifiersData[n]=((e={})[S]=O,e.centerOffset=O-x,e)}},effect:function(t){var e=t.state,r=t.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!==typeof n||(n=e.elements.popper.querySelector(n)))&&it(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,n=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=lt(e,{elementContext:"reference"}),s=lt(e,{altBoundary:!0}),c=ht(a,n),u=ht(s,i,o),l=dt(c),f=dt(u);e.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),mt=r(1414),bt=r(6),vt=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],gt=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function yt(t){return"function"===typeof t?t():t}var wt={},xt=i.forwardRef((function(t,e){var r=t.anchorEl,u=t.children,l=t.direction,f=t.disablePortal,h=t.modifiers,d=t.open,p=t.placement,m=t.popperOptions,b=t.popperRef,v=t.TransitionProps,g=Object(a.a)(t,vt),y=i.useRef(null),w=Object(s.a)(y,e),x=i.useRef(null),O=Object(s.a)(x,b),_=i.useRef(O);Object(c.a)((function(){_.current=O}),[O]),i.useImperativeHandle(b,(function(){return x.current}),[]);var S=function(t,e){if("ltr"===e)return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(p,l),k=i.useState(S),E=Object(o.a)(k,2),M=E[0],C=E[1];i.useEffect((function(){x.current&&x.current.forceUpdate()})),Object(c.a)((function(){if(r&&d){yt(r);var t=[{name:"preventOverflow",options:{altBoundary:f}},{name:"flip",options:{altBoundary:f}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(t){var e=t.state;C(e.placement)}}];null!=h&&(t=t.concat(h)),m&&null!=m.modifiers&&(t=t.concat(m.modifiers));var e=pt(yt(r),y.current,Object(n.a)({placement:S},m,{modifiers:t}));return _.current(e),function(){e.destroy(),_.current(null)}}}),[r,f,h,d,m,S]);var j={placement:M};return null!==v&&(j.TransitionProps=v),Object(bt.jsx)("div",Object(n.a)({ref:w,role:"tooltip"},g,{children:"function"===typeof u?u(j):u}))})),Ot=i.forwardRef((function(t,e){var r=t.anchorEl,s=t.children,c=t.container,l=t.direction,f=void 0===l?"ltr":l,h=t.disablePortal,d=void 0!==h&&h,p=t.keepMounted,m=void 0!==p&&p,b=t.modifiers,v=t.open,g=t.placement,y=void 0===g?"bottom":g,w=t.popperOptions,x=void 0===w?wt:w,O=t.popperRef,_=t.style,S=t.transition,k=void 0!==S&&S,E=Object(a.a)(t,gt),M=i.useState(!0),C=Object(o.a)(M,2),j=C[0],A=C[1];if(!m&&!v&&(!k||j))return null;var T=c||(r?Object(u.a)(yt(r)).body:void 0);return Object(bt.jsx)(mt.a,{disablePortal:d,container:T,children:Object(bt.jsx)(xt,Object(n.a)({anchorEl:r,direction:f,disablePortal:d,modifiers:b,ref:e,open:k?!j:v,placement:y,popperOptions:x,popperRef:O},E,{style:Object(n.a)({position:"fixed",top:0,left:0,display:v||!m||k&&!j?null:"none"},_),TransitionProps:k?{in:v,onEnter:function(){A(!1)},onExited:function(){A(!0)}}:null,children:s}))})})),_t=r(878),St=i.forwardRef((function(t,e){var r=Object(_t.a)();return Object(bt.jsx)(Ot,Object(n.a)({direction:null==r?void 0:r.direction},t,{ref:e}))}));e.a=St},function(t,e,r){"use strict";r.d(e,"a",(function(){return hr}));var n=r(20),i=r(2),o=r(0),a=r.n(o),s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c="object"===("undefined"===typeof window?"undefined":s(window))&&"object"===("undefined"===typeof document?"undefined":s(document))&&9===document.nodeType,u=(r(176),r(374)),l=r(329),f=r(424),h=r(14),d={}.constructor;function p(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(p);if(t.constructor!==d)return t;var e={};for(var r in t)e[r]=p(t[r]);return e}function m(t,e,r){void 0===t&&(t="unnamed");var n=r.jss,i=p(e),o=n.plugins.onCreateRule(t,i,r);return o||(t[0],null)}var b=function(t,e){for(var r="",n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=e),r+=t[n];return r},v=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&"!important"!==t[n];n++)r&&(r+=", "),r+=b(t[n]," ");else r=b(t,", ");return e||"!important"!==t[t.length-1]||(r+=" !important"),r};function g(t,e){for(var r="",n=0;n<e;n++)r+="  ";return r+t}function y(t,e,r){void 0===r&&(r={});var n="";if(!e)return n;var i=r.indent,o=void 0===i?0:i,a=e.fallbacks;if(t&&o++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var c=a[s];for(var u in c){var l=c[u];null!=l&&(n&&(n+="\n"),n+=g(u+": "+v(l)+";",o))}}else for(var f in a){var h=a[f];null!=h&&(n&&(n+="\n"),n+=g(f+": "+v(h)+";",o))}for(var d in e){var p=e[d];null!=p&&"fallbacks"!==d&&(n&&(n+="\n"),n+=g(d+": "+v(p)+";",o))}return(n||r.allowEmpty)&&t?(n&&(n="\n"+n+"\n"),g(t+" {"+n,--o)+g("}",o)):n}var w=/([[\].#*$><+~=|^:(),"'`\s])/g,x="undefined"!==typeof CSS&&CSS.escape,O=function(t){return x?x(t):t.replace(w,"\\$1")},_=function(){function t(t,e,r){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var n=r.sheet,i=r.Renderer;this.key=t,this.options=r,this.style=e,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,r){if(void 0===e)return this.style[t];var n=!!r&&r.force;if(!n&&this.style[t]===e)return this;var i=e;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!n)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var c=this.options.sheet;return c&&c.attached,this},t}(),S=function(t){function e(e,r,n){var i;(i=t.call(this,e,r,n)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=n.selector,a=n.scoped,s=n.sheet,c=n.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(f.a)(Object(f.a)(i)),s),i.selectorText="."+O(i.id)),i}Object(l.a)(e,t);var r=e.prototype;return r.applyTo=function(t){var e=this.renderer;if(e){var r=this.toJSON();for(var n in r)e.setProperty(t,n,r[n])}return this},r.toJSON=function(){var t={};for(var e in this.style){var r=this.style[e];"object"!==typeof r?t[e]=r:Array.isArray(r)&&(t[e]=v(r))}return t},r.toString=function(t){var e=this.options.sheet,r=!!e&&e.options.link?Object(i.a)({},t,{allowEmpty:!0}):t;return y(this.selectorText,this.style,r)},Object(u.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,r=this.renderable;if(r&&e)e.setSelector(r,t)||e.replaceRule(r,this)}},get:function(){return this.selectorText}}]),e}(_),k={onCreateRule:function(t,e,r){return"@"===t[0]||r.parent&&"keyframes"===r.parent.type?null:new S(t,e,r)}},E={indent:1,children:!0},M=/@([\w-]+)/,C=function(){function t(t,e,r){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t;var n=t.match(M);for(var o in this.at=n?n[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new Z(Object(i.a)({},r,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},e.toString=function(t){if(void 0===t&&(t=E),null==t.indent&&(t.indent=E.indent),null==t.children&&(t.children=E.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),j=/@media|@supports\s+/,A={onCreateRule:function(t,e,r){return j.test(t)?new C(t,e,r):null}},T={indent:1,children:!0},P=/@keyframes\s+([\w-]+)/,D=function(){function t(t,e,r){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var n=t.match(P);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,a=r.sheet,s=r.generateId;for(var c in this.id=!1===o?this.name:O(s(this,a)),this.rules=new Z(Object(i.a)({},r,{parent:this})),e)this.rules.add(c,e[c],Object(i.a)({},r,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=T),null==t.indent&&(t.indent=T.indent),null==t.children&&(t.children=T.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),R=/@keyframes\s+/,L=/\$([\w-]+)/g,I=function(t,e){return"string"===typeof t?t.replace(L,(function(t,r){return r in e?e[r]:t})):t},N=function(t,e,r){var n=t[e],i=I(n,r);i!==n&&(t[e]=i)},F={onCreateRule:function(t,e,r){return"string"===typeof t&&R.test(t)?new D(t,e,r):null},onProcessStyle:function(t,e,r){return"style"===e.type&&r?("animation-name"in t&&N(t,"animation-name",r.keyframes),"animation"in t&&N(t,"animation",r.keyframes),t):t},onChangeValue:function(t,e,r){var n=r.options.sheet;if(!n)return t;switch(e){case"animation":case"animation-name":return I(t,n.keyframes);default:return t}}},B=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).renderable=void 0,e}return Object(l.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,r=!!e&&e.options.link?Object(i.a)({},t,{allowEmpty:!0}):t;return y(this.key,this.style,r)},e}(_),z={onCreateRule:function(t,e,r){return r.parent&&"keyframes"===r.parent.type?new B(t,e,r):null}},H=function(){function t(t,e,r){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.style)){for(var e="",r=0;r<this.style.length;r++)e+=y(this.at,this.style[r]),this.style[r+1]&&(e+="\n");return e}return y(this.at,this.style,t)},t}(),U=/@font-face/,W={onCreateRule:function(t,e,r){return U.test(t)?new H(t,e,r):null}},q=function(){function t(t,e,r){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.style=e,this.options=r}return t.prototype.toString=function(t){return y(this.key,this.style,t)},t}(),V={onCreateRule:function(t,e,r){return"@viewport"===t||"@-ms-viewport"===t?new q(t,e,r):null}},G=function(){function t(t,e,r){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.value=e,this.options=r}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",r=0;r<this.value.length;r++)e+=this.key+" "+this.value[r]+";",this.value[r+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),Y={"@charset":!0,"@import":!0,"@namespace":!0},X=[k,A,F,z,W,V,{onCreateRule:function(t,e,r){return t in Y?new G(t,e,r):null}}],$={process:!0},K={force:!0,process:!0},Z=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,r){var n=this.options,o=n.parent,a=n.sheet,s=n.jss,c=n.Renderer,u=n.generateId,l=n.scoped,f=Object(i.a)({classes:this.classes,parent:o,sheet:a,jss:s,Renderer:c,generateId:u,scoped:l,name:t,keyframes:this.keyframes,selector:void 0},r),h=t;t in this.raw&&(h=t+"-d"+this.counter++),this.raw[h]=e,h in this.classes&&(f.selector="."+O(this.classes[h]));var d=m(h,e,f);if(!d)return null;this.register(d);var p=void 0===f.index?this.index.length:f.index;return this.index.splice(p,0,d),d},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof S?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof D&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof S?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof D&&delete this.keyframes[t.name]},e.update=function(){var t,e,r;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.map[t],e,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],e,r)},e.updateOne=function(e,r,n){void 0===n&&(n=$);var i=this.options,o=i.jss.plugins,a=i.sheet;if(e.rules instanceof t)e.rules.update(r,n);else{var s=e,c=s.style;if(o.onUpdate(r,e,a,n),n.process&&c&&c!==s.style){for(var u in o.onProcessStyle(s.style,s,a),s.style){var l=s.style[u];l!==c[u]&&s.prop(u,l,K)}for(var f in c){var h=s.style[f],d=c[f];null==h&&h!==d&&s.prop(f,null,K)}}}},e.toString=function(t){for(var e="",r=this.options.sheet,n=!!r&&r.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(t);(o||n)&&(e&&(e+="\n"),e+=o)}return e},t}(),J=function(){function t(t,e){for(var r in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(i.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new Z(this.options),t)this.rules.add(r,t[r]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(t,e,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var r=[];for(var n in t){var i=this.addRule(n,t[n],e);i&&r.push(i)}return r},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,r){return this.rules.updateOne(t,e,r),this},e.toString=function(t){return this.rules.toString(t)},t}(),Q=function(){function t(){this.plugins={internal:[],external:[]},this.registry=void 0}var e=t.prototype;return e.onCreateRule=function(t,e,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](t,e,r);if(i)return i}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)e.style=this.registry.onProcessStyle[n](e.style,e,r)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](t,e,r,n)},e.onChangeValue=function(t,e,r){for(var n=t,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,e,r);return n},e.use=function(t,e){void 0===e&&(e={queue:"external"});var r=this.plugins[e.queue];-1===r.indexOf(t)&&(r.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var r in e)r in t&&t[r].push(e[r]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),tt=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,r=t.options.index;if(-1===e.indexOf(t))if(0===e.length||r>=this.index)e.push(t);else for(var n=0;n<e.length;n++)if(e[n].options.index>r)return void e.splice(n,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,r=e.attached,n=Object(h.a)(e,["attached"]),i="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=r&&a.attached!==r||(i&&(i+="\n"),i+=a.toString(n))}return i},Object(u.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),et="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),rt="2f1acc6c3a606b082e5eef5e54414ffb";null==et[rt]&&(et[rt]=0);var nt=et[rt]++,it=function(t){void 0===t&&(t={});var e=0;return function(r,n){e+=1;var i="",o="";return n&&(n.options.classNamePrefix&&(o=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),t.minify?""+(o||"c")+nt+i+e:o+r.key+"-"+nt+(i?"-"+i:"")+"-"+e}},ot=function(t){var e;return function(){return e||(e=t()),e}},at=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(r){return""}},st=function(t,e,r){try{var n=r;if(Array.isArray(r)&&(n=v(r,!0),"!important"===r[r.length-1]))return t.style.setProperty(e,n,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,n):t.style.setProperty(e,n)}catch(i){return!1}return!0},ct=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(r){}},ut=function(t,e){return t.selectorText=e,t.selectorText===e},lt=ot((function(){return document.querySelector("head")}));function ft(t){var e=tt.registry;if(e.length>0){var r=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(n.attached&&n.options.index>e.index&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if((r=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t[r];if(n.attached&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t))&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=t.insertionPoint;if(n&&"string"===typeof n){var i=function(t){for(var e=lt(),r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===t)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var ht=ot((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),dt=function(t,e,r){try{if("insertRule"in t)t.insertRule(e,r);else if("appendRule"in t){t.appendRule(e)}}catch(n){return!1}return t.cssRules[r]},pt=function(t,e){var r=t.cssRules.length;return void 0===e||e>r?r:e},mt=function(){function t(t){this.getPropertyValue=at,this.setProperty=st,this.removeProperty=ct,this.setSelector=ut,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],t&&tt.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},r=e.media,n=e.meta,i=e.element;this.element=i||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),n&&this.element.setAttribute("data-meta",n);var o=ht();o&&this.element.setAttribute("nonce",o)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var r=e.insertionPoint,n=ft(e);if(!1!==n&&n.parent)n.parent.insertBefore(t,n.node);else if(r&&"number"===typeof r.nodeType){var i=r,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else lt().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var r=0;r<t.index.length;r++)this.insertRule(t.index[r],r,e)},e.insertRule=function(t,e,r){if(void 0===r&&(r=this.element.sheet),t.rules){var n=t,i=r;if("conditional"===t.type||"keyframes"===t.type){var o=pt(r,e);if(!1===(i=dt(r,n.toString({children:!1}),o)))return!1;this.refCssRule(t,o,i)}return this.insertRules(n.rules,i),i}var a=t.toString();if(!a)return!1;var s=pt(r,e),c=dt(r,a,s);return!1!==c&&(this.hasInsertedRules=!0,this.refCssRule(t,s,c),c)},e.refCssRule=function(t,e,r){t.renderable=r,t.options.parent instanceof J&&(this.cssRules[e]=r)},e.deleteRule=function(t){var e=this.element.sheet,r=this.indexOf(t);return-1!==r&&(e.deleteRule(r),this.cssRules.splice(r,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var r=this.indexOf(t);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(e,r))},e.getRules=function(){return this.element.sheet.cssRules},t}(),bt=0,vt=function(){function t(t){this.id=bt++,this.version="10.7.1",this.plugins=new Q,this.options={id:{minify:!1},createGenerateId:it,Renderer:c?mt:null,plugins:[]},this.generateId=it({minify:!1});for(var e=0;e<X.length;e++)this.plugins.use(X[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(i.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var r=e.index;"number"!==typeof r&&(r=0===tt.index?0:tt.index+1);var n=new J(t,Object(i.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(n),n},e.removeStyleSheet=function(t){return t.detach(),tt.remove(t),this},e.createRule=function(t,e,r){if(void 0===e&&(e={}),void 0===r&&(r={}),"object"===typeof t)return this.createRule(void 0,t,e);var n=Object(i.a)({},r,{name:t,jss:this,Renderer:this.options.Renderer});n.generateId||(n.generateId=this.generateId),n.classes||(n.classes={}),n.keyframes||(n.keyframes={});var o=m(t,e,n);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.forEach((function(e){t.plugins.use(e)})),this},t}();var gt="object"===typeof CSS&&null!=CSS&&"number"in CSS,yt=function(t){return new vt(t)},wt=(yt(),r(1399)),xt={set:function(t,e,r,n){var i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(r,n)},get:function(t,e,r){var n=t.get(e);return n?n.get(r):void 0},delete:function(t,e,r){t.get(e).delete(r)}},Ot=r(656),_t=(r(10),r(518)),St=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var kt=Date.now(),Et="fnValues"+kt,Mt="fnStyle"+ ++kt,Ct=function(){return{onCreateRule:function(t,e,r){if("function"!==typeof e)return null;var n=m(t,{},r);return n[Mt]=e,n},onProcessStyle:function(t,e){if(Et in e||Mt in e)return t;var r={};for(var n in t){var i=t[n];"function"===typeof i&&(delete t[n],r[n]=i)}return e[Et]=r,t},onUpdate:function(t,e,r,n){var i=e,o=i[Mt];o&&(i.style=o(t)||{});var a=i[Et];if(a)for(var s in a)i.prop(s,a[s](t),n)}}},jt="@global",At=function(){function t(t,e,r){for(var n in this.type="global",this.at=jt,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=t,this.options=r,this.rules=new Z(Object(i.a)({},r,{parent:this})),e)this.rules.add(n,e[n]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n&&this.options.jss.plugins.onProcessRule(n),n},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(){return this.rules.toString()},t}(),Tt=function(){function t(t,e,r){this.type="global",this.at=jt,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=t,this.options=r;var n=t.substr("@global ".length);this.rule=r.jss.createRule(n,e,Object(i.a)({},r,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),Pt=/\s*,\s*/g;function Dt(t,e){for(var r=t.split(Pt),n="",i=0;i<r.length;i++)n+=e+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var Rt=function(){return{onCreateRule:function(t,e,r){if(!t)return null;if(t===jt)return new At(t,e,r);if("@"===t[0]&&"@global "===t.substr(0,"@global ".length))return new Tt(t,e,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),!1===r.scoped&&(r.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var r=t.options,n=t.style,o=n?n[jt]:null;if(o){for(var a in o)e.addRule(a,o[a],Object(i.a)({},r,{selector:Dt(a,t.selector)}));delete n[jt]}}(t,e),function(t,e){var r=t.options,n=t.style;for(var o in n)if("@"===o[0]&&o.substr(0,jt.length)===jt){var a=Dt(o.substr(jt.length),t.selector);e.addRule(a,n[o],Object(i.a)({},r,{selector:a})),delete n[o]}}(t,e))}}},Lt=/\s*,\s*/g,It=/&/g,Nt=/\$([\w-]+)/g;var Ft=function(){function t(t,e){return function(r,n){var i=t.getRule(n)||e&&e.getRule(n);return i?(i=i).selector:n}}function e(t,e){for(var r=e.split(Lt),n=t.split(Lt),i="",o=0;o<r.length;o++)for(var a=r[o],s=0;s<n.length;s++){var c=n[s];i&&(i+=", "),i+=-1!==c.indexOf("&")?c.replace(It,a):a+" "+c}return i}function r(t,e,r){if(r)return Object(i.a)({},r,{index:r.index+1});var n=t.options.nestingLevel;n=void 0===n?1:n+1;var o=Object(i.a)({},t.options,{nestingLevel:n,index:e.indexOf(t)+1});return delete o.name,o}return{onProcessStyle:function(n,o,a){if("style"!==o.type)return n;var s,c,u=o,l=u.options.parent;for(var f in n){var h=-1!==f.indexOf("&"),d="@"===f[0];if(h||d){if(s=r(u,l,s),h){var p=e(f,u.selector);c||(c=t(l,a)),p=p.replace(Nt,c),l.addRule(p,n[f],Object(i.a)({},s,{selector:p}))}else d&&l.addRule(f,{},s).addRule(u.key,n[f],{selector:u.selector});delete n[f]}}return n}}},Bt=/[A-Z]/g,zt=/^ms-/,Ht={};function Ut(t){return"-"+t.toLowerCase()}var Wt=function(t){if(Ht.hasOwnProperty(t))return Ht[t];var e=t.replace(Bt,Ut);return Ht[t]=zt.test(e)?"-"+e:e};function qt(t){var e={};for(var r in t){e[0===r.indexOf("--")?r:Wt(r)]=t[r]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(qt):e.fallbacks=qt(t.fallbacks)),e}var Vt=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=qt(t[e]);return t}return qt(t)},onChangeValue:function(t,e,r){if(0===e.indexOf("--"))return t;var n=Wt(e);return e===n?t:(r.prop(n,t),null)}}},Gt=gt&&CSS?CSS.px:"px",Yt=gt&&CSS?CSS.ms:"ms",Xt=gt&&CSS?CSS.percent:"%";function $t(t){var e=/(-[a-z])/g,r=function(t){return t[1].toUpperCase()},n={};for(var i in t)n[i]=t[i],n[i.replace(e,r)]=t[i];return n}var Kt=$t({"animation-delay":Yt,"animation-duration":Yt,"background-position":Gt,"background-position-x":Gt,"background-position-y":Gt,"background-size":Gt,border:Gt,"border-bottom":Gt,"border-bottom-left-radius":Gt,"border-bottom-right-radius":Gt,"border-bottom-width":Gt,"border-left":Gt,"border-left-width":Gt,"border-radius":Gt,"border-right":Gt,"border-right-width":Gt,"border-top":Gt,"border-top-left-radius":Gt,"border-top-right-radius":Gt,"border-top-width":Gt,"border-width":Gt,"border-block":Gt,"border-block-end":Gt,"border-block-end-width":Gt,"border-block-start":Gt,"border-block-start-width":Gt,"border-block-width":Gt,"border-inline":Gt,"border-inline-end":Gt,"border-inline-end-width":Gt,"border-inline-start":Gt,"border-inline-start-width":Gt,"border-inline-width":Gt,"border-start-start-radius":Gt,"border-start-end-radius":Gt,"border-end-start-radius":Gt,"border-end-end-radius":Gt,margin:Gt,"margin-bottom":Gt,"margin-left":Gt,"margin-right":Gt,"margin-top":Gt,"margin-block":Gt,"margin-block-end":Gt,"margin-block-start":Gt,"margin-inline":Gt,"margin-inline-end":Gt,"margin-inline-start":Gt,padding:Gt,"padding-bottom":Gt,"padding-left":Gt,"padding-right":Gt,"padding-top":Gt,"padding-block":Gt,"padding-block-end":Gt,"padding-block-start":Gt,"padding-inline":Gt,"padding-inline-end":Gt,"padding-inline-start":Gt,"mask-position-x":Gt,"mask-position-y":Gt,"mask-size":Gt,height:Gt,width:Gt,"min-height":Gt,"max-height":Gt,"min-width":Gt,"max-width":Gt,bottom:Gt,left:Gt,top:Gt,right:Gt,inset:Gt,"inset-block":Gt,"inset-block-end":Gt,"inset-block-start":Gt,"inset-inline":Gt,"inset-inline-end":Gt,"inset-inline-start":Gt,"box-shadow":Gt,"text-shadow":Gt,"column-gap":Gt,"column-rule":Gt,"column-rule-width":Gt,"column-width":Gt,"font-size":Gt,"font-size-delta":Gt,"letter-spacing":Gt,"text-decoration-thickness":Gt,"text-indent":Gt,"text-stroke":Gt,"text-stroke-width":Gt,"word-spacing":Gt,motion:Gt,"motion-offset":Gt,outline:Gt,"outline-offset":Gt,"outline-width":Gt,perspective:Gt,"perspective-origin-x":Xt,"perspective-origin-y":Xt,"transform-origin":Xt,"transform-origin-x":Xt,"transform-origin-y":Xt,"transform-origin-z":Xt,"transition-delay":Yt,"transition-duration":Yt,"vertical-align":Gt,"flex-basis":Gt,"shape-margin":Gt,size:Gt,gap:Gt,grid:Gt,"grid-gap":Gt,"row-gap":Gt,"grid-row-gap":Gt,"grid-column-gap":Gt,"grid-template-rows":Gt,"grid-template-columns":Gt,"grid-auto-rows":Gt,"grid-auto-columns":Gt,"box-shadow-x":Gt,"box-shadow-y":Gt,"box-shadow-blur":Gt,"box-shadow-spread":Gt,"font-line-height":Gt,"text-shadow-x":Gt,"text-shadow-y":Gt,"text-shadow-blur":Gt});function Zt(t,e,r){if(null==e)return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=Zt(t,e[n],r);else if("object"===typeof e)if("fallbacks"===t)for(var i in e)e[i]=Zt(i,e[i],r);else for(var o in e)e[o]=Zt(t+"-"+o,e[o],r);else if("number"===typeof e&&!1===isNaN(e)){var a=r[t]||Kt[t];return!a||0===e&&a===Gt?e.toString():"function"===typeof a?a(e).toString():""+e+a}return e}var Jt=function(t){void 0===t&&(t={});var e=$t(t);return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n in t)t[n]=Zt(n,t[n],e);return t},onChangeValue:function(t,r){return Zt(r,t,e)}}},Qt=r(232),te="",ee="",re="",ne="",ie=c&&"ontouchstart"in document.documentElement;if(c){var oe={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},ae=document.createElement("p").style;for(var se in oe)if(se+"Transform"in ae){te=se,ee=oe[se];break}"Webkit"===te&&"msHyphens"in ae&&(te="ms",ee=oe.ms,ne="edge"),"Webkit"===te&&"-apple-trailing-word"in ae&&(re="apple")}var ce=te,ue=ee,le=re,fe=ne,he=ie;var de={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===ce?"-webkit-"+t:ue+t)}},pe={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===ce?ue+"print-"+t:t)}},me=/[-\s]+(.)?/g;function be(t,e){return e?e.toUpperCase():""}function ve(t){return t.replace(me,be)}function ge(t){return ve("-"+t)}var ye,we={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===ce){if(ve("mask-image")in e)return t;if(ce+ge("mask-image")in e)return ue+t}return t}},xe={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==le||he?t:ue+t)}},Oe={noPrefill:["transform"],supportedProperty:function(t,e,r){return"transform"===t&&(r.transform?t:ue+t)}},_e={noPrefill:["transition"],supportedProperty:function(t,e,r){return"transition"===t&&(r.transition?t:ue+t)}},Se={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===ce||"ms"===ce&&"edge"!==fe?ue+t:t)}},ke={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===ce||"ms"===ce||"apple"===le?ue+t:t)}},Ee={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===ce?"WebkitColumn"+ge(t)in e&&ue+"column-"+t:"Moz"===ce&&("page"+ge(t)in e&&"page-"+t))}},Me={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===ce)return t;var r=t.replace("-inline","");return ce+ge(r)in e&&ue+r}},Ce={supportedProperty:function(t,e){return ve(t)in e&&t}},je={supportedProperty:function(t,e){var r=ge(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:ce+r in e?ue+t:"Webkit"!==ce&&"Webkit"+r in e&&"-webkit-"+t}},Ae={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===ce?""+ue+t:t)}},Te={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===ce?ue+"scroll-chaining":t)}},Pe={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},De={supportedProperty:function(t,e){var r=Pe[t];return!!r&&(ce+ge(r)in e&&ue+r)}},Re={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Le=Object.keys(Re),Ie=function(t){return ue+t},Ne=[de,pe,we,xe,Oe,_e,Se,ke,Ee,Me,Ce,je,Ae,Te,De,{supportedProperty:function(t,e,r){var n=r.multiple;if(Le.indexOf(t)>-1){var i=Re[t];if(!Array.isArray(i))return ce+ge(i)in e&&ue+i;if(!n)return!1;for(var o=0;o<i.length;o++)if(!(ce+ge(i[0])in e))return!1;return i.map(Ie)}return!1}}],Fe=Ne.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),Be=Ne.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,Object(Qt.a)(e.noPrefill)),t}),[]),ze={};if(c){ye=document.createElement("p");var He=window.getComputedStyle(document.documentElement,"");for(var Ue in He)isNaN(Ue)||(ze[He[Ue]]=He[Ue]);Be.forEach((function(t){return delete ze[t]}))}function We(t,e){if(void 0===e&&(e={}),!ye)return t;if(null!=ze[t])return ze[t];"transition"!==t&&"transform"!==t||(e[t]=t in ye.style);for(var r=0;r<Fe.length&&(ze[t]=Fe[r](t,ye.style,e),!ze[t]);r++);try{ye.style[t]=""}catch(n){return!1}return ze[t]}var qe,Ve={},Ge={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ye=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xe(t,e,r){if("var"===e)return"var";if("all"===e)return"all";if("all"===r)return", all";var n=e?We(e):", "+We(r);return n||(e||r)}function $e(t,e){var r=e;if(!qe||"content"===t)return e;if("string"!==typeof r||!isNaN(parseInt(r,10)))return r;var n=t+r;if(null!=Ve[n])return Ve[n];try{qe.style[t]=r}catch(i){return Ve[n]=!1,!1}if(Ge[t])r=r.replace(Ye,Xe);else if(""===qe.style[t]&&("-ms-flex"===(r=ue+r)&&(qe.style[t]="-ms-flexbox"),qe.style[t]=r,""===qe.style[t]))return Ve[n]=!1,!1;return qe.style[t]="",Ve[n]=r,Ve[n]}c&&(qe=document.createElement("p"));var Ke=function(){function t(e){for(var r in e){var n=e[r];if("fallbacks"===r&&Array.isArray(n))e[r]=n.map(t);else{var i=!1,o=We(r);o&&o!==r&&(i=!0);var a=!1,s=$e(o,v(n));s&&s!==n&&(a=!0),(i||a)&&(i&&delete e[r],e[o||r]=s||n)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at="-"===(r=e.at)[1]||"ms"===ce?r:"@"+ue+"keyframes"+r.substr(10)}var r},onProcessStyle:function(e,r){return"style"!==r.type?e:t(e)},onChangeValue:function(t,e){return $e(e,v(t))||t}}};var Ze=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n={},i=Object.keys(e).sort(t),o=0;o<i.length;o++)n[i[o]]=e[i[o]];return n}}};function Je(){return{plugins:[Ct(),Rt(),Ft(),Vt(),Jt(),"undefined"===typeof window?null:Ke(),Ze()]}}var Qe=yt(Je()),tr={disableGeneration:!1,generateClassName:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,r=void 0!==e&&e,n=t.productionPrefix,i=void 0===n?"jss":n,o=t.seed,a=void 0===o?"":o,s=""===a?"":"".concat(a,"-"),c=0,u=function(){return c+=1};return function(t,e){var n=e.options.name;if(n&&0===n.indexOf("Mui")&&!e.options.link&&!r){if(-1!==St.indexOf(t.key))return"Mui-".concat(t.key);var o="".concat(s).concat(n,"-").concat(t.key);return e.options.theme[_t.a]&&""===a?"".concat(o,"-").concat(u()):o}return"".concat(s).concat(i).concat(u())}}(),jss:Qe,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},er=a.a.createContext(tr);var rr=-1e9;function nr(){return rr+=1}r(217);var ir=r(515);function or(t){var e="function"===typeof t;return{create:function(r,n){var o;try{o=e?t(r):t}catch(c){throw c}if(!n||!r.overrides||!r.overrides[n])return o;var a=r.overrides[n],s=Object(i.a)({},o);return Object.keys(a).forEach((function(t){s[t]=Object(ir.a)(s[t],a[t])})),s},options:{}}}var ar={};function sr(t,e,r){var n=t.state;if(t.stylesOptions.disableGeneration)return e||{};n.cacheClasses||(n.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return n.classes!==n.cacheClasses.lastJSS&&(n.cacheClasses.lastJSS=n.classes,i=!0),e!==n.cacheClasses.lastProp&&(n.cacheClasses.lastProp=e,i=!0),i&&(n.cacheClasses.value=Object(wt.a)({baseClasses:n.cacheClasses.lastJSS,newClasses:e,Component:r})),n.cacheClasses.value}function cr(t,e){var r=t.state,n=t.theme,o=t.stylesOptions,a=t.stylesCreator,s=t.name;if(!o.disableGeneration){var c=xt.get(o.sheetsManager,a,n);c||(c={refs:0,staticSheet:null,dynamicStyles:null},xt.set(o.sheetsManager,a,n,c));var u=Object(i.a)({},a.options,o,{theme:n,flip:"boolean"===typeof o.flip?o.flip:"rtl"===n.direction});u.generateId=u.serverGenerateClassName||u.generateClassName;var l=o.sheetsRegistry;if(0===c.refs){var f;o.sheetsCache&&(f=xt.get(o.sheetsCache,a,n));var h=a.create(n,s);f||((f=o.jss.createStyleSheet(h,Object(i.a)({link:!1},u))).attach(),o.sheetsCache&&xt.set(o.sheetsCache,a,n,f)),l&&l.add(f),c.staticSheet=f,c.dynamicStyles=function t(e){var r=null;for(var n in e){var i=e[n],o=typeof i;if("function"===o)r||(r={}),r[n]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=t(i);a&&(r||(r={}),r[n]=a)}}return r}(h)}if(c.dynamicStyles){var d=o.jss.createStyleSheet(c.dynamicStyles,Object(i.a)({link:!0},u));d.update(e),d.attach(),r.dynamicSheet=d,r.classes=Object(wt.a)({baseClasses:c.staticSheet.classes,newClasses:d.classes}),l&&l.add(d)}else r.classes=c.staticSheet.classes;c.refs+=1}}function ur(t,e){var r=t.state;r.dynamicSheet&&r.dynamicSheet.update(e)}function lr(t){var e=t.state,r=t.theme,n=t.stylesOptions,i=t.stylesCreator;if(!n.disableGeneration){var o=xt.get(n.sheetsManager,i,r);o.refs-=1;var a=n.sheetsRegistry;0===o.refs&&(xt.delete(n.sheetsManager,i,r),n.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}}function fr(t,e){var r,n=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),e);n.current!==i&&(n.current=i,r=t()),a.a.useEffect((function(){return function(){r&&r()}}),[i])}function hr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.name,o=e.classNamePrefix,s=e.Component,c=e.defaultTheme,u=void 0===c?ar:c,l=Object(n.a)(e,["name","classNamePrefix","Component","defaultTheme"]),f=or(t),h=r||o||"makeStyles";f.options={index:nr(),name:r,meta:h,classNamePrefix:h};var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(Ot.a)()||u,n=Object(i.a)({},a.a.useContext(er),l),o=a.a.useRef(),c=a.a.useRef();fr((function(){var i={name:r,state:{},stylesCreator:f,stylesOptions:n,theme:e};return cr(i,t),c.current=!1,o.current=i,function(){lr(i)}}),[e,f]),a.a.useEffect((function(){c.current&&ur(o.current,t),c.current=!0}));var h=sr(o.current,t.classes,s);return h};return d}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(147),u=r(373),l=r(49),f=r(6),h=Object(l.a)(Object(f.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),d=Object(l.a)(Object(f.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),p=Object(l.a)(Object(f.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),m=r(24),b=r(22),v=r(13),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiCheckbox",t)}var x=Object(y.a)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),O=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],_=Object(v.a)(u.a,{shouldForwardProp:function(t){return Object(v.b)(t)||"classes"===t},name:"MuiCheckbox",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.indeterminate&&e.indeterminate,"default"!==r.color&&e["color".concat(Object(m.a)(r.color))]]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({color:r.palette.text.secondary},!i.disableRipple&&{"&:hover":{backgroundColor:Object(c.a)("default"===i.color?r.palette.action.active:r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==i.color&&(e={},Object(n.a)(e,"&.".concat(x.checked,", &.").concat(x.indeterminate),{color:r.palette[i.color].main}),Object(n.a)(e,"&.".concat(x.disabled),{color:r.palette.action.disabled}),e))})),S=Object(f.jsx)(d,{}),k=Object(f.jsx)(h,{}),E=Object(f.jsx)(p,{}),M=a.forwardRef((function(t,e){var r,n,c=Object(b.a)({props:t,name:"MuiCheckbox"}),u=c.checkedIcon,l=void 0===u?S:u,h=c.color,d=void 0===h?"primary":h,p=c.icon,v=void 0===p?k:p,g=c.indeterminate,y=void 0!==g&&g,x=c.indeterminateIcon,M=void 0===x?E:x,C=c.inputProps,j=c.size,A=void 0===j?"medium":j,T=Object(i.a)(c,O),P=y?M:v,D=y?M:l,R=Object(o.a)({},c,{color:d,indeterminate:y,size:A}),L=function(t){var e=t.classes,r=t.indeterminate,n=t.color,i={root:["root",r&&"indeterminate","color".concat(Object(m.a)(n))]},a=Object(s.a)(i,w,e);return Object(o.a)({},e,a)}(R);return Object(f.jsx)(_,Object(o.a)({type:"checkbox",inputProps:Object(o.a)({"data-indeterminate":y},C),icon:a.cloneElement(P,{fontSize:null!=(r=P.props.fontSize)?r:A}),checkedIcon:a.cloneElement(D,{fontSize:null!=(n=D.props.fontSize)?n:A}),ownerState:R,ref:e},T,{classes:L}))}));e.a=M},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(24),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiSvgIcon",t)}Object(h.a)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=r(6),m=["children","className","color","component","fontSize","htmlColor","titleAccess","viewBox"],b=Object(l.a)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"inherit"!==r.color&&e["color".concat(Object(c.a)(r.color))],e["fontSize".concat(Object(c.a)(r.fontSize))]]}})((function(t){var e,r,n=t.theme,i=t.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:n.transitions.create("fill",{duration:n.transitions.duration.shorter}),fontSize:{inherit:"inherit",small:n.typography.pxToRem(20),medium:n.typography.pxToRem(24),large:n.typography.pxToRem(35)}[i.fontSize],color:null!=(e=null==(r=n.palette[i.color])?void 0:r.main)?e:{action:n.palette.action.active,disabled:n.palette.action.disabled,inherit:void 0}[i.color]}})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiSvgIcon"}),o=r.children,l=r.className,f=r.color,h=void 0===f?"inherit":f,v=r.component,g=void 0===v?"svg":v,y=r.fontSize,w=void 0===y?"medium":y,x=r.htmlColor,O=r.titleAccess,_=r.viewBox,S=void 0===_?"0 0 24 24":_,k=Object(i.a)(r,m),E=Object(n.a)({},r,{color:h,component:g,fontSize:w,viewBox:S}),M=function(t){var e=t.color,r=t.fontSize,n=t.classes,i={root:["root","inherit"!==e&&"color".concat(Object(c.a)(e)),"fontSize".concat(Object(c.a)(r))]};return Object(s.a)(i,d,n)}(E);return Object(p.jsxs)(b,Object(n.a)({as:g,className:Object(a.a)(M.root,l),ownerState:E,focusable:"false",viewBox:S,color:x,"aria-hidden":!O||void 0,role:O?"img":void 0,ref:e},k,{children:[o,O?Object(p.jsx)("title",{children:O}):null]}))}));v.muiName="SvgIcon";e.a=v},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(147),u=r(13),l=r(22),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiPaper",t)}Object(h.a)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var p=r(6),m=["className","component","elevation","square","variant"],b=function(t){return((t<1?5.11916*Math.pow(t,2):4.5*Math.log(t+1)+2)/100).toFixed(2)},v=Object(u.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],!r.square&&e.rounded,"elevation"===r.variant&&e["elevation".concat(r.elevation)]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!r.square&&{borderRadius:e.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat(e.palette.divider)},"elevation"===r.variant&&Object(i.a)({boxShadow:e.shadows[r.elevation]},"dark"===e.palette.mode&&{backgroundImage:"linear-gradient(".concat(Object(c.a)("#fff",b(r.elevation)),", ").concat(Object(c.a)("#fff",b(r.elevation)),")")}))})),g=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiPaper"}),o=r.className,c=r.component,u=void 0===c?"div":c,f=r.elevation,h=void 0===f?1:f,b=r.square,g=void 0!==b&&b,y=r.variant,w=void 0===y?"elevation":y,x=Object(n.a)(r,m),O=Object(i.a)({},r,{component:u,elevation:h,square:g,variant:w}),_=function(t){var e=t.square,r=t.elevation,n=t.variant,i=t.classes,o={root:["root",n,!e&&"rounded","elevation"===n&&"elevation".concat(r)]};return Object(s.a)(o,d,i)}(O);return Object(p.jsx)(v,Object(i.a)({as:u,ownerState:O,className:Object(a.a)(_.root,o),ref:e},x))}));e.a=g},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=r(355),i="function"===typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,b="function"===typeof Symbol&&Symbol.iterator;function v(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function w(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||g}function x(){}function O(t,e,r){this.props=t,this.context=e,this.refs=y,this.updater=r||g}w.prototype.isReactComponent={},w.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(v(85));this.updater.enqueueSetState(this,t,e,"setState")},w.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},x.prototype=w.prototype;var _=O.prototype=new x;_.constructor=O,n(_,w.prototype),_.isPureReactComponent=!0;var S={current:null},k=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function M(t,e,r){var n,i={},a=null,s=null;if(null!=e)for(n in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)k.call(e,n)&&!E.hasOwnProperty(n)&&(i[n]=e[n]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(t&&t.defaultProps)for(n in c=t.defaultProps)void 0===i[n]&&(i[n]=c[n]);return{$$typeof:o,type:t,key:a,ref:s,props:i,_owner:S.current}}function C(t){return"object"===typeof t&&null!==t&&t.$$typeof===o}var j=/\/+/g,A=[];function T(t,e,r,n){if(A.length){var i=A.pop();return i.result=t,i.keyPrefix=e,i.func=r,i.context=n,i.count=0,i}return{result:t,keyPrefix:e,func:r,context:n,count:0}}function P(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>A.length&&A.push(t)}function D(t,e,r){return null==t?0:function t(e,r,n,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case o:case a:c=!0}}if(c)return n(i,e,""===r?"."+R(e,0):r),1;if(c=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var l=r+R(s=e[u],u);c+=t(s,l,n,i)}else if(null===e||"object"!==typeof e?l=null:l="function"===typeof(l=b&&e[b]||e["@@iterator"])?l:null,"function"===typeof l)for(e=l.call(e),u=0;!(s=e.next()).done;)c+=t(s=s.value,l=r+R(s,u++),n,i);else if("object"===s)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return c}(t,"",e,r)}function R(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,(function(t){return e[t]}))}(t.key):e.toString(36)}function L(t,e){t.func.call(t.context,e,t.count++)}function I(t,e,r){var n=t.result,i=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?N(t,n,r,(function(t){return t})):null!=t&&(C(t)&&(t=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(j,"$&/")+"/")+r)),n.push(t))}function N(t,e,r,n,i){var o="";null!=r&&(o=(""+r).replace(j,"$&/")+"/"),D(t,I,e=T(e,o,n,i)),P(e)}var F={current:null};function B(){var t=F.current;if(null===t)throw Error(v(321));return t}var z={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:n};e.Children={map:function(t,e,r){if(null==t)return t;var n=[];return N(t,n,null,e,r),n},forEach:function(t,e,r){if(null==t)return t;D(t,L,e=T(null,null,e,r)),P(e)},count:function(t){return D(t,(function(){return null}),null)},toArray:function(t){var e=[];return N(t,e,null,(function(t){return t})),e},only:function(t){if(!C(t))throw Error(v(143));return t}},e.Component=w,e.Fragment=s,e.Profiler=u,e.PureComponent=O,e.StrictMode=c,e.Suspense=d,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,e.cloneElement=function(t,e,r){if(null===t||void 0===t)throw Error(v(267,t));var i=n({},t.props),a=t.key,s=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,c=S.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(l in e)k.call(e,l)&&!E.hasOwnProperty(l)&&(i[l]=void 0===e[l]&&void 0!==u?u[l]:e[l])}var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){u=Array(l);for(var f=0;f<l;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:o,type:t.type,key:a,ref:s,props:i,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:f,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},e.createElement=M,e.createFactory=function(t){var e=M.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:h,render:t}},e.isValidElement=C,e.lazy=function(t){return{$$typeof:m,_ctor:t,_status:-1,_result:null}},e.memo=function(t,e){return{$$typeof:p,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return B().useCallback(t,e)},e.useContext=function(t,e){return B().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return B().useEffect(t,e)},e.useImperativeHandle=function(t,e,r){return B().useImperativeHandle(t,e,r)},e.useLayoutEffect=function(t,e){return B().useLayoutEffect(t,e)},e.useMemo=function(t,e){return B().useMemo(t,e)},e.useReducer=function(t,e,r){return B().useReducer(t,e,r)},e.useRef=function(t){return B().useRef(t)},e.useState=function(t){return B().useState(t)},e.version="16.14.0"},function(t,e,r){"use strict";var n=r(0),i=r(355),o=r(930);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));function s(t,e,r,n,i,o,a,s,c){var u=Array.prototype.slice.call(arguments,3);try{e.apply(r,u)}catch(l){this.onError(l)}}var c=!1,u=null,l=!1,f=null,h={onError:function(t){c=!0,u=t}};function d(t,e,r,n,i,o,a,l,f){c=!1,u=null,s.apply(h,arguments)}var p=null,m=null,b=null;function v(t,e,r){var n=t.type||"unknown-event";t.currentTarget=b(r),function(t,e,r,n,i,o,s,h,p){if(d.apply(this,arguments),c){if(!c)throw Error(a(198));var m=u;c=!1,u=null,l||(l=!0,f=m)}}(n,e,void 0,t),t.currentTarget=null}var g=null,y={};function w(){if(g)for(var t in y){var e=y[t],r=g.indexOf(t);if(!(-1<r))throw Error(a(96,t));if(!O[r]){if(!e.extractEvents)throw Error(a(97,t));for(var n in O[r]=e,r=e.eventTypes){var i=void 0,o=r[n],s=e,c=n;if(_.hasOwnProperty(c))throw Error(a(99,c));_[c]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&x(u[i],s,c);i=!0}else o.registrationName?(x(o.registrationName,s,c),i=!0):i=!1;if(!i)throw Error(a(98,n,t))}}}}function x(t,e,r){if(S[t])throw Error(a(100,t));S[t]=e,k[t]=e.eventTypes[r].dependencies}var O=[],_={},S={},k={};function E(t){var e,r=!1;for(e in t)if(t.hasOwnProperty(e)){var n=t[e];if(!y.hasOwnProperty(e)||y[e]!==n){if(y[e])throw Error(a(102,e));y[e]=n,r=!0}}r&&w()}var M=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),C=null,j=null,A=null;function T(t){if(t=m(t)){if("function"!==typeof C)throw Error(a(280));var e=t.stateNode;e&&(e=p(e),C(t.stateNode,t.type,e))}}function P(t){j?A?A.push(t):A=[t]:j=t}function D(){if(j){var t=j,e=A;if(A=j=null,T(t),e)for(t=0;t<e.length;t++)T(e[t])}}function R(t,e){return t(e)}function L(t,e,r,n,i){return t(e,r,n,i)}function I(){}var N=R,F=!1,B=!1;function z(){null===j&&null===A||(I(),D())}function H(t,e,r){if(B)return t(e,r);B=!0;try{return N(t,e,r)}finally{B=!1,z()}}var U=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W=Object.prototype.hasOwnProperty,q={},V={};function G(t,e,r,n,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){Y[t]=new G(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];Y[e]=new G(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){Y[t]=new G(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){Y[t]=new G(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){Y[t]=new G(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){Y[t]=new G(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){Y[t]=new G(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){Y[t]=new G(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){Y[t]=new G(t,5,!1,t.toLowerCase(),null,!1)}));var X=/[\-:]([a-z])/g;function $(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(X,$);Y[e]=new G(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(X,$);Y[e]=new G(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(X,$);Y[e]=new G(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){Y[t]=new G(t,1,!1,t.toLowerCase(),null,!1)})),Y.xlinkHref=new G("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){Y[t]=new G(t,1,!1,t.toLowerCase(),null,!0)}));var K=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(t,e,r,n){var i=Y.hasOwnProperty(e)?Y[e]:null;(null!==i?0===i.type:!n&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,r,n){if(null===e||"undefined"===typeof e||function(t,e,r,n){if(null!==r&&0===r.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,r,i,n)&&(r=null),n||null===i?function(t){return!!W.call(V,t)||!W.call(q,t)&&(U.test(t)?V[t]=!0:(q[t]=!0,!1))}(e)&&(null===r?t.removeAttribute(e):t.setAttribute(e,""+r)):i.mustUseProperty?t[i.propertyName]=null===r?3!==i.type&&"":r:(e=i.attributeName,n=i.attributeNamespace,null===r?t.removeAttribute(e):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?t.setAttributeNS(n,e,r):t.setAttribute(e,r))))}K.hasOwnProperty("ReactCurrentDispatcher")||(K.ReactCurrentDispatcher={current:null}),K.hasOwnProperty("ReactCurrentBatchConfig")||(K.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Q="function"===typeof Symbol&&Symbol.for,tt=Q?Symbol.for("react.element"):60103,et=Q?Symbol.for("react.portal"):60106,rt=Q?Symbol.for("react.fragment"):60107,nt=Q?Symbol.for("react.strict_mode"):60108,it=Q?Symbol.for("react.profiler"):60114,ot=Q?Symbol.for("react.provider"):60109,at=Q?Symbol.for("react.context"):60110,st=Q?Symbol.for("react.concurrent_mode"):60111,ct=Q?Symbol.for("react.forward_ref"):60112,ut=Q?Symbol.for("react.suspense"):60113,lt=Q?Symbol.for("react.suspense_list"):60120,ft=Q?Symbol.for("react.memo"):60115,ht=Q?Symbol.for("react.lazy"):60116,dt=Q?Symbol.for("react.block"):60121,pt="function"===typeof Symbol&&Symbol.iterator;function mt(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=pt&&t[pt]||t["@@iterator"])?t:null}function bt(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case rt:return"Fragment";case et:return"Portal";case it:return"Profiler";case nt:return"StrictMode";case ut:return"Suspense";case lt:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case at:return"Context.Consumer";case ot:return"Context.Provider";case ct:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case ft:return bt(t.type);case dt:return bt(t.render);case ht:if(t=1===t._status?t._result:null)return bt(t)}return null}function vt(t){var e="";do{t:switch(t.tag){case 3:case 4:case 6:case 7:case 10:case 9:var r="";break t;default:var n=t._debugOwner,i=t._debugSource,o=bt(t.type);r=null,n&&(r=bt(n.type)),n=o,o="",i?o=" (at "+i.fileName.replace(J,"")+":"+i.lineNumber+")":r&&(o=" (created by "+r+")"),r="\n    in "+(n||"Unknown")+o}e+=r,t=t.return}while(t);return e}function gt(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function yt(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function wt(t){t._valueTracker||(t._valueTracker=function(t){var e=yt(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){n=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(t){n=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function xt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=yt(t)?t.checked?"true":"false":t.value),(t=n)!==r&&(e.setValue(t),!0)}function Ot(t,e){var r=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:t._wrapperState.initialChecked})}function _t(t,e){var r=null==e.defaultValue?"":e.defaultValue,n=null!=e.checked?e.checked:e.defaultChecked;r=gt(null!=e.value?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function St(t,e){null!=(e=e.checked)&&Z(t,"checked",e,!1)}function kt(t,e){St(t,e);var r=gt(e.value),n=e.type;if(null!=r)"number"===n?(0===r&&""===t.value||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if("submit"===n||"reset"===n)return void t.removeAttribute("value");e.hasOwnProperty("value")?Mt(t,e.type,r):e.hasOwnProperty("defaultValue")&&Mt(t,e.type,gt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Et(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!("submit"!==n&&"reset"!==n||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}""!==(r=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==r&&(t.name=r)}function Mt(t,e,r){"number"===e&&t.ownerDocument.activeElement===t||(null==r?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}function Ct(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return n.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(e.children))&&(t.children=e),t}function jt(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&n&&(t[r].defaultSelected=!0)}else{for(r=""+gt(r),e=null,i=0;i<t.length;i++){if(t[i].value===r)return t[i].selected=!0,void(n&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function At(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Tt(t,e){var r=e.value;if(null==r){if(r=e.children,e=e.defaultValue,null!=r){if(null!=e)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}e=r}null==e&&(e=""),r=e}t._wrapperState={initialValue:gt(r)}}function Pt(t,e){var r=gt(e.value),n=gt(e.defaultValue);null!=r&&((r=""+r)!==t.value&&(t.value=r),null==e.defaultValue&&t.defaultValue!==r&&(t.defaultValue=r)),null!=n&&(t.defaultValue=""+n)}function Dt(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var Rt="http://www.w3.org/1999/xhtml",Lt="http://www.w3.org/2000/svg";function It(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Nt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?It(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var Ft,Bt=function(t){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,r,n,i){MSApp.execUnsafeLocalFunction((function(){return t(e,r)}))}:t}((function(t,e){if(t.namespaceURI!==Lt||"innerHTML"in t)t.innerHTML=e;else{for((Ft=Ft||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Ft.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}}));function zt(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&3===r.nodeType)return void(r.nodeValue=e)}t.textContent=e}function Ht(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var Ut={animationend:Ht("Animation","AnimationEnd"),animationiteration:Ht("Animation","AnimationIteration"),animationstart:Ht("Animation","AnimationStart"),transitionend:Ht("Transition","TransitionEnd")},Wt={},qt={};function Vt(t){if(Wt[t])return Wt[t];if(!Ut[t])return t;var e,r=Ut[t];for(e in r)if(r.hasOwnProperty(e)&&e in qt)return Wt[t]=r[e];return t}M&&(qt=document.createElement("div").style,"AnimationEvent"in window||(delete Ut.animationend.animation,delete Ut.animationiteration.animation,delete Ut.animationstart.animation),"TransitionEvent"in window||delete Ut.transitionend.transition);var Gt=Vt("animationend"),Yt=Vt("animationiteration"),Xt=Vt("animationstart"),$t=Vt("transitionend"),Kt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Zt=new("function"===typeof WeakMap?WeakMap:Map);function Jt(t){var e=Zt.get(t);return void 0===e&&(e=new Map,Zt.set(t,e)),e}function Qt(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).effectTag)&&(r=e.return),t=e.return}while(t)}return 3===e.tag?r:null}function te(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function ee(t){if(Qt(t)!==t)throw Error(a(188))}function re(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=Qt(t)))throw Error(a(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(n=i.return)){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return ee(i),t;if(o===n)return ee(i),e;o=o.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=o;else{for(var s=!1,c=i.child;c;){if(c===r){s=!0,r=i,n=o;break}if(c===n){s=!0,n=i,r=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===r){s=!0,r=o,n=i;break}if(c===n){s=!0,n=o,r=i;break}c=c.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}function ne(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function ie(t,e,r){Array.isArray(t)?t.forEach(e,r):t&&e.call(r,t)}var oe=null;function ae(t){if(t){var e=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(e))for(var n=0;n<e.length&&!t.isPropagationStopped();n++)v(t,e[n],r[n]);else e&&v(t,e,r);t._dispatchListeners=null,t._dispatchInstances=null,t.isPersistent()||t.constructor.release(t)}}function se(t){if(null!==t&&(oe=ne(oe,t)),t=oe,oe=null,t){if(ie(t,ae),oe)throw Error(a(95));if(l)throw t=f,l=!1,f=null,t}}function ce(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}function ue(t){if(!M)return!1;var e=(t="on"+t)in document;return e||((e=document.createElement("div")).setAttribute(t,"return;"),e="function"===typeof e[t]),e}var le=[];function fe(t){t.topLevelType=null,t.nativeEvent=null,t.targetInst=null,t.ancestors.length=0,10>le.length&&le.push(t)}function he(t,e,r,n){if(le.length){var i=le.pop();return i.topLevelType=t,i.eventSystemFlags=n,i.nativeEvent=e,i.targetInst=r,i}return{topLevelType:t,eventSystemFlags:n,nativeEvent:e,targetInst:r,ancestors:[]}}function de(t){var e=t.targetInst,r=e;do{if(!r){t.ancestors.push(r);break}var n=r;if(3===n.tag)n=n.stateNode.containerInfo;else{for(;n.return;)n=n.return;n=3!==n.tag?null:n.stateNode.containerInfo}if(!n)break;5!==(e=r.tag)&&6!==e||t.ancestors.push(r),r=Er(n)}while(r);for(r=0;r<t.ancestors.length;r++){e=t.ancestors[r];var i=ce(t.nativeEvent);n=t.topLevelType;var o=t.nativeEvent,a=t.eventSystemFlags;0===r&&(a|=64);for(var s=null,c=0;c<O.length;c++){var u=O[c];u&&(u=u.extractEvents(n,e,o,i,a))&&(s=ne(s,u))}se(s)}}function pe(t,e,r){if(!r.has(t)){switch(t){case"scroll":Xe(e,"scroll",!0);break;case"focus":case"blur":Xe(e,"focus",!0),Xe(e,"blur",!0),r.set("blur",null),r.set("focus",null);break;case"cancel":case"close":ue(t)&&Xe(e,t,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Kt.indexOf(t)&&Ye(t,e)}r.set(t,null)}}var me,be,ve,ge=!1,ye=[],we=null,xe=null,Oe=null,_e=new Map,Se=new Map,ke=[],Ee="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Me="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ce(t,e,r,n,i){return{blockedOn:t,topLevelType:e,eventSystemFlags:32|r,nativeEvent:i,container:n}}function je(t,e){switch(t){case"focus":case"blur":we=null;break;case"dragenter":case"dragleave":xe=null;break;case"mouseover":case"mouseout":Oe=null;break;case"pointerover":case"pointerout":_e.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Se.delete(e.pointerId)}}function Ae(t,e,r,n,i,o){return null===t||t.nativeEvent!==o?(t=Ce(e,r,n,i,o),null!==e&&(null!==(e=Mr(e))&&be(e)),t):(t.eventSystemFlags|=n,t)}function Te(t){var e=Er(t.target);if(null!==e){var r=Qt(e);if(null!==r)if(13===(e=r.tag)){if(null!==(e=te(r)))return t.blockedOn=e,void o.unstable_runWithPriority(t.priority,(function(){ve(r)}))}else if(3===e&&r.stateNode.hydrate)return void(t.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}t.blockedOn=null}function Pe(t){if(null!==t.blockedOn)return!1;var e=Je(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);if(null!==e){var r=Mr(e);return null!==r&&be(r),t.blockedOn=e,!1}return!0}function De(t,e,r){Pe(t)&&r.delete(e)}function Re(){for(ge=!1;0<ye.length;){var t=ye[0];if(null!==t.blockedOn){null!==(t=Mr(t.blockedOn))&&me(t);break}var e=Je(t.topLevelType,t.eventSystemFlags,t.container,t.nativeEvent);null!==e?t.blockedOn=e:ye.shift()}null!==we&&Pe(we)&&(we=null),null!==xe&&Pe(xe)&&(xe=null),null!==Oe&&Pe(Oe)&&(Oe=null),_e.forEach(De),Se.forEach(De)}function Le(t,e){t.blockedOn===e&&(t.blockedOn=null,ge||(ge=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Re)))}function Ie(t){function e(e){return Le(e,t)}if(0<ye.length){Le(ye[0],t);for(var r=1;r<ye.length;r++){var n=ye[r];n.blockedOn===t&&(n.blockedOn=null)}}for(null!==we&&Le(we,t),null!==xe&&Le(xe,t),null!==Oe&&Le(Oe,t),_e.forEach(e),Se.forEach(e),r=0;r<ke.length;r++)(n=ke[r]).blockedOn===t&&(n.blockedOn=null);for(;0<ke.length&&null===(r=ke[0]).blockedOn;)Te(r),null===r.blockedOn&&ke.shift()}var Ne={},Fe=new Map,Be=new Map,ze=["abort","abort",Gt,"animationEnd",Yt,"animationIteration",Xt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$t,"transitionEnd","waiting","waiting"];function He(t,e){for(var r=0;r<t.length;r+=2){var n=t[r],i=t[r+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],eventPriority:e},Be.set(n,e),Fe.set(n,o),Ne[i]=o}}He("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),He("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),He(ze,2);for(var Ue="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),We=0;We<Ue.length;We++)Be.set(Ue[We],0);var qe=o.unstable_UserBlockingPriority,Ve=o.unstable_runWithPriority,Ge=!0;function Ye(t,e){Xe(e,t,!1)}function Xe(t,e,r){var n=Be.get(e);switch(void 0===n?2:n){case 0:n=$e.bind(null,e,1,t);break;case 1:n=Ke.bind(null,e,1,t);break;default:n=Ze.bind(null,e,1,t)}r?t.addEventListener(e,n,!0):t.addEventListener(e,n,!1)}function $e(t,e,r,n){F||I();var i=Ze,o=F;F=!0;try{L(i,t,e,r,n)}finally{(F=o)||z()}}function Ke(t,e,r,n){Ve(qe,Ze.bind(null,t,e,r,n))}function Ze(t,e,r,n){if(Ge)if(0<ye.length&&-1<Ee.indexOf(t))t=Ce(null,t,e,r,n),ye.push(t);else{var i=Je(t,e,r,n);if(null===i)je(t,n);else if(-1<Ee.indexOf(t))t=Ce(i,t,e,r,n),ye.push(t);else if(!function(t,e,r,n,i){switch(e){case"focus":return we=Ae(we,t,e,r,n,i),!0;case"dragenter":return xe=Ae(xe,t,e,r,n,i),!0;case"mouseover":return Oe=Ae(Oe,t,e,r,n,i),!0;case"pointerover":var o=i.pointerId;return _e.set(o,Ae(_e.get(o)||null,t,e,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Se.set(o,Ae(Se.get(o)||null,t,e,r,n,i)),!0}return!1}(i,t,e,r,n)){je(t,n),t=he(t,n,null,e);try{H(de,t)}finally{fe(t)}}}}function Je(t,e,r,n){if(null!==(r=Er(r=ce(n)))){var i=Qt(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(null!==(r=te(i)))return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}t=he(t,n,r,e);try{H(de,t)}finally{fe(t)}return null}var Qe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tr=["Webkit","ms","Moz","O"];function er(t,e,r){return null==e||"boolean"===typeof e||""===e?"":r||"number"!==typeof e||0===e||Qe.hasOwnProperty(t)&&Qe[t]?(""+e).trim():e+"px"}function rr(t,e){for(var r in t=t.style,e)if(e.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=er(r,e[r],n);"float"===r&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}Object.keys(Qe).forEach((function(t){tr.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Qe[e]=Qe[t]}))}));var nr=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ir(t,e){if(e){if(nr[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t,""));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(a(62,""))}}function or(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ar=Rt;function sr(t,e){var r=Jt(t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument);e=k[e];for(var n=0;n<e.length;n++)pe(e[n],t,r)}function cr(){}function ur(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function lr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function fr(t,e){var r,n=lr(t);for(t=0;n;){if(3===n.nodeType){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=lr(n)}}function hr(){for(var t=window,e=ur();e instanceof t.HTMLIFrameElement;){try{var r="string"===typeof e.contentWindow.location.href}catch(n){r=!1}if(!r)break;e=ur((t=e.contentWindow).document)}return e}function dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var pr=null,mr=null;function br(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function vr(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var gr="function"===typeof setTimeout?setTimeout:void 0,yr="function"===typeof clearTimeout?clearTimeout:void 0;function wr(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function xr(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var r=t.data;if("$"===r||"$!"===r||"$?"===r){if(0===e)return t;e--}else"/$"===r&&e++}t=t.previousSibling}return null}var Or=Math.random().toString(36).slice(2),_r="__reactInternalInstance$"+Or,Sr="__reactEventHandlers$"+Or,kr="__reactContainere$"+Or;function Er(t){var e=t[_r];if(e)return e;for(var r=t.parentNode;r;){if(e=r[kr]||r[_r]){if(r=e.alternate,null!==e.child||null!==r&&null!==r.child)for(t=xr(t);null!==t;){if(r=t[_r])return r;t=xr(t)}return e}r=(t=r).parentNode}return null}function Mr(t){return!(t=t[_r]||t[kr])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function Cr(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function jr(t){return t[Sr]||null}function Ar(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Tr(t,e){var r=t.stateNode;if(!r)return null;var n=p(r);if(!n)return null;r=n[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!n;break t;default:t=!1}if(t)return null;if(r&&"function"!==typeof r)throw Error(a(231,e,typeof r));return r}function Pr(t,e,r){(e=Tr(t,r.dispatchConfig.phasedRegistrationNames[e]))&&(r._dispatchListeners=ne(r._dispatchListeners,e),r._dispatchInstances=ne(r._dispatchInstances,t))}function Dr(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,r=[];e;)r.push(e),e=Ar(e);for(e=r.length;0<e--;)Pr(r[e],"captured",t);for(e=0;e<r.length;e++)Pr(r[e],"bubbled",t)}}function Rr(t,e,r){t&&r&&r.dispatchConfig.registrationName&&(e=Tr(t,r.dispatchConfig.registrationName))&&(r._dispatchListeners=ne(r._dispatchListeners,e),r._dispatchInstances=ne(r._dispatchInstances,t))}function Lr(t){t&&t.dispatchConfig.registrationName&&Rr(t._targetInst,null,t)}function Ir(t){ie(t,Dr)}var Nr=null,Fr=null,Br=null;function zr(){if(Br)return Br;var t,e,r=Fr,n=r.length,i="value"in Nr?Nr.value:Nr.textContent,o=i.length;for(t=0;t<n&&r[t]===i[t];t++);var a=n-t;for(e=1;e<=a&&r[n-e]===i[o-e];e++);return Br=i.slice(t,1<e?1-e:void 0)}function Hr(){return!0}function Ur(){return!1}function Wr(t,e,r,n){for(var i in this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=r,t=this.constructor.Interface)t.hasOwnProperty(i)&&((e=t[i])?this[i]=e(r):"target"===i?this.target=n:this[i]=r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?Hr:Ur,this.isPropagationStopped=Ur,this}function qr(t,e,r,n){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,t,e,r,n),i}return new this(t,e,r,n)}function Vr(t){if(!(t instanceof this))throw Error(a(279));t.destructor(),10>this.eventPool.length&&this.eventPool.push(t)}function Gr(t){t.eventPool=[],t.getPooled=qr,t.release=Vr}i(Wr.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=Hr)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=Hr)},persist:function(){this.isPersistent=Hr},isPersistent:Ur,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Ur,this._dispatchInstances=this._dispatchListeners=null}}),Wr.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Wr.extend=function(t){function e(){}function r(){return n.apply(this,arguments)}var n=this;e.prototype=n.prototype;var o=new e;return i(o,r.prototype),r.prototype=o,r.prototype.constructor=r,r.Interface=i({},n.Interface,t),r.extend=n.extend,Gr(r),r},Gr(Wr);var Yr=Wr.extend({data:null}),Xr=Wr.extend({data:null}),$r=[9,13,27,32],Kr=M&&"CompositionEvent"in window,Zr=null;M&&"documentMode"in document&&(Zr=document.documentMode);var Jr=M&&"TextEvent"in window&&!Zr,Qr=M&&(!Kr||Zr&&8<Zr&&11>=Zr),tn=String.fromCharCode(32),en={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rn=!1;function nn(t,e){switch(t){case"keyup":return-1!==$r.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function on(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var an=!1;var sn={eventTypes:en,extractEvents:function(t,e,r,n){var i;if(Kr)t:{switch(t){case"compositionstart":var o=en.compositionStart;break t;case"compositionend":o=en.compositionEnd;break t;case"compositionupdate":o=en.compositionUpdate;break t}o=void 0}else an?nn(t,r)&&(o=en.compositionEnd):"keydown"===t&&229===r.keyCode&&(o=en.compositionStart);return o?(Qr&&"ko"!==r.locale&&(an||o!==en.compositionStart?o===en.compositionEnd&&an&&(i=zr()):(Fr="value"in(Nr=n)?Nr.value:Nr.textContent,an=!0)),o=Yr.getPooled(o,e,r,n),i?o.data=i:null!==(i=on(r))&&(o.data=i),Ir(o),i=o):i=null,(t=Jr?function(t,e){switch(t){case"compositionend":return on(e);case"keypress":return 32!==e.which?null:(rn=!0,tn);case"textInput":return(t=e.data)===tn&&rn?null:t;default:return null}}(t,r):function(t,e){if(an)return"compositionend"===t||!Kr&&nn(t,e)?(t=zr(),Br=Fr=Nr=null,an=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Qr&&"ko"!==e.locale?null:e.data;default:return null}}(t,r))?((e=Xr.getPooled(en.beforeInput,e,r,n)).data=t,Ir(e)):e=null,null===i?e:null===e?i:[i,e]}},cn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function un(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!cn[t.type]:"textarea"===e}var ln={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fn(t,e,r){return(t=Wr.getPooled(ln.change,t,e,r)).type="change",P(r),Ir(t),t}var hn=null,dn=null;function pn(t){se(t)}function mn(t){if(xt(Cr(t)))return t}function bn(t,e){if("change"===t)return e}var vn=!1;function gn(){hn&&(hn.detachEvent("onpropertychange",yn),dn=hn=null)}function yn(t){if("value"===t.propertyName&&mn(dn))if(t=fn(dn,t,ce(t)),F)se(t);else{F=!0;try{R(pn,t)}finally{F=!1,z()}}}function wn(t,e,r){"focus"===t?(gn(),dn=r,(hn=e).attachEvent("onpropertychange",yn)):"blur"===t&&gn()}function xn(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return mn(dn)}function On(t,e){if("click"===t)return mn(e)}function _n(t,e){if("input"===t||"change"===t)return mn(e)}M&&(vn=ue("input")&&(!document.documentMode||9<document.documentMode));var Sn={eventTypes:ln,_isInputEventSupported:vn,extractEvents:function(t,e,r,n){var i=e?Cr(e):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=bn;else if(un(i))if(vn)a=_n;else{a=xn;var s=wn}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=On);if(a&&(a=a(t,e)))return fn(a,r,n);s&&s(t,i,e),"blur"===t&&(t=i._wrapperState)&&t.controlled&&"number"===i.type&&Mt(i,"number",i.value)}},kn=Wr.extend({view:null,detail:null}),En={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mn(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=En[t])&&!!e[t]}function Cn(){return Mn}var jn=0,An=0,Tn=!1,Pn=!1,Dn=kn.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Cn,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},movementX:function(t){if("movementX"in t)return t.movementX;var e=jn;return jn=t.screenX,Tn?"mousemove"===t.type?t.screenX-e:0:(Tn=!0,0)},movementY:function(t){if("movementY"in t)return t.movementY;var e=An;return An=t.screenY,Pn?"mousemove"===t.type?t.screenY-e:0:(Pn=!0,0)}}),Rn=Dn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ln={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},In={eventTypes:Ln,extractEvents:function(t,e,r,n,i){var o="mouseover"===t||"pointerover"===t,a="mouseout"===t||"pointerout"===t;if(o&&0===(32&i)&&(r.relatedTarget||r.fromElement)||!a&&!o)return null;(o=n.window===n?n:(o=n.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=e,null!==(e=(e=r.relatedTarget||r.toElement)?Er(e):null)&&(e!==Qt(e)||5!==e.tag&&6!==e.tag)&&(e=null)):a=null;if(a===e)return null;if("mouseout"===t||"mouseover"===t)var s=Dn,c=Ln.mouseLeave,u=Ln.mouseEnter,l="mouse";else"pointerout"!==t&&"pointerover"!==t||(s=Rn,c=Ln.pointerLeave,u=Ln.pointerEnter,l="pointer");if(t=null==a?o:Cr(a),o=null==e?o:Cr(e),(c=s.getPooled(c,a,r,n)).type=l+"leave",c.target=t,c.relatedTarget=o,(r=s.getPooled(u,e,r,n)).type=l+"enter",r.target=o,r.relatedTarget=t,l=e,(n=a)&&l)t:{for(u=l,a=0,t=s=n;t;t=Ar(t))a++;for(t=0,e=u;e;e=Ar(e))t++;for(;0<a-t;)s=Ar(s),a--;for(;0<t-a;)u=Ar(u),t--;for(;a--;){if(s===u||s===u.alternate)break t;s=Ar(s),u=Ar(u)}s=null}else s=null;for(u=s,s=[];n&&n!==u&&(null===(a=n.alternate)||a!==u);)s.push(n),n=Ar(n);for(n=[];l&&l!==u&&(null===(a=l.alternate)||a!==u);)n.push(l),l=Ar(l);for(l=0;l<s.length;l++)Rr(s[l],"bubbled",c);for(l=n.length;0<l--;)Rr(n[l],"captured",r);return 0===(64&i)?[c]:[c,r]}};var Nn="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},Fn=Object.prototype.hasOwnProperty;function Bn(t,e){if(Nn(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!Fn.call(e,r[n])||!Nn(t[r[n]],e[r[n]]))return!1;return!0}var zn=M&&"documentMode"in document&&11>=document.documentMode,Hn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Un=null,Wn=null,qn=null,Vn=!1;function Gn(t,e){var r=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return Vn||null==Un||Un!==ur(r)?null:("selectionStart"in(r=Un)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},qn&&Bn(qn,r)?null:(qn=r,(t=Wr.getPooled(Hn.select,Wn,t,e)).type="select",t.target=Un,Ir(t),t))}var Yn={eventTypes:Hn,extractEvents:function(t,e,r,n,i,o){if(!(o=!(i=o||(n.window===n?n.document:9===n.nodeType?n:n.ownerDocument)))){t:{i=Jt(i),o=k.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break t}i=!0}o=!i}if(o)return null;switch(i=e?Cr(e):window,t){case"focus":(un(i)||"true"===i.contentEditable)&&(Un=i,Wn=e,qn=null);break;case"blur":qn=Wn=Un=null;break;case"mousedown":Vn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Vn=!1,Gn(r,n);case"selectionchange":if(zn)break;case"keydown":case"keyup":return Gn(r,n)}return null}},Xn=Wr.extend({animationName:null,elapsedTime:null,pseudoElement:null}),$n=Wr.extend({clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Kn=kn.extend({relatedTarget:null});function Zn(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}var Jn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ti=kn.extend({key:function(t){if(t.key){var e=Jn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=Zn(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?Qn[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Cn,charCode:function(t){return"keypress"===t.type?Zn(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?Zn(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),ei=Dn.extend({dataTransfer:null}),ri=kn.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Cn}),ni=Wr.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=Dn.extend({deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null}),oi={eventTypes:Ne,extractEvents:function(t,e,r,n){var i=Fe.get(t);if(!i)return null;switch(t){case"keypress":if(0===Zn(r))return null;case"keydown":case"keyup":t=ti;break;case"blur":case"focus":t=Kn;break;case"click":if(2===r.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":t=Dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":t=ei;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":t=ri;break;case Gt:case Yt:case Xt:t=Xn;break;case $t:t=ni;break;case"scroll":t=kn;break;case"wheel":t=ii;break;case"copy":case"cut":case"paste":t=$n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":t=Rn;break;default:t=Wr}return Ir(e=t.getPooled(i,e,r,n)),e}};if(g)throw Error(a(101));g=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),p=jr,m=Mr,b=Cr,E({SimpleEventPlugin:oi,EnterLeaveEventPlugin:In,ChangeEventPlugin:Sn,SelectEventPlugin:Yn,BeforeInputEventPlugin:sn});var ai=[],si=-1;function ci(t){0>si||(t.current=ai[si],ai[si]=null,si--)}function ui(t,e){si++,ai[si]=t.current,t.current=e}var li={},fi={current:li},hi={current:!1},di=li;function pi(t,e){var r=t.type.contextTypes;if(!r)return li;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in r)o[i]=e[i];return n&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function mi(t){return null!==(t=t.childContextTypes)&&void 0!==t}function bi(){ci(hi),ci(fi)}function vi(t,e,r){if(fi.current!==li)throw Error(a(168));ui(fi,e),ui(hi,r)}function gi(t,e,r){var n=t.stateNode;if(t=e.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(a(108,bt(e)||"Unknown",o));return i({},r,{},n)}function yi(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||li,di=fi.current,ui(fi,t),ui(hi,hi.current),!0}function wi(t,e,r){var n=t.stateNode;if(!n)throw Error(a(169));r?(t=gi(t,e,di),n.__reactInternalMemoizedMergedChildContext=t,ci(hi),ci(fi),ui(fi,t)):ci(hi),ui(hi,r)}var xi=o.unstable_runWithPriority,Oi=o.unstable_scheduleCallback,_i=o.unstable_cancelCallback,Si=o.unstable_requestPaint,ki=o.unstable_now,Ei=o.unstable_getCurrentPriorityLevel,Mi=o.unstable_ImmediatePriority,Ci=o.unstable_UserBlockingPriority,ji=o.unstable_NormalPriority,Ai=o.unstable_LowPriority,Ti=o.unstable_IdlePriority,Pi={},Di=o.unstable_shouldYield,Ri=void 0!==Si?Si:function(){},Li=null,Ii=null,Ni=!1,Fi=ki(),Bi=1e4>Fi?ki:function(){return ki()-Fi};function zi(){switch(Ei()){case Mi:return 99;case Ci:return 98;case ji:return 97;case Ai:return 96;case Ti:return 95;default:throw Error(a(332))}}function Hi(t){switch(t){case 99:return Mi;case 98:return Ci;case 97:return ji;case 96:return Ai;case 95:return Ti;default:throw Error(a(332))}}function Ui(t,e){return t=Hi(t),xi(t,e)}function Wi(t,e,r){return t=Hi(t),Oi(t,e,r)}function qi(t){return null===Li?(Li=[t],Ii=Oi(Mi,Gi)):Li.push(t),Pi}function Vi(){if(null!==Ii){var t=Ii;Ii=null,_i(t)}Gi()}function Gi(){if(!Ni&&null!==Li){Ni=!0;var t=0;try{var e=Li;Ui(99,(function(){for(;t<e.length;t++){var r=e[t];do{r=r(!0)}while(null!==r)}})),Li=null}catch(r){throw null!==Li&&(Li=Li.slice(t+1)),Oi(Mi,Vi),r}finally{Ni=!1}}}function Yi(t,e,r){return 1073741821-(1+((1073741821-t+e/10)/(r/=10)|0))*r}function Xi(t,e){if(t&&t.defaultProps)for(var r in e=i({},e),t=t.defaultProps)void 0===e[r]&&(e[r]=t[r]);return e}var $i={current:null},Ki=null,Zi=null,Ji=null;function Qi(){Ji=Zi=Ki=null}function to(t){var e=$i.current;ci($i),t.type._context._currentValue=e}function eo(t,e){for(;null!==t;){var r=t.alternate;if(t.childExpirationTime<e)t.childExpirationTime=e,null!==r&&r.childExpirationTime<e&&(r.childExpirationTime=e);else{if(!(null!==r&&r.childExpirationTime<e))break;r.childExpirationTime=e}t=t.return}}function ro(t,e){Ki=t,Ji=Zi=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(t.expirationTime>=e&&(Aa=!0),t.firstContext=null)}function no(t,e){if(Ji!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(Ji=t,e=1073741823),e={context:t,observedBits:e,next:null},null===Zi){if(null===Ki)throw Error(a(308));Zi=e,Ki.dependencies={expirationTime:0,firstContext:e,responders:null}}else Zi=Zi.next=e;return t._currentValue}var io=!1;function oo(t){t.updateQueue={baseState:t.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ao(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,baseQueue:t.baseQueue,shared:t.shared,effects:t.effects})}function so(t,e){return(t={expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null}).next=t}function co(t,e){if(null!==(t=t.updateQueue)){var r=(t=t.shared).pending;null===r?e.next=e:(e.next=r.next,r.next=e),t.pending=e}}function uo(t,e){var r=t.alternate;null!==r&&ao(r,t),null===(r=(t=t.updateQueue).baseQueue)?(t.baseQueue=e.next=e,e.next=e):(e.next=r.next,r.next=e)}function lo(t,e,r,n){var o=t.updateQueue;io=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var c=a.next;a.next=s.next,s.next=c}a=s,o.shared.pending=null,null!==(c=t.alternate)&&(null!==(c=c.updateQueue)&&(c.baseQueue=s))}if(null!==a){c=a.next;var u=o.baseState,l=0,f=null,h=null,d=null;if(null!==c)for(var p=c;;){if((s=p.expirationTime)<n){var m={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===d?(h=d=m,f=u):d=d.next=m,s>l&&(l=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),oc(s,p.suspenseConfig);t:{var b=t,v=p;switch(s=e,m=r,v.tag){case 1:if("function"===typeof(b=v.payload)){u=b.call(m,u,s);break t}u=b;break t;case 3:b.effectTag=-4097&b.effectTag|64;case 0:if(null===(s="function"===typeof(b=v.payload)?b.call(m,u,s):b)||void 0===s)break t;u=i({},u,s);break t;case 2:io=!0}}null!==p.callback&&(t.effectTag|=32,null===(s=o.effects)?o.effects=[p]:s.push(p))}if(null===(p=p.next)||p===c){if(null===(s=o.shared.pending))break;p=a.next=s.next,s.next=c,o.baseQueue=a=s,o.shared.pending=null}}null===d?f=u:d.next=h,o.baseState=f,o.baseQueue=d,ac(l),t.expirationTime=l,t.memoizedState=u}}function fo(t,e,r){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var n=t[e],i=n.callback;if(null!==i){if(n.callback=null,n=i,i=r,"function"!==typeof n)throw Error(a(191,n));n.call(i)}}}var ho=K.ReactCurrentBatchConfig,po=(new n.Component).refs;function mo(t,e,r,n){r=null===(r=r(n,e=t.memoizedState))||void 0===r?e:i({},e,r),t.memoizedState=r,0===t.expirationTime&&(t.updateQueue.baseState=r)}var bo={isMounted:function(t){return!!(t=t._reactInternalFiber)&&Qt(t)===t},enqueueSetState:function(t,e,r){t=t._reactInternalFiber;var n=Gs(),i=ho.suspense;(i=so(n=Ys(n,t,i),i)).payload=e,void 0!==r&&null!==r&&(i.callback=r),co(t,i),Xs(t,n)},enqueueReplaceState:function(t,e,r){t=t._reactInternalFiber;var n=Gs(),i=ho.suspense;(i=so(n=Ys(n,t,i),i)).tag=1,i.payload=e,void 0!==r&&null!==r&&(i.callback=r),co(t,i),Xs(t,n)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var r=Gs(),n=ho.suspense;(n=so(r=Ys(r,t,n),n)).tag=2,void 0!==e&&null!==e&&(n.callback=e),co(t,n),Xs(t,r)}};function vo(t,e,r,n,i,o,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(n,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!Bn(r,n)||!Bn(i,o))}function go(t,e,r){var n=!1,i=li,o=e.contextType;return"object"===typeof o&&null!==o?o=no(o):(i=mi(e)?di:fi.current,o=(n=null!==(n=e.contextTypes)&&void 0!==n)?pi(t,i):li),e=new e(r,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=bo,t.stateNode=e,e._reactInternalFiber=t,n&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function yo(t,e,r,n){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(r,n),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&bo.enqueueReplaceState(e,e.state,null)}function wo(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs=po,oo(t);var o=e.contextType;"object"===typeof o&&null!==o?i.context=no(o):(o=mi(e)?di:fi.current,i.context=pi(t,o)),lo(t,r,i,n),i.state=t.memoizedState,"function"===typeof(o=e.getDerivedStateFromProps)&&(mo(t,e,o,r),i.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(e=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&bo.enqueueReplaceState(i,i.state,null),lo(t,r,i,n),i.state=t.memoizedState),"function"===typeof i.componentDidMount&&(t.effectTag|=4)}var xo=Array.isArray;function Oo(t,e,r){if(null!==(t=r.ref)&&"function"!==typeof t&&"object"!==typeof t){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=n.refs;e===po&&(e=n.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!==typeof t)throw Error(a(284));if(!r._owner)throw Error(a(290,t))}return t}function _o(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,""))}function So(t){function e(e,r){if(t){var n=e.lastEffect;null!==n?(n.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r,r.nextEffect=null,r.effectTag=8}}function r(r,n){if(!t)return null;for(;null!==n;)e(r,n),n=n.sibling;return null}function n(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Ec(t,e)).index=0,t.sibling=null,t}function o(e,r,n){return e.index=n,t?null!==(n=e.alternate)?(n=n.index)<r?(e.effectTag=2,r):n:(e.effectTag=2,r):r}function s(e){return t&&null===e.alternate&&(e.effectTag=2),e}function c(t,e,r,n){return null===e||6!==e.tag?((e=jc(r,t.mode,n)).return=t,e):((e=i(e,r)).return=t,e)}function u(t,e,r,n){return null!==e&&e.elementType===r.type?((n=i(e,r.props)).ref=Oo(t,e,r),n.return=t,n):((n=Mc(r.type,r.key,r.props,null,t.mode,n)).ref=Oo(t,e,r),n.return=t,n)}function l(t,e,r,n){return null===e||4!==e.tag||e.stateNode.containerInfo!==r.containerInfo||e.stateNode.implementation!==r.implementation?((e=Ac(r,t.mode,n)).return=t,e):((e=i(e,r.children||[])).return=t,e)}function f(t,e,r,n,o){return null===e||7!==e.tag?((e=Cc(r,t.mode,n,o)).return=t,e):((e=i(e,r)).return=t,e)}function h(t,e,r){if("string"===typeof e||"number"===typeof e)return(e=jc(""+e,t.mode,r)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case tt:return(r=Mc(e.type,e.key,e.props,null,t.mode,r)).ref=Oo(t,null,e),r.return=t,r;case et:return(e=Ac(e,t.mode,r)).return=t,e}if(xo(e)||mt(e))return(e=Cc(e,t.mode,r,null)).return=t,e;_o(t,e)}return null}function d(t,e,r,n){var i=null!==e?e.key:null;if("string"===typeof r||"number"===typeof r)return null!==i?null:c(t,e,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case tt:return r.key===i?r.type===rt?f(t,e,r.props.children,n,i):u(t,e,r,n):null;case et:return r.key===i?l(t,e,r,n):null}if(xo(r)||mt(r))return null!==i?null:f(t,e,r,n,null);_o(t,r)}return null}function p(t,e,r,n,i){if("string"===typeof n||"number"===typeof n)return c(e,t=t.get(r)||null,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case tt:return t=t.get(null===n.key?r:n.key)||null,n.type===rt?f(e,t,n.props.children,i,n.key):u(e,t,n,i);case et:return l(e,t=t.get(null===n.key?r:n.key)||null,n,i)}if(xo(n)||mt(n))return f(e,t=t.get(r)||null,n,i,null);_o(e,n)}return null}function m(i,a,s,c){for(var u=null,l=null,f=a,m=a=0,b=null;null!==f&&m<s.length;m++){f.index>m?(b=f,f=null):b=f.sibling;var v=d(i,f,s[m],c);if(null===v){null===f&&(f=b);break}t&&f&&null===v.alternate&&e(i,f),a=o(v,a,m),null===l?u=v:l.sibling=v,l=v,f=b}if(m===s.length)return r(i,f),u;if(null===f){for(;m<s.length;m++)null!==(f=h(i,s[m],c))&&(a=o(f,a,m),null===l?u=f:l.sibling=f,l=f);return u}for(f=n(i,f);m<s.length;m++)null!==(b=p(f,i,m,s[m],c))&&(t&&null!==b.alternate&&f.delete(null===b.key?m:b.key),a=o(b,a,m),null===l?u=b:l.sibling=b,l=b);return t&&f.forEach((function(t){return e(i,t)})),u}function b(i,s,c,u){var l=mt(c);if("function"!==typeof l)throw Error(a(150));if(null==(c=l.call(c)))throw Error(a(151));for(var f=l=null,m=s,b=s=0,v=null,g=c.next();null!==m&&!g.done;b++,g=c.next()){m.index>b?(v=m,m=null):v=m.sibling;var y=d(i,m,g.value,u);if(null===y){null===m&&(m=v);break}t&&m&&null===y.alternate&&e(i,m),s=o(y,s,b),null===f?l=y:f.sibling=y,f=y,m=v}if(g.done)return r(i,m),l;if(null===m){for(;!g.done;b++,g=c.next())null!==(g=h(i,g.value,u))&&(s=o(g,s,b),null===f?l=g:f.sibling=g,f=g);return l}for(m=n(i,m);!g.done;b++,g=c.next())null!==(g=p(m,i,b,g.value,u))&&(t&&null!==g.alternate&&m.delete(null===g.key?b:g.key),s=o(g,s,b),null===f?l=g:f.sibling=g,f=g);return t&&m.forEach((function(t){return e(i,t)})),l}return function(t,n,o,c){var u="object"===typeof o&&null!==o&&o.type===rt&&null===o.key;u&&(o=o.props.children);var l="object"===typeof o&&null!==o;if(l)switch(o.$$typeof){case tt:t:{for(l=o.key,u=n;null!==u;){if(u.key===l){switch(u.tag){case 7:if(o.type===rt){r(t,u.sibling),(n=i(u,o.props.children)).return=t,t=n;break t}break;default:if(u.elementType===o.type){r(t,u.sibling),(n=i(u,o.props)).ref=Oo(t,u,o),n.return=t,t=n;break t}}r(t,u);break}e(t,u),u=u.sibling}o.type===rt?((n=Cc(o.props.children,t.mode,c,o.key)).return=t,t=n):((c=Mc(o.type,o.key,o.props,null,t.mode,c)).ref=Oo(t,n,o),c.return=t,t=c)}return s(t);case et:t:{for(u=o.key;null!==n;){if(n.key===u){if(4===n.tag&&n.stateNode.containerInfo===o.containerInfo&&n.stateNode.implementation===o.implementation){r(t,n.sibling),(n=i(n,o.children||[])).return=t,t=n;break t}r(t,n);break}e(t,n),n=n.sibling}(n=Ac(o,t.mode,c)).return=t,t=n}return s(t)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==n&&6===n.tag?(r(t,n.sibling),(n=i(n,o)).return=t,t=n):(r(t,n),(n=jc(o,t.mode,c)).return=t,t=n),s(t);if(xo(o))return m(t,n,o,c);if(mt(o))return b(t,n,o,c);if(l&&_o(t,o),"undefined"===typeof o&&!u)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return r(t,n)}}var ko=So(!0),Eo=So(!1),Mo={},Co={current:Mo},jo={current:Mo},Ao={current:Mo};function To(t){if(t===Mo)throw Error(a(174));return t}function Po(t,e){switch(ui(Ao,e),ui(jo,t),ui(Co,Mo),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Nt(null,"");break;default:e=Nt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}ci(Co),ui(Co,e)}function Do(){ci(Co),ci(jo),ci(Ao)}function Ro(t){To(Ao.current);var e=To(Co.current),r=Nt(e,t.type);e!==r&&(ui(jo,t),ui(Co,r))}function Lo(t){jo.current===t&&(ci(Co),ci(jo))}var Io={current:0};function No(t){for(var e=t;null!==e;){if(13===e.tag){var r=e.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Fo(t,e){return{responder:t,props:e}}var Bo=K.ReactCurrentDispatcher,zo=K.ReactCurrentBatchConfig,Ho=0,Uo=null,Wo=null,qo=null,Vo=!1;function Go(){throw Error(a(321))}function Yo(t,e){if(null===e)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!Nn(t[r],e[r]))return!1;return!0}function Xo(t,e,r,n,i,o){if(Ho=o,Uo=e,e.memoizedState=null,e.updateQueue=null,e.expirationTime=0,Bo.current=null===t||null===t.memoizedState?va:ga,t=r(n,i),e.expirationTime===Ho){o=0;do{if(e.expirationTime=0,!(25>o))throw Error(a(301));o+=1,qo=Wo=null,e.updateQueue=null,Bo.current=ya,t=r(n,i)}while(e.expirationTime===Ho)}if(Bo.current=ba,e=null!==Wo&&null!==Wo.next,Ho=0,qo=Wo=Uo=null,Vo=!1,e)throw Error(a(300));return t}function $o(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qo?Uo.memoizedState=qo=t:qo=qo.next=t,qo}function Ko(){if(null===Wo){var t=Uo.alternate;t=null!==t?t.memoizedState:null}else t=Wo.next;var e=null===qo?Uo.memoizedState:qo.next;if(null!==e)qo=e,Wo=t;else{if(null===t)throw Error(a(310));t={memoizedState:(Wo=t).memoizedState,baseState:Wo.baseState,baseQueue:Wo.baseQueue,queue:Wo.queue,next:null},null===qo?Uo.memoizedState=qo=t:qo=qo.next=t}return qo}function Zo(t,e){return"function"===typeof e?e(t):e}function Jo(t){var e=Ko(),r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=t;var n=Wo,i=n.baseQueue,o=r.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}n.baseQueue=i=o,r.pending=null}if(null!==i){i=i.next,n=n.baseState;var c=s=o=null,u=i;do{var l=u.expirationTime;if(l<Ho){var f={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===c?(s=c=f,o=n):c=c.next=f,l>Uo.expirationTime&&(Uo.expirationTime=l,ac(l))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),oc(l,u.suspenseConfig),n=u.eagerReducer===t?u.eagerState:t(n,u.action);u=u.next}while(null!==u&&u!==i);null===c?o=n:c.next=s,Nn(n,e.memoizedState)||(Aa=!0),e.memoizedState=n,e.baseState=o,e.baseQueue=c,r.lastRenderedState=n}return[e.memoizedState,r.dispatch]}function Qo(t){var e=Ko(),r=e.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,o=e.memoizedState;if(null!==i){r.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);Nn(o,e.memoizedState)||(Aa=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),r.lastRenderedState=o}return[o,n]}function ta(t){var e=$o();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:Zo,lastRenderedState:t}).dispatch=ma.bind(null,Uo,t),[e.memoizedState,t]}function ea(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},null===(e=Uo.updateQueue)?(e={lastEffect:null},Uo.updateQueue=e,e.lastEffect=t.next=t):null===(r=e.lastEffect)?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t),t}function ra(){return Ko().memoizedState}function na(t,e,r,n){var i=$o();Uo.effectTag|=t,i.memoizedState=ea(1|e,r,void 0,void 0===n?null:n)}function ia(t,e,r,n){var i=Ko();n=void 0===n?null:n;var o=void 0;if(null!==Wo){var a=Wo.memoizedState;if(o=a.destroy,null!==n&&Yo(n,a.deps))return void ea(e,r,o,n)}Uo.effectTag|=t,i.memoizedState=ea(1|e,r,o,n)}function oa(t,e){return na(516,4,t,e)}function aa(t,e){return ia(516,4,t,e)}function sa(t,e){return ia(4,2,t,e)}function ca(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function ua(t,e,r){return r=null!==r&&void 0!==r?r.concat([t]):null,ia(4,2,ca.bind(null,e,t),r)}function la(){}function fa(t,e){return $o().memoizedState=[t,void 0===e?null:e],t}function ha(t,e){var r=Ko();e=void 0===e?null:e;var n=r.memoizedState;return null!==n&&null!==e&&Yo(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function da(t,e){var r=Ko();e=void 0===e?null:e;var n=r.memoizedState;return null!==n&&null!==e&&Yo(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function pa(t,e,r){var n=zi();Ui(98>n?98:n,(function(){t(!0)})),Ui(97<n?97:n,(function(){var n=zo.suspense;zo.suspense=void 0===e?null:e;try{t(!1),r()}finally{zo.suspense=n}}))}function ma(t,e,r){var n=Gs(),i=ho.suspense;i={expirationTime:n=Ys(n,t,i),suspenseConfig:i,action:r,eagerReducer:null,eagerState:null,next:null};var o=e.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),e.pending=i,o=t.alternate,t===Uo||null!==o&&o===Uo)Vo=!0,i.expirationTime=Ho,Uo.expirationTime=Ho;else{if(0===t.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=e.lastRenderedReducer))try{var a=e.lastRenderedState,s=o(a,r);if(i.eagerReducer=o,i.eagerState=s,Nn(s,a))return}catch(c){}Xs(t,n)}}var ba={readContext:no,useCallback:Go,useContext:Go,useEffect:Go,useImperativeHandle:Go,useLayoutEffect:Go,useMemo:Go,useReducer:Go,useRef:Go,useState:Go,useDebugValue:Go,useResponder:Go,useDeferredValue:Go,useTransition:Go},va={readContext:no,useCallback:fa,useContext:no,useEffect:oa,useImperativeHandle:function(t,e,r){return r=null!==r&&void 0!==r?r.concat([t]):null,na(4,2,ca.bind(null,e,t),r)},useLayoutEffect:function(t,e){return na(4,2,t,e)},useMemo:function(t,e){var r=$o();return e=void 0===e?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=$o();return e=void 0!==r?r(e):e,n.memoizedState=n.baseState=e,t=(t=n.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=ma.bind(null,Uo,t),[n.memoizedState,t]},useRef:function(t){return t={current:t},$o().memoizedState=t},useState:ta,useDebugValue:la,useResponder:Fo,useDeferredValue:function(t,e){var r=ta(t),n=r[0],i=r[1];return oa((function(){var r=zo.suspense;zo.suspense=void 0===e?null:e;try{i(t)}finally{zo.suspense=r}}),[t,e]),n},useTransition:function(t){var e=ta(!1),r=e[0];return e=e[1],[fa(pa.bind(null,e,t),[e,t]),r]}},ga={readContext:no,useCallback:ha,useContext:no,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:da,useReducer:Jo,useRef:ra,useState:function(){return Jo(Zo)},useDebugValue:la,useResponder:Fo,useDeferredValue:function(t,e){var r=Jo(Zo),n=r[0],i=r[1];return aa((function(){var r=zo.suspense;zo.suspense=void 0===e?null:e;try{i(t)}finally{zo.suspense=r}}),[t,e]),n},useTransition:function(t){var e=Jo(Zo),r=e[0];return e=e[1],[ha(pa.bind(null,e,t),[e,t]),r]}},ya={readContext:no,useCallback:ha,useContext:no,useEffect:aa,useImperativeHandle:ua,useLayoutEffect:sa,useMemo:da,useReducer:Qo,useRef:ra,useState:function(){return Qo(Zo)},useDebugValue:la,useResponder:Fo,useDeferredValue:function(t,e){var r=Qo(Zo),n=r[0],i=r[1];return aa((function(){var r=zo.suspense;zo.suspense=void 0===e?null:e;try{i(t)}finally{zo.suspense=r}}),[t,e]),n},useTransition:function(t){var e=Qo(Zo),r=e[0];return e=e[1],[ha(pa.bind(null,e,t),[e,t]),r]}},wa=null,xa=null,Oa=!1;function _a(t,e){var r=Sc(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=e,r.return=t,r.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r}function Sa(t,e){switch(t.tag){case 5:var r=t.type;return null!==(e=1!==e.nodeType||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function ka(t){if(Oa){var e=xa;if(e){var r=e;if(!Sa(t,e)){if(!(e=wr(r.nextSibling))||!Sa(t,e))return t.effectTag=-1025&t.effectTag|2,Oa=!1,void(wa=t);_a(wa,r)}wa=t,xa=wr(e.firstChild)}else t.effectTag=-1025&t.effectTag|2,Oa=!1,wa=t}}function Ea(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;wa=t}function Ma(t){if(t!==wa)return!1;if(!Oa)return Ea(t),Oa=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!vr(e,t.memoizedProps))for(e=xa;e;)_a(t,e),e=wr(e.nextSibling);if(Ea(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var r=t.data;if("/$"===r){if(0===e){xa=wr(t.nextSibling);break t}e--}else"$"!==r&&"$!"!==r&&"$?"!==r||e++}t=t.nextSibling}xa=null}}else xa=wa?wr(t.stateNode.nextSibling):null;return!0}function Ca(){xa=wa=null,Oa=!1}var ja=K.ReactCurrentOwner,Aa=!1;function Ta(t,e,r,n){e.child=null===t?Eo(e,null,r,n):ko(e,t.child,r,n)}function Pa(t,e,r,n,i){r=r.render;var o=e.ref;return ro(e,i),n=Xo(t,e,r,n,o,i),null===t||Aa?(e.effectTag|=1,Ta(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Xa(t,e,i))}function Da(t,e,r,n,i,o){if(null===t){var a=r.type;return"function"!==typeof a||kc(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((t=Mc(r.type,null,n,null,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Ra(t,e,a,n,i,o))}return a=t.child,i<o&&(i=a.memoizedProps,(r=null!==(r=r.compare)?r:Bn)(i,n)&&t.ref===e.ref)?Xa(t,e,o):(e.effectTag|=1,(t=Ec(a,n)).ref=e.ref,t.return=e,e.child=t)}function Ra(t,e,r,n,i,o){return null!==t&&Bn(t.memoizedProps,n)&&t.ref===e.ref&&(Aa=!1,i<o)?(e.expirationTime=t.expirationTime,Xa(t,e,o)):Ia(t,e,r,n,o)}function La(t,e){var r=e.ref;(null===t&&null!==r||null!==t&&t.ref!==r)&&(e.effectTag|=128)}function Ia(t,e,r,n,i){var o=mi(r)?di:fi.current;return o=pi(e,o),ro(e,i),r=Xo(t,e,r,n,o,i),null===t||Aa?(e.effectTag|=1,Ta(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),Xa(t,e,i))}function Na(t,e,r,n,i){if(mi(r)){var o=!0;yi(e)}else o=!1;if(ro(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),go(e,r,n),wo(e,r,n,i),n=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var c=a.context,u=r.contextType;"object"===typeof u&&null!==u?u=no(u):u=pi(e,u=mi(r)?di:fi.current);var l=r.getDerivedStateFromProps,f="function"===typeof l||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||c!==u)&&yo(e,a,n,u),io=!1;var h=e.memoizedState;a.state=h,lo(e,n,a,i),c=e.memoizedState,s!==n||h!==c||hi.current||io?("function"===typeof l&&(mo(e,r,l,n),c=e.memoizedState),(s=io||vo(e,r,s,n,h,c,u))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.effectTag|=4)):("function"===typeof a.componentDidMount&&(e.effectTag|=4),e.memoizedProps=n,e.memoizedState=c),a.props=n,a.state=c,a.context=u,n=s):("function"===typeof a.componentDidMount&&(e.effectTag|=4),n=!1)}else a=e.stateNode,ao(t,e),s=e.memoizedProps,a.props=e.type===e.elementType?s:Xi(e.type,s),c=a.context,"object"===typeof(u=r.contextType)&&null!==u?u=no(u):u=pi(e,u=mi(r)?di:fi.current),(f="function"===typeof(l=r.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==n||c!==u)&&yo(e,a,n,u),io=!1,c=e.memoizedState,a.state=c,lo(e,n,a,i),h=e.memoizedState,s!==n||c!==h||hi.current||io?("function"===typeof l&&(mo(e,r,l,n),h=e.memoizedState),(l=io||vo(e,r,s,n,c,h,u))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(n,h,u),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,h,u)),"function"===typeof a.componentDidUpdate&&(e.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),e.memoizedProps=n,e.memoizedState=h),a.props=n,a.state=h,a.context=u,n=l):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),n=!1);return Fa(t,e,r,n,o,i)}function Fa(t,e,r,n,i,o){La(t,e);var a=0!==(64&e.effectTag);if(!n&&!a)return i&&wi(e,r,!1),Xa(t,e,o);n=e.stateNode,ja.current=e;var s=a&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return e.effectTag|=1,null!==t&&a?(e.child=ko(e,t.child,null,o),e.child=ko(e,null,s,o)):Ta(t,e,s,o),e.memoizedState=n.state,i&&wi(e,r,!0),e.child}function Ba(t){var e=t.stateNode;e.pendingContext?vi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&vi(0,e.context,!1),Po(t,e.containerInfo)}var za,Ha,Ua,Wa={dehydrated:null,retryTime:0};function qa(t,e,r){var n,i=e.mode,o=e.pendingProps,a=Io.current,s=!1;if((n=0!==(64&e.effectTag))||(n=0!==(2&a)&&(null===t||null!==t.memoizedState)),n?(s=!0,e.effectTag&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ui(Io,1&a),null===t){if(void 0!==o.fallback&&ka(e),s){if(s=o.fallback,(o=Cc(null,i,0,null)).return=e,0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(r=Cc(s,i,r,null)).return=e,o.sibling=r,e.memoizedState=Wa,e.child=o,r}return i=o.children,e.memoizedState=null,e.child=Eo(e,null,i,r)}if(null!==t.memoizedState){if(i=(t=t.child).sibling,s){if(o=o.fallback,(r=Ec(t,t.pendingProps)).return=e,0===(2&e.mode)&&(s=null!==e.memoizedState?e.child.child:e.child)!==t.child)for(r.child=s;null!==s;)s.return=r,s=s.sibling;return(i=Ec(i,o)).return=e,r.sibling=i,r.childExpirationTime=0,e.memoizedState=Wa,e.child=r,i}return r=ko(e,t.child,o.children,r),e.memoizedState=null,e.child=r}if(t=t.child,s){if(s=o.fallback,(o=Cc(null,i,0,null)).return=e,o.child=t,null!==t&&(t.return=o),0===(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(r=Cc(s,i,r,null)).return=e,o.sibling=r,r.effectTag|=2,o.childExpirationTime=0,e.memoizedState=Wa,e.child=o,r}return e.memoizedState=null,e.child=ko(e,t,o.children,r)}function Va(t,e){t.expirationTime<e&&(t.expirationTime=e);var r=t.alternate;null!==r&&r.expirationTime<e&&(r.expirationTime=e),eo(t.return,e)}function Ga(t,e,r,n,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Ya(t,e,r){var n=e.pendingProps,i=n.revealOrder,o=n.tail;if(Ta(t,e,n.children,r),0!==(2&(n=Io.current)))n=1&n|2,e.effectTag|=64;else{if(null!==t&&0!==(64&t.effectTag))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Va(t,r);else if(19===t.tag)Va(t,r);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(ui(Io,n),0===(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;null!==r;)null!==(t=r.alternate)&&null===No(t)&&(i=r),r=r.sibling;null===(r=i)?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),Ga(e,!1,i,r,o,e.lastEffect);break;case"backwards":for(r=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===No(t)){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}Ga(e,!0,r,null,o,e.lastEffect);break;case"together":Ga(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function Xa(t,e,r){null!==t&&(e.dependencies=t.dependencies);var n=e.expirationTime;if(0!==n&&ac(n),e.childExpirationTime<r)return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(r=Ec(t=e.child,t.pendingProps),e.child=r,r.return=e;null!==t.sibling;)t=t.sibling,(r=r.sibling=Ec(t,t.pendingProps)).return=e;r.sibling=null}return e.child}function $a(t,e){switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;null!==e;)null!==e.alternate&&(r=e),e=e.sibling;null===r?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?e||null===t.tail?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Ka(t,e,r){var n=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return mi(e.type)&&bi(),null;case 3:return Do(),ci(hi),ci(fi),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||!Ma(e)||(e.effectTag|=4),null;case 5:Lo(e),r=To(Ao.current);var o=e.type;if(null!==t&&null!=e.stateNode)Ha(t,e,o,n,r),t.ref!==e.ref&&(e.effectTag|=128);else{if(!n){if(null===e.stateNode)throw Error(a(166));return null}if(t=To(Co.current),Ma(e)){n=e.stateNode,o=e.type;var s=e.memoizedProps;switch(n[_r]=e,n[Sr]=s,o){case"iframe":case"object":case"embed":Ye("load",n);break;case"video":case"audio":for(t=0;t<Kt.length;t++)Ye(Kt[t],n);break;case"source":Ye("error",n);break;case"img":case"image":case"link":Ye("error",n),Ye("load",n);break;case"form":Ye("reset",n),Ye("submit",n);break;case"details":Ye("toggle",n);break;case"input":_t(n,s),Ye("invalid",n),sr(r,"onChange");break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Ye("invalid",n),sr(r,"onChange");break;case"textarea":Tt(n,s),Ye("invalid",n),sr(r,"onChange")}for(var c in ir(o,s),t=null,s)if(s.hasOwnProperty(c)){var u=s[c];"children"===c?"string"===typeof u?n.textContent!==u&&(t=["children",u]):"number"===typeof u&&n.textContent!==""+u&&(t=["children",""+u]):S.hasOwnProperty(c)&&null!=u&&sr(r,c)}switch(o){case"input":wt(n),Et(n,s,!0);break;case"textarea":wt(n),Dt(n);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(n.onclick=cr)}r=t,e.updateQueue=r,null!==r&&(e.effectTag|=4)}else{switch(c=9===r.nodeType?r:r.ownerDocument,t===ar&&(t=It(o)),t===ar?"script"===o?((t=c.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof n.is?t=c.createElement(o,{is:n.is}):(t=c.createElement(o),"select"===o&&(c=t,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):t=c.createElementNS(t,o),t[_r]=e,t[Sr]=n,za(t,e),e.stateNode=t,c=or(o,n),o){case"iframe":case"object":case"embed":Ye("load",t),u=n;break;case"video":case"audio":for(u=0;u<Kt.length;u++)Ye(Kt[u],t);u=n;break;case"source":Ye("error",t),u=n;break;case"img":case"image":case"link":Ye("error",t),Ye("load",t),u=n;break;case"form":Ye("reset",t),Ye("submit",t),u=n;break;case"details":Ye("toggle",t),u=n;break;case"input":_t(t,n),u=Ot(t,n),Ye("invalid",t),sr(r,"onChange");break;case"option":u=Ct(t,n);break;case"select":t._wrapperState={wasMultiple:!!n.multiple},u=i({},n,{value:void 0}),Ye("invalid",t),sr(r,"onChange");break;case"textarea":Tt(t,n),u=At(t,n),Ye("invalid",t),sr(r,"onChange");break;default:u=n}ir(o,u);var l=u;for(s in l)if(l.hasOwnProperty(s)){var f=l[s];"style"===s?rr(t,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&Bt(t,f):"children"===s?"string"===typeof f?("textarea"!==o||""!==f)&&zt(t,f):"number"===typeof f&&zt(t,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?null!=f&&sr(r,s):null!=f&&Z(t,s,f,c))}switch(o){case"input":wt(t),Et(t,n,!1);break;case"textarea":wt(t),Dt(t);break;case"option":null!=n.value&&t.setAttribute("value",""+gt(n.value));break;case"select":t.multiple=!!n.multiple,null!=(r=n.value)?jt(t,!!n.multiple,r,!1):null!=n.defaultValue&&jt(t,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof u.onClick&&(t.onclick=cr)}br(o,n)&&(e.effectTag|=4)}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)Ua(0,e,t.memoizedProps,n);else{if("string"!==typeof n&&null===e.stateNode)throw Error(a(166));r=To(Ao.current),To(Co.current),Ma(e)?(r=e.stateNode,n=e.memoizedProps,r[_r]=e,r.nodeValue!==n&&(e.effectTag|=4)):((r=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[_r]=e,e.stateNode=r)}return null;case 13:return ci(Io),n=e.memoizedState,0!==(64&e.effectTag)?(e.expirationTime=r,e):(r=null!==n,n=!1,null===t?void 0!==e.memoizedProps.fallback&&Ma(e):(n=null!==(o=t.memoizedState),r||null===o||null!==(o=t.child.sibling)&&(null!==(s=e.firstEffect)?(e.firstEffect=o,o.nextEffect=s):(e.firstEffect=e.lastEffect=o,o.nextEffect=null),o.effectTag=8)),r&&!n&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Io.current)?Ms===ws&&(Ms=xs):(Ms!==ws&&Ms!==xs||(Ms=Os),0!==Ps&&null!==Ss&&(Dc(Ss,Es),Rc(Ss,Ps)))),(r||n)&&(e.effectTag|=4),null);case 4:return Do(),null;case 10:return to(e),null;case 17:return mi(e.type)&&bi(),null;case 19:if(ci(Io),null===(n=e.memoizedState))return null;if(o=0!==(64&e.effectTag),null===(s=n.rendering)){if(o)$a(n,!1);else if(Ms!==ws||null!==t&&0!==(64&t.effectTag))for(s=e.child;null!==s;){if(null!==(t=No(s))){for(e.effectTag|=64,$a(n,!1),null!==(o=t.updateQueue)&&(e.updateQueue=o,e.effectTag|=4),null===n.lastEffect&&(e.firstEffect=null),e.lastEffect=n.lastEffect,n=e.child;null!==n;)s=r,(o=n).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(t=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=t.childExpirationTime,o.expirationTime=t.expirationTime,o.child=t.child,o.memoizedProps=t.memoizedProps,o.memoizedState=t.memoizedState,o.updateQueue=t.updateQueue,s=t.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),n=n.sibling;return ui(Io,1&Io.current|2),e.child}s=s.sibling}}else{if(!o)if(null!==(t=No(s))){if(e.effectTag|=64,o=!0,null!==(r=t.updateQueue)&&(e.updateQueue=r,e.effectTag|=4),$a(n,!0),null===n.tail&&"hidden"===n.tailMode&&!s.alternate)return null!==(e=e.lastEffect=n.lastEffect)&&(e.nextEffect=null),null}else 2*Bi()-n.renderingStartTime>n.tailExpiration&&1<r&&(e.effectTag|=64,o=!0,$a(n,!1),e.expirationTime=e.childExpirationTime=r-1);n.isBackwards?(s.sibling=e.child,e.child=s):(null!==(r=n.last)?r.sibling=s:e.child=s,n.last=s)}return null!==n.tail?(0===n.tailExpiration&&(n.tailExpiration=Bi()+500),r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=e.lastEffect,n.renderingStartTime=Bi(),r.sibling=null,e=Io.current,ui(Io,o?1&e|2:1&e),r):null}throw Error(a(156,e.tag))}function Za(t){switch(t.tag){case 1:mi(t.type)&&bi();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(Do(),ci(hi),ci(fi),0!==(64&(e=t.effectTag)))throw Error(a(285));return t.effectTag=-4097&e|64,t;case 5:return Lo(t),null;case 13:return ci(Io),4096&(e=t.effectTag)?(t.effectTag=-4097&e|64,t):null;case 19:return ci(Io),null;case 4:return Do(),null;case 10:return to(t),null;default:return null}}function Ja(t,e){return{value:t,source:e,stack:vt(e)}}za=function(t,e){for(var r=e.child;null!==r;){if(5===r.tag||6===r.tag)t.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ha=function(t,e,r,n,o){var a=t.memoizedProps;if(a!==n){var s,c,u=e.stateNode;switch(To(Co.current),t=null,r){case"input":a=Ot(u,a),n=Ot(u,n),t=[];break;case"option":a=Ct(u,a),n=Ct(u,n),t=[];break;case"select":a=i({},a,{value:void 0}),n=i({},n,{value:void 0}),t=[];break;case"textarea":a=At(u,a),n=At(u,n),t=[];break;default:"function"!==typeof a.onClick&&"function"===typeof n.onClick&&(u.onclick=cr)}for(s in ir(r,n),r=null,a)if(!n.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(c in u=a[s])u.hasOwnProperty(c)&&(r||(r={}),r[c]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(S.hasOwnProperty(s)?t||(t=[]):(t=t||[]).push(s,null));for(s in n){var l=n[s];if(u=null!=a?a[s]:void 0,n.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(c in u)!u.hasOwnProperty(c)||l&&l.hasOwnProperty(c)||(r||(r={}),r[c]="");for(c in l)l.hasOwnProperty(c)&&u[c]!==l[c]&&(r||(r={}),r[c]=l[c])}else r||(t||(t=[]),t.push(s,r)),r=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(t=t||[]).push(s,l)):"children"===s?u===l||"string"!==typeof l&&"number"!==typeof l||(t=t||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(S.hasOwnProperty(s)?(null!=l&&sr(o,s),t||u===l||(t=[])):(t=t||[]).push(s,l))}r&&(t=t||[]).push("style",r),o=t,(e.updateQueue=o)&&(e.effectTag|=4)}},Ua=function(t,e,r,n){r!==n&&(e.effectTag|=4)};var Qa="function"===typeof WeakSet?WeakSet:Set;function ts(t,e){var r=e.source,n=e.stack;null===n&&null!==r&&(n=vt(r)),null!==r&&bt(r.type),e=e.value,null!==t&&1===t.tag&&bt(t.type);try{console.error(e)}catch(i){setTimeout((function(){throw i}))}}function es(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(r){gc(t,r)}else e.current=null}function rs(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&e.effectTag&&null!==t){var r=t.memoizedProps,n=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?r:Xi(e.type,r),n),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ns(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var r=e=e.next;do{if((r.tag&t)===t){var n=r.destroy;r.destroy=void 0,void 0!==n&&n()}r=r.next}while(r!==e)}}function is(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function os(t,e,r){switch(r.tag){case 0:case 11:case 15:case 22:return void is(3,r);case 1:if(t=r.stateNode,4&r.effectTag)if(null===e)t.componentDidMount();else{var n=r.elementType===r.type?e.memoizedProps:Xi(r.type,e.memoizedProps);t.componentDidUpdate(n,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate)}return void(null!==(e=r.updateQueue)&&fo(r,e,t));case 3:if(null!==(e=r.updateQueue)){if(t=null,null!==r.child)switch(r.child.tag){case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}fo(r,e,t)}return;case 5:return t=r.stateNode,void(null===e&&4&r.effectTag&&br(r.type,r.memoizedProps)&&t.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&Ie(r)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function as(t,e,r){switch("function"===typeof Oc&&Oc(e),e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var n=t.next;Ui(97<r?97:r,(function(){var t=n;do{var r=t.destroy;if(void 0!==r){var i=e;try{r()}catch(o){gc(i,o)}}t=t.next}while(t!==n)}))}break;case 1:es(e),"function"===typeof(r=e.stateNode).componentWillUnmount&&function(t,e){try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(r){gc(t,r)}}(e,r);break;case 5:es(e);break;case 4:ls(t,e,r)}}function ss(t){var e=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,t.stateNode=null,null!==e&&ss(e)}function cs(t){return 5===t.tag||3===t.tag||4===t.tag}function us(t){t:{for(var e=t.return;null!==e;){if(cs(e)){var r=e;break t}e=e.return}throw Error(a(160))}switch(e=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:e=e.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.effectTag&&(zt(e,""),r.effectTag&=-17);t:e:for(r=t;;){for(;null===r.sibling;){if(null===r.return||cs(r.return)){r=null;break t}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue e;if(null===r.child||4===r.tag)continue e;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break t}}n?function t(e,r,n){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,r?8===n.nodeType?n.parentNode.insertBefore(e,r):n.insertBefore(e,r):(8===n.nodeType?(r=n.parentNode).insertBefore(e,n):(r=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==r.onclick||(r.onclick=cr));else if(4!==i&&null!==(e=e.child))for(t(e,r,n),e=e.sibling;null!==e;)t(e,r,n),e=e.sibling}(t,r,e):function t(e,r,n){var i=e.tag,o=5===i||6===i;if(o)e=o?e.stateNode:e.stateNode.instance,r?n.insertBefore(e,r):n.appendChild(e);else if(4!==i&&null!==(e=e.child))for(t(e,r,n),e=e.sibling;null!==e;)t(e,r,n),e=e.sibling}(t,r,e)}function ls(t,e,r){for(var n,i,o=e,s=!1;;){if(!s){s=o.return;t:for(;;){if(null===s)throw Error(a(160));switch(n=s.stateNode,s.tag){case 5:i=!1;break t;case 3:case 4:n=n.containerInfo,i=!0;break t}s=s.return}s=!0}if(5===o.tag||6===o.tag){t:for(var c=t,u=o,l=r,f=u;;)if(as(c,f,l),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===u)break t;for(;null===f.sibling;){if(null===f.return||f.return===u)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(c=n,u=o.stateNode,8===c.nodeType?c.parentNode.removeChild(u):c.removeChild(u)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(as(t,o,r),null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function fs(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:return void ns(3,e);case 1:return;case 5:var r=e.stateNode;if(null!=r){var n=e.memoizedProps,i=null!==t?t.memoizedProps:n;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(r[Sr]=n,"input"===t&&"radio"===n.type&&null!=n.name&&St(r,n),or(t,i),e=or(t,n),i=0;i<o.length;i+=2){var s=o[i],c=o[i+1];"style"===s?rr(r,c):"dangerouslySetInnerHTML"===s?Bt(r,c):"children"===s?zt(r,c):Z(r,s,c,e)}switch(t){case"input":kt(r,n);break;case"textarea":Pt(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(t=n.value)?jt(r,!!n.multiple,t,!1):e!==!!n.multiple&&(null!=n.defaultValue?jt(r,!!n.multiple,n.defaultValue,!0):jt(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((e=e.stateNode).hydrate&&(e.hydrate=!1,Ie(e.containerInfo)));case 12:return;case 13:if(r=e,null===e.memoizedState?n=!1:(n=!0,r=e.child,Rs=Bi()),null!==r)t:for(t=r;;){if(5===t.tag)o=t.stateNode,n?"function"===typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=t.stateNode,i=void 0!==(i=t.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,o.style.display=er("display",i));else if(6===t.tag)t.stateNode.nodeValue=n?"":t.memoizedProps;else{if(13===t.tag&&null!==t.memoizedState&&null===t.memoizedState.dehydrated){(o=t.child.sibling).return=t,t=o;continue}if(null!==t.child){t.child.return=t,t=t.child;continue}}if(t===r)break;for(;null===t.sibling;){if(null===t.return||t.return===r)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}return void hs(e);case 19:return void hs(e);case 17:return}throw Error(a(163))}function hs(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var r=t.stateNode;null===r&&(r=t.stateNode=new Qa),e.forEach((function(e){var n=wc.bind(null,t,e);r.has(e)||(r.add(e),e.then(n,n))}))}}var ds="function"===typeof WeakMap?WeakMap:Map;function ps(t,e,r){(r=so(r,null)).tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Is||(Is=!0,Ns=n),ts(t,e)},r}function ms(t,e,r){(r=so(r,null)).tag=3;var n=t.type.getDerivedStateFromError;if("function"===typeof n){var i=e.value;r.payload=function(){return ts(t,e),n(i)}}var o=t.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(r.callback=function(){"function"!==typeof n&&(null===Fs?Fs=new Set([this]):Fs.add(this),ts(t,e));var r=e.stack;this.componentDidCatch(e.value,{componentStack:null!==r?r:""})}),r}var bs,vs=Math.ceil,gs=K.ReactCurrentDispatcher,ys=K.ReactCurrentOwner,ws=0,xs=3,Os=4,_s=0,Ss=null,ks=null,Es=0,Ms=ws,Cs=null,js=1073741823,As=1073741823,Ts=null,Ps=0,Ds=!1,Rs=0,Ls=null,Is=!1,Ns=null,Fs=null,Bs=!1,zs=null,Hs=90,Us=null,Ws=0,qs=null,Vs=0;function Gs(){return 0!==(48&_s)?1073741821-(Bi()/10|0):0!==Vs?Vs:Vs=1073741821-(Bi()/10|0)}function Ys(t,e,r){if(0===(2&(e=e.mode)))return 1073741823;var n=zi();if(0===(4&e))return 99===n?1073741823:1073741822;if(0!==(16&_s))return Es;if(null!==r)t=Yi(t,0|r.timeoutMs||5e3,250);else switch(n){case 99:t=1073741823;break;case 98:t=Yi(t,150,100);break;case 97:case 96:t=Yi(t,5e3,250);break;case 95:t=2;break;default:throw Error(a(326))}return null!==Ss&&t===Es&&--t,t}function Xs(t,e){if(50<Ws)throw Ws=0,qs=null,Error(a(185));if(null!==(t=$s(t,e))){var r=zi();1073741823===e?0!==(8&_s)&&0===(48&_s)?Qs(t):(Zs(t),0===_s&&Vi()):Zs(t),0===(4&_s)||98!==r&&99!==r||(null===Us?Us=new Map([[t,e]]):(void 0===(r=Us.get(t))||r>e)&&Us.set(t,e))}}function $s(t,e){t.expirationTime<e&&(t.expirationTime=e);var r=t.alternate;null!==r&&r.expirationTime<e&&(r.expirationTime=e);var n=t.return,i=null;if(null===n&&3===t.tag)i=t.stateNode;else for(;null!==n;){if(r=n.alternate,n.childExpirationTime<e&&(n.childExpirationTime=e),null!==r&&r.childExpirationTime<e&&(r.childExpirationTime=e),null===n.return&&3===n.tag){i=n.stateNode;break}n=n.return}return null!==i&&(Ss===i&&(ac(e),Ms===Os&&Dc(i,Es)),Rc(i,e)),i}function Ks(t){var e=t.lastExpiredTime;if(0!==e)return e;if(!Pc(t,e=t.firstPendingTime))return e;var r=t.lastPingedTime;return 2>=(t=r>(t=t.nextKnownPendingLevel)?r:t)&&e!==t?0:t}function Zs(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=qi(Qs.bind(null,t));else{var e=Ks(t),r=t.callbackNode;if(0===e)null!==r&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var n=Gs();if(1073741823===e?n=99:1===e||2===e?n=95:n=0>=(n=10*(1073741821-e)-10*(1073741821-n))?99:250>=n?98:5250>=n?97:95,null!==r){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=n)return;r!==Pi&&_i(r)}t.callbackExpirationTime=e,t.callbackPriority=n,e=1073741823===e?qi(Qs.bind(null,t)):Wi(n,Js.bind(null,t),{timeout:10*(1073741821-e)-Bi()}),t.callbackNode=e}}}function Js(t,e){if(Vs=0,e)return Lc(t,e=Gs()),Zs(t),null;var r=Ks(t);if(0!==r){if(e=t.callbackNode,0!==(48&_s))throw Error(a(327));if(mc(),t===Ss&&r===Es||rc(t,r),null!==ks){var n=_s;_s|=16;for(var i=ic();;)try{cc();break}catch(c){nc(t,c)}if(Qi(),_s=n,gs.current=i,1===Ms)throw e=Cs,rc(t,r),Dc(t,r),Zs(t),e;if(null===ks)switch(i=t.finishedWork=t.current.alternate,t.finishedExpirationTime=r,n=Ms,Ss=null,n){case ws:case 1:throw Error(a(345));case 2:Lc(t,2<r?2:r);break;case xs:if(Dc(t,r),r===(n=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=fc(i)),1073741823===js&&10<(i=Rs+500-Bi())){if(Ds){var o=t.lastPingedTime;if(0===o||o>=r){t.lastPingedTime=r,rc(t,r);break}}if(0!==(o=Ks(t))&&o!==r)break;if(0!==n&&n!==r){t.lastPingedTime=n;break}t.timeoutHandle=gr(hc.bind(null,t),i);break}hc(t);break;case Os:if(Dc(t,r),r===(n=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=fc(i)),Ds&&(0===(i=t.lastPingedTime)||i>=r)){t.lastPingedTime=r,rc(t,r);break}if(0!==(i=Ks(t))&&i!==r)break;if(0!==n&&n!==r){t.lastPingedTime=n;break}if(1073741823!==As?n=10*(1073741821-As)-Bi():1073741823===js?n=0:(n=10*(1073741821-js)-5e3,0>(n=(i=Bi())-n)&&(n=0),(r=10*(1073741821-r)-i)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*vs(n/1960))-n)&&(n=r)),10<n){t.timeoutHandle=gr(hc.bind(null,t),n);break}hc(t);break;case 5:if(1073741823!==js&&null!==Ts){o=js;var s=Ts;if(0>=(n=0|s.busyMinDurationMs)?n=0:(i=0|s.busyDelayMs,n=(o=Bi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+n-o),10<n){Dc(t,r),t.timeoutHandle=gr(hc.bind(null,t),n);break}}hc(t);break;default:throw Error(a(329))}if(Zs(t),t.callbackNode===e)return Js.bind(null,t)}}return null}function Qs(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,0!==(48&_s))throw Error(a(327));if(mc(),t===Ss&&e===Es||rc(t,e),null!==ks){var r=_s;_s|=16;for(var n=ic();;)try{sc();break}catch(i){nc(t,i)}if(Qi(),_s=r,gs.current=n,1===Ms)throw r=Cs,rc(t,e),Dc(t,e),Zs(t),r;if(null!==ks)throw Error(a(261));t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,Ss=null,hc(t),Zs(t)}return null}function tc(t,e){var r=_s;_s|=1;try{return t(e)}finally{0===(_s=r)&&Vi()}}function ec(t,e){var r=_s;_s&=-2,_s|=8;try{return t(e)}finally{0===(_s=r)&&Vi()}}function rc(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var r=t.timeoutHandle;if(-1!==r&&(t.timeoutHandle=-1,yr(r)),null!==ks)for(r=ks.return;null!==r;){var n=r;switch(n.tag){case 1:null!==(n=n.type.childContextTypes)&&void 0!==n&&bi();break;case 3:Do(),ci(hi),ci(fi);break;case 5:Lo(n);break;case 4:Do();break;case 13:case 19:ci(Io);break;case 10:to(n)}r=r.return}Ss=t,ks=Ec(t.current,null),Es=e,Ms=ws,Cs=null,As=js=1073741823,Ts=null,Ps=0,Ds=!1}function nc(t,e){for(;;){try{if(Qi(),Bo.current=ba,Vo)for(var r=Uo.memoizedState;null!==r;){var n=r.queue;null!==n&&(n.pending=null),r=r.next}if(Ho=0,qo=Wo=Uo=null,Vo=!1,null===ks||null===ks.return)return Ms=1,Cs=e,ks=null;t:{var i=t,o=ks.return,a=ks,s=e;if(e=Es,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s;if(0===(2&a.mode)){var u=a.alternate;u?(a.updateQueue=u.updateQueue,a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var l=0!==(1&Io.current),f=o;do{var h;if(h=13===f.tag){var d=f.memoizedState;if(null!==d)h=null!==d.dehydrated;else{var p=f.memoizedProps;h=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!l)}}if(h){var m=f.updateQueue;if(null===m){var b=new Set;b.add(c),f.updateQueue=b}else m.add(c);if(0===(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=so(1073741823,null);v.tag=2,co(a,v)}a.expirationTime=1073741823;break t}s=void 0,a=e;var g=i.pingCache;if(null===g?(g=i.pingCache=new ds,s=new Set,g.set(c,s)):void 0===(s=g.get(c))&&(s=new Set,g.set(c,s)),!s.has(a)){s.add(a);var y=yc.bind(null,i,c,a);c.then(y,y)}f.effectTag|=4096,f.expirationTime=e;break t}f=f.return}while(null!==f);s=Error((bt(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+vt(a))}5!==Ms&&(Ms=2),s=Ja(s,a),f=o;do{switch(f.tag){case 3:c=s,f.effectTag|=4096,f.expirationTime=e,uo(f,ps(f,c,e));break t;case 1:c=s;var w=f.type,x=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof w.getDerivedStateFromError||null!==x&&"function"===typeof x.componentDidCatch&&(null===Fs||!Fs.has(x)))){f.effectTag|=4096,f.expirationTime=e,uo(f,ms(f,c,e));break t}}f=f.return}while(null!==f)}ks=lc(ks)}catch(O){e=O;continue}break}}function ic(){var t=gs.current;return gs.current=ba,null===t?ba:t}function oc(t,e){t<js&&2<t&&(js=t),null!==e&&t<As&&2<t&&(As=t,Ts=e)}function ac(t){t>Ps&&(Ps=t)}function sc(){for(;null!==ks;)ks=uc(ks)}function cc(){for(;null!==ks&&!Di();)ks=uc(ks)}function uc(t){var e=bs(t.alternate,t,Es);return t.memoizedProps=t.pendingProps,null===e&&(e=lc(t)),ys.current=null,e}function lc(t){ks=t;do{var e=ks.alternate;if(t=ks.return,0===(2048&ks.effectTag)){if(e=Ka(e,ks,Es),1===Es||1!==ks.childExpirationTime){for(var r=0,n=ks.child;null!==n;){var i=n.expirationTime,o=n.childExpirationTime;i>r&&(r=i),o>r&&(r=o),n=n.sibling}ks.childExpirationTime=r}if(null!==e)return e;null!==t&&0===(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=ks.firstEffect),null!==ks.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=ks.firstEffect),t.lastEffect=ks.lastEffect),1<ks.effectTag&&(null!==t.lastEffect?t.lastEffect.nextEffect=ks:t.firstEffect=ks,t.lastEffect=ks))}else{if(null!==(e=Za(ks)))return e.effectTag&=2047,e;null!==t&&(t.firstEffect=t.lastEffect=null,t.effectTag|=2048)}if(null!==(e=ks.sibling))return e;ks=t}while(null!==ks);return Ms===ws&&(Ms=5),null}function fc(t){var e=t.expirationTime;return e>(t=t.childExpirationTime)?e:t}function hc(t){var e=zi();return Ui(99,dc.bind(null,t,e)),null}function dc(t,e){do{mc()}while(null!==zs);if(0!==(48&_s))throw Error(a(327));var r=t.finishedWork,n=t.finishedExpirationTime;if(null===r)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,r===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=fc(r);if(t.firstPendingTime=i,n<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:n<=t.firstSuspendedTime&&(t.firstSuspendedTime=n-1),n<=t.lastPingedTime&&(t.lastPingedTime=0),n<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Ss&&(ks=Ss=null,Es=0),1<r.effectTag?null!==r.lastEffect?(r.lastEffect.nextEffect=r,i=r.firstEffect):i=r:i=r.firstEffect,null!==i){var o=_s;_s|=32,ys.current=null,pr=Ge;var s=hr();if(dr(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else t:{var u=(c=(c=s.ownerDocument)&&c.defaultView||window).getSelection&&c.getSelection();if(u&&0!==u.rangeCount){c=u.anchorNode;var l=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{c.nodeType,f.nodeType}catch(E){c=null;break t}var h=0,d=-1,p=-1,m=0,b=0,v=s,g=null;e:for(;;){for(var y;v!==c||0!==l&&3!==v.nodeType||(d=h+l),v!==f||0!==u&&3!==v.nodeType||(p=h+u),3===v.nodeType&&(h+=v.nodeValue.length),null!==(y=v.firstChild);)g=v,v=y;for(;;){if(v===s)break e;if(g===c&&++m===l&&(d=h),g===f&&++b===u&&(p=h),null!==(y=v.nextSibling))break;g=(v=g).parentNode}v=y}c=-1===d||-1===p?null:{start:d,end:p}}else c=null}c=c||{start:0,end:0}}else c=null;mr={activeElementDetached:null,focusedElem:s,selectionRange:c},Ge=!1,Ls=i;do{try{pc()}catch(E){if(null===Ls)throw Error(a(330));gc(Ls,E),Ls=Ls.nextEffect}}while(null!==Ls);Ls=i;do{try{for(s=t,c=e;null!==Ls;){var w=Ls.effectTag;if(16&w&&zt(Ls.stateNode,""),128&w){var x=Ls.alternate;if(null!==x){var O=x.ref;null!==O&&("function"===typeof O?O(null):O.current=null)}}switch(1038&w){case 2:us(Ls),Ls.effectTag&=-3;break;case 6:us(Ls),Ls.effectTag&=-3,fs(Ls.alternate,Ls);break;case 1024:Ls.effectTag&=-1025;break;case 1028:Ls.effectTag&=-1025,fs(Ls.alternate,Ls);break;case 4:fs(Ls.alternate,Ls);break;case 8:ls(s,l=Ls,c),ss(l)}Ls=Ls.nextEffect}}catch(E){if(null===Ls)throw Error(a(330));gc(Ls,E),Ls=Ls.nextEffect}}while(null!==Ls);if(O=mr,x=hr(),w=O.focusedElem,c=O.selectionRange,x!==w&&w&&w.ownerDocument&&function t(e,r){return!(!e||!r)&&(e===r||(!e||3!==e.nodeType)&&(r&&3===r.nodeType?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}(w.ownerDocument.documentElement,w)){null!==c&&dr(w)&&(x=c.start,void 0===(O=c.end)&&(O=x),"selectionStart"in w?(w.selectionStart=x,w.selectionEnd=Math.min(O,w.value.length)):(O=(x=w.ownerDocument||document)&&x.defaultView||window).getSelection&&(O=O.getSelection(),l=w.textContent.length,s=Math.min(c.start,l),c=void 0===c.end?s:Math.min(c.end,l),!O.extend&&s>c&&(l=c,c=s,s=l),l=fr(w,s),f=fr(w,c),l&&f&&(1!==O.rangeCount||O.anchorNode!==l.node||O.anchorOffset!==l.offset||O.focusNode!==f.node||O.focusOffset!==f.offset)&&((x=x.createRange()).setStart(l.node,l.offset),O.removeAllRanges(),s>c?(O.addRange(x),O.extend(f.node,f.offset)):(x.setEnd(f.node,f.offset),O.addRange(x))))),x=[];for(O=w;O=O.parentNode;)1===O.nodeType&&x.push({element:O,left:O.scrollLeft,top:O.scrollTop});for("function"===typeof w.focus&&w.focus(),w=0;w<x.length;w++)(O=x[w]).element.scrollLeft=O.left,O.element.scrollTop=O.top}Ge=!!pr,mr=pr=null,t.current=r,Ls=i;do{try{for(w=t;null!==Ls;){var _=Ls.effectTag;if(36&_&&os(w,Ls.alternate,Ls),128&_){x=void 0;var S=Ls.ref;if(null!==S){var k=Ls.stateNode;switch(Ls.tag){case 5:x=k;break;default:x=k}"function"===typeof S?S(x):S.current=x}}Ls=Ls.nextEffect}}catch(E){if(null===Ls)throw Error(a(330));gc(Ls,E),Ls=Ls.nextEffect}}while(null!==Ls);Ls=null,Ri(),_s=o}else t.current=r;if(Bs)Bs=!1,zs=t,Hs=e;else for(Ls=i;null!==Ls;)e=Ls.nextEffect,Ls.nextEffect=null,Ls=e;if(0===(e=t.firstPendingTime)&&(Fs=null),1073741823===e?t===qs?Ws++:(Ws=0,qs=t):Ws=0,"function"===typeof xc&&xc(r.stateNode,n),Zs(t),Is)throw Is=!1,t=Ns,Ns=null,t;return 0!==(8&_s)||Vi(),null}function pc(){for(;null!==Ls;){var t=Ls.effectTag;0!==(256&t)&&rs(Ls.alternate,Ls),0===(512&t)||Bs||(Bs=!0,Wi(97,(function(){return mc(),null}))),Ls=Ls.nextEffect}}function mc(){if(90!==Hs){var t=97<Hs?97:Hs;return Hs=90,Ui(t,bc)}}function bc(){if(null===zs)return!1;var t=zs;if(zs=null,0!==(48&_s))throw Error(a(331));var e=_s;for(_s|=32,t=t.current.firstEffect;null!==t;){try{var r=t;if(0!==(512&r.effectTag))switch(r.tag){case 0:case 11:case 15:case 22:ns(5,r),is(5,r)}}catch(n){if(null===t)throw Error(a(330));gc(t,n)}r=t.nextEffect,t.nextEffect=null,t=r}return _s=e,Vi(),!0}function vc(t,e,r){co(t,e=ps(t,e=Ja(r,e),1073741823)),null!==(t=$s(t,1073741823))&&Zs(t)}function gc(t,e){if(3===t.tag)vc(t,t,e);else for(var r=t.return;null!==r;){if(3===r.tag){vc(r,t,e);break}if(1===r.tag){var n=r.stateNode;if("function"===typeof r.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===Fs||!Fs.has(n))){co(r,t=ms(r,t=Ja(e,t),1073741823)),null!==(r=$s(r,1073741823))&&Zs(r);break}}r=r.return}}function yc(t,e,r){var n=t.pingCache;null!==n&&n.delete(e),Ss===t&&Es===r?Ms===Os||Ms===xs&&1073741823===js&&Bi()-Rs<500?rc(t,Es):Ds=!0:Pc(t,r)&&(0!==(e=t.lastPingedTime)&&e<r||(t.lastPingedTime=r,Zs(t)))}function wc(t,e){var r=t.stateNode;null!==r&&r.delete(e),0===(e=0)&&(e=Ys(e=Gs(),t,null)),null!==(t=$s(t,e))&&Zs(t)}bs=function(t,e,r){var n=e.expirationTime;if(null!==t){var i=e.pendingProps;if(t.memoizedProps!==i||hi.current)Aa=!0;else{if(n<r){switch(Aa=!1,e.tag){case 3:Ba(e),Ca();break;case 5:if(Ro(e),4&e.mode&&1!==r&&i.hidden)return e.expirationTime=e.childExpirationTime=1,null;break;case 1:mi(e.type)&&yi(e);break;case 4:Po(e,e.stateNode.containerInfo);break;case 10:n=e.memoizedProps.value,i=e.type._context,ui($i,i._currentValue),i._currentValue=n;break;case 13:if(null!==e.memoizedState)return 0!==(n=e.child.childExpirationTime)&&n>=r?qa(t,e,r):(ui(Io,1&Io.current),null!==(e=Xa(t,e,r))?e.sibling:null);ui(Io,1&Io.current);break;case 19:if(n=e.childExpirationTime>=r,0!==(64&t.effectTag)){if(n)return Ya(t,e,r);e.effectTag|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null),ui(Io,Io.current),!n)return null}return Xa(t,e,r)}Aa=!1}}else Aa=!1;switch(e.expirationTime=0,e.tag){case 2:if(n=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,i=pi(e,fi.current),ro(e,r),i=Xo(null,e,n,t,i,r),e.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,mi(n)){var o=!0;yi(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,oo(e);var s=n.getDerivedStateFromProps;"function"===typeof s&&mo(e,n,s,t),i.updater=bo,e.stateNode=i,i._reactInternalFiber=e,wo(e,n,t,r),e=Fa(null,e,n,!0,o,r)}else e.tag=0,Ta(null,e,i,r),e=e.child;return e;case 16:t:{if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=function(t){if("function"===typeof t)return kc(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===ct)return 11;if(t===ft)return 14}return 2}(i),t=Xi(i,t),o){case 0:e=Ia(null,e,i,t,r);break t;case 1:e=Na(null,e,i,t,r);break t;case 11:e=Pa(null,e,i,t,r);break t;case 14:e=Da(null,e,i,Xi(i.type,t),n,r);break t}throw Error(a(306,i,""))}return e;case 0:return n=e.type,i=e.pendingProps,Ia(t,e,n,i=e.elementType===n?i:Xi(n,i),r);case 1:return n=e.type,i=e.pendingProps,Na(t,e,n,i=e.elementType===n?i:Xi(n,i),r);case 3:if(Ba(e),n=e.updateQueue,null===t||null===n)throw Error(a(282));if(n=e.pendingProps,i=null!==(i=e.memoizedState)?i.element:null,ao(t,e),lo(e,n,null,r),(n=e.memoizedState.element)===i)Ca(),e=Xa(t,e,r);else{if((i=e.stateNode.hydrate)&&(xa=wr(e.stateNode.containerInfo.firstChild),wa=e,i=Oa=!0),i)for(r=Eo(e,null,n,r),e.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else Ta(t,e,n,r),Ca();e=e.child}return e;case 5:return Ro(e),null===t&&ka(e),n=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,vr(n,i)?s=null:null!==o&&vr(n,o)&&(e.effectTag|=16),La(t,e),4&e.mode&&1!==r&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Ta(t,e,s,r),e=e.child),e;case 6:return null===t&&ka(e),null;case 13:return qa(t,e,r);case 4:return Po(e,e.stateNode.containerInfo),n=e.pendingProps,null===t?e.child=ko(e,null,n,r):Ta(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,Pa(t,e,n,i=e.elementType===n?i:Xi(n,i),r);case 7:return Ta(t,e,e.pendingProps,r),e.child;case 8:case 12:return Ta(t,e,e.pendingProps.children,r),e.child;case 10:t:{n=e.type._context,i=e.pendingProps,s=e.memoizedProps,o=i.value;var c=e.type._context;if(ui($i,c._currentValue),c._currentValue=o,null!==s)if(c=s.value,0===(o=Nn(c,o)?0:0|("function"===typeof n._calculateChangedBits?n._calculateChangedBits(c,o):1073741823))){if(s.children===i.children&&!hi.current){e=Xa(t,e,r);break t}}else for(null!==(c=e.child)&&(c.return=e);null!==c;){var u=c.dependencies;if(null!==u){s=c.child;for(var l=u.firstContext;null!==l;){if(l.context===n&&0!==(l.observedBits&o)){1===c.tag&&((l=so(r,null)).tag=2,co(c,l)),c.expirationTime<r&&(c.expirationTime=r),null!==(l=c.alternate)&&l.expirationTime<r&&(l.expirationTime=r),eo(c.return,r),u.expirationTime<r&&(u.expirationTime=r);break}l=l.next}}else s=10===c.tag&&c.type===e.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===e){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}Ta(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=(o=e.pendingProps).children,ro(e,r),n=n(i=no(i,o.unstable_observedBits)),e.effectTag|=1,Ta(t,e,n,r),e.child;case 14:return o=Xi(i=e.type,e.pendingProps),Da(t,e,i,o=Xi(i.type,o),n,r);case 15:return Ra(t,e,e.type,e.pendingProps,n,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Xi(n,i),null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),e.tag=1,mi(n)?(t=!0,yi(e)):t=!1,ro(e,r),go(e,n,i),wo(e,n,i,r),Fa(null,e,n,!0,t,r);case 19:return Ya(t,e,r)}throw Error(a(156,e.tag))};var xc=null,Oc=null;function _c(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Sc(t,e,r,n){return new _c(t,e,r,n)}function kc(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Ec(t,e){var r=t.alternate;return null===r?((r=Sc(t.tag,e,t.key,t.mode)).elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childExpirationTime=t.childExpirationTime,r.expirationTime=t.expirationTime,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Mc(t,e,r,n,i,o){var s=2;if(n=t,"function"===typeof t)kc(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case rt:return Cc(r.children,i,o,e);case st:s=8,i|=7;break;case nt:s=8,i|=1;break;case it:return(t=Sc(12,r,e,8|i)).elementType=it,t.type=it,t.expirationTime=o,t;case ut:return(t=Sc(13,r,e,i)).type=ut,t.elementType=ut,t.expirationTime=o,t;case lt:return(t=Sc(19,r,e,i)).elementType=lt,t.expirationTime=o,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case ot:s=10;break t;case at:s=9;break t;case ct:s=11;break t;case ft:s=14;break t;case ht:s=16,n=null;break t;case dt:s=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Sc(s,r,e,i)).elementType=t,e.type=n,e.expirationTime=o,e}function Cc(t,e,r,n){return(t=Sc(7,t,n,e)).expirationTime=r,t}function jc(t,e,r){return(t=Sc(6,t,null,e)).expirationTime=r,t}function Ac(t,e,r){return(e=Sc(4,null!==t.children?t.children:[],t.key,e)).expirationTime=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Tc(t,e,r){this.tag=e,this.current=null,this.containerInfo=t,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Pc(t,e){var r=t.firstSuspendedTime;return t=t.lastSuspendedTime,0!==r&&r>=e&&t<=e}function Dc(t,e){var r=t.firstSuspendedTime,n=t.lastSuspendedTime;r<e&&(t.firstSuspendedTime=e),(n>e||0===r)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function Rc(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var r=t.firstSuspendedTime;0!==r&&(e>=r?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function Lc(t,e){var r=t.lastExpiredTime;(0===r||r>e)&&(t.lastExpiredTime=e)}function Ic(t,e,r,n){var i=e.current,o=Gs(),s=ho.suspense;o=Ys(o,i,s);t:if(r){e:{if(Qt(r=r._reactInternalFiber)!==r||1!==r.tag)throw Error(a(170));var c=r;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(mi(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(null!==c);throw Error(a(171))}if(1===r.tag){var u=r.type;if(mi(u)){r=gi(r,u,c);break t}}r=c}else r=li;return null===e.context?e.context=r:e.pendingContext=r,(e=so(o,s)).payload={element:t},null!==(n=void 0===n?null:n)&&(e.callback=n),co(i,e),Xs(i,o),o}function Nc(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function Fc(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime<e&&(t.retryTime=e)}function Bc(t,e){Fc(t,e),(t=t.alternate)&&Fc(t,e)}function zc(t,e,r){var n=new Tc(t,e,r=null!=r&&!0===r.hydrate),i=Sc(3,null,null,2===e?7:1===e?3:0);n.current=i,i.stateNode=n,oo(i),t[kr]=n.current,r&&0!==e&&function(t,e){var r=Jt(e);Ee.forEach((function(t){pe(t,e,r)})),Me.forEach((function(t){pe(t,e,r)}))}(0,9===t.nodeType?t:t.ownerDocument),this._internalRoot=n}function Hc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function Uc(t,e,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if("function"===typeof i){var s=i;i=function(){var t=Nc(a);s.call(t)}}Ic(e,a,t,i)}else{if(o=r._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var r;r=t.lastChild;)t.removeChild(r);return new zc(t,0,e?{hydrate:!0}:void 0)}(r,n),a=o._internalRoot,"function"===typeof i){var c=i;i=function(){var t=Nc(a);c.call(t)}}ec((function(){Ic(e,a,t,i)}))}return Nc(a)}function Wc(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:et,key:null==n?null:""+n,children:t,containerInfo:e,implementation:r}}function qc(t,e){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hc(e))throw Error(a(200));return Wc(t,e,null,r)}zc.prototype.render=function(t){Ic(t,this._internalRoot,null,null)},zc.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;Ic(null,t,null,(function(){e[kr]=null}))},me=function(t){if(13===t.tag){var e=Yi(Gs(),150,100);Xs(t,e),Bc(t,e)}},be=function(t){13===t.tag&&(Xs(t,3),Bc(t,3))},ve=function(t){if(13===t.tag){var e=Gs();Xs(t,e=Ys(e,t,null)),Bc(t,e)}},C=function(t,e,r){switch(e){case"input":if(kt(t,r),e=r.name,"radio"===r.type&&null!=e){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=jr(n);if(!i)throw Error(a(90));xt(n),kt(n,i)}}}break;case"textarea":Pt(t,r);break;case"select":null!=(e=r.value)&&jt(t,!!r.multiple,e,!1)}},R=tc,L=function(t,e,r,n,i){var o=_s;_s|=4;try{return Ui(98,t.bind(null,e,r,n,i))}finally{0===(_s=o)&&Vi()}},I=function(){0===(49&_s)&&(function(){if(null!==Us){var t=Us;Us=null,t.forEach((function(t,e){Lc(e,t),Zs(e)})),Vi()}}(),mc())},N=function(t,e){var r=_s;_s|=2;try{return t(e)}finally{0===(_s=r)&&Vi()}};var Vc={Events:[Mr,Cr,jr,E,_,Ir,function(t){ie(t,Lr)},P,D,Ze,se,mc,{current:!1}]};!function(t){var e=t.findFiberByHostInstance;(function(t){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var r=e.inject(t);xc=function(t){try{e.onCommitFiberRoot(r,t,void 0,64===(64&t.current.effectTag))}catch(n){}},Oc=function(t){try{e.onCommitFiberUnmount(r,t)}catch(n){}}}catch(n){}})(i({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:K.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=re(t))?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Er,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vc,e.createPortal=qc,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternalFiber;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=re(e))?null:t.stateNode},e.flushSync=function(t,e){if(0!==(48&_s))throw Error(a(187));var r=_s;_s|=1;try{return Ui(99,t.bind(null,e))}finally{_s=r,Vi()}},e.hydrate=function(t,e,r){if(!Hc(e))throw Error(a(200));return Uc(null,t,e,!0,r)},e.render=function(t,e,r){if(!Hc(e))throw Error(a(200));return Uc(null,t,e,!1,r)},e.unmountComponentAtNode=function(t){if(!Hc(t))throw Error(a(40));return!!t._reactRootContainer&&(ec((function(){Uc(null,null,t,!1,(function(){t._reactRootContainer=null,t[kr]=null}))})),!0)},e.unstable_batchedUpdates=tc,e.unstable_createPortal=function(t,e){return qc(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!Hc(r))throw Error(a(200));if(null==t||void 0===t._reactInternalFiber)throw Error(a(38));return Uc(t,e,r,!1,n)},e.version="16.14.0"},function(t,e,r){"use strict";t.exports=r(931)},function(t,e,r){"use strict";var n,i,o,a,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,u=null,l=function t(){if(null!==c)try{var r=e.unstable_now();c(!0,r),c=null}catch(n){throw setTimeout(t,0),n}},f=Date.now();e.unstable_now=function(){return Date.now()-f},n=function(t){null!==c?setTimeout(n,0,t):(c=t,setTimeout(l,0))},i=function(t,e){u=setTimeout(t,e)},o=function(){clearTimeout(u)},a=function(){return!1},s=e.unstable_forceFrameRate=function(){}}else{var h=window.performance,d=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!==typeof console){var b=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof h&&"function"===typeof h.now)e.unstable_now=function(){return h.now()};else{var v=d.now();e.unstable_now=function(){return d.now()-v}}var g=!1,y=null,w=-1,x=5,O=0;a=function(){return e.unstable_now()>=O},s=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<t?Math.floor(1e3/t):5};var _=new MessageChannel,S=_.port2;_.port1.onmessage=function(){if(null!==y){var t=e.unstable_now();O=t+x;try{y(!0,t)?S.postMessage(null):(g=!1,y=null)}catch(r){throw S.postMessage(null),r}}else g=!1},n=function(t){y=t,g||(g=!0,S.postMessage(null))},i=function(t,r){w=p((function(){t(e.unstable_now())}),r)},o=function(){m(w),w=-1}}function k(t,e){var r=t.length;t.push(e);t:for(;;){var n=r-1>>>1,i=t[n];if(!(void 0!==i&&0<C(i,e)))break t;t[n]=e,t[r]=i,r=n}}function E(t){return void 0===(t=t[0])?null:t}function M(t){var e=t[0];if(void 0!==e){var r=t.pop();if(r!==e){t[0]=r;t:for(var n=0,i=t.length;n<i;){var o=2*(n+1)-1,a=t[o],s=o+1,c=t[s];if(void 0!==a&&0>C(a,r))void 0!==c&&0>C(c,a)?(t[n]=c,t[s]=r,n=s):(t[n]=a,t[o]=r,n=o);else{if(!(void 0!==c&&0>C(c,r)))break t;t[n]=c,t[s]=r,n=s}}}return e}return null}function C(t,e){var r=t.sortIndex-e.sortIndex;return 0!==r?r:t.id-e.id}var j=[],A=[],T=1,P=null,D=3,R=!1,L=!1,I=!1;function N(t){for(var e=E(A);null!==e;){if(null===e.callback)M(A);else{if(!(e.startTime<=t))break;M(A),e.sortIndex=e.expirationTime,k(j,e)}e=E(A)}}function F(t){if(I=!1,N(t),!L)if(null!==E(j))L=!0,n(B);else{var e=E(A);null!==e&&i(F,e.startTime-t)}}function B(t,r){L=!1,I&&(I=!1,o()),R=!0;var n=D;try{for(N(r),P=E(j);null!==P&&(!(P.expirationTime>r)||t&&!a());){var s=P.callback;if(null!==s){P.callback=null,D=P.priorityLevel;var c=s(P.expirationTime<=r);r=e.unstable_now(),"function"===typeof c?P.callback=c:P===E(j)&&M(j),N(r)}else M(j);P=E(j)}if(null!==P)var u=!0;else{var l=E(A);null!==l&&i(F,l.startTime-r),u=!1}return u}finally{P=null,D=n,R=!1}}function z(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var H=s;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){L||R||(L=!0,n(B))},e.unstable_getCurrentPriorityLevel=function(){return D},e.unstable_getFirstCallbackNode=function(){return E(j)},e.unstable_next=function(t){switch(D){case 1:case 2:case 3:var e=3;break;default:e=D}var r=D;D=e;try{return t()}finally{D=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=H,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=D;D=t;try{return e()}finally{D=r}},e.unstable_scheduleCallback=function(t,r,a){var s=e.unstable_now();if("object"===typeof a&&null!==a){var c=a.delay;c="number"===typeof c&&0<c?s+c:s,a="number"===typeof a.timeout?a.timeout:z(t)}else a=z(t),c=s;return t={id:T++,callback:r,priorityLevel:t,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>s?(t.sortIndex=c,k(A,t),null===E(j)&&t===E(A)&&(I?o():I=!0,i(F,c-s))):(t.sortIndex=a,k(j,t),L||R||(L=!0,n(B))),t},e.unstable_shouldYield=function(){var t=e.unstable_now();N(t);var r=E(j);return r!==P&&null!==P&&null!==r&&null!==r.callback&&r.startTime<=t&&r.expirationTime<P.expirationTime||a()},e.unstable_wrapCallback=function(t){var e=D;return function(){var r=D;D=e;try{return t.apply(this,arguments)}finally{D=r}}}},,,function(t,e,r){"use strict";var n=r(935);function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";var n="function"===typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function O(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case f:case h:case a:case c:case s:case p:return t;default:switch(t=t&&t.$$typeof){case l:case d:case v:case b:case u:return t;default:return e}}case o:return e}}}function _(t){return O(t)===h}e.AsyncMode=f,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=u,e.Element=i,e.ForwardRef=d,e.Fragment=a,e.Lazy=v,e.Memo=b,e.Portal=o,e.Profiler=c,e.StrictMode=s,e.Suspense=p,e.isAsyncMode=function(t){return _(t)||O(t)===f},e.isConcurrentMode=_,e.isContextConsumer=function(t){return O(t)===l},e.isContextProvider=function(t){return O(t)===u},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return O(t)===d},e.isFragment=function(t){return O(t)===a},e.isLazy=function(t){return O(t)===v},e.isMemo=function(t){return O(t)===b},e.isPortal=function(t){return O(t)===o},e.isProfiler=function(t){return O(t)===c},e.isStrictMode=function(t){return O(t)===s},e.isSuspense=function(t){return O(t)===p},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===h||t===c||t===s||t===p||t===m||"object"===typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===b||t.$$typeof===u||t.$$typeof===l||t.$$typeof===d||t.$$typeof===y||t.$$typeof===w||t.$$typeof===x||t.$$typeof===g)},e.typeOf=O},function(t,e){var r=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&r.call(t,e)}},function(t,e,r){var n=r(390),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(c){}var i=a.call(t);return n&&(e?t[s]=r:delete t[s]),i}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n=r(941),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)})),e}));t.exports=a},function(t,e,r){var n=r(942);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},function(t,e,r){var n=r(584);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function r(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},function(t,e,r){var n=r(944),i=r(468),o=r(586);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},function(t,e,r){var n=r(945),i=r(950),o=r(951),a=r(952),s=r(953);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,t.exports=c},function(t,e,r){var n=r(467);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e,r){var n=r(44),i=r(947),o=r(150),a=r(688),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(n(t)?h:s).test(a(t))}},function(t,e,r){var n=r(948),i=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(214)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(467),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(467),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)}},function(t,e,r){var n=r(467);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(469),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(469);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(469);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(469);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},function(t,e,r){var n=r(470);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(470);t.exports=function(t){return n(this,t).get(t)}},function(t,e,r){var n=r(470);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(470);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}},function(t,e,r){var n=r(390),i=r(587),o=r(68),a=r(344),s=n?n.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},function(t,e,r){var n=r(263),i=r(264);t.exports=function(t){return i(t)&&"[object Arguments]"==n(t)}},function(t,e,r){var n=r(967)();t.exports=n},function(t,e){t.exports=function(t){return function(e,r,n){for(var i=-1,o=Object(e),a=n(e),s=a.length;s--;){var c=a[t?s:++i];if(!1===r(o[c],c,o))break}return e}}},function(t,e,r){var n=r(969),i=r(588),o=r(68),a=r(691),s=r(589),c=r(692),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=o(t),l=!r&&i(t),f=!r&&!l&&a(t),h=!r&&!l&&!f&&c(t),d=r||l||f||h,p=d?n(t.length,String):[],m=p.length;for(var b in t)!e&&!u.call(t,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||h&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e){t.exports=function(){return!1}},function(t,e,r){var n=r(263),i=r(590),o=r(264),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[n(t)]}},function(t,e,r){(function(t){var n=r(687),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s}).call(this,r(203)(t))},function(t,e,r){var n=r(974),i=r(975),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=[];for(var r in Object(t))o.call(t,r)&&"constructor"!=r&&e.push(r);return e}},function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){var n=r(976)(Object.keys,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(978),i=r(1e3),o=r(702);t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},function(t,e,r){var n=r(694),i=r(592);t.exports=function(t,e,r,o){var a=r.length,s=a,c=!o;if(null==t)return!s;for(t=Object(t);a--;){var u=r[a];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<s;){var l=(u=r[a])[0],f=t[l],h=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var d=new n;if(o)var p=o(f,h,l,t,e,d);if(!(void 0===p?i(h,f,3,o,d):p))return!1}}return!0}},function(t,e,r){var n=r(468);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(468),i=r(586),o=r(584);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(694),i=r(695),o=r(987),a=r(990),s=r(996),c=r(68),u=r(691),l=r(692),f="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,d,p,m){var b=c(t),v=c(e),g=b?"[object Array]":s(t),y=v?"[object Array]":s(e),w=(g="[object Arguments]"==g?f:g)==f,x=(y="[object Arguments]"==y?f:y)==f,O=g==y;if(O&&u(t)){if(!u(e))return!1;b=!0,w=!1}if(O&&!w)return m||(m=new n),b||l(t)?i(t,e,r,d,p,m):o(t,e,g,r,d,p,m);if(!(1&r)){var _=w&&h.call(t,"__wrapped__"),S=x&&h.call(e,"__wrapped__");if(_||S){var k=_?t.value():t,E=S?e.value():e;return m||(m=new n),p(k,E,r,d,m)}}return!!O&&(m||(m=new n),a(t,e,r,d,p,m))}},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(390),i=r(988),o=r(585),a=r(695),s=r(989),c=r(593),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;t.exports=function(t,e,r,n,u,f,h){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var p=1&n;if(d||(d=c),t.size!=e.size&&!p)return!1;var m=h.get(t);if(m)return m==e;n|=2,h.set(t,e);var b=a(d(t),d(e),n,u,f,h);return h.delete(t),b;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},function(t,e,r){var n=r(214).Uint8Array;t.exports=n},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},function(t,e,r){var n=r(991),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,o,a,s){var c=1&r,u=n(t),l=u.length;if(l!=n(e).length&&!c)return!1;for(var f=l;f--;){var h=u[f];if(!(c?h in e:i.call(e,h)))return!1}var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var m=!0;s.set(t,e),s.set(e,t);for(var b=c;++f<l;){var v=t[h=u[f]],g=e[h];if(o)var y=c?o(g,v,h,e,t,s):o(v,g,h,t,e,s);if(!(void 0===y?v===g||a(v,g,r,o,s):y)){m=!1;break}b||(b="constructor"==h)}if(m&&!b){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(t),s.delete(e),m}},function(t,e,r){var n=r(992),i=r(993),o=r(472);t.exports=function(t){return n(t,o,i)}},function(t,e,r){var n=r(699),i=r(68);t.exports=function(t,e,r){var o=e(t);return i(t)?o:n(o,r(t))}},function(t,e,r){var n=r(994),i=r(995),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(997),i=r(586),o=r(998),a=r(700),s=r(999),c=r(263),u=r(688),l=u(n),f=u(i),h=u(o),d=u(a),p=u(s),m=c;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,n=r?u(r):"";if(n)switch(n){case l:return"[object DataView]";case f:return"[object Map]";case h:return"[object Promise]";case d:return"[object Set]";case p:return"[object WeakMap]"}return e}),t.exports=m},function(t,e,r){var n=r(312)(r(214),"DataView");t.exports=n},function(t,e,r){var n=r(312)(r(214),"Promise");t.exports=n},function(t,e,r){var n=r(312)(r(214),"WeakMap");t.exports=n},function(t,e,r){var n=r(701),i=r(472);t.exports=function(t){for(var e=i(t),r=e.length;r--;){var o=e[r],a=t[o];e[r]=[o,a,n(a)]}return e}},function(t,e,r){var n=r(592),i=r(114),o=r(1002),a=r(583),s=r(701),c=r(702),u=r(471);t.exports=function(t,e){return a(t)&&s(e)?c(u(t),e):function(r){var a=i(r,t);return void 0===a&&a===e?o(r,t):n(e,a,3)}}},function(t,e,r){var n=r(1003),i=r(685);t.exports=function(t,e){return null!=t&&i(t,e,n)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,r){var n=r(1005),i=r(1006),o=r(583),a=r(471);t.exports=function(t){return o(t)?n(a(t)):i(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,r){var n=r(594);t.exports=function(t){return function(e){return n(e,t)}}},function(t,e){t.exports=function(t,e,r,n){var i=-1,o=null==t?0:t.length;for(n&&o&&(r=t[++i]);++i<o;)r=e(r,t[i],i,t);return r}},function(t,e,r){var n=r(1009),i=r(391),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=i(t))&&t.replace(o,n).replace(a,"")}},function(t,e,r){var n=r(1010)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});t.exports=n},function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},function(t,e,r){var n=r(1012),i=r(1013),o=r(391),a=r(1014);t.exports=function(t,e,r){return t=o(t),void 0===(e=r?void 0:e)?i(t)?a(t):n(t):t.match(e)||[]}},function(t,e){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(r)||[]}},function(t,e){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return r.test(t)}},function(t,e){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+r+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+s+")",h="(?:"+l+"|"+s+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,u].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),m="(?:"+[o,c,u].join("|")+")"+p,b=RegExp([l+"?"+a+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[n,l,"$"].join("|")+")",h+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[n,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",l+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,m].join("|"),"g");t.exports=function(t){return t.match(b)||[]}},function(t,e,r){var n=r(391),i=r(281);t.exports=function(t){return i(n(t).toLowerCase())}},function(t,e,r){var n=r(1017),i=r(704),o=r(1019),a=r(391);t.exports=function(t){return function(e){e=a(e);var r=i(e)?o(e):void 0,s=r?r[0]:e.charAt(0),c=r?n(r,1).join(""):e.slice(1);return s[t]()+c}}},function(t,e,r){var n=r(1018);t.exports=function(t,e,r){var i=t.length;return r=void 0===r?i:r,!e&&r>=i?t:n(t,e,r)}},function(t,e){t.exports=function(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n<i;)o[n]=t[n+e];return o}},function(t,e,r){var n=r(1020),i=r(704),o=r(1021);t.exports=function(t){return i(t)?o(t):n(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+n+"|"+i+")"+"?",u="[\\ufe0e\\ufe0f]?"+c+("(?:\\u200d(?:"+[o,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*"),l="(?:"+[o+n+"?",n,a,s,r].join("|")+")",f=RegExp(i+"(?="+i+")|"+l+u,"g");t.exports=function(t){return t.match(f)||[]}},function(t,e,r){var n=r(71).Buffer,i=r(707),o=r(712),a=r(473),s=r(761),c=r(475);function u(t,e){return n.from(t,e).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function l(t){var e=t.header,r=t.payload,n=t.secret||t.privateKey,i=t.encoding,a=o(e.alg),l=function(t,e,r){r=r||"utf8";var n=u(s(t),"binary"),i=u(s(e),r);return c.format("%s.%s",n,i)}(e,r,i),f=a.sign(l,n);return c.format("%s.%s",l,f)}function f(t){var e=t.secret||t.privateKey||t.key,r=new i(e);this.readable=!0,this.header=t.header,this.encoding=t.encoding,this.secret=this.privateKey=this.key=r,this.payload=new i(t.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}c.inherits(f,a),f.prototype.sign=function(){try{var t=l({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",t),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},f.sign=l,t.exports=f},function(t,e,r){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=u(t),a=n[0],s=n[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,c[l++]=255&e);1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e);return c},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=0,s=r-i;a<s;a+=16383)o.push(l(t,a,a+16383>s?s:a+16383));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,h=r?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=u}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*c-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;t[r+d]=255&a,d+=p,a/=256,u-=8);t[r+d-p]|=128*m}},,function(t,e,r){"use strict";var n=r(71).Buffer,i=r(1027);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i,o=n.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,r=o,i=s,e.copy(r,i),s+=a.data.length,a=a.next;return o},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,r){(function(t,e){!function(t,r){"use strict";if(!t.setImmediate){var n,i=1,o={},a=!1,s=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick((function(){l(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?function(){var e="setImmediate$"+Math.random()+"$",r=function(r){r.source===t&&"string"===typeof r.data&&0===r.data.indexOf(e)&&l(+r.data.slice(e.length))};t.addEventListener?t.addEventListener("message",r,!1):t.attachEvent("onmessage",r),n=function(r){t.postMessage(e+r,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){l(t.data)},n=function(e){t.port2.postMessage(e)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var t=s.documentElement;n=function(e){var r=s.createElement("script");r.onreadystatechange=function(){l(e),r.onreadystatechange=null,t.removeChild(r),r=null},t.appendChild(r)}}():n=function(t){setTimeout(l,0,t)},c.setImmediate=function(t){"function"!==typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var a={callback:t,args:e};return o[i]=a,n(i),i++},c.clearImmediate=u}function u(t){delete o[t]}function l(t){if(a)setTimeout(l,0,t);else{var e=o[t];if(e){a=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{u(t),a=!1}}}}}("undefined"===typeof self?"undefined"===typeof t?this:t:self)}).call(this,r(120),r(112))},function(t,e,r){"use strict";t.exports=o;var n=r(711),i=Object.create(r(393));function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}i.inherits=r(53),i.inherits(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){t.exports=r(597)},function(t,e,r){t.exports=r(313)},function(t,e,r){t.exports=r(596).Transform},function(t,e,r){t.exports=r(596).PassThrough},function(t,e){t.exports=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},function(t,e){"function"===typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e,r){"use strict";var n=r(121).Buffer,i=r(121).SlowBuffer;function o(t,e){if(!n.isBuffer(t)||!n.isBuffer(e))return!1;if(t.length!==e.length)return!1;for(var r=0,i=0;i<t.length;i++)r|=t[i]^e[i];return 0===r}t.exports=o,o.install=function(){n.prototype.equal=i.prototype.equal=function(t){return o(this,t)}};var a=n.prototype.equal,s=i.prototype.equal;o.restore=function(){n.prototype.equal=a,i.prototype.equal=s}},function(t,e,r){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(346),e.createHash=e.Hash=r(394),e.createHmac=e.Hmac=r(722);var n=r(1052),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=r(725);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=r(1054);e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var c=r(1069);e.DiffieHellmanGroup=c.DiffieHellmanGroup,e.createDiffieHellmanGroup=c.createDiffieHellmanGroup,e.getDiffieHellman=c.getDiffieHellman,e.createDiffieHellman=c.createDiffieHellman,e.DiffieHellman=c.DiffieHellman;var u=r(1076);e.createSign=u.createSign,e.Sign=u.Sign,e.createVerify=u.createVerify,e.Verify=u.Verify,e.createECDH=r(1117);var l=r(1120);e.publicEncrypt=l.publicEncrypt,e.privateEncrypt=l.privateEncrypt,e.publicDecrypt=l.publicDecrypt,e.privateDecrypt=l.privateDecrypt;var f=r(1124);e.randomFill=f.randomFill,e.randomFillSync=f.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(t,e,r){var n=r(121),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"===typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){(e=t.exports=r(714)).Stream=e,e.Readable=e,e.Writable=r(718),e.Duplex=r(348),e.Transform=r(719),e.PassThrough=r(1045),e.finished=r(601),e.pipeline=r(1046)},,function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=r(121).Buffer,s=r(1042).inspect,c=s&&s.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,u;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n,i=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0===(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:c,value:function(t,e){return s(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,r),u&&o(e,u),t}()},,function(t,e,r){"use strict";(function(e){var n;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(601),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var r=t[h].read();null!==r&&(t[l]=null,t[a]=null,t[s]=null,e(d(r,!1)))}}function m(t){e.nextTick(p,t)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var t=this,r=this[c];if(null!==r)return Promise.reject(r);if(this[u])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[c]?n(t[c]):r(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[u]?r(d(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[h].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),b);t.exports=function(t){var e,r=Object.create(v,(i(e={},h,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,c,{value:null,writable:!0}),i(e,u,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,t(d(n,!1))):(r[a]=t,r[s]=e)},writable:!0}),e));return r[l]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[l]=null,r[a]=null,r[s]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[u]=!0})),t.on("readable",m.bind(null,r)),r}}).call(this,r(112))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=i;var n=r(719);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(53)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var i=r(347).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function c(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=r(601)),n(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var c=!1;return function(e){if(!s&&!c)return c=!0,function(t){return t.setHeader&&"function"===typeof t.abort}(t)?t.abort():"function"===typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function u(t){t()}function l(t,e){return t.pipe(e)}function f(t){return t.length?"function"!==typeof t[t.length-1]?s:t.pop():s}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,r){var o=r<e.length-1;return c(t,o,r>0,(function(t){n||(n=t),t&&a.forEach(u),o||(a.forEach(u),i(n))}))}));return e.reduce(l)}},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<30|t>>>2}function l(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=t.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var h=0;h<80;++h){var d=~~(h/20),p=0|((e=n)<<5|e>>>27)+l(d,i,o,s)+c+r[h]+a[d];c=s,s=o,o=u(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},function(t,e,r){var n=r(53),i=r(349),o=r(71).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function u(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function f(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,h=0;h<16;++h)r[h]=t.readInt32BE(4*h);for(;h<80;++h)r[h]=(e=r[h-3]^r[h-8]^r[h-14]^r[h-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=u(n)+f(p,i,o,s)+c+r[d]+a[p]|0;c=s,s=o,o=l(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},function(t,e,r){var n=r(53),i=r(720),o=r(349),a=r(71).Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}n(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=c},function(t,e,r){var n=r(53),i=r(721),o=r(349),a=r(71).Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}n(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=c},function(t,e,r){"use strict";var n=r(53),i=r(71).Buffer,o=r(267),a=i.alloc(128);function s(t,e){o.call(this,"digest"),"string"===typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=i.concat([e,a],64));for(var r=this._ipad=i.allocUnsafe(64),n=this._opad=i.allocUnsafe(64),s=0;s<64;s++)r[s]=54^e[s],n[s]=92^e[s];this._hash=[r]}n(s,o),s.prototype._update=function(t){this._hash.push(t)},s.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=s},function(t,e,r){t.exports=r(724)},function(t,e,r){(function(e){var n,i,o=r(71).Buffer,a=r(726),s=r(727),c=r(728),u=r(729),l=e.crypto&&e.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(){return i||(i=e.process&&e.process.nextTick?e.process.nextTick:e.queueMicrotask?e.queueMicrotask:e.setImmediate?e.setImmediate:e.setTimeout)}function p(t,e,r,n,i){return l.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return l.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:i}},t,n<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,r,i,m,b,v){"function"===typeof b&&(v=b,b=void 0);var g=f[(b=b||"sha1").toLowerCase()];if(g&&"function"===typeof e.Promise){if(a(i,m),t=u(t,s,"Password"),r=u(r,s,"Salt"),"function"!==typeof v)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){d()((function(){e(null,t)}))}),(function(t){d()((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==h[t])return h[t];var r=p(n=n||o.alloc(8),n,10,128,t).then((function(){return!0})).catch((function(){return!1}));return h[t]=r,r}(g).then((function(e){return e?p(t,r,i,m,g):c(t,r,i,m,b)})),v)}else d()((function(){var e;try{e=c(t,r,i,m,b)}catch(n){return v(n)}v(null,e)}))}}).call(this,r(120))},function(t,e,r){var n=r(1055),i=r(605),o=r(606),a=r(1068),s=r(477);function c(t,e,r){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function u(t,e,r){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return c(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=c,e.createDecipher=e.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return u(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=u,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},function(t,e,r){var n=r(267),i=r(1056),o=r(53),a=r(71).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(t){n.call(this);var e,r=t.mode.toLowerCase(),i=s[r];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var c=t.iv;a.isBuffer(c)||(c=a.from(c)),this._des=i.create({key:o,iv:c,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=c,o(c,n),c.prototype._update=function(t){return a.from(this._des.update(t))},c.prototype._final=function(){return a.from(this._des.final())}},function(t,e,r){"use strict";e.utils=r(730),e.Cipher=r(604),e.DES=r(731),e.CBC=r(1057),e.EDE=r(1058)},function(t,e,r){"use strict";var n=r(190),i=r(53),o={};function a(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];o._update.call(this,a,0,r,n);for(s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{o._update.call(this,t,e,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},function(t,e,r){"use strict";var n=r(190),i=r(53),o=r(604),a=r(731);function s(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function c(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(c,o),t.exports=c,c.create=function(t){return new c(t)},c.prototype._update=function(t,e,r,n){var i=this._edeState;i.ciphers[0]._update(t,e,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad},function(t,e,r){var n=r(606),i=r(735),o=r(71).Buffer,a=r(736),s=r(267),c=r(476),u=r(477);function l(t,e,r){s.call(this),this._cache=new h,this._cipher=new c.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}r(53)(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return o.concat(n)};var f=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function d(t,e,r){var s=n[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"===typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,e,r):"auth"===s.type?new i(s.module,e,r):new l(s.module,e,r)}l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=o.concat([this.cache,t])},h.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},h.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),r=-1;++r<t;)e.writeUInt8(t,r);return o.concat([this.cache,e])},e.createCipheriv=d,e.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(e,!1,r.key,r.iv);return d(t,i.key,i.iv)}},function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},function(t,e,r){var n=r(395);e.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},e.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},function(t,e,r){var n=r(71).Buffer,i=r(395);function o(t,e,r){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=n.concat([t._prev,r?e:a]),a}e.encrypt=function(t,e,r){for(var i,a=n.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=e.length)){a=n.concat([a,o(t,e,r)]);break}i=t._cache.length,a=n.concat([a,o(t,e.slice(0,i),r)]),e=e.slice(i)}return a}},function(t,e,r){var n=r(71).Buffer;function i(t,e,r){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:i])]),i}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},function(t,e,r){var n=r(71).Buffer;function i(t,e,r){for(var n,i,a=-1,s=0;++a<8;)n=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^n))>>a%8,t._prev=o(t._prev,r?n:i);return s}function o(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},function(t,e,r){(function(t){var n=r(395);function i(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,i(e)]);var o=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,o)}}).call(this,r(121).Buffer)},function(t,e,r){var n=r(71).Buffer,i=n.alloc(16,0);function o(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!==(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!==(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},function(t,e,r){var n=r(735),i=r(71).Buffer,o=r(606),a=r(736),s=r(267),c=r(476),u=r(477);function l(t,e,r){s.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(e),this._prev=i.from(r),this._mode=t,this._autopadding=!0}function f(){this.cache=i.allocUnsafe(0)}function h(t,e,r){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"===typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"===typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,r,!0):"auth"===s.type?new n(s.module,e,r,!0):new l(s.module,e,r)}r(53)(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return i.concat(n)},l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var r=-1;for(;++r<e;)if(t[r+(16-e)]!==e)throw new Error("unable to decrypt data");if(16===e)return;return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=i.concat([this.cache,t])},f.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(e,!1,r.key,r.iv);return h(t,n.key,n.iv)},e.createDecipheriv=h},function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},function(t,e,r){(function(t){var n=r(737),i=r(1074),o=r(1075);var a={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var r=new t(i[e].prime,"hex"),n=new t(i[e].gen,"hex");return new o(r,n)},e.createDiffieHellman=e.DiffieHellman=function e(r,i,s,c){return t.isBuffer(i)||void 0===a[i]?e(r,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new t([2]),t.isBuffer(s)||(s=new t(s,c)),"number"===typeof r?new o(n(r,s),s,!0):(t.isBuffer(r)||(r=new t(r,i)),new o(r,s,!0)))}}).call(this,r(121).Buffer)},,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1072).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},,,function(t){t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(t,e,r){(function(e){var n=r(738),i=new(r(739)),o=new n(24),a=new n(11),s=new n(10),c=new n(3),u=new n(7),l=r(737),f=r(346);function h(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._pub=new n(t),this}function d(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._priv=new n(t),this}t.exports=m;var p={};function m(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=d):this._primeCode=8}function b(t,r){var n=new e(t.toArray());return r?n.toString(r):n}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!==typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in p)return p[n];var f,h=0;if(t.isEven()||!l.simpleSieve||!l.fermatTest(t)||!i.test(t))return h+=1,h+="02"===r||"05"===r?8:4,p[n]=h,h;switch(i.test(t.shrn(1))||(h+=2),r){case"02":t.mod(o).cmp(a)&&(h+=8);break;case"05":(f=t.mod(s)).cmp(c)&&f.cmp(u)&&(h+=8);break;default:h+=4}return p[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(t){var r=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new e(r.toArray()),o=this.getPrime();if(i.length<o.length){var a=new e(o.length-i.length);a.fill(0),i=e.concat([a,i])}return i},m.prototype.getPublicKey=function(t){return b(this._pub,t)},m.prototype.getPrivateKey=function(t){return b(this._priv,t)},m.prototype.getPrime=function(t){return b(this.__prime,t)},m.prototype.getGenerator=function(t){return b(this._gen,t)},m.prototype.setGenerator=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.__gen=t,this._gen=new n(t),this}}).call(this,r(121).Buffer)},function(t,e,r){var n=r(608).Buffer,i=r(394),o=r(1077),a=r(53),s=r(1085),c=r(1116),u=r(724);function l(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){o.Writable.call(this);var e=u[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){return new l(t)}function d(t){return new f(t)}Object.keys(u).forEach((function(t){u[t].id=n.from(u[t].id,"hex"),u[t.toLowerCase()]=u[t]})),a(l,o.Writable),l.prototype._write=function(t,e,r){this._hash.update(t),r()},l.prototype.update=function(t,e){return"string"===typeof t&&(t=n.from(t,e)),this._hash.update(t),this},l.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=s(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},a(f,o.Writable),f.prototype._write=function(t,e,r){this._hash.update(t),r()},f.prototype.update=function(t,e){return"string"===typeof t&&(t=n.from(t,e)),this._hash.update(t),this},f.prototype.verify=function(t,e,r){"string"===typeof e&&(e=n.from(e,r)),this.end();var i=this._hash.digest();return c(e,i,t,this._signType,this._tag)},t.exports={Sign:h,Verify:d,createSign:h,createVerify:d}},function(t,e,r){(e=t.exports=r(740)).Stream=e,e.Readable=e,e.Writable=r(744),e.Duplex=r(351),e.Transform=r(745),e.PassThrough=r(1083),e.finished=r(609),e.pipeline=r(1084)},,function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=r(121).Buffer,s=r(1080).inspect,c=s&&s.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,u;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return a.alloc(0);for(var e,r,n,i=a.allocUnsafe(t>>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0===(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:c,value:function(t,e){return s(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&o(e.prototype,r),u&&o(e,u),t}()},,function(t,e,r){"use strict";(function(e){var n;function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(609),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),l=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function d(t,e){return{value:t,done:e}}function p(t){var e=t[a];if(null!==e){var r=t[h].read();null!==r&&(t[l]=null,t[a]=null,t[s]=null,e(d(r,!1)))}}function m(t){e.nextTick(p,t)}var b=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var t=this,r=this[c];if(null!==r)return Promise.reject(r);if(this[u])return Promise.resolve(d(void 0,!0));if(this[h].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[c]?n(t[c]):r(d(void 0,!0))}))}));var n,i=this[l];if(i)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[u]?r(d(void 0,!0)):e[f](r,n)}),n)}}(i,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(d(o,!1));n=new Promise(this[f])}return this[l]=n,n}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var t=this;return new Promise((function(e,r){t[h].destroy(null,(function(t){t?r(t):e(d(void 0,!0))}))}))})),n),b);t.exports=function(t){var e,r=Object.create(v,(i(e={},h,{value:t,writable:!0}),i(e,a,{value:null,writable:!0}),i(e,s,{value:null,writable:!0}),i(e,c,{value:null,writable:!0}),i(e,u,{value:t._readableState.endEmitted,writable:!0}),i(e,f,{value:function(t,e){var n=r[h].read();n?(r[l]=null,r[a]=null,r[s]=null,t(d(n,!1))):(r[a]=t,r[s]=e)},writable:!0}),e));return r[l]=null,o(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[s];return null!==e&&(r[l]=null,r[a]=null,r[s]=null,e(t)),void(r[c]=t)}var n=r[a];null!==n&&(r[l]=null,r[a]=null,r[s]=null,n(d(void 0,!0))),r[u]=!0})),t.on("readable",m.bind(null,r)),r}}).call(this,r(112))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=i;var n=r(745);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(53)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var i=r(350).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function c(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=r(609)),n(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var c=!1;return function(e){if(!s&&!c)return c=!0,function(t){return t.setHeader&&"function"===typeof t.abort}(t)?t.abort():"function"===typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}function u(t){t()}function l(t,e){return t.pipe(e)}function f(t){return t.length?"function"!==typeof t[t.length-1]?s:t.pop():s}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var a=e.map((function(t,r){var o=r<e.length-1;return c(t,o,r>0,(function(t){n||(n=t),t&&a.forEach(u),o||(a.forEach(u),i(n))}))}));return e.reduce(l)}},function(t,e,r){var n=r(608).Buffer,i=r(722),o=r(610),a=r(612).ec,s=r(611),c=r(479),u=r(757);function l(t,e,r,o){if((t=n.from(t.toArray())).length<e.byteLength()){var a=n.alloc(e.byteLength()-t.length);t=n.concat([a,t])}var s=r.length,c=function(t,e){t=(t=f(t,e)).mod(e);var r=n.from(t.toArray());if(r.length<e.byteLength()){var i=n.alloc(e.byteLength()-r.length);r=n.concat([i,r])}return r}(r,e),u=n.alloc(s);u.fill(1);var l=n.alloc(s);return l=i(o,l).update(u).update(n.from([0])).update(t).update(c).digest(),u=i(o,l).update(u).digest(),{k:l=i(o,l).update(u).update(n.from([1])).update(t).update(c).digest(),v:u=i(o,l).update(u).digest()}}function f(t,e){var r=new s(t),n=(t.length<<3)-e.bitLength();return n>0&&r.ishrn(n),r}function h(t,e,r){var o,a;do{for(o=n.alloc(0);8*o.length<t.bitLength();)e.v=i(r,e.k).update(e.v).digest(),o=n.concat([o,e.v]);a=f(o,t),e.k=i(r,e.k).update(e.v).update(n.from([0])).digest(),e.v=i(r,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function d(t,e,r,n){return t.toRed(s.mont(r)).redPow(e).fromRed().mod(n)}t.exports=function(t,e,r,i,p){var m=c(e);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var r=u[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var i=new a(r).keyFromPrivate(e.privateKey).sign(t);return n.from(i.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,r){var i,o=e.params.priv_key,a=e.params.p,c=e.params.q,u=e.params.g,p=new s(0),m=f(t,c).mod(c),b=!1,v=l(o,c,t,r);for(;!1===b;)i=h(c,v,r),p=d(u,i,a,c),0===(b=i.invm(c).imul(m.add(o.mul(p))).mod(c)).cmpn(0)&&(b=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t));128&e[0]&&(e=[0].concat(e));var r=[48,t.length+e.length+4,2,t.length];return r=r.concat(t,[2,e.length],e),n.from(r)}(p,b)}(t,m,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");t=n.concat([p,t]);for(var b=m.modulus.byteLength(),v=[0,1];t.length+v.length+1<b;)v.push(255);v.push(0);for(var g=-1;++g<t.length;)v.push(t[g]);return o(v,m)},t.exports.getKey=l,t.exports.makeKey=h},,function(t){t.exports=JSON.parse('{"_args":[["elliptic@6.5.4","D:\\\\FMSV14\\\\fms\\\\client"]],"_from":"elliptic@6.5.4","_id":"elliptic@6.5.4","_inBundle":false,"_integrity":"sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==","_location":"/elliptic","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"elliptic@6.5.4","name":"elliptic","escapedName":"elliptic","rawSpec":"6.5.4","saveSpec":null,"fetchSpec":"6.5.4"},"_requiredBy":["/browserify-sign","/create-ecdh"],"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz","_spec":"6.5.4","_where":"D:\\\\FMSV14\\\\fms\\\\client","author":{"name":"Fedor Indutny","email":"fedor@indutny.com"},"bugs":{"url":"https://github.com/indutny/elliptic/issues"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"},"description":"EC cryptography","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"files":["lib"],"homepage":"https://github.com/indutny/elliptic","keywords":["EC","Elliptic","curve","Cryptography"],"license":"MIT","main":"lib/elliptic.js","name":"elliptic","repository":{"type":"git","url":"git+ssh://git@github.com/indutny/elliptic.git"},"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","test":"npm run lint && npm run unit","unit":"istanbul test _mocha --reporter=spec test/index.js","version":"grunt dist && git add dist/"},"version":"6.5.4"}')},,function(t,e,r){"use strict";var n=r(191),i=r(246),o=r(53),a=r(478),s=n.assert;function c(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(t,e,r,n){a.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(t,e,r,n){a.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),t.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(t){for(var e,r,n,o,a,s,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=t,d=this.n.clone(),p=new i(1),m=new i(0),b=new i(0),v=new i(1),g=0;0!==h.cmpn(0);){var y=d.div(h);u=d.sub(y.mul(h)),l=b.sub(y.mul(p));var w=v.sub(y.mul(m));if(!n&&u.cmp(f)<0)e=c.neg(),r=p,n=u.neg(),o=l;else if(n&&2===++g)break;c=u,d=h,h=u,b=p,p=l,v=m,m=w}a=u.neg(),s=l;var x=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(x)>=0&&(a=e,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),c=i.mul(r.b),u=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:c.add(u).neg()}},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],c=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),c=c.neg(!0)),n[2*o]=s,n[2*o+1]=c,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return u},o(u,a.BasePoint),c.prototype.point=function(t,e,r){return new u(this,t,e,r)},c.prototype.pointFromJSON=function(t,e){return u.fromJSON(this,t,e)},u.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(t,e,r){"string"===typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},u.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,a.BasePoint),c.prototype.jpoint=function(t,e,r){return new l(this,t,e,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=n.redMul(u),h=c.redSqr().redIAdd(l).redISub(f).redISub(f),d=c.redMul(f.redISub(h)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(h,d,p)},l.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),u=c.redMul(a),l=r.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),h=s.redMul(l.redISub(f)).redISub(i.redMul(u)),d=this.z.redMul(a);return this.curve.jpoint(f,h,d)},l.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e<t;e++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,c=s.redSqr().redSqr(),u=a.redAdd(a);for(e=0;e<t;e++){var l=o.redSqr(),f=u.redSqr(),h=f.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),p=o.redMul(f),m=d.redSqr().redISub(p.redAdd(p)),b=p.redISub(m),v=d.redMul(b);v=v.redIAdd(v).redISub(h);var g=u.redMul(s);e+1<t&&(c=c.redMul(h)),o=m,s=g,u=v}return this.curve.jpoint(o,u.redMul(i),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=c,e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),f=this.y.redSqr(),h=f.redSqr(),d=this.x.redAdd(f).redSqr().redISub(l).redISub(h);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),b=h.redIAdd(h);b=(b=b.redIAdd(b)).redIAdd(b),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(b),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},l.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(a).redISub(a);t=c;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=s.redMul(a.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),f=this.y.redSqr(),h=this.x.redMul(f),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(l);var b=f.redSqr();b=(b=(b=b.redIAdd(b)).redIAdd(b)).redIAdd(b),e=d.redMul(p.redISub(t)).redISub(b)}return this.curve.jpoint(t,e,r)},l.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),c=e.redAdd(e),u=(c=c.redIAdd(c)).redMul(a),l=s.redSqr().redISub(u.redAdd(u)),f=u.redISub(l),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=s.redMul(f).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,p)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(c),l=e.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var f=this.x.redMul(s).redISub(l);f=(f=f.redIAdd(f)).redIAdd(f);var h=this.y.redMul(u.redMul(c.redISub(u)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var d=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,h,d)},l.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},l.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,r){"use strict";var n=r(246),i=r(53),o=r(478),a=r(191);function s(t){o.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,e,r){o.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},i(c,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new c(this,t,e)},s.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,e){return new c(t,e[0],e[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),i=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(r),a=i.redMul(n),s=e.z.redMul(o.redAdd(a).redSqr()),c=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,r){"use strict";var n=r(191),i=r(246),o=r(53),a=r(478),s=n.assert;function c(t){this.twisted=1!==(0|t.a),this.mOneA=this.twisted&&-1===(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|t.c)}function u(t,e,r,n,o){a.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),t.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(e&&!c||!e&&c)&&(s=s.redNeg()),this.point(t,s)},c.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},o(u,a.BasePoint),c.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},c.prototype.point=function(t,e,r,n){return new u(this,t,e,r,n)},u.fromJSON=function(t,e){return new u(t,e[0],e[1],e[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),c=i.redMul(a),u=o.redMul(s),l=i.redMul(s),f=a.redMul(o);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var t,e,r,n,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(s)).redAdd(c);this.zOne?(t=a.redSub(s).redSub(c).redMul(u.redSub(this.curve.two)),e=u.redMul(n.redSub(c)),r=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),t=a.redSub(s).redISub(c).redMul(o),e=u.redMul(n.redSub(c)),r=u.redMul(o))}else n=s.redAdd(c),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(n)).redMul(o),e=this.curve._mulC(n).redMul(s.redISub(c)),r=n.redMul(o);return this.curve.point(t,e,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),c=r.redAdd(e),u=o.redMul(a),l=s.redMul(c),f=o.redMul(c),h=a.redMul(s);return this.curve.point(u,l,h,f)},u.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),u=i.redAdd(s),l=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),f=n.redMul(c).redMul(l);return this.curve.twisted?(e=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=c.redMul(u)):(e=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,e,r)},u.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},u.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},u.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},u.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(t,e,r){"use strict";e.sha1=r(1093),e.sha224=r(1094),e.sha256=r(749),e.sha384=r(1095),e.sha512=r(750)},function(t,e,r){"use strict";var n=r(215),i=r(396),o=r(748),a=n.rotl32,s=n.sum32,c=n.sum32_5,u=o.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,l),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],h=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=c(a(i,5),u(p,o,l,h),d,r[n],f[p]);d=h,h=l,l=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],d)},h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(215),i=r(749);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(t,e,r){"use strict";var n=r(215),i=r(750);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(t,e,r){"use strict";var n=r(215),i=r(396),o=n.rotl32,a=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function h(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(l,u),e.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],g=r,y=n,w=i,x=u,O=l,_=0;_<80;_++){var S=a(o(c(r,f(_,n,i,u),t[p[_]+e],h(_)),b[_]),l);r=l,l=u,u=o(i,10),i=n,n=S,S=a(o(c(g,f(79-_,y,w,x),t[m[_]+e],d(_)),v[_]),O),g=O,O=x,x=o(w,10),w=y,y=S}S=s(this.h[1],i,x),this.h[1]=s(this.h[2],u,O),this.h[2]=s(this.h[3],l,g),this.h[3]=s(this.h[4],r,y),this.h[4]=s(this.h[0],n,w),this.h[0]=S},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(t,e,r){"use strict";var n=r(215),i=r(190);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},function(t,e){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(t,e,r){"use strict";var n=r(246),i=r(1100),o=r(191),a=r(613),s=r(607),c=o.assert,u=r(1101),l=r(1102);function f(t){if(!(this instanceof f))return new f(t);"string"===typeof t&&(c(Object.prototype.hasOwnProperty.call(a,t),"Unknown curve "+t),t=a[t]),t instanceof a.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=f,f.prototype.keyPair=function(t){return new u(this,t)},f.prototype.keyFromPrivate=function(t,e){return u.fromPrivate(this,t,e)},f.prototype.keyFromPublic=function(t,e){return u.fromPublic(this,t,e)},f.prototype.genKeyPair=function(t){t||(t={});for(var e=new i({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||s(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(e.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},f.prototype.sign=function(t,e,r,o){"object"===typeof r&&(o=r,r=null),o||(o={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new n(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),c=t.toArray("be",a),u=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new n(1)),h=0;;h++){var d=o.k?o.k(h):new n(u.generate(this.n.byteLength()));if(!((d=this._truncateToN(d,!0)).cmpn(1)<=0||d.cmp(f)>=0)){var p=this.g.mul(d);if(!p.isInfinity()){var m=p.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var v=d.invm(this.n).mul(b.mul(e.getPrivate()).iadd(t));if(0!==(v=v.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return o.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),g^=1),new l({r:b,s:v,recoveryParam:g})}}}}}},f.prototype.verify=function(t,e,r,i){t=this._truncateToN(new n(t,16)),r=this.keyFromPublic(r,i);var o=(e=new l(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),u=c.mul(t).umod(this.n),f=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),f)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,r.getPublic(),f)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(t,e,r,i){c((3&r)===r,"The recovery param is more than two bits"),e=new l(e,i);var o=this.n,a=new n(t),s=e.r,u=e.s,f=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var d=e.r.invm(o),p=o.sub(a).mul(d).umod(o),m=u.mul(d).umod(o);return this.g.mulAdd(p,s,m)},f.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new l(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,r){"use strict";var n=r(614),i=r(746),o=r(190);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=a,a.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,r,n){"string"!==typeof e&&(n=r,r=e,e=null),t=i.toArray(t,e),r=i.toArray(r,n),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},a.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(r),this._reseed++,i.encode(a,e)}},function(t,e,r){"use strict";var n=r(246),i=r(191).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,r){return e instanceof o?e:new o(t,{pub:e,pubEnc:r})},o.fromPrivate=function(t,e,r){return e instanceof o?e:new o(t,{priv:e,privEnc:r})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(t,e){return"string"===typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(t,e,r){"use strict";var n=r(246),i=r(191),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function c(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=e.place;o<n;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function u(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e<r;)e++;return 0===e?t:t.slice(e)}function l(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new s;if(48!==t[r.place++])return!1;var o=c(t,r);if(!1===o)return!1;if(o+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var a=c(t,r);if(!1===a)return!1;var u=t.slice(r.place,a+r.place);if(r.place+=a,2!==t[r.place++])return!1;var l=c(t,r);if(!1===l)return!1;if(t.length!==l+r.place)return!1;var f=t.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=u(e),r=u(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var n=[2];l(n,e.length),(n=n.concat(e)).push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,t)}},function(t,e,r){"use strict";var n=r(614),i=r(613),o=r(191),a=o.assert,s=o.parseBytes,c=r(1104),u=r(1105);function l(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof l))return new l(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=l,l.prototype.sign=function(t,e){t=s(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},l.prototype.verify=function(t,e,r){t=s(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},l.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(t){return c.fromPublic(this,t)},l.prototype.keyFromSecret=function(t){return c.fromSecret(this,t)},l.prototype.makeSignature=function(t){return t instanceof u?t:new u(this,t)},l.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},l.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!==(128&t[e]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},l.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(t){return o.intFromLE(t)},l.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,r){"use strict";var n=r(191),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,n=e.slice(0,t.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},s.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=s},function(t,e,r){"use strict";var n=r(246),i=r(191),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function c(t,e){this.eddsa=t,"object"!==typeof e&&(e=s(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),o(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof n&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}a(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},t.exports=c},function(t,e,r){"use strict";var n=r(751);e.certificate=r(1113);var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=l,e.DSAparam=n.define("DSAparam",(function(){this.int()}));var f=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(h),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=f;var h=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},,function(t,e,r){"use strict";var n=r(753),i=r(755),o=r(53);function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){var e=this.name;function r(t){this._initNamed(t,e)}return o(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,r){return this._getDecoder(e).decode(t,r)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},a.prototype.encode=function(t,e,r){return this._getEncoder(e).encode(t,r)}},function(t,e,r){"use strict";var n=r(53),i=r(754);function o(t){i.call(this,t),this.enc="pem"}n(o,i),t.exports=o,o.prototype.encode=function(t,e){for(var r=i.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+e.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+e.label+"-----"),n.join("\n")}},function(t,e,r){"use strict";var n=r(53),i=r(615).Buffer,o=r(756);function a(t){o.call(this,t),this.enc="pem"}n(a,o),t.exports=a,a.prototype.decode=function(t,e){for(var r=t.toString().split(/[\r\n]+/g),n=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(a);if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+n);var f=r.slice(s+1,c).join("");f.replace(/[^a-z0-9+/=]+/gi,"");var h=i.from(f,"base64");return o.prototype.decode.call(this,h,e)}},function(t,e,r){"use strict";var n=e;n.Reporter=r(617).Reporter,n.DecoderBuffer=r(397).DecoderBuffer,n.EncoderBuffer=r(397).EncoderBuffer,n.Node=r(616)},function(t,e,r){"use strict";var n=e;n._reverse=function(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e},n.der=r(618)},function(t,e,r){"use strict";var n=r(751),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),u=n.define("RDNSequence",(function(){this.seqof(c)})),l=n.define("Name",(function(){this.choice({rdnSequence:this.use(u)})})),f=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),h=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(l),this.key("validity").use(f),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},function(t){t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(t,e,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=r(477),s=r(605),c=r(71).Buffer;t.exports=function(t,e){var r,u=t.toString(),l=u.match(n);if(l){var f="aes"+l[1],h=c.from(l[2],"hex"),d=c.from(l[3].replace(/[\r\n]/g,""),"base64"),p=a(e,h.slice(0,8),parseInt(l[1],10)).key,m=[],b=s.createDecipheriv(f,p,h);m.push(b.update(d)),m.push(b.final()),r=c.concat(m)}else{var v=u.match(o);r=c.from(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:r}}},function(t,e,r){var n=r(608).Buffer,i=r(611),o=r(612).ec,a=r(479),s=r(757);function c(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=e)throw new Error("invalid sig")}t.exports=function(t,e,r,u,l){var f=a(r);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(t,e,r){var n=r.data.p,o=r.data.q,s=r.data.g,u=r.data.pub_key,l=a.signature.decode(t,"der"),f=l.s,h=l.r;c(f,o),c(h,o);var d=i.mont(n),p=f.invm(o);return 0===s.toRed(d).redPow(new i(e).mul(p).mod(o)).fromRed().mul(u.toRed(d).redPow(h.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(h)}(t,e,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");e=n.concat([l,e]);for(var h=f.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<h;)d.push(255),p++;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=n.from(d);var b=i.mont(f.modulus);t=(t=new i(t).toRed(b)).redPow(new i(f.publicExponent)),t=n.from(t.fromRed().toArray());var v=p<8?1:0;for(h=Math.min(t.length,d.length),t.length!==d.length&&(v=1),m=-1;++m<h;)v|=t[m]^d[m];return 0===v}},function(t,e,r){(function(e){var n=r(612),i=r(1118);t.exports=function(t){return new a(t)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(t){this.curveType=o[t],this.curveType||(this.curveType={name:t}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function s(t,r,n){Array.isArray(t)||(t=t.toArray());var i=new e(t);if(n&&i.length<n){var o=new e(n-i.length);o.fill(0),i=e.concat([o,i])}return r?i.toString(r):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},a.prototype.computeSecret=function(t,r,n){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),s(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},a.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,t)},a.prototype.getPrivateKey=function(t){return s(this.keys.getPrivate(),t)},a.prototype.setPublicKey=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.keys._importPublic(t),this},a.prototype.setPrivateKey=function(t,r){r=r||"utf8",e.isBuffer(t)||(t=new e(t,r));var n=new i(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(121).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var a;"object"===typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(1119).Buffer}catch(k){}function s(t,e){var r=t.charCodeAt(e);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function c(t,e,r){var n=s(t,r);return r-1>=e&&(n|=s(t,r-1)<<4),n}function u(t,e,r,n){for(var i=0,o=Math.min(t.length,r),a=e;a<o;a++){var s=t.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"===typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"===typeof t)return this._initNumber(t,e,r);if("object"===typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<t.length&&(16===e?this._parseHex(t,i,r):(this._parseBase(t,e,i),"le"===r&&this._initArray(this.toArray(),e,r)))},o.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},o.prototype._initArray=function(t,e,r){if(n("number"===typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=t.length-1,o=0;i>=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<t.length;i+=3)a=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2===0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,c=0,l=r;l<s;l+=n)c=u(t,l,l+n,e),this.imuln(i),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==a){var f=1;for(c=u(t,l,t.length,e),l=0;l<a;l++)f*=e;this.imuln(f),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}this.strip()},o.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},o.prototype.clone=function(){var t=new o(null);return this.copy(t),t},o.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,c=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,h=Math.min(u,e.length-1),d=Math.max(0,u-t.length+1);d<=h;d++){var p=u-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+f)/67108864|0,f=67108863&a}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);r=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var u=f[t],d=h[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(d).toString(t);r=(p=p.idivn(d)).isZero()?m+r:l[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return n("undefined"!==typeof a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(o),l=this.clone();if(c){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0===(8191&e)&&(r+=13,e>>>=13),0===(127&e)&&(r+=7,e>>>=7),0===(15&e)&&(r+=4,e>>>=4),0===(3&e)&&(r+=2,e>>>=2),0===(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},o.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},o.prototype.ior=function(t){return n(0===(this.negative|t.negative)),this.iuor(t)},o.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this.strip()},o.prototype.iand=function(t){return n(0===(this.negative|t.negative)),this.iuand(t)},o.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this.strip()},o.prototype.ixor=function(t){return n(0===(this.negative|t.negative)),this.iuxor(t)},o.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"===typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(t){return this.clone().isub(t)};var p=function(t,e,r){var n,i,o,a=t.words,s=e.words,c=r.words,u=0,l=0|a[0],f=8191&l,h=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,b=0|a[2],v=8191&b,g=b>>>13,y=0|a[3],w=8191&y,x=y>>>13,O=0|a[4],_=8191&O,S=O>>>13,k=0|a[5],E=8191&k,M=k>>>13,C=0|a[6],j=8191&C,A=C>>>13,T=0|a[7],P=8191&T,D=T>>>13,R=0|a[8],L=8191&R,I=R>>>13,N=0|a[9],F=8191&N,B=N>>>13,z=0|s[0],H=8191&z,U=z>>>13,W=0|s[1],q=8191&W,V=W>>>13,G=0|s[2],Y=8191&G,X=G>>>13,$=0|s[3],K=8191&$,Z=$>>>13,J=0|s[4],Q=8191&J,tt=J>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,lt=0|s[8],ft=8191&lt,ht=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var bt=(u+(n=Math.imul(f,H))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(h,H)|0))<<13)|0;u=((o=Math.imul(h,U))+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(p,H),i=(i=Math.imul(p,U))+Math.imul(m,H)|0,o=Math.imul(m,U);var vt=(u+(n=n+Math.imul(f,q)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(v,H),i=(i=Math.imul(v,U))+Math.imul(g,H)|0,o=Math.imul(g,U),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,V)|0;var gt=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,X)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(w,H),i=(i=Math.imul(w,U))+Math.imul(x,H)|0,o=Math.imul(x,U),n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,V)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var yt=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,Z)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(_,H),i=(i=Math.imul(_,U))+Math.imul(S,H)|0,o=Math.imul(S,U),n=n+Math.imul(w,q)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(x,q)|0,o=o+Math.imul(x,V)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,X)|0,n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,Z)|0;var wt=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,tt)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(E,H),i=(i=Math.imul(E,U))+Math.imul(M,H)|0,o=Math.imul(M,U),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(S,q)|0,o=o+Math.imul(S,V)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,X)|0,n=n+Math.imul(v,K)|0,i=(i=i+Math.imul(v,Z)|0)+Math.imul(g,K)|0,o=o+Math.imul(g,Z)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var xt=(u+(n=n+Math.imul(f,rt)|0)|0)+((8191&(i=(i=i+Math.imul(f,nt)|0)+Math.imul(h,rt)|0))<<13)|0;u=((o=o+Math.imul(h,nt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(j,H),i=(i=Math.imul(j,U))+Math.imul(A,H)|0,o=Math.imul(A,U),n=n+Math.imul(E,q)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,X)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,Z)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Ot=(u+(n=n+Math.imul(f,ot)|0)|0)+((8191&(i=(i=i+Math.imul(f,at)|0)+Math.imul(h,ot)|0))<<13)|0;u=((o=o+Math.imul(h,at)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(P,H),i=(i=Math.imul(P,U))+Math.imul(D,H)|0,o=Math.imul(D,U),n=n+Math.imul(j,q)|0,i=(i=i+Math.imul(j,V)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,V)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(S,K)|0,o=o+Math.imul(S,Z)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,tt)|0,n=n+Math.imul(v,rt)|0,i=(i=i+Math.imul(v,nt)|0)+Math.imul(g,rt)|0,o=o+Math.imul(g,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var _t=(u+(n=n+Math.imul(f,ct)|0)|0)+((8191&(i=(i=i+Math.imul(f,ut)|0)+Math.imul(h,ct)|0))<<13)|0;u=((o=o+Math.imul(h,ut)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(L,H),i=(i=Math.imul(L,U))+Math.imul(I,H)|0,o=Math.imul(I,U),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,V)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,V)|0,n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(E,K)|0,i=(i=i+Math.imul(E,Z)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,Z)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(x,rt)|0,o=o+Math.imul(x,nt)|0,n=n+Math.imul(v,ot)|0,i=(i=i+Math.imul(v,at)|0)+Math.imul(g,ot)|0,o=o+Math.imul(g,at)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ut)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ut)|0;var St=(u+(n=n+Math.imul(f,ft)|0)|0)+((8191&(i=(i=i+Math.imul(f,ht)|0)+Math.imul(h,ft)|0))<<13)|0;u=((o=o+Math.imul(h,ht)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,U))+Math.imul(B,H)|0,o=Math.imul(B,U),n=n+Math.imul(L,q)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(I,q)|0,o=o+Math.imul(I,V)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(D,Y)|0,o=o+Math.imul(D,X)|0,n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Z)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,Z)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(x,ot)|0,o=o+Math.imul(x,at)|0,n=n+Math.imul(v,ct)|0,i=(i=i+Math.imul(v,ut)|0)+Math.imul(g,ct)|0,o=o+Math.imul(g,ut)|0,n=n+Math.imul(p,ft)|0,i=(i=i+Math.imul(p,ht)|0)+Math.imul(m,ft)|0,o=o+Math.imul(m,ht)|0;var kt=(u+(n=n+Math.imul(f,pt)|0)|0)+((8191&(i=(i=i+Math.imul(f,mt)|0)+Math.imul(h,pt)|0))<<13)|0;u=((o=o+Math.imul(h,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,V))+Math.imul(B,q)|0,o=Math.imul(B,V),n=n+Math.imul(L,Y)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,X)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(D,K)|0,o=o+Math.imul(D,Z)|0,n=n+Math.imul(j,Q)|0,i=(i=i+Math.imul(j,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(E,rt)|0,i=(i=i+Math.imul(E,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ut)|0)+Math.imul(x,ct)|0,o=o+Math.imul(x,ut)|0,n=n+Math.imul(v,ft)|0,i=(i=i+Math.imul(v,ht)|0)+Math.imul(g,ft)|0,o=o+Math.imul(g,ht)|0;var Et=(u+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;u=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,o=Math.imul(B,X),n=n+Math.imul(L,K)|0,i=(i=i+Math.imul(L,Z)|0)+Math.imul(I,K)|0,o=o+Math.imul(I,Z)|0,n=n+Math.imul(P,Q)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,tt)|0,n=n+Math.imul(j,rt)|0,i=(i=i+Math.imul(j,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ut)|0)+Math.imul(S,ct)|0,o=o+Math.imul(S,ut)|0,n=n+Math.imul(w,ft)|0,i=(i=i+Math.imul(w,ht)|0)+Math.imul(x,ft)|0,o=o+Math.imul(x,ht)|0;var Mt=(u+(n=n+Math.imul(v,pt)|0)|0)+((8191&(i=(i=i+Math.imul(v,mt)|0)+Math.imul(g,pt)|0))<<13)|0;u=((o=o+Math.imul(g,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Z))+Math.imul(B,K)|0,o=Math.imul(B,Z),n=n+Math.imul(L,Q)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(D,rt)|0,o=o+Math.imul(D,nt)|0,n=n+Math.imul(j,ot)|0,i=(i=i+Math.imul(j,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(E,ct)|0,i=(i=i+Math.imul(E,ut)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ut)|0,n=n+Math.imul(_,ft)|0,i=(i=i+Math.imul(_,ht)|0)+Math.imul(S,ft)|0,o=o+Math.imul(S,ht)|0;var Ct=(u+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(x,pt)|0))<<13)|0;u=((o=o+Math.imul(x,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(F,Q),i=(i=Math.imul(F,tt))+Math.imul(B,Q)|0,o=Math.imul(B,tt),n=n+Math.imul(L,rt)|0,i=(i=i+Math.imul(L,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,n=n+Math.imul(j,ct)|0,i=(i=i+Math.imul(j,ut)|0)+Math.imul(A,ct)|0,o=o+Math.imul(A,ut)|0,n=n+Math.imul(E,ft)|0,i=(i=i+Math.imul(E,ht)|0)+Math.imul(M,ft)|0,o=o+Math.imul(M,ht)|0;var jt=(u+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(S,pt)|0))<<13)|0;u=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(F,rt),i=(i=Math.imul(F,nt))+Math.imul(B,rt)|0,o=Math.imul(B,nt),n=n+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(P,ct)|0,i=(i=i+Math.imul(P,ut)|0)+Math.imul(D,ct)|0,o=o+Math.imul(D,ut)|0,n=n+Math.imul(j,ft)|0,i=(i=i+Math.imul(j,ht)|0)+Math.imul(A,ft)|0,o=o+Math.imul(A,ht)|0;var At=(u+(n=n+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(M,pt)|0))<<13)|0;u=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(F,ot),i=(i=Math.imul(F,at))+Math.imul(B,ot)|0,o=Math.imul(B,at),n=n+Math.imul(L,ct)|0,i=(i=i+Math.imul(L,ut)|0)+Math.imul(I,ct)|0,o=o+Math.imul(I,ut)|0,n=n+Math.imul(P,ft)|0,i=(i=i+Math.imul(P,ht)|0)+Math.imul(D,ft)|0,o=o+Math.imul(D,ht)|0;var Tt=(u+(n=n+Math.imul(j,pt)|0)|0)+((8191&(i=(i=i+Math.imul(j,mt)|0)+Math.imul(A,pt)|0))<<13)|0;u=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(F,ct),i=(i=Math.imul(F,ut))+Math.imul(B,ct)|0,o=Math.imul(B,ut),n=n+Math.imul(L,ft)|0,i=(i=i+Math.imul(L,ht)|0)+Math.imul(I,ft)|0,o=o+Math.imul(I,ht)|0;var Pt=(u+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(D,pt)|0))<<13)|0;u=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(F,ft),i=(i=Math.imul(F,ht))+Math.imul(B,ft)|0,o=Math.imul(B,ht);var Dt=(u+(n=n+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(I,pt)|0))<<13)|0;u=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Rt=(u+(n=Math.imul(F,pt))|0)+((8191&(i=(i=Math.imul(F,mt))+Math.imul(B,pt)|0))<<13)|0;return u=((o=Math.imul(B,mt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,c[0]=bt,c[1]=vt,c[2]=gt,c[3]=yt,c[4]=wt,c[5]=xt,c[6]=Ot,c[7]=_t,c[8]=St,c[9]=kt,c[10]=Et,c[11]=Mt,c[12]=Ct,c[13]=jt,c[14]=At,c[15]=Tt,c[16]=Pt,c[17]=Dt,c[18]=Rt,0!==u&&(c[19]=u,r.length++),r};function m(t,e,r){return(new b).mulp(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(p=d),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?p(this,t,e):r<63?d(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,c=Math.min(o,e.length-1),u=Math.max(0,o-t.length+1);u<=c;u++){var l=o-u,f=(0|t.words[l])*(0|e.words[u]),h=67108863&f;s=67108863&(h=h+s|0),i+=(a=(a=a+(f/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,t,e):m(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},b.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},b.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,h=u,d=0;d<a;d++){var p=r[l+d],m=n[l+d],b=r[l+d+a],v=n[l+d+a],g=f*b-h*v;v=f*v+h*b,b=g,r[l+d]=p+b,n[l+d]=m+v,r[l+d+a]=p-b,n[l+d+a]=m-v,d!==s&&(g=c*f-u*h,h=c*h+u*f,f=g)}},b.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},b.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},b.prototype.convert13b=function(t,e,r,i){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<i;++a)r[a]=0;n(0===o),n(0===(-8192&o))},b.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},b.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),h=r.words;h.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,u,n),this.transform(a,o,s,c,n,i),this.transform(u,o,l,f,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-c[d]*f[d];c[d]=s[d]*f[d]+c[d]*l[d],s[d]=p}return this.conjugate(s,c,n),this.transform(s,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),m(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){n("number"===typeof t),n(t<67108864);for(var e=0,r=0;r<this.length;r++){var i=(0|this.words[r])*t,o=(67108863&i)+(67108863&e);e>>=26,e+=i/67108864|0,e+=o>>>26,this.words[r]=67108863&o}return 0!==e&&(this.words[r]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=(t.words[n]&1<<i)>>>i}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(t){n("number"===typeof t&&t>=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,c=(0|this.words[e])-s<<r;this.words[e]=c|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e<i;e++)this.words[e]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},o.prototype.iushrn=function(t,e,r){var i;n("number"===typeof t&&t>=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,c=r;if(i-=a,i=Math.max(0,i),c){for(var u=0;u<a;u++)c.words[u]=this.words[u];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-o|f>>>o,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<<e;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(t){n("number"===typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<<e;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(t){return this.clone().imaskn(t)},o.prototype.iaddn=function(t){return n("number"===typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},o.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"===typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},o.prototype.addn=function(t){return this.clone().iaddn(t)},o.prototype.subn=function(t){return this.clone().isubn(t)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(t,e,r){var i,o,a=t.length+r;this._expand(a);var s=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+s;var c=(0|t.words[i])*e;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==e){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var h=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,f);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=h)}return s&&s.strip(),n.strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){n(t<=67108863);for(var e=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(e*r+(0|this.words[i]))%t;return r},o.prototype.idivn=function(t){n(t<=67108863);for(var e=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*e;this.words[r]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),u=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=e.clone();!e.isZero();){for(var h=0,d=1;0===(e.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(e.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(s),a.isub(c)):(r.isub(e),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:r.iushln(u)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),c=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(e.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,h=1;0===(r.words[0]&h)&&f<26;++f,h<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"===typeof t);var e=t%26,r=(t-e)/26,i=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:i<t?-1:1}return 0!==this.negative?0|-e:e},o.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},o.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new _(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function g(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(t){if("string"===typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function S(t){_.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},g.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},g.prototype.split=function(t,e){t.iushrn(this.n,0,e)},g.prototype.imulK=function(t){return t.imul(this.k)},i(y,g),y.prototype.split=function(t,e){for(var r=Math.min(t.length,9),n=0;n<r;n++)e.words[n]=t.words[n];if(e.length=r,t.length<=9)return t.words[0]=0,void(t.length=1);var i=t.words[9];for(e.words[e.length++]=4194303&i,n=10;n<t.length;n++){var o=0|t.words[n];t.words[n-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,t.words[n-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},y.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},i(w,g),i(x,g),i(O,g),O.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new y;else if("p224"===t)e=new w;else if("p192"===t)e=new x;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new O}return v[t]=e,e},_.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},_.prototype._verify2=function(t,e){n(0===(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},_.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},_.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},_.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},_.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},_.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},_.prototype.isqr=function(t){return this.imul(t,t.clone())},_.prototype.sqr=function(t){return this.mul(t,t)},_.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2===1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),h=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=a;0!==d.cmp(s);){for(var m=d,b=0;0!==m.cmp(s);b++)m=m.redSqr();n(b<p);var v=this.pow(f,new o(1).iushln(p-b-1));h=h.redMul(v),f=v.redSqr(),d=d.redMul(f),p=b}return h},_.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},_.prototype.pow=function(t,e){if(e.isZero())return new o(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],a=0,s=0,c=e.bitLength()%26;for(0===c&&(c=26),n=e.length-1;n>=0;n--){for(var u=e.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}c=26}return i},_.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},_.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new S(t)},i(S,_),S.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},S.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},S.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},S.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(203)(t))},,function(t,e,r){e.publicEncrypt=r(1121),e.privateDecrypt=r(1123),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}},function(t,e,r){var n=r(479),i=r(346),o=r(394),a=r(758),s=r(759),c=r(619),u=r(760),l=r(610),f=r(71).Buffer;t.exports=function(t,e,r){var h;h=t.padding?t.padding:r?1:4;var d,p=n(t);if(4===h)d=function(t,e){var r=t.modulus.byteLength(),n=e.length,u=o("sha1").update(f.alloc(0)).digest(),l=u.length,h=2*l;if(n>r-h-2)throw new Error("message too long");var d=f.alloc(r-n-h-2),p=r-l-1,m=i(l),b=s(f.concat([u,d,f.alloc(1,1),e],p),a(m,p)),v=s(m,a(b,l));return new c(f.concat([f.alloc(1),v,b],r))}(p,e);else if(1===h)d=function(t,e,r){var n,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");n=r?f.alloc(a-o-3,255):function(t){var e,r=f.allocUnsafe(t),n=0,o=i(2*t),a=0;for(;n<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(r[n++]=e);return r}(a-o-3);return new c(f.concat([f.from([0,r?1:2]),n,f.alloc(1),e],a))}(p,e,r);else{if(3!==h)throw new Error("unknown padding");if((d=new c(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,p):u(d,p)}},,function(t,e,r){var n=r(479),i=r(758),o=r(759),a=r(619),s=r(610),c=r(394),u=r(760),l=r(71).Buffer;t.exports=function(t,e,r){var f;f=t.padding?t.padding:r?1:4;var h,d=n(t),p=d.modulus.byteLength();if(e.length>p||new a(e).cmp(d.modulus)>=0)throw new Error("decryption error");h=r?u(new a(e),d):s(e,d);var m=l.alloc(p-h.length);if(h=l.concat([m,h],p),4===f)return function(t,e){var r=t.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),a=n.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),u=e.slice(a+1),f=o(s,i(u,a)),h=o(u,i(f,r-a-1));if(function(t,e){t=l.from(t),e=l.from(e);var r=0,n=t.length;t.length!==e.length&&(r++,n=Math.min(t.length,e.length));var i=-1;for(;++i<n;)r+=t[i]^e[i];return r}(n,h.slice(0,a)))throw new Error("decryption error");var d=a;for(;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}(d,h);if(1===f)return function(t,e,r){var n=e.slice(0,2),i=2,o=0;for(;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,h,r);if(3===f)return h;throw new Error("unknown padding")}},function(t,e,r){"use strict";(function(t,n){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(71),a=r(346),s=o.Buffer,c=o.kMaxLength,u=t.crypto||t.msCrypto,l=Math.pow(2,32)-1;function f(t,e){if("number"!==typeof t||t!==t)throw new TypeError("offset must be a number");if(t>l||t<0)throw new TypeError("offset must be a uint32");if(t>c||t>e)throw new RangeError("offset out of range")}function h(t,e,r){if("number"!==typeof t||t!==t)throw new TypeError("size must be a number");if(t>l||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>c)throw new RangeError("buffer too small")}function d(t,e,r,i){if(n.browser){var o=t.buffer,s=new Uint8Array(o,e,r);return u.getRandomValues(s),i?void n.nextTick((function(){i(null,t)})):t}if(!i)return a(r).copy(t,e),t;a(r,(function(r,n){if(r)return i(r);n.copy(t,e),i(null,t)}))}u&&u.getRandomValues||!n.browser?(e.randomFill=function(e,r,n,i){if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"===typeof r)i=r,r=0,n=e.length;else if("function"===typeof n)i=n,n=e.length-r;else if("function"!==typeof i)throw new TypeError('"cb" argument must be a function');return f(r,e.length),h(n,r,e.length),d(e,r,n,i)},e.randomFillSync=function(e,r,n){"undefined"===typeof r&&(r=0);if(!s.isBuffer(e)&&!(e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(r,e.length),void 0===n&&(n=e.length-r);return h(n,r,e.length),d(e,r,n)}):(e.randomFill=i,e.randomFillSync=i)}).call(this,r(120),r(112))},function(t,e,r){"use strict";var n=r(71).Buffer,i=r(1126);function o(t){if(n.isBuffer(t))return t;if("string"===typeof t)return n.from(t,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function a(t,e,r){for(var n=0;e+n<r&&0===t[e+n];)++n;return t[e+n]>=128&&--n,n}t.exports={derToJose:function(t,e){t=o(t);var r=i(e),a=r+1,s=t.length,c=0;if(48!==t[c++])throw new Error('Could not find expected "seq"');var u=t[c++];if(129===u&&(u=t[c++]),s-c<u)throw new Error('"seq" specified length of "'+u+'", only "'+(s-c)+'" remaining');if(2!==t[c++])throw new Error('Could not find expected "int" for "r"');var l=t[c++];if(s-c-2<l)throw new Error('"r" specified length of "'+l+'", only "'+(s-c-2)+'" available');if(a<l)throw new Error('"r" specified length of "'+l+'", max of "'+a+'" is acceptable');var f=c;if(c+=l,2!==t[c++])throw new Error('Could not find expected "int" for "s"');var h=t[c++];if(s-c!==h)throw new Error('"s" specified length of "'+h+'", expected "'+(s-c)+'"');if(a<h)throw new Error('"s" specified length of "'+h+'", max of "'+a+'" is acceptable');var d=c;if((c+=h)!==s)throw new Error('Expected to consume entire buffer, but "'+(s-c)+'" bytes remain');var p=r-l,m=r-h,b=n.allocUnsafe(p+l+m+h);for(c=0;c<p;++c)b[c]=0;t.copy(b,c,f+Math.max(-p,0),f+l);for(var v=c=r;c<v+m;++c)b[c]=0;return t.copy(b,c,d+Math.max(-m,0),d+h),b=(b=b.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(t,e){t=o(t);var r=i(e),s=t.length;if(s!==2*r)throw new TypeError('"'+e+'" signatures must be "'+2*r+'" bytes, saw "'+s+'"');var c=a(t,0,r),u=a(t,r,t.length),l=r-c,f=r-u,h=2+l+1+1+f,d=h<128,p=n.allocUnsafe((d?2:3)+h),m=0;return p[m++]=48,d?p[m++]=h:(p[m++]=129,p[m++]=255&h),p[m++]=2,p[m++]=l,c<0?(p[m++]=0,m+=t.copy(p,m,0,r)):m+=t.copy(p,m,c,r),p[m++]=2,p[m++]=f,u<0?(p[m++]=0,t.copy(p,m,r)):t.copy(p,m,r+u),p}}},function(t,e,r){"use strict";function n(t){return(t/8|0)+(t%8===0?0:1)}var i={ES256:n(256),ES384:n(384),ES512:n(521)};t.exports=function(t){var e=i[t];if(e)return e;throw new Error('Unknown algorithm "'+t+'"')}},function(t,e,r){var n=r(71).Buffer,i=r(707),o=r(712),a=r(473),s=r(761),c=r(475),u=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function l(t){if(function(t){return"[object Object]"===Object.prototype.toString.call(t)}(t))return t;try{return JSON.parse(t)}catch(e){return}}function f(t){var e=t.split(".",1)[0];return l(n.from(e,"base64").toString("binary"))}function h(t){return t.split(".")[2]}function d(t){return u.test(t)&&!!f(t)}function p(t,e,r){if(!e){var n=new Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}var i=h(t=s(t)),a=function(t){return t.split(".",2).join(".")}(t);return o(e).verify(a,i,r)}function m(t,e){if(e=e||{},!d(t=s(t)))return null;var r=f(t);if(!r)return null;var i=function(t,e){e=e||"utf8";var r=t.split(".")[1];return n.from(r,"base64").toString(e)}(t);return("JWT"===r.typ||e.json)&&(i=JSON.parse(i,e.encoding)),{header:r,payload:i,signature:h(t)}}function b(t){var e=(t=t||{}).secret||t.publicKey||t.key,r=new i(e);this.readable=!0,this.algorithm=t.algorithm,this.encoding=t.encoding,this.secret=this.publicKey=this.key=r,this.signature=new i(t.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}c.inherits(b,a),b.prototype.verify=function(){try{var t=p(this.signature.buffer,this.algorithm,this.key.buffer),e=m(this.signature.buffer,this.encoding);return this.emit("done",t,e),this.emit("data",t),this.emit("end"),this.readable=!1,t}catch(r){this.readable=!1,this.emit("error",r),this.emit("close")}},b.decode=m,b.isValid=d,b.verify=p,t.exports=b},function(t,e,r){var n=r(480),i=r(762),o=r(763),a=r(705),s=r(764),c=r(765),u=r(595),l=["RS256","RS384","RS512","ES256","ES384","ES512"],f=["RS256","RS384","RS512"],h=["HS256","HS384","HS512"];c&&(l.splice(3,0,"PS256","PS384","PS512"),f.splice(3,0,"PS256","PS384","PS512")),t.exports=function(t,e,r,c){var d;if("function"!==typeof r||c||(c=r,r={}),r||(r={}),r=Object.assign({},r),d=c||function(t,e){if(t)throw t;return e},r.clockTimestamp&&"number"!==typeof r.clockTimestamp)return d(new n("clockTimestamp must be a number"));if(void 0!==r.nonce&&("string"!==typeof r.nonce||""===r.nonce.trim()))return d(new n("nonce must be a non-empty string"));var p=r.clockTimestamp||Math.floor(Date.now()/1e3);if(!t)return d(new n("jwt must be provided"));if("string"!==typeof t)return d(new n("jwt must be a string"));var m,b=t.split(".");if(3!==b.length)return d(new n("jwt malformed"));try{m=a(t,{complete:!0})}catch(y){return d(y)}if(!m)return d(new n("invalid token"));var v,g=m.header;if("function"===typeof e){if(!c)return d(new n("verify must be called asynchronous if secret or public key is provided as a callback"));v=e}else v=function(t,r){return r(null,e)};return v(g,(function(e,a){if(e)return d(new n("error in secret or public key callback: "+e.message));var c,v=""!==b[2].trim();if(!v&&a)return d(new n("jwt signature is required"));if(v&&!a)return d(new n("secret or public key must be provided"));if(v||r.algorithms||(r.algorithms=["none"]),r.algorithms||(r.algorithms=~a.toString().indexOf("BEGIN CERTIFICATE")||~a.toString().indexOf("BEGIN PUBLIC KEY")?l:~a.toString().indexOf("BEGIN RSA PUBLIC KEY")?f:h),!~r.algorithms.indexOf(m.header.alg))return d(new n("invalid algorithm"));try{c=u.verify(t,m.header.alg,a)}catch(_){return d(_)}if(!c)return d(new n("invalid signature"));var y=m.payload;if("undefined"!==typeof y.nbf&&!r.ignoreNotBefore){if("number"!==typeof y.nbf)return d(new n("invalid nbf value"));if(y.nbf>p+(r.clockTolerance||0))return d(new i("jwt not active",new Date(1e3*y.nbf)))}if("undefined"!==typeof y.exp&&!r.ignoreExpiration){if("number"!==typeof y.exp)return d(new n("invalid exp value"));if(p>=y.exp+(r.clockTolerance||0))return d(new o("jwt expired",new Date(1e3*y.exp)))}if(r.audience){var w=Array.isArray(r.audience)?r.audience:[r.audience];if(!(Array.isArray(y.aud)?y.aud:[y.aud]).some((function(t){return w.some((function(e){return e instanceof RegExp?e.test(t):e===t}))})))return d(new n("jwt audience invalid. expected: "+w.join(" or ")))}if(r.issuer&&("string"===typeof r.issuer&&y.iss!==r.issuer||Array.isArray(r.issuer)&&-1===r.issuer.indexOf(y.iss)))return d(new n("jwt issuer invalid. expected: "+r.issuer));if(r.subject&&y.sub!==r.subject)return d(new n("jwt subject invalid. expected: "+r.subject));if(r.jwtid&&y.jti!==r.jwtid)return d(new n("jwt jwtid invalid. expected: "+r.jwtid));if(r.nonce&&y.nonce!==r.nonce)return d(new n("jwt nonce invalid. expected: "+r.nonce));if(r.maxAge){if("number"!==typeof y.iat)return d(new n("iat required when maxAge is specified"));var x=s(r.maxAge,y.iat);if("undefined"===typeof x)return d(new n('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'));if(p>=x+(r.clockTolerance||0))return d(new o("maxAge exceeded",new Date(1e3*x)))}if(!0===r.complete){var O=m.signature;return d(null,{header:g,payload:y,signature:O})}return d(null,y)}))}},function(t,e){var r=1e3,n=6e4,i=60*n,o=24*i;function a(t,e,r,n){var i=e>=1.5*r;return Math.round(t/r)+" "+n+(i?"s":"")}t.exports=function(t,e){e=e||{};var s=typeof t;if("string"===s&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var a=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(t);if("number"===s&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=o)return a(t,e,o,"day");if(e>=i)return a(t,e,i,"hour");if(e>=n)return a(t,e,n,"minute");if(e>=r)return a(t,e,r,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=o)return Math.round(t/o)+"d";if(e>=i)return Math.round(t/i)+"h";if(e>=n)return Math.round(t/n)+"m";if(e>=r)return Math.round(t/r)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,r){(function(r){var n;e=t.exports=Y,n="object"===typeof r&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"})&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).NODE_DEBUG&&/\bsemver\b/i.test(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ALERT_VIDEO_SERVER_BASE_URL:"https://uyenotestlivevideo.infotracktelematics.com:9965/vss/apiPage/ReplayAlarmServerVideo.html",REACT_APP_ALERT_VIDEO_TOKEN:"f02cfa1cd21138ac89f7f1a32f8339be",REACT_APP_API_URL:"https://fmsv14apitest.infotracktelematics.com:5001",REACT_APP_GOOGLE_MAPS_API_KEY_DEV:"AIzaSyDKdb_ZU2VZCe8kyj3o8hz7zQ0TehgaoXI",REACT_APP_GOOGLE_MAPS_API_KEY_PROD:"AIzaSyBwy3DkKskiJR32bOIxU0HLKcA2VzRqP0c"}).NODE_DEBUG)?function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var i=Number.MAX_SAFE_INTEGER||9007199254740991,o=e.re=[],a=e.src=[],s=0,c=s++;a[c]="0|[1-9]\\d*";var u=s++;a[u]="[0-9]+";var l=s++;a[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var f=s++;a[f]="("+a[c]+")\\.("+a[c]+")\\.("+a[c]+")";var h=s++;a[h]="("+a[u]+")\\.("+a[u]+")\\.("+a[u]+")";var d=s++;a[d]="(?:"+a[c]+"|"+a[l]+")";var p=s++;a[p]="(?:"+a[u]+"|"+a[l]+")";var m=s++;a[m]="(?:-("+a[d]+"(?:\\."+a[d]+")*))";var b=s++;a[b]="(?:-?("+a[p]+"(?:\\."+a[p]+")*))";var v=s++;a[v]="[0-9A-Za-z-]+";var g=s++;a[g]="(?:\\+("+a[v]+"(?:\\."+a[v]+")*))";var y=s++,w="v?"+a[f]+a[m]+"?"+a[g]+"?";a[y]="^"+w+"$";var x="[v=\\s]*"+a[h]+a[b]+"?"+a[g]+"?",O=s++;a[O]="^"+x+"$";var _=s++;a[_]="((?:<|>)?=?)";var S=s++;a[S]=a[u]+"|x|X|\\*";var k=s++;a[k]=a[c]+"|x|X|\\*";var E=s++;a[E]="[v=\\s]*("+a[k]+")(?:\\.("+a[k]+")(?:\\.("+a[k]+")(?:"+a[m]+")?"+a[g]+"?)?)?";var M=s++;a[M]="[v=\\s]*("+a[S]+")(?:\\.("+a[S]+")(?:\\.("+a[S]+")(?:"+a[b]+")?"+a[g]+"?)?)?";var C=s++;a[C]="^"+a[_]+"\\s*"+a[E]+"$";var j=s++;a[j]="^"+a[_]+"\\s*"+a[M]+"$";var A=s++;a[A]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var T=s++;a[T]="(?:~>?)";var P=s++;a[P]="(\\s*)"+a[T]+"\\s+",o[P]=new RegExp(a[P],"g");var D=s++;a[D]="^"+a[T]+a[E]+"$";var R=s++;a[R]="^"+a[T]+a[M]+"$";var L=s++;a[L]="(?:\\^)";var I=s++;a[I]="(\\s*)"+a[L]+"\\s+",o[I]=new RegExp(a[I],"g");var N=s++;a[N]="^"+a[L]+a[E]+"$";var F=s++;a[F]="^"+a[L]+a[M]+"$";var B=s++;a[B]="^"+a[_]+"\\s*("+x+")$|^$";var z=s++;a[z]="^"+a[_]+"\\s*("+w+")$|^$";var H=s++;a[H]="(\\s*)"+a[_]+"\\s*("+x+"|"+a[E]+")",o[H]=new RegExp(a[H],"g");var U=s++;a[U]="^\\s*("+a[E]+")\\s+-\\s+("+a[E]+")\\s*$";var W=s++;a[W]="^\\s*("+a[M]+")\\s+-\\s+("+a[M]+")\\s*$";var q=s++;a[q]="(<|>)?=?\\s*\\*";for(var V=0;V<35;V++)n(V,a[V]),o[V]||(o[V]=new RegExp(a[V]));function G(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof Y)return t;if("string"!==typeof t)return null;if(t.length>256)return null;if(!(e.loose?o[O]:o[y]).test(t))return null;try{return new Y(t,e)}catch(r){return null}}function Y(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof Y){if(t.loose===e.loose)return t;t=t.version}else if("string"!==typeof t)throw new TypeError("Invalid Version: "+t);if(t.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof Y))return new Y(t,e);n("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?o[O]:o[y]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<i)return e}return t})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}e.parse=G,e.valid=function(t,e){var r=G(t,e);return r?r.version:null},e.clean=function(t,e){var r=G(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},e.SemVer=Y,Y.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},Y.prototype.toString=function(){return this.version},Y.prototype.compare=function(t){return n("SemVer.compare",this.version,this.options,t),t instanceof Y||(t=new Y(t,this.options)),this.compareMain(t)||this.comparePre(t)},Y.prototype.compareMain=function(t){return t instanceof Y||(t=new Y(t,this.options)),$(this.major,t.major)||$(this.minor,t.minor)||$(this.patch,t.patch)},Y.prototype.comparePre=function(t){if(t instanceof Y||(t=new Y(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var e=0;do{var r=this.prerelease[e],i=t.prerelease[e];if(n("prerelease compare",e,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return $(r,i)}while(++e)},Y.prototype.inc=function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"===typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this},e.inc=function(t,e,r,n){"string"===typeof r&&(n=r,r=void 0);try{return new Y(t,r).inc(e,n).version}catch(i){return null}},e.diff=function(t,e){if(Q(t,e))return null;var r=G(t),n=G(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var o="prerelease"}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return i+a;return o},e.compareIdentifiers=$;var X=/^[0-9]+$/;function $(t,e){var r=X.test(t),n=X.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1}function K(t,e,r){return new Y(t,r).compare(new Y(e,r))}function Z(t,e,r){return K(t,e,r)>0}function J(t,e,r){return K(t,e,r)<0}function Q(t,e,r){return 0===K(t,e,r)}function tt(t,e,r){return 0!==K(t,e,r)}function et(t,e,r){return K(t,e,r)>=0}function rt(t,e,r){return K(t,e,r)<=0}function nt(t,e,r,n){switch(e){case"===":return"object"===typeof t&&(t=t.version),"object"===typeof r&&(r=r.version),t===r;case"!==":return"object"===typeof t&&(t=t.version),"object"===typeof r&&(r=r.version),t!==r;case"":case"=":case"==":return Q(t,r,n);case"!=":return tt(t,r,n);case">":return Z(t,r,n);case">=":return et(t,r,n);case"<":return J(t,r,n);case"<=":return rt(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}function it(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof it){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof it))return new it(t,e);n("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===ot?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}e.rcompareIdentifiers=function(t,e){return $(e,t)},e.major=function(t,e){return new Y(t,e).major},e.minor=function(t,e){return new Y(t,e).minor},e.patch=function(t,e){return new Y(t,e).patch},e.compare=K,e.compareLoose=function(t,e){return K(t,e,!0)},e.rcompare=function(t,e,r){return K(e,t,r)},e.sort=function(t,r){return t.sort((function(t,n){return e.compare(t,n,r)}))},e.rsort=function(t,r){return t.sort((function(t,n){return e.rcompare(t,n,r)}))},e.gt=Z,e.lt=J,e.eq=Q,e.neq=tt,e.gte=et,e.lte=rt,e.cmp=nt,e.Comparator=it;var ot={};function at(t,e){if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),t instanceof at)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new at(t.raw,e);if(t instanceof it)return new at(t.value,e);if(!(this instanceof at))return new at(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t,this.set=t.split(/\s*\|\|\s*/).map((function(t){return this.parseRange(t.trim())}),this).filter((function(t){return t.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+t);this.format()}function st(t){return!t||"x"===t.toLowerCase()||"*"===t}function ct(t,e,r,n,i,o,a,s,c,u,l,f,h){return((e=st(r)?"":st(n)?">="+r+".0.0":st(i)?">="+r+"."+n+".0":">="+e)+" "+(s=st(c)?"":st(u)?"<"+(+c+1)+".0.0":st(l)?"<"+c+"."+(+u+1)+".0":f?"<="+c+"."+u+"."+l+"-"+f:"<="+s)).trim()}function ut(t,e,r){for(var i=0;i<t.length;i++)if(!t[i].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(i=0;i<t.length;i++)if(n(t[i].semver),t[i].semver!==ot&&t[i].semver.prerelease.length>0){var o=t[i].semver;if(o.major===e.major&&o.minor===e.minor&&o.patch===e.patch)return!0}return!1}return!0}function lt(t,e,r){try{e=new at(e,r)}catch(n){return!1}return e.test(t)}function ft(t,e,r,n){var i,o,a,s,c;switch(t=new Y(t,n),e=new at(e,n),r){case">":i=Z,o=rt,a=J,s=">",c=">=";break;case"<":i=J,o=et,a=Z,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(lt(t,e,n))return!1;for(var u=0;u<e.set.length;++u){var l=e.set[u],f=null,h=null;if(l.forEach((function(t){t.semver===ot&&(t=new it(">=0.0.0")),f=f||t,h=h||t,i(t.semver,f.semver,n)?f=t:a(t.semver,h.semver,n)&&(h=t)})),f.operator===s||f.operator===c)return!1;if((!h.operator||h.operator===s)&&o(t,h.semver))return!1;if(h.operator===c&&a(t,h.semver))return!1}return!0}it.prototype.parse=function(t){var e=this.options.loose?o[B]:o[z],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1],"="===this.operator&&(this.operator=""),r[2]?this.semver=new Y(r[2],this.options.loose):this.semver=ot},it.prototype.toString=function(){return this.value},it.prototype.test=function(t){return n("Comparator.test",t,this.options.loose),this.semver===ot||("string"===typeof t&&(t=new Y(t,this.options)),nt(t,this.operator,this.semver,this.options))},it.prototype.intersects=function(t,e){if(!(t instanceof it))throw new TypeError("a Comparator is required");var r;if(e&&"object"===typeof e||(e={loose:!!e,includePrerelease:!1}),""===this.operator)return r=new at(t.value,e),lt(this.value,r,e);if(""===t.operator)return r=new at(this.value,e),lt(t.semver,r,e);var n=(">="===this.operator||">"===this.operator)&&(">="===t.operator||">"===t.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===t.operator||"<"===t.operator),o=this.semver.version===t.semver.version,a=(">="===this.operator||"<="===this.operator)&&(">="===t.operator||"<="===t.operator),s=nt(this.semver,"<",t.semver,e)&&(">="===this.operator||">"===this.operator)&&("<="===t.operator||"<"===t.operator),c=nt(this.semver,">",t.semver,e)&&("<="===this.operator||"<"===this.operator)&&(">="===t.operator||">"===t.operator);return n||i||o&&a||s||c},e.Range=at,at.prototype.format=function(){return this.range=this.set.map((function(t){return t.join(" ").trim()})).join("||").trim(),this.range},at.prototype.toString=function(){return this.range},at.prototype.parseRange=function(t){var e=this.options.loose;t=t.trim();var r=e?o[W]:o[U];t=t.replace(r,ct),n("hyphen replace",t),t=t.replace(o[H],"$1$2$3"),n("comparator trim",t,o[H]),t=(t=(t=t.replace(o[P],"$1~")).replace(o[I],"$1^")).split(/\s+/).join(" ");var i=e?o[B]:o[z],a=t.split(" ").map((function(t){return function(t,e){return n("comp",t,e),t=function(t,e){return t.trim().split(/\s+/).map((function(t){return function(t,e){n("caret",t,e);var r=e.loose?o[F]:o[N];return t.replace(r,(function(e,r,i,o,a){var s;return n("caret",t,e,r,i,o,a),st(r)?s="":st(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":st(o)?s="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),s="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),s="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",s),s}))}(t,e)})).join(" ")}(t,e),n("caret",t),t=function(t,e){return t.trim().split(/\s+/).map((function(t){return function(t,e){var r=e.loose?o[R]:o[D];return t.replace(r,(function(e,r,i,o,a){var s;return n("tilde",t,e,r,i,o,a),st(r)?s="":st(i)?s=">="+r+".0.0 <"+(+r+1)+".0.0":st(o)?s=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":a?(n("replaceTilde pr",a),s=">="+r+"."+i+"."+o+"-"+a+" <"+r+"."+(+i+1)+".0"):s=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",s),s}))}(t,e)})).join(" ")}(t,e),n("tildes",t),t=function(t,e){return n("replaceXRanges",t,e),t.split(/\s+/).map((function(t){return function(t,e){t=t.trim();var r=e.loose?o[j]:o[C];return t.replace(r,(function(e,r,i,o,a,s){n("xRange",t,e,r,i,o,a,s);var c=st(i),u=c||st(o),l=u||st(a);return"="===r&&l&&(r=""),c?e=">"===r||"<"===r?"<0.0.0":"*":r&&l?(u&&(o=0),a=0,">"===r?(r=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",u?i=+i+1:o=+o+1),e=r+i+"."+o+"."+a):u?e=">="+i+".0.0 <"+(+i+1)+".0.0":l&&(e=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0"),n("xRange return",e),e}))}(t,e)})).join(" ")}(t,e),n("xrange",t),t=function(t,e){return n("replaceStars",t,e),t.trim().replace(o[q],"")}(t,e),n("stars",t),t}(t,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(t){return!!t.match(i)}))),a=a.map((function(t){return new it(t,this.options)}),this)},at.prototype.intersects=function(t,e){if(!(t instanceof at))throw new TypeError("a Range is required");return this.set.some((function(r){return r.every((function(r){return t.set.some((function(t){return t.every((function(t){return r.intersects(t,e)}))}))}))}))},e.toComparators=function(t,e){return new at(t,e).set.map((function(t){return t.map((function(t){return t.value})).join(" ").trim().split(" ")}))},at.prototype.test=function(t){if(!t)return!1;"string"===typeof t&&(t=new Y(t,this.options));for(var e=0;e<this.set.length;e++)if(ut(this.set[e],t,this.options))return!0;return!1},e.satisfies=lt,e.maxSatisfying=function(t,e,r){var n=null,i=null;try{var o=new at(e,r)}catch(a){return null}return t.forEach((function(t){o.test(t)&&(n&&-1!==i.compare(t)||(i=new Y(n=t,r)))})),n},e.minSatisfying=function(t,e,r){var n=null,i=null;try{var o=new at(e,r)}catch(a){return null}return t.forEach((function(t){o.test(t)&&(n&&1!==i.compare(t)||(i=new Y(n=t,r)))})),n},e.minVersion=function(t,e){t=new at(t,e);var r=new Y("0.0.0");if(t.test(r))return r;if(r=new Y("0.0.0-0"),t.test(r))return r;r=null;for(var n=0;n<t.set.length;++n){t.set[n].forEach((function(t){var e=new Y(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":r&&!Z(r,e)||(r=e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+t.operator)}}))}if(r&&t.test(r))return r;return null},e.validRange=function(t,e){try{return new at(t,e).range||"*"}catch(r){return null}},e.ltr=function(t,e,r){return ft(t,e,"<",r)},e.gtr=function(t,e,r){return ft(t,e,">",r)},e.outside=ft,e.prerelease=function(t,e){var r=G(t,e);return r&&r.prerelease.length?r.prerelease:null},e.intersects=function(t,e,r){return t=new at(t,r),e=new at(e,r),t.intersects(e)},e.coerce=function(t){if(t instanceof Y)return t;if("string"!==typeof t)return null;var e=t.match(o[A]);if(null==e)return null;return G(e[1]+"."+(e[2]||"0")+"."+(e[3]||"0"))}}).call(this,r(112))},function(t,e,r){(function(e){var n=r(764),i=r(765),o=r(595),a=r(1132),s=r(1133),c=r(1134),u=r(1135),l=r(1136),f=r(1137),h=r(1138),d=["RS256","RS384","RS512","ES256","ES384","ES512","HS256","HS384","HS512","none"];i&&d.splice(3,0,"PS256","PS384","PS512");var p={expiresIn:{isValid:function(t){return c(t)||f(t)&&t},message:'"expiresIn" should be a number of seconds or string representing a timespan'},notBefore:{isValid:function(t){return c(t)||f(t)&&t},message:'"notBefore" should be a number of seconds or string representing a timespan'},audience:{isValid:function(t){return f(t)||Array.isArray(t)},message:'"audience" must be a string or array'},algorithm:{isValid:a.bind(null,d),message:'"algorithm" must be a valid string enum value'},header:{isValid:l,message:'"header" must be an object'},encoding:{isValid:f,message:'"encoding" must be a string'},issuer:{isValid:f,message:'"issuer" must be a string'},subject:{isValid:f,message:'"subject" must be a string'},jwtid:{isValid:f,message:'"jwtid" must be a string'},noTimestamp:{isValid:s,message:'"noTimestamp" must be a boolean'},keyid:{isValid:f,message:'"keyid" must be a string'},mutatePayload:{isValid:s,message:'"mutatePayload" must be a boolean'}},m={iat:{isValid:u,message:'"iat" should be a number of seconds'},exp:{isValid:u,message:'"exp" should be a number of seconds'},nbf:{isValid:u,message:'"nbf" should be a number of seconds'}};function b(t,e,r,n){if(!l(r))throw new Error('Expected "'+n+'" to be a plain object.');Object.keys(r).forEach((function(i){var o=t[i];if(o){if(!o.isValid(r[i]))throw new Error(o.message)}else if(!e)throw new Error('"'+i+'" is not allowed in "'+n+'"')}))}var v={audience:"aud",issuer:"iss",subject:"sub",jwtid:"jti"},g=["expiresIn","notBefore","noTimestamp","audience","issuer","subject","jwtid"];t.exports=function(t,r,i,a){"function"===typeof i?(a=i,i={}):i=i||{};var s="object"===typeof t&&!e.isBuffer(t),c=Object.assign({alg:i.algorithm||"HS256",typ:s?"JWT":void 0,kid:i.keyid},i.header);function u(t){if(a)return a(t);throw t}if(!r&&"none"!==i.algorithm)return u(new Error("secretOrPrivateKey must have a value"));if("undefined"===typeof t)return u(new Error("payload is required"));if(s){try{!function(t){b(m,!0,t,"payload")}(t)}catch(y){return u(y)}i.mutatePayload||(t=Object.assign({},t))}else{var l=g.filter((function(t){return"undefined"!==typeof i[t]}));if(l.length>0)return u(new Error("invalid "+l.join(",")+" option for "+typeof t+" payload"))}if("undefined"!==typeof t.exp&&"undefined"!==typeof i.expiresIn)return u(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.'));if("undefined"!==typeof t.nbf&&"undefined"!==typeof i.notBefore)return u(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.'));try{!function(t){b(p,!1,t,"options")}(i)}catch(y){return u(y)}var f=t.iat||Math.floor(Date.now()/1e3);if(i.noTimestamp?delete t.iat:s&&(t.iat=f),"undefined"!==typeof i.notBefore){try{t.nbf=n(i.notBefore,f)}catch(w){return u(w)}if("undefined"===typeof t.nbf)return u(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}if("undefined"!==typeof i.expiresIn&&"object"===typeof t){try{t.exp=n(i.expiresIn,f)}catch(w){return u(w)}if("undefined"===typeof t.exp)return u(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60'))}Object.keys(v).forEach((function(e){var r=v[e];if("undefined"!==typeof i[e]){if("undefined"!==typeof t[r])return u(new Error('Bad "options.'+e+'" option. The payload already has an "'+r+'" property.'));t[r]=i[e]}}));var d=i.encoding||"utf8";if("function"!==typeof a)return o.sign({header:c,payload:t,secret:r,encoding:d});a=a&&h(a),o.createSign({header:c,privateKey:r,payload:t,encoding:d}).once("error",a).once("done",(function(t){a(null,t)}))}}).call(this,r(121).Buffer)},function(t,e){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=/^(?:0|[1-9]\d*)$/,s=parseInt;function c(t){return t!==t}function u(t,e){return function(t,e){for(var r=-1,n=t?t.length:0,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}(e,(function(e){return t[e]}))}var l,f,h=Object.prototype,d=h.hasOwnProperty,p=h.toString,m=h.propertyIsEnumerable,b=(l=Object.keys,f=Object,function(t){return l(f(t))}),v=Math.max;function g(t,e){var r=x(t)||function(t){return function(t){return S(t)&&O(t)}(t)&&d.call(t,"callee")&&(!m.call(t,"callee")||"[object Arguments]"==p.call(t))}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,i=!!n;for(var o in t)!e&&!d.call(t,o)||i&&("length"==o||w(o,n))||r.push(o);return r}function y(t){if(!function(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||h;return t===r}(t))return b(t);var e=[];for(var r in Object(t))d.call(t,r)&&"constructor"!=r&&e.push(r);return e}function w(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||a.test(t))&&t>-1&&t%1==0&&t<e}var x=Array.isArray;function O(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}(t.length)&&!function(t){var e=_(t)?p.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)}function _(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function S(t){return!!t&&"object"==typeof t}t.exports=function(t,e,a,l){var f;t=O(t)?t:(f=t)?u(f,function(t){return O(t)?g(t):y(t)}(f)):[],a=a&&!l?function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||S(t)&&"[object Symbol]"==p.call(t)}(t))return NaN;if(_(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=_(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var a=i.test(t);return a||o.test(t)?s(t.slice(2),a?2:8):n.test(t)?NaN:+t}(t))===1/0||t===-1/0){return 17976931348623157e292*(t<0?-1:1)}return t===t?t:0}(t),a=e%1;return e===e?a?e-a:e:0}(a):0;var h=t.length;return a<0&&(a=v(h+a,0)),function(t){return"string"==typeof t||!x(t)&&S(t)&&"[object String]"==p.call(t)}(t)?a<=h&&t.indexOf(e,a)>-1:!!h&&function(t,e,r){if(e!==e)return function(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}(t,c,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}(t,e,a)>-1}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return!0===t||!1===t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Boolean]"==r.call(t)}},function(t,e){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,s=Object.prototype.toString;function c(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){return"number"==typeof t&&t==function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(c(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=c(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var u=i.test(t);return u||o.test(t)?a(t.slice(2),u?2:8):n.test(t)?NaN:+t}(t))===1/0||t===-1/0){return 17976931348623157e292*(t<0?-1:1)}return t===t?t:0}(t),u=e%1;return e===e?u?e-u:e:0}(t)}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return"number"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Number]"==r.call(t)}},function(t,e){var r,n,i=Function.prototype,o=Object.prototype,a=i.toString,s=o.hasOwnProperty,c=a.call(Object),u=o.toString,l=(r=Object.getPrototypeOf,n=Object,function(t){return r(n(t))});t.exports=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=u.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(r){}return e}(t))return!1;var e=l(t);if(null===e)return!0;var r=s.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&a.call(r)==c}},function(t,e){var r=Object.prototype.toString,n=Array.isArray;t.exports=function(t){return"string"==typeof t||!n(t)&&function(t){return!!t&&"object"==typeof t}(t)&&"[object String]"==r.call(t)}},function(t,e){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,s=Object.prototype.toString;function c(t,e){var c;if("function"!=typeof e)throw new TypeError("Expected a function");return t=function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(u(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=u(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var c=i.test(t);return c||o.test(t)?a(t.slice(2),c?2:8):n.test(t)?NaN:+t}(t))===1/0||t===-1/0){return 17976931348623157e292*(t<0?-1:1)}return t===t?t:0}(t),c=e%1;return e===e?c?e-c:e:0}(t),function(){return--t>0&&(c=e.apply(this,arguments)),t<=1&&(e=void 0),c}}function u(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){return c(2,t)}},function(t,e,r){"use strict";var n=r(355),i=60103,o=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var a=60109,s=60110,c=60112;e.Suspense=60113;var u=60115,l=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;i=f("react.element"),o=f("react.portal"),e.Fragment=f("react.fragment"),e.StrictMode=f("react.strict_mode"),e.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),c=f("react.forward_ref"),e.Suspense=f("react.suspense"),u=f("react.memo"),l=f("react.lazy")}var h="function"===typeof Symbol&&Symbol.iterator;function d(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}function v(){}function g(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}b.prototype.isReactComponent={},b.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(d(85));this.updater.enqueueSetState(this,t,e,"setState")},b.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},v.prototype=b.prototype;var y=g.prototype=new v;y.constructor=g,n(y,b.prototype),y.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function _(t,e,r){var n,o={},a=null,s=null;if(null!=e)for(n in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)x.call(e,n)&&!O.hasOwnProperty(n)&&(o[n]=e[n]);var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];o.children=u}if(t&&t.defaultProps)for(n in c=t.defaultProps)void 0===o[n]&&(o[n]=c[n]);return{$$typeof:i,type:t,key:a,ref:s,props:o,_owner:w.current}}function S(t){return"object"===typeof t&&null!==t&&t.$$typeof===i}var k=/\/+/g;function E(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function M(t,e,r,n,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case o:c=!0}}if(c)return a=a(c=t),t=""===n?"."+E(c,0):n,Array.isArray(a)?(r="",null!=t&&(r=t.replace(k,"$&/")+"/"),M(a,e,r,"",(function(t){return t}))):null!=a&&(S(a)&&(a=function(t,e){return{$$typeof:i,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,r+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+t)),e.push(a)),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=n+E(s=t[u],u);c+=M(s,e,r,l,a)}else if("function"===typeof(l=function(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=h&&t[h]||t["@@iterator"])?t:null}(t)))for(t=l.call(t),u=0;!(s=t.next()).done;)c+=M(s=s.value,e,r,l=n+E(s,u++),a);else if("object"===s)throw e=""+t,Error(d(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return c}function C(t,e,r){if(null==t)return t;var n=[],i=0;return M(t,n,"","",(function(t){return e.call(r,t,i++)})),n}function j(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}if(1===t._status)return t._result;throw t._result}var A={current:null};function T(){var t=A.current;if(null===t)throw Error(d(321));return t}var P={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:n};e.Children={map:C,forEach:function(t,e,r){C(t,(function(){e.apply(this,arguments)}),r)},count:function(t){var e=0;return C(t,(function(){e++})),e},toArray:function(t){return C(t,(function(t){return t}))||[]},only:function(t){if(!S(t))throw Error(d(143));return t}},e.Component=b,e.PureComponent=g,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,e.cloneElement=function(t,e,r){if(null===t||void 0===t)throw Error(d(267,t));var o=n({},t.props),a=t.key,s=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,c=w.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(l in e)x.call(e,l)&&!O.hasOwnProperty(l)&&(o[l]=void 0===e[l]&&void 0!==u?u[l]:e[l])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){u=Array(l);for(var f=0;f<l;f++)u[f]=arguments[f+2];o.children=u}return{$$typeof:i,type:t.type,key:a,ref:s,props:o,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=_,e.createFactory=function(t){var e=_.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=S,e.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:j}},e.memo=function(t,e){return{$$typeof:u,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return T().useCallback(t,e)},e.useContext=function(t,e){return T().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return T().useEffect(t,e)},e.useImperativeHandle=function(t,e,r){return T().useImperativeHandle(t,e,r)},e.useLayoutEffect=function(t,e){return T().useLayoutEffect(t,e)},e.useMemo=function(t,e){return T().useMemo(t,e)},e.useReducer=function(t,e,r){return T().useReducer(t,e,r)},e.useRef=function(t){return T().useRef(t)},e.useState=function(t){return T().useState(t)},e.version="17.0.2"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"text"===t.type&&/\r?\n/.test(t.data)&&""===t.data.trim()}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var i=r(352),o=u(r(1166)),a=u(r(1167)),s=u(r(1173)),c=u(r(1174));function u(t){return t&&t.__esModule?t:{default:t}}function l(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.default=(l(n={},i.ElementType.Text,o.default),l(n,i.ElementType.Tag,a.default),l(n,i.ElementType.Style,s.default),l(n,i.ElementType.Directive,c.default),l(n,i.ElementType.Comment,c.default),l(n,i.ElementType.Script,c.default),l(n,i.ElementType.CDATA,c.default),l(n,i.ElementType.Doctype,c.default),n)},function(t,e,r){var n=r(1143);t.exports=function(t){if(t>=55296&&t<=57343||t>1114111)return"\ufffd";t in n&&(t=n[t]);var e="";t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t);return e+=String.fromCharCode(t)}},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){var n=r(770),i=t.exports=Object.create(n),o={tagName:"name"};Object.keys(o).forEach((function(t){var e=o[t];Object.defineProperty(i,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=r(769),i=r(771);function o(t,e){this.init(t,e)}function a(t,e){return i.getElementsByTagName(t,e,!0)}function s(t,e){return i.getElementsByTagName(t,e,!0,1)[0]}function c(t,e,r){return i.getText(i.getElementsByTagName(t,e,r,1)).trim()}function u(t,e,r,n,i){var o=c(r,n,i);o&&(t[e]=o)}r(53)(o,n),o.prototype.init=n;var l=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};o.prototype.onend=function(){var t,e,r={},i=s(l,this.dom);i&&("feed"===i.name?(e=i.children,r.type="atom",u(r,"id","id",e),u(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),u(r,"description","subtitle",e),(t=c("updated",e))&&(r.updated=new Date(t)),u(r,"author","email",e,!0),r.items=a("entry",e).map((function(t){var e,r={};return u(r,"id","id",t=t.children),u(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),(e=c("summary",t)||c("content",t))&&(r.description=e),(e=c("updated",t))&&(r.pubDate=new Date(e)),r}))):(e=s("channel",i.children).children,r.type=i.name.substr(0,3),r.id="",u(r,"title","title",e),u(r,"link","link",e),u(r,"description","description",e),(t=c("lastBuildDate",e))&&(r.updated=new Date(t)),u(r,"author","managingEditor",e,!0),r.items=a("item",i.children).map((function(t){var e,r={};return u(r,"id","guid",t=t.children),u(r,"title","title",t),u(r,"link","link",t),u(r,"description","description",t),(e=c("pubDate",t))&&(r.pubDate=new Date(e)),r})))),this.dom=r,n.prototype._handleCallback.call(this,i?null:Error("couldn't find root of feed"))},t.exports=o},function(t,e,r){var n=r(398),i=r(1150),o=n.isTag;t.exports={getInnerHTML:function(t,e){return t.children?t.children.map((function(t){return i(t,e)})).join(""):""},getOuterHTML:i,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):o(e)?"br"===e.name?"\n":t(e.children):e.type===n.CDATA?t(e.children):e.type===n.Text?e.data:""}}},function(t,e,r){var n=r(1151),i=r(1152),o=r(1156);o.elementNames.__proto__=null,o.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},c=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var r="",i=0;i<t.length;i++){var o=t[i];"root"===o.type?r+=c(o.children,e):n.isTag(o)?r+=l(o,e):o.type===n.Directive?r+=f(o):o.type===n.Comment?r+=p(o):o.type===n.CDATA?r+=d(o):r+=h(o,e)}return r},u=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function l(t,e){"foreign"===e.xmlMode&&(t.name=o.elementNames[t.name]||t.name,t.parent&&u.indexOf(t.parent.name)>=0&&(e=Object.assign({},e,{xmlMode:!1}))),!e.xmlMode&&["svg","math"].indexOf(t.name)>=0&&(e=Object.assign({},e,{xmlMode:"foreign"}));var r="<"+t.name,n=function(t,e){if(t){var r,n="";for(var a in t)r=t[a],n&&(n+=" "),"foreign"===e.xmlMode&&(a=o.attributeNames[a]||a),n+=a,(null!==r&&""!==r||e.xmlMode)&&(n+='="'+(e.decodeEntities?i.encodeXML(r):r.replace(/\"/g,"&quot;"))+'"');return n}}(t.attribs,e);return n&&(r+=" "+n),!e.xmlMode||t.children&&0!==t.children.length?(r+=">",t.children&&(r+=c(t.children,e)),s[t.name]&&!e.xmlMode||(r+="</"+t.name+">")):r+="/>",r}function f(t){return"<"+t.data+">"}function h(t,e){var r=t.data||"";return!e.decodeEntities||t.parent&&t.parent.name in a||(r=i.encodeXML(r)),r}function d(t){return"<![CDATA["+t.children[0].data+"]]>"}function p(t){return"\x3c!--"+t.data+"--\x3e"}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(n=e.ElementType||(e.ElementType={})),e.isTag=function(t){return t.type===n.Tag||t.type===n.Script||t.type===n.Style},e.Root=n.Root,e.Text=n.Text,e.Directive=n.Directive,e.Comment=n.Comment,e.Script=n.Script,e.Style=n.Style,e.Tag=n.Tag,e.CDATA=n.CDATA,e.Doctype=n.Doctype},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var n=r(772),i=r(775);e.decode=function(t,e){return(!e||e<=0?n.decodeXML:n.decodeHTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?n.decodeXML:n.decodeHTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?i.encodeXML:i.encodeHTML)(t)};var o=r(775);Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return o.encodeHTML}});var a=r(772);Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var i=n(r(1155)),o=String.fromCodePoint||function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)};e.default=function(t){return t>=55296&&t<=57343||t>1114111?"\ufffd":(t in i.default&&(t=i.default[t]),o(t))}},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t){t.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},function(t,e){var r=e.getChildren=function(t){return t.children},n=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=n(t);return e?r(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var i=e.parent=t.parent;if(i){var o=i.children;o[o.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(e.parent=t,1!==t.children.push(e)){var r=t.children[t.children.length-2];r.next=e,e.prev=r,e.next=null}},e.append=function(t,e){var r=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){var i=r.children;i.splice(i.lastIndexOf(n),0,e)}}else r&&r.children.push(e)},e.prepend=function(t,e){var r=t.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}},function(t,e,r){var n=r(398).isTag;function i(t,e,r,n){for(var o,a=[],s=0,c=e.length;s<c&&!(t(e[s])&&(a.push(e[s]),--n<=0))&&(o=e[s].children,!(r&&o&&o.length>0&&(o=i(t,o,r,n),a=a.concat(o),(n-=o.length)<=0)));s++);return a}t.exports={filter:function(t,e,r,n){Array.isArray(e)||(e=[e]);"number"===typeof n&&isFinite(n)||(n=1/0);return i(t,e,!1!==r,n)},find:i,findOneChild:function(t,e){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return null},findOne:function t(e,r){for(var i=null,o=0,a=r.length;o<a&&!i;o++)n(r[o])&&(e(r[o])?i=r[o]:r[o].children.length>0&&(i=t(e,r[o].children)));return i},existsOne:function t(e,r){for(var i=0,o=r.length;i<o;i++)if(n(r[i])&&(e(r[i])||r[i].children.length>0&&t(e,r[i].children)))return!0;return!1},findAll:function(t,e){var r=[],i=e.slice();for(;i.length;){var o=i.shift();n(o)&&(o.children&&o.children.length>0&&i.unshift.apply(i,o.children),t(o)&&r.push(o))}return r}}},function(t,e,r){var n=r(398),i=e.isTag=n.isTag;e.testElement=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){if("tag_name"===r){if(!i(e)||!t.tag_name(e.name))return!1}else if("tag_type"===r){if(!t.tag_type(e.type))return!1}else if("tag_contains"===r){if(i(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[r](e.attribs[r]))return!1}else;return!0};var o={tag_name:function(t){return"function"===typeof t?function(e){return i(e)&&t(e.name)}:"*"===t?i:function(e){return i(e)&&e.name===t}},tag_type:function(t){return"function"===typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"===typeof t?function(e){return!i(e)&&t(e.data)}:function(e){return!i(e)&&e.data===t}}};function a(t,e){return"function"===typeof e?function(r){return r.attribs&&e(r.attribs[t])}:function(r){return r.attribs&&r.attribs[t]===e}}function s(t,e){return function(r){return t(r)||e(r)}}e.getElements=function(t,e,r,n){var i=Object.keys(t).map((function(e){var r=t[e];return e in o?o[e](r):a(e,r)}));return 0===i.length?[]:this.filter(i.reduce(s),e,r,n)},e.getElementById=function(t,e,r){return Array.isArray(e)||(e=[e]),this.findOne(a("id",t),e,!1!==r)},e.getElementsByTagName=function(t,e,r,n){return this.filter(o.tag_name(t),e,r,n)},e.getElementsByTagType=function(t,e,r,n){return this.filter(o.tag_type(t),e,r,n)}},function(t,e){e.removeSubsets=function(t){for(var e,r,n,i=t.length;--i>-1;){for(e=r=t[i],t[i]=null,n=!0;r;){if(t.indexOf(r)>-1){n=!1,t.splice(i,1);break}r=r.parent}n&&(t[i]=e)}return t};var r=1,n=2,i=4,o=8,a=16,s=e.compareDocumentPosition=function(t,e){var s,c,u,l,f,h,d=[],p=[];if(t===e)return 0;for(s=t;s;)d.unshift(s),s=s.parent;for(s=e;s;)p.unshift(s),s=s.parent;for(h=0;d[h]===p[h];)h++;return 0===h?r:(u=(c=d[h-1]).children,l=d[h],f=p[h],u.indexOf(l)>u.indexOf(f)?c===e?i|a:i:c===t?n|o:n)};e.uniqueSort=function(t){var e,r,o=t.length;for(t=t.slice();--o>-1;)e=t[o],(r=t.indexOf(e))>-1&&r<o&&t.splice(o,1);return t.sort((function(t,e){var r=s(t,e);return r&n?-1:r&i?1:0})),t}},function(t,e,r){t.exports=i;var n=r(776);function i(t){n.call(this,new o(this),t)}function o(t){this.scope=t}r(53)(i,n),i.prototype.readable=!0;var a=r(352).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])o.prototype["on"+t]=function(){this.scope.emit(t)};else if(1===a[t])o.prototype["on"+t]=function(e){this.scope.emit(t,e)};else{if(2!==a[t])throw Error("wrong number of arguments!");o.prototype["on"+t]=function(e,r){this.scope.emit(t,e,r)}}}))},,function(t,e,r){function n(t){this._cbs=t||{}}t.exports=n;var i=r(352).EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])t="on"+t,n.prototype[t]=function(){this._cbs[t]&&this._cbs[t]()};else if(1===i[t])t="on"+t,n.prototype[t]=function(e){this._cbs[t]&&this._cbs[t](e)};else{if(2!==i[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this._cbs[t]&&this._cbs[t](e,r)}}}))},function(t,e,r){function n(t){this._cbs=t||{},this.events=[]}t.exports=n;var i=r(352).EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])t="on"+t,n.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(1===i[t])t="on"+t,n.prototype[t]=function(e){this.events.push([t,e]),this._cbs[t]&&this._cbs[t](e)};else{if(2!==i[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this.events.push([t,e,r]),this._cbs[t]&&this._cbs[t](e,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var r=this.events[t].length;1===r?this._cbs[this.events[t][0]]():2===r?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var c=t.name;if(!(0,s.default)(c))return null;var u=(0,o.default)(t.attribs,e),l=null;-1===a.default.indexOf(c)&&(l=(0,i.default)(t.children,r));return n.default.createElement(c,u,l)};var n=c(r(0)),i=c(r(620)),o=c(r(777)),a=c(r(1172)),s=c(r(778));function c(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Object.keys(t).filter((function(t){return(0,o.default)(t)})).reduce((function(e,r){var o=r.toLowerCase(),a=i.default[o]||o;return e[a]=function(t,e){n.default.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())>=0&&(e=t);return e}(a,t[r]),e}),{})};var n=a(r(1169)),i=a(r(1170)),o=a(r(778));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(c){i=!0,o=c}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===t)return{};return t.split(";").reduce((function(t,e){var r=e.split(/^([^:]+):/).filter((function(t,e){return e>0})).map((function(t){return t.trim().toLowerCase()})),i=n(r,2),o=i[0],a=i[1];return void 0===a||(t[o=o.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))]=a),t}),{})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=void 0;t.children.length>0&&(r=t.children[0].data);var o=(0,i.default)(t.attribs,e);return n.default.createElement("style",o,r)};var n=o(r(0)),i=o(r(777));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.decodeEntities,o=void 0===r||r,a=e.transform,s=e.preprocessNodes,c=void 0===s?function(t){return t}:s,u=c(n.default.parseDOM(t,{decodeEntities:o}));return(0,i.default)(u,a)};var n=o(r(352)),i=o(r(620));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";var n=60103,i=60106,o=60107,a=60108,s=60114,c=60109,u=60110,l=60112,f=60113,h=60120,d=60115,p=60116,m=60121,b=60122,v=60117,g=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),i=w("react.portal"),o=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),c=w("react.provider"),u=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),h=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),m=w("react.block"),b=w("react.server.block"),v=w("react.fundamental"),g=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case a:case f:case h:return t;default:switch(t=t&&t.$$typeof){case u:case l:case p:case d:case c:return t;default:return e}}case i:return e}}}var O=c,_=n,S=l,k=o,E=p,M=d,C=i,j=s,A=a,T=f;e.ContextConsumer=u,e.ContextProvider=O,e.Element=_,e.ForwardRef=S,e.Fragment=k,e.Lazy=E,e.Memo=M,e.Portal=C,e.Profiler=j,e.StrictMode=A,e.Suspense=T,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return x(t)===l},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===p},e.isMemo=function(t){return x(t)===d},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===s||t===g||t===a||t===f||t===h||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===c||t.$$typeof===u||t.$$typeof===l||t.$$typeof===v||t.$$typeof===m||t[0]===b)},e.typeOf=x},function(t,e,r){"use strict";var n=r(0),i=60103;if(e.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),e.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function u(t,e,r){var n,o={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(l=e.ref),e)s.call(e,n)&&!c.hasOwnProperty(n)&&(o[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps)void 0===o[n]&&(o[n]=e[n]);return{$$typeof:i,type:t,key:u,ref:l,props:o,_owner:a.current}}e.jsx=u,e.jsxs=u},function(t,e,r){"use strict";var n=60103,i=60106,o=60107,a=60108,s=60114,c=60109,u=60110,l=60112,f=60113,h=60120,d=60115,p=60116,m=60121,b=60122,v=60117,g=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),i=w("react.portal"),o=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),c=w("react.provider"),u=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),h=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),m=w("react.block"),b=w("react.server.block"),v=w("react.fundamental"),g=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case a:case f:case h:return t;default:switch(t=t&&t.$$typeof){case u:case l:case p:case d:case c:return t;default:return e}}case i:return e}}}var O=c,_=n,S=l,k=o,E=p,M=d,C=i,j=s,A=a,T=f;e.ContextConsumer=u,e.ContextProvider=O,e.Element=_,e.ForwardRef=S,e.Fragment=k,e.Lazy=E,e.Memo=M,e.Portal=C,e.Profiler=j,e.StrictMode=A,e.Suspense=T,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return x(t)===l},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===p},e.isMemo=function(t){return x(t)===d},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===s||t===g||t===a||t===f||t===h||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===c||t.$$typeof===u||t.$$typeof===l||t.$$typeof===v||t.$$typeof===m||t[0]===b)},e.typeOf=x},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){var e=(0,i.default)(t);return{getItem:function(t){return new Promise((function(r,n){r(e.getItem(t))}))},setItem:function(t,r){return new Promise((function(n,i){n(e.setItem(t,r))}))},removeItem:function(t){return new Promise((function(r,n){r(e.removeItem(t))}))}}};var n,i=(n=r(1180))&&n.__esModule?n:{default:n}},function(t,e,r){"use strict";function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(){}e.__esModule=!0,e.default=function(t){var e="".concat(t,"Storage");return function(t){if("object"!==("undefined"===typeof self?"undefined":n(self))||!(t in self))return!1;try{var e=self[t],r="redux-persist ".concat(t," test");e.setItem(r,"test"),e.getItem(r),e.removeItem(r)}catch(i){return!1}return!0}(e)?self[e]:o};var o={getItem:i,setItem:i,removeItem:i}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"===typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(E){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var i=e&&e.prototype instanceof f?e:f,o=Object.create(i.prototype),a=new _(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return k()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=w(a,r);if(s){if(s===l)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(t,r,a),o}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=c;var l={};function f(){}function h(){}function d(){}var p={};s(p,i,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(S([])));b&&b!==e&&r.call(b,i)&&(p=b);var v=d.prototype=f.prototype=Object.create(p);function g(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function y(t,e){var n;this._invoke=function(i,o){function a(){return new e((function(n,a){!function n(i,o,a,s){var c=u(t[i],t,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}(i,o,n,a)}))}return n=n?n.then(a,a):a()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var e=t[i];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return h.prototype=d,s(v,"constructor",d),s(d,"constructor",h),h.displayName=s(d,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,s(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},g(y.prototype),s(y.prototype,o,(function(){return this})),t.AsyncIterator=y,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var a=new y(c(e,r,n,i),o);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},g(v),s(v,a,"Generator"),s(v,i,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=S,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:S(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=n}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";var n=60103,i=60106,o=60107,a=60108,s=60114,c=60109,u=60110,l=60112,f=60113,h=60120,d=60115,p=60116,m=60121,b=60122,v=60117,g=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var w=Symbol.for;n=w("react.element"),i=w("react.portal"),o=w("react.fragment"),a=w("react.strict_mode"),s=w("react.profiler"),c=w("react.provider"),u=w("react.context"),l=w("react.forward_ref"),f=w("react.suspense"),h=w("react.suspense_list"),d=w("react.memo"),p=w("react.lazy"),m=w("react.block"),b=w("react.server.block"),v=w("react.fundamental"),g=w("react.debug_trace_mode"),y=w("react.legacy_hidden")}function x(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case s:case a:case f:case h:return t;default:switch(t=t&&t.$$typeof){case u:case l:case p:case d:case c:return t;default:return e}}case i:return e}}}var O=c,_=n,S=l,k=o,E=p,M=d,C=i,j=s,A=a,T=f;e.ContextConsumer=u,e.ContextProvider=O,e.Element=_,e.ForwardRef=S,e.Fragment=k,e.Lazy=E,e.Memo=M,e.Portal=C,e.Profiler=j,e.StrictMode=A,e.Suspense=T,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return x(t)===u},e.isContextProvider=function(t){return x(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return x(t)===l},e.isFragment=function(t){return x(t)===o},e.isLazy=function(t){return x(t)===p},e.isMemo=function(t){return x(t)===d},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===a},e.isSuspense=function(t){return x(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===o||t===s||t===g||t===a||t===f||t===h||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===c||t.$$typeof===u||t.$$typeof===l||t.$$typeof===v||t.$$typeof===m||t[0]===b)},e.typeOf=x},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(1186);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e,n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){var n=r(101).default,i=r(782);t.exports=function(t,e){if(e&&("object"===n(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.updateConfig=e.getConfig=e.DEFAULT_PROPS=void 0;var i=n(r(664)),o=r(353),a=r(626);function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e,r=1;r<arguments.length;r++)e=null==arguments[r]?{}:arguments[r],r%2?s(Object(e),!0).forEach((function(r){(0,i.default)(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}var u={value:0,minValue:0,maxValue:1e3,forceRender:!1,width:300,height:300,paddingHorizontal:0,paddingVertical:0,fluidWidth:!1,dimensionUnit:"px",segments:5,maxSegmentLabels:-1,customSegmentStops:[],customSegmentLabels:[],needleColor:"steelblue",startColor:"#FF471A",endColor:"#33CC33",segmentColors:[],needleTransition:r(627).Transition.easeQuadInOut,needleTransitionDuration:500,needleHeightRatio:.9,ringWidth:60,textColor:"#666",valueFormat:"",currentValueText:"${value}",currentValuePlaceholderStyle:"${value}",labelFontSize:"14px",valueTextFontSize:"16px",valueTextFontWeight:"bold"};e.DEFAULT_PROPS=u;var l={ringInset:20,pointerWidth:10,pointerTailLength:5,minAngle:-90,maxAngle:90,labelInset:10};e.getConfig=function(t){var e=t.PROPS,r=t.parentWidth,n=t.parentHeight,i={width:e.fluidWidth?r:e.width,height:e.fluidWidth?n:e.height,paddingHorizontal:e.paddingHorizontal,paddingVertical:e.paddingVertical,dimensionUnit:e.dimensionUnit,ringWidth:e.ringWidth,minValue:e.minValue,maxValue:e.maxValue,needleColor:e.needleColor,majorTicks:e.segments,customSegmentStops:e.customSegmentStops,customSegmentLabels:e.customSegmentLabels,maxSegmentLabels:(0,a.calculateSegmentLabelCount)({maxSegmentLabelCount:e.maxSegmentLabels,segmentCount:e.segments}),segmentColors:e.segmentColors,arcColorFn:0<e.segmentColors.length?(0,o.scaleQuantize)(e.segmentColors):(0,o.interpolateHsl)((0,o.rgb)(e.startColor),(0,o.rgb)(e.endColor)),needleTransition:e.needleTransition,needleTransitionDuration:e.needleTransitionDuration,needleHeightRatio:e.needleHeightRatio,textColor:e.textColor,labelFormat:(0,o.format)(e.valueFormat),currentValueText:e.currentValueText,currentValuePlaceholderStyle:e.currentValuePlaceholderStyle,labelFontSize:e.labelFontSize,valueTextFontSize:e.valueTextFontSize,valueTextFontWeight:e.valueTextFontWeight};return Object.assign({},l,i)};e.updateConfig=function(t,e){return c(c({},t),e)}},function(t,e,r){"use strict";r.r(e);var n=r(160),i=r(153);e.default=function(t){return"number"==typeof t||Object(i.a)(t)&&"[object Number]"==Object(n.a)(t)}},function(t,e,r){"use strict";r.r(e),e.default=function(t){return t&&t.length?t[0]:void 0}},function(t,e,r){"use strict";r.r(e),e.default=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,r){"use strict";r.r(e);var n=r(529),i=r(372);e.default=function(t,e,r){var o=null==t?0:t.length;return o?(e=r||void 0===e?1:Object(i.a)(e),Object(n.a)(t,e<0?0:e,o)):[]}},function(t,e,r){"use strict";r.r(e);var n=r(529),i=r(372);e.default=function(t,e,r){return t&&t.length?(e=r||void 0===e?1:Object(i.a)(e),Object(n.a)(t,0,e<0?0:e)):[]}},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e._renderLabels=l,e.render=e.update=void 0;var i=r(353),o=n(r(791)),a=n(r(167)),s=r(626),c=r(1196),u=r(1197);e.update=function(t){var e=t.d3_refs,r=t.newValue,n=t.config,i=(0,u.configureScale)(n)(r),o=n.maxAngle-n.minAngle,a=n.minAngle+i*o;e.pointer.transition().duration(n.needleTransitionDuration).ease((0,c.getNeedleTransition)(n.needleTransition)).attr("transform","rotate(".concat(a,")")),e.current_value_text.text((0,s.formatCurrentValueText)(r,n))};function l(t){var e=t.config,r=t.svg,n=t.centerTx,i=t.r,c=(0,u.configureTicks)(e),l=(0,u.configureTickData)(e),f=(0,u.configureScale)(e),h=e.maxAngle-e.minAngle,d=e.customSegmentLabels,p=(0,a.default)(d)&&!(0,o.default)(d),m=p&&d.length===l.length;if(p&&!m)throw new Error("Custom Segment Labels should be an array with length of ".concat(l.length));p&&m?function(t){function e(t,e){var n=0===f.length?u(t):(0,s.sumArrayTill)(c,e);return r.minAngle+n*l}var r=t.config,n=t.svg,i=t.centerTx,o=t.r,a=t.ticks,c=t.tickData,u=t.scale,l=t.range,f=r.customSegmentStops,h=r.customSegmentLabels,d=h.map((function(t,r){var n=r,i=r+1,o=e(a[n],n);return(e(a[i],i)+o)/2})),p=o-r.ringWidth-r.ringInset,m=o-r.ringInset;n.append("g").attr("class","label").attr("transform",i).selectAll("text").data(h).enter().append("text").attr("transform",(function(t,e){var n=d[e],i="rotate(".concat(n,") translate(0, ").concat(r.labelInset-o,")"),a="rotate(".concat(n,") translate(0, ").concat(r.labelInset/2-(m-(m-p)/2),")");return"OUTSIDE"===t.position?i:a})).text((function(t){return t.text||""})).attr("class","segment-value").style("text-anchor","middle").style("font-size",(function(t){return t.fontSize||r.labelFontSize})).style("font-weight","bold").style("fill",(function(t){return t.color||r.textColor}))}({config:e,svg:r,centerTx:n,r:i,ticks:c,tickData:l,scale:f,range:h}):r.append("g").attr("class","label").attr("transform",n).selectAll("text").data(c).enter().append("text").attr("transform",(function(t,r){var n=0===e.customSegmentStops.length?f(t):(0,s.sumArrayTill)(l,r),o=e.minAngle+n*h;return"rotate(".concat(o,") translate(0, ").concat(e.labelInset-i,")")})).text(e.labelFormat).attr("class","segment-value").style("text-anchor","middle").style("font-size",e.labelFontSize).style("font-weight","bold").style("fill",e.textColor)}function f(t){var e=t.config,r=t.svg,n=(e.width+2*e.paddingHorizontal)/2,i=(e.width+4*e.paddingVertical)/2;return r.append("g").attr("transform","translate(".concat(n,", ").concat(i,")")).append("text").attr("class","current-value").attr("text-anchor","middle").attr("y",23).text(e.currentValue).style("font-size",e.valueTextFontSize).style("font-weight",e.valueTextFontWeight).style("fill",e.textColor)}function h(t){var e=t.config,r=t.svg,n=t.r,o=t.centerTx,a=(0,s.calculateNeedleHeight)({heightRatio:e.needleHeightRatio,radius:n}),c=[[e.pointerWidth/2,0],[0,-a],[-e.pointerWidth/2,0],[0,e.pointerTailLength],[e.pointerWidth/2,0]],u=(0,i.line)().curve(i.curveMonotoneX);return r.append("g").data([c]).attr("class","pointer").attr("transform",o).style("fill",e.needleColor).append("path").attr("d",u).attr("transform","rotate(".concat(e.minAngle,")"))}e.render=function(t){var e=t.container,r=t.config,n=(0,s.getRadius)(r),a=(0,s.centerTranslation)(n,r.paddingHorizontal,r.paddingVertical),c=function(t){var e=t.container,r=t.config,n=r.width+2*r.paddingHorizontal,o=r.height+2*r.paddingVertical;return(0,i.select)(e).append("svg:svg").attr("class","speedometer").attr("width","".concat(n).concat(r.dimensionUnit)).attr("height","".concat(o).concat(r.dimensionUnit)).style("width","".concat(n).concat(r.dimensionUnit)).style("height","".concat(o).concat(r.dimensionUnit))}({container:e,config:r});return function(t){var e=t.config,r=t.svg,n=t.centerTx,i=(0,u.configureTickData)(e),a=(0,u.configureArc)(e);r.append("g").attr("class","arc").attr("transform",n).selectAll("path").data(i).enter().append("path").attr("class","speedo-segment").attr("fill",(function(t,r){return!(0,o.default)(e.segmentColors)&&e.segmentColors[r]?e.segmentColors[r]:e.arcColorFn(t*r)})).attr("d",a)}({config:r,svg:c,centerTx:a}),l({config:r,svg:c,centerTx:a,r:n}),{current_value_text:f({config:r,svg:c}),pointer:h({config:r,svg:c,r:n,centerTx:a})}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNeedleTransition=function(t){return t===i.Transition.easeLinear?n.easeLinear:t===i.Transition.easeQuadIn?n.easeQuadIn:t===i.Transition.easeQuadOut?n.easeQuadOut:t===i.Transition.easeQuadInOut?n.easeQuadInOut:t===i.Transition.easeCubicIn?n.easeCubicIn:t===i.Transition.easeCubicOut?n.easeCubicOut:t===i.Transition.easeCubicInOut?n.easeCubicInOut:t===i.Transition.easePolyIn?n.easePolyIn:t===i.Transition.easePolyOut?n.easePolyOut:t===i.Transition.easePolyInOut?n.easePolyInOut:t===i.Transition.easeSinIn?n.easeSinIn:t===i.Transition.easeSinOut?n.easeSinOut:t===i.Transition.easeSinInOut?n.easeSinInOut:t===i.Transition.easeExpIn?n.easeExpIn:t===i.Transition.easeExpOut?n.easeExpOut:t===i.Transition.easeExpInOut?n.easeExpInOut:t===i.Transition.easeCircleIn?n.easeCircleIn:t===i.Transition.easeCircleOut?n.easeCircleOut:t===i.Transition.easeCircleInOut?n.easeCircleInOut:t===i.Transition.easeBounceIn?n.easeBounceIn:t===i.Transition.easeBounceOut?n.easeBounceOut:t===i.Transition.easeBounceInOut?n.easeBounceInOut:t===i.Transition.easeBackIn?n.easeBackIn:t===i.Transition.easeBackOut?n.easeBackOut:t===i.Transition.easeBackInOut?n.easeBackInOut:t===i.Transition.easeElasticIn?n.easeElasticIn:t===i.Transition.easeElasticOut?n.easeElasticOut:t===i.Transition.easeElasticInOut?n.easeElasticInOut:t===i.Transition.easeElastic?n.easeElastic:n.easeQuadInOut};var n=r(353),i=r(627)},function(t,e,r){"use strict";var n=r(50);Object.defineProperty(e,"__esModule",{value:!0}),e.configureArc=e.configureTickData=e.configureTicks=e.configureScale=void 0;var i=n(r(530)),o=r(353),a=r(626),s=(0,i.default)((function(t){return(0,a.calculateScale)({min:t.minValue,max:t.maxValue,segments:t.maxSegmentLabels})}));e.configureScale=s;var c=(0,i.default)((function(t){var e=s(t),r=(0,a.calculateTicks)(e,{min:t.minValue,max:t.maxValue,segments:t.maxSegmentLabels});return 0<t.customSegmentStops.length&&0!==t.maxSegmentLabels&&(r=t.customSegmentStops),r}));e.configureTicks=c;var u=(0,i.default)((function(t){var e=(0,o.range)(t.majorTicks).map((function(){return 1/t.majorTicks}));return(0,a.calculateSegmentStops)({tickData:e,customSegmentStops:t.customSegmentStops,min:t.minValue,max:t.maxValue})}));e.configureTickData=u;var l=(0,i.default)((function(t){var e=u(t),r=t.maxAngle-t.minAngle,n=t.width/2;return(0,o.arc)().innerRadius(n-t.ringWidth-t.ringInset).outerRadius(n-t.ringInset).startAngle((function(n,i){var o=(0,a.sumArrayTill)(e,i);return(0,a.deg2rad)(t.minAngle+o*r)})).endAngle((function(n,i){var o=(0,a.sumArrayTill)(e,i+1);return(0,a.deg2rad)(t.minAngle+o*r)}))}));e.configureArc=l},function(t,e,r){"use strict";var n=r(792),i=r(1199);Object.defineProperty(e,"__esModule",{value:!0}),e.getDomTreeShapes=x,e.findNativeHandler=_,e.default=e.SwipeableViewsContext=void 0;var o=i(r(1200)),a=i(r(1201)),s=i(r(1203)),c=i(r(1204)),u=i(r(1205)),l=i(r(1208)),f=i(r(1209)),h=n(r(0)),d=(i(r(10)),i(r(793)),r(1211));function p(t,e,r,n){return t.addEventListener(e,r,n),{remove:function(){t.removeEventListener(e,r,n)}}}var m={direction:"ltr",display:"flex",willChange:"transform"},b={width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"},v={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(t){return"translate(".concat(-t,"%, 0)")},"x-reverse":function(t){return"translate(".concat(t,"%, 0)")},y:function(t){return"translate(0, ".concat(-t,"%)")},"y-reverse":function(t){return"translate(0, ".concat(t,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function g(t,e){var r=e.duration,n=e.easeFunction,i=e.delay;return"".concat(t," ").concat(r," ").concat(n," ").concat(i)}function y(t,e){var r=v.rotationMatrix[e];return{pageX:r.x[0]*t.pageX+r.x[1]*t.pageY,pageY:r.y[0]*t.pageX+r.y[1]*t.pageY}}function w(t){return t.touches=[{pageX:t.pageX,pageY:t.pageY}],t}function x(t,e){for(var r=[];t&&t!==e&&t!==document.body&&!t.hasAttribute("data-swipeable");){var n=window.getComputedStyle(t);"absolute"===n.getPropertyValue("position")||"hidden"===n.getPropertyValue("overflow-x")?r=[]:(t.clientWidth>0&&t.scrollWidth>t.clientWidth||t.clientHeight>0&&t.scrollHeight>t.clientHeight)&&r.push({element:t,scrollWidth:t.scrollWidth,scrollHeight:t.scrollHeight,clientWidth:t.clientWidth,clientHeight:t.clientHeight,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}),t=t.parentNode}return r}var O=null;function _(t){var e=t.domTreeShapes,r=t.pageX,n=t.startX,i=t.axis;return e.some((function(t){var e=r>=n;"x"!==i&&"y"!==i||(e=!e);var o=Math.round(t[v.scrollPosition[i]]),a=o>0,s=o+t[v.clientLength[i]]<t[v.scrollLength[i]];return!!(e&&s||!e&&a)&&(O=t.element,!0)}))}var S=h.createContext();e.SwipeableViewsContext=S;var k=function(t){function e(t){var r;return(0,s.default)(this,e),(r=(0,u.default)(this,(0,l.default)(e).call(this,t))).rootNode=null,r.containerNode=null,r.ignoreNextScrollEvents=!1,r.viewLength=0,r.startX=0,r.lastX=0,r.vx=0,r.startY=0,r.isSwiping=void 0,r.started=!1,r.startIndex=0,r.transitionListener=null,r.touchMoveListener=null,r.activeSlide=null,r.indexCurrent=null,r.firstRenderTimeout=null,r.setRootNode=function(t){r.rootNode=t},r.setContainerNode=function(t){r.containerNode=t},r.setActiveSlide=function(t){r.activeSlide=t,r.updateHeight()},r.handleSwipeStart=function(t){var e=r.props.axis,n=y(t.touches[0],e);r.viewLength=r.rootNode.getBoundingClientRect()[v.length[e]],r.startX=n.pageX,r.lastX=n.pageX,r.vx=0,r.startY=n.pageY,r.isSwiping=void 0,r.started=!0;var i=window.getComputedStyle(r.containerNode),o=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform");if(o&&"none"!==o){var a=o.split("(")[1].split(")")[0].split(","),s=window.getComputedStyle(r.rootNode),c=y({pageX:parseInt(a[4],10),pageY:parseInt(a[5],10)},e);r.startIndex=-c.pageX/(r.viewLength-parseInt(s.paddingLeft,10)-parseInt(s.paddingRight,10))||0}},r.handleSwipeMove=function(t){if(r.started){if(null===O||O===r.rootNode){var e=r.props,n=e.axis,i=e.children,o=e.ignoreNativeScroll,a=e.onSwitching,s=e.resistance,c=y(t.touches[0],n);if(void 0===r.isSwiping){var u=Math.abs(c.pageX-r.startX),l=Math.abs(c.pageY-r.startY),f=u>l&&u>d.constant.UNCERTAINTY_THRESHOLD;if(!s&&("y"===n||"y-reverse"===n)&&(0===r.indexCurrent&&r.startX<c.pageX||r.indexCurrent===h.Children.count(r.props.children)-1&&r.startX>c.pageX))return void(r.isSwiping=!1);if(u>l&&t.preventDefault(),!0===f||l>d.constant.UNCERTAINTY_THRESHOLD)return r.isSwiping=f,void(r.startX=c.pageX)}if(!0===r.isSwiping){t.preventDefault(),r.vx=.5*r.vx+.5*(c.pageX-r.lastX),r.lastX=c.pageX;var p=(0,d.computeIndex)({children:i,resistance:s,pageX:c.pageX,startIndex:r.startIndex,startX:r.startX,viewLength:r.viewLength}),m=p.index,b=p.startX;if(null===O&&!o)if(_({domTreeShapes:x(t.target,r.rootNode),startX:r.startX,pageX:c.pageX,axis:n}))return;b?r.startX=b:null===O&&(O=r.rootNode),r.setIndexCurrent(m);var v=function(){a&&a(m,"move")};!r.state.displaySameSlide&&r.state.isDragging||r.setState({displaySameSlide:!1,isDragging:!0},v),v()}}}else r.handleTouchStart(t)},r.handleSwipeEnd=function(){if(O=null,r.started&&(r.started=!1,!0===r.isSwiping)){var t,e=r.state.indexLatest,n=r.indexCurrent,i=e-n;t=Math.abs(r.vx)>r.props.threshold?r.vx>0?Math.floor(n):Math.ceil(n):Math.abs(i)>r.props.hysteresis?i>0?Math.floor(n):Math.ceil(n):e;var o=h.Children.count(r.props.children)-1;t<0?t=0:t>o&&(t=o),r.setIndexCurrent(t),r.setState({indexLatest:t,isDragging:!1},(function(){r.props.onSwitching&&r.props.onSwitching(t,"end"),r.props.onChangeIndex&&t!==e&&r.props.onChangeIndex(t,e,{reason:"swipe"}),n===e&&r.handleTransitionEnd()}))}},r.handleTouchStart=function(t){r.props.onTouchStart&&r.props.onTouchStart(t),r.handleSwipeStart(t)},r.handleTouchEnd=function(t){r.props.onTouchEnd&&r.props.onTouchEnd(t),r.handleSwipeEnd(t)},r.handleMouseDown=function(t){r.props.onMouseDown&&r.props.onMouseDown(t),t.persist(),r.handleSwipeStart(w(t))},r.handleMouseUp=function(t){r.props.onMouseUp&&r.props.onMouseUp(t),r.handleSwipeEnd(w(t))},r.handleMouseLeave=function(t){r.props.onMouseLeave&&r.props.onMouseLeave(t),r.started&&r.handleSwipeEnd(w(t))},r.handleMouseMove=function(t){r.props.onMouseMove&&r.props.onMouseMove(t),r.started&&r.handleSwipeMove(w(t))},r.handleScroll=function(t){if(r.props.onScroll&&r.props.onScroll(t),t.target===r.rootNode)if(r.ignoreNextScrollEvents)r.ignoreNextScrollEvents=!1;else{var e=r.state.indexLatest,n=Math.ceil(t.target.scrollLeft/t.target.clientWidth)+e;r.ignoreNextScrollEvents=!0,t.target.scrollLeft=0,r.props.onChangeIndex&&n!==e&&r.props.onChangeIndex(n,e,{reason:"focus"})}},r.updateHeight=function(){if(null!==r.activeSlide){var t=r.activeSlide.children[0];void 0!==t&&void 0!==t.offsetHeight&&r.state.heightLatest!==t.offsetHeight&&r.setState({heightLatest:t.offsetHeight})}},r.state={indexLatest:t.index,isDragging:!1,renderOnlyActive:!t.disableLazyLoading,heightLatest:0,displaySameSlide:!0},r.setIndexCurrent(t.index),r}return(0,f.default)(e,t),(0,c.default)(e,[{key:"componentDidMount",value:function(){var t=this;this.transitionListener=p(this.containerNode,"transitionend",(function(e){e.target===t.containerNode&&t.handleTransitionEnd()})),this.touchMoveListener=p(this.rootNode,"touchmove",(function(e){t.props.disabled||t.handleSwipeMove(e)}),{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout((function(){t.setState({renderOnlyActive:!1})}),0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.index;"number"===typeof e&&e!==this.props.index&&(this.setIndexCurrent(e),this.setState({displaySameSlide:(0,d.getDisplaySameSlide)(this.props,t),indexLatest:e}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var t=this;return{slideUpdateHeight:function(){t.updateHeight()}}}},{key:"setIndexCurrent",value:function(t){if(this.props.animateTransitions||this.indexCurrent===t||this.handleTransitionEnd(),this.indexCurrent=t,this.containerNode){var e=this.props.axis,r=v.transform[e](100*t);this.containerNode.style.WebkitTransform=r,this.containerNode.style.transform=r}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var t,e,r=this,n=this.props,i=(n.action,n.animateHeight),s=n.animateTransitions,c=n.axis,u=n.children,l=n.containerStyle,f=n.disabled,d=(n.disableLazyLoading,n.enableMouseEvents),p=(n.hysteresis,n.ignoreNativeScroll,n.index,n.onChangeIndex,n.onSwitching,n.onTransitionEnd,n.resistance,n.slideStyle),y=n.slideClassName,w=n.springConfig,x=n.style,O=(n.threshold,(0,a.default)(n,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"])),_=this.state,k=_.displaySameSlide,E=_.heightLatest,M=_.indexLatest,C=_.isDragging,j=_.renderOnlyActive,A=f?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},T=!f&&d?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},P=(0,o.default)({},b,p);if(C||!s||k)t="all 0s ease 0s",e="all 0s ease 0s";else if(t=g("transform",w),e=g("-webkit-transform",w),0!==E){var D=", ".concat(g("height",w));t+=D,e+=D}var R={height:null,WebkitFlexDirection:v.flexDirection[c],flexDirection:v.flexDirection[c],WebkitTransition:e,transition:t};if(!j){var L=v.transform[c](100*this.indexCurrent);R.WebkitTransform=L,R.transform=L}return i&&(R.height=E),h.createElement(S.Provider,{value:this.getSwipeableViewsContext()},h.createElement("div",(0,o.default)({ref:this.setRootNode,style:(0,o.default)({},v.root[c],x)},O,A,T,{onScroll:this.handleScroll}),h.createElement("div",{ref:this.setContainerNode,style:(0,o.default)({},R,m,l),className:"react-swipeable-view-container"},h.Children.map(u,(function(t,e){if(j&&e!==M)return null;var n,o=!0;return e===M&&(o=!1,i&&(n=r.setActiveSlide,P.overflowY="hidden")),h.createElement("div",{ref:n,style:P,className:y,"aria-hidden":o,"data-swipeable":"true"},t)})))))}}]),e}(h.Component);k.displayName="ReactSwipableView",k.propTypes={},k.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var E=k;e.default=E},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},r.apply(this,arguments)}t.exports=r},function(t,e,r){var n=r(1202);t.exports=function(t,e){if(null==t)return{};var r,i,o=n(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}},function(t,e){t.exports=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}},function(t,e,r){var n=r(1206),i=r(1207);t.exports=function(t,e){return!e||"object"!==n(e)&&"function"!==typeof e?i(t):e}},function(t,e){function r(t){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(e){return"function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?t.exports=n=function(t){return r(t)}:t.exports=n=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},n(e)}t.exports=n},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(e)}t.exports=r},function(t,e,r){var n=r(1210);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(e,n)}t.exports=r},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return c.default}});var i=n(r(1212)),o=n(r(1213)),a=n(r(794)),s=n(r(1214)),c=n(r(1215))},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(0)),o=(n(r(793)),function(t){t.index;var e=t.children;i.default.Children.count(e)});e.default=o},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e,r=t.children,n=t.startIndex,a=t.startX,s=t.pageX,c=t.viewLength,u=t.resistance,l=i.default.Children.count(r)-1,f=n+(a-s)/c;u?f<0?f=Math.exp(f*o.default.RESISTANCE_COEF)-1:f>l&&(f=l+1-Math.exp((l-f)*o.default.RESISTANCE_COEF)):f<0?e=((f=0)-n)*c+s:f>l&&(e=((f=l)-n)*c+s);return{index:f,startX:e}};var i=n(r(0)),o=n(r(794))},function(t,e,r){"use strict";var n=r(483);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(r(0)),o=function(t,e){var r=!1,n=function(t){return t?t.key:"empty"};if(t.children.length&&e.children.length){var o=i.default.Children.map(t.children,n)[t.index];if(null!==o&&void 0!==o)o===i.default.Children.map(e.children,n)[e.index]&&(r=!0)}return r};e.default=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(t,e){var r=t%e;return r<0?r+e:r};e.default=n},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=x,e.MAX_RESULTS=e.DEFAULT_INPUT_DEBOUNCE=void 0;var i,o=m(r(0)),a=d(r(10)),s=d(r(1217)),c=r(1218),u=d(r(1219)),l=d(r(1220)),f=m(r(403)),h=r(1222);function d(t){return t&&t.__esModule?t:{default:t}}function p(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return p=function(){return t},t}function m(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var e=p();if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,e&&e.set(t,r),r}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return v(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e,r=1;r<arguments.length;r++)e=null==arguments[r]?{}:arguments[r],r%2?g(Object(e),!0).forEach((function(r){w(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}function w(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.DEFAULT_INPUT_DEBOUNCE=200;function x(t){var e=t.items,r=t.fuseOptions,n=t.inputDebounce,i=t.onSearch,a=t.onHover,d=t.onSelect,p=t.onFocus,m=t.onClear,v=t.showIcon,g=t.showClear,w=t.maxResults,x=t.placeholder,O=t.autoFocus,_=t.styling,k=t.resultStringKeyName,E=t.inputSearchString,M=t.formatResult,C=y(y({},c.defaultTheme),_),j=y(y({},c.defaultFuseOptions),r),A=new s.default(e,j);A.setCollection(e);var T=b((0,o.useState)(E),2),P=T[0],D=T[1],R=b((0,o.useState)(),2),L=R[0],I=R[1],N=function(t){var e=[];0<(null===t||void 0===t?void 0:t.length)?(e=B(t),I(e),i(t,e)):I(e)},F=o.default.useCallback(0<n?(0,h.debounce)((function(t){return N(t)}),n):function(t){return N(t)},[e]);(0,o.useEffect)((function(){D(E)}),[E]),(0,o.useEffect)((function(){0<(null===P||void 0===P?void 0:P.length)&&0<(null===L||void 0===L?void 0:L.length)&&I(B(P))}),[e]);var B=function(t){return A.search(t,{limit:w}).map((function(t){return y({},t.item)})).slice(0,w)};return o.default.createElement(f.ThemeProvider,{theme:C},o.default.createElement(S,null,o.default.createElement("div",{className:"wrapper"},o.default.createElement(l.default,{searchString:P,setSearchString:function(t){var e=t.target.value;D(e),F(e)},autoFocus:O,onBlur:function(){return I([])},onFocus:p,onClear:m,placeholder:x,showIcon:v,showClear:g}),o.default.createElement(u.default,{results:L,onClick:function(t){I([]),d(t)},onHover:a,setSearchString:D,showIcon:v,maxResults:w,resultStringKeyName:k,formatResult:M}))))}e.MAX_RESULTS=10,x.defaultProps={items:[],fuseOptions:c.defaultFuseOptions,onSearch:function(){},onHover:function(){},onSelect:function(){},onClear:function(){},inputDebounce:200,showIcon:!0,showClear:!0,maxResults:10,placeholder:"",autoFocus:!1,onFocus:function(){},styling:{},resultStringKeyName:"name",inputSearchString:"",formatResult:function(t){return t}},x.propTypes={items:a.default.array,fuseOptions:a.default.object,inputDebounce:a.default.number,onSearch:a.default.func,onHover:a.default.func,onSelect:a.default.func,onClear:a.default.func,onFocus:a.default.func,showIcon:a.default.bool,showClear:a.default.bool,maxResults:a.default.number,placeholder:a.default.string,autoFocus:a.default.bool,styling:a.default.object,resultStringKeyName:a.default.string,inputSearchString:a.default.string,formatResult:a.default.func};var O,_,S=f.default.div(i||(O=["\n  position: relative;\n\n  height: ",";\n\n  > .wrapper {\n    position: absolute;\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n\n    border: ",";\n    border-radius: ",";\n\n    background-color: ",";\n    color: ",";\n\n    font-size: ",";\n    font-family: ",";\n\n    z-index: ",";\n\n    &:hover {\n      box-shadow: ",";\n    }\n    &:active {\n      box-shadow: ",";\n    }\n    &:focus-within {\n      box-shadow: ",";\n    }\n  }\n"],_||(_=O.slice(0)),i=Object.freeze(Object.defineProperties(O,{raw:{value:Object.freeze(_)}}))),(function(t){return parseInt(t.theme.height)+2+"px"}),(function(t){return t.theme.border}),(function(t){return t.theme.borderRadius}),(function(t){return t.theme.backgroundColor}),(function(t){return t.theme.color}),(function(t){return t.theme.fontSize}),(function(t){return t.theme.fontFamily}),(function(t){return t.theme.zIndex}),(function(t){return t.theme.boxShadow}),(function(t){return t.theme.boxShadow}),(function(t){return t.theme.boxShadow}))},function(t,e,r){"use strict";r.r(e);var n=r(1),i=r(95),o=r(96),a=r(19),s=r(4),c=r(45),u=r(46);function l(t){return Array.isArray?Array.isArray(t):"[object Array]"===v(t)}function f(t){return"string"===typeof t}function h(t){return"number"===typeof t}function d(t){return!0===t||!1===t||function(t){return p(t)&&null!==t}(t)&&"[object Boolean]"==v(t)}function p(t){return"object"===typeof t}function m(t){return void 0!==t&&null!==t}function b(t){return!t.trim().length}function v(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}var g=function(t){return"Invalid value for key ".concat(t)},y=function(t){return"Pattern length exceeds max of ".concat(t,".")},w=Object.prototype.hasOwnProperty,x=function(){function t(e){var r=this;Object(c.a)(this,t),this._keys=[],this._keyMap={};var n=0;e.forEach((function(t){var e=O(t);n+=e.weight,r._keys.push(e),r._keyMap[e.id]=e,n+=e.weight})),this._keys.forEach((function(t){t.weight/=n}))}return Object(u.a)(t,[{key:"get",value:function(t){return this._keyMap[t]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),t}();function O(t){var e=null,r=null,n=null,i=1;if(f(t)||l(t))n=t,e=_(t),r=S(t);else{if(!w.call(t,"name"))throw new Error(function(t){return"Missing ".concat(t," property in key")}("name"));var o=t.name;if(n=o,w.call(t,"weight")&&(i=t.weight)<=0)throw new Error(function(t){return"Property 'weight' in key '".concat(t,"' must be a positive integer")}(o));e=_(o),r=S(o)}return{path:e,id:r,weight:i,src:n}}function _(t){return l(t)?t:t.split(".")}function S(t){return l(t)?t.join("."):t}var k={useExtendedSearch:!1,getFn:function(t,e){var r=[],n=!1;return function t(e,i,o){if(m(e))if(i[o]){var a=e[i[o]];if(!m(a))return;if(o===i.length-1&&(f(a)||h(a)||d(a)))r.push(function(t){return null==t?"":function(t){if("string"==typeof t)return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}(a));else if(l(a)){n=!0;for(var s=0,c=a.length;s<c;s+=1)t(a[s],i,o+1)}else i.length&&t(a,i,o+1)}else r.push(e)}(t,f(e)?e.split("."):e,0),n?r:r[0]},ignoreLocation:!1,ignoreFieldNorm:!1},E=Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)({},{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(t,e){return t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1}}),{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1}),{location:0,threshold:.6,distance:100}),k),M=/[^ ]+/g;function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,e=new Map,r=Math.pow(10,t);return{get:function(t){var n=t.match(M).length;if(e.has(n))return e.get(n);var i=1/Math.sqrt(n),o=parseFloat(Math.round(i*r)/r);return e.set(n,o),o},clear:function(){e.clear()}}}var j=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.getFn,n=void 0===r?E.getFn:r;Object(c.a)(this,t),this.norm=C(3),this.getFn=n,this.isCreated=!1,this.setIndexRecords()}return Object(u.a)(t,[{key:"setSources",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=t}},{key:"setIndexRecords",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=t}},{key:"setKeys",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e,this._keysMap={},e.forEach((function(e,r){t._keysMap[e.id]=r}))}},{key:"create",value:function(){var t=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,f(this.docs[0])?this.docs.forEach((function(e,r){t._addString(e,r)})):this.docs.forEach((function(e,r){t._addObject(e,r)})),this.norm.clear())}},{key:"add",value:function(t){var e=this.size();f(t)?this._addString(t,e):this._addObject(t,e)}},{key:"removeAt",value:function(t){this.records.splice(t,1);for(var e=t,r=this.size();e<r;e+=1)this.records[e].i-=1}},{key:"getValueForItemAtKeyId",value:function(t,e){return t[this._keysMap[e]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(t,e){if(m(t)&&!b(t)){var r={v:t,i:e,n:this.norm.get(t)};this.records.push(r)}}},{key:"_addObject",value:function(t,e){var r=this,n={i:e,$:{}};this.keys.forEach((function(e,i){var o=r.getFn(t,e.path);if(m(o))if(l(o))!function(){for(var t=[],e=[{nestedArrIndex:-1,value:o}];e.length;){var a=e.pop(),s=a.nestedArrIndex,c=a.value;if(m(c))if(f(c)&&!b(c)){var u={v:c,i:s,n:r.norm.get(c)};t.push(u)}else l(c)&&c.forEach((function(t,r){e.push({nestedArrIndex:r,value:t})}))}n.$[i]=t}();else if(!b(o)){var a={v:o,n:r.norm.get(o)};n.$[i]=a}})),this.records.push(n)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),t}();function A(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.getFn,i=void 0===n?E.getFn:n,o=new j({getFn:i});return o.setKeys(t.map(O)),o.setSources(e),o.create(),o}function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.errors,n=void 0===r?0:r,i=e.currentLocation,o=void 0===i?0:i,a=e.expectedLocation,s=void 0===a?0:a,c=e.distance,u=void 0===c?E.distance:c,l=e.ignoreLocation,f=void 0===l?E.ignoreLocation:l,h=n/t.length;if(f)return h;var d=Math.abs(s-o);return u?h+d/u:d?1:h}function P(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E.minMatchCharLength,r=[],n=-1,i=-1,o=0,a=t.length;o<a;o+=1){var s=t[o];s&&-1===n?n=o:s||-1===n||((i=o-1)-n+1>=e&&r.push([n,i]),n=-1)}return t[o-1]&&o-n>=e&&r.push([n,o-1]),r}function D(t){for(var e={},r=0,n=t.length;r<n;r+=1){var i=t.charAt(r);e[i]=(e[i]||0)|1<<n-r-1}return e}var R=function(){function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.location,o=void 0===i?E.location:i,a=n.threshold,s=void 0===a?E.threshold:a,u=n.distance,l=void 0===u?E.distance:u,f=n.includeMatches,h=void 0===f?E.includeMatches:f,d=n.findAllMatches,p=void 0===d?E.findAllMatches:d,m=n.minMatchCharLength,b=void 0===m?E.minMatchCharLength:m,v=n.isCaseSensitive,g=void 0===v?E.isCaseSensitive:v,y=n.ignoreLocation,w=void 0===y?E.ignoreLocation:y;if(Object(c.a)(this,t),this.options={location:o,threshold:s,distance:l,includeMatches:h,findAllMatches:p,minMatchCharLength:b,isCaseSensitive:g,ignoreLocation:w},this.pattern=g?e:e.toLowerCase(),this.chunks=[],this.pattern.length){var x=function(t,e){r.chunks.push({pattern:t,alphabet:D(t),startIndex:e})},O=this.pattern.length;if(O>32){for(var _=0,S=O%32,k=O-S;_<k;)x(this.pattern.substr(_,32),_),_+=32;if(S){var M=O-32;x(this.pattern.substr(M),M)}}else x(this.pattern,0)}}return Object(u.a)(t,[{key:"searchIn",value:function(t){var e=this.options,r=e.isCaseSensitive,n=e.includeMatches;if(r||(t=t.toLowerCase()),this.pattern===t){var i={isMatch:!0,score:0};return n&&(i.indices=[[0,t.length-1]]),i}var o=this.options,s=o.location,c=o.distance,u=o.threshold,l=o.findAllMatches,f=o.minMatchCharLength,h=o.ignoreLocation,d=[],p=0,m=!1;this.chunks.forEach((function(e){var r=e.pattern,i=e.alphabet,o=e.startIndex,b=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n.location,o=void 0===i?E.location:i,a=n.distance,s=void 0===a?E.distance:a,c=n.threshold,u=void 0===c?E.threshold:c,l=n.findAllMatches,f=void 0===l?E.findAllMatches:l,h=n.minMatchCharLength,d=void 0===h?E.minMatchCharLength:h,p=n.includeMatches,m=void 0===p?E.includeMatches:p,b=n.ignoreLocation,v=void 0===b?E.ignoreLocation:b;if(e.length>32)throw new Error(y(32));for(var g,w=e.length,x=t.length,O=Math.max(0,Math.min(o,x)),_=u,S=O,k=d>1||m,M=k?Array(x):[];(g=t.indexOf(e,S))>-1;){var C=T(e,{currentLocation:g,expectedLocation:O,distance:s,ignoreLocation:v});if(_=Math.min(C,_),S=g+w,k)for(var j=0;j<w;)M[g+j]=1,j+=1}S=-1;for(var A=[],D=1,R=w+x,L=1<<w-1,I=0;I<w;I+=1){for(var N=0,F=R;N<F;){var B=T(e,{errors:I,currentLocation:O+F,expectedLocation:O,distance:s,ignoreLocation:v});B<=_?N=F:R=F,F=Math.floor((R-N)/2+N)}R=F;var z=Math.max(1,O-F+1),H=f?x:Math.min(O+F,x)+w,U=Array(H+2);U[H+1]=(1<<I)-1;for(var W=H;W>=z;W-=1){var q=W-1,V=r[t.charAt(q)];if(k&&(M[q]=+!!V),U[W]=(U[W+1]<<1|1)&V,I&&(U[W]|=(A[W+1]|A[W])<<1|1|A[W+1]),U[W]&L&&(D=T(e,{errors:I,currentLocation:q,expectedLocation:O,distance:s,ignoreLocation:v}))<=_){if(_=D,(S=q)<=O)break;z=Math.max(1,2*O-S)}}var G=T(e,{errors:I+1,currentLocation:O,expectedLocation:O,distance:s,ignoreLocation:v});if(G>_)break;A=U}var Y={isMatch:S>=0,score:Math.max(.001,D)};if(k){var X=P(M,d);X.length?m&&(Y.indices=X):Y.isMatch=!1}return Y}(t,r,i,{location:s+o,distance:c,threshold:u,findAllMatches:l,minMatchCharLength:f,includeMatches:n,ignoreLocation:h}),v=b.isMatch,g=b.score,w=b.indices;v&&(m=!0),p+=g,v&&w&&(d=[].concat(Object(a.a)(d),Object(a.a)(w)))}));var b={isMatch:m,score:m?p/this.chunks.length:1};return m&&n&&(b.indices=d),b}}]),t}(),L=function(){function t(e){Object(c.a)(this,t),this.pattern=e}return Object(u.a)(t,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(t){return I(t,this.multiRegex)}},{key:"isSingleMatch",value:function(t){return I(t,this.singleRegex)}}]),t}();function I(t,e){var r=t.match(e);return r?r[1]:null}var N=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),r}(L),F=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),r}(L),B=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),r}(L),z=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),r}(L),H=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),r}(L),U=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){var e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),r}(L),W=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,a=void 0===o?E.location:o,s=i.threshold,u=void 0===s?E.threshold:s,l=i.distance,f=void 0===l?E.distance:l,h=i.includeMatches,d=void 0===h?E.includeMatches:h,p=i.findAllMatches,m=void 0===p?E.findAllMatches:p,b=i.minMatchCharLength,v=void 0===b?E.minMatchCharLength:b,g=i.isCaseSensitive,y=void 0===g?E.isCaseSensitive:g,w=i.ignoreLocation,x=void 0===w?E.ignoreLocation:w;return Object(c.a)(this,r),(n=e.call(this,t))._bitapSearch=new R(t,{location:a,threshold:u,distance:f,includeMatches:d,findAllMatches:m,minMatchCharLength:v,isCaseSensitive:y,ignoreLocation:x}),n}return Object(u.a)(r,[{key:"search",value:function(t){return this._bitapSearch.searchIn(t)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),r}(L),q=function(t){Object(i.a)(r,t);var e=Object(o.a)(r);function r(t){return Object(c.a)(this,r),e.call(this,t)}return Object(u.a)(r,[{key:"search",value:function(t){for(var e,r=0,n=[],i=this.pattern.length;(e=t.indexOf(this.pattern,r))>-1;)r=e+i,n.push([e,r-1]);var o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),r}(L),V=[N,q,B,z,U,H,F,W],G=V.length,Y=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function X(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.split("|").map((function(t){for(var r=t.trim().split(Y).filter((function(t){return t&&!!t.trim()})),n=[],i=0,o=r.length;i<o;i+=1){for(var a=r[i],s=!1,c=-1;!s&&++c<G;){var u=V[c],l=u.isMultiMatch(a);l&&(n.push(new u(l,e)),s=!0)}if(!s)for(c=-1;++c<G;){var f=V[c],h=f.isSingleMatch(a);if(h){n.push(new f(h,e));break}}}return n}))}var $=new Set([W.type,q.type]),K=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.isCaseSensitive,i=void 0===n?E.isCaseSensitive:n,o=r.includeMatches,a=void 0===o?E.includeMatches:o,s=r.minMatchCharLength,u=void 0===s?E.minMatchCharLength:s,l=r.ignoreLocation,f=void 0===l?E.ignoreLocation:l,h=r.findAllMatches,d=void 0===h?E.findAllMatches:h,p=r.location,m=void 0===p?E.location:p,b=r.threshold,v=void 0===b?E.threshold:b,g=r.distance,y=void 0===g?E.distance:g;Object(c.a)(this,t),this.query=null,this.options={isCaseSensitive:i,includeMatches:a,minMatchCharLength:u,findAllMatches:d,ignoreLocation:f,location:m,threshold:v,distance:y},this.pattern=i?e:e.toLowerCase(),this.query=X(this.pattern,this.options)}return Object(u.a)(t,[{key:"searchIn",value:function(t){var e=this.query;if(!e)return{isMatch:!1,score:1};var r=this.options,n=r.includeMatches;t=r.isCaseSensitive?t:t.toLowerCase();for(var i=0,o=[],s=0,c=0,u=e.length;c<u;c+=1){var l=e[c];o.length=0,i=0;for(var f=0,h=l.length;f<h;f+=1){var d=l[f],p=d.search(t),m=p.isMatch,b=p.indices,v=p.score;if(!m){s=0,i=0,o.length=0;break}if(i+=1,s+=v,n){var g=d.constructor.type;$.has(g)?o=[].concat(Object(a.a)(o),Object(a.a)(b)):o.push(b)}}if(i){var y={isMatch:!0,score:s/i};return n&&(y.indices=o),y}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(t,e){return e.useExtendedSearch}}]),t}(),Z=[];function J(t,e){for(var r=0,n=Z.length;r<n;r+=1){var i=Z[r];if(i.condition(t,e))return new i(t,e)}return new R(t,e)}var Q="$and",tt="$or",et="$path",rt="$val",nt=function(t){return!(!t[Q]&&!t[tt])},it=function(t){return!!t[et]},ot=function(t){return!l(t)&&p(t)&&!nt(t)},at=function(t){return Object(n.a)({},Q,Object.keys(t).map((function(e){return Object(n.a)({},e,t[e])})))};function st(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.auto,i=void 0===n||n,o=function t(r){var n=Object.keys(r),o=it(r);if(!o&&n.length>1&&!nt(r))return t(at(r));if(ot(r)){var a=o?r[et]:n[0],s=o?r[rt]:r[a];if(!f(s))throw new Error(g(a));var c={keyId:S(a),pattern:s};return i&&(c.searcher=J(s,e)),c}var u={children:[],operator:n[0]};return n.forEach((function(e){var n=r[e];l(n)&&n.forEach((function(e){u.children.push(t(e))}))})),u};return nt(t)||(t=at(t)),o(t)}function ct(t,e){var r=e.ignoreFieldNorm,n=void 0===r?E.ignoreFieldNorm:r;t.forEach((function(t){var e=1;t.matches.forEach((function(t){var r=t.key,i=t.norm,o=t.score,a=r?r.weight:null;e*=Math.pow(0===o&&a?Number.EPSILON:o,(a||1)*(n?1:i))})),t.score=e}))}function ut(t,e){var r=t.matches;e.matches=[],m(r)&&r.forEach((function(t){if(m(t.indices)&&t.indices.length){var r={indices:t.indices,value:t.value};t.key&&(r.key=t.key.src),t.idx>-1&&(r.refIndex=t.idx),e.matches.push(r)}}))}function lt(t,e){e.score=t.score}function ft(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.includeMatches,i=void 0===n?E.includeMatches:n,o=r.includeScore,a=void 0===o?E.includeScore:o,s=[];return i&&s.push(ut),a&&s.push(lt),t.map((function(t){var r=t.idx,n={item:e[r],refIndex:r};return s.length&&s.forEach((function(e){e(t,n)})),n}))}var ht=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;Object(c.a)(this,t),this.options=Object(s.a)(Object(s.a)({},E),r),this.options.useExtendedSearch,this._keyStore=new x(this.options.keys),this.setCollection(e,n)}return Object(u.a)(t,[{key:"setCollection",value:function(t,e){if(this._docs=t,e&&!(e instanceof j))throw new Error("Incorrect 'index' type");this._myIndex=e||A(this.options.keys,this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(t){m(t)&&(this._docs.push(t),this._myIndex.add(t))}},{key:"remove",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},e=[],r=0,n=this._docs.length;r<n;r+=1){var i=this._docs[r];t(i,r)&&(this.removeAt(r),r-=1,n-=1,e.push(i))}return e}},{key:"removeAt",value:function(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.limit,n=void 0===r?-1:r,i=this.options,o=i.includeMatches,a=i.includeScore,s=i.shouldSort,c=i.sortFn,u=i.ignoreFieldNorm,l=f(t)?f(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return ct(l,{ignoreFieldNorm:u}),s&&l.sort(c),h(n)&&n>-1&&(l=l.slice(0,n)),ft(l,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(t){var e=J(t,this.options),r=this._myIndex.records,n=[];return r.forEach((function(t){var r=t.v,i=t.i,o=t.n;if(m(r)){var a=e.searchIn(r),s=a.isMatch,c=a.score,u=a.indices;s&&n.push({item:r,idx:i,matches:[{score:c,value:r,norm:o,indices:u}]})}})),n}},{key:"_searchLogical",value:function(t){var e=this,r=st(t,this.options),n=this._myIndex.records,i={},o=[];return n.forEach((function(t){var n=t.$,s=t.i;if(m(n)){var c=function t(r,n,i){if(!r.children){var o=r.keyId,s=r.searcher,c=e._findMatches({key:e._keyStore.get(o),value:e._myIndex.getValueForItemAtKeyId(n,o),searcher:s});return c&&c.length?[{idx:i,item:n,matches:c}]:[]}switch(r.operator){case Q:for(var u=[],l=0,f=r.children.length;l<f;l+=1){var h=t(r.children[l],n,i);if(!h.length)return[];u.push.apply(u,Object(a.a)(h))}return u;case tt:for(var d=[],p=0,m=r.children.length;p<m;p+=1){var b=t(r.children[p],n,i);if(b.length){d.push.apply(d,Object(a.a)(b));break}}return d}}(r,n,s);c.length&&(i[s]||(i[s]={idx:s,item:n,matches:[]},o.push(i[s])),c.forEach((function(t){var e,r=t.matches;(e=i[s].matches).push.apply(e,Object(a.a)(r))})))}})),o}},{key:"_searchObjectList",value:function(t){var e=this,r=J(t,this.options),n=this._myIndex,i=n.keys,o=n.records,s=[];return o.forEach((function(t){var n=t.$,o=t.i;if(m(n)){var c=[];i.forEach((function(t,i){c.push.apply(c,Object(a.a)(e._findMatches({key:t,value:n[i],searcher:r})))})),c.length&&s.push({idx:o,item:n,matches:c})}})),s}},{key:"_findMatches",value:function(t){var e=t.key,r=t.value,n=t.searcher;if(!m(r))return[];var i=[];if(l(r))r.forEach((function(t){var r=t.v,o=t.i,a=t.n;if(m(r)){var s=n.searchIn(r),c=s.isMatch,u=s.score,l=s.indices;c&&i.push({score:u,key:e,value:r,idx:o,norm:a,indices:l})}}));else{var o=r.v,a=r.n,s=n.searchIn(o),c=s.isMatch,u=s.score,f=s.indices;c&&i.push({score:u,key:e,value:o,norm:a,indices:f})}return i}}]),t}();ht.version="6.4.6",ht.createIndex=A,ht.parseIndex=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.getFn,n=void 0===r?E.getFn:r,i=t.keys,o=t.records,a=new j({getFn:n});return a.setKeys(i),a.setIndexRecords(o),a},ht.config=E,ht.parseQuery=st,function(){Z.push.apply(Z,arguments)}(K),e.default=ht},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultFuseOptions=e.defaultTheme=void 0;e.defaultTheme={height:"44px",border:"1px solid #dfe1e5",borderRadius:"24px",backgroundColor:"white",boxShadow:"rgba(32, 33, 36, 0.28) 0px 1px 6px 0px",hoverBackgroundColor:"#eee",color:"#212121",fontSize:"16px",fontFamily:"Arial",iconColor:"grey",lineColor:"rgb(232, 234, 237)",placeholderColor:"grey",zIndex:0,clearIconMargin:"3px 14px 0 0",searchIconMargin:"0 0 0 16px"};e.defaultFuseOptions={shouldSort:!0,threshold:.6,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:["name"]}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var n,i=c(r(0)),o=c(r(10)),a=r(796),s=c(r(403));function c(t){return t&&t.__esModule?t:{default:t}}function u(t){var e=t.results,r=t.onClick,n=t.setSearchString,o=t.showIcon,s=t.maxResults,c=t.resultStringKeyName,u=t.onHover,l=t.formatResult,f=function(t){r(t),n(t[c])};return 0>=(null===e||void 0===e?void 0:e.length)?null:i.default.createElement(h,null,i.default.createElement("div",{className:"line"}),i.default.createElement("ul",null,e.slice(0,s).map((function(t){return i.default.createElement("li",{onMouseEnter:function(){return u(t)},"data-test":"result",key:"rsa-result-".concat(t.id),onMouseDown:function(){return f(t)},onClick:function(){return f(t)}},i.default.createElement(a.SearchIcon,{showIcon:o}),i.default.createElement("div",{className:"ellipsis",title:t[c]},l(t[c])))}))))}u.defaultProps={results:[],setDisplayString:function(){},resultStringKeyName:"name",formatResult:function(t){return t}},u.propTypes={results:o.default.array,onClick:o.default.func,setSearchString:o.default.func,showIcon:o.default.bool,maxResults:o.default.number,resultStringKeyName:o.default.string,formatResult:o.default.func};var l,f,h=s.default.div(n||(l=["\n  > div.line {\n    border-top-color: ",";\n    border-top-style: solid;\n    border-top-width: 1px;\n\n    margin-bottom: 0px;\n    margin-left: 14px;\n    margin-right: 20px;\n    margin-top: 0px;\n\n    padding-bottom: 4px;\n  }\n\n  > ul {\n    list-style-type: none;\n    margin: 0;\n    padding: 0px 0 16px 0;\n    max-height: ",";\n\n    > li {\n      display: flex;\n      align-items: center;\n      padding: 4px 0 4px 0;\n\n      &:hover {\n        background-color: ",";\n        cursor: default;\n      }\n\n      > div {\n        margin-left: 13px;\n      }\n    }\n  }\n  .ellipsis {\n    white-space: nowrap;\n    overflow: hidden;\n    text-overflow: ellipsis;\n  }\n"],f||(f=l.slice(0)),n=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(f)}}))),(function(t){return t.theme.lineColor}),(function(t){return t.theme.maxHeight}),(function(t){return t.theme.hoverBackgroundColor}))},function(t,e,r){"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var i,o=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var e=f();if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,e&&e.set(t,r),r}(r(0)),a=l(r(10)),s=r(796),c=l(r(403)),u=r(1221);function l(t){return t&&t.__esModule?t:{default:t}}function f(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return f=function(){return t},t}function h(t){var e=t.searchString,r=t.setSearchString,n=t.autoFocus,i=t.onBlur,a=t.onFocus,c=t.onClear,l=t.placeholder,f=t.showIcon,h=t.showClear,d=(0,o.useRef)(),p=!0;return o.default.createElement(m,null,o.default.createElement(s.SearchIcon,{showIcon:f}),o.default.createElement("input",{ref:d,spellCheck:!1,value:e,onChange:r,onBlur:i,onFocus:function(){p&&a()},placeholder:l,autoFocus:n}),o.default.createElement(u.ClearIcon,{showClear:h,setSearchString:r,searchString:e,onClear:c,setFocus:function(){p=!1,d.current.focus(),p=!0}}))}h.defaultProps={showIcon:!0,showClear:!0},h.propTypes={searchString:a.default.string.isRequired,setSearchString:a.default.func.isRequired,autoFocus:a.default.bool,onBlur:a.default.func.isRequired,onFocus:a.default.func,onClear:a.default.func,placeholder:a.default.string,showIcon:a.default.bool,showClear:a.default.bool};var d,p,m=c.default.div(i||(d=["\n  min-height: ",";\n  width: 100%;\n\n  display: flex;\n  align-items: center;\n\n  > input {\n    width: 100%;\n\n    padding: 0 0 0 13px;\n\n    border: none;\n    outline: none;\n\n    background-color: rgba(0, 0, 0, 0);\n    font-size: inherit;\n    font-family: inherit;\n\n    color: ",";\n\n    ::placeholder {\n      /* Chrome, Firefox, Opera, Safari 10.1+ */\n      color: ",";\n      opacity: 1; /* Firefox */\n    }\n\n    :-ms-input-placeholder {\n      /* Internet Explorer 10-11 */\n      color: ",";\n    }\n\n    ::-ms-input-placeholder {\n      /* Microsoft Edge */\n      color: ",";\n    }\n  }\n"],p||(p=d.slice(0)),i=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(p)}}))),(function(t){return t.theme.height}),(function(t){return t.theme.color}),(function(t){return t.theme.placeholderColor}),(function(t){return t.theme.placeholderColor}),(function(t){return t.theme.placeholderColor}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClearIcon=void 0;var n,i=s(r(0)),o=s(r(10)),a=s(r(403));function s(t){return t&&t.__esModule?t:{default:t}}var c=function(t){var e=t.showClear,r=t.setSearchString,n=t.searchString,o=t.setFocus,a=t.onClear;return e?0>=n.length?null:i.default.createElement(f,{className:"clear-icon",onClick:function(){r({target:{value:""}}),o(),a()}},i.default.createElement("svg",{width:20,height:20,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.58 12 5 17.58 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))):null};e.ClearIcon=c;var u,l,f=a.default.div(n||(u=["\n  margin: ",";\n\n  &:hover {\n    cursor: pointer;\n  }\n\n  > svg {\n    fill: ",";\n  }\n"],l||(l=u.slice(0)),n=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(l)}}))),(function(t){return t.theme.clearIconMargin}),(function(t){return t.theme.iconColor}));c.propTypes={searchString:o.default.string.isRequired,setSearchString:o.default.func.isRequired,setFocus:o.default.func,showClear:o.default.bool,onClear:o.default.func,onSearch:o.default.func}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=function(t,e,r){var n;return function(){var i=this,o=arguments;r&&!n&&t.apply(i,o),clearTimeout(n),n=setTimeout((function(){n=null,r||t.apply(i,o)}),e)}},e.isCached=void 0;e.isCached=function(t){t=t.toLowerCase();var e=JSON.parse(sessionStorage.getItem(t.toLowerCase()));return e||[]}},function(t,e,r){var n,i,o;i=[e,r(0),r(76),r(1224),r(1226)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=void 0;var o=s(e),a=(s(r),s(i));function s(t){return t&&t.__esModule?t:{default:t}}var c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=function(t){return JSON.stringify(t)},l=function(t){var e=(t=t||{}).apiKey,r=t.libraries||["places"],i=t.version||"3",o=t.language||"en",s=t.url,c=t.client,u=t.region;return(0,n.ScriptCache)({google:(0,a.default)({apiKey:e,language:o,libraries:r,version:i,url:s,client:c,region:u})})},f=function(t){return o.default.createElement("div",null,"Loading...")},h=t.wrapper=function(t){return function(e){return function(r){function n(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,r)),a="function"===typeof t?t(e):t;return i.initialize(a),i.state={loaded:!1,map:null,google:null,options:a},i.mapRef=o.default.createRef(),i}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,r),c(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){if("function"===typeof t){var r,n,i=this.state.options,o="function"===typeof t?t(e):t;(r=o)!==(n=i)&&u(r)!==u(n)&&(this.initialize(o),this.setState({options:o,loaded:!1,google:null}))}}},{key:"componentWillUnmount",value:function(){this.unregisterLoadHandler&&this.unregisterLoadHandler()}},{key:"initialize",value:function(t){this.unregisterLoadHandler&&(this.unregisterLoadHandler(),this.unregisterLoadHandler=null);var e=t.createCache||l;this.scriptCache=e(t),this.unregisterLoadHandler=this.scriptCache.google.onLoad(this.onLoad.bind(this)),this.LoadingContainer=t.LoadingContainer||f}},{key:"onLoad",value:function(t,e){this._gapi=window.google,this.setState({loaded:!0,google:this._gapi})}},{key:"render",value:function(){var t=this.LoadingContainer;if(!this.state.loaded)return o.default.createElement(t,null);var r=Object.assign({},this.props,{loaded:this.state.loaded,google:window.google});return o.default.createElement("div",null,o.default.createElement(e,r),o.default.createElement("div",{ref:this.mapRef}))}}]),n}(o.default.Component)}};t.default=h})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(1225)],void 0===(o="function"===typeof(n=function(t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=0,n="undefined"!==typeof e&&e._scriptMap||new Map,i=t.ScriptCache=function(t){return t._scriptMap=t._scriptMap||n,function(i){var o={_onLoad:function(t){return function(e){var r=!0,i=n.get(t);return i&&i.promise.then((function(){return r&&(i.error?e(i.error):e(null,i)),i})).catch((function(t){return e(t)})),function(){r=!1}}},_scriptTag:function(i,o){if(!n.has(i)){if("undefined"===typeof document)return null;var a=document.createElement("script"),s={loaded:!1,error:!1,promise:new Promise((function(s,c){var u=document.getElementsByTagName("body")[0];a.type="text/javascript",a.async=!1;var l="loaderCB"+r+++Date.now(),f=function(t){return function(e){var r=n.get(i);"loaded"===t?(r.resolved=!0,s(o)):"error"===t&&(r.errored=!0,c(e)),r.loaded=!0,h()}},h=function(){t[l]&&"function"===typeof t[l]&&(t[l]=null,delete t[l])};return a.onload=f("loaded"),a.onerror=f("error"),a.onreadystatechange=function(){f(a.readyState)},o.match(/callback=CALLBACK_NAME/)?(o=o.replace(/(callback=)[^\&]+/,"$1"+l),e[l]=a.onload):a.addEventListener("load",a.onload),a.addEventListener("error",a.onerror),a.src=o,u.appendChild(a),a})),tag:a};n.set(i,s)}return n.get(i).tag}};return Object.keys(i).forEach((function(t){var r=i[t],n=e._scriptMap.has(t)?e._scriptMap.get(t).tag:o._scriptTag(t,r);o[t]={tag:n,onLoad:o._onLoad(t)}})),o}}(e);t.default=i})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){(function(r){var n,i,o,a;a=function(t){"use strict";var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports="object"===("undefined"===typeof self?"undefined":e(self))&&self.self===self&&self||"object"===("undefined"===typeof r?"undefined":e(r))&&r.global===r&&r||void 0},i=[t],void 0===(o="function"===typeof(n=a)?n.apply(e,i):n)||(t.exports=o)}).call(this,r(120))},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=t.GoogleApi=function(t){if(!(t=t||{}).hasOwnProperty("apiKey"))throw new Error("You must pass an apiKey to use GoogleApi");var e=t.apiKey,r=t.libraries||["places"],n=t.client,i=t.url||"https://maps.googleapis.com/maps/api/js",o=t.version||"3.31",a=("undefined"!==typeof window&&window.google,t.language),s=t.region||null;return function(){var t=i,c={key:e,callback:"CALLBACK_NAME",libraries:r.join(","),client:n,v:o,channel:null,language:a,region:s,onerror:"ERROR_FUNCTION"};return t+"?"+Object.keys(c).filter((function(t){return!!c[t]})).map((function(t){return t+"="+c[t]})).join("&")}()};t.default=e})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var i=a(e),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var f=["click","dblclick","dragend","mousedown","mouseout","mouseover","mouseup","recenter"],h=t.Marker=function(t){function e(){return c(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),u(e,[{key:"componentDidMount",value:function(){this.markerPromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderMarker()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&this.props.position===t.position&&this.props.icon===t.icon||(this.marker&&this.marker.setMap(null),this.renderMarker())}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.setMap(null)}},{key:"renderMarker",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.position,o=e.mapCenter,a=e.icon,c=e.label,u=e.draggable,l=e.title,h=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","position","mapCenter","icon","label","draggable","title"]);if(!n)return null;var d=i||o;d instanceof n.maps.LatLng||(d=new n.maps.LatLng(d.lat,d.lng));var p=s({map:r,position:d,icon:a,label:c,title:l,draggable:u},h);this.marker=new n.maps.Marker(p),f.forEach((function(e){t.marker.addListener(e,t.handleEvent(e))})),this.markerPromise.resolve(this.marker)}},{key:"getMarker",value:function(){return this.markerPromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var i="on"+(0,n.camelize)(t);e.props[i]&&e.props[i](e.props,e.marker,r)}}},{key:"render",value:function(){return null}}]),e}(i.default.Component);h.propTypes={position:o.default.object,map:o.default.object},f.forEach((function(t){return h.propTypes[t]=o.default.func})),h.defaultProps={name:"Marker"},t.default=h})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(76),r(1229)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InfoWindow=void 0;var o=c(e),a=c(r),s=(c(n),c(i));function c(t){return t&&t.__esModule?t:{default:t}}var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var d=t.InfoWindow=function(t){function e(){return l(this,e),h(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),f(e,[{key:"componentDidMount",value:function(){this.renderInfoWindow()}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.google,n=e.map;r&&n&&(n!==t.map&&this.renderInfoWindow(),this.props.position!==t.position&&this.updatePosition(),this.props.children!==t.children&&this.updateContent(),this.props.visible===t.visible&&this.props.marker===t.marker&&this.props.position===t.position||(this.props.visible?this.openWindow():this.closeWindow()))}},{key:"renderInfoWindow",value:function(){var t=this.props,e=(t.map,t.google),r=(t.mapCenter,function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(t,["map","google","mapCenter"]));if(e&&e.maps){var n=this.infowindow=new e.maps.InfoWindow(u({content:""},r));e.maps.event.addListener(n,"closeclick",this.onClose.bind(this)),e.maps.event.addListener(n,"domready",this.onOpen.bind(this))}}},{key:"onOpen",value:function(){this.props.onOpen&&this.props.onOpen()}},{key:"onClose",value:function(){this.props.onClose&&this.props.onClose()}},{key:"openWindow",value:function(){this.infowindow.open(this.props.map,this.props.marker)}},{key:"updatePosition",value:function(){var t=this.props.position;t instanceof google.maps.LatLng||(t=t&&new google.maps.LatLng(t.lat,t.lng)),this.infowindow.setPosition(t)}},{key:"updateContent",value:function(){var t=this.renderChildren();this.infowindow.setContent(t)}},{key:"closeWindow",value:function(){this.infowindow.close()}},{key:"renderChildren",value:function(){var t=this.props.children;return s.default.renderToString(t)}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={children:a.default.element.isRequired,map:a.default.object,marker:a.default.object,position:a.default.object,visible:a.default.bool,onClose:a.default.func,onOpen:a.default.func},d.defaultProps={visible:!1},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){"use strict";t.exports=r(1230)},function(t,e,r){"use strict";var n=r(355),i=r(0);function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.portal"):60106,c=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,l=a?Symbol.for("react.profiler"):60114,f=a?Symbol.for("react.provider"):60109,h=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.concurrent_mode"):60111,p=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,b=a?Symbol.for("react.suspense_list"):60120,v=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,y=a?Symbol.for("react.block"):60121,w=a?Symbol.for("react.fundamental"):60117,x=a?Symbol.for("react.scope"):60119;function O(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case c:return"Fragment";case s:return"Portal";case l:return"Profiler";case u:return"StrictMode";case m:return"Suspense";case b:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case h:return"Context.Consumer";case f:return"Context.Provider";case p:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case v:return O(t.type);case y:return O(t.render);case g:if(t=1===t._status?t._result:null)return O(t)}return null}var _=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;_.hasOwnProperty("ReactCurrentDispatcher")||(_.ReactCurrentDispatcher={current:null}),_.hasOwnProperty("ReactCurrentBatchConfig")||(_.ReactCurrentBatchConfig={suspense:null});var S={};function k(t,e){for(var r=0|t._threadCount;r<=e;r++)t[r]=t._currentValue2,t._threadCount=r+1}for(var E=new Uint16Array(16),M=0;15>M;M++)E[M]=M+1;E[15]=0;var C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,j=Object.prototype.hasOwnProperty,A={},T={};function P(t){return!!j.call(T,t)||!j.call(A,t)&&(C.test(t)?T[t]=!0:(A[t]=!0,!1))}function D(t,e,r,n,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){R[t]=new D(t,0,!1,t,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];R[e]=new D(e,1,!1,t[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){R[t]=new D(t,2,!1,t.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){R[t]=new D(t,2,!1,t,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){R[t]=new D(t,3,!1,t.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(t){R[t]=new D(t,3,!0,t,null,!1)})),["capture","download"].forEach((function(t){R[t]=new D(t,4,!1,t,null,!1)})),["cols","rows","size","span"].forEach((function(t){R[t]=new D(t,6,!1,t,null,!1)})),["rowSpan","start"].forEach((function(t){R[t]=new D(t,5,!1,t.toLowerCase(),null,!1)}));var L=/[\-:]([a-z])/g;function I(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(L,I);R[e]=new D(e,1,!1,t,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(L,I);R[e]=new D(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(L,I);R[e]=new D(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(t){R[t]=new D(t,1,!1,t.toLowerCase(),null,!1)})),R.xlinkHref=new D("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(t){R[t]=new D(t,1,!1,t.toLowerCase(),null,!0)}));var N=/["'&<>]/;function F(t){if("boolean"===typeof t||"number"===typeof t)return""+t;t=""+t;var e=N.exec(t);if(e){var r,n="",i=0;for(r=e.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:e="&quot;";break;case 38:e="&amp;";break;case 39:e="&#x27;";break;case 60:e="&lt;";break;case 62:e="&gt;";break;default:continue}i!==r&&(n+=t.substring(i,r)),i=r+1,n+=e}t=i!==r?n+t.substring(i,r):n}return t}function B(t,e){var r,n=R.hasOwnProperty(t)?R[t]:null;return(r="style"!==t)&&(r=null!==n?0===n.type:2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])),r||function(t,e,r,n){if(null===e||"undefined"===typeof e||function(t,e,r,n){if(null!==r&&0===r.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(t,e,n,!1)?"":null!==n?(t=n.attributeName,3===(r=n.type)||4===r&&!0===e?t+'=""':(n.sanitizeURL&&(e=""+e),t+'="'+F(e)+'"')):P(t)?t+'="'+F(e)+'"':""}var z="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},H=null,U=null,W=null,q=!1,V=!1,G=null,Y=0;function X(){if(null===H)throw Error(o(321));return H}function $(){if(0<Y)throw Error(o(312));return{memoizedState:null,queue:null,next:null}}function K(){return null===W?null===U?(q=!1,U=W=$()):(q=!0,W=U):null===W.next?(q=!1,W=W.next=$()):(q=!0,W=W.next),W}function Z(t,e,r,n){for(;V;)V=!1,Y+=1,W=null,r=t(e,n);return U=H=null,Y=0,W=G=null,r}function J(t,e){return"function"===typeof e?e(t):e}function Q(t,e,r){if(H=X(),W=K(),q){var n=W.queue;if(e=n.dispatch,null!==G&&void 0!==(r=G.get(n))){G.delete(n),n=W.memoizedState;do{n=t(n,r.action),r=r.next}while(null!==r);return W.memoizedState=n,[n,e]}return[W.memoizedState,e]}return t=t===J?"function"===typeof e?e():e:void 0!==r?r(e):e,W.memoizedState=t,t=(t=W.queue={last:null,dispatch:null}).dispatch=tt.bind(null,H,t),[W.memoizedState,t]}function tt(t,e,r){if(!(25>Y))throw Error(o(301));if(t===H)if(V=!0,t={action:r,next:null},null===G&&(G=new Map),void 0===(r=G.get(e)))G.set(e,t);else{for(e=r;null!==e.next;)e=e.next;e.next=t}}function et(){}var rt=0,nt={readContext:function(t){var e=rt;return k(t,e),t[e]},useContext:function(t){X();var e=rt;return k(t,e),t[e]},useMemo:function(t,e){if(H=X(),e=void 0===e?null:e,null!==(W=K())){var r=W.memoizedState;if(null!==r&&null!==e){t:{var n=r[1];if(null===n)n=!1;else{for(var i=0;i<n.length&&i<e.length;i++)if(!z(e[i],n[i])){n=!1;break t}n=!0}}if(n)return r[0]}}return t=t(),W.memoizedState=[t,e],t},useReducer:Q,useRef:function(t){H=X();var e=(W=K()).memoizedState;return null===e?(t={current:t},W.memoizedState=t):e},useState:function(t){return Q(J,t)},useLayoutEffect:function(){},useCallback:function(t){return t},useImperativeHandle:et,useEffect:et,useDebugValue:et,useResponder:function(t,e){return{props:e,responder:t}},useDeferredValue:function(t){return X(),t},useTransition:function(){return X(),[function(t){t()},!1]}},it="http://www.w3.org/1999/xhtml";function ot(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var at={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},st=n({menuitem:!0},at),ct={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ut=["Webkit","ms","Moz","O"];Object.keys(ct).forEach((function(t){ut.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ct[e]=ct[t]}))}));var lt=/([A-Z])/g,ft=/^ms-/,ht=i.Children.toArray,dt=_.ReactCurrentDispatcher,pt={listing:!0,pre:!0,textarea:!0},mt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,bt={},vt={};var gt=Object.prototype.hasOwnProperty,yt={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function wt(t,e){if(void 0===t)throw Error(o(152,O(e)||"Component"))}function xt(t,e,r){function a(i,a){var s=a.prototype&&a.prototype.isReactComponent,c=function(t,e,r,n){if(n&&("object"===typeof(n=t.contextType)&&null!==n))return k(n,r),n[r];if(t=t.contextTypes){for(var i in r={},t)r[i]=e[i];e=r}else e=S;return e}(a,e,r,s),u=[],l=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===u)return null},enqueueReplaceState:function(t,e){l=!0,u=[e]},enqueueSetState:function(t,e){if(null===u)return null;u.push(e)}};if(s){if(s=new a(i.props,c,f),"function"===typeof a.getDerivedStateFromProps){var h=a.getDerivedStateFromProps.call(null,i.props,s.state);null!=h&&(s.state=n({},s.state,h))}}else if(H={},s=a(i.props,c,f),null==(s=Z(a,i.props,s,c))||null==s.render)return void wt(t=s,a);if(s.props=i.props,s.context=c,s.updater=f,void 0===(f=s.state)&&(s.state=f=null),"function"===typeof s.UNSAFE_componentWillMount||"function"===typeof s.componentWillMount)if("function"===typeof s.componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),u.length){f=u;var d=l;if(u=null,l=!1,d&&1===f.length)s.state=f[0];else{h=d?f[0]:s.state;var p=!0;for(d=d?1:0;d<f.length;d++){var m=f[d];null!=(m="function"===typeof m?m.call(s,h,i.props,c):m)&&(p?(p=!1,h=n({},h,m)):n(h,m))}s.state=h}}else u=null;if(wt(t=s.render(),a),"function"===typeof s.getChildContext&&"object"===typeof(i=a.childContextTypes)){var b=s.getChildContext();for(var v in b)if(!(v in i))throw Error(o(108,O(a)||"Unknown",v))}b&&(e=n({},e,b))}for(;i.isValidElement(t);){var s=t,c=s.type;if("function"!==typeof c)break;a(s,c)}return{child:t,context:e}}var Ot=function(){function t(t,e){i.isValidElement(t)?t.type!==c?t=[t]:(t=t.props.children,t=i.isValidElement(t)?[t]:ht(t)):t=ht(t),t={type:null,domNamespace:it,children:t,childIndex:0,context:S,footer:""};var r=E[0];if(0===r){var n=E,a=2*(r=n.length);if(!(65536>=a))throw Error(o(304));var s=new Uint16Array(a);for(s.set(n),(E=s)[0]=r+1,n=r;n<a-1;n++)E[n]=n+1;E[a-1]=0}else E[0]=E[r];this.threadID=r,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=e,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var e=t.prototype;return e.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;E[t]=E[0],E[0]=t}},e.pushProvider=function(t){var e=++this.contextIndex,r=t.type._context,n=this.threadID;k(r,n);var i=r[n];this.contextStack[e]=r,this.contextValueStack[e]=i,r[n]=t.props.value},e.popProvider=function(){var t=this.contextIndex,e=this.contextStack[t],r=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,e[this.threadID]=r},e.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},e.read=function(t){if(this.exhausted)return null;var e=rt;rt=this.threadID;var r=dt.current;dt.current=nt;try{for(var n=[""],i=!1;n[0].length<t;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;E[a]=E[0],E[0]=a;break}var s=this.stack[this.stack.length-1];if(i||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===f)this.popProvider(s.type);else if(s.type===m){this.suspenseDepth--;var u=n.pop();if(i){i=!1;var l=s.fallbackFrame;if(!l)throw Error(o(303));this.stack.push(l),n[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}n[this.suspenseDepth]+=u}n[this.suspenseDepth]+=c}else{var h=s.children[s.childIndex++],d="";try{d+=this.render(h,s.context,s.domNamespace)}catch(p){if(null!=p&&"function"===typeof p.then)throw Error(o(294));throw p}n.length<=this.suspenseDepth&&n.push(""),n[this.suspenseDepth]+=d}}return n[0]}finally{dt.current=r,rt=e}},e.render=function(t,e,r){if("string"===typeof t||"number"===typeof t)return""===(r=""+t)?"":this.makeStaticMarkup?F(r):this.previousWasTextNode?"\x3c!-- --\x3e"+F(r):(this.previousWasTextNode=!0,F(r));if(t=(e=xt(t,e,this.threadID)).child,e=e.context,null===t||!1===t)return"";if(!i.isValidElement(t)){if(null!=t&&null!=t.$$typeof){if((r=t.$$typeof)===s)throw Error(o(257));throw Error(o(258,r.toString()))}return t=ht(t),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),""}var a=t.type;if("string"===typeof a)return this.renderDOM(t,e,r);switch(a){case u:case d:case l:case b:case c:return t=ht(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),"";case m:throw Error(o(294))}if("object"===typeof a&&null!==a)switch(a.$$typeof){case p:H={};var y=a.render(t.props,t.ref);return y=Z(a.render,t.props,y,t.ref),y=ht(y),this.stack.push({type:null,domNamespace:r,children:y,childIndex:0,context:e,footer:""}),"";case v:return t=[i.createElement(a.type,n({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),"";case f:return r={type:t,domNamespace:r,children:a=ht(t.props.children),childIndex:0,context:e,footer:""},this.pushProvider(t),this.stack.push(r),"";case h:a=t.type,y=t.props;var O=this.threadID;return k(a,O),a=ht(y.children(a[O])),this.stack.push({type:t,domNamespace:r,children:a,childIndex:0,context:e,footer:""}),"";case w:throw Error(o(338));case g:switch(function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}}(a=t.type),a._status){case 1:return t=[i.createElement(a._result,n({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:e,footer:""}),"";case 2:throw a._result;default:throw Error(o(295))}case x:throw Error(o(343))}throw Error(o(130,null==a?a:typeof a,""))},e.renderDOM=function(t,e,r){var a=t.type.toLowerCase();if(r===it&&ot(a),!bt.hasOwnProperty(a)){if(!mt.test(a))throw Error(o(65,a));bt[a]=!0}var s=t.props;if("input"===a)s=n({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var c=s.value;if(null==c){c=s.defaultValue;var u=s.children;if(null!=u){if(null!=c)throw Error(o(92));if(Array.isArray(u)){if(!(1>=u.length))throw Error(o(93));u=u[0]}c=""+u}null==c&&(c="")}s=n({},s,{value:void 0,children:""+c})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=n({},s,{value:void 0});else if("option"===a){u=this.currentSelectValue;var l=function(t){if(void 0===t||null===t)return t;var e="";return i.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(s.children);if(null!=u){var f=null!=s.value?s.value+"":l;if(c=!1,Array.isArray(u)){for(var h=0;h<u.length;h++)if(""+u[h]===f){c=!0;break}}else c=""+u===f;s=n({selected:void 0,children:void 0},s,{selected:c,children:l})}}if(c=s){if(st[a]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(o(137,a,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(o(60));if("object"!==typeof c.dangerouslySetInnerHTML||!("__html"in c.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=c.style&&"object"!==typeof c.style)throw Error(o(62,""))}for(w in c=s,u=this.makeStaticMarkup,l=1===this.stack.length,f="<"+t.type,c)if(gt.call(c,w)){var d=c[w];if(null!=d){if("style"===w){h=void 0;var p="",m="";for(h in d)if(d.hasOwnProperty(h)){var b=0===h.indexOf("--"),v=d[h];if(null!=v){if(b)var g=h;else if(g=h,vt.hasOwnProperty(g))g=vt[g];else{var y=g.replace(lt,"-$1").toLowerCase().replace(ft,"-ms-");g=vt[g]=y}p+=m+g+":",m=h,p+=b=null==v||"boolean"===typeof v||""===v?"":b||"number"!==typeof v||0===v||ct.hasOwnProperty(m)&&ct[m]?(""+v).trim():v+"px",m=";"}}d=p||null}h=null;t:if(b=a,v=c,-1===b.indexOf("-"))b="string"===typeof v.is;else switch(b){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":b=!1;break t;default:b=!0}b?yt.hasOwnProperty(w)||(h=P(h=w)&&null!=d?h+'="'+F(d)+'"':""):h=B(w,d),h&&(f+=" "+h)}}u||l&&(f+=' data-reactroot=""');var w=f;c="",at.hasOwnProperty(a)?w+="/>":(w+=">",c="</"+t.type+">");t:{if(null!=(u=s.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break t}}else if("string"===typeof(u=s.children)||"number"===typeof u){u=F(u);break t}u=null}return null!=u?(s=[],pt.hasOwnProperty(a)&&"\n"===u.charAt(0)&&(w+="\n"),w+=u):s=ht(s.children),t=t.type,r=null==r||"http://www.w3.org/1999/xhtml"===r?ot(t):"http://www.w3.org/2000/svg"===r&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":r,this.stack.push({domNamespace:r,type:a,children:s,childIndex:0,context:e,footer:c}),this.previousWasTextNode=!1,w},t}(),_t={renderToString:function(t){t=new Ot(t,!1);try{return t.read(1/0)}finally{t.destroy()}},renderToStaticMarkup:function(t){t=new Ot(t,!0);try{return t.read(1/0)}finally{t.destroy()}},renderToNodeStream:function(){throw Error(o(207))},renderToStaticNodeStream:function(){throw Error(o(208))},version:"16.14.0"};t.exports=_t.default||_t},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeatMap=void 0;var i=a(e),o=a(r);function a(t){return t&&t.__esModule?t:{default:t}}var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var f=["click","mouseover","recenter"],h=t.HeatMap=function(t){function e(){return c(this,e),l(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),u(e,[{key:"componentDidMount",value:function(){this.heatMapPromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderHeatMap()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&this.props.position===t.position||this.heatMap&&(this.heatMap.setMap(null),this.renderHeatMap())}},{key:"componentWillUnmount",value:function(){this.heatMap&&this.heatMap.setMap(null)}},{key:"renderHeatMap",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.positions,o=(e.mapCenter,e.icon,e.gradient),a=e.radius,c=void 0===a?20:a,u=e.opacity,l=void 0===u?.2:u,h=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","positions","mapCenter","icon","gradient","radius","opacity"]);if(!n)return null;var d=i.map((function(t){return{location:new n.maps.LatLng(t.lat,t.lng),weight:t.weight}})),p=s({map:r,gradient:o,radius:c,opacity:l,data:d},h);this.heatMap=new n.maps.visualization.HeatmapLayer(p),this.heatMap.set("radius",void 0===c?20:c),this.heatMap.set("opacity",void 0===l?.2:l),f.forEach((function(e){t.heatMap.addListener(e,t.handleEvent(e))})),this.heatMapPromise.resolve(this.heatMap)}},{key:"getHeatMap",value:function(){return this.heatMapPromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var i="on"+(0,n.camelize)(t);e.props[i]&&e.props[i](e.props,e.heatMap,r)}}},{key:"render",value:function(){return null}}]),e}(i.default.Component);h.propTypes={position:o.default.object,map:o.default.object,icon:o.default.string},f.forEach((function(t){return h.propTypes[t]=o.default.func})),h.defaultProps={name:"HeatMap"},t.default=h})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(628),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Polygon=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Polygon=function(t){function e(){return u(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.polygonPromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderPolygon()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&(0,n.arePathsEqual)(this.props.paths,t.paths)||(this.polygon&&this.polygon.setMap(null),this.renderPolygon())}},{key:"componentWillUnmount",value:function(){this.polygon&&this.polygon.setMap(null)}},{key:"renderPolygon",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.paths,o=e.strokeColor,a=e.strokeOpacity,s=e.strokeWeight,u=e.fillColor,l=e.fillOpacity,f=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","paths","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity"]);if(!n)return null;var d=c({map:r,paths:i,strokeColor:o,strokeOpacity:a,strokeWeight:s,fillColor:u,fillOpacity:l},f);this.polygon=new n.maps.Polygon(d),h.forEach((function(e){t.polygon.addListener(e,t.handleEvent(e))})),this.polygonPromise.resolve(this.polygon)}},{key:"getPolygon",value:function(){return this.polygonPromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.polygon,r)}}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={paths:a.default.array,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number,fillColor:a.default.string,fillOpacity:a.default.number},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Polygon"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(628),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Polyline=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Polyline=function(t){function e(){return u(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.polylinePromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderPolyline()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&(0,n.arePathsEqual)(this.props.path,t.path)||(this.polyline&&this.polyline.setMap(null),this.renderPolyline())}},{key:"componentWillUnmount",value:function(){this.polyline&&this.polyline.setMap(null)}},{key:"renderPolyline",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.path,o=e.strokeColor,a=e.strokeOpacity,s=e.strokeWeight,u=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","path","strokeColor","strokeOpacity","strokeWeight"]);if(!n)return null;var l=c({map:r,path:i,strokeColor:o,strokeOpacity:a,strokeWeight:s},u);this.polyline=new n.maps.Polyline(l),h.forEach((function(e){t.polyline.addListener(e,t.handleEvent(e))})),this.polylinePromise.resolve(this.polyline)}},{key:"getPolyline",value:function(){return this.polylinePromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.polyline,r)}}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={path:a.default.array,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Polyline"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(628),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Circle=function(t){function e(){var t,r,n;u(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=n=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),n.centerChanged=function(t){var e=n.props.center,r=e.lat,i=e.lng;return r!==t.lat||i!==t.lng},n.propsChanged=function(t){return!!n.centerChanged(t.center)||Object.keys(e.propTypes).some((function(e){return n.props[e]!==t[e]}))},n.destroyCircle=function(){n.circle&&n.circle.setMap(null)},f(n,r)}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.circlePromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderCircle()}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.path,i=e.map;!this.propsChanged(t)&&i===t.map&&(0,n.arePathsEqual)(r,t.path)||(this.destroyCircle(),this.renderCircle())}},{key:"componentWillUnmount",value:function(){this.destroyCircle()}},{key:"renderCircle",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.center,o=e.radius,a=e.strokeColor,s=e.strokeOpacity,u=e.strokeWeight,l=e.fillColor,f=e.fillOpacity,d=e.draggable,p=e.visible,m=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","center","radius","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity","draggable","visible"]);if(!n)return null;var b=c({},m,{map:r,center:i,radius:o,draggable:d,visible:p,options:{strokeColor:a,strokeOpacity:s,strokeWeight:u,fillColor:l,fillOpacity:f}});this.circle=new n.maps.Circle(b),h.forEach((function(e){t.circle.addListener(e,t.handleEvent(e))})),this.circlePromise.resolve(this.circle)}},{key:"getCircle",value:function(){return this.circlePromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.circle,r)}}},{key:"render",value:function(){return null}}]),e}(o.default.Component);d.propTypes={center:a.default.object,radius:a.default.number,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number,fillColor:a.default.string,fillOpacity:a.default.number,draggable:a.default.bool,visible:a.default.bool},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Circle"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e,r(0),r(10),r(1236),r(314)],void 0===(o="function"===typeof(n=function(t,e,r,n,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rectangle=void 0;var o=s(e),a=s(r);function s(t){return t&&t.__esModule?t:{default:t}}var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=["click","mouseout","mouseover"],d=t.Rectangle=function(t){function e(){return u(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"componentDidMount",value:function(){this.rectanglePromise=function(){var t={},e=new Promise((function(e,r){t.resolve=e,t.reject=r}));return t.then=e.then.bind(e),t.catch=e.catch.bind(e),t.promise=e,t}(),this.renderRectangle()}},{key:"componentDidUpdate",value:function(t){this.props.map===t.map&&(0,n.areBoundsEqual)(this.props.bounds,t.bounds)||(this.rectangle&&this.rectangle.setMap(null),this.renderRectangle())}},{key:"componentWillUnmount",value:function(){this.rectangle&&this.rectangle.setMap(null)}},{key:"renderRectangle",value:function(){var t=this,e=this.props,r=e.map,n=e.google,i=e.bounds,o=e.strokeColor,a=e.strokeOpacity,s=e.strokeWeight,u=e.fillColor,l=e.fillOpacity,f=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["map","google","bounds","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity"]);if(!n)return null;var d=c({map:r,bounds:i,strokeColor:o,strokeOpacity:a,strokeWeight:s,fillColor:u,fillOpacity:l},f);this.rectangle=new n.maps.Rectangle(d),h.forEach((function(e){t.rectangle.addListener(e,t.handleEvent(e))})),this.rectanglePromise.resolve(this.rectangle)}},{key:"getRectangle",value:function(){return this.rectanglePromise}},{key:"handleEvent",value:function(t){var e=this;return function(r){var n="on"+(0,i.camelize)(t);e.props[n]&&e.props[n](e.props,e.rectangle,r)}}},{key:"render",value:function(){return console.log("hii, ",this.props.bounds),null}}]),e}(o.default.Component);d.propTypes={bounds:a.default.object,strokeColor:a.default.string,strokeOpacity:a.default.number,strokeWeight:a.default.number,fillColor:a.default.string,fillOpacity:a.default.number},h.forEach((function(t){return d.propTypes[t]=a.default.func})),d.defaultProps={name:"Rectangle"},t.default=d})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=(t.areBoundsEqual=function(t,e){if(t===e)return!0;if(!(t instanceof Object)||!(e instanceof Object))return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;if(!r(t)||!r(e))return!1;var n=!0,i=!1,o=void 0;try{for(var a,s=Object.keys(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var c=a.value;if(t[c]!==e[c])return!1}}catch(u){i=!0,o=u}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return!0},function(t){return null!==t&&"object"===("undefined"===typeof t?"undefined":e(t))&&t.hasOwnProperty("north")&&t.hasOwnProperty("south")&&t.hasOwnProperty("east")&&t.hasOwnProperty("west")})})?n.apply(e,i):n)||(t.exports=o)},function(t,e,r){var n,i,o;i=[e],void 0===(o="function"===typeof(n=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCancelable=function(t){var e=!1;return{promise:new Promise((function(r,n){t.then((function(t){return e?n({isCanceled:!0}):r(t)})),t.catch((function(t){return n(e?{isCanceled:!0}:t)}))})),cancel:function(){e=!0}}}})?n.apply(e,i):n)||(t.exports=o)},,,,,function(t,e,r){"use strict";var n;!function(i,o){t.exports?(o.default=o,t.exports=i.document?o(i):o):void 0===(n=function(){return o(i)}.call(e,r,e,t))||(t.exports=n)}("undefined"!==typeof window?window:this,(function(t){function e(t,e,r,n){t.hasOwnProperty(e)||(t[e]=n.apply(null,r))}var r={};return e(r,"Core/Globals.js",[],(function(){var e,r="undefined"!==typeof t?t:"undefined"!==typeof window?window:{};return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="9.3.2",t.win=r,t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var r=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,r),t.win.removeEventListener("testPassive",t.noop,r))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(e||(e={})),e})),e(r,"Core/Utilities.js",[r["Core/Globals.js"]],(function(t){function e(r,n,i,o){var a=n?"Highcharts error":"Highcharts warning";32===r&&(r=a+": Deprecated member");var s=c(r),u=s?a+" #"+r+": www.highcharts.com/errors/"+r+"/":r.toString();if("undefined"!==typeof o){var l="";s&&(u+="?"),m(o,(function(t,e){l+="\n - "+e+": "+t,s&&(u+=encodeURI(e)+"="+encodeURI(t))})),u+=l}v(t,"displayError",{chart:i,code:r,message:u,params:o},(function(){if(n)throw Error(u);w.console&&-1===e.messages.indexOf(u)&&console.warn(u)})),e.messages.push(u)}function r(t,e){return parseInt(t,e||10)}function n(t){return"string"===typeof t}function i(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function o(t,e){return!!t&&"object"===typeof t&&(!e||!i(t))}function a(t){return o(t)&&"number"===typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!o(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function c(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function u(t){return"undefined"!==typeof t&&null!==t}function l(t,e,r){var i;return n(e)?u(r)?t.setAttribute(e,r):t&&t.getAttribute&&((i=t.getAttribute(e))||"class"!==e||(i=t.getAttribute(e+"Name"))):m(e,(function(e,r){u(e)?t.setAttribute(r,e):t.removeAttribute(r)})),i}function f(t,e){var r;for(r in t||(t={}),e)t[r]=e[r];return t}function h(){for(var t=arguments,e=t.length,r=0;r<e;r++){var n=t[r];if("undefined"!==typeof n&&null!==n)return n}}function d(e,r){t.isMS&&!t.svg&&r&&"undefined"!==typeof r.opacity&&(r.filter="alpha(opacity="+100*r.opacity+")"),f(e.style,r)}function p(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function m(t,e,r){for(var n in t)Object.hasOwnProperty.call(t,n)&&e.call(r||t[n],t[n],n,t)}function b(e,r,n){function i(r,n){var i=e.removeEventListener||t.removeEventListenerPolyfill;i&&i.call(e,r,n,!1)}function o(t){var n;if(e.nodeName){if(r){var o={};o[r]=!0}else o=t;m(o,(function(e,r){if(t[r])for(n=t[r].length;n--;)i(r,t[r][n].fn)}))}}var a="function"===typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;r?(a=s[r]||[],n?(s[r]=a.filter((function(t){return n!==t.fn})),i(r,n)):(o(s),s[r]=[])):(o(s),delete a.hcEvents)}}function v(e,r,n,i){if(n=n||{},y.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var o=y.createEvent("Events");o.initEvent(r,!0,!0),n=f(o,n),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent(r,n)}else if(e.hcEvents){n.target||f(n,{preventDefault:function(){n.defaultPrevented=!0},target:e,type:r}),o=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[r]&&(o.length&&(s=!0),o.unshift.apply(o,a.hcEvents[r])),a=Object.getPrototypeOf(a);s&&o.sort((function(t,e){return t.order-e.order})),o.forEach((function(t){!1===t.fn.call(e,n)&&n.preventDefault()}))}i&&!n.defaultPrevented&&i.call(e,n)}var g=t.charts,y=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var x=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var r,n=t.length;for(r=0;r<n;r++)if(e(t[r],r))return t[r]};m({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(r,n){t[n]=function(t){var i;return e(32,!1,void 0,((i={})["Highcharts."+n]="use Array."+r,i)),Array.prototype[r].apply(t,[].slice.call(arguments,1))}}));var O,_=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(O?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[n(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):g[l(this[0],"data-highcharts-chart")]}),x={addEvent:function(e,r,n,i){void 0===i&&(i={});var o="function"===typeof e&&e.prototype||e;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,r,n,!!t.supportsPassiveEvents&&{passive:void 0===i.passive?-1!==r.indexOf("touch"):i.passive,capture:!1}),o[r]||(o[r]=[]),o[r].push({fn:n,order:"number"===typeof i.order?i.order:1/0}),o[r].sort((function(t,e){return t.order-e.order})),function(){b(e,r,n)}},arrayMax:function(t){for(var e=t.length,r=t[0];e--;)t[e]>r&&(r=t[e]);return r},arrayMin:function(t){for(var e=t.length,r=t[0];e--;)t[e]<r&&(r=t[e]);return r},attr:l,clamp:function(t,e,r){return t>e?t<r?t:r:e},cleanRecursively:function t(e,r){var n={};return m(e,(function(i,a){o(e[a],!0)&&!e.nodeType&&r[a]?(i=t(e[a],r[a]),Object.keys(i).length&&(n[a]=i)):(o(e[a])||e[a]!==r[a])&&(n[a]=e[a])})),n},clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){u(t)&&clearTimeout(t)})),correctFloat:p,createElement:function(t,e,r,n,i){return t=y.createElement(t),e&&f(t,e),i&&d(t,{padding:"0",border:"none",margin:"0"}),r&&d(t,r),n&&n.appendChild(t),t},css:d,defined:u,destroyObjectProperties:function(t,e){m(t,(function(r,n){r&&r!==e&&r.destroy&&r.destroy(),delete t[n]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var r=t.length;r--;)if(t[r]===e){t.splice(r,1);break}},error:e,extend:f,extendClass:function(t,e){var r=function(){};return f(r.prototype=new t,e),r},find:x,fireEvent:v,getMagnitude:function(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))},getNestedProperty:function(t,e){for(t=t.split(".");t.length&&u(e);){var r=t.shift();if("undefined"===typeof r||"__proto__"===r)return;if(!u(e=e[r])||"function"===typeof e||"number"===typeof e.nodeType||e===w)return}return e},getStyle:function n(i,o,a){var s=t.getStyle||n;if("width"===o)return o=Math.min(i.offsetWidth,i.scrollWidth),(a=i.getBoundingClientRect&&i.getBoundingClientRect().width)<o&&a>=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(i,"padding-left",!0)||0)-(s(i,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(s(i,"padding-top",!0)||0)-(s(i,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),i=w.getComputedStyle(i,void 0)){var c=i.getPropertyValue(o);h(a,"opacity"!==o)&&(c=r(c))}return c},inArray:function(t,r,n){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),r.indexOf(t,n)},isArray:i,isClass:s,isDOMElement:a,isFunction:function(t){return"function"===typeof t},isNumber:c,isObject:o,isString:n,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,r={},n=function t(e,r){return"object"!==typeof e&&(e={}),m(r,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!o(n,!0)||s(n)||a(n)?e[i]=r[i]:e[i]=t(e[i]||{},n))})),e};!0===e[0]&&(r=e[1],e=Array.prototype.slice.call(e,2));var i=e.length;for(t=0;t<i;t++)r=n(r,e[t]);return r},normalizeTickInterval:function(t,e,r,n,i){var o=t,a=t/(r=h(r,1));for(e||(e=i?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===n&&(1===r?e=e.filter((function(t){return 0===t%1})):.1>=r&&(e=[1/r]))),n=0;n<e.length&&(o=e[n],!(i&&o*r>=t||!i&&a<=(e[n]+(e[n+1]||e[n]))/2));n++);return p(o*r,-Math.round(Math.log(.001)/Math.LN10))},objectEach:m,offset:function(t){var e=y.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,r){return Array((e||2)+1-String(t).replace("-","").length).join(r||"0")+t},pick:h,pInt:r,relativeLength:function(t,e,r){return/%$/.test(t)?e*parseFloat(t)/100+(r||0):parseFloat(t)},removeEvent:b,splat:function(t){return i(t)?t:[t]},stableSort:function(t,e){var r,n,i=t.length;for(n=0;n<i;n++)t[n].safeI=n;for(t.sort((function(t,n){return 0===(r=e(t,n))?t.safeI-n.safeI:r})),n=0;n<i;n++)delete t[n].safeI},syncTimeout:function(t,e,r){return 0<e?setTimeout(t,e,r):(t.call(0,r),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:_,useSerialIds:function(t){return O=h(t,O)},wrap:function(t,e,r){var n=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,i=this;return i.proceed=function(){n.apply(i,arguments.length?arguments:e)},t.unshift(n),t=r.apply(this,t),i.proceed=null,t}}}})),e(r,"Core/Chart/ChartDefaults.js",[],(function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(r,"Core/Color/Color.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.isNumber,n=e.merge,i=e.pInt;return e=function(){function e(r){this.rgba=[NaN,NaN,NaN,NaN],this.input=r;var n=t.Color;return n&&n!==e?new n(r):this instanceof e?void this.init(r):new e(r)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var r;if("object"===typeof t&&"undefined"!==typeof t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"===typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var n=t.length,i=parseInt(t.substr(1),16);7===n?r=[(16711680&i)>>16,(65280&i)>>8,255&i,1]:4===n&&(r=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!r)for(i=e.parsers.length;i--&&!r;){var o=e.parsers[i];(n=o.regex.exec(t))&&(r=o.parse(n))}}r&&(this.rgba=r)},e.prototype.get=function(t){var e=this.input,i=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var o=n(e);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(e,r){o.stops[r]=[o.stops[r][0],e.get(t)]})),o}return i&&r(i[0])?"rgb"===t||!t&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===t?""+i[3]:"rgba("+i.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(r(t)&&0!==t)for(var n=0;3>n;n++)e[n]+=i(255*t),0>e[n]&&(e[n]=0),255<e[n]&&(e[n]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var n=this.rgba,i=t.rgba;return r(n[0])&&r(i[0])?((t=1!==i[3]||1!==n[3])?"rgba(":"rgb(")+Math.round(i[0]+(n[0]-i[0])*(1-e))+","+Math.round(i[1]+(n[1]-i[1])*(1-e))+","+Math.round(i[2]+(n[2]-i[2])*(1-e))+(t?","+(i[3]+(n[3]-i[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[i(t[1]),i(t[2]),i(t[3]),1]}}],e.None=new e(""),e}()})),e(r,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(r,"Core/Time.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.win,n=e.defined,i=e.error,o=e.extend,a=e.isObject,s=e.merge,c=e.objectEach,u=e.pad,l=e.pick,f=e.splat,h=e.timeUnits,d=t.isSafari&&r.Intl&&r.Intl.DateTimeFormat.prototype.formatRange,p=t.isSafari&&r.Intl&&!r.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=r.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var r=e.getTime(),n=r-this.getTimezoneOffset(e);return e.setTime(n),t=e["getUTC"+t](),e.setTime(r),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,r){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0===this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](r);var n=this.getTimezoneOffset(e);return n=e.getTime()-n,e.setTime(n),e["setUTC"+t](r),t=this.getTimezoneOffset(e),n=e.getTime()+t,e.setTime(n)}return this.useUTC||d&&"FullYear"===t?e["setUTC"+t](r):e["set"+t](r)},e.prototype.update=function(t){var e=l(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||r.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,r,n,i,o){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var c=this.getTimezoneOffset(a);s!==c?a+=c-s:s-36e5!==this.getTimezoneOffset(a-36e5)||p||(a-=36e5)}else a=new this.Date(t,e,l(r,1),l(n,0),l(i,0),l(o,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,n=e.getTimezoneOffset,o=e.moment||r.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(o)return function(t){return 6e4*-o.tz(t,e.timezone).utcOffset()};i(25)}return this.useUTC&&n?function(t){return 6e4*n(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,r,i){if(!n(r)||isNaN(r))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=l(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(r),f=this.get("Hours",s),h=this.get("Day",s),d=this.get("Date",s),p=this.get("Month",s),m=this.get("FullYear",s),b=t.defaultOptions.lang,v=b&&b.weekdays,g=b&&b.shortWeekdays;return s=o({a:g?g[h]:v[h].substr(0,3),A:v[h],d:u(d),e:u(d,2," "),w:h,b:b.shortMonths[p],B:b.months[p],m:u(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:u(f),k:f,I:u(f%12||12),l:f%12||12,M:u(this.get("Minutes",s)),p:12>f?"AM":"PM",P:12>f?"am":"pm",S:u(s.getSeconds()),L:u(Math.floor(r%1e3),3)},t.dateFormats),c(s,(function(t,n){for(;-1!==e.indexOf("%"+n);)e=e.replace("%"+n,"function"===typeof t?t.call(a,r):t)})),i?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=f(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,r,i){var a,s=this,c=[],u={},f=new s.Date(e),d=t.unitRange,p=t.count||1;if(i=l(i,1),n(e)){if(s.set("Milliseconds",f,d>=h.second?0:p*Math.floor(s.get("Milliseconds",f)/p)),d>=h.second&&s.set("Seconds",f,d>=h.minute?0:p*Math.floor(s.get("Seconds",f)/p)),d>=h.minute&&s.set("Minutes",f,d>=h.hour?0:p*Math.floor(s.get("Minutes",f)/p)),d>=h.hour&&s.set("Hours",f,d>=h.day?0:p*Math.floor(s.get("Hours",f)/p)),d>=h.day&&s.set("Date",f,d>=h.month?1:Math.max(1,p*Math.floor(s.get("Date",f)/p))),d>=h.month){s.set("Month",f,d>=h.year?0:p*Math.floor(s.get("Month",f)/p));var m=s.get("FullYear",f)}d>=h.year&&s.set("FullYear",f,m-m%p),d===h.week&&(m=s.get("Day",f),s.set("Date",f,s.get("Date",f)-m+i+(m<i?-7:0))),m=s.get("FullYear",f),i=s.get("Month",f);var b=s.get("Date",f),v=s.get("Hours",f);for(e=f.getTime(),!s.variableTimezone&&s.useUTC||!n(r)||(a=r-e>4*h.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(r)),e=f.getTime(),f=1;e<r;)c.push(e),e=d===h.year?s.makeTime(m+f*p,0):d===h.month?s.makeTime(m,i+f*p):!a||d!==h.day&&d!==h.week?a&&d===h.hour&&1<p?s.makeTime(m,i,b,v+f*p):e+d*p:s.makeTime(m,i,b+f*p*(d===h.day?1:7)),f++;c.push(e),d<=h.hour&&1e4>c.length&&c.forEach((function(t){0===t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(u[t]="day")}))}return c.info=o(t,{higherRanks:u,totalRange:d*p}),c},e.prototype.getDateFormat=function(t,e,r,n){var i=this.dateFormat("%m-%d %H:%M:%S.%L",e),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in h){if(t===h.week&&+this.dateFormat("%w",e)===r&&"00:00:00.000"===i.substr(6)){var s="week";break}if(h[s]>t){s=a;break}if(o[s]&&i.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}if(s)var c=this.resolveDTLFormat(n[s]).main;return c},e}()})),e(r,"Core/DefaultOptions.js",[r["Core/Chart/ChartDefaults.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Color/Palettes.js"],r["Core/Time.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){e=e.parse;var a=o.merge,s={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:r.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:r.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var c=new i(a(s.global,s.time));return t={defaultOptions:s,defaultTime:c,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(r.time?r.time.update(a(s.global,s.time,t.global,t.time)):r.time=c),s}}})),e(r,"Core/Animation/Fx.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=t.parse,i=e.win,o=r.isNumber,a=r.objectEach;return function(){function t(t,e,r){this.pos=NaN,this.options=e,this.elem=t,this.prop=r}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var r=this.now||0,n=[];if(1!==r&&e&&t)if(e.length===t.length&&1>r)for(var i=0;i<t.length;i++){for(var a=e[i],s=t[i],c=[],u=0;u<s.length;u++){var l=a[u],f=s[u];o(l)&&o(f)&&("A"!==s[0]||4!==u&&5!==u)?c[u]=l+r*(f-l):c[u]=f}n.push(c)}else n=t;else n=this.toD||[];this.elem.attr("d",n,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,r=this.now,n=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,r,null,!0):t.style[e]=r+this.unit,n&&n.call(t,r,this)},t.prototype.run=function(e,r,n){var o=this,a=o.options,s=function t(e){return!t.stopped&&o.step(e)},c=i.requestAnimationFrame||function(t){setTimeout(t,13)};e!==r||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=r,this.unit=n,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&c((function e(){for(var r=0;r<t.timers.length;r++)t.timers[r]()||t.timers.splice(r--,1);t.timers.length&&c(e)}))):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,r=this.options,n=this.elem,i=r.complete,o=r.duration,s=r.curAnim;if(n.attr&&!n.element)t=!1;else if(t||e>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var c=s[this.prop]=!0;a(s,(function(t){!0!==t&&(c=!1)})),c&&i&&i.call(n),t=!1}else this.pos=r.easing((e-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,r){function n(t,e){for(;t.length<h;){var r=t[0],n=e[h-t.length];n&&"M"===r[0]&&(t[0]="C"===n[0]?["C",r[1],r[2],r[1],r[2],r[1],r[2]]:["L",r[1],r[2]]),t.unshift(r),c&&(r=t.pop(),t.push(t[t.length-1],r))}}function i(t,e){for(;t.length<h;)if("C"===(e=t[Math.floor(t.length/u)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),c){var r=t[Math.floor(t.length/u)].slice();t.splice(t.length/2,0,e,r)}else t.push(e)}var a=t.startX,s=t.endX;r=r.slice();var c=t.isArea,u=c?2:1;if(!(e=e&&e.slice()))return[r,r];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var l=t;break}if(a[0]===s[s.length-a.length+t]){l=t;var f=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){l=a.length-t;break}}"undefined"===typeof l&&(e=[])}if(e.length&&o(l)){var h=r.length+l*u;f?(n(e,r),i(r,e)):(n(r,e),i(e,r))}return[e,r]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,n(this.start).tweenTo(n(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(r,"Core/Animation/AnimationUtilities.js",[r["Core/Animation/Fx.js"],r["Core/Utilities.js"]],(function(t,e){function r(t){return c(t)?u({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function n(e,r){for(var n=t.timers.length;n--;)t.timers[n].elem!==e||r&&r!==t.timers[n].prop||(t.timers[n].stopped=!0)}var i=e.defined,o=e.getStyle,a=e.isArray,s=e.isNumber,c=e.isObject,u=e.merge,l=e.objectEach,f=e.pick;return{animate:function(e,r,i){var f,h,d,p="";if(!c(i)){var m=arguments;i={duration:m[2],easing:m[3],complete:m[4]}}s(i.duration)||(i.duration=400),i.easing="function"===typeof i.easing?i.easing:Math[i.easing]||Math.easeInOutSine,i.curAnim=u(r),l(r,(function(s,c){n(e,c),d=new t(e,i,c),h=void 0,"d"===c&&a(r.d)?(d.paths=d.initPath(e,e.pathArray,r.d),d.toD=r.d,f=0,h=1):e.attr?f=e.attr(c):(f=parseFloat(o(e,c))||0,"opacity"!==c&&(p="px")),h||(h=s),"string"===typeof h&&h.match("px")&&(h=h.replace(/px/g,"")),d.run(f,h,p)}))},animObject:r,getDeferredAnimation:function(t,e,n){var o=r(e),a=0,s=0;return(n?[n]:t.series).forEach((function(t){t=r(t.options.animation),a=e&&i(e.defer)?o.defer:Math.max(a,t.duration+t.defer),s=Math.min(o.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=f(t,e.options.chart.animation,!0)},stop:n}})),e(r,"Core/Renderer/HTML/AST.js",[r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e){var r=t.SVG_NS,n=e.attr,i=e.createElement,o=e.error,a=e.isFunction,s=e.isString,c=e.objectEach,u=e.splat,l=(e=t.win.trustedTypes)&&a(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),f=l?l.createHTML(""):"";try{var h=!!(new DOMParser).parseFromString(f,"text/html")}catch(d){h=!1}return a=function(){function e(t){this.nodes="string"===typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return c(t,(function(r,n){var i=!0;-1===e.allowedAttributes.indexOf(n)&&(i=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(n)&&(i=s(r)&&e.allowedReferences.some((function(t){return 0===r.indexOf(t)}))),i||(o("Highcharts warning: Invalid attribute '"+n+"' in config"),delete t[n])})),t},e.setElementHTML=function(t,r){t.innerHTML=e.emptyHTML,r&&new e(r).addToDOM(t)},e.prototype.addToDOM=function(i){return function i(a,s){var l;return u(a).forEach((function(a){var u=a.tagName,f=a.textContent?t.doc.createTextNode(a.textContent):void 0;if(u)if("#text"===u)var h=f;else if(-1!==e.allowedTags.indexOf(u)){u=t.doc.createElementNS("svg"===u?r:s.namespaceURI||r,u);var d=a.attributes||{};c(a,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"textContent"!==e&&(d[e]=t)})),n(u,e.filterUserAttributes(d)),f&&u.appendChild(f),i(a.children||[],u),h=u}else o("Highcharts warning: Invalid tagName "+u+" in config");h&&s.appendChild(h),l=h})),l}(this.nodes,i)},e.prototype.parseMarkup=function(t){var e=[];if(t=t.trim(),h)t=(new DOMParser).parseFromString(l?l.createHTML(t):t,"text/html");else{var r=i("div");r.innerHTML=t,t={body:r}}return[].forEach.call(t.body.childNodes,(function(t){return function t(e,r){var n=e.nodeName.toLowerCase(),i={tagName:n};if("#text"===n&&(i.textContent=e.textContent||""),n=e.attributes){var o={};[].forEach.call(n,(function(t){o[t.name]=t.value})),i.attributes=o}if(e.childNodes.length){var a=[];[].forEach.call(e.childNodes,(function(e){t(e,a)})),a.length&&(i.children=a)}r.push(i)}(t,e)})),e},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=f,e}()})),e(r,"Core/FormatUtilities.js",[r["Core/DefaultOptions.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e,r,i){t=+t||0,e=+e;var o=n.lang,u=(t.toString().split(".")[1]||"").split("e")[0].length,l=t.toString().split("e"),f=e;if(-1===e)e=Math.min(u,20);else if(a(e)){if(e&&l[1]&&0>l[1]){var h=e+ +l[1];0<=h?(l[0]=(+l[0]).toExponential(h).split("e")[0],e=h):(l[0]=l[0].split(".")[0]||0,t=20>e?(l[0]*Math.pow(10,l[1])).toFixed(e):0,l[1]=0)}}else e=2;h=(Math.abs(l[1]?l[0]:t)+Math.pow(10,-Math.max(e,u)-1)).toFixed(e);var d=3<(u=String(c(h))).length?u.length%3:0;return r=s(r,o.decimalPoint),i=s(i,o.thousandsSep),t=(0>t?"-":"")+(d?u.substr(0,d)+i:""),t=0>+l[1]&&!f?"0":t+u.substr(d).replace(/(\d{3})(?=\d)/g,"$1"+i),e&&(t+=r+h.slice(-e)),l[1]&&0!==+t&&(t+="e"+l[1]),t}var n=t.defaultOptions,i=t.defaultTime,o=e.getNestedProperty,a=e.isNumber,s=e.pick,c=e.pInt;return{dateFormat:function(t,e,r){return i.dateFormat(t,e,r)},format:function(t,e,a){var s="{",c=!1,u=/f$/,l=/\.([0-9])/,f=n.lang,h=a&&a.time||i;a=a&&a.numberFormatter||r;for(var d=[];t;){var p=t.indexOf(s);if(-1===p)break;var m=t.slice(0,p);if(c){if(m=m.split(":"),s=o(m.shift()||"",e),m.length&&"number"===typeof s)if(m=m.join(":"),u.test(m)){var b=parseInt((m.match(l)||["","-1"])[1],10);null!==s&&(s=a(s,b,f.decimalPoint,-1<m.indexOf(",")?f.thousandsSep:""))}else s=h.dateFormat(m,s);d.push(s)}else d.push(m);t=t.slice(p+1),s=(c=!c)?"}":"{"}return d.push(t),d.join("")},numberFormat:r}})),e(r,"Core/Renderer/RendererUtilities.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.clamp,n=t.pick,i=t.stableSort;return function(t){t.distribute=function t(e,o,a){var s,c=e,u=c.reducedLen||o,l=function(t,e){return(e.rank||0)-(t.rank||0)},f=function(t,e){return t.target-e.target},h=!0,d=[],p=0;for(s=e.length;s--;)p+=e[s].size;if(p>u){for(i(e,l),p=s=0;p<=u;)p+=e[s].size,s++;d=e.splice(s-1,e.length)}for(i(e,f),e=e.map((function(t){return{size:t.size,targets:[t.target],align:n(t.align,.5)}}));h;){for(s=e.length;s--;)u=e[s],l=(Math.min.apply(0,u.targets)+Math.max.apply(0,u.targets))/2,u.pos=r(l-u.size*u.align,0,o-u.size);for(s=e.length,h=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),h=!0)}return c.push.apply(c,d),s=0,e.some((function(e){var r=0;return(e.targets||[]).some((function(){return c[s].pos=e.pos+r,"undefined"!==typeof a&&Math.abs(c[s].pos-c[s].target)>a?(c.slice(0,s+1).forEach((function(t){return delete t.pos})),c.reducedLen=(c.reducedLen||o)-.1*o,c.reducedLen>.1*o&&t(c,o,a),!0):(r+=c[s].size,s++,!1)}))})),i(c,f),c}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGElement.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.animate,a=t.animObject,s=t.stop,c=n.deg2rad,u=n.doc,l=n.noop,f=n.svg,h=n.SVG_NS,d=n.win,p=i.addEvent,m=i.attr,b=i.createElement,v=i.css,g=i.defined,y=i.erase,w=i.extend,x=i.fireEvent,O=i.isArray,_=i.isFunction,S=i.isNumber,k=i.isString,E=i.merge,M=i.objectEach,C=i.pick,j=i.pInt,A=i.syncTimeout,T=i.uniqueKey;return(t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=h,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=C(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,r){r.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,r=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(t?t.element:e.box).appendChild(r),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var r=e?"":this.attr("class")||"";return(t=(t||"").split(/ /g).reduce((function(t,e){return-1===r.indexOf(e)&&t.push(e),t}),r?[r]:[]).join(" "))!==r&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,r){var n,i,o,a={},s=this.renderer,c=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!r||k(r))&&(this.alignTo=n=r||"renderer",y(c,this),c.push(this),r=void 0)):(t=this.alignOptions,e=this.alignByTranslate,n=this.alignTo),r=C(r,s[n],"scrollablePlotBox"===n?s.plotBox:void 0,s),n=t.align;var u=t.verticalAlign;return s=(r.x||0)+(t.x||0),c=(r.y||0)+(t.y||0),"right"===n?i=1:"center"===n&&(i=2),i&&(s+=(r.width-(t.width||0))/i),a[e?"translateX":"x"]=Math.round(s),"bottom"===u?o=1:"middle"===u&&(o=2),o&&(c+=(r.height-(t.height||0))/o),a[e?"translateY":"y"]=Math.round(c),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,r){var n=this,i=a(C(e,this.renderer.globalAnimation,!0));return e=i.defer,C(u.hidden,u.msHidden,u.webkitHidden,!1)&&(i.duration=0),0!==i.duration?(r&&(i.complete=r),A((function(){n.element&&o(n,t,i)}),e)):(this.attr(t,void 0,r),M(t,(function(t,e){i.step&&i.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var r=t.split(" ");if(t=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,r){return 2*Number(e)+r})),this.removeTextOutline();var i=u.createElementNS(h,"tspan");m(i,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":r,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),i.appendChild(e)}));var o=u.createElementNS(h,"tspan");o.textContent="\u200b",["x","y"].forEach((function(t){var r=e.getAttribute(t);r&&o.setAttribute(t,r)})),i.appendChild(o),e.insertBefore(i,e.firstChild)}},t.prototype.attr=function(t,e,r,n){var i,o,a,c=this.element,u=this.symbolCustomAttribs,l=this;if("string"===typeof t&&"undefined"!==typeof e){var f=t;(t={})[f]=e}return"string"===typeof t?l=(this[t+"Getter"]||this._defaultGetter).call(this,t,c):(M(t,(function(e,r){o=!1,n||s(this,r),this.symbolName&&-1!==u.indexOf(r)&&(i||(this.symbolAttr(t),i=!0),o=!0),!this.rotation||"x"!==r&&"y"!==r||(this.doTransform=!0),o||((a=this[r+"Setter"]||this._defaultSetter).call(this,e,r,c),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(r)&&this.updateShadows(r,e,a))}),this),this.afterSetters()),r&&r.call(this),l},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var r=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+r,t.y=Math.floor(t.y||this.y||0)+r,t.width=Math.floor((t.width||this.width||0)-2*r),t.height=Math.floor((t.height||this.height||0)-2*r),g(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,n){var i,o,a,s,c,u,l,f,h,d,p,m=this.renderer,b=[];x(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?o="radialGradient":t.linearGradient&&(o="linearGradient"),o){if(a=t[o],c=m.gradients,u=t.stops,h=n.radialReference,O(a)&&(t[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&h&&!g(a.gradientUnits)&&(s=a,a=E(a,m.getRadialAttr(h,s),{gradientUnits:"userSpaceOnUse"})),M(a,(function(t,e){"id"!==e&&b.push(e,t)})),M(u,(function(t){b.push(t)})),b=b.join(","),c[b])d=c[b].attr("id");else{a.id=d=T();var v=c[b]=m.createElement(o).attr(a).add(m.defs);v.radAttr=s,v.stops=[],u.forEach((function(t){0===t[1].indexOf("rgba")?(i=r.parse(t[1]),l=i.get("rgb"),f=i.get("a")):(l=t[1],f=1),t=m.createElement("stop").attr({offset:t[0],"stop-color":l,"stop-opacity":f}).add(v),v.stops.push(t)}))}p="url("+m.url+"#"+d+")",n.setAttribute(e,p),n.gradient=b,t.toString=function(){return p}}}))},t.prototype.css=function(t){var e=this.styles,r={},n=this.element,i=["textOutline","textOverflow","width"],o="",a=!e;if(t&&t.color&&(t.fill=t.color),e&&M(t,(function(t,n){e&&e[n]!==t&&(r[n]=t,a=!0)})),a){if(e&&(t=w(e,r)),t)if(null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&t.width)var s=this.textWidth=j(t.width);if(this.styles=t,s&&!f&&this.renderer.forExport&&delete t.width,n.namespaceURI===this.SVG_NS){var c=function(t,e){return"-"+e.toLowerCase()};M(t,(function(t,e){-1===i.indexOf(e)&&(o+=e.replace(/([A-Z])/g,c)+":"+t+";")})),o&&m(n,"style",o)}else v(n,t);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t&&t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var r=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=r.length;t--;)r[t]=""+j(r[t])*C(e,NaN);t=r.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},r=t.renderer,n=e.ownerSVGElement,i=r.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&n){var o=t.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(o.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=o.destroy()}if(t.stops){for(n=0;n<t.stops.length;n++)t.stops[n].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),r.styledMode||t.destroyShadows();i&&i.div&&0===i.div.childNodes.length;)e=i.parentGroup,t.safeRemoveChild(i.div),delete i.div,i=e;t.alignTo&&y(r.alignedObjects,t),M(t,(function(e,r){t[r]&&t[r].parentGroup===t&&t[r].destroy&&t[r].destroy(),delete t[r]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var r=t.getElementsByTagName("text")[0];if(r){if(r.removeAttribute("dx"),r.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&r.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)r.appendChild(t[0]);r.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,r){O(t)&&("string"===typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,r){return e&&e.join?(r?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(r.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:C(t,150),complete:function(){e.attr({y:-9999}).hide()}})},t.prototype.fillSetter=function(t,e,r){"string"===typeof t?r.setAttribute(e,t):t&&this.complexColor(t,e,r)},t.prototype.getBBox=function(e,r){var n=this.renderer,i=this.element,o=this.styles,a=this.textStr,s=n.cache,u=n.cacheKeys,l=i.namespaceURI===this.SVG_NS;r=C(r,this.rotation,0);var f,h=n.styledMode?i&&t.prototype.getStyle.call(i,"font-size"):o&&o.fontSize;if(g(a)){var d=a.toString();-1===d.indexOf("<")&&(d=d.replace(/[0-9]/g,"0")),d+=["",r,h,this.textWidth,o&&o.textOverflow,o&&o.fontWeight].join()}if(d&&!e&&(f=s[d]),!f){if(l||n.forExport){try{var p=this.fakeTS&&function(t){var e=i.querySelector(".highcharts-text-outline");e&&v(e,{display:t})};_(p)&&p("none"),f=i.getBBox?w({},i.getBBox()):{width:i.offsetWidth,height:i.offsetHeight},_(p)&&p("")}catch(m){}(!f||0>f.width)&&(f={width:0,height:0})}else f=this.htmlGetBBox();if(n.isSVG&&(e=f.width,n=f.height,l&&(f.height=n={"11px,17":14,"13px,20":16}[(h||"")+","+Math.round(n)]||n),r&&(l=r*c,f.width=Math.abs(n*Math.sin(l))+Math.abs(e*Math.cos(l)),f.height=Math.abs(n*Math.cos(l))+Math.abs(e*Math.sin(l)))),d&&(""===a||0<f.height)){for(;250<u.length;)delete s[u.shift()];s[d]||u.push(d),s[d]=f}}return f},t.prototype.getStyle=function(t){return d.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(t){return t?this.attr({y:-9999}):this.attr({visibility:"hidden"}),this},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?b(e):u.createElementNS(this.SVG_NS,e),this.renderer=t,x(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var r=this.onEvents;return r[t]&&r[t](),r[t]=p(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,r){this.opacity=t=Number(Number(t).toFixed(3)),r.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(k(t)?new RegExp("(^| )"+t+"( |$)"):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,r){var n=this.element,i=this.text?this.text.element:n,o={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,c=!s;r=E(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},r);var u=e.filterUserAttributes(r.attributes);if(t&&r&&r.enabled){s&&null===s.element.parentNode?(c=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(u.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var f=s.element;if((r=t.element.getAttribute("id"))||t.element.setAttribute("id",r=T()),c)for(i.setAttribute("y",0),S(u.dx)&&i.setAttribute("x",-u.dx),t=[].slice.call(i.childNodes),c=0;c<t.length;c++){var h=t[c];h.nodeType!==d.Node.TEXT_NODE&&"tspan"!==h.nodeName||f.appendChild(h)}a&&s&&s.add({element:i}),f.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+r),g(u.dy)&&(f.parentNode.setAttribute("dy",u.dy),delete u.dy),g(u.dx)&&(f.parentNode.setAttribute("dx",u.dx),delete u.dx),M(u,(function(t,e){f.setAttribute(o[e]||e,t)})),n.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=l}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(n,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,r){var n,i=[],o=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},c=!1;if(!0===t?n=s:"object"===typeof t&&(n=w(s,t)),n&&(n&&a&&M(n,(function(t,e){t!==a[e]&&(c=!0)})),c&&this.destroyShadows(),this.oldShadowOptions=n),n){if(!this.shadows){var u=n.opacity/n.width,l=this.parentInverted?"translate("+n.offsetY+", "+n.offsetX+")":"translate("+n.offsetX+", "+n.offsetY+")";for(s=1;s<=n.width;s++){var f=o.cloneNode(!1),h=2*n.width+1-2*s;m(f,{stroke:t.color||"#000000","stroke-opacity":u*s,"stroke-width":h,transform:l,fill:"none"}),f.setAttribute("class",(f.getAttribute("class")||"")+" highcharts-shadow"),r&&(m(f,"height",Math.max(m(f,"height")-h,0)),f.cutHeight=h),e?e.element.appendChild(f):o.parentNode&&o.parentNode.insertBefore(f,o),i.push(f)}this.shadows=i}}else this.destroyShadows();return this},t.prototype.show=function(t){return this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,r,n){this[r]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",n),n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===r&&0===e&&this.hasStroke?(n.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(n.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=j(t);else if(""!==t){var r=u.createElementNS(h,"rect");m(r,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(r),e=r.getBBox().width,r.parentNode.removeChild(r)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(r){e[r]=C(t[r],e[r])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,r=e.getElementsByTagName("title")[0]||u.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(r,e.firstChild):e.appendChild(r),r.textContent=String(C(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,r){var n=this.shadows;if(n)for(var i=n.length;i--;)r.call(n[i],"height"===t?Math.max(e-(n[i].cutHeight||0),0):"d"===t?this.d:e,t,n[i])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,r=this.inverted,n=this.rotation,i=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;r&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],g(i)&&a.push("matrix("+i.join(",")+")"),r?a.push("rotate(90) scale(-1,1)"):n&&a.push("rotate("+n+" "+C(this.rotationOriginX,o.getAttribute("x"),0)+" "+C(this.rotationOriginY,o.getAttribute("y")||0)+")"),(g(t)||g(e))&&a.push("scale("+C(t,1)+" "+C(e,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,r){"inherit"===t?r.removeAttribute(e):this[e]!==t&&r.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var r=this.renderer,n=this.parentGroup,i=(n||r).element||r.box,o=this.element;r=i===r.box;var a,s=!1,c=this.added;if(g(t)?(o.setAttribute("data-z-index",t),t=+t,this[e]===t&&(c=!1)):g(this[e])&&o.removeAttribute("data-z-index"),this[e]=t,c){for((t=this.zIndex)&&n&&(n.handleZ=!0),a=(e=i.childNodes).length-1;0<=a&&!s;a--){c=(n=e[a]).getAttribute("data-z-index");var u=!g(c);n!==o&&(0>t&&u&&!r&&!a?(i.insertBefore(o,e[a]),s=!0):(j(c)<=t||u&&(!g(t)||0<=t))&&(i.insertBefore(o,e[a+1]||null),s=!0))}s||(i.insertBefore(o,e[r?3:0]||null),s=!0)}return s},t}()).prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(r,"Core/Renderer/RendererRegistry.js",[r["Core/Globals.js"]],(function(t){var e;return function(e){var r;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=r),e.rendererTypes[t]||e.rendererTypes[r]},e.registerRendererType=function(n,i,o){e.rendererTypes[n]=i,r&&!o||(r=n,t.Renderer=i)}}(e||(e={})),e})),e(r,"Core/Renderer/SVG/SVGLabel.js",[r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=e.defined,i=e.extend,o=e.isNumber,a=e.merge,s=e.pick,c=e.removeEvent;return function(e){function u(t,r,n,i,o,a,s,c,l,f){var h,d=e.call(this)||this;return d.paddingLeftSetter=d.paddingSetter,d.paddingRightSetter=d.paddingSetter,d.init(t,"g"),d.textStr=r,d.x=n,d.y=i,d.anchorX=a,d.anchorY=s,d.baseline=l,d.className=f,d.addClass("button"===f?"highcharts-no-tooltip":"highcharts-label"),f&&d.addClass("highcharts-"+f),d.text=t.text(void 0,0,0,c).attr({zIndex:1}),"string"===typeof o&&((h=/^url\((.*?)\)$/.test(o))||d.renderer.symbols[o])&&(d.symbolKey=o),d.bBox=u.emptyBBox,d.padding=3,d.baselineOffset=0,d.needsBox=t.styledMode||h,d.deferredAttr={},d.alignFactor=0,d}return r(u,e),u.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},u.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},u.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},u.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},u.prototype.css=function(e){if(e){var r={};e=a(e),u.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(r[t]=e[t],delete e[t])})),this.text.css(r);var n="width"in r;"fontSize"in r||"fontWeight"in r?this.updateTextPadding():n&&this.updateBoxSize()}return t.prototype.css.call(this,e)},u.prototype.destroy=function(){c(this.element,"mouseenter"),c(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},u.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},u.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},u.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},u.prototype.heightSetter=function(t){this.heightSetting=t},u.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:n(t)?t:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},u.prototype.paddingSetter=function(t,e){o(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},u.prototype.rSetter=function(t,e){this.boxAttr(e,t)},u.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},u.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},u.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},u.prototype["text-alignSetter"]=function(t){this.textAlign=t},u.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},u.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},r=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?u.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*r,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=r+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((r=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),r.add(this)),r=this.getCrispAdjust(),e.x=r,e.y=(this.baseline?-this.baselineOffset:0)+r,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(i(e,this.deferredAttr)),this.deferredAttr={})},u.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,r=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),r===t.x&&e===t.y||(t.attr("x",r),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=r,t.y=e},u.prototype.widthSetter=function(t){this.widthSetting=o(t)?t:void 0},u.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},u.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},u.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},u.emptyBBox={width:0,height:0,x:0,y:0},u.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),u}(t)})),e(r,"Core/Renderer/SVG/Symbols.js",[r["Core/Utilities.js"]],(function(t){function e(t,e,r,n,o){var s=[];if(o){var c=o.start||0,u=a(o.r,r);r=a(o.r,n||r);var l=(o.end||0)-.001;n=o.innerR;var f=a(o.open,.001>Math.abs((o.end||0)-c-2*Math.PI)),h=Math.cos(c),d=Math.sin(c),p=Math.cos(l),m=Math.sin(l);c=a(o.longArc,.001>l-c-Math.PI?0:1),s.push(["M",t+u*h,e+r*d],["A",u,r,0,c,a(o.clockwise,1),t+u*p,e+r*m]),i(n)&&s.push(f?["M",t+n*p,e+n*m]:["L",t+n*p,e+n*m],["A",n,n,0,c,i(o.clockwise)?1-o.clockwise:0,t+n*h,e+n*d]),f||s.push(["Z"])}return s}function r(t,e,r,i,o){return o&&o.r?n(t,e,r,i,o):[["M",t,e],["L",t+r,e],["L",t+r,e+i],["L",t,e+i],["Z"]]}function n(t,e,r,n,i){return[["M",t+(i=i&&i.r||0),e],["L",t+r-i,e],["C",t+r,e,t+r,e,t+r,e+i],["L",t+r,e+n-i],["C",t+r,e+n,t+r,e+n,t+r-i,e+n],["L",t+i,e+n],["C",t,e+n,t,e+n,t,e+n-i],["L",t,e+i],["C",t,e,t,e,t+i,e]]}var i=t.defined,o=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,r,i,a){var s=Math.min(a&&a.r||0,r,i),c=s+6,u=a&&a.anchorX;a=a&&a.anchorY||0;var l=n(t,e,r,i,{r:s});return o(u)?(t+u>=r?a>e+c&&a<e+i-c?l.splice(3,1,["L",t+r,a-6],["L",t+r+6,a],["L",t+r,a+6],["L",t+r,e+i-s]):l.splice(3,1,["L",t+r,i/2],["L",u,a],["L",t+r,i/2],["L",t+r,e+i-s]):0>=t+u?a>e+c&&a<e+i-c?l.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):l.splice(7,1,["L",t,i/2],["L",u,a],["L",t,i/2],["L",t,e+s]):a&&a>i&&u>t+c&&u<t+r-c?l.splice(5,1,["L",u+6,e+i],["L",u,e+i+6],["L",u-6,e+i],["L",t+s,e+i]):a&&0>a&&u>t+c&&u<t+r-c&&l.splice(1,1,["L",u-6,e],["L",u,e-6],["L",u+6,e],["L",r-s,e]),l):l},circle:function(t,r,n,i){return e(t+n/2,r+i/2,n/2,i/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n/2],["L",t+r/2,e+n],["L",t,e+n/2],["Z"]]},rect:r,roundedRect:n,square:r,triangle:function(t,e,r,n){return[["M",t+r/2,e],["L",t+r,e+n],["L",t,e+n],["Z"]]},"triangle-down":function(t,e,r,n){return[["M",t,e],["L",t+r,e],["L",t+r/2,e+n],["Z"]]}}})),e(r,"Core/Renderer/SVG/TextBuilder.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.doc,i=e.SVG_NS,o=e.win,a=r.attr,s=r.isString,c=r.objectEach,u=r.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,r=e.element,i=e.renderer,o=u(e.textStr,"").toString(),a=-1!==o.indexOf("<"),c=r.childNodes;i=this.width&&!e.added&&i.box;var l=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(l!==e.textCache){for(e.textCache=l,delete e.actualWidth,l=c.length;l--;)r.removeChild(c[l]);a||this.ellipsis||this.width||-1!==o.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(o))?""!==o&&(i&&i.appendChild(r),o=new t(o),this.modifyTree(o.nodes),o.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(r.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),i&&i.removeChild(r)):r.appendChild(n.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,r=this.svgElement,s=a(r.element,"x");for(r.firstLineMetrics=void 0;(t=r.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)r.element.removeChild(t);[].forEach.call(r.element.querySelectorAll("tspan.highcharts-br"),(function(t,n){t.nextSibling&&t.previousSibling&&(0===n&&1===t.previousSibling.nodeType&&(r.firstLineMetrics=r.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var c=this.width||0;if(c){var u=function(t,o){var u=t.textContent||"",l=u.replace(/([^\^])-/g,"$1- ").split(" "),f=!e.noWrap&&(1<l.length||1<r.element.childNodes.length),h=e.getLineHeight(o),d=0,p=r.actualWidth;if(e.ellipsis)u&&e.truncate(t,u,void 0,0,Math.max(0,c-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"\u2026"}));else if(f){for(u=[],f=[];o.firstChild&&o.firstChild!==t;)f.push(o.firstChild),o.removeChild(o.firstChild);for(;l.length;)l.length&&!e.noWrap&&0<d&&(u.push(t.textContent||""),t.textContent=l.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,l,0===d&&p||0,c,(function(t,e){return l.slice(0,e).join(" ").replace(/- /g,"-")})),p=r.actualWidth,d++;f.forEach((function(e){o.insertBefore(e,t)})),u.forEach((function(e){o.insertBefore(n.createTextNode(e),t),(e=n.createElementNS(i,"tspan")).textContent="\u200b",a(e,{dy:h,x:s}),o.insertBefore(e,t)}))}};!function t(e){[].slice.call(e.childNodes).forEach((function(n){n.nodeType===o.Node.TEXT_NODE?u(n,e):(-1!==n.className.baseVal.indexOf("highcharts-br")&&(r.actualWidth=0),t(n))}))}(r.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===o.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this;t.forEach((function r(n,i){var o=n.attributes;o=void 0===o?{}:o;var a=n.children,c=n.tagName,u=e.renderer.styledMode;"b"===c||"strong"===c?u?o.class="highcharts-strong":o.style="font-weight:bold;"+(o.style||""):"i"!==c&&"em"!==c||(u?o.class="highcharts-emphasized":o.style="font-style:italic;"+(o.style||"")),s(o.style)&&(o.style=o.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===c?(o.class="highcharts-br",n.textContent="\u200b",(i=t[i+1])&&i.textContent&&(i.textContent=i.textContent.replace(/^ +/gm,""))):"a"===c&&a&&a.some((function(t){return"#text"===t.tagName}))&&(n.children=[{children:a,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(n.tagName="tspan"),n.attributes=o,a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(r)}))},e.prototype.truncate=function(t,e,r,n,i,o){var a,s=this.svgElement,c=s.renderer,u=s.rotation,l=[],f=r?1:0,h=(e||r||"").length,d=h,p=function(i,a){a=a||i;var u=t.parentNode;if(u&&"undefined"===typeof l[a])if(u.getSubStringLength)try{l[a]=n+u.getSubStringLength(0,r?a+1:a)}catch(f){}else c.getSpanWidth&&(t.textContent=o(e||r,i),l[a]=n+c.getSpanWidth(s,t));return l[a]};s.rotation=0;var m=p(t.textContent.length);if(n+m>i){for(;f<=h;)d=Math.ceil((f+h)/2),r&&(a=o(r,d)),m=p(d,a&&a.length-1),f===h?f=h+1:m>i?h=d-1:f=d;0===h?t.textContent="":e&&h===e.length-1||(t.textContent=a||o(e||r,d))}r&&r.splice(0,d),s.actualWidth=m,s.rotation=u},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(r,n){e&&-1!==e.indexOf(r)||(t=t.toString().replace(new RegExp(r,"g"),n))})),t},e}()})),e(r,"Core/Renderer/SVG/SVGRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGLabel.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Renderer/SVG/TextBuilder.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u,l=r.charts,f=r.deg2rad,h=r.doc,d=r.isFirefox,p=r.isMS,m=r.isWebKit,b=r.noop,v=r.SVG_NS,g=r.symbolSizes,y=r.win,w=c.addEvent,x=c.attr,O=c.createElement,_=c.css,S=c.defined,k=c.destroyObjectProperties,E=c.extend,M=c.isArray,C=c.isNumber,j=c.isObject,A=c.isString,T=c.merge,P=c.pick,D=c.pInt,R=c.uniqueKey;return r=function(){function r(t,e,r,n,i,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,r,n,i,o,a)}return r.prototype.init=function(t,e,r,n,i,o,a){var s,c=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),u=c.element;a||c.css(this.getStyle(n)),t.appendChild(u),x(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&x(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=c,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(h.createTextNode("Created with Highcharts 9.3.2")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,r,!1),d&&t.getBoundingClientRect&&((e=function(){_(t,{left:0,top:0}),s=t.getBoundingClientRect(),_(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=w(y,"resize",e))},r.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},r.prototype.getReferenceURL=function(){if((d||m)&&h.getElementsByTagName("base").length){if(!S(u)){var e=R();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+e+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(h.body),_(e,{position:"fixed",top:0,left:0,zIndex:9e5});var r=h.elementFromPoint(6,6);u="hitme"===(r&&r.id),h.body.removeChild(e)}if(u)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},r.prototype.getStyle=function(t){return this.style=E({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},r.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},r.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},r.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},r.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},r.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},r.prototype.buildText=function(t){new s(t).buildSVG()},r.prototype.getContrast=function(t){return(t=e.parse(t).rgba)[0]*=1,t[1]*=1.2,t[2]*=.5,459<t[0]+t[1]+t[2]?"#000000":"#FFFFFF"},r.prototype.button=function(e,r,n,i,o,a,s,c,u,l){var f=this.label(e,r,n,u,void 0,void 0,l,void 0,"button"),h=this.styledMode,d=0,m=o?T(o):{};if(e=m&&m.style||{},m=t.filterUserAttributes(m),f.attr(T({padding:8,r:2},m)),!h){var b=(m=T({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:e},m)).style;delete m.style;var v=(a=T(m,{fill:"#e6e6e6"},t.filterUserAttributes(a||{}))).style;delete a.style;var g=(s=T(m,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||{}))).style;delete s.style;var y=(c=T(m,{style:{color:"#cccccc"}},t.filterUserAttributes(c||{}))).style;delete c.style}return w(f.element,p?"mouseover":"mouseenter",(function(){3!==d&&f.setState(1)})),w(f.element,p?"mouseout":"mouseleave",(function(){3!==d&&f.setState(d)})),f.setState=function(t){1!==t&&(f.state=d=t),f.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),h||f.attr([m,a,s,c][t||0]).css([b,v,g,y][t||0])},h||f.attr(m).css(E({cursor:"default"},b)),f.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==d&&i.call(f,t)}))},r.prototype.crispLine=function(t,e,r){void 0===r&&(r="round");var n=t[0],i=t[1];return S(n[1])&&n[1]===i[1]&&(n[1]=i[1]=Math[r](n[1])-e%2/2),S(n[2])&&n[2]===i[2]&&(n[2]=i[2]=Math[r](n[2])+e%2/2),t},r.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return M(t)?e.d=t:j(t)&&E(e,t),this.createElement("path").attr(e)},r.prototype.circle=function(t,e,r){return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:r},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,r){r.setAttribute("c"+e,t)},e.attr(t)},r.prototype.arc=function(t,e,r,n,i,o){return j(t)?(e=(n=t).y,r=n.r,t=n.x):n={innerR:n,start:i,end:o},(t=this.symbol("arc",t,e,r,r,n)).r=r,t},r.prototype.rect=function(t,e,r,n,i,o){i=j(t)?t.r:i;var a=this.createElement("rect");return t=j(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(r,0),height:Math.max(n,0)},this.styledMode||("undefined"!==typeof o&&(t["stroke-width"]=o,t=a.crisp(t)),t.fill="none"),i&&(t.r=i),a.rSetter=function(t,e,r){a.r=t,x(r,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},r.prototype.setSize=function(t,e,r){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:P(r,!0)?void 0:0}),this.alignElements()},r.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},r.prototype.image=function(t,e,r,n,i,o){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};C(e)&&(a.x=e),C(r)&&(a.y=r),C(n)&&(a.width=n),C(i)&&(a.height=i);var c=this.createElement("image").attr(a);return e=function(e){s(c.element,t),o.call(c,e)},o?(s(c.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r=new y.Image,w(r,"load",e),r.src=t,r.complete&&e({})):s(c.element,t),c},r.prototype.symbol=function(t,e,r,n,i,o){var a,s=this,c=/^url\((.*?)\)$/,u=c.test(t),f=!u&&(this.symbols[t]?t:"circle"),d=f&&this.symbols[f];if(d){"number"===typeof e&&(a=d.call(this.symbols,Math.round(e||0),Math.round(r||0),n||0,i||0,o));var p=this.path(a);s.styledMode||p.attr("fill","none"),E(p,{symbolName:f||void 0,x:e,y:r,width:n,height:i}),o&&E(p,o)}else if(u){var m=t.match(c)[1],b=p=this.image(m);b.imgwidth=P(g[m]&&g[m].width,o&&o.width),b.imgheight=P(g[m]&&g[m].height,o&&o.height);var v=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){b[t+"Setter"]=function(t,e){var r=this["img"+e];this[e]=t,S(r)&&(o&&"within"===o.backgroundSize&&this.width&&this.height&&(r=Math.round(r*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,r),this.alignByTranslate||(t=((this[e]||0)-r)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),S(e)&&b.attr({x:e,y:r}),b.isImg=!0,S(b.imgwidth)&&S(b.imgheight)?v(b):(b.attr({width:0,height:0}),O("img",{onload:function(){var t=l[s.chartIndex];0===this.width&&(_(this,{position:"absolute",top:"-999em"}),h.body.appendChild(this)),g[m]={width:this.width,height:this.height},b.imgwidth=this.width,b.imgheight=this.height,b.element&&v(b),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:m}),this.imgCount++)}return p},r.prototype.clipRect=function(t,e,r,n){var i=R()+"-",o=this.createElement("clipPath").attr({id:i}).add(this.defs);return(t=this.rect(t,e,r,n,0).add(o)).id=i,t.clipPath=o,t.count=0,t},r.prototype.text=function(t,e,r,n){var i={};return!n||!this.allowHTML&&this.forExport?(i.x=Math.round(e||0),r&&(i.y=Math.round(r)),S(t)&&(i.text=t),t=this.createElement("text").attr(i),(!n||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,r){for(var n,i=r.getElementsByTagName("tspan"),o=r.getAttribute(e),a=0;a<i.length;a++)(n=i[a]).getAttribute(e)===o&&n.setAttribute(e,t);r.setAttribute(e,t)}),t):this.html(t,e,r)},r.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&i.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?D(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},r.prototype.rotCorr=function(t,e,r){var n=t;return e&&r&&(n=Math.max(n*Math.cos(e*f),4)),{x:-t/3*Math.sin(e*f),y:n}},r.prototype.pathToSegments=function(t){for(var e=[],r=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i<t.length;i++)A(r[0])&&C(t[i])&&r.length===n[r[0].toUpperCase()]&&t.splice(i,0,r[0].replace("M","L").replace("m","l")),"string"===typeof t[i]&&(r.length&&e.push(r.slice(0)),r.length=0),r.push(t[i]);return e.push(r.slice(0)),e},r.prototype.label=function(t,e,r,n,i,a,s,c,u){return new o(this,t,e,r,n,i,a,s,c,u)},r.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},r}(),E(r.prototype,{Element:i,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:b}),n.registerRendererType("svg",r,!0),r})),e(r,"Core/Renderer/HTML/HTMLElement.js",[r["Core/Globals.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.isFirefox,o=t.isMS,a=t.isWebKit,s=t.win,c=r.css,u=r.defined,l=r.extend,f=r.pick,h=r.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var r=e.prototype,n=t.prototype;n.getSpanCorrection=r.getSpanCorrection,n.htmlCss=r.htmlCss,n.htmlGetBBox=r.htmlGetBBox,n.htmlUpdateTransform=r.htmlUpdateTransform,n.setSpanRotation=r.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,r){this.xCorr=-t*r,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,r=f(e&&t.width,void 0);if(e){delete t.width,this.textWidth=r;var n=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=l(this.styles,t),c(this.element,t),n&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,r=this.translateX||0,n=this.translateY||0,i=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],l=this.styles;if(l=l&&l.whiteSpace,c(e,{marginLeft:r,marginTop:n}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){c(t,{marginLeft:r+1,marginTop:n+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(r){t.invertChild(r,e)})),"SPAN"===e.tagName){var f=this.rotation,d=this.textWidth&&h(this.textWidth),p=[f,a,e.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,d!==this.oldTextWidth){if(this.textPxLength)var b=this.textPxLength;else c(e,{width:"",whiteSpace:l||"nowrap"}),b=e.offsetWidth;(d>this.oldTextWidth||b>d)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(c(e,{width:b>d||f?d+"px":"auto",display:"block",whiteSpace:l||"normal"}),this.oldTextWidth=d,m=!0)}this.hasBoxWidthChanged=m,p!==this.cTT&&(m=t.fontMetrics(e.style.fontSize,e).b,!u(f)||f===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(f,s,m),this.getSpanCorrection(!u(f)&&this.textPxLength||e.offsetWidth,m,s,f,a)),c(e,{left:i+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=p,this.oldRotation=f,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,r){var n={},u=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":i?"MozTransform":s.opera?"-o-transform":void 0;u&&(n[u]=n.transform="rotate("+t+"deg)",n[u+(i?"Origin":"-origin")]=n.transformOrigin=100*e+"% "+r+"px",c(this.element,n))},e.composedClasses=[],e}(e)})),e(r,"Core/Renderer/HTML/HTMLRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.attr,a=n.createElement,s=n.extend,c=n.pick;return function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return i(n,r),n.compose=function(t){return-1===n.composedClasses.indexOf(t)&&(n.composedClasses.push(t),t.prototype.html=n.prototype.html),t},n.prototype.html=function(r,n,i){var u=this.createElement("span"),l=u.element,f=u.renderer,h=f.isSVG,d=function(t,r){["opacity","visibility"].forEach((function(n){t[n+"Setter"]=function(i,o,a){var s=t.div?t.div.style:r;e.prototype[n+"Setter"].call(this,i,o,a),s&&(s[o]=i)}})),t.addedSetters=!0};return u.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,c(e,"")),this.textStr=e,u.doTransform=!0)},h&&d(u,u.element.style),u.xSetter=u.ySetter=u.alignSetter=u.rotationSetter=function(t,e){"align"===e?u.alignValue=u.textAlign=t:u[e]=t,u.doTransform=!0},u.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},u.attr({text:r,x:Math.round(n),y:Math.round(i)}).css({position:"absolute"}),f.styledMode||u.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),l.style.whiteSpace="nowrap",u.css=u.htmlCss,h&&(u.add=function(t){var e=f.box.parentNode,r=[];if(this.parentGroup=t){var n=t.div;if(!n){for(;t;)r.push(t),t=t.parentGroup;r.reverse().forEach((function(t){function i(e,r){t[r]=e,"translateX"===r?f.left=e+"px":f.top=e+"px",t.doTransform=!0}var c=o(t.element,"class"),l=t.styles||{},f=(n=t.div=t.div||a("div",c?{className:c}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:l.cursor,pointerEvents:l.pointerEvents,visibility:t.visibility},n||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(n),on:function(){return r[0].div&&u.on.apply({element:r[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:i,translateYSetter:i}),t.addedSetters||d(t)}))}}else n=e;return n.appendChild(l),u.added=!0,u.alignOnAdd&&u.htmlUpdateTransform(),u}),u},n.composedClasses=[],n}(r)})),e(r,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(r,"Core/Foundation.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.isFunction,i=t.objectEach,o=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},i(e.events,(function(e,i){t.eventOptions[i]!==e&&(t.eventOptions[i]&&(o(t,i,t.eventOptions[i]),delete t.eventOptions[i]),n(e)&&(t.eventOptions[i]=e,r(t,i,e)))}))}}(e||(e={})),e})),e(r,"Core/Axis/Tick.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=e.deg2rad,i=r.clamp,o=r.correctFloat,a=r.defined,s=r.destroyObjectProperties,c=r.extend,u=r.fireEvent,l=r.isNumber,f=r.merge,h=r.objectEach,d=r.pick;return e=function(){function e(t,e,r,n,i){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=r||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,u(this,"init"),r||n||this.addLabel()}return e.prototype.addLabel=function(){var e=this,r=e.axis,n=r.options,i=r.chart,s=r.categories,f=r.logarithmic,h=r.names,p=e.pos,m=d(e.options&&e.options.labels,n.labels),b=r.tickPositions,v=p===b[0],g=p===b[b.length-1],y=(!m.step||1===m.step)&&1===r.tickInterval;b=b.info;var w,x=e.label;if(s=this.parameters.category||(s?d(s[p],h[p],p):p),f&&l(s)&&(s=o(f.lin2log(s))),r.dateTime)if(b)var O=i.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&b.higherRanks[p]||b.unitName]),_=O.main;else l(s)&&(_=r.dateTime.getXDateFormat(s,n.dateTimeLabelFormats||{}));e.isFirst=v,e.isLast=g;var S={axis:r,chart:i,dateTimeLabelFormat:_,isFirst:v,isLast:g,pos:p,tick:e,tickPositionInfo:b,value:s};u(this,"labelFormat",S);var k=function(e){return m.formatter?m.formatter.call(e,e):m.format?(e.text=r.defaultLabelFormatter.call(e),t.format(m.format,e,i)):r.defaultLabelFormatter.call(e,e)};n=k.call(S,S);var E=O&&O.list;e.shortenLabel=E?function(){for(w=0;w<E.length;w++)if(c(S,{dateTimeLabelFormat:E[w]}),x.attr({text:k.call(S,S)}),x.getBBox().width<r.getSlotWidth(e)-2*m.padding)return;x.attr({text:""})}:void 0,y&&r._addedPlotLB&&e.moveLabel(n,m),a(x)||e.movedLabel?x&&x.textStr!==n&&!y&&(!x.textWidth||m.style.width||x.styles.width||x.css({width:null}),x.attr({text:n}),x.textPxLength=x.getBBox().width):(e.label=x=e.createLabel({x:0,y:0},n,m),e.rotation=0)},e.prototype.createLabel=function(t,e,r){var n=this.axis,i=n.chart;return(t=a(e)&&r.enabled?i.renderer.text(e,t.x,t.y,r.useHTML).add(n.labelGroup):null)&&(i.styledMode||t.css(f(r.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,r,n){var a=this.axis,s=a.chart,c=n&&s.oldChartHeight||s.chartHeight;return(t={x:t?o(a.translate(e+r,null,null,n)+a.transB):a.left+a.offset+(a.opposite?(n&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?c-a.bottom+a.offset-(a.opposite?a.height:0):o(c-a.translate(e+r,null,null,n)-a.transB)}).y=i(t.y,-1e5,1e5),u(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,r,i,o,s,c,l){var f=this.axis,h=f.transA,d=f.isLinked&&f.linkedParent?f.linkedParent.reversed:f.reversed,p=f.staggerLines,m=f.tickRotCorr||{x:0,y:0},b=i||f.reserveSpaceDefault?0:-f.labelOffset*("center"===f.labelAlign?.5:1),v={},g=o.y;return a(g)||(g=0===f.side?r.rotation?-8:-r.getBBox().height:2===f.side?m.y+8:Math.cos(r.rotation*n)*(m.y-r.getBBox(!1,0).height/2)),t=t+o.x+b+m.x-(s&&i?s*h*(d?-1:1):0),e=e+g-(s&&!i?s*h*(d?1:-1):0),p&&(r=c/(l||1)%p,f.opposite&&(r=p-r-1),e+=f.labelOffset/p*r),v.x=t,v.y=Math.round(e),u(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:c}),v},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,r,n,i,o){return o.crispLine([["M",t,e],["L",t+(i?0:-r),e+(i?r:0)]],n)},e.prototype.handleOverflow=function(t){var e=this.axis,r=e.options.labels,i=t.x,o=e.chart.chartWidth,a=e.chart.spacing,s=d(e.labelLeft,Math.min(e.pos,a[3]));a=d(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,o-a[1]));var c,u=this.label,l=this.rotation,f={left:0,center:.5,right:1}[e.labelAlign||u.attr("align")],h=u.getBBox().width,p=e.getSlotWidth(this),m={},b=p,v=1;l||"justify"!==r.overflow?0>l&&i-f*h<s?c=Math.round(i/Math.cos(l*n)-s):0<l&&i+f*h>a&&(c=Math.round((o-i)/Math.cos(l*n))):(o=i+(1-f)*h,i-f*h<s?b=t.x+b*(1-f)-s:o>a&&(b=a-t.x+b*f,v=-1),(b=Math.min(p,b))<p&&"center"===e.labelAlign&&(t.x+=v*(p-b-f*(p-Math.min(h,b)))),(h>b||e.autoRotation&&(u.styles||{}).width)&&(c=b)),c&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(c)+"px",(r.style||{}).textOverflow||(m.textOverflow="ellipsis"),u.css(m)))},e.prototype.moveLabel=function(t,e){var r=this,n=r.label,i=r.axis,o=i.reversed,a=!1;if(n&&n.textStr===t?(r.movedLabel=n,a=!0,delete r.label):h(i.ticks,(function(e){a||e.isNew||e===r||!e.label||e.label.textStr!==t||(r.movedLabel=e.label,a=!0,e.labelPos=r.movedLabel.xy,delete e.label)})),!a&&(r.labelPos||n)){var s=r.labelPos||n.xy;n=i.horiz?o?0:i.width+i.left:s.x,i=i.horiz?s.y:o?i.width+i.left:0,r.movedLabel=r.createLabel({x:n,y:i},t,e),r.movedLabel&&r.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,r){var n=this.axis,i=n.horiz,o=this.pos,a=d(this.tickmarkOffset,n.tickmarkOffset);a=(o=this.getPosition(i,o,a,e)).x;var s=o.y;n=i&&a===n.pos+n.len||!i&&s===n.pos?-1:1,i=d(r,this.label&&this.label.newOpacity,1),r=d(r,1),this.isActive=!0,this.renderGridLine(e,r,n),this.renderMark(o,r,n),this.renderLabel(o,e,i,t),this.isNew=!1,u(this,"afterRender")},e.prototype.renderGridLine=function(t,e,r){var n=this.axis,i=n.options,o={},a=this.pos,s=this.type,c=d(this.tickmarkOffset,n.tickmarkOffset),u=n.chart.renderer,l=this.gridLine,f=i.gridLineWidth,h=i.gridLineColor,p=i.gridLineDashStyle;"minor"===this.type&&(f=i.minorGridLineWidth,h=i.minorGridLineColor,p=i.minorGridLineDashStyle),l||(n.chart.styledMode||(o.stroke=h,o["stroke-width"]=f||0,o.dashstyle=p),s||(o.zIndex=1),t&&(e=0),this.gridLine=l=u.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(n.gridGroup)),l&&(r=n.getPlotLinePath({value:a+c,lineWidth:l.strokeWidth()*r,force:"pass",old:t}))&&l[t||this.isNew?"attr":"animate"]({d:r,opacity:e})},e.prototype.renderMark=function(t,e,r){var n=this.axis,i=n.options,o=n.chart.renderer,a=this.type,s=n.tickSize(a?a+"Tick":"tick"),c=t.x;t=t.y;var u=d(i["minor"!==a?"tickWidth":"minorTickWidth"],!a&&n.isXAxis?1:0);i=i["minor"!==a?"tickColor":"minorTickColor"];var l=this.mark,f=!l;s&&(n.opposite&&(s[0]=-s[0]),l||(this.mark=l=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||l.attr({stroke:i,"stroke-width":u})),l[f?"attr":"animate"]({d:this.getMarkPath(c,t,s[0],l.strokeWidth()*r,n.horiz,o),opacity:e}))},e.prototype.renderLabel=function(t,e,r,n){var i=this.axis,o=i.horiz,a=i.options,s=this.label,c=a.labels,u=c.step;i=d(this.tickmarkOffset,i.tickmarkOffset);var f=t.x;t=t.y;var h=!0;s&&l(f)&&(s.xy=t=this.getLabelPosition(f,t,s,o,c,i,n,u),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?h=!1:!o||c.step||c.rotation||e||0===r||this.handleOverflow(t),u&&n%u&&(h=!1),h&&l(t.y)?(t.opacity=r,s[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,r=e.reversed;if(t&&!this.isNew){var n=e.horiz?r?e.left:e.width+e.left:t.xy.x;r=e.horiz?t.xy.y:r?e.width+e.top:e.top,t.animate({x:n,y:r,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}()})),e(r,"Core/Axis/Axis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/AxisDefaults.js"],r["Core/Color/Color.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Axis/Tick.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s){var c=t.animObject,u=n.defaultOptions,l=i.registerEventOptions,f=o.deg2rad,h=s.arrayMax,d=s.arrayMin,p=s.clamp,m=s.correctFloat,b=s.defined,v=s.destroyObjectProperties,g=s.erase,y=s.error,w=s.extend,x=s.fireEvent,O=s.getMagnitude,_=s.isArray,S=s.isNumber,k=s.isString,E=s.merge,M=s.normalizeTickInterval,C=s.objectEach,j=s.pick,A=s.relativeLength,T=s.removeEvent,P=s.splat,D=s.syncTimeout;return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var r=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!r:r,this.isXAxis=r,this.coll=this.coll||(r?"xAxis":"yAxis"),x(this,"init",{userOptions:e}),this.opposite=j(e.opposite,this.opposite),this.side=j(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var n=this.options,i=n.labels,o=n.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=j(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===o||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=b(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,e=j(n.crosshair,P(t.options.tooltip.crosshairs)[r?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(r?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&r&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=S(i.rotation)?i.rotation:void 0,l(this,n),x(this,"afterInit")},t.prototype.setOptions=function(t){this.options=E(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],E(u[this.coll],t)),x(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var r=S(this.value)?this.value:NaN,n=e.chart.time,i=this.dateTimeLabelFormat,o=u.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(r):e.tickInterval,c=a&&a.length;if(e.categories)var l=""+this.value;else if(i)l=n.dateFormat(i,r);else if(c&&1e3<=s)for(;c--&&"undefined"===typeof l;)s>=(e=Math.pow(o,c+1))&&0===10*r%e&&null!==a[c]&&0!==r&&(l=t(r/e,-1)+a[c]);return"undefined"===typeof l&&(l=1e4<=Math.abs(r)?t(r,-1):t(r,-1,void 0,"")),l},t.prototype.getSeriesExtremes=function(){var t,e=this,r=e.chart;x(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(n){if(n.visible||!r.options.chart.ignoreHiddenSeries){var i=n.options,o=i.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=o&&(o=null),e.isXAxis){if((i=n.xData).length){i=e.logarithmic?i.filter(e.validatePositiveValue):i;var a=(t=n.getXExtremes(i)).min,s=t.max;S(a)||a instanceof Date||(i=i.filter(S),a=(t=n.getXExtremes(i)).min,s=t.max),i.length&&(e.dataMin=Math.min(j(e.dataMin,a),a),e.dataMax=Math.max(j(e.dataMax,s),s))}}else n=n.applyExtremes(),S(n.dataMin)&&(a=n.dataMin,e.dataMin=Math.min(j(e.dataMin,a),a)),S(n.dataMax)&&(s=n.dataMax,e.dataMax=Math.max(j(e.dataMax,s),s)),b(o)&&(e.threshold=o),(!i.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),x(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,r,n,i,o){var a=this.linkedParent||this,s=n&&a.old?a.old.min:a.min,c=a.minPixelPadding;i=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&i)&&a.lin2val;var u=1,l=0;return(n=n&&a.old?a.old.transA:a.transA)||(n=a.transA),r&&(u*=-1,l=a.len),a.reversed&&(l-=(u*=-1)*(a.sector||a.len)),e?(t=(t*u+l-c)/n+s,i&&(t=a.lin2val(t))):(i&&(t=a.val2lin(t)),t=S(s)?u*(t-s)*n+l+u*c+(S(o)?n*o:0):void 0),t},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,r){return("pass"!==y&&t<e||t>r)&&(y?t=p(t,e,r):a=!0),t}var r,n,i,o,a,s=this,c=s.chart,u=s.left,l=s.top,f=t.old,h=t.value,d=t.lineWidth,m=f&&c.oldChartHeight||c.chartHeight,b=f&&c.oldChartWidth||c.chartWidth,v=s.transB,g=t.translatedValue,y=t.force;return t={value:h,lineWidth:d,old:f,force:y,acrossPanes:t.acrossPanes,translatedValue:g},x(this,"getPlotLinePath",t,(function(t){g=j(g,s.translate(h,null,null,f)),g=p(g,-1e5,1e5),r=i=Math.round(g+v),n=o=Math.round(m-g-v),S(g)?s.horiz?(n=l,o=m-s.bottom,r=i=e(r,u,u+s.width)):(r=u,i=b-s.right,n=o=e(n,l,l+s.height)):(a=!0,y=!1),t.path=a&&!y?null:c.renderer.crispLine([["M",r,n],["L",i,o]],d||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,r){var n=m(Math.floor(e/t)*t);r=m(Math.ceil(r/t)*t);var i,o=[];if(m(n+t)===n&&(i=20),this.single)return[e];for(e=n;e<=r&&(o.push(e),(e=m(e+t,i))!==a);)var a=e;return o},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?j(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,r=this.minorTickInterval,n=this.pointRangePadding||0,i=this.min-n,o=(n=this.max+n)-i,a=[];if(o&&o/r<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,n){e&&a.push.apply(a,s.getLogTickPositions(r,n[e-1],n[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(r),i,n,t.startOfWeek));else for(t=i+(e[0]-i)%r;t<=n&&t!==a[0];t+=r)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,r,n,i=this.options,o=this.logarithmic,a=this.min,s=this.max,c=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!o&&(b(i.min)||b(i.max)||b(i.floor)||b(i.ceiling)?this.minRange=null:(this.series.forEach((function(i){if(r=i.xData,n=i.xIncrement?1:r.length-1,1<r.length)for(t=n;0<t;t--)e=r[t]-r[t-1],(!c||e<c)&&(c=e)})),this.minRange=Math.min(5*c,this.dataMax-this.dataMin))),s-a<this.minRange){var u=this.dataMax-this.dataMin>=this.minRange,l=this.minRange,f=(l-s+a)/2;f=[a-f,j(i.min,a-f)],u&&(f[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=h(f))+l,j(i.max,a+l)],u&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=d(s))-a<l&&(f[0]=s-l,f[1]=j(i.min,s-l),a=h(f))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var r=e.closestPointRange,n=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&b(r)&&n&&(t=b(t)?Math.min(t,r):r)})),t},t.prototype.nameToX=function(t){var e=_(this.categories),r=e?this.categories:this.names,n=t.options.x;if(t.series.requireSorting=!1,b(n)||(n=this.options.uniqueNames?e?r.indexOf(t.name):j(r.keys[t.name],-1):t.series.autoIncrement()),-1===n){if(!e)var i=r.length}else i=n;return"undefined"!==typeof i&&(this.names[i]=t.name,this.names.keys[t.name]=i),i},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(r,n){if(r&&r.options&&"undefined"!==typeof r.name){var i=t.nameToX(r);"undefined"!==typeof i&&i!==r.x&&(r.x=i,e.xData[n]=i)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,r=t.linkedParent,n=!!t.categories,i=t.isXAxis,o=t.axisPointRange||0,a=0,s=0,c=t.transA;if(i||n||o){var u=t.getClosest();r?(a=r.minPointOffset,s=r.pointRangePadding):t.series.forEach((function(e){var r=n?1:i?j(e.options.pointRange,u,0):t.axisPointRange||0,c=e.options.pointPlacement;o=Math.max(o,r),t.single&&!n||(e=e.is("xrange")?!i:i,a=Math.max(a,e&&k(c)?0:r/2),s=Math.max(s,e&&"on"===c?0:r))})),r=t.ordinal&&t.ordinal.slope&&u?t.ordinal.slope/u:1,t.minPointOffset=a*=r,t.pointRangePadding=s*=r,t.pointRange=Math.min(o,t.single&&n?1:e),i&&(t.closestPointRange=u)}t.translationSlope=t.transA=c=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=c*a,x(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,r=this.logarithmic,n=this.options,i=this.isXAxis,o=this.isLinked,a=n.tickPixelInterval,s=this.categories,c=this.softThreshold,u=n.maxPadding,l=n.minPadding,f=S(n.tickInterval)&&0<=n.tickInterval?n.tickInterval:void 0,h=S(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var d=j(this.userMin,n.min),p=j(this.userMax,n.max);if(o){this.linkedParent=e[this.coll][n.linkedTo];var v=this.linkedParent.getExtremes();this.min=j(v.min,v.dataMin),this.max=j(v.max,v.dataMax),n.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(c&&b(h))if(this.dataMin>=h)v=h,l=0;else if(this.dataMax<=h){var g=h;u=0}this.min=j(d,v,this.dataMin),this.max=j(p,g,this.dataMax)}if(r&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,j(this.dataMin,this.min))&&y(10,1,e),this.min=m(r.log2lin(this.min),16),this.max=m(r.log2lin(this.max),16)),this.range&&b(this.max)&&(this.userMin=this.min=d=Math.max(this.dataMin,this.minFromRange()),this.userMax=p=this.max,this.range=null),x(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&b(this.min)&&b(this.max)&&(e=this.max-this.min)&&(!b(d)&&l&&(this.min-=e*l),!b(p)&&u&&(this.max+=e*u)),S(this.userMin)||(S(n.softMin)&&n.softMin<this.min&&(this.min=d=n.softMin),S(n.floor)&&(this.min=Math.max(this.min,n.floor))),S(this.userMax)||(S(n.softMax)&&n.softMax>this.max&&(this.max=p=n.softMax),S(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),c&&b(this.dataMin)&&(h=h||0,!b(d)&&this.min<h&&this.dataMin>=h?this.min=this.options.minRange?Math.min(h,this.max-this.minRange):h:!b(p)&&this.max>h&&this.dataMax<=h&&(this.max=this.options.minRange?Math.max(h,this.min+this.minRange):h)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(b(this.options.min)?this.max=this.min:b(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:o&&this.linkedParent&&!f&&a===this.linkedParent.options.tickPixelInterval?f=this.linkedParent.tickInterval:j(f,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),i&&!t){var w=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(w)})),x(this,"postProcessData",{hasExtemesChanged:w})}this.setAxisTranslation(),x(this,"initialAxisTranslation"),this.pointRange&&!f&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=j(n.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!f&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||f||(this.tickInterval=M(this.tickInterval,void 0,O(this.tickInterval),j(n.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,r=this.getMinorTickInterval(),n=this.hasVerticalPanning(),i="colorAxis"===this.coll,o=(i||!n)&&t.startOnTick;n=(i||!n)&&t.endOnTick,i=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&b(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=r=e&&e.slice(),!r&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?r=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(r=[this.min,this.max],y(19,!1,this.chart)),r.length>this.len&&((r=[r[0],r.pop()])[0]===r[1]&&(r.length=1)),this.tickPositions=r,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=r=i),this.paddedTicks=r.slice(0),this.trimTicks(r,o,n),this.isLinked||(this.single&&2>r.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||i||this.adjustTickAmount()),x(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,r){var n=t[0],i=t[t.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(x(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==n)this.min=n;else for(;this.min-o>t[0];)t.shift();if(r)this.max=i;else for(;this.max+o<t[t.length-1];)t.pop();0===t.length&&b(n)&&!this.options.tickPositions&&t.push((i+n)/2)}},t.prototype.alignToOthers=function(){var t,e={},r=this.options;return!1!==this.chart.options.chart.alignTicks&&r.alignTicks&&!1!==r.startOnTick&&!1!==r.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach((function(r){var n=r.options;n=[r.horiz?n.left:n.top,n.width,n.height,n.pane].join(),r.series.length&&(e[n]?t=!0:e[n]=1)})),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,r=t.tickAmount;!b(t.tickInterval)&&!r&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(r=2),!r&&this.alignToOthers()&&(r=Math.ceil(this.len/e)+1),4>r&&(this.finalTickAmt=r,r=5),this.tickAmount=r},t.prototype.adjustTickAmount=function(){var t=this.options,e=this.tickInterval,r=this.tickPositions,n=this.tickAmount,i=this.finalTickAmt,o=r&&r.length,a=j(this.threshold,this.softThreshold?0:null);if(this.hasData()&&S(this.min)&&S(this.max)){if(o<n){for(;r.length<n;)r.length%2||this.min===a?r.push(m(r[r.length-1]+e)):r.unshift(m(r[0]-e));this.transA*=(o-1)/(n-1),this.min=t.startOnTick?r[0]:Math.min(this.min,r[0]),this.max=t.endOnTick?r[r.length-1]:Math.max(this.max,r[r.length-1])}else o>n&&(this.tickInterval*=2,this.setTickPositions());if(b(i)){for(e=t=r.length;e--;)(3===i&&1===e%2||2>=i&&0<e&&e<t-1)&&r.splice(e,1);this.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(r){t=t||r.isDirtyData||r.isDirty,e=e||r.xAxis&&r.xAxis.isDirty||!1})),this.setAxisSize();var r=this.len!==(this.old&&this.old.len);r||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=r||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),x(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,r,n,i){var o=this,a=o.chart;r=j(r,!0),o.series.forEach((function(t){delete t.kdTree})),i=w(i,{min:t,max:e}),x(o,"setExtremes",i,(function(){o.userMin=t,o.userMax=e,o.eventArgs=i,r&&a.redraw(n)}))},t.prototype.zoom=function(t,e){var r=this,n=this.dataMin,i=this.dataMax,o=this.options,a=Math.min(n,j(o.min,n)),s=Math.max(i,j(o.max,i));return x(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,o=t.newMax;e===r.min&&o===r.max||(r.allowZoomOutside||(b(n)&&(e<a&&(e=a),e>s&&(e=s)),b(i)&&(o<a&&(o=a),o>s&&(o=s))),r.displayBtn="undefined"!==typeof e||"undefined"!==typeof o,r.setExtremes(e,o,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,r=e.offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(A(j(e.width,t.plotWidth-r[3]+r[1]),t.plotWidth)),o=this.height=Math.round(A(j(e.height,t.plotHeight-r[0]+r[2]),t.plotHeight)),a=this.top=Math.round(A(j(e.top,t.plotTop+r[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(A(j(e.left,t.plotLeft+r[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-o-a,this.right=t.chartWidth-i-e,this.len=Math.max(n?i:o,0),this.pos=n?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?m(t.lin2log(this.min)):this.min,max:t?m(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,r=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=r:1/0===t?t=e:r>t?t=r:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(j(t,0)-90*this.side+720)%360;return x(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,r=j(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),n=e["tick"===t?"tickLength":"minorTickLength"];if(r&&n){"inside"===e[t+"Position"]&&(n=-n);var i=[n,r]}return x(this,"afterTickSize",t={tickSize:i}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,r=this.options.labels,n=this.horiz,i=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/i),a=r.rotation,s=this.labelMetrics(),c=Math.max(this.max-this.min,0),u=function(t){var e=t/(o||1);return(e=1<e?Math.ceil(e):1)*i>c&&1/0!==t&&1/0!==o&&c&&(e=Math.ceil(c/i)),m(e*i)},l=i,h=Number.MAX_VALUE;if(n){if(!r.staggerLines&&!r.step)if(S(a))var d=[a];else o<r.autoRotationLimit&&(d=r.autoRotation);d&&d.forEach((function(r){if(r===a||r&&-90<=r&&90>=r){var n=(e=u(Math.abs(s.h/Math.sin(f*r))))+Math.abs(r/360);n<h&&(h=n,t=r,l=e)}}))}else r.step||(l=u(s.h));return this.autoRotation=d,this.labelRotation=j(t,S(a)?a:0),l},t.prototype.getSlotWidth=function(t){var e=this.chart,r=this.horiz,n=this.options.labels,i=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(r&&2>n.step)return n.rotation?0:(this.staggerLines||1)*this.len/i;if(!r){if(void 0!==(t=n.style.width))return parseInt(String(t),10);if(o)return o-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,r=this.tickPositions,n=this.ticks,i=this.options.labels,o=i.style,a=this.horiz,s=this.getSlotWidth(),c=Math.max(1,Math.round(s-2*i.padding)),u={},l=this.labelMetrics(),f=o.textOverflow,h=0;if(k(i.rotation)||(u.rotation=i.rotation||0),r.forEach((function(t){(t=n[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>h&&(h=t.label.textPxLength)})),this.maxLabelLength=h,this.autoRotation)h>c&&h>l.h?u.rotation=this.labelRotation:this.labelRotation=0;else if(s){var d=c;if(!f){var p="clip";for(c=r.length;!a&&c--;){var m=r[c];(m=n[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/r.length-(l.h-l.f)&&(m.specificTextOverflow="ellipsis"))}}}u.rotation&&(d=h>.5*t.chartHeight?.33*t.chartHeight:h,f||(p="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(u.align=this.labelAlign),r.forEach((function(t){var e=(t=n[t])&&t.label,r=o.width,i={};e&&(e.attr(u),t.shortenLabel?t.shortenLabel():d&&!r&&"nowrap"!==o.whiteSpace&&(d<e.textPxLength||"SPAN"===e.element.tagName)?(i.width=d+"px",f||(i.textOverflow=e.specificTextOverflow||p),e.css(i)):e.styles&&e.styles.width&&!i.width&&!r&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=u.rotation)}),this),this.tickRotCorr=e.rotCorr(l.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&b(this.min)&&b(this.max)},t.prototype.addTitle=function(t){var e,r=this.chart.renderer,n=this.horiz,i=this.opposite,o=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=o.textAlign)||(e=(n?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=r.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(E(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,r=e.chart,n=e.horiz,i=e.options,o=e.side,a=e.ticks,s=e.tickPositions,c=e.coll,u=e.axisParent,l=r.renderer,f=r.inverted&&!e.isZAxis?[1,0,3,2][o]:o,h=e.hasData(),d=i.title,p=i.labels,m=r.axisOffset;r=r.clipOffset;var v,g=[-1,1,1,-1][o],y=i.className,w=0,O=0,_=0;if(e.showAxis=v=h||i.showEmpty,e.staggerLines=e.horiz&&p.staggerLines||void 0,!e.axisGroup){var S=function(e,r,n){return l.g(e).attr({zIndex:n}).addClass("highcharts-"+c.toLowerCase()+r+" "+(t.isRadial?"highcharts-radial-axis"+r+" ":"")+(y||"")).add(u)};e.gridGroup=S("grid","-grid",i.gridZIndex),e.axisGroup=S("axis","",i.zIndex),e.labelGroup=S("axis-labels","-labels",p.zIndex)}if(h||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===e.labelAlign,j(p.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){_=Math.max(a[t].getLabelSize(),_)})),e.staggerLines&&(_*=e.staggerLines),e.labelOffset=_*(e.opposite?-1:1)):C(a,(function(t,e){t.destroy(),delete a[e]})),d&&d.text&&!1!==d.enabled&&(e.addTitle(v),v&&!1!==d.reserveSpace)){e.titleOffset=w=e.axisTitle.getBBox()[n?"height":"width"];var k=d.offset;O=b(k)?0:j(d.margin,n?5:10)}e.renderLine(),e.offset=g*j(i.offset,m[o]?m[o]+(i.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},d=0===o?-e.labelMetrics().h:2===o?e.tickRotCorr.y:0,h=Math.abs(_)+O,_&&(h=h-d+g*(n?j(p.y,e.tickRotCorr.y+8*g):p.x)),e.axisTitleMargin=j(k,h),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==c&&(n=this.tickSize("tick"),m[o]=Math.max(m[o],(e.axisTitleMargin||0)+w+g*e.offset,h,s&&s.length&&n?n[0]+g*e.offset:0),i=!e.axisLine||i.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),r[f]=Math.max(r[f],i)),x(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,r=this.opposite,n=this.offset,i=this.horiz,o=this.left+(r?this.width:0)+n;return n=e.chartHeight-this.bottom-(r?this.height:0)+n,r&&(t*=-1),e.renderer.crispLine([["M",i?this.left:o,i?n:this.top],["L",i?e.chartWidth-this.right:o,i?n:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,r=this.top,n=this.len,i=this.options.title,o=t?e:r,a=this.opposite,s=this.offset,c=i.x,u=i.y,l=this.axisTitle,f=this.chart.renderer.fontMetrics(i.style.fontSize,l);return l=Math.max(l.getBBox(null,0).height-f.h-1,0),n={low:o+(t?0:n),middle:o+n/2,high:o+(t?n:0)}[i.align],e=(t?r+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-l,l,f.f,-l][this.side],t={x:t?n+c:e+(a?this.width:0)+s+c,y:t?e+u-(a?this.height:0)+s:n+u},x(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var r=this.minorTicks;r[t]||(r[t]=new a(this,t,"minor")),e&&r[t].isNew&&r[t].render(null,!0),r[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,r){var n=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(n[t]||(n[t]=new a(this,t)),r&&n[t].isNew&&n[t].render(e,!0,-1),n[t].render(e))},t.prototype.render=function(){var t,e,r=this,n=r.chart,i=r.logarithmic,s=r.options,u=r.isLinked,l=r.tickPositions,f=r.axisTitle,h=r.ticks,d=r.minorTicks,p=r.alternateBands,m=s.stackLabels,b=s.alternateGridColor,v=r.tickmarkOffset,g=r.axisLine,y=r.showAxis,w=c(n.renderer.globalAnimation);if(r.labelEdge.length=0,r.overlap=!1,[h,d,p].forEach((function(t){C(t,(function(t){t.isActive=!1}))})),r.hasData()||u){var O=r.chart.hasRendered&&r.old&&S(r.old.min);r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach((function(t){r.renderMinorTick(t,O)})),l.length&&(l.forEach((function(t,e){r.renderTick(t,e,O)})),v&&(0===r.min||r.single)&&(h[-1]||(h[-1]=new a(r,-1,null,!0)),h[-1].render(-1))),b&&l.forEach((function(a,s){e="undefined"!==typeof l[s+1]?l[s+1]+v:r.max-v,0===s%2&&a<r.max&&e<=r.max+(n.polar?-v:v)&&(p[a]||(p[a]=new o.PlotLineOrBand(r)),t=a+v,p[a].options={from:i?i.lin2log(t):t,to:i?i.lin2log(e):e,color:b,className:"highcharts-alternate-grid"},p[a].render(),p[a].isActive=!0)})),r._addedPlotLB||(r._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)})))}[h,d,p].forEach((function(t){var e=[],r=w.duration;C(t,(function(t,r){t.isActive||(t.render(r,!1,0),t.isActive=!1,e.push(r))})),D((function(){for(var r=e.length;r--;)t[e[r]]&&!t[e[r]].isActive&&(t[e[r]].destroy(),delete t[e[r]])}),t!==p&&n.hasRendered&&r?r:0)})),g&&(g[g.isPlaced?"animate":"attr"]({d:this.getLinePath(g.strokeWidth())}),g.isPlaced=!0,g[y?"show":"hide"](y)),f&&y&&(s=r.getTitlePosition(),S(s.y)?(f[f.isNew?"attr":"animate"](s),f.isNew=!1):(f.attr("y",-9999),f.isNew=!0)),m&&m.enabled&&r.stacking&&r.stacking.renderStackTotals(),r.old={len:r.len,max:r.max,min:r.min,transA:r.transA,userMax:r.userMax,userMin:r.userMin},r.isDirty=!1,x(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,r=e.plotLinesAndBands,n=this.eventOptions;if(x(this,"destroy",{keepEvents:t}),t||T(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){v(t)})),r)for(t=r.length;t--;)r[t].destroy();for(var i in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[i]=e.plotLinesAndBandsGroups[i].destroy();C(e,(function(t,r){-1===e.getKeepProps().indexOf(r)&&delete e[r]})),this.eventOptions=n},t.prototype.drawCrosshair=function(t,e){var n,i=this.crosshair,o=j(i&&i.snap,!0),a=this.chart,s=this.cross;if(x(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),i&&!1!==(b(e)||!o)){if(o?b(e)&&(n=j("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):n=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),b(n)){var c={value:e&&(this.isXAxis?e.x:j(e.stackY,e.y)),translatedValue:n};a.polar&&w(c,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),c=this.getPlotLinePath(c)||null}if(!b(c))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(i.className||"")).attr({zIndex:j(i.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:i.color||(o?r.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":j(i.width,1)}).css({"pointer-events":"none"}),i.dashStyle&&s.attr({dashstyle:i.dashStyle}))),s.show().attr({d:c}),o&&!i.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();x(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),x(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var r=this.chart;t=E(this.userOptions,t),this.destroy(!0),this.init(r,t),r.isDirtyBox=!0,j(e,!0)&&r.redraw()},t.prototype.remove=function(t){for(var e=this.chart,r=this.coll,n=this.series,i=n.length;i--;)n[i]&&n[i].remove(!1);g(e.axes,this),g(e[r],this),e[r].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,j(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}()})),e(r,"Core/Axis/DateTimeAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new c(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,r(t,"init",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var r=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=r[r.length-1];var a,s=o[e[0]],c=e[1];for(a=0;a<r.length&&(e=r[a],s=o[e[0]],c=e[1],!(r[a+1]&&t<=(s*c[c.length-1]+o[r[a+1][0]])/2));a++);return s===o.year&&t<5*s&&(c=[1,2,5]),{unitRange:s,count:t=i(t/s,c,"year"===e[0]?Math.max(n(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var r=this.axis;return r.closestPointRange?r.chart.time.getDateFormat(r.closestPointRange,t,r.options.startOfWeek,e)||e.year:e.day},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/LogarithmicAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.addEvent,n=t.getMagnitude,i=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new c(this))}function a(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("logarithmic"),r(t,"init",e),r(t,"afterInit",a)),t};var c=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,r,a){var s=this.axis,c=s.len,u=s.options,l=[];if(a||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),l=s.getLinearTickPositions(t,e,r);else if(.08<=t){var f,h=Math.floor(e),d=u=void 0;for(c=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];h<r+1&&!d;h++){var p=c.length;for(f=0;f<p&&!d;f++){var m=this.log2lin(this.lin2log(h)*c[f]);m>e&&(!a||u<=r)&&"undefined"!==typeof u&&l.push(u),u>r&&(d=!0),u=m}}}else e=this.lin2log(e),r=this.lin2log(r),t=a?s.getMinorTickInterval():u.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,u.tickPixelInterval/(a?5:1)*(r-e)/((a?c/s.tickPositions.length:c)||1)),t=i(t,void 0,n(t)),l=s.getLinearTickPositions(t,e,r).map(this.log2lin),a||(this.minorAutoInterval=t/5);return a||(s.tickInterval=t),l},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=c}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.erase,n=t.extend,i=t.isNumber;return function(t){var e,o=[];t.compose=function(t,r){return e||(e=t),-1===o.indexOf(r)&&(o.push(r),n(r.prototype,a.prototype)),r};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,r){void 0===r&&(r=this.options);var n=this.getPlotLinePath({value:e,force:!0,acrossPanes:r.acrossPanes}),o=[],a=this.horiz;if(e=!i(this.min)||!i(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:r.acrossPanes}),r=1,t&&n){if(e){var s=t.toString()===n.toString();r=0}for(e=0;e<t.length;e+=2){var c=t[e],u=t[e+1],l=n[e],f=n[e+1];"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==l[0]&&"L"!==l[0]||"M"!==f[0]&&"L"!==f[0]||(a&&l[1]===c[1]?(l[1]+=r,f[1]+=r):a||l[2]!==c[2]||(l[2]+=r,f[2]+=r),o.push(["M",c[1],c[2]],["L",u[1],u[2]],["L",f[1],f[2]],["L",l[1],l[2]],["Z"])),o.isFlat=s}}return o},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,r){var n=this,i=this.userOptions,o=new e(this,t);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(i.plotLines||[]).concat(i.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)}))),r){var a=i[r]||[];a.push(t),i[r]=a}this.plotLinesAndBands.push(o)}return o},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,n=this.options,i=this.userOptions;if(e){for(var o=e.length;o--;)e[o].id===t&&e[o].destroy();[n.plotLines||[],i.plotLines||[],n.plotBands||[],i.plotBands||[]].forEach((function(e){for(o=e.length;o--;)(e[o]||{}).id===t&&r(e,e[o])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(r,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[r["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],r["Core/Utilities.js"]],(function(t,e){var r=e.arrayMax,n=e.arrayMin,i=e.defined,o=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,c=e.merge,u=e.objectEach,l=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(r){return t.compose(e,r)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,r=e.horiz,n=e.logarithmic,o=t.options,a=o.color,f=l(o.zIndex,0),h=o.events,d={},p=e.chart.renderer,m=o.label,b=t.label,v=o.to,g=o.from,y=o.value,w=t.svgElem,x=[],O=i(g)&&i(v);x=i(y);var _=!w,S={class:"highcharts-plot-"+(O?"band ":"line ")+(o.className||"")},k=O?"bands":"lines";if(n&&(g=n.log2lin(g),v=n.log2lin(v),y=n.log2lin(y)),e.chart.styledMode||(x?(S.stroke=a||"#999999",S["stroke-width"]=l(o.width,1),o.dashStyle&&(S.dashstyle=o.dashStyle)):O&&(S.fill=a||"#e6ebf5",o.borderWidth&&(S.stroke=o.borderColor,S["stroke-width"]=o.borderWidth))),d.zIndex=f,k+="-"+f,(n=e.plotLinesAndBandsGroups[k])||(e.plotLinesAndBandsGroups[k]=n=p.g("plot-"+k).attr(d).add()),_&&(t.svgElem=w=p.path().attr(S).add(n)),x)x=e.getPlotLinePath({value:y,lineWidth:w.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!O)return;x=e.getPlotBandPath(g,v,o)}return!t.eventsAdded&&h&&(u(h,(function(e,r){w.on(r,(function(e){h[r].apply(t,[e])}))})),t.eventsAdded=!0),(_||!w.d)&&x&&x.length?w.attr({d:x}):w&&(x?(w.show(!0),w.animate({d:x})):w.d&&(w.hide(),b&&(t.label=b=b.destroy()))),m&&(i(m.text)||i(m.formatter))&&x&&x.length&&0<e.width&&0<e.height&&!x.isFlat?(m=c({align:r&&O&&"center",x:r?!O&&4:10,verticalAlign:!r&&O&&"middle",y:r?O?16:10:O?6:-4,rotation:r&&!O&&90},m),this.renderLabel(m,x,O,f)):b&&b.hide(),t},e.prototype.renderLabel=function(t,e,i,o){var a=this.axis,s=a.chart.renderer,u=this.label;u||(this.label=u=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(i?"band":"line")+"-label "+(t.className||""),zIndex:o}).add(),a.chart.styledMode||u.css(c({textOverflow:"ellipsis"},t.style))),o=e.xBounds||[e[0][1],e[1][1],i?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],i?e[2][2]:e[0][2]],i=n(o),s=n(e),u.align(t,!1,{x:i,y:s,width:r(o)-i,height:r(e)-s}),u.alignValue&&"left"!==u.alignValue||u.css({width:(90===u.rotation?a.height-(u.alignAttr.y-a.top):a.width-(u.alignAttr.x-a.left))+"px"}),u.show(!0)},e.prototype.getLabelText=function(t){return i(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},e}()})),e(r,"Core/Tooltip.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=t.format,a=e.doc,s=r.distribute,c=i.addEvent,u=i.clamp,l=i.css,f=i.defined,h=i.discardElement,d=i.extend,p=i.fireEvent,m=i.isArray,b=i.isNumber,v=i.isString,g=i.merge,y=i.pick,w=i.splat,x=i.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var r=e&&e.tt;r&&(!r.isActive||t?e.tt=r.destroy():r.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||w(this),r=[t.tooltipFooterHeaderFormatter(e[0])];return(r=r.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),r},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),h(this.container)),i.clearTimeout(this.hideTimer),i.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var r,n,i=this.chart,o=i.pointer,a=i.inverted,s=i.plotTop,c=i.plotLeft,u=0,l=0;return t=w(t),this.followPointer&&e?("undefined"===typeof e.chartX&&(e=o.normalize(e)),o=[e.chartX-c,e.chartY-s]):t[0].tooltipPos?o=t[0].tooltipPos:(t.forEach((function(t){r=t.series.yAxis,n=t.series.xAxis,u+=t.plotX||0,l+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,n&&r&&(a?(u+=s+i.plotHeight-n.len-n.pos,l+=c+i.plotWidth-r.len-r.pos):(u+=n.pos-c,l+=r.pos-s))})),u/=t.length,l/=t.length,o=[a?i.plotWidth-l:u,a?i.plotHeight-u:l],this.shared&&1<t.length&&e&&(a?o[0]=e.chartX-c:o[1]=e.chartY-s)),o.map(Math.round)},t.prototype.getLabel=function(){var t,r=this,i=this.chart.styledMode,o=this.options,a=this.split&&this.allowShared,s="tooltip"+(f(o.className)?" "+o.className:""),u=o.style.pointerEvents||(!this.followPointer&&o.stickOnContact?"auto":"none"),h=function(){r.inContact=!0},d=function(t){var e=r.chart.hoverSeries;r.inContact=r.shouldStickOnContact()&&r.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!r.inContact&&e&&e.onMouseOut&&e.onMouseOut()},p=this.chart.renderer;if(r.label){var m=!r.label.hasClass("highcharts-label");(a&&!m||!a&&m)&&r.destroy()}if(!this.label){if(this.outside){m=this.chart.options.chart.style;var b=n.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",l(t,{position:"absolute",top:"1px",pointerEvents:u,zIndex:Math.max(this.options.style.zIndex||0,(m&&m.zIndex||0)+3)}),c(t,"mouseenter",h),c(t,"mouseleave",d),e.doc.body.appendChild(t),this.renderer=p=new b(t,0,0,m,void 0,void 0,p.styledMode)}if(a?this.label=p.g(s):(this.label=p.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,s).attr({padding:o.padding,r:o.borderRadius}),i||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:u}).shadow(o.shadow)),i&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),r.outside&&!r.split){var v=this.label,g=v.xSetter,y=v.ySetter;v.xSetter=function(e){g.call(v,r.distance),t.style.left=e+"px"},v.ySetter=function(e){y.call(v,r.distance),t.style.top=e+"px"}}this.label.on("mouseenter",h).on("mouseleave",d).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,r){var n,i=this.chart,o=this.distance,s={},c=i.inverted&&r.h||0,u=this.outside,l=u?a.documentElement.clientWidth-2*o:i.chartWidth,f=u?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):i.chartHeight,h=i.pointer.getChartPosition(),d=function(n){var a="x"===n;return[n,a?l:f,a?t:e].concat(u?[a?t*h.scaleX:e*h.scaleY,a?h.left-o+(r.plotX+i.plotLeft)*h.scaleX:h.top-o+(r.plotY+i.plotTop)*h.scaleY,0,a?l:f]:[a?t:e,a?r.plotX+i.plotLeft:r.plotY+i.plotTop,a?i.plotLeft:i.plotTop,a?i.plotLeft+i.plotWidth:i.plotTop+i.plotHeight])},p=d("y"),m=d("x");d=!!r.negative,!i.polar&&i.hoverSeries&&i.hoverSeries.yAxis&&i.hoverSeries.yAxis.reversed&&(d=!d);var b=!this.followPointer&&y(r.ttBelow,!i.inverted===d),v=function(t,e,r,n,i,a,l){var f=u?"y"===t?o*h.scaleY:o*h.scaleX:o,d=(r-n)/2,p=n<i-o,m=i+o+n<e,v=i-f-r+d;if(i=i+f-d,b&&m)s[t]=i;else if(!b&&p)s[t]=v;else if(p)s[t]=Math.min(l-n,0>v-c?v:v-c);else{if(!m)return!1;s[t]=Math.max(a,i+c+r>e?i:i+c)}},g=function(t,e,r,n,i){var a;return i<o||i>e-o?a=!1:s[t]=i<r/2?1:i>e-n/2?e-n-2:i-r/2,a},w=function(t){var e=p;p=m,m=e,n=t};return(i.inverted||1<this.len)&&w(),function t(){!1!==v.apply(0,p)?!1!==g.apply(0,m)||n||(w(!0),t()):n?s.x=s.y=0:(w(!0),t())}(),s},t.prototype.hide=function(t){var e=this;i.clearTimeout(this.hideTimer),t=y(t,this.options.hideDelay),this.isHidden||(this.hideTimer=x((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=y(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,r,n){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),c=o.followPointer||1<o.len;d(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:c?void 0:s?(2*a.anchorX+r)/3:r,anchorY:c?void 0:s?(a.anchorY+n)/2:n}),o.getLabel().attr(a),o.drawTracker(),s&&(i.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(t,e,r,n)}),32))},t.prototype.refresh=function(t,e){var r=this.chart,n=this.options,o=w(t),a=o[0],s=[],c=n.formatter||this.defaultFormatter,u=this.shared,l=r.styledMode,f={};if(n.enabled){i.clearTimeout(this.hideTimer),this.allowShared=!(!m(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var h=(t=this.getAnchor(t,e))[0],d=t[1];if(u&&this.allowShared?(r.pointer.applyInactiveState(o),o.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(f={x:a.category,y:a.y}).points=s):f=a.getLabelConfig(),this.len=s.length,c=c.call(f,this),u=a.series,this.distance=y(u.tooltipOptions.distance,16),!1===c)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(c,o);else{var b=h,v=d;if(e&&r.pointer.isDirectTouch&&(b=e.chartX-r.plotLeft,v=e.chartY-r.plotTop),!r.polar&&!1!==u.options.clip&&!o.some((function(t){return t.series.shouldShowTooltip(b,v)})))return void this.hide();e=this.getLabel(),n.style.width&&!l||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:c&&c.join?c.join(""):c}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(a.colorIndex,u.colorIndex)),l||e.attr({stroke:n.borderColor||a.color||u.color||"#666666"}),this.updatePosition({plotX:h,plotY:d,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}p(this,"refresh")}},t.prototype.renderSplit=function(t,e){function r(t,e,r,i,o){return void 0===o&&(o=!0),r?(e=j?0:D,t=u(t-i/2,E.left,E.right-i-(n.outside?A:0))):(e-=T,t=u(t=o?t-i-_:t+_,o?t:E.left,E.right)),{x:t,y:e}}var n=this,i=n.chart,o=n.chart,c=o.chartWidth,l=o.chartHeight,f=o.plotHeight,h=o.plotLeft,p=o.plotTop,m=o.pointer,b=o.scrollablePixelsY;b=void 0===b?0:b;var g=o.scrollablePixelsX,w=o.scrollingContainer,x=(w=void 0===w?{scrollLeft:0,scrollTop:0}:w).scrollLeft;w=w.scrollTop;var O=o.styledMode,_=n.distance,S=n.options,k=n.options.positioner,E=n.outside&&"number"!==typeof g?a.documentElement.getBoundingClientRect():{left:x,right:x+c,top:w,bottom:w+l},M=n.getLabel(),C=this.renderer||i.renderer,j=!(!i.xAxis[0]||!i.xAxis[0].opposite),A=(i=m.getChartPosition()).left;i=i.top;var T=p+w,P=0,D=f-b;v(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,i,o){if(!1!==i&&""!==i){var a=(o=e[o-1]||{isHeader:!0,plotX:e[0].plotX,plotY:f,series:{}}).isHeader,s=a?n:o.series;i=i.toString();var c=s.tt,l=o.isHeader,d=o.series,m="highcharts-color-"+y(o.colorIndex,d.colorIndex,"none");if(c||(c={padding:S.padding,r:S.borderRadius},O||(c.fill=S.backgroundColor,c["stroke-width"]=S.borderWidth),c=C.label("",0,0,S[l?"headerShape":"shape"],void 0,void 0,S.useHTML).addClass((l?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+m).attr(c).add(M)),c.isActive=!0,c.attr({text:i}),O||c.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||o.color||d.color||"#333333"}),i=(l=(s=s.tt=c).getBBox()).width+s.strokeWidth(),a&&(P=l.height,D+=P,j&&(T-=P)),d=void 0===(d=o.plotX)?0:d,m=void 0===(m=o.plotY)?0:m,c=o.series,o.isHeader){d=h+d;var b=p+f/2}else{var v=c.xAxis,g=c.yAxis;d=v.pos+u(d,-_,v.len+_),c.shouldShowTooltip(0,g.pos-p+m,{ignoreX:!0})&&(b=g.pos+m)}d=u(d,E.left-_,E.right+_),"number"===typeof b?(l=l.height+1,m=k?k.call(n,i,l,o):r(d,b,a,i),t.push({align:k?0:void 0,anchorX:d,anchorY:b,boxWidth:i,point:o,rank:y(m.rank,a?1:0),size:l,target:m.y,tt:s,x:m.x})):s.isActive=!1}return t}),[]),!k&&t.some((function(t){var e=(n.outside?A:0)+t.anchorX;return e<E.left&&e+t.boxWidth<E.right||e<A-E.left+t.boxWidth&&E.right-e>e}))&&(t=t.map((function(t){var e=r(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return d(t,{target:e.y,x:e.x})}))),n.cleanSplit(),s(t,D);var R=A,L=A;t.forEach((function(t){var e=t.x,r=t.boxWidth;(t=t.isHeader)||(n.outside&&A+e<R&&(R=A+e),!t&&n.outside&&R+r>L&&(L=A+e))})),t.forEach((function(t){var e=t.x,r=t.anchorX,i=t.pos,o=t.point.isHeader;if(i={visibility:"undefined"===typeof i?"hidden":"inherit",x:e,y:i+T,anchorX:r,anchorY:t.anchorY},n.outside&&e<r){var a=A-R;0<a&&(o||(i.x=e+a,i.anchorX=r+a),o&&(i.x=(L-R)/2,i.anchorX=r+a))}t.tt.attr(i)})),t=n.container,b=n.renderer,n.outside&&t&&b&&(o=M.getBBox(),b.setSize(o.width+o.x,o.height+o.y,!1),t.style.left=R+"px",t.style.top=i+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,r=this.shared?t.hoverPoints:t.hoverPoint;if(e&&r){var n={x:0,y:0,width:0,height:0};r=this.getAnchor(r);var i=e.getBBox();r[0]+=t.plotLeft-e.translateX,r[1]+=t.plotTop-e.translateY,n.x=Math.min(0,r[0]),n.y=Math.min(0,r[1]),n.width=0>r[0]?Math.max(Math.abs(r[0]),i.width-r[0]):Math.max(Math.abs(r[0]),i.width),n.height=0>r[1]?Math.max(Math.abs(r[1]),i.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),i.height),this.tracker?this.tracker.attr(n):(this.tracker=e.renderer.rect(n).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var r=t.series,n=r.tooltipOptions,i=r.xAxis,a=i&&i.dateTime;i={isFooter:e,labelConfig:t};var s=n.xDateFormat,c=n[e?"footerFormat":"headerFormat"];return p(this,"headerFormatter",i,(function(e){a&&!s&&b(t.key)&&(s=a.getXDateFormat(t.key,n.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){c=c.replace("{point."+t+"}","{point."+t+":"+s+"}")})),r.chart.styledMode&&(c=this.styledModeFormat(c)),e.text=o(c,{point:t,series:r},this.chart)})),i.text},t.prototype.update=function(t){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,g(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,r=this.options,n=e.pointer,i=this.getLabel();n=n.getChartPosition();var o=(r.positioner||this.getPosition).call(this,i.width,i.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(r=r.borderWidth+2*this.distance,this.renderer.setSize(i.width+r,i.height+r,!1),1===n.scaleX&&1===n.scaleY||(l(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),a*=n.scaleX,t*=n.scaleY),a+=n.left-o.x,t+=n.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,t)},t}()})),e(r,"Core/Series/Point.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=e.animObject,a=r.defaultOptions,s=n.format,c=i.addEvent,u=i.defined,l=i.erase,f=i.extend,h=i.fireEvent,d=i.getNestedProperty,p=i.isArray,m=i.isFunction,b=i.isNumber,v=i.isObject,g=i.merge,y=i.objectEach,w=i.pick,x=i.syncTimeout,O=i.removeEvent,_=i.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},r=t.getGraphicalProps();r.singular.forEach((function(r){t[r]=t[r].animate("dataLabel"===r?{x:t[r].startXPos,y:t[r].startYPos,opacity:0}:e)})),r.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(f({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,r){var n=this.series,i=n.options.pointValKey||n.pointValKey;return t=e.prototype.optionsToObject.call(this,t),f(this,t),this.options=this.options?f(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,i&&(this.y=e.prototype.getNestedProperty.call(this,i)),this.formatPrefix=(this.isNull=w(this.isValid&&!this.isValid(),null===this.x||!b(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof r&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"===typeof this.x&&n?this.x="undefined"===typeof r?n.autoIncrement():r:b(t.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(i in(e.graphic||e.dataLabel||e.dataLabels)&&(O(e),e.destroyElements()),e)e[i]=null}var e=this,r=e.series,n=r.chart;r=r.options.dataSorting;var i,a=n.hoverPoints,s=o(e.series.chart.renderer.globalAnimation);e.legendItem&&n.legend.destroyItem(e),a&&(e.setState(),l(a,e),a.length||(n.hoverPoints=null)),e===n.hoverPoint&&e.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),x(t,s.duration)):t(),n.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,r){var n=this,i=this.series.options;(i.point.events[t]||n.options&&n.options.events&&n.options.events[t])&&n.importEvents(),"click"===t&&i.allowPointSelect&&(r=function(t){n.select&&n.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),h(n,t,e,r)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,r=this,n=[],i={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&n.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),e=n.length;e--;){var o=n[e];r[o]&&i.singular.push(o)}return["dataLabel","connector"].forEach((function(e){var n=e+"s";t[e]&&r[n]&&i.plural.push(n)})),i},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?d(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var r,n=0;for(r=e[n];this[t]>=r.value;)r=e[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=r&&r.color&&!this.options.color?r.color:this.nonZonedColor,r},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,r){return this.series=t,this.applyOptions(e,r),this.id=u(this.id)?this.id:_(),this.resolveColor(),t.chart.pointCount++,h(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var r=this.series,n=r.options.keys,i=n||r.pointArrayMap||["y"],o=i.length,a={},s=0,c=0;if(b(t)||null===t)a[i[0]]=t;else if(p(t))for(!n&&t.length>o&&("string"===(r=typeof t[0])?a.name=t[0]:"number"===r&&(a.x=t[0]),s++);c<o;)n&&"undefined"===typeof t[s]||(0<i[c].indexOf(".")?e.prototype.setNestedProperty(a,t[s],i[c]):a[i[c]]=t[s]),s++,c++;else"object"===typeof t&&(a=t,t.dataLabels&&(r._hasPointLabels=!0),t.marker&&(r._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,r=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var n=(r=t.options.colors||t.chart.options.colors)[t.colorCounter];r=r.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===r&&(t.colorCounter=0)}else e||(n=t.color),e=t.colorIndex;this.colorIndex=w(this.options.colorIndex,e),this.color=w(this.options.color,n)},e.prototype.setNestedProperty=function(t,e,r){return r.split(".").reduce((function(t,r,n,i){return t[r]=i.length-1===n?e:v(t[r],!0)?t[r]:{},t[r]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,r=e.tooltipOptions,n=w(r.valueDecimals,""),i=r.valuePrefix||"",o=r.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(i||o)&&(t=t.replace(RegExp(e+"}","g"),i+e+"}"+o)),t=t.replace(RegExp(e+"}","g"),e+":,."+n+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,r,n){function i(){a.applyOptions(t);var n=c&&a.hasDummyGraphic;n=null===a.y?!n:n,c&&n&&(a.graphic=c.destroy(),delete a.hasDummyGraphic),v(t,!0)&&(c&&c.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(a.graphic=c.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),o=a.index,s.updateParallelArrays(a,o),l.data[o]=v(l.data[o],!0)||v(t,!0)?a.options:w(t,l.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(u.isDirtyBox=!0),"point"===l.legendType&&(u.isDirtyLegend=!0),e&&u.redraw(r)}var o,a=this,s=a.series,c=a.graphic,u=s.chart,l=s.options;e=w(e,!0),!1===n?i():a.firePointEvent("update",{options:t},i)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var r=this,n=r.series,i=n.chart;this.selectedStaging=t=w(t,!r.selected),r.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){r.selected=r.options.selected=t,n.options.data[n.data.indexOf(r)]=r.options,r.setState(t&&"select"),e||i.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==r&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(i.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,r=e.pointer;t=t?r.normalize(t):r.getChartCoordinatesFromPoint(this,e.inverted),r.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=g(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,r){m(e)&&c(t,r,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,r){var n,i=this.series,o=this.state,s=i.options.states[e||"normal"]||{},c=a.plotOptions[i.type].marker&&i.options.marker,u=c&&!1===c.enabled,l=c&&c.states&&c.states[e||"normal"]||{},d=!1===l.enabled,p=this.marker||{},m=i.chart,v=c&&i.markerAttribs,g=i.halo,y=i.stateMarkerGraphic;if(!((e=e||"")===this.state&&!r||this.selected&&"select"!==e||!1===s.enabled||e&&(d||u&&!1===l.enabled)||e&&p.states&&p.states[e]&&!1===p.states[e].enabled)){if(this.state=e,v&&(n=i.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),e&&this.graphic.addClass("highcharts-point-"+e),!m.styledMode){var x=i.pointAttribs(this,e),O=w(m.options.chart.animation,s.animation);i.options.inactiveOtherPoints&&b(x.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:x.opacity},O)})),this.connector&&this.connector.animate({opacity:x.opacity},O)),this.graphic.animate(x,O)}n&&this.graphic.animate(n,w(m.options.chart.animation,l.animation,c.animation)),y&&y.hide()}else e&&l&&(o=p.symbol||i.symbol,y&&y.currentSymbol!==o&&(y=y.destroy()),n&&(y?y[r?"animate":"attr"]({x:n.x,y:n.y}):o&&(i.stateMarkerGraphic=y=m.renderer.symbol(o,n.x,n.y,n.width,n.height).add(i.markerGroup),y.currentSymbol=o)),!m.styledMode&&y&&"inactive"!==this.state&&y.attr(i.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,n=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==n&&!this.isCluster?(g||(i.halo=g=m.renderer.path().add(y.parentGroup)),g.show()[r?"animate":"attr"]({d:this.haloPath(s.size)}),g.attr({class:"highcharts-halo highcharts-color-"+w(this.colorIndex,i.colorIndex)+(this.className?" "+this.className:""),visibility:n,zIndex:-1}),g.point=this,m.styledMode||g.attr(f({fill:this.color||i.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):g&&g.point&&g.point.haloPath&&g.animate({d:g.point.haloPath(0)},null,g.hide),h(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}()})),e(r,"Core/Pointer.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Tooltip.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=t.parse,o=e.charts,a=e.noop,s=n.addEvent,c=n.attr,u=n.css,l=n.defined,f=n.extend,h=n.find,d=n.fireEvent,p=n.isNumber,m=n.isObject,b=n.objectEach,v=n.offset,g=n.pick,y=n.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,r=[];(t||[]).forEach((function(t){e=t.series,r.push(e),e.linkedParent&&r.push(e.linkedParent),e.linkedSeries&&(r=r.concat(e.linkedSeries)),e.navigatorSeries&&r.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===r.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var r=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(r.tooltipTimeout),b(r,(function(t,e){r[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,r=e.options.chart,n=this.zoomHor,o=this.zoomVert,a=e.plotLeft,s=e.plotTop,c=e.plotWidth,u=e.plotHeight,l=this.mouseDownX||0,f=this.mouseDownY||0,h=m(r.panning)?r.panning&&r.panning.enabled:r.panning,d=r.panKey&&t[r.panKey+"Key"],p=t.chartX,b=t.chartY,v=this.selectionMarker;if((!v||!v.touch)&&(p<a?p=a:p>a+c&&(p=a+c),b<s?b=s:b>s+u&&(b=s+u),this.hasDragged=Math.sqrt(Math.pow(l-p,2)+Math.pow(f-b,2)),10<this.hasDragged)){var g=e.isInsidePlot(l-a,f-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!g||d||v||(this.selectionMarker=v=e.renderer.rect(a,s,n?1:c,o?1:u,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||v.attr({fill:r.selectionMarkerFill||i("#335cad").setOpacity(.25).get()})),v&&n&&(n=p-l,v.attr({width:Math.abs(n),x:(0<n?0:n)+l})),v&&o&&(n=b-f,v.attr({height:Math.abs(n),y:(0<n?0:n)+f})),g&&!v&&h&&e.pan(t,r.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,r=this.chart,n=this.hasPinched;if(this.selectionMarker){var i=this.selectionMarker,o=i.attr?i.attr("x"):i.x,a=i.attr?i.attr("y"):i.y,s=i.attr?i.attr("width"):i.width,c=i.attr?i.attr("height"):i.height,h={originalEvent:t,xAxis:[],yAxis:[],x:o,y:a,width:s,height:c},m=!!r.mapView;(this.hasDragged||n)&&(r.axes.forEach((function(r){if(r.zoomEnabled&&l(r.min)&&(n||e[{xAxis:"zoomX",yAxis:"zoomY"}[r.coll]])&&p(o)&&p(a)){var i=r.horiz,u="touchend"===t.type?r.minPixelPadding:0,f=r.toValue((i?o:a)+u);i=r.toValue((i?o+s:a+c)-u),h[r.coll].push({axis:r,min:Math.min(f,i),max:Math.max(f,i)}),m=!0}})),m&&d(r,"selection",h,(function(t){r.zoom(f(t,n?{animation:!1}:null))}))),p(r.index)&&(this.selectionMarker=this.selectionMarker.destroy()),n&&this.scaleGroups()}r&&p(r.index)&&(u(r.container,{cursor:r._cursor}),r.cancelClick=10<this.hasDragged,r.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,r){var n,i=this.chart,o=i.hoverPoint;return i=i.tooltip,o&&i&&i.isStickyOnContact()?o:(t.forEach((function(t){var i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(r,i),(i=m(t,!0)&&t.series)&&!(i=!m(n,!0))){i=n.distX-t.distX;var o=n.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);i=0<(0!==i&&e?i:0!==o?o:0!==a?a:n.series.index>t.series.index?-1:1)}i&&(n=t)})),n)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var r=t.series,n=r.xAxis;r=r.yAxis;var i=t.shapeArgs;if(n&&r){var o=g(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&i&&p(i.x)&&p(i.y)&&(o=i.x,a=i.y),e?{chartX:r.len+r.pos-a,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:a+r.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=v(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var r=t.offsetWidth;return t=t.offsetHeight,2<r&&2<t&&(this.chartPosition.scaleX=e.width/r,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(r){e[r.isXAxis?"xAxis":"yAxis"].push({axis:r,value:r.toValue(t[r.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,r,n,i,o){var a=[];n=!(!n||!t);var s={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:i};d(this,"beforeGetHoverData",s);var c=e&&!e.stickyTracking?[e]:r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&t.stickyTracking})),u=n||!o?t:this.findNearestKDPoint(c,i,o);return e=u&&u.series,u&&(i&&!e.noSharedTooltip?(c=r.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!i&&t.directTouch)&&g(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=h(t.points,(function(t){return t.x===u.x&&!t.isNull}));m(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(u)),d(this,"afterGetHoverData",s={hoverPoint:u}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var r;t;){if(r=c(t,"class")){if(-1!==r.indexOf(e))return!0;if(-1!==r.indexOf("highcharts-container"))return!1}t=t.parentNode}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},r&&(t.tooltip=new r(t,e.tooltip),this.followTouchMove=g(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var r=t.touches,n=r?r.length?r.item(0):g(r.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),r=n.pageX-e.left,n=n.pageY-e.top,r/=e.scaleX,n/=e.scaleY,f(t,{chartX:Math.round(r),chartY:Math.round(n)})},t.prototype.onContainerClick=function(t){var e=this.chart,r=e.hoverPoint;t=this.normalize(t);var n=e.plotLeft,i=e.plotTop;e.cancelClick||(r&&this.inClass(t.target,"highcharts-tracker")?(d(r.series,"click",f(t,{point:r})),e.hoverPoint&&r.firePointEvent("click",t)):(f(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-n,t.chartY-i,{visiblePlotOnly:!0})&&d(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var r=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||r)&&(this.zoomOption(t),r&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var r=o[g(t.hoverChartIndex,-1)],n=this.chart.tooltip;n&&n.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),r&&(e.relatedTarget||e.toElement)&&(r.pointer.reset(),r.pointer.chartPosition=void 0),n&&!n.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,r=this.chartPosition;t=this.normalize(t,r);var n=e.tooltip;!r||n&&n.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var r=o[g(t.hoverChartIndex,-1)];r&&r.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,r=e.chart,n=e.pinchDown,i=t.touches||[],o=i.length,s=e.lastValidTouch,c=e.hasZoom,u={},l=1===o&&(e.inClass(t.target,"highcharts-tracker")&&r.runTrackerClick||e.runChartClick),h={},p=e.selectionMarker;1<o?e.initiated=!0:1===o&&this.followTouchMove&&(e.initiated=!1),c&&e.initiated&&!l&&!1!==t.cancelable&&t.preventDefault(),[].map.call(i,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(i,(function(t,e){n[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[n[0].chartX,n[1]&&n[1].chartX],s.y=[n[0].chartY,n[1]&&n[1].chartY],r.axes.forEach((function(t){if(t.zoomEnabled){var e=r.bounds[t.horiz?"h":"v"],n=t.minPixelPadding,i=t.toPixels(Math.min(g(t.options.min,t.dataMin),t.dataMin)),o=t.toPixels(Math.max(g(t.options.max,t.dataMax),t.dataMax)),a=Math.max(i,o);e.min=Math.min(t.pos,Math.min(i,o)-n),e.max=Math.max(t.pos+t.len,a+n)}})),e.res=!0):e.followTouchMove&&1===o?this.runPointActions(e.normalize(t)):n.length&&(d(r,"touchpan",{originalEvent:t},(function(){p||(e.selectionMarker=p=f({destroy:a,touch:!0},r.plotBox)),e.pinchTranslate(n,i,u,p,h,s),e.hasPinched=c,e.scaleGroups(u,h)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,r,n,i,o){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,r,n,i,o),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,r,n,i,o)},t.prototype.pinchTranslateDirection=function(t,e,r,n,i,o,a,s){var c=this.chart,u=t?"x":"y",l=t?"X":"Y",f="chart"+l,h=t?"width":"height",d=c["plot"+(t?"Left":"Top")],p=c.inverted,m=c.bounds[t?"h":"v"],b=1===e.length,v=e[0][f],g=!b&&e[1][f];e=function(){"number"===typeof _&&20<Math.abs(v-g)&&(x=s||Math.abs(O-_)/Math.abs(v-g)),w=(d-O)/x+v,y=c["plot"+(t?"Width":"Height")]/x};var y,w,x=s||1,O=r[0][f],_=!b&&r[1][f];if(e(),(r=w)<m.min){r=m.min;var S=!0}else r+y>m.max&&(r=m.max-y,S=!0);S?(O-=.8*(O-a[u][0]),"number"===typeof _&&(_-=.8*(_-a[u][1])),e()):a[u]=[O,_],p||(o[u]=w-d,o[h]=y),o=p?1/x:x,i[h]=y,i[u]=r,n[p?t?"scaleY":"scaleX":"scale"+l]=x,n["translate"+l]=o*d+(O-o*v)},t.prototype.reset=function(t,e){var r=this.chart,n=r.hoverSeries,i=r.hoverPoint,o=r.hoverPoints,a=r.tooltip,s=a&&a.shared?o:i;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):i&&(i.setState(i.state,!0),r.axes.forEach((function(t){t.crosshair&&i.series[t.coll]===t&&t.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(t){t.setState()})),n&&n.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),r.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=r.hoverPoints=r.hoverPoint=null)},t.prototype.runPointActions=function(e,r){var n=this.chart,i=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,a=!!i&&i.shared,c=r||n.hoverPoint,u=c&&c.series||n.hoverSeries;c=(r=this.getHoverData(c,u,n.series,(!e||"touchmove"!==e.type)&&(!!r||u&&u.directTouch&&this.isDirectTouch),a,e)).hoverPoint,u=r.hoverSeries;var l=r.hoverPoints;if(r=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split,a=a&&u&&!u.noSharedTooltip,c&&(c!==n.hoverPoint||i&&i.isHidden)){if((n.hoverPoints||[]).forEach((function(t){-1===l.indexOf(t)&&t.setState()})),n.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(l),(l||[]).forEach((function(t){t.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!c.series)return;n.hoverPoints=l,n.hoverPoint=c,c.firePointEvent("mouseOver"),i&&i.refresh(a?l:c,e)}else r&&i&&!i.isHidden&&(c=i.getAnchor([{}],e),n.isInsidePlot(c[0],c[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(n.container.ownerDocument,"mousemove",(function(e){var r=o[t.hoverChartIndex];r&&r.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(t){var r,i=g((t.crosshair||{}).snap,!0);i&&((r=n.hoverPoint)&&r.series[t.coll]===t||(r=h(l,(function(e){return e.series[t.coll]===t})))),r||!i?t.drawCrosshair(e,r):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var r=this.chart;r.series.forEach((function(n){var i=t||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||r.mapView)&&(n.group.attr(i),n.markerGroup&&(n.markerGroup.attr(i),n.markerGroup.clip(e?r.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(i))})),r.clipRect.attr(e||r.clipBox)},t.prototype.setDOMEvents=function(){var r=this,n=this.chart.container,i=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(n,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete r.chartPosition}))),o=o.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var r=this.chart,n=e.charts[g(t.hoverChartIndex,-1)];n&&n!==r&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(t.hoverChartIndex=r.index)},t.prototype.touch=function(t,e){var r=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),r.isInsidePlot(t.chartX-r.plotLeft,t.chartY-r.plotTop,{visiblePlotOnly:!0})&&!r.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var n=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));g(n,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,r=e.options.chart;e=e.inverted;var n=r.zoomType||"";/touch/.test(t.type)&&(n=g(r.pinchType,n)),this.zoomX=t=/x/.test(n),this.zoomY=r=/y/.test(n),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},t}()})),e(r,"Core/MSPointer.js",[r["Core/Globals.js"],r["Core/Pointer.js"],r["Core/Utilities.js"]],(function(t,e,r){function n(){var t=[];return t.item=function(t){return this[t]},h(p,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function i(t,r,i,o){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(t),s[r]({type:i,target:t.currentTarget,preventDefault:c,touches:n()}))}var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.charts,s=t.doc,c=t.noop,u=t.win,l=r.addEvent,f=r.css,h=r.objectEach,d=r.removeEvent,p={},m=!!u.PointerEvent;return function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return o(r,e),r.isRequired=function(){return!(t.hasTouch||!u.PointerEvent&&!u.MSPointerEvent)},r.prototype.batchMSEvents=function(t){t(this.chart.container,m?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,m?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,m?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},r.prototype.destroy=function(){this.batchMSEvents(d),e.prototype.destroy.call(this)},r.prototype.init=function(t,r){e.prototype.init.call(this,t,r),this.hasZoom&&f(t.container,{"-ms-touch-action":"none","touch-action":"none"})},r.prototype.onContainerPointerDown=function(t){i(t,"onContainerTouchStart","touchstart",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},r.prototype.onContainerPointerMove=function(t){i(t,"onContainerTouchMove","touchmove",(function(t){p[t.pointerId]={pageX:t.pageX,pageY:t.pageY},p[t.pointerId].target||(p[t.pointerId].target=t.currentTarget)}))},r.prototype.onDocumentPointerUp=function(t){i(t,"onDocumentTouchEnd","touchend",(function(t){delete p[t.pointerId]}))},r.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(l)},r}(e)})),e(r,"Core/Legend/Legend.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Point.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.animObject,s=t.setAnimation,c=e.format;t=r.isFirefox;var u=r.marginNames;r=r.win;var l=i.distribute,f=o.addEvent,h=o.createElement,d=o.css,p=o.defined,m=o.discardElement,b=o.find,v=o.fireEvent,g=o.isNumber,y=o.merge,w=o.pick,x=o.relativeLength,O=o.stableSort,_=o.syncTimeout;return i=o.wrap,o=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),f(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=f(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=w(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=w(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var r=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,w(e,!0)&&r.redraw(),v(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var r=this.options,n=t.legendItem,i=t.legendLine,o=t.legendSymbol,a=this.itemHiddenStyle.color;r=e?r.itemStyle.color:a;var s=e&&t.color||a,c=t.options&&t.options.marker,u={fill:s};n&&n.css({fill:r,color:r}),i&&i.attr({stroke:s}),o&&(c&&o.isMarker&&(u=t.pointAttribs(),e||(u.stroke=u.fill=a)),o.attr(u))}v(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,r=this.options,n=r.symbolPadding,i=!r.rtl,o=t._legendItemPos;r=o[0],o=o[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(n={translateX:i?r:this.legendWidth-r-2*n-4,translateY:o},i=function(){v(e,"afterPositionItem",{item:t})},p(s.translateY)?s.animate(n,void 0,i):(s.attr(n),i())),a&&(a.x=r,a.y=o)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&m(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,r=this.titleHeight;if(t){var n=t.translateY;this.allItems.forEach((function(i){var o=i.checkbox;if(o){var a=n+r+o.y+(this.scrollOffset||0)+3;d(o,{left:t.translateX+i.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>n-6&&a<n+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,r=t.title,n=0;r.text&&(this.title||(this.title=this.chart.renderer.label(r.text,e-3,e-4,null,null,null,t.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(r.style),this.title.add(this.group)),r.width||this.title.css({width:this.maxLegendWidth+"px"}),n=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:n})),this.titleHeight=n},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?c(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,r=e.renderer,n=this.options,i=this.symbolWidth,o=n.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,c="horizontal"===n.layout?w(n.itemDistance,20):0,u=!n.rtl,l=!t.series,f=!l&&t.series.drawLegendSymbol?t.series:t,h=f.options,d=this.createCheckboxForItem&&h&&h.showCheckbox,p=n.useHTML,m=t.options.className,b=t.legendItem;h=i+o+c+(d?20:0),b||(t.legendGroup=r.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+t.colorIndex+(m?" "+m:"")+(l?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=b=r.text("",u?i+o:-o,this.baseline||0,p),e.styledMode||b.css(y(t.visible?a:s)),b.attr({align:u?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=r.fontMetrics(e.styledMode?12:a.fontSize,b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=n.symbolHeight||this.fontMetrics.f,n.squareSymbol&&(this.symbolWidth=w(n.symbolWidth,Math.max(this.symbolHeight,16)),h=this.symbolWidth+o+c+(d?20:0),u&&b.attr("x",this.symbolWidth+o))),f.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,b,p)),d&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||b.css({width:(n.itemWidth||this.widthOption||e.spacingBox.width)-h+"px"}),this.setText(t),e=b.getBBox(),r=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=n.itemWidth||t.legendItemWidth||e.width+h,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*r?e.height:r))},t.prototype.layoutItem=function(t){var e=this.options,r=this.padding,n="horizontal"===e.layout,i=t.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=n?w(e.itemDistance,20):0,c=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>c?this.maxItemWidth:t.itemWidth,n&&this.itemX-r+e>c&&(this.itemX=r,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=e:(this.itemY+=a+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-r-(t.checkbox?0:s):e)+r,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var r=e&&e.options;e&&w(r.showInLegend,!p(r.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===r.legendType?e.data:e)))})),v(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var r=this.chart,n=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(i)&&!p(t[a])&&(r[u[a]]=Math.max(r[u[a]],r.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*n[a%2?"x":"y"]+w(n.margin,12)+e[a]+(r.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],r="left"===this.options.align;this.allItems.forEach((function(n){var i,o=r;if(n.yAxis){n.xAxis.options.reversed&&(o=!o),n.points&&(i=b(o?n.points:n.points.slice(0).reverse(),(function(t){return g(t.plotY)}))),o=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var a=n.yAxis.top-t.plotTop;n.visible?(i=i?i.plotY:n.yAxis.height,i+=a-.3*o):i=a+n.yAxis.height,e.push({target:i,size:o,item:n})}}),this),l(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,r=this.options,n=this.padding,i=this.getAllItems(),o=this.group,a=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=x(r.width,t.spacingBox.width-n);var s=t.spacingBox.width-2*n-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=e.g("legend").addClass(r.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(o),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),O(i,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),r.reversed&&i.reverse(),this.allItems=i,this.display=s=!!i.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,i.forEach(this.renderItem,this),i.forEach(this.layoutItem,this),i=(this.widthOption||this.offsetWidth)+n;var c=this.lastItemY+this.lastLineHeight+this.titleHeight;c=this.handleOverflow(c),c+=n,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(o),a.isNew=!0),t.styledMode||a.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0<i&&0<c&&(a[a.isNew?"attr":"animate"](a.crisp.call({},{x:0,y:0,width:i,height:c},a.strokeWidth())),a.isNew=!1),a[s?"show":"hide"](),t.styledMode&&"none"===o.getStyle("display")&&(i=c=0),this.legendWidth=i,this.legendHeight=c,s&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,r=this.options,n=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?n+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(n-=e.titleOffset[2]),n!==t.y&&(t=y(t,{y:n})),this.group.align(y(r,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":r.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,r,n=this,i=this.chart,o=i.renderer,a=this.options,s=a.y,c="top"===a.verticalAlign,u=this.padding,l=a.maxHeight,f=a.navigation,h=w(f.animation,!0),d=f.arrowSize||12,p=this.pages,m=this.allItems,b=function(t){"number"===typeof t?y.attr({height:t}):y&&(n.clipRect=y.destroy(),n.contentGroup.clip()),n.contentGroup.div&&(n.contentGroup.div.style.clip=t?"rect("+u+"px,9999px,"+(u+t)+"px,0)":"auto")},v=function(t){return n[t]=o.circle(0,0,1.3*d).translate(d/2,d/2).add(g),i.styledMode||n[t].attr("fill","rgba(0,0,0,0.0001)"),n[t]};s=i.spacingBox.height+(c?-s:s)-u;var g=this.nav,y=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),l&&(s=Math.min(s,l)),p.length=0,t&&0<s&&t>s&&!1!==f.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-u,0),this.currentPage=w(this.currentPage,1),this.fullHeight=t,m.forEach((function(t,n){var i=t._legendItemPos[1],o=Math.round(t.legendItem.getBBox().height),a=p.length;(!a||i-p[a-1]>e&&(r||i)!==p[a-1])&&(p.push(r||i),a++),t.pageIx=a-1,r&&(m[n-1].pageIx=a-1),n===m.length-1&&i+o-p[a-1]>e&&o<=e&&(p.push(i),t.pageIx=a),i!==r&&(r=i)})),y||(y=n.clipRect=o.clipRect(0,u,9999,0),n.contentGroup.clip(y)),b(e),g||(this.nav=g=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,d,d).add(g),v("upTracker").on("click",(function(){n.scroll(-1,h)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(f.style),this.pager.add(g),this.down=o.symbol("triangle-down",0,0,d,d).add(g),v("downTracker").on("click",(function(){n.scroll(1,h)}))),n.scroll(0),t=s):g&&(b(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var r=this,n=this.chart,i=this.pages,o=i.length,c=this.clipHeight,u=this.options.navigation,l=this.pager,f=this.padding,h=this.currentPage+t;h>o&&(h=o),0<h&&("undefined"!==typeof e&&s(e,n),this.nav.attr({translateX:f,translateY:c+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===h?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),l.attr({text:h+"/"+o}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:h===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),n.styledMode||(this.up.attr({fill:1===h?u.inactiveColor:u.activeColor}),this.upTracker.css({cursor:1===h?"default":"pointer"}),this.down.attr({fill:h===o?u.inactiveColor:u.activeColor}),this.downTracker.css({cursor:h===o?"default":"pointer"})),this.scrollOffset=-i[h-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=h,this.positionCheckboxes(),t=a(w(e,n.renderer.globalAnimation,!0)),_((function(){v(r,"afterScroll",{currentPage:h})}),t.duration))},t.prototype.setItemEvents=function(t,e,r){var i=this,o=i.chart.renderer.boxWrapper,a=t instanceof n,s="highcharts-legend-"+(a?"point":"series")+"-active",c=i.chart.styledMode,u=function(e){i.allItems.forEach((function(r){t!==r&&[r].concat(r.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(r?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(r){r&&r.on("mouseover",(function(){t.visible&&u("inactive"),t.setState("hover"),t.visible&&o.addClass(s),c||e.css(i.options.itemHoverStyle)})).on("mouseout",(function(){i.chart.styledMode||e.css(y(t.visible?i.itemStyle:i.itemHiddenStyle)),u(""),o.removeClass(s),t.setState()})).on("click",(function(e){var r=function(){t.setVisible&&t.setVisible(),u(t.visible?"inactive":"")};o.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,r):v(t,"legendItemClick",e,r)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=h("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),f(t.checkbox,"click",(function(e){v(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(r.navigator&&r.navigator.userAgent)||t)&&i(o.prototype,"positionItem",(function(t,e){var r=this,n=function(){e._legendItemPos&&t.call(r,e)};n(),r.bubbleLegend||setTimeout(n)})),o})),e(r,"Core/Series/SeriesRegistry.js",[r["Core/Globals.js"],r["Core/DefaultOptions.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i,o=e.defaultOptions,a=n.error,s=n.extendClass,c=n.merge;return function(e){function n(t,n){var i=o.plotOptions||{},a=n.defaultOptions;n.prototype.pointClass||(n.prototype.pointClass=r),n.prototype.type=t,a&&(i[t]=a),e.seriesTypes[t]=n}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,r){void 0===r&&(r={});var n=t.options.chart;n=r.type||n.type||n.defaultSeriesType||"";var i=e.seriesTypes[n];return e||a(17,!0,t,{missingModuleFor:n}),"function"===typeof(n=new i).init&&n.init(t,r),n},e.registerSeriesType=n,e.seriesType=function(t,i,a,u,l){var f=o.plotOptions||{};return i=i||"",f[t]=c(f[i],a),n(t,s(e.seriesTypes[i]||function(){},u)),e.seriesTypes[t].prototype.type=t,l&&(e.seriesTypes[t].prototype.pointClass=s(r,l)),e.seriesTypes[t]}}(i||(i={})),i})),e(r,"Core/Chart/Chart.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/FormatUtilities.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/Legend.js"],r["Core/MSPointer.js"],r["Core/DefaultOptions.js"],r["Core/Pointer.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Time.js"],r["Core/Utilities.js"],r["Core/Renderer/HTML/AST.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p){var m=t.animate,b=t.animObject,v=t.setAnimation,g=r.numberFormat,y=n.registerEventOptions,w=i.charts,x=i.doc,O=i.marginNames,_=i.svg,S=i.win,k=s.defaultOptions,E=s.defaultTime,M=l.seriesTypes,C=d.addEvent,j=d.attr,A=d.cleanRecursively,T=d.createElement,P=d.css,D=d.defined,R=d.discardElement,L=d.erase,I=d.error,N=d.extend,F=d.find,B=d.fireEvent,z=d.getStyle,H=d.isArray,U=d.isNumber,W=d.isObject,q=d.isString,V=d.merge,G=d.objectEach,Y=d.pick,X=d.pInt,$=d.relativeLength,K=d.removeEvent,Z=d.splat,J=d.syncTimeout,Q=d.uniqueKey;return t=function(){function t(t,e,r){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,r)}return t.chart=function(e,r,n){return new t(e,r,n)},t.prototype.getArgs=function(t,e,r){q(t)||t.nodeName?(this.renderTo=t,this.init(e,r)):this.init(t,e)},t.prototype.init=function(t,e){var r=t.plotOptions||{};B(this,"init",{args:arguments},(function(){var n=V(k,t),o=n.chart;G(n.plotOptions,(function(t,e){W(t)&&(t.tooltip=r[e]&&V(r[e].tooltip)||void 0)})),n.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new h(t.time):i.time,this.numberFormatter=o.numberFormatter||g,this.styledMode=o.styledMode,this.hasCartesianSeries=o.showAxes,this.index=w.length,w.push(this),i.chartCount++,y(this,o),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,B(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var r=M[e];return r||I(17,!0,this,{missingModuleFor:e}),"function"===typeof(e=new r).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var r=e.length;t<r;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,r){void 0===r&&(r={});var n=this.inverted,i=this.plotBox,o=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,c=0,u=0;r.visiblePlotOnly&&this.scrollingContainer&&(c=(u=this.scrollingContainer).scrollLeft,u=u.scrollTop);var l=r.series;if(i=r.visiblePlotOnly&&s||i,t={x:s=r.inverted?e:t,y:e=r.inverted?t:e,isInsidePlot:!0},!r.ignoreX){var f=l&&(n?l.yAxis:l.xAxis)||{pos:o,len:1/0};(s=r.paneCoordinates?f.pos+s:o+s)>=Math.max(c+o,f.pos)&&s<=Math.min(c+o+i.width,f.pos+f.len)||(t.isInsidePlot=!1)}return!r.ignoreY&&t.isInsidePlot&&(n=l&&(n?l.xAxis:l.yAxis)||{pos:a,len:1/0},(r=r.paneCoordinates?n.pos+e:a+e)>=Math.max(u+a,n.pos)&&r<=Math.min(u+a+i.height,n.pos+n.len)||(t.isInsidePlot=!1)),B(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){B(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],r=this.series,n=this.pointer,i=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),c=[],u=this.isDirtyBox,l=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=r.length;t--;){var f=r[t];if(f.options.stacking||f.options.centerInCategory){var h=!0;if(f.isDirty){var d=!0;break}}}if(d)for(t=r.length;t--;)(f=r[t]).options.stacking&&(f.isDirty=!0);r.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),l=!0):o&&(o.labelFormatter||o.labelFormat)&&(l=!0)),t.isDirtyData&&B(t,"updatedData")})),l&&i&&i.options.enabled&&(i.render(),this.isDirtyLegend=!1),h&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(u=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,c.push((function(){B(t,"afterSetExtremes",N(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(u||h)&&t.redraw()})),u&&this.drawChartBox(),B(this,"predraw"),r.forEach((function(t){(u||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),n&&n.reset(!0),a.draw(),B(this,"redraw"),B(this,"render"),s&&this.temporaryDisplay(!0),c.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var r=this.series,n=F(this.axes,e)||F(this.series,e),i=0;!n&&i<r.length;i++)n=F(r[i].points||[],e);return n},t.prototype.getAxes=function(){var t=this,r=this.options,n=r.xAxis=Z(r.xAxis||{});r=r.yAxis=Z(r.yAxis||{}),B(this,"getAxes"),n.forEach((function(t,e){t.index=e,t.isX=!0})),r.forEach((function(t,e){t.index=e})),n.concat(r).forEach((function(r){new e(t,r)})),B(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){Y(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,r){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(r)},t.prototype.applyDescription=function(t,e){var r=this,n="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};n=this.options[t]=V(!this.styledMode&&{style:n},this.options[t],e);var i=this[t];i&&e&&(this[t]=i=i.destroy()),n&&!i&&((i=this.renderer.text(n.text,0,0,n.useHTML).attr({align:n.align,class:"highcharts-"+t,zIndex:n.zIndex||4}).add()).update=function(e){r[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||i.css(n.style),this[t]=i)},t.prototype.layOutTitles=function(t){var e=[0,0,0],r=this.renderer,n=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var i,o=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,o){this.styledMode||(i=a.style&&a.style.fontSize),i=r.fontMetrics(i,o).b,o.css({width:(a.width||n.width+(a.widthAdjust||0))+"px"});var c=Math.round(o.getBBox(a.useHTML).height);o.align(N({y:"bottom"===s?i:t+i,height:c},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+c):"bottom"===s&&(e[2]=Math.ceil(e[2]+c)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var i=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&i&&(this.isDirtyBox=this.isDirtyLegend=i,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var r=this.renderTo;D(e)||(this.containerWidth=z(r,"width")),D(t)||(this.containerHeight=z(r,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,$(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(P(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(x.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(x.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,x.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),P(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==x.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,r=e.chart,n=Q(),i=this.renderTo;i||(this.renderTo=i=r.renderTo),q(i)&&(this.renderTo=i=x.getElementById(i)),i||I(13,!0,this);var o=X(j(i,"data-highcharts-chart"));U(o)&&w[o]&&w[o].hasRendered&&w[o].destroy(),j(i,"data-highcharts-chart",this.index),i.innerHTML=p.emptyHTML,r.skipClone||i.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var a=this.chartHeight;if(P(i,{overflow:"hidden"}),this.styledMode||(t=N({position:"relative",overflow:"hidden",width:o+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},r.style||{})),this.container=n=T("div",{id:n},t,i),this._cursor=n.style.cursor,this.renderer=new(r.renderer||!_?u.getRendererType(r.renderer):f)(n,o,a,void 0,r.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(r.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(r.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,r=this.margin,n=this.titleOffset;this.resetMargins(),n[0]&&!D(r[0])&&(this.plotTop=Math.max(this.plotTop,n[0]+e[0])),n[2]&&!D(r[2])&&(this.marginBottom=Math.max(this.marginBottom,n[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(r,e),B(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],r=t.colorAxis,n=t.margin,i=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?i(t.axes):r&&r.length&&i(r),O.forEach((function(r,i){D(n[i])||(t[r]+=e[i])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,r=e.options.chart,n=e.renderTo,i=D(r.width)&&D(r.height),o=r.width||z(n,"width");r=r.height||z(n,"height"),n=t?t.target:S,delete e.pointer.chartPosition,i||e.isPrinting||!o||!r||n!==S&&n!==x||(o===e.containerWidth&&r===e.containerHeight||(d.clearTimeout(e.reflowTimeout),e.reflowTimeout=J((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=o,e.containerHeight=r)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=C(S,"resize",(function(t){e.options&&e.reflow(t)})),C(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,r){var n=this,i=n.renderer;n.isResizing+=1,v(r,n),r=i.globalAnimation,n.oldChartHeight=n.chartHeight,n.oldChartWidth=n.chartWidth,"undefined"!==typeof t&&(n.options.chart.width=t),"undefined"!==typeof e&&(n.options.chart.height=e),n.getChartSize(),n.styledMode||(r?m:P)(n.container,{width:n.chartWidth+"px",height:n.chartHeight+"px"},r),n.setChartSize(!0),i.setSize(n.chartWidth,n.chartHeight,r),n.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),n.isDirtyLegend=!0,n.isDirtyBox=!0,n.layOutTitles(),n.getMargins(),n.redraw(r),n.oldChartHeight=null,B(n,"resize"),J((function(){n&&B(n,"endResize",null,(function(){--n.isResizing}))}),b(r).duration)},t.prototype.setChartSize=function(t){var e,r,n,i,o=this.inverted,a=this.renderer,s=this.chartWidth,c=this.chartHeight,u=this.options.chart,l=this.spacing,f=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=r=Math.round(this.plotTop),this.plotWidth=n=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=i=Math.max(0,Math.round(c-r-this.marginBottom)),this.plotSizeX=o?i:n,this.plotSizeY=o?n:i,this.plotBorderWidth=u.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:l[3],y:l[0],width:s-l[3]-l[1],height:c-l[0]-l[2]},this.plotBox=a.plotBox={x:e,y:r,width:n,height:i},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,f[3])/2),c=Math.ceil(Math.max(o,f[0])/2),this.clipBox={x:s,y:c,width:Math.floor(this.plotSizeX-Math.max(o,f[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,f[2])/2-c))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){B(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(r){var n=e[r],i=W(n)?n:[n,n,n,n];["Top","Right","Bottom","Left"].forEach((function(n,o){t[r][o]=Y(e[r+n],i[o])}))})),O.forEach((function(e,r){t[e]=Y(t.margin[r],t.spacing[r])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,r=this.renderer,n=this.chartWidth,i=this.chartHeight,o=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,c=e.plotBackgroundColor,u=e.plotBackgroundImage,l=this.plotLeft,f=this.plotTop,h=this.plotWidth,d=this.plotHeight,p=this.plotBox,m=this.clipRect,b=this.clipBox,v=this.chartBackground,g=this.plotBackground,y=this.plotBorder,w="animate";if(v||(this.chartBackground=v=r.rect().addClass("highcharts-background").add(),w="attr"),o)var x=t=v.strokeWidth();else t=(x=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(x||v["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=x),v.attr(s).shadow(e.shadow);v[w]({x:t/2,y:t/2,width:n-t-x%2,height:i-t-x%2,r:e.borderRadius}),w="animate",g||(w="attr",this.plotBackground=g=r.rect().addClass("highcharts-plot-background").add()),g[w](p),o||(g.attr({fill:c||"none"}).shadow(e.plotShadow),u&&(a?(u!==a.attr("href")&&a.attr("href",u),a.animate(p)):this.plotBGImage=r.image(u,l,f,h,d).add())),m?m.animate({width:b.width,height:b.height}):this.clipRect=r.clipRect(b),w="animate",y||(w="attr",this.plotBorder=y=r.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[w](y.crisp({x:l,y:f,width:h,height:d},-y.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,r,n=this,i=n.options.chart,o=n.options.series;["inverted","angular","polar"].forEach((function(a){for(e=M[i.type||i.defaultSeriesType],r=i[a]||e&&e.prototype[a],t=o&&o.length;!r&&t--;)(e=M[o[t].type])&&e.prototype[a]&&(r=!0);n[a]=r}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var r=e.options.linkedTo;q(r)&&(r=":previous"===r?t.series[e.index-1]:t.get(r))&&r.linkedParent!==e&&(r.linkedSeries.push(e),e.linkedParent=r,r.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,r.options.visible,e.visible))})),B(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(r){var n=N(e.style,r.style),i=X(n.left)+t.plotLeft,o=X(n.top)+t.plotTop+12;delete n.left,delete n.top,t.renderer.text(r.html,i,o).attr({zIndex:2}).css(n).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,r=this.renderer,n=this.options,i=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new o(this,n.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),n=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var c=1.1<n/this.plotWidth,u=1.05<s/this.plotHeight;(c||u)&&(t.forEach((function(t){(t.horiz&&c||!t.horiz&&u)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?i(t):e&&e.length&&i(e),this.seriesGroup||(this.seriesGroup=r.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,r=V(!0,this.options.credits,t);r.enabled&&!this.credits&&(this.credits=this.renderer.text(r.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){r.href&&(S.location.href=r.href)})).attr({align:r.position.align,zIndex:8}),e.styledMode||this.credits.css(r.style),this.credits.add().align(r.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,r=e.axes,n=e.series,o=e.container,a=o&&o.parentNode;for(B(e,"destroy"),e.renderer.forExport?L(w,e):w[e.index]=void 0,i.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),K(e),t=r.length;t--;)r[t]=r[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=n.length;t--;)n[t]=n[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var r=e[t];r&&r.destroy&&(e[t]=r.destroy())})),o&&(o.innerHTML=p.emptyHTML,K(o),a&&R(o)),G(e,(function(t,r){delete e[r]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(H(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),B(t,"beforeRender"),c&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new c(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),B(this,"load"),B(this,"render"),D(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},t.prototype.addSeries=function(t,e,r){var n,i=this;return t&&(e=Y(e,!0),B(i,"addSeries",{options:t},(function(){n=i.initSeries(t),i.isDirtyLegend=!0,i.linkSeries(),n.enabledDataSorting&&n.setData(t.data,!1),B(i,"afterAddSeries",{series:n}),e&&i.redraw(r)}))),n},t.prototype.addAxis=function(t,e,r,n){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:r,animation:n})},t.prototype.addColorAxis=function(t,e,r){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:r})},t.prototype.createAxis=function(t,r){return t=new e(this,V(r.axis,{index:this[t].length,isX:"xAxis"===t})),Y(r.redraw,!0)&&this.redraw(r.animation),t},t.prototype.showLoading=function(t){var e=this,r=e.options,n=r.loading,i=function(){o&&P(o,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},o=e.loadingDiv,a=e.loadingSpan;o||(e.loadingDiv=o=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=T("span",{className:"highcharts-loading-inner"},null,o),C(e,"redraw",i)),o.className="highcharts-loading",p.setElementHTML(a,Y(t,r.lang.loading,"")),e.styledMode||(P(o,N(n.style,{zIndex:10})),P(a,n.labelStyle),e.loadingShown||(P(o,{opacity:0,display:""}),m(o,{opacity:n.style.opacity||.5},{duration:n.showDuration||0}))),e.loadingShown=!0,i()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){P(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,r,n){var i,o,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},c=t.isResponsiveOptions,u=[];B(a,"update",{options:t}),c||a.setResponsive(!1,!0),t=A(t,a.options),a.userOptions=V(a.userOptions,t);var l=t.chart;if(l){if(V(!0,a.options.chart,l),"className"in l&&a.setClassName(l.className),"reflow"in l&&a.setReflow(l.reflow),"inverted"in l||"polar"in l||"type"in l){a.propFromSeries();var f=!0}"alignTicks"in l&&(f=!0),"events"in l&&y(this,l),G(l,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(i=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(c?a.isDirtyBox=!0:o=!0)})),!a.styledMode&&l.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===E&&(this.time=new h(t.time)),V(!0,a.options.time,t.time)),G(t,(function(e,r){a[r]&&"function"===typeof a[r].update?a[r].update(e,!1):"function"===typeof a[s[r]]?a[s[r]](e):"colors"!==r&&-1===a.collectionsWithUpdate.indexOf(r)&&V(!0,a.options[r],t[r]),"chart"!==r&&-1!==a.propsRequireUpdateSeries.indexOf(r)&&(i=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var n=[];a[e].forEach((function(t,e){t.options.isInternal||n.push(Y(t.options.index,e))})),Z(t[e]).forEach((function(t,i){var o,s=D(t.id);s&&(o=a.get(t.id)),!o&&a[e]&&(o=a[e][n?n[i]:i])&&s&&D(o.options.id)&&(o=void 0),o&&o.coll===e&&(o.update(t,!1),r&&(o.touched=!0)),!o&&r&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),r&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:u.push(t)}))}})),u.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),f&&a.axes.forEach((function(t){t.update({},!1)})),i&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),f=l&&l.width,l=l&&(q(l.height)?$(l.height,f||a.chartWidth):l.height),o||U(f)&&f!==a.chartWidth||U(l)&&l!==a.chartHeight?a.setSize(f,l,n):Y(e,!0)&&a.redraw(n),B(a,"afterUpdate",{options:t,redraw:e,animation:n})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,r=k.lang,n=e.options.chart.resetZoomButton,i=n.theme,o=i.states,a="chart"===n.relativeTo||"spacingBox"===n.relativeTo?null:"scrollablePlotBox";B(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(r.resetZoom,null,null,t,i,o&&o.hover).attr({align:n.position.align,title:r.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(n.position,!1,a)})),B(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){B(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,r=this,n=r.pointer,i=r.inverted?n.mouseDownX:n.mouseDownY,o=!1;!t||t.resetSelection?(r.axes.forEach((function(t){e=t.zoom()})),n.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=r.inverted?a.left:a.top,c=r.inverted?s+a.width:s+a.height,u=a.isXAxis,l=!1;(!u&&i>=s&&i<=c||u||!D(i))&&(l=!0),n[u?"zoomX":"zoomY"]&&l&&(e=a.zoom(t.min,t.max),a.displayBtn&&(o=!0))}));var a=r.resetZoomButton;o&&!a?r.showResetZoom():!o&&W(a)&&(r.resetZoomButton=a.destroy()),e&&r.redraw(Y(r.options.chart.animation,t&&t.animation,100>r.pointCount))},t.prototype.pan=function(t,e){var r=this,n=r.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var i=r.options.chart,o=r.options.mapNavigation&&r.options.mapNavigation.enabled;i&&i.panning&&(i.panning=e);var a,s=e.type;B(this,"pan",{originalEvent:t},(function(){n&&n.forEach((function(t){t.setState()}));var e=r.xAxis;"xy"===s?e=e.concat(r.yAxis):"y"===s&&(e=r.yAxis);var i={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var n=e.horiz,c=t[n?"chartX":"chartY"],u=r[n=n?"mouseDownX":"mouseDownY"],l=e.minPointOffset||0,f=e.reversed&&!r.inverted||!e.reversed&&r.inverted?-1:1,h=e.getExtremes(),d=e.toValue(u-c,!0)+l*f,p=e.toValue(u+e.len-c,!0)-(l*f||e.isXAxis&&e.pointRangePadding||0),m=p<d;f=e.hasVerticalPanning(),u=m?p:d,d=m?d:p;var b=e.panningState;!f||e.isXAxis||b&&!b.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),b||(b={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),U(e.dataMin)&&U(e.dataMax)&&(b.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,b.startMin),b.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,b.startMax))})),f=Math.min(Y(b&&b.startMin,h.dataMin),l?h.min:e.toValue(e.toPixels(h.min)-e.minPixelPadding)),p=Math.max(Y(b&&b.startMax,h.dataMax),l?h.max:e.toValue(e.toPixels(h.max)+e.minPixelPadding)),e.panningState=b,e.isOrdinal||(0<(l=f-u)&&(d+=l,u=f),0<(l=d-p)&&(d=p,u-=l),e.series.length&&u!==h.min&&d!==h.max&&u>=f&&d<=p&&(e.setExtremes(u,d,!1,!1,{trigger:"pan"}),r.resetZoomButton||o||u===f||d===p||!s.match("y")||(r.showResetZoom(),e.displayBtn=!1),a=!0),i[n]=c)}})),G(i,(function(t,e){r[e]=t})),a&&r.redraw(!1),P(r.container,{cursor:"move"})}))},t}(),N(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(r,"Core/Legend/LegendSymbol.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.merge,n=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,i=t.symbolWidth,o=t.symbolHeight,a=o/2,s=this.chart.renderer,c=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var u={},l=e.marker;this.chart.styledMode||(u={"stroke-width":e.lineWidth||0},e.dashStyle&&(u.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",i,t]]).addClass("highcharts-graph").attr(u).add(c),l&&!1!==l.enabled&&i&&(e=Math.min(n(l.radius,a),a),0===this.symbol.indexOf("url")&&(l=r(l,{width:o,height:o}),e=0),this.legendSymbol=i=s.symbol(this.symbol,i/2-e,t-e,2*e,2*e,l).addClass("highcharts-point").add(c),i.isMarker=!0)},t.drawRectangle=function(t,e){var r=t.symbolHeight,i=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(i?(t.symbolWidth-r)/2:0,t.baseline-r+1,i?r:t.symbolWidth,r,n(t.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(r,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(r,"Core/Series/Series.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Point.js"],r["Core/Series/SeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c,u){var l=t.animObject,f=t.setAnimation,h=e.defaultOptions,d=r.registerEventOptions,p=n.hasTouch,m=n.svg,b=n.win,v=s.seriesTypes,g=u.addEvent,y=u.arrayMax,w=u.arrayMin,x=u.clamp,O=u.cleanRecursively,_=u.correctFloat,S=u.defined,k=u.erase,E=u.error,M=u.extend,C=u.find,j=u.fireEvent,A=u.getNestedProperty,T=u.isArray,P=u.isNumber,D=u.isString,R=u.merge,L=u.objectEach,I=u.pick,N=u.removeEvent,F=u.splat,B=u.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){j(this,"init",{options:e});var r=this,n=t.series;this.eventsToUnbind=[],r.chart=t,r.options=r.setOptions(e),e=r.options,r.linkedSeries=[],r.bindAxes(),M(r,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),d(this,e);var i,o=e.events;(o&&o.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(t){r[t+"Data"]||(r[t+"Data"]=[])})),r.isCartesian&&(t.hasCartesianSeries=!0),n.length&&(i=n[n.length-1]),r._i=I(i&&i._i,-1)+1,r.opacity=r.options.opacity,t.orderSeries(this.insert(n)),e.dataSorting&&e.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(e.data,!1),j(this,"afterInit")},t.prototype.is=function(t){return v[t]&&this instanceof v[t]},t.prototype.insert=function(t){var e,r=this.options.index;if(P(r)){for(e=t.length;e--;)if(r>=I(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return I(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,r=e.options,n=e.chart;j(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(i){var o=0;n[i].forEach((function(n){t=n.options,(r[i]===o&&!t.isInternal||"undefined"!==typeof r[i]&&r[i]===t.id||"undefined"===typeof r[i]&&0===t.index)&&(e.insert(n.series),e[i]=n,n.isDirty=!0),t.isInternal||o++})),e[i]||e.optionalAxis===i||E(18,!0,n)}))})),j(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var r=t.series,n=arguments,i=P(e)?function(n){var i="y"===n&&r.toYData?r.toYData(t):t[n];r[n+"Data"][e]=i}:function(t){Array.prototype[e].apply(r[t+"Data"],Array.prototype.slice.call(n,2))};r.parallelArrays.forEach(i)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,r=this.options,n=r.pointIntervalUnit,i=r.relativeXValue,o=this.chart.time,a=this.xIncrement;return a=I(a,r.pointStart,0),this.pointInterval=e=I(this.pointInterval,r.pointInterval,1),i&&P(t)&&(e*=t),n&&(r=new o.Date(a),"day"===n?o.set("Date",r,o.get("Date",r)+e):"month"===n?o.set("Month",r,o.get("Month",r)+e):"year"===n&&o.set("FullYear",r,o.get("FullYear",r)+e),e=r.getTime()-a),i&&P(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;M(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),S(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,r=e.options,n=r.plotOptions,i=e.userOptions||{};t=R(t),e=e.styledMode;var o={plotOptions:n,userOptions:t};j(this,"setOptions",o);var a=o.plotOptions[this.type],s=i.plotOptions||{};return this.userOptions=o.userOptions,i=R(a,n.series,i.plotOptions&&i.plotOptions[this.type],t),this.tooltipOptions=R(h.tooltip,h.plotOptions.series&&h.plotOptions.series.tooltip,h.plotOptions[this.type].tooltip,r.tooltip.userOptions,n.series&&n.series.tooltip,n[this.type].tooltip,t.tooltip),this.stickyTracking=I(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||i.stickyTracking),null===a.marker&&delete i.marker,this.zoneAxis=i.zoneAxis,n=this.zones=(i.zones||[]).slice(),!i.negativeColor&&!i.negativeFillColor||i.zones||(r={value:i[this.zoneAxis+"Threshold"]||i.threshold||0,className:"highcharts-negative"},e||(r.color=i.negativeColor,r.fillColor=i.negativeFillColor),n.push(r)),n.length&&S(n[n.length-1].value)&&n.push(e?{}:{color:this.color,fillColor:this.fillColor}),j(this,"afterSetOptions",{options:i}),i},t.prototype.getName=function(){return I(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,r){var n=this.chart,i=this.userOptions,o=t+"Index",a=t+"Counter",s=r?r.length:I(n.options.chart[t+"Count"],n[t+"Count"]);if(!e){var c=I(i[o],i["_"+o]);S(c)||(n.series.length||(n[a]=0),i["_"+o]=c=n[a]%s,n[a]+=1),r&&(e=r[c])}"undefined"!==typeof c&&(this[o]=c),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||h.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var r,n,i=t.id,a=t.x,s=this.points,c=this.options.dataSorting;if(i)(c=this.chart.get(i))instanceof o&&(r=c);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(r=function(e){return!e.touched&&e.index===t.index},c&&c.matchByName?r=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(r=function(e){return!e.touched&&e.options.x===t.x}),!(r=C(s,r))))return;if(r){var u=r&&r.index;"undefined"!==typeof u&&(n=!0)}return"undefined"===typeof u&&P(a)&&(u=this.xData.indexOf(a,e)),-1!==u&&"undefined"!==typeof u&&this.cropped&&(u=u>=this.cropStart?u-this.cropStart:u),!n&&P(u)&&s[u]&&s[u].touched&&(u=void 0),u},t.prototype.updateData=function(t,e){var r,n,i,o=this.options,a=o.dataSorting,s=this.points,c=[],u=this.requireSorting,l=t.length===s.length,f=!0;if(this.xIncrement=null,t.forEach((function(t,e){var n=S(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},f=n.x;n.id||P(f)?(-1===(n=this.findPointIndex(n,i))||"undefined"===typeof n?c.push(t):s[n]&&t!==o.data[n]?(s[n].update(t,!1,null,!1),s[n].touched=!0,u&&(i=n+1)):s[n]&&(s[n].touched=!0),(!l||e!==n||a&&a.enabled||this.hasDerivedData)&&(r=!0)):c.push(t)}),this),r)for(t=s.length;t--;)(n=s[t])&&!n.touched&&n.remove&&n.remove(!1,e);else!l||a&&a.enabled?f=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),c.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!f&&(c.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,r,n){var i=this,o=i.points,a=o&&o.length||0,s=i.options,c=i.chart,u=s.dataSorting,l=i.xAxis,f=s.turboThreshold,h=this.xData,d=this.yData,p=i.pointArrayMap;p=p&&p.length;var m,b=s.keys,v=0,g=1,y=null,w=(t=t||[]).length;if(e=I(e,!0),u&&u.enabled&&(t=this.sortData(t)),!1!==n&&w&&a&&!i.cropped&&!i.hasGroupedData&&i.visible&&!i.isSeriesBoosting&&(m=this.updateData(t,r)),!m){if(i.xIncrement=null,i.colorCounter=0,this.parallelArrays.forEach((function(t){i[t+"Data"].length=0})),f&&w>f)if(y=i.getFirstValidPoint(t),P(y))for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else if(T(y))if(p)if(y.length===p)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r];else for(r=0;r<w;r++)n=t[r],h[r]=n[0],d[r]=n.slice(1,p+1);else if(b&&(v=0<=(v=b.indexOf("x"))?v:0,g=0<=(g=b.indexOf("y"))?g:1),1===y.length&&(g=0),v===g)for(r=0;r<w;r++)h[r]=this.autoIncrement(),d[r]=t[r][g];else for(r=0;r<w;r++)n=t[r],h[r]=n[v],d[r]=n[g];else E(12,!1,c);else for(r=0;r<w;r++)"undefined"!==typeof t[r]&&(n={series:i},i.pointClass.prototype.applyOptions.apply(n,[t[r]]),i.updateParallelArrays(n,r));for(d&&D(d[0])&&E(14,!0,c),i.data=[],i.options.data=i.userOptions.data=t,r=a;r--;)o[r]&&o[r].destroy&&o[r].destroy();l&&(l.minRange=l.userMinRange),i.isDirty=c.isDirtyBox=!0,i.isDirtyData=!!o,r=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&c.redraw(r)},t.prototype.sortData=function(t){var e=this,r=e.options.dataSorting.sortKey||"y",n=function(t,e){return S(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(r,i){t[i]=n(e,r),t[i].index=i}),this),t.concat().sort((function(t,e){return t=A(r,t),(e=A(r,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var r=e.options,i=r.data;r.dataSorting&&r.dataSorting.enabled||!i||(i.forEach((function(r,o){i[o]=n(e,r),t[o]&&(i[o].x=t[o].x,i[o].index=o)})),e.setData(i,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,r=this.options,n=r.cropThreshold,i=t||this.getExtremesFromAll||r.getExtremesFromAll,o=this.isCartesian;t=e&&e.val2lin,r=!(!e||!e.logarithmic);var a=0,s=this.xData,c=this.yData,u=this.requireSorting,l=!1,f=s.length;if(e){var h=(l=e.getExtremes()).min,d=l.max;l=e.categories&&!e.names.length}if(o&&this.sorted&&!i&&(!n||f>n||this.forceCrop))if(s[f-1]<h||s[0]>d)s=[],c=[];else if(this.yData&&(s[0]<h||s[f-1]>d)){var p=this.cropData(this.xData,this.yData,h,d);s=p.xData,c=p.yData,a=p.start,p=!0}for(n=s.length||1;--n;)if(0<(e=r?t(s[n])-t(s[n-1]):s[n]-s[n-1])&&("undefined"===typeof m||e<m))var m=e;else 0>e&&u&&!l&&(E(15,!1,this.chart),u=!1);return{xData:s,yData:c,cropped:p,cropStart:a,closestPointRange:m}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,j(this,"afterProcessData")},t.prototype.cropData=function(t,e,r,n,i){var o,a=t.length,s=0,c=a;for(i=I(i,this.cropShoulder),o=0;o<a;o++)if(t[o]>=r){s=Math.max(0,o-i);break}for(r=o;r<a;r++)if(t[r]>n){c=r+i;break}return{xData:t.slice(s,c),yData:e.slice(s,c),start:s,end:c}},t.prototype.generatePoints=function(){var t=this.options,e=t.data,r=this.processedXData,n=this.processedYData,i=this.pointClass,o=r.length,a=this.cropStart||0,s=this.hasGroupedData,c=t.keys,u=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var l,f,h=this.data;if(!h&&!s){var d=[];d.length=e.length,h=this.data=d}for(c&&s&&(this.options.keys=!1),f=0;f<o;f++){if(d=a+f,s){var p=(new i).init(this,[r[f]].concat(F(n[f])));p.dataGroup=this.groupMap[t+f],p.dataGroup.options&&(p.options=p.dataGroup.options,M(p,p.dataGroup.options),delete p.dataLabels)}else(p=h[d])||"undefined"===typeof e[d]||(h[d]=p=(new i).init(this,e[d],r[f]));p&&(p.index=s?t+f:d,u[f]=p)}if(this.options.keys=c,h&&(o!==(l=h.length)||s))for(f=0;f<l;f++)f!==a||s||(f+=o),h[f]&&(h[f].destroyElements(),h[f].plotX=void 0);this.data=h,this.points=u,j(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:w(t),max:y(t)}},t.prototype.getExtremes=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.processedXData||this.xData,o=[],a=this.requireSorting?this.cropShoulder:0;n=!!n&&n.positiveValuesOnly;var s,c=0,u=0,l=0,f=(t=t||this.stackedYData||this.processedYData||[]).length;if(r){var h=r.getExtremes();c=h.min,u=h.max}for(s=0;s<f;s++){var d=i[s];h=t[s];var p=(P(h)||T(h))&&(h.length||0<h||!n);if(d=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!r||(i[s+a]||d)>=c&&(i[s-a]||d)<=u,p&&d)if(p=h.length)for(;p--;)P(h[p])&&(o[l++]=h[p]);else o[l++]=h}return t={activeYData:o,dataMin:w(o),dataMax:y(o)},j(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,r=0,n=null;null===n&&r<e;)n=t[r],r++;return n},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,r=this.options,n=r.stacking,i=this.xAxis,o=i.categories,a=this.enabledDataSorting,s=this.yAxis,c=this.points,u=c.length,l=this.pointPlacementToXValue(),f=!!l,h=r.threshold,d=r.startFromThreshold?h:0,p=this.zoneAxis||"y",m=Number.MAX_VALUE;for(t=0;t<u;t++){var b=c[t],v=b.x,g=void 0,y=void 0,w=b.y,O=b.low,k=n&&s.stacking&&s.stacking.stacks[(this.negStacks&&w<(d?0:h)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(w)||i.positiveValuesOnly&&!i.validatePositiveValue(v))&&(b.isNull=!0),b.plotX=e=_(x(i.translate(v,0,0,0,1,l,"flags"===this.type),-1e5,1e5)),n&&this.visible&&k&&k[v]){var E=this.getStackIndicator(E,v,this.index);b.isNull||(y=(g=k[v]).points[E.key])}if(T(y)&&(O=y[0],w=y[1],O===d&&E.key===k[v].base&&(O=I(P(h)&&h,s.min)),s.positiveValuesOnly&&0>=O&&(O=null),b.total=b.stackTotal=g.total,b.percentage=g.total&&b.y/g.total*100,b.stackY=w,this.irregularWidths||g.setOffset(this.pointXOffset||0,this.barW||0)),b.yBottom=S(O)?x(s.translate(O,0,1,0,1),-1e5,1e5):null,this.dataModify&&(w=this.dataModify.modifyValue(w,t)),b.plotY=void 0,P(w)&&("undefined"!==typeof(g=s.translate(w,!1,!0,!1,!0))&&(b.plotY=x(g,-1e5,1e5))),b.isInside=this.isPointInside(b),b.clientX=f?_(i.translate(v,0,0,0,1,l)):e,b.negative=b[p]<(r[p+"Threshold"]||h||0),b.category=o&&"undefined"!==typeof o[b.x]?o[b.x]:b.x,!b.isNull&&!1!==b.visible){"undefined"!==typeof M&&(m=Math.min(m,Math.abs(e-M)));var M=e}b.zone=this.zones.length?b.getZone():void 0,!b.graphic&&this.group&&a&&(b.isNew=!0)}this.closestPointRangePx=m,j(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,r){var n=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,{inverted:n.inverted}))&&(!1!==t.visible&&(r||!t.isNull))}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis,n=R(t.clipBox);return e&&e.len!==t.plotSizeX&&(n.width=e.len),r&&r.len!==t.plotSizeY&&(n.height=r.len),n},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,r=this.markerGroup,n=t.sharedClips;t=t.renderer;var i=this.getClipBox(),o=this.getSharedClipKey(),a=n[o];a?a.animate(i):n[o]=a=t.clipRect(i),e&&e.clip(!1===this.options.clip?void 0:a),r&&r.clip()},t.prototype.animate=function(t){var e=this.chart,r=this.group,n=this.markerGroup,i=e.inverted,o=l(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=e.sharedClips[a],c=e.sharedClips[a+"m"];if(t&&r)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,i&&(o.x=e.plotHeight),s=e.renderer.clipRect(o),e.sharedClips[a]=s,c=e.renderer.clipRect({x:i?(e.plotSizeX||0)+99:-99,y:i?-e.plotLeft:-e.plotTop,width:99,height:i?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=c),r.clip(s),n&&n.clip(c);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var u=o.step;n&&n.element.childNodes.length&&(o.step=function(t,e){u&&u.apply(e,arguments),c&&c.element&&c.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,o)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),L(this.chart.sharedClips,(function(e,r,n){e&&!t.chart.container.querySelector('[clip-path="url(#'+e.id+')"]')&&(e.destroy(),delete n[r])})),this.finishedAnimating=!0,j(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,r=this.points,n=this.chart,i=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=I(i.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(t=0;t<r.length;t++){var c=r[t],u=(e=c.graphic)?"animate":"attr",l=c.marker||{},f=!!c.marker;if((s&&"undefined"===typeof l.enabled||l.enabled)&&!c.isNull&&!1!==c.visible){var h=I(l.symbol,this.symbol,"rect"),d=this.markerAttribs(c,c.selected&&"select");this.enabledDataSorting&&(c.startXPos=a.reversed?-(d.width||0):a.width);var p=!1!==c.isInside;e?e[p?"show":"hide"](p).animate(d):p&&(0<(d.width||0)||c.hasImage)&&(c.graphic=e=n.renderer.symbol(h,d.x,d.y,d.width,d.height,f?l:i).add(o),this.enabledDataSorting&&n.hasRendered&&(e.attr({x:c.startXPos}),u="animate")),e&&"animate"===u&&e[p?"show":"hide"](p).animate(d),e&&!n.styledMode&&e[u](this.pointAttribs(c,c.selected&&"select")),e&&e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var r=this.options,n=r.marker,i=t.marker||{},o=i.symbol||n.symbol,a=I(i.radius,n.radius);return e&&(n=n.states[e],e=i.states&&i.states[e],a=I(e&&e.radius,n&&n.radius,a+(n&&n.radiusPlus||0))),t.hasImage=o&&0===o.indexOf("url"),t.hasImage&&(a=0),t={x:r.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var r=this.options.marker,n=t&&t.options,i=n&&n.marker||{},o=n&&n.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,c=this.color;return t=I(i.lineWidth,r.lineWidth),n=1,c=o||s||a||c,o=i.fillColor||r.fillColor||c,a=i.lineColor||r.lineColor||c,e=e||"normal",r=r.states[e]||{},e=i.states&&i.states[e]||{},t=I(e.lineWidth,r.lineWidth,t+I(e.lineWidthPlus,r.lineWidthPlus,0)),o=e.fillColor||r.fillColor||o,{stroke:a=e.lineColor||r.lineColor||a,"stroke-width":t,fill:o,opacity:n=I(e.opacity,r.opacity,n)}},t.prototype.destroy=function(t){var e,r,n,i=this,o=i.chart,a=/AppleWebKit\/533/.test(b.navigator.userAgent),s=i.data||[];for(j(i,"destroy"),this.removeEvents(t),(i.axisTypes||[]).forEach((function(t){(n=i[t])&&n.series&&(k(n.series,i),n.isDirty=n.forceRedraw=!0)})),i.legendItem&&i.chart.legend.destroyItem(i),e=s.length;e--;)(r=s[e])&&r.destroy&&r.destroy();i.clips&&i.clips.forEach((function(t){return t.destroy()})),u.clearTimeout(i.animationTimeout),L(i,(function(t,e){t instanceof c&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),o.hoverSeries===i&&(o.hoverSeries=void 0),k(o.series,i),o.orderSeries(),L(i,(function(e,r){t&&"hcEvents"===r||delete i[r]}))},t.prototype.applyZones=function(){var t,e,r,n,i,o,a,s,c=this,u=this.chart,l=u.renderer,f=this.zones,h=this.clips||[],d=this.graph,p=this.area,m=Math.max(u.chartWidth,u.chartHeight),b=this[(this.zoneAxis||"y")+"Axis"],v=u.inverted,g=!1;if(f.length&&(d||p)&&b&&"undefined"!==typeof b.min){var y=b.reversed,w=b.horiz;d&&!this.showLine&&d.hide(),p&&p.hide();var O=b.getExtremes();f.forEach((function(f,_){t=y?w?u.plotWidth:0:w?0:b.toPixels(O.min)||0,t=x(I(e,t),0,m),e=x(Math.round(b.toPixels(I(f.value,O.max),!0)||0),0,m),g&&(t=e=b.toPixels(O.max)),n=Math.abs(t-e),i=Math.min(t,e),o=Math.max(t,e),b.isXAxis?(r={x:v?o:i,y:0,width:n,height:m},w||(r.x=u.plotHeight-r.x)):(r={x:0,y:v?o:i,width:m,height:n},w&&(r.y=u.plotWidth-r.y)),v&&l.isVML&&(r=b.isXAxis?{x:0,y:y?i:o,height:r.width,width:u.chartWidth}:{x:r.y-u.plotLeft-u.spacingBox.x,y:0,width:r.height,height:u.chartHeight}),h[_]?h[_].animate(r):h[_]=l.clipRect(r),a=c["zone-area-"+_],s=c["zone-graph-"+_],d&&s&&s.clip(h[_]),p&&a&&a.clip(h[_]),g=f.value>O.max,c.resetZones&&0===e&&(e=void 0)})),this.clips=h}else c.visible&&(d&&d.show(!0),p&&p.show(!0))},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){r[e]&&(n.renderer.isVML&&r[e].attr({width:r.yAxis.len,height:r.xAxis.len}),r[e].width=r.yAxis.len,r[e].height=r.xAxis.len,r[e].invert(!r.isRadialSeries&&t))}))}var r=this,n=r.chart;r.xAxis&&(r.eventsToUnbind.push(g(n,"resize",e)),e(),r.invertGroups=e)},t.prototype.plotGroup=function(t,e,r,n,i){var o=this[t],a=!o;return r={visibility:r,zIndex:n||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(r.opacity=this.opacity),a&&(this[t]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(S(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(r)[a?"attr":"animate"](this.getPlotBox()),o},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,r=this.yAxis;return t.inverted&&(e=r,r=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:r?r.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||N(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,r=t.options,n=l(r.animation),i=t.visible?"inherit":"hidden",o=r.zIndex,a=t.hasRendered,s=e.seriesGroup,c=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?n.duration:0,j(this,"render");var u=t.plotGroup("group","series",i,o,s);t.markerGroup=t.plotGroup("markerGroup","markers",i,o,s),!1!==r.clip&&t.setClip(),t.animate&&e&&t.animate(!0),u.inverted=!!I(t.invertible,t.isCartesian)&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),t.animate&&e&&t.animate(),a||(e&&n.defer&&(e+=n.defer),t.animationTimeout=B((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,j(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,r=this.group,n=this.xAxis,i=this.yAxis;r&&(t.inverted&&r.attr({width:t.plotWidth,height:t.plotHeight}),r.animate({translateX:I(n&&n.left,t.plotLeft),translateY:I(i&&i.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var r=this.xAxis,n=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?r.len-t.chartY+r.pos:t.chartX-r.pos,plotY:i?n.len-t.chartX+n.pos:t.chartY-n.pos},e,t)},t.prototype.buildKDTree=function(t){this.buildingKdTree=!0;var e=this,r=-1<e.options.findNearestPointBy.indexOf("y")?2:1;delete e.kdTree,B((function(){e.kdTree=function t(r,n,i){var o=r&&r.length;if(o){var a=e.kdAxisArray[n%i];return r.sort((function(t,e){return t[a]-e[a]})),{point:r[o=Math.floor(o/2)],left:t(r.slice(0,o),n+1,i),right:t(r.slice(o+1),n+1,i)}}}(e.getValidPoints(null,!e.directTouch),r,r),e.buildingKdTree=!1}),e.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,r){var n=this,i=this.kdAxisArray[0],o=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<n.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(r),this.kdTree)return function t(e,r,s,c){var u=r.point,l=n.kdAxisArray[s%c],f=u,h=S(e[i])&&S(u[i])?Math.pow(e[i]-u[i],2):null,d=S(e[o])&&S(u[o])?Math.pow(e[o]-u[o],2):null;return d=(h||0)+(d||0),u.dist=S(d)?Math.sqrt(d):Number.MAX_VALUE,u.distX=S(h)?Math.sqrt(h):Number.MAX_VALUE,h=0>(l=e[l]-u[l])?"right":"left",r[d=0>l?"left":"right"]&&(f=(d=t(e,r[d],s+1,c))[a]<f[a]?d:u),r[h]&&Math.sqrt(l*l)<f[a]&&(f=(e=t(e,r[h],s+1,c))[a]<f[a]?e:f),f}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,r=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=r.reversed?-.5:.5),P(t)?t*(e||r.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,r=this.xAxis,n=this.yAxis;return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=(n?n.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(r?r.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,r=e.trackByArea,n=[].concat(r?t.areaPath:t.graphPath),i=t.chart,o=i.pointer,a=i.renderer,s=i.options.tooltip.snap,c=t.tracker,u=function(e){i.hoverSeries!==t&&t.onMouseOver()},l="rgba(192,192,192,"+(m?1e-4:.002)+")";c?c.attr({d:n}):t.graph&&(t.tracker=a.path(n).attr({visibility:t.visible?"visible":"hidden",zIndex:2}).addClass(r?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),i.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:l,fill:r?l:"none","stroke-width":t.graph.strokeWidth()+(r?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",u).on("mouseout",(function(t){o.onTrackerMouseOut(t)})),e.cursor&&!i.styledMode&&t.css({cursor:e.cursor}),p)&&t.on("touchstart",u)}))),j(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,r,n,i){var o=this.options,a=this.data,s=this.chart,c=this.xAxis;c=c&&c.hasNames&&c.names;var u,l=o.data,f=this.xData;e=I(e,!0);var h={series:this};this.pointClass.prototype.applyOptions.apply(h,[t]);var d=h.x,p=f.length;if(this.requireSorting&&d<f[p-1])for(u=!0;p&&f[p-1]>d;)p--;this.updateParallelArrays(h,"splice",p,0,0),this.updateParallelArrays(h,p),c&&h.name&&(c[d]=h.name),l.splice(p,0,t),u&&(this.data.splice(p,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),r&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(h,"shift"),l.shift())),!1!==i&&j(this,"addPoint",{point:h}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(n)},t.prototype.removePoint=function(t,e,r){var n=this,i=n.data,o=i[t],a=n.points,s=n.chart,c=function(){a&&a.length===i.length&&a.splice(t,1),i.splice(t,1),n.options.data.splice(t,1),n.updateParallelArrays(o||{series:n},"splice",t,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,e&&s.redraw()};f(r,s),e=I(e,!0),o?o.firePointEvent("remove",null,c):c()},t.prototype.remove=function(t,e,r,n){function i(){o.destroy(n),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),I(t,!0)&&a.redraw(e)}var o=this,a=o.chart;!1!==r?j(o,"remove",null,i):i()},t.prototype.update=function(t,e){t=O(t,this.userOptions),j(this,"update",{options:t});var r,n=this,i=n.chart,o=n.userOptions,a=n.initialType||n.type,s=i.options.plotOptions,c=v[a].prototype,u=n.finishedAnimating&&{animation:!1},l={},f=["eventOptions","navigatorSeries","baseSeries"],h=t.type||o.type||i.options.chart.type,d=!(this.hasDerivedData||h&&h!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(h=h||a,d&&(f.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&f.push("area","graph"),n.parallelArrays.forEach((function(t){f.push(t+"Data")})),t.data&&(t.dataSorting&&M(n.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=R(o,u,{index:"undefined"===typeof o.index?n.index:o.index,pointStart:I(s&&s.series&&s.series.pointStart,o.pointStart,n.xData[0])},!d&&{data:n.options.data},t),d&&t.data&&(t.data=n.options.data),(f=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(f)).forEach((function(t){f[t]=n[t],delete n[t]})),s=!1,v[h]){if(s=h!==n.type,n.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(n,v[h].prototype);else{for(r in u=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,c)n[r]=void 0;M(n,v[h].prototype),u?n.hcEvents=u:delete n.hcEvents}}else E(17,!0,i,{missingModuleFor:h});if(f.forEach((function(t){n[t]=f[t]})),n.init(i,t),d&&this.points){var p=n.options;!1===p.visible?(l.graphic=1,l.dataLabel=1):n._hasPointLabels||(t=p.marker,c=p.dataLabels,!t||!1!==t.enabled&&(o.marker&&o.marker.symbol)===t.symbol||(l.graphic=1),c&&!1===c.enabled&&(l.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(l).length&&t.destroyElements(l),!1===p.showInLegend&&t.legendItem&&i.legend.destroyItem(t))}),this)}n.initialType=a,i.linkSeries(),s&&n.linkedSeries.length&&(n.isDirtyData=!0),j(this,"afterUpdate"),I(e,!0)&&i.redraw(!!d&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],r=this.chart.options.plotOptions,n=this.userOptions[t];return n?e!==n:e!==I(r&&r[this.type]&&r[this.type][t],r&&r.series&&r.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&j(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,r=e.tooltip,n=e.hoverPoint;e.hoverSeries=null,n&&n.onMouseOut(),this&&t.events.mouseOut&&j(this,"mouseOut"),!r||this.stickyTracking||r.shared&&!this.noSharedTooltip||r.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var r=this,n=r.options,i=r.graph,o=n.inactiveOtherPoints,a=n.states,s=I(a[t||"normal"]&&a[t||"normal"].animation,r.chart.options.chart.animation),c=n.lineWidth,u=0,l=n.opacity;if(t=t||"",r.state!==t&&([r.group,r.markerGroup,r.dataLabelsGroup].forEach((function(e){e&&(r.state&&e.removeClass("highcharts-series-"+r.state),t&&e.addClass("highcharts-series-"+t))})),r.state=t,!r.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(c=a[t].lineWidth||c+(a[t].lineWidthPlus||0),l=I(a[t].opacity,l)),i&&!i.dashstyle)for(n={"stroke-width":c},i.animate(n,s);r["zone-graph-"+u];)r["zone-graph-"+u].animate(n,s),u+=1;o||[r.group,r.markerGroup,r.dataLabelsGroup,r.labelBySeries].forEach((function(t){t&&t.animate({opacity:l},s)}))}e&&o&&r.points&&r.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var r=this,n=r.chart,i=r.legendItem,o=n.options.chart.ignoreHiddenSeries,a=r.visible,s=(r.visible=t=r.options.visible=r.userOptions.visible="undefined"===typeof t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){r[t]&&r[t][s]()})),n.hoverSeries!==r&&(n.hoverPoint&&n.hoverPoint.series)!==r||r.onMouseOut(),i&&n.legend.colorizeItem(r,t),r.isDirty=!0,r.options.stacking&&n.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),r.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),o&&(n.isDirtyBox=!0),j(r,s),!1!==e&&n.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),j(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,r){return void 0===r&&(r={}),r.series=this,r.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,r)},t.defaultOptions=a,t}(),M(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=t,t})),e(r,"Extensions/ScrollablePlotArea.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o){var a=t.stop,s=o.addEvent,c=o.createElement,u=o.merge,l=o.pick;s(r,"afterSetChartSize",(function(t){var r=this.options.chart.scrollablePlotArea,n=r&&r.minWidth;if(r=r&&r.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var i={1:{name:"right",value:n}}}}else r&&(this.scrollablePixelsY=n=Math.max(0,r-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,i={2:{name:"bottom",value:n}});i&&!t.skipAxes&&this.axes.forEach((function(t){i[t.side]?t.getPlotLinePath=function(){var r=i[t.side].name,n=this[r];this[r]=n-i[t.side].value;var o=e.prototype.getPlotLinePath.apply(this,arguments);return this[r]=n,o}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(r,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),r.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=c("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=c("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=c("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},r.prototype.moveFixedElements=function(){var t,e=this.container,r=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&n.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===r.SVG_NS?r.box:r.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},r.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,r=e.scrollablePlotArea,n=i.getRendererType();t?(this.fixedDiv=c("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":l(r.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:e,height:n,viewBox:[0,0,e,n].join(" ")}),this.chartBackground.attr({width:e,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(r.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*r.scrollPositionX),r.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*r.scrollPositionY)),n=this.axisOffset,t=this.plotTop-n[0]-1,r=this.plotLeft-n[3]-1,e=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),u=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",o,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",o,e],["Z"]]:this.scrollablePixelsY?[["M",r,0],["L",r,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",r,u],["L",r,this.chartHeight],["L",n,this.chartHeight],["L",n,u],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(n,"show",(function(){this.chart.scrollableDirty=!0}))})),e(r,"Core/Axis/StackingAxis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=r.addEvent,a=r.destroyObjectProperties,s=r.fireEvent,c=r.isNumber,u=r.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;u(e,(function(t,r){a(t),e[r]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function r(){this.stacking||(this.stacking=new l(this))}var n=[];t.compose=function(t){return-1===n.indexOf(t)&&(n.push(t),o(t,"init",r),o(t,"destroy",e)),t};var l=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,r=e.series,n=e.options.reversedStacks,i=r.length;if(!e.isXAxis){for(this.usePercentage=!1,t=i;t--;){var o=r[n?t:i-t-1];o.setStackedPoints(),o.setGroupedPoints()}for(t=0;t<i;t++)r[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;u(t,(function(t){u(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||u(e,(function(e){u(e,(function(r,n){c(r.touched)&&r.touched<t.stacksTouched?(r.destroy(),delete e[n]):(r.total=null,r.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,r=e.renderer,n=this.stacks;t=i(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var o=this.stackTotalGroup=this.stackTotalGroup||r.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();o.translate(e.plotLeft,e.plotTop),u(n,(function(t){u(t,(function(t){t.render(o)}))})),o.animate({opacity:1},t)},t}();t.Additions=l}(n||(n={})),n})),e(r,"Extensions/Stacking.js",[r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Axis/StackingAxis.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=r.format,c=a.correctFloat,u=a.defined,l=a.destroyObjectProperties,f=a.isArray,h=a.isNumber,d=a.objectEach,p=a.pick,m=function(){function t(t,e,r,n,i){var o=t.chart.inverted;this.axis=t,this.isNegative=r,this.options=e=e||{},this.x=n,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=i,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(o?r?"left":"right":"center"),verticalAlign:e.verticalAlign||(o?"middle":r?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(o?r?"right":"left":"center")}return t.prototype.destroy=function(){l(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,r=this.options,n=r.format;n=n?s(n,this,e):r.formatter.call(this),this.label?this.label.attr({text:n,visibility:"hidden"}):(this.label=e.renderer.label(n,null,null,r.shape,null,null,r.useHTML,!1,"stack-labels"),n={r:r.borderRadius||0,text:n,rotation:r.rotation,padding:p(r.padding,5),visibility:"hidden"},e.styledMode||(n.fill=r.backgroundColor,n.stroke=r.borderColor,n["stroke-width"]=r.borderWidth,this.label.css(r.style)),this.label.attr(n),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,r,n,o){var a=this.axis,s=a.chart;n=a.translate(a.stacking.usePercentage?100:n||this.total,0,0,0,1),r=a.translate(r||0),r=u(n)&&Math.abs(n-r),t=p(o,s.xAxis[0].translate(this.x))+t,a=u(n)&&this.getStackBox(s,this,t,n,e,r,a),e=this.label,r=this.isNegative,t="justify"===p(this.options.overflow,"justify");var c=this.textAlign;e&&a&&(o=e.getBBox(),n=e.padding,c="left"===c?s.inverted?-n:n:"right"===c?o.width:s.inverted&&"center"===c?o.width/2:s.inverted?r?o.width+n:-n:o.width/2,r=s.inverted?o.height/2:r?-n:o.height,this.alignOptions.x=p(this.options.x,0),this.alignOptions.y=p(this.options.y,0),a.x-=c,a.y-=r,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+c-this.alignOptions.x,e.alignAttr.y+r-this.alignOptions.y)?e.show():(e.alignAttr.y=-9999,t=!1),t&&i.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,o,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),p(!t&&this.options.crop,!0)&&((s=h(e.x)&&h(e.y)&&s.isInsidePlot(e.x-n+e.width,e.y)&&s.isInsidePlot(e.x+n,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,r,n,i,o,a){var s=e.axis.reversed,c=t.inverted,u=a.height+a.pos-(c?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:c?e?n-a.right:n-o+a.pos-t.plotLeft:r+t.xAxis[0].transB-t.plotLeft,y:c?a.height-r-i:e?u-n-o:u-n,width:c?o:i,height:c?i:o}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(r){var n=r.xAxis&&r.xAxis.options||{};!r.options.stacking||!0!==r.visible&&!1!==t.options.chart.ignoreHiddenSeries||(r.stackKey=[r.type,p(r.options.stack,""),e?n.top:n.left,e?n.height:n.width].join())}))},o.compose(t),i.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?i.prototype.setStackedPoints.call(this,"group"):t&&d(t.stacks,(function(e,r){"group"===r.slice(-5)&&(d(e,(function(t){return t.destroy()})),delete t.stacks[r])}))},i.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var r=this.processedXData,n=this.processedYData,i=[],o=n.length,a=this.options,s=a.threshold,l=p(a.startFromThreshold&&s,0);a=a.stack;var h,d,b="-"+(t=t?this.type+","+e:this.stackKey),v=this.negStacks,g=this.yAxis,y=g.stacking.stacks,w=g.stacking.oldStacks;for(g.stacking.stacksTouched+=1,d=0;d<o;d++){var x=r[d],O=n[d],_=this.getStackIndicator(_,x,this.index),S=_.key,k=(h=v&&O<(l?0:s))?b:t;y[k]||(y[k]={}),y[k][x]||(w[k]&&w[k][x]?(y[k][x]=w[k][x],y[k][x].total=null):y[k][x]=new m(g,g.options.stackLabels,h,x,a)),k=y[k][x],null!==O?(k.points[S]=k.points[this.index]=[p(k.cumulative,l)],u(k.cumulative)||(k.base=S),k.touched=g.stacking.stacksTouched,0<_.index&&!1===this.singleStacks&&(k.points[S][0]=k.points[this.index+","+x+",0"][0])):k.points[S]=k.points[this.index]=null,"percent"===e?(h=h?t:b,v&&y[h]&&y[h][x]?(h=y[h][x],k.total=h.total=Math.max(h.total,k.total)+Math.abs(O)||0):k.total=c(k.total+(Math.abs(O)||0))):"group"===e?(f(O)&&(O=O[0]),null!==O&&(k.total=(k.total||0)+1)):k.total=c(k.total+(O||0)),k.cumulative="group"===e?(k.total||1)-1:p(k.cumulative,l)+(O||0),null!==O&&(k.points[S].push(k.cumulative),i[d]=k.cumulative,k.hasValidPoints=!0)}"percent"===e&&(g.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=i),g.stacking.oldStacks={}}},i.prototype.modifyStacks=function(){var t,e=this,r=e.stackKey,n=e.yAxis.stacking.stacks,i=e.processedXData,o=e.options.stacking;e[o+"Stacker"]&&[r,"-"+r].forEach((function(r){for(var a,s,c=i.length;c--;)a=i[c],t=e.getStackIndicator(t,a,e.index,r),(s=(a=n[r]&&n[r][a])&&a.points[t.key])&&e[o+"Stacker"](s,a,c)}))},i.prototype.percentStacker=function(t,e,r){e=e.total?100/e.total:0,t[0]=c(t[0]*e),t[1]=c(t[1]*e),this.stackedYData[r]=t[1]},i.prototype.getStackIndicator=function(t,e,r,n){return!u(t)||t.x!==e||n&&t.key!==n?t={x:e,index:0,key:n}:t.index++,t.key=[r,e,t.index].join(),t},n.StackItem=m,n.StackItem})),e(r,"Series/Line/LineSeries.js",[r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.defined,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.prototype.drawGraph=function(){var t=this,e=this.options,r=(this.gappedPath||this.getGraphPath).call(this),n=this.chart.styledMode,i=[["graph","highcharts-graph"]];n||i[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(i=t.getZonesGraphs(i)).forEach((function(i,o){var a=i[0],s=t[a],c=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:r.xMap,s.animate({d:r})):r.length&&(t[a]=s=t.chart.renderer.path(r).addClass(i[1]).attr({zIndex:1}).add(t.group)),s&&!n&&(a={stroke:i[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},i[3]?a.dashstyle=i[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[c](a).shadow(2>o&&e.shadow)),s&&(s.startX=r.xMap,s.isArea=r.isArea)}))},r.prototype.getGraphPath=function(t,e,r){var n,o=this,a=o.options,s=[],c=[],u=a.step,l=(t=t||o.points).reversed;return l&&t.reverse(),(u={right:1,center:2}[u]||u&&3)&&l&&(u=4-u),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!r))).forEach((function(l,f){var h=l.plotX,d=l.plotY,p=t[f-1];(l.leftCliff||p&&p.rightCliff)&&!r&&(n=!0),l.isNull&&!i(e)&&0<f?n=!a.connectNulls:l.isNull&&!e?n=!0:(0===f||n?f=[["M",l.plotX,l.plotY]]:o.getPointSpline?f=[o.getPointSpline(t,l,f)]:u?(f=1===u?[["L",p.plotX,d]]:2===u?[["L",(p.plotX+h)/2,p.plotY],["L",(p.plotX+h)/2,d]]:[["L",h,p.plotY]]).push(["L",h,d]):f=[["L",h,d]],c.push(l.x),u&&(c.push(l.x),2===u&&c.push(l.x)),s.push.apply(s,f),n=!1)})),s.xMap=c,o.graphPath=s},r.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,r){r=["zone-graph-"+r,"highcharts-graph highcharts-zone-graph-"+r+" "+(e.className||"")],this.chart.styledMode||r.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(r)}),this),t},r.defaultOptions=o(t.defaultOptions,{}),r}(t),e.registerSeriesType("line",r),r})),e(r,"Series/Area/AreaSeries.js",[r["Core/Color/Color.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=t.parse,a=r.seriesTypes.line;t=n.extend;var s=n.merge,c=n.objectEach,u=n.pick;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,r=this.areaPath,n=this.options,i=[["area","highcharts-area",this.color,n.fillColor]];this.zones.forEach((function(t,r){i.push(["zone-area-"+r,"highcharts-area highcharts-zone-area-"+r+" "+t.className,t.color||e.color,t.fillColor||n.fillColor])})),i.forEach((function(t){var i=t[0],a=e[i],s=a?"animate":"attr",c={};a?(a.endX=e.preventGraphAnimation?null:r.xMap,a.animate({d:r})):(c.zIndex=0,(a=e[i]=e.chart.renderer.path(r).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(c.fill=u(t[3],o(t[2]).setOpacity(u(n.fillOpacity,.75)).get())),a[s](c),a.startX=r.xMap,a.shiftUnit=n.step?2:1}))},e.prototype.getGraphPath=function(t){var e,r=a.prototype.getGraphPath,n=this.options,i=n.stacking,o=this.yAxis,s=[],c=[],l=this.index,f=o.stacking.stacks[this.stackKey],h=n.threshold,d=Math.round(o.getThreshold(n.threshold));n=u(n.connectNulls,"percent"===i);var p=function(e,r,n){var a=t[e];e=i&&f[a.x].points[l];var u=a[n+"Null"]||0;if(n=a[n+"Cliff"]||0,a=!0,n||u){var p=(u?e[0]:e[1])+n,m=e[0]+n;a=!!u}else!i&&t[r]&&t[r].isNull&&(p=m=h);"undefined"!==typeof p&&(c.push({plotX:b,plotY:null===p?d:o.getThreshold(p),isNull:a,isCliff:!0}),s.push({plotX:b,plotY:null===m?d:o.getThreshold(m),doCurve:!1}))};for(t=t||this.points,i&&(t=this.getStackPoints(t)),e=0;e<t.length;e++){i||(t[e].leftCliff=t[e].rightCliff=t[e].leftNull=t[e].rightNull=void 0);var m=t[e].isNull,b=u(t[e].rectPlotX,t[e].plotX),v=i?u(t[e].yBottom,d):d;m&&!n||(n||p(e,e-1,"left"),m&&!i&&n||(c.push(t[e]),s.push({x:e,plotX:b,plotY:v})),n||p(e,e+1,"right"))}return e=r.call(this,c,!0,!0),s.reversed=!0,(v=(m=r.call(this,s,!0,!0))[0])&&"M"===v[0]&&(m[0]=["L",v[1],v[2]]),(m=e.concat(m)).length&&m.push(["Z"]),r=r.call(this,c,!1,n),m.xMap=e.xMap,this.areaPath=m,r},e.prototype.getStackPoints=function(t){var e=this,r=[],n=[],i=this.xAxis,o=this.yAxis,a=o.stacking.stacks[this.stackKey],s={},l=o.series,f=l.length,h=o.options.reversedStacks?1:-1,d=l.indexOf(e);if(t=t||this.points,this.options.stacking){for(var p=0;p<t.length;p++)t[p].leftNull=t[p].rightNull=void 0,s[t[p].x]=t[p];c(a,(function(t,e){null!==t.total&&n.push(e)})),n.sort((function(t,e){return t-e}));var m=l.map((function(t){return t.visible}));n.forEach((function(t,c){var p,b,v=0;if(s[t]&&!s[t].isNull)r.push(s[t]),[-1,1].forEach((function(r){var i=1===r?"rightNull":"leftNull",o=0,u=a[n[c+r]];if(u)for(var v=d;0<=v&&v<f;){var g=l[v].index;(p=u.points[g])||(g===e.index?s[t][i]=!0:m[v]&&(b=a[t].points[g])&&(o-=b[1]-b[0])),v+=h}s[t][1===r?"rightCliff":"leftCliff"]=o}));else{for(var g=d;0<=g&&g<f;){if(p=a[t].points[l[g].index]){v=p[1];break}g+=h}v=u(v,0),v=o.translate(v,0,1,0,1),r.push({isNull:!0,plotX:i.translate(t,0,0,0,1),x:t,plotY:v,yBottom:v})}}))}return r},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(n.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),r.registerSeriesType("area",n),n})),e(r,"Series/Spline/SplineSeries.js",[r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e){var r=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=t.seriesTypes.line,i=e.merge,o=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getPointSpline=function(t,e,r){var n=e.plotX||0,i=e.plotY||0,a=t[r-1];if(r=t[r+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&r&&!r.isNull&&!1!==r.doCurve&&!e.isCliff){t=a.plotY||0;var s=r.plotX||0;r=r.plotY||0;var c=0,u=(1.5*n+(a.plotX||0))/2.5,l=(1.5*i+t)/2.5,f=(1.5*i+r)/2.5;(s=(1.5*n+s)/2.5)!==u&&(c=(f-l)*(s-n)/(s-u)+i-f),f+=c,(l+=c)>t&&l>i?f=2*i-(l=Math.max(t,i)):l<t&&l<i&&(f=2*i-(l=Math.min(t,i))),f>r&&f>i?l=2*i-(f=Math.max(r,i)):f<r&&f<i&&(l=2*i-(f=Math.min(r,i))),e.rightContX=s,e.rightContY=f}return e=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(u,n,0),o(l,i,0),n,i],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=i(n.defaultOptions),e}(n),t.registerSeriesType("spline",e),e})),e(r,"Series/AreaSpline/AreaSplineSeries.js",[r["Series/Area/AreaSeries.js"],r["Series/Spline/SplineSeries.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=t.prototype,s=i.extend,c=i.merge;return s((i=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(n,r),n.defaultOptions=c(e.defaultOptions,t.defaultOptions),n}(e)).prototype,{getGraphPath:a.getGraphPath,getStackPoints:a.getStackPoints,drawGraph:a.drawGraph,drawLegendSymbol:r.drawRectangle}),n.registerSeriesType("areaspline",i),i})),e(r,"Series/Column/ColumnSeries.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a){var s=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),c=t.animObject,u=e.parse,l=r.hasTouch;t=r.noop;var f=a.clamp,h=a.css,d=a.defined,p=a.extend,m=a.fireEvent,b=a.isArray,v=a.isNumber,g=a.merge,y=a.pick,w=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,r=this.yAxis,n=e.options,i=this.chart.inverted,o={},a=i?"translateX":"translateY";if(t)o.scaleY=.001,t=f(r.toPixels(n.threshold),r.pos,r.pos+r.len),i?o.translateX=t-r.len:o.translateY=t,e.clipBox&&e.setClip(),e.group.attr(o);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},p(c(e.options.animation),{step:function(t,n){e.group&&(o[a]=s+n.pos*(r.pos-s),e.group.attr(o))}}))}},e.prototype.init=function(e,r){t.prototype.init.apply(this,arguments);var n=this;(e=n.chart).hasRendered&&e.series.forEach((function(t){t.type===n.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,r=t.xAxis,n=t.yAxis,i=r.options.reversedStacks;i=r.reversed&&!i||!r.reversed&&i;var o,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var r=e.yAxis,i=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&n.len===r.len&&n.pos===r.pos){if(i.stacking&&"group"!==i.stacking){o=e.stackKey,"undefined"===typeof a[o]&&(a[o]=s++);var c=a[o]}else!1!==i.grouping&&(c=s++);e.columnIndex=c}}));var c=Math.min(Math.abs(r.transA)*(r.ordinal&&r.ordinal.slope||e.pointRange||r.closestPointRange||r.tickInterval||1),r.len),u=c*e.groupPadding,l=(c-2*u)/(s||1);return e=Math.min(e.maxPointWidth||r.len,y(e.pointWidth,l*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(l-e)/2+(u+((t.columnIndex||0)+(i?1:0))*l-c/2)*(i?-1:1),paddedWidth:l,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,r,n){var i=this.chart,o=this.borderWidth,a=-(o%2?.5:0);return o=o%2?.5:1,i.inverted&&i.renderer.isVML&&(o+=1),this.options.crisp&&(r=Math.round(t+r)+a,r-=t=Math.round(t)+a),n=Math.round(e+n)+o,a=.5>=Math.abs(e)&&.5<n,n-=e=Math.round(e)+o,a&&n&&(--e,n+=1),{x:t,y:e,width:r,height:n}},e.prototype.adjustForMissingColumns=function(t,e,r,n){var i=this,o=this.options.stacking;if(!r.isNull&&1<n.columnCount){var a=0,s=0;w(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof r.x&&(t=t[r.x.toString()])){var e=t.points[i.index],n=t.total;o?(e&&(a=s),t.hasValidPoints&&s++):b(e)&&(a=e[1],s=n||0)}})),t=(r.plotX||0)+((s-1)*n.paddedWidth+e)/2-e-a*n.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,r=t.options,n=t.dense=2>t.closestPointRange*t.xAxis.transA;n=t.borderWidth=y(r.borderWidth,n?0:1);var o=t.xAxis,a=t.yAxis,s=r.threshold,c=t.translatedThreshold=a.getThreshold(s),u=y(r.minPointLength,5),l=t.getColumnMetrics(),h=l.width,p=t.pointXOffset=l.offset,m=t.dataMin,b=t.dataMax,g=t.barW=Math.max(h,1+2*n);e.inverted&&(c-=.5),r.pointPadding&&(g=Math.ceil(g)),i.prototype.translate.apply(t),t.points.forEach((function(n){var i=y(n.yBottom,c),w=999+Math.abs(i),x=n.plotX||0;w=f(n.plotY,-w,a.len+w);var O=Math.min(w,i),_=Math.max(w,i)-O,S=h,k=x+p,E=g;u&&Math.abs(_)<u&&(_=u,x=!a.reversed&&!n.negative||a.reversed&&n.negative,v(s)&&v(b)&&n.y===s&&b<=s&&(a.min||0)<s&&(m!==b||(a.max||0)<=s)&&(x=!x),O=Math.abs(O-c)>u?i-u:c-(x?u:0)),d(n.options.pointWidth)&&(S=E=Math.ceil(n.options.pointWidth),k-=Math.round((S-h)/2)),r.centerInCategory&&(k=t.adjustForMissingColumns(k,S,n,l)),n.barX=k,n.pointWidth=S,n.tooltipPos=e.inverted?[f(a.len+a.pos-e.plotLeft-w,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),o.len+o.pos-e.plotTop-k-E/2,_]:[o.left-e.plotLeft+k+E/2,f(w+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),_],n.shapeType=t.pointClass.prototype.shapeType||"rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[k,c,E,0]:[k,O,E,_])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var r=this.options,n=this.pointAttrToOptions||{},i=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[i]||r[i]||a;n=t&&t.options.dashStyle||r.dashStyle;var c=t&&t[o]||r[o]||this[o]||0,l=y(t&&t.opacity,r.opacity,1);if(t&&this.zones.length){var f=t.getZone();a=t.options.color||f&&(f.color||t.nonZonedColor)||this.color,f&&(s=f.borderColor||s,n=f.dashStyle||n,c=f.borderWidth||c)}return e&&t&&(e=(t=g(r.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||"undefined"!==typeof e&&u(a).brighten(t.brightness).get()||a,s=t[i]||s,c=t[o]||c,n=t.dashStyle||n,l=y(t.opacity,l)),i={fill:a,stroke:s,"stroke-width":c,opacity:l},n&&(i.dashstyle=n),i},e.prototype.drawPoints=function(){var t,e=this,r=this.chart,n=e.options,i=r.renderer,o=n.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,c=!!s,u=s&&r.pointCount<o?"animate":"attr";v(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=i[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&r.hasRendered&&r.pointCount<o&&(s.attr({x:a.startXPos}),c=!0,u="animate"),s&&c&&s[u](g(t)),n.borderRadius&&s[u]({r:n.borderRadius}),r.styledMode||s[u](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&n.shadow,null,n.stacking&&!n.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,r=e.chart,n=r.pointer,i=function(t){var e=n.getPointFromEvent(t);"undefined"!==typeof e&&(n.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=b(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",i).on("mouseout",(function(t){n.onTrackerMouseOut(t)})),l&&e[t].on("touchstart",i),!r.styledMode&&e.options.cursor&&e[t].css(h).css({cursor:e.options.cursor}))})),e._hasTracking=!0),m(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),i.prototype.remove.apply(t,arguments)},e.defaultOptions=g(i.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(i),p(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:n.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("column",a),a})),e(r,"Core/Series/DataLabel.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.getDeferredAnimation,o=e.format,a=r.defined,s=r.extend,c=r.fireEvent,u=r.isArray,l=r.merge,f=r.objectEach,h=r.pick,d=r.splat;return function(t){function e(t,e,r,n,i){var o=this,a=this.chart,c=this.isCartesian&&a.inverted,u=this.enabledDataSorting,l=h(t.dlBox&&t.dlBox.centerX,t.plotX,-9999),f=h(t.plotY,-9999),d=e.getBBox(),p=r.rotation,m=r.align,b=a.isInsidePlot(l,Math.round(f),{inverted:c,paneCoordinates:!0,series:o}),v=function(r){u&&o.xAxis&&!g&&o.setDataLabelStartPos(t,e,i,b,r)},g="justify"===h(r.overflow,u?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||u&&!g||b||h(r.inside,!!this.options.stacking)&&n&&a.isInsidePlot(l,c?n.x+1:n.y+n.height-1,{inverted:c,paneCoordinates:!0,series:o}));if(y){var w=a.renderer.fontMetrics(a.styledMode?void 0:r.style.fontSize,e).b;n=s({x:c?this.yAxis.len-f:l,y:Math.round(c?this.xAxis.len-l:f),width:0,height:0},n),s(r,{width:d.width,height:d.height}),p?(g=!1,l=a.renderer.rotCorr(w,p),v(l={x:n.x+(r.x||0)+n.width/2+l.x,y:n.y+(r.y||0)+{top:0,middle:.5,bottom:1}[r.verticalAlign]*n.height}),e[i?"attr":"animate"](l).attr({align:m}),v=180<(v=(p+720)%360)&&360>v,"left"===m?l.y-=v?d.height:0:"center"===m?(l.x-=d.width/2,l.y-=d.height/2):"right"===m&&(l.x-=d.width,l.y-=v?0:d.height),e.placed=!0,e.alignAttr=l):(v(n),e.align(r,void 0,n),l=e.alignAttr),g&&0<=n.height?this.justifyDataLabel(e,r,l,d,n,i):h(r.crop,!0)&&(y=a.isInsidePlot(l.x,l.y,{paneCoordinates:!0,series:o})&&a.isInsidePlot(l.x+d.width,l.y+d.height,{paneCoordinates:!0,series:o})),r.shape&&!p&&e[i?"attr":"animate"]({anchorX:c?a.plotWidth-t.plotY:t.plotX,anchorY:c?a.plotHeight-t.plotX:t.plotY})}i&&u&&(e.placed=!1),y||u&&!g||(e.hide(!0),e.placed=!1)}function r(){var t=this,e=t.chart,r=t.options,n=t.points,s=t.hasRendered||0,l=e.renderer,m=r.dataLabels,b=m.animation;if(b=m.defer?i(e,b,t):{defer:0,duration:0},m=p(p(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),m),c(this,"drawDataLabels"),u(m)||m.enabled||t._hasPointLabels){var v=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",m.zIndex||6);v.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&v.show(!0),s[r.animation?"animate":"attr"]({opacity:1},b)),n.forEach((function(n){d(p(m,n.dlOptions||n.options&&n.options.dataLabels)).forEach((function(i,s){var c=i.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(t,e){var r=e.filter;return!r||(e=r.operator,t=t[r.property],r=r.value,">"===e&&t>r||"<"===e&&t<r||">="===e&&t>=r||"<="===e&&t<=r||"=="===e&&t==r||"==="===e&&t===r)}(n,i),u=n.connectors?n.connectors[s]:n.connector,d=n.dataLabels?n.dataLabels[s]:n.dataLabel,p=h(i.distance,n.labelDistance),m=!d;if(c){var b=n.getLabelConfig(),g=h(i[n.formatPrefix+"Format"],i.format);b=a(g)?o(g,b,e):(i[n.formatPrefix+"Formatter"]||i.formatter).call(b,i),g=i.style;var y=i.rotation;e.styledMode||(g.color=h(i.color,g.color,t.color,"#000000"),"contrast"===g.color?(n.contrastColor=l.getContrast(n.color||t.color),g.color=!a(p)&&i.inside||0>p||r.stacking?n.contrastColor:"#000000"):delete n.contrastColor,r.cursor&&(g.cursor=r.cursor));var w={r:i.borderRadius||0,rotation:y,padding:i.padding,zIndex:1};e.styledMode||(w.fill=i.backgroundColor,w.stroke=i.borderColor,w["stroke-width"]=i.borderWidth),f(w,(function(t,e){"undefined"===typeof t&&delete w[e]}))}!d||c&&a(b)&&!!d.div===!!i.useHTML||(n.dataLabel=d=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[s]),s||delete n.dataLabel,u&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[s]))),c&&a(b)&&(d?w.text=b:(n.dataLabels=n.dataLabels||[],d=n.dataLabels[s]=y?l.text(b,0,-9999,i.useHTML).addClass("highcharts-data-label"):l.label(b,0,-9999,i.shape,null,null,i.useHTML,null,"data-label"),s||(n.dataLabel=d),d.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(i.className||"")+(i.useHTML?" highcharts-tracker":""))),d.options=i,d.attr(w),e.styledMode||d.css(g).shadow(i.shadow),d.added||d.add(v),i.textPath&&!i.useHTML&&(d.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(d)||n.graphic,i.textPath),n.dataLabelPath&&!i.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),t.alignDataLabel(n,d,i,null,m))}))}))}c(this,"afterDrawDataLabels")}function n(t,e,r,n,i,o){var a=this.chart,s=e.align,c=e.verticalAlign,u=t.box?0:t.padding||0,l=e.x;l=void 0===l?0:l;var f=e.y;f=void 0===f?0:f;var h=(r.x||0)+u;if(0>h){"right"===s&&0<=l?(e.align="left",e.inside=!0):l-=h;var d=!0}return(h=(r.x||0)+n.width-u)>a.plotWidth&&("left"===s&&0>=l?(e.align="right",e.inside=!0):l+=a.plotWidth-h,d=!0),0>(h=r.y+u)&&("bottom"===c&&0<=f?(e.verticalAlign="top",e.inside=!0):f-=h,d=!0),(h=(r.y||0)+n.height-u)>a.plotHeight&&("top"===c&&0>=f?(e.verticalAlign="bottom",e.inside=!0):f+=a.plotHeight-h,d=!0),d&&(e.x=l,e.y=f,t.placed=!o,t.align(e,void 0,i)),d}function p(t,e){var r,n=[];if(u(t)&&!u(e))n=t.map((function(t){return l(t,e)}));else if(u(e)&&!u(t))n=e.map((function(e){return l(t,e)}));else if(u(t)||u(e))for(r=Math.max(t.length,e.length);r--;)n[r]=l(t[r],e[r]);else n=l(t,e);return n}function m(t,e,r,n,i){var o=this.chart,a=o.inverted,s=this.xAxis,c=s.reversed,u=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?i.x:c?-u-t:s.width-u+t,e.startYPos=a?c?this.yAxis.height-u+t:-u-t:i.y,n?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),o.hasRendered&&(r&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var b=[];t.compose=function(t){if(-1===b.indexOf(t)){var i=t.prototype;b.push(t),i.alignDataLabel=e,i.drawDataLabels=r,i.justifyDataLabel=n,i.setDataLabelStartPos=m}}}(n||(n={})),n})),e(r,"Series/Column/ColumnDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=e.series,o=r.merge,a=r.pick;return function(e){function r(t,e,r,n,s){var c=this.chart.inverted,u=t.series,l=(u.xAxis?u.xAxis.len:this.chart.plotSizeX)||0;u=(u.yAxis?u.yAxis.len:this.chart.plotSizeY)||0;var f=t.dlBox||t.shapeArgs,h=a(t.below,t.plotY>a(this.translatedThreshold,u)),d=a(r.inside,!!this.options.stacking);f&&(0>(n=o(f)).y&&(n.height+=n.y,n.y=0),0<(f=n.y+n.height-u)&&f<n.height&&(n.height-=f),c&&(n={x:u-n.y-n.height,y:l-n.x-n.width,width:n.height,height:n.width}),d||(c?(n.x+=h?0:n.width,n.width=0):(n.y+=h?n.height:0,n.height=0))),r.align=a(r.align,!c||d?"center":h?"right":"left"),r.verticalAlign=a(r.verticalAlign,c||d?"middle":h?"top":"bottom"),i.prototype.alignDataLabel.call(this,t,e,r,n,s),r.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var n=[];e.compose=function(e){t.compose(i),-1===n.indexOf(e)&&(n.push(e),e.prototype.alignDataLabel=r)}}(n||(n={})),n})),e(r,"Series/Bar/BarSeries.js",[r["Series/Column/ColumnSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=r.extend,o=r.merge;return r=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(r,e),r.defaultOptions=o(t.defaultOptions,{}),r}(t),i(r.prototype,{inverted:!0}),e.registerSeriesType("bar",r),r})),e(r,"Series/Scatter/ScatterSeries.js",[r["Series/Column/ColumnSeries.js"],r["Series/Line/LineSeries.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n){var i=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.addEvent,a=n.extend,s=n.merge;return a((n=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return i(r,t),r.prototype.applyJitter=function(){var t=this,e=this.options.jitter,r=this.points.length;e&&this.points.forEach((function(n,i){["x","y"].forEach((function(o,a){var s="plot"+o.toUpperCase();if(e[o]&&!n.isNull){var c=t[o+"Axis"],u=e[o]*c.transA;if(c&&!c.isLog){var l=Math.max(0,n[s]-u);c=Math.min(c.len,n[s]+u),a=1e4*Math.sin(i+a*r),n[s]=l+(c-l)*(a-Math.floor(a)),"x"===o&&(n.clientX=n.plotX)}}}))}))},r.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},r.defaultOptions=s(e.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),r}(e)).prototype,{drawTracker:t.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(n,"afterTranslate",(function(){this.applyJitter()})),r.registerSeriesType("scatter",n),n})),e(r,"Series/CenteredUtilities.js",[r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(t,e,r){var n,i=t.deg2rad,o=r.isNumber,a=r.pick,s=r.relativeLength;return function(t){t.getCenter=function(){var t=this.options,r=this.chart,n=2*(t.slicedOffset||0),i=r.plotWidth-2*n,o=r.plotHeight-2*n,c=t.center,u=Math.min(i,o),l=t.size,f=t.innerSize||0;for("string"===typeof l&&(l=parseFloat(l)),"string"===typeof f&&(f=parseFloat(f)),t=[a(c[0],"50%"),a(c[1],"50%"),a(l&&0>l?void 0:t.size,"100%"),a(f&&0>f?void 0:t.innerSize||0,"0%")],!r.angular||this instanceof e||(t[3]=0),c=0;4>c;++c)l=t[c],r=2>c||2===c&&/%$/.test(l),t[c]=s(l,[i,o,u,t[2]][c])+(r?n:0);return t[3]>t[2]&&(t[3]=t[2]),t},t.getStartAndEndRadians=function(t,e){return t=o(t)?t:0,e=o(e)&&e>t&&360>e-t?e:t+360,{start:i*(t+-90),end:i*(e+-90)}}}(n||(n={})),n})),e(r,"Series/Pie/PiePoint.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=t.setAnimation,o=r.addEvent,a=r.defined;t=r.extend;var s=r.isNumber,c=r.pick,u=r.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,r=this.connectorShapes,n=e.connectorShape;return r[n]&&(n=r[n]),n.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=c(this.name,"Slice");var r=function(t){e.slice("select"===t.type)};return o(this,"select",r),o(this,"unselect",r),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var r=this,n=this.series,i=n.chart,o=n.options.ignoreHiddenPoint;e=c(e,o),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){r[e]&&r[e][t?"show":"hide"](t)})),this.legendItem&&i.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),o&&(n.isDirty=!0),e&&i.redraw())},e.prototype.slice=function(t,e,r){var n=this.series;i(r,n.chart),c(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,r){var n=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],r.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*n.x-e.x,2*n.y-e.y,n.x,n.y]:["L",n.x,n.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,r){e=e.touchingSliceAt;var n=this.series,i=n.center[0],o=n.chart.plotWidth,a=n.chart.plotLeft;n=t.alignment;var s=this.shapeArgs.r;return r=u(r.crookDistance,1),r=["L",o="left"===n?i+s+(o+a-i-s)*(1-r):a+(i-s)*r,t.y],i=!0,("left"===n?o>t.x||o<e.x:o<t.x||o>e.x)&&(i=!1),t=[["M",t.x,t.y]],i&&t.push(r),t.push(["L",e.x,e.y]),t}}}),e})),e(r,"Series/Pie/PieSeries.js",[r["Series/CenteredUtilities.js"],r["Series/Column/ColumnSeries.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Series/Pie/PiePoint.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i,o,a,s,c){var u=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=t.getStartAndEndRadians;r=r.noop;var f=c.clamp,h=c.extend,d=c.fireEvent,p=c.merge,m=c.pick,b=c.relativeLength;return c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return u(e,t),e.prototype.animate=function(t){var e=this,r=e.points,n=e.startAngleRad;t||r.forEach((function(t){var r=t.graphic,i=t.shapeArgs;r&&i&&(r.attr({r:m(t.startR,e.center&&e.center[3]/2),start:n,end:n}),r.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,r=this.options;if(0===this.total&&this.center){var n=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,i,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(n,i,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,r){var n=this.center,i=this.radii?this.radii[r.index]||0:n[2]/2;return t=Math.asin(f((t-n[1])/(i+r.labelDistance),-1,1)),n[0]+(e?-1:1)*Math.cos(t)*(i+r.labelDistance)+(0<r.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,r,n,i=this,o=i.chart,a=o.renderer,s=i.options.shadow;this.drawEmpty(),!s||i.shadowGroup||o.styledMode||(i.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(i.group)),i.points.forEach((function(c){var u={};if(e=c.graphic,!c.isNull&&e){var l=void 0;n=c.shapeArgs,t=c.getTranslate(),o.styledMode||(l=c.shadowGroup,s&&!l&&(l=c.shadowGroup=a.g("shadow").add(i.shadowGroup)),l&&l.attr(t),r=i.pointAttribs(c,c.selected&&"select")),c.delayedRendering?(e.setRadialReference(i.center).attr(n).attr(t),o.styledMode||e.attr(r).attr({"stroke-linejoin":"round"}).shadow(s,l),c.delayedRendering=!1):(e.setRadialReference(i.center),o.styledMode||p(!0,u,r),p(!0,u,n,t),e.animate(u)),e.attr({visibility:c.visible?"inherit":"hidden"}),e.addClass(c.getClassName(),!0)}else e&&(c.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,r){return"undefined"!==typeof t.angle&&(r.angle-t.angle)*e}))},e.prototype.translate=function(t){this.generatePoints();var e=this.options,r=e.slicedOffset,n=r+(e.borderWidth||0),i=l(e.startAngle,e.endAngle),o=this.startAngleRad=i.start;i=(this.endAngleRad=i.end)-o;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var c,u=a.length,f=0;for(t||(this.center=t=this.getCenter()),c=0;c<u;c++){var h=a[c],p=o+f*i;!h.isValid()||e&&!h.visible||(f+=h.percentage/100);var v=o+f*i,g={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*p)/1e3,end:Math.round(1e3*v)/1e3};h.shapeType="arc",h.shapeArgs=g,h.labelDistance=m(h.options.dataLabels&&h.options.dataLabels.distance,s),h.labelDistance=b(h.labelDistance,g.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,h.labelDistance),(v=(v+p)/2)>1.5*Math.PI?v-=2*Math.PI:v<-Math.PI/2&&(v+=2*Math.PI),h.slicedTranslation={translateX:Math.round(Math.cos(v)*r),translateY:Math.round(Math.sin(v)*r)},g=Math.cos(v)*t[2]/2;var y=Math.sin(v)*t[2]/2;h.tooltipPos=[t[0]+.7*g,t[1]+.7*y],h.half=v<-Math.PI/2||v>Math.PI/2?1:0,h.angle=v,p=Math.min(n,h.labelDistance/5),h.labelPosition={natural:{x:t[0]+g+Math.cos(v)*h.labelDistance,y:t[1]+y+Math.sin(v)*h.labelDistance},final:{},alignment:0>h.labelDistance?"center":h.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+g+Math.cos(v)*p,y:t[1]+y+Math.sin(v)*p},touchingSliceAt:{x:t[0]+g,y:t[1]+y}}}}d(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,r=e.length,n=this.options.ignoreHiddenPoint,i=0;for(t=0;t<r;t++){var o=e[t];!o.isValid()||n&&!o.visible||(i+=o.y)}for(this.total=i,t=0;t<r;t++)(o=e[t]).percentage=0<i&&(o.visible||!n)?o.y/i*100:0,o.total=i},e.defaultOptions=p(o.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(o),h(c.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:n.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:r,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:i,requireSorting:!1,searchPoint:r,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",c),c})),e(r,"Series/Pie/PieDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Globals.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(t,e,r,n,i){var o,a=e.noop,s=r.distribute,c=n.series,u=i.arrayMax,l=i.clamp,f=i.defined,h=i.merge,d=i.pick,p=i.relativeLength;return function(e){function r(){var t,e,r,n,i,o,a,l,p,m,b,v,g=this,y=g.data,w=g.chart,x=g.options.dataLabels||{},O=x.connectorPadding,_=w.plotWidth,S=w.plotHeight,k=w.plotLeft,E=Math.round(w.chartWidth/3),M=g.center,C=M[2]/2,j=M[1],A=[[],[]],T=[0,0,0,0],P=g.dataLabelPositioners;g.visible&&(x.enabled||g._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),c.prototype.drawDataLabels.apply(g),y.forEach((function(t){t.dataLabel&&(t.visible?(A[t.half].push(t),t.dataLabel._pos=null,!f(x.style.width)&&!f(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>E&&(t.dataLabel.css({width:Math.round(.7*E)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),A.forEach((function(e,r){var c,u=e.length,h=[];if(u){if(g.sortByAngle(e,r-.5),0<g.maxLabelDistance){var y=Math.max(0,j-C-g.maxLabelDistance),E=Math.min(j+C+g.maxLabelDistance,w.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,j-C-t.labelDistance),t.bottom=Math.min(j+C+t.labelDistance,w.plotHeight),c=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+c/2,size:c,rank:t.y},h.push(t.distributeBox))})),s(h,y=E+c-y,y/5)}for(b=0;b<u;b++){if(t=e[b],o=t.labelPosition,n=t.dataLabel,m=!1===t.visible?"hidden":"inherit",p=y=o.natural.y,h&&f(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?m="hidden":(a=t.distributeBox.size,p=P.radialDistributionY(t))),delete t.positionIndex,x.justify)l=P.justify(t,C,M);else switch(x.alignTo){case"connectors":l=P.alignToConnectors(e,r,_,k);break;case"plotEdges":l=P.alignToPlotEdges(n,r,_,k);break;default:l=P.radialDistributionX(g,t,p,y)}n._attr={visibility:m,align:o.alignment},v=t.options.dataLabels||{},n._pos={x:l+d(v.x,x.x)+({left:O,right:-O}[o.alignment]||0),y:p+d(v.y,x.y)-10},o.final.x=l,o.final.y=p,d(x.crop,!0)&&(i=n.getBBox().width,y=null,l-i<O&&1===r?(y=Math.round(i-l+O),T[3]=Math.max(y,T[3])):l+i>_-O&&0===r&&(y=Math.round(l+i-_+O),T[1]=Math.max(y,T[1])),0>p-a/2?T[0]=Math.max(Math.round(a/2-p),T[0]):p+a/2>S&&(T[2]=Math.max(Math.round(p+a/2-S),T[2])),n.sideOverflow=y)}}})),0===u(T)||this.verifyDataLabelOverflow(T))&&(this.placeDataLabels(),this.points.forEach((function(t){var i;(v=h(x,t.options.dataLabels),e=d(v.connectorWidth,1))&&(r=t.connector,(n=t.dataLabel)&&n._pos&&t.visible&&0<t.labelDistance?(m=n._attr.visibility,(i=!r)&&(t.connector=r=w.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(g.dataLabelsGroup),w.styledMode||r.attr({"stroke-width":e,stroke:v.connectorColor||t.color||"#666666"})),r[i?"attr":"animate"]({d:t.getConnectorPath()}),r.attr("visibility",m)):r&&(t.connector=r.destroy()))})))}function n(){this.points.forEach((function(t){var e,r=t.dataLabel;r&&t.visible&&((e=r._pos)?(r.sideOverflow&&(r._attr.width=Math.max(r.getBBox().width-r.sideOverflow,0),r.css({width:r._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),r.shortened=!0),r.attr(r._attr),r[r.moved?"animate":"attr"](e),r.moved=!0):r&&r.attr({y:-9999})),delete t.distributeBox}),this)}function i(t){var e=this.center,r=this.options,n=r.center,i=r.minSize||80,o=null!==r.size;if(!o){if(null!==n[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),i);else a=Math.max(e[2]-t[1]-t[3],i),e[0]+=(t[3]-t[1])/2;null!==n[1]?a=l(a,i,e[2]-Math.max(t[0],t[2])):(a=l(a,i,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(p(r.innerSize||0,a),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,r,n){return t.getX(r<e.top+2||r>e.bottom-2?n:r,e.half,e)},justify:function(t,e,r){return r[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,r,n){return t=t.getBBox().width,e?t+n:r-t-n},alignToConnectors:function(t,e,r,n){var i,o=0;return t.forEach((function(t){(i=t.dataLabel.getBBox().width)>o&&(o=i)})),e?o+n:r-o-n}};e.compose=function(e){t.compose(c),-1===o.indexOf(e)&&(o.push(e),(e=e.prototype).dataLabelPositioners=m,e.alignDataLabel=a,e.drawDataLabels=r,e.placeDataLabels=n,e.verifyDataLabelOverflow=i)}}(o||(o={})),o})),e(r,"Extensions/OverlappingDataLabels.js",[r["Core/Chart/Chart.js"],r["Core/Utilities.js"]],(function(t,e){function r(t,e){var r=!1;if(t){var n=t.newOpacity;t.oldOpacity!==n&&(t.alignAttr&&t.placed?(t[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=!0,t.alignAttr.opacity=n,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:n?"auto":"none"})})),i(e,"afterHideOverlappingLabel")):t.attr({opacity:n})),t.isOld=!0}return r}var n=e.addEvent,i=e.fireEvent,o=e.isArray,a=e.isNumber,s=e.objectEach,c=e.pick;n(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&"hidden"!==t.label.visibility&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(n){var i=n.options.dataLabels;n.visible&&(!1!==i.enabled||n._hasPointLabels)&&((i=function(n){return n.forEach((function(n){n.visible&&(o(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=c(o.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),o.allowOverlap?(i.oldOpacity=i.opacity,i.newOpacity=1,r(i,t)):e.push(i)}))}))})(n.nodes||[]),i(n.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,n,o,s=this,c=t.length,u=s.renderer,l=!1,f=function(t){var e,r,n=t.box?0:t.padding||0,i=e=0;if(t&&(!t.alignAttr||t.placed)){var o=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=u.fontMetrics(null,t.element).h);var c=t.width-2*n;return(r={left:"0",center:"0.5",right:"1"}[t.alignValue])?i=+r*c:a(t.x)&&Math.round(t.x)!==t.translateX&&(i=t.x-t.translateX),{x:o.x+(s.translateX||0)+n-(i||0),y:o.y+(s.translateY||0)+n-e,width:t.width-2*n,height:t.height-2*n}}};for(n=0;n<c;n++)(e=t[n])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=f(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),n=0;n<c;n++){var h=(f=t[n])&&f.absoluteBox;for(e=n+1;e<c;++e){var d=(o=t[e])&&o.absoluteBox;!h||!d||f===o||0===f.newOpacity||0===o.newOpacity||d.x>=h.x+h.width||d.x+d.width<=h.x||d.y>=h.y+h.height||d.y+d.height<=h.y||((f.labelrank<o.labelrank?f:o).newOpacity=0)}}t.forEach((function(t){r(t,s)&&(l=!0)})),l&&i(s,"afterHideAllOverlappingLabels")}})),e(r,"Core/Responsive.js",[r["Core/Utilities.js"]],(function(t){var e,r=t.extend,n=t.find,i=t.isArray,o=t.isObject,a=t.merge,s=t.objectEach,c=t.pick,u=t.splat,l=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),r(t.prototype,f.prototype)),t};var f=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,r={};return function t(r,n,a,c){var l;s(r,(function(r,s){if(!c&&-1<e.collectionsWithUpdate.indexOf(s)&&n[s])for(r=u(r),a[s]=[],l=0;l<Math.max(r.length,n[s].length);l++)n[s][l]&&(void 0===r[l]?a[s][l]=n[s][l]:(a[s][l]={},t(r[l],n[s][l],a[s][l],c+1)));else o(r)?(a[s]=i(r)?[]:{},t(r,n[s]||{},a[s],c+1)):a[s]="undefined"===typeof n[s]?null:n[s]}))}(t,this.options,r,0),r},t.prototype.matchResponsiveRule=function(t,e){var r=t.condition;(r.callback||function(){return this.chartWidth<=c(r.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=c(r.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=c(r.minWidth,0)&&this.chartHeight>=c(r.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var r=this,i=this.options.responsive,o=this.currentResponsive,s=[];!e&&i&&i.rules&&i.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=l()),r.matchResponsiveRule(t,s)}),this),(e=a.apply(void 0,s.map((function(t){return n((i||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions})))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,t,!0),s?((o=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:o},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(r,"masters/highcharts.src.js",[r["Core/Globals.js"],r["Core/Utilities.js"],r["Core/DefaultOptions.js"],r["Core/Animation/Fx.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/FormatUtilities.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Renderer/HTML/HTMLElement.js"],r["Core/Renderer/HTML/HTMLRenderer.js"],r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/Axis/LogarithmicAxis.js"],r["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],r["Core/Axis/Tick.js"],r["Core/Tooltip.js"],r["Core/Series/Point.js"],r["Core/Pointer.js"],r["Core/MSPointer.js"],r["Core/Legend/Legend.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Series/Column/ColumnSeries.js"],r["Series/Column/ColumnDataLabel.js"],r["Series/Pie/PieSeries.js"],r["Series/Pie/PieDataLabel.js"],r["Core/Series/DataLabel.js"],r["Core/Responsive.js"],r["Core/Color/Color.js"],r["Core/Time.js"]],(function(t,e,r,n,i,o,a,s,c,u,l,f,h,d,p,m,b,v,g,y,w,x,O,_,S,k,E,M,C,j,A,T,P){return t.animate=i.animate,t.animObject=i.animObject,t.getDeferredAnimation=i.getDeferredAnimation,t.setAnimation=i.setAnimation,t.stop=i.stop,t.timers=n.timers,t.AST=o,t.Axis=h,t.Chart=O,t.chart=O.chart,t.Fx=n,t.Legend=x,t.PlotLineOrBand=m,t.Point=g,t.Pointer=w.isRequired()?w:y,t.Series=_,t.SVGElement=c,t.SVGRenderer=u,t.Tick=b,t.Time=P,t.Tooltip=v,t.Color=T,t.color=T.parse,f.compose(u),l.compose(c),t.defaultOptions=r.defaultOptions,t.getOptions=r.getOptions,t.time=r.defaultTime,t.setOptions=r.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=S.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,E.compose(k),j.compose(_),d.compose(h),p.compose(h),C.compose(M),m.compose(h),A.compose(O),t})),r["masters/highcharts.src.js"]._modules=r,r["masters/highcharts.src.js"]}))},function(t,e,r){(function(t,n){var i;!function(o){var a=e,s=(t&&t.exports,"object"==typeof n&&n);s.global!==s&&s.window;var c=function(t){this.message=t};(c.prototype=new Error).name="InvalidCharacterError";var u=function(t){throw new c(t)},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=/[\t\n\f\r ]/g,h={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&u("The string to be encoded contains characters outside of the Latin1 range.");for(var e,r,n,i,o=t.length%3,a="",s=-1,c=t.length-o;++s<c;)e=t.charCodeAt(s)<<16,r=t.charCodeAt(++s)<<8,n=t.charCodeAt(++s),a+=l.charAt((i=e+r+n)>>18&63)+l.charAt(i>>12&63)+l.charAt(i>>6&63)+l.charAt(63&i);return 2==o?(e=t.charCodeAt(s)<<8,r=t.charCodeAt(++s),a+=l.charAt((i=e+r)>>10)+l.charAt(i>>4&63)+l.charAt(i<<2&63)+"="):1==o&&(i=t.charCodeAt(s),a+=l.charAt(i>>2)+l.charAt(i<<4&63)+"=="),a},decode:function(t){var e=(t=String(t).replace(f,"")).length;e%4==0&&(e=(t=t.replace(/==?$/,"")).length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&u("Invalid character: the string to be decoded is not correctly encoded.");for(var r,n,i=0,o="",a=-1;++a<e;)n=l.indexOf(t.charAt(a)),r=i%4?64*r+n:n,i++%4&&(o+=String.fromCharCode(255&r>>(-2*i&6)));return o},version:"1.0.0"};void 0===(i=function(){return h}.call(e,r,e,t))||(t.exports=i)}()}).call(this,r(203)(t),r(120))},,,,,,function(t,e,r){},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}},function(t,e,r){var n=r(629);t.exports=function(t,e){var r=!0;return n(t,(function(t,n,i){return r=!!e(t,n,i)})),r}},function(t,e,r){var n=r(392);t.exports=function(t,e){return function(r,i){if(null==r)return r;if(!n(r))return t(r,i);for(var o=r.length,a=e?o:-1,s=Object(r);(e?a--:++a<o)&&!1!==i(s[a],a,s););return r}}},function(t,e,r){var n=r(245),i=r(392),o=r(472);t.exports=function(t){return function(e,r,a){var s=Object(e);if(!i(e)){var c=n(r,3);e=o(e),r=function(t){return c(s[t],t,s)}}var u=t(e,r,a);return u>-1?s[c?e[u]:u]:void 0}}},function(t,e,r){var n=r(798),i=r(245),o=r(1255),a=Math.max;t.exports=function(t,e,r){var s=null==t?0:t.length;if(!s)return-1;var c=null==r?0:o(r);return c<0&&(c=a(s+c,0)),n(t,i(e,3),c)}},function(t,e,r){var n=r(799);t.exports=function(t){var e=n(t),r=e%1;return e===e?r?e-r:e:0}},function(t,e,r){var n=r(1257),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},function(t,e){var r=/\s/;t.exports=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}},function(t,e,r){var n=r(150),i=r(1259),o=r(800),a=Math.max,s=Math.min;t.exports=function(t,e,r){var c,u,l,f,h,d,p=0,m=!1,b=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=c,n=u;return c=u=void 0,p=e,f=t.apply(n,r)}function y(t){return p=t,h=setTimeout(x,e),m?g(t):f}function w(t){var r=t-d;return void 0===d||r>=e||r<0||b&&t-p>=l}function x(){var t=i();if(w(t))return O(t);h=setTimeout(x,function(t){var r=e-(t-d);return b?s(r,l-(t-p)):r}(t))}function O(t){return h=void 0,v&&c?g(t):(c=u=void 0,f)}function _(){var t=i(),r=w(t);if(c=arguments,u=this,d=t,r){if(void 0===h)return y(d);if(b)return clearTimeout(h),h=setTimeout(x,e),g(d)}return void 0===h&&(h=setTimeout(x,e)),f}return e=o(e)||0,n(r)&&(m=!!r.leading,l=(b="maxWait"in r)?a(o(r.maxWait)||0,e):l,v="trailing"in r?!!r.trailing:v),_.cancel=function(){void 0!==h&&clearTimeout(h),p=0,c=d=u=h=void 0},_.flush=function(){return void 0===h?f:O(i())},_}},function(t,e,r){var n=r(214);t.exports=function(){return n.Date.now()}},function(t,e,r){var n=r(390),i=r(588),o=r(68),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},function(t,e,r){var n=r(587),i=r(594),o=r(245),a=r(802),s=r(1262),c=r(693),u=r(1263),l=r(345),f=r(68);t.exports=function(t,e,r){e=e.length?n(e,(function(t){return f(t)?function(e){return i(e,1===t.length?t[0]:t)}:t})):[l];var h=-1;e=n(e,c(o));var d=a(t,(function(t,r,i){return{criteria:n(e,(function(e){return e(t)})),index:++h,value:t}}));return s(d,(function(t,e){return u(t,e,r)}))}},function(t,e){t.exports=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}},function(t,e,r){var n=r(1264);t.exports=function(t,e,r){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,c=r.length;++i<s;){var u=n(o[i],a[i]);if(u)return i>=c?u:u*("desc"==r[i]?-1:1)}return t.index-e.index}},function(t,e,r){var n=r(344);t.exports=function(t,e){if(t!==e){var r=void 0!==t,i=null===t,o=t===t,a=n(t),s=void 0!==e,c=null===e,u=e===e,l=n(e);if(!c&&!l&&!a&&t>e||a&&s&&u&&!c&&!l||i&&s&&u||!r&&u||!o)return 1;if(!i&&!a&&!l&&t<e||l&&r&&o&&!i&&!a||c&&r&&o||!s&&o||!u)return-1}return 0}},function(t,e,r){var n=r(345),i=r(1266),o=r(1268);t.exports=function(t,e){return o(i(t,e,n),t+"")}},function(t,e,r){var n=r(1267),i=Math.max;t.exports=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),c=Array(s);++a<s;)c[a]=o[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=o[a];return u[e]=r(c),n(t,this,u)}}},function(t,e){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},function(t,e,r){var n=r(1269),i=r(1271)(n);t.exports=i},function(t,e,r){var n=r(1270),i=r(690),o=r(345),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o;t.exports=a},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var r=Date.now;t.exports=function(t){var e=0,n=0;return function(){var i=r(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,r){var n=r(1273),i=r(484),o=r(799);t.exports=function(t){return function(e,r,a){return a&&"number"!=typeof a&&i(e,r,a)&&(r=a=void 0),e=o(e),void 0===r?(r=e,e=0):r=o(r),a=void 0===a?e<r?1:-1:o(a),n(e,r,a,t)}}},function(t,e){var r=Math.ceil,n=Math.max;t.exports=function(t,e,i,o){for(var a=-1,s=n(r((e-t)/(i||1)),0),c=Array(s);s--;)c[o?s:++a]=t,t+=i;return c}},function(t,e){t.exports=function(t,e){return t>e}},function(t,e){t.exports=function(t,e){return t<e}},function(t,e,r){var n=r(587),i=r(245),o=r(802),a=r(68);t.exports=function(t,e){return(a(t)?n:o)(t,i(e,3))}},function(t,e,r){var n=r(696),i=r(1278),o=r(1282),a=r(698),s=r(1283),c=r(593);t.exports=function(t,e,r){var u=-1,l=i,f=t.length,h=!0,d=[],p=d;if(r)h=!1,l=o;else if(f>=200){var m=e?null:s(t);if(m)return c(m);h=!1,l=a,p=new n}else p=e?[]:d;t:for(;++u<f;){var b=t[u],v=e?e(b):b;if(b=r||0!==b?b:0,h&&v===v){for(var g=p.length;g--;)if(p[g]===v)continue t;e&&p.push(v),d.push(b)}else l(p,v,r)||(p!==d&&p.push(v),d.push(b))}return d}},function(t,e,r){var n=r(1279);t.exports=function(t,e){return!!(null==t?0:t.length)&&n(t,e,0)>-1}},function(t,e,r){var n=r(798),i=r(1280),o=r(1281);t.exports=function(t,e,r){return e===e?o(t,e,r):n(t,i,r)}},function(t,e){t.exports=function(t){return t!==t}},function(t,e){t.exports=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}},function(t,e){t.exports=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1}},function(t,e,r){var n=r(700),i=r(1284),o=r(593),a=n&&1/o(new n([,-0]))[1]==1/0?function(t){return new n(t)}:i;t.exports=a},function(t,e){t.exports=function(){}},function(t,e,r){var n=r(629);t.exports=function(t,e){var r;return n(t,(function(t,n,i){return!(r=e(t,n,i))})),!!r}},function(t,e,r){var n=r(1287),i=r(1288),o=r(1289);function a(t){return this instanceof a?(this.nodes=n(t),this):new a(t)}a.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""},a.prototype.walk=function(t,e){return i(this.nodes,t,e),this},a.unit=r(1290),a.walk=i,a.stringify=o,t.exports=a},function(t,e){var r="(".charCodeAt(0),n=")".charCodeAt(0),i="'".charCodeAt(0),o='"'.charCodeAt(0),a="\\".charCodeAt(0),s="/".charCodeAt(0),c=",".charCodeAt(0),u=":".charCodeAt(0),l="*".charCodeAt(0);t.exports=function(t){for(var e,f,h,d,p,m,b,v,g=[],y=t,w=0,x=y.charCodeAt(w),O=y.length,_=[{nodes:g}],S=0,k="",E="",M="";w<O;)if(x<=32){e=w;do{e+=1,x=y.charCodeAt(e)}while(x<=32);d=y.slice(w,e),h=g[g.length-1],x===n&&S?M=d:h&&"div"===h.type?h.after=d:x===c||x===u||x===s&&y.charCodeAt(e+1)!==l?E=d:g.push({type:"space",sourceIndex:w,value:d}),w=e}else if(x===i||x===o){e=w,d={type:"string",sourceIndex:w,quote:f=x===i?"'":'"'};do{if(p=!1,~(e=y.indexOf(f,e+1)))for(m=e;y.charCodeAt(m-1)===a;)m-=1,p=!p;else e=(y+=f).length-1,d.unclosed=!0}while(p);d.value=y.slice(w+1,e),g.push(d),w=e+1,x=y.charCodeAt(w)}else if(x===s&&y.charCodeAt(w+1)===l)d={type:"comment",sourceIndex:w},-1===(e=y.indexOf("*/",w))&&(d.unclosed=!0,e=y.length),d.value=y.slice(w+2,e),g.push(d),w=e+2,x=y.charCodeAt(w);else if(x===s||x===c||x===u)d=y[w],g.push({type:"div",sourceIndex:w-E.length,value:d,before:E,after:""}),E="",w+=1,x=y.charCodeAt(w);else if(r===x){e=w;do{e+=1,x=y.charCodeAt(e)}while(x<=32);if(d={type:"function",sourceIndex:w-k.length,value:k,before:y.slice(w+1,e)},w=e,"url"===k&&x!==i&&x!==o){e-=1;do{if(p=!1,~(e=y.indexOf(")",e+1)))for(m=e;y.charCodeAt(m-1)===a;)m-=1,p=!p;else e=(y+=")").length-1,d.unclosed=!0}while(p);b=e;do{b-=1,x=y.charCodeAt(b)}while(x<=32);d.nodes=w!==b+1?[{type:"word",sourceIndex:w,value:y.slice(w,b+1)}]:[],d.unclosed&&b+1!==e?(d.after="",d.nodes.push({type:"space",sourceIndex:b+1,value:y.slice(b+1,e)})):d.after=y.slice(b+1,e),w=e+1,x=y.charCodeAt(w),g.push(d)}else S+=1,d.after="",g.push(d),_.push(d),g=d.nodes=[],v=d;k=""}else if(n===x&&S)w+=1,x=y.charCodeAt(w),v.after=M,M="",S-=1,_.pop(),g=(v=_[S]).nodes;else{e=w;do{x===a&&(e+=1),e+=1,x=y.charCodeAt(e)}while(e<O&&!(x<=32||x===i||x===o||x===c||x===u||x===s||x===r||x===n&&S));d=y.slice(w,e),r===x?k=d:g.push({type:"word",sourceIndex:w,value:d}),w=e}for(w=_.length-1;w;w-=1)_[w].unclosed=!0;return _[0].nodes}},function(t,e){t.exports=function t(e,r,n){var i,o,a,s;for(i=0,o=e.length;i<o;i+=1)a=e[i],n||(s=r(a,i,e)),!1!==s&&"function"===a.type&&Array.isArray(a.nodes)&&t(a.nodes,r,n),n&&r(a,i,e)}},function(t,e){function r(t,e){var r,i,o=t.type,a=t.value;return e&&void 0!==(i=e(t))?i:"word"===o||"space"===o?a:"string"===o?(r=t.quote||"")+a+(t.unclosed?"":r):"comment"===o?"/*"+a+(t.unclosed?"":"*/"):"div"===o?(t.before||"")+a+(t.after||""):Array.isArray(t.nodes)?(r=n(t.nodes),"function"!==o?r:a+"("+(t.before||"")+r+(t.after||"")+(t.unclosed?"":")")):a}function n(t,e){var n,i;if(Array.isArray(t)){for(n="",i=t.length-1;~i;i-=1)n=r(t[i],e)+n;return n}return r(t,e)}t.exports=n},function(t,e){var r="-".charCodeAt(0),n="+".charCodeAt(0),i=".".charCodeAt(0),o="e".charCodeAt(0),a="E".charCodeAt(0);t.exports=function(t){for(var e,s=0,c=t.length,u=!1,l=-1,f=!1;s<c;){if((e=t.charCodeAt(s))>=48&&e<=57)f=!0;else if(e===o||e===a){if(l>-1)break;l=s}else if(e===i){if(u)break;u=!0}else{if(e!==n&&e!==r)break;if(0!==s)break}s+=1}return l+1===s&&s--,!!f&&{number:t.slice(0,s),unit:t.slice(s)}}},function(t,e,r){var n=function(){function t(t,e){var r;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=new Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}function e(t,e,r){r=r||0;for(var n=0;n<e;n++)this.push(t),t+=r}function r(t,e){for(e+=t=this.length-t;t<e;t++)this.push(this[t])}function n(t){for(var e=[],r=0,n=t.length;r<n;r++){var i=t[r];"function"===typeof i?(r++,i.apply(e,t[r])):e.push(i)}return e}"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonParserError";var i={trace:function(){},JisonParserError:t,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(t){return'"'+t+'"'},getSymbolName:function(t){if(this.terminals_[t])return this.terminals_[t];var e=this.symbols_;for(var r in e)if(e[r]===t)return r;return null},describeSymbol:function(t){if(t!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[t])return this.terminal_descriptions_[t];if(t===this.EOF)return"end of input";var e=this.getSymbolName(t);return e?this.quoteName(e):null},collect_expected_token_set:function(t,e){var r=this.TERROR,n=[],i={};if(!e&&this.state_descriptions_&&this.state_descriptions_[t])return[this.state_descriptions_[t]];for(var o in this.table[t])if((o=+o)!==r){var a=e?o:this.describeSymbol(o);a&&!i[a]&&(n.push(a),i[a]=!0)}return n},productions_:function(t){for(var e=[],r=t.pop,n=t.rule,i=0,o=r.length;i<o;i++)e.push([r[i],n[i]]);return e}({pop:n([29,e,[30,10],31,31,32,32,e,[33,15]]),rule:n([2,e,[3,5],4,7,e,[1,4],2,4,6,e,[1,14],2])}),performAction:function(t,e,r){var n=this.yy;n.parser,n.lexer;switch(t){case 0:this.$=r[e-1];break;case 1:return this.$=r[e-1],r[e-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:r[e-1],left:r[e-2],right:r[e]};break;case 6:this.$=r[e-1];break;case 7:this.$={type:"Calc",value:r[e-1]};break;case 8:this.$={type:"Calc",value:r[e-1],prefix:r[e-5]};break;case 9:case 10:case 11:this.$=r[e];break;case 12:this.$={type:"Value",value:parseFloat(r[e])};break;case 13:this.$={type:"Value",value:-1*parseFloat(r[e])};break;case 14:this.$={type:"CssVariable",value:r[e-1]};break;case 15:this.$={type:"CssVariable",value:r[e-3],fallback:r[e-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(r[e]),unit:/[a-z]+/.exec(r[e])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(r[e]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(r[e]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(r[e]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(r[e]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(r[e]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(r[e]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(r[e]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(r[e]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(r[e]),unit:"%"};break;case 30:var i=r[e];i.value*=-1,this.$=i}},table:function(t){for(var e=[],r=t.len,n=t.symbol,i=t.type,o=t.state,a=t.mode,s=t.goto,c=0,u=r.length;c<u;c++){for(var l=r[c],f={},h=0;h<l;h++){var d=n.shift();switch(i.shift()){case 2:f[d]=[a.shift(),s.shift()];break;case 0:f[d]=o.shift();break;default:f[d]=[3]}}e.push(f)}return e}({len:n([24,1,5,23,1,18,e,[0,3],1,e,[0,16],e,[23,4],r,[28,3],0,0,16,1,6,6,e,[0,3],5,1,2,r,[37,3],r,[20,3],5,0,0]),symbol:n([4,7,9,11,12,e,[15,19,1],1,1,e,[3,4,1],r,[30,19],r,[29,4],7,4,10,11,r,[22,14],r,[19,3],r,[43,22],r,[23,69],r,[139,4],8,r,[51,24],4,r,[138,15],13,r,[186,5],8,r,[6,6],r,[5,5],9,8,14,r,[159,47],r,[60,10]]),type:n([e,[2,19],e,[0,5],1,e,[2,24],e,[0,4],r,[22,19],r,[43,42],r,[23,70],r,[28,25],r,[45,25],r,[113,54]]),state:n([1,2,8,6,7,30,r,[4,3],33,37,r,[5,3],38,r,[4,3],39,r,[4,3],40,r,[4,3],42,r,[21,4],50,r,[5,3],51,r,[4,3]]),mode:n([e,[1,179],e,[2,3],r,[5,5],r,[6,4],e,[1,57]]),goto:n([5,3,4,24,e,[9,15,1],e,[25,5,1],r,[24,19],31,35,32,34,r,[18,14],36,r,[38,19],r,[19,57],r,[118,4],41,r,[24,19],43,35,r,[16,14],44,e,[2,3],28,29,2,e,[3,3],28,29,3,r,[53,4],e,[45,5,1],r,[100,42],52,r,[5,4],53])}),defaultActions:function(t){for(var e={},r=t.idx,n=t.goto,i=0,o=r.length;i<o;i++){e[r[i]]=n[i]}return e}({idx:n([6,7,8,e,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:n([9,10,11,e,[16,14,1],12,1,30,13,e,[4,4,1],14,15,8])}),parseError:function(t,e,r){if(!e.recoverable)throw"function"===typeof this.trace&&this.trace(t),r||(r=this.JisonParserError),new r(t,e);"function"===typeof this.trace&&this.trace(t),e.destroy()},parse:function(t){var e,r=this,n=new Array(128),i=new Array(128),o=new Array(128),a=this.table,s=0,c=0,u=(this.TERROR,this.EOF),l=(this.options.errorRecoveryTokenDiscardCount,[0,54]);e=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var f={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};function h(){var t=e.fastLex();return"number"!==typeof t&&(t=r.symbols_[t]||t),t||u}"function"!==typeof assert||assert,this.yyGetSharedState=function(){return f},function(t,e){for(var r in e)"undefined"===typeof t[r]&&Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}(f,this.yy),f.lexer=e,f.parser=this,"function"===typeof f.parseError?this.parseError=function(t,e,r){return r||(r=this.JisonParserError),f.parseError.call(this,t,e,r)}:this.parseError=this.originalParseError,"function"===typeof f.quoteName?this.quoteName=function(t){return f.quoteName.call(this,t)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(t,r,a){var c,u;r&&((f.post_parse||this.post_parse)&&(u=this.constructParseErrorInfo(null,null,null,!1)),f.post_parse&&"undefined"!==typeof(c=f.post_parse.call(this,f,t,u))&&(t=c),this.post_parse&&"undefined"!==typeof(c=this.post_parse.call(this,f,t,u))&&(t=c),u&&u.destroy&&u.destroy());if(this.__reentrant_call_depth>1)return t;if(e.cleanupAfterLex&&e.cleanupAfterLex(a),f&&(f.lexer=void 0,f.parser=void 0,e.yy===f&&(e.yy=void 0)),f=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,n.length=0,i.length=0,o.length=0,s=0,!a){for(var l=this.__error_infos.length-1;l>=0;l--){var h=this.__error_infos[l];h&&"function"===typeof h.destroy&&h.destroy()}this.__error_infos.length=0}return t},this.constructParseErrorInfo=function(t,r,a,u){var l={errStr:t,exception:r,text:e.match,value:e.yytext,token:this.describeSymbol(c)||c,token_id:c,line:e.yylineno,expected:a,recoverable:u,state:d,action:p,new_state:w,symbol_stack:n,state_stack:i,value_stack:o,stack_pointer:s,yy:f,lexer:e,parser:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(l),l};var d,p,m,b,v,g,y,w,x=function(){var t=e.lex();return"number"!==typeof t&&(t=r.symbols_[t]||t),t||u},O={$:!0,_$:void 0,yy:f},_=!1;try{if(this.__reentrant_call_depth++,e.setInput(t,f),"function"===typeof e.canIUse)e.canIUse().fastLex&&(x=h);for(o[s]=null,i[s]=0,n[s]=0,++s,this.pre_parse&&this.pre_parse.call(this,f),f.pre_parse&&f.pre_parse.call(this,f),w=i[s-1];;){if(d=w,this.defaultActions[d])p=2,w=this.defaultActions[d];else if(c||(c=x()),b=a[d]&&a[d][c]||l,w=b[1],!(p=b[0])){var S,k=this.describeSymbol(c)||c,E=this.collect_expected_token_set(d);S="number"===typeof e.yylineno?"Parse error on line "+(e.yylineno+1)+": ":"Parse error: ","function"===typeof e.showPosition&&(S+="\n"+e.showPosition(69,10)+"\n"),E.length?S+="Expecting "+E.join(", ")+", got unexpected "+k:S+="Unexpected "+k,v=this.constructParseErrorInfo(S,null,E,!1),"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m);break}switch(p){default:if(p instanceof Array){v=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+d+", token: "+c,null,null,!1),"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m);break}v=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m);break;case 1:n[s]=c,o[s]=e.yytext,i[s]=w,++s,c=0;continue;case 2:if(g=(y=this.productions_[w-1])[1],"undefined"!==typeof(m=this.performAction.call(O,w,s-1,o))){_=m;break}s-=g;var M=y[0];n[s]=M,o[s]=O.$,w=a[i[s-1]][M],i[s]=w,++s;continue;case 3:-2!==s&&(_=!0,s--,"undefined"!==typeof o[s]&&(_=o[s]))}break}}catch(C){if(C instanceof this.JisonParserError)throw C;if(e&&"function"===typeof e.JisonLexerError&&C instanceof e.JisonLexerError)throw C;v=this.constructParseErrorInfo("Parsing aborted due to exception.",C,null,!1),_=!1,"undefined"!==typeof(m=this.parseError(v.errStr,v,this.JisonParserError))&&(_=m)}finally{_=this.cleanupAfterParse(_,!0,!0),this.__reentrant_call_depth--}return _}};i.originalParseError=i.parseError,i.originalQuoteName=i.quoteName;var o=function(){function t(t,e){var r;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var n=e.exception;this.message=n.message||t,r=n.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=new Error(t).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}return"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonLexerError",{EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(t,e,r){if(t=""+t,void 0==r&&(r=!(t.indexOf("\n")>0&&t.indexOf("^")>0)),this.yylloc&&r)if("function"===typeof this.prettyPrintRange){this.prettyPrintRange(this.yylloc);/\n\s*$/.test(t)||(t+="\n"),t+="\n  Erroneous area:\n"+this.prettyPrintRange(this.yylloc)}else if("function"===typeof this.showPosition){var n=this.showPosition();n&&(t.length&&"\n"!==t[t.length-1]&&"\n"!==n[0]?t+="\n"+n:t+=n)}var i={errStr:t,recoverable:!!e,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(i),i},parseError:function(t,e,r){if(r||(r=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"===typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,t,e,r)||this.ERROR;if("function"===typeof this.yy.parseError)return this.yy.parseError.call(this,t,e,r)||this.ERROR}throw new r(t,e)},yyerror:function(t){var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var r=this.constructLexErrorInfo("Lexical error"+e+": "+t,this.options.lexerErrorsAreRecoverable),n=Array.prototype.slice.call(arguments,1);return n.length&&(r.extra_error_attributes=n),this.parseError(r.errStr,r,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(t){if(this.setInput("",{}),!t){for(var e=this.__error_infos.length-1;e>=0;e--){var r=this.__error_infos[e];r&&"function"===typeof r.destroy&&r.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var t=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:t,last_line:this.yylineno+1,last_column:t,range:[this.offset,this.offset]}},setInput:function(t,e){if(this.yy=e||this.yy||{},!this.__decompressed){for(var r=this.rules,n=0,i=r.length;n<i;n++){"number"===typeof(h=r[n])&&(r[n]=r[h])}var o=this.conditions;for(var a in o){var s=o[a],c=s.rules,u=(i=c.length,new Array(i+1)),l=new Array(i+1);for(n=0;n<i;n++){var f=c[n],h=r[f];u[n+1]=h,l[n+1]=f}s.rules=l,s.__rule_regexes=u,s.__rule_count=i}this.__decompressed=!0}return this._input=t||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(t,e){var r=t.call(this,this._input,e);return"string"!==typeof r?r&&(this._input=""+r):this._input=r,this},input:function(){if(!this._input)return null;var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=1,r=!1;if("\n"===t)r=!0;else if("\r"===t){r=!0;var n=this._input[1];"\n"===n&&(e++,t+=n,this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,this.yylloc.range[1]++)}return r?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(e),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);if(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.yyleng=this.yytext.length,this.offset-=e,this.match=this.match.substr(0,this.match.length-e),this.matched=this.matched.substr(0,this.matched.length-e),r.length>1){this.yylineno-=r.length-1,this.yylloc.last_line=this.yylineno+1;var n=this.match,i=n.split(/(?:\r\n?|\n)/g);1===i.length&&(i=(n=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=i[i.length-1].length}else this.yylloc.last_column-=e;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var e=this.constructLexErrorInfo("Lexical error"+t+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(e.errStr,e,this.JisonLexerError)||this.ERROR}return this},less:function(t){return this.unput(this.match.slice(t))},pastInput:function(t,e){var r=this.matched.substring(0,this.matched.length-this.match.length);t<0?t=r.length:t||(t=20),e<0?e=r.length:e||(e=1);var n=(r=r.substr(2*-t-2)).replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(-e)).join("\n")).length>t&&(r="..."+r.substr(-t)),r},upcomingInput:function(t,e){var r=this.match;t<0?t=r.length+this._input.length:t||(t=20),e<0?e=t:e||(e=1),r.length<2*t+2&&(r+=this._input.substring(0,2*t+2));var n=r.replace(/\r\n|\r/g,"\n").split("\n");return(r=(n=n.slice(0,e)).join("\n")).length>t&&(r=r.substring(0,t)+"..."),r},showPosition:function(t,e){var r=this.pastInput(t).replace(/\s/g," "),n=new Array(r.length+1).join("-");return r+this.upcomingInput(e).replace(/\s/g," ")+"\n"+n+"^"},deriveLocationInfo:function(t,e,r,n){var i={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return t&&(i.first_line=0|t.first_line,i.last_line=0|t.last_line,i.first_column=0|t.first_column,i.last_column=0|t.last_column,t.range&&(i.range[0]=0|t.range[0],i.range[1]=0|t.range[1])),(i.first_line<=0||i.last_line<i.first_line)&&(i.first_line<=0&&e&&(i.first_line=0|e.last_line,i.first_column=0|e.last_column,e.range&&(i.range[0]=0|t.range[1])),(i.last_line<=0||i.last_line<i.first_line)&&r&&(i.last_line=0|r.first_line,i.last_column=0|r.first_column,r.range&&(i.range[1]=0|t.range[0])),i.first_line<=0&&n&&(i.last_line<=0||n.last_line<=i.last_line)&&(i.first_line=0|n.first_line,i.first_column=0|n.first_column,n.range&&(i.range[0]=0|n.range[0])),i.last_line<=0&&n&&(i.first_line<=0||n.first_line>=i.first_line)&&(i.last_line=0|n.last_line,i.last_column=0|n.last_column,n.range&&(i.range[1]=0|n.range[1]))),i.last_line<=0&&(i.first_line<=0?(i.first_line=this.yylloc.first_line,i.last_line=this.yylloc.last_line,i.first_column=this.yylloc.first_column,i.last_column=this.yylloc.last_column,i.range[0]=this.yylloc.range[0],i.range[1]=this.yylloc.range[1]):(i.last_line=this.yylloc.last_line,i.last_column=this.yylloc.last_column,i.range[1]=this.yylloc.range[1])),i.first_line<=0&&(i.first_line=i.last_line,i.first_column=0,i.range[1]=i.range[0]),i.first_column<0&&(i.first_column=0),i.last_column<0&&(i.last_column=i.first_column>0?i.first_column:80),i},prettyPrintRange:function(t,e,r){t=this.deriveLocationInfo(t,e,r);var n=(this.matched+this._input).split("\n"),i=Math.max(1,e?e.first_line:t.first_line-3),o=Math.max(1,r?r.last_line:t.last_line+1),a=1+Math.log10(1|o)|0,s=new Array(a).join(" "),c=[],u=n.slice(i-1,o+1).map((function(e,r){var n=r+i,o=(s+n).substr(-a)+": "+e,u=new Array(a+1).join("^"),l=3,f=0;(n===t.first_line?(l+=t.first_column,f=Math.max(2,(n===t.last_line?t.last_column:e.length)-t.first_column+1)):n===t.last_line?f=Math.max(2,t.last_column+1):n>t.first_line&&n<t.last_line&&(f=Math.max(2,e.length+1)),f)&&(o+="\n"+u+new Array(l).join(".")+new Array(f).join("^"),e.trim().length>0&&c.push(r));return o=o.replace(/\t/g," ")}));if(c.length>4){var l=c[1]+1,f=c[c.length-2]-1,h=new Array(a+1).join(" ")+"  (...continued...)";h+="\n"+new Array(a+1).join("-")+"  (---------------)",u.splice(l,f-l+1,h)}return u.join("\n")},describeYYLLOC:function(t,e){var r,n=t.first_line,i=t.last_line,o=t.first_column,a=t.last_column;if(0===i-n?(r="line "+n+", ",r+=a-o<=1?"column "+o:"columns "+o+" .. "+a):r="lines "+n+"(column "+o+") .. "+i+"(column "+a+")",t.range&&e){var s=t.range[0],c=t.range[1]-1;r+=c<=s?" {String Offset: "+s+"}":" {String Offset range: "+s+" .. "+c+"}"}return r},test_match:function(t,e){var r,n,i,o,a;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(o=t[0]).length,(n=o.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=n.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=n[n.length-1].length):this.yylloc.last_column+=a,this.yytext+=o,this.match+=o,this.matched+=o,this.matches=t,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),r=this.performAction.call(this,this.yy,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var s in i)this[s]=i[s];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(r=this._signaled_error_token,this._signaled_error_token=!1,r)},next:function(){if(this.done)return this.clear(),this.EOF;var t,e,r,n;this._input||(this.done=!0),this._more||this.clear();var i=this.__currentRuleSet__;if(!i&&(!(i=this.__currentRuleSet__=this._currentRules())||!i.rules)){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+o+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var s=i.rules,c=i.__rule_regexes,u=i.__rule_count,l=1;l<=u;l++)if((r=this._input.match(c[l]))&&(!e||r[0].length>e[0].length)){if(e=r,n=l,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,s[l])))return t;if(this._backtrack){e=void 0;continue}return!1}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,s[n]))&&t;if(this._input){o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));a=this.constructLexErrorInfo("Lexical error"+o+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var f=this._input,h=this.topState(),d=this.conditionStack.length;return(t=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||f!==this._input||h!==this.topState()||d!==this.conditionStack.length||this.input()),t}return this.done=!0,this.clear(),this.EOF},lex:function(){var t;for("function"===typeof this.pre_lex&&(t=this.pre_lex.call(this,0)),"function"===typeof this.options.pre_lex&&(t=this.options.pre_lex.call(this,t)||t),this.yy&&"function"===typeof this.yy.pre_lex&&(t=this.yy.pre_lex.call(this,t)||t);!t;)t=this.next();return this.yy&&"function"===typeof this.yy.post_lex&&(t=this.yy.post_lex.call(this,t)||t),"function"===typeof this.options.post_lex&&(t=this.options.post_lex.call(this,t)||t),"function"===typeof this.post_lex&&(t=this.post_lex.call(this,t)||t),t},fastLex:function(){for(var t;!t;)t=this.next();return t},canIUse:function(){return{fastLex:!("function"===typeof this.pre_lex||"function"===typeof this.options.pre_lex||this.yy&&"function"===typeof this.yy.pre_lex||this.yy&&"function"===typeof this.yy.post_lex||"function"===typeof this.options.post_lex||"function"===typeof this.post_lex)&&"function"===typeof this.fastLex}},begin:function(t){return this.pushState(t)},pushState:function(t){return this.conditionStack.push(t),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:t,performAction:function(t,e,r){switch(e){case 1:break;default:return this.simpleCaseActionClusters[e]}},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}}}();function a(){this.yy={}}return i.lexer=o,a.prototype=i,i.Parser=a,new a}();e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=r(1293),o=(n=i)&&n.__esModule?n:{default:n};e.default=function(t,e,r){switch(t.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(t,e,r){e.type===t.type&&(e={type:t.type,value:(0,o.default)(e.value,e.unit,t.unit,r),unit:t.unit});return{left:t,right:e}}(t,e,r);default:return{left:t,right:e}}},t.exports=e.default},function(t,e){var r={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};t.exports=function(t,e,n,i){if(!r.hasOwnProperty(n))throw new Error("Cannot convert to "+n);if(!r[n].hasOwnProperty(e))throw new Error("Cannot convert from "+e+" to "+n);var o=r[n][e]*t;return!1!==i?(i=Math.pow(10,parseInt(i)||5),Math.round(o*i)/i):o}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var a=function t(e,r){switch(e.type){case"MathExpression":var a=e.left,s=e.right,c=e.operator,u="";return"MathExpression"===a.type&&i[c]<i[a.operator]?u+="("+t(a,r)+")":u+=t(a,r),u+=" "+e.operator+" ","MathExpression"===s.type&&i[c]<i[s.operator]?u+="("+t(s,r)+")":"MathExpression"===s.type&&"-"===c&&["+","-"].includes(s.operator)?(s.operator=(0,n.flip)(s.operator),u+=t(s,r)):u+=t(s,r),u;case"Value":return o(e.value,r);case"CssVariable":return e.fallback?"var("+e.value+", "+t(e.fallback,r,!0)+")":"var("+e.value+")";case"Calc":return e.prefix?"-"+e.prefix+"-calc("+t(e.value,r)+")":"calc("+t(e.value,r)+")";default:return o(e.value,r)+e.unit}}(e,r);return"MathExpression"===e.type&&(a=t+"("+a+")"),a};var n=r(804),i={"*":0,"/":0,"+":1,"-":1};function o(t,e){if(!1!==e){var r=Math.pow(10,e);return Math.round(t*r)/r}return t}t.exports=e.default},function(t,e,r){(function(e){(function(){var r,n,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!==typeof e&&null!==e&&e.hrtime?(t.exports=function(){return(r()-a)/1e6},n=e.hrtime,o=(r=function(){var t;return 1e9*(t=n())[0]+t[1]})(),s=1e9*e.uptime(),a=o-s):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,r(112))},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};n.get||n.set?Object.defineProperty(e,r,n):e[r]=t[r]}e.default=t}(r(10));var n=s(r(1297)),i=s(r(1299)),o=s(r(0)),a=s(r(805));r(807);function s(t){return t&&t.__esModule?t:{default:t}}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}var u=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,n.default)(t,e)}))},l=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,i.default)(t,e)}))},f=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).onEnter=function(t,r){var n=e.getClassNames(r?"appear":"enter").className;e.removeClasses(t,"exit"),u(t,n),e.props.onEnter&&e.props.onEnter(t,r)},e.onEntering=function(t,r){var n=e.getClassNames(r?"appear":"enter").activeClassName;e.reflowAndAddClass(t,n),e.props.onEntering&&e.props.onEntering(t,r)},e.onEntered=function(t,r){var n=e.getClassNames("appear").doneClassName,i=e.getClassNames("enter").doneClassName,o=r?n+" "+i:i;e.removeClasses(t,r?"appear":"enter"),u(t,o),e.props.onEntered&&e.props.onEntered(t,r)},e.onExit=function(t){var r=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),u(t,r),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var r=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,r),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var r=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),u(t,r),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var r=e.props.classNames,n="string"===typeof r,i=n?(n&&r?r+"-":"")+t:r[t];return{className:i,activeClassName:n?i+"-active":r[t+"Active"],doneClassName:n?i+"-done":r[t+"Done"]}},e}r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var i=n.prototype;return i.removeClasses=function(t,e){var r=this.getClassNames(e),n=r.className,i=r.activeClassName,o=r.doneClassName;n&&l(t,n),i&&l(t,i),o&&l(t,o)},i.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,u(t,e))},i.render=function(){var t=c({},this.props);return delete t.classNames,o.default.createElement(a.default,c({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},n}(o.default.Component);f.defaultProps={classNames:""},f.propTypes={};var h=f;e.default=h,t.exports=e.default},function(t,e,r){"use strict";var n=r(50);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"===typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=n(r(1298));t.exports=e.default},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},function(t,e,r){"use strict";function n(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,e){t.classList?t.classList.remove(e):"string"===typeof t.className?t.className=n(t.className,e):t.setAttribute("class",n(t.className&&t.className.baseVal||"",e))}},function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;a(r(10));var n=a(r(0)),i=r(76),o=a(r(808));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e,r;function a(){for(var e,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).handleEnter=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEnter",0,r)},e.handleEntering=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntering",0,r)},e.handleEntered=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onEntered",0,r)},e.handleExit=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExit",1,r)},e.handleExiting=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExiting",1,r)},e.handleExited=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.handleLifecycle("onExited",1,r)},e}r=t,(e=a).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r;var s=a.prototype;return s.handleLifecycle=function(t,e,r){var o,a=this.props.children,s=n.default.Children.toArray(a)[e];s.props[t]&&(o=s.props)[t].apply(o,r),this.props[t]&&this.props[t]((0,i.findDOMNode)(this))},s.render=function(){var t=this.props,e=t.children,r=t.in,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,["children","in"]),a=n.default.Children.toArray(e),s=a[0],c=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,n.default.createElement(o.default,i,r?n.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(c,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(n.default.Component);s.propTypes={};var c=s;e.default=c,t.exports=e.default},function(t,e,r){"use strict";e.__esModule=!0,e.getChildMapping=i,e.mergeChildMappings=o,e.getInitialChildMapping=function(t,e){return i(t.children,(function(r){return(0,n.cloneElement)(r,{onExited:e.bind(null,r),in:!0,appear:a(r,"appear",t),enter:a(r,"enter",t),exit:a(r,"exit",t)})}))},e.getNextChildMapping=function(t,e,r){var s=i(t.children),c=o(e,s);return Object.keys(c).forEach((function(i){var o=c[i];if((0,n.isValidElement)(o)){var u=i in e,l=i in s,f=e[i],h=(0,n.isValidElement)(f)&&!f.props.in;!l||u&&!h?l||!u||h?l&&u&&(0,n.isValidElement)(f)&&(c[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:f.props.in,exit:a(o,"exit",t),enter:a(o,"enter",t)})):c[i]=(0,n.cloneElement)(o,{in:!1}):c[i]=(0,n.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:a(o,"exit",t),enter:a(o,"enter",t)})}})),c};var n=r(0);function i(t,e){var r=Object.create(null);return t&&n.Children.map(t,(function(t){return t})).forEach((function(t){r[t.key]=function(t){return e&&(0,n.isValidElement)(t)?e(t):t}(t)})),r}function o(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in e){if(i[c])for(n=0;n<i[c].length;n++){var u=i[c][n];s[i[c][n]]=r(u)}s[c]=r(c)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}function a(t,e,r){return null!=r[e]?r[e]:t.props[e]}},,function(t,e,r){"use strict";r.r(e);var n=function(t,e){for(var r,n=-1,i=t.length;++n<i;){var o=e(t[n]);void 0!==o&&(r=void 0===r?o:r+o)}return r},i=r(528);e.default=function(t){return t&&t.length?n(t,i.a):0}},function(t,e,r){"use strict";r.r(e);var n=r(512),i=r(528);var o=function(t){return"function"==typeof t?t:i.a},a=r(372),s=Math.min;e.default=function(t,e){if((t=Object(a.a)(t))<1||t>9007199254740991)return[];var r=4294967295,i=s(t,4294967295);e=o(e),t-=4294967295;for(var c=Object(n.a)(i,e);++r<t;)e(r);return c}},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=(r(10),r(445)),c=r(139),u=r(161),l=r(64);function f(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var h={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},d=a.forwardRef((function(t,e){var r=t.children,d=t.disableStrictModeCompat,p=void 0!==d&&d,m=t.in,b=t.onEnter,v=t.onEntered,g=t.onEntering,y=t.onExit,w=t.onExited,x=t.onExiting,O=t.style,_=t.timeout,S=void 0===_?"auto":_,k=t.TransitionComponent,E=void 0===k?s.a:k,M=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),C=a.useRef(),j=a.useRef(),A=Object(c.a)(),T=A.unstable_strictMode&&!p,P=a.useRef(null),D=Object(l.a)(r.ref,e),R=Object(l.a)(T?P:void 0,D),L=function(t){return function(e,r){if(t){var n=T?[P.current,e]:[e,r],o=Object(i.a)(n,2),a=o[0],s=o[1];void 0===s?t(a):t(a,s)}}},I=L(g),N=L((function(t,e){Object(u.b)(t);var r,n=Object(u.a)({style:O,timeout:S},{mode:"enter"}),i=n.duration,o=n.delay;"auto"===S?(r=A.transitions.getAutoHeightDuration(t.clientHeight),j.current=r):r=i,t.style.transition=[A.transitions.create("opacity",{duration:r,delay:o}),A.transitions.create("transform",{duration:.666*r,delay:o})].join(","),b&&b(t,e)})),F=L(v),B=L(x),z=L((function(t){var e,r=Object(u.a)({style:O,timeout:S},{mode:"exit"}),n=r.duration,i=r.delay;"auto"===S?(e=A.transitions.getAutoHeightDuration(t.clientHeight),j.current=e):e=n,t.style.transition=[A.transitions.create("opacity",{duration:e,delay:i}),A.transitions.create("transform",{duration:.666*e,delay:i||.333*e})].join(","),t.style.opacity="0",t.style.transform=f(.75),y&&y(t)})),H=L(w);return a.useEffect((function(){return function(){clearTimeout(C.current)}}),[]),a.createElement(E,Object(n.a)({appear:!0,in:m,nodeRef:T?P:void 0,onEnter:N,onEntered:F,onEntering:I,onExit:z,onExited:H,onExiting:B,addEndListener:function(t,e){var r=T?t:e;"auto"===S&&(C.current=setTimeout(r,j.current||0))},timeout:"auto"===S?null:S},M),(function(t,e){return a.cloneElement(r,Object(n.a)({style:Object(n.a)({opacity:0,transform:f(.75),visibility:"exited"!==t||m?void 0:"hidden"},h[t],O,r.props.style),ref:R},e))}))}));d.muiSupportAuto=!0,e.a=d},function(t,e,r){"use strict";var n=r(0),i=r(76),o=(r(10),r(169)),a=r(64);var s="undefined"!==typeof window?n.useLayoutEffect:n.useEffect,c=n.forwardRef((function(t,e){var r=t.children,c=t.container,u=t.disablePortal,l=void 0!==u&&u,f=t.onRendered,h=n.useState(null),d=h[0],p=h[1],m=Object(a.a)(n.isValidElement(r)?r.ref:null,e);return s((function(){l||p(function(t){return t="function"===typeof t?t():t,i.findDOMNode(t)}(c)||document.body)}),[c,l]),s((function(){if(d&&!l)return Object(o.a)(e,d),function(){Object(o.a)(e,null)}}),[e,d,l]),s((function(){f&&(d||l)&&f()}),[f,d,l]),l?n.isValidElement(r)?n.cloneElement(r,{ref:m}):r:d?i.createPortal(r,d):d}));e.a=c},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(883),u=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.invisible,f=void 0!==l&&l,h=t.open,d=t.transitionDuration,p=t.TransitionComponent,m=void 0===p?c.a:p,b=Object(i.a)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return o.createElement(m,Object(n.a)({in:h,timeout:d},b),o.createElement("div",{className:Object(a.a)(s.root,u,f&&s.invisible),"aria-hidden":!0,ref:e},r))}));e.a=Object(s.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(u)},function(t,e,r){"use strict";function n(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce((function(t,e){return null==e?t:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n),e.apply(this,n)}}),(function(){}))}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(3),i=r(0),o=0;function a(t){var e=i.useState(t),r=Object(n.a)(e,2),a=r[0],s=r[1],c=t||a;return i.useEffect((function(){null==a&&s("mui-".concat(o+=1))}),[a]),c}},function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r(19),i=r(2),o=r(14),a=r(558),s=r(382),c=["sx"];function u(t){var e,r=t.sx,u=function(t){var e={systemProps:{},otherProps:{}};return Object.keys(t).forEach((function(r){s.b[r]?e.systemProps[r]=t[r]:e.otherProps[r]=t[r]})),e}(Object(o.a)(t,c)),l=u.systemProps,f=u.otherProps;return e=Array.isArray(r)?[l].concat(Object(n.a)(r)):"function"===typeof r?function(){var t=r.apply(void 0,arguments);return Object(a.b)(t)?Object(i.a)({},l,t):l}:Object(i.a)({},l,r),Object(i.a)({},f,{sx:e})}},function(t,e,r){"use strict";var n=r(0),i=(r(10),r(441)),o=r(304),a=r(6),s=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function c(t){var e=[],r=[];return Array.from(t.querySelectorAll(s)).forEach((function(t,n){var i=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return Number.isNaN(e)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:e}(t);-1!==i&&function(t){return!(t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return!1;if(!t.name)return!1;var e=function(e){return t.ownerDocument.querySelector('input[type="radio"]'.concat(e))},r=e('[name="'.concat(t.name,'"]:checked'));return r||(r=e('[name="'.concat(t.name,'"]'))),r!==t}(t))}(t)&&(0===i?e.push(t):r.push({documentOrder:n,tabIndex:i,node:t}))})),r.sort((function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex})).map((function(t){return t.node})).concat(e)}function u(){return!0}e.a=function(t){var e=t.children,r=t.disableAutoFocus,s=void 0!==r&&r,l=t.disableEnforceFocus,f=void 0!==l&&l,h=t.disableRestoreFocus,d=void 0!==h&&h,p=t.getTabbable,m=void 0===p?c:p,b=t.isEnabled,v=void 0===b?u:b,g=t.open,y=n.useRef(),w=n.useRef(null),x=n.useRef(null),O=n.useRef(null),_=n.useRef(null),S=n.useRef(!1),k=n.useRef(null),E=Object(i.a)(e.ref,k),M=n.useRef(null);n.useEffect((function(){g&&k.current&&(S.current=!s)}),[s,g]),n.useEffect((function(){if(g&&k.current){var t=Object(o.a)(k.current);return k.current.contains(t.activeElement)||(k.current.hasAttribute("tabIndex")||k.current.setAttribute("tabIndex",-1),S.current&&k.current.focus()),function(){d||(O.current&&O.current.focus&&(y.current=!0,O.current.focus()),O.current=null)}}}),[g]),n.useEffect((function(){if(g&&k.current){var t=Object(o.a)(k.current),e=function(e){var r=k.current;if(null!==r)if(t.hasFocus()&&!f&&v()&&!y.current){if(!r.contains(t.activeElement)){if(e&&_.current!==e.target||t.activeElement!==_.current)_.current=null;else if(null!==_.current)return;if(!S.current)return;var n=[];if(t.activeElement!==w.current&&t.activeElement!==x.current||(n=m(k.current)),n.length>0){var i,o,a=Boolean((null==(i=M.current)?void 0:i.shiftKey)&&"Tab"===(null==(o=M.current)?void 0:o.key)),s=n[0],c=n[n.length-1];a?c.focus():s.focus()}else r.focus()}}else y.current=!1},r=function(e){M.current=e,!f&&v()&&"Tab"===e.key&&t.activeElement===k.current&&e.shiftKey&&(y.current=!0,x.current.focus())};t.addEventListener("focusin",e),t.addEventListener("keydown",r,!0);var n=setInterval((function(){"BODY"===t.activeElement.tagName&&e()}),50);return function(){clearInterval(n),t.removeEventListener("focusin",e),t.removeEventListener("keydown",r,!0)}}}),[s,f,d,v,g,m]);var C=function(t){null===O.current&&(O.current=t.relatedTarget),S.current=!0};return Object(a.jsxs)(n.Fragment,{children:[Object(a.jsx)("div",{tabIndex:0,onFocus:C,ref:w,"data-test":"sentinelStart"}),n.cloneElement(e,{ref:E,onFocus:function(t){null===O.current&&(O.current=t.relatedTarget),S.current=!0,_.current=t.target;var r=e.props.onFocus;r&&r(t)}}),Object(a.jsx)("div",{tabIndex:0,onFocus:C,ref:x,"data-test":"sentinelEnd"})]})}},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(445)),s=r(122),c=r(162),u=r(72),l=r(6),f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function h(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var d={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"}},p=o.forwardRef((function(t,e){var r=t.addEndListener,p=t.appear,m=void 0===p||p,b=t.children,v=t.easing,g=t.in,y=t.onEnter,w=t.onEntered,x=t.onEntering,O=t.onExit,_=t.onExited,S=t.onExiting,k=t.style,E=t.timeout,M=void 0===E?"auto":E,C=t.TransitionComponent,j=void 0===C?a.a:C,A=Object(i.a)(t,f),T=o.useRef(),P=o.useRef(),D=Object(s.a)(),R=o.useRef(null),L=Object(u.a)(b.ref,e),I=Object(u.a)(R,L),N=function(t){return function(e){if(t){var r=R.current;void 0===e?t(r):t(r,e)}}},F=N(x),B=N((function(t,e){Object(c.b)(t);var r,n=Object(c.a)({style:k,timeout:M,easing:v},{mode:"enter"}),i=n.duration,o=n.delay,a=n.easing;"auto"===M?(r=D.transitions.getAutoHeightDuration(t.clientHeight),P.current=r):r=i,t.style.transition=[D.transitions.create("opacity",{duration:r,delay:o}),D.transitions.create("transform",{duration:.666*r,delay:o,easing:a})].join(","),y&&y(t,e)})),z=N(w),H=N(S),U=N((function(t){var e,r=Object(c.a)({style:k,timeout:M,easing:v},{mode:"exit"}),n=r.duration,i=r.delay,o=r.easing;"auto"===M?(e=D.transitions.getAutoHeightDuration(t.clientHeight),P.current=e):e=n,t.style.transition=[D.transitions.create("opacity",{duration:e,delay:i}),D.transitions.create("transform",{duration:.666*e,delay:i||.333*e,easing:o})].join(","),t.style.opacity="0",t.style.transform=h(.75),O&&O(t)})),W=N(_);return o.useEffect((function(){return function(){clearTimeout(T.current)}}),[]),Object(l.jsx)(j,Object(n.a)({appear:m,in:g,nodeRef:R,onEnter:B,onEntered:z,onEntering:F,onExit:U,onExited:W,onExiting:H,addEndListener:function(t){"auto"===M&&(T.current=setTimeout(t,P.current||0)),r&&r(R.current,t)},timeout:"auto"===M?null:M},A,{children:function(t,e){return o.cloneElement(b,Object(n.a)({style:Object(n.a)({opacity:0,transform:h(.75),visibility:"exited"!==t||g?void 0:"hidden"},d[t],k,b.props.style),ref:I},e))}}))}));p.muiSupportAuto=!0,e.a=p},function(t,e,r){"use strict";var n=r(2),i=(r(0),r(10),r(1314)),o=r(284),a=r(6);e.a=function(t){return Object(a.jsx)(i.a,Object(n.a)({},t,{defaultTheme:o.a}))}},function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r(0),r(10);var n=r(315),i=r(6);function o(t){var e=t.styles,r=t.defaultTheme,o=void 0===r?{}:r,a="function"===typeof e?function(t){return e(void 0===(r=t)||null===r||0===Object.keys(r).length?o:t);var r}:e;return Object(i.jsx)(n.a,{styles:a})}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=t.color,l=void 0===u?"primary":u,f=t.disableShrink,h=void 0!==f&&f,d=t.size,p=void 0===d?40:d,m=t.style,b=t.thickness,v=void 0===b?3.6:b,g=t.value,y=void 0===g?0:g,w=t.variant,x=void 0===w?"indeterminate":w,O=Object(i.a)(t,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),_={},S={},k={};if("determinate"===x||"static"===x){var E=2*Math.PI*((44-v)/2);_.strokeDasharray=E.toFixed(3),k["aria-valuenow"]=Math.round(y),_.strokeDashoffset="".concat(((100-y)/100*E).toFixed(3),"px"),S.transform="rotate(-90deg)"}return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,s,"inherit"!==l&&r["color".concat(Object(c.a)(l))],{determinate:r.determinate,indeterminate:r.indeterminate,static:r.static}[x]),style:Object(n.a)({width:p,height:p},S,m),ref:e,role:"progressbar"},k,O),o.createElement("svg",{className:r.svg,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44)},o.createElement("circle",{className:Object(a.a)(r.circle,h&&r.circleDisableShrink,{determinate:r.circleDeterminate,indeterminate:r.circleIndeterminate,static:r.circleStatic}[x]),style:_,cx:44,cy:44,r:(44-v)/2,fill:"none",strokeWidth:v})))}));e.a=Object(s.a)((function(t){return{root:{display:"inline-block"},static:{transition:t.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:t.transitions.create("transform")},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:t.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:t.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(835)),s=r(656),c=r(1306),u=r(186),l=r(169),f=r(64);function h(t){return"function"===typeof t?t():t}var d="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,p={},m=o.forwardRef((function(t,e){var r=t.anchorEl,m=t.children,b=t.container,v=t.disablePortal,g=void 0!==v&&v,y=t.keepMounted,w=void 0!==y&&y,x=t.modifiers,O=t.open,_=t.placement,S=void 0===_?"bottom":_,k=t.popperOptions,E=void 0===k?p:k,M=t.popperRef,C=t.style,j=t.transition,A=void 0!==j&&j,T=Object(i.a)(t,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),P=o.useRef(null),D=Object(f.a)(P,e),R=o.useRef(null),L=Object(f.a)(R,M),I=o.useRef(L);d((function(){I.current=L}),[L]),o.useImperativeHandle(M,(function(){return R.current}),[]);var N=o.useState(!0),F=N[0],B=N[1],z=function(t,e){if("ltr"===(e&&e.direction||"ltr"))return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(S,Object(s.a)()),H=o.useState(z),U=H[0],W=H[1];o.useEffect((function(){R.current&&R.current.update()}));var q=o.useCallback((function(){if(P.current&&r&&O){R.current&&(R.current.destroy(),I.current(null));var t=function(t){W(t.placement)},e=(h(r),new a.a(h(r),P.current,Object(n.a)({placement:z},E,{modifiers:Object(n.a)({},g?{}:{preventOverflow:{boundariesElement:"window"}},x,E.modifiers),onCreate:Object(u.a)(t,E.onCreate),onUpdate:Object(u.a)(t,E.onUpdate)})));I.current(e)}}),[r,g,x,O,z,E]),V=o.useCallback((function(t){Object(l.a)(D,t),q()}),[D,q]),G=function(){R.current&&(R.current.destroy(),I.current(null))};if(o.useEffect((function(){return function(){G()}}),[]),o.useEffect((function(){O||A||G()}),[O,A]),!w&&!O&&(!A||F))return null;var Y={placement:U};return A&&(Y.TransitionProps={in:O,onEnter:function(){B(!1)},onExited:function(){B(!0),G()}}),o.createElement(c.a,{disablePortal:g,container:b},o.createElement("div",Object(n.a)({ref:V,role:"tooltip"},T,{style:Object(n.a)({position:"fixed",top:0,left:0,display:O||!w||A?null:"none"},C)}),"function"===typeof m?m(Y):m))}));e.a=m},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=o.forwardRef((function(t,e){var r=t.absolute,s=void 0!==r&&r,c=t.classes,u=t.className,l=t.component,f=void 0===l?"hr":l,h=t.flexItem,d=void 0!==h&&h,p=t.light,m=void 0!==p&&p,b=t.orientation,v=void 0===b?"horizontal":b,g=t.role,y=void 0===g?"hr"!==f?"separator":void 0:g,w=t.variant,x=void 0===w?"fullWidth":w,O=Object(i.a)(t,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return o.createElement(f,Object(n.a)({className:Object(a.a)(c.root,u,"fullWidth"!==x&&c[x],s&&c.absolute,d&&c.flexItem,m&&c.light,"vertical"===v&&c.vertical),role:y,ref:e},O))}));e.a=Object(s.a)((function(t){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:t.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(c.a)(t.palette.divider,.08)},middle:{marginLeft:t.spacing(2),marginRight:t.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(u)},function(t,e,r){"use strict";var n=r(3),i=r(0),o=(r(10),r(338)),a=r(6);e.a=function(t){var e=t.children,r=t.defer,s=void 0!==r&&r,c=t.fallback,u=void 0===c?null:c,l=i.useState(!1),f=Object(n.a)(l,2),h=f[0],d=f[1];return Object(o.a)((function(){s||d(!0)}),[s]),i.useEffect((function(){s&&d(!0)}),[s]),Object(a.jsx)(i.Fragment,{children:h?e:u})}},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(24),f=r(373),h=r(22),d=r(13),p=r(146),m=r(6),b=["className","color","edge","size","sx"],v=Object(d.a)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.edge&&e["edge".concat(Object(l.a)(r.edge))],e["size".concat(Object(l.a)(r.size))]]}})((function(t){var e,r=t.ownerState;return Object(o.a)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===r.edge&&{marginLeft:-8},"end"===r.edge&&{marginRight:-8},"small"===r.size&&(e={width:40,height:24,padding:7},Object(n.a)(e,"& .".concat(p.a.thumb),{width:16,height:16}),Object(n.a)(e,"& .".concat(p.a.switchBase),Object(n.a)({padding:4},"&.".concat(p.a.checked),{transform:"translateX(16px)"})),e))})),g=Object(d.a)(f.a,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(t,e){var r=t.ownerState;return[e.switchBase,Object(n.a)({},"& .".concat(p.a.input),e.input),"default"!==r.color&&e["color".concat(Object(l.a)(r.color))]]}})((function(t){var e,r=t.theme;return e={position:"absolute",top:0,left:0,zIndex:1,color:"light"===r.palette.mode?r.palette.common.white:r.palette.grey[300],transition:r.transitions.create(["left","transform"],{duration:r.transitions.duration.shortest})},Object(n.a)(e,"&.".concat(p.a.checked),{transform:"translateX(20px)"}),Object(n.a)(e,"&.".concat(p.a.disabled),{color:"light"===r.palette.mode?r.palette.grey[100]:r.palette.grey[600]}),Object(n.a)(e,"&.".concat(p.a.checked," + .").concat(p.a.track),{opacity:.5}),Object(n.a)(e,"&.".concat(p.a.disabled," + .").concat(p.a.track),{opacity:"light"===r.palette.mode?.12:.2}),Object(n.a)(e,"& .".concat(p.a.input),{left:"-100%",width:"300%"}),e}),(function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({"&:hover":{backgroundColor:Object(u.a)(r.palette.action.active,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==i.color&&(e={},Object(n.a)(e,"&.".concat(p.a.checked),Object(n.a)({color:r.palette[i.color].main,"&:hover":{backgroundColor:Object(u.a)(r.palette[i.color].main,r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(p.a.disabled),{color:"light"===r.palette.mode?Object(u.e)(r.palette[i.color].main,.62):Object(u.b)(r.palette[i.color].main,.55)})),Object(n.a)(e,"&.".concat(p.a.checked," + .").concat(p.a.track),{backgroundColor:r.palette[i.color].main}),e))})),y=Object(d.a)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(t,e){return e.track}})((function(t){var e=t.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3}})),w=Object(d.a)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(t,e){return e.thumb}})((function(t){return{boxShadow:t.theme.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),x=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiSwitch"}),n=r.className,a=r.color,u=void 0===a?"primary":a,f=r.edge,d=void 0!==f&&f,x=r.size,O=void 0===x?"medium":x,_=r.sx,S=Object(i.a)(r,b),k=Object(o.a)({},r,{color:u,edge:d,size:O}),E=function(t){var e=t.classes,r=t.edge,n=t.size,i=t.color,a=t.checked,s=t.disabled,u={root:["root",r&&"edge".concat(Object(l.a)(r)),"size".concat(Object(l.a)(n))],switchBase:["switchBase","color".concat(Object(l.a)(i)),a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=Object(c.a)(u,p.b,e);return Object(o.a)({},e,f)}(k),M=Object(m.jsx)(w,{className:E.thumb,ownerState:k});return Object(m.jsxs)(v,{className:Object(s.a)(E.root,n),sx:_,ownerState:k,children:[Object(m.jsx)(g,Object(o.a)({type:"checkbox",icon:M,checkedIcon:M,ref:e,ownerState:k},S,{classes:Object(o.a)({},E,{root:E.switchBase})})),Object(m.jsx)(y,{className:E.track,ownerState:k})]})}));e.a=x},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=r(76),s=(r(10),r(656)),c=r(1400),u=r(124),l=r(1306),f=r(186),h=r(64),d=r(148),p=r(521);var m=r(374),b=r(232),v=r(522),g=r(356);function y(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function w(t){return parseInt(window.getComputedStyle(t)["padding-right"],10)||0}function x(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[e,r].concat(Object(b.a)(n)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){1===t.nodeType&&-1===o.indexOf(t)&&-1===a.indexOf(t.tagName)&&y(t,i)}))}function O(t,e){var r=-1;return t.some((function(t,n){return!!e(t)&&(r=n,!0)})),r}function _(t,e){var r,n=[],i=[],o=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(u.a)(t);return e.body===t?Object(g.a)(e).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(o)){var a=Object(v.a)();n.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(w(o)+a,"px"),r=Object(u.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(r,(function(t){i.push(t.style.paddingRight),t.style.paddingRight="".concat(w(t)+a,"px")}))}var s=o.parentElement,c="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:o;n.push({value:c.style.overflow,key:"overflow",el:c}),c.style.overflow="hidden"}return function(){r&&[].forEach.call(r,(function(t,e){i[e]?t.style.paddingRight=i[e]:t.style.removeProperty("padding-right")})),n.forEach((function(t){var e=t.value,r=t.el,n=t.key;e?r.style.setProperty(n,e):r.style.removeProperty(n)}))}}var S=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.containers=[]}return Object(m.a)(t,[{key:"add",value:function(t,e){var r=this.modals.indexOf(t);if(-1!==r)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&y(t.modalRef,!1);var n=function(t){var e=[];return[].forEach.call(t.children,(function(t){t.getAttribute&&"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);x(e,t.mountNode,t.modalRef,n,!0);var i=O(this.containers,(function(t){return t.container===e}));return-1!==i?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblingNodes:n}),r)}},{key:"mount",value:function(t,e){var r=O(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];n.restore||(n.restore=_(n,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var r=O(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(t),1),this.modals.splice(e,1),0===n.modals.length)n.restore&&n.restore(),t.modalRef&&y(t.modalRef,!0),x(n.container,t.mountNode,t.modalRef,n.hiddenSiblingNodes,!1),this.containers.splice(r,1);else{var i=n.modals[n.modals.length-1];i.modalRef&&y(i.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}();var k=function(t){var e=t.children,r=t.disableAutoFocus,n=void 0!==r&&r,i=t.disableEnforceFocus,s=void 0!==i&&i,c=t.disableRestoreFocus,l=void 0!==c&&c,f=t.getDoc,d=t.isEnabled,p=t.open,m=o.useRef(),b=o.useRef(null),v=o.useRef(null),g=o.useRef(),y=o.useRef(null),w=o.useCallback((function(t){y.current=a.findDOMNode(t)}),[]),x=Object(h.a)(e.ref,w),O=o.useRef();return o.useEffect((function(){O.current=p}),[p]),!O.current&&p&&"undefined"!==typeof window&&(g.current=f().activeElement),o.useEffect((function(){if(p){var t=Object(u.a)(y.current);n||!y.current||y.current.contains(t.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex",-1),y.current.focus());var e=function(){null!==y.current&&(t.hasFocus()&&!s&&d()&&!m.current?y.current&&!y.current.contains(t.activeElement)&&y.current.focus():m.current=!1)},r=function(e){!s&&d()&&9===e.keyCode&&t.activeElement===y.current&&(m.current=!0,e.shiftKey?v.current.focus():b.current.focus())};t.addEventListener("focus",e,!0),t.addEventListener("keydown",r,!0);var i=setInterval((function(){e()}),50);return function(){clearInterval(i),t.removeEventListener("focus",e,!0),t.removeEventListener("keydown",r,!0),l||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[n,s,l,d,p]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:b,"data-test":"sentinelStart"}),o.cloneElement(e,{ref:x}),o.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelEnd"}))},E={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},M=o.forwardRef((function(t,e){var r=t.invisible,a=void 0!==r&&r,s=t.open,c=Object(n.a)(t,["invisible","open"]);return s?o.createElement("div",Object(i.a)({"aria-hidden":!0,ref:e},c,{style:Object(i.a)({},E.root,a?E.invisible:{},c.style)})):null}));var C=new S,j=o.forwardRef((function(t,e){var r=Object(s.a)(),m=Object(c.a)({name:"MuiModal",props:Object(i.a)({},t),theme:r}),b=m.BackdropComponent,v=void 0===b?M:b,g=m.BackdropProps,w=m.children,x=m.closeAfterTransition,O=void 0!==x&&x,_=m.container,S=m.disableAutoFocus,E=void 0!==S&&S,j=m.disableBackdropClick,A=void 0!==j&&j,T=m.disableEnforceFocus,P=void 0!==T&&T,D=m.disableEscapeKeyDown,R=void 0!==D&&D,L=m.disablePortal,I=void 0!==L&&L,N=m.disableRestoreFocus,F=void 0!==N&&N,B=m.disableScrollLock,z=void 0!==B&&B,H=m.hideBackdrop,U=void 0!==H&&H,W=m.keepMounted,q=void 0!==W&&W,V=m.manager,G=void 0===V?C:V,Y=m.onBackdropClick,X=m.onClose,$=m.onEscapeKeyDown,K=m.onRendered,Z=m.open,J=Object(n.a)(m,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=o.useState(!0),tt=Q[0],et=Q[1],rt=o.useRef({}),nt=o.useRef(null),it=o.useRef(null),ot=Object(h.a)(it,e),at=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(m),st=function(){return Object(u.a)(nt.current)},ct=function(){return rt.current.modalRef=it.current,rt.current.mountNode=nt.current,rt.current},ut=function(){G.mount(ct(),{disableScrollLock:z}),it.current.scrollTop=0},lt=Object(d.a)((function(){var t=function(t){return t="function"===typeof t?t():t,a.findDOMNode(t)}(_)||st().body;G.add(ct(),t),it.current&&ut()})),ft=o.useCallback((function(){return G.isTopModal(ct())}),[G]),ht=Object(d.a)((function(t){nt.current=t,t&&(K&&K(),Z&&ft()?ut():y(it.current,!0))})),dt=o.useCallback((function(){G.remove(ct())}),[G]);if(o.useEffect((function(){return function(){dt()}}),[dt]),o.useEffect((function(){Z?lt():at&&O||dt()}),[Z,dt,at,O,lt]),!q&&!Z&&(!at||tt))return null;var pt=function(t){return{root:{position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(r||{zIndex:p.a}),mt={};return void 0===w.props.tabIndex&&(mt.tabIndex=w.props.tabIndex||"-1"),at&&(mt.onEnter=Object(f.a)((function(){et(!1)}),w.props.onEnter),mt.onExited=Object(f.a)((function(){et(!0),O&&dt()}),w.props.onExited)),o.createElement(l.a,{ref:ht,container:_,disablePortal:I},o.createElement("div",Object(i.a)({ref:ot,onKeyDown:function(t){"Escape"===t.key&&ft()&&($&&$(t),R||(t.stopPropagation(),X&&X(t,"escapeKeyDown")))},role:"presentation"},J,{style:Object(i.a)({},pt.root,!Z&&tt?pt.hidden:{},J.style)}),U?null:o.createElement(v,Object(i.a)({open:Z,onClick:function(t){t.target===t.currentTarget&&(Y&&Y(t),!A&&X&&X(t,"backdropClick"))}},g)),o.createElement(k,{disableEnforceFocus:P,disableAutoFocus:E,disableRestoreFocus:F,getDoc:st,isEnabled:ft,open:Z},o.cloneElement(w,mt))))}));e.a=j},function(t,e,r){"use strict";var n,i,o,a,s,c,u,l,f,h=r(1),d=r(14),p=r(2),m=r(0),b=(r(10),r(8)),v=r(78),g=r(252),y=r(13),w=r(22),x=r(145),O=r(179),_=r(562),S=r(1471),k=r(1464),E=r(429),M=r(430),C=r(122),j=r(305),A=r(49),T=r(6),P=Object(A.a)(Object(T.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),D=Object(A.a)(Object(T.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),R=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],L=m.forwardRef((function(t,e){var r=t.backIconButtonProps,f=t.count,h=t.getItemAriaLabel,m=t.nextIconButtonProps,b=t.onPageChange,v=t.page,g=t.rowsPerPage,y=t.showFirstButton,w=t.showLastButton,x=Object(d.a)(t,R),O=Object(C.a)();return Object(T.jsxs)("div",Object(p.a)({ref:e},x,{children:[y&&Object(T.jsx)(j.a,{onClick:function(t){b(t,0)},disabled:0===v,"aria-label":h("first",v),title:h("first",v),children:"rtl"===O.direction?n||(n=Object(T.jsx)(P,{})):i||(i=Object(T.jsx)(D,{}))}),Object(T.jsx)(j.a,Object(p.a)({onClick:function(t){b(t,v-1)},disabled:0===v,color:"inherit","aria-label":h("previous",v),title:h("previous",v)},r,{children:"rtl"===O.direction?o||(o=Object(T.jsx)(M.a,{})):a||(a=Object(T.jsx)(E.a,{}))})),Object(T.jsx)(j.a,Object(p.a)({onClick:function(t){b(t,v+1)},disabled:-1!==f&&v>=Math.ceil(f/g)-1,color:"inherit","aria-label":h("next",v),title:h("next",v)},m,{children:"rtl"===O.direction?s||(s=Object(T.jsx)(E.a,{})):c||(c=Object(T.jsx)(M.a,{}))})),w&&Object(T.jsx)(j.a,{onClick:function(t){b(t,Math.max(0,Math.ceil(f/g)-1))},disabled:v>=Math.ceil(f/g)-1,"aria-label":h("last",v),title:h("last",v),children:"rtl"===O.direction?u||(u=Object(T.jsx)(D,{})):l||(l=Object(T.jsx)(P,{}))})]}))})),I=r(115),N=r(260),F=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],B=Object(y.a)(S.a,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme;return{overflow:"auto",color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}})),z=Object(y.a)(k.a,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(t,e){return Object(p.a)(Object(h.a)({},"& .".concat(N.a.actions),e.actions),e.toolbar)}})((function(t){var e,r=t.theme;return e={minHeight:52,paddingRight:2},Object(h.a)(e,"".concat(r.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),Object(h.a)(e,r.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),Object(h.a)(e,"& .".concat(N.a.actions),{flexShrink:0,marginLeft:20}),e})),H=Object(y.a)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(t,e){return e.spacer}})({flex:"1 1 100%"}),U=Object(y.a)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(t,e){return e.selectLabel}})((function(t){var e=t.theme;return Object(p.a)({},e.typography.body2,{flexShrink:0})})),W=Object(y.a)(_.a,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(t,e){var r;return Object(p.a)((r={},Object(h.a)(r,"& .".concat(N.a.selectIcon),e.selectIcon),Object(h.a)(r,"& .".concat(N.a.select),e.select),r),e.input,e.selectRoot)}})(Object(h.a)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(N.a.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),q=Object(y.a)(O.a,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(t,e){return e.menuItem}})({}),V=Object(y.a)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(t,e){return e.displayedRows}})((function(t){var e=t.theme;return Object(p.a)({},e.typography.body2,{flexShrink:0})}));function G(t){var e=t.from,r=t.to,n=t.count;return"".concat(e,"\u2013").concat(r," of ").concat(-1!==n?n:"more than ".concat(r))}function Y(t){return"Go to ".concat(t," page")}var X=m.forwardRef((function(t,e){var r,n=Object(w.a)({props:t,name:"MuiTablePagination"}),i=n.ActionsComponent,o=void 0===i?L:i,a=n.backIconButtonProps,s=n.className,c=n.colSpan,u=n.component,l=void 0===u?S.a:u,h=n.count,y=n.getItemAriaLabel,O=void 0===y?Y:y,_=n.labelDisplayedRows,k=void 0===_?G:_,E=n.labelRowsPerPage,M=void 0===E?"Rows per page:":E,C=n.nextIconButtonProps,j=n.onPageChange,A=n.onRowsPerPageChange,P=n.page,D=n.rowsPerPage,R=n.rowsPerPageOptions,X=void 0===R?[10,25,50,100]:R,$=n.SelectProps,K=void 0===$?{}:$,Z=n.showFirstButton,J=void 0!==Z&&Z,Q=n.showLastButton,tt=void 0!==Q&&Q,et=Object(d.a)(n,F),rt=n,nt=function(t){var e=t.classes;return Object(v.a)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},N.b,e)}(rt),it=K.native?"option":q;l!==S.a&&"td"!==l||(r=c||1e3);var ot=Object(I.a)(K.id),at=Object(I.a)(K.labelId);return Object(T.jsx)(B,Object(p.a)({colSpan:r,ref:e,as:l,ownerState:rt,className:Object(b.a)(nt.root,s)},et,{children:Object(T.jsxs)(z,{className:nt.toolbar,children:[Object(T.jsx)(H,{className:nt.spacer}),X.length>1&&Object(T.jsx)(U,{className:nt.selectLabel,id:at,children:M}),X.length>1&&Object(T.jsx)(W,Object(p.a)({variant:"standard",input:f||(f=Object(T.jsx)(x.c,{})),value:D,onChange:A,id:ot,labelId:at},K,{classes:Object(p.a)({},K.classes,{root:Object(b.a)(nt.input,nt.selectRoot,(K.classes||{}).root),select:Object(b.a)(nt.select,(K.classes||{}).select),icon:Object(b.a)(nt.selectIcon,(K.classes||{}).icon)}),children:X.map((function(t){return Object(m.createElement)(it,Object(p.a)({},!Object(g.a)(it)&&{ownerState:rt},{className:nt.menuItem,key:t.label?t.label:t,value:t.value?t.value:t}),t.label?t.label:t)}))})),Object(T.jsx)(V,{className:nt.displayedRows,children:k({from:0===h?0:P*D+1,to:-1===h?(P+1)*D:-1===D?h:Math.min(h,(P+1)*D),count:-1===h?-1:h,page:P})}),Object(T.jsx)(o,{className:nt.actions,backIconButtonProps:a,count:h,nextIconButtonProps:C,onPageChange:j,page:P,rowsPerPage:D,showFirstButton:J,showLastButton:tt,getItemAriaLabel:O})]})}))}));e.a=X},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(558),a=["values","unit","step"];function s(t){var e=t.values,r=void 0===e?{xs:0,sm:600,md:900,lg:1200,xl:1536}:e,o=t.unit,s=void 0===o?"px":o,c=t.step,u=void 0===c?5:c,l=Object(i.a)(t,a),f=Object.keys(r);function h(t){var e="number"===typeof r[t]?r[t]:t;return"@media (min-width:".concat(e).concat(s,")")}function d(t,e){var n=f.indexOf(e);return"@media (min-width:".concat("number"===typeof r[t]?r[t]:t).concat(s,") and ")+"(max-width:".concat((-1!==n&&"number"===typeof r[f[n]]?r[f[n]]:e)-u/100).concat(s,")")}return Object(n.a)({keys:f,values:r,up:h,down:function(t){var e="number"===typeof r[t]?r[t]:t;return"@media (max-width:".concat(e-u/100).concat(s,")")},between:d,only:function(t){return f.indexOf(t)+1<f.length?d(t,f[f.indexOf(t)+1]):h(t)},unit:s},l)}var c={borderRadius:4},u=r(149);function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(u.a)({spacing:t}),r=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=0===r.length?[1]:r;return i.map((function(t){var r=e(t);return"number"===typeof r?"".concat(r,"px"):r})).join(" ")};return r.mui=!0,r}var f=["breakpoints","palette","spacing","shape"];e.a=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,r=void 0===e?{}:e,a=t.palette,u=void 0===a?{}:a,h=t.spacing,d=t.shape,p=void 0===d?{}:d,m=Object(i.a)(t,f),b=s(r),v=l(h),g=Object(o.a)({breakpoints:b,direction:"ltr",components:{},palette:Object(n.a)({mode:"light"},u),spacing:v,shape:Object(n.a)({},c,p)},m),y=arguments.length,w=new Array(y>1?y-1:0),x=1;x<y;x++)w[x-1]=arguments[x];return g=w.reduce((function(t,e){return Object(o.a)(t,e)}),g)}},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(252)),s=r(340),c=r(339);function u(t){return Object(c.a)("MuiBackdrop",t)}Object(s.a)("MuiBackdrop",["root","invisible"]);var l=r(8),f=r(78),h=r(6),d=["classes","className","invisible","component","components","componentsProps","theme"],p=o.forwardRef((function(t,e){var r=t.classes,o=t.className,s=t.invisible,c=void 0!==s&&s,p=t.component,m=void 0===p?"div":p,b=t.components,v=void 0===b?{}:b,g=t.componentsProps,y=void 0===g?{}:g,w=t.theme,x=Object(n.a)(t,d),O=Object(i.a)({},t,{classes:r,invisible:c}),_=function(t){var e=t.classes,r={root:["root",t.invisible&&"invisible"]};return Object(f.a)(r,u,e)}(O),S=v.Root||m,k=y.root||{};return Object(h.jsx)(S,Object(i.a)({"aria-hidden":!0},k,!Object(a.a)(S)&&{as:m,ownerState:Object(i.a)({},O,k.ownerState),theme:w},{ref:e},x,{className:Object(l.a)(_.root,k.className,o)}))})),m=r(13),b=r(22),v=r(1412),g=["children","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],y=Object(m.a)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.invisible&&e.invisible]}})((function(t){var e=t.ownerState;return Object(i.a)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})})),w=o.forwardRef((function(t,e){var r,o=Object(b.a)({props:t,name:"MuiBackdrop"}),s=o.children,c=o.components,u=void 0===c?{}:c,l=o.componentsProps,f=void 0===l?{}:l,d=o.className,m=o.invisible,w=void 0!==m&&m,x=o.open,O=o.transitionDuration,_=o.TransitionComponent,S=void 0===_?v.a:_,k=Object(n.a)(o,g),E=function(t){return t.classes}(Object(i.a)({},o,{invisible:w}));return Object(h.jsx)(S,Object(i.a)({in:x,timeout:O},k,{children:Object(h.jsx)(p,{className:d,invisible:w,components:Object(i.a)({Root:y},u),componentsProps:{root:Object(i.a)({},f.root,(!u.Root||!Object(a.a)(u.Root))&&{ownerState:Object(i.a)({},null==(r=f.root)?void 0:r.ownerState)})},classes:E,ref:e,children:s})}))}));e.a=w},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(1320),c=r(1307),u=r(26),l=r(76),f=r(270),h=r(445),d=r(64),p=r(139),m=r(140),b=r(161);function v(t,e){var r=function(t,e){var r,n=e.getBoundingClientRect();if(e.fakeTransform)r=e.fakeTransform;else{var i=window.getComputedStyle(e);r=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var o=0,a=0;if(r&&"none"!==r&&"string"===typeof r){var s=r.split("(")[1].split(")")[0].split(",");o=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===t?"translateX(".concat(window.innerWidth,"px) translateX(").concat(o-n.left,"px)"):"right"===t?"translateX(-".concat(n.left+n.width-o,"px)"):"up"===t?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-n.top,"px)"):"translateY(-".concat(n.top+n.height-a,"px)")}(t,e);r&&(e.style.webkitTransform=r,e.style.transform=r)}var g={enter:m.b.enteringScreen,exit:m.b.leavingScreen},y=o.forwardRef((function(t,e){var r=t.children,a=t.direction,s=void 0===a?"down":a,c=t.in,u=t.onEnter,m=t.onEntered,y=t.onEntering,w=t.onExit,x=t.onExited,O=t.onExiting,_=t.style,S=t.timeout,k=void 0===S?g:S,E=t.TransitionComponent,M=void 0===E?h.a:E,C=Object(i.a)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),j=Object(p.a)(),A=o.useRef(null),T=o.useCallback((function(t){A.current=l.findDOMNode(t)}),[]),P=Object(d.a)(r.ref,T),D=Object(d.a)(P,e),R=function(t){return function(e){t&&(void 0===e?t(A.current):t(A.current,e))}},L=R((function(t,e){v(s,t),Object(b.b)(t),u&&u(t,e)})),I=R((function(t,e){var r=Object(b.a)({timeout:k,style:_},{mode:"enter"});t.style.webkitTransition=j.transitions.create("-webkit-transform",Object(n.a)({},r,{easing:j.transitions.easing.easeOut})),t.style.transition=j.transitions.create("transform",Object(n.a)({},r,{easing:j.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",y&&y(t,e)})),N=R(m),F=R(O),B=R((function(t){var e=Object(b.a)({timeout:k,style:_},{mode:"exit"});t.style.webkitTransition=j.transitions.create("-webkit-transform",Object(n.a)({},e,{easing:j.transitions.easing.sharp})),t.style.transition=j.transitions.create("transform",Object(n.a)({},e,{easing:j.transitions.easing.sharp})),v(s,t),w&&w(t)})),z=R((function(t){t.style.webkitTransition="",t.style.transition="",x&&x(t)})),H=o.useCallback((function(){A.current&&v(s,A.current)}),[s]);return o.useEffect((function(){if(!c&&"down"!==s&&"right"!==s){var t=Object(f.a)((function(){A.current&&v(s,A.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[s,c]),o.useEffect((function(){c||H()}),[c,H]),o.createElement(M,Object(n.a)({nodeRef:A,onEnter:L,onEntered:N,onEntering:I,onExit:B,onExited:z,onExiting:F,appear:!0,in:c,timeout:k},C),(function(t,e){return o.cloneElement(r,Object(n.a)({ref:D,style:Object(n.a)({visibility:"exited"!==t||c?void 0:"hidden"},_,r.props.style)},e))}))})),w=r(658),x=r(38),O={left:"right",right:"left",top:"down",bottom:"up"};var _={enter:m.b.enteringScreen,exit:m.b.leavingScreen},S=o.forwardRef((function(t,e){var r=t.anchor,u=void 0===r?"left":r,l=t.BackdropProps,f=t.children,h=t.classes,d=t.className,m=t.elevation,b=void 0===m?16:m,v=t.ModalProps,g=(v=void 0===v?{}:v).BackdropProps,S=Object(i.a)(v,["BackdropProps"]),k=t.onClose,E=t.open,M=void 0!==E&&E,C=t.PaperProps,j=void 0===C?{}:C,A=t.SlideProps,T=t.TransitionComponent,P=void 0===T?y:T,D=t.transitionDuration,R=void 0===D?_:D,L=t.variant,I=void 0===L?"temporary":L,N=Object(i.a)(t,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),F=Object(p.a)(),B=o.useRef(!1);o.useEffect((function(){B.current=!0}),[]);var z=function(t,e){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(e)?O[e]:e}(F,u),H=o.createElement(w.a,Object(n.a)({elevation:"temporary"===I?b:0,square:!0},j,{className:Object(a.a)(h.paper,h["paperAnchor".concat(Object(x.a)(z))],j.className,"temporary"!==I&&h["paperAnchorDocked".concat(Object(x.a)(z))])}),f);if("permanent"===I)return o.createElement("div",Object(n.a)({className:Object(a.a)(h.root,h.docked,d),ref:e},N),H);var U=o.createElement(P,Object(n.a)({in:M,direction:O[z],timeout:R,appear:B.current},A),H);return"persistent"===I?o.createElement("div",Object(n.a)({className:Object(a.a)(h.root,h.docked,d),ref:e},N),U):o.createElement(s.a,Object(n.a)({BackdropProps:Object(n.a)({},l,g,{transitionDuration:R}),BackdropComponent:c.a,className:Object(a.a)(h.root,h.modal,d),open:M,onClose:k,ref:e},N,S),U)}));e.a=Object(u.a)((function(t){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:t.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(t.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(t.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(t.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(t.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(S)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(548),c=r(1406),u=r(1310),l=r(426),f=r(6),h=["className","component"];var d=r(825),p=r(875),m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,r=t.defaultClassName,d=void 0===r?"MuiBox-root":r,p=t.generateClassName,m=Object(s.a)("div")(c.a),b=o.forwardRef((function(t,r){var o=Object(l.a)(e),s=Object(u.a)(t),c=s.className,b=s.component,v=void 0===b?"div":b,g=Object(i.a)(s,h);return Object(f.jsx)(m,Object(n.a)({as:v,ref:r,className:Object(a.a)(c,p?p(d):d),theme:o},g))}));return b}({defaultTheme:Object(p.a)(),defaultClassName:"MuiBox-root",generateClassName:d.a.generate});e.a=m},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(1310),c=r(78),u=r(13),l=r(22),f=r(24),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiTypography",t)}Object(d.a)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=r(6),b=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],v=Object(u.a)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.variant&&e[r.variant],"inherit"!==r.align&&e["align".concat(Object(f.a)(r.align))],r.noWrap&&e.noWrap,r.gutterBottom&&e.gutterBottom,r.paragraph&&e.paragraph]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({margin:0},r.variant&&e.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})})),g={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiTypography"}),o=function(t){return y[t]||t}(r.color),u=Object(s.a)(Object(i.a)({},r,{color:o})),h=u.align,d=void 0===h?"inherit":h,w=u.className,x=u.component,O=u.gutterBottom,_=void 0!==O&&O,S=u.noWrap,k=void 0!==S&&S,E=u.paragraph,M=void 0!==E&&E,C=u.variant,j=void 0===C?"body1":C,A=u.variantMapping,T=void 0===A?g:A,P=Object(n.a)(u,b),D=Object(i.a)({},u,{align:d,color:o,className:w,component:x,gutterBottom:_,noWrap:k,paragraph:M,variant:j,variantMapping:T}),R=x||(M?"p":T[j]||g[j])||"span",L=function(t){var e=t.align,r=t.gutterBottom,n=t.noWrap,i=t.paragraph,o=t.variant,a=t.classes,s={root:["root",o,"inherit"!==t.align&&"align".concat(Object(f.a)(e)),r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return Object(c.a)(s,p,a)}(D);return Object(m.jsx)(v,Object(i.a)({as:R,ref:e,ownerState:D,className:Object(a.a)(L.root,w)},P))}));e.a=w},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(170),l=r(1326),f=r(24),h=r(13),d=r(22),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiFormControlLabel",t)}var v=Object(m.a)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label"]),g=r(6),y=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],w=Object(h.a)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(n.a)({},"& .".concat(v.label),e.label),e.root,e["labelPlacement".concat(Object(f.a)(r.labelPlacement))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)(Object(n.a)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(v.disabled),{cursor:"default"}),"start"===r.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===r.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===r.labelPlacement&&{flexDirection:"column",marginLeft:16},Object(n.a)({},"& .".concat(v.label),Object(n.a)({},"&.".concat(v.disabled),{color:e.palette.text.disabled})))})),x=a.forwardRef((function(t,e){var r=Object(d.a)({props:t,name:"MuiFormControlLabel"}),n=r.className,h=r.componentsProps,p=void 0===h?{}:h,m=r.control,v=r.disabled,x=r.disableTypography,O=r.label,_=r.labelPlacement,S=void 0===_?"end":_,k=Object(i.a)(r,y),E=Object(u.a)(),M=v;"undefined"===typeof M&&"undefined"!==typeof m.props.disabled&&(M=m.props.disabled),"undefined"===typeof M&&E&&(M=E.disabled);var C={disabled:M};["checked","name","onChange","value","inputRef"].forEach((function(t){"undefined"===typeof m.props[t]&&"undefined"!==typeof r[t]&&(C[t]=r[t])}));var j=Object(o.a)({},r,{disabled:M,label:O,labelPlacement:S}),A=function(t){var e=t.classes,r=t.disabled,n=t.labelPlacement,i={root:["root",r&&"disabled","labelPlacement".concat(Object(f.a)(n))],label:["label",r&&"disabled"]};return Object(c.a)(i,b,e)}(j);return Object(g.jsxs)(w,Object(o.a)({className:Object(s.a)(A.root,n),ownerState:j,ref:e},k,{children:[a.cloneElement(m,C),O.type===l.a||x?O:Object(g.jsx)(l.a,Object(o.a)({component:"span",className:A.label},p.typography,{children:O}))]}))}));e.a=x},function(t,e,r){"use strict";var n=r(242),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(315),l=r(24),f=r(22),h=r(13),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiCircularProgress",t)}Object(p.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var b,v,g,y,w,x,O,_,S=r(6),k=["className","color","disableShrink","size","style","thickness","value","variant"],E=Object(u.c)(w||(w=b||(b=Object(n.a)(["\n  0% {\n    transform: rotate(0deg);\n  }\n\n  100% {\n    transform: rotate(360deg);\n  }\n"])))),M=Object(u.c)(x||(x=v||(v=Object(n.a)(["\n  0% {\n    stroke-dasharray: 1px, 200px;\n    stroke-dashoffset: 0;\n  }\n\n  50% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -15px;\n  }\n\n  100% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -125px;\n  }\n"])))),C=Object(h.a)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["color".concat(Object(l.a)(r.color))]]}})((function(t){var e=t.ownerState,r=t.theme;return Object(o.a)({display:"inline-block"},"determinate"===e.variant&&{transition:r.transitions.create("transform")},"inherit"!==e.color&&{color:r.palette[e.color].main})}),(function(t){return"indeterminate"===t.ownerState.variant&&Object(u.b)(O||(O=g||(g=Object(n.a)(["\n      animation: "," 1.4s linear infinite;\n    "]))),E)})),j=Object(h.a)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(t,e){return e.svg}})({display:"block"}),A=Object(h.a)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(t,e){var r=t.ownerState;return[e.circle,e["circle".concat(Object(l.a)(r.variant))],r.disableShrink&&e.circleDisableShrink]}})((function(t){var e=t.ownerState,r=t.theme;return Object(o.a)({stroke:"currentColor"},"determinate"===e.variant&&{transition:r.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(t){var e=t.ownerState;return"indeterminate"===e.variant&&!e.disableShrink&&Object(u.b)(_||(_=y||(y=Object(n.a)(["\n      animation: "," 1.4s ease-in-out infinite;\n    "]))),M)})),T=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiCircularProgress"}),n=r.className,a=r.color,u=void 0===a?"primary":a,h=r.disableShrink,d=void 0!==h&&h,p=r.size,b=void 0===p?40:p,v=r.style,g=r.thickness,y=void 0===g?3.6:g,w=r.value,x=void 0===w?0:w,O=r.variant,_=void 0===O?"indeterminate":O,E=Object(i.a)(r,k),M=Object(o.a)({},r,{color:u,disableShrink:d,size:b,thickness:y,value:x,variant:_}),T=function(t){var e=t.classes,r=t.variant,n=t.color,i=t.disableShrink,o={root:["root",r,"color".concat(Object(l.a)(n))],svg:["svg"],circle:["circle","circle".concat(Object(l.a)(r)),i&&"circleDisableShrink"]};return Object(c.a)(o,m,e)}(M),P={},D={},R={};if("determinate"===_){var L=2*Math.PI*((44-y)/2);P.strokeDasharray=L.toFixed(3),R["aria-valuenow"]=Math.round(x),P.strokeDashoffset="".concat(((100-x)/100*L).toFixed(3),"px"),D.transform="rotate(-90deg)"}return Object(S.jsx)(C,Object(o.a)({className:Object(s.a)(T.root,n),style:Object(o.a)({width:b,height:b},D,v),ownerState:M,ref:e,role:"progressbar"},R,E,{children:Object(S.jsx)(j,{className:T.svg,ownerState:M,viewBox:"".concat(22," ").concat(22," ").concat(44," ").concat(44),children:Object(S.jsx)(A,{className:T.circle,style:P,ownerState:M,cx:44,cy:44,r:(44-y)/2,fill:"none",strokeWidth:y})})}))}));e.a=T},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(2);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,r=t.newClasses;t.Component;if(!r)return e;var i=Object(n.a)({},e);return Object.keys(r).forEach((function(t){r[t]&&(i[t]="".concat(e[t]," ").concat(r[t]))})),i}},function(t,e,r){"use strict";function n(t){var e=t.theme,r=t.name,n=t.props;if(!e||!e.props||!e.props[r])return n;var i,o=e.props[r];for(i in o)void 0===n[i]&&(n[i]=o[i]);return n}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(38),c=r(26),u=r(269),l=r(64),f=r(178),h=o.forwardRef((function(t,e){var r=t.classes,c=t.className,h=t.color,d=void 0===h?"primary":h,p=t.component,m=void 0===p?"a":p,b=t.onBlur,v=t.onFocus,g=t.TypographyClasses,y=t.underline,w=void 0===y?"hover":y,x=t.variant,O=void 0===x?"inherit":x,_=Object(i.a)(t,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),S=Object(u.a)(),k=S.isFocusVisible,E=S.onBlurVisible,M=S.ref,C=o.useState(!1),j=C[0],A=C[1],T=Object(l.a)(e,M);return o.createElement(f.a,Object(n.a)({className:Object(a.a)(r.root,r["underline".concat(Object(s.a)(w))],c,j&&r.focusVisible,"button"===m&&r.button),classes:g,color:d,component:m,onBlur:function(t){j&&(E(),A(!1)),b&&b(t)},onFocus:function(t){k(t)&&A(!0),v&&v(t)},ref:T,variant:O},_))}));e.a=Object(c.a)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(h)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(270)),s=r(64);function c(t,e){return parseInt(t[e],10)||0}var u="undefined"!==typeof window?o.useLayoutEffect:o.useEffect,l={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},f=o.forwardRef((function(t,e){var r=t.onChange,f=t.rows,h=t.rowsMax,d=t.rowsMin,p=t.maxRows,m=t.minRows,b=void 0===m?1:m,v=t.style,g=t.value,y=Object(i.a)(t,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),w=p||h,x=f||d||b,O=o.useRef(null!=g).current,_=o.useRef(null),S=Object(s.a)(e,_),k=o.useRef(null),E=o.useRef(0),M=o.useState({}),C=M[0],j=M[1],A=o.useCallback((function(){var e=_.current,r=window.getComputedStyle(e),n=k.current;n.style.width=r.width,n.value=e.value||t.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");var i=r["box-sizing"],o=c(r,"padding-bottom")+c(r,"padding-top"),a=c(r,"border-bottom-width")+c(r,"border-top-width"),s=n.scrollHeight-o;n.value="x";var u=n.scrollHeight-o,l=s;x&&(l=Math.max(Number(x)*u,l)),w&&(l=Math.min(Number(w)*u,l));var f=(l=Math.max(l,u))+("border-box"===i?o+a:0),h=Math.abs(l-s)<=1;j((function(t){return E.current<20&&(f>0&&Math.abs((t.outerHeightStyle||0)-f)>1||t.overflow!==h)?(E.current+=1,{overflow:h,outerHeightStyle:f}):t}))}),[w,x,t.placeholder]);o.useEffect((function(){var t=Object(a.a)((function(){E.current=0,A()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[A]),u((function(){A()})),o.useEffect((function(){E.current=0}),[g]);return o.createElement(o.Fragment,null,o.createElement("textarea",Object(n.a)({value:g,onChange:function(t){E.current=0,O||A(),r&&r(t)},ref:S,rows:x,style:Object(n.a)({height:C.outerHeightStyle,overflow:C.overflow?"hidden":null},v)},y)),o.createElement("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:k,tabIndex:-1,style:Object(n.a)({},l,v)}))}));e.a=f},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(330),c=r(26),u=r(38),l=r(283),f=r(234),h=o.forwardRef((function(t,e){var r=t.children,c=t.classes,h=t.className,d=t.color,p=void 0===d?"primary":d,m=t.component,b=void 0===m?"div":m,v=t.disabled,g=void 0!==v&&v,y=t.error,w=void 0!==y&&y,x=t.fullWidth,O=void 0!==x&&x,_=t.focused,S=t.hiddenLabel,k=void 0!==S&&S,E=t.margin,M=void 0===E?"none":E,C=t.required,j=void 0!==C&&C,A=t.size,T=t.variant,P=void 0===T?"standard":T,D=Object(i.a)(t,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),R=o.useState((function(){var t=!1;return r&&o.Children.forEach(r,(function(e){if(Object(l.a)(e,["Input","Select"])){var r=Object(l.a)(e,["Select"])?e.props.input:e;r&&Object(s.a)(r.props)&&(t=!0)}})),t})),L=R[0],I=R[1],N=o.useState((function(){var t=!1;return r&&o.Children.forEach(r,(function(e){Object(l.a)(e,["Input","Select"])&&Object(s.b)(e.props,!0)&&(t=!0)})),t})),F=N[0],B=N[1],z=o.useState(!1),H=z[0],U=z[1],W=void 0!==_?_:H;g&&W&&U(!1);var q=o.useCallback((function(){B(!0)}),[]),V={adornedStart:L,setAdornedStart:I,color:p,disabled:g,error:w,filled:F,focused:W,fullWidth:O,hiddenLabel:k,margin:("small"===A?"dense":void 0)||M,onBlur:function(){U(!1)},onEmpty:o.useCallback((function(){B(!1)}),[]),onFilled:q,onFocus:function(){U(!0)},registerEffect:void 0,required:j,variant:P};return o.createElement(f.a.Provider,{value:V},o.createElement(b,Object(n.a)({className:Object(a.a)(c.root,h,"none"!==M&&c["margin".concat(Object(u.a)(M))],O&&c.fullWidth),ref:e},D),r))}));e.a=Object(c.a)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(h)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(178),c=r(26),u=r(234),l=o.forwardRef((function(t,e){var r=t.children,c=t.classes,l=t.className,f=t.component,h=void 0===f?"div":f,d=t.disablePointerEvents,p=void 0!==d&&d,m=t.disableTypography,b=void 0!==m&&m,v=t.position,g=t.variant,y=Object(i.a)(t,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),w=Object(u.b)()||{},x=g;return g&&w.variant,w&&!x&&(x=w.variant),o.createElement(u.a.Provider,{value:null},o.createElement(h,Object(n.a)({className:Object(a.a)(c.root,l,"end"===v?c.positionEnd:c.positionStart,p&&c.disablePointerEvents,w.hiddenLabel&&c.hiddenLabel,"filled"===x&&c.filled,"dense"===w.margin&&c.marginDense),ref:e},y),"string"!==typeof r||b?r:o.createElement(s.a,{color:"textSecondary"},r)))}));e.a=Object(c.a)({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(l)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(185),c=r(26),u=r(178),l=r(38),f=o.forwardRef((function(t,e){t.checked;var r=t.classes,c=t.className,f=t.control,h=t.disabled,d=(t.inputRef,t.label),p=t.labelPlacement,m=void 0===p?"end":p,b=(t.name,t.onChange,t.value,Object(i.a)(t,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),v=Object(s.a)(),g=h;"undefined"===typeof g&&"undefined"!==typeof f.props.disabled&&(g=f.props.disabled),"undefined"===typeof g&&v&&(g=v.disabled);var y={disabled:g};return["checked","name","onChange","value","inputRef"].forEach((function(e){"undefined"===typeof f.props[e]&&"undefined"!==typeof t[e]&&(y[e]=t[e])})),o.createElement("label",Object(n.a)({className:Object(a.a)(r.root,c,"end"!==m&&r["labelPlacement".concat(Object(l.a)(m))],g&&r.disabled),ref:e},b),o.cloneElement(f,y),o.createElement(u.a,{component:"span",className:Object(a.a)(r.label,g&&r.disabled)},d))}));e.a=Object(c.a)((function(t){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:t.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(f)},function(t,e,r){"use strict";var n=r(1),i=r(236),o=r(382),a=r(126);function s(t){var e=t||{},r=e.sx,c=e.theme,u=void 0===c?{}:c;if(!r)return null;function l(t){var e=t;if("function"===typeof t)e=t(u);else if("object"!==typeof t)return t;var r=Object(a.a)(u.breakpoints),c=Object.keys(r),l=r;return Object.keys(e).forEach((function(t){var r,c,f=(r=e[t],c=u,"function"===typeof r?r(c):r);if(null!==f&&void 0!==f)if("object"===typeof f)if(o.b[t])l=Object(i.a)(l,Object(o.a)(t,f,u));else{var h=Object(a.b)({theme:u},f,(function(e){return Object(n.a)({},t,e)}));!function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e.reduce((function(t,e){return t.concat(Object.keys(e))}),[]),i=new Set(n);return e.every((function(t){return i.size===Object.keys(t).length}))}(h,f)?l=Object(i.a)(l,h):l[t]=s({sx:f,theme:u})}else l=Object(i.a)(l,Object(o.a)(t,f,u))})),Object(a.c)(c,l)}return Array.isArray(r)?r.map(l):l(r)}s.filterProps=["sx"],e.a=s},function(t,e,r){"use strict";var n=r(2),i=r(891),o=r(282);e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(t,Object(n.a)({defaultTheme:o.a},e))}},function(t,e,r){"use strict";r(125);var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=o.forwardRef((function(t,e){var r=t.anchorOrigin,s=void 0===r?{vertical:"top",horizontal:"right"}:r,u=t.badgeContent,l=t.children,f=t.classes,h=t.className,d=t.color,p=void 0===d?"default":d,m=t.component,b=void 0===m?"span":m,v=t.invisible,g=t.max,y=void 0===g?99:g,w=t.overlap,x=void 0===w?"rectangle":w,O=t.showZero,_=void 0!==O&&O,S=t.variant,k=void 0===S?"standard":S,E=Object(i.a)(t,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),M=v;null==v&&(0===u&&!_||null==u&&"dot"!==k)&&(M=!0);var C="";return"dot"!==k&&(C=u>y?"".concat(y,"+"):u),o.createElement(b,Object(n.a)({className:Object(a.a)(f.root,h),ref:e},E),l,o.createElement("span",{className:Object(a.a)(f.badge,f["".concat(s.horizontal).concat(Object(c.a)(s.vertical),"}")],f["anchorOrigin".concat(Object(c.a)(s.vertical)).concat(Object(c.a)(s.horizontal)).concat(Object(c.a)(x))],"default"!==p&&f["color".concat(Object(c.a)(p))],M&&f.invisible,"dot"===k&&f.dot)},C))}));e.a=Object(s.a)((function(t){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorError:{backgroundColor:t.palette.error.main,color:t.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(u)},function(t,e,r){"use strict";e.a={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(73),a=r(0),s=(r(10),r(8)),c=r(26),u=r(38),l=r(1320),f=r(1307),h=r(883),d=r(140),p=r(658),m={enter:d.b.enteringScreen,exit:d.b.leavingScreen},b=a.forwardRef((function(t,e){var r=t.BackdropProps,o=t.children,c=t.classes,d=t.className,b=t.disableBackdropClick,v=void 0!==b&&b,g=t.disableEscapeKeyDown,y=void 0!==g&&g,w=t.fullScreen,x=void 0!==w&&w,O=t.fullWidth,_=void 0!==O&&O,S=t.maxWidth,k=void 0===S?"sm":S,E=t.onBackdropClick,M=t.onClose,C=t.onEnter,j=t.onEntered,A=t.onEntering,T=t.onEscapeKeyDown,P=t.onExit,D=t.onExited,R=t.onExiting,L=t.open,I=t.PaperComponent,N=void 0===I?p.a:I,F=t.PaperProps,B=void 0===F?{}:F,z=t.scroll,H=void 0===z?"paper":z,U=t.TransitionComponent,W=void 0===U?h.a:U,q=t.transitionDuration,V=void 0===q?m:q,G=t.TransitionProps,Y=t["aria-describedby"],X=t["aria-labelledby"],$=Object(i.a)(t,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),K=a.useRef();return a.createElement(l.a,Object(n.a)({className:Object(s.a)(c.root,d),BackdropComponent:f.a,BackdropProps:Object(n.a)({transitionDuration:V},r),closeAfterTransition:!0},v?{disableBackdropClick:v}:{},{disableEscapeKeyDown:y,onEscapeKeyDown:T,onClose:M,open:L,ref:e},$),a.createElement(W,Object(n.a)({appear:!0,in:L,timeout:V,onEnter:C,onEntering:A,onEntered:j,onExit:P,onExiting:R,onExited:D,role:"none presentation"},G),a.createElement("div",{className:Object(s.a)(c.container,c["scroll".concat(Object(u.a)(H))]),onMouseUp:function(t){t.target===t.currentTarget&&t.target===K.current&&(K.current=null,E&&E(t),!v&&M&&M(t,"backdropClick"))},onMouseDown:function(t){K.current=t.target}},a.createElement(N,Object(n.a)({elevation:24,role:"dialog","aria-describedby":Y,"aria-labelledby":X},B,{className:Object(s.a)(c.paper,c["paperScroll".concat(Object(u.a)(H))],c["paperWidth".concat(Object(u.a)(String(k)))],B.className,x&&c.paperFullScreen,_&&c.paperFullWidth)}),o))))}));e.a=Object(c.a)((function(t){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(t.breakpoints.values.xs,444),"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:t.breakpoints.values.sm,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:t.breakpoints.values.md,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:t.breakpoints.values.lg,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:t.breakpoints.values.xl,"&$paperScrollBody":Object(o.a)({},t.breakpoints.down(t.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(b)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(178),u=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.disableTypography,f=void 0!==l&&l,h=Object(i.a)(t,["children","classes","className","disableTypography"]);return o.createElement("div",Object(n.a)({className:Object(a.a)(s.root,u),ref:e},h),f?r:o.createElement(c.a,{component:"h2",variant:"h6"},r))}));e.a=Object(s.a)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(445)),s=r(133),c=r(122),u=r(162),l=r(72),f=r(6),h=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],d={entering:{opacity:1},entered:{opacity:1}},p={enter:s.b.enteringScreen,exit:s.b.leavingScreen},m=o.forwardRef((function(t,e){var r=t.addEndListener,s=t.appear,m=void 0===s||s,b=t.children,v=t.easing,g=t.in,y=t.onEnter,w=t.onEntered,x=t.onEntering,O=t.onExit,_=t.onExited,S=t.onExiting,k=t.style,E=t.timeout,M=void 0===E?p:E,C=t.TransitionComponent,j=void 0===C?a.a:C,A=Object(i.a)(t,h),T=Object(c.a)(),P=o.useRef(null),D=Object(l.a)(b.ref,e),R=Object(l.a)(P,D),L=function(t){return function(e){if(t){var r=P.current;void 0===e?t(r):t(r,e)}}},I=L(x),N=L((function(t,e){Object(u.b)(t);var r=Object(u.a)({style:k,timeout:M,easing:v},{mode:"enter"});t.style.webkitTransition=T.transitions.create("opacity",r),t.style.transition=T.transitions.create("opacity",r),y&&y(t,e)})),F=L(w),B=L(S),z=L((function(t){var e=Object(u.a)({style:k,timeout:M,easing:v},{mode:"exit"});t.style.webkitTransition=T.transitions.create("opacity",e),t.style.transition=T.transitions.create("opacity",e),O&&O(t)})),H=L(_);return Object(f.jsx)(j,Object(n.a)({appear:m,in:g,nodeRef:P,onEnter:N,onEntered:F,onEntering:I,onExit:z,onExited:H,onExiting:B,addEndListener:function(t){r&&r(P.current,t)},timeout:M},A,{children:function(t,e){return o.cloneElement(b,Object(n.a)({style:Object(n.a)({opacity:0,visibility:"exited"!==t||g?void 0:"hidden"},d[t],k,b.props.style),ref:R},e))}}))}));e.a=m},function(t,e,r){"use strict";function n(t){var e=t.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}r.d(e,"a",(function(){return n}))},function(t,e,r){"use strict";var n=r(3),i=r(0),o=r(76),a=(r(10),r(441)),s=r(338),c=r(435);var u=i.forwardRef((function(t,e){var r=t.children,u=t.container,l=t.disablePortal,f=void 0!==l&&l,h=i.useState(null),d=Object(n.a)(h,2),p=d[0],m=d[1],b=Object(a.a)(i.isValidElement(r)?r.ref:null,e);return Object(s.a)((function(){f||m(function(t){return"function"===typeof t?t():t}(u)||document.body)}),[u,f]),Object(s.a)((function(){if(p&&!f)return Object(c.a)(e,p),function(){Object(c.a)(e,null)}}),[e,p,f]),f?i.isValidElement(r)?i.cloneElement(r,{ref:b}):r:p?o.createPortal(r,p):p}));e.a=u},function(t,e,r){"use strict";var n=r(3),i=r(2),o=r(14),a=r(0),s=(r(10),r(441)),c=r(660),u=r(886),l=r(338),f=r(6),h=["onChange","maxRows","minRows","style","value"];function d(t,e){return parseInt(t[e],10)||0}var p={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},m=a.forwardRef((function(t,e){var r=t.onChange,m=t.maxRows,b=t.minRows,v=void 0===b?1:b,g=t.style,y=t.value,w=Object(o.a)(t,h),x=a.useRef(null!=y).current,O=a.useRef(null),_=Object(s.a)(e,O),S=a.useRef(null),k=a.useRef(0),E=a.useState({}),M=Object(n.a)(E,2),C=M[0],j=M[1],A=a.useCallback((function(){var e=O.current,r=Object(c.a)(e).getComputedStyle(e);if("0px"!==r.width){var n=S.current;n.style.width=r.width,n.value=e.value||t.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");var i=r["box-sizing"],o=d(r,"padding-bottom")+d(r,"padding-top"),a=d(r,"border-bottom-width")+d(r,"border-top-width"),s=n.scrollHeight;n.value="x";var u=n.scrollHeight,l=s;v&&(l=Math.max(Number(v)*u,l)),m&&(l=Math.min(Number(m)*u,l));var f=(l=Math.max(l,u))+("border-box"===i?o+a:0),h=Math.abs(l-s)<=1;j((function(t){return k.current<20&&(f>0&&Math.abs((t.outerHeightStyle||0)-f)>1||t.overflow!==h)?(k.current+=1,{overflow:h,outerHeightStyle:f}):t}))}}),[m,v,t.placeholder]);a.useEffect((function(){var t,e=Object(u.a)((function(){k.current=0,A()})),r=Object(c.a)(O.current);return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e)).observe(O.current),function(){e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}}),[A]),Object(l.a)((function(){A()})),a.useEffect((function(){k.current=0}),[y]);return Object(f.jsxs)(a.Fragment,{children:[Object(f.jsx)("textarea",Object(i.a)({value:y,onChange:function(t){k.current=0,x||A(),r&&r(t)},ref:_,rows:v,style:Object(i.a)({height:C.outerHeightStyle,overflow:C.overflow?"hidden":null},g)},w)),Object(f.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:S,tabIndex:-1,style:Object(i.a)({},p,g,{padding:0})})]})}));e.a=m},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.dividers,u=void 0!==c&&c,l=Object(i.a)(t,["classes","className","dividers"]);return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,s,u&&r.dividers),ref:e},l))}));e.a=Object(s.a)((function(t){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(t.palette.divider),borderBottom:"1px solid ".concat(t.palette.divider)}}}),{name:"MuiDialogContent"})(c)},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(26)),a=r(178),s=i.forwardRef((function(t,e){return i.createElement(a.a,Object(n.a)({component:"p",variant:"body1",color:"textSecondary",ref:e},t))}));e.a=Object(o.a)({root:{marginBottom:12}},{name:"MuiDialogContentText"})(s)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=o.forwardRef((function(t,e){var r=t.disableSpacing,s=void 0!==r&&r,c=t.classes,u=t.className,l=Object(i.a)(t,["disableSpacing","classes","className"]);return o.createElement("div",Object(n.a)({className:Object(a.a)(c.root,u,!s&&c.spacing),ref:e},l))}));e.a=Object(s.a)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(c)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=r(658),l=o.forwardRef((function(t,e){var r=t.classes,s=t.className,l=t.color,f=void 0===l?"primary":l,h=t.position,d=void 0===h?"fixed":h,p=Object(i.a)(t,["classes","className","color","position"]);return o.createElement(u.a,Object(n.a)({square:!0,component:"header",elevation:4,className:Object(a.a)(r.root,r["position".concat(Object(c.a)(d))],r["color".concat(Object(c.a)(f))],s,"fixed"===d&&"mui-fixed"),ref:e},p))}));e.a=Object(s.a)((function(t){var e="light"===t.palette.type?t.palette.grey[100]:t.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:t.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:e,color:t.palette.getContrastText(e)},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(l)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(73),a=r(0),s=(r(10),r(8)),c=r(26),u=a.forwardRef((function(t,e){var r=t.classes,o=t.className,c=t.component,u=void 0===c?"div":c,l=t.disableGutters,f=void 0!==l&&l,h=t.variant,d=void 0===h?"regular":h,p=Object(i.a)(t,["classes","className","component","disableGutters","variant"]);return a.createElement(u,Object(n.a)({className:Object(s.a)(r.root,r[d],o,!f&&r.gutters),ref:e},p))}));e.a=Object(c.a)((function(t){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:Object(o.a)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),regular:t.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(38),u=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=t.color,l=void 0===u?"default":u,f=t.component,h=void 0===f?"li":f,d=t.disableGutters,p=void 0!==d&&d,m=t.disableSticky,b=void 0!==m&&m,v=t.inset,g=void 0!==v&&v,y=Object(i.a)(t,["classes","className","color","component","disableGutters","disableSticky","inset"]);return o.createElement(h,Object(n.a)({className:Object(a.a)(r.root,s,"default"!==l&&r["color".concat(Object(c.a)(l))],g&&r.inset,!b&&r.sticky,!p&&r.gutters),ref:e},y))}));e.a=Object(s.a)((function(t){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:t.palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},colorPrimary:{color:t.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(62),u=r(38),l=r(523),f=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.color,f=void 0===c?"secondary":c,h=t.edge,d=void 0!==h&&h,p=t.size,m=void 0===p?"medium":p,b=Object(i.a)(t,["classes","className","color","edge","size"]),v=o.createElement("span",{className:r.thumb});return o.createElement("span",{className:Object(a.a)(r.root,s,{start:r.edgeStart,end:r.edgeEnd}[d],"small"===m&&r["size".concat(Object(u.a)(m))])},o.createElement(l.a,Object(n.a)({type:"checkbox",icon:v,checkedIcon:v,classes:{root:Object(a.a)(r.switchBase,r["color".concat(Object(u.a)(f))]),input:r.input,checked:r.checked,disabled:r.disabled},ref:e},b)),o.createElement("span",{className:r.track}))}));e.a=Object(s.a)((function(t){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===t.palette.type?t.palette.grey[50]:t.palette.grey[400],transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),"&$checked":{transform:"translateX(20px)"},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===t.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(c.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[800]},"&$checked + $track":{backgroundColor:t.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4,"&$checked":{transform:"translateX(16px)"}}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:t.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:"light"===t.palette.type?t.palette.common.black:t.palette.common.white,opacity:"light"===t.palette.type?.38:.3}}}),{name:"MuiSwitch"})(f)},function(t,e,r){"use strict";var n=r(20),i=r(73),o=r(2),a=r(0),s=(r(10),r(8)),c=r(26),u=r(442),l=a.forwardRef((function(t,e){var r,i=t.classes,c=t.className,l=t.component,f=void 0===l?"li":l,h=t.disableGutters,d=void 0!==h&&h,p=t.ListItemClasses,m=t.role,b=void 0===m?"menuitem":m,v=t.selected,g=t.tabIndex,y=Object(n.a)(t,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return t.disabled||(r=void 0!==g?g:-1),a.createElement(u.a,Object(o.a)({button:!0,role:b,tabIndex:r,component:f,selected:v,disableGutters:d,classes:Object(o.a)({dense:i.dense},p),className:Object(s.a)(i.root,c,v&&i.selected,!d&&i.gutters),ref:e},y))}));e.a=Object(c.a)((function(t){return{root:Object(o.a)({},t.typography.body1,Object(i.a)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},t.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Object(o.a)({},t.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(l)},function(t,e,r){"use strict";var n=r(2),i=r(125),o=r(20),a=r(0),s=r(8),c=(r(10),r(26)),u=r(221),l=r(538);var f=function(t,e,r){for(var n=e;n<t.length;n+=1)if(r===t[n])return n;return-1},h=[],d=[],p=a.forwardRef((function(t,e){var r=t.children,c=t.classes,p=t.className,m=t.defaultCollapseIcon,b=t.defaultEndIcon,v=t.defaultExpanded,g=void 0===v?h:v,y=t.defaultExpandIcon,w=t.defaultParentIcon,x=t.defaultSelected,O=void 0===x?d:x,_=t.disableSelection,S=void 0!==_&&_,k=t.multiSelect,E=void 0!==k&&k,M=t.expanded,C=t.onNodeSelect,j=t.onNodeToggle,A=t.selected,T=Object(o.a)(t,["children","classes","className","defaultCollapseIcon","defaultEndIcon","defaultExpanded","defaultExpandIcon","defaultParentIcon","defaultSelected","disableSelection","multiSelect","expanded","onNodeSelect","onNodeToggle","selected"]),P=a.useState(null),D=P[0],R=P[1],L=a.useState(null),I=L[0],N=L[1],F=a.useRef({}),B=a.useRef({}),z=a.useRef([]),H=Object(u.a)({controlled:M,default:g,name:"TreeView",state:"expanded"}),U=Object(i.a)(H,2),W=U[0],q=U[1],V=Object(u.a)({controlled:A,default:O,name:"TreeView",state:"selected"}),G=Object(i.a)(V,2),Y=G[0],X=G[1],$=a.useCallback((function(t){return!!Array.isArray(W)&&-1!==W.indexOf(t)}),[W]),K=a.useCallback((function(t){return Array.isArray(Y)?-1!==Y.indexOf(t):Y===t}),[Y]),Z=function(t){var e=z.current.indexOf(t);return-1!==e&&e+1<z.current.length?z.current[e+1]:null},J=function(t){var e=z.current.indexOf(t);return-1!==e&&e-1>=0?z.current[e-1]:null},Q=function(){return z.current[z.current.length-1]},tt=function(){return z.current[0]},et=function(t){t&&(R(t),N(t))},rt=a.useRef(null),nt=a.useRef(!1),it=a.useRef([]),ot=function(t,e){var r=Y,n=e.start,i=e.next,o=e.current;i&&o&&(-1===it.current.indexOf(o)&&(it.current=[]),nt.current?-1!==it.current.indexOf(i)?(r=r.filter((function(t){return t===n||t!==o})),it.current=it.current.filter((function(t){return t===n||t!==o}))):(r.push(i),it.current.push(i)):(r.push(i),it.current.push(o,i)),C&&C(t,r),X(r))},at=function(t,e){var r=Y,n=e.start,i=e.end;nt.current&&(r=Y.filter((function(t){return-1===it.current.indexOf(t)})));var o=function(t,e){var r=z.current.indexOf(t),n=z.current.indexOf(e),i=Math.min(r,n),o=Math.max(r,n);return z.current.slice(i,o+1)}(n,i);it.current=o;var a=r.concat(o);a=a.filter((function(t,e){return a.indexOf(t)===e})),C&&C(t,a),X(a)},st=function(t,e){var r=[];r=-1!==Y.indexOf(e)?Y.filter((function(t){return t!==e})):[e].concat(Y),C&&C(t,r),X(r)},ct=function(t,e){var r=E?[e]:e;C&&C(t,r),X(r)},ut=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.start,i=void 0===n?rt.current:n,o=e.end,a=e.current;return r?ot(t,{start:i,next:o,current:a}):at(t,{start:i,end:o}),nt.current=!0,!0},lt=a.useCallback((function(t){var e=F.current[t],r=[];return e&&(r.push(t),e.children&&(r.concat(e.children),e.children.forEach((function(t){r.concat(lt(t))})))),r}),[]),ft=a.useCallback((function(t){var e=Object(n.a)({},B.current);t.forEach((function(t){e[t]&&delete e[t]})),B.current=e}),[]),ht=a.useCallback((function(t){var e=lt(t);ft(e);var r=Object(n.a)({},F.current);e.forEach((function(t){var e=r[t];if(e){if(e.parent){var i=r[e.parent];if(i&&i.children){var o=i.children.filter((function(e){return e!==t}));r[e.parent]=Object(n.a)({},i,{children:o})}}delete r[t]}})),F.current=r,N((function(e){return e===t?null:e}))}),[lt,ft]),dt=a.useRef([]),pt=a.useState(!1),mt=pt[0],bt=pt[1];a.useEffect((function(){var t=[];a.Children.forEach(r,(function(e){a.isValidElement(e)&&e.props.nodeId&&t.push(e.props.nodeId)})),function(t,e){if(t.length!==e.length)return!0;for(var r=0;r<t.length;r+=1)if(t[r]!==e[r])return!0;return!1}(dt.current,t)&&(F.current[-1]={parent:null,children:t},t.forEach((function(t,e){0===e&&R(t)})),z.current=F.current[-1].children,dt.current=t,bt(!0))}),[r]),a.useEffect((function(){mt&&(z.current=function t(e){for(var r=[],n=0;n<e.length;n+=1){var i=e[n];r.push(i);var o=F.current[i].children;$(i)&&o&&(r=r.concat(t(o)))}return r}(F.current[-1].children))}),[W,mt,$,r]);var vt=function(){return!1};return a.createElement(l.a.Provider,{value:{icons:{defaultCollapseIcon:m,defaultExpandIcon:y,defaultParentIcon:w,defaultEndIcon:b},focus:et,focusFirstNode:function(){return et(tt())},focusLastNode:function(){return et(Q())},focusNextNode:function(t){return et(Z(t))},focusPreviousNode:function(t){return et(J(t))},focusByFirstCharacter:function(t,e){var r,n,i=e.toLowerCase(),o=[],a=[];Object.keys(B.current).forEach((function(t){var e=B.current[t],r=F.current[t];(!r.parent||$(r.parent))&&(o.push(t),a.push(e))})),(r=o.indexOf(t)+1)===F.current.length&&(r=0),-1===(n=f(a,r,i))&&(n=f(a,0,i)),n>-1&&et(o[n])},expandAllSiblings:function(t,e){var r,n=F.current[e],i=F.current[n.parent];i?r=i.children.filter((function(t){return!$(t)})):r=F.current[-1].children.filter((function(t){return!$(t)}));var o=W.concat(r);r.length>0&&(q(o),j&&j(t,o))},toggleExpansion:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;-1!==W.indexOf(r)?(e=W.filter((function(t){return t!==r})),R((function(t){var e=F.current[t];return t&&(e&&e.parent?e.parent.id:null)===r?r:t}))):e=[r].concat(W),j&&j(t,e),q(e)},isExpanded:$,isFocused:function(t){return I===t},isSelected:K,selectNode:S?vt:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&(r?st(t,e):ct(t,e),rt.current=e,nt.current=!1,it.current=[],!0)},selectRange:S?vt:ut,selectNextNode:S?vt:function(t,e){return ut(t,{end:Z(e),current:e},!0)},selectPreviousNode:S?vt:function(t,e){return ut(t,{end:J(e),current:e},!0)},rangeSelectToFirst:S?vt:function(t,e){rt.current||(rt.current=e);var r=nt.current?rt.current:e;return ut(t,{start:r,end:tt()})},rangeSelectToLast:S?vt:function(t,e){rt.current||(rt.current=e);var r=nt.current?rt.current:e;return ut(t,{start:r,end:Q()})},selectAllNodes:S?vt:function(t){return ut(t,{start:tt(),end:Q()})},isTabbable:function(t){return D===t},multiSelect:E,getParent:function(t){return F.current[t].parent},mapFirstChar:function(t,e){B.current[t]=e},addNodeToNodeMap:function(t,e){var r=F.current[t];F.current[t]=Object(n.a)({},r,{children:e,id:t}),e.forEach((function(e){var r=F.current[e];F.current[e]=Object(n.a)({},r,{parent:t,id:e})}))},removeNodeFromNodeMap:ht}},a.createElement("ul",Object(n.a)({role:"tree","aria-multiselectable":E,className:Object(s.a)(c.root,p),ref:e},T),r))}));e.a=Object(c.a)({root:{padding:0,margin:0,listStyle:"none"}},{name:"MuiTreeView"})(p)},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(22)),a=r(1313),s=r(6),c=function(t,e){return Object(n.a)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&{colorScheme:t.palette.mode})},u=function(t){return Object(n.a)({color:t.palette.text.primary},t.typography.body1,{backgroundColor:t.palette.background.default,"@media print":{backgroundColor:t.palette.common.white}})};e.a=function(t){var e=Object(o.a)({props:t,name:"MuiCssBaseline"}),r=e.children,l=e.enableColorScheme,f=void 0!==l&&l;return Object(s.jsxs)(i.Fragment,{children:[Object(s.jsx)(a.a,{styles:function(t){return function(t){var e,r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={html:c(t,i),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:Object(n.a)({margin:0},u(t),{"&::backdrop":{backgroundColor:t.palette.background.default}})},a=null==(e=t.components)||null==(r=e.MuiCssBaseline)?void 0:r.styleOverrides;return a&&(o=[o,a]),o}(t,f)}}),r]})}},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(445)),s=r(195),c=r(72),u=r(122),l=r(133),f=r(162),h=r(210),d=r(6),p=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(t,e,r){var n,i=function(t,e,r){var n,i=e.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),a=Object(h.a)(e);if(e.fakeTransform)n=e.fakeTransform;else{var s=a.getComputedStyle(e);n=s.getPropertyValue("-webkit-transform")||s.getPropertyValue("transform")}var c=0,u=0;if(n&&"none"!==n&&"string"===typeof n){var l=n.split("(")[1].split(")")[0].split(",");c=parseInt(l[4],10),u=parseInt(l[5],10)}return"left"===t?"translateX(".concat(o?o.right+c-i.left:a.innerWidth+c-i.left,"px)"):"right"===t?"translateX(-".concat(o?i.right-o.left-c:i.left+i.width-c,"px)"):"up"===t?"translateY(".concat(o?o.bottom+u-i.top:a.innerHeight+u-i.top,"px)"):"translateY(-".concat(o?i.top-o.top+i.height-u:i.top+i.height-u,"px)")}(t,e,"function"===typeof(n=r)?n():n);i&&(e.style.webkitTransform=i,e.style.transform=i)}var b={enter:l.c.easeOut,exit:l.c.sharp},v={enter:l.b.enteringScreen,exit:l.b.leavingScreen},g=o.forwardRef((function(t,e){var r=t.addEndListener,l=t.appear,g=void 0===l||l,y=t.children,w=t.container,x=t.direction,O=void 0===x?"down":x,_=t.easing,S=void 0===_?b:_,k=t.in,E=t.onEnter,M=t.onEntered,C=t.onEntering,j=t.onExit,A=t.onExited,T=t.onExiting,P=t.style,D=t.timeout,R=void 0===D?v:D,L=t.TransitionComponent,I=void 0===L?a.a:L,N=Object(i.a)(t,p),F=Object(u.a)(),B=o.useRef(null),z=Object(c.a)(y.ref,B),H=Object(c.a)(z,e),U=function(t){return function(e){t&&(void 0===e?t(B.current):t(B.current,e))}},W=U((function(t,e){m(O,t,w),Object(f.b)(t),E&&E(t,e)})),q=U((function(t,e){var r=Object(f.a)({timeout:R,style:P,easing:S},{mode:"enter"});t.style.webkitTransition=F.transitions.create("-webkit-transform",Object(n.a)({},r)),t.style.transition=F.transitions.create("transform",Object(n.a)({},r)),t.style.webkitTransform="none",t.style.transform="none",C&&C(t,e)})),V=U(M),G=U(T),Y=U((function(t){var e=Object(f.a)({timeout:R,style:P,easing:S},{mode:"exit"});t.style.webkitTransition=F.transitions.create("-webkit-transform",e),t.style.transition=F.transitions.create("transform",e),m(O,t,w),j&&j(t)})),X=U((function(t){t.style.webkitTransition="",t.style.transition="",A&&A(t)})),$=o.useCallback((function(){B.current&&m(O,B.current,w)}),[O,w]);return o.useEffect((function(){if(!k&&"down"!==O&&"right"!==O){var t=Object(s.a)((function(){B.current&&m(O,B.current,w)})),e=Object(h.a)(B.current);return e.addEventListener("resize",t),function(){t.clear(),e.removeEventListener("resize",t)}}}),[O,k,w]),o.useEffect((function(){k||$()}),[k,$]),Object(d.jsx)(I,Object(n.a)({nodeRef:B,onEnter:W,onEntered:V,onEntering:q,onExit:Y,onExited:X,onExiting:G,addEndListener:function(t){r&&r(B.current,t)},appear:g,in:k,timeout:R},N,{children:function(t,e){return o.cloneElement(y,Object(n.a)({ref:H,style:Object(n.a)({visibility:"exited"!==t||k?void 0:"hidden"},P,y.props.style)},e))}}))}));e.a=g},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(38),c=r(26),u=r(62),l=r(139),f=o.forwardRef((function(t,e){var r=t.classes,c=t.className,u=t.color,f=void 0===u?"primary":u,h=t.value,d=t.valueBuffer,p=t.variant,m=void 0===p?"indeterminate":p,b=Object(i.a)(t,["classes","className","color","value","valueBuffer","variant"]),v=Object(l.a)(),g={},y={bar1:{},bar2:{}};if("determinate"===m||"buffer"===m)if(void 0!==h){g["aria-valuenow"]=Math.round(h),g["aria-valuemin"]=0,g["aria-valuemax"]=100;var w=h-100;"rtl"===v.direction&&(w=-w),y.bar1.transform="translateX(".concat(w,"%)")}else 0;if("buffer"===m)if(void 0!==d){var x=(d||0)-100;"rtl"===v.direction&&(x=-x),y.bar2.transform="translateX(".concat(x,"%)")}else 0;return o.createElement("div",Object(n.a)({className:Object(a.a)(r.root,r["color".concat(Object(s.a)(f))],c,{determinate:r.determinate,indeterminate:r.indeterminate,buffer:r.buffer,query:r.query}[m]),role:"progressbar"},g,{ref:e},b),"buffer"===m?o.createElement("div",{className:Object(a.a)(r.dashed,r["dashedColor".concat(Object(s.a)(f))])}):null,o.createElement("div",{className:Object(a.a)(r.bar,r["barColor".concat(Object(s.a)(f))],("indeterminate"===m||"query"===m)&&r.bar1Indeterminate,{determinate:r.bar1Determinate,buffer:r.bar1Buffer}[m]),style:y.bar1}),"determinate"===m?null:o.createElement("div",{className:Object(a.a)(r.bar,("indeterminate"===m||"query"===m)&&r.bar2Indeterminate,"buffer"===m?[r["color".concat(Object(s.a)(f))],r.bar2Buffer]:r["barColor".concat(Object(s.a)(f))]),style:y.bar2}))}));e.a=Object(c.a)((function(t){var e=function(e){return"light"===t.palette.type?Object(u.e)(e,.62):Object(u.b)(e,.5)},r=e(t.palette.primary.main),n=e(t.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:r},colorSecondary:{backgroundColor:n},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:t.palette.primary.main},barColorSecondary:{backgroundColor:t.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(f)},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(1326),u=r(13),l=r(22),f=r(540),h=r(539),d=r(6),p=["className","id"],m=Object(u.a)(c.a,{name:"MuiDialogTitle",slot:"Root",overridesResolver:function(t,e){return e.root}})({padding:"16px 24px",flex:"0 0 auto"}),b=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiDialogTitle"}),c=r.className,u=r.id,b=Object(i.a)(r,p),v=r,g=function(t){var e=t.classes;return Object(s.a)({root:["root"]},f.b,e)}(v),y=o.useContext(h.a).titleId,w=void 0===y?u:y;return Object(d.jsx)(m,Object(n.a)({component:"h2",className:Object(a.a)(g.root,c),ownerState:v,ref:e,variant:"h6",id:w},b))}));e.a=b},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(147),u=r(13),l=r(22),f=r(832),h=r(6),d=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],p=Object(u.a)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,"vertical"===r.orientation&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&"vertical"===r.orientation&&e.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&e.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&e.textAlignLeft]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:e.palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:Object(c.a)(e.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({},r.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid ".concat(e.palette.divider),top:"50%",content:'""',transform:"translateY(50%)"}})}),(function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid ".concat(e.palette.divider),transform:"translateX(0%)"}})}),(function(t){var e=t.ownerState;return Object(i.a)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),m=Object(u.a)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(t,e){var r=t.ownerState;return[e.wrapper,"vertical"===r.orientation&&e.wrapperVertical]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({display:"inline-block",paddingLeft:"calc(".concat(e.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(e.spacing(1)," * 1.2)")},"vertical"===r.orientation&&{paddingTop:"calc(".concat(e.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(e.spacing(1)," * 1.2)")})})),b=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiDivider"}),o=r.absolute,c=void 0!==o&&o,u=r.children,b=r.className,v=r.component,g=void 0===v?u?"div":"hr":v,y=r.flexItem,w=void 0!==y&&y,x=r.light,O=void 0!==x&&x,_=r.orientation,S=void 0===_?"horizontal":_,k=r.role,E=void 0===k?"hr"!==g?"separator":void 0:k,M=r.textAlign,C=void 0===M?"center":M,j=r.variant,A=void 0===j?"fullWidth":j,T=Object(n.a)(r,d),P=Object(i.a)({},r,{absolute:c,component:g,flexItem:w,light:O,orientation:S,role:E,textAlign:C,variant:A}),D=function(t){var e=t.absolute,r=t.children,n=t.classes,i=t.flexItem,o=t.light,a=t.orientation,c=t.textAlign,u={root:["root",e&&"absolute",t.variant,o&&"light","vertical"===a&&"vertical",i&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return Object(s.a)(u,f.b,n)}(P);return Object(h.jsx)(p,Object(i.a)({as:g,className:Object(a.a)(D.root,b),role:E,ref:e,ownerState:P},T,{children:u?Object(h.jsx)(m,{className:D.wrapper,ownerState:P,children:u}):null}))}));e.a=b},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(658),c=r(26),u=o.forwardRef((function(t,e){var r=t.classes,c=t.className,u=t.raised,l=void 0!==u&&u,f=Object(i.a)(t,["classes","className","raised"]);return o.createElement(s.a,Object(n.a)({className:Object(a.a)(r.root,c),elevation:l?8:1,ref:e},f))}));e.a=Object(c.a)({root:{overflow:"hidden"}},{name:"MuiCard"})(u)},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(178),u=o.forwardRef((function(t,e){var r=t.action,s=t.avatar,u=t.classes,l=t.className,f=t.component,h=void 0===f?"div":f,d=t.disableTypography,p=void 0!==d&&d,m=t.subheader,b=t.subheaderTypographyProps,v=t.title,g=t.titleTypographyProps,y=Object(i.a)(t,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),w=v;null==w||w.type===c.a||p||(w=o.createElement(c.a,Object(n.a)({variant:s?"body2":"h5",className:u.title,component:"span",display:"block"},g),w));var x=m;return null==x||x.type===c.a||p||(x=o.createElement(c.a,Object(n.a)({variant:s?"body2":"body1",className:u.subheader,color:"textSecondary",component:"span",display:"block"},b),x)),o.createElement(h,Object(n.a)({className:Object(a.a)(u.root,l),ref:e},y),s&&o.createElement("div",{className:u.avatar},s),o.createElement("div",{className:u.content},w,x),r&&o.createElement("div",{className:u.action},r))}));e.a=Object(s.a)({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(u)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(126)),c=r(149),u=r(1310),l=r(558),f=r(13),h=r(22),d=r(6),p=["component","direction","spacing","divider","children"];function m(t,e){var r=a.Children.toArray(t).filter(Boolean);return r.reduce((function(t,n,i){return t.push(n),i<r.length-1&&t.push(a.cloneElement(e,{key:"separator-".concat(i)})),t}),[])}var b=Object(f.a)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(t,e){return[e.root]}})((function(t){var e=t.ownerState,r=t.theme,i=Object(o.a)({display:"flex"},Object(s.b)({theme:r},Object(s.d)({values:e.direction,breakpoints:r.breakpoints.values}),(function(t){return{flexDirection:t}})));if(e.spacing){var a=Object(c.a)(r),u=Object.keys(r.breakpoints.values).reduce((function(t,r){return null==e.spacing[r]&&null==e.direction[r]||(t[r]=!0),t}),{}),f=Object(s.d)({values:e.direction,base:u}),h=Object(s.d)({values:e.spacing,base:u});i=Object(l.a)(i,Object(s.b)({theme:r},h,(function(t,r){return{"& > :not(style) + :not(style)":Object(n.a)({margin:0},"margin".concat((i=r?f[r]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i])),Object(c.d)(a,t))};var i})))}return i})),v=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiStack"}),n=Object(u.a)(r),a=n.component,s=void 0===a?"div":a,c=n.direction,l=void 0===c?"column":c,f=n.spacing,v=void 0===f?0:f,g=n.divider,y=n.children,w=Object(i.a)(n,p),x={direction:l,spacing:v};return Object(d.jsx)(b,Object(o.a)({as:s,ownerState:x,ref:e},w,{children:g?m(y,g):y}))}));e.a=v},function(t,e,r){"use strict";r.d(e,"a",(function(){return x}));var n=r(44),i=r.n(n),o=r(0),a=r.n(o),s=r(17),c=r(42);function u(t){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function f(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=w(t);if(e){var i=w(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return y(this,r)}}function y(t,e){return!e||"object"!==u(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(u,t);var e,r,n,o=g(u);function u(){return m(this,u),o.apply(this,arguments)}return e=u,n=[{key:"renderLineItem",value:function(t,e){var r;if(a.a.isValidElement(t))r=a.a.cloneElement(t,e);else if(i()(t))r=t(e);else{var n=e.x1,o=e.y1,s=e.x2,u=e.y2,h=e.key,d=f(e,["x1","y1","x2","y2","key"]);r=a.a.createElement("line",l({},Object(c.c)(d),{x1:n,y1:o,x2:s,y2:u,fill:"none",key:h}))}return r}}],(r=[{key:"renderHorizontal",value:function(t){var e=this,r=this.props,n=r.x,i=r.width,o=r.horizontal;if(!t||!t.length)return null;var s=t.map((function(t,r){var a=d(d({},e.props),{},{x1:n,y1:t,x2:n+i,y2:t,key:"line-".concat(r),index:r});return u.renderLineItem(o,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}},{key:"renderVertical",value:function(t){var e=this,r=this.props,n=r.y,i=r.height,o=r.vertical;if(!t||!t.length)return null;var s=t.map((function(t,r){var a=d(d({},e.props),{},{x1:t,y1:n,x2:t,y2:n+i,key:"line-".concat(r),index:r});return u.renderLineItem(o,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}},{key:"renderVerticalStripes",value:function(t){var e=this.props.verticalFill;if(!e||!e.length)return null;var r=this.props,n=r.fillOpacity,i=r.x,o=r.y,s=r.width,c=r.height,u=t.slice().sort((function(t,e){return t-e}));i!==u[0]&&u.unshift(0);var l=u.map((function(t,r){var l=u[r+1]?u[r+1]-t:i+s-t;if(l<=0)return null;var f=r%e.length;return a.a.createElement("rect",{key:"react-".concat(r),x:Math.round(t+i-i),y:o,width:l,height:c,stroke:"none",fill:e[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},l)}},{key:"renderHorizontalStripes",value:function(t){var e=this.props.horizontalFill;if(!e||!e.length)return null;var r=this.props,n=r.fillOpacity,i=r.x,o=r.y,s=r.width,c=r.height,u=t.slice().sort((function(t,e){return t-e}));o!==u[0]&&u.unshift(0);var l=u.map((function(t,r){var l=u[r+1]?u[r+1]-t:o+c-t;if(l<=0)return null;var f=r%e.length;return a.a.createElement("rect",{key:"react-".concat(r),y:Math.round(t+o-o),x:i,height:l,width:s,stroke:"none",fill:e[f],fillOpacity:n,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},l)}},{key:"renderBackground",value:function(){var t=this.props.fill;if(!t||"none"===t)return null;var e=this.props,r=e.fillOpacity,n=e.x,i=e.y,o=e.width,s=e.height;return a.a.createElement("rect",{x:n,y:i,width:o,height:s,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,c=t.horizontal,u=t.vertical,l=t.horizontalCoordinatesGenerator,f=t.verticalCoordinatesGenerator,h=t.xAxis,d=t.yAxis,p=t.offset,m=t.chartWidth,b=t.chartHeight;if(!Object(s.h)(n)||n<=0||!Object(s.h)(o)||o<=0||!Object(s.h)(e)||e!==+e||!Object(s.h)(r)||r!==+r)return null;var v=this.props,g=v.horizontalPoints,y=v.verticalPoints;return g&&g.length||!i()(l)||(g=l({yAxis:d,width:m,height:b,offset:p})),y&&y.length||!i()(f)||(y=f({xAxis:h,width:m,height:b,offset:p})),a.a.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),c&&this.renderHorizontal(g),u&&this.renderVertical(y),c&&this.renderHorizontalStripes(g),u&&this.renderVerticalStripes(y))}}])&&b(e.prototype,r),n&&b(e,n),u}(o.PureComponent);x.displayName="CartesianGrid",x.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]}},function(t,e,r){"use strict";var n=r(2),i=r(0),o=r.n(i),a=(r(10),r(516)),s=r(656),c=r(518);e.a=function(t){var e=t.children,r=t.theme,i=Object(s.a)(),u=o.a.useMemo((function(){var t=null===i?r:function(t,e){return"function"===typeof e?e(t):Object(n.a)({},t,e)}(i,r);return null!=t&&(t[c.a]=null!==i),t}),[r,i]);return o.a.createElement(a.a.Provider,{value:u},e)}},function(t,e,r){"use strict";var n=r(2),i=r(0),o=(r(10),r(26)),a={WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},s=function(t){return Object(n.a)({color:t.palette.text.primary},t.typography.body2,{backgroundColor:t.palette.background.default,"@media print":{backgroundColor:t.palette.common.white}})};e.a=Object(o.a)((function(t){return{"@global":{html:a,"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:Object(n.a)({margin:0},s(t),{"&::backdrop":{backgroundColor:t.palette.background.default}})}}}),{name:"MuiCssBaseline"})((function(t){var e=t.children,r=void 0===e?null:e;return t.classes,i.createElement(i.Fragment,null,r)}))},function(t,e,r){"use strict";function n(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function i(t){n(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function o(t){n(1,arguments);var e=i(t);return!isNaN(e)}r.d(e,"a",(function(){return Z}));var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function s(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var c={date:s({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:s({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:s({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(t){return function(e,r){var n,i=r||{};if("formatting"===(i.context?String(i.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=i.width?String(i.width):o;n=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,c=i.width?String(i.width):t.defaultWidth;n=t.values[c]||t.values[s]}return n[t.argumentCallback?t.argumentCallback(e):e]}}function f(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a,s=o[0],c=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(c)?d(c,(function(t){return t.test(s)})):h(c,(function(t){return t.test(s)}));a=t.valueCallback?t.valueCallback(u):u,a=r.valueCallback?r.valueCallback(a):a;var l=e.slice(s.length);return{value:a,rest:l}}}function h(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function d(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}var p,m={code:"en-US",formatDistance:function(t,e,r){var n;return r=r||{},n="string"===typeof a[t]?a[t]:1===e?a[t].one:a[t].other.replace("{{count}}",e),r.addSuffix?r.comparison>0?"in "+n:n+" ago":n},formatLong:c,formatRelative:function(t,e,r,n){return u[t]},localize:{ordinalNumber:function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(p={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(p.matchPattern);if(!r)return null;var n=r[0],i=t.match(p.parsePattern);if(!i)return null;var o=p.valueCallback?p.valueCallback(i[0]):i[0];o=e.valueCallback?e.valueCallback(o):o;var a=t.slice(n.length);return{value:o,rest:a}}),era:f({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:f({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:f({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:f({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:f({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function b(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function v(t,e){n(2,arguments);var r=i(t).getTime(),o=b(e);return new Date(r+o)}function g(t,e){n(2,arguments);var r=b(e);return v(t,-r)}function y(t,e){for(var r=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return r+n}var w={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return y("yy"===e?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return"M"===e?String(r+1):y(r+1,2)},d:function(t,e){return y(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m."}},h:function(t,e){return y(t.getUTCHours()%12||12,e.length)},H:function(t,e){return y(t.getUTCHours(),e.length)},m:function(t,e){return y(t.getUTCMinutes(),e.length)},s:function(t,e){return y(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds();return y(Math.floor(n*Math.pow(10,r-3)),e.length)}};function x(t){n(1,arguments);var e=1,r=i(t),o=r.getUTCDay(),a=(o<e?7:0)+o-e;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function O(t){n(1,arguments);var e=i(t),r=e.getUTCFullYear(),o=new Date(0);o.setUTCFullYear(r+1,0,4),o.setUTCHours(0,0,0,0);var a=x(o),s=new Date(0);s.setUTCFullYear(r,0,4),s.setUTCHours(0,0,0,0);var c=x(s);return e.getTime()>=a.getTime()?r+1:e.getTime()>=c.getTime()?r:r-1}function _(t){n(1,arguments);var e=O(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var i=x(r);return i}function S(t,e){n(1,arguments);var r=e||{},o=r.locale,a=o&&o.options&&o.options.weekStartsOn,s=null==a?0:b(a),c=null==r.weekStartsOn?s:b(r.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=i(t),l=u.getUTCDay(),f=(l<c?7:0)+l-c;return u.setUTCDate(u.getUTCDate()-f),u.setUTCHours(0,0,0,0),u}function k(t,e){n(1,arguments);var r=i(t,e),o=r.getUTCFullYear(),a=e||{},s=a.locale,c=s&&s.options&&s.options.firstWeekContainsDate,u=null==c?1:b(c),l=null==a.firstWeekContainsDate?u:b(a.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setUTCFullYear(o+1,0,l),f.setUTCHours(0,0,0,0);var h=S(f,e),d=new Date(0);d.setUTCFullYear(o,0,l),d.setUTCHours(0,0,0,0);var p=S(d,e);return r.getTime()>=h.getTime()?o+1:r.getTime()>=p.getTime()?o:o-1}function E(t,e){n(1,arguments);var r=e||{},i=r.locale,o=i&&i.options&&i.options.firstWeekContainsDate,a=null==o?1:b(o),s=null==r.firstWeekContainsDate?a:b(r.firstWeekContainsDate),c=k(t,e),u=new Date(0);u.setUTCFullYear(c,0,s),u.setUTCHours(0,0,0,0);var l=S(u,e);return l}var M="midnight",C="noon",j="morning",A="afternoon",T="evening",P="night";function D(t,e){var r=t>0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),o=n%60;if(0===o)return r+String(i);var a=e||"";return r+String(i)+a+y(o,2)}function R(t,e){return t%60===0?(t>0?"-":"+")+y(Math.abs(t)/60,2):L(t,e)}function L(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t);return n+y(Math.floor(i/60),2)+r+y(i%60,2)}var I={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){var n=t.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return w.y(t,e)},Y:function(t,e,r,n){var i=k(t,n),o=i>0?i:1-i;return"YY"===e?y(o%100,2):"Yo"===e?r.ordinalNumber(o,{unit:"year"}):y(o,e.length)},R:function(t,e){return y(O(t),e.length)},u:function(t,e){return y(t.getUTCFullYear(),e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return y(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return y(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return w.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return y(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,o){var a=function(t,e){n(1,arguments);var r=i(t),o=S(r,e).getTime()-E(r,e).getTime();return Math.round(o/6048e5)+1}(t,o);return"wo"===e?r.ordinalNumber(a,{unit:"week"}):y(a,e.length)},I:function(t,e,r){var o=function(t){n(1,arguments);var e=i(t),r=x(e).getTime()-_(e).getTime();return Math.round(r/6048e5)+1}(t);return"Io"===e?r.ordinalNumber(o,{unit:"week"}):y(o,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):w.d(t,e)},D:function(t,e,r){var o=function(t){n(1,arguments);var e=i(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var o=e.getTime(),a=r-o;return Math.floor(a/864e5)+1}(t);return"Do"===e?r.ordinalNumber(o,{unit:"dayOfYear"}):y(o,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return y(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return y(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),i=0===n?7:n;switch(e){case"i":return String(i);case"ii":return y(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,i=t.getUTCHours();switch(n=12===i?C:0===i?M:i/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,i=t.getUTCHours();switch(n=i>=17?T:i>=12?A:i>=4?j:P,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return w.h(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):w.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):y(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?r.ordinalNumber(n,{unit:"hour"}):y(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):w.m(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):w.s(t,e)},S:function(t,e){return w.S(t,e)},X:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return R(i);case"XXXX":case"XX":return L(i);case"XXXXX":case"XXX":default:return L(i,":")}},x:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();switch(e){case"x":return R(i);case"xxxx":case"xx":return L(i);case"xxxxx":case"xxx":default:return L(i,":")}},O:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+D(i,":");case"OOOO":default:return"GMT"+L(i,":")}},z:function(t,e,r,n){var i=(n._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+D(i,":");case"zzzz":default:return"GMT"+L(i,":")}},t:function(t,e,r,n){var i=n._originalDate||t;return y(Math.floor(i.getTime()/1e3),e.length)},T:function(t,e,r,n){return y((n._originalDate||t).getTime(),e.length)}};function N(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function F(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}var B={p:F,P:function(t,e){var r,n=t.match(/(P+)(p+)?/),i=n[1],o=n[2];if(!o)return N(t,e);switch(i){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"})}return r.replace("{{date}}",N(i,e)).replace("{{time}}",F(o,e))}};function z(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var H=["D","DD"],U=["YY","YYYY"];function W(t){return-1!==H.indexOf(t)}function q(t){return-1!==U.indexOf(t)}function V(t,e,r){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}var G=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Y=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,X=/^'([^]*?)'?$/,$=/''/g,K=/[a-zA-Z]/;function Z(t,e,r){n(2,arguments);var a=String(e),s=r||{},c=s.locale||m,u=c.options&&c.options.firstWeekContainsDate,l=null==u?1:b(u),f=null==s.firstWeekContainsDate?l:b(s.firstWeekContainsDate);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=c.options&&c.options.weekStartsOn,d=null==h?0:b(h),p=null==s.weekStartsOn?d:b(s.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!c.localize)throw new RangeError("locale must contain localize property");if(!c.formatLong)throw new RangeError("locale must contain formatLong property");var v=i(t);if(!o(v))throw new RangeError("Invalid time value");var y=z(v),w=g(v,y),x={firstWeekContainsDate:f,weekStartsOn:p,locale:c,_originalDate:v},O=a.match(Y).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,B[e])(t,c.formatLong,x):t})).join("").match(G).map((function(r){if("''"===r)return"'";var n=r[0];if("'"===n)return J(r);var i=I[n];if(i)return!s.useAdditionalWeekYearTokens&&q(r)&&V(r,e,t),!s.useAdditionalDayOfYearTokens&&W(r)&&V(r,e,t),i(w,r,c.localize,x);if(n.match(K))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");return r})).join("");return O}function J(t){return t.match(X)[1].replace($,"'")}},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(519);function c(t){var e=t.props,r=t.states,n=t.muiFormControl;return r.reduce((function(t,r){return t[r]=e[r],n&&"undefined"===typeof e[r]&&(t[r]=n[r]),t}),{})}var u=r(234),l=r(26),f=r(38),h=r(64),d=r(1402),p=r(330),m="undefined"===typeof window?o.useEffect:o.useLayoutEffect,b=o.forwardRef((function(t,e){var r=t["aria-describedby"],l=t.autoComplete,b=t.autoFocus,v=t.classes,g=t.className,y=(t.color,t.defaultValue),w=t.disabled,x=t.endAdornment,O=(t.error,t.fullWidth),_=void 0!==O&&O,S=t.id,k=t.inputComponent,E=void 0===k?"input":k,M=t.inputProps,C=void 0===M?{}:M,j=t.inputRef,A=(t.margin,t.multiline),T=void 0!==A&&A,P=t.name,D=t.onBlur,R=t.onChange,L=t.onClick,I=t.onFocus,N=t.onKeyDown,F=t.onKeyUp,B=t.placeholder,z=t.readOnly,H=t.renderSuffix,U=t.rows,W=t.rowsMax,q=t.rowsMin,V=t.maxRows,G=t.minRows,Y=t.startAdornment,X=t.type,$=void 0===X?"text":X,K=t.value,Z=Object(i.a)(t,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),J=null!=C.value?C.value:K,Q=o.useRef(null!=J).current,tt=o.useRef(),et=o.useCallback((function(t){0}),[]),rt=Object(h.a)(C.ref,et),nt=Object(h.a)(j,rt),it=Object(h.a)(tt,nt),ot=o.useState(!1),at=ot[0],st=ot[1],ct=Object(u.b)();var ut=c({props:t,muiFormControl:ct,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ut.focused=ct?ct.focused:at,o.useEffect((function(){!ct&&w&&at&&(st(!1),D&&D())}),[ct,w,at,D]);var lt=ct&&ct.onFilled,ft=ct&&ct.onEmpty,ht=o.useCallback((function(t){Object(p.b)(t)?lt&&lt():ft&&ft()}),[lt,ft]);m((function(){Q&&ht({value:J})}),[J,ht,Q]);o.useEffect((function(){ht(tt.current)}),[]);var dt=E,pt=Object(n.a)({},C,{ref:it});"string"!==typeof dt?pt=Object(n.a)({inputRef:it,type:$},pt,{ref:null}):T?!U||V||G||W||q?(pt=Object(n.a)({minRows:U||G,rowsMax:W,maxRows:V},pt),dt=d.a):dt="textarea":pt=Object(n.a)({type:$},pt);return o.useEffect((function(){ct&&ct.setAdornedStart(Boolean(Y))}),[ct,Y]),o.createElement("div",Object(n.a)({className:Object(a.a)(v.root,v["color".concat(Object(f.a)(ut.color||"primary"))],g,ut.disabled&&v.disabled,ut.error&&v.error,_&&v.fullWidth,ut.focused&&v.focused,ct&&v.formControl,T&&v.multiline,Y&&v.adornedStart,x&&v.adornedEnd,"dense"===ut.margin&&v.marginDense),onClick:function(t){tt.current&&t.currentTarget===t.target&&tt.current.focus(),L&&L(t)},ref:e},Z),Y,o.createElement(u.a.Provider,{value:null},o.createElement(dt,Object(n.a)({"aria-invalid":ut.error,"aria-describedby":r,autoComplete:l,autoFocus:b,defaultValue:y,disabled:ut.disabled,id:S,onAnimationStart:function(t){ht("mui-auto-fill-cancel"===t.animationName?tt.current:{value:"x"})},name:P,placeholder:B,readOnly:z,required:ut.required,rows:U,value:J,onKeyDown:N,onKeyUp:F},pt,{className:Object(a.a)(v.input,C.className,ut.disabled&&v.disabled,T&&v.inputMultiline,ut.hiddenLabel&&v.inputHiddenLabel,Y&&v.inputAdornedStart,x&&v.inputAdornedEnd,"search"===$&&v.inputTypeSearch,"dense"===ut.margin&&v.inputMarginDense),onBlur:function(t){D&&D(t),C.onBlur&&C.onBlur(t),ct&&ct.onBlur?ct.onBlur(t):st(!1)},onChange:function(t){if(!Q){var e=t.target||tt.current;if(null==e)throw new Error(Object(s.a)(1));ht({value:e.value})}for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];C.onChange&&C.onChange.apply(C,[t].concat(n)),R&&R.apply(void 0,[t].concat(n))},onFocus:function(t){ut.disabled?t.stopPropagation():(I&&I(t),C.onFocus&&C.onFocus(t),ct&&ct.onFocus?ct.onFocus(t):st(!0))}}))),x,H?H(Object(n.a)({},ut,{startAdornment:Y})):null)})),v=Object(l.a)((function(t){var e="light"===t.palette.type,r={color:"currentColor",opacity:e?.42:.5,transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},i={opacity:"0 !important"},o={opacity:e?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Object(n.a)({},t.typography.body1,{color:t.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:t.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(b),g=o.forwardRef((function(t,e){var r=t.disableUnderline,s=t.classes,c=t.fullWidth,u=void 0!==c&&c,l=t.inputComponent,f=void 0===l?"input":l,h=t.multiline,d=void 0!==h&&h,p=t.type,m=void 0===p?"text":p,b=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(v,Object(n.a)({classes:Object(n.a)({},s,{root:Object(a.a)(s.root,!r&&s.underline),underline:null}),fullWidth:u,inputComponent:f,multiline:d,ref:e,type:m},b))}));g.muiName="Input";var y=Object(l.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(e),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(t.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(e)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(g),w=o.forwardRef((function(t,e){var r=t.disableUnderline,s=t.classes,c=t.fullWidth,u=void 0!==c&&c,l=t.inputComponent,f=void 0===l?"input":l,h=t.multiline,d=void 0!==h&&h,p=t.type,m=void 0===p?"text":p,b=Object(i.a)(t,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(v,Object(n.a)({classes:Object(n.a)({},s,{root:Object(a.a)(s.root,!r&&s.underline),underline:null}),fullWidth:u,inputComponent:f,multiline:d,ref:e,type:m},b))}));w.muiName="Input";var x=Object(l.a)((function(t){var e="light"===t.palette.type,r=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:n,borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:e?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:n}},"&$focused":{backgroundColor:e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:t.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(t.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:t.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(r),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(t.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(w),O=r(73),_=r(139),S=o.forwardRef((function(t,e){t.children;var r=t.classes,s=t.className,c=t.label,u=t.labelWidth,l=t.notched,h=t.style,d=Object(i.a)(t,["children","classes","className","label","labelWidth","notched","style"]),p="rtl"===Object(_.a)().direction?"right":"left";if(void 0!==c)return o.createElement("fieldset",Object(n.a)({"aria-hidden":!0,className:Object(a.a)(r.root,s),ref:e,style:h},d),o.createElement("legend",{className:Object(a.a)(r.legendLabelled,l&&r.legendNotched)},c?o.createElement("span",null,c):o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})));var m=u>0?.75*u+8:.01;return o.createElement("fieldset",Object(n.a)({"aria-hidden":!0,style:Object(n.a)(Object(O.a)({},"padding".concat(Object(f.a)(p)),8),h),className:Object(a.a)(r.root,s),ref:e},d),o.createElement("legend",{className:r.legend,style:{width:l?m:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))})),k=Object(l.a)((function(t){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(S),E=o.forwardRef((function(t,e){var r=t.classes,s=t.fullWidth,c=void 0!==s&&s,u=t.inputComponent,l=void 0===u?"input":u,f=t.label,h=t.labelWidth,d=void 0===h?0:h,p=t.multiline,m=void 0!==p&&p,b=t.notched,g=t.type,y=void 0===g?"text":g,w=Object(i.a)(t,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return o.createElement(v,Object(n.a)({renderSuffix:function(t){return o.createElement(k,{className:r.notchedOutline,label:f,labelWidth:d,notched:"undefined"!==typeof b?b:Boolean(t.startAdornment||t.filled||t.focused)})},classes:Object(n.a)({},r,{root:Object(a.a)(r.root,r.underline),notchedOutline:null}),fullWidth:c,inputComponent:l,multiline:m,ref:e,type:y},w))}));E.muiName="Input";var M=Object(l.a)((function(t){var e="light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:t.shape.borderRadius,"&:hover $notchedOutline":{borderColor:t.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:e}},"&$focused $notchedOutline":{borderColor:t.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:t.palette.error.main},"&$disabled $notchedOutline":{borderColor:t.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:t.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:e},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(E),C=r(185),j=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=(t.color,t.component),h=void 0===l?"label":l,d=(t.disabled,t.error,t.filled,t.focused,t.required,Object(i.a)(t,["children","classes","className","color","component","disabled","error","filled","focused","required"])),p=c({props:t,muiFormControl:Object(C.a)(),states:["color","required","focused","disabled","error","filled"]});return o.createElement(h,Object(n.a)({className:Object(a.a)(s.root,s["color".concat(Object(f.a)(p.color||"primary"))],u,p.disabled&&s.disabled,p.error&&s.error,p.filled&&s.filled,p.focused&&s.focused,p.required&&s.required),ref:e},d),r,p.required&&o.createElement("span",{"aria-hidden":!0,className:Object(a.a)(s.asterisk,p.error&&s.error)},"\u2009","*"))})),A=Object(l.a)((function(t){return{root:Object(n.a)({color:t.palette.text.secondary},t.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:t.palette.primary.main},"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),colorSecondary:{"&$focused":{color:t.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:t.palette.error.main}}}}),{name:"MuiFormLabel"})(j),T=o.forwardRef((function(t,e){var r=t.classes,s=t.className,u=t.disableAnimation,l=void 0!==u&&u,f=(t.margin,t.shrink),h=(t.variant,Object(i.a)(t,["classes","className","disableAnimation","margin","shrink","variant"])),d=Object(C.a)(),p=f;"undefined"===typeof p&&d&&(p=d.filled||d.focused||d.adornedStart);var m=c({props:t,muiFormControl:d,states:["margin","variant"]});return o.createElement(A,Object(n.a)({"data-shrink":p,className:Object(a.a)(r.root,s,d&&r.formControl,!l&&r.animated,p&&r.shrink,"dense"===m.margin&&r.marginDense,{filled:r.filled,outlined:r.outlined}[m.variant]),classes:{focused:r.focused,disabled:r.disabled,error:r.error,required:r.required,asterisk:r.asterisk},ref:e},h))})),P=Object(l.a)((function(t){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:t.transitions.create(["color","transform"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(T),D=r(1403),R=o.forwardRef((function(t,e){var r=t.children,s=t.classes,u=t.className,l=t.component,f=void 0===l?"p":l,h=(t.disabled,t.error,t.filled,t.focused,t.margin,t.required,t.variant,Object(i.a)(t,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),d=c({props:t,muiFormControl:Object(C.a)(),states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(f,Object(n.a)({className:Object(a.a)(s.root,("filled"===d.variant||"outlined"===d.variant)&&s.contained,u,d.disabled&&s.disabled,d.error&&s.error,d.filled&&s.filled,d.focused&&s.focused,d.required&&s.required,"dense"===d.margin&&s.marginDense),ref:e},h)," "===r?o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):r)})),L=Object(l.a)((function(t){return{root:Object(n.a)({color:t.palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(R),I=r(1399),N=r(125),F=r(217),B=(r(621),r(124)),z=r(76),H=r(270),U=r(356),W=r(186),q=r(1320),V=r(1305),G=r(658);function Y(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.height/2:"bottom"===e&&(r=t.height),r}function X(t,e){var r=0;return"number"===typeof e?r=e:"center"===e?r=t.width/2:"right"===e&&(r=t.width),r}function $(t){return[t.horizontal,t.vertical].map((function(t){return"number"===typeof t?"".concat(t,"px"):t})).join(" ")}function K(t){return"function"===typeof t?t():t}var Z=o.forwardRef((function(t,e){var r=t.action,s=t.anchorEl,c=t.anchorOrigin,u=void 0===c?{vertical:"top",horizontal:"left"}:c,l=t.anchorPosition,f=t.anchorReference,h=void 0===f?"anchorEl":f,d=t.children,p=t.classes,m=t.className,b=t.container,v=t.elevation,g=void 0===v?8:v,y=t.getContentAnchorEl,w=t.marginThreshold,x=void 0===w?16:w,O=t.onEnter,_=t.onEntered,S=t.onEntering,k=t.onExit,E=t.onExited,M=t.onExiting,C=t.open,j=t.PaperProps,A=void 0===j?{}:j,T=t.transformOrigin,P=void 0===T?{vertical:"top",horizontal:"left"}:T,D=t.TransitionComponent,R=void 0===D?V.a:D,L=t.transitionDuration,I=void 0===L?"auto":L,N=t.TransitionProps,F=void 0===N?{}:N,Z=Object(i.a)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),J=o.useRef(),Q=o.useCallback((function(t){if("anchorPosition"===h)return l;var e=K(s),r=(e&&1===e.nodeType?e:Object(B.a)(J.current).body).getBoundingClientRect(),n=0===t?u.vertical:"center";return{top:r.top+Y(r,n),left:r.left+X(r,u.horizontal)}}),[s,u.horizontal,u.vertical,l,h]),tt=o.useCallback((function(t){var e=0;if(y&&"anchorEl"===h){var r=y(t);if(r&&t.contains(r)){var n=function(t,e){for(var r=e,n=0;r&&r!==t;)n+=(r=r.parentElement).scrollTop;return n}(t,r);e=r.offsetTop+r.clientHeight/2-n||0}0}return e}),[u.vertical,h,y]),et=o.useCallback((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Y(t,P.vertical)+e,horizontal:X(t,P.horizontal)}}),[P.horizontal,P.vertical]),rt=o.useCallback((function(t){var e=tt(t),r={width:t.offsetWidth,height:t.offsetHeight},n=et(r,e);if("none"===h)return{top:null,left:null,transformOrigin:$(n)};var i=Q(e),o=i.top-n.vertical,a=i.left-n.horizontal,c=o+r.height,u=a+r.width,l=Object(U.a)(K(s)),f=l.innerHeight-x,d=l.innerWidth-x;if(o<x){var p=o-x;o-=p,n.vertical+=p}else if(c>f){var m=c-f;o-=m,n.vertical+=m}if(a<x){var b=a-x;a-=b,n.horizontal+=b}else if(u>d){var v=u-d;a-=v,n.horizontal+=v}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:$(n)}}),[s,h,Q,tt,et,x]),nt=o.useCallback((function(){var t=J.current;if(t){var e=rt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin}}),[rt]),it=o.useCallback((function(t){J.current=z.findDOMNode(t)}),[]);o.useEffect((function(){C&&nt()})),o.useImperativeHandle(r,(function(){return C?{updatePosition:function(){nt()}}:null}),[C,nt]),o.useEffect((function(){if(C){var t=Object(H.a)((function(){nt()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[C,nt]);var ot=I;"auto"!==I||R.muiSupportAuto||(ot=void 0);var at=b||(s?Object(B.a)(K(s)).body:void 0);return o.createElement(q.a,Object(n.a)({container:at,open:C,ref:e,BackdropProps:{invisible:!0},className:Object(a.a)(p.root,m)},Z),o.createElement(R,Object(n.a)({appear:!0,in:C,onEnter:O,onEntered:_,onExit:k,onExited:E,onExiting:M,timeout:ot},F,{onEntering:Object(W.a)((function(t,e){S&&S(t,e),nt()}),F.onEntering)}),o.createElement(G.a,Object(n.a)({elevation:g,ref:it},A,{className:Object(a.a)(p.paper,A.className)}),d)))})),J=Object(l.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Z),Q=r(557),tt=r(522);function et(t,e,r){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:r?null:t.firstChild}function rt(t,e,r){return t===e?r?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:r?null:t.lastChild}function nt(t,e){if(void 0===e)return!0;var r=t.innerText;return void 0===r&&(r=t.textContent),0!==(r=r.trim().toLowerCase()).length&&(e.repeating?r[0]===e.keys[0]:0===r.indexOf(e.keys.join("")))}function it(t,e,r,n,i,o){for(var a=!1,s=i(t,e,!!e&&r);s;){if(s===t.firstChild){if(a)return;a=!0}var c=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&nt(s,o)&&!c)return void s.focus();s=i(t,s,r)}}var ot="undefined"===typeof window?o.useEffect:o.useLayoutEffect,at=o.forwardRef((function(t,e){var r=t.actions,a=t.autoFocus,s=void 0!==a&&a,c=t.autoFocusItem,u=void 0!==c&&c,l=t.children,f=t.className,d=t.disabledItemsFocusable,p=void 0!==d&&d,m=t.disableListWrap,b=void 0!==m&&m,v=t.onKeyDown,g=t.variant,y=void 0===g?"selectedMenu":g,w=Object(i.a)(t,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),x=o.useRef(null),O=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ot((function(){s&&x.current.focus()}),[s]),o.useImperativeHandle(r,(function(){return{adjustStyleForScrollbar:function(t,e){var r=!x.current.style.width;if(t.clientHeight<x.current.clientHeight&&r){var n="".concat(Object(tt.a)(!0),"px");x.current.style["rtl"===e.direction?"paddingLeft":"paddingRight"]=n,x.current.style.width="calc(100% + ".concat(n,")")}return x.current}}}),[]);var _=o.useCallback((function(t){x.current=z.findDOMNode(t)}),[]),S=Object(h.a)(_,e),k=-1;o.Children.forEach(l,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("selectedMenu"===y&&t.props.selected||-1===k)&&(k=e))}));var E=o.Children.map(l,(function(t,e){if(e===k){var r={};return u&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===y&&(r.tabIndex=0),o.cloneElement(t,r)}return t}));return o.createElement(Q.a,Object(n.a)({role:"menu",ref:S,className:f,onKeyDown:function(t){var e=x.current,r=t.key,n=Object(B.a)(e).activeElement;if("ArrowDown"===r)t.preventDefault(),it(e,n,b,p,et);else if("ArrowUp"===r)t.preventDefault(),it(e,n,b,p,rt);else if("Home"===r)t.preventDefault(),it(e,null,b,p,et);else if("End"===r)t.preventDefault(),it(e,null,b,p,rt);else if(1===r.length){var i=O.current,o=r.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=n&&!i.repeating&&nt(n,i);i.previousKeyMatched&&(s||it(e,n,!1,p,et,i))?t.preventDefault():i.previousKeyMatched=!1}v&&v(t)},tabIndex:s?0:-1},w),E)})),st=r(169),ct={vertical:"top",horizontal:"right"},ut={vertical:"top",horizontal:"left"},lt=o.forwardRef((function(t,e){var r=t.autoFocus,s=void 0===r||r,c=t.children,u=t.classes,l=t.disableAutoFocusItem,f=void 0!==l&&l,h=t.MenuListProps,d=void 0===h?{}:h,p=t.onClose,m=t.onEntering,b=t.open,v=t.PaperProps,g=void 0===v?{}:v,y=t.PopoverClasses,w=t.transitionDuration,x=void 0===w?"auto":w,O=t.TransitionProps,S=(O=void 0===O?{}:O).onEntering,k=Object(i.a)(O,["onEntering"]),E=t.variant,M=void 0===E?"selectedMenu":E,C=Object(i.a)(t,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),j=Object(_.a)(),A=s&&!f&&b,T=o.useRef(null),P=o.useRef(null),D=-1;o.Children.map(c,(function(t,e){o.isValidElement(t)&&(t.props.disabled||("menu"!==M&&t.props.selected||-1===D)&&(D=e))}));var R=o.Children.map(c,(function(t,e){return e===D?o.cloneElement(t,{ref:function(e){P.current=z.findDOMNode(e),Object(st.a)(t.ref,e)}}):t}));return o.createElement(J,Object(n.a)({getContentAnchorEl:function(){return P.current},classes:y,onClose:p,TransitionProps:Object(n.a)({onEntering:function(t,e){T.current&&T.current.adjustStyleForScrollbar(t,j),m&&m(t,e),S&&S(t,e)}},k),anchorOrigin:"rtl"===j.direction?ct:ut,transformOrigin:"rtl"===j.direction?ct:ut,PaperProps:Object(n.a)({},g,{classes:Object(n.a)({},g.classes,{root:u.paper})}),open:b,ref:e,transitionDuration:x},C),o.createElement(at,Object(n.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),p&&p(t,"tabKeyDown"))},actions:T,autoFocus:s&&(-1===D||f),autoFocusItem:A,variant:M},d,{className:Object(a.a)(u.list,d.className)}),R))})),ft=Object(l.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(lt),ht=r(221);function dt(t,e){return"object"===Object(F.a)(e)&&null!==e?t===e:String(t)===String(e)}var pt=o.forwardRef((function(t,e){var r=t["aria-label"],c=t.autoFocus,u=t.autoWidth,l=t.children,d=t.classes,m=t.className,b=t.defaultValue,v=t.disabled,g=t.displayEmpty,y=t.IconComponent,w=t.inputRef,x=t.labelId,O=t.MenuProps,_=void 0===O?{}:O,S=t.multiple,k=t.name,E=t.onBlur,M=t.onChange,C=t.onClose,j=t.onFocus,A=t.onOpen,T=t.open,P=t.readOnly,D=t.renderValue,R=t.SelectDisplayProps,L=void 0===R?{}:R,I=t.tabIndex,F=(t.type,t.value),z=t.variant,H=void 0===z?"standard":z,U=Object(i.a)(t,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),W=Object(ht.a)({controlled:F,default:b,name:"Select"}),q=Object(N.a)(W,2),V=q[0],G=q[1],Y=o.useRef(null),X=o.useState(null),$=X[0],K=X[1],Z=o.useRef(null!=T).current,J=o.useState(),Q=J[0],tt=J[1],et=o.useState(!1),rt=et[0],nt=et[1],it=Object(h.a)(e,w);o.useImperativeHandle(it,(function(){return{focus:function(){$.focus()},node:Y.current,value:V}}),[$,V]),o.useEffect((function(){c&&$&&$.focus()}),[c,$]),o.useEffect((function(){if($){var t=Object(B.a)($).getElementById(x);if(t){var e=function(){getSelection().isCollapsed&&$.focus()};return t.addEventListener("click",e),function(){t.removeEventListener("click",e)}}}}),[x,$]);var ot,at,st=function(t,e){t?A&&A(e):C&&C(e),Z||(tt(u?null:$.clientWidth),nt(t))},ct=o.Children.toArray(l),ut=function(t){return function(e){var r;if(S||st(!1,e),S){r=Array.isArray(V)?V.slice():[];var n=V.indexOf(t.props.value);-1===n?r.push(t.props.value):r.splice(n,1)}else r=t.props.value;t.props.onClick&&t.props.onClick(e),V!==r&&(G(r),M&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:r,name:k}}),M(e,t)))}},lt=null!==$&&(Z?T:rt);delete U["aria-invalid"];var pt=[],mt=!1;(Object(p.b)({value:V})||g)&&(D?ot=D(V):mt=!0);var bt=ct.map((function(t){if(!o.isValidElement(t))return null;var e;if(S){if(!Array.isArray(V))throw new Error(Object(s.a)(2));(e=V.some((function(e){return dt(e,t.props.value)})))&&mt&&pt.push(t.props.children)}else(e=dt(V,t.props.value))&&mt&&(at=t.props.children);return e&&!0,o.cloneElement(t,{"aria-selected":e?"true":void 0,onClick:ut(t),onKeyUp:function(e){" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:e,value:void 0,"data-value":t.props.value})}));mt&&(ot=S?pt.join(", "):at);var vt,gt=Q;!u&&Z&&$&&(gt=$.clientWidth),vt="undefined"!==typeof I?I:v?null:0;var yt=L.id||(k?"mui-component-select-".concat(k):void 0);return o.createElement(o.Fragment,null,o.createElement("div",Object(n.a)({className:Object(a.a)(d.root,d.select,d.selectMenu,d[H],m,v&&d.disabled),ref:K,tabIndex:vt,role:"button","aria-disabled":v?"true":void 0,"aria-expanded":lt?"true":void 0,"aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[x,yt].filter(Boolean).join(" ")||void 0,onKeyDown:function(t){if(!P){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),st(!0,t))}},onMouseDown:v||P?null:function(t){0===t.button&&(t.preventDefault(),$.focus(),st(!0,t))},onBlur:function(t){!lt&&E&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:V,name:k}}),E(t))},onFocus:j},L,{id:yt}),function(t){return null==t||"string"===typeof t&&!t.trim()}(ot)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):ot),o.createElement("input",Object(n.a)({value:Array.isArray(V)?V.join(","):V,name:k,ref:Y,"aria-hidden":!0,onChange:function(t){var e=ct.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==e){var r=ct[e];G(r.props.value),M&&M(t,r)}},tabIndex:-1,className:d.nativeInput,autoFocus:c},U)),o.createElement(y,{className:Object(a.a)(d.icon,d["icon".concat(Object(f.a)(H))],lt&&d.iconOpen,v&&d.disabled)}),o.createElement(ft,Object(n.a)({id:"menu-".concat(k||""),anchorEl:$,open:lt,onClose:function(t){st(!1,t)}},_,{MenuListProps:Object(n.a)({"aria-labelledby":x,role:"listbox",disableListWrap:!0},_.MenuListProps),PaperProps:Object(n.a)({},_.PaperProps,{style:Object(n.a)({minWidth:gt},null!=_.PaperProps?_.PaperProps.style:null)})}),bt))})),mt=r(159),bt=Object(mt.a)(o.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),vt=o.forwardRef((function(t,e){var r=t.classes,s=t.className,c=t.disabled,u=t.IconComponent,l=t.inputRef,h=t.variant,d=void 0===h?"standard":h,p=Object(i.a)(t,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",Object(n.a)({className:Object(a.a)(r.root,r.select,r[d],s,c&&r.disabled),disabled:c,ref:l||e},p)),t.multiple?null:o.createElement(u,{className:Object(a.a)(r.icon,r["icon".concat(Object(f.a)(d))],c&&r.disabled)}))})),gt=function(t){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:t.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:t.palette.action.active,"&$disabled":{color:t.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},yt=o.createElement(y,null),wt=o.forwardRef((function(t,e){var r=t.children,a=t.classes,s=t.IconComponent,u=void 0===s?bt:s,l=t.input,f=void 0===l?yt:l,h=t.inputProps,d=(t.variant,Object(i.a)(t,["children","classes","IconComponent","input","inputProps","variant"])),p=c({props:t,muiFormControl:Object(C.a)(),states:["variant"]});return o.cloneElement(f,Object(n.a)({inputComponent:vt,inputProps:Object(n.a)({children:r,classes:a,IconComponent:u,variant:p.variant,type:void 0},h,f?f.props.inputProps:{}),ref:e},d))}));wt.muiName="Select";Object(l.a)(gt,{name:"MuiNativeSelect"})(wt);var xt=gt,Ot=o.createElement(y,null),_t=o.createElement(x,null),St=o.forwardRef((function t(e,r){var a=e.autoWidth,s=void 0!==a&&a,u=e.children,l=e.classes,f=e.displayEmpty,h=void 0!==f&&f,d=e.IconComponent,p=void 0===d?bt:d,m=e.id,b=e.input,v=e.inputProps,g=e.label,y=e.labelId,w=e.labelWidth,x=void 0===w?0:w,O=e.MenuProps,_=e.multiple,S=void 0!==_&&_,k=e.native,E=void 0!==k&&k,j=e.onClose,A=e.onOpen,T=e.open,P=e.renderValue,D=e.SelectDisplayProps,R=e.variant,L=void 0===R?"standard":R,N=Object(i.a)(e,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),F=E?vt:pt,B=c({props:e,muiFormControl:Object(C.a)(),states:["variant"]}).variant||L,z=b||{standard:Ot,outlined:o.createElement(M,{label:g,labelWidth:x}),filled:_t}[B];return o.cloneElement(z,Object(n.a)({inputComponent:F,inputProps:Object(n.a)({children:u,IconComponent:p,variant:B,type:void 0,multiple:S},E?{id:m}:{autoWidth:s,displayEmpty:h,labelId:y,MenuProps:O,onClose:j,onOpen:A,open:T,renderValue:P,SelectDisplayProps:Object(n.a)({id:m},D)},v,{classes:v?Object(I.a)({baseClasses:l,newClasses:v.classes,Component:t}):l},b?b.props.inputProps:{}),ref:r},N))}));St.muiName="Select";var kt=Object(l.a)(xt,{name:"MuiSelect"})(St),Et={standard:y,filled:x,outlined:M},Mt=o.forwardRef((function(t,e){var r=t.autoComplete,s=t.autoFocus,c=void 0!==s&&s,u=t.children,l=t.classes,f=t.className,h=t.color,d=void 0===h?"primary":h,p=t.defaultValue,m=t.disabled,b=void 0!==m&&m,v=t.error,g=void 0!==v&&v,y=t.FormHelperTextProps,w=t.fullWidth,x=void 0!==w&&w,O=t.helperText,_=t.hiddenLabel,S=t.id,k=t.InputLabelProps,E=t.inputProps,M=t.InputProps,C=t.inputRef,j=t.label,A=t.multiline,T=void 0!==A&&A,R=t.name,I=t.onBlur,N=t.onChange,F=t.onFocus,B=t.placeholder,z=t.required,H=void 0!==z&&z,U=t.rows,W=t.rowsMax,q=t.maxRows,V=t.minRows,G=t.select,Y=void 0!==G&&G,X=t.SelectProps,$=t.type,K=t.value,Z=t.variant,J=void 0===Z?"standard":Z,Q=Object(i.a)(t,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var tt={};if("outlined"===J&&(k&&"undefined"!==typeof k.shrink&&(tt.notched=k.shrink),j)){var et,rt=null!==(et=null===k||void 0===k?void 0:k.required)&&void 0!==et?et:H;tt.label=o.createElement(o.Fragment,null,j,rt&&"\xa0*")}Y&&(X&&X.native||(tt.id=void 0),tt["aria-describedby"]=void 0);var nt=O&&S?"".concat(S,"-helper-text"):void 0,it=j&&S?"".concat(S,"-label"):void 0,ot=Et[J],at=o.createElement(ot,Object(n.a)({"aria-describedby":nt,autoComplete:r,autoFocus:c,defaultValue:p,fullWidth:x,multiline:T,name:R,rows:U,rowsMax:W,maxRows:q,minRows:V,type:$,value:K,id:S,inputRef:C,onBlur:I,onChange:N,onFocus:F,placeholder:B,inputProps:E},tt,M));return o.createElement(D.a,Object(n.a)({className:Object(a.a)(l.root,f),disabled:b,error:g,fullWidth:x,hiddenLabel:_,ref:e,required:H,color:d,variant:J},Q),j&&o.createElement(P,Object(n.a)({htmlFor:S,id:it},k),j),Y?o.createElement(kt,Object(n.a)({"aria-describedby":nt,id:S,labelId:it,value:K,input:at},X),u):at,O&&o.createElement(L,Object(n.a)({id:nt},y),O))}));e.a=Object(l.a)({root:{}},{name:"MuiTextField"})(Mt)},function(t,e,r){"use strict";var n=r(232),i=r(2),o=(r(10),r(249));function a(t,e){var r={};return Object.keys(t).forEach((function(n){-1===e.indexOf(n)&&(r[n]=t[n])})),r}function s(t){var e=function(e){var r=t(e);return e.css?Object(i.a)({},Object(o.a)(r,t(Object(i.a)({theme:e.theme},e.css))),a(e.css,[t.filterProps])):e.sx?Object(i.a)({},Object(o.a)(r,t(Object(i.a)({theme:e.theme},e.sx))),a(e.sx,[t.filterProps])):r};return e.propTypes={},e.filterProps=["css","sx"].concat(Object(n.a)(t.filterProps)),e}var c=s;var u=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=function(t){return e.reduce((function(e,r){var n=r(t);return n?Object(o.a)(e,n):e}),{})};return n.propTypes={},n.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),n},l=r(73),f=r(520);function h(t,e){return e&&"string"===typeof e?e.split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t):null}var d=function(t){var e=t.prop,r=t.cssProperty,n=void 0===r?t.prop:r,i=t.themeKey,o=t.transform,a=function(t){if(null==t[e])return null;var r=t[e],a=h(t.theme,i)||{};return Object(f.a)(t,r,(function(t){var e;return"function"===typeof a?e=a(t):Array.isArray(a)?e=a[t]||t:(e=h(a,t)||t,o&&(e=o(e))),!1===n?e:Object(l.a)({},n,e)}))};return a.propTypes={},a.filterProps=[e],a};function p(t){return"number"!==typeof t?t:"".concat(t,"px solid")}var m=u(d({prop:"border",themeKey:"borders",transform:p}),d({prop:"borderTop",themeKey:"borders",transform:p}),d({prop:"borderRight",themeKey:"borders",transform:p}),d({prop:"borderBottom",themeKey:"borders",transform:p}),d({prop:"borderLeft",themeKey:"borders",transform:p}),d({prop:"borderColor",themeKey:"palette"}),d({prop:"borderRadius",themeKey:"shape"})),b=u(d({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),d({prop:"display"}),d({prop:"overflow"}),d({prop:"textOverflow"}),d({prop:"visibility"}),d({prop:"whiteSpace"})),v=u(d({prop:"flexBasis"}),d({prop:"flexDirection"}),d({prop:"flexWrap"}),d({prop:"justifyContent"}),d({prop:"alignItems"}),d({prop:"alignContent"}),d({prop:"order"}),d({prop:"flex"}),d({prop:"flexGrow"}),d({prop:"flexShrink"}),d({prop:"alignSelf"}),d({prop:"justifyItems"}),d({prop:"justifySelf"})),g=u(d({prop:"gridGap"}),d({prop:"gridColumnGap"}),d({prop:"gridRowGap"}),d({prop:"gridColumn"}),d({prop:"gridRow"}),d({prop:"gridAutoFlow"}),d({prop:"gridAutoColumns"}),d({prop:"gridAutoRows"}),d({prop:"gridTemplateColumns"}),d({prop:"gridTemplateRows"}),d({prop:"gridTemplateAreas"}),d({prop:"gridArea"})),y=u(d({prop:"position"}),d({prop:"zIndex",themeKey:"zIndex"}),d({prop:"top"}),d({prop:"right"}),d({prop:"bottom"}),d({prop:"left"})),w=u(d({prop:"color",themeKey:"palette"}),d({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),x=d({prop:"boxShadow",themeKey:"shadows"});function O(t){return t<=1?"".concat(100*t,"%"):t}var _=d({prop:"width",transform:O}),S=d({prop:"maxWidth",transform:O}),k=d({prop:"minWidth",transform:O}),E=d({prop:"height",transform:O}),M=d({prop:"maxHeight",transform:O}),C=d({prop:"minHeight",transform:O}),j=(d({prop:"size",cssProperty:"width",transform:O}),d({prop:"size",cssProperty:"height",transform:O}),u(_,S,k,E,M,C,d({prop:"boxSizing"}))),A=r(1459),T=u(d({prop:"fontFamily",themeKey:"typography"}),d({prop:"fontSize",themeKey:"typography"}),d({prop:"fontStyle",themeKey:"typography"}),d({prop:"fontWeight",themeKey:"typography"}),d({prop:"letterSpacing"}),d({prop:"lineHeight"}),d({prop:"textAlign"})),P=r(879),D=c(u(m,b,v,g,y,w,x,j,A.b,T)),R=Object(P.a)("div")(D,{name:"MuiBox"});e.a=R},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(1446),h=r(49),d=r(6),p=Object(h.a)(Object(d.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),m=Object(h.a)(Object(d.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),b=r(893),v=r(339),g=r(340);function y(t){return Object(v.a)("MuiStepIcon",t)}var w,x=Object(g.a)("MuiStepIcon",["root","active","completed","error","text"]),O=["active","className","completed","error","icon"],_=Object(u.a)(b.a,{name:"MuiStepIcon",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e,r=t.theme;return e={display:"block",transition:r.transitions.create("color",{duration:r.transitions.duration.shortest}),color:r.palette.text.disabled},Object(n.a)(e,"&.".concat(x.completed),{color:r.palette.primary.main}),Object(n.a)(e,"&.".concat(x.active),{color:r.palette.primary.main}),Object(n.a)(e,"&.".concat(x.error),{color:r.palette.error.main}),e})),S=Object(u.a)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:function(t,e){return e.text}})((function(t){var e=t.theme;return{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}})),k=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStepIcon"}),n=r.active,a=void 0!==n&&n,u=r.className,f=r.completed,h=void 0!==f&&f,b=r.error,v=void 0!==b&&b,g=r.icon,x=Object(i.a)(r,O),k=Object(o.a)({},r,{active:a,completed:h,error:v}),E=function(t){var e=t.classes,r={root:["root",t.active&&"active",t.completed&&"completed",t.error&&"error"],text:["text"]};return Object(c.a)(r,y,e)}(k);if("number"===typeof g||"string"===typeof g){var M=Object(s.a)(u,E.root);return v?Object(d.jsx)(_,Object(o.a)({as:m,className:M,ref:e,ownerState:k},x)):h?Object(d.jsx)(_,Object(o.a)({as:p,className:M,ref:e,ownerState:k},x)):Object(d.jsxs)(_,Object(o.a)({className:M,ref:e,ownerState:k},x,{children:[w||(w=Object(d.jsx)("circle",{cx:"12",cy:"12",r:"12"})),Object(d.jsx)(S,{className:E.text,x:"12",y:"16",textAnchor:"middle",ownerState:k,children:g})]}))}return g})),E=r(231),M=r(290);function C(t){return Object(v.a)("MuiStepLabel",t)}var j=Object(g.a)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),A=["children","className","componentsProps","error","icon","optional","StepIconComponent","StepIconProps"],T=Object(u.a)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation]]}})((function(t){var e,r=t.ownerState;return Object(o.a)((e={display:"flex",alignItems:"center"},Object(n.a)(e,"&.".concat(j.alternativeLabel),{flexDirection:"column"}),Object(n.a)(e,"&.".concat(j.disabled),{cursor:"default"}),e),"vertical"===r.orientation&&{textAlign:"left",padding:"8px 0"})})),P=Object(u.a)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:function(t,e){return e.label}})((function(t){var e,r=t.theme;return Object(o.a)({},r.typography.body2,(e={display:"block",transition:r.transitions.create("color",{duration:r.transitions.duration.shortest})},Object(n.a)(e,"&.".concat(j.active),{color:r.palette.text.primary,fontWeight:500}),Object(n.a)(e,"&.".concat(j.completed),{color:r.palette.text.primary,fontWeight:500}),Object(n.a)(e,"&.".concat(j.alternativeLabel),{textAlign:"center",marginTop:16}),Object(n.a)(e,"&.".concat(j.error),{color:r.palette.error.main}),e))})),D=Object(u.a)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:function(t,e){return e.iconContainer}})((function(){return Object(n.a)({flexShrink:0,display:"flex",paddingRight:8},"&.".concat(j.alternativeLabel),{paddingRight:0})})),R=Object(u.a)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:function(t,e){return e.labelContainer}})((function(t){return{width:"100%",color:t.theme.palette.text.secondary}})),L=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStepLabel"}),n=r.children,u=r.className,f=r.componentsProps,h=void 0===f?{}:f,p=r.error,m=void 0!==p&&p,b=r.icon,v=r.optional,g=r.StepIconComponent,y=r.StepIconProps,w=Object(i.a)(r,A),x=a.useContext(E.a),O=x.alternativeLabel,_=x.orientation,S=a.useContext(M.a),j=S.active,L=S.disabled,I=S.completed,N=S.icon,F=b||N,B=g;F&&!B&&(B=k);var z=Object(o.a)({},r,{active:j,alternativeLabel:O,completed:I,disabled:L,error:m,orientation:_}),H=function(t){var e=t.classes,r=t.orientation,n=t.active,i=t.completed,o=t.error,a=t.disabled,s=t.alternativeLabel,u={root:["root",r,o&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",n&&"active",i&&"completed",o&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",s&&"alternativeLabel"],labelContainer:["labelContainer"]};return Object(c.a)(u,C,e)}(z);return Object(d.jsxs)(T,Object(o.a)({className:Object(s.a)(H.root,u),ref:e,ownerState:z},w,{children:[F||B?Object(d.jsx)(D,{className:H.iconContainer,ownerState:z,children:Object(d.jsx)(B,Object(o.a)({completed:I,active:j,error:m,icon:F},y))}):null,Object(d.jsxs)(R,{className:H.labelContainer,ownerState:z,children:[n?Object(d.jsx)(P,Object(o.a)({className:H.label,ownerState:z},h.label,{children:n})):null,v]})]}))}));L.muiName="StepLabel";var I=L,N=r(233);function F(t){return Object(v.a)("MuiStepButton",t)}var B=Object(g.a)("MuiStepButton",["root","horizontal","vertical","touchRipple"]),z=["children","className","icon","optional"],H=Object(u.a)(f.a,{name:"MuiStepButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(n.a)({},"& .".concat(B.touchRipple),e.touchRipple),e.root,e[r.orientation]]}})((function(t){var e=t.ownerState;return Object(o.a)({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},Object(n.a)({},"& .".concat(B.touchRipple),{color:"rgba(0, 0, 0, 0.3)"}))})),U=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStepButton"}),n=r.children,u=r.className,f=r.icon,h=r.optional,p=Object(i.a)(r,z),m=a.useContext(M.a).disabled,b=a.useContext(E.a).orientation,v=Object(o.a)({},r,{orientation:b}),g=function(t){var e=t.classes,r={root:["root",t.orientation],touchRipple:["touchRipple"]};return Object(c.a)(r,F,e)}(v),y={icon:f,optional:h},w=Object(N.a)(n,["StepLabel"])?a.cloneElement(n,y):Object(d.jsx)(I,Object(o.a)({},y,{children:n}));return Object(d.jsx)(H,Object(o.a)({focusRipple:!0,disabled:m,TouchRippleProps:{className:g.touchRipple},className:Object(s.a)(g.root,u),ref:e,ownerState:v},p,{children:w}))}));e.a=U},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(147),u=r(373),l=r(22),f=r(49),h=r(6),d=Object(f.a)(Object(h.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),p=Object(f.a)(Object(h.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),m=r(13),b=Object(m.a)("span")({position:"relative",display:"flex"}),v=Object(m.a)(d,{skipSx:!0})({transform:"scale(1)"}),g=Object(m.a)(p,{skipSx:!0})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},r.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})}));var y=function(t){var e=t.checked,r=void 0!==e&&e,n=t.classes,i=void 0===n?{}:n,a=t.fontSize,s=Object(o.a)({},t,{checked:r});return Object(h.jsxs)(b,{className:i.root,ownerState:s,children:[Object(h.jsx)(v,{fontSize:a,className:i.background,ownerState:s}),Object(h.jsx)(g,{fontSize:a,className:i.dot,ownerState:s})]})},w=r(24),x=r(491);var O=a.createContext(void 0);var _=r(339),S=r(340);function k(t){return Object(_.a)("MuiRadio",t)}var E=Object(S.a)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),M=["checked","checkedIcon","color","icon","name","onChange","size"],C=Object(m.a)(u.a,{shouldForwardProp:function(t){return Object(m.b)(t)||"classes"===t},name:"MuiRadio",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["color".concat(Object(w.a)(r.color))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({color:e.palette.text.secondary,"&:hover":{backgroundColor:Object(c.a)("default"===r.color?e.palette.action.active:e.palette[r.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==r.color&&Object(n.a)({},"&.".concat(E.checked),{color:e.palette[r.color].main}),Object(n.a)({},"&.".concat(E.disabled),{color:e.palette.action.disabled}))}));var j=Object(h.jsx)(y,{checked:!0}),A=Object(h.jsx)(y,{}),T=a.forwardRef((function(t,e){var r,n,c,u,f=Object(l.a)({props:t,name:"MuiRadio"}),d=f.checked,p=f.checkedIcon,m=void 0===p?j:p,b=f.color,v=void 0===b?"primary":b,g=f.icon,y=void 0===g?A:g,_=f.name,S=f.onChange,E=f.size,T=void 0===E?"medium":E,P=Object(i.a)(f,M),D=Object(o.a)({},f,{color:v,size:T}),R=function(t){var e=t.classes,r=t.color,n={root:["root","color".concat(Object(w.a)(r))]};return Object(o.a)({},e,Object(s.a)(n,k,e))}(D),L=a.useContext(O),I=d,N=Object(x.a)(S,L&&L.onChange),F=_;return L&&("undefined"===typeof I&&(c=L.value,I="object"===typeof(u=f.value)&&null!==u?c===u:String(c)===String(u)),"undefined"===typeof F&&(F=L.name)),Object(h.jsx)(C,Object(o.a)({type:"radio",icon:a.cloneElement(y,{fontSize:null!=(r=A.props.fontSize)?r:T}),checkedIcon:a.cloneElement(m,{fontSize:null!=(n=j.props.fontSize)?n:T}),ownerState:D,classes:R,name:F,checked:I,onChange:N,ref:e},P))}));e.a=T},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(13),f=r(22),h=r(24),d=r(894),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiAlert",t)}var v,g=Object(m.a)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),y=r(305),w=r(49),x=r(6),O=Object(w.a)(Object(x.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),_=Object(w.a)(Object(x.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),S=Object(w.a)(Object(x.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),k=Object(w.a)(Object(x.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),E=Object(w.a)(Object(x.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),M=["action","children","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"],C=Object(l.a)(d.a,{name:"MuiAlert",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["".concat(r.variant).concat(Object(h.a)(r.color||r.severity))]]}})((function(t){var e=t.theme,r=t.ownerState,i="light"===e.palette.mode?u.b:u.e,a="light"===e.palette.mode?u.e:u.b,s=r.color||r.severity;return Object(o.a)({},e.typography.body2,{borderRadius:e.shape.borderRadius,backgroundColor:"transparent",display:"flex",padding:"6px 16px"},s&&"standard"===r.variant&&Object(n.a)({color:i(e.palette[s].light,.6),backgroundColor:a(e.palette[s].light,.9)},"& .".concat(g.icon),{color:"dark"===e.palette.mode?e.palette[s].main:e.palette[s].light}),s&&"outlined"===r.variant&&Object(n.a)({color:i(e.palette[s].light,.6),border:"1px solid ".concat(e.palette[s].light)},"& .".concat(g.icon),{color:"dark"===e.palette.mode?e.palette[s].main:e.palette[s].light}),s&&"filled"===r.variant&&{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:"dark"===e.palette.mode?e.palette[s].dark:e.palette[s].main})})),j=Object(l.a)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(t,e){return e.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),A=Object(l.a)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(t,e){return e.message}})({padding:"8px 0"}),T=Object(l.a)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(t,e){return e.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),P={success:Object(x.jsx)(O,{fontSize:"inherit"}),warning:Object(x.jsx)(_,{fontSize:"inherit"}),error:Object(x.jsx)(S,{fontSize:"inherit"}),info:Object(x.jsx)(k,{fontSize:"inherit"})},D=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiAlert"}),n=r.action,a=r.children,u=r.className,l=r.closeText,d=void 0===l?"Close":l,p=r.color,m=r.icon,g=r.iconMapping,w=void 0===g?P:g,O=r.onClose,_=r.role,S=void 0===_?"alert":_,k=r.severity,D=void 0===k?"success":k,R=r.variant,L=void 0===R?"standard":R,I=Object(i.a)(r,M),N=Object(o.a)({},r,{color:p,severity:D,variant:L}),F=function(t){var e=t.variant,r=t.color,n=t.severity,i=t.classes,o={root:["root","".concat(e).concat(Object(h.a)(r||n)),"".concat(e)],icon:["icon"],message:["message"],action:["action"]};return Object(c.a)(o,b,i)}(N);return Object(x.jsxs)(C,Object(o.a)({role:S,square:!0,elevation:0,ownerState:N,className:Object(s.a)(F.root,u),ref:e},I,{children:[!1!==m?Object(x.jsx)(j,{ownerState:N,className:F.icon,children:m||w[D]||P[D]}):null,Object(x.jsx)(A,{ownerState:N,className:F.message,children:a}),null!=n?Object(x.jsx)(T,{className:F.action,children:n}):null,null==n&&O?Object(x.jsx)(T,{ownerState:N,className:F.action,children:Object(x.jsx)(y.a,{size:"small","aria-label":d,title:d,color:"inherit",onClick:O,children:v||(v=Object(x.jsx)(E,{fontSize:"small"}))})}):null]}))}));e.a=D},function(t,e,r){"use strict";var n,i=r(3),o=r(1),a=r(14),s=r(2),c=r(0),u=(r(399),r(10),r(8)),l=r(78),f=r(13),h=r(22),d=r(122),p=r(195);function m(){if(n)return n;var t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),n="reverse",t.scrollLeft>0?n="default":(t.scrollLeft=1,0===t.scrollLeft&&(n="negative")),document.body.removeChild(t),n}function b(t,e){var r=t.scrollLeft;if("rtl"!==e)return r;switch(m()){case"negative":return t.scrollWidth-t.clientWidth+r;case"reverse":return t.scrollWidth-t.clientWidth-r;default:return r}}function v(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function g(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},o=n.ease,a=void 0===o?v:o,s=n.duration,c=void 0===s?300:s,u=null,l=e[t],f=!1,h=function(){f=!0},d=function n(o){if(f)i(new Error("Animation cancelled"));else{null===u&&(u=o);var s=Math.min(1,(o-u)/c);e[t]=a(s)*(r-l)+l,s>=1?requestAnimationFrame((function(){i(null)})):requestAnimationFrame(n)}};return l===r?(i(new Error("Element already at target position")),h):(requestAnimationFrame(d),h)}var y=r(210),w=r(6),x=["onChange"],O={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var _=r(429),S=r(430),k=r(1446),E=r(339),M=r(340);function C(t){return Object(E.a)("MuiTabScrollButton",t)}var j,A,T=Object(M.a)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),P=["className","direction","orientation","disabled"],D=Object(f.a)(k.a,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.orientation&&e[r.orientation]]}})((function(t){var e=t.ownerState;return Object(s.a)(Object(o.a)({width:40,flexShrink:0,opacity:.8},"&.".concat(T.disabled),{opacity:0}),"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(e.isRtl?-90:90,"deg)")}})})),R=c.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiTabScrollButton"}),n=r.className,i=r.direction,o=Object(a.a)(r,P),c="rtl"===Object(d.a)().direction,f=Object(s.a)({isRtl:c},r),p=function(t){var e=t.classes,r={root:["root",t.orientation,t.disabled&&"disabled"]};return Object(l.a)(r,C,e)}(f);return Object(w.jsx)(D,Object(s.a)({component:"div",className:Object(u.a)(p.root,n),ref:e,role:null,ownerState:f,tabIndex:null},o,{children:"left"===i?j||(j=Object(w.jsx)(_.a,{fontSize:"small"})):A||(A=Object(w.jsx)(S.a,{fontSize:"small"}))}))})),L=r(141);function I(t){return Object(E.a)("MuiTabs",t)}var N=Object(M.a)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),F=r(155),B=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],z=function(t,e){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild},H=function(t,e){return t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild},U=function(t,e,r){for(var n=!1,i=r(t,e);i;){if(i===t.firstChild){if(n)return;n=!0}var o=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!o)return void i.focus();i=r(t,i)}},W=Object(f.a)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(o.a)({},"& .".concat(N.scrollButtons),e.scrollButtons),Object(o.a)({},"& .".concat(N.scrollButtons),r.scrollButtonsHideMobile&&e.scrollButtonsHideMobile),e.root,r.vertical&&e.vertical]}})((function(t){var e=t.ownerState,r=t.theme;return Object(s.a)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&Object(o.a)({},"& .".concat(N.scrollButtons),Object(o.a)({},r.breakpoints.down("sm"),{display:"none"})))})),q=Object(f.a)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(t,e){var r=t.ownerState;return[e.scroller,r.fixed&&e.fixed,r.hideScrollbar&&e.hideScrollbar,r.scrollableX&&e.scrollableX,r.scrollableY&&e.scrollableY]}})((function(t){var e=t.ownerState;return Object(s.a)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),V=Object(f.a)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(t,e){var r=t.ownerState;return[e.flexContainer,r.vertical&&e.flexContainerVertical,r.centered&&e.centered]}})((function(t){var e=t.ownerState;return Object(s.a)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})})),G=Object(f.a)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(t,e){return e.indicator}})((function(t){var e=t.ownerState,r=t.theme;return Object(s.a)({position:"absolute",height:2,bottom:0,width:"100%",transition:r.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:r.palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:r.palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})})),Y=Object(f.a)((function(t){var e=t.onChange,r=Object(a.a)(t,x),n=c.useRef(),i=c.useRef(null),o=function(){n.current=i.current.offsetHeight-i.current.clientHeight};return c.useEffect((function(){var t=Object(p.a)((function(){var t=n.current;o(),t!==n.current&&e(n.current)})),r=Object(y.a)(i.current);return r.addEventListener("resize",t),function(){t.clear(),r.removeEventListener("resize",t)}}),[e]),c.useEffect((function(){o(),e(n.current)}),[e]),Object(w.jsx)("div",Object(s.a)({style:O,ref:i},r))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),X={},$=c.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiTabs"}),n=Object(d.a)(),f="rtl"===n.direction,v=r["aria-label"],x=r["aria-labelledby"],O=r.action,_=r.centered,S=void 0!==_&&_,k=r.children,E=r.className,M=r.component,C=void 0===M?"div":M,j=r.allowScrollButtonsMobile,A=void 0!==j&&j,T=r.indicatorColor,P=void 0===T?"primary":T,D=r.onChange,N=r.orientation,$=void 0===N?"horizontal":N,K=r.ScrollButtonComponent,Z=void 0===K?R:K,J=r.scrollButtons,Q=void 0===J?"auto":J,tt=r.selectionFollowsFocus,et=r.TabIndicatorProps,rt=void 0===et?{}:et,nt=r.TabScrollButtonProps,it=void 0===nt?{}:nt,ot=r.textColor,at=void 0===ot?"primary":ot,st=r.value,ct=r.variant,ut=void 0===ct?"standard":ct,lt=r.visibleScrollbar,ft=void 0!==lt&&lt,ht=Object(a.a)(r,B),dt="scrollable"===ut,pt="vertical"===$,mt=pt?"scrollTop":"scrollLeft",bt=pt?"top":"left",vt=pt?"bottom":"right",gt=pt?"clientHeight":"clientWidth",yt=pt?"height":"width",wt=Object(s.a)({},r,{component:C,allowScrollButtonsMobile:A,indicatorColor:P,orientation:$,vertical:pt,scrollButtons:Q,textColor:at,variant:ut,visibleScrollbar:ft,fixed:!dt,hideScrollbar:dt&&!ft,scrollableX:dt&&!pt,scrollableY:dt&&pt,centered:S&&!dt,scrollButtonsHideMobile:!A}),xt=function(t){var e=t.vertical,r=t.fixed,n=t.hideScrollbar,i=t.scrollableX,o=t.scrollableY,a=t.centered,s=t.scrollButtonsHideMobile,c=t.classes,u={root:["root",e&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]};return Object(l.a)(u,I,c)}(wt);var Ot=c.useState(!1),_t=Object(i.a)(Ot,2),St=_t[0],kt=_t[1],Et=c.useState(X),Mt=Object(i.a)(Et,2),Ct=Mt[0],jt=Mt[1],At=c.useState({start:!1,end:!1}),Tt=Object(i.a)(At,2),Pt=Tt[0],Dt=Tt[1],Rt=c.useState({overflow:"hidden",scrollbarWidth:0}),Lt=Object(i.a)(Rt,2),It=Lt[0],Nt=Lt[1],Ft=new Map,Bt=c.useRef(null),zt=c.useRef(null),Ht=function(){var t,e,r=Bt.current;if(r){var i=r.getBoundingClientRect();t={clientWidth:r.clientWidth,scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollLeftNormalized:b(r,n.direction),scrollWidth:r.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}if(r&&!1!==st){var o=zt.current.children;if(o.length>0){var a=o[Ft.get(st)];0,e=a?a.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:e}},Ut=Object(L.a)((function(){var t,e,r=Ht(),n=r.tabsMeta,i=r.tabMeta,a=0;if(pt)e="top",i&&n&&(a=i.top-n.top+n.scrollTop);else if(e=f?"right":"left",i&&n){var s=f?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;a=(f?-1:1)*(i[e]-n[e]+s)}var c=(t={},Object(o.a)(t,e,a),Object(o.a)(t,yt,i?i[yt]:0),t);if(isNaN(Ct[e])||isNaN(Ct[yt]))jt(c);else{var u=Math.abs(Ct[e]-c[e]),l=Math.abs(Ct[yt]-c[yt]);(u>=1||l>=1)&&jt(c)}})),Wt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.animation,i=void 0===r||r;i?g(mt,Bt.current,t,{duration:n.transitions.duration.standard}):Bt.current[mt]=t},qt=function(t){var e=Bt.current[mt];pt?e+=t:(e+=t*(f?-1:1),e*=f&&"reverse"===m()?-1:1),Wt(e)},Vt=function(){for(var t=Bt.current[gt],e=0,r=Array.from(zt.current.children),n=0;n<r.length;n+=1){var i=r[n];if(e+i[gt]>t)break;e+=i[gt]}return e},Gt=function(){qt(-1*Vt())},Yt=function(){qt(Vt())},Xt=c.useCallback((function(t){Nt({overflow:null,scrollbarWidth:t})}),[]),$t=Object(L.a)((function(t){var e=Ht(),r=e.tabsMeta,n=e.tabMeta;if(n&&r)if(n[bt]<r[bt]){var i=r[mt]+(n[bt]-r[bt]);Wt(i,{animation:t})}else if(n[vt]>r[vt]){var o=r[mt]+(n[vt]-r[vt]);Wt(o,{animation:t})}})),Kt=Object(L.a)((function(){if(dt&&!1!==Q){var t,e,r=Bt.current,i=r.scrollTop,o=r.scrollHeight,a=r.clientHeight,s=r.scrollWidth,c=r.clientWidth;if(pt)t=i>1,e=i<o-a-1;else{var u=b(Bt.current,n.direction);t=f?u<s-c-1:u>1,e=f?u>1:u<s-c-1}t===Pt.start&&e===Pt.end||Dt({start:t,end:e})}}));c.useEffect((function(){var t,e=Object(p.a)((function(){Ut(),Kt()})),r=Object(y.a)(Bt.current);return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(zt.current.children).forEach((function(e){t.observe(e)}))),function(){e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}}),[Ut,Kt]);var Zt=c.useMemo((function(){return Object(p.a)((function(){Kt()}))}),[Kt]);c.useEffect((function(){return function(){Zt.clear()}}),[Zt]),c.useEffect((function(){kt(!0)}),[]),c.useEffect((function(){Ut(),Kt()})),c.useEffect((function(){$t(X!==Ct)}),[$t,Ct]),c.useImperativeHandle(O,(function(){return{updateIndicator:Ut,updateScrollButtons:Kt}}),[Ut,Kt]);var Jt=Object(w.jsx)(G,Object(s.a)({},rt,{className:Object(u.a)(xt.indicator,rt.className),ownerState:wt,style:Object(s.a)({},Ct,rt.style)})),Qt=0,te=c.Children.map(k,(function(t){if(!c.isValidElement(t))return null;var e=void 0===t.props.value?Qt:t.props.value;Ft.set(e,Qt);var r=e===st;return Qt+=1,c.cloneElement(t,Object(s.a)({fullWidth:"fullWidth"===ut,indicator:r&&!St&&Jt,selected:r,selectionFollowsFocus:tt,onChange:D,textColor:at,value:e},1!==Qt||!1!==st||t.props.tabIndex?{}:{tabIndex:0}))})),ee=function(){var t={};t.scrollbarSizeListener=dt?Object(w.jsx)(Y,{onChange:Xt,className:Object(u.a)(xt.scrollableX,xt.hideScrollbar)}):null;var e=Pt.start||Pt.end,r=dt&&("auto"===Q&&e||!0===Q);return t.scrollButtonStart=r?Object(w.jsx)(Z,Object(s.a)({orientation:$,direction:f?"right":"left",onClick:Gt,disabled:!Pt.start},it,{className:Object(u.a)(xt.scrollButtons,it.className)})):null,t.scrollButtonEnd=r?Object(w.jsx)(Z,Object(s.a)({orientation:$,direction:f?"left":"right",onClick:Yt,disabled:!Pt.end},it,{className:Object(u.a)(xt.scrollButtons,it.className)})):null,t}();return Object(w.jsxs)(W,Object(s.a)({className:Object(u.a)(xt.root,E),ownerState:wt,ref:e,as:C},ht,{children:[ee.scrollButtonStart,ee.scrollbarSizeListener,Object(w.jsxs)(q,{className:xt.scroller,ownerState:wt,style:Object(o.a)({overflow:It.overflow},pt?"margin".concat(f?"Left":"Right"):"marginBottom",ft?void 0:-It.scrollbarWidth),ref:Bt,onScroll:Zt,children:[Object(w.jsx)(V,{"aria-label":v,"aria-labelledby":x,"aria-orientation":"vertical"===$?"vertical":null,className:xt.flexContainer,ownerState:wt,onKeyDown:function(t){var e=zt.current,r=Object(F.a)(e).activeElement;if("tab"===r.getAttribute("role")){var n="horizontal"===$?"ArrowLeft":"ArrowUp",i="horizontal"===$?"ArrowRight":"ArrowDown";switch("horizontal"===$&&f&&(n="ArrowRight",i="ArrowLeft"),t.key){case n:t.preventDefault(),U(e,r,H);break;case i:t.preventDefault(),U(e,r,z);break;case"Home":t.preventDefault(),U(e,null,z);break;case"End":t.preventDefault(),U(e,null,H)}}},ref:zt,role:"tablist",children:te}),St&&Jt]}),ee.scrollButtonEnd]}))}));e.a=$},function(t,e,r){"use strict";var n=r(20),i=r(2),o=r(0),a=(r(10),r(8)),s=r(62),c=r(26),u=r(658),l=r(159),f=Object(l.a)(o.createElement("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),h=Object(l.a)(o.createElement("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),d=Object(l.a)(o.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),p=Object(l.a)(o.createElement("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),m=r(524),b=r(659),v=r(38),g={success:o.createElement(f,{fontSize:"inherit"}),warning:o.createElement(h,{fontSize:"inherit"}),error:o.createElement(d,{fontSize:"inherit"}),info:o.createElement(p,{fontSize:"inherit"})},y=o.createElement(m.a,{fontSize:"small"}),w=o.forwardRef((function(t,e){var r=t.action,s=t.children,c=t.classes,l=t.className,f=t.closeText,h=void 0===f?"Close":f,d=t.color,p=t.icon,m=t.iconMapping,w=void 0===m?g:m,x=t.onClose,O=t.role,_=void 0===O?"alert":O,S=t.severity,k=void 0===S?"success":S,E=t.variant,M=void 0===E?"standard":E,C=Object(n.a)(t,["action","children","classes","className","closeText","color","icon","iconMapping","onClose","role","severity","variant"]);return o.createElement(u.a,Object(i.a)({role:_,square:!0,elevation:0,className:Object(a.a)(c.root,c["".concat(M).concat(Object(v.a)(d||k))],l),ref:e},C),!1!==p?o.createElement("div",{className:c.icon},p||w[k]||g[k]):null,o.createElement("div",{className:c.message},s),null!=r?o.createElement("div",{className:c.action},r):null,null==r&&x?o.createElement("div",{className:c.action},o.createElement(b.a,{size:"small","aria-label":h,title:h,color:"inherit",onClick:x},y)):null)}));e.a=Object(c.a)((function(t){var e="light"===t.palette.type?s.b:s.e,r="light"===t.palette.type?s.e:s.b;return{root:Object(i.a)({},t.typography.body2,{borderRadius:t.shape.borderRadius,backgroundColor:"transparent",display:"flex",padding:"6px 16px"}),standardSuccess:{color:e(t.palette.success.main,.6),backgroundColor:r(t.palette.success.main,.9),"& $icon":{color:t.palette.success.main}},standardInfo:{color:e(t.palette.info.main,.6),backgroundColor:r(t.palette.info.main,.9),"& $icon":{color:t.palette.info.main}},standardWarning:{color:e(t.palette.warning.main,.6),backgroundColor:r(t.palette.warning.main,.9),"& $icon":{color:t.palette.warning.main}},standardError:{color:e(t.palette.error.main,.6),backgroundColor:r(t.palette.error.main,.9),"& $icon":{color:t.palette.error.main}},outlinedSuccess:{color:e(t.palette.success.main,.6),border:"1px solid ".concat(t.palette.success.main),"& $icon":{color:t.palette.success.main}},outlinedInfo:{color:e(t.palette.info.main,.6),border:"1px solid ".concat(t.palette.info.main),"& $icon":{color:t.palette.info.main}},outlinedWarning:{color:e(t.palette.warning.main,.6),border:"1px solid ".concat(t.palette.warning.main),"& $icon":{color:t.palette.warning.main}},outlinedError:{color:e(t.palette.error.main,.6),border:"1px solid ".concat(t.palette.error.main),"& $icon":{color:t.palette.error.main}},filledSuccess:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.success.main},filledInfo:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.info.main},filledWarning:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.warning.main},filledError:{color:"#fff",fontWeight:t.typography.fontWeightMedium,backgroundColor:t.palette.error.main},icon:{marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9},message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiAlert"})(w)},function(t,e,r){"use strict";var n=r(20),i=r(73),o=r(2),a=r(0),s=(r(10),r(8)),c=r(26),u=r(1316),l=r(1421),f=r(658),h=r(659),d=r(159),p=Object(d.a)(a.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),m=r(62),b=r(64),v=r(38),g=r(663);function y(t){return"Backspace"===t.key||"Delete"===t.key}var w=a.forwardRef((function(t,e){var r=t.avatar,i=t.classes,c=t.className,u=t.clickable,l=t.color,f=void 0===l?"default":l,h=t.component,d=t.deleteIcon,m=t.disabled,w=void 0!==m&&m,x=t.icon,O=t.label,_=t.onClick,S=t.onDelete,k=t.onKeyDown,E=t.onKeyUp,M=t.size,C=void 0===M?"medium":M,j=t.variant,A=void 0===j?"default":j,T=Object(n.a)(t,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),P=a.useRef(null),D=Object(b.a)(P,e),R=function(t){t.stopPropagation(),S&&S(t)},L=!(!1===u||!_)||u,I="small"===C,N=h||(L?g.a:"div"),F=N===g.a?{component:"div"}:{},B=null;if(S){var z=Object(s.a)("default"!==f&&("default"===A?i["deleteIconColor".concat(Object(v.a)(f))]:i["deleteIconOutlinedColor".concat(Object(v.a)(f))]),I&&i.deleteIconSmall);B=d&&a.isValidElement(d)?a.cloneElement(d,{className:Object(s.a)(d.props.className,i.deleteIcon,z),onClick:R}):a.createElement(p,{className:Object(s.a)(i.deleteIcon,z),onClick:R})}var H=null;r&&a.isValidElement(r)&&(H=a.cloneElement(r,{className:Object(s.a)(i.avatar,r.props.className,I&&i.avatarSmall,"default"!==f&&i["avatarColor".concat(Object(v.a)(f))])}));var U=null;return x&&a.isValidElement(x)&&(U=a.cloneElement(x,{className:Object(s.a)(i.icon,x.props.className,I&&i.iconSmall,"default"!==f&&i["iconColor".concat(Object(v.a)(f))])})),a.createElement(N,Object(o.a)({role:L||S?"button":void 0,className:Object(s.a)(i.root,c,"default"!==f&&[i["color".concat(Object(v.a)(f))],L&&i["clickableColor".concat(Object(v.a)(f))],S&&i["deletableColor".concat(Object(v.a)(f))]],"default"!==A&&[i.outlined,{primary:i.outlinedPrimary,secondary:i.outlinedSecondary}[f]],w&&i.disabled,I&&i.sizeSmall,L&&i.clickable,S&&i.deletable),"aria-disabled":!!w||void 0,tabIndex:L||S?0:void 0,onClick:_,onKeyDown:function(t){t.currentTarget===t.target&&y(t)&&t.preventDefault(),k&&k(t)},onKeyUp:function(t){t.currentTarget===t.target&&(S&&y(t)?S(t):"Escape"===t.key&&P.current&&P.current.blur()),E&&E(t)},ref:D},F,T),H||U,a.createElement("span",{className:Object(s.a)(i.label,I&&i.labelSmall)},O),B)})),x=Object(c.a)((function(t){var e="light"===t.palette.type?t.palette.grey[300]:t.palette.grey[700],r=Object(m.a)(t.palette.text.primary,.26);return{root:{fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:t.palette.getContrastText(e),backgroundColor:e,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],fontSize:t.typography.pxToRem(12)},"& $avatarColorPrimary":{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.dark},"& $avatarColorSecondary":{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:Object(m.c)(e,.08)},"&:active":{boxShadow:t.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:Object(m.c)(t.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:Object(m.c)(t.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:Object(m.c)(e,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:Object(m.c)(t.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:Object(m.c)(t.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(m.a)(t.palette.text.primary,t.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(t.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(m.a)(t.palette.primary.main,t.palette.action.hoverOpacity)}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(t.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:Object(m.a)(t.palette.secondary.main,t.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:r,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Object(m.a)(r,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:Object(m.a)(t.palette.primary.contrastText,.7),"&:hover, &:active":{color:t.palette.primary.contrastText}},deleteIconColorSecondary:{color:Object(m.a)(t.palette.secondary.contrastText,.7),"&:hover, &:active":{color:t.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:Object(m.a)(t.palette.primary.main,.7),"&:hover, &:active":{color:t.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:Object(m.a)(t.palette.secondary.main,.7),"&:hover, &:active":{color:t.palette.secondary.main}}}}),{name:"MuiChip"})(w),O=r(524),_=Object(d.a)(a.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),S=r(125),k=(r(217),r(488)),E=r(221),M=r(148),C=r(169);function j(t){return"undefined"!==typeof t.normalize?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function A(t,e){for(var r=0;r<t.length;r+=1)if(e(t[r]))return r;return-1}var T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.ignoreAccents,r=void 0===e||e,n=t.ignoreCase,i=void 0===n||n,o=t.limit,a=t.matchFrom,s=void 0===a?"any":a,c=t.stringify,u=t.trim,l=void 0!==u&&u;return function(t,e){var n=e.inputValue,a=e.getOptionLabel,u=l?n.trim():n;i&&(u=u.toLowerCase()),r&&(u=j(u));var f=t.filter((function(t){var e=(c||a)(t);return i&&(e=e.toLowerCase()),r&&(e=j(e)),"start"===s?0===e.indexOf(u):e.indexOf(u)>-1}));return"number"===typeof o?f.slice(0,o):f}}();function P(t){var e=t.autoComplete,r=void 0!==e&&e,n=t.autoHighlight,i=void 0!==n&&n,s=t.autoSelect,c=void 0!==s&&s,u=t.blurOnSelect,l=void 0!==u&&u,f=t.clearOnBlur,h=void 0===f?!t.freeSolo:f,d=t.clearOnEscape,p=void 0!==d&&d,m=t.componentName,b=void 0===m?"useAutocomplete":m,v=t.debug,g=void 0!==v&&v,y=t.defaultValue,w=void 0===y?t.multiple?[]:null:y,x=t.disableClearable,O=void 0!==x&&x,_=t.disableCloseOnSelect,j=void 0!==_&&_,P=t.disabledItemsFocusable,D=void 0!==P&&P,R=t.disableListWrap,L=void 0!==R&&R,I=t.filterOptions,N=void 0===I?T:I,F=t.filterSelectedOptions,B=void 0!==F&&F,z=t.freeSolo,H=void 0!==z&&z,U=t.getOptionDisabled,W=t.getOptionLabel,q=void 0===W?function(t){return t}:W,V=t.getOptionSelected,G=void 0===V?function(t,e){return t===e}:V,Y=t.groupBy,X=t.handleHomeEndKeys,$=void 0===X?!t.freeSolo:X,K=t.id,Z=t.includeInputInList,J=void 0!==Z&&Z,Q=t.inputValue,tt=t.multiple,et=void 0!==tt&&tt,rt=t.onChange,nt=t.onClose,it=t.onHighlightChange,ot=t.onInputChange,at=t.onOpen,st=t.open,ct=t.openOnFocus,ut=void 0!==ct&&ct,lt=t.options,ft=t.selectOnFocus,ht=void 0===ft?!t.freeSolo:ft,dt=t.value,pt=Object(k.a)(K),mt=q;var bt=a.useRef(!1),vt=a.useRef(!0),gt=a.useRef(null),yt=a.useRef(null),wt=a.useState(null),xt=wt[0],Ot=wt[1],_t=a.useState(-1),St=_t[0],kt=_t[1],Et=i?0:-1,Mt=a.useRef(Et),Ct=Object(E.a)({controlled:dt,default:w,name:b}),jt=Object(S.a)(Ct,2),At=jt[0],Tt=jt[1],Pt=Object(E.a)({controlled:Q,default:"",name:b,state:"inputValue"}),Dt=Object(S.a)(Pt,2),Rt=Dt[0],Lt=Dt[1],It=a.useState(!1),Nt=It[0],Ft=It[1],Bt=Object(M.a)((function(t,e){var r;if(et)r="";else if(null==e)r="";else{var n=mt(e);r="string"===typeof n?n:""}Rt!==r&&(Lt(r),ot&&ot(t,r,"reset"))}));a.useEffect((function(){Bt(null,At)}),[At,Bt]);var zt=Object(E.a)({controlled:st,default:!1,name:b,state:"open"}),Ht=Object(S.a)(zt,2),Ut=Ht[0],Wt=Ht[1],qt=!et&&null!=At&&Rt===mt(At),Vt=Ut,Gt=Vt?N(lt.filter((function(t){return!B||!(et?At:[At]).some((function(e){return null!==e&&G(t,e)}))})),{inputValue:qt?"":Rt,getOptionLabel:mt}):[],Yt=Object(M.a)((function(t){-1===t?gt.current.focus():xt.querySelector('[data-tag-index="'.concat(t,'"]')).focus()}));a.useEffect((function(){et&&St>At.length-1&&(kt(-1),Yt(-1))}),[At,et,St,Yt]);var Xt=Object(M.a)((function(t){var e=t.event,r=t.index,n=t.reason,i=void 0===n?"auto":n;if(Mt.current=r,-1===r?gt.current.removeAttribute("aria-activedescendant"):gt.current.setAttribute("aria-activedescendant","".concat(pt,"-option-").concat(r)),it&&it(e,-1===r?null:Gt[r],i),yt.current){var o=yt.current.querySelector("[data-focus]");o&&o.removeAttribute("data-focus");var a=yt.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==r){var s=yt.current.querySelector('[data-option-index="'.concat(r,'"]'));if(s&&(s.setAttribute("data-focus","true"),a.scrollHeight>a.clientHeight&&"mouse"!==i)){var c=s,u=a.clientHeight+a.scrollTop,l=c.offsetTop+c.offsetHeight;l>u?a.scrollTop=l-a.clientHeight:c.offsetTop-c.offsetHeight*(Y?1.3:0)<a.scrollTop&&(a.scrollTop=c.offsetTop-c.offsetHeight*(Y?1.3:0))}}else a.scrollTop=0}})),$t=Object(M.a)((function(t){var e=t.event,n=t.diff,i=t.direction,o=void 0===i?"next":i,a=t.reason,s=void 0===a?"auto":a;if(Vt){var c=function(t,e){if(!yt.current||-1===t)return-1;for(var r=t;;){if("next"===e&&r===Gt.length||"previous"===e&&-1===r)return-1;var n=yt.current.querySelector('[data-option-index="'.concat(r,'"]')),i=!D&&(n&&(n.disabled||"true"===n.getAttribute("aria-disabled")));if(!(n&&!n.hasAttribute("tabindex")||i))return r;r+="next"===e?1:-1}}(function(){var t=Gt.length-1;if("reset"===n)return Et;if("start"===n)return 0;if("end"===n)return t;var e=Mt.current+n;return e<0?-1===e&&J?-1:L&&-1!==Mt.current||Math.abs(n)>1?0:t:e>t?e===t+1&&J?-1:L||Math.abs(n)>1?t:0:e}(),o);if(Xt({index:c,reason:s,event:e}),r&&"reset"!==n)if(-1===c)gt.current.value=Rt;else{var u=mt(Gt[c]);gt.current.value=u,0===u.toLowerCase().indexOf(Rt.toLowerCase())&&Rt.length>0&&gt.current.setSelectionRange(Rt.length,u.length)}}})),Kt=a.useCallback((function(){if(Vt){var t=et?At[0]:At;if(0!==Gt.length&&null!=t){if(yt.current)if(B||null==t)Mt.current>=Gt.length-1?Xt({index:Gt.length-1}):Xt({index:Mt.current});else{var e=Gt[Mt.current];if(et&&e&&-1!==A(At,(function(t){return G(e,t)})))return;var r=A(Gt,(function(e){return G(e,t)}));-1===r?$t({diff:"reset"}):Xt({index:r})}}else $t({diff:"reset"})}}),[0===Gt.length,!et&&At,B,$t,Xt,Vt,Rt,et]),Zt=Object(M.a)((function(t){Object(C.a)(yt,t),t&&Kt()}));a.useEffect((function(){Kt()}),[Kt]);var Jt=function(t){Ut||(Wt(!0),at&&at(t))},Qt=function(t,e){Ut&&(Wt(!1),nt&&nt(t,e))},te=function(t,e,r,n){At!==e&&(rt&&rt(t,e,r,n),Tt(e))},ee=a.useRef(!1),re=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select-option",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",i=r,o=e;if(et){var a=A(o=Array.isArray(At)?At.slice():[],(function(t){return G(e,t)}));-1===a?o.push(e):"freeSolo"!==n&&(o.splice(a,1),i="remove-option")}Bt(t,o),te(t,o,i,{option:e}),j||Qt(t,i),(!0===l||"touch"===l&&ee.current||"mouse"===l&&!ee.current)&&gt.current.blur()};var ne=function(t,e){if(et){Qt(t,"toggleInput");var r=St;-1===St?""===Rt&&"previous"===e&&(r=At.length-1):((r+="next"===e?1:-1)<0&&(r=0),r===At.length&&(r=-1)),r=function(t,e){if(-1===t)return-1;for(var r=t;;){if("next"===e&&r===At.length||"previous"===e&&-1===r)return-1;var n=xt.querySelector('[data-tag-index="'.concat(r,'"]'));if(!n||n.hasAttribute("tabindex")&&!n.disabled&&"true"!==n.getAttribute("aria-disabled"))return r;r+="next"===e?1:-1}}(r,e),kt(r),Yt(r)}},ie=function(t){bt.current=!0,Lt(""),ot&&ot(t,"","clear"),te(t,et?[]:null,"clear")},oe=function(t){return function(e){switch(-1!==St&&-1===["ArrowLeft","ArrowRight"].indexOf(e.key)&&(kt(-1),Yt(-1)),e.key){case"Home":Vt&&$&&(e.preventDefault(),$t({diff:"start",direction:"next",reason:"keyboard",event:e}));break;case"End":Vt&&$&&(e.preventDefault(),$t({diff:"end",direction:"previous",reason:"keyboard",event:e}));break;case"PageUp":e.preventDefault(),$t({diff:-5,direction:"previous",reason:"keyboard",event:e}),Jt(e);break;case"PageDown":e.preventDefault(),$t({diff:5,direction:"next",reason:"keyboard",event:e}),Jt(e);break;case"ArrowDown":e.preventDefault(),$t({diff:1,direction:"next",reason:"keyboard",event:e}),Jt(e);break;case"ArrowUp":e.preventDefault(),$t({diff:-1,direction:"previous",reason:"keyboard",event:e}),Jt(e);break;case"ArrowLeft":ne(e,"previous");break;case"ArrowRight":ne(e,"next");break;case"Enter":if(229===e.which)break;if(-1!==Mt.current&&Vt){var n=Gt[Mt.current],i=!!U&&U(n);if(e.preventDefault(),i)return;re(e,n,"select-option"),r&&gt.current.setSelectionRange(gt.current.value.length,gt.current.value.length)}else H&&""!==Rt&&!1===qt&&(et&&e.preventDefault(),re(e,Rt,"create-option","freeSolo"));break;case"Escape":Vt?(e.preventDefault(),e.stopPropagation(),Qt(e,"escape")):p&&(""!==Rt||et&&At.length>0)&&(e.preventDefault(),e.stopPropagation(),ie(e));break;case"Backspace":if(et&&""===Rt&&At.length>0){var o=-1===St?At.length-1:St,a=At.slice();a.splice(o,1),te(e,a,"remove-option",{option:At[o]})}}t.onKeyDown&&t.onKeyDown(e)}},ae=function(t){Ft(!0),ut&&!bt.current&&Jt(t)},se=function(t){null===yt.current||document.activeElement!==yt.current.parentElement?(Ft(!1),vt.current=!0,bt.current=!1,g&&""!==Rt||(c&&-1!==Mt.current&&Vt?re(t,Gt[Mt.current],"blur"):c&&H&&""!==Rt?re(t,Rt,"blur","freeSolo"):h&&Bt(t,At),Qt(t,"blur"))):gt.current.focus()},ce=function(t){var e=t.target.value;Rt!==e&&(Lt(e),ot&&ot(t,e,"input")),""===e?O||et||te(t,null,"clear"):Jt(t)},ue=function(t){Xt({event:t,index:Number(t.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},le=function(){ee.current=!0},fe=function(t){var e=Number(t.currentTarget.getAttribute("data-option-index"));re(t,Gt[e],"select-option"),ee.current=!1},he=function(t){return function(e){var r=At.slice();r.splice(t,1),te(e,r,"remove-option",{option:At[t]})}},de=function(t){Ut?Qt(t,"toggleInput"):Jt(t)},pe=function(t){t.target.getAttribute("id")!==pt&&t.preventDefault()},me=function(){gt.current.focus(),ht&&vt.current&&gt.current.selectionEnd-gt.current.selectionStart===0&&gt.current.select(),vt.current=!1},be=function(t){""!==Rt&&Ut||de(t)},ve=H&&Rt.length>0;ve=ve||(et?At.length>0:null!==At);var ge=Gt;if(Y){new Map;ge=Gt.reduce((function(t,e,r){var n=Y(e);return t.length>0&&t[t.length-1].group===n?t[t.length-1].options.push(e):t.push({key:r,index:r,group:n,options:[e]}),t}),[])}return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(o.a)({"aria-owns":Vt?"".concat(pt,"-popup"):null,role:"combobox","aria-expanded":Vt},t,{onKeyDown:oe(t),onMouseDown:pe,onClick:me})},getInputLabelProps:function(){return{id:"".concat(pt,"-label"),htmlFor:pt}},getInputProps:function(){return{id:pt,value:Rt,onBlur:se,onFocus:ae,onChange:ce,onMouseDown:be,"aria-activedescendant":Vt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Vt?"".concat(pt,"-popup"):null,autoComplete:"off",ref:gt,autoCapitalize:"none",spellCheck:"false"}},getClearProps:function(){return{tabIndex:-1,onClick:ie}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:de}},getTagProps:function(t){var e=t.index;return{key:e,"data-tag-index":e,tabIndex:-1,onDelete:he(e)}},getListboxProps:function(){return{role:"listbox",id:"".concat(pt,"-popup"),"aria-labelledby":"".concat(pt,"-label"),ref:Zt,onMouseDown:function(t){t.preventDefault()}}},getOptionProps:function(t){var e=t.index,r=t.option,n=(et?At:[At]).some((function(t){return null!=t&&G(r,t)})),i=!!U&&U(r);return{key:e,tabIndex:-1,role:"option",id:"".concat(pt,"-option-").concat(e),onMouseOver:ue,onClick:fe,onTouchStart:le,"data-option-index":e,"aria-disabled":i,"aria-selected":n}},id:pt,inputValue:Rt,value:At,dirty:ve,popupOpen:Vt,focused:Nt||-1!==St,anchorEl:xt,setAnchorEl:Ot,focusedTag:St,groupedOptions:ge}}function D(t){t.anchorEl,t.open;var e=Object(n.a)(t,["anchorEl","open"]);return a.createElement("div",e)}var R=a.createElement(O.a,{fontSize:"small"}),L=a.createElement(_,null),I=a.forwardRef((function(t,e){t.autoComplete,t.autoHighlight,t.autoSelect,t.blurOnSelect;var r,i=t.ChipProps,c=t.classes,d=t.className,p=t.clearOnBlur,m=(void 0===p&&t.freeSolo,t.clearOnEscape,t.clearText),b=void 0===m?"Clear":m,v=t.closeIcon,g=void 0===v?R:v,y=t.closeText,w=void 0===y?"Close":y,O=(t.debug,t.defaultValue),_=(void 0===O&&t.multiple,t.disableClearable),S=void 0!==_&&_,k=(t.disableCloseOnSelect,t.disabled),E=void 0!==k&&k,M=(t.disabledItemsFocusable,t.disableListWrap,t.disablePortal),C=void 0!==M&&M,j=(t.filterOptions,t.filterSelectedOptions,t.forcePopupIcon),A=void 0===j?"auto":j,T=t.freeSolo,I=void 0!==T&&T,N=t.fullWidth,F=void 0!==N&&N,B=t.getLimitTagsText,z=void 0===B?function(t){return"+".concat(t)}:B,H=(t.getOptionDisabled,t.getOptionLabel),U=void 0===H?function(t){return t}:H,W=(t.getOptionSelected,t.groupBy),q=t.handleHomeEndKeys,V=(void 0===q&&t.freeSolo,t.id,t.includeInputInList,t.inputValue,t.limitTags),G=void 0===V?-1:V,Y=t.ListboxComponent,X=void 0===Y?"ul":Y,$=t.ListboxProps,K=t.loading,Z=void 0!==K&&K,J=t.loadingText,Q=void 0===J?"Loading\u2026":J,tt=t.multiple,et=void 0!==tt&&tt,rt=t.noOptionsText,nt=void 0===rt?"No options":rt,it=(t.onChange,t.onClose,t.onHighlightChange,t.onInputChange,t.onOpen,t.open,t.openOnFocus,t.openText),ot=void 0===it?"Open":it,at=(t.options,t.PaperComponent),st=void 0===at?f.a:at,ct=t.PopperComponent,ut=void 0===ct?u.a:ct,lt=t.popupIcon,ft=void 0===lt?L:lt,ht=t.renderGroup,dt=t.renderInput,pt=t.renderOption,mt=t.renderTags,bt=t.selectOnFocus,vt=(void 0===bt&&t.freeSolo,t.size),gt=void 0===vt?"medium":vt,yt=(t.value,Object(n.a)(t,["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","classes","className","clearOnBlur","clearOnEscape","clearText","closeIcon","closeText","debug","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","getOptionSelected","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"])),wt=C?D:ut,xt=P(Object(o.a)({},t,{componentName:"Autocomplete"})),Ot=xt.getRootProps,_t=xt.getInputProps,St=xt.getInputLabelProps,kt=xt.getPopupIndicatorProps,Et=xt.getClearProps,Mt=xt.getTagProps,Ct=xt.getListboxProps,jt=xt.getOptionProps,At=xt.value,Tt=xt.dirty,Pt=xt.id,Dt=xt.popupOpen,Rt=xt.focused,Lt=xt.focusedTag,It=xt.anchorEl,Nt=xt.setAnchorEl,Ft=xt.inputValue,Bt=xt.groupedOptions;if(et&&At.length>0){var zt=function(t){return Object(o.a)({className:Object(s.a)(c.tag,"small"===gt&&c.tagSizeSmall),disabled:E},Mt(t))};r=mt?mt(At,zt):At.map((function(t,e){return a.createElement(x,Object(o.a)({label:U(t),size:gt},zt({index:e}),i))}))}if(G>-1&&Array.isArray(r)){var Ht=r.length-G;!Rt&&Ht>0&&(r=r.splice(0,G)).push(a.createElement("span",{className:c.tag,key:r.length},z(Ht)))}var Ut=ht||function(t){return a.createElement("li",{key:t.key},a.createElement(l.a,{className:c.groupLabel,component:"div"},t.group),a.createElement("ul",{className:c.groupUl},t.children))},Wt=pt||U,qt=function(t,e){var r=jt({option:t,index:e});return a.createElement("li",Object(o.a)({},r,{className:c.option}),Wt(t,{selected:r["aria-selected"],inputValue:Ft}))},Vt=!S&&!E,Gt=(!I||!0===A)&&!1!==A;return a.createElement(a.Fragment,null,a.createElement("div",Object(o.a)({ref:e,className:Object(s.a)(c.root,d,Rt&&c.focused,F&&c.fullWidth,Vt&&c.hasClearIcon,Gt&&c.hasPopupIcon)},Ot(yt)),dt({id:Pt,disabled:E,fullWidth:!0,size:"small"===gt?"small":void 0,InputLabelProps:St(),InputProps:{ref:Nt,className:c.inputRoot,startAdornment:r,endAdornment:a.createElement("div",{className:c.endAdornment},Vt?a.createElement(h.a,Object(o.a)({},Et(),{"aria-label":b,title:b,className:Object(s.a)(c.clearIndicator,Tt&&c.clearIndicatorDirty)}),g):null,Gt?a.createElement(h.a,Object(o.a)({},kt(),{disabled:E,"aria-label":Dt?w:ot,title:Dt?w:ot,className:Object(s.a)(c.popupIndicator,Dt&&c.popupIndicatorOpen)}),ft):null)},inputProps:Object(o.a)({className:Object(s.a)(c.input,-1===Lt&&c.inputFocused),disabled:E},_t())})),Dt&&It?a.createElement(wt,{className:Object(s.a)(c.popper,C&&c.popperDisablePortal),style:{width:It?It.clientWidth:null},role:"presentation",anchorEl:It,open:!0},a.createElement(st,{className:c.paper},Z&&0===Bt.length?a.createElement("div",{className:c.loading},Q):null,0!==Bt.length||I||Z?null:a.createElement("div",{className:c.noOptions},nt),Bt.length>0?a.createElement(X,Object(o.a)({className:c.listbox},Ct(),$),Bt.map((function(t,e){return W?Ut({key:t.key,group:t.group,children:t.options.map((function(e,r){return qt(e,t.index+r)}))}):qt(t,e)}))):null)):null)}));e.a=Object(c.a)((function(t){var e;return{root:{"&$focused $clearIndicatorDirty":{visibility:"visible"},"@media (pointer: fine)":{"&:hover $clearIndicatorDirty":{visibility:"visible"}}},fullWidth:{width:"100%"},focused:{},tag:{margin:3,maxWidth:"calc(100% - 6px)"},tagSizeSmall:{margin:2,maxWidth:"calc(100% - 4px)"},hasPopupIcon:{},hasClearIcon:{},inputRoot:{flexWrap:"wrap","$hasPopupIcon &, $hasClearIcon &":{paddingRight:30},"$hasPopupIcon$hasClearIcon &":{paddingRight:56},"& $input":{width:0,minWidth:30},'&[class*="MuiInput-root"]':{paddingBottom:1,"& $input":{padding:4},"& $input:first-child":{padding:"6px 0"}},'&[class*="MuiInput-root"][class*="MuiInput-marginDense"]':{"& $input":{padding:"4px 4px 5px"},"& $input:first-child":{padding:"3px 0 6px"}},'&[class*="MuiOutlinedInput-root"]':{padding:9,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9.5px 4px"},"& $input:first-child":{paddingLeft:6},"& $endAdornment":{right:9}},'&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]':{padding:6,"& $input":{padding:"4.5px 4px"}},'&[class*="MuiFilledInput-root"]':{paddingTop:19,paddingLeft:8,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9px 4px"},"& $endAdornment":{right:9}},'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]':{paddingBottom:1,"& $input":{padding:"4.5px 4px"}}},input:{flexGrow:1,textOverflow:"ellipsis",opacity:0},inputFocused:{opacity:1},endAdornment:{position:"absolute",right:0,top:"calc(50% - 14px)"},clearIndicator:{marginRight:-2,padding:4,visibility:"hidden"},clearIndicatorDirty:{},popupIndicator:{padding:2,marginRight:-2},popupIndicatorOpen:{transform:"rotate(180deg)"},popper:{zIndex:t.zIndex.modal},popperDisablePortal:{position:"absolute"},paper:Object(o.a)({},t.typography.body1,{overflow:"hidden",margin:"4px 0"}),listbox:{listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},loading:{color:t.palette.text.secondary,padding:"14px 16px"},noOptions:{color:t.palette.text.secondary,padding:"14px 16px"},option:(e={minHeight:48,display:"flex",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},Object(i.a)(e,t.breakpoints.up("sm"),{minHeight:"auto"}),Object(i.a)(e,'&[aria-selected="true"]',{backgroundColor:t.palette.action.selected}),Object(i.a)(e,'&[data-focus="true"]',{backgroundColor:t.palette.action.hover}),Object(i.a)(e,"&:active",{backgroundColor:t.palette.action.selected}),Object(i.a)(e,'&[aria-disabled="true"]',{opacity:t.palette.action.disabledOpacity,pointerEvents:"none"}),e),groupLabel:{backgroundColor:t.palette.background.paper,top:-8},groupUl:{padding:0,"& $option":{paddingLeft:24}}}}),{name:"MuiAutocomplete"})(I)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(252),l=r(147),f=r(13),h=r(22),d=r(1446),p=r(233),m=r(156),b=r(72),v=r(187),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiListItem",t)}var x=Object(y.a)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var O=Object(y.a)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function _(t){return Object(g.a)("MuiListItemSecondaryAction",t)}Object(y.a)("MuiListItemSecondaryAction",["root","disableGutters"]);var S=r(6),k=["className"],E=Object(f.a)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.disableGutters&&e.disableGutters]}})((function(t){var e=t.ownerState;return Object(o.a)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})})),M=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiListItemSecondaryAction"}),n=r.className,u=Object(i.a)(r,k),l=a.useContext(v.a),f=Object(o.a)({},r,{disableGutters:l.disableGutters}),d=function(t){var e=t.disableGutters,r=t.classes,n={root:["root",e&&"disableGutters"]};return Object(c.a)(n,_,r)}(f);return Object(S.jsx)(E,Object(o.a)({className:Object(s.a)(d.root,n),ownerState:f,ref:e},u))}));M.muiName="ListItemSecondaryAction";var C=M,j=["className"],A=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],T=Object(f.a)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.dense&&e.dense,"flex-start"===r.alignItems&&e.alignItemsFlexStart,r.divider&&e.divider,!r.disableGutters&&e.gutters,!r.disablePadding&&e.padding,r.button&&e.button,r.hasSecondaryAction&&e.secondaryAction]}})((function(t){var e,r=t.theme,i=t.ownerState;return Object(o.a)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!i.disablePadding&&Object(o.a)({paddingTop:8,paddingBottom:8},i.dense&&{paddingTop:4,paddingBottom:4},!i.disableGutters&&{paddingLeft:16,paddingRight:16},!!i.secondaryAction&&{paddingRight:48}),!!i.secondaryAction&&Object(n.a)({},"& > .".concat(O.root),{paddingRight:48}),(e={},Object(n.a)(e,"&.".concat(x.focusVisible),{backgroundColor:r.palette.action.focus}),Object(n.a)(e,"&.".concat(x.selected),Object(n.a)({backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity)},"&.".concat(x.focusVisible),{backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.focusOpacity)})),Object(n.a)(e,"&.".concat(x.disabled),{opacity:r.palette.action.disabledOpacity}),e),"flex-start"===i.alignItems&&{alignItems:"flex-start"},i.divider&&{borderBottom:"1px solid ".concat(r.palette.divider),backgroundClip:"padding-box"},i.button&&Object(n.a)({transition:r.transitions.create("background-color",{duration:r.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:r.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(x.selected,":hover"),{backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(l.a)(r.palette.primary.main,r.palette.action.selectedOpacity)}}),i.hasSecondaryAction&&{paddingRight:48})})),P=Object(f.a)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(t,e){return e.container}})({position:"relative"}),D=a.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiListItem"}),n=r.alignItems,l=void 0===n?"center":n,f=r.autoFocus,g=void 0!==f&&f,y=r.button,O=void 0!==y&&y,_=r.children,k=r.className,E=r.component,M=r.components,D=void 0===M?{}:M,R=r.componentsProps,L=void 0===R?{}:R,I=r.ContainerComponent,N=void 0===I?"li":I,F=r.ContainerProps,B=(F=void 0===F?{}:F).className,z=r.dense,H=void 0!==z&&z,U=r.disabled,W=void 0!==U&&U,q=r.disableGutters,V=void 0!==q&&q,G=r.disablePadding,Y=void 0!==G&&G,X=r.divider,$=void 0!==X&&X,K=r.focusVisibleClassName,Z=r.secondaryAction,J=r.selected,Q=void 0!==J&&J,tt=Object(i.a)(r.ContainerProps,j),et=Object(i.a)(r,A),rt=a.useContext(v.a),nt={dense:H||rt.dense||!1,alignItems:l,disableGutters:V},it=a.useRef(null);Object(m.a)((function(){g&&it.current&&it.current.focus()}),[g]);var ot=a.Children.toArray(_),at=ot.length&&Object(p.a)(ot[ot.length-1],["ListItemSecondaryAction"]),st=Object(o.a)({},r,{alignItems:l,autoFocus:g,button:O,dense:nt.dense,disabled:W,disableGutters:V,disablePadding:Y,divider:$,hasSecondaryAction:at,selected:Q}),ct=function(t){var e=t.alignItems,r=t.button,n=t.classes,i=t.dense,o=t.disabled,a={root:["root",i&&"dense",!t.disableGutters&&"gutters",!t.disablePadding&&"padding",t.divider&&"divider",o&&"disabled",r&&"button","flex-start"===e&&"alignItemsFlexStart",t.hasSecondaryAction&&"secondaryAction",t.selected&&"selected"],container:["container"]};return Object(c.a)(a,w,n)}(st),ut=Object(b.a)(it,e),lt=D.Root||T,ft=L.root||{},ht=Object(o.a)({className:Object(s.a)(ct.root,ft.className,k),disabled:W},et),dt=E||"li";return O&&(ht.component=E||"div",ht.focusVisibleClassName=Object(s.a)(x.focusVisible,K),dt=d.a),at?(dt=ht.component||E?dt:"div","li"===N&&("li"===dt?dt="div":"li"===ht.component&&(ht.component="div")),Object(S.jsx)(v.a.Provider,{value:nt,children:Object(S.jsxs)(P,Object(o.a)({as:N,className:Object(s.a)(ct.container,B),ref:ut,ownerState:st},tt,{children:[Object(S.jsx)(lt,Object(o.a)({},ft,!Object(u.a)(lt)&&{as:dt,ownerState:Object(o.a)({},st,ft.ownerState)},ht,{children:ot})),ot.pop()]}))})):Object(S.jsx)(v.a.Provider,{value:nt,children:Object(S.jsxs)(lt,Object(o.a)({},ft,{as:dt,ref:ut,ownerState:st},!Object(u.a)(lt)&&{ownerState:Object(o.a)({},st,ft.ownerState)},ht,{children:[ot,Z&&Object(S.jsx)(C,{children:Z})]}))})}));e.a=D},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(2),a=r(14),s=r(0),c=(r(10),r(8)),u=r(78),l=r(13),f=r(22),h=r(72),d=r(141),p=r(275),m=r(19),b=r(242),v=r(1460),g=r(315),y=r(6);var w=function(t){var e=t.className,r=t.classes,i=t.pulsate,o=void 0!==i&&i,a=t.rippleX,u=t.rippleY,l=t.rippleSize,f=t.in,h=t.onExited,d=t.timeout,p=s.useState(!1),m=Object(n.a)(p,2),b=m[0],v=m[1],g=Object(c.a)(e,r.ripple,r.rippleVisible,o&&r.ripplePulsate),w={width:l,height:l,top:-l/2+u,left:-l/2+a},x=Object(c.a)(r.child,b&&r.childLeaving,o&&r.childPulsate);return f||b||v(!0),s.useEffect((function(){if(!f&&null!=h){var t=setTimeout(h,d);return function(){clearTimeout(t)}}}),[h,f,d]),Object(y.jsx)("span",{className:g,style:w,children:Object(y.jsx)("span",{className:x})})},x=r(339),O=r(340);var _,S,k,E,M,C,j,A,T=Object(O.a)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),P=["center","classes","className"],D=Object(g.c)(M||(M=_||(_=Object(b.a)(["\n  0% {\n    transform: scale(0);\n    opacity: 0.1;\n  }\n\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n"])))),R=Object(g.c)(C||(C=S||(S=Object(b.a)(["\n  0% {\n    opacity: 1;\n  }\n\n  100% {\n    opacity: 0;\n  }\n"])))),L=Object(g.c)(j||(j=k||(k=Object(b.a)(["\n  0% {\n    transform: scale(1);\n  }\n\n  50% {\n    transform: scale(0.92);\n  }\n\n  100% {\n    transform: scale(1);\n  }\n"])))),I=Object(l.a)("span",{name:"MuiTouchRipple",slot:"Root",skipSx:!0})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),N=Object(l.a)(w,{name:"MuiTouchRipple",slot:"Ripple"})(A||(A=E||(E=Object(b.a)(["\n  opacity: 0;\n  position: absolute;\n\n  &."," {\n    opacity: 0.3;\n    transform: scale(1);\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  &."," {\n    animation-duration: ","ms;\n  }\n\n  & ."," {\n    opacity: 1;\n    display: block;\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    background-color: currentColor;\n  }\n\n  & ."," {\n    opacity: 0;\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  & ."," {\n    position: absolute;\n    /* @noflip */\n    left: 0px;\n    top: 0;\n    animation-name: ",";\n    animation-duration: 2500ms;\n    animation-timing-function: ",";\n    animation-iteration-count: infinite;\n    animation-delay: 200ms;\n  }\n"]))),T.rippleVisible,D,550,(function(t){return t.theme.transitions.easing.easeInOut}),T.ripplePulsate,(function(t){return t.theme.transitions.duration.shorter}),T.child,T.childLeaving,R,550,(function(t){return t.theme.transitions.easing.easeInOut}),T.childPulsate,L,(function(t){return t.theme.transitions.easing.easeInOut})),F=s.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiTouchRipple"}),i=r.center,u=void 0!==i&&i,l=r.classes,h=void 0===l?{}:l,d=r.className,p=Object(a.a)(r,P),b=s.useState([]),g=Object(n.a)(b,2),w=g[0],x=g[1],O=s.useRef(0),_=s.useRef(null);s.useEffect((function(){_.current&&(_.current(),_.current=null)}),[w]);var S=s.useRef(!1),k=s.useRef(null),E=s.useRef(null),M=s.useRef(null);s.useEffect((function(){return function(){clearTimeout(k.current)}}),[]);var C=s.useCallback((function(t){var e=t.pulsate,r=t.rippleX,n=t.rippleY,i=t.rippleSize,o=t.cb;x((function(t){return[].concat(Object(m.a)(t),[Object(y.jsx)(N,{classes:{ripple:Object(c.a)(h.ripple,T.ripple),rippleVisible:Object(c.a)(h.rippleVisible,T.rippleVisible),ripplePulsate:Object(c.a)(h.ripplePulsate,T.ripplePulsate),child:Object(c.a)(h.child,T.child),childLeaving:Object(c.a)(h.childLeaving,T.childLeaving),childPulsate:Object(c.a)(h.childPulsate,T.childPulsate)},timeout:550,pulsate:e,rippleX:r,rippleY:n,rippleSize:i},O.current)])})),O.current+=1,_.current=o}),[h]),j=s.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.pulsate,i=void 0!==n&&n,o=e.center,a=void 0===o?u||e.pulsate:o,s=e.fakeElement,c=void 0!==s&&s;if("mousedown"===t.type&&S.current)S.current=!1;else{"touchstart"===t.type&&(S.current=!0);var l,f,h,d=c?null:M.current,p=d?d.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)l=Math.round(p.width/2),f=Math.round(p.height/2);else{var m=t.touches?t.touches[0]:t,b=m.clientX,v=m.clientY;l=Math.round(b-p.left),f=Math.round(v-p.top)}if(a)(h=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(h+=1);else{var g=2*Math.max(Math.abs((d?d.clientWidth:0)-l),l)+2,y=2*Math.max(Math.abs((d?d.clientHeight:0)-f),f)+2;h=Math.sqrt(Math.pow(g,2)+Math.pow(y,2))}t.touches?null===E.current&&(E.current=function(){C({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})},k.current=setTimeout((function(){E.current&&(E.current(),E.current=null)}),80)):C({pulsate:i,rippleX:l,rippleY:f,rippleSize:h,cb:r})}}),[u,C]),A=s.useCallback((function(){j({},{pulsate:!0})}),[j]),D=s.useCallback((function(t,e){if(clearTimeout(k.current),"touchend"===t.type&&E.current)return E.current(),E.current=null,void(k.current=setTimeout((function(){D(t,e)})));E.current=null,x((function(t){return t.length>0?t.slice(1):t})),_.current=e}),[]);return s.useImperativeHandle(e,(function(){return{pulsate:A,start:j,stop:D}}),[A,j,D]),Object(y.jsx)(I,Object(o.a)({className:Object(c.a)(h.root,T.root,d),ref:M},p,{children:Object(y.jsx)(v.a,{component:null,exit:!0,children:w})}))}));function B(t){return Object(x.a)("MuiButtonBase",t)}var z,H=Object(O.a)("MuiButtonBase",["root","disabled","focusVisible"]),U=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"],W=Object(l.a)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(t,e){return e.root}})((z={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},Object(i.a)(z,"&.".concat(H.disabled),{pointerEvents:"none",cursor:"default"}),Object(i.a)(z,"@media print",{colorAdjust:"exact"}),z)),q=s.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiButtonBase"}),i=r.action,l=r.centerRipple,m=void 0!==l&&l,b=r.children,v=r.className,g=r.component,w=void 0===g?"button":g,x=r.disabled,O=void 0!==x&&x,_=r.disableRipple,S=void 0!==_&&_,k=r.disableTouchRipple,E=void 0!==k&&k,M=r.focusRipple,C=void 0!==M&&M,j=r.LinkComponent,A=void 0===j?"a":j,T=r.onBlur,P=r.onClick,D=r.onContextMenu,R=r.onDragLeave,L=r.onFocus,I=r.onFocusVisible,N=r.onKeyDown,z=r.onKeyUp,H=r.onMouseDown,q=r.onMouseLeave,V=r.onMouseUp,G=r.onTouchEnd,Y=r.onTouchMove,X=r.onTouchStart,$=r.tabIndex,K=void 0===$?0:$,Z=r.TouchRippleProps,J=r.type,Q=Object(a.a)(r,U),tt=s.useRef(null),et=s.useRef(null),rt=Object(p.a)(),nt=rt.isFocusVisibleRef,it=rt.onFocus,ot=rt.onBlur,at=rt.ref,st=s.useState(!1),ct=Object(n.a)(st,2),ut=ct[0],lt=ct[1];function ft(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;return Object(d.a)((function(n){return e&&e(n),!r&&et.current&&et.current[t](n),!0}))}O&&ut&&lt(!1),s.useImperativeHandle(i,(function(){return{focusVisible:function(){lt(!0),tt.current.focus()}}}),[]),s.useEffect((function(){ut&&C&&!S&&et.current.pulsate()}),[S,C,ut]);var ht=ft("start",H),dt=ft("stop",D),pt=ft("stop",R),mt=ft("stop",V),bt=ft("stop",(function(t){ut&&t.preventDefault(),q&&q(t)})),vt=ft("start",X),gt=ft("stop",G),yt=ft("stop",Y),wt=ft("stop",(function(t){ot(t),!1===nt.current&&lt(!1),T&&T(t)}),!1),xt=Object(d.a)((function(t){tt.current||(tt.current=t.currentTarget),it(t),!0===nt.current&&(lt(!0),I&&I(t)),L&&L(t)})),Ot=function(){var t=tt.current;return w&&"button"!==w&&!("A"===t.tagName&&t.href)},_t=s.useRef(!1),St=Object(d.a)((function(t){C&&!_t.current&&ut&&et.current&&" "===t.key&&(_t.current=!0,et.current.stop(t,(function(){et.current.start(t)}))),t.target===t.currentTarget&&Ot()&&" "===t.key&&t.preventDefault(),N&&N(t),t.target===t.currentTarget&&Ot()&&"Enter"===t.key&&!O&&(t.preventDefault(),P&&P(t))})),kt=Object(d.a)((function(t){C&&" "===t.key&&et.current&&ut&&!t.defaultPrevented&&(_t.current=!1,et.current.stop(t,(function(){et.current.pulsate(t)}))),z&&z(t),P&&t.target===t.currentTarget&&Ot()&&" "===t.key&&!t.defaultPrevented&&P(t)})),Et=w;"button"===Et&&(Q.href||Q.to)&&(Et=A);var Mt={};"button"===Et?(Mt.type=void 0===J?"button":J,Mt.disabled=O):(Q.href||Q.to||(Mt.role="button"),O&&(Mt["aria-disabled"]=O));var Ct=Object(h.a)(at,tt),jt=Object(h.a)(e,Ct),At=s.useState(!1),Tt=Object(n.a)(At,2),Pt=Tt[0],Dt=Tt[1];s.useEffect((function(){Dt(!0)}),[]);var Rt=Pt&&!S&&!O;var Lt=Object(o.a)({},r,{centerRipple:m,component:w,disabled:O,disableRipple:S,disableTouchRipple:E,focusRipple:C,tabIndex:K,focusVisible:ut}),It=function(t){var e=t.disabled,r=t.focusVisible,n=t.focusVisibleClassName,i=t.classes,o={root:["root",e&&"disabled",r&&"focusVisible"]},a=Object(u.a)(o,B,i);return r&&n&&(a.root+=" ".concat(n)),a}(Lt);return Object(y.jsxs)(W,Object(o.a)({as:Et,className:Object(c.a)(It.root,v),ownerState:Lt,onBlur:wt,onClick:P,onContextMenu:dt,onFocus:xt,onKeyDown:St,onKeyUp:kt,onMouseDown:ht,onMouseLeave:bt,onMouseUp:mt,onDragLeave:pt,onTouchEnd:gt,onTouchMove:yt,onTouchStart:vt,ref:jt,tabIndex:O?-1:K,type:J},Mt,Q,{children:[b,Rt?Object(y.jsx)(F,Object(o.a)({ref:et,center:m},Z)):null]}))}));e.a=q},function(t,e,r){"use strict";var n=r(506),i=r(513),o=r(277),a=r(507);var s=r(3),c=r(1),u=r(14),l=r(2),f=r(0),h=(r(399),r(10),r(8)),d=r(78),p=r(13),m=r(22),b=r(445),v=r(133),g=r(162),y=r(122),w=r(72),x=r(339),O=r(340);function _(t){return Object(x.a)("MuiCollapse",t)}Object(O.a)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var S=r(6),k=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],E=Object(p.a)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],"entered"===r.state&&e.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&e.hidden]}})((function(t){var e=t.theme,r=t.ownerState;return Object(l.a)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===r.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===r.state&&Object(l.a)({height:"auto",overflow:"visible"},"horizontal"===r.orientation&&{width:"auto"}),"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&{visibility:"hidden"})})),M=Object(p.a)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(t,e){return e.wrapper}})((function(t){var e=t.ownerState;return Object(l.a)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})})),C=Object(p.a)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(t,e){return e.wrapperInner}})((function(t){var e=t.ownerState;return Object(l.a)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})})),j=f.forwardRef((function(t,e){var r=Object(m.a)({props:t,name:"MuiCollapse"}),n=r.addEndListener,i=r.children,o=r.className,a=r.collapsedSize,s=void 0===a?"0px":a,p=r.component,x=r.easing,O=r.in,j=r.onEnter,A=r.onEntered,T=r.onEntering,P=r.onExit,D=r.onExited,R=r.onExiting,L=r.orientation,I=void 0===L?"vertical":L,N=r.style,F=r.timeout,B=void 0===F?v.b.standard:F,z=r.TransitionComponent,H=void 0===z?b.a:z,U=Object(u.a)(r,k),W=Object(l.a)({},r,{orientation:I,collapsedSize:s}),q=function(t){var e=t.orientation,r=t.classes,n={root:["root","".concat(e)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(e)],wrapperInner:["wrapperInner","".concat(e)]};return Object(d.a)(n,_,r)}(W),V=Object(y.a)(),G=f.useRef(),Y=f.useRef(null),X=f.useRef(),$="number"===typeof s?"".concat(s,"px"):s,K="horizontal"===I,Z=K?"width":"height";f.useEffect((function(){return function(){clearTimeout(G.current)}}),[]);var J=f.useRef(null),Q=Object(w.a)(e,J),tt=function(t){return function(e){if(t){var r=J.current;void 0===e?t(r):t(r,e)}}},et=function(){return Y.current?Y.current[K?"clientWidth":"clientHeight"]:0},rt=tt((function(t,e){Y.current&&K&&(Y.current.style.position="absolute"),t.style[Z]=$,j&&j(t,e)})),nt=tt((function(t,e){var r=et();Y.current&&K&&(Y.current.style.position="");var n=Object(g.a)({style:N,timeout:B,easing:x},{mode:"enter"}),i=n.duration,o=n.easing;if("auto"===B){var a=V.transitions.getAutoHeightDuration(r);t.style.transitionDuration="".concat(a,"ms"),X.current=a}else t.style.transitionDuration="string"===typeof i?i:"".concat(i,"ms");t.style[Z]="".concat(r,"px"),t.style.transitionTimingFunction=o,T&&T(t,e)})),it=tt((function(t,e){t.style[Z]="auto",A&&A(t,e)})),ot=tt((function(t){t.style[Z]="".concat(et(),"px"),P&&P(t)})),at=tt(D),st=tt((function(t){var e=et(),r=Object(g.a)({style:N,timeout:B,easing:x},{mode:"exit"}),n=r.duration,i=r.easing;if("auto"===B){var o=V.transitions.getAutoHeightDuration(e);t.style.transitionDuration="".concat(o,"ms"),X.current=o}else t.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");t.style[Z]=$,t.style.transitionTimingFunction=i,R&&R(t)}));return Object(S.jsx)(H,Object(l.a)({in:O,onEnter:rt,onEntered:it,onEntering:nt,onExit:ot,onExited:at,onExiting:st,addEndListener:function(t){"auto"===B&&(G.current=setTimeout(t,X.current||0)),n&&n(J.current,t)},nodeRef:J,timeout:"auto"===B?null:B},U,{children:function(t,e){return Object(S.jsx)(E,Object(l.a)({as:p,className:Object(h.a)(q.root,o,{entered:q.entered,exited:!O&&"0px"===$&&q.hidden}[t]),style:Object(l.a)(Object(c.a)({},K?"minWidth":"minHeight",$),N),ownerState:Object(l.a)({},W,{state:t}),ref:Q},e,{children:Object(S.jsx)(M,{ownerState:Object(l.a)({},W,{state:t}),className:q.wrapper,ref:Y,children:Object(S.jsx)(C,{ownerState:Object(l.a)({},W,{state:t}),className:q.wrapperInner,children:i})})}))}}))}));j.muiSupportAuto=!0;var A=j,T=r(894),P=r(532),D=r(220);function R(t){return Object(x.a)("MuiAccordion",t)}var L=Object(O.a)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),I=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],N=Object(p.a)(T.a,{name:"MuiAccordion",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[Object(c.a)({},"& .".concat(L.region),e.region),e.root,!r.square&&e.rounded,!r.disableGutters&&e.gutters]}})((function(t){var e,r=t.theme,n={duration:r.transitions.duration.shortest};return e={position:"relative",transition:r.transitions.create(["margin"],n),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:r.palette.divider,transition:r.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&:before":{display:"none"}}},Object(c.a)(e,"&.".concat(L.expanded),{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}}),Object(c.a)(e,"&.".concat(L.disabled),{backgroundColor:r.palette.action.disabledBackground}),e}),(function(t){var e=t.theme,r=t.ownerState;return Object(l.a)({},!r.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!r.disableGutters&&Object(c.a)({},"&.".concat(L.expanded),{margin:"16px 0"}))})),F=f.forwardRef((function(t,e){var r,c=Object(m.a)({props:t,name:"MuiAccordion"}),p=c.children,b=c.className,v=c.defaultExpanded,g=void 0!==v&&v,y=c.disabled,w=void 0!==y&&y,x=c.disableGutters,O=void 0!==x&&x,_=c.expanded,k=c.onChange,E=c.square,M=void 0!==E&&E,C=c.TransitionComponent,j=void 0===C?A:C,T=c.TransitionProps,L=Object(u.a)(c,I),F=Object(D.a)({controlled:_,default:g,name:"Accordion",state:"expanded"}),B=Object(s.a)(F,2),z=B[0],H=B[1],U=f.useCallback((function(t){H(!z),k&&k(t,!z)}),[z,k,H]),W=f.Children.toArray(p),q=(r=W,Object(n.a)(r)||Object(i.a)(r)||Object(o.a)(r)||Object(a.a)()),V=q[0],G=q.slice(1),Y=f.useMemo((function(){return{expanded:z,disabled:w,disableGutters:O,toggle:U}}),[z,w,O,U]),X=Object(l.a)({},c,{square:M,disabled:w,disableGutters:O,expanded:z}),$=function(t){var e=t.classes,r={root:["root",!t.square&&"rounded",t.expanded&&"expanded",t.disabled&&"disabled",!t.disableGutters&&"gutters"],region:["region"]};return Object(d.a)(r,R,e)}(X);return Object(S.jsxs)(N,Object(l.a)({className:Object(h.a)($.root,b),ref:e,ownerState:X,square:M},L,{children:[Object(S.jsx)(P.a.Provider,{value:Y,children:V}),Object(S.jsx)(j,Object(l.a)({in:z,timeout:"auto"},T,{children:Object(S.jsx)("div",{"aria-labelledby":V.props.id,id:V.props["aria-controls"],role:"region",className:$.region,children:G})}))]}))}));e.a=F},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(523),c=r(159),u=Object(c.a)(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),l=Object(c.a)(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),f=r(62),h=Object(c.a)(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),d=r(38),p=r(26),m=o.createElement(l,null),b=o.createElement(u,null),v=o.createElement(h,null),g=o.forwardRef((function(t,e){var r=t.checkedIcon,c=void 0===r?m:r,u=t.classes,l=t.color,f=void 0===l?"secondary":l,h=t.icon,p=void 0===h?b:h,g=t.indeterminate,y=void 0!==g&&g,w=t.indeterminateIcon,x=void 0===w?v:w,O=t.inputProps,_=t.size,S=void 0===_?"medium":_,k=Object(i.a)(t,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),E=y?x:p,M=y?x:c;return o.createElement(s.a,Object(n.a)({type:"checkbox",classes:{root:Object(a.a)(u.root,u["color".concat(Object(d.a)(f))],y&&u.indeterminate),checked:u.checked,disabled:u.disabled},color:f,inputProps:Object(n.a)({"data-indeterminate":y},O),icon:o.cloneElement(E,{fontSize:void 0===E.props.fontSize&&"small"===S?S:E.props.fontSize}),checkedIcon:o.cloneElement(M,{fontSize:void 0===M.props.fontSize&&"small"===S?S:M.props.fontSize}),ref:e},k))}));e.a=Object(p.a)((function(t){return{root:{color:t.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:t.palette.primary.main,"&:hover":{backgroundColor:Object(f.a)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}},colorSecondary:{"&$checked":{color:t.palette.secondary.main,"&:hover":{backgroundColor:Object(f.a)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:t.palette.action.disabled}}}}),{name:"MuiCheckbox"})(g)},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(14),a=r(2),s=r(0),c=(r(10),r(8)),u=r(78),l=r(889),f=r(13),h=r(122),d=r(22),p=r(133),m=r(141),b=r(24),v=r(1312),g=r(147),y=r(894),w=r(339),x=r(340);function O(t){return Object(w.a)("MuiSnackbarContent",t)}Object(x.a)("MuiSnackbarContent",["root","message","action"]);var _=r(6),S=["action","className","message","role"],k=Object(f.a)(y.a,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme,r="light"===e.palette.mode?.8:.98,n=Object(g.c)(e.palette.background.default,r);return Object(a.a)({},e.typography.body2,Object(i.a)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}))})),E=Object(f.a)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:function(t,e){return e.message}})({padding:"8px 0"}),M=Object(f.a)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:function(t,e){return e.action}})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),C=s.forwardRef((function(t,e){var r=Object(d.a)({props:t,name:"MuiSnackbarContent"}),n=r.action,i=r.className,s=r.message,l=r.role,f=void 0===l?"alert":l,h=Object(o.a)(r,S),p=r,m=function(t){var e=t.classes;return Object(u.a)({root:["root"],action:["action"],message:["message"]},O,e)}(p);return Object(_.jsxs)(k,Object(a.a)({role:f,square:!0,elevation:6,className:Object(c.a)(m.root,i),ownerState:p,ref:e},h,{children:[Object(_.jsx)(E,{className:m.message,ownerState:p,children:s}),n?Object(_.jsx)(M,{className:m.action,ownerState:p,children:n}):null]}))}));function j(t){return Object(w.a)("MuiSnackbar",t)}Object(x.a)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);var A=["onEnter","onExited"],T=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],P=Object(f.a)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["anchorOrigin".concat(Object(b.a)(r.anchorOrigin.vertical)).concat(Object(b.a)(r.anchorOrigin.horizontal))]]}})((function(t){var e=t.theme,r=t.ownerState,n=Object(a.a)({},!r.isRtl&&{left:"50%",right:"auto",transform:"translateX(-50%)"},r.isRtl&&{right:"50%",left:"auto",transform:"translateX(50%)"});return Object(a.a)({zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===r.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===r.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===r.anchorOrigin.horizontal&&{justifyContent:"flex-end"},Object(i.a)({},e.breakpoints.up("sm"),Object(a.a)({},"top"===r.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===r.anchorOrigin.horizontal&&n,"left"===r.anchorOrigin.horizontal&&Object(a.a)({},!r.isRtl&&{left:24,right:"auto"},r.isRtl&&{right:24,left:"auto"}),"right"===r.anchorOrigin.horizontal&&Object(a.a)({},!r.isRtl&&{right:24,left:"auto"},r.isRtl&&{left:24,right:"auto"}))))})),D=s.forwardRef((function(t,e){var r=Object(d.a)({props:t,name:"MuiSnackbar"}),i=r.action,f=r.anchorOrigin,g=(f=void 0===f?{vertical:"bottom",horizontal:"left"}:f).vertical,y=f.horizontal,w=r.autoHideDuration,x=void 0===w?null:w,O=r.children,S=r.className,k=r.ClickAwayListenerProps,E=r.ContentProps,M=r.disableWindowBlurListener,D=void 0!==M&&M,R=r.message,L=r.onBlur,I=r.onClose,N=r.onFocus,F=r.onMouseEnter,B=r.onMouseLeave,z=r.open,H=r.resumeHideDuration,U=r.TransitionComponent,W=void 0===U?v.a:U,q=r.transitionDuration,V=void 0===q?{enter:p.b.enteringScreen,exit:p.b.leavingScreen}:q,G=r.TransitionProps,Y=(G=void 0===G?{}:G).onEnter,X=G.onExited,$=Object(o.a)(r.TransitionProps,A),K=Object(o.a)(r,T),Z="rtl"===Object(h.a)().direction,J=Object(a.a)({},r,{anchorOrigin:{vertical:g,horizontal:y},isRtl:Z}),Q=function(t){var e=t.classes,r=t.anchorOrigin,n={root:["root","anchorOrigin".concat(Object(b.a)(r.vertical)).concat(Object(b.a)(r.horizontal))]};return Object(u.a)(n,j,e)}(J),tt=s.useRef(),et=s.useState(!0),rt=Object(n.a)(et,2),nt=rt[0],it=rt[1],ot=Object(m.a)((function(){I&&I.apply(void 0,arguments)})),at=Object(m.a)((function(t){I&&null!=t&&(clearTimeout(tt.current),tt.current=setTimeout((function(){ot(null,"timeout")}),t))}));s.useEffect((function(){return z&&at(x),function(){clearTimeout(tt.current)}}),[z,x,at]);var st=function(){clearTimeout(tt.current)},ct=s.useCallback((function(){null!=x&&at(null!=H?H:.5*x)}),[x,H,at]);return s.useEffect((function(){if(!D&&z)return window.addEventListener("focus",ct),window.addEventListener("blur",st),function(){window.removeEventListener("focus",ct),window.removeEventListener("blur",st)}}),[D,ct,z]),s.useEffect((function(){if(z)return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||"Escape"!==t.key&&"Esc"!==t.key||I&&I(t,"escapeKeyDown")}}),[nt,z,I]),!z&&nt?null:Object(_.jsx)(l.a,Object(a.a)({onClickAway:function(t){I&&I(t,"clickaway")}},k,{children:Object(_.jsx)(P,Object(a.a)({className:Object(c.a)(Q.root,S),onBlur:function(t){L&&L(t),ct()},onFocus:function(t){N&&N(t),st()},onMouseEnter:function(t){F&&F(t),st()},onMouseLeave:function(t){B&&B(t),ct()},ownerState:J,ref:e},K,{children:Object(_.jsx)(W,Object(a.a)({appear:!0,in:z,timeout:V,direction:"top"===g?"down":"up",onEnter:function(t,e){it(!1),Y&&Y(t,e)},onExited:function(t){it(!0),X&&X(t)}},$,{children:O||Object(_.jsx)(C,Object(a.a)({message:R,action:i},E))}))}))}))}));e.a=D},function(t,e,r){"use strict";r.d(e,"a",(function(){return ht}));var n=r(857),i=r(207),o=r.n(i),a=r(300),s=r.n(a),c=r(243),u=r.n(c),l=r(44),f=r.n(l),h=r(114),d=r.n(h),p=r(36),m=r.n(p),b=r(68),v=r.n(b),g=r(0),y=r.n(g),w=r(55),x=r.n(w),O=r(174),_=r(211),S=r(291),k=r(80),E=r(292),M=r(154),C=r(17),j=r(37),A=r(42);function T(t){return(T="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function P(t,e){if(null==t)return{};var r,n,i=function(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}function D(){return(D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function R(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?R(Object(r),!0).forEach((function(e){I(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function I(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function B(t,e){return(B=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function z(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=U(t);if(e){var i=U(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return H(this,r)}}function H(t,e){return!e||"object"!==T(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var W=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B(t,e)}(a,t);var e,r,n,i=z(a);function a(){var t;N(this,a);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=i.call.apply(i,[this].concat(r))).state={isAnimationFinished:!0},t.id=Object(C.k)("recharts-area-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),f()(e)&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),f()(e)&&e()},t}return e=a,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],(r=[{key:"renderDots",value:function(t,e){var r=this.props.isAnimationActive,n=this.state.isAnimationFinished;if(r&&!n)return null;var i=this.props,o=i.dot,s=i.points,c=i.dataKey,u=Object(A.c)(this.props),l=Object(A.c)(o,!0),f=s.map((function(t,e){var r=L(L(L({key:"dot-".concat(e),r:3},u),l),{},{dataKey:c,cx:t.x,cy:t.y,index:e,value:t.value,payload:t.payload});return a.renderDotItem(o,r)})),h={clipPath:t?"url(#clipPath-".concat(e,")"):null};return y.a.createElement(k.a,D({className:"recharts-area-dots"},h),f)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].x,a=n[n.length-1].x,s=t*Math.abs(o-a),c=u()(n.map((function(t){return t.y||0})));return Object(C.h)(r)&&"number"===typeof r?c=Math.max(r,c):r&&v()(r)&&r.length&&(c=Math.max(u()(r.map((function(t){return t.y||0}))),c)),Object(C.h)(c)?y.a.createElement("rect",{x:o<a?o:o-s,y:0,width:s,height:Math.floor(c+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,i=e.strokeWidth,o=n[0].y,a=n[n.length-1].y,s=t*Math.abs(o-a),c=u()(n.map((function(t){return t.x||0})));return Object(C.h)(r)&&"number"===typeof r?c=Math.max(r,c):r&&v()(r)&&r.length&&(c=Math.max(u()(r.map((function(t){return t.x||0}))),c)),Object(C.h)(c)?y.a.createElement("rect",{x:0,y:o<a?o:o-s,width:c+(i?parseInt("".concat(i),10):1),height:Math.floor(s)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,n){var i=this.props,o=i.layout,a=i.type,s=i.stroke,c=i.connectNulls,u=i.isRange,l=(i.ref,P(i,["layout","type","stroke","connectNulls","isRange","ref"]));return y.a.createElement(k.a,{clipPath:r?"url(#clipPath-".concat(n,")"):null},y.a.createElement(_.a,D({},Object(A.c)(l,!0),{points:t,connectNulls:c,type:a,baseLine:e,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==s&&y.a.createElement(_.a,D({},Object(A.c)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:c,fill:"none",points:t})),"none"!==s&&u&&y.a.createElement(_.a,D({},Object(A.c)(this.props),{className:"recharts-area-curve",layout:o,type:a,connectNulls:c,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,i=n.points,o=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,f=n.animationId,h=this.state,d=h.prevPoints,p=h.prevBaseLine;return y.a.createElement(O.a,{begin:c,duration:u,isActive:a,easing:l,from:{t:0},to:{t:1},key:"area-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(d){var c,u=d.length/i.length,l=i.map((function(t,e){var r=Math.floor(e*u);if(d[r]){var n=d[r],i=Object(C.f)(n.x,t.x),o=Object(C.f)(n.y,t.y);return L(L({},t),{},{x:i(a),y:o(a)})}return t}));return c=Object(C.h)(o)&&"number"===typeof o?Object(C.f)(p,o)(a):m()(o)||s()(o)?Object(C.f)(p,0)(a):o.map((function(t,e){var r=Math.floor(e*u);if(p[r]){var n=p[r],i=Object(C.f)(n.x,t.x),o=Object(C.f)(n.y,t.y);return L(L({},t),{},{x:i(a),y:o(a)})}return t})),r.renderAreaStatically(l,c,t,e)}return y.a.createElement(k.a,null,y.a.createElement("defs",null,y.a.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),y.a.createElement(k.a,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(i,o,t,e)))}))}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,i=r.baseLine,a=r.isAnimationActive,s=this.state,c=s.prevPoints,u=s.prevBaseLine,l=s.totalLength;return a&&n&&n.length&&(!c&&l>0||!o()(c,n)||!o()(u,i))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,i,t,e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.dot,n=t.points,i=t.className,o=t.top,a=t.left,s=t.xAxis,c=t.yAxis,u=t.width,l=t.height,f=t.isAnimationActive,h=t.id;if(e||!n||!n.length)return null;var d=this.state.isAnimationFinished,p=1===n.length,b=x()("recharts-area",i),v=s&&s.allowDataOverflow||c&&c.allowDataOverflow,g=m()(h)?this.id:h;return y.a.createElement(k.a,{className:b},v?y.a.createElement("defs",null,y.a.createElement("clipPath",{id:"clipPath-".concat(g)},y.a.createElement("rect",{x:a,y:o,width:u,height:Math.floor(l)}))):null,p?null:this.renderArea(v,g),(r||p)&&this.renderDots(v,g),(!f||d)&&E.a.renderCallByParent(this.props,n))}}])&&F(e.prototype,r),n&&F(e,n),a}(g.PureComponent);W.displayName="Area",W.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!M.a.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"},W.getBaseValue=function(t,e,r){var n=t.layout,i=t.baseValue;if(Object(C.h)(i)&&"number"===typeof i)return i;var o="horizontal"===n?r:e,a=o.scale.domain();if("number"===o.type){var s=Math.max(a[0],a[1]),c=Math.min(a[0],a[1]);return"dataMin"===i?c:"dataMax"===i||s<0?s:Math.max(Math.min(a[0],a[1]),0)}return"dataMin"===i?a[0]:"dataMax"===i?a[1]:a[0]},W.getComposedData=function(t){var e,r=t.props,n=t.xAxis,i=t.yAxis,o=t.xAxisTicks,a=t.yAxisTicks,s=t.bandSize,c=t.dataKey,u=t.stackedData,l=t.dataStartIndex,f=t.displayedData,h=t.offset,p=r.layout,b=u&&u.length,g=W.getBaseValue(r,n,i),y=!1,w=f.map((function(t,e){var r,f=Object(j.w)(t,c);b?r=u[l+e]:(r=f,v()(r)?y=!0:r=[g,r]);var h=m()(r[1])||b&&m()(f);return"horizontal"===p?{x:Object(j.k)({axis:n,ticks:o,bandSize:s,entry:t,index:e}),y:h?null:i.scale(r[1]),value:r,payload:t}:{x:h?null:n.scale(r[1]),y:Object(j.k)({axis:i,ticks:a,bandSize:s,entry:t,index:e}),value:r,payload:t}}));return e=b||y?w.map((function(t){return"horizontal"===p?{x:t.x,y:m()(d()(t,"value[0]"))||m()(d()(t,"y"))?null:i.scale(d()(t,"value[0]"))}:{x:m()(d()(t,"value[0]"))?null:n.scale(d()(t,"value[0]")),y:t.y}})):"horizontal"===p?i.scale(g):n.scale(g),L({points:w,baseLine:e,layout:p,isRange:y},h)},W.renderDotItem=function(t,e){return y.a.isValidElement(t)?y.a.cloneElement(t,e):f()(t)?t(e):y.a.createElement(S.a,D({},e,{className:"recharts-area-dot"}))};var q=r(869),V=r(867),G=r(74),Y=function(){return null};Y.displayName="ZAxis",Y.defaultProps={zAxisId:0,range:[64,64],scale:"auto",type:"number"};var X=r(545),$=r(371),K=r(547);function Z(t){return(Z="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(){return(J=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function Q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(r),!0).forEach((function(e){et(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function it(t,e){return(it=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ot(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=st(t);if(e){var i=st(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return at(this,r)}}function at(t,e){return!e||"object"!==Z(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ct=function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&it(t,e)}(a,t);var e,r,n,i=ot(a);function a(){var t;rt(this,a);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=i.call.apply(i,[this].concat(r))).state={isAnimationFinished:!1},t.handleAnimationEnd=function(){t.setState({isAnimationFinished:!0})},t.handleAnimationStart=function(){t.setState({isAnimationFinished:!1})},t.id=Object(C.k)("recharts-scatter-"),t}return e=a,n=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"renderSymbolItem",value:function(t,e){var r;return y.a.isValidElement(t)?r=y.a.cloneElement(t,e):f()(t)?r=t(e):"string"===typeof t&&(r=y.a.createElement(X.a,J({},e,{type:t}))),r}}],(r=[{key:"renderSymbolsStatically",value:function(t){var e=this,r=this.props,n=r.shape,i=r.activeShape,o=r.activeIndex,s=Object(A.c)(this.props);return t.map((function(t,r){var c=tt(tt({key:"symbol-".concat(r)},s),t);return y.a.createElement(k.a,J({className:"recharts-scatter-symbol"},Object(A.b)(e.props,t,r),{key:"symbol-".concat(r)}),a.renderSymbolItem(o===r?i:n,c))}))}},{key:"renderSymbolsWithAnimation",value:function(){var t=this,e=this.props,r=e.points,n=e.isAnimationActive,i=e.animationBegin,o=e.animationDuration,a=e.animationEasing,s=e.animationId,c=this.state.prevPoints;return y.a.createElement(O.a,{begin:i,duration:o,isActive:n,easing:a,from:{t:0},to:{t:1},key:"pie-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var n=e.t,i=r.map((function(t,e){var r=c&&c[e];if(r){var i=Object(C.f)(r.cx,t.cx),o=Object(C.f)(r.cy,t.cy),a=Object(C.f)(r.size,t.size);return tt(tt({},t),{},{cx:i(n),cy:o(n),size:a(n)})}var s=Object(C.f)(0,t.size);return tt(tt({},t),{},{size:s(n)})}));return y.a.createElement(k.a,null,t.renderSymbolsStatically(i))}))}},{key:"renderSymbols",value:function(){var t=this.props,e=t.points,r=t.isAnimationActive,n=this.state.prevPoints;return!(r&&e&&e.length)||n&&o()(n,e)?this.renderSymbolsStatically(e):this.renderSymbolsWithAnimation()}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.points,r=t.xAxis,n=t.yAxis,i=t.children,o=Object(G.a)(i,$.a.displayName);if(!o)return null;function a(t,e){return{x:t.cx,y:t.cy,value:+t.node.y,errorVal:Object(j.w)(t,e)}}function s(t,e){return{x:t.cx,y:t.cy,value:+t.node.x,errorVal:Object(j.w)(t,e)}}return o.map((function(t,i){var o=t.props.direction;return y.a.cloneElement(t,{key:i,data:e,xAxis:r,yAxis:n,layout:"x"===o?"vertical":"horizontal",dataPointFormatter:"x"===o?s:a})}))}},{key:"renderLine",value:function(){var t,e,r=this.props,n=r.points,i=r.line,o=r.lineType,a=r.lineJointType,s=Object(A.c)(this.props),c=Object(A.c)(i);if("joint"===o)t=n.map((function(t){return{x:t.cx,y:t.cy}}));else if("fitting"===o){var u=Object(C.c)(n),l=u.xmin,h=u.xmax,d=u.a,p=u.b,m=function(t){return d*t+p};t=[{x:l,y:m(l)},{x:h,y:m(h)}]}var b=tt(tt(tt({},s),{},{fill:"none",stroke:s&&s.fill},c),{},{points:t});return e=y.a.isValidElement(i)?y.a.cloneElement(i,b):f()(i)?i(b):y.a.createElement(_.a,J({},b,{type:a})),y.a.createElement(k.a,{className:"recharts-scatter-line",key:"recharts-scatter-line"},e)}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.points,n=t.line,i=t.className,o=t.xAxis,a=t.yAxis,s=t.left,c=t.top,u=t.width,l=t.height,f=t.id,h=t.isAnimationActive;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,p=x()("recharts-scatter",i),b=o&&o.allowDataOverflow||a&&a.allowDataOverflow,v=m()(f)?this.id:f;return y.a.createElement(k.a,{className:p,clipPath:b?"url(#clipPath-".concat(v,")"):null},b?y.a.createElement("defs",null,y.a.createElement("clipPath",{id:"clipPath-".concat(v)},y.a.createElement("rect",{x:s,y:c,width:u,height:l}))):null,n&&this.renderLine(),this.renderErrorBar(),y.a.createElement(k.a,{key:"recharts-scatter-symbols"},this.renderSymbols()),(!h||d)&&E.a.renderCallByParent(this.props,r))}}])&&nt(e.prototype,r),n&&nt(e,n),a}(g.PureComponent);ct.displayName="Scatter",ct.defaultProps={xAxisId:0,yAxisId:0,zAxisId:0,legendType:"circle",lineType:"joint",lineJointType:"linear",data:[],shape:"circle",hide:!1,isAnimationActive:!M.a.isSsr,animationBegin:0,animationDuration:400,animationEasing:"linear"},ct.getComposedData=function(t){var e=t.xAxis,r=t.yAxis,n=t.zAxis,i=t.item,o=t.displayedData,a=t.xAxisTicks,s=t.yAxisTicks,c=t.offset,u=i.props.tooltipType,l=Object(G.a)(i.props.children,K.a.displayName),f=m()(e.dataKey)?i.props.dataKey:e.dataKey,h=m()(r.dataKey)?i.props.dataKey:r.dataKey,d=n&&n.dataKey,p=n?n.range:Y.defaultProps.range,b=p&&p[0],v=e.scale.bandwidth?e.scale.bandwidth():0,g=r.scale.bandwidth?r.scale.bandwidth():0,y=o.map((function(t,o){var c=Object(j.w)(t,f),p=Object(j.w)(t,h),y=!m()(d)&&Object(j.w)(t,d)||"-",w=[{name:m()(e.dataKey)?i.props.name:e.name||e.dataKey,unit:e.unit||"",value:c,payload:t,dataKey:f,type:u},{name:m()(r.dataKey)?i.props.name:r.name||r.dataKey,unit:r.unit||"",value:p,payload:t,dataKey:h,type:u}];"-"!==y&&w.push({name:n.name||n.dataKey,unit:n.unit||"",value:y,payload:t,dataKey:d,type:u});var x=Object(j.k)({axis:e,ticks:a,bandSize:v,entry:t,index:o,dataKey:f}),O=Object(j.k)({axis:r,ticks:s,bandSize:g,entry:t,index:o,dataKey:h}),_="-"!==y?n.scale(y):b,S=Math.sqrt(Math.max(_,0)/Math.PI);return tt(tt({},t),{},{cx:x,cy:O,x:x-S,y:O-S,xAxis:e,yAxis:r,zAxis:n,width:2*S,height:2*S,size:_,node:{x:c,y:p,z:y},tooltipPayload:w,tooltipPosition:{x:x,y:O},payload:t},l&&l[o]&&l[o].props)}));return tt({points:y},c)};var ut=r(870),lt=r(871),ft=r(240),ht=Object(n.a)({chartName:"ComposedChart",GraphicalChild:[V.a,W,q.a,ct],axisComponents:[{axisType:"xAxis",AxisComp:ut.a},{axisType:"yAxis",AxisComp:lt.a},{axisType:"zAxis",AxisComp:Y}],formatAxisMap:ft.b})},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(252)),c=r(340),u=r(339);function l(t){return Object(u.a)("MuiModal",t)}Object(c.a)("MuiModal",["root","hidden"]);var f=r(8),h=r(441),d=r(304),p=r(885),m=r(1308),b=r(78),v=r(1414),g=r(45),y=r(46),w=r(19),x=r(660),O=r(1413);function _(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function S(t){return parseInt(Object(x.a)(t).getComputedStyle(t).paddingRight,10)||0}function k(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[e,r].concat(Object(w.a)(n)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){-1===o.indexOf(t)&&-1===a.indexOf(t.tagName)&&_(t,i)}))}function E(t,e){var r=-1;return t.some((function(t,n){return!!e(t)&&(r=n,!0)})),r}function M(t,e){var r=[],n=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(d.a)(t);return e.body===t?Object(x.a)(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(n)){var i=Object(O.a)(Object(d.a)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight="".concat(S(n)+i,"px");var o=Object(d.a)(n).querySelectorAll(".mui-fixed");[].forEach.call(o,(function(t){r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(S(t)+i,"px")}))}var a=n.parentElement,s=Object(x.a)(n),c="HTML"===(null==a?void 0:a.nodeName)&&"scroll"===s.getComputedStyle(a).overflowY?a:n;r.push({value:c.style.overflow,property:"overflow",el:c},{value:c.style.overflowX,property:"overflow-x",el:c},{value:c.style.overflowY,property:"overflow-y",el:c}),c.style.overflow="hidden"}return function(){r.forEach((function(t){var e=t.value,r=t.el,n=t.property;e?r.style.setProperty(n,e):r.style.removeProperty(n)}))}}var C=function(){function t(){Object(g.a)(this,t),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return Object(y.a)(t,[{key:"add",value:function(t,e){var r=this.modals.indexOf(t);if(-1!==r)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&_(t.modalRef,!1);var n=function(t){var e=[];return[].forEach.call(t.children,(function(t){"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);k(e,t.mount,t.modalRef,n,!0);var i=E(this.containers,(function(t){return t.container===e}));return-1!==i?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblings:n}),r)}},{key:"mount",value:function(t,e){var r=E(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];n.restore||(n.restore=M(n,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var r=E(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(t),1),this.modals.splice(e,1),0===n.modals.length)n.restore&&n.restore(),t.modalRef&&_(t.modalRef,!0),k(n.container,t.mount,t.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=n.modals[n.modals.length-1];i.modalRef&&_(i.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}(),j=r(1311),A=r(6),T=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];var P=new C,D=a.forwardRef((function(t,e){var r=t.BackdropComponent,c=t.BackdropProps,u=t.children,g=t.classes,y=t.className,w=t.closeAfterTransition,x=void 0!==w&&w,O=t.component,S=void 0===O?"div":O,k=t.components,E=void 0===k?{}:k,M=t.componentsProps,C=void 0===M?{}:M,D=t.container,R=t.disableAutoFocus,L=void 0!==R&&R,I=t.disableEnforceFocus,N=void 0!==I&&I,F=t.disableEscapeKeyDown,B=void 0!==F&&F,z=t.disablePortal,H=void 0!==z&&z,U=t.disableRestoreFocus,W=void 0!==U&&U,q=t.disableScrollLock,V=void 0!==q&&q,G=t.hideBackdrop,Y=void 0!==G&&G,X=t.keepMounted,$=void 0!==X&&X,K=t.manager,Z=void 0===K?P:K,J=t.onBackdropClick,Q=t.onClose,tt=t.onKeyDown,et=t.open,rt=t.theme,nt=t.onTransitionEnter,it=t.onTransitionExited,ot=Object(i.a)(t,T),at=a.useState(!0),st=Object(n.a)(at,2),ct=st[0],ut=st[1],lt=a.useRef({}),ft=a.useRef(null),ht=a.useRef(null),dt=Object(h.a)(ht,e),pt=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(t),mt=function(){return lt.current.modalRef=ht.current,lt.current.mountNode=ft.current,lt.current},bt=function(){Z.mount(mt(),{disableScrollLock:V}),ht.current.scrollTop=0},vt=Object(p.a)((function(){var t=function(t){return"function"===typeof t?t():t}(D)||Object(d.a)(ft.current).body;Z.add(mt(),t),ht.current&&bt()})),gt=a.useCallback((function(){return Z.isTopModal(mt())}),[Z]),yt=Object(p.a)((function(t){ft.current=t,t&&(et&&gt()?bt():_(ht.current,!0))})),wt=a.useCallback((function(){Z.remove(mt())}),[Z]);a.useEffect((function(){return function(){wt()}}),[wt]),a.useEffect((function(){et?vt():pt&&x||wt()}),[et,wt,pt,x,vt]);var xt=Object(o.a)({},t,{classes:g,closeAfterTransition:x,disableAutoFocus:L,disableEnforceFocus:N,disableEscapeKeyDown:B,disablePortal:H,disableRestoreFocus:W,disableScrollLock:V,exited:ct,hideBackdrop:Y,keepMounted:$}),Ot=function(t){var e=t.open,r=t.exited,n=t.classes,i={root:["root",!e&&r&&"hidden"]};return Object(b.a)(i,l,n)}(xt);if(!$&&!et&&(!pt||ct))return null;var _t={};void 0===u.props.tabIndex&&(_t.tabIndex="-1"),pt&&(_t.onEnter=Object(m.a)((function(){ut(!1),nt&&nt()}),u.props.onEnter),_t.onExited=Object(m.a)((function(){ut(!0),it&&it(),x&&wt()}),u.props.onExited));var St=E.Root||S,kt=C.root||{};return Object(A.jsx)(v.a,{ref:yt,container:D,disablePortal:H,children:Object(A.jsxs)(St,Object(o.a)({role:"presentation"},kt,!Object(s.a)(St)&&{as:S,ownerState:Object(o.a)({},xt,kt.ownerState),theme:rt},ot,{ref:dt,onKeyDown:function(t){tt&&tt(t),"Escape"===t.key&&gt()&&(B||(t.stopPropagation(),Q&&Q(t,"escapeKeyDown")))},className:Object(f.a)(Ot.root,kt.className,y),children:[!Y&&r?Object(A.jsx)(r,Object(o.a)({open:et,onClick:function(t){t.target===t.currentTarget&&(J&&J(t),Q&&Q(t,"backdropClick"))}},c)):null,Object(A.jsx)(j.a,{disableEnforceFocus:N,disableAutoFocus:L,disableRestoreFocus:W,isEnabled:gt,open:et,children:a.cloneElement(u,_t)})]}))})})),R=r(13),L=r(22),I=r(1323),N=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],F=Object(R.a)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.open&&r.exited&&e.hidden]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!r.open&&r.exited&&{visibility:"hidden"})})),B=Object(R.a)(I.a,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(t,e){return e.backdrop}})({zIndex:-1}),z=a.forwardRef((function(t,e){var r,c=Object(L.a)({name:"MuiModal",props:t}),u=c.BackdropComponent,l=void 0===u?B:u,f=c.closeAfterTransition,h=void 0!==f&&f,d=c.children,p=c.components,m=void 0===p?{}:p,b=c.componentsProps,v=void 0===b?{}:b,g=c.disableAutoFocus,y=void 0!==g&&g,w=c.disableEnforceFocus,x=void 0!==w&&w,O=c.disableEscapeKeyDown,_=void 0!==O&&O,S=c.disablePortal,k=void 0!==S&&S,E=c.disableRestoreFocus,M=void 0!==E&&E,C=c.disableScrollLock,j=void 0!==C&&C,T=c.hideBackdrop,P=void 0!==T&&T,R=c.keepMounted,I=void 0!==R&&R,z=Object(i.a)(c,N),H=a.useState(!0),U=Object(n.a)(H,2),W=U[0],q=U[1],V={closeAfterTransition:h,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:_,disablePortal:k,disableRestoreFocus:M,disableScrollLock:j,hideBackdrop:P,keepMounted:I},G=function(t){return t.classes}(Object(o.a)({},c,V,{exited:W}));return Object(A.jsx)(D,Object(o.a)({components:Object(o.a)({Root:F},m),componentsProps:{root:Object(o.a)({},v.root,(!m.Root||!Object(s.a)(m.Root))&&{ownerState:Object(o.a)({},null==(r=v.root)?void 0:r.ownerState)})},BackdropComponent:l,onTransitionEnter:function(){return q(!1)},onTransitionExited:function(){return q(!0)},ref:e},z,{classes:G},V,{children:d}))}));e.a=z},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(22),u=r(13),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiStepper",t)}Object(f.a)("MuiStepper",["root","horizontal","vertical","alternativeLabel"]);var d=r(24),p=r(231),m=r(290);function b(t){return Object(l.a)("MuiStepConnector",t)}Object(f.a)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var v=r(6),g=["className"],y=Object(u.a)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],r.alternativeLabel&&e.alternativeLabel,r.completed&&e.completed]}})((function(t){var e=t.ownerState;return Object(i.a)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})})),w=Object(u.a)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:function(t,e){var r=t.ownerState;return[e.line,e["line".concat(Object(d.a)(r.orientation))]]}})((function(t){var e=t.ownerState,r=t.theme;return Object(i.a)({display:"block",borderColor:"light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[600]},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),x=o.forwardRef((function(t,e){var r=Object(c.a)({props:t,name:"MuiStepConnector"}),u=r.className,l=Object(n.a)(r,g),f=o.useContext(p.a),h=f.alternativeLabel,x=f.orientation,O=void 0===x?"horizontal":x,_=o.useContext(m.a),S=_.active,k=_.disabled,E=_.completed,M=Object(i.a)({},r,{alternativeLabel:h,orientation:O,active:S,completed:E,disabled:k}),C=function(t){var e=t.classes,r=t.orientation,n={root:["root",r,t.alternativeLabel&&"alternativeLabel",t.active&&"active",t.completed&&"completed",t.disabled&&"disabled"],line:["line","line".concat(Object(d.a)(r))]};return Object(s.a)(n,b,e)}(M);return Object(v.jsx)(y,Object(i.a)({className:Object(a.a)(C.root,u),ref:e,ownerState:M},l,{children:Object(v.jsx)(w,{className:C.line,ownerState:M})}))})),O=["activeStep","alternativeLabel","children","className","connector","nonLinear","orientation"],_=Object(u.a)("div",{name:"MuiStepper",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],r.alternativeLabel&&e.alternativeLabel]}})((function(t){var e=t.ownerState;return Object(i.a)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"})})),S=Object(v.jsx)(x,{}),k=o.forwardRef((function(t,e){var r=Object(c.a)({props:t,name:"MuiStepper"}),u=r.activeStep,l=void 0===u?0:u,f=r.alternativeLabel,d=void 0!==f&&f,m=r.children,b=r.className,g=r.connector,y=void 0===g?S:g,w=r.nonLinear,x=void 0!==w&&w,k=r.orientation,E=void 0===k?"horizontal":k,M=Object(n.a)(r,O),C=Object(i.a)({},r,{alternativeLabel:d,orientation:E}),j=function(t){var e=t.orientation,r=t.alternativeLabel,n=t.classes,i={root:["root",e,r&&"alternativeLabel"]};return Object(s.a)(i,h,n)}(C),A=o.Children.toArray(m).filter(Boolean),T=A.map((function(t,e){return o.cloneElement(t,Object(i.a)({index:e,last:e+1===A.length},t.props))})),P=o.useMemo((function(){return{activeStep:l,alternativeLabel:d,connector:y,nonLinear:x,orientation:E}}),[l,d,y,x,E]);return Object(v.jsx)(p.a.Provider,{value:P,children:Object(v.jsx)(_,Object(i.a)({ownerState:C,className:Object(a.a)(j.root,b),ref:e},M,{children:T}))})}));e.a=k},function(t,e,r){"use strict";var n=r(20),i=r(73),o=r(2),a=r(0),s=(r(10),r(8)),c=r(26),u=r(140),l=r(76),f=r(124),h=r(64),d=r(148);function p(t){return t.substring(2).toLowerCase()}var m=function(t){var e=t.children,r=t.disableReactTree,n=void 0!==r&&r,i=t.mouseEvent,o=void 0===i?"onClick":i,s=t.onClickAway,c=t.touchEvent,u=void 0===c?"onTouchEnd":c,m=a.useRef(!1),b=a.useRef(null),v=a.useRef(!1),g=a.useRef(!1);a.useEffect((function(){return setTimeout((function(){v.current=!0}),0),function(){v.current=!1}}),[]);var y=a.useCallback((function(t){b.current=l.findDOMNode(t)}),[]),w=Object(h.a)(e.ref,y),x=Object(d.a)((function(t){var e=g.current;if(g.current=!1,v.current&&b.current&&!function(t){return document.documentElement.clientWidth<t.clientX||document.documentElement.clientHeight<t.clientY}(t))if(m.current)m.current=!1;else{var r;if(t.composedPath)r=t.composedPath().indexOf(b.current)>-1;else r=!Object(f.a)(b.current).documentElement.contains(t.target)||b.current.contains(t.target);r||!n&&e||s(t)}})),O=function(t){return function(r){g.current=!0;var n=e.props[t];n&&n(r)}},_={ref:w};return!1!==u&&(_[u]=O(u)),a.useEffect((function(){if(!1!==u){var t=p(u),e=Object(f.a)(b.current),r=function(){m.current=!0};return e.addEventListener(t,x),e.addEventListener("touchmove",r),function(){e.removeEventListener(t,x),e.removeEventListener("touchmove",r)}}}),[x,u]),!1!==o&&(_[o]=O(o)),a.useEffect((function(){if(!1!==o){var t=p(o),e=Object(f.a)(b.current);return e.addEventListener(t,x),function(){e.removeEventListener(t,x)}}}),[x,o]),a.createElement(a.Fragment,null,a.cloneElement(e,_))},b=r(38),v=r(186),g=r(1305),y=r(658),w=r(62),x=a.forwardRef((function(t,e){var r=t.action,i=t.classes,c=t.className,u=t.message,l=t.role,f=void 0===l?"alert":l,h=Object(n.a)(t,["action","classes","className","message","role"]);return a.createElement(y.a,Object(o.a)({role:f,square:!0,elevation:6,className:Object(s.a)(i.root,c),ref:e},h),a.createElement("div",{className:i.message},u),r?a.createElement("div",{className:i.action},r):null)})),O=Object(c.a)((function(t){var e="light"===t.palette.type?.8:.98,r=Object(w.c)(t.palette.background.default,e);return{root:Object(o.a)({},t.typography.body2,Object(i.a)({color:t.palette.getContrastText(r),backgroundColor:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:t.shape.borderRadius,flexGrow:1},t.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(x),_=a.forwardRef((function(t,e){var r=t.action,i=t.anchorOrigin,c=(i=void 0===i?{vertical:"bottom",horizontal:"center"}:i).vertical,l=i.horizontal,f=t.autoHideDuration,h=void 0===f?null:f,p=t.children,y=t.classes,w=t.className,x=t.ClickAwayListenerProps,_=t.ContentProps,S=t.disableWindowBlurListener,k=void 0!==S&&S,E=t.message,M=t.onClose,C=t.onEnter,j=t.onEntered,A=t.onEntering,T=t.onExit,P=t.onExited,D=t.onExiting,R=t.onMouseEnter,L=t.onMouseLeave,I=t.open,N=t.resumeHideDuration,F=t.TransitionComponent,B=void 0===F?g.a:F,z=t.transitionDuration,H=void 0===z?{enter:u.b.enteringScreen,exit:u.b.leavingScreen}:z,U=t.TransitionProps,W=Object(n.a)(t,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),q=a.useRef(),V=a.useState(!0),G=V[0],Y=V[1],X=Object(d.a)((function(){M&&M.apply(void 0,arguments)})),$=Object(d.a)((function(t){M&&null!=t&&(clearTimeout(q.current),q.current=setTimeout((function(){X(null,"timeout")}),t))}));a.useEffect((function(){return I&&$(h),function(){clearTimeout(q.current)}}),[I,h,$]);var K=function(){clearTimeout(q.current)},Z=a.useCallback((function(){null!=h&&$(null!=N?N:.5*h)}),[h,N,$]);return a.useEffect((function(){if(!k&&I)return window.addEventListener("focus",Z),window.addEventListener("blur",K),function(){window.removeEventListener("focus",Z),window.removeEventListener("blur",K)}}),[k,Z,I]),!I&&G?null:a.createElement(m,Object(o.a)({onClickAway:function(t){M&&M(t,"clickaway")}},x),a.createElement("div",Object(o.a)({className:Object(s.a)(y.root,y["anchorOrigin".concat(Object(b.a)(c)).concat(Object(b.a)(l))],w),onMouseEnter:function(t){R&&R(t),K()},onMouseLeave:function(t){L&&L(t),Z()},ref:e},W),a.createElement(B,Object(o.a)({appear:!0,in:I,onEnter:Object(v.a)((function(){Y(!1)}),C),onEntered:j,onEntering:A,onExit:T,onExited:Object(v.a)((function(){Y(!0)}),P),onExiting:D,timeout:H,direction:"top"===c?"down":"up"},U),p||a.createElement(O,Object(o.a)({message:E,action:r},_)))))}));e.a=Object(c.a)((function(t){var e={top:8},r={bottom:8},n={justifyContent:"flex-end"},a={justifyContent:"flex-start"},s={top:24},c={bottom:24},u={right:24},l={left:24},f={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:t.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:Object(o.a)({},e,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({},s,f))),anchorOriginBottomCenter:Object(o.a)({},r,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({},c,f))),anchorOriginTopRight:Object(o.a)({},e,n,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({left:"auto"},s,u))),anchorOriginBottomRight:Object(o.a)({},r,n,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({left:"auto"},c,u))),anchorOriginTopLeft:Object(o.a)({},e,a,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({right:"auto"},s,l))),anchorOriginBottomLeft:Object(o.a)({},r,a,Object(i.a)({},t.breakpoints.up("sm"),Object(o.a)({right:"auto"},c,l)))}}),{flip:!1,name:"MuiSnackbar"})(_)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(78)),c=r(13),u=r(6),l=["children","classes","className","label","notched"],f=Object(c.a)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),h=Object(c.a)("legend",{skipSx:!0})((function(t){var e=t.ownerState,r=t.theme;return Object(o.a)({float:"unset"},void 0===e.label&&{padding:0,lineHeight:"11px",transition:r.transitions.create("width",{duration:150,easing:r.transitions.easing.easeOut})},void 0!==e.label&&Object(o.a)({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:r.transitions.create("max-width",{duration:50,easing:r.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},e.notched&&{maxWidth:"100%",transition:r.transitions.create("max-width",{duration:100,easing:r.transitions.easing.easeOut,delay:50})}))}));var d=r(339),p=r(340);function m(t){return Object(d.a)("MuiOutlinedInput",t)}var b=Object(p.a)("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]),v=r(145),g=r(22),y=["components","fullWidth","inputComponent","label","multiline","notched","type"],w=Object(c.a)(v.b,{shouldForwardProp:function(t){return Object(c.b)(t)||"classes"===t},name:"MuiOutlinedInput",slot:"Root",overridesResolver:v.e})((function(t){var e,r=t.theme,i=t.ownerState,a="light"===r.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Object(o.a)((e={position:"relative",borderRadius:r.shape.borderRadius},Object(n.a)(e,"&:hover .".concat(b.notchedOutline),{borderColor:r.palette.text.primary}),Object(n.a)(e,"@media (hover: none)",Object(n.a)({},"&:hover .".concat(b.notchedOutline),{borderColor:a})),Object(n.a)(e,"&.".concat(b.focused," .").concat(b.notchedOutline),{borderColor:r.palette[i.color].main,borderWidth:2}),Object(n.a)(e,"&.".concat(b.error," .").concat(b.notchedOutline),{borderColor:r.palette.error.main}),Object(n.a)(e,"&.".concat(b.disabled," .").concat(b.notchedOutline),{borderColor:r.palette.action.disabled}),e),i.startAdornment&&{paddingLeft:14},i.endAdornment&&{paddingRight:14},i.multiline&&Object(o.a)({padding:"16.5px 14px"},"small"===i.size&&{padding:"8.5px 14px"}))})),x=Object(c.a)((function(t){var e=t.className,r=t.label,n=t.notched,a=Object(i.a)(t,l),s=Object(o.a)({},t,{notched:n,label:r});return Object(u.jsx)(f,Object(o.a)({"aria-hidden":!0,className:e,ownerState:s},a,{children:Object(u.jsx)(h,{ownerState:s,children:r?Object(u.jsx)("span",{children:r}):Object(u.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}})})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(t,e){return e.notchedOutline}})((function(t){return{borderColor:"light"===t.theme.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}})),O=Object(c.a)(v.a,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:v.d})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===r.size&&{padding:"8.5px 14px"},r.multiline&&{padding:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0})})),_=a.forwardRef((function(t,e){var r=Object(g.a)({props:t,name:"MuiOutlinedInput"}),n=r.components,a=void 0===n?{}:n,c=r.fullWidth,l=void 0!==c&&c,f=r.inputComponent,h=void 0===f?"input":f,d=r.label,p=r.multiline,b=void 0!==p&&p,_=r.notched,S=r.type,k=void 0===S?"text":S,E=Object(i.a)(r,y),M=function(t){var e=t.classes,r=Object(s.a)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},m,e);return Object(o.a)({},e,r)}(r);return Object(u.jsx)(v.c,Object(o.a)({components:Object(o.a)({Root:w,Input:O},a),renderSuffix:function(t){return Object(u.jsx)(x,{className:M.notchedOutline,label:d,notched:"undefined"!==typeof _?_:Boolean(t.startAdornment||t.filled||t.focused)})},fullWidth:l,inputComponent:h,multiline:b,ref:e,type:k},E,{classes:Object(o.a)({},M,{notchedOutline:null})}))}));_.muiName="Input";e.a=_},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(126),u=r(1310),l=r(78),f=r(13),h=r(22);var d=a.createContext(),p=r(19),m=r(339),b=r(340);function v(t){return Object(m.a)("MuiGrid",t)}var g=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],y=Object(b.a)("MuiGrid",["root","container","item","zeroMinWidth"].concat(Object(p.a)([0,1,2,3,4,5,6,7,8,9,10].map((function(t){return"spacing-xs-".concat(t)}))),Object(p.a)(["column-reverse","column","row-reverse","row"].map((function(t){return"direction-xs-".concat(t)}))),Object(p.a)(["nowrap","wrap-reverse","wrap"].map((function(t){return"wrap-xs-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-xs-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-sm-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-md-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-lg-".concat(t)}))),Object(p.a)(g.map((function(t){return"grid-xl-".concat(t)}))))),w=r(6),x=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function O(t){var e=parseFloat(t);return"".concat(e).concat(String(t).replace(String(e),"")||"px")}var _=Object(f.a)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState,n=r.container,i=r.direction,o=r.item,a=r.lg,s=r.md,c=r.sm,u=r.spacing,l=r.wrap,f=r.xl,h=r.xs,d=r.zeroMinWidth;return[e.root,n&&e.container,o&&e.item,d&&e.zeroMinWidth,n&&0!==u&&e["spacing-xs-".concat(String(u))],"row"!==i&&e["direction-xs-".concat(String(i))],"wrap"!==l&&e["wrap-xs-".concat(String(l))],!1!==h&&e["grid-xs-".concat(String(h))],!1!==c&&e["grid-sm-".concat(String(c))],!1!==s&&e["grid-md-".concat(String(s))],!1!==a&&e["grid-lg-".concat(String(a))],!1!==f&&e["grid-xl-".concat(String(f))]]}})((function(t){var e=t.ownerState;return Object(o.a)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"nowrap"===e.wrap&&{flexWrap:"nowrap"},"reverse"===e.wrap&&{flexWrap:"wrap-reverse"})}),(function(t){var e=t.theme,r=t.ownerState,n=Object(c.d)({values:r.direction,breakpoints:e.breakpoints.values});return Object(c.b)({theme:e},n,(function(t){var e={flexDirection:t};return 0===t.indexOf("column")&&(e["& > .".concat(y.item)]={maxWidth:"none"}),e}))}),(function(t){var e=t.theme,r=t.ownerState,i=r.container,o=r.rowSpacing,a={};if(i&&0!==o){var s=Object(c.d)({values:o,breakpoints:e.breakpoints.values});a=Object(c.b)({theme:e},s,(function(t){var r=e.spacing(t);return"0px"!==r?Object(n.a)({marginTop:"-".concat(O(r))},"& > .".concat(y.item),{paddingTop:O(r)}):{}}))}return a}),(function(t){var e=t.theme,r=t.ownerState,i=r.container,o=r.columnSpacing,a={};if(i&&0!==o){var s=Object(c.d)({values:o,breakpoints:e.breakpoints.values});a=Object(c.b)({theme:e},s,(function(t){var r=e.spacing(t);return"0px"!==r?Object(n.a)({width:"calc(100% + ".concat(O(r),")"),marginLeft:"-".concat(O(r))},"& > .".concat(y.item),{paddingLeft:O(r)}):{}}))}return a}),(function(t){var e=t.theme,r=t.ownerState;return e.breakpoints.keys.reduce((function(t,n){return function(t,e,r,n){var i=n[r];if(i){var a={};if(!0===i)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===i)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var s=Object(c.d)({values:n.columns,breakpoints:e.breakpoints.values}),u="object"===typeof s?s[r]:s,l="".concat(Math.round(i/u*1e8)/1e6,"%"),f={};if(n.container&&n.item&&0!==n.columnSpacing){var h=e.spacing(n.columnSpacing);if("0px"!==h){var d="calc(".concat(l," + ").concat(O(h),")");f={flexBasis:d,maxWidth:d}}}a=Object(o.a)({flexBasis:l,flexGrow:0,maxWidth:l},f)}0===e.breakpoints.values[r]?Object.assign(t,a):t[e.breakpoints.up(r)]=a}}(t,e,n,r),t}),{})})),S=a.forwardRef((function(t,e){var r,n=Object(h.a)({props:t,name:"MuiGrid"}),c=Object(u.a)(n),f=c.className,p=c.columns,m=c.columnSpacing,b=c.component,g=void 0===b?"div":b,y=c.container,O=void 0!==y&&y,S=c.direction,k=void 0===S?"row":S,E=c.item,M=void 0!==E&&E,C=c.lg,j=void 0!==C&&C,A=c.md,T=void 0!==A&&A,P=c.rowSpacing,D=c.sm,R=void 0!==D&&D,L=c.spacing,I=void 0===L?0:L,N=c.wrap,F=void 0===N?"wrap":N,B=c.xl,z=void 0!==B&&B,H=c.xs,U=void 0!==H&&H,W=c.zeroMinWidth,q=void 0!==W&&W,V=Object(i.a)(c,x),G=P||I,Y=m||I,X=a.useContext(d),$=p||X||12,K=Object(o.a)({},c,{columns:$,container:O,direction:k,item:M,lg:j,md:T,sm:R,rowSpacing:G,columnSpacing:Y,wrap:F,xl:z,xs:U,zeroMinWidth:q}),Z=function(t){var e=t.classes,r=t.container,n=t.direction,i=t.item,o=t.lg,a=t.md,s=t.sm,c=t.spacing,u=t.wrap,f=t.xl,h=t.xs,d={root:["root",r&&"container",i&&"item",t.zeroMinWidth&&"zeroMinWidth",r&&0!==c&&"spacing-xs-".concat(String(c)),"row"!==n&&"direction-xs-".concat(String(n)),"wrap"!==u&&"wrap-xs-".concat(String(u)),!1!==h&&"grid-xs-".concat(String(h)),!1!==s&&"grid-sm-".concat(String(s)),!1!==a&&"grid-md-".concat(String(a)),!1!==o&&"grid-lg-".concat(String(o)),!1!==f&&"grid-xl-".concat(String(f))]};return Object(l.a)(d,v,e)}(K);return r=Object(w.jsx)(_,Object(o.a)({ownerState:K,className:Object(s.a)(Z.root,f),as:g,ref:e},V)),12!==$?Object(w.jsx)(d.Provider,{value:$,children:r}):r}));e.a=S},function(t,e,r){"use strict";var n=r(3),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(49),h=r(6),d=Object(f.a)(Object(h.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiAvatar",t)}Object(m.a)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var v=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],g=Object(u.a)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],r.colorDefault&&e.colorDefault]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===r.variant&&{borderRadius:e.shape.borderRadius},"square"===r.variant&&{borderRadius:0},r.colorDefault&&{color:e.palette.background.default,backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})})),y=Object(u.a)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(t,e){return e.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),w=Object(u.a)(d,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(t,e){return e.fallback}})({width:"75%",height:"75%"});var x=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiAvatar"}),u=r.alt,f=r.children,d=r.className,p=r.component,m=void 0===p?"div":p,x=r.imgProps,O=r.sizes,_=r.src,S=r.srcSet,k=r.variant,E=void 0===k?"circular":k,M=Object(i.a)(r,v),C=null,j=function(t){var e=t.crossOrigin,r=t.referrerPolicy,i=t.src,o=t.srcSet,s=a.useState(!1),c=Object(n.a)(s,2),u=c[0],l=c[1];return a.useEffect((function(){if(i||o){l(!1);var t=!0,n=new Image;return n.onload=function(){t&&l("loaded")},n.onerror=function(){t&&l("error")},n.crossOrigin=e,n.referrerPolicy=r,n.src=i,o&&(n.srcset=o),function(){t=!1}}}),[e,r,i,o]),u}(Object(o.a)({},x,{src:_,srcSet:S})),A=_||S,T=A&&"error"!==j,P=Object(o.a)({},r,{colorDefault:!T,component:m,variant:E}),D=function(t){var e=t.classes,r={root:["root",t.variant,t.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return Object(c.a)(r,b,e)}(P);return C=T?Object(h.jsx)(y,Object(o.a)({alt:u,src:_,srcSet:S,sizes:O,ownerState:P,className:D.img},x)):null!=f?f:A&&u?u[0]:Object(h.jsx)(w,{className:D.fallback}),Object(h.jsx)(g,Object(o.a)({as:m,ownerState:P,className:Object(s.a)(D.root,d),ref:e},M,{children:C}))}));e.a=x},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=(r(10),r(8)),s=r(26),c=r(159),u=Object(c.a)(o.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=o.forwardRef((function(t,e){var r=t.alt,s=t.children,c=t.classes,l=t.className,f=t.component,h=void 0===f?"div":f,d=t.imgProps,p=t.sizes,m=t.src,b=t.srcSet,v=t.variant,g=void 0===v?"circular":v,y=Object(i.a)(t,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),w=null,x=function(t){var e=t.src,r=t.srcSet,n=o.useState(!1),i=n[0],a=n[1];return o.useEffect((function(){if(e||r){a(!1);var t=!0,n=new Image;return n.src=e,n.srcSet=r,n.onload=function(){t&&a("loaded")},n.onerror=function(){t&&a("error")},function(){t=!1}}}),[e,r]),i}({src:m,srcSet:b}),O=m||b,_=O&&"error"!==x;return w=_?o.createElement("img",Object(n.a)({alt:r,src:m,srcSet:b,sizes:p,className:c.img},d)):null!=s?s:O&&r?r[0]:o.createElement(u,{className:c.fallback}),o.createElement(h,Object(n.a)({className:Object(a.a)(c.root,c.system,c[g],l,!_&&c.colorDefault),ref:e},y),w)}));e.a=Object(s.a)((function(t){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:t.palette.background.default,backgroundColor:"light"===t.palette.type?t.palette.grey[400]:t.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:t.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(l)},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(24),l=r(1326),f=r(285),h=r(170),d=r(13),p=r(339),m=r(340);function b(t){return Object(p.a)("MuiInputAdornment",t)}var v=Object(m.a)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),g=r(22),y=r(6),w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],x=Object(d.a)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["position".concat(Object(u.a)(r.position))],!0===r.disablePointerEvents&&e.disablePointerEvents,e[r.variant]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:e.palette.action.active},"filled"===r.variant&&Object(n.a)({},"&.".concat(v.positionStart,"&:not(.").concat(v.hiddenLabel,")"),{marginTop:16}),"start"===r.position&&{marginRight:8},"end"===r.position&&{marginLeft:8},!0===r.disablePointerEvents&&{pointerEvents:"none"})})),O=a.forwardRef((function(t,e){var r=Object(g.a)({props:t,name:"MuiInputAdornment"}),n=r.children,d=r.className,p=r.component,m=void 0===p?"div":p,v=r.disablePointerEvents,O=void 0!==v&&v,_=r.disableTypography,S=void 0!==_&&_,k=r.position,E=r.variant,M=Object(i.a)(r,w),C=Object(h.a)()||{},j=E;E&&C.variant,C&&!j&&(j=C.variant);var A=Object(o.a)({},r,{hiddenLabel:C.hiddenLabel,size:C.size,disablePointerEvents:O,position:k,variant:j}),T=function(t){var e=t.classes,r=t.disablePointerEvents,n=t.hiddenLabel,i=t.position,o=t.size,a=t.variant,s={root:["root",r&&"disablePointerEvents",i&&"position".concat(Object(u.a)(i)),a,n&&"hiddenLabel",o&&"size".concat(Object(u.a)(o))]};return Object(c.a)(s,b,e)}(A);return Object(y.jsx)(f.a.Provider,{value:null,children:Object(y.jsx)(x,Object(o.a)({as:m,ownerState:A,className:Object(s.a)(T.root,d),ref:e},M,{children:"string"!==typeof n||S?Object(y.jsxs)(a.Fragment,{children:["start"===k?Object(y.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"&#8203;"}}):null,n]}):Object(y.jsx)(l.a,{color:"text.secondary",children:n})}))})}));e.a=O},function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(125),i=r(520),o=r(249);var a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(t){var e={};return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}((function(t){if(t.length>2){if(!c[t])return[t];t=c[t]}var e=t.split(""),r=Object(n.a)(e,2),i=r[0],o=r[1],u=a[i],l=s[o]||"";return Array.isArray(l)?l.map((function(t){return u+t})):[u+l]})),l=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function f(t){var e=t.spacing||8;return"number"===typeof e?function(t){return e*t}:Array.isArray(e)?function(t){return e[t]}:"function"===typeof e?e:function(){}}function h(t,e){return function(r){return t.reduce((function(t,n){return t[n]=function(t,e){if("string"===typeof e||null==e)return e;var r=t(Math.abs(e));return e>=0?r:"number"===typeof r?-r:"-".concat(r)}(e,r),t}),{})}}function d(t){var e=f(t.theme);return Object.keys(t).map((function(r){if(-1===l.indexOf(r))return null;var n=h(u(r),e),o=t[r];return Object(i.a)(t,o,n)})).reduce(o.a,{})}d.propTypes={},d.filterProps=l;e.b=d},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(424),a=r(329),s=(r(10),r(0)),c=r.n(s),u=r(375);function l(t,e){var r=Object.create(null);return t&&s.Children.map(t,(function(t){return t})).forEach((function(t){r[t.key]=function(t){return e&&Object(s.isValidElement)(t)?e(t):t}(t)})),r}function f(t,e,r){return null!=r[e]?r[e]:t.props[e]}function h(t,e,r){var n=l(t.children),i=function(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var c in e){if(i[c])for(n=0;n<i[c].length;n++){var u=i[c][n];s[i[c][n]]=r(u)}s[c]=r(c)}for(n=0;n<o.length;n++)s[o[n]]=r(o[n]);return s}(e,n);return Object.keys(i).forEach((function(o){var a=i[o];if(Object(s.isValidElement)(a)){var c=o in e,u=o in n,l=e[o],h=Object(s.isValidElement)(l)&&!l.props.in;!u||c&&!h?u||!c||h?u&&c&&Object(s.isValidElement)(l)&&(i[o]=Object(s.cloneElement)(a,{onExited:r.bind(null,a),in:l.props.in,exit:f(a,"exit",t),enter:f(a,"enter",t)})):i[o]=Object(s.cloneElement)(a,{in:!1}):i[o]=Object(s.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:f(a,"exit",t),enter:f(a,"enter",t)})}})),i}var d=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},p=function(t){function e(e,r){var n,i=(n=t.call(this,e,r)||this).handleExited.bind(Object(o.a)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}Object(a.a)(e,t);var r=e.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var r,n,i=e.children,o=e.handleExited;return{children:e.firstRender?(r=t,n=o,l(r.children,(function(t){return Object(s.cloneElement)(t,{onExited:n.bind(null,t),in:!0,appear:f(t,"appear",r),enter:f(t,"enter",r),exit:f(t,"exit",r)})}))):h(t,i,o),firstRender:!1}},r.handleExited=function(t,e){var r=l(this.props.children);t.key in r||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var r=Object(i.a)({},e.children);return delete r[t.key],{children:r}})))},r.render=function(){var t=this.props,e=t.component,r=t.childFactory,i=Object(n.a)(t,["component","childFactory"]),o=this.state.contextValue,a=d(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===e?c.a.createElement(u.a.Provider,{value:o},a):c.a.createElement(u.a.Provider,{value:o},c.a.createElement(e,i,a))},e}(c.a.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(t){return t}};e.a=p},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(187),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiList",t)}Object(h.a)("MuiList",["root","padding","dense","subheader"]);var p=r(6),m=["children","className","component","dense","disablePadding","subheader"],b=Object(c.a)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.disablePadding&&e.padding,r.dense&&e.dense,r.subheader&&e.subheader]}})((function(t){var e=t.ownerState;return Object(i.a)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiList"}),c=r.children,f=r.className,h=r.component,v=void 0===h?"ul":h,g=r.dense,y=void 0!==g&&g,w=r.disablePadding,x=void 0!==w&&w,O=r.subheader,_=Object(n.a)(r,m),S=o.useMemo((function(){return{dense:y}}),[y]),k=Object(i.a)({},r,{component:v,dense:y,disablePadding:x}),E=function(t){var e=t.classes,r={root:["root",!t.disablePadding&&"padding",t.dense&&"dense",t.subheader&&"subheader"]};return Object(s.a)(r,d,e)}(k);return Object(p.jsx)(l.a.Provider,{value:S,children:Object(p.jsxs)(b,Object(i.a)({as:v,className:Object(a.a)(E.root,f),ref:e,ownerState:k},_,{children:[O,c]}))})}));e.a=v},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(24),f=r(894),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiAppBar",t)}Object(d.a)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var m=r(6),b=["className","color","enableColorOnDark","position"],v=Object(c.a)(f.a,{name:"MuiAppBar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["position".concat(Object(l.a)(r.position))],e["color".concat(Object(l.a)(r.color))]]}})((function(t){var e=t.theme,r=t.ownerState,n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Object(i.a)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===r.position&&{position:"fixed",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===r.position&&{position:"absolute",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"sticky"===r.position&&{position:"sticky",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"static"===r.position&&{position:"static"},"relative"===r.position&&{position:"relative"},"default"===r.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},r.color&&"default"!==r.color&&"inherit"!==r.color&&"transparent"!==r.color&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},"inherit"===r.color&&{color:"inherit"},"dark"===e.palette.mode&&!r.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===r.color&&Object(i.a)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"}))})),g=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiAppBar"}),o=r.className,c=r.color,f=void 0===c?"primary":c,h=r.enableColorOnDark,d=void 0!==h&&h,g=r.position,y=void 0===g?"fixed":g,w=Object(n.a)(r,b),x=Object(i.a)({},r,{color:f,position:y,enableColorOnDark:d}),O=function(t){var e=t.color,r=t.position,n=t.classes,i={root:["root","color".concat(Object(l.a)(e)),"position".concat(Object(l.a)(r))]};return Object(s.a)(i,p,n)}(x);return Object(m.jsx)(v,Object(i.a)({square:!0,component:"header",ownerState:x,elevation:4,className:Object(a.a)(O.root,o,"fixed"===y&&"mui-fixed"),ref:e},w))}));e.a=g},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(1446),l=r(24),f=r(22),h=r(13),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiTab",t)}var b=Object(p.a)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),v=r(6),g=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],y=Object(h.a)(u.a,{name:"MuiTab",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.label&&r.icon&&e.labelIcon,e["textColor".concat(Object(l.a)(r.textColor))],r.fullWidth&&e.fullWidth,r.wrapped&&e.wrapped]}})((function(t){var e,r,i,a=t.theme,s=t.ownerState;return Object(o.a)({},a.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},s.label&&{flexDirection:"top"===s.iconPosition||"bottom"===s.iconPosition?"column":"row"},{lineHeight:1.25},s.icon&&s.label&&Object(n.a)({minHeight:72,paddingTop:9,paddingBottom:9},"& > .".concat(b.iconWrapper),Object(o.a)({},"top"===s.iconPosition&&{marginBottom:6},"bottom"===s.iconPosition&&{marginTop:6},"start"===s.iconPosition&&{marginRight:a.spacing(1)},"end"===s.iconPosition&&{marginLeft:a.spacing(1)})),"inherit"===s.textColor&&(e={color:"inherit",opacity:.6},Object(n.a)(e,"&.".concat(b.selected),{opacity:1}),Object(n.a)(e,"&.".concat(b.disabled),{opacity:a.palette.action.disabledOpacity}),e),"primary"===s.textColor&&(r={color:a.palette.text.secondary},Object(n.a)(r,"&.".concat(b.selected),{color:a.palette.primary.main}),Object(n.a)(r,"&.".concat(b.disabled),{color:a.palette.text.disabled}),r),"secondary"===s.textColor&&(i={color:a.palette.text.secondary},Object(n.a)(i,"&.".concat(b.selected),{color:a.palette.secondary.main}),Object(n.a)(i,"&.".concat(b.disabled),{color:a.palette.text.disabled}),i),s.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},s.wrapped&&{fontSize:a.typography.pxToRem(12)})})),w=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiTab"}),n=r.className,u=r.disabled,h=void 0!==u&&u,d=r.disableFocusRipple,p=void 0!==d&&d,b=r.fullWidth,w=r.icon,x=r.iconPosition,O=void 0===x?"top":x,_=r.indicator,S=r.label,k=r.onChange,E=r.onClick,M=r.onFocus,C=r.selected,j=r.selectionFollowsFocus,A=r.textColor,T=void 0===A?"inherit":A,P=r.value,D=r.wrapped,R=void 0!==D&&D,L=Object(i.a)(r,g),I=Object(o.a)({},r,{disabled:h,disableFocusRipple:p,selected:C,icon:!!w,iconPosition:O,label:!!S,fullWidth:b,textColor:T,wrapped:R}),N=function(t){var e=t.classes,r=t.textColor,n=t.fullWidth,i=t.wrapped,o=t.icon,a=t.label,s=t.selected,u=t.disabled,f={root:["root",o&&a&&"labelIcon","textColor".concat(Object(l.a)(r)),n&&"fullWidth",i&&"wrapped",s&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return Object(c.a)(f,m,e)}(I),F=w&&S&&a.isValidElement(w)?a.cloneElement(w,{className:Object(s.a)(N.iconWrapper,w.props.className)}):w;return Object(v.jsxs)(y,Object(o.a)({focusRipple:!p,className:Object(s.a)(N.root,n),ref:e,role:"tab","aria-selected":C,disabled:h,onClick:function(t){!C&&k&&k(t,P),E&&E(t)},onFocus:function(t){j&&!C&&k&&k(t,P),M&&M(t)},ownerState:I,tabIndex:C?0:-1},L,{children:["top"===O||"start"===O?Object(v.jsxs)(a.Fragment,{children:[F,S]}):Object(v.jsxs)(a.Fragment,{children:[S,F]}),_]}))}));e.a=w},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiToolbar",t)}Object(h.a)("MuiToolbar",["root","gutters","regular","dense"]);var p=r(6),m=["className","component","disableGutters","variant"],b=Object(l.a)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({position:"relative",display:"flex",alignItems:"center"},!r.disableGutters&&Object(n.a)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),"dense"===r.variant&&{minHeight:48})}),(function(t){var e=t.theme;return"regular"===t.ownerState.variant&&e.mixins.toolbar})),v=a.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiToolbar"}),n=r.className,a=r.component,l=void 0===a?"div":a,f=r.disableGutters,h=void 0!==f&&f,v=r.variant,g=void 0===v?"regular":v,y=Object(i.a)(r,m),w=Object(o.a)({},r,{component:l,disableGutters:h,variant:g}),x=function(t){var e=t.classes,r={root:["root",!t.disableGutters&&"gutters",t.variant]};return Object(c.a)(r,d,e)}(w);return Object(p.jsx)(b,Object(o.a)({as:l,className:Object(s.a)(x.root,n),ref:e,ownerState:w},y))}));e.a=v},function(t,e,r){"use strict";var n=r(2),i=r(20),o=r(0),a=r(8),s=(r(10),r(178)),c=r(125),u=r(445),l=r(26),f=r(140),h=r(161),d=r(139),p=r(64),m=o.forwardRef((function(t,e){var r=t.children,s=t.classes,l=t.className,m=t.collapsedHeight,b=t.collapsedSize,v=void 0===b?"0px":b,g=t.component,y=void 0===g?"div":g,w=t.disableStrictModeCompat,x=void 0!==w&&w,O=t.in,_=t.onEnter,S=t.onEntered,k=t.onEntering,E=t.onExit,M=t.onExited,C=t.onExiting,j=t.style,A=t.timeout,T=void 0===A?f.b.standard:A,P=t.TransitionComponent,D=void 0===P?u.a:P,R=Object(i.a)(t,["children","classes","className","collapsedHeight","collapsedSize","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),L=Object(d.a)(),I=o.useRef(),N=o.useRef(null),F=o.useRef(),B="number"===typeof(m||v)?"".concat(m||v,"px"):m||v;o.useEffect((function(){return function(){clearTimeout(I.current)}}),[]);var z=L.unstable_strictMode&&!x,H=o.useRef(null),U=Object(p.a)(e,z?H:void 0),W=function(t){return function(e,r){if(t){var n=z?[H.current,e]:[e,r],i=Object(c.a)(n,2),o=i[0],a=i[1];void 0===a?t(o):t(o,a)}}},q=W((function(t,e){t.style.height=B,_&&_(t,e)})),V=W((function(t,e){var r=N.current?N.current.clientHeight:0,n=Object(h.a)({style:j,timeout:T},{mode:"enter"}).duration;if("auto"===T){var i=L.transitions.getAutoHeightDuration(r);t.style.transitionDuration="".concat(i,"ms"),F.current=i}else t.style.transitionDuration="string"===typeof n?n:"".concat(n,"ms");t.style.height="".concat(r,"px"),k&&k(t,e)})),G=W((function(t,e){t.style.height="auto",S&&S(t,e)})),Y=W((function(t){var e=N.current?N.current.clientHeight:0;t.style.height="".concat(e,"px"),E&&E(t)})),X=W(M),$=W((function(t){var e=N.current?N.current.clientHeight:0,r=Object(h.a)({style:j,timeout:T},{mode:"exit"}).duration;if("auto"===T){var n=L.transitions.getAutoHeightDuration(e);t.style.transitionDuration="".concat(n,"ms"),F.current=n}else t.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");t.style.height=B,C&&C(t)}));return o.createElement(D,Object(n.a)({in:O,onEnter:q,onEntered:G,onEntering:V,onExit:Y,onExited:X,onExiting:$,addEndListener:function(t,e){var r=z?t:e;"auto"===T&&(I.current=setTimeout(r,F.current||0))},nodeRef:z?H:void 0,timeout:"auto"===T?null:T},R),(function(t,e){return o.createElement(y,Object(n.a)({className:Object(a.a)(s.root,s.container,l,{entered:s.entered,exited:!O&&"0px"===B&&s.hidden}[t]),style:Object(n.a)({minHeight:B},j),ref:U},e),o.createElement("div",{className:s.wrapper,ref:N},o.createElement("div",{className:s.wrapperInner},r)))}))}));m.muiSupportAuto=!0;var b=Object(l.a)((function(t){return{root:{height:0,overflow:"hidden",transition:t.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(m),v=r(62),g=r(538),y=o.forwardRef((function(t,e){var r=t.children,c=t.classes,u=t.className,l=t.collapseIcon,f=t.endIcon,h=t.expandIcon,m=t.icon,v=t.label,y=t.nodeId,w=t.onClick,x=t.onLabelClick,O=t.onIconClick,_=t.onFocus,S=t.onKeyDown,k=t.onMouseDown,E=t.TransitionComponent,M=void 0===E?b:E,C=t.TransitionProps,j=Object(i.a)(t,["children","classes","className","collapseIcon","endIcon","expandIcon","icon","label","nodeId","onClick","onLabelClick","onIconClick","onFocus","onKeyDown","onMouseDown","TransitionComponent","TransitionProps"]),A=o.useContext(g.a),T=A.icons,P=A.focus,D=A.focusFirstNode,R=A.focusLastNode,L=A.focusNextNode,I=A.focusPreviousNode,N=A.focusByFirstCharacter,F=A.selectNode,B=A.selectRange,z=A.selectNextNode,H=A.selectPreviousNode,U=A.rangeSelectToFirst,W=A.rangeSelectToLast,q=A.selectAllNodes,V=A.expandAllSiblings,G=A.toggleExpansion,Y=A.isExpanded,X=A.isFocused,$=A.isSelected,K=A.isTabbable,Z=A.multiSelect,J=A.getParent,Q=A.mapFirstChar,tt=A.addNodeToNodeMap,et=A.removeNodeFromNodeMap,rt=o.useRef(null),nt=o.useRef(null),it=Object(p.a)(rt,e),ot=m,at=Boolean(Array.isArray(r)?r.length:r),st=!!Y&&Y(y),ct=!!X&&X(y),ut=!!K&&K(y),lt=!!$&&$(y),ft=T||{},ht=Object(d.a)();ot||(at?(ot=st?l||ft.defaultCollapseIcon:h||ft.defaultExpandIcon)||(ot=ft.defaultParentIcon):ot=f||ft.defaultEndIcon);var dt,pt=function(t){return at&&(st?L(y):G(t)),!0},mt=function(t){if(st)return G(t,y),!0;var e=J(y);return!!e&&(P(e),!0)};return o.useEffect((function(){if(tt){var t=[];o.Children.forEach(r,(function(e){o.isValidElement(e)&&e.props.nodeId&&t.push(e.props.nodeId)})),tt(y,t)}}),[r,y,tt]),o.useEffect((function(){if(et)return function(){et(y)}}),[y,et]),o.useEffect((function(){Q&&v&&Q(y,nt.current.textContent.substring(0,1).toLowerCase())}),[Q,y,v]),o.useEffect((function(){ct&&rt.current.focus()}),[ct]),Z?dt=lt:lt&&(dt=!0),o.createElement("li",Object(n.a)({className:Object(a.a)(c.root,u,st&&c.expanded,lt&&c.selected),role:"treeitem",onKeyDown:function(t){var e=!1,r=t.key;if(!t.altKey&&t.currentTarget===t.target){var n,i=t.ctrlKey||t.metaKey;switch(r){case" ":rt.current===t.currentTarget&&(e=Z&&t.shiftKey?B(t,{end:y}):Z?F(t,y,!0):F(t,y)),t.stopPropagation();break;case"Enter":rt.current===t.currentTarget&&at&&(G(t),e=!0),t.stopPropagation();break;case"ArrowDown":Z&&t.shiftKey&&z(t,y),L(y),e=!0;break;case"ArrowUp":Z&&t.shiftKey&&H(t,y),I(y),e=!0;break;case"ArrowRight":e="rtl"===ht.direction?mt(t):pt(t);break;case"ArrowLeft":e="rtl"===ht.direction?pt(t):mt(t);break;case"Home":Z&&i&&t.shiftKey&&U(t,y),D(),e=!0;break;case"End":Z&&i&&t.shiftKey&&W(t,y),R(),e=!0;break;default:"*"===r?(V(t,y),e=!0):Z&&i&&"a"===r.toLowerCase()?e=q(t):!i&&!t.shiftKey&&((n=r)&&1===n.length&&n.match(/\S/))&&(N(y,r),e=!0)}e&&(t.preventDefault(),t.stopPropagation()),S&&S(t)}},onFocus:function(t){ct||t.currentTarget!==t.target||P(y),_&&_(t)},"aria-expanded":at?st:null,"aria-selected":dt,ref:it,tabIndex:ut?0:-1},j),o.createElement("div",{className:c.content,onClick:function(t){ct||P(y);var e=Z&&(t.shiftKey||t.ctrlKey||t.metaKey);!at||t.defaultPrevented||e&&Y(y)||G(t,y),e?t.shiftKey?B(t,{end:y}):F(t,y,!0):F(t,y),w&&w(t)},onMouseDown:function(t){(t.shiftKey||t.ctrlKey||t.metaKey)&&t.preventDefault(),k&&k(t)},ref:nt},o.createElement("div",{onClick:O,className:c.iconContainer},ot),o.createElement(s.a,{onClick:x,component:"div",className:c.label},v)),r&&o.createElement(M,Object(n.a)({unmountOnExit:!0,className:c.group,in:st,component:"ul",role:"group"},C),r))}));e.a=Object(l.a)((function(t){return{root:{listStyle:"none",margin:0,padding:0,outline:0,WebkitTapHighlightColor:"transparent","&:focus > $content $label":{backgroundColor:t.palette.action.hover},"&$selected > $content $label":{backgroundColor:Object(v.a)(t.palette.primary.main,t.palette.action.selectedOpacity)},"&$selected > $content $label:hover, &$selected:focus > $content $label":{backgroundColor:Object(v.a)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},expanded:{},selected:{},group:{margin:0,padding:0,marginLeft:17},content:{width:"100%",display:"flex",alignItems:"center",cursor:"pointer"},iconContainer:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},label:{width:"100%",paddingLeft:4,position:"relative","&:hover":{backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}}}),{name:"MuiTreeItem"})(y)},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(1451),u=r(1426),l=r(894),f=r(24),h=r(133),d=r(122),p=r(22),m=r(13),b=r(339),v=r(340);function g(t){return Object(b.a)("MuiDrawer",t)}Object(v.a)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var y=r(6),w=["BackdropProps"],x=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],O=function(t,e){var r=t.ownerState;return[e.root,("permanent"===r.variant||"persistent"===r.variant)&&e.docked,e.modal]},_=Object(m.a)(c.a,{name:"MuiDrawer",slot:"Root",overridesResolver:O})((function(t){return{zIndex:t.theme.zIndex.drawer}})),S=Object(m.a)("div",{shouldForwardProp:m.b,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:O})({flex:"0 0 auto"}),k=Object(m.a)(l.a,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(t,e){var r=t.ownerState;return[e.paper,e["paperAnchor".concat(Object(f.a)(r.anchor))],"temporary"!==r.variant&&e["paperAnchorDocked".concat(Object(f.a)(r.anchor))]]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===r.anchor&&{left:0},"top"===r.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===r.anchor&&{right:0},"bottom"===r.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===r.anchor&&"temporary"!==r.variant&&{borderRight:"1px solid ".concat(e.palette.divider)},"top"===r.anchor&&"temporary"!==r.variant&&{borderBottom:"1px solid ".concat(e.palette.divider)},"right"===r.anchor&&"temporary"!==r.variant&&{borderLeft:"1px solid ".concat(e.palette.divider)},"bottom"===r.anchor&&"temporary"!==r.variant&&{borderTop:"1px solid ".concat(e.palette.divider)})})),E={left:"right",right:"left",top:"down",bottom:"up"};var M={enter:h.b.enteringScreen,exit:h.b.leavingScreen},C=o.forwardRef((function(t,e){var r=Object(p.a)({props:t,name:"MuiDrawer"}),c=r.anchor,l=void 0===c?"left":c,h=r.BackdropProps,m=r.children,b=r.className,v=r.elevation,O=void 0===v?16:v,C=r.hideBackdrop,j=void 0!==C&&C,A=r.ModalProps,T=(A=void 0===A?{}:A).BackdropProps,P=r.onClose,D=r.open,R=void 0!==D&&D,L=r.PaperProps,I=void 0===L?{}:L,N=r.SlideProps,F=r.TransitionComponent,B=void 0===F?u.a:F,z=r.transitionDuration,H=void 0===z?M:z,U=r.variant,W=void 0===U?"temporary":U,q=Object(n.a)(r.ModalProps,w),V=Object(n.a)(r,x),G=Object(d.a)(),Y=o.useRef(!1);o.useEffect((function(){Y.current=!0}),[]);var X=function(t,e){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(e)?E[e]:e}(G,l),$=l,K=Object(i.a)({},r,{anchor:$,elevation:O,open:R,variant:W},V),Z=function(t){var e=t.classes,r=t.anchor,n=t.variant,i={root:["root"],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat(Object(f.a)(r)),"temporary"!==n&&"paperAnchorDocked".concat(Object(f.a)(r))]};return Object(s.a)(i,g,e)}(K),J=Object(y.jsx)(k,Object(i.a)({elevation:"temporary"===W?O:0,square:!0},I,{className:Object(a.a)(Z.paper,I.className),ownerState:K,children:m}));if("permanent"===W)return Object(y.jsx)(S,Object(i.a)({className:Object(a.a)(Z.root,Z.docked,b),ownerState:K,ref:e},V,{children:J}));var Q=Object(y.jsx)(B,Object(i.a)({in:R,direction:E[X],timeout:H,appear:Y.current},N,{children:J}));return"persistent"===W?Object(y.jsx)(S,Object(i.a)({className:Object(a.a)(Z.root,Z.docked,b),ownerState:K,ref:e},V,{children:Q})):Object(y.jsx)(_,Object(i.a)({BackdropProps:Object(i.a)({},h,T,{transitionDuration:H}),className:Object(a.a)(Z.root,Z.modal,b),open:R,ownerState:K,onClose:P,hideBackdrop:j,ref:e},V,q,{children:Q}))}));e.a=C},function(t,e,r){"use strict";var n=r(1),i=r(19),o=r(14),a=r(2),s=r(0),c=(r(10),r(78)),u=r(558),l=r(145),f=r(13),h=r(22),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiInput",t)}var b=Object(p.a)("MuiInput",["root","formControl","focused","disabled","colorSecondary","underline","error","sizeSmall","multiline","fullWidth","input","inputSizeSmall","inputMultiline","inputTypeSearch"]),v=r(6),g=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],y=Object(f.a)(l.b,{shouldForwardProp:function(t){return Object(f.b)(t)||"classes"===t},name:"MuiInput",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[].concat(Object(i.a)(Object(l.e)(t,e)),[!r.disableUnderline&&e.underline])}})((function(t){var e,r=t.theme,i=t.ownerState,o="light"===r.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return Object(a.a)({position:"relative"},i.formControl&&{"label + &":{marginTop:16}},!i.disableUnderline&&(e={"&:after":{borderBottom:"2px solid ".concat(r.palette[i.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:r.transitions.create("transform",{duration:r.transitions.duration.shorter,easing:r.transitions.easing.easeOut}),pointerEvents:"none"}},Object(n.a)(e,"&.".concat(b.focused,":after"),{transform:"scaleX(1)"}),Object(n.a)(e,"&.".concat(b.error,":after"),{borderBottomColor:r.palette.error.main,transform:"scaleX(1)"}),Object(n.a)(e,"&:before",{borderBottom:"1px solid ".concat(o),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:r.transitions.create("border-bottom-color",{duration:r.transitions.duration.shorter}),pointerEvents:"none"}),Object(n.a)(e,"&:hover:not(.".concat(b.disabled,"):before"),{borderBottom:"2px solid ".concat(r.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(o)}}),Object(n.a)(e,"&.".concat(b.disabled,":before"),{borderBottomStyle:"dotted"}),e))})),w=Object(f.a)(l.a,{name:"MuiInput",slot:"Input",overridesResolver:l.d})({}),x=s.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiInput"}),n=r.disableUnderline,i=r.components,s=void 0===i?{}:i,f=r.componentsProps,d=r.fullWidth,p=void 0!==d&&d,b=r.inputComponent,x=void 0===b?"input":b,O=r.multiline,_=void 0!==O&&O,S=r.type,k=void 0===S?"text":S,E=Object(o.a)(r,g),M=function(t){var e=t.classes,r={root:["root",!t.disableUnderline&&"underline"],input:["input"]},n=Object(c.a)(r,m,e);return Object(a.a)({},e,n)}(r),C={root:{ownerState:{disableUnderline:n}}},j=f?Object(u.a)(f,C):C;return Object(v.jsx)(l.c,Object(a.a)({components:Object(a.a)({Root:y,Input:w},s),componentsProps:j,fullWidth:p,inputComponent:x,multiline:_,ref:e,type:k},E,{classes:M}))}));x.muiName="Input";e.a=x},function(t,e,r){"use strict";var n=r(1),i=r(19),o=r(14),a=r(2),s=r(0),c=r(558),u=(r(10),r(78)),l=r(145),f=r(13),h=r(22),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiFilledInput",t)}var b=Object(p.a)("MuiFilledInput",["root","colorSecondary","underline","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","hiddenLabel","input","inputSizeSmall","inputHiddenLabel","inputMultiline","inputAdornedStart","inputAdornedEnd"]),v=r(6),g=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],y=Object(f.a)(l.b,{shouldForwardProp:function(t){return Object(f.b)(t)||"classes"===t},name:"MuiFilledInput",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[].concat(Object(i.a)(Object(l.e)(t,e)),[!r.disableUnderline&&e.underline])}})((function(t){var e,r,i=t.theme,o=t.ownerState,s="light"===i.palette.mode,c=s?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",u=s?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return Object(a.a)((e={position:"relative",backgroundColor:u,borderTopLeftRadius:i.shape.borderRadius,borderTopRightRadius:i.shape.borderRadius,transition:i.transitions.create("background-color",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),"&:hover":{backgroundColor:s?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:u}}},Object(n.a)(e,"&.".concat(b.focused),{backgroundColor:u}),Object(n.a)(e,"&.".concat(b.disabled),{backgroundColor:s?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}),e),!o.disableUnderline&&(r={"&:after":{borderBottom:"2px solid ".concat(i.palette[o.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:i.transitions.create("transform",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),pointerEvents:"none"}},Object(n.a)(r,"&.".concat(b.focused,":after"),{transform:"scaleX(1)"}),Object(n.a)(r,"&.".concat(b.error,":after"),{borderBottomColor:i.palette.error.main,transform:"scaleX(1)"}),Object(n.a)(r,"&:before",{borderBottom:"1px solid ".concat(c),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:i.transitions.create("border-bottom-color",{duration:i.transitions.duration.shorter}),pointerEvents:"none"}),Object(n.a)(r,"&:hover:not(.".concat(b.disabled,"):before"),{borderBottom:"1px solid ".concat(i.palette.text.primary)}),Object(n.a)(r,"&.".concat(b.disabled,":before"),{borderBottomStyle:"dotted"}),r),o.startAdornment&&{paddingLeft:12},o.endAdornment&&{paddingRight:12},o.multiline&&Object(a.a)({padding:"25px 12px 8px"},"small"===o.size&&{paddingTop:21,paddingBottom:4},o.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),w=Object(f.a)(l.a,{name:"MuiFilledInput",slot:"Input",overridesResolver:l.d})((function(t){var e=t.theme,r=t.ownerState;return Object(a.a)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===r.size&&{paddingTop:21,paddingBottom:4},r.hiddenLabel&&{paddingTop:16,paddingBottom:17},r.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},r.startAdornment&&{paddingLeft:0},r.endAdornment&&{paddingRight:0},r.hiddenLabel&&"small"===r.size&&{paddingTop:8,paddingBottom:9})})),x=s.forwardRef((function(t,e){var r=Object(h.a)({props:t,name:"MuiFilledInput"}),n=r.components,i=void 0===n?{}:n,s=r.componentsProps,f=r.fullWidth,d=void 0!==f&&f,p=r.inputComponent,b=void 0===p?"input":p,x=r.multiline,O=void 0!==x&&x,_=r.type,S=void 0===_?"text":_,k=Object(o.a)(r,g),E=Object(a.a)({},r,{fullWidth:d,inputComponent:b,multiline:O,type:S}),M=function(t){var e=t.classes,r={root:["root",!t.disableUnderline&&"underline"],input:["input"]},n=Object(u.a)(r,m,e);return Object(a.a)({},e,n)}(r),C={root:{ownerState:E},input:{ownerState:E}},j=s?Object(c.a)(s,C):C;return Object(v.jsx)(l.c,Object(a.a)({components:Object(a.a)({Root:y,Input:w},i),componentsProps:j,fullWidth:d,inputComponent:b,multiline:O,ref:e,type:S},k,{classes:M}))}));x.muiName="Input";e.a=x},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(1446),h=r(532),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiAccordionSummary",t)}var b=Object(p.a)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),v=r(6),g=["children","className","expandIcon","focusVisibleClassName","onClick"],y=Object(u.a)(f.a,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e,r=t.theme,i=t.ownerState,a={duration:r.transitions.duration.shortest};return Object(o.a)((e={display:"flex",minHeight:48,padding:r.spacing(0,2),transition:r.transitions.create(["min-height","background-color"],a)},Object(n.a)(e,"&.".concat(b.focusVisible),{backgroundColor:r.palette.action.focus}),Object(n.a)(e,"&.".concat(b.disabled),{opacity:r.palette.action.disabledOpacity}),Object(n.a)(e,"&:hover:not(.".concat(b.disabled,")"),{cursor:"pointer"}),e),!i.disableGutters&&Object(n.a)({},"&.".concat(b.expanded),{minHeight:64}))})),w=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(t,e){return e.content}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({display:"flex",flexGrow:1,margin:"12px 0"},!r.disableGutters&&Object(n.a)({transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest})},"&.".concat(b.expanded),{margin:"20px 0"}))})),x=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(t,e){return e.expandIconWrapper}})((function(t){var e=t.theme;return Object(n.a)({display:"flex",color:e.palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})},"&.".concat(b.expanded),{transform:"rotate(180deg)"})})),O=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiAccordionSummary"}),n=r.children,u=r.className,f=r.expandIcon,d=r.focusVisibleClassName,p=r.onClick,b=Object(i.a)(r,g),O=a.useContext(h.a),_=O.disabled,S=void 0!==_&&_,k=O.disableGutters,E=O.expanded,M=O.toggle,C=Object(o.a)({},r,{expanded:E,disabled:S,disableGutters:k}),j=function(t){var e=t.classes,r=t.expanded,n=t.disabled,i=t.disableGutters,o={root:["root",r&&"expanded",n&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]};return Object(c.a)(o,m,e)}(C);return Object(v.jsxs)(y,Object(o.a)({focusRipple:!1,disableRipple:!0,disabled:S,component:"div","aria-expanded":E,className:Object(s.a)(j.root,u),focusVisibleClassName:Object(s.a)(j.focusVisible,d),onClick:function(t){M&&M(t),p&&p(t)},ref:e,ownerState:C},b,{children:[Object(v.jsx)(w,{className:j.content,ownerState:C,children:n}),f&&Object(v.jsx)(x,{className:j.expandIconWrapper,ownerState:C,children:f})]}))}));e.a=O},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiAccordionDetails",t)}Object(f.a)("MuiAccordionDetails",["root"]);var d=r(6),p=["className"],m=Object(c.a)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{padding:t.theme.spacing(1,2,2)}})),b=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiAccordionDetails"}),o=r.className,c=Object(i.a)(r,p),l=r,f=function(t){var e=t.classes;return Object(s.a)({root:["root"]},h,e)}(l);return Object(d.jsx)(m,Object(n.a)({className:Object(a.a)(f.root,o),ref:e,ownerState:l},c))}));e.a=b},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(24),f=r(537),h=r(288),d=r(22),p=r(13),m=r(339),b=r(340);function v(t){return Object(m.a)("MuiTableCell",t)}var g=Object(b.a)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),y=r(6),w=["align","className","component","padding","scope","size","sortDirection","variant"],x=Object(p.a)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.variant],e["size".concat(Object(l.a)(r.size))],"normal"!==r.padding&&e["padding".concat(Object(l.a)(r.padding))],"inherit"!==r.align&&e["align".concat(Object(l.a)(r.align))],r.stickyHeader&&e.stickyHeader]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n    ".concat("light"===e.palette.mode?Object(u.e)(Object(u.a)(e.palette.divider,1),.88):Object(u.b)(Object(u.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===r.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===r.variant&&{color:e.palette.text.primary},"footer"===r.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===r.size&&Object(n.a)({padding:"6px 16px"},"&.".concat(g.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===r.padding&&{width:48,padding:"0 0 0 4px"},"none"===r.padding&&{padding:0},"left"===r.align&&{textAlign:"left"},"center"===r.align&&{textAlign:"center"},"right"===r.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===r.align&&{textAlign:"justify"},r.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default})})),O=a.forwardRef((function(t,e){var r,n=Object(d.a)({props:t,name:"MuiTableCell"}),u=n.align,p=void 0===u?"inherit":u,m=n.className,b=n.component,g=n.padding,O=n.scope,_=n.size,S=n.sortDirection,k=n.variant,E=Object(i.a)(n,w),M=a.useContext(f.a),C=a.useContext(h.a),j=C&&"head"===C.variant;r=b||(j?"th":"td");var A=O;!A&&j&&(A="col");var T=k||C&&C.variant,P=Object(o.a)({},n,{align:p,component:r,padding:g||(M&&M.padding?M.padding:"normal"),size:_||(M&&M.size?M.size:"medium"),sortDirection:S,stickyHeader:"head"===T&&M&&M.stickyHeader,variant:T}),D=function(t){var e=t.classes,r=t.variant,n=t.align,i=t.padding,o=t.size,a={root:["root",r,t.stickyHeader&&"stickyHeader","inherit"!==n&&"align".concat(Object(l.a)(n)),"normal"!==i&&"padding".concat(Object(l.a)(i)),"size".concat(Object(l.a)(o))]};return Object(c.a)(a,v,e)}(P),R=null;return S&&(R="asc"===S?"ascending":"descending"),Object(y.jsx)(x,Object(o.a)({as:r,ref:e,className:Object(s.a)(D.root,m),"aria-sort":R,scope:A,ownerState:P},E))}));e.a=O},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(537),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiTable",t)}Object(h.a)("MuiTable",["root","stickyHeader"]);var p=r(6),m=["className","component","padding","size","stickyHeader"],b=Object(l.a)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.stickyHeader&&e.stickyHeader]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(i.a)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},r.stickyHeader&&{borderCollapse:"separate"})})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiTable"}),l=r.className,f=r.component,h=void 0===f?"table":f,v=r.padding,g=void 0===v?"normal":v,y=r.size,w=void 0===y?"medium":y,x=r.stickyHeader,O=void 0!==x&&x,_=Object(n.a)(r,m),S=Object(i.a)({},r,{component:h,padding:g,size:w,stickyHeader:O}),k=function(t){var e=t.classes,r={root:["root",t.stickyHeader&&"stickyHeader"]};return Object(s.a)(r,d,e)}(S),E=o.useMemo((function(){return{padding:g,size:w,stickyHeader:O}}),[g,w,O]);return Object(p.jsx)(c.a.Provider,{value:E,children:Object(p.jsx)(b,Object(i.a)({as:h,role:"table"===h?null:"table",ref:e,className:Object(a.a)(k.root,l),ownerState:S},_))})}));e.a=v},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(288),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiTableHead",t)}Object(h.a)("MuiTableHead",["root"]);var p=r(6),m=["className","component"],b=Object(l.a)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"table-header-group"}),v={variant:"head"},g=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiTableHead"}),o=r.className,l=r.component,f=void 0===l?"thead":l,h=Object(i.a)(r,m),g=Object(n.a)({},r,{component:f}),y=function(t){var e=t.classes;return Object(s.a)({root:["root"]},d,e)}(g);return Object(p.jsx)(c.a.Provider,{value:v,children:Object(p.jsx)(b,Object(n.a)({as:f,className:Object(a.a)(y.root,o),ref:e,role:"thead"===f?null:"rowgroup",ownerState:g},h))})}));e.a=g},function(t,e,r){"use strict";var n=r(1),i=r(2),o=r(14),a=r(0),s=(r(10),r(8)),c=r(78),u=r(147),l=r(288),f=r(22),h=r(13),d=r(339),p=r(340);function m(t){return Object(d.a)("MuiTableRow",t)}var b=Object(p.a)("MuiTableRow",["root","selected","hover","head","footer"]),v=r(6),g=["className","component","hover","selected"],y=Object(h.a)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.head&&e.head,r.footer&&e.footer]}})((function(t){var e,r=t.theme;return e={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},Object(n.a)(e,"&.".concat(b.hover,":hover"),{backgroundColor:r.palette.action.hover}),Object(n.a)(e,"&.".concat(b.selected),{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(u.a)(r.palette.primary.main,r.palette.action.selectedOpacity+r.palette.action.hoverOpacity)}}),e})),w=a.forwardRef((function(t,e){var r=Object(f.a)({props:t,name:"MuiTableRow"}),n=r.className,u=r.component,h=void 0===u?"tr":u,d=r.hover,p=void 0!==d&&d,b=r.selected,w=void 0!==b&&b,x=Object(o.a)(r,g),O=a.useContext(l.a),_=Object(i.a)({},r,{component:h,hover:p,selected:w,head:O&&"head"===O.variant,footer:O&&"footer"===O.variant}),S=function(t){var e=t.classes,r={root:["root",t.selected&&"selected",t.hover&&"hover",t.head&&"head",t.footer&&"footer"]};return Object(c.a)(r,m,e)}(_);return Object(v.jsx)(y,Object(i.a)({as:h,ref:e,className:Object(s.a)(S.root,n),role:"tr"===h?null:"row",ownerState:_},x))}));e.a=w},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(288),u=r(22),l=r(13),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiTableBody",t)}Object(h.a)("MuiTableBody",["root"]);var p=r(6),m=["className","component"],b=Object(l.a)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"table-row-group"}),v={variant:"body"},g=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiTableBody"}),o=r.className,l=r.component,f=void 0===l?"tbody":l,h=Object(i.a)(r,m),g=Object(n.a)({},r,{component:f}),y=function(t){var e=t.classes;return Object(s.a)({root:["root"]},d,e)}(g);return Object(p.jsx)(c.a.Provider,{value:v,children:Object(p.jsx)(b,Object(n.a)({className:Object(a.a)(y.root,o),as:f,ref:e,role:"tbody"===f?null:"rowgroup",ownerState:g},h))})}));e.a=g},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(1309),l=r(24),f=r(1451),h=r(1412),d=r(133),p=r(894),m=r(22),b=r(13),v=r(339),g=r(340);function y(t){return Object(v.a)("MuiDialog",t)}var w=Object(g.a)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),x=r(539),O=r(1323),_=r(6),S=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],k=Object(b.a)(O.a,{name:"MuiDialog",slot:"Backdrop",overrides:function(t,e){return e.backdrop}})({zIndex:-1}),E=Object(b.a)(f.a,{name:"MuiDialog",slot:"Root",overridesResolver:function(t,e){return e.root}})({"@media print":{position:"absolute !important"}}),M=Object(b.a)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(t,e){var r=t.ownerState;return[e.container,e["scroll".concat(Object(l.a)(r.scroll))]]}})((function(t){var e=t.ownerState;return Object(o.a)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),C=Object(b.a)(p.a,{name:"MuiDialog",slot:"Paper",overridesResolver:function(t,e){var r=t.ownerState;return[e.paper,e["scrollPaper".concat(Object(l.a)(r.scroll))],e["paperWidth".concat(Object(l.a)(String(r.maxWidth)))],r.fullWidth&&e.paperFullWidth,r.fullScreen&&e.paperFullScreen]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===r.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===r.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!r.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===r.maxWidth&&Object(n.a)({maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):"".concat(e.breakpoints.values.xs).concat(e.breakpoints.unit)},"&.".concat(w.paperScrollBody),Object(n.a)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),"xs"!==r.maxWidth&&Object(n.a)({maxWidth:"".concat(e.breakpoints.values[r.maxWidth]).concat(e.breakpoints.unit)},"&.".concat(w.paperScrollBody),Object(n.a)({},e.breakpoints.down(e.breakpoints.values[r.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),r.fullWidth&&{width:"calc(100% - 64px)"},r.fullScreen&&Object(n.a)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(w.paperScrollBody),{margin:0,maxWidth:"100%"}))})),j={enter:d.b.enteringScreen,exit:d.b.leavingScreen},A=a.forwardRef((function(t,e){var r=Object(m.a)({props:t,name:"MuiDialog"}),n=r["aria-describedby"],f=r["aria-labelledby"],d=r.BackdropComponent,b=r.BackdropProps,v=r.children,g=r.className,w=r.disableEscapeKeyDown,O=void 0!==w&&w,A=r.fullScreen,T=void 0!==A&&A,P=r.fullWidth,D=void 0!==P&&P,R=r.maxWidth,L=void 0===R?"sm":R,I=r.onBackdropClick,N=r.onClose,F=r.open,B=r.PaperComponent,z=void 0===B?p.a:B,H=r.PaperProps,U=void 0===H?{}:H,W=r.scroll,q=void 0===W?"paper":W,V=r.TransitionComponent,G=void 0===V?h.a:V,Y=r.transitionDuration,X=void 0===Y?j:Y,$=r.TransitionProps,K=Object(i.a)(r,S),Z=Object(o.a)({},r,{disableEscapeKeyDown:O,fullScreen:T,fullWidth:D,maxWidth:L,scroll:q}),J=function(t){var e=t.classes,r=t.scroll,n=t.maxWidth,i=t.fullWidth,o=t.fullScreen,a={root:["root"],container:["container","scroll".concat(Object(l.a)(r))],paper:["paper","paperScroll".concat(Object(l.a)(r)),"paperWidth".concat(Object(l.a)(String(n))),i&&"paperFullWidth",o&&"paperFullScreen"]};return Object(c.a)(a,y,e)}(Z),Q=a.useRef(),tt=Object(u.a)(f),et=a.useMemo((function(){return{titleId:tt}}),[tt]);return Object(_.jsx)(E,Object(o.a)({className:Object(s.a)(J.root,g),BackdropProps:Object(o.a)({transitionDuration:X,as:d},b),closeAfterTransition:!0,BackdropComponent:k,disableEscapeKeyDown:O,onClose:N,open:F,ref:e,onClick:function(t){Q.current&&(Q.current=null,I&&I(t),N&&N(t,"backdropClick"))},ownerState:Z},K,{children:Object(_.jsx)(G,Object(o.a)({appear:!0,in:F,timeout:X,role:"presentation"},$,{children:Object(_.jsx)(M,{className:Object(s.a)(J.container),onMouseDown:function(t){Q.current=t.target===t.currentTarget},ownerState:Z,children:Object(_.jsx)(C,Object(o.a)({as:z,elevation:24,role:"dialog","aria-describedby":n,"aria-labelledby":tt},U,{className:Object(s.a)(J.paper,U.className),ownerState:Z,children:Object(_.jsx)(x.a.Provider,{value:et,children:v})}))})}))}))}));e.a=A},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(78)),s=r(13),c=r(22),u=r(1326),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiDialogContentText",t)}Object(f.a)("MuiDialogContentText",["root"]);var d=r(6),p=["children"],m=Object(s.a)(u.a,{shouldForwardProp:function(t){return Object(s.b)(t)||"classes"===t},name:"MuiDialogContentText",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),b=o.forwardRef((function(t,e){var r=Object(c.a)({props:t,name:"MuiDialogContentText"}),o=Object(n.a)(r,p),s=function(t){var e=t.classes,r=Object(a.a)({root:["root"]},h,e);return Object(i.a)({},e,r)}(o);return Object(d.jsx)(m,Object(i.a)({component:"p",variant:"body1",color:"text.secondary",ref:e,ownerState:o},r,{classes:s}))}));e.a=b},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(13),l=r(22),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiDialogContent",t)}Object(h.a)("MuiDialogContent",["root","dividers"]);var p=r(540),m=r(6),b=["className","dividers"],v=Object(u.a)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,r.dividers&&e.dividers]}})((function(t){var e=t.theme,r=t.ownerState;return Object(o.a)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},r.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}:Object(n.a)({},".".concat(p.a.root," + &"),{paddingTop:0}))})),g=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiDialogContent"}),n=r.className,a=r.dividers,u=void 0!==a&&a,f=Object(i.a)(r,b),h=Object(o.a)({},r,{dividers:u}),p=function(t){var e=t.classes,r={root:["root",t.dividers&&"dividers"]};return Object(c.a)(r,d,e)}(h);return Object(m.jsx)(v,Object(o.a)({className:Object(s.a)(p.root,n),ownerState:h,ref:e},f))}));e.a=g},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(339),f=r(340);function h(t){return Object(l.a)("MuiDialogActions",t)}Object(f.a)("MuiDialogActions",["root","spacing"]);var d=r(6),p=["className","disableSpacing"],m=Object(c.a)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,!r.disableSpacing&&e.spacing]}})((function(t){var e=t.ownerState;return Object(i.a)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),b=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiDialogActions"}),o=r.className,c=r.disableSpacing,l=void 0!==c&&c,f=Object(n.a)(r,p),b=Object(i.a)({},r,{disableSpacing:l}),v=function(t){var e=t.classes,r={root:["root",!t.disableSpacing&&"spacing"]};return Object(s.a)(r,h,e)}(b);return Object(d.jsx)(m,Object(i.a)({className:Object(a.a)(v.root,o),ownerState:b,ref:e},f))}));e.a=b},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(231),u=r(290),l=r(22),f=r(13),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiStep",t)}Object(d.a)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var m=r(6),b=["active","children","className","completed","disabled","expanded","index","last"],v=Object(f.a)("div",{name:"MuiStep",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e[r.orientation],r.alternativeLabel&&e.alternativeLabel,r.completed&&e.completed]}})((function(t){var e=t.ownerState;return Object(i.a)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})})),g=o.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiStep"}),f=r.active,h=r.children,d=r.className,g=r.completed,y=r.disabled,w=r.expanded,x=void 0!==w&&w,O=r.index,_=r.last,S=Object(n.a)(r,b),k=o.useContext(c.a),E=k.activeStep,M=k.connector,C=k.alternativeLabel,j=k.orientation,A=k.nonLinear,T=void 0!==f&&f,P=void 0!==g&&g,D=void 0!==y&&y;E===O?T=void 0===f||f:!A&&E>O?P=void 0===g||g:!A&&E<O&&(D=void 0===y||y);var R=o.useMemo((function(){return{index:O,last:_,expanded:x,icon:O+1,active:T,completed:P,disabled:D}}),[O,_,x,T,P,D]),L=Object(i.a)({},r,{active:T,orientation:j,alternativeLabel:C,completed:P,disabled:D,expanded:x}),I=function(t){var e=t.classes,r={root:["root",t.orientation,t.alternativeLabel&&"alternativeLabel",t.completed&&"completed"]};return Object(s.a)(r,p,e)}(L),N=Object(m.jsxs)(v,Object(i.a)({className:Object(a.a)(I.root,d),ref:e,ownerState:L},S,{children:[M&&C&&0!==O?M:null,h]}));return Object(m.jsx)(u.a.Provider,{value:R,children:M&&!C&&0!==O?Object(m.jsxs)(o.Fragment,{children:[M,N]}):N})}));e.a=g},function(t,e,r){"use strict";var n=r(3),i=r(1),o=r(14),a=r(2),s=r(0),c=(r(10),r(8)),u=r(78),l=r(41),f=r(147),h=r(24),d=r(13),p=r(22),m=r(275),b=r(72),v=r(1326),g=r(339),y=r(340);function w(t){return Object(g.a)("MuiLink",t)}var x=Object(y.a)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),O=r(6),_=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},k=Object(d.a)(v.a,{name:"MuiLink",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,e["underline".concat(Object(h.a)(r.underline))],"button"===r.component&&e.button]}})((function(t){var e=t.theme,r=t.ownerState,n=Object(l.b)(e,"palette.".concat(function(t){return S[t]||t}(r.color)))||r.color;return Object(a.a)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==n?Object(f.a)(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===r.component&&Object(i.a)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(x.focusVisible),{outline:"auto"}))})),E=s.forwardRef((function(t,e){var r=Object(p.a)({props:t,name:"MuiLink"}),i=r.className,l=r.color,f=void 0===l?"primary":l,d=r.component,v=void 0===d?"a":d,g=r.onBlur,y=r.onFocus,x=r.TypographyClasses,S=r.underline,E=void 0===S?"always":S,M=r.variant,C=void 0===M?"inherit":M,j=Object(o.a)(r,_),A=Object(m.a)(),T=A.isFocusVisibleRef,P=A.onBlur,D=A.onFocus,R=A.ref,L=s.useState(!1),I=Object(n.a)(L,2),N=I[0],F=I[1],B=Object(b.a)(e,R),z=Object(a.a)({},r,{color:f,component:v,focusVisible:N,underline:E,variant:C}),H=function(t){var e=t.classes,r=t.component,n=t.focusVisible,i=t.underline,o={root:["root","underline".concat(Object(h.a)(i)),"button"===r&&"button",n&&"focusVisible"]};return Object(u.a)(o,w,e)}(z);return Object(O.jsx)(k,Object(a.a)({className:Object(c.a)(H.root,i),classes:x,color:f,component:v,onBlur:function(t){P(t),!1===T.current&&F(!1),g&&g(t)},onFocus:function(t){D(t),!0===T.current&&F(!0),y&&y(t)},ref:B,ownerState:z,variant:C},j))}));e.a=E},function(t,e,r){"use strict";var n=r(2),i=r(14),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(894),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiCard",t)}Object(h.a)("MuiCard",["root"]);var p=r(6),m=["className","raised"],b=Object(c.a)(l.a,{name:"MuiCard",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(){return{overflow:"hidden"}})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiCard"}),o=r.className,c=r.raised,l=void 0!==c&&c,f=Object(i.a)(r,m),h=Object(n.a)({},r,{raised:l}),v=function(t){var e=t.classes;return Object(s.a)({root:["root"]},d,e)}(h);return Object(p.jsx)(b,Object(n.a)({className:Object(a.a)(v.root,o),elevation:l?8:void 0,ref:e,ownerState:h},f))}));e.a=v},function(t,e,r){"use strict";var n=r(1),i=r(14),o=r(2),a=r(0),s=(r(10),r(8)),c=r(78),u=r(1326),l=r(22),f=r(13),h=r(339),d=r(340);function p(t){return Object(h.a)("MuiCardHeader",t)}var m=Object(d.a)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),b=r(6),v=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],g=Object(f.a)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:function(t,e){var r;return Object(o.a)((r={},Object(n.a)(r,"& .".concat(m.title),e.title),Object(n.a)(r,"& .".concat(m.subheader),e.subheader),r),e.root)}})({display:"flex",alignItems:"center",padding:16}),y=Object(f.a)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:function(t,e){return e.avatar}})({display:"flex",flex:"0 0 auto",marginRight:16}),w=Object(f.a)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:function(t,e){return e.action}})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),x=Object(f.a)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:function(t,e){return e.content}})({flex:"1 1 auto"}),O=a.forwardRef((function(t,e){var r=Object(l.a)({props:t,name:"MuiCardHeader"}),n=r.action,a=r.avatar,f=r.className,h=r.component,d=void 0===h?"div":h,m=r.disableTypography,O=void 0!==m&&m,_=r.subheader,S=r.subheaderTypographyProps,k=r.title,E=r.titleTypographyProps,M=Object(i.a)(r,v),C=Object(o.a)({},r,{component:d,disableTypography:O}),j=function(t){var e=t.classes;return Object(c.a)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},p,e)}(C),A=k;null==A||A.type===u.a||O||(A=Object(b.jsx)(u.a,Object(o.a)({variant:a?"body2":"h5",className:j.title,component:"span",display:"block"},E,{children:A})));var T=_;return null==T||T.type===u.a||O||(T=Object(b.jsx)(u.a,Object(o.a)({variant:a?"body2":"body1",className:j.subheader,color:"text.secondary",component:"span",display:"block"},S,{children:T}))),Object(b.jsxs)(g,Object(o.a)({className:Object(s.a)(j.root,f),as:d,ref:e,ownerState:C},M,{children:[a&&Object(b.jsx)(y,{className:j.avatar,ownerState:C,children:a}),Object(b.jsxs)(x,{className:j.content,ownerState:C,children:[A,T]}),n&&Object(b.jsx)(w,{className:j.action,ownerState:C,children:n})]}))}));e.a=O},function(t,e,r){"use strict";var n=r(14),i=r(2),o=r(0),a=(r(10),r(8)),s=r(78),c=r(13),u=r(22),l=r(24),f=r(339),h=r(340);function d(t){return Object(f.a)("MuiListSubheader",t)}Object(h.a)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var p=r(6),m=["className","color","component","disableGutters","disableSticky","inset"],b=Object(c.a)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(t,e){var r=t.ownerState;return[e.root,"default"!==r.color&&e["color".concat(Object(l.a)(r.color))],!r.disableGutters&&e.gutters,r.inset&&e.inset,!r.disableSticky&&e.sticky]}})((function(t){var e=t.theme,r=t.ownerState;return Object(i.a)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===r.color&&{color:e.palette.primary.main},"inherit"===r.color&&{color:"inherit"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.inset&&{paddingLeft:72},!r.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:e.palette.background.paper})})),v=o.forwardRef((function(t,e){var r=Object(u.a)({props:t,name:"MuiListSubheader"}),o=r.className,c=r.color,f=void 0===c?"default":c,h=r.component,v=void 0===h?"li":h,g=r.disableGutters,y=void 0!==g&&g,w=r.disableSticky,x=void 0!==w&&w,O=r.inset,_=void 0!==O&&O,S=Object(n.a)(r,m),k=Object(i.a)({},r,{color:f,component:v,disableGutters:y,disableSticky:x,inset:_}),E=function(t){var e=t.classes,r=t.color,n=t.disableGutters,i=t.inset,o=t.disableSticky,a={root:["root","default"!==r&&"color".concat(Object(l.a)(r)),!n&&"gutters",i&&"inset",!o&&"sticky"]};return Object(s.a)(a,d,e)}(k);return Object(p.jsx)(b,Object(i.a)({as:v,className:Object(a.a)(E.root,o),ref:e,ownerState:k},S))}));e.a=v}]]);
          Evidence
          todo
          Solution

          Remove all comments that return information that may help an attacker and fix any underlying problems they refer to.

      2. Re-examine Cache-control Directives (1)
        1. GET https://uyenotest.infotracktelematics.com/login-test
          Alert tags
          Alert description

          The cache-control header has not been set properly or is missing, allowing the browser and proxies to cache content. For static assets like css, js, or image files this might be intended, however, the resources should be reviewed to ensure that no sensitive content will be cached.

          Request
          Request line and header section (480 bytes)
          GET https://uyenotest.infotracktelematics.com/login-test HTTP/1.1
          Host: uyenotest.infotracktelematics.com
          User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
          Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
          Accept-Language: en-US,en;q=0.5
          Connection: keep-alive
          Upgrade-Insecure-Requests: 1
          Sec-Fetch-Dest: document
          Sec-Fetch-Mode: navigate
          Sec-Fetch-Site: none
          Sec-Fetch-User: ?1
          
          
          Request body (0 bytes)
          Response
          Status line and header section (239 bytes)
          HTTP/1.1 200 OK
          Server: nginx/1.20.2
          Date: Tue, 31 Jan 2023 10:16:11 GMT
          Content-Type: text/html
          Content-Length: 3352
          Last-Modified: Tue, 27 Dec 2022 08:11:08 GMT
          Connection: keep-alive
          ETag: "63aaa89c-d18"
          Accept-Ranges: bytes
          
          
          Response body (3352 bytes)
          <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./assets/logo_mc.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Fleet Management System"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><title>FMS</title><link href="/static/css/2.14f01493.chunk.css" rel="stylesheet"><link href="/static/css/main.1a2dea67.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"fe722aaa",4:"e0fdadd1",5:"876bc555"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this.webpackJsonpclient=this.webpackJsonpclient||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.43b88232.chunk.js"></script><script src="/static/js/main.4d38df23.chunk.js"></script></body></html>
          Parameter
          Cache-Control
          Solution

          For secure content, ensure the cache-control HTTP header is set with "no-cache, no-store, must-revalidate". If an asset should be cached consider setting the directives "public, max-age, immutable".

Appendix

Alert types

This section contains additional information on the types of alerts in the report.

  1. Content Security Policy (CSP) Header Not Set

    Source raised by a passive scanner (Content Security Policy (CSP) Header Not Set)
    CWE ID 693
    WASC ID 15
    Reference
    1. https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Introducing_Content_Security_Policy
    2. https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html
    3. http://www.w3.org/TR/CSP/
    4. http://w3c.github.io/webappsec/specs/content-security-policy/csp-specification.dev.html
    5. http://www.html5rocks.com/en/tutorials/security/content-security-policy/
    6. http://caniuse.com/#feat=contentsecuritypolicy
    7. http://content-security-policy.com/
  2. Cross-Domain Misconfiguration

    Source raised by a passive scanner (Cross-Domain Misconfiguration)
    CWE ID 264
    WASC ID 14
    Reference
    1. https://vulncat.fortify.com/en/detail?id=desc.config.dotnet.html5_overly_permissive_cors_policy
  3. Missing Anti-clickjacking Header

    Source raised by a passive scanner (Anti-clickjacking Header)
    CWE ID 1021
    WASC ID 15
    Reference
    1. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
  4. Vulnerable JS Library

    Source raised by a passive scanner (Vulnerable JS Library (Powered by Retire.js))
    CWE ID 829
    Reference
    1. https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g
    2. https://security.snyk.io/vuln/SNYK-JS-MOMENT-2944238
    3. https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4
  5. Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s)

    Source raised by a passive scanner (Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s))
    CWE ID 200
    WASC ID 13
    Reference
    1. http://blogs.msdn.com/b/varunm/archive/2013/04/23/remove-unwanted-http-response-headers.aspx
    2. http://www.troyhunt.com/2012/02/shhh-dont-let-your-response-headers.html
  6. Server Leaks Version Information via "Server" HTTP Response Header Field

    Source raised by a passive scanner (HTTP Server Response Header)
    CWE ID 200
    WASC ID 13
    Reference
    1. http://httpd.apache.org/docs/current/mod/core.html#servertokens
    2. http://msdn.microsoft.com/en-us/library/ff648552.aspx#ht_urlscan_007
    3. http://blogs.msdn.com/b/varunm/archive/2013/04/23/remove-unwanted-http-response-headers.aspx
    4. http://www.troyhunt.com/2012/02/shhh-dont-let-your-response-headers.html
  7. Strict-Transport-Security Header Not Set

    Source raised by a passive scanner (Strict-Transport-Security Header)
    CWE ID 319
    WASC ID 15
    Reference
    1. https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html
    2. https://owasp.org/www-community/Security_Headers
    3. http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
    4. http://caniuse.com/stricttransportsecurity
    5. http://tools.ietf.org/html/rfc6797
  8. Timestamp Disclosure - Unix

    Source raised by a passive scanner (Timestamp Disclosure)
    CWE ID 200
    WASC ID 13
    Reference
    1. http://projects.webappsec.org/w/page/13246936/Information%20Leakage
  9. X-Content-Type-Options Header Missing

    Source raised by a passive scanner (X-Content-Type-Options Header Missing)
    CWE ID 693
    WASC ID 15
    Reference
    1. http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx
    2. https://owasp.org/www-community/Security_Headers
  10. Information Disclosure - Sensitive Information in URL

    Source raised by a passive scanner (Information Disclosure - Sensitive Information in URL)
    CWE ID 200
    WASC ID 13
  11. Information Disclosure - Suspicious Comments

    Source raised by a passive scanner (Information Disclosure - Suspicious Comments)
    CWE ID 200
    WASC ID 13
  12. Modern Web Application

    Source raised by a passive scanner (Modern Web Application)
  13. Re-examine Cache-control Directives

    Source raised by a passive scanner (Re-examine Cache-control Directives)
    CWE ID 525
    WASC ID 13
    Reference
    1. https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#web-content-caching
    2. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
    3. https://grayduck.mn/2021/09/13/cache-control-recommendations/
  14. Retrieved from Cache

    Source raised by a passive scanner (Retrieved from Cache)
    Reference
    1. https://tools.ietf.org/html/rfc7234
    2. https://tools.ietf.org/html/rfc7231
    3. http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html (obsoleted by rfc7234)
  15. Username Hash Found

    Source raised by a passive scanner (Username Hash Found)
    CWE ID 284
    WASC ID 2
    Reference
    1. https://owasp.org/www-project-web-security-testing-guide/v41/4-Web_Application_Security_Testing/05-Authorization_Testing/04-Testing_for_Insecure_Direct_Object_References.html